@datocms/cma-client 0.1.0 → 0.1.5
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/README.md +12 -17
- package/dist/cjs/generated/Client.js +1 -1
- package/dist/cjs/generated/Client.js.map +1 -1
- package/dist/cjs/generated/schemaInfo.js +0 -2
- package/dist/cjs/generated/schemaInfo.js.map +1 -1
- package/dist/esm/BaseResource.d.ts +1 -1
- package/dist/esm/generated/Client.d.ts +1 -0
- package/dist/esm/generated/Client.js +1 -1
- package/dist/esm/generated/Client.js.map +1 -1
- package/dist/esm/generated/SchemaTypes.d.ts +772 -772
- package/dist/esm/generated/SimpleSchemaTypes.d.ts +422 -422
- package/dist/esm/generated/schemaInfo.d.ts +0 -2
- package/dist/esm/generated/schemaInfo.js +0 -2
- package/dist/esm/generated/schemaInfo.js.map +1 -1
- package/dist/types/BaseResource.d.ts +1 -1
- package/dist/types/generated/Client.d.ts +1 -0
- package/dist/types/generated/SchemaTypes.d.ts +772 -772
- package/dist/types/generated/SimpleSchemaTypes.d.ts +422 -422
- package/dist/types/generated/schemaInfo.d.ts +0 -2
- package/package.json +7 -7
- package/src/BaseResource.ts +1 -1
- package/src/generated/Client.ts +2 -0
- package/src/generated/SchemaTypes.ts +772 -772
- package/src/generated/SimpleSchemaTypes.ts +422 -422
- package/src/generated/schemaInfo.ts +0 -4
|
@@ -1191,7 +1191,7 @@ export declare type SiteType = 'site';
|
|
|
1191
1191
|
* via the `definition` "id".
|
|
1192
1192
|
*/
|
|
1193
1193
|
export declare type SiteIdentity = string;
|
|
1194
|
-
export
|
|
1194
|
+
export declare type DatoApi = {
|
|
1195
1195
|
role?: Role;
|
|
1196
1196
|
user?: User;
|
|
1197
1197
|
sso_user?: SsoUser;
|
|
@@ -1237,27 +1237,27 @@ export interface DatoApi {
|
|
|
1237
1237
|
site?: Site;
|
|
1238
1238
|
workflow?: Workflow;
|
|
1239
1239
|
[k: string]: unknown;
|
|
1240
|
-
}
|
|
1240
|
+
};
|
|
1241
1241
|
/**
|
|
1242
1242
|
* A Role represents a specific set of actions an editor (or an API token) can perform on your administrative area.
|
|
1243
1243
|
*
|
|
1244
1244
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
1245
1245
|
* via the `definition` "role".
|
|
1246
1246
|
*/
|
|
1247
|
-
export
|
|
1247
|
+
export declare type Role = {
|
|
1248
1248
|
type: RoleType;
|
|
1249
1249
|
id: RoleIdentity;
|
|
1250
1250
|
attributes: RoleAttributes;
|
|
1251
1251
|
relationships: RoleRelationships;
|
|
1252
1252
|
meta: RoleMeta;
|
|
1253
|
-
}
|
|
1253
|
+
};
|
|
1254
1254
|
/**
|
|
1255
1255
|
* JSON API attributes
|
|
1256
1256
|
*
|
|
1257
1257
|
* This interface was referenced by `Role`'s JSON-Schema
|
|
1258
1258
|
* via the `definition` "attributes".
|
|
1259
1259
|
*/
|
|
1260
|
-
export
|
|
1260
|
+
export declare type RoleAttributes = {
|
|
1261
1261
|
/**
|
|
1262
1262
|
* The name of the role
|
|
1263
1263
|
*/
|
|
@@ -1442,38 +1442,38 @@ export interface RoleAttributes {
|
|
|
1442
1442
|
negative_build_trigger_permissions: {
|
|
1443
1443
|
build_trigger?: BuildTriggerIdentity | null;
|
|
1444
1444
|
}[];
|
|
1445
|
-
}
|
|
1445
|
+
};
|
|
1446
1446
|
/**
|
|
1447
1447
|
* JSON API links
|
|
1448
1448
|
*
|
|
1449
1449
|
* This interface was referenced by `Role`'s JSON-Schema
|
|
1450
1450
|
* via the `definition` "relationships".
|
|
1451
1451
|
*/
|
|
1452
|
-
export
|
|
1452
|
+
export declare type RoleRelationships = {
|
|
1453
1453
|
/**
|
|
1454
1454
|
* The roles from which this role inherits permissions
|
|
1455
1455
|
*/
|
|
1456
1456
|
inherits_permissions_from: {
|
|
1457
1457
|
data: RoleData[];
|
|
1458
1458
|
};
|
|
1459
|
-
}
|
|
1459
|
+
};
|
|
1460
1460
|
/**
|
|
1461
1461
|
* JSON API data
|
|
1462
1462
|
*
|
|
1463
1463
|
* This interface was referenced by `Role`'s JSON-Schema
|
|
1464
1464
|
* via the `definition` "data".
|
|
1465
1465
|
*/
|
|
1466
|
-
export
|
|
1466
|
+
export declare type RoleData = {
|
|
1467
1467
|
type: RoleType;
|
|
1468
1468
|
id: RoleIdentity;
|
|
1469
|
-
}
|
|
1469
|
+
};
|
|
1470
1470
|
/**
|
|
1471
1471
|
* Meta information regarding the record
|
|
1472
1472
|
*
|
|
1473
1473
|
* This interface was referenced by `Role`'s JSON-Schema
|
|
1474
1474
|
* via the `definition` "meta".
|
|
1475
1475
|
*/
|
|
1476
|
-
export
|
|
1476
|
+
export declare type RoleMeta = {
|
|
1477
1477
|
/**
|
|
1478
1478
|
* The final set of permissions considering also inherited roles
|
|
1479
1479
|
*/
|
|
@@ -1659,12 +1659,12 @@ export interface RoleMeta {
|
|
|
1659
1659
|
build_trigger?: BuildTriggerIdentity | null;
|
|
1660
1660
|
}[];
|
|
1661
1661
|
};
|
|
1662
|
-
}
|
|
1662
|
+
};
|
|
1663
1663
|
/**
|
|
1664
1664
|
* This interface was referenced by `Role`'s JSON-Schema
|
|
1665
1665
|
* via the `create.schema` link.
|
|
1666
1666
|
*/
|
|
1667
|
-
export
|
|
1667
|
+
export declare type RoleCreateSchema = {
|
|
1668
1668
|
data: {
|
|
1669
1669
|
type: RoleType;
|
|
1670
1670
|
/**
|
|
@@ -1869,19 +1869,19 @@ export interface RoleCreateSchema {
|
|
|
1869
1869
|
};
|
|
1870
1870
|
meta?: RoleMeta;
|
|
1871
1871
|
};
|
|
1872
|
-
}
|
|
1872
|
+
};
|
|
1873
1873
|
/**
|
|
1874
1874
|
* This interface was referenced by `Role`'s JSON-Schema
|
|
1875
1875
|
* via the `create.targetSchema` link.
|
|
1876
1876
|
*/
|
|
1877
|
-
export
|
|
1877
|
+
export declare type RoleCreateTargetSchema = {
|
|
1878
1878
|
data: Role;
|
|
1879
|
-
}
|
|
1879
|
+
};
|
|
1880
1880
|
/**
|
|
1881
1881
|
* This interface was referenced by `Role`'s JSON-Schema
|
|
1882
1882
|
* via the `update.schema` link.
|
|
1883
1883
|
*/
|
|
1884
|
-
export
|
|
1884
|
+
export declare type RoleUpdateSchema = {
|
|
1885
1885
|
data: {
|
|
1886
1886
|
type: RoleType;
|
|
1887
1887
|
id: RoleIdentity;
|
|
@@ -2087,55 +2087,55 @@ export interface RoleUpdateSchema {
|
|
|
2087
2087
|
};
|
|
2088
2088
|
meta?: RoleMeta;
|
|
2089
2089
|
};
|
|
2090
|
-
}
|
|
2090
|
+
};
|
|
2091
2091
|
/**
|
|
2092
2092
|
* This interface was referenced by `Role`'s JSON-Schema
|
|
2093
2093
|
* via the `update.targetSchema` link.
|
|
2094
2094
|
*/
|
|
2095
|
-
export
|
|
2095
|
+
export declare type RoleUpdateTargetSchema = {
|
|
2096
2096
|
data: Role;
|
|
2097
|
-
}
|
|
2097
|
+
};
|
|
2098
2098
|
/**
|
|
2099
2099
|
* This interface was referenced by `Role`'s JSON-Schema
|
|
2100
2100
|
* via the `instances.targetSchema` link.
|
|
2101
2101
|
*/
|
|
2102
|
-
export
|
|
2102
|
+
export declare type RoleInstancesTargetSchema = {
|
|
2103
2103
|
data: Role[];
|
|
2104
|
-
}
|
|
2104
|
+
};
|
|
2105
2105
|
/**
|
|
2106
2106
|
* This interface was referenced by `Role`'s JSON-Schema
|
|
2107
2107
|
* via the `self.targetSchema` link.
|
|
2108
2108
|
*/
|
|
2109
|
-
export
|
|
2109
|
+
export declare type RoleSelfTargetSchema = {
|
|
2110
2110
|
data: Role;
|
|
2111
|
-
}
|
|
2111
|
+
};
|
|
2112
2112
|
/**
|
|
2113
2113
|
* This interface was referenced by `Role`'s JSON-Schema
|
|
2114
2114
|
* via the `destroy.targetSchema` link.
|
|
2115
2115
|
*/
|
|
2116
|
-
export
|
|
2116
|
+
export declare type RoleDestroyTargetSchema = {
|
|
2117
2117
|
data: Role;
|
|
2118
|
-
}
|
|
2118
|
+
};
|
|
2119
2119
|
/**
|
|
2120
2120
|
* A DatoCMS administrative area can be accessed by multiple people. Every collaborator is linked to a specific Role, which describes what actions it will be able to perform once logged in.
|
|
2121
2121
|
*
|
|
2122
2122
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
2123
2123
|
* via the `definition` "user".
|
|
2124
2124
|
*/
|
|
2125
|
-
export
|
|
2125
|
+
export declare type User = {
|
|
2126
2126
|
type: UserType;
|
|
2127
2127
|
id: UserIdentity;
|
|
2128
2128
|
attributes: UserAttributes;
|
|
2129
2129
|
relationships: UserRelationships;
|
|
2130
2130
|
meta?: UserMeta;
|
|
2131
|
-
}
|
|
2131
|
+
};
|
|
2132
2132
|
/**
|
|
2133
2133
|
* JSON API attributes
|
|
2134
2134
|
*
|
|
2135
2135
|
* This interface was referenced by `User`'s JSON-Schema
|
|
2136
2136
|
* via the `definition` "attributes".
|
|
2137
2137
|
*/
|
|
2138
|
-
export
|
|
2138
|
+
export declare type UserAttributes = {
|
|
2139
2139
|
/**
|
|
2140
2140
|
* Email
|
|
2141
2141
|
*/
|
|
@@ -2152,48 +2152,48 @@ export interface UserAttributes {
|
|
|
2152
2152
|
* Whether the user is active or not
|
|
2153
2153
|
*/
|
|
2154
2154
|
is_active: boolean;
|
|
2155
|
-
}
|
|
2155
|
+
};
|
|
2156
2156
|
/**
|
|
2157
2157
|
* JSON API links
|
|
2158
2158
|
*
|
|
2159
2159
|
* This interface was referenced by `User`'s JSON-Schema
|
|
2160
2160
|
* via the `definition` "relationships".
|
|
2161
2161
|
*/
|
|
2162
|
-
export
|
|
2162
|
+
export declare type UserRelationships = {
|
|
2163
2163
|
/**
|
|
2164
2164
|
* Role
|
|
2165
2165
|
*/
|
|
2166
2166
|
role: {
|
|
2167
2167
|
data: RoleData;
|
|
2168
2168
|
};
|
|
2169
|
-
}
|
|
2169
|
+
};
|
|
2170
2170
|
/**
|
|
2171
2171
|
* Meta information on the user
|
|
2172
2172
|
*
|
|
2173
2173
|
* This interface was referenced by `User`'s JSON-Schema
|
|
2174
2174
|
* via the `definition` "meta".
|
|
2175
2175
|
*/
|
|
2176
|
-
export
|
|
2176
|
+
export declare type UserMeta = {
|
|
2177
2177
|
/**
|
|
2178
2178
|
* Date of last reading/interaction
|
|
2179
2179
|
*/
|
|
2180
2180
|
last_access: string | null;
|
|
2181
|
-
}
|
|
2181
|
+
};
|
|
2182
2182
|
/**
|
|
2183
2183
|
* JSON API data
|
|
2184
2184
|
*
|
|
2185
2185
|
* This interface was referenced by `User`'s JSON-Schema
|
|
2186
2186
|
* via the `definition` "data".
|
|
2187
2187
|
*/
|
|
2188
|
-
export
|
|
2188
|
+
export declare type UserData = {
|
|
2189
2189
|
type: UserType;
|
|
2190
2190
|
id: UserIdentity;
|
|
2191
|
-
}
|
|
2191
|
+
};
|
|
2192
2192
|
/**
|
|
2193
2193
|
* This interface was referenced by `User`'s JSON-Schema
|
|
2194
2194
|
* via the `update.schema` link.
|
|
2195
2195
|
*/
|
|
2196
|
-
export
|
|
2196
|
+
export declare type UserUpdateSchema = {
|
|
2197
2197
|
data: {
|
|
2198
2198
|
type: UserType;
|
|
2199
2199
|
id: UserIdentity;
|
|
@@ -2212,55 +2212,55 @@ export interface UserUpdateSchema {
|
|
|
2212
2212
|
};
|
|
2213
2213
|
};
|
|
2214
2214
|
};
|
|
2215
|
-
}
|
|
2215
|
+
};
|
|
2216
2216
|
/**
|
|
2217
2217
|
* This interface was referenced by `User`'s JSON-Schema
|
|
2218
2218
|
* via the `update.targetSchema` link.
|
|
2219
2219
|
*/
|
|
2220
|
-
export
|
|
2220
|
+
export declare type UserUpdateTargetSchema = {
|
|
2221
2221
|
data: User;
|
|
2222
|
-
}
|
|
2222
|
+
};
|
|
2223
2223
|
/**
|
|
2224
2224
|
* This interface was referenced by `User`'s JSON-Schema
|
|
2225
2225
|
* via the `instances.targetSchema` link.
|
|
2226
2226
|
*/
|
|
2227
|
-
export
|
|
2227
|
+
export declare type UserInstancesTargetSchema = {
|
|
2228
2228
|
data: User[];
|
|
2229
|
-
}
|
|
2229
|
+
};
|
|
2230
2230
|
/**
|
|
2231
2231
|
* This interface was referenced by `User`'s JSON-Schema
|
|
2232
2232
|
* via the `self.targetSchema` link.
|
|
2233
2233
|
*/
|
|
2234
|
-
export
|
|
2234
|
+
export declare type UserSelfTargetSchema = {
|
|
2235
2235
|
data: User;
|
|
2236
|
-
}
|
|
2236
|
+
};
|
|
2237
2237
|
/**
|
|
2238
2238
|
* This interface was referenced by `User`'s JSON-Schema
|
|
2239
2239
|
* via the `destroy.targetSchema` link.
|
|
2240
2240
|
*/
|
|
2241
|
-
export
|
|
2241
|
+
export declare type UserDestroyTargetSchema = {
|
|
2242
2242
|
data: User;
|
|
2243
|
-
}
|
|
2243
|
+
};
|
|
2244
2244
|
/**
|
|
2245
2245
|
* A Single Sign-On user exists when a DatoCMS project is connected to an external Identity Provider. An SSO user will not use the standard login procedure but has to go through SAML authentication. It can also be linked to one or more IdP groups.
|
|
2246
2246
|
*
|
|
2247
2247
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
2248
2248
|
* via the `definition` "sso_user".
|
|
2249
2249
|
*/
|
|
2250
|
-
export
|
|
2250
|
+
export declare type SsoUser = {
|
|
2251
2251
|
type: SsoUserType;
|
|
2252
2252
|
id: SsoUserIdentity;
|
|
2253
2253
|
attributes: SsoUserAttributes;
|
|
2254
2254
|
relationships: SsoUserRelationships;
|
|
2255
2255
|
meta: SsoUserMeta;
|
|
2256
|
-
}
|
|
2256
|
+
};
|
|
2257
2257
|
/**
|
|
2258
2258
|
* JSON API attributes
|
|
2259
2259
|
*
|
|
2260
2260
|
* This interface was referenced by `SsoUser`'s JSON-Schema
|
|
2261
2261
|
* via the `definition` "attributes".
|
|
2262
2262
|
*/
|
|
2263
|
-
export
|
|
2263
|
+
export declare type SsoUserAttributes = {
|
|
2264
2264
|
/**
|
|
2265
2265
|
* Email
|
|
2266
2266
|
*/
|
|
@@ -2281,14 +2281,14 @@ export interface SsoUserAttributes {
|
|
|
2281
2281
|
* Last name
|
|
2282
2282
|
*/
|
|
2283
2283
|
last_name: string | null;
|
|
2284
|
-
}
|
|
2284
|
+
};
|
|
2285
2285
|
/**
|
|
2286
2286
|
* JSON API links
|
|
2287
2287
|
*
|
|
2288
2288
|
* This interface was referenced by `SsoUser`'s JSON-Schema
|
|
2289
2289
|
* via the `definition` "relationships".
|
|
2290
2290
|
*/
|
|
2291
|
-
export
|
|
2291
|
+
export declare type SsoUserRelationships = {
|
|
2292
2292
|
/**
|
|
2293
2293
|
* All the users's groups
|
|
2294
2294
|
*/
|
|
@@ -2301,86 +2301,86 @@ export interface SsoUserRelationships {
|
|
|
2301
2301
|
role: {
|
|
2302
2302
|
data: RoleData | null;
|
|
2303
2303
|
};
|
|
2304
|
-
}
|
|
2304
|
+
};
|
|
2305
2305
|
/**
|
|
2306
2306
|
* JSON API data
|
|
2307
2307
|
*
|
|
2308
2308
|
* This interface was referenced by `SsoGroup`'s JSON-Schema
|
|
2309
2309
|
* via the `definition` "data".
|
|
2310
2310
|
*/
|
|
2311
|
-
export
|
|
2311
|
+
export declare type SsoGroupData = {
|
|
2312
2312
|
type: SsoGroupType;
|
|
2313
2313
|
id: SsoGroupIdentity;
|
|
2314
|
-
}
|
|
2314
|
+
};
|
|
2315
2315
|
/**
|
|
2316
2316
|
* Meta information on the user
|
|
2317
2317
|
*
|
|
2318
2318
|
* This interface was referenced by `SsoUser`'s JSON-Schema
|
|
2319
2319
|
* via the `definition` "meta".
|
|
2320
2320
|
*/
|
|
2321
|
-
export
|
|
2321
|
+
export declare type SsoUserMeta = {
|
|
2322
2322
|
/**
|
|
2323
2323
|
* Date of last reading/interaction
|
|
2324
2324
|
*/
|
|
2325
2325
|
last_access: string | null;
|
|
2326
|
-
}
|
|
2326
|
+
};
|
|
2327
2327
|
/**
|
|
2328
2328
|
* JSON API data
|
|
2329
2329
|
*
|
|
2330
2330
|
* This interface was referenced by `SsoUser`'s JSON-Schema
|
|
2331
2331
|
* via the `definition` "data".
|
|
2332
2332
|
*/
|
|
2333
|
-
export
|
|
2333
|
+
export declare type SsoUserData = {
|
|
2334
2334
|
type: SsoUserType;
|
|
2335
2335
|
id: SsoUserIdentity;
|
|
2336
|
-
}
|
|
2336
|
+
};
|
|
2337
2337
|
/**
|
|
2338
2338
|
* This interface was referenced by `SsoUser`'s JSON-Schema
|
|
2339
2339
|
* via the `instances.targetSchema` link.
|
|
2340
2340
|
*/
|
|
2341
|
-
export
|
|
2341
|
+
export declare type SsoUserInstancesTargetSchema = {
|
|
2342
2342
|
data: SsoUser[];
|
|
2343
|
-
}
|
|
2343
|
+
};
|
|
2344
2344
|
/**
|
|
2345
2345
|
* This interface was referenced by `SsoUser`'s JSON-Schema
|
|
2346
2346
|
* via the `self.targetSchema` link.
|
|
2347
2347
|
*/
|
|
2348
|
-
export
|
|
2348
|
+
export declare type SsoUserSelfTargetSchema = {
|
|
2349
2349
|
data: SsoUser;
|
|
2350
|
-
}
|
|
2350
|
+
};
|
|
2351
2351
|
/**
|
|
2352
2352
|
* This interface was referenced by `SsoUser`'s JSON-Schema
|
|
2353
2353
|
* via the `copy_users.targetSchema` link.
|
|
2354
2354
|
*/
|
|
2355
|
-
export
|
|
2355
|
+
export declare type SsoUserCopyUsersTargetSchema = {
|
|
2356
2356
|
data: SsoUser[];
|
|
2357
|
-
}
|
|
2357
|
+
};
|
|
2358
2358
|
/**
|
|
2359
2359
|
* This interface was referenced by `SsoUser`'s JSON-Schema
|
|
2360
2360
|
* via the `destroy.targetSchema` link.
|
|
2361
2361
|
*/
|
|
2362
|
-
export
|
|
2362
|
+
export declare type SsoUserDestroyTargetSchema = {
|
|
2363
2363
|
data: SsoUser;
|
|
2364
|
-
}
|
|
2364
|
+
};
|
|
2365
2365
|
/**
|
|
2366
2366
|
* If the Audit log functionality is enabled in a project, logged events can be queried using SQL-like language and fetched in full detail so that they can be exported or analyzed.
|
|
2367
2367
|
*
|
|
2368
2368
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
2369
2369
|
* via the `definition` "audit_log_event".
|
|
2370
2370
|
*/
|
|
2371
|
-
export
|
|
2371
|
+
export declare type AuditLogEvent = {
|
|
2372
2372
|
type: AuditLogEventType;
|
|
2373
2373
|
id: AuditLogEventIdentity;
|
|
2374
2374
|
attributes: AuditLogEventAttributes;
|
|
2375
2375
|
meta: AuditLogEventMeta;
|
|
2376
|
-
}
|
|
2376
|
+
};
|
|
2377
2377
|
/**
|
|
2378
2378
|
* JSON API attributes
|
|
2379
2379
|
*
|
|
2380
2380
|
* This interface was referenced by `AuditLogEvent`'s JSON-Schema
|
|
2381
2381
|
* via the `definition` "attributes".
|
|
2382
2382
|
*/
|
|
2383
|
-
export
|
|
2383
|
+
export declare type AuditLogEventAttributes = {
|
|
2384
2384
|
/**
|
|
2385
2385
|
* The actual action performed
|
|
2386
2386
|
*/
|
|
@@ -2466,34 +2466,34 @@ export interface AuditLogEventAttributes {
|
|
|
2466
2466
|
[k: string]: unknown;
|
|
2467
2467
|
};
|
|
2468
2468
|
};
|
|
2469
|
-
}
|
|
2469
|
+
};
|
|
2470
2470
|
/**
|
|
2471
2471
|
* JSON API meta
|
|
2472
2472
|
*
|
|
2473
2473
|
* This interface was referenced by `AuditLogEvent`'s JSON-Schema
|
|
2474
2474
|
* via the `definition` "meta".
|
|
2475
2475
|
*/
|
|
2476
|
-
export
|
|
2476
|
+
export declare type AuditLogEventMeta = {
|
|
2477
2477
|
/**
|
|
2478
2478
|
* The date of the event
|
|
2479
2479
|
*/
|
|
2480
2480
|
occurred_at: string;
|
|
2481
|
-
}
|
|
2481
|
+
};
|
|
2482
2482
|
/**
|
|
2483
2483
|
* JSON API data
|
|
2484
2484
|
*
|
|
2485
2485
|
* This interface was referenced by `AuditLogEvent`'s JSON-Schema
|
|
2486
2486
|
* via the `definition` "data".
|
|
2487
2487
|
*/
|
|
2488
|
-
export
|
|
2488
|
+
export declare type AuditLogEventData = {
|
|
2489
2489
|
type: AuditLogEventType;
|
|
2490
2490
|
id: AuditLogEventIdentity;
|
|
2491
|
-
}
|
|
2491
|
+
};
|
|
2492
2492
|
/**
|
|
2493
2493
|
* This interface was referenced by `AuditLogEvent`'s JSON-Schema
|
|
2494
2494
|
* via the `query.schema` link.
|
|
2495
2495
|
*/
|
|
2496
|
-
export
|
|
2496
|
+
export declare type AuditLogEventQuerySchema = {
|
|
2497
2497
|
data: {
|
|
2498
2498
|
/**
|
|
2499
2499
|
* JSON API type field
|
|
@@ -2514,12 +2514,12 @@ export interface AuditLogEventQuerySchema {
|
|
|
2514
2514
|
detailed_log?: boolean;
|
|
2515
2515
|
};
|
|
2516
2516
|
};
|
|
2517
|
-
}
|
|
2517
|
+
};
|
|
2518
2518
|
/**
|
|
2519
2519
|
* This interface was referenced by `AuditLogEvent`'s JSON-Schema
|
|
2520
2520
|
* via the `query.targetSchema` link.
|
|
2521
2521
|
*/
|
|
2522
|
-
export
|
|
2522
|
+
export declare type AuditLogEventQueryTargetSchema = {
|
|
2523
2523
|
data: AuditLogEvent[];
|
|
2524
2524
|
meta: {
|
|
2525
2525
|
/**
|
|
@@ -2527,25 +2527,25 @@ export interface AuditLogEventQueryTargetSchema {
|
|
|
2527
2527
|
*/
|
|
2528
2528
|
next_token: null | string;
|
|
2529
2529
|
};
|
|
2530
|
-
}
|
|
2530
|
+
};
|
|
2531
2531
|
/**
|
|
2532
2532
|
* DatoCMS account
|
|
2533
2533
|
*
|
|
2534
2534
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
2535
2535
|
* via the `definition` "account".
|
|
2536
2536
|
*/
|
|
2537
|
-
export
|
|
2537
|
+
export declare type Account = {
|
|
2538
2538
|
type: AccountType;
|
|
2539
2539
|
id: AccountIdentity;
|
|
2540
2540
|
attributes: AccountAttributes;
|
|
2541
|
-
}
|
|
2541
|
+
};
|
|
2542
2542
|
/**
|
|
2543
2543
|
* JSON API attributes
|
|
2544
2544
|
*
|
|
2545
2545
|
* This interface was referenced by `Account`'s JSON-Schema
|
|
2546
2546
|
* via the `definition` "attributes".
|
|
2547
2547
|
*/
|
|
2548
|
-
export
|
|
2548
|
+
export declare type AccountAttributes = {
|
|
2549
2549
|
/**
|
|
2550
2550
|
* Email
|
|
2551
2551
|
*/
|
|
@@ -2566,35 +2566,35 @@ export interface AccountAttributes {
|
|
|
2566
2566
|
* Password
|
|
2567
2567
|
*/
|
|
2568
2568
|
password?: string;
|
|
2569
|
-
}
|
|
2569
|
+
};
|
|
2570
2570
|
/**
|
|
2571
2571
|
* JSON API data
|
|
2572
2572
|
*
|
|
2573
2573
|
* This interface was referenced by `Account`'s JSON-Schema
|
|
2574
2574
|
* via the `definition` "data".
|
|
2575
2575
|
*/
|
|
2576
|
-
export
|
|
2576
|
+
export declare type AccountData = {
|
|
2577
2577
|
type: AccountType;
|
|
2578
2578
|
id: AccountIdentity;
|
|
2579
|
-
}
|
|
2579
|
+
};
|
|
2580
2580
|
/**
|
|
2581
2581
|
* Stores the information regarding the current plan for the project.
|
|
2582
2582
|
*
|
|
2583
2583
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
2584
2584
|
* via the `definition` "site_plan".
|
|
2585
2585
|
*/
|
|
2586
|
-
export
|
|
2586
|
+
export declare type SitePlan = {
|
|
2587
2587
|
type: SitePlanType;
|
|
2588
2588
|
id: SitePlanIdentity;
|
|
2589
2589
|
attributes: SitePlanAttributes;
|
|
2590
|
-
}
|
|
2590
|
+
};
|
|
2591
2591
|
/**
|
|
2592
2592
|
* JSON API attributes
|
|
2593
2593
|
*
|
|
2594
2594
|
* This interface was referenced by `SitePlan`'s JSON-Schema
|
|
2595
2595
|
* via the `definition` "attributes".
|
|
2596
2596
|
*/
|
|
2597
|
-
export
|
|
2597
|
+
export declare type SitePlanAttributes = {
|
|
2598
2598
|
/**
|
|
2599
2599
|
* The name of the plan
|
|
2600
2600
|
*/
|
|
@@ -2793,36 +2793,36 @@ export interface SitePlanAttributes {
|
|
|
2793
2793
|
price: number;
|
|
2794
2794
|
};
|
|
2795
2795
|
};
|
|
2796
|
-
}
|
|
2796
|
+
};
|
|
2797
2797
|
/**
|
|
2798
2798
|
* JSON API data
|
|
2799
2799
|
*
|
|
2800
2800
|
* This interface was referenced by `SitePlan`'s JSON-Schema
|
|
2801
2801
|
* via the `definition` "data".
|
|
2802
2802
|
*/
|
|
2803
|
-
export
|
|
2803
|
+
export declare type SitePlanData = {
|
|
2804
2804
|
type: SitePlanType;
|
|
2805
2805
|
id: SitePlanIdentity;
|
|
2806
|
-
}
|
|
2806
|
+
};
|
|
2807
2807
|
/**
|
|
2808
2808
|
* In DatoCMS you can organize the different Models present in your administrative area reordering and grouping them, so that their purpose will be more clear to the final editor.
|
|
2809
2809
|
*
|
|
2810
2810
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
2811
2811
|
* via the `definition` "menu_item".
|
|
2812
2812
|
*/
|
|
2813
|
-
export
|
|
2813
|
+
export declare type MenuItem = {
|
|
2814
2814
|
type: MenuItemType;
|
|
2815
2815
|
id: MenuItemIdentity;
|
|
2816
2816
|
attributes: MenuItemAttributes;
|
|
2817
2817
|
relationships: MenuItemRelationships;
|
|
2818
|
-
}
|
|
2818
|
+
};
|
|
2819
2819
|
/**
|
|
2820
2820
|
* JSON API attributes
|
|
2821
2821
|
*
|
|
2822
2822
|
* This interface was referenced by `MenuItem`'s JSON-Schema
|
|
2823
2823
|
* via the `definition` "attributes".
|
|
2824
2824
|
*/
|
|
2825
|
-
export
|
|
2825
|
+
export declare type MenuItemAttributes = {
|
|
2826
2826
|
/**
|
|
2827
2827
|
* The label of the menu item
|
|
2828
2828
|
*/
|
|
@@ -2839,14 +2839,14 @@ export interface MenuItemAttributes {
|
|
|
2839
2839
|
* Opens link in new tab (used together with `external_url`)
|
|
2840
2840
|
*/
|
|
2841
2841
|
open_in_new_tab: boolean;
|
|
2842
|
-
}
|
|
2842
|
+
};
|
|
2843
2843
|
/**
|
|
2844
2844
|
* JSON API links
|
|
2845
2845
|
*
|
|
2846
2846
|
* This interface was referenced by `MenuItem`'s JSON-Schema
|
|
2847
2847
|
* via the `definition` "relationships".
|
|
2848
2848
|
*/
|
|
2849
|
-
export
|
|
2849
|
+
export declare type MenuItemRelationships = {
|
|
2850
2850
|
/**
|
|
2851
2851
|
* item type associated with the menu item
|
|
2852
2852
|
*/
|
|
@@ -2865,32 +2865,32 @@ export interface MenuItemRelationships {
|
|
|
2865
2865
|
children: {
|
|
2866
2866
|
data: MenuItemData[];
|
|
2867
2867
|
};
|
|
2868
|
-
}
|
|
2868
|
+
};
|
|
2869
2869
|
/**
|
|
2870
2870
|
* JSON API data
|
|
2871
2871
|
*
|
|
2872
2872
|
* This interface was referenced by `ItemType`'s JSON-Schema
|
|
2873
2873
|
* via the `definition` "data".
|
|
2874
2874
|
*/
|
|
2875
|
-
export
|
|
2875
|
+
export declare type ItemTypeData = {
|
|
2876
2876
|
type: ItemTypeType;
|
|
2877
2877
|
id: ItemTypeIdentity;
|
|
2878
|
-
}
|
|
2878
|
+
};
|
|
2879
2879
|
/**
|
|
2880
2880
|
* JSON API data
|
|
2881
2881
|
*
|
|
2882
2882
|
* This interface was referenced by `MenuItem`'s JSON-Schema
|
|
2883
2883
|
* via the `definition` "data".
|
|
2884
2884
|
*/
|
|
2885
|
-
export
|
|
2885
|
+
export declare type MenuItemData = {
|
|
2886
2886
|
type: MenuItemType;
|
|
2887
2887
|
id: MenuItemIdentity;
|
|
2888
|
-
}
|
|
2888
|
+
};
|
|
2889
2889
|
/**
|
|
2890
2890
|
* This interface was referenced by `MenuItem`'s JSON-Schema
|
|
2891
2891
|
* via the `create.schema` link.
|
|
2892
2892
|
*/
|
|
2893
|
-
export
|
|
2893
|
+
export declare type MenuItemCreateSchema = {
|
|
2894
2894
|
data: {
|
|
2895
2895
|
type: MenuItemType;
|
|
2896
2896
|
/**
|
|
@@ -2929,19 +2929,19 @@ export interface MenuItemCreateSchema {
|
|
|
2929
2929
|
};
|
|
2930
2930
|
};
|
|
2931
2931
|
};
|
|
2932
|
-
}
|
|
2932
|
+
};
|
|
2933
2933
|
/**
|
|
2934
2934
|
* This interface was referenced by `MenuItem`'s JSON-Schema
|
|
2935
2935
|
* via the `create.targetSchema` link.
|
|
2936
2936
|
*/
|
|
2937
|
-
export
|
|
2937
|
+
export declare type MenuItemCreateTargetSchema = {
|
|
2938
2938
|
data: MenuItem;
|
|
2939
|
-
}
|
|
2939
|
+
};
|
|
2940
2940
|
/**
|
|
2941
2941
|
* This interface was referenced by `MenuItem`'s JSON-Schema
|
|
2942
2942
|
* via the `update.schema` link.
|
|
2943
2943
|
*/
|
|
2944
|
-
export
|
|
2944
|
+
export declare type MenuItemUpdateSchema = {
|
|
2945
2945
|
data: {
|
|
2946
2946
|
type: MenuItemType;
|
|
2947
2947
|
id: MenuItemIdentity;
|
|
@@ -2981,54 +2981,54 @@ export interface MenuItemUpdateSchema {
|
|
|
2981
2981
|
};
|
|
2982
2982
|
};
|
|
2983
2983
|
};
|
|
2984
|
-
}
|
|
2984
|
+
};
|
|
2985
2985
|
/**
|
|
2986
2986
|
* This interface was referenced by `MenuItem`'s JSON-Schema
|
|
2987
2987
|
* via the `update.targetSchema` link.
|
|
2988
2988
|
*/
|
|
2989
|
-
export
|
|
2989
|
+
export declare type MenuItemUpdateTargetSchema = {
|
|
2990
2990
|
data: MenuItem;
|
|
2991
|
-
}
|
|
2991
|
+
};
|
|
2992
2992
|
/**
|
|
2993
2993
|
* This interface was referenced by `MenuItem`'s JSON-Schema
|
|
2994
2994
|
* via the `instances.targetSchema` link.
|
|
2995
2995
|
*/
|
|
2996
|
-
export
|
|
2996
|
+
export declare type MenuItemInstancesTargetSchema = {
|
|
2997
2997
|
data: MenuItem[];
|
|
2998
|
-
}
|
|
2998
|
+
};
|
|
2999
2999
|
/**
|
|
3000
3000
|
* This interface was referenced by `MenuItem`'s JSON-Schema
|
|
3001
3001
|
* via the `self.targetSchema` link.
|
|
3002
3002
|
*/
|
|
3003
|
-
export
|
|
3003
|
+
export declare type MenuItemSelfTargetSchema = {
|
|
3004
3004
|
data: MenuItem;
|
|
3005
|
-
}
|
|
3005
|
+
};
|
|
3006
3006
|
/**
|
|
3007
3007
|
* This interface was referenced by `MenuItem`'s JSON-Schema
|
|
3008
3008
|
* via the `destroy.targetSchema` link.
|
|
3009
3009
|
*/
|
|
3010
|
-
export
|
|
3010
|
+
export declare type MenuItemDestroyTargetSchema = {
|
|
3011
3011
|
data: MenuItem;
|
|
3012
|
-
}
|
|
3012
|
+
};
|
|
3013
3013
|
/**
|
|
3014
3014
|
* The way you define the kind of content you can edit inside your administrative area passes through the concept of Models, which are much like database tables. For backward-compatibility reasons, the API refers to models as "item types".
|
|
3015
3015
|
*
|
|
3016
3016
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
3017
3017
|
* via the `definition` "item_type".
|
|
3018
3018
|
*/
|
|
3019
|
-
export
|
|
3019
|
+
export declare type ItemType = {
|
|
3020
3020
|
type: ItemTypeType;
|
|
3021
3021
|
id: ItemTypeIdentity;
|
|
3022
3022
|
attributes: ItemTypeAttributes;
|
|
3023
3023
|
relationships: ItemTypeRelationships;
|
|
3024
|
-
}
|
|
3024
|
+
};
|
|
3025
3025
|
/**
|
|
3026
3026
|
* JSON API attributes
|
|
3027
3027
|
*
|
|
3028
3028
|
* This interface was referenced by `ItemType`'s JSON-Schema
|
|
3029
3029
|
* via the `definition` "attributes".
|
|
3030
3030
|
*/
|
|
3031
|
-
export
|
|
3031
|
+
export declare type ItemTypeAttributes = {
|
|
3032
3032
|
/**
|
|
3033
3033
|
* Name of the model
|
|
3034
3034
|
*/
|
|
@@ -3085,14 +3085,14 @@ export interface ItemTypeAttributes {
|
|
|
3085
3085
|
* A hint shown to editors to help them understand the purpose of this model/block
|
|
3086
3086
|
*/
|
|
3087
3087
|
hint: string | null;
|
|
3088
|
-
}
|
|
3088
|
+
};
|
|
3089
3089
|
/**
|
|
3090
3090
|
* JSON API links
|
|
3091
3091
|
*
|
|
3092
3092
|
* This interface was referenced by `ItemType`'s JSON-Schema
|
|
3093
3093
|
* via the `definition` "relationships".
|
|
3094
3094
|
*/
|
|
3095
|
-
export
|
|
3095
|
+
export declare type ItemTypeRelationships = {
|
|
3096
3096
|
/**
|
|
3097
3097
|
* The item instance related to this item type
|
|
3098
3098
|
*/
|
|
@@ -3135,42 +3135,42 @@ export interface ItemTypeRelationships {
|
|
|
3135
3135
|
workflow: {
|
|
3136
3136
|
data: WorkflowData | null;
|
|
3137
3137
|
};
|
|
3138
|
-
}
|
|
3138
|
+
};
|
|
3139
3139
|
/**
|
|
3140
3140
|
* JSON API data
|
|
3141
3141
|
*
|
|
3142
3142
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
3143
3143
|
* via the `definition` "data".
|
|
3144
3144
|
*/
|
|
3145
|
-
export
|
|
3145
|
+
export declare type ItemData = {
|
|
3146
3146
|
type: ItemType1;
|
|
3147
3147
|
id: ItemIdentity;
|
|
3148
|
-
}
|
|
3148
|
+
};
|
|
3149
3149
|
/**
|
|
3150
3150
|
* JSON API data
|
|
3151
3151
|
*
|
|
3152
3152
|
* This interface was referenced by `Field`'s JSON-Schema
|
|
3153
3153
|
* via the `definition` "data".
|
|
3154
3154
|
*/
|
|
3155
|
-
export
|
|
3155
|
+
export declare type FieldData = {
|
|
3156
3156
|
type: FieldType;
|
|
3157
3157
|
id: FieldIdentity;
|
|
3158
|
-
}
|
|
3158
|
+
};
|
|
3159
3159
|
/**
|
|
3160
3160
|
* JSON API data
|
|
3161
3161
|
*
|
|
3162
3162
|
* This interface was referenced by `Workflow`'s JSON-Schema
|
|
3163
3163
|
* via the `definition` "data".
|
|
3164
3164
|
*/
|
|
3165
|
-
export
|
|
3165
|
+
export declare type WorkflowData = {
|
|
3166
3166
|
type: WorkflowType;
|
|
3167
3167
|
id: WorkflowIdentity;
|
|
3168
|
-
}
|
|
3168
|
+
};
|
|
3169
3169
|
/**
|
|
3170
3170
|
* This interface was referenced by `ItemType`'s JSON-Schema
|
|
3171
3171
|
* via the `create.schema` link.
|
|
3172
3172
|
*/
|
|
3173
|
-
export
|
|
3173
|
+
export declare type ItemTypeCreateSchema = {
|
|
3174
3174
|
data: {
|
|
3175
3175
|
type: ItemTypeType;
|
|
3176
3176
|
/**
|
|
@@ -3263,20 +3263,20 @@ export interface ItemTypeCreateSchema {
|
|
|
3263
3263
|
};
|
|
3264
3264
|
};
|
|
3265
3265
|
};
|
|
3266
|
-
}
|
|
3266
|
+
};
|
|
3267
3267
|
/**
|
|
3268
3268
|
* This interface was referenced by `ItemType`'s JSON-Schema
|
|
3269
3269
|
* via the `create.targetSchema` link.
|
|
3270
3270
|
*/
|
|
3271
|
-
export
|
|
3271
|
+
export declare type ItemTypeCreateTargetSchema = {
|
|
3272
3272
|
data: ItemType;
|
|
3273
3273
|
included?: MenuItem[];
|
|
3274
|
-
}
|
|
3274
|
+
};
|
|
3275
3275
|
/**
|
|
3276
3276
|
* This interface was referenced by `ItemType`'s JSON-Schema
|
|
3277
3277
|
* via the `update.schema` link.
|
|
3278
3278
|
*/
|
|
3279
|
-
export
|
|
3279
|
+
export declare type ItemTypeUpdateSchema = {
|
|
3280
3280
|
data: {
|
|
3281
3281
|
type: ItemTypeType;
|
|
3282
3282
|
id: ItemTypeIdentity;
|
|
@@ -3374,93 +3374,93 @@ export interface ItemTypeUpdateSchema {
|
|
|
3374
3374
|
};
|
|
3375
3375
|
};
|
|
3376
3376
|
};
|
|
3377
|
-
}
|
|
3377
|
+
};
|
|
3378
3378
|
/**
|
|
3379
3379
|
* This interface was referenced by `ItemType`'s JSON-Schema
|
|
3380
3380
|
* via the `update.targetSchema` link.
|
|
3381
3381
|
*/
|
|
3382
|
-
export
|
|
3382
|
+
export declare type ItemTypeUpdateTargetSchema = {
|
|
3383
3383
|
data: Job;
|
|
3384
|
-
}
|
|
3384
|
+
};
|
|
3385
3385
|
/**
|
|
3386
3386
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
3387
3387
|
* via the `definition` "job".
|
|
3388
3388
|
*/
|
|
3389
|
-
export
|
|
3389
|
+
export declare type Job = {
|
|
3390
3390
|
type: JobType;
|
|
3391
3391
|
id: JobIdentity;
|
|
3392
|
-
}
|
|
3392
|
+
};
|
|
3393
3393
|
/**
|
|
3394
3394
|
* JSON API data
|
|
3395
3395
|
*
|
|
3396
3396
|
* This interface was referenced by `Job`'s JSON-Schema
|
|
3397
3397
|
* via the `definition` "data".
|
|
3398
3398
|
*/
|
|
3399
|
-
export
|
|
3399
|
+
export declare type JobData = {
|
|
3400
3400
|
type: JobType;
|
|
3401
3401
|
id: JobIdentity;
|
|
3402
|
-
}
|
|
3402
|
+
};
|
|
3403
3403
|
/**
|
|
3404
3404
|
* This interface was referenced by `ItemType`'s JSON-Schema
|
|
3405
3405
|
* via the `update.jobSchema` link.
|
|
3406
3406
|
*/
|
|
3407
|
-
export
|
|
3407
|
+
export declare type ItemTypeUpdateJobSchema = {
|
|
3408
3408
|
data: ItemType;
|
|
3409
|
-
}
|
|
3409
|
+
};
|
|
3410
3410
|
/**
|
|
3411
3411
|
* This interface was referenced by `ItemType`'s JSON-Schema
|
|
3412
3412
|
* via the `instances.targetSchema` link.
|
|
3413
3413
|
*/
|
|
3414
|
-
export
|
|
3414
|
+
export declare type ItemTypeInstancesTargetSchema = {
|
|
3415
3415
|
data: ItemType[];
|
|
3416
|
-
}
|
|
3416
|
+
};
|
|
3417
3417
|
/**
|
|
3418
3418
|
* This interface was referenced by `ItemType`'s JSON-Schema
|
|
3419
3419
|
* via the `self.targetSchema` link.
|
|
3420
3420
|
*/
|
|
3421
|
-
export
|
|
3421
|
+
export declare type ItemTypeSelfTargetSchema = {
|
|
3422
3422
|
data: ItemType;
|
|
3423
|
-
}
|
|
3423
|
+
};
|
|
3424
3424
|
/**
|
|
3425
3425
|
* This interface was referenced by `ItemType`'s JSON-Schema
|
|
3426
3426
|
* via the `duplicate.targetSchema` link.
|
|
3427
3427
|
*/
|
|
3428
|
-
export
|
|
3428
|
+
export declare type ItemTypeDuplicateTargetSchema = {
|
|
3429
3429
|
data: ItemType;
|
|
3430
|
-
}
|
|
3430
|
+
};
|
|
3431
3431
|
/**
|
|
3432
3432
|
* This interface was referenced by `ItemType`'s JSON-Schema
|
|
3433
3433
|
* via the `destroy.targetSchema` link.
|
|
3434
3434
|
*/
|
|
3435
|
-
export
|
|
3435
|
+
export declare type ItemTypeDestroyTargetSchema = {
|
|
3436
3436
|
data: Job;
|
|
3437
|
-
}
|
|
3437
|
+
};
|
|
3438
3438
|
/**
|
|
3439
3439
|
* This interface was referenced by `ItemType`'s JSON-Schema
|
|
3440
3440
|
* via the `destroy.jobSchema` link.
|
|
3441
3441
|
*/
|
|
3442
|
-
export
|
|
3442
|
+
export declare type ItemTypeDestroyJobSchema = {
|
|
3443
3443
|
data: ItemType;
|
|
3444
|
-
}
|
|
3444
|
+
};
|
|
3445
3445
|
/**
|
|
3446
3446
|
* Each Model consists of a set of fields. Using the database metaphore, fields are like table columns, and when creating them you need to specify their type (`string`, `file`, `float`, etc.) and any required validation.
|
|
3447
3447
|
*
|
|
3448
3448
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
3449
3449
|
* via the `definition` "field".
|
|
3450
3450
|
*/
|
|
3451
|
-
export
|
|
3451
|
+
export declare type Field = {
|
|
3452
3452
|
type: FieldType;
|
|
3453
3453
|
id: FieldIdentity;
|
|
3454
3454
|
attributes: FieldAttributes;
|
|
3455
3455
|
relationships: FieldRelationships;
|
|
3456
|
-
}
|
|
3456
|
+
};
|
|
3457
3457
|
/**
|
|
3458
3458
|
* JSON API attributes
|
|
3459
3459
|
*
|
|
3460
3460
|
* This interface was referenced by `Field`'s JSON-Schema
|
|
3461
3461
|
* via the `definition` "attributes".
|
|
3462
3462
|
*/
|
|
3463
|
-
export
|
|
3463
|
+
export declare type FieldAttributes = {
|
|
3464
3464
|
/**
|
|
3465
3465
|
* The label of the field
|
|
3466
3466
|
*/
|
|
@@ -3544,14 +3544,14 @@ export interface FieldAttributes {
|
|
|
3544
3544
|
* Ordering index
|
|
3545
3545
|
*/
|
|
3546
3546
|
position: number;
|
|
3547
|
-
}
|
|
3547
|
+
};
|
|
3548
3548
|
/**
|
|
3549
3549
|
* JSON API links
|
|
3550
3550
|
*
|
|
3551
3551
|
* This interface was referenced by `Field`'s JSON-Schema
|
|
3552
3552
|
* via the `definition` "relationships".
|
|
3553
3553
|
*/
|
|
3554
|
-
export
|
|
3554
|
+
export declare type FieldRelationships = {
|
|
3555
3555
|
/**
|
|
3556
3556
|
* Field item type
|
|
3557
3557
|
*/
|
|
@@ -3564,22 +3564,22 @@ export interface FieldRelationships {
|
|
|
3564
3564
|
fieldset: {
|
|
3565
3565
|
data: null | FieldsetData;
|
|
3566
3566
|
};
|
|
3567
|
-
}
|
|
3567
|
+
};
|
|
3568
3568
|
/**
|
|
3569
3569
|
* JSON API data
|
|
3570
3570
|
*
|
|
3571
3571
|
* This interface was referenced by `Fieldset`'s JSON-Schema
|
|
3572
3572
|
* via the `definition` "data".
|
|
3573
3573
|
*/
|
|
3574
|
-
export
|
|
3574
|
+
export declare type FieldsetData = {
|
|
3575
3575
|
type: FieldsetType;
|
|
3576
3576
|
id: FieldsetIdentity;
|
|
3577
|
-
}
|
|
3577
|
+
};
|
|
3578
3578
|
/**
|
|
3579
3579
|
* This interface was referenced by `Field`'s JSON-Schema
|
|
3580
3580
|
* via the `create.schema` link.
|
|
3581
3581
|
*/
|
|
3582
|
-
export
|
|
3582
|
+
export declare type FieldCreateSchema = {
|
|
3583
3583
|
data: {
|
|
3584
3584
|
type: FieldType;
|
|
3585
3585
|
/**
|
|
@@ -3682,27 +3682,27 @@ export interface FieldCreateSchema {
|
|
|
3682
3682
|
};
|
|
3683
3683
|
};
|
|
3684
3684
|
};
|
|
3685
|
-
}
|
|
3685
|
+
};
|
|
3686
3686
|
/**
|
|
3687
3687
|
* This interface was referenced by `Field`'s JSON-Schema
|
|
3688
3688
|
* via the `create.targetSchema` link.
|
|
3689
3689
|
*/
|
|
3690
|
-
export
|
|
3690
|
+
export declare type FieldCreateTargetSchema = {
|
|
3691
3691
|
data: Job;
|
|
3692
|
-
}
|
|
3692
|
+
};
|
|
3693
3693
|
/**
|
|
3694
3694
|
* This interface was referenced by `Field`'s JSON-Schema
|
|
3695
3695
|
* via the `create.jobSchema` link.
|
|
3696
3696
|
*/
|
|
3697
|
-
export
|
|
3697
|
+
export declare type FieldCreateJobSchema = {
|
|
3698
3698
|
data: Field;
|
|
3699
3699
|
included?: ItemType[];
|
|
3700
|
-
}
|
|
3700
|
+
};
|
|
3701
3701
|
/**
|
|
3702
3702
|
* This interface was referenced by `Field`'s JSON-Schema
|
|
3703
3703
|
* via the `update.schema` link.
|
|
3704
3704
|
*/
|
|
3705
|
-
export
|
|
3705
|
+
export declare type FieldUpdateSchema = {
|
|
3706
3706
|
data: {
|
|
3707
3707
|
type: FieldType;
|
|
3708
3708
|
id: FieldIdentity;
|
|
@@ -3803,99 +3803,99 @@ export interface FieldUpdateSchema {
|
|
|
3803
3803
|
};
|
|
3804
3804
|
};
|
|
3805
3805
|
};
|
|
3806
|
-
}
|
|
3806
|
+
};
|
|
3807
3807
|
/**
|
|
3808
3808
|
* This interface was referenced by `Field`'s JSON-Schema
|
|
3809
3809
|
* via the `update.targetSchema` link.
|
|
3810
3810
|
*/
|
|
3811
|
-
export
|
|
3811
|
+
export declare type FieldUpdateTargetSchema = {
|
|
3812
3812
|
data: Job;
|
|
3813
|
-
}
|
|
3813
|
+
};
|
|
3814
3814
|
/**
|
|
3815
3815
|
* This interface was referenced by `Field`'s JSON-Schema
|
|
3816
3816
|
* via the `update.jobSchema` link.
|
|
3817
3817
|
*/
|
|
3818
|
-
export
|
|
3818
|
+
export declare type FieldUpdateJobSchema = {
|
|
3819
3819
|
data: Field;
|
|
3820
3820
|
included?: (ItemType | Field)[];
|
|
3821
|
-
}
|
|
3821
|
+
};
|
|
3822
3822
|
/**
|
|
3823
3823
|
* This interface was referenced by `Field`'s JSON-Schema
|
|
3824
3824
|
* via the `instances.targetSchema` link.
|
|
3825
3825
|
*/
|
|
3826
|
-
export
|
|
3826
|
+
export declare type FieldInstancesTargetSchema = {
|
|
3827
3827
|
data: Field[];
|
|
3828
|
-
}
|
|
3828
|
+
};
|
|
3829
3829
|
/**
|
|
3830
3830
|
* This interface was referenced by `Field`'s JSON-Schema
|
|
3831
3831
|
* via the `referencing.targetSchema` link.
|
|
3832
3832
|
*/
|
|
3833
|
-
export
|
|
3833
|
+
export declare type FieldReferencingTargetSchema = {
|
|
3834
3834
|
data: Field[];
|
|
3835
|
-
}
|
|
3835
|
+
};
|
|
3836
3836
|
/**
|
|
3837
3837
|
* This interface was referenced by `Field`'s JSON-Schema
|
|
3838
3838
|
* via the `related.targetSchema` link.
|
|
3839
3839
|
*/
|
|
3840
|
-
export
|
|
3840
|
+
export declare type FieldRelatedTargetSchema = {
|
|
3841
3841
|
data: Field[];
|
|
3842
|
-
}
|
|
3842
|
+
};
|
|
3843
3843
|
/**
|
|
3844
3844
|
* This interface was referenced by `Field`'s JSON-Schema
|
|
3845
3845
|
* via the `self.targetSchema` link.
|
|
3846
3846
|
*/
|
|
3847
|
-
export
|
|
3847
|
+
export declare type FieldSelfTargetSchema = {
|
|
3848
3848
|
data: Field;
|
|
3849
|
-
}
|
|
3849
|
+
};
|
|
3850
3850
|
/**
|
|
3851
3851
|
* This interface was referenced by `Field`'s JSON-Schema
|
|
3852
3852
|
* via the `destroy.targetSchema` link.
|
|
3853
3853
|
*/
|
|
3854
|
-
export
|
|
3854
|
+
export declare type FieldDestroyTargetSchema = {
|
|
3855
3855
|
data: Job;
|
|
3856
|
-
}
|
|
3856
|
+
};
|
|
3857
3857
|
/**
|
|
3858
3858
|
* This interface was referenced by `Field`'s JSON-Schema
|
|
3859
3859
|
* via the `destroy.jobSchema` link.
|
|
3860
3860
|
*/
|
|
3861
|
-
export
|
|
3861
|
+
export declare type FieldDestroyJobSchema = {
|
|
3862
3862
|
data: Field;
|
|
3863
3863
|
included?: ItemType[];
|
|
3864
|
-
}
|
|
3864
|
+
};
|
|
3865
3865
|
/**
|
|
3866
3866
|
* This interface was referenced by `Field`'s JSON-Schema
|
|
3867
3867
|
* via the `duplicate.targetSchema` link.
|
|
3868
3868
|
*/
|
|
3869
|
-
export
|
|
3869
|
+
export declare type FieldDuplicateTargetSchema = {
|
|
3870
3870
|
data: Job;
|
|
3871
|
-
}
|
|
3871
|
+
};
|
|
3872
3872
|
/**
|
|
3873
3873
|
* This interface was referenced by `Field`'s JSON-Schema
|
|
3874
3874
|
* via the `duplicate.jobSchema` link.
|
|
3875
3875
|
*/
|
|
3876
|
-
export
|
|
3876
|
+
export declare type FieldDuplicateJobSchema = {
|
|
3877
3877
|
data: Field;
|
|
3878
3878
|
included: ItemType[];
|
|
3879
|
-
}
|
|
3879
|
+
};
|
|
3880
3880
|
/**
|
|
3881
3881
|
* Fields can be organized and grouped into fieldset to better present them to editors.
|
|
3882
3882
|
*
|
|
3883
3883
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
3884
3884
|
* via the `definition` "fieldset".
|
|
3885
3885
|
*/
|
|
3886
|
-
export
|
|
3886
|
+
export declare type Fieldset = {
|
|
3887
3887
|
type: FieldsetType;
|
|
3888
3888
|
id: FieldsetIdentity;
|
|
3889
3889
|
attributes: FieldsetAttributes;
|
|
3890
3890
|
relationships: FieldsetRelationships;
|
|
3891
|
-
}
|
|
3891
|
+
};
|
|
3892
3892
|
/**
|
|
3893
3893
|
* JSON API attributes
|
|
3894
3894
|
*
|
|
3895
3895
|
* This interface was referenced by `Fieldset`'s JSON-Schema
|
|
3896
3896
|
* via the `definition` "attributes".
|
|
3897
3897
|
*/
|
|
3898
|
-
export
|
|
3898
|
+
export declare type FieldsetAttributes = {
|
|
3899
3899
|
/**
|
|
3900
3900
|
* The title of the fieldset
|
|
3901
3901
|
*/
|
|
@@ -3916,26 +3916,26 @@ export interface FieldsetAttributes {
|
|
|
3916
3916
|
* Ordering index
|
|
3917
3917
|
*/
|
|
3918
3918
|
position: number;
|
|
3919
|
-
}
|
|
3919
|
+
};
|
|
3920
3920
|
/**
|
|
3921
3921
|
* JSON API links
|
|
3922
3922
|
*
|
|
3923
3923
|
* This interface was referenced by `Fieldset`'s JSON-Schema
|
|
3924
3924
|
* via the `definition` "relationships".
|
|
3925
3925
|
*/
|
|
3926
|
-
export
|
|
3926
|
+
export declare type FieldsetRelationships = {
|
|
3927
3927
|
/**
|
|
3928
3928
|
* Fieldset item type
|
|
3929
3929
|
*/
|
|
3930
3930
|
item_type: {
|
|
3931
3931
|
data: ItemTypeData;
|
|
3932
3932
|
};
|
|
3933
|
-
}
|
|
3933
|
+
};
|
|
3934
3934
|
/**
|
|
3935
3935
|
* This interface was referenced by `Fieldset`'s JSON-Schema
|
|
3936
3936
|
* via the `create.schema` link.
|
|
3937
3937
|
*/
|
|
3938
|
-
export
|
|
3938
|
+
export declare type FieldsetCreateSchema = {
|
|
3939
3939
|
data: {
|
|
3940
3940
|
type: FieldsetType;
|
|
3941
3941
|
/**
|
|
@@ -3964,19 +3964,19 @@ export interface FieldsetCreateSchema {
|
|
|
3964
3964
|
start_collapsed?: boolean;
|
|
3965
3965
|
};
|
|
3966
3966
|
};
|
|
3967
|
-
}
|
|
3967
|
+
};
|
|
3968
3968
|
/**
|
|
3969
3969
|
* This interface was referenced by `Fieldset`'s JSON-Schema
|
|
3970
3970
|
* via the `create.targetSchema` link.
|
|
3971
3971
|
*/
|
|
3972
|
-
export
|
|
3972
|
+
export declare type FieldsetCreateTargetSchema = {
|
|
3973
3973
|
data: Fieldset;
|
|
3974
|
-
}
|
|
3974
|
+
};
|
|
3975
3975
|
/**
|
|
3976
3976
|
* This interface was referenced by `Fieldset`'s JSON-Schema
|
|
3977
3977
|
* via the `update.schema` link.
|
|
3978
3978
|
*/
|
|
3979
|
-
export
|
|
3979
|
+
export declare type FieldsetUpdateSchema = {
|
|
3980
3980
|
data: {
|
|
3981
3981
|
type: FieldsetType;
|
|
3982
3982
|
id: FieldsetIdentity;
|
|
@@ -4003,75 +4003,75 @@ export interface FieldsetUpdateSchema {
|
|
|
4003
4003
|
start_collapsed?: boolean;
|
|
4004
4004
|
};
|
|
4005
4005
|
};
|
|
4006
|
-
}
|
|
4006
|
+
};
|
|
4007
4007
|
/**
|
|
4008
4008
|
* This interface was referenced by `Fieldset`'s JSON-Schema
|
|
4009
4009
|
* via the `update.targetSchema` link.
|
|
4010
4010
|
*/
|
|
4011
|
-
export
|
|
4011
|
+
export declare type FieldsetUpdateTargetSchema = {
|
|
4012
4012
|
data: Fieldset;
|
|
4013
|
-
}
|
|
4013
|
+
};
|
|
4014
4014
|
/**
|
|
4015
4015
|
* This interface was referenced by `Fieldset`'s JSON-Schema
|
|
4016
4016
|
* via the `instances.targetSchema` link.
|
|
4017
4017
|
*/
|
|
4018
|
-
export
|
|
4018
|
+
export declare type FieldsetInstancesTargetSchema = {
|
|
4019
4019
|
data: Fieldset[];
|
|
4020
|
-
}
|
|
4020
|
+
};
|
|
4021
4021
|
/**
|
|
4022
4022
|
* This interface was referenced by `Fieldset`'s JSON-Schema
|
|
4023
4023
|
* via the `self.targetSchema` link.
|
|
4024
4024
|
*/
|
|
4025
|
-
export
|
|
4025
|
+
export declare type FieldsetSelfTargetSchema = {
|
|
4026
4026
|
data: Fieldset;
|
|
4027
|
-
}
|
|
4027
|
+
};
|
|
4028
4028
|
/**
|
|
4029
4029
|
* This interface was referenced by `Fieldset`'s JSON-Schema
|
|
4030
4030
|
* via the `destroy.targetSchema` link.
|
|
4031
4031
|
*/
|
|
4032
|
-
export
|
|
4032
|
+
export declare type FieldsetDestroyTargetSchema = {
|
|
4033
4033
|
data: Fieldset;
|
|
4034
|
-
}
|
|
4034
|
+
};
|
|
4035
4035
|
/**
|
|
4036
4036
|
* A session is required to access to read-and-write API endpoints
|
|
4037
4037
|
*
|
|
4038
4038
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
4039
4039
|
* via the `definition` "session".
|
|
4040
4040
|
*/
|
|
4041
|
-
export
|
|
4041
|
+
export declare type Session = {
|
|
4042
4042
|
type: SessionType;
|
|
4043
4043
|
id: SessionIdentity;
|
|
4044
4044
|
relationships: SessionRelationships;
|
|
4045
|
-
}
|
|
4045
|
+
};
|
|
4046
4046
|
/**
|
|
4047
4047
|
* JSON API links
|
|
4048
4048
|
*
|
|
4049
4049
|
* This interface was referenced by `Session`'s JSON-Schema
|
|
4050
4050
|
* via the `definition` "relationships".
|
|
4051
4051
|
*/
|
|
4052
|
-
export
|
|
4052
|
+
export declare type SessionRelationships = {
|
|
4053
4053
|
/**
|
|
4054
4054
|
* The user associated with the session
|
|
4055
4055
|
*/
|
|
4056
4056
|
user: {
|
|
4057
4057
|
data: UserData;
|
|
4058
4058
|
};
|
|
4059
|
-
}
|
|
4059
|
+
};
|
|
4060
4060
|
/**
|
|
4061
4061
|
* JSON API data
|
|
4062
4062
|
*
|
|
4063
4063
|
* This interface was referenced by `Session`'s JSON-Schema
|
|
4064
4064
|
* via the `definition` "data".
|
|
4065
4065
|
*/
|
|
4066
|
-
export
|
|
4066
|
+
export declare type SessionData = {
|
|
4067
4067
|
type: SessionType;
|
|
4068
4068
|
id: SessionIdentity;
|
|
4069
|
-
}
|
|
4069
|
+
};
|
|
4070
4070
|
/**
|
|
4071
4071
|
* This interface was referenced by `Session`'s JSON-Schema
|
|
4072
4072
|
* via the `create.schema` link.
|
|
4073
4073
|
*/
|
|
4074
|
-
export
|
|
4074
|
+
export declare type SessionCreateSchema = {
|
|
4075
4075
|
data: {
|
|
4076
4076
|
/**
|
|
4077
4077
|
* JSON API type field
|
|
@@ -4095,34 +4095,34 @@ export interface SessionCreateSchema {
|
|
|
4095
4095
|
otp_code?: string;
|
|
4096
4096
|
};
|
|
4097
4097
|
};
|
|
4098
|
-
}
|
|
4098
|
+
};
|
|
4099
4099
|
/**
|
|
4100
4100
|
* This interface was referenced by `Session`'s JSON-Schema
|
|
4101
4101
|
* via the `create.targetSchema` link.
|
|
4102
4102
|
*/
|
|
4103
|
-
export
|
|
4103
|
+
export declare type SessionCreateTargetSchema = {
|
|
4104
4104
|
data: Session;
|
|
4105
4105
|
included: User[];
|
|
4106
|
-
}
|
|
4106
|
+
};
|
|
4107
4107
|
/**
|
|
4108
4108
|
* An API token allows access to our API. It is linked to a Role, which describes what actions can be performed.
|
|
4109
4109
|
*
|
|
4110
4110
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
4111
4111
|
* via the `definition` "access_token".
|
|
4112
4112
|
*/
|
|
4113
|
-
export
|
|
4113
|
+
export declare type AccessToken = {
|
|
4114
4114
|
type: AccessTokenType;
|
|
4115
4115
|
id: AccessTokenIdentity;
|
|
4116
4116
|
attributes: AccessTokenAttributes;
|
|
4117
4117
|
relationships: AccessTokenRelationships;
|
|
4118
|
-
}
|
|
4118
|
+
};
|
|
4119
4119
|
/**
|
|
4120
4120
|
* JSON API attributes
|
|
4121
4121
|
*
|
|
4122
4122
|
* This interface was referenced by `AccessToken`'s JSON-Schema
|
|
4123
4123
|
* via the `definition` "attributes".
|
|
4124
4124
|
*/
|
|
4125
|
-
export
|
|
4125
|
+
export declare type AccessTokenAttributes = {
|
|
4126
4126
|
/**
|
|
4127
4127
|
* Name of API token
|
|
4128
4128
|
*/
|
|
@@ -4144,36 +4144,36 @@ export interface AccessTokenAttributes {
|
|
|
4144
4144
|
*/
|
|
4145
4145
|
can_access_cma: boolean;
|
|
4146
4146
|
hardcoded_type: null | string;
|
|
4147
|
-
}
|
|
4147
|
+
};
|
|
4148
4148
|
/**
|
|
4149
4149
|
* JSON API links
|
|
4150
4150
|
*
|
|
4151
4151
|
* This interface was referenced by `AccessToken`'s JSON-Schema
|
|
4152
4152
|
* via the `definition` "relationships".
|
|
4153
4153
|
*/
|
|
4154
|
-
export
|
|
4154
|
+
export declare type AccessTokenRelationships = {
|
|
4155
4155
|
/**
|
|
4156
4156
|
* Role
|
|
4157
4157
|
*/
|
|
4158
4158
|
role: {
|
|
4159
4159
|
data: RoleData | null;
|
|
4160
4160
|
};
|
|
4161
|
-
}
|
|
4161
|
+
};
|
|
4162
4162
|
/**
|
|
4163
4163
|
* JSON API data
|
|
4164
4164
|
*
|
|
4165
4165
|
* This interface was referenced by `AccessToken`'s JSON-Schema
|
|
4166
4166
|
* via the `definition` "data".
|
|
4167
4167
|
*/
|
|
4168
|
-
export
|
|
4168
|
+
export declare type AccessTokenData = {
|
|
4169
4169
|
type: AccessTokenType;
|
|
4170
4170
|
id: AccessTokenIdentity;
|
|
4171
|
-
}
|
|
4171
|
+
};
|
|
4172
4172
|
/**
|
|
4173
4173
|
* This interface was referenced by `AccessToken`'s JSON-Schema
|
|
4174
4174
|
* via the `create.schema` link.
|
|
4175
4175
|
*/
|
|
4176
|
-
export
|
|
4176
|
+
export declare type AccessTokenCreateSchema = {
|
|
4177
4177
|
data: {
|
|
4178
4178
|
type: AccessTokenType;
|
|
4179
4179
|
attributes: {
|
|
@@ -4203,19 +4203,19 @@ export interface AccessTokenCreateSchema {
|
|
|
4203
4203
|
};
|
|
4204
4204
|
};
|
|
4205
4205
|
};
|
|
4206
|
-
}
|
|
4206
|
+
};
|
|
4207
4207
|
/**
|
|
4208
4208
|
* This interface was referenced by `AccessToken`'s JSON-Schema
|
|
4209
4209
|
* via the `create.targetSchema` link.
|
|
4210
4210
|
*/
|
|
4211
|
-
export
|
|
4211
|
+
export declare type AccessTokenCreateTargetSchema = {
|
|
4212
4212
|
data: AccessToken;
|
|
4213
|
-
}
|
|
4213
|
+
};
|
|
4214
4214
|
/**
|
|
4215
4215
|
* This interface was referenced by `AccessToken`'s JSON-Schema
|
|
4216
4216
|
* via the `update.schema` link.
|
|
4217
4217
|
*/
|
|
4218
|
-
export
|
|
4218
|
+
export declare type AccessTokenUpdateSchema = {
|
|
4219
4219
|
data: {
|
|
4220
4220
|
type: AccessTokenType;
|
|
4221
4221
|
id: AccessTokenIdentity;
|
|
@@ -4246,61 +4246,61 @@ export interface AccessTokenUpdateSchema {
|
|
|
4246
4246
|
};
|
|
4247
4247
|
};
|
|
4248
4248
|
};
|
|
4249
|
-
}
|
|
4249
|
+
};
|
|
4250
4250
|
/**
|
|
4251
4251
|
* This interface was referenced by `AccessToken`'s JSON-Schema
|
|
4252
4252
|
* via the `update.targetSchema` link.
|
|
4253
4253
|
*/
|
|
4254
|
-
export
|
|
4254
|
+
export declare type AccessTokenUpdateTargetSchema = {
|
|
4255
4255
|
data: AccessToken;
|
|
4256
|
-
}
|
|
4256
|
+
};
|
|
4257
4257
|
/**
|
|
4258
4258
|
* This interface was referenced by `AccessToken`'s JSON-Schema
|
|
4259
4259
|
* via the `instances.targetSchema` link.
|
|
4260
4260
|
*/
|
|
4261
|
-
export
|
|
4261
|
+
export declare type AccessTokenInstancesTargetSchema = {
|
|
4262
4262
|
data: AccessToken[];
|
|
4263
|
-
}
|
|
4263
|
+
};
|
|
4264
4264
|
/**
|
|
4265
4265
|
* This interface was referenced by `AccessToken`'s JSON-Schema
|
|
4266
4266
|
* via the `self.targetSchema` link.
|
|
4267
4267
|
*/
|
|
4268
|
-
export
|
|
4268
|
+
export declare type AccessTokenSelfTargetSchema = {
|
|
4269
4269
|
data: AccessToken;
|
|
4270
|
-
}
|
|
4270
|
+
};
|
|
4271
4271
|
/**
|
|
4272
4272
|
* This interface was referenced by `AccessToken`'s JSON-Schema
|
|
4273
4273
|
* via the `regenerate_token.targetSchema` link.
|
|
4274
4274
|
*/
|
|
4275
|
-
export
|
|
4275
|
+
export declare type AccessTokenRegenerateTokenTargetSchema = {
|
|
4276
4276
|
data: AccessToken;
|
|
4277
|
-
}
|
|
4277
|
+
};
|
|
4278
4278
|
/**
|
|
4279
4279
|
* This interface was referenced by `AccessToken`'s JSON-Schema
|
|
4280
4280
|
* via the `destroy.targetSchema` link.
|
|
4281
4281
|
*/
|
|
4282
|
-
export
|
|
4282
|
+
export declare type AccessTokenDestroyTargetSchema = {
|
|
4283
4283
|
data: AccessToken;
|
|
4284
|
-
}
|
|
4284
|
+
};
|
|
4285
4285
|
/**
|
|
4286
4286
|
* Plugins enable developers to replace DatoCMS field components with HTML5 applications so the editing experiences of the DatoCMS web app can be customized.
|
|
4287
4287
|
*
|
|
4288
4288
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
4289
4289
|
* via the `definition` "plugin".
|
|
4290
4290
|
*/
|
|
4291
|
-
export
|
|
4291
|
+
export declare type Plugin = {
|
|
4292
4292
|
type: PluginType;
|
|
4293
4293
|
id: PluginIdentity;
|
|
4294
4294
|
attributes: PluginAttributes;
|
|
4295
4295
|
meta: PluginMeta;
|
|
4296
|
-
}
|
|
4296
|
+
};
|
|
4297
4297
|
/**
|
|
4298
4298
|
* JSON API attributes
|
|
4299
4299
|
*
|
|
4300
4300
|
* This interface was referenced by `Plugin`'s JSON-Schema
|
|
4301
4301
|
* via the `definition` "attributes".
|
|
4302
4302
|
*/
|
|
4303
|
-
export
|
|
4303
|
+
export declare type PluginAttributes = {
|
|
4304
4304
|
/**
|
|
4305
4305
|
* The name of the plugin
|
|
4306
4306
|
*/
|
|
@@ -4346,34 +4346,34 @@ export interface PluginAttributes {
|
|
|
4346
4346
|
global: unknown[];
|
|
4347
4347
|
instance: unknown[];
|
|
4348
4348
|
};
|
|
4349
|
-
}
|
|
4349
|
+
};
|
|
4350
4350
|
/**
|
|
4351
4351
|
* JSON API meta
|
|
4352
4352
|
*
|
|
4353
4353
|
* This interface was referenced by `Plugin`'s JSON-Schema
|
|
4354
4354
|
* via the `definition` "meta".
|
|
4355
4355
|
*/
|
|
4356
|
-
export
|
|
4356
|
+
export declare type PluginMeta = {
|
|
4357
4357
|
/**
|
|
4358
4358
|
* Version of the plugin. Legacy plugins are v1, new plugins are v2
|
|
4359
4359
|
*/
|
|
4360
4360
|
version: string;
|
|
4361
|
-
}
|
|
4361
|
+
};
|
|
4362
4362
|
/**
|
|
4363
4363
|
* JSON API data
|
|
4364
4364
|
*
|
|
4365
4365
|
* This interface was referenced by `Plugin`'s JSON-Schema
|
|
4366
4366
|
* via the `definition` "data".
|
|
4367
4367
|
*/
|
|
4368
|
-
export
|
|
4368
|
+
export declare type PluginData = {
|
|
4369
4369
|
type: PluginType;
|
|
4370
4370
|
id: PluginIdentity;
|
|
4371
|
-
}
|
|
4371
|
+
};
|
|
4372
4372
|
/**
|
|
4373
4373
|
* This interface was referenced by `Plugin`'s JSON-Schema
|
|
4374
4374
|
* via the `create.schema` link.
|
|
4375
4375
|
*/
|
|
4376
|
-
export
|
|
4376
|
+
export declare type PluginCreateSchema = {
|
|
4377
4377
|
data: {
|
|
4378
4378
|
type: PluginType;
|
|
4379
4379
|
attributes: {
|
|
@@ -4418,19 +4418,19 @@ export interface PluginCreateSchema {
|
|
|
4418
4418
|
package_version?: null | string;
|
|
4419
4419
|
};
|
|
4420
4420
|
};
|
|
4421
|
-
}
|
|
4421
|
+
};
|
|
4422
4422
|
/**
|
|
4423
4423
|
* This interface was referenced by `Plugin`'s JSON-Schema
|
|
4424
4424
|
* via the `create.targetSchema` link.
|
|
4425
4425
|
*/
|
|
4426
|
-
export
|
|
4426
|
+
export declare type PluginCreateTargetSchema = {
|
|
4427
4427
|
data: Plugin;
|
|
4428
|
-
}
|
|
4428
|
+
};
|
|
4429
4429
|
/**
|
|
4430
4430
|
* This interface was referenced by `Plugin`'s JSON-Schema
|
|
4431
4431
|
* via the `update.schema` link.
|
|
4432
4432
|
*/
|
|
4433
|
-
export
|
|
4433
|
+
export declare type PluginUpdateSchema = {
|
|
4434
4434
|
data: {
|
|
4435
4435
|
type: PluginType;
|
|
4436
4436
|
id: PluginIdentity;
|
|
@@ -4466,60 +4466,60 @@ export interface PluginUpdateSchema {
|
|
|
4466
4466
|
[k: string]: unknown;
|
|
4467
4467
|
};
|
|
4468
4468
|
};
|
|
4469
|
-
}
|
|
4469
|
+
};
|
|
4470
4470
|
/**
|
|
4471
4471
|
* This interface was referenced by `Plugin`'s JSON-Schema
|
|
4472
4472
|
* via the `update.targetSchema` link.
|
|
4473
4473
|
*/
|
|
4474
|
-
export
|
|
4474
|
+
export declare type PluginUpdateTargetSchema = {
|
|
4475
4475
|
data: Plugin;
|
|
4476
|
-
}
|
|
4476
|
+
};
|
|
4477
4477
|
/**
|
|
4478
4478
|
* This interface was referenced by `Plugin`'s JSON-Schema
|
|
4479
4479
|
* via the `instances.targetSchema` link.
|
|
4480
4480
|
*/
|
|
4481
|
-
export
|
|
4481
|
+
export declare type PluginInstancesTargetSchema = {
|
|
4482
4482
|
data: Plugin[];
|
|
4483
|
-
}
|
|
4483
|
+
};
|
|
4484
4484
|
/**
|
|
4485
4485
|
* This interface was referenced by `Plugin`'s JSON-Schema
|
|
4486
4486
|
* via the `self.targetSchema` link.
|
|
4487
4487
|
*/
|
|
4488
|
-
export
|
|
4488
|
+
export declare type PluginSelfTargetSchema = {
|
|
4489
4489
|
data: Plugin;
|
|
4490
|
-
}
|
|
4490
|
+
};
|
|
4491
4491
|
/**
|
|
4492
4492
|
* This interface was referenced by `Plugin`'s JSON-Schema
|
|
4493
4493
|
* via the `destroy.targetSchema` link.
|
|
4494
4494
|
*/
|
|
4495
|
-
export
|
|
4495
|
+
export declare type PluginDestroyTargetSchema = {
|
|
4496
4496
|
data: Plugin;
|
|
4497
|
-
}
|
|
4497
|
+
};
|
|
4498
4498
|
/**
|
|
4499
4499
|
* This interface was referenced by `Plugin`'s JSON-Schema
|
|
4500
4500
|
* via the `fields.targetSchema` link.
|
|
4501
4501
|
*/
|
|
4502
|
-
export
|
|
4502
|
+
export declare type PluginFieldsTargetSchema = {
|
|
4503
4503
|
data: Field[];
|
|
4504
|
-
}
|
|
4504
|
+
};
|
|
4505
4505
|
/**
|
|
4506
4506
|
* Some API endpoint give results asynchronously, returning the ID of a job.
|
|
4507
4507
|
*
|
|
4508
4508
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
4509
4509
|
* via the `definition` "job_result".
|
|
4510
4510
|
*/
|
|
4511
|
-
export
|
|
4511
|
+
export declare type JobResult = {
|
|
4512
4512
|
type: JobResultType;
|
|
4513
4513
|
id: JobResultIdentity;
|
|
4514
4514
|
attributes: JobResultAttributes;
|
|
4515
|
-
}
|
|
4515
|
+
};
|
|
4516
4516
|
/**
|
|
4517
4517
|
* JSON API attributes
|
|
4518
4518
|
*
|
|
4519
4519
|
* This interface was referenced by `JobResult`'s JSON-Schema
|
|
4520
4520
|
* via the `definition` "attributes".
|
|
4521
4521
|
*/
|
|
4522
|
-
export
|
|
4522
|
+
export declare type JobResultAttributes = {
|
|
4523
4523
|
/**
|
|
4524
4524
|
* Status of delayed HTTP response
|
|
4525
4525
|
*/
|
|
@@ -4530,40 +4530,40 @@ export interface JobResultAttributes {
|
|
|
4530
4530
|
payload: null | {
|
|
4531
4531
|
[k: string]: unknown;
|
|
4532
4532
|
};
|
|
4533
|
-
}
|
|
4533
|
+
};
|
|
4534
4534
|
/**
|
|
4535
4535
|
* JSON API data
|
|
4536
4536
|
*
|
|
4537
4537
|
* This interface was referenced by `JobResult`'s JSON-Schema
|
|
4538
4538
|
* via the `definition` "data".
|
|
4539
4539
|
*/
|
|
4540
|
-
export
|
|
4540
|
+
export declare type JobResultData = {
|
|
4541
4541
|
type: JobResultType;
|
|
4542
4542
|
id: JobResultIdentity;
|
|
4543
|
-
}
|
|
4543
|
+
};
|
|
4544
4544
|
/**
|
|
4545
4545
|
* This interface was referenced by `JobResult`'s JSON-Schema
|
|
4546
4546
|
* via the `self.targetSchema` link.
|
|
4547
4547
|
*/
|
|
4548
|
-
export
|
|
4548
|
+
export declare type JobResultSelfTargetSchema = {
|
|
4549
4549
|
data: JobResult;
|
|
4550
|
-
}
|
|
4550
|
+
};
|
|
4551
4551
|
/**
|
|
4552
4552
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
4553
4553
|
* via the `definition` "subscription_limit".
|
|
4554
4554
|
*/
|
|
4555
|
-
export
|
|
4555
|
+
export declare type SubscriptionLimit = {
|
|
4556
4556
|
type: SubscriptionLimitType;
|
|
4557
4557
|
id: SubscriptionLimitIdentity;
|
|
4558
4558
|
attributes: SubscriptionLimitAttributes;
|
|
4559
|
-
}
|
|
4559
|
+
};
|
|
4560
4560
|
/**
|
|
4561
4561
|
* JSON API attributes
|
|
4562
4562
|
*
|
|
4563
4563
|
* This interface was referenced by `SubscriptionLimit`'s JSON-Schema
|
|
4564
4564
|
* via the `definition` "attributes".
|
|
4565
4565
|
*/
|
|
4566
|
-
export
|
|
4566
|
+
export declare type SubscriptionLimitAttributes = {
|
|
4567
4567
|
/**
|
|
4568
4568
|
* The codename for the limit
|
|
4569
4569
|
*/
|
|
@@ -4576,47 +4576,47 @@ export interface SubscriptionLimitAttributes {
|
|
|
4576
4576
|
* The actual limit
|
|
4577
4577
|
*/
|
|
4578
4578
|
limit: number | null;
|
|
4579
|
-
}
|
|
4579
|
+
};
|
|
4580
4580
|
/**
|
|
4581
4581
|
* JSON API data
|
|
4582
4582
|
*
|
|
4583
4583
|
* This interface was referenced by `SubscriptionLimit`'s JSON-Schema
|
|
4584
4584
|
* via the `definition` "data".
|
|
4585
4585
|
*/
|
|
4586
|
-
export
|
|
4586
|
+
export declare type SubscriptionLimitData = {
|
|
4587
4587
|
type: SubscriptionLimitType;
|
|
4588
4588
|
id: SubscriptionLimitIdentity;
|
|
4589
|
-
}
|
|
4589
|
+
};
|
|
4590
4590
|
/**
|
|
4591
4591
|
* This interface was referenced by `SubscriptionLimit`'s JSON-Schema
|
|
4592
4592
|
* via the `instances.targetSchema` link.
|
|
4593
4593
|
*/
|
|
4594
|
-
export
|
|
4594
|
+
export declare type SubscriptionLimitInstancesTargetSchema = {
|
|
4595
4595
|
data: SubscriptionLimit[];
|
|
4596
|
-
}
|
|
4596
|
+
};
|
|
4597
4597
|
/**
|
|
4598
4598
|
* This interface was referenced by `SubscriptionLimit`'s JSON-Schema
|
|
4599
4599
|
* via the `self.targetSchema` link.
|
|
4600
4600
|
*/
|
|
4601
|
-
export
|
|
4601
|
+
export declare type SubscriptionLimitSelfTargetSchema = {
|
|
4602
4602
|
data: SubscriptionLimit;
|
|
4603
|
-
}
|
|
4603
|
+
};
|
|
4604
4604
|
/**
|
|
4605
4605
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
4606
4606
|
* via the `definition` "subscription_feature".
|
|
4607
4607
|
*/
|
|
4608
|
-
export
|
|
4608
|
+
export declare type SubscriptionFeature = {
|
|
4609
4609
|
type: SubscriptionFeatureType;
|
|
4610
4610
|
id: SubscriptionFeatureIdentity;
|
|
4611
4611
|
attributes: SubscriptionFeatureAttributes;
|
|
4612
|
-
}
|
|
4612
|
+
};
|
|
4613
4613
|
/**
|
|
4614
4614
|
* JSON API attributes
|
|
4615
4615
|
*
|
|
4616
4616
|
* This interface was referenced by `SubscriptionFeature`'s JSON-Schema
|
|
4617
4617
|
* via the `definition` "attributes".
|
|
4618
4618
|
*/
|
|
4619
|
-
export
|
|
4619
|
+
export declare type SubscriptionFeatureAttributes = {
|
|
4620
4620
|
/**
|
|
4621
4621
|
* The codename for the feature
|
|
4622
4622
|
*/
|
|
@@ -4629,43 +4629,43 @@ export interface SubscriptionFeatureAttributes {
|
|
|
4629
4629
|
* Whether the feature is available on the current project
|
|
4630
4630
|
*/
|
|
4631
4631
|
enabled: boolean;
|
|
4632
|
-
}
|
|
4632
|
+
};
|
|
4633
4633
|
/**
|
|
4634
4634
|
* JSON API data
|
|
4635
4635
|
*
|
|
4636
4636
|
* This interface was referenced by `SubscriptionFeature`'s JSON-Schema
|
|
4637
4637
|
* via the `definition` "data".
|
|
4638
4638
|
*/
|
|
4639
|
-
export
|
|
4639
|
+
export declare type SubscriptionFeatureData = {
|
|
4640
4640
|
type: SubscriptionFeatureType;
|
|
4641
4641
|
id: SubscriptionFeatureIdentity;
|
|
4642
|
-
}
|
|
4642
|
+
};
|
|
4643
4643
|
/**
|
|
4644
4644
|
* This interface was referenced by `SubscriptionFeature`'s JSON-Schema
|
|
4645
4645
|
* via the `instances.targetSchema` link.
|
|
4646
4646
|
*/
|
|
4647
|
-
export
|
|
4647
|
+
export declare type SubscriptionFeatureInstancesTargetSchema = {
|
|
4648
4648
|
data: SubscriptionFeature[];
|
|
4649
|
-
}
|
|
4649
|
+
};
|
|
4650
4650
|
/**
|
|
4651
4651
|
* Represents an event occurred during the deploy process of your administrative area.
|
|
4652
4652
|
*
|
|
4653
4653
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
4654
4654
|
* via the `definition` "build_event".
|
|
4655
4655
|
*/
|
|
4656
|
-
export
|
|
4656
|
+
export declare type BuildEvent = {
|
|
4657
4657
|
type: BuildEventType;
|
|
4658
4658
|
id: BuildEventIdentity;
|
|
4659
4659
|
attributes: BuildEventAttributes;
|
|
4660
4660
|
relationships: BuildEventRelationships;
|
|
4661
|
-
}
|
|
4661
|
+
};
|
|
4662
4662
|
/**
|
|
4663
4663
|
* JSON API attributes
|
|
4664
4664
|
*
|
|
4665
4665
|
* This interface was referenced by `BuildEvent`'s JSON-Schema
|
|
4666
4666
|
* via the `definition` "attributes".
|
|
4667
4667
|
*/
|
|
4668
|
-
export
|
|
4668
|
+
export declare type BuildEventAttributes = {
|
|
4669
4669
|
/**
|
|
4670
4670
|
* The type of activity
|
|
4671
4671
|
*/
|
|
@@ -4680,84 +4680,84 @@ export interface BuildEventAttributes {
|
|
|
4680
4680
|
data: {
|
|
4681
4681
|
[k: string]: unknown;
|
|
4682
4682
|
};
|
|
4683
|
-
}
|
|
4683
|
+
};
|
|
4684
4684
|
/**
|
|
4685
4685
|
* JSON API links
|
|
4686
4686
|
*
|
|
4687
4687
|
* This interface was referenced by `BuildEvent`'s JSON-Schema
|
|
4688
4688
|
* via the `definition` "relationships".
|
|
4689
4689
|
*/
|
|
4690
|
-
export
|
|
4690
|
+
export declare type BuildEventRelationships = {
|
|
4691
4691
|
/**
|
|
4692
4692
|
* Source build trigger
|
|
4693
4693
|
*/
|
|
4694
4694
|
build_trigger: {
|
|
4695
4695
|
data: BuildTriggerData;
|
|
4696
4696
|
};
|
|
4697
|
-
}
|
|
4697
|
+
};
|
|
4698
4698
|
/**
|
|
4699
4699
|
* JSON API data
|
|
4700
4700
|
*
|
|
4701
4701
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema
|
|
4702
4702
|
* via the `definition` "data".
|
|
4703
4703
|
*/
|
|
4704
|
-
export
|
|
4704
|
+
export declare type BuildTriggerData = {
|
|
4705
4705
|
type: BuildTriggerType;
|
|
4706
4706
|
id: BuildTriggerIdentity;
|
|
4707
|
-
}
|
|
4707
|
+
};
|
|
4708
4708
|
/**
|
|
4709
4709
|
* JSON API data
|
|
4710
4710
|
*
|
|
4711
4711
|
* This interface was referenced by `BuildEvent`'s JSON-Schema
|
|
4712
4712
|
* via the `definition` "data".
|
|
4713
4713
|
*/
|
|
4714
|
-
export
|
|
4714
|
+
export declare type BuildEventData = {
|
|
4715
4715
|
type: BuildEventType;
|
|
4716
4716
|
id: BuildEventIdentity;
|
|
4717
|
-
}
|
|
4717
|
+
};
|
|
4718
4718
|
/**
|
|
4719
4719
|
* This interface was referenced by `BuildEvent`'s JSON-Schema
|
|
4720
4720
|
* via the `instances.targetSchema` link.
|
|
4721
4721
|
*/
|
|
4722
|
-
export
|
|
4722
|
+
export declare type BuildEventInstancesTargetSchema = {
|
|
4723
4723
|
data: BuildEvent[];
|
|
4724
|
-
}
|
|
4724
|
+
};
|
|
4725
4725
|
/**
|
|
4726
4726
|
* This interface was referenced by `BuildEvent`'s JSON-Schema
|
|
4727
4727
|
* via the `self.targetSchema` link.
|
|
4728
4728
|
*/
|
|
4729
|
-
export
|
|
4729
|
+
export declare type BuildEventSelfTargetSchema = {
|
|
4730
4730
|
data: BuildEvent;
|
|
4731
|
-
}
|
|
4731
|
+
};
|
|
4732
4732
|
/**
|
|
4733
4733
|
* DatoCMS stores the individual pieces of content you create from a model as records, which are much like table rows in a database. For backward-compatibility reasons, the API refers to records as "items".
|
|
4734
4734
|
*
|
|
4735
4735
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
4736
4736
|
* via the `definition` "item".
|
|
4737
4737
|
*/
|
|
4738
|
-
export
|
|
4738
|
+
export declare type Item = {
|
|
4739
4739
|
type: ItemType1;
|
|
4740
4740
|
id: ItemIdentity;
|
|
4741
4741
|
attributes: ItemAttributes;
|
|
4742
4742
|
relationships: ItemRelationships;
|
|
4743
4743
|
meta: ItemMeta;
|
|
4744
|
-
}
|
|
4744
|
+
};
|
|
4745
4745
|
/**
|
|
4746
4746
|
* The JSON data associated to the record
|
|
4747
4747
|
*
|
|
4748
4748
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
4749
4749
|
* via the `definition` "attributes".
|
|
4750
4750
|
*/
|
|
4751
|
-
export
|
|
4751
|
+
export declare type ItemAttributes = {
|
|
4752
4752
|
[k: string]: unknown;
|
|
4753
|
-
}
|
|
4753
|
+
};
|
|
4754
4754
|
/**
|
|
4755
4755
|
* JSON API links
|
|
4756
4756
|
*
|
|
4757
4757
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
4758
4758
|
* via the `definition` "relationships".
|
|
4759
4759
|
*/
|
|
4760
|
-
export
|
|
4760
|
+
export declare type ItemRelationships = {
|
|
4761
4761
|
/**
|
|
4762
4762
|
* The record's model
|
|
4763
4763
|
*/
|
|
@@ -4770,14 +4770,14 @@ export interface ItemRelationships {
|
|
|
4770
4770
|
creator?: {
|
|
4771
4771
|
data: AccountData | AccessTokenData | UserData | SsoUserData;
|
|
4772
4772
|
};
|
|
4773
|
-
}
|
|
4773
|
+
};
|
|
4774
4774
|
/**
|
|
4775
4775
|
* Meta information regarding the record
|
|
4776
4776
|
*
|
|
4777
4777
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
4778
4778
|
* via the `definition` "meta".
|
|
4779
4779
|
*/
|
|
4780
|
-
export
|
|
4780
|
+
export declare type ItemMeta = {
|
|
4781
4781
|
/**
|
|
4782
4782
|
* Date of creation
|
|
4783
4783
|
*/
|
|
@@ -4818,22 +4818,22 @@ export interface ItemMeta {
|
|
|
4818
4818
|
* Workflow stage in which the item is
|
|
4819
4819
|
*/
|
|
4820
4820
|
stage: null | string;
|
|
4821
|
-
}
|
|
4821
|
+
};
|
|
4822
4822
|
/**
|
|
4823
4823
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
4824
4824
|
* via the `instances.targetSchema` link.
|
|
4825
4825
|
*/
|
|
4826
|
-
export
|
|
4826
|
+
export declare type ItemInstancesTargetSchema = {
|
|
4827
4827
|
data: Item[];
|
|
4828
4828
|
meta: {
|
|
4829
4829
|
total_count: number;
|
|
4830
4830
|
};
|
|
4831
|
-
}
|
|
4831
|
+
};
|
|
4832
4832
|
/**
|
|
4833
4833
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
4834
4834
|
* via the `validate_existing.schema` link.
|
|
4835
4835
|
*/
|
|
4836
|
-
export
|
|
4836
|
+
export declare type ItemValidateExistingSchema = {
|
|
4837
4837
|
data: {
|
|
4838
4838
|
id: ItemIdentity;
|
|
4839
4839
|
type: ItemType1;
|
|
@@ -4858,12 +4858,12 @@ export interface ItemValidateExistingSchema {
|
|
|
4858
4858
|
};
|
|
4859
4859
|
};
|
|
4860
4860
|
};
|
|
4861
|
-
}
|
|
4861
|
+
};
|
|
4862
4862
|
/**
|
|
4863
4863
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
4864
4864
|
* via the `validate_new.schema` link.
|
|
4865
4865
|
*/
|
|
4866
|
-
export
|
|
4866
|
+
export declare type ItemValidateNewSchema = {
|
|
4867
4867
|
data: {
|
|
4868
4868
|
type: ItemType1;
|
|
4869
4869
|
/**
|
|
@@ -4881,12 +4881,12 @@ export interface ItemValidateNewSchema {
|
|
|
4881
4881
|
};
|
|
4882
4882
|
};
|
|
4883
4883
|
};
|
|
4884
|
-
}
|
|
4884
|
+
};
|
|
4885
4885
|
/**
|
|
4886
4886
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
4887
4887
|
* via the `create.schema` link.
|
|
4888
4888
|
*/
|
|
4889
|
-
export
|
|
4889
|
+
export declare type ItemCreateSchema = {
|
|
4890
4890
|
data: {
|
|
4891
4891
|
type: ItemType1;
|
|
4892
4892
|
/**
|
|
@@ -4941,35 +4941,35 @@ export interface ItemCreateSchema {
|
|
|
4941
4941
|
};
|
|
4942
4942
|
};
|
|
4943
4943
|
};
|
|
4944
|
-
}
|
|
4944
|
+
};
|
|
4945
4945
|
/**
|
|
4946
4946
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
4947
4947
|
* via the `create.targetSchema` link.
|
|
4948
4948
|
*/
|
|
4949
|
-
export
|
|
4949
|
+
export declare type ItemCreateTargetSchema = {
|
|
4950
4950
|
data: Item;
|
|
4951
4951
|
included: (ItemType | Item)[];
|
|
4952
|
-
}
|
|
4952
|
+
};
|
|
4953
4953
|
/**
|
|
4954
4954
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
4955
4955
|
* via the `duplicate.targetSchema` link.
|
|
4956
4956
|
*/
|
|
4957
|
-
export
|
|
4957
|
+
export declare type ItemDuplicateTargetSchema = {
|
|
4958
4958
|
data: Job;
|
|
4959
|
-
}
|
|
4959
|
+
};
|
|
4960
4960
|
/**
|
|
4961
4961
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
4962
4962
|
* via the `duplicate.jobSchema` link.
|
|
4963
4963
|
*/
|
|
4964
|
-
export
|
|
4964
|
+
export declare type ItemDuplicateJobSchema = {
|
|
4965
4965
|
data: Item;
|
|
4966
4966
|
included: ItemType[];
|
|
4967
|
-
}
|
|
4967
|
+
};
|
|
4968
4968
|
/**
|
|
4969
4969
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
4970
4970
|
* via the `update.schema` link.
|
|
4971
4971
|
*/
|
|
4972
|
-
export
|
|
4972
|
+
export declare type ItemUpdateSchema = {
|
|
4973
4973
|
data: {
|
|
4974
4974
|
type: ItemType1;
|
|
4975
4975
|
id: ItemIdentity;
|
|
@@ -5039,118 +5039,118 @@ export interface ItemUpdateSchema {
|
|
|
5039
5039
|
};
|
|
5040
5040
|
};
|
|
5041
5041
|
};
|
|
5042
|
-
}
|
|
5042
|
+
};
|
|
5043
5043
|
/**
|
|
5044
5044
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5045
5045
|
* via the `update.targetSchema` link.
|
|
5046
5046
|
*/
|
|
5047
|
-
export
|
|
5047
|
+
export declare type ItemUpdateTargetSchema = {
|
|
5048
5048
|
data: Item;
|
|
5049
5049
|
included?: (ItemType | Item)[];
|
|
5050
|
-
}
|
|
5050
|
+
};
|
|
5051
5051
|
/**
|
|
5052
5052
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5053
5053
|
* via the `references.targetSchema` link.
|
|
5054
5054
|
*/
|
|
5055
|
-
export
|
|
5055
|
+
export declare type ItemReferencesTargetSchema = {
|
|
5056
5056
|
data: Item[];
|
|
5057
|
-
}
|
|
5057
|
+
};
|
|
5058
5058
|
/**
|
|
5059
5059
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5060
5060
|
* via the `self.targetSchema` link.
|
|
5061
5061
|
*/
|
|
5062
|
-
export
|
|
5062
|
+
export declare type ItemSelfTargetSchema = {
|
|
5063
5063
|
data: Item;
|
|
5064
|
-
}
|
|
5064
|
+
};
|
|
5065
5065
|
/**
|
|
5066
5066
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5067
5067
|
* via the `destroy.targetSchema` link.
|
|
5068
5068
|
*/
|
|
5069
|
-
export
|
|
5069
|
+
export declare type ItemDestroyTargetSchema = {
|
|
5070
5070
|
data: Job;
|
|
5071
|
-
}
|
|
5071
|
+
};
|
|
5072
5072
|
/**
|
|
5073
5073
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5074
5074
|
* via the `destroy.jobSchema` link.
|
|
5075
5075
|
*/
|
|
5076
|
-
export
|
|
5076
|
+
export declare type ItemDestroyJobSchema = {
|
|
5077
5077
|
data: Item;
|
|
5078
|
-
}
|
|
5078
|
+
};
|
|
5079
5079
|
/**
|
|
5080
5080
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5081
5081
|
* via the `batch_destroy.targetSchema` link.
|
|
5082
5082
|
*/
|
|
5083
|
-
export
|
|
5083
|
+
export declare type ItemBatchDestroyTargetSchema = {
|
|
5084
5084
|
data: Job;
|
|
5085
|
-
}
|
|
5085
|
+
};
|
|
5086
5086
|
/**
|
|
5087
5087
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5088
5088
|
* via the `batch_destroy.jobSchema` link.
|
|
5089
5089
|
*/
|
|
5090
|
-
export
|
|
5090
|
+
export declare type ItemBatchDestroyJobSchema = {
|
|
5091
5091
|
data: unknown[];
|
|
5092
5092
|
meta: {
|
|
5093
5093
|
successful: number;
|
|
5094
5094
|
failed: number;
|
|
5095
5095
|
};
|
|
5096
|
-
}
|
|
5096
|
+
};
|
|
5097
5097
|
/**
|
|
5098
5098
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5099
5099
|
* via the `batch_publish.targetSchema` link.
|
|
5100
5100
|
*/
|
|
5101
|
-
export
|
|
5101
|
+
export declare type ItemBatchPublishTargetSchema = {
|
|
5102
5102
|
data: Job;
|
|
5103
|
-
}
|
|
5103
|
+
};
|
|
5104
5104
|
/**
|
|
5105
5105
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5106
5106
|
* via the `batch_publish.jobSchema` link.
|
|
5107
5107
|
*/
|
|
5108
|
-
export
|
|
5108
|
+
export declare type ItemBatchPublishJobSchema = {
|
|
5109
5109
|
data: unknown[];
|
|
5110
5110
|
meta: {
|
|
5111
5111
|
successful: number;
|
|
5112
5112
|
failed: number;
|
|
5113
5113
|
};
|
|
5114
|
-
}
|
|
5114
|
+
};
|
|
5115
5115
|
/**
|
|
5116
5116
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5117
5117
|
* via the `batch_unpublish.targetSchema` link.
|
|
5118
5118
|
*/
|
|
5119
|
-
export
|
|
5119
|
+
export declare type ItemBatchUnpublishTargetSchema = {
|
|
5120
5120
|
data: Job;
|
|
5121
|
-
}
|
|
5121
|
+
};
|
|
5122
5122
|
/**
|
|
5123
5123
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5124
5124
|
* via the `batch_unpublish.jobSchema` link.
|
|
5125
5125
|
*/
|
|
5126
|
-
export
|
|
5126
|
+
export declare type ItemBatchUnpublishJobSchema = {
|
|
5127
5127
|
data: unknown[];
|
|
5128
5128
|
meta: {
|
|
5129
5129
|
successful: number;
|
|
5130
5130
|
failed: number;
|
|
5131
5131
|
};
|
|
5132
|
-
}
|
|
5132
|
+
};
|
|
5133
5133
|
/**
|
|
5134
5134
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5135
5135
|
* via the `publish.targetSchema` link.
|
|
5136
5136
|
*/
|
|
5137
|
-
export
|
|
5137
|
+
export declare type ItemPublishTargetSchema = {
|
|
5138
5138
|
data: Item;
|
|
5139
5139
|
included?: ItemType[];
|
|
5140
|
-
}
|
|
5140
|
+
};
|
|
5141
5141
|
/**
|
|
5142
5142
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5143
5143
|
* via the `unpublish.targetSchema` link.
|
|
5144
5144
|
*/
|
|
5145
|
-
export
|
|
5145
|
+
export declare type ItemUnpublishTargetSchema = {
|
|
5146
5146
|
data: Item;
|
|
5147
5147
|
included?: ItemType[];
|
|
5148
|
-
}
|
|
5148
|
+
};
|
|
5149
5149
|
/**
|
|
5150
5150
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5151
5151
|
* via the `bulk_publish.schema` link.
|
|
5152
5152
|
*/
|
|
5153
|
-
export
|
|
5153
|
+
export declare type ItemBulkPublishSchema = {
|
|
5154
5154
|
data: {
|
|
5155
5155
|
/**
|
|
5156
5156
|
* JSON API type field
|
|
@@ -5166,30 +5166,30 @@ export interface ItemBulkPublishSchema {
|
|
|
5166
5166
|
minItems?: unknown;
|
|
5167
5167
|
};
|
|
5168
5168
|
};
|
|
5169
|
-
}
|
|
5169
|
+
};
|
|
5170
5170
|
/**
|
|
5171
5171
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5172
5172
|
* via the `bulk_publish.targetSchema` link.
|
|
5173
5173
|
*/
|
|
5174
|
-
export
|
|
5174
|
+
export declare type ItemBulkPublishTargetSchema = {
|
|
5175
5175
|
data: Job;
|
|
5176
|
-
}
|
|
5176
|
+
};
|
|
5177
5177
|
/**
|
|
5178
5178
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5179
5179
|
* via the `bulk_publish.jobSchema` link.
|
|
5180
5180
|
*/
|
|
5181
|
-
export
|
|
5181
|
+
export declare type ItemBulkPublishJobSchema = {
|
|
5182
5182
|
data: unknown[];
|
|
5183
5183
|
meta: {
|
|
5184
5184
|
successful: number;
|
|
5185
5185
|
failed: number;
|
|
5186
5186
|
};
|
|
5187
|
-
}
|
|
5187
|
+
};
|
|
5188
5188
|
/**
|
|
5189
5189
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5190
5190
|
* via the `bulk_unpublish.schema` link.
|
|
5191
5191
|
*/
|
|
5192
|
-
export
|
|
5192
|
+
export declare type ItemBulkUnpublishSchema = {
|
|
5193
5193
|
data: {
|
|
5194
5194
|
/**
|
|
5195
5195
|
* JSON API type field
|
|
@@ -5205,30 +5205,30 @@ export interface ItemBulkUnpublishSchema {
|
|
|
5205
5205
|
minItems?: unknown;
|
|
5206
5206
|
};
|
|
5207
5207
|
};
|
|
5208
|
-
}
|
|
5208
|
+
};
|
|
5209
5209
|
/**
|
|
5210
5210
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5211
5211
|
* via the `bulk_unpublish.targetSchema` link.
|
|
5212
5212
|
*/
|
|
5213
|
-
export
|
|
5213
|
+
export declare type ItemBulkUnpublishTargetSchema = {
|
|
5214
5214
|
data: Job;
|
|
5215
|
-
}
|
|
5215
|
+
};
|
|
5216
5216
|
/**
|
|
5217
5217
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5218
5218
|
* via the `bulk_unpublish.jobSchema` link.
|
|
5219
5219
|
*/
|
|
5220
|
-
export
|
|
5220
|
+
export declare type ItemBulkUnpublishJobSchema = {
|
|
5221
5221
|
data: unknown[];
|
|
5222
5222
|
meta: {
|
|
5223
5223
|
successful: number;
|
|
5224
5224
|
failed: number;
|
|
5225
5225
|
};
|
|
5226
|
-
}
|
|
5226
|
+
};
|
|
5227
5227
|
/**
|
|
5228
5228
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5229
5229
|
* via the `bulk_destroy.schema` link.
|
|
5230
5230
|
*/
|
|
5231
|
-
export
|
|
5231
|
+
export declare type ItemBulkDestroySchema = {
|
|
5232
5232
|
data: {
|
|
5233
5233
|
/**
|
|
5234
5234
|
* JSON API type field
|
|
@@ -5244,30 +5244,30 @@ export interface ItemBulkDestroySchema {
|
|
|
5244
5244
|
minItems?: unknown;
|
|
5245
5245
|
};
|
|
5246
5246
|
};
|
|
5247
|
-
}
|
|
5247
|
+
};
|
|
5248
5248
|
/**
|
|
5249
5249
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5250
5250
|
* via the `bulk_destroy.targetSchema` link.
|
|
5251
5251
|
*/
|
|
5252
|
-
export
|
|
5252
|
+
export declare type ItemBulkDestroyTargetSchema = {
|
|
5253
5253
|
data: Job;
|
|
5254
|
-
}
|
|
5254
|
+
};
|
|
5255
5255
|
/**
|
|
5256
5256
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5257
5257
|
* via the `bulk_destroy.jobSchema` link.
|
|
5258
5258
|
*/
|
|
5259
|
-
export
|
|
5259
|
+
export declare type ItemBulkDestroyJobSchema = {
|
|
5260
5260
|
data: unknown[];
|
|
5261
5261
|
meta: {
|
|
5262
5262
|
successful: number;
|
|
5263
5263
|
failed: number;
|
|
5264
5264
|
};
|
|
5265
|
-
}
|
|
5265
|
+
};
|
|
5266
5266
|
/**
|
|
5267
5267
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5268
5268
|
* via the `bulk_move_to_stage.schema` link.
|
|
5269
5269
|
*/
|
|
5270
|
-
export
|
|
5270
|
+
export declare type ItemBulkMoveToStageSchema = {
|
|
5271
5271
|
data: {
|
|
5272
5272
|
/**
|
|
5273
5273
|
* JSON API type field
|
|
@@ -5289,54 +5289,54 @@ export interface ItemBulkMoveToStageSchema {
|
|
|
5289
5289
|
minItems?: unknown;
|
|
5290
5290
|
};
|
|
5291
5291
|
};
|
|
5292
|
-
}
|
|
5292
|
+
};
|
|
5293
5293
|
/**
|
|
5294
5294
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5295
5295
|
* via the `bulk_move_to_stage.targetSchema` link.
|
|
5296
5296
|
*/
|
|
5297
|
-
export
|
|
5297
|
+
export declare type ItemBulkMoveToStageTargetSchema = {
|
|
5298
5298
|
data: Job;
|
|
5299
|
-
}
|
|
5299
|
+
};
|
|
5300
5300
|
/**
|
|
5301
5301
|
* This interface was referenced by `Item`'s JSON-Schema
|
|
5302
5302
|
* via the `bulk_move_to_stage.jobSchema` link.
|
|
5303
5303
|
*/
|
|
5304
|
-
export
|
|
5304
|
+
export declare type ItemBulkMoveToStageJobSchema = {
|
|
5305
5305
|
data: unknown[];
|
|
5306
5306
|
meta: {
|
|
5307
5307
|
successful: number;
|
|
5308
5308
|
failed: number;
|
|
5309
5309
|
};
|
|
5310
|
-
}
|
|
5310
|
+
};
|
|
5311
5311
|
/**
|
|
5312
5312
|
* Every change to a record is stored as a separate record version in DatoCMS.
|
|
5313
5313
|
*
|
|
5314
5314
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
5315
5315
|
* via the `definition` "item_version".
|
|
5316
5316
|
*/
|
|
5317
|
-
export
|
|
5317
|
+
export declare type ItemVersion = {
|
|
5318
5318
|
type: ItemVersionType;
|
|
5319
5319
|
id: ItemVersionIdentity;
|
|
5320
5320
|
attributes: ItemVersionAttributes;
|
|
5321
5321
|
relationships: ItemVersionRelationships;
|
|
5322
5322
|
meta: ItemVersionMeta;
|
|
5323
|
-
}
|
|
5323
|
+
};
|
|
5324
5324
|
/**
|
|
5325
5325
|
* The JSON data associated to the record version
|
|
5326
5326
|
*
|
|
5327
5327
|
* This interface was referenced by `ItemVersion`'s JSON-Schema
|
|
5328
5328
|
* via the `definition` "attributes".
|
|
5329
5329
|
*/
|
|
5330
|
-
export
|
|
5330
|
+
export declare type ItemVersionAttributes = {
|
|
5331
5331
|
[k: string]: unknown;
|
|
5332
|
-
}
|
|
5332
|
+
};
|
|
5333
5333
|
/**
|
|
5334
5334
|
* JSON API links
|
|
5335
5335
|
*
|
|
5336
5336
|
* This interface was referenced by `ItemVersion`'s JSON-Schema
|
|
5337
5337
|
* via the `definition` "relationships".
|
|
5338
5338
|
*/
|
|
5339
|
-
export
|
|
5339
|
+
export declare type ItemVersionRelationships = {
|
|
5340
5340
|
/**
|
|
5341
5341
|
* The record version's model
|
|
5342
5342
|
*/
|
|
@@ -5355,14 +5355,14 @@ export interface ItemVersionRelationships {
|
|
|
5355
5355
|
editor: {
|
|
5356
5356
|
data: AccountData | AccessTokenData | UserData | SsoUserData;
|
|
5357
5357
|
};
|
|
5358
|
-
}
|
|
5358
|
+
};
|
|
5359
5359
|
/**
|
|
5360
5360
|
* Meta information regarding the record version
|
|
5361
5361
|
*
|
|
5362
5362
|
* This interface was referenced by `ItemVersion`'s JSON-Schema
|
|
5363
5363
|
* via the `definition` "meta".
|
|
5364
5364
|
*/
|
|
5365
|
-
export
|
|
5365
|
+
export declare type ItemVersionMeta = {
|
|
5366
5366
|
/**
|
|
5367
5367
|
* Date of record version creation
|
|
5368
5368
|
*/
|
|
@@ -5379,67 +5379,67 @@ export interface ItemVersionMeta {
|
|
|
5379
5379
|
* Whether the record version is the most recent version or not
|
|
5380
5380
|
*/
|
|
5381
5381
|
is_current: boolean;
|
|
5382
|
-
}
|
|
5382
|
+
};
|
|
5383
5383
|
/**
|
|
5384
5384
|
* JSON API data
|
|
5385
5385
|
*
|
|
5386
5386
|
* This interface was referenced by `ItemVersion`'s JSON-Schema
|
|
5387
5387
|
* via the `definition` "data".
|
|
5388
5388
|
*/
|
|
5389
|
-
export
|
|
5389
|
+
export declare type ItemVersionData = {
|
|
5390
5390
|
type: ItemVersionType;
|
|
5391
5391
|
id: ItemVersionIdentity;
|
|
5392
|
-
}
|
|
5392
|
+
};
|
|
5393
5393
|
/**
|
|
5394
5394
|
* This interface was referenced by `ItemVersion`'s JSON-Schema
|
|
5395
5395
|
* via the `restore.targetSchema` link.
|
|
5396
5396
|
*/
|
|
5397
|
-
export
|
|
5397
|
+
export declare type ItemVersionRestoreTargetSchema = {
|
|
5398
5398
|
data: Job;
|
|
5399
|
-
}
|
|
5399
|
+
};
|
|
5400
5400
|
/**
|
|
5401
5401
|
* This interface was referenced by `ItemVersion`'s JSON-Schema
|
|
5402
5402
|
* via the `restore.jobSchema` link.
|
|
5403
5403
|
*/
|
|
5404
|
-
export
|
|
5404
|
+
export declare type ItemVersionRestoreJobSchema = {
|
|
5405
5405
|
data: [Item, ItemVersion];
|
|
5406
|
-
}
|
|
5406
|
+
};
|
|
5407
5407
|
/**
|
|
5408
5408
|
* This interface was referenced by `ItemVersion`'s JSON-Schema
|
|
5409
5409
|
* via the `instances.targetSchema` link.
|
|
5410
5410
|
*/
|
|
5411
|
-
export
|
|
5411
|
+
export declare type ItemVersionInstancesTargetSchema = {
|
|
5412
5412
|
data: ItemVersion[];
|
|
5413
5413
|
meta: {
|
|
5414
5414
|
total_count: number;
|
|
5415
5415
|
};
|
|
5416
|
-
}
|
|
5416
|
+
};
|
|
5417
5417
|
/**
|
|
5418
5418
|
* This interface was referenced by `ItemVersion`'s JSON-Schema
|
|
5419
5419
|
* via the `self.targetSchema` link.
|
|
5420
5420
|
*/
|
|
5421
|
-
export
|
|
5421
|
+
export declare type ItemVersionSelfTargetSchema = {
|
|
5422
5422
|
data: ItemVersion;
|
|
5423
|
-
}
|
|
5423
|
+
};
|
|
5424
5424
|
/**
|
|
5425
5425
|
* Every file you upload to DatoCMS will be retrievable from this endpoint.
|
|
5426
5426
|
*
|
|
5427
5427
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
5428
5428
|
* via the `definition` "upload".
|
|
5429
5429
|
*/
|
|
5430
|
-
export
|
|
5430
|
+
export declare type Upload = {
|
|
5431
5431
|
type: UploadType;
|
|
5432
5432
|
id: UploadIdentity;
|
|
5433
5433
|
attributes: UploadAttributes;
|
|
5434
5434
|
relationships: UploadRelationships;
|
|
5435
|
-
}
|
|
5435
|
+
};
|
|
5436
5436
|
/**
|
|
5437
5437
|
* JSON API attributes
|
|
5438
5438
|
*
|
|
5439
5439
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5440
5440
|
* via the `definition` "attributes".
|
|
5441
5441
|
*/
|
|
5442
|
-
export
|
|
5442
|
+
export declare type UploadAttributes = {
|
|
5443
5443
|
/**
|
|
5444
5444
|
* size of the upload
|
|
5445
5445
|
*/
|
|
@@ -5597,36 +5597,36 @@ export interface UploadAttributes {
|
|
|
5597
5597
|
*/
|
|
5598
5598
|
alpha: number;
|
|
5599
5599
|
}[];
|
|
5600
|
-
}
|
|
5600
|
+
};
|
|
5601
5601
|
/**
|
|
5602
5602
|
* JSON API links
|
|
5603
5603
|
*
|
|
5604
5604
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5605
5605
|
* via the `definition` "relationships".
|
|
5606
5606
|
*/
|
|
5607
|
-
export
|
|
5607
|
+
export declare type UploadRelationships = {
|
|
5608
5608
|
/**
|
|
5609
5609
|
* The entity (account/collaborator/access token) who created the asset. It must be an object with `type` (e.g. 'account') and `id` properties.
|
|
5610
5610
|
*/
|
|
5611
5611
|
creator: {
|
|
5612
5612
|
data: AccountData | AccessTokenData | UserData | SsoUserData;
|
|
5613
5613
|
};
|
|
5614
|
-
}
|
|
5614
|
+
};
|
|
5615
5615
|
/**
|
|
5616
5616
|
* JSON API data
|
|
5617
5617
|
*
|
|
5618
5618
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5619
5619
|
* via the `definition` "data".
|
|
5620
5620
|
*/
|
|
5621
|
-
export
|
|
5621
|
+
export declare type UploadData = {
|
|
5622
5622
|
type: UploadType;
|
|
5623
5623
|
id: UploadIdentity;
|
|
5624
|
-
}
|
|
5624
|
+
};
|
|
5625
5625
|
/**
|
|
5626
5626
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5627
5627
|
* via the `create.schema` link.
|
|
5628
5628
|
*/
|
|
5629
|
-
export
|
|
5629
|
+
export declare type UploadCreateSchema = {
|
|
5630
5630
|
data: {
|
|
5631
5631
|
type: UploadType;
|
|
5632
5632
|
attributes: {
|
|
@@ -5691,50 +5691,50 @@ export interface UploadCreateSchema {
|
|
|
5691
5691
|
[k: string]: unknown;
|
|
5692
5692
|
};
|
|
5693
5693
|
};
|
|
5694
|
-
}
|
|
5694
|
+
};
|
|
5695
5695
|
/**
|
|
5696
5696
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5697
5697
|
* via the `create.targetSchema` link.
|
|
5698
5698
|
*/
|
|
5699
|
-
export
|
|
5699
|
+
export declare type UploadCreateTargetSchema = {
|
|
5700
5700
|
data: Job;
|
|
5701
|
-
}
|
|
5701
|
+
};
|
|
5702
5702
|
/**
|
|
5703
5703
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5704
5704
|
* via the `create.jobSchema` link.
|
|
5705
5705
|
*/
|
|
5706
|
-
export
|
|
5706
|
+
export declare type UploadCreateJobSchema = {
|
|
5707
5707
|
data: Upload;
|
|
5708
|
-
}
|
|
5708
|
+
};
|
|
5709
5709
|
/**
|
|
5710
5710
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5711
5711
|
* via the `instances.targetSchema` link.
|
|
5712
5712
|
*/
|
|
5713
|
-
export
|
|
5713
|
+
export declare type UploadInstancesTargetSchema = {
|
|
5714
5714
|
data: Upload[];
|
|
5715
5715
|
meta: {
|
|
5716
5716
|
total_count: number;
|
|
5717
5717
|
};
|
|
5718
|
-
}
|
|
5718
|
+
};
|
|
5719
5719
|
/**
|
|
5720
5720
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5721
5721
|
* via the `self.targetSchema` link.
|
|
5722
5722
|
*/
|
|
5723
|
-
export
|
|
5723
|
+
export declare type UploadSelfTargetSchema = {
|
|
5724
5724
|
data: Upload;
|
|
5725
|
-
}
|
|
5725
|
+
};
|
|
5726
5726
|
/**
|
|
5727
5727
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5728
5728
|
* via the `destroy.targetSchema` link.
|
|
5729
5729
|
*/
|
|
5730
|
-
export
|
|
5730
|
+
export declare type UploadDestroyTargetSchema = {
|
|
5731
5731
|
data: Upload;
|
|
5732
|
-
}
|
|
5732
|
+
};
|
|
5733
5733
|
/**
|
|
5734
5734
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5735
5735
|
* via the `update.schema` link.
|
|
5736
5736
|
*/
|
|
5737
|
-
export
|
|
5737
|
+
export declare type UploadUpdateSchema = {
|
|
5738
5738
|
data: {
|
|
5739
5739
|
type: UploadType;
|
|
5740
5740
|
id: UploadIdentity;
|
|
@@ -5812,26 +5812,26 @@ export interface UploadUpdateSchema {
|
|
|
5812
5812
|
};
|
|
5813
5813
|
};
|
|
5814
5814
|
};
|
|
5815
|
-
}
|
|
5815
|
+
};
|
|
5816
5816
|
/**
|
|
5817
5817
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5818
5818
|
* via the `update.targetSchema` link.
|
|
5819
5819
|
*/
|
|
5820
|
-
export
|
|
5820
|
+
export declare type UploadUpdateTargetSchema = {
|
|
5821
5821
|
data: Job;
|
|
5822
|
-
}
|
|
5822
|
+
};
|
|
5823
5823
|
/**
|
|
5824
5824
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5825
5825
|
* via the `update.jobSchema` link.
|
|
5826
5826
|
*/
|
|
5827
|
-
export
|
|
5827
|
+
export declare type UploadUpdateJobSchema = {
|
|
5828
5828
|
data: Upload;
|
|
5829
|
-
}
|
|
5829
|
+
};
|
|
5830
5830
|
/**
|
|
5831
5831
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5832
5832
|
* via the `batch_add_tags.schema` link.
|
|
5833
5833
|
*/
|
|
5834
|
-
export
|
|
5834
|
+
export declare type UploadBatchAddTagsSchema = {
|
|
5835
5835
|
data: {
|
|
5836
5836
|
type: UploadType;
|
|
5837
5837
|
attributes: {
|
|
@@ -5841,55 +5841,55 @@ export interface UploadBatchAddTagsSchema {
|
|
|
5841
5841
|
tags?: string[];
|
|
5842
5842
|
};
|
|
5843
5843
|
};
|
|
5844
|
-
}
|
|
5844
|
+
};
|
|
5845
5845
|
/**
|
|
5846
5846
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5847
5847
|
* via the `batch_add_tags.targetSchema` link.
|
|
5848
5848
|
*/
|
|
5849
|
-
export
|
|
5849
|
+
export declare type UploadBatchAddTagsTargetSchema = {
|
|
5850
5850
|
data: Job;
|
|
5851
|
-
}
|
|
5851
|
+
};
|
|
5852
5852
|
/**
|
|
5853
5853
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5854
5854
|
* via the `batch_add_tags.jobSchema` link.
|
|
5855
5855
|
*/
|
|
5856
|
-
export
|
|
5856
|
+
export declare type UploadBatchAddTagsJobSchema = {
|
|
5857
5857
|
data: unknown[];
|
|
5858
5858
|
meta: {
|
|
5859
5859
|
successful: number;
|
|
5860
5860
|
failed: number;
|
|
5861
5861
|
};
|
|
5862
|
-
}
|
|
5862
|
+
};
|
|
5863
5863
|
/**
|
|
5864
5864
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5865
5865
|
* via the `batch_destroy.targetSchema` link.
|
|
5866
5866
|
*/
|
|
5867
|
-
export
|
|
5867
|
+
export declare type UploadBatchDestroyTargetSchema = {
|
|
5868
5868
|
data: Job;
|
|
5869
|
-
}
|
|
5869
|
+
};
|
|
5870
5870
|
/**
|
|
5871
5871
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5872
5872
|
* via the `batch_destroy.jobSchema` link.
|
|
5873
5873
|
*/
|
|
5874
|
-
export
|
|
5874
|
+
export declare type UploadBatchDestroyJobSchema = {
|
|
5875
5875
|
data: unknown[];
|
|
5876
5876
|
meta: {
|
|
5877
5877
|
successful: number;
|
|
5878
5878
|
failed: number;
|
|
5879
5879
|
};
|
|
5880
|
-
}
|
|
5880
|
+
};
|
|
5881
5881
|
/**
|
|
5882
5882
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5883
5883
|
* via the `references.targetSchema` link.
|
|
5884
5884
|
*/
|
|
5885
|
-
export
|
|
5885
|
+
export declare type UploadReferencesTargetSchema = {
|
|
5886
5886
|
data: Item[];
|
|
5887
|
-
}
|
|
5887
|
+
};
|
|
5888
5888
|
/**
|
|
5889
5889
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5890
5890
|
* via the `bulk_tag.schema` link.
|
|
5891
5891
|
*/
|
|
5892
|
-
export
|
|
5892
|
+
export declare type UploadBulkTagSchema = {
|
|
5893
5893
|
data: {
|
|
5894
5894
|
/**
|
|
5895
5895
|
* JSON API type field
|
|
@@ -5913,30 +5913,30 @@ export interface UploadBulkTagSchema {
|
|
|
5913
5913
|
};
|
|
5914
5914
|
};
|
|
5915
5915
|
};
|
|
5916
|
-
}
|
|
5916
|
+
};
|
|
5917
5917
|
/**
|
|
5918
5918
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5919
5919
|
* via the `bulk_tag.targetSchema` link.
|
|
5920
5920
|
*/
|
|
5921
|
-
export
|
|
5921
|
+
export declare type UploadBulkTagTargetSchema = {
|
|
5922
5922
|
data: Job;
|
|
5923
|
-
}
|
|
5923
|
+
};
|
|
5924
5924
|
/**
|
|
5925
5925
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5926
5926
|
* via the `bulk_tag.jobSchema` link.
|
|
5927
5927
|
*/
|
|
5928
|
-
export
|
|
5928
|
+
export declare type UploadBulkTagJobSchema = {
|
|
5929
5929
|
data: unknown[];
|
|
5930
5930
|
meta: {
|
|
5931
5931
|
successful: number;
|
|
5932
5932
|
failed: number;
|
|
5933
5933
|
};
|
|
5934
|
-
}
|
|
5934
|
+
};
|
|
5935
5935
|
/**
|
|
5936
5936
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5937
5937
|
* via the `bulk_destroy.schema` link.
|
|
5938
5938
|
*/
|
|
5939
|
-
export
|
|
5939
|
+
export declare type UploadBulkDestroySchema = {
|
|
5940
5940
|
data: {
|
|
5941
5941
|
/**
|
|
5942
5942
|
* JSON API type field
|
|
@@ -5951,54 +5951,54 @@ export interface UploadBulkDestroySchema {
|
|
|
5951
5951
|
};
|
|
5952
5952
|
};
|
|
5953
5953
|
};
|
|
5954
|
-
}
|
|
5954
|
+
};
|
|
5955
5955
|
/**
|
|
5956
5956
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5957
5957
|
* via the `bulk_destroy.targetSchema` link.
|
|
5958
5958
|
*/
|
|
5959
|
-
export
|
|
5959
|
+
export declare type UploadBulkDestroyTargetSchema = {
|
|
5960
5960
|
data: Job;
|
|
5961
|
-
}
|
|
5961
|
+
};
|
|
5962
5962
|
/**
|
|
5963
5963
|
* This interface was referenced by `Upload`'s JSON-Schema
|
|
5964
5964
|
* via the `bulk_destroy.jobSchema` link.
|
|
5965
5965
|
*/
|
|
5966
|
-
export
|
|
5966
|
+
export declare type UploadBulkDestroyJobSchema = {
|
|
5967
5967
|
data: unknown[];
|
|
5968
5968
|
meta: {
|
|
5969
5969
|
successful: number;
|
|
5970
5970
|
failed: number;
|
|
5971
5971
|
};
|
|
5972
|
-
}
|
|
5972
|
+
};
|
|
5973
5973
|
/**
|
|
5974
5974
|
* To upload a file in DatoCMS, first you need to obtain an upload permission through this API endpoint. The response will contain the S3 URL where you will be able to upload the file with a direct PUT request.
|
|
5975
5975
|
*
|
|
5976
5976
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
5977
5977
|
* via the `definition` "upload_request".
|
|
5978
5978
|
*/
|
|
5979
|
-
export
|
|
5979
|
+
export declare type UploadRequest = {
|
|
5980
5980
|
type: UploadRequestType;
|
|
5981
5981
|
id: UploadRequestIdentity;
|
|
5982
5982
|
attributes: UploadRequestAttributes;
|
|
5983
|
-
}
|
|
5983
|
+
};
|
|
5984
5984
|
/**
|
|
5985
5985
|
* JSON API attributes
|
|
5986
5986
|
*
|
|
5987
5987
|
* This interface was referenced by `UploadRequest`'s JSON-Schema
|
|
5988
5988
|
* via the `definition` "attributes".
|
|
5989
5989
|
*/
|
|
5990
|
-
export
|
|
5990
|
+
export declare type UploadRequestAttributes = {
|
|
5991
5991
|
/**
|
|
5992
5992
|
* The URL to use to upload the file with a direct PUT request
|
|
5993
5993
|
*/
|
|
5994
5994
|
url: string;
|
|
5995
5995
|
[k: string]: unknown;
|
|
5996
|
-
}
|
|
5996
|
+
};
|
|
5997
5997
|
/**
|
|
5998
5998
|
* This interface was referenced by `UploadRequest`'s JSON-Schema
|
|
5999
5999
|
* via the `create.schema` link.
|
|
6000
6000
|
*/
|
|
6001
|
-
export
|
|
6001
|
+
export declare type UploadRequestCreateSchema = {
|
|
6002
6002
|
data: {
|
|
6003
6003
|
type: UploadRequestType;
|
|
6004
6004
|
/**
|
|
@@ -6012,178 +6012,178 @@ export interface UploadRequestCreateSchema {
|
|
|
6012
6012
|
[k: string]: unknown;
|
|
6013
6013
|
};
|
|
6014
6014
|
};
|
|
6015
|
-
}
|
|
6015
|
+
};
|
|
6016
6016
|
/**
|
|
6017
6017
|
* This interface was referenced by `UploadRequest`'s JSON-Schema
|
|
6018
6018
|
* via the `create.targetSchema` link.
|
|
6019
6019
|
*/
|
|
6020
|
-
export
|
|
6020
|
+
export declare type UploadRequestCreateTargetSchema = {
|
|
6021
6021
|
data: UploadRequest;
|
|
6022
|
-
}
|
|
6022
|
+
};
|
|
6023
6023
|
/**
|
|
6024
6024
|
* You can create scheduled publication to publish records in the future
|
|
6025
6025
|
*
|
|
6026
6026
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
6027
6027
|
* via the `definition` "scheduled_publication".
|
|
6028
6028
|
*/
|
|
6029
|
-
export
|
|
6029
|
+
export declare type ScheduledPublication = {
|
|
6030
6030
|
type: ScheduledPublicationType;
|
|
6031
6031
|
id: ScheduledPublicationIdentity;
|
|
6032
6032
|
attributes: ScheduledPublicationAttributes;
|
|
6033
6033
|
relationships: ScheduledPublicationRelationships;
|
|
6034
|
-
}
|
|
6034
|
+
};
|
|
6035
6035
|
/**
|
|
6036
6036
|
* JSON API attributes
|
|
6037
6037
|
*
|
|
6038
6038
|
* This interface was referenced by `ScheduledPublication`'s JSON-Schema
|
|
6039
6039
|
* via the `definition` "attributes".
|
|
6040
6040
|
*/
|
|
6041
|
-
export
|
|
6041
|
+
export declare type ScheduledPublicationAttributes = {
|
|
6042
6042
|
/**
|
|
6043
6043
|
* The future date for the publication
|
|
6044
6044
|
*/
|
|
6045
6045
|
publication_scheduled_at: string;
|
|
6046
|
-
}
|
|
6046
|
+
};
|
|
6047
6047
|
/**
|
|
6048
6048
|
* JSON API links
|
|
6049
6049
|
*
|
|
6050
6050
|
* This interface was referenced by `ScheduledPublication`'s JSON-Schema
|
|
6051
6051
|
* via the `definition` "relationships".
|
|
6052
6052
|
*/
|
|
6053
|
-
export
|
|
6053
|
+
export declare type ScheduledPublicationRelationships = {
|
|
6054
6054
|
/**
|
|
6055
6055
|
* Item
|
|
6056
6056
|
*/
|
|
6057
6057
|
item: {
|
|
6058
6058
|
data: ItemData;
|
|
6059
6059
|
};
|
|
6060
|
-
}
|
|
6060
|
+
};
|
|
6061
6061
|
/**
|
|
6062
6062
|
* JSON API data
|
|
6063
6063
|
*
|
|
6064
6064
|
* This interface was referenced by `ScheduledPublication`'s JSON-Schema
|
|
6065
6065
|
* via the `definition` "data".
|
|
6066
6066
|
*/
|
|
6067
|
-
export
|
|
6067
|
+
export declare type ScheduledPublicationData = {
|
|
6068
6068
|
type: ScheduledPublicationType;
|
|
6069
6069
|
id: ScheduledPublicationIdentity;
|
|
6070
|
-
}
|
|
6070
|
+
};
|
|
6071
6071
|
/**
|
|
6072
6072
|
* This interface was referenced by `ScheduledPublication`'s JSON-Schema
|
|
6073
6073
|
* via the `create.schema` link.
|
|
6074
6074
|
*/
|
|
6075
|
-
export
|
|
6075
|
+
export declare type ScheduledPublicationCreateSchema = {
|
|
6076
6076
|
data: {
|
|
6077
6077
|
type: ScheduledPublicationType;
|
|
6078
6078
|
attributes: ScheduledPublicationAttributes;
|
|
6079
6079
|
};
|
|
6080
|
-
}
|
|
6080
|
+
};
|
|
6081
6081
|
/**
|
|
6082
6082
|
* This interface was referenced by `ScheduledPublication`'s JSON-Schema
|
|
6083
6083
|
* via the `create.targetSchema` link.
|
|
6084
6084
|
*/
|
|
6085
|
-
export
|
|
6085
|
+
export declare type ScheduledPublicationCreateTargetSchema = {
|
|
6086
6086
|
data: ScheduledPublication;
|
|
6087
6087
|
included: Item[];
|
|
6088
|
-
}
|
|
6088
|
+
};
|
|
6089
6089
|
/**
|
|
6090
6090
|
* This interface was referenced by `ScheduledPublication`'s JSON-Schema
|
|
6091
6091
|
* via the `destroy.targetSchema` link.
|
|
6092
6092
|
*/
|
|
6093
|
-
export
|
|
6093
|
+
export declare type ScheduledPublicationDestroyTargetSchema = {
|
|
6094
6094
|
data: Item;
|
|
6095
|
-
}
|
|
6095
|
+
};
|
|
6096
6096
|
/**
|
|
6097
6097
|
* You can create a scheduled unpublishing to unpublish records in the future
|
|
6098
6098
|
*
|
|
6099
6099
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
6100
6100
|
* via the `definition` "scheduled_unpublishing".
|
|
6101
6101
|
*/
|
|
6102
|
-
export
|
|
6102
|
+
export declare type ScheduledUnpublishing = {
|
|
6103
6103
|
type: ScheduledUnpublishingType;
|
|
6104
6104
|
id: ScheduledUnpublishingIdentity;
|
|
6105
6105
|
attributes: ScheduledUnpublishingAttributes;
|
|
6106
6106
|
relationships: ScheduledUnpublishingRelationships;
|
|
6107
|
-
}
|
|
6107
|
+
};
|
|
6108
6108
|
/**
|
|
6109
6109
|
* JSON API attributes
|
|
6110
6110
|
*
|
|
6111
6111
|
* This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema
|
|
6112
6112
|
* via the `definition` "attributes".
|
|
6113
6113
|
*/
|
|
6114
|
-
export
|
|
6114
|
+
export declare type ScheduledUnpublishingAttributes = {
|
|
6115
6115
|
/**
|
|
6116
6116
|
* The future date for the unpublishing
|
|
6117
6117
|
*/
|
|
6118
6118
|
unpublishing_scheduled_at: string;
|
|
6119
|
-
}
|
|
6119
|
+
};
|
|
6120
6120
|
/**
|
|
6121
6121
|
* JSON API links
|
|
6122
6122
|
*
|
|
6123
6123
|
* This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema
|
|
6124
6124
|
* via the `definition` "relationships".
|
|
6125
6125
|
*/
|
|
6126
|
-
export
|
|
6126
|
+
export declare type ScheduledUnpublishingRelationships = {
|
|
6127
6127
|
/**
|
|
6128
6128
|
* Item
|
|
6129
6129
|
*/
|
|
6130
6130
|
item: {
|
|
6131
6131
|
data: ItemData;
|
|
6132
6132
|
};
|
|
6133
|
-
}
|
|
6133
|
+
};
|
|
6134
6134
|
/**
|
|
6135
6135
|
* JSON API data
|
|
6136
6136
|
*
|
|
6137
6137
|
* This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema
|
|
6138
6138
|
* via the `definition` "data".
|
|
6139
6139
|
*/
|
|
6140
|
-
export
|
|
6140
|
+
export declare type ScheduledUnpublishingData = {
|
|
6141
6141
|
type: ScheduledUnpublishingType;
|
|
6142
6142
|
id: ScheduledUnpublishingIdentity;
|
|
6143
|
-
}
|
|
6143
|
+
};
|
|
6144
6144
|
/**
|
|
6145
6145
|
* This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema
|
|
6146
6146
|
* via the `create.schema` link.
|
|
6147
6147
|
*/
|
|
6148
|
-
export
|
|
6148
|
+
export declare type ScheduledUnpublishingCreateSchema = {
|
|
6149
6149
|
data: {
|
|
6150
6150
|
type: ScheduledUnpublishingType;
|
|
6151
6151
|
attributes: ScheduledUnpublishingAttributes;
|
|
6152
6152
|
};
|
|
6153
|
-
}
|
|
6153
|
+
};
|
|
6154
6154
|
/**
|
|
6155
6155
|
* This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema
|
|
6156
6156
|
* via the `create.targetSchema` link.
|
|
6157
6157
|
*/
|
|
6158
|
-
export
|
|
6158
|
+
export declare type ScheduledUnpublishingCreateTargetSchema = {
|
|
6159
6159
|
data: ScheduledUnpublishing;
|
|
6160
6160
|
included: Item[];
|
|
6161
|
-
}
|
|
6161
|
+
};
|
|
6162
6162
|
/**
|
|
6163
6163
|
* This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema
|
|
6164
6164
|
* via the `destroy.targetSchema` link.
|
|
6165
6165
|
*/
|
|
6166
|
-
export
|
|
6166
|
+
export declare type ScheduledUnpublishingDestroyTargetSchema = {
|
|
6167
6167
|
data: Item;
|
|
6168
|
-
}
|
|
6168
|
+
};
|
|
6169
6169
|
/**
|
|
6170
6170
|
* DatoCMS Site Search is a way to deliver tailored search results to your site visitors. This is the endpoint you can use to query for results.
|
|
6171
6171
|
*
|
|
6172
6172
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
6173
6173
|
* via the `definition` "search_result".
|
|
6174
6174
|
*/
|
|
6175
|
-
export
|
|
6175
|
+
export declare type SearchResult = {
|
|
6176
6176
|
type: SearchResultType;
|
|
6177
6177
|
id: SearchResultIdentity;
|
|
6178
6178
|
attributes: SearchResultAttributes;
|
|
6179
|
-
}
|
|
6179
|
+
};
|
|
6180
6180
|
/**
|
|
6181
6181
|
* JSON API attributes
|
|
6182
6182
|
*
|
|
6183
6183
|
* This interface was referenced by `SearchResult`'s JSON-Schema
|
|
6184
6184
|
* via the `definition` "attributes".
|
|
6185
6185
|
*/
|
|
6186
|
-
export
|
|
6186
|
+
export declare type SearchResultAttributes = {
|
|
6187
6187
|
/**
|
|
6188
6188
|
* Page title
|
|
6189
6189
|
*/
|
|
@@ -6204,27 +6204,27 @@ export interface SearchResultAttributes {
|
|
|
6204
6204
|
title?: string[] | null;
|
|
6205
6205
|
body?: string[] | null;
|
|
6206
6206
|
};
|
|
6207
|
-
}
|
|
6207
|
+
};
|
|
6208
6208
|
/**
|
|
6209
6209
|
* JSON API data
|
|
6210
6210
|
*
|
|
6211
6211
|
* This interface was referenced by `SearchResult`'s JSON-Schema
|
|
6212
6212
|
* via the `definition` "data".
|
|
6213
6213
|
*/
|
|
6214
|
-
export
|
|
6214
|
+
export declare type SearchResultData = {
|
|
6215
6215
|
type: SearchResultType;
|
|
6216
6216
|
id: SearchResultIdentity;
|
|
6217
|
-
}
|
|
6217
|
+
};
|
|
6218
6218
|
/**
|
|
6219
6219
|
* This interface was referenced by `SearchResult`'s JSON-Schema
|
|
6220
6220
|
* via the `instances.targetSchema` link.
|
|
6221
6221
|
*/
|
|
6222
|
-
export
|
|
6222
|
+
export declare type SearchResultInstancesTargetSchema = {
|
|
6223
6223
|
data: SearchResult[];
|
|
6224
6224
|
meta?: {
|
|
6225
6225
|
total_count: number;
|
|
6226
6226
|
};
|
|
6227
|
-
}
|
|
6227
|
+
};
|
|
6228
6228
|
/**
|
|
6229
6229
|
* [Environments](https://www.datocms.com/docs/general-concepts/primary-and-sandbox-environments) make it easier for your development team to **manage and maintain content structure once your content has been published**. You can think of environments like code branches: great for testing, development and pre-production environments.
|
|
6230
6230
|
*
|
|
@@ -6248,18 +6248,18 @@ export interface SearchResultInstancesTargetSchema {
|
|
|
6248
6248
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
6249
6249
|
* via the `definition` "environment".
|
|
6250
6250
|
*/
|
|
6251
|
-
export
|
|
6251
|
+
export declare type Environment = {
|
|
6252
6252
|
type: EnvironmentType;
|
|
6253
6253
|
id: EnvironmentIdentity;
|
|
6254
6254
|
meta: EnvironmentMeta;
|
|
6255
|
-
}
|
|
6255
|
+
};
|
|
6256
6256
|
/**
|
|
6257
6257
|
* Meta attributes
|
|
6258
6258
|
*
|
|
6259
6259
|
* This interface was referenced by `Environment`'s JSON-Schema
|
|
6260
6260
|
* via the `definition` "meta".
|
|
6261
6261
|
*/
|
|
6262
|
-
export
|
|
6262
|
+
export declare type EnvironmentMeta = {
|
|
6263
6263
|
/**
|
|
6264
6264
|
* Status of the environment
|
|
6265
6265
|
*/
|
|
@@ -6276,22 +6276,22 @@ export interface EnvironmentMeta {
|
|
|
6276
6276
|
* Is this environment the primary for the project?
|
|
6277
6277
|
*/
|
|
6278
6278
|
primary: boolean;
|
|
6279
|
-
}
|
|
6279
|
+
};
|
|
6280
6280
|
/**
|
|
6281
6281
|
* JSON API data
|
|
6282
6282
|
*
|
|
6283
6283
|
* This interface was referenced by `Environment`'s JSON-Schema
|
|
6284
6284
|
* via the `definition` "data".
|
|
6285
6285
|
*/
|
|
6286
|
-
export
|
|
6286
|
+
export declare type EnvironmentData = {
|
|
6287
6287
|
type: EnvironmentType;
|
|
6288
6288
|
id: EnvironmentIdentity;
|
|
6289
|
-
}
|
|
6289
|
+
};
|
|
6290
6290
|
/**
|
|
6291
6291
|
* This interface was referenced by `Environment`'s JSON-Schema
|
|
6292
6292
|
* via the `fork.schema` link.
|
|
6293
6293
|
*/
|
|
6294
|
-
export
|
|
6294
|
+
export declare type EnvironmentForkSchema = {
|
|
6295
6295
|
data: {
|
|
6296
6296
|
type: EnvironmentType;
|
|
6297
6297
|
/**
|
|
@@ -6299,126 +6299,126 @@ export interface EnvironmentForkSchema {
|
|
|
6299
6299
|
*/
|
|
6300
6300
|
id: string;
|
|
6301
6301
|
};
|
|
6302
|
-
}
|
|
6302
|
+
};
|
|
6303
6303
|
/**
|
|
6304
6304
|
* This interface was referenced by `Environment`'s JSON-Schema
|
|
6305
6305
|
* via the `fork.targetSchema` link.
|
|
6306
6306
|
*/
|
|
6307
|
-
export
|
|
6307
|
+
export declare type EnvironmentForkTargetSchema = {
|
|
6308
6308
|
data: Job | Environment;
|
|
6309
|
-
}
|
|
6309
|
+
};
|
|
6310
6310
|
/**
|
|
6311
6311
|
* This interface was referenced by `Environment`'s JSON-Schema
|
|
6312
6312
|
* via the `fork.jobSchema` link.
|
|
6313
6313
|
*/
|
|
6314
|
-
export
|
|
6314
|
+
export declare type EnvironmentForkJobSchema = {
|
|
6315
6315
|
data: Environment;
|
|
6316
|
-
}
|
|
6316
|
+
};
|
|
6317
6317
|
/**
|
|
6318
6318
|
* This interface was referenced by `Environment`'s JSON-Schema
|
|
6319
6319
|
* via the `promote.targetSchema` link.
|
|
6320
6320
|
*/
|
|
6321
|
-
export
|
|
6321
|
+
export declare type EnvironmentPromoteTargetSchema = {
|
|
6322
6322
|
data: Environment;
|
|
6323
|
-
}
|
|
6323
|
+
};
|
|
6324
6324
|
/**
|
|
6325
6325
|
* This interface was referenced by `Environment`'s JSON-Schema
|
|
6326
6326
|
* via the `instances.targetSchema` link.
|
|
6327
6327
|
*/
|
|
6328
|
-
export
|
|
6328
|
+
export declare type EnvironmentInstancesTargetSchema = {
|
|
6329
6329
|
data: Environment[];
|
|
6330
|
-
}
|
|
6330
|
+
};
|
|
6331
6331
|
/**
|
|
6332
6332
|
* This interface was referenced by `Environment`'s JSON-Schema
|
|
6333
6333
|
* via the `self.targetSchema` link.
|
|
6334
6334
|
*/
|
|
6335
|
-
export
|
|
6335
|
+
export declare type EnvironmentSelfTargetSchema = {
|
|
6336
6336
|
data: Environment;
|
|
6337
|
-
}
|
|
6337
|
+
};
|
|
6338
6338
|
/**
|
|
6339
6339
|
* This interface was referenced by `Environment`'s JSON-Schema
|
|
6340
6340
|
* via the `destroy.targetSchema` link.
|
|
6341
6341
|
*/
|
|
6342
|
-
export
|
|
6342
|
+
export declare type EnvironmentDestroyTargetSchema = {
|
|
6343
6343
|
data: Job | Environment;
|
|
6344
|
-
}
|
|
6344
|
+
};
|
|
6345
6345
|
/**
|
|
6346
6346
|
* This interface was referenced by `Environment`'s JSON-Schema
|
|
6347
6347
|
* via the `destroy.jobSchema` link.
|
|
6348
6348
|
*/
|
|
6349
|
-
export
|
|
6349
|
+
export declare type EnvironmentDestroyJobSchema = {
|
|
6350
6350
|
data: Environment;
|
|
6351
|
-
}
|
|
6351
|
+
};
|
|
6352
6352
|
/**
|
|
6353
6353
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
6354
6354
|
* via the `definition` "maintenance_mode".
|
|
6355
6355
|
*/
|
|
6356
|
-
export
|
|
6356
|
+
export declare type MaintenanceMode = {
|
|
6357
6357
|
type: MaintenanceModeType;
|
|
6358
6358
|
id: MaintenanceModeIdentity;
|
|
6359
6359
|
attributes: MaintenanceModeAttributes;
|
|
6360
|
-
}
|
|
6360
|
+
};
|
|
6361
6361
|
/**
|
|
6362
6362
|
* JSON API attributes
|
|
6363
6363
|
*
|
|
6364
6364
|
* This interface was referenced by `MaintenanceMode`'s JSON-Schema
|
|
6365
6365
|
* via the `definition` "attributes".
|
|
6366
6366
|
*/
|
|
6367
|
-
export
|
|
6367
|
+
export declare type MaintenanceModeAttributes = {
|
|
6368
6368
|
/**
|
|
6369
6369
|
* Whether maintenance mode is currently active or not
|
|
6370
6370
|
*/
|
|
6371
6371
|
active: boolean;
|
|
6372
|
-
}
|
|
6372
|
+
};
|
|
6373
6373
|
/**
|
|
6374
6374
|
* JSON API data
|
|
6375
6375
|
*
|
|
6376
6376
|
* This interface was referenced by `MaintenanceMode`'s JSON-Schema
|
|
6377
6377
|
* via the `definition` "data".
|
|
6378
6378
|
*/
|
|
6379
|
-
export
|
|
6379
|
+
export declare type MaintenanceModeData = {
|
|
6380
6380
|
type: MaintenanceModeType;
|
|
6381
6381
|
id: MaintenanceModeIdentity;
|
|
6382
|
-
}
|
|
6382
|
+
};
|
|
6383
6383
|
/**
|
|
6384
6384
|
* This interface was referenced by `MaintenanceMode`'s JSON-Schema
|
|
6385
6385
|
* via the `self.targetSchema` link.
|
|
6386
6386
|
*/
|
|
6387
|
-
export
|
|
6387
|
+
export declare type MaintenanceModeSelfTargetSchema = {
|
|
6388
6388
|
data: MaintenanceMode;
|
|
6389
|
-
}
|
|
6389
|
+
};
|
|
6390
6390
|
/**
|
|
6391
6391
|
* This interface was referenced by `MaintenanceMode`'s JSON-Schema
|
|
6392
6392
|
* via the `activate.targetSchema` link.
|
|
6393
6393
|
*/
|
|
6394
|
-
export
|
|
6394
|
+
export declare type MaintenanceModeActivateTargetSchema = {
|
|
6395
6395
|
data: MaintenanceMode;
|
|
6396
|
-
}
|
|
6396
|
+
};
|
|
6397
6397
|
/**
|
|
6398
6398
|
* This interface was referenced by `MaintenanceMode`'s JSON-Schema
|
|
6399
6399
|
* via the `deactivate.targetSchema` link.
|
|
6400
6400
|
*/
|
|
6401
|
-
export
|
|
6401
|
+
export declare type MaintenanceModeDeactivateTargetSchema = {
|
|
6402
6402
|
data: MaintenanceMode;
|
|
6403
|
-
}
|
|
6403
|
+
};
|
|
6404
6404
|
/**
|
|
6405
6405
|
* A webhook allows to make requests following certain Dato events. It is linked to a Role, which describes what actions can be performed.
|
|
6406
6406
|
*
|
|
6407
6407
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
6408
6408
|
* via the `definition` "webhook".
|
|
6409
6409
|
*/
|
|
6410
|
-
export
|
|
6410
|
+
export declare type Webhook = {
|
|
6411
6411
|
type: WebhookType;
|
|
6412
6412
|
id: WebhookIdentity;
|
|
6413
6413
|
attributes: WebhookAttributes;
|
|
6414
|
-
}
|
|
6414
|
+
};
|
|
6415
6415
|
/**
|
|
6416
6416
|
* JSON API attributes
|
|
6417
6417
|
*
|
|
6418
6418
|
* This interface was referenced by `Webhook`'s JSON-Schema
|
|
6419
6419
|
* via the `definition` "attributes".
|
|
6420
6420
|
*/
|
|
6421
|
-
export
|
|
6421
|
+
export declare type WebhookAttributes = {
|
|
6422
6422
|
/**
|
|
6423
6423
|
* Unique name for the webhook
|
|
6424
6424
|
*/
|
|
@@ -6461,22 +6461,22 @@ export interface WebhookAttributes {
|
|
|
6461
6461
|
* Whether the you want records present in the payload to show blocks expanded or not
|
|
6462
6462
|
*/
|
|
6463
6463
|
nested_items_in_payload: boolean;
|
|
6464
|
-
}
|
|
6464
|
+
};
|
|
6465
6465
|
/**
|
|
6466
6466
|
* JSON API data
|
|
6467
6467
|
*
|
|
6468
6468
|
* This interface was referenced by `Webhook`'s JSON-Schema
|
|
6469
6469
|
* via the `definition` "data".
|
|
6470
6470
|
*/
|
|
6471
|
-
export
|
|
6471
|
+
export declare type WebhookData = {
|
|
6472
6472
|
type: WebhookType;
|
|
6473
6473
|
id: WebhookIdentity;
|
|
6474
|
-
}
|
|
6474
|
+
};
|
|
6475
6475
|
/**
|
|
6476
6476
|
* This interface was referenced by `Webhook`'s JSON-Schema
|
|
6477
6477
|
* via the `create.schema` link.
|
|
6478
6478
|
*/
|
|
6479
|
-
export
|
|
6479
|
+
export declare type WebhookCreateSchema = {
|
|
6480
6480
|
data: {
|
|
6481
6481
|
type: WebhookType;
|
|
6482
6482
|
attributes: {
|
|
@@ -6524,19 +6524,19 @@ export interface WebhookCreateSchema {
|
|
|
6524
6524
|
nested_items_in_payload?: boolean;
|
|
6525
6525
|
};
|
|
6526
6526
|
};
|
|
6527
|
-
}
|
|
6527
|
+
};
|
|
6528
6528
|
/**
|
|
6529
6529
|
* This interface was referenced by `Webhook`'s JSON-Schema
|
|
6530
6530
|
* via the `create.targetSchema` link.
|
|
6531
6531
|
*/
|
|
6532
|
-
export
|
|
6532
|
+
export declare type WebhookCreateTargetSchema = {
|
|
6533
6533
|
data: Webhook;
|
|
6534
|
-
}
|
|
6534
|
+
};
|
|
6535
6535
|
/**
|
|
6536
6536
|
* This interface was referenced by `Webhook`'s JSON-Schema
|
|
6537
6537
|
* via the `update.schema` link.
|
|
6538
6538
|
*/
|
|
6539
|
-
export
|
|
6539
|
+
export declare type WebhookUpdateSchema = {
|
|
6540
6540
|
data: {
|
|
6541
6541
|
type: WebhookType;
|
|
6542
6542
|
id: WebhookIdentity;
|
|
@@ -6585,54 +6585,54 @@ export interface WebhookUpdateSchema {
|
|
|
6585
6585
|
nested_items_in_payload?: boolean;
|
|
6586
6586
|
};
|
|
6587
6587
|
};
|
|
6588
|
-
}
|
|
6588
|
+
};
|
|
6589
6589
|
/**
|
|
6590
6590
|
* This interface was referenced by `Webhook`'s JSON-Schema
|
|
6591
6591
|
* via the `update.targetSchema` link.
|
|
6592
6592
|
*/
|
|
6593
|
-
export
|
|
6593
|
+
export declare type WebhookUpdateTargetSchema = {
|
|
6594
6594
|
data: Webhook;
|
|
6595
|
-
}
|
|
6595
|
+
};
|
|
6596
6596
|
/**
|
|
6597
6597
|
* This interface was referenced by `Webhook`'s JSON-Schema
|
|
6598
6598
|
* via the `instances.targetSchema` link.
|
|
6599
6599
|
*/
|
|
6600
|
-
export
|
|
6600
|
+
export declare type WebhookInstancesTargetSchema = {
|
|
6601
6601
|
data: Webhook[];
|
|
6602
|
-
}
|
|
6602
|
+
};
|
|
6603
6603
|
/**
|
|
6604
6604
|
* This interface was referenced by `Webhook`'s JSON-Schema
|
|
6605
6605
|
* via the `self.targetSchema` link.
|
|
6606
6606
|
*/
|
|
6607
|
-
export
|
|
6607
|
+
export declare type WebhookSelfTargetSchema = {
|
|
6608
6608
|
data: Webhook;
|
|
6609
|
-
}
|
|
6609
|
+
};
|
|
6610
6610
|
/**
|
|
6611
6611
|
* This interface was referenced by `Webhook`'s JSON-Schema
|
|
6612
6612
|
* via the `destroy.targetSchema` link.
|
|
6613
6613
|
*/
|
|
6614
|
-
export
|
|
6614
|
+
export declare type WebhookDestroyTargetSchema = {
|
|
6615
6615
|
data: Webhook;
|
|
6616
|
-
}
|
|
6616
|
+
};
|
|
6617
6617
|
/**
|
|
6618
6618
|
* Represents a log entry in the webhooks activity list.
|
|
6619
6619
|
*
|
|
6620
6620
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
6621
6621
|
* via the `definition` "webhook_call".
|
|
6622
6622
|
*/
|
|
6623
|
-
export
|
|
6623
|
+
export declare type WebhookCall = {
|
|
6624
6624
|
type: WebhookCallType;
|
|
6625
6625
|
id: WebhookCallIdentity;
|
|
6626
6626
|
attributes: WebhookCallAttributes;
|
|
6627
6627
|
relationships: WebhookCallRelationships;
|
|
6628
|
-
}
|
|
6628
|
+
};
|
|
6629
6629
|
/**
|
|
6630
6630
|
* JSON API attributes
|
|
6631
6631
|
*
|
|
6632
6632
|
* This interface was referenced by `WebhookCall`'s JSON-Schema
|
|
6633
6633
|
* via the `definition` "attributes".
|
|
6634
6634
|
*/
|
|
6635
|
-
export
|
|
6635
|
+
export declare type WebhookCallAttributes = {
|
|
6636
6636
|
/**
|
|
6637
6637
|
* The subject of webhook triggering
|
|
6638
6638
|
*/
|
|
@@ -6673,59 +6673,59 @@ export interface WebhookCallAttributes {
|
|
|
6673
6673
|
* The body of the response
|
|
6674
6674
|
*/
|
|
6675
6675
|
response_payload: string | null;
|
|
6676
|
-
}
|
|
6676
|
+
};
|
|
6677
6677
|
/**
|
|
6678
6678
|
* JSON API links
|
|
6679
6679
|
*
|
|
6680
6680
|
* This interface was referenced by `WebhookCall`'s JSON-Schema
|
|
6681
6681
|
* via the `definition` "relationships".
|
|
6682
6682
|
*/
|
|
6683
|
-
export
|
|
6683
|
+
export declare type WebhookCallRelationships = {
|
|
6684
6684
|
/**
|
|
6685
6685
|
* The webhook which has been called
|
|
6686
6686
|
*/
|
|
6687
6687
|
webhook: {
|
|
6688
6688
|
data: WebhookData;
|
|
6689
6689
|
};
|
|
6690
|
-
}
|
|
6690
|
+
};
|
|
6691
6691
|
/**
|
|
6692
6692
|
* JSON API data
|
|
6693
6693
|
*
|
|
6694
6694
|
* This interface was referenced by `WebhookCall`'s JSON-Schema
|
|
6695
6695
|
* via the `definition` "data".
|
|
6696
6696
|
*/
|
|
6697
|
-
export
|
|
6697
|
+
export declare type WebhookCallData = {
|
|
6698
6698
|
type: WebhookCallType;
|
|
6699
6699
|
id: WebhookCallIdentity;
|
|
6700
|
-
}
|
|
6700
|
+
};
|
|
6701
6701
|
/**
|
|
6702
6702
|
* This interface was referenced by `WebhookCall`'s JSON-Schema
|
|
6703
6703
|
* via the `instances.targetSchema` link.
|
|
6704
6704
|
*/
|
|
6705
|
-
export
|
|
6705
|
+
export declare type WebhookCallInstancesTargetSchema = {
|
|
6706
6706
|
data: WebhookCall[];
|
|
6707
6707
|
meta: {
|
|
6708
6708
|
total_count: number;
|
|
6709
6709
|
};
|
|
6710
|
-
}
|
|
6710
|
+
};
|
|
6711
6711
|
/**
|
|
6712
6712
|
* Configuration for different build triggers. You can have different staging and production environments in order to test your site before final deploy
|
|
6713
6713
|
*
|
|
6714
6714
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
6715
6715
|
* via the `definition` "build_trigger".
|
|
6716
6716
|
*/
|
|
6717
|
-
export
|
|
6717
|
+
export declare type BuildTrigger = {
|
|
6718
6718
|
type: BuildTriggerType;
|
|
6719
6719
|
id: BuildTriggerIdentity;
|
|
6720
6720
|
attributes: BuildTriggerAttributes;
|
|
6721
|
-
}
|
|
6721
|
+
};
|
|
6722
6722
|
/**
|
|
6723
6723
|
* JSON API attributes
|
|
6724
6724
|
*
|
|
6725
6725
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema
|
|
6726
6726
|
* via the `definition` "attributes".
|
|
6727
6727
|
*/
|
|
6728
|
-
export
|
|
6728
|
+
export declare type BuildTriggerAttributes = {
|
|
6729
6729
|
/**
|
|
6730
6730
|
* Name of the environment
|
|
6731
6731
|
*/
|
|
@@ -6772,26 +6772,26 @@ export interface BuildTriggerAttributes {
|
|
|
6772
6772
|
* Enable scraper on the site
|
|
6773
6773
|
*/
|
|
6774
6774
|
indexing_enabled: boolean;
|
|
6775
|
-
}
|
|
6775
|
+
};
|
|
6776
6776
|
/**
|
|
6777
6777
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema
|
|
6778
6778
|
* via the `instances.targetSchema` link.
|
|
6779
6779
|
*/
|
|
6780
|
-
export
|
|
6780
|
+
export declare type BuildTriggerInstancesTargetSchema = {
|
|
6781
6781
|
data: BuildTrigger[];
|
|
6782
|
-
}
|
|
6782
|
+
};
|
|
6783
6783
|
/**
|
|
6784
6784
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema
|
|
6785
6785
|
* via the `self.targetSchema` link.
|
|
6786
6786
|
*/
|
|
6787
|
-
export
|
|
6787
|
+
export declare type BuildTriggerSelfTargetSchema = {
|
|
6788
6788
|
data: BuildTrigger;
|
|
6789
|
-
}
|
|
6789
|
+
};
|
|
6790
6790
|
/**
|
|
6791
6791
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema
|
|
6792
6792
|
* via the `create.schema` link.
|
|
6793
6793
|
*/
|
|
6794
|
-
export
|
|
6794
|
+
export declare type BuildTriggerCreateSchema = {
|
|
6795
6795
|
data: {
|
|
6796
6796
|
type: BuildTriggerType;
|
|
6797
6797
|
attributes: {
|
|
@@ -6827,19 +6827,19 @@ export interface BuildTriggerCreateSchema {
|
|
|
6827
6827
|
};
|
|
6828
6828
|
};
|
|
6829
6829
|
};
|
|
6830
|
-
}
|
|
6830
|
+
};
|
|
6831
6831
|
/**
|
|
6832
6832
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema
|
|
6833
6833
|
* via the `create.targetSchema` link.
|
|
6834
6834
|
*/
|
|
6835
|
-
export
|
|
6835
|
+
export declare type BuildTriggerCreateTargetSchema = {
|
|
6836
6836
|
data: BuildTrigger;
|
|
6837
|
-
}
|
|
6837
|
+
};
|
|
6838
6838
|
/**
|
|
6839
6839
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema
|
|
6840
6840
|
* via the `update.schema` link.
|
|
6841
6841
|
*/
|
|
6842
|
-
export
|
|
6842
|
+
export declare type BuildTriggerUpdateSchema = {
|
|
6843
6843
|
data: {
|
|
6844
6844
|
type: BuildTriggerType;
|
|
6845
6845
|
id: BuildTriggerIdentity;
|
|
@@ -6872,40 +6872,40 @@ export interface BuildTriggerUpdateSchema {
|
|
|
6872
6872
|
};
|
|
6873
6873
|
};
|
|
6874
6874
|
};
|
|
6875
|
-
}
|
|
6875
|
+
};
|
|
6876
6876
|
/**
|
|
6877
6877
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema
|
|
6878
6878
|
* via the `update.targetSchema` link.
|
|
6879
6879
|
*/
|
|
6880
|
-
export
|
|
6880
|
+
export declare type BuildTriggerUpdateTargetSchema = {
|
|
6881
6881
|
data: BuildTrigger;
|
|
6882
|
-
}
|
|
6882
|
+
};
|
|
6883
6883
|
/**
|
|
6884
6884
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema
|
|
6885
6885
|
* via the `destroy.targetSchema` link.
|
|
6886
6886
|
*/
|
|
6887
|
-
export
|
|
6887
|
+
export declare type BuildTriggerDestroyTargetSchema = {
|
|
6888
6888
|
data: BuildTrigger;
|
|
6889
|
-
}
|
|
6889
|
+
};
|
|
6890
6890
|
/**
|
|
6891
6891
|
* In DatoCMS you can create filters to help you (and other editors) quickly search for records
|
|
6892
6892
|
*
|
|
6893
6893
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
6894
6894
|
* via the `definition` "item_type_filter".
|
|
6895
6895
|
*/
|
|
6896
|
-
export
|
|
6896
|
+
export declare type ItemTypeFilter = {
|
|
6897
6897
|
type: ItemTypeFilterType;
|
|
6898
6898
|
id: ItemTypeFilterIdentity;
|
|
6899
6899
|
attributes: ItemTypeFilterAttributes;
|
|
6900
6900
|
relationships: ItemTypeFilterRelationships;
|
|
6901
|
-
}
|
|
6901
|
+
};
|
|
6902
6902
|
/**
|
|
6903
6903
|
* JSON API attributes
|
|
6904
6904
|
*
|
|
6905
6905
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema
|
|
6906
6906
|
* via the `definition` "attributes".
|
|
6907
6907
|
*/
|
|
6908
|
-
export
|
|
6908
|
+
export declare type ItemTypeFilterAttributes = {
|
|
6909
6909
|
/**
|
|
6910
6910
|
* The name of the filter
|
|
6911
6911
|
*/
|
|
@@ -6920,36 +6920,36 @@ export interface ItemTypeFilterAttributes {
|
|
|
6920
6920
|
* Whether it's a shared filter or not
|
|
6921
6921
|
*/
|
|
6922
6922
|
shared: boolean;
|
|
6923
|
-
}
|
|
6923
|
+
};
|
|
6924
6924
|
/**
|
|
6925
6925
|
* JSON API links
|
|
6926
6926
|
*
|
|
6927
6927
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema
|
|
6928
6928
|
* via the `definition` "relationships".
|
|
6929
6929
|
*/
|
|
6930
|
-
export
|
|
6930
|
+
export declare type ItemTypeFilterRelationships = {
|
|
6931
6931
|
/**
|
|
6932
6932
|
* Model associated with the filter
|
|
6933
6933
|
*/
|
|
6934
6934
|
item_type: {
|
|
6935
6935
|
data: ItemTypeData;
|
|
6936
6936
|
};
|
|
6937
|
-
}
|
|
6937
|
+
};
|
|
6938
6938
|
/**
|
|
6939
6939
|
* JSON API data
|
|
6940
6940
|
*
|
|
6941
6941
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema
|
|
6942
6942
|
* via the `definition` "data".
|
|
6943
6943
|
*/
|
|
6944
|
-
export
|
|
6944
|
+
export declare type ItemTypeFilterData = {
|
|
6945
6945
|
type: ItemTypeFilterType;
|
|
6946
6946
|
id: ItemTypeFilterIdentity;
|
|
6947
|
-
}
|
|
6947
|
+
};
|
|
6948
6948
|
/**
|
|
6949
6949
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema
|
|
6950
6950
|
* via the `create.schema` link.
|
|
6951
6951
|
*/
|
|
6952
|
-
export
|
|
6952
|
+
export declare type ItemTypeFilterCreateSchema = {
|
|
6953
6953
|
data: {
|
|
6954
6954
|
type: ItemTypeFilterType;
|
|
6955
6955
|
attributes: {
|
|
@@ -6977,19 +6977,19 @@ export interface ItemTypeFilterCreateSchema {
|
|
|
6977
6977
|
};
|
|
6978
6978
|
};
|
|
6979
6979
|
};
|
|
6980
|
-
}
|
|
6980
|
+
};
|
|
6981
6981
|
/**
|
|
6982
6982
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema
|
|
6983
6983
|
* via the `create.targetSchema` link.
|
|
6984
6984
|
*/
|
|
6985
|
-
export
|
|
6985
|
+
export declare type ItemTypeFilterCreateTargetSchema = {
|
|
6986
6986
|
data: ItemTypeFilter;
|
|
6987
|
-
}
|
|
6987
|
+
};
|
|
6988
6988
|
/**
|
|
6989
6989
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema
|
|
6990
6990
|
* via the `update.schema` link.
|
|
6991
6991
|
*/
|
|
6992
|
-
export
|
|
6992
|
+
export declare type ItemTypeFilterUpdateSchema = {
|
|
6993
6993
|
data: {
|
|
6994
6994
|
type: ItemTypeFilterType;
|
|
6995
6995
|
id: ItemTypeFilterIdentity;
|
|
@@ -7013,53 +7013,53 @@ export interface ItemTypeFilterUpdateSchema {
|
|
|
7013
7013
|
};
|
|
7014
7014
|
};
|
|
7015
7015
|
};
|
|
7016
|
-
}
|
|
7016
|
+
};
|
|
7017
7017
|
/**
|
|
7018
7018
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema
|
|
7019
7019
|
* via the `update.targetSchema` link.
|
|
7020
7020
|
*/
|
|
7021
|
-
export
|
|
7021
|
+
export declare type ItemTypeFilterUpdateTargetSchema = {
|
|
7022
7022
|
data: ItemTypeFilter;
|
|
7023
|
-
}
|
|
7023
|
+
};
|
|
7024
7024
|
/**
|
|
7025
7025
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema
|
|
7026
7026
|
* via the `instances.targetSchema` link.
|
|
7027
7027
|
*/
|
|
7028
|
-
export
|
|
7028
|
+
export declare type ItemTypeFilterInstancesTargetSchema = {
|
|
7029
7029
|
data: ItemTypeFilter[];
|
|
7030
|
-
}
|
|
7030
|
+
};
|
|
7031
7031
|
/**
|
|
7032
7032
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema
|
|
7033
7033
|
* via the `self.targetSchema` link.
|
|
7034
7034
|
*/
|
|
7035
|
-
export
|
|
7035
|
+
export declare type ItemTypeFilterSelfTargetSchema = {
|
|
7036
7036
|
data: ItemTypeFilter;
|
|
7037
|
-
}
|
|
7037
|
+
};
|
|
7038
7038
|
/**
|
|
7039
7039
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema
|
|
7040
7040
|
* via the `destroy.targetSchema` link.
|
|
7041
7041
|
*/
|
|
7042
|
-
export
|
|
7042
|
+
export declare type ItemTypeFilterDestroyTargetSchema = {
|
|
7043
7043
|
data: ItemTypeFilter;
|
|
7044
|
-
}
|
|
7044
|
+
};
|
|
7045
7045
|
/**
|
|
7046
7046
|
* In DatoCMS you can create filters to help you (and other editors) quickly search for uploads
|
|
7047
7047
|
*
|
|
7048
7048
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
7049
7049
|
* via the `definition` "upload_filter".
|
|
7050
7050
|
*/
|
|
7051
|
-
export
|
|
7051
|
+
export declare type UploadFilter = {
|
|
7052
7052
|
type: UploadFilterType;
|
|
7053
7053
|
id: UploadFilterIdentity;
|
|
7054
7054
|
attributes: UploadFilterAttributes;
|
|
7055
|
-
}
|
|
7055
|
+
};
|
|
7056
7056
|
/**
|
|
7057
7057
|
* JSON API attributes
|
|
7058
7058
|
*
|
|
7059
7059
|
* This interface was referenced by `UploadFilter`'s JSON-Schema
|
|
7060
7060
|
* via the `definition` "attributes".
|
|
7061
7061
|
*/
|
|
7062
|
-
export
|
|
7062
|
+
export declare type UploadFilterAttributes = {
|
|
7063
7063
|
/**
|
|
7064
7064
|
* The name of the filter
|
|
7065
7065
|
*/
|
|
@@ -7074,22 +7074,22 @@ export interface UploadFilterAttributes {
|
|
|
7074
7074
|
* Whether it's a shared filter or not
|
|
7075
7075
|
*/
|
|
7076
7076
|
shared: boolean;
|
|
7077
|
-
}
|
|
7077
|
+
};
|
|
7078
7078
|
/**
|
|
7079
7079
|
* JSON API data
|
|
7080
7080
|
*
|
|
7081
7081
|
* This interface was referenced by `UploadFilter`'s JSON-Schema
|
|
7082
7082
|
* via the `definition` "data".
|
|
7083
7083
|
*/
|
|
7084
|
-
export
|
|
7084
|
+
export declare type UploadFilterData = {
|
|
7085
7085
|
type: UploadFilterType;
|
|
7086
7086
|
id: UploadFilterIdentity;
|
|
7087
|
-
}
|
|
7087
|
+
};
|
|
7088
7088
|
/**
|
|
7089
7089
|
* This interface was referenced by `UploadFilter`'s JSON-Schema
|
|
7090
7090
|
* via the `create.schema` link.
|
|
7091
7091
|
*/
|
|
7092
|
-
export
|
|
7092
|
+
export declare type UploadFilterCreateSchema = {
|
|
7093
7093
|
data: {
|
|
7094
7094
|
type: UploadFilterType;
|
|
7095
7095
|
/**
|
|
@@ -7112,19 +7112,19 @@ export interface UploadFilterCreateSchema {
|
|
|
7112
7112
|
shared: boolean;
|
|
7113
7113
|
};
|
|
7114
7114
|
};
|
|
7115
|
-
}
|
|
7115
|
+
};
|
|
7116
7116
|
/**
|
|
7117
7117
|
* This interface was referenced by `UploadFilter`'s JSON-Schema
|
|
7118
7118
|
* via the `create.targetSchema` link.
|
|
7119
7119
|
*/
|
|
7120
|
-
export
|
|
7120
|
+
export declare type UploadFilterCreateTargetSchema = {
|
|
7121
7121
|
data: UploadFilter;
|
|
7122
|
-
}
|
|
7122
|
+
};
|
|
7123
7123
|
/**
|
|
7124
7124
|
* This interface was referenced by `UploadFilter`'s JSON-Schema
|
|
7125
7125
|
* via the `update.schema` link.
|
|
7126
7126
|
*/
|
|
7127
|
-
export
|
|
7127
|
+
export declare type UploadFilterUpdateSchema = {
|
|
7128
7128
|
data: {
|
|
7129
7129
|
type: UploadFilterType;
|
|
7130
7130
|
id: UploadFilterIdentity;
|
|
@@ -7148,88 +7148,88 @@ export interface UploadFilterUpdateSchema {
|
|
|
7148
7148
|
};
|
|
7149
7149
|
};
|
|
7150
7150
|
};
|
|
7151
|
-
}
|
|
7151
|
+
};
|
|
7152
7152
|
/**
|
|
7153
7153
|
* This interface was referenced by `UploadFilter`'s JSON-Schema
|
|
7154
7154
|
* via the `update.targetSchema` link.
|
|
7155
7155
|
*/
|
|
7156
|
-
export
|
|
7156
|
+
export declare type UploadFilterUpdateTargetSchema = {
|
|
7157
7157
|
data: UploadFilter;
|
|
7158
|
-
}
|
|
7158
|
+
};
|
|
7159
7159
|
/**
|
|
7160
7160
|
* This interface was referenced by `UploadFilter`'s JSON-Schema
|
|
7161
7161
|
* via the `instances.targetSchema` link.
|
|
7162
7162
|
*/
|
|
7163
|
-
export
|
|
7163
|
+
export declare type UploadFilterInstancesTargetSchema = {
|
|
7164
7164
|
data: UploadFilter[];
|
|
7165
|
-
}
|
|
7165
|
+
};
|
|
7166
7166
|
/**
|
|
7167
7167
|
* This interface was referenced by `UploadFilter`'s JSON-Schema
|
|
7168
7168
|
* via the `self.targetSchema` link.
|
|
7169
7169
|
*/
|
|
7170
|
-
export
|
|
7170
|
+
export declare type UploadFilterSelfTargetSchema = {
|
|
7171
7171
|
data: UploadFilter;
|
|
7172
|
-
}
|
|
7172
|
+
};
|
|
7173
7173
|
/**
|
|
7174
7174
|
* This interface was referenced by `UploadFilter`'s JSON-Schema
|
|
7175
7175
|
* via the `destroy.targetSchema` link.
|
|
7176
7176
|
*/
|
|
7177
|
-
export
|
|
7177
|
+
export declare type UploadFilterDestroyTargetSchema = {
|
|
7178
7178
|
data: UploadFilter;
|
|
7179
|
-
}
|
|
7179
|
+
};
|
|
7180
7180
|
/**
|
|
7181
7181
|
* A DatoCMS administrative area can be accessed by multiple people. Every invitation is linked to a specific Role, which describes what actions it will be able to perform once the user will register.
|
|
7182
7182
|
*
|
|
7183
7183
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
7184
7184
|
* via the `definition` "site_invitation".
|
|
7185
7185
|
*/
|
|
7186
|
-
export
|
|
7186
|
+
export declare type SiteInvitation = {
|
|
7187
7187
|
type: SiteInvitationType;
|
|
7188
7188
|
id: SiteInvitationIdentity;
|
|
7189
7189
|
attributes: SiteInvitationAttributes;
|
|
7190
7190
|
relationships: SiteInvitationRelationships;
|
|
7191
|
-
}
|
|
7191
|
+
};
|
|
7192
7192
|
/**
|
|
7193
7193
|
* JSON API attributes
|
|
7194
7194
|
*
|
|
7195
7195
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema
|
|
7196
7196
|
* via the `definition` "attributes".
|
|
7197
7197
|
*/
|
|
7198
|
-
export
|
|
7198
|
+
export declare type SiteInvitationAttributes = {
|
|
7199
7199
|
/**
|
|
7200
7200
|
* Email
|
|
7201
7201
|
*/
|
|
7202
7202
|
email: string;
|
|
7203
|
-
}
|
|
7203
|
+
};
|
|
7204
7204
|
/**
|
|
7205
7205
|
* JSON API links
|
|
7206
7206
|
*
|
|
7207
7207
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema
|
|
7208
7208
|
* via the `definition` "relationships".
|
|
7209
7209
|
*/
|
|
7210
|
-
export
|
|
7210
|
+
export declare type SiteInvitationRelationships = {
|
|
7211
7211
|
/**
|
|
7212
7212
|
* Role
|
|
7213
7213
|
*/
|
|
7214
7214
|
role: {
|
|
7215
7215
|
data: RoleData;
|
|
7216
7216
|
};
|
|
7217
|
-
}
|
|
7217
|
+
};
|
|
7218
7218
|
/**
|
|
7219
7219
|
* JSON API data
|
|
7220
7220
|
*
|
|
7221
7221
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema
|
|
7222
7222
|
* via the `definition` "data".
|
|
7223
7223
|
*/
|
|
7224
|
-
export
|
|
7224
|
+
export declare type SiteInvitationData = {
|
|
7225
7225
|
type: SiteInvitationType;
|
|
7226
7226
|
id: SiteInvitationIdentity;
|
|
7227
|
-
}
|
|
7227
|
+
};
|
|
7228
7228
|
/**
|
|
7229
7229
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema
|
|
7230
7230
|
* via the `create.schema` link.
|
|
7231
7231
|
*/
|
|
7232
|
-
export
|
|
7232
|
+
export declare type SiteInvitationCreateSchema = {
|
|
7233
7233
|
data: {
|
|
7234
7234
|
type: SiteInvitationType;
|
|
7235
7235
|
attributes: {
|
|
@@ -7247,19 +7247,19 @@ export interface SiteInvitationCreateSchema {
|
|
|
7247
7247
|
};
|
|
7248
7248
|
};
|
|
7249
7249
|
};
|
|
7250
|
-
}
|
|
7250
|
+
};
|
|
7251
7251
|
/**
|
|
7252
7252
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema
|
|
7253
7253
|
* via the `create.targetSchema` link.
|
|
7254
7254
|
*/
|
|
7255
|
-
export
|
|
7255
|
+
export declare type SiteInvitationCreateTargetSchema = {
|
|
7256
7256
|
data: SiteInvitation;
|
|
7257
|
-
}
|
|
7257
|
+
};
|
|
7258
7258
|
/**
|
|
7259
7259
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema
|
|
7260
7260
|
* via the `update.schema` link.
|
|
7261
7261
|
*/
|
|
7262
|
-
export
|
|
7262
|
+
export declare type SiteInvitationUpdateSchema = {
|
|
7263
7263
|
data: {
|
|
7264
7264
|
type: SiteInvitationType;
|
|
7265
7265
|
id: SiteInvitationIdentity;
|
|
@@ -7272,54 +7272,54 @@ export interface SiteInvitationUpdateSchema {
|
|
|
7272
7272
|
};
|
|
7273
7273
|
};
|
|
7274
7274
|
};
|
|
7275
|
-
}
|
|
7275
|
+
};
|
|
7276
7276
|
/**
|
|
7277
7277
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema
|
|
7278
7278
|
* via the `update.targetSchema` link.
|
|
7279
7279
|
*/
|
|
7280
|
-
export
|
|
7280
|
+
export declare type SiteInvitationUpdateTargetSchema = {
|
|
7281
7281
|
data: SiteInvitation;
|
|
7282
|
-
}
|
|
7282
|
+
};
|
|
7283
7283
|
/**
|
|
7284
7284
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema
|
|
7285
7285
|
* via the `instances.targetSchema` link.
|
|
7286
7286
|
*/
|
|
7287
|
-
export
|
|
7287
|
+
export declare type SiteInvitationInstancesTargetSchema = {
|
|
7288
7288
|
data: SiteInvitation[];
|
|
7289
|
-
}
|
|
7289
|
+
};
|
|
7290
7290
|
/**
|
|
7291
7291
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema
|
|
7292
7292
|
* via the `self.targetSchema` link.
|
|
7293
7293
|
*/
|
|
7294
|
-
export
|
|
7294
|
+
export declare type SiteInvitationSelfTargetSchema = {
|
|
7295
7295
|
data: SiteInvitation;
|
|
7296
|
-
}
|
|
7296
|
+
};
|
|
7297
7297
|
/**
|
|
7298
7298
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema
|
|
7299
7299
|
* via the `destroy.targetSchema` link.
|
|
7300
7300
|
*/
|
|
7301
|
-
export
|
|
7301
|
+
export declare type SiteInvitationDestroyTargetSchema = {
|
|
7302
7302
|
data: SiteInvitation;
|
|
7303
|
-
}
|
|
7303
|
+
};
|
|
7304
7304
|
/**
|
|
7305
7305
|
* Session track users movements in the administrative area, and allows locking a record when editing it.
|
|
7306
7306
|
*
|
|
7307
7307
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
7308
7308
|
* via the `definition` "editing_session".
|
|
7309
7309
|
*/
|
|
7310
|
-
export
|
|
7310
|
+
export declare type EditingSession = {
|
|
7311
7311
|
type: EditingSessionType;
|
|
7312
7312
|
id: EditingSessionIdentity;
|
|
7313
7313
|
attributes: EditingSessionAttributes;
|
|
7314
7314
|
relationships: EditingSessionRelationships;
|
|
7315
|
-
}
|
|
7315
|
+
};
|
|
7316
7316
|
/**
|
|
7317
7317
|
* JSON API attributes
|
|
7318
7318
|
*
|
|
7319
7319
|
* This interface was referenced by `EditingSession`'s JSON-Schema
|
|
7320
7320
|
* via the `definition` "attributes".
|
|
7321
7321
|
*/
|
|
7322
|
-
export
|
|
7322
|
+
export declare type EditingSessionAttributes = {
|
|
7323
7323
|
/**
|
|
7324
7324
|
* User entered at
|
|
7325
7325
|
*/
|
|
@@ -7328,14 +7328,14 @@ export interface EditingSessionAttributes {
|
|
|
7328
7328
|
* User locked record at
|
|
7329
7329
|
*/
|
|
7330
7330
|
locked_at: string | null;
|
|
7331
|
-
}
|
|
7331
|
+
};
|
|
7332
7332
|
/**
|
|
7333
7333
|
* JSON API links
|
|
7334
7334
|
*
|
|
7335
7335
|
* This interface was referenced by `EditingSession`'s JSON-Schema
|
|
7336
7336
|
* via the `definition` "relationships".
|
|
7337
7337
|
*/
|
|
7338
|
-
export
|
|
7338
|
+
export declare type EditingSessionRelationships = {
|
|
7339
7339
|
/**
|
|
7340
7340
|
* The active item in the session
|
|
7341
7341
|
*/
|
|
@@ -7354,29 +7354,29 @@ export interface EditingSessionRelationships {
|
|
|
7354
7354
|
editor: {
|
|
7355
7355
|
data: AccountData | AccessTokenData | UserData;
|
|
7356
7356
|
};
|
|
7357
|
-
}
|
|
7357
|
+
};
|
|
7358
7358
|
/**
|
|
7359
7359
|
* JSON API data
|
|
7360
7360
|
*
|
|
7361
7361
|
* This interface was referenced by `EditingSession`'s JSON-Schema
|
|
7362
7362
|
* via the `definition` "data".
|
|
7363
7363
|
*/
|
|
7364
|
-
export
|
|
7364
|
+
export declare type EditingSessionData = {
|
|
7365
7365
|
type: EditingSessionType;
|
|
7366
7366
|
id: EditingSessionIdentity;
|
|
7367
|
-
}
|
|
7367
|
+
};
|
|
7368
7368
|
/**
|
|
7369
7369
|
* This interface was referenced by `EditingSession`'s JSON-Schema
|
|
7370
7370
|
* via the `instances.targetSchema` link.
|
|
7371
7371
|
*/
|
|
7372
|
-
export
|
|
7372
|
+
export declare type EditingSessionInstancesTargetSchema = {
|
|
7373
7373
|
data: EditingSession[];
|
|
7374
|
-
}
|
|
7374
|
+
};
|
|
7375
7375
|
/**
|
|
7376
7376
|
* This interface was referenced by `EditingSession`'s JSON-Schema
|
|
7377
7377
|
* via the `update.schema` link.
|
|
7378
7378
|
*/
|
|
7379
|
-
export
|
|
7379
|
+
export declare type EditingSessionUpdateSchema = {
|
|
7380
7380
|
data: {
|
|
7381
7381
|
/**
|
|
7382
7382
|
* JSON API type
|
|
@@ -7431,40 +7431,40 @@ export interface EditingSessionUpdateSchema {
|
|
|
7431
7431
|
*/
|
|
7432
7432
|
type: 'editing_session_unlock_item';
|
|
7433
7433
|
};
|
|
7434
|
-
}
|
|
7434
|
+
};
|
|
7435
7435
|
/**
|
|
7436
7436
|
* This interface was referenced by `EditingSession`'s JSON-Schema
|
|
7437
7437
|
* via the `update.targetSchema` link.
|
|
7438
7438
|
*/
|
|
7439
|
-
export
|
|
7439
|
+
export declare type EditingSessionUpdateTargetSchema = {
|
|
7440
7440
|
data: EditingSession;
|
|
7441
|
-
}
|
|
7441
|
+
};
|
|
7442
7442
|
/**
|
|
7443
7443
|
* This interface was referenced by `EditingSession`'s JSON-Schema
|
|
7444
7444
|
* via the `destroy.targetSchema` link.
|
|
7445
7445
|
*/
|
|
7446
|
-
export
|
|
7446
|
+
export declare type EditingSessionDestroyTargetSchema = {
|
|
7447
7447
|
data: EditingSession;
|
|
7448
|
-
}
|
|
7448
|
+
};
|
|
7449
7449
|
/**
|
|
7450
7450
|
* A Single Sign-On group exists when a DatoCMS project is connected to an Identity Provider. These groups can be used to link DatoCMS roles to the Identity Provider's groups.
|
|
7451
7451
|
*
|
|
7452
7452
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
7453
7453
|
* via the `definition` "sso_group".
|
|
7454
7454
|
*/
|
|
7455
|
-
export
|
|
7455
|
+
export declare type SsoGroup = {
|
|
7456
7456
|
type: SsoGroupType;
|
|
7457
7457
|
id: SsoGroupIdentity;
|
|
7458
7458
|
attributes: SsoGroupAttributes;
|
|
7459
7459
|
relationships: SsoGroupRelationships;
|
|
7460
|
-
}
|
|
7460
|
+
};
|
|
7461
7461
|
/**
|
|
7462
7462
|
* JSON API attributes
|
|
7463
7463
|
*
|
|
7464
7464
|
* This interface was referenced by `SsoGroup`'s JSON-Schema
|
|
7465
7465
|
* via the `definition` "attributes".
|
|
7466
7466
|
*/
|
|
7467
|
-
export
|
|
7467
|
+
export declare type SsoGroupAttributes = {
|
|
7468
7468
|
/**
|
|
7469
7469
|
* Name of the group
|
|
7470
7470
|
*/
|
|
@@ -7473,14 +7473,14 @@ export interface SsoGroupAttributes {
|
|
|
7473
7473
|
* When an user belongs to multiple groups, the role associated to the group with the highest priority will be used
|
|
7474
7474
|
*/
|
|
7475
7475
|
priority: number;
|
|
7476
|
-
}
|
|
7476
|
+
};
|
|
7477
7477
|
/**
|
|
7478
7478
|
* JSON API links
|
|
7479
7479
|
*
|
|
7480
7480
|
* This interface was referenced by `SsoGroup`'s JSON-Schema
|
|
7481
7481
|
* via the `definition` "relationships".
|
|
7482
7482
|
*/
|
|
7483
|
-
export
|
|
7483
|
+
export declare type SsoGroupRelationships = {
|
|
7484
7484
|
/**
|
|
7485
7485
|
* Sso Group's role
|
|
7486
7486
|
*/
|
|
@@ -7493,26 +7493,26 @@ export interface SsoGroupRelationships {
|
|
|
7493
7493
|
users: {
|
|
7494
7494
|
data: SsoUserData[];
|
|
7495
7495
|
};
|
|
7496
|
-
}
|
|
7496
|
+
};
|
|
7497
7497
|
/**
|
|
7498
7498
|
* This interface was referenced by `SsoGroup`'s JSON-Schema
|
|
7499
7499
|
* via the `instances.targetSchema` link.
|
|
7500
7500
|
*/
|
|
7501
|
-
export
|
|
7501
|
+
export declare type SsoGroupInstancesTargetSchema = {
|
|
7502
7502
|
data: SsoGroup[];
|
|
7503
|
-
}
|
|
7503
|
+
};
|
|
7504
7504
|
/**
|
|
7505
7505
|
* This interface was referenced by `SsoGroup`'s JSON-Schema
|
|
7506
7506
|
* via the `copy_roles.targetSchema` link.
|
|
7507
7507
|
*/
|
|
7508
|
-
export
|
|
7508
|
+
export declare type SsoGroupCopyRolesTargetSchema = {
|
|
7509
7509
|
data: SsoGroup;
|
|
7510
|
-
}
|
|
7510
|
+
};
|
|
7511
7511
|
/**
|
|
7512
7512
|
* This interface was referenced by `SsoGroup`'s JSON-Schema
|
|
7513
7513
|
* via the `update.schema` link.
|
|
7514
7514
|
*/
|
|
7515
|
-
export
|
|
7515
|
+
export declare type SsoGroupUpdateSchema = {
|
|
7516
7516
|
data: {
|
|
7517
7517
|
type: SsoGroupType;
|
|
7518
7518
|
id: SsoGroupIdentity;
|
|
@@ -7531,40 +7531,40 @@ export interface SsoGroupUpdateSchema {
|
|
|
7531
7531
|
};
|
|
7532
7532
|
};
|
|
7533
7533
|
};
|
|
7534
|
-
}
|
|
7534
|
+
};
|
|
7535
7535
|
/**
|
|
7536
7536
|
* This interface was referenced by `SsoGroup`'s JSON-Schema
|
|
7537
7537
|
* via the `update.targetSchema` link.
|
|
7538
7538
|
*/
|
|
7539
|
-
export
|
|
7539
|
+
export declare type SsoGroupUpdateTargetSchema = {
|
|
7540
7540
|
data: SsoGroup;
|
|
7541
|
-
}
|
|
7541
|
+
};
|
|
7542
7542
|
/**
|
|
7543
7543
|
* This interface was referenced by `SsoGroup`'s JSON-Schema
|
|
7544
7544
|
* via the `destroy.targetSchema` link.
|
|
7545
7545
|
*/
|
|
7546
|
-
export
|
|
7546
|
+
export declare type SsoGroupDestroyTargetSchema = {
|
|
7547
7547
|
data: SsoGroup;
|
|
7548
|
-
}
|
|
7548
|
+
};
|
|
7549
7549
|
/**
|
|
7550
7550
|
* Represents the Single Sign-on settings of the current DatoCMS project
|
|
7551
7551
|
*
|
|
7552
7552
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
7553
7553
|
* via the `definition` "sso_settings".
|
|
7554
7554
|
*/
|
|
7555
|
-
export
|
|
7555
|
+
export declare type SsoSettings = {
|
|
7556
7556
|
type: SsoSettingsType;
|
|
7557
7557
|
id: SsoSettingsIdentity;
|
|
7558
7558
|
attributes: SsoSettingsAttributes;
|
|
7559
7559
|
relationships: SsoSettingsRelationships;
|
|
7560
|
-
}
|
|
7560
|
+
};
|
|
7561
7561
|
/**
|
|
7562
7562
|
* JSON API attributes
|
|
7563
7563
|
*
|
|
7564
7564
|
* This interface was referenced by `SsoSettings`'s JSON-Schema
|
|
7565
7565
|
* via the `definition` "attributes".
|
|
7566
7566
|
*/
|
|
7567
|
-
export
|
|
7567
|
+
export declare type SsoSettingsAttributes = {
|
|
7568
7568
|
/**
|
|
7569
7569
|
* URL of Identity Provider SAML Metadata endpoint
|
|
7570
7570
|
*/
|
|
@@ -7593,43 +7593,43 @@ export interface SsoSettingsAttributes {
|
|
|
7593
7593
|
* DatoCMS SCIM API Token
|
|
7594
7594
|
*/
|
|
7595
7595
|
scim_api_token?: string;
|
|
7596
|
-
}
|
|
7596
|
+
};
|
|
7597
7597
|
/**
|
|
7598
7598
|
* JSON API links
|
|
7599
7599
|
*
|
|
7600
7600
|
* This interface was referenced by `SsoSettings`'s JSON-Schema
|
|
7601
7601
|
* via the `definition` "relationships".
|
|
7602
7602
|
*/
|
|
7603
|
-
export
|
|
7603
|
+
export declare type SsoSettingsRelationships = {
|
|
7604
7604
|
/**
|
|
7605
7605
|
* The default role assigned to SSO users that do not belong to any SSO group
|
|
7606
7606
|
*/
|
|
7607
7607
|
default_role: {
|
|
7608
7608
|
data: null | RoleData;
|
|
7609
7609
|
};
|
|
7610
|
-
}
|
|
7610
|
+
};
|
|
7611
7611
|
/**
|
|
7612
7612
|
* JSON API data
|
|
7613
7613
|
*
|
|
7614
7614
|
* This interface was referenced by `SsoSettings`'s JSON-Schema
|
|
7615
7615
|
* via the `definition` "data".
|
|
7616
7616
|
*/
|
|
7617
|
-
export
|
|
7617
|
+
export declare type SsoSettingsData = {
|
|
7618
7618
|
type: SsoSettingsType;
|
|
7619
7619
|
id: SsoSettingsIdentity;
|
|
7620
|
-
}
|
|
7620
|
+
};
|
|
7621
7621
|
/**
|
|
7622
7622
|
* This interface was referenced by `SsoSettings`'s JSON-Schema
|
|
7623
7623
|
* via the `self.targetSchema` link.
|
|
7624
7624
|
*/
|
|
7625
|
-
export
|
|
7625
|
+
export declare type SsoSettingsSelfTargetSchema = {
|
|
7626
7626
|
data: SsoSettings;
|
|
7627
|
-
}
|
|
7627
|
+
};
|
|
7628
7628
|
/**
|
|
7629
7629
|
* This interface was referenced by `SsoSettings`'s JSON-Schema
|
|
7630
7630
|
* via the `generate_token.targetSchema` link.
|
|
7631
7631
|
*/
|
|
7632
|
-
export
|
|
7632
|
+
export declare type SsoSettingsGenerateTokenTargetSchema = {
|
|
7633
7633
|
data: {
|
|
7634
7634
|
id: SsoSettingsIdentity;
|
|
7635
7635
|
/**
|
|
@@ -7644,12 +7644,12 @@ export interface SsoSettingsGenerateTokenTargetSchema {
|
|
|
7644
7644
|
};
|
|
7645
7645
|
[k: string]: unknown;
|
|
7646
7646
|
};
|
|
7647
|
-
}
|
|
7647
|
+
};
|
|
7648
7648
|
/**
|
|
7649
7649
|
* This interface was referenced by `SsoSettings`'s JSON-Schema
|
|
7650
7650
|
* via the `update.schema` link.
|
|
7651
7651
|
*/
|
|
7652
|
-
export
|
|
7652
|
+
export declare type SsoSettingsUpdateSchema = {
|
|
7653
7653
|
data: {
|
|
7654
7654
|
type: SsoSettingsType;
|
|
7655
7655
|
id?: SsoSettingsIdentity;
|
|
@@ -7668,59 +7668,59 @@ export interface SsoSettingsUpdateSchema {
|
|
|
7668
7668
|
};
|
|
7669
7669
|
};
|
|
7670
7670
|
};
|
|
7671
|
-
}
|
|
7671
|
+
};
|
|
7672
7672
|
/**
|
|
7673
7673
|
* This interface was referenced by `SsoSettings`'s JSON-Schema
|
|
7674
7674
|
* via the `update.targetSchema` link.
|
|
7675
7675
|
*/
|
|
7676
|
-
export
|
|
7676
|
+
export declare type SsoSettingsUpdateTargetSchema = {
|
|
7677
7677
|
data: SsoSettings;
|
|
7678
|
-
}
|
|
7678
|
+
};
|
|
7679
7679
|
/**
|
|
7680
7680
|
* Represents the white-label settings of the current DatoCMS project
|
|
7681
7681
|
*
|
|
7682
7682
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
7683
7683
|
* via the `definition` "white_label_settings".
|
|
7684
7684
|
*/
|
|
7685
|
-
export
|
|
7685
|
+
export declare type WhiteLabelSettings = {
|
|
7686
7686
|
type: WhiteLabelSettingsType;
|
|
7687
7687
|
id: WhiteLabelSettingsIdentity;
|
|
7688
7688
|
attributes: WhiteLabelSettingsAttributes;
|
|
7689
|
-
}
|
|
7689
|
+
};
|
|
7690
7690
|
/**
|
|
7691
7691
|
* JSON API attributes
|
|
7692
7692
|
*
|
|
7693
7693
|
* This interface was referenced by `WhiteLabelSettings`'s JSON-Schema
|
|
7694
7694
|
* via the `definition` "attributes".
|
|
7695
7695
|
*/
|
|
7696
|
-
export
|
|
7696
|
+
export declare type WhiteLabelSettingsAttributes = {
|
|
7697
7697
|
/**
|
|
7698
7698
|
* URL of custom I18n messages. The :locale placeholder represents the current DatoCMS UI locale.
|
|
7699
7699
|
*/
|
|
7700
7700
|
custom_i18n_messages_template_url: null | string;
|
|
7701
|
-
}
|
|
7701
|
+
};
|
|
7702
7702
|
/**
|
|
7703
7703
|
* JSON API data
|
|
7704
7704
|
*
|
|
7705
7705
|
* This interface was referenced by `WhiteLabelSettings`'s JSON-Schema
|
|
7706
7706
|
* via the `definition` "data".
|
|
7707
7707
|
*/
|
|
7708
|
-
export
|
|
7708
|
+
export declare type WhiteLabelSettingsData = {
|
|
7709
7709
|
type: WhiteLabelSettingsType;
|
|
7710
7710
|
id: WhiteLabelSettingsIdentity;
|
|
7711
|
-
}
|
|
7711
|
+
};
|
|
7712
7712
|
/**
|
|
7713
7713
|
* This interface was referenced by `WhiteLabelSettings`'s JSON-Schema
|
|
7714
7714
|
* via the `self.targetSchema` link.
|
|
7715
7715
|
*/
|
|
7716
|
-
export
|
|
7716
|
+
export declare type WhiteLabelSettingsSelfTargetSchema = {
|
|
7717
7717
|
data: WhiteLabelSettings;
|
|
7718
|
-
}
|
|
7718
|
+
};
|
|
7719
7719
|
/**
|
|
7720
7720
|
* This interface was referenced by `WhiteLabelSettings`'s JSON-Schema
|
|
7721
7721
|
* via the `update.schema` link.
|
|
7722
7722
|
*/
|
|
7723
|
-
export
|
|
7723
|
+
export declare type WhiteLabelSettingsUpdateSchema = {
|
|
7724
7724
|
data: {
|
|
7725
7725
|
type: WhiteLabelSettingsType;
|
|
7726
7726
|
id?: WhiteLabelSettingsIdentity;
|
|
@@ -7731,32 +7731,32 @@ export interface WhiteLabelSettingsUpdateSchema {
|
|
|
7731
7731
|
custom_i18n_messages_template_url: null | string;
|
|
7732
7732
|
};
|
|
7733
7733
|
};
|
|
7734
|
-
}
|
|
7734
|
+
};
|
|
7735
7735
|
/**
|
|
7736
7736
|
* This interface was referenced by `WhiteLabelSettings`'s JSON-Schema
|
|
7737
7737
|
* via the `update.targetSchema` link.
|
|
7738
7738
|
*/
|
|
7739
|
-
export
|
|
7739
|
+
export declare type WhiteLabelSettingsUpdateTargetSchema = {
|
|
7740
7740
|
data: WhiteLabelSettings;
|
|
7741
|
-
}
|
|
7741
|
+
};
|
|
7742
7742
|
/**
|
|
7743
7743
|
* Info that can be accessed by unauthorized users
|
|
7744
7744
|
*
|
|
7745
7745
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
7746
7746
|
* via the `definition` "public_info".
|
|
7747
7747
|
*/
|
|
7748
|
-
export
|
|
7748
|
+
export declare type PublicInfo = {
|
|
7749
7749
|
type: PublicInfoType;
|
|
7750
7750
|
id: PublicInfoIdentity;
|
|
7751
7751
|
attributes: PublicInfoAttributes;
|
|
7752
|
-
}
|
|
7752
|
+
};
|
|
7753
7753
|
/**
|
|
7754
7754
|
* JSON API attributes
|
|
7755
7755
|
*
|
|
7756
7756
|
* This interface was referenced by `PublicInfo`'s JSON-Schema
|
|
7757
7757
|
* via the `definition` "attributes".
|
|
7758
7758
|
*/
|
|
7759
|
-
export
|
|
7759
|
+
export declare type PublicInfoAttributes = {
|
|
7760
7760
|
/**
|
|
7761
7761
|
* Site name
|
|
7762
7762
|
*/
|
|
@@ -7819,42 +7819,42 @@ export interface PublicInfoAttributes {
|
|
|
7819
7819
|
blocks_per_item: number;
|
|
7820
7820
|
[k: string]: unknown;
|
|
7821
7821
|
};
|
|
7822
|
-
}
|
|
7822
|
+
};
|
|
7823
7823
|
/**
|
|
7824
7824
|
* JSON API data
|
|
7825
7825
|
*
|
|
7826
7826
|
* This interface was referenced by `PublicInfo`'s JSON-Schema
|
|
7827
7827
|
* via the `definition` "data".
|
|
7828
7828
|
*/
|
|
7829
|
-
export
|
|
7829
|
+
export declare type PublicInfoData = {
|
|
7830
7830
|
type: PublicInfoType;
|
|
7831
7831
|
id: PublicInfoIdentity;
|
|
7832
|
-
}
|
|
7832
|
+
};
|
|
7833
7833
|
/**
|
|
7834
7834
|
* This interface was referenced by `PublicInfo`'s JSON-Schema
|
|
7835
7835
|
* via the `self.targetSchema` link.
|
|
7836
7836
|
*/
|
|
7837
|
-
export
|
|
7837
|
+
export declare type PublicInfoSelfTargetSchema = {
|
|
7838
7838
|
data: PublicInfo;
|
|
7839
|
-
}
|
|
7839
|
+
};
|
|
7840
7840
|
/**
|
|
7841
7841
|
* DatoCMS resources usage organized by day
|
|
7842
7842
|
*
|
|
7843
7843
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
7844
7844
|
* via the `definition` "daily_usage".
|
|
7845
7845
|
*/
|
|
7846
|
-
export
|
|
7846
|
+
export declare type DailyUsage = {
|
|
7847
7847
|
type: DailyUsageType;
|
|
7848
7848
|
id: DailyUsageIdentity;
|
|
7849
7849
|
attributes: DailyUsageAttributes;
|
|
7850
|
-
}
|
|
7850
|
+
};
|
|
7851
7851
|
/**
|
|
7852
7852
|
* JSON API attributes
|
|
7853
7853
|
*
|
|
7854
7854
|
* This interface was referenced by `DailyUsage`'s JSON-Schema
|
|
7855
7855
|
* via the `definition` "attributes".
|
|
7856
7856
|
*/
|
|
7857
|
-
export
|
|
7857
|
+
export declare type DailyUsageAttributes = {
|
|
7858
7858
|
/**
|
|
7859
7859
|
* The date the data are referring to
|
|
7860
7860
|
*/
|
|
@@ -7879,42 +7879,42 @@ export interface DailyUsageAttributes {
|
|
|
7879
7879
|
* Video streaming seconds
|
|
7880
7880
|
*/
|
|
7881
7881
|
mux_delivered_seconds: number;
|
|
7882
|
-
}
|
|
7882
|
+
};
|
|
7883
7883
|
/**
|
|
7884
7884
|
* JSON API data
|
|
7885
7885
|
*
|
|
7886
7886
|
* This interface was referenced by `DailyUsage`'s JSON-Schema
|
|
7887
7887
|
* via the `definition` "data".
|
|
7888
7888
|
*/
|
|
7889
|
-
export
|
|
7889
|
+
export declare type DailyUsageData = {
|
|
7890
7890
|
type: DailyUsageType;
|
|
7891
7891
|
id: DailyUsageIdentity;
|
|
7892
|
-
}
|
|
7892
|
+
};
|
|
7893
7893
|
/**
|
|
7894
7894
|
* This interface was referenced by `DailyUsage`'s JSON-Schema
|
|
7895
7895
|
* via the `instances.targetSchema` link.
|
|
7896
7896
|
*/
|
|
7897
|
-
export
|
|
7897
|
+
export declare type DailyUsageInstancesTargetSchema = {
|
|
7898
7898
|
data: DailyUsage;
|
|
7899
|
-
}
|
|
7899
|
+
};
|
|
7900
7900
|
/**
|
|
7901
7901
|
* You can use counters to analyze your project's data consumption over a period of time. Counters are especially useful if your project is exceeding its API calls/traffic quota limits, to better understand where and how requests are originating. Counters are updated every minute, so you can debug in real-time the results of your changes.
|
|
7902
7902
|
*
|
|
7903
7903
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
7904
7904
|
* via the `definition` "usage_counter".
|
|
7905
7905
|
*/
|
|
7906
|
-
export
|
|
7906
|
+
export declare type UsageCounter = {
|
|
7907
7907
|
type: UsageCounterType;
|
|
7908
7908
|
id: UsageCounterIdentity;
|
|
7909
7909
|
attributes: UsageCounterAttributes;
|
|
7910
|
-
}
|
|
7910
|
+
};
|
|
7911
7911
|
/**
|
|
7912
7912
|
* JSON API attributes
|
|
7913
7913
|
*
|
|
7914
7914
|
* This interface was referenced by `UsageCounter`'s JSON-Schema
|
|
7915
7915
|
* via the `definition` "attributes".
|
|
7916
7916
|
*/
|
|
7917
|
-
export
|
|
7917
|
+
export declare type UsageCounterAttributes = {
|
|
7918
7918
|
result: {
|
|
7919
7919
|
/**
|
|
7920
7920
|
* Occurrence
|
|
@@ -7925,72 +7925,72 @@ export interface UsageCounterAttributes {
|
|
|
7925
7925
|
*/
|
|
7926
7926
|
counter: number;
|
|
7927
7927
|
}[];
|
|
7928
|
-
}
|
|
7928
|
+
};
|
|
7929
7929
|
/**
|
|
7930
7930
|
* JSON API data
|
|
7931
7931
|
*
|
|
7932
7932
|
* This interface was referenced by `UsageCounter`'s JSON-Schema
|
|
7933
7933
|
* via the `definition` "data".
|
|
7934
7934
|
*/
|
|
7935
|
-
export
|
|
7935
|
+
export declare type UsageCounterData = {
|
|
7936
7936
|
type: UsageCounterType;
|
|
7937
7937
|
id: UsageCounterIdentity;
|
|
7938
|
-
}
|
|
7938
|
+
};
|
|
7939
7939
|
/**
|
|
7940
7940
|
* This interface was referenced by `UsageCounter`'s JSON-Schema
|
|
7941
7941
|
* via the `self.targetSchema` link.
|
|
7942
7942
|
*/
|
|
7943
|
-
export
|
|
7943
|
+
export declare type UsageCounterSelfTargetSchema = {
|
|
7944
7944
|
data: UsageCounter;
|
|
7945
|
-
}
|
|
7945
|
+
};
|
|
7946
7946
|
/**
|
|
7947
7947
|
* All the project's upload tags
|
|
7948
7948
|
*
|
|
7949
7949
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
7950
7950
|
* via the `definition` "upload_tag".
|
|
7951
7951
|
*/
|
|
7952
|
-
export
|
|
7952
|
+
export declare type UploadTag = {
|
|
7953
7953
|
type: UploadTagType;
|
|
7954
7954
|
id: UploadTagIdentity;
|
|
7955
7955
|
attributes: UploadTagAttributes;
|
|
7956
|
-
}
|
|
7956
|
+
};
|
|
7957
7957
|
/**
|
|
7958
7958
|
* JSON API attributes
|
|
7959
7959
|
*
|
|
7960
7960
|
* This interface was referenced by `UploadTag`'s JSON-Schema
|
|
7961
7961
|
* via the `definition` "attributes".
|
|
7962
7962
|
*/
|
|
7963
|
-
export
|
|
7963
|
+
export declare type UploadTagAttributes = {
|
|
7964
7964
|
/**
|
|
7965
7965
|
* The tag name
|
|
7966
7966
|
*/
|
|
7967
7967
|
name: string;
|
|
7968
|
-
}
|
|
7968
|
+
};
|
|
7969
7969
|
/**
|
|
7970
7970
|
* JSON API data
|
|
7971
7971
|
*
|
|
7972
7972
|
* This interface was referenced by `UploadTag`'s JSON-Schema
|
|
7973
7973
|
* via the `definition` "data".
|
|
7974
7974
|
*/
|
|
7975
|
-
export
|
|
7975
|
+
export declare type UploadTagData = {
|
|
7976
7976
|
type: UploadTagType;
|
|
7977
7977
|
id: UploadTagIdentity;
|
|
7978
|
-
}
|
|
7978
|
+
};
|
|
7979
7979
|
/**
|
|
7980
7980
|
* This interface was referenced by `UploadTag`'s JSON-Schema
|
|
7981
7981
|
* via the `instances.targetSchema` link.
|
|
7982
7982
|
*/
|
|
7983
|
-
export
|
|
7983
|
+
export declare type UploadTagInstancesTargetSchema = {
|
|
7984
7984
|
data: UploadTag[];
|
|
7985
7985
|
meta: {
|
|
7986
7986
|
total_count: number;
|
|
7987
7987
|
};
|
|
7988
|
-
}
|
|
7988
|
+
};
|
|
7989
7989
|
/**
|
|
7990
7990
|
* This interface was referenced by `UploadTag`'s JSON-Schema
|
|
7991
7991
|
* via the `create.schema` link.
|
|
7992
7992
|
*/
|
|
7993
|
-
export
|
|
7993
|
+
export declare type UploadTagCreateSchema = {
|
|
7994
7994
|
data: {
|
|
7995
7995
|
type: UploadTagType;
|
|
7996
7996
|
attributes: {
|
|
@@ -8000,76 +8000,76 @@ export interface UploadTagCreateSchema {
|
|
|
8000
8000
|
name: string;
|
|
8001
8001
|
};
|
|
8002
8002
|
};
|
|
8003
|
-
}
|
|
8003
|
+
};
|
|
8004
8004
|
/**
|
|
8005
8005
|
* This interface was referenced by `UploadTag`'s JSON-Schema
|
|
8006
8006
|
* via the `create.targetSchema` link.
|
|
8007
8007
|
*/
|
|
8008
|
-
export
|
|
8008
|
+
export declare type UploadTagCreateTargetSchema = {
|
|
8009
8009
|
data: UploadTag;
|
|
8010
|
-
}
|
|
8010
|
+
};
|
|
8011
8011
|
/**
|
|
8012
8012
|
* All the site's upload automatically generated tags
|
|
8013
8013
|
*
|
|
8014
8014
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
8015
8015
|
* via the `definition` "upload_smart_tag".
|
|
8016
8016
|
*/
|
|
8017
|
-
export
|
|
8017
|
+
export declare type UploadSmartTag = {
|
|
8018
8018
|
type: UploadSmartTagType;
|
|
8019
8019
|
id: UploadSmartTagIdentity;
|
|
8020
8020
|
attributes: UploadSmartTagAttributes;
|
|
8021
|
-
}
|
|
8021
|
+
};
|
|
8022
8022
|
/**
|
|
8023
8023
|
* JSON API attributes
|
|
8024
8024
|
*
|
|
8025
8025
|
* This interface was referenced by `UploadSmartTag`'s JSON-Schema
|
|
8026
8026
|
* via the `definition` "attributes".
|
|
8027
8027
|
*/
|
|
8028
|
-
export
|
|
8028
|
+
export declare type UploadSmartTagAttributes = {
|
|
8029
8029
|
/**
|
|
8030
8030
|
* The tag name
|
|
8031
8031
|
*/
|
|
8032
8032
|
name: string;
|
|
8033
|
-
}
|
|
8033
|
+
};
|
|
8034
8034
|
/**
|
|
8035
8035
|
* JSON API data
|
|
8036
8036
|
*
|
|
8037
8037
|
* This interface was referenced by `UploadSmartTag`'s JSON-Schema
|
|
8038
8038
|
* via the `definition` "data".
|
|
8039
8039
|
*/
|
|
8040
|
-
export
|
|
8040
|
+
export declare type UploadSmartTagData = {
|
|
8041
8041
|
type: UploadSmartTagType;
|
|
8042
8042
|
id: UploadSmartTagIdentity;
|
|
8043
|
-
}
|
|
8043
|
+
};
|
|
8044
8044
|
/**
|
|
8045
8045
|
* This interface was referenced by `UploadSmartTag`'s JSON-Schema
|
|
8046
8046
|
* via the `instances.targetSchema` link.
|
|
8047
8047
|
*/
|
|
8048
|
-
export
|
|
8048
|
+
export declare type UploadSmartTagInstancesTargetSchema = {
|
|
8049
8049
|
data: UploadSmartTag[];
|
|
8050
8050
|
meta: {
|
|
8051
8051
|
total_count: number;
|
|
8052
8052
|
};
|
|
8053
|
-
}
|
|
8053
|
+
};
|
|
8054
8054
|
/**
|
|
8055
8055
|
* A site represents a specific DatoCMS administrative area
|
|
8056
8056
|
*
|
|
8057
8057
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
8058
8058
|
* via the `definition` "site".
|
|
8059
8059
|
*/
|
|
8060
|
-
export
|
|
8060
|
+
export declare type Site = {
|
|
8061
8061
|
type: SiteType;
|
|
8062
8062
|
id: SiteIdentity;
|
|
8063
8063
|
attributes: SiteAttributes;
|
|
8064
8064
|
relationships: SiteRelationships;
|
|
8065
|
-
}
|
|
8065
|
+
};
|
|
8066
8066
|
/**
|
|
8067
8067
|
* JSON API attributes
|
|
8068
8068
|
*
|
|
8069
8069
|
* This interface was referenced by `Site`'s JSON-Schema
|
|
8070
8070
|
* via the `definition` "attributes".
|
|
8071
8071
|
*/
|
|
8072
|
-
export
|
|
8072
|
+
export declare type SiteAttributes = {
|
|
8073
8073
|
/**
|
|
8074
8074
|
* Site name
|
|
8075
8075
|
*/
|
|
@@ -8195,14 +8195,14 @@ export interface SiteAttributes {
|
|
|
8195
8195
|
twitter_account?: null | string;
|
|
8196
8196
|
[k: string]: unknown;
|
|
8197
8197
|
} | null;
|
|
8198
|
-
}
|
|
8198
|
+
};
|
|
8199
8199
|
/**
|
|
8200
8200
|
* JSON API links
|
|
8201
8201
|
*
|
|
8202
8202
|
* This interface was referenced by `Site`'s JSON-Schema
|
|
8203
8203
|
* via the `definition` "relationships".
|
|
8204
8204
|
*/
|
|
8205
|
-
export
|
|
8205
|
+
export declare type SiteRelationships = {
|
|
8206
8206
|
account: {
|
|
8207
8207
|
data: AccountData;
|
|
8208
8208
|
};
|
|
@@ -8248,30 +8248,30 @@ export interface SiteRelationships {
|
|
|
8248
8248
|
*/
|
|
8249
8249
|
data: RoleData[];
|
|
8250
8250
|
};
|
|
8251
|
-
}
|
|
8251
|
+
};
|
|
8252
8252
|
/**
|
|
8253
8253
|
* JSON API data
|
|
8254
8254
|
*
|
|
8255
8255
|
* This interface was referenced by `Site`'s JSON-Schema
|
|
8256
8256
|
* via the `definition` "data".
|
|
8257
8257
|
*/
|
|
8258
|
-
export
|
|
8258
|
+
export declare type SiteData = {
|
|
8259
8259
|
type: SiteType;
|
|
8260
8260
|
id: SiteIdentity;
|
|
8261
|
-
}
|
|
8261
|
+
};
|
|
8262
8262
|
/**
|
|
8263
8263
|
* This interface was referenced by `Site`'s JSON-Schema
|
|
8264
8264
|
* via the `self.targetSchema` link.
|
|
8265
8265
|
*/
|
|
8266
|
-
export
|
|
8266
|
+
export declare type SiteSelfTargetSchema = {
|
|
8267
8267
|
data: Site;
|
|
8268
8268
|
included?: (MenuItem | User | ItemType | Role | Field | Upload | SsoUser)[];
|
|
8269
|
-
}
|
|
8269
|
+
};
|
|
8270
8270
|
/**
|
|
8271
8271
|
* This interface was referenced by `Site`'s JSON-Schema
|
|
8272
8272
|
* via the `update.schema` link.
|
|
8273
8273
|
*/
|
|
8274
|
-
export
|
|
8274
|
+
export declare type SiteUpdateSchema = {
|
|
8275
8275
|
data: {
|
|
8276
8276
|
type: SiteType;
|
|
8277
8277
|
id?: SiteIdentity;
|
|
@@ -8384,39 +8384,39 @@ export interface SiteUpdateSchema {
|
|
|
8384
8384
|
};
|
|
8385
8385
|
};
|
|
8386
8386
|
};
|
|
8387
|
-
}
|
|
8387
|
+
};
|
|
8388
8388
|
/**
|
|
8389
8389
|
* This interface was referenced by `Site`'s JSON-Schema
|
|
8390
8390
|
* via the `update.targetSchema` link.
|
|
8391
8391
|
*/
|
|
8392
|
-
export
|
|
8392
|
+
export declare type SiteUpdateTargetSchema = {
|
|
8393
8393
|
data: Job;
|
|
8394
|
-
}
|
|
8394
|
+
};
|
|
8395
8395
|
/**
|
|
8396
8396
|
* This interface was referenced by `Site`'s JSON-Schema
|
|
8397
8397
|
* via the `update.jobSchema` link.
|
|
8398
8398
|
*/
|
|
8399
|
-
export
|
|
8399
|
+
export declare type SiteUpdateJobSchema = {
|
|
8400
8400
|
data: Site;
|
|
8401
|
-
}
|
|
8401
|
+
};
|
|
8402
8402
|
/**
|
|
8403
8403
|
* Through workflows it is possible to set up a precise state machine able to bring a draft content up to the final publication (and beyond), through a series of intermediate, fully customizable approval steps.
|
|
8404
8404
|
*
|
|
8405
8405
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
8406
8406
|
* via the `definition` "workflow".
|
|
8407
8407
|
*/
|
|
8408
|
-
export
|
|
8408
|
+
export declare type Workflow = {
|
|
8409
8409
|
type: WorkflowType;
|
|
8410
8410
|
id: WorkflowIdentity;
|
|
8411
8411
|
attributes: WorkflowAttributes;
|
|
8412
|
-
}
|
|
8412
|
+
};
|
|
8413
8413
|
/**
|
|
8414
8414
|
* JSON API attributes
|
|
8415
8415
|
*
|
|
8416
8416
|
* This interface was referenced by `Workflow`'s JSON-Schema
|
|
8417
8417
|
* via the `definition` "attributes".
|
|
8418
8418
|
*/
|
|
8419
|
-
export
|
|
8419
|
+
export declare type WorkflowAttributes = {
|
|
8420
8420
|
/**
|
|
8421
8421
|
* The name of the workflow
|
|
8422
8422
|
*/
|
|
@@ -8462,12 +8462,12 @@ export interface WorkflowAttributes {
|
|
|
8462
8462
|
initial?: boolean;
|
|
8463
8463
|
}[]
|
|
8464
8464
|
];
|
|
8465
|
-
}
|
|
8465
|
+
};
|
|
8466
8466
|
/**
|
|
8467
8467
|
* This interface was referenced by `Workflow`'s JSON-Schema
|
|
8468
8468
|
* via the `create.schema` link.
|
|
8469
8469
|
*/
|
|
8470
|
-
export
|
|
8470
|
+
export declare type WorkflowCreateSchema = {
|
|
8471
8471
|
data: {
|
|
8472
8472
|
type: WorkflowType;
|
|
8473
8473
|
id: WorkflowIdentity;
|
|
@@ -8522,19 +8522,19 @@ export interface WorkflowCreateSchema {
|
|
|
8522
8522
|
];
|
|
8523
8523
|
};
|
|
8524
8524
|
};
|
|
8525
|
-
}
|
|
8525
|
+
};
|
|
8526
8526
|
/**
|
|
8527
8527
|
* This interface was referenced by `Workflow`'s JSON-Schema
|
|
8528
8528
|
* via the `create.targetSchema` link.
|
|
8529
8529
|
*/
|
|
8530
|
-
export
|
|
8530
|
+
export declare type WorkflowCreateTargetSchema = {
|
|
8531
8531
|
data: Workflow;
|
|
8532
|
-
}
|
|
8532
|
+
};
|
|
8533
8533
|
/**
|
|
8534
8534
|
* This interface was referenced by `Workflow`'s JSON-Schema
|
|
8535
8535
|
* via the `update.schema` link.
|
|
8536
8536
|
*/
|
|
8537
|
-
export
|
|
8537
|
+
export declare type WorkflowUpdateSchema = {
|
|
8538
8538
|
data: {
|
|
8539
8539
|
type: WorkflowType;
|
|
8540
8540
|
id: WorkflowIdentity;
|
|
@@ -8589,25 +8589,25 @@ export interface WorkflowUpdateSchema {
|
|
|
8589
8589
|
];
|
|
8590
8590
|
};
|
|
8591
8591
|
};
|
|
8592
|
-
}
|
|
8592
|
+
};
|
|
8593
8593
|
/**
|
|
8594
8594
|
* This interface was referenced by `Workflow`'s JSON-Schema
|
|
8595
8595
|
* via the `update.targetSchema` link.
|
|
8596
8596
|
*/
|
|
8597
|
-
export
|
|
8597
|
+
export declare type WorkflowUpdateTargetSchema = {
|
|
8598
8598
|
data: Workflow;
|
|
8599
|
-
}
|
|
8599
|
+
};
|
|
8600
8600
|
/**
|
|
8601
8601
|
* This interface was referenced by `Workflow`'s JSON-Schema
|
|
8602
8602
|
* via the `instances.targetSchema` link.
|
|
8603
8603
|
*/
|
|
8604
|
-
export
|
|
8604
|
+
export declare type WorkflowInstancesTargetSchema = {
|
|
8605
8605
|
data: Workflow[];
|
|
8606
|
-
}
|
|
8606
|
+
};
|
|
8607
8607
|
/**
|
|
8608
8608
|
* This interface was referenced by `Workflow`'s JSON-Schema
|
|
8609
8609
|
* via the `self.targetSchema` link.
|
|
8610
8610
|
*/
|
|
8611
|
-
export
|
|
8611
|
+
export declare type WorkflowSelfTargetSchema = {
|
|
8612
8612
|
data: Workflow;
|
|
8613
|
-
}
|
|
8613
|
+
};
|