@datocms/cma-client 0.1.0 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1215,7 +1215,7 @@ export type SiteType = 'site';
1215
1215
  */
1216
1216
  export type SiteIdentity = string;
1217
1217
 
1218
- export interface DatoApi {
1218
+ export type DatoApi = {
1219
1219
  role?: Role;
1220
1220
  user?: User;
1221
1221
  sso_user?: SsoUser;
@@ -1261,7 +1261,7 @@ export interface DatoApi {
1261
1261
  site?: Site;
1262
1262
  workflow?: Workflow;
1263
1263
  [k: string]: unknown;
1264
- }
1264
+ };
1265
1265
 
1266
1266
  /**
1267
1267
  * A Role represents a specific set of actions an editor (or an API token) can perform on your administrative area.
@@ -1269,13 +1269,13 @@ export interface DatoApi {
1269
1269
  * This interface was referenced by `DatoApi`'s JSON-Schema
1270
1270
  * via the `definition` "role".
1271
1271
  */
1272
- export interface Role {
1272
+ export type Role = {
1273
1273
  type: RoleType;
1274
1274
  id: RoleIdentity;
1275
1275
  attributes: RoleAttributes;
1276
1276
  relationships: RoleRelationships;
1277
1277
  meta: RoleMeta;
1278
- }
1278
+ };
1279
1279
 
1280
1280
  /**
1281
1281
  * JSON API attributes
@@ -1283,7 +1283,7 @@ export interface Role {
1283
1283
  * This interface was referenced by `Role`'s JSON-Schema
1284
1284
  * via the `definition` "attributes".
1285
1285
  */
1286
- export interface RoleAttributes {
1286
+ export type RoleAttributes = {
1287
1287
  /**
1288
1288
  * The name of the role
1289
1289
  */
@@ -1502,7 +1502,7 @@ export interface RoleAttributes {
1502
1502
  negative_build_trigger_permissions: {
1503
1503
  build_trigger?: BuildTriggerIdentity | null;
1504
1504
  }[];
1505
- }
1505
+ };
1506
1506
 
1507
1507
  /**
1508
1508
  * JSON API links
@@ -1510,14 +1510,14 @@ export interface RoleAttributes {
1510
1510
  * This interface was referenced by `Role`'s JSON-Schema
1511
1511
  * via the `definition` "relationships".
1512
1512
  */
1513
- export interface RoleRelationships {
1513
+ export type RoleRelationships = {
1514
1514
  /**
1515
1515
  * The roles from which this role inherits permissions
1516
1516
  */
1517
1517
  inherits_permissions_from: {
1518
1518
  data: RoleData[];
1519
1519
  };
1520
- }
1520
+ };
1521
1521
 
1522
1522
  /**
1523
1523
  * JSON API data
@@ -1525,10 +1525,10 @@ export interface RoleRelationships {
1525
1525
  * This interface was referenced by `Role`'s JSON-Schema
1526
1526
  * via the `definition` "data".
1527
1527
  */
1528
- export interface RoleData {
1528
+ export type RoleData = {
1529
1529
  type: RoleType;
1530
1530
  id: RoleIdentity;
1531
- }
1531
+ };
1532
1532
 
1533
1533
  /**
1534
1534
  * Meta information regarding the record
@@ -1536,7 +1536,7 @@ export interface RoleData {
1536
1536
  * This interface was referenced by `Role`'s JSON-Schema
1537
1537
  * via the `definition` "meta".
1538
1538
  */
1539
- export interface RoleMeta {
1539
+ export type RoleMeta = {
1540
1540
  /**
1541
1541
  * The final set of permissions considering also inherited roles
1542
1542
  */
@@ -1756,13 +1756,13 @@ export interface RoleMeta {
1756
1756
  build_trigger?: BuildTriggerIdentity | null;
1757
1757
  }[];
1758
1758
  };
1759
- }
1759
+ };
1760
1760
 
1761
1761
  /**
1762
1762
  * This interface was referenced by `Role`'s JSON-Schema
1763
1763
  * via the `create.schema` link.
1764
1764
  */
1765
- export interface RoleCreateSchema {
1765
+ export type RoleCreateSchema = {
1766
1766
  data: {
1767
1767
  type: RoleType;
1768
1768
  /**
@@ -2001,21 +2001,21 @@ export interface RoleCreateSchema {
2001
2001
  };
2002
2002
  meta?: RoleMeta;
2003
2003
  };
2004
- }
2004
+ };
2005
2005
 
2006
2006
  /**
2007
2007
  * This interface was referenced by `Role`'s JSON-Schema
2008
2008
  * via the `create.targetSchema` link.
2009
2009
  */
2010
- export interface RoleCreateTargetSchema {
2010
+ export type RoleCreateTargetSchema = {
2011
2011
  data: Role;
2012
- }
2012
+ };
2013
2013
 
2014
2014
  /**
2015
2015
  * This interface was referenced by `Role`'s JSON-Schema
2016
2016
  * via the `update.schema` link.
2017
2017
  */
2018
- export interface RoleUpdateSchema {
2018
+ export type RoleUpdateSchema = {
2019
2019
  data: {
2020
2020
  type: RoleType;
2021
2021
  id: RoleIdentity;
@@ -2255,39 +2255,39 @@ export interface RoleUpdateSchema {
2255
2255
  };
2256
2256
  meta?: RoleMeta;
2257
2257
  };
2258
- }
2258
+ };
2259
2259
 
2260
2260
  /**
2261
2261
  * This interface was referenced by `Role`'s JSON-Schema
2262
2262
  * via the `update.targetSchema` link.
2263
2263
  */
2264
- export interface RoleUpdateTargetSchema {
2264
+ export type RoleUpdateTargetSchema = {
2265
2265
  data: Role;
2266
- }
2266
+ };
2267
2267
 
2268
2268
  /**
2269
2269
  * This interface was referenced by `Role`'s JSON-Schema
2270
2270
  * via the `instances.targetSchema` link.
2271
2271
  */
2272
- export interface RoleInstancesTargetSchema {
2272
+ export type RoleInstancesTargetSchema = {
2273
2273
  data: Role[];
2274
- }
2274
+ };
2275
2275
 
2276
2276
  /**
2277
2277
  * This interface was referenced by `Role`'s JSON-Schema
2278
2278
  * via the `self.targetSchema` link.
2279
2279
  */
2280
- export interface RoleSelfTargetSchema {
2280
+ export type RoleSelfTargetSchema = {
2281
2281
  data: Role;
2282
- }
2282
+ };
2283
2283
 
2284
2284
  /**
2285
2285
  * This interface was referenced by `Role`'s JSON-Schema
2286
2286
  * via the `destroy.targetSchema` link.
2287
2287
  */
2288
- export interface RoleDestroyTargetSchema {
2288
+ export type RoleDestroyTargetSchema = {
2289
2289
  data: Role;
2290
- }
2290
+ };
2291
2291
 
2292
2292
  /**
2293
2293
  * A DatoCMS administrative area can be accessed by multiple people. Every collaborator is linked to a specific Role, which describes what actions it will be able to perform once logged in.
@@ -2295,13 +2295,13 @@ export interface RoleDestroyTargetSchema {
2295
2295
  * This interface was referenced by `DatoApi`'s JSON-Schema
2296
2296
  * via the `definition` "user".
2297
2297
  */
2298
- export interface User {
2298
+ export type User = {
2299
2299
  type: UserType;
2300
2300
  id: UserIdentity;
2301
2301
  attributes: UserAttributes;
2302
2302
  relationships: UserRelationships;
2303
2303
  meta?: UserMeta;
2304
- }
2304
+ };
2305
2305
 
2306
2306
  /**
2307
2307
  * JSON API attributes
@@ -2309,7 +2309,7 @@ export interface User {
2309
2309
  * This interface was referenced by `User`'s JSON-Schema
2310
2310
  * via the `definition` "attributes".
2311
2311
  */
2312
- export interface UserAttributes {
2312
+ export type UserAttributes = {
2313
2313
  /**
2314
2314
  * Email
2315
2315
  */
@@ -2326,7 +2326,7 @@ export interface UserAttributes {
2326
2326
  * Whether the user is active or not
2327
2327
  */
2328
2328
  is_active: boolean;
2329
- }
2329
+ };
2330
2330
 
2331
2331
  /**
2332
2332
  * JSON API links
@@ -2334,14 +2334,14 @@ export interface UserAttributes {
2334
2334
  * This interface was referenced by `User`'s JSON-Schema
2335
2335
  * via the `definition` "relationships".
2336
2336
  */
2337
- export interface UserRelationships {
2337
+ export type UserRelationships = {
2338
2338
  /**
2339
2339
  * Role
2340
2340
  */
2341
2341
  role: {
2342
2342
  data: RoleData;
2343
2343
  };
2344
- }
2344
+ };
2345
2345
 
2346
2346
  /**
2347
2347
  * Meta information on the user
@@ -2349,12 +2349,12 @@ export interface UserRelationships {
2349
2349
  * This interface was referenced by `User`'s JSON-Schema
2350
2350
  * via the `definition` "meta".
2351
2351
  */
2352
- export interface UserMeta {
2352
+ export type UserMeta = {
2353
2353
  /**
2354
2354
  * Date of last reading/interaction
2355
2355
  */
2356
2356
  last_access: string | null;
2357
- }
2357
+ };
2358
2358
 
2359
2359
  /**
2360
2360
  * JSON API data
@@ -2362,16 +2362,16 @@ export interface UserMeta {
2362
2362
  * This interface was referenced by `User`'s JSON-Schema
2363
2363
  * via the `definition` "data".
2364
2364
  */
2365
- export interface UserData {
2365
+ export type UserData = {
2366
2366
  type: UserType;
2367
2367
  id: UserIdentity;
2368
- }
2368
+ };
2369
2369
 
2370
2370
  /**
2371
2371
  * This interface was referenced by `User`'s JSON-Schema
2372
2372
  * via the `update.schema` link.
2373
2373
  */
2374
- export interface UserUpdateSchema {
2374
+ export type UserUpdateSchema = {
2375
2375
  data: {
2376
2376
  type: UserType;
2377
2377
  id: UserIdentity;
@@ -2390,39 +2390,39 @@ export interface UserUpdateSchema {
2390
2390
  };
2391
2391
  };
2392
2392
  };
2393
- }
2393
+ };
2394
2394
 
2395
2395
  /**
2396
2396
  * This interface was referenced by `User`'s JSON-Schema
2397
2397
  * via the `update.targetSchema` link.
2398
2398
  */
2399
- export interface UserUpdateTargetSchema {
2399
+ export type UserUpdateTargetSchema = {
2400
2400
  data: User;
2401
- }
2401
+ };
2402
2402
 
2403
2403
  /**
2404
2404
  * This interface was referenced by `User`'s JSON-Schema
2405
2405
  * via the `instances.targetSchema` link.
2406
2406
  */
2407
- export interface UserInstancesTargetSchema {
2407
+ export type UserInstancesTargetSchema = {
2408
2408
  data: User[];
2409
- }
2409
+ };
2410
2410
 
2411
2411
  /**
2412
2412
  * This interface was referenced by `User`'s JSON-Schema
2413
2413
  * via the `self.targetSchema` link.
2414
2414
  */
2415
- export interface UserSelfTargetSchema {
2415
+ export type UserSelfTargetSchema = {
2416
2416
  data: User;
2417
- }
2417
+ };
2418
2418
 
2419
2419
  /**
2420
2420
  * This interface was referenced by `User`'s JSON-Schema
2421
2421
  * via the `destroy.targetSchema` link.
2422
2422
  */
2423
- export interface UserDestroyTargetSchema {
2423
+ export type UserDestroyTargetSchema = {
2424
2424
  data: User;
2425
- }
2425
+ };
2426
2426
 
2427
2427
  /**
2428
2428
  * A Single Sign-On user exists when a DatoCMS project is connected to an external Identity Provider. An SSO user will not use the standard login procedure but has to go through SAML authentication. It can also be linked to one or more IdP groups.
@@ -2430,13 +2430,13 @@ export interface UserDestroyTargetSchema {
2430
2430
  * This interface was referenced by `DatoApi`'s JSON-Schema
2431
2431
  * via the `definition` "sso_user".
2432
2432
  */
2433
- export interface SsoUser {
2433
+ export type SsoUser = {
2434
2434
  type: SsoUserType;
2435
2435
  id: SsoUserIdentity;
2436
2436
  attributes: SsoUserAttributes;
2437
2437
  relationships: SsoUserRelationships;
2438
2438
  meta: SsoUserMeta;
2439
- }
2439
+ };
2440
2440
 
2441
2441
  /**
2442
2442
  * JSON API attributes
@@ -2444,7 +2444,7 @@ export interface SsoUser {
2444
2444
  * This interface was referenced by `SsoUser`'s JSON-Schema
2445
2445
  * via the `definition` "attributes".
2446
2446
  */
2447
- export interface SsoUserAttributes {
2447
+ export type SsoUserAttributes = {
2448
2448
  /**
2449
2449
  * Email
2450
2450
  */
@@ -2465,7 +2465,7 @@ export interface SsoUserAttributes {
2465
2465
  * Last name
2466
2466
  */
2467
2467
  last_name: string | null;
2468
- }
2468
+ };
2469
2469
 
2470
2470
  /**
2471
2471
  * JSON API links
@@ -2473,7 +2473,7 @@ export interface SsoUserAttributes {
2473
2473
  * This interface was referenced by `SsoUser`'s JSON-Schema
2474
2474
  * via the `definition` "relationships".
2475
2475
  */
2476
- export interface SsoUserRelationships {
2476
+ export type SsoUserRelationships = {
2477
2477
  /**
2478
2478
  * All the users's groups
2479
2479
  */
@@ -2486,7 +2486,7 @@ export interface SsoUserRelationships {
2486
2486
  role: {
2487
2487
  data: RoleData | null;
2488
2488
  };
2489
- }
2489
+ };
2490
2490
 
2491
2491
  /**
2492
2492
  * JSON API data
@@ -2494,10 +2494,10 @@ export interface SsoUserRelationships {
2494
2494
  * This interface was referenced by `SsoGroup`'s JSON-Schema
2495
2495
  * via the `definition` "data".
2496
2496
  */
2497
- export interface SsoGroupData {
2497
+ export type SsoGroupData = {
2498
2498
  type: SsoGroupType;
2499
2499
  id: SsoGroupIdentity;
2500
- }
2500
+ };
2501
2501
 
2502
2502
  /**
2503
2503
  * Meta information on the user
@@ -2505,12 +2505,12 @@ export interface SsoGroupData {
2505
2505
  * This interface was referenced by `SsoUser`'s JSON-Schema
2506
2506
  * via the `definition` "meta".
2507
2507
  */
2508
- export interface SsoUserMeta {
2508
+ export type SsoUserMeta = {
2509
2509
  /**
2510
2510
  * Date of last reading/interaction
2511
2511
  */
2512
2512
  last_access: string | null;
2513
- }
2513
+ };
2514
2514
 
2515
2515
  /**
2516
2516
  * JSON API data
@@ -2518,42 +2518,42 @@ export interface SsoUserMeta {
2518
2518
  * This interface was referenced by `SsoUser`'s JSON-Schema
2519
2519
  * via the `definition` "data".
2520
2520
  */
2521
- export interface SsoUserData {
2521
+ export type SsoUserData = {
2522
2522
  type: SsoUserType;
2523
2523
  id: SsoUserIdentity;
2524
- }
2524
+ };
2525
2525
 
2526
2526
  /**
2527
2527
  * This interface was referenced by `SsoUser`'s JSON-Schema
2528
2528
  * via the `instances.targetSchema` link.
2529
2529
  */
2530
- export interface SsoUserInstancesTargetSchema {
2530
+ export type SsoUserInstancesTargetSchema = {
2531
2531
  data: SsoUser[];
2532
- }
2532
+ };
2533
2533
 
2534
2534
  /**
2535
2535
  * This interface was referenced by `SsoUser`'s JSON-Schema
2536
2536
  * via the `self.targetSchema` link.
2537
2537
  */
2538
- export interface SsoUserSelfTargetSchema {
2538
+ export type SsoUserSelfTargetSchema = {
2539
2539
  data: SsoUser;
2540
- }
2540
+ };
2541
2541
 
2542
2542
  /**
2543
2543
  * This interface was referenced by `SsoUser`'s JSON-Schema
2544
2544
  * via the `copy_users.targetSchema` link.
2545
2545
  */
2546
- export interface SsoUserCopyUsersTargetSchema {
2546
+ export type SsoUserCopyUsersTargetSchema = {
2547
2547
  data: SsoUser[];
2548
- }
2548
+ };
2549
2549
 
2550
2550
  /**
2551
2551
  * This interface was referenced by `SsoUser`'s JSON-Schema
2552
2552
  * via the `destroy.targetSchema` link.
2553
2553
  */
2554
- export interface SsoUserDestroyTargetSchema {
2554
+ export type SsoUserDestroyTargetSchema = {
2555
2555
  data: SsoUser;
2556
- }
2556
+ };
2557
2557
 
2558
2558
  /**
2559
2559
  * If the Audit log functionality is enabled in a project, logged events can be queried using SQL-like language and fetched in full detail so that they can be exported or analyzed.
@@ -2561,12 +2561,12 @@ export interface SsoUserDestroyTargetSchema {
2561
2561
  * This interface was referenced by `DatoApi`'s JSON-Schema
2562
2562
  * via the `definition` "audit_log_event".
2563
2563
  */
2564
- export interface AuditLogEvent {
2564
+ export type AuditLogEvent = {
2565
2565
  type: AuditLogEventType;
2566
2566
  id: AuditLogEventIdentity;
2567
2567
  attributes: AuditLogEventAttributes;
2568
2568
  meta: AuditLogEventMeta;
2569
- }
2569
+ };
2570
2570
 
2571
2571
  /**
2572
2572
  * JSON API attributes
@@ -2574,7 +2574,7 @@ export interface AuditLogEvent {
2574
2574
  * This interface was referenced by `AuditLogEvent`'s JSON-Schema
2575
2575
  * via the `definition` "attributes".
2576
2576
  */
2577
- export interface AuditLogEventAttributes {
2577
+ export type AuditLogEventAttributes = {
2578
2578
  /**
2579
2579
  * The actual action performed
2580
2580
  */
@@ -2660,7 +2660,7 @@ export interface AuditLogEventAttributes {
2660
2660
  [k: string]: unknown;
2661
2661
  };
2662
2662
  };
2663
- }
2663
+ };
2664
2664
 
2665
2665
  /**
2666
2666
  * JSON API meta
@@ -2668,12 +2668,12 @@ export interface AuditLogEventAttributes {
2668
2668
  * This interface was referenced by `AuditLogEvent`'s JSON-Schema
2669
2669
  * via the `definition` "meta".
2670
2670
  */
2671
- export interface AuditLogEventMeta {
2671
+ export type AuditLogEventMeta = {
2672
2672
  /**
2673
2673
  * The date of the event
2674
2674
  */
2675
2675
  occurred_at: string;
2676
- }
2676
+ };
2677
2677
 
2678
2678
  /**
2679
2679
  * JSON API data
@@ -2681,16 +2681,16 @@ export interface AuditLogEventMeta {
2681
2681
  * This interface was referenced by `AuditLogEvent`'s JSON-Schema
2682
2682
  * via the `definition` "data".
2683
2683
  */
2684
- export interface AuditLogEventData {
2684
+ export type AuditLogEventData = {
2685
2685
  type: AuditLogEventType;
2686
2686
  id: AuditLogEventIdentity;
2687
- }
2687
+ };
2688
2688
 
2689
2689
  /**
2690
2690
  * This interface was referenced by `AuditLogEvent`'s JSON-Schema
2691
2691
  * via the `query.schema` link.
2692
2692
  */
2693
- export interface AuditLogEventQuerySchema {
2693
+ export type AuditLogEventQuerySchema = {
2694
2694
  data: {
2695
2695
  /**
2696
2696
  * JSON API type field
@@ -2711,13 +2711,13 @@ export interface AuditLogEventQuerySchema {
2711
2711
  detailed_log?: boolean;
2712
2712
  };
2713
2713
  };
2714
- }
2714
+ };
2715
2715
 
2716
2716
  /**
2717
2717
  * This interface was referenced by `AuditLogEvent`'s JSON-Schema
2718
2718
  * via the `query.targetSchema` link.
2719
2719
  */
2720
- export interface AuditLogEventQueryTargetSchema {
2720
+ export type AuditLogEventQueryTargetSchema = {
2721
2721
  data: AuditLogEvent[];
2722
2722
  meta: {
2723
2723
  /**
@@ -2725,7 +2725,7 @@ export interface AuditLogEventQueryTargetSchema {
2725
2725
  */
2726
2726
  next_token: null | string;
2727
2727
  };
2728
- }
2728
+ };
2729
2729
 
2730
2730
  /**
2731
2731
  * DatoCMS account
@@ -2733,11 +2733,11 @@ export interface AuditLogEventQueryTargetSchema {
2733
2733
  * This interface was referenced by `DatoApi`'s JSON-Schema
2734
2734
  * via the `definition` "account".
2735
2735
  */
2736
- export interface Account {
2736
+ export type Account = {
2737
2737
  type: AccountType;
2738
2738
  id: AccountIdentity;
2739
2739
  attributes: AccountAttributes;
2740
- }
2740
+ };
2741
2741
 
2742
2742
  /**
2743
2743
  * JSON API attributes
@@ -2745,7 +2745,7 @@ export interface Account {
2745
2745
  * This interface was referenced by `Account`'s JSON-Schema
2746
2746
  * via the `definition` "attributes".
2747
2747
  */
2748
- export interface AccountAttributes {
2748
+ export type AccountAttributes = {
2749
2749
  /**
2750
2750
  * Email
2751
2751
  */
@@ -2766,7 +2766,7 @@ export interface AccountAttributes {
2766
2766
  * Password
2767
2767
  */
2768
2768
  password?: string;
2769
- }
2769
+ };
2770
2770
 
2771
2771
  /**
2772
2772
  * JSON API data
@@ -2774,10 +2774,10 @@ export interface AccountAttributes {
2774
2774
  * This interface was referenced by `Account`'s JSON-Schema
2775
2775
  * via the `definition` "data".
2776
2776
  */
2777
- export interface AccountData {
2777
+ export type AccountData = {
2778
2778
  type: AccountType;
2779
2779
  id: AccountIdentity;
2780
- }
2780
+ };
2781
2781
 
2782
2782
  /**
2783
2783
  * Stores the information regarding the current plan for the project.
@@ -2785,11 +2785,11 @@ export interface AccountData {
2785
2785
  * This interface was referenced by `DatoApi`'s JSON-Schema
2786
2786
  * via the `definition` "site_plan".
2787
2787
  */
2788
- export interface SitePlan {
2788
+ export type SitePlan = {
2789
2789
  type: SitePlanType;
2790
2790
  id: SitePlanIdentity;
2791
2791
  attributes: SitePlanAttributes;
2792
- }
2792
+ };
2793
2793
 
2794
2794
  /**
2795
2795
  * JSON API attributes
@@ -2797,7 +2797,7 @@ export interface SitePlan {
2797
2797
  * This interface was referenced by `SitePlan`'s JSON-Schema
2798
2798
  * via the `definition` "attributes".
2799
2799
  */
2800
- export interface SitePlanAttributes {
2800
+ export type SitePlanAttributes = {
2801
2801
  /**
2802
2802
  * The name of the plan
2803
2803
  */
@@ -2996,7 +2996,7 @@ export interface SitePlanAttributes {
2996
2996
  price: number;
2997
2997
  };
2998
2998
  };
2999
- }
2999
+ };
3000
3000
 
3001
3001
  /**
3002
3002
  * JSON API data
@@ -3004,10 +3004,10 @@ export interface SitePlanAttributes {
3004
3004
  * This interface was referenced by `SitePlan`'s JSON-Schema
3005
3005
  * via the `definition` "data".
3006
3006
  */
3007
- export interface SitePlanData {
3007
+ export type SitePlanData = {
3008
3008
  type: SitePlanType;
3009
3009
  id: SitePlanIdentity;
3010
- }
3010
+ };
3011
3011
 
3012
3012
  /**
3013
3013
  * In DatoCMS you can organize the different Models present in your administrative area reordering and grouping them, so that their purpose will be more clear to the final editor.
@@ -3015,12 +3015,12 @@ export interface SitePlanData {
3015
3015
  * This interface was referenced by `DatoApi`'s JSON-Schema
3016
3016
  * via the `definition` "menu_item".
3017
3017
  */
3018
- export interface MenuItem {
3018
+ export type MenuItem = {
3019
3019
  type: MenuItemType;
3020
3020
  id: MenuItemIdentity;
3021
3021
  attributes: MenuItemAttributes;
3022
3022
  relationships: MenuItemRelationships;
3023
- }
3023
+ };
3024
3024
 
3025
3025
  /**
3026
3026
  * JSON API attributes
@@ -3028,7 +3028,7 @@ export interface MenuItem {
3028
3028
  * This interface was referenced by `MenuItem`'s JSON-Schema
3029
3029
  * via the `definition` "attributes".
3030
3030
  */
3031
- export interface MenuItemAttributes {
3031
+ export type MenuItemAttributes = {
3032
3032
  /**
3033
3033
  * The label of the menu item
3034
3034
  */
@@ -3045,7 +3045,7 @@ export interface MenuItemAttributes {
3045
3045
  * Opens link in new tab (used together with `external_url`)
3046
3046
  */
3047
3047
  open_in_new_tab: boolean;
3048
- }
3048
+ };
3049
3049
 
3050
3050
  /**
3051
3051
  * JSON API links
@@ -3053,7 +3053,7 @@ export interface MenuItemAttributes {
3053
3053
  * This interface was referenced by `MenuItem`'s JSON-Schema
3054
3054
  * via the `definition` "relationships".
3055
3055
  */
3056
- export interface MenuItemRelationships {
3056
+ export type MenuItemRelationships = {
3057
3057
  /**
3058
3058
  * item type associated with the menu item
3059
3059
  */
@@ -3072,7 +3072,7 @@ export interface MenuItemRelationships {
3072
3072
  children: {
3073
3073
  data: MenuItemData[];
3074
3074
  };
3075
- }
3075
+ };
3076
3076
 
3077
3077
  /**
3078
3078
  * JSON API data
@@ -3080,10 +3080,10 @@ export interface MenuItemRelationships {
3080
3080
  * This interface was referenced by `ItemType`'s JSON-Schema
3081
3081
  * via the `definition` "data".
3082
3082
  */
3083
- export interface ItemTypeData {
3083
+ export type ItemTypeData = {
3084
3084
  type: ItemTypeType;
3085
3085
  id: ItemTypeIdentity;
3086
- }
3086
+ };
3087
3087
 
3088
3088
  /**
3089
3089
  * JSON API data
@@ -3091,16 +3091,16 @@ export interface ItemTypeData {
3091
3091
  * This interface was referenced by `MenuItem`'s JSON-Schema
3092
3092
  * via the `definition` "data".
3093
3093
  */
3094
- export interface MenuItemData {
3094
+ export type MenuItemData = {
3095
3095
  type: MenuItemType;
3096
3096
  id: MenuItemIdentity;
3097
- }
3097
+ };
3098
3098
 
3099
3099
  /**
3100
3100
  * This interface was referenced by `MenuItem`'s JSON-Schema
3101
3101
  * via the `create.schema` link.
3102
3102
  */
3103
- export interface MenuItemCreateSchema {
3103
+ export type MenuItemCreateSchema = {
3104
3104
  data: {
3105
3105
  type: MenuItemType;
3106
3106
  /**
@@ -3139,21 +3139,21 @@ export interface MenuItemCreateSchema {
3139
3139
  };
3140
3140
  };
3141
3141
  };
3142
- }
3142
+ };
3143
3143
 
3144
3144
  /**
3145
3145
  * This interface was referenced by `MenuItem`'s JSON-Schema
3146
3146
  * via the `create.targetSchema` link.
3147
3147
  */
3148
- export interface MenuItemCreateTargetSchema {
3148
+ export type MenuItemCreateTargetSchema = {
3149
3149
  data: MenuItem;
3150
- }
3150
+ };
3151
3151
 
3152
3152
  /**
3153
3153
  * This interface was referenced by `MenuItem`'s JSON-Schema
3154
3154
  * via the `update.schema` link.
3155
3155
  */
3156
- export interface MenuItemUpdateSchema {
3156
+ export type MenuItemUpdateSchema = {
3157
3157
  data: {
3158
3158
  type: MenuItemType;
3159
3159
  id: MenuItemIdentity;
@@ -3193,39 +3193,39 @@ export interface MenuItemUpdateSchema {
3193
3193
  };
3194
3194
  };
3195
3195
  };
3196
- }
3196
+ };
3197
3197
 
3198
3198
  /**
3199
3199
  * This interface was referenced by `MenuItem`'s JSON-Schema
3200
3200
  * via the `update.targetSchema` link.
3201
3201
  */
3202
- export interface MenuItemUpdateTargetSchema {
3202
+ export type MenuItemUpdateTargetSchema = {
3203
3203
  data: MenuItem;
3204
- }
3204
+ };
3205
3205
 
3206
3206
  /**
3207
3207
  * This interface was referenced by `MenuItem`'s JSON-Schema
3208
3208
  * via the `instances.targetSchema` link.
3209
3209
  */
3210
- export interface MenuItemInstancesTargetSchema {
3210
+ export type MenuItemInstancesTargetSchema = {
3211
3211
  data: MenuItem[];
3212
- }
3212
+ };
3213
3213
 
3214
3214
  /**
3215
3215
  * This interface was referenced by `MenuItem`'s JSON-Schema
3216
3216
  * via the `self.targetSchema` link.
3217
3217
  */
3218
- export interface MenuItemSelfTargetSchema {
3218
+ export type MenuItemSelfTargetSchema = {
3219
3219
  data: MenuItem;
3220
- }
3220
+ };
3221
3221
 
3222
3222
  /**
3223
3223
  * This interface was referenced by `MenuItem`'s JSON-Schema
3224
3224
  * via the `destroy.targetSchema` link.
3225
3225
  */
3226
- export interface MenuItemDestroyTargetSchema {
3226
+ export type MenuItemDestroyTargetSchema = {
3227
3227
  data: MenuItem;
3228
- }
3228
+ };
3229
3229
 
3230
3230
  /**
3231
3231
  * The way you define the kind of content you can edit inside your administrative area passes through the concept of Models, which are much like database tables. For backward-compatibility reasons, the API refers to models as "item types".
@@ -3233,12 +3233,12 @@ export interface MenuItemDestroyTargetSchema {
3233
3233
  * This interface was referenced by `DatoApi`'s JSON-Schema
3234
3234
  * via the `definition` "item_type".
3235
3235
  */
3236
- export interface ItemType {
3236
+ export type ItemType = {
3237
3237
  type: ItemTypeType;
3238
3238
  id: ItemTypeIdentity;
3239
3239
  attributes: ItemTypeAttributes;
3240
3240
  relationships: ItemTypeRelationships;
3241
- }
3241
+ };
3242
3242
 
3243
3243
  /**
3244
3244
  * JSON API attributes
@@ -3246,7 +3246,7 @@ export interface ItemType {
3246
3246
  * This interface was referenced by `ItemType`'s JSON-Schema
3247
3247
  * via the `definition` "attributes".
3248
3248
  */
3249
- export interface ItemTypeAttributes {
3249
+ export type ItemTypeAttributes = {
3250
3250
  /**
3251
3251
  * Name of the model
3252
3252
  */
@@ -3308,7 +3308,7 @@ export interface ItemTypeAttributes {
3308
3308
  * A hint shown to editors to help them understand the purpose of this model/block
3309
3309
  */
3310
3310
  hint: string | null;
3311
- }
3311
+ };
3312
3312
 
3313
3313
  /**
3314
3314
  * JSON API links
@@ -3316,7 +3316,7 @@ export interface ItemTypeAttributes {
3316
3316
  * This interface was referenced by `ItemType`'s JSON-Schema
3317
3317
  * via the `definition` "relationships".
3318
3318
  */
3319
- export interface ItemTypeRelationships {
3319
+ export type ItemTypeRelationships = {
3320
3320
  /**
3321
3321
  * The item instance related to this item type
3322
3322
  */
@@ -3359,7 +3359,7 @@ export interface ItemTypeRelationships {
3359
3359
  workflow: {
3360
3360
  data: WorkflowData | null;
3361
3361
  };
3362
- }
3362
+ };
3363
3363
 
3364
3364
  /**
3365
3365
  * JSON API data
@@ -3367,10 +3367,10 @@ export interface ItemTypeRelationships {
3367
3367
  * This interface was referenced by `Item`'s JSON-Schema
3368
3368
  * via the `definition` "data".
3369
3369
  */
3370
- export interface ItemData {
3370
+ export type ItemData = {
3371
3371
  type: ItemType1;
3372
3372
  id: ItemIdentity;
3373
- }
3373
+ };
3374
3374
 
3375
3375
  /**
3376
3376
  * JSON API data
@@ -3378,10 +3378,10 @@ export interface ItemData {
3378
3378
  * This interface was referenced by `Field`'s JSON-Schema
3379
3379
  * via the `definition` "data".
3380
3380
  */
3381
- export interface FieldData {
3381
+ export type FieldData = {
3382
3382
  type: FieldType;
3383
3383
  id: FieldIdentity;
3384
- }
3384
+ };
3385
3385
 
3386
3386
  /**
3387
3387
  * JSON API data
@@ -3389,16 +3389,16 @@ export interface FieldData {
3389
3389
  * This interface was referenced by `Workflow`'s JSON-Schema
3390
3390
  * via the `definition` "data".
3391
3391
  */
3392
- export interface WorkflowData {
3392
+ export type WorkflowData = {
3393
3393
  type: WorkflowType;
3394
3394
  id: WorkflowIdentity;
3395
- }
3395
+ };
3396
3396
 
3397
3397
  /**
3398
3398
  * This interface was referenced by `ItemType`'s JSON-Schema
3399
3399
  * via the `create.schema` link.
3400
3400
  */
3401
- export interface ItemTypeCreateSchema {
3401
+ export type ItemTypeCreateSchema = {
3402
3402
  data: {
3403
3403
  type: ItemTypeType;
3404
3404
  /**
@@ -3496,22 +3496,22 @@ export interface ItemTypeCreateSchema {
3496
3496
  };
3497
3497
  };
3498
3498
  };
3499
- }
3499
+ };
3500
3500
 
3501
3501
  /**
3502
3502
  * This interface was referenced by `ItemType`'s JSON-Schema
3503
3503
  * via the `create.targetSchema` link.
3504
3504
  */
3505
- export interface ItemTypeCreateTargetSchema {
3505
+ export type ItemTypeCreateTargetSchema = {
3506
3506
  data: ItemType;
3507
3507
  included?: MenuItem[];
3508
- }
3508
+ };
3509
3509
 
3510
3510
  /**
3511
3511
  * This interface was referenced by `ItemType`'s JSON-Schema
3512
3512
  * via the `update.schema` link.
3513
3513
  */
3514
- export interface ItemTypeUpdateSchema {
3514
+ export type ItemTypeUpdateSchema = {
3515
3515
  data: {
3516
3516
  type: ItemTypeType;
3517
3517
  id: ItemTypeIdentity;
@@ -3614,24 +3614,24 @@ export interface ItemTypeUpdateSchema {
3614
3614
  };
3615
3615
  };
3616
3616
  };
3617
- }
3617
+ };
3618
3618
 
3619
3619
  /**
3620
3620
  * This interface was referenced by `ItemType`'s JSON-Schema
3621
3621
  * via the `update.targetSchema` link.
3622
3622
  */
3623
- export interface ItemTypeUpdateTargetSchema {
3623
+ export type ItemTypeUpdateTargetSchema = {
3624
3624
  data: Job;
3625
- }
3625
+ };
3626
3626
 
3627
3627
  /**
3628
3628
  * This interface was referenced by `DatoApi`'s JSON-Schema
3629
3629
  * via the `definition` "job".
3630
3630
  */
3631
- export interface Job {
3631
+ export type Job = {
3632
3632
  type: JobType;
3633
3633
  id: JobIdentity;
3634
- }
3634
+ };
3635
3635
 
3636
3636
  /**
3637
3637
  * JSON API data
@@ -3639,58 +3639,58 @@ export interface Job {
3639
3639
  * This interface was referenced by `Job`'s JSON-Schema
3640
3640
  * via the `definition` "data".
3641
3641
  */
3642
- export interface JobData {
3642
+ export type JobData = {
3643
3643
  type: JobType;
3644
3644
  id: JobIdentity;
3645
- }
3645
+ };
3646
3646
 
3647
3647
  /**
3648
3648
  * This interface was referenced by `ItemType`'s JSON-Schema
3649
3649
  * via the `update.jobSchema` link.
3650
3650
  */
3651
- export interface ItemTypeUpdateJobSchema {
3651
+ export type ItemTypeUpdateJobSchema = {
3652
3652
  data: ItemType;
3653
- }
3653
+ };
3654
3654
 
3655
3655
  /**
3656
3656
  * This interface was referenced by `ItemType`'s JSON-Schema
3657
3657
  * via the `instances.targetSchema` link.
3658
3658
  */
3659
- export interface ItemTypeInstancesTargetSchema {
3659
+ export type ItemTypeInstancesTargetSchema = {
3660
3660
  data: ItemType[];
3661
- }
3661
+ };
3662
3662
 
3663
3663
  /**
3664
3664
  * This interface was referenced by `ItemType`'s JSON-Schema
3665
3665
  * via the `self.targetSchema` link.
3666
3666
  */
3667
- export interface ItemTypeSelfTargetSchema {
3667
+ export type ItemTypeSelfTargetSchema = {
3668
3668
  data: ItemType;
3669
- }
3669
+ };
3670
3670
 
3671
3671
  /**
3672
3672
  * This interface was referenced by `ItemType`'s JSON-Schema
3673
3673
  * via the `duplicate.targetSchema` link.
3674
3674
  */
3675
- export interface ItemTypeDuplicateTargetSchema {
3675
+ export type ItemTypeDuplicateTargetSchema = {
3676
3676
  data: ItemType;
3677
- }
3677
+ };
3678
3678
 
3679
3679
  /**
3680
3680
  * This interface was referenced by `ItemType`'s JSON-Schema
3681
3681
  * via the `destroy.targetSchema` link.
3682
3682
  */
3683
- export interface ItemTypeDestroyTargetSchema {
3683
+ export type ItemTypeDestroyTargetSchema = {
3684
3684
  data: Job;
3685
- }
3685
+ };
3686
3686
 
3687
3687
  /**
3688
3688
  * This interface was referenced by `ItemType`'s JSON-Schema
3689
3689
  * via the `destroy.jobSchema` link.
3690
3690
  */
3691
- export interface ItemTypeDestroyJobSchema {
3691
+ export type ItemTypeDestroyJobSchema = {
3692
3692
  data: ItemType;
3693
- }
3693
+ };
3694
3694
 
3695
3695
  /**
3696
3696
  * Each Model consists of a set of fields. Using the database metaphore, fields are like table columns, and when creating them you need to specify their type (`string`, `file`, `float`, etc.) and any required validation.
@@ -3698,12 +3698,12 @@ export interface ItemTypeDestroyJobSchema {
3698
3698
  * This interface was referenced by `DatoApi`'s JSON-Schema
3699
3699
  * via the `definition` "field".
3700
3700
  */
3701
- export interface Field {
3701
+ export type Field = {
3702
3702
  type: FieldType;
3703
3703
  id: FieldIdentity;
3704
3704
  attributes: FieldAttributes;
3705
3705
  relationships: FieldRelationships;
3706
- }
3706
+ };
3707
3707
 
3708
3708
  /**
3709
3709
  * JSON API attributes
@@ -3711,7 +3711,7 @@ export interface Field {
3711
3711
  * This interface was referenced by `Field`'s JSON-Schema
3712
3712
  * via the `definition` "attributes".
3713
3713
  */
3714
- export interface FieldAttributes {
3714
+ export type FieldAttributes = {
3715
3715
  /**
3716
3716
  * The label of the field
3717
3717
  */
@@ -3800,7 +3800,7 @@ export interface FieldAttributes {
3800
3800
  * Ordering index
3801
3801
  */
3802
3802
  position: number;
3803
- }
3803
+ };
3804
3804
 
3805
3805
  /**
3806
3806
  * JSON API links
@@ -3808,7 +3808,7 @@ export interface FieldAttributes {
3808
3808
  * This interface was referenced by `Field`'s JSON-Schema
3809
3809
  * via the `definition` "relationships".
3810
3810
  */
3811
- export interface FieldRelationships {
3811
+ export type FieldRelationships = {
3812
3812
  /**
3813
3813
  * Field item type
3814
3814
  */
@@ -3821,7 +3821,7 @@ export interface FieldRelationships {
3821
3821
  fieldset: {
3822
3822
  data: null | FieldsetData;
3823
3823
  };
3824
- }
3824
+ };
3825
3825
 
3826
3826
  /**
3827
3827
  * JSON API data
@@ -3829,16 +3829,16 @@ export interface FieldRelationships {
3829
3829
  * This interface was referenced by `Fieldset`'s JSON-Schema
3830
3830
  * via the `definition` "data".
3831
3831
  */
3832
- export interface FieldsetData {
3832
+ export type FieldsetData = {
3833
3833
  type: FieldsetType;
3834
3834
  id: FieldsetIdentity;
3835
- }
3835
+ };
3836
3836
 
3837
3837
  /**
3838
3838
  * This interface was referenced by `Field`'s JSON-Schema
3839
3839
  * via the `create.schema` link.
3840
3840
  */
3841
- export interface FieldCreateSchema {
3841
+ export type FieldCreateSchema = {
3842
3842
  data: {
3843
3843
  type: FieldType;
3844
3844
  /**
@@ -3946,30 +3946,30 @@ export interface FieldCreateSchema {
3946
3946
  };
3947
3947
  };
3948
3948
  };
3949
- }
3949
+ };
3950
3950
 
3951
3951
  /**
3952
3952
  * This interface was referenced by `Field`'s JSON-Schema
3953
3953
  * via the `create.targetSchema` link.
3954
3954
  */
3955
- export interface FieldCreateTargetSchema {
3955
+ export type FieldCreateTargetSchema = {
3956
3956
  data: Job;
3957
- }
3957
+ };
3958
3958
 
3959
3959
  /**
3960
3960
  * This interface was referenced by `Field`'s JSON-Schema
3961
3961
  * via the `create.jobSchema` link.
3962
3962
  */
3963
- export interface FieldCreateJobSchema {
3963
+ export type FieldCreateJobSchema = {
3964
3964
  data: Field;
3965
3965
  included?: ItemType[];
3966
- }
3966
+ };
3967
3967
 
3968
3968
  /**
3969
3969
  * This interface was referenced by `Field`'s JSON-Schema
3970
3970
  * via the `update.schema` link.
3971
3971
  */
3972
- export interface FieldUpdateSchema {
3972
+ export type FieldUpdateSchema = {
3973
3973
  data: {
3974
3974
  type: FieldType;
3975
3975
  id: FieldIdentity;
@@ -4075,90 +4075,90 @@ export interface FieldUpdateSchema {
4075
4075
  };
4076
4076
  };
4077
4077
  };
4078
- }
4078
+ };
4079
4079
 
4080
4080
  /**
4081
4081
  * This interface was referenced by `Field`'s JSON-Schema
4082
4082
  * via the `update.targetSchema` link.
4083
4083
  */
4084
- export interface FieldUpdateTargetSchema {
4084
+ export type FieldUpdateTargetSchema = {
4085
4085
  data: Job;
4086
- }
4086
+ };
4087
4087
 
4088
4088
  /**
4089
4089
  * This interface was referenced by `Field`'s JSON-Schema
4090
4090
  * via the `update.jobSchema` link.
4091
4091
  */
4092
- export interface FieldUpdateJobSchema {
4092
+ export type FieldUpdateJobSchema = {
4093
4093
  data: Field;
4094
4094
  included?: (ItemType | Field)[];
4095
- }
4095
+ };
4096
4096
 
4097
4097
  /**
4098
4098
  * This interface was referenced by `Field`'s JSON-Schema
4099
4099
  * via the `instances.targetSchema` link.
4100
4100
  */
4101
- export interface FieldInstancesTargetSchema {
4101
+ export type FieldInstancesTargetSchema = {
4102
4102
  data: Field[];
4103
- }
4103
+ };
4104
4104
 
4105
4105
  /**
4106
4106
  * This interface was referenced by `Field`'s JSON-Schema
4107
4107
  * via the `referencing.targetSchema` link.
4108
4108
  */
4109
- export interface FieldReferencingTargetSchema {
4109
+ export type FieldReferencingTargetSchema = {
4110
4110
  data: Field[];
4111
- }
4111
+ };
4112
4112
 
4113
4113
  /**
4114
4114
  * This interface was referenced by `Field`'s JSON-Schema
4115
4115
  * via the `related.targetSchema` link.
4116
4116
  */
4117
- export interface FieldRelatedTargetSchema {
4117
+ export type FieldRelatedTargetSchema = {
4118
4118
  data: Field[];
4119
- }
4119
+ };
4120
4120
 
4121
4121
  /**
4122
4122
  * This interface was referenced by `Field`'s JSON-Schema
4123
4123
  * via the `self.targetSchema` link.
4124
4124
  */
4125
- export interface FieldSelfTargetSchema {
4125
+ export type FieldSelfTargetSchema = {
4126
4126
  data: Field;
4127
- }
4127
+ };
4128
4128
 
4129
4129
  /**
4130
4130
  * This interface was referenced by `Field`'s JSON-Schema
4131
4131
  * via the `destroy.targetSchema` link.
4132
4132
  */
4133
- export interface FieldDestroyTargetSchema {
4133
+ export type FieldDestroyTargetSchema = {
4134
4134
  data: Job;
4135
- }
4135
+ };
4136
4136
 
4137
4137
  /**
4138
4138
  * This interface was referenced by `Field`'s JSON-Schema
4139
4139
  * via the `destroy.jobSchema` link.
4140
4140
  */
4141
- export interface FieldDestroyJobSchema {
4141
+ export type FieldDestroyJobSchema = {
4142
4142
  data: Field;
4143
4143
  included?: ItemType[];
4144
- }
4144
+ };
4145
4145
 
4146
4146
  /**
4147
4147
  * This interface was referenced by `Field`'s JSON-Schema
4148
4148
  * via the `duplicate.targetSchema` link.
4149
4149
  */
4150
- export interface FieldDuplicateTargetSchema {
4150
+ export type FieldDuplicateTargetSchema = {
4151
4151
  data: Job;
4152
- }
4152
+ };
4153
4153
 
4154
4154
  /**
4155
4155
  * This interface was referenced by `Field`'s JSON-Schema
4156
4156
  * via the `duplicate.jobSchema` link.
4157
4157
  */
4158
- export interface FieldDuplicateJobSchema {
4158
+ export type FieldDuplicateJobSchema = {
4159
4159
  data: Field;
4160
4160
  included: ItemType[];
4161
- }
4161
+ };
4162
4162
 
4163
4163
  /**
4164
4164
  * Fields can be organized and grouped into fieldset to better present them to editors.
@@ -4166,12 +4166,12 @@ export interface FieldDuplicateJobSchema {
4166
4166
  * This interface was referenced by `DatoApi`'s JSON-Schema
4167
4167
  * via the `definition` "fieldset".
4168
4168
  */
4169
- export interface Fieldset {
4169
+ export type Fieldset = {
4170
4170
  type: FieldsetType;
4171
4171
  id: FieldsetIdentity;
4172
4172
  attributes: FieldsetAttributes;
4173
4173
  relationships: FieldsetRelationships;
4174
- }
4174
+ };
4175
4175
 
4176
4176
  /**
4177
4177
  * JSON API attributes
@@ -4179,7 +4179,7 @@ export interface Fieldset {
4179
4179
  * This interface was referenced by `Fieldset`'s JSON-Schema
4180
4180
  * via the `definition` "attributes".
4181
4181
  */
4182
- export interface FieldsetAttributes {
4182
+ export type FieldsetAttributes = {
4183
4183
  /**
4184
4184
  * The title of the fieldset
4185
4185
  */
@@ -4200,7 +4200,7 @@ export interface FieldsetAttributes {
4200
4200
  * Ordering index
4201
4201
  */
4202
4202
  position: number;
4203
- }
4203
+ };
4204
4204
 
4205
4205
  /**
4206
4206
  * JSON API links
@@ -4208,20 +4208,20 @@ export interface FieldsetAttributes {
4208
4208
  * This interface was referenced by `Fieldset`'s JSON-Schema
4209
4209
  * via the `definition` "relationships".
4210
4210
  */
4211
- export interface FieldsetRelationships {
4211
+ export type FieldsetRelationships = {
4212
4212
  /**
4213
4213
  * Fieldset item type
4214
4214
  */
4215
4215
  item_type: {
4216
4216
  data: ItemTypeData;
4217
4217
  };
4218
- }
4218
+ };
4219
4219
 
4220
4220
  /**
4221
4221
  * This interface was referenced by `Fieldset`'s JSON-Schema
4222
4222
  * via the `create.schema` link.
4223
4223
  */
4224
- export interface FieldsetCreateSchema {
4224
+ export type FieldsetCreateSchema = {
4225
4225
  data: {
4226
4226
  type: FieldsetType;
4227
4227
  /**
@@ -4250,21 +4250,21 @@ export interface FieldsetCreateSchema {
4250
4250
  start_collapsed?: boolean;
4251
4251
  };
4252
4252
  };
4253
- }
4253
+ };
4254
4254
 
4255
4255
  /**
4256
4256
  * This interface was referenced by `Fieldset`'s JSON-Schema
4257
4257
  * via the `create.targetSchema` link.
4258
4258
  */
4259
- export interface FieldsetCreateTargetSchema {
4259
+ export type FieldsetCreateTargetSchema = {
4260
4260
  data: Fieldset;
4261
- }
4261
+ };
4262
4262
 
4263
4263
  /**
4264
4264
  * This interface was referenced by `Fieldset`'s JSON-Schema
4265
4265
  * via the `update.schema` link.
4266
4266
  */
4267
- export interface FieldsetUpdateSchema {
4267
+ export type FieldsetUpdateSchema = {
4268
4268
  data: {
4269
4269
  type: FieldsetType;
4270
4270
  id: FieldsetIdentity;
@@ -4291,39 +4291,39 @@ export interface FieldsetUpdateSchema {
4291
4291
  start_collapsed?: boolean;
4292
4292
  };
4293
4293
  };
4294
- }
4294
+ };
4295
4295
 
4296
4296
  /**
4297
4297
  * This interface was referenced by `Fieldset`'s JSON-Schema
4298
4298
  * via the `update.targetSchema` link.
4299
4299
  */
4300
- export interface FieldsetUpdateTargetSchema {
4300
+ export type FieldsetUpdateTargetSchema = {
4301
4301
  data: Fieldset;
4302
- }
4302
+ };
4303
4303
 
4304
4304
  /**
4305
4305
  * This interface was referenced by `Fieldset`'s JSON-Schema
4306
4306
  * via the `instances.targetSchema` link.
4307
4307
  */
4308
- export interface FieldsetInstancesTargetSchema {
4308
+ export type FieldsetInstancesTargetSchema = {
4309
4309
  data: Fieldset[];
4310
- }
4310
+ };
4311
4311
 
4312
4312
  /**
4313
4313
  * This interface was referenced by `Fieldset`'s JSON-Schema
4314
4314
  * via the `self.targetSchema` link.
4315
4315
  */
4316
- export interface FieldsetSelfTargetSchema {
4316
+ export type FieldsetSelfTargetSchema = {
4317
4317
  data: Fieldset;
4318
- }
4318
+ };
4319
4319
 
4320
4320
  /**
4321
4321
  * This interface was referenced by `Fieldset`'s JSON-Schema
4322
4322
  * via the `destroy.targetSchema` link.
4323
4323
  */
4324
- export interface FieldsetDestroyTargetSchema {
4324
+ export type FieldsetDestroyTargetSchema = {
4325
4325
  data: Fieldset;
4326
- }
4326
+ };
4327
4327
 
4328
4328
  /**
4329
4329
  * A session is required to access to read-and-write API endpoints
@@ -4331,11 +4331,11 @@ export interface FieldsetDestroyTargetSchema {
4331
4331
  * This interface was referenced by `DatoApi`'s JSON-Schema
4332
4332
  * via the `definition` "session".
4333
4333
  */
4334
- export interface Session {
4334
+ export type Session = {
4335
4335
  type: SessionType;
4336
4336
  id: SessionIdentity;
4337
4337
  relationships: SessionRelationships;
4338
- }
4338
+ };
4339
4339
 
4340
4340
  /**
4341
4341
  * JSON API links
@@ -4343,14 +4343,14 @@ export interface Session {
4343
4343
  * This interface was referenced by `Session`'s JSON-Schema
4344
4344
  * via the `definition` "relationships".
4345
4345
  */
4346
- export interface SessionRelationships {
4346
+ export type SessionRelationships = {
4347
4347
  /**
4348
4348
  * The user associated with the session
4349
4349
  */
4350
4350
  user: {
4351
4351
  data: UserData;
4352
4352
  };
4353
- }
4353
+ };
4354
4354
 
4355
4355
  /**
4356
4356
  * JSON API data
@@ -4358,16 +4358,16 @@ export interface SessionRelationships {
4358
4358
  * This interface was referenced by `Session`'s JSON-Schema
4359
4359
  * via the `definition` "data".
4360
4360
  */
4361
- export interface SessionData {
4361
+ export type SessionData = {
4362
4362
  type: SessionType;
4363
4363
  id: SessionIdentity;
4364
- }
4364
+ };
4365
4365
 
4366
4366
  /**
4367
4367
  * This interface was referenced by `Session`'s JSON-Schema
4368
4368
  * via the `create.schema` link.
4369
4369
  */
4370
- export interface SessionCreateSchema {
4370
+ export type SessionCreateSchema = {
4371
4371
  data: {
4372
4372
  /**
4373
4373
  * JSON API type field
@@ -4391,16 +4391,16 @@ export interface SessionCreateSchema {
4391
4391
  otp_code?: string;
4392
4392
  };
4393
4393
  };
4394
- }
4394
+ };
4395
4395
 
4396
4396
  /**
4397
4397
  * This interface was referenced by `Session`'s JSON-Schema
4398
4398
  * via the `create.targetSchema` link.
4399
4399
  */
4400
- export interface SessionCreateTargetSchema {
4400
+ export type SessionCreateTargetSchema = {
4401
4401
  data: Session;
4402
4402
  included: User[];
4403
- }
4403
+ };
4404
4404
 
4405
4405
  /**
4406
4406
  * An API token allows access to our API. It is linked to a Role, which describes what actions can be performed.
@@ -4408,12 +4408,12 @@ export interface SessionCreateTargetSchema {
4408
4408
  * This interface was referenced by `DatoApi`'s JSON-Schema
4409
4409
  * via the `definition` "access_token".
4410
4410
  */
4411
- export interface AccessToken {
4411
+ export type AccessToken = {
4412
4412
  type: AccessTokenType;
4413
4413
  id: AccessTokenIdentity;
4414
4414
  attributes: AccessTokenAttributes;
4415
4415
  relationships: AccessTokenRelationships;
4416
- }
4416
+ };
4417
4417
 
4418
4418
  /**
4419
4419
  * JSON API attributes
@@ -4421,7 +4421,7 @@ export interface AccessToken {
4421
4421
  * This interface was referenced by `AccessToken`'s JSON-Schema
4422
4422
  * via the `definition` "attributes".
4423
4423
  */
4424
- export interface AccessTokenAttributes {
4424
+ export type AccessTokenAttributes = {
4425
4425
  /**
4426
4426
  * Name of API token
4427
4427
  */
@@ -4443,7 +4443,7 @@ export interface AccessTokenAttributes {
4443
4443
  */
4444
4444
  can_access_cma: boolean;
4445
4445
  hardcoded_type: null | string;
4446
- }
4446
+ };
4447
4447
 
4448
4448
  /**
4449
4449
  * JSON API links
@@ -4451,14 +4451,14 @@ export interface AccessTokenAttributes {
4451
4451
  * This interface was referenced by `AccessToken`'s JSON-Schema
4452
4452
  * via the `definition` "relationships".
4453
4453
  */
4454
- export interface AccessTokenRelationships {
4454
+ export type AccessTokenRelationships = {
4455
4455
  /**
4456
4456
  * Role
4457
4457
  */
4458
4458
  role: {
4459
4459
  data: RoleData | null;
4460
4460
  };
4461
- }
4461
+ };
4462
4462
 
4463
4463
  /**
4464
4464
  * JSON API data
@@ -4466,16 +4466,16 @@ export interface AccessTokenRelationships {
4466
4466
  * This interface was referenced by `AccessToken`'s JSON-Schema
4467
4467
  * via the `definition` "data".
4468
4468
  */
4469
- export interface AccessTokenData {
4469
+ export type AccessTokenData = {
4470
4470
  type: AccessTokenType;
4471
4471
  id: AccessTokenIdentity;
4472
- }
4472
+ };
4473
4473
 
4474
4474
  /**
4475
4475
  * This interface was referenced by `AccessToken`'s JSON-Schema
4476
4476
  * via the `create.schema` link.
4477
4477
  */
4478
- export interface AccessTokenCreateSchema {
4478
+ export type AccessTokenCreateSchema = {
4479
4479
  data: {
4480
4480
  type: AccessTokenType;
4481
4481
  attributes: {
@@ -4505,21 +4505,21 @@ export interface AccessTokenCreateSchema {
4505
4505
  };
4506
4506
  };
4507
4507
  };
4508
- }
4508
+ };
4509
4509
 
4510
4510
  /**
4511
4511
  * This interface was referenced by `AccessToken`'s JSON-Schema
4512
4512
  * via the `create.targetSchema` link.
4513
4513
  */
4514
- export interface AccessTokenCreateTargetSchema {
4514
+ export type AccessTokenCreateTargetSchema = {
4515
4515
  data: AccessToken;
4516
- }
4516
+ };
4517
4517
 
4518
4518
  /**
4519
4519
  * This interface was referenced by `AccessToken`'s JSON-Schema
4520
4520
  * via the `update.schema` link.
4521
4521
  */
4522
- export interface AccessTokenUpdateSchema {
4522
+ export type AccessTokenUpdateSchema = {
4523
4523
  data: {
4524
4524
  type: AccessTokenType;
4525
4525
  id: AccessTokenIdentity;
@@ -4550,47 +4550,47 @@ export interface AccessTokenUpdateSchema {
4550
4550
  };
4551
4551
  };
4552
4552
  };
4553
- }
4553
+ };
4554
4554
 
4555
4555
  /**
4556
4556
  * This interface was referenced by `AccessToken`'s JSON-Schema
4557
4557
  * via the `update.targetSchema` link.
4558
4558
  */
4559
- export interface AccessTokenUpdateTargetSchema {
4559
+ export type AccessTokenUpdateTargetSchema = {
4560
4560
  data: AccessToken;
4561
- }
4561
+ };
4562
4562
 
4563
4563
  /**
4564
4564
  * This interface was referenced by `AccessToken`'s JSON-Schema
4565
4565
  * via the `instances.targetSchema` link.
4566
4566
  */
4567
- export interface AccessTokenInstancesTargetSchema {
4567
+ export type AccessTokenInstancesTargetSchema = {
4568
4568
  data: AccessToken[];
4569
- }
4569
+ };
4570
4570
 
4571
4571
  /**
4572
4572
  * This interface was referenced by `AccessToken`'s JSON-Schema
4573
4573
  * via the `self.targetSchema` link.
4574
4574
  */
4575
- export interface AccessTokenSelfTargetSchema {
4575
+ export type AccessTokenSelfTargetSchema = {
4576
4576
  data: AccessToken;
4577
- }
4577
+ };
4578
4578
 
4579
4579
  /**
4580
4580
  * This interface was referenced by `AccessToken`'s JSON-Schema
4581
4581
  * via the `regenerate_token.targetSchema` link.
4582
4582
  */
4583
- export interface AccessTokenRegenerateTokenTargetSchema {
4583
+ export type AccessTokenRegenerateTokenTargetSchema = {
4584
4584
  data: AccessToken;
4585
- }
4585
+ };
4586
4586
 
4587
4587
  /**
4588
4588
  * This interface was referenced by `AccessToken`'s JSON-Schema
4589
4589
  * via the `destroy.targetSchema` link.
4590
4590
  */
4591
- export interface AccessTokenDestroyTargetSchema {
4591
+ export type AccessTokenDestroyTargetSchema = {
4592
4592
  data: AccessToken;
4593
- }
4593
+ };
4594
4594
 
4595
4595
  /**
4596
4596
  * Plugins enable developers to replace DatoCMS field components with HTML5 applications so the editing experiences of the DatoCMS web app can be customized.
@@ -4598,12 +4598,12 @@ export interface AccessTokenDestroyTargetSchema {
4598
4598
  * This interface was referenced by `DatoApi`'s JSON-Schema
4599
4599
  * via the `definition` "plugin".
4600
4600
  */
4601
- export interface Plugin {
4601
+ export type Plugin = {
4602
4602
  type: PluginType;
4603
4603
  id: PluginIdentity;
4604
4604
  attributes: PluginAttributes;
4605
4605
  meta: PluginMeta;
4606
- }
4606
+ };
4607
4607
 
4608
4608
  /**
4609
4609
  * JSON API attributes
@@ -4611,7 +4611,7 @@ export interface Plugin {
4611
4611
  * This interface was referenced by `Plugin`'s JSON-Schema
4612
4612
  * via the `definition` "attributes".
4613
4613
  */
4614
- export interface PluginAttributes {
4614
+ export type PluginAttributes = {
4615
4615
  /**
4616
4616
  * The name of the plugin
4617
4617
  */
@@ -4678,7 +4678,7 @@ export interface PluginAttributes {
4678
4678
  global: unknown[];
4679
4679
  instance: unknown[];
4680
4680
  };
4681
- }
4681
+ };
4682
4682
 
4683
4683
  /**
4684
4684
  * JSON API meta
@@ -4686,12 +4686,12 @@ export interface PluginAttributes {
4686
4686
  * This interface was referenced by `Plugin`'s JSON-Schema
4687
4687
  * via the `definition` "meta".
4688
4688
  */
4689
- export interface PluginMeta {
4689
+ export type PluginMeta = {
4690
4690
  /**
4691
4691
  * Version of the plugin. Legacy plugins are v1, new plugins are v2
4692
4692
  */
4693
4693
  version: string;
4694
- }
4694
+ };
4695
4695
 
4696
4696
  /**
4697
4697
  * JSON API data
@@ -4699,16 +4699,16 @@ export interface PluginMeta {
4699
4699
  * This interface was referenced by `Plugin`'s JSON-Schema
4700
4700
  * via the `definition` "data".
4701
4701
  */
4702
- export interface PluginData {
4702
+ export type PluginData = {
4703
4703
  type: PluginType;
4704
4704
  id: PluginIdentity;
4705
- }
4705
+ };
4706
4706
 
4707
4707
  /**
4708
4708
  * This interface was referenced by `Plugin`'s JSON-Schema
4709
4709
  * via the `create.schema` link.
4710
4710
  */
4711
- export interface PluginCreateSchema {
4711
+ export type PluginCreateSchema = {
4712
4712
  data: {
4713
4713
  type: PluginType;
4714
4714
  attributes: {
@@ -4772,21 +4772,21 @@ export interface PluginCreateSchema {
4772
4772
  package_version?: null | string;
4773
4773
  };
4774
4774
  };
4775
- }
4775
+ };
4776
4776
 
4777
4777
  /**
4778
4778
  * This interface was referenced by `Plugin`'s JSON-Schema
4779
4779
  * via the `create.targetSchema` link.
4780
4780
  */
4781
- export interface PluginCreateTargetSchema {
4781
+ export type PluginCreateTargetSchema = {
4782
4782
  data: Plugin;
4783
- }
4783
+ };
4784
4784
 
4785
4785
  /**
4786
4786
  * This interface was referenced by `Plugin`'s JSON-Schema
4787
4787
  * via the `update.schema` link.
4788
4788
  */
4789
- export interface PluginUpdateSchema {
4789
+ export type PluginUpdateSchema = {
4790
4790
  data: {
4791
4791
  type: PluginType;
4792
4792
  id: PluginIdentity;
@@ -4822,47 +4822,47 @@ export interface PluginUpdateSchema {
4822
4822
  [k: string]: unknown;
4823
4823
  };
4824
4824
  };
4825
- }
4825
+ };
4826
4826
 
4827
4827
  /**
4828
4828
  * This interface was referenced by `Plugin`'s JSON-Schema
4829
4829
  * via the `update.targetSchema` link.
4830
4830
  */
4831
- export interface PluginUpdateTargetSchema {
4831
+ export type PluginUpdateTargetSchema = {
4832
4832
  data: Plugin;
4833
- }
4833
+ };
4834
4834
 
4835
4835
  /**
4836
4836
  * This interface was referenced by `Plugin`'s JSON-Schema
4837
4837
  * via the `instances.targetSchema` link.
4838
4838
  */
4839
- export interface PluginInstancesTargetSchema {
4839
+ export type PluginInstancesTargetSchema = {
4840
4840
  data: Plugin[];
4841
- }
4841
+ };
4842
4842
 
4843
4843
  /**
4844
4844
  * This interface was referenced by `Plugin`'s JSON-Schema
4845
4845
  * via the `self.targetSchema` link.
4846
4846
  */
4847
- export interface PluginSelfTargetSchema {
4847
+ export type PluginSelfTargetSchema = {
4848
4848
  data: Plugin;
4849
- }
4849
+ };
4850
4850
 
4851
4851
  /**
4852
4852
  * This interface was referenced by `Plugin`'s JSON-Schema
4853
4853
  * via the `destroy.targetSchema` link.
4854
4854
  */
4855
- export interface PluginDestroyTargetSchema {
4855
+ export type PluginDestroyTargetSchema = {
4856
4856
  data: Plugin;
4857
- }
4857
+ };
4858
4858
 
4859
4859
  /**
4860
4860
  * This interface was referenced by `Plugin`'s JSON-Schema
4861
4861
  * via the `fields.targetSchema` link.
4862
4862
  */
4863
- export interface PluginFieldsTargetSchema {
4863
+ export type PluginFieldsTargetSchema = {
4864
4864
  data: Field[];
4865
- }
4865
+ };
4866
4866
 
4867
4867
  /**
4868
4868
  * Some API endpoint give results asynchronously, returning the ID of a job.
@@ -4870,11 +4870,11 @@ export interface PluginFieldsTargetSchema {
4870
4870
  * This interface was referenced by `DatoApi`'s JSON-Schema
4871
4871
  * via the `definition` "job_result".
4872
4872
  */
4873
- export interface JobResult {
4873
+ export type JobResult = {
4874
4874
  type: JobResultType;
4875
4875
  id: JobResultIdentity;
4876
4876
  attributes: JobResultAttributes;
4877
- }
4877
+ };
4878
4878
 
4879
4879
  /**
4880
4880
  * JSON API attributes
@@ -4882,7 +4882,7 @@ export interface JobResult {
4882
4882
  * This interface was referenced by `JobResult`'s JSON-Schema
4883
4883
  * via the `definition` "attributes".
4884
4884
  */
4885
- export interface JobResultAttributes {
4885
+ export type JobResultAttributes = {
4886
4886
  /**
4887
4887
  * Status of delayed HTTP response
4888
4888
  */
@@ -4893,7 +4893,7 @@ export interface JobResultAttributes {
4893
4893
  payload: null | {
4894
4894
  [k: string]: unknown;
4895
4895
  };
4896
- }
4896
+ };
4897
4897
 
4898
4898
  /**
4899
4899
  * JSON API data
@@ -4901,28 +4901,28 @@ export interface JobResultAttributes {
4901
4901
  * This interface was referenced by `JobResult`'s JSON-Schema
4902
4902
  * via the `definition` "data".
4903
4903
  */
4904
- export interface JobResultData {
4904
+ export type JobResultData = {
4905
4905
  type: JobResultType;
4906
4906
  id: JobResultIdentity;
4907
- }
4907
+ };
4908
4908
 
4909
4909
  /**
4910
4910
  * This interface was referenced by `JobResult`'s JSON-Schema
4911
4911
  * via the `self.targetSchema` link.
4912
4912
  */
4913
- export interface JobResultSelfTargetSchema {
4913
+ export type JobResultSelfTargetSchema = {
4914
4914
  data: JobResult;
4915
- }
4915
+ };
4916
4916
 
4917
4917
  /**
4918
4918
  * This interface was referenced by `DatoApi`'s JSON-Schema
4919
4919
  * via the `definition` "subscription_limit".
4920
4920
  */
4921
- export interface SubscriptionLimit {
4921
+ export type SubscriptionLimit = {
4922
4922
  type: SubscriptionLimitType;
4923
4923
  id: SubscriptionLimitIdentity;
4924
4924
  attributes: SubscriptionLimitAttributes;
4925
- }
4925
+ };
4926
4926
 
4927
4927
  /**
4928
4928
  * JSON API attributes
@@ -4930,7 +4930,7 @@ export interface SubscriptionLimit {
4930
4930
  * This interface was referenced by `SubscriptionLimit`'s JSON-Schema
4931
4931
  * via the `definition` "attributes".
4932
4932
  */
4933
- export interface SubscriptionLimitAttributes {
4933
+ export type SubscriptionLimitAttributes = {
4934
4934
  /**
4935
4935
  * The codename for the limit
4936
4936
  */
@@ -4943,7 +4943,7 @@ export interface SubscriptionLimitAttributes {
4943
4943
  * The actual limit
4944
4944
  */
4945
4945
  limit: number | null;
4946
- }
4946
+ };
4947
4947
 
4948
4948
  /**
4949
4949
  * JSON API data
@@ -4951,36 +4951,36 @@ export interface SubscriptionLimitAttributes {
4951
4951
  * This interface was referenced by `SubscriptionLimit`'s JSON-Schema
4952
4952
  * via the `definition` "data".
4953
4953
  */
4954
- export interface SubscriptionLimitData {
4954
+ export type SubscriptionLimitData = {
4955
4955
  type: SubscriptionLimitType;
4956
4956
  id: SubscriptionLimitIdentity;
4957
- }
4957
+ };
4958
4958
 
4959
4959
  /**
4960
4960
  * This interface was referenced by `SubscriptionLimit`'s JSON-Schema
4961
4961
  * via the `instances.targetSchema` link.
4962
4962
  */
4963
- export interface SubscriptionLimitInstancesTargetSchema {
4963
+ export type SubscriptionLimitInstancesTargetSchema = {
4964
4964
  data: SubscriptionLimit[];
4965
- }
4965
+ };
4966
4966
 
4967
4967
  /**
4968
4968
  * This interface was referenced by `SubscriptionLimit`'s JSON-Schema
4969
4969
  * via the `self.targetSchema` link.
4970
4970
  */
4971
- export interface SubscriptionLimitSelfTargetSchema {
4971
+ export type SubscriptionLimitSelfTargetSchema = {
4972
4972
  data: SubscriptionLimit;
4973
- }
4973
+ };
4974
4974
 
4975
4975
  /**
4976
4976
  * This interface was referenced by `DatoApi`'s JSON-Schema
4977
4977
  * via the `definition` "subscription_feature".
4978
4978
  */
4979
- export interface SubscriptionFeature {
4979
+ export type SubscriptionFeature = {
4980
4980
  type: SubscriptionFeatureType;
4981
4981
  id: SubscriptionFeatureIdentity;
4982
4982
  attributes: SubscriptionFeatureAttributes;
4983
- }
4983
+ };
4984
4984
 
4985
4985
  /**
4986
4986
  * JSON API attributes
@@ -4988,7 +4988,7 @@ export interface SubscriptionFeature {
4988
4988
  * This interface was referenced by `SubscriptionFeature`'s JSON-Schema
4989
4989
  * via the `definition` "attributes".
4990
4990
  */
4991
- export interface SubscriptionFeatureAttributes {
4991
+ export type SubscriptionFeatureAttributes = {
4992
4992
  /**
4993
4993
  * The codename for the feature
4994
4994
  */
@@ -5001,7 +5001,7 @@ export interface SubscriptionFeatureAttributes {
5001
5001
  * Whether the feature is available on the current project
5002
5002
  */
5003
5003
  enabled: boolean;
5004
- }
5004
+ };
5005
5005
 
5006
5006
  /**
5007
5007
  * JSON API data
@@ -5009,18 +5009,18 @@ export interface SubscriptionFeatureAttributes {
5009
5009
  * This interface was referenced by `SubscriptionFeature`'s JSON-Schema
5010
5010
  * via the `definition` "data".
5011
5011
  */
5012
- export interface SubscriptionFeatureData {
5012
+ export type SubscriptionFeatureData = {
5013
5013
  type: SubscriptionFeatureType;
5014
5014
  id: SubscriptionFeatureIdentity;
5015
- }
5015
+ };
5016
5016
 
5017
5017
  /**
5018
5018
  * This interface was referenced by `SubscriptionFeature`'s JSON-Schema
5019
5019
  * via the `instances.targetSchema` link.
5020
5020
  */
5021
- export interface SubscriptionFeatureInstancesTargetSchema {
5021
+ export type SubscriptionFeatureInstancesTargetSchema = {
5022
5022
  data: SubscriptionFeature[];
5023
- }
5023
+ };
5024
5024
 
5025
5025
  /**
5026
5026
  * Represents an event occurred during the deploy process of your administrative area.
@@ -5028,12 +5028,12 @@ export interface SubscriptionFeatureInstancesTargetSchema {
5028
5028
  * This interface was referenced by `DatoApi`'s JSON-Schema
5029
5029
  * via the `definition` "build_event".
5030
5030
  */
5031
- export interface BuildEvent {
5031
+ export type BuildEvent = {
5032
5032
  type: BuildEventType;
5033
5033
  id: BuildEventIdentity;
5034
5034
  attributes: BuildEventAttributes;
5035
5035
  relationships: BuildEventRelationships;
5036
- }
5036
+ };
5037
5037
 
5038
5038
  /**
5039
5039
  * JSON API attributes
@@ -5041,7 +5041,7 @@ export interface BuildEvent {
5041
5041
  * This interface was referenced by `BuildEvent`'s JSON-Schema
5042
5042
  * via the `definition` "attributes".
5043
5043
  */
5044
- export interface BuildEventAttributes {
5044
+ export type BuildEventAttributes = {
5045
5045
  /**
5046
5046
  * The type of activity
5047
5047
  */
@@ -5065,7 +5065,7 @@ export interface BuildEventAttributes {
5065
5065
  data: {
5066
5066
  [k: string]: unknown;
5067
5067
  };
5068
- }
5068
+ };
5069
5069
 
5070
5070
  /**
5071
5071
  * JSON API links
@@ -5073,14 +5073,14 @@ export interface BuildEventAttributes {
5073
5073
  * This interface was referenced by `BuildEvent`'s JSON-Schema
5074
5074
  * via the `definition` "relationships".
5075
5075
  */
5076
- export interface BuildEventRelationships {
5076
+ export type BuildEventRelationships = {
5077
5077
  /**
5078
5078
  * Source build trigger
5079
5079
  */
5080
5080
  build_trigger: {
5081
5081
  data: BuildTriggerData;
5082
5082
  };
5083
- }
5083
+ };
5084
5084
 
5085
5085
  /**
5086
5086
  * JSON API data
@@ -5088,10 +5088,10 @@ export interface BuildEventRelationships {
5088
5088
  * This interface was referenced by `BuildTrigger`'s JSON-Schema
5089
5089
  * via the `definition` "data".
5090
5090
  */
5091
- export interface BuildTriggerData {
5091
+ export type BuildTriggerData = {
5092
5092
  type: BuildTriggerType;
5093
5093
  id: BuildTriggerIdentity;
5094
- }
5094
+ };
5095
5095
 
5096
5096
  /**
5097
5097
  * JSON API data
@@ -5099,26 +5099,26 @@ export interface BuildTriggerData {
5099
5099
  * This interface was referenced by `BuildEvent`'s JSON-Schema
5100
5100
  * via the `definition` "data".
5101
5101
  */
5102
- export interface BuildEventData {
5102
+ export type BuildEventData = {
5103
5103
  type: BuildEventType;
5104
5104
  id: BuildEventIdentity;
5105
- }
5105
+ };
5106
5106
 
5107
5107
  /**
5108
5108
  * This interface was referenced by `BuildEvent`'s JSON-Schema
5109
5109
  * via the `instances.targetSchema` link.
5110
5110
  */
5111
- export interface BuildEventInstancesTargetSchema {
5111
+ export type BuildEventInstancesTargetSchema = {
5112
5112
  data: BuildEvent[];
5113
- }
5113
+ };
5114
5114
 
5115
5115
  /**
5116
5116
  * This interface was referenced by `BuildEvent`'s JSON-Schema
5117
5117
  * via the `self.targetSchema` link.
5118
5118
  */
5119
- export interface BuildEventSelfTargetSchema {
5119
+ export type BuildEventSelfTargetSchema = {
5120
5120
  data: BuildEvent;
5121
- }
5121
+ };
5122
5122
 
5123
5123
  /**
5124
5124
  * DatoCMS stores the individual pieces of content you create from a model as records, which are much like table rows in a database. For backward-compatibility reasons, the API refers to records as "items".
@@ -5126,13 +5126,13 @@ export interface BuildEventSelfTargetSchema {
5126
5126
  * This interface was referenced by `DatoApi`'s JSON-Schema
5127
5127
  * via the `definition` "item".
5128
5128
  */
5129
- export interface Item {
5129
+ export type Item = {
5130
5130
  type: ItemType1;
5131
5131
  id: ItemIdentity;
5132
5132
  attributes: ItemAttributes;
5133
5133
  relationships: ItemRelationships;
5134
5134
  meta: ItemMeta;
5135
- }
5135
+ };
5136
5136
 
5137
5137
  /**
5138
5138
  * The JSON data associated to the record
@@ -5140,9 +5140,9 @@ export interface Item {
5140
5140
  * This interface was referenced by `Item`'s JSON-Schema
5141
5141
  * via the `definition` "attributes".
5142
5142
  */
5143
- export interface ItemAttributes {
5143
+ export type ItemAttributes = {
5144
5144
  [k: string]: unknown;
5145
- }
5145
+ };
5146
5146
 
5147
5147
  /**
5148
5148
  * JSON API links
@@ -5150,7 +5150,7 @@ export interface ItemAttributes {
5150
5150
  * This interface was referenced by `Item`'s JSON-Schema
5151
5151
  * via the `definition` "relationships".
5152
5152
  */
5153
- export interface ItemRelationships {
5153
+ export type ItemRelationships = {
5154
5154
  /**
5155
5155
  * The record's model
5156
5156
  */
@@ -5163,7 +5163,7 @@ export interface ItemRelationships {
5163
5163
  creator?: {
5164
5164
  data: AccountData | AccessTokenData | UserData | SsoUserData;
5165
5165
  };
5166
- }
5166
+ };
5167
5167
 
5168
5168
  /**
5169
5169
  * Meta information regarding the record
@@ -5171,7 +5171,7 @@ export interface ItemRelationships {
5171
5171
  * This interface was referenced by `Item`'s JSON-Schema
5172
5172
  * via the `definition` "meta".
5173
5173
  */
5174
- export interface ItemMeta {
5174
+ export type ItemMeta = {
5175
5175
  /**
5176
5176
  * Date of creation
5177
5177
  */
@@ -5212,24 +5212,24 @@ export interface ItemMeta {
5212
5212
  * Workflow stage in which the item is
5213
5213
  */
5214
5214
  stage: null | string;
5215
- }
5215
+ };
5216
5216
 
5217
5217
  /**
5218
5218
  * This interface was referenced by `Item`'s JSON-Schema
5219
5219
  * via the `instances.targetSchema` link.
5220
5220
  */
5221
- export interface ItemInstancesTargetSchema {
5221
+ export type ItemInstancesTargetSchema = {
5222
5222
  data: Item[];
5223
5223
  meta: {
5224
5224
  total_count: number;
5225
5225
  };
5226
- }
5226
+ };
5227
5227
 
5228
5228
  /**
5229
5229
  * This interface was referenced by `Item`'s JSON-Schema
5230
5230
  * via the `validate_existing.schema` link.
5231
5231
  */
5232
- export interface ItemValidateExistingSchema {
5232
+ export type ItemValidateExistingSchema = {
5233
5233
  data: {
5234
5234
  id: ItemIdentity;
5235
5235
  type: ItemType1;
@@ -5254,13 +5254,13 @@ export interface ItemValidateExistingSchema {
5254
5254
  };
5255
5255
  };
5256
5256
  };
5257
- }
5257
+ };
5258
5258
 
5259
5259
  /**
5260
5260
  * This interface was referenced by `Item`'s JSON-Schema
5261
5261
  * via the `validate_new.schema` link.
5262
5262
  */
5263
- export interface ItemValidateNewSchema {
5263
+ export type ItemValidateNewSchema = {
5264
5264
  data: {
5265
5265
  type: ItemType1;
5266
5266
  /**
@@ -5278,13 +5278,13 @@ export interface ItemValidateNewSchema {
5278
5278
  };
5279
5279
  };
5280
5280
  };
5281
- }
5281
+ };
5282
5282
 
5283
5283
  /**
5284
5284
  * This interface was referenced by `Item`'s JSON-Schema
5285
5285
  * via the `create.schema` link.
5286
5286
  */
5287
- export interface ItemCreateSchema {
5287
+ export type ItemCreateSchema = {
5288
5288
  data: {
5289
5289
  type: ItemType1;
5290
5290
  /**
@@ -5339,39 +5339,39 @@ export interface ItemCreateSchema {
5339
5339
  };
5340
5340
  };
5341
5341
  };
5342
- }
5342
+ };
5343
5343
 
5344
5344
  /**
5345
5345
  * This interface was referenced by `Item`'s JSON-Schema
5346
5346
  * via the `create.targetSchema` link.
5347
5347
  */
5348
- export interface ItemCreateTargetSchema {
5348
+ export type ItemCreateTargetSchema = {
5349
5349
  data: Item;
5350
5350
  included: (ItemType | Item)[];
5351
- }
5351
+ };
5352
5352
 
5353
5353
  /**
5354
5354
  * This interface was referenced by `Item`'s JSON-Schema
5355
5355
  * via the `duplicate.targetSchema` link.
5356
5356
  */
5357
- export interface ItemDuplicateTargetSchema {
5357
+ export type ItemDuplicateTargetSchema = {
5358
5358
  data: Job;
5359
- }
5359
+ };
5360
5360
 
5361
5361
  /**
5362
5362
  * This interface was referenced by `Item`'s JSON-Schema
5363
5363
  * via the `duplicate.jobSchema` link.
5364
5364
  */
5365
- export interface ItemDuplicateJobSchema {
5365
+ export type ItemDuplicateJobSchema = {
5366
5366
  data: Item;
5367
5367
  included: ItemType[];
5368
- }
5368
+ };
5369
5369
 
5370
5370
  /**
5371
5371
  * This interface was referenced by `Item`'s JSON-Schema
5372
5372
  * via the `update.schema` link.
5373
5373
  */
5374
- export interface ItemUpdateSchema {
5374
+ export type ItemUpdateSchema = {
5375
5375
  data: {
5376
5376
  type: ItemType1;
5377
5377
  id: ItemIdentity;
@@ -5441,132 +5441,132 @@ export interface ItemUpdateSchema {
5441
5441
  };
5442
5442
  };
5443
5443
  };
5444
- }
5444
+ };
5445
5445
 
5446
5446
  /**
5447
5447
  * This interface was referenced by `Item`'s JSON-Schema
5448
5448
  * via the `update.targetSchema` link.
5449
5449
  */
5450
- export interface ItemUpdateTargetSchema {
5450
+ export type ItemUpdateTargetSchema = {
5451
5451
  data: Item;
5452
5452
  included?: (ItemType | Item)[];
5453
- }
5453
+ };
5454
5454
 
5455
5455
  /**
5456
5456
  * This interface was referenced by `Item`'s JSON-Schema
5457
5457
  * via the `references.targetSchema` link.
5458
5458
  */
5459
- export interface ItemReferencesTargetSchema {
5459
+ export type ItemReferencesTargetSchema = {
5460
5460
  data: Item[];
5461
- }
5461
+ };
5462
5462
 
5463
5463
  /**
5464
5464
  * This interface was referenced by `Item`'s JSON-Schema
5465
5465
  * via the `self.targetSchema` link.
5466
5466
  */
5467
- export interface ItemSelfTargetSchema {
5467
+ export type ItemSelfTargetSchema = {
5468
5468
  data: Item;
5469
- }
5469
+ };
5470
5470
 
5471
5471
  /**
5472
5472
  * This interface was referenced by `Item`'s JSON-Schema
5473
5473
  * via the `destroy.targetSchema` link.
5474
5474
  */
5475
- export interface ItemDestroyTargetSchema {
5475
+ export type ItemDestroyTargetSchema = {
5476
5476
  data: Job;
5477
- }
5477
+ };
5478
5478
 
5479
5479
  /**
5480
5480
  * This interface was referenced by `Item`'s JSON-Schema
5481
5481
  * via the `destroy.jobSchema` link.
5482
5482
  */
5483
- export interface ItemDestroyJobSchema {
5483
+ export type ItemDestroyJobSchema = {
5484
5484
  data: Item;
5485
- }
5485
+ };
5486
5486
 
5487
5487
  /**
5488
5488
  * This interface was referenced by `Item`'s JSON-Schema
5489
5489
  * via the `batch_destroy.targetSchema` link.
5490
5490
  */
5491
- export interface ItemBatchDestroyTargetSchema {
5491
+ export type ItemBatchDestroyTargetSchema = {
5492
5492
  data: Job;
5493
- }
5493
+ };
5494
5494
 
5495
5495
  /**
5496
5496
  * This interface was referenced by `Item`'s JSON-Schema
5497
5497
  * via the `batch_destroy.jobSchema` link.
5498
5498
  */
5499
- export interface ItemBatchDestroyJobSchema {
5499
+ export type ItemBatchDestroyJobSchema = {
5500
5500
  data: unknown[];
5501
5501
  meta: {
5502
5502
  successful: number;
5503
5503
  failed: number;
5504
5504
  };
5505
- }
5505
+ };
5506
5506
 
5507
5507
  /**
5508
5508
  * This interface was referenced by `Item`'s JSON-Schema
5509
5509
  * via the `batch_publish.targetSchema` link.
5510
5510
  */
5511
- export interface ItemBatchPublishTargetSchema {
5511
+ export type ItemBatchPublishTargetSchema = {
5512
5512
  data: Job;
5513
- }
5513
+ };
5514
5514
 
5515
5515
  /**
5516
5516
  * This interface was referenced by `Item`'s JSON-Schema
5517
5517
  * via the `batch_publish.jobSchema` link.
5518
5518
  */
5519
- export interface ItemBatchPublishJobSchema {
5519
+ export type ItemBatchPublishJobSchema = {
5520
5520
  data: unknown[];
5521
5521
  meta: {
5522
5522
  successful: number;
5523
5523
  failed: number;
5524
5524
  };
5525
- }
5525
+ };
5526
5526
 
5527
5527
  /**
5528
5528
  * This interface was referenced by `Item`'s JSON-Schema
5529
5529
  * via the `batch_unpublish.targetSchema` link.
5530
5530
  */
5531
- export interface ItemBatchUnpublishTargetSchema {
5531
+ export type ItemBatchUnpublishTargetSchema = {
5532
5532
  data: Job;
5533
- }
5533
+ };
5534
5534
 
5535
5535
  /**
5536
5536
  * This interface was referenced by `Item`'s JSON-Schema
5537
5537
  * via the `batch_unpublish.jobSchema` link.
5538
5538
  */
5539
- export interface ItemBatchUnpublishJobSchema {
5539
+ export type ItemBatchUnpublishJobSchema = {
5540
5540
  data: unknown[];
5541
5541
  meta: {
5542
5542
  successful: number;
5543
5543
  failed: number;
5544
5544
  };
5545
- }
5545
+ };
5546
5546
 
5547
5547
  /**
5548
5548
  * This interface was referenced by `Item`'s JSON-Schema
5549
5549
  * via the `publish.targetSchema` link.
5550
5550
  */
5551
- export interface ItemPublishTargetSchema {
5551
+ export type ItemPublishTargetSchema = {
5552
5552
  data: Item;
5553
5553
  included?: ItemType[];
5554
- }
5554
+ };
5555
5555
 
5556
5556
  /**
5557
5557
  * This interface was referenced by `Item`'s JSON-Schema
5558
5558
  * via the `unpublish.targetSchema` link.
5559
5559
  */
5560
- export interface ItemUnpublishTargetSchema {
5560
+ export type ItemUnpublishTargetSchema = {
5561
5561
  data: Item;
5562
5562
  included?: ItemType[];
5563
- }
5563
+ };
5564
5564
 
5565
5565
  /**
5566
5566
  * This interface was referenced by `Item`'s JSON-Schema
5567
5567
  * via the `bulk_publish.schema` link.
5568
5568
  */
5569
- export interface ItemBulkPublishSchema {
5569
+ export type ItemBulkPublishSchema = {
5570
5570
  data: {
5571
5571
  /**
5572
5572
  * JSON API type field
@@ -5582,33 +5582,33 @@ export interface ItemBulkPublishSchema {
5582
5582
  minItems?: unknown;
5583
5583
  };
5584
5584
  };
5585
- }
5585
+ };
5586
5586
 
5587
5587
  /**
5588
5588
  * This interface was referenced by `Item`'s JSON-Schema
5589
5589
  * via the `bulk_publish.targetSchema` link.
5590
5590
  */
5591
- export interface ItemBulkPublishTargetSchema {
5591
+ export type ItemBulkPublishTargetSchema = {
5592
5592
  data: Job;
5593
- }
5593
+ };
5594
5594
 
5595
5595
  /**
5596
5596
  * This interface was referenced by `Item`'s JSON-Schema
5597
5597
  * via the `bulk_publish.jobSchema` link.
5598
5598
  */
5599
- export interface ItemBulkPublishJobSchema {
5599
+ export type ItemBulkPublishJobSchema = {
5600
5600
  data: unknown[];
5601
5601
  meta: {
5602
5602
  successful: number;
5603
5603
  failed: number;
5604
5604
  };
5605
- }
5605
+ };
5606
5606
 
5607
5607
  /**
5608
5608
  * This interface was referenced by `Item`'s JSON-Schema
5609
5609
  * via the `bulk_unpublish.schema` link.
5610
5610
  */
5611
- export interface ItemBulkUnpublishSchema {
5611
+ export type ItemBulkUnpublishSchema = {
5612
5612
  data: {
5613
5613
  /**
5614
5614
  * JSON API type field
@@ -5624,33 +5624,33 @@ export interface ItemBulkUnpublishSchema {
5624
5624
  minItems?: unknown;
5625
5625
  };
5626
5626
  };
5627
- }
5627
+ };
5628
5628
 
5629
5629
  /**
5630
5630
  * This interface was referenced by `Item`'s JSON-Schema
5631
5631
  * via the `bulk_unpublish.targetSchema` link.
5632
5632
  */
5633
- export interface ItemBulkUnpublishTargetSchema {
5633
+ export type ItemBulkUnpublishTargetSchema = {
5634
5634
  data: Job;
5635
- }
5635
+ };
5636
5636
 
5637
5637
  /**
5638
5638
  * This interface was referenced by `Item`'s JSON-Schema
5639
5639
  * via the `bulk_unpublish.jobSchema` link.
5640
5640
  */
5641
- export interface ItemBulkUnpublishJobSchema {
5641
+ export type ItemBulkUnpublishJobSchema = {
5642
5642
  data: unknown[];
5643
5643
  meta: {
5644
5644
  successful: number;
5645
5645
  failed: number;
5646
5646
  };
5647
- }
5647
+ };
5648
5648
 
5649
5649
  /**
5650
5650
  * This interface was referenced by `Item`'s JSON-Schema
5651
5651
  * via the `bulk_destroy.schema` link.
5652
5652
  */
5653
- export interface ItemBulkDestroySchema {
5653
+ export type ItemBulkDestroySchema = {
5654
5654
  data: {
5655
5655
  /**
5656
5656
  * JSON API type field
@@ -5666,33 +5666,33 @@ export interface ItemBulkDestroySchema {
5666
5666
  minItems?: unknown;
5667
5667
  };
5668
5668
  };
5669
- }
5669
+ };
5670
5670
 
5671
5671
  /**
5672
5672
  * This interface was referenced by `Item`'s JSON-Schema
5673
5673
  * via the `bulk_destroy.targetSchema` link.
5674
5674
  */
5675
- export interface ItemBulkDestroyTargetSchema {
5675
+ export type ItemBulkDestroyTargetSchema = {
5676
5676
  data: Job;
5677
- }
5677
+ };
5678
5678
 
5679
5679
  /**
5680
5680
  * This interface was referenced by `Item`'s JSON-Schema
5681
5681
  * via the `bulk_destroy.jobSchema` link.
5682
5682
  */
5683
- export interface ItemBulkDestroyJobSchema {
5683
+ export type ItemBulkDestroyJobSchema = {
5684
5684
  data: unknown[];
5685
5685
  meta: {
5686
5686
  successful: number;
5687
5687
  failed: number;
5688
5688
  };
5689
- }
5689
+ };
5690
5690
 
5691
5691
  /**
5692
5692
  * This interface was referenced by `Item`'s JSON-Schema
5693
5693
  * via the `bulk_move_to_stage.schema` link.
5694
5694
  */
5695
- export interface ItemBulkMoveToStageSchema {
5695
+ export type ItemBulkMoveToStageSchema = {
5696
5696
  data: {
5697
5697
  /**
5698
5698
  * JSON API type field
@@ -5714,27 +5714,27 @@ export interface ItemBulkMoveToStageSchema {
5714
5714
  minItems?: unknown;
5715
5715
  };
5716
5716
  };
5717
- }
5717
+ };
5718
5718
 
5719
5719
  /**
5720
5720
  * This interface was referenced by `Item`'s JSON-Schema
5721
5721
  * via the `bulk_move_to_stage.targetSchema` link.
5722
5722
  */
5723
- export interface ItemBulkMoveToStageTargetSchema {
5723
+ export type ItemBulkMoveToStageTargetSchema = {
5724
5724
  data: Job;
5725
- }
5725
+ };
5726
5726
 
5727
5727
  /**
5728
5728
  * This interface was referenced by `Item`'s JSON-Schema
5729
5729
  * via the `bulk_move_to_stage.jobSchema` link.
5730
5730
  */
5731
- export interface ItemBulkMoveToStageJobSchema {
5731
+ export type ItemBulkMoveToStageJobSchema = {
5732
5732
  data: unknown[];
5733
5733
  meta: {
5734
5734
  successful: number;
5735
5735
  failed: number;
5736
5736
  };
5737
- }
5737
+ };
5738
5738
 
5739
5739
  /**
5740
5740
  * Every change to a record is stored as a separate record version in DatoCMS.
@@ -5742,13 +5742,13 @@ export interface ItemBulkMoveToStageJobSchema {
5742
5742
  * This interface was referenced by `DatoApi`'s JSON-Schema
5743
5743
  * via the `definition` "item_version".
5744
5744
  */
5745
- export interface ItemVersion {
5745
+ export type ItemVersion = {
5746
5746
  type: ItemVersionType;
5747
5747
  id: ItemVersionIdentity;
5748
5748
  attributes: ItemVersionAttributes;
5749
5749
  relationships: ItemVersionRelationships;
5750
5750
  meta: ItemVersionMeta;
5751
- }
5751
+ };
5752
5752
 
5753
5753
  /**
5754
5754
  * The JSON data associated to the record version
@@ -5756,9 +5756,9 @@ export interface ItemVersion {
5756
5756
  * This interface was referenced by `ItemVersion`'s JSON-Schema
5757
5757
  * via the `definition` "attributes".
5758
5758
  */
5759
- export interface ItemVersionAttributes {
5759
+ export type ItemVersionAttributes = {
5760
5760
  [k: string]: unknown;
5761
- }
5761
+ };
5762
5762
 
5763
5763
  /**
5764
5764
  * JSON API links
@@ -5766,7 +5766,7 @@ export interface ItemVersionAttributes {
5766
5766
  * This interface was referenced by `ItemVersion`'s JSON-Schema
5767
5767
  * via the `definition` "relationships".
5768
5768
  */
5769
- export interface ItemVersionRelationships {
5769
+ export type ItemVersionRelationships = {
5770
5770
  /**
5771
5771
  * The record version's model
5772
5772
  */
@@ -5785,7 +5785,7 @@ export interface ItemVersionRelationships {
5785
5785
  editor: {
5786
5786
  data: AccountData | AccessTokenData | UserData | SsoUserData;
5787
5787
  };
5788
- }
5788
+ };
5789
5789
 
5790
5790
  /**
5791
5791
  * Meta information regarding the record version
@@ -5793,7 +5793,7 @@ export interface ItemVersionRelationships {
5793
5793
  * This interface was referenced by `ItemVersion`'s JSON-Schema
5794
5794
  * via the `definition` "meta".
5795
5795
  */
5796
- export interface ItemVersionMeta {
5796
+ export type ItemVersionMeta = {
5797
5797
  /**
5798
5798
  * Date of record version creation
5799
5799
  */
@@ -5810,7 +5810,7 @@ export interface ItemVersionMeta {
5810
5810
  * Whether the record version is the most recent version or not
5811
5811
  */
5812
5812
  is_current: boolean;
5813
- }
5813
+ };
5814
5814
 
5815
5815
  /**
5816
5816
  * JSON API data
@@ -5818,45 +5818,45 @@ export interface ItemVersionMeta {
5818
5818
  * This interface was referenced by `ItemVersion`'s JSON-Schema
5819
5819
  * via the `definition` "data".
5820
5820
  */
5821
- export interface ItemVersionData {
5821
+ export type ItemVersionData = {
5822
5822
  type: ItemVersionType;
5823
5823
  id: ItemVersionIdentity;
5824
- }
5824
+ };
5825
5825
 
5826
5826
  /**
5827
5827
  * This interface was referenced by `ItemVersion`'s JSON-Schema
5828
5828
  * via the `restore.targetSchema` link.
5829
5829
  */
5830
- export interface ItemVersionRestoreTargetSchema {
5830
+ export type ItemVersionRestoreTargetSchema = {
5831
5831
  data: Job;
5832
- }
5832
+ };
5833
5833
 
5834
5834
  /**
5835
5835
  * This interface was referenced by `ItemVersion`'s JSON-Schema
5836
5836
  * via the `restore.jobSchema` link.
5837
5837
  */
5838
- export interface ItemVersionRestoreJobSchema {
5838
+ export type ItemVersionRestoreJobSchema = {
5839
5839
  data: [Item, ItemVersion];
5840
- }
5840
+ };
5841
5841
 
5842
5842
  /**
5843
5843
  * This interface was referenced by `ItemVersion`'s JSON-Schema
5844
5844
  * via the `instances.targetSchema` link.
5845
5845
  */
5846
- export interface ItemVersionInstancesTargetSchema {
5846
+ export type ItemVersionInstancesTargetSchema = {
5847
5847
  data: ItemVersion[];
5848
5848
  meta: {
5849
5849
  total_count: number;
5850
5850
  };
5851
- }
5851
+ };
5852
5852
 
5853
5853
  /**
5854
5854
  * This interface was referenced by `ItemVersion`'s JSON-Schema
5855
5855
  * via the `self.targetSchema` link.
5856
5856
  */
5857
- export interface ItemVersionSelfTargetSchema {
5857
+ export type ItemVersionSelfTargetSchema = {
5858
5858
  data: ItemVersion;
5859
- }
5859
+ };
5860
5860
 
5861
5861
  /**
5862
5862
  * Every file you upload to DatoCMS will be retrievable from this endpoint.
@@ -5864,12 +5864,12 @@ export interface ItemVersionSelfTargetSchema {
5864
5864
  * This interface was referenced by `DatoApi`'s JSON-Schema
5865
5865
  * via the `definition` "upload".
5866
5866
  */
5867
- export interface Upload {
5867
+ export type Upload = {
5868
5868
  type: UploadType;
5869
5869
  id: UploadIdentity;
5870
5870
  attributes: UploadAttributes;
5871
5871
  relationships: UploadRelationships;
5872
- }
5872
+ };
5873
5873
 
5874
5874
  /**
5875
5875
  * JSON API attributes
@@ -5877,7 +5877,7 @@ export interface Upload {
5877
5877
  * This interface was referenced by `Upload`'s JSON-Schema
5878
5878
  * via the `definition` "attributes".
5879
5879
  */
5880
- export interface UploadAttributes {
5880
+ export type UploadAttributes = {
5881
5881
  /**
5882
5882
  * size of the upload
5883
5883
  */
@@ -6035,7 +6035,7 @@ export interface UploadAttributes {
6035
6035
  */
6036
6036
  alpha: number;
6037
6037
  }[];
6038
- }
6038
+ };
6039
6039
 
6040
6040
  /**
6041
6041
  * JSON API links
@@ -6043,14 +6043,14 @@ export interface UploadAttributes {
6043
6043
  * This interface was referenced by `Upload`'s JSON-Schema
6044
6044
  * via the `definition` "relationships".
6045
6045
  */
6046
- export interface UploadRelationships {
6046
+ export type UploadRelationships = {
6047
6047
  /**
6048
6048
  * The entity (account/collaborator/access token) who created the asset. It must be an object with `type` (e.g. 'account') and `id` properties.
6049
6049
  */
6050
6050
  creator: {
6051
6051
  data: AccountData | AccessTokenData | UserData | SsoUserData;
6052
6052
  };
6053
- }
6053
+ };
6054
6054
 
6055
6055
  /**
6056
6056
  * JSON API data
@@ -6058,16 +6058,16 @@ export interface UploadRelationships {
6058
6058
  * This interface was referenced by `Upload`'s JSON-Schema
6059
6059
  * via the `definition` "data".
6060
6060
  */
6061
- export interface UploadData {
6061
+ export type UploadData = {
6062
6062
  type: UploadType;
6063
6063
  id: UploadIdentity;
6064
- }
6064
+ };
6065
6065
 
6066
6066
  /**
6067
6067
  * This interface was referenced by `Upload`'s JSON-Schema
6068
6068
  * via the `create.schema` link.
6069
6069
  */
6070
- export interface UploadCreateSchema {
6070
+ export type UploadCreateSchema = {
6071
6071
  data: {
6072
6072
  type: UploadType;
6073
6073
  attributes: {
@@ -6132,56 +6132,56 @@ export interface UploadCreateSchema {
6132
6132
  [k: string]: unknown;
6133
6133
  };
6134
6134
  };
6135
- }
6135
+ };
6136
6136
 
6137
6137
  /**
6138
6138
  * This interface was referenced by `Upload`'s JSON-Schema
6139
6139
  * via the `create.targetSchema` link.
6140
6140
  */
6141
- export interface UploadCreateTargetSchema {
6141
+ export type UploadCreateTargetSchema = {
6142
6142
  data: Job;
6143
- }
6143
+ };
6144
6144
 
6145
6145
  /**
6146
6146
  * This interface was referenced by `Upload`'s JSON-Schema
6147
6147
  * via the `create.jobSchema` link.
6148
6148
  */
6149
- export interface UploadCreateJobSchema {
6149
+ export type UploadCreateJobSchema = {
6150
6150
  data: Upload;
6151
- }
6151
+ };
6152
6152
 
6153
6153
  /**
6154
6154
  * This interface was referenced by `Upload`'s JSON-Schema
6155
6155
  * via the `instances.targetSchema` link.
6156
6156
  */
6157
- export interface UploadInstancesTargetSchema {
6157
+ export type UploadInstancesTargetSchema = {
6158
6158
  data: Upload[];
6159
6159
  meta: {
6160
6160
  total_count: number;
6161
6161
  };
6162
- }
6162
+ };
6163
6163
 
6164
6164
  /**
6165
6165
  * This interface was referenced by `Upload`'s JSON-Schema
6166
6166
  * via the `self.targetSchema` link.
6167
6167
  */
6168
- export interface UploadSelfTargetSchema {
6168
+ export type UploadSelfTargetSchema = {
6169
6169
  data: Upload;
6170
- }
6170
+ };
6171
6171
 
6172
6172
  /**
6173
6173
  * This interface was referenced by `Upload`'s JSON-Schema
6174
6174
  * via the `destroy.targetSchema` link.
6175
6175
  */
6176
- export interface UploadDestroyTargetSchema {
6176
+ export type UploadDestroyTargetSchema = {
6177
6177
  data: Upload;
6178
- }
6178
+ };
6179
6179
 
6180
6180
  /**
6181
6181
  * This interface was referenced by `Upload`'s JSON-Schema
6182
6182
  * via the `update.schema` link.
6183
6183
  */
6184
- export interface UploadUpdateSchema {
6184
+ export type UploadUpdateSchema = {
6185
6185
  data: {
6186
6186
  type: UploadType;
6187
6187
  id: UploadIdentity;
@@ -6259,29 +6259,29 @@ export interface UploadUpdateSchema {
6259
6259
  };
6260
6260
  };
6261
6261
  };
6262
- }
6262
+ };
6263
6263
 
6264
6264
  /**
6265
6265
  * This interface was referenced by `Upload`'s JSON-Schema
6266
6266
  * via the `update.targetSchema` link.
6267
6267
  */
6268
- export interface UploadUpdateTargetSchema {
6268
+ export type UploadUpdateTargetSchema = {
6269
6269
  data: Job;
6270
- }
6270
+ };
6271
6271
 
6272
6272
  /**
6273
6273
  * This interface was referenced by `Upload`'s JSON-Schema
6274
6274
  * via the `update.jobSchema` link.
6275
6275
  */
6276
- export interface UploadUpdateJobSchema {
6276
+ export type UploadUpdateJobSchema = {
6277
6277
  data: Upload;
6278
- }
6278
+ };
6279
6279
 
6280
6280
  /**
6281
6281
  * This interface was referenced by `Upload`'s JSON-Schema
6282
6282
  * via the `batch_add_tags.schema` link.
6283
6283
  */
6284
- export interface UploadBatchAddTagsSchema {
6284
+ export type UploadBatchAddTagsSchema = {
6285
6285
  data: {
6286
6286
  type: UploadType;
6287
6287
  attributes: {
@@ -6291,61 +6291,61 @@ export interface UploadBatchAddTagsSchema {
6291
6291
  tags?: string[];
6292
6292
  };
6293
6293
  };
6294
- }
6294
+ };
6295
6295
 
6296
6296
  /**
6297
6297
  * This interface was referenced by `Upload`'s JSON-Schema
6298
6298
  * via the `batch_add_tags.targetSchema` link.
6299
6299
  */
6300
- export interface UploadBatchAddTagsTargetSchema {
6300
+ export type UploadBatchAddTagsTargetSchema = {
6301
6301
  data: Job;
6302
- }
6302
+ };
6303
6303
 
6304
6304
  /**
6305
6305
  * This interface was referenced by `Upload`'s JSON-Schema
6306
6306
  * via the `batch_add_tags.jobSchema` link.
6307
6307
  */
6308
- export interface UploadBatchAddTagsJobSchema {
6308
+ export type UploadBatchAddTagsJobSchema = {
6309
6309
  data: unknown[];
6310
6310
  meta: {
6311
6311
  successful: number;
6312
6312
  failed: number;
6313
6313
  };
6314
- }
6314
+ };
6315
6315
 
6316
6316
  /**
6317
6317
  * This interface was referenced by `Upload`'s JSON-Schema
6318
6318
  * via the `batch_destroy.targetSchema` link.
6319
6319
  */
6320
- export interface UploadBatchDestroyTargetSchema {
6320
+ export type UploadBatchDestroyTargetSchema = {
6321
6321
  data: Job;
6322
- }
6322
+ };
6323
6323
 
6324
6324
  /**
6325
6325
  * This interface was referenced by `Upload`'s JSON-Schema
6326
6326
  * via the `batch_destroy.jobSchema` link.
6327
6327
  */
6328
- export interface UploadBatchDestroyJobSchema {
6328
+ export type UploadBatchDestroyJobSchema = {
6329
6329
  data: unknown[];
6330
6330
  meta: {
6331
6331
  successful: number;
6332
6332
  failed: number;
6333
6333
  };
6334
- }
6334
+ };
6335
6335
 
6336
6336
  /**
6337
6337
  * This interface was referenced by `Upload`'s JSON-Schema
6338
6338
  * via the `references.targetSchema` link.
6339
6339
  */
6340
- export interface UploadReferencesTargetSchema {
6340
+ export type UploadReferencesTargetSchema = {
6341
6341
  data: Item[];
6342
- }
6342
+ };
6343
6343
 
6344
6344
  /**
6345
6345
  * This interface was referenced by `Upload`'s JSON-Schema
6346
6346
  * via the `bulk_tag.schema` link.
6347
6347
  */
6348
- export interface UploadBulkTagSchema {
6348
+ export type UploadBulkTagSchema = {
6349
6349
  data: {
6350
6350
  /**
6351
6351
  * JSON API type field
@@ -6369,33 +6369,33 @@ export interface UploadBulkTagSchema {
6369
6369
  };
6370
6370
  };
6371
6371
  };
6372
- }
6372
+ };
6373
6373
 
6374
6374
  /**
6375
6375
  * This interface was referenced by `Upload`'s JSON-Schema
6376
6376
  * via the `bulk_tag.targetSchema` link.
6377
6377
  */
6378
- export interface UploadBulkTagTargetSchema {
6378
+ export type UploadBulkTagTargetSchema = {
6379
6379
  data: Job;
6380
- }
6380
+ };
6381
6381
 
6382
6382
  /**
6383
6383
  * This interface was referenced by `Upload`'s JSON-Schema
6384
6384
  * via the `bulk_tag.jobSchema` link.
6385
6385
  */
6386
- export interface UploadBulkTagJobSchema {
6386
+ export type UploadBulkTagJobSchema = {
6387
6387
  data: unknown[];
6388
6388
  meta: {
6389
6389
  successful: number;
6390
6390
  failed: number;
6391
6391
  };
6392
- }
6392
+ };
6393
6393
 
6394
6394
  /**
6395
6395
  * This interface was referenced by `Upload`'s JSON-Schema
6396
6396
  * via the `bulk_destroy.schema` link.
6397
6397
  */
6398
- export interface UploadBulkDestroySchema {
6398
+ export type UploadBulkDestroySchema = {
6399
6399
  data: {
6400
6400
  /**
6401
6401
  * JSON API type field
@@ -6410,27 +6410,27 @@ export interface UploadBulkDestroySchema {
6410
6410
  };
6411
6411
  };
6412
6412
  };
6413
- }
6413
+ };
6414
6414
 
6415
6415
  /**
6416
6416
  * This interface was referenced by `Upload`'s JSON-Schema
6417
6417
  * via the `bulk_destroy.targetSchema` link.
6418
6418
  */
6419
- export interface UploadBulkDestroyTargetSchema {
6419
+ export type UploadBulkDestroyTargetSchema = {
6420
6420
  data: Job;
6421
- }
6421
+ };
6422
6422
 
6423
6423
  /**
6424
6424
  * This interface was referenced by `Upload`'s JSON-Schema
6425
6425
  * via the `bulk_destroy.jobSchema` link.
6426
6426
  */
6427
- export interface UploadBulkDestroyJobSchema {
6427
+ export type UploadBulkDestroyJobSchema = {
6428
6428
  data: unknown[];
6429
6429
  meta: {
6430
6430
  successful: number;
6431
6431
  failed: number;
6432
6432
  };
6433
- }
6433
+ };
6434
6434
 
6435
6435
  /**
6436
6436
  * To upload a file in DatoCMS, first you need to obtain an upload permission through this API endpoint. The response will contain the S3 URL where you will be able to upload the file with a direct PUT request.
@@ -6438,11 +6438,11 @@ export interface UploadBulkDestroyJobSchema {
6438
6438
  * This interface was referenced by `DatoApi`'s JSON-Schema
6439
6439
  * via the `definition` "upload_request".
6440
6440
  */
6441
- export interface UploadRequest {
6441
+ export type UploadRequest = {
6442
6442
  type: UploadRequestType;
6443
6443
  id: UploadRequestIdentity;
6444
6444
  attributes: UploadRequestAttributes;
6445
- }
6445
+ };
6446
6446
 
6447
6447
  /**
6448
6448
  * JSON API attributes
@@ -6450,19 +6450,19 @@ export interface UploadRequest {
6450
6450
  * This interface was referenced by `UploadRequest`'s JSON-Schema
6451
6451
  * via the `definition` "attributes".
6452
6452
  */
6453
- export interface UploadRequestAttributes {
6453
+ export type UploadRequestAttributes = {
6454
6454
  /**
6455
6455
  * The URL to use to upload the file with a direct PUT request
6456
6456
  */
6457
6457
  url: string;
6458
6458
  [k: string]: unknown;
6459
- }
6459
+ };
6460
6460
 
6461
6461
  /**
6462
6462
  * This interface was referenced by `UploadRequest`'s JSON-Schema
6463
6463
  * via the `create.schema` link.
6464
6464
  */
6465
- export interface UploadRequestCreateSchema {
6465
+ export type UploadRequestCreateSchema = {
6466
6466
  data: {
6467
6467
  type: UploadRequestType;
6468
6468
  /**
@@ -6476,15 +6476,15 @@ export interface UploadRequestCreateSchema {
6476
6476
  [k: string]: unknown;
6477
6477
  };
6478
6478
  };
6479
- }
6479
+ };
6480
6480
 
6481
6481
  /**
6482
6482
  * This interface was referenced by `UploadRequest`'s JSON-Schema
6483
6483
  * via the `create.targetSchema` link.
6484
6484
  */
6485
- export interface UploadRequestCreateTargetSchema {
6485
+ export type UploadRequestCreateTargetSchema = {
6486
6486
  data: UploadRequest;
6487
- }
6487
+ };
6488
6488
 
6489
6489
  /**
6490
6490
  * You can create scheduled publication to publish records in the future
@@ -6492,12 +6492,12 @@ export interface UploadRequestCreateTargetSchema {
6492
6492
  * This interface was referenced by `DatoApi`'s JSON-Schema
6493
6493
  * via the `definition` "scheduled_publication".
6494
6494
  */
6495
- export interface ScheduledPublication {
6495
+ export type ScheduledPublication = {
6496
6496
  type: ScheduledPublicationType;
6497
6497
  id: ScheduledPublicationIdentity;
6498
6498
  attributes: ScheduledPublicationAttributes;
6499
6499
  relationships: ScheduledPublicationRelationships;
6500
- }
6500
+ };
6501
6501
 
6502
6502
  /**
6503
6503
  * JSON API attributes
@@ -6505,12 +6505,12 @@ export interface ScheduledPublication {
6505
6505
  * This interface was referenced by `ScheduledPublication`'s JSON-Schema
6506
6506
  * via the `definition` "attributes".
6507
6507
  */
6508
- export interface ScheduledPublicationAttributes {
6508
+ export type ScheduledPublicationAttributes = {
6509
6509
  /**
6510
6510
  * The future date for the publication
6511
6511
  */
6512
6512
  publication_scheduled_at: string;
6513
- }
6513
+ };
6514
6514
 
6515
6515
  /**
6516
6516
  * JSON API links
@@ -6518,14 +6518,14 @@ export interface ScheduledPublicationAttributes {
6518
6518
  * This interface was referenced by `ScheduledPublication`'s JSON-Schema
6519
6519
  * via the `definition` "relationships".
6520
6520
  */
6521
- export interface ScheduledPublicationRelationships {
6521
+ export type ScheduledPublicationRelationships = {
6522
6522
  /**
6523
6523
  * Item
6524
6524
  */
6525
6525
  item: {
6526
6526
  data: ItemData;
6527
6527
  };
6528
- }
6528
+ };
6529
6529
 
6530
6530
  /**
6531
6531
  * JSON API data
@@ -6533,38 +6533,38 @@ export interface ScheduledPublicationRelationships {
6533
6533
  * This interface was referenced by `ScheduledPublication`'s JSON-Schema
6534
6534
  * via the `definition` "data".
6535
6535
  */
6536
- export interface ScheduledPublicationData {
6536
+ export type ScheduledPublicationData = {
6537
6537
  type: ScheduledPublicationType;
6538
6538
  id: ScheduledPublicationIdentity;
6539
- }
6539
+ };
6540
6540
 
6541
6541
  /**
6542
6542
  * This interface was referenced by `ScheduledPublication`'s JSON-Schema
6543
6543
  * via the `create.schema` link.
6544
6544
  */
6545
- export interface ScheduledPublicationCreateSchema {
6545
+ export type ScheduledPublicationCreateSchema = {
6546
6546
  data: {
6547
6547
  type: ScheduledPublicationType;
6548
6548
  attributes: ScheduledPublicationAttributes;
6549
6549
  };
6550
- }
6550
+ };
6551
6551
 
6552
6552
  /**
6553
6553
  * This interface was referenced by `ScheduledPublication`'s JSON-Schema
6554
6554
  * via the `create.targetSchema` link.
6555
6555
  */
6556
- export interface ScheduledPublicationCreateTargetSchema {
6556
+ export type ScheduledPublicationCreateTargetSchema = {
6557
6557
  data: ScheduledPublication;
6558
6558
  included: Item[];
6559
- }
6559
+ };
6560
6560
 
6561
6561
  /**
6562
6562
  * This interface was referenced by `ScheduledPublication`'s JSON-Schema
6563
6563
  * via the `destroy.targetSchema` link.
6564
6564
  */
6565
- export interface ScheduledPublicationDestroyTargetSchema {
6565
+ export type ScheduledPublicationDestroyTargetSchema = {
6566
6566
  data: Item;
6567
- }
6567
+ };
6568
6568
 
6569
6569
  /**
6570
6570
  * You can create a scheduled unpublishing to unpublish records in the future
@@ -6572,12 +6572,12 @@ export interface ScheduledPublicationDestroyTargetSchema {
6572
6572
  * This interface was referenced by `DatoApi`'s JSON-Schema
6573
6573
  * via the `definition` "scheduled_unpublishing".
6574
6574
  */
6575
- export interface ScheduledUnpublishing {
6575
+ export type ScheduledUnpublishing = {
6576
6576
  type: ScheduledUnpublishingType;
6577
6577
  id: ScheduledUnpublishingIdentity;
6578
6578
  attributes: ScheduledUnpublishingAttributes;
6579
6579
  relationships: ScheduledUnpublishingRelationships;
6580
- }
6580
+ };
6581
6581
 
6582
6582
  /**
6583
6583
  * JSON API attributes
@@ -6585,12 +6585,12 @@ export interface ScheduledUnpublishing {
6585
6585
  * This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema
6586
6586
  * via the `definition` "attributes".
6587
6587
  */
6588
- export interface ScheduledUnpublishingAttributes {
6588
+ export type ScheduledUnpublishingAttributes = {
6589
6589
  /**
6590
6590
  * The future date for the unpublishing
6591
6591
  */
6592
6592
  unpublishing_scheduled_at: string;
6593
- }
6593
+ };
6594
6594
 
6595
6595
  /**
6596
6596
  * JSON API links
@@ -6598,14 +6598,14 @@ export interface ScheduledUnpublishingAttributes {
6598
6598
  * This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema
6599
6599
  * via the `definition` "relationships".
6600
6600
  */
6601
- export interface ScheduledUnpublishingRelationships {
6601
+ export type ScheduledUnpublishingRelationships = {
6602
6602
  /**
6603
6603
  * Item
6604
6604
  */
6605
6605
  item: {
6606
6606
  data: ItemData;
6607
6607
  };
6608
- }
6608
+ };
6609
6609
 
6610
6610
  /**
6611
6611
  * JSON API data
@@ -6613,38 +6613,38 @@ export interface ScheduledUnpublishingRelationships {
6613
6613
  * This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema
6614
6614
  * via the `definition` "data".
6615
6615
  */
6616
- export interface ScheduledUnpublishingData {
6616
+ export type ScheduledUnpublishingData = {
6617
6617
  type: ScheduledUnpublishingType;
6618
6618
  id: ScheduledUnpublishingIdentity;
6619
- }
6619
+ };
6620
6620
 
6621
6621
  /**
6622
6622
  * This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema
6623
6623
  * via the `create.schema` link.
6624
6624
  */
6625
- export interface ScheduledUnpublishingCreateSchema {
6625
+ export type ScheduledUnpublishingCreateSchema = {
6626
6626
  data: {
6627
6627
  type: ScheduledUnpublishingType;
6628
6628
  attributes: ScheduledUnpublishingAttributes;
6629
6629
  };
6630
- }
6630
+ };
6631
6631
 
6632
6632
  /**
6633
6633
  * This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema
6634
6634
  * via the `create.targetSchema` link.
6635
6635
  */
6636
- export interface ScheduledUnpublishingCreateTargetSchema {
6636
+ export type ScheduledUnpublishingCreateTargetSchema = {
6637
6637
  data: ScheduledUnpublishing;
6638
6638
  included: Item[];
6639
- }
6639
+ };
6640
6640
 
6641
6641
  /**
6642
6642
  * This interface was referenced by `ScheduledUnpublishing`'s JSON-Schema
6643
6643
  * via the `destroy.targetSchema` link.
6644
6644
  */
6645
- export interface ScheduledUnpublishingDestroyTargetSchema {
6645
+ export type ScheduledUnpublishingDestroyTargetSchema = {
6646
6646
  data: Item;
6647
- }
6647
+ };
6648
6648
 
6649
6649
  /**
6650
6650
  * DatoCMS Site Search is a way to deliver tailored search results to your site visitors. This is the endpoint you can use to query for results.
@@ -6652,11 +6652,11 @@ export interface ScheduledUnpublishingDestroyTargetSchema {
6652
6652
  * This interface was referenced by `DatoApi`'s JSON-Schema
6653
6653
  * via the `definition` "search_result".
6654
6654
  */
6655
- export interface SearchResult {
6655
+ export type SearchResult = {
6656
6656
  type: SearchResultType;
6657
6657
  id: SearchResultIdentity;
6658
6658
  attributes: SearchResultAttributes;
6659
- }
6659
+ };
6660
6660
 
6661
6661
  /**
6662
6662
  * JSON API attributes
@@ -6664,7 +6664,7 @@ export interface SearchResult {
6664
6664
  * This interface was referenced by `SearchResult`'s JSON-Schema
6665
6665
  * via the `definition` "attributes".
6666
6666
  */
6667
- export interface SearchResultAttributes {
6667
+ export type SearchResultAttributes = {
6668
6668
  /**
6669
6669
  * Page title
6670
6670
  */
@@ -6685,7 +6685,7 @@ export interface SearchResultAttributes {
6685
6685
  title?: string[] | null;
6686
6686
  body?: string[] | null;
6687
6687
  };
6688
- }
6688
+ };
6689
6689
 
6690
6690
  /**
6691
6691
  * JSON API data
@@ -6693,21 +6693,21 @@ export interface SearchResultAttributes {
6693
6693
  * This interface was referenced by `SearchResult`'s JSON-Schema
6694
6694
  * via the `definition` "data".
6695
6695
  */
6696
- export interface SearchResultData {
6696
+ export type SearchResultData = {
6697
6697
  type: SearchResultType;
6698
6698
  id: SearchResultIdentity;
6699
- }
6699
+ };
6700
6700
 
6701
6701
  /**
6702
6702
  * This interface was referenced by `SearchResult`'s JSON-Schema
6703
6703
  * via the `instances.targetSchema` link.
6704
6704
  */
6705
- export interface SearchResultInstancesTargetSchema {
6705
+ export type SearchResultInstancesTargetSchema = {
6706
6706
  data: SearchResult[];
6707
6707
  meta?: {
6708
6708
  total_count: number;
6709
6709
  };
6710
- }
6710
+ };
6711
6711
 
6712
6712
  /**
6713
6713
  * [Environments](https://www.datocms.com/docs/general-concepts/primary-and-sandbox-environments) make it easier for your development team to **manage and maintain content structure once your content has been published**. You can think of environments like code branches: great for testing, development and pre-production environments.
@@ -6732,11 +6732,11 @@ export interface SearchResultInstancesTargetSchema {
6732
6732
  * This interface was referenced by `DatoApi`'s JSON-Schema
6733
6733
  * via the `definition` "environment".
6734
6734
  */
6735
- export interface Environment {
6735
+ export type Environment = {
6736
6736
  type: EnvironmentType;
6737
6737
  id: EnvironmentIdentity;
6738
6738
  meta: EnvironmentMeta;
6739
- }
6739
+ };
6740
6740
 
6741
6741
  /**
6742
6742
  * Meta attributes
@@ -6744,7 +6744,7 @@ export interface Environment {
6744
6744
  * This interface was referenced by `Environment`'s JSON-Schema
6745
6745
  * via the `definition` "meta".
6746
6746
  */
6747
- export interface EnvironmentMeta {
6747
+ export type EnvironmentMeta = {
6748
6748
  /**
6749
6749
  * Status of the environment
6750
6750
  */
@@ -6761,7 +6761,7 @@ export interface EnvironmentMeta {
6761
6761
  * Is this environment the primary for the project?
6762
6762
  */
6763
6763
  primary: boolean;
6764
- }
6764
+ };
6765
6765
 
6766
6766
  /**
6767
6767
  * JSON API data
@@ -6769,16 +6769,16 @@ export interface EnvironmentMeta {
6769
6769
  * This interface was referenced by `Environment`'s JSON-Schema
6770
6770
  * via the `definition` "data".
6771
6771
  */
6772
- export interface EnvironmentData {
6772
+ export type EnvironmentData = {
6773
6773
  type: EnvironmentType;
6774
6774
  id: EnvironmentIdentity;
6775
- }
6775
+ };
6776
6776
 
6777
6777
  /**
6778
6778
  * This interface was referenced by `Environment`'s JSON-Schema
6779
6779
  * via the `fork.schema` link.
6780
6780
  */
6781
- export interface EnvironmentForkSchema {
6781
+ export type EnvironmentForkSchema = {
6782
6782
  data: {
6783
6783
  type: EnvironmentType;
6784
6784
  /**
@@ -6786,73 +6786,73 @@ export interface EnvironmentForkSchema {
6786
6786
  */
6787
6787
  id: string;
6788
6788
  };
6789
- }
6789
+ };
6790
6790
 
6791
6791
  /**
6792
6792
  * This interface was referenced by `Environment`'s JSON-Schema
6793
6793
  * via the `fork.targetSchema` link.
6794
6794
  */
6795
- export interface EnvironmentForkTargetSchema {
6795
+ export type EnvironmentForkTargetSchema = {
6796
6796
  data: Job | Environment;
6797
- }
6797
+ };
6798
6798
 
6799
6799
  /**
6800
6800
  * This interface was referenced by `Environment`'s JSON-Schema
6801
6801
  * via the `fork.jobSchema` link.
6802
6802
  */
6803
- export interface EnvironmentForkJobSchema {
6803
+ export type EnvironmentForkJobSchema = {
6804
6804
  data: Environment;
6805
- }
6805
+ };
6806
6806
 
6807
6807
  /**
6808
6808
  * This interface was referenced by `Environment`'s JSON-Schema
6809
6809
  * via the `promote.targetSchema` link.
6810
6810
  */
6811
- export interface EnvironmentPromoteTargetSchema {
6811
+ export type EnvironmentPromoteTargetSchema = {
6812
6812
  data: Environment;
6813
- }
6813
+ };
6814
6814
 
6815
6815
  /**
6816
6816
  * This interface was referenced by `Environment`'s JSON-Schema
6817
6817
  * via the `instances.targetSchema` link.
6818
6818
  */
6819
- export interface EnvironmentInstancesTargetSchema {
6819
+ export type EnvironmentInstancesTargetSchema = {
6820
6820
  data: Environment[];
6821
- }
6821
+ };
6822
6822
 
6823
6823
  /**
6824
6824
  * This interface was referenced by `Environment`'s JSON-Schema
6825
6825
  * via the `self.targetSchema` link.
6826
6826
  */
6827
- export interface EnvironmentSelfTargetSchema {
6827
+ export type EnvironmentSelfTargetSchema = {
6828
6828
  data: Environment;
6829
- }
6829
+ };
6830
6830
 
6831
6831
  /**
6832
6832
  * This interface was referenced by `Environment`'s JSON-Schema
6833
6833
  * via the `destroy.targetSchema` link.
6834
6834
  */
6835
- export interface EnvironmentDestroyTargetSchema {
6835
+ export type EnvironmentDestroyTargetSchema = {
6836
6836
  data: Job | Environment;
6837
- }
6837
+ };
6838
6838
 
6839
6839
  /**
6840
6840
  * This interface was referenced by `Environment`'s JSON-Schema
6841
6841
  * via the `destroy.jobSchema` link.
6842
6842
  */
6843
- export interface EnvironmentDestroyJobSchema {
6843
+ export type EnvironmentDestroyJobSchema = {
6844
6844
  data: Environment;
6845
- }
6845
+ };
6846
6846
 
6847
6847
  /**
6848
6848
  * This interface was referenced by `DatoApi`'s JSON-Schema
6849
6849
  * via the `definition` "maintenance_mode".
6850
6850
  */
6851
- export interface MaintenanceMode {
6851
+ export type MaintenanceMode = {
6852
6852
  type: MaintenanceModeType;
6853
6853
  id: MaintenanceModeIdentity;
6854
6854
  attributes: MaintenanceModeAttributes;
6855
- }
6855
+ };
6856
6856
 
6857
6857
  /**
6858
6858
  * JSON API attributes
@@ -6860,12 +6860,12 @@ export interface MaintenanceMode {
6860
6860
  * This interface was referenced by `MaintenanceMode`'s JSON-Schema
6861
6861
  * via the `definition` "attributes".
6862
6862
  */
6863
- export interface MaintenanceModeAttributes {
6863
+ export type MaintenanceModeAttributes = {
6864
6864
  /**
6865
6865
  * Whether maintenance mode is currently active or not
6866
6866
  */
6867
6867
  active: boolean;
6868
- }
6868
+ };
6869
6869
 
6870
6870
  /**
6871
6871
  * JSON API data
@@ -6873,34 +6873,34 @@ export interface MaintenanceModeAttributes {
6873
6873
  * This interface was referenced by `MaintenanceMode`'s JSON-Schema
6874
6874
  * via the `definition` "data".
6875
6875
  */
6876
- export interface MaintenanceModeData {
6876
+ export type MaintenanceModeData = {
6877
6877
  type: MaintenanceModeType;
6878
6878
  id: MaintenanceModeIdentity;
6879
- }
6879
+ };
6880
6880
 
6881
6881
  /**
6882
6882
  * This interface was referenced by `MaintenanceMode`'s JSON-Schema
6883
6883
  * via the `self.targetSchema` link.
6884
6884
  */
6885
- export interface MaintenanceModeSelfTargetSchema {
6885
+ export type MaintenanceModeSelfTargetSchema = {
6886
6886
  data: MaintenanceMode;
6887
- }
6887
+ };
6888
6888
 
6889
6889
  /**
6890
6890
  * This interface was referenced by `MaintenanceMode`'s JSON-Schema
6891
6891
  * via the `activate.targetSchema` link.
6892
6892
  */
6893
- export interface MaintenanceModeActivateTargetSchema {
6893
+ export type MaintenanceModeActivateTargetSchema = {
6894
6894
  data: MaintenanceMode;
6895
- }
6895
+ };
6896
6896
 
6897
6897
  /**
6898
6898
  * This interface was referenced by `MaintenanceMode`'s JSON-Schema
6899
6899
  * via the `deactivate.targetSchema` link.
6900
6900
  */
6901
- export interface MaintenanceModeDeactivateTargetSchema {
6901
+ export type MaintenanceModeDeactivateTargetSchema = {
6902
6902
  data: MaintenanceMode;
6903
- }
6903
+ };
6904
6904
 
6905
6905
  /**
6906
6906
  * A webhook allows to make requests following certain Dato events. It is linked to a Role, which describes what actions can be performed.
@@ -6908,11 +6908,11 @@ export interface MaintenanceModeDeactivateTargetSchema {
6908
6908
  * This interface was referenced by `DatoApi`'s JSON-Schema
6909
6909
  * via the `definition` "webhook".
6910
6910
  */
6911
- export interface Webhook {
6911
+ export type Webhook = {
6912
6912
  type: WebhookType;
6913
6913
  id: WebhookIdentity;
6914
6914
  attributes: WebhookAttributes;
6915
- }
6915
+ };
6916
6916
 
6917
6917
  /**
6918
6918
  * JSON API attributes
@@ -6920,7 +6920,7 @@ export interface Webhook {
6920
6920
  * This interface was referenced by `Webhook`'s JSON-Schema
6921
6921
  * via the `definition` "attributes".
6922
6922
  */
6923
- export interface WebhookAttributes {
6923
+ export type WebhookAttributes = {
6924
6924
  /**
6925
6925
  * Unique name for the webhook
6926
6926
  */
@@ -6963,7 +6963,7 @@ export interface WebhookAttributes {
6963
6963
  * Whether the you want records present in the payload to show blocks expanded or not
6964
6964
  */
6965
6965
  nested_items_in_payload: boolean;
6966
- }
6966
+ };
6967
6967
 
6968
6968
  /**
6969
6969
  * JSON API data
@@ -6971,16 +6971,16 @@ export interface WebhookAttributes {
6971
6971
  * This interface was referenced by `Webhook`'s JSON-Schema
6972
6972
  * via the `definition` "data".
6973
6973
  */
6974
- export interface WebhookData {
6974
+ export type WebhookData = {
6975
6975
  type: WebhookType;
6976
6976
  id: WebhookIdentity;
6977
- }
6977
+ };
6978
6978
 
6979
6979
  /**
6980
6980
  * This interface was referenced by `Webhook`'s JSON-Schema
6981
6981
  * via the `create.schema` link.
6982
6982
  */
6983
- export interface WebhookCreateSchema {
6983
+ export type WebhookCreateSchema = {
6984
6984
  data: {
6985
6985
  type: WebhookType;
6986
6986
  attributes: {
@@ -7028,21 +7028,21 @@ export interface WebhookCreateSchema {
7028
7028
  nested_items_in_payload?: boolean;
7029
7029
  };
7030
7030
  };
7031
- }
7031
+ };
7032
7032
 
7033
7033
  /**
7034
7034
  * This interface was referenced by `Webhook`'s JSON-Schema
7035
7035
  * via the `create.targetSchema` link.
7036
7036
  */
7037
- export interface WebhookCreateTargetSchema {
7037
+ export type WebhookCreateTargetSchema = {
7038
7038
  data: Webhook;
7039
- }
7039
+ };
7040
7040
 
7041
7041
  /**
7042
7042
  * This interface was referenced by `Webhook`'s JSON-Schema
7043
7043
  * via the `update.schema` link.
7044
7044
  */
7045
- export interface WebhookUpdateSchema {
7045
+ export type WebhookUpdateSchema = {
7046
7046
  data: {
7047
7047
  type: WebhookType;
7048
7048
  id: WebhookIdentity;
@@ -7091,39 +7091,39 @@ export interface WebhookUpdateSchema {
7091
7091
  nested_items_in_payload?: boolean;
7092
7092
  };
7093
7093
  };
7094
- }
7094
+ };
7095
7095
 
7096
7096
  /**
7097
7097
  * This interface was referenced by `Webhook`'s JSON-Schema
7098
7098
  * via the `update.targetSchema` link.
7099
7099
  */
7100
- export interface WebhookUpdateTargetSchema {
7100
+ export type WebhookUpdateTargetSchema = {
7101
7101
  data: Webhook;
7102
- }
7102
+ };
7103
7103
 
7104
7104
  /**
7105
7105
  * This interface was referenced by `Webhook`'s JSON-Schema
7106
7106
  * via the `instances.targetSchema` link.
7107
7107
  */
7108
- export interface WebhookInstancesTargetSchema {
7108
+ export type WebhookInstancesTargetSchema = {
7109
7109
  data: Webhook[];
7110
- }
7110
+ };
7111
7111
 
7112
7112
  /**
7113
7113
  * This interface was referenced by `Webhook`'s JSON-Schema
7114
7114
  * via the `self.targetSchema` link.
7115
7115
  */
7116
- export interface WebhookSelfTargetSchema {
7116
+ export type WebhookSelfTargetSchema = {
7117
7117
  data: Webhook;
7118
- }
7118
+ };
7119
7119
 
7120
7120
  /**
7121
7121
  * This interface was referenced by `Webhook`'s JSON-Schema
7122
7122
  * via the `destroy.targetSchema` link.
7123
7123
  */
7124
- export interface WebhookDestroyTargetSchema {
7124
+ export type WebhookDestroyTargetSchema = {
7125
7125
  data: Webhook;
7126
- }
7126
+ };
7127
7127
 
7128
7128
  /**
7129
7129
  * Represents a log entry in the webhooks activity list.
@@ -7131,12 +7131,12 @@ export interface WebhookDestroyTargetSchema {
7131
7131
  * This interface was referenced by `DatoApi`'s JSON-Schema
7132
7132
  * via the `definition` "webhook_call".
7133
7133
  */
7134
- export interface WebhookCall {
7134
+ export type WebhookCall = {
7135
7135
  type: WebhookCallType;
7136
7136
  id: WebhookCallIdentity;
7137
7137
  attributes: WebhookCallAttributes;
7138
7138
  relationships: WebhookCallRelationships;
7139
- }
7139
+ };
7140
7140
 
7141
7141
  /**
7142
7142
  * JSON API attributes
@@ -7144,7 +7144,7 @@ export interface WebhookCall {
7144
7144
  * This interface was referenced by `WebhookCall`'s JSON-Schema
7145
7145
  * via the `definition` "attributes".
7146
7146
  */
7147
- export interface WebhookCallAttributes {
7147
+ export type WebhookCallAttributes = {
7148
7148
  /**
7149
7149
  * The subject of webhook triggering
7150
7150
  */
@@ -7185,7 +7185,7 @@ export interface WebhookCallAttributes {
7185
7185
  * The body of the response
7186
7186
  */
7187
7187
  response_payload: string | null;
7188
- }
7188
+ };
7189
7189
 
7190
7190
  /**
7191
7191
  * JSON API links
@@ -7193,14 +7193,14 @@ export interface WebhookCallAttributes {
7193
7193
  * This interface was referenced by `WebhookCall`'s JSON-Schema
7194
7194
  * via the `definition` "relationships".
7195
7195
  */
7196
- export interface WebhookCallRelationships {
7196
+ export type WebhookCallRelationships = {
7197
7197
  /**
7198
7198
  * The webhook which has been called
7199
7199
  */
7200
7200
  webhook: {
7201
7201
  data: WebhookData;
7202
7202
  };
7203
- }
7203
+ };
7204
7204
 
7205
7205
  /**
7206
7206
  * JSON API data
@@ -7208,21 +7208,21 @@ export interface WebhookCallRelationships {
7208
7208
  * This interface was referenced by `WebhookCall`'s JSON-Schema
7209
7209
  * via the `definition` "data".
7210
7210
  */
7211
- export interface WebhookCallData {
7211
+ export type WebhookCallData = {
7212
7212
  type: WebhookCallType;
7213
7213
  id: WebhookCallIdentity;
7214
- }
7214
+ };
7215
7215
 
7216
7216
  /**
7217
7217
  * This interface was referenced by `WebhookCall`'s JSON-Schema
7218
7218
  * via the `instances.targetSchema` link.
7219
7219
  */
7220
- export interface WebhookCallInstancesTargetSchema {
7220
+ export type WebhookCallInstancesTargetSchema = {
7221
7221
  data: WebhookCall[];
7222
7222
  meta: {
7223
7223
  total_count: number;
7224
7224
  };
7225
- }
7225
+ };
7226
7226
 
7227
7227
  /**
7228
7228
  * Configuration for different build triggers. You can have different staging and production environments in order to test your site before final deploy
@@ -7230,11 +7230,11 @@ export interface WebhookCallInstancesTargetSchema {
7230
7230
  * This interface was referenced by `DatoApi`'s JSON-Schema
7231
7231
  * via the `definition` "build_trigger".
7232
7232
  */
7233
- export interface BuildTrigger {
7233
+ export type BuildTrigger = {
7234
7234
  type: BuildTriggerType;
7235
7235
  id: BuildTriggerIdentity;
7236
7236
  attributes: BuildTriggerAttributes;
7237
- }
7237
+ };
7238
7238
 
7239
7239
  /**
7240
7240
  * JSON API attributes
@@ -7242,7 +7242,7 @@ export interface BuildTrigger {
7242
7242
  * This interface was referenced by `BuildTrigger`'s JSON-Schema
7243
7243
  * via the `definition` "attributes".
7244
7244
  */
7245
- export interface BuildTriggerAttributes {
7245
+ export type BuildTriggerAttributes = {
7246
7246
  /**
7247
7247
  * Name of the environment
7248
7248
  */
@@ -7289,29 +7289,29 @@ export interface BuildTriggerAttributes {
7289
7289
  * Enable scraper on the site
7290
7290
  */
7291
7291
  indexing_enabled: boolean;
7292
- }
7292
+ };
7293
7293
 
7294
7294
  /**
7295
7295
  * This interface was referenced by `BuildTrigger`'s JSON-Schema
7296
7296
  * via the `instances.targetSchema` link.
7297
7297
  */
7298
- export interface BuildTriggerInstancesTargetSchema {
7298
+ export type BuildTriggerInstancesTargetSchema = {
7299
7299
  data: BuildTrigger[];
7300
- }
7300
+ };
7301
7301
 
7302
7302
  /**
7303
7303
  * This interface was referenced by `BuildTrigger`'s JSON-Schema
7304
7304
  * via the `self.targetSchema` link.
7305
7305
  */
7306
- export interface BuildTriggerSelfTargetSchema {
7306
+ export type BuildTriggerSelfTargetSchema = {
7307
7307
  data: BuildTrigger;
7308
- }
7308
+ };
7309
7309
 
7310
7310
  /**
7311
7311
  * This interface was referenced by `BuildTrigger`'s JSON-Schema
7312
7312
  * via the `create.schema` link.
7313
7313
  */
7314
- export interface BuildTriggerCreateSchema {
7314
+ export type BuildTriggerCreateSchema = {
7315
7315
  data: {
7316
7316
  type: BuildTriggerType;
7317
7317
  attributes: {
@@ -7347,21 +7347,21 @@ export interface BuildTriggerCreateSchema {
7347
7347
  };
7348
7348
  };
7349
7349
  };
7350
- }
7350
+ };
7351
7351
 
7352
7352
  /**
7353
7353
  * This interface was referenced by `BuildTrigger`'s JSON-Schema
7354
7354
  * via the `create.targetSchema` link.
7355
7355
  */
7356
- export interface BuildTriggerCreateTargetSchema {
7356
+ export type BuildTriggerCreateTargetSchema = {
7357
7357
  data: BuildTrigger;
7358
- }
7358
+ };
7359
7359
 
7360
7360
  /**
7361
7361
  * This interface was referenced by `BuildTrigger`'s JSON-Schema
7362
7362
  * via the `update.schema` link.
7363
7363
  */
7364
- export interface BuildTriggerUpdateSchema {
7364
+ export type BuildTriggerUpdateSchema = {
7365
7365
  data: {
7366
7366
  type: BuildTriggerType;
7367
7367
  id: BuildTriggerIdentity;
@@ -7394,23 +7394,23 @@ export interface BuildTriggerUpdateSchema {
7394
7394
  };
7395
7395
  };
7396
7396
  };
7397
- }
7397
+ };
7398
7398
 
7399
7399
  /**
7400
7400
  * This interface was referenced by `BuildTrigger`'s JSON-Schema
7401
7401
  * via the `update.targetSchema` link.
7402
7402
  */
7403
- export interface BuildTriggerUpdateTargetSchema {
7403
+ export type BuildTriggerUpdateTargetSchema = {
7404
7404
  data: BuildTrigger;
7405
- }
7405
+ };
7406
7406
 
7407
7407
  /**
7408
7408
  * This interface was referenced by `BuildTrigger`'s JSON-Schema
7409
7409
  * via the `destroy.targetSchema` link.
7410
7410
  */
7411
- export interface BuildTriggerDestroyTargetSchema {
7411
+ export type BuildTriggerDestroyTargetSchema = {
7412
7412
  data: BuildTrigger;
7413
- }
7413
+ };
7414
7414
 
7415
7415
  /**
7416
7416
  * In DatoCMS you can create filters to help you (and other editors) quickly search for records
@@ -7418,12 +7418,12 @@ export interface BuildTriggerDestroyTargetSchema {
7418
7418
  * This interface was referenced by `DatoApi`'s JSON-Schema
7419
7419
  * via the `definition` "item_type_filter".
7420
7420
  */
7421
- export interface ItemTypeFilter {
7421
+ export type ItemTypeFilter = {
7422
7422
  type: ItemTypeFilterType;
7423
7423
  id: ItemTypeFilterIdentity;
7424
7424
  attributes: ItemTypeFilterAttributes;
7425
7425
  relationships: ItemTypeFilterRelationships;
7426
- }
7426
+ };
7427
7427
 
7428
7428
  /**
7429
7429
  * JSON API attributes
@@ -7431,7 +7431,7 @@ export interface ItemTypeFilter {
7431
7431
  * This interface was referenced by `ItemTypeFilter`'s JSON-Schema
7432
7432
  * via the `definition` "attributes".
7433
7433
  */
7434
- export interface ItemTypeFilterAttributes {
7434
+ export type ItemTypeFilterAttributes = {
7435
7435
  /**
7436
7436
  * The name of the filter
7437
7437
  */
@@ -7446,7 +7446,7 @@ export interface ItemTypeFilterAttributes {
7446
7446
  * Whether it's a shared filter or not
7447
7447
  */
7448
7448
  shared: boolean;
7449
- }
7449
+ };
7450
7450
 
7451
7451
  /**
7452
7452
  * JSON API links
@@ -7454,14 +7454,14 @@ export interface ItemTypeFilterAttributes {
7454
7454
  * This interface was referenced by `ItemTypeFilter`'s JSON-Schema
7455
7455
  * via the `definition` "relationships".
7456
7456
  */
7457
- export interface ItemTypeFilterRelationships {
7457
+ export type ItemTypeFilterRelationships = {
7458
7458
  /**
7459
7459
  * Model associated with the filter
7460
7460
  */
7461
7461
  item_type: {
7462
7462
  data: ItemTypeData;
7463
7463
  };
7464
- }
7464
+ };
7465
7465
 
7466
7466
  /**
7467
7467
  * JSON API data
@@ -7469,16 +7469,16 @@ export interface ItemTypeFilterRelationships {
7469
7469
  * This interface was referenced by `ItemTypeFilter`'s JSON-Schema
7470
7470
  * via the `definition` "data".
7471
7471
  */
7472
- export interface ItemTypeFilterData {
7472
+ export type ItemTypeFilterData = {
7473
7473
  type: ItemTypeFilterType;
7474
7474
  id: ItemTypeFilterIdentity;
7475
- }
7475
+ };
7476
7476
 
7477
7477
  /**
7478
7478
  * This interface was referenced by `ItemTypeFilter`'s JSON-Schema
7479
7479
  * via the `create.schema` link.
7480
7480
  */
7481
- export interface ItemTypeFilterCreateSchema {
7481
+ export type ItemTypeFilterCreateSchema = {
7482
7482
  data: {
7483
7483
  type: ItemTypeFilterType;
7484
7484
  attributes: {
@@ -7506,21 +7506,21 @@ export interface ItemTypeFilterCreateSchema {
7506
7506
  };
7507
7507
  };
7508
7508
  };
7509
- }
7509
+ };
7510
7510
 
7511
7511
  /**
7512
7512
  * This interface was referenced by `ItemTypeFilter`'s JSON-Schema
7513
7513
  * via the `create.targetSchema` link.
7514
7514
  */
7515
- export interface ItemTypeFilterCreateTargetSchema {
7515
+ export type ItemTypeFilterCreateTargetSchema = {
7516
7516
  data: ItemTypeFilter;
7517
- }
7517
+ };
7518
7518
 
7519
7519
  /**
7520
7520
  * This interface was referenced by `ItemTypeFilter`'s JSON-Schema
7521
7521
  * via the `update.schema` link.
7522
7522
  */
7523
- export interface ItemTypeFilterUpdateSchema {
7523
+ export type ItemTypeFilterUpdateSchema = {
7524
7524
  data: {
7525
7525
  type: ItemTypeFilterType;
7526
7526
  id: ItemTypeFilterIdentity;
@@ -7544,39 +7544,39 @@ export interface ItemTypeFilterUpdateSchema {
7544
7544
  };
7545
7545
  };
7546
7546
  };
7547
- }
7547
+ };
7548
7548
 
7549
7549
  /**
7550
7550
  * This interface was referenced by `ItemTypeFilter`'s JSON-Schema
7551
7551
  * via the `update.targetSchema` link.
7552
7552
  */
7553
- export interface ItemTypeFilterUpdateTargetSchema {
7553
+ export type ItemTypeFilterUpdateTargetSchema = {
7554
7554
  data: ItemTypeFilter;
7555
- }
7555
+ };
7556
7556
 
7557
7557
  /**
7558
7558
  * This interface was referenced by `ItemTypeFilter`'s JSON-Schema
7559
7559
  * via the `instances.targetSchema` link.
7560
7560
  */
7561
- export interface ItemTypeFilterInstancesTargetSchema {
7561
+ export type ItemTypeFilterInstancesTargetSchema = {
7562
7562
  data: ItemTypeFilter[];
7563
- }
7563
+ };
7564
7564
 
7565
7565
  /**
7566
7566
  * This interface was referenced by `ItemTypeFilter`'s JSON-Schema
7567
7567
  * via the `self.targetSchema` link.
7568
7568
  */
7569
- export interface ItemTypeFilterSelfTargetSchema {
7569
+ export type ItemTypeFilterSelfTargetSchema = {
7570
7570
  data: ItemTypeFilter;
7571
- }
7571
+ };
7572
7572
 
7573
7573
  /**
7574
7574
  * This interface was referenced by `ItemTypeFilter`'s JSON-Schema
7575
7575
  * via the `destroy.targetSchema` link.
7576
7576
  */
7577
- export interface ItemTypeFilterDestroyTargetSchema {
7577
+ export type ItemTypeFilterDestroyTargetSchema = {
7578
7578
  data: ItemTypeFilter;
7579
- }
7579
+ };
7580
7580
 
7581
7581
  /**
7582
7582
  * In DatoCMS you can create filters to help you (and other editors) quickly search for uploads
@@ -7584,11 +7584,11 @@ export interface ItemTypeFilterDestroyTargetSchema {
7584
7584
  * This interface was referenced by `DatoApi`'s JSON-Schema
7585
7585
  * via the `definition` "upload_filter".
7586
7586
  */
7587
- export interface UploadFilter {
7587
+ export type UploadFilter = {
7588
7588
  type: UploadFilterType;
7589
7589
  id: UploadFilterIdentity;
7590
7590
  attributes: UploadFilterAttributes;
7591
- }
7591
+ };
7592
7592
 
7593
7593
  /**
7594
7594
  * JSON API attributes
@@ -7596,7 +7596,7 @@ export interface UploadFilter {
7596
7596
  * This interface was referenced by `UploadFilter`'s JSON-Schema
7597
7597
  * via the `definition` "attributes".
7598
7598
  */
7599
- export interface UploadFilterAttributes {
7599
+ export type UploadFilterAttributes = {
7600
7600
  /**
7601
7601
  * The name of the filter
7602
7602
  */
@@ -7611,7 +7611,7 @@ export interface UploadFilterAttributes {
7611
7611
  * Whether it's a shared filter or not
7612
7612
  */
7613
7613
  shared: boolean;
7614
- }
7614
+ };
7615
7615
 
7616
7616
  /**
7617
7617
  * JSON API data
@@ -7619,16 +7619,16 @@ export interface UploadFilterAttributes {
7619
7619
  * This interface was referenced by `UploadFilter`'s JSON-Schema
7620
7620
  * via the `definition` "data".
7621
7621
  */
7622
- export interface UploadFilterData {
7622
+ export type UploadFilterData = {
7623
7623
  type: UploadFilterType;
7624
7624
  id: UploadFilterIdentity;
7625
- }
7625
+ };
7626
7626
 
7627
7627
  /**
7628
7628
  * This interface was referenced by `UploadFilter`'s JSON-Schema
7629
7629
  * via the `create.schema` link.
7630
7630
  */
7631
- export interface UploadFilterCreateSchema {
7631
+ export type UploadFilterCreateSchema = {
7632
7632
  data: {
7633
7633
  type: UploadFilterType;
7634
7634
  /**
@@ -7651,21 +7651,21 @@ export interface UploadFilterCreateSchema {
7651
7651
  shared: boolean;
7652
7652
  };
7653
7653
  };
7654
- }
7654
+ };
7655
7655
 
7656
7656
  /**
7657
7657
  * This interface was referenced by `UploadFilter`'s JSON-Schema
7658
7658
  * via the `create.targetSchema` link.
7659
7659
  */
7660
- export interface UploadFilterCreateTargetSchema {
7660
+ export type UploadFilterCreateTargetSchema = {
7661
7661
  data: UploadFilter;
7662
- }
7662
+ };
7663
7663
 
7664
7664
  /**
7665
7665
  * This interface was referenced by `UploadFilter`'s JSON-Schema
7666
7666
  * via the `update.schema` link.
7667
7667
  */
7668
- export interface UploadFilterUpdateSchema {
7668
+ export type UploadFilterUpdateSchema = {
7669
7669
  data: {
7670
7670
  type: UploadFilterType;
7671
7671
  id: UploadFilterIdentity;
@@ -7689,39 +7689,39 @@ export interface UploadFilterUpdateSchema {
7689
7689
  };
7690
7690
  };
7691
7691
  };
7692
- }
7692
+ };
7693
7693
 
7694
7694
  /**
7695
7695
  * This interface was referenced by `UploadFilter`'s JSON-Schema
7696
7696
  * via the `update.targetSchema` link.
7697
7697
  */
7698
- export interface UploadFilterUpdateTargetSchema {
7698
+ export type UploadFilterUpdateTargetSchema = {
7699
7699
  data: UploadFilter;
7700
- }
7700
+ };
7701
7701
 
7702
7702
  /**
7703
7703
  * This interface was referenced by `UploadFilter`'s JSON-Schema
7704
7704
  * via the `instances.targetSchema` link.
7705
7705
  */
7706
- export interface UploadFilterInstancesTargetSchema {
7706
+ export type UploadFilterInstancesTargetSchema = {
7707
7707
  data: UploadFilter[];
7708
- }
7708
+ };
7709
7709
 
7710
7710
  /**
7711
7711
  * This interface was referenced by `UploadFilter`'s JSON-Schema
7712
7712
  * via the `self.targetSchema` link.
7713
7713
  */
7714
- export interface UploadFilterSelfTargetSchema {
7714
+ export type UploadFilterSelfTargetSchema = {
7715
7715
  data: UploadFilter;
7716
- }
7716
+ };
7717
7717
 
7718
7718
  /**
7719
7719
  * This interface was referenced by `UploadFilter`'s JSON-Schema
7720
7720
  * via the `destroy.targetSchema` link.
7721
7721
  */
7722
- export interface UploadFilterDestroyTargetSchema {
7722
+ export type UploadFilterDestroyTargetSchema = {
7723
7723
  data: UploadFilter;
7724
- }
7724
+ };
7725
7725
 
7726
7726
  /**
7727
7727
  * A DatoCMS administrative area can be accessed by multiple people. Every invitation is linked to a specific Role, which describes what actions it will be able to perform once the user will register.
@@ -7729,12 +7729,12 @@ export interface UploadFilterDestroyTargetSchema {
7729
7729
  * This interface was referenced by `DatoApi`'s JSON-Schema
7730
7730
  * via the `definition` "site_invitation".
7731
7731
  */
7732
- export interface SiteInvitation {
7732
+ export type SiteInvitation = {
7733
7733
  type: SiteInvitationType;
7734
7734
  id: SiteInvitationIdentity;
7735
7735
  attributes: SiteInvitationAttributes;
7736
7736
  relationships: SiteInvitationRelationships;
7737
- }
7737
+ };
7738
7738
 
7739
7739
  /**
7740
7740
  * JSON API attributes
@@ -7742,12 +7742,12 @@ export interface SiteInvitation {
7742
7742
  * This interface was referenced by `SiteInvitation`'s JSON-Schema
7743
7743
  * via the `definition` "attributes".
7744
7744
  */
7745
- export interface SiteInvitationAttributes {
7745
+ export type SiteInvitationAttributes = {
7746
7746
  /**
7747
7747
  * Email
7748
7748
  */
7749
7749
  email: string;
7750
- }
7750
+ };
7751
7751
 
7752
7752
  /**
7753
7753
  * JSON API links
@@ -7755,14 +7755,14 @@ export interface SiteInvitationAttributes {
7755
7755
  * This interface was referenced by `SiteInvitation`'s JSON-Schema
7756
7756
  * via the `definition` "relationships".
7757
7757
  */
7758
- export interface SiteInvitationRelationships {
7758
+ export type SiteInvitationRelationships = {
7759
7759
  /**
7760
7760
  * Role
7761
7761
  */
7762
7762
  role: {
7763
7763
  data: RoleData;
7764
7764
  };
7765
- }
7765
+ };
7766
7766
 
7767
7767
  /**
7768
7768
  * JSON API data
@@ -7770,16 +7770,16 @@ export interface SiteInvitationRelationships {
7770
7770
  * This interface was referenced by `SiteInvitation`'s JSON-Schema
7771
7771
  * via the `definition` "data".
7772
7772
  */
7773
- export interface SiteInvitationData {
7773
+ export type SiteInvitationData = {
7774
7774
  type: SiteInvitationType;
7775
7775
  id: SiteInvitationIdentity;
7776
- }
7776
+ };
7777
7777
 
7778
7778
  /**
7779
7779
  * This interface was referenced by `SiteInvitation`'s JSON-Schema
7780
7780
  * via the `create.schema` link.
7781
7781
  */
7782
- export interface SiteInvitationCreateSchema {
7782
+ export type SiteInvitationCreateSchema = {
7783
7783
  data: {
7784
7784
  type: SiteInvitationType;
7785
7785
  attributes: {
@@ -7797,21 +7797,21 @@ export interface SiteInvitationCreateSchema {
7797
7797
  };
7798
7798
  };
7799
7799
  };
7800
- }
7800
+ };
7801
7801
 
7802
7802
  /**
7803
7803
  * This interface was referenced by `SiteInvitation`'s JSON-Schema
7804
7804
  * via the `create.targetSchema` link.
7805
7805
  */
7806
- export interface SiteInvitationCreateTargetSchema {
7806
+ export type SiteInvitationCreateTargetSchema = {
7807
7807
  data: SiteInvitation;
7808
- }
7808
+ };
7809
7809
 
7810
7810
  /**
7811
7811
  * This interface was referenced by `SiteInvitation`'s JSON-Schema
7812
7812
  * via the `update.schema` link.
7813
7813
  */
7814
- export interface SiteInvitationUpdateSchema {
7814
+ export type SiteInvitationUpdateSchema = {
7815
7815
  data: {
7816
7816
  type: SiteInvitationType;
7817
7817
  id: SiteInvitationIdentity;
@@ -7824,39 +7824,39 @@ export interface SiteInvitationUpdateSchema {
7824
7824
  };
7825
7825
  };
7826
7826
  };
7827
- }
7827
+ };
7828
7828
 
7829
7829
  /**
7830
7830
  * This interface was referenced by `SiteInvitation`'s JSON-Schema
7831
7831
  * via the `update.targetSchema` link.
7832
7832
  */
7833
- export interface SiteInvitationUpdateTargetSchema {
7833
+ export type SiteInvitationUpdateTargetSchema = {
7834
7834
  data: SiteInvitation;
7835
- }
7835
+ };
7836
7836
 
7837
7837
  /**
7838
7838
  * This interface was referenced by `SiteInvitation`'s JSON-Schema
7839
7839
  * via the `instances.targetSchema` link.
7840
7840
  */
7841
- export interface SiteInvitationInstancesTargetSchema {
7841
+ export type SiteInvitationInstancesTargetSchema = {
7842
7842
  data: SiteInvitation[];
7843
- }
7843
+ };
7844
7844
 
7845
7845
  /**
7846
7846
  * This interface was referenced by `SiteInvitation`'s JSON-Schema
7847
7847
  * via the `self.targetSchema` link.
7848
7848
  */
7849
- export interface SiteInvitationSelfTargetSchema {
7849
+ export type SiteInvitationSelfTargetSchema = {
7850
7850
  data: SiteInvitation;
7851
- }
7851
+ };
7852
7852
 
7853
7853
  /**
7854
7854
  * This interface was referenced by `SiteInvitation`'s JSON-Schema
7855
7855
  * via the `destroy.targetSchema` link.
7856
7856
  */
7857
- export interface SiteInvitationDestroyTargetSchema {
7857
+ export type SiteInvitationDestroyTargetSchema = {
7858
7858
  data: SiteInvitation;
7859
- }
7859
+ };
7860
7860
 
7861
7861
  /**
7862
7862
  * Session track users movements in the administrative area, and allows locking a record when editing it.
@@ -7864,12 +7864,12 @@ export interface SiteInvitationDestroyTargetSchema {
7864
7864
  * This interface was referenced by `DatoApi`'s JSON-Schema
7865
7865
  * via the `definition` "editing_session".
7866
7866
  */
7867
- export interface EditingSession {
7867
+ export type EditingSession = {
7868
7868
  type: EditingSessionType;
7869
7869
  id: EditingSessionIdentity;
7870
7870
  attributes: EditingSessionAttributes;
7871
7871
  relationships: EditingSessionRelationships;
7872
- }
7872
+ };
7873
7873
 
7874
7874
  /**
7875
7875
  * JSON API attributes
@@ -7877,7 +7877,7 @@ export interface EditingSession {
7877
7877
  * This interface was referenced by `EditingSession`'s JSON-Schema
7878
7878
  * via the `definition` "attributes".
7879
7879
  */
7880
- export interface EditingSessionAttributes {
7880
+ export type EditingSessionAttributes = {
7881
7881
  /**
7882
7882
  * User entered at
7883
7883
  */
@@ -7886,7 +7886,7 @@ export interface EditingSessionAttributes {
7886
7886
  * User locked record at
7887
7887
  */
7888
7888
  locked_at: string | null;
7889
- }
7889
+ };
7890
7890
 
7891
7891
  /**
7892
7892
  * JSON API links
@@ -7894,7 +7894,7 @@ export interface EditingSessionAttributes {
7894
7894
  * This interface was referenced by `EditingSession`'s JSON-Schema
7895
7895
  * via the `definition` "relationships".
7896
7896
  */
7897
- export interface EditingSessionRelationships {
7897
+ export type EditingSessionRelationships = {
7898
7898
  /**
7899
7899
  * The active item in the session
7900
7900
  */
@@ -7913,7 +7913,7 @@ export interface EditingSessionRelationships {
7913
7913
  editor: {
7914
7914
  data: AccountData | AccessTokenData | UserData;
7915
7915
  };
7916
- }
7916
+ };
7917
7917
 
7918
7918
  /**
7919
7919
  * JSON API data
@@ -7921,24 +7921,24 @@ export interface EditingSessionRelationships {
7921
7921
  * This interface was referenced by `EditingSession`'s JSON-Schema
7922
7922
  * via the `definition` "data".
7923
7923
  */
7924
- export interface EditingSessionData {
7924
+ export type EditingSessionData = {
7925
7925
  type: EditingSessionType;
7926
7926
  id: EditingSessionIdentity;
7927
- }
7927
+ };
7928
7928
 
7929
7929
  /**
7930
7930
  * This interface was referenced by `EditingSession`'s JSON-Schema
7931
7931
  * via the `instances.targetSchema` link.
7932
7932
  */
7933
- export interface EditingSessionInstancesTargetSchema {
7933
+ export type EditingSessionInstancesTargetSchema = {
7934
7934
  data: EditingSession[];
7935
- }
7935
+ };
7936
7936
 
7937
7937
  /**
7938
7938
  * This interface was referenced by `EditingSession`'s JSON-Schema
7939
7939
  * via the `update.schema` link.
7940
7940
  */
7941
- export interface EditingSessionUpdateSchema {
7941
+ export type EditingSessionUpdateSchema = {
7942
7942
  data:
7943
7943
  | {
7944
7944
  /**
@@ -7997,23 +7997,23 @@ export interface EditingSessionUpdateSchema {
7997
7997
  */
7998
7998
  type: 'editing_session_unlock_item';
7999
7999
  };
8000
- }
8000
+ };
8001
8001
 
8002
8002
  /**
8003
8003
  * This interface was referenced by `EditingSession`'s JSON-Schema
8004
8004
  * via the `update.targetSchema` link.
8005
8005
  */
8006
- export interface EditingSessionUpdateTargetSchema {
8006
+ export type EditingSessionUpdateTargetSchema = {
8007
8007
  data: EditingSession;
8008
- }
8008
+ };
8009
8009
 
8010
8010
  /**
8011
8011
  * This interface was referenced by `EditingSession`'s JSON-Schema
8012
8012
  * via the `destroy.targetSchema` link.
8013
8013
  */
8014
- export interface EditingSessionDestroyTargetSchema {
8014
+ export type EditingSessionDestroyTargetSchema = {
8015
8015
  data: EditingSession;
8016
- }
8016
+ };
8017
8017
 
8018
8018
  /**
8019
8019
  * A Single Sign-On group exists when a DatoCMS project is connected to an Identity Provider. These groups can be used to link DatoCMS roles to the Identity Provider's groups.
@@ -8021,12 +8021,12 @@ export interface EditingSessionDestroyTargetSchema {
8021
8021
  * This interface was referenced by `DatoApi`'s JSON-Schema
8022
8022
  * via the `definition` "sso_group".
8023
8023
  */
8024
- export interface SsoGroup {
8024
+ export type SsoGroup = {
8025
8025
  type: SsoGroupType;
8026
8026
  id: SsoGroupIdentity;
8027
8027
  attributes: SsoGroupAttributes;
8028
8028
  relationships: SsoGroupRelationships;
8029
- }
8029
+ };
8030
8030
 
8031
8031
  /**
8032
8032
  * JSON API attributes
@@ -8034,7 +8034,7 @@ export interface SsoGroup {
8034
8034
  * This interface was referenced by `SsoGroup`'s JSON-Schema
8035
8035
  * via the `definition` "attributes".
8036
8036
  */
8037
- export interface SsoGroupAttributes {
8037
+ export type SsoGroupAttributes = {
8038
8038
  /**
8039
8039
  * Name of the group
8040
8040
  */
@@ -8043,7 +8043,7 @@ export interface SsoGroupAttributes {
8043
8043
  * When an user belongs to multiple groups, the role associated to the group with the highest priority will be used
8044
8044
  */
8045
8045
  priority: number;
8046
- }
8046
+ };
8047
8047
 
8048
8048
  /**
8049
8049
  * JSON API links
@@ -8051,7 +8051,7 @@ export interface SsoGroupAttributes {
8051
8051
  * This interface was referenced by `SsoGroup`'s JSON-Schema
8052
8052
  * via the `definition` "relationships".
8053
8053
  */
8054
- export interface SsoGroupRelationships {
8054
+ export type SsoGroupRelationships = {
8055
8055
  /**
8056
8056
  * Sso Group's role
8057
8057
  */
@@ -8064,29 +8064,29 @@ export interface SsoGroupRelationships {
8064
8064
  users: {
8065
8065
  data: SsoUserData[];
8066
8066
  };
8067
- }
8067
+ };
8068
8068
 
8069
8069
  /**
8070
8070
  * This interface was referenced by `SsoGroup`'s JSON-Schema
8071
8071
  * via the `instances.targetSchema` link.
8072
8072
  */
8073
- export interface SsoGroupInstancesTargetSchema {
8073
+ export type SsoGroupInstancesTargetSchema = {
8074
8074
  data: SsoGroup[];
8075
- }
8075
+ };
8076
8076
 
8077
8077
  /**
8078
8078
  * This interface was referenced by `SsoGroup`'s JSON-Schema
8079
8079
  * via the `copy_roles.targetSchema` link.
8080
8080
  */
8081
- export interface SsoGroupCopyRolesTargetSchema {
8081
+ export type SsoGroupCopyRolesTargetSchema = {
8082
8082
  data: SsoGroup;
8083
- }
8083
+ };
8084
8084
 
8085
8085
  /**
8086
8086
  * This interface was referenced by `SsoGroup`'s JSON-Schema
8087
8087
  * via the `update.schema` link.
8088
8088
  */
8089
- export interface SsoGroupUpdateSchema {
8089
+ export type SsoGroupUpdateSchema = {
8090
8090
  data: {
8091
8091
  type: SsoGroupType;
8092
8092
  id: SsoGroupIdentity;
@@ -8105,23 +8105,23 @@ export interface SsoGroupUpdateSchema {
8105
8105
  };
8106
8106
  };
8107
8107
  };
8108
- }
8108
+ };
8109
8109
 
8110
8110
  /**
8111
8111
  * This interface was referenced by `SsoGroup`'s JSON-Schema
8112
8112
  * via the `update.targetSchema` link.
8113
8113
  */
8114
- export interface SsoGroupUpdateTargetSchema {
8114
+ export type SsoGroupUpdateTargetSchema = {
8115
8115
  data: SsoGroup;
8116
- }
8116
+ };
8117
8117
 
8118
8118
  /**
8119
8119
  * This interface was referenced by `SsoGroup`'s JSON-Schema
8120
8120
  * via the `destroy.targetSchema` link.
8121
8121
  */
8122
- export interface SsoGroupDestroyTargetSchema {
8122
+ export type SsoGroupDestroyTargetSchema = {
8123
8123
  data: SsoGroup;
8124
- }
8124
+ };
8125
8125
 
8126
8126
  /**
8127
8127
  * Represents the Single Sign-on settings of the current DatoCMS project
@@ -8129,12 +8129,12 @@ export interface SsoGroupDestroyTargetSchema {
8129
8129
  * This interface was referenced by `DatoApi`'s JSON-Schema
8130
8130
  * via the `definition` "sso_settings".
8131
8131
  */
8132
- export interface SsoSettings {
8132
+ export type SsoSettings = {
8133
8133
  type: SsoSettingsType;
8134
8134
  id: SsoSettingsIdentity;
8135
8135
  attributes: SsoSettingsAttributes;
8136
8136
  relationships: SsoSettingsRelationships;
8137
- }
8137
+ };
8138
8138
 
8139
8139
  /**
8140
8140
  * JSON API attributes
@@ -8142,7 +8142,7 @@ export interface SsoSettings {
8142
8142
  * This interface was referenced by `SsoSettings`'s JSON-Schema
8143
8143
  * via the `definition` "attributes".
8144
8144
  */
8145
- export interface SsoSettingsAttributes {
8145
+ export type SsoSettingsAttributes = {
8146
8146
  /**
8147
8147
  * URL of Identity Provider SAML Metadata endpoint
8148
8148
  */
@@ -8171,7 +8171,7 @@ export interface SsoSettingsAttributes {
8171
8171
  * DatoCMS SCIM API Token
8172
8172
  */
8173
8173
  scim_api_token?: string;
8174
- }
8174
+ };
8175
8175
 
8176
8176
  /**
8177
8177
  * JSON API links
@@ -8179,14 +8179,14 @@ export interface SsoSettingsAttributes {
8179
8179
  * This interface was referenced by `SsoSettings`'s JSON-Schema
8180
8180
  * via the `definition` "relationships".
8181
8181
  */
8182
- export interface SsoSettingsRelationships {
8182
+ export type SsoSettingsRelationships = {
8183
8183
  /**
8184
8184
  * The default role assigned to SSO users that do not belong to any SSO group
8185
8185
  */
8186
8186
  default_role: {
8187
8187
  data: null | RoleData;
8188
8188
  };
8189
- }
8189
+ };
8190
8190
 
8191
8191
  /**
8192
8192
  * JSON API data
@@ -8194,24 +8194,24 @@ export interface SsoSettingsRelationships {
8194
8194
  * This interface was referenced by `SsoSettings`'s JSON-Schema
8195
8195
  * via the `definition` "data".
8196
8196
  */
8197
- export interface SsoSettingsData {
8197
+ export type SsoSettingsData = {
8198
8198
  type: SsoSettingsType;
8199
8199
  id: SsoSettingsIdentity;
8200
- }
8200
+ };
8201
8201
 
8202
8202
  /**
8203
8203
  * This interface was referenced by `SsoSettings`'s JSON-Schema
8204
8204
  * via the `self.targetSchema` link.
8205
8205
  */
8206
- export interface SsoSettingsSelfTargetSchema {
8206
+ export type SsoSettingsSelfTargetSchema = {
8207
8207
  data: SsoSettings;
8208
- }
8208
+ };
8209
8209
 
8210
8210
  /**
8211
8211
  * This interface was referenced by `SsoSettings`'s JSON-Schema
8212
8212
  * via the `generate_token.targetSchema` link.
8213
8213
  */
8214
- export interface SsoSettingsGenerateTokenTargetSchema {
8214
+ export type SsoSettingsGenerateTokenTargetSchema = {
8215
8215
  data: {
8216
8216
  id: SsoSettingsIdentity;
8217
8217
  /**
@@ -8226,13 +8226,13 @@ export interface SsoSettingsGenerateTokenTargetSchema {
8226
8226
  };
8227
8227
  [k: string]: unknown;
8228
8228
  };
8229
- }
8229
+ };
8230
8230
 
8231
8231
  /**
8232
8232
  * This interface was referenced by `SsoSettings`'s JSON-Schema
8233
8233
  * via the `update.schema` link.
8234
8234
  */
8235
- export interface SsoSettingsUpdateSchema {
8235
+ export type SsoSettingsUpdateSchema = {
8236
8236
  data: {
8237
8237
  type: SsoSettingsType;
8238
8238
  id?: SsoSettingsIdentity;
@@ -8251,15 +8251,15 @@ export interface SsoSettingsUpdateSchema {
8251
8251
  };
8252
8252
  };
8253
8253
  };
8254
- }
8254
+ };
8255
8255
 
8256
8256
  /**
8257
8257
  * This interface was referenced by `SsoSettings`'s JSON-Schema
8258
8258
  * via the `update.targetSchema` link.
8259
8259
  */
8260
- export interface SsoSettingsUpdateTargetSchema {
8260
+ export type SsoSettingsUpdateTargetSchema = {
8261
8261
  data: SsoSettings;
8262
- }
8262
+ };
8263
8263
 
8264
8264
  /**
8265
8265
  * Represents the white-label settings of the current DatoCMS project
@@ -8267,11 +8267,11 @@ export interface SsoSettingsUpdateTargetSchema {
8267
8267
  * This interface was referenced by `DatoApi`'s JSON-Schema
8268
8268
  * via the `definition` "white_label_settings".
8269
8269
  */
8270
- export interface WhiteLabelSettings {
8270
+ export type WhiteLabelSettings = {
8271
8271
  type: WhiteLabelSettingsType;
8272
8272
  id: WhiteLabelSettingsIdentity;
8273
8273
  attributes: WhiteLabelSettingsAttributes;
8274
- }
8274
+ };
8275
8275
 
8276
8276
  /**
8277
8277
  * JSON API attributes
@@ -8279,12 +8279,12 @@ export interface WhiteLabelSettings {
8279
8279
  * This interface was referenced by `WhiteLabelSettings`'s JSON-Schema
8280
8280
  * via the `definition` "attributes".
8281
8281
  */
8282
- export interface WhiteLabelSettingsAttributes {
8282
+ export type WhiteLabelSettingsAttributes = {
8283
8283
  /**
8284
8284
  * URL of custom I18n messages. The :locale placeholder represents the current DatoCMS UI locale.
8285
8285
  */
8286
8286
  custom_i18n_messages_template_url: null | string;
8287
- }
8287
+ };
8288
8288
 
8289
8289
  /**
8290
8290
  * JSON API data
@@ -8292,24 +8292,24 @@ export interface WhiteLabelSettingsAttributes {
8292
8292
  * This interface was referenced by `WhiteLabelSettings`'s JSON-Schema
8293
8293
  * via the `definition` "data".
8294
8294
  */
8295
- export interface WhiteLabelSettingsData {
8295
+ export type WhiteLabelSettingsData = {
8296
8296
  type: WhiteLabelSettingsType;
8297
8297
  id: WhiteLabelSettingsIdentity;
8298
- }
8298
+ };
8299
8299
 
8300
8300
  /**
8301
8301
  * This interface was referenced by `WhiteLabelSettings`'s JSON-Schema
8302
8302
  * via the `self.targetSchema` link.
8303
8303
  */
8304
- export interface WhiteLabelSettingsSelfTargetSchema {
8304
+ export type WhiteLabelSettingsSelfTargetSchema = {
8305
8305
  data: WhiteLabelSettings;
8306
- }
8306
+ };
8307
8307
 
8308
8308
  /**
8309
8309
  * This interface was referenced by `WhiteLabelSettings`'s JSON-Schema
8310
8310
  * via the `update.schema` link.
8311
8311
  */
8312
- export interface WhiteLabelSettingsUpdateSchema {
8312
+ export type WhiteLabelSettingsUpdateSchema = {
8313
8313
  data: {
8314
8314
  type: WhiteLabelSettingsType;
8315
8315
  id?: WhiteLabelSettingsIdentity;
@@ -8320,15 +8320,15 @@ export interface WhiteLabelSettingsUpdateSchema {
8320
8320
  custom_i18n_messages_template_url: null | string;
8321
8321
  };
8322
8322
  };
8323
- }
8323
+ };
8324
8324
 
8325
8325
  /**
8326
8326
  * This interface was referenced by `WhiteLabelSettings`'s JSON-Schema
8327
8327
  * via the `update.targetSchema` link.
8328
8328
  */
8329
- export interface WhiteLabelSettingsUpdateTargetSchema {
8329
+ export type WhiteLabelSettingsUpdateTargetSchema = {
8330
8330
  data: WhiteLabelSettings;
8331
- }
8331
+ };
8332
8332
 
8333
8333
  /**
8334
8334
  * Info that can be accessed by unauthorized users
@@ -8336,11 +8336,11 @@ export interface WhiteLabelSettingsUpdateTargetSchema {
8336
8336
  * This interface was referenced by `DatoApi`'s JSON-Schema
8337
8337
  * via the `definition` "public_info".
8338
8338
  */
8339
- export interface PublicInfo {
8339
+ export type PublicInfo = {
8340
8340
  type: PublicInfoType;
8341
8341
  id: PublicInfoIdentity;
8342
8342
  attributes: PublicInfoAttributes;
8343
- }
8343
+ };
8344
8344
 
8345
8345
  /**
8346
8346
  * JSON API attributes
@@ -8348,7 +8348,7 @@ export interface PublicInfo {
8348
8348
  * This interface was referenced by `PublicInfo`'s JSON-Schema
8349
8349
  * via the `definition` "attributes".
8350
8350
  */
8351
- export interface PublicInfoAttributes {
8351
+ export type PublicInfoAttributes = {
8352
8352
  /**
8353
8353
  * Site name
8354
8354
  */
@@ -8411,7 +8411,7 @@ export interface PublicInfoAttributes {
8411
8411
  blocks_per_item: number;
8412
8412
  [k: string]: unknown;
8413
8413
  };
8414
- }
8414
+ };
8415
8415
 
8416
8416
  /**
8417
8417
  * JSON API data
@@ -8419,18 +8419,18 @@ export interface PublicInfoAttributes {
8419
8419
  * This interface was referenced by `PublicInfo`'s JSON-Schema
8420
8420
  * via the `definition` "data".
8421
8421
  */
8422
- export interface PublicInfoData {
8422
+ export type PublicInfoData = {
8423
8423
  type: PublicInfoType;
8424
8424
  id: PublicInfoIdentity;
8425
- }
8425
+ };
8426
8426
 
8427
8427
  /**
8428
8428
  * This interface was referenced by `PublicInfo`'s JSON-Schema
8429
8429
  * via the `self.targetSchema` link.
8430
8430
  */
8431
- export interface PublicInfoSelfTargetSchema {
8431
+ export type PublicInfoSelfTargetSchema = {
8432
8432
  data: PublicInfo;
8433
- }
8433
+ };
8434
8434
 
8435
8435
  /**
8436
8436
  * DatoCMS resources usage organized by day
@@ -8438,11 +8438,11 @@ export interface PublicInfoSelfTargetSchema {
8438
8438
  * This interface was referenced by `DatoApi`'s JSON-Schema
8439
8439
  * via the `definition` "daily_usage".
8440
8440
  */
8441
- export interface DailyUsage {
8441
+ export type DailyUsage = {
8442
8442
  type: DailyUsageType;
8443
8443
  id: DailyUsageIdentity;
8444
8444
  attributes: DailyUsageAttributes;
8445
- }
8445
+ };
8446
8446
 
8447
8447
  /**
8448
8448
  * JSON API attributes
@@ -8450,7 +8450,7 @@ export interface DailyUsage {
8450
8450
  * This interface was referenced by `DailyUsage`'s JSON-Schema
8451
8451
  * via the `definition` "attributes".
8452
8452
  */
8453
- export interface DailyUsageAttributes {
8453
+ export type DailyUsageAttributes = {
8454
8454
  /**
8455
8455
  * The date the data are referring to
8456
8456
  */
@@ -8475,7 +8475,7 @@ export interface DailyUsageAttributes {
8475
8475
  * Video streaming seconds
8476
8476
  */
8477
8477
  mux_delivered_seconds: number;
8478
- }
8478
+ };
8479
8479
 
8480
8480
  /**
8481
8481
  * JSON API data
@@ -8483,18 +8483,18 @@ export interface DailyUsageAttributes {
8483
8483
  * This interface was referenced by `DailyUsage`'s JSON-Schema
8484
8484
  * via the `definition` "data".
8485
8485
  */
8486
- export interface DailyUsageData {
8486
+ export type DailyUsageData = {
8487
8487
  type: DailyUsageType;
8488
8488
  id: DailyUsageIdentity;
8489
- }
8489
+ };
8490
8490
 
8491
8491
  /**
8492
8492
  * This interface was referenced by `DailyUsage`'s JSON-Schema
8493
8493
  * via the `instances.targetSchema` link.
8494
8494
  */
8495
- export interface DailyUsageInstancesTargetSchema {
8495
+ export type DailyUsageInstancesTargetSchema = {
8496
8496
  data: DailyUsage;
8497
- }
8497
+ };
8498
8498
 
8499
8499
  /**
8500
8500
  * You can use counters to analyze your project's data consumption over a period of time. Counters are especially useful if your project is exceeding its API calls/traffic quota limits, to better understand where and how requests are originating. Counters are updated every minute, so you can debug in real-time the results of your changes.
@@ -8502,11 +8502,11 @@ export interface DailyUsageInstancesTargetSchema {
8502
8502
  * This interface was referenced by `DatoApi`'s JSON-Schema
8503
8503
  * via the `definition` "usage_counter".
8504
8504
  */
8505
- export interface UsageCounter {
8505
+ export type UsageCounter = {
8506
8506
  type: UsageCounterType;
8507
8507
  id: UsageCounterIdentity;
8508
8508
  attributes: UsageCounterAttributes;
8509
- }
8509
+ };
8510
8510
 
8511
8511
  /**
8512
8512
  * JSON API attributes
@@ -8514,7 +8514,7 @@ export interface UsageCounter {
8514
8514
  * This interface was referenced by `UsageCounter`'s JSON-Schema
8515
8515
  * via the `definition` "attributes".
8516
8516
  */
8517
- export interface UsageCounterAttributes {
8517
+ export type UsageCounterAttributes = {
8518
8518
  result: {
8519
8519
  /**
8520
8520
  * Occurrence
@@ -8525,7 +8525,7 @@ export interface UsageCounterAttributes {
8525
8525
  */
8526
8526
  counter: number;
8527
8527
  }[];
8528
- }
8528
+ };
8529
8529
 
8530
8530
  /**
8531
8531
  * JSON API data
@@ -8533,18 +8533,18 @@ export interface UsageCounterAttributes {
8533
8533
  * This interface was referenced by `UsageCounter`'s JSON-Schema
8534
8534
  * via the `definition` "data".
8535
8535
  */
8536
- export interface UsageCounterData {
8536
+ export type UsageCounterData = {
8537
8537
  type: UsageCounterType;
8538
8538
  id: UsageCounterIdentity;
8539
- }
8539
+ };
8540
8540
 
8541
8541
  /**
8542
8542
  * This interface was referenced by `UsageCounter`'s JSON-Schema
8543
8543
  * via the `self.targetSchema` link.
8544
8544
  */
8545
- export interface UsageCounterSelfTargetSchema {
8545
+ export type UsageCounterSelfTargetSchema = {
8546
8546
  data: UsageCounter;
8547
- }
8547
+ };
8548
8548
 
8549
8549
  /**
8550
8550
  * All the project's upload tags
@@ -8552,11 +8552,11 @@ export interface UsageCounterSelfTargetSchema {
8552
8552
  * This interface was referenced by `DatoApi`'s JSON-Schema
8553
8553
  * via the `definition` "upload_tag".
8554
8554
  */
8555
- export interface UploadTag {
8555
+ export type UploadTag = {
8556
8556
  type: UploadTagType;
8557
8557
  id: UploadTagIdentity;
8558
8558
  attributes: UploadTagAttributes;
8559
- }
8559
+ };
8560
8560
 
8561
8561
  /**
8562
8562
  * JSON API attributes
@@ -8564,12 +8564,12 @@ export interface UploadTag {
8564
8564
  * This interface was referenced by `UploadTag`'s JSON-Schema
8565
8565
  * via the `definition` "attributes".
8566
8566
  */
8567
- export interface UploadTagAttributes {
8567
+ export type UploadTagAttributes = {
8568
8568
  /**
8569
8569
  * The tag name
8570
8570
  */
8571
8571
  name: string;
8572
- }
8572
+ };
8573
8573
 
8574
8574
  /**
8575
8575
  * JSON API data
@@ -8577,27 +8577,27 @@ export interface UploadTagAttributes {
8577
8577
  * This interface was referenced by `UploadTag`'s JSON-Schema
8578
8578
  * via the `definition` "data".
8579
8579
  */
8580
- export interface UploadTagData {
8580
+ export type UploadTagData = {
8581
8581
  type: UploadTagType;
8582
8582
  id: UploadTagIdentity;
8583
- }
8583
+ };
8584
8584
 
8585
8585
  /**
8586
8586
  * This interface was referenced by `UploadTag`'s JSON-Schema
8587
8587
  * via the `instances.targetSchema` link.
8588
8588
  */
8589
- export interface UploadTagInstancesTargetSchema {
8589
+ export type UploadTagInstancesTargetSchema = {
8590
8590
  data: UploadTag[];
8591
8591
  meta: {
8592
8592
  total_count: number;
8593
8593
  };
8594
- }
8594
+ };
8595
8595
 
8596
8596
  /**
8597
8597
  * This interface was referenced by `UploadTag`'s JSON-Schema
8598
8598
  * via the `create.schema` link.
8599
8599
  */
8600
- export interface UploadTagCreateSchema {
8600
+ export type UploadTagCreateSchema = {
8601
8601
  data: {
8602
8602
  type: UploadTagType;
8603
8603
  attributes: {
@@ -8607,15 +8607,15 @@ export interface UploadTagCreateSchema {
8607
8607
  name: string;
8608
8608
  };
8609
8609
  };
8610
- }
8610
+ };
8611
8611
 
8612
8612
  /**
8613
8613
  * This interface was referenced by `UploadTag`'s JSON-Schema
8614
8614
  * via the `create.targetSchema` link.
8615
8615
  */
8616
- export interface UploadTagCreateTargetSchema {
8616
+ export type UploadTagCreateTargetSchema = {
8617
8617
  data: UploadTag;
8618
- }
8618
+ };
8619
8619
 
8620
8620
  /**
8621
8621
  * All the site's upload automatically generated tags
@@ -8623,11 +8623,11 @@ export interface UploadTagCreateTargetSchema {
8623
8623
  * This interface was referenced by `DatoApi`'s JSON-Schema
8624
8624
  * via the `definition` "upload_smart_tag".
8625
8625
  */
8626
- export interface UploadSmartTag {
8626
+ export type UploadSmartTag = {
8627
8627
  type: UploadSmartTagType;
8628
8628
  id: UploadSmartTagIdentity;
8629
8629
  attributes: UploadSmartTagAttributes;
8630
- }
8630
+ };
8631
8631
 
8632
8632
  /**
8633
8633
  * JSON API attributes
@@ -8635,12 +8635,12 @@ export interface UploadSmartTag {
8635
8635
  * This interface was referenced by `UploadSmartTag`'s JSON-Schema
8636
8636
  * via the `definition` "attributes".
8637
8637
  */
8638
- export interface UploadSmartTagAttributes {
8638
+ export type UploadSmartTagAttributes = {
8639
8639
  /**
8640
8640
  * The tag name
8641
8641
  */
8642
8642
  name: string;
8643
- }
8643
+ };
8644
8644
 
8645
8645
  /**
8646
8646
  * JSON API data
@@ -8648,21 +8648,21 @@ export interface UploadSmartTagAttributes {
8648
8648
  * This interface was referenced by `UploadSmartTag`'s JSON-Schema
8649
8649
  * via the `definition` "data".
8650
8650
  */
8651
- export interface UploadSmartTagData {
8651
+ export type UploadSmartTagData = {
8652
8652
  type: UploadSmartTagType;
8653
8653
  id: UploadSmartTagIdentity;
8654
- }
8654
+ };
8655
8655
 
8656
8656
  /**
8657
8657
  * This interface was referenced by `UploadSmartTag`'s JSON-Schema
8658
8658
  * via the `instances.targetSchema` link.
8659
8659
  */
8660
- export interface UploadSmartTagInstancesTargetSchema {
8660
+ export type UploadSmartTagInstancesTargetSchema = {
8661
8661
  data: UploadSmartTag[];
8662
8662
  meta: {
8663
8663
  total_count: number;
8664
8664
  };
8665
- }
8665
+ };
8666
8666
 
8667
8667
  /**
8668
8668
  * A site represents a specific DatoCMS administrative area
@@ -8670,12 +8670,12 @@ export interface UploadSmartTagInstancesTargetSchema {
8670
8670
  * This interface was referenced by `DatoApi`'s JSON-Schema
8671
8671
  * via the `definition` "site".
8672
8672
  */
8673
- export interface Site {
8673
+ export type Site = {
8674
8674
  type: SiteType;
8675
8675
  id: SiteIdentity;
8676
8676
  attributes: SiteAttributes;
8677
8677
  relationships: SiteRelationships;
8678
- }
8678
+ };
8679
8679
 
8680
8680
  /**
8681
8681
  * JSON API attributes
@@ -8683,7 +8683,7 @@ export interface Site {
8683
8683
  * This interface was referenced by `Site`'s JSON-Schema
8684
8684
  * via the `definition` "attributes".
8685
8685
  */
8686
- export interface SiteAttributes {
8686
+ export type SiteAttributes = {
8687
8687
  /**
8688
8688
  * Site name
8689
8689
  */
@@ -8809,7 +8809,7 @@ export interface SiteAttributes {
8809
8809
  twitter_account?: null | string;
8810
8810
  [k: string]: unknown;
8811
8811
  } | null;
8812
- }
8812
+ };
8813
8813
 
8814
8814
  /**
8815
8815
  * JSON API links
@@ -8817,7 +8817,7 @@ export interface SiteAttributes {
8817
8817
  * This interface was referenced by `Site`'s JSON-Schema
8818
8818
  * via the `definition` "relationships".
8819
8819
  */
8820
- export interface SiteRelationships {
8820
+ export type SiteRelationships = {
8821
8821
  account: {
8822
8822
  data: AccountData;
8823
8823
  };
@@ -8863,7 +8863,7 @@ export interface SiteRelationships {
8863
8863
  */
8864
8864
  data: RoleData[];
8865
8865
  };
8866
- }
8866
+ };
8867
8867
 
8868
8868
  /**
8869
8869
  * JSON API data
@@ -8871,25 +8871,25 @@ export interface SiteRelationships {
8871
8871
  * This interface was referenced by `Site`'s JSON-Schema
8872
8872
  * via the `definition` "data".
8873
8873
  */
8874
- export interface SiteData {
8874
+ export type SiteData = {
8875
8875
  type: SiteType;
8876
8876
  id: SiteIdentity;
8877
- }
8877
+ };
8878
8878
 
8879
8879
  /**
8880
8880
  * This interface was referenced by `Site`'s JSON-Schema
8881
8881
  * via the `self.targetSchema` link.
8882
8882
  */
8883
- export interface SiteSelfTargetSchema {
8883
+ export type SiteSelfTargetSchema = {
8884
8884
  data: Site;
8885
8885
  included?: (MenuItem | User | ItemType | Role | Field | Upload | SsoUser)[];
8886
- }
8886
+ };
8887
8887
 
8888
8888
  /**
8889
8889
  * This interface was referenced by `Site`'s JSON-Schema
8890
8890
  * via the `update.schema` link.
8891
8891
  */
8892
- export interface SiteUpdateSchema {
8892
+ export type SiteUpdateSchema = {
8893
8893
  data: {
8894
8894
  type: SiteType;
8895
8895
  id?: SiteIdentity;
@@ -9002,23 +9002,23 @@ export interface SiteUpdateSchema {
9002
9002
  };
9003
9003
  };
9004
9004
  };
9005
- }
9005
+ };
9006
9006
 
9007
9007
  /**
9008
9008
  * This interface was referenced by `Site`'s JSON-Schema
9009
9009
  * via the `update.targetSchema` link.
9010
9010
  */
9011
- export interface SiteUpdateTargetSchema {
9011
+ export type SiteUpdateTargetSchema = {
9012
9012
  data: Job;
9013
- }
9013
+ };
9014
9014
 
9015
9015
  /**
9016
9016
  * This interface was referenced by `Site`'s JSON-Schema
9017
9017
  * via the `update.jobSchema` link.
9018
9018
  */
9019
- export interface SiteUpdateJobSchema {
9019
+ export type SiteUpdateJobSchema = {
9020
9020
  data: Site;
9021
- }
9021
+ };
9022
9022
 
9023
9023
  /**
9024
9024
  * Through workflows it is possible to set up a precise state machine able to bring a draft content up to the final publication (and beyond), through a series of intermediate, fully customizable approval steps.
@@ -9026,11 +9026,11 @@ export interface SiteUpdateJobSchema {
9026
9026
  * This interface was referenced by `DatoApi`'s JSON-Schema
9027
9027
  * via the `definition` "workflow".
9028
9028
  */
9029
- export interface Workflow {
9029
+ export type Workflow = {
9030
9030
  type: WorkflowType;
9031
9031
  id: WorkflowIdentity;
9032
9032
  attributes: WorkflowAttributes;
9033
- }
9033
+ };
9034
9034
 
9035
9035
  /**
9036
9036
  * JSON API attributes
@@ -9038,7 +9038,7 @@ export interface Workflow {
9038
9038
  * This interface was referenced by `Workflow`'s JSON-Schema
9039
9039
  * via the `definition` "attributes".
9040
9040
  */
9041
- export interface WorkflowAttributes {
9041
+ export type WorkflowAttributes = {
9042
9042
  /**
9043
9043
  * The name of the workflow
9044
9044
  */
@@ -9084,13 +9084,13 @@ export interface WorkflowAttributes {
9084
9084
  initial?: boolean;
9085
9085
  }[],
9086
9086
  ];
9087
- }
9087
+ };
9088
9088
 
9089
9089
  /**
9090
9090
  * This interface was referenced by `Workflow`'s JSON-Schema
9091
9091
  * via the `create.schema` link.
9092
9092
  */
9093
- export interface WorkflowCreateSchema {
9093
+ export type WorkflowCreateSchema = {
9094
9094
  data: {
9095
9095
  type: WorkflowType;
9096
9096
  id: WorkflowIdentity;
@@ -9145,21 +9145,21 @@ export interface WorkflowCreateSchema {
9145
9145
  ];
9146
9146
  };
9147
9147
  };
9148
- }
9148
+ };
9149
9149
 
9150
9150
  /**
9151
9151
  * This interface was referenced by `Workflow`'s JSON-Schema
9152
9152
  * via the `create.targetSchema` link.
9153
9153
  */
9154
- export interface WorkflowCreateTargetSchema {
9154
+ export type WorkflowCreateTargetSchema = {
9155
9155
  data: Workflow;
9156
- }
9156
+ };
9157
9157
 
9158
9158
  /**
9159
9159
  * This interface was referenced by `Workflow`'s JSON-Schema
9160
9160
  * via the `update.schema` link.
9161
9161
  */
9162
- export interface WorkflowUpdateSchema {
9162
+ export type WorkflowUpdateSchema = {
9163
9163
  data: {
9164
9164
  type: WorkflowType;
9165
9165
  id: WorkflowIdentity;
@@ -9214,28 +9214,28 @@ export interface WorkflowUpdateSchema {
9214
9214
  ];
9215
9215
  };
9216
9216
  };
9217
- }
9217
+ };
9218
9218
 
9219
9219
  /**
9220
9220
  * This interface was referenced by `Workflow`'s JSON-Schema
9221
9221
  * via the `update.targetSchema` link.
9222
9222
  */
9223
- export interface WorkflowUpdateTargetSchema {
9223
+ export type WorkflowUpdateTargetSchema = {
9224
9224
  data: Workflow;
9225
- }
9225
+ };
9226
9226
 
9227
9227
  /**
9228
9228
  * This interface was referenced by `Workflow`'s JSON-Schema
9229
9229
  * via the `instances.targetSchema` link.
9230
9230
  */
9231
- export interface WorkflowInstancesTargetSchema {
9231
+ export type WorkflowInstancesTargetSchema = {
9232
9232
  data: Workflow[];
9233
- }
9233
+ };
9234
9234
 
9235
9235
  /**
9236
9236
  * This interface was referenced by `Workflow`'s JSON-Schema
9237
9237
  * via the `self.targetSchema` link.
9238
9238
  */
9239
- export interface WorkflowSelfTargetSchema {
9239
+ export type WorkflowSelfTargetSchema = {
9240
9240
  data: Workflow;
9241
- }
9241
+ };