@secrecy/lib 1.0.0-dev.20 → 1.0.0-dev.21

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.
@@ -1,5 +1,5 @@
1
- declare type ZEUS_INTERFACES = GraphQLTypes["FileContentBase"];
2
- declare type ZEUS_UNIONS = GraphQLTypes["FileContent"];
1
+ declare type ZEUS_INTERFACES = GraphQLTypes["ErrorBase"] | GraphQLTypes["FileContentBase"];
2
+ declare type ZEUS_UNIONS = GraphQLTypes["AppNotificationsResult"] | GraphQLTypes["BlogResult"] | GraphQLTypes["DbConfigResult"] | GraphQLTypes["DbGetResult"] | GraphQLTypes["DbSearchResult"] | GraphQLTypes["DeletedFoldersResult"] | GraphQLTypes["DeletedMailsResult"] | GraphQLTypes["DeletedVFilesResult"] | GraphQLTypes["FaqResult"] | GraphQLTypes["FileResult"] | GraphQLTypes["FileContentResult"] | GraphQLTypes["FolderResult"] | GraphQLTypes["FolderSizeResult"] | GraphQLTypes["FoldersSharedWithMeResult"] | GraphQLTypes["LimitsResult"] | GraphQLTypes["MailResult"] | GraphQLTypes["PaymentInfosResult"] | GraphQLTypes["PlansResult"] | GraphQLTypes["SharedFoldersResult"] | GraphQLTypes["SharedVFilesResult"] | GraphQLTypes["UnreadReceivedMailsCountResult"] | GraphQLTypes["UserResult"] | GraphQLTypes["VFileResult"] | GraphQLTypes["VFilesSharedWithMeResult"] | GraphQLTypes["UserListResult"] | GraphQLTypes["Error"] | GraphQLTypes["FileContent"];
3
3
  export declare type ValueTypes = {
4
4
  ["BigInt"]: unknown;
5
5
  ["Bytes"]: unknown;
@@ -11,6 +11,141 @@ export declare type ValueTypes = {
11
11
  ["UserRole"]: UserRole;
12
12
  ["MailType"]: MailType;
13
13
  ["Rights"]: Rights;
14
+ ["AppNotificationsResult"]: AliasType<{
15
+ ["...on UserAppNotifications"]: ValueTypes["UserAppNotifications"];
16
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
17
+ ["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
18
+ __typename?: boolean;
19
+ }>;
20
+ ["BlogResult"]: AliasType<{
21
+ ["...on BlogResponse"]: ValueTypes["BlogResponse"];
22
+ ["...on ErrorLangNotExist"]: ValueTypes["ErrorLangNotExist"];
23
+ __typename?: boolean;
24
+ }>;
25
+ ["DbConfigResult"]: AliasType<{
26
+ ["...on DbConfigResponse"]: ValueTypes["DbConfigResponse"];
27
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
28
+ ["...on ErrorNotExist"]: ValueTypes["ErrorNotExist"];
29
+ ["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
30
+ __typename?: boolean;
31
+ }>;
32
+ ["DbGetResult"]: AliasType<{
33
+ ["...on DbGetResponse"]: ValueTypes["DbGetResponse"];
34
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
35
+ ["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
36
+ ["...on ErrorNotExist"]: ValueTypes["ErrorNotExist"];
37
+ __typename?: boolean;
38
+ }>;
39
+ ["DbSearchResult"]: AliasType<{
40
+ ["...on DbSearchResponse"]: ValueTypes["DbSearchResponse"];
41
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
42
+ ["...on ErrorNotExist"]: ValueTypes["ErrorNotExist"];
43
+ ["...on ErrorBasic"]: ValueTypes["ErrorBasic"];
44
+ __typename?: boolean;
45
+ }>;
46
+ ["DeletedFoldersResult"]: AliasType<{
47
+ ["...on DeletedFoldersResponse"]: ValueTypes["DeletedFoldersResponse"];
48
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
49
+ __typename?: boolean;
50
+ }>;
51
+ ["DeletedMailsResult"]: AliasType<{
52
+ ["...on DeletedMailsResponse"]: ValueTypes["DeletedMailsResponse"];
53
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
54
+ __typename?: boolean;
55
+ }>;
56
+ ["DeletedVFilesResult"]: AliasType<{
57
+ ["...on DeletedVFilesResponse"]: ValueTypes["DeletedVFilesResponse"];
58
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
59
+ __typename?: boolean;
60
+ }>;
61
+ ["FaqResult"]: AliasType<{
62
+ ["...on FaqResponse"]: ValueTypes["FaqResponse"];
63
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
64
+ __typename?: boolean;
65
+ }>;
66
+ ["FileResult"]: AliasType<{
67
+ ["...on FileQueryResponse"]: ValueTypes["FileQueryResponse"];
68
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
69
+ __typename?: boolean;
70
+ }>;
71
+ ["FileContentResult"]: AliasType<{
72
+ ["...on FileContentResponse"]: ValueTypes["FileContentResponse"];
73
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
74
+ ["...on ErrorBasic"]: ValueTypes["ErrorBasic"];
75
+ __typename?: boolean;
76
+ }>;
77
+ ["FolderResult"]: AliasType<{
78
+ ["...on FolderResponse"]: ValueTypes["FolderResponse"];
79
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
80
+ __typename?: boolean;
81
+ }>;
82
+ ["FolderSizeResult"]: AliasType<{
83
+ ["...on FolderSizeResponse"]: ValueTypes["FolderSizeResponse"];
84
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
85
+ __typename?: boolean;
86
+ }>;
87
+ ["FoldersSharedWithMeResult"]: AliasType<{
88
+ ["...on FolderSharedWithMeResponse"]: ValueTypes["FolderSharedWithMeResponse"];
89
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
90
+ __typename?: boolean;
91
+ }>;
92
+ ["LimitsResult"]: AliasType<{
93
+ ["...on QueryLimits"]: ValueTypes["QueryLimits"];
94
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
95
+ ["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
96
+ ["...on ErrorNotExist"]: ValueTypes["ErrorNotExist"];
97
+ ["...on ErrorLimit"]: ValueTypes["ErrorLimit"];
98
+ __typename?: boolean;
99
+ }>;
100
+ ["MailResult"]: AliasType<{
101
+ ["...on QueryMailResponse"]: ValueTypes["QueryMailResponse"];
102
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
103
+ __typename?: boolean;
104
+ }>;
105
+ ["PaymentInfosResult"]: AliasType<{
106
+ ["...on PaymentInfosResponse"]: ValueTypes["PaymentInfosResponse"];
107
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
108
+ __typename?: boolean;
109
+ }>;
110
+ ["PlansResult"]: AliasType<{
111
+ ["...on PlanResponse"]: ValueTypes["PlanResponse"];
112
+ __typename?: boolean;
113
+ }>;
114
+ ["SharedFoldersResult"]: AliasType<{
115
+ ["...on SharedFoldersResponse"]: ValueTypes["SharedFoldersResponse"];
116
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
117
+ __typename?: boolean;
118
+ }>;
119
+ ["SharedVFilesResult"]: AliasType<{
120
+ ["...on SharedVFilesResponse"]: ValueTypes["SharedVFilesResponse"];
121
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
122
+ __typename?: boolean;
123
+ }>;
124
+ ["UnreadReceivedMailsCountResult"]: AliasType<{
125
+ ["...on UnreadReceivedMailsCountResponse"]: ValueTypes["UnreadReceivedMailsCountResponse"];
126
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
127
+ __typename?: boolean;
128
+ }>;
129
+ ["UserResult"]: AliasType<{
130
+ ["...on UserResponse"]: ValueTypes["UserResponse"];
131
+ ["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
132
+ __typename?: boolean;
133
+ }>;
134
+ ["VFileResult"]: AliasType<{
135
+ ["...on VFileResponse"]: ValueTypes["VFileResponse"];
136
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
137
+ __typename?: boolean;
138
+ }>;
139
+ ["VFilesSharedWithMeResult"]: AliasType<{
140
+ ["...on VFilesSharedWithMeResponse"]: ValueTypes["VFilesSharedWithMeResponse"];
141
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
142
+ __typename?: boolean;
143
+ }>;
144
+ ["UserListResult"]: AliasType<{
145
+ ["...on UserListResponse"]: ValueTypes["UserListResponse"];
146
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
147
+ __typename?: boolean;
148
+ }>;
14
149
  ["AppKeyPair"]: AliasType<{
15
150
  pub?: boolean;
16
151
  __typename?: boolean;
@@ -79,6 +214,58 @@ export declare type ValueTypes = {
79
214
  maxCount?: boolean;
80
215
  __typename?: boolean;
81
216
  }>;
217
+ ["Error"]: AliasType<{
218
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
219
+ ["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
220
+ ["...on ErrorUpgradePlan"]: ValueTypes["ErrorUpgradePlan"];
221
+ ["...on ErrorLangNotExist"]: ValueTypes["ErrorLangNotExist"];
222
+ ["...on ErrorNotExist"]: ValueTypes["ErrorNotExist"];
223
+ ["...on ErrorLimit"]: ValueTypes["ErrorLimit"];
224
+ ["...on ErrorBasic"]: ValueTypes["ErrorBasic"];
225
+ __typename?: boolean;
226
+ }>;
227
+ ["ErrorAccessDenied"]: AliasType<{
228
+ message?: boolean;
229
+ __typename?: boolean;
230
+ }>;
231
+ ["ErrorBase"]: AliasType<{
232
+ message?: boolean;
233
+ ['...on ErrorAccessDenied']?: Omit<ValueTypes["ErrorAccessDenied"], keyof ValueTypes["ErrorBase"]>;
234
+ ['...on ErrorBasic']?: Omit<ValueTypes["ErrorBasic"], keyof ValueTypes["ErrorBase"]>;
235
+ ['...on ErrorLangNotExist']?: Omit<ValueTypes["ErrorLangNotExist"], keyof ValueTypes["ErrorBase"]>;
236
+ ['...on ErrorLimit']?: Omit<ValueTypes["ErrorLimit"], keyof ValueTypes["ErrorBase"]>;
237
+ ['...on ErrorNotExist']?: Omit<ValueTypes["ErrorNotExist"], keyof ValueTypes["ErrorBase"]>;
238
+ ['...on ErrorNotFound']?: Omit<ValueTypes["ErrorNotFound"], keyof ValueTypes["ErrorBase"]>;
239
+ ['...on ErrorUpgradePlan']?: Omit<ValueTypes["ErrorUpgradePlan"], keyof ValueTypes["ErrorBase"]>;
240
+ __typename?: boolean;
241
+ }>;
242
+ ["ErrorBasic"]: AliasType<{
243
+ message?: boolean;
244
+ __typename?: boolean;
245
+ }>;
246
+ ["ErrorLangNotExist"]: AliasType<{
247
+ message?: boolean;
248
+ __typename?: boolean;
249
+ }>;
250
+ ["ErrorLimit"]: AliasType<{
251
+ message?: boolean;
252
+ field?: boolean;
253
+ __typename?: boolean;
254
+ }>;
255
+ ["ErrorNotExist"]: AliasType<{
256
+ message?: boolean;
257
+ field?: boolean;
258
+ __typename?: boolean;
259
+ }>;
260
+ ["ErrorNotFound"]: AliasType<{
261
+ message?: boolean;
262
+ field?: boolean;
263
+ __typename?: boolean;
264
+ }>;
265
+ ["ErrorUpgradePlan"]: AliasType<{
266
+ message?: boolean;
267
+ __typename?: boolean;
268
+ }>;
82
269
  ["Faq"]: AliasType<{
83
270
  id?: boolean;
84
271
  order?: boolean;
@@ -407,6 +594,99 @@ export declare type ValueTypes = {
407
594
  customMessage?: boolean;
408
595
  __typename?: boolean;
409
596
  }>;
597
+ ["BlogResponse"]: AliasType<{
598
+ blogItems?: ValueTypes["BlogItem"];
599
+ __typename?: boolean;
600
+ }>;
601
+ ["DbConfigResponse"]: AliasType<{
602
+ json?: boolean;
603
+ __typename?: boolean;
604
+ }>;
605
+ ["DbGetResponse"]: AliasType<{
606
+ json?: boolean;
607
+ __typename?: boolean;
608
+ }>;
609
+ ["DbSearchResponse"]: AliasType<{
610
+ json?: boolean;
611
+ __typename?: boolean;
612
+ }>;
613
+ ["DeletedFoldersResponse"]: AliasType<{
614
+ deletedFolders?: ValueTypes["Folder"];
615
+ __typename?: boolean;
616
+ }>;
617
+ ["DeletedMailsResponse"]: AliasType<{
618
+ deletedMails?: ValueTypes["Mail"];
619
+ __typename?: boolean;
620
+ }>;
621
+ ["DeletedVFilesResponse"]: AliasType<{
622
+ deletedVFiles?: ValueTypes["VFile"];
623
+ __typename?: boolean;
624
+ }>;
625
+ ["FaqResponse"]: AliasType<{
626
+ faq?: ValueTypes["FaqItem"];
627
+ __typename?: boolean;
628
+ }>;
629
+ ["FileQueryResponse"]: AliasType<{
630
+ file?: ValueTypes["File"];
631
+ __typename?: boolean;
632
+ }>;
633
+ ["FileContentResponse"]: AliasType<{
634
+ file?: ValueTypes["FileContent"];
635
+ __typename?: boolean;
636
+ }>;
637
+ ["FolderResponse"]: AliasType<{
638
+ folder?: ValueTypes["Folder"];
639
+ __typename?: boolean;
640
+ }>;
641
+ ["FolderSharedWithMeResponse"]: AliasType<{
642
+ foldersSharedWithMe?: ValueTypes["Folder"];
643
+ __typename?: boolean;
644
+ }>;
645
+ ["FolderSizeResponse"]: AliasType<{
646
+ size?: boolean;
647
+ sizeBefore?: boolean;
648
+ __typename?: boolean;
649
+ }>;
650
+ ["QueryMailResponse"]: AliasType<{
651
+ mail?: ValueTypes["Mail"];
652
+ __typename?: boolean;
653
+ }>;
654
+ ["PaymentInfosResponse"]: AliasType<{
655
+ paymentInfos?: ValueTypes["PaymentInfos"];
656
+ __typename?: boolean;
657
+ }>;
658
+ ["PlanResponse"]: AliasType<{
659
+ plan?: ValueTypes["Plan"];
660
+ __typename?: boolean;
661
+ }>;
662
+ ["SharedFoldersResponse"]: AliasType<{
663
+ sharedFolders?: ValueTypes["Folder"];
664
+ __typename?: boolean;
665
+ }>;
666
+ ["SharedVFilesResponse"]: AliasType<{
667
+ sharedVFiles?: ValueTypes["VFile"];
668
+ __typename?: boolean;
669
+ }>;
670
+ ["UnreadReceivedMailsCountResponse"]: AliasType<{
671
+ count?: boolean;
672
+ __typename?: boolean;
673
+ }>;
674
+ ["UserResponse"]: AliasType<{
675
+ user?: ValueTypes["User"];
676
+ __typename?: boolean;
677
+ }>;
678
+ ["UserListResponse"]: AliasType<{
679
+ userList?: ValueTypes["User"];
680
+ __typename?: boolean;
681
+ }>;
682
+ ["VFileResponse"]: AliasType<{
683
+ vFile?: ValueTypes["VFile"];
684
+ __typename?: boolean;
685
+ }>;
686
+ ["VFilesSharedWithMeResponse"]: AliasType<{
687
+ vFilesSharedWithMe?: ValueTypes["VFile"];
688
+ __typename?: boolean;
689
+ }>;
410
690
  ["TemporaryUser"]: AliasType<{
411
691
  id?: boolean;
412
692
  mails?: ValueTypes["MailIntegrity"];
@@ -538,66 +818,66 @@ export declare type ValueTypes = {
538
818
  __typename?: boolean;
539
819
  }>;
540
820
  ["Query"]: AliasType<{
541
- appNotifications?: ValueTypes["UserAppNotifications"];
821
+ appNotifications?: ValueTypes["AppNotificationsResult"];
542
822
  blog?: [{
543
823
  lang?: ValueTypes["Lang"] | null;
544
- }, ValueTypes["BlogItem"]];
824
+ }, ValueTypes["BlogResult"]];
545
825
  dbConfig?: [{
546
826
  appCode: string;
547
- }, boolean];
827
+ }, ValueTypes["DbConfigResult"]];
548
828
  dbGet?: [{
549
829
  field: string;
550
830
  userId?: string | null;
551
- }, boolean];
831
+ }, ValueTypes["DbGetResult"]];
552
832
  dbSearch?: [{
553
833
  search: string;
554
834
  field: string;
555
- }, boolean];
556
- deletedFolders?: ValueTypes["Folder"];
835
+ }, ValueTypes["DbSearchResult"]];
836
+ deletedFolders?: ValueTypes["DeletedFoldersResult"];
557
837
  deletedMails?: [{
558
838
  mailType: ValueTypes["MailType"];
559
- }, ValueTypes["Mail"]];
560
- deletedVFiles?: ValueTypes["VFile"];
839
+ }, ValueTypes["DeletedMailsResult"]];
840
+ deletedVFiles?: ValueTypes["DeletedVFilesResult"];
561
841
  faq?: [{
562
842
  lang?: ValueTypes["Lang"] | null;
563
- }, ValueTypes["FaqItem"]];
843
+ }, ValueTypes["FaqResult"]];
564
844
  file?: [{
565
845
  id: string;
566
- }, ValueTypes["File"]];
846
+ }, ValueTypes["FileResult"]];
567
847
  fileContent?: [{
568
848
  fileId: string;
569
- }, ValueTypes["FileContent"]];
849
+ }, ValueTypes["FileContentResult"]];
570
850
  filesSharedWithMe?: [{
571
851
  accepted?: boolean | null;
572
852
  }, ValueTypes["FileSharedContent"]];
573
853
  folder?: [{
574
854
  id?: string | null;
575
855
  deleted?: boolean | null;
576
- }, ValueTypes["Folder"]];
856
+ }, ValueTypes["FolderResult"]];
577
857
  folderSize?: [{
578
858
  folderId?: string | null;
579
- }, ValueTypes["FolderSize"]];
580
- foldersSharedWithMe?: ValueTypes["Folder"];
581
- limits?: ValueTypes["QueryLimits"];
859
+ }, ValueTypes["FolderSizeResult"]];
860
+ foldersSharedWithMe?: ValueTypes["FoldersSharedWithMeResult"];
861
+ limits?: ValueTypes["LimitsResult"];
582
862
  mail?: [{
583
863
  id: string;
584
- }, ValueTypes["Mail"]];
585
- paymentInfos?: ValueTypes["PaymentInfos"];
586
- plans?: ValueTypes["Plan"];
587
- sharedFolders?: ValueTypes["Folder"];
588
- sharedVFiles?: ValueTypes["VFile"];
864
+ }, ValueTypes["MailResult"]];
865
+ paymentInfos?: ValueTypes["PaymentInfosResult"];
866
+ plans?: ValueTypes["PlansResult"];
867
+ sharedFolders?: ValueTypes["SharedFoldersResult"];
868
+ sharedVFiles?: ValueTypes["SharedVFilesResult"];
589
869
  test?: boolean;
590
- unreadReceivedMailsCount?: boolean;
870
+ unreadReceivedMailsCount?: ValueTypes["UnreadReceivedMailsCountResult"];
591
871
  user?: [{
592
872
  userId?: string | null;
593
- }, ValueTypes["User"]];
873
+ }, ValueTypes["UserResult"]];
594
874
  vFile?: [{
595
875
  id: string;
596
- }, ValueTypes["VFile"]];
597
- vFilesSharedWithMe?: ValueTypes["VFile"];
876
+ }, ValueTypes["VFileResult"]];
877
+ vFilesSharedWithMe?: ValueTypes["VFilesSharedWithMeResult"];
598
878
  userList?: [{
599
879
  search?: string | null;
600
- }, ValueTypes["User"]];
880
+ }, ValueTypes["UserListResult"]];
601
881
  __typename?: boolean;
602
882
  }>;
603
883
  ["Mutation"]: AliasType<{
@@ -833,6 +1113,31 @@ export declare type ModelTypes = {
833
1113
  ["UserRole"]: GraphQLTypes["UserRole"];
834
1114
  ["MailType"]: GraphQLTypes["MailType"];
835
1115
  ["Rights"]: GraphQLTypes["Rights"];
1116
+ ["AppNotificationsResult"]: ModelTypes["UserAppNotifications"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"];
1117
+ ["BlogResult"]: ModelTypes["BlogResponse"] | ModelTypes["ErrorLangNotExist"];
1118
+ ["DbConfigResult"]: ModelTypes["DbConfigResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotExist"] | ModelTypes["ErrorNotFound"];
1119
+ ["DbGetResult"]: ModelTypes["DbGetResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"] | ModelTypes["ErrorNotExist"];
1120
+ ["DbSearchResult"]: ModelTypes["DbSearchResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotExist"] | ModelTypes["ErrorBasic"];
1121
+ ["DeletedFoldersResult"]: ModelTypes["DeletedFoldersResponse"] | ModelTypes["ErrorAccessDenied"];
1122
+ ["DeletedMailsResult"]: ModelTypes["DeletedMailsResponse"] | ModelTypes["ErrorAccessDenied"];
1123
+ ["DeletedVFilesResult"]: ModelTypes["DeletedVFilesResponse"] | ModelTypes["ErrorAccessDenied"];
1124
+ ["FaqResult"]: ModelTypes["FaqResponse"] | ModelTypes["ErrorAccessDenied"];
1125
+ ["FileResult"]: ModelTypes["FileQueryResponse"] | ModelTypes["ErrorAccessDenied"];
1126
+ ["FileContentResult"]: ModelTypes["FileContentResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"];
1127
+ ["FolderResult"]: ModelTypes["FolderResponse"] | ModelTypes["ErrorAccessDenied"];
1128
+ ["FolderSizeResult"]: ModelTypes["FolderSizeResponse"] | ModelTypes["ErrorAccessDenied"];
1129
+ ["FoldersSharedWithMeResult"]: ModelTypes["FolderSharedWithMeResponse"] | ModelTypes["ErrorAccessDenied"];
1130
+ ["LimitsResult"]: ModelTypes["QueryLimits"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"] | ModelTypes["ErrorNotExist"] | ModelTypes["ErrorLimit"];
1131
+ ["MailResult"]: ModelTypes["QueryMailResponse"] | ModelTypes["ErrorAccessDenied"];
1132
+ ["PaymentInfosResult"]: ModelTypes["PaymentInfosResponse"] | ModelTypes["ErrorAccessDenied"];
1133
+ ["PlansResult"]: ModelTypes["PlanResponse"];
1134
+ ["SharedFoldersResult"]: ModelTypes["SharedFoldersResponse"] | ModelTypes["ErrorAccessDenied"];
1135
+ ["SharedVFilesResult"]: ModelTypes["SharedVFilesResponse"] | ModelTypes["ErrorAccessDenied"];
1136
+ ["UnreadReceivedMailsCountResult"]: ModelTypes["UnreadReceivedMailsCountResponse"] | ModelTypes["ErrorAccessDenied"];
1137
+ ["UserResult"]: ModelTypes["UserResponse"] | ModelTypes["ErrorNotFound"];
1138
+ ["VFileResult"]: ModelTypes["VFileResponse"] | ModelTypes["ErrorAccessDenied"];
1139
+ ["VFilesSharedWithMeResult"]: ModelTypes["VFilesSharedWithMeResponse"] | ModelTypes["ErrorAccessDenied"];
1140
+ ["UserListResult"]: ModelTypes["UserListResponse"] | ModelTypes["ErrorAccessDenied"];
836
1141
  ["AppKeyPair"]: {
837
1142
  pub: string;
838
1143
  };
@@ -893,6 +1198,32 @@ export declare type ModelTypes = {
893
1198
  count: ModelTypes["BigInt"];
894
1199
  maxCount?: ModelTypes["BigInt"];
895
1200
  };
1201
+ ["Error"]: ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"] | ModelTypes["ErrorUpgradePlan"] | ModelTypes["ErrorLangNotExist"] | ModelTypes["ErrorNotExist"] | ModelTypes["ErrorLimit"] | ModelTypes["ErrorBasic"];
1202
+ ["ErrorAccessDenied"]: {
1203
+ message: string;
1204
+ };
1205
+ ["ErrorBase"]: ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"] | ModelTypes["ErrorLangNotExist"] | ModelTypes["ErrorLimit"] | ModelTypes["ErrorNotExist"] | ModelTypes["ErrorNotFound"] | ModelTypes["ErrorUpgradePlan"];
1206
+ ["ErrorBasic"]: {
1207
+ message: string;
1208
+ };
1209
+ ["ErrorLangNotExist"]: {
1210
+ message: string;
1211
+ };
1212
+ ["ErrorLimit"]: {
1213
+ message: string;
1214
+ field?: string;
1215
+ };
1216
+ ["ErrorNotExist"]: {
1217
+ message: string;
1218
+ field?: string;
1219
+ };
1220
+ ["ErrorNotFound"]: {
1221
+ message: string;
1222
+ field?: string;
1223
+ };
1224
+ ["ErrorUpgradePlan"]: {
1225
+ message: string;
1226
+ };
896
1227
  ["Faq"]: {
897
1228
  id: string;
898
1229
  order: number;
@@ -1138,6 +1469,76 @@ export declare type ModelTypes = {
1138
1469
  reportedUser: ModelTypes["User"];
1139
1470
  customMessage?: string;
1140
1471
  };
1472
+ ["BlogResponse"]: {
1473
+ blogItems: ModelTypes["BlogItem"][];
1474
+ };
1475
+ ["DbConfigResponse"]: {
1476
+ json: ModelTypes["Json"];
1477
+ };
1478
+ ["DbGetResponse"]: {
1479
+ json?: ModelTypes["Json"];
1480
+ };
1481
+ ["DbSearchResponse"]: {
1482
+ json?: ModelTypes["Json"];
1483
+ };
1484
+ ["DeletedFoldersResponse"]: {
1485
+ deletedFolders: ModelTypes["Folder"][];
1486
+ };
1487
+ ["DeletedMailsResponse"]: {
1488
+ deletedMails: ModelTypes["Mail"][];
1489
+ };
1490
+ ["DeletedVFilesResponse"]: {
1491
+ deletedVFiles: ModelTypes["VFile"][];
1492
+ };
1493
+ ["FaqResponse"]: {
1494
+ faq: ModelTypes["FaqItem"][];
1495
+ };
1496
+ ["FileQueryResponse"]: {
1497
+ file?: ModelTypes["File"];
1498
+ };
1499
+ ["FileContentResponse"]: {
1500
+ file?: ModelTypes["FileContent"];
1501
+ };
1502
+ ["FolderResponse"]: {
1503
+ folder?: ModelTypes["Folder"];
1504
+ };
1505
+ ["FolderSharedWithMeResponse"]: {
1506
+ foldersSharedWithMe: ModelTypes["Folder"][];
1507
+ };
1508
+ ["FolderSizeResponse"]: {
1509
+ size: ModelTypes["BigInt"];
1510
+ sizeBefore: ModelTypes["BigInt"];
1511
+ };
1512
+ ["QueryMailResponse"]: {
1513
+ mail?: ModelTypes["Mail"];
1514
+ };
1515
+ ["PaymentInfosResponse"]: {
1516
+ paymentInfos?: ModelTypes["PaymentInfos"];
1517
+ };
1518
+ ["PlanResponse"]: {
1519
+ plan: ModelTypes["Plan"][];
1520
+ };
1521
+ ["SharedFoldersResponse"]: {
1522
+ sharedFolders: ModelTypes["Folder"][];
1523
+ };
1524
+ ["SharedVFilesResponse"]: {
1525
+ sharedVFiles: ModelTypes["VFile"][];
1526
+ };
1527
+ ["UnreadReceivedMailsCountResponse"]: {
1528
+ count: number;
1529
+ };
1530
+ ["UserResponse"]: {
1531
+ user?: ModelTypes["User"];
1532
+ };
1533
+ ["UserListResponse"]: {
1534
+ userList: ModelTypes["User"][];
1535
+ };
1536
+ ["VFileResponse"]: {
1537
+ vFile?: ModelTypes["VFile"];
1538
+ };
1539
+ ["VFilesSharedWithMeResponse"]: {
1540
+ vFilesSharedWithMe: ModelTypes["VFile"][];
1541
+ };
1141
1542
  ["TemporaryUser"]: {
1142
1543
  id: string;
1143
1544
  mails: ModelTypes["MailIntegrity"][];
@@ -1257,33 +1658,33 @@ export declare type ModelTypes = {
1257
1658
  vFiles: string[];
1258
1659
  };
1259
1660
  ["Query"]: {
1260
- appNotifications?: ModelTypes["UserAppNotifications"];
1261
- blog: ModelTypes["BlogItem"][];
1262
- dbConfig?: ModelTypes["Json"];
1263
- dbGet?: ModelTypes["Json"];
1264
- dbSearch: ModelTypes["Json"][];
1265
- deletedFolders: ModelTypes["Folder"][];
1266
- deletedMails: ModelTypes["Mail"][];
1267
- deletedVFiles: ModelTypes["VFile"][];
1268
- faq: ModelTypes["FaqItem"][];
1269
- file?: ModelTypes["File"];
1270
- fileContent?: ModelTypes["FileContent"];
1661
+ appNotifications?: ModelTypes["AppNotificationsResult"];
1662
+ blog?: ModelTypes["BlogResult"];
1663
+ dbConfig?: ModelTypes["DbConfigResult"];
1664
+ dbGet?: ModelTypes["DbGetResult"];
1665
+ dbSearch?: ModelTypes["DbSearchResult"];
1666
+ deletedFolders?: ModelTypes["DeletedFoldersResult"];
1667
+ deletedMails?: ModelTypes["DeletedMailsResult"];
1668
+ deletedVFiles?: ModelTypes["DeletedVFilesResult"];
1669
+ faq?: ModelTypes["FaqResult"];
1670
+ file?: ModelTypes["FileResult"];
1671
+ fileContent?: ModelTypes["FileContentResult"];
1271
1672
  filesSharedWithMe: ModelTypes["FileSharedContent"][];
1272
- folder?: ModelTypes["Folder"];
1273
- folderSize?: ModelTypes["FolderSize"];
1274
- foldersSharedWithMe: ModelTypes["Folder"][];
1275
- limits?: ModelTypes["QueryLimits"];
1276
- mail?: ModelTypes["Mail"];
1277
- paymentInfos?: ModelTypes["PaymentInfos"];
1278
- plans: ModelTypes["Plan"][];
1279
- sharedFolders: ModelTypes["Folder"][];
1280
- sharedVFiles: ModelTypes["VFile"][];
1673
+ folder?: ModelTypes["FolderResult"];
1674
+ folderSize?: ModelTypes["FolderSizeResult"];
1675
+ foldersSharedWithMe?: ModelTypes["FoldersSharedWithMeResult"];
1676
+ limits?: ModelTypes["LimitsResult"];
1677
+ mail?: ModelTypes["MailResult"];
1678
+ paymentInfos?: ModelTypes["PaymentInfosResult"];
1679
+ plans?: ModelTypes["PlansResult"];
1680
+ sharedFolders?: ModelTypes["SharedFoldersResult"];
1681
+ sharedVFiles?: ModelTypes["SharedVFilesResult"];
1281
1682
  test?: boolean;
1282
- unreadReceivedMailsCount?: number;
1283
- user?: ModelTypes["User"];
1284
- vFile?: ModelTypes["VFile"];
1285
- vFilesSharedWithMe: ModelTypes["VFile"][];
1286
- userList: ModelTypes["User"][];
1683
+ unreadReceivedMailsCount?: ModelTypes["UnreadReceivedMailsCountResult"];
1684
+ user?: ModelTypes["UserResult"];
1685
+ vFile?: ModelTypes["VFileResult"];
1686
+ vFilesSharedWithMe?: ModelTypes["VFilesSharedWithMeResult"];
1687
+ userList?: ModelTypes["UserListResult"];
1287
1688
  };
1288
1689
  ["Mutation"]: {
1289
1690
  addFileToHistory: ModelTypes["VFile"];
@@ -1351,6 +1752,141 @@ export declare type GraphQLTypes = {
1351
1752
  ["UserRole"]: UserRole;
1352
1753
  ["MailType"]: MailType;
1353
1754
  ["Rights"]: Rights;
1755
+ ["AppNotificationsResult"]: {
1756
+ __typename: "UserAppNotifications" | "ErrorAccessDenied" | "ErrorNotFound";
1757
+ ['...on UserAppNotifications']: '__union' & GraphQLTypes["UserAppNotifications"];
1758
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1759
+ ['...on ErrorNotFound']: '__union' & GraphQLTypes["ErrorNotFound"];
1760
+ };
1761
+ ["BlogResult"]: {
1762
+ __typename: "BlogResponse" | "ErrorLangNotExist";
1763
+ ['...on BlogResponse']: '__union' & GraphQLTypes["BlogResponse"];
1764
+ ['...on ErrorLangNotExist']: '__union' & GraphQLTypes["ErrorLangNotExist"];
1765
+ };
1766
+ ["DbConfigResult"]: {
1767
+ __typename: "DbConfigResponse" | "ErrorAccessDenied" | "ErrorNotExist" | "ErrorNotFound";
1768
+ ['...on DbConfigResponse']: '__union' & GraphQLTypes["DbConfigResponse"];
1769
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1770
+ ['...on ErrorNotExist']: '__union' & GraphQLTypes["ErrorNotExist"];
1771
+ ['...on ErrorNotFound']: '__union' & GraphQLTypes["ErrorNotFound"];
1772
+ };
1773
+ ["DbGetResult"]: {
1774
+ __typename: "DbGetResponse" | "ErrorAccessDenied" | "ErrorNotFound" | "ErrorNotExist";
1775
+ ['...on DbGetResponse']: '__union' & GraphQLTypes["DbGetResponse"];
1776
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1777
+ ['...on ErrorNotFound']: '__union' & GraphQLTypes["ErrorNotFound"];
1778
+ ['...on ErrorNotExist']: '__union' & GraphQLTypes["ErrorNotExist"];
1779
+ };
1780
+ ["DbSearchResult"]: {
1781
+ __typename: "DbSearchResponse" | "ErrorAccessDenied" | "ErrorNotExist" | "ErrorBasic";
1782
+ ['...on DbSearchResponse']: '__union' & GraphQLTypes["DbSearchResponse"];
1783
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1784
+ ['...on ErrorNotExist']: '__union' & GraphQLTypes["ErrorNotExist"];
1785
+ ['...on ErrorBasic']: '__union' & GraphQLTypes["ErrorBasic"];
1786
+ };
1787
+ ["DeletedFoldersResult"]: {
1788
+ __typename: "DeletedFoldersResponse" | "ErrorAccessDenied";
1789
+ ['...on DeletedFoldersResponse']: '__union' & GraphQLTypes["DeletedFoldersResponse"];
1790
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1791
+ };
1792
+ ["DeletedMailsResult"]: {
1793
+ __typename: "DeletedMailsResponse" | "ErrorAccessDenied";
1794
+ ['...on DeletedMailsResponse']: '__union' & GraphQLTypes["DeletedMailsResponse"];
1795
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1796
+ };
1797
+ ["DeletedVFilesResult"]: {
1798
+ __typename: "DeletedVFilesResponse" | "ErrorAccessDenied";
1799
+ ['...on DeletedVFilesResponse']: '__union' & GraphQLTypes["DeletedVFilesResponse"];
1800
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1801
+ };
1802
+ ["FaqResult"]: {
1803
+ __typename: "FaqResponse" | "ErrorAccessDenied";
1804
+ ['...on FaqResponse']: '__union' & GraphQLTypes["FaqResponse"];
1805
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1806
+ };
1807
+ ["FileResult"]: {
1808
+ __typename: "FileQueryResponse" | "ErrorAccessDenied";
1809
+ ['...on FileQueryResponse']: '__union' & GraphQLTypes["FileQueryResponse"];
1810
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1811
+ };
1812
+ ["FileContentResult"]: {
1813
+ __typename: "FileContentResponse" | "ErrorAccessDenied" | "ErrorBasic";
1814
+ ['...on FileContentResponse']: '__union' & GraphQLTypes["FileContentResponse"];
1815
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1816
+ ['...on ErrorBasic']: '__union' & GraphQLTypes["ErrorBasic"];
1817
+ };
1818
+ ["FolderResult"]: {
1819
+ __typename: "FolderResponse" | "ErrorAccessDenied";
1820
+ ['...on FolderResponse']: '__union' & GraphQLTypes["FolderResponse"];
1821
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1822
+ };
1823
+ ["FolderSizeResult"]: {
1824
+ __typename: "FolderSizeResponse" | "ErrorAccessDenied";
1825
+ ['...on FolderSizeResponse']: '__union' & GraphQLTypes["FolderSizeResponse"];
1826
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1827
+ };
1828
+ ["FoldersSharedWithMeResult"]: {
1829
+ __typename: "FolderSharedWithMeResponse" | "ErrorAccessDenied";
1830
+ ['...on FolderSharedWithMeResponse']: '__union' & GraphQLTypes["FolderSharedWithMeResponse"];
1831
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1832
+ };
1833
+ ["LimitsResult"]: {
1834
+ __typename: "QueryLimits" | "ErrorAccessDenied" | "ErrorNotFound" | "ErrorNotExist" | "ErrorLimit";
1835
+ ['...on QueryLimits']: '__union' & GraphQLTypes["QueryLimits"];
1836
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1837
+ ['...on ErrorNotFound']: '__union' & GraphQLTypes["ErrorNotFound"];
1838
+ ['...on ErrorNotExist']: '__union' & GraphQLTypes["ErrorNotExist"];
1839
+ ['...on ErrorLimit']: '__union' & GraphQLTypes["ErrorLimit"];
1840
+ };
1841
+ ["MailResult"]: {
1842
+ __typename: "QueryMailResponse" | "ErrorAccessDenied";
1843
+ ['...on QueryMailResponse']: '__union' & GraphQLTypes["QueryMailResponse"];
1844
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1845
+ };
1846
+ ["PaymentInfosResult"]: {
1847
+ __typename: "PaymentInfosResponse" | "ErrorAccessDenied";
1848
+ ['...on PaymentInfosResponse']: '__union' & GraphQLTypes["PaymentInfosResponse"];
1849
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1850
+ };
1851
+ ["PlansResult"]: {
1852
+ __typename: "PlanResponse";
1853
+ ['...on PlanResponse']: '__union' & GraphQLTypes["PlanResponse"];
1854
+ };
1855
+ ["SharedFoldersResult"]: {
1856
+ __typename: "SharedFoldersResponse" | "ErrorAccessDenied";
1857
+ ['...on SharedFoldersResponse']: '__union' & GraphQLTypes["SharedFoldersResponse"];
1858
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1859
+ };
1860
+ ["SharedVFilesResult"]: {
1861
+ __typename: "SharedVFilesResponse" | "ErrorAccessDenied";
1862
+ ['...on SharedVFilesResponse']: '__union' & GraphQLTypes["SharedVFilesResponse"];
1863
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1864
+ };
1865
+ ["UnreadReceivedMailsCountResult"]: {
1866
+ __typename: "UnreadReceivedMailsCountResponse" | "ErrorAccessDenied";
1867
+ ['...on UnreadReceivedMailsCountResponse']: '__union' & GraphQLTypes["UnreadReceivedMailsCountResponse"];
1868
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1869
+ };
1870
+ ["UserResult"]: {
1871
+ __typename: "UserResponse" | "ErrorNotFound";
1872
+ ['...on UserResponse']: '__union' & GraphQLTypes["UserResponse"];
1873
+ ['...on ErrorNotFound']: '__union' & GraphQLTypes["ErrorNotFound"];
1874
+ };
1875
+ ["VFileResult"]: {
1876
+ __typename: "VFileResponse" | "ErrorAccessDenied";
1877
+ ['...on VFileResponse']: '__union' & GraphQLTypes["VFileResponse"];
1878
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1879
+ };
1880
+ ["VFilesSharedWithMeResult"]: {
1881
+ __typename: "VFilesSharedWithMeResponse" | "ErrorAccessDenied";
1882
+ ['...on VFilesSharedWithMeResponse']: '__union' & GraphQLTypes["VFilesSharedWithMeResponse"];
1883
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1884
+ };
1885
+ ["UserListResult"]: {
1886
+ __typename: "UserListResponse" | "ErrorAccessDenied";
1887
+ ['...on UserListResponse']: '__union' & GraphQLTypes["UserListResponse"];
1888
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1889
+ };
1354
1890
  ["AppKeyPair"]: {
1355
1891
  __typename: "AppKeyPair";
1356
1892
  pub: string;
@@ -1419,6 +1955,58 @@ export declare type GraphQLTypes = {
1419
1955
  count: GraphQLTypes["BigInt"];
1420
1956
  maxCount?: GraphQLTypes["BigInt"];
1421
1957
  };
1958
+ ["Error"]: {
1959
+ __typename: "ErrorAccessDenied" | "ErrorNotFound" | "ErrorUpgradePlan" | "ErrorLangNotExist" | "ErrorNotExist" | "ErrorLimit" | "ErrorBasic";
1960
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1961
+ ['...on ErrorNotFound']: '__union' & GraphQLTypes["ErrorNotFound"];
1962
+ ['...on ErrorUpgradePlan']: '__union' & GraphQLTypes["ErrorUpgradePlan"];
1963
+ ['...on ErrorLangNotExist']: '__union' & GraphQLTypes["ErrorLangNotExist"];
1964
+ ['...on ErrorNotExist']: '__union' & GraphQLTypes["ErrorNotExist"];
1965
+ ['...on ErrorLimit']: '__union' & GraphQLTypes["ErrorLimit"];
1966
+ ['...on ErrorBasic']: '__union' & GraphQLTypes["ErrorBasic"];
1967
+ };
1968
+ ["ErrorAccessDenied"]: {
1969
+ __typename: "ErrorAccessDenied";
1970
+ message: string;
1971
+ };
1972
+ ["ErrorBase"]: {
1973
+ __typename: "ErrorAccessDenied" | "ErrorBasic" | "ErrorLangNotExist" | "ErrorLimit" | "ErrorNotExist" | "ErrorNotFound" | "ErrorUpgradePlan";
1974
+ message: string;
1975
+ ['...on ErrorAccessDenied']: '__union' & GraphQLTypes["ErrorAccessDenied"];
1976
+ ['...on ErrorBasic']: '__union' & GraphQLTypes["ErrorBasic"];
1977
+ ['...on ErrorLangNotExist']: '__union' & GraphQLTypes["ErrorLangNotExist"];
1978
+ ['...on ErrorLimit']: '__union' & GraphQLTypes["ErrorLimit"];
1979
+ ['...on ErrorNotExist']: '__union' & GraphQLTypes["ErrorNotExist"];
1980
+ ['...on ErrorNotFound']: '__union' & GraphQLTypes["ErrorNotFound"];
1981
+ ['...on ErrorUpgradePlan']: '__union' & GraphQLTypes["ErrorUpgradePlan"];
1982
+ };
1983
+ ["ErrorBasic"]: {
1984
+ __typename: "ErrorBasic";
1985
+ message: string;
1986
+ };
1987
+ ["ErrorLangNotExist"]: {
1988
+ __typename: "ErrorLangNotExist";
1989
+ message: string;
1990
+ };
1991
+ ["ErrorLimit"]: {
1992
+ __typename: "ErrorLimit";
1993
+ message: string;
1994
+ field?: string;
1995
+ };
1996
+ ["ErrorNotExist"]: {
1997
+ __typename: "ErrorNotExist";
1998
+ message: string;
1999
+ field?: string;
2000
+ };
2001
+ ["ErrorNotFound"]: {
2002
+ __typename: "ErrorNotFound";
2003
+ message: string;
2004
+ field?: string;
2005
+ };
2006
+ ["ErrorUpgradePlan"]: {
2007
+ __typename: "ErrorUpgradePlan";
2008
+ message: string;
2009
+ };
1422
2010
  ["Faq"]: {
1423
2011
  __typename: "Faq";
1424
2012
  id: string;
@@ -1747,6 +2335,99 @@ export declare type GraphQLTypes = {
1747
2335
  reportedUser: GraphQLTypes["User"];
1748
2336
  customMessage?: string;
1749
2337
  };
2338
+ ["BlogResponse"]: {
2339
+ __typename: "BlogResponse";
2340
+ blogItems: Array<GraphQLTypes["BlogItem"]>;
2341
+ };
2342
+ ["DbConfigResponse"]: {
2343
+ __typename: "DbConfigResponse";
2344
+ json: GraphQLTypes["Json"];
2345
+ };
2346
+ ["DbGetResponse"]: {
2347
+ __typename: "DbGetResponse";
2348
+ json?: GraphQLTypes["Json"];
2349
+ };
2350
+ ["DbSearchResponse"]: {
2351
+ __typename: "DbSearchResponse";
2352
+ json?: GraphQLTypes["Json"];
2353
+ };
2354
+ ["DeletedFoldersResponse"]: {
2355
+ __typename: "DeletedFoldersResponse";
2356
+ deletedFolders: Array<GraphQLTypes["Folder"]>;
2357
+ };
2358
+ ["DeletedMailsResponse"]: {
2359
+ __typename: "DeletedMailsResponse";
2360
+ deletedMails: Array<GraphQLTypes["Mail"]>;
2361
+ };
2362
+ ["DeletedVFilesResponse"]: {
2363
+ __typename: "DeletedVFilesResponse";
2364
+ deletedVFiles: Array<GraphQLTypes["VFile"]>;
2365
+ };
2366
+ ["FaqResponse"]: {
2367
+ __typename: "FaqResponse";
2368
+ faq: Array<GraphQLTypes["FaqItem"]>;
2369
+ };
2370
+ ["FileQueryResponse"]: {
2371
+ __typename: "FileQueryResponse";
2372
+ file?: GraphQLTypes["File"];
2373
+ };
2374
+ ["FileContentResponse"]: {
2375
+ __typename: "FileContentResponse";
2376
+ file?: GraphQLTypes["FileContent"];
2377
+ };
2378
+ ["FolderResponse"]: {
2379
+ __typename: "FolderResponse";
2380
+ folder?: GraphQLTypes["Folder"];
2381
+ };
2382
+ ["FolderSharedWithMeResponse"]: {
2383
+ __typename: "FolderSharedWithMeResponse";
2384
+ foldersSharedWithMe: Array<GraphQLTypes["Folder"]>;
2385
+ };
2386
+ ["FolderSizeResponse"]: {
2387
+ __typename: "FolderSizeResponse";
2388
+ size: GraphQLTypes["BigInt"];
2389
+ sizeBefore: GraphQLTypes["BigInt"];
2390
+ };
2391
+ ["QueryMailResponse"]: {
2392
+ __typename: "QueryMailResponse";
2393
+ mail?: GraphQLTypes["Mail"];
2394
+ };
2395
+ ["PaymentInfosResponse"]: {
2396
+ __typename: "PaymentInfosResponse";
2397
+ paymentInfos?: GraphQLTypes["PaymentInfos"];
2398
+ };
2399
+ ["PlanResponse"]: {
2400
+ __typename: "PlanResponse";
2401
+ plan: Array<GraphQLTypes["Plan"]>;
2402
+ };
2403
+ ["SharedFoldersResponse"]: {
2404
+ __typename: "SharedFoldersResponse";
2405
+ sharedFolders: Array<GraphQLTypes["Folder"]>;
2406
+ };
2407
+ ["SharedVFilesResponse"]: {
2408
+ __typename: "SharedVFilesResponse";
2409
+ sharedVFiles: Array<GraphQLTypes["VFile"]>;
2410
+ };
2411
+ ["UnreadReceivedMailsCountResponse"]: {
2412
+ __typename: "UnreadReceivedMailsCountResponse";
2413
+ count: number;
2414
+ };
2415
+ ["UserResponse"]: {
2416
+ __typename: "UserResponse";
2417
+ user?: GraphQLTypes["User"];
2418
+ };
2419
+ ["UserListResponse"]: {
2420
+ __typename: "UserListResponse";
2421
+ userList: Array<GraphQLTypes["User"]>;
2422
+ };
2423
+ ["VFileResponse"]: {
2424
+ __typename: "VFileResponse";
2425
+ vFile?: GraphQLTypes["VFile"];
2426
+ };
2427
+ ["VFilesSharedWithMeResponse"]: {
2428
+ __typename: "VFilesSharedWithMeResponse";
2429
+ vFilesSharedWithMe: Array<GraphQLTypes["VFile"]>;
2430
+ };
1750
2431
  ["TemporaryUser"]: {
1751
2432
  __typename: "TemporaryUser";
1752
2433
  id: string;
@@ -1879,33 +2560,33 @@ export declare type GraphQLTypes = {
1879
2560
  };
1880
2561
  ["Query"]: {
1881
2562
  __typename: "Query";
1882
- appNotifications?: GraphQLTypes["UserAppNotifications"];
1883
- blog: Array<GraphQLTypes["BlogItem"]>;
1884
- dbConfig?: GraphQLTypes["Json"];
1885
- dbGet?: GraphQLTypes["Json"];
1886
- dbSearch: Array<GraphQLTypes["Json"]>;
1887
- deletedFolders: Array<GraphQLTypes["Folder"]>;
1888
- deletedMails: Array<GraphQLTypes["Mail"]>;
1889
- deletedVFiles: Array<GraphQLTypes["VFile"]>;
1890
- faq: Array<GraphQLTypes["FaqItem"]>;
1891
- file?: GraphQLTypes["File"];
1892
- fileContent?: GraphQLTypes["FileContent"];
2563
+ appNotifications?: GraphQLTypes["AppNotificationsResult"];
2564
+ blog?: GraphQLTypes["BlogResult"];
2565
+ dbConfig?: GraphQLTypes["DbConfigResult"];
2566
+ dbGet?: GraphQLTypes["DbGetResult"];
2567
+ dbSearch?: GraphQLTypes["DbSearchResult"];
2568
+ deletedFolders?: GraphQLTypes["DeletedFoldersResult"];
2569
+ deletedMails?: GraphQLTypes["DeletedMailsResult"];
2570
+ deletedVFiles?: GraphQLTypes["DeletedVFilesResult"];
2571
+ faq?: GraphQLTypes["FaqResult"];
2572
+ file?: GraphQLTypes["FileResult"];
2573
+ fileContent?: GraphQLTypes["FileContentResult"];
1893
2574
  filesSharedWithMe: Array<GraphQLTypes["FileSharedContent"]>;
1894
- folder?: GraphQLTypes["Folder"];
1895
- folderSize?: GraphQLTypes["FolderSize"];
1896
- foldersSharedWithMe: Array<GraphQLTypes["Folder"]>;
1897
- limits?: GraphQLTypes["QueryLimits"];
1898
- mail?: GraphQLTypes["Mail"];
1899
- paymentInfos?: GraphQLTypes["PaymentInfos"];
1900
- plans: Array<GraphQLTypes["Plan"]>;
1901
- sharedFolders: Array<GraphQLTypes["Folder"]>;
1902
- sharedVFiles: Array<GraphQLTypes["VFile"]>;
2575
+ folder?: GraphQLTypes["FolderResult"];
2576
+ folderSize?: GraphQLTypes["FolderSizeResult"];
2577
+ foldersSharedWithMe?: GraphQLTypes["FoldersSharedWithMeResult"];
2578
+ limits?: GraphQLTypes["LimitsResult"];
2579
+ mail?: GraphQLTypes["MailResult"];
2580
+ paymentInfos?: GraphQLTypes["PaymentInfosResult"];
2581
+ plans?: GraphQLTypes["PlansResult"];
2582
+ sharedFolders?: GraphQLTypes["SharedFoldersResult"];
2583
+ sharedVFiles?: GraphQLTypes["SharedVFilesResult"];
1903
2584
  test?: boolean;
1904
- unreadReceivedMailsCount?: number;
1905
- user?: GraphQLTypes["User"];
1906
- vFile?: GraphQLTypes["VFile"];
1907
- vFilesSharedWithMe: Array<GraphQLTypes["VFile"]>;
1908
- userList: Array<GraphQLTypes["User"]>;
2585
+ unreadReceivedMailsCount?: GraphQLTypes["UnreadReceivedMailsCountResult"];
2586
+ user?: GraphQLTypes["UserResult"];
2587
+ vFile?: GraphQLTypes["VFileResult"];
2588
+ vFilesSharedWithMe?: GraphQLTypes["VFilesSharedWithMeResult"];
2589
+ userList?: GraphQLTypes["UserListResult"];
1909
2590
  };
1910
2591
  ["Mutation"]: {
1911
2592
  __typename: "Mutation";
@@ -1964,7 +2645,7 @@ export declare type GraphQLTypes = {
1964
2645
  test: boolean;
1965
2646
  };
1966
2647
  };
1967
- export declare enum Lang {
2648
+ export declare const enum Lang {
1968
2649
  fr = "fr",
1969
2650
  en = "en",
1970
2651
  it = "it",
@@ -1981,31 +2662,31 @@ export declare enum Lang {
1981
2662
  hi = "hi",
1982
2663
  ko = "ko"
1983
2664
  }
1984
- export declare enum PlanKind {
2665
+ export declare const enum PlanKind {
1985
2666
  free = "free",
1986
2667
  basic = "basic",
1987
2668
  advanced = "advanced",
1988
2669
  pro = "pro"
1989
2670
  }
1990
- export declare enum UserRole {
2671
+ export declare const enum UserRole {
1991
2672
  user = "user",
1992
2673
  admin = "admin"
1993
2674
  }
1994
- export declare enum MailType {
2675
+ export declare const enum MailType {
1995
2676
  sent = "sent",
1996
2677
  received = "received"
1997
2678
  }
1998
- export declare enum Rights {
2679
+ export declare const enum Rights {
1999
2680
  admin = "admin",
2000
2681
  write = "write",
2001
2682
  read = "read"
2002
2683
  }
2003
- export declare enum FileContentType {
2684
+ export declare const enum FileContentType {
2004
2685
  cloud = "cloud",
2005
2686
  sent_mail = "sent_mail",
2006
2687
  received_mail = "received_mail"
2007
2688
  }
2008
- export declare enum PayInputType {
2689
+ export declare const enum PayInputType {
2009
2690
  secure = "secure",
2010
2691
  classic = "classic"
2011
2692
  }