datocms-plugin-sdk 0.6.17 → 0.7.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/SiteApiSchema.d.ts +841 -791
- package/dist/esm/types.d.ts +11 -4
- package/dist/types/SiteApiSchema.d.ts +841 -791
- package/dist/types/types.d.ts +11 -4
- package/package.json +2 -2
- package/src/SiteApiSchema.ts +874 -791
- package/src/types.ts +11 -3
- package/types.json +8174 -7929
package/src/SiteApiSchema.ts
CHANGED
|
@@ -242,6 +242,23 @@ export type AuditLogEventType = 'audit_log_event';
|
|
|
242
242
|
* `definition` "id".
|
|
243
243
|
*/
|
|
244
244
|
export type AuditLogEventIdentity = string;
|
|
245
|
+
/**
|
|
246
|
+
* JSON API type field
|
|
247
|
+
*
|
|
248
|
+
* This interface was referenced by `Organization`'s JSON-Schema via the
|
|
249
|
+
* `definition` "type".
|
|
250
|
+
*/
|
|
251
|
+
export type OrganizationType = 'organization';
|
|
252
|
+
/**
|
|
253
|
+
* ID of organization
|
|
254
|
+
*
|
|
255
|
+
* This interface was referenced by `Organization`'s JSON-Schema via the
|
|
256
|
+
* `definition` "identity".
|
|
257
|
+
*
|
|
258
|
+
* This interface was referenced by `Organization`'s JSON-Schema via the
|
|
259
|
+
* `definition` "id".
|
|
260
|
+
*/
|
|
261
|
+
export type OrganizationIdentity = string;
|
|
245
262
|
/**
|
|
246
263
|
* JSON API type field
|
|
247
264
|
*
|
|
@@ -1251,12 +1268,13 @@ export type SiteSelfHrefSchema = {
|
|
|
1251
1268
|
[k: string]: unknown;
|
|
1252
1269
|
};
|
|
1253
1270
|
|
|
1254
|
-
export
|
|
1271
|
+
export type DatoApi = {
|
|
1255
1272
|
role?: Role;
|
|
1256
1273
|
user?: User;
|
|
1257
1274
|
sso_user?: SsoUser;
|
|
1258
1275
|
audit_log_event?: AuditLogEvent;
|
|
1259
1276
|
account?: Account;
|
|
1277
|
+
organization?: Organization;
|
|
1260
1278
|
site_plan?: SitePlan;
|
|
1261
1279
|
menu_item?: MenuItem;
|
|
1262
1280
|
item_type?: ItemType;
|
|
@@ -1297,7 +1315,7 @@ export interface DatoApi {
|
|
|
1297
1315
|
site?: Site;
|
|
1298
1316
|
workflow?: Workflow;
|
|
1299
1317
|
[k: string]: unknown;
|
|
1300
|
-
}
|
|
1318
|
+
};
|
|
1301
1319
|
|
|
1302
1320
|
/**
|
|
1303
1321
|
* A Role represents a specific set of actions an editor (or an API token) can
|
|
@@ -1306,13 +1324,13 @@ export interface DatoApi {
|
|
|
1306
1324
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
1307
1325
|
* "role".
|
|
1308
1326
|
*/
|
|
1309
|
-
export
|
|
1327
|
+
export type Role = {
|
|
1310
1328
|
type: RoleType;
|
|
1311
1329
|
id: RoleIdentity;
|
|
1312
1330
|
attributes: RoleAttributes;
|
|
1313
1331
|
relationships: RoleRelationships;
|
|
1314
1332
|
meta: RoleMeta;
|
|
1315
|
-
}
|
|
1333
|
+
};
|
|
1316
1334
|
|
|
1317
1335
|
/**
|
|
1318
1336
|
* JSON API attributes
|
|
@@ -1320,7 +1338,7 @@ export interface Role {
|
|
|
1320
1338
|
* This interface was referenced by `Role`'s JSON-Schema via the `definition`
|
|
1321
1339
|
* "attributes".
|
|
1322
1340
|
*/
|
|
1323
|
-
export
|
|
1341
|
+
export type RoleAttributes = {
|
|
1324
1342
|
/** The name of the role */
|
|
1325
1343
|
name: string;
|
|
1326
1344
|
/** Can edit favicon, global SEO settings and no-index policy */
|
|
@@ -1472,7 +1490,7 @@ export interface RoleAttributes {
|
|
|
1472
1490
|
negative_build_trigger_permissions: {
|
|
1473
1491
|
build_trigger?: BuildTriggerIdentity | null;
|
|
1474
1492
|
}[];
|
|
1475
|
-
}
|
|
1493
|
+
};
|
|
1476
1494
|
|
|
1477
1495
|
/**
|
|
1478
1496
|
* JSON API links
|
|
@@ -1480,12 +1498,12 @@ export interface RoleAttributes {
|
|
|
1480
1498
|
* This interface was referenced by `Role`'s JSON-Schema via the `definition`
|
|
1481
1499
|
* "relationships".
|
|
1482
1500
|
*/
|
|
1483
|
-
export
|
|
1501
|
+
export type RoleRelationships = {
|
|
1484
1502
|
/** The roles from which this role inherits permissions */
|
|
1485
1503
|
inherits_permissions_from: {
|
|
1486
1504
|
data: RoleData[];
|
|
1487
1505
|
};
|
|
1488
|
-
}
|
|
1506
|
+
};
|
|
1489
1507
|
|
|
1490
1508
|
/**
|
|
1491
1509
|
* JSON API data
|
|
@@ -1493,10 +1511,10 @@ export interface RoleRelationships {
|
|
|
1493
1511
|
* This interface was referenced by `Role`'s JSON-Schema via the `definition`
|
|
1494
1512
|
* "data".
|
|
1495
1513
|
*/
|
|
1496
|
-
export
|
|
1514
|
+
export type RoleData = {
|
|
1497
1515
|
type: RoleType;
|
|
1498
1516
|
id: RoleIdentity;
|
|
1499
|
-
}
|
|
1517
|
+
};
|
|
1500
1518
|
|
|
1501
1519
|
/**
|
|
1502
1520
|
* Meta information regarding the record
|
|
@@ -1504,7 +1522,7 @@ export interface RoleData {
|
|
|
1504
1522
|
* This interface was referenced by `Role`'s JSON-Schema via the `definition`
|
|
1505
1523
|
* "meta".
|
|
1506
1524
|
*/
|
|
1507
|
-
export
|
|
1525
|
+
export type RoleMeta = {
|
|
1508
1526
|
/** The final set of permissions considering also inherited roles */
|
|
1509
1527
|
final_permissions: {
|
|
1510
1528
|
/** Can edit favicon, global SEO settings and no-index policy */
|
|
@@ -1657,13 +1675,13 @@ export interface RoleMeta {
|
|
|
1657
1675
|
build_trigger?: BuildTriggerIdentity | null;
|
|
1658
1676
|
}[];
|
|
1659
1677
|
};
|
|
1660
|
-
}
|
|
1678
|
+
};
|
|
1661
1679
|
|
|
1662
1680
|
/**
|
|
1663
1681
|
* This interface was referenced by `Role`'s JSON-Schema via the `create.schema`
|
|
1664
1682
|
* link.
|
|
1665
1683
|
*/
|
|
1666
|
-
export
|
|
1684
|
+
export type RoleCreateSchema = {
|
|
1667
1685
|
data: {
|
|
1668
1686
|
type: RoleType;
|
|
1669
1687
|
/** JSON API attributes */
|
|
@@ -1829,21 +1847,21 @@ export interface RoleCreateSchema {
|
|
|
1829
1847
|
};
|
|
1830
1848
|
meta?: RoleMeta;
|
|
1831
1849
|
};
|
|
1832
|
-
}
|
|
1850
|
+
};
|
|
1833
1851
|
|
|
1834
1852
|
/**
|
|
1835
1853
|
* This interface was referenced by `Role`'s JSON-Schema via the
|
|
1836
1854
|
* `create.targetSchema` link.
|
|
1837
1855
|
*/
|
|
1838
|
-
export
|
|
1856
|
+
export type RoleCreateTargetSchema = {
|
|
1839
1857
|
data: Role;
|
|
1840
|
-
}
|
|
1858
|
+
};
|
|
1841
1859
|
|
|
1842
1860
|
/**
|
|
1843
1861
|
* This interface was referenced by `Role`'s JSON-Schema via the `update.schema`
|
|
1844
1862
|
* link.
|
|
1845
1863
|
*/
|
|
1846
|
-
export
|
|
1864
|
+
export type RoleUpdateSchema = {
|
|
1847
1865
|
data: {
|
|
1848
1866
|
type: RoleType;
|
|
1849
1867
|
id: RoleIdentity;
|
|
@@ -2010,39 +2028,39 @@ export interface RoleUpdateSchema {
|
|
|
2010
2028
|
};
|
|
2011
2029
|
meta?: RoleMeta;
|
|
2012
2030
|
};
|
|
2013
|
-
}
|
|
2031
|
+
};
|
|
2014
2032
|
|
|
2015
2033
|
/**
|
|
2016
2034
|
* This interface was referenced by `Role`'s JSON-Schema via the
|
|
2017
2035
|
* `update.targetSchema` link.
|
|
2018
2036
|
*/
|
|
2019
|
-
export
|
|
2037
|
+
export type RoleUpdateTargetSchema = {
|
|
2020
2038
|
data: Role;
|
|
2021
|
-
}
|
|
2039
|
+
};
|
|
2022
2040
|
|
|
2023
2041
|
/**
|
|
2024
2042
|
* This interface was referenced by `Role`'s JSON-Schema via the
|
|
2025
2043
|
* `instances.targetSchema` link.
|
|
2026
2044
|
*/
|
|
2027
|
-
export
|
|
2045
|
+
export type RoleInstancesTargetSchema = {
|
|
2028
2046
|
data: Role[];
|
|
2029
|
-
}
|
|
2047
|
+
};
|
|
2030
2048
|
|
|
2031
2049
|
/**
|
|
2032
2050
|
* This interface was referenced by `Role`'s JSON-Schema via the
|
|
2033
2051
|
* `self.targetSchema` link.
|
|
2034
2052
|
*/
|
|
2035
|
-
export
|
|
2053
|
+
export type RoleSelfTargetSchema = {
|
|
2036
2054
|
data: Role;
|
|
2037
|
-
}
|
|
2055
|
+
};
|
|
2038
2056
|
|
|
2039
2057
|
/**
|
|
2040
2058
|
* This interface was referenced by `Role`'s JSON-Schema via the
|
|
2041
2059
|
* `destroy.targetSchema` link.
|
|
2042
2060
|
*/
|
|
2043
|
-
export
|
|
2061
|
+
export type RoleDestroyTargetSchema = {
|
|
2044
2062
|
data: Role;
|
|
2045
|
-
}
|
|
2063
|
+
};
|
|
2046
2064
|
|
|
2047
2065
|
/**
|
|
2048
2066
|
* A DatoCMS administrative area can be accessed by multiple people. Every
|
|
@@ -2052,13 +2070,13 @@ export interface RoleDestroyTargetSchema {
|
|
|
2052
2070
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
2053
2071
|
* "user".
|
|
2054
2072
|
*/
|
|
2055
|
-
export
|
|
2073
|
+
export type User = {
|
|
2056
2074
|
type: UserType;
|
|
2057
2075
|
id: UserIdentity;
|
|
2058
2076
|
attributes: UserAttributes;
|
|
2059
2077
|
relationships: UserRelationships;
|
|
2060
2078
|
meta?: UserMeta;
|
|
2061
|
-
}
|
|
2079
|
+
};
|
|
2062
2080
|
|
|
2063
2081
|
/**
|
|
2064
2082
|
* JSON API attributes
|
|
@@ -2066,7 +2084,7 @@ export interface User {
|
|
|
2066
2084
|
* This interface was referenced by `User`'s JSON-Schema via the `definition`
|
|
2067
2085
|
* "attributes".
|
|
2068
2086
|
*/
|
|
2069
|
-
export
|
|
2087
|
+
export type UserAttributes = {
|
|
2070
2088
|
/** Email */
|
|
2071
2089
|
email: string;
|
|
2072
2090
|
/** Whether 2-factor authentication is active for this account or not */
|
|
@@ -2075,7 +2093,7 @@ export interface UserAttributes {
|
|
|
2075
2093
|
full_name: string;
|
|
2076
2094
|
/** Whether the user is active or not */
|
|
2077
2095
|
is_active: boolean;
|
|
2078
|
-
}
|
|
2096
|
+
};
|
|
2079
2097
|
|
|
2080
2098
|
/**
|
|
2081
2099
|
* JSON API links
|
|
@@ -2083,12 +2101,12 @@ export interface UserAttributes {
|
|
|
2083
2101
|
* This interface was referenced by `User`'s JSON-Schema via the `definition`
|
|
2084
2102
|
* "relationships".
|
|
2085
2103
|
*/
|
|
2086
|
-
export
|
|
2104
|
+
export type UserRelationships = {
|
|
2087
2105
|
/** Role */
|
|
2088
2106
|
role: {
|
|
2089
2107
|
data: RoleData;
|
|
2090
2108
|
};
|
|
2091
|
-
}
|
|
2109
|
+
};
|
|
2092
2110
|
|
|
2093
2111
|
/**
|
|
2094
2112
|
* Meta information on the user
|
|
@@ -2096,10 +2114,10 @@ export interface UserRelationships {
|
|
|
2096
2114
|
* This interface was referenced by `User`'s JSON-Schema via the `definition`
|
|
2097
2115
|
* "meta".
|
|
2098
2116
|
*/
|
|
2099
|
-
export
|
|
2117
|
+
export type UserMeta = {
|
|
2100
2118
|
/** Date of last reading/interaction */
|
|
2101
2119
|
last_access: string | null;
|
|
2102
|
-
}
|
|
2120
|
+
};
|
|
2103
2121
|
|
|
2104
2122
|
/**
|
|
2105
2123
|
* JSON API data
|
|
@@ -2107,16 +2125,16 @@ export interface UserMeta {
|
|
|
2107
2125
|
* This interface was referenced by `User`'s JSON-Schema via the `definition`
|
|
2108
2126
|
* "data".
|
|
2109
2127
|
*/
|
|
2110
|
-
export
|
|
2128
|
+
export type UserData = {
|
|
2111
2129
|
type: UserType;
|
|
2112
2130
|
id: UserIdentity;
|
|
2113
|
-
}
|
|
2131
|
+
};
|
|
2114
2132
|
|
|
2115
2133
|
/**
|
|
2116
2134
|
* This interface was referenced by `User`'s JSON-Schema via the `update.schema`
|
|
2117
2135
|
* link.
|
|
2118
2136
|
*/
|
|
2119
|
-
export
|
|
2137
|
+
export type UserUpdateSchema = {
|
|
2120
2138
|
data: {
|
|
2121
2139
|
type: UserType;
|
|
2122
2140
|
id: UserIdentity;
|
|
@@ -2131,41 +2149,41 @@ export interface UserUpdateSchema {
|
|
|
2131
2149
|
};
|
|
2132
2150
|
};
|
|
2133
2151
|
};
|
|
2134
|
-
}
|
|
2152
|
+
};
|
|
2135
2153
|
|
|
2136
2154
|
/**
|
|
2137
2155
|
* This interface was referenced by `User`'s JSON-Schema via the
|
|
2138
2156
|
* `update.targetSchema` link.
|
|
2139
2157
|
*/
|
|
2140
|
-
export
|
|
2158
|
+
export type UserUpdateTargetSchema = {
|
|
2141
2159
|
data: User;
|
|
2142
|
-
}
|
|
2160
|
+
};
|
|
2143
2161
|
|
|
2144
2162
|
/**
|
|
2145
2163
|
* This interface was referenced by `User`'s JSON-Schema via the
|
|
2146
2164
|
* `instances.targetSchema` link.
|
|
2147
2165
|
*/
|
|
2148
|
-
export
|
|
2166
|
+
export type UserInstancesTargetSchema = {
|
|
2149
2167
|
data: User[];
|
|
2150
|
-
}
|
|
2168
|
+
};
|
|
2151
2169
|
|
|
2152
2170
|
/**
|
|
2153
2171
|
* This interface was referenced by `User`'s JSON-Schema via the
|
|
2154
2172
|
* `self.targetSchema` link.
|
|
2155
2173
|
*/
|
|
2156
|
-
export
|
|
2174
|
+
export type UserSelfTargetSchema = {
|
|
2157
2175
|
data: User;
|
|
2158
2176
|
included?: Role[];
|
|
2159
|
-
}
|
|
2177
|
+
};
|
|
2160
2178
|
|
|
2161
2179
|
/**
|
|
2162
2180
|
* This interface was referenced by `User`'s JSON-Schema via the
|
|
2163
2181
|
* `me.targetSchema` link.
|
|
2164
2182
|
*/
|
|
2165
|
-
export
|
|
2183
|
+
export type UserMeTargetSchema = {
|
|
2166
2184
|
data: User | SsoUser | AccessToken | Account;
|
|
2167
2185
|
included?: Role[];
|
|
2168
|
-
}
|
|
2186
|
+
};
|
|
2169
2187
|
|
|
2170
2188
|
/**
|
|
2171
2189
|
* A Single Sign-On user exists when a DatoCMS project is connected to an
|
|
@@ -2176,13 +2194,13 @@ export interface UserMeTargetSchema {
|
|
|
2176
2194
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
2177
2195
|
* "sso_user".
|
|
2178
2196
|
*/
|
|
2179
|
-
export
|
|
2197
|
+
export type SsoUser = {
|
|
2180
2198
|
type: SsoUserType;
|
|
2181
2199
|
id: SsoUserIdentity;
|
|
2182
2200
|
attributes: SsoUserAttributes;
|
|
2183
2201
|
relationships: SsoUserRelationships;
|
|
2184
2202
|
meta: SsoUserMeta;
|
|
2185
|
-
}
|
|
2203
|
+
};
|
|
2186
2204
|
|
|
2187
2205
|
/**
|
|
2188
2206
|
* JSON API attributes
|
|
@@ -2190,7 +2208,7 @@ export interface SsoUser {
|
|
|
2190
2208
|
* This interface was referenced by `SsoUser`'s JSON-Schema via the `definition`
|
|
2191
2209
|
* "attributes".
|
|
2192
2210
|
*/
|
|
2193
|
-
export
|
|
2211
|
+
export type SsoUserAttributes = {
|
|
2194
2212
|
/** Email */
|
|
2195
2213
|
username: string;
|
|
2196
2214
|
/** Identity provider ID */
|
|
@@ -2204,7 +2222,7 @@ export interface SsoUserAttributes {
|
|
|
2204
2222
|
first_name: string | null;
|
|
2205
2223
|
/** Last name */
|
|
2206
2224
|
last_name: string | null;
|
|
2207
|
-
}
|
|
2225
|
+
};
|
|
2208
2226
|
|
|
2209
2227
|
/**
|
|
2210
2228
|
* JSON API links
|
|
@@ -2212,7 +2230,7 @@ export interface SsoUserAttributes {
|
|
|
2212
2230
|
* This interface was referenced by `SsoUser`'s JSON-Schema via the `definition`
|
|
2213
2231
|
* "relationships".
|
|
2214
2232
|
*/
|
|
2215
|
-
export
|
|
2233
|
+
export type SsoUserRelationships = {
|
|
2216
2234
|
/** All the users's groups */
|
|
2217
2235
|
groups: {
|
|
2218
2236
|
data: SsoGroupData[];
|
|
@@ -2221,7 +2239,7 @@ export interface SsoUserRelationships {
|
|
|
2221
2239
|
role: {
|
|
2222
2240
|
data: RoleData | null;
|
|
2223
2241
|
};
|
|
2224
|
-
}
|
|
2242
|
+
};
|
|
2225
2243
|
|
|
2226
2244
|
/**
|
|
2227
2245
|
* JSON API data
|
|
@@ -2229,10 +2247,10 @@ export interface SsoUserRelationships {
|
|
|
2229
2247
|
* This interface was referenced by `SsoGroup`'s JSON-Schema via the
|
|
2230
2248
|
* `definition` "data".
|
|
2231
2249
|
*/
|
|
2232
|
-
export
|
|
2250
|
+
export type SsoGroupData = {
|
|
2233
2251
|
type: SsoGroupType;
|
|
2234
2252
|
id: SsoGroupIdentity;
|
|
2235
|
-
}
|
|
2253
|
+
};
|
|
2236
2254
|
|
|
2237
2255
|
/**
|
|
2238
2256
|
* Meta information on the user
|
|
@@ -2240,10 +2258,10 @@ export interface SsoGroupData {
|
|
|
2240
2258
|
* This interface was referenced by `SsoUser`'s JSON-Schema via the `definition`
|
|
2241
2259
|
* "meta".
|
|
2242
2260
|
*/
|
|
2243
|
-
export
|
|
2261
|
+
export type SsoUserMeta = {
|
|
2244
2262
|
/** Date of last reading/interaction */
|
|
2245
2263
|
last_access: string | null;
|
|
2246
|
-
}
|
|
2264
|
+
};
|
|
2247
2265
|
|
|
2248
2266
|
/**
|
|
2249
2267
|
* JSON API data
|
|
@@ -2251,42 +2269,42 @@ export interface SsoUserMeta {
|
|
|
2251
2269
|
* This interface was referenced by `SsoUser`'s JSON-Schema via the `definition`
|
|
2252
2270
|
* "data".
|
|
2253
2271
|
*/
|
|
2254
|
-
export
|
|
2272
|
+
export type SsoUserData = {
|
|
2255
2273
|
type: SsoUserType;
|
|
2256
2274
|
id: SsoUserIdentity;
|
|
2257
|
-
}
|
|
2275
|
+
};
|
|
2258
2276
|
|
|
2259
2277
|
/**
|
|
2260
2278
|
* This interface was referenced by `SsoUser`'s JSON-Schema via the
|
|
2261
2279
|
* `instances.targetSchema` link.
|
|
2262
2280
|
*/
|
|
2263
|
-
export
|
|
2281
|
+
export type SsoUserInstancesTargetSchema = {
|
|
2264
2282
|
data: SsoUser[];
|
|
2265
|
-
}
|
|
2283
|
+
};
|
|
2266
2284
|
|
|
2267
2285
|
/**
|
|
2268
2286
|
* This interface was referenced by `SsoUser`'s JSON-Schema via the
|
|
2269
2287
|
* `self.targetSchema` link.
|
|
2270
2288
|
*/
|
|
2271
|
-
export
|
|
2289
|
+
export type SsoUserSelfTargetSchema = {
|
|
2272
2290
|
data: SsoUser;
|
|
2273
|
-
}
|
|
2291
|
+
};
|
|
2274
2292
|
|
|
2275
2293
|
/**
|
|
2276
2294
|
* This interface was referenced by `SsoUser`'s JSON-Schema via the
|
|
2277
2295
|
* `copy_users.targetSchema` link.
|
|
2278
2296
|
*/
|
|
2279
|
-
export
|
|
2297
|
+
export type SsoUserCopyUsersTargetSchema = {
|
|
2280
2298
|
data: SsoUser[];
|
|
2281
|
-
}
|
|
2299
|
+
};
|
|
2282
2300
|
|
|
2283
2301
|
/**
|
|
2284
2302
|
* This interface was referenced by `SsoUser`'s JSON-Schema via the
|
|
2285
2303
|
* `destroy.targetSchema` link.
|
|
2286
2304
|
*/
|
|
2287
|
-
export
|
|
2305
|
+
export type SsoUserDestroyTargetSchema = {
|
|
2288
2306
|
data: SsoUser;
|
|
2289
|
-
}
|
|
2307
|
+
};
|
|
2290
2308
|
|
|
2291
2309
|
/**
|
|
2292
2310
|
* An API token allows access to our API. It is linked to a Role, which
|
|
@@ -2295,12 +2313,12 @@ export interface SsoUserDestroyTargetSchema {
|
|
|
2295
2313
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
2296
2314
|
* "access_token".
|
|
2297
2315
|
*/
|
|
2298
|
-
export
|
|
2316
|
+
export type AccessToken = {
|
|
2299
2317
|
type: AccessTokenType;
|
|
2300
2318
|
id: AccessTokenIdentity;
|
|
2301
2319
|
attributes: AccessTokenAttributes;
|
|
2302
2320
|
relationships: AccessTokenRelationships;
|
|
2303
|
-
}
|
|
2321
|
+
};
|
|
2304
2322
|
|
|
2305
2323
|
/**
|
|
2306
2324
|
* JSON API attributes
|
|
@@ -2308,7 +2326,7 @@ export interface AccessToken {
|
|
|
2308
2326
|
* This interface was referenced by `AccessToken`'s JSON-Schema via the
|
|
2309
2327
|
* `definition` "attributes".
|
|
2310
2328
|
*/
|
|
2311
|
-
export
|
|
2329
|
+
export type AccessTokenAttributes = {
|
|
2312
2330
|
/** Name of API token */
|
|
2313
2331
|
name: string;
|
|
2314
2332
|
/**
|
|
@@ -2329,7 +2347,7 @@ export interface AccessTokenAttributes {
|
|
|
2329
2347
|
/** Whether this API token can access the Content Management API */
|
|
2330
2348
|
can_access_cma: boolean;
|
|
2331
2349
|
hardcoded_type: null | string;
|
|
2332
|
-
}
|
|
2350
|
+
};
|
|
2333
2351
|
|
|
2334
2352
|
/**
|
|
2335
2353
|
* JSON API links
|
|
@@ -2337,12 +2355,12 @@ export interface AccessTokenAttributes {
|
|
|
2337
2355
|
* This interface was referenced by `AccessToken`'s JSON-Schema via the
|
|
2338
2356
|
* `definition` "relationships".
|
|
2339
2357
|
*/
|
|
2340
|
-
export
|
|
2358
|
+
export type AccessTokenRelationships = {
|
|
2341
2359
|
/** Role */
|
|
2342
2360
|
role: {
|
|
2343
2361
|
data: RoleData | null;
|
|
2344
2362
|
};
|
|
2345
|
-
}
|
|
2363
|
+
};
|
|
2346
2364
|
|
|
2347
2365
|
/**
|
|
2348
2366
|
* JSON API data
|
|
@@ -2350,16 +2368,16 @@ export interface AccessTokenRelationships {
|
|
|
2350
2368
|
* This interface was referenced by `AccessToken`'s JSON-Schema via the
|
|
2351
2369
|
* `definition` "data".
|
|
2352
2370
|
*/
|
|
2353
|
-
export
|
|
2371
|
+
export type AccessTokenData = {
|
|
2354
2372
|
type: AccessTokenType;
|
|
2355
2373
|
id: AccessTokenIdentity;
|
|
2356
|
-
}
|
|
2374
|
+
};
|
|
2357
2375
|
|
|
2358
2376
|
/**
|
|
2359
2377
|
* This interface was referenced by `AccessToken`'s JSON-Schema via the
|
|
2360
2378
|
* `create.schema` link.
|
|
2361
2379
|
*/
|
|
2362
|
-
export
|
|
2380
|
+
export type AccessTokenCreateSchema = {
|
|
2363
2381
|
data: {
|
|
2364
2382
|
type: AccessTokenType;
|
|
2365
2383
|
attributes: {
|
|
@@ -2385,21 +2403,21 @@ export interface AccessTokenCreateSchema {
|
|
|
2385
2403
|
};
|
|
2386
2404
|
};
|
|
2387
2405
|
};
|
|
2388
|
-
}
|
|
2406
|
+
};
|
|
2389
2407
|
|
|
2390
2408
|
/**
|
|
2391
2409
|
* This interface was referenced by `AccessToken`'s JSON-Schema via the
|
|
2392
2410
|
* `create.targetSchema` link.
|
|
2393
2411
|
*/
|
|
2394
|
-
export
|
|
2412
|
+
export type AccessTokenCreateTargetSchema = {
|
|
2395
2413
|
data: AccessToken;
|
|
2396
|
-
}
|
|
2414
|
+
};
|
|
2397
2415
|
|
|
2398
2416
|
/**
|
|
2399
2417
|
* This interface was referenced by `AccessToken`'s JSON-Schema via the
|
|
2400
2418
|
* `update.schema` link.
|
|
2401
2419
|
*/
|
|
2402
|
-
export
|
|
2420
|
+
export type AccessTokenUpdateSchema = {
|
|
2403
2421
|
data: {
|
|
2404
2422
|
type: AccessTokenType;
|
|
2405
2423
|
id: AccessTokenIdentity;
|
|
@@ -2426,47 +2444,47 @@ export interface AccessTokenUpdateSchema {
|
|
|
2426
2444
|
};
|
|
2427
2445
|
};
|
|
2428
2446
|
};
|
|
2429
|
-
}
|
|
2447
|
+
};
|
|
2430
2448
|
|
|
2431
2449
|
/**
|
|
2432
2450
|
* This interface was referenced by `AccessToken`'s JSON-Schema via the
|
|
2433
2451
|
* `update.targetSchema` link.
|
|
2434
2452
|
*/
|
|
2435
|
-
export
|
|
2453
|
+
export type AccessTokenUpdateTargetSchema = {
|
|
2436
2454
|
data: AccessToken;
|
|
2437
|
-
}
|
|
2455
|
+
};
|
|
2438
2456
|
|
|
2439
2457
|
/**
|
|
2440
2458
|
* This interface was referenced by `AccessToken`'s JSON-Schema via the
|
|
2441
2459
|
* `instances.targetSchema` link.
|
|
2442
2460
|
*/
|
|
2443
|
-
export
|
|
2461
|
+
export type AccessTokenInstancesTargetSchema = {
|
|
2444
2462
|
data: AccessToken[];
|
|
2445
|
-
}
|
|
2463
|
+
};
|
|
2446
2464
|
|
|
2447
2465
|
/**
|
|
2448
2466
|
* This interface was referenced by `AccessToken`'s JSON-Schema via the
|
|
2449
2467
|
* `self.targetSchema` link.
|
|
2450
2468
|
*/
|
|
2451
|
-
export
|
|
2469
|
+
export type AccessTokenSelfTargetSchema = {
|
|
2452
2470
|
data: AccessToken;
|
|
2453
|
-
}
|
|
2471
|
+
};
|
|
2454
2472
|
|
|
2455
2473
|
/**
|
|
2456
2474
|
* This interface was referenced by `AccessToken`'s JSON-Schema via the
|
|
2457
2475
|
* `regenerate_token.targetSchema` link.
|
|
2458
2476
|
*/
|
|
2459
|
-
export
|
|
2477
|
+
export type AccessTokenRegenerateTokenTargetSchema = {
|
|
2460
2478
|
data: AccessToken;
|
|
2461
|
-
}
|
|
2479
|
+
};
|
|
2462
2480
|
|
|
2463
2481
|
/**
|
|
2464
2482
|
* This interface was referenced by `AccessToken`'s JSON-Schema via the
|
|
2465
2483
|
* `destroy.targetSchema` link.
|
|
2466
2484
|
*/
|
|
2467
|
-
export
|
|
2485
|
+
export type AccessTokenDestroyTargetSchema = {
|
|
2468
2486
|
data: AccessToken;
|
|
2469
|
-
}
|
|
2487
|
+
};
|
|
2470
2488
|
|
|
2471
2489
|
/**
|
|
2472
2490
|
* DatoCMS account
|
|
@@ -2474,11 +2492,11 @@ export interface AccessTokenDestroyTargetSchema {
|
|
|
2474
2492
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
2475
2493
|
* "account".
|
|
2476
2494
|
*/
|
|
2477
|
-
export
|
|
2495
|
+
export type Account = {
|
|
2478
2496
|
type: AccountType;
|
|
2479
2497
|
id: AccountIdentity;
|
|
2480
2498
|
attributes: AccountAttributes;
|
|
2481
|
-
}
|
|
2499
|
+
};
|
|
2482
2500
|
|
|
2483
2501
|
/**
|
|
2484
2502
|
* JSON API attributes
|
|
@@ -2486,7 +2504,7 @@ export interface Account {
|
|
|
2486
2504
|
* This interface was referenced by `Account`'s JSON-Schema via the `definition`
|
|
2487
2505
|
* "attributes".
|
|
2488
2506
|
*/
|
|
2489
|
-
export
|
|
2507
|
+
export type AccountAttributes = {
|
|
2490
2508
|
/** Email */
|
|
2491
2509
|
email: string;
|
|
2492
2510
|
/** First name */
|
|
@@ -2495,9 +2513,7 @@ export interface AccountAttributes {
|
|
|
2495
2513
|
last_name: string | null;
|
|
2496
2514
|
/** Company name */
|
|
2497
2515
|
company: string | null;
|
|
2498
|
-
|
|
2499
|
-
password?: string;
|
|
2500
|
-
}
|
|
2516
|
+
};
|
|
2501
2517
|
|
|
2502
2518
|
/**
|
|
2503
2519
|
* JSON API data
|
|
@@ -2505,18 +2521,18 @@ export interface AccountAttributes {
|
|
|
2505
2521
|
* This interface was referenced by `Account`'s JSON-Schema via the `definition`
|
|
2506
2522
|
* "data".
|
|
2507
2523
|
*/
|
|
2508
|
-
export
|
|
2524
|
+
export type AccountData = {
|
|
2509
2525
|
type: AccountType;
|
|
2510
2526
|
id: AccountIdentity;
|
|
2511
|
-
}
|
|
2527
|
+
};
|
|
2512
2528
|
|
|
2513
2529
|
/**
|
|
2514
2530
|
* This interface was referenced by `User`'s JSON-Schema via the
|
|
2515
2531
|
* `destroy.targetSchema` link.
|
|
2516
2532
|
*/
|
|
2517
|
-
export
|
|
2533
|
+
export type UserDestroyTargetSchema = {
|
|
2518
2534
|
data: User;
|
|
2519
|
-
}
|
|
2535
|
+
};
|
|
2520
2536
|
|
|
2521
2537
|
/**
|
|
2522
2538
|
* If the Audit log functionality is enabled in a project, logged events can be
|
|
@@ -2526,12 +2542,12 @@ export interface UserDestroyTargetSchema {
|
|
|
2526
2542
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
2527
2543
|
* "audit_log_event".
|
|
2528
2544
|
*/
|
|
2529
|
-
export
|
|
2545
|
+
export type AuditLogEvent = {
|
|
2530
2546
|
type: AuditLogEventType;
|
|
2531
2547
|
id: AuditLogEventIdentity;
|
|
2532
2548
|
attributes: AuditLogEventAttributes;
|
|
2533
2549
|
meta: AuditLogEventMeta;
|
|
2534
|
-
}
|
|
2550
|
+
};
|
|
2535
2551
|
|
|
2536
2552
|
/**
|
|
2537
2553
|
* JSON API attributes
|
|
@@ -2539,7 +2555,7 @@ export interface AuditLogEvent {
|
|
|
2539
2555
|
* This interface was referenced by `AuditLogEvent`'s JSON-Schema via the
|
|
2540
2556
|
* `definition` "attributes".
|
|
2541
2557
|
*/
|
|
2542
|
-
export
|
|
2558
|
+
export type AuditLogEventAttributes = {
|
|
2543
2559
|
/** The actual action performed */
|
|
2544
2560
|
action_name: string;
|
|
2545
2561
|
/** The actor who performed the action */
|
|
@@ -2596,7 +2612,7 @@ export interface AuditLogEventAttributes {
|
|
|
2596
2612
|
[k: string]: unknown;
|
|
2597
2613
|
};
|
|
2598
2614
|
};
|
|
2599
|
-
}
|
|
2615
|
+
};
|
|
2600
2616
|
|
|
2601
2617
|
/**
|
|
2602
2618
|
* JSON API meta
|
|
@@ -2604,10 +2620,10 @@ export interface AuditLogEventAttributes {
|
|
|
2604
2620
|
* This interface was referenced by `AuditLogEvent`'s JSON-Schema via the
|
|
2605
2621
|
* `definition` "meta".
|
|
2606
2622
|
*/
|
|
2607
|
-
export
|
|
2623
|
+
export type AuditLogEventMeta = {
|
|
2608
2624
|
/** The date of the event */
|
|
2609
2625
|
occurred_at: string;
|
|
2610
|
-
}
|
|
2626
|
+
};
|
|
2611
2627
|
|
|
2612
2628
|
/**
|
|
2613
2629
|
* JSON API data
|
|
@@ -2615,16 +2631,16 @@ export interface AuditLogEventMeta {
|
|
|
2615
2631
|
* This interface was referenced by `AuditLogEvent`'s JSON-Schema via the
|
|
2616
2632
|
* `definition` "data".
|
|
2617
2633
|
*/
|
|
2618
|
-
export
|
|
2634
|
+
export type AuditLogEventData = {
|
|
2619
2635
|
type: AuditLogEventType;
|
|
2620
2636
|
id: AuditLogEventIdentity;
|
|
2621
|
-
}
|
|
2637
|
+
};
|
|
2622
2638
|
|
|
2623
2639
|
/**
|
|
2624
2640
|
* This interface was referenced by `AuditLogEvent`'s JSON-Schema via the
|
|
2625
2641
|
* `query.schema` link.
|
|
2626
2642
|
*/
|
|
2627
|
-
export
|
|
2643
|
+
export type AuditLogEventQuerySchema = {
|
|
2628
2644
|
data: {
|
|
2629
2645
|
/** JSON API type field */
|
|
2630
2646
|
type: 'audit_log_query';
|
|
@@ -2643,13 +2659,13 @@ export interface AuditLogEventQuerySchema {
|
|
|
2643
2659
|
detailed_log?: boolean;
|
|
2644
2660
|
};
|
|
2645
2661
|
};
|
|
2646
|
-
}
|
|
2662
|
+
};
|
|
2647
2663
|
|
|
2648
2664
|
/**
|
|
2649
2665
|
* This interface was referenced by `AuditLogEvent`'s JSON-Schema via the
|
|
2650
2666
|
* `query.targetSchema` link.
|
|
2651
2667
|
*/
|
|
2652
|
-
export
|
|
2668
|
+
export type AuditLogEventQueryTargetSchema = {
|
|
2653
2669
|
data: AuditLogEvent[];
|
|
2654
2670
|
meta: {
|
|
2655
2671
|
/**
|
|
@@ -2659,7 +2675,41 @@ export interface AuditLogEventQueryTargetSchema {
|
|
|
2659
2675
|
*/
|
|
2660
2676
|
next_token: null | string;
|
|
2661
2677
|
};
|
|
2662
|
-
}
|
|
2678
|
+
};
|
|
2679
|
+
|
|
2680
|
+
/**
|
|
2681
|
+
* DatoCMS organization
|
|
2682
|
+
*
|
|
2683
|
+
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
2684
|
+
* "organization".
|
|
2685
|
+
*/
|
|
2686
|
+
export type Organization = {
|
|
2687
|
+
type: OrganizationType;
|
|
2688
|
+
id: OrganizationIdentity;
|
|
2689
|
+
attributes: OrganizationAttributes;
|
|
2690
|
+
};
|
|
2691
|
+
|
|
2692
|
+
/**
|
|
2693
|
+
* JSON API attributes
|
|
2694
|
+
*
|
|
2695
|
+
* This interface was referenced by `Organization`'s JSON-Schema via the
|
|
2696
|
+
* `definition` "attributes".
|
|
2697
|
+
*/
|
|
2698
|
+
export type OrganizationAttributes = {
|
|
2699
|
+
/** Name of the organization */
|
|
2700
|
+
name: string;
|
|
2701
|
+
};
|
|
2702
|
+
|
|
2703
|
+
/**
|
|
2704
|
+
* JSON API data
|
|
2705
|
+
*
|
|
2706
|
+
* This interface was referenced by `Organization`'s JSON-Schema via the
|
|
2707
|
+
* `definition` "data".
|
|
2708
|
+
*/
|
|
2709
|
+
export type OrganizationData = {
|
|
2710
|
+
type: OrganizationType;
|
|
2711
|
+
id: OrganizationIdentity;
|
|
2712
|
+
};
|
|
2663
2713
|
|
|
2664
2714
|
/**
|
|
2665
2715
|
* Stores the information regarding the current plan for the project.
|
|
@@ -2667,11 +2717,11 @@ export interface AuditLogEventQueryTargetSchema {
|
|
|
2667
2717
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
2668
2718
|
* "site_plan".
|
|
2669
2719
|
*/
|
|
2670
|
-
export
|
|
2720
|
+
export type SitePlan = {
|
|
2671
2721
|
type: SitePlanType;
|
|
2672
2722
|
id: SitePlanIdentity;
|
|
2673
2723
|
attributes: SitePlanAttributes;
|
|
2674
|
-
}
|
|
2724
|
+
};
|
|
2675
2725
|
|
|
2676
2726
|
/**
|
|
2677
2727
|
* JSON API attributes
|
|
@@ -2679,7 +2729,7 @@ export interface SitePlan {
|
|
|
2679
2729
|
* This interface was referenced by `SitePlan`'s JSON-Schema via the
|
|
2680
2730
|
* `definition` "attributes".
|
|
2681
2731
|
*/
|
|
2682
|
-
export
|
|
2732
|
+
export type SitePlanAttributes = {
|
|
2683
2733
|
/** The name of the plan */
|
|
2684
2734
|
name: string;
|
|
2685
2735
|
/** Whether this plan is active or legacy */
|
|
@@ -2821,7 +2871,7 @@ export interface SitePlanAttributes {
|
|
|
2821
2871
|
price: number;
|
|
2822
2872
|
};
|
|
2823
2873
|
};
|
|
2824
|
-
}
|
|
2874
|
+
};
|
|
2825
2875
|
|
|
2826
2876
|
/**
|
|
2827
2877
|
* JSON API data
|
|
@@ -2829,10 +2879,10 @@ export interface SitePlanAttributes {
|
|
|
2829
2879
|
* This interface was referenced by `SitePlan`'s JSON-Schema via the
|
|
2830
2880
|
* `definition` "data".
|
|
2831
2881
|
*/
|
|
2832
|
-
export
|
|
2882
|
+
export type SitePlanData = {
|
|
2833
2883
|
type: SitePlanType;
|
|
2834
2884
|
id: SitePlanIdentity;
|
|
2835
|
-
}
|
|
2885
|
+
};
|
|
2836
2886
|
|
|
2837
2887
|
/**
|
|
2838
2888
|
* In DatoCMS you can organize the different Models present in your
|
|
@@ -2842,12 +2892,12 @@ export interface SitePlanData {
|
|
|
2842
2892
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
2843
2893
|
* "menu_item".
|
|
2844
2894
|
*/
|
|
2845
|
-
export
|
|
2895
|
+
export type MenuItem = {
|
|
2846
2896
|
type: MenuItemType;
|
|
2847
2897
|
id: MenuItemIdentity;
|
|
2848
2898
|
attributes: MenuItemAttributes;
|
|
2849
2899
|
relationships: MenuItemRelationships;
|
|
2850
|
-
}
|
|
2900
|
+
};
|
|
2851
2901
|
|
|
2852
2902
|
/**
|
|
2853
2903
|
* JSON API attributes
|
|
@@ -2855,7 +2905,7 @@ export interface MenuItem {
|
|
|
2855
2905
|
* This interface was referenced by `MenuItem`'s JSON-Schema via the
|
|
2856
2906
|
* `definition` "attributes".
|
|
2857
2907
|
*/
|
|
2858
|
-
export
|
|
2908
|
+
export type MenuItemAttributes = {
|
|
2859
2909
|
/** The label of the menu item */
|
|
2860
2910
|
label: string;
|
|
2861
2911
|
/** The URL to which the menu item points to */
|
|
@@ -2864,7 +2914,7 @@ export interface MenuItemAttributes {
|
|
|
2864
2914
|
position: number;
|
|
2865
2915
|
/** Opens link in new tab (to be used together with `external_url`) */
|
|
2866
2916
|
open_in_new_tab: boolean;
|
|
2867
|
-
}
|
|
2917
|
+
};
|
|
2868
2918
|
|
|
2869
2919
|
/**
|
|
2870
2920
|
* JSON API links
|
|
@@ -2872,7 +2922,7 @@ export interface MenuItemAttributes {
|
|
|
2872
2922
|
* This interface was referenced by `MenuItem`'s JSON-Schema via the
|
|
2873
2923
|
* `definition` "relationships".
|
|
2874
2924
|
*/
|
|
2875
|
-
export
|
|
2925
|
+
export type MenuItemRelationships = {
|
|
2876
2926
|
/** Item type associated with the menu item */
|
|
2877
2927
|
item_type: {
|
|
2878
2928
|
data: ItemTypeData | null;
|
|
@@ -2892,7 +2942,7 @@ export interface MenuItemRelationships {
|
|
|
2892
2942
|
children: {
|
|
2893
2943
|
data: MenuItemData[];
|
|
2894
2944
|
};
|
|
2895
|
-
}
|
|
2945
|
+
};
|
|
2896
2946
|
|
|
2897
2947
|
/**
|
|
2898
2948
|
* JSON API data
|
|
@@ -2900,10 +2950,10 @@ export interface MenuItemRelationships {
|
|
|
2900
2950
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
2901
2951
|
* `definition` "data".
|
|
2902
2952
|
*/
|
|
2903
|
-
export
|
|
2953
|
+
export type ItemTypeData = {
|
|
2904
2954
|
type: ItemTypeType;
|
|
2905
2955
|
id: ItemTypeIdentity;
|
|
2906
|
-
}
|
|
2956
|
+
};
|
|
2907
2957
|
|
|
2908
2958
|
/**
|
|
2909
2959
|
* JSON API data
|
|
@@ -2911,10 +2961,10 @@ export interface ItemTypeData {
|
|
|
2911
2961
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema via the
|
|
2912
2962
|
* `definition` "data".
|
|
2913
2963
|
*/
|
|
2914
|
-
export
|
|
2964
|
+
export type ItemTypeFilterData = {
|
|
2915
2965
|
type: ItemTypeFilterType;
|
|
2916
2966
|
id: ItemTypeFilterIdentity;
|
|
2917
|
-
}
|
|
2967
|
+
};
|
|
2918
2968
|
|
|
2919
2969
|
/**
|
|
2920
2970
|
* JSON API data
|
|
@@ -2922,16 +2972,16 @@ export interface ItemTypeFilterData {
|
|
|
2922
2972
|
* This interface was referenced by `MenuItem`'s JSON-Schema via the
|
|
2923
2973
|
* `definition` "data".
|
|
2924
2974
|
*/
|
|
2925
|
-
export
|
|
2975
|
+
export type MenuItemData = {
|
|
2926
2976
|
type: MenuItemType;
|
|
2927
2977
|
id: MenuItemIdentity;
|
|
2928
|
-
}
|
|
2978
|
+
};
|
|
2929
2979
|
|
|
2930
2980
|
/**
|
|
2931
2981
|
* This interface was referenced by `MenuItem`'s JSON-Schema via the
|
|
2932
2982
|
* `create.schema` link.
|
|
2933
2983
|
*/
|
|
2934
|
-
export
|
|
2984
|
+
export type MenuItemCreateSchema = {
|
|
2935
2985
|
data: {
|
|
2936
2986
|
type: MenuItemType;
|
|
2937
2987
|
/** JSON API attributes */
|
|
@@ -2963,21 +3013,21 @@ export interface MenuItemCreateSchema {
|
|
|
2963
3013
|
};
|
|
2964
3014
|
};
|
|
2965
3015
|
};
|
|
2966
|
-
}
|
|
3016
|
+
};
|
|
2967
3017
|
|
|
2968
3018
|
/**
|
|
2969
3019
|
* This interface was referenced by `MenuItem`'s JSON-Schema via the
|
|
2970
3020
|
* `create.targetSchema` link.
|
|
2971
3021
|
*/
|
|
2972
|
-
export
|
|
3022
|
+
export type MenuItemCreateTargetSchema = {
|
|
2973
3023
|
data: MenuItem;
|
|
2974
|
-
}
|
|
3024
|
+
};
|
|
2975
3025
|
|
|
2976
3026
|
/**
|
|
2977
3027
|
* This interface was referenced by `MenuItem`'s JSON-Schema via the
|
|
2978
3028
|
* `update.schema` link.
|
|
2979
3029
|
*/
|
|
2980
|
-
export
|
|
3030
|
+
export type MenuItemUpdateSchema = {
|
|
2981
3031
|
data: {
|
|
2982
3032
|
type: MenuItemType;
|
|
2983
3033
|
id: MenuItemIdentity;
|
|
@@ -3010,39 +3060,39 @@ export interface MenuItemUpdateSchema {
|
|
|
3010
3060
|
};
|
|
3011
3061
|
};
|
|
3012
3062
|
};
|
|
3013
|
-
}
|
|
3063
|
+
};
|
|
3014
3064
|
|
|
3015
3065
|
/**
|
|
3016
3066
|
* This interface was referenced by `MenuItem`'s JSON-Schema via the
|
|
3017
3067
|
* `update.targetSchema` link.
|
|
3018
3068
|
*/
|
|
3019
|
-
export
|
|
3069
|
+
export type MenuItemUpdateTargetSchema = {
|
|
3020
3070
|
data: MenuItem;
|
|
3021
|
-
}
|
|
3071
|
+
};
|
|
3022
3072
|
|
|
3023
3073
|
/**
|
|
3024
3074
|
* This interface was referenced by `MenuItem`'s JSON-Schema via the
|
|
3025
3075
|
* `instances.targetSchema` link.
|
|
3026
3076
|
*/
|
|
3027
|
-
export
|
|
3077
|
+
export type MenuItemInstancesTargetSchema = {
|
|
3028
3078
|
data: MenuItem[];
|
|
3029
|
-
}
|
|
3079
|
+
};
|
|
3030
3080
|
|
|
3031
3081
|
/**
|
|
3032
3082
|
* This interface was referenced by `MenuItem`'s JSON-Schema via the
|
|
3033
3083
|
* `self.targetSchema` link.
|
|
3034
3084
|
*/
|
|
3035
|
-
export
|
|
3085
|
+
export type MenuItemSelfTargetSchema = {
|
|
3036
3086
|
data: MenuItem;
|
|
3037
|
-
}
|
|
3087
|
+
};
|
|
3038
3088
|
|
|
3039
3089
|
/**
|
|
3040
3090
|
* This interface was referenced by `MenuItem`'s JSON-Schema via the
|
|
3041
3091
|
* `destroy.targetSchema` link.
|
|
3042
3092
|
*/
|
|
3043
|
-
export
|
|
3093
|
+
export type MenuItemDestroyTargetSchema = {
|
|
3044
3094
|
data: MenuItem;
|
|
3045
|
-
}
|
|
3095
|
+
};
|
|
3046
3096
|
|
|
3047
3097
|
/**
|
|
3048
3098
|
* The way you define the kind of content you can edit inside your
|
|
@@ -3053,13 +3103,13 @@ export interface MenuItemDestroyTargetSchema {
|
|
|
3053
3103
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
3054
3104
|
* "item_type".
|
|
3055
3105
|
*/
|
|
3056
|
-
export
|
|
3106
|
+
export type ItemType = {
|
|
3057
3107
|
type: ItemTypeType;
|
|
3058
3108
|
id: ItemTypeIdentity;
|
|
3059
3109
|
attributes: ItemTypeAttributes;
|
|
3060
3110
|
relationships: ItemTypeRelationships;
|
|
3061
3111
|
meta: ItemTypeMeta;
|
|
3062
|
-
}
|
|
3112
|
+
};
|
|
3063
3113
|
|
|
3064
3114
|
/**
|
|
3065
3115
|
* JSON API attributes
|
|
@@ -3067,7 +3117,7 @@ export interface ItemType {
|
|
|
3067
3117
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
3068
3118
|
* `definition` "attributes".
|
|
3069
3119
|
*/
|
|
3070
|
-
export
|
|
3120
|
+
export type ItemTypeAttributes = {
|
|
3071
3121
|
/** Name of the model */
|
|
3072
3122
|
name: string;
|
|
3073
3123
|
/** API key of the model */
|
|
@@ -3115,7 +3165,7 @@ export interface ItemTypeAttributes {
|
|
|
3115
3165
|
hint: string | null;
|
|
3116
3166
|
/** Whether inverse relationships fields are expressed in GraphQL or not */
|
|
3117
3167
|
inverse_relationships_enabled: boolean;
|
|
3118
|
-
}
|
|
3168
|
+
};
|
|
3119
3169
|
|
|
3120
3170
|
/**
|
|
3121
3171
|
* JSON API links
|
|
@@ -3123,7 +3173,7 @@ export interface ItemTypeAttributes {
|
|
|
3123
3173
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
3124
3174
|
* `definition` "relationships".
|
|
3125
3175
|
*/
|
|
3126
|
-
export
|
|
3176
|
+
export type ItemTypeRelationships = {
|
|
3127
3177
|
/** The item instance related to this item type */
|
|
3128
3178
|
singleton_item: {
|
|
3129
3179
|
data: ItemData | null;
|
|
@@ -3156,7 +3206,7 @@ export interface ItemTypeRelationships {
|
|
|
3156
3206
|
workflow: {
|
|
3157
3207
|
data: WorkflowData | null;
|
|
3158
3208
|
};
|
|
3159
|
-
}
|
|
3209
|
+
};
|
|
3160
3210
|
|
|
3161
3211
|
/**
|
|
3162
3212
|
* JSON API data
|
|
@@ -3164,10 +3214,10 @@ export interface ItemTypeRelationships {
|
|
|
3164
3214
|
* This interface was referenced by `Item`'s JSON-Schema via the `definition`
|
|
3165
3215
|
* "data".
|
|
3166
3216
|
*/
|
|
3167
|
-
export
|
|
3217
|
+
export type ItemData = {
|
|
3168
3218
|
type: ItemType1;
|
|
3169
3219
|
id: ItemIdentity;
|
|
3170
|
-
}
|
|
3220
|
+
};
|
|
3171
3221
|
|
|
3172
3222
|
/**
|
|
3173
3223
|
* JSON API data
|
|
@@ -3175,10 +3225,10 @@ export interface ItemData {
|
|
|
3175
3225
|
* This interface was referenced by `Field`'s JSON-Schema via the `definition`
|
|
3176
3226
|
* "data".
|
|
3177
3227
|
*/
|
|
3178
|
-
export
|
|
3228
|
+
export type FieldData = {
|
|
3179
3229
|
type: FieldType;
|
|
3180
3230
|
id: FieldIdentity;
|
|
3181
|
-
}
|
|
3231
|
+
};
|
|
3182
3232
|
|
|
3183
3233
|
/**
|
|
3184
3234
|
* JSON API data
|
|
@@ -3186,10 +3236,10 @@ export interface FieldData {
|
|
|
3186
3236
|
* This interface was referenced by `Fieldset`'s JSON-Schema via the
|
|
3187
3237
|
* `definition` "data".
|
|
3188
3238
|
*/
|
|
3189
|
-
export
|
|
3239
|
+
export type FieldsetData = {
|
|
3190
3240
|
type: FieldsetType;
|
|
3191
3241
|
id: FieldsetIdentity;
|
|
3192
|
-
}
|
|
3242
|
+
};
|
|
3193
3243
|
|
|
3194
3244
|
/**
|
|
3195
3245
|
* JSON API data
|
|
@@ -3197,10 +3247,10 @@ export interface FieldsetData {
|
|
|
3197
3247
|
* This interface was referenced by `Workflow`'s JSON-Schema via the
|
|
3198
3248
|
* `definition` "data".
|
|
3199
3249
|
*/
|
|
3200
|
-
export
|
|
3250
|
+
export type WorkflowData = {
|
|
3201
3251
|
type: WorkflowType;
|
|
3202
3252
|
id: WorkflowIdentity;
|
|
3203
|
-
}
|
|
3253
|
+
};
|
|
3204
3254
|
|
|
3205
3255
|
/**
|
|
3206
3256
|
* Meta information regarding the item type
|
|
@@ -3208,19 +3258,19 @@ export interface WorkflowData {
|
|
|
3208
3258
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
3209
3259
|
* `definition` "meta".
|
|
3210
3260
|
*/
|
|
3211
|
-
export
|
|
3261
|
+
export type ItemTypeMeta = {
|
|
3212
3262
|
/**
|
|
3213
3263
|
* If this model is single-instance, this tells the single-instance record has
|
|
3214
3264
|
* already been created or not
|
|
3215
3265
|
*/
|
|
3216
3266
|
has_singleton_item: boolean;
|
|
3217
|
-
}
|
|
3267
|
+
};
|
|
3218
3268
|
|
|
3219
3269
|
/**
|
|
3220
3270
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
3221
3271
|
* `create.schema` link.
|
|
3222
3272
|
*/
|
|
3223
|
-
export
|
|
3273
|
+
export type ItemTypeCreateSchema = {
|
|
3224
3274
|
data: {
|
|
3225
3275
|
type: ItemTypeType;
|
|
3226
3276
|
/** JSON API attributes */
|
|
@@ -3291,22 +3341,22 @@ export interface ItemTypeCreateSchema {
|
|
|
3291
3341
|
};
|
|
3292
3342
|
};
|
|
3293
3343
|
};
|
|
3294
|
-
}
|
|
3344
|
+
};
|
|
3295
3345
|
|
|
3296
3346
|
/**
|
|
3297
3347
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
3298
3348
|
* `create.targetSchema` link.
|
|
3299
3349
|
*/
|
|
3300
|
-
export
|
|
3350
|
+
export type ItemTypeCreateTargetSchema = {
|
|
3301
3351
|
data: ItemType;
|
|
3302
3352
|
included?: MenuItem[];
|
|
3303
|
-
}
|
|
3353
|
+
};
|
|
3304
3354
|
|
|
3305
3355
|
/**
|
|
3306
3356
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
3307
3357
|
* `update.schema` link.
|
|
3308
3358
|
*/
|
|
3309
|
-
export
|
|
3359
|
+
export type ItemTypeUpdateSchema = {
|
|
3310
3360
|
data: {
|
|
3311
3361
|
type: ItemTypeType;
|
|
3312
3362
|
id: ItemTypeIdentity;
|
|
@@ -3390,24 +3440,24 @@ export interface ItemTypeUpdateSchema {
|
|
|
3390
3440
|
has_singleton_item?: boolean;
|
|
3391
3441
|
};
|
|
3392
3442
|
};
|
|
3393
|
-
}
|
|
3443
|
+
};
|
|
3394
3444
|
|
|
3395
3445
|
/**
|
|
3396
3446
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
3397
3447
|
* `update.targetSchema` link.
|
|
3398
3448
|
*/
|
|
3399
|
-
export
|
|
3449
|
+
export type ItemTypeUpdateTargetSchema = {
|
|
3400
3450
|
data: Job;
|
|
3401
|
-
}
|
|
3451
|
+
};
|
|
3402
3452
|
|
|
3403
3453
|
/**
|
|
3404
3454
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
3405
3455
|
* "job".
|
|
3406
3456
|
*/
|
|
3407
|
-
export
|
|
3457
|
+
export type Job = {
|
|
3408
3458
|
type: JobType;
|
|
3409
3459
|
id: JobIdentity;
|
|
3410
|
-
}
|
|
3460
|
+
};
|
|
3411
3461
|
|
|
3412
3462
|
/**
|
|
3413
3463
|
* JSON API data
|
|
@@ -3415,58 +3465,58 @@ export interface Job {
|
|
|
3415
3465
|
* This interface was referenced by `Job`'s JSON-Schema via the `definition`
|
|
3416
3466
|
* "data".
|
|
3417
3467
|
*/
|
|
3418
|
-
export
|
|
3468
|
+
export type JobData = {
|
|
3419
3469
|
type: JobType;
|
|
3420
3470
|
id: JobIdentity;
|
|
3421
|
-
}
|
|
3471
|
+
};
|
|
3422
3472
|
|
|
3423
3473
|
/**
|
|
3424
3474
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
3425
3475
|
* `update.jobSchema` link.
|
|
3426
3476
|
*/
|
|
3427
|
-
export
|
|
3477
|
+
export type ItemTypeUpdateJobSchema = {
|
|
3428
3478
|
data: ItemType;
|
|
3429
|
-
}
|
|
3479
|
+
};
|
|
3430
3480
|
|
|
3431
3481
|
/**
|
|
3432
3482
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
3433
3483
|
* `instances.targetSchema` link.
|
|
3434
3484
|
*/
|
|
3435
|
-
export
|
|
3485
|
+
export type ItemTypeInstancesTargetSchema = {
|
|
3436
3486
|
data: ItemType[];
|
|
3437
|
-
}
|
|
3487
|
+
};
|
|
3438
3488
|
|
|
3439
3489
|
/**
|
|
3440
3490
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
3441
3491
|
* `self.targetSchema` link.
|
|
3442
3492
|
*/
|
|
3443
|
-
export
|
|
3493
|
+
export type ItemTypeSelfTargetSchema = {
|
|
3444
3494
|
data: ItemType;
|
|
3445
|
-
}
|
|
3495
|
+
};
|
|
3446
3496
|
|
|
3447
3497
|
/**
|
|
3448
3498
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
3449
3499
|
* `duplicate.targetSchema` link.
|
|
3450
3500
|
*/
|
|
3451
|
-
export
|
|
3501
|
+
export type ItemTypeDuplicateTargetSchema = {
|
|
3452
3502
|
data: ItemType;
|
|
3453
|
-
}
|
|
3503
|
+
};
|
|
3454
3504
|
|
|
3455
3505
|
/**
|
|
3456
3506
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
3457
3507
|
* `destroy.targetSchema` link.
|
|
3458
3508
|
*/
|
|
3459
|
-
export
|
|
3509
|
+
export type ItemTypeDestroyTargetSchema = {
|
|
3460
3510
|
data: Job;
|
|
3461
|
-
}
|
|
3511
|
+
};
|
|
3462
3512
|
|
|
3463
3513
|
/**
|
|
3464
3514
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
3465
3515
|
* `destroy.jobSchema` link.
|
|
3466
3516
|
*/
|
|
3467
|
-
export
|
|
3517
|
+
export type ItemTypeDestroyJobSchema = {
|
|
3468
3518
|
data: ItemType;
|
|
3469
|
-
}
|
|
3519
|
+
};
|
|
3470
3520
|
|
|
3471
3521
|
/**
|
|
3472
3522
|
* DatoCMS offers a number of different fields that you can combine togheter to
|
|
@@ -4131,12 +4181,12 @@ export interface ItemTypeDestroyJobSchema {
|
|
|
4131
4181
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
4132
4182
|
* "field".
|
|
4133
4183
|
*/
|
|
4134
|
-
export
|
|
4184
|
+
export type Field = {
|
|
4135
4185
|
type: FieldType;
|
|
4136
4186
|
id: FieldIdentity;
|
|
4137
4187
|
attributes: FieldAttributes;
|
|
4138
4188
|
relationships: FieldRelationships;
|
|
4139
|
-
}
|
|
4189
|
+
};
|
|
4140
4190
|
|
|
4141
4191
|
/**
|
|
4142
4192
|
* JSON API attributes
|
|
@@ -4144,7 +4194,7 @@ export interface Field {
|
|
|
4144
4194
|
* This interface was referenced by `Field`'s JSON-Schema via the `definition`
|
|
4145
4195
|
* "attributes".
|
|
4146
4196
|
*/
|
|
4147
|
-
export
|
|
4197
|
+
export type FieldAttributes = {
|
|
4148
4198
|
/** The label of the field */
|
|
4149
4199
|
label: string;
|
|
4150
4200
|
/** Type of input */
|
|
@@ -4232,7 +4282,7 @@ export interface FieldAttributes {
|
|
|
4232
4282
|
};
|
|
4233
4283
|
/** Ordering index */
|
|
4234
4284
|
position: number;
|
|
4235
|
-
}
|
|
4285
|
+
};
|
|
4236
4286
|
|
|
4237
4287
|
/**
|
|
4238
4288
|
* JSON API links
|
|
@@ -4240,7 +4290,7 @@ export interface FieldAttributes {
|
|
|
4240
4290
|
* This interface was referenced by `Field`'s JSON-Schema via the `definition`
|
|
4241
4291
|
* "relationships".
|
|
4242
4292
|
*/
|
|
4243
|
-
export
|
|
4293
|
+
export type FieldRelationships = {
|
|
4244
4294
|
/** Field item type */
|
|
4245
4295
|
item_type: {
|
|
4246
4296
|
data: ItemTypeData;
|
|
@@ -4249,13 +4299,13 @@ export interface FieldRelationships {
|
|
|
4249
4299
|
fieldset: {
|
|
4250
4300
|
data: null | FieldsetData;
|
|
4251
4301
|
};
|
|
4252
|
-
}
|
|
4302
|
+
};
|
|
4253
4303
|
|
|
4254
4304
|
/**
|
|
4255
4305
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4256
4306
|
* `create.schema` link.
|
|
4257
4307
|
*/
|
|
4258
|
-
export
|
|
4308
|
+
export type FieldCreateSchema = {
|
|
4259
4309
|
data: {
|
|
4260
4310
|
type: FieldType;
|
|
4261
4311
|
/** JSON API attributes */
|
|
@@ -4356,30 +4406,30 @@ export interface FieldCreateSchema {
|
|
|
4356
4406
|
};
|
|
4357
4407
|
};
|
|
4358
4408
|
};
|
|
4359
|
-
}
|
|
4409
|
+
};
|
|
4360
4410
|
|
|
4361
4411
|
/**
|
|
4362
4412
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4363
4413
|
* `create.targetSchema` link.
|
|
4364
4414
|
*/
|
|
4365
|
-
export
|
|
4415
|
+
export type FieldCreateTargetSchema = {
|
|
4366
4416
|
data: Job;
|
|
4367
|
-
}
|
|
4417
|
+
};
|
|
4368
4418
|
|
|
4369
4419
|
/**
|
|
4370
4420
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4371
4421
|
* `create.jobSchema` link.
|
|
4372
4422
|
*/
|
|
4373
|
-
export
|
|
4423
|
+
export type FieldCreateJobSchema = {
|
|
4374
4424
|
data: Field;
|
|
4375
4425
|
included?: ItemType[];
|
|
4376
|
-
}
|
|
4426
|
+
};
|
|
4377
4427
|
|
|
4378
4428
|
/**
|
|
4379
4429
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4380
4430
|
* `update.schema` link.
|
|
4381
4431
|
*/
|
|
4382
|
-
export
|
|
4432
|
+
export type FieldUpdateSchema = {
|
|
4383
4433
|
data: {
|
|
4384
4434
|
type: FieldType;
|
|
4385
4435
|
id: FieldIdentity;
|
|
@@ -4480,90 +4530,90 @@ export interface FieldUpdateSchema {
|
|
|
4480
4530
|
};
|
|
4481
4531
|
};
|
|
4482
4532
|
};
|
|
4483
|
-
}
|
|
4533
|
+
};
|
|
4484
4534
|
|
|
4485
4535
|
/**
|
|
4486
4536
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4487
4537
|
* `update.targetSchema` link.
|
|
4488
4538
|
*/
|
|
4489
|
-
export
|
|
4539
|
+
export type FieldUpdateTargetSchema = {
|
|
4490
4540
|
data: Job;
|
|
4491
|
-
}
|
|
4541
|
+
};
|
|
4492
4542
|
|
|
4493
4543
|
/**
|
|
4494
4544
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4495
4545
|
* `update.jobSchema` link.
|
|
4496
4546
|
*/
|
|
4497
|
-
export
|
|
4547
|
+
export type FieldUpdateJobSchema = {
|
|
4498
4548
|
data: Field;
|
|
4499
4549
|
included?: (ItemType | Field)[];
|
|
4500
|
-
}
|
|
4550
|
+
};
|
|
4501
4551
|
|
|
4502
4552
|
/**
|
|
4503
4553
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4504
4554
|
* `instances.targetSchema` link.
|
|
4505
4555
|
*/
|
|
4506
|
-
export
|
|
4556
|
+
export type FieldInstancesTargetSchema = {
|
|
4507
4557
|
data: Field[];
|
|
4508
|
-
}
|
|
4558
|
+
};
|
|
4509
4559
|
|
|
4510
4560
|
/**
|
|
4511
4561
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4512
4562
|
* `referencing.targetSchema` link.
|
|
4513
4563
|
*/
|
|
4514
|
-
export
|
|
4564
|
+
export type FieldReferencingTargetSchema = {
|
|
4515
4565
|
data: Field[];
|
|
4516
|
-
}
|
|
4566
|
+
};
|
|
4517
4567
|
|
|
4518
4568
|
/**
|
|
4519
4569
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4520
4570
|
* `related.targetSchema` link.
|
|
4521
4571
|
*/
|
|
4522
|
-
export
|
|
4572
|
+
export type FieldRelatedTargetSchema = {
|
|
4523
4573
|
data: Field[];
|
|
4524
|
-
}
|
|
4574
|
+
};
|
|
4525
4575
|
|
|
4526
4576
|
/**
|
|
4527
4577
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4528
4578
|
* `self.targetSchema` link.
|
|
4529
4579
|
*/
|
|
4530
|
-
export
|
|
4580
|
+
export type FieldSelfTargetSchema = {
|
|
4531
4581
|
data: Field;
|
|
4532
|
-
}
|
|
4582
|
+
};
|
|
4533
4583
|
|
|
4534
4584
|
/**
|
|
4535
4585
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4536
4586
|
* `destroy.targetSchema` link.
|
|
4537
4587
|
*/
|
|
4538
|
-
export
|
|
4588
|
+
export type FieldDestroyTargetSchema = {
|
|
4539
4589
|
data: Job;
|
|
4540
|
-
}
|
|
4590
|
+
};
|
|
4541
4591
|
|
|
4542
4592
|
/**
|
|
4543
4593
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4544
4594
|
* `destroy.jobSchema` link.
|
|
4545
4595
|
*/
|
|
4546
|
-
export
|
|
4596
|
+
export type FieldDestroyJobSchema = {
|
|
4547
4597
|
data: Field;
|
|
4548
4598
|
included?: ItemType[];
|
|
4549
|
-
}
|
|
4599
|
+
};
|
|
4550
4600
|
|
|
4551
4601
|
/**
|
|
4552
4602
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4553
4603
|
* `duplicate.targetSchema` link.
|
|
4554
4604
|
*/
|
|
4555
|
-
export
|
|
4605
|
+
export type FieldDuplicateTargetSchema = {
|
|
4556
4606
|
data: Job;
|
|
4557
|
-
}
|
|
4607
|
+
};
|
|
4558
4608
|
|
|
4559
4609
|
/**
|
|
4560
4610
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4561
4611
|
* `duplicate.jobSchema` link.
|
|
4562
4612
|
*/
|
|
4563
|
-
export
|
|
4613
|
+
export type FieldDuplicateJobSchema = {
|
|
4564
4614
|
data: Field;
|
|
4565
4615
|
included: ItemType[];
|
|
4566
|
-
}
|
|
4616
|
+
};
|
|
4567
4617
|
|
|
4568
4618
|
/**
|
|
4569
4619
|
* Fields can be organized and grouped into fieldset to better present them to
|
|
@@ -4572,12 +4622,12 @@ export interface FieldDuplicateJobSchema {
|
|
|
4572
4622
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
4573
4623
|
* "fieldset".
|
|
4574
4624
|
*/
|
|
4575
|
-
export
|
|
4625
|
+
export type Fieldset = {
|
|
4576
4626
|
type: FieldsetType;
|
|
4577
4627
|
id: FieldsetIdentity;
|
|
4578
4628
|
attributes: FieldsetAttributes;
|
|
4579
4629
|
relationships: FieldsetRelationships;
|
|
4580
|
-
}
|
|
4630
|
+
};
|
|
4581
4631
|
|
|
4582
4632
|
/**
|
|
4583
4633
|
* JSON API attributes
|
|
@@ -4585,7 +4635,7 @@ export interface Fieldset {
|
|
|
4585
4635
|
* This interface was referenced by `Fieldset`'s JSON-Schema via the
|
|
4586
4636
|
* `definition` "attributes".
|
|
4587
4637
|
*/
|
|
4588
|
-
export
|
|
4638
|
+
export type FieldsetAttributes = {
|
|
4589
4639
|
/** The title of the fieldset */
|
|
4590
4640
|
title: string;
|
|
4591
4641
|
/** Description/contextual hint for the fieldset */
|
|
@@ -4599,7 +4649,7 @@ export interface FieldsetAttributes {
|
|
|
4599
4649
|
start_collapsed: boolean;
|
|
4600
4650
|
/** Ordering index */
|
|
4601
4651
|
position: number;
|
|
4602
|
-
}
|
|
4652
|
+
};
|
|
4603
4653
|
|
|
4604
4654
|
/**
|
|
4605
4655
|
* JSON API links
|
|
@@ -4607,18 +4657,18 @@ export interface FieldsetAttributes {
|
|
|
4607
4657
|
* This interface was referenced by `Fieldset`'s JSON-Schema via the
|
|
4608
4658
|
* `definition` "relationships".
|
|
4609
4659
|
*/
|
|
4610
|
-
export
|
|
4660
|
+
export type FieldsetRelationships = {
|
|
4611
4661
|
/** Fieldset item type */
|
|
4612
4662
|
item_type: {
|
|
4613
4663
|
data: ItemTypeData;
|
|
4614
4664
|
};
|
|
4615
|
-
}
|
|
4665
|
+
};
|
|
4616
4666
|
|
|
4617
4667
|
/**
|
|
4618
4668
|
* This interface was referenced by `Fieldset`'s JSON-Schema via the
|
|
4619
4669
|
* `create.schema` link.
|
|
4620
4670
|
*/
|
|
4621
|
-
export
|
|
4671
|
+
export type FieldsetCreateSchema = {
|
|
4622
4672
|
data: {
|
|
4623
4673
|
type: FieldsetType;
|
|
4624
4674
|
/** JSON API attributes */
|
|
@@ -4638,22 +4688,22 @@ export interface FieldsetCreateSchema {
|
|
|
4638
4688
|
start_collapsed?: boolean;
|
|
4639
4689
|
};
|
|
4640
4690
|
};
|
|
4641
|
-
}
|
|
4691
|
+
};
|
|
4642
4692
|
|
|
4643
4693
|
/**
|
|
4644
4694
|
* This interface was referenced by `Fieldset`'s JSON-Schema via the
|
|
4645
4695
|
* `create.targetSchema` link.
|
|
4646
4696
|
*/
|
|
4647
|
-
export
|
|
4697
|
+
export type FieldsetCreateTargetSchema = {
|
|
4648
4698
|
data: Fieldset;
|
|
4649
4699
|
included?: ItemType[];
|
|
4650
|
-
}
|
|
4700
|
+
};
|
|
4651
4701
|
|
|
4652
4702
|
/**
|
|
4653
4703
|
* This interface was referenced by `Fieldset`'s JSON-Schema via the
|
|
4654
4704
|
* `update.schema` link.
|
|
4655
4705
|
*/
|
|
4656
|
-
export
|
|
4706
|
+
export type FieldsetUpdateSchema = {
|
|
4657
4707
|
data: {
|
|
4658
4708
|
type: FieldsetType;
|
|
4659
4709
|
id: FieldsetIdentity;
|
|
@@ -4673,39 +4723,39 @@ export interface FieldsetUpdateSchema {
|
|
|
4673
4723
|
start_collapsed?: boolean;
|
|
4674
4724
|
};
|
|
4675
4725
|
};
|
|
4676
|
-
}
|
|
4726
|
+
};
|
|
4677
4727
|
|
|
4678
4728
|
/**
|
|
4679
4729
|
* This interface was referenced by `Fieldset`'s JSON-Schema via the
|
|
4680
4730
|
* `update.targetSchema` link.
|
|
4681
4731
|
*/
|
|
4682
|
-
export
|
|
4732
|
+
export type FieldsetUpdateTargetSchema = {
|
|
4683
4733
|
data: Fieldset;
|
|
4684
|
-
}
|
|
4734
|
+
};
|
|
4685
4735
|
|
|
4686
4736
|
/**
|
|
4687
4737
|
* This interface was referenced by `Fieldset`'s JSON-Schema via the
|
|
4688
4738
|
* `instances.targetSchema` link.
|
|
4689
4739
|
*/
|
|
4690
|
-
export
|
|
4740
|
+
export type FieldsetInstancesTargetSchema = {
|
|
4691
4741
|
data: Fieldset[];
|
|
4692
|
-
}
|
|
4742
|
+
};
|
|
4693
4743
|
|
|
4694
4744
|
/**
|
|
4695
4745
|
* This interface was referenced by `Fieldset`'s JSON-Schema via the
|
|
4696
4746
|
* `self.targetSchema` link.
|
|
4697
4747
|
*/
|
|
4698
|
-
export
|
|
4748
|
+
export type FieldsetSelfTargetSchema = {
|
|
4699
4749
|
data: Fieldset;
|
|
4700
|
-
}
|
|
4750
|
+
};
|
|
4701
4751
|
|
|
4702
4752
|
/**
|
|
4703
4753
|
* This interface was referenced by `Fieldset`'s JSON-Schema via the
|
|
4704
4754
|
* `destroy.targetSchema` link.
|
|
4705
4755
|
*/
|
|
4706
|
-
export
|
|
4756
|
+
export type FieldsetDestroyTargetSchema = {
|
|
4707
4757
|
data: Fieldset;
|
|
4708
|
-
}
|
|
4758
|
+
};
|
|
4709
4759
|
|
|
4710
4760
|
/**
|
|
4711
4761
|
* A session is required to access to read-and-write API endpoints
|
|
@@ -4713,11 +4763,11 @@ export interface FieldsetDestroyTargetSchema {
|
|
|
4713
4763
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
4714
4764
|
* "session".
|
|
4715
4765
|
*/
|
|
4716
|
-
export
|
|
4766
|
+
export type Session = {
|
|
4717
4767
|
type: SessionType;
|
|
4718
4768
|
id: SessionIdentity;
|
|
4719
4769
|
relationships: SessionRelationships;
|
|
4720
|
-
}
|
|
4770
|
+
};
|
|
4721
4771
|
|
|
4722
4772
|
/**
|
|
4723
4773
|
* JSON API links
|
|
@@ -4725,12 +4775,12 @@ export interface Session {
|
|
|
4725
4775
|
* This interface was referenced by `Session`'s JSON-Schema via the `definition`
|
|
4726
4776
|
* "relationships".
|
|
4727
4777
|
*/
|
|
4728
|
-
export
|
|
4778
|
+
export type SessionRelationships = {
|
|
4729
4779
|
/** The user associated with the session */
|
|
4730
4780
|
user: {
|
|
4731
4781
|
data: UserData;
|
|
4732
4782
|
};
|
|
4733
|
-
}
|
|
4783
|
+
};
|
|
4734
4784
|
|
|
4735
4785
|
/**
|
|
4736
4786
|
* JSON API data
|
|
@@ -4738,16 +4788,16 @@ export interface SessionRelationships {
|
|
|
4738
4788
|
* This interface was referenced by `Session`'s JSON-Schema via the `definition`
|
|
4739
4789
|
* "data".
|
|
4740
4790
|
*/
|
|
4741
|
-
export
|
|
4791
|
+
export type SessionData = {
|
|
4742
4792
|
type: SessionType;
|
|
4743
4793
|
id: SessionIdentity;
|
|
4744
|
-
}
|
|
4794
|
+
};
|
|
4745
4795
|
|
|
4746
4796
|
/**
|
|
4747
4797
|
* This interface was referenced by `Session`'s JSON-Schema via the
|
|
4748
4798
|
* `create.schema` link.
|
|
4749
4799
|
*/
|
|
4750
|
-
export
|
|
4800
|
+
export type SessionCreateSchema = {
|
|
4751
4801
|
data: {
|
|
4752
4802
|
/** JSON API type field */
|
|
4753
4803
|
type: 'email_credentials';
|
|
@@ -4761,16 +4811,16 @@ export interface SessionCreateSchema {
|
|
|
4761
4811
|
otp_code?: string;
|
|
4762
4812
|
};
|
|
4763
4813
|
};
|
|
4764
|
-
}
|
|
4814
|
+
};
|
|
4765
4815
|
|
|
4766
4816
|
/**
|
|
4767
4817
|
* This interface was referenced by `Session`'s JSON-Schema via the
|
|
4768
4818
|
* `create.targetSchema` link.
|
|
4769
4819
|
*/
|
|
4770
|
-
export
|
|
4820
|
+
export type SessionCreateTargetSchema = {
|
|
4771
4821
|
data: Session;
|
|
4772
4822
|
included: User[];
|
|
4773
|
-
}
|
|
4823
|
+
};
|
|
4774
4824
|
|
|
4775
4825
|
/**
|
|
4776
4826
|
* Plugins enable developers to replace DatoCMS field components with HTML5
|
|
@@ -4780,12 +4830,12 @@ export interface SessionCreateTargetSchema {
|
|
|
4780
4830
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
4781
4831
|
* "plugin".
|
|
4782
4832
|
*/
|
|
4783
|
-
export
|
|
4833
|
+
export type Plugin = {
|
|
4784
4834
|
type: PluginType;
|
|
4785
4835
|
id: PluginIdentity;
|
|
4786
4836
|
attributes: PluginAttributes;
|
|
4787
4837
|
meta: PluginMeta;
|
|
4788
|
-
}
|
|
4838
|
+
};
|
|
4789
4839
|
|
|
4790
4840
|
/**
|
|
4791
4841
|
* JSON API attributes
|
|
@@ -4793,7 +4843,7 @@ export interface Plugin {
|
|
|
4793
4843
|
* This interface was referenced by `Plugin`'s JSON-Schema via the `definition`
|
|
4794
4844
|
* "attributes".
|
|
4795
4845
|
*/
|
|
4796
|
-
export
|
|
4846
|
+
export type PluginAttributes = {
|
|
4797
4847
|
/** The name of the plugin */
|
|
4798
4848
|
name: string;
|
|
4799
4849
|
/** A description of the plugin */
|
|
@@ -4843,7 +4893,7 @@ export interface PluginAttributes {
|
|
|
4843
4893
|
global: unknown[];
|
|
4844
4894
|
instance: unknown[];
|
|
4845
4895
|
};
|
|
4846
|
-
}
|
|
4896
|
+
};
|
|
4847
4897
|
|
|
4848
4898
|
/**
|
|
4849
4899
|
* JSON API meta
|
|
@@ -4851,10 +4901,10 @@ export interface PluginAttributes {
|
|
|
4851
4901
|
* This interface was referenced by `Plugin`'s JSON-Schema via the `definition`
|
|
4852
4902
|
* "meta".
|
|
4853
4903
|
*/
|
|
4854
|
-
export
|
|
4904
|
+
export type PluginMeta = {
|
|
4855
4905
|
/** Version of the plugin. Legacy plugins are v1, new plugins are v2 */
|
|
4856
4906
|
version: string;
|
|
4857
|
-
}
|
|
4907
|
+
};
|
|
4858
4908
|
|
|
4859
4909
|
/**
|
|
4860
4910
|
* JSON API data
|
|
@@ -4862,16 +4912,16 @@ export interface PluginMeta {
|
|
|
4862
4912
|
* This interface was referenced by `Plugin`'s JSON-Schema via the `definition`
|
|
4863
4913
|
* "data".
|
|
4864
4914
|
*/
|
|
4865
|
-
export
|
|
4915
|
+
export type PluginData = {
|
|
4866
4916
|
type: PluginType;
|
|
4867
4917
|
id: PluginIdentity;
|
|
4868
|
-
}
|
|
4918
|
+
};
|
|
4869
4919
|
|
|
4870
4920
|
/**
|
|
4871
4921
|
* This interface was referenced by `Plugin`'s JSON-Schema via the
|
|
4872
4922
|
* `create.schema` link.
|
|
4873
4923
|
*/
|
|
4874
|
-
export
|
|
4924
|
+
export type PluginCreateSchema = {
|
|
4875
4925
|
data: {
|
|
4876
4926
|
type: PluginType;
|
|
4877
4927
|
attributes: {
|
|
@@ -4938,21 +4988,21 @@ export interface PluginCreateSchema {
|
|
|
4938
4988
|
package_version?: null | string;
|
|
4939
4989
|
};
|
|
4940
4990
|
};
|
|
4941
|
-
}
|
|
4991
|
+
};
|
|
4942
4992
|
|
|
4943
4993
|
/**
|
|
4944
4994
|
* This interface was referenced by `Plugin`'s JSON-Schema via the
|
|
4945
4995
|
* `create.targetSchema` link.
|
|
4946
4996
|
*/
|
|
4947
|
-
export
|
|
4997
|
+
export type PluginCreateTargetSchema = {
|
|
4948
4998
|
data: Plugin;
|
|
4949
|
-
}
|
|
4999
|
+
};
|
|
4950
5000
|
|
|
4951
5001
|
/**
|
|
4952
5002
|
* This interface was referenced by `Plugin`'s JSON-Schema via the
|
|
4953
5003
|
* `update.schema` link.
|
|
4954
5004
|
*/
|
|
4955
|
-
export
|
|
5005
|
+
export type PluginUpdateSchema = {
|
|
4956
5006
|
data: {
|
|
4957
5007
|
type: PluginType;
|
|
4958
5008
|
id: PluginIdentity;
|
|
@@ -4979,47 +5029,47 @@ export interface PluginUpdateSchema {
|
|
|
4979
5029
|
[k: string]: unknown;
|
|
4980
5030
|
};
|
|
4981
5031
|
};
|
|
4982
|
-
}
|
|
5032
|
+
};
|
|
4983
5033
|
|
|
4984
5034
|
/**
|
|
4985
5035
|
* This interface was referenced by `Plugin`'s JSON-Schema via the
|
|
4986
5036
|
* `update.targetSchema` link.
|
|
4987
5037
|
*/
|
|
4988
|
-
export
|
|
5038
|
+
export type PluginUpdateTargetSchema = {
|
|
4989
5039
|
data: Plugin;
|
|
4990
|
-
}
|
|
5040
|
+
};
|
|
4991
5041
|
|
|
4992
5042
|
/**
|
|
4993
5043
|
* This interface was referenced by `Plugin`'s JSON-Schema via the
|
|
4994
5044
|
* `instances.targetSchema` link.
|
|
4995
5045
|
*/
|
|
4996
|
-
export
|
|
5046
|
+
export type PluginInstancesTargetSchema = {
|
|
4997
5047
|
data: Plugin[];
|
|
4998
|
-
}
|
|
5048
|
+
};
|
|
4999
5049
|
|
|
5000
5050
|
/**
|
|
5001
5051
|
* This interface was referenced by `Plugin`'s JSON-Schema via the
|
|
5002
5052
|
* `self.targetSchema` link.
|
|
5003
5053
|
*/
|
|
5004
|
-
export
|
|
5054
|
+
export type PluginSelfTargetSchema = {
|
|
5005
5055
|
data: Plugin;
|
|
5006
|
-
}
|
|
5056
|
+
};
|
|
5007
5057
|
|
|
5008
5058
|
/**
|
|
5009
5059
|
* This interface was referenced by `Plugin`'s JSON-Schema via the
|
|
5010
5060
|
* `destroy.targetSchema` link.
|
|
5011
5061
|
*/
|
|
5012
|
-
export
|
|
5062
|
+
export type PluginDestroyTargetSchema = {
|
|
5013
5063
|
data: Plugin;
|
|
5014
|
-
}
|
|
5064
|
+
};
|
|
5015
5065
|
|
|
5016
5066
|
/**
|
|
5017
5067
|
* This interface was referenced by `Plugin`'s JSON-Schema via the
|
|
5018
5068
|
* `fields.targetSchema` link.
|
|
5019
5069
|
*/
|
|
5020
|
-
export
|
|
5070
|
+
export type PluginFieldsTargetSchema = {
|
|
5021
5071
|
data: Field[];
|
|
5022
|
-
}
|
|
5072
|
+
};
|
|
5023
5073
|
|
|
5024
5074
|
/**
|
|
5025
5075
|
* Some API endpoint give results asynchronously, returning the ID of a job.
|
|
@@ -5027,11 +5077,11 @@ export interface PluginFieldsTargetSchema {
|
|
|
5027
5077
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
5028
5078
|
* "job_result".
|
|
5029
5079
|
*/
|
|
5030
|
-
export
|
|
5080
|
+
export type JobResult = {
|
|
5031
5081
|
type: JobResultType;
|
|
5032
5082
|
id: JobResultIdentity;
|
|
5033
5083
|
attributes: JobResultAttributes;
|
|
5034
|
-
}
|
|
5084
|
+
};
|
|
5035
5085
|
|
|
5036
5086
|
/**
|
|
5037
5087
|
* JSON API attributes
|
|
@@ -5039,14 +5089,14 @@ export interface JobResult {
|
|
|
5039
5089
|
* This interface was referenced by `JobResult`'s JSON-Schema via the
|
|
5040
5090
|
* `definition` "attributes".
|
|
5041
5091
|
*/
|
|
5042
|
-
export
|
|
5092
|
+
export type JobResultAttributes = {
|
|
5043
5093
|
/** Status of delayed HTTP response */
|
|
5044
5094
|
status: number;
|
|
5045
5095
|
/** JSON API response of the HTTP request */
|
|
5046
5096
|
payload: null | {
|
|
5047
5097
|
[k: string]: unknown;
|
|
5048
5098
|
};
|
|
5049
|
-
}
|
|
5099
|
+
};
|
|
5050
5100
|
|
|
5051
5101
|
/**
|
|
5052
5102
|
* JSON API data
|
|
@@ -5054,28 +5104,28 @@ export interface JobResultAttributes {
|
|
|
5054
5104
|
* This interface was referenced by `JobResult`'s JSON-Schema via the
|
|
5055
5105
|
* `definition` "data".
|
|
5056
5106
|
*/
|
|
5057
|
-
export
|
|
5107
|
+
export type JobResultData = {
|
|
5058
5108
|
type: JobResultType;
|
|
5059
5109
|
id: JobResultIdentity;
|
|
5060
|
-
}
|
|
5110
|
+
};
|
|
5061
5111
|
|
|
5062
5112
|
/**
|
|
5063
5113
|
* This interface was referenced by `JobResult`'s JSON-Schema via the
|
|
5064
5114
|
* `self.targetSchema` link.
|
|
5065
5115
|
*/
|
|
5066
|
-
export
|
|
5116
|
+
export type JobResultSelfTargetSchema = {
|
|
5067
5117
|
data: JobResult;
|
|
5068
|
-
}
|
|
5118
|
+
};
|
|
5069
5119
|
|
|
5070
5120
|
/**
|
|
5071
5121
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
5072
5122
|
* "subscription_limit".
|
|
5073
5123
|
*/
|
|
5074
|
-
export
|
|
5124
|
+
export type SubscriptionLimit = {
|
|
5075
5125
|
type: SubscriptionLimitType;
|
|
5076
5126
|
id: SubscriptionLimitIdentity;
|
|
5077
5127
|
attributes: SubscriptionLimitAttributes;
|
|
5078
|
-
}
|
|
5128
|
+
};
|
|
5079
5129
|
|
|
5080
5130
|
/**
|
|
5081
5131
|
* JSON API attributes
|
|
@@ -5083,14 +5133,14 @@ export interface SubscriptionLimit {
|
|
|
5083
5133
|
* This interface was referenced by `SubscriptionLimit`'s JSON-Schema via the
|
|
5084
5134
|
* `definition` "attributes".
|
|
5085
5135
|
*/
|
|
5086
|
-
export
|
|
5136
|
+
export type SubscriptionLimitAttributes = {
|
|
5087
5137
|
/** The codename for the limit */
|
|
5088
5138
|
code: string;
|
|
5089
5139
|
/** Current usage */
|
|
5090
5140
|
usage: number;
|
|
5091
5141
|
/** The actual limit */
|
|
5092
5142
|
limit: number | null;
|
|
5093
|
-
}
|
|
5143
|
+
};
|
|
5094
5144
|
|
|
5095
5145
|
/**
|
|
5096
5146
|
* JSON API data
|
|
@@ -5098,36 +5148,36 @@ export interface SubscriptionLimitAttributes {
|
|
|
5098
5148
|
* This interface was referenced by `SubscriptionLimit`'s JSON-Schema via the
|
|
5099
5149
|
* `definition` "data".
|
|
5100
5150
|
*/
|
|
5101
|
-
export
|
|
5151
|
+
export type SubscriptionLimitData = {
|
|
5102
5152
|
type: SubscriptionLimitType;
|
|
5103
5153
|
id: SubscriptionLimitIdentity;
|
|
5104
|
-
}
|
|
5154
|
+
};
|
|
5105
5155
|
|
|
5106
5156
|
/**
|
|
5107
5157
|
* This interface was referenced by `SubscriptionLimit`'s JSON-Schema via the
|
|
5108
5158
|
* `instances.targetSchema` link.
|
|
5109
5159
|
*/
|
|
5110
|
-
export
|
|
5160
|
+
export type SubscriptionLimitInstancesTargetSchema = {
|
|
5111
5161
|
data: SubscriptionLimit[];
|
|
5112
|
-
}
|
|
5162
|
+
};
|
|
5113
5163
|
|
|
5114
5164
|
/**
|
|
5115
5165
|
* This interface was referenced by `SubscriptionLimit`'s JSON-Schema via the
|
|
5116
5166
|
* `self.targetSchema` link.
|
|
5117
5167
|
*/
|
|
5118
|
-
export
|
|
5168
|
+
export type SubscriptionLimitSelfTargetSchema = {
|
|
5119
5169
|
data: SubscriptionLimit;
|
|
5120
|
-
}
|
|
5170
|
+
};
|
|
5121
5171
|
|
|
5122
5172
|
/**
|
|
5123
5173
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
5124
5174
|
* "subscription_feature".
|
|
5125
5175
|
*/
|
|
5126
|
-
export
|
|
5176
|
+
export type SubscriptionFeature = {
|
|
5127
5177
|
type: SubscriptionFeatureType;
|
|
5128
5178
|
id: SubscriptionFeatureIdentity;
|
|
5129
5179
|
attributes: SubscriptionFeatureAttributes;
|
|
5130
|
-
}
|
|
5180
|
+
};
|
|
5131
5181
|
|
|
5132
5182
|
/**
|
|
5133
5183
|
* JSON API attributes
|
|
@@ -5135,14 +5185,14 @@ export interface SubscriptionFeature {
|
|
|
5135
5185
|
* This interface was referenced by `SubscriptionFeature`'s JSON-Schema via the
|
|
5136
5186
|
* `definition` "attributes".
|
|
5137
5187
|
*/
|
|
5138
|
-
export
|
|
5188
|
+
export type SubscriptionFeatureAttributes = {
|
|
5139
5189
|
/** The codename for the feature */
|
|
5140
5190
|
code: string;
|
|
5141
5191
|
/** Whether the project is currently using the feature */
|
|
5142
5192
|
in_use?: boolean;
|
|
5143
5193
|
/** Whether the feature is available on the current project */
|
|
5144
5194
|
enabled: boolean;
|
|
5145
|
-
}
|
|
5195
|
+
};
|
|
5146
5196
|
|
|
5147
5197
|
/**
|
|
5148
5198
|
* JSON API data
|
|
@@ -5150,18 +5200,18 @@ export interface SubscriptionFeatureAttributes {
|
|
|
5150
5200
|
* This interface was referenced by `SubscriptionFeature`'s JSON-Schema via the
|
|
5151
5201
|
* `definition` "data".
|
|
5152
5202
|
*/
|
|
5153
|
-
export
|
|
5203
|
+
export type SubscriptionFeatureData = {
|
|
5154
5204
|
type: SubscriptionFeatureType;
|
|
5155
5205
|
id: SubscriptionFeatureIdentity;
|
|
5156
|
-
}
|
|
5206
|
+
};
|
|
5157
5207
|
|
|
5158
5208
|
/**
|
|
5159
5209
|
* This interface was referenced by `SubscriptionFeature`'s JSON-Schema via the
|
|
5160
5210
|
* `instances.targetSchema` link.
|
|
5161
5211
|
*/
|
|
5162
|
-
export
|
|
5212
|
+
export type SubscriptionFeatureInstancesTargetSchema = {
|
|
5163
5213
|
data: SubscriptionFeature[];
|
|
5164
|
-
}
|
|
5214
|
+
};
|
|
5165
5215
|
|
|
5166
5216
|
/**
|
|
5167
5217
|
* Represents an event occurred during the deploy process of your administrative
|
|
@@ -5170,12 +5220,12 @@ export interface SubscriptionFeatureInstancesTargetSchema {
|
|
|
5170
5220
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
5171
5221
|
* "build_event".
|
|
5172
5222
|
*/
|
|
5173
|
-
export
|
|
5223
|
+
export type BuildEvent = {
|
|
5174
5224
|
type: BuildEventType;
|
|
5175
5225
|
id: BuildEventIdentity;
|
|
5176
5226
|
attributes: BuildEventAttributes;
|
|
5177
5227
|
relationships: BuildEventRelationships;
|
|
5178
|
-
}
|
|
5228
|
+
};
|
|
5179
5229
|
|
|
5180
5230
|
/**
|
|
5181
5231
|
* JSON API attributes
|
|
@@ -5183,7 +5233,7 @@ export interface BuildEvent {
|
|
|
5183
5233
|
* This interface was referenced by `BuildEvent`'s JSON-Schema via the
|
|
5184
5234
|
* `definition` "attributes".
|
|
5185
5235
|
*/
|
|
5186
|
-
export
|
|
5236
|
+
export type BuildEventAttributes = {
|
|
5187
5237
|
/** The type of activity */
|
|
5188
5238
|
event_type:
|
|
5189
5239
|
| 'request_success'
|
|
@@ -5201,7 +5251,7 @@ export interface BuildEventAttributes {
|
|
|
5201
5251
|
data: {
|
|
5202
5252
|
[k: string]: unknown;
|
|
5203
5253
|
};
|
|
5204
|
-
}
|
|
5254
|
+
};
|
|
5205
5255
|
|
|
5206
5256
|
/**
|
|
5207
5257
|
* JSON API links
|
|
@@ -5209,12 +5259,12 @@ export interface BuildEventAttributes {
|
|
|
5209
5259
|
* This interface was referenced by `BuildEvent`'s JSON-Schema via the
|
|
5210
5260
|
* `definition` "relationships".
|
|
5211
5261
|
*/
|
|
5212
|
-
export
|
|
5262
|
+
export type BuildEventRelationships = {
|
|
5213
5263
|
/** Source build trigger */
|
|
5214
5264
|
build_trigger: {
|
|
5215
5265
|
data: BuildTriggerData;
|
|
5216
5266
|
};
|
|
5217
|
-
}
|
|
5267
|
+
};
|
|
5218
5268
|
|
|
5219
5269
|
/**
|
|
5220
5270
|
* JSON API data
|
|
@@ -5222,10 +5272,10 @@ export interface BuildEventRelationships {
|
|
|
5222
5272
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema via the
|
|
5223
5273
|
* `definition` "data".
|
|
5224
5274
|
*/
|
|
5225
|
-
export
|
|
5275
|
+
export type BuildTriggerData = {
|
|
5226
5276
|
type: BuildTriggerType;
|
|
5227
5277
|
id: BuildTriggerIdentity;
|
|
5228
|
-
}
|
|
5278
|
+
};
|
|
5229
5279
|
|
|
5230
5280
|
/**
|
|
5231
5281
|
* JSON API data
|
|
@@ -5233,26 +5283,26 @@ export interface BuildTriggerData {
|
|
|
5233
5283
|
* This interface was referenced by `BuildEvent`'s JSON-Schema via the
|
|
5234
5284
|
* `definition` "data".
|
|
5235
5285
|
*/
|
|
5236
|
-
export
|
|
5286
|
+
export type BuildEventData = {
|
|
5237
5287
|
type: BuildEventType;
|
|
5238
5288
|
id: BuildEventIdentity;
|
|
5239
|
-
}
|
|
5289
|
+
};
|
|
5240
5290
|
|
|
5241
5291
|
/**
|
|
5242
5292
|
* This interface was referenced by `BuildEvent`'s JSON-Schema via the
|
|
5243
5293
|
* `instances.targetSchema` link.
|
|
5244
5294
|
*/
|
|
5245
|
-
export
|
|
5295
|
+
export type BuildEventInstancesTargetSchema = {
|
|
5246
5296
|
data: BuildEvent[];
|
|
5247
|
-
}
|
|
5297
|
+
};
|
|
5248
5298
|
|
|
5249
5299
|
/**
|
|
5250
5300
|
* This interface was referenced by `BuildEvent`'s JSON-Schema via the
|
|
5251
5301
|
* `self.targetSchema` link.
|
|
5252
5302
|
*/
|
|
5253
|
-
export
|
|
5303
|
+
export type BuildEventSelfTargetSchema = {
|
|
5254
5304
|
data: BuildEvent;
|
|
5255
|
-
}
|
|
5305
|
+
};
|
|
5256
5306
|
|
|
5257
5307
|
/**
|
|
5258
5308
|
* DatoCMS stores the individual pieces of content you create from a model as
|
|
@@ -5262,13 +5312,13 @@ export interface BuildEventSelfTargetSchema {
|
|
|
5262
5312
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
5263
5313
|
* "item".
|
|
5264
5314
|
*/
|
|
5265
|
-
export
|
|
5315
|
+
export type Item = {
|
|
5266
5316
|
type: ItemType1;
|
|
5267
5317
|
id: ItemIdentity;
|
|
5268
5318
|
attributes: ItemAttributes;
|
|
5269
5319
|
relationships: ItemRelationships;
|
|
5270
5320
|
meta: ItemMeta;
|
|
5271
|
-
}
|
|
5321
|
+
};
|
|
5272
5322
|
|
|
5273
5323
|
/**
|
|
5274
5324
|
* The JSON data associated to the record
|
|
@@ -5276,9 +5326,9 @@ export interface Item {
|
|
|
5276
5326
|
* This interface was referenced by `Item`'s JSON-Schema via the `definition`
|
|
5277
5327
|
* "attributes".
|
|
5278
5328
|
*/
|
|
5279
|
-
export
|
|
5329
|
+
export type ItemAttributes = {
|
|
5280
5330
|
[k: string]: unknown;
|
|
5281
|
-
}
|
|
5331
|
+
};
|
|
5282
5332
|
|
|
5283
5333
|
/**
|
|
5284
5334
|
* JSON API links
|
|
@@ -5286,7 +5336,7 @@ export interface ItemAttributes {
|
|
|
5286
5336
|
* This interface was referenced by `Item`'s JSON-Schema via the `definition`
|
|
5287
5337
|
* "relationships".
|
|
5288
5338
|
*/
|
|
5289
|
-
export
|
|
5339
|
+
export type ItemRelationships = {
|
|
5290
5340
|
/** The record's model */
|
|
5291
5341
|
item_type: {
|
|
5292
5342
|
data: ItemTypeData;
|
|
@@ -5297,9 +5347,14 @@ export interface ItemRelationships {
|
|
|
5297
5347
|
* properties.
|
|
5298
5348
|
*/
|
|
5299
5349
|
creator?: {
|
|
5300
|
-
data:
|
|
5350
|
+
data:
|
|
5351
|
+
| AccountData
|
|
5352
|
+
| AccessTokenData
|
|
5353
|
+
| UserData
|
|
5354
|
+
| SsoUserData
|
|
5355
|
+
| OrganizationData;
|
|
5301
5356
|
};
|
|
5302
|
-
}
|
|
5357
|
+
};
|
|
5303
5358
|
|
|
5304
5359
|
/**
|
|
5305
5360
|
* Meta information regarding the record
|
|
@@ -5307,7 +5362,7 @@ export interface ItemRelationships {
|
|
|
5307
5362
|
* This interface was referenced by `Item`'s JSON-Schema via the `definition`
|
|
5308
5363
|
* "meta".
|
|
5309
5364
|
*/
|
|
5310
|
-
export
|
|
5365
|
+
export type ItemMeta = {
|
|
5311
5366
|
/** Date of creation */
|
|
5312
5367
|
created_at: string;
|
|
5313
5368
|
/** Last update time */
|
|
@@ -5332,24 +5387,24 @@ export interface ItemMeta {
|
|
|
5332
5387
|
current_version: string;
|
|
5333
5388
|
/** Workflow stage in which the item is */
|
|
5334
5389
|
stage: null | string;
|
|
5335
|
-
}
|
|
5390
|
+
};
|
|
5336
5391
|
|
|
5337
5392
|
/**
|
|
5338
5393
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5339
5394
|
* `instances.targetSchema` link.
|
|
5340
5395
|
*/
|
|
5341
|
-
export
|
|
5396
|
+
export type ItemInstancesTargetSchema = {
|
|
5342
5397
|
data: Item[];
|
|
5343
5398
|
meta: {
|
|
5344
5399
|
total_count: number;
|
|
5345
5400
|
};
|
|
5346
|
-
}
|
|
5401
|
+
};
|
|
5347
5402
|
|
|
5348
5403
|
/**
|
|
5349
5404
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5350
5405
|
* `validate_existing.schema` link.
|
|
5351
5406
|
*/
|
|
5352
|
-
export
|
|
5407
|
+
export type ItemValidateExistingSchema = {
|
|
5353
5408
|
data: {
|
|
5354
5409
|
id: ItemIdentity;
|
|
5355
5410
|
type: ItemType1;
|
|
@@ -5368,17 +5423,22 @@ export interface ItemValidateExistingSchema {
|
|
|
5368
5423
|
* properties.
|
|
5369
5424
|
*/
|
|
5370
5425
|
creator?: {
|
|
5371
|
-
data:
|
|
5426
|
+
data:
|
|
5427
|
+
| AccountData
|
|
5428
|
+
| AccessTokenData
|
|
5429
|
+
| UserData
|
|
5430
|
+
| SsoUserData
|
|
5431
|
+
| OrganizationData;
|
|
5372
5432
|
};
|
|
5373
5433
|
};
|
|
5374
5434
|
};
|
|
5375
|
-
}
|
|
5435
|
+
};
|
|
5376
5436
|
|
|
5377
5437
|
/**
|
|
5378
5438
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5379
5439
|
* `validate_new.schema` link.
|
|
5380
5440
|
*/
|
|
5381
|
-
export
|
|
5441
|
+
export type ItemValidateNewSchema = {
|
|
5382
5442
|
data: {
|
|
5383
5443
|
type: ItemType1;
|
|
5384
5444
|
/** The JSON data associated to the record */
|
|
@@ -5392,13 +5452,13 @@ export interface ItemValidateNewSchema {
|
|
|
5392
5452
|
};
|
|
5393
5453
|
};
|
|
5394
5454
|
};
|
|
5395
|
-
}
|
|
5455
|
+
};
|
|
5396
5456
|
|
|
5397
5457
|
/**
|
|
5398
5458
|
* This interface was referenced by `Item`'s JSON-Schema via the `create.schema`
|
|
5399
5459
|
* link.
|
|
5400
5460
|
*/
|
|
5401
|
-
export
|
|
5461
|
+
export type ItemCreateSchema = {
|
|
5402
5462
|
data: {
|
|
5403
5463
|
type: ItemType1;
|
|
5404
5464
|
/** The JSON data associated to the record */
|
|
@@ -5435,39 +5495,39 @@ export interface ItemCreateSchema {
|
|
|
5435
5495
|
};
|
|
5436
5496
|
};
|
|
5437
5497
|
};
|
|
5438
|
-
}
|
|
5498
|
+
};
|
|
5439
5499
|
|
|
5440
5500
|
/**
|
|
5441
5501
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5442
5502
|
* `create.targetSchema` link.
|
|
5443
5503
|
*/
|
|
5444
|
-
export
|
|
5504
|
+
export type ItemCreateTargetSchema = {
|
|
5445
5505
|
data: Item;
|
|
5446
5506
|
included: (ItemType | Item)[];
|
|
5447
|
-
}
|
|
5507
|
+
};
|
|
5448
5508
|
|
|
5449
5509
|
/**
|
|
5450
5510
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5451
5511
|
* `duplicate.targetSchema` link.
|
|
5452
5512
|
*/
|
|
5453
|
-
export
|
|
5513
|
+
export type ItemDuplicateTargetSchema = {
|
|
5454
5514
|
data: Job;
|
|
5455
|
-
}
|
|
5515
|
+
};
|
|
5456
5516
|
|
|
5457
5517
|
/**
|
|
5458
5518
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5459
5519
|
* `duplicate.jobSchema` link.
|
|
5460
5520
|
*/
|
|
5461
|
-
export
|
|
5521
|
+
export type ItemDuplicateJobSchema = {
|
|
5462
5522
|
data: Item;
|
|
5463
5523
|
included: ItemType[];
|
|
5464
|
-
}
|
|
5524
|
+
};
|
|
5465
5525
|
|
|
5466
5526
|
/**
|
|
5467
5527
|
* This interface was referenced by `Item`'s JSON-Schema via the `update.schema`
|
|
5468
5528
|
* link.
|
|
5469
5529
|
*/
|
|
5470
|
-
export
|
|
5530
|
+
export type ItemUpdateSchema = {
|
|
5471
5531
|
data: {
|
|
5472
5532
|
type: ItemType1;
|
|
5473
5533
|
id: ItemIdentity;
|
|
@@ -5516,136 +5576,141 @@ export interface ItemUpdateSchema {
|
|
|
5516
5576
|
* properties.
|
|
5517
5577
|
*/
|
|
5518
5578
|
creator?: {
|
|
5519
|
-
data:
|
|
5579
|
+
data:
|
|
5580
|
+
| AccountData
|
|
5581
|
+
| AccessTokenData
|
|
5582
|
+
| UserData
|
|
5583
|
+
| SsoUserData
|
|
5584
|
+
| OrganizationData;
|
|
5520
5585
|
};
|
|
5521
5586
|
};
|
|
5522
5587
|
};
|
|
5523
|
-
}
|
|
5588
|
+
};
|
|
5524
5589
|
|
|
5525
5590
|
/**
|
|
5526
5591
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5527
5592
|
* `update.targetSchema` link.
|
|
5528
5593
|
*/
|
|
5529
|
-
export
|
|
5594
|
+
export type ItemUpdateTargetSchema = {
|
|
5530
5595
|
data: Item;
|
|
5531
5596
|
included?: (ItemType | Item)[];
|
|
5532
|
-
}
|
|
5597
|
+
};
|
|
5533
5598
|
|
|
5534
5599
|
/**
|
|
5535
5600
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5536
5601
|
* `references.targetSchema` link.
|
|
5537
5602
|
*/
|
|
5538
|
-
export
|
|
5603
|
+
export type ItemReferencesTargetSchema = {
|
|
5539
5604
|
data: Item[];
|
|
5540
|
-
}
|
|
5605
|
+
};
|
|
5541
5606
|
|
|
5542
5607
|
/**
|
|
5543
5608
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5544
5609
|
* `self.targetSchema` link.
|
|
5545
5610
|
*/
|
|
5546
|
-
export
|
|
5611
|
+
export type ItemSelfTargetSchema = {
|
|
5547
5612
|
data: Item;
|
|
5548
|
-
}
|
|
5613
|
+
};
|
|
5549
5614
|
|
|
5550
5615
|
/**
|
|
5551
5616
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5552
5617
|
* `destroy.targetSchema` link.
|
|
5553
5618
|
*/
|
|
5554
|
-
export
|
|
5619
|
+
export type ItemDestroyTargetSchema = {
|
|
5555
5620
|
data: Job;
|
|
5556
|
-
}
|
|
5621
|
+
};
|
|
5557
5622
|
|
|
5558
5623
|
/**
|
|
5559
5624
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5560
5625
|
* `destroy.jobSchema` link.
|
|
5561
5626
|
*/
|
|
5562
|
-
export
|
|
5627
|
+
export type ItemDestroyJobSchema = {
|
|
5563
5628
|
data: Item;
|
|
5564
|
-
}
|
|
5629
|
+
};
|
|
5565
5630
|
|
|
5566
5631
|
/**
|
|
5567
5632
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5568
5633
|
* `batch_destroy.targetSchema` link.
|
|
5569
5634
|
*/
|
|
5570
|
-
export
|
|
5635
|
+
export type ItemBatchDestroyTargetSchema = {
|
|
5571
5636
|
data: Job;
|
|
5572
|
-
}
|
|
5637
|
+
};
|
|
5573
5638
|
|
|
5574
5639
|
/**
|
|
5575
5640
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5576
5641
|
* `batch_destroy.jobSchema` link.
|
|
5577
5642
|
*/
|
|
5578
|
-
export
|
|
5643
|
+
export type ItemBatchDestroyJobSchema = {
|
|
5579
5644
|
data: unknown[];
|
|
5580
5645
|
meta: {
|
|
5581
5646
|
successful: number;
|
|
5582
5647
|
failed: number;
|
|
5583
5648
|
};
|
|
5584
|
-
}
|
|
5649
|
+
};
|
|
5585
5650
|
|
|
5586
5651
|
/**
|
|
5587
5652
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5588
5653
|
* `batch_publish.targetSchema` link.
|
|
5589
5654
|
*/
|
|
5590
|
-
export
|
|
5655
|
+
export type ItemBatchPublishTargetSchema = {
|
|
5591
5656
|
data: Job;
|
|
5592
|
-
}
|
|
5657
|
+
};
|
|
5593
5658
|
|
|
5594
5659
|
/**
|
|
5595
5660
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5596
5661
|
* `batch_publish.jobSchema` link.
|
|
5597
5662
|
*/
|
|
5598
|
-
export
|
|
5663
|
+
export type ItemBatchPublishJobSchema = {
|
|
5599
5664
|
data: unknown[];
|
|
5600
5665
|
meta: {
|
|
5601
5666
|
successful: number;
|
|
5602
5667
|
failed: number;
|
|
5603
5668
|
};
|
|
5604
|
-
}
|
|
5669
|
+
};
|
|
5605
5670
|
|
|
5606
5671
|
/**
|
|
5607
5672
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5608
5673
|
* `batch_unpublish.targetSchema` link.
|
|
5609
5674
|
*/
|
|
5610
|
-
export
|
|
5675
|
+
export type ItemBatchUnpublishTargetSchema = {
|
|
5611
5676
|
data: Job;
|
|
5612
|
-
}
|
|
5677
|
+
};
|
|
5613
5678
|
|
|
5614
5679
|
/**
|
|
5615
5680
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5616
5681
|
* `batch_unpublish.jobSchema` link.
|
|
5617
5682
|
*/
|
|
5618
|
-
export
|
|
5683
|
+
export type ItemBatchUnpublishJobSchema = {
|
|
5619
5684
|
data: unknown[];
|
|
5620
5685
|
meta: {
|
|
5621
5686
|
successful: number;
|
|
5622
5687
|
failed: number;
|
|
5623
5688
|
};
|
|
5624
|
-
}
|
|
5689
|
+
};
|
|
5625
5690
|
|
|
5626
5691
|
/**
|
|
5627
5692
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5628
5693
|
* `publish.targetSchema` link.
|
|
5629
5694
|
*/
|
|
5630
|
-
export
|
|
5695
|
+
export type ItemPublishTargetSchema = {
|
|
5631
5696
|
data: Item;
|
|
5632
5697
|
included?: ItemType[];
|
|
5633
|
-
}
|
|
5698
|
+
};
|
|
5634
5699
|
|
|
5635
5700
|
/**
|
|
5636
5701
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5637
5702
|
* `unpublish.targetSchema` link.
|
|
5638
5703
|
*/
|
|
5639
|
-
export
|
|
5704
|
+
export type ItemUnpublishTargetSchema = {
|
|
5640
5705
|
data: Item;
|
|
5641
5706
|
included?: ItemType[];
|
|
5642
|
-
}
|
|
5707
|
+
};
|
|
5643
5708
|
|
|
5644
5709
|
/**
|
|
5645
5710
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5646
5711
|
* `bulk_publish.schema` link.
|
|
5647
5712
|
*/
|
|
5648
|
-
export
|
|
5713
|
+
export type ItemBulkPublishSchema = {
|
|
5649
5714
|
data: {
|
|
5650
5715
|
/** JSON API type field */
|
|
5651
5716
|
type: 'item_bulk_publish_operation';
|
|
@@ -5657,33 +5722,33 @@ export interface ItemBulkPublishSchema {
|
|
|
5657
5722
|
minItems?: unknown;
|
|
5658
5723
|
};
|
|
5659
5724
|
};
|
|
5660
|
-
}
|
|
5725
|
+
};
|
|
5661
5726
|
|
|
5662
5727
|
/**
|
|
5663
5728
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5664
5729
|
* `bulk_publish.targetSchema` link.
|
|
5665
5730
|
*/
|
|
5666
|
-
export
|
|
5731
|
+
export type ItemBulkPublishTargetSchema = {
|
|
5667
5732
|
data: Job;
|
|
5668
|
-
}
|
|
5733
|
+
};
|
|
5669
5734
|
|
|
5670
5735
|
/**
|
|
5671
5736
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5672
5737
|
* `bulk_publish.jobSchema` link.
|
|
5673
5738
|
*/
|
|
5674
|
-
export
|
|
5739
|
+
export type ItemBulkPublishJobSchema = {
|
|
5675
5740
|
data: unknown[];
|
|
5676
5741
|
meta: {
|
|
5677
5742
|
successful: number;
|
|
5678
5743
|
failed: number;
|
|
5679
5744
|
};
|
|
5680
|
-
}
|
|
5745
|
+
};
|
|
5681
5746
|
|
|
5682
5747
|
/**
|
|
5683
5748
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5684
5749
|
* `bulk_unpublish.schema` link.
|
|
5685
5750
|
*/
|
|
5686
|
-
export
|
|
5751
|
+
export type ItemBulkUnpublishSchema = {
|
|
5687
5752
|
data: {
|
|
5688
5753
|
/** JSON API type field */
|
|
5689
5754
|
type: 'item_bulk_unpublish_operation';
|
|
@@ -5695,33 +5760,33 @@ export interface ItemBulkUnpublishSchema {
|
|
|
5695
5760
|
minItems?: unknown;
|
|
5696
5761
|
};
|
|
5697
5762
|
};
|
|
5698
|
-
}
|
|
5763
|
+
};
|
|
5699
5764
|
|
|
5700
5765
|
/**
|
|
5701
5766
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5702
5767
|
* `bulk_unpublish.targetSchema` link.
|
|
5703
5768
|
*/
|
|
5704
|
-
export
|
|
5769
|
+
export type ItemBulkUnpublishTargetSchema = {
|
|
5705
5770
|
data: Job;
|
|
5706
|
-
}
|
|
5771
|
+
};
|
|
5707
5772
|
|
|
5708
5773
|
/**
|
|
5709
5774
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5710
5775
|
* `bulk_unpublish.jobSchema` link.
|
|
5711
5776
|
*/
|
|
5712
|
-
export
|
|
5777
|
+
export type ItemBulkUnpublishJobSchema = {
|
|
5713
5778
|
data: unknown[];
|
|
5714
5779
|
meta: {
|
|
5715
5780
|
successful: number;
|
|
5716
5781
|
failed: number;
|
|
5717
5782
|
};
|
|
5718
|
-
}
|
|
5783
|
+
};
|
|
5719
5784
|
|
|
5720
5785
|
/**
|
|
5721
5786
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5722
5787
|
* `bulk_destroy.schema` link.
|
|
5723
5788
|
*/
|
|
5724
|
-
export
|
|
5789
|
+
export type ItemBulkDestroySchema = {
|
|
5725
5790
|
data: {
|
|
5726
5791
|
/** JSON API type field */
|
|
5727
5792
|
type: 'item_bulk_destroy_operation';
|
|
@@ -5733,33 +5798,33 @@ export interface ItemBulkDestroySchema {
|
|
|
5733
5798
|
minItems?: unknown;
|
|
5734
5799
|
};
|
|
5735
5800
|
};
|
|
5736
|
-
}
|
|
5801
|
+
};
|
|
5737
5802
|
|
|
5738
5803
|
/**
|
|
5739
5804
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5740
5805
|
* `bulk_destroy.targetSchema` link.
|
|
5741
5806
|
*/
|
|
5742
|
-
export
|
|
5807
|
+
export type ItemBulkDestroyTargetSchema = {
|
|
5743
5808
|
data: Job;
|
|
5744
|
-
}
|
|
5809
|
+
};
|
|
5745
5810
|
|
|
5746
5811
|
/**
|
|
5747
5812
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5748
5813
|
* `bulk_destroy.jobSchema` link.
|
|
5749
5814
|
*/
|
|
5750
|
-
export
|
|
5815
|
+
export type ItemBulkDestroyJobSchema = {
|
|
5751
5816
|
data: unknown[];
|
|
5752
5817
|
meta: {
|
|
5753
5818
|
successful: number;
|
|
5754
5819
|
failed: number;
|
|
5755
5820
|
};
|
|
5756
|
-
}
|
|
5821
|
+
};
|
|
5757
5822
|
|
|
5758
5823
|
/**
|
|
5759
5824
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5760
5825
|
* `bulk_move_to_stage.schema` link.
|
|
5761
5826
|
*/
|
|
5762
|
-
export
|
|
5827
|
+
export type ItemBulkMoveToStageSchema = {
|
|
5763
5828
|
data: {
|
|
5764
5829
|
/** JSON API type field */
|
|
5765
5830
|
type: 'item_bulk_move_to_stage_operation';
|
|
@@ -5775,27 +5840,27 @@ export interface ItemBulkMoveToStageSchema {
|
|
|
5775
5840
|
minItems?: unknown;
|
|
5776
5841
|
};
|
|
5777
5842
|
};
|
|
5778
|
-
}
|
|
5843
|
+
};
|
|
5779
5844
|
|
|
5780
5845
|
/**
|
|
5781
5846
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5782
5847
|
* `bulk_move_to_stage.targetSchema` link.
|
|
5783
5848
|
*/
|
|
5784
|
-
export
|
|
5849
|
+
export type ItemBulkMoveToStageTargetSchema = {
|
|
5785
5850
|
data: Job;
|
|
5786
|
-
}
|
|
5851
|
+
};
|
|
5787
5852
|
|
|
5788
5853
|
/**
|
|
5789
5854
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5790
5855
|
* `bulk_move_to_stage.jobSchema` link.
|
|
5791
5856
|
*/
|
|
5792
|
-
export
|
|
5857
|
+
export type ItemBulkMoveToStageJobSchema = {
|
|
5793
5858
|
data: unknown[];
|
|
5794
5859
|
meta: {
|
|
5795
5860
|
successful: number;
|
|
5796
5861
|
failed: number;
|
|
5797
5862
|
};
|
|
5798
|
-
}
|
|
5863
|
+
};
|
|
5799
5864
|
|
|
5800
5865
|
/**
|
|
5801
5866
|
* Every change to a record is stored as a separate record version in DatoCMS.
|
|
@@ -5803,13 +5868,13 @@ export interface ItemBulkMoveToStageJobSchema {
|
|
|
5803
5868
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
5804
5869
|
* "item_version".
|
|
5805
5870
|
*/
|
|
5806
|
-
export
|
|
5871
|
+
export type ItemVersion = {
|
|
5807
5872
|
type: ItemVersionType;
|
|
5808
5873
|
id: ItemVersionIdentity;
|
|
5809
5874
|
attributes: ItemVersionAttributes;
|
|
5810
5875
|
relationships: ItemVersionRelationships;
|
|
5811
5876
|
meta: ItemVersionMeta;
|
|
5812
|
-
}
|
|
5877
|
+
};
|
|
5813
5878
|
|
|
5814
5879
|
/**
|
|
5815
5880
|
* The JSON data associated to the record version
|
|
@@ -5817,9 +5882,9 @@ export interface ItemVersion {
|
|
|
5817
5882
|
* This interface was referenced by `ItemVersion`'s JSON-Schema via the
|
|
5818
5883
|
* `definition` "attributes".
|
|
5819
5884
|
*/
|
|
5820
|
-
export
|
|
5885
|
+
export type ItemVersionAttributes = {
|
|
5821
5886
|
[k: string]: unknown;
|
|
5822
|
-
}
|
|
5887
|
+
};
|
|
5823
5888
|
|
|
5824
5889
|
/**
|
|
5825
5890
|
* JSON API links
|
|
@@ -5827,7 +5892,7 @@ export interface ItemVersionAttributes {
|
|
|
5827
5892
|
* This interface was referenced by `ItemVersion`'s JSON-Schema via the
|
|
5828
5893
|
* `definition` "relationships".
|
|
5829
5894
|
*/
|
|
5830
|
-
export
|
|
5895
|
+
export type ItemVersionRelationships = {
|
|
5831
5896
|
/** The record version's model */
|
|
5832
5897
|
item_type: {
|
|
5833
5898
|
data: ItemTypeData;
|
|
@@ -5842,9 +5907,14 @@ export interface ItemVersionRelationships {
|
|
|
5842
5907
|
* `id` properties.
|
|
5843
5908
|
*/
|
|
5844
5909
|
editor: {
|
|
5845
|
-
data:
|
|
5910
|
+
data:
|
|
5911
|
+
| AccountData
|
|
5912
|
+
| AccessTokenData
|
|
5913
|
+
| UserData
|
|
5914
|
+
| SsoUserData
|
|
5915
|
+
| OrganizationData;
|
|
5846
5916
|
};
|
|
5847
|
-
}
|
|
5917
|
+
};
|
|
5848
5918
|
|
|
5849
5919
|
/**
|
|
5850
5920
|
* Meta information regarding the record version
|
|
@@ -5852,7 +5922,7 @@ export interface ItemVersionRelationships {
|
|
|
5852
5922
|
* This interface was referenced by `ItemVersion`'s JSON-Schema via the
|
|
5853
5923
|
* `definition` "meta".
|
|
5854
5924
|
*/
|
|
5855
|
-
export
|
|
5925
|
+
export type ItemVersionMeta = {
|
|
5856
5926
|
/** Date of record version creation */
|
|
5857
5927
|
created_at: string;
|
|
5858
5928
|
/** Whether the record version is valid or not */
|
|
@@ -5861,7 +5931,7 @@ export interface ItemVersionMeta {
|
|
|
5861
5931
|
is_published: boolean;
|
|
5862
5932
|
/** Whether the record version is the most recent version or not */
|
|
5863
5933
|
is_current: boolean;
|
|
5864
|
-
}
|
|
5934
|
+
};
|
|
5865
5935
|
|
|
5866
5936
|
/**
|
|
5867
5937
|
* JSON API data
|
|
@@ -5869,45 +5939,45 @@ export interface ItemVersionMeta {
|
|
|
5869
5939
|
* This interface was referenced by `ItemVersion`'s JSON-Schema via the
|
|
5870
5940
|
* `definition` "data".
|
|
5871
5941
|
*/
|
|
5872
|
-
export
|
|
5942
|
+
export type ItemVersionData = {
|
|
5873
5943
|
type: ItemVersionType;
|
|
5874
5944
|
id: ItemVersionIdentity;
|
|
5875
|
-
}
|
|
5945
|
+
};
|
|
5876
5946
|
|
|
5877
5947
|
/**
|
|
5878
5948
|
* This interface was referenced by `ItemVersion`'s JSON-Schema via the
|
|
5879
5949
|
* `restore.targetSchema` link.
|
|
5880
5950
|
*/
|
|
5881
|
-
export
|
|
5951
|
+
export type ItemVersionRestoreTargetSchema = {
|
|
5882
5952
|
data: Job;
|
|
5883
|
-
}
|
|
5953
|
+
};
|
|
5884
5954
|
|
|
5885
5955
|
/**
|
|
5886
5956
|
* This interface was referenced by `ItemVersion`'s JSON-Schema via the
|
|
5887
5957
|
* `restore.jobSchema` link.
|
|
5888
5958
|
*/
|
|
5889
|
-
export
|
|
5959
|
+
export type ItemVersionRestoreJobSchema = {
|
|
5890
5960
|
data: [Item, ItemVersion];
|
|
5891
|
-
}
|
|
5961
|
+
};
|
|
5892
5962
|
|
|
5893
5963
|
/**
|
|
5894
5964
|
* This interface was referenced by `ItemVersion`'s JSON-Schema via the
|
|
5895
5965
|
* `instances.targetSchema` link.
|
|
5896
5966
|
*/
|
|
5897
|
-
export
|
|
5967
|
+
export type ItemVersionInstancesTargetSchema = {
|
|
5898
5968
|
data: ItemVersion[];
|
|
5899
5969
|
meta: {
|
|
5900
5970
|
total_count: number;
|
|
5901
5971
|
};
|
|
5902
|
-
}
|
|
5972
|
+
};
|
|
5903
5973
|
|
|
5904
5974
|
/**
|
|
5905
5975
|
* This interface was referenced by `ItemVersion`'s JSON-Schema via the
|
|
5906
5976
|
* `self.targetSchema` link.
|
|
5907
5977
|
*/
|
|
5908
|
-
export
|
|
5978
|
+
export type ItemVersionSelfTargetSchema = {
|
|
5909
5979
|
data: ItemVersion;
|
|
5910
|
-
}
|
|
5980
|
+
};
|
|
5911
5981
|
|
|
5912
5982
|
/**
|
|
5913
5983
|
* Every file you upload to DatoCMS will be retrievable from this endpoint.
|
|
@@ -5915,12 +5985,12 @@ export interface ItemVersionSelfTargetSchema {
|
|
|
5915
5985
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
5916
5986
|
* "upload".
|
|
5917
5987
|
*/
|
|
5918
|
-
export
|
|
5988
|
+
export type Upload = {
|
|
5919
5989
|
type: UploadType;
|
|
5920
5990
|
id: UploadIdentity;
|
|
5921
5991
|
attributes: UploadAttributes;
|
|
5922
5992
|
relationships: UploadRelationships;
|
|
5923
|
-
}
|
|
5993
|
+
};
|
|
5924
5994
|
|
|
5925
5995
|
/**
|
|
5926
5996
|
* JSON API attributes
|
|
@@ -5928,7 +5998,7 @@ export interface Upload {
|
|
|
5928
5998
|
* This interface was referenced by `Upload`'s JSON-Schema via the `definition`
|
|
5929
5999
|
* "attributes".
|
|
5930
6000
|
*/
|
|
5931
|
-
export
|
|
6001
|
+
export type UploadAttributes = {
|
|
5932
6002
|
/** Size of the upload */
|
|
5933
6003
|
size: number;
|
|
5934
6004
|
/** Width of image */
|
|
@@ -6021,7 +6091,7 @@ export interface UploadAttributes {
|
|
|
6021
6091
|
/** Alpha value (from 0 to 255) */
|
|
6022
6092
|
alpha: number;
|
|
6023
6093
|
}[];
|
|
6024
|
-
}
|
|
6094
|
+
};
|
|
6025
6095
|
|
|
6026
6096
|
/**
|
|
6027
6097
|
* JSON API links
|
|
@@ -6029,15 +6099,20 @@ export interface UploadAttributes {
|
|
|
6029
6099
|
* This interface was referenced by `Upload`'s JSON-Schema via the `definition`
|
|
6030
6100
|
* "relationships".
|
|
6031
6101
|
*/
|
|
6032
|
-
export
|
|
6102
|
+
export type UploadRelationships = {
|
|
6033
6103
|
/**
|
|
6034
6104
|
* The entity (account/collaborator/access token) who created the asset. It
|
|
6035
6105
|
* must be an object with `type` (e.g. 'account') and `id` properties.
|
|
6036
6106
|
*/
|
|
6037
6107
|
creator: {
|
|
6038
|
-
data:
|
|
6108
|
+
data:
|
|
6109
|
+
| AccountData
|
|
6110
|
+
| AccessTokenData
|
|
6111
|
+
| UserData
|
|
6112
|
+
| SsoUserData
|
|
6113
|
+
| OrganizationData;
|
|
6039
6114
|
};
|
|
6040
|
-
}
|
|
6115
|
+
};
|
|
6041
6116
|
|
|
6042
6117
|
/**
|
|
6043
6118
|
* JSON API data
|
|
@@ -6045,16 +6120,16 @@ export interface UploadRelationships {
|
|
|
6045
6120
|
* This interface was referenced by `Upload`'s JSON-Schema via the `definition`
|
|
6046
6121
|
* "data".
|
|
6047
6122
|
*/
|
|
6048
|
-
export
|
|
6123
|
+
export type UploadData = {
|
|
6049
6124
|
type: UploadType;
|
|
6050
6125
|
id: UploadIdentity;
|
|
6051
|
-
}
|
|
6126
|
+
};
|
|
6052
6127
|
|
|
6053
6128
|
/**
|
|
6054
6129
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
6055
6130
|
* `create.schema` link.
|
|
6056
6131
|
*/
|
|
6057
|
-
export
|
|
6132
|
+
export type UploadCreateSchema = {
|
|
6058
6133
|
data: {
|
|
6059
6134
|
type: UploadType;
|
|
6060
6135
|
attributes: {
|
|
@@ -6099,56 +6174,56 @@ export interface UploadCreateSchema {
|
|
|
6099
6174
|
[k: string]: unknown;
|
|
6100
6175
|
};
|
|
6101
6176
|
};
|
|
6102
|
-
}
|
|
6177
|
+
};
|
|
6103
6178
|
|
|
6104
6179
|
/**
|
|
6105
6180
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
6106
6181
|
* `create.targetSchema` link.
|
|
6107
6182
|
*/
|
|
6108
|
-
export
|
|
6183
|
+
export type UploadCreateTargetSchema = {
|
|
6109
6184
|
data: Job;
|
|
6110
|
-
}
|
|
6185
|
+
};
|
|
6111
6186
|
|
|
6112
6187
|
/**
|
|
6113
6188
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
6114
6189
|
* `create.jobSchema` link.
|
|
6115
6190
|
*/
|
|
6116
|
-
export
|
|
6191
|
+
export type UploadCreateJobSchema = {
|
|
6117
6192
|
data: Upload;
|
|
6118
|
-
}
|
|
6193
|
+
};
|
|
6119
6194
|
|
|
6120
6195
|
/**
|
|
6121
6196
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
6122
6197
|
* `instances.targetSchema` link.
|
|
6123
6198
|
*/
|
|
6124
|
-
export
|
|
6199
|
+
export type UploadInstancesTargetSchema = {
|
|
6125
6200
|
data: Upload[];
|
|
6126
6201
|
meta: {
|
|
6127
6202
|
total_count: number;
|
|
6128
6203
|
};
|
|
6129
|
-
}
|
|
6204
|
+
};
|
|
6130
6205
|
|
|
6131
6206
|
/**
|
|
6132
6207
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
6133
6208
|
* `self.targetSchema` link.
|
|
6134
6209
|
*/
|
|
6135
|
-
export
|
|
6210
|
+
export type UploadSelfTargetSchema = {
|
|
6136
6211
|
data: Upload;
|
|
6137
|
-
}
|
|
6212
|
+
};
|
|
6138
6213
|
|
|
6139
6214
|
/**
|
|
6140
6215
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
6141
6216
|
* `destroy.targetSchema` link.
|
|
6142
6217
|
*/
|
|
6143
|
-
export
|
|
6218
|
+
export type UploadDestroyTargetSchema = {
|
|
6144
6219
|
data: Upload;
|
|
6145
|
-
}
|
|
6220
|
+
};
|
|
6146
6221
|
|
|
6147
6222
|
/**
|
|
6148
6223
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
6149
6224
|
* `update.schema` link.
|
|
6150
6225
|
*/
|
|
6151
|
-
export
|
|
6226
|
+
export type UploadUpdateSchema = {
|
|
6152
6227
|
data: {
|
|
6153
6228
|
type: UploadType;
|
|
6154
6229
|
id: UploadIdentity;
|
|
@@ -6201,33 +6276,38 @@ export interface UploadUpdateSchema {
|
|
|
6201
6276
|
* It must be an object with `type` (e.g. 'account') and `id` properties.
|
|
6202
6277
|
*/
|
|
6203
6278
|
creator: {
|
|
6204
|
-
data:
|
|
6279
|
+
data:
|
|
6280
|
+
| AccountData
|
|
6281
|
+
| AccessTokenData
|
|
6282
|
+
| UserData
|
|
6283
|
+
| SsoUserData
|
|
6284
|
+
| OrganizationData;
|
|
6205
6285
|
};
|
|
6206
6286
|
};
|
|
6207
6287
|
};
|
|
6208
|
-
}
|
|
6288
|
+
};
|
|
6209
6289
|
|
|
6210
6290
|
/**
|
|
6211
6291
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
6212
6292
|
* `update.targetSchema` link.
|
|
6213
6293
|
*/
|
|
6214
|
-
export
|
|
6294
|
+
export type UploadUpdateTargetSchema = {
|
|
6215
6295
|
data: Job;
|
|
6216
|
-
}
|
|
6296
|
+
};
|
|
6217
6297
|
|
|
6218
6298
|
/**
|
|
6219
6299
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
6220
6300
|
* `update.jobSchema` link.
|
|
6221
6301
|
*/
|
|
6222
|
-
export
|
|
6302
|
+
export type UploadUpdateJobSchema = {
|
|
6223
6303
|
data: Upload;
|
|
6224
|
-
}
|
|
6304
|
+
};
|
|
6225
6305
|
|
|
6226
6306
|
/**
|
|
6227
6307
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
6228
6308
|
* `batch_add_tags.schema` link.
|
|
6229
6309
|
*/
|
|
6230
|
-
export
|
|
6310
|
+
export type UploadBatchAddTagsSchema = {
|
|
6231
6311
|
data: {
|
|
6232
6312
|
type: UploadType;
|
|
6233
6313
|
attributes: {
|
|
@@ -6235,61 +6315,61 @@ export interface UploadBatchAddTagsSchema {
|
|
|
6235
6315
|
tags: string[];
|
|
6236
6316
|
};
|
|
6237
6317
|
};
|
|
6238
|
-
}
|
|
6318
|
+
};
|
|
6239
6319
|
|
|
6240
6320
|
/**
|
|
6241
6321
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
6242
6322
|
* `batch_add_tags.targetSchema` link.
|
|
6243
6323
|
*/
|
|
6244
|
-
export
|
|
6324
|
+
export type UploadBatchAddTagsTargetSchema = {
|
|
6245
6325
|
data: Job;
|
|
6246
|
-
}
|
|
6326
|
+
};
|
|
6247
6327
|
|
|
6248
6328
|
/**
|
|
6249
6329
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
6250
6330
|
* `batch_add_tags.jobSchema` link.
|
|
6251
6331
|
*/
|
|
6252
|
-
export
|
|
6332
|
+
export type UploadBatchAddTagsJobSchema = {
|
|
6253
6333
|
data: unknown[];
|
|
6254
6334
|
meta: {
|
|
6255
6335
|
successful: number;
|
|
6256
6336
|
failed: number;
|
|
6257
6337
|
};
|
|
6258
|
-
}
|
|
6338
|
+
};
|
|
6259
6339
|
|
|
6260
6340
|
/**
|
|
6261
6341
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
6262
6342
|
* `batch_destroy.targetSchema` link.
|
|
6263
6343
|
*/
|
|
6264
|
-
export
|
|
6344
|
+
export type UploadBatchDestroyTargetSchema = {
|
|
6265
6345
|
data: Job;
|
|
6266
|
-
}
|
|
6346
|
+
};
|
|
6267
6347
|
|
|
6268
6348
|
/**
|
|
6269
6349
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
6270
6350
|
* `batch_destroy.jobSchema` link.
|
|
6271
6351
|
*/
|
|
6272
|
-
export
|
|
6352
|
+
export type UploadBatchDestroyJobSchema = {
|
|
6273
6353
|
data: unknown[];
|
|
6274
6354
|
meta: {
|
|
6275
6355
|
successful: number;
|
|
6276
6356
|
failed: number;
|
|
6277
6357
|
};
|
|
6278
|
-
}
|
|
6358
|
+
};
|
|
6279
6359
|
|
|
6280
6360
|
/**
|
|
6281
6361
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
6282
6362
|
* `references.targetSchema` link.
|
|
6283
6363
|
*/
|
|
6284
|
-
export
|
|
6364
|
+
export type UploadReferencesTargetSchema = {
|
|
6285
6365
|
data: Item[];
|
|
6286
|
-
}
|
|
6366
|
+
};
|
|
6287
6367
|
|
|
6288
6368
|
/**
|
|
6289
6369
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
6290
6370
|
* `bulk_tag.schema` link.
|
|
6291
6371
|
*/
|
|
6292
|
-
export
|
|
6372
|
+
export type UploadBulkTagSchema = {
|
|
6293
6373
|
data: {
|
|
6294
6374
|
/** JSON API type field */
|
|
6295
6375
|
type: 'upload_bulk_tag_operation';
|
|
@@ -6305,33 +6385,33 @@ export interface UploadBulkTagSchema {
|
|
|
6305
6385
|
};
|
|
6306
6386
|
};
|
|
6307
6387
|
};
|
|
6308
|
-
}
|
|
6388
|
+
};
|
|
6309
6389
|
|
|
6310
6390
|
/**
|
|
6311
6391
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
6312
6392
|
* `bulk_tag.targetSchema` link.
|
|
6313
6393
|
*/
|
|
6314
|
-
export
|
|
6394
|
+
export type UploadBulkTagTargetSchema = {
|
|
6315
6395
|
data: Job;
|
|
6316
|
-
}
|
|
6396
|
+
};
|
|
6317
6397
|
|
|
6318
6398
|
/**
|
|
6319
6399
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
6320
6400
|
* `bulk_tag.jobSchema` link.
|
|
6321
6401
|
*/
|
|
6322
|
-
export
|
|
6402
|
+
export type UploadBulkTagJobSchema = {
|
|
6323
6403
|
data: unknown[];
|
|
6324
6404
|
meta: {
|
|
6325
6405
|
successful: number;
|
|
6326
6406
|
failed: number;
|
|
6327
6407
|
};
|
|
6328
|
-
}
|
|
6408
|
+
};
|
|
6329
6409
|
|
|
6330
6410
|
/**
|
|
6331
6411
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
6332
6412
|
* `bulk_destroy.schema` link.
|
|
6333
6413
|
*/
|
|
6334
|
-
export
|
|
6414
|
+
export type UploadBulkDestroySchema = {
|
|
6335
6415
|
data: {
|
|
6336
6416
|
/** JSON API type field */
|
|
6337
6417
|
type: 'upload_bulk_destroy_operation';
|
|
@@ -6342,27 +6422,27 @@ export interface UploadBulkDestroySchema {
|
|
|
6342
6422
|
};
|
|
6343
6423
|
};
|
|
6344
6424
|
};
|
|
6345
|
-
}
|
|
6425
|
+
};
|
|
6346
6426
|
|
|
6347
6427
|
/**
|
|
6348
6428
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
6349
6429
|
* `bulk_destroy.targetSchema` link.
|
|
6350
6430
|
*/
|
|
6351
|
-
export
|
|
6431
|
+
export type UploadBulkDestroyTargetSchema = {
|
|
6352
6432
|
data: Job;
|
|
6353
|
-
}
|
|
6433
|
+
};
|
|
6354
6434
|
|
|
6355
6435
|
/**
|
|
6356
6436
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
6357
6437
|
* `bulk_destroy.jobSchema` link.
|
|
6358
6438
|
*/
|
|
6359
|
-
export
|
|
6439
|
+
export type UploadBulkDestroyJobSchema = {
|
|
6360
6440
|
data: unknown[];
|
|
6361
6441
|
meta: {
|
|
6362
6442
|
successful: number;
|
|
6363
6443
|
failed: number;
|
|
6364
6444
|
};
|
|
6365
|
-
}
|
|
6445
|
+
};
|
|
6366
6446
|
|
|
6367
6447
|
/**
|
|
6368
6448
|
* To upload a file in DatoCMS, first you need to obtain an upload permission
|
|
@@ -6372,11 +6452,11 @@ export interface UploadBulkDestroyJobSchema {
|
|
|
6372
6452
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
6373
6453
|
* "upload_request".
|
|
6374
6454
|
*/
|
|
6375
|
-
export
|
|
6455
|
+
export type UploadRequest = {
|
|
6376
6456
|
type: UploadRequestType;
|
|
6377
6457
|
id: UploadRequestIdentity;
|
|
6378
6458
|
attributes: UploadRequestAttributes;
|
|
6379
|
-
}
|
|
6459
|
+
};
|
|
6380
6460
|
|
|
6381
6461
|
/**
|
|
6382
6462
|
* JSON API attributes
|
|
@@ -6384,17 +6464,17 @@ export interface UploadRequest {
|
|
|
6384
6464
|
* This interface was referenced by `UploadRequest`'s JSON-Schema via the
|
|
6385
6465
|
* `definition` "attributes".
|
|
6386
6466
|
*/
|
|
6387
|
-
export
|
|
6467
|
+
export type UploadRequestAttributes = {
|
|
6388
6468
|
/** The URL to use to upload the file with a direct PUT request */
|
|
6389
6469
|
url: string;
|
|
6390
6470
|
[k: string]: unknown;
|
|
6391
|
-
}
|
|
6471
|
+
};
|
|
6392
6472
|
|
|
6393
6473
|
/**
|
|
6394
6474
|
* This interface was referenced by `UploadRequest`'s JSON-Schema via the
|
|
6395
6475
|
* `create.schema` link.
|
|
6396
6476
|
*/
|
|
6397
|
-
export
|
|
6477
|
+
export type UploadRequestCreateSchema = {
|
|
6398
6478
|
data: {
|
|
6399
6479
|
type: UploadRequestType;
|
|
6400
6480
|
/** JSON API attributes */
|
|
@@ -6404,15 +6484,15 @@ export interface UploadRequestCreateSchema {
|
|
|
6404
6484
|
[k: string]: unknown;
|
|
6405
6485
|
};
|
|
6406
6486
|
};
|
|
6407
|
-
}
|
|
6487
|
+
};
|
|
6408
6488
|
|
|
6409
6489
|
/**
|
|
6410
6490
|
* This interface was referenced by `UploadRequest`'s JSON-Schema via the
|
|
6411
6491
|
* `create.targetSchema` link.
|
|
6412
6492
|
*/
|
|
6413
|
-
export
|
|
6493
|
+
export type UploadRequestCreateTargetSchema = {
|
|
6414
6494
|
data: UploadRequest;
|
|
6415
|
-
}
|
|
6495
|
+
};
|
|
6416
6496
|
|
|
6417
6497
|
/**
|
|
6418
6498
|
* You can create scheduled publication to publish records in the future
|
|
@@ -6420,12 +6500,12 @@ export interface UploadRequestCreateTargetSchema {
|
|
|
6420
6500
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
6421
6501
|
* "scheduled_publication".
|
|
6422
6502
|
*/
|
|
6423
|
-
export
|
|
6503
|
+
export type ScheduledPublication = {
|
|
6424
6504
|
type: ScheduledPublicationType;
|
|
6425
6505
|
id: ScheduledPublicationIdentity;
|
|
6426
6506
|
attributes: ScheduledPublicationAttributes;
|
|
6427
6507
|
relationships: ScheduledPublicationRelationships;
|
|
6428
|
-
}
|
|
6508
|
+
};
|
|
6429
6509
|
|
|
6430
6510
|
/**
|
|
6431
6511
|
* JSON API attributes
|
|
@@ -6433,10 +6513,10 @@ export interface ScheduledPublication {
|
|
|
6433
6513
|
* This interface was referenced by `ScheduledPublication`'s JSON-Schema via the
|
|
6434
6514
|
* `definition` "attributes".
|
|
6435
6515
|
*/
|
|
6436
|
-
export
|
|
6516
|
+
export type ScheduledPublicationAttributes = {
|
|
6437
6517
|
/** The future date for the publication */
|
|
6438
6518
|
publication_scheduled_at: string;
|
|
6439
|
-
}
|
|
6519
|
+
};
|
|
6440
6520
|
|
|
6441
6521
|
/**
|
|
6442
6522
|
* JSON API links
|
|
@@ -6444,12 +6524,12 @@ export interface ScheduledPublicationAttributes {
|
|
|
6444
6524
|
* This interface was referenced by `ScheduledPublication`'s JSON-Schema via the
|
|
6445
6525
|
* `definition` "relationships".
|
|
6446
6526
|
*/
|
|
6447
|
-
export
|
|
6527
|
+
export type ScheduledPublicationRelationships = {
|
|
6448
6528
|
/** Item */
|
|
6449
6529
|
item: {
|
|
6450
6530
|
data: ItemData;
|
|
6451
6531
|
};
|
|
6452
|
-
}
|
|
6532
|
+
};
|
|
6453
6533
|
|
|
6454
6534
|
/**
|
|
6455
6535
|
* JSON API data
|
|
@@ -6457,38 +6537,38 @@ export interface ScheduledPublicationRelationships {
|
|
|
6457
6537
|
* This interface was referenced by `ScheduledPublication`'s JSON-Schema via the
|
|
6458
6538
|
* `definition` "data".
|
|
6459
6539
|
*/
|
|
6460
|
-
export
|
|
6540
|
+
export type ScheduledPublicationData = {
|
|
6461
6541
|
type: ScheduledPublicationType;
|
|
6462
6542
|
id: ScheduledPublicationIdentity;
|
|
6463
|
-
}
|
|
6543
|
+
};
|
|
6464
6544
|
|
|
6465
6545
|
/**
|
|
6466
6546
|
* This interface was referenced by `ScheduledPublication`'s JSON-Schema via the
|
|
6467
6547
|
* `create.schema` link.
|
|
6468
6548
|
*/
|
|
6469
|
-
export
|
|
6549
|
+
export type ScheduledPublicationCreateSchema = {
|
|
6470
6550
|
data: {
|
|
6471
6551
|
type: ScheduledPublicationType;
|
|
6472
6552
|
attributes: ScheduledPublicationAttributes;
|
|
6473
6553
|
};
|
|
6474
|
-
}
|
|
6554
|
+
};
|
|
6475
6555
|
|
|
6476
6556
|
/**
|
|
6477
6557
|
* This interface was referenced by `ScheduledPublication`'s JSON-Schema via the
|
|
6478
6558
|
* `create.targetSchema` link.
|
|
6479
6559
|
*/
|
|
6480
|
-
export
|
|
6560
|
+
export type ScheduledPublicationCreateTargetSchema = {
|
|
6481
6561
|
data: ScheduledPublication;
|
|
6482
6562
|
included: Item[];
|
|
6483
|
-
}
|
|
6563
|
+
};
|
|
6484
6564
|
|
|
6485
6565
|
/**
|
|
6486
6566
|
* This interface was referenced by `ScheduledPublication`'s JSON-Schema via the
|
|
6487
6567
|
* `destroy.targetSchema` link.
|
|
6488
6568
|
*/
|
|
6489
|
-
export
|
|
6569
|
+
export type ScheduledPublicationDestroyTargetSchema = {
|
|
6490
6570
|
data: Item;
|
|
6491
|
-
}
|
|
6571
|
+
};
|
|
6492
6572
|
|
|
6493
6573
|
/**
|
|
6494
6574
|
* You can create a scheduled unpublishing to unpublish records in the future
|
|
@@ -6496,12 +6576,12 @@ export interface ScheduledPublicationDestroyTargetSchema {
|
|
|
6496
6576
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
6497
6577
|
* "scheduled_unpublishing".
|
|
6498
6578
|
*/
|
|
6499
|
-
export
|
|
6579
|
+
export type ScheduledUnpublishing = {
|
|
6500
6580
|
type: ScheduledUnpublishingType;
|
|
6501
6581
|
id: ScheduledUnpublishingIdentity;
|
|
6502
6582
|
attributes: ScheduledUnpublishingAttributes;
|
|
6503
6583
|
relationships: ScheduledUnpublishingRelationships;
|
|
6504
|
-
}
|
|
6584
|
+
};
|
|
6505
6585
|
|
|
6506
6586
|
/**
|
|
6507
6587
|
* JSON API attributes
|
|
@@ -6509,10 +6589,10 @@ export interface ScheduledUnpublishing {
|
|
|
6509
6589
|
* This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema via
|
|
6510
6590
|
* the `definition` "attributes".
|
|
6511
6591
|
*/
|
|
6512
|
-
export
|
|
6592
|
+
export type ScheduledUnpublishingAttributes = {
|
|
6513
6593
|
/** The future date for the unpublishing */
|
|
6514
6594
|
unpublishing_scheduled_at: string;
|
|
6515
|
-
}
|
|
6595
|
+
};
|
|
6516
6596
|
|
|
6517
6597
|
/**
|
|
6518
6598
|
* JSON API links
|
|
@@ -6520,12 +6600,12 @@ export interface ScheduledUnpublishingAttributes {
|
|
|
6520
6600
|
* This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema via
|
|
6521
6601
|
* the `definition` "relationships".
|
|
6522
6602
|
*/
|
|
6523
|
-
export
|
|
6603
|
+
export type ScheduledUnpublishingRelationships = {
|
|
6524
6604
|
/** Item */
|
|
6525
6605
|
item: {
|
|
6526
6606
|
data: ItemData;
|
|
6527
6607
|
};
|
|
6528
|
-
}
|
|
6608
|
+
};
|
|
6529
6609
|
|
|
6530
6610
|
/**
|
|
6531
6611
|
* JSON API data
|
|
@@ -6533,38 +6613,38 @@ export interface ScheduledUnpublishingRelationships {
|
|
|
6533
6613
|
* This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema via
|
|
6534
6614
|
* the `definition` "data".
|
|
6535
6615
|
*/
|
|
6536
|
-
export
|
|
6616
|
+
export type ScheduledUnpublishingData = {
|
|
6537
6617
|
type: ScheduledUnpublishingType;
|
|
6538
6618
|
id: ScheduledUnpublishingIdentity;
|
|
6539
|
-
}
|
|
6619
|
+
};
|
|
6540
6620
|
|
|
6541
6621
|
/**
|
|
6542
6622
|
* This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema via
|
|
6543
6623
|
* the `create.schema` link.
|
|
6544
6624
|
*/
|
|
6545
|
-
export
|
|
6625
|
+
export type ScheduledUnpublishingCreateSchema = {
|
|
6546
6626
|
data: {
|
|
6547
6627
|
type: ScheduledUnpublishingType;
|
|
6548
6628
|
attributes: ScheduledUnpublishingAttributes;
|
|
6549
6629
|
};
|
|
6550
|
-
}
|
|
6630
|
+
};
|
|
6551
6631
|
|
|
6552
6632
|
/**
|
|
6553
6633
|
* This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema via
|
|
6554
6634
|
* the `create.targetSchema` link.
|
|
6555
6635
|
*/
|
|
6556
|
-
export
|
|
6636
|
+
export type ScheduledUnpublishingCreateTargetSchema = {
|
|
6557
6637
|
data: ScheduledUnpublishing;
|
|
6558
6638
|
included: Item[];
|
|
6559
|
-
}
|
|
6639
|
+
};
|
|
6560
6640
|
|
|
6561
6641
|
/**
|
|
6562
6642
|
* This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema via
|
|
6563
6643
|
* the `destroy.targetSchema` link.
|
|
6564
6644
|
*/
|
|
6565
|
-
export
|
|
6645
|
+
export type ScheduledUnpublishingDestroyTargetSchema = {
|
|
6566
6646
|
data: Item;
|
|
6567
|
-
}
|
|
6647
|
+
};
|
|
6568
6648
|
|
|
6569
6649
|
/**
|
|
6570
6650
|
* DatoCMS Site Search is a way to deliver tailored search results to your site
|
|
@@ -6573,11 +6653,11 @@ export interface ScheduledUnpublishingDestroyTargetSchema {
|
|
|
6573
6653
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
6574
6654
|
* "search_result".
|
|
6575
6655
|
*/
|
|
6576
|
-
export
|
|
6656
|
+
export type SearchResult = {
|
|
6577
6657
|
type: SearchResultType;
|
|
6578
6658
|
id: SearchResultIdentity;
|
|
6579
6659
|
attributes: SearchResultAttributes;
|
|
6580
|
-
}
|
|
6660
|
+
};
|
|
6581
6661
|
|
|
6582
6662
|
/**
|
|
6583
6663
|
* JSON API attributes
|
|
@@ -6585,7 +6665,7 @@ export interface SearchResult {
|
|
|
6585
6665
|
* This interface was referenced by `SearchResult`'s JSON-Schema via the
|
|
6586
6666
|
* `definition` "attributes".
|
|
6587
6667
|
*/
|
|
6588
|
-
export
|
|
6668
|
+
export type SearchResultAttributes = {
|
|
6589
6669
|
/** Title of the page */
|
|
6590
6670
|
title: string;
|
|
6591
6671
|
/** First 200 characters of page body, unformatted */
|
|
@@ -6598,7 +6678,7 @@ export interface SearchResultAttributes {
|
|
|
6598
6678
|
title?: string[] | null;
|
|
6599
6679
|
body?: string[] | null;
|
|
6600
6680
|
};
|
|
6601
|
-
}
|
|
6681
|
+
};
|
|
6602
6682
|
|
|
6603
6683
|
/**
|
|
6604
6684
|
* JSON API data
|
|
@@ -6606,21 +6686,21 @@ export interface SearchResultAttributes {
|
|
|
6606
6686
|
* This interface was referenced by `SearchResult`'s JSON-Schema via the
|
|
6607
6687
|
* `definition` "data".
|
|
6608
6688
|
*/
|
|
6609
|
-
export
|
|
6689
|
+
export type SearchResultData = {
|
|
6610
6690
|
type: SearchResultType;
|
|
6611
6691
|
id: SearchResultIdentity;
|
|
6612
|
-
}
|
|
6692
|
+
};
|
|
6613
6693
|
|
|
6614
6694
|
/**
|
|
6615
6695
|
* This interface was referenced by `SearchResult`'s JSON-Schema via the
|
|
6616
6696
|
* `instances.targetSchema` link.
|
|
6617
6697
|
*/
|
|
6618
|
-
export
|
|
6698
|
+
export type SearchResultInstancesTargetSchema = {
|
|
6619
6699
|
data: SearchResult[];
|
|
6620
6700
|
meta: {
|
|
6621
6701
|
total_count: number;
|
|
6622
6702
|
};
|
|
6623
|
-
}
|
|
6703
|
+
};
|
|
6624
6704
|
|
|
6625
6705
|
/**
|
|
6626
6706
|
* [Environments](https://www.datocms.com/docs/general-concepts/primary-and-sandbox-environments)
|
|
@@ -6657,11 +6737,11 @@ export interface SearchResultInstancesTargetSchema {
|
|
|
6657
6737
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
6658
6738
|
* "environment".
|
|
6659
6739
|
*/
|
|
6660
|
-
export
|
|
6740
|
+
export type Environment = {
|
|
6661
6741
|
type: EnvironmentType;
|
|
6662
6742
|
id: EnvironmentIdentity;
|
|
6663
6743
|
meta: EnvironmentMeta;
|
|
6664
|
-
}
|
|
6744
|
+
};
|
|
6665
6745
|
|
|
6666
6746
|
/**
|
|
6667
6747
|
* Meta attributes
|
|
@@ -6669,7 +6749,7 @@ export interface Environment {
|
|
|
6669
6749
|
* This interface was referenced by `Environment`'s JSON-Schema via the
|
|
6670
6750
|
* `definition` "meta".
|
|
6671
6751
|
*/
|
|
6672
|
-
export
|
|
6752
|
+
export type EnvironmentMeta = {
|
|
6673
6753
|
/** Status of the environment */
|
|
6674
6754
|
status: 'creating' | 'ready' | 'destroying';
|
|
6675
6755
|
/** Date of creation */
|
|
@@ -6680,7 +6760,7 @@ export interface EnvironmentMeta {
|
|
|
6680
6760
|
primary: boolean;
|
|
6681
6761
|
/** ID of the environment that's been forked to generate this one */
|
|
6682
6762
|
forked_from?: string | null;
|
|
6683
|
-
}
|
|
6763
|
+
};
|
|
6684
6764
|
|
|
6685
6765
|
/**
|
|
6686
6766
|
* JSON API data
|
|
@@ -6688,88 +6768,88 @@ export interface EnvironmentMeta {
|
|
|
6688
6768
|
* This interface was referenced by `Environment`'s JSON-Schema via the
|
|
6689
6769
|
* `definition` "data".
|
|
6690
6770
|
*/
|
|
6691
|
-
export
|
|
6771
|
+
export type EnvironmentData = {
|
|
6692
6772
|
type: EnvironmentType;
|
|
6693
6773
|
id: EnvironmentIdentity;
|
|
6694
|
-
}
|
|
6774
|
+
};
|
|
6695
6775
|
|
|
6696
6776
|
/**
|
|
6697
6777
|
* This interface was referenced by `Environment`'s JSON-Schema via the
|
|
6698
6778
|
* `fork.schema` link.
|
|
6699
6779
|
*/
|
|
6700
|
-
export
|
|
6780
|
+
export type EnvironmentForkSchema = {
|
|
6701
6781
|
data: {
|
|
6702
6782
|
type: EnvironmentType;
|
|
6703
6783
|
/** The ID of the forked environment */
|
|
6704
6784
|
id: string;
|
|
6705
6785
|
};
|
|
6706
|
-
}
|
|
6786
|
+
};
|
|
6707
6787
|
|
|
6708
6788
|
/**
|
|
6709
6789
|
* This interface was referenced by `Environment`'s JSON-Schema via the
|
|
6710
6790
|
* `fork.targetSchema` link.
|
|
6711
6791
|
*/
|
|
6712
|
-
export
|
|
6792
|
+
export type EnvironmentForkTargetSchema = {
|
|
6713
6793
|
data: Job | Environment;
|
|
6714
|
-
}
|
|
6794
|
+
};
|
|
6715
6795
|
|
|
6716
6796
|
/**
|
|
6717
6797
|
* This interface was referenced by `Environment`'s JSON-Schema via the
|
|
6718
6798
|
* `fork.jobSchema` link.
|
|
6719
6799
|
*/
|
|
6720
|
-
export
|
|
6800
|
+
export type EnvironmentForkJobSchema = {
|
|
6721
6801
|
data: Environment;
|
|
6722
|
-
}
|
|
6802
|
+
};
|
|
6723
6803
|
|
|
6724
6804
|
/**
|
|
6725
6805
|
* This interface was referenced by `Environment`'s JSON-Schema via the
|
|
6726
6806
|
* `promote.targetSchema` link.
|
|
6727
6807
|
*/
|
|
6728
|
-
export
|
|
6808
|
+
export type EnvironmentPromoteTargetSchema = {
|
|
6729
6809
|
data: Environment;
|
|
6730
|
-
}
|
|
6810
|
+
};
|
|
6731
6811
|
|
|
6732
6812
|
/**
|
|
6733
6813
|
* This interface was referenced by `Environment`'s JSON-Schema via the
|
|
6734
6814
|
* `instances.targetSchema` link.
|
|
6735
6815
|
*/
|
|
6736
|
-
export
|
|
6816
|
+
export type EnvironmentInstancesTargetSchema = {
|
|
6737
6817
|
data: Environment[];
|
|
6738
|
-
}
|
|
6818
|
+
};
|
|
6739
6819
|
|
|
6740
6820
|
/**
|
|
6741
6821
|
* This interface was referenced by `Environment`'s JSON-Schema via the
|
|
6742
6822
|
* `self.targetSchema` link.
|
|
6743
6823
|
*/
|
|
6744
|
-
export
|
|
6824
|
+
export type EnvironmentSelfTargetSchema = {
|
|
6745
6825
|
data: Environment;
|
|
6746
|
-
}
|
|
6826
|
+
};
|
|
6747
6827
|
|
|
6748
6828
|
/**
|
|
6749
6829
|
* This interface was referenced by `Environment`'s JSON-Schema via the
|
|
6750
6830
|
* `destroy.targetSchema` link.
|
|
6751
6831
|
*/
|
|
6752
|
-
export
|
|
6832
|
+
export type EnvironmentDestroyTargetSchema = {
|
|
6753
6833
|
data: Job | Environment;
|
|
6754
|
-
}
|
|
6834
|
+
};
|
|
6755
6835
|
|
|
6756
6836
|
/**
|
|
6757
6837
|
* This interface was referenced by `Environment`'s JSON-Schema via the
|
|
6758
6838
|
* `destroy.jobSchema` link.
|
|
6759
6839
|
*/
|
|
6760
|
-
export
|
|
6840
|
+
export type EnvironmentDestroyJobSchema = {
|
|
6761
6841
|
data: Environment;
|
|
6762
|
-
}
|
|
6842
|
+
};
|
|
6763
6843
|
|
|
6764
6844
|
/**
|
|
6765
6845
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
6766
6846
|
* "maintenance_mode".
|
|
6767
6847
|
*/
|
|
6768
|
-
export
|
|
6848
|
+
export type MaintenanceMode = {
|
|
6769
6849
|
type: MaintenanceModeType;
|
|
6770
6850
|
id: MaintenanceModeIdentity;
|
|
6771
6851
|
attributes: MaintenanceModeAttributes;
|
|
6772
|
-
}
|
|
6852
|
+
};
|
|
6773
6853
|
|
|
6774
6854
|
/**
|
|
6775
6855
|
* JSON API attributes
|
|
@@ -6777,10 +6857,10 @@ export interface MaintenanceMode {
|
|
|
6777
6857
|
* This interface was referenced by `MaintenanceMode`'s JSON-Schema via the
|
|
6778
6858
|
* `definition` "attributes".
|
|
6779
6859
|
*/
|
|
6780
|
-
export
|
|
6860
|
+
export type MaintenanceModeAttributes = {
|
|
6781
6861
|
/** Whether maintenance mode is currently active or not */
|
|
6782
6862
|
active: boolean;
|
|
6783
|
-
}
|
|
6863
|
+
};
|
|
6784
6864
|
|
|
6785
6865
|
/**
|
|
6786
6866
|
* JSON API data
|
|
@@ -6788,34 +6868,34 @@ export interface MaintenanceModeAttributes {
|
|
|
6788
6868
|
* This interface was referenced by `MaintenanceMode`'s JSON-Schema via the
|
|
6789
6869
|
* `definition` "data".
|
|
6790
6870
|
*/
|
|
6791
|
-
export
|
|
6871
|
+
export type MaintenanceModeData = {
|
|
6792
6872
|
type: MaintenanceModeType;
|
|
6793
6873
|
id: MaintenanceModeIdentity;
|
|
6794
|
-
}
|
|
6874
|
+
};
|
|
6795
6875
|
|
|
6796
6876
|
/**
|
|
6797
6877
|
* This interface was referenced by `MaintenanceMode`'s JSON-Schema via the
|
|
6798
6878
|
* `self.targetSchema` link.
|
|
6799
6879
|
*/
|
|
6800
|
-
export
|
|
6880
|
+
export type MaintenanceModeSelfTargetSchema = {
|
|
6801
6881
|
data: MaintenanceMode;
|
|
6802
|
-
}
|
|
6882
|
+
};
|
|
6803
6883
|
|
|
6804
6884
|
/**
|
|
6805
6885
|
* This interface was referenced by `MaintenanceMode`'s JSON-Schema via the
|
|
6806
6886
|
* `activate.targetSchema` link.
|
|
6807
6887
|
*/
|
|
6808
|
-
export
|
|
6888
|
+
export type MaintenanceModeActivateTargetSchema = {
|
|
6809
6889
|
data: MaintenanceMode;
|
|
6810
|
-
}
|
|
6890
|
+
};
|
|
6811
6891
|
|
|
6812
6892
|
/**
|
|
6813
6893
|
* This interface was referenced by `MaintenanceMode`'s JSON-Schema via the
|
|
6814
6894
|
* `deactivate.targetSchema` link.
|
|
6815
6895
|
*/
|
|
6816
|
-
export
|
|
6896
|
+
export type MaintenanceModeDeactivateTargetSchema = {
|
|
6817
6897
|
data: MaintenanceMode;
|
|
6818
|
-
}
|
|
6898
|
+
};
|
|
6819
6899
|
|
|
6820
6900
|
/**
|
|
6821
6901
|
* A webhook allows to make requests following certain Dato events. It is linked
|
|
@@ -6824,11 +6904,11 @@ export interface MaintenanceModeDeactivateTargetSchema {
|
|
|
6824
6904
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
6825
6905
|
* "webhook".
|
|
6826
6906
|
*/
|
|
6827
|
-
export
|
|
6907
|
+
export type Webhook = {
|
|
6828
6908
|
type: WebhookType;
|
|
6829
6909
|
id: WebhookIdentity;
|
|
6830
6910
|
attributes: WebhookAttributes;
|
|
6831
|
-
}
|
|
6911
|
+
};
|
|
6832
6912
|
|
|
6833
6913
|
/**
|
|
6834
6914
|
* JSON API attributes
|
|
@@ -6836,7 +6916,7 @@ export interface Webhook {
|
|
|
6836
6916
|
* This interface was referenced by `Webhook`'s JSON-Schema via the `definition`
|
|
6837
6917
|
* "attributes".
|
|
6838
6918
|
*/
|
|
6839
|
-
export
|
|
6919
|
+
export type WebhookAttributes = {
|
|
6840
6920
|
/** Unique name for the webhook */
|
|
6841
6921
|
name: string;
|
|
6842
6922
|
/** Whether the webhook is enabled and sending events or not */
|
|
@@ -6865,7 +6945,7 @@ export interface WebhookAttributes {
|
|
|
6865
6945
|
* or not
|
|
6866
6946
|
*/
|
|
6867
6947
|
nested_items_in_payload: boolean;
|
|
6868
|
-
}
|
|
6948
|
+
};
|
|
6869
6949
|
|
|
6870
6950
|
/**
|
|
6871
6951
|
* JSON API data
|
|
@@ -6873,16 +6953,16 @@ export interface WebhookAttributes {
|
|
|
6873
6953
|
* This interface was referenced by `Webhook`'s JSON-Schema via the `definition`
|
|
6874
6954
|
* "data".
|
|
6875
6955
|
*/
|
|
6876
|
-
export
|
|
6956
|
+
export type WebhookData = {
|
|
6877
6957
|
type: WebhookType;
|
|
6878
6958
|
id: WebhookIdentity;
|
|
6879
|
-
}
|
|
6959
|
+
};
|
|
6880
6960
|
|
|
6881
6961
|
/**
|
|
6882
6962
|
* This interface was referenced by `Webhook`'s JSON-Schema via the
|
|
6883
6963
|
* `create.schema` link.
|
|
6884
6964
|
*/
|
|
6885
|
-
export
|
|
6965
|
+
export type WebhookCreateSchema = {
|
|
6886
6966
|
data: {
|
|
6887
6967
|
type: WebhookType;
|
|
6888
6968
|
attributes: {
|
|
@@ -6916,21 +6996,21 @@ export interface WebhookCreateSchema {
|
|
|
6916
6996
|
nested_items_in_payload?: boolean;
|
|
6917
6997
|
};
|
|
6918
6998
|
};
|
|
6919
|
-
}
|
|
6999
|
+
};
|
|
6920
7000
|
|
|
6921
7001
|
/**
|
|
6922
7002
|
* This interface was referenced by `Webhook`'s JSON-Schema via the
|
|
6923
7003
|
* `create.targetSchema` link.
|
|
6924
7004
|
*/
|
|
6925
|
-
export
|
|
7005
|
+
export type WebhookCreateTargetSchema = {
|
|
6926
7006
|
data: Webhook;
|
|
6927
|
-
}
|
|
7007
|
+
};
|
|
6928
7008
|
|
|
6929
7009
|
/**
|
|
6930
7010
|
* This interface was referenced by `Webhook`'s JSON-Schema via the
|
|
6931
7011
|
* `update.schema` link.
|
|
6932
7012
|
*/
|
|
6933
|
-
export
|
|
7013
|
+
export type WebhookUpdateSchema = {
|
|
6934
7014
|
data: {
|
|
6935
7015
|
type: WebhookType;
|
|
6936
7016
|
id: WebhookIdentity;
|
|
@@ -6965,39 +7045,39 @@ export interface WebhookUpdateSchema {
|
|
|
6965
7045
|
nested_items_in_payload?: boolean;
|
|
6966
7046
|
};
|
|
6967
7047
|
};
|
|
6968
|
-
}
|
|
7048
|
+
};
|
|
6969
7049
|
|
|
6970
7050
|
/**
|
|
6971
7051
|
* This interface was referenced by `Webhook`'s JSON-Schema via the
|
|
6972
7052
|
* `update.targetSchema` link.
|
|
6973
7053
|
*/
|
|
6974
|
-
export
|
|
7054
|
+
export type WebhookUpdateTargetSchema = {
|
|
6975
7055
|
data: Webhook;
|
|
6976
|
-
}
|
|
7056
|
+
};
|
|
6977
7057
|
|
|
6978
7058
|
/**
|
|
6979
7059
|
* This interface was referenced by `Webhook`'s JSON-Schema via the
|
|
6980
7060
|
* `instances.targetSchema` link.
|
|
6981
7061
|
*/
|
|
6982
|
-
export
|
|
7062
|
+
export type WebhookInstancesTargetSchema = {
|
|
6983
7063
|
data: Webhook[];
|
|
6984
|
-
}
|
|
7064
|
+
};
|
|
6985
7065
|
|
|
6986
7066
|
/**
|
|
6987
7067
|
* This interface was referenced by `Webhook`'s JSON-Schema via the
|
|
6988
7068
|
* `self.targetSchema` link.
|
|
6989
7069
|
*/
|
|
6990
|
-
export
|
|
7070
|
+
export type WebhookSelfTargetSchema = {
|
|
6991
7071
|
data: Webhook;
|
|
6992
|
-
}
|
|
7072
|
+
};
|
|
6993
7073
|
|
|
6994
7074
|
/**
|
|
6995
7075
|
* This interface was referenced by `Webhook`'s JSON-Schema via the
|
|
6996
7076
|
* `destroy.targetSchema` link.
|
|
6997
7077
|
*/
|
|
6998
|
-
export
|
|
7078
|
+
export type WebhookDestroyTargetSchema = {
|
|
6999
7079
|
data: Webhook;
|
|
7000
|
-
}
|
|
7080
|
+
};
|
|
7001
7081
|
|
|
7002
7082
|
/**
|
|
7003
7083
|
* Represents a log entry in the webhooks activity list.
|
|
@@ -7005,12 +7085,12 @@ export interface WebhookDestroyTargetSchema {
|
|
|
7005
7085
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
7006
7086
|
* "webhook_call".
|
|
7007
7087
|
*/
|
|
7008
|
-
export
|
|
7088
|
+
export type WebhookCall = {
|
|
7009
7089
|
type: WebhookCallType;
|
|
7010
7090
|
id: WebhookCallIdentity;
|
|
7011
7091
|
attributes: WebhookCallAttributes;
|
|
7012
7092
|
relationships: WebhookCallRelationships;
|
|
7013
|
-
}
|
|
7093
|
+
};
|
|
7014
7094
|
|
|
7015
7095
|
/**
|
|
7016
7096
|
* JSON API attributes
|
|
@@ -7018,7 +7098,7 @@ export interface WebhookCall {
|
|
|
7018
7098
|
* This interface was referenced by `WebhookCall`'s JSON-Schema via the
|
|
7019
7099
|
* `definition` "attributes".
|
|
7020
7100
|
*/
|
|
7021
|
-
export
|
|
7101
|
+
export type WebhookCallAttributes = {
|
|
7022
7102
|
/** The subject of webhook triggering */
|
|
7023
7103
|
entity_type: 'item' | 'item_type' | 'upload';
|
|
7024
7104
|
/** The event that triggers the webhook call */
|
|
@@ -7041,7 +7121,7 @@ export interface WebhookCallAttributes {
|
|
|
7041
7121
|
};
|
|
7042
7122
|
/** The body of the response */
|
|
7043
7123
|
response_payload: string | null;
|
|
7044
|
-
}
|
|
7124
|
+
};
|
|
7045
7125
|
|
|
7046
7126
|
/**
|
|
7047
7127
|
* JSON API links
|
|
@@ -7049,12 +7129,12 @@ export interface WebhookCallAttributes {
|
|
|
7049
7129
|
* This interface was referenced by `WebhookCall`'s JSON-Schema via the
|
|
7050
7130
|
* `definition` "relationships".
|
|
7051
7131
|
*/
|
|
7052
|
-
export
|
|
7132
|
+
export type WebhookCallRelationships = {
|
|
7053
7133
|
/** The webhook which has been called */
|
|
7054
7134
|
webhook: {
|
|
7055
7135
|
data: WebhookData;
|
|
7056
7136
|
};
|
|
7057
|
-
}
|
|
7137
|
+
};
|
|
7058
7138
|
|
|
7059
7139
|
/**
|
|
7060
7140
|
* JSON API data
|
|
@@ -7062,21 +7142,21 @@ export interface WebhookCallRelationships {
|
|
|
7062
7142
|
* This interface was referenced by `WebhookCall`'s JSON-Schema via the
|
|
7063
7143
|
* `definition` "data".
|
|
7064
7144
|
*/
|
|
7065
|
-
export
|
|
7145
|
+
export type WebhookCallData = {
|
|
7066
7146
|
type: WebhookCallType;
|
|
7067
7147
|
id: WebhookCallIdentity;
|
|
7068
|
-
}
|
|
7148
|
+
};
|
|
7069
7149
|
|
|
7070
7150
|
/**
|
|
7071
7151
|
* This interface was referenced by `WebhookCall`'s JSON-Schema via the
|
|
7072
7152
|
* `instances.targetSchema` link.
|
|
7073
7153
|
*/
|
|
7074
|
-
export
|
|
7154
|
+
export type WebhookCallInstancesTargetSchema = {
|
|
7075
7155
|
data: WebhookCall[];
|
|
7076
7156
|
meta: {
|
|
7077
7157
|
total_count: number;
|
|
7078
7158
|
};
|
|
7079
|
-
}
|
|
7159
|
+
};
|
|
7080
7160
|
|
|
7081
7161
|
/**
|
|
7082
7162
|
* Configuration for different build triggers. You can have different staging
|
|
@@ -7085,11 +7165,11 @@ export interface WebhookCallInstancesTargetSchema {
|
|
|
7085
7165
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
7086
7166
|
* "build_trigger".
|
|
7087
7167
|
*/
|
|
7088
|
-
export
|
|
7168
|
+
export type BuildTrigger = {
|
|
7089
7169
|
type: BuildTriggerType;
|
|
7090
7170
|
id: BuildTriggerIdentity;
|
|
7091
7171
|
attributes: BuildTriggerAttributes;
|
|
7092
|
-
}
|
|
7172
|
+
};
|
|
7093
7173
|
|
|
7094
7174
|
/**
|
|
7095
7175
|
* JSON API attributes
|
|
@@ -7097,7 +7177,7 @@ export interface BuildTrigger {
|
|
|
7097
7177
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema via the
|
|
7098
7178
|
* `definition` "attributes".
|
|
7099
7179
|
*/
|
|
7100
|
-
export
|
|
7180
|
+
export type BuildTriggerAttributes = {
|
|
7101
7181
|
/** Name of the environment */
|
|
7102
7182
|
name: string;
|
|
7103
7183
|
/** The deploy adapter */
|
|
@@ -7122,29 +7202,29 @@ export interface BuildTriggerAttributes {
|
|
|
7122
7202
|
autotrigger_on_scheduled_publications: boolean;
|
|
7123
7203
|
/** Enable scraper on the site */
|
|
7124
7204
|
indexing_enabled: boolean;
|
|
7125
|
-
}
|
|
7205
|
+
};
|
|
7126
7206
|
|
|
7127
7207
|
/**
|
|
7128
7208
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema via the
|
|
7129
7209
|
* `instances.targetSchema` link.
|
|
7130
7210
|
*/
|
|
7131
|
-
export
|
|
7211
|
+
export type BuildTriggerInstancesTargetSchema = {
|
|
7132
7212
|
data: BuildTrigger[];
|
|
7133
|
-
}
|
|
7213
|
+
};
|
|
7134
7214
|
|
|
7135
7215
|
/**
|
|
7136
7216
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema via the
|
|
7137
7217
|
* `self.targetSchema` link.
|
|
7138
7218
|
*/
|
|
7139
|
-
export
|
|
7219
|
+
export type BuildTriggerSelfTargetSchema = {
|
|
7140
7220
|
data: BuildTrigger;
|
|
7141
|
-
}
|
|
7221
|
+
};
|
|
7142
7222
|
|
|
7143
7223
|
/**
|
|
7144
7224
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema via the
|
|
7145
7225
|
* `create.schema` link.
|
|
7146
7226
|
*/
|
|
7147
|
-
export
|
|
7227
|
+
export type BuildTriggerCreateSchema = {
|
|
7148
7228
|
data: {
|
|
7149
7229
|
type: BuildTriggerType;
|
|
7150
7230
|
attributes: {
|
|
@@ -7166,21 +7246,21 @@ export interface BuildTriggerCreateSchema {
|
|
|
7166
7246
|
};
|
|
7167
7247
|
};
|
|
7168
7248
|
};
|
|
7169
|
-
}
|
|
7249
|
+
};
|
|
7170
7250
|
|
|
7171
7251
|
/**
|
|
7172
7252
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema via the
|
|
7173
7253
|
* `create.targetSchema` link.
|
|
7174
7254
|
*/
|
|
7175
|
-
export
|
|
7255
|
+
export type BuildTriggerCreateTargetSchema = {
|
|
7176
7256
|
data: BuildTrigger;
|
|
7177
|
-
}
|
|
7257
|
+
};
|
|
7178
7258
|
|
|
7179
7259
|
/**
|
|
7180
7260
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema via the
|
|
7181
7261
|
* `update.schema` link.
|
|
7182
7262
|
*/
|
|
7183
|
-
export
|
|
7263
|
+
export type BuildTriggerUpdateSchema = {
|
|
7184
7264
|
data: {
|
|
7185
7265
|
type: BuildTriggerType;
|
|
7186
7266
|
id: BuildTriggerIdentity;
|
|
@@ -7201,23 +7281,23 @@ export interface BuildTriggerUpdateSchema {
|
|
|
7201
7281
|
};
|
|
7202
7282
|
};
|
|
7203
7283
|
};
|
|
7204
|
-
}
|
|
7284
|
+
};
|
|
7205
7285
|
|
|
7206
7286
|
/**
|
|
7207
7287
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema via the
|
|
7208
7288
|
* `update.targetSchema` link.
|
|
7209
7289
|
*/
|
|
7210
|
-
export
|
|
7290
|
+
export type BuildTriggerUpdateTargetSchema = {
|
|
7211
7291
|
data: BuildTrigger;
|
|
7212
|
-
}
|
|
7292
|
+
};
|
|
7213
7293
|
|
|
7214
7294
|
/**
|
|
7215
7295
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema via the
|
|
7216
7296
|
* `destroy.targetSchema` link.
|
|
7217
7297
|
*/
|
|
7218
|
-
export
|
|
7298
|
+
export type BuildTriggerDestroyTargetSchema = {
|
|
7219
7299
|
data: BuildTrigger;
|
|
7220
|
-
}
|
|
7300
|
+
};
|
|
7221
7301
|
|
|
7222
7302
|
/**
|
|
7223
7303
|
* In DatoCMS you can create filters to help you (and other editors) quickly
|
|
@@ -7226,12 +7306,12 @@ export interface BuildTriggerDestroyTargetSchema {
|
|
|
7226
7306
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
7227
7307
|
* "item_type_filter".
|
|
7228
7308
|
*/
|
|
7229
|
-
export
|
|
7309
|
+
export type ItemTypeFilter = {
|
|
7230
7310
|
type: ItemTypeFilterType;
|
|
7231
7311
|
id: ItemTypeFilterIdentity;
|
|
7232
7312
|
attributes: ItemTypeFilterAttributes;
|
|
7233
7313
|
relationships: ItemTypeFilterRelationships;
|
|
7234
|
-
}
|
|
7314
|
+
};
|
|
7235
7315
|
|
|
7236
7316
|
/**
|
|
7237
7317
|
* JSON API attributes
|
|
@@ -7239,7 +7319,7 @@ export interface ItemTypeFilter {
|
|
|
7239
7319
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema via the
|
|
7240
7320
|
* `definition` "attributes".
|
|
7241
7321
|
*/
|
|
7242
|
-
export
|
|
7322
|
+
export type ItemTypeFilterAttributes = {
|
|
7243
7323
|
/** The name of the filter */
|
|
7244
7324
|
name: string;
|
|
7245
7325
|
/**
|
|
@@ -7292,7 +7372,7 @@ export interface ItemTypeFilterAttributes {
|
|
|
7292
7372
|
order_by: string | null;
|
|
7293
7373
|
/** Whether it's a shared filter or not */
|
|
7294
7374
|
shared: boolean;
|
|
7295
|
-
}
|
|
7375
|
+
};
|
|
7296
7376
|
|
|
7297
7377
|
/**
|
|
7298
7378
|
* JSON API links
|
|
@@ -7300,18 +7380,18 @@ export interface ItemTypeFilterAttributes {
|
|
|
7300
7380
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema via the
|
|
7301
7381
|
* `definition` "relationships".
|
|
7302
7382
|
*/
|
|
7303
|
-
export
|
|
7383
|
+
export type ItemTypeFilterRelationships = {
|
|
7304
7384
|
/** Model associated with the filter */
|
|
7305
7385
|
item_type: {
|
|
7306
7386
|
data: ItemTypeData;
|
|
7307
7387
|
};
|
|
7308
|
-
}
|
|
7388
|
+
};
|
|
7309
7389
|
|
|
7310
7390
|
/**
|
|
7311
7391
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema via the
|
|
7312
7392
|
* `create.schema` link.
|
|
7313
7393
|
*/
|
|
7314
|
-
export
|
|
7394
|
+
export type ItemTypeFilterCreateSchema = {
|
|
7315
7395
|
data: {
|
|
7316
7396
|
type: ItemTypeFilterType;
|
|
7317
7397
|
attributes: {
|
|
@@ -7375,21 +7455,21 @@ export interface ItemTypeFilterCreateSchema {
|
|
|
7375
7455
|
};
|
|
7376
7456
|
};
|
|
7377
7457
|
};
|
|
7378
|
-
}
|
|
7458
|
+
};
|
|
7379
7459
|
|
|
7380
7460
|
/**
|
|
7381
7461
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema via the
|
|
7382
7462
|
* `create.targetSchema` link.
|
|
7383
7463
|
*/
|
|
7384
|
-
export
|
|
7464
|
+
export type ItemTypeFilterCreateTargetSchema = {
|
|
7385
7465
|
data: ItemTypeFilter;
|
|
7386
|
-
}
|
|
7466
|
+
};
|
|
7387
7467
|
|
|
7388
7468
|
/**
|
|
7389
7469
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema via the
|
|
7390
7470
|
* `update.schema` link.
|
|
7391
7471
|
*/
|
|
7392
|
-
export
|
|
7472
|
+
export type ItemTypeFilterUpdateSchema = {
|
|
7393
7473
|
data: {
|
|
7394
7474
|
type: ItemTypeFilterType;
|
|
7395
7475
|
id: ItemTypeFilterIdentity;
|
|
@@ -7455,39 +7535,39 @@ export interface ItemTypeFilterUpdateSchema {
|
|
|
7455
7535
|
};
|
|
7456
7536
|
};
|
|
7457
7537
|
};
|
|
7458
|
-
}
|
|
7538
|
+
};
|
|
7459
7539
|
|
|
7460
7540
|
/**
|
|
7461
7541
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema via the
|
|
7462
7542
|
* `update.targetSchema` link.
|
|
7463
7543
|
*/
|
|
7464
|
-
export
|
|
7544
|
+
export type ItemTypeFilterUpdateTargetSchema = {
|
|
7465
7545
|
data: ItemTypeFilter;
|
|
7466
|
-
}
|
|
7546
|
+
};
|
|
7467
7547
|
|
|
7468
7548
|
/**
|
|
7469
7549
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema via the
|
|
7470
7550
|
* `instances.targetSchema` link.
|
|
7471
7551
|
*/
|
|
7472
|
-
export
|
|
7552
|
+
export type ItemTypeFilterInstancesTargetSchema = {
|
|
7473
7553
|
data: ItemTypeFilter[];
|
|
7474
|
-
}
|
|
7554
|
+
};
|
|
7475
7555
|
|
|
7476
7556
|
/**
|
|
7477
7557
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema via the
|
|
7478
7558
|
* `self.targetSchema` link.
|
|
7479
7559
|
*/
|
|
7480
|
-
export
|
|
7560
|
+
export type ItemTypeFilterSelfTargetSchema = {
|
|
7481
7561
|
data: ItemTypeFilter;
|
|
7482
|
-
}
|
|
7562
|
+
};
|
|
7483
7563
|
|
|
7484
7564
|
/**
|
|
7485
7565
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema via the
|
|
7486
7566
|
* `destroy.targetSchema` link.
|
|
7487
7567
|
*/
|
|
7488
|
-
export
|
|
7568
|
+
export type ItemTypeFilterDestroyTargetSchema = {
|
|
7489
7569
|
data: ItemTypeFilter;
|
|
7490
|
-
}
|
|
7570
|
+
};
|
|
7491
7571
|
|
|
7492
7572
|
/**
|
|
7493
7573
|
* In DatoCMS you can create filters to help you (and other editors) quickly
|
|
@@ -7496,11 +7576,11 @@ export interface ItemTypeFilterDestroyTargetSchema {
|
|
|
7496
7576
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
7497
7577
|
* "upload_filter".
|
|
7498
7578
|
*/
|
|
7499
|
-
export
|
|
7579
|
+
export type UploadFilter = {
|
|
7500
7580
|
type: UploadFilterType;
|
|
7501
7581
|
id: UploadFilterIdentity;
|
|
7502
7582
|
attributes: UploadFilterAttributes;
|
|
7503
|
-
}
|
|
7583
|
+
};
|
|
7504
7584
|
|
|
7505
7585
|
/**
|
|
7506
7586
|
* JSON API attributes
|
|
@@ -7508,7 +7588,7 @@ export interface UploadFilter {
|
|
|
7508
7588
|
* This interface was referenced by `UploadFilter`'s JSON-Schema via the
|
|
7509
7589
|
* `definition` "attributes".
|
|
7510
7590
|
*/
|
|
7511
|
-
export
|
|
7591
|
+
export type UploadFilterAttributes = {
|
|
7512
7592
|
/** The name of the filter */
|
|
7513
7593
|
name: string;
|
|
7514
7594
|
/** The actual filter */
|
|
@@ -7517,7 +7597,7 @@ export interface UploadFilterAttributes {
|
|
|
7517
7597
|
};
|
|
7518
7598
|
/** Whether it's a shared filter or not */
|
|
7519
7599
|
shared: boolean;
|
|
7520
|
-
}
|
|
7600
|
+
};
|
|
7521
7601
|
|
|
7522
7602
|
/**
|
|
7523
7603
|
* JSON API data
|
|
@@ -7525,16 +7605,16 @@ export interface UploadFilterAttributes {
|
|
|
7525
7605
|
* This interface was referenced by `UploadFilter`'s JSON-Schema via the
|
|
7526
7606
|
* `definition` "data".
|
|
7527
7607
|
*/
|
|
7528
|
-
export
|
|
7608
|
+
export type UploadFilterData = {
|
|
7529
7609
|
type: UploadFilterType;
|
|
7530
7610
|
id: UploadFilterIdentity;
|
|
7531
|
-
}
|
|
7611
|
+
};
|
|
7532
7612
|
|
|
7533
7613
|
/**
|
|
7534
7614
|
* This interface was referenced by `UploadFilter`'s JSON-Schema via the
|
|
7535
7615
|
* `create.schema` link.
|
|
7536
7616
|
*/
|
|
7537
|
-
export
|
|
7617
|
+
export type UploadFilterCreateSchema = {
|
|
7538
7618
|
data: {
|
|
7539
7619
|
type: UploadFilterType;
|
|
7540
7620
|
/** JSON API attributes */
|
|
@@ -7549,21 +7629,21 @@ export interface UploadFilterCreateSchema {
|
|
|
7549
7629
|
shared: boolean;
|
|
7550
7630
|
};
|
|
7551
7631
|
};
|
|
7552
|
-
}
|
|
7632
|
+
};
|
|
7553
7633
|
|
|
7554
7634
|
/**
|
|
7555
7635
|
* This interface was referenced by `UploadFilter`'s JSON-Schema via the
|
|
7556
7636
|
* `create.targetSchema` link.
|
|
7557
7637
|
*/
|
|
7558
|
-
export
|
|
7638
|
+
export type UploadFilterCreateTargetSchema = {
|
|
7559
7639
|
data: UploadFilter;
|
|
7560
|
-
}
|
|
7640
|
+
};
|
|
7561
7641
|
|
|
7562
7642
|
/**
|
|
7563
7643
|
* This interface was referenced by `UploadFilter`'s JSON-Schema via the
|
|
7564
7644
|
* `update.schema` link.
|
|
7565
7645
|
*/
|
|
7566
|
-
export
|
|
7646
|
+
export type UploadFilterUpdateSchema = {
|
|
7567
7647
|
data: {
|
|
7568
7648
|
type: UploadFilterType;
|
|
7569
7649
|
id: UploadFilterIdentity;
|
|
@@ -7579,39 +7659,39 @@ export interface UploadFilterUpdateSchema {
|
|
|
7579
7659
|
};
|
|
7580
7660
|
};
|
|
7581
7661
|
};
|
|
7582
|
-
}
|
|
7662
|
+
};
|
|
7583
7663
|
|
|
7584
7664
|
/**
|
|
7585
7665
|
* This interface was referenced by `UploadFilter`'s JSON-Schema via the
|
|
7586
7666
|
* `update.targetSchema` link.
|
|
7587
7667
|
*/
|
|
7588
|
-
export
|
|
7668
|
+
export type UploadFilterUpdateTargetSchema = {
|
|
7589
7669
|
data: UploadFilter;
|
|
7590
|
-
}
|
|
7670
|
+
};
|
|
7591
7671
|
|
|
7592
7672
|
/**
|
|
7593
7673
|
* This interface was referenced by `UploadFilter`'s JSON-Schema via the
|
|
7594
7674
|
* `instances.targetSchema` link.
|
|
7595
7675
|
*/
|
|
7596
|
-
export
|
|
7676
|
+
export type UploadFilterInstancesTargetSchema = {
|
|
7597
7677
|
data: UploadFilter[];
|
|
7598
|
-
}
|
|
7678
|
+
};
|
|
7599
7679
|
|
|
7600
7680
|
/**
|
|
7601
7681
|
* This interface was referenced by `UploadFilter`'s JSON-Schema via the
|
|
7602
7682
|
* `self.targetSchema` link.
|
|
7603
7683
|
*/
|
|
7604
|
-
export
|
|
7684
|
+
export type UploadFilterSelfTargetSchema = {
|
|
7605
7685
|
data: UploadFilter;
|
|
7606
|
-
}
|
|
7686
|
+
};
|
|
7607
7687
|
|
|
7608
7688
|
/**
|
|
7609
7689
|
* This interface was referenced by `UploadFilter`'s JSON-Schema via the
|
|
7610
7690
|
* `destroy.targetSchema` link.
|
|
7611
7691
|
*/
|
|
7612
|
-
export
|
|
7692
|
+
export type UploadFilterDestroyTargetSchema = {
|
|
7613
7693
|
data: UploadFilter;
|
|
7614
|
-
}
|
|
7694
|
+
};
|
|
7615
7695
|
|
|
7616
7696
|
/**
|
|
7617
7697
|
* A DatoCMS administrative area can be accessed by multiple people. Every
|
|
@@ -7621,12 +7701,12 @@ export interface UploadFilterDestroyTargetSchema {
|
|
|
7621
7701
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
7622
7702
|
* "site_invitation".
|
|
7623
7703
|
*/
|
|
7624
|
-
export
|
|
7704
|
+
export type SiteInvitation = {
|
|
7625
7705
|
type: SiteInvitationType;
|
|
7626
7706
|
id: SiteInvitationIdentity;
|
|
7627
7707
|
attributes: SiteInvitationAttributes;
|
|
7628
7708
|
relationships: SiteInvitationRelationships;
|
|
7629
|
-
}
|
|
7709
|
+
};
|
|
7630
7710
|
|
|
7631
7711
|
/**
|
|
7632
7712
|
* JSON API attributes
|
|
@@ -7634,12 +7714,12 @@ export interface SiteInvitation {
|
|
|
7634
7714
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema via the
|
|
7635
7715
|
* `definition` "attributes".
|
|
7636
7716
|
*/
|
|
7637
|
-
export
|
|
7717
|
+
export type SiteInvitationAttributes = {
|
|
7638
7718
|
/** Email */
|
|
7639
7719
|
email: string;
|
|
7640
7720
|
/** Whether this invitation has expired */
|
|
7641
7721
|
expired: boolean;
|
|
7642
|
-
}
|
|
7722
|
+
};
|
|
7643
7723
|
|
|
7644
7724
|
/**
|
|
7645
7725
|
* JSON API links
|
|
@@ -7647,12 +7727,12 @@ export interface SiteInvitationAttributes {
|
|
|
7647
7727
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema via the
|
|
7648
7728
|
* `definition` "relationships".
|
|
7649
7729
|
*/
|
|
7650
|
-
export
|
|
7730
|
+
export type SiteInvitationRelationships = {
|
|
7651
7731
|
/** Role */
|
|
7652
7732
|
role: {
|
|
7653
7733
|
data: RoleData;
|
|
7654
7734
|
};
|
|
7655
|
-
}
|
|
7735
|
+
};
|
|
7656
7736
|
|
|
7657
7737
|
/**
|
|
7658
7738
|
* JSON API data
|
|
@@ -7660,16 +7740,16 @@ export interface SiteInvitationRelationships {
|
|
|
7660
7740
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema via the
|
|
7661
7741
|
* `definition` "data".
|
|
7662
7742
|
*/
|
|
7663
|
-
export
|
|
7743
|
+
export type SiteInvitationData = {
|
|
7664
7744
|
type: SiteInvitationType;
|
|
7665
7745
|
id: SiteInvitationIdentity;
|
|
7666
|
-
}
|
|
7746
|
+
};
|
|
7667
7747
|
|
|
7668
7748
|
/**
|
|
7669
7749
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema via the
|
|
7670
7750
|
* `create.schema` link.
|
|
7671
7751
|
*/
|
|
7672
|
-
export
|
|
7752
|
+
export type SiteInvitationCreateSchema = {
|
|
7673
7753
|
data: {
|
|
7674
7754
|
type: SiteInvitationType;
|
|
7675
7755
|
attributes: {
|
|
@@ -7683,21 +7763,21 @@ export interface SiteInvitationCreateSchema {
|
|
|
7683
7763
|
};
|
|
7684
7764
|
};
|
|
7685
7765
|
};
|
|
7686
|
-
}
|
|
7766
|
+
};
|
|
7687
7767
|
|
|
7688
7768
|
/**
|
|
7689
7769
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema via the
|
|
7690
7770
|
* `create.targetSchema` link.
|
|
7691
7771
|
*/
|
|
7692
|
-
export
|
|
7772
|
+
export type SiteInvitationCreateTargetSchema = {
|
|
7693
7773
|
data: SiteInvitation;
|
|
7694
|
-
}
|
|
7774
|
+
};
|
|
7695
7775
|
|
|
7696
7776
|
/**
|
|
7697
7777
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema via the
|
|
7698
7778
|
* `update.schema` link.
|
|
7699
7779
|
*/
|
|
7700
|
-
export
|
|
7780
|
+
export type SiteInvitationUpdateSchema = {
|
|
7701
7781
|
data: {
|
|
7702
7782
|
type: SiteInvitationType;
|
|
7703
7783
|
id: SiteInvitationIdentity;
|
|
@@ -7708,39 +7788,39 @@ export interface SiteInvitationUpdateSchema {
|
|
|
7708
7788
|
};
|
|
7709
7789
|
};
|
|
7710
7790
|
};
|
|
7711
|
-
}
|
|
7791
|
+
};
|
|
7712
7792
|
|
|
7713
7793
|
/**
|
|
7714
7794
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema via the
|
|
7715
7795
|
* `update.targetSchema` link.
|
|
7716
7796
|
*/
|
|
7717
|
-
export
|
|
7797
|
+
export type SiteInvitationUpdateTargetSchema = {
|
|
7718
7798
|
data: SiteInvitation;
|
|
7719
|
-
}
|
|
7799
|
+
};
|
|
7720
7800
|
|
|
7721
7801
|
/**
|
|
7722
7802
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema via the
|
|
7723
7803
|
* `instances.targetSchema` link.
|
|
7724
7804
|
*/
|
|
7725
|
-
export
|
|
7805
|
+
export type SiteInvitationInstancesTargetSchema = {
|
|
7726
7806
|
data: SiteInvitation[];
|
|
7727
|
-
}
|
|
7807
|
+
};
|
|
7728
7808
|
|
|
7729
7809
|
/**
|
|
7730
7810
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema via the
|
|
7731
7811
|
* `self.targetSchema` link.
|
|
7732
7812
|
*/
|
|
7733
|
-
export
|
|
7813
|
+
export type SiteInvitationSelfTargetSchema = {
|
|
7734
7814
|
data: SiteInvitation;
|
|
7735
|
-
}
|
|
7815
|
+
};
|
|
7736
7816
|
|
|
7737
7817
|
/**
|
|
7738
7818
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema via the
|
|
7739
7819
|
* `destroy.targetSchema` link.
|
|
7740
7820
|
*/
|
|
7741
|
-
export
|
|
7821
|
+
export type SiteInvitationDestroyTargetSchema = {
|
|
7742
7822
|
data: SiteInvitation;
|
|
7743
|
-
}
|
|
7823
|
+
};
|
|
7744
7824
|
|
|
7745
7825
|
/**
|
|
7746
7826
|
* Session track users movements in the administrative area, and allows locking
|
|
@@ -7749,12 +7829,12 @@ export interface SiteInvitationDestroyTargetSchema {
|
|
|
7749
7829
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
7750
7830
|
* "editing_session".
|
|
7751
7831
|
*/
|
|
7752
|
-
export
|
|
7832
|
+
export type EditingSession = {
|
|
7753
7833
|
type: EditingSessionType;
|
|
7754
7834
|
id: EditingSessionIdentity;
|
|
7755
7835
|
attributes: EditingSessionAttributes;
|
|
7756
7836
|
relationships: EditingSessionRelationships;
|
|
7757
|
-
}
|
|
7837
|
+
};
|
|
7758
7838
|
|
|
7759
7839
|
/**
|
|
7760
7840
|
* JSON API attributes
|
|
@@ -7762,12 +7842,12 @@ export interface EditingSession {
|
|
|
7762
7842
|
* This interface was referenced by `EditingSession`'s JSON-Schema via the
|
|
7763
7843
|
* `definition` "attributes".
|
|
7764
7844
|
*/
|
|
7765
|
-
export
|
|
7845
|
+
export type EditingSessionAttributes = {
|
|
7766
7846
|
/** User entered at */
|
|
7767
7847
|
last_activity_at: string | null;
|
|
7768
7848
|
/** User locked record at */
|
|
7769
7849
|
locked_at: string | null;
|
|
7770
|
-
}
|
|
7850
|
+
};
|
|
7771
7851
|
|
|
7772
7852
|
/**
|
|
7773
7853
|
* JSON API links
|
|
@@ -7775,7 +7855,7 @@ export interface EditingSessionAttributes {
|
|
|
7775
7855
|
* This interface was referenced by `EditingSession`'s JSON-Schema via the
|
|
7776
7856
|
* `definition` "relationships".
|
|
7777
7857
|
*/
|
|
7778
|
-
export
|
|
7858
|
+
export type EditingSessionRelationships = {
|
|
7779
7859
|
/** The active item in the session */
|
|
7780
7860
|
active_item: {
|
|
7781
7861
|
data: ItemData;
|
|
@@ -7788,7 +7868,7 @@ export interface EditingSessionRelationships {
|
|
|
7788
7868
|
editor: {
|
|
7789
7869
|
data: AccountData | AccessTokenData | UserData;
|
|
7790
7870
|
};
|
|
7791
|
-
}
|
|
7871
|
+
};
|
|
7792
7872
|
|
|
7793
7873
|
/**
|
|
7794
7874
|
* JSON API data
|
|
@@ -7796,24 +7876,24 @@ export interface EditingSessionRelationships {
|
|
|
7796
7876
|
* This interface was referenced by `EditingSession`'s JSON-Schema via the
|
|
7797
7877
|
* `definition` "data".
|
|
7798
7878
|
*/
|
|
7799
|
-
export
|
|
7879
|
+
export type EditingSessionData = {
|
|
7800
7880
|
type: EditingSessionType;
|
|
7801
7881
|
id: EditingSessionIdentity;
|
|
7802
|
-
}
|
|
7882
|
+
};
|
|
7803
7883
|
|
|
7804
7884
|
/**
|
|
7805
7885
|
* This interface was referenced by `EditingSession`'s JSON-Schema via the
|
|
7806
7886
|
* `instances.targetSchema` link.
|
|
7807
7887
|
*/
|
|
7808
|
-
export
|
|
7888
|
+
export type EditingSessionInstancesTargetSchema = {
|
|
7809
7889
|
data: EditingSession[];
|
|
7810
|
-
}
|
|
7890
|
+
};
|
|
7811
7891
|
|
|
7812
7892
|
/**
|
|
7813
7893
|
* This interface was referenced by `EditingSession`'s JSON-Schema via the
|
|
7814
7894
|
* `update.schema` link.
|
|
7815
7895
|
*/
|
|
7816
|
-
export
|
|
7896
|
+
export type EditingSessionUpdateSchema = {
|
|
7817
7897
|
data:
|
|
7818
7898
|
| {
|
|
7819
7899
|
/** JSON API type */
|
|
@@ -7852,23 +7932,23 @@ export interface EditingSessionUpdateSchema {
|
|
|
7852
7932
|
/** JSON API type */
|
|
7853
7933
|
type: 'editing_session_unlock_item';
|
|
7854
7934
|
};
|
|
7855
|
-
}
|
|
7935
|
+
};
|
|
7856
7936
|
|
|
7857
7937
|
/**
|
|
7858
7938
|
* This interface was referenced by `EditingSession`'s JSON-Schema via the
|
|
7859
7939
|
* `update.targetSchema` link.
|
|
7860
7940
|
*/
|
|
7861
|
-
export
|
|
7941
|
+
export type EditingSessionUpdateTargetSchema = {
|
|
7862
7942
|
data: EditingSession;
|
|
7863
|
-
}
|
|
7943
|
+
};
|
|
7864
7944
|
|
|
7865
7945
|
/**
|
|
7866
7946
|
* This interface was referenced by `EditingSession`'s JSON-Schema via the
|
|
7867
7947
|
* `destroy.targetSchema` link.
|
|
7868
7948
|
*/
|
|
7869
|
-
export
|
|
7949
|
+
export type EditingSessionDestroyTargetSchema = {
|
|
7870
7950
|
data: EditingSession;
|
|
7871
|
-
}
|
|
7951
|
+
};
|
|
7872
7952
|
|
|
7873
7953
|
/**
|
|
7874
7954
|
* A Single Sign-On group exists when a DatoCMS project is connected to an
|
|
@@ -7878,12 +7958,12 @@ export interface EditingSessionDestroyTargetSchema {
|
|
|
7878
7958
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
7879
7959
|
* "sso_group".
|
|
7880
7960
|
*/
|
|
7881
|
-
export
|
|
7961
|
+
export type SsoGroup = {
|
|
7882
7962
|
type: SsoGroupType;
|
|
7883
7963
|
id: SsoGroupIdentity;
|
|
7884
7964
|
attributes: SsoGroupAttributes;
|
|
7885
7965
|
relationships: SsoGroupRelationships;
|
|
7886
|
-
}
|
|
7966
|
+
};
|
|
7887
7967
|
|
|
7888
7968
|
/**
|
|
7889
7969
|
* JSON API attributes
|
|
@@ -7891,7 +7971,7 @@ export interface SsoGroup {
|
|
|
7891
7971
|
* This interface was referenced by `SsoGroup`'s JSON-Schema via the
|
|
7892
7972
|
* `definition` "attributes".
|
|
7893
7973
|
*/
|
|
7894
|
-
export
|
|
7974
|
+
export type SsoGroupAttributes = {
|
|
7895
7975
|
/** Name of the group */
|
|
7896
7976
|
name: string;
|
|
7897
7977
|
/**
|
|
@@ -7899,7 +7979,7 @@ export interface SsoGroupAttributes {
|
|
|
7899
7979
|
* with the highest priority will be used
|
|
7900
7980
|
*/
|
|
7901
7981
|
priority: number;
|
|
7902
|
-
}
|
|
7982
|
+
};
|
|
7903
7983
|
|
|
7904
7984
|
/**
|
|
7905
7985
|
* JSON API links
|
|
@@ -7907,7 +7987,7 @@ export interface SsoGroupAttributes {
|
|
|
7907
7987
|
* This interface was referenced by `SsoGroup`'s JSON-Schema via the
|
|
7908
7988
|
* `definition` "relationships".
|
|
7909
7989
|
*/
|
|
7910
|
-
export
|
|
7990
|
+
export type SsoGroupRelationships = {
|
|
7911
7991
|
/** Sso Group's role */
|
|
7912
7992
|
role: {
|
|
7913
7993
|
data: RoleData;
|
|
@@ -7916,29 +7996,29 @@ export interface SsoGroupRelationships {
|
|
|
7916
7996
|
users: {
|
|
7917
7997
|
data: SsoUserData[];
|
|
7918
7998
|
};
|
|
7919
|
-
}
|
|
7999
|
+
};
|
|
7920
8000
|
|
|
7921
8001
|
/**
|
|
7922
8002
|
* This interface was referenced by `SsoGroup`'s JSON-Schema via the
|
|
7923
8003
|
* `instances.targetSchema` link.
|
|
7924
8004
|
*/
|
|
7925
|
-
export
|
|
8005
|
+
export type SsoGroupInstancesTargetSchema = {
|
|
7926
8006
|
data: SsoGroup[];
|
|
7927
|
-
}
|
|
8007
|
+
};
|
|
7928
8008
|
|
|
7929
8009
|
/**
|
|
7930
8010
|
* This interface was referenced by `SsoGroup`'s JSON-Schema via the
|
|
7931
8011
|
* `copy_roles.targetSchema` link.
|
|
7932
8012
|
*/
|
|
7933
|
-
export
|
|
8013
|
+
export type SsoGroupCopyRolesTargetSchema = {
|
|
7934
8014
|
data: SsoGroup;
|
|
7935
|
-
}
|
|
8015
|
+
};
|
|
7936
8016
|
|
|
7937
8017
|
/**
|
|
7938
8018
|
* This interface was referenced by `SsoGroup`'s JSON-Schema via the
|
|
7939
8019
|
* `update.schema` link.
|
|
7940
8020
|
*/
|
|
7941
|
-
export
|
|
8021
|
+
export type SsoGroupUpdateSchema = {
|
|
7942
8022
|
data: {
|
|
7943
8023
|
type: SsoGroupType;
|
|
7944
8024
|
id: SsoGroupIdentity;
|
|
@@ -7956,23 +8036,23 @@ export interface SsoGroupUpdateSchema {
|
|
|
7956
8036
|
};
|
|
7957
8037
|
};
|
|
7958
8038
|
};
|
|
7959
|
-
}
|
|
8039
|
+
};
|
|
7960
8040
|
|
|
7961
8041
|
/**
|
|
7962
8042
|
* This interface was referenced by `SsoGroup`'s JSON-Schema via the
|
|
7963
8043
|
* `update.targetSchema` link.
|
|
7964
8044
|
*/
|
|
7965
|
-
export
|
|
8045
|
+
export type SsoGroupUpdateTargetSchema = {
|
|
7966
8046
|
data: SsoGroup;
|
|
7967
|
-
}
|
|
8047
|
+
};
|
|
7968
8048
|
|
|
7969
8049
|
/**
|
|
7970
8050
|
* This interface was referenced by `SsoGroup`'s JSON-Schema via the
|
|
7971
8051
|
* `destroy.targetSchema` link.
|
|
7972
8052
|
*/
|
|
7973
|
-
export
|
|
8053
|
+
export type SsoGroupDestroyTargetSchema = {
|
|
7974
8054
|
data: SsoGroup;
|
|
7975
|
-
}
|
|
8055
|
+
};
|
|
7976
8056
|
|
|
7977
8057
|
/**
|
|
7978
8058
|
* Represents the Single Sign-on settings of the current DatoCMS project
|
|
@@ -7980,12 +8060,12 @@ export interface SsoGroupDestroyTargetSchema {
|
|
|
7980
8060
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
7981
8061
|
* "sso_settings".
|
|
7982
8062
|
*/
|
|
7983
|
-
export
|
|
8063
|
+
export type SsoSettings = {
|
|
7984
8064
|
type: SsoSettingsType;
|
|
7985
8065
|
id: SsoSettingsIdentity;
|
|
7986
8066
|
attributes: SsoSettingsAttributes;
|
|
7987
8067
|
relationships: SsoSettingsRelationships;
|
|
7988
|
-
}
|
|
8068
|
+
};
|
|
7989
8069
|
|
|
7990
8070
|
/**
|
|
7991
8071
|
* JSON API attributes
|
|
@@ -7993,7 +8073,7 @@ export interface SsoSettings {
|
|
|
7993
8073
|
* This interface was referenced by `SsoSettings`'s JSON-Schema via the
|
|
7994
8074
|
* `definition` "attributes".
|
|
7995
8075
|
*/
|
|
7996
|
-
export
|
|
8076
|
+
export type SsoSettingsAttributes = {
|
|
7997
8077
|
/** URL of Identity Provider SAML Metadata endpoint */
|
|
7998
8078
|
idp_saml_metadata_url: null | string;
|
|
7999
8079
|
/** Identity Provider SAML Metadata */
|
|
@@ -8010,7 +8090,7 @@ export interface SsoSettingsAttributes {
|
|
|
8010
8090
|
saml_token: string;
|
|
8011
8091
|
/** DatoCMS SCIM API Token */
|
|
8012
8092
|
scim_api_token?: string;
|
|
8013
|
-
}
|
|
8093
|
+
};
|
|
8014
8094
|
|
|
8015
8095
|
/**
|
|
8016
8096
|
* JSON API links
|
|
@@ -8018,12 +8098,12 @@ export interface SsoSettingsAttributes {
|
|
|
8018
8098
|
* This interface was referenced by `SsoSettings`'s JSON-Schema via the
|
|
8019
8099
|
* `definition` "relationships".
|
|
8020
8100
|
*/
|
|
8021
|
-
export
|
|
8101
|
+
export type SsoSettingsRelationships = {
|
|
8022
8102
|
/** The default role assigned to SSO users that do not belong to any SSO group */
|
|
8023
8103
|
default_role: {
|
|
8024
8104
|
data: null | RoleData;
|
|
8025
8105
|
};
|
|
8026
|
-
}
|
|
8106
|
+
};
|
|
8027
8107
|
|
|
8028
8108
|
/**
|
|
8029
8109
|
* JSON API data
|
|
@@ -8031,24 +8111,24 @@ export interface SsoSettingsRelationships {
|
|
|
8031
8111
|
* This interface was referenced by `SsoSettings`'s JSON-Schema via the
|
|
8032
8112
|
* `definition` "data".
|
|
8033
8113
|
*/
|
|
8034
|
-
export
|
|
8114
|
+
export type SsoSettingsData = {
|
|
8035
8115
|
type: SsoSettingsType;
|
|
8036
8116
|
id: SsoSettingsIdentity;
|
|
8037
|
-
}
|
|
8117
|
+
};
|
|
8038
8118
|
|
|
8039
8119
|
/**
|
|
8040
8120
|
* This interface was referenced by `SsoSettings`'s JSON-Schema via the
|
|
8041
8121
|
* `self.targetSchema` link.
|
|
8042
8122
|
*/
|
|
8043
|
-
export
|
|
8123
|
+
export type SsoSettingsSelfTargetSchema = {
|
|
8044
8124
|
data: SsoSettings;
|
|
8045
|
-
}
|
|
8125
|
+
};
|
|
8046
8126
|
|
|
8047
8127
|
/**
|
|
8048
8128
|
* This interface was referenced by `SsoSettings`'s JSON-Schema via the
|
|
8049
8129
|
* `generate_token.targetSchema` link.
|
|
8050
8130
|
*/
|
|
8051
|
-
export
|
|
8131
|
+
export type SsoSettingsGenerateTokenTargetSchema = {
|
|
8052
8132
|
data: {
|
|
8053
8133
|
id: SsoSettingsIdentity;
|
|
8054
8134
|
/** JSON API type field */
|
|
@@ -8059,13 +8139,13 @@ export interface SsoSettingsGenerateTokenTargetSchema {
|
|
|
8059
8139
|
};
|
|
8060
8140
|
[k: string]: unknown;
|
|
8061
8141
|
};
|
|
8062
|
-
}
|
|
8142
|
+
};
|
|
8063
8143
|
|
|
8064
8144
|
/**
|
|
8065
8145
|
* This interface was referenced by `SsoSettings`'s JSON-Schema via the
|
|
8066
8146
|
* `update.schema` link.
|
|
8067
8147
|
*/
|
|
8068
|
-
export
|
|
8148
|
+
export type SsoSettingsUpdateSchema = {
|
|
8069
8149
|
data: {
|
|
8070
8150
|
type: SsoSettingsType;
|
|
8071
8151
|
id?: SsoSettingsIdentity;
|
|
@@ -8085,15 +8165,15 @@ export interface SsoSettingsUpdateSchema {
|
|
|
8085
8165
|
};
|
|
8086
8166
|
};
|
|
8087
8167
|
};
|
|
8088
|
-
}
|
|
8168
|
+
};
|
|
8089
8169
|
|
|
8090
8170
|
/**
|
|
8091
8171
|
* This interface was referenced by `SsoSettings`'s JSON-Schema via the
|
|
8092
8172
|
* `update.targetSchema` link.
|
|
8093
8173
|
*/
|
|
8094
|
-
export
|
|
8174
|
+
export type SsoSettingsUpdateTargetSchema = {
|
|
8095
8175
|
data: SsoSettings;
|
|
8096
|
-
}
|
|
8176
|
+
};
|
|
8097
8177
|
|
|
8098
8178
|
/**
|
|
8099
8179
|
* Represents the white-label settings of the current DatoCMS project
|
|
@@ -8101,11 +8181,11 @@ export interface SsoSettingsUpdateTargetSchema {
|
|
|
8101
8181
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
8102
8182
|
* "white_label_settings".
|
|
8103
8183
|
*/
|
|
8104
|
-
export
|
|
8184
|
+
export type WhiteLabelSettings = {
|
|
8105
8185
|
type: WhiteLabelSettingsType;
|
|
8106
8186
|
id: WhiteLabelSettingsIdentity;
|
|
8107
8187
|
attributes: WhiteLabelSettingsAttributes;
|
|
8108
|
-
}
|
|
8188
|
+
};
|
|
8109
8189
|
|
|
8110
8190
|
/**
|
|
8111
8191
|
* JSON API attributes
|
|
@@ -8113,13 +8193,13 @@ export interface WhiteLabelSettings {
|
|
|
8113
8193
|
* This interface was referenced by `WhiteLabelSettings`'s JSON-Schema via the
|
|
8114
8194
|
* `definition` "attributes".
|
|
8115
8195
|
*/
|
|
8116
|
-
export
|
|
8196
|
+
export type WhiteLabelSettingsAttributes = {
|
|
8117
8197
|
/**
|
|
8118
8198
|
* URL of custom I18n messages. The :locale placeholder represents the current
|
|
8119
8199
|
* DatoCMS UI locale.
|
|
8120
8200
|
*/
|
|
8121
8201
|
custom_i18n_messages_template_url: null | string;
|
|
8122
|
-
}
|
|
8202
|
+
};
|
|
8123
8203
|
|
|
8124
8204
|
/**
|
|
8125
8205
|
* JSON API data
|
|
@@ -8127,24 +8207,24 @@ export interface WhiteLabelSettingsAttributes {
|
|
|
8127
8207
|
* This interface was referenced by `WhiteLabelSettings`'s JSON-Schema via the
|
|
8128
8208
|
* `definition` "data".
|
|
8129
8209
|
*/
|
|
8130
|
-
export
|
|
8210
|
+
export type WhiteLabelSettingsData = {
|
|
8131
8211
|
type: WhiteLabelSettingsType;
|
|
8132
8212
|
id: WhiteLabelSettingsIdentity;
|
|
8133
|
-
}
|
|
8213
|
+
};
|
|
8134
8214
|
|
|
8135
8215
|
/**
|
|
8136
8216
|
* This interface was referenced by `WhiteLabelSettings`'s JSON-Schema via the
|
|
8137
8217
|
* `self.targetSchema` link.
|
|
8138
8218
|
*/
|
|
8139
|
-
export
|
|
8219
|
+
export type WhiteLabelSettingsSelfTargetSchema = {
|
|
8140
8220
|
data: WhiteLabelSettings;
|
|
8141
|
-
}
|
|
8221
|
+
};
|
|
8142
8222
|
|
|
8143
8223
|
/**
|
|
8144
8224
|
* This interface was referenced by `WhiteLabelSettings`'s JSON-Schema via the
|
|
8145
8225
|
* `update.schema` link.
|
|
8146
8226
|
*/
|
|
8147
|
-
export
|
|
8227
|
+
export type WhiteLabelSettingsUpdateSchema = {
|
|
8148
8228
|
data: {
|
|
8149
8229
|
type: WhiteLabelSettingsType;
|
|
8150
8230
|
id?: WhiteLabelSettingsIdentity;
|
|
@@ -8156,15 +8236,15 @@ export interface WhiteLabelSettingsUpdateSchema {
|
|
|
8156
8236
|
custom_i18n_messages_template_url: null | string;
|
|
8157
8237
|
};
|
|
8158
8238
|
};
|
|
8159
|
-
}
|
|
8239
|
+
};
|
|
8160
8240
|
|
|
8161
8241
|
/**
|
|
8162
8242
|
* This interface was referenced by `WhiteLabelSettings`'s JSON-Schema via the
|
|
8163
8243
|
* `update.targetSchema` link.
|
|
8164
8244
|
*/
|
|
8165
|
-
export
|
|
8245
|
+
export type WhiteLabelSettingsUpdateTargetSchema = {
|
|
8166
8246
|
data: WhiteLabelSettings;
|
|
8167
|
-
}
|
|
8247
|
+
};
|
|
8168
8248
|
|
|
8169
8249
|
/**
|
|
8170
8250
|
* Info that can be accessed by unauthorized users
|
|
@@ -8172,11 +8252,11 @@ export interface WhiteLabelSettingsUpdateTargetSchema {
|
|
|
8172
8252
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
8173
8253
|
* "public_info".
|
|
8174
8254
|
*/
|
|
8175
|
-
export
|
|
8255
|
+
export type PublicInfo = {
|
|
8176
8256
|
type: PublicInfoType;
|
|
8177
8257
|
id: PublicInfoIdentity;
|
|
8178
8258
|
attributes: PublicInfoAttributes;
|
|
8179
|
-
}
|
|
8259
|
+
};
|
|
8180
8260
|
|
|
8181
8261
|
/**
|
|
8182
8262
|
* JSON API attributes
|
|
@@ -8184,7 +8264,7 @@ export interface PublicInfo {
|
|
|
8184
8264
|
* This interface was referenced by `PublicInfo`'s JSON-Schema via the
|
|
8185
8265
|
* `definition` "attributes".
|
|
8186
8266
|
*/
|
|
8187
|
-
export
|
|
8267
|
+
export type PublicInfoAttributes = {
|
|
8188
8268
|
/** Site name */
|
|
8189
8269
|
name: string;
|
|
8190
8270
|
/** Specifies the Single Sign-on URL to reach */
|
|
@@ -8237,7 +8317,7 @@ export interface PublicInfoAttributes {
|
|
|
8237
8317
|
maximum_single_upload_bytes: number;
|
|
8238
8318
|
[k: string]: unknown;
|
|
8239
8319
|
};
|
|
8240
|
-
}
|
|
8320
|
+
};
|
|
8241
8321
|
|
|
8242
8322
|
/**
|
|
8243
8323
|
* JSON API data
|
|
@@ -8245,18 +8325,18 @@ export interface PublicInfoAttributes {
|
|
|
8245
8325
|
* This interface was referenced by `PublicInfo`'s JSON-Schema via the
|
|
8246
8326
|
* `definition` "data".
|
|
8247
8327
|
*/
|
|
8248
|
-
export
|
|
8328
|
+
export type PublicInfoData = {
|
|
8249
8329
|
type: PublicInfoType;
|
|
8250
8330
|
id: PublicInfoIdentity;
|
|
8251
|
-
}
|
|
8331
|
+
};
|
|
8252
8332
|
|
|
8253
8333
|
/**
|
|
8254
8334
|
* This interface was referenced by `PublicInfo`'s JSON-Schema via the
|
|
8255
8335
|
* `self.targetSchema` link.
|
|
8256
8336
|
*/
|
|
8257
|
-
export
|
|
8337
|
+
export type PublicInfoSelfTargetSchema = {
|
|
8258
8338
|
data: PublicInfo;
|
|
8259
|
-
}
|
|
8339
|
+
};
|
|
8260
8340
|
|
|
8261
8341
|
/**
|
|
8262
8342
|
* DatoCMS resources usage organized by day
|
|
@@ -8264,11 +8344,11 @@ export interface PublicInfoSelfTargetSchema {
|
|
|
8264
8344
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
8265
8345
|
* "daily_usage".
|
|
8266
8346
|
*/
|
|
8267
|
-
export
|
|
8347
|
+
export type DailyUsage = {
|
|
8268
8348
|
type: DailyUsageType;
|
|
8269
8349
|
id: DailyUsageIdentity;
|
|
8270
8350
|
attributes: DailyUsageAttributes;
|
|
8271
|
-
}
|
|
8351
|
+
};
|
|
8272
8352
|
|
|
8273
8353
|
/**
|
|
8274
8354
|
* JSON API attributes
|
|
@@ -8276,7 +8356,7 @@ export interface DailyUsage {
|
|
|
8276
8356
|
* This interface was referenced by `DailyUsage`'s JSON-Schema via the
|
|
8277
8357
|
* `definition` "attributes".
|
|
8278
8358
|
*/
|
|
8279
|
-
export
|
|
8359
|
+
export type DailyUsageAttributes = {
|
|
8280
8360
|
/** The date the data are referring to */
|
|
8281
8361
|
date: string;
|
|
8282
8362
|
/** Number of API calls to content delivery API */
|
|
@@ -8289,7 +8369,7 @@ export interface DailyUsageAttributes {
|
|
|
8289
8369
|
assets_traffic_bytes: number;
|
|
8290
8370
|
/** Video streaming seconds */
|
|
8291
8371
|
mux_delivered_seconds: number;
|
|
8292
|
-
}
|
|
8372
|
+
};
|
|
8293
8373
|
|
|
8294
8374
|
/**
|
|
8295
8375
|
* JSON API data
|
|
@@ -8297,18 +8377,18 @@ export interface DailyUsageAttributes {
|
|
|
8297
8377
|
* This interface was referenced by `DailyUsage`'s JSON-Schema via the
|
|
8298
8378
|
* `definition` "data".
|
|
8299
8379
|
*/
|
|
8300
|
-
export
|
|
8380
|
+
export type DailyUsageData = {
|
|
8301
8381
|
type: DailyUsageType;
|
|
8302
8382
|
id: DailyUsageIdentity;
|
|
8303
|
-
}
|
|
8383
|
+
};
|
|
8304
8384
|
|
|
8305
8385
|
/**
|
|
8306
8386
|
* This interface was referenced by `DailyUsage`'s JSON-Schema via the
|
|
8307
8387
|
* `instances.targetSchema` link.
|
|
8308
8388
|
*/
|
|
8309
|
-
export
|
|
8389
|
+
export type DailyUsageInstancesTargetSchema = {
|
|
8310
8390
|
data: DailyUsage[];
|
|
8311
|
-
}
|
|
8391
|
+
};
|
|
8312
8392
|
|
|
8313
8393
|
/**
|
|
8314
8394
|
* You can use counters to analyze your project's data consumption over a period
|
|
@@ -8320,11 +8400,11 @@ export interface DailyUsageInstancesTargetSchema {
|
|
|
8320
8400
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
8321
8401
|
* "usage_counter".
|
|
8322
8402
|
*/
|
|
8323
|
-
export
|
|
8403
|
+
export type UsageCounter = {
|
|
8324
8404
|
type: UsageCounterType;
|
|
8325
8405
|
id: UsageCounterIdentity;
|
|
8326
8406
|
attributes: UsageCounterAttributes;
|
|
8327
|
-
}
|
|
8407
|
+
};
|
|
8328
8408
|
|
|
8329
8409
|
/**
|
|
8330
8410
|
* JSON API attributes
|
|
@@ -8332,14 +8412,14 @@ export interface UsageCounter {
|
|
|
8332
8412
|
* This interface was referenced by `UsageCounter`'s JSON-Schema via the
|
|
8333
8413
|
* `definition` "attributes".
|
|
8334
8414
|
*/
|
|
8335
|
-
export
|
|
8415
|
+
export type UsageCounterAttributes = {
|
|
8336
8416
|
result: {
|
|
8337
8417
|
/** Occurrence */
|
|
8338
8418
|
value: string;
|
|
8339
8419
|
/** Counter for the specified occurrence */
|
|
8340
8420
|
counter: number;
|
|
8341
8421
|
}[];
|
|
8342
|
-
}
|
|
8422
|
+
};
|
|
8343
8423
|
|
|
8344
8424
|
/**
|
|
8345
8425
|
* JSON API data
|
|
@@ -8347,18 +8427,18 @@ export interface UsageCounterAttributes {
|
|
|
8347
8427
|
* This interface was referenced by `UsageCounter`'s JSON-Schema via the
|
|
8348
8428
|
* `definition` "data".
|
|
8349
8429
|
*/
|
|
8350
|
-
export
|
|
8430
|
+
export type UsageCounterData = {
|
|
8351
8431
|
type: UsageCounterType;
|
|
8352
8432
|
id: UsageCounterIdentity;
|
|
8353
|
-
}
|
|
8433
|
+
};
|
|
8354
8434
|
|
|
8355
8435
|
/**
|
|
8356
8436
|
* This interface was referenced by `UsageCounter`'s JSON-Schema via the
|
|
8357
8437
|
* `self.targetSchema` link.
|
|
8358
8438
|
*/
|
|
8359
|
-
export
|
|
8439
|
+
export type UsageCounterSelfTargetSchema = {
|
|
8360
8440
|
data: UsageCounter;
|
|
8361
|
-
}
|
|
8441
|
+
};
|
|
8362
8442
|
|
|
8363
8443
|
/**
|
|
8364
8444
|
* All the project's upload tags
|
|
@@ -8366,11 +8446,11 @@ export interface UsageCounterSelfTargetSchema {
|
|
|
8366
8446
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
8367
8447
|
* "upload_tag".
|
|
8368
8448
|
*/
|
|
8369
|
-
export
|
|
8449
|
+
export type UploadTag = {
|
|
8370
8450
|
type: UploadTagType;
|
|
8371
8451
|
id: UploadTagIdentity;
|
|
8372
8452
|
attributes: UploadTagAttributes;
|
|
8373
|
-
}
|
|
8453
|
+
};
|
|
8374
8454
|
|
|
8375
8455
|
/**
|
|
8376
8456
|
* JSON API attributes
|
|
@@ -8378,10 +8458,10 @@ export interface UploadTag {
|
|
|
8378
8458
|
* This interface was referenced by `UploadTag`'s JSON-Schema via the
|
|
8379
8459
|
* `definition` "attributes".
|
|
8380
8460
|
*/
|
|
8381
|
-
export
|
|
8461
|
+
export type UploadTagAttributes = {
|
|
8382
8462
|
/** The tag name */
|
|
8383
8463
|
name: string;
|
|
8384
|
-
}
|
|
8464
|
+
};
|
|
8385
8465
|
|
|
8386
8466
|
/**
|
|
8387
8467
|
* JSON API data
|
|
@@ -8389,27 +8469,27 @@ export interface UploadTagAttributes {
|
|
|
8389
8469
|
* This interface was referenced by `UploadTag`'s JSON-Schema via the
|
|
8390
8470
|
* `definition` "data".
|
|
8391
8471
|
*/
|
|
8392
|
-
export
|
|
8472
|
+
export type UploadTagData = {
|
|
8393
8473
|
type: UploadTagType;
|
|
8394
8474
|
id: UploadTagIdentity;
|
|
8395
|
-
}
|
|
8475
|
+
};
|
|
8396
8476
|
|
|
8397
8477
|
/**
|
|
8398
8478
|
* This interface was referenced by `UploadTag`'s JSON-Schema via the
|
|
8399
8479
|
* `instances.targetSchema` link.
|
|
8400
8480
|
*/
|
|
8401
|
-
export
|
|
8481
|
+
export type UploadTagInstancesTargetSchema = {
|
|
8402
8482
|
data: UploadTag[];
|
|
8403
8483
|
meta: {
|
|
8404
8484
|
total_count: number;
|
|
8405
8485
|
};
|
|
8406
|
-
}
|
|
8486
|
+
};
|
|
8407
8487
|
|
|
8408
8488
|
/**
|
|
8409
8489
|
* This interface was referenced by `UploadTag`'s JSON-Schema via the
|
|
8410
8490
|
* `create.schema` link.
|
|
8411
8491
|
*/
|
|
8412
|
-
export
|
|
8492
|
+
export type UploadTagCreateSchema = {
|
|
8413
8493
|
data: {
|
|
8414
8494
|
type: UploadTagType;
|
|
8415
8495
|
attributes: {
|
|
@@ -8417,15 +8497,15 @@ export interface UploadTagCreateSchema {
|
|
|
8417
8497
|
name: string;
|
|
8418
8498
|
};
|
|
8419
8499
|
};
|
|
8420
|
-
}
|
|
8500
|
+
};
|
|
8421
8501
|
|
|
8422
8502
|
/**
|
|
8423
8503
|
* This interface was referenced by `UploadTag`'s JSON-Schema via the
|
|
8424
8504
|
* `create.targetSchema` link.
|
|
8425
8505
|
*/
|
|
8426
|
-
export
|
|
8506
|
+
export type UploadTagCreateTargetSchema = {
|
|
8427
8507
|
data: UploadTag;
|
|
8428
|
-
}
|
|
8508
|
+
};
|
|
8429
8509
|
|
|
8430
8510
|
/**
|
|
8431
8511
|
* All the site's upload automatically generated tags
|
|
@@ -8433,11 +8513,11 @@ export interface UploadTagCreateTargetSchema {
|
|
|
8433
8513
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
8434
8514
|
* "upload_smart_tag".
|
|
8435
8515
|
*/
|
|
8436
|
-
export
|
|
8516
|
+
export type UploadSmartTag = {
|
|
8437
8517
|
type: UploadSmartTagType;
|
|
8438
8518
|
id: UploadSmartTagIdentity;
|
|
8439
8519
|
attributes: UploadSmartTagAttributes;
|
|
8440
|
-
}
|
|
8520
|
+
};
|
|
8441
8521
|
|
|
8442
8522
|
/**
|
|
8443
8523
|
* JSON API attributes
|
|
@@ -8445,10 +8525,10 @@ export interface UploadSmartTag {
|
|
|
8445
8525
|
* This interface was referenced by `UploadSmartTag`'s JSON-Schema via the
|
|
8446
8526
|
* `definition` "attributes".
|
|
8447
8527
|
*/
|
|
8448
|
-
export
|
|
8528
|
+
export type UploadSmartTagAttributes = {
|
|
8449
8529
|
/** The tag name */
|
|
8450
8530
|
name: string;
|
|
8451
|
-
}
|
|
8531
|
+
};
|
|
8452
8532
|
|
|
8453
8533
|
/**
|
|
8454
8534
|
* JSON API data
|
|
@@ -8456,21 +8536,21 @@ export interface UploadSmartTagAttributes {
|
|
|
8456
8536
|
* This interface was referenced by `UploadSmartTag`'s JSON-Schema via the
|
|
8457
8537
|
* `definition` "data".
|
|
8458
8538
|
*/
|
|
8459
|
-
export
|
|
8539
|
+
export type UploadSmartTagData = {
|
|
8460
8540
|
type: UploadSmartTagType;
|
|
8461
8541
|
id: UploadSmartTagIdentity;
|
|
8462
|
-
}
|
|
8542
|
+
};
|
|
8463
8543
|
|
|
8464
8544
|
/**
|
|
8465
8545
|
* This interface was referenced by `UploadSmartTag`'s JSON-Schema via the
|
|
8466
8546
|
* `instances.targetSchema` link.
|
|
8467
8547
|
*/
|
|
8468
|
-
export
|
|
8548
|
+
export type UploadSmartTagInstancesTargetSchema = {
|
|
8469
8549
|
data: UploadSmartTag[];
|
|
8470
8550
|
meta: {
|
|
8471
8551
|
total_count: number;
|
|
8472
8552
|
};
|
|
8473
|
-
}
|
|
8553
|
+
};
|
|
8474
8554
|
|
|
8475
8555
|
/**
|
|
8476
8556
|
* A site represents a specific DatoCMS administrative area
|
|
@@ -8478,13 +8558,13 @@ export interface UploadSmartTagInstancesTargetSchema {
|
|
|
8478
8558
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
8479
8559
|
* "site".
|
|
8480
8560
|
*/
|
|
8481
|
-
export
|
|
8561
|
+
export type Site = {
|
|
8482
8562
|
type: SiteType;
|
|
8483
8563
|
id: SiteIdentity;
|
|
8484
8564
|
attributes: SiteAttributes;
|
|
8485
8565
|
relationships: SiteRelationships;
|
|
8486
8566
|
meta: SiteMeta;
|
|
8487
|
-
}
|
|
8567
|
+
};
|
|
8488
8568
|
|
|
8489
8569
|
/**
|
|
8490
8570
|
* JSON API attributes
|
|
@@ -8492,7 +8572,7 @@ export interface Site {
|
|
|
8492
8572
|
* This interface was referenced by `Site`'s JSON-Schema via the `definition`
|
|
8493
8573
|
* "attributes".
|
|
8494
8574
|
*/
|
|
8495
|
-
export
|
|
8575
|
+
export type SiteAttributes = {
|
|
8496
8576
|
/** Site name */
|
|
8497
8577
|
name: string;
|
|
8498
8578
|
/** Administrative area custom domain */
|
|
@@ -8575,7 +8655,7 @@ export interface SiteAttributes {
|
|
|
8575
8655
|
twitter_account?: null | string;
|
|
8576
8656
|
[k: string]: unknown;
|
|
8577
8657
|
} | null;
|
|
8578
|
-
}
|
|
8658
|
+
};
|
|
8579
8659
|
|
|
8580
8660
|
/**
|
|
8581
8661
|
* JSON API links
|
|
@@ -8583,15 +8663,18 @@ export interface SiteAttributes {
|
|
|
8583
8663
|
* This interface was referenced by `Site`'s JSON-Schema via the `definition`
|
|
8584
8664
|
* "relationships".
|
|
8585
8665
|
*/
|
|
8586
|
-
export
|
|
8587
|
-
account: {
|
|
8666
|
+
export type SiteRelationships = {
|
|
8667
|
+
account: null | {
|
|
8588
8668
|
data: AccountData;
|
|
8589
8669
|
};
|
|
8670
|
+
owner: {
|
|
8671
|
+
data: AccountData | OrganizationData;
|
|
8672
|
+
};
|
|
8590
8673
|
item_types: {
|
|
8591
8674
|
/** The list item types for the site */
|
|
8592
8675
|
data: ItemTypeData[];
|
|
8593
8676
|
};
|
|
8594
|
-
}
|
|
8677
|
+
};
|
|
8595
8678
|
|
|
8596
8679
|
/**
|
|
8597
8680
|
* Meta attributes
|
|
@@ -8599,10 +8682,10 @@ export interface SiteRelationships {
|
|
|
8599
8682
|
* This interface was referenced by `Site`'s JSON-Schema via the `definition`
|
|
8600
8683
|
* "meta".
|
|
8601
8684
|
*/
|
|
8602
|
-
export
|
|
8685
|
+
export type SiteMeta = {
|
|
8603
8686
|
/** Whether the Improved API Timezone Management option is active or not */
|
|
8604
8687
|
improved_timezone_management: boolean;
|
|
8605
|
-
}
|
|
8688
|
+
};
|
|
8606
8689
|
|
|
8607
8690
|
/**
|
|
8608
8691
|
* JSON API data
|
|
@@ -8610,25 +8693,25 @@ export interface SiteMeta {
|
|
|
8610
8693
|
* This interface was referenced by `Site`'s JSON-Schema via the `definition`
|
|
8611
8694
|
* "data".
|
|
8612
8695
|
*/
|
|
8613
|
-
export
|
|
8696
|
+
export type SiteData = {
|
|
8614
8697
|
type: SiteType;
|
|
8615
8698
|
id: SiteIdentity;
|
|
8616
|
-
}
|
|
8699
|
+
};
|
|
8617
8700
|
|
|
8618
8701
|
/**
|
|
8619
8702
|
* This interface was referenced by `Site`'s JSON-Schema via the
|
|
8620
8703
|
* `self.targetSchema` link.
|
|
8621
8704
|
*/
|
|
8622
|
-
export
|
|
8705
|
+
export type SiteSelfTargetSchema = {
|
|
8623
8706
|
data: Site;
|
|
8624
8707
|
included?: (ItemType | Field | Upload | Fieldset | Item | Account)[];
|
|
8625
|
-
}
|
|
8708
|
+
};
|
|
8626
8709
|
|
|
8627
8710
|
/**
|
|
8628
8711
|
* This interface was referenced by `Site`'s JSON-Schema via the `update.schema`
|
|
8629
8712
|
* link.
|
|
8630
8713
|
*/
|
|
8631
|
-
export
|
|
8714
|
+
export type SiteUpdateSchema = {
|
|
8632
8715
|
data: {
|
|
8633
8716
|
type: SiteType;
|
|
8634
8717
|
id?: SiteIdentity;
|
|
@@ -8719,39 +8802,39 @@ export interface SiteUpdateSchema {
|
|
|
8719
8802
|
};
|
|
8720
8803
|
};
|
|
8721
8804
|
};
|
|
8722
|
-
}
|
|
8805
|
+
};
|
|
8723
8806
|
|
|
8724
8807
|
/**
|
|
8725
8808
|
* This interface was referenced by `Site`'s JSON-Schema via the
|
|
8726
8809
|
* `update.targetSchema` link.
|
|
8727
8810
|
*/
|
|
8728
|
-
export
|
|
8811
|
+
export type SiteUpdateTargetSchema = {
|
|
8729
8812
|
data: Job;
|
|
8730
|
-
}
|
|
8813
|
+
};
|
|
8731
8814
|
|
|
8732
8815
|
/**
|
|
8733
8816
|
* This interface was referenced by `Site`'s JSON-Schema via the
|
|
8734
8817
|
* `update.jobSchema` link.
|
|
8735
8818
|
*/
|
|
8736
|
-
export
|
|
8819
|
+
export type SiteUpdateJobSchema = {
|
|
8737
8820
|
data: Site;
|
|
8738
|
-
}
|
|
8821
|
+
};
|
|
8739
8822
|
|
|
8740
8823
|
/**
|
|
8741
8824
|
* This interface was referenced by `Site`'s JSON-Schema via the
|
|
8742
8825
|
* `activate_improved_timezone_management.targetSchema` link.
|
|
8743
8826
|
*/
|
|
8744
|
-
export
|
|
8827
|
+
export type SiteActivateImprovedTimezoneManagementTargetSchema = {
|
|
8745
8828
|
data: Job;
|
|
8746
|
-
}
|
|
8829
|
+
};
|
|
8747
8830
|
|
|
8748
8831
|
/**
|
|
8749
8832
|
* This interface was referenced by `Site`'s JSON-Schema via the
|
|
8750
8833
|
* `activate_improved_timezone_management.jobSchema` link.
|
|
8751
8834
|
*/
|
|
8752
|
-
export
|
|
8835
|
+
export type SiteActivateImprovedTimezoneManagementJobSchema = {
|
|
8753
8836
|
data: Site;
|
|
8754
|
-
}
|
|
8837
|
+
};
|
|
8755
8838
|
|
|
8756
8839
|
/**
|
|
8757
8840
|
* Through workflows it is possible to set up a precise state machine able to
|
|
@@ -8761,11 +8844,11 @@ export interface SiteActivateImprovedTimezoneManagementJobSchema {
|
|
|
8761
8844
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
8762
8845
|
* "workflow".
|
|
8763
8846
|
*/
|
|
8764
|
-
export
|
|
8847
|
+
export type Workflow = {
|
|
8765
8848
|
type: WorkflowType;
|
|
8766
8849
|
id: WorkflowIdentity;
|
|
8767
8850
|
attributes: WorkflowAttributes;
|
|
8768
|
-
}
|
|
8851
|
+
};
|
|
8769
8852
|
|
|
8770
8853
|
/**
|
|
8771
8854
|
* JSON API attributes
|
|
@@ -8773,7 +8856,7 @@ export interface Workflow {
|
|
|
8773
8856
|
* This interface was referenced by `Workflow`'s JSON-Schema via the
|
|
8774
8857
|
* `definition` "attributes".
|
|
8775
8858
|
*/
|
|
8776
|
-
export
|
|
8859
|
+
export type WorkflowAttributes = {
|
|
8777
8860
|
/** The name of the workflow */
|
|
8778
8861
|
name: string;
|
|
8779
8862
|
/** Workflow API key */
|
|
@@ -8801,13 +8884,13 @@ export interface WorkflowAttributes {
|
|
|
8801
8884
|
initial?: boolean;
|
|
8802
8885
|
}[],
|
|
8803
8886
|
];
|
|
8804
|
-
}
|
|
8887
|
+
};
|
|
8805
8888
|
|
|
8806
8889
|
/**
|
|
8807
8890
|
* This interface was referenced by `Workflow`'s JSON-Schema via the
|
|
8808
8891
|
* `create.schema` link.
|
|
8809
8892
|
*/
|
|
8810
|
-
export
|
|
8893
|
+
export type WorkflowCreateSchema = {
|
|
8811
8894
|
data: {
|
|
8812
8895
|
type: WorkflowType;
|
|
8813
8896
|
/** JSON API attributes */
|
|
@@ -8841,21 +8924,21 @@ export interface WorkflowCreateSchema {
|
|
|
8841
8924
|
];
|
|
8842
8925
|
};
|
|
8843
8926
|
};
|
|
8844
|
-
}
|
|
8927
|
+
};
|
|
8845
8928
|
|
|
8846
8929
|
/**
|
|
8847
8930
|
* This interface was referenced by `Workflow`'s JSON-Schema via the
|
|
8848
8931
|
* `create.targetSchema` link.
|
|
8849
8932
|
*/
|
|
8850
|
-
export
|
|
8933
|
+
export type WorkflowCreateTargetSchema = {
|
|
8851
8934
|
data: Workflow;
|
|
8852
|
-
}
|
|
8935
|
+
};
|
|
8853
8936
|
|
|
8854
8937
|
/**
|
|
8855
8938
|
* This interface was referenced by `Workflow`'s JSON-Schema via the
|
|
8856
8939
|
* `update.schema` link.
|
|
8857
8940
|
*/
|
|
8858
|
-
export
|
|
8941
|
+
export type WorkflowUpdateSchema = {
|
|
8859
8942
|
data: {
|
|
8860
8943
|
type: WorkflowType;
|
|
8861
8944
|
id: WorkflowIdentity;
|
|
@@ -8890,28 +8973,28 @@ export interface WorkflowUpdateSchema {
|
|
|
8890
8973
|
];
|
|
8891
8974
|
};
|
|
8892
8975
|
};
|
|
8893
|
-
}
|
|
8976
|
+
};
|
|
8894
8977
|
|
|
8895
8978
|
/**
|
|
8896
8979
|
* This interface was referenced by `Workflow`'s JSON-Schema via the
|
|
8897
8980
|
* `update.targetSchema` link.
|
|
8898
8981
|
*/
|
|
8899
|
-
export
|
|
8982
|
+
export type WorkflowUpdateTargetSchema = {
|
|
8900
8983
|
data: Workflow;
|
|
8901
|
-
}
|
|
8984
|
+
};
|
|
8902
8985
|
|
|
8903
8986
|
/**
|
|
8904
8987
|
* This interface was referenced by `Workflow`'s JSON-Schema via the
|
|
8905
8988
|
* `instances.targetSchema` link.
|
|
8906
8989
|
*/
|
|
8907
|
-
export
|
|
8990
|
+
export type WorkflowInstancesTargetSchema = {
|
|
8908
8991
|
data: Workflow[];
|
|
8909
|
-
}
|
|
8992
|
+
};
|
|
8910
8993
|
|
|
8911
8994
|
/**
|
|
8912
8995
|
* This interface was referenced by `Workflow`'s JSON-Schema via the
|
|
8913
8996
|
* `self.targetSchema` link.
|
|
8914
8997
|
*/
|
|
8915
|
-
export
|
|
8998
|
+
export type WorkflowSelfTargetSchema = {
|
|
8916
8999
|
data: Workflow;
|
|
8917
|
-
}
|
|
9000
|
+
};
|