@secrecy/lib 1.0.0-dev.23 → 1.0.0-dev.24
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/lib/BaseClient.d.ts +1 -1
- package/lib/BaseClient.js +5 -6
- package/lib/client/helpers.d.ts +1 -1
- package/lib/client/helpers.js +1 -3
- package/lib/client/index.js +6 -13
- package/lib/zeus/const.js +1 -1
- package/lib/zeus/index.d.ts +547 -430
- package/lib/zeus/index.js +44 -44
- package/package.json +27 -27
package/lib/zeus/index.d.ts
CHANGED
|
@@ -506,13 +506,13 @@ export declare type ValueTypes = {
|
|
|
506
506
|
}>;
|
|
507
507
|
["ErrorBase"]: AliasType<{
|
|
508
508
|
message?: boolean;
|
|
509
|
-
[
|
|
510
|
-
[
|
|
511
|
-
[
|
|
512
|
-
[
|
|
513
|
-
[
|
|
514
|
-
[
|
|
515
|
-
[
|
|
509
|
+
["...on ErrorAccessDenied"]?: Omit<ValueTypes["ErrorAccessDenied"], keyof ValueTypes["ErrorBase"]>;
|
|
510
|
+
["...on ErrorBasic"]?: Omit<ValueTypes["ErrorBasic"], keyof ValueTypes["ErrorBase"]>;
|
|
511
|
+
["...on ErrorLangNotExist"]?: Omit<ValueTypes["ErrorLangNotExist"], keyof ValueTypes["ErrorBase"]>;
|
|
512
|
+
["...on ErrorLimit"]?: Omit<ValueTypes["ErrorLimit"], keyof ValueTypes["ErrorBase"]>;
|
|
513
|
+
["...on ErrorNotExist"]?: Omit<ValueTypes["ErrorNotExist"], keyof ValueTypes["ErrorBase"]>;
|
|
514
|
+
["...on ErrorNotFound"]?: Omit<ValueTypes["ErrorNotFound"], keyof ValueTypes["ErrorBase"]>;
|
|
515
|
+
["...on ErrorUpgradePlan"]?: Omit<ValueTypes["ErrorUpgradePlan"], keyof ValueTypes["ErrorBase"]>;
|
|
516
516
|
__typename?: boolean;
|
|
517
517
|
}>;
|
|
518
518
|
["ErrorBasic"]: AliasType<{
|
|
@@ -592,9 +592,9 @@ export declare type ValueTypes = {
|
|
|
592
592
|
md5Encrypted?: boolean;
|
|
593
593
|
totalSize?: boolean;
|
|
594
594
|
type?: boolean;
|
|
595
|
-
[
|
|
596
|
-
[
|
|
597
|
-
[
|
|
595
|
+
["...on FileContentCloud"]?: Omit<ValueTypes["FileContentCloud"], keyof ValueTypes["FileContentBase"]>;
|
|
596
|
+
["...on FileContentReceivedMail"]?: Omit<ValueTypes["FileContentReceivedMail"], keyof ValueTypes["FileContentBase"]>;
|
|
597
|
+
["...on FileContentSentMail"]?: Omit<ValueTypes["FileContentSentMail"], keyof ValueTypes["FileContentBase"]>;
|
|
598
598
|
__typename?: boolean;
|
|
599
599
|
}>;
|
|
600
600
|
["FileContentCloud"]: AliasType<{
|
|
@@ -1293,18 +1293,27 @@ export declare type ValueTypes = {
|
|
|
1293
1293
|
dbConfig?: [{
|
|
1294
1294
|
appCode: string;
|
|
1295
1295
|
}, ValueTypes["DbConfigResult"]];
|
|
1296
|
-
dbGet?: [
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1296
|
+
dbGet?: [
|
|
1297
|
+
{
|
|
1298
|
+
field: string;
|
|
1299
|
+
userId?: string | null;
|
|
1300
|
+
},
|
|
1301
|
+
ValueTypes["DbGetResult"]
|
|
1302
|
+
];
|
|
1303
|
+
dbSearch?: [
|
|
1304
|
+
{
|
|
1305
|
+
search: string;
|
|
1306
|
+
field: string;
|
|
1307
|
+
},
|
|
1308
|
+
ValueTypes["DbSearchResult"]
|
|
1309
|
+
];
|
|
1304
1310
|
deletedFolders?: ValueTypes["DeletedFoldersResult"];
|
|
1305
|
-
deletedMails?: [
|
|
1306
|
-
|
|
1307
|
-
|
|
1311
|
+
deletedMails?: [
|
|
1312
|
+
{
|
|
1313
|
+
mailType: ValueTypes["MailType"];
|
|
1314
|
+
},
|
|
1315
|
+
ValueTypes["DeletedMailsResult"]
|
|
1316
|
+
];
|
|
1308
1317
|
deletedVFiles?: ValueTypes["DeletedVFilesResult"];
|
|
1309
1318
|
faq?: [{
|
|
1310
1319
|
lang?: ValueTypes["Lang"] | null;
|
|
@@ -1315,13 +1324,19 @@ export declare type ValueTypes = {
|
|
|
1315
1324
|
fileContent?: [{
|
|
1316
1325
|
fileId: string;
|
|
1317
1326
|
}, ValueTypes["FileContentResult"]];
|
|
1318
|
-
filesSharedWithMe?: [
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1327
|
+
filesSharedWithMe?: [
|
|
1328
|
+
{
|
|
1329
|
+
accepted?: boolean | null;
|
|
1330
|
+
},
|
|
1331
|
+
ValueTypes["FileSharedContent"]
|
|
1332
|
+
];
|
|
1333
|
+
folder?: [
|
|
1334
|
+
{
|
|
1335
|
+
id?: string | null;
|
|
1336
|
+
deleted?: boolean | null;
|
|
1337
|
+
},
|
|
1338
|
+
ValueTypes["FolderResult"]
|
|
1339
|
+
];
|
|
1325
1340
|
folderSize?: [{
|
|
1326
1341
|
folderId?: string | null;
|
|
1327
1342
|
}, ValueTypes["FolderSizeResult"]];
|
|
@@ -1349,55 +1364,85 @@ export declare type ValueTypes = {
|
|
|
1349
1364
|
__typename?: boolean;
|
|
1350
1365
|
}>;
|
|
1351
1366
|
["Mutation"]: AliasType<{
|
|
1352
|
-
addFileToHistory?: [
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1367
|
+
addFileToHistory?: [
|
|
1368
|
+
{
|
|
1369
|
+
vFileId: string;
|
|
1370
|
+
fileId: string;
|
|
1371
|
+
},
|
|
1372
|
+
ValueTypes["AddFileToHistoryResult"]
|
|
1373
|
+
];
|
|
1356
1374
|
cancelPayment?: ValueTypes["CancelPaymentResult"];
|
|
1357
|
-
createApplication?: [
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1375
|
+
createApplication?: [
|
|
1376
|
+
{
|
|
1377
|
+
name: string;
|
|
1378
|
+
origin: string;
|
|
1379
|
+
developerId: string;
|
|
1380
|
+
},
|
|
1381
|
+
ValueTypes["CreateApplicationResult"]
|
|
1382
|
+
];
|
|
1383
|
+
createDraftMail?: [
|
|
1384
|
+
{
|
|
1385
|
+
hash: string;
|
|
1386
|
+
hashKey: string;
|
|
1387
|
+
body: string;
|
|
1388
|
+
subject: string;
|
|
1389
|
+
replyTo?: string | null;
|
|
1390
|
+
senderFiles: ValueTypes["MailFileInput"][];
|
|
1391
|
+
recipients: string[];
|
|
1392
|
+
},
|
|
1393
|
+
ValueTypes["CreateDraftMailResult"]
|
|
1394
|
+
];
|
|
1395
|
+
createFolder?: [
|
|
1396
|
+
{
|
|
1397
|
+
name: string;
|
|
1398
|
+
key: string;
|
|
1399
|
+
parentFolderId?: string | null;
|
|
1400
|
+
},
|
|
1401
|
+
ValueTypes["CreateFolderResult"]
|
|
1402
|
+
];
|
|
1403
|
+
dbConfigMutation?: [
|
|
1404
|
+
{
|
|
1405
|
+
appCode: string;
|
|
1406
|
+
config: string;
|
|
1407
|
+
},
|
|
1408
|
+
ValueTypes["DbConfigMutationResult"]
|
|
1409
|
+
];
|
|
1410
|
+
dbSet?: [
|
|
1411
|
+
{
|
|
1412
|
+
value: string;
|
|
1413
|
+
userId?: string | null;
|
|
1414
|
+
},
|
|
1415
|
+
ValueTypes["DbSetResult"]
|
|
1416
|
+
];
|
|
1417
|
+
deleteDraftMail?: [
|
|
1418
|
+
{
|
|
1419
|
+
draftId: string;
|
|
1420
|
+
},
|
|
1421
|
+
ValueTypes["DeleteDraftMailResult"]
|
|
1422
|
+
];
|
|
1423
|
+
deleteFile?: [
|
|
1424
|
+
{
|
|
1425
|
+
fileId: string;
|
|
1426
|
+
vFileId: string;
|
|
1427
|
+
},
|
|
1428
|
+
ValueTypes["DeleteFileResult"]
|
|
1429
|
+
];
|
|
1391
1430
|
deleteFolder?: [{
|
|
1392
1431
|
id: string;
|
|
1393
1432
|
}, ValueTypes["DeleteFolderResult"]];
|
|
1394
|
-
deleteFolderCloudTrash?: [
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1433
|
+
deleteFolderCloudTrash?: [
|
|
1434
|
+
{
|
|
1435
|
+
ids: string[];
|
|
1436
|
+
},
|
|
1437
|
+
ValueTypes["DeleteFolderCloudTrashResult"]
|
|
1438
|
+
];
|
|
1439
|
+
deleteFolderSharing?: [
|
|
1440
|
+
{
|
|
1441
|
+
folderId: string;
|
|
1442
|
+
userId: string;
|
|
1443
|
+
},
|
|
1444
|
+
ValueTypes["DeleteFolderSharingResult"]
|
|
1445
|
+
];
|
|
1401
1446
|
deleteMail?: [{
|
|
1402
1447
|
mailId: string;
|
|
1403
1448
|
}, ValueTypes["DeleteMailResult"]];
|
|
@@ -1410,36 +1455,54 @@ export declare type ValueTypes = {
|
|
|
1410
1455
|
deleteVFile?: [{
|
|
1411
1456
|
fileId: string;
|
|
1412
1457
|
}, ValueTypes["DeleteVFileResult"]];
|
|
1413
|
-
deleteVFileCloudTrash?: [
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1458
|
+
deleteVFileCloudTrash?: [
|
|
1459
|
+
{
|
|
1460
|
+
ids: string[];
|
|
1461
|
+
},
|
|
1462
|
+
ValueTypes["DeleteVFileCloudTrashResult"]
|
|
1463
|
+
];
|
|
1464
|
+
deleteVFileSharing?: [
|
|
1465
|
+
{
|
|
1466
|
+
vFileId: string;
|
|
1467
|
+
userId: string;
|
|
1468
|
+
},
|
|
1469
|
+
ValueTypes["DeleteVFileSharingResult"]
|
|
1470
|
+
];
|
|
1471
|
+
duplicateVFile?: [
|
|
1472
|
+
{
|
|
1473
|
+
vFileId: string;
|
|
1474
|
+
folderId?: string | null;
|
|
1475
|
+
customName?: string | null;
|
|
1476
|
+
},
|
|
1477
|
+
ValueTypes["DuplicateVFileResult"]
|
|
1478
|
+
];
|
|
1425
1479
|
emptyCloudTrash?: ValueTypes["EmptyCloudTrashResult"];
|
|
1426
1480
|
emptyMailTrash?: ValueTypes["EmptyMailTrashResult"];
|
|
1427
1481
|
logout?: [{
|
|
1428
1482
|
sessionId?: string | null;
|
|
1429
1483
|
}, ValueTypes["LogoutResult"]];
|
|
1430
|
-
moveFiles?: [
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1484
|
+
moveFiles?: [
|
|
1485
|
+
{
|
|
1486
|
+
filesId: string[];
|
|
1487
|
+
parentFolderId?: string | null;
|
|
1488
|
+
},
|
|
1489
|
+
ValueTypes["MoveFilesResult"]
|
|
1490
|
+
];
|
|
1491
|
+
moveFolders?: [
|
|
1492
|
+
{
|
|
1493
|
+
foldersId: string[];
|
|
1494
|
+
parentFolderId?: string | null;
|
|
1495
|
+
},
|
|
1496
|
+
ValueTypes["MoveFoldersResult"]
|
|
1497
|
+
];
|
|
1498
|
+
pay?: [
|
|
1499
|
+
{
|
|
1500
|
+
planCode: string;
|
|
1501
|
+
input: ValueTypes["PayInput"];
|
|
1502
|
+
autoRenew?: boolean | null;
|
|
1503
|
+
},
|
|
1504
|
+
ValueTypes["PayResult"]
|
|
1505
|
+
];
|
|
1443
1506
|
readMail?: [{
|
|
1444
1507
|
mailId: string;
|
|
1445
1508
|
}, ValueTypes["ReadMailResult"]];
|
|
@@ -1452,117 +1515,171 @@ export declare type ValueTypes = {
|
|
|
1452
1515
|
recoverVFile?: [{
|
|
1453
1516
|
vFileId: string;
|
|
1454
1517
|
}, ValueTypes["RecoverVFileResult"]];
|
|
1455
|
-
saveInCloud?: [
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1518
|
+
saveInCloud?: [
|
|
1519
|
+
{
|
|
1520
|
+
fileId: string;
|
|
1521
|
+
key: string;
|
|
1522
|
+
folderId?: string | null;
|
|
1523
|
+
filename: string;
|
|
1524
|
+
nameKey: string;
|
|
1525
|
+
},
|
|
1526
|
+
ValueTypes["SaveInCloudResult"]
|
|
1527
|
+
];
|
|
1528
|
+
sendDraftMail?: [
|
|
1529
|
+
{
|
|
1530
|
+
draftMailId: string;
|
|
1531
|
+
temporaryRecipients: string[];
|
|
1532
|
+
recipients: ValueTypes["MailRecipientInput"][];
|
|
1533
|
+
customMessage?: string | null;
|
|
1534
|
+
},
|
|
1535
|
+
ValueTypes["SendDraftMailResult"]
|
|
1536
|
+
];
|
|
1537
|
+
sendOneMail?: [
|
|
1538
|
+
{
|
|
1539
|
+
mailIntegrityId: string;
|
|
1540
|
+
recipient: ValueTypes["MailRecipientInput"];
|
|
1541
|
+
},
|
|
1542
|
+
ValueTypes["SendOneMailResult"]
|
|
1543
|
+
];
|
|
1544
|
+
sendReport?: [
|
|
1545
|
+
{
|
|
1546
|
+
reportedUserId: string;
|
|
1547
|
+
customMessage?: string | null;
|
|
1548
|
+
},
|
|
1549
|
+
ValueTypes["SendReportResult"]
|
|
1550
|
+
];
|
|
1551
|
+
shareFileInHistory?: [
|
|
1552
|
+
{
|
|
1553
|
+
input: ValueTypes["ShareFileInHistoryInput"];
|
|
1554
|
+
vFileId: string;
|
|
1555
|
+
},
|
|
1556
|
+
ValueTypes["ShareFileInHistoryResult"]
|
|
1557
|
+
];
|
|
1558
|
+
shareFolder?: [
|
|
1559
|
+
{
|
|
1560
|
+
folderId: string;
|
|
1561
|
+
userId: string;
|
|
1562
|
+
},
|
|
1563
|
+
ValueTypes["ShareFolderResult"]
|
|
1564
|
+
];
|
|
1565
|
+
shareFolderFinish?: [
|
|
1566
|
+
{
|
|
1567
|
+
shareFolders: ValueTypes["ShareFoldersInput"];
|
|
1568
|
+
userId: string;
|
|
1569
|
+
rights: ValueTypes["Rights"];
|
|
1570
|
+
},
|
|
1571
|
+
ValueTypes["ShareFolderFinishResult"]
|
|
1572
|
+
];
|
|
1573
|
+
shareVFile?: [
|
|
1574
|
+
{
|
|
1575
|
+
vFileId: string;
|
|
1576
|
+
userId: string;
|
|
1577
|
+
nameKey: string;
|
|
1578
|
+
rights: ValueTypes["Rights"];
|
|
1579
|
+
history: ValueTypes["ShareFileKeyInput"][];
|
|
1580
|
+
},
|
|
1581
|
+
ValueTypes["ShareVFileResult"]
|
|
1582
|
+
];
|
|
1496
1583
|
unreadMail?: [{
|
|
1497
1584
|
mailId: string;
|
|
1498
1585
|
}, ValueTypes["UnreadMailResult"]];
|
|
1499
|
-
updateAppNotifications?: [
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1586
|
+
updateAppNotifications?: [
|
|
1587
|
+
{
|
|
1588
|
+
enableAll?: boolean | null;
|
|
1589
|
+
mail?: boolean | null;
|
|
1590
|
+
cloud?: boolean | null;
|
|
1591
|
+
disableAllUntil?: ValueTypes["DateTime"] | null;
|
|
1592
|
+
},
|
|
1593
|
+
ValueTypes["UpdateAppNotificationsResult"]
|
|
1594
|
+
];
|
|
1595
|
+
updateAppSettings?: [
|
|
1596
|
+
{
|
|
1597
|
+
cloudFileDaysForDelete?: number | null;
|
|
1598
|
+
cloudFolderDaysForDelete?: number | null;
|
|
1599
|
+
historyFileDaysForDelete?: number | null;
|
|
1600
|
+
historyMaxFileCount?: number | null;
|
|
1601
|
+
autoDisconnectDelay?: number | null;
|
|
1602
|
+
},
|
|
1603
|
+
ValueTypes["UpdateAppSettingsResult"]
|
|
1604
|
+
];
|
|
1605
|
+
updateDraftMail?: [
|
|
1606
|
+
{
|
|
1607
|
+
draftId: string;
|
|
1608
|
+
hash?: string | null;
|
|
1609
|
+
hashKey?: string | null;
|
|
1610
|
+
body?: string | null;
|
|
1611
|
+
subject?: string | null;
|
|
1612
|
+
replyTo?: string | null;
|
|
1613
|
+
senderFiles?: ValueTypes["MailFileInput"][];
|
|
1614
|
+
recipients?: string[];
|
|
1615
|
+
},
|
|
1616
|
+
ValueTypes["UpdateDraftMailResult"]
|
|
1617
|
+
];
|
|
1618
|
+
updateFile?: [
|
|
1619
|
+
{
|
|
1620
|
+
fileId: string;
|
|
1621
|
+
isFavorite?: boolean | null;
|
|
1622
|
+
filename?: string | null;
|
|
1623
|
+
deletedAt?: ValueTypes["DateTime"] | null;
|
|
1624
|
+
},
|
|
1625
|
+
ValueTypes["UpdateFileResult"]
|
|
1626
|
+
];
|
|
1627
|
+
updateFolder?: [
|
|
1628
|
+
{
|
|
1629
|
+
folderId: string;
|
|
1630
|
+
name?: string | null;
|
|
1631
|
+
isFavorite?: boolean | null;
|
|
1632
|
+
deletedAt?: ValueTypes["DateTime"] | null;
|
|
1633
|
+
},
|
|
1634
|
+
ValueTypes["UpdateFolderResult"]
|
|
1635
|
+
];
|
|
1636
|
+
updateProfile?: [
|
|
1637
|
+
{
|
|
1638
|
+
firstname?: string | null;
|
|
1639
|
+
lastname?: string | null;
|
|
1640
|
+
lang?: ValueTypes["Lang"] | null;
|
|
1641
|
+
},
|
|
1642
|
+
ValueTypes["UpdateProfileResult"]
|
|
1643
|
+
];
|
|
1644
|
+
uploadAnonymous?: [
|
|
1645
|
+
{
|
|
1646
|
+
fileName: string;
|
|
1647
|
+
fileSize: number;
|
|
1648
|
+
fileSizeBefore: number;
|
|
1649
|
+
message?: string | null;
|
|
1650
|
+
pubKey: string;
|
|
1651
|
+
token: string;
|
|
1652
|
+
},
|
|
1653
|
+
ValueTypes["FileResponse"]
|
|
1654
|
+
];
|
|
1655
|
+
uploadFile?: [
|
|
1656
|
+
{
|
|
1657
|
+
fileSize: ValueTypes["BigInt"];
|
|
1658
|
+
fileSizeBefore: ValueTypes["BigInt"];
|
|
1659
|
+
fileKey: string;
|
|
1660
|
+
md5: string;
|
|
1661
|
+
md5Encrypted: string;
|
|
1662
|
+
},
|
|
1663
|
+
ValueTypes["UploadFileResult"]
|
|
1664
|
+
];
|
|
1554
1665
|
uploadFileEnd?: [{
|
|
1555
1666
|
fileId: string;
|
|
1556
1667
|
}, ValueTypes["UploadFileEndResult"]];
|
|
1557
|
-
uploadFilePartEnd?: [
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1668
|
+
uploadFilePartEnd?: [
|
|
1669
|
+
{
|
|
1670
|
+
fileId: string;
|
|
1671
|
+
md5: string;
|
|
1672
|
+
order: number;
|
|
1673
|
+
},
|
|
1674
|
+
ValueTypes["UploadFilePartEndResult"]
|
|
1675
|
+
];
|
|
1676
|
+
changeUserPlan?: [
|
|
1677
|
+
{
|
|
1678
|
+
userId: string;
|
|
1679
|
+
plan: ValueTypes["PlanKind"];
|
|
1680
|
+
},
|
|
1681
|
+
ValueTypes["ChangeUserPlanResult"]
|
|
1682
|
+
];
|
|
1566
1683
|
__typename?: boolean;
|
|
1567
1684
|
}>;
|
|
1568
1685
|
["Subscription"]: AliasType<{
|
|
@@ -2414,414 +2531,414 @@ export declare type GraphQLTypes = {
|
|
|
2414
2531
|
["Rights"]: Rights;
|
|
2415
2532
|
["AppNotificationsResult"]: {
|
|
2416
2533
|
__typename: "UserAppNotifications" | "ErrorAccessDenied" | "ErrorNotFound";
|
|
2417
|
-
[
|
|
2418
|
-
[
|
|
2419
|
-
[
|
|
2534
|
+
["...on UserAppNotifications"]: "__union" & GraphQLTypes["UserAppNotifications"];
|
|
2535
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2536
|
+
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
2420
2537
|
};
|
|
2421
2538
|
["BlogResult"]: {
|
|
2422
2539
|
__typename: "BlogResponse" | "ErrorLangNotExist";
|
|
2423
|
-
[
|
|
2424
|
-
[
|
|
2540
|
+
["...on BlogResponse"]: "__union" & GraphQLTypes["BlogResponse"];
|
|
2541
|
+
["...on ErrorLangNotExist"]: "__union" & GraphQLTypes["ErrorLangNotExist"];
|
|
2425
2542
|
};
|
|
2426
2543
|
["DbConfigResult"]: {
|
|
2427
2544
|
__typename: "DbConfigResponse" | "ErrorAccessDenied" | "ErrorNotExist" | "ErrorNotFound";
|
|
2428
|
-
[
|
|
2429
|
-
[
|
|
2430
|
-
[
|
|
2431
|
-
[
|
|
2545
|
+
["...on DbConfigResponse"]: "__union" & GraphQLTypes["DbConfigResponse"];
|
|
2546
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2547
|
+
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
2548
|
+
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
2432
2549
|
};
|
|
2433
2550
|
["DbGetResult"]: {
|
|
2434
2551
|
__typename: "DbGetResponse" | "ErrorAccessDenied" | "ErrorNotFound" | "ErrorNotExist";
|
|
2435
|
-
[
|
|
2436
|
-
[
|
|
2437
|
-
[
|
|
2438
|
-
[
|
|
2552
|
+
["...on DbGetResponse"]: "__union" & GraphQLTypes["DbGetResponse"];
|
|
2553
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2554
|
+
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
2555
|
+
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
2439
2556
|
};
|
|
2440
2557
|
["DbSearchResult"]: {
|
|
2441
2558
|
__typename: "DbSearchResponse" | "ErrorAccessDenied" | "ErrorNotExist" | "ErrorBasic";
|
|
2442
|
-
[
|
|
2443
|
-
[
|
|
2444
|
-
[
|
|
2445
|
-
[
|
|
2559
|
+
["...on DbSearchResponse"]: "__union" & GraphQLTypes["DbSearchResponse"];
|
|
2560
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2561
|
+
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
2562
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
2446
2563
|
};
|
|
2447
2564
|
["DeletedFoldersResult"]: {
|
|
2448
2565
|
__typename: "DeletedFoldersResponse" | "ErrorAccessDenied";
|
|
2449
|
-
[
|
|
2450
|
-
[
|
|
2566
|
+
["...on DeletedFoldersResponse"]: "__union" & GraphQLTypes["DeletedFoldersResponse"];
|
|
2567
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2451
2568
|
};
|
|
2452
2569
|
["DeletedMailsResult"]: {
|
|
2453
2570
|
__typename: "DeletedMailsResponse" | "ErrorAccessDenied";
|
|
2454
|
-
[
|
|
2455
|
-
[
|
|
2571
|
+
["...on DeletedMailsResponse"]: "__union" & GraphQLTypes["DeletedMailsResponse"];
|
|
2572
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2456
2573
|
};
|
|
2457
2574
|
["DeletedVFilesResult"]: {
|
|
2458
2575
|
__typename: "DeletedVFilesResponse" | "ErrorAccessDenied";
|
|
2459
|
-
[
|
|
2460
|
-
[
|
|
2576
|
+
["...on DeletedVFilesResponse"]: "__union" & GraphQLTypes["DeletedVFilesResponse"];
|
|
2577
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2461
2578
|
};
|
|
2462
2579
|
["FaqResult"]: {
|
|
2463
2580
|
__typename: "FaqResponse" | "ErrorAccessDenied";
|
|
2464
|
-
[
|
|
2465
|
-
[
|
|
2581
|
+
["...on FaqResponse"]: "__union" & GraphQLTypes["FaqResponse"];
|
|
2582
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2466
2583
|
};
|
|
2467
2584
|
["FileResult"]: {
|
|
2468
2585
|
__typename: "FileQueryResponse" | "ErrorAccessDenied";
|
|
2469
|
-
[
|
|
2470
|
-
[
|
|
2586
|
+
["...on FileQueryResponse"]: "__union" & GraphQLTypes["FileQueryResponse"];
|
|
2587
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2471
2588
|
};
|
|
2472
2589
|
["FileContentResult"]: {
|
|
2473
2590
|
__typename: "FileContentResponse" | "ErrorAccessDenied" | "ErrorBasic";
|
|
2474
|
-
[
|
|
2475
|
-
[
|
|
2476
|
-
[
|
|
2591
|
+
["...on FileContentResponse"]: "__union" & GraphQLTypes["FileContentResponse"];
|
|
2592
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2593
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
2477
2594
|
};
|
|
2478
2595
|
["FolderResult"]: {
|
|
2479
2596
|
__typename: "FolderResponse" | "ErrorAccessDenied";
|
|
2480
|
-
[
|
|
2481
|
-
[
|
|
2597
|
+
["...on FolderResponse"]: "__union" & GraphQLTypes["FolderResponse"];
|
|
2598
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2482
2599
|
};
|
|
2483
2600
|
["FolderSizeResult"]: {
|
|
2484
2601
|
__typename: "FolderSizeResponse" | "ErrorAccessDenied";
|
|
2485
|
-
[
|
|
2486
|
-
[
|
|
2602
|
+
["...on FolderSizeResponse"]: "__union" & GraphQLTypes["FolderSizeResponse"];
|
|
2603
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2487
2604
|
};
|
|
2488
2605
|
["FoldersSharedWithMeResult"]: {
|
|
2489
2606
|
__typename: "FolderSharedWithMeResponse" | "ErrorAccessDenied";
|
|
2490
|
-
[
|
|
2491
|
-
[
|
|
2607
|
+
["...on FolderSharedWithMeResponse"]: "__union" & GraphQLTypes["FolderSharedWithMeResponse"];
|
|
2608
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2492
2609
|
};
|
|
2493
2610
|
["LimitsResult"]: {
|
|
2494
2611
|
__typename: "QueryLimits" | "ErrorAccessDenied" | "ErrorNotFound" | "ErrorNotExist" | "ErrorLimit";
|
|
2495
|
-
[
|
|
2496
|
-
[
|
|
2497
|
-
[
|
|
2498
|
-
[
|
|
2499
|
-
[
|
|
2612
|
+
["...on QueryLimits"]: "__union" & GraphQLTypes["QueryLimits"];
|
|
2613
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2614
|
+
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
2615
|
+
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
2616
|
+
["...on ErrorLimit"]: "__union" & GraphQLTypes["ErrorLimit"];
|
|
2500
2617
|
};
|
|
2501
2618
|
["MailResult"]: {
|
|
2502
2619
|
__typename: "QueryMailResponse" | "ErrorAccessDenied";
|
|
2503
|
-
[
|
|
2504
|
-
[
|
|
2620
|
+
["...on QueryMailResponse"]: "__union" & GraphQLTypes["QueryMailResponse"];
|
|
2621
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2505
2622
|
};
|
|
2506
2623
|
["PaymentInfosResult"]: {
|
|
2507
2624
|
__typename: "PaymentInfosResponse" | "ErrorAccessDenied";
|
|
2508
|
-
[
|
|
2509
|
-
[
|
|
2625
|
+
["...on PaymentInfosResponse"]: "__union" & GraphQLTypes["PaymentInfosResponse"];
|
|
2626
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2510
2627
|
};
|
|
2511
2628
|
["PlansResult"]: {
|
|
2512
2629
|
__typename: "PlanResponse";
|
|
2513
|
-
[
|
|
2630
|
+
["...on PlanResponse"]: "__union" & GraphQLTypes["PlanResponse"];
|
|
2514
2631
|
};
|
|
2515
2632
|
["SharedFoldersResult"]: {
|
|
2516
2633
|
__typename: "SharedFoldersResponse" | "ErrorAccessDenied";
|
|
2517
|
-
[
|
|
2518
|
-
[
|
|
2634
|
+
["...on SharedFoldersResponse"]: "__union" & GraphQLTypes["SharedFoldersResponse"];
|
|
2635
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2519
2636
|
};
|
|
2520
2637
|
["SharedVFilesResult"]: {
|
|
2521
2638
|
__typename: "SharedVFilesResponse" | "ErrorAccessDenied";
|
|
2522
|
-
[
|
|
2523
|
-
[
|
|
2639
|
+
["...on SharedVFilesResponse"]: "__union" & GraphQLTypes["SharedVFilesResponse"];
|
|
2640
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2524
2641
|
};
|
|
2525
2642
|
["UnreadReceivedMailsCountResult"]: {
|
|
2526
2643
|
__typename: "UnreadReceivedMailsCountResponse" | "ErrorAccessDenied";
|
|
2527
|
-
[
|
|
2528
|
-
[
|
|
2644
|
+
["...on UnreadReceivedMailsCountResponse"]: "__union" & GraphQLTypes["UnreadReceivedMailsCountResponse"];
|
|
2645
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2529
2646
|
};
|
|
2530
2647
|
["UserResult"]: {
|
|
2531
2648
|
__typename: "UserResponse" | "ErrorNotFound";
|
|
2532
|
-
[
|
|
2533
|
-
[
|
|
2649
|
+
["...on UserResponse"]: "__union" & GraphQLTypes["UserResponse"];
|
|
2650
|
+
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
2534
2651
|
};
|
|
2535
2652
|
["VFileResult"]: {
|
|
2536
2653
|
__typename: "VFileResponse" | "ErrorAccessDenied";
|
|
2537
|
-
[
|
|
2538
|
-
[
|
|
2654
|
+
["...on VFileResponse"]: "__union" & GraphQLTypes["VFileResponse"];
|
|
2655
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2539
2656
|
};
|
|
2540
2657
|
["VFilesSharedWithMeResult"]: {
|
|
2541
2658
|
__typename: "VFilesSharedWithMeResponse" | "ErrorAccessDenied";
|
|
2542
|
-
[
|
|
2543
|
-
[
|
|
2659
|
+
["...on VFilesSharedWithMeResponse"]: "__union" & GraphQLTypes["VFilesSharedWithMeResponse"];
|
|
2660
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2544
2661
|
};
|
|
2545
2662
|
["UserListResult"]: {
|
|
2546
2663
|
__typename: "UserListResponse" | "ErrorAccessDenied";
|
|
2547
|
-
[
|
|
2548
|
-
[
|
|
2664
|
+
["...on UserListResponse"]: "__union" & GraphQLTypes["UserListResponse"];
|
|
2665
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2549
2666
|
};
|
|
2550
2667
|
["AddFileToHistoryResult"]: {
|
|
2551
2668
|
__typename: "AddFileToHistoryResponse" | "ErrorAccessDenied" | "ErrorNotExist";
|
|
2552
|
-
[
|
|
2553
|
-
[
|
|
2554
|
-
[
|
|
2669
|
+
["...on AddFileToHistoryResponse"]: "__union" & GraphQLTypes["AddFileToHistoryResponse"];
|
|
2670
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2671
|
+
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
2555
2672
|
};
|
|
2556
2673
|
["CancelPaymentResult"]: {
|
|
2557
2674
|
__typename: "CancelPaymentResponse" | "ErrorAccessDenied";
|
|
2558
|
-
[
|
|
2559
|
-
[
|
|
2675
|
+
["...on CancelPaymentResponse"]: "__union" & GraphQLTypes["CancelPaymentResponse"];
|
|
2676
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2560
2677
|
};
|
|
2561
2678
|
["CreateApplicationResult"]: {
|
|
2562
2679
|
__typename: "CreateApplicationResponse" | "ErrorNotExist";
|
|
2563
|
-
[
|
|
2564
|
-
[
|
|
2680
|
+
["...on CreateApplicationResponse"]: "__union" & GraphQLTypes["CreateApplicationResponse"];
|
|
2681
|
+
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
2565
2682
|
};
|
|
2566
2683
|
["CreateDraftMailResult"]: {
|
|
2567
2684
|
__typename: "CreateDraftMailResponse" | "ErrorAccessDenied" | "ErrorBasic";
|
|
2568
|
-
[
|
|
2569
|
-
[
|
|
2570
|
-
[
|
|
2685
|
+
["...on CreateDraftMailResponse"]: "__union" & GraphQLTypes["CreateDraftMailResponse"];
|
|
2686
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2687
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
2571
2688
|
};
|
|
2572
2689
|
["CreateFolderResult"]: {
|
|
2573
2690
|
__typename: "CreateFolderResponse" | "ErrorAccessDenied" | "ErrorNotExist";
|
|
2574
|
-
[
|
|
2575
|
-
[
|
|
2576
|
-
[
|
|
2691
|
+
["...on CreateFolderResponse"]: "__union" & GraphQLTypes["CreateFolderResponse"];
|
|
2692
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2693
|
+
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
2577
2694
|
};
|
|
2578
2695
|
["DbConfigMutationResult"]: {
|
|
2579
2696
|
__typename: "DbConfigMutationResponse" | "ErrorAccessDenied";
|
|
2580
|
-
[
|
|
2581
|
-
[
|
|
2697
|
+
["...on DbConfigMutationResponse"]: "__union" & GraphQLTypes["DbConfigMutationResponse"];
|
|
2698
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2582
2699
|
};
|
|
2583
2700
|
["DbSetResult"]: {
|
|
2584
2701
|
__typename: "DbSetResponse" | "ErrorAccessDenied" | "ErrorNotFound";
|
|
2585
|
-
[
|
|
2586
|
-
[
|
|
2587
|
-
[
|
|
2702
|
+
["...on DbSetResponse"]: "__union" & GraphQLTypes["DbSetResponse"];
|
|
2703
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2704
|
+
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
2588
2705
|
};
|
|
2589
2706
|
["DeleteDraftMailResult"]: {
|
|
2590
2707
|
__typename: "DeleteDraftMailResponse" | "ErrorAccessDenied";
|
|
2591
|
-
[
|
|
2592
|
-
[
|
|
2708
|
+
["...on DeleteDraftMailResponse"]: "__union" & GraphQLTypes["DeleteDraftMailResponse"];
|
|
2709
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2593
2710
|
};
|
|
2594
2711
|
["DeleteFileResult"]: {
|
|
2595
2712
|
__typename: "DeleteFileResponse" | "ErrorAccessDenied" | "ErrorNotExist";
|
|
2596
|
-
[
|
|
2597
|
-
[
|
|
2598
|
-
[
|
|
2713
|
+
["...on DeleteFileResponse"]: "__union" & GraphQLTypes["DeleteFileResponse"];
|
|
2714
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2715
|
+
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
2599
2716
|
};
|
|
2600
2717
|
["DeleteFolderResult"]: {
|
|
2601
2718
|
__typename: "DeleteFolderResponse" | "ErrorAccessDenied" | "ErrorNotExist";
|
|
2602
|
-
[
|
|
2603
|
-
[
|
|
2604
|
-
[
|
|
2719
|
+
["...on DeleteFolderResponse"]: "__union" & GraphQLTypes["DeleteFolderResponse"];
|
|
2720
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2721
|
+
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
2605
2722
|
};
|
|
2606
2723
|
["DeleteFolderCloudTrashResult"]: {
|
|
2607
2724
|
__typename: "DeleteFolderCloudTrashResponse" | "ErrorAccessDenied";
|
|
2608
|
-
[
|
|
2609
|
-
[
|
|
2725
|
+
["...on DeleteFolderCloudTrashResponse"]: "__union" & GraphQLTypes["DeleteFolderCloudTrashResponse"];
|
|
2726
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2610
2727
|
};
|
|
2611
2728
|
["DeleteFolderSharingResult"]: {
|
|
2612
2729
|
__typename: "DeleteFolderSharingResponse" | "ErrorAccessDenied";
|
|
2613
|
-
[
|
|
2614
|
-
[
|
|
2730
|
+
["...on DeleteFolderSharingResponse"]: "__union" & GraphQLTypes["DeleteFolderSharingResponse"];
|
|
2731
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2615
2732
|
};
|
|
2616
2733
|
["DeleteMailResult"]: {
|
|
2617
2734
|
__typename: "DeleteMailResponse" | "ErrorAccessDenied";
|
|
2618
|
-
[
|
|
2619
|
-
[
|
|
2735
|
+
["...on DeleteMailResponse"]: "__union" & GraphQLTypes["DeleteMailResponse"];
|
|
2736
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2620
2737
|
};
|
|
2621
2738
|
["DeleteMailTrashResult"]: {
|
|
2622
2739
|
__typename: "DeleteMailTrashResponse" | "ErrorAccessDenied";
|
|
2623
|
-
[
|
|
2624
|
-
[
|
|
2740
|
+
["...on DeleteMailTrashResponse"]: "__union" & GraphQLTypes["DeleteMailTrashResponse"];
|
|
2741
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2625
2742
|
};
|
|
2626
2743
|
["DeleteUserResult"]: {
|
|
2627
2744
|
__typename: "DeleteUserResponse" | "ErrorAccessDenied";
|
|
2628
|
-
[
|
|
2629
|
-
[
|
|
2745
|
+
["...on DeleteUserResponse"]: "__union" & GraphQLTypes["DeleteUserResponse"];
|
|
2746
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2630
2747
|
};
|
|
2631
2748
|
["DeleteVFileResult"]: {
|
|
2632
2749
|
__typename: "DeleteVFileResponse" | "ErrorAccessDenied" | "ErrorNotExist";
|
|
2633
|
-
[
|
|
2634
|
-
[
|
|
2635
|
-
[
|
|
2750
|
+
["...on DeleteVFileResponse"]: "__union" & GraphQLTypes["DeleteVFileResponse"];
|
|
2751
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2752
|
+
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
2636
2753
|
};
|
|
2637
2754
|
["DeleteVFileCloudTrashResult"]: {
|
|
2638
2755
|
__typename: "DeleteVFileCloudTrashResponse" | "ErrorAccessDenied";
|
|
2639
|
-
[
|
|
2640
|
-
[
|
|
2756
|
+
["...on DeleteVFileCloudTrashResponse"]: "__union" & GraphQLTypes["DeleteVFileCloudTrashResponse"];
|
|
2757
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2641
2758
|
};
|
|
2642
2759
|
["DeleteVFileSharingResult"]: {
|
|
2643
2760
|
__typename: "DeleteVFileSharingResponse" | "ErrorAccessDenied" | "ErrorNotExist";
|
|
2644
|
-
[
|
|
2645
|
-
[
|
|
2646
|
-
[
|
|
2761
|
+
["...on DeleteVFileSharingResponse"]: "__union" & GraphQLTypes["DeleteVFileSharingResponse"];
|
|
2762
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2763
|
+
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
2647
2764
|
};
|
|
2648
2765
|
["DuplicateVFileResult"]: {
|
|
2649
2766
|
__typename: "DuplicateVFileResponse" | "ErrorAccessDenied" | "ErrorNotFound";
|
|
2650
|
-
[
|
|
2651
|
-
[
|
|
2652
|
-
[
|
|
2767
|
+
["...on DuplicateVFileResponse"]: "__union" & GraphQLTypes["DuplicateVFileResponse"];
|
|
2768
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2769
|
+
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
2653
2770
|
};
|
|
2654
2771
|
["EmptyCloudTrashResult"]: {
|
|
2655
2772
|
__typename: "DeleteMailResponse" | "ErrorAccessDenied";
|
|
2656
|
-
[
|
|
2657
|
-
[
|
|
2773
|
+
["...on DeleteMailResponse"]: "__union" & GraphQLTypes["DeleteMailResponse"];
|
|
2774
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2658
2775
|
};
|
|
2659
2776
|
["EmptyMailTrashResult"]: {
|
|
2660
2777
|
__typename: "EmptyMailTrashResponse" | "ErrorAccessDenied";
|
|
2661
|
-
[
|
|
2662
|
-
[
|
|
2778
|
+
["...on EmptyMailTrashResponse"]: "__union" & GraphQLTypes["EmptyMailTrashResponse"];
|
|
2779
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2663
2780
|
};
|
|
2664
2781
|
["LogoutResult"]: {
|
|
2665
2782
|
__typename: "LogoutResponse" | "ErrorAccessDenied" | "ErrorBasic";
|
|
2666
|
-
[
|
|
2667
|
-
[
|
|
2668
|
-
[
|
|
2783
|
+
["...on LogoutResponse"]: "__union" & GraphQLTypes["LogoutResponse"];
|
|
2784
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2785
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
2669
2786
|
};
|
|
2670
2787
|
["MoveFilesResult"]: {
|
|
2671
2788
|
__typename: "MoveFilesResponse" | "ErrorAccessDenied";
|
|
2672
|
-
[
|
|
2673
|
-
[
|
|
2789
|
+
["...on MoveFilesResponse"]: "__union" & GraphQLTypes["MoveFilesResponse"];
|
|
2790
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2674
2791
|
};
|
|
2675
2792
|
["MoveFoldersResult"]: {
|
|
2676
2793
|
__typename: "MoveFoldersResponse" | "ErrorAccessDenied";
|
|
2677
|
-
[
|
|
2678
|
-
[
|
|
2794
|
+
["...on MoveFoldersResponse"]: "__union" & GraphQLTypes["MoveFoldersResponse"];
|
|
2795
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2679
2796
|
};
|
|
2680
2797
|
["PayResult"]: {
|
|
2681
2798
|
__typename: "PayResponse" | "ErrorAccessDenied";
|
|
2682
|
-
[
|
|
2683
|
-
[
|
|
2799
|
+
["...on PayResponse"]: "__union" & GraphQLTypes["PayResponse"];
|
|
2800
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2684
2801
|
};
|
|
2685
2802
|
["ReadMailResult"]: {
|
|
2686
2803
|
__typename: "ReadMailResponse" | "ErrorAccessDenied" | "ErrorBasic" | "ErrorNotFound";
|
|
2687
|
-
[
|
|
2688
|
-
[
|
|
2689
|
-
[
|
|
2690
|
-
[
|
|
2804
|
+
["...on ReadMailResponse"]: "__union" & GraphQLTypes["ReadMailResponse"];
|
|
2805
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2806
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
2807
|
+
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
2691
2808
|
};
|
|
2692
2809
|
["RecoverFolderResult"]: {
|
|
2693
2810
|
__typename: "RecoverFolderResponse" | "ErrorAccessDenied" | "ErrorNotExist";
|
|
2694
|
-
[
|
|
2695
|
-
[
|
|
2696
|
-
[
|
|
2811
|
+
["...on RecoverFolderResponse"]: "__union" & GraphQLTypes["RecoverFolderResponse"];
|
|
2812
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2813
|
+
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
2697
2814
|
};
|
|
2698
2815
|
["RecoverMailResult"]: {
|
|
2699
2816
|
__typename: "RecoverMailResponse" | "ErrorAccessDenied" | "ErrorBasic";
|
|
2700
|
-
[
|
|
2701
|
-
[
|
|
2702
|
-
[
|
|
2817
|
+
["...on RecoverMailResponse"]: "__union" & GraphQLTypes["RecoverMailResponse"];
|
|
2818
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2819
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
2703
2820
|
};
|
|
2704
2821
|
["RecoverVFileResult"]: {
|
|
2705
2822
|
__typename: "RecoverVFileResponse" | "ErrorAccessDenied" | "ErrorNotExist";
|
|
2706
|
-
[
|
|
2707
|
-
[
|
|
2708
|
-
[
|
|
2823
|
+
["...on RecoverVFileResponse"]: "__union" & GraphQLTypes["RecoverVFileResponse"];
|
|
2824
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2825
|
+
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
2709
2826
|
};
|
|
2710
2827
|
["SaveInCloudResult"]: {
|
|
2711
2828
|
__typename: "SaveInCloudResponse" | "ErrorAccessDenied" | "ErrorNotExist" | "ErrorBasic";
|
|
2712
|
-
[
|
|
2713
|
-
[
|
|
2714
|
-
[
|
|
2715
|
-
[
|
|
2829
|
+
["...on SaveInCloudResponse"]: "__union" & GraphQLTypes["SaveInCloudResponse"];
|
|
2830
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2831
|
+
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
2832
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
2716
2833
|
};
|
|
2717
2834
|
["SendDraftMailResult"]: {
|
|
2718
2835
|
__typename: "SendDraftMailResponse" | "ErrorAccessDenied" | "ErrorBasic";
|
|
2719
|
-
[
|
|
2720
|
-
[
|
|
2721
|
-
[
|
|
2836
|
+
["...on SendDraftMailResponse"]: "__union" & GraphQLTypes["SendDraftMailResponse"];
|
|
2837
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2838
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
2722
2839
|
};
|
|
2723
2840
|
["SendOneMailResult"]: {
|
|
2724
2841
|
__typename: "RecoverFolderResponse" | "ErrorAccessDenied" | "ErrorBasic";
|
|
2725
|
-
[
|
|
2726
|
-
[
|
|
2727
|
-
[
|
|
2842
|
+
["...on RecoverFolderResponse"]: "__union" & GraphQLTypes["RecoverFolderResponse"];
|
|
2843
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2844
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
2728
2845
|
};
|
|
2729
2846
|
["SendReportResult"]: {
|
|
2730
2847
|
__typename: "SendReportResponse" | "ErrorAccessDenied" | "ErrorNotFound";
|
|
2731
|
-
[
|
|
2732
|
-
[
|
|
2733
|
-
[
|
|
2848
|
+
["...on SendReportResponse"]: "__union" & GraphQLTypes["SendReportResponse"];
|
|
2849
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2850
|
+
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
2734
2851
|
};
|
|
2735
2852
|
["ShareFileInHistoryResult"]: {
|
|
2736
2853
|
__typename: "ShareFileInHistoryResponse" | "ErrorAccessDenied" | "ErrorNotFound";
|
|
2737
|
-
[
|
|
2738
|
-
[
|
|
2739
|
-
[
|
|
2854
|
+
["...on ShareFileInHistoryResponse"]: "__union" & GraphQLTypes["ShareFileInHistoryResponse"];
|
|
2855
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2856
|
+
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
2740
2857
|
};
|
|
2741
2858
|
["ShareFolderResult"]: {
|
|
2742
2859
|
__typename: "ShareFolderResponse" | "ErrorAccessDenied" | "ErrorNotFound";
|
|
2743
|
-
[
|
|
2744
|
-
[
|
|
2745
|
-
[
|
|
2860
|
+
["...on ShareFolderResponse"]: "__union" & GraphQLTypes["ShareFolderResponse"];
|
|
2861
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2862
|
+
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
2746
2863
|
};
|
|
2747
2864
|
["ShareFolderFinishResult"]: {
|
|
2748
2865
|
__typename: "ShareFolderFinishResponse" | "ErrorAccessDenied" | "ErrorNotFound";
|
|
2749
|
-
[
|
|
2750
|
-
[
|
|
2751
|
-
[
|
|
2866
|
+
["...on ShareFolderFinishResponse"]: "__union" & GraphQLTypes["ShareFolderFinishResponse"];
|
|
2867
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2868
|
+
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
2752
2869
|
};
|
|
2753
2870
|
["ShareVFileResult"]: {
|
|
2754
2871
|
__typename: "ShareVFileResponse" | "ErrorAccessDenied" | "ErrorNotExist" | "ErrorNotFound";
|
|
2755
|
-
[
|
|
2756
|
-
[
|
|
2757
|
-
[
|
|
2758
|
-
[
|
|
2872
|
+
["...on ShareVFileResponse"]: "__union" & GraphQLTypes["ShareVFileResponse"];
|
|
2873
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2874
|
+
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
2875
|
+
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
2759
2876
|
};
|
|
2760
2877
|
["UnreadMailResult"]: {
|
|
2761
2878
|
__typename: "UnreadMailResponse" | "ErrorAccessDenied" | "ErrorNotFound" | "ErrorBasic";
|
|
2762
|
-
[
|
|
2763
|
-
[
|
|
2764
|
-
[
|
|
2765
|
-
[
|
|
2879
|
+
["...on UnreadMailResponse"]: "__union" & GraphQLTypes["UnreadMailResponse"];
|
|
2880
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2881
|
+
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
2882
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
2766
2883
|
};
|
|
2767
2884
|
["UpdateAppNotificationsResult"]: {
|
|
2768
2885
|
__typename: "UpdateAppNotificationsResponse" | "ErrorAccessDenied";
|
|
2769
|
-
[
|
|
2770
|
-
[
|
|
2886
|
+
["...on UpdateAppNotificationsResponse"]: "__union" & GraphQLTypes["UpdateAppNotificationsResponse"];
|
|
2887
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2771
2888
|
};
|
|
2772
2889
|
["UpdateAppSettingsResult"]: {
|
|
2773
2890
|
__typename: "UpdateAppSettingsResponse" | "ErrorAccessDenied" | "ErrorBasic";
|
|
2774
|
-
[
|
|
2775
|
-
[
|
|
2776
|
-
[
|
|
2891
|
+
["...on UpdateAppSettingsResponse"]: "__union" & GraphQLTypes["UpdateAppSettingsResponse"];
|
|
2892
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2893
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
2777
2894
|
};
|
|
2778
2895
|
["UpdateDraftMailResult"]: {
|
|
2779
2896
|
__typename: "UpdateDraftMailResponse" | "ErrorAccessDenied" | "ErrorBasic";
|
|
2780
|
-
[
|
|
2781
|
-
[
|
|
2782
|
-
[
|
|
2897
|
+
["...on UpdateDraftMailResponse"]: "__union" & GraphQLTypes["UpdateDraftMailResponse"];
|
|
2898
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2899
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
2783
2900
|
};
|
|
2784
2901
|
["UpdateFileResult"]: {
|
|
2785
2902
|
__typename: "UpdateFileResponse" | "ErrorAccessDenied" | "ErrorNotExist" | "ErrorBasic";
|
|
2786
|
-
[
|
|
2787
|
-
[
|
|
2788
|
-
[
|
|
2789
|
-
[
|
|
2903
|
+
["...on UpdateFileResponse"]: "__union" & GraphQLTypes["UpdateFileResponse"];
|
|
2904
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2905
|
+
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
2906
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
2790
2907
|
};
|
|
2791
2908
|
["UpdateFolderResult"]: {
|
|
2792
2909
|
__typename: "UpdateFolderResponse" | "ErrorAccessDenied" | "ErrorNotExist";
|
|
2793
|
-
[
|
|
2794
|
-
[
|
|
2795
|
-
[
|
|
2910
|
+
["...on UpdateFolderResponse"]: "__union" & GraphQLTypes["UpdateFolderResponse"];
|
|
2911
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2912
|
+
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
2796
2913
|
};
|
|
2797
2914
|
["UpdateProfileResult"]: {
|
|
2798
2915
|
__typename: "UpdateProfileResponse" | "ErrorAccessDenied" | "ErrorNotFound";
|
|
2799
|
-
[
|
|
2800
|
-
[
|
|
2801
|
-
[
|
|
2916
|
+
["...on UpdateProfileResponse"]: "__union" & GraphQLTypes["UpdateProfileResponse"];
|
|
2917
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2918
|
+
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
2802
2919
|
};
|
|
2803
2920
|
["UploadFileResult"]: {
|
|
2804
2921
|
__typename: "UploadFileResponse" | "ErrorAccessDenied" | "ErrorNotFound" | "ErrorLimit";
|
|
2805
|
-
[
|
|
2806
|
-
[
|
|
2807
|
-
[
|
|
2808
|
-
[
|
|
2922
|
+
["...on UploadFileResponse"]: "__union" & GraphQLTypes["UploadFileResponse"];
|
|
2923
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2924
|
+
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
2925
|
+
["...on ErrorLimit"]: "__union" & GraphQLTypes["ErrorLimit"];
|
|
2809
2926
|
};
|
|
2810
2927
|
["UploadFileEndResult"]: {
|
|
2811
2928
|
__typename: "UploadFileEndResponse" | "ErrorAccessDenied" | "ErrorNotFound";
|
|
2812
|
-
[
|
|
2813
|
-
[
|
|
2814
|
-
[
|
|
2929
|
+
["...on UploadFileEndResponse"]: "__union" & GraphQLTypes["UploadFileEndResponse"];
|
|
2930
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2931
|
+
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
2815
2932
|
};
|
|
2816
2933
|
["UploadFilePartEndResult"]: {
|
|
2817
2934
|
__typename: "UploadFilePartEndResponse" | "ErrorAccessDenied";
|
|
2818
|
-
[
|
|
2819
|
-
[
|
|
2935
|
+
["...on UploadFilePartEndResponse"]: "__union" & GraphQLTypes["UploadFilePartEndResponse"];
|
|
2936
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2820
2937
|
};
|
|
2821
2938
|
["ChangeUserPlanResult"]: {
|
|
2822
2939
|
__typename: "ChangeUserPlanResponse" | "ErrorAccessDenied";
|
|
2823
|
-
[
|
|
2824
|
-
[
|
|
2940
|
+
["...on ChangeUserPlanResponse"]: "__union" & GraphQLTypes["ChangeUserPlanResponse"];
|
|
2941
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
2825
2942
|
};
|
|
2826
2943
|
["AppKeyPair"]: {
|
|
2827
2944
|
__typename: "AppKeyPair";
|
|
@@ -2893,13 +3010,13 @@ export declare type GraphQLTypes = {
|
|
|
2893
3010
|
};
|
|
2894
3011
|
["Error"]: {
|
|
2895
3012
|
__typename: "ErrorAccessDenied" | "ErrorNotFound" | "ErrorUpgradePlan" | "ErrorLangNotExist" | "ErrorNotExist" | "ErrorLimit" | "ErrorBasic";
|
|
2896
|
-
[
|
|
2897
|
-
[
|
|
2898
|
-
[
|
|
2899
|
-
[
|
|
2900
|
-
[
|
|
2901
|
-
[
|
|
2902
|
-
[
|
|
3013
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
3014
|
+
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
3015
|
+
["...on ErrorUpgradePlan"]: "__union" & GraphQLTypes["ErrorUpgradePlan"];
|
|
3016
|
+
["...on ErrorLangNotExist"]: "__union" & GraphQLTypes["ErrorLangNotExist"];
|
|
3017
|
+
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
3018
|
+
["...on ErrorLimit"]: "__union" & GraphQLTypes["ErrorLimit"];
|
|
3019
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
2903
3020
|
};
|
|
2904
3021
|
["ErrorAccessDenied"]: {
|
|
2905
3022
|
__typename: "ErrorAccessDenied";
|
|
@@ -2908,13 +3025,13 @@ export declare type GraphQLTypes = {
|
|
|
2908
3025
|
["ErrorBase"]: {
|
|
2909
3026
|
__typename: "ErrorAccessDenied" | "ErrorBasic" | "ErrorLangNotExist" | "ErrorLimit" | "ErrorNotExist" | "ErrorNotFound" | "ErrorUpgradePlan";
|
|
2910
3027
|
message: string;
|
|
2911
|
-
[
|
|
2912
|
-
[
|
|
2913
|
-
[
|
|
2914
|
-
[
|
|
2915
|
-
[
|
|
2916
|
-
[
|
|
2917
|
-
[
|
|
3028
|
+
["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
|
|
3029
|
+
["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
|
|
3030
|
+
["...on ErrorLangNotExist"]: "__union" & GraphQLTypes["ErrorLangNotExist"];
|
|
3031
|
+
["...on ErrorLimit"]: "__union" & GraphQLTypes["ErrorLimit"];
|
|
3032
|
+
["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
|
|
3033
|
+
["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
|
|
3034
|
+
["...on ErrorUpgradePlan"]: "__union" & GraphQLTypes["ErrorUpgradePlan"];
|
|
2918
3035
|
};
|
|
2919
3036
|
["ErrorBasic"]: {
|
|
2920
3037
|
__typename: "ErrorBasic";
|
|
@@ -2982,9 +3099,9 @@ export declare type GraphQLTypes = {
|
|
|
2982
3099
|
};
|
|
2983
3100
|
["FileContent"]: {
|
|
2984
3101
|
__typename: "FileContentCloud" | "FileContentReceivedMail" | "FileContentSentMail";
|
|
2985
|
-
[
|
|
2986
|
-
[
|
|
2987
|
-
[
|
|
3102
|
+
["...on FileContentCloud"]: "__union" & GraphQLTypes["FileContentCloud"];
|
|
3103
|
+
["...on FileContentReceivedMail"]: "__union" & GraphQLTypes["FileContentReceivedMail"];
|
|
3104
|
+
["...on FileContentSentMail"]: "__union" & GraphQLTypes["FileContentSentMail"];
|
|
2988
3105
|
};
|
|
2989
3106
|
["FileContentBase"]: {
|
|
2990
3107
|
__typename: "FileContentCloud" | "FileContentReceivedMail" | "FileContentSentMail";
|
|
@@ -2994,9 +3111,9 @@ export declare type GraphQLTypes = {
|
|
|
2994
3111
|
md5Encrypted: string;
|
|
2995
3112
|
totalSize: GraphQLTypes["BigInt"];
|
|
2996
3113
|
type: GraphQLTypes["FileContentType"];
|
|
2997
|
-
[
|
|
2998
|
-
[
|
|
2999
|
-
[
|
|
3114
|
+
["...on FileContentCloud"]: "__union" & GraphQLTypes["FileContentCloud"];
|
|
3115
|
+
["...on FileContentReceivedMail"]: "__union" & GraphQLTypes["FileContentReceivedMail"];
|
|
3116
|
+
["...on FileContentSentMail"]: "__union" & GraphQLTypes["FileContentSentMail"];
|
|
3000
3117
|
};
|
|
3001
3118
|
["FileContentCloud"]: {
|
|
3002
3119
|
__typename: "FileContentCloud";
|
|
@@ -3773,7 +3890,7 @@ export declare type GraphQLTypes = {
|
|
|
3773
3890
|
test: boolean;
|
|
3774
3891
|
};
|
|
3775
3892
|
};
|
|
3776
|
-
export declare
|
|
3893
|
+
export declare enum Lang {
|
|
3777
3894
|
fr = "fr",
|
|
3778
3895
|
en = "en",
|
|
3779
3896
|
it = "it",
|
|
@@ -3790,31 +3907,31 @@ export declare const enum Lang {
|
|
|
3790
3907
|
hi = "hi",
|
|
3791
3908
|
ko = "ko"
|
|
3792
3909
|
}
|
|
3793
|
-
export declare
|
|
3910
|
+
export declare enum PlanKind {
|
|
3794
3911
|
free = "free",
|
|
3795
3912
|
basic = "basic",
|
|
3796
3913
|
advanced = "advanced",
|
|
3797
3914
|
pro = "pro"
|
|
3798
3915
|
}
|
|
3799
|
-
export declare
|
|
3916
|
+
export declare enum UserRole {
|
|
3800
3917
|
user = "user",
|
|
3801
3918
|
admin = "admin"
|
|
3802
3919
|
}
|
|
3803
|
-
export declare
|
|
3920
|
+
export declare enum MailType {
|
|
3804
3921
|
sent = "sent",
|
|
3805
3922
|
received = "received"
|
|
3806
3923
|
}
|
|
3807
|
-
export declare
|
|
3924
|
+
export declare enum Rights {
|
|
3808
3925
|
admin = "admin",
|
|
3809
3926
|
write = "write",
|
|
3810
3927
|
read = "read"
|
|
3811
3928
|
}
|
|
3812
|
-
export declare
|
|
3929
|
+
export declare enum FileContentType {
|
|
3813
3930
|
cloud = "cloud",
|
|
3814
3931
|
sent_mail = "sent_mail",
|
|
3815
3932
|
received_mail = "received_mail"
|
|
3816
3933
|
}
|
|
3817
|
-
export declare
|
|
3934
|
+
export declare enum PayInputType {
|
|
3818
3935
|
secure = "secure",
|
|
3819
3936
|
classic = "classic"
|
|
3820
3937
|
}
|
|
@@ -3845,13 +3962,13 @@ declare type IsPayLoad<T> = T extends [any, infer PayLoad] ? PayLoad : T;
|
|
|
3845
3962
|
declare type IsArray<T, U> = T extends Array<infer R> ? InputType<R, U>[] : InputType<T, U>;
|
|
3846
3963
|
declare type FlattenArray<T> = T extends Array<infer R> ? R : T;
|
|
3847
3964
|
declare type IsInterfaced<SRC extends DeepAnify<DST>, DST> = FlattenArray<SRC> extends ZEUS_INTERFACES | ZEUS_UNIONS ? {
|
|
3848
|
-
[P in keyof SRC]: SRC[P] extends
|
|
3965
|
+
[P in keyof SRC]: SRC[P] extends "__union" & infer R ? P extends keyof DST ? IsArray<R, "__typename" extends keyof DST ? DST[P] & {
|
|
3849
3966
|
__typename: true;
|
|
3850
3967
|
} : DST[P]> : {} : never;
|
|
3851
3968
|
}[keyof DST] & {
|
|
3852
3969
|
[P in keyof Omit<Pick<SRC, {
|
|
3853
|
-
[P in keyof DST]: SRC[P] extends
|
|
3854
|
-
}[keyof DST]>,
|
|
3970
|
+
[P in keyof DST]: SRC[P] extends "__union" ? never : P;
|
|
3971
|
+
}[keyof DST]>, "__typename">]: IsPayLoad<DST[P]> extends boolean ? SRC[P] : IsArray<SRC[P], DST[P]>;
|
|
3855
3972
|
} : {
|
|
3856
3973
|
[P in keyof Pick<SRC, keyof DST>]: IsPayLoad<DST[P]> extends boolean ? SRC[P] : IsArray<SRC[P], DST[P]>;
|
|
3857
3974
|
};
|
|
@@ -3860,7 +3977,7 @@ export declare type InputType<SRC, DST> = IsPayLoad<DST> extends {
|
|
|
3860
3977
|
__alias: infer R;
|
|
3861
3978
|
} ? {
|
|
3862
3979
|
[P in keyof R]: MapType<SRC, R[P]>;
|
|
3863
|
-
} & MapType<SRC, Omit<IsPayLoad<DST>,
|
|
3980
|
+
} & MapType<SRC, Omit<IsPayLoad<DST>, "__alias">> : MapType<SRC, IsPayLoad<DST>>;
|
|
3864
3981
|
declare type Func<P extends any[], R> = (...args: P) => R;
|
|
3865
3982
|
declare type AnyFunc = Func<any, any>;
|
|
3866
3983
|
export declare type ArgsType<F extends AnyFunc> = F extends Func<infer P, any> ? P : never;
|
|
@@ -3902,9 +4019,9 @@ export declare const TypesPropsResolver: ({ value, type, name, key, blockArrays
|
|
|
3902
4019
|
key?: string | undefined;
|
|
3903
4020
|
blockArrays?: boolean | undefined;
|
|
3904
4021
|
}) => string;
|
|
3905
|
-
export declare const queryConstruct: (t:
|
|
3906
|
-
export declare const fullChainConstruct: (fn: FetchFunction) => (t:
|
|
3907
|
-
export declare const fullSubscriptionConstruct: (fn: SubscriptionFunction) => (t:
|
|
4022
|
+
export declare const queryConstruct: (t: "query" | "mutation" | "subscription", tName: string, operationName?: string | undefined) => (o: Record<any, any>) => string;
|
|
4023
|
+
export declare const fullChainConstruct: (fn: FetchFunction) => (t: "query" | "mutation" | "subscription", tName: string) => (o: Record<any, any>, options?: OperationOptions | undefined) => Promise<any>;
|
|
4024
|
+
export declare const fullSubscriptionConstruct: (fn: SubscriptionFunction) => (t: "query" | "mutation" | "subscription", tName: string) => (o: Record<any, any>, options?: OperationOptions | undefined) => any;
|
|
3908
4025
|
export declare const $: (t: TemplateStringsArray) => any;
|
|
3909
4026
|
export declare const resolverFor: <X, T extends keyof ValueTypes, Z extends keyof ValueTypes[T]>(_type: T, _field: Z, fn: (args: Required<ValueTypes[T]>[Z] extends [infer Input, any] ? Input : any, source: any) => Z extends keyof ModelTypes[T] ? X | ModelTypes[T][Z] | Promise<ModelTypes[T][Z]> : any) => (args?: any, source?: any) => any;
|
|
3910
4027
|
export declare const apiFetch: (options: [input: RequestInfo, init?: RequestInit | undefined]) => (query: string, variables?: Record<string, any>) => Promise<Record<string, any> | undefined>;
|
|
@@ -3915,7 +4032,7 @@ export declare const apiSubscription: (options: chainOptions) => (query: string)
|
|
|
3915
4032
|
error: (e: (args: any) => void) => void;
|
|
3916
4033
|
open: (e: () => void) => void;
|
|
3917
4034
|
};
|
|
3918
|
-
export declare type GenericOperation<O> = O extends
|
|
4035
|
+
export declare type GenericOperation<O> = O extends "query" ? "Query" : O extends "mutation" ? "Mutation" : "Subscription";
|
|
3919
4036
|
export declare const Thunder: (fn: FetchFunction) => <O extends "query" | "mutation" | "subscription", R extends keyof ValueTypes = GenericOperation<O>>(operation: O) => <Z extends ValueTypes[R]>(o: Z | ValueTypes[R], ops?: OperationOptions | undefined) => Promise<InputType<GraphQLTypes[R], Z>>;
|
|
3920
4037
|
export declare const Chain: (...options: chainOptions) => <O extends "query" | "mutation" | "subscription", R extends keyof ValueTypes = GenericOperation<O>>(operation: O) => <Z extends ValueTypes[R]>(o: Z | ValueTypes[R], ops?: OperationOptions | undefined) => Promise<InputType<GraphQLTypes[R], Z>>;
|
|
3921
4038
|
export declare const SubscriptionThunder: (fn: SubscriptionFunction) => <O extends "query" | "mutation" | "subscription", R extends keyof ValueTypes = GenericOperation<O>>(operation: O) => <Z extends ValueTypes[R]>(o: Z | ValueTypes[R], ops?: OperationOptions | undefined) => SubscriptionToGraphQL<Z, GraphQLTypes[R]>;
|