@inneropen/marvin-sdk 1.10.4 → 1.10.6
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/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/dist/platform.d.cts +109 -51
- package/dist/platform.d.ts +109 -51
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1173,19 +1173,19 @@ var AuthClient = class extends HttpClient {
|
|
|
1173
1173
|
* Returns the created user object
|
|
1174
1174
|
*/
|
|
1175
1175
|
async register(data) {
|
|
1176
|
-
return this.post("/users/register", data);
|
|
1176
|
+
return this.post("/api/users/register", data);
|
|
1177
1177
|
}
|
|
1178
1178
|
/**
|
|
1179
1179
|
* Request password reset (sends email with token)
|
|
1180
1180
|
*/
|
|
1181
1181
|
async forgotPassword(data) {
|
|
1182
|
-
return this.post("/users/forgot-password", data);
|
|
1182
|
+
return this.post("/api/users/forgot-password", data);
|
|
1183
1183
|
}
|
|
1184
1184
|
/**
|
|
1185
1185
|
* Reset password with token from email
|
|
1186
1186
|
*/
|
|
1187
1187
|
async resetPassword(data) {
|
|
1188
|
-
return this.post("/users/reset-password", data);
|
|
1188
|
+
return this.post("/api/users/reset-password", data);
|
|
1189
1189
|
}
|
|
1190
1190
|
/**
|
|
1191
1191
|
* Login with username and password
|
package/dist/index.js
CHANGED
|
@@ -791,19 +791,19 @@ var AuthClient = class extends HttpClient {
|
|
|
791
791
|
* Returns the created user object
|
|
792
792
|
*/
|
|
793
793
|
async register(data) {
|
|
794
|
-
return this.post("/users/register", data);
|
|
794
|
+
return this.post("/api/users/register", data);
|
|
795
795
|
}
|
|
796
796
|
/**
|
|
797
797
|
* Request password reset (sends email with token)
|
|
798
798
|
*/
|
|
799
799
|
async forgotPassword(data) {
|
|
800
|
-
return this.post("/users/forgot-password", data);
|
|
800
|
+
return this.post("/api/users/forgot-password", data);
|
|
801
801
|
}
|
|
802
802
|
/**
|
|
803
803
|
* Reset password with token from email
|
|
804
804
|
*/
|
|
805
805
|
async resetPassword(data) {
|
|
806
|
-
return this.post("/users/reset-password", data);
|
|
806
|
+
return this.post("/api/users/reset-password", data);
|
|
807
807
|
}
|
|
808
808
|
/**
|
|
809
809
|
* Login with username and password
|
package/dist/platform.d.cts
CHANGED
|
@@ -241,34 +241,6 @@ interface components {
|
|
|
241
241
|
/** Darkerror */
|
|
242
242
|
darkError: string;
|
|
243
243
|
};
|
|
244
|
-
/**
|
|
245
|
-
* AssetCreate
|
|
246
|
-
* @description Legacy schema for backwards compatibility - prefer AssetCreateInternal.
|
|
247
|
-
*/
|
|
248
|
-
AssetCreate: {
|
|
249
|
-
/** Slug */
|
|
250
|
-
slug: string;
|
|
251
|
-
/** Name */
|
|
252
|
-
name: string;
|
|
253
|
-
/** Filepath */
|
|
254
|
-
filePath: string;
|
|
255
|
-
/** Filesize */
|
|
256
|
-
fileSize: number;
|
|
257
|
-
/** Mimetype */
|
|
258
|
-
mimeType: string;
|
|
259
|
-
/** Width */
|
|
260
|
-
width?: number | null;
|
|
261
|
-
/** Height */
|
|
262
|
-
height?: number | null;
|
|
263
|
-
/** Alttext */
|
|
264
|
-
altText?: string | null;
|
|
265
|
-
/** Description */
|
|
266
|
-
description?: string | null;
|
|
267
|
-
/** Metadata */
|
|
268
|
-
metadata?: {
|
|
269
|
-
[key: string]: unknown;
|
|
270
|
-
} | null;
|
|
271
|
-
};
|
|
272
244
|
/**
|
|
273
245
|
* AssetRead
|
|
274
246
|
* @description Full schema for reading an asset.
|
|
@@ -335,8 +307,8 @@ interface components {
|
|
|
335
307
|
slug?: string | null;
|
|
336
308
|
/** Name */
|
|
337
309
|
name?: string | null;
|
|
338
|
-
/**
|
|
339
|
-
|
|
310
|
+
/** Alt Text */
|
|
311
|
+
alt_text?: string | null;
|
|
340
312
|
/** Description */
|
|
341
313
|
description?: string | null;
|
|
342
314
|
/** Metadata */
|
|
@@ -455,6 +427,12 @@ interface components {
|
|
|
455
427
|
smartRules?: {
|
|
456
428
|
[key: string]: unknown;
|
|
457
429
|
} | null;
|
|
430
|
+
/** Metadatajson */
|
|
431
|
+
metadataJson?: {
|
|
432
|
+
[key: string]: unknown;
|
|
433
|
+
} | null;
|
|
434
|
+
/** Entryids */
|
|
435
|
+
entryIds?: string[] | null;
|
|
458
436
|
};
|
|
459
437
|
/**
|
|
460
438
|
* CollectionRead
|
|
@@ -493,6 +471,10 @@ interface components {
|
|
|
493
471
|
smartRules?: {
|
|
494
472
|
[key: string]: unknown;
|
|
495
473
|
} | null;
|
|
474
|
+
/** Metadatajson */
|
|
475
|
+
metadataJson?: {
|
|
476
|
+
[key: string]: unknown;
|
|
477
|
+
} | null;
|
|
496
478
|
};
|
|
497
479
|
/**
|
|
498
480
|
* CollectionUpdate
|
|
@@ -517,6 +499,12 @@ interface components {
|
|
|
517
499
|
smartRules?: {
|
|
518
500
|
[key: string]: unknown;
|
|
519
501
|
} | null;
|
|
502
|
+
/** Metadatajson */
|
|
503
|
+
metadataJson?: {
|
|
504
|
+
[key: string]: unknown;
|
|
505
|
+
} | null;
|
|
506
|
+
/** Entryids */
|
|
507
|
+
entryIds?: string[] | null;
|
|
520
508
|
};
|
|
521
509
|
/**
|
|
522
510
|
* DebugResponse
|
|
@@ -686,6 +674,12 @@ interface components {
|
|
|
686
674
|
metadataJson?: {
|
|
687
675
|
[key: string]: unknown;
|
|
688
676
|
} | null;
|
|
677
|
+
/** Collectionids */
|
|
678
|
+
collectionIds?: string[] | null;
|
|
679
|
+
/** Assetids */
|
|
680
|
+
assetIds?: string[] | null;
|
|
681
|
+
/** Resourceids */
|
|
682
|
+
resourceIds?: string[] | null;
|
|
689
683
|
};
|
|
690
684
|
/**
|
|
691
685
|
* EntryRead
|
|
@@ -832,8 +826,8 @@ interface components {
|
|
|
832
826
|
* @description Schema for patching an entry.
|
|
833
827
|
*/
|
|
834
828
|
EntryUpdate: {
|
|
835
|
-
/**
|
|
836
|
-
|
|
829
|
+
/** Entry Type Id */
|
|
830
|
+
entry_type_id?: string | null;
|
|
837
831
|
/** Title */
|
|
838
832
|
title?: string | null;
|
|
839
833
|
/** Slug */
|
|
@@ -842,16 +836,22 @@ interface components {
|
|
|
842
836
|
summary?: string | null;
|
|
843
837
|
/** Description */
|
|
844
838
|
description?: string | null;
|
|
845
|
-
/**
|
|
846
|
-
|
|
839
|
+
/** Content Markdown */
|
|
840
|
+
content_markdown?: string | null;
|
|
847
841
|
/** Status */
|
|
848
842
|
status?: string | null;
|
|
849
|
-
/**
|
|
850
|
-
|
|
851
|
-
/**
|
|
852
|
-
|
|
843
|
+
/** Published At */
|
|
844
|
+
published_at?: string | null;
|
|
845
|
+
/** Metadata Json */
|
|
846
|
+
metadata_json?: {
|
|
853
847
|
[key: string]: unknown;
|
|
854
848
|
} | null;
|
|
849
|
+
/** Collection Ids */
|
|
850
|
+
collection_ids?: string[] | null;
|
|
851
|
+
/** Asset Ids */
|
|
852
|
+
asset_ids?: string[] | null;
|
|
853
|
+
/** Resource Ids */
|
|
854
|
+
resource_ids?: string[] | null;
|
|
855
855
|
};
|
|
856
856
|
/**
|
|
857
857
|
* EventDocumentType
|
|
@@ -1251,11 +1251,13 @@ interface components {
|
|
|
1251
1251
|
/**
|
|
1252
1252
|
* InviteTokenCreate
|
|
1253
1253
|
* @description Schema for creating a new group invitation token.
|
|
1254
|
-
* Specifies the initial number of uses and the group it belongs to.
|
|
1254
|
+
* Specifies the initial number of uses, role, and the group it belongs to.
|
|
1255
1255
|
*/
|
|
1256
1256
|
InviteTokenCreate: {
|
|
1257
1257
|
/** Usesleft */
|
|
1258
1258
|
usesLeft: number;
|
|
1259
|
+
/** @default EDITOR */
|
|
1260
|
+
workspaceRole: components["schemas"]["WorkspaceRole"];
|
|
1259
1261
|
};
|
|
1260
1262
|
/**
|
|
1261
1263
|
* InviteTokenPagination
|
|
@@ -1291,13 +1293,21 @@ interface components {
|
|
|
1291
1293
|
};
|
|
1292
1294
|
/**
|
|
1293
1295
|
* InviteTokenSummary
|
|
1294
|
-
* @description Schema for a summary representation of a invite token
|
|
1296
|
+
* @description Schema for a summary representation of a invite token.
|
|
1295
1297
|
*/
|
|
1296
1298
|
InviteTokenSummary: {
|
|
1297
1299
|
/** Usesleft */
|
|
1298
1300
|
usesLeft: number;
|
|
1301
|
+
workspaceRole: components["schemas"]["WorkspaceRole"];
|
|
1302
|
+
/**
|
|
1303
|
+
* Id
|
|
1304
|
+
* Format: uuid4
|
|
1305
|
+
*/
|
|
1306
|
+
id: string;
|
|
1299
1307
|
/** Token */
|
|
1300
1308
|
token: string;
|
|
1309
|
+
/** Createdat */
|
|
1310
|
+
createdAt?: string | null;
|
|
1301
1311
|
};
|
|
1302
1312
|
/**
|
|
1303
1313
|
* LongLiveTokenCreate
|
|
@@ -1505,6 +1515,15 @@ interface components {
|
|
|
1505
1515
|
description?: string | null;
|
|
1506
1516
|
/** Publicurl */
|
|
1507
1517
|
publicUrl: string;
|
|
1518
|
+
/** Metadata */
|
|
1519
|
+
metadata?: {
|
|
1520
|
+
[key: string]: unknown;
|
|
1521
|
+
} | null;
|
|
1522
|
+
/**
|
|
1523
|
+
* Entries
|
|
1524
|
+
* @default []
|
|
1525
|
+
*/
|
|
1526
|
+
entries: string[];
|
|
1508
1527
|
};
|
|
1509
1528
|
/**
|
|
1510
1529
|
* PublishedAssetsResponse
|
|
@@ -1528,6 +1547,19 @@ interface components {
|
|
|
1528
1547
|
name: string;
|
|
1529
1548
|
/** Description */
|
|
1530
1549
|
description?: string | null;
|
|
1550
|
+
/**
|
|
1551
|
+
* Issmart
|
|
1552
|
+
* @default false
|
|
1553
|
+
*/
|
|
1554
|
+
isSmart: boolean;
|
|
1555
|
+
/** Smartrules */
|
|
1556
|
+
smartRules?: {
|
|
1557
|
+
[key: string]: unknown;
|
|
1558
|
+
} | null;
|
|
1559
|
+
/** Metadata */
|
|
1560
|
+
metadata?: {
|
|
1561
|
+
[key: string]: unknown;
|
|
1562
|
+
} | null;
|
|
1531
1563
|
/** Entrycount */
|
|
1532
1564
|
entryCount: number;
|
|
1533
1565
|
/** Entries */
|
|
@@ -1544,6 +1576,19 @@ interface components {
|
|
|
1544
1576
|
name: string;
|
|
1545
1577
|
/** Description */
|
|
1546
1578
|
description?: string | null;
|
|
1579
|
+
/**
|
|
1580
|
+
* Issmart
|
|
1581
|
+
* @default false
|
|
1582
|
+
*/
|
|
1583
|
+
isSmart: boolean;
|
|
1584
|
+
/** Smartrules */
|
|
1585
|
+
smartRules?: {
|
|
1586
|
+
[key: string]: unknown;
|
|
1587
|
+
} | null;
|
|
1588
|
+
/** Metadata */
|
|
1589
|
+
metadata?: {
|
|
1590
|
+
[key: string]: unknown;
|
|
1591
|
+
} | null;
|
|
1547
1592
|
/** Entrycount */
|
|
1548
1593
|
entryCount: number;
|
|
1549
1594
|
/** Sortorder */
|
|
@@ -1594,6 +1639,16 @@ interface components {
|
|
|
1594
1639
|
* @default []
|
|
1595
1640
|
*/
|
|
1596
1641
|
collections: string[];
|
|
1642
|
+
/**
|
|
1643
|
+
* Assets
|
|
1644
|
+
* @default []
|
|
1645
|
+
*/
|
|
1646
|
+
assets: string[];
|
|
1647
|
+
/**
|
|
1648
|
+
* Resources
|
|
1649
|
+
* @default []
|
|
1650
|
+
*/
|
|
1651
|
+
resources: string[];
|
|
1597
1652
|
};
|
|
1598
1653
|
/**
|
|
1599
1654
|
* PublishedEntryRead
|
|
@@ -1623,7 +1678,7 @@ interface components {
|
|
|
1623
1678
|
* Collections
|
|
1624
1679
|
* @default []
|
|
1625
1680
|
*/
|
|
1626
|
-
collections:
|
|
1681
|
+
collections: components["schemas"]["PublishedCollectionSummary"][];
|
|
1627
1682
|
/**
|
|
1628
1683
|
* Resources
|
|
1629
1684
|
* @default []
|
|
@@ -1654,6 +1709,10 @@ interface components {
|
|
|
1654
1709
|
url?: string | null;
|
|
1655
1710
|
/** Externalid */
|
|
1656
1711
|
externalId?: string | null;
|
|
1712
|
+
/** Metadata */
|
|
1713
|
+
metadata?: {
|
|
1714
|
+
[key: string]: unknown;
|
|
1715
|
+
} | null;
|
|
1657
1716
|
/** Role */
|
|
1658
1717
|
role?: string | null;
|
|
1659
1718
|
/** Quantity */
|
|
@@ -1690,6 +1749,11 @@ interface components {
|
|
|
1690
1749
|
metadata?: {
|
|
1691
1750
|
[key: string]: unknown;
|
|
1692
1751
|
} | null;
|
|
1752
|
+
/**
|
|
1753
|
+
* Entries
|
|
1754
|
+
* @default []
|
|
1755
|
+
*/
|
|
1756
|
+
entries: string[];
|
|
1693
1757
|
};
|
|
1694
1758
|
/**
|
|
1695
1759
|
* PublishedResourcesResponse
|
|
@@ -1800,11 +1864,11 @@ interface components {
|
|
|
1800
1864
|
*/
|
|
1801
1865
|
ResourceUpdate: {
|
|
1802
1866
|
/** Slug */
|
|
1803
|
-
slug
|
|
1867
|
+
slug?: string | null;
|
|
1804
1868
|
/** Name */
|
|
1805
|
-
name
|
|
1869
|
+
name?: string | null;
|
|
1806
1870
|
/** Resourcetype */
|
|
1807
|
-
resourceType
|
|
1871
|
+
resourceType?: string | null;
|
|
1808
1872
|
/** Description */
|
|
1809
1873
|
description?: string | null;
|
|
1810
1874
|
/** Url */
|
|
@@ -1815,11 +1879,6 @@ interface components {
|
|
|
1815
1879
|
metadata?: {
|
|
1816
1880
|
[key: string]: unknown;
|
|
1817
1881
|
} | null;
|
|
1818
|
-
/**
|
|
1819
|
-
* Id
|
|
1820
|
-
* Format: uuid4
|
|
1821
|
-
*/
|
|
1822
|
-
id: string;
|
|
1823
1882
|
};
|
|
1824
1883
|
/**
|
|
1825
1884
|
* SiteConfiguration
|
|
@@ -2491,7 +2550,6 @@ type PlatformResourceUpdate = components['schemas']['ResourceUpdate'];
|
|
|
2491
2550
|
* Asset (Platform API - full CRUD with file upload)
|
|
2492
2551
|
*/
|
|
2493
2552
|
type PlatformAsset = components['schemas']['AssetRead'];
|
|
2494
|
-
type PlatformAssetCreate = components['schemas']['AssetCreate'];
|
|
2495
2553
|
type PlatformAssetUpdate = components['schemas']['AssetUpdate'];
|
|
2496
2554
|
type PlatformAssetUpload = {
|
|
2497
2555
|
slug: string;
|
|
@@ -3371,4 +3429,4 @@ declare class PlatformClient extends HttpClient {
|
|
|
3371
3429
|
*/
|
|
3372
3430
|
declare function createPlatformClient(config: PlatformClientConfig): PlatformClient;
|
|
3373
3431
|
|
|
3374
|
-
export { APIClientsModule, type AdminAboutInfo, AdminMaintenanceModule, AdminSystemModule, AdminUsersModule, type ApiToken, type ApiTokenCreate, type ApiTokenWithToken, type AppTheme, AssetsModule, AuthModule, type AuthToken, CollectionsModule, type EmailInvitationRequest, type EmailSettings, EntriesModule, EntryTypesModule, type EventOption, EventsModule, type InviteTokenCreate, type InviteTokenPagination, type InviteTokenSummary, InvitesModule, type MaintenanceStorageDetails, type MaintenanceSummary, type Notification, type NotificationCreate, type NotificationUpdate, NotificationsModule, type PasswordChange, type PasswordResetTokenRequest, type PasswordResetTokenResponse, type PlatformAPIClient, type PlatformAPIClientCreate, type PlatformAPIClientUpdate, type PlatformAPIClientWithToken, type PlatformAsset, type
|
|
3432
|
+
export { APIClientsModule, type AdminAboutInfo, AdminMaintenanceModule, AdminSystemModule, AdminUsersModule, type ApiToken, type ApiTokenCreate, type ApiTokenWithToken, type AppTheme, AssetsModule, AuthModule, type AuthToken, CollectionsModule, type EmailInvitationRequest, type EmailSettings, EntriesModule, EntryTypesModule, type EventOption, EventsModule, type InviteTokenCreate, type InviteTokenPagination, type InviteTokenSummary, InvitesModule, type MaintenanceStorageDetails, type MaintenanceSummary, type Notification, type NotificationCreate, type NotificationUpdate, NotificationsModule, type PasswordChange, type PasswordResetTokenRequest, type PasswordResetTokenResponse, type PlatformAPIClient, type PlatformAPIClientCreate, type PlatformAPIClientUpdate, type PlatformAPIClientWithToken, type PlatformAsset, type PlatformAssetUpdate, PlatformClient, type PlatformClientConfig, type PlatformCollection, type PlatformCollectionCreate, type PlatformCollectionUpdate, type PlatformEntry, type PlatformEntryCreate, type PlatformEntryType, type PlatformEntryUpdate, type PlatformResource, type PlatformResourceCreate, type PlatformResourceUpdate, type PlatformWorkspaceMember, type PlatformWorkspaceMemberCreate, type PlatformWorkspaceMemberUpdate, ResourcesModule, type SystemStatistics, ThemeModule, type UnlockUserRequest, type User, type UserCreate, UserModule, type UserPagination, type UserProfile, type UserProfileUpdate, type UserSummary, type UserUpdate, type Webhook, type WebhookCreate, type WebhookMethod, type WebhookPagination, type WebhookUpdate, WebhooksModule, type Workspace, type WorkspaceActivationRequest, type WorkspaceCreate, WorkspaceMembersModule, type WorkspacePreferences, type WorkspacePreferencesUpdate, type WorkspaceUpdate, type WorkspaceWithMembership, WorkspacesModule, createPlatformClient };
|
package/dist/platform.d.ts
CHANGED
|
@@ -241,34 +241,6 @@ interface components {
|
|
|
241
241
|
/** Darkerror */
|
|
242
242
|
darkError: string;
|
|
243
243
|
};
|
|
244
|
-
/**
|
|
245
|
-
* AssetCreate
|
|
246
|
-
* @description Legacy schema for backwards compatibility - prefer AssetCreateInternal.
|
|
247
|
-
*/
|
|
248
|
-
AssetCreate: {
|
|
249
|
-
/** Slug */
|
|
250
|
-
slug: string;
|
|
251
|
-
/** Name */
|
|
252
|
-
name: string;
|
|
253
|
-
/** Filepath */
|
|
254
|
-
filePath: string;
|
|
255
|
-
/** Filesize */
|
|
256
|
-
fileSize: number;
|
|
257
|
-
/** Mimetype */
|
|
258
|
-
mimeType: string;
|
|
259
|
-
/** Width */
|
|
260
|
-
width?: number | null;
|
|
261
|
-
/** Height */
|
|
262
|
-
height?: number | null;
|
|
263
|
-
/** Alttext */
|
|
264
|
-
altText?: string | null;
|
|
265
|
-
/** Description */
|
|
266
|
-
description?: string | null;
|
|
267
|
-
/** Metadata */
|
|
268
|
-
metadata?: {
|
|
269
|
-
[key: string]: unknown;
|
|
270
|
-
} | null;
|
|
271
|
-
};
|
|
272
244
|
/**
|
|
273
245
|
* AssetRead
|
|
274
246
|
* @description Full schema for reading an asset.
|
|
@@ -335,8 +307,8 @@ interface components {
|
|
|
335
307
|
slug?: string | null;
|
|
336
308
|
/** Name */
|
|
337
309
|
name?: string | null;
|
|
338
|
-
/**
|
|
339
|
-
|
|
310
|
+
/** Alt Text */
|
|
311
|
+
alt_text?: string | null;
|
|
340
312
|
/** Description */
|
|
341
313
|
description?: string | null;
|
|
342
314
|
/** Metadata */
|
|
@@ -455,6 +427,12 @@ interface components {
|
|
|
455
427
|
smartRules?: {
|
|
456
428
|
[key: string]: unknown;
|
|
457
429
|
} | null;
|
|
430
|
+
/** Metadatajson */
|
|
431
|
+
metadataJson?: {
|
|
432
|
+
[key: string]: unknown;
|
|
433
|
+
} | null;
|
|
434
|
+
/** Entryids */
|
|
435
|
+
entryIds?: string[] | null;
|
|
458
436
|
};
|
|
459
437
|
/**
|
|
460
438
|
* CollectionRead
|
|
@@ -493,6 +471,10 @@ interface components {
|
|
|
493
471
|
smartRules?: {
|
|
494
472
|
[key: string]: unknown;
|
|
495
473
|
} | null;
|
|
474
|
+
/** Metadatajson */
|
|
475
|
+
metadataJson?: {
|
|
476
|
+
[key: string]: unknown;
|
|
477
|
+
} | null;
|
|
496
478
|
};
|
|
497
479
|
/**
|
|
498
480
|
* CollectionUpdate
|
|
@@ -517,6 +499,12 @@ interface components {
|
|
|
517
499
|
smartRules?: {
|
|
518
500
|
[key: string]: unknown;
|
|
519
501
|
} | null;
|
|
502
|
+
/** Metadatajson */
|
|
503
|
+
metadataJson?: {
|
|
504
|
+
[key: string]: unknown;
|
|
505
|
+
} | null;
|
|
506
|
+
/** Entryids */
|
|
507
|
+
entryIds?: string[] | null;
|
|
520
508
|
};
|
|
521
509
|
/**
|
|
522
510
|
* DebugResponse
|
|
@@ -686,6 +674,12 @@ interface components {
|
|
|
686
674
|
metadataJson?: {
|
|
687
675
|
[key: string]: unknown;
|
|
688
676
|
} | null;
|
|
677
|
+
/** Collectionids */
|
|
678
|
+
collectionIds?: string[] | null;
|
|
679
|
+
/** Assetids */
|
|
680
|
+
assetIds?: string[] | null;
|
|
681
|
+
/** Resourceids */
|
|
682
|
+
resourceIds?: string[] | null;
|
|
689
683
|
};
|
|
690
684
|
/**
|
|
691
685
|
* EntryRead
|
|
@@ -832,8 +826,8 @@ interface components {
|
|
|
832
826
|
* @description Schema for patching an entry.
|
|
833
827
|
*/
|
|
834
828
|
EntryUpdate: {
|
|
835
|
-
/**
|
|
836
|
-
|
|
829
|
+
/** Entry Type Id */
|
|
830
|
+
entry_type_id?: string | null;
|
|
837
831
|
/** Title */
|
|
838
832
|
title?: string | null;
|
|
839
833
|
/** Slug */
|
|
@@ -842,16 +836,22 @@ interface components {
|
|
|
842
836
|
summary?: string | null;
|
|
843
837
|
/** Description */
|
|
844
838
|
description?: string | null;
|
|
845
|
-
/**
|
|
846
|
-
|
|
839
|
+
/** Content Markdown */
|
|
840
|
+
content_markdown?: string | null;
|
|
847
841
|
/** Status */
|
|
848
842
|
status?: string | null;
|
|
849
|
-
/**
|
|
850
|
-
|
|
851
|
-
/**
|
|
852
|
-
|
|
843
|
+
/** Published At */
|
|
844
|
+
published_at?: string | null;
|
|
845
|
+
/** Metadata Json */
|
|
846
|
+
metadata_json?: {
|
|
853
847
|
[key: string]: unknown;
|
|
854
848
|
} | null;
|
|
849
|
+
/** Collection Ids */
|
|
850
|
+
collection_ids?: string[] | null;
|
|
851
|
+
/** Asset Ids */
|
|
852
|
+
asset_ids?: string[] | null;
|
|
853
|
+
/** Resource Ids */
|
|
854
|
+
resource_ids?: string[] | null;
|
|
855
855
|
};
|
|
856
856
|
/**
|
|
857
857
|
* EventDocumentType
|
|
@@ -1251,11 +1251,13 @@ interface components {
|
|
|
1251
1251
|
/**
|
|
1252
1252
|
* InviteTokenCreate
|
|
1253
1253
|
* @description Schema for creating a new group invitation token.
|
|
1254
|
-
* Specifies the initial number of uses and the group it belongs to.
|
|
1254
|
+
* Specifies the initial number of uses, role, and the group it belongs to.
|
|
1255
1255
|
*/
|
|
1256
1256
|
InviteTokenCreate: {
|
|
1257
1257
|
/** Usesleft */
|
|
1258
1258
|
usesLeft: number;
|
|
1259
|
+
/** @default EDITOR */
|
|
1260
|
+
workspaceRole: components["schemas"]["WorkspaceRole"];
|
|
1259
1261
|
};
|
|
1260
1262
|
/**
|
|
1261
1263
|
* InviteTokenPagination
|
|
@@ -1291,13 +1293,21 @@ interface components {
|
|
|
1291
1293
|
};
|
|
1292
1294
|
/**
|
|
1293
1295
|
* InviteTokenSummary
|
|
1294
|
-
* @description Schema for a summary representation of a invite token
|
|
1296
|
+
* @description Schema for a summary representation of a invite token.
|
|
1295
1297
|
*/
|
|
1296
1298
|
InviteTokenSummary: {
|
|
1297
1299
|
/** Usesleft */
|
|
1298
1300
|
usesLeft: number;
|
|
1301
|
+
workspaceRole: components["schemas"]["WorkspaceRole"];
|
|
1302
|
+
/**
|
|
1303
|
+
* Id
|
|
1304
|
+
* Format: uuid4
|
|
1305
|
+
*/
|
|
1306
|
+
id: string;
|
|
1299
1307
|
/** Token */
|
|
1300
1308
|
token: string;
|
|
1309
|
+
/** Createdat */
|
|
1310
|
+
createdAt?: string | null;
|
|
1301
1311
|
};
|
|
1302
1312
|
/**
|
|
1303
1313
|
* LongLiveTokenCreate
|
|
@@ -1505,6 +1515,15 @@ interface components {
|
|
|
1505
1515
|
description?: string | null;
|
|
1506
1516
|
/** Publicurl */
|
|
1507
1517
|
publicUrl: string;
|
|
1518
|
+
/** Metadata */
|
|
1519
|
+
metadata?: {
|
|
1520
|
+
[key: string]: unknown;
|
|
1521
|
+
} | null;
|
|
1522
|
+
/**
|
|
1523
|
+
* Entries
|
|
1524
|
+
* @default []
|
|
1525
|
+
*/
|
|
1526
|
+
entries: string[];
|
|
1508
1527
|
};
|
|
1509
1528
|
/**
|
|
1510
1529
|
* PublishedAssetsResponse
|
|
@@ -1528,6 +1547,19 @@ interface components {
|
|
|
1528
1547
|
name: string;
|
|
1529
1548
|
/** Description */
|
|
1530
1549
|
description?: string | null;
|
|
1550
|
+
/**
|
|
1551
|
+
* Issmart
|
|
1552
|
+
* @default false
|
|
1553
|
+
*/
|
|
1554
|
+
isSmart: boolean;
|
|
1555
|
+
/** Smartrules */
|
|
1556
|
+
smartRules?: {
|
|
1557
|
+
[key: string]: unknown;
|
|
1558
|
+
} | null;
|
|
1559
|
+
/** Metadata */
|
|
1560
|
+
metadata?: {
|
|
1561
|
+
[key: string]: unknown;
|
|
1562
|
+
} | null;
|
|
1531
1563
|
/** Entrycount */
|
|
1532
1564
|
entryCount: number;
|
|
1533
1565
|
/** Entries */
|
|
@@ -1544,6 +1576,19 @@ interface components {
|
|
|
1544
1576
|
name: string;
|
|
1545
1577
|
/** Description */
|
|
1546
1578
|
description?: string | null;
|
|
1579
|
+
/**
|
|
1580
|
+
* Issmart
|
|
1581
|
+
* @default false
|
|
1582
|
+
*/
|
|
1583
|
+
isSmart: boolean;
|
|
1584
|
+
/** Smartrules */
|
|
1585
|
+
smartRules?: {
|
|
1586
|
+
[key: string]: unknown;
|
|
1587
|
+
} | null;
|
|
1588
|
+
/** Metadata */
|
|
1589
|
+
metadata?: {
|
|
1590
|
+
[key: string]: unknown;
|
|
1591
|
+
} | null;
|
|
1547
1592
|
/** Entrycount */
|
|
1548
1593
|
entryCount: number;
|
|
1549
1594
|
/** Sortorder */
|
|
@@ -1594,6 +1639,16 @@ interface components {
|
|
|
1594
1639
|
* @default []
|
|
1595
1640
|
*/
|
|
1596
1641
|
collections: string[];
|
|
1642
|
+
/**
|
|
1643
|
+
* Assets
|
|
1644
|
+
* @default []
|
|
1645
|
+
*/
|
|
1646
|
+
assets: string[];
|
|
1647
|
+
/**
|
|
1648
|
+
* Resources
|
|
1649
|
+
* @default []
|
|
1650
|
+
*/
|
|
1651
|
+
resources: string[];
|
|
1597
1652
|
};
|
|
1598
1653
|
/**
|
|
1599
1654
|
* PublishedEntryRead
|
|
@@ -1623,7 +1678,7 @@ interface components {
|
|
|
1623
1678
|
* Collections
|
|
1624
1679
|
* @default []
|
|
1625
1680
|
*/
|
|
1626
|
-
collections:
|
|
1681
|
+
collections: components["schemas"]["PublishedCollectionSummary"][];
|
|
1627
1682
|
/**
|
|
1628
1683
|
* Resources
|
|
1629
1684
|
* @default []
|
|
@@ -1654,6 +1709,10 @@ interface components {
|
|
|
1654
1709
|
url?: string | null;
|
|
1655
1710
|
/** Externalid */
|
|
1656
1711
|
externalId?: string | null;
|
|
1712
|
+
/** Metadata */
|
|
1713
|
+
metadata?: {
|
|
1714
|
+
[key: string]: unknown;
|
|
1715
|
+
} | null;
|
|
1657
1716
|
/** Role */
|
|
1658
1717
|
role?: string | null;
|
|
1659
1718
|
/** Quantity */
|
|
@@ -1690,6 +1749,11 @@ interface components {
|
|
|
1690
1749
|
metadata?: {
|
|
1691
1750
|
[key: string]: unknown;
|
|
1692
1751
|
} | null;
|
|
1752
|
+
/**
|
|
1753
|
+
* Entries
|
|
1754
|
+
* @default []
|
|
1755
|
+
*/
|
|
1756
|
+
entries: string[];
|
|
1693
1757
|
};
|
|
1694
1758
|
/**
|
|
1695
1759
|
* PublishedResourcesResponse
|
|
@@ -1800,11 +1864,11 @@ interface components {
|
|
|
1800
1864
|
*/
|
|
1801
1865
|
ResourceUpdate: {
|
|
1802
1866
|
/** Slug */
|
|
1803
|
-
slug
|
|
1867
|
+
slug?: string | null;
|
|
1804
1868
|
/** Name */
|
|
1805
|
-
name
|
|
1869
|
+
name?: string | null;
|
|
1806
1870
|
/** Resourcetype */
|
|
1807
|
-
resourceType
|
|
1871
|
+
resourceType?: string | null;
|
|
1808
1872
|
/** Description */
|
|
1809
1873
|
description?: string | null;
|
|
1810
1874
|
/** Url */
|
|
@@ -1815,11 +1879,6 @@ interface components {
|
|
|
1815
1879
|
metadata?: {
|
|
1816
1880
|
[key: string]: unknown;
|
|
1817
1881
|
} | null;
|
|
1818
|
-
/**
|
|
1819
|
-
* Id
|
|
1820
|
-
* Format: uuid4
|
|
1821
|
-
*/
|
|
1822
|
-
id: string;
|
|
1823
1882
|
};
|
|
1824
1883
|
/**
|
|
1825
1884
|
* SiteConfiguration
|
|
@@ -2491,7 +2550,6 @@ type PlatformResourceUpdate = components['schemas']['ResourceUpdate'];
|
|
|
2491
2550
|
* Asset (Platform API - full CRUD with file upload)
|
|
2492
2551
|
*/
|
|
2493
2552
|
type PlatformAsset = components['schemas']['AssetRead'];
|
|
2494
|
-
type PlatformAssetCreate = components['schemas']['AssetCreate'];
|
|
2495
2553
|
type PlatformAssetUpdate = components['schemas']['AssetUpdate'];
|
|
2496
2554
|
type PlatformAssetUpload = {
|
|
2497
2555
|
slug: string;
|
|
@@ -3371,4 +3429,4 @@ declare class PlatformClient extends HttpClient {
|
|
|
3371
3429
|
*/
|
|
3372
3430
|
declare function createPlatformClient(config: PlatformClientConfig): PlatformClient;
|
|
3373
3431
|
|
|
3374
|
-
export { APIClientsModule, type AdminAboutInfo, AdminMaintenanceModule, AdminSystemModule, AdminUsersModule, type ApiToken, type ApiTokenCreate, type ApiTokenWithToken, type AppTheme, AssetsModule, AuthModule, type AuthToken, CollectionsModule, type EmailInvitationRequest, type EmailSettings, EntriesModule, EntryTypesModule, type EventOption, EventsModule, type InviteTokenCreate, type InviteTokenPagination, type InviteTokenSummary, InvitesModule, type MaintenanceStorageDetails, type MaintenanceSummary, type Notification, type NotificationCreate, type NotificationUpdate, NotificationsModule, type PasswordChange, type PasswordResetTokenRequest, type PasswordResetTokenResponse, type PlatformAPIClient, type PlatformAPIClientCreate, type PlatformAPIClientUpdate, type PlatformAPIClientWithToken, type PlatformAsset, type
|
|
3432
|
+
export { APIClientsModule, type AdminAboutInfo, AdminMaintenanceModule, AdminSystemModule, AdminUsersModule, type ApiToken, type ApiTokenCreate, type ApiTokenWithToken, type AppTheme, AssetsModule, AuthModule, type AuthToken, CollectionsModule, type EmailInvitationRequest, type EmailSettings, EntriesModule, EntryTypesModule, type EventOption, EventsModule, type InviteTokenCreate, type InviteTokenPagination, type InviteTokenSummary, InvitesModule, type MaintenanceStorageDetails, type MaintenanceSummary, type Notification, type NotificationCreate, type NotificationUpdate, NotificationsModule, type PasswordChange, type PasswordResetTokenRequest, type PasswordResetTokenResponse, type PlatformAPIClient, type PlatformAPIClientCreate, type PlatformAPIClientUpdate, type PlatformAPIClientWithToken, type PlatformAsset, type PlatformAssetUpdate, PlatformClient, type PlatformClientConfig, type PlatformCollection, type PlatformCollectionCreate, type PlatformCollectionUpdate, type PlatformEntry, type PlatformEntryCreate, type PlatformEntryType, type PlatformEntryUpdate, type PlatformResource, type PlatformResourceCreate, type PlatformResourceUpdate, type PlatformWorkspaceMember, type PlatformWorkspaceMemberCreate, type PlatformWorkspaceMemberUpdate, ResourcesModule, type SystemStatistics, ThemeModule, type UnlockUserRequest, type User, type UserCreate, UserModule, type UserPagination, type UserProfile, type UserProfileUpdate, type UserSummary, type UserUpdate, type Webhook, type WebhookCreate, type WebhookMethod, type WebhookPagination, type WebhookUpdate, WebhooksModule, type Workspace, type WorkspaceActivationRequest, type WorkspaceCreate, WorkspaceMembersModule, type WorkspacePreferences, type WorkspacePreferencesUpdate, type WorkspaceUpdate, type WorkspaceWithMembership, WorkspacesModule, createPlatformClient };
|