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

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.
Files changed (158) hide show
  1. package/CHANGELOG.md +178 -0
  2. package/README.md +0 -1
  3. package/__tests__/client/client.test.ts +81 -0
  4. package/__tests__/client/folder.test.ts +302 -0
  5. package/__tests__/client/mail.test.ts +476 -0
  6. package/__tests__/client/timing.test.ts +35 -0
  7. package/__tests__/client/utils.ts +41 -0
  8. package/__tests__/client/vFile.test.ts +207 -0
  9. package/__tests__/index.test.ts +171 -0
  10. package/commitlint.config.cjs +3 -0
  11. package/dist/index.d.ts +3857 -0
  12. package/dist/index.js +255 -0
  13. package/dist/index.js.map +1 -0
  14. package/dist/index.mjs +255 -0
  15. package/dist/index.mjs.map +1 -0
  16. package/docs/assets/css/main.css +2660 -0
  17. package/docs/assets/images/icons.png +0 -0
  18. package/docs/assets/images/icons@2x.png +0 -0
  19. package/docs/assets/images/widgets.png +0 -0
  20. package/docs/assets/images/widgets@2x.png +0 -0
  21. package/docs/assets/js/main.js +248 -0
  22. package/docs/assets/js/search.js +1 -0
  23. package/docs/classes/baseclient.baseclient-1.html +1165 -0
  24. package/docs/classes/client.secrecyclient.html +2527 -0
  25. package/docs/enums/index.sodium.base64_variants.html +205 -0
  26. package/docs/index.html +198 -0
  27. package/docs/interfaces/client_types.draftmail.html +335 -0
  28. package/docs/interfaces/client_types.filecontentbase.html +231 -0
  29. package/docs/interfaces/client_types.filecontentcloud.html +244 -0
  30. package/docs/interfaces/client_types.filecontentreceivedmail.html +244 -0
  31. package/docs/interfaces/client_types.filecontentsentmail.html +230 -0
  32. package/docs/interfaces/client_types.receivedmail.html +363 -0
  33. package/docs/interfaces/client_types.sentmail.html +335 -0
  34. package/docs/interfaces/crypto.keypair.html +202 -0
  35. package/docs/interfaces/index.sodium.cryptobox.html +185 -0
  36. package/docs/interfaces/index.sodium.cryptokx.html +185 -0
  37. package/docs/interfaces/index.sodium.keypair.html +199 -0
  38. package/docs/interfaces/index.sodium.messagetag.html +185 -0
  39. package/docs/interfaces/index.sodium.secretbox.html +185 -0
  40. package/docs/interfaces/index.sodium.stateaddress.html +171 -0
  41. package/docs/interfaces/index.sodium.stringcryptobox.html +185 -0
  42. package/docs/interfaces/index.sodium.stringcryptokx.html +185 -0
  43. package/docs/interfaces/index.sodium.stringkeypair.html +199 -0
  44. package/docs/interfaces/index.sodium.stringmessagetag.html +185 -0
  45. package/docs/interfaces/index.sodium.stringsecretbox.html +185 -0
  46. package/docs/interfaces/utils_store_buddy.storebuddy.html +333 -0
  47. package/docs/modules/baseclient.html +929 -0
  48. package/docs/modules/cache.html +185 -0
  49. package/docs/modules/client.html +207 -0
  50. package/docs/modules/client_convert_file.html +216 -0
  51. package/docs/modules/client_convert_folder.html +303 -0
  52. package/docs/modules/client_convert_vfile.html +216 -0
  53. package/docs/modules/client_helpers.html +311 -0
  54. package/docs/modules/client_storage.html +167 -0
  55. package/docs/modules/client_types.html +1227 -0
  56. package/docs/modules/client_types_file.html +233 -0
  57. package/docs/modules/client_types_filesonusersonapplications.html +168 -0
  58. package/docs/modules/client_types_folder.html +383 -0
  59. package/docs/modules/client_types_inputs.html +263 -0
  60. package/docs/modules/client_types_mail.html +181 -0
  61. package/docs/modules/client_types_queries.html +199 -0
  62. package/docs/modules/client_types_userappsettings.html +163 -0
  63. package/docs/modules/client_types_vfile.html +364 -0
  64. package/docs/modules/crypto.html +366 -0
  65. package/docs/modules/crypto_file.html +344 -0
  66. package/docs/modules/index.html +779 -0
  67. package/docs/modules/index.sodium.html +6039 -0
  68. package/docs/modules/minify.html +183 -0
  69. package/docs/modules/minify_lz4.html +279 -0
  70. package/docs/modules/popuptools.html +259 -0
  71. package/docs/modules/sodium.html +167 -0
  72. package/docs/modules/utils.html +219 -0
  73. package/docs/modules/utils_store_buddy.html +208 -0
  74. package/docs/modules/utils_time.html +330 -0
  75. package/docs/modules/worker_md5.html +156 -0
  76. package/docs/modules/worker_sodium.html +231 -0
  77. package/docs/modules/worker_workercodes.html +157 -0
  78. package/docs/modules.html +235 -0
  79. package/index.html +21 -0
  80. package/jest.config.ts +27 -0
  81. package/jest.setup.ts +6 -0
  82. package/package.json +39 -47
  83. package/release.config.cjs +15 -0
  84. package/tsup.config.ts +23 -0
  85. package/lib/BaseClient.d.ts +0 -274
  86. package/lib/BaseClient.js +0 -1837
  87. package/lib/PopupTools.d.ts +0 -17
  88. package/lib/PopupTools.js +0 -213
  89. package/lib/ZeusThunder.d.ts +0 -2
  90. package/lib/ZeusThunder.js +0 -112
  91. package/lib/cache.d.ts +0 -7
  92. package/lib/cache.js +0 -5
  93. package/lib/client/admin/index.d.ts +0 -11
  94. package/lib/client/admin/index.js +0 -163
  95. package/lib/client/convert/file.d.ts +0 -5
  96. package/lib/client/convert/file.js +0 -39
  97. package/lib/client/convert/folder.d.ts +0 -8
  98. package/lib/client/convert/folder.js +0 -264
  99. package/lib/client/convert/mail.d.ts +0 -3
  100. package/lib/client/convert/mail.js +0 -46
  101. package/lib/client/convert/vFile.d.ts +0 -5
  102. package/lib/client/convert/vFile.js +0 -164
  103. package/lib/client/helpers.d.ts +0 -23
  104. package/lib/client/helpers.js +0 -116
  105. package/lib/client/index.d.ts +0 -172
  106. package/lib/client/index.js +0 -4501
  107. package/lib/client/storage.d.ts +0 -7
  108. package/lib/client/storage.js +0 -12
  109. package/lib/client/types/File.d.ts +0 -21
  110. package/lib/client/types/File.js +0 -3
  111. package/lib/client/types/FilesOnUsersOnApplications.d.ts +0 -9
  112. package/lib/client/types/FilesOnUsersOnApplications.js +0 -3
  113. package/lib/client/types/Folder.d.ts +0 -68
  114. package/lib/client/types/Folder.js +0 -7
  115. package/lib/client/types/Inputs.d.ts +0 -21
  116. package/lib/client/types/Inputs.js +0 -3
  117. package/lib/client/types/UserAppNotifications.d.ts +0 -6
  118. package/lib/client/types/UserAppNotifications.js +0 -3
  119. package/lib/client/types/UserAppSettings.d.ts +0 -7
  120. package/lib/client/types/UserAppSettings.js +0 -3
  121. package/lib/client/types/VFile.d.ts +0 -62
  122. package/lib/client/types/VFile.js +0 -4
  123. package/lib/client/types/index.d.ts +0 -154
  124. package/lib/client/types/index.js +0 -10
  125. package/lib/client/types/queries.d.ts +0 -535
  126. package/lib/client/types/queries.js +0 -192
  127. package/lib/crypto/file.d.ts +0 -14
  128. package/lib/crypto/file.js +0 -291
  129. package/lib/crypto/index.d.ts +0 -12
  130. package/lib/crypto/index.js +0 -37
  131. package/lib/error.d.ts +0 -30
  132. package/lib/error.js +0 -3
  133. package/lib/index.d.ts +0 -13
  134. package/lib/index.js +0 -42
  135. package/lib/minify/index.d.ts +0 -2
  136. package/lib/minify/index.js +0 -28
  137. package/lib/minify/lz4.d.ts +0 -5
  138. package/lib/minify/lz4.js +0 -633
  139. package/lib/sodium.d.ts +0 -3
  140. package/lib/sodium.js +0 -28
  141. package/lib/utils/store-buddy.d.ts +0 -14
  142. package/lib/utils/store-buddy.js +0 -69
  143. package/lib/utils/time.d.ts +0 -10
  144. package/lib/utils/time.js +0 -22
  145. package/lib/utils.d.ts +0 -4
  146. package/lib/utils.js +0 -188
  147. package/lib/worker/__mock__/sodium.worker.d.ts +0 -19
  148. package/lib/worker/__mock__/sodium.worker.js +0 -46
  149. package/lib/worker/md5.d.ts +0 -1
  150. package/lib/worker/md5.js +0 -43
  151. package/lib/worker/sodium.d.ts +0 -3
  152. package/lib/worker/sodium.js +0 -155
  153. package/lib/worker/workerCodes.d.ts +0 -2
  154. package/lib/worker/workerCodes.js +0 -3
  155. package/lib/zeus/const.d.ts +0 -2
  156. package/lib/zeus/const.js +0 -1895
  157. package/lib/zeus/index.d.ts +0 -2798
  158. package/lib/zeus/index.js +0 -549
@@ -1,2798 +0,0 @@
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
- export declare type ValueTypes = {
4
- ["BigInt"]: unknown;
5
- ["Bytes"]: unknown;
6
- ["DateTime"]: unknown;
7
- ["Decimal"]: unknown;
8
- ["Json"]: unknown;
9
- ["Lang"]: Lang;
10
- ["PlanKind"]: PlanKind;
11
- ["UserRole"]: UserRole;
12
- ["MailType"]: MailType;
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
- }>;
149
- ["AppKeyPair"]: AliasType<{
150
- pub?: boolean;
151
- __typename?: boolean;
152
- }>;
153
- ["AppSession"]: AliasType<{
154
- id?: boolean;
155
- lastActivity?: boolean;
156
- userAgent?: boolean;
157
- ip?: boolean;
158
- city?: boolean;
159
- country?: boolean;
160
- userSession?: ValueTypes["UserSession"];
161
- userApp?: ValueTypes["ApplicationsOnUsers"];
162
- createdAt?: boolean;
163
- __typename?: boolean;
164
- }>;
165
- ["Application"]: AliasType<{
166
- id?: boolean;
167
- name?: boolean;
168
- __typename?: boolean;
169
- }>;
170
- ["ApplicationsOnUsers"]: AliasType<{
171
- fakeUserId?: boolean;
172
- keyPair?: ValueTypes["AppKeyPair"];
173
- sessions?: ValueTypes["AppSession"];
174
- app?: ValueTypes["Application"];
175
- user?: ValueTypes["User"];
176
- folders?: ValueTypes["FoldersOnUsersOnApplications"];
177
- settings?: ValueTypes["UserAppSettings"];
178
- __typename?: boolean;
179
- }>;
180
- ["Blog"]: AliasType<{
181
- id?: boolean;
182
- order?: boolean;
183
- entries?: ValueTypes["BlogEntry"];
184
- __typename?: boolean;
185
- }>;
186
- ["BlogEntry"]: AliasType<{
187
- id?: boolean;
188
- lang?: boolean;
189
- author?: boolean;
190
- body?: boolean;
191
- date?: boolean;
192
- image?: boolean;
193
- summary?: boolean;
194
- title?: boolean;
195
- __typename?: boolean;
196
- }>;
197
- ["BlogItem"]: AliasType<{
198
- id?: boolean;
199
- blogId?: boolean;
200
- order?: boolean;
201
- title?: boolean;
202
- body?: boolean;
203
- author?: boolean;
204
- image?: boolean;
205
- imageAlt?: boolean;
206
- summary?: boolean;
207
- date?: boolean;
208
- __typename?: boolean;
209
- }>;
210
- ["CloudLimits"]: AliasType<{
211
- size?: boolean;
212
- maxSize?: boolean;
213
- count?: boolean;
214
- maxCount?: boolean;
215
- __typename?: boolean;
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
- }>;
269
- ["Faq"]: AliasType<{
270
- id?: boolean;
271
- order?: boolean;
272
- entries?: ValueTypes["FaqEntry"];
273
- __typename?: boolean;
274
- }>;
275
- ["FaqEntry"]: AliasType<{
276
- id?: boolean;
277
- lang?: boolean;
278
- question?: boolean;
279
- answer?: boolean;
280
- faq?: ValueTypes["Faq"];
281
- __typename?: boolean;
282
- }>;
283
- ["FaqItem"]: AliasType<{
284
- order?: boolean;
285
- question?: boolean;
286
- answer?: boolean;
287
- __typename?: boolean;
288
- }>;
289
- ["File"]: AliasType<{
290
- id?: boolean;
291
- size?: boolean;
292
- sizeBefore?: boolean;
293
- createdAt?: boolean;
294
- vFiles?: ValueTypes["VFile"];
295
- vFilesCurrent?: ValueTypes["VFile"];
296
- users?: ValueTypes["FilesOnUsersOnApplications"];
297
- md5?: boolean;
298
- md5Encrypted?: boolean;
299
- deletedAt?: boolean;
300
- userApp?: ValueTypes["ApplicationsOnUsers"];
301
- mails?: ValueTypes["FilesOnMails"];
302
- validatedAt?: boolean;
303
- user?: ValueTypes["FilesOnUsersOnApplications"];
304
- __typename?: boolean;
305
- }>;
306
- ["FileContent"]: AliasType<{
307
- ["...on FileContentCloud"]: ValueTypes["FileContentCloud"];
308
- ["...on FileContentReceivedMail"]: ValueTypes["FileContentReceivedMail"];
309
- ["...on FileContentSentMail"]: ValueTypes["FileContentSentMail"];
310
- __typename?: boolean;
311
- }>;
312
- ["FileContentBase"]: AliasType<{
313
- parts?: ValueTypes["FileContentPart"];
314
- key?: boolean;
315
- md5?: boolean;
316
- md5Encrypted?: boolean;
317
- totalSize?: boolean;
318
- type?: boolean;
319
- ['...on FileContentCloud']?: Omit<ValueTypes["FileContentCloud"], keyof ValueTypes["FileContentBase"]>;
320
- ['...on FileContentReceivedMail']?: Omit<ValueTypes["FileContentReceivedMail"], keyof ValueTypes["FileContentBase"]>;
321
- ['...on FileContentSentMail']?: Omit<ValueTypes["FileContentSentMail"], keyof ValueTypes["FileContentBase"]>;
322
- __typename?: boolean;
323
- }>;
324
- ["FileContentCloud"]: AliasType<{
325
- parts?: ValueTypes["FileContentPart"];
326
- key?: boolean;
327
- md5?: boolean;
328
- md5Encrypted?: boolean;
329
- totalSize?: boolean;
330
- type?: boolean;
331
- publicKey?: boolean;
332
- __typename?: boolean;
333
- }>;
334
- ["FileContentPart"]: AliasType<{
335
- contentUrl?: boolean;
336
- order?: boolean;
337
- md5?: boolean;
338
- __typename?: boolean;
339
- }>;
340
- ["FileContentReceivedMail"]: AliasType<{
341
- parts?: ValueTypes["FileContentPart"];
342
- key?: boolean;
343
- md5?: boolean;
344
- md5Encrypted?: boolean;
345
- totalSize?: boolean;
346
- type?: boolean;
347
- senderPublicKey?: boolean;
348
- __typename?: boolean;
349
- }>;
350
- ["FileContentSentMail"]: AliasType<{
351
- parts?: ValueTypes["FileContentPart"];
352
- key?: boolean;
353
- md5?: boolean;
354
- md5Encrypted?: boolean;
355
- totalSize?: boolean;
356
- type?: boolean;
357
- __typename?: boolean;
358
- }>;
359
- ["FileContentType"]: FileContentType;
360
- ["FilePart"]: AliasType<{
361
- id?: boolean;
362
- file?: ValueTypes["File"];
363
- fileId?: boolean;
364
- size?: boolean;
365
- order?: boolean;
366
- md5?: boolean;
367
- validatedAt?: boolean;
368
- __typename?: boolean;
369
- }>;
370
- ["FilePartResponse"]: AliasType<{
371
- fields?: boolean;
372
- url?: boolean;
373
- order?: boolean;
374
- __typename?: boolean;
375
- }>;
376
- ["FileResponse"]: AliasType<{
377
- fileId?: boolean;
378
- parts?: ValueTypes["FilePartResponse"];
379
- filePartSize?: boolean;
380
- __typename?: boolean;
381
- }>;
382
- ["FileShared"]: AliasType<{
383
- userId?: boolean;
384
- message?: boolean;
385
- appId?: boolean;
386
- id?: boolean;
387
- filename?: boolean;
388
- size?: boolean;
389
- sizeBefore?: boolean;
390
- __typename?: boolean;
391
- }>;
392
- ["FileSharedContent"]: AliasType<{
393
- ownerId?: boolean;
394
- pubKey?: boolean;
395
- message?: boolean;
396
- appId?: boolean;
397
- id?: boolean;
398
- type?: boolean;
399
- filename?: boolean;
400
- contentUrl?: boolean;
401
- key?: boolean;
402
- size?: boolean;
403
- sizeBefore?: boolean;
404
- __typename?: boolean;
405
- }>;
406
- ["FilesOnMails"]: AliasType<{
407
- file?: ValueTypes["File"];
408
- fileKey?: boolean;
409
- filename?: boolean;
410
- mail?: ValueTypes["Mail"];
411
- __typename?: boolean;
412
- }>;
413
- ["FilesOnUsersOnApplications"]: AliasType<{
414
- file?: ValueTypes["File"];
415
- userApp?: ValueTypes["ApplicationsOnUsers"];
416
- key?: boolean;
417
- __typename?: boolean;
418
- }>;
419
- ["Folder"]: AliasType<{
420
- id?: boolean;
421
- isFavorite?: boolean;
422
- createdAt?: boolean;
423
- deletedAt?: boolean;
424
- updatedAt?: boolean;
425
- createdBy?: ValueTypes["ApplicationsOnUsers"];
426
- userApps?: ValueTypes["FoldersOnUsersOnApplications"];
427
- userApp?: ValueTypes["FoldersOnUsersOnApplications"];
428
- name?: boolean;
429
- parentFolder?: ValueTypes["Folder"];
430
- subfolders?: ValueTypes["Folder"];
431
- vFiles?: ValueTypes["VFile"];
432
- breadcrumb?: ValueTypes["FolderBreadcrumbItem"];
433
- __typename?: boolean;
434
- }>;
435
- ["FolderBreadcrumbItem"]: AliasType<{
436
- id?: boolean;
437
- name?: boolean;
438
- pubKey?: boolean;
439
- nameKey?: boolean;
440
- __typename?: boolean;
441
- }>;
442
- ["FolderSize"]: AliasType<{
443
- size?: boolean;
444
- sizeBefore?: boolean;
445
- __typename?: boolean;
446
- }>;
447
- ["FoldersOnUsersOnApplications"]: AliasType<{
448
- folder?: ValueTypes["Folder"];
449
- userApp?: ValueTypes["ApplicationsOnUsers"];
450
- rights?: boolean;
451
- nameKey?: boolean;
452
- isRoot?: boolean;
453
- __typename?: boolean;
454
- }>;
455
- ["MailFileInput"]: {
456
- id: string;
457
- name: string;
458
- fileKey: string;
459
- };
460
- ["MailRecipientInput"]: {
461
- body: string;
462
- subject: string;
463
- recipientId: string;
464
- files: ValueTypes["MailFileInput"][];
465
- };
466
- ["NameKeyInput"]: {
467
- id: string;
468
- nameKey: string;
469
- files: ValueTypes["ShareFileKeyInput"][];
470
- };
471
- ["NameKeyInputFolders"]: {
472
- id: string;
473
- nameKey: string;
474
- };
475
- ["PayInput"]: {
476
- type: ValueTypes["PayInputType"];
477
- token: string;
478
- firstName: string;
479
- lastName: string;
480
- street: string;
481
- postalCode: string;
482
- city: string;
483
- country: string;
484
- number: string;
485
- month: string;
486
- year: string;
487
- cvv: string;
488
- };
489
- ["PayInputType"]: PayInputType;
490
- ["ShareFileInHistoryInput"]: {
491
- fileId: string;
492
- users: ValueTypes["ShareFileKeyInput"][];
493
- };
494
- ["ShareFileKeyInput"]: {
495
- id: string;
496
- key: string;
497
- };
498
- ["ShareFoldersInput"]: {
499
- folders: ValueTypes["NameKeyInputFolders"][];
500
- vFiles: ValueTypes["NameKeyInput"][];
501
- };
502
- ["Limits"]: AliasType<{
503
- downloadBandwidth?: boolean;
504
- downloadCount?: boolean;
505
- hardFileCount?: boolean;
506
- hardFileSize?: boolean;
507
- perFileSize?: boolean;
508
- receivedMails?: ValueTypes["MailLimits"];
509
- sentMails?: ValueTypes["MailLimits"];
510
- uploadBandwidth?: boolean;
511
- uploadCount?: boolean;
512
- __typename?: boolean;
513
- }>;
514
- ["MailLimits"]: AliasType<{
515
- count?: boolean;
516
- fileCount?: boolean;
517
- fileSize?: boolean;
518
- hardCount?: boolean;
519
- hardFileCount?: boolean;
520
- hardFileSize?: boolean;
521
- perFileSize?: boolean;
522
- __typename?: boolean;
523
- }>;
524
- ["MailLimitsValues"]: AliasType<{
525
- count?: boolean;
526
- maxCount?: boolean;
527
- fileCount?: boolean;
528
- maxFileCount?: boolean;
529
- fileSize?: boolean;
530
- maxFileSize?: boolean;
531
- __typename?: boolean;
532
- }>;
533
- ["QueryLimits"]: AliasType<{
534
- cloud?: ValueTypes["CloudLimits"];
535
- mail?: ValueTypes["UserMailLimits"];
536
- __typename?: boolean;
537
- }>;
538
- ["UserMailLimits"]: AliasType<{
539
- sent?: ValueTypes["MailLimitsValues"];
540
- received?: ValueTypes["MailLimitsValues"];
541
- __typename?: boolean;
542
- }>;
543
- ["Mail"]: AliasType<{
544
- id?: boolean;
545
- app?: ValueTypes["Application"];
546
- body?: boolean;
547
- createdAt?: boolean;
548
- deletedAt?: boolean;
549
- files?: ValueTypes["FilesOnMails"];
550
- mailIntegrity?: ValueTypes["MailIntegrity"];
551
- mailIntegrityDraft?: ValueTypes["MailIntegrityDraft"];
552
- openedAt?: boolean;
553
- recipient?: ValueTypes["User"];
554
- sender?: ValueTypes["User"];
555
- subject?: boolean;
556
- type?: boolean;
557
- recipients?: ValueTypes["User"];
558
- __typename?: boolean;
559
- }>;
560
- ["MailIntegrity"]: AliasType<{
561
- id?: boolean;
562
- hash?: boolean;
563
- hashKey?: boolean;
564
- answers?: ValueTypes["MailIntegrity"];
565
- app?: ValueTypes["Application"];
566
- mails?: ValueTypes["Mail"];
567
- recipients?: ValueTypes["User"];
568
- temporaryRecipients?: ValueTypes["TemporaryUser"];
569
- replyTo?: ValueTypes["MailIntegrity"];
570
- __typename?: boolean;
571
- }>;
572
- ["MailIntegrityDraft"]: AliasType<{
573
- id?: boolean;
574
- hash?: boolean;
575
- hashKey?: boolean;
576
- app?: ValueTypes["Application"];
577
- mail?: ValueTypes["Mail"];
578
- recipients?: ValueTypes["User"];
579
- temporaryRecipients?: ValueTypes["TemporaryUser"];
580
- replyTo?: ValueTypes["MailIntegrity"];
581
- __typename?: boolean;
582
- }>;
583
- ["Plan"]: AliasType<{
584
- id?: boolean;
585
- kind?: boolean;
586
- codes?: boolean;
587
- limits?: ValueTypes["Limits"];
588
- __typename?: boolean;
589
- }>;
590
- ["Report"]: AliasType<{
591
- id?: boolean;
592
- user?: ValueTypes["User"];
593
- reportedUser?: ValueTypes["User"];
594
- customMessage?: boolean;
595
- __typename?: boolean;
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
- }>;
690
- ["TemporaryUser"]: AliasType<{
691
- id?: boolean;
692
- mails?: ValueTypes["MailIntegrity"];
693
- draftMails?: ValueTypes["MailIntegrityDraft"];
694
- email?: boolean;
695
- __typename?: boolean;
696
- }>;
697
- ["User"]: AliasType<{
698
- id?: boolean;
699
- deletedAt?: boolean;
700
- lang?: boolean;
701
- reportSent?: ValueTypes["Report"];
702
- godFather?: ValueTypes["User"];
703
- godChildren?: ValueTypes["User"];
704
- firstname?: boolean;
705
- lastname?: boolean;
706
- email?: boolean;
707
- phone?: boolean;
708
- lastLogin?: boolean;
709
- role?: boolean;
710
- sessions?: ValueTypes["UserSession"];
711
- createdAt?: boolean;
712
- receivedMails?: ValueTypes["Mail"];
713
- waitingReceivedMails?: ValueTypes["WaitingReceivedMail"];
714
- sentMails?: ValueTypes["Mail"];
715
- draftMails?: ValueTypes["Mail"];
716
- appSettings?: ValueTypes["UserAppSettings"];
717
- applications?: ValueTypes["ApplicationsOnUsers"];
718
- publicKey?: boolean;
719
- __typename?: boolean;
720
- }>;
721
- ["UserAppNotifications"]: AliasType<{
722
- id?: boolean;
723
- enableAll?: boolean;
724
- mail?: boolean;
725
- cloud?: boolean;
726
- disableAllUntil?: boolean;
727
- __typename?: boolean;
728
- }>;
729
- ["UserAppSettings"]: AliasType<{
730
- id?: boolean;
731
- cloudFileDaysForDelete?: boolean;
732
- cloudFolderDaysForDelete?: boolean;
733
- historyFileDaysForDelete?: boolean;
734
- historyMaxFileCount?: boolean;
735
- autoDisconnectDelay?: boolean;
736
- __typename?: boolean;
737
- }>;
738
- ["UserSession"]: AliasType<{
739
- id?: boolean;
740
- appSessions?: ValueTypes["AppSession"];
741
- lastActivity?: boolean;
742
- userAgent?: boolean;
743
- ip?: boolean;
744
- city?: boolean;
745
- country?: boolean;
746
- createdAt?: boolean;
747
- __typename?: boolean;
748
- }>;
749
- ["VFile"]: AliasType<{
750
- id?: boolean;
751
- isFavorite?: boolean;
752
- createdAt?: boolean;
753
- deletedAt?: boolean;
754
- filename?: boolean;
755
- userApps?: ValueTypes["VFilesOnUsersOnApplications"];
756
- createdBy?: ValueTypes["ApplicationsOnUsers"];
757
- userApp?: ValueTypes["VFilesOnUsersOnApplications"];
758
- folder?: ValueTypes["Folder"];
759
- history?: ValueTypes["File"];
760
- current?: ValueTypes["File"];
761
- updatedAt?: boolean;
762
- __typename?: boolean;
763
- }>;
764
- ["VFilesOnUsersOnApplications"]: AliasType<{
765
- vFile?: ValueTypes["VFile"];
766
- userApp?: ValueTypes["ApplicationsOnUsers"];
767
- rights?: boolean;
768
- nameKey?: boolean;
769
- isRoot?: boolean;
770
- __typename?: boolean;
771
- }>;
772
- ["WaitingReceivedMail"]: AliasType<{
773
- sender?: ValueTypes["User"];
774
- date?: boolean;
775
- recipients?: ValueTypes["User"];
776
- temporaryRecipients?: ValueTypes["TemporaryUser"];
777
- attachmentsCount?: boolean;
778
- __typename?: boolean;
779
- }>;
780
- ["PaymentInfos"]: AliasType<{
781
- hostedUrl?: boolean;
782
- currentSubscription?: ValueTypes["RecurlySubscription"];
783
- invoices?: ValueTypes["RecurlyInvoices"];
784
- __typename?: boolean;
785
- }>;
786
- ["RecurlyInvoices"]: AliasType<{
787
- pdf?: boolean;
788
- date?: boolean;
789
- due?: boolean;
790
- status?: boolean;
791
- total?: boolean;
792
- name?: boolean;
793
- currency?: boolean;
794
- __typename?: boolean;
795
- }>;
796
- ["RecurlySubscription"]: AliasType<{
797
- autorenew?: boolean;
798
- activatedAt?: boolean;
799
- currentPeriodEndsAt?: boolean;
800
- currentPeriodStartedAt?: boolean;
801
- canceledAt?: boolean;
802
- createdAt?: boolean;
803
- expiresAt?: boolean;
804
- pausedAt?: boolean;
805
- trialEndsAt?: boolean;
806
- trialStartedAt?: boolean;
807
- updatedAt?: boolean;
808
- state?: boolean;
809
- collectionMethod?: boolean;
810
- plan?: boolean;
811
- planCode?: boolean;
812
- total?: boolean;
813
- __typename?: boolean;
814
- }>;
815
- ["ShareFolderResponse"]: AliasType<{
816
- folders?: boolean;
817
- vFiles?: boolean;
818
- __typename?: boolean;
819
- }>;
820
- ["Query"]: AliasType<{
821
- appNotifications?: ValueTypes["AppNotificationsResult"];
822
- blog?: [{
823
- lang?: ValueTypes["Lang"] | null;
824
- }, ValueTypes["BlogResult"]];
825
- dbConfig?: [{
826
- appCode: string;
827
- }, ValueTypes["DbConfigResult"]];
828
- dbGet?: [{
829
- field: string;
830
- userId?: string | null;
831
- }, ValueTypes["DbGetResult"]];
832
- dbSearch?: [{
833
- search: string;
834
- field: string;
835
- }, ValueTypes["DbSearchResult"]];
836
- deletedFolders?: ValueTypes["DeletedFoldersResult"];
837
- deletedMails?: [{
838
- mailType: ValueTypes["MailType"];
839
- }, ValueTypes["DeletedMailsResult"]];
840
- deletedVFiles?: ValueTypes["DeletedVFilesResult"];
841
- faq?: [{
842
- lang?: ValueTypes["Lang"] | null;
843
- }, ValueTypes["FaqResult"]];
844
- file?: [{
845
- id: string;
846
- }, ValueTypes["FileResult"]];
847
- fileContent?: [{
848
- fileId: string;
849
- }, ValueTypes["FileContentResult"]];
850
- filesSharedWithMe?: [{
851
- accepted?: boolean | null;
852
- }, ValueTypes["FileSharedContent"]];
853
- folder?: [{
854
- id?: string | null;
855
- deleted?: boolean | null;
856
- }, ValueTypes["FolderResult"]];
857
- folderSize?: [{
858
- folderId?: string | null;
859
- }, ValueTypes["FolderSizeResult"]];
860
- foldersSharedWithMe?: ValueTypes["FoldersSharedWithMeResult"];
861
- limits?: ValueTypes["LimitsResult"];
862
- mail?: [{
863
- id: string;
864
- }, ValueTypes["MailResult"]];
865
- paymentInfos?: ValueTypes["PaymentInfosResult"];
866
- plans?: ValueTypes["PlansResult"];
867
- sharedFolders?: ValueTypes["SharedFoldersResult"];
868
- sharedVFiles?: ValueTypes["SharedVFilesResult"];
869
- test?: boolean;
870
- unreadReceivedMailsCount?: ValueTypes["UnreadReceivedMailsCountResult"];
871
- user?: [{
872
- userId?: string | null;
873
- }, ValueTypes["UserResult"]];
874
- vFile?: [{
875
- id: string;
876
- }, ValueTypes["VFileResult"]];
877
- vFilesSharedWithMe?: ValueTypes["VFilesSharedWithMeResult"];
878
- userList?: [{
879
- search?: string | null;
880
- }, ValueTypes["UserListResult"]];
881
- __typename?: boolean;
882
- }>;
883
- ["Mutation"]: AliasType<{
884
- addFileToHistory?: [{
885
- vFileId: string;
886
- fileId: string;
887
- }, ValueTypes["VFile"]];
888
- cancelPayment?: boolean;
889
- createApplication?: [{
890
- name: string;
891
- origin: string;
892
- developerId: string;
893
- }, boolean];
894
- createDraftMail?: [{
895
- hash: string;
896
- hashKey: string;
897
- body: string;
898
- subject: string;
899
- replyTo?: string | null;
900
- senderFiles: ValueTypes["MailFileInput"][];
901
- recipients: string[];
902
- }, ValueTypes["Mail"]];
903
- createFolder?: [{
904
- name: string;
905
- key: string;
906
- parentFolderId?: string | null;
907
- }, ValueTypes["Folder"]];
908
- dbConfig?: [{
909
- appCode: string;
910
- config: string;
911
- }, boolean];
912
- dbSet?: [{
913
- value: string;
914
- userId?: string | null;
915
- }, boolean];
916
- deleteDraftMail?: [{
917
- draftId: string;
918
- }, boolean];
919
- deleteFile?: [{
920
- fileId: string;
921
- vFileId: string;
922
- }, boolean];
923
- deleteFolder?: [{
924
- id: string;
925
- }, boolean];
926
- deleteFolderCloudTrash?: [{
927
- ids: string[];
928
- }, boolean];
929
- deleteFolderSharing?: [{
930
- folderId: string;
931
- userId: string;
932
- }, boolean];
933
- deleteMail?: [{
934
- mailId: string;
935
- }, boolean];
936
- deleteMailTrash?: [{
937
- ids: string[];
938
- }, boolean];
939
- deleteUser?: [{
940
- userId?: string | null;
941
- }, boolean];
942
- deleteVFile?: [{
943
- fileId: string;
944
- }, boolean];
945
- deleteVFileCloudTrash?: [{
946
- ids: string[];
947
- }, boolean];
948
- deleteVFileSharing?: [{
949
- vFileId: string;
950
- userId: string;
951
- }, boolean];
952
- duplicateVFile?: [{
953
- vFileId: string;
954
- folderId?: string | null;
955
- customName?: string | null;
956
- }, boolean];
957
- emptyCloudTrash?: boolean;
958
- emptyMailTrash?: boolean;
959
- logout?: [{
960
- sessionId?: string | null;
961
- }, boolean];
962
- moveFiles?: [{
963
- filesId: string[];
964
- parentFolderId?: string | null;
965
- }, boolean];
966
- moveFolders?: [{
967
- foldersId: string[];
968
- parentFolderId?: string | null;
969
- }, boolean];
970
- pay?: [{
971
- planCode: string;
972
- input: ValueTypes["PayInput"];
973
- autoRenew?: boolean | null;
974
- }, boolean];
975
- readMail?: [{
976
- mailId: string;
977
- }, boolean];
978
- recoverFolder?: [{
979
- id: string;
980
- }, boolean];
981
- recoverMail?: [{
982
- mailId: string;
983
- }, boolean];
984
- recoverVFile?: [{
985
- vFileId: string;
986
- }, boolean];
987
- saveInCloud?: [{
988
- fileId: string;
989
- key: string;
990
- folderId?: string | null;
991
- filename: string;
992
- nameKey: string;
993
- }, ValueTypes["VFile"]];
994
- sendDraftMail?: [{
995
- draftMailId: string;
996
- temporaryRecipients: string[];
997
- recipients: ValueTypes["MailRecipientInput"][];
998
- customMessage?: string | null;
999
- }, boolean];
1000
- sendOneMail?: [{
1001
- mailIntegrityId: string;
1002
- recipient: ValueTypes["MailRecipientInput"];
1003
- }, boolean];
1004
- sendReport?: [{
1005
- reportedUserId: string;
1006
- customMessage?: string | null;
1007
- }, ValueTypes["Report"]];
1008
- shareFileInHistory?: [{
1009
- input: ValueTypes["ShareFileInHistoryInput"];
1010
- vFileId: string;
1011
- }, boolean];
1012
- shareFolder?: [{
1013
- folderId: string;
1014
- userId: string;
1015
- }, ValueTypes["ShareFolderResponse"]];
1016
- shareFolderFinish?: [{
1017
- shareFolders: ValueTypes["ShareFoldersInput"];
1018
- userId: string;
1019
- rights: ValueTypes["Rights"];
1020
- }, boolean];
1021
- shareVFile?: [{
1022
- vFileId: string;
1023
- userId: string;
1024
- nameKey: string;
1025
- rights: ValueTypes["Rights"];
1026
- history: ValueTypes["ShareFileKeyInput"][];
1027
- }, boolean];
1028
- unreadMail?: [{
1029
- mailId: string;
1030
- }, boolean];
1031
- updateAppNotifications?: [{
1032
- enableAll?: boolean | null;
1033
- mail?: boolean | null;
1034
- cloud?: boolean | null;
1035
- disableAllUntil?: ValueTypes["DateTime"] | null;
1036
- }, ValueTypes["UserAppNotifications"]];
1037
- updateAppSettings?: [{
1038
- cloudFileDaysForDelete?: number | null;
1039
- cloudFolderDaysForDelete?: number | null;
1040
- historyFileDaysForDelete?: number | null;
1041
- historyMaxFileCount?: number | null;
1042
- autoDisconnectDelay?: number | null;
1043
- }, ValueTypes["UserAppSettings"]];
1044
- updateDraftMail?: [{
1045
- draftId: string;
1046
- hash?: string | null;
1047
- hashKey?: string | null;
1048
- body?: string | null;
1049
- subject?: string | null;
1050
- replyTo?: string | null;
1051
- senderFiles?: ValueTypes["MailFileInput"][];
1052
- recipients?: string[];
1053
- }, ValueTypes["Mail"]];
1054
- updateFile?: [{
1055
- fileId: string;
1056
- isFavorite?: boolean | null;
1057
- filename?: string | null;
1058
- deletedAt?: ValueTypes["DateTime"] | null;
1059
- }, ValueTypes["VFile"]];
1060
- updateFolder?: [{
1061
- folderId: string;
1062
- name?: string | null;
1063
- isFavorite?: boolean | null;
1064
- deletedAt?: ValueTypes["DateTime"] | null;
1065
- }, ValueTypes["Folder"]];
1066
- updateProfile?: [{
1067
- firstname?: string | null;
1068
- lastname?: string | null;
1069
- lang?: ValueTypes["Lang"] | null;
1070
- }, ValueTypes["User"]];
1071
- uploadAnonymous?: [{
1072
- fileName: string;
1073
- fileSize: number;
1074
- fileSizeBefore: number;
1075
- message?: string | null;
1076
- pubKey: string;
1077
- token: string;
1078
- }, ValueTypes["FileResponse"]];
1079
- uploadFile?: [{
1080
- fileSize: ValueTypes["BigInt"];
1081
- fileSizeBefore: ValueTypes["BigInt"];
1082
- fileKey: string;
1083
- md5: string;
1084
- md5Encrypted: string;
1085
- }, ValueTypes["FileResponse"]];
1086
- uploadFileEnd?: [{
1087
- fileId: string;
1088
- }, boolean];
1089
- uploadFilePartEnd?: [{
1090
- fileId: string;
1091
- md5: string;
1092
- order: number;
1093
- }, boolean];
1094
- changeUserPlan?: [{
1095
- userId: string;
1096
- plan: ValueTypes["PlanKind"];
1097
- }, ValueTypes["User"]];
1098
- __typename?: boolean;
1099
- }>;
1100
- ["Subscription"]: AliasType<{
1101
- test?: boolean;
1102
- __typename?: boolean;
1103
- }>;
1104
- };
1105
- export declare type ModelTypes = {
1106
- ["BigInt"]: any;
1107
- ["Bytes"]: any;
1108
- ["DateTime"]: any;
1109
- ["Decimal"]: any;
1110
- ["Json"]: any;
1111
- ["Lang"]: GraphQLTypes["Lang"];
1112
- ["PlanKind"]: GraphQLTypes["PlanKind"];
1113
- ["UserRole"]: GraphQLTypes["UserRole"];
1114
- ["MailType"]: GraphQLTypes["MailType"];
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"];
1141
- ["AppKeyPair"]: {
1142
- pub: string;
1143
- };
1144
- ["AppSession"]: {
1145
- id: string;
1146
- lastActivity?: ModelTypes["DateTime"];
1147
- userAgent?: string;
1148
- ip?: string;
1149
- city?: string;
1150
- country?: string;
1151
- userSession: ModelTypes["UserSession"];
1152
- userApp?: ModelTypes["ApplicationsOnUsers"];
1153
- createdAt: ModelTypes["DateTime"];
1154
- };
1155
- ["Application"]: {
1156
- id: string;
1157
- name: string;
1158
- };
1159
- ["ApplicationsOnUsers"]: {
1160
- fakeUserId: string;
1161
- keyPair?: ModelTypes["AppKeyPair"];
1162
- sessions: ModelTypes["AppSession"][];
1163
- app: ModelTypes["Application"];
1164
- user: ModelTypes["User"];
1165
- folders: ModelTypes["FoldersOnUsersOnApplications"][];
1166
- settings: ModelTypes["UserAppSettings"];
1167
- };
1168
- ["Blog"]: {
1169
- id: string;
1170
- order: number;
1171
- entries: ModelTypes["BlogEntry"][];
1172
- };
1173
- ["BlogEntry"]: {
1174
- id: string;
1175
- lang: ModelTypes["Lang"];
1176
- author: string;
1177
- body: string;
1178
- date: ModelTypes["DateTime"];
1179
- image: string;
1180
- summary: string;
1181
- title: string;
1182
- };
1183
- ["BlogItem"]: {
1184
- id: string;
1185
- blogId: string;
1186
- order: number;
1187
- title: string;
1188
- body: string;
1189
- author: string;
1190
- image: string;
1191
- imageAlt: string;
1192
- summary: string;
1193
- date: ModelTypes["DateTime"];
1194
- };
1195
- ["CloudLimits"]: {
1196
- size: ModelTypes["BigInt"];
1197
- maxSize?: ModelTypes["BigInt"];
1198
- count: ModelTypes["BigInt"];
1199
- maxCount?: ModelTypes["BigInt"];
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
- };
1227
- ["Faq"]: {
1228
- id: string;
1229
- order: number;
1230
- entries: ModelTypes["FaqEntry"][];
1231
- };
1232
- ["FaqEntry"]: {
1233
- id: string;
1234
- lang: ModelTypes["Lang"];
1235
- question: string;
1236
- answer: string;
1237
- faq: ModelTypes["Faq"];
1238
- };
1239
- ["FaqItem"]: {
1240
- order: number;
1241
- question: string;
1242
- answer: string;
1243
- };
1244
- ["File"]: {
1245
- id: string;
1246
- size: ModelTypes["BigInt"];
1247
- sizeBefore: ModelTypes["BigInt"];
1248
- createdAt: ModelTypes["DateTime"];
1249
- vFiles: ModelTypes["VFile"][];
1250
- vFilesCurrent: ModelTypes["VFile"][];
1251
- users: ModelTypes["FilesOnUsersOnApplications"][];
1252
- md5: string;
1253
- md5Encrypted: string;
1254
- deletedAt?: ModelTypes["DateTime"];
1255
- userApp: ModelTypes["ApplicationsOnUsers"];
1256
- mails: ModelTypes["FilesOnMails"][];
1257
- validatedAt?: ModelTypes["DateTime"];
1258
- user?: ModelTypes["FilesOnUsersOnApplications"];
1259
- };
1260
- ["FileContent"]: ModelTypes["FileContentCloud"] | ModelTypes["FileContentReceivedMail"] | ModelTypes["FileContentSentMail"];
1261
- ["FileContentBase"]: ModelTypes["FileContentCloud"] | ModelTypes["FileContentReceivedMail"] | ModelTypes["FileContentSentMail"];
1262
- ["FileContentCloud"]: {
1263
- parts: ModelTypes["FileContentPart"][];
1264
- key: string;
1265
- md5: string;
1266
- md5Encrypted: string;
1267
- totalSize: ModelTypes["BigInt"];
1268
- type: ModelTypes["FileContentType"];
1269
- publicKey: string;
1270
- };
1271
- ["FileContentPart"]: {
1272
- contentUrl: string;
1273
- order: number;
1274
- md5: string;
1275
- };
1276
- ["FileContentReceivedMail"]: {
1277
- parts: ModelTypes["FileContentPart"][];
1278
- key: string;
1279
- md5: string;
1280
- md5Encrypted: string;
1281
- totalSize: ModelTypes["BigInt"];
1282
- type: ModelTypes["FileContentType"];
1283
- senderPublicKey: string;
1284
- };
1285
- ["FileContentSentMail"]: {
1286
- parts: ModelTypes["FileContentPart"][];
1287
- key: string;
1288
- md5: string;
1289
- md5Encrypted: string;
1290
- totalSize: ModelTypes["BigInt"];
1291
- type: ModelTypes["FileContentType"];
1292
- };
1293
- ["FileContentType"]: GraphQLTypes["FileContentType"];
1294
- ["FilePart"]: {
1295
- id: string;
1296
- file: ModelTypes["File"];
1297
- fileId: string;
1298
- size: ModelTypes["BigInt"];
1299
- order: number;
1300
- md5: string;
1301
- validatedAt?: ModelTypes["DateTime"];
1302
- };
1303
- ["FilePartResponse"]: {
1304
- fields: ModelTypes["Json"];
1305
- url: string;
1306
- order: number;
1307
- };
1308
- ["FileResponse"]: {
1309
- fileId: string;
1310
- parts: ModelTypes["FilePartResponse"][];
1311
- filePartSize: ModelTypes["BigInt"];
1312
- };
1313
- ["FileShared"]: {
1314
- userId: string;
1315
- message?: string;
1316
- appId: string;
1317
- id: string;
1318
- filename: string;
1319
- size: number;
1320
- sizeBefore: number;
1321
- };
1322
- ["FileSharedContent"]: {
1323
- ownerId?: string;
1324
- pubKey?: string;
1325
- message?: string;
1326
- appId: string;
1327
- id: string;
1328
- type: string;
1329
- filename: string;
1330
- contentUrl: string;
1331
- key: string;
1332
- size: number;
1333
- sizeBefore: number;
1334
- };
1335
- ["FilesOnMails"]: {
1336
- file: ModelTypes["File"];
1337
- fileKey: string;
1338
- filename: string;
1339
- mail: ModelTypes["Mail"];
1340
- };
1341
- ["FilesOnUsersOnApplications"]: {
1342
- file: ModelTypes["File"];
1343
- userApp: ModelTypes["ApplicationsOnUsers"];
1344
- key: string;
1345
- };
1346
- ["Folder"]: {
1347
- id: string;
1348
- isFavorite: boolean;
1349
- createdAt: ModelTypes["DateTime"];
1350
- deletedAt?: ModelTypes["DateTime"];
1351
- updatedAt: ModelTypes["DateTime"];
1352
- createdBy: ModelTypes["ApplicationsOnUsers"];
1353
- userApps: ModelTypes["FoldersOnUsersOnApplications"][];
1354
- userApp?: ModelTypes["FoldersOnUsersOnApplications"];
1355
- name: string;
1356
- parentFolder?: ModelTypes["Folder"];
1357
- subfolders: ModelTypes["Folder"][];
1358
- vFiles: ModelTypes["VFile"][];
1359
- breadcrumb: ModelTypes["FolderBreadcrumbItem"][];
1360
- };
1361
- ["FolderBreadcrumbItem"]: {
1362
- id: string;
1363
- name: string;
1364
- pubKey: string;
1365
- nameKey?: string;
1366
- };
1367
- ["FolderSize"]: {
1368
- size: ModelTypes["BigInt"];
1369
- sizeBefore: ModelTypes["BigInt"];
1370
- };
1371
- ["FoldersOnUsersOnApplications"]: {
1372
- folder: ModelTypes["Folder"];
1373
- userApp: ModelTypes["ApplicationsOnUsers"];
1374
- rights: ModelTypes["Rights"];
1375
- nameKey?: string;
1376
- isRoot: boolean;
1377
- };
1378
- ["MailFileInput"]: GraphQLTypes["MailFileInput"];
1379
- ["MailRecipientInput"]: GraphQLTypes["MailRecipientInput"];
1380
- ["NameKeyInput"]: GraphQLTypes["NameKeyInput"];
1381
- ["NameKeyInputFolders"]: GraphQLTypes["NameKeyInputFolders"];
1382
- ["PayInput"]: GraphQLTypes["PayInput"];
1383
- ["PayInputType"]: GraphQLTypes["PayInputType"];
1384
- ["ShareFileInHistoryInput"]: GraphQLTypes["ShareFileInHistoryInput"];
1385
- ["ShareFileKeyInput"]: GraphQLTypes["ShareFileKeyInput"];
1386
- ["ShareFoldersInput"]: GraphQLTypes["ShareFoldersInput"];
1387
- ["Limits"]: {
1388
- downloadBandwidth?: ModelTypes["BigInt"];
1389
- downloadCount?: ModelTypes["BigInt"];
1390
- hardFileCount?: ModelTypes["BigInt"];
1391
- hardFileSize?: ModelTypes["BigInt"];
1392
- perFileSize?: ModelTypes["BigInt"];
1393
- receivedMails: ModelTypes["MailLimits"];
1394
- sentMails: ModelTypes["MailLimits"];
1395
- uploadBandwidth?: ModelTypes["BigInt"];
1396
- uploadCount?: ModelTypes["BigInt"];
1397
- };
1398
- ["MailLimits"]: {
1399
- count?: ModelTypes["BigInt"];
1400
- fileCount?: ModelTypes["BigInt"];
1401
- fileSize?: ModelTypes["BigInt"];
1402
- hardCount?: ModelTypes["BigInt"];
1403
- hardFileCount?: ModelTypes["BigInt"];
1404
- hardFileSize?: ModelTypes["BigInt"];
1405
- perFileSize?: ModelTypes["BigInt"];
1406
- };
1407
- ["MailLimitsValues"]: {
1408
- count: ModelTypes["BigInt"];
1409
- maxCount?: ModelTypes["BigInt"];
1410
- fileCount: ModelTypes["BigInt"];
1411
- maxFileCount?: ModelTypes["BigInt"];
1412
- fileSize: ModelTypes["BigInt"];
1413
- maxFileSize?: ModelTypes["BigInt"];
1414
- };
1415
- ["QueryLimits"]: {
1416
- cloud: ModelTypes["CloudLimits"];
1417
- mail: ModelTypes["UserMailLimits"];
1418
- };
1419
- ["UserMailLimits"]: {
1420
- sent: ModelTypes["MailLimitsValues"];
1421
- received: ModelTypes["MailLimitsValues"];
1422
- };
1423
- ["Mail"]: {
1424
- id: string;
1425
- app: ModelTypes["Application"];
1426
- body: string;
1427
- createdAt: ModelTypes["DateTime"];
1428
- deletedAt?: ModelTypes["DateTime"];
1429
- files: ModelTypes["FilesOnMails"][];
1430
- mailIntegrity?: ModelTypes["MailIntegrity"];
1431
- mailIntegrityDraft?: ModelTypes["MailIntegrityDraft"];
1432
- openedAt?: ModelTypes["DateTime"];
1433
- recipient: ModelTypes["User"];
1434
- sender: ModelTypes["User"];
1435
- subject: string;
1436
- type: ModelTypes["MailType"];
1437
- recipients: ModelTypes["User"][];
1438
- };
1439
- ["MailIntegrity"]: {
1440
- id: string;
1441
- hash: string;
1442
- hashKey: string;
1443
- answers: ModelTypes["MailIntegrity"][];
1444
- app: ModelTypes["Application"];
1445
- mails: ModelTypes["Mail"][];
1446
- recipients: ModelTypes["User"][];
1447
- temporaryRecipients: ModelTypes["TemporaryUser"][];
1448
- replyTo?: ModelTypes["MailIntegrity"];
1449
- };
1450
- ["MailIntegrityDraft"]: {
1451
- id: string;
1452
- hash: string;
1453
- hashKey: string;
1454
- app: ModelTypes["Application"];
1455
- mail: ModelTypes["Mail"];
1456
- recipients: ModelTypes["User"][];
1457
- temporaryRecipients: ModelTypes["TemporaryUser"][];
1458
- replyTo?: ModelTypes["MailIntegrity"];
1459
- };
1460
- ["Plan"]: {
1461
- id: string;
1462
- kind: ModelTypes["PlanKind"];
1463
- codes: string[];
1464
- limits: ModelTypes["Limits"];
1465
- };
1466
- ["Report"]: {
1467
- id: string;
1468
- user: ModelTypes["User"];
1469
- reportedUser: ModelTypes["User"];
1470
- customMessage?: string;
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
- };
1542
- ["TemporaryUser"]: {
1543
- id: string;
1544
- mails: ModelTypes["MailIntegrity"][];
1545
- draftMails: ModelTypes["MailIntegrityDraft"][];
1546
- email?: string;
1547
- };
1548
- ["User"]: {
1549
- id: string;
1550
- deletedAt?: ModelTypes["DateTime"];
1551
- lang: ModelTypes["Lang"];
1552
- reportSent: ModelTypes["Report"][];
1553
- godFather?: ModelTypes["User"];
1554
- godChildren: ModelTypes["User"][];
1555
- firstname: string;
1556
- lastname: string;
1557
- email: string;
1558
- phone: string;
1559
- lastLogin: ModelTypes["DateTime"];
1560
- role: ModelTypes["UserRole"];
1561
- sessions: ModelTypes["UserSession"][];
1562
- createdAt: ModelTypes["DateTime"];
1563
- receivedMails: ModelTypes["Mail"][];
1564
- waitingReceivedMails: ModelTypes["WaitingReceivedMail"][];
1565
- sentMails: ModelTypes["Mail"][];
1566
- draftMails: ModelTypes["Mail"][];
1567
- appSettings?: ModelTypes["UserAppSettings"];
1568
- applications: ModelTypes["ApplicationsOnUsers"][];
1569
- publicKey: string;
1570
- };
1571
- ["UserAppNotifications"]: {
1572
- id: string;
1573
- enableAll: boolean;
1574
- mail: boolean;
1575
- cloud: boolean;
1576
- disableAllUntil?: ModelTypes["DateTime"];
1577
- };
1578
- ["UserAppSettings"]: {
1579
- id: string;
1580
- cloudFileDaysForDelete: number;
1581
- cloudFolderDaysForDelete: number;
1582
- historyFileDaysForDelete?: number;
1583
- historyMaxFileCount: number;
1584
- autoDisconnectDelay?: number;
1585
- };
1586
- ["UserSession"]: {
1587
- id: string;
1588
- appSessions: ModelTypes["AppSession"][];
1589
- lastActivity?: ModelTypes["DateTime"];
1590
- userAgent?: string;
1591
- ip?: string;
1592
- city?: string;
1593
- country?: string;
1594
- createdAt: ModelTypes["DateTime"];
1595
- };
1596
- ["VFile"]: {
1597
- id: string;
1598
- isFavorite: boolean;
1599
- createdAt: ModelTypes["DateTime"];
1600
- deletedAt?: ModelTypes["DateTime"];
1601
- filename: string;
1602
- userApps: ModelTypes["VFilesOnUsersOnApplications"][];
1603
- createdBy: ModelTypes["ApplicationsOnUsers"];
1604
- userApp?: ModelTypes["VFilesOnUsersOnApplications"];
1605
- folder: ModelTypes["Folder"];
1606
- history: ModelTypes["File"][];
1607
- current?: ModelTypes["File"];
1608
- updatedAt: ModelTypes["DateTime"];
1609
- };
1610
- ["VFilesOnUsersOnApplications"]: {
1611
- vFile: ModelTypes["VFile"];
1612
- userApp: ModelTypes["ApplicationsOnUsers"];
1613
- rights: ModelTypes["Rights"];
1614
- nameKey: string;
1615
- isRoot: boolean;
1616
- };
1617
- ["WaitingReceivedMail"]: {
1618
- sender: ModelTypes["User"];
1619
- date: ModelTypes["DateTime"];
1620
- recipients: ModelTypes["User"][];
1621
- temporaryRecipients: ModelTypes["TemporaryUser"][];
1622
- attachmentsCount: number;
1623
- };
1624
- ["PaymentInfos"]: {
1625
- hostedUrl: string;
1626
- currentSubscription: ModelTypes["RecurlySubscription"];
1627
- invoices: ModelTypes["RecurlyInvoices"][];
1628
- };
1629
- ["RecurlyInvoices"]: {
1630
- pdf: string;
1631
- date: ModelTypes["DateTime"];
1632
- due: ModelTypes["DateTime"];
1633
- status: string;
1634
- total: number;
1635
- name: string;
1636
- currency: string;
1637
- };
1638
- ["RecurlySubscription"]: {
1639
- autorenew: boolean;
1640
- activatedAt?: ModelTypes["DateTime"];
1641
- currentPeriodEndsAt?: ModelTypes["DateTime"];
1642
- currentPeriodStartedAt?: ModelTypes["DateTime"];
1643
- canceledAt?: ModelTypes["DateTime"];
1644
- createdAt?: ModelTypes["DateTime"];
1645
- expiresAt?: ModelTypes["DateTime"];
1646
- pausedAt?: ModelTypes["DateTime"];
1647
- trialEndsAt?: ModelTypes["DateTime"];
1648
- trialStartedAt?: ModelTypes["DateTime"];
1649
- updatedAt?: ModelTypes["DateTime"];
1650
- state: string;
1651
- collectionMethod: string;
1652
- plan?: string;
1653
- planCode?: string;
1654
- total?: number;
1655
- };
1656
- ["ShareFolderResponse"]: {
1657
- folders: string[];
1658
- vFiles: string[];
1659
- };
1660
- ["Query"]: {
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"];
1672
- filesSharedWithMe: ModelTypes["FileSharedContent"][];
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"];
1682
- test?: boolean;
1683
- unreadReceivedMailsCount?: ModelTypes["UnreadReceivedMailsCountResult"];
1684
- user?: ModelTypes["UserResult"];
1685
- vFile?: ModelTypes["VFileResult"];
1686
- vFilesSharedWithMe?: ModelTypes["VFilesSharedWithMeResult"];
1687
- userList?: ModelTypes["UserListResult"];
1688
- };
1689
- ["Mutation"]: {
1690
- addFileToHistory: ModelTypes["VFile"];
1691
- cancelPayment?: boolean;
1692
- createApplication?: string;
1693
- createDraftMail?: ModelTypes["Mail"];
1694
- createFolder?: ModelTypes["Folder"];
1695
- dbConfig: ModelTypes["Json"];
1696
- dbSet?: ModelTypes["Json"];
1697
- deleteDraftMail?: boolean;
1698
- deleteFile: boolean;
1699
- deleteFolder?: boolean;
1700
- deleteFolderCloudTrash?: boolean;
1701
- deleteFolderSharing: boolean;
1702
- deleteMail: boolean;
1703
- deleteMailTrash: boolean;
1704
- deleteUser?: boolean;
1705
- deleteVFile: boolean;
1706
- deleteVFileCloudTrash?: boolean;
1707
- deleteVFileSharing: boolean;
1708
- duplicateVFile: boolean;
1709
- emptyCloudTrash?: boolean;
1710
- emptyMailTrash?: boolean;
1711
- logout?: boolean;
1712
- moveFiles?: boolean;
1713
- moveFolders?: boolean;
1714
- pay: boolean;
1715
- readMail?: boolean;
1716
- recoverFolder?: boolean;
1717
- recoverMail: boolean;
1718
- recoverVFile: boolean;
1719
- saveInCloud: ModelTypes["VFile"];
1720
- sendDraftMail?: boolean;
1721
- sendOneMail?: boolean;
1722
- sendReport?: ModelTypes["Report"];
1723
- shareFileInHistory: boolean;
1724
- shareFolder: ModelTypes["ShareFolderResponse"];
1725
- shareFolderFinish?: boolean;
1726
- shareVFile?: boolean;
1727
- unreadMail?: boolean;
1728
- updateAppNotifications?: ModelTypes["UserAppNotifications"];
1729
- updateAppSettings: ModelTypes["UserAppSettings"];
1730
- updateDraftMail?: ModelTypes["Mail"];
1731
- updateFile?: ModelTypes["VFile"];
1732
- updateFolder?: ModelTypes["Folder"];
1733
- updateProfile?: ModelTypes["User"];
1734
- uploadAnonymous?: ModelTypes["FileResponse"];
1735
- uploadFile?: ModelTypes["FileResponse"];
1736
- uploadFileEnd?: string;
1737
- uploadFilePartEnd: boolean;
1738
- changeUserPlan?: ModelTypes["User"];
1739
- };
1740
- ["Subscription"]: {
1741
- test: boolean;
1742
- };
1743
- };
1744
- export declare type GraphQLTypes = {
1745
- ["BigInt"]: any;
1746
- ["Bytes"]: any;
1747
- ["DateTime"]: any;
1748
- ["Decimal"]: any;
1749
- ["Json"]: any;
1750
- ["Lang"]: Lang;
1751
- ["PlanKind"]: PlanKind;
1752
- ["UserRole"]: UserRole;
1753
- ["MailType"]: MailType;
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
- };
1890
- ["AppKeyPair"]: {
1891
- __typename: "AppKeyPair";
1892
- pub: string;
1893
- };
1894
- ["AppSession"]: {
1895
- __typename: "AppSession";
1896
- id: string;
1897
- lastActivity?: GraphQLTypes["DateTime"];
1898
- userAgent?: string;
1899
- ip?: string;
1900
- city?: string;
1901
- country?: string;
1902
- userSession: GraphQLTypes["UserSession"];
1903
- userApp?: GraphQLTypes["ApplicationsOnUsers"];
1904
- createdAt: GraphQLTypes["DateTime"];
1905
- };
1906
- ["Application"]: {
1907
- __typename: "Application";
1908
- id: string;
1909
- name: string;
1910
- };
1911
- ["ApplicationsOnUsers"]: {
1912
- __typename: "ApplicationsOnUsers";
1913
- fakeUserId: string;
1914
- keyPair?: GraphQLTypes["AppKeyPair"];
1915
- sessions: Array<GraphQLTypes["AppSession"]>;
1916
- app: GraphQLTypes["Application"];
1917
- user: GraphQLTypes["User"];
1918
- folders: Array<GraphQLTypes["FoldersOnUsersOnApplications"]>;
1919
- settings: GraphQLTypes["UserAppSettings"];
1920
- };
1921
- ["Blog"]: {
1922
- __typename: "Blog";
1923
- id: string;
1924
- order: number;
1925
- entries: Array<GraphQLTypes["BlogEntry"]>;
1926
- };
1927
- ["BlogEntry"]: {
1928
- __typename: "BlogEntry";
1929
- id: string;
1930
- lang: GraphQLTypes["Lang"];
1931
- author: string;
1932
- body: string;
1933
- date: GraphQLTypes["DateTime"];
1934
- image: string;
1935
- summary: string;
1936
- title: string;
1937
- };
1938
- ["BlogItem"]: {
1939
- __typename: "BlogItem";
1940
- id: string;
1941
- blogId: string;
1942
- order: number;
1943
- title: string;
1944
- body: string;
1945
- author: string;
1946
- image: string;
1947
- imageAlt: string;
1948
- summary: string;
1949
- date: GraphQLTypes["DateTime"];
1950
- };
1951
- ["CloudLimits"]: {
1952
- __typename: "CloudLimits";
1953
- size: GraphQLTypes["BigInt"];
1954
- maxSize?: GraphQLTypes["BigInt"];
1955
- count: GraphQLTypes["BigInt"];
1956
- maxCount?: GraphQLTypes["BigInt"];
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
- };
2010
- ["Faq"]: {
2011
- __typename: "Faq";
2012
- id: string;
2013
- order: number;
2014
- entries: Array<GraphQLTypes["FaqEntry"]>;
2015
- };
2016
- ["FaqEntry"]: {
2017
- __typename: "FaqEntry";
2018
- id: string;
2019
- lang: GraphQLTypes["Lang"];
2020
- question: string;
2021
- answer: string;
2022
- faq: GraphQLTypes["Faq"];
2023
- };
2024
- ["FaqItem"]: {
2025
- __typename: "FaqItem";
2026
- order: number;
2027
- question: string;
2028
- answer: string;
2029
- };
2030
- ["File"]: {
2031
- __typename: "File";
2032
- id: string;
2033
- size: GraphQLTypes["BigInt"];
2034
- sizeBefore: GraphQLTypes["BigInt"];
2035
- createdAt: GraphQLTypes["DateTime"];
2036
- vFiles: Array<GraphQLTypes["VFile"]>;
2037
- vFilesCurrent: Array<GraphQLTypes["VFile"]>;
2038
- users: Array<GraphQLTypes["FilesOnUsersOnApplications"]>;
2039
- md5: string;
2040
- md5Encrypted: string;
2041
- deletedAt?: GraphQLTypes["DateTime"];
2042
- userApp: GraphQLTypes["ApplicationsOnUsers"];
2043
- mails: Array<GraphQLTypes["FilesOnMails"]>;
2044
- validatedAt?: GraphQLTypes["DateTime"];
2045
- user?: GraphQLTypes["FilesOnUsersOnApplications"];
2046
- };
2047
- ["FileContent"]: {
2048
- __typename: "FileContentCloud" | "FileContentReceivedMail" | "FileContentSentMail";
2049
- ['...on FileContentCloud']: '__union' & GraphQLTypes["FileContentCloud"];
2050
- ['...on FileContentReceivedMail']: '__union' & GraphQLTypes["FileContentReceivedMail"];
2051
- ['...on FileContentSentMail']: '__union' & GraphQLTypes["FileContentSentMail"];
2052
- };
2053
- ["FileContentBase"]: {
2054
- __typename: "FileContentCloud" | "FileContentReceivedMail" | "FileContentSentMail";
2055
- parts: Array<GraphQLTypes["FileContentPart"]>;
2056
- key: string;
2057
- md5: string;
2058
- md5Encrypted: string;
2059
- totalSize: GraphQLTypes["BigInt"];
2060
- type: GraphQLTypes["FileContentType"];
2061
- ['...on FileContentCloud']: '__union' & GraphQLTypes["FileContentCloud"];
2062
- ['...on FileContentReceivedMail']: '__union' & GraphQLTypes["FileContentReceivedMail"];
2063
- ['...on FileContentSentMail']: '__union' & GraphQLTypes["FileContentSentMail"];
2064
- };
2065
- ["FileContentCloud"]: {
2066
- __typename: "FileContentCloud";
2067
- parts: Array<GraphQLTypes["FileContentPart"]>;
2068
- key: string;
2069
- md5: string;
2070
- md5Encrypted: string;
2071
- totalSize: GraphQLTypes["BigInt"];
2072
- type: GraphQLTypes["FileContentType"];
2073
- publicKey: string;
2074
- };
2075
- ["FileContentPart"]: {
2076
- __typename: "FileContentPart";
2077
- contentUrl: string;
2078
- order: number;
2079
- md5: string;
2080
- };
2081
- ["FileContentReceivedMail"]: {
2082
- __typename: "FileContentReceivedMail";
2083
- parts: Array<GraphQLTypes["FileContentPart"]>;
2084
- key: string;
2085
- md5: string;
2086
- md5Encrypted: string;
2087
- totalSize: GraphQLTypes["BigInt"];
2088
- type: GraphQLTypes["FileContentType"];
2089
- senderPublicKey: string;
2090
- };
2091
- ["FileContentSentMail"]: {
2092
- __typename: "FileContentSentMail";
2093
- parts: Array<GraphQLTypes["FileContentPart"]>;
2094
- key: string;
2095
- md5: string;
2096
- md5Encrypted: string;
2097
- totalSize: GraphQLTypes["BigInt"];
2098
- type: GraphQLTypes["FileContentType"];
2099
- };
2100
- ["FileContentType"]: FileContentType;
2101
- ["FilePart"]: {
2102
- __typename: "FilePart";
2103
- id: string;
2104
- file: GraphQLTypes["File"];
2105
- fileId: string;
2106
- size: GraphQLTypes["BigInt"];
2107
- order: number;
2108
- md5: string;
2109
- validatedAt?: GraphQLTypes["DateTime"];
2110
- };
2111
- ["FilePartResponse"]: {
2112
- __typename: "FilePartResponse";
2113
- fields: GraphQLTypes["Json"];
2114
- url: string;
2115
- order: number;
2116
- };
2117
- ["FileResponse"]: {
2118
- __typename: "FileResponse";
2119
- fileId: string;
2120
- parts: Array<GraphQLTypes["FilePartResponse"]>;
2121
- filePartSize: GraphQLTypes["BigInt"];
2122
- };
2123
- ["FileShared"]: {
2124
- __typename: "FileShared";
2125
- userId: string;
2126
- message?: string;
2127
- appId: string;
2128
- id: string;
2129
- filename: string;
2130
- size: number;
2131
- sizeBefore: number;
2132
- };
2133
- ["FileSharedContent"]: {
2134
- __typename: "FileSharedContent";
2135
- ownerId?: string;
2136
- pubKey?: string;
2137
- message?: string;
2138
- appId: string;
2139
- id: string;
2140
- type: string;
2141
- filename: string;
2142
- contentUrl: string;
2143
- key: string;
2144
- size: number;
2145
- sizeBefore: number;
2146
- };
2147
- ["FilesOnMails"]: {
2148
- __typename: "FilesOnMails";
2149
- file: GraphQLTypes["File"];
2150
- fileKey: string;
2151
- filename: string;
2152
- mail: GraphQLTypes["Mail"];
2153
- };
2154
- ["FilesOnUsersOnApplications"]: {
2155
- __typename: "FilesOnUsersOnApplications";
2156
- file: GraphQLTypes["File"];
2157
- userApp: GraphQLTypes["ApplicationsOnUsers"];
2158
- key: string;
2159
- };
2160
- ["Folder"]: {
2161
- __typename: "Folder";
2162
- id: string;
2163
- isFavorite: boolean;
2164
- createdAt: GraphQLTypes["DateTime"];
2165
- deletedAt?: GraphQLTypes["DateTime"];
2166
- updatedAt: GraphQLTypes["DateTime"];
2167
- createdBy: GraphQLTypes["ApplicationsOnUsers"];
2168
- userApps: Array<GraphQLTypes["FoldersOnUsersOnApplications"]>;
2169
- userApp?: GraphQLTypes["FoldersOnUsersOnApplications"];
2170
- name: string;
2171
- parentFolder?: GraphQLTypes["Folder"];
2172
- subfolders: Array<GraphQLTypes["Folder"]>;
2173
- vFiles: Array<GraphQLTypes["VFile"]>;
2174
- breadcrumb: Array<GraphQLTypes["FolderBreadcrumbItem"]>;
2175
- };
2176
- ["FolderBreadcrumbItem"]: {
2177
- __typename: "FolderBreadcrumbItem";
2178
- id: string;
2179
- name: string;
2180
- pubKey: string;
2181
- nameKey?: string;
2182
- };
2183
- ["FolderSize"]: {
2184
- __typename: "FolderSize";
2185
- size: GraphQLTypes["BigInt"];
2186
- sizeBefore: GraphQLTypes["BigInt"];
2187
- };
2188
- ["FoldersOnUsersOnApplications"]: {
2189
- __typename: "FoldersOnUsersOnApplications";
2190
- folder: GraphQLTypes["Folder"];
2191
- userApp: GraphQLTypes["ApplicationsOnUsers"];
2192
- rights: GraphQLTypes["Rights"];
2193
- nameKey?: string;
2194
- isRoot: boolean;
2195
- };
2196
- ["MailFileInput"]: {
2197
- id: string;
2198
- name: string;
2199
- fileKey: string;
2200
- };
2201
- ["MailRecipientInput"]: {
2202
- body: string;
2203
- subject: string;
2204
- recipientId: string;
2205
- files: Array<GraphQLTypes["MailFileInput"]>;
2206
- };
2207
- ["NameKeyInput"]: {
2208
- id: string;
2209
- nameKey: string;
2210
- files: Array<GraphQLTypes["ShareFileKeyInput"]>;
2211
- };
2212
- ["NameKeyInputFolders"]: {
2213
- id: string;
2214
- nameKey: string;
2215
- };
2216
- ["PayInput"]: {
2217
- type: GraphQLTypes["PayInputType"];
2218
- token: string;
2219
- firstName: string;
2220
- lastName: string;
2221
- street: string;
2222
- postalCode: string;
2223
- city: string;
2224
- country: string;
2225
- number: string;
2226
- month: string;
2227
- year: string;
2228
- cvv: string;
2229
- };
2230
- ["PayInputType"]: PayInputType;
2231
- ["ShareFileInHistoryInput"]: {
2232
- fileId: string;
2233
- users: Array<GraphQLTypes["ShareFileKeyInput"]>;
2234
- };
2235
- ["ShareFileKeyInput"]: {
2236
- id: string;
2237
- key: string;
2238
- };
2239
- ["ShareFoldersInput"]: {
2240
- folders: Array<GraphQLTypes["NameKeyInputFolders"]>;
2241
- vFiles: Array<GraphQLTypes["NameKeyInput"]>;
2242
- };
2243
- ["Limits"]: {
2244
- __typename: "Limits";
2245
- downloadBandwidth?: GraphQLTypes["BigInt"];
2246
- downloadCount?: GraphQLTypes["BigInt"];
2247
- hardFileCount?: GraphQLTypes["BigInt"];
2248
- hardFileSize?: GraphQLTypes["BigInt"];
2249
- perFileSize?: GraphQLTypes["BigInt"];
2250
- receivedMails: GraphQLTypes["MailLimits"];
2251
- sentMails: GraphQLTypes["MailLimits"];
2252
- uploadBandwidth?: GraphQLTypes["BigInt"];
2253
- uploadCount?: GraphQLTypes["BigInt"];
2254
- };
2255
- ["MailLimits"]: {
2256
- __typename: "MailLimits";
2257
- count?: GraphQLTypes["BigInt"];
2258
- fileCount?: GraphQLTypes["BigInt"];
2259
- fileSize?: GraphQLTypes["BigInt"];
2260
- hardCount?: GraphQLTypes["BigInt"];
2261
- hardFileCount?: GraphQLTypes["BigInt"];
2262
- hardFileSize?: GraphQLTypes["BigInt"];
2263
- perFileSize?: GraphQLTypes["BigInt"];
2264
- };
2265
- ["MailLimitsValues"]: {
2266
- __typename: "MailLimitsValues";
2267
- count: GraphQLTypes["BigInt"];
2268
- maxCount?: GraphQLTypes["BigInt"];
2269
- fileCount: GraphQLTypes["BigInt"];
2270
- maxFileCount?: GraphQLTypes["BigInt"];
2271
- fileSize: GraphQLTypes["BigInt"];
2272
- maxFileSize?: GraphQLTypes["BigInt"];
2273
- };
2274
- ["QueryLimits"]: {
2275
- __typename: "QueryLimits";
2276
- cloud: GraphQLTypes["CloudLimits"];
2277
- mail: GraphQLTypes["UserMailLimits"];
2278
- };
2279
- ["UserMailLimits"]: {
2280
- __typename: "UserMailLimits";
2281
- sent: GraphQLTypes["MailLimitsValues"];
2282
- received: GraphQLTypes["MailLimitsValues"];
2283
- };
2284
- ["Mail"]: {
2285
- __typename: "Mail";
2286
- id: string;
2287
- app: GraphQLTypes["Application"];
2288
- body: string;
2289
- createdAt: GraphQLTypes["DateTime"];
2290
- deletedAt?: GraphQLTypes["DateTime"];
2291
- files: Array<GraphQLTypes["FilesOnMails"]>;
2292
- mailIntegrity?: GraphQLTypes["MailIntegrity"];
2293
- mailIntegrityDraft?: GraphQLTypes["MailIntegrityDraft"];
2294
- openedAt?: GraphQLTypes["DateTime"];
2295
- recipient: GraphQLTypes["User"];
2296
- sender: GraphQLTypes["User"];
2297
- subject: string;
2298
- type: GraphQLTypes["MailType"];
2299
- recipients: Array<GraphQLTypes["User"]>;
2300
- };
2301
- ["MailIntegrity"]: {
2302
- __typename: "MailIntegrity";
2303
- id: string;
2304
- hash: string;
2305
- hashKey: string;
2306
- answers: Array<GraphQLTypes["MailIntegrity"]>;
2307
- app: GraphQLTypes["Application"];
2308
- mails: Array<GraphQLTypes["Mail"]>;
2309
- recipients: Array<GraphQLTypes["User"]>;
2310
- temporaryRecipients: Array<GraphQLTypes["TemporaryUser"]>;
2311
- replyTo?: GraphQLTypes["MailIntegrity"];
2312
- };
2313
- ["MailIntegrityDraft"]: {
2314
- __typename: "MailIntegrityDraft";
2315
- id: string;
2316
- hash: string;
2317
- hashKey: string;
2318
- app: GraphQLTypes["Application"];
2319
- mail: GraphQLTypes["Mail"];
2320
- recipients: Array<GraphQLTypes["User"]>;
2321
- temporaryRecipients: Array<GraphQLTypes["TemporaryUser"]>;
2322
- replyTo?: GraphQLTypes["MailIntegrity"];
2323
- };
2324
- ["Plan"]: {
2325
- __typename: "Plan";
2326
- id: string;
2327
- kind: GraphQLTypes["PlanKind"];
2328
- codes: Array<string>;
2329
- limits: GraphQLTypes["Limits"];
2330
- };
2331
- ["Report"]: {
2332
- __typename: "Report";
2333
- id: string;
2334
- user: GraphQLTypes["User"];
2335
- reportedUser: GraphQLTypes["User"];
2336
- customMessage?: string;
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
- };
2431
- ["TemporaryUser"]: {
2432
- __typename: "TemporaryUser";
2433
- id: string;
2434
- mails: Array<GraphQLTypes["MailIntegrity"]>;
2435
- draftMails: Array<GraphQLTypes["MailIntegrityDraft"]>;
2436
- email?: string;
2437
- };
2438
- ["User"]: {
2439
- __typename: "User";
2440
- id: string;
2441
- deletedAt?: GraphQLTypes["DateTime"];
2442
- lang: GraphQLTypes["Lang"];
2443
- reportSent: Array<GraphQLTypes["Report"]>;
2444
- godFather?: GraphQLTypes["User"];
2445
- godChildren: Array<GraphQLTypes["User"]>;
2446
- firstname: string;
2447
- lastname: string;
2448
- email: string;
2449
- phone: string;
2450
- lastLogin: GraphQLTypes["DateTime"];
2451
- role: GraphQLTypes["UserRole"];
2452
- sessions: Array<GraphQLTypes["UserSession"]>;
2453
- createdAt: GraphQLTypes["DateTime"];
2454
- receivedMails: Array<GraphQLTypes["Mail"]>;
2455
- waitingReceivedMails: Array<GraphQLTypes["WaitingReceivedMail"]>;
2456
- sentMails: Array<GraphQLTypes["Mail"]>;
2457
- draftMails: Array<GraphQLTypes["Mail"]>;
2458
- appSettings?: GraphQLTypes["UserAppSettings"];
2459
- applications: Array<GraphQLTypes["ApplicationsOnUsers"]>;
2460
- publicKey: string;
2461
- };
2462
- ["UserAppNotifications"]: {
2463
- __typename: "UserAppNotifications";
2464
- id: string;
2465
- enableAll: boolean;
2466
- mail: boolean;
2467
- cloud: boolean;
2468
- disableAllUntil?: GraphQLTypes["DateTime"];
2469
- };
2470
- ["UserAppSettings"]: {
2471
- __typename: "UserAppSettings";
2472
- id: string;
2473
- cloudFileDaysForDelete: number;
2474
- cloudFolderDaysForDelete: number;
2475
- historyFileDaysForDelete?: number;
2476
- historyMaxFileCount: number;
2477
- autoDisconnectDelay?: number;
2478
- };
2479
- ["UserSession"]: {
2480
- __typename: "UserSession";
2481
- id: string;
2482
- appSessions: Array<GraphQLTypes["AppSession"]>;
2483
- lastActivity?: GraphQLTypes["DateTime"];
2484
- userAgent?: string;
2485
- ip?: string;
2486
- city?: string;
2487
- country?: string;
2488
- createdAt: GraphQLTypes["DateTime"];
2489
- };
2490
- ["VFile"]: {
2491
- __typename: "VFile";
2492
- id: string;
2493
- isFavorite: boolean;
2494
- createdAt: GraphQLTypes["DateTime"];
2495
- deletedAt?: GraphQLTypes["DateTime"];
2496
- filename: string;
2497
- userApps: Array<GraphQLTypes["VFilesOnUsersOnApplications"]>;
2498
- createdBy: GraphQLTypes["ApplicationsOnUsers"];
2499
- userApp?: GraphQLTypes["VFilesOnUsersOnApplications"];
2500
- folder: GraphQLTypes["Folder"];
2501
- history: Array<GraphQLTypes["File"]>;
2502
- current?: GraphQLTypes["File"];
2503
- updatedAt: GraphQLTypes["DateTime"];
2504
- };
2505
- ["VFilesOnUsersOnApplications"]: {
2506
- __typename: "VFilesOnUsersOnApplications";
2507
- vFile: GraphQLTypes["VFile"];
2508
- userApp: GraphQLTypes["ApplicationsOnUsers"];
2509
- rights: GraphQLTypes["Rights"];
2510
- nameKey: string;
2511
- isRoot: boolean;
2512
- };
2513
- ["WaitingReceivedMail"]: {
2514
- __typename: "WaitingReceivedMail";
2515
- sender: GraphQLTypes["User"];
2516
- date: GraphQLTypes["DateTime"];
2517
- recipients: Array<GraphQLTypes["User"]>;
2518
- temporaryRecipients: Array<GraphQLTypes["TemporaryUser"]>;
2519
- attachmentsCount: number;
2520
- };
2521
- ["PaymentInfos"]: {
2522
- __typename: "PaymentInfos";
2523
- hostedUrl: string;
2524
- currentSubscription: GraphQLTypes["RecurlySubscription"];
2525
- invoices: Array<GraphQLTypes["RecurlyInvoices"]>;
2526
- };
2527
- ["RecurlyInvoices"]: {
2528
- __typename: "RecurlyInvoices";
2529
- pdf: string;
2530
- date: GraphQLTypes["DateTime"];
2531
- due: GraphQLTypes["DateTime"];
2532
- status: string;
2533
- total: number;
2534
- name: string;
2535
- currency: string;
2536
- };
2537
- ["RecurlySubscription"]: {
2538
- __typename: "RecurlySubscription";
2539
- autorenew: boolean;
2540
- activatedAt?: GraphQLTypes["DateTime"];
2541
- currentPeriodEndsAt?: GraphQLTypes["DateTime"];
2542
- currentPeriodStartedAt?: GraphQLTypes["DateTime"];
2543
- canceledAt?: GraphQLTypes["DateTime"];
2544
- createdAt?: GraphQLTypes["DateTime"];
2545
- expiresAt?: GraphQLTypes["DateTime"];
2546
- pausedAt?: GraphQLTypes["DateTime"];
2547
- trialEndsAt?: GraphQLTypes["DateTime"];
2548
- trialStartedAt?: GraphQLTypes["DateTime"];
2549
- updatedAt?: GraphQLTypes["DateTime"];
2550
- state: string;
2551
- collectionMethod: string;
2552
- plan?: string;
2553
- planCode?: string;
2554
- total?: number;
2555
- };
2556
- ["ShareFolderResponse"]: {
2557
- __typename: "ShareFolderResponse";
2558
- folders: Array<string>;
2559
- vFiles: Array<string>;
2560
- };
2561
- ["Query"]: {
2562
- __typename: "Query";
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"];
2574
- filesSharedWithMe: Array<GraphQLTypes["FileSharedContent"]>;
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"];
2584
- test?: boolean;
2585
- unreadReceivedMailsCount?: GraphQLTypes["UnreadReceivedMailsCountResult"];
2586
- user?: GraphQLTypes["UserResult"];
2587
- vFile?: GraphQLTypes["VFileResult"];
2588
- vFilesSharedWithMe?: GraphQLTypes["VFilesSharedWithMeResult"];
2589
- userList?: GraphQLTypes["UserListResult"];
2590
- };
2591
- ["Mutation"]: {
2592
- __typename: "Mutation";
2593
- addFileToHistory: GraphQLTypes["VFile"];
2594
- cancelPayment?: boolean;
2595
- createApplication?: string;
2596
- createDraftMail?: GraphQLTypes["Mail"];
2597
- createFolder?: GraphQLTypes["Folder"];
2598
- dbConfig: GraphQLTypes["Json"];
2599
- dbSet?: GraphQLTypes["Json"];
2600
- deleteDraftMail?: boolean;
2601
- deleteFile: boolean;
2602
- deleteFolder?: boolean;
2603
- deleteFolderCloudTrash?: boolean;
2604
- deleteFolderSharing: boolean;
2605
- deleteMail: boolean;
2606
- deleteMailTrash: boolean;
2607
- deleteUser?: boolean;
2608
- deleteVFile: boolean;
2609
- deleteVFileCloudTrash?: boolean;
2610
- deleteVFileSharing: boolean;
2611
- duplicateVFile: boolean;
2612
- emptyCloudTrash?: boolean;
2613
- emptyMailTrash?: boolean;
2614
- logout?: boolean;
2615
- moveFiles?: boolean;
2616
- moveFolders?: boolean;
2617
- pay: boolean;
2618
- readMail?: boolean;
2619
- recoverFolder?: boolean;
2620
- recoverMail: boolean;
2621
- recoverVFile: boolean;
2622
- saveInCloud: GraphQLTypes["VFile"];
2623
- sendDraftMail?: boolean;
2624
- sendOneMail?: boolean;
2625
- sendReport?: GraphQLTypes["Report"];
2626
- shareFileInHistory: boolean;
2627
- shareFolder: GraphQLTypes["ShareFolderResponse"];
2628
- shareFolderFinish?: boolean;
2629
- shareVFile?: boolean;
2630
- unreadMail?: boolean;
2631
- updateAppNotifications?: GraphQLTypes["UserAppNotifications"];
2632
- updateAppSettings: GraphQLTypes["UserAppSettings"];
2633
- updateDraftMail?: GraphQLTypes["Mail"];
2634
- updateFile?: GraphQLTypes["VFile"];
2635
- updateFolder?: GraphQLTypes["Folder"];
2636
- updateProfile?: GraphQLTypes["User"];
2637
- uploadAnonymous?: GraphQLTypes["FileResponse"];
2638
- uploadFile?: GraphQLTypes["FileResponse"];
2639
- uploadFileEnd?: string;
2640
- uploadFilePartEnd: boolean;
2641
- changeUserPlan?: GraphQLTypes["User"];
2642
- };
2643
- ["Subscription"]: {
2644
- __typename: "Subscription";
2645
- test: boolean;
2646
- };
2647
- };
2648
- export declare const enum Lang {
2649
- fr = "fr",
2650
- en = "en",
2651
- it = "it",
2652
- de = "de",
2653
- pt = "pt",
2654
- ja = "ja",
2655
- es = "es",
2656
- nl = "nl",
2657
- pl = "pl",
2658
- ru = "ru",
2659
- zh = "zh",
2660
- ar = "ar",
2661
- he = "he",
2662
- hi = "hi",
2663
- ko = "ko"
2664
- }
2665
- export declare const enum PlanKind {
2666
- free = "free",
2667
- basic = "basic",
2668
- advanced = "advanced",
2669
- pro = "pro"
2670
- }
2671
- export declare const enum UserRole {
2672
- user = "user",
2673
- admin = "admin"
2674
- }
2675
- export declare const enum MailType {
2676
- sent = "sent",
2677
- received = "received"
2678
- }
2679
- export declare const enum Rights {
2680
- admin = "admin",
2681
- write = "write",
2682
- read = "read"
2683
- }
2684
- export declare const enum FileContentType {
2685
- cloud = "cloud",
2686
- sent_mail = "sent_mail",
2687
- received_mail = "received_mail"
2688
- }
2689
- export declare const enum PayInputType {
2690
- secure = "secure",
2691
- classic = "classic"
2692
- }
2693
- export declare class GraphQLError extends Error {
2694
- response: GraphQLResponse;
2695
- constructor(response: GraphQLResponse);
2696
- toString(): string;
2697
- }
2698
- export declare type UnwrapPromise<T> = T extends Promise<infer R> ? R : T;
2699
- export declare type ZeusState<T extends (...args: any[]) => Promise<any>> = NonNullable<UnwrapPromise<ReturnType<T>>>;
2700
- export declare type ZeusHook<T extends (...args: any[]) => Record<string, (...args: any[]) => Promise<any>>, N extends keyof ReturnType<T>> = ZeusState<ReturnType<T>[N]>;
2701
- declare type WithTypeNameValue<T> = T & {
2702
- __typename?: boolean;
2703
- };
2704
- declare type AliasType<T> = WithTypeNameValue<T> & {
2705
- __alias?: Record<string, WithTypeNameValue<T>>;
2706
- };
2707
- export interface GraphQLResponse {
2708
- data?: Record<string, any>;
2709
- errors?: Array<{
2710
- message: string;
2711
- }>;
2712
- }
2713
- declare type DeepAnify<T> = {
2714
- [P in keyof T]?: any;
2715
- };
2716
- declare type IsPayLoad<T> = T extends [any, infer PayLoad] ? PayLoad : T;
2717
- declare type IsArray<T, U> = T extends Array<infer R> ? InputType<R, U>[] : InputType<T, U>;
2718
- declare type FlattenArray<T> = T extends Array<infer R> ? R : T;
2719
- declare type IsInterfaced<SRC extends DeepAnify<DST>, DST> = FlattenArray<SRC> extends ZEUS_INTERFACES | ZEUS_UNIONS ? {
2720
- [P in keyof SRC]: SRC[P] extends '__union' & infer R ? P extends keyof DST ? IsArray<R, '__typename' extends keyof DST ? DST[P] & {
2721
- __typename: true;
2722
- } : DST[P]> : {} : never;
2723
- }[keyof DST] & {
2724
- [P in keyof Omit<Pick<SRC, {
2725
- [P in keyof DST]: SRC[P] extends '__union' ? never : P;
2726
- }[keyof DST]>, '__typename'>]: IsPayLoad<DST[P]> extends boolean ? SRC[P] : IsArray<SRC[P], DST[P]>;
2727
- } : {
2728
- [P in keyof Pick<SRC, keyof DST>]: IsPayLoad<DST[P]> extends boolean ? SRC[P] : IsArray<SRC[P], DST[P]>;
2729
- };
2730
- export declare type MapType<SRC, DST> = SRC extends DeepAnify<DST> ? IsInterfaced<SRC, DST> : never;
2731
- export declare type InputType<SRC, DST> = IsPayLoad<DST> extends {
2732
- __alias: infer R;
2733
- } ? {
2734
- [P in keyof R]: MapType<SRC, R[P]>;
2735
- } & MapType<SRC, Omit<IsPayLoad<DST>, '__alias'>> : MapType<SRC, IsPayLoad<DST>>;
2736
- declare type Func<P extends any[], R> = (...args: P) => R;
2737
- declare type AnyFunc = Func<any, any>;
2738
- export declare type ArgsType<F extends AnyFunc> = F extends Func<infer P, any> ? P : never;
2739
- export declare type OperationOptions = {
2740
- variables?: Record<string, any>;
2741
- operationName?: string;
2742
- };
2743
- export declare type SubscriptionToGraphQL<Z, T> = {
2744
- ws: WebSocket;
2745
- on: (fn: (args: InputType<T, Z>) => void) => void;
2746
- off: (fn: (e: {
2747
- data?: InputType<T, Z>;
2748
- code?: number;
2749
- reason?: string;
2750
- message?: string;
2751
- }) => void) => void;
2752
- error: (fn: (e: {
2753
- data?: InputType<T, Z>;
2754
- errors?: string[];
2755
- }) => void) => void;
2756
- open: () => void;
2757
- };
2758
- export declare type SelectionFunction<V> = <T>(t: T | V) => T;
2759
- export declare type fetchOptions = ArgsType<typeof fetch>;
2760
- declare type websocketOptions = typeof WebSocket extends new (...args: infer R) => WebSocket ? R : never;
2761
- export declare type chainOptions = [fetchOptions[0], fetchOptions[1] & {
2762
- websocket?: websocketOptions;
2763
- }] | [fetchOptions[0]];
2764
- export declare type FetchFunction = (query: string, variables?: Record<string, any>) => Promise<any>;
2765
- export declare type SubscriptionFunction = (query: string) => any;
2766
- declare type NotUndefined<T> = T extends undefined ? never : T;
2767
- export declare type ResolverType<F> = NotUndefined<F extends [infer ARGS, any] ? ARGS : undefined>;
2768
- export declare const ZeusSelect: <T>() => SelectionFunction<T>;
2769
- export declare const ScalarResolver: (scalar: string, value: any) => string | false;
2770
- export declare const TypesPropsResolver: ({ value, type, name, key, blockArrays }: {
2771
- value: any;
2772
- type: string;
2773
- name: string;
2774
- key?: string | undefined;
2775
- blockArrays?: boolean | undefined;
2776
- }) => string;
2777
- export declare const queryConstruct: (t: 'query' | 'mutation' | 'subscription', tName: string, operationName?: string | undefined) => (o: Record<any, any>) => string;
2778
- export declare const fullChainConstruct: (fn: FetchFunction) => (t: 'query' | 'mutation' | 'subscription', tName: string) => (o: Record<any, any>, options?: OperationOptions | undefined) => Promise<any>;
2779
- export declare const fullSubscriptionConstruct: (fn: SubscriptionFunction) => (t: 'query' | 'mutation' | 'subscription', tName: string) => (o: Record<any, any>, options?: OperationOptions | undefined) => any;
2780
- export declare const $: (t: TemplateStringsArray) => any;
2781
- 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;
2782
- export declare const apiFetch: (options: [input: RequestInfo, init?: RequestInit | undefined]) => (query: string, variables?: Record<string, any>) => Promise<Record<string, any> | undefined>;
2783
- export declare const apiSubscription: (options: chainOptions) => (query: string) => {
2784
- ws: WebSocket;
2785
- on: (e: (args: any) => void) => void;
2786
- off: (e: (args: any) => void) => void;
2787
- error: (e: (args: any) => void) => void;
2788
- open: (e: () => void) => void;
2789
- };
2790
- export declare type GenericOperation<O> = O extends 'query' ? "Query" : O extends 'mutation' ? "Mutation" : "Subscription";
2791
- 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>>;
2792
- 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>>;
2793
- 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]>;
2794
- export declare const Subscription: (...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) => SubscriptionToGraphQL<Z, GraphQLTypes[R]>;
2795
- export declare const Zeus: <Z extends ValueTypes[R], O extends "query" | "mutation" | "subscription", R extends keyof ValueTypes = GenericOperation<O>>(operation: O, o: Z | ValueTypes[R], operationName?: string | undefined) => string;
2796
- export declare const Selector: <T extends keyof ValueTypes>(_key: T) => SelectionFunction<ValueTypes[T]>;
2797
- export declare const Gql: <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>>;
2798
- export {};