@epilot/file-client 1.18.0 → 1.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/definition.js +1 -1
- package/dist/openapi-runtime.json +15 -118
- package/dist/openapi.d.ts +88 -502
- package/dist/openapi.json +43 -415
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -424,101 +424,6 @@ declare namespace Components {
|
|
|
424
424
|
* ef7d985c-2385-44f4-9c71-ae06a52264f8
|
|
425
425
|
*/
|
|
426
426
|
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
427
|
export interface FileItem {
|
|
523
428
|
s3ref?: S3Ref;
|
|
524
429
|
/**
|
|
@@ -929,54 +834,24 @@ declare namespace Paths {
|
|
|
929
834
|
}
|
|
930
835
|
}
|
|
931
836
|
}
|
|
932
|
-
namespace
|
|
837
|
+
namespace CreateUserSchemaFileCollection {
|
|
933
838
|
namespace Parameters {
|
|
934
|
-
|
|
839
|
+
/**
|
|
935
840
|
* example:
|
|
936
|
-
*
|
|
841
|
+
* opportunity
|
|
937
842
|
*/
|
|
938
|
-
|
|
843
|
+
export type Slug = string;
|
|
939
844
|
}
|
|
940
845
|
export interface PathParameters {
|
|
941
|
-
|
|
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
|
|
846
|
+
slug: /**
|
|
948
847
|
* example:
|
|
949
|
-
*
|
|
950
|
-
* "status": 404,
|
|
951
|
-
* "error": "Not Found"
|
|
952
|
-
* }
|
|
848
|
+
* opportunity
|
|
953
849
|
*/
|
|
954
|
-
|
|
850
|
+
Parameters.Slug;
|
|
955
851
|
}
|
|
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;
|
|
852
|
+
export type RequestBody = /* Request body for creating a file collection */ Components.Schemas.FileCollectionCreateRequest;
|
|
969
853
|
namespace Responses {
|
|
970
|
-
export type $201 = /* A file
|
|
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;
|
|
854
|
+
export type $201 = /* A file collection with identifiers and timestamps */ Components.Schemas.FileCollectionItem;
|
|
980
855
|
}
|
|
981
856
|
}
|
|
982
857
|
namespace DeleteFile {
|
|
@@ -1010,61 +885,36 @@ declare namespace Paths {
|
|
|
1010
885
|
export type $200 = Components.Schemas.FileEntity;
|
|
1011
886
|
}
|
|
1012
887
|
}
|
|
1013
|
-
namespace
|
|
1014
|
-
namespace Parameters {
|
|
1015
|
-
/**
|
|
1016
|
-
* example:
|
|
1017
|
-
* documents
|
|
1018
|
-
*/
|
|
1019
|
-
export type CollectionSlug = string;
|
|
1020
|
-
export type Id = /**
|
|
1021
|
-
* example:
|
|
1022
|
-
* ef7d985c-2385-44f4-9c71-ae06a52264f8
|
|
1023
|
-
*/
|
|
1024
|
-
Components.Schemas.EntityId;
|
|
1025
|
-
}
|
|
1026
|
-
export interface PathParameters {
|
|
1027
|
-
id: Parameters.Id;
|
|
1028
|
-
collectionSlug: /**
|
|
1029
|
-
* example:
|
|
1030
|
-
* documents
|
|
1031
|
-
*/
|
|
1032
|
-
Parameters.CollectionSlug;
|
|
1033
|
-
}
|
|
888
|
+
namespace DeleteSession {
|
|
1034
889
|
namespace Responses {
|
|
1035
890
|
export interface $200 {
|
|
1036
891
|
}
|
|
1037
|
-
export type $404 = /**
|
|
1038
|
-
* A generic error returned by the API
|
|
1039
|
-
* example:
|
|
1040
|
-
* {
|
|
1041
|
-
* "status": 404,
|
|
1042
|
-
* "error": "Not Found"
|
|
1043
|
-
* }
|
|
1044
|
-
*/
|
|
1045
|
-
Components.Responses.NotFoundError;
|
|
1046
892
|
}
|
|
1047
893
|
}
|
|
1048
|
-
namespace
|
|
894
|
+
namespace DeleteUserSchemaFileCollection {
|
|
1049
895
|
namespace Parameters {
|
|
1050
896
|
/**
|
|
1051
897
|
* example:
|
|
1052
898
|
* documents
|
|
1053
899
|
*/
|
|
1054
|
-
export type
|
|
1055
|
-
|
|
900
|
+
export type CollectionSlug = string;
|
|
901
|
+
/**
|
|
1056
902
|
* example:
|
|
1057
|
-
*
|
|
903
|
+
* opportunity
|
|
1058
904
|
*/
|
|
1059
|
-
|
|
905
|
+
export type Slug = string;
|
|
1060
906
|
}
|
|
1061
907
|
export interface PathParameters {
|
|
1062
|
-
|
|
1063
|
-
|
|
908
|
+
slug: /**
|
|
909
|
+
* example:
|
|
910
|
+
* opportunity
|
|
911
|
+
*/
|
|
912
|
+
Parameters.Slug;
|
|
913
|
+
collectionSlug: /**
|
|
1064
914
|
* example:
|
|
1065
915
|
* documents
|
|
1066
916
|
*/
|
|
1067
|
-
Parameters.
|
|
917
|
+
Parameters.CollectionSlug;
|
|
1068
918
|
}
|
|
1069
919
|
namespace Responses {
|
|
1070
920
|
export interface $200 {
|
|
@@ -1080,12 +930,6 @@ declare namespace Paths {
|
|
|
1080
930
|
Components.Responses.NotFoundError;
|
|
1081
931
|
}
|
|
1082
932
|
}
|
|
1083
|
-
namespace DeleteSession {
|
|
1084
|
-
namespace Responses {
|
|
1085
|
-
export interface $200 {
|
|
1086
|
-
}
|
|
1087
|
-
}
|
|
1088
|
-
}
|
|
1089
933
|
namespace DownloadFile {
|
|
1090
934
|
namespace Parameters {
|
|
1091
935
|
export type Attachment = boolean;
|
|
@@ -1192,62 +1036,6 @@ declare namespace Paths {
|
|
|
1192
1036
|
export type $200 = Components.Schemas.FileEntity;
|
|
1193
1037
|
}
|
|
1194
1038
|
}
|
|
1195
|
-
namespace GetFileCollections {
|
|
1196
|
-
namespace Parameters {
|
|
1197
|
-
export type Id = /**
|
|
1198
|
-
* example:
|
|
1199
|
-
* ef7d985c-2385-44f4-9c71-ae06a52264f8
|
|
1200
|
-
*/
|
|
1201
|
-
Components.Schemas.EntityId;
|
|
1202
|
-
export type Parents = string[];
|
|
1203
|
-
}
|
|
1204
|
-
export interface PathParameters {
|
|
1205
|
-
id: Parameters.Id;
|
|
1206
|
-
}
|
|
1207
|
-
export interface QueryParameters {
|
|
1208
|
-
parents?: Parameters.Parents;
|
|
1209
|
-
}
|
|
1210
|
-
namespace Responses {
|
|
1211
|
-
export type $200 = /* A file collection with identifiers and timestamps */ Components.Schemas.FileCollectionItem[];
|
|
1212
|
-
export type $404 = /**
|
|
1213
|
-
* A generic error returned by the API
|
|
1214
|
-
* example:
|
|
1215
|
-
* {
|
|
1216
|
-
* "status": 404,
|
|
1217
|
-
* "error": "Not Found"
|
|
1218
|
-
* }
|
|
1219
|
-
*/
|
|
1220
|
-
Components.Responses.NotFoundError;
|
|
1221
|
-
}
|
|
1222
|
-
}
|
|
1223
|
-
namespace GetFileFolders {
|
|
1224
|
-
namespace Parameters {
|
|
1225
|
-
export type Id = /**
|
|
1226
|
-
* example:
|
|
1227
|
-
* ef7d985c-2385-44f4-9c71-ae06a52264f8
|
|
1228
|
-
*/
|
|
1229
|
-
Components.Schemas.EntityId;
|
|
1230
|
-
export type Parents = string[];
|
|
1231
|
-
}
|
|
1232
|
-
export interface PathParameters {
|
|
1233
|
-
id: Parameters.Id;
|
|
1234
|
-
}
|
|
1235
|
-
export interface QueryParameters {
|
|
1236
|
-
parents?: Parameters.Parents;
|
|
1237
|
-
}
|
|
1238
|
-
namespace Responses {
|
|
1239
|
-
export type $200 = /* A file folder with identifiers and timestamps */ Components.Schemas.FileFolderItem[];
|
|
1240
|
-
export type $404 = /**
|
|
1241
|
-
* A generic error returned by the API
|
|
1242
|
-
* example:
|
|
1243
|
-
* {
|
|
1244
|
-
* "status": 404,
|
|
1245
|
-
* "error": "Not Found"
|
|
1246
|
-
* }
|
|
1247
|
-
*/
|
|
1248
|
-
Components.Responses.NotFoundError;
|
|
1249
|
-
}
|
|
1250
|
-
}
|
|
1251
1039
|
namespace GetFilesInCollection {
|
|
1252
1040
|
namespace Parameters {
|
|
1253
1041
|
/**
|
|
@@ -1287,45 +1075,6 @@ declare namespace Paths {
|
|
|
1287
1075
|
}
|
|
1288
1076
|
}
|
|
1289
1077
|
}
|
|
1290
|
-
namespace GetFilesInFolder {
|
|
1291
|
-
namespace Parameters {
|
|
1292
|
-
/**
|
|
1293
|
-
* example:
|
|
1294
|
-
* documents
|
|
1295
|
-
*/
|
|
1296
|
-
export type FolderSlug = string;
|
|
1297
|
-
export type Id = /**
|
|
1298
|
-
* example:
|
|
1299
|
-
* ef7d985c-2385-44f4-9c71-ae06a52264f8
|
|
1300
|
-
*/
|
|
1301
|
-
Components.Schemas.EntityId;
|
|
1302
|
-
}
|
|
1303
|
-
export interface PathParameters {
|
|
1304
|
-
id: Parameters.Id;
|
|
1305
|
-
folderSlug: /**
|
|
1306
|
-
* example:
|
|
1307
|
-
* documents
|
|
1308
|
-
*/
|
|
1309
|
-
Parameters.FolderSlug;
|
|
1310
|
-
}
|
|
1311
|
-
namespace Responses {
|
|
1312
|
-
export type $200 = Components.Schemas.FileEntity[];
|
|
1313
|
-
export interface $403 {
|
|
1314
|
-
/**
|
|
1315
|
-
* example:
|
|
1316
|
-
* User must have permission to view this entity to access its files
|
|
1317
|
-
*/
|
|
1318
|
-
error?: string;
|
|
1319
|
-
}
|
|
1320
|
-
export interface $404 {
|
|
1321
|
-
/**
|
|
1322
|
-
* example:
|
|
1323
|
-
* Entity not found
|
|
1324
|
-
*/
|
|
1325
|
-
error?: string;
|
|
1326
|
-
}
|
|
1327
|
-
}
|
|
1328
|
-
}
|
|
1329
1078
|
namespace GetGlobalFileCollections {
|
|
1330
1079
|
namespace Parameters {
|
|
1331
1080
|
/**
|
|
@@ -1345,29 +1094,29 @@ declare namespace Paths {
|
|
|
1345
1094
|
export type $200 = /* A file collection with identifiers and timestamps */ Components.Schemas.FileCollectionItem[];
|
|
1346
1095
|
}
|
|
1347
1096
|
}
|
|
1348
|
-
namespace
|
|
1097
|
+
namespace GetSession {
|
|
1098
|
+
namespace Responses {
|
|
1099
|
+
export interface $200 {
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
namespace GetUserSchemaFileCollections {
|
|
1349
1104
|
namespace Parameters {
|
|
1350
1105
|
/**
|
|
1351
1106
|
* example:
|
|
1352
|
-
*
|
|
1107
|
+
* opportunity
|
|
1353
1108
|
*/
|
|
1354
|
-
export type
|
|
1109
|
+
export type Slug = string;
|
|
1355
1110
|
}
|
|
1356
1111
|
export interface PathParameters {
|
|
1357
|
-
|
|
1112
|
+
slug: /**
|
|
1358
1113
|
* example:
|
|
1359
|
-
*
|
|
1114
|
+
* opportunity
|
|
1360
1115
|
*/
|
|
1361
|
-
Parameters.
|
|
1116
|
+
Parameters.Slug;
|
|
1362
1117
|
}
|
|
1363
1118
|
namespace Responses {
|
|
1364
|
-
export type $200 = /* A file
|
|
1365
|
-
}
|
|
1366
|
-
}
|
|
1367
|
-
namespace GetSession {
|
|
1368
|
-
namespace Responses {
|
|
1369
|
-
export interface $200 {
|
|
1370
|
-
}
|
|
1119
|
+
export type $200 = /* A file collection with identifiers and timestamps */ Components.Schemas.FileCollectionItem[];
|
|
1371
1120
|
}
|
|
1372
1121
|
}
|
|
1373
1122
|
namespace ListPublicLinksForFile {
|
|
@@ -1529,21 +1278,25 @@ declare namespace Paths {
|
|
|
1529
1278
|
export type $200 = Components.Schemas.FileEntity;
|
|
1530
1279
|
}
|
|
1531
1280
|
}
|
|
1532
|
-
namespace
|
|
1281
|
+
namespace UpdateUserSchemaFileCollection {
|
|
1533
1282
|
namespace Parameters {
|
|
1534
1283
|
/**
|
|
1535
1284
|
* example:
|
|
1536
1285
|
* documents
|
|
1537
1286
|
*/
|
|
1538
1287
|
export type CollectionSlug = string;
|
|
1539
|
-
|
|
1288
|
+
/**
|
|
1540
1289
|
* example:
|
|
1541
|
-
*
|
|
1290
|
+
* opportunity
|
|
1542
1291
|
*/
|
|
1543
|
-
|
|
1292
|
+
export type Slug = string;
|
|
1544
1293
|
}
|
|
1545
1294
|
export interface PathParameters {
|
|
1546
|
-
|
|
1295
|
+
slug: /**
|
|
1296
|
+
* example:
|
|
1297
|
+
* opportunity
|
|
1298
|
+
*/
|
|
1299
|
+
Parameters.Slug;
|
|
1547
1300
|
collectionSlug: /**
|
|
1548
1301
|
* example:
|
|
1549
1302
|
* documents
|
|
@@ -1564,41 +1317,6 @@ declare namespace Paths {
|
|
|
1564
1317
|
Components.Responses.NotFoundError;
|
|
1565
1318
|
}
|
|
1566
1319
|
}
|
|
1567
|
-
namespace UpdateFileFolder {
|
|
1568
|
-
namespace Parameters {
|
|
1569
|
-
/**
|
|
1570
|
-
* example:
|
|
1571
|
-
* documents
|
|
1572
|
-
*/
|
|
1573
|
-
export type FolderSlug = string;
|
|
1574
|
-
export type Id = /**
|
|
1575
|
-
* example:
|
|
1576
|
-
* ef7d985c-2385-44f4-9c71-ae06a52264f8
|
|
1577
|
-
*/
|
|
1578
|
-
Components.Schemas.EntityId;
|
|
1579
|
-
}
|
|
1580
|
-
export interface PathParameters {
|
|
1581
|
-
id: Parameters.Id;
|
|
1582
|
-
folderSlug: /**
|
|
1583
|
-
* example:
|
|
1584
|
-
* documents
|
|
1585
|
-
*/
|
|
1586
|
-
Parameters.FolderSlug;
|
|
1587
|
-
}
|
|
1588
|
-
export type RequestBody = Components.Schemas.FileFolderAttributes;
|
|
1589
|
-
namespace Responses {
|
|
1590
|
-
export type $200 = /* A file folder with identifiers and timestamps */ Components.Schemas.FileFolderItem;
|
|
1591
|
-
export type $404 = /**
|
|
1592
|
-
* A generic error returned by the API
|
|
1593
|
-
* example:
|
|
1594
|
-
* {
|
|
1595
|
-
* "status": 404,
|
|
1596
|
-
* "error": "Not Found"
|
|
1597
|
-
* }
|
|
1598
|
-
*/
|
|
1599
|
-
Components.Responses.NotFoundError;
|
|
1600
|
-
}
|
|
1601
|
-
}
|
|
1602
1320
|
namespace UploadFile {
|
|
1603
1321
|
namespace Parameters {
|
|
1604
1322
|
export type FileEntityId = /**
|
|
@@ -1906,109 +1624,49 @@ export interface OperationMethods {
|
|
|
1906
1624
|
config?: AxiosRequestConfig
|
|
1907
1625
|
): OperationResponse<Paths.UploadFilePublic.Responses.$201>
|
|
1908
1626
|
/**
|
|
1909
|
-
*
|
|
1910
|
-
*
|
|
1911
|
-
* Gets a list of folders that exist for an entity. Deprecated - use getFileCollections instead.
|
|
1912
|
-
*/
|
|
1913
|
-
'getFileFolders'(
|
|
1914
|
-
parameters?: Parameters<Paths.GetFileFolders.QueryParameters & Paths.GetFileFolders.PathParameters> | null,
|
|
1915
|
-
data?: any,
|
|
1916
|
-
config?: AxiosRequestConfig
|
|
1917
|
-
): OperationResponse<Paths.GetFileFolders.Responses.$200>
|
|
1918
|
-
/**
|
|
1919
|
-
* createFileFolder - createFileFolder
|
|
1920
|
-
*
|
|
1921
|
-
* Creates a new file folder for the specified entity. Deprecated - use createFileCollection instead.
|
|
1922
|
-
*/
|
|
1923
|
-
'createFileFolder'(
|
|
1924
|
-
parameters?: Parameters<Paths.CreateFileFolder.PathParameters> | null,
|
|
1925
|
-
data?: Paths.CreateFileFolder.RequestBody,
|
|
1926
|
-
config?: AxiosRequestConfig
|
|
1927
|
-
): OperationResponse<Paths.CreateFileFolder.Responses.$201>
|
|
1928
|
-
/**
|
|
1929
|
-
* updateFileFolder - updateFileFolder
|
|
1930
|
-
*
|
|
1931
|
-
* Updates a specific file folder by slug. Deprecated - use updateFileCollection instead.
|
|
1932
|
-
*/
|
|
1933
|
-
'updateFileFolder'(
|
|
1934
|
-
parameters?: Parameters<Paths.UpdateFileFolder.PathParameters> | null,
|
|
1935
|
-
data?: Paths.UpdateFileFolder.RequestBody,
|
|
1936
|
-
config?: AxiosRequestConfig
|
|
1937
|
-
): OperationResponse<Paths.UpdateFileFolder.Responses.$200>
|
|
1938
|
-
/**
|
|
1939
|
-
* deleteFileFolder - deleteFileFolder
|
|
1940
|
-
*
|
|
1941
|
-
* Deletes a specific file folder by slug. Deprecated - use deleteFileCollection instead.
|
|
1942
|
-
*/
|
|
1943
|
-
'deleteFileFolder'(
|
|
1944
|
-
parameters?: Parameters<Paths.DeleteFileFolder.PathParameters> | null,
|
|
1945
|
-
data?: any,
|
|
1946
|
-
config?: AxiosRequestConfig
|
|
1947
|
-
): OperationResponse<Paths.DeleteFileFolder.Responses.$200>
|
|
1948
|
-
/**
|
|
1949
|
-
* getFilesInFolder - getFilesInFolder
|
|
1950
|
-
*
|
|
1951
|
-
* Gets all files within a specific folder for an entity. Deprecated - use getFilesInCollection instead.
|
|
1952
|
-
*/
|
|
1953
|
-
'getFilesInFolder'(
|
|
1954
|
-
parameters?: Parameters<Paths.GetFilesInFolder.PathParameters> | null,
|
|
1955
|
-
data?: any,
|
|
1956
|
-
config?: AxiosRequestConfig
|
|
1957
|
-
): OperationResponse<Paths.GetFilesInFolder.Responses.$200>
|
|
1958
|
-
/**
|
|
1959
|
-
* getGlobalFileFolders - getGlobalFileFolders
|
|
1960
|
-
*
|
|
1961
|
-
* Gets all global file folders for a specific schema. Deprecated - use getGlobalFileCollections instead.
|
|
1962
|
-
*/
|
|
1963
|
-
'getGlobalFileFolders'(
|
|
1964
|
-
parameters?: Parameters<Paths.GetGlobalFileFolders.PathParameters> | null,
|
|
1965
|
-
data?: any,
|
|
1966
|
-
config?: AxiosRequestConfig
|
|
1967
|
-
): OperationResponse<Paths.GetGlobalFileFolders.Responses.$200>
|
|
1968
|
-
/**
|
|
1969
|
-
* getFileCollections - getFileCollections
|
|
1627
|
+
* getUserSchemaFileCollections - getUserSchemaFileCollections
|
|
1970
1628
|
*
|
|
1971
|
-
* Gets a list of collections
|
|
1629
|
+
* Gets a list of file collections for the current user and schema
|
|
1972
1630
|
*/
|
|
1973
|
-
'
|
|
1974
|
-
parameters?: Parameters<Paths.
|
|
1631
|
+
'getUserSchemaFileCollections'(
|
|
1632
|
+
parameters?: Parameters<Paths.GetUserSchemaFileCollections.PathParameters> | null,
|
|
1975
1633
|
data?: any,
|
|
1976
1634
|
config?: AxiosRequestConfig
|
|
1977
|
-
): OperationResponse<Paths.
|
|
1635
|
+
): OperationResponse<Paths.GetUserSchemaFileCollections.Responses.$200>
|
|
1978
1636
|
/**
|
|
1979
|
-
*
|
|
1637
|
+
* createUserSchemaFileCollection - createUserSchemaFileCollection
|
|
1980
1638
|
*
|
|
1981
|
-
* Creates a new file collection for the
|
|
1639
|
+
* Creates a new file collection for the current user and schema
|
|
1982
1640
|
*/
|
|
1983
|
-
'
|
|
1984
|
-
parameters?: Parameters<Paths.
|
|
1985
|
-
data?: Paths.
|
|
1641
|
+
'createUserSchemaFileCollection'(
|
|
1642
|
+
parameters?: Parameters<Paths.CreateUserSchemaFileCollection.PathParameters> | null,
|
|
1643
|
+
data?: Paths.CreateUserSchemaFileCollection.RequestBody,
|
|
1986
1644
|
config?: AxiosRequestConfig
|
|
1987
|
-
): OperationResponse<Paths.
|
|
1645
|
+
): OperationResponse<Paths.CreateUserSchemaFileCollection.Responses.$201>
|
|
1988
1646
|
/**
|
|
1989
|
-
*
|
|
1647
|
+
* updateUserSchemaFileCollection - updateUserSchemaFileCollection
|
|
1990
1648
|
*
|
|
1991
|
-
* Updates a
|
|
1649
|
+
* Updates a file collection for the current user and schema
|
|
1992
1650
|
*/
|
|
1993
|
-
'
|
|
1994
|
-
parameters?: Parameters<Paths.
|
|
1995
|
-
data?: Paths.
|
|
1651
|
+
'updateUserSchemaFileCollection'(
|
|
1652
|
+
parameters?: Parameters<Paths.UpdateUserSchemaFileCollection.PathParameters> | null,
|
|
1653
|
+
data?: Paths.UpdateUserSchemaFileCollection.RequestBody,
|
|
1996
1654
|
config?: AxiosRequestConfig
|
|
1997
|
-
): OperationResponse<Paths.
|
|
1655
|
+
): OperationResponse<Paths.UpdateUserSchemaFileCollection.Responses.$200>
|
|
1998
1656
|
/**
|
|
1999
|
-
*
|
|
1657
|
+
* deleteUserSchemaFileCollection - deleteUserSchemaFileCollection
|
|
2000
1658
|
*
|
|
2001
|
-
* Deletes a
|
|
1659
|
+
* Deletes a file collection for the current user and schema
|
|
2002
1660
|
*/
|
|
2003
|
-
'
|
|
2004
|
-
parameters?: Parameters<Paths.
|
|
1661
|
+
'deleteUserSchemaFileCollection'(
|
|
1662
|
+
parameters?: Parameters<Paths.DeleteUserSchemaFileCollection.PathParameters> | null,
|
|
2005
1663
|
data?: any,
|
|
2006
1664
|
config?: AxiosRequestConfig
|
|
2007
|
-
): OperationResponse<Paths.
|
|
1665
|
+
): OperationResponse<Paths.DeleteUserSchemaFileCollection.Responses.$200>
|
|
2008
1666
|
/**
|
|
2009
1667
|
* getFilesInCollection - getFilesInCollection
|
|
2010
1668
|
*
|
|
2011
|
-
* Gets all files within a specific collection for an entity
|
|
1669
|
+
* Gets all files within a specific collection for an entity (uses schema-based taxonomy derived from entity)
|
|
2012
1670
|
*/
|
|
2013
1671
|
'getFilesInCollection'(
|
|
2014
1672
|
parameters?: Parameters<Paths.GetFilesInCollection.PathParameters> | null,
|
|
@@ -2293,123 +1951,55 @@ export interface PathsDictionary {
|
|
|
2293
1951
|
config?: AxiosRequestConfig
|
|
2294
1952
|
): OperationResponse<Paths.UploadFilePublic.Responses.$201>
|
|
2295
1953
|
}
|
|
2296
|
-
['/v1/
|
|
2297
|
-
/**
|
|
2298
|
-
* getFileFolders - getFileFolders
|
|
2299
|
-
*
|
|
2300
|
-
* Gets a list of folders that exist for an entity. Deprecated - use getFileCollections instead.
|
|
2301
|
-
*/
|
|
2302
|
-
'get'(
|
|
2303
|
-
parameters?: Parameters<Paths.GetFileFolders.QueryParameters & Paths.GetFileFolders.PathParameters> | null,
|
|
2304
|
-
data?: any,
|
|
2305
|
-
config?: AxiosRequestConfig
|
|
2306
|
-
): OperationResponse<Paths.GetFileFolders.Responses.$200>
|
|
2307
|
-
/**
|
|
2308
|
-
* createFileFolder - createFileFolder
|
|
2309
|
-
*
|
|
2310
|
-
* Creates a new file folder for the specified entity. Deprecated - use createFileCollection instead.
|
|
2311
|
-
*/
|
|
2312
|
-
'post'(
|
|
2313
|
-
parameters?: Parameters<Paths.CreateFileFolder.PathParameters> | null,
|
|
2314
|
-
data?: Paths.CreateFileFolder.RequestBody,
|
|
2315
|
-
config?: AxiosRequestConfig
|
|
2316
|
-
): OperationResponse<Paths.CreateFileFolder.Responses.$201>
|
|
2317
|
-
}
|
|
2318
|
-
['/v1/entity/{id}/folders/{folderSlug}']: {
|
|
2319
|
-
/**
|
|
2320
|
-
* updateFileFolder - updateFileFolder
|
|
2321
|
-
*
|
|
2322
|
-
* Updates a specific file folder by slug. Deprecated - use updateFileCollection instead.
|
|
2323
|
-
*/
|
|
2324
|
-
'put'(
|
|
2325
|
-
parameters?: Parameters<Paths.UpdateFileFolder.PathParameters> | null,
|
|
2326
|
-
data?: Paths.UpdateFileFolder.RequestBody,
|
|
2327
|
-
config?: AxiosRequestConfig
|
|
2328
|
-
): OperationResponse<Paths.UpdateFileFolder.Responses.$200>
|
|
2329
|
-
/**
|
|
2330
|
-
* deleteFileFolder - deleteFileFolder
|
|
2331
|
-
*
|
|
2332
|
-
* Deletes a specific file folder by slug. Deprecated - use deleteFileCollection instead.
|
|
2333
|
-
*/
|
|
2334
|
-
'delete'(
|
|
2335
|
-
parameters?: Parameters<Paths.DeleteFileFolder.PathParameters> | null,
|
|
2336
|
-
data?: any,
|
|
2337
|
-
config?: AxiosRequestConfig
|
|
2338
|
-
): OperationResponse<Paths.DeleteFileFolder.Responses.$200>
|
|
2339
|
-
}
|
|
2340
|
-
['/v1/entity/{id}/folders/{folderSlug}/files']: {
|
|
2341
|
-
/**
|
|
2342
|
-
* getFilesInFolder - getFilesInFolder
|
|
2343
|
-
*
|
|
2344
|
-
* Gets all files within a specific folder for an entity. Deprecated - use getFilesInCollection instead.
|
|
2345
|
-
*/
|
|
2346
|
-
'get'(
|
|
2347
|
-
parameters?: Parameters<Paths.GetFilesInFolder.PathParameters> | null,
|
|
2348
|
-
data?: any,
|
|
2349
|
-
config?: AxiosRequestConfig
|
|
2350
|
-
): OperationResponse<Paths.GetFilesInFolder.Responses.$200>
|
|
2351
|
-
}
|
|
2352
|
-
['/v1/folders/{schemaSlug}']: {
|
|
2353
|
-
/**
|
|
2354
|
-
* getGlobalFileFolders - getGlobalFileFolders
|
|
2355
|
-
*
|
|
2356
|
-
* Gets all global file folders for a specific schema. Deprecated - use getGlobalFileCollections instead.
|
|
2357
|
-
*/
|
|
2358
|
-
'get'(
|
|
2359
|
-
parameters?: Parameters<Paths.GetGlobalFileFolders.PathParameters> | null,
|
|
2360
|
-
data?: any,
|
|
2361
|
-
config?: AxiosRequestConfig
|
|
2362
|
-
): OperationResponse<Paths.GetGlobalFileFolders.Responses.$200>
|
|
2363
|
-
}
|
|
2364
|
-
['/v1/entity/{id}/collections']: {
|
|
1954
|
+
['/v1/{slug}/collections']: {
|
|
2365
1955
|
/**
|
|
2366
|
-
*
|
|
1956
|
+
* getUserSchemaFileCollections - getUserSchemaFileCollections
|
|
2367
1957
|
*
|
|
2368
|
-
* Gets a list of collections
|
|
1958
|
+
* Gets a list of file collections for the current user and schema
|
|
2369
1959
|
*/
|
|
2370
1960
|
'get'(
|
|
2371
|
-
parameters?: Parameters<Paths.
|
|
1961
|
+
parameters?: Parameters<Paths.GetUserSchemaFileCollections.PathParameters> | null,
|
|
2372
1962
|
data?: any,
|
|
2373
1963
|
config?: AxiosRequestConfig
|
|
2374
|
-
): OperationResponse<Paths.
|
|
1964
|
+
): OperationResponse<Paths.GetUserSchemaFileCollections.Responses.$200>
|
|
2375
1965
|
/**
|
|
2376
|
-
*
|
|
1966
|
+
* createUserSchemaFileCollection - createUserSchemaFileCollection
|
|
2377
1967
|
*
|
|
2378
|
-
* Creates a new file collection for the
|
|
1968
|
+
* Creates a new file collection for the current user and schema
|
|
2379
1969
|
*/
|
|
2380
1970
|
'post'(
|
|
2381
|
-
parameters?: Parameters<Paths.
|
|
2382
|
-
data?: Paths.
|
|
1971
|
+
parameters?: Parameters<Paths.CreateUserSchemaFileCollection.PathParameters> | null,
|
|
1972
|
+
data?: Paths.CreateUserSchemaFileCollection.RequestBody,
|
|
2383
1973
|
config?: AxiosRequestConfig
|
|
2384
|
-
): OperationResponse<Paths.
|
|
1974
|
+
): OperationResponse<Paths.CreateUserSchemaFileCollection.Responses.$201>
|
|
2385
1975
|
}
|
|
2386
|
-
['/v1/
|
|
1976
|
+
['/v1/{slug}/collections/{collectionSlug}']: {
|
|
2387
1977
|
/**
|
|
2388
|
-
*
|
|
1978
|
+
* updateUserSchemaFileCollection - updateUserSchemaFileCollection
|
|
2389
1979
|
*
|
|
2390
|
-
* Updates a
|
|
1980
|
+
* Updates a file collection for the current user and schema
|
|
2391
1981
|
*/
|
|
2392
1982
|
'put'(
|
|
2393
|
-
parameters?: Parameters<Paths.
|
|
2394
|
-
data?: Paths.
|
|
1983
|
+
parameters?: Parameters<Paths.UpdateUserSchemaFileCollection.PathParameters> | null,
|
|
1984
|
+
data?: Paths.UpdateUserSchemaFileCollection.RequestBody,
|
|
2395
1985
|
config?: AxiosRequestConfig
|
|
2396
|
-
): OperationResponse<Paths.
|
|
1986
|
+
): OperationResponse<Paths.UpdateUserSchemaFileCollection.Responses.$200>
|
|
2397
1987
|
/**
|
|
2398
|
-
*
|
|
1988
|
+
* deleteUserSchemaFileCollection - deleteUserSchemaFileCollection
|
|
2399
1989
|
*
|
|
2400
|
-
* Deletes a
|
|
1990
|
+
* Deletes a file collection for the current user and schema
|
|
2401
1991
|
*/
|
|
2402
1992
|
'delete'(
|
|
2403
|
-
parameters?: Parameters<Paths.
|
|
1993
|
+
parameters?: Parameters<Paths.DeleteUserSchemaFileCollection.PathParameters> | null,
|
|
2404
1994
|
data?: any,
|
|
2405
1995
|
config?: AxiosRequestConfig
|
|
2406
|
-
): OperationResponse<Paths.
|
|
1996
|
+
): OperationResponse<Paths.DeleteUserSchemaFileCollection.Responses.$200>
|
|
2407
1997
|
}
|
|
2408
1998
|
['/v1/entity/{id}/collections/{collectionSlug}/files']: {
|
|
2409
1999
|
/**
|
|
2410
2000
|
* getFilesInCollection - getFilesInCollection
|
|
2411
2001
|
*
|
|
2412
|
-
* Gets all files within a specific collection for an entity
|
|
2002
|
+
* Gets all files within a specific collection for an entity (uses schema-based taxonomy derived from entity)
|
|
2413
2003
|
*/
|
|
2414
2004
|
'get'(
|
|
2415
2005
|
parameters?: Parameters<Paths.GetFilesInCollection.PathParameters> | null,
|
|
@@ -2450,10 +2040,6 @@ export type FileCollectionId = Components.Schemas.FileCollectionId;
|
|
|
2450
2040
|
export type FileCollectionItem = Components.Schemas.FileCollectionItem;
|
|
2451
2041
|
export type FileEntity = Components.Schemas.FileEntity;
|
|
2452
2042
|
export type FileEntityId = Components.Schemas.FileEntityId;
|
|
2453
|
-
export type FileFolderAttributes = Components.Schemas.FileFolderAttributes;
|
|
2454
|
-
export type FileFolderCreateRequest = Components.Schemas.FileFolderCreateRequest;
|
|
2455
|
-
export type FileFolderId = Components.Schemas.FileFolderId;
|
|
2456
|
-
export type FileFolderItem = Components.Schemas.FileFolderItem;
|
|
2457
2043
|
export type FileItem = Components.Schemas.FileItem;
|
|
2458
2044
|
export type FileRelationItem = Components.Schemas.FileRelationItem;
|
|
2459
2045
|
export type FileType = Components.Schemas.FileType;
|