@protontech/drive-sdk 0.9.2 → 0.9.3
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/crypto/openPGPCrypto.d.ts +2 -4
- package/dist/crypto/openPGPCrypto.js +12 -24
- package/dist/crypto/openPGPCrypto.js.map +1 -1
- package/dist/internal/apiService/driveTypes.d.ts +492 -384
- package/dist/internal/apiService/transformers.d.ts +10 -1
- package/dist/internal/apiService/transformers.js +13 -1
- package/dist/internal/apiService/transformers.js.map +1 -1
- package/dist/internal/sharing/apiService.js +10 -2
- package/dist/internal/sharing/apiService.js.map +1 -1
- package/package.json +1 -1
- package/src/crypto/openPGPCrypto.ts +17 -33
- package/src/internal/apiService/driveTypes.ts +492 -384
- package/src/internal/apiService/transformers.ts +17 -1
- package/src/internal/sharing/apiService.ts +11 -3
|
@@ -349,6 +349,7 @@ export interface paths {
|
|
|
349
349
|
put?: never;
|
|
350
350
|
/**
|
|
351
351
|
* Create document
|
|
352
|
+
* @deprecated
|
|
352
353
|
* @description Create a new proton document.
|
|
353
354
|
*/
|
|
354
355
|
post: operations["post_drive-shares-{shareID}-documents"];
|
|
@@ -472,6 +473,7 @@ export interface paths {
|
|
|
472
473
|
put?: never;
|
|
473
474
|
/**
|
|
474
475
|
* Create a folder
|
|
476
|
+
* @deprecated
|
|
475
477
|
* @description Create a new folder in a given share, under a given folder link.
|
|
476
478
|
*/
|
|
477
479
|
post: operations["post_drive-shares-{shareID}-folders"];
|
|
@@ -481,7 +483,7 @@ export interface paths {
|
|
|
481
483
|
patch?: never;
|
|
482
484
|
trace?: never;
|
|
483
485
|
};
|
|
484
|
-
"/drive/
|
|
486
|
+
"/drive/v2/volumes/{volumeID}/folders": {
|
|
485
487
|
parameters: {
|
|
486
488
|
query?: never;
|
|
487
489
|
header?: never;
|
|
@@ -491,38 +493,17 @@ export interface paths {
|
|
|
491
493
|
get?: never;
|
|
492
494
|
put?: never;
|
|
493
495
|
/**
|
|
494
|
-
*
|
|
495
|
-
* @
|
|
496
|
-
* @description Permanently delete children from folder, skipping trash. Can only be done for draft links.
|
|
497
|
-
*/
|
|
498
|
-
post: operations["post_drive-shares-{shareID}-folders-{linkID}-delete_multiple"];
|
|
499
|
-
delete?: never;
|
|
500
|
-
options?: never;
|
|
501
|
-
head?: never;
|
|
502
|
-
patch?: never;
|
|
503
|
-
trace?: never;
|
|
504
|
-
};
|
|
505
|
-
"/drive/shares/{shareID}/folders/{linkID}/children": {
|
|
506
|
-
parameters: {
|
|
507
|
-
query?: never;
|
|
508
|
-
header?: never;
|
|
509
|
-
path?: never;
|
|
510
|
-
cookie?: never;
|
|
511
|
-
};
|
|
512
|
-
/**
|
|
513
|
-
* List folder children
|
|
514
|
-
* @description List children of a given folder.
|
|
496
|
+
* Create a folder (v2)
|
|
497
|
+
* @description Create a new folder under a given parent folder.
|
|
515
498
|
*/
|
|
516
|
-
|
|
517
|
-
put?: never;
|
|
518
|
-
post?: never;
|
|
499
|
+
post: operations["post_drive-v2-volumes-{volumeID}-folders"];
|
|
519
500
|
delete?: never;
|
|
520
501
|
options?: never;
|
|
521
502
|
head?: never;
|
|
522
503
|
patch?: never;
|
|
523
504
|
trace?: never;
|
|
524
505
|
};
|
|
525
|
-
"/drive/shares/{shareID}/folders/{linkID}/
|
|
506
|
+
"/drive/shares/{shareID}/folders/{linkID}/delete_multiple": {
|
|
526
507
|
parameters: {
|
|
527
508
|
query?: never;
|
|
528
509
|
header?: never;
|
|
@@ -532,26 +513,31 @@ export interface paths {
|
|
|
532
513
|
get?: never;
|
|
533
514
|
put?: never;
|
|
534
515
|
/**
|
|
535
|
-
*
|
|
516
|
+
* Delete drafts from folder
|
|
536
517
|
* @deprecated
|
|
518
|
+
* @description Permanently delete children from folder, skipping trash. Can only be done for draft links.
|
|
537
519
|
*/
|
|
538
|
-
post: operations["post_drive-shares-{shareID}-folders-{linkID}-
|
|
520
|
+
post: operations["post_drive-shares-{shareID}-folders-{linkID}-delete_multiple"];
|
|
539
521
|
delete?: never;
|
|
540
522
|
options?: never;
|
|
541
523
|
head?: never;
|
|
542
524
|
patch?: never;
|
|
543
525
|
trace?: never;
|
|
544
526
|
};
|
|
545
|
-
"/drive/shares/{shareID}/folders/{linkID}": {
|
|
527
|
+
"/drive/shares/{shareID}/folders/{linkID}/children": {
|
|
546
528
|
parameters: {
|
|
547
529
|
query?: never;
|
|
548
530
|
header?: never;
|
|
549
531
|
path?: never;
|
|
550
532
|
cookie?: never;
|
|
551
533
|
};
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
534
|
+
/**
|
|
535
|
+
* List folder children
|
|
536
|
+
* @deprecated
|
|
537
|
+
* @description List children of a given folder.
|
|
538
|
+
*/
|
|
539
|
+
get: operations["get_drive-shares-{shareID}-folders-{linkID}-children"];
|
|
540
|
+
put?: never;
|
|
555
541
|
post?: never;
|
|
556
542
|
delete?: never;
|
|
557
543
|
options?: never;
|
|
@@ -559,40 +545,40 @@ export interface paths {
|
|
|
559
545
|
patch?: never;
|
|
560
546
|
trace?: never;
|
|
561
547
|
};
|
|
562
|
-
"/drive/v2/volumes/{volumeID}/folders": {
|
|
548
|
+
"/drive/v2/volumes/{volumeID}/folders/{linkID}/children": {
|
|
563
549
|
parameters: {
|
|
564
550
|
query?: never;
|
|
565
551
|
header?: never;
|
|
566
552
|
path?: never;
|
|
567
553
|
cookie?: never;
|
|
568
554
|
};
|
|
569
|
-
get?: never;
|
|
570
|
-
put?: never;
|
|
571
555
|
/**
|
|
572
|
-
*
|
|
573
|
-
* @description
|
|
556
|
+
* List folder children (v2)
|
|
557
|
+
* @description List children IDs of a given folder.
|
|
574
558
|
*/
|
|
575
|
-
|
|
559
|
+
get: operations["get_drive-v2-volumes-{volumeID}-folders-{linkID}-children"];
|
|
560
|
+
put?: never;
|
|
561
|
+
post?: never;
|
|
576
562
|
delete?: never;
|
|
577
563
|
options?: never;
|
|
578
564
|
head?: never;
|
|
579
565
|
patch?: never;
|
|
580
566
|
trace?: never;
|
|
581
567
|
};
|
|
582
|
-
"/drive/
|
|
568
|
+
"/drive/shares/{shareID}/folders/{linkID}/trash_multiple": {
|
|
583
569
|
parameters: {
|
|
584
570
|
query?: never;
|
|
585
571
|
header?: never;
|
|
586
572
|
path?: never;
|
|
587
573
|
cookie?: never;
|
|
588
574
|
};
|
|
575
|
+
get?: never;
|
|
576
|
+
put?: never;
|
|
589
577
|
/**
|
|
590
|
-
*
|
|
591
|
-
* @
|
|
578
|
+
* Trash children from folder
|
|
579
|
+
* @deprecated
|
|
592
580
|
*/
|
|
593
|
-
|
|
594
|
-
put?: never;
|
|
595
|
-
post?: never;
|
|
581
|
+
post: operations["post_drive-shares-{shareID}-folders-{linkID}-trash_multiple"];
|
|
596
582
|
delete?: never;
|
|
597
583
|
options?: never;
|
|
598
584
|
head?: never;
|
|
@@ -632,6 +618,7 @@ export interface paths {
|
|
|
632
618
|
put?: never;
|
|
633
619
|
/**
|
|
634
620
|
* Check available hashes
|
|
621
|
+
* @deprecated
|
|
635
622
|
* @description Filter unavailable hashes out of a list of hashes under a given parent folder.
|
|
636
623
|
*
|
|
637
624
|
* Pending hashes from drafts are also listed. They can be filtered with a list of ClientUID.
|
|
@@ -692,7 +679,10 @@ export interface paths {
|
|
|
692
679
|
};
|
|
693
680
|
get?: never;
|
|
694
681
|
put?: never;
|
|
695
|
-
/**
|
|
682
|
+
/**
|
|
683
|
+
* Fetch links in share
|
|
684
|
+
* @deprecated
|
|
685
|
+
*/
|
|
696
686
|
post: operations["post_drive-shares-{shareID}-links-fetch_metadata"];
|
|
697
687
|
delete?: never;
|
|
698
688
|
options?: never;
|
|
@@ -726,6 +716,7 @@ export interface paths {
|
|
|
726
716
|
};
|
|
727
717
|
/**
|
|
728
718
|
* Get link data
|
|
719
|
+
* @deprecated
|
|
729
720
|
* @description Retrieve individual link information.
|
|
730
721
|
*/
|
|
731
722
|
get: operations["get_drive-shares-{shareID}-links-{linkID}"];
|
|
@@ -744,10 +735,16 @@ export interface paths {
|
|
|
744
735
|
path?: never;
|
|
745
736
|
cookie?: never;
|
|
746
737
|
};
|
|
747
|
-
/**
|
|
738
|
+
/**
|
|
739
|
+
* List folders with missing hash keys
|
|
740
|
+
* @deprecated
|
|
741
|
+
*/
|
|
748
742
|
get: operations["get_drive-sanitization-mhk"];
|
|
749
743
|
put?: never;
|
|
750
|
-
/**
|
|
744
|
+
/**
|
|
745
|
+
* List folders with missing hash keys
|
|
746
|
+
* @deprecated
|
|
747
|
+
*/
|
|
751
748
|
post: operations["post_drive-sanitization-mhk"];
|
|
752
749
|
delete?: never;
|
|
753
750
|
options?: never;
|
|
@@ -802,6 +799,7 @@ export interface paths {
|
|
|
802
799
|
get?: never;
|
|
803
800
|
/**
|
|
804
801
|
* Move link
|
|
802
|
+
* @deprecated
|
|
805
803
|
* @description Move a file or folder. Client must provide new values for fields encrypted with parent NodeKey.
|
|
806
804
|
*
|
|
807
805
|
* Clients moving a file or folder MUST reuse the existing session keys
|
|
@@ -816,6 +814,29 @@ export interface paths {
|
|
|
816
814
|
patch?: never;
|
|
817
815
|
trace?: never;
|
|
818
816
|
};
|
|
817
|
+
"/drive/v2/volumes/{volumeID}/links/{linkID}/move": {
|
|
818
|
+
parameters: {
|
|
819
|
+
query?: never;
|
|
820
|
+
header?: never;
|
|
821
|
+
path?: never;
|
|
822
|
+
cookie?: never;
|
|
823
|
+
};
|
|
824
|
+
get?: never;
|
|
825
|
+
/**
|
|
826
|
+
* Move link (v2)
|
|
827
|
+
* @description Move a file or folder. Client must provide new values for fields encrypted with parent NodeKey.
|
|
828
|
+
* Clients moving a file or folder MUST reuse the existing session keys
|
|
829
|
+
* for the name and passphrase as these are also used by shares pointing
|
|
830
|
+
* to the link. The passphrase should NOT be changed,reusing same session key as previously
|
|
831
|
+
*/
|
|
832
|
+
put: operations["put_drive-v2-volumes-{volumeID}-links-{linkID}-move"];
|
|
833
|
+
post?: never;
|
|
834
|
+
delete?: never;
|
|
835
|
+
options?: never;
|
|
836
|
+
head?: never;
|
|
837
|
+
patch?: never;
|
|
838
|
+
trace?: never;
|
|
839
|
+
};
|
|
819
840
|
"/drive/v2/volumes/{volumeID}/remove-mine": {
|
|
820
841
|
parameters: {
|
|
821
842
|
query?: never;
|
|
@@ -880,6 +901,7 @@ export interface paths {
|
|
|
880
901
|
get?: never;
|
|
881
902
|
/**
|
|
882
903
|
* Rename link
|
|
904
|
+
* @deprecated
|
|
883
905
|
* @description Rename a file or folder. Client must provide new values for fields linked to name.
|
|
884
906
|
*
|
|
885
907
|
* Clients renaming a file or folder MUST reuse the existing session key
|
|
@@ -898,29 +920,6 @@ export interface paths {
|
|
|
898
920
|
patch?: never;
|
|
899
921
|
trace?: never;
|
|
900
922
|
};
|
|
901
|
-
"/drive/v2/volumes/{volumeID}/links/{linkID}/move": {
|
|
902
|
-
parameters: {
|
|
903
|
-
query?: never;
|
|
904
|
-
header?: never;
|
|
905
|
-
path?: never;
|
|
906
|
-
cookie?: never;
|
|
907
|
-
};
|
|
908
|
-
get?: never;
|
|
909
|
-
/**
|
|
910
|
-
* Move link (v2)
|
|
911
|
-
* @description Move a file or folder. Client must provide new values for fields encrypted with parent NodeKey.
|
|
912
|
-
* Clients moving a file or folder MUST reuse the existing session keys
|
|
913
|
-
* for the name and passphrase as these are also used by shares pointing
|
|
914
|
-
* to the link. The passphrase should NOT be changed,reusing same session key as previously
|
|
915
|
-
*/
|
|
916
|
-
put: operations["put_drive-v2-volumes-{volumeID}-links-{linkID}-move"];
|
|
917
|
-
post?: never;
|
|
918
|
-
delete?: never;
|
|
919
|
-
options?: never;
|
|
920
|
-
head?: never;
|
|
921
|
-
patch?: never;
|
|
922
|
-
trace?: never;
|
|
923
|
-
};
|
|
924
923
|
"/drive/v2/volumes/{volumeID}/files/{linkID}/revisions/{revisionID}": {
|
|
925
924
|
parameters: {
|
|
926
925
|
query?: never;
|
|
@@ -967,11 +966,13 @@ export interface paths {
|
|
|
967
966
|
};
|
|
968
967
|
/**
|
|
969
968
|
* Get revision
|
|
969
|
+
* @deprecated
|
|
970
970
|
* @description Get detailed revision information.
|
|
971
971
|
*/
|
|
972
972
|
get: operations["get_drive-shares-{shareID}-files-{linkID}-revisions-{revisionID}"];
|
|
973
973
|
/**
|
|
974
974
|
* Commit a revision
|
|
975
|
+
* @deprecated
|
|
975
976
|
* @description The revision becomes the current active one and the updated file content become available for reading.
|
|
976
977
|
*
|
|
977
978
|
* If NO `BlockNumber` parameter is passed when creating a new revision,
|
|
@@ -985,6 +986,7 @@ export interface paths {
|
|
|
985
986
|
post?: never;
|
|
986
987
|
/**
|
|
987
988
|
* Delete an obsolete/draft revision
|
|
989
|
+
* @deprecated
|
|
988
990
|
* @description Only the volume owner can delete obsolete revisions. Members with write permission can only delete drafts.
|
|
989
991
|
* This will return an error code 2511 INCOMPATIBLE_STATE if the revision is active. Create or revert to
|
|
990
992
|
* another revision first. You cannot delete a draft revision for a draft link. Delete the link instead.
|
|
@@ -1021,7 +1023,10 @@ export interface paths {
|
|
|
1021
1023
|
};
|
|
1022
1024
|
get?: never;
|
|
1023
1025
|
put?: never;
|
|
1024
|
-
/**
|
|
1026
|
+
/**
|
|
1027
|
+
* Create a new draft file
|
|
1028
|
+
* @deprecated
|
|
1029
|
+
*/
|
|
1025
1030
|
post: operations["post_drive-shares-{shareID}-files"];
|
|
1026
1031
|
delete?: never;
|
|
1027
1032
|
options?: never;
|
|
@@ -1064,11 +1069,15 @@ export interface paths {
|
|
|
1064
1069
|
path?: never;
|
|
1065
1070
|
cookie?: never;
|
|
1066
1071
|
};
|
|
1067
|
-
/**
|
|
1072
|
+
/**
|
|
1073
|
+
* List revisions
|
|
1074
|
+
* @deprecated
|
|
1075
|
+
*/
|
|
1068
1076
|
get: operations["get_drive-shares-{shareID}-files-{linkID}-revisions"];
|
|
1069
1077
|
put?: never;
|
|
1070
1078
|
/**
|
|
1071
1079
|
* Create revision
|
|
1080
|
+
* @deprecated
|
|
1072
1081
|
* @description Create a new revision on an existing link.
|
|
1073
1082
|
* Only one draft can be created at a time. A draft can be deleted using the DELETE revision endpoint if the new
|
|
1074
1083
|
* draft should be created regardless. The error code indicates the reason for failure.
|
|
@@ -1092,7 +1101,10 @@ export interface paths {
|
|
|
1092
1101
|
path?: never;
|
|
1093
1102
|
cookie?: never;
|
|
1094
1103
|
};
|
|
1095
|
-
/**
|
|
1104
|
+
/**
|
|
1105
|
+
* Get revision thumbnail
|
|
1106
|
+
* @deprecated
|
|
1107
|
+
*/
|
|
1096
1108
|
get: operations["get_drive-shares-{shareID}-files-{linkID}-revisions-{revisionID}-thumbnail"];
|
|
1097
1109
|
put?: never;
|
|
1098
1110
|
post?: never;
|
|
@@ -1128,7 +1140,10 @@ export interface paths {
|
|
|
1128
1140
|
};
|
|
1129
1141
|
get?: never;
|
|
1130
1142
|
put?: never;
|
|
1131
|
-
/**
|
|
1143
|
+
/**
|
|
1144
|
+
* Restore a revision
|
|
1145
|
+
* @deprecated
|
|
1146
|
+
*/
|
|
1132
1147
|
post: operations["post_drive-shares-{shareID}-files-{linkID}-revisions-{revisionID}-restore"];
|
|
1133
1148
|
delete?: never;
|
|
1134
1149
|
options?: never;
|
|
@@ -1165,6 +1180,7 @@ export interface paths {
|
|
|
1165
1180
|
};
|
|
1166
1181
|
/**
|
|
1167
1182
|
* Get verification data.
|
|
1183
|
+
* @deprecated
|
|
1168
1184
|
* @description Get data to verify encryption of the revision before committing.
|
|
1169
1185
|
*/
|
|
1170
1186
|
get: operations["get_drive-shares-{shareID}-links-{linkID}-revisions-{revisionID}-verification"];
|
|
@@ -1187,7 +1203,8 @@ export interface paths {
|
|
|
1187
1203
|
put?: never;
|
|
1188
1204
|
/**
|
|
1189
1205
|
* Delete items from trash
|
|
1190
|
-
* @description Permanently delete list of links from trash
|
|
1206
|
+
* @description Permanently delete a list of links from trash in a given volume.
|
|
1207
|
+
* The user must be the owner of the volume or admin of the organization.
|
|
1191
1208
|
*/
|
|
1192
1209
|
post: operations["post_drive-v2-volumes-{volumeID}-trash-delete_multiple"];
|
|
1193
1210
|
delete?: never;
|
|
@@ -1207,7 +1224,9 @@ export interface paths {
|
|
|
1207
1224
|
put?: never;
|
|
1208
1225
|
/**
|
|
1209
1226
|
* Delete items from trash
|
|
1210
|
-
* @
|
|
1227
|
+
* @deprecated
|
|
1228
|
+
* @description Permanently delete a list of links from trash in a given volume.
|
|
1229
|
+
* The user must be the owner of the volume or admin of the organization.
|
|
1211
1230
|
*/
|
|
1212
1231
|
post: operations["post_drive-shares-{shareID}-trash-delete_multiple"];
|
|
1213
1232
|
delete?: never;
|
|
@@ -1255,7 +1274,12 @@ export interface paths {
|
|
|
1255
1274
|
path?: never;
|
|
1256
1275
|
cookie?: never;
|
|
1257
1276
|
};
|
|
1258
|
-
/**
|
|
1277
|
+
/**
|
|
1278
|
+
* List volume trash
|
|
1279
|
+
* @deprecated
|
|
1280
|
+
* @description Requires the user to be the owner of the volume and thus does not work with org volumes.
|
|
1281
|
+
* Deprecated: use GET /drive/v2/volumes/{volumeID}/trash instead
|
|
1282
|
+
*/
|
|
1259
1283
|
get: operations["get_drive-volumes-{volumeID}-trash"];
|
|
1260
1284
|
put?: never;
|
|
1261
1285
|
post?: never;
|
|
@@ -1263,6 +1287,7 @@ export interface paths {
|
|
|
1263
1287
|
* Empty volume trash
|
|
1264
1288
|
* @description When there are fewer items in trash than a certain threshold, trash will be deleted synchronously returning a 200 HTTP code.
|
|
1265
1289
|
* Otherwise, it will happen async returning a 202 HTTP code.
|
|
1290
|
+
* The user must be the owner of the volume or admin of the organization.
|
|
1266
1291
|
*/
|
|
1267
1292
|
delete: operations["delete_drive-volumes-{volumeID}-trash"];
|
|
1268
1293
|
options?: never;
|
|
@@ -1270,6 +1295,27 @@ export interface paths {
|
|
|
1270
1295
|
patch?: never;
|
|
1271
1296
|
trace?: never;
|
|
1272
1297
|
};
|
|
1298
|
+
"/drive/v2/volumes/{volumeID}/trash": {
|
|
1299
|
+
parameters: {
|
|
1300
|
+
query?: never;
|
|
1301
|
+
header?: never;
|
|
1302
|
+
path?: never;
|
|
1303
|
+
cookie?: never;
|
|
1304
|
+
};
|
|
1305
|
+
/**
|
|
1306
|
+
* List volume trash (v2)
|
|
1307
|
+
* @description In personal regular and photo volumes, you need to be the volume owner to access trash.
|
|
1308
|
+
* In organization volumes, users can access trash of any files they have write-permission on.
|
|
1309
|
+
*/
|
|
1310
|
+
get: operations["get_drive-v2-volumes-{volumeID}-trash"];
|
|
1311
|
+
put?: never;
|
|
1312
|
+
post?: never;
|
|
1313
|
+
delete?: never;
|
|
1314
|
+
options?: never;
|
|
1315
|
+
head?: never;
|
|
1316
|
+
patch?: never;
|
|
1317
|
+
trace?: never;
|
|
1318
|
+
};
|
|
1273
1319
|
"/drive/v2/volumes/{volumeID}/trash/restore_multiple": {
|
|
1274
1320
|
parameters: {
|
|
1275
1321
|
query?: never;
|
|
@@ -1281,8 +1327,8 @@ export interface paths {
|
|
|
1281
1327
|
/**
|
|
1282
1328
|
* Restore items from trash
|
|
1283
1329
|
* @description Restore list of links from trash to original location.
|
|
1284
|
-
*
|
|
1285
|
-
*
|
|
1330
|
+
* In personal regular and photo volumes, you need to be the volume owner to restore from trash.
|
|
1331
|
+
* In organization volumes, users can restore files from trash that they have write-permission on.
|
|
1286
1332
|
*/
|
|
1287
1333
|
put: operations["put_drive-v2-volumes-{volumeID}-trash-restore_multiple"];
|
|
1288
1334
|
post?: never;
|
|
@@ -1302,9 +1348,10 @@ export interface paths {
|
|
|
1302
1348
|
get?: never;
|
|
1303
1349
|
/**
|
|
1304
1350
|
* Restore items from trash
|
|
1351
|
+
* @deprecated
|
|
1305
1352
|
* @description Restore list of links from trash to original location.
|
|
1306
|
-
*
|
|
1307
|
-
*
|
|
1353
|
+
* In personal regular and photo volumes, you need to be the volume owner to restore from trash.
|
|
1354
|
+
* In organization volumes, users can restore files from trash that they have write-permission on.
|
|
1308
1355
|
*/
|
|
1309
1356
|
put: operations["put_drive-shares-{shareID}-trash-restore_multiple"];
|
|
1310
1357
|
post?: never;
|
|
@@ -3042,7 +3089,11 @@ export interface paths {
|
|
|
3042
3089
|
path?: never;
|
|
3043
3090
|
cookie?: never;
|
|
3044
3091
|
};
|
|
3045
|
-
|
|
3092
|
+
/**
|
|
3093
|
+
* List org. volumes
|
|
3094
|
+
* @description List all org. volumes the user belongs. The user can be an org. admin or any user belonging to the organization
|
|
3095
|
+
*/
|
|
3096
|
+
get: operations["get_drive-organization-volumes"];
|
|
3046
3097
|
put?: never;
|
|
3047
3098
|
/**
|
|
3048
3099
|
* Create Organization volume
|
|
@@ -3100,7 +3151,7 @@ export interface paths {
|
|
|
3100
3151
|
};
|
|
3101
3152
|
get?: never;
|
|
3102
3153
|
/**
|
|
3103
|
-
* Delete the
|
|
3154
|
+
* Delete the locked root shares in the volume.
|
|
3104
3155
|
* @description Web client calls this endpoint when the user decides to delete their locked data and not recover it.
|
|
3105
3156
|
*/
|
|
3106
3157
|
put: operations["put_drive-volumes-{volumeID}-delete_locked"];
|
|
@@ -3131,6 +3182,26 @@ export interface paths {
|
|
|
3131
3182
|
patch?: never;
|
|
3132
3183
|
trace?: never;
|
|
3133
3184
|
};
|
|
3185
|
+
"/drive/organization/volumes/admin": {
|
|
3186
|
+
parameters: {
|
|
3187
|
+
query?: never;
|
|
3188
|
+
header?: never;
|
|
3189
|
+
path?: never;
|
|
3190
|
+
cookie?: never;
|
|
3191
|
+
};
|
|
3192
|
+
/**
|
|
3193
|
+
* List volumes in an org
|
|
3194
|
+
* @description List all volumes in an org where the user must be admin of.
|
|
3195
|
+
*/
|
|
3196
|
+
get: operations["get_drive-organization-volumes-admin"];
|
|
3197
|
+
put?: never;
|
|
3198
|
+
post?: never;
|
|
3199
|
+
delete?: never;
|
|
3200
|
+
options?: never;
|
|
3201
|
+
head?: never;
|
|
3202
|
+
patch?: never;
|
|
3203
|
+
trace?: never;
|
|
3204
|
+
};
|
|
3134
3205
|
"/drive/volumes/{volumeID}/restore": {
|
|
3135
3206
|
parameters: {
|
|
3136
3207
|
query?: never;
|
|
@@ -3499,22 +3570,6 @@ export interface components {
|
|
|
3499
3570
|
*/
|
|
3500
3571
|
Code: 1000;
|
|
3501
3572
|
};
|
|
3502
|
-
LinkIDsRequestDto: {
|
|
3503
|
-
LinkIDs: components["schemas"]["EncryptedId"][];
|
|
3504
|
-
};
|
|
3505
|
-
OffsetPagination: {
|
|
3506
|
-
/** The page size */
|
|
3507
|
-
PageSize: number;
|
|
3508
|
-
/**
|
|
3509
|
-
* The page index using 0-based indexing
|
|
3510
|
-
* @default 0
|
|
3511
|
-
*/
|
|
3512
|
-
Page: number;
|
|
3513
|
-
};
|
|
3514
|
-
UpdateFolderRequestDto: {
|
|
3515
|
-
/** @description Extended Attributes */
|
|
3516
|
-
XAttr: string;
|
|
3517
|
-
};
|
|
3518
3573
|
CreateFolderRequestDto2: {
|
|
3519
3574
|
/** @description Node hash key (random bytes encoded in base64 format), encrypted and signed. */
|
|
3520
3575
|
NodeHashKey: string;
|
|
@@ -3537,6 +3592,18 @@ export interface components {
|
|
|
3537
3592
|
*/
|
|
3538
3593
|
SignatureEmail: components["schemas"]["AddressEmail"] | null;
|
|
3539
3594
|
};
|
|
3595
|
+
LinkIDsRequestDto: {
|
|
3596
|
+
LinkIDs: components["schemas"]["EncryptedId"][];
|
|
3597
|
+
};
|
|
3598
|
+
OffsetPagination: {
|
|
3599
|
+
/** The page size */
|
|
3600
|
+
PageSize: number;
|
|
3601
|
+
/**
|
|
3602
|
+
* The page index using 0-based indexing
|
|
3603
|
+
* @default 0
|
|
3604
|
+
*/
|
|
3605
|
+
Page: number;
|
|
3606
|
+
};
|
|
3540
3607
|
ListChildrenResponseDto: {
|
|
3541
3608
|
LinkIDs: components["schemas"]["Id2"][];
|
|
3542
3609
|
/** @description Used for pagination, pass to the next call to get the next page of results */
|
|
@@ -3723,6 +3790,38 @@ export interface components {
|
|
|
3723
3790
|
*/
|
|
3724
3791
|
SignatureEmail: string | null;
|
|
3725
3792
|
};
|
|
3793
|
+
MoveLinkRequestDto2: {
|
|
3794
|
+
/** @description Name, reusing same session key as previously. */
|
|
3795
|
+
Name: string;
|
|
3796
|
+
/** @description Node passphrase, reusing same session key as previously. */
|
|
3797
|
+
NodePassphrase: string;
|
|
3798
|
+
/** @description Name hash */
|
|
3799
|
+
Hash: string;
|
|
3800
|
+
ParentLinkID: components["schemas"]["Id"];
|
|
3801
|
+
/** @description Current name hash before move operation. Used to prevent race conditions. */
|
|
3802
|
+
OriginalHash: string;
|
|
3803
|
+
/**
|
|
3804
|
+
* Format: email
|
|
3805
|
+
* @description Signature email address used for signing name
|
|
3806
|
+
*/
|
|
3807
|
+
NameSignatureEmail: string;
|
|
3808
|
+
/**
|
|
3809
|
+
* @description Optional, except when moving a Photo-Link. Photo content hash, hmacsha256 of sha1 content using parent folder's hash key [ hmacSha256(folder hash key, sha1(plain content)) ]
|
|
3810
|
+
* @default null
|
|
3811
|
+
*/
|
|
3812
|
+
ContentHash: string | null;
|
|
3813
|
+
/**
|
|
3814
|
+
* @description Node Passphrase Signature. Required when moving an anonymous Link. It must be signed by the SignatureEmail address.
|
|
3815
|
+
* @default null
|
|
3816
|
+
*/
|
|
3817
|
+
NodePassphraseSignature: components["schemas"]["PGPSignature"] | null;
|
|
3818
|
+
/**
|
|
3819
|
+
* Format: email
|
|
3820
|
+
* @description Signature email address used for the NodePassphraseSignature.
|
|
3821
|
+
* @default null
|
|
3822
|
+
*/
|
|
3823
|
+
SignatureEmail: string | null;
|
|
3824
|
+
};
|
|
3726
3825
|
RenameLinkRequestDto: {
|
|
3727
3826
|
/** @description Name, reusing same session key as previously. */
|
|
3728
3827
|
Name: string;
|
|
@@ -3756,38 +3855,6 @@ export interface components {
|
|
|
3756
3855
|
UpdateMissingHashKeyRequestDto: {
|
|
3757
3856
|
NodesWithMissingNodeHashKey: components["schemas"]["UpdateMissingHashKeyItemDto"][];
|
|
3758
3857
|
};
|
|
3759
|
-
MoveLinkRequestDto2: {
|
|
3760
|
-
/** @description Name, reusing same session key as previously. */
|
|
3761
|
-
Name: string;
|
|
3762
|
-
/** @description Node passphrase, reusing same session key as previously. */
|
|
3763
|
-
NodePassphrase: string;
|
|
3764
|
-
/** @description Name hash */
|
|
3765
|
-
Hash: string;
|
|
3766
|
-
ParentLinkID: components["schemas"]["Id"];
|
|
3767
|
-
/** @description Current name hash before move operation. Used to prevent race conditions. */
|
|
3768
|
-
OriginalHash: string;
|
|
3769
|
-
/**
|
|
3770
|
-
* Format: email
|
|
3771
|
-
* @description Signature email address used for signing name
|
|
3772
|
-
*/
|
|
3773
|
-
NameSignatureEmail: string;
|
|
3774
|
-
/**
|
|
3775
|
-
* @description Optional, except when moving a Photo-Link. Photo content hash, hmacsha256 of sha1 content using parent folder's hash key [ hmacSha256(folder hash key, sha1(plain content)) ]
|
|
3776
|
-
* @default null
|
|
3777
|
-
*/
|
|
3778
|
-
ContentHash: string | null;
|
|
3779
|
-
/**
|
|
3780
|
-
* @description Node Passphrase Signature. Required when moving an anonymous Link. It must be signed by the SignatureEmail address.
|
|
3781
|
-
* @default null
|
|
3782
|
-
*/
|
|
3783
|
-
NodePassphraseSignature: components["schemas"]["PGPSignature"] | null;
|
|
3784
|
-
/**
|
|
3785
|
-
* Format: email
|
|
3786
|
-
* @description Signature email address used for the NodePassphraseSignature.
|
|
3787
|
-
* @default null
|
|
3788
|
-
*/
|
|
3789
|
-
SignatureEmail: string | null;
|
|
3790
|
-
};
|
|
3791
3858
|
CommitRevisionDto: {
|
|
3792
3859
|
ManifestSignature: components["schemas"]["PGPSignature"];
|
|
3793
3860
|
/**
|
|
@@ -3945,6 +4012,15 @@ export interface components {
|
|
|
3945
4012
|
*/
|
|
3946
4013
|
Code: 1000;
|
|
3947
4014
|
};
|
|
4015
|
+
VolumeTrashListV2: {
|
|
4016
|
+
TrashedLinkIDs: components["schemas"]["Id2"][];
|
|
4017
|
+
/**
|
|
4018
|
+
* ProtonResponseCode
|
|
4019
|
+
* @example 1000
|
|
4020
|
+
* @enum {integer}
|
|
4021
|
+
*/
|
|
4022
|
+
Code: 1000;
|
|
4023
|
+
};
|
|
3948
4024
|
RequestUploadInput: {
|
|
3949
4025
|
LinkID: components["schemas"]["Id"];
|
|
3950
4026
|
RevisionID: components["schemas"]["Id"];
|
|
@@ -4038,6 +4114,8 @@ export interface components {
|
|
|
4038
4114
|
};
|
|
4039
4115
|
FreshAccountResponseDto: {
|
|
4040
4116
|
EndTime?: number | null;
|
|
4117
|
+
/** @description Maximum available space for the free upload timer, in bytes (API allows going 10% over limit for zero-rating) */
|
|
4118
|
+
Quota?: number | null;
|
|
4041
4119
|
/**
|
|
4042
4120
|
* ProtonResponseCode
|
|
4043
4121
|
* @example 1000
|
|
@@ -4273,6 +4351,7 @@ export interface components {
|
|
|
4273
4351
|
* @default null
|
|
4274
4352
|
*/
|
|
4275
4353
|
ContentKeyPacketSignature: components["schemas"]["PGPSignature"] | null;
|
|
4354
|
+
DocumentType?: components["schemas"]["DocumentType"];
|
|
4276
4355
|
};
|
|
4277
4356
|
CreateAnonymousDocumentResponseDto: {
|
|
4278
4357
|
Document: components["schemas"]["DocumentDetailsDto"];
|
|
@@ -4981,6 +5060,24 @@ export interface components {
|
|
|
4981
5060
|
*/
|
|
4982
5061
|
ShareName: string | null;
|
|
4983
5062
|
};
|
|
5063
|
+
ListOrgVolumesResponseDto: {
|
|
5064
|
+
Volumes: components["schemas"]["OrgVolumeResponseDto"][];
|
|
5065
|
+
/**
|
|
5066
|
+
* ProtonResponseCode
|
|
5067
|
+
* @example 1000
|
|
5068
|
+
* @enum {integer}
|
|
5069
|
+
*/
|
|
5070
|
+
Code: 1000;
|
|
5071
|
+
};
|
|
5072
|
+
ListOrgVolumesForAdminResponseDto: {
|
|
5073
|
+
Volumes: components["schemas"]["OrgVolumeForAdminResponseDto"][];
|
|
5074
|
+
/**
|
|
5075
|
+
* ProtonResponseCode
|
|
5076
|
+
* @example 1000
|
|
5077
|
+
* @enum {integer}
|
|
5078
|
+
*/
|
|
5079
|
+
Code: 1000;
|
|
5080
|
+
};
|
|
4984
5081
|
ListVolumesResponseDto: {
|
|
4985
5082
|
Volumes: components["schemas"]["VolumeResponseDto"][];
|
|
4986
5083
|
/**
|
|
@@ -5002,16 +5099,20 @@ export interface components {
|
|
|
5002
5099
|
AddressKeyID: string;
|
|
5003
5100
|
};
|
|
5004
5101
|
AddPhotoToAlbumWithLinkIDResponseDto: Record<string, never>;
|
|
5102
|
+
MultiResponsesPerLinkFactory: {
|
|
5103
|
+
/** @enum {integer} */
|
|
5104
|
+
Code: 1001;
|
|
5105
|
+
Responses: {
|
|
5106
|
+
LinkID: string;
|
|
5107
|
+
Response: components["schemas"]["ProtonSuccess"] | components["schemas"]["ProtonError"];
|
|
5108
|
+
}[];
|
|
5109
|
+
};
|
|
5005
5110
|
RemovePhotoFromAlbumWithLinkIDResponseDto: Record<string, never>;
|
|
5006
5111
|
ConflictErrorResponseDto: {
|
|
5007
5112
|
Details: components["schemas"]["ConflictErrorDetailsDto"];
|
|
5008
5113
|
Error: string;
|
|
5009
5114
|
Code: number;
|
|
5010
5115
|
};
|
|
5011
|
-
MultiDeleteTransformer: {
|
|
5012
|
-
LinkID: string;
|
|
5013
|
-
Response: components["schemas"]["ProtonSuccess"] | components["schemas"]["ProtonError"];
|
|
5014
|
-
};
|
|
5015
5116
|
/** Link */
|
|
5016
5117
|
ExtendedLinkTransformer: {
|
|
5017
5118
|
/**
|
|
@@ -5766,12 +5867,8 @@ export interface components {
|
|
|
5766
5867
|
/** @description Address ID */
|
|
5767
5868
|
AddressID: string;
|
|
5768
5869
|
RequestUploadBlockInput: {
|
|
5769
|
-
/** @description Block size in bytes */
|
|
5770
|
-
Size: number;
|
|
5771
5870
|
/** @description Index of block in list (must be consecutive starting at 1) */
|
|
5772
5871
|
Index: number;
|
|
5773
|
-
/** @description sha256 hash of encrypted block, base64 encoded */
|
|
5774
|
-
Hash: string;
|
|
5775
5872
|
/** @default null */
|
|
5776
5873
|
Verifier: components["schemas"]["Verifier"] | null;
|
|
5777
5874
|
/**
|
|
@@ -5779,12 +5876,30 @@ export interface components {
|
|
|
5779
5876
|
* @default null
|
|
5780
5877
|
*/
|
|
5781
5878
|
EncSignature: string | null;
|
|
5879
|
+
/**
|
|
5880
|
+
* @deprecated
|
|
5881
|
+
* @description Block size in bytes
|
|
5882
|
+
* @default null
|
|
5883
|
+
*/
|
|
5884
|
+
Size: number | null;
|
|
5885
|
+
/**
|
|
5886
|
+
* @deprecated
|
|
5887
|
+
* @description sha256 hash of encrypted block, base64 encoded
|
|
5888
|
+
*/
|
|
5889
|
+
Hash: string;
|
|
5782
5890
|
};
|
|
5783
5891
|
RequestUploadThumbnailInput: {
|
|
5784
|
-
/** @description Block size in bytes. WARNING: when type is NOT 2=HDPreview(1920) then the max size is 65536 */
|
|
5785
|
-
Size: number;
|
|
5786
5892
|
Type: components["schemas"]["ThumbnailType"];
|
|
5787
|
-
/**
|
|
5893
|
+
/**
|
|
5894
|
+
* @deprecated
|
|
5895
|
+
* @description Block size in bytes. WARNING: when type is NOT 2=HDPreview(1920) then the max size is 65536
|
|
5896
|
+
* @default null
|
|
5897
|
+
*/
|
|
5898
|
+
Size: number | null;
|
|
5899
|
+
/**
|
|
5900
|
+
* @deprecated
|
|
5901
|
+
* @description sha256 hash of encrypted block, base64 encoded
|
|
5902
|
+
*/
|
|
5788
5903
|
Hash: string;
|
|
5789
5904
|
};
|
|
5790
5905
|
BlockURL: {
|
|
@@ -6530,6 +6645,7 @@ export interface components {
|
|
|
6530
6645
|
ShareKey: components["schemas"]["PGPPrivateKey2"];
|
|
6531
6646
|
/** Format: email */
|
|
6532
6647
|
CreatorEmail: string;
|
|
6648
|
+
ShareTargetType: components["schemas"]["TargetType2"];
|
|
6533
6649
|
};
|
|
6534
6650
|
LinkResponseDto: {
|
|
6535
6651
|
Type: components["schemas"]["NodeType3"];
|
|
@@ -6649,6 +6765,19 @@ export interface components {
|
|
|
6649
6765
|
Share: components["schemas"]["ShareReferenceResponseDto"];
|
|
6650
6766
|
Type: components["schemas"]["VolumeType2"];
|
|
6651
6767
|
};
|
|
6768
|
+
OrgVolumeResponseDto: {
|
|
6769
|
+
ShareID: components["schemas"]["Id2"];
|
|
6770
|
+
VolumeID: components["schemas"]["Id2"];
|
|
6771
|
+
/** @description Name of the org. volume */
|
|
6772
|
+
Name: string;
|
|
6773
|
+
/** @description Membership creation time */
|
|
6774
|
+
CreateTime: number;
|
|
6775
|
+
};
|
|
6776
|
+
OrgVolumeForAdminResponseDto: {
|
|
6777
|
+
VolumeID: components["schemas"]["Id2"];
|
|
6778
|
+
/** @description Name of the org. volume */
|
|
6779
|
+
Name: string;
|
|
6780
|
+
};
|
|
6652
6781
|
RestoreMainShareDto: {
|
|
6653
6782
|
/** @description ShareID of the existing, locked main share */
|
|
6654
6783
|
LockedShareID: string;
|
|
@@ -6725,11 +6854,8 @@ export interface components {
|
|
|
6725
6854
|
};
|
|
6726
6855
|
/** Link */
|
|
6727
6856
|
LinkTransformer: {
|
|
6728
|
-
/** @description Encrypted link ID */
|
|
6729
6857
|
LinkID: string;
|
|
6730
|
-
/** @description Encrypted parent link ID */
|
|
6731
6858
|
ParentLinkID: string | null;
|
|
6732
|
-
/** @description Encrypted volume link ID */
|
|
6733
6859
|
VolumeID: string;
|
|
6734
6860
|
/**
|
|
6735
6861
|
* @description Node type (1=folder, 2=file)
|
|
@@ -7832,21 +7958,13 @@ export interface operations {
|
|
|
7832
7958
|
};
|
|
7833
7959
|
};
|
|
7834
7960
|
responses: {
|
|
7835
|
-
/** @description
|
|
7961
|
+
/** @description Multi responses */
|
|
7836
7962
|
200: {
|
|
7837
7963
|
headers: {
|
|
7838
7964
|
[name: string]: unknown;
|
|
7839
7965
|
};
|
|
7840
7966
|
content: {
|
|
7841
|
-
"application/json":
|
|
7842
|
-
/** @enum {integer} */
|
|
7843
|
-
Code?: 1001;
|
|
7844
|
-
Responses?: {
|
|
7845
|
-
/** @description Encrypted link ID */
|
|
7846
|
-
LinkID?: string;
|
|
7847
|
-
Response?: components["schemas"]["ProtonSuccess"] | components["schemas"]["ProtonError"];
|
|
7848
|
-
}[];
|
|
7849
|
-
};
|
|
7967
|
+
"application/json": components["schemas"]["MultiResponsesPerLinkFactory"];
|
|
7850
7968
|
};
|
|
7851
7969
|
};
|
|
7852
7970
|
/** @description Unprocessable Entity */
|
|
@@ -7965,21 +8083,13 @@ export interface operations {
|
|
|
7965
8083
|
};
|
|
7966
8084
|
};
|
|
7967
8085
|
responses: {
|
|
7968
|
-
/** @description
|
|
8086
|
+
/** @description Multi responses */
|
|
7969
8087
|
200: {
|
|
7970
8088
|
headers: {
|
|
7971
8089
|
[name: string]: unknown;
|
|
7972
8090
|
};
|
|
7973
8091
|
content: {
|
|
7974
|
-
"application/json":
|
|
7975
|
-
/** @enum {integer} */
|
|
7976
|
-
Code?: 1001;
|
|
7977
|
-
Responses?: {
|
|
7978
|
-
/** @description Encrypted link ID */
|
|
7979
|
-
LinkID?: string;
|
|
7980
|
-
Response?: components["schemas"]["ProtonSuccess"] | components["schemas"]["ProtonError"];
|
|
7981
|
-
}[];
|
|
7982
|
-
};
|
|
8092
|
+
"application/json": components["schemas"]["MultiResponsesPerLinkFactory"];
|
|
7983
8093
|
};
|
|
7984
8094
|
};
|
|
7985
8095
|
/** @description Unprocessable Entity */
|
|
@@ -8015,21 +8125,13 @@ export interface operations {
|
|
|
8015
8125
|
};
|
|
8016
8126
|
};
|
|
8017
8127
|
responses: {
|
|
8018
|
-
/** @description
|
|
8128
|
+
/** @description Multi responses */
|
|
8019
8129
|
200: {
|
|
8020
8130
|
headers: {
|
|
8021
8131
|
[name: string]: unknown;
|
|
8022
8132
|
};
|
|
8023
8133
|
content: {
|
|
8024
|
-
"application/json":
|
|
8025
|
-
/** @enum {integer} */
|
|
8026
|
-
Code?: 1001;
|
|
8027
|
-
Responses?: {
|
|
8028
|
-
/** @description Encrypted link ID */
|
|
8029
|
-
LinkID?: string;
|
|
8030
|
-
Response?: components["schemas"]["ProtonSuccess"] | components["schemas"]["ProtonError"];
|
|
8031
|
-
}[];
|
|
8032
|
-
};
|
|
8134
|
+
"application/json": components["schemas"]["MultiResponsesPerLinkFactory"];
|
|
8033
8135
|
};
|
|
8034
8136
|
};
|
|
8035
8137
|
/** @description Unprocessable Entity */
|
|
@@ -8607,82 +8709,52 @@ export interface operations {
|
|
|
8607
8709
|
};
|
|
8608
8710
|
};
|
|
8609
8711
|
};
|
|
8610
|
-
"post_drive-
|
|
8712
|
+
"post_drive-v2-volumes-{volumeID}-folders": {
|
|
8611
8713
|
parameters: {
|
|
8612
8714
|
query?: never;
|
|
8613
8715
|
header?: never;
|
|
8614
8716
|
path: {
|
|
8615
|
-
|
|
8616
|
-
linkID: string;
|
|
8717
|
+
volumeID: string;
|
|
8617
8718
|
};
|
|
8618
8719
|
cookie?: never;
|
|
8619
8720
|
};
|
|
8620
8721
|
requestBody?: {
|
|
8621
8722
|
content: {
|
|
8622
|
-
"application/json": components["schemas"]["
|
|
8723
|
+
"application/json": components["schemas"]["CreateFolderRequestDto2"];
|
|
8623
8724
|
};
|
|
8624
8725
|
};
|
|
8625
8726
|
responses: {
|
|
8626
|
-
/** @description
|
|
8727
|
+
/** @description Success */
|
|
8627
8728
|
200: {
|
|
8628
8729
|
headers: {
|
|
8730
|
+
"x-pm-code": 1000;
|
|
8629
8731
|
[name: string]: unknown;
|
|
8630
8732
|
};
|
|
8631
8733
|
content: {
|
|
8632
|
-
"application/json":
|
|
8633
|
-
/** @enum {integer} */
|
|
8634
|
-
Code?: 1001;
|
|
8635
|
-
Responses?: components["schemas"]["MultiDeleteTransformer"][];
|
|
8636
|
-
};
|
|
8734
|
+
"application/json": components["schemas"]["CreateFolderResponseDto"];
|
|
8637
8735
|
};
|
|
8638
8736
|
};
|
|
8639
|
-
|
|
8640
|
-
|
|
8641
|
-
"get_drive-shares-{shareID}-folders-{linkID}-children": {
|
|
8642
|
-
parameters: {
|
|
8643
|
-
query?: {
|
|
8644
|
-
/** @description Field to sort by */
|
|
8645
|
-
Sort?: "MIMEType" | "Size" | "ModifyTime" | "CreateTime" | "Type";
|
|
8646
|
-
/** @description Sort order */
|
|
8647
|
-
Desc?: 0 | 1;
|
|
8648
|
-
/** @description Show all files including those in non-active (drafts) state. */
|
|
8649
|
-
ShowAll?: 0 | 1;
|
|
8650
|
-
/** @description Show folders only */
|
|
8651
|
-
FoldersOnly?: 0 | 1;
|
|
8652
|
-
/**
|
|
8653
|
-
* @deprecated
|
|
8654
|
-
* @description Get thumbnail download URLs
|
|
8655
|
-
*/
|
|
8656
|
-
Thumbnails?: 0 | 1;
|
|
8657
|
-
PageSize?: components["schemas"]["OffsetPagination"]["PageSize"] & unknown;
|
|
8658
|
-
Page?: components["schemas"]["OffsetPagination"]["Page"] & unknown;
|
|
8659
|
-
};
|
|
8660
|
-
header?: never;
|
|
8661
|
-
path: {
|
|
8662
|
-
shareID: string;
|
|
8663
|
-
linkID: string;
|
|
8664
|
-
};
|
|
8665
|
-
cookie?: never;
|
|
8666
|
-
};
|
|
8667
|
-
requestBody?: never;
|
|
8668
|
-
responses: {
|
|
8669
|
-
/** @description Links */
|
|
8670
|
-
200: {
|
|
8737
|
+
/** @description Unprocessable Entity */
|
|
8738
|
+
422: {
|
|
8671
8739
|
headers: {
|
|
8672
8740
|
[name: string]: unknown;
|
|
8673
8741
|
};
|
|
8674
8742
|
content: {
|
|
8675
8743
|
"application/json": {
|
|
8676
|
-
|
|
8677
|
-
|
|
8678
|
-
|
|
8679
|
-
|
|
8680
|
-
|
|
8744
|
+
/** @description Potential codes and their meaning:
|
|
8745
|
+
* - 2511: the link targeted is a photo link
|
|
8746
|
+
* - 200300: max folder size reached
|
|
8747
|
+
* - 200301: max folder depth reached
|
|
8748
|
+
* - 2500: file or folder with same name already exists
|
|
8749
|
+
* - 2501: parent folder was not found
|
|
8750
|
+
* */
|
|
8751
|
+
Code?: number;
|
|
8752
|
+
} | components["schemas"]["ConflictErrorResponseDto"];
|
|
8681
8753
|
};
|
|
8682
8754
|
};
|
|
8683
8755
|
};
|
|
8684
8756
|
};
|
|
8685
|
-
"post_drive-shares-{shareID}-folders-{linkID}-
|
|
8757
|
+
"post_drive-shares-{shareID}-folders-{linkID}-delete_multiple": {
|
|
8686
8758
|
parameters: {
|
|
8687
8759
|
query?: never;
|
|
8688
8760
|
header?: never;
|
|
@@ -8698,92 +8770,57 @@ export interface operations {
|
|
|
8698
8770
|
};
|
|
8699
8771
|
};
|
|
8700
8772
|
responses: {
|
|
8701
|
-
/** @description
|
|
8773
|
+
/** @description Multi responses */
|
|
8702
8774
|
200: {
|
|
8703
8775
|
headers: {
|
|
8704
8776
|
[name: string]: unknown;
|
|
8705
8777
|
};
|
|
8706
8778
|
content: {
|
|
8707
|
-
"application/json":
|
|
8708
|
-
/** @enum {integer} */
|
|
8709
|
-
Code?: 1001;
|
|
8710
|
-
Responses?: components["schemas"]["MultiDeleteTransformer"][];
|
|
8711
|
-
};
|
|
8779
|
+
"application/json": components["schemas"]["MultiResponsesPerLinkFactory"];
|
|
8712
8780
|
};
|
|
8713
8781
|
};
|
|
8714
8782
|
};
|
|
8715
8783
|
};
|
|
8716
|
-
"
|
|
8784
|
+
"get_drive-shares-{shareID}-folders-{linkID}-children": {
|
|
8717
8785
|
parameters: {
|
|
8718
|
-
query?:
|
|
8719
|
-
|
|
8720
|
-
|
|
8721
|
-
|
|
8722
|
-
|
|
8723
|
-
|
|
8724
|
-
|
|
8725
|
-
|
|
8726
|
-
|
|
8727
|
-
|
|
8728
|
-
|
|
8729
|
-
|
|
8730
|
-
|
|
8731
|
-
|
|
8732
|
-
|
|
8733
|
-
|
|
8734
|
-
headers: {
|
|
8735
|
-
[name: string]: unknown;
|
|
8736
|
-
};
|
|
8737
|
-
content: {
|
|
8738
|
-
"application/json": {
|
|
8739
|
-
Code: components["schemas"]["ResponseCodeSuccess"];
|
|
8740
|
-
Link: components["schemas"]["ExtendedLinkTransformer"];
|
|
8741
|
-
};
|
|
8742
|
-
};
|
|
8786
|
+
query?: {
|
|
8787
|
+
/** @description Field to sort by */
|
|
8788
|
+
Sort?: "MIMEType" | "Size" | "ModifyTime" | "CreateTime" | "Type";
|
|
8789
|
+
/** @description Sort order */
|
|
8790
|
+
Desc?: 0 | 1;
|
|
8791
|
+
/** @description Show all files including those in non-active (drafts) state. */
|
|
8792
|
+
ShowAll?: 0 | 1;
|
|
8793
|
+
/** @description Show folders only */
|
|
8794
|
+
FoldersOnly?: 0 | 1;
|
|
8795
|
+
/**
|
|
8796
|
+
* @deprecated
|
|
8797
|
+
* @description Get thumbnail download URLs
|
|
8798
|
+
*/
|
|
8799
|
+
Thumbnails?: 0 | 1;
|
|
8800
|
+
PageSize?: components["schemas"]["OffsetPagination"]["PageSize"] & unknown;
|
|
8801
|
+
Page?: components["schemas"]["OffsetPagination"]["Page"] & unknown;
|
|
8743
8802
|
};
|
|
8744
|
-
};
|
|
8745
|
-
};
|
|
8746
|
-
"post_drive-v2-volumes-{volumeID}-folders": {
|
|
8747
|
-
parameters: {
|
|
8748
|
-
query?: never;
|
|
8749
8803
|
header?: never;
|
|
8750
8804
|
path: {
|
|
8751
|
-
|
|
8805
|
+
shareID: string;
|
|
8806
|
+
linkID: string;
|
|
8752
8807
|
};
|
|
8753
8808
|
cookie?: never;
|
|
8754
8809
|
};
|
|
8755
|
-
requestBody?:
|
|
8756
|
-
content: {
|
|
8757
|
-
"application/json": components["schemas"]["CreateFolderRequestDto2"];
|
|
8758
|
-
};
|
|
8759
|
-
};
|
|
8810
|
+
requestBody?: never;
|
|
8760
8811
|
responses: {
|
|
8761
|
-
/** @description
|
|
8812
|
+
/** @description Links */
|
|
8762
8813
|
200: {
|
|
8763
|
-
headers: {
|
|
8764
|
-
"x-pm-code": 1000;
|
|
8765
|
-
[name: string]: unknown;
|
|
8766
|
-
};
|
|
8767
|
-
content: {
|
|
8768
|
-
"application/json": components["schemas"]["CreateFolderResponseDto"];
|
|
8769
|
-
};
|
|
8770
|
-
};
|
|
8771
|
-
/** @description Unprocessable Entity */
|
|
8772
|
-
422: {
|
|
8773
8814
|
headers: {
|
|
8774
8815
|
[name: string]: unknown;
|
|
8775
8816
|
};
|
|
8776
8817
|
content: {
|
|
8777
8818
|
"application/json": {
|
|
8778
|
-
|
|
8779
|
-
|
|
8780
|
-
|
|
8781
|
-
|
|
8782
|
-
|
|
8783
|
-
* - 2501: parent folder was not found
|
|
8784
|
-
* */
|
|
8785
|
-
Code?: number;
|
|
8786
|
-
} | components["schemas"]["ConflictErrorResponseDto"];
|
|
8819
|
+
Code: components["schemas"]["ResponseCodeSuccess"];
|
|
8820
|
+
/** @description Allow sorting of items in folder */
|
|
8821
|
+
AllowSorting: boolean;
|
|
8822
|
+
Links: components["schemas"]["ExtendedLinkTransformer"][];
|
|
8823
|
+
};
|
|
8787
8824
|
};
|
|
8788
8825
|
};
|
|
8789
8826
|
};
|
|
@@ -8832,6 +8869,33 @@ export interface operations {
|
|
|
8832
8869
|
};
|
|
8833
8870
|
};
|
|
8834
8871
|
};
|
|
8872
|
+
"post_drive-shares-{shareID}-folders-{linkID}-trash_multiple": {
|
|
8873
|
+
parameters: {
|
|
8874
|
+
query?: never;
|
|
8875
|
+
header?: never;
|
|
8876
|
+
path: {
|
|
8877
|
+
shareID: string;
|
|
8878
|
+
linkID: string;
|
|
8879
|
+
};
|
|
8880
|
+
cookie?: never;
|
|
8881
|
+
};
|
|
8882
|
+
requestBody?: {
|
|
8883
|
+
content: {
|
|
8884
|
+
"application/json": components["schemas"]["LinkIDsRequestDto"];
|
|
8885
|
+
};
|
|
8886
|
+
};
|
|
8887
|
+
responses: {
|
|
8888
|
+
/** @description Multi responses */
|
|
8889
|
+
200: {
|
|
8890
|
+
headers: {
|
|
8891
|
+
[name: string]: unknown;
|
|
8892
|
+
};
|
|
8893
|
+
content: {
|
|
8894
|
+
"application/json": components["schemas"]["MultiResponsesPerLinkFactory"];
|
|
8895
|
+
};
|
|
8896
|
+
};
|
|
8897
|
+
};
|
|
8898
|
+
};
|
|
8835
8899
|
"post_drive-v2-volumes-{volumeID}-links-{linkID}-checkAvailableHashes": {
|
|
8836
8900
|
parameters: {
|
|
8837
8901
|
query?: never;
|
|
@@ -8956,17 +9020,13 @@ export interface operations {
|
|
|
8956
9020
|
};
|
|
8957
9021
|
};
|
|
8958
9022
|
responses: {
|
|
8959
|
-
/** @description
|
|
9023
|
+
/** @description Multi responses */
|
|
8960
9024
|
200: {
|
|
8961
9025
|
headers: {
|
|
8962
9026
|
[name: string]: unknown;
|
|
8963
9027
|
};
|
|
8964
9028
|
content: {
|
|
8965
|
-
"application/json":
|
|
8966
|
-
/** @enum {integer} */
|
|
8967
|
-
Code?: 1001;
|
|
8968
|
-
Responses?: components["schemas"]["MultiDeleteTransformer"][];
|
|
8969
|
-
};
|
|
9029
|
+
"application/json": components["schemas"]["MultiResponsesPerLinkFactory"];
|
|
8970
9030
|
};
|
|
8971
9031
|
};
|
|
8972
9032
|
};
|
|
@@ -9142,21 +9202,13 @@ export interface operations {
|
|
|
9142
9202
|
};
|
|
9143
9203
|
};
|
|
9144
9204
|
responses: {
|
|
9145
|
-
/** @description
|
|
9205
|
+
/** @description Multi responses */
|
|
9146
9206
|
200: {
|
|
9147
9207
|
headers: {
|
|
9148
9208
|
[name: string]: unknown;
|
|
9149
9209
|
};
|
|
9150
9210
|
content: {
|
|
9151
|
-
"application/json":
|
|
9152
|
-
/** @enum {integer} */
|
|
9153
|
-
Code?: 1001;
|
|
9154
|
-
Responses?: {
|
|
9155
|
-
/** @description Encrypted link ID */
|
|
9156
|
-
LinkID?: string;
|
|
9157
|
-
Response?: components["schemas"]["ProtonSuccess"] | components["schemas"]["ProtonError"];
|
|
9158
|
-
}[];
|
|
9159
|
-
};
|
|
9211
|
+
"application/json": components["schemas"]["MultiResponsesPerLinkFactory"];
|
|
9160
9212
|
};
|
|
9161
9213
|
};
|
|
9162
9214
|
/** @description Unprocessable Entity */
|
|
@@ -9216,70 +9268,77 @@ export interface operations {
|
|
|
9216
9268
|
};
|
|
9217
9269
|
};
|
|
9218
9270
|
};
|
|
9219
|
-
"
|
|
9271
|
+
"put_drive-v2-volumes-{volumeID}-links-{linkID}-move": {
|
|
9220
9272
|
parameters: {
|
|
9221
9273
|
query?: never;
|
|
9222
9274
|
header?: never;
|
|
9223
9275
|
path: {
|
|
9224
9276
|
volumeID: string;
|
|
9277
|
+
linkID: components["schemas"]["Id"];
|
|
9225
9278
|
};
|
|
9226
9279
|
cookie?: never;
|
|
9227
9280
|
};
|
|
9228
9281
|
requestBody?: {
|
|
9229
9282
|
content: {
|
|
9230
|
-
"application/json": components["schemas"]["
|
|
9283
|
+
"application/json": components["schemas"]["MoveLinkRequestDto2"];
|
|
9231
9284
|
};
|
|
9232
9285
|
};
|
|
9233
9286
|
responses: {
|
|
9234
|
-
|
|
9235
|
-
|
|
9287
|
+
200: components["responses"]["ProtonSuccessResponse"];
|
|
9288
|
+
/** @description Unprocessable Entity */
|
|
9289
|
+
422: {
|
|
9236
9290
|
headers: {
|
|
9237
9291
|
[name: string]: unknown;
|
|
9238
9292
|
};
|
|
9239
9293
|
content: {
|
|
9240
9294
|
"application/json": {
|
|
9241
|
-
/** @
|
|
9242
|
-
|
|
9243
|
-
|
|
9244
|
-
|
|
9295
|
+
/** @description Potential codes and their meaning:
|
|
9296
|
+
* - 200300: max folder size reached
|
|
9297
|
+
* - 200301: max folder depth reached
|
|
9298
|
+
* - 2500: file or folder with same name already exists
|
|
9299
|
+
* - 2511: cannot move favorite photos from a share
|
|
9300
|
+
* - 2501: parent folder was not found
|
|
9301
|
+
* */
|
|
9302
|
+
Code?: number;
|
|
9303
|
+
/** @description Error message */
|
|
9304
|
+
Error?: string;
|
|
9305
|
+
} | components["schemas"]["ConflictErrorResponseDto"];
|
|
9245
9306
|
};
|
|
9246
9307
|
};
|
|
9247
9308
|
};
|
|
9248
9309
|
};
|
|
9249
|
-
"
|
|
9310
|
+
"post_drive-v2-volumes-{volumeID}-remove-mine": {
|
|
9250
9311
|
parameters: {
|
|
9251
9312
|
query?: never;
|
|
9252
9313
|
header?: never;
|
|
9253
9314
|
path: {
|
|
9254
9315
|
volumeID: string;
|
|
9255
|
-
linkID: string;
|
|
9256
9316
|
};
|
|
9257
9317
|
cookie?: never;
|
|
9258
9318
|
};
|
|
9259
9319
|
requestBody?: {
|
|
9260
9320
|
content: {
|
|
9261
|
-
"application/json": components["schemas"]["
|
|
9321
|
+
"application/json": components["schemas"]["LinkIDsRequestDto"];
|
|
9262
9322
|
};
|
|
9263
9323
|
};
|
|
9264
9324
|
responses: {
|
|
9265
|
-
|
|
9266
|
-
|
|
9267
|
-
422: {
|
|
9325
|
+
/** @description Multi responses */
|
|
9326
|
+
200: {
|
|
9268
9327
|
headers: {
|
|
9269
9328
|
[name: string]: unknown;
|
|
9270
9329
|
};
|
|
9271
9330
|
content: {
|
|
9272
|
-
"application/json": components["schemas"]["
|
|
9331
|
+
"application/json": components["schemas"]["MultiResponsesPerLinkFactory"];
|
|
9273
9332
|
};
|
|
9274
9333
|
};
|
|
9275
9334
|
};
|
|
9276
9335
|
};
|
|
9277
|
-
"put_drive-
|
|
9336
|
+
"put_drive-v2-volumes-{volumeID}-links-{linkID}-rename": {
|
|
9278
9337
|
parameters: {
|
|
9279
9338
|
query?: never;
|
|
9280
9339
|
header?: never;
|
|
9281
9340
|
path: {
|
|
9282
|
-
|
|
9341
|
+
volumeID: string;
|
|
9283
9342
|
linkID: string;
|
|
9284
9343
|
};
|
|
9285
9344
|
cookie?: never;
|
|
@@ -9302,41 +9361,30 @@ export interface operations {
|
|
|
9302
9361
|
};
|
|
9303
9362
|
};
|
|
9304
9363
|
};
|
|
9305
|
-
"put_drive-
|
|
9364
|
+
"put_drive-shares-{shareID}-links-{linkID}-rename": {
|
|
9306
9365
|
parameters: {
|
|
9307
9366
|
query?: never;
|
|
9308
9367
|
header?: never;
|
|
9309
9368
|
path: {
|
|
9310
|
-
|
|
9311
|
-
linkID:
|
|
9369
|
+
shareID: string;
|
|
9370
|
+
linkID: string;
|
|
9312
9371
|
};
|
|
9313
9372
|
cookie?: never;
|
|
9314
9373
|
};
|
|
9315
9374
|
requestBody?: {
|
|
9316
9375
|
content: {
|
|
9317
|
-
"application/json": components["schemas"]["
|
|
9376
|
+
"application/json": components["schemas"]["RenameLinkRequestDto"];
|
|
9318
9377
|
};
|
|
9319
9378
|
};
|
|
9320
9379
|
responses: {
|
|
9321
9380
|
200: components["responses"]["ProtonSuccessResponse"];
|
|
9322
|
-
/** @description
|
|
9381
|
+
/** @description Conflict, a file or folder with the new name already exists in the current folder. */
|
|
9323
9382
|
422: {
|
|
9324
9383
|
headers: {
|
|
9325
9384
|
[name: string]: unknown;
|
|
9326
9385
|
};
|
|
9327
9386
|
content: {
|
|
9328
|
-
"application/json":
|
|
9329
|
-
/** @description Potential codes and their meaning:
|
|
9330
|
-
* - 200300: max folder size reached
|
|
9331
|
-
* - 200301: max folder depth reached
|
|
9332
|
-
* - 2500: file or folder with same name already exists
|
|
9333
|
-
* - 2511: cannot move favorite photos from a share
|
|
9334
|
-
* - 2501: parent folder was not found
|
|
9335
|
-
* */
|
|
9336
|
-
Code?: number;
|
|
9337
|
-
/** @description Error message */
|
|
9338
|
-
Error?: string;
|
|
9339
|
-
} | components["schemas"]["ConflictErrorResponseDto"];
|
|
9387
|
+
"application/json": components["schemas"]["ConflictErrorResponseDto"];
|
|
9340
9388
|
};
|
|
9341
9389
|
};
|
|
9342
9390
|
};
|
|
@@ -9978,17 +10026,13 @@ export interface operations {
|
|
|
9978
10026
|
};
|
|
9979
10027
|
};
|
|
9980
10028
|
responses: {
|
|
9981
|
-
/** @description
|
|
10029
|
+
/** @description Multi responses */
|
|
9982
10030
|
200: {
|
|
9983
10031
|
headers: {
|
|
9984
10032
|
[name: string]: unknown;
|
|
9985
10033
|
};
|
|
9986
10034
|
content: {
|
|
9987
|
-
"application/json":
|
|
9988
|
-
/** @enum {integer} */
|
|
9989
|
-
Code?: 1001;
|
|
9990
|
-
Responses?: components["schemas"]["MultiDeleteTransformer"][];
|
|
9991
|
-
};
|
|
10035
|
+
"application/json": components["schemas"]["MultiResponsesPerLinkFactory"];
|
|
9992
10036
|
};
|
|
9993
10037
|
};
|
|
9994
10038
|
};
|
|
@@ -10008,17 +10052,13 @@ export interface operations {
|
|
|
10008
10052
|
};
|
|
10009
10053
|
};
|
|
10010
10054
|
responses: {
|
|
10011
|
-
/** @description
|
|
10055
|
+
/** @description Multi responses */
|
|
10012
10056
|
200: {
|
|
10013
10057
|
headers: {
|
|
10014
10058
|
[name: string]: unknown;
|
|
10015
10059
|
};
|
|
10016
10060
|
content: {
|
|
10017
|
-
"application/json":
|
|
10018
|
-
/** @enum {integer} */
|
|
10019
|
-
Code?: 1001;
|
|
10020
|
-
Responses?: components["schemas"]["MultiDeleteTransformer"][];
|
|
10021
|
-
};
|
|
10061
|
+
"application/json": components["schemas"]["MultiResponsesPerLinkFactory"];
|
|
10022
10062
|
};
|
|
10023
10063
|
};
|
|
10024
10064
|
};
|
|
@@ -10152,6 +10192,32 @@ export interface operations {
|
|
|
10152
10192
|
};
|
|
10153
10193
|
};
|
|
10154
10194
|
};
|
|
10195
|
+
"get_drive-v2-volumes-{volumeID}-trash": {
|
|
10196
|
+
parameters: {
|
|
10197
|
+
query?: {
|
|
10198
|
+
PageSize?: components["schemas"]["OffsetPagination"]["PageSize"] & unknown;
|
|
10199
|
+
Page?: components["schemas"]["OffsetPagination"]["Page"] & unknown;
|
|
10200
|
+
};
|
|
10201
|
+
header?: never;
|
|
10202
|
+
path: {
|
|
10203
|
+
volumeID: string;
|
|
10204
|
+
};
|
|
10205
|
+
cookie?: never;
|
|
10206
|
+
};
|
|
10207
|
+
requestBody?: never;
|
|
10208
|
+
responses: {
|
|
10209
|
+
/** @description Success */
|
|
10210
|
+
200: {
|
|
10211
|
+
headers: {
|
|
10212
|
+
"x-pm-code": 1000;
|
|
10213
|
+
[name: string]: unknown;
|
|
10214
|
+
};
|
|
10215
|
+
content: {
|
|
10216
|
+
"application/json": components["schemas"]["VolumeTrashListV2"];
|
|
10217
|
+
};
|
|
10218
|
+
};
|
|
10219
|
+
};
|
|
10220
|
+
};
|
|
10155
10221
|
"put_drive-v2-volumes-{volumeID}-trash-restore_multiple": {
|
|
10156
10222
|
parameters: {
|
|
10157
10223
|
query?: never;
|
|
@@ -10167,23 +10233,13 @@ export interface operations {
|
|
|
10167
10233
|
};
|
|
10168
10234
|
};
|
|
10169
10235
|
responses: {
|
|
10170
|
-
/** @description
|
|
10236
|
+
/** @description Multi responses */
|
|
10171
10237
|
200: {
|
|
10172
10238
|
headers: {
|
|
10173
10239
|
[name: string]: unknown;
|
|
10174
10240
|
};
|
|
10175
10241
|
content: {
|
|
10176
|
-
"application/json":
|
|
10177
|
-
/** @enum {integer} */
|
|
10178
|
-
Code?: 1001;
|
|
10179
|
-
Responses?: {
|
|
10180
|
-
/** @description Encrypted link ID */
|
|
10181
|
-
LinkID?: string;
|
|
10182
|
-
Response?: {
|
|
10183
|
-
Code?: components["schemas"]["ResponseCodeSuccess"];
|
|
10184
|
-
};
|
|
10185
|
-
}[];
|
|
10186
|
-
};
|
|
10242
|
+
"application/json": components["schemas"]["MultiResponsesPerLinkFactory"];
|
|
10187
10243
|
};
|
|
10188
10244
|
};
|
|
10189
10245
|
};
|
|
@@ -10203,23 +10259,13 @@ export interface operations {
|
|
|
10203
10259
|
};
|
|
10204
10260
|
};
|
|
10205
10261
|
responses: {
|
|
10206
|
-
/** @description
|
|
10262
|
+
/** @description Multi responses */
|
|
10207
10263
|
200: {
|
|
10208
10264
|
headers: {
|
|
10209
10265
|
[name: string]: unknown;
|
|
10210
10266
|
};
|
|
10211
10267
|
content: {
|
|
10212
|
-
"application/json":
|
|
10213
|
-
/** @enum {integer} */
|
|
10214
|
-
Code?: 1001;
|
|
10215
|
-
Responses?: {
|
|
10216
|
-
/** @description Encrypted link ID */
|
|
10217
|
-
LinkID?: string;
|
|
10218
|
-
Response?: {
|
|
10219
|
-
Code?: components["schemas"]["ResponseCodeSuccess"];
|
|
10220
|
-
};
|
|
10221
|
-
}[];
|
|
10222
|
-
};
|
|
10268
|
+
"application/json": components["schemas"]["MultiResponsesPerLinkFactory"];
|
|
10223
10269
|
};
|
|
10224
10270
|
};
|
|
10225
10271
|
};
|
|
@@ -10239,17 +10285,13 @@ export interface operations {
|
|
|
10239
10285
|
};
|
|
10240
10286
|
};
|
|
10241
10287
|
responses: {
|
|
10242
|
-
/** @description
|
|
10288
|
+
/** @description Multi responses */
|
|
10243
10289
|
200: {
|
|
10244
10290
|
headers: {
|
|
10245
10291
|
[name: string]: unknown;
|
|
10246
10292
|
};
|
|
10247
10293
|
content: {
|
|
10248
|
-
"application/json":
|
|
10249
|
-
/** @enum {integer} */
|
|
10250
|
-
Code?: 1001;
|
|
10251
|
-
Responses?: components["schemas"]["MultiDeleteTransformer"][];
|
|
10252
|
-
};
|
|
10294
|
+
"application/json": components["schemas"]["MultiResponsesPerLinkFactory"];
|
|
10253
10295
|
};
|
|
10254
10296
|
};
|
|
10255
10297
|
};
|
|
@@ -11475,17 +11517,13 @@ export interface operations {
|
|
|
11475
11517
|
};
|
|
11476
11518
|
};
|
|
11477
11519
|
responses: {
|
|
11478
|
-
/** @description
|
|
11520
|
+
/** @description Multi responses */
|
|
11479
11521
|
200: {
|
|
11480
11522
|
headers: {
|
|
11481
11523
|
[name: string]: unknown;
|
|
11482
11524
|
};
|
|
11483
11525
|
content: {
|
|
11484
|
-
"application/json":
|
|
11485
|
-
/** @enum {integer} */
|
|
11486
|
-
Code?: 1001;
|
|
11487
|
-
Responses?: components["schemas"]["MultiDeleteTransformer"][];
|
|
11488
|
-
};
|
|
11526
|
+
"application/json": components["schemas"]["MultiResponsesPerLinkFactory"];
|
|
11489
11527
|
};
|
|
11490
11528
|
};
|
|
11491
11529
|
/** @description Unprocessable Entity */
|
|
@@ -13627,6 +13665,41 @@ export interface operations {
|
|
|
13627
13665
|
};
|
|
13628
13666
|
};
|
|
13629
13667
|
};
|
|
13668
|
+
"get_drive-organization-volumes": {
|
|
13669
|
+
parameters: {
|
|
13670
|
+
query?: never;
|
|
13671
|
+
header?: never;
|
|
13672
|
+
path?: never;
|
|
13673
|
+
cookie?: never;
|
|
13674
|
+
};
|
|
13675
|
+
requestBody?: never;
|
|
13676
|
+
responses: {
|
|
13677
|
+
/** @description Success */
|
|
13678
|
+
200: {
|
|
13679
|
+
headers: {
|
|
13680
|
+
"x-pm-code": 1000;
|
|
13681
|
+
[name: string]: unknown;
|
|
13682
|
+
};
|
|
13683
|
+
content: {
|
|
13684
|
+
"application/json": components["schemas"]["ListOrgVolumesResponseDto"];
|
|
13685
|
+
};
|
|
13686
|
+
};
|
|
13687
|
+
/** @description Unprocessable Entity */
|
|
13688
|
+
422: {
|
|
13689
|
+
headers: {
|
|
13690
|
+
[name: string]: unknown;
|
|
13691
|
+
};
|
|
13692
|
+
content: {
|
|
13693
|
+
"application/json": {
|
|
13694
|
+
/** @description Potential codes and their meaning:
|
|
13695
|
+
* - 2000: User does not belong to an organization
|
|
13696
|
+
* */
|
|
13697
|
+
Code: number;
|
|
13698
|
+
};
|
|
13699
|
+
};
|
|
13700
|
+
};
|
|
13701
|
+
};
|
|
13702
|
+
};
|
|
13630
13703
|
"post_drive-organization-volumes": {
|
|
13631
13704
|
parameters: {
|
|
13632
13705
|
query?: never;
|
|
@@ -13749,6 +13822,41 @@ export interface operations {
|
|
|
13749
13822
|
422: components["responses"]["ProtonErrorResponse"];
|
|
13750
13823
|
};
|
|
13751
13824
|
};
|
|
13825
|
+
"get_drive-organization-volumes-admin": {
|
|
13826
|
+
parameters: {
|
|
13827
|
+
query?: never;
|
|
13828
|
+
header?: never;
|
|
13829
|
+
path?: never;
|
|
13830
|
+
cookie?: never;
|
|
13831
|
+
};
|
|
13832
|
+
requestBody?: never;
|
|
13833
|
+
responses: {
|
|
13834
|
+
/** @description Success */
|
|
13835
|
+
200: {
|
|
13836
|
+
headers: {
|
|
13837
|
+
"x-pm-code": 1000;
|
|
13838
|
+
[name: string]: unknown;
|
|
13839
|
+
};
|
|
13840
|
+
content: {
|
|
13841
|
+
"application/json": components["schemas"]["ListOrgVolumesForAdminResponseDto"];
|
|
13842
|
+
};
|
|
13843
|
+
};
|
|
13844
|
+
/** @description Unprocessable Entity */
|
|
13845
|
+
422: {
|
|
13846
|
+
headers: {
|
|
13847
|
+
[name: string]: unknown;
|
|
13848
|
+
};
|
|
13849
|
+
content: {
|
|
13850
|
+
"application/json": {
|
|
13851
|
+
/** @description Potential codes and their meaning:
|
|
13852
|
+
* - 2000: User does not belong to an organization
|
|
13853
|
+
* */
|
|
13854
|
+
Code: number;
|
|
13855
|
+
};
|
|
13856
|
+
};
|
|
13857
|
+
};
|
|
13858
|
+
};
|
|
13859
|
+
};
|
|
13752
13860
|
"put_drive-volumes-{volumeID}-restore": {
|
|
13753
13861
|
parameters: {
|
|
13754
13862
|
query?: never;
|