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