@epilot/file-client 1.19.0 → 1.20.1
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/definition.js +1 -1
- package/dist/openapi-runtime.json +0 -177
- package/dist/openapi.d.ts +9 -615
- package/dist/openapi.json +12 -551
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -303,6 +303,15 @@ declare namespace Components {
|
|
|
303
303
|
* 0
|
|
304
304
|
*/
|
|
305
305
|
order?: number;
|
|
306
|
+
/**
|
|
307
|
+
* List of purpose slugs where the collection is enabled. If empty, enabled for all.
|
|
308
|
+
* example:
|
|
309
|
+
* [
|
|
310
|
+
* "purpose:9eefcb98-93cf-4c5b-a040-f1d26d57c177",
|
|
311
|
+
* "purpose:5c544c09-a691-43ed-a7fa-0a8b44b5b161"
|
|
312
|
+
* ]
|
|
313
|
+
*/
|
|
314
|
+
enabled_locations?: string[];
|
|
306
315
|
/**
|
|
307
316
|
* Timestamp when the collection was created
|
|
308
317
|
* example:
|
|
@@ -424,101 +433,6 @@ declare namespace Components {
|
|
|
424
433
|
* ef7d985c-2385-44f4-9c71-ae06a52264f8
|
|
425
434
|
*/
|
|
426
435
|
string | string /* uuid */;
|
|
427
|
-
export interface FileFolderAttributes {
|
|
428
|
-
/**
|
|
429
|
-
* Name of the folder
|
|
430
|
-
*/
|
|
431
|
-
name?: string;
|
|
432
|
-
/**
|
|
433
|
-
* Array of parent folder slugs, empty array if top-level folder
|
|
434
|
-
*/
|
|
435
|
-
parents?: string[];
|
|
436
|
-
/**
|
|
437
|
-
* Whether the folder is starred / favorited
|
|
438
|
-
*/
|
|
439
|
-
starred?: boolean;
|
|
440
|
-
}
|
|
441
|
-
/**
|
|
442
|
-
* Request body for creating a file folder
|
|
443
|
-
*/
|
|
444
|
-
export interface FileFolderCreateRequest {
|
|
445
|
-
/**
|
|
446
|
-
* Name of the folder
|
|
447
|
-
*/
|
|
448
|
-
name: string;
|
|
449
|
-
/**
|
|
450
|
-
* Array of parent folder slugs, empty array if top-level folder
|
|
451
|
-
*/
|
|
452
|
-
parents?: string[];
|
|
453
|
-
/**
|
|
454
|
-
* Whether the folder is starred / favorited
|
|
455
|
-
*/
|
|
456
|
-
starred?: boolean;
|
|
457
|
-
}
|
|
458
|
-
/**
|
|
459
|
-
* Generated uuid for a file folder
|
|
460
|
-
*/
|
|
461
|
-
export type FileFolderId = string; // uuid
|
|
462
|
-
/**
|
|
463
|
-
* A file folder with identifiers and timestamps
|
|
464
|
-
*/
|
|
465
|
-
export interface FileFolderItem {
|
|
466
|
-
/**
|
|
467
|
-
* Full slug for the folder. Format depends on collection type:
|
|
468
|
-
* - User collection: `_system_files_collection_{entity_uuid}_{user_id}:{collection_name}`
|
|
469
|
-
* Example: `_system_files_collection_3fa85f64-5717-4562-b3fc-2c963f66afa6_10234:documents`
|
|
470
|
-
* - Global collection: `_system_files_collection_schema_{schema_slug}:{collection_name}`
|
|
471
|
-
* Example: `_system_files_collection_schema_opportunity:templates`
|
|
472
|
-
*
|
|
473
|
-
* example:
|
|
474
|
-
* _system_files_collection_3fa85f64-5717-4562-b3fc-2c963f66afa6_10234:documents
|
|
475
|
-
*/
|
|
476
|
-
slug?: string;
|
|
477
|
-
/**
|
|
478
|
-
* Display name of the folder
|
|
479
|
-
* example:
|
|
480
|
-
* Documents
|
|
481
|
-
*/
|
|
482
|
-
name: string;
|
|
483
|
-
id?: /* Generated uuid for a file folder */ FileFolderId /* uuid */;
|
|
484
|
-
/**
|
|
485
|
-
* Array of parent folder slugs, empty array if top-level folder. Format depends on collection type:
|
|
486
|
-
* - User collection: `_system_files_collection_{entity_uuid}_{user_id}`
|
|
487
|
-
* Example: `["_system_files_collection_3fa85f64-5717-4562-b3fc-2c963f66afa6_10234"]`
|
|
488
|
-
* - Global collection: `_system_files_collection_schema_{schema_slug}`
|
|
489
|
-
* Example: `["_system_files_collection_schema_opportunity"]`
|
|
490
|
-
*
|
|
491
|
-
* example:
|
|
492
|
-
* [
|
|
493
|
-
* "_system_files_collection_3fa85f64-5717-4562-b3fc-2c963f66afa6_10234"
|
|
494
|
-
* ]
|
|
495
|
-
*/
|
|
496
|
-
parents?: string[];
|
|
497
|
-
/**
|
|
498
|
-
* Whether the folder is starred / favorited
|
|
499
|
-
* example:
|
|
500
|
-
* false
|
|
501
|
-
*/
|
|
502
|
-
starred?: boolean;
|
|
503
|
-
/**
|
|
504
|
-
* Display order for the folder
|
|
505
|
-
* example:
|
|
506
|
-
* 0
|
|
507
|
-
*/
|
|
508
|
-
order?: number;
|
|
509
|
-
/**
|
|
510
|
-
* Timestamp when the folder was created
|
|
511
|
-
* example:
|
|
512
|
-
* 2024-01-01T12:00:00Z
|
|
513
|
-
*/
|
|
514
|
-
created_at?: string; // date-time
|
|
515
|
-
/**
|
|
516
|
-
* Timestamp when the folder was last updated
|
|
517
|
-
* example:
|
|
518
|
-
* 2024-01-02T12:00:00Z
|
|
519
|
-
*/
|
|
520
|
-
updated_at?: string; // date-time
|
|
521
|
-
}
|
|
522
436
|
export interface FileItem {
|
|
523
437
|
s3ref?: S3Ref;
|
|
524
438
|
/**
|
|
@@ -929,56 +843,6 @@ declare namespace Paths {
|
|
|
929
843
|
}
|
|
930
844
|
}
|
|
931
845
|
}
|
|
932
|
-
namespace CreateFileCollection {
|
|
933
|
-
namespace Parameters {
|
|
934
|
-
export type Id = /**
|
|
935
|
-
* example:
|
|
936
|
-
* ef7d985c-2385-44f4-9c71-ae06a52264f8
|
|
937
|
-
*/
|
|
938
|
-
Components.Schemas.EntityId;
|
|
939
|
-
}
|
|
940
|
-
export interface PathParameters {
|
|
941
|
-
id: Parameters.Id;
|
|
942
|
-
}
|
|
943
|
-
export type RequestBody = /* Request body for creating a file collection */ Components.Schemas.FileCollectionCreateRequest;
|
|
944
|
-
namespace Responses {
|
|
945
|
-
export type $201 = /* A file collection with identifiers and timestamps */ Components.Schemas.FileCollectionItem;
|
|
946
|
-
export type $404 = /**
|
|
947
|
-
* A generic error returned by the API
|
|
948
|
-
* example:
|
|
949
|
-
* {
|
|
950
|
-
* "status": 404,
|
|
951
|
-
* "error": "Not Found"
|
|
952
|
-
* }
|
|
953
|
-
*/
|
|
954
|
-
Components.Responses.NotFoundError;
|
|
955
|
-
}
|
|
956
|
-
}
|
|
957
|
-
namespace CreateFileFolder {
|
|
958
|
-
namespace Parameters {
|
|
959
|
-
export type Id = /**
|
|
960
|
-
* example:
|
|
961
|
-
* ef7d985c-2385-44f4-9c71-ae06a52264f8
|
|
962
|
-
*/
|
|
963
|
-
Components.Schemas.EntityId;
|
|
964
|
-
}
|
|
965
|
-
export interface PathParameters {
|
|
966
|
-
id: Parameters.Id;
|
|
967
|
-
}
|
|
968
|
-
export type RequestBody = /* Request body for creating a file folder */ Components.Schemas.FileFolderCreateRequest;
|
|
969
|
-
namespace Responses {
|
|
970
|
-
export type $201 = /* A file folder with identifiers and timestamps */ Components.Schemas.FileFolderItem;
|
|
971
|
-
export type $404 = /**
|
|
972
|
-
* A generic error returned by the API
|
|
973
|
-
* example:
|
|
974
|
-
* {
|
|
975
|
-
* "status": 404,
|
|
976
|
-
* "error": "Not Found"
|
|
977
|
-
* }
|
|
978
|
-
*/
|
|
979
|
-
Components.Responses.NotFoundError;
|
|
980
|
-
}
|
|
981
|
-
}
|
|
982
846
|
namespace CreateUserSchemaFileCollection {
|
|
983
847
|
namespace Parameters {
|
|
984
848
|
/**
|
|
@@ -1030,76 +894,6 @@ declare namespace Paths {
|
|
|
1030
894
|
export type $200 = Components.Schemas.FileEntity;
|
|
1031
895
|
}
|
|
1032
896
|
}
|
|
1033
|
-
namespace DeleteFileCollection {
|
|
1034
|
-
namespace Parameters {
|
|
1035
|
-
/**
|
|
1036
|
-
* example:
|
|
1037
|
-
* documents
|
|
1038
|
-
*/
|
|
1039
|
-
export type CollectionSlug = string;
|
|
1040
|
-
export type Id = /**
|
|
1041
|
-
* example:
|
|
1042
|
-
* ef7d985c-2385-44f4-9c71-ae06a52264f8
|
|
1043
|
-
*/
|
|
1044
|
-
Components.Schemas.EntityId;
|
|
1045
|
-
}
|
|
1046
|
-
export interface PathParameters {
|
|
1047
|
-
id: Parameters.Id;
|
|
1048
|
-
collectionSlug: /**
|
|
1049
|
-
* example:
|
|
1050
|
-
* documents
|
|
1051
|
-
*/
|
|
1052
|
-
Parameters.CollectionSlug;
|
|
1053
|
-
}
|
|
1054
|
-
namespace Responses {
|
|
1055
|
-
export interface $200 {
|
|
1056
|
-
}
|
|
1057
|
-
export type $404 = /**
|
|
1058
|
-
* A generic error returned by the API
|
|
1059
|
-
* example:
|
|
1060
|
-
* {
|
|
1061
|
-
* "status": 404,
|
|
1062
|
-
* "error": "Not Found"
|
|
1063
|
-
* }
|
|
1064
|
-
*/
|
|
1065
|
-
Components.Responses.NotFoundError;
|
|
1066
|
-
}
|
|
1067
|
-
}
|
|
1068
|
-
namespace DeleteFileFolder {
|
|
1069
|
-
namespace Parameters {
|
|
1070
|
-
/**
|
|
1071
|
-
* example:
|
|
1072
|
-
* documents
|
|
1073
|
-
*/
|
|
1074
|
-
export type FolderSlug = string;
|
|
1075
|
-
export type Id = /**
|
|
1076
|
-
* example:
|
|
1077
|
-
* ef7d985c-2385-44f4-9c71-ae06a52264f8
|
|
1078
|
-
*/
|
|
1079
|
-
Components.Schemas.EntityId;
|
|
1080
|
-
}
|
|
1081
|
-
export interface PathParameters {
|
|
1082
|
-
id: Parameters.Id;
|
|
1083
|
-
folderSlug: /**
|
|
1084
|
-
* example:
|
|
1085
|
-
* documents
|
|
1086
|
-
*/
|
|
1087
|
-
Parameters.FolderSlug;
|
|
1088
|
-
}
|
|
1089
|
-
namespace Responses {
|
|
1090
|
-
export interface $200 {
|
|
1091
|
-
}
|
|
1092
|
-
export type $404 = /**
|
|
1093
|
-
* A generic error returned by the API
|
|
1094
|
-
* example:
|
|
1095
|
-
* {
|
|
1096
|
-
* "status": 404,
|
|
1097
|
-
* "error": "Not Found"
|
|
1098
|
-
* }
|
|
1099
|
-
*/
|
|
1100
|
-
Components.Responses.NotFoundError;
|
|
1101
|
-
}
|
|
1102
|
-
}
|
|
1103
897
|
namespace DeleteSession {
|
|
1104
898
|
namespace Responses {
|
|
1105
899
|
export interface $200 {
|
|
@@ -1251,62 +1045,6 @@ declare namespace Paths {
|
|
|
1251
1045
|
export type $200 = Components.Schemas.FileEntity;
|
|
1252
1046
|
}
|
|
1253
1047
|
}
|
|
1254
|
-
namespace GetFileCollections {
|
|
1255
|
-
namespace Parameters {
|
|
1256
|
-
export type Id = /**
|
|
1257
|
-
* example:
|
|
1258
|
-
* ef7d985c-2385-44f4-9c71-ae06a52264f8
|
|
1259
|
-
*/
|
|
1260
|
-
Components.Schemas.EntityId;
|
|
1261
|
-
export type Parents = string[];
|
|
1262
|
-
}
|
|
1263
|
-
export interface PathParameters {
|
|
1264
|
-
id: Parameters.Id;
|
|
1265
|
-
}
|
|
1266
|
-
export interface QueryParameters {
|
|
1267
|
-
parents?: Parameters.Parents;
|
|
1268
|
-
}
|
|
1269
|
-
namespace Responses {
|
|
1270
|
-
export type $200 = /* A file collection with identifiers and timestamps */ Components.Schemas.FileCollectionItem[];
|
|
1271
|
-
export type $404 = /**
|
|
1272
|
-
* A generic error returned by the API
|
|
1273
|
-
* example:
|
|
1274
|
-
* {
|
|
1275
|
-
* "status": 404,
|
|
1276
|
-
* "error": "Not Found"
|
|
1277
|
-
* }
|
|
1278
|
-
*/
|
|
1279
|
-
Components.Responses.NotFoundError;
|
|
1280
|
-
}
|
|
1281
|
-
}
|
|
1282
|
-
namespace GetFileFolders {
|
|
1283
|
-
namespace Parameters {
|
|
1284
|
-
export type Id = /**
|
|
1285
|
-
* example:
|
|
1286
|
-
* ef7d985c-2385-44f4-9c71-ae06a52264f8
|
|
1287
|
-
*/
|
|
1288
|
-
Components.Schemas.EntityId;
|
|
1289
|
-
export type Parents = string[];
|
|
1290
|
-
}
|
|
1291
|
-
export interface PathParameters {
|
|
1292
|
-
id: Parameters.Id;
|
|
1293
|
-
}
|
|
1294
|
-
export interface QueryParameters {
|
|
1295
|
-
parents?: Parameters.Parents;
|
|
1296
|
-
}
|
|
1297
|
-
namespace Responses {
|
|
1298
|
-
export type $200 = /* A file folder with identifiers and timestamps */ Components.Schemas.FileFolderItem[];
|
|
1299
|
-
export type $404 = /**
|
|
1300
|
-
* A generic error returned by the API
|
|
1301
|
-
* example:
|
|
1302
|
-
* {
|
|
1303
|
-
* "status": 404,
|
|
1304
|
-
* "error": "Not Found"
|
|
1305
|
-
* }
|
|
1306
|
-
*/
|
|
1307
|
-
Components.Responses.NotFoundError;
|
|
1308
|
-
}
|
|
1309
|
-
}
|
|
1310
1048
|
namespace GetFilesInCollection {
|
|
1311
1049
|
namespace Parameters {
|
|
1312
1050
|
/**
|
|
@@ -1346,45 +1084,6 @@ declare namespace Paths {
|
|
|
1346
1084
|
}
|
|
1347
1085
|
}
|
|
1348
1086
|
}
|
|
1349
|
-
namespace GetFilesInFolder {
|
|
1350
|
-
namespace Parameters {
|
|
1351
|
-
/**
|
|
1352
|
-
* example:
|
|
1353
|
-
* documents
|
|
1354
|
-
*/
|
|
1355
|
-
export type FolderSlug = string;
|
|
1356
|
-
export type Id = /**
|
|
1357
|
-
* example:
|
|
1358
|
-
* ef7d985c-2385-44f4-9c71-ae06a52264f8
|
|
1359
|
-
*/
|
|
1360
|
-
Components.Schemas.EntityId;
|
|
1361
|
-
}
|
|
1362
|
-
export interface PathParameters {
|
|
1363
|
-
id: Parameters.Id;
|
|
1364
|
-
folderSlug: /**
|
|
1365
|
-
* example:
|
|
1366
|
-
* documents
|
|
1367
|
-
*/
|
|
1368
|
-
Parameters.FolderSlug;
|
|
1369
|
-
}
|
|
1370
|
-
namespace Responses {
|
|
1371
|
-
export type $200 = Components.Schemas.FileEntity[];
|
|
1372
|
-
export interface $403 {
|
|
1373
|
-
/**
|
|
1374
|
-
* example:
|
|
1375
|
-
* User must have permission to view this entity to access its files
|
|
1376
|
-
*/
|
|
1377
|
-
error?: string;
|
|
1378
|
-
}
|
|
1379
|
-
export interface $404 {
|
|
1380
|
-
/**
|
|
1381
|
-
* example:
|
|
1382
|
-
* Entity not found
|
|
1383
|
-
*/
|
|
1384
|
-
error?: string;
|
|
1385
|
-
}
|
|
1386
|
-
}
|
|
1387
|
-
}
|
|
1388
1087
|
namespace GetGlobalFileCollections {
|
|
1389
1088
|
namespace Parameters {
|
|
1390
1089
|
/**
|
|
@@ -1404,25 +1103,6 @@ declare namespace Paths {
|
|
|
1404
1103
|
export type $200 = /* A file collection with identifiers and timestamps */ Components.Schemas.FileCollectionItem[];
|
|
1405
1104
|
}
|
|
1406
1105
|
}
|
|
1407
|
-
namespace GetGlobalFileFolders {
|
|
1408
|
-
namespace Parameters {
|
|
1409
|
-
/**
|
|
1410
|
-
* example:
|
|
1411
|
-
* order
|
|
1412
|
-
*/
|
|
1413
|
-
export type SchemaSlug = string;
|
|
1414
|
-
}
|
|
1415
|
-
export interface PathParameters {
|
|
1416
|
-
schemaSlug: /**
|
|
1417
|
-
* example:
|
|
1418
|
-
* order
|
|
1419
|
-
*/
|
|
1420
|
-
Parameters.SchemaSlug;
|
|
1421
|
-
}
|
|
1422
|
-
namespace Responses {
|
|
1423
|
-
export type $200 = /* A file folder with identifiers and timestamps */ Components.Schemas.FileFolderItem[];
|
|
1424
|
-
}
|
|
1425
|
-
}
|
|
1426
1106
|
namespace GetSession {
|
|
1427
1107
|
namespace Responses {
|
|
1428
1108
|
export interface $200 {
|
|
@@ -1607,76 +1287,6 @@ declare namespace Paths {
|
|
|
1607
1287
|
export type $200 = Components.Schemas.FileEntity;
|
|
1608
1288
|
}
|
|
1609
1289
|
}
|
|
1610
|
-
namespace UpdateFileCollection {
|
|
1611
|
-
namespace Parameters {
|
|
1612
|
-
/**
|
|
1613
|
-
* example:
|
|
1614
|
-
* documents
|
|
1615
|
-
*/
|
|
1616
|
-
export type CollectionSlug = string;
|
|
1617
|
-
export type Id = /**
|
|
1618
|
-
* example:
|
|
1619
|
-
* ef7d985c-2385-44f4-9c71-ae06a52264f8
|
|
1620
|
-
*/
|
|
1621
|
-
Components.Schemas.EntityId;
|
|
1622
|
-
}
|
|
1623
|
-
export interface PathParameters {
|
|
1624
|
-
id: Parameters.Id;
|
|
1625
|
-
collectionSlug: /**
|
|
1626
|
-
* example:
|
|
1627
|
-
* documents
|
|
1628
|
-
*/
|
|
1629
|
-
Parameters.CollectionSlug;
|
|
1630
|
-
}
|
|
1631
|
-
export type RequestBody = Components.Schemas.FileCollectionAttributes;
|
|
1632
|
-
namespace Responses {
|
|
1633
|
-
export type $200 = /* A file collection with identifiers and timestamps */ Components.Schemas.FileCollectionItem;
|
|
1634
|
-
export type $404 = /**
|
|
1635
|
-
* A generic error returned by the API
|
|
1636
|
-
* example:
|
|
1637
|
-
* {
|
|
1638
|
-
* "status": 404,
|
|
1639
|
-
* "error": "Not Found"
|
|
1640
|
-
* }
|
|
1641
|
-
*/
|
|
1642
|
-
Components.Responses.NotFoundError;
|
|
1643
|
-
}
|
|
1644
|
-
}
|
|
1645
|
-
namespace UpdateFileFolder {
|
|
1646
|
-
namespace Parameters {
|
|
1647
|
-
/**
|
|
1648
|
-
* example:
|
|
1649
|
-
* documents
|
|
1650
|
-
*/
|
|
1651
|
-
export type FolderSlug = string;
|
|
1652
|
-
export type Id = /**
|
|
1653
|
-
* example:
|
|
1654
|
-
* ef7d985c-2385-44f4-9c71-ae06a52264f8
|
|
1655
|
-
*/
|
|
1656
|
-
Components.Schemas.EntityId;
|
|
1657
|
-
}
|
|
1658
|
-
export interface PathParameters {
|
|
1659
|
-
id: Parameters.Id;
|
|
1660
|
-
folderSlug: /**
|
|
1661
|
-
* example:
|
|
1662
|
-
* documents
|
|
1663
|
-
*/
|
|
1664
|
-
Parameters.FolderSlug;
|
|
1665
|
-
}
|
|
1666
|
-
export type RequestBody = Components.Schemas.FileFolderAttributes;
|
|
1667
|
-
namespace Responses {
|
|
1668
|
-
export type $200 = /* A file folder with identifiers and timestamps */ Components.Schemas.FileFolderItem;
|
|
1669
|
-
export type $404 = /**
|
|
1670
|
-
* A generic error returned by the API
|
|
1671
|
-
* example:
|
|
1672
|
-
* {
|
|
1673
|
-
* "status": 404,
|
|
1674
|
-
* "error": "Not Found"
|
|
1675
|
-
* }
|
|
1676
|
-
*/
|
|
1677
|
-
Components.Responses.NotFoundError;
|
|
1678
|
-
}
|
|
1679
|
-
}
|
|
1680
1290
|
namespace UpdateUserSchemaFileCollection {
|
|
1681
1291
|
namespace Parameters {
|
|
1682
1292
|
/**
|
|
@@ -2022,106 +1632,6 @@ export interface OperationMethods {
|
|
|
2022
1632
|
data?: Paths.UploadFilePublic.RequestBody,
|
|
2023
1633
|
config?: AxiosRequestConfig
|
|
2024
1634
|
): OperationResponse<Paths.UploadFilePublic.Responses.$201>
|
|
2025
|
-
/**
|
|
2026
|
-
* getFileFolders - getFileFolders
|
|
2027
|
-
*
|
|
2028
|
-
* Gets a list of folders that exist for an entity. Deprecated - use getFileCollections instead.
|
|
2029
|
-
*/
|
|
2030
|
-
'getFileFolders'(
|
|
2031
|
-
parameters?: Parameters<Paths.GetFileFolders.QueryParameters & Paths.GetFileFolders.PathParameters> | null,
|
|
2032
|
-
data?: any,
|
|
2033
|
-
config?: AxiosRequestConfig
|
|
2034
|
-
): OperationResponse<Paths.GetFileFolders.Responses.$200>
|
|
2035
|
-
/**
|
|
2036
|
-
* createFileFolder - createFileFolder
|
|
2037
|
-
*
|
|
2038
|
-
* Creates a new file folder for the specified entity. Deprecated - use createFileCollection instead.
|
|
2039
|
-
*/
|
|
2040
|
-
'createFileFolder'(
|
|
2041
|
-
parameters?: Parameters<Paths.CreateFileFolder.PathParameters> | null,
|
|
2042
|
-
data?: Paths.CreateFileFolder.RequestBody,
|
|
2043
|
-
config?: AxiosRequestConfig
|
|
2044
|
-
): OperationResponse<Paths.CreateFileFolder.Responses.$201>
|
|
2045
|
-
/**
|
|
2046
|
-
* updateFileFolder - updateFileFolder
|
|
2047
|
-
*
|
|
2048
|
-
* Updates a specific file folder by slug. Deprecated - use updateFileCollection instead.
|
|
2049
|
-
*/
|
|
2050
|
-
'updateFileFolder'(
|
|
2051
|
-
parameters?: Parameters<Paths.UpdateFileFolder.PathParameters> | null,
|
|
2052
|
-
data?: Paths.UpdateFileFolder.RequestBody,
|
|
2053
|
-
config?: AxiosRequestConfig
|
|
2054
|
-
): OperationResponse<Paths.UpdateFileFolder.Responses.$200>
|
|
2055
|
-
/**
|
|
2056
|
-
* deleteFileFolder - deleteFileFolder
|
|
2057
|
-
*
|
|
2058
|
-
* Deletes a specific file folder by slug. Deprecated - use deleteFileCollection instead.
|
|
2059
|
-
*/
|
|
2060
|
-
'deleteFileFolder'(
|
|
2061
|
-
parameters?: Parameters<Paths.DeleteFileFolder.PathParameters> | null,
|
|
2062
|
-
data?: any,
|
|
2063
|
-
config?: AxiosRequestConfig
|
|
2064
|
-
): OperationResponse<Paths.DeleteFileFolder.Responses.$200>
|
|
2065
|
-
/**
|
|
2066
|
-
* getFilesInFolder - getFilesInFolder
|
|
2067
|
-
*
|
|
2068
|
-
* Gets all files within a specific folder for an entity. Deprecated - use getFilesInCollection instead.
|
|
2069
|
-
*/
|
|
2070
|
-
'getFilesInFolder'(
|
|
2071
|
-
parameters?: Parameters<Paths.GetFilesInFolder.PathParameters> | null,
|
|
2072
|
-
data?: any,
|
|
2073
|
-
config?: AxiosRequestConfig
|
|
2074
|
-
): OperationResponse<Paths.GetFilesInFolder.Responses.$200>
|
|
2075
|
-
/**
|
|
2076
|
-
* getGlobalFileFolders - getGlobalFileFolders
|
|
2077
|
-
*
|
|
2078
|
-
* Gets all global file folders for a specific schema. Deprecated - use getGlobalFileCollections instead.
|
|
2079
|
-
*/
|
|
2080
|
-
'getGlobalFileFolders'(
|
|
2081
|
-
parameters?: Parameters<Paths.GetGlobalFileFolders.PathParameters> | null,
|
|
2082
|
-
data?: any,
|
|
2083
|
-
config?: AxiosRequestConfig
|
|
2084
|
-
): OperationResponse<Paths.GetGlobalFileFolders.Responses.$200>
|
|
2085
|
-
/**
|
|
2086
|
-
* getFileCollections - getFileCollections
|
|
2087
|
-
*
|
|
2088
|
-
* Gets a list of collections that exist for an entity
|
|
2089
|
-
*/
|
|
2090
|
-
'getFileCollections'(
|
|
2091
|
-
parameters?: Parameters<Paths.GetFileCollections.QueryParameters & Paths.GetFileCollections.PathParameters> | null,
|
|
2092
|
-
data?: any,
|
|
2093
|
-
config?: AxiosRequestConfig
|
|
2094
|
-
): OperationResponse<Paths.GetFileCollections.Responses.$200>
|
|
2095
|
-
/**
|
|
2096
|
-
* createFileCollection - createFileCollection
|
|
2097
|
-
*
|
|
2098
|
-
* Creates a new file collection for the specified entity
|
|
2099
|
-
*/
|
|
2100
|
-
'createFileCollection'(
|
|
2101
|
-
parameters?: Parameters<Paths.CreateFileCollection.PathParameters> | null,
|
|
2102
|
-
data?: Paths.CreateFileCollection.RequestBody,
|
|
2103
|
-
config?: AxiosRequestConfig
|
|
2104
|
-
): OperationResponse<Paths.CreateFileCollection.Responses.$201>
|
|
2105
|
-
/**
|
|
2106
|
-
* updateFileCollection - updateFileCollection
|
|
2107
|
-
*
|
|
2108
|
-
* Updates a file collection for the specified entity
|
|
2109
|
-
*/
|
|
2110
|
-
'updateFileCollection'(
|
|
2111
|
-
parameters?: Parameters<Paths.UpdateFileCollection.PathParameters> | null,
|
|
2112
|
-
data?: Paths.UpdateFileCollection.RequestBody,
|
|
2113
|
-
config?: AxiosRequestConfig
|
|
2114
|
-
): OperationResponse<Paths.UpdateFileCollection.Responses.$200>
|
|
2115
|
-
/**
|
|
2116
|
-
* deleteFileCollection - deleteFileCollection
|
|
2117
|
-
*
|
|
2118
|
-
* Deletes a file collection for the specified entity
|
|
2119
|
-
*/
|
|
2120
|
-
'deleteFileCollection'(
|
|
2121
|
-
parameters?: Parameters<Paths.DeleteFileCollection.PathParameters> | null,
|
|
2122
|
-
data?: any,
|
|
2123
|
-
config?: AxiosRequestConfig
|
|
2124
|
-
): OperationResponse<Paths.DeleteFileCollection.Responses.$200>
|
|
2125
1635
|
/**
|
|
2126
1636
|
* getUserSchemaFileCollections - getUserSchemaFileCollections
|
|
2127
1637
|
*
|
|
@@ -2450,118 +1960,6 @@ export interface PathsDictionary {
|
|
|
2450
1960
|
config?: AxiosRequestConfig
|
|
2451
1961
|
): OperationResponse<Paths.UploadFilePublic.Responses.$201>
|
|
2452
1962
|
}
|
|
2453
|
-
['/v1/entity/{id}/folders']: {
|
|
2454
|
-
/**
|
|
2455
|
-
* getFileFolders - getFileFolders
|
|
2456
|
-
*
|
|
2457
|
-
* Gets a list of folders that exist for an entity. Deprecated - use getFileCollections instead.
|
|
2458
|
-
*/
|
|
2459
|
-
'get'(
|
|
2460
|
-
parameters?: Parameters<Paths.GetFileFolders.QueryParameters & Paths.GetFileFolders.PathParameters> | null,
|
|
2461
|
-
data?: any,
|
|
2462
|
-
config?: AxiosRequestConfig
|
|
2463
|
-
): OperationResponse<Paths.GetFileFolders.Responses.$200>
|
|
2464
|
-
/**
|
|
2465
|
-
* createFileFolder - createFileFolder
|
|
2466
|
-
*
|
|
2467
|
-
* Creates a new file folder for the specified entity. Deprecated - use createFileCollection instead.
|
|
2468
|
-
*/
|
|
2469
|
-
'post'(
|
|
2470
|
-
parameters?: Parameters<Paths.CreateFileFolder.PathParameters> | null,
|
|
2471
|
-
data?: Paths.CreateFileFolder.RequestBody,
|
|
2472
|
-
config?: AxiosRequestConfig
|
|
2473
|
-
): OperationResponse<Paths.CreateFileFolder.Responses.$201>
|
|
2474
|
-
}
|
|
2475
|
-
['/v1/entity/{id}/folders/{folderSlug}']: {
|
|
2476
|
-
/**
|
|
2477
|
-
* updateFileFolder - updateFileFolder
|
|
2478
|
-
*
|
|
2479
|
-
* Updates a specific file folder by slug. Deprecated - use updateFileCollection instead.
|
|
2480
|
-
*/
|
|
2481
|
-
'put'(
|
|
2482
|
-
parameters?: Parameters<Paths.UpdateFileFolder.PathParameters> | null,
|
|
2483
|
-
data?: Paths.UpdateFileFolder.RequestBody,
|
|
2484
|
-
config?: AxiosRequestConfig
|
|
2485
|
-
): OperationResponse<Paths.UpdateFileFolder.Responses.$200>
|
|
2486
|
-
/**
|
|
2487
|
-
* deleteFileFolder - deleteFileFolder
|
|
2488
|
-
*
|
|
2489
|
-
* Deletes a specific file folder by slug. Deprecated - use deleteFileCollection instead.
|
|
2490
|
-
*/
|
|
2491
|
-
'delete'(
|
|
2492
|
-
parameters?: Parameters<Paths.DeleteFileFolder.PathParameters> | null,
|
|
2493
|
-
data?: any,
|
|
2494
|
-
config?: AxiosRequestConfig
|
|
2495
|
-
): OperationResponse<Paths.DeleteFileFolder.Responses.$200>
|
|
2496
|
-
}
|
|
2497
|
-
['/v1/entity/{id}/folders/{folderSlug}/files']: {
|
|
2498
|
-
/**
|
|
2499
|
-
* getFilesInFolder - getFilesInFolder
|
|
2500
|
-
*
|
|
2501
|
-
* Gets all files within a specific folder for an entity. Deprecated - use getFilesInCollection instead.
|
|
2502
|
-
*/
|
|
2503
|
-
'get'(
|
|
2504
|
-
parameters?: Parameters<Paths.GetFilesInFolder.PathParameters> | null,
|
|
2505
|
-
data?: any,
|
|
2506
|
-
config?: AxiosRequestConfig
|
|
2507
|
-
): OperationResponse<Paths.GetFilesInFolder.Responses.$200>
|
|
2508
|
-
}
|
|
2509
|
-
['/v1/folders/{schemaSlug}']: {
|
|
2510
|
-
/**
|
|
2511
|
-
* getGlobalFileFolders - getGlobalFileFolders
|
|
2512
|
-
*
|
|
2513
|
-
* Gets all global file folders for a specific schema. Deprecated - use getGlobalFileCollections instead.
|
|
2514
|
-
*/
|
|
2515
|
-
'get'(
|
|
2516
|
-
parameters?: Parameters<Paths.GetGlobalFileFolders.PathParameters> | null,
|
|
2517
|
-
data?: any,
|
|
2518
|
-
config?: AxiosRequestConfig
|
|
2519
|
-
): OperationResponse<Paths.GetGlobalFileFolders.Responses.$200>
|
|
2520
|
-
}
|
|
2521
|
-
['/v1/entity/{id}/collections']: {
|
|
2522
|
-
/**
|
|
2523
|
-
* getFileCollections - getFileCollections
|
|
2524
|
-
*
|
|
2525
|
-
* Gets a list of collections that exist for an entity
|
|
2526
|
-
*/
|
|
2527
|
-
'get'(
|
|
2528
|
-
parameters?: Parameters<Paths.GetFileCollections.QueryParameters & Paths.GetFileCollections.PathParameters> | null,
|
|
2529
|
-
data?: any,
|
|
2530
|
-
config?: AxiosRequestConfig
|
|
2531
|
-
): OperationResponse<Paths.GetFileCollections.Responses.$200>
|
|
2532
|
-
/**
|
|
2533
|
-
* createFileCollection - createFileCollection
|
|
2534
|
-
*
|
|
2535
|
-
* Creates a new file collection for the specified entity
|
|
2536
|
-
*/
|
|
2537
|
-
'post'(
|
|
2538
|
-
parameters?: Parameters<Paths.CreateFileCollection.PathParameters> | null,
|
|
2539
|
-
data?: Paths.CreateFileCollection.RequestBody,
|
|
2540
|
-
config?: AxiosRequestConfig
|
|
2541
|
-
): OperationResponse<Paths.CreateFileCollection.Responses.$201>
|
|
2542
|
-
}
|
|
2543
|
-
['/v1/entity/{id}/collections/{collectionSlug}']: {
|
|
2544
|
-
/**
|
|
2545
|
-
* updateFileCollection - updateFileCollection
|
|
2546
|
-
*
|
|
2547
|
-
* Updates a file collection for the specified entity
|
|
2548
|
-
*/
|
|
2549
|
-
'put'(
|
|
2550
|
-
parameters?: Parameters<Paths.UpdateFileCollection.PathParameters> | null,
|
|
2551
|
-
data?: Paths.UpdateFileCollection.RequestBody,
|
|
2552
|
-
config?: AxiosRequestConfig
|
|
2553
|
-
): OperationResponse<Paths.UpdateFileCollection.Responses.$200>
|
|
2554
|
-
/**
|
|
2555
|
-
* deleteFileCollection - deleteFileCollection
|
|
2556
|
-
*
|
|
2557
|
-
* Deletes a file collection for the specified entity
|
|
2558
|
-
*/
|
|
2559
|
-
'delete'(
|
|
2560
|
-
parameters?: Parameters<Paths.DeleteFileCollection.PathParameters> | null,
|
|
2561
|
-
data?: any,
|
|
2562
|
-
config?: AxiosRequestConfig
|
|
2563
|
-
): OperationResponse<Paths.DeleteFileCollection.Responses.$200>
|
|
2564
|
-
}
|
|
2565
1963
|
['/v1/{slug}/collections']: {
|
|
2566
1964
|
/**
|
|
2567
1965
|
* getUserSchemaFileCollections - getUserSchemaFileCollections
|
|
@@ -2651,10 +2049,6 @@ export type FileCollectionId = Components.Schemas.FileCollectionId;
|
|
|
2651
2049
|
export type FileCollectionItem = Components.Schemas.FileCollectionItem;
|
|
2652
2050
|
export type FileEntity = Components.Schemas.FileEntity;
|
|
2653
2051
|
export type FileEntityId = Components.Schemas.FileEntityId;
|
|
2654
|
-
export type FileFolderAttributes = Components.Schemas.FileFolderAttributes;
|
|
2655
|
-
export type FileFolderCreateRequest = Components.Schemas.FileFolderCreateRequest;
|
|
2656
|
-
export type FileFolderId = Components.Schemas.FileFolderId;
|
|
2657
|
-
export type FileFolderItem = Components.Schemas.FileFolderItem;
|
|
2658
2052
|
export type FileItem = Components.Schemas.FileItem;
|
|
2659
2053
|
export type FileRelationItem = Components.Schemas.FileRelationItem;
|
|
2660
2054
|
export type FileType = Components.Schemas.FileType;
|