@datocms/cma-client 3.1.7-alpha.2 → 3.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/buildClient.js.map +1 -1
- package/dist/cjs/generated/Client.js +1 -1
- package/dist/cjs/generated/Client.js.map +1 -1
- package/dist/cjs/generated/resources/Item.js +1 -0
- package/dist/cjs/generated/resources/Item.js.map +1 -1
- package/dist/cjs/generated/resources/ItemVersion.js +1 -0
- package/dist/cjs/generated/resources/ItemVersion.js.map +1 -1
- package/dist/cjs/generated/resources/SearchResult.js +1 -0
- package/dist/cjs/generated/resources/SearchResult.js.map +1 -1
- package/dist/cjs/generated/resources/Upload.js +1 -0
- package/dist/cjs/generated/resources/Upload.js.map +1 -1
- package/dist/cjs/generated/resources/UploadSmartTag.js +1 -0
- package/dist/cjs/generated/resources/UploadSmartTag.js.map +1 -1
- package/dist/cjs/generated/resources/UploadTag.js +1 -0
- package/dist/cjs/generated/resources/UploadTag.js.map +1 -1
- package/dist/cjs/generated/resources/WebhookCall.js +1 -0
- package/dist/cjs/generated/resources/WebhookCall.js.map +1 -1
- package/dist/esm/BaseResource.d.ts +1 -1
- package/dist/esm/buildBlockRecord.d.ts +2 -2
- package/dist/esm/buildClient.d.ts +1 -1
- package/dist/esm/buildClient.js.map +1 -1
- package/dist/esm/generated/Client.d.ts +2 -2
- package/dist/esm/generated/Client.js +2 -2
- package/dist/esm/generated/Client.js.map +1 -1
- package/dist/esm/generated/SchemaTypes.d.ts +47 -70
- package/dist/esm/generated/SimpleSchemaTypes.d.ts +48 -74
- package/dist/esm/generated/resources/AccessToken.d.ts +2 -2
- package/dist/esm/generated/resources/AuditLogEvent.d.ts +2 -2
- package/dist/esm/generated/resources/BuildEvent.d.ts +2 -2
- package/dist/esm/generated/resources/BuildTrigger.d.ts +2 -2
- package/dist/esm/generated/resources/DailyUsage.d.ts +2 -2
- package/dist/esm/generated/resources/EditingSession.d.ts +2 -2
- package/dist/esm/generated/resources/EmojiSuggestions.d.ts +2 -2
- package/dist/esm/generated/resources/Environment.d.ts +2 -2
- package/dist/esm/generated/resources/Field.d.ts +2 -2
- package/dist/esm/generated/resources/Fieldset.d.ts +2 -2
- package/dist/esm/generated/resources/Item.d.ts +4 -4
- package/dist/esm/generated/resources/Item.js +1 -0
- package/dist/esm/generated/resources/Item.js.map +1 -1
- package/dist/esm/generated/resources/ItemType.d.ts +2 -2
- package/dist/esm/generated/resources/ItemTypeFilter.d.ts +2 -2
- package/dist/esm/generated/resources/ItemVersion.d.ts +4 -4
- package/dist/esm/generated/resources/ItemVersion.js +1 -0
- package/dist/esm/generated/resources/ItemVersion.js.map +1 -1
- package/dist/esm/generated/resources/JobResult.d.ts +2 -2
- package/dist/esm/generated/resources/MaintenanceMode.d.ts +2 -2
- package/dist/esm/generated/resources/MenuItem.d.ts +2 -2
- package/dist/esm/generated/resources/Plugin.d.ts +2 -2
- package/dist/esm/generated/resources/PublicInfo.d.ts +2 -2
- package/dist/esm/generated/resources/Role.d.ts +2 -2
- package/dist/esm/generated/resources/ScheduledPublication.d.ts +2 -2
- package/dist/esm/generated/resources/ScheduledUnpublishing.d.ts +2 -2
- package/dist/esm/generated/resources/SchemaMenuItem.d.ts +2 -2
- package/dist/esm/generated/resources/SearchResult.d.ts +4 -4
- package/dist/esm/generated/resources/SearchResult.js +1 -0
- package/dist/esm/generated/resources/SearchResult.js.map +1 -1
- package/dist/esm/generated/resources/Session.d.ts +2 -2
- package/dist/esm/generated/resources/Site.d.ts +2 -2
- package/dist/esm/generated/resources/SiteInvitation.d.ts +2 -2
- package/dist/esm/generated/resources/SsoGroup.d.ts +2 -2
- package/dist/esm/generated/resources/SsoSettings.d.ts +2 -2
- package/dist/esm/generated/resources/SsoUser.d.ts +2 -2
- package/dist/esm/generated/resources/SubscriptionFeature.d.ts +2 -2
- package/dist/esm/generated/resources/SubscriptionLimit.d.ts +2 -2
- package/dist/esm/generated/resources/Upload.d.ts +4 -4
- package/dist/esm/generated/resources/Upload.js +1 -0
- package/dist/esm/generated/resources/Upload.js.map +1 -1
- package/dist/esm/generated/resources/UploadFilter.d.ts +2 -2
- package/dist/esm/generated/resources/UploadRequest.d.ts +2 -2
- package/dist/esm/generated/resources/UploadSmartTag.d.ts +4 -4
- package/dist/esm/generated/resources/UploadSmartTag.js +1 -0
- package/dist/esm/generated/resources/UploadSmartTag.js.map +1 -1
- package/dist/esm/generated/resources/UploadTag.d.ts +4 -4
- package/dist/esm/generated/resources/UploadTag.js +1 -0
- package/dist/esm/generated/resources/UploadTag.js.map +1 -1
- package/dist/esm/generated/resources/UsageCounter.d.ts +2 -2
- package/dist/esm/generated/resources/User.d.ts +2 -2
- package/dist/esm/generated/resources/Webhook.d.ts +2 -2
- package/dist/esm/generated/resources/WebhookCall.d.ts +4 -4
- package/dist/esm/generated/resources/WebhookCall.js +1 -0
- package/dist/esm/generated/resources/WebhookCall.js.map +1 -1
- package/dist/esm/generated/resources/WhiteLabelSettings.d.ts +2 -2
- package/dist/esm/generated/resources/Workflow.d.ts +2 -2
- package/dist/esm/resources/Role.d.ts +1 -1
- package/dist/types/BaseResource.d.ts +1 -1
- package/dist/types/buildBlockRecord.d.ts +2 -2
- package/dist/types/buildClient.d.ts +1 -1
- package/dist/types/generated/Client.d.ts +2 -2
- package/dist/types/generated/SchemaTypes.d.ts +47 -70
- package/dist/types/generated/SimpleSchemaTypes.d.ts +48 -74
- package/dist/types/generated/resources/AccessToken.d.ts +2 -2
- package/dist/types/generated/resources/AuditLogEvent.d.ts +2 -2
- package/dist/types/generated/resources/BuildEvent.d.ts +2 -2
- package/dist/types/generated/resources/BuildTrigger.d.ts +2 -2
- package/dist/types/generated/resources/DailyUsage.d.ts +2 -2
- package/dist/types/generated/resources/EditingSession.d.ts +2 -2
- package/dist/types/generated/resources/EmojiSuggestions.d.ts +2 -2
- package/dist/types/generated/resources/Environment.d.ts +2 -2
- package/dist/types/generated/resources/Field.d.ts +2 -2
- package/dist/types/generated/resources/Fieldset.d.ts +2 -2
- package/dist/types/generated/resources/Item.d.ts +4 -4
- package/dist/types/generated/resources/ItemType.d.ts +2 -2
- package/dist/types/generated/resources/ItemTypeFilter.d.ts +2 -2
- package/dist/types/generated/resources/ItemVersion.d.ts +4 -4
- package/dist/types/generated/resources/JobResult.d.ts +2 -2
- package/dist/types/generated/resources/MaintenanceMode.d.ts +2 -2
- package/dist/types/generated/resources/MenuItem.d.ts +2 -2
- package/dist/types/generated/resources/Plugin.d.ts +2 -2
- package/dist/types/generated/resources/PublicInfo.d.ts +2 -2
- package/dist/types/generated/resources/Role.d.ts +2 -2
- package/dist/types/generated/resources/ScheduledPublication.d.ts +2 -2
- package/dist/types/generated/resources/ScheduledUnpublishing.d.ts +2 -2
- package/dist/types/generated/resources/SchemaMenuItem.d.ts +2 -2
- package/dist/types/generated/resources/SearchResult.d.ts +4 -4
- package/dist/types/generated/resources/Session.d.ts +2 -2
- package/dist/types/generated/resources/Site.d.ts +2 -2
- package/dist/types/generated/resources/SiteInvitation.d.ts +2 -2
- package/dist/types/generated/resources/SsoGroup.d.ts +2 -2
- package/dist/types/generated/resources/SsoSettings.d.ts +2 -2
- package/dist/types/generated/resources/SsoUser.d.ts +2 -2
- package/dist/types/generated/resources/SubscriptionFeature.d.ts +2 -2
- package/dist/types/generated/resources/SubscriptionLimit.d.ts +2 -2
- package/dist/types/generated/resources/Upload.d.ts +4 -4
- package/dist/types/generated/resources/UploadFilter.d.ts +2 -2
- package/dist/types/generated/resources/UploadRequest.d.ts +2 -2
- package/dist/types/generated/resources/UploadSmartTag.d.ts +4 -4
- package/dist/types/generated/resources/UploadTag.d.ts +4 -4
- package/dist/types/generated/resources/UsageCounter.d.ts +2 -2
- package/dist/types/generated/resources/User.d.ts +2 -2
- package/dist/types/generated/resources/Webhook.d.ts +2 -2
- package/dist/types/generated/resources/WebhookCall.d.ts +4 -4
- package/dist/types/generated/resources/WhiteLabelSettings.d.ts +2 -2
- package/dist/types/generated/resources/Workflow.d.ts +2 -2
- package/dist/types/resources/Role.d.ts +1 -1
- package/package.json +6 -13
- package/src/BaseResource.ts +1 -1
- package/src/buildBlockRecord.ts +2 -2
- package/src/buildClient.ts +1 -1
- package/src/generated/Client.ts +7 -3
- package/src/generated/SchemaTypes.ts +48 -72
- package/src/generated/SimpleSchemaTypes.ts +49 -76
- package/src/generated/resources/AccessToken.ts +2 -2
- package/src/generated/resources/AuditLogEvent.ts +2 -2
- package/src/generated/resources/BuildEvent.ts +2 -2
- package/src/generated/resources/BuildTrigger.ts +2 -2
- package/src/generated/resources/DailyUsage.ts +2 -2
- package/src/generated/resources/EditingSession.ts +2 -2
- package/src/generated/resources/EmojiSuggestions.ts +2 -2
- package/src/generated/resources/Environment.ts +2 -2
- package/src/generated/resources/Field.ts +2 -2
- package/src/generated/resources/Fieldset.ts +2 -2
- package/src/generated/resources/Item.ts +12 -4
- package/src/generated/resources/ItemType.ts +2 -2
- package/src/generated/resources/ItemTypeFilter.ts +2 -2
- package/src/generated/resources/ItemVersion.ts +12 -4
- package/src/generated/resources/JobResult.ts +2 -2
- package/src/generated/resources/MaintenanceMode.ts +2 -2
- package/src/generated/resources/MenuItem.ts +2 -2
- package/src/generated/resources/Plugin.ts +2 -2
- package/src/generated/resources/PublicInfo.ts +2 -2
- package/src/generated/resources/Role.ts +2 -2
- package/src/generated/resources/ScheduledPublication.ts +2 -2
- package/src/generated/resources/ScheduledUnpublishing.ts +2 -2
- package/src/generated/resources/SchemaMenuItem.ts +2 -2
- package/src/generated/resources/SearchResult.ts +12 -4
- package/src/generated/resources/Session.ts +2 -2
- package/src/generated/resources/Site.ts +2 -2
- package/src/generated/resources/SiteInvitation.ts +2 -2
- package/src/generated/resources/SsoGroup.ts +2 -2
- package/src/generated/resources/SsoSettings.ts +2 -2
- package/src/generated/resources/SsoUser.ts +2 -2
- package/src/generated/resources/SubscriptionFeature.ts +2 -2
- package/src/generated/resources/SubscriptionLimit.ts +2 -2
- package/src/generated/resources/Upload.ts +12 -4
- package/src/generated/resources/UploadFilter.ts +2 -2
- package/src/generated/resources/UploadRequest.ts +2 -2
- package/src/generated/resources/UploadSmartTag.ts +12 -4
- package/src/generated/resources/UploadTag.ts +12 -4
- package/src/generated/resources/UsageCounter.ts +2 -2
- package/src/generated/resources/User.ts +2 -2
- package/src/generated/resources/Webhook.ts +2 -2
- package/src/generated/resources/WebhookCall.ts +12 -4
- package/src/generated/resources/WhiteLabelSettings.ts +2 -2
- package/src/generated/resources/Workflow.ts +2 -2
- package/src/resources/Role.ts +1 -1
|
@@ -651,15 +651,15 @@ export type ItemInstancesHrefSchema = {
|
|
|
651
651
|
*/
|
|
652
652
|
locale?: string;
|
|
653
653
|
/**
|
|
654
|
-
*
|
|
654
|
+
* Parameters to control offset-based pagination
|
|
655
655
|
*/
|
|
656
656
|
page?: {
|
|
657
657
|
/**
|
|
658
|
-
*
|
|
658
|
+
* The (zero-based) offset of the first entity returned in the collection (defaults to 0)
|
|
659
659
|
*/
|
|
660
660
|
offset?: number;
|
|
661
661
|
/**
|
|
662
|
-
*
|
|
662
|
+
* The maximum number of entities to return (defaults to 30, maximum is 500)
|
|
663
663
|
*/
|
|
664
664
|
limit?: number;
|
|
665
665
|
[k: string]: unknown;
|
|
@@ -905,15 +905,15 @@ export type ItemVersionInstancesHrefSchema = {
|
|
|
905
905
|
*/
|
|
906
906
|
nested?: boolean;
|
|
907
907
|
/**
|
|
908
|
-
*
|
|
908
|
+
* Parameters to control offset-based pagination
|
|
909
909
|
*/
|
|
910
910
|
page?: {
|
|
911
911
|
/**
|
|
912
|
-
*
|
|
912
|
+
* The (zero-based) offset of the first entity returned in the collection (defaults to 0)
|
|
913
913
|
*/
|
|
914
914
|
offset?: number;
|
|
915
915
|
/**
|
|
916
|
-
*
|
|
916
|
+
* The maximum number of entities to return (defaults to 15, maximum is 50)
|
|
917
917
|
*/
|
|
918
918
|
limit?: number;
|
|
919
919
|
[k: string]: unknown;
|
|
@@ -974,15 +974,15 @@ export type UploadInstancesHrefSchema = {
|
|
|
974
974
|
*/
|
|
975
975
|
order_by?: string;
|
|
976
976
|
/**
|
|
977
|
-
*
|
|
977
|
+
* Parameters to control offset-based pagination
|
|
978
978
|
*/
|
|
979
979
|
page?: {
|
|
980
980
|
/**
|
|
981
|
-
*
|
|
981
|
+
* The (zero-based) offset of the first entity returned in the collection (defaults to 0)
|
|
982
982
|
*/
|
|
983
983
|
offset?: number;
|
|
984
984
|
/**
|
|
985
|
-
*
|
|
985
|
+
* The maximum number of entities to return (defaults to 30, maximum is 500)
|
|
986
986
|
*/
|
|
987
987
|
limit?: number;
|
|
988
988
|
[k: string]: unknown;
|
|
@@ -1092,15 +1092,15 @@ export type SearchResultInstancesTargetSchema = SearchResult[];
|
|
|
1092
1092
|
*/
|
|
1093
1093
|
export type SearchResultInstancesHrefSchema = {
|
|
1094
1094
|
/**
|
|
1095
|
-
*
|
|
1095
|
+
* Parameters to control offset-based pagination
|
|
1096
1096
|
*/
|
|
1097
1097
|
page?: {
|
|
1098
1098
|
/**
|
|
1099
|
-
*
|
|
1099
|
+
* The (zero-based) offset of the first entity returned in the collection (defaults to 0)
|
|
1100
1100
|
*/
|
|
1101
1101
|
offset?: number;
|
|
1102
1102
|
/**
|
|
1103
|
-
*
|
|
1103
|
+
* The maximum number of entities to return (defaults to 20, maximum is 100)
|
|
1104
1104
|
*/
|
|
1105
1105
|
limit?: number;
|
|
1106
1106
|
[k: string]: unknown;
|
|
@@ -1240,15 +1240,15 @@ export type WebhookCallInstancesTargetSchema = WebhookCall[];
|
|
|
1240
1240
|
*/
|
|
1241
1241
|
export type WebhookCallInstancesHrefSchema = {
|
|
1242
1242
|
/**
|
|
1243
|
-
*
|
|
1243
|
+
* Parameters to control offset-based pagination
|
|
1244
1244
|
*/
|
|
1245
1245
|
page?: {
|
|
1246
1246
|
/**
|
|
1247
|
-
*
|
|
1247
|
+
* The (zero-based) offset of the first entity returned in the collection (defaults to 0)
|
|
1248
1248
|
*/
|
|
1249
1249
|
offset?: number;
|
|
1250
1250
|
/**
|
|
1251
|
-
*
|
|
1251
|
+
* The maximum number of entities to return (defaults to 30, maximum is 500)
|
|
1252
1252
|
*/
|
|
1253
1253
|
limit?: number;
|
|
1254
1254
|
[k: string]: unknown;
|
|
@@ -1468,21 +1468,6 @@ export type DailyUsageIdentity = string;
|
|
|
1468
1468
|
* via the `definition` "type".
|
|
1469
1469
|
*/
|
|
1470
1470
|
export type DailyUsageType = 'daily_usage';
|
|
1471
|
-
/**
|
|
1472
|
-
* This interface was referenced by `Site`'s JSON-Schema
|
|
1473
|
-
* via the `definition` "type".
|
|
1474
|
-
*/
|
|
1475
|
-
export type SiteType = 'site';
|
|
1476
|
-
/**
|
|
1477
|
-
* ID of site
|
|
1478
|
-
*
|
|
1479
|
-
* This interface was referenced by `Site`'s JSON-Schema
|
|
1480
|
-
* via the `definition` "identity".
|
|
1481
|
-
*
|
|
1482
|
-
* This interface was referenced by `Site`'s JSON-Schema
|
|
1483
|
-
* via the `definition` "id".
|
|
1484
|
-
*/
|
|
1485
|
-
export type SiteIdentity = string;
|
|
1486
1471
|
/**
|
|
1487
1472
|
* This interface was referenced by `DailyUsage`'s JSON-Schema
|
|
1488
1473
|
* via the `instances.targetSchema` link.
|
|
@@ -1549,15 +1534,15 @@ export type UploadTagInstancesHrefSchema = {
|
|
|
1549
1534
|
[k: string]: unknown;
|
|
1550
1535
|
};
|
|
1551
1536
|
/**
|
|
1552
|
-
*
|
|
1537
|
+
* Parameters to control offset-based pagination
|
|
1553
1538
|
*/
|
|
1554
1539
|
page?: {
|
|
1555
1540
|
/**
|
|
1556
|
-
*
|
|
1541
|
+
* The (zero-based) offset of the first entity returned in the collection (defaults to 0)
|
|
1557
1542
|
*/
|
|
1558
1543
|
offset?: number;
|
|
1559
1544
|
/**
|
|
1560
|
-
*
|
|
1545
|
+
* The maximum number of entities to return (defaults to 50, maximum is 500)
|
|
1561
1546
|
*/
|
|
1562
1547
|
limit?: number;
|
|
1563
1548
|
[k: string]: unknown;
|
|
@@ -1600,21 +1585,36 @@ export type UploadSmartTagInstancesHrefSchema = {
|
|
|
1600
1585
|
[k: string]: unknown;
|
|
1601
1586
|
};
|
|
1602
1587
|
/**
|
|
1603
|
-
*
|
|
1588
|
+
* Parameters to control offset-based pagination
|
|
1604
1589
|
*/
|
|
1605
1590
|
page?: {
|
|
1606
1591
|
/**
|
|
1607
|
-
*
|
|
1592
|
+
* The (zero-based) offset of the first entity returned in the collection (defaults to 0)
|
|
1608
1593
|
*/
|
|
1609
1594
|
offset?: number;
|
|
1610
1595
|
/**
|
|
1611
|
-
*
|
|
1596
|
+
* The maximum number of entities to return (defaults to 50, maximum is 500)
|
|
1612
1597
|
*/
|
|
1613
1598
|
limit?: number;
|
|
1614
1599
|
[k: string]: unknown;
|
|
1615
1600
|
};
|
|
1616
1601
|
[k: string]: unknown;
|
|
1617
1602
|
};
|
|
1603
|
+
/**
|
|
1604
|
+
* ID of site
|
|
1605
|
+
*
|
|
1606
|
+
* This interface was referenced by `Site`'s JSON-Schema
|
|
1607
|
+
* via the `definition` "identity".
|
|
1608
|
+
*
|
|
1609
|
+
* This interface was referenced by `Site`'s JSON-Schema
|
|
1610
|
+
* via the `definition` "id".
|
|
1611
|
+
*/
|
|
1612
|
+
export type SiteIdentity = string;
|
|
1613
|
+
/**
|
|
1614
|
+
* This interface was referenced by `Site`'s JSON-Schema
|
|
1615
|
+
* via the `definition` "type".
|
|
1616
|
+
*/
|
|
1617
|
+
export type SiteType = 'site';
|
|
1618
1618
|
/**
|
|
1619
1619
|
* This interface was referenced by `Site`'s JSON-Schema
|
|
1620
1620
|
* via the `self.hrefSchema` link.
|
|
@@ -8101,7 +8101,7 @@ export type WebhookCall = {
|
|
|
8101
8101
|
[k: string]: unknown;
|
|
8102
8102
|
};
|
|
8103
8103
|
/**
|
|
8104
|
-
* The
|
|
8104
|
+
* The webhook's request payload is encoded as a string. Use `JSON.parse()` to parse it.
|
|
8105
8105
|
*/
|
|
8106
8106
|
request_payload: string;
|
|
8107
8107
|
/**
|
|
@@ -8160,7 +8160,7 @@ export type WebhookCallAttributes = {
|
|
|
8160
8160
|
[k: string]: unknown;
|
|
8161
8161
|
};
|
|
8162
8162
|
/**
|
|
8163
|
-
* The
|
|
8163
|
+
* The webhook's request payload is encoded as a string. Use `JSON.parse()` to parse it.
|
|
8164
8164
|
*/
|
|
8165
8165
|
request_payload: string;
|
|
8166
8166
|
/**
|
|
@@ -9347,10 +9347,6 @@ export type DailyUsage = {
|
|
|
9347
9347
|
* Content delivery API traffic
|
|
9348
9348
|
*/
|
|
9349
9349
|
cda_traffic_bytes: number;
|
|
9350
|
-
/**
|
|
9351
|
-
* Content management API traffic
|
|
9352
|
-
*/
|
|
9353
|
-
cma_traffic_bytes: number;
|
|
9354
9350
|
/**
|
|
9355
9351
|
* Uploads requests traffic
|
|
9356
9352
|
*/
|
|
@@ -9359,21 +9355,6 @@ export type DailyUsage = {
|
|
|
9359
9355
|
* Video streaming seconds
|
|
9360
9356
|
*/
|
|
9361
9357
|
mux_delivered_seconds: number;
|
|
9362
|
-
/**
|
|
9363
|
-
* Video encoding seconds
|
|
9364
|
-
*/
|
|
9365
|
-
mux_encoded_seconds: number;
|
|
9366
|
-
site?: SiteData;
|
|
9367
|
-
};
|
|
9368
|
-
/**
|
|
9369
|
-
* JSON API data
|
|
9370
|
-
*
|
|
9371
|
-
* This interface was referenced by `Site`'s JSON-Schema
|
|
9372
|
-
* via the `definition` "data".
|
|
9373
|
-
*/
|
|
9374
|
-
export type SiteData = {
|
|
9375
|
-
type: SiteType;
|
|
9376
|
-
id: SiteIdentity;
|
|
9377
9358
|
};
|
|
9378
9359
|
/**
|
|
9379
9360
|
* JSON API data
|
|
@@ -9408,10 +9389,6 @@ export type DailyUsageAttributes = {
|
|
|
9408
9389
|
* Content delivery API traffic
|
|
9409
9390
|
*/
|
|
9410
9391
|
cda_traffic_bytes: number;
|
|
9411
|
-
/**
|
|
9412
|
-
* Content management API traffic
|
|
9413
|
-
*/
|
|
9414
|
-
cma_traffic_bytes: number;
|
|
9415
9392
|
/**
|
|
9416
9393
|
* Uploads requests traffic
|
|
9417
9394
|
*/
|
|
@@ -9420,19 +9397,6 @@ export type DailyUsageAttributes = {
|
|
|
9420
9397
|
* Video streaming seconds
|
|
9421
9398
|
*/
|
|
9422
9399
|
mux_delivered_seconds: number;
|
|
9423
|
-
/**
|
|
9424
|
-
* Video encoding seconds
|
|
9425
|
-
*/
|
|
9426
|
-
mux_encoded_seconds: number;
|
|
9427
|
-
};
|
|
9428
|
-
/**
|
|
9429
|
-
* JSON API links
|
|
9430
|
-
*
|
|
9431
|
-
* This interface was referenced by `DailyUsage`'s JSON-Schema
|
|
9432
|
-
* via the `definition` "relationships".
|
|
9433
|
-
*/
|
|
9434
|
-
export type DailyUsageRelationships = {
|
|
9435
|
-
site?: SiteData;
|
|
9436
9400
|
};
|
|
9437
9401
|
/**
|
|
9438
9402
|
* 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.
|
|
@@ -9783,6 +9747,16 @@ export type SiteMeta = {
|
|
|
9783
9747
|
*/
|
|
9784
9748
|
custom_upload_storage_settings?: boolean;
|
|
9785
9749
|
};
|
|
9750
|
+
/**
|
|
9751
|
+
* JSON API data
|
|
9752
|
+
*
|
|
9753
|
+
* This interface was referenced by `Site`'s JSON-Schema
|
|
9754
|
+
* via the `definition` "data".
|
|
9755
|
+
*/
|
|
9756
|
+
export type SiteData = {
|
|
9757
|
+
type: SiteType;
|
|
9758
|
+
id: SiteIdentity;
|
|
9759
|
+
};
|
|
9786
9760
|
/**
|
|
9787
9761
|
* JSON API attributes
|
|
9788
9762
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseResource from '../../BaseResource';
|
|
2
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
3
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
2
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
3
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
4
4
|
export default class AccessToken extends BaseResource {
|
|
5
5
|
static readonly TYPE: "access_token";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseResource from '../../BaseResource';
|
|
2
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
3
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
2
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
3
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
4
4
|
export default class AuditLogEvent extends BaseResource {
|
|
5
5
|
static readonly TYPE: "audit_log_event";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseResource from '../../BaseResource';
|
|
2
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
3
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
2
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
3
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
4
4
|
export default class BuildEvent extends BaseResource {
|
|
5
5
|
static readonly TYPE: "build_event";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseResource from '../../BaseResource';
|
|
2
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
3
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
2
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
3
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
4
4
|
export default class BuildTrigger extends BaseResource {
|
|
5
5
|
static readonly TYPE: "build_trigger";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseResource from '../../BaseResource';
|
|
2
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
3
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
2
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
3
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
4
4
|
export default class DailyUsage extends BaseResource {
|
|
5
5
|
static readonly TYPE: "daily_usage";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseResource from '../../BaseResource';
|
|
2
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
3
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
2
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
3
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
4
4
|
export default class EditingSession extends BaseResource {
|
|
5
5
|
static readonly TYPE: "editing_session";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseResource from '../../BaseResource';
|
|
2
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
3
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
2
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
3
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
4
4
|
export default class EmojiSuggestions extends BaseResource {
|
|
5
5
|
static readonly TYPE: "emoji_suggestions";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseResource from '../../BaseResource';
|
|
2
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
3
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
2
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
3
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
4
4
|
export default class Environment extends BaseResource {
|
|
5
5
|
static readonly TYPE: "environment";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseResource from '../../BaseResource';
|
|
2
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
3
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
2
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
3
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
4
4
|
export default class Field extends BaseResource {
|
|
5
5
|
static readonly TYPE: "field";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseResource from '../../BaseResource';
|
|
2
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
3
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
2
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
3
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
4
4
|
export default class Fieldset extends BaseResource {
|
|
5
5
|
static readonly TYPE: "fieldset";
|
|
6
6
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Utils from '@datocms/rest-client-utils';
|
|
2
2
|
import BaseResource from '../../BaseResource';
|
|
3
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
4
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
3
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
4
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
5
5
|
export default class Item extends BaseResource {
|
|
6
6
|
static readonly TYPE: "item";
|
|
7
7
|
/**
|
|
@@ -30,7 +30,7 @@ export default class Item extends BaseResource {
|
|
|
30
30
|
* @throws {ApiError}
|
|
31
31
|
* @throws {TimeoutError}
|
|
32
32
|
*/
|
|
33
|
-
listPagedIterator(queryParams?: SimpleSchemaTypes.ItemInstancesHrefSchema, iteratorOptions?: Utils.IteratorOptions): AsyncGenerator<SimpleSchemaTypes.Item, void, unknown>;
|
|
33
|
+
listPagedIterator(queryParams?: Utils.OmitFromKnownKeys<SimpleSchemaTypes.ItemInstancesHrefSchema, 'page'>, iteratorOptions?: Utils.IteratorOptions): AsyncGenerator<SimpleSchemaTypes.Item, void, unknown>;
|
|
34
34
|
/**
|
|
35
35
|
* Async iterator to auto-paginate over elements returned by rawList()
|
|
36
36
|
*
|
|
@@ -39,7 +39,7 @@ export default class Item extends BaseResource {
|
|
|
39
39
|
* @throws {ApiError}
|
|
40
40
|
* @throws {TimeoutError}
|
|
41
41
|
*/
|
|
42
|
-
rawListPagedIterator(queryParams?: SchemaTypes.ItemInstancesHrefSchema, iteratorOptions?: Utils.IteratorOptions): AsyncGenerator<SchemaTypes.Item, void, unknown>;
|
|
42
|
+
rawListPagedIterator(queryParams?: Utils.OmitFromKnownKeys<SchemaTypes.ItemInstancesHrefSchema, 'page'>, iteratorOptions?: Utils.IteratorOptions): AsyncGenerator<SchemaTypes.Item, void, unknown>;
|
|
43
43
|
/**
|
|
44
44
|
* Validates an existing record field
|
|
45
45
|
*
|
|
@@ -173,6 +173,7 @@ var Item = /** @class */ (function (_super) {
|
|
|
173
173
|
*/
|
|
174
174
|
Item.prototype.rawListPagedIterator = function (queryParams, iteratorOptions) {
|
|
175
175
|
var _this = this;
|
|
176
|
+
Utils.warnOnPageQueryParam(queryParams);
|
|
176
177
|
return Utils.rawPageIterator({
|
|
177
178
|
defaultLimit: 30,
|
|
178
179
|
maxLimit: 500,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Item.js","sourceRoot":"","sources":["../../../../src/generated/resources/Item.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,4BAA4B,CAAC;AACpD,OAAO,YAAY,MAAM,oBAAoB,CAAC;AAI9C;IAAkC,wBAAY;IAA9C;;
|
|
1
|
+
{"version":3,"file":"Item.js","sourceRoot":"","sources":["../../../../src/generated/resources/Item.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CACL;QAFD,CAEC,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,6BAAc,GAAd,UACE,IAAuC;QAEvC,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAuC;YAC/D,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,qBAAqB;YAC1B,IAAI,MAAA;SACL,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,8BAAe,GAAf,UAAgB,IAAiD;QAC/D,OAAO,IAAI,CAAC,kBAAkB,CAC5B,KAAK,CAAC,oBAAoB,CAAwC,IAAI,EAAE;YACtE,IAAI,EAAE,mCAAmC;YACzC,UAAU,EAAE,CAAC,OAAO,CAAC;YACrB,aAAa,EAAE,CAAC,OAAO,CAAC;SACzB,CAAC,CACH,CAAC,IAAI,CAAC,UAAC,IAAI;YACV,OAAA,KAAK,CAAC,uBAAuB,CAC3B,IAAI,CACL;QAFD,CAEC,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,iCAAkB,GAAlB,UACE,IAA2C;QAE3C,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAA2C;YACnE,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,2BAA2B;YAChC,IAAI,MAAA;SACL,CAAC,CAAC;IACL,CAAC;IA5yBe,SAAI,GAAG,MAAe,CAAC;IA6yBzC,WAAC;CAAA,AA9yBD,CAAkC,YAAY,GA8yB7C;eA9yBoB,IAAI"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseResource from '../../BaseResource';
|
|
2
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
3
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
2
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
3
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
4
4
|
export default class ItemType extends BaseResource {
|
|
5
5
|
static readonly TYPE: "item_type";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseResource from '../../BaseResource';
|
|
2
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
3
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
2
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
3
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
4
4
|
export default class ItemTypeFilter extends BaseResource {
|
|
5
5
|
static readonly TYPE: "item_type_filter";
|
|
6
6
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Utils from '@datocms/rest-client-utils';
|
|
2
2
|
import BaseResource from '../../BaseResource';
|
|
3
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
4
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
3
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
4
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
5
5
|
export default class ItemVersion extends BaseResource {
|
|
6
6
|
static readonly TYPE: "item_version";
|
|
7
7
|
/**
|
|
@@ -48,7 +48,7 @@ export default class ItemVersion extends BaseResource {
|
|
|
48
48
|
* @throws {ApiError}
|
|
49
49
|
* @throws {TimeoutError}
|
|
50
50
|
*/
|
|
51
|
-
listPagedIterator(itemId: string | SimpleSchemaTypes.ItemData, queryParams?: SimpleSchemaTypes.ItemVersionInstancesHrefSchema, iteratorOptions?: Utils.IteratorOptions): AsyncGenerator<SimpleSchemaTypes.ItemVersion, void, unknown>;
|
|
51
|
+
listPagedIterator(itemId: string | SimpleSchemaTypes.ItemData, queryParams?: Utils.OmitFromKnownKeys<SimpleSchemaTypes.ItemVersionInstancesHrefSchema, 'page'>, iteratorOptions?: Utils.IteratorOptions): AsyncGenerator<SimpleSchemaTypes.ItemVersion, void, unknown>;
|
|
52
52
|
/**
|
|
53
53
|
* Async iterator to auto-paginate over elements returned by rawList()
|
|
54
54
|
*
|
|
@@ -57,7 +57,7 @@ export default class ItemVersion extends BaseResource {
|
|
|
57
57
|
* @throws {ApiError}
|
|
58
58
|
* @throws {TimeoutError}
|
|
59
59
|
*/
|
|
60
|
-
rawListPagedIterator(itemId: string, queryParams?: SchemaTypes.ItemVersionInstancesHrefSchema, iteratorOptions?: Utils.IteratorOptions): AsyncGenerator<SchemaTypes.ItemVersion, void, unknown>;
|
|
60
|
+
rawListPagedIterator(itemId: string, queryParams?: Utils.OmitFromKnownKeys<SchemaTypes.ItemVersionInstancesHrefSchema, 'page'>, iteratorOptions?: Utils.IteratorOptions): AsyncGenerator<SchemaTypes.ItemVersion, void, unknown>;
|
|
61
61
|
/**
|
|
62
62
|
* Retrieve a record version
|
|
63
63
|
*
|
|
@@ -200,6 +200,7 @@ var ItemVersion = /** @class */ (function (_super) {
|
|
|
200
200
|
*/
|
|
201
201
|
ItemVersion.prototype.rawListPagedIterator = function (itemId, queryParams, iteratorOptions) {
|
|
202
202
|
var _this = this;
|
|
203
|
+
Utils.warnOnPageQueryParam(queryParams);
|
|
203
204
|
return Utils.rawPageIterator({
|
|
204
205
|
defaultLimit: 15,
|
|
205
206
|
maxLimit: 50,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemVersion.js","sourceRoot":"","sources":["../../../../src/generated/resources/ItemVersion.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,4BAA4B,CAAC;AACpD,OAAO,YAAY,MAAM,oBAAoB,CAAC;AAI9C;IAAyC,+BAAY;IAArD;;
|
|
1
|
+
{"version":3,"file":"ItemVersion.js","sourceRoot":"","sources":["../../../../src/generated/resources/ItemVersion.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,4BAA4B,CAAC;AACpD,OAAO,YAA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wBAJgB,OAAO,KAAA,CAAA;qDAKhB,KAAK,CAAC,qBAAqB,CAE/B,OAAO,CAAC;4BAFV,gCAEU;;wBAFV,SAEU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEd;IAED;;;;;;;OAOG;IACH,0CAAoB,GAApB,UACE,MAAc,EACd,WAGC,EACD,eAAuC;QANzC,iBAqBC;QAbC,KAAK,CAAC,oBAAoB,CAAC,WAAW,CAAC,CAAC;QAExC,OAAO,KAAK,CAAC,eAAe,CAG1B;YACE,YAAY,EAAE,EAAE;YAChB,QAAQ,EAAE,EAAE;SACb,EACD,UAAC,IAAwD;YACvD,OAAA,KAAI,CAAC,OAAO,CAAC,MAAM,wBAAO,WAAW,KAAE,IAAI,MAAA,IAAG;QAA9C,CAA8C,EAChD,eAAe,CAChB,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,0BAAI,GAAJ,UAAK,aAAyD;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,UAAC,IAAI;YACvD,OAAA,KAAK,CAAC,uBAAuB,CAC3B,IAAI,CACL;QAFD,CAEC,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,6BAAO,GAAP,UACE,aAAqB;QAErB,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAA0C;YAClE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,oBAAa,aAAa,CAAE;SAClC,CAAC,CAAC;IACL,CAAC;IAlKe,gBAAI,GAAG,cAAuB,CAAC;IAmKjD,kBAAC;CAAA,AApKD,CAAyC,YAAY,GAoKpD;eApKoB,WAAW"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseResource from '../../BaseResource';
|
|
2
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
3
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
2
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
3
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
4
4
|
export default class JobResult extends BaseResource {
|
|
5
5
|
static readonly TYPE: "job_result";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseResource from '../../BaseResource';
|
|
2
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
3
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
2
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
3
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
4
4
|
export default class MaintenanceMode extends BaseResource {
|
|
5
5
|
static readonly TYPE: "maintenance_mode";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseResource from '../../BaseResource';
|
|
2
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
3
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
2
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
3
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
4
4
|
export default class MenuItem extends BaseResource {
|
|
5
5
|
static readonly TYPE: "menu_item";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseResource from '../../BaseResource';
|
|
2
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
3
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
2
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
3
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
4
4
|
export default class Plugin extends BaseResource {
|
|
5
5
|
static readonly TYPE: "plugin";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseResource from '../../BaseResource';
|
|
2
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
3
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
2
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
3
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
4
4
|
export default class PublicInfo extends BaseResource {
|
|
5
5
|
static readonly TYPE: "public_info";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseResource from '../../BaseResource';
|
|
2
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
3
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
2
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
3
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
4
4
|
export default class Role extends BaseResource {
|
|
5
5
|
static readonly TYPE: "role";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseResource from '../../BaseResource';
|
|
2
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
3
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
2
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
3
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
4
4
|
export default class ScheduledPublication extends BaseResource {
|
|
5
5
|
static readonly TYPE: "scheduled_publication";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseResource from '../../BaseResource';
|
|
2
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
3
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
2
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
3
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
4
4
|
export default class ScheduledUnpublishing extends BaseResource {
|
|
5
5
|
static readonly TYPE: "scheduled_unpublishing";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseResource from '../../BaseResource';
|
|
2
|
-
import * as SchemaTypes from '../SchemaTypes';
|
|
3
|
-
import * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
2
|
+
import type * as SchemaTypes from '../SchemaTypes';
|
|
3
|
+
import type * as SimpleSchemaTypes from '../SimpleSchemaTypes';
|
|
4
4
|
export default class SchemaMenuItem extends BaseResource {
|
|
5
5
|
static readonly TYPE: "schema_menu_item";
|
|
6
6
|
/**
|