datocms-plugin-sdk 0.6.17 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/SiteApiSchema.d.ts +841 -791
- package/dist/esm/types.d.ts +10 -3
- package/dist/types/SiteApiSchema.d.ts +841 -791
- package/dist/types/types.d.ts +10 -3
- package/package.json +2 -2
- package/src/SiteApiSchema.ts +874 -791
- package/src/types.ts +10 -2
- package/types.json +8129 -7893
|
@@ -240,6 +240,23 @@ export declare type AuditLogEventType = 'audit_log_event';
|
|
|
240
240
|
* `definition` "id".
|
|
241
241
|
*/
|
|
242
242
|
export declare type AuditLogEventIdentity = string;
|
|
243
|
+
/**
|
|
244
|
+
* JSON API type field
|
|
245
|
+
*
|
|
246
|
+
* This interface was referenced by `Organization`'s JSON-Schema via the
|
|
247
|
+
* `definition` "type".
|
|
248
|
+
*/
|
|
249
|
+
export declare type OrganizationType = 'organization';
|
|
250
|
+
/**
|
|
251
|
+
* ID of organization
|
|
252
|
+
*
|
|
253
|
+
* This interface was referenced by `Organization`'s JSON-Schema via the
|
|
254
|
+
* `definition` "identity".
|
|
255
|
+
*
|
|
256
|
+
* This interface was referenced by `Organization`'s JSON-Schema via the
|
|
257
|
+
* `definition` "id".
|
|
258
|
+
*/
|
|
259
|
+
export declare type OrganizationIdentity = string;
|
|
243
260
|
/**
|
|
244
261
|
* JSON API type field
|
|
245
262
|
*
|
|
@@ -1229,12 +1246,13 @@ export declare type SiteSelfHrefSchema = {
|
|
|
1229
1246
|
include?: string;
|
|
1230
1247
|
[k: string]: unknown;
|
|
1231
1248
|
};
|
|
1232
|
-
export
|
|
1249
|
+
export declare type DatoApi = {
|
|
1233
1250
|
role?: Role;
|
|
1234
1251
|
user?: User;
|
|
1235
1252
|
sso_user?: SsoUser;
|
|
1236
1253
|
audit_log_event?: AuditLogEvent;
|
|
1237
1254
|
account?: Account;
|
|
1255
|
+
organization?: Organization;
|
|
1238
1256
|
site_plan?: SitePlan;
|
|
1239
1257
|
menu_item?: MenuItem;
|
|
1240
1258
|
item_type?: ItemType;
|
|
@@ -1275,7 +1293,7 @@ export interface DatoApi {
|
|
|
1275
1293
|
site?: Site;
|
|
1276
1294
|
workflow?: Workflow;
|
|
1277
1295
|
[k: string]: unknown;
|
|
1278
|
-
}
|
|
1296
|
+
};
|
|
1279
1297
|
/**
|
|
1280
1298
|
* A Role represents a specific set of actions an editor (or an API token) can
|
|
1281
1299
|
* perform on your administrative area.
|
|
@@ -1283,20 +1301,20 @@ export interface DatoApi {
|
|
|
1283
1301
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
1284
1302
|
* "role".
|
|
1285
1303
|
*/
|
|
1286
|
-
export
|
|
1304
|
+
export declare type Role = {
|
|
1287
1305
|
type: RoleType;
|
|
1288
1306
|
id: RoleIdentity;
|
|
1289
1307
|
attributes: RoleAttributes;
|
|
1290
1308
|
relationships: RoleRelationships;
|
|
1291
1309
|
meta: RoleMeta;
|
|
1292
|
-
}
|
|
1310
|
+
};
|
|
1293
1311
|
/**
|
|
1294
1312
|
* JSON API attributes
|
|
1295
1313
|
*
|
|
1296
1314
|
* This interface was referenced by `Role`'s JSON-Schema via the `definition`
|
|
1297
1315
|
* "attributes".
|
|
1298
1316
|
*/
|
|
1299
|
-
export
|
|
1317
|
+
export declare type RoleAttributes = {
|
|
1300
1318
|
/** The name of the role */
|
|
1301
1319
|
name: string;
|
|
1302
1320
|
/** Can edit favicon, global SEO settings and no-index policy */
|
|
@@ -1414,36 +1432,36 @@ export interface RoleAttributes {
|
|
|
1414
1432
|
negative_build_trigger_permissions: {
|
|
1415
1433
|
build_trigger?: BuildTriggerIdentity | null;
|
|
1416
1434
|
}[];
|
|
1417
|
-
}
|
|
1435
|
+
};
|
|
1418
1436
|
/**
|
|
1419
1437
|
* JSON API links
|
|
1420
1438
|
*
|
|
1421
1439
|
* This interface was referenced by `Role`'s JSON-Schema via the `definition`
|
|
1422
1440
|
* "relationships".
|
|
1423
1441
|
*/
|
|
1424
|
-
export
|
|
1442
|
+
export declare type RoleRelationships = {
|
|
1425
1443
|
/** The roles from which this role inherits permissions */
|
|
1426
1444
|
inherits_permissions_from: {
|
|
1427
1445
|
data: RoleData[];
|
|
1428
1446
|
};
|
|
1429
|
-
}
|
|
1447
|
+
};
|
|
1430
1448
|
/**
|
|
1431
1449
|
* JSON API data
|
|
1432
1450
|
*
|
|
1433
1451
|
* This interface was referenced by `Role`'s JSON-Schema via the `definition`
|
|
1434
1452
|
* "data".
|
|
1435
1453
|
*/
|
|
1436
|
-
export
|
|
1454
|
+
export declare type RoleData = {
|
|
1437
1455
|
type: RoleType;
|
|
1438
1456
|
id: RoleIdentity;
|
|
1439
|
-
}
|
|
1457
|
+
};
|
|
1440
1458
|
/**
|
|
1441
1459
|
* Meta information regarding the record
|
|
1442
1460
|
*
|
|
1443
1461
|
* This interface was referenced by `Role`'s JSON-Schema via the `definition`
|
|
1444
1462
|
* "meta".
|
|
1445
1463
|
*/
|
|
1446
|
-
export
|
|
1464
|
+
export declare type RoleMeta = {
|
|
1447
1465
|
/** The final set of permissions considering also inherited roles */
|
|
1448
1466
|
final_permissions: {
|
|
1449
1467
|
/** Can edit favicon, global SEO settings and no-index policy */
|
|
@@ -1562,12 +1580,12 @@ export interface RoleMeta {
|
|
|
1562
1580
|
build_trigger?: BuildTriggerIdentity | null;
|
|
1563
1581
|
}[];
|
|
1564
1582
|
};
|
|
1565
|
-
}
|
|
1583
|
+
};
|
|
1566
1584
|
/**
|
|
1567
1585
|
* This interface was referenced by `Role`'s JSON-Schema via the `create.schema`
|
|
1568
1586
|
* link.
|
|
1569
1587
|
*/
|
|
1570
|
-
export
|
|
1588
|
+
export declare type RoleCreateSchema = {
|
|
1571
1589
|
data: {
|
|
1572
1590
|
type: RoleType;
|
|
1573
1591
|
/** JSON API attributes */
|
|
@@ -1699,19 +1717,19 @@ export interface RoleCreateSchema {
|
|
|
1699
1717
|
};
|
|
1700
1718
|
meta?: RoleMeta;
|
|
1701
1719
|
};
|
|
1702
|
-
}
|
|
1720
|
+
};
|
|
1703
1721
|
/**
|
|
1704
1722
|
* This interface was referenced by `Role`'s JSON-Schema via the
|
|
1705
1723
|
* `create.targetSchema` link.
|
|
1706
1724
|
*/
|
|
1707
|
-
export
|
|
1725
|
+
export declare type RoleCreateTargetSchema = {
|
|
1708
1726
|
data: Role;
|
|
1709
|
-
}
|
|
1727
|
+
};
|
|
1710
1728
|
/**
|
|
1711
1729
|
* This interface was referenced by `Role`'s JSON-Schema via the `update.schema`
|
|
1712
1730
|
* link.
|
|
1713
1731
|
*/
|
|
1714
|
-
export
|
|
1732
|
+
export declare type RoleUpdateSchema = {
|
|
1715
1733
|
data: {
|
|
1716
1734
|
type: RoleType;
|
|
1717
1735
|
id: RoleIdentity;
|
|
@@ -1844,35 +1862,35 @@ export interface RoleUpdateSchema {
|
|
|
1844
1862
|
};
|
|
1845
1863
|
meta?: RoleMeta;
|
|
1846
1864
|
};
|
|
1847
|
-
}
|
|
1865
|
+
};
|
|
1848
1866
|
/**
|
|
1849
1867
|
* This interface was referenced by `Role`'s JSON-Schema via the
|
|
1850
1868
|
* `update.targetSchema` link.
|
|
1851
1869
|
*/
|
|
1852
|
-
export
|
|
1870
|
+
export declare type RoleUpdateTargetSchema = {
|
|
1853
1871
|
data: Role;
|
|
1854
|
-
}
|
|
1872
|
+
};
|
|
1855
1873
|
/**
|
|
1856
1874
|
* This interface was referenced by `Role`'s JSON-Schema via the
|
|
1857
1875
|
* `instances.targetSchema` link.
|
|
1858
1876
|
*/
|
|
1859
|
-
export
|
|
1877
|
+
export declare type RoleInstancesTargetSchema = {
|
|
1860
1878
|
data: Role[];
|
|
1861
|
-
}
|
|
1879
|
+
};
|
|
1862
1880
|
/**
|
|
1863
1881
|
* This interface was referenced by `Role`'s JSON-Schema via the
|
|
1864
1882
|
* `self.targetSchema` link.
|
|
1865
1883
|
*/
|
|
1866
|
-
export
|
|
1884
|
+
export declare type RoleSelfTargetSchema = {
|
|
1867
1885
|
data: Role;
|
|
1868
|
-
}
|
|
1886
|
+
};
|
|
1869
1887
|
/**
|
|
1870
1888
|
* This interface was referenced by `Role`'s JSON-Schema via the
|
|
1871
1889
|
* `destroy.targetSchema` link.
|
|
1872
1890
|
*/
|
|
1873
|
-
export
|
|
1891
|
+
export declare type RoleDestroyTargetSchema = {
|
|
1874
1892
|
data: Role;
|
|
1875
|
-
}
|
|
1893
|
+
};
|
|
1876
1894
|
/**
|
|
1877
1895
|
* A DatoCMS administrative area can be accessed by multiple people. Every
|
|
1878
1896
|
* collaborator is linked to a specific Role, which describes what actions it
|
|
@@ -1881,20 +1899,20 @@ export interface RoleDestroyTargetSchema {
|
|
|
1881
1899
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
1882
1900
|
* "user".
|
|
1883
1901
|
*/
|
|
1884
|
-
export
|
|
1902
|
+
export declare type User = {
|
|
1885
1903
|
type: UserType;
|
|
1886
1904
|
id: UserIdentity;
|
|
1887
1905
|
attributes: UserAttributes;
|
|
1888
1906
|
relationships: UserRelationships;
|
|
1889
1907
|
meta?: UserMeta;
|
|
1890
|
-
}
|
|
1908
|
+
};
|
|
1891
1909
|
/**
|
|
1892
1910
|
* JSON API attributes
|
|
1893
1911
|
*
|
|
1894
1912
|
* This interface was referenced by `User`'s JSON-Schema via the `definition`
|
|
1895
1913
|
* "attributes".
|
|
1896
1914
|
*/
|
|
1897
|
-
export
|
|
1915
|
+
export declare type UserAttributes = {
|
|
1898
1916
|
/** Email */
|
|
1899
1917
|
email: string;
|
|
1900
1918
|
/** Whether 2-factor authentication is active for this account or not */
|
|
@@ -1903,44 +1921,44 @@ export interface UserAttributes {
|
|
|
1903
1921
|
full_name: string;
|
|
1904
1922
|
/** Whether the user is active or not */
|
|
1905
1923
|
is_active: boolean;
|
|
1906
|
-
}
|
|
1924
|
+
};
|
|
1907
1925
|
/**
|
|
1908
1926
|
* JSON API links
|
|
1909
1927
|
*
|
|
1910
1928
|
* This interface was referenced by `User`'s JSON-Schema via the `definition`
|
|
1911
1929
|
* "relationships".
|
|
1912
1930
|
*/
|
|
1913
|
-
export
|
|
1931
|
+
export declare type UserRelationships = {
|
|
1914
1932
|
/** Role */
|
|
1915
1933
|
role: {
|
|
1916
1934
|
data: RoleData;
|
|
1917
1935
|
};
|
|
1918
|
-
}
|
|
1936
|
+
};
|
|
1919
1937
|
/**
|
|
1920
1938
|
* Meta information on the user
|
|
1921
1939
|
*
|
|
1922
1940
|
* This interface was referenced by `User`'s JSON-Schema via the `definition`
|
|
1923
1941
|
* "meta".
|
|
1924
1942
|
*/
|
|
1925
|
-
export
|
|
1943
|
+
export declare type UserMeta = {
|
|
1926
1944
|
/** Date of last reading/interaction */
|
|
1927
1945
|
last_access: string | null;
|
|
1928
|
-
}
|
|
1946
|
+
};
|
|
1929
1947
|
/**
|
|
1930
1948
|
* JSON API data
|
|
1931
1949
|
*
|
|
1932
1950
|
* This interface was referenced by `User`'s JSON-Schema via the `definition`
|
|
1933
1951
|
* "data".
|
|
1934
1952
|
*/
|
|
1935
|
-
export
|
|
1953
|
+
export declare type UserData = {
|
|
1936
1954
|
type: UserType;
|
|
1937
1955
|
id: UserIdentity;
|
|
1938
|
-
}
|
|
1956
|
+
};
|
|
1939
1957
|
/**
|
|
1940
1958
|
* This interface was referenced by `User`'s JSON-Schema via the `update.schema`
|
|
1941
1959
|
* link.
|
|
1942
1960
|
*/
|
|
1943
|
-
export
|
|
1961
|
+
export declare type UserUpdateSchema = {
|
|
1944
1962
|
data: {
|
|
1945
1963
|
type: UserType;
|
|
1946
1964
|
id: UserIdentity;
|
|
@@ -1955,37 +1973,37 @@ export interface UserUpdateSchema {
|
|
|
1955
1973
|
};
|
|
1956
1974
|
};
|
|
1957
1975
|
};
|
|
1958
|
-
}
|
|
1976
|
+
};
|
|
1959
1977
|
/**
|
|
1960
1978
|
* This interface was referenced by `User`'s JSON-Schema via the
|
|
1961
1979
|
* `update.targetSchema` link.
|
|
1962
1980
|
*/
|
|
1963
|
-
export
|
|
1981
|
+
export declare type UserUpdateTargetSchema = {
|
|
1964
1982
|
data: User;
|
|
1965
|
-
}
|
|
1983
|
+
};
|
|
1966
1984
|
/**
|
|
1967
1985
|
* This interface was referenced by `User`'s JSON-Schema via the
|
|
1968
1986
|
* `instances.targetSchema` link.
|
|
1969
1987
|
*/
|
|
1970
|
-
export
|
|
1988
|
+
export declare type UserInstancesTargetSchema = {
|
|
1971
1989
|
data: User[];
|
|
1972
|
-
}
|
|
1990
|
+
};
|
|
1973
1991
|
/**
|
|
1974
1992
|
* This interface was referenced by `User`'s JSON-Schema via the
|
|
1975
1993
|
* `self.targetSchema` link.
|
|
1976
1994
|
*/
|
|
1977
|
-
export
|
|
1995
|
+
export declare type UserSelfTargetSchema = {
|
|
1978
1996
|
data: User;
|
|
1979
1997
|
included?: Role[];
|
|
1980
|
-
}
|
|
1998
|
+
};
|
|
1981
1999
|
/**
|
|
1982
2000
|
* This interface was referenced by `User`'s JSON-Schema via the
|
|
1983
2001
|
* `me.targetSchema` link.
|
|
1984
2002
|
*/
|
|
1985
|
-
export
|
|
2003
|
+
export declare type UserMeTargetSchema = {
|
|
1986
2004
|
data: User | SsoUser | AccessToken | Account;
|
|
1987
2005
|
included?: Role[];
|
|
1988
|
-
}
|
|
2006
|
+
};
|
|
1989
2007
|
/**
|
|
1990
2008
|
* A Single Sign-On user exists when a DatoCMS project is connected to an
|
|
1991
2009
|
* external Identity Provider. An SSO user will not use the standard login
|
|
@@ -1995,20 +2013,20 @@ export interface UserMeTargetSchema {
|
|
|
1995
2013
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
1996
2014
|
* "sso_user".
|
|
1997
2015
|
*/
|
|
1998
|
-
export
|
|
2016
|
+
export declare type SsoUser = {
|
|
1999
2017
|
type: SsoUserType;
|
|
2000
2018
|
id: SsoUserIdentity;
|
|
2001
2019
|
attributes: SsoUserAttributes;
|
|
2002
2020
|
relationships: SsoUserRelationships;
|
|
2003
2021
|
meta: SsoUserMeta;
|
|
2004
|
-
}
|
|
2022
|
+
};
|
|
2005
2023
|
/**
|
|
2006
2024
|
* JSON API attributes
|
|
2007
2025
|
*
|
|
2008
2026
|
* This interface was referenced by `SsoUser`'s JSON-Schema via the `definition`
|
|
2009
2027
|
* "attributes".
|
|
2010
2028
|
*/
|
|
2011
|
-
export
|
|
2029
|
+
export declare type SsoUserAttributes = {
|
|
2012
2030
|
/** Email */
|
|
2013
2031
|
username: string;
|
|
2014
2032
|
/** Identity provider ID */
|
|
@@ -2022,14 +2040,14 @@ export interface SsoUserAttributes {
|
|
|
2022
2040
|
first_name: string | null;
|
|
2023
2041
|
/** Last name */
|
|
2024
2042
|
last_name: string | null;
|
|
2025
|
-
}
|
|
2043
|
+
};
|
|
2026
2044
|
/**
|
|
2027
2045
|
* JSON API links
|
|
2028
2046
|
*
|
|
2029
2047
|
* This interface was referenced by `SsoUser`'s JSON-Schema via the `definition`
|
|
2030
2048
|
* "relationships".
|
|
2031
2049
|
*/
|
|
2032
|
-
export
|
|
2050
|
+
export declare type SsoUserRelationships = {
|
|
2033
2051
|
/** All the users's groups */
|
|
2034
2052
|
groups: {
|
|
2035
2053
|
data: SsoGroupData[];
|
|
@@ -2038,65 +2056,65 @@ export interface SsoUserRelationships {
|
|
|
2038
2056
|
role: {
|
|
2039
2057
|
data: RoleData | null;
|
|
2040
2058
|
};
|
|
2041
|
-
}
|
|
2059
|
+
};
|
|
2042
2060
|
/**
|
|
2043
2061
|
* JSON API data
|
|
2044
2062
|
*
|
|
2045
2063
|
* This interface was referenced by `SsoGroup`'s JSON-Schema via the
|
|
2046
2064
|
* `definition` "data".
|
|
2047
2065
|
*/
|
|
2048
|
-
export
|
|
2066
|
+
export declare type SsoGroupData = {
|
|
2049
2067
|
type: SsoGroupType;
|
|
2050
2068
|
id: SsoGroupIdentity;
|
|
2051
|
-
}
|
|
2069
|
+
};
|
|
2052
2070
|
/**
|
|
2053
2071
|
* Meta information on the user
|
|
2054
2072
|
*
|
|
2055
2073
|
* This interface was referenced by `SsoUser`'s JSON-Schema via the `definition`
|
|
2056
2074
|
* "meta".
|
|
2057
2075
|
*/
|
|
2058
|
-
export
|
|
2076
|
+
export declare type SsoUserMeta = {
|
|
2059
2077
|
/** Date of last reading/interaction */
|
|
2060
2078
|
last_access: string | null;
|
|
2061
|
-
}
|
|
2079
|
+
};
|
|
2062
2080
|
/**
|
|
2063
2081
|
* JSON API data
|
|
2064
2082
|
*
|
|
2065
2083
|
* This interface was referenced by `SsoUser`'s JSON-Schema via the `definition`
|
|
2066
2084
|
* "data".
|
|
2067
2085
|
*/
|
|
2068
|
-
export
|
|
2086
|
+
export declare type SsoUserData = {
|
|
2069
2087
|
type: SsoUserType;
|
|
2070
2088
|
id: SsoUserIdentity;
|
|
2071
|
-
}
|
|
2089
|
+
};
|
|
2072
2090
|
/**
|
|
2073
2091
|
* This interface was referenced by `SsoUser`'s JSON-Schema via the
|
|
2074
2092
|
* `instances.targetSchema` link.
|
|
2075
2093
|
*/
|
|
2076
|
-
export
|
|
2094
|
+
export declare type SsoUserInstancesTargetSchema = {
|
|
2077
2095
|
data: SsoUser[];
|
|
2078
|
-
}
|
|
2096
|
+
};
|
|
2079
2097
|
/**
|
|
2080
2098
|
* This interface was referenced by `SsoUser`'s JSON-Schema via the
|
|
2081
2099
|
* `self.targetSchema` link.
|
|
2082
2100
|
*/
|
|
2083
|
-
export
|
|
2101
|
+
export declare type SsoUserSelfTargetSchema = {
|
|
2084
2102
|
data: SsoUser;
|
|
2085
|
-
}
|
|
2103
|
+
};
|
|
2086
2104
|
/**
|
|
2087
2105
|
* This interface was referenced by `SsoUser`'s JSON-Schema via the
|
|
2088
2106
|
* `copy_users.targetSchema` link.
|
|
2089
2107
|
*/
|
|
2090
|
-
export
|
|
2108
|
+
export declare type SsoUserCopyUsersTargetSchema = {
|
|
2091
2109
|
data: SsoUser[];
|
|
2092
|
-
}
|
|
2110
|
+
};
|
|
2093
2111
|
/**
|
|
2094
2112
|
* This interface was referenced by `SsoUser`'s JSON-Schema via the
|
|
2095
2113
|
* `destroy.targetSchema` link.
|
|
2096
2114
|
*/
|
|
2097
|
-
export
|
|
2115
|
+
export declare type SsoUserDestroyTargetSchema = {
|
|
2098
2116
|
data: SsoUser;
|
|
2099
|
-
}
|
|
2117
|
+
};
|
|
2100
2118
|
/**
|
|
2101
2119
|
* An API token allows access to our API. It is linked to a Role, which
|
|
2102
2120
|
* describes what actions can be performed.
|
|
@@ -2104,19 +2122,19 @@ export interface SsoUserDestroyTargetSchema {
|
|
|
2104
2122
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
2105
2123
|
* "access_token".
|
|
2106
2124
|
*/
|
|
2107
|
-
export
|
|
2125
|
+
export declare type AccessToken = {
|
|
2108
2126
|
type: AccessTokenType;
|
|
2109
2127
|
id: AccessTokenIdentity;
|
|
2110
2128
|
attributes: AccessTokenAttributes;
|
|
2111
2129
|
relationships: AccessTokenRelationships;
|
|
2112
|
-
}
|
|
2130
|
+
};
|
|
2113
2131
|
/**
|
|
2114
2132
|
* JSON API attributes
|
|
2115
2133
|
*
|
|
2116
2134
|
* This interface was referenced by `AccessToken`'s JSON-Schema via the
|
|
2117
2135
|
* `definition` "attributes".
|
|
2118
2136
|
*/
|
|
2119
|
-
export
|
|
2137
|
+
export declare type AccessTokenAttributes = {
|
|
2120
2138
|
/** Name of API token */
|
|
2121
2139
|
name: string;
|
|
2122
2140
|
/**
|
|
@@ -2137,34 +2155,34 @@ export interface AccessTokenAttributes {
|
|
|
2137
2155
|
/** Whether this API token can access the Content Management API */
|
|
2138
2156
|
can_access_cma: boolean;
|
|
2139
2157
|
hardcoded_type: null | string;
|
|
2140
|
-
}
|
|
2158
|
+
};
|
|
2141
2159
|
/**
|
|
2142
2160
|
* JSON API links
|
|
2143
2161
|
*
|
|
2144
2162
|
* This interface was referenced by `AccessToken`'s JSON-Schema via the
|
|
2145
2163
|
* `definition` "relationships".
|
|
2146
2164
|
*/
|
|
2147
|
-
export
|
|
2165
|
+
export declare type AccessTokenRelationships = {
|
|
2148
2166
|
/** Role */
|
|
2149
2167
|
role: {
|
|
2150
2168
|
data: RoleData | null;
|
|
2151
2169
|
};
|
|
2152
|
-
}
|
|
2170
|
+
};
|
|
2153
2171
|
/**
|
|
2154
2172
|
* JSON API data
|
|
2155
2173
|
*
|
|
2156
2174
|
* This interface was referenced by `AccessToken`'s JSON-Schema via the
|
|
2157
2175
|
* `definition` "data".
|
|
2158
2176
|
*/
|
|
2159
|
-
export
|
|
2177
|
+
export declare type AccessTokenData = {
|
|
2160
2178
|
type: AccessTokenType;
|
|
2161
2179
|
id: AccessTokenIdentity;
|
|
2162
|
-
}
|
|
2180
|
+
};
|
|
2163
2181
|
/**
|
|
2164
2182
|
* This interface was referenced by `AccessToken`'s JSON-Schema via the
|
|
2165
2183
|
* `create.schema` link.
|
|
2166
2184
|
*/
|
|
2167
|
-
export
|
|
2185
|
+
export declare type AccessTokenCreateSchema = {
|
|
2168
2186
|
data: {
|
|
2169
2187
|
type: AccessTokenType;
|
|
2170
2188
|
attributes: {
|
|
@@ -2190,19 +2208,19 @@ export interface AccessTokenCreateSchema {
|
|
|
2190
2208
|
};
|
|
2191
2209
|
};
|
|
2192
2210
|
};
|
|
2193
|
-
}
|
|
2211
|
+
};
|
|
2194
2212
|
/**
|
|
2195
2213
|
* This interface was referenced by `AccessToken`'s JSON-Schema via the
|
|
2196
2214
|
* `create.targetSchema` link.
|
|
2197
2215
|
*/
|
|
2198
|
-
export
|
|
2216
|
+
export declare type AccessTokenCreateTargetSchema = {
|
|
2199
2217
|
data: AccessToken;
|
|
2200
|
-
}
|
|
2218
|
+
};
|
|
2201
2219
|
/**
|
|
2202
2220
|
* This interface was referenced by `AccessToken`'s JSON-Schema via the
|
|
2203
2221
|
* `update.schema` link.
|
|
2204
2222
|
*/
|
|
2205
|
-
export
|
|
2223
|
+
export declare type AccessTokenUpdateSchema = {
|
|
2206
2224
|
data: {
|
|
2207
2225
|
type: AccessTokenType;
|
|
2208
2226
|
id: AccessTokenIdentity;
|
|
@@ -2229,60 +2247,60 @@ export interface AccessTokenUpdateSchema {
|
|
|
2229
2247
|
};
|
|
2230
2248
|
};
|
|
2231
2249
|
};
|
|
2232
|
-
}
|
|
2250
|
+
};
|
|
2233
2251
|
/**
|
|
2234
2252
|
* This interface was referenced by `AccessToken`'s JSON-Schema via the
|
|
2235
2253
|
* `update.targetSchema` link.
|
|
2236
2254
|
*/
|
|
2237
|
-
export
|
|
2255
|
+
export declare type AccessTokenUpdateTargetSchema = {
|
|
2238
2256
|
data: AccessToken;
|
|
2239
|
-
}
|
|
2257
|
+
};
|
|
2240
2258
|
/**
|
|
2241
2259
|
* This interface was referenced by `AccessToken`'s JSON-Schema via the
|
|
2242
2260
|
* `instances.targetSchema` link.
|
|
2243
2261
|
*/
|
|
2244
|
-
export
|
|
2262
|
+
export declare type AccessTokenInstancesTargetSchema = {
|
|
2245
2263
|
data: AccessToken[];
|
|
2246
|
-
}
|
|
2264
|
+
};
|
|
2247
2265
|
/**
|
|
2248
2266
|
* This interface was referenced by `AccessToken`'s JSON-Schema via the
|
|
2249
2267
|
* `self.targetSchema` link.
|
|
2250
2268
|
*/
|
|
2251
|
-
export
|
|
2269
|
+
export declare type AccessTokenSelfTargetSchema = {
|
|
2252
2270
|
data: AccessToken;
|
|
2253
|
-
}
|
|
2271
|
+
};
|
|
2254
2272
|
/**
|
|
2255
2273
|
* This interface was referenced by `AccessToken`'s JSON-Schema via the
|
|
2256
2274
|
* `regenerate_token.targetSchema` link.
|
|
2257
2275
|
*/
|
|
2258
|
-
export
|
|
2276
|
+
export declare type AccessTokenRegenerateTokenTargetSchema = {
|
|
2259
2277
|
data: AccessToken;
|
|
2260
|
-
}
|
|
2278
|
+
};
|
|
2261
2279
|
/**
|
|
2262
2280
|
* This interface was referenced by `AccessToken`'s JSON-Schema via the
|
|
2263
2281
|
* `destroy.targetSchema` link.
|
|
2264
2282
|
*/
|
|
2265
|
-
export
|
|
2283
|
+
export declare type AccessTokenDestroyTargetSchema = {
|
|
2266
2284
|
data: AccessToken;
|
|
2267
|
-
}
|
|
2285
|
+
};
|
|
2268
2286
|
/**
|
|
2269
2287
|
* DatoCMS account
|
|
2270
2288
|
*
|
|
2271
2289
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
2272
2290
|
* "account".
|
|
2273
2291
|
*/
|
|
2274
|
-
export
|
|
2292
|
+
export declare type Account = {
|
|
2275
2293
|
type: AccountType;
|
|
2276
2294
|
id: AccountIdentity;
|
|
2277
2295
|
attributes: AccountAttributes;
|
|
2278
|
-
}
|
|
2296
|
+
};
|
|
2279
2297
|
/**
|
|
2280
2298
|
* JSON API attributes
|
|
2281
2299
|
*
|
|
2282
2300
|
* This interface was referenced by `Account`'s JSON-Schema via the `definition`
|
|
2283
2301
|
* "attributes".
|
|
2284
2302
|
*/
|
|
2285
|
-
export
|
|
2303
|
+
export declare type AccountAttributes = {
|
|
2286
2304
|
/** Email */
|
|
2287
2305
|
email: string;
|
|
2288
2306
|
/** First name */
|
|
@@ -2291,26 +2309,24 @@ export interface AccountAttributes {
|
|
|
2291
2309
|
last_name: string | null;
|
|
2292
2310
|
/** Company name */
|
|
2293
2311
|
company: string | null;
|
|
2294
|
-
|
|
2295
|
-
password?: string;
|
|
2296
|
-
}
|
|
2312
|
+
};
|
|
2297
2313
|
/**
|
|
2298
2314
|
* JSON API data
|
|
2299
2315
|
*
|
|
2300
2316
|
* This interface was referenced by `Account`'s JSON-Schema via the `definition`
|
|
2301
2317
|
* "data".
|
|
2302
2318
|
*/
|
|
2303
|
-
export
|
|
2319
|
+
export declare type AccountData = {
|
|
2304
2320
|
type: AccountType;
|
|
2305
2321
|
id: AccountIdentity;
|
|
2306
|
-
}
|
|
2322
|
+
};
|
|
2307
2323
|
/**
|
|
2308
2324
|
* This interface was referenced by `User`'s JSON-Schema via the
|
|
2309
2325
|
* `destroy.targetSchema` link.
|
|
2310
2326
|
*/
|
|
2311
|
-
export
|
|
2327
|
+
export declare type UserDestroyTargetSchema = {
|
|
2312
2328
|
data: User;
|
|
2313
|
-
}
|
|
2329
|
+
};
|
|
2314
2330
|
/**
|
|
2315
2331
|
* If the Audit log functionality is enabled in a project, logged events can be
|
|
2316
2332
|
* queried using SQL-like language and fetched in full detail so that they can
|
|
@@ -2319,19 +2335,19 @@ export interface UserDestroyTargetSchema {
|
|
|
2319
2335
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
2320
2336
|
* "audit_log_event".
|
|
2321
2337
|
*/
|
|
2322
|
-
export
|
|
2338
|
+
export declare type AuditLogEvent = {
|
|
2323
2339
|
type: AuditLogEventType;
|
|
2324
2340
|
id: AuditLogEventIdentity;
|
|
2325
2341
|
attributes: AuditLogEventAttributes;
|
|
2326
2342
|
meta: AuditLogEventMeta;
|
|
2327
|
-
}
|
|
2343
|
+
};
|
|
2328
2344
|
/**
|
|
2329
2345
|
* JSON API attributes
|
|
2330
2346
|
*
|
|
2331
2347
|
* This interface was referenced by `AuditLogEvent`'s JSON-Schema via the
|
|
2332
2348
|
* `definition` "attributes".
|
|
2333
2349
|
*/
|
|
2334
|
-
export
|
|
2350
|
+
export declare type AuditLogEventAttributes = {
|
|
2335
2351
|
/** The actual action performed */
|
|
2336
2352
|
action_name: string;
|
|
2337
2353
|
/** The actor who performed the action */
|
|
@@ -2388,32 +2404,32 @@ export interface AuditLogEventAttributes {
|
|
|
2388
2404
|
[k: string]: unknown;
|
|
2389
2405
|
};
|
|
2390
2406
|
};
|
|
2391
|
-
}
|
|
2407
|
+
};
|
|
2392
2408
|
/**
|
|
2393
2409
|
* JSON API meta
|
|
2394
2410
|
*
|
|
2395
2411
|
* This interface was referenced by `AuditLogEvent`'s JSON-Schema via the
|
|
2396
2412
|
* `definition` "meta".
|
|
2397
2413
|
*/
|
|
2398
|
-
export
|
|
2414
|
+
export declare type AuditLogEventMeta = {
|
|
2399
2415
|
/** The date of the event */
|
|
2400
2416
|
occurred_at: string;
|
|
2401
|
-
}
|
|
2417
|
+
};
|
|
2402
2418
|
/**
|
|
2403
2419
|
* JSON API data
|
|
2404
2420
|
*
|
|
2405
2421
|
* This interface was referenced by `AuditLogEvent`'s JSON-Schema via the
|
|
2406
2422
|
* `definition` "data".
|
|
2407
2423
|
*/
|
|
2408
|
-
export
|
|
2424
|
+
export declare type AuditLogEventData = {
|
|
2409
2425
|
type: AuditLogEventType;
|
|
2410
2426
|
id: AuditLogEventIdentity;
|
|
2411
|
-
}
|
|
2427
|
+
};
|
|
2412
2428
|
/**
|
|
2413
2429
|
* This interface was referenced by `AuditLogEvent`'s JSON-Schema via the
|
|
2414
2430
|
* `query.schema` link.
|
|
2415
2431
|
*/
|
|
2416
|
-
export
|
|
2432
|
+
export declare type AuditLogEventQuerySchema = {
|
|
2417
2433
|
data: {
|
|
2418
2434
|
/** JSON API type field */
|
|
2419
2435
|
type: 'audit_log_query';
|
|
@@ -2432,12 +2448,12 @@ export interface AuditLogEventQuerySchema {
|
|
|
2432
2448
|
detailed_log?: boolean;
|
|
2433
2449
|
};
|
|
2434
2450
|
};
|
|
2435
|
-
}
|
|
2451
|
+
};
|
|
2436
2452
|
/**
|
|
2437
2453
|
* This interface was referenced by `AuditLogEvent`'s JSON-Schema via the
|
|
2438
2454
|
* `query.targetSchema` link.
|
|
2439
2455
|
*/
|
|
2440
|
-
export
|
|
2456
|
+
export declare type AuditLogEventQueryTargetSchema = {
|
|
2441
2457
|
data: AuditLogEvent[];
|
|
2442
2458
|
meta: {
|
|
2443
2459
|
/**
|
|
@@ -2447,25 +2463,56 @@ export interface AuditLogEventQueryTargetSchema {
|
|
|
2447
2463
|
*/
|
|
2448
2464
|
next_token: null | string;
|
|
2449
2465
|
};
|
|
2450
|
-
}
|
|
2466
|
+
};
|
|
2467
|
+
/**
|
|
2468
|
+
* DatoCMS organization
|
|
2469
|
+
*
|
|
2470
|
+
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
2471
|
+
* "organization".
|
|
2472
|
+
*/
|
|
2473
|
+
export declare type Organization = {
|
|
2474
|
+
type: OrganizationType;
|
|
2475
|
+
id: OrganizationIdentity;
|
|
2476
|
+
attributes: OrganizationAttributes;
|
|
2477
|
+
};
|
|
2478
|
+
/**
|
|
2479
|
+
* JSON API attributes
|
|
2480
|
+
*
|
|
2481
|
+
* This interface was referenced by `Organization`'s JSON-Schema via the
|
|
2482
|
+
* `definition` "attributes".
|
|
2483
|
+
*/
|
|
2484
|
+
export declare type OrganizationAttributes = {
|
|
2485
|
+
/** Name of the organization */
|
|
2486
|
+
name: string;
|
|
2487
|
+
};
|
|
2488
|
+
/**
|
|
2489
|
+
* JSON API data
|
|
2490
|
+
*
|
|
2491
|
+
* This interface was referenced by `Organization`'s JSON-Schema via the
|
|
2492
|
+
* `definition` "data".
|
|
2493
|
+
*/
|
|
2494
|
+
export declare type OrganizationData = {
|
|
2495
|
+
type: OrganizationType;
|
|
2496
|
+
id: OrganizationIdentity;
|
|
2497
|
+
};
|
|
2451
2498
|
/**
|
|
2452
2499
|
* Stores the information regarding the current plan for the project.
|
|
2453
2500
|
*
|
|
2454
2501
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
2455
2502
|
* "site_plan".
|
|
2456
2503
|
*/
|
|
2457
|
-
export
|
|
2504
|
+
export declare type SitePlan = {
|
|
2458
2505
|
type: SitePlanType;
|
|
2459
2506
|
id: SitePlanIdentity;
|
|
2460
2507
|
attributes: SitePlanAttributes;
|
|
2461
|
-
}
|
|
2508
|
+
};
|
|
2462
2509
|
/**
|
|
2463
2510
|
* JSON API attributes
|
|
2464
2511
|
*
|
|
2465
2512
|
* This interface was referenced by `SitePlan`'s JSON-Schema via the
|
|
2466
2513
|
* `definition` "attributes".
|
|
2467
2514
|
*/
|
|
2468
|
-
export
|
|
2515
|
+
export declare type SitePlanAttributes = {
|
|
2469
2516
|
/** The name of the plan */
|
|
2470
2517
|
name: string;
|
|
2471
2518
|
/** Whether this plan is active or legacy */
|
|
@@ -2607,17 +2654,17 @@ export interface SitePlanAttributes {
|
|
|
2607
2654
|
price: number;
|
|
2608
2655
|
};
|
|
2609
2656
|
};
|
|
2610
|
-
}
|
|
2657
|
+
};
|
|
2611
2658
|
/**
|
|
2612
2659
|
* JSON API data
|
|
2613
2660
|
*
|
|
2614
2661
|
* This interface was referenced by `SitePlan`'s JSON-Schema via the
|
|
2615
2662
|
* `definition` "data".
|
|
2616
2663
|
*/
|
|
2617
|
-
export
|
|
2664
|
+
export declare type SitePlanData = {
|
|
2618
2665
|
type: SitePlanType;
|
|
2619
2666
|
id: SitePlanIdentity;
|
|
2620
|
-
}
|
|
2667
|
+
};
|
|
2621
2668
|
/**
|
|
2622
2669
|
* In DatoCMS you can organize the different Models present in your
|
|
2623
2670
|
* administrative area reordering and grouping them, so that their purpose will
|
|
@@ -2626,19 +2673,19 @@ export interface SitePlanData {
|
|
|
2626
2673
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
2627
2674
|
* "menu_item".
|
|
2628
2675
|
*/
|
|
2629
|
-
export
|
|
2676
|
+
export declare type MenuItem = {
|
|
2630
2677
|
type: MenuItemType;
|
|
2631
2678
|
id: MenuItemIdentity;
|
|
2632
2679
|
attributes: MenuItemAttributes;
|
|
2633
2680
|
relationships: MenuItemRelationships;
|
|
2634
|
-
}
|
|
2681
|
+
};
|
|
2635
2682
|
/**
|
|
2636
2683
|
* JSON API attributes
|
|
2637
2684
|
*
|
|
2638
2685
|
* This interface was referenced by `MenuItem`'s JSON-Schema via the
|
|
2639
2686
|
* `definition` "attributes".
|
|
2640
2687
|
*/
|
|
2641
|
-
export
|
|
2688
|
+
export declare type MenuItemAttributes = {
|
|
2642
2689
|
/** The label of the menu item */
|
|
2643
2690
|
label: string;
|
|
2644
2691
|
/** The URL to which the menu item points to */
|
|
@@ -2647,14 +2694,14 @@ export interface MenuItemAttributes {
|
|
|
2647
2694
|
position: number;
|
|
2648
2695
|
/** Opens link in new tab (to be used together with `external_url`) */
|
|
2649
2696
|
open_in_new_tab: boolean;
|
|
2650
|
-
}
|
|
2697
|
+
};
|
|
2651
2698
|
/**
|
|
2652
2699
|
* JSON API links
|
|
2653
2700
|
*
|
|
2654
2701
|
* This interface was referenced by `MenuItem`'s JSON-Schema via the
|
|
2655
2702
|
* `definition` "relationships".
|
|
2656
2703
|
*/
|
|
2657
|
-
export
|
|
2704
|
+
export declare type MenuItemRelationships = {
|
|
2658
2705
|
/** Item type associated with the menu item */
|
|
2659
2706
|
item_type: {
|
|
2660
2707
|
data: ItemTypeData | null;
|
|
@@ -2674,42 +2721,42 @@ export interface MenuItemRelationships {
|
|
|
2674
2721
|
children: {
|
|
2675
2722
|
data: MenuItemData[];
|
|
2676
2723
|
};
|
|
2677
|
-
}
|
|
2724
|
+
};
|
|
2678
2725
|
/**
|
|
2679
2726
|
* JSON API data
|
|
2680
2727
|
*
|
|
2681
2728
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
2682
2729
|
* `definition` "data".
|
|
2683
2730
|
*/
|
|
2684
|
-
export
|
|
2731
|
+
export declare type ItemTypeData = {
|
|
2685
2732
|
type: ItemTypeType;
|
|
2686
2733
|
id: ItemTypeIdentity;
|
|
2687
|
-
}
|
|
2734
|
+
};
|
|
2688
2735
|
/**
|
|
2689
2736
|
* JSON API data
|
|
2690
2737
|
*
|
|
2691
2738
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema via the
|
|
2692
2739
|
* `definition` "data".
|
|
2693
2740
|
*/
|
|
2694
|
-
export
|
|
2741
|
+
export declare type ItemTypeFilterData = {
|
|
2695
2742
|
type: ItemTypeFilterType;
|
|
2696
2743
|
id: ItemTypeFilterIdentity;
|
|
2697
|
-
}
|
|
2744
|
+
};
|
|
2698
2745
|
/**
|
|
2699
2746
|
* JSON API data
|
|
2700
2747
|
*
|
|
2701
2748
|
* This interface was referenced by `MenuItem`'s JSON-Schema via the
|
|
2702
2749
|
* `definition` "data".
|
|
2703
2750
|
*/
|
|
2704
|
-
export
|
|
2751
|
+
export declare type MenuItemData = {
|
|
2705
2752
|
type: MenuItemType;
|
|
2706
2753
|
id: MenuItemIdentity;
|
|
2707
|
-
}
|
|
2754
|
+
};
|
|
2708
2755
|
/**
|
|
2709
2756
|
* This interface was referenced by `MenuItem`'s JSON-Schema via the
|
|
2710
2757
|
* `create.schema` link.
|
|
2711
2758
|
*/
|
|
2712
|
-
export
|
|
2759
|
+
export declare type MenuItemCreateSchema = {
|
|
2713
2760
|
data: {
|
|
2714
2761
|
type: MenuItemType;
|
|
2715
2762
|
/** JSON API attributes */
|
|
@@ -2741,19 +2788,19 @@ export interface MenuItemCreateSchema {
|
|
|
2741
2788
|
};
|
|
2742
2789
|
};
|
|
2743
2790
|
};
|
|
2744
|
-
}
|
|
2791
|
+
};
|
|
2745
2792
|
/**
|
|
2746
2793
|
* This interface was referenced by `MenuItem`'s JSON-Schema via the
|
|
2747
2794
|
* `create.targetSchema` link.
|
|
2748
2795
|
*/
|
|
2749
|
-
export
|
|
2796
|
+
export declare type MenuItemCreateTargetSchema = {
|
|
2750
2797
|
data: MenuItem;
|
|
2751
|
-
}
|
|
2798
|
+
};
|
|
2752
2799
|
/**
|
|
2753
2800
|
* This interface was referenced by `MenuItem`'s JSON-Schema via the
|
|
2754
2801
|
* `update.schema` link.
|
|
2755
2802
|
*/
|
|
2756
|
-
export
|
|
2803
|
+
export declare type MenuItemUpdateSchema = {
|
|
2757
2804
|
data: {
|
|
2758
2805
|
type: MenuItemType;
|
|
2759
2806
|
id: MenuItemIdentity;
|
|
@@ -2786,35 +2833,35 @@ export interface MenuItemUpdateSchema {
|
|
|
2786
2833
|
};
|
|
2787
2834
|
};
|
|
2788
2835
|
};
|
|
2789
|
-
}
|
|
2836
|
+
};
|
|
2790
2837
|
/**
|
|
2791
2838
|
* This interface was referenced by `MenuItem`'s JSON-Schema via the
|
|
2792
2839
|
* `update.targetSchema` link.
|
|
2793
2840
|
*/
|
|
2794
|
-
export
|
|
2841
|
+
export declare type MenuItemUpdateTargetSchema = {
|
|
2795
2842
|
data: MenuItem;
|
|
2796
|
-
}
|
|
2843
|
+
};
|
|
2797
2844
|
/**
|
|
2798
2845
|
* This interface was referenced by `MenuItem`'s JSON-Schema via the
|
|
2799
2846
|
* `instances.targetSchema` link.
|
|
2800
2847
|
*/
|
|
2801
|
-
export
|
|
2848
|
+
export declare type MenuItemInstancesTargetSchema = {
|
|
2802
2849
|
data: MenuItem[];
|
|
2803
|
-
}
|
|
2850
|
+
};
|
|
2804
2851
|
/**
|
|
2805
2852
|
* This interface was referenced by `MenuItem`'s JSON-Schema via the
|
|
2806
2853
|
* `self.targetSchema` link.
|
|
2807
2854
|
*/
|
|
2808
|
-
export
|
|
2855
|
+
export declare type MenuItemSelfTargetSchema = {
|
|
2809
2856
|
data: MenuItem;
|
|
2810
|
-
}
|
|
2857
|
+
};
|
|
2811
2858
|
/**
|
|
2812
2859
|
* This interface was referenced by `MenuItem`'s JSON-Schema via the
|
|
2813
2860
|
* `destroy.targetSchema` link.
|
|
2814
2861
|
*/
|
|
2815
|
-
export
|
|
2862
|
+
export declare type MenuItemDestroyTargetSchema = {
|
|
2816
2863
|
data: MenuItem;
|
|
2817
|
-
}
|
|
2864
|
+
};
|
|
2818
2865
|
/**
|
|
2819
2866
|
* The way you define the kind of content you can edit inside your
|
|
2820
2867
|
* administrative area passes through the concept of Models, which are much like
|
|
@@ -2824,20 +2871,20 @@ export interface MenuItemDestroyTargetSchema {
|
|
|
2824
2871
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
2825
2872
|
* "item_type".
|
|
2826
2873
|
*/
|
|
2827
|
-
export
|
|
2874
|
+
export declare type ItemType = {
|
|
2828
2875
|
type: ItemTypeType;
|
|
2829
2876
|
id: ItemTypeIdentity;
|
|
2830
2877
|
attributes: ItemTypeAttributes;
|
|
2831
2878
|
relationships: ItemTypeRelationships;
|
|
2832
2879
|
meta: ItemTypeMeta;
|
|
2833
|
-
}
|
|
2880
|
+
};
|
|
2834
2881
|
/**
|
|
2835
2882
|
* JSON API attributes
|
|
2836
2883
|
*
|
|
2837
2884
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
2838
2885
|
* `definition` "attributes".
|
|
2839
2886
|
*/
|
|
2840
|
-
export
|
|
2887
|
+
export declare type ItemTypeAttributes = {
|
|
2841
2888
|
/** Name of the model */
|
|
2842
2889
|
name: string;
|
|
2843
2890
|
/** API key of the model */
|
|
@@ -2880,14 +2927,14 @@ export interface ItemTypeAttributes {
|
|
|
2880
2927
|
hint: string | null;
|
|
2881
2928
|
/** Whether inverse relationships fields are expressed in GraphQL or not */
|
|
2882
2929
|
inverse_relationships_enabled: boolean;
|
|
2883
|
-
}
|
|
2930
|
+
};
|
|
2884
2931
|
/**
|
|
2885
2932
|
* JSON API links
|
|
2886
2933
|
*
|
|
2887
2934
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
2888
2935
|
* `definition` "relationships".
|
|
2889
2936
|
*/
|
|
2890
|
-
export
|
|
2937
|
+
export declare type ItemTypeRelationships = {
|
|
2891
2938
|
/** The item instance related to this item type */
|
|
2892
2939
|
singleton_item: {
|
|
2893
2940
|
data: ItemData | null;
|
|
@@ -2920,65 +2967,65 @@ export interface ItemTypeRelationships {
|
|
|
2920
2967
|
workflow: {
|
|
2921
2968
|
data: WorkflowData | null;
|
|
2922
2969
|
};
|
|
2923
|
-
}
|
|
2970
|
+
};
|
|
2924
2971
|
/**
|
|
2925
2972
|
* JSON API data
|
|
2926
2973
|
*
|
|
2927
2974
|
* This interface was referenced by `Item`'s JSON-Schema via the `definition`
|
|
2928
2975
|
* "data".
|
|
2929
2976
|
*/
|
|
2930
|
-
export
|
|
2977
|
+
export declare type ItemData = {
|
|
2931
2978
|
type: ItemType1;
|
|
2932
2979
|
id: ItemIdentity;
|
|
2933
|
-
}
|
|
2980
|
+
};
|
|
2934
2981
|
/**
|
|
2935
2982
|
* JSON API data
|
|
2936
2983
|
*
|
|
2937
2984
|
* This interface was referenced by `Field`'s JSON-Schema via the `definition`
|
|
2938
2985
|
* "data".
|
|
2939
2986
|
*/
|
|
2940
|
-
export
|
|
2987
|
+
export declare type FieldData = {
|
|
2941
2988
|
type: FieldType;
|
|
2942
2989
|
id: FieldIdentity;
|
|
2943
|
-
}
|
|
2990
|
+
};
|
|
2944
2991
|
/**
|
|
2945
2992
|
* JSON API data
|
|
2946
2993
|
*
|
|
2947
2994
|
* This interface was referenced by `Fieldset`'s JSON-Schema via the
|
|
2948
2995
|
* `definition` "data".
|
|
2949
2996
|
*/
|
|
2950
|
-
export
|
|
2997
|
+
export declare type FieldsetData = {
|
|
2951
2998
|
type: FieldsetType;
|
|
2952
2999
|
id: FieldsetIdentity;
|
|
2953
|
-
}
|
|
3000
|
+
};
|
|
2954
3001
|
/**
|
|
2955
3002
|
* JSON API data
|
|
2956
3003
|
*
|
|
2957
3004
|
* This interface was referenced by `Workflow`'s JSON-Schema via the
|
|
2958
3005
|
* `definition` "data".
|
|
2959
3006
|
*/
|
|
2960
|
-
export
|
|
3007
|
+
export declare type WorkflowData = {
|
|
2961
3008
|
type: WorkflowType;
|
|
2962
3009
|
id: WorkflowIdentity;
|
|
2963
|
-
}
|
|
3010
|
+
};
|
|
2964
3011
|
/**
|
|
2965
3012
|
* Meta information regarding the item type
|
|
2966
3013
|
*
|
|
2967
3014
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
2968
3015
|
* `definition` "meta".
|
|
2969
3016
|
*/
|
|
2970
|
-
export
|
|
3017
|
+
export declare type ItemTypeMeta = {
|
|
2971
3018
|
/**
|
|
2972
3019
|
* If this model is single-instance, this tells the single-instance record has
|
|
2973
3020
|
* already been created or not
|
|
2974
3021
|
*/
|
|
2975
3022
|
has_singleton_item: boolean;
|
|
2976
|
-
}
|
|
3023
|
+
};
|
|
2977
3024
|
/**
|
|
2978
3025
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
2979
3026
|
* `create.schema` link.
|
|
2980
3027
|
*/
|
|
2981
|
-
export
|
|
3028
|
+
export declare type ItemTypeCreateSchema = {
|
|
2982
3029
|
data: {
|
|
2983
3030
|
type: ItemTypeType;
|
|
2984
3031
|
/** JSON API attributes */
|
|
@@ -3044,20 +3091,20 @@ export interface ItemTypeCreateSchema {
|
|
|
3044
3091
|
};
|
|
3045
3092
|
};
|
|
3046
3093
|
};
|
|
3047
|
-
}
|
|
3094
|
+
};
|
|
3048
3095
|
/**
|
|
3049
3096
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
3050
3097
|
* `create.targetSchema` link.
|
|
3051
3098
|
*/
|
|
3052
|
-
export
|
|
3099
|
+
export declare type ItemTypeCreateTargetSchema = {
|
|
3053
3100
|
data: ItemType;
|
|
3054
3101
|
included?: MenuItem[];
|
|
3055
|
-
}
|
|
3102
|
+
};
|
|
3056
3103
|
/**
|
|
3057
3104
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
3058
3105
|
* `update.schema` link.
|
|
3059
3106
|
*/
|
|
3060
|
-
export
|
|
3107
|
+
export declare type ItemTypeUpdateSchema = {
|
|
3061
3108
|
data: {
|
|
3062
3109
|
type: ItemTypeType;
|
|
3063
3110
|
id: ItemTypeIdentity;
|
|
@@ -3136,74 +3183,74 @@ export interface ItemTypeUpdateSchema {
|
|
|
3136
3183
|
has_singleton_item?: boolean;
|
|
3137
3184
|
};
|
|
3138
3185
|
};
|
|
3139
|
-
}
|
|
3186
|
+
};
|
|
3140
3187
|
/**
|
|
3141
3188
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
3142
3189
|
* `update.targetSchema` link.
|
|
3143
3190
|
*/
|
|
3144
|
-
export
|
|
3191
|
+
export declare type ItemTypeUpdateTargetSchema = {
|
|
3145
3192
|
data: Job;
|
|
3146
|
-
}
|
|
3193
|
+
};
|
|
3147
3194
|
/**
|
|
3148
3195
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
3149
3196
|
* "job".
|
|
3150
3197
|
*/
|
|
3151
|
-
export
|
|
3198
|
+
export declare type Job = {
|
|
3152
3199
|
type: JobType;
|
|
3153
3200
|
id: JobIdentity;
|
|
3154
|
-
}
|
|
3201
|
+
};
|
|
3155
3202
|
/**
|
|
3156
3203
|
* JSON API data
|
|
3157
3204
|
*
|
|
3158
3205
|
* This interface was referenced by `Job`'s JSON-Schema via the `definition`
|
|
3159
3206
|
* "data".
|
|
3160
3207
|
*/
|
|
3161
|
-
export
|
|
3208
|
+
export declare type JobData = {
|
|
3162
3209
|
type: JobType;
|
|
3163
3210
|
id: JobIdentity;
|
|
3164
|
-
}
|
|
3211
|
+
};
|
|
3165
3212
|
/**
|
|
3166
3213
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
3167
3214
|
* `update.jobSchema` link.
|
|
3168
3215
|
*/
|
|
3169
|
-
export
|
|
3216
|
+
export declare type ItemTypeUpdateJobSchema = {
|
|
3170
3217
|
data: ItemType;
|
|
3171
|
-
}
|
|
3218
|
+
};
|
|
3172
3219
|
/**
|
|
3173
3220
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
3174
3221
|
* `instances.targetSchema` link.
|
|
3175
3222
|
*/
|
|
3176
|
-
export
|
|
3223
|
+
export declare type ItemTypeInstancesTargetSchema = {
|
|
3177
3224
|
data: ItemType[];
|
|
3178
|
-
}
|
|
3225
|
+
};
|
|
3179
3226
|
/**
|
|
3180
3227
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
3181
3228
|
* `self.targetSchema` link.
|
|
3182
3229
|
*/
|
|
3183
|
-
export
|
|
3230
|
+
export declare type ItemTypeSelfTargetSchema = {
|
|
3184
3231
|
data: ItemType;
|
|
3185
|
-
}
|
|
3232
|
+
};
|
|
3186
3233
|
/**
|
|
3187
3234
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
3188
3235
|
* `duplicate.targetSchema` link.
|
|
3189
3236
|
*/
|
|
3190
|
-
export
|
|
3237
|
+
export declare type ItemTypeDuplicateTargetSchema = {
|
|
3191
3238
|
data: ItemType;
|
|
3192
|
-
}
|
|
3239
|
+
};
|
|
3193
3240
|
/**
|
|
3194
3241
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
3195
3242
|
* `destroy.targetSchema` link.
|
|
3196
3243
|
*/
|
|
3197
|
-
export
|
|
3244
|
+
export declare type ItemTypeDestroyTargetSchema = {
|
|
3198
3245
|
data: Job;
|
|
3199
|
-
}
|
|
3246
|
+
};
|
|
3200
3247
|
/**
|
|
3201
3248
|
* This interface was referenced by `ItemType`'s JSON-Schema via the
|
|
3202
3249
|
* `destroy.jobSchema` link.
|
|
3203
3250
|
*/
|
|
3204
|
-
export
|
|
3251
|
+
export declare type ItemTypeDestroyJobSchema = {
|
|
3205
3252
|
data: ItemType;
|
|
3206
|
-
}
|
|
3253
|
+
};
|
|
3207
3254
|
/**
|
|
3208
3255
|
* DatoCMS offers a number of different fields that you can combine togheter to
|
|
3209
3256
|
* create a [Model](/docs/content-management-api/resources/item-type). Using the
|
|
@@ -3867,19 +3914,19 @@ export interface ItemTypeDestroyJobSchema {
|
|
|
3867
3914
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
3868
3915
|
* "field".
|
|
3869
3916
|
*/
|
|
3870
|
-
export
|
|
3917
|
+
export declare type Field = {
|
|
3871
3918
|
type: FieldType;
|
|
3872
3919
|
id: FieldIdentity;
|
|
3873
3920
|
attributes: FieldAttributes;
|
|
3874
3921
|
relationships: FieldRelationships;
|
|
3875
|
-
}
|
|
3922
|
+
};
|
|
3876
3923
|
/**
|
|
3877
3924
|
* JSON API attributes
|
|
3878
3925
|
*
|
|
3879
3926
|
* This interface was referenced by `Field`'s JSON-Schema via the `definition`
|
|
3880
3927
|
* "attributes".
|
|
3881
3928
|
*/
|
|
3882
|
-
export
|
|
3929
|
+
export declare type FieldAttributes = {
|
|
3883
3930
|
/** The label of the field */
|
|
3884
3931
|
label: string;
|
|
3885
3932
|
/** Type of input */
|
|
@@ -3943,14 +3990,14 @@ export interface FieldAttributes {
|
|
|
3943
3990
|
};
|
|
3944
3991
|
/** Ordering index */
|
|
3945
3992
|
position: number;
|
|
3946
|
-
}
|
|
3993
|
+
};
|
|
3947
3994
|
/**
|
|
3948
3995
|
* JSON API links
|
|
3949
3996
|
*
|
|
3950
3997
|
* This interface was referenced by `Field`'s JSON-Schema via the `definition`
|
|
3951
3998
|
* "relationships".
|
|
3952
3999
|
*/
|
|
3953
|
-
export
|
|
4000
|
+
export declare type FieldRelationships = {
|
|
3954
4001
|
/** Field item type */
|
|
3955
4002
|
item_type: {
|
|
3956
4003
|
data: ItemTypeData;
|
|
@@ -3959,12 +4006,12 @@ export interface FieldRelationships {
|
|
|
3959
4006
|
fieldset: {
|
|
3960
4007
|
data: null | FieldsetData;
|
|
3961
4008
|
};
|
|
3962
|
-
}
|
|
4009
|
+
};
|
|
3963
4010
|
/**
|
|
3964
4011
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
3965
4012
|
* `create.schema` link.
|
|
3966
4013
|
*/
|
|
3967
|
-
export
|
|
4014
|
+
export declare type FieldCreateSchema = {
|
|
3968
4015
|
data: {
|
|
3969
4016
|
type: FieldType;
|
|
3970
4017
|
/** JSON API attributes */
|
|
@@ -4041,27 +4088,27 @@ export interface FieldCreateSchema {
|
|
|
4041
4088
|
};
|
|
4042
4089
|
};
|
|
4043
4090
|
};
|
|
4044
|
-
}
|
|
4091
|
+
};
|
|
4045
4092
|
/**
|
|
4046
4093
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4047
4094
|
* `create.targetSchema` link.
|
|
4048
4095
|
*/
|
|
4049
|
-
export
|
|
4096
|
+
export declare type FieldCreateTargetSchema = {
|
|
4050
4097
|
data: Job;
|
|
4051
|
-
}
|
|
4098
|
+
};
|
|
4052
4099
|
/**
|
|
4053
4100
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4054
4101
|
* `create.jobSchema` link.
|
|
4055
4102
|
*/
|
|
4056
|
-
export
|
|
4103
|
+
export declare type FieldCreateJobSchema = {
|
|
4057
4104
|
data: Field;
|
|
4058
4105
|
included?: ItemType[];
|
|
4059
|
-
}
|
|
4106
|
+
};
|
|
4060
4107
|
/**
|
|
4061
4108
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4062
4109
|
* `update.schema` link.
|
|
4063
4110
|
*/
|
|
4064
|
-
export
|
|
4111
|
+
export declare type FieldUpdateSchema = {
|
|
4065
4112
|
data: {
|
|
4066
4113
|
type: FieldType;
|
|
4067
4114
|
id: FieldIdentity;
|
|
@@ -4138,80 +4185,80 @@ export interface FieldUpdateSchema {
|
|
|
4138
4185
|
};
|
|
4139
4186
|
};
|
|
4140
4187
|
};
|
|
4141
|
-
}
|
|
4188
|
+
};
|
|
4142
4189
|
/**
|
|
4143
4190
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4144
4191
|
* `update.targetSchema` link.
|
|
4145
4192
|
*/
|
|
4146
|
-
export
|
|
4193
|
+
export declare type FieldUpdateTargetSchema = {
|
|
4147
4194
|
data: Job;
|
|
4148
|
-
}
|
|
4195
|
+
};
|
|
4149
4196
|
/**
|
|
4150
4197
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4151
4198
|
* `update.jobSchema` link.
|
|
4152
4199
|
*/
|
|
4153
|
-
export
|
|
4200
|
+
export declare type FieldUpdateJobSchema = {
|
|
4154
4201
|
data: Field;
|
|
4155
4202
|
included?: (ItemType | Field)[];
|
|
4156
|
-
}
|
|
4203
|
+
};
|
|
4157
4204
|
/**
|
|
4158
4205
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4159
4206
|
* `instances.targetSchema` link.
|
|
4160
4207
|
*/
|
|
4161
|
-
export
|
|
4208
|
+
export declare type FieldInstancesTargetSchema = {
|
|
4162
4209
|
data: Field[];
|
|
4163
|
-
}
|
|
4210
|
+
};
|
|
4164
4211
|
/**
|
|
4165
4212
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4166
4213
|
* `referencing.targetSchema` link.
|
|
4167
4214
|
*/
|
|
4168
|
-
export
|
|
4215
|
+
export declare type FieldReferencingTargetSchema = {
|
|
4169
4216
|
data: Field[];
|
|
4170
|
-
}
|
|
4217
|
+
};
|
|
4171
4218
|
/**
|
|
4172
4219
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4173
4220
|
* `related.targetSchema` link.
|
|
4174
4221
|
*/
|
|
4175
|
-
export
|
|
4222
|
+
export declare type FieldRelatedTargetSchema = {
|
|
4176
4223
|
data: Field[];
|
|
4177
|
-
}
|
|
4224
|
+
};
|
|
4178
4225
|
/**
|
|
4179
4226
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4180
4227
|
* `self.targetSchema` link.
|
|
4181
4228
|
*/
|
|
4182
|
-
export
|
|
4229
|
+
export declare type FieldSelfTargetSchema = {
|
|
4183
4230
|
data: Field;
|
|
4184
|
-
}
|
|
4231
|
+
};
|
|
4185
4232
|
/**
|
|
4186
4233
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4187
4234
|
* `destroy.targetSchema` link.
|
|
4188
4235
|
*/
|
|
4189
|
-
export
|
|
4236
|
+
export declare type FieldDestroyTargetSchema = {
|
|
4190
4237
|
data: Job;
|
|
4191
|
-
}
|
|
4238
|
+
};
|
|
4192
4239
|
/**
|
|
4193
4240
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4194
4241
|
* `destroy.jobSchema` link.
|
|
4195
4242
|
*/
|
|
4196
|
-
export
|
|
4243
|
+
export declare type FieldDestroyJobSchema = {
|
|
4197
4244
|
data: Field;
|
|
4198
4245
|
included?: ItemType[];
|
|
4199
|
-
}
|
|
4246
|
+
};
|
|
4200
4247
|
/**
|
|
4201
4248
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4202
4249
|
* `duplicate.targetSchema` link.
|
|
4203
4250
|
*/
|
|
4204
|
-
export
|
|
4251
|
+
export declare type FieldDuplicateTargetSchema = {
|
|
4205
4252
|
data: Job;
|
|
4206
|
-
}
|
|
4253
|
+
};
|
|
4207
4254
|
/**
|
|
4208
4255
|
* This interface was referenced by `Field`'s JSON-Schema via the
|
|
4209
4256
|
* `duplicate.jobSchema` link.
|
|
4210
4257
|
*/
|
|
4211
|
-
export
|
|
4258
|
+
export declare type FieldDuplicateJobSchema = {
|
|
4212
4259
|
data: Field;
|
|
4213
4260
|
included: ItemType[];
|
|
4214
|
-
}
|
|
4261
|
+
};
|
|
4215
4262
|
/**
|
|
4216
4263
|
* Fields can be organized and grouped into fieldset to better present them to
|
|
4217
4264
|
* editors.
|
|
@@ -4219,19 +4266,19 @@ export interface FieldDuplicateJobSchema {
|
|
|
4219
4266
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
4220
4267
|
* "fieldset".
|
|
4221
4268
|
*/
|
|
4222
|
-
export
|
|
4269
|
+
export declare type Fieldset = {
|
|
4223
4270
|
type: FieldsetType;
|
|
4224
4271
|
id: FieldsetIdentity;
|
|
4225
4272
|
attributes: FieldsetAttributes;
|
|
4226
4273
|
relationships: FieldsetRelationships;
|
|
4227
|
-
}
|
|
4274
|
+
};
|
|
4228
4275
|
/**
|
|
4229
4276
|
* JSON API attributes
|
|
4230
4277
|
*
|
|
4231
4278
|
* This interface was referenced by `Fieldset`'s JSON-Schema via the
|
|
4232
4279
|
* `definition` "attributes".
|
|
4233
4280
|
*/
|
|
4234
|
-
export
|
|
4281
|
+
export declare type FieldsetAttributes = {
|
|
4235
4282
|
/** The title of the fieldset */
|
|
4236
4283
|
title: string;
|
|
4237
4284
|
/** Description/contextual hint for the fieldset */
|
|
@@ -4245,24 +4292,24 @@ export interface FieldsetAttributes {
|
|
|
4245
4292
|
start_collapsed: boolean;
|
|
4246
4293
|
/** Ordering index */
|
|
4247
4294
|
position: number;
|
|
4248
|
-
}
|
|
4295
|
+
};
|
|
4249
4296
|
/**
|
|
4250
4297
|
* JSON API links
|
|
4251
4298
|
*
|
|
4252
4299
|
* This interface was referenced by `Fieldset`'s JSON-Schema via the
|
|
4253
4300
|
* `definition` "relationships".
|
|
4254
4301
|
*/
|
|
4255
|
-
export
|
|
4302
|
+
export declare type FieldsetRelationships = {
|
|
4256
4303
|
/** Fieldset item type */
|
|
4257
4304
|
item_type: {
|
|
4258
4305
|
data: ItemTypeData;
|
|
4259
4306
|
};
|
|
4260
|
-
}
|
|
4307
|
+
};
|
|
4261
4308
|
/**
|
|
4262
4309
|
* This interface was referenced by `Fieldset`'s JSON-Schema via the
|
|
4263
4310
|
* `create.schema` link.
|
|
4264
4311
|
*/
|
|
4265
|
-
export
|
|
4312
|
+
export declare type FieldsetCreateSchema = {
|
|
4266
4313
|
data: {
|
|
4267
4314
|
type: FieldsetType;
|
|
4268
4315
|
/** JSON API attributes */
|
|
@@ -4282,20 +4329,20 @@ export interface FieldsetCreateSchema {
|
|
|
4282
4329
|
start_collapsed?: boolean;
|
|
4283
4330
|
};
|
|
4284
4331
|
};
|
|
4285
|
-
}
|
|
4332
|
+
};
|
|
4286
4333
|
/**
|
|
4287
4334
|
* This interface was referenced by `Fieldset`'s JSON-Schema via the
|
|
4288
4335
|
* `create.targetSchema` link.
|
|
4289
4336
|
*/
|
|
4290
|
-
export
|
|
4337
|
+
export declare type FieldsetCreateTargetSchema = {
|
|
4291
4338
|
data: Fieldset;
|
|
4292
4339
|
included?: ItemType[];
|
|
4293
|
-
}
|
|
4340
|
+
};
|
|
4294
4341
|
/**
|
|
4295
4342
|
* This interface was referenced by `Fieldset`'s JSON-Schema via the
|
|
4296
4343
|
* `update.schema` link.
|
|
4297
4344
|
*/
|
|
4298
|
-
export
|
|
4345
|
+
export declare type FieldsetUpdateSchema = {
|
|
4299
4346
|
data: {
|
|
4300
4347
|
type: FieldsetType;
|
|
4301
4348
|
id: FieldsetIdentity;
|
|
@@ -4315,73 +4362,73 @@ export interface FieldsetUpdateSchema {
|
|
|
4315
4362
|
start_collapsed?: boolean;
|
|
4316
4363
|
};
|
|
4317
4364
|
};
|
|
4318
|
-
}
|
|
4365
|
+
};
|
|
4319
4366
|
/**
|
|
4320
4367
|
* This interface was referenced by `Fieldset`'s JSON-Schema via the
|
|
4321
4368
|
* `update.targetSchema` link.
|
|
4322
4369
|
*/
|
|
4323
|
-
export
|
|
4370
|
+
export declare type FieldsetUpdateTargetSchema = {
|
|
4324
4371
|
data: Fieldset;
|
|
4325
|
-
}
|
|
4372
|
+
};
|
|
4326
4373
|
/**
|
|
4327
4374
|
* This interface was referenced by `Fieldset`'s JSON-Schema via the
|
|
4328
4375
|
* `instances.targetSchema` link.
|
|
4329
4376
|
*/
|
|
4330
|
-
export
|
|
4377
|
+
export declare type FieldsetInstancesTargetSchema = {
|
|
4331
4378
|
data: Fieldset[];
|
|
4332
|
-
}
|
|
4379
|
+
};
|
|
4333
4380
|
/**
|
|
4334
4381
|
* This interface was referenced by `Fieldset`'s JSON-Schema via the
|
|
4335
4382
|
* `self.targetSchema` link.
|
|
4336
4383
|
*/
|
|
4337
|
-
export
|
|
4384
|
+
export declare type FieldsetSelfTargetSchema = {
|
|
4338
4385
|
data: Fieldset;
|
|
4339
|
-
}
|
|
4386
|
+
};
|
|
4340
4387
|
/**
|
|
4341
4388
|
* This interface was referenced by `Fieldset`'s JSON-Schema via the
|
|
4342
4389
|
* `destroy.targetSchema` link.
|
|
4343
4390
|
*/
|
|
4344
|
-
export
|
|
4391
|
+
export declare type FieldsetDestroyTargetSchema = {
|
|
4345
4392
|
data: Fieldset;
|
|
4346
|
-
}
|
|
4393
|
+
};
|
|
4347
4394
|
/**
|
|
4348
4395
|
* A session is required to access to read-and-write API endpoints
|
|
4349
4396
|
*
|
|
4350
4397
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
4351
4398
|
* "session".
|
|
4352
4399
|
*/
|
|
4353
|
-
export
|
|
4400
|
+
export declare type Session = {
|
|
4354
4401
|
type: SessionType;
|
|
4355
4402
|
id: SessionIdentity;
|
|
4356
4403
|
relationships: SessionRelationships;
|
|
4357
|
-
}
|
|
4404
|
+
};
|
|
4358
4405
|
/**
|
|
4359
4406
|
* JSON API links
|
|
4360
4407
|
*
|
|
4361
4408
|
* This interface was referenced by `Session`'s JSON-Schema via the `definition`
|
|
4362
4409
|
* "relationships".
|
|
4363
4410
|
*/
|
|
4364
|
-
export
|
|
4411
|
+
export declare type SessionRelationships = {
|
|
4365
4412
|
/** The user associated with the session */
|
|
4366
4413
|
user: {
|
|
4367
4414
|
data: UserData;
|
|
4368
4415
|
};
|
|
4369
|
-
}
|
|
4416
|
+
};
|
|
4370
4417
|
/**
|
|
4371
4418
|
* JSON API data
|
|
4372
4419
|
*
|
|
4373
4420
|
* This interface was referenced by `Session`'s JSON-Schema via the `definition`
|
|
4374
4421
|
* "data".
|
|
4375
4422
|
*/
|
|
4376
|
-
export
|
|
4423
|
+
export declare type SessionData = {
|
|
4377
4424
|
type: SessionType;
|
|
4378
4425
|
id: SessionIdentity;
|
|
4379
|
-
}
|
|
4426
|
+
};
|
|
4380
4427
|
/**
|
|
4381
4428
|
* This interface was referenced by `Session`'s JSON-Schema via the
|
|
4382
4429
|
* `create.schema` link.
|
|
4383
4430
|
*/
|
|
4384
|
-
export
|
|
4431
|
+
export declare type SessionCreateSchema = {
|
|
4385
4432
|
data: {
|
|
4386
4433
|
/** JSON API type field */
|
|
4387
4434
|
type: 'email_credentials';
|
|
@@ -4395,15 +4442,15 @@ export interface SessionCreateSchema {
|
|
|
4395
4442
|
otp_code?: string;
|
|
4396
4443
|
};
|
|
4397
4444
|
};
|
|
4398
|
-
}
|
|
4445
|
+
};
|
|
4399
4446
|
/**
|
|
4400
4447
|
* This interface was referenced by `Session`'s JSON-Schema via the
|
|
4401
4448
|
* `create.targetSchema` link.
|
|
4402
4449
|
*/
|
|
4403
|
-
export
|
|
4450
|
+
export declare type SessionCreateTargetSchema = {
|
|
4404
4451
|
data: Session;
|
|
4405
4452
|
included: User[];
|
|
4406
|
-
}
|
|
4453
|
+
};
|
|
4407
4454
|
/**
|
|
4408
4455
|
* Plugins enable developers to replace DatoCMS field components with HTML5
|
|
4409
4456
|
* applications so the editing experiences of the DatoCMS web app can be
|
|
@@ -4412,19 +4459,19 @@ export interface SessionCreateTargetSchema {
|
|
|
4412
4459
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
4413
4460
|
* "plugin".
|
|
4414
4461
|
*/
|
|
4415
|
-
export
|
|
4462
|
+
export declare type Plugin = {
|
|
4416
4463
|
type: PluginType;
|
|
4417
4464
|
id: PluginIdentity;
|
|
4418
4465
|
attributes: PluginAttributes;
|
|
4419
4466
|
meta: PluginMeta;
|
|
4420
|
-
}
|
|
4467
|
+
};
|
|
4421
4468
|
/**
|
|
4422
4469
|
* JSON API attributes
|
|
4423
4470
|
*
|
|
4424
4471
|
* This interface was referenced by `Plugin`'s JSON-Schema via the `definition`
|
|
4425
4472
|
* "attributes".
|
|
4426
4473
|
*/
|
|
4427
|
-
export
|
|
4474
|
+
export declare type PluginAttributes = {
|
|
4428
4475
|
/** The name of the plugin */
|
|
4429
4476
|
name: string;
|
|
4430
4477
|
/** A description of the plugin */
|
|
@@ -4453,32 +4500,32 @@ export interface PluginAttributes {
|
|
|
4453
4500
|
global: unknown[];
|
|
4454
4501
|
instance: unknown[];
|
|
4455
4502
|
};
|
|
4456
|
-
}
|
|
4503
|
+
};
|
|
4457
4504
|
/**
|
|
4458
4505
|
* JSON API meta
|
|
4459
4506
|
*
|
|
4460
4507
|
* This interface was referenced by `Plugin`'s JSON-Schema via the `definition`
|
|
4461
4508
|
* "meta".
|
|
4462
4509
|
*/
|
|
4463
|
-
export
|
|
4510
|
+
export declare type PluginMeta = {
|
|
4464
4511
|
/** Version of the plugin. Legacy plugins are v1, new plugins are v2 */
|
|
4465
4512
|
version: string;
|
|
4466
|
-
}
|
|
4513
|
+
};
|
|
4467
4514
|
/**
|
|
4468
4515
|
* JSON API data
|
|
4469
4516
|
*
|
|
4470
4517
|
* This interface was referenced by `Plugin`'s JSON-Schema via the `definition`
|
|
4471
4518
|
* "data".
|
|
4472
4519
|
*/
|
|
4473
|
-
export
|
|
4520
|
+
export declare type PluginData = {
|
|
4474
4521
|
type: PluginType;
|
|
4475
4522
|
id: PluginIdentity;
|
|
4476
|
-
}
|
|
4523
|
+
};
|
|
4477
4524
|
/**
|
|
4478
4525
|
* This interface was referenced by `Plugin`'s JSON-Schema via the
|
|
4479
4526
|
* `create.schema` link.
|
|
4480
4527
|
*/
|
|
4481
|
-
export
|
|
4528
|
+
export declare type PluginCreateSchema = {
|
|
4482
4529
|
data: {
|
|
4483
4530
|
type: PluginType;
|
|
4484
4531
|
attributes: {
|
|
@@ -4526,19 +4573,19 @@ export interface PluginCreateSchema {
|
|
|
4526
4573
|
package_version?: null | string;
|
|
4527
4574
|
};
|
|
4528
4575
|
};
|
|
4529
|
-
}
|
|
4576
|
+
};
|
|
4530
4577
|
/**
|
|
4531
4578
|
* This interface was referenced by `Plugin`'s JSON-Schema via the
|
|
4532
4579
|
* `create.targetSchema` link.
|
|
4533
4580
|
*/
|
|
4534
|
-
export
|
|
4581
|
+
export declare type PluginCreateTargetSchema = {
|
|
4535
4582
|
data: Plugin;
|
|
4536
|
-
}
|
|
4583
|
+
};
|
|
4537
4584
|
/**
|
|
4538
4585
|
* This interface was referenced by `Plugin`'s JSON-Schema via the
|
|
4539
4586
|
* `update.schema` link.
|
|
4540
4587
|
*/
|
|
4541
|
-
export
|
|
4588
|
+
export declare type PluginUpdateSchema = {
|
|
4542
4589
|
data: {
|
|
4543
4590
|
type: PluginType;
|
|
4544
4591
|
id: PluginIdentity;
|
|
@@ -4565,171 +4612,171 @@ export interface PluginUpdateSchema {
|
|
|
4565
4612
|
[k: string]: unknown;
|
|
4566
4613
|
};
|
|
4567
4614
|
};
|
|
4568
|
-
}
|
|
4615
|
+
};
|
|
4569
4616
|
/**
|
|
4570
4617
|
* This interface was referenced by `Plugin`'s JSON-Schema via the
|
|
4571
4618
|
* `update.targetSchema` link.
|
|
4572
4619
|
*/
|
|
4573
|
-
export
|
|
4620
|
+
export declare type PluginUpdateTargetSchema = {
|
|
4574
4621
|
data: Plugin;
|
|
4575
|
-
}
|
|
4622
|
+
};
|
|
4576
4623
|
/**
|
|
4577
4624
|
* This interface was referenced by `Plugin`'s JSON-Schema via the
|
|
4578
4625
|
* `instances.targetSchema` link.
|
|
4579
4626
|
*/
|
|
4580
|
-
export
|
|
4627
|
+
export declare type PluginInstancesTargetSchema = {
|
|
4581
4628
|
data: Plugin[];
|
|
4582
|
-
}
|
|
4629
|
+
};
|
|
4583
4630
|
/**
|
|
4584
4631
|
* This interface was referenced by `Plugin`'s JSON-Schema via the
|
|
4585
4632
|
* `self.targetSchema` link.
|
|
4586
4633
|
*/
|
|
4587
|
-
export
|
|
4634
|
+
export declare type PluginSelfTargetSchema = {
|
|
4588
4635
|
data: Plugin;
|
|
4589
|
-
}
|
|
4636
|
+
};
|
|
4590
4637
|
/**
|
|
4591
4638
|
* This interface was referenced by `Plugin`'s JSON-Schema via the
|
|
4592
4639
|
* `destroy.targetSchema` link.
|
|
4593
4640
|
*/
|
|
4594
|
-
export
|
|
4641
|
+
export declare type PluginDestroyTargetSchema = {
|
|
4595
4642
|
data: Plugin;
|
|
4596
|
-
}
|
|
4643
|
+
};
|
|
4597
4644
|
/**
|
|
4598
4645
|
* This interface was referenced by `Plugin`'s JSON-Schema via the
|
|
4599
4646
|
* `fields.targetSchema` link.
|
|
4600
4647
|
*/
|
|
4601
|
-
export
|
|
4648
|
+
export declare type PluginFieldsTargetSchema = {
|
|
4602
4649
|
data: Field[];
|
|
4603
|
-
}
|
|
4650
|
+
};
|
|
4604
4651
|
/**
|
|
4605
4652
|
* Some API endpoint give results asynchronously, returning the ID of a job.
|
|
4606
4653
|
*
|
|
4607
4654
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
4608
4655
|
* "job_result".
|
|
4609
4656
|
*/
|
|
4610
|
-
export
|
|
4657
|
+
export declare type JobResult = {
|
|
4611
4658
|
type: JobResultType;
|
|
4612
4659
|
id: JobResultIdentity;
|
|
4613
4660
|
attributes: JobResultAttributes;
|
|
4614
|
-
}
|
|
4661
|
+
};
|
|
4615
4662
|
/**
|
|
4616
4663
|
* JSON API attributes
|
|
4617
4664
|
*
|
|
4618
4665
|
* This interface was referenced by `JobResult`'s JSON-Schema via the
|
|
4619
4666
|
* `definition` "attributes".
|
|
4620
4667
|
*/
|
|
4621
|
-
export
|
|
4668
|
+
export declare type JobResultAttributes = {
|
|
4622
4669
|
/** Status of delayed HTTP response */
|
|
4623
4670
|
status: number;
|
|
4624
4671
|
/** JSON API response of the HTTP request */
|
|
4625
4672
|
payload: null | {
|
|
4626
4673
|
[k: string]: unknown;
|
|
4627
4674
|
};
|
|
4628
|
-
}
|
|
4675
|
+
};
|
|
4629
4676
|
/**
|
|
4630
4677
|
* JSON API data
|
|
4631
4678
|
*
|
|
4632
4679
|
* This interface was referenced by `JobResult`'s JSON-Schema via the
|
|
4633
4680
|
* `definition` "data".
|
|
4634
4681
|
*/
|
|
4635
|
-
export
|
|
4682
|
+
export declare type JobResultData = {
|
|
4636
4683
|
type: JobResultType;
|
|
4637
4684
|
id: JobResultIdentity;
|
|
4638
|
-
}
|
|
4685
|
+
};
|
|
4639
4686
|
/**
|
|
4640
4687
|
* This interface was referenced by `JobResult`'s JSON-Schema via the
|
|
4641
4688
|
* `self.targetSchema` link.
|
|
4642
4689
|
*/
|
|
4643
|
-
export
|
|
4690
|
+
export declare type JobResultSelfTargetSchema = {
|
|
4644
4691
|
data: JobResult;
|
|
4645
|
-
}
|
|
4692
|
+
};
|
|
4646
4693
|
/**
|
|
4647
4694
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
4648
4695
|
* "subscription_limit".
|
|
4649
4696
|
*/
|
|
4650
|
-
export
|
|
4697
|
+
export declare type SubscriptionLimit = {
|
|
4651
4698
|
type: SubscriptionLimitType;
|
|
4652
4699
|
id: SubscriptionLimitIdentity;
|
|
4653
4700
|
attributes: SubscriptionLimitAttributes;
|
|
4654
|
-
}
|
|
4701
|
+
};
|
|
4655
4702
|
/**
|
|
4656
4703
|
* JSON API attributes
|
|
4657
4704
|
*
|
|
4658
4705
|
* This interface was referenced by `SubscriptionLimit`'s JSON-Schema via the
|
|
4659
4706
|
* `definition` "attributes".
|
|
4660
4707
|
*/
|
|
4661
|
-
export
|
|
4708
|
+
export declare type SubscriptionLimitAttributes = {
|
|
4662
4709
|
/** The codename for the limit */
|
|
4663
4710
|
code: string;
|
|
4664
4711
|
/** Current usage */
|
|
4665
4712
|
usage: number;
|
|
4666
4713
|
/** The actual limit */
|
|
4667
4714
|
limit: number | null;
|
|
4668
|
-
}
|
|
4715
|
+
};
|
|
4669
4716
|
/**
|
|
4670
4717
|
* JSON API data
|
|
4671
4718
|
*
|
|
4672
4719
|
* This interface was referenced by `SubscriptionLimit`'s JSON-Schema via the
|
|
4673
4720
|
* `definition` "data".
|
|
4674
4721
|
*/
|
|
4675
|
-
export
|
|
4722
|
+
export declare type SubscriptionLimitData = {
|
|
4676
4723
|
type: SubscriptionLimitType;
|
|
4677
4724
|
id: SubscriptionLimitIdentity;
|
|
4678
|
-
}
|
|
4725
|
+
};
|
|
4679
4726
|
/**
|
|
4680
4727
|
* This interface was referenced by `SubscriptionLimit`'s JSON-Schema via the
|
|
4681
4728
|
* `instances.targetSchema` link.
|
|
4682
4729
|
*/
|
|
4683
|
-
export
|
|
4730
|
+
export declare type SubscriptionLimitInstancesTargetSchema = {
|
|
4684
4731
|
data: SubscriptionLimit[];
|
|
4685
|
-
}
|
|
4732
|
+
};
|
|
4686
4733
|
/**
|
|
4687
4734
|
* This interface was referenced by `SubscriptionLimit`'s JSON-Schema via the
|
|
4688
4735
|
* `self.targetSchema` link.
|
|
4689
4736
|
*/
|
|
4690
|
-
export
|
|
4737
|
+
export declare type SubscriptionLimitSelfTargetSchema = {
|
|
4691
4738
|
data: SubscriptionLimit;
|
|
4692
|
-
}
|
|
4739
|
+
};
|
|
4693
4740
|
/**
|
|
4694
4741
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
4695
4742
|
* "subscription_feature".
|
|
4696
4743
|
*/
|
|
4697
|
-
export
|
|
4744
|
+
export declare type SubscriptionFeature = {
|
|
4698
4745
|
type: SubscriptionFeatureType;
|
|
4699
4746
|
id: SubscriptionFeatureIdentity;
|
|
4700
4747
|
attributes: SubscriptionFeatureAttributes;
|
|
4701
|
-
}
|
|
4748
|
+
};
|
|
4702
4749
|
/**
|
|
4703
4750
|
* JSON API attributes
|
|
4704
4751
|
*
|
|
4705
4752
|
* This interface was referenced by `SubscriptionFeature`'s JSON-Schema via the
|
|
4706
4753
|
* `definition` "attributes".
|
|
4707
4754
|
*/
|
|
4708
|
-
export
|
|
4755
|
+
export declare type SubscriptionFeatureAttributes = {
|
|
4709
4756
|
/** The codename for the feature */
|
|
4710
4757
|
code: string;
|
|
4711
4758
|
/** Whether the project is currently using the feature */
|
|
4712
4759
|
in_use?: boolean;
|
|
4713
4760
|
/** Whether the feature is available on the current project */
|
|
4714
4761
|
enabled: boolean;
|
|
4715
|
-
}
|
|
4762
|
+
};
|
|
4716
4763
|
/**
|
|
4717
4764
|
* JSON API data
|
|
4718
4765
|
*
|
|
4719
4766
|
* This interface was referenced by `SubscriptionFeature`'s JSON-Schema via the
|
|
4720
4767
|
* `definition` "data".
|
|
4721
4768
|
*/
|
|
4722
|
-
export
|
|
4769
|
+
export declare type SubscriptionFeatureData = {
|
|
4723
4770
|
type: SubscriptionFeatureType;
|
|
4724
4771
|
id: SubscriptionFeatureIdentity;
|
|
4725
|
-
}
|
|
4772
|
+
};
|
|
4726
4773
|
/**
|
|
4727
4774
|
* This interface was referenced by `SubscriptionFeature`'s JSON-Schema via the
|
|
4728
4775
|
* `instances.targetSchema` link.
|
|
4729
4776
|
*/
|
|
4730
|
-
export
|
|
4777
|
+
export declare type SubscriptionFeatureInstancesTargetSchema = {
|
|
4731
4778
|
data: SubscriptionFeature[];
|
|
4732
|
-
}
|
|
4779
|
+
};
|
|
4733
4780
|
/**
|
|
4734
4781
|
* Represents an event occurred during the deploy process of your administrative
|
|
4735
4782
|
* area.
|
|
@@ -4737,19 +4784,19 @@ export interface SubscriptionFeatureInstancesTargetSchema {
|
|
|
4737
4784
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
4738
4785
|
* "build_event".
|
|
4739
4786
|
*/
|
|
4740
|
-
export
|
|
4787
|
+
export declare type BuildEvent = {
|
|
4741
4788
|
type: BuildEventType;
|
|
4742
4789
|
id: BuildEventIdentity;
|
|
4743
4790
|
attributes: BuildEventAttributes;
|
|
4744
4791
|
relationships: BuildEventRelationships;
|
|
4745
|
-
}
|
|
4792
|
+
};
|
|
4746
4793
|
/**
|
|
4747
4794
|
* JSON API attributes
|
|
4748
4795
|
*
|
|
4749
4796
|
* This interface was referenced by `BuildEvent`'s JSON-Schema via the
|
|
4750
4797
|
* `definition` "attributes".
|
|
4751
4798
|
*/
|
|
4752
|
-
export
|
|
4799
|
+
export declare type BuildEventAttributes = {
|
|
4753
4800
|
/** The type of activity */
|
|
4754
4801
|
event_type: 'request_success' | 'request_failure' | 'response_success' | 'response_failure' | 'request_aborted' | 'response_unprocessable' | 'indexing_started' | 'indexing_success' | 'indexing_failure';
|
|
4755
4802
|
/** The moment the activity occurred */
|
|
@@ -4758,53 +4805,53 @@ export interface BuildEventAttributes {
|
|
|
4758
4805
|
data: {
|
|
4759
4806
|
[k: string]: unknown;
|
|
4760
4807
|
};
|
|
4761
|
-
}
|
|
4808
|
+
};
|
|
4762
4809
|
/**
|
|
4763
4810
|
* JSON API links
|
|
4764
4811
|
*
|
|
4765
4812
|
* This interface was referenced by `BuildEvent`'s JSON-Schema via the
|
|
4766
4813
|
* `definition` "relationships".
|
|
4767
4814
|
*/
|
|
4768
|
-
export
|
|
4815
|
+
export declare type BuildEventRelationships = {
|
|
4769
4816
|
/** Source build trigger */
|
|
4770
4817
|
build_trigger: {
|
|
4771
4818
|
data: BuildTriggerData;
|
|
4772
4819
|
};
|
|
4773
|
-
}
|
|
4820
|
+
};
|
|
4774
4821
|
/**
|
|
4775
4822
|
* JSON API data
|
|
4776
4823
|
*
|
|
4777
4824
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema via the
|
|
4778
4825
|
* `definition` "data".
|
|
4779
4826
|
*/
|
|
4780
|
-
export
|
|
4827
|
+
export declare type BuildTriggerData = {
|
|
4781
4828
|
type: BuildTriggerType;
|
|
4782
4829
|
id: BuildTriggerIdentity;
|
|
4783
|
-
}
|
|
4830
|
+
};
|
|
4784
4831
|
/**
|
|
4785
4832
|
* JSON API data
|
|
4786
4833
|
*
|
|
4787
4834
|
* This interface was referenced by `BuildEvent`'s JSON-Schema via the
|
|
4788
4835
|
* `definition` "data".
|
|
4789
4836
|
*/
|
|
4790
|
-
export
|
|
4837
|
+
export declare type BuildEventData = {
|
|
4791
4838
|
type: BuildEventType;
|
|
4792
4839
|
id: BuildEventIdentity;
|
|
4793
|
-
}
|
|
4840
|
+
};
|
|
4794
4841
|
/**
|
|
4795
4842
|
* This interface was referenced by `BuildEvent`'s JSON-Schema via the
|
|
4796
4843
|
* `instances.targetSchema` link.
|
|
4797
4844
|
*/
|
|
4798
|
-
export
|
|
4845
|
+
export declare type BuildEventInstancesTargetSchema = {
|
|
4799
4846
|
data: BuildEvent[];
|
|
4800
|
-
}
|
|
4847
|
+
};
|
|
4801
4848
|
/**
|
|
4802
4849
|
* This interface was referenced by `BuildEvent`'s JSON-Schema via the
|
|
4803
4850
|
* `self.targetSchema` link.
|
|
4804
4851
|
*/
|
|
4805
|
-
export
|
|
4852
|
+
export declare type BuildEventSelfTargetSchema = {
|
|
4806
4853
|
data: BuildEvent;
|
|
4807
|
-
}
|
|
4854
|
+
};
|
|
4808
4855
|
/**
|
|
4809
4856
|
* DatoCMS stores the individual pieces of content you create from a model as
|
|
4810
4857
|
* records, which are much like table rows in a database. For
|
|
@@ -4813,29 +4860,29 @@ export interface BuildEventSelfTargetSchema {
|
|
|
4813
4860
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
4814
4861
|
* "item".
|
|
4815
4862
|
*/
|
|
4816
|
-
export
|
|
4863
|
+
export declare type Item = {
|
|
4817
4864
|
type: ItemType1;
|
|
4818
4865
|
id: ItemIdentity;
|
|
4819
4866
|
attributes: ItemAttributes;
|
|
4820
4867
|
relationships: ItemRelationships;
|
|
4821
4868
|
meta: ItemMeta;
|
|
4822
|
-
}
|
|
4869
|
+
};
|
|
4823
4870
|
/**
|
|
4824
4871
|
* The JSON data associated to the record
|
|
4825
4872
|
*
|
|
4826
4873
|
* This interface was referenced by `Item`'s JSON-Schema via the `definition`
|
|
4827
4874
|
* "attributes".
|
|
4828
4875
|
*/
|
|
4829
|
-
export
|
|
4876
|
+
export declare type ItemAttributes = {
|
|
4830
4877
|
[k: string]: unknown;
|
|
4831
|
-
}
|
|
4878
|
+
};
|
|
4832
4879
|
/**
|
|
4833
4880
|
* JSON API links
|
|
4834
4881
|
*
|
|
4835
4882
|
* This interface was referenced by `Item`'s JSON-Schema via the `definition`
|
|
4836
4883
|
* "relationships".
|
|
4837
4884
|
*/
|
|
4838
|
-
export
|
|
4885
|
+
export declare type ItemRelationships = {
|
|
4839
4886
|
/** The record's model */
|
|
4840
4887
|
item_type: {
|
|
4841
4888
|
data: ItemTypeData;
|
|
@@ -4846,16 +4893,16 @@ export interface ItemRelationships {
|
|
|
4846
4893
|
* properties.
|
|
4847
4894
|
*/
|
|
4848
4895
|
creator?: {
|
|
4849
|
-
data: AccountData | AccessTokenData | UserData | SsoUserData;
|
|
4896
|
+
data: AccountData | AccessTokenData | UserData | SsoUserData | OrganizationData;
|
|
4850
4897
|
};
|
|
4851
|
-
}
|
|
4898
|
+
};
|
|
4852
4899
|
/**
|
|
4853
4900
|
* Meta information regarding the record
|
|
4854
4901
|
*
|
|
4855
4902
|
* This interface was referenced by `Item`'s JSON-Schema via the `definition`
|
|
4856
4903
|
* "meta".
|
|
4857
4904
|
*/
|
|
4858
|
-
export
|
|
4905
|
+
export declare type ItemMeta = {
|
|
4859
4906
|
/** Date of creation */
|
|
4860
4907
|
created_at: string;
|
|
4861
4908
|
/** Last update time */
|
|
@@ -4880,22 +4927,22 @@ export interface ItemMeta {
|
|
|
4880
4927
|
current_version: string;
|
|
4881
4928
|
/** Workflow stage in which the item is */
|
|
4882
4929
|
stage: null | string;
|
|
4883
|
-
}
|
|
4930
|
+
};
|
|
4884
4931
|
/**
|
|
4885
4932
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
4886
4933
|
* `instances.targetSchema` link.
|
|
4887
4934
|
*/
|
|
4888
|
-
export
|
|
4935
|
+
export declare type ItemInstancesTargetSchema = {
|
|
4889
4936
|
data: Item[];
|
|
4890
4937
|
meta: {
|
|
4891
4938
|
total_count: number;
|
|
4892
4939
|
};
|
|
4893
|
-
}
|
|
4940
|
+
};
|
|
4894
4941
|
/**
|
|
4895
4942
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
4896
4943
|
* `validate_existing.schema` link.
|
|
4897
4944
|
*/
|
|
4898
|
-
export
|
|
4945
|
+
export declare type ItemValidateExistingSchema = {
|
|
4899
4946
|
data: {
|
|
4900
4947
|
id: ItemIdentity;
|
|
4901
4948
|
type: ItemType1;
|
|
@@ -4914,16 +4961,16 @@ export interface ItemValidateExistingSchema {
|
|
|
4914
4961
|
* properties.
|
|
4915
4962
|
*/
|
|
4916
4963
|
creator?: {
|
|
4917
|
-
data: AccountData | AccessTokenData | UserData | SsoUserData;
|
|
4964
|
+
data: AccountData | AccessTokenData | UserData | SsoUserData | OrganizationData;
|
|
4918
4965
|
};
|
|
4919
4966
|
};
|
|
4920
4967
|
};
|
|
4921
|
-
}
|
|
4968
|
+
};
|
|
4922
4969
|
/**
|
|
4923
4970
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
4924
4971
|
* `validate_new.schema` link.
|
|
4925
4972
|
*/
|
|
4926
|
-
export
|
|
4973
|
+
export declare type ItemValidateNewSchema = {
|
|
4927
4974
|
data: {
|
|
4928
4975
|
type: ItemType1;
|
|
4929
4976
|
/** The JSON data associated to the record */
|
|
@@ -4937,12 +4984,12 @@ export interface ItemValidateNewSchema {
|
|
|
4937
4984
|
};
|
|
4938
4985
|
};
|
|
4939
4986
|
};
|
|
4940
|
-
}
|
|
4987
|
+
};
|
|
4941
4988
|
/**
|
|
4942
4989
|
* This interface was referenced by `Item`'s JSON-Schema via the `create.schema`
|
|
4943
4990
|
* link.
|
|
4944
4991
|
*/
|
|
4945
|
-
export
|
|
4992
|
+
export declare type ItemCreateSchema = {
|
|
4946
4993
|
data: {
|
|
4947
4994
|
type: ItemType1;
|
|
4948
4995
|
/** The JSON data associated to the record */
|
|
@@ -4979,35 +5026,35 @@ export interface ItemCreateSchema {
|
|
|
4979
5026
|
};
|
|
4980
5027
|
};
|
|
4981
5028
|
};
|
|
4982
|
-
}
|
|
5029
|
+
};
|
|
4983
5030
|
/**
|
|
4984
5031
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
4985
5032
|
* `create.targetSchema` link.
|
|
4986
5033
|
*/
|
|
4987
|
-
export
|
|
5034
|
+
export declare type ItemCreateTargetSchema = {
|
|
4988
5035
|
data: Item;
|
|
4989
5036
|
included: (ItemType | Item)[];
|
|
4990
|
-
}
|
|
5037
|
+
};
|
|
4991
5038
|
/**
|
|
4992
5039
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
4993
5040
|
* `duplicate.targetSchema` link.
|
|
4994
5041
|
*/
|
|
4995
|
-
export
|
|
5042
|
+
export declare type ItemDuplicateTargetSchema = {
|
|
4996
5043
|
data: Job;
|
|
4997
|
-
}
|
|
5044
|
+
};
|
|
4998
5045
|
/**
|
|
4999
5046
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5000
5047
|
* `duplicate.jobSchema` link.
|
|
5001
5048
|
*/
|
|
5002
|
-
export
|
|
5049
|
+
export declare type ItemDuplicateJobSchema = {
|
|
5003
5050
|
data: Item;
|
|
5004
5051
|
included: ItemType[];
|
|
5005
|
-
}
|
|
5052
|
+
};
|
|
5006
5053
|
/**
|
|
5007
5054
|
* This interface was referenced by `Item`'s JSON-Schema via the `update.schema`
|
|
5008
5055
|
* link.
|
|
5009
5056
|
*/
|
|
5010
|
-
export
|
|
5057
|
+
export declare type ItemUpdateSchema = {
|
|
5011
5058
|
data: {
|
|
5012
5059
|
type: ItemType1;
|
|
5013
5060
|
id: ItemIdentity;
|
|
@@ -5056,122 +5103,122 @@ export interface ItemUpdateSchema {
|
|
|
5056
5103
|
* properties.
|
|
5057
5104
|
*/
|
|
5058
5105
|
creator?: {
|
|
5059
|
-
data: AccountData | AccessTokenData | UserData | SsoUserData;
|
|
5106
|
+
data: AccountData | AccessTokenData | UserData | SsoUserData | OrganizationData;
|
|
5060
5107
|
};
|
|
5061
5108
|
};
|
|
5062
5109
|
};
|
|
5063
|
-
}
|
|
5110
|
+
};
|
|
5064
5111
|
/**
|
|
5065
5112
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5066
5113
|
* `update.targetSchema` link.
|
|
5067
5114
|
*/
|
|
5068
|
-
export
|
|
5115
|
+
export declare type ItemUpdateTargetSchema = {
|
|
5069
5116
|
data: Item;
|
|
5070
5117
|
included?: (ItemType | Item)[];
|
|
5071
|
-
}
|
|
5118
|
+
};
|
|
5072
5119
|
/**
|
|
5073
5120
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5074
5121
|
* `references.targetSchema` link.
|
|
5075
5122
|
*/
|
|
5076
|
-
export
|
|
5123
|
+
export declare type ItemReferencesTargetSchema = {
|
|
5077
5124
|
data: Item[];
|
|
5078
|
-
}
|
|
5125
|
+
};
|
|
5079
5126
|
/**
|
|
5080
5127
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5081
5128
|
* `self.targetSchema` link.
|
|
5082
5129
|
*/
|
|
5083
|
-
export
|
|
5130
|
+
export declare type ItemSelfTargetSchema = {
|
|
5084
5131
|
data: Item;
|
|
5085
|
-
}
|
|
5132
|
+
};
|
|
5086
5133
|
/**
|
|
5087
5134
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5088
5135
|
* `destroy.targetSchema` link.
|
|
5089
5136
|
*/
|
|
5090
|
-
export
|
|
5137
|
+
export declare type ItemDestroyTargetSchema = {
|
|
5091
5138
|
data: Job;
|
|
5092
|
-
}
|
|
5139
|
+
};
|
|
5093
5140
|
/**
|
|
5094
5141
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5095
5142
|
* `destroy.jobSchema` link.
|
|
5096
5143
|
*/
|
|
5097
|
-
export
|
|
5144
|
+
export declare type ItemDestroyJobSchema = {
|
|
5098
5145
|
data: Item;
|
|
5099
|
-
}
|
|
5146
|
+
};
|
|
5100
5147
|
/**
|
|
5101
5148
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5102
5149
|
* `batch_destroy.targetSchema` link.
|
|
5103
5150
|
*/
|
|
5104
|
-
export
|
|
5151
|
+
export declare type ItemBatchDestroyTargetSchema = {
|
|
5105
5152
|
data: Job;
|
|
5106
|
-
}
|
|
5153
|
+
};
|
|
5107
5154
|
/**
|
|
5108
5155
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5109
5156
|
* `batch_destroy.jobSchema` link.
|
|
5110
5157
|
*/
|
|
5111
|
-
export
|
|
5158
|
+
export declare type ItemBatchDestroyJobSchema = {
|
|
5112
5159
|
data: unknown[];
|
|
5113
5160
|
meta: {
|
|
5114
5161
|
successful: number;
|
|
5115
5162
|
failed: number;
|
|
5116
5163
|
};
|
|
5117
|
-
}
|
|
5164
|
+
};
|
|
5118
5165
|
/**
|
|
5119
5166
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5120
5167
|
* `batch_publish.targetSchema` link.
|
|
5121
5168
|
*/
|
|
5122
|
-
export
|
|
5169
|
+
export declare type ItemBatchPublishTargetSchema = {
|
|
5123
5170
|
data: Job;
|
|
5124
|
-
}
|
|
5171
|
+
};
|
|
5125
5172
|
/**
|
|
5126
5173
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5127
5174
|
* `batch_publish.jobSchema` link.
|
|
5128
5175
|
*/
|
|
5129
|
-
export
|
|
5176
|
+
export declare type ItemBatchPublishJobSchema = {
|
|
5130
5177
|
data: unknown[];
|
|
5131
5178
|
meta: {
|
|
5132
5179
|
successful: number;
|
|
5133
5180
|
failed: number;
|
|
5134
5181
|
};
|
|
5135
|
-
}
|
|
5182
|
+
};
|
|
5136
5183
|
/**
|
|
5137
5184
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5138
5185
|
* `batch_unpublish.targetSchema` link.
|
|
5139
5186
|
*/
|
|
5140
|
-
export
|
|
5187
|
+
export declare type ItemBatchUnpublishTargetSchema = {
|
|
5141
5188
|
data: Job;
|
|
5142
|
-
}
|
|
5189
|
+
};
|
|
5143
5190
|
/**
|
|
5144
5191
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5145
5192
|
* `batch_unpublish.jobSchema` link.
|
|
5146
5193
|
*/
|
|
5147
|
-
export
|
|
5194
|
+
export declare type ItemBatchUnpublishJobSchema = {
|
|
5148
5195
|
data: unknown[];
|
|
5149
5196
|
meta: {
|
|
5150
5197
|
successful: number;
|
|
5151
5198
|
failed: number;
|
|
5152
5199
|
};
|
|
5153
|
-
}
|
|
5200
|
+
};
|
|
5154
5201
|
/**
|
|
5155
5202
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5156
5203
|
* `publish.targetSchema` link.
|
|
5157
5204
|
*/
|
|
5158
|
-
export
|
|
5205
|
+
export declare type ItemPublishTargetSchema = {
|
|
5159
5206
|
data: Item;
|
|
5160
5207
|
included?: ItemType[];
|
|
5161
|
-
}
|
|
5208
|
+
};
|
|
5162
5209
|
/**
|
|
5163
5210
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5164
5211
|
* `unpublish.targetSchema` link.
|
|
5165
5212
|
*/
|
|
5166
|
-
export
|
|
5213
|
+
export declare type ItemUnpublishTargetSchema = {
|
|
5167
5214
|
data: Item;
|
|
5168
5215
|
included?: ItemType[];
|
|
5169
|
-
}
|
|
5216
|
+
};
|
|
5170
5217
|
/**
|
|
5171
5218
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5172
5219
|
* `bulk_publish.schema` link.
|
|
5173
5220
|
*/
|
|
5174
|
-
export
|
|
5221
|
+
export declare type ItemBulkPublishSchema = {
|
|
5175
5222
|
data: {
|
|
5176
5223
|
/** JSON API type field */
|
|
5177
5224
|
type: 'item_bulk_publish_operation';
|
|
@@ -5183,30 +5230,30 @@ export interface ItemBulkPublishSchema {
|
|
|
5183
5230
|
minItems?: unknown;
|
|
5184
5231
|
};
|
|
5185
5232
|
};
|
|
5186
|
-
}
|
|
5233
|
+
};
|
|
5187
5234
|
/**
|
|
5188
5235
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5189
5236
|
* `bulk_publish.targetSchema` link.
|
|
5190
5237
|
*/
|
|
5191
|
-
export
|
|
5238
|
+
export declare type ItemBulkPublishTargetSchema = {
|
|
5192
5239
|
data: Job;
|
|
5193
|
-
}
|
|
5240
|
+
};
|
|
5194
5241
|
/**
|
|
5195
5242
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5196
5243
|
* `bulk_publish.jobSchema` link.
|
|
5197
5244
|
*/
|
|
5198
|
-
export
|
|
5245
|
+
export declare type ItemBulkPublishJobSchema = {
|
|
5199
5246
|
data: unknown[];
|
|
5200
5247
|
meta: {
|
|
5201
5248
|
successful: number;
|
|
5202
5249
|
failed: number;
|
|
5203
5250
|
};
|
|
5204
|
-
}
|
|
5251
|
+
};
|
|
5205
5252
|
/**
|
|
5206
5253
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5207
5254
|
* `bulk_unpublish.schema` link.
|
|
5208
5255
|
*/
|
|
5209
|
-
export
|
|
5256
|
+
export declare type ItemBulkUnpublishSchema = {
|
|
5210
5257
|
data: {
|
|
5211
5258
|
/** JSON API type field */
|
|
5212
5259
|
type: 'item_bulk_unpublish_operation';
|
|
@@ -5218,30 +5265,30 @@ export interface ItemBulkUnpublishSchema {
|
|
|
5218
5265
|
minItems?: unknown;
|
|
5219
5266
|
};
|
|
5220
5267
|
};
|
|
5221
|
-
}
|
|
5268
|
+
};
|
|
5222
5269
|
/**
|
|
5223
5270
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5224
5271
|
* `bulk_unpublish.targetSchema` link.
|
|
5225
5272
|
*/
|
|
5226
|
-
export
|
|
5273
|
+
export declare type ItemBulkUnpublishTargetSchema = {
|
|
5227
5274
|
data: Job;
|
|
5228
|
-
}
|
|
5275
|
+
};
|
|
5229
5276
|
/**
|
|
5230
5277
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5231
5278
|
* `bulk_unpublish.jobSchema` link.
|
|
5232
5279
|
*/
|
|
5233
|
-
export
|
|
5280
|
+
export declare type ItemBulkUnpublishJobSchema = {
|
|
5234
5281
|
data: unknown[];
|
|
5235
5282
|
meta: {
|
|
5236
5283
|
successful: number;
|
|
5237
5284
|
failed: number;
|
|
5238
5285
|
};
|
|
5239
|
-
}
|
|
5286
|
+
};
|
|
5240
5287
|
/**
|
|
5241
5288
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5242
5289
|
* `bulk_destroy.schema` link.
|
|
5243
5290
|
*/
|
|
5244
|
-
export
|
|
5291
|
+
export declare type ItemBulkDestroySchema = {
|
|
5245
5292
|
data: {
|
|
5246
5293
|
/** JSON API type field */
|
|
5247
5294
|
type: 'item_bulk_destroy_operation';
|
|
@@ -5253,30 +5300,30 @@ export interface ItemBulkDestroySchema {
|
|
|
5253
5300
|
minItems?: unknown;
|
|
5254
5301
|
};
|
|
5255
5302
|
};
|
|
5256
|
-
}
|
|
5303
|
+
};
|
|
5257
5304
|
/**
|
|
5258
5305
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5259
5306
|
* `bulk_destroy.targetSchema` link.
|
|
5260
5307
|
*/
|
|
5261
|
-
export
|
|
5308
|
+
export declare type ItemBulkDestroyTargetSchema = {
|
|
5262
5309
|
data: Job;
|
|
5263
|
-
}
|
|
5310
|
+
};
|
|
5264
5311
|
/**
|
|
5265
5312
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5266
5313
|
* `bulk_destroy.jobSchema` link.
|
|
5267
5314
|
*/
|
|
5268
|
-
export
|
|
5315
|
+
export declare type ItemBulkDestroyJobSchema = {
|
|
5269
5316
|
data: unknown[];
|
|
5270
5317
|
meta: {
|
|
5271
5318
|
successful: number;
|
|
5272
5319
|
failed: number;
|
|
5273
5320
|
};
|
|
5274
|
-
}
|
|
5321
|
+
};
|
|
5275
5322
|
/**
|
|
5276
5323
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5277
5324
|
* `bulk_move_to_stage.schema` link.
|
|
5278
5325
|
*/
|
|
5279
|
-
export
|
|
5326
|
+
export declare type ItemBulkMoveToStageSchema = {
|
|
5280
5327
|
data: {
|
|
5281
5328
|
/** JSON API type field */
|
|
5282
5329
|
type: 'item_bulk_move_to_stage_operation';
|
|
@@ -5292,54 +5339,54 @@ export interface ItemBulkMoveToStageSchema {
|
|
|
5292
5339
|
minItems?: unknown;
|
|
5293
5340
|
};
|
|
5294
5341
|
};
|
|
5295
|
-
}
|
|
5342
|
+
};
|
|
5296
5343
|
/**
|
|
5297
5344
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5298
5345
|
* `bulk_move_to_stage.targetSchema` link.
|
|
5299
5346
|
*/
|
|
5300
|
-
export
|
|
5347
|
+
export declare type ItemBulkMoveToStageTargetSchema = {
|
|
5301
5348
|
data: Job;
|
|
5302
|
-
}
|
|
5349
|
+
};
|
|
5303
5350
|
/**
|
|
5304
5351
|
* This interface was referenced by `Item`'s JSON-Schema via the
|
|
5305
5352
|
* `bulk_move_to_stage.jobSchema` link.
|
|
5306
5353
|
*/
|
|
5307
|
-
export
|
|
5354
|
+
export declare type ItemBulkMoveToStageJobSchema = {
|
|
5308
5355
|
data: unknown[];
|
|
5309
5356
|
meta: {
|
|
5310
5357
|
successful: number;
|
|
5311
5358
|
failed: number;
|
|
5312
5359
|
};
|
|
5313
|
-
}
|
|
5360
|
+
};
|
|
5314
5361
|
/**
|
|
5315
5362
|
* Every change to a record is stored as a separate record version in DatoCMS.
|
|
5316
5363
|
*
|
|
5317
5364
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
5318
5365
|
* "item_version".
|
|
5319
5366
|
*/
|
|
5320
|
-
export
|
|
5367
|
+
export declare type ItemVersion = {
|
|
5321
5368
|
type: ItemVersionType;
|
|
5322
5369
|
id: ItemVersionIdentity;
|
|
5323
5370
|
attributes: ItemVersionAttributes;
|
|
5324
5371
|
relationships: ItemVersionRelationships;
|
|
5325
5372
|
meta: ItemVersionMeta;
|
|
5326
|
-
}
|
|
5373
|
+
};
|
|
5327
5374
|
/**
|
|
5328
5375
|
* The JSON data associated to the record version
|
|
5329
5376
|
*
|
|
5330
5377
|
* This interface was referenced by `ItemVersion`'s JSON-Schema via the
|
|
5331
5378
|
* `definition` "attributes".
|
|
5332
5379
|
*/
|
|
5333
|
-
export
|
|
5380
|
+
export declare type ItemVersionAttributes = {
|
|
5334
5381
|
[k: string]: unknown;
|
|
5335
|
-
}
|
|
5382
|
+
};
|
|
5336
5383
|
/**
|
|
5337
5384
|
* JSON API links
|
|
5338
5385
|
*
|
|
5339
5386
|
* This interface was referenced by `ItemVersion`'s JSON-Schema via the
|
|
5340
5387
|
* `definition` "relationships".
|
|
5341
5388
|
*/
|
|
5342
|
-
export
|
|
5389
|
+
export declare type ItemVersionRelationships = {
|
|
5343
5390
|
/** The record version's model */
|
|
5344
5391
|
item_type: {
|
|
5345
5392
|
data: ItemTypeData;
|
|
@@ -5354,16 +5401,16 @@ export interface ItemVersionRelationships {
|
|
|
5354
5401
|
* `id` properties.
|
|
5355
5402
|
*/
|
|
5356
5403
|
editor: {
|
|
5357
|
-
data: AccountData | AccessTokenData | UserData | SsoUserData;
|
|
5404
|
+
data: AccountData | AccessTokenData | UserData | SsoUserData | OrganizationData;
|
|
5358
5405
|
};
|
|
5359
|
-
}
|
|
5406
|
+
};
|
|
5360
5407
|
/**
|
|
5361
5408
|
* Meta information regarding the record version
|
|
5362
5409
|
*
|
|
5363
5410
|
* This interface was referenced by `ItemVersion`'s JSON-Schema via the
|
|
5364
5411
|
* `definition` "meta".
|
|
5365
5412
|
*/
|
|
5366
|
-
export
|
|
5413
|
+
export declare type ItemVersionMeta = {
|
|
5367
5414
|
/** Date of record version creation */
|
|
5368
5415
|
created_at: string;
|
|
5369
5416
|
/** Whether the record version is valid or not */
|
|
@@ -5372,67 +5419,67 @@ export interface ItemVersionMeta {
|
|
|
5372
5419
|
is_published: boolean;
|
|
5373
5420
|
/** Whether the record version is the most recent version or not */
|
|
5374
5421
|
is_current: boolean;
|
|
5375
|
-
}
|
|
5422
|
+
};
|
|
5376
5423
|
/**
|
|
5377
5424
|
* JSON API data
|
|
5378
5425
|
*
|
|
5379
5426
|
* This interface was referenced by `ItemVersion`'s JSON-Schema via the
|
|
5380
5427
|
* `definition` "data".
|
|
5381
5428
|
*/
|
|
5382
|
-
export
|
|
5429
|
+
export declare type ItemVersionData = {
|
|
5383
5430
|
type: ItemVersionType;
|
|
5384
5431
|
id: ItemVersionIdentity;
|
|
5385
|
-
}
|
|
5432
|
+
};
|
|
5386
5433
|
/**
|
|
5387
5434
|
* This interface was referenced by `ItemVersion`'s JSON-Schema via the
|
|
5388
5435
|
* `restore.targetSchema` link.
|
|
5389
5436
|
*/
|
|
5390
|
-
export
|
|
5437
|
+
export declare type ItemVersionRestoreTargetSchema = {
|
|
5391
5438
|
data: Job;
|
|
5392
|
-
}
|
|
5439
|
+
};
|
|
5393
5440
|
/**
|
|
5394
5441
|
* This interface was referenced by `ItemVersion`'s JSON-Schema via the
|
|
5395
5442
|
* `restore.jobSchema` link.
|
|
5396
5443
|
*/
|
|
5397
|
-
export
|
|
5444
|
+
export declare type ItemVersionRestoreJobSchema = {
|
|
5398
5445
|
data: [Item, ItemVersion];
|
|
5399
|
-
}
|
|
5446
|
+
};
|
|
5400
5447
|
/**
|
|
5401
5448
|
* This interface was referenced by `ItemVersion`'s JSON-Schema via the
|
|
5402
5449
|
* `instances.targetSchema` link.
|
|
5403
5450
|
*/
|
|
5404
|
-
export
|
|
5451
|
+
export declare type ItemVersionInstancesTargetSchema = {
|
|
5405
5452
|
data: ItemVersion[];
|
|
5406
5453
|
meta: {
|
|
5407
5454
|
total_count: number;
|
|
5408
5455
|
};
|
|
5409
|
-
}
|
|
5456
|
+
};
|
|
5410
5457
|
/**
|
|
5411
5458
|
* This interface was referenced by `ItemVersion`'s JSON-Schema via the
|
|
5412
5459
|
* `self.targetSchema` link.
|
|
5413
5460
|
*/
|
|
5414
|
-
export
|
|
5461
|
+
export declare type ItemVersionSelfTargetSchema = {
|
|
5415
5462
|
data: ItemVersion;
|
|
5416
|
-
}
|
|
5463
|
+
};
|
|
5417
5464
|
/**
|
|
5418
5465
|
* Every file you upload to DatoCMS will be retrievable from this endpoint.
|
|
5419
5466
|
*
|
|
5420
5467
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
5421
5468
|
* "upload".
|
|
5422
5469
|
*/
|
|
5423
|
-
export
|
|
5470
|
+
export declare type Upload = {
|
|
5424
5471
|
type: UploadType;
|
|
5425
5472
|
id: UploadIdentity;
|
|
5426
5473
|
attributes: UploadAttributes;
|
|
5427
5474
|
relationships: UploadRelationships;
|
|
5428
|
-
}
|
|
5475
|
+
};
|
|
5429
5476
|
/**
|
|
5430
5477
|
* JSON API attributes
|
|
5431
5478
|
*
|
|
5432
5479
|
* This interface was referenced by `Upload`'s JSON-Schema via the `definition`
|
|
5433
5480
|
* "attributes".
|
|
5434
5481
|
*/
|
|
5435
|
-
export
|
|
5482
|
+
export declare type UploadAttributes = {
|
|
5436
5483
|
/** Size of the upload */
|
|
5437
5484
|
size: number;
|
|
5438
5485
|
/** Width of image */
|
|
@@ -5525,37 +5572,37 @@ export interface UploadAttributes {
|
|
|
5525
5572
|
/** Alpha value (from 0 to 255) */
|
|
5526
5573
|
alpha: number;
|
|
5527
5574
|
}[];
|
|
5528
|
-
}
|
|
5575
|
+
};
|
|
5529
5576
|
/**
|
|
5530
5577
|
* JSON API links
|
|
5531
5578
|
*
|
|
5532
5579
|
* This interface was referenced by `Upload`'s JSON-Schema via the `definition`
|
|
5533
5580
|
* "relationships".
|
|
5534
5581
|
*/
|
|
5535
|
-
export
|
|
5582
|
+
export declare type UploadRelationships = {
|
|
5536
5583
|
/**
|
|
5537
5584
|
* The entity (account/collaborator/access token) who created the asset. It
|
|
5538
5585
|
* must be an object with `type` (e.g. 'account') and `id` properties.
|
|
5539
5586
|
*/
|
|
5540
5587
|
creator: {
|
|
5541
|
-
data: AccountData | AccessTokenData | UserData | SsoUserData;
|
|
5588
|
+
data: AccountData | AccessTokenData | UserData | SsoUserData | OrganizationData;
|
|
5542
5589
|
};
|
|
5543
|
-
}
|
|
5590
|
+
};
|
|
5544
5591
|
/**
|
|
5545
5592
|
* JSON API data
|
|
5546
5593
|
*
|
|
5547
5594
|
* This interface was referenced by `Upload`'s JSON-Schema via the `definition`
|
|
5548
5595
|
* "data".
|
|
5549
5596
|
*/
|
|
5550
|
-
export
|
|
5597
|
+
export declare type UploadData = {
|
|
5551
5598
|
type: UploadType;
|
|
5552
5599
|
id: UploadIdentity;
|
|
5553
|
-
}
|
|
5600
|
+
};
|
|
5554
5601
|
/**
|
|
5555
5602
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
5556
5603
|
* `create.schema` link.
|
|
5557
5604
|
*/
|
|
5558
|
-
export
|
|
5605
|
+
export declare type UploadCreateSchema = {
|
|
5559
5606
|
data: {
|
|
5560
5607
|
type: UploadType;
|
|
5561
5608
|
attributes: {
|
|
@@ -5600,50 +5647,50 @@ export interface UploadCreateSchema {
|
|
|
5600
5647
|
[k: string]: unknown;
|
|
5601
5648
|
};
|
|
5602
5649
|
};
|
|
5603
|
-
}
|
|
5650
|
+
};
|
|
5604
5651
|
/**
|
|
5605
5652
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
5606
5653
|
* `create.targetSchema` link.
|
|
5607
5654
|
*/
|
|
5608
|
-
export
|
|
5655
|
+
export declare type UploadCreateTargetSchema = {
|
|
5609
5656
|
data: Job;
|
|
5610
|
-
}
|
|
5657
|
+
};
|
|
5611
5658
|
/**
|
|
5612
5659
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
5613
5660
|
* `create.jobSchema` link.
|
|
5614
5661
|
*/
|
|
5615
|
-
export
|
|
5662
|
+
export declare type UploadCreateJobSchema = {
|
|
5616
5663
|
data: Upload;
|
|
5617
|
-
}
|
|
5664
|
+
};
|
|
5618
5665
|
/**
|
|
5619
5666
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
5620
5667
|
* `instances.targetSchema` link.
|
|
5621
5668
|
*/
|
|
5622
|
-
export
|
|
5669
|
+
export declare type UploadInstancesTargetSchema = {
|
|
5623
5670
|
data: Upload[];
|
|
5624
5671
|
meta: {
|
|
5625
5672
|
total_count: number;
|
|
5626
5673
|
};
|
|
5627
|
-
}
|
|
5674
|
+
};
|
|
5628
5675
|
/**
|
|
5629
5676
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
5630
5677
|
* `self.targetSchema` link.
|
|
5631
5678
|
*/
|
|
5632
|
-
export
|
|
5679
|
+
export declare type UploadSelfTargetSchema = {
|
|
5633
5680
|
data: Upload;
|
|
5634
|
-
}
|
|
5681
|
+
};
|
|
5635
5682
|
/**
|
|
5636
5683
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
5637
5684
|
* `destroy.targetSchema` link.
|
|
5638
5685
|
*/
|
|
5639
|
-
export
|
|
5686
|
+
export declare type UploadDestroyTargetSchema = {
|
|
5640
5687
|
data: Upload;
|
|
5641
|
-
}
|
|
5688
|
+
};
|
|
5642
5689
|
/**
|
|
5643
5690
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
5644
5691
|
* `update.schema` link.
|
|
5645
5692
|
*/
|
|
5646
|
-
export
|
|
5693
|
+
export declare type UploadUpdateSchema = {
|
|
5647
5694
|
data: {
|
|
5648
5695
|
type: UploadType;
|
|
5649
5696
|
id: UploadIdentity;
|
|
@@ -5696,30 +5743,30 @@ export interface UploadUpdateSchema {
|
|
|
5696
5743
|
* It must be an object with `type` (e.g. 'account') and `id` properties.
|
|
5697
5744
|
*/
|
|
5698
5745
|
creator: {
|
|
5699
|
-
data: AccountData | AccessTokenData | UserData | SsoUserData;
|
|
5746
|
+
data: AccountData | AccessTokenData | UserData | SsoUserData | OrganizationData;
|
|
5700
5747
|
};
|
|
5701
5748
|
};
|
|
5702
5749
|
};
|
|
5703
|
-
}
|
|
5750
|
+
};
|
|
5704
5751
|
/**
|
|
5705
5752
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
5706
5753
|
* `update.targetSchema` link.
|
|
5707
5754
|
*/
|
|
5708
|
-
export
|
|
5755
|
+
export declare type UploadUpdateTargetSchema = {
|
|
5709
5756
|
data: Job;
|
|
5710
|
-
}
|
|
5757
|
+
};
|
|
5711
5758
|
/**
|
|
5712
5759
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
5713
5760
|
* `update.jobSchema` link.
|
|
5714
5761
|
*/
|
|
5715
|
-
export
|
|
5762
|
+
export declare type UploadUpdateJobSchema = {
|
|
5716
5763
|
data: Upload;
|
|
5717
|
-
}
|
|
5764
|
+
};
|
|
5718
5765
|
/**
|
|
5719
5766
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
5720
5767
|
* `batch_add_tags.schema` link.
|
|
5721
5768
|
*/
|
|
5722
|
-
export
|
|
5769
|
+
export declare type UploadBatchAddTagsSchema = {
|
|
5723
5770
|
data: {
|
|
5724
5771
|
type: UploadType;
|
|
5725
5772
|
attributes: {
|
|
@@ -5727,55 +5774,55 @@ export interface UploadBatchAddTagsSchema {
|
|
|
5727
5774
|
tags: string[];
|
|
5728
5775
|
};
|
|
5729
5776
|
};
|
|
5730
|
-
}
|
|
5777
|
+
};
|
|
5731
5778
|
/**
|
|
5732
5779
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
5733
5780
|
* `batch_add_tags.targetSchema` link.
|
|
5734
5781
|
*/
|
|
5735
|
-
export
|
|
5782
|
+
export declare type UploadBatchAddTagsTargetSchema = {
|
|
5736
5783
|
data: Job;
|
|
5737
|
-
}
|
|
5784
|
+
};
|
|
5738
5785
|
/**
|
|
5739
5786
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
5740
5787
|
* `batch_add_tags.jobSchema` link.
|
|
5741
5788
|
*/
|
|
5742
|
-
export
|
|
5789
|
+
export declare type UploadBatchAddTagsJobSchema = {
|
|
5743
5790
|
data: unknown[];
|
|
5744
5791
|
meta: {
|
|
5745
5792
|
successful: number;
|
|
5746
5793
|
failed: number;
|
|
5747
5794
|
};
|
|
5748
|
-
}
|
|
5795
|
+
};
|
|
5749
5796
|
/**
|
|
5750
5797
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
5751
5798
|
* `batch_destroy.targetSchema` link.
|
|
5752
5799
|
*/
|
|
5753
|
-
export
|
|
5800
|
+
export declare type UploadBatchDestroyTargetSchema = {
|
|
5754
5801
|
data: Job;
|
|
5755
|
-
}
|
|
5802
|
+
};
|
|
5756
5803
|
/**
|
|
5757
5804
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
5758
5805
|
* `batch_destroy.jobSchema` link.
|
|
5759
5806
|
*/
|
|
5760
|
-
export
|
|
5807
|
+
export declare type UploadBatchDestroyJobSchema = {
|
|
5761
5808
|
data: unknown[];
|
|
5762
5809
|
meta: {
|
|
5763
5810
|
successful: number;
|
|
5764
5811
|
failed: number;
|
|
5765
5812
|
};
|
|
5766
|
-
}
|
|
5813
|
+
};
|
|
5767
5814
|
/**
|
|
5768
5815
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
5769
5816
|
* `references.targetSchema` link.
|
|
5770
5817
|
*/
|
|
5771
|
-
export
|
|
5818
|
+
export declare type UploadReferencesTargetSchema = {
|
|
5772
5819
|
data: Item[];
|
|
5773
|
-
}
|
|
5820
|
+
};
|
|
5774
5821
|
/**
|
|
5775
5822
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
5776
5823
|
* `bulk_tag.schema` link.
|
|
5777
5824
|
*/
|
|
5778
|
-
export
|
|
5825
|
+
export declare type UploadBulkTagSchema = {
|
|
5779
5826
|
data: {
|
|
5780
5827
|
/** JSON API type field */
|
|
5781
5828
|
type: 'upload_bulk_tag_operation';
|
|
@@ -5791,30 +5838,30 @@ export interface UploadBulkTagSchema {
|
|
|
5791
5838
|
};
|
|
5792
5839
|
};
|
|
5793
5840
|
};
|
|
5794
|
-
}
|
|
5841
|
+
};
|
|
5795
5842
|
/**
|
|
5796
5843
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
5797
5844
|
* `bulk_tag.targetSchema` link.
|
|
5798
5845
|
*/
|
|
5799
|
-
export
|
|
5846
|
+
export declare type UploadBulkTagTargetSchema = {
|
|
5800
5847
|
data: Job;
|
|
5801
|
-
}
|
|
5848
|
+
};
|
|
5802
5849
|
/**
|
|
5803
5850
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
5804
5851
|
* `bulk_tag.jobSchema` link.
|
|
5805
5852
|
*/
|
|
5806
|
-
export
|
|
5853
|
+
export declare type UploadBulkTagJobSchema = {
|
|
5807
5854
|
data: unknown[];
|
|
5808
5855
|
meta: {
|
|
5809
5856
|
successful: number;
|
|
5810
5857
|
failed: number;
|
|
5811
5858
|
};
|
|
5812
|
-
}
|
|
5859
|
+
};
|
|
5813
5860
|
/**
|
|
5814
5861
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
5815
5862
|
* `bulk_destroy.schema` link.
|
|
5816
5863
|
*/
|
|
5817
|
-
export
|
|
5864
|
+
export declare type UploadBulkDestroySchema = {
|
|
5818
5865
|
data: {
|
|
5819
5866
|
/** JSON API type field */
|
|
5820
5867
|
type: 'upload_bulk_destroy_operation';
|
|
@@ -5825,25 +5872,25 @@ export interface UploadBulkDestroySchema {
|
|
|
5825
5872
|
};
|
|
5826
5873
|
};
|
|
5827
5874
|
};
|
|
5828
|
-
}
|
|
5875
|
+
};
|
|
5829
5876
|
/**
|
|
5830
5877
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
5831
5878
|
* `bulk_destroy.targetSchema` link.
|
|
5832
5879
|
*/
|
|
5833
|
-
export
|
|
5880
|
+
export declare type UploadBulkDestroyTargetSchema = {
|
|
5834
5881
|
data: Job;
|
|
5835
|
-
}
|
|
5882
|
+
};
|
|
5836
5883
|
/**
|
|
5837
5884
|
* This interface was referenced by `Upload`'s JSON-Schema via the
|
|
5838
5885
|
* `bulk_destroy.jobSchema` link.
|
|
5839
5886
|
*/
|
|
5840
|
-
export
|
|
5887
|
+
export declare type UploadBulkDestroyJobSchema = {
|
|
5841
5888
|
data: unknown[];
|
|
5842
5889
|
meta: {
|
|
5843
5890
|
successful: number;
|
|
5844
5891
|
failed: number;
|
|
5845
5892
|
};
|
|
5846
|
-
}
|
|
5893
|
+
};
|
|
5847
5894
|
/**
|
|
5848
5895
|
* To upload a file in DatoCMS, first you need to obtain an upload permission
|
|
5849
5896
|
* through this API endpoint. The response will contain the S3 URL where you
|
|
@@ -5852,27 +5899,27 @@ export interface UploadBulkDestroyJobSchema {
|
|
|
5852
5899
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
5853
5900
|
* "upload_request".
|
|
5854
5901
|
*/
|
|
5855
|
-
export
|
|
5902
|
+
export declare type UploadRequest = {
|
|
5856
5903
|
type: UploadRequestType;
|
|
5857
5904
|
id: UploadRequestIdentity;
|
|
5858
5905
|
attributes: UploadRequestAttributes;
|
|
5859
|
-
}
|
|
5906
|
+
};
|
|
5860
5907
|
/**
|
|
5861
5908
|
* JSON API attributes
|
|
5862
5909
|
*
|
|
5863
5910
|
* This interface was referenced by `UploadRequest`'s JSON-Schema via the
|
|
5864
5911
|
* `definition` "attributes".
|
|
5865
5912
|
*/
|
|
5866
|
-
export
|
|
5913
|
+
export declare type UploadRequestAttributes = {
|
|
5867
5914
|
/** The URL to use to upload the file with a direct PUT request */
|
|
5868
5915
|
url: string;
|
|
5869
5916
|
[k: string]: unknown;
|
|
5870
|
-
}
|
|
5917
|
+
};
|
|
5871
5918
|
/**
|
|
5872
5919
|
* This interface was referenced by `UploadRequest`'s JSON-Schema via the
|
|
5873
5920
|
* `create.schema` link.
|
|
5874
5921
|
*/
|
|
5875
|
-
export
|
|
5922
|
+
export declare type UploadRequestCreateSchema = {
|
|
5876
5923
|
data: {
|
|
5877
5924
|
type: UploadRequestType;
|
|
5878
5925
|
/** JSON API attributes */
|
|
@@ -5882,152 +5929,152 @@ export interface UploadRequestCreateSchema {
|
|
|
5882
5929
|
[k: string]: unknown;
|
|
5883
5930
|
};
|
|
5884
5931
|
};
|
|
5885
|
-
}
|
|
5932
|
+
};
|
|
5886
5933
|
/**
|
|
5887
5934
|
* This interface was referenced by `UploadRequest`'s JSON-Schema via the
|
|
5888
5935
|
* `create.targetSchema` link.
|
|
5889
5936
|
*/
|
|
5890
|
-
export
|
|
5937
|
+
export declare type UploadRequestCreateTargetSchema = {
|
|
5891
5938
|
data: UploadRequest;
|
|
5892
|
-
}
|
|
5939
|
+
};
|
|
5893
5940
|
/**
|
|
5894
5941
|
* You can create scheduled publication to publish records in the future
|
|
5895
5942
|
*
|
|
5896
5943
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
5897
5944
|
* "scheduled_publication".
|
|
5898
5945
|
*/
|
|
5899
|
-
export
|
|
5946
|
+
export declare type ScheduledPublication = {
|
|
5900
5947
|
type: ScheduledPublicationType;
|
|
5901
5948
|
id: ScheduledPublicationIdentity;
|
|
5902
5949
|
attributes: ScheduledPublicationAttributes;
|
|
5903
5950
|
relationships: ScheduledPublicationRelationships;
|
|
5904
|
-
}
|
|
5951
|
+
};
|
|
5905
5952
|
/**
|
|
5906
5953
|
* JSON API attributes
|
|
5907
5954
|
*
|
|
5908
5955
|
* This interface was referenced by `ScheduledPublication`'s JSON-Schema via the
|
|
5909
5956
|
* `definition` "attributes".
|
|
5910
5957
|
*/
|
|
5911
|
-
export
|
|
5958
|
+
export declare type ScheduledPublicationAttributes = {
|
|
5912
5959
|
/** The future date for the publication */
|
|
5913
5960
|
publication_scheduled_at: string;
|
|
5914
|
-
}
|
|
5961
|
+
};
|
|
5915
5962
|
/**
|
|
5916
5963
|
* JSON API links
|
|
5917
5964
|
*
|
|
5918
5965
|
* This interface was referenced by `ScheduledPublication`'s JSON-Schema via the
|
|
5919
5966
|
* `definition` "relationships".
|
|
5920
5967
|
*/
|
|
5921
|
-
export
|
|
5968
|
+
export declare type ScheduledPublicationRelationships = {
|
|
5922
5969
|
/** Item */
|
|
5923
5970
|
item: {
|
|
5924
5971
|
data: ItemData;
|
|
5925
5972
|
};
|
|
5926
|
-
}
|
|
5973
|
+
};
|
|
5927
5974
|
/**
|
|
5928
5975
|
* JSON API data
|
|
5929
5976
|
*
|
|
5930
5977
|
* This interface was referenced by `ScheduledPublication`'s JSON-Schema via the
|
|
5931
5978
|
* `definition` "data".
|
|
5932
5979
|
*/
|
|
5933
|
-
export
|
|
5980
|
+
export declare type ScheduledPublicationData = {
|
|
5934
5981
|
type: ScheduledPublicationType;
|
|
5935
5982
|
id: ScheduledPublicationIdentity;
|
|
5936
|
-
}
|
|
5983
|
+
};
|
|
5937
5984
|
/**
|
|
5938
5985
|
* This interface was referenced by `ScheduledPublication`'s JSON-Schema via the
|
|
5939
5986
|
* `create.schema` link.
|
|
5940
5987
|
*/
|
|
5941
|
-
export
|
|
5988
|
+
export declare type ScheduledPublicationCreateSchema = {
|
|
5942
5989
|
data: {
|
|
5943
5990
|
type: ScheduledPublicationType;
|
|
5944
5991
|
attributes: ScheduledPublicationAttributes;
|
|
5945
5992
|
};
|
|
5946
|
-
}
|
|
5993
|
+
};
|
|
5947
5994
|
/**
|
|
5948
5995
|
* This interface was referenced by `ScheduledPublication`'s JSON-Schema via the
|
|
5949
5996
|
* `create.targetSchema` link.
|
|
5950
5997
|
*/
|
|
5951
|
-
export
|
|
5998
|
+
export declare type ScheduledPublicationCreateTargetSchema = {
|
|
5952
5999
|
data: ScheduledPublication;
|
|
5953
6000
|
included: Item[];
|
|
5954
|
-
}
|
|
6001
|
+
};
|
|
5955
6002
|
/**
|
|
5956
6003
|
* This interface was referenced by `ScheduledPublication`'s JSON-Schema via the
|
|
5957
6004
|
* `destroy.targetSchema` link.
|
|
5958
6005
|
*/
|
|
5959
|
-
export
|
|
6006
|
+
export declare type ScheduledPublicationDestroyTargetSchema = {
|
|
5960
6007
|
data: Item;
|
|
5961
|
-
}
|
|
6008
|
+
};
|
|
5962
6009
|
/**
|
|
5963
6010
|
* You can create a scheduled unpublishing to unpublish records in the future
|
|
5964
6011
|
*
|
|
5965
6012
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
5966
6013
|
* "scheduled_unpublishing".
|
|
5967
6014
|
*/
|
|
5968
|
-
export
|
|
6015
|
+
export declare type ScheduledUnpublishing = {
|
|
5969
6016
|
type: ScheduledUnpublishingType;
|
|
5970
6017
|
id: ScheduledUnpublishingIdentity;
|
|
5971
6018
|
attributes: ScheduledUnpublishingAttributes;
|
|
5972
6019
|
relationships: ScheduledUnpublishingRelationships;
|
|
5973
|
-
}
|
|
6020
|
+
};
|
|
5974
6021
|
/**
|
|
5975
6022
|
* JSON API attributes
|
|
5976
6023
|
*
|
|
5977
6024
|
* This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema via
|
|
5978
6025
|
* the `definition` "attributes".
|
|
5979
6026
|
*/
|
|
5980
|
-
export
|
|
6027
|
+
export declare type ScheduledUnpublishingAttributes = {
|
|
5981
6028
|
/** The future date for the unpublishing */
|
|
5982
6029
|
unpublishing_scheduled_at: string;
|
|
5983
|
-
}
|
|
6030
|
+
};
|
|
5984
6031
|
/**
|
|
5985
6032
|
* JSON API links
|
|
5986
6033
|
*
|
|
5987
6034
|
* This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema via
|
|
5988
6035
|
* the `definition` "relationships".
|
|
5989
6036
|
*/
|
|
5990
|
-
export
|
|
6037
|
+
export declare type ScheduledUnpublishingRelationships = {
|
|
5991
6038
|
/** Item */
|
|
5992
6039
|
item: {
|
|
5993
6040
|
data: ItemData;
|
|
5994
6041
|
};
|
|
5995
|
-
}
|
|
6042
|
+
};
|
|
5996
6043
|
/**
|
|
5997
6044
|
* JSON API data
|
|
5998
6045
|
*
|
|
5999
6046
|
* This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema via
|
|
6000
6047
|
* the `definition` "data".
|
|
6001
6048
|
*/
|
|
6002
|
-
export
|
|
6049
|
+
export declare type ScheduledUnpublishingData = {
|
|
6003
6050
|
type: ScheduledUnpublishingType;
|
|
6004
6051
|
id: ScheduledUnpublishingIdentity;
|
|
6005
|
-
}
|
|
6052
|
+
};
|
|
6006
6053
|
/**
|
|
6007
6054
|
* This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema via
|
|
6008
6055
|
* the `create.schema` link.
|
|
6009
6056
|
*/
|
|
6010
|
-
export
|
|
6057
|
+
export declare type ScheduledUnpublishingCreateSchema = {
|
|
6011
6058
|
data: {
|
|
6012
6059
|
type: ScheduledUnpublishingType;
|
|
6013
6060
|
attributes: ScheduledUnpublishingAttributes;
|
|
6014
6061
|
};
|
|
6015
|
-
}
|
|
6062
|
+
};
|
|
6016
6063
|
/**
|
|
6017
6064
|
* This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema via
|
|
6018
6065
|
* the `create.targetSchema` link.
|
|
6019
6066
|
*/
|
|
6020
|
-
export
|
|
6067
|
+
export declare type ScheduledUnpublishingCreateTargetSchema = {
|
|
6021
6068
|
data: ScheduledUnpublishing;
|
|
6022
6069
|
included: Item[];
|
|
6023
|
-
}
|
|
6070
|
+
};
|
|
6024
6071
|
/**
|
|
6025
6072
|
* This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema via
|
|
6026
6073
|
* the `destroy.targetSchema` link.
|
|
6027
6074
|
*/
|
|
6028
|
-
export
|
|
6075
|
+
export declare type ScheduledUnpublishingDestroyTargetSchema = {
|
|
6029
6076
|
data: Item;
|
|
6030
|
-
}
|
|
6077
|
+
};
|
|
6031
6078
|
/**
|
|
6032
6079
|
* DatoCMS Site Search is a way to deliver tailored search results to your site
|
|
6033
6080
|
* visitors. This is the endpoint you can use to query for results.
|
|
@@ -6035,18 +6082,18 @@ export interface ScheduledUnpublishingDestroyTargetSchema {
|
|
|
6035
6082
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
6036
6083
|
* "search_result".
|
|
6037
6084
|
*/
|
|
6038
|
-
export
|
|
6085
|
+
export declare type SearchResult = {
|
|
6039
6086
|
type: SearchResultType;
|
|
6040
6087
|
id: SearchResultIdentity;
|
|
6041
6088
|
attributes: SearchResultAttributes;
|
|
6042
|
-
}
|
|
6089
|
+
};
|
|
6043
6090
|
/**
|
|
6044
6091
|
* JSON API attributes
|
|
6045
6092
|
*
|
|
6046
6093
|
* This interface was referenced by `SearchResult`'s JSON-Schema via the
|
|
6047
6094
|
* `definition` "attributes".
|
|
6048
6095
|
*/
|
|
6049
|
-
export
|
|
6096
|
+
export declare type SearchResultAttributes = {
|
|
6050
6097
|
/** Title of the page */
|
|
6051
6098
|
title: string;
|
|
6052
6099
|
/** First 200 characters of page body, unformatted */
|
|
@@ -6059,27 +6106,27 @@ export interface SearchResultAttributes {
|
|
|
6059
6106
|
title?: string[] | null;
|
|
6060
6107
|
body?: string[] | null;
|
|
6061
6108
|
};
|
|
6062
|
-
}
|
|
6109
|
+
};
|
|
6063
6110
|
/**
|
|
6064
6111
|
* JSON API data
|
|
6065
6112
|
*
|
|
6066
6113
|
* This interface was referenced by `SearchResult`'s JSON-Schema via the
|
|
6067
6114
|
* `definition` "data".
|
|
6068
6115
|
*/
|
|
6069
|
-
export
|
|
6116
|
+
export declare type SearchResultData = {
|
|
6070
6117
|
type: SearchResultType;
|
|
6071
6118
|
id: SearchResultIdentity;
|
|
6072
|
-
}
|
|
6119
|
+
};
|
|
6073
6120
|
/**
|
|
6074
6121
|
* This interface was referenced by `SearchResult`'s JSON-Schema via the
|
|
6075
6122
|
* `instances.targetSchema` link.
|
|
6076
6123
|
*/
|
|
6077
|
-
export
|
|
6124
|
+
export declare type SearchResultInstancesTargetSchema = {
|
|
6078
6125
|
data: SearchResult[];
|
|
6079
6126
|
meta: {
|
|
6080
6127
|
total_count: number;
|
|
6081
6128
|
};
|
|
6082
|
-
}
|
|
6129
|
+
};
|
|
6083
6130
|
/**
|
|
6084
6131
|
* [Environments](https://www.datocms.com/docs/general-concepts/primary-and-sandbox-environments)
|
|
6085
6132
|
* make it easier for your development team to **manage and maintain content
|
|
@@ -6115,18 +6162,18 @@ export interface SearchResultInstancesTargetSchema {
|
|
|
6115
6162
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
6116
6163
|
* "environment".
|
|
6117
6164
|
*/
|
|
6118
|
-
export
|
|
6165
|
+
export declare type Environment = {
|
|
6119
6166
|
type: EnvironmentType;
|
|
6120
6167
|
id: EnvironmentIdentity;
|
|
6121
6168
|
meta: EnvironmentMeta;
|
|
6122
|
-
}
|
|
6169
|
+
};
|
|
6123
6170
|
/**
|
|
6124
6171
|
* Meta attributes
|
|
6125
6172
|
*
|
|
6126
6173
|
* This interface was referenced by `Environment`'s JSON-Schema via the
|
|
6127
6174
|
* `definition` "meta".
|
|
6128
6175
|
*/
|
|
6129
|
-
export
|
|
6176
|
+
export declare type EnvironmentMeta = {
|
|
6130
6177
|
/** Status of the environment */
|
|
6131
6178
|
status: 'creating' | 'ready' | 'destroying';
|
|
6132
6179
|
/** Date of creation */
|
|
@@ -6137,127 +6184,127 @@ export interface EnvironmentMeta {
|
|
|
6137
6184
|
primary: boolean;
|
|
6138
6185
|
/** ID of the environment that's been forked to generate this one */
|
|
6139
6186
|
forked_from?: string | null;
|
|
6140
|
-
}
|
|
6187
|
+
};
|
|
6141
6188
|
/**
|
|
6142
6189
|
* JSON API data
|
|
6143
6190
|
*
|
|
6144
6191
|
* This interface was referenced by `Environment`'s JSON-Schema via the
|
|
6145
6192
|
* `definition` "data".
|
|
6146
6193
|
*/
|
|
6147
|
-
export
|
|
6194
|
+
export declare type EnvironmentData = {
|
|
6148
6195
|
type: EnvironmentType;
|
|
6149
6196
|
id: EnvironmentIdentity;
|
|
6150
|
-
}
|
|
6197
|
+
};
|
|
6151
6198
|
/**
|
|
6152
6199
|
* This interface was referenced by `Environment`'s JSON-Schema via the
|
|
6153
6200
|
* `fork.schema` link.
|
|
6154
6201
|
*/
|
|
6155
|
-
export
|
|
6202
|
+
export declare type EnvironmentForkSchema = {
|
|
6156
6203
|
data: {
|
|
6157
6204
|
type: EnvironmentType;
|
|
6158
6205
|
/** The ID of the forked environment */
|
|
6159
6206
|
id: string;
|
|
6160
6207
|
};
|
|
6161
|
-
}
|
|
6208
|
+
};
|
|
6162
6209
|
/**
|
|
6163
6210
|
* This interface was referenced by `Environment`'s JSON-Schema via the
|
|
6164
6211
|
* `fork.targetSchema` link.
|
|
6165
6212
|
*/
|
|
6166
|
-
export
|
|
6213
|
+
export declare type EnvironmentForkTargetSchema = {
|
|
6167
6214
|
data: Job | Environment;
|
|
6168
|
-
}
|
|
6215
|
+
};
|
|
6169
6216
|
/**
|
|
6170
6217
|
* This interface was referenced by `Environment`'s JSON-Schema via the
|
|
6171
6218
|
* `fork.jobSchema` link.
|
|
6172
6219
|
*/
|
|
6173
|
-
export
|
|
6220
|
+
export declare type EnvironmentForkJobSchema = {
|
|
6174
6221
|
data: Environment;
|
|
6175
|
-
}
|
|
6222
|
+
};
|
|
6176
6223
|
/**
|
|
6177
6224
|
* This interface was referenced by `Environment`'s JSON-Schema via the
|
|
6178
6225
|
* `promote.targetSchema` link.
|
|
6179
6226
|
*/
|
|
6180
|
-
export
|
|
6227
|
+
export declare type EnvironmentPromoteTargetSchema = {
|
|
6181
6228
|
data: Environment;
|
|
6182
|
-
}
|
|
6229
|
+
};
|
|
6183
6230
|
/**
|
|
6184
6231
|
* This interface was referenced by `Environment`'s JSON-Schema via the
|
|
6185
6232
|
* `instances.targetSchema` link.
|
|
6186
6233
|
*/
|
|
6187
|
-
export
|
|
6234
|
+
export declare type EnvironmentInstancesTargetSchema = {
|
|
6188
6235
|
data: Environment[];
|
|
6189
|
-
}
|
|
6236
|
+
};
|
|
6190
6237
|
/**
|
|
6191
6238
|
* This interface was referenced by `Environment`'s JSON-Schema via the
|
|
6192
6239
|
* `self.targetSchema` link.
|
|
6193
6240
|
*/
|
|
6194
|
-
export
|
|
6241
|
+
export declare type EnvironmentSelfTargetSchema = {
|
|
6195
6242
|
data: Environment;
|
|
6196
|
-
}
|
|
6243
|
+
};
|
|
6197
6244
|
/**
|
|
6198
6245
|
* This interface was referenced by `Environment`'s JSON-Schema via the
|
|
6199
6246
|
* `destroy.targetSchema` link.
|
|
6200
6247
|
*/
|
|
6201
|
-
export
|
|
6248
|
+
export declare type EnvironmentDestroyTargetSchema = {
|
|
6202
6249
|
data: Job | Environment;
|
|
6203
|
-
}
|
|
6250
|
+
};
|
|
6204
6251
|
/**
|
|
6205
6252
|
* This interface was referenced by `Environment`'s JSON-Schema via the
|
|
6206
6253
|
* `destroy.jobSchema` link.
|
|
6207
6254
|
*/
|
|
6208
|
-
export
|
|
6255
|
+
export declare type EnvironmentDestroyJobSchema = {
|
|
6209
6256
|
data: Environment;
|
|
6210
|
-
}
|
|
6257
|
+
};
|
|
6211
6258
|
/**
|
|
6212
6259
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
6213
6260
|
* "maintenance_mode".
|
|
6214
6261
|
*/
|
|
6215
|
-
export
|
|
6262
|
+
export declare type MaintenanceMode = {
|
|
6216
6263
|
type: MaintenanceModeType;
|
|
6217
6264
|
id: MaintenanceModeIdentity;
|
|
6218
6265
|
attributes: MaintenanceModeAttributes;
|
|
6219
|
-
}
|
|
6266
|
+
};
|
|
6220
6267
|
/**
|
|
6221
6268
|
* JSON API attributes
|
|
6222
6269
|
*
|
|
6223
6270
|
* This interface was referenced by `MaintenanceMode`'s JSON-Schema via the
|
|
6224
6271
|
* `definition` "attributes".
|
|
6225
6272
|
*/
|
|
6226
|
-
export
|
|
6273
|
+
export declare type MaintenanceModeAttributes = {
|
|
6227
6274
|
/** Whether maintenance mode is currently active or not */
|
|
6228
6275
|
active: boolean;
|
|
6229
|
-
}
|
|
6276
|
+
};
|
|
6230
6277
|
/**
|
|
6231
6278
|
* JSON API data
|
|
6232
6279
|
*
|
|
6233
6280
|
* This interface was referenced by `MaintenanceMode`'s JSON-Schema via the
|
|
6234
6281
|
* `definition` "data".
|
|
6235
6282
|
*/
|
|
6236
|
-
export
|
|
6283
|
+
export declare type MaintenanceModeData = {
|
|
6237
6284
|
type: MaintenanceModeType;
|
|
6238
6285
|
id: MaintenanceModeIdentity;
|
|
6239
|
-
}
|
|
6286
|
+
};
|
|
6240
6287
|
/**
|
|
6241
6288
|
* This interface was referenced by `MaintenanceMode`'s JSON-Schema via the
|
|
6242
6289
|
* `self.targetSchema` link.
|
|
6243
6290
|
*/
|
|
6244
|
-
export
|
|
6291
|
+
export declare type MaintenanceModeSelfTargetSchema = {
|
|
6245
6292
|
data: MaintenanceMode;
|
|
6246
|
-
}
|
|
6293
|
+
};
|
|
6247
6294
|
/**
|
|
6248
6295
|
* This interface was referenced by `MaintenanceMode`'s JSON-Schema via the
|
|
6249
6296
|
* `activate.targetSchema` link.
|
|
6250
6297
|
*/
|
|
6251
|
-
export
|
|
6298
|
+
export declare type MaintenanceModeActivateTargetSchema = {
|
|
6252
6299
|
data: MaintenanceMode;
|
|
6253
|
-
}
|
|
6300
|
+
};
|
|
6254
6301
|
/**
|
|
6255
6302
|
* This interface was referenced by `MaintenanceMode`'s JSON-Schema via the
|
|
6256
6303
|
* `deactivate.targetSchema` link.
|
|
6257
6304
|
*/
|
|
6258
|
-
export
|
|
6305
|
+
export declare type MaintenanceModeDeactivateTargetSchema = {
|
|
6259
6306
|
data: MaintenanceMode;
|
|
6260
|
-
}
|
|
6307
|
+
};
|
|
6261
6308
|
/**
|
|
6262
6309
|
* A webhook allows to make requests following certain Dato events. It is linked
|
|
6263
6310
|
* to a Role, which describes what actions can be performed.
|
|
@@ -6265,18 +6312,18 @@ export interface MaintenanceModeDeactivateTargetSchema {
|
|
|
6265
6312
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
6266
6313
|
* "webhook".
|
|
6267
6314
|
*/
|
|
6268
|
-
export
|
|
6315
|
+
export declare type Webhook = {
|
|
6269
6316
|
type: WebhookType;
|
|
6270
6317
|
id: WebhookIdentity;
|
|
6271
6318
|
attributes: WebhookAttributes;
|
|
6272
|
-
}
|
|
6319
|
+
};
|
|
6273
6320
|
/**
|
|
6274
6321
|
* JSON API attributes
|
|
6275
6322
|
*
|
|
6276
6323
|
* This interface was referenced by `Webhook`'s JSON-Schema via the `definition`
|
|
6277
6324
|
* "attributes".
|
|
6278
6325
|
*/
|
|
6279
|
-
export
|
|
6326
|
+
export declare type WebhookAttributes = {
|
|
6280
6327
|
/** Unique name for the webhook */
|
|
6281
6328
|
name: string;
|
|
6282
6329
|
/** Whether the webhook is enabled and sending events or not */
|
|
@@ -6305,22 +6352,22 @@ export interface WebhookAttributes {
|
|
|
6305
6352
|
* or not
|
|
6306
6353
|
*/
|
|
6307
6354
|
nested_items_in_payload: boolean;
|
|
6308
|
-
}
|
|
6355
|
+
};
|
|
6309
6356
|
/**
|
|
6310
6357
|
* JSON API data
|
|
6311
6358
|
*
|
|
6312
6359
|
* This interface was referenced by `Webhook`'s JSON-Schema via the `definition`
|
|
6313
6360
|
* "data".
|
|
6314
6361
|
*/
|
|
6315
|
-
export
|
|
6362
|
+
export declare type WebhookData = {
|
|
6316
6363
|
type: WebhookType;
|
|
6317
6364
|
id: WebhookIdentity;
|
|
6318
|
-
}
|
|
6365
|
+
};
|
|
6319
6366
|
/**
|
|
6320
6367
|
* This interface was referenced by `Webhook`'s JSON-Schema via the
|
|
6321
6368
|
* `create.schema` link.
|
|
6322
6369
|
*/
|
|
6323
|
-
export
|
|
6370
|
+
export declare type WebhookCreateSchema = {
|
|
6324
6371
|
data: {
|
|
6325
6372
|
type: WebhookType;
|
|
6326
6373
|
attributes: {
|
|
@@ -6354,19 +6401,19 @@ export interface WebhookCreateSchema {
|
|
|
6354
6401
|
nested_items_in_payload?: boolean;
|
|
6355
6402
|
};
|
|
6356
6403
|
};
|
|
6357
|
-
}
|
|
6404
|
+
};
|
|
6358
6405
|
/**
|
|
6359
6406
|
* This interface was referenced by `Webhook`'s JSON-Schema via the
|
|
6360
6407
|
* `create.targetSchema` link.
|
|
6361
6408
|
*/
|
|
6362
|
-
export
|
|
6409
|
+
export declare type WebhookCreateTargetSchema = {
|
|
6363
6410
|
data: Webhook;
|
|
6364
|
-
}
|
|
6411
|
+
};
|
|
6365
6412
|
/**
|
|
6366
6413
|
* This interface was referenced by `Webhook`'s JSON-Schema via the
|
|
6367
6414
|
* `update.schema` link.
|
|
6368
6415
|
*/
|
|
6369
|
-
export
|
|
6416
|
+
export declare type WebhookUpdateSchema = {
|
|
6370
6417
|
data: {
|
|
6371
6418
|
type: WebhookType;
|
|
6372
6419
|
id: WebhookIdentity;
|
|
@@ -6401,54 +6448,54 @@ export interface WebhookUpdateSchema {
|
|
|
6401
6448
|
nested_items_in_payload?: boolean;
|
|
6402
6449
|
};
|
|
6403
6450
|
};
|
|
6404
|
-
}
|
|
6451
|
+
};
|
|
6405
6452
|
/**
|
|
6406
6453
|
* This interface was referenced by `Webhook`'s JSON-Schema via the
|
|
6407
6454
|
* `update.targetSchema` link.
|
|
6408
6455
|
*/
|
|
6409
|
-
export
|
|
6456
|
+
export declare type WebhookUpdateTargetSchema = {
|
|
6410
6457
|
data: Webhook;
|
|
6411
|
-
}
|
|
6458
|
+
};
|
|
6412
6459
|
/**
|
|
6413
6460
|
* This interface was referenced by `Webhook`'s JSON-Schema via the
|
|
6414
6461
|
* `instances.targetSchema` link.
|
|
6415
6462
|
*/
|
|
6416
|
-
export
|
|
6463
|
+
export declare type WebhookInstancesTargetSchema = {
|
|
6417
6464
|
data: Webhook[];
|
|
6418
|
-
}
|
|
6465
|
+
};
|
|
6419
6466
|
/**
|
|
6420
6467
|
* This interface was referenced by `Webhook`'s JSON-Schema via the
|
|
6421
6468
|
* `self.targetSchema` link.
|
|
6422
6469
|
*/
|
|
6423
|
-
export
|
|
6470
|
+
export declare type WebhookSelfTargetSchema = {
|
|
6424
6471
|
data: Webhook;
|
|
6425
|
-
}
|
|
6472
|
+
};
|
|
6426
6473
|
/**
|
|
6427
6474
|
* This interface was referenced by `Webhook`'s JSON-Schema via the
|
|
6428
6475
|
* `destroy.targetSchema` link.
|
|
6429
6476
|
*/
|
|
6430
|
-
export
|
|
6477
|
+
export declare type WebhookDestroyTargetSchema = {
|
|
6431
6478
|
data: Webhook;
|
|
6432
|
-
}
|
|
6479
|
+
};
|
|
6433
6480
|
/**
|
|
6434
6481
|
* Represents a log entry in the webhooks activity list.
|
|
6435
6482
|
*
|
|
6436
6483
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
6437
6484
|
* "webhook_call".
|
|
6438
6485
|
*/
|
|
6439
|
-
export
|
|
6486
|
+
export declare type WebhookCall = {
|
|
6440
6487
|
type: WebhookCallType;
|
|
6441
6488
|
id: WebhookCallIdentity;
|
|
6442
6489
|
attributes: WebhookCallAttributes;
|
|
6443
6490
|
relationships: WebhookCallRelationships;
|
|
6444
|
-
}
|
|
6491
|
+
};
|
|
6445
6492
|
/**
|
|
6446
6493
|
* JSON API attributes
|
|
6447
6494
|
*
|
|
6448
6495
|
* This interface was referenced by `WebhookCall`'s JSON-Schema via the
|
|
6449
6496
|
* `definition` "attributes".
|
|
6450
6497
|
*/
|
|
6451
|
-
export
|
|
6498
|
+
export declare type WebhookCallAttributes = {
|
|
6452
6499
|
/** The subject of webhook triggering */
|
|
6453
6500
|
entity_type: 'item' | 'item_type' | 'upload';
|
|
6454
6501
|
/** The event that triggers the webhook call */
|
|
@@ -6471,39 +6518,39 @@ export interface WebhookCallAttributes {
|
|
|
6471
6518
|
};
|
|
6472
6519
|
/** The body of the response */
|
|
6473
6520
|
response_payload: string | null;
|
|
6474
|
-
}
|
|
6521
|
+
};
|
|
6475
6522
|
/**
|
|
6476
6523
|
* JSON API links
|
|
6477
6524
|
*
|
|
6478
6525
|
* This interface was referenced by `WebhookCall`'s JSON-Schema via the
|
|
6479
6526
|
* `definition` "relationships".
|
|
6480
6527
|
*/
|
|
6481
|
-
export
|
|
6528
|
+
export declare type WebhookCallRelationships = {
|
|
6482
6529
|
/** The webhook which has been called */
|
|
6483
6530
|
webhook: {
|
|
6484
6531
|
data: WebhookData;
|
|
6485
6532
|
};
|
|
6486
|
-
}
|
|
6533
|
+
};
|
|
6487
6534
|
/**
|
|
6488
6535
|
* JSON API data
|
|
6489
6536
|
*
|
|
6490
6537
|
* This interface was referenced by `WebhookCall`'s JSON-Schema via the
|
|
6491
6538
|
* `definition` "data".
|
|
6492
6539
|
*/
|
|
6493
|
-
export
|
|
6540
|
+
export declare type WebhookCallData = {
|
|
6494
6541
|
type: WebhookCallType;
|
|
6495
6542
|
id: WebhookCallIdentity;
|
|
6496
|
-
}
|
|
6543
|
+
};
|
|
6497
6544
|
/**
|
|
6498
6545
|
* This interface was referenced by `WebhookCall`'s JSON-Schema via the
|
|
6499
6546
|
* `instances.targetSchema` link.
|
|
6500
6547
|
*/
|
|
6501
|
-
export
|
|
6548
|
+
export declare type WebhookCallInstancesTargetSchema = {
|
|
6502
6549
|
data: WebhookCall[];
|
|
6503
6550
|
meta: {
|
|
6504
6551
|
total_count: number;
|
|
6505
6552
|
};
|
|
6506
|
-
}
|
|
6553
|
+
};
|
|
6507
6554
|
/**
|
|
6508
6555
|
* Configuration for different build triggers. You can have different staging
|
|
6509
6556
|
* and production environments in order to test your site before final deploy
|
|
@@ -6511,18 +6558,18 @@ export interface WebhookCallInstancesTargetSchema {
|
|
|
6511
6558
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
6512
6559
|
* "build_trigger".
|
|
6513
6560
|
*/
|
|
6514
|
-
export
|
|
6561
|
+
export declare type BuildTrigger = {
|
|
6515
6562
|
type: BuildTriggerType;
|
|
6516
6563
|
id: BuildTriggerIdentity;
|
|
6517
6564
|
attributes: BuildTriggerAttributes;
|
|
6518
|
-
}
|
|
6565
|
+
};
|
|
6519
6566
|
/**
|
|
6520
6567
|
* JSON API attributes
|
|
6521
6568
|
*
|
|
6522
6569
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema via the
|
|
6523
6570
|
* `definition` "attributes".
|
|
6524
6571
|
*/
|
|
6525
|
-
export
|
|
6572
|
+
export declare type BuildTriggerAttributes = {
|
|
6526
6573
|
/** Name of the environment */
|
|
6527
6574
|
name: string;
|
|
6528
6575
|
/** The deploy adapter */
|
|
@@ -6547,26 +6594,26 @@ export interface BuildTriggerAttributes {
|
|
|
6547
6594
|
autotrigger_on_scheduled_publications: boolean;
|
|
6548
6595
|
/** Enable scraper on the site */
|
|
6549
6596
|
indexing_enabled: boolean;
|
|
6550
|
-
}
|
|
6597
|
+
};
|
|
6551
6598
|
/**
|
|
6552
6599
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema via the
|
|
6553
6600
|
* `instances.targetSchema` link.
|
|
6554
6601
|
*/
|
|
6555
|
-
export
|
|
6602
|
+
export declare type BuildTriggerInstancesTargetSchema = {
|
|
6556
6603
|
data: BuildTrigger[];
|
|
6557
|
-
}
|
|
6604
|
+
};
|
|
6558
6605
|
/**
|
|
6559
6606
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema via the
|
|
6560
6607
|
* `self.targetSchema` link.
|
|
6561
6608
|
*/
|
|
6562
|
-
export
|
|
6609
|
+
export declare type BuildTriggerSelfTargetSchema = {
|
|
6563
6610
|
data: BuildTrigger;
|
|
6564
|
-
}
|
|
6611
|
+
};
|
|
6565
6612
|
/**
|
|
6566
6613
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema via the
|
|
6567
6614
|
* `create.schema` link.
|
|
6568
6615
|
*/
|
|
6569
|
-
export
|
|
6616
|
+
export declare type BuildTriggerCreateSchema = {
|
|
6570
6617
|
data: {
|
|
6571
6618
|
type: BuildTriggerType;
|
|
6572
6619
|
attributes: {
|
|
@@ -6588,19 +6635,19 @@ export interface BuildTriggerCreateSchema {
|
|
|
6588
6635
|
};
|
|
6589
6636
|
};
|
|
6590
6637
|
};
|
|
6591
|
-
}
|
|
6638
|
+
};
|
|
6592
6639
|
/**
|
|
6593
6640
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema via the
|
|
6594
6641
|
* `create.targetSchema` link.
|
|
6595
6642
|
*/
|
|
6596
|
-
export
|
|
6643
|
+
export declare type BuildTriggerCreateTargetSchema = {
|
|
6597
6644
|
data: BuildTrigger;
|
|
6598
|
-
}
|
|
6645
|
+
};
|
|
6599
6646
|
/**
|
|
6600
6647
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema via the
|
|
6601
6648
|
* `update.schema` link.
|
|
6602
6649
|
*/
|
|
6603
|
-
export
|
|
6650
|
+
export declare type BuildTriggerUpdateSchema = {
|
|
6604
6651
|
data: {
|
|
6605
6652
|
type: BuildTriggerType;
|
|
6606
6653
|
id: BuildTriggerIdentity;
|
|
@@ -6621,21 +6668,21 @@ export interface BuildTriggerUpdateSchema {
|
|
|
6621
6668
|
};
|
|
6622
6669
|
};
|
|
6623
6670
|
};
|
|
6624
|
-
}
|
|
6671
|
+
};
|
|
6625
6672
|
/**
|
|
6626
6673
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema via the
|
|
6627
6674
|
* `update.targetSchema` link.
|
|
6628
6675
|
*/
|
|
6629
|
-
export
|
|
6676
|
+
export declare type BuildTriggerUpdateTargetSchema = {
|
|
6630
6677
|
data: BuildTrigger;
|
|
6631
|
-
}
|
|
6678
|
+
};
|
|
6632
6679
|
/**
|
|
6633
6680
|
* This interface was referenced by `BuildTrigger`'s JSON-Schema via the
|
|
6634
6681
|
* `destroy.targetSchema` link.
|
|
6635
6682
|
*/
|
|
6636
|
-
export
|
|
6683
|
+
export declare type BuildTriggerDestroyTargetSchema = {
|
|
6637
6684
|
data: BuildTrigger;
|
|
6638
|
-
}
|
|
6685
|
+
};
|
|
6639
6686
|
/**
|
|
6640
6687
|
* In DatoCMS you can create filters to help you (and other editors) quickly
|
|
6641
6688
|
* search for records
|
|
@@ -6643,19 +6690,19 @@ export interface BuildTriggerDestroyTargetSchema {
|
|
|
6643
6690
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
6644
6691
|
* "item_type_filter".
|
|
6645
6692
|
*/
|
|
6646
|
-
export
|
|
6693
|
+
export declare type ItemTypeFilter = {
|
|
6647
6694
|
type: ItemTypeFilterType;
|
|
6648
6695
|
id: ItemTypeFilterIdentity;
|
|
6649
6696
|
attributes: ItemTypeFilterAttributes;
|
|
6650
6697
|
relationships: ItemTypeFilterRelationships;
|
|
6651
|
-
}
|
|
6698
|
+
};
|
|
6652
6699
|
/**
|
|
6653
6700
|
* JSON API attributes
|
|
6654
6701
|
*
|
|
6655
6702
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema via the
|
|
6656
6703
|
* `definition` "attributes".
|
|
6657
6704
|
*/
|
|
6658
|
-
export
|
|
6705
|
+
export declare type ItemTypeFilterAttributes = {
|
|
6659
6706
|
/** The name of the filter */
|
|
6660
6707
|
name: string;
|
|
6661
6708
|
/**
|
|
@@ -6706,24 +6753,24 @@ export interface ItemTypeFilterAttributes {
|
|
|
6706
6753
|
order_by: string | null;
|
|
6707
6754
|
/** Whether it's a shared filter or not */
|
|
6708
6755
|
shared: boolean;
|
|
6709
|
-
}
|
|
6756
|
+
};
|
|
6710
6757
|
/**
|
|
6711
6758
|
* JSON API links
|
|
6712
6759
|
*
|
|
6713
6760
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema via the
|
|
6714
6761
|
* `definition` "relationships".
|
|
6715
6762
|
*/
|
|
6716
|
-
export
|
|
6763
|
+
export declare type ItemTypeFilterRelationships = {
|
|
6717
6764
|
/** Model associated with the filter */
|
|
6718
6765
|
item_type: {
|
|
6719
6766
|
data: ItemTypeData;
|
|
6720
6767
|
};
|
|
6721
|
-
}
|
|
6768
|
+
};
|
|
6722
6769
|
/**
|
|
6723
6770
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema via the
|
|
6724
6771
|
* `create.schema` link.
|
|
6725
6772
|
*/
|
|
6726
|
-
export
|
|
6773
|
+
export declare type ItemTypeFilterCreateSchema = {
|
|
6727
6774
|
data: {
|
|
6728
6775
|
type: ItemTypeFilterType;
|
|
6729
6776
|
attributes: {
|
|
@@ -6785,19 +6832,19 @@ export interface ItemTypeFilterCreateSchema {
|
|
|
6785
6832
|
};
|
|
6786
6833
|
};
|
|
6787
6834
|
};
|
|
6788
|
-
}
|
|
6835
|
+
};
|
|
6789
6836
|
/**
|
|
6790
6837
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema via the
|
|
6791
6838
|
* `create.targetSchema` link.
|
|
6792
6839
|
*/
|
|
6793
|
-
export
|
|
6840
|
+
export declare type ItemTypeFilterCreateTargetSchema = {
|
|
6794
6841
|
data: ItemTypeFilter;
|
|
6795
|
-
}
|
|
6842
|
+
};
|
|
6796
6843
|
/**
|
|
6797
6844
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema via the
|
|
6798
6845
|
* `update.schema` link.
|
|
6799
6846
|
*/
|
|
6800
|
-
export
|
|
6847
|
+
export declare type ItemTypeFilterUpdateSchema = {
|
|
6801
6848
|
data: {
|
|
6802
6849
|
type: ItemTypeFilterType;
|
|
6803
6850
|
id: ItemTypeFilterIdentity;
|
|
@@ -6861,35 +6908,35 @@ export interface ItemTypeFilterUpdateSchema {
|
|
|
6861
6908
|
};
|
|
6862
6909
|
};
|
|
6863
6910
|
};
|
|
6864
|
-
}
|
|
6911
|
+
};
|
|
6865
6912
|
/**
|
|
6866
6913
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema via the
|
|
6867
6914
|
* `update.targetSchema` link.
|
|
6868
6915
|
*/
|
|
6869
|
-
export
|
|
6916
|
+
export declare type ItemTypeFilterUpdateTargetSchema = {
|
|
6870
6917
|
data: ItemTypeFilter;
|
|
6871
|
-
}
|
|
6918
|
+
};
|
|
6872
6919
|
/**
|
|
6873
6920
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema via the
|
|
6874
6921
|
* `instances.targetSchema` link.
|
|
6875
6922
|
*/
|
|
6876
|
-
export
|
|
6923
|
+
export declare type ItemTypeFilterInstancesTargetSchema = {
|
|
6877
6924
|
data: ItemTypeFilter[];
|
|
6878
|
-
}
|
|
6925
|
+
};
|
|
6879
6926
|
/**
|
|
6880
6927
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema via the
|
|
6881
6928
|
* `self.targetSchema` link.
|
|
6882
6929
|
*/
|
|
6883
|
-
export
|
|
6930
|
+
export declare type ItemTypeFilterSelfTargetSchema = {
|
|
6884
6931
|
data: ItemTypeFilter;
|
|
6885
|
-
}
|
|
6932
|
+
};
|
|
6886
6933
|
/**
|
|
6887
6934
|
* This interface was referenced by `ItemTypeFilter`'s JSON-Schema via the
|
|
6888
6935
|
* `destroy.targetSchema` link.
|
|
6889
6936
|
*/
|
|
6890
|
-
export
|
|
6937
|
+
export declare type ItemTypeFilterDestroyTargetSchema = {
|
|
6891
6938
|
data: ItemTypeFilter;
|
|
6892
|
-
}
|
|
6939
|
+
};
|
|
6893
6940
|
/**
|
|
6894
6941
|
* In DatoCMS you can create filters to help you (and other editors) quickly
|
|
6895
6942
|
* search for uploads
|
|
@@ -6897,18 +6944,18 @@ export interface ItemTypeFilterDestroyTargetSchema {
|
|
|
6897
6944
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
6898
6945
|
* "upload_filter".
|
|
6899
6946
|
*/
|
|
6900
|
-
export
|
|
6947
|
+
export declare type UploadFilter = {
|
|
6901
6948
|
type: UploadFilterType;
|
|
6902
6949
|
id: UploadFilterIdentity;
|
|
6903
6950
|
attributes: UploadFilterAttributes;
|
|
6904
|
-
}
|
|
6951
|
+
};
|
|
6905
6952
|
/**
|
|
6906
6953
|
* JSON API attributes
|
|
6907
6954
|
*
|
|
6908
6955
|
* This interface was referenced by `UploadFilter`'s JSON-Schema via the
|
|
6909
6956
|
* `definition` "attributes".
|
|
6910
6957
|
*/
|
|
6911
|
-
export
|
|
6958
|
+
export declare type UploadFilterAttributes = {
|
|
6912
6959
|
/** The name of the filter */
|
|
6913
6960
|
name: string;
|
|
6914
6961
|
/** The actual filter */
|
|
@@ -6917,22 +6964,22 @@ export interface UploadFilterAttributes {
|
|
|
6917
6964
|
};
|
|
6918
6965
|
/** Whether it's a shared filter or not */
|
|
6919
6966
|
shared: boolean;
|
|
6920
|
-
}
|
|
6967
|
+
};
|
|
6921
6968
|
/**
|
|
6922
6969
|
* JSON API data
|
|
6923
6970
|
*
|
|
6924
6971
|
* This interface was referenced by `UploadFilter`'s JSON-Schema via the
|
|
6925
6972
|
* `definition` "data".
|
|
6926
6973
|
*/
|
|
6927
|
-
export
|
|
6974
|
+
export declare type UploadFilterData = {
|
|
6928
6975
|
type: UploadFilterType;
|
|
6929
6976
|
id: UploadFilterIdentity;
|
|
6930
|
-
}
|
|
6977
|
+
};
|
|
6931
6978
|
/**
|
|
6932
6979
|
* This interface was referenced by `UploadFilter`'s JSON-Schema via the
|
|
6933
6980
|
* `create.schema` link.
|
|
6934
6981
|
*/
|
|
6935
|
-
export
|
|
6982
|
+
export declare type UploadFilterCreateSchema = {
|
|
6936
6983
|
data: {
|
|
6937
6984
|
type: UploadFilterType;
|
|
6938
6985
|
/** JSON API attributes */
|
|
@@ -6947,19 +6994,19 @@ export interface UploadFilterCreateSchema {
|
|
|
6947
6994
|
shared: boolean;
|
|
6948
6995
|
};
|
|
6949
6996
|
};
|
|
6950
|
-
}
|
|
6997
|
+
};
|
|
6951
6998
|
/**
|
|
6952
6999
|
* This interface was referenced by `UploadFilter`'s JSON-Schema via the
|
|
6953
7000
|
* `create.targetSchema` link.
|
|
6954
7001
|
*/
|
|
6955
|
-
export
|
|
7002
|
+
export declare type UploadFilterCreateTargetSchema = {
|
|
6956
7003
|
data: UploadFilter;
|
|
6957
|
-
}
|
|
7004
|
+
};
|
|
6958
7005
|
/**
|
|
6959
7006
|
* This interface was referenced by `UploadFilter`'s JSON-Schema via the
|
|
6960
7007
|
* `update.schema` link.
|
|
6961
7008
|
*/
|
|
6962
|
-
export
|
|
7009
|
+
export declare type UploadFilterUpdateSchema = {
|
|
6963
7010
|
data: {
|
|
6964
7011
|
type: UploadFilterType;
|
|
6965
7012
|
id: UploadFilterIdentity;
|
|
@@ -6975,35 +7022,35 @@ export interface UploadFilterUpdateSchema {
|
|
|
6975
7022
|
};
|
|
6976
7023
|
};
|
|
6977
7024
|
};
|
|
6978
|
-
}
|
|
7025
|
+
};
|
|
6979
7026
|
/**
|
|
6980
7027
|
* This interface was referenced by `UploadFilter`'s JSON-Schema via the
|
|
6981
7028
|
* `update.targetSchema` link.
|
|
6982
7029
|
*/
|
|
6983
|
-
export
|
|
7030
|
+
export declare type UploadFilterUpdateTargetSchema = {
|
|
6984
7031
|
data: UploadFilter;
|
|
6985
|
-
}
|
|
7032
|
+
};
|
|
6986
7033
|
/**
|
|
6987
7034
|
* This interface was referenced by `UploadFilter`'s JSON-Schema via the
|
|
6988
7035
|
* `instances.targetSchema` link.
|
|
6989
7036
|
*/
|
|
6990
|
-
export
|
|
7037
|
+
export declare type UploadFilterInstancesTargetSchema = {
|
|
6991
7038
|
data: UploadFilter[];
|
|
6992
|
-
}
|
|
7039
|
+
};
|
|
6993
7040
|
/**
|
|
6994
7041
|
* This interface was referenced by `UploadFilter`'s JSON-Schema via the
|
|
6995
7042
|
* `self.targetSchema` link.
|
|
6996
7043
|
*/
|
|
6997
|
-
export
|
|
7044
|
+
export declare type UploadFilterSelfTargetSchema = {
|
|
6998
7045
|
data: UploadFilter;
|
|
6999
|
-
}
|
|
7046
|
+
};
|
|
7000
7047
|
/**
|
|
7001
7048
|
* This interface was referenced by `UploadFilter`'s JSON-Schema via the
|
|
7002
7049
|
* `destroy.targetSchema` link.
|
|
7003
7050
|
*/
|
|
7004
|
-
export
|
|
7051
|
+
export declare type UploadFilterDestroyTargetSchema = {
|
|
7005
7052
|
data: UploadFilter;
|
|
7006
|
-
}
|
|
7053
|
+
};
|
|
7007
7054
|
/**
|
|
7008
7055
|
* A DatoCMS administrative area can be accessed by multiple people. Every
|
|
7009
7056
|
* invitation is linked to a specific Role, which describes what actions it will
|
|
@@ -7012,51 +7059,51 @@ export interface UploadFilterDestroyTargetSchema {
|
|
|
7012
7059
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
7013
7060
|
* "site_invitation".
|
|
7014
7061
|
*/
|
|
7015
|
-
export
|
|
7062
|
+
export declare type SiteInvitation = {
|
|
7016
7063
|
type: SiteInvitationType;
|
|
7017
7064
|
id: SiteInvitationIdentity;
|
|
7018
7065
|
attributes: SiteInvitationAttributes;
|
|
7019
7066
|
relationships: SiteInvitationRelationships;
|
|
7020
|
-
}
|
|
7067
|
+
};
|
|
7021
7068
|
/**
|
|
7022
7069
|
* JSON API attributes
|
|
7023
7070
|
*
|
|
7024
7071
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema via the
|
|
7025
7072
|
* `definition` "attributes".
|
|
7026
7073
|
*/
|
|
7027
|
-
export
|
|
7074
|
+
export declare type SiteInvitationAttributes = {
|
|
7028
7075
|
/** Email */
|
|
7029
7076
|
email: string;
|
|
7030
7077
|
/** Whether this invitation has expired */
|
|
7031
7078
|
expired: boolean;
|
|
7032
|
-
}
|
|
7079
|
+
};
|
|
7033
7080
|
/**
|
|
7034
7081
|
* JSON API links
|
|
7035
7082
|
*
|
|
7036
7083
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema via the
|
|
7037
7084
|
* `definition` "relationships".
|
|
7038
7085
|
*/
|
|
7039
|
-
export
|
|
7086
|
+
export declare type SiteInvitationRelationships = {
|
|
7040
7087
|
/** Role */
|
|
7041
7088
|
role: {
|
|
7042
7089
|
data: RoleData;
|
|
7043
7090
|
};
|
|
7044
|
-
}
|
|
7091
|
+
};
|
|
7045
7092
|
/**
|
|
7046
7093
|
* JSON API data
|
|
7047
7094
|
*
|
|
7048
7095
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema via the
|
|
7049
7096
|
* `definition` "data".
|
|
7050
7097
|
*/
|
|
7051
|
-
export
|
|
7098
|
+
export declare type SiteInvitationData = {
|
|
7052
7099
|
type: SiteInvitationType;
|
|
7053
7100
|
id: SiteInvitationIdentity;
|
|
7054
|
-
}
|
|
7101
|
+
};
|
|
7055
7102
|
/**
|
|
7056
7103
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema via the
|
|
7057
7104
|
* `create.schema` link.
|
|
7058
7105
|
*/
|
|
7059
|
-
export
|
|
7106
|
+
export declare type SiteInvitationCreateSchema = {
|
|
7060
7107
|
data: {
|
|
7061
7108
|
type: SiteInvitationType;
|
|
7062
7109
|
attributes: {
|
|
@@ -7070,19 +7117,19 @@ export interface SiteInvitationCreateSchema {
|
|
|
7070
7117
|
};
|
|
7071
7118
|
};
|
|
7072
7119
|
};
|
|
7073
|
-
}
|
|
7120
|
+
};
|
|
7074
7121
|
/**
|
|
7075
7122
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema via the
|
|
7076
7123
|
* `create.targetSchema` link.
|
|
7077
7124
|
*/
|
|
7078
|
-
export
|
|
7125
|
+
export declare type SiteInvitationCreateTargetSchema = {
|
|
7079
7126
|
data: SiteInvitation;
|
|
7080
|
-
}
|
|
7127
|
+
};
|
|
7081
7128
|
/**
|
|
7082
7129
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema via the
|
|
7083
7130
|
* `update.schema` link.
|
|
7084
7131
|
*/
|
|
7085
|
-
export
|
|
7132
|
+
export declare type SiteInvitationUpdateSchema = {
|
|
7086
7133
|
data: {
|
|
7087
7134
|
type: SiteInvitationType;
|
|
7088
7135
|
id: SiteInvitationIdentity;
|
|
@@ -7093,35 +7140,35 @@ export interface SiteInvitationUpdateSchema {
|
|
|
7093
7140
|
};
|
|
7094
7141
|
};
|
|
7095
7142
|
};
|
|
7096
|
-
}
|
|
7143
|
+
};
|
|
7097
7144
|
/**
|
|
7098
7145
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema via the
|
|
7099
7146
|
* `update.targetSchema` link.
|
|
7100
7147
|
*/
|
|
7101
|
-
export
|
|
7148
|
+
export declare type SiteInvitationUpdateTargetSchema = {
|
|
7102
7149
|
data: SiteInvitation;
|
|
7103
|
-
}
|
|
7150
|
+
};
|
|
7104
7151
|
/**
|
|
7105
7152
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema via the
|
|
7106
7153
|
* `instances.targetSchema` link.
|
|
7107
7154
|
*/
|
|
7108
|
-
export
|
|
7155
|
+
export declare type SiteInvitationInstancesTargetSchema = {
|
|
7109
7156
|
data: SiteInvitation[];
|
|
7110
|
-
}
|
|
7157
|
+
};
|
|
7111
7158
|
/**
|
|
7112
7159
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema via the
|
|
7113
7160
|
* `self.targetSchema` link.
|
|
7114
7161
|
*/
|
|
7115
|
-
export
|
|
7162
|
+
export declare type SiteInvitationSelfTargetSchema = {
|
|
7116
7163
|
data: SiteInvitation;
|
|
7117
|
-
}
|
|
7164
|
+
};
|
|
7118
7165
|
/**
|
|
7119
7166
|
* This interface was referenced by `SiteInvitation`'s JSON-Schema via the
|
|
7120
7167
|
* `destroy.targetSchema` link.
|
|
7121
7168
|
*/
|
|
7122
|
-
export
|
|
7169
|
+
export declare type SiteInvitationDestroyTargetSchema = {
|
|
7123
7170
|
data: SiteInvitation;
|
|
7124
|
-
}
|
|
7171
|
+
};
|
|
7125
7172
|
/**
|
|
7126
7173
|
* Session track users movements in the administrative area, and allows locking
|
|
7127
7174
|
* a record when editing it.
|
|
@@ -7129,31 +7176,31 @@ export interface SiteInvitationDestroyTargetSchema {
|
|
|
7129
7176
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
7130
7177
|
* "editing_session".
|
|
7131
7178
|
*/
|
|
7132
|
-
export
|
|
7179
|
+
export declare type EditingSession = {
|
|
7133
7180
|
type: EditingSessionType;
|
|
7134
7181
|
id: EditingSessionIdentity;
|
|
7135
7182
|
attributes: EditingSessionAttributes;
|
|
7136
7183
|
relationships: EditingSessionRelationships;
|
|
7137
|
-
}
|
|
7184
|
+
};
|
|
7138
7185
|
/**
|
|
7139
7186
|
* JSON API attributes
|
|
7140
7187
|
*
|
|
7141
7188
|
* This interface was referenced by `EditingSession`'s JSON-Schema via the
|
|
7142
7189
|
* `definition` "attributes".
|
|
7143
7190
|
*/
|
|
7144
|
-
export
|
|
7191
|
+
export declare type EditingSessionAttributes = {
|
|
7145
7192
|
/** User entered at */
|
|
7146
7193
|
last_activity_at: string | null;
|
|
7147
7194
|
/** User locked record at */
|
|
7148
7195
|
locked_at: string | null;
|
|
7149
|
-
}
|
|
7196
|
+
};
|
|
7150
7197
|
/**
|
|
7151
7198
|
* JSON API links
|
|
7152
7199
|
*
|
|
7153
7200
|
* This interface was referenced by `EditingSession`'s JSON-Schema via the
|
|
7154
7201
|
* `definition` "relationships".
|
|
7155
7202
|
*/
|
|
7156
|
-
export
|
|
7203
|
+
export declare type EditingSessionRelationships = {
|
|
7157
7204
|
/** The active item in the session */
|
|
7158
7205
|
active_item: {
|
|
7159
7206
|
data: ItemData;
|
|
@@ -7166,29 +7213,29 @@ export interface EditingSessionRelationships {
|
|
|
7166
7213
|
editor: {
|
|
7167
7214
|
data: AccountData | AccessTokenData | UserData;
|
|
7168
7215
|
};
|
|
7169
|
-
}
|
|
7216
|
+
};
|
|
7170
7217
|
/**
|
|
7171
7218
|
* JSON API data
|
|
7172
7219
|
*
|
|
7173
7220
|
* This interface was referenced by `EditingSession`'s JSON-Schema via the
|
|
7174
7221
|
* `definition` "data".
|
|
7175
7222
|
*/
|
|
7176
|
-
export
|
|
7223
|
+
export declare type EditingSessionData = {
|
|
7177
7224
|
type: EditingSessionType;
|
|
7178
7225
|
id: EditingSessionIdentity;
|
|
7179
|
-
}
|
|
7226
|
+
};
|
|
7180
7227
|
/**
|
|
7181
7228
|
* This interface was referenced by `EditingSession`'s JSON-Schema via the
|
|
7182
7229
|
* `instances.targetSchema` link.
|
|
7183
7230
|
*/
|
|
7184
|
-
export
|
|
7231
|
+
export declare type EditingSessionInstancesTargetSchema = {
|
|
7185
7232
|
data: EditingSession[];
|
|
7186
|
-
}
|
|
7233
|
+
};
|
|
7187
7234
|
/**
|
|
7188
7235
|
* This interface was referenced by `EditingSession`'s JSON-Schema via the
|
|
7189
7236
|
* `update.schema` link.
|
|
7190
7237
|
*/
|
|
7191
|
-
export
|
|
7238
|
+
export declare type EditingSessionUpdateSchema = {
|
|
7192
7239
|
data: {
|
|
7193
7240
|
/** JSON API type */
|
|
7194
7241
|
type: 'editing_session_enter_item';
|
|
@@ -7223,21 +7270,21 @@ export interface EditingSessionUpdateSchema {
|
|
|
7223
7270
|
/** JSON API type */
|
|
7224
7271
|
type: 'editing_session_unlock_item';
|
|
7225
7272
|
};
|
|
7226
|
-
}
|
|
7273
|
+
};
|
|
7227
7274
|
/**
|
|
7228
7275
|
* This interface was referenced by `EditingSession`'s JSON-Schema via the
|
|
7229
7276
|
* `update.targetSchema` link.
|
|
7230
7277
|
*/
|
|
7231
|
-
export
|
|
7278
|
+
export declare type EditingSessionUpdateTargetSchema = {
|
|
7232
7279
|
data: EditingSession;
|
|
7233
|
-
}
|
|
7280
|
+
};
|
|
7234
7281
|
/**
|
|
7235
7282
|
* This interface was referenced by `EditingSession`'s JSON-Schema via the
|
|
7236
7283
|
* `destroy.targetSchema` link.
|
|
7237
7284
|
*/
|
|
7238
|
-
export
|
|
7285
|
+
export declare type EditingSessionDestroyTargetSchema = {
|
|
7239
7286
|
data: EditingSession;
|
|
7240
|
-
}
|
|
7287
|
+
};
|
|
7241
7288
|
/**
|
|
7242
7289
|
* A Single Sign-On group exists when a DatoCMS project is connected to an
|
|
7243
7290
|
* Identity Provider. These groups can be used to link DatoCMS roles to the
|
|
@@ -7246,19 +7293,19 @@ export interface EditingSessionDestroyTargetSchema {
|
|
|
7246
7293
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
7247
7294
|
* "sso_group".
|
|
7248
7295
|
*/
|
|
7249
|
-
export
|
|
7296
|
+
export declare type SsoGroup = {
|
|
7250
7297
|
type: SsoGroupType;
|
|
7251
7298
|
id: SsoGroupIdentity;
|
|
7252
7299
|
attributes: SsoGroupAttributes;
|
|
7253
7300
|
relationships: SsoGroupRelationships;
|
|
7254
|
-
}
|
|
7301
|
+
};
|
|
7255
7302
|
/**
|
|
7256
7303
|
* JSON API attributes
|
|
7257
7304
|
*
|
|
7258
7305
|
* This interface was referenced by `SsoGroup`'s JSON-Schema via the
|
|
7259
7306
|
* `definition` "attributes".
|
|
7260
7307
|
*/
|
|
7261
|
-
export
|
|
7308
|
+
export declare type SsoGroupAttributes = {
|
|
7262
7309
|
/** Name of the group */
|
|
7263
7310
|
name: string;
|
|
7264
7311
|
/**
|
|
@@ -7266,14 +7313,14 @@ export interface SsoGroupAttributes {
|
|
|
7266
7313
|
* with the highest priority will be used
|
|
7267
7314
|
*/
|
|
7268
7315
|
priority: number;
|
|
7269
|
-
}
|
|
7316
|
+
};
|
|
7270
7317
|
/**
|
|
7271
7318
|
* JSON API links
|
|
7272
7319
|
*
|
|
7273
7320
|
* This interface was referenced by `SsoGroup`'s JSON-Schema via the
|
|
7274
7321
|
* `definition` "relationships".
|
|
7275
7322
|
*/
|
|
7276
|
-
export
|
|
7323
|
+
export declare type SsoGroupRelationships = {
|
|
7277
7324
|
/** Sso Group's role */
|
|
7278
7325
|
role: {
|
|
7279
7326
|
data: RoleData;
|
|
@@ -7282,26 +7329,26 @@ export interface SsoGroupRelationships {
|
|
|
7282
7329
|
users: {
|
|
7283
7330
|
data: SsoUserData[];
|
|
7284
7331
|
};
|
|
7285
|
-
}
|
|
7332
|
+
};
|
|
7286
7333
|
/**
|
|
7287
7334
|
* This interface was referenced by `SsoGroup`'s JSON-Schema via the
|
|
7288
7335
|
* `instances.targetSchema` link.
|
|
7289
7336
|
*/
|
|
7290
|
-
export
|
|
7337
|
+
export declare type SsoGroupInstancesTargetSchema = {
|
|
7291
7338
|
data: SsoGroup[];
|
|
7292
|
-
}
|
|
7339
|
+
};
|
|
7293
7340
|
/**
|
|
7294
7341
|
* This interface was referenced by `SsoGroup`'s JSON-Schema via the
|
|
7295
7342
|
* `copy_roles.targetSchema` link.
|
|
7296
7343
|
*/
|
|
7297
|
-
export
|
|
7344
|
+
export declare type SsoGroupCopyRolesTargetSchema = {
|
|
7298
7345
|
data: SsoGroup;
|
|
7299
|
-
}
|
|
7346
|
+
};
|
|
7300
7347
|
/**
|
|
7301
7348
|
* This interface was referenced by `SsoGroup`'s JSON-Schema via the
|
|
7302
7349
|
* `update.schema` link.
|
|
7303
7350
|
*/
|
|
7304
|
-
export
|
|
7351
|
+
export declare type SsoGroupUpdateSchema = {
|
|
7305
7352
|
data: {
|
|
7306
7353
|
type: SsoGroupType;
|
|
7307
7354
|
id: SsoGroupIdentity;
|
|
@@ -7319,40 +7366,40 @@ export interface SsoGroupUpdateSchema {
|
|
|
7319
7366
|
};
|
|
7320
7367
|
};
|
|
7321
7368
|
};
|
|
7322
|
-
}
|
|
7369
|
+
};
|
|
7323
7370
|
/**
|
|
7324
7371
|
* This interface was referenced by `SsoGroup`'s JSON-Schema via the
|
|
7325
7372
|
* `update.targetSchema` link.
|
|
7326
7373
|
*/
|
|
7327
|
-
export
|
|
7374
|
+
export declare type SsoGroupUpdateTargetSchema = {
|
|
7328
7375
|
data: SsoGroup;
|
|
7329
|
-
}
|
|
7376
|
+
};
|
|
7330
7377
|
/**
|
|
7331
7378
|
* This interface was referenced by `SsoGroup`'s JSON-Schema via the
|
|
7332
7379
|
* `destroy.targetSchema` link.
|
|
7333
7380
|
*/
|
|
7334
|
-
export
|
|
7381
|
+
export declare type SsoGroupDestroyTargetSchema = {
|
|
7335
7382
|
data: SsoGroup;
|
|
7336
|
-
}
|
|
7383
|
+
};
|
|
7337
7384
|
/**
|
|
7338
7385
|
* Represents the Single Sign-on settings of the current DatoCMS project
|
|
7339
7386
|
*
|
|
7340
7387
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
7341
7388
|
* "sso_settings".
|
|
7342
7389
|
*/
|
|
7343
|
-
export
|
|
7390
|
+
export declare type SsoSettings = {
|
|
7344
7391
|
type: SsoSettingsType;
|
|
7345
7392
|
id: SsoSettingsIdentity;
|
|
7346
7393
|
attributes: SsoSettingsAttributes;
|
|
7347
7394
|
relationships: SsoSettingsRelationships;
|
|
7348
|
-
}
|
|
7395
|
+
};
|
|
7349
7396
|
/**
|
|
7350
7397
|
* JSON API attributes
|
|
7351
7398
|
*
|
|
7352
7399
|
* This interface was referenced by `SsoSettings`'s JSON-Schema via the
|
|
7353
7400
|
* `definition` "attributes".
|
|
7354
7401
|
*/
|
|
7355
|
-
export
|
|
7402
|
+
export declare type SsoSettingsAttributes = {
|
|
7356
7403
|
/** URL of Identity Provider SAML Metadata endpoint */
|
|
7357
7404
|
idp_saml_metadata_url: null | string;
|
|
7358
7405
|
/** Identity Provider SAML Metadata */
|
|
@@ -7369,41 +7416,41 @@ export interface SsoSettingsAttributes {
|
|
|
7369
7416
|
saml_token: string;
|
|
7370
7417
|
/** DatoCMS SCIM API Token */
|
|
7371
7418
|
scim_api_token?: string;
|
|
7372
|
-
}
|
|
7419
|
+
};
|
|
7373
7420
|
/**
|
|
7374
7421
|
* JSON API links
|
|
7375
7422
|
*
|
|
7376
7423
|
* This interface was referenced by `SsoSettings`'s JSON-Schema via the
|
|
7377
7424
|
* `definition` "relationships".
|
|
7378
7425
|
*/
|
|
7379
|
-
export
|
|
7426
|
+
export declare type SsoSettingsRelationships = {
|
|
7380
7427
|
/** The default role assigned to SSO users that do not belong to any SSO group */
|
|
7381
7428
|
default_role: {
|
|
7382
7429
|
data: null | RoleData;
|
|
7383
7430
|
};
|
|
7384
|
-
}
|
|
7431
|
+
};
|
|
7385
7432
|
/**
|
|
7386
7433
|
* JSON API data
|
|
7387
7434
|
*
|
|
7388
7435
|
* This interface was referenced by `SsoSettings`'s JSON-Schema via the
|
|
7389
7436
|
* `definition` "data".
|
|
7390
7437
|
*/
|
|
7391
|
-
export
|
|
7438
|
+
export declare type SsoSettingsData = {
|
|
7392
7439
|
type: SsoSettingsType;
|
|
7393
7440
|
id: SsoSettingsIdentity;
|
|
7394
|
-
}
|
|
7441
|
+
};
|
|
7395
7442
|
/**
|
|
7396
7443
|
* This interface was referenced by `SsoSettings`'s JSON-Schema via the
|
|
7397
7444
|
* `self.targetSchema` link.
|
|
7398
7445
|
*/
|
|
7399
|
-
export
|
|
7446
|
+
export declare type SsoSettingsSelfTargetSchema = {
|
|
7400
7447
|
data: SsoSettings;
|
|
7401
|
-
}
|
|
7448
|
+
};
|
|
7402
7449
|
/**
|
|
7403
7450
|
* This interface was referenced by `SsoSettings`'s JSON-Schema via the
|
|
7404
7451
|
* `generate_token.targetSchema` link.
|
|
7405
7452
|
*/
|
|
7406
|
-
export
|
|
7453
|
+
export declare type SsoSettingsGenerateTokenTargetSchema = {
|
|
7407
7454
|
data: {
|
|
7408
7455
|
id: SsoSettingsIdentity;
|
|
7409
7456
|
/** JSON API type field */
|
|
@@ -7414,12 +7461,12 @@ export interface SsoSettingsGenerateTokenTargetSchema {
|
|
|
7414
7461
|
};
|
|
7415
7462
|
[k: string]: unknown;
|
|
7416
7463
|
};
|
|
7417
|
-
}
|
|
7464
|
+
};
|
|
7418
7465
|
/**
|
|
7419
7466
|
* This interface was referenced by `SsoSettings`'s JSON-Schema via the
|
|
7420
7467
|
* `update.schema` link.
|
|
7421
7468
|
*/
|
|
7422
|
-
export
|
|
7469
|
+
export declare type SsoSettingsUpdateSchema = {
|
|
7423
7470
|
data: {
|
|
7424
7471
|
type: SsoSettingsType;
|
|
7425
7472
|
id?: SsoSettingsIdentity;
|
|
@@ -7439,60 +7486,60 @@ export interface SsoSettingsUpdateSchema {
|
|
|
7439
7486
|
};
|
|
7440
7487
|
};
|
|
7441
7488
|
};
|
|
7442
|
-
}
|
|
7489
|
+
};
|
|
7443
7490
|
/**
|
|
7444
7491
|
* This interface was referenced by `SsoSettings`'s JSON-Schema via the
|
|
7445
7492
|
* `update.targetSchema` link.
|
|
7446
7493
|
*/
|
|
7447
|
-
export
|
|
7494
|
+
export declare type SsoSettingsUpdateTargetSchema = {
|
|
7448
7495
|
data: SsoSettings;
|
|
7449
|
-
}
|
|
7496
|
+
};
|
|
7450
7497
|
/**
|
|
7451
7498
|
* Represents the white-label settings of the current DatoCMS project
|
|
7452
7499
|
*
|
|
7453
7500
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
7454
7501
|
* "white_label_settings".
|
|
7455
7502
|
*/
|
|
7456
|
-
export
|
|
7503
|
+
export declare type WhiteLabelSettings = {
|
|
7457
7504
|
type: WhiteLabelSettingsType;
|
|
7458
7505
|
id: WhiteLabelSettingsIdentity;
|
|
7459
7506
|
attributes: WhiteLabelSettingsAttributes;
|
|
7460
|
-
}
|
|
7507
|
+
};
|
|
7461
7508
|
/**
|
|
7462
7509
|
* JSON API attributes
|
|
7463
7510
|
*
|
|
7464
7511
|
* This interface was referenced by `WhiteLabelSettings`'s JSON-Schema via the
|
|
7465
7512
|
* `definition` "attributes".
|
|
7466
7513
|
*/
|
|
7467
|
-
export
|
|
7514
|
+
export declare type WhiteLabelSettingsAttributes = {
|
|
7468
7515
|
/**
|
|
7469
7516
|
* URL of custom I18n messages. The :locale placeholder represents the current
|
|
7470
7517
|
* DatoCMS UI locale.
|
|
7471
7518
|
*/
|
|
7472
7519
|
custom_i18n_messages_template_url: null | string;
|
|
7473
|
-
}
|
|
7520
|
+
};
|
|
7474
7521
|
/**
|
|
7475
7522
|
* JSON API data
|
|
7476
7523
|
*
|
|
7477
7524
|
* This interface was referenced by `WhiteLabelSettings`'s JSON-Schema via the
|
|
7478
7525
|
* `definition` "data".
|
|
7479
7526
|
*/
|
|
7480
|
-
export
|
|
7527
|
+
export declare type WhiteLabelSettingsData = {
|
|
7481
7528
|
type: WhiteLabelSettingsType;
|
|
7482
7529
|
id: WhiteLabelSettingsIdentity;
|
|
7483
|
-
}
|
|
7530
|
+
};
|
|
7484
7531
|
/**
|
|
7485
7532
|
* This interface was referenced by `WhiteLabelSettings`'s JSON-Schema via the
|
|
7486
7533
|
* `self.targetSchema` link.
|
|
7487
7534
|
*/
|
|
7488
|
-
export
|
|
7535
|
+
export declare type WhiteLabelSettingsSelfTargetSchema = {
|
|
7489
7536
|
data: WhiteLabelSettings;
|
|
7490
|
-
}
|
|
7537
|
+
};
|
|
7491
7538
|
/**
|
|
7492
7539
|
* This interface was referenced by `WhiteLabelSettings`'s JSON-Schema via the
|
|
7493
7540
|
* `update.schema` link.
|
|
7494
7541
|
*/
|
|
7495
|
-
export
|
|
7542
|
+
export declare type WhiteLabelSettingsUpdateSchema = {
|
|
7496
7543
|
data: {
|
|
7497
7544
|
type: WhiteLabelSettingsType;
|
|
7498
7545
|
id?: WhiteLabelSettingsIdentity;
|
|
@@ -7504,32 +7551,32 @@ export interface WhiteLabelSettingsUpdateSchema {
|
|
|
7504
7551
|
custom_i18n_messages_template_url: null | string;
|
|
7505
7552
|
};
|
|
7506
7553
|
};
|
|
7507
|
-
}
|
|
7554
|
+
};
|
|
7508
7555
|
/**
|
|
7509
7556
|
* This interface was referenced by `WhiteLabelSettings`'s JSON-Schema via the
|
|
7510
7557
|
* `update.targetSchema` link.
|
|
7511
7558
|
*/
|
|
7512
|
-
export
|
|
7559
|
+
export declare type WhiteLabelSettingsUpdateTargetSchema = {
|
|
7513
7560
|
data: WhiteLabelSettings;
|
|
7514
|
-
}
|
|
7561
|
+
};
|
|
7515
7562
|
/**
|
|
7516
7563
|
* Info that can be accessed by unauthorized users
|
|
7517
7564
|
*
|
|
7518
7565
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
7519
7566
|
* "public_info".
|
|
7520
7567
|
*/
|
|
7521
|
-
export
|
|
7568
|
+
export declare type PublicInfo = {
|
|
7522
7569
|
type: PublicInfoType;
|
|
7523
7570
|
id: PublicInfoIdentity;
|
|
7524
7571
|
attributes: PublicInfoAttributes;
|
|
7525
|
-
}
|
|
7572
|
+
};
|
|
7526
7573
|
/**
|
|
7527
7574
|
* JSON API attributes
|
|
7528
7575
|
*
|
|
7529
7576
|
* This interface was referenced by `PublicInfo`'s JSON-Schema via the
|
|
7530
7577
|
* `definition` "attributes".
|
|
7531
7578
|
*/
|
|
7532
|
-
export
|
|
7579
|
+
export declare type PublicInfoAttributes = {
|
|
7533
7580
|
/** Site name */
|
|
7534
7581
|
name: string;
|
|
7535
7582
|
/** Specifies the Single Sign-on URL to reach */
|
|
@@ -7582,42 +7629,42 @@ export interface PublicInfoAttributes {
|
|
|
7582
7629
|
maximum_single_upload_bytes: number;
|
|
7583
7630
|
[k: string]: unknown;
|
|
7584
7631
|
};
|
|
7585
|
-
}
|
|
7632
|
+
};
|
|
7586
7633
|
/**
|
|
7587
7634
|
* JSON API data
|
|
7588
7635
|
*
|
|
7589
7636
|
* This interface was referenced by `PublicInfo`'s JSON-Schema via the
|
|
7590
7637
|
* `definition` "data".
|
|
7591
7638
|
*/
|
|
7592
|
-
export
|
|
7639
|
+
export declare type PublicInfoData = {
|
|
7593
7640
|
type: PublicInfoType;
|
|
7594
7641
|
id: PublicInfoIdentity;
|
|
7595
|
-
}
|
|
7642
|
+
};
|
|
7596
7643
|
/**
|
|
7597
7644
|
* This interface was referenced by `PublicInfo`'s JSON-Schema via the
|
|
7598
7645
|
* `self.targetSchema` link.
|
|
7599
7646
|
*/
|
|
7600
|
-
export
|
|
7647
|
+
export declare type PublicInfoSelfTargetSchema = {
|
|
7601
7648
|
data: PublicInfo;
|
|
7602
|
-
}
|
|
7649
|
+
};
|
|
7603
7650
|
/**
|
|
7604
7651
|
* DatoCMS resources usage organized by day
|
|
7605
7652
|
*
|
|
7606
7653
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
7607
7654
|
* "daily_usage".
|
|
7608
7655
|
*/
|
|
7609
|
-
export
|
|
7656
|
+
export declare type DailyUsage = {
|
|
7610
7657
|
type: DailyUsageType;
|
|
7611
7658
|
id: DailyUsageIdentity;
|
|
7612
7659
|
attributes: DailyUsageAttributes;
|
|
7613
|
-
}
|
|
7660
|
+
};
|
|
7614
7661
|
/**
|
|
7615
7662
|
* JSON API attributes
|
|
7616
7663
|
*
|
|
7617
7664
|
* This interface was referenced by `DailyUsage`'s JSON-Schema via the
|
|
7618
7665
|
* `definition` "attributes".
|
|
7619
7666
|
*/
|
|
7620
|
-
export
|
|
7667
|
+
export declare type DailyUsageAttributes = {
|
|
7621
7668
|
/** The date the data are referring to */
|
|
7622
7669
|
date: string;
|
|
7623
7670
|
/** Number of API calls to content delivery API */
|
|
@@ -7630,24 +7677,24 @@ export interface DailyUsageAttributes {
|
|
|
7630
7677
|
assets_traffic_bytes: number;
|
|
7631
7678
|
/** Video streaming seconds */
|
|
7632
7679
|
mux_delivered_seconds: number;
|
|
7633
|
-
}
|
|
7680
|
+
};
|
|
7634
7681
|
/**
|
|
7635
7682
|
* JSON API data
|
|
7636
7683
|
*
|
|
7637
7684
|
* This interface was referenced by `DailyUsage`'s JSON-Schema via the
|
|
7638
7685
|
* `definition` "data".
|
|
7639
7686
|
*/
|
|
7640
|
-
export
|
|
7687
|
+
export declare type DailyUsageData = {
|
|
7641
7688
|
type: DailyUsageType;
|
|
7642
7689
|
id: DailyUsageIdentity;
|
|
7643
|
-
}
|
|
7690
|
+
};
|
|
7644
7691
|
/**
|
|
7645
7692
|
* This interface was referenced by `DailyUsage`'s JSON-Schema via the
|
|
7646
7693
|
* `instances.targetSchema` link.
|
|
7647
7694
|
*/
|
|
7648
|
-
export
|
|
7695
|
+
export declare type DailyUsageInstancesTargetSchema = {
|
|
7649
7696
|
data: DailyUsage[];
|
|
7650
|
-
}
|
|
7697
|
+
};
|
|
7651
7698
|
/**
|
|
7652
7699
|
* You can use counters to analyze your project's data consumption over a period
|
|
7653
7700
|
* of time. Counters are especially useful if your project is exceeding its API
|
|
@@ -7658,88 +7705,88 @@ export interface DailyUsageInstancesTargetSchema {
|
|
|
7658
7705
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
7659
7706
|
* "usage_counter".
|
|
7660
7707
|
*/
|
|
7661
|
-
export
|
|
7708
|
+
export declare type UsageCounter = {
|
|
7662
7709
|
type: UsageCounterType;
|
|
7663
7710
|
id: UsageCounterIdentity;
|
|
7664
7711
|
attributes: UsageCounterAttributes;
|
|
7665
|
-
}
|
|
7712
|
+
};
|
|
7666
7713
|
/**
|
|
7667
7714
|
* JSON API attributes
|
|
7668
7715
|
*
|
|
7669
7716
|
* This interface was referenced by `UsageCounter`'s JSON-Schema via the
|
|
7670
7717
|
* `definition` "attributes".
|
|
7671
7718
|
*/
|
|
7672
|
-
export
|
|
7719
|
+
export declare type UsageCounterAttributes = {
|
|
7673
7720
|
result: {
|
|
7674
7721
|
/** Occurrence */
|
|
7675
7722
|
value: string;
|
|
7676
7723
|
/** Counter for the specified occurrence */
|
|
7677
7724
|
counter: number;
|
|
7678
7725
|
}[];
|
|
7679
|
-
}
|
|
7726
|
+
};
|
|
7680
7727
|
/**
|
|
7681
7728
|
* JSON API data
|
|
7682
7729
|
*
|
|
7683
7730
|
* This interface was referenced by `UsageCounter`'s JSON-Schema via the
|
|
7684
7731
|
* `definition` "data".
|
|
7685
7732
|
*/
|
|
7686
|
-
export
|
|
7733
|
+
export declare type UsageCounterData = {
|
|
7687
7734
|
type: UsageCounterType;
|
|
7688
7735
|
id: UsageCounterIdentity;
|
|
7689
|
-
}
|
|
7736
|
+
};
|
|
7690
7737
|
/**
|
|
7691
7738
|
* This interface was referenced by `UsageCounter`'s JSON-Schema via the
|
|
7692
7739
|
* `self.targetSchema` link.
|
|
7693
7740
|
*/
|
|
7694
|
-
export
|
|
7741
|
+
export declare type UsageCounterSelfTargetSchema = {
|
|
7695
7742
|
data: UsageCounter;
|
|
7696
|
-
}
|
|
7743
|
+
};
|
|
7697
7744
|
/**
|
|
7698
7745
|
* All the project's upload tags
|
|
7699
7746
|
*
|
|
7700
7747
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
7701
7748
|
* "upload_tag".
|
|
7702
7749
|
*/
|
|
7703
|
-
export
|
|
7750
|
+
export declare type UploadTag = {
|
|
7704
7751
|
type: UploadTagType;
|
|
7705
7752
|
id: UploadTagIdentity;
|
|
7706
7753
|
attributes: UploadTagAttributes;
|
|
7707
|
-
}
|
|
7754
|
+
};
|
|
7708
7755
|
/**
|
|
7709
7756
|
* JSON API attributes
|
|
7710
7757
|
*
|
|
7711
7758
|
* This interface was referenced by `UploadTag`'s JSON-Schema via the
|
|
7712
7759
|
* `definition` "attributes".
|
|
7713
7760
|
*/
|
|
7714
|
-
export
|
|
7761
|
+
export declare type UploadTagAttributes = {
|
|
7715
7762
|
/** The tag name */
|
|
7716
7763
|
name: string;
|
|
7717
|
-
}
|
|
7764
|
+
};
|
|
7718
7765
|
/**
|
|
7719
7766
|
* JSON API data
|
|
7720
7767
|
*
|
|
7721
7768
|
* This interface was referenced by `UploadTag`'s JSON-Schema via the
|
|
7722
7769
|
* `definition` "data".
|
|
7723
7770
|
*/
|
|
7724
|
-
export
|
|
7771
|
+
export declare type UploadTagData = {
|
|
7725
7772
|
type: UploadTagType;
|
|
7726
7773
|
id: UploadTagIdentity;
|
|
7727
|
-
}
|
|
7774
|
+
};
|
|
7728
7775
|
/**
|
|
7729
7776
|
* This interface was referenced by `UploadTag`'s JSON-Schema via the
|
|
7730
7777
|
* `instances.targetSchema` link.
|
|
7731
7778
|
*/
|
|
7732
|
-
export
|
|
7779
|
+
export declare type UploadTagInstancesTargetSchema = {
|
|
7733
7780
|
data: UploadTag[];
|
|
7734
7781
|
meta: {
|
|
7735
7782
|
total_count: number;
|
|
7736
7783
|
};
|
|
7737
|
-
}
|
|
7784
|
+
};
|
|
7738
7785
|
/**
|
|
7739
7786
|
* This interface was referenced by `UploadTag`'s JSON-Schema via the
|
|
7740
7787
|
* `create.schema` link.
|
|
7741
7788
|
*/
|
|
7742
|
-
export
|
|
7789
|
+
export declare type UploadTagCreateSchema = {
|
|
7743
7790
|
data: {
|
|
7744
7791
|
type: UploadTagType;
|
|
7745
7792
|
attributes: {
|
|
@@ -7747,75 +7794,75 @@ export interface UploadTagCreateSchema {
|
|
|
7747
7794
|
name: string;
|
|
7748
7795
|
};
|
|
7749
7796
|
};
|
|
7750
|
-
}
|
|
7797
|
+
};
|
|
7751
7798
|
/**
|
|
7752
7799
|
* This interface was referenced by `UploadTag`'s JSON-Schema via the
|
|
7753
7800
|
* `create.targetSchema` link.
|
|
7754
7801
|
*/
|
|
7755
|
-
export
|
|
7802
|
+
export declare type UploadTagCreateTargetSchema = {
|
|
7756
7803
|
data: UploadTag;
|
|
7757
|
-
}
|
|
7804
|
+
};
|
|
7758
7805
|
/**
|
|
7759
7806
|
* All the site's upload automatically generated tags
|
|
7760
7807
|
*
|
|
7761
7808
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
7762
7809
|
* "upload_smart_tag".
|
|
7763
7810
|
*/
|
|
7764
|
-
export
|
|
7811
|
+
export declare type UploadSmartTag = {
|
|
7765
7812
|
type: UploadSmartTagType;
|
|
7766
7813
|
id: UploadSmartTagIdentity;
|
|
7767
7814
|
attributes: UploadSmartTagAttributes;
|
|
7768
|
-
}
|
|
7815
|
+
};
|
|
7769
7816
|
/**
|
|
7770
7817
|
* JSON API attributes
|
|
7771
7818
|
*
|
|
7772
7819
|
* This interface was referenced by `UploadSmartTag`'s JSON-Schema via the
|
|
7773
7820
|
* `definition` "attributes".
|
|
7774
7821
|
*/
|
|
7775
|
-
export
|
|
7822
|
+
export declare type UploadSmartTagAttributes = {
|
|
7776
7823
|
/** The tag name */
|
|
7777
7824
|
name: string;
|
|
7778
|
-
}
|
|
7825
|
+
};
|
|
7779
7826
|
/**
|
|
7780
7827
|
* JSON API data
|
|
7781
7828
|
*
|
|
7782
7829
|
* This interface was referenced by `UploadSmartTag`'s JSON-Schema via the
|
|
7783
7830
|
* `definition` "data".
|
|
7784
7831
|
*/
|
|
7785
|
-
export
|
|
7832
|
+
export declare type UploadSmartTagData = {
|
|
7786
7833
|
type: UploadSmartTagType;
|
|
7787
7834
|
id: UploadSmartTagIdentity;
|
|
7788
|
-
}
|
|
7835
|
+
};
|
|
7789
7836
|
/**
|
|
7790
7837
|
* This interface was referenced by `UploadSmartTag`'s JSON-Schema via the
|
|
7791
7838
|
* `instances.targetSchema` link.
|
|
7792
7839
|
*/
|
|
7793
|
-
export
|
|
7840
|
+
export declare type UploadSmartTagInstancesTargetSchema = {
|
|
7794
7841
|
data: UploadSmartTag[];
|
|
7795
7842
|
meta: {
|
|
7796
7843
|
total_count: number;
|
|
7797
7844
|
};
|
|
7798
|
-
}
|
|
7845
|
+
};
|
|
7799
7846
|
/**
|
|
7800
7847
|
* A site represents a specific DatoCMS administrative area
|
|
7801
7848
|
*
|
|
7802
7849
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
7803
7850
|
* "site".
|
|
7804
7851
|
*/
|
|
7805
|
-
export
|
|
7852
|
+
export declare type Site = {
|
|
7806
7853
|
type: SiteType;
|
|
7807
7854
|
id: SiteIdentity;
|
|
7808
7855
|
attributes: SiteAttributes;
|
|
7809
7856
|
relationships: SiteRelationships;
|
|
7810
7857
|
meta: SiteMeta;
|
|
7811
|
-
}
|
|
7858
|
+
};
|
|
7812
7859
|
/**
|
|
7813
7860
|
* JSON API attributes
|
|
7814
7861
|
*
|
|
7815
7862
|
* This interface was referenced by `Site`'s JSON-Schema via the `definition`
|
|
7816
7863
|
* "attributes".
|
|
7817
7864
|
*/
|
|
7818
|
-
export
|
|
7865
|
+
export declare type SiteAttributes = {
|
|
7819
7866
|
/** Site name */
|
|
7820
7867
|
name: string;
|
|
7821
7868
|
/** Administrative area custom domain */
|
|
@@ -7898,55 +7945,58 @@ export interface SiteAttributes {
|
|
|
7898
7945
|
twitter_account?: null | string;
|
|
7899
7946
|
[k: string]: unknown;
|
|
7900
7947
|
} | null;
|
|
7901
|
-
}
|
|
7948
|
+
};
|
|
7902
7949
|
/**
|
|
7903
7950
|
* JSON API links
|
|
7904
7951
|
*
|
|
7905
7952
|
* This interface was referenced by `Site`'s JSON-Schema via the `definition`
|
|
7906
7953
|
* "relationships".
|
|
7907
7954
|
*/
|
|
7908
|
-
export
|
|
7909
|
-
account: {
|
|
7955
|
+
export declare type SiteRelationships = {
|
|
7956
|
+
account: null | {
|
|
7910
7957
|
data: AccountData;
|
|
7911
7958
|
};
|
|
7959
|
+
owner: {
|
|
7960
|
+
data: AccountData | OrganizationData;
|
|
7961
|
+
};
|
|
7912
7962
|
item_types: {
|
|
7913
7963
|
/** The list item types for the site */
|
|
7914
7964
|
data: ItemTypeData[];
|
|
7915
7965
|
};
|
|
7916
|
-
}
|
|
7966
|
+
};
|
|
7917
7967
|
/**
|
|
7918
7968
|
* Meta attributes
|
|
7919
7969
|
*
|
|
7920
7970
|
* This interface was referenced by `Site`'s JSON-Schema via the `definition`
|
|
7921
7971
|
* "meta".
|
|
7922
7972
|
*/
|
|
7923
|
-
export
|
|
7973
|
+
export declare type SiteMeta = {
|
|
7924
7974
|
/** Whether the Improved API Timezone Management option is active or not */
|
|
7925
7975
|
improved_timezone_management: boolean;
|
|
7926
|
-
}
|
|
7976
|
+
};
|
|
7927
7977
|
/**
|
|
7928
7978
|
* JSON API data
|
|
7929
7979
|
*
|
|
7930
7980
|
* This interface was referenced by `Site`'s JSON-Schema via the `definition`
|
|
7931
7981
|
* "data".
|
|
7932
7982
|
*/
|
|
7933
|
-
export
|
|
7983
|
+
export declare type SiteData = {
|
|
7934
7984
|
type: SiteType;
|
|
7935
7985
|
id: SiteIdentity;
|
|
7936
|
-
}
|
|
7986
|
+
};
|
|
7937
7987
|
/**
|
|
7938
7988
|
* This interface was referenced by `Site`'s JSON-Schema via the
|
|
7939
7989
|
* `self.targetSchema` link.
|
|
7940
7990
|
*/
|
|
7941
|
-
export
|
|
7991
|
+
export declare type SiteSelfTargetSchema = {
|
|
7942
7992
|
data: Site;
|
|
7943
7993
|
included?: (ItemType | Field | Upload | Fieldset | Item | Account)[];
|
|
7944
|
-
}
|
|
7994
|
+
};
|
|
7945
7995
|
/**
|
|
7946
7996
|
* This interface was referenced by `Site`'s JSON-Schema via the `update.schema`
|
|
7947
7997
|
* link.
|
|
7948
7998
|
*/
|
|
7949
|
-
export
|
|
7999
|
+
export declare type SiteUpdateSchema = {
|
|
7950
8000
|
data: {
|
|
7951
8001
|
type: SiteType;
|
|
7952
8002
|
id?: SiteIdentity;
|
|
@@ -8037,35 +8087,35 @@ export interface SiteUpdateSchema {
|
|
|
8037
8087
|
};
|
|
8038
8088
|
};
|
|
8039
8089
|
};
|
|
8040
|
-
}
|
|
8090
|
+
};
|
|
8041
8091
|
/**
|
|
8042
8092
|
* This interface was referenced by `Site`'s JSON-Schema via the
|
|
8043
8093
|
* `update.targetSchema` link.
|
|
8044
8094
|
*/
|
|
8045
|
-
export
|
|
8095
|
+
export declare type SiteUpdateTargetSchema = {
|
|
8046
8096
|
data: Job;
|
|
8047
|
-
}
|
|
8097
|
+
};
|
|
8048
8098
|
/**
|
|
8049
8099
|
* This interface was referenced by `Site`'s JSON-Schema via the
|
|
8050
8100
|
* `update.jobSchema` link.
|
|
8051
8101
|
*/
|
|
8052
|
-
export
|
|
8102
|
+
export declare type SiteUpdateJobSchema = {
|
|
8053
8103
|
data: Site;
|
|
8054
|
-
}
|
|
8104
|
+
};
|
|
8055
8105
|
/**
|
|
8056
8106
|
* This interface was referenced by `Site`'s JSON-Schema via the
|
|
8057
8107
|
* `activate_improved_timezone_management.targetSchema` link.
|
|
8058
8108
|
*/
|
|
8059
|
-
export
|
|
8109
|
+
export declare type SiteActivateImprovedTimezoneManagementTargetSchema = {
|
|
8060
8110
|
data: Job;
|
|
8061
|
-
}
|
|
8111
|
+
};
|
|
8062
8112
|
/**
|
|
8063
8113
|
* This interface was referenced by `Site`'s JSON-Schema via the
|
|
8064
8114
|
* `activate_improved_timezone_management.jobSchema` link.
|
|
8065
8115
|
*/
|
|
8066
|
-
export
|
|
8116
|
+
export declare type SiteActivateImprovedTimezoneManagementJobSchema = {
|
|
8067
8117
|
data: Site;
|
|
8068
|
-
}
|
|
8118
|
+
};
|
|
8069
8119
|
/**
|
|
8070
8120
|
* Through workflows it is possible to set up a precise state machine able to
|
|
8071
8121
|
* bring a draft content up to the final publication (and beyond), through a
|
|
@@ -8074,18 +8124,18 @@ export interface SiteActivateImprovedTimezoneManagementJobSchema {
|
|
|
8074
8124
|
* This interface was referenced by `DatoApi`'s JSON-Schema via the `definition`
|
|
8075
8125
|
* "workflow".
|
|
8076
8126
|
*/
|
|
8077
|
-
export
|
|
8127
|
+
export declare type Workflow = {
|
|
8078
8128
|
type: WorkflowType;
|
|
8079
8129
|
id: WorkflowIdentity;
|
|
8080
8130
|
attributes: WorkflowAttributes;
|
|
8081
|
-
}
|
|
8131
|
+
};
|
|
8082
8132
|
/**
|
|
8083
8133
|
* JSON API attributes
|
|
8084
8134
|
*
|
|
8085
8135
|
* This interface was referenced by `Workflow`'s JSON-Schema via the
|
|
8086
8136
|
* `definition` "attributes".
|
|
8087
8137
|
*/
|
|
8088
|
-
export
|
|
8138
|
+
export declare type WorkflowAttributes = {
|
|
8089
8139
|
/** The name of the workflow */
|
|
8090
8140
|
name: string;
|
|
8091
8141
|
/** Workflow API key */
|
|
@@ -8113,12 +8163,12 @@ export interface WorkflowAttributes {
|
|
|
8113
8163
|
initial?: boolean;
|
|
8114
8164
|
}[]
|
|
8115
8165
|
];
|
|
8116
|
-
}
|
|
8166
|
+
};
|
|
8117
8167
|
/**
|
|
8118
8168
|
* This interface was referenced by `Workflow`'s JSON-Schema via the
|
|
8119
8169
|
* `create.schema` link.
|
|
8120
8170
|
*/
|
|
8121
|
-
export
|
|
8171
|
+
export declare type WorkflowCreateSchema = {
|
|
8122
8172
|
data: {
|
|
8123
8173
|
type: WorkflowType;
|
|
8124
8174
|
/** JSON API attributes */
|
|
@@ -8152,19 +8202,19 @@ export interface WorkflowCreateSchema {
|
|
|
8152
8202
|
];
|
|
8153
8203
|
};
|
|
8154
8204
|
};
|
|
8155
|
-
}
|
|
8205
|
+
};
|
|
8156
8206
|
/**
|
|
8157
8207
|
* This interface was referenced by `Workflow`'s JSON-Schema via the
|
|
8158
8208
|
* `create.targetSchema` link.
|
|
8159
8209
|
*/
|
|
8160
|
-
export
|
|
8210
|
+
export declare type WorkflowCreateTargetSchema = {
|
|
8161
8211
|
data: Workflow;
|
|
8162
|
-
}
|
|
8212
|
+
};
|
|
8163
8213
|
/**
|
|
8164
8214
|
* This interface was referenced by `Workflow`'s JSON-Schema via the
|
|
8165
8215
|
* `update.schema` link.
|
|
8166
8216
|
*/
|
|
8167
|
-
export
|
|
8217
|
+
export declare type WorkflowUpdateSchema = {
|
|
8168
8218
|
data: {
|
|
8169
8219
|
type: WorkflowType;
|
|
8170
8220
|
id: WorkflowIdentity;
|
|
@@ -8199,25 +8249,25 @@ export interface WorkflowUpdateSchema {
|
|
|
8199
8249
|
];
|
|
8200
8250
|
};
|
|
8201
8251
|
};
|
|
8202
|
-
}
|
|
8252
|
+
};
|
|
8203
8253
|
/**
|
|
8204
8254
|
* This interface was referenced by `Workflow`'s JSON-Schema via the
|
|
8205
8255
|
* `update.targetSchema` link.
|
|
8206
8256
|
*/
|
|
8207
|
-
export
|
|
8257
|
+
export declare type WorkflowUpdateTargetSchema = {
|
|
8208
8258
|
data: Workflow;
|
|
8209
|
-
}
|
|
8259
|
+
};
|
|
8210
8260
|
/**
|
|
8211
8261
|
* This interface was referenced by `Workflow`'s JSON-Schema via the
|
|
8212
8262
|
* `instances.targetSchema` link.
|
|
8213
8263
|
*/
|
|
8214
|
-
export
|
|
8264
|
+
export declare type WorkflowInstancesTargetSchema = {
|
|
8215
8265
|
data: Workflow[];
|
|
8216
|
-
}
|
|
8266
|
+
};
|
|
8217
8267
|
/**
|
|
8218
8268
|
* This interface was referenced by `Workflow`'s JSON-Schema via the
|
|
8219
8269
|
* `self.targetSchema` link.
|
|
8220
8270
|
*/
|
|
8221
|
-
export
|
|
8271
|
+
export declare type WorkflowSelfTargetSchema = {
|
|
8222
8272
|
data: Workflow;
|
|
8223
|
-
}
|
|
8273
|
+
};
|