@zextras/carbonio-shell-ui 6.0.0 → 7.0.0

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 (461) hide show
  1. package/lib/boot/app/app-context-provider.d.ts +7 -0
  2. package/lib/boot/app/app-context-provider.js +17 -0
  3. package/lib/boot/app/app-context-provider.js.map +1 -0
  4. package/lib/boot/app/app-error-catcher.d.ts +3 -0
  5. package/lib/boot/app/app-error-catcher.js +41 -0
  6. package/lib/boot/app/app-error-catcher.js.map +1 -0
  7. package/lib/boot/app/app-loader-functions.d.ts +37 -0
  8. package/lib/boot/app/app-loader-functions.js +121 -0
  9. package/lib/boot/app/app-loader-functions.js.map +1 -0
  10. package/lib/boot/app/app-loader-setters.d.ts +38 -0
  11. package/lib/boot/app/app-loader-setters.js +46 -0
  12. package/lib/boot/app/app-loader-setters.js.map +1 -0
  13. package/lib/boot/matomo.d.ts +12 -0
  14. package/lib/boot/matomo.js +22 -0
  15. package/lib/boot/matomo.js.map +1 -0
  16. package/lib/boot/module-i18next-provider.d.ts +7 -0
  17. package/lib/boot/module-i18next-provider.js +22 -0
  18. package/lib/boot/module-i18next-provider.js.map +1 -0
  19. package/lib/boot/tracker.d.ts +11 -0
  20. package/lib/boot/tracker.js +57 -0
  21. package/lib/boot/tracker.js.map +1 -0
  22. package/lib/constants/index.d.ts +146 -0
  23. package/lib/constants/index.js +160 -0
  24. package/lib/constants/index.js.map +1 -0
  25. package/lib/constants/locales.d.ts +83 -0
  26. package/lib/constants/locales.js +86 -0
  27. package/lib/constants/locales.js.map +1 -0
  28. package/lib/history/hooks.d.ts +12 -0
  29. package/lib/history/hooks.js +69 -0
  30. package/lib/history/hooks.js.map +1 -0
  31. package/lib/lib.d.ts +74 -0
  32. package/lib/lib.js +134 -0
  33. package/lib/lib.js.map +1 -0
  34. package/lib/network/edit-settings.d.ts +14 -0
  35. package/lib/network/edit-settings.js +144 -0
  36. package/lib/network/edit-settings.js.map +1 -0
  37. package/lib/network/fetch.d.ts +4 -0
  38. package/lib/network/fetch.js +175 -0
  39. package/lib/network/fetch.js.map +1 -0
  40. package/lib/network/tags.d.ts +27 -0
  41. package/lib/network/tags.js +31 -0
  42. package/lib/network/tags.js.map +1 -0
  43. package/lib/network/user-agent.d.ts +1 -0
  44. package/lib/network/user-agent.js +15 -0
  45. package/lib/network/user-agent.js.map +1 -0
  46. package/lib/network/utils.d.ts +2 -0
  47. package/lib/network/utils.js +17 -0
  48. package/lib/network/utils.js.map +1 -0
  49. package/lib/notification/NotificationManager.d.ts +22 -0
  50. package/lib/notification/NotificationManager.js +153 -0
  51. package/lib/notification/NotificationManager.js.map +1 -0
  52. package/lib/reporting/functions.d.ts +2 -0
  53. package/lib/reporting/functions.js +14 -0
  54. package/lib/reporting/functions.js.map +1 -0
  55. package/lib/reporting/store.d.ts +8 -0
  56. package/lib/reporting/store.js +43 -0
  57. package/lib/reporting/store.js.map +1 -0
  58. package/lib/search/run-search.d.ts +2 -0
  59. package/lib/search/run-search.js +17 -0
  60. package/lib/search/run-search.js.map +1 -0
  61. package/lib/search/search-store.d.ts +2 -0
  62. package/lib/search/search-store.js +20 -0
  63. package/lib/search/search-store.js.map +1 -0
  64. package/lib/search/useSearchModule.d.ts +3 -0
  65. package/lib/search/useSearchModule.js +21 -0
  66. package/lib/search/useSearchModule.js.map +1 -0
  67. package/lib/settings/components/settings-header.d.ts +9 -0
  68. package/lib/settings/components/settings-header.js +86 -0
  69. package/lib/settings/components/settings-header.js.map +1 -0
  70. package/lib/shell/hooks/useIsMobile.d.ts +4 -0
  71. package/lib/shell/hooks/useIsMobile.js +22 -0
  72. package/lib/shell/hooks/useIsMobile.js.map +1 -0
  73. package/lib/shell/hooks/useLocalStorage.d.ts +14 -0
  74. package/lib/shell/hooks/useLocalStorage.js +77 -0
  75. package/lib/shell/hooks/useLocalStorage.js.map +1 -0
  76. package/lib/shell/shell-context.d.ts +4 -0
  77. package/lib/shell/shell-context.js +11 -0
  78. package/lib/shell/shell-context.js.map +1 -0
  79. package/lib/store/account/hooks.d.ts +14 -0
  80. package/lib/store/account/hooks.js +51 -0
  81. package/lib/store/account/hooks.js.map +1 -0
  82. package/lib/store/account/index.d.ts +2 -0
  83. package/lib/store/account/index.js +24 -0
  84. package/lib/store/account/index.js.map +1 -0
  85. package/lib/store/account/store.d.ts +2 -0
  86. package/lib/store/account/store.js +23 -0
  87. package/lib/store/account/store.js.map +1 -0
  88. package/lib/store/app/hooks.d.ts +14 -0
  89. package/lib/store/app/hooks.js +41 -0
  90. package/lib/store/app/hooks.js.map +1 -0
  91. package/lib/store/app/index.d.ts +2 -0
  92. package/lib/store/app/index.js +24 -0
  93. package/lib/store/app/index.js.map +1 -0
  94. package/lib/store/app/store.d.ts +44 -0
  95. package/lib/store/app/store.js +265 -0
  96. package/lib/store/app/store.js.map +1 -0
  97. package/lib/store/app/utils.d.ts +10 -0
  98. package/lib/store/app/utils.js +123 -0
  99. package/lib/store/app/utils.js.map +1 -0
  100. package/lib/store/boards/hooks.d.ts +31 -0
  101. package/lib/store/boards/hooks.js +82 -0
  102. package/lib/store/boards/hooks.js.map +1 -0
  103. package/lib/store/boards/index.d.ts +2 -0
  104. package/lib/store/boards/index.js +24 -0
  105. package/lib/store/boards/index.js.map +1 -0
  106. package/lib/store/boards/store.d.ts +23 -0
  107. package/lib/store/boards/store.js +124 -0
  108. package/lib/store/boards/store.js.map +1 -0
  109. package/lib/store/context-bridge.d.ts +11 -0
  110. package/lib/store/context-bridge.js +34 -0
  111. package/lib/store/context-bridge.js.map +1 -0
  112. package/lib/store/folder/hooks.d.ts +21 -0
  113. package/lib/store/folder/hooks.js +77 -0
  114. package/lib/store/folder/hooks.js.map +1 -0
  115. package/lib/store/folder/index.d.ts +2 -0
  116. package/lib/store/folder/index.js +24 -0
  117. package/lib/store/folder/index.js.map +1 -0
  118. package/lib/store/folder/store.d.ts +2 -0
  119. package/lib/store/folder/store.js +20 -0
  120. package/lib/store/folder/store.js.map +1 -0
  121. package/lib/store/folder/utils.d.ts +16 -0
  122. package/lib/store/folder/utils.js +53 -0
  123. package/lib/store/folder/utils.js.map +1 -0
  124. package/lib/store/i18n/hooks.d.ts +4 -0
  125. package/lib/store/i18n/hooks.js +21 -0
  126. package/lib/store/i18n/hooks.js.map +1 -0
  127. package/lib/store/i18n/store.d.ts +13 -0
  128. package/lib/store/i18n/store.js +104 -0
  129. package/lib/store/i18n/store.js.map +1 -0
  130. package/lib/store/integrations/composer.d.ts +49 -0
  131. package/lib/store/integrations/composer.js +233 -0
  132. package/lib/store/integrations/composer.js.map +1 -0
  133. package/lib/store/integrations/getters.d.ts +9 -0
  134. package/lib/store/integrations/getters.js +41 -0
  135. package/lib/store/integrations/getters.js.map +1 -0
  136. package/lib/store/integrations/hooks.d.ts +9 -0
  137. package/lib/store/integrations/hooks.js +42 -0
  138. package/lib/store/integrations/hooks.js.map +1 -0
  139. package/lib/store/integrations/store.d.ts +41 -0
  140. package/lib/store/integrations/store.js +65 -0
  141. package/lib/store/integrations/store.js.map +1 -0
  142. package/lib/store/integrations/utils.d.ts +8 -0
  143. package/lib/store/integrations/utils.js +50 -0
  144. package/lib/store/integrations/utils.js.map +1 -0
  145. package/lib/store/login/getters.d.ts +2 -0
  146. package/lib/store/login/getters.js +18 -0
  147. package/lib/store/login/getters.js.map +1 -0
  148. package/lib/store/login/store.d.ts +12 -0
  149. package/lib/store/login/store.js +18 -0
  150. package/lib/store/login/store.js.map +1 -0
  151. package/lib/store/network/hooks.d.ts +3 -0
  152. package/lib/store/network/hooks.js +14 -0
  153. package/lib/store/network/hooks.js.map +1 -0
  154. package/lib/store/network/index.d.ts +2 -0
  155. package/lib/store/network/index.js +24 -0
  156. package/lib/store/network/index.js.map +1 -0
  157. package/lib/store/network/store.d.ts +2 -0
  158. package/lib/store/network/store.js +15 -0
  159. package/lib/store/network/store.js.map +1 -0
  160. package/lib/store/network/utils.d.ts +13 -0
  161. package/lib/store/network/utils.js +94 -0
  162. package/lib/store/network/utils.js.map +1 -0
  163. package/lib/store/tags/hooks.d.ts +3 -0
  164. package/lib/store/tags/hooks.js +15 -0
  165. package/lib/store/tags/hooks.js.map +1 -0
  166. package/lib/store/tags/index.d.ts +2 -0
  167. package/lib/store/tags/index.js +24 -0
  168. package/lib/store/tags/index.js.map +1 -0
  169. package/lib/store/tags/store.d.ts +2 -0
  170. package/lib/store/tags/store.js +18 -0
  171. package/lib/store/tags/store.js.map +1 -0
  172. package/lib/tsdoc-metadata.json +11 -0
  173. package/lib/types/account/index.d.ts +140 -0
  174. package/lib/types/account/index.js +8 -0
  175. package/lib/types/account/index.js.map +1 -0
  176. package/lib/types/apps/index.d.ts +120 -0
  177. package/lib/types/apps/index.js +9 -0
  178. package/lib/types/apps/index.js.map +1 -0
  179. package/lib/types/boards/index.d.ts +10 -0
  180. package/lib/types/boards/index.js +3 -0
  181. package/lib/types/boards/index.js.map +1 -0
  182. package/lib/types/folder/index.d.ts +29 -0
  183. package/lib/types/folder/index.js +8 -0
  184. package/lib/types/folder/index.js.map +1 -0
  185. package/lib/types/integrations/index.d.ts +8 -0
  186. package/lib/types/integrations/index.js +8 -0
  187. package/lib/types/integrations/index.js.map +1 -0
  188. package/lib/types/misc/index.d.ts +156 -0
  189. package/lib/types/misc/index.js +8 -0
  190. package/lib/types/misc/index.js.map +1 -0
  191. package/lib/types/network/entities.d.ts +47 -0
  192. package/lib/types/network/entities.js +3 -0
  193. package/lib/types/network/entities.js.map +1 -0
  194. package/lib/types/network/index.d.ts +171 -0
  195. package/lib/types/network/index.js +23 -0
  196. package/lib/types/network/index.js.map +1 -0
  197. package/lib/types/network/soap.d.ts +102 -0
  198. package/lib/types/network/soap.js +8 -0
  199. package/lib/types/network/soap.js.map +1 -0
  200. package/lib/types/search/index.d.ts +11 -0
  201. package/lib/types/search/index.js +23 -0
  202. package/lib/types/search/index.js.map +1 -0
  203. package/lib/types/search/items.d.ts +6 -0
  204. package/lib/types/search/items.js +3 -0
  205. package/lib/types/search/items.js.map +1 -0
  206. package/lib/types/tags/index.d.ts +12 -0
  207. package/lib/types/tags/index.js +9 -0
  208. package/lib/types/tags/index.js.map +1 -0
  209. package/lib/types/workers/index.d.ts +17 -0
  210. package/lib/types/workers/index.js +3 -0
  211. package/lib/types/workers/index.js.map +1 -0
  212. package/lib/ui-extras/app-link.d.ts +6 -0
  213. package/lib/ui-extras/app-link.js +40 -0
  214. package/lib/ui-extras/app-link.js.map +1 -0
  215. package/lib/ui-extras/nav-guard.d.ts +9 -0
  216. package/lib/ui-extras/nav-guard.js +96 -0
  217. package/lib/ui-extras/nav-guard.js.map +1 -0
  218. package/lib/ui-extras/spinner.d.ts +2 -0
  219. package/lib/ui-extras/spinner.js +18 -0
  220. package/lib/ui-extras/spinner.js.map +1 -0
  221. package/lib/utils/typeUtils.d.ts +14 -0
  222. package/lib/utils/typeUtils.js +3 -0
  223. package/lib/utils/typeUtils.js.map +1 -0
  224. package/lib/utils/utils.d.ts +20 -0
  225. package/lib/utils/utils.js +39 -0
  226. package/lib/utils/utils.js.map +1 -0
  227. package/lib/workers/index.d.ts +2 -0
  228. package/lib/workers/index.js +15 -0
  229. package/lib/workers/index.js.map +1 -0
  230. package/package.json +34 -37
  231. package/dist/20d012c938e8d0dcc703.mp3 +0 -0
  232. package/dist/2d9c9ae572663301cb7d.js +0 -75391
  233. package/dist/CHANGELOG.md +0 -701
  234. package/dist/carbonio-head.svg +0 -200
  235. package/dist/carbonio.svg +0 -10
  236. package/dist/commit +0 -1
  237. package/dist/component.json +0 -13
  238. package/dist/favicon.png +0 -0
  239. package/dist/files/roboto-cyrillic-300-normal.woff +0 -0
  240. package/dist/files/roboto-cyrillic-300-normal.woff2 +0 -0
  241. package/dist/files/roboto-cyrillic-400-normal.woff +0 -0
  242. package/dist/files/roboto-cyrillic-400-normal.woff2 +0 -0
  243. package/dist/files/roboto-cyrillic-500-normal.woff +0 -0
  244. package/dist/files/roboto-cyrillic-500-normal.woff2 +0 -0
  245. package/dist/files/roboto-cyrillic-700-normal.woff +0 -0
  246. package/dist/files/roboto-cyrillic-700-normal.woff2 +0 -0
  247. package/dist/files/roboto-cyrillic-ext-300-normal.woff +0 -0
  248. package/dist/files/roboto-cyrillic-ext-300-normal.woff2 +0 -0
  249. package/dist/files/roboto-cyrillic-ext-400-normal.woff +0 -0
  250. package/dist/files/roboto-cyrillic-ext-400-normal.woff2 +0 -0
  251. package/dist/files/roboto-cyrillic-ext-500-normal.woff +0 -0
  252. package/dist/files/roboto-cyrillic-ext-500-normal.woff2 +0 -0
  253. package/dist/files/roboto-cyrillic-ext-700-normal.woff +0 -0
  254. package/dist/files/roboto-cyrillic-ext-700-normal.woff2 +0 -0
  255. package/dist/files/roboto-greek-300-normal.woff +0 -0
  256. package/dist/files/roboto-greek-300-normal.woff2 +0 -0
  257. package/dist/files/roboto-greek-400-normal.woff +0 -0
  258. package/dist/files/roboto-greek-400-normal.woff2 +0 -0
  259. package/dist/files/roboto-greek-500-normal.woff +0 -0
  260. package/dist/files/roboto-greek-500-normal.woff2 +0 -0
  261. package/dist/files/roboto-greek-700-normal.woff +0 -0
  262. package/dist/files/roboto-greek-700-normal.woff2 +0 -0
  263. package/dist/files/roboto-greek-ext-300-normal.woff +0 -0
  264. package/dist/files/roboto-greek-ext-300-normal.woff2 +0 -0
  265. package/dist/files/roboto-greek-ext-400-normal.woff +0 -0
  266. package/dist/files/roboto-greek-ext-400-normal.woff2 +0 -0
  267. package/dist/files/roboto-greek-ext-500-normal.woff +0 -0
  268. package/dist/files/roboto-greek-ext-500-normal.woff2 +0 -0
  269. package/dist/files/roboto-greek-ext-700-normal.woff +0 -0
  270. package/dist/files/roboto-greek-ext-700-normal.woff2 +0 -0
  271. package/dist/files/roboto-latin-300-normal.woff +0 -0
  272. package/dist/files/roboto-latin-300-normal.woff2 +0 -0
  273. package/dist/files/roboto-latin-400-normal.woff +0 -0
  274. package/dist/files/roboto-latin-400-normal.woff2 +0 -0
  275. package/dist/files/roboto-latin-500-normal.woff +0 -0
  276. package/dist/files/roboto-latin-500-normal.woff2 +0 -0
  277. package/dist/files/roboto-latin-700-normal.woff +0 -0
  278. package/dist/files/roboto-latin-700-normal.woff2 +0 -0
  279. package/dist/files/roboto-latin-ext-300-normal.woff +0 -0
  280. package/dist/files/roboto-latin-ext-300-normal.woff2 +0 -0
  281. package/dist/files/roboto-latin-ext-400-normal.woff +0 -0
  282. package/dist/files/roboto-latin-ext-400-normal.woff2 +0 -0
  283. package/dist/files/roboto-latin-ext-500-normal.woff +0 -0
  284. package/dist/files/roboto-latin-ext-500-normal.woff2 +0 -0
  285. package/dist/files/roboto-latin-ext-700-normal.woff +0 -0
  286. package/dist/files/roboto-latin-ext-700-normal.woff2 +0 -0
  287. package/dist/files/roboto-vietnamese-300-normal.woff +0 -0
  288. package/dist/files/roboto-vietnamese-300-normal.woff2 +0 -0
  289. package/dist/files/roboto-vietnamese-400-normal.woff +0 -0
  290. package/dist/files/roboto-vietnamese-400-normal.woff2 +0 -0
  291. package/dist/files/roboto-vietnamese-500-normal.woff +0 -0
  292. package/dist/files/roboto-vietnamese-500-normal.woff2 +0 -0
  293. package/dist/files/roboto-vietnamese-700-normal.woff +0 -0
  294. package/dist/files/roboto-vietnamese-700-normal.woff2 +0 -0
  295. package/dist/i18n/ar.json +0 -1
  296. package/dist/i18n/de.json +0 -438
  297. package/dist/i18n/en-US.json +0 -1
  298. package/dist/i18n/en.json +0 -438
  299. package/dist/i18n/es-419.json +0 -1
  300. package/dist/i18n/es.json +0 -438
  301. package/dist/i18n/fa.json +0 -1
  302. package/dist/i18n/fi.json +0 -12
  303. package/dist/i18n/fr.json +0 -438
  304. package/dist/i18n/hi.json +0 -438
  305. package/dist/i18n/hr.json +0 -1
  306. package/dist/i18n/hu.json +0 -31
  307. package/dist/i18n/id.json +0 -438
  308. package/dist/i18n/it.json +0 -438
  309. package/dist/i18n/ja.json +0 -438
  310. package/dist/i18n/ky.json +0 -6
  311. package/dist/i18n/nl.json +0 -438
  312. package/dist/i18n/pl.json +0 -438
  313. package/dist/i18n/pt-PT.json +0 -1
  314. package/dist/i18n/pt.json +0 -438
  315. package/dist/i18n/pt_BR.json +0 -438
  316. package/dist/i18n/ro.json +0 -9
  317. package/dist/i18n/ru.json +0 -438
  318. package/dist/i18n/th.json +0 -438
  319. package/dist/i18n/tr.json +0 -438
  320. package/dist/i18n/uk.json +0 -186
  321. package/dist/i18n/vi.json +0 -396
  322. package/dist/i18n/zh_Hans.json +0 -412
  323. package/dist/index.html +0 -25
  324. package/dist/notification.mp3 +0 -0
  325. package/dist/package/PKGBUILD +0 -45
  326. package/dist/plugins/help/js/i18n/keynav/de.js +0 -90
  327. package/dist/plugins/help/js/i18n/keynav/en.js +0 -90
  328. package/dist/plugins/help/js/i18n/keynav/es.js +0 -90
  329. package/dist/plugins/help/js/i18n/keynav/fr_FR.js +0 -90
  330. package/dist/plugins/help/js/i18n/keynav/hi.js +0 -90
  331. package/dist/plugins/help/js/i18n/keynav/it.js +0 -90
  332. package/dist/plugins/help/js/i18n/keynav/ja.js +0 -90
  333. package/dist/plugins/help/js/i18n/keynav/nl.js +0 -90
  334. package/dist/plugins/help/js/i18n/keynav/pl.js +0 -90
  335. package/dist/plugins/help/js/i18n/keynav/pt_BR.js +0 -90
  336. package/dist/plugins/help/js/i18n/keynav/ro.js +0 -90
  337. package/dist/plugins/help/js/i18n/keynav/ru.js +0 -90
  338. package/dist/plugins/help/js/i18n/keynav/th_TH.js +0 -90
  339. package/dist/plugins/help/js/i18n/keynav/tr.js +0 -90
  340. package/dist/plugins/help/js/i18n/keynav/vi.js +0 -90
  341. package/dist/skins/content/dark/content.css +0 -59
  342. package/dist/skins/content/dark/content.min.css +0 -8
  343. package/dist/skins/content/default/content.css +0 -49
  344. package/dist/skins/content/default/content.min.css +0 -8
  345. package/dist/skins/content/document/content.css +0 -53
  346. package/dist/skins/content/document/content.min.css +0 -8
  347. package/dist/skins/content/writer/content.css +0 -50
  348. package/dist/skins/content/writer/content.min.css +0 -8
  349. package/dist/skins/ui/oxide/content.css +0 -615
  350. package/dist/skins/ui/oxide/content.inline.css +0 -608
  351. package/dist/skins/ui/oxide/content.inline.min.css +0 -8
  352. package/dist/skins/ui/oxide/content.min.css +0 -8
  353. package/dist/skins/ui/oxide/content.mobile.css +0 -29
  354. package/dist/skins/ui/oxide/content.mobile.min.css +0 -8
  355. package/dist/skins/ui/oxide/fonts/tinymce-mobile.woff +0 -0
  356. package/dist/skins/ui/oxide/skin.css +0 -2884
  357. package/dist/skins/ui/oxide/skin.min.css +0 -8
  358. package/dist/skins/ui/oxide/skin.mobile.css +0 -673
  359. package/dist/skins/ui/oxide/skin.mobile.min.css +0 -8
  360. package/dist/skins/ui/oxide-dark/content.css +0 -596
  361. package/dist/skins/ui/oxide-dark/content.inline.css +0 -608
  362. package/dist/skins/ui/oxide-dark/content.inline.min.css +0 -8
  363. package/dist/skins/ui/oxide-dark/content.min.css +0 -8
  364. package/dist/skins/ui/oxide-dark/content.mobile.css +0 -29
  365. package/dist/skins/ui/oxide-dark/content.mobile.min.css +0 -8
  366. package/dist/skins/ui/oxide-dark/fonts/tinymce-mobile.woff +0 -0
  367. package/dist/skins/ui/oxide-dark/skin.css +0 -2884
  368. package/dist/skins/ui/oxide-dark/skin.min.css +0 -8
  369. package/dist/skins/ui/oxide-dark/skin.mobile.css +0 -673
  370. package/dist/skins/ui/oxide-dark/skin.mobile.min.css +0 -8
  371. package/dist/src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.css +0 -21
  372. package/dist/src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.css.map +0 -1
  373. package/dist/src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.d07f086d.chunk.js +0 -13399
  374. package/dist/src_boot_bootstrapper_tsx-node_modules_moment_locale_sync_recursive_.d07f086d.chunk.js.map +0 -1
  375. package/dist/src_workers_folder_ts.2df69eae.chunk.js +0 -537
  376. package/dist/src_workers_folder_ts.2df69eae.chunk.js.map +0 -1
  377. package/dist/src_workers_tag_ts.59a752d7.chunk.js +0 -113
  378. package/dist/src_workers_tag_ts.59a752d7.chunk.js.map +0 -1
  379. package/dist/style.a7eb9e6c.css +0 -389
  380. package/dist/style.a7eb9e6c.css.map +0 -1
  381. package/dist/tinymce/langs/de.js +0 -1
  382. package/dist/tinymce/langs/es.js +0 -1
  383. package/dist/tinymce/langs/fr_FR.js +0 -1
  384. package/dist/tinymce/langs/hi.js +0 -1
  385. package/dist/tinymce/langs/it.js +0 -1
  386. package/dist/tinymce/langs/ja.js +0 -1
  387. package/dist/tinymce/langs/nl.js +0 -1
  388. package/dist/tinymce/langs/pl.js +0 -1
  389. package/dist/tinymce/langs/pt_BR.js +0 -1
  390. package/dist/tinymce/langs/ro.js +0 -1
  391. package/dist/tinymce/langs/ru.js +0 -1
  392. package/dist/tinymce/langs/th_TH.js +0 -1
  393. package/dist/tinymce/langs/tr.js +0 -1
  394. package/dist/tinymce/langs/vi.js +0 -1
  395. package/dist/tinymce/langs/zh-Hans.js +0 -1
  396. package/dist/vendors-node_modules_date-fns__lib_isSameUTCWeek_index_js-node_modules_date-fns_locale__lib_b-41ea83.3e405109.chunk.js +0 -412
  397. package/dist/vendors-node_modules_date-fns__lib_isSameUTCWeek_index_js-node_modules_date-fns_locale__lib_b-41ea83.3e405109.chunk.js.map +0 -1
  398. package/dist/vendors-node_modules_date-fns_locale_de_index_js.42fc0cb6.chunk.js +0 -787
  399. package/dist/vendors-node_modules_date-fns_locale_de_index_js.42fc0cb6.chunk.js.map +0 -1
  400. package/dist/vendors-node_modules_date-fns_locale_en-US_index_js.1575ad91.chunk.js +0 -693
  401. package/dist/vendors-node_modules_date-fns_locale_en-US_index_js.1575ad91.chunk.js.map +0 -1
  402. package/dist/vendors-node_modules_date-fns_locale_es_index_js.a054d7dc.chunk.js +0 -685
  403. package/dist/vendors-node_modules_date-fns_locale_es_index_js.a054d7dc.chunk.js.map +0 -1
  404. package/dist/vendors-node_modules_date-fns_locale_fr_index_js.20eefc5f.chunk.js +0 -644
  405. package/dist/vendors-node_modules_date-fns_locale_fr_index_js.20eefc5f.chunk.js.map +0 -1
  406. package/dist/vendors-node_modules_date-fns_locale_hi_index_js.016d9c1b.chunk.js +0 -741
  407. package/dist/vendors-node_modules_date-fns_locale_hi_index_js.016d9c1b.chunk.js.map +0 -1
  408. package/dist/vendors-node_modules_date-fns_locale_it_index_js.b1509e74.chunk.js +0 -531
  409. package/dist/vendors-node_modules_date-fns_locale_it_index_js.b1509e74.chunk.js.map +0 -1
  410. package/dist/vendors-node_modules_date-fns_locale_ja_index_js.7ee709ea.chunk.js +0 -703
  411. package/dist/vendors-node_modules_date-fns_locale_ja_index_js.7ee709ea.chunk.js.map +0 -1
  412. package/dist/vendors-node_modules_date-fns_locale_nl_index_js.03ea6284.chunk.js +0 -638
  413. package/dist/vendors-node_modules_date-fns_locale_nl_index_js.03ea6284.chunk.js.map +0 -1
  414. package/dist/vendors-node_modules_date-fns_locale_pl_index_js.b1a781fa.chunk.js +0 -623
  415. package/dist/vendors-node_modules_date-fns_locale_pl_index_js.b1a781fa.chunk.js.map +0 -1
  416. package/dist/vendors-node_modules_date-fns_locale_pt-BR_index_js.695bc207.chunk.js +0 -682
  417. package/dist/vendors-node_modules_date-fns_locale_pt-BR_index_js.695bc207.chunk.js.map +0 -1
  418. package/dist/vendors-node_modules_date-fns_locale_pt_index_js.09460edb.chunk.js +0 -678
  419. package/dist/vendors-node_modules_date-fns_locale_pt_index_js.09460edb.chunk.js.map +0 -1
  420. package/dist/vendors-node_modules_date-fns_locale_ro_index_js.53425395.chunk.js +0 -670
  421. package/dist/vendors-node_modules_date-fns_locale_ro_index_js.53425395.chunk.js.map +0 -1
  422. package/dist/vendors-node_modules_date-fns_locale_ru_index_js.ab8b44d9.chunk.js +0 -707
  423. package/dist/vendors-node_modules_date-fns_locale_ru_index_js.ab8b44d9.chunk.js.map +0 -1
  424. package/dist/vendors-node_modules_date-fns_locale_th_index_js.9f2448ee.chunk.js +0 -672
  425. package/dist/vendors-node_modules_date-fns_locale_th_index_js.9f2448ee.chunk.js.map +0 -1
  426. package/dist/vendors-node_modules_date-fns_locale_tr_index_js.c47c86fa.chunk.js +0 -677
  427. package/dist/vendors-node_modules_date-fns_locale_tr_index_js.c47c86fa.chunk.js.map +0 -1
  428. package/dist/vendors-node_modules_date-fns_locale_vi_index_js.d02adf1c.chunk.js +0 -765
  429. package/dist/vendors-node_modules_date-fns_locale_vi_index_js.d02adf1c.chunk.js.map +0 -1
  430. package/dist/vendors-node_modules_date-fns_locale_zh-CN_index_js.505f5507.chunk.js +0 -521
  431. package/dist/vendors-node_modules_date-fns_locale_zh-CN_index_js.505f5507.chunk.js.map +0 -1
  432. package/dist/vendors-node_modules_lodash_lodash_js-node_modules_core-js_modules_es_array_push_js.8ced7511.chunk.js +0 -19112
  433. package/dist/vendors-node_modules_lodash_lodash_js-node_modules_core-js_modules_es_array_push_js.8ced7511.chunk.js.map +0 -1
  434. package/dist/vendors-node_modules_tinymce_skins_ui_oxide_skin_min_css-node_modules_reduxjs_toolkit_dist_re-f60063.88e81e25.chunk.js +0 -219343
  435. package/dist/vendors-node_modules_tinymce_skins_ui_oxide_skin_min_css-node_modules_reduxjs_toolkit_dist_re-f60063.88e81e25.chunk.js.map +0 -1
  436. package/dist/vendors-node_modules_tinymce_skins_ui_oxide_skin_min_css-node_modules_reduxjs_toolkit_dist_re-f60063.css +0 -4104
  437. package/dist/vendors-node_modules_tinymce_skins_ui_oxide_skin_min_css-node_modules_reduxjs_toolkit_dist_re-f60063.css.map +0 -1
  438. package/dist/yap.json +0 -11
  439. package/dist/zapp-shell.bundle.js +0 -30430
  440. package/dist/zapp-shell.bundle.js.map +0 -1
  441. package/types/account/index.d.ts +0 -179
  442. package/types/apps/index.d.ts +0 -198
  443. package/types/boards/index.d.ts +0 -31
  444. package/types/exports/index.d.ts +0 -256
  445. package/types/folder/index.d.ts +0 -33
  446. package/types/i18n/index.d.ts +0 -19
  447. package/types/index.d.ts +0 -20
  448. package/types/integrations/index.d.ts +0 -41
  449. package/types/loginConfig/index.d.ts +0 -17
  450. package/types/misc/index.d.ts +0 -309
  451. package/types/network/entities.d.ts +0 -106
  452. package/types/network/index.d.ts +0 -239
  453. package/types/network/soap.d.ts +0 -106
  454. package/types/notification/index.d.ts +0 -31
  455. package/types/search/index.d.ts +0 -18
  456. package/types/search/items.d.ts +0 -13
  457. package/types/settings/index.d.ts +0 -10
  458. package/types/styled-components.d.ts +0 -18
  459. package/types/tags/index.d.ts +0 -21
  460. package/types/theme/index.d.ts +0 -9
  461. package/types/workers/index.d.ts +0 -24
@@ -1,19 +0,0 @@
1
- /*
2
- * SPDX-FileCopyrightText: 2022 Zextras <https://www.zextras.com>
3
- *
4
- * SPDX-License-Identifier: AGPL-3.0-only
5
- */
6
-
7
- import { i18n } from 'i18next';
8
-
9
- export type I18nState = {
10
- instances: Record<string, i18n>;
11
- defaultI18n: i18n;
12
- locale: string;
13
- setters: {
14
- setLocale: (locale: string) => void;
15
- };
16
- actions: {
17
- addI18n: (apps: Array<CarbonioModule>, locale: string) => void;
18
- };
19
- };
package/types/index.d.ts DELETED
@@ -1,20 +0,0 @@
1
- /*
2
- * SPDX-FileCopyrightText: 2021 Zextras <https://www.zextras.com>
3
- *
4
- * SPDX-License-Identifier: AGPL-3.0-only
5
- */
6
-
7
- export * from './network';
8
- export * from './exports';
9
- export * from './account';
10
- export * from './apps';
11
- export * from './notification';
12
- export * from './integrations';
13
- export * from './theme';
14
- export * from './search';
15
- export * from './misc';
16
- export * from './tags';
17
- export * from './workers';
18
- export * from './folder';
19
- export * from './i18n';
20
- export * from './boards';
@@ -1,41 +0,0 @@
1
- /*
2
- * SPDX-FileCopyrightText: 2021 Zextras <https://www.zextras.com>
3
- *
4
- * SPDX-License-Identifier: AGPL-3.0-only
5
- */
6
-
7
- import { ComponentType } from 'react';
8
-
9
- import { DropdownItem } from '@zextras/carbonio-design-system';
10
-
11
- export type IntegrationsState = {
12
- actions: ActionMap;
13
- components: ComponentMap;
14
- functions: FunctionMap;
15
- removeActions: (...ids: Array<string>) => void;
16
- registerActions: (
17
- ...items: Array<{ id: string; action: ActionFactory<unknown>; type: string }>
18
- ) => void;
19
- removeComponents: (...ids: Array<string>) => void;
20
- registerComponents: (
21
- app: string
22
- ) => <P>(...items: Array<{ id: string; component: ComponentType<P> }>) => void;
23
- removeFunctions: (...ids: Array<string>) => void;
24
- registerFunctions: (...items: Array<{ id: string; fn: AnyFunction }>) => void;
25
- };
26
-
27
- export type Action = DropdownItem & {
28
- primary?: boolean;
29
- group?: string;
30
- /** @deprecated use onClick instead */
31
- click?: DropdownItem['onClick'];
32
- };
33
-
34
- export type ActionFactory<T> = (target: T) => Action;
35
- export type CombinedActionFactory<T> = (target: T) => Array<Action>;
36
-
37
- export type ActionMap = Record<string, Record<string, ActionFactory<unknown>>>;
38
- export type ComponentMap = Record<string, { app: string; item: ComponentType<unknown> }>;
39
- export type FunctionMap = Record<string, AnyFunction>;
40
-
41
- export type AnyFunction = (...args: unknown[]) => unknown;
@@ -1,17 +0,0 @@
1
- /*
2
- * SPDX-FileCopyrightText: 2021 Zextras <https://www.zextras.com>
3
- *
4
- * SPDX-License-Identifier: AGPL-3.0-only
5
- */
6
-
7
- export type LoginConfigStore = {
8
- carbonioWebUiDarkMode?: boolean;
9
- carbonioWebUiAppLogo?: string;
10
- carbonioWebUiDarkAppLogo?: string;
11
- carbonioWebUiTitle: string;
12
- carbonioWebUiFavicon: string;
13
- carbonioWebUiPrimaryColor?: string;
14
- carbonioWebUiDarkPrimaryColor?: string;
15
- carbonioWebUiLogoutURL?: string;
16
- loaded: boolean;
17
- };
@@ -1,309 +0,0 @@
1
- /*
2
- * SPDX-FileCopyrightText: 2021 Zextras <https://www.zextras.com>
3
- *
4
- * SPDX-License-Identifier: AGPL-3.0-only
5
- */
6
-
7
- import React from 'react';
8
- import type { ComponentType } from 'react';
9
-
10
- import type { Store } from '@reduxjs/toolkit';
11
- import type { To } from 'history';
12
-
13
- import { DARK_READER_VALUES } from '../../src/constants';
14
- import type { CarbonioModule, PanelMode } from '../apps';
15
-
16
- // eslint-disable-next-line no-shadow
17
- export enum JSNS {
18
- ACCOUNT = 'urn:zimbraAccount',
19
- ADMIN = 'urn:zimbraAdmin',
20
- MAIL = 'urn:zimbraMail',
21
- ALL = 'urn:zimbra',
22
- SYNC = 'urn:zimbraSync'
23
- }
24
-
25
- export type DarkReaderPropValues = (typeof DARK_READER_VALUES)[number];
26
-
27
- // eslint-disable-next-line @typescript-eslint/ban-types
28
- export type PackageDependentFunction = (app: string) => Function;
29
-
30
- export type ContextBridgeState = {
31
- packageDependentFunctions: Record<string, PackageDependentFunction>;
32
- // eslint-disable-next-line @typescript-eslint/ban-types
33
- functions: Record<string, Function>;
34
- add: (content: Partial<Omit<ContextBridgeState, 'add'>>) => void;
35
- };
36
-
37
- export type LoadedAppRuntime = AppInjections & {
38
- pkg: CarbonioModule;
39
- };
40
-
41
- export type LoadedAppsCache = {
42
- [pkgName: string]: LoadedAppRuntime;
43
- };
44
-
45
- export type AppInjections = {
46
- store: Store;
47
- };
48
-
49
- export type HistoryParams =
50
- | {
51
- path: To;
52
- route?: string;
53
- }
54
- | string;
55
- export type UtilityBarStore = {
56
- mode: PanelMode;
57
- setMode: (mode: PanelMode) => void;
58
- current?: string;
59
- setCurrent: (current: string) => void;
60
- secondaryBarState: boolean;
61
- setSecondaryBarState: (state: boolean) => void;
62
- };
63
-
64
- export type AccountProps = {
65
- accountId?: string;
66
- type?: string;
67
- id?: number;
68
- email?: string;
69
- label?: string;
70
- personaLabel?: string;
71
- identityId?: string;
72
- };
73
-
74
- /** @deprecated */
75
- export type IdentityProps = {
76
- id: string;
77
- /**
78
- * Type of the identity
79
- */
80
- flgType: 'primary' | 'persona' | 'IMAP' | 'POP';
81
- /**
82
- * Localized description of the type of identity
83
- */
84
- type: string;
85
- /**
86
- * is a number while you are creating a new one
87
- */
88
- identityId: string | number;
89
- fromAddress?: string;
90
- identityName?: string;
91
- fromDisplay?: string;
92
- recoveryAccount?: string;
93
- replyToDisplay?: string;
94
- replyToAddress?: string;
95
- replyToEnabled?: string;
96
- saveToSent?: string;
97
- sentMailFolder?: string;
98
- whenInFoldersEnabled?: string;
99
- whenSentToEnabled?: string;
100
- whenSentToAddresses?: string;
101
- };
102
-
103
- export type CreateModalProps = {
104
- background: string;
105
- centered: boolean;
106
- children: React.ReactElement;
107
- confirmColor: string;
108
- confirmLabel: string;
109
- copyLabel: string;
110
- customFooter: React.ReactElement;
111
- disablePortal: boolean;
112
- dismissLabel: string;
113
- hideFooter: boolean;
114
- maxHeight: string;
115
- onClose: () => void;
116
- onConfirm: () => void;
117
- onSecondaryAction: () => void;
118
- optionalFooter: React.ReactElement;
119
- secondaryActionLabel: string;
120
- showCloseIcon: boolean;
121
- size: string;
122
- title: string;
123
- type: string;
124
- zIndex: number;
125
- };
126
-
127
- // Custom metadata
128
- type Meta<T extends Record<string, unknown>> = {
129
- // Section. Normally present. If absent this indicates that CustomMetadata info is present but there are no sections to report on.
130
- section?: string;
131
- _attrs: T;
132
- };
133
- // Grants
134
- type Grant = {
135
- // Rights - Some combination of (r)ead, (w)rite, (i)nsert, (d)elete, (a)dminister, workflow action (x), view (p)rivate, view (f)reebusy, (c)reate subfolder
136
- perm: string;
137
- /* The type of Grantee:
138
- "usr",
139
- "grp",
140
- "dom" (domain),
141
- "cos",
142
- "all" (all authenticated users),
143
- "pub" (public authenticated and unauthenticated access),
144
- "guest" (non-Zimbra email address and password),
145
- "key" (non-Zimbra email address and access key)
146
- */
147
- gt: 'usr' | 'grp' | 'dom' | 'cos' | 'all' | 'guest' | 'key' | 'pub';
148
- // Grantee ID
149
- zid: string;
150
- // Time when this grant expires. For internal/guest grant: If this attribute is not specified, the expiry of the grant is derived from internalGrantExpiry/guestGrantExpiry of the ACL it is part of. If this attribute is specified (overridden), the expiry value can not be greater than the corresponding expiry value in the ACL. For public grant: If this attribute is not specified, defaults to the maximum allowed expiry for a public grant. If not specified in the response, defaults to 0. Value of 0 indicates that this grant never expires.
151
- expiry?: string;
152
- // Name or email address of the principal being granted rights. optional if {grantee-type} is "all"/"guest"/"pub". When specified in a request, this can be just the username portion of the address in the default domain.
153
- d?: string;
154
- // Optional argument. password when {grantee-type} is "guest"
155
- pw?: string;
156
- // Optional argument. Access key when {grantee-type} is "key"
157
- key?: string;
158
- };
159
- export type SoapPolicy = {
160
- // Retention policy type
161
- type?: 'user' | 'system';
162
- id?: string;
163
- name?: string;
164
- lifetime?: string;
165
- };
166
-
167
- export type SoapRetentionPolicy = Array<{
168
- keep: Array<{ policy: SoapPolicy }>;
169
- purge: Array<{ policy: SoapPolicy }>;
170
- }>;
171
-
172
- export type FolderView =
173
- | 'search folder'
174
- | 'tag'
175
- | 'conversation'
176
- | 'message'
177
- | 'contact'
178
- | 'document'
179
- | 'appointment'
180
- | 'virtual conversation'
181
- | 'remote folder'
182
- | 'wiki'
183
- | 'task'
184
- | 'chat';
185
- export type BaseFolder = {
186
- // Folder ID
187
- id: string;
188
- // Item's UUID - a globally unique identifier
189
- uuid: string;
190
- // Name of folder; max length 128; whitespace is trimmed by server; Cannot contain ':', '"', '/', or any character below 0x20
191
- name: string;
192
- // Absolute Folder path
193
- absFolderPath?: string;
194
- // ID of parent folder (absent for root folder)
195
- l?: string;
196
- // UUID of parent folder (absent for root folder)
197
- luuid?: string;
198
- // Flags - checked in UI (#), exclude free/(b)usy info, IMAP subscribed (*), does not (i)nherit rights from parent, is a s(y)nc folder with external data source, sync is turned on(~), folder does n(o)t allow inferiors / children
199
- f?: string;
200
- // color numeric; range 0-127; defaults to 0 if not present; client can display only 0-7
201
- color?: number;
202
- // RGB color in format #rrggbb where r,g and b are hex digits
203
- rgb?: string;
204
- // Number of unread messages in folder
205
- u?: number;
206
- // Number of unread messages with this tag, including those with the IMAP \Deleted flag set
207
- i4u?: number;
208
- // (optional) Default type for the folder; used by web client to decide which view to use;
209
- view?: FolderView;
210
- // Revision
211
- rev?: number;
212
- // Modified sequence
213
- ms?: number;
214
- // Modified date in seconds
215
- md?: number;
216
- // Number of non-subfolder items in folder
217
- n?: number;
218
- // Number of non-subfolder items in folder, including those with the IMAP \Deleted flag set
219
- i4n?: number;
220
- // Total size of all of non-subfolder items in folder
221
- s?: number;
222
- // Imap modified sequence
223
- i4ms?: number;
224
- // IMAP UIDNEXT
225
- i4next?: number;
226
- // URL (RSS, iCal, etc.) this folder syncs its contents to
227
- url?: string;
228
- activesyncdisabled: boolean;
229
- // Number of days for which web client would sync folder data for offline use
230
- webOfflineSyncDays?: number;
231
- // For remote folders, the access rights the authenticated user has on the folder - will contain the calculated (c)reate folder permission if the user has both (i)nsert and (r)ead access on the folder
232
- perm?: string;
233
- // recursive
234
- recursive: boolean;
235
- // URL to the folder in the REST interface for rest-enabled apps (such as notebook)
236
- rest?: string;
237
- // whether this folder can be deleted
238
- deletable: boolean;
239
- // custom metadata
240
- meta?: Array<Meta>;
241
- // ACL for sharing
242
- acl?: { grant: Array<Grant> };
243
- retentionPolicy?: SoapRetentionPolicy;
244
- // indicates whether this folder is displayed in Calendars
245
- checked?: boolean;
246
- };
247
-
248
- export type LinkFolderFields = {
249
- // Primary email address of the owner of the linked-to resource
250
- owner?: string;
251
- // Zimbra ID (guid) of the owner of the linked-to resource
252
- zid?: string;
253
- // Item ID of the linked-to resource in the remote mailbox
254
- rid?: string;
255
- // UUID of the linked-to resource in the remote mailbox
256
- ruuid?: string;
257
- // The name presently used for the item by the owner
258
- oname?: string;
259
- // If set, client should display reminders for shared appointments/tasks
260
- reminder: boolean;
261
- // If "tr" is true in the request, broken is set if this is a broken link
262
- broken: boolean;
263
- };
264
- export type SearchFolderFields = {
265
- // Query
266
- query?: string;
267
- // Sort by
268
- sortBy?: SortBy;
269
- // Comma-separated list. Legal values in list are:
270
- // appointment|chat|contact|conversation|document|message|tag|task|wiki (default is "conversation")
271
- types?: string;
272
- };
273
-
274
- export type SortBy =
275
- | 'dateDesc'
276
- | 'dateAsc'
277
- | 'idDesc'
278
- | 'idAsc'
279
- | 'subjDesc'
280
- | 'subjAsc'
281
- | 'nameDesc'
282
- | 'nameAsc'
283
- | 'durDesc'
284
- | 'durAsc'
285
- | 'none'
286
- | 'taskDueAsc'
287
- | 'taskDueDesc'
288
- | 'taskStatusAsc'
289
- | 'taskStatusDesc'
290
- | 'taskPercCompletedAsc'
291
- | 'taskPercCompletedDesc'
292
- | 'rcptAsc'
293
- | 'rcptDesc'
294
- | 'readAsc'
295
- | 'readDesc';
296
-
297
- export type AccordionFolder = {
298
- id: string;
299
- label: string;
300
- folder: Folder;
301
- CustomComponent: ComponentType<{ folder: Folder }>;
302
- items: Array<AccordionFolder>;
303
- };
304
-
305
- export type TreeNode<T> = T & {
306
- id: string;
307
- children: TreeNode<T>[];
308
- parent?: TreeNode<T>;
309
- };
@@ -1,106 +0,0 @@
1
- /*
2
- * SPDX-FileCopyrightText: 2022 Zextras <https://www.zextras.com>
3
- *
4
- * SPDX-License-Identifier: AGPL-3.0-only
5
- */
6
- // The type of grantee:
7
- export type GranteeType =
8
- // usr - Zimbra user
9
- | 'usr'
10
- // grp - Zimbra group(distribution list)
11
- | 'grp'
12
- // an external AD group
13
- | 'egp'
14
- // all - all authenticated users
15
- | 'all'
16
- // Zimbra Domain
17
- | 'dom'
18
- // non-Zimbra domain (used with sendToDistList right)
19
- | 'edom'
20
- // gst - non-Zimbra email address and password (not yet supported)
21
- | 'gst'
22
- // key - external user with an accesskey
23
- | 'key'
24
- // pub - public authenticated and unauthenticated access
25
- | 'pub'
26
- // Pseudo grantee type. Granting code will map to usr/grp/egp or gst
27
- | 'email';
28
-
29
- export type Right =
30
- // Following rights are partial, they are the result of
31
- // description: automatically add meeting invites from grantee to the target's calendar
32
- // right type: preset
33
- // target type(s): account
34
- // grant target type: (default)
35
- // right class: USER
36
- | 'invite'
37
- // description: login as another user. Currently this is only honored for imap/pop3 login.
38
- // right type: preset
39
- // target type(s): account
40
- // grant target type: (default)
41
- // right class: USER
42
- | 'loginAs'
43
- // description: reply to messages in a shared folder as the owner of the folder
44
- // right type: preset
45
- // target type(s): account
46
- // grant target type: account
47
- // right class: USER
48
- | 'sendAs'
49
- // description: send messages on behalf of the grantor
50
- // right type: preset
51
- // target type(s): account
52
- // grant target type: account
53
- // right class: USER
54
- | 'sendOnBehalfOf'
55
- // description: view free/busy
56
- // right type: preset
57
- // target type(s): account
58
- // grant target type: (default)
59
- // right class: USER
60
- | 'viewFreeBusy';
61
-
62
- /** Specify Access Control Entries */
63
- export interface AccountACEInfo {
64
- /** Zimbra ID of the grantee */
65
- zid?: string;
66
- /**
67
- * The type of grantee:
68
- * usr - Zimbra user
69
- * grp - Zimbra group(distribution list)
70
- * all - all authenticated users
71
- * gst - non-Zimbra email address and password (not yet supported)
72
- * key - external user with an accesskey
73
- * pub - public authenticated and unauthenticated access
74
- * If the value is:
75
- * usr - either {zimbra-id} or {grantee-name} is required
76
- * grp - either {zimbra-id} or {grantee-name} is required
77
- * all - {zimbra-id}, {grantee-name} and {password} are ignored
78
- * gst - {zimbra-id} is ignored, {grantee-name} is required, {password} is optional
79
- * key - {zimbra-id} is ignored, {grantee-name} is required
80
- * pub - {zimbra-id}, {grantee-name} and {password} are ignored
81
- * For usr and grp:
82
- * if {zimbra-id} is provided, server will lookup the entry by {zimbra-id} and
83
- * if {zimbra-id} is not provided, server will lookup the grantee by {grantee-type} and {grantee-name}
84
- * if the lookup fails, NO_SUCH_ACCOUNT/NO_SUCH_DISTRIBUTION_LIST will be thrown.
85
- * If {grantee-type} == key:
86
- * if key is given, server will use that as the access key for this grant
87
- * if key is not given, server will generate an access key
88
- * If chkgt is "1 (true)", INVALID_REQUEST will be thrown if wrong grantee type is specified.
89
- */
90
- gt: GranteeType;
91
- /** Right */
92
- right: Right;
93
- /**
94
- * Name or email address of the grantee.
95
- * Not present if {grantee-type} is "all" or "pub"
96
- */
97
- d?: string;
98
- /** Optional access key when {grantee-type} is "key" */
99
- key?: string;
100
- /** Password when {grantee-type} is "gst" (not yet supported) */
101
- pw?: string;
102
- /** "1" if a right is specifically denied or "0" (default) */
103
- deny?: boolean;
104
- /** "1 (true)" if check grantee type or "0 (false)" (default) */
105
- chkgt?: boolean;
106
- }