@marcoappio/marco-config 4.0.26 → 6.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 (465) hide show
  1. package/dist/constants/api.d.ts +9 -0
  2. package/dist/constants/api.d.ts.map +1 -0
  3. package/dist/constants/api.js +8 -0
  4. package/dist/constants/emailAccounts.d.ts.map +1 -1
  5. package/dist/constants/emailAccounts.js +14 -1
  6. package/dist/constants/emailProvider.js +1 -1
  7. package/dist/constants/index.d.ts +11 -3
  8. package/dist/constants/index.d.ts.map +1 -1
  9. package/dist/constants/index.js +7 -5
  10. package/dist/constants/messages.d.ts.map +1 -1
  11. package/dist/constants/oauth.d.ts +2 -2
  12. package/dist/constants/oauth.d.ts.map +1 -1
  13. package/dist/constants/oauth.js +5 -1
  14. package/dist/constants/user.d.ts +1 -1
  15. package/dist/constants/user.d.ts.map +1 -1
  16. package/dist/constants/user.js +1 -1
  17. package/dist/index.d.ts +6 -5
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +6 -5
  20. package/dist/marcoPublicConfig.d.ts +36 -0
  21. package/dist/marcoPublicConfig.d.ts.map +1 -0
  22. package/dist/marcoPublicConfig.js +99 -0
  23. package/dist/schemas/app.d.ts +2 -2
  24. package/dist/schemas/app.d.ts.map +1 -1
  25. package/dist/schemas/app.js +3 -3
  26. package/dist/schemas/auth.d.ts +1 -1
  27. package/dist/schemas/auth.d.ts.map +1 -1
  28. package/dist/schemas/auth.js +2 -2
  29. package/dist/schemas/boolean.d.ts +5 -0
  30. package/dist/schemas/boolean.d.ts.map +1 -0
  31. package/dist/schemas/boolean.js +4 -0
  32. package/dist/schemas/emailAccount.d.ts +10 -10
  33. package/dist/schemas/emailAccount.d.ts.map +1 -1
  34. package/dist/schemas/emailAccount.js +13 -13
  35. package/dist/schemas/id.d.ts +1 -6
  36. package/dist/schemas/id.d.ts.map +1 -1
  37. package/dist/schemas/id.js +1 -2
  38. package/dist/schemas/index.d.ts +429 -60
  39. package/dist/schemas/index.d.ts.map +1 -1
  40. package/dist/schemas/index.js +21 -9
  41. package/dist/schemas/labels.d.ts +5 -0
  42. package/dist/schemas/labels.d.ts.map +1 -0
  43. package/dist/schemas/labels.js +5 -0
  44. package/dist/schemas/models/account.d.ts +3 -3
  45. package/dist/schemas/models/account.d.ts.map +1 -1
  46. package/dist/schemas/models/account.js +8 -8
  47. package/dist/schemas/models/contact.d.ts +2 -2
  48. package/dist/schemas/models/contact.d.ts.map +1 -1
  49. package/dist/schemas/models/contact.js +4 -4
  50. package/dist/schemas/models/draft.d.ts +9 -9
  51. package/dist/schemas/models/draft.d.ts.map +1 -1
  52. package/dist/schemas/models/draft.js +9 -9
  53. package/dist/schemas/models/index.d.ts +5 -5
  54. package/dist/schemas/models/index.d.ts.map +1 -1
  55. package/dist/schemas/models/index.js +5 -5
  56. package/dist/schemas/models/thread.d.ts +46 -28
  57. package/dist/schemas/models/thread.d.ts.map +1 -1
  58. package/dist/schemas/models/thread.js +12 -11
  59. package/dist/schemas/models/user.d.ts +30 -3
  60. package/dist/schemas/models/user.d.ts.map +1 -1
  61. package/dist/schemas/models/user.js +21 -5
  62. package/dist/schemas/mutators/index.d.ts +2 -0
  63. package/dist/schemas/mutators/index.d.ts.map +1 -0
  64. package/dist/schemas/mutators/index.js +1 -0
  65. package/dist/schemas/mutators/mutatorSchemas.d.ts +314 -0
  66. package/dist/schemas/mutators/mutatorSchemas.d.ts.map +1 -0
  67. package/dist/schemas/mutators/mutatorSchemas.js +229 -0
  68. package/dist/schemas/number.d.ts +5 -3
  69. package/dist/schemas/number.d.ts.map +1 -1
  70. package/dist/schemas/number.js +5 -4
  71. package/dist/schemas/oauth.d.ts +2 -2
  72. package/dist/schemas/oauth.d.ts.map +1 -1
  73. package/dist/schemas/oauth.js +3 -3
  74. package/dist/schemas/paginatedResponse.d.ts +10 -0
  75. package/dist/schemas/paginatedResponse.d.ts.map +1 -0
  76. package/dist/schemas/paginatedResponse.js +5 -0
  77. package/dist/schemas/pushNotifications.d.ts +3 -3
  78. package/dist/schemas/pushNotifications.d.ts.map +1 -1
  79. package/dist/schemas/pushNotifications.js +4 -3
  80. package/dist/schemas/string.d.ts +4 -2
  81. package/dist/schemas/string.d.ts.map +1 -1
  82. package/dist/schemas/string.js +5 -4
  83. package/dist/schemas/websocket.d.ts +14 -0
  84. package/dist/schemas/websocket.d.ts.map +1 -0
  85. package/dist/schemas/websocket.js +10 -0
  86. package/dist/sdk/endpoints/createEndpointConfig.d.ts +12 -0
  87. package/dist/sdk/endpoints/createEndpointConfig.d.ts.map +1 -0
  88. package/dist/sdk/endpoints/createEndpointConfig.js +21 -0
  89. package/dist/sdk/endpoints/index.d.ts +255 -0
  90. package/dist/sdk/endpoints/index.d.ts.map +1 -0
  91. package/dist/sdk/endpoints/index.js +6 -0
  92. package/dist/sdk/endpoints/private/draftAttachment/index.d.ts +31 -0
  93. package/dist/sdk/endpoints/private/draftAttachment/index.d.ts.map +1 -0
  94. package/dist/sdk/endpoints/private/draftAttachment/index.js +4 -0
  95. package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.d.ts +30 -0
  96. package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.d.ts.map +1 -0
  97. package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.js +18 -0
  98. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts +21 -0
  99. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts.map +1 -0
  100. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.js +16 -0
  101. package/dist/sdk/endpoints/private/emailMessage/index.d.ts +22 -0
  102. package/dist/sdk/endpoints/private/emailMessage/index.d.ts.map +1 -0
  103. package/dist/sdk/endpoints/private/emailMessage/index.js +4 -0
  104. package/dist/sdk/endpoints/private/index.d.ts +103 -0
  105. package/dist/sdk/endpoints/private/index.d.ts.map +1 -0
  106. package/dist/sdk/endpoints/private/index.js +12 -0
  107. package/dist/sdk/endpoints/private/models/account/getAccounts.d.ts +70 -0
  108. package/dist/sdk/endpoints/private/models/account/getAccounts.d.ts.map +1 -0
  109. package/dist/sdk/endpoints/private/models/account/getAccounts.js +26 -0
  110. package/dist/sdk/endpoints/private/models/account/index.d.ts +2 -0
  111. package/dist/sdk/endpoints/private/models/account/index.d.ts.map +1 -0
  112. package/dist/sdk/endpoints/private/models/account/index.js +1 -0
  113. package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts +41 -0
  114. package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts.map +1 -0
  115. package/dist/sdk/endpoints/private/models/contact/getContacts.js +26 -0
  116. package/dist/sdk/endpoints/private/models/contact/index.d.ts +2 -0
  117. package/dist/sdk/endpoints/private/models/contact/index.d.ts.map +1 -0
  118. package/dist/sdk/endpoints/private/models/contact/index.js +1 -0
  119. package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts +62 -0
  120. package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts.map +1 -0
  121. package/dist/sdk/endpoints/private/models/draft/getDrafts.js +25 -0
  122. package/dist/sdk/endpoints/private/models/draft/index.d.ts +2 -0
  123. package/dist/sdk/endpoints/private/models/draft/index.d.ts.map +1 -0
  124. package/dist/sdk/endpoints/private/models/draft/index.js +1 -0
  125. package/dist/sdk/endpoints/private/models/index.d.ts +13 -0
  126. package/dist/sdk/endpoints/private/models/index.d.ts.map +1 -0
  127. package/dist/sdk/endpoints/private/models/index.js +12 -0
  128. package/dist/sdk/endpoints/private/models/thread/getThread.d.ts +63 -0
  129. package/dist/sdk/endpoints/private/models/thread/getThread.d.ts.map +1 -0
  130. package/dist/sdk/endpoints/private/models/thread/getThread.js +17 -0
  131. package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts +63 -0
  132. package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts.map +1 -0
  133. package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.js +17 -0
  134. package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts +79 -0
  135. package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts.map +1 -0
  136. package/dist/sdk/endpoints/private/models/thread/getThreadList.js +47 -0
  137. package/dist/sdk/endpoints/private/models/thread/getThreads.d.ts +83 -0
  138. package/dist/sdk/endpoints/private/models/thread/getThreads.d.ts.map +1 -0
  139. package/dist/sdk/endpoints/private/models/thread/getThreads.js +36 -0
  140. package/dist/sdk/endpoints/private/models/thread/index.d.ts +5 -0
  141. package/dist/sdk/endpoints/private/models/thread/index.d.ts.map +1 -0
  142. package/dist/sdk/endpoints/private/models/thread/index.js +4 -0
  143. package/dist/sdk/endpoints/private/models/user/getUser.d.ts +34 -0
  144. package/dist/sdk/endpoints/private/models/user/getUser.d.ts.map +1 -0
  145. package/dist/sdk/endpoints/private/models/user/getUser.js +16 -0
  146. package/dist/sdk/endpoints/private/models/user/index.d.ts +2 -0
  147. package/dist/sdk/endpoints/private/models/user/index.d.ts.map +1 -0
  148. package/dist/sdk/endpoints/private/models/user/index.js +1 -0
  149. package/dist/sdk/endpoints/private/mutations/account/createAccount.d.ts +35 -0
  150. package/dist/sdk/endpoints/private/mutations/account/createAccount.d.ts.map +1 -0
  151. package/dist/sdk/endpoints/private/mutations/account/createAccount.js +18 -0
  152. package/dist/sdk/endpoints/private/mutations/account/createAlias.d.ts +42 -0
  153. package/dist/sdk/endpoints/private/mutations/account/createAlias.d.ts.map +1 -0
  154. package/dist/sdk/endpoints/private/mutations/account/createAlias.js +19 -0
  155. package/dist/sdk/endpoints/private/mutations/account/createLabel.d.ts +44 -0
  156. package/dist/sdk/endpoints/private/mutations/account/createLabel.d.ts.map +1 -0
  157. package/dist/sdk/endpoints/private/mutations/account/createLabel.js +20 -0
  158. package/dist/sdk/endpoints/private/mutations/account/deleteAccount.d.ts +27 -0
  159. package/dist/sdk/endpoints/private/mutations/account/deleteAccount.d.ts.map +1 -0
  160. package/dist/sdk/endpoints/private/mutations/account/deleteAccount.js +18 -0
  161. package/dist/sdk/endpoints/private/mutations/account/deleteAlias.d.ts +33 -0
  162. package/dist/sdk/endpoints/private/mutations/account/deleteAlias.d.ts.map +1 -0
  163. package/dist/sdk/endpoints/private/mutations/account/deleteAlias.js +19 -0
  164. package/dist/sdk/endpoints/private/mutations/account/deleteLabel.d.ts +43 -0
  165. package/dist/sdk/endpoints/private/mutations/account/deleteLabel.d.ts.map +1 -0
  166. package/dist/sdk/endpoints/private/mutations/account/deleteLabel.js +20 -0
  167. package/dist/sdk/endpoints/private/mutations/account/index.d.ts +14 -0
  168. package/dist/sdk/endpoints/private/mutations/account/index.d.ts.map +1 -0
  169. package/dist/sdk/endpoints/private/mutations/account/index.js +13 -0
  170. package/dist/sdk/endpoints/private/mutations/account/renameLabel.d.ts +49 -0
  171. package/dist/sdk/endpoints/private/mutations/account/renameLabel.d.ts.map +1 -0
  172. package/dist/sdk/endpoints/private/mutations/account/renameLabel.js +21 -0
  173. package/dist/sdk/endpoints/private/mutations/account/setAliasName.d.ts +44 -0
  174. package/dist/sdk/endpoints/private/mutations/account/setAliasName.d.ts.map +1 -0
  175. package/dist/sdk/endpoints/private/mutations/account/setAliasName.js +20 -0
  176. package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.d.ts +33 -0
  177. package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.d.ts.map +1 -0
  178. package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.js +19 -0
  179. package/dist/sdk/endpoints/private/mutations/account/setAliasSignature.d.ts +44 -0
  180. package/dist/sdk/endpoints/private/mutations/account/setAliasSignature.d.ts.map +1 -0
  181. package/dist/sdk/endpoints/private/mutations/account/setAliasSignature.js +20 -0
  182. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.d.ts +49 -0
  183. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.d.ts.map +1 -0
  184. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.js +19 -0
  185. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.d.ts +42 -0
  186. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.d.ts.map +1 -0
  187. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.js +19 -0
  188. package/dist/sdk/endpoints/private/mutations/account/setSettings.d.ts +39 -0
  189. package/dist/sdk/endpoints/private/mutations/account/setSettings.d.ts.map +1 -0
  190. package/dist/sdk/endpoints/private/mutations/account/setSettings.js +19 -0
  191. package/dist/sdk/endpoints/private/mutations/draft/cancelSend.d.ts +28 -0
  192. package/dist/sdk/endpoints/private/mutations/draft/cancelSend.d.ts.map +1 -0
  193. package/dist/sdk/endpoints/private/mutations/draft/cancelSend.js +18 -0
  194. package/dist/sdk/endpoints/private/mutations/draft/createAttachment.d.ts +45 -0
  195. package/dist/sdk/endpoints/private/mutations/draft/createAttachment.d.ts.map +1 -0
  196. package/dist/sdk/endpoints/private/mutations/draft/createAttachment.js +19 -0
  197. package/dist/sdk/endpoints/private/mutations/draft/createDraft.d.ts +60 -0
  198. package/dist/sdk/endpoints/private/mutations/draft/createDraft.d.ts.map +1 -0
  199. package/dist/sdk/endpoints/private/mutations/draft/createDraft.js +19 -0
  200. package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.d.ts +34 -0
  201. package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.d.ts.map +1 -0
  202. package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.js +19 -0
  203. package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.d.ts +27 -0
  204. package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.d.ts.map +1 -0
  205. package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.js +18 -0
  206. package/dist/sdk/endpoints/private/mutations/draft/index.d.ts +10 -0
  207. package/dist/sdk/endpoints/private/mutations/draft/index.d.ts.map +1 -0
  208. package/dist/sdk/endpoints/private/mutations/draft/index.js +9 -0
  209. package/dist/sdk/endpoints/private/mutations/draft/replaceContent.d.ts +39 -0
  210. package/dist/sdk/endpoints/private/mutations/draft/replaceContent.d.ts.map +1 -0
  211. package/dist/sdk/endpoints/private/mutations/draft/replaceContent.js +19 -0
  212. package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.d.ts +45 -0
  213. package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.d.ts.map +1 -0
  214. package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.js +19 -0
  215. package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts +85 -0
  216. package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts.map +1 -0
  217. package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.js +19 -0
  218. package/dist/sdk/endpoints/private/mutations/draft/setFrom.d.ts +47 -0
  219. package/dist/sdk/endpoints/private/mutations/draft/setFrom.d.ts.map +1 -0
  220. package/dist/sdk/endpoints/private/mutations/draft/setFrom.js +20 -0
  221. package/dist/sdk/endpoints/private/mutations/index.d.ts +11 -0
  222. package/dist/sdk/endpoints/private/mutations/index.d.ts.map +1 -0
  223. package/dist/sdk/endpoints/private/mutations/index.js +10 -0
  224. package/dist/sdk/endpoints/private/mutations/thread/addLabel.d.ts +40 -0
  225. package/dist/sdk/endpoints/private/mutations/thread/addLabel.d.ts.map +1 -0
  226. package/dist/sdk/endpoints/private/mutations/thread/addLabel.js +19 -0
  227. package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts +34 -0
  228. package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts.map +1 -0
  229. package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.js +18 -0
  230. package/dist/sdk/endpoints/private/mutations/thread/index.d.ts +11 -0
  231. package/dist/sdk/endpoints/private/mutations/thread/index.d.ts.map +1 -0
  232. package/dist/sdk/endpoints/private/mutations/thread/index.js +10 -0
  233. package/dist/sdk/endpoints/private/mutations/thread/removeLabel.d.ts +40 -0
  234. package/dist/sdk/endpoints/private/mutations/thread/removeLabel.d.ts.map +1 -0
  235. package/dist/sdk/endpoints/private/mutations/thread/removeLabel.js +19 -0
  236. package/dist/sdk/endpoints/private/mutations/thread/setArchive.d.ts +34 -0
  237. package/dist/sdk/endpoints/private/mutations/thread/setArchive.d.ts.map +1 -0
  238. package/dist/sdk/endpoints/private/mutations/thread/setArchive.js +18 -0
  239. package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts +35 -0
  240. package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts.map +1 -0
  241. package/dist/sdk/endpoints/private/mutations/thread/setFlagged.js +18 -0
  242. package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts +34 -0
  243. package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts.map +1 -0
  244. package/dist/sdk/endpoints/private/mutations/thread/setInbox.js +18 -0
  245. package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts +35 -0
  246. package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts.map +1 -0
  247. package/dist/sdk/endpoints/private/mutations/thread/setSeen.js +18 -0
  248. package/dist/sdk/endpoints/private/mutations/thread/setSnooze.d.ts +35 -0
  249. package/dist/sdk/endpoints/private/mutations/thread/setSnooze.d.ts.map +1 -0
  250. package/dist/sdk/endpoints/private/mutations/thread/setSnooze.js +18 -0
  251. package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts +34 -0
  252. package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts.map +1 -0
  253. package/dist/sdk/endpoints/private/mutations/thread/setSpam.js +18 -0
  254. package/dist/sdk/endpoints/private/mutations/thread/setTrash.d.ts +34 -0
  255. package/dist/sdk/endpoints/private/mutations/thread/setTrash.d.ts.map +1 -0
  256. package/dist/sdk/endpoints/private/mutations/thread/setTrash.js +18 -0
  257. package/dist/sdk/endpoints/private/mutations/user/createFeedback.d.ts +34 -0
  258. package/dist/sdk/endpoints/private/mutations/user/createFeedback.d.ts.map +1 -0
  259. package/dist/sdk/endpoints/private/mutations/user/createFeedback.js +18 -0
  260. package/dist/sdk/endpoints/private/mutations/user/createView.d.ts +38 -0
  261. package/dist/sdk/endpoints/private/mutations/user/createView.d.ts.map +1 -0
  262. package/dist/sdk/endpoints/private/mutations/user/createView.js +18 -0
  263. package/dist/sdk/endpoints/private/mutations/user/deletePushToken.d.ts +23 -0
  264. package/dist/sdk/endpoints/private/mutations/user/deletePushToken.d.ts.map +1 -0
  265. package/dist/sdk/endpoints/private/mutations/user/deletePushToken.js +17 -0
  266. package/dist/sdk/endpoints/private/mutations/user/deleteView.d.ts +28 -0
  267. package/dist/sdk/endpoints/private/mutations/user/deleteView.d.ts.map +1 -0
  268. package/dist/sdk/endpoints/private/mutations/user/deleteView.js +18 -0
  269. package/dist/sdk/endpoints/private/mutations/user/index.d.ts +9 -0
  270. package/dist/sdk/endpoints/private/mutations/user/index.d.ts.map +1 -0
  271. package/dist/sdk/endpoints/private/mutations/user/index.js +8 -0
  272. package/dist/sdk/endpoints/private/mutations/user/setFeedbackModalShown.d.ts +32 -0
  273. package/dist/sdk/endpoints/private/mutations/user/setFeedbackModalShown.d.ts.map +1 -0
  274. package/dist/sdk/endpoints/private/mutations/user/setFeedbackModalShown.js +18 -0
  275. package/dist/sdk/endpoints/private/mutations/user/setPushToken.d.ts +37 -0
  276. package/dist/sdk/endpoints/private/mutations/user/setPushToken.d.ts.map +1 -0
  277. package/dist/sdk/endpoints/private/mutations/user/setPushToken.js +18 -0
  278. package/dist/sdk/endpoints/private/mutations/user/setSettingsName.d.ts +33 -0
  279. package/dist/sdk/endpoints/private/mutations/user/setSettingsName.d.ts.map +1 -0
  280. package/dist/sdk/endpoints/private/mutations/user/setSettingsName.js +18 -0
  281. package/dist/sdk/endpoints/private/mutations/user/updateView.d.ts +43 -0
  282. package/dist/sdk/endpoints/private/mutations/user/updateView.d.ts.map +1 -0
  283. package/dist/sdk/endpoints/private/mutations/user/updateView.js +19 -0
  284. package/dist/sdk/endpoints/private/user/deleteUser.d.ts +10 -0
  285. package/dist/sdk/endpoints/private/user/deleteUser.d.ts.map +1 -0
  286. package/dist/sdk/endpoints/private/user/deleteUser.js +13 -0
  287. package/dist/sdk/endpoints/private/user/index.d.ts +37 -0
  288. package/dist/sdk/endpoints/private/user/index.d.ts.map +1 -0
  289. package/dist/sdk/endpoints/private/user/index.js +6 -0
  290. package/dist/sdk/endpoints/private/user/uploadProfilePicture.d.ts +28 -0
  291. package/dist/sdk/endpoints/private/user/uploadProfilePicture.d.ts.map +1 -0
  292. package/dist/sdk/endpoints/private/user/uploadProfilePicture.js +19 -0
  293. package/dist/sdk/endpoints/public/auth/index.d.ts +133 -0
  294. package/dist/sdk/endpoints/public/auth/index.d.ts.map +1 -0
  295. package/dist/sdk/endpoints/public/auth/index.js +8 -0
  296. package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +41 -0
  297. package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts.map +1 -0
  298. package/dist/sdk/endpoints/public/auth/refreshAuth.js +33 -0
  299. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +27 -0
  300. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts.map +1 -0
  301. package/dist/sdk/endpoints/public/auth/sendAuthCode.js +19 -0
  302. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +68 -0
  303. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts.map +1 -0
  304. package/dist/sdk/endpoints/public/auth/verifyAuthCode.js +36 -0
  305. package/dist/sdk/endpoints/public/config/index.d.ts +10 -0
  306. package/dist/sdk/endpoints/public/config/index.d.ts.map +1 -0
  307. package/dist/sdk/endpoints/public/config/index.js +15 -0
  308. package/dist/sdk/endpoints/public/healthcheck/index.d.ts +8 -0
  309. package/dist/sdk/endpoints/public/healthcheck/index.d.ts.map +1 -0
  310. package/dist/sdk/endpoints/public/healthcheck/index.js +10 -0
  311. package/dist/sdk/endpoints/public/index.d.ts +149 -0
  312. package/dist/sdk/endpoints/public/index.d.ts.map +1 -0
  313. package/dist/sdk/endpoints/public/index.js +8 -0
  314. package/dist/sdk/index.d.ts +426 -0
  315. package/dist/sdk/index.d.ts.map +1 -0
  316. package/dist/sdk/index.js +6 -0
  317. package/dist/sdk/validation/errors.d.ts +326 -0
  318. package/dist/sdk/validation/errors.d.ts.map +1 -0
  319. package/dist/sdk/validation/errors.js +140 -0
  320. package/dist/sdk/validation/index.d.ts +172 -0
  321. package/dist/sdk/validation/index.d.ts.map +1 -0
  322. package/dist/sdk/validation/index.js +3 -0
  323. package/dist/sdk/validation/utils/flattenRequirements/flattenRequirements.d.ts +11 -0
  324. package/dist/sdk/validation/utils/flattenRequirements/flattenRequirements.d.ts.map +1 -0
  325. package/dist/sdk/validation/utils/flattenRequirements/flattenRequirements.js +22 -0
  326. package/dist/sdk/validation/utils/flattenRequirements/index.d.ts +2 -0
  327. package/dist/sdk/validation/utils/flattenRequirements/index.d.ts.map +1 -0
  328. package/dist/sdk/validation/utils/flattenRequirements/index.js +1 -0
  329. package/dist/sdk/validation/utils/index.d.ts +7 -0
  330. package/dist/sdk/validation/utils/index.d.ts.map +1 -0
  331. package/dist/sdk/validation/utils/index.js +4 -0
  332. package/dist/types/AuthData.d.ts +4 -0
  333. package/dist/types/AuthData.d.ts.map +1 -0
  334. package/dist/types/AuthData.js +1 -0
  335. package/dist/types/DraftAttachmentUploadStatus.d.ts +1 -1
  336. package/dist/types/DraftAttachmentUploadStatus.d.ts.map +1 -1
  337. package/dist/types/DraftStatus.d.ts +1 -1
  338. package/dist/types/DraftStatus.d.ts.map +1 -1
  339. package/dist/types/DraftType.d.ts +1 -1
  340. package/dist/types/DraftType.d.ts.map +1 -1
  341. package/dist/types/Endpoint.d.ts +25 -0
  342. package/dist/types/Endpoint.d.ts.map +1 -0
  343. package/dist/types/Endpoint.js +1 -0
  344. package/dist/types/IMAPConnectionStatus.d.ts +1 -1
  345. package/dist/types/IMAPConnectionStatus.d.ts.map +1 -1
  346. package/dist/types/IMAPSourceLocation.d.ts +1 -1
  347. package/dist/types/LabelSpecialUse.d.ts +1 -1
  348. package/dist/types/LabelSpecialUse.d.ts.map +1 -1
  349. package/dist/types/MarcoPlatform.d.ts +1 -1
  350. package/dist/types/MarcoPlatform.d.ts.map +1 -1
  351. package/dist/types/MessageRecipientType.d.ts +1 -1
  352. package/dist/types/MessageRecipientType.d.ts.map +1 -1
  353. package/dist/types/OAuthProvider.d.ts +1 -1
  354. package/dist/types/OAuthProvider.d.ts.map +1 -1
  355. package/dist/types/PokeEvent.d.ts +6 -0
  356. package/dist/types/PokeEvent.d.ts.map +1 -0
  357. package/dist/types/PokeEvent.js +1 -0
  358. package/dist/types/SDKError.d.ts +4 -0
  359. package/dist/types/SDKError.d.ts.map +1 -0
  360. package/dist/types/SDKError.js +1 -0
  361. package/dist/types/UserSettings.d.ts +15 -16
  362. package/dist/types/UserSettings.d.ts.map +1 -1
  363. package/dist/types/UserSettings.js +29 -15
  364. package/dist/types/index.d.ts +15 -11
  365. package/dist/types/index.d.ts.map +1 -1
  366. package/dist/types/index.js +15 -11
  367. package/dist/utils/accounts/generateAccountColor.d.ts.map +1 -1
  368. package/dist/utils/accounts/generateAccountColor.js +15 -10
  369. package/dist/utils/accounts/index.d.ts +3 -1
  370. package/dist/utils/accounts/index.d.ts.map +1 -1
  371. package/dist/utils/accounts/index.js +4 -1
  372. package/dist/utils/index.d.ts +3 -3
  373. package/dist/utils/index.d.ts.map +1 -1
  374. package/dist/utils/index.js +3 -3
  375. package/dist/utils/labels/index.d.ts +3 -2
  376. package/dist/utils/labels/index.d.ts.map +1 -1
  377. package/dist/utils/labels/index.js +4 -1
  378. package/dist/utils/threads/index.d.ts +4 -2
  379. package/dist/utils/threads/index.d.ts.map +1 -1
  380. package/dist/utils/threads/index.js +6 -2
  381. package/dist/utils/threads/parseLabelIdList/index.d.ts +2 -0
  382. package/dist/utils/threads/parseLabelIdList/index.d.ts.map +1 -0
  383. package/dist/utils/threads/parseLabelIdList/index.js +1 -0
  384. package/dist/utils/threads/processSearchTerm/index.d.ts +2 -0
  385. package/dist/utils/threads/processSearchTerm/index.d.ts.map +1 -0
  386. package/dist/utils/threads/processSearchTerm/index.js +1 -0
  387. package/package.json +13 -28
  388. package/dist/appwrite/appwrite.d.ts +0 -77
  389. package/dist/appwrite/appwrite.d.ts.map +0 -1
  390. package/dist/appwrite/appwrite.js +0 -61
  391. package/dist/appwrite/appwrite.test.d.ts +0 -2
  392. package/dist/appwrite/appwrite.test.d.ts.map +0 -1
  393. package/dist/appwrite/appwrite.test.js +0 -901
  394. package/dist/appwrite/commands.d.ts +0 -5093
  395. package/dist/appwrite/commands.d.ts.map +0 -1
  396. package/dist/appwrite/commands.js +0 -208
  397. package/dist/appwrite/commands.test.d.ts +0 -2
  398. package/dist/appwrite/commands.test.d.ts.map +0 -1
  399. package/dist/appwrite/commands.test.js +0 -425
  400. package/dist/appwrite/decodedSchemas.d.ts +0 -35
  401. package/dist/appwrite/decodedSchemas.d.ts.map +0 -1
  402. package/dist/appwrite/decodedSchemas.js +0 -18
  403. package/dist/appwrite/functions.d.ts +0 -2806
  404. package/dist/appwrite/functions.d.ts.map +0 -1
  405. package/dist/appwrite/functions.js +0 -192
  406. package/dist/appwrite/functions.test.d.ts +0 -2
  407. package/dist/appwrite/functions.test.d.ts.map +0 -1
  408. package/dist/appwrite/functions.test.js +0 -370
  409. package/dist/appwrite/index.d.ts +0 -8
  410. package/dist/appwrite/index.d.ts.map +0 -1
  411. package/dist/appwrite/index.js +0 -5
  412. package/dist/appwrite/queryContracts/queryContracts.d.ts +0 -392
  413. package/dist/appwrite/queryContracts/queryContracts.d.ts.map +0 -1
  414. package/dist/appwrite/queryContracts/queryContracts.js +0 -299
  415. package/dist/appwrite/queryContracts/queryContracts.test.d.ts +0 -2
  416. package/dist/appwrite/queryContracts/queryContracts.test.d.ts.map +0 -1
  417. package/dist/appwrite/queryContracts/queryContracts.test.js +0 -39
  418. package/dist/appwrite/tableContract/identity.d.ts +0 -207
  419. package/dist/appwrite/tableContract/identity.d.ts.map +0 -1
  420. package/dist/appwrite/tableContract/identity.js +0 -169
  421. package/dist/appwrite/tableContract/index.d.ts +0 -3125
  422. package/dist/appwrite/tableContract/index.d.ts.map +0 -1
  423. package/dist/appwrite/tableContract/index.js +0 -94
  424. package/dist/appwrite/tableContract/index.test.d.ts +0 -2
  425. package/dist/appwrite/tableContract/index.test.d.ts.map +0 -1
  426. package/dist/appwrite/tableContract/index.test.js +0 -150
  427. package/dist/appwrite/tableContract/mailbox.d.ts +0 -276
  428. package/dist/appwrite/tableContract/mailbox.d.ts.map +0 -1
  429. package/dist/appwrite/tableContract/mailbox.js +0 -261
  430. package/dist/appwrite/tableContract/operational.d.ts +0 -247
  431. package/dist/appwrite/tableContract/operational.d.ts.map +0 -1
  432. package/dist/appwrite/tableContract/operational.js +0 -167
  433. package/dist/appwrite/tableContract/shared.d.ts +0 -145
  434. package/dist/appwrite/tableContract/shared.d.ts.map +0 -1
  435. package/dist/appwrite/tableContract/shared.js +0 -83
  436. package/dist/index.test.d.ts +0 -2
  437. package/dist/index.test.d.ts.map +0 -1
  438. package/dist/index.test.js +0 -106
  439. package/dist/schemas/models/mailboxAddress.test.d.ts +0 -2
  440. package/dist/schemas/models/mailboxAddress.test.d.ts.map +0 -1
  441. package/dist/schemas/models/mailboxAddress.test.js +0 -31
  442. package/dist/schemas/models/numericSemantics.test.d.ts +0 -2
  443. package/dist/schemas/models/numericSemantics.test.d.ts.map +0 -1
  444. package/dist/schemas/models/numericSemantics.test.js +0 -24
  445. package/dist/schemas/models/user.test.d.ts +0 -2
  446. package/dist/schemas/models/user.test.d.ts.map +0 -1
  447. package/dist/schemas/models/user.test.js +0 -18
  448. package/dist/schemas/scalars.d.ts +0 -13
  449. package/dist/schemas/scalars.d.ts.map +0 -1
  450. package/dist/schemas/scalars.js +0 -15
  451. package/dist/schemas/scalars.test.d.ts +0 -2
  452. package/dist/schemas/scalars.test.d.ts.map +0 -1
  453. package/dist/schemas/scalars.test.js +0 -44
  454. package/dist/schemas/schemaValues.test.d.ts +0 -2
  455. package/dist/schemas/schemaValues.test.d.ts.map +0 -1
  456. package/dist/schemas/schemaValues.test.js +0 -21
  457. package/dist/utils/threads/parseLabelIdList/parseLabelIdList.test.d.ts +0 -2
  458. package/dist/utils/threads/parseLabelIdList/parseLabelIdList.test.d.ts.map +0 -1
  459. package/dist/utils/threads/parseLabelIdList/parseLabelIdList.test.js +0 -18
  460. package/dist/utils/threads/processSearchTerm/processSearchTerm.test.d.ts +0 -2
  461. package/dist/utils/threads/processSearchTerm/processSearchTerm.test.d.ts.map +0 -1
  462. package/dist/utils/threads/processSearchTerm/processSearchTerm.test.js +0 -38
  463. package/dist/utils/valibot/index.d.ts +0 -3
  464. package/dist/utils/valibot/index.d.ts.map +0 -1
  465. package/dist/utils/valibot/index.js +0 -2
@@ -1,3125 +0,0 @@
1
- import { v } from '../../utils/valibot/index.js';
2
- import { type AppwriteColumnDefinition, type AppwriteTableDefinition, type AppwriteTableInput, type AppwriteTableKey, type AppwriteRelationshipSchema } from './shared.js';
3
- export * from './shared.js';
4
- declare const appwriteTableInputs: {
5
- accounts: {
6
- readonly fields: {
7
- colour: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 64, undefined>]>>;
8
- credential: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
9
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
10
- }, undefined>, v.TransformAction<{
11
- $id: string;
12
- }, string>]>], undefined>, undefined>>;
13
- displayName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
14
- initialSyncCompletedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
15
- lastErrorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
16
- lastSuccessfulSyncAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
17
- mailboxSyncState: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
18
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
19
- }, undefined>, v.TransformAction<{
20
- $id: string;
21
- }, string>]>], undefined>, undefined>>;
22
- mailProcessedCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
23
- mailTotalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
24
- pollShardAssignmentId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
25
- pollShardId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
26
- primaryAlias: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
27
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
28
- }, undefined>, v.TransformAction<{
29
- $id: string;
30
- }, string>]>], undefined>, undefined>>;
31
- primaryEmail: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
32
- profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
33
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
34
- }, undefined>, v.TransformAction<{
35
- $id: string;
36
- }, string>]>], undefined>>;
37
- profileAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
38
- provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
39
- state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "ERROR", "DISCONNECTED"], undefined>>;
40
- };
41
- readonly indexes: readonly [{
42
- readonly attributes: readonly ["profileAssignmentKey"];
43
- readonly name: "assignment_profile";
44
- readonly type: "key";
45
- }, {
46
- readonly attributes: readonly ["profileAssignmentKey", "state"];
47
- readonly name: "assignment_profile_state";
48
- readonly type: "key";
49
- }, {
50
- readonly attributes: readonly ["state"];
51
- readonly name: "state";
52
- readonly type: "key";
53
- }, {
54
- readonly attributes: readonly ["state", "pollShardAssignmentId"];
55
- readonly name: "state_poll_shard_assignment";
56
- readonly type: "key";
57
- }, {
58
- readonly attributes: readonly ["pollShardAssignmentId"];
59
- readonly name: "poll_shard_assignment";
60
- readonly type: "key";
61
- }, {
62
- readonly attributes: readonly ["pollShardId"];
63
- readonly name: "poll_shard";
64
- readonly type: "key";
65
- }];
66
- readonly name: "Accounts";
67
- };
68
- aliases: {
69
- readonly fields: {
70
- account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
71
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
72
- }, undefined>, v.TransformAction<{
73
- $id: string;
74
- }, string>]>], undefined>>;
75
- accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
76
- email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
77
- isPrimary: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
78
- name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
79
- providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
80
- signature: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
81
- };
82
- readonly indexes: readonly [{
83
- readonly attributes: readonly ["accountAssignmentKey"];
84
- readonly name: "assignment_account";
85
- readonly type: "key";
86
- }, {
87
- readonly attributes: readonly ["accountAssignmentKey", "providerId"];
88
- readonly name: "assignment_account_provider_unique";
89
- readonly type: "unique";
90
- }];
91
- readonly name: "Aliases";
92
- };
93
- credentials: {
94
- readonly fields: {
95
- accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
96
- encryptedPayload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
97
- expiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
98
- provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
99
- refreshLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
100
- refreshLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
101
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
102
- };
103
- readonly indexes: readonly [{
104
- readonly attributes: readonly ["userId"];
105
- readonly name: "user";
106
- readonly type: "key";
107
- }, {
108
- readonly attributes: readonly ["accountId"];
109
- readonly name: "account_unique";
110
- readonly type: "unique";
111
- }];
112
- readonly name: "Credentials";
113
- };
114
- labels: {
115
- readonly fields: {
116
- account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
117
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
118
- }, undefined>, v.TransformAction<{
119
- $id: string;
120
- }, string>]>], undefined>>;
121
- accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
122
- name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
123
- path: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
124
- providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
125
- specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
126
- totalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
127
- unreadCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
128
- };
129
- readonly indexes: readonly [{
130
- readonly attributes: readonly ["accountAssignmentKey", "specialUse"];
131
- readonly name: "assignment_account_special_use";
132
- readonly type: "key";
133
- }, {
134
- readonly attributes: readonly ["accountAssignmentKey", "path"];
135
- readonly name: "assignment_account_path_unique";
136
- readonly type: "unique";
137
- }, {
138
- readonly attributes: readonly ["accountAssignmentKey", "providerId"];
139
- readonly name: "assignment_account_provider_unique";
140
- readonly type: "unique";
141
- }];
142
- readonly name: "Labels";
143
- };
144
- oauthStates: {
145
- readonly fields: {
146
- accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
147
- email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
148
- expiresAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
149
- nonceHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
150
- operation: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["CONNECT", "REPLACE"], undefined>>;
151
- profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
152
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
153
- }, undefined>, v.TransformAction<{
154
- $id: string;
155
- }, string>]>], undefined>>;
156
- provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK"], undefined>>;
157
- returnUri: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["https://app.marcoapp.io/onboarding/loading"], undefined>>;
158
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
159
- };
160
- readonly indexes: readonly [];
161
- readonly name: "OAuth states";
162
- };
163
- profileAvatarCleanups: {
164
- readonly fields: {
165
- claimedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
166
- claimId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
167
- fileId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
168
- profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
169
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
170
- }, undefined>, v.TransformAction<{
171
- $id: string;
172
- }, string>]>], undefined>>;
173
- };
174
- readonly indexes: readonly [];
175
- readonly name: "Profile avatar cleanups";
176
- readonly wirePermissions: "empty";
177
- };
178
- profiles: {
179
- readonly fields: {
180
- avatarFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>, undefined>>;
181
- deletionRequestedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
182
- email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
183
- name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
184
- onboardingState: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
185
- timezone: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
186
- };
187
- readonly indexes: readonly [{
188
- readonly attributes: readonly ["email"];
189
- readonly name: "email_unique";
190
- readonly type: "unique";
191
- }];
192
- readonly name: "Profiles";
193
- };
194
- savedViews: {
195
- readonly fields: {
196
- aliasIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
197
- icon: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
198
- name: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
199
- profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
200
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
201
- }, undefined>, v.TransformAction<{
202
- $id: string;
203
- }, string>]>], undefined>>;
204
- };
205
- readonly indexes: readonly [];
206
- readonly name: "Saved views";
207
- };
208
- contacts: {
209
- readonly fields: {
210
- displayName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
211
- lastContactedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
212
- messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
213
- normalisedAddress: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>>;
214
- profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
215
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
216
- }, undefined>, v.TransformAction<{
217
- $id: string;
218
- }, string>]>], undefined>>;
219
- profileAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
220
- searchText: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
221
- };
222
- readonly indexes: readonly [{
223
- readonly attributes: readonly ["profileAssignmentKey", "lastContactedAt"];
224
- readonly name: "assignment_profile_last_contacted";
225
- readonly type: "key";
226
- }, {
227
- readonly attributes: readonly ["profileAssignmentKey", "normalisedAddress"];
228
- readonly name: "assignment_profile_address_unique";
229
- readonly type: "unique";
230
- }, {
231
- readonly attributes: readonly ["searchText"];
232
- readonly name: "search";
233
- readonly type: "fulltext";
234
- }];
235
- readonly name: "Contacts";
236
- };
237
- drafts: {
238
- readonly fields: {
239
- account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
240
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
241
- }, undefined>, v.TransformAction<{
242
- $id: string;
243
- }, string>]>], undefined>>;
244
- accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
245
- attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
246
- contentHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
247
- envelope: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
248
- errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
249
- executionLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
250
- executionLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
251
- fromAlias: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
252
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
253
- }, undefined>, v.TransformAction<{
254
- $id: string;
255
- }, string>]>], undefined>, undefined>>;
256
- html: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
257
- referencedMessage: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
258
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
259
- }, undefined>, v.TransformAction<{
260
- $id: string;
261
- }, string>]>], undefined>, undefined>>;
262
- revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
263
- scheduledAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
264
- sequence: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
265
- status: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["DRAFT", "SCHEDULED", "SENDING", "SENT", "FAILED", "CANCELLED"], undefined>>;
266
- type: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["COMPOSE", "REPLY", "FORWARD"], undefined>>;
267
- };
268
- readonly indexes: readonly [{
269
- readonly attributes: readonly ["accountAssignmentKey"];
270
- readonly name: "assignment_account";
271
- readonly type: "key";
272
- }, {
273
- readonly attributes: readonly ["accountAssignmentKey", "status"];
274
- readonly name: "assignment_account_status";
275
- readonly type: "key";
276
- }, {
277
- readonly attributes: readonly ["scheduledAt"];
278
- readonly name: "scheduled";
279
- readonly type: "key";
280
- }];
281
- readonly name: "Drafts";
282
- };
283
- messageLocations: {
284
- readonly dataCheck: typeof import("./shared.js").messageLocationCoordinateCheck;
285
- readonly fields: {
286
- account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
287
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
288
- }, undefined>, v.TransformAction<{
289
- $id: string;
290
- }, string>]>], undefined>>;
291
- accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
292
- flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
293
- label: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
294
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
295
- }, undefined>, v.TransformAction<{
296
- $id: string;
297
- }, string>]>], undefined>>;
298
- labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
299
- message: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
300
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
301
- }, undefined>, v.TransformAction<{
302
- $id: string;
303
- }, string>]>], undefined>>;
304
- messageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
305
- seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
306
- thread: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
307
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
308
- }, undefined>, v.TransformAction<{
309
- $id: string;
310
- }, string>]>], undefined>>;
311
- threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
312
- uid: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
313
- uidValidity: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
314
- };
315
- readonly indexes: readonly [{
316
- readonly attributes: readonly ["accountAssignmentKey", "labelAssignmentKey", "uidValidity", "uid"];
317
- readonly name: "assignment_account_label_uid";
318
- readonly type: "key";
319
- }, {
320
- readonly attributes: readonly ["accountAssignmentKey", "threadAssignmentKey"];
321
- readonly name: "assignment_account_thread";
322
- readonly type: "key";
323
- }, {
324
- readonly attributes: readonly ["threadAssignmentKey", "labelAssignmentKey", "messageAt"];
325
- readonly name: "assignment_thread_label_latest";
326
- readonly type: "key";
327
- }];
328
- readonly name: "Message locations";
329
- };
330
- messages: {
331
- readonly fields: {
332
- account: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
333
- accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
334
- attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
335
- htmlFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
336
- materialisationGeneration: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
337
- preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
338
- providerHistoryId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
339
- providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
340
- providerLabelIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
341
- providerThreadId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
342
- rawFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
343
- receivedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
344
- recipients: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
345
- revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
346
- rfcMessageId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
347
- sender: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
348
- senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
349
- sentAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
350
- size: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
351
- subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
352
- thread: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
353
- threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
354
- };
355
- readonly indexes: readonly [{
356
- readonly attributes: readonly ["threadAssignmentKey", "sentAt"];
357
- readonly name: "assignment_thread_sent";
358
- readonly type: "key";
359
- }, {
360
- readonly attributes: readonly ["accountAssignmentKey", "providerId"];
361
- readonly name: "assignment_account_provider_unique";
362
- readonly type: "unique";
363
- }, {
364
- readonly attributes: readonly ["accountAssignmentKey", "rfcMessageId"];
365
- readonly name: "assignment_account_rfc_message";
366
- readonly type: "key";
367
- }];
368
- readonly name: "Messages";
369
- };
370
- threadAliases: {
371
- readonly fields: {
372
- alias: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
373
- aliasAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
374
- latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
375
- thread: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
376
- threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
377
- };
378
- readonly indexes: readonly [{
379
- readonly attributes: readonly ["threadAssignmentKey", "aliasAssignmentKey"];
380
- readonly name: "assignment_thread_alias_unique";
381
- readonly type: "unique";
382
- }, {
383
- readonly attributes: readonly ["aliasAssignmentKey", "latestMessageAt"];
384
- readonly name: "assignment_alias_latest";
385
- readonly type: "key";
386
- }];
387
- readonly name: "Thread aliases";
388
- };
389
- threadLabels: {
390
- readonly fields: {
391
- label: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
392
- labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
393
- latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
394
- locationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
395
- thread: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
396
- threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
397
- };
398
- readonly indexes: readonly [{
399
- readonly attributes: readonly ["threadAssignmentKey", "labelAssignmentKey"];
400
- readonly name: "assignment_thread_label_unique";
401
- readonly type: "unique";
402
- }, {
403
- readonly attributes: readonly ["labelAssignmentKey", "latestMessageAt"];
404
- readonly name: "assignment_label_latest";
405
- readonly type: "key";
406
- }];
407
- readonly name: "Thread labels";
408
- };
409
- threads: {
410
- readonly fields: {
411
- account: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
412
- accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
413
- archived: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
414
- firstMessageAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
415
- flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
416
- flaggedLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
417
- hasAttachments: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
418
- labelIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
419
- latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
420
- latestMessageId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
421
- messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
422
- participants: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
423
- preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
424
- providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
425
- revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
426
- searchText: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
427
- seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
428
- senderEmail: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>>;
429
- senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
430
- snoozedUntil: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
431
- spam: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
432
- subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
433
- trashed: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
434
- unseenLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
435
- };
436
- readonly indexes: readonly [{
437
- readonly attributes: readonly ["accountAssignmentKey", "providerId"];
438
- readonly name: "assignment_account_provider_unique";
439
- readonly type: "unique";
440
- }, {
441
- readonly attributes: readonly ["accountAssignmentKey", "latestMessageAt"];
442
- readonly name: "assignment_account_latest";
443
- readonly type: "key";
444
- }, {
445
- readonly attributes: readonly ["accountAssignmentKey", "seen", "latestMessageAt"];
446
- readonly name: "assignment_account_seen_latest";
447
- readonly type: "key";
448
- }, {
449
- readonly attributes: readonly ["accountAssignmentKey", "flagged", "latestMessageAt"];
450
- readonly name: "assignment_account_flagged_latest";
451
- readonly type: "key";
452
- }, {
453
- readonly attributes: readonly ["accountAssignmentKey", "snoozedUntil", "latestMessageAt"];
454
- readonly name: "assignment_account_snoozed_latest";
455
- readonly type: "key";
456
- }, {
457
- readonly attributes: readonly ["snoozedUntil"];
458
- readonly name: "snoozed_due";
459
- readonly type: "key";
460
- }, {
461
- readonly attributes: readonly ["accountAssignmentKey", "archived", "latestMessageAt"];
462
- readonly name: "assignment_account_archived_latest";
463
- readonly type: "key";
464
- }, {
465
- readonly attributes: readonly ["accountAssignmentKey", "spam", "latestMessageAt"];
466
- readonly name: "assignment_account_spam_latest";
467
- readonly type: "key";
468
- }, {
469
- readonly attributes: readonly ["accountAssignmentKey", "trashed", "latestMessageAt"];
470
- readonly name: "assignment_account_trashed_latest";
471
- readonly type: "key";
472
- }, {
473
- readonly attributes: readonly ["searchText"];
474
- readonly name: "search";
475
- readonly type: "fulltext";
476
- }];
477
- readonly name: "Threads";
478
- };
479
- commands: {
480
- readonly fields: {
481
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
482
- accountId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
483
- draftId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
484
- kind: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
485
- payload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
486
- payloadHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
487
- state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACCEPTED", "RUNNING", "SUCCEEDED", "FAILED"], undefined>>;
488
- attempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
489
- canonicalRevision: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>>;
490
- errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
491
- submittedAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
492
- account: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
493
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
494
- }, undefined>, v.TransformAction<{
495
- $id: string;
496
- }, string>]>], undefined>, undefined>>;
497
- profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
498
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
499
- }, undefined>, v.TransformAction<{
500
- $id: string;
501
- }, string>]>], undefined>>;
502
- };
503
- readonly indexes: readonly [{
504
- readonly attributes: readonly ["userId"];
505
- readonly name: "user";
506
- readonly type: "key";
507
- }, {
508
- readonly attributes: readonly ["userId", "submittedAt"];
509
- readonly name: "user_submitted";
510
- readonly type: "key";
511
- }, {
512
- readonly attributes: readonly ["accountId", "state"];
513
- readonly name: "account_state";
514
- readonly type: "key";
515
- }, {
516
- readonly attributes: readonly ["draftId", "canonicalRevision"];
517
- readonly name: "draft_sequence";
518
- readonly type: "key";
519
- }, {
520
- readonly attributes: readonly ["state", "submittedAt"];
521
- readonly name: "state_submitted";
522
- readonly type: "key";
523
- }];
524
- readonly name: "Commands";
525
- };
526
- jobs: {
527
- readonly fields: {
528
- commandId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
529
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
530
- accountId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
531
- kind: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
532
- payload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
533
- dedupeKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
534
- state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED"], undefined>>;
535
- attempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
536
- maxAttempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
537
- nextRunAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>>;
538
- leaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
539
- leaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
540
- errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
541
- };
542
- readonly indexes: readonly [{
543
- readonly attributes: readonly ["state", "nextRunAt"];
544
- readonly name: "state_next_run";
545
- readonly type: "key";
546
- }, {
547
- readonly attributes: readonly ["leaseExpiresAt"];
548
- readonly name: "lease_expiry";
549
- readonly type: "key";
550
- }, {
551
- readonly attributes: readonly ["state", "leaseExpiresAt"];
552
- readonly name: "state_lease_expiry";
553
- readonly type: "key";
554
- }, {
555
- readonly attributes: readonly ["userId", "state", "leaseExpiresAt"];
556
- readonly name: "user_state_lease_expiry";
557
- readonly type: "key";
558
- }, {
559
- readonly attributes: readonly ["state", "leaseExpiresAt", "leaseId", "attempts"];
560
- readonly name: "recovery_fence";
561
- readonly type: "key";
562
- }, {
563
- readonly attributes: readonly ["commandId"];
564
- readonly name: "command";
565
- readonly type: "key";
566
- }, {
567
- readonly attributes: readonly ["dedupeKey"];
568
- readonly name: "dedupe_key_unique";
569
- readonly type: "unique";
570
- }, {
571
- readonly attributes: readonly ["userId"];
572
- readonly name: "user";
573
- readonly type: "key";
574
- }];
575
- readonly name: "Jobs";
576
- };
577
- mailboxSyncCandidates: {
578
- readonly fields: {
579
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
580
- accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
581
- generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
582
- lane: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
583
- labelId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
584
- mailboxPath: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
585
- mailboxPriority: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
586
- mailboxSortKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 257, undefined>]>>;
587
- providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
588
- receivedAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
589
- specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
590
- uid: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
591
- uidValidity: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
592
- account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
593
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
594
- }, undefined>, v.TransformAction<{
595
- $id: string;
596
- }, string>]>], undefined>>;
597
- label: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
598
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
599
- }, undefined>, v.TransformAction<{
600
- $id: string;
601
- }, string>]>], undefined>>;
602
- };
603
- readonly indexes: readonly [{
604
- readonly attributes: readonly ["lane"];
605
- readonly name: "lane";
606
- readonly type: "key";
607
- }, {
608
- readonly attributes: readonly ["accountId", "lane", "generation", "mailboxPriority", "receivedAt", "labelId", "uid", "uidValidity"];
609
- readonly name: "account_lane_generation_order";
610
- readonly type: "key";
611
- }];
612
- readonly name: "Mailbox sync candidates";
613
- };
614
- mailboxSyncLanes: {
615
- readonly fields: {
616
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
617
- accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
618
- commandId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
619
- cursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
620
- generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
621
- lane: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
622
- state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "COMPLETED", "FAILED"], undefined>>;
623
- errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
624
- account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
625
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
626
- }, undefined>, v.TransformAction<{
627
- $id: string;
628
- }, string>]>], undefined>>;
629
- };
630
- readonly indexes: readonly [{
631
- readonly attributes: readonly ["accountId", "lane"];
632
- readonly name: "account_lane_unique";
633
- readonly type: "unique";
634
- }, {
635
- readonly attributes: readonly ["lane", "state"];
636
- readonly name: "lane_state";
637
- readonly type: "key";
638
- }];
639
- readonly name: "Mailbox sync lanes";
640
- readonly wirePermissions: "empty";
641
- };
642
- mailboxSyncStates: {
643
- readonly fields: {
644
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
645
- accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
646
- provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
647
- providerCursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
648
- uidValidity: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
649
- state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["INITIAL", "SYNCING", "CURRENT", "ERROR"], undefined>>;
650
- nextPollAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
651
- lastEventAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
652
- lastSyncAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
653
- materialisationLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
654
- materialisationLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
655
- errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
656
- };
657
- readonly indexes: readonly [{
658
- readonly attributes: readonly ["state", "nextPollAt"];
659
- readonly name: "state_next_poll";
660
- readonly type: "key";
661
- }, {
662
- readonly attributes: readonly ["accountId"];
663
- readonly name: "account_unique";
664
- readonly type: "unique";
665
- }];
666
- readonly name: "Mailbox sync states";
667
- };
668
- pollShardCoordinators: {
669
- readonly fields: {
670
- accountCursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
671
- };
672
- readonly indexes: readonly [];
673
- readonly name: "Poll shard coordinators";
674
- readonly wirePermissions: "empty";
675
- };
676
- pollShards: {
677
- readonly fields: {
678
- accountIds: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>>;
679
- generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
680
- state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACTIVE", "STOPPED", "FAILED"], undefined>>;
681
- leaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
682
- leaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
683
- lastStartedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
684
- nextStartAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>>;
685
- pollingSnapshot: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
686
- scheduledExecutionId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
687
- errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
688
- };
689
- readonly indexes: readonly [{
690
- readonly attributes: readonly ["state", "nextStartAt"];
691
- readonly name: "state_next_start";
692
- readonly type: "key";
693
- }, {
694
- readonly attributes: readonly ["leaseExpiresAt"];
695
- readonly name: "lease_expiry";
696
- readonly type: "key";
697
- }];
698
- readonly name: "Poll shards";
699
- readonly wirePermissions: "empty";
700
- };
701
- pushNotificationTokens: {
702
- readonly fields: {
703
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
704
- token: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
705
- profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
706
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
707
- }, undefined>, v.TransformAction<{
708
- $id: string;
709
- }, string>]>], undefined>>;
710
- };
711
- readonly indexes: readonly [{
712
- readonly attributes: readonly ["userId"];
713
- readonly name: "user";
714
- readonly type: "key";
715
- }, {
716
- readonly attributes: readonly ["token"];
717
- readonly name: "token_unique";
718
- readonly type: "unique";
719
- }];
720
- readonly name: "Push notification tokens";
721
- };
722
- };
723
- export type AppwriteTableIndexAttributeKey<TTable extends AppwriteTableKey> = {
724
- [TKey in keyof (typeof appwriteTableInputs)[TTable]['fields']]: (typeof appwriteTableInputs)[TTable]['fields'][TKey] extends AppwriteRelationshipSchema ? never : TKey;
725
- }[keyof (typeof appwriteTableInputs)[TTable]['fields']] & string;
726
- type AppwriteTableFields = AppwriteTableInput['fields'] & v.ObjectEntries;
727
- type AppwriteObjectSchema<TFields extends AppwriteTableFields> = v.ObjectSchema<TFields, undefined>;
728
- type AppwriteCheckedObjectSchema<TFields extends AppwriteTableFields> = v.SchemaWithPipe<readonly [AppwriteObjectSchema<TFields>, v.CheckAction<v.InferOutput<AppwriteObjectSchema<TFields>>, undefined>]>;
729
- declare const wireMetadata: <const TTableId extends string, const TWirePermissions extends AppwriteTableInput['wirePermissions']>(tableId: TTableId, wirePermissions: TWirePermissions) => {
730
- $createdAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<string, string>, v.IsoTimestampAction<string, undefined>, v.CheckAction<string, undefined>]>;
731
- $databaseId: v.LiteralSchema<"marco", undefined>;
732
- $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
733
- $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined> | v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.LengthAction<string[], 0, undefined>]>;
734
- $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
735
- $tableId: v.LiteralSchema<TTableId, undefined>;
736
- $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<string, string>, v.IsoTimestampAction<string, undefined>, v.CheckAction<string, undefined>]>;
737
- };
738
- type AppwriteDataSchemaFor<TTable extends AppwriteTableInput> = TTable extends {
739
- readonly dataCheck: (input: unknown) => boolean;
740
- } ? AppwriteCheckedObjectSchema<TTable['fields']> : AppwriteObjectSchema<TTable['fields']>;
741
- type AppwriteRowSchemaFor<TTable extends AppwriteTableInput> = v.StrictObjectSchema<ReturnType<typeof wireMetadata> & TTable['fields'], undefined>;
742
- type AppwriteTableContract<TTables> = TTables extends Readonly<Record<AppwriteTableKey, AppwriteTableInput>> ? {
743
- dataSchemas: {
744
- [TTableKey in AppwriteTableKey]: AppwriteDataSchemaFor<TTables[TTableKey]>;
745
- };
746
- rowSchemas: {
747
- [TTableKey in AppwriteTableKey]: AppwriteRowSchemaFor<TTables[TTableKey]>;
748
- };
749
- tables: {
750
- [TTableKey in AppwriteTableKey]: AppwriteTableDefinition;
751
- };
752
- } : never;
753
- export declare const defineAppwriteTables: <const TTables extends Readonly<Record<AppwriteTableKey, AppwriteTableInput>>>(tables: TTables) => AppwriteTableContract<TTables>;
754
- export declare const appwriteTableContract: {
755
- dataSchemas: {
756
- accounts: AppwriteObjectSchema<{
757
- readonly colour: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 64, undefined>]>>;
758
- readonly credential: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
759
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
760
- }, undefined>, v.TransformAction<{
761
- $id: string;
762
- }, string>]>], undefined>, undefined>>;
763
- readonly displayName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
764
- readonly initialSyncCompletedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
765
- readonly lastErrorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
766
- readonly lastSuccessfulSyncAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
767
- readonly mailboxSyncState: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
768
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
769
- }, undefined>, v.TransformAction<{
770
- $id: string;
771
- }, string>]>], undefined>, undefined>>;
772
- readonly mailProcessedCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
773
- readonly mailTotalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
774
- readonly pollShardAssignmentId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
775
- readonly pollShardId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
776
- readonly primaryAlias: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
777
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
778
- }, undefined>, v.TransformAction<{
779
- $id: string;
780
- }, string>]>], undefined>, undefined>>;
781
- readonly primaryEmail: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
782
- readonly profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
783
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
784
- }, undefined>, v.TransformAction<{
785
- $id: string;
786
- }, string>]>], undefined>>;
787
- readonly profileAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
788
- readonly provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
789
- readonly state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "ERROR", "DISCONNECTED"], undefined>>;
790
- }>;
791
- aliases: AppwriteObjectSchema<{
792
- readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
793
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
794
- }, undefined>, v.TransformAction<{
795
- $id: string;
796
- }, string>]>], undefined>>;
797
- readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
798
- readonly email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
799
- readonly isPrimary: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
800
- readonly name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
801
- readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
802
- readonly signature: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
803
- }>;
804
- commands: AppwriteObjectSchema<{
805
- readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
806
- readonly accountId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
807
- readonly draftId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
808
- readonly kind: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
809
- readonly payload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
810
- readonly payloadHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
811
- readonly state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACCEPTED", "RUNNING", "SUCCEEDED", "FAILED"], undefined>>;
812
- readonly attempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
813
- readonly canonicalRevision: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>>;
814
- readonly errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
815
- readonly submittedAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
816
- readonly account: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
817
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
818
- }, undefined>, v.TransformAction<{
819
- $id: string;
820
- }, string>]>], undefined>, undefined>>;
821
- readonly profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
822
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
823
- }, undefined>, v.TransformAction<{
824
- $id: string;
825
- }, string>]>], undefined>>;
826
- }>;
827
- contacts: AppwriteObjectSchema<{
828
- readonly displayName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
829
- readonly lastContactedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
830
- readonly messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
831
- readonly normalisedAddress: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>>;
832
- readonly profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
833
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
834
- }, undefined>, v.TransformAction<{
835
- $id: string;
836
- }, string>]>], undefined>>;
837
- readonly profileAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
838
- readonly searchText: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
839
- }>;
840
- credentials: AppwriteObjectSchema<{
841
- readonly accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
842
- readonly encryptedPayload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
843
- readonly expiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
844
- readonly provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
845
- readonly refreshLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
846
- readonly refreshLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
847
- readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
848
- }>;
849
- drafts: AppwriteObjectSchema<{
850
- readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
851
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
852
- }, undefined>, v.TransformAction<{
853
- $id: string;
854
- }, string>]>], undefined>>;
855
- readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
856
- readonly attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
857
- readonly contentHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
858
- readonly envelope: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
859
- readonly errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
860
- readonly executionLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
861
- readonly executionLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
862
- readonly fromAlias: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
863
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
864
- }, undefined>, v.TransformAction<{
865
- $id: string;
866
- }, string>]>], undefined>, undefined>>;
867
- readonly html: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
868
- readonly referencedMessage: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
869
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
870
- }, undefined>, v.TransformAction<{
871
- $id: string;
872
- }, string>]>], undefined>, undefined>>;
873
- readonly revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
874
- readonly scheduledAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
875
- readonly sequence: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
876
- readonly status: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["DRAFT", "SCHEDULED", "SENDING", "SENT", "FAILED", "CANCELLED"], undefined>>;
877
- readonly type: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["COMPOSE", "REPLY", "FORWARD"], undefined>>;
878
- }>;
879
- jobs: AppwriteObjectSchema<{
880
- readonly commandId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
881
- readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
882
- readonly accountId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
883
- readonly kind: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
884
- readonly payload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
885
- readonly dedupeKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
886
- readonly state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED"], undefined>>;
887
- readonly attempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
888
- readonly maxAttempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
889
- readonly nextRunAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>>;
890
- readonly leaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
891
- readonly leaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
892
- readonly errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
893
- }>;
894
- labels: AppwriteObjectSchema<{
895
- readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
896
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
897
- }, undefined>, v.TransformAction<{
898
- $id: string;
899
- }, string>]>], undefined>>;
900
- readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
901
- readonly name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
902
- readonly path: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
903
- readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
904
- readonly specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
905
- readonly totalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
906
- readonly unreadCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
907
- }>;
908
- mailboxSyncCandidates: AppwriteObjectSchema<{
909
- readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
910
- readonly accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
911
- readonly generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
912
- readonly lane: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
913
- readonly labelId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
914
- readonly mailboxPath: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
915
- readonly mailboxPriority: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
916
- readonly mailboxSortKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 257, undefined>]>>;
917
- readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
918
- readonly receivedAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
919
- readonly specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
920
- readonly uid: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
921
- readonly uidValidity: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
922
- readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
923
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
924
- }, undefined>, v.TransformAction<{
925
- $id: string;
926
- }, string>]>], undefined>>;
927
- readonly label: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
928
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
929
- }, undefined>, v.TransformAction<{
930
- $id: string;
931
- }, string>]>], undefined>>;
932
- }>;
933
- mailboxSyncLanes: AppwriteObjectSchema<{
934
- readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
935
- readonly accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
936
- readonly commandId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
937
- readonly cursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
938
- readonly generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
939
- readonly lane: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
940
- readonly state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "COMPLETED", "FAILED"], undefined>>;
941
- readonly errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
942
- readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
943
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
944
- }, undefined>, v.TransformAction<{
945
- $id: string;
946
- }, string>]>], undefined>>;
947
- }>;
948
- mailboxSyncStates: AppwriteObjectSchema<{
949
- readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
950
- readonly accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
951
- readonly provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
952
- readonly providerCursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
953
- readonly uidValidity: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
954
- readonly state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["INITIAL", "SYNCING", "CURRENT", "ERROR"], undefined>>;
955
- readonly nextPollAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
956
- readonly lastEventAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
957
- readonly lastSyncAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
958
- readonly materialisationLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
959
- readonly materialisationLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
960
- readonly errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
961
- }>;
962
- messageLocations: AppwriteCheckedObjectSchema<{
963
- readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
964
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
965
- }, undefined>, v.TransformAction<{
966
- $id: string;
967
- }, string>]>], undefined>>;
968
- readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
969
- readonly flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
970
- readonly label: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
971
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
972
- }, undefined>, v.TransformAction<{
973
- $id: string;
974
- }, string>]>], undefined>>;
975
- readonly labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
976
- readonly message: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
977
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
978
- }, undefined>, v.TransformAction<{
979
- $id: string;
980
- }, string>]>], undefined>>;
981
- readonly messageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
982
- readonly seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
983
- readonly thread: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
984
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
985
- }, undefined>, v.TransformAction<{
986
- $id: string;
987
- }, string>]>], undefined>>;
988
- readonly threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
989
- readonly uid: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
990
- readonly uidValidity: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
991
- }>;
992
- messages: AppwriteObjectSchema<{
993
- readonly account: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
994
- readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
995
- readonly attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
996
- readonly htmlFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
997
- readonly materialisationGeneration: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
998
- readonly preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
999
- readonly providerHistoryId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1000
- readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1001
- readonly providerLabelIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1002
- readonly providerThreadId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1003
- readonly rawFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1004
- readonly receivedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1005
- readonly recipients: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1006
- readonly revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1007
- readonly rfcMessageId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1008
- readonly sender: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1009
- readonly senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1010
- readonly sentAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1011
- readonly size: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1012
- readonly subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1013
- readonly thread: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1014
- readonly threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1015
- }>;
1016
- oauthStates: AppwriteObjectSchema<{
1017
- readonly accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1018
- readonly email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
1019
- readonly expiresAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1020
- readonly nonceHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1021
- readonly operation: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["CONNECT", "REPLACE"], undefined>>;
1022
- readonly profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1023
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1024
- }, undefined>, v.TransformAction<{
1025
- $id: string;
1026
- }, string>]>], undefined>>;
1027
- readonly provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK"], undefined>>;
1028
- readonly returnUri: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["https://app.marcoapp.io/onboarding/loading"], undefined>>;
1029
- readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1030
- }>;
1031
- pollShardCoordinators: AppwriteObjectSchema<{
1032
- readonly accountCursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1033
- }>;
1034
- pollShards: AppwriteObjectSchema<{
1035
- readonly accountIds: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>>;
1036
- readonly generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1037
- readonly state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACTIVE", "STOPPED", "FAILED"], undefined>>;
1038
- readonly leaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1039
- readonly leaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
1040
- readonly lastStartedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1041
- readonly nextStartAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>>;
1042
- readonly pollingSnapshot: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
1043
- readonly scheduledExecutionId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1044
- readonly errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1045
- }>;
1046
- profileAvatarCleanups: AppwriteObjectSchema<{
1047
- readonly claimedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1048
- readonly claimId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1049
- readonly fileId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1050
- readonly profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1051
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1052
- }, undefined>, v.TransformAction<{
1053
- $id: string;
1054
- }, string>]>], undefined>>;
1055
- }>;
1056
- profiles: AppwriteObjectSchema<{
1057
- readonly avatarFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>, undefined>>;
1058
- readonly deletionRequestedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1059
- readonly email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
1060
- readonly name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1061
- readonly onboardingState: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1062
- readonly timezone: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1063
- }>;
1064
- pushNotificationTokens: AppwriteObjectSchema<{
1065
- readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1066
- readonly token: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1067
- readonly profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1068
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1069
- }, undefined>, v.TransformAction<{
1070
- $id: string;
1071
- }, string>]>], undefined>>;
1072
- }>;
1073
- savedViews: AppwriteObjectSchema<{
1074
- readonly aliasIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1075
- readonly icon: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1076
- readonly name: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1077
- readonly profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1078
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1079
- }, undefined>, v.TransformAction<{
1080
- $id: string;
1081
- }, string>]>], undefined>>;
1082
- }>;
1083
- threadAliases: AppwriteObjectSchema<{
1084
- readonly alias: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1085
- readonly aliasAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1086
- readonly latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1087
- readonly thread: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1088
- readonly threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1089
- }>;
1090
- threadLabels: AppwriteObjectSchema<{
1091
- readonly label: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1092
- readonly labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1093
- readonly latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1094
- readonly locationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1095
- readonly thread: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1096
- readonly threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1097
- }>;
1098
- threads: AppwriteObjectSchema<{
1099
- readonly account: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1100
- readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1101
- readonly archived: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1102
- readonly firstMessageAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1103
- readonly flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1104
- readonly flaggedLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1105
- readonly hasAttachments: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1106
- readonly labelIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1107
- readonly latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1108
- readonly latestMessageId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1109
- readonly messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1110
- readonly participants: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1111
- readonly preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1112
- readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1113
- readonly revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1114
- readonly searchText: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1115
- readonly seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1116
- readonly senderEmail: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>>;
1117
- readonly senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1118
- readonly snoozedUntil: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
1119
- readonly spam: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1120
- readonly subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1121
- readonly trashed: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1122
- readonly unseenLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1123
- }>;
1124
- };
1125
- rowSchemas: {
1126
- accounts: AppwriteRowSchemaFor<{
1127
- readonly fields: {
1128
- colour: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 64, undefined>]>>;
1129
- credential: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1130
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1131
- }, undefined>, v.TransformAction<{
1132
- $id: string;
1133
- }, string>]>], undefined>, undefined>>;
1134
- displayName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1135
- initialSyncCompletedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1136
- lastErrorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1137
- lastSuccessfulSyncAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1138
- mailboxSyncState: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1139
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1140
- }, undefined>, v.TransformAction<{
1141
- $id: string;
1142
- }, string>]>], undefined>, undefined>>;
1143
- mailProcessedCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1144
- mailTotalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1145
- pollShardAssignmentId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1146
- pollShardId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1147
- primaryAlias: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1148
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1149
- }, undefined>, v.TransformAction<{
1150
- $id: string;
1151
- }, string>]>], undefined>, undefined>>;
1152
- primaryEmail: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
1153
- profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1154
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1155
- }, undefined>, v.TransformAction<{
1156
- $id: string;
1157
- }, string>]>], undefined>>;
1158
- profileAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1159
- provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
1160
- state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "ERROR", "DISCONNECTED"], undefined>>;
1161
- };
1162
- readonly indexes: readonly [{
1163
- readonly attributes: readonly ["profileAssignmentKey"];
1164
- readonly name: "assignment_profile";
1165
- readonly type: "key";
1166
- }, {
1167
- readonly attributes: readonly ["profileAssignmentKey", "state"];
1168
- readonly name: "assignment_profile_state";
1169
- readonly type: "key";
1170
- }, {
1171
- readonly attributes: readonly ["state"];
1172
- readonly name: "state";
1173
- readonly type: "key";
1174
- }, {
1175
- readonly attributes: readonly ["state", "pollShardAssignmentId"];
1176
- readonly name: "state_poll_shard_assignment";
1177
- readonly type: "key";
1178
- }, {
1179
- readonly attributes: readonly ["pollShardAssignmentId"];
1180
- readonly name: "poll_shard_assignment";
1181
- readonly type: "key";
1182
- }, {
1183
- readonly attributes: readonly ["pollShardId"];
1184
- readonly name: "poll_shard";
1185
- readonly type: "key";
1186
- }];
1187
- readonly name: "Accounts";
1188
- }>;
1189
- aliases: AppwriteRowSchemaFor<{
1190
- readonly fields: {
1191
- account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1192
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1193
- }, undefined>, v.TransformAction<{
1194
- $id: string;
1195
- }, string>]>], undefined>>;
1196
- accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1197
- email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
1198
- isPrimary: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1199
- name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1200
- providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1201
- signature: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1202
- };
1203
- readonly indexes: readonly [{
1204
- readonly attributes: readonly ["accountAssignmentKey"];
1205
- readonly name: "assignment_account";
1206
- readonly type: "key";
1207
- }, {
1208
- readonly attributes: readonly ["accountAssignmentKey", "providerId"];
1209
- readonly name: "assignment_account_provider_unique";
1210
- readonly type: "unique";
1211
- }];
1212
- readonly name: "Aliases";
1213
- }>;
1214
- commands: AppwriteRowSchemaFor<{
1215
- readonly fields: {
1216
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1217
- accountId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1218
- draftId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1219
- kind: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1220
- payload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
1221
- payloadHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1222
- state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACCEPTED", "RUNNING", "SUCCEEDED", "FAILED"], undefined>>;
1223
- attempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1224
- canonicalRevision: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>>;
1225
- errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1226
- submittedAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1227
- account: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1228
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1229
- }, undefined>, v.TransformAction<{
1230
- $id: string;
1231
- }, string>]>], undefined>, undefined>>;
1232
- profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1233
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1234
- }, undefined>, v.TransformAction<{
1235
- $id: string;
1236
- }, string>]>], undefined>>;
1237
- };
1238
- readonly indexes: readonly [{
1239
- readonly attributes: readonly ["userId"];
1240
- readonly name: "user";
1241
- readonly type: "key";
1242
- }, {
1243
- readonly attributes: readonly ["userId", "submittedAt"];
1244
- readonly name: "user_submitted";
1245
- readonly type: "key";
1246
- }, {
1247
- readonly attributes: readonly ["accountId", "state"];
1248
- readonly name: "account_state";
1249
- readonly type: "key";
1250
- }, {
1251
- readonly attributes: readonly ["draftId", "canonicalRevision"];
1252
- readonly name: "draft_sequence";
1253
- readonly type: "key";
1254
- }, {
1255
- readonly attributes: readonly ["state", "submittedAt"];
1256
- readonly name: "state_submitted";
1257
- readonly type: "key";
1258
- }];
1259
- readonly name: "Commands";
1260
- }>;
1261
- contacts: AppwriteRowSchemaFor<{
1262
- readonly fields: {
1263
- displayName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1264
- lastContactedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1265
- messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1266
- normalisedAddress: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>>;
1267
- profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1268
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1269
- }, undefined>, v.TransformAction<{
1270
- $id: string;
1271
- }, string>]>], undefined>>;
1272
- profileAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1273
- searchText: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
1274
- };
1275
- readonly indexes: readonly [{
1276
- readonly attributes: readonly ["profileAssignmentKey", "lastContactedAt"];
1277
- readonly name: "assignment_profile_last_contacted";
1278
- readonly type: "key";
1279
- }, {
1280
- readonly attributes: readonly ["profileAssignmentKey", "normalisedAddress"];
1281
- readonly name: "assignment_profile_address_unique";
1282
- readonly type: "unique";
1283
- }, {
1284
- readonly attributes: readonly ["searchText"];
1285
- readonly name: "search";
1286
- readonly type: "fulltext";
1287
- }];
1288
- readonly name: "Contacts";
1289
- }>;
1290
- credentials: AppwriteRowSchemaFor<{
1291
- readonly fields: {
1292
- accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1293
- encryptedPayload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
1294
- expiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1295
- provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
1296
- refreshLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
1297
- refreshLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1298
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1299
- };
1300
- readonly indexes: readonly [{
1301
- readonly attributes: readonly ["userId"];
1302
- readonly name: "user";
1303
- readonly type: "key";
1304
- }, {
1305
- readonly attributes: readonly ["accountId"];
1306
- readonly name: "account_unique";
1307
- readonly type: "unique";
1308
- }];
1309
- readonly name: "Credentials";
1310
- }>;
1311
- drafts: AppwriteRowSchemaFor<{
1312
- readonly fields: {
1313
- account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1314
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1315
- }, undefined>, v.TransformAction<{
1316
- $id: string;
1317
- }, string>]>], undefined>>;
1318
- accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1319
- attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
1320
- contentHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1321
- envelope: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
1322
- errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1323
- executionLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
1324
- executionLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1325
- fromAlias: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1326
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1327
- }, undefined>, v.TransformAction<{
1328
- $id: string;
1329
- }, string>]>], undefined>, undefined>>;
1330
- html: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
1331
- referencedMessage: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1332
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1333
- }, undefined>, v.TransformAction<{
1334
- $id: string;
1335
- }, string>]>], undefined>, undefined>>;
1336
- revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1337
- scheduledAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
1338
- sequence: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1339
- status: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["DRAFT", "SCHEDULED", "SENDING", "SENT", "FAILED", "CANCELLED"], undefined>>;
1340
- type: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["COMPOSE", "REPLY", "FORWARD"], undefined>>;
1341
- };
1342
- readonly indexes: readonly [{
1343
- readonly attributes: readonly ["accountAssignmentKey"];
1344
- readonly name: "assignment_account";
1345
- readonly type: "key";
1346
- }, {
1347
- readonly attributes: readonly ["accountAssignmentKey", "status"];
1348
- readonly name: "assignment_account_status";
1349
- readonly type: "key";
1350
- }, {
1351
- readonly attributes: readonly ["scheduledAt"];
1352
- readonly name: "scheduled";
1353
- readonly type: "key";
1354
- }];
1355
- readonly name: "Drafts";
1356
- }>;
1357
- jobs: AppwriteRowSchemaFor<{
1358
- readonly fields: {
1359
- commandId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1360
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1361
- accountId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1362
- kind: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1363
- payload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
1364
- dedupeKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1365
- state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED"], undefined>>;
1366
- attempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1367
- maxAttempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1368
- nextRunAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>>;
1369
- leaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1370
- leaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
1371
- errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1372
- };
1373
- readonly indexes: readonly [{
1374
- readonly attributes: readonly ["state", "nextRunAt"];
1375
- readonly name: "state_next_run";
1376
- readonly type: "key";
1377
- }, {
1378
- readonly attributes: readonly ["leaseExpiresAt"];
1379
- readonly name: "lease_expiry";
1380
- readonly type: "key";
1381
- }, {
1382
- readonly attributes: readonly ["state", "leaseExpiresAt"];
1383
- readonly name: "state_lease_expiry";
1384
- readonly type: "key";
1385
- }, {
1386
- readonly attributes: readonly ["userId", "state", "leaseExpiresAt"];
1387
- readonly name: "user_state_lease_expiry";
1388
- readonly type: "key";
1389
- }, {
1390
- readonly attributes: readonly ["state", "leaseExpiresAt", "leaseId", "attempts"];
1391
- readonly name: "recovery_fence";
1392
- readonly type: "key";
1393
- }, {
1394
- readonly attributes: readonly ["commandId"];
1395
- readonly name: "command";
1396
- readonly type: "key";
1397
- }, {
1398
- readonly attributes: readonly ["dedupeKey"];
1399
- readonly name: "dedupe_key_unique";
1400
- readonly type: "unique";
1401
- }, {
1402
- readonly attributes: readonly ["userId"];
1403
- readonly name: "user";
1404
- readonly type: "key";
1405
- }];
1406
- readonly name: "Jobs";
1407
- }>;
1408
- labels: AppwriteRowSchemaFor<{
1409
- readonly fields: {
1410
- account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1411
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1412
- }, undefined>, v.TransformAction<{
1413
- $id: string;
1414
- }, string>]>], undefined>>;
1415
- accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1416
- name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1417
- path: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1418
- providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1419
- specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
1420
- totalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1421
- unreadCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1422
- };
1423
- readonly indexes: readonly [{
1424
- readonly attributes: readonly ["accountAssignmentKey", "specialUse"];
1425
- readonly name: "assignment_account_special_use";
1426
- readonly type: "key";
1427
- }, {
1428
- readonly attributes: readonly ["accountAssignmentKey", "path"];
1429
- readonly name: "assignment_account_path_unique";
1430
- readonly type: "unique";
1431
- }, {
1432
- readonly attributes: readonly ["accountAssignmentKey", "providerId"];
1433
- readonly name: "assignment_account_provider_unique";
1434
- readonly type: "unique";
1435
- }];
1436
- readonly name: "Labels";
1437
- }>;
1438
- mailboxSyncCandidates: AppwriteRowSchemaFor<{
1439
- readonly fields: {
1440
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1441
- accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1442
- generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1443
- lane: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
1444
- labelId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1445
- mailboxPath: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1446
- mailboxPriority: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1447
- mailboxSortKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 257, undefined>]>>;
1448
- providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1449
- receivedAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1450
- specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
1451
- uid: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
1452
- uidValidity: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
1453
- account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1454
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1455
- }, undefined>, v.TransformAction<{
1456
- $id: string;
1457
- }, string>]>], undefined>>;
1458
- label: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1459
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1460
- }, undefined>, v.TransformAction<{
1461
- $id: string;
1462
- }, string>]>], undefined>>;
1463
- };
1464
- readonly indexes: readonly [{
1465
- readonly attributes: readonly ["lane"];
1466
- readonly name: "lane";
1467
- readonly type: "key";
1468
- }, {
1469
- readonly attributes: readonly ["accountId", "lane", "generation", "mailboxPriority", "receivedAt", "labelId", "uid", "uidValidity"];
1470
- readonly name: "account_lane_generation_order";
1471
- readonly type: "key";
1472
- }];
1473
- readonly name: "Mailbox sync candidates";
1474
- }>;
1475
- mailboxSyncLanes: AppwriteRowSchemaFor<{
1476
- readonly fields: {
1477
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1478
- accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1479
- commandId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1480
- cursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1481
- generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1482
- lane: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
1483
- state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "COMPLETED", "FAILED"], undefined>>;
1484
- errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1485
- account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1486
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1487
- }, undefined>, v.TransformAction<{
1488
- $id: string;
1489
- }, string>]>], undefined>>;
1490
- };
1491
- readonly indexes: readonly [{
1492
- readonly attributes: readonly ["accountId", "lane"];
1493
- readonly name: "account_lane_unique";
1494
- readonly type: "unique";
1495
- }, {
1496
- readonly attributes: readonly ["lane", "state"];
1497
- readonly name: "lane_state";
1498
- readonly type: "key";
1499
- }];
1500
- readonly name: "Mailbox sync lanes";
1501
- readonly wirePermissions: "empty";
1502
- }>;
1503
- mailboxSyncStates: AppwriteRowSchemaFor<{
1504
- readonly fields: {
1505
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1506
- accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1507
- provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
1508
- providerCursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1509
- uidValidity: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1510
- state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["INITIAL", "SYNCING", "CURRENT", "ERROR"], undefined>>;
1511
- nextPollAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
1512
- lastEventAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1513
- lastSyncAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1514
- materialisationLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1515
- materialisationLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
1516
- errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1517
- };
1518
- readonly indexes: readonly [{
1519
- readonly attributes: readonly ["state", "nextPollAt"];
1520
- readonly name: "state_next_poll";
1521
- readonly type: "key";
1522
- }, {
1523
- readonly attributes: readonly ["accountId"];
1524
- readonly name: "account_unique";
1525
- readonly type: "unique";
1526
- }];
1527
- readonly name: "Mailbox sync states";
1528
- }>;
1529
- messageLocations: AppwriteRowSchemaFor<{
1530
- readonly dataCheck: typeof import("./shared.js").messageLocationCoordinateCheck;
1531
- readonly fields: {
1532
- account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1533
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1534
- }, undefined>, v.TransformAction<{
1535
- $id: string;
1536
- }, string>]>], undefined>>;
1537
- accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1538
- flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1539
- label: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1540
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1541
- }, undefined>, v.TransformAction<{
1542
- $id: string;
1543
- }, string>]>], undefined>>;
1544
- labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1545
- message: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1546
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1547
- }, undefined>, v.TransformAction<{
1548
- $id: string;
1549
- }, string>]>], undefined>>;
1550
- messageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1551
- seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1552
- thread: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1553
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1554
- }, undefined>, v.TransformAction<{
1555
- $id: string;
1556
- }, string>]>], undefined>>;
1557
- threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1558
- uid: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
1559
- uidValidity: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
1560
- };
1561
- readonly indexes: readonly [{
1562
- readonly attributes: readonly ["accountAssignmentKey", "labelAssignmentKey", "uidValidity", "uid"];
1563
- readonly name: "assignment_account_label_uid";
1564
- readonly type: "key";
1565
- }, {
1566
- readonly attributes: readonly ["accountAssignmentKey", "threadAssignmentKey"];
1567
- readonly name: "assignment_account_thread";
1568
- readonly type: "key";
1569
- }, {
1570
- readonly attributes: readonly ["threadAssignmentKey", "labelAssignmentKey", "messageAt"];
1571
- readonly name: "assignment_thread_label_latest";
1572
- readonly type: "key";
1573
- }];
1574
- readonly name: "Message locations";
1575
- }>;
1576
- messages: AppwriteRowSchemaFor<{
1577
- readonly fields: {
1578
- account: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1579
- accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1580
- attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
1581
- htmlFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1582
- materialisationGeneration: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1583
- preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1584
- providerHistoryId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1585
- providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1586
- providerLabelIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1587
- providerThreadId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1588
- rawFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1589
- receivedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1590
- recipients: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1591
- revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1592
- rfcMessageId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1593
- sender: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1594
- senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1595
- sentAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1596
- size: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1597
- subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1598
- thread: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1599
- threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1600
- };
1601
- readonly indexes: readonly [{
1602
- readonly attributes: readonly ["threadAssignmentKey", "sentAt"];
1603
- readonly name: "assignment_thread_sent";
1604
- readonly type: "key";
1605
- }, {
1606
- readonly attributes: readonly ["accountAssignmentKey", "providerId"];
1607
- readonly name: "assignment_account_provider_unique";
1608
- readonly type: "unique";
1609
- }, {
1610
- readonly attributes: readonly ["accountAssignmentKey", "rfcMessageId"];
1611
- readonly name: "assignment_account_rfc_message";
1612
- readonly type: "key";
1613
- }];
1614
- readonly name: "Messages";
1615
- }>;
1616
- oauthStates: AppwriteRowSchemaFor<{
1617
- readonly fields: {
1618
- accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1619
- email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
1620
- expiresAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1621
- nonceHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1622
- operation: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["CONNECT", "REPLACE"], undefined>>;
1623
- profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1624
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1625
- }, undefined>, v.TransformAction<{
1626
- $id: string;
1627
- }, string>]>], undefined>>;
1628
- provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK"], undefined>>;
1629
- returnUri: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["https://app.marcoapp.io/onboarding/loading"], undefined>>;
1630
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1631
- };
1632
- readonly indexes: readonly [];
1633
- readonly name: "OAuth states";
1634
- }>;
1635
- pollShardCoordinators: AppwriteRowSchemaFor<{
1636
- readonly fields: {
1637
- accountCursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1638
- };
1639
- readonly indexes: readonly [];
1640
- readonly name: "Poll shard coordinators";
1641
- readonly wirePermissions: "empty";
1642
- }>;
1643
- pollShards: AppwriteRowSchemaFor<{
1644
- readonly fields: {
1645
- accountIds: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>>;
1646
- generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1647
- state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACTIVE", "STOPPED", "FAILED"], undefined>>;
1648
- leaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1649
- leaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
1650
- lastStartedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1651
- nextStartAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>>;
1652
- pollingSnapshot: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
1653
- scheduledExecutionId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1654
- errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1655
- };
1656
- readonly indexes: readonly [{
1657
- readonly attributes: readonly ["state", "nextStartAt"];
1658
- readonly name: "state_next_start";
1659
- readonly type: "key";
1660
- }, {
1661
- readonly attributes: readonly ["leaseExpiresAt"];
1662
- readonly name: "lease_expiry";
1663
- readonly type: "key";
1664
- }];
1665
- readonly name: "Poll shards";
1666
- readonly wirePermissions: "empty";
1667
- }>;
1668
- profileAvatarCleanups: AppwriteRowSchemaFor<{
1669
- readonly fields: {
1670
- claimedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1671
- claimId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1672
- fileId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1673
- profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1674
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1675
- }, undefined>, v.TransformAction<{
1676
- $id: string;
1677
- }, string>]>], undefined>>;
1678
- };
1679
- readonly indexes: readonly [];
1680
- readonly name: "Profile avatar cleanups";
1681
- readonly wirePermissions: "empty";
1682
- }>;
1683
- profiles: AppwriteRowSchemaFor<{
1684
- readonly fields: {
1685
- avatarFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>, undefined>>;
1686
- deletionRequestedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1687
- email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
1688
- name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1689
- onboardingState: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1690
- timezone: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1691
- };
1692
- readonly indexes: readonly [{
1693
- readonly attributes: readonly ["email"];
1694
- readonly name: "email_unique";
1695
- readonly type: "unique";
1696
- }];
1697
- readonly name: "Profiles";
1698
- }>;
1699
- pushNotificationTokens: AppwriteRowSchemaFor<{
1700
- readonly fields: {
1701
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1702
- token: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1703
- profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1704
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1705
- }, undefined>, v.TransformAction<{
1706
- $id: string;
1707
- }, string>]>], undefined>>;
1708
- };
1709
- readonly indexes: readonly [{
1710
- readonly attributes: readonly ["userId"];
1711
- readonly name: "user";
1712
- readonly type: "key";
1713
- }, {
1714
- readonly attributes: readonly ["token"];
1715
- readonly name: "token_unique";
1716
- readonly type: "unique";
1717
- }];
1718
- readonly name: "Push notification tokens";
1719
- }>;
1720
- savedViews: AppwriteRowSchemaFor<{
1721
- readonly fields: {
1722
- aliasIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1723
- icon: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1724
- name: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1725
- profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1726
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1727
- }, undefined>, v.TransformAction<{
1728
- $id: string;
1729
- }, string>]>], undefined>>;
1730
- };
1731
- readonly indexes: readonly [];
1732
- readonly name: "Saved views";
1733
- }>;
1734
- threadAliases: AppwriteRowSchemaFor<{
1735
- readonly fields: {
1736
- alias: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1737
- aliasAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1738
- latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1739
- thread: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1740
- threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1741
- };
1742
- readonly indexes: readonly [{
1743
- readonly attributes: readonly ["threadAssignmentKey", "aliasAssignmentKey"];
1744
- readonly name: "assignment_thread_alias_unique";
1745
- readonly type: "unique";
1746
- }, {
1747
- readonly attributes: readonly ["aliasAssignmentKey", "latestMessageAt"];
1748
- readonly name: "assignment_alias_latest";
1749
- readonly type: "key";
1750
- }];
1751
- readonly name: "Thread aliases";
1752
- }>;
1753
- threadLabels: AppwriteRowSchemaFor<{
1754
- readonly fields: {
1755
- label: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1756
- labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1757
- latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1758
- locationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1759
- thread: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1760
- threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1761
- };
1762
- readonly indexes: readonly [{
1763
- readonly attributes: readonly ["threadAssignmentKey", "labelAssignmentKey"];
1764
- readonly name: "assignment_thread_label_unique";
1765
- readonly type: "unique";
1766
- }, {
1767
- readonly attributes: readonly ["labelAssignmentKey", "latestMessageAt"];
1768
- readonly name: "assignment_label_latest";
1769
- readonly type: "key";
1770
- }];
1771
- readonly name: "Thread labels";
1772
- }>;
1773
- threads: AppwriteRowSchemaFor<{
1774
- readonly fields: {
1775
- account: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1776
- accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1777
- archived: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1778
- firstMessageAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
1779
- flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1780
- flaggedLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1781
- hasAttachments: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1782
- labelIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1783
- latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
1784
- latestMessageId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1785
- messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1786
- participants: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1787
- preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1788
- providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
1789
- revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1790
- searchText: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1791
- seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1792
- senderEmail: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>>;
1793
- senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
1794
- snoozedUntil: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
1795
- spam: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1796
- subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
1797
- trashed: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
1798
- unseenLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
1799
- };
1800
- readonly indexes: readonly [{
1801
- readonly attributes: readonly ["accountAssignmentKey", "providerId"];
1802
- readonly name: "assignment_account_provider_unique";
1803
- readonly type: "unique";
1804
- }, {
1805
- readonly attributes: readonly ["accountAssignmentKey", "latestMessageAt"];
1806
- readonly name: "assignment_account_latest";
1807
- readonly type: "key";
1808
- }, {
1809
- readonly attributes: readonly ["accountAssignmentKey", "seen", "latestMessageAt"];
1810
- readonly name: "assignment_account_seen_latest";
1811
- readonly type: "key";
1812
- }, {
1813
- readonly attributes: readonly ["accountAssignmentKey", "flagged", "latestMessageAt"];
1814
- readonly name: "assignment_account_flagged_latest";
1815
- readonly type: "key";
1816
- }, {
1817
- readonly attributes: readonly ["accountAssignmentKey", "snoozedUntil", "latestMessageAt"];
1818
- readonly name: "assignment_account_snoozed_latest";
1819
- readonly type: "key";
1820
- }, {
1821
- readonly attributes: readonly ["snoozedUntil"];
1822
- readonly name: "snoozed_due";
1823
- readonly type: "key";
1824
- }, {
1825
- readonly attributes: readonly ["accountAssignmentKey", "archived", "latestMessageAt"];
1826
- readonly name: "assignment_account_archived_latest";
1827
- readonly type: "key";
1828
- }, {
1829
- readonly attributes: readonly ["accountAssignmentKey", "spam", "latestMessageAt"];
1830
- readonly name: "assignment_account_spam_latest";
1831
- readonly type: "key";
1832
- }, {
1833
- readonly attributes: readonly ["accountAssignmentKey", "trashed", "latestMessageAt"];
1834
- readonly name: "assignment_account_trashed_latest";
1835
- readonly type: "key";
1836
- }, {
1837
- readonly attributes: readonly ["searchText"];
1838
- readonly name: "search";
1839
- readonly type: "fulltext";
1840
- }];
1841
- readonly name: "Threads";
1842
- }>;
1843
- };
1844
- tables: { [TTableKey in AppwriteTableKey]: AppwriteTableDefinition; };
1845
- };
1846
- export declare const appwriteTables: {
1847
- accounts: Readonly<{
1848
- columns: readonly AppwriteColumnDefinition[];
1849
- id: string;
1850
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
1851
- key: AppwriteTableKey;
1852
- name: string;
1853
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
1854
- }>;
1855
- aliases: Readonly<{
1856
- columns: readonly AppwriteColumnDefinition[];
1857
- id: string;
1858
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
1859
- key: AppwriteTableKey;
1860
- name: string;
1861
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
1862
- }>;
1863
- commands: Readonly<{
1864
- columns: readonly AppwriteColumnDefinition[];
1865
- id: string;
1866
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
1867
- key: AppwriteTableKey;
1868
- name: string;
1869
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
1870
- }>;
1871
- contacts: Readonly<{
1872
- columns: readonly AppwriteColumnDefinition[];
1873
- id: string;
1874
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
1875
- key: AppwriteTableKey;
1876
- name: string;
1877
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
1878
- }>;
1879
- credentials: Readonly<{
1880
- columns: readonly AppwriteColumnDefinition[];
1881
- id: string;
1882
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
1883
- key: AppwriteTableKey;
1884
- name: string;
1885
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
1886
- }>;
1887
- drafts: Readonly<{
1888
- columns: readonly AppwriteColumnDefinition[];
1889
- id: string;
1890
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
1891
- key: AppwriteTableKey;
1892
- name: string;
1893
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
1894
- }>;
1895
- jobs: Readonly<{
1896
- columns: readonly AppwriteColumnDefinition[];
1897
- id: string;
1898
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
1899
- key: AppwriteTableKey;
1900
- name: string;
1901
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
1902
- }>;
1903
- labels: Readonly<{
1904
- columns: readonly AppwriteColumnDefinition[];
1905
- id: string;
1906
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
1907
- key: AppwriteTableKey;
1908
- name: string;
1909
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
1910
- }>;
1911
- mailboxSyncCandidates: Readonly<{
1912
- columns: readonly AppwriteColumnDefinition[];
1913
- id: string;
1914
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
1915
- key: AppwriteTableKey;
1916
- name: string;
1917
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
1918
- }>;
1919
- mailboxSyncLanes: Readonly<{
1920
- columns: readonly AppwriteColumnDefinition[];
1921
- id: string;
1922
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
1923
- key: AppwriteTableKey;
1924
- name: string;
1925
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
1926
- }>;
1927
- mailboxSyncStates: Readonly<{
1928
- columns: readonly AppwriteColumnDefinition[];
1929
- id: string;
1930
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
1931
- key: AppwriteTableKey;
1932
- name: string;
1933
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
1934
- }>;
1935
- messageLocations: Readonly<{
1936
- columns: readonly AppwriteColumnDefinition[];
1937
- id: string;
1938
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
1939
- key: AppwriteTableKey;
1940
- name: string;
1941
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
1942
- }>;
1943
- messages: Readonly<{
1944
- columns: readonly AppwriteColumnDefinition[];
1945
- id: string;
1946
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
1947
- key: AppwriteTableKey;
1948
- name: string;
1949
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
1950
- }>;
1951
- oauthStates: Readonly<{
1952
- columns: readonly AppwriteColumnDefinition[];
1953
- id: string;
1954
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
1955
- key: AppwriteTableKey;
1956
- name: string;
1957
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
1958
- }>;
1959
- pollShardCoordinators: Readonly<{
1960
- columns: readonly AppwriteColumnDefinition[];
1961
- id: string;
1962
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
1963
- key: AppwriteTableKey;
1964
- name: string;
1965
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
1966
- }>;
1967
- pollShards: Readonly<{
1968
- columns: readonly AppwriteColumnDefinition[];
1969
- id: string;
1970
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
1971
- key: AppwriteTableKey;
1972
- name: string;
1973
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
1974
- }>;
1975
- profileAvatarCleanups: Readonly<{
1976
- columns: readonly AppwriteColumnDefinition[];
1977
- id: string;
1978
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
1979
- key: AppwriteTableKey;
1980
- name: string;
1981
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
1982
- }>;
1983
- profiles: Readonly<{
1984
- columns: readonly AppwriteColumnDefinition[];
1985
- id: string;
1986
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
1987
- key: AppwriteTableKey;
1988
- name: string;
1989
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
1990
- }>;
1991
- pushNotificationTokens: Readonly<{
1992
- columns: readonly AppwriteColumnDefinition[];
1993
- id: string;
1994
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
1995
- key: AppwriteTableKey;
1996
- name: string;
1997
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
1998
- }>;
1999
- savedViews: Readonly<{
2000
- columns: readonly AppwriteColumnDefinition[];
2001
- id: string;
2002
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
2003
- key: AppwriteTableKey;
2004
- name: string;
2005
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
2006
- }>;
2007
- threadAliases: Readonly<{
2008
- columns: readonly AppwriteColumnDefinition[];
2009
- id: string;
2010
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
2011
- key: AppwriteTableKey;
2012
- name: string;
2013
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
2014
- }>;
2015
- threadLabels: Readonly<{
2016
- columns: readonly AppwriteColumnDefinition[];
2017
- id: string;
2018
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
2019
- key: AppwriteTableKey;
2020
- name: string;
2021
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
2022
- }>;
2023
- threads: Readonly<{
2024
- columns: readonly AppwriteColumnDefinition[];
2025
- id: string;
2026
- indexes: readonly import("./shared.js").AppwriteIndexDefinition[];
2027
- key: AppwriteTableKey;
2028
- name: string;
2029
- relationships: readonly import("./shared.js").AppwriteRelationshipDefinition[];
2030
- }>;
2031
- };
2032
- export declare const appwriteDataSchemas: {
2033
- accounts: AppwriteObjectSchema<{
2034
- readonly colour: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 64, undefined>]>>;
2035
- readonly credential: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2036
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2037
- }, undefined>, v.TransformAction<{
2038
- $id: string;
2039
- }, string>]>], undefined>, undefined>>;
2040
- readonly displayName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2041
- readonly initialSyncCompletedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2042
- readonly lastErrorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2043
- readonly lastSuccessfulSyncAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2044
- readonly mailboxSyncState: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2045
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2046
- }, undefined>, v.TransformAction<{
2047
- $id: string;
2048
- }, string>]>], undefined>, undefined>>;
2049
- readonly mailProcessedCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2050
- readonly mailTotalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2051
- readonly pollShardAssignmentId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2052
- readonly pollShardId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2053
- readonly primaryAlias: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2054
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2055
- }, undefined>, v.TransformAction<{
2056
- $id: string;
2057
- }, string>]>], undefined>, undefined>>;
2058
- readonly primaryEmail: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
2059
- readonly profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2060
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2061
- }, undefined>, v.TransformAction<{
2062
- $id: string;
2063
- }, string>]>], undefined>>;
2064
- readonly profileAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2065
- readonly provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
2066
- readonly state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "ERROR", "DISCONNECTED"], undefined>>;
2067
- }>;
2068
- aliases: AppwriteObjectSchema<{
2069
- readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2070
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2071
- }, undefined>, v.TransformAction<{
2072
- $id: string;
2073
- }, string>]>], undefined>>;
2074
- readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2075
- readonly email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
2076
- readonly isPrimary: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
2077
- readonly name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2078
- readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2079
- readonly signature: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
2080
- }>;
2081
- commands: AppwriteObjectSchema<{
2082
- readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2083
- readonly accountId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2084
- readonly draftId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2085
- readonly kind: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2086
- readonly payload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
2087
- readonly payloadHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2088
- readonly state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACCEPTED", "RUNNING", "SUCCEEDED", "FAILED"], undefined>>;
2089
- readonly attempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2090
- readonly canonicalRevision: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>>;
2091
- readonly errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2092
- readonly submittedAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
2093
- readonly account: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2094
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2095
- }, undefined>, v.TransformAction<{
2096
- $id: string;
2097
- }, string>]>], undefined>, undefined>>;
2098
- readonly profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2099
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2100
- }, undefined>, v.TransformAction<{
2101
- $id: string;
2102
- }, string>]>], undefined>>;
2103
- }>;
2104
- contacts: AppwriteObjectSchema<{
2105
- readonly displayName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2106
- readonly lastContactedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2107
- readonly messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2108
- readonly normalisedAddress: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>>;
2109
- readonly profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2110
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2111
- }, undefined>, v.TransformAction<{
2112
- $id: string;
2113
- }, string>]>], undefined>>;
2114
- readonly profileAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2115
- readonly searchText: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
2116
- }>;
2117
- credentials: AppwriteObjectSchema<{
2118
- readonly accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2119
- readonly encryptedPayload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
2120
- readonly expiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2121
- readonly provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
2122
- readonly refreshLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
2123
- readonly refreshLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2124
- readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2125
- }>;
2126
- drafts: AppwriteObjectSchema<{
2127
- readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2128
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2129
- }, undefined>, v.TransformAction<{
2130
- $id: string;
2131
- }, string>]>], undefined>>;
2132
- readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2133
- readonly attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
2134
- readonly contentHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2135
- readonly envelope: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
2136
- readonly errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2137
- readonly executionLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
2138
- readonly executionLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2139
- readonly fromAlias: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2140
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2141
- }, undefined>, v.TransformAction<{
2142
- $id: string;
2143
- }, string>]>], undefined>, undefined>>;
2144
- readonly html: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
2145
- readonly referencedMessage: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2146
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2147
- }, undefined>, v.TransformAction<{
2148
- $id: string;
2149
- }, string>]>], undefined>, undefined>>;
2150
- readonly revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2151
- readonly scheduledAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
2152
- readonly sequence: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2153
- readonly status: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["DRAFT", "SCHEDULED", "SENDING", "SENT", "FAILED", "CANCELLED"], undefined>>;
2154
- readonly type: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["COMPOSE", "REPLY", "FORWARD"], undefined>>;
2155
- }>;
2156
- jobs: AppwriteObjectSchema<{
2157
- readonly commandId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2158
- readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2159
- readonly accountId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2160
- readonly kind: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2161
- readonly payload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
2162
- readonly dedupeKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2163
- readonly state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED"], undefined>>;
2164
- readonly attempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2165
- readonly maxAttempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2166
- readonly nextRunAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>>;
2167
- readonly leaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2168
- readonly leaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
2169
- readonly errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2170
- }>;
2171
- labels: AppwriteObjectSchema<{
2172
- readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2173
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2174
- }, undefined>, v.TransformAction<{
2175
- $id: string;
2176
- }, string>]>], undefined>>;
2177
- readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2178
- readonly name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2179
- readonly path: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2180
- readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2181
- readonly specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
2182
- readonly totalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2183
- readonly unreadCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2184
- }>;
2185
- mailboxSyncCandidates: AppwriteObjectSchema<{
2186
- readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2187
- readonly accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2188
- readonly generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2189
- readonly lane: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
2190
- readonly labelId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2191
- readonly mailboxPath: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2192
- readonly mailboxPriority: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2193
- readonly mailboxSortKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 257, undefined>]>>;
2194
- readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2195
- readonly receivedAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
2196
- readonly specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
2197
- readonly uid: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
2198
- readonly uidValidity: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
2199
- readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2200
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2201
- }, undefined>, v.TransformAction<{
2202
- $id: string;
2203
- }, string>]>], undefined>>;
2204
- readonly label: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2205
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2206
- }, undefined>, v.TransformAction<{
2207
- $id: string;
2208
- }, string>]>], undefined>>;
2209
- }>;
2210
- mailboxSyncLanes: AppwriteObjectSchema<{
2211
- readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2212
- readonly accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2213
- readonly commandId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2214
- readonly cursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
2215
- readonly generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2216
- readonly lane: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
2217
- readonly state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "COMPLETED", "FAILED"], undefined>>;
2218
- readonly errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2219
- readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2220
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2221
- }, undefined>, v.TransformAction<{
2222
- $id: string;
2223
- }, string>]>], undefined>>;
2224
- }>;
2225
- mailboxSyncStates: AppwriteObjectSchema<{
2226
- readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2227
- readonly accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2228
- readonly provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
2229
- readonly providerCursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
2230
- readonly uidValidity: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
2231
- readonly state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["INITIAL", "SYNCING", "CURRENT", "ERROR"], undefined>>;
2232
- readonly nextPollAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
2233
- readonly lastEventAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2234
- readonly lastSyncAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2235
- readonly materialisationLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2236
- readonly materialisationLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
2237
- readonly errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2238
- }>;
2239
- messageLocations: AppwriteCheckedObjectSchema<{
2240
- readonly account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2241
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2242
- }, undefined>, v.TransformAction<{
2243
- $id: string;
2244
- }, string>]>], undefined>>;
2245
- readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2246
- readonly flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
2247
- readonly label: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2248
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2249
- }, undefined>, v.TransformAction<{
2250
- $id: string;
2251
- }, string>]>], undefined>>;
2252
- readonly labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2253
- readonly message: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2254
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2255
- }, undefined>, v.TransformAction<{
2256
- $id: string;
2257
- }, string>]>], undefined>>;
2258
- readonly messageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
2259
- readonly seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
2260
- readonly thread: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2261
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2262
- }, undefined>, v.TransformAction<{
2263
- $id: string;
2264
- }, string>]>], undefined>>;
2265
- readonly threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2266
- readonly uid: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
2267
- readonly uidValidity: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
2268
- }>;
2269
- messages: AppwriteObjectSchema<{
2270
- readonly account: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2271
- readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2272
- readonly attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
2273
- readonly htmlFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2274
- readonly materialisationGeneration: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2275
- readonly preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
2276
- readonly providerHistoryId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2277
- readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2278
- readonly providerLabelIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2279
- readonly providerThreadId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2280
- readonly rawFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2281
- readonly receivedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2282
- readonly recipients: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
2283
- readonly revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2284
- readonly rfcMessageId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2285
- readonly sender: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
2286
- readonly senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
2287
- readonly sentAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
2288
- readonly size: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2289
- readonly subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
2290
- readonly thread: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2291
- readonly threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2292
- }>;
2293
- oauthStates: AppwriteObjectSchema<{
2294
- readonly accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2295
- readonly email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
2296
- readonly expiresAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
2297
- readonly nonceHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2298
- readonly operation: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["CONNECT", "REPLACE"], undefined>>;
2299
- readonly profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2300
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2301
- }, undefined>, v.TransformAction<{
2302
- $id: string;
2303
- }, string>]>], undefined>>;
2304
- readonly provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK"], undefined>>;
2305
- readonly returnUri: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["https://app.marcoapp.io/onboarding/loading"], undefined>>;
2306
- readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2307
- }>;
2308
- pollShardCoordinators: AppwriteObjectSchema<{
2309
- readonly accountCursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2310
- }>;
2311
- pollShards: AppwriteObjectSchema<{
2312
- readonly accountIds: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>>;
2313
- readonly generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2314
- readonly state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACTIVE", "STOPPED", "FAILED"], undefined>>;
2315
- readonly leaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2316
- readonly leaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
2317
- readonly lastStartedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2318
- readonly nextStartAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>>;
2319
- readonly pollingSnapshot: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
2320
- readonly scheduledExecutionId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2321
- readonly errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2322
- }>;
2323
- profileAvatarCleanups: AppwriteObjectSchema<{
2324
- readonly claimedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2325
- readonly claimId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2326
- readonly fileId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2327
- readonly profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2328
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2329
- }, undefined>, v.TransformAction<{
2330
- $id: string;
2331
- }, string>]>], undefined>>;
2332
- }>;
2333
- profiles: AppwriteObjectSchema<{
2334
- readonly avatarFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>, undefined>>;
2335
- readonly deletionRequestedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2336
- readonly email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
2337
- readonly name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2338
- readonly onboardingState: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2339
- readonly timezone: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2340
- }>;
2341
- pushNotificationTokens: AppwriteObjectSchema<{
2342
- readonly userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2343
- readonly token: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2344
- readonly profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2345
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2346
- }, undefined>, v.TransformAction<{
2347
- $id: string;
2348
- }, string>]>], undefined>>;
2349
- }>;
2350
- savedViews: AppwriteObjectSchema<{
2351
- readonly aliasIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2352
- readonly icon: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2353
- readonly name: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2354
- readonly profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2355
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2356
- }, undefined>, v.TransformAction<{
2357
- $id: string;
2358
- }, string>]>], undefined>>;
2359
- }>;
2360
- threadAliases: AppwriteObjectSchema<{
2361
- readonly alias: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2362
- readonly aliasAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2363
- readonly latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
2364
- readonly thread: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2365
- readonly threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2366
- }>;
2367
- threadLabels: AppwriteObjectSchema<{
2368
- readonly label: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2369
- readonly labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2370
- readonly latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
2371
- readonly locationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2372
- readonly thread: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2373
- readonly threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2374
- }>;
2375
- threads: AppwriteObjectSchema<{
2376
- readonly account: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2377
- readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2378
- readonly archived: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
2379
- readonly firstMessageAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2380
- readonly flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
2381
- readonly flaggedLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2382
- readonly hasAttachments: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
2383
- readonly labelIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2384
- readonly latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
2385
- readonly latestMessageId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2386
- readonly messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2387
- readonly participants: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
2388
- readonly preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
2389
- readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2390
- readonly revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2391
- readonly searchText: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
2392
- readonly seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
2393
- readonly senderEmail: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>>;
2394
- readonly senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2395
- readonly snoozedUntil: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
2396
- readonly spam: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
2397
- readonly subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
2398
- readonly trashed: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
2399
- readonly unseenLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2400
- }>;
2401
- };
2402
- export declare const appwriteRowSchemas: {
2403
- accounts: AppwriteRowSchemaFor<{
2404
- readonly fields: {
2405
- colour: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 64, undefined>]>>;
2406
- credential: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2407
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2408
- }, undefined>, v.TransformAction<{
2409
- $id: string;
2410
- }, string>]>], undefined>, undefined>>;
2411
- displayName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2412
- initialSyncCompletedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2413
- lastErrorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2414
- lastSuccessfulSyncAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2415
- mailboxSyncState: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2416
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2417
- }, undefined>, v.TransformAction<{
2418
- $id: string;
2419
- }, string>]>], undefined>, undefined>>;
2420
- mailProcessedCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2421
- mailTotalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2422
- pollShardAssignmentId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2423
- pollShardId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2424
- primaryAlias: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2425
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2426
- }, undefined>, v.TransformAction<{
2427
- $id: string;
2428
- }, string>]>], undefined>, undefined>>;
2429
- primaryEmail: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
2430
- profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2431
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2432
- }, undefined>, v.TransformAction<{
2433
- $id: string;
2434
- }, string>]>], undefined>>;
2435
- profileAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2436
- provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
2437
- state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "ERROR", "DISCONNECTED"], undefined>>;
2438
- };
2439
- readonly indexes: readonly [{
2440
- readonly attributes: readonly ["profileAssignmentKey"];
2441
- readonly name: "assignment_profile";
2442
- readonly type: "key";
2443
- }, {
2444
- readonly attributes: readonly ["profileAssignmentKey", "state"];
2445
- readonly name: "assignment_profile_state";
2446
- readonly type: "key";
2447
- }, {
2448
- readonly attributes: readonly ["state"];
2449
- readonly name: "state";
2450
- readonly type: "key";
2451
- }, {
2452
- readonly attributes: readonly ["state", "pollShardAssignmentId"];
2453
- readonly name: "state_poll_shard_assignment";
2454
- readonly type: "key";
2455
- }, {
2456
- readonly attributes: readonly ["pollShardAssignmentId"];
2457
- readonly name: "poll_shard_assignment";
2458
- readonly type: "key";
2459
- }, {
2460
- readonly attributes: readonly ["pollShardId"];
2461
- readonly name: "poll_shard";
2462
- readonly type: "key";
2463
- }];
2464
- readonly name: "Accounts";
2465
- }>;
2466
- aliases: AppwriteRowSchemaFor<{
2467
- readonly fields: {
2468
- account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2469
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2470
- }, undefined>, v.TransformAction<{
2471
- $id: string;
2472
- }, string>]>], undefined>>;
2473
- accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2474
- email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
2475
- isPrimary: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
2476
- name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2477
- providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2478
- signature: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
2479
- };
2480
- readonly indexes: readonly [{
2481
- readonly attributes: readonly ["accountAssignmentKey"];
2482
- readonly name: "assignment_account";
2483
- readonly type: "key";
2484
- }, {
2485
- readonly attributes: readonly ["accountAssignmentKey", "providerId"];
2486
- readonly name: "assignment_account_provider_unique";
2487
- readonly type: "unique";
2488
- }];
2489
- readonly name: "Aliases";
2490
- }>;
2491
- commands: AppwriteRowSchemaFor<{
2492
- readonly fields: {
2493
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2494
- accountId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2495
- draftId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2496
- kind: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2497
- payload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
2498
- payloadHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2499
- state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACCEPTED", "RUNNING", "SUCCEEDED", "FAILED"], undefined>>;
2500
- attempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2501
- canonicalRevision: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>>;
2502
- errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2503
- submittedAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
2504
- account: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2505
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2506
- }, undefined>, v.TransformAction<{
2507
- $id: string;
2508
- }, string>]>], undefined>, undefined>>;
2509
- profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2510
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2511
- }, undefined>, v.TransformAction<{
2512
- $id: string;
2513
- }, string>]>], undefined>>;
2514
- };
2515
- readonly indexes: readonly [{
2516
- readonly attributes: readonly ["userId"];
2517
- readonly name: "user";
2518
- readonly type: "key";
2519
- }, {
2520
- readonly attributes: readonly ["userId", "submittedAt"];
2521
- readonly name: "user_submitted";
2522
- readonly type: "key";
2523
- }, {
2524
- readonly attributes: readonly ["accountId", "state"];
2525
- readonly name: "account_state";
2526
- readonly type: "key";
2527
- }, {
2528
- readonly attributes: readonly ["draftId", "canonicalRevision"];
2529
- readonly name: "draft_sequence";
2530
- readonly type: "key";
2531
- }, {
2532
- readonly attributes: readonly ["state", "submittedAt"];
2533
- readonly name: "state_submitted";
2534
- readonly type: "key";
2535
- }];
2536
- readonly name: "Commands";
2537
- }>;
2538
- contacts: AppwriteRowSchemaFor<{
2539
- readonly fields: {
2540
- displayName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2541
- lastContactedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2542
- messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2543
- normalisedAddress: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>>;
2544
- profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2545
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2546
- }, undefined>, v.TransformAction<{
2547
- $id: string;
2548
- }, string>]>], undefined>>;
2549
- profileAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2550
- searchText: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
2551
- };
2552
- readonly indexes: readonly [{
2553
- readonly attributes: readonly ["profileAssignmentKey", "lastContactedAt"];
2554
- readonly name: "assignment_profile_last_contacted";
2555
- readonly type: "key";
2556
- }, {
2557
- readonly attributes: readonly ["profileAssignmentKey", "normalisedAddress"];
2558
- readonly name: "assignment_profile_address_unique";
2559
- readonly type: "unique";
2560
- }, {
2561
- readonly attributes: readonly ["searchText"];
2562
- readonly name: "search";
2563
- readonly type: "fulltext";
2564
- }];
2565
- readonly name: "Contacts";
2566
- }>;
2567
- credentials: AppwriteRowSchemaFor<{
2568
- readonly fields: {
2569
- accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2570
- encryptedPayload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
2571
- expiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2572
- provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
2573
- refreshLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
2574
- refreshLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2575
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2576
- };
2577
- readonly indexes: readonly [{
2578
- readonly attributes: readonly ["userId"];
2579
- readonly name: "user";
2580
- readonly type: "key";
2581
- }, {
2582
- readonly attributes: readonly ["accountId"];
2583
- readonly name: "account_unique";
2584
- readonly type: "unique";
2585
- }];
2586
- readonly name: "Credentials";
2587
- }>;
2588
- drafts: AppwriteRowSchemaFor<{
2589
- readonly fields: {
2590
- account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2591
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2592
- }, undefined>, v.TransformAction<{
2593
- $id: string;
2594
- }, string>]>], undefined>>;
2595
- accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2596
- attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
2597
- contentHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2598
- envelope: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
2599
- errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2600
- executionLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
2601
- executionLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2602
- fromAlias: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2603
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2604
- }, undefined>, v.TransformAction<{
2605
- $id: string;
2606
- }, string>]>], undefined>, undefined>>;
2607
- html: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
2608
- referencedMessage: AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2609
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2610
- }, undefined>, v.TransformAction<{
2611
- $id: string;
2612
- }, string>]>], undefined>, undefined>>;
2613
- revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2614
- scheduledAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
2615
- sequence: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2616
- status: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["DRAFT", "SCHEDULED", "SENDING", "SENT", "FAILED", "CANCELLED"], undefined>>;
2617
- type: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["COMPOSE", "REPLY", "FORWARD"], undefined>>;
2618
- };
2619
- readonly indexes: readonly [{
2620
- readonly attributes: readonly ["accountAssignmentKey"];
2621
- readonly name: "assignment_account";
2622
- readonly type: "key";
2623
- }, {
2624
- readonly attributes: readonly ["accountAssignmentKey", "status"];
2625
- readonly name: "assignment_account_status";
2626
- readonly type: "key";
2627
- }, {
2628
- readonly attributes: readonly ["scheduledAt"];
2629
- readonly name: "scheduled";
2630
- readonly type: "key";
2631
- }];
2632
- readonly name: "Drafts";
2633
- }>;
2634
- jobs: AppwriteRowSchemaFor<{
2635
- readonly fields: {
2636
- commandId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2637
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2638
- accountId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2639
- kind: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2640
- payload: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
2641
- dedupeKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2642
- state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED"], undefined>>;
2643
- attempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2644
- maxAttempts: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2645
- nextRunAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>>;
2646
- leaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2647
- leaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
2648
- errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2649
- };
2650
- readonly indexes: readonly [{
2651
- readonly attributes: readonly ["state", "nextRunAt"];
2652
- readonly name: "state_next_run";
2653
- readonly type: "key";
2654
- }, {
2655
- readonly attributes: readonly ["leaseExpiresAt"];
2656
- readonly name: "lease_expiry";
2657
- readonly type: "key";
2658
- }, {
2659
- readonly attributes: readonly ["state", "leaseExpiresAt"];
2660
- readonly name: "state_lease_expiry";
2661
- readonly type: "key";
2662
- }, {
2663
- readonly attributes: readonly ["userId", "state", "leaseExpiresAt"];
2664
- readonly name: "user_state_lease_expiry";
2665
- readonly type: "key";
2666
- }, {
2667
- readonly attributes: readonly ["state", "leaseExpiresAt", "leaseId", "attempts"];
2668
- readonly name: "recovery_fence";
2669
- readonly type: "key";
2670
- }, {
2671
- readonly attributes: readonly ["commandId"];
2672
- readonly name: "command";
2673
- readonly type: "key";
2674
- }, {
2675
- readonly attributes: readonly ["dedupeKey"];
2676
- readonly name: "dedupe_key_unique";
2677
- readonly type: "unique";
2678
- }, {
2679
- readonly attributes: readonly ["userId"];
2680
- readonly name: "user";
2681
- readonly type: "key";
2682
- }];
2683
- readonly name: "Jobs";
2684
- }>;
2685
- labels: AppwriteRowSchemaFor<{
2686
- readonly fields: {
2687
- account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2688
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2689
- }, undefined>, v.TransformAction<{
2690
- $id: string;
2691
- }, string>]>], undefined>>;
2692
- accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2693
- name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2694
- path: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2695
- providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2696
- specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
2697
- totalCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2698
- unreadCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2699
- };
2700
- readonly indexes: readonly [{
2701
- readonly attributes: readonly ["accountAssignmentKey", "specialUse"];
2702
- readonly name: "assignment_account_special_use";
2703
- readonly type: "key";
2704
- }, {
2705
- readonly attributes: readonly ["accountAssignmentKey", "path"];
2706
- readonly name: "assignment_account_path_unique";
2707
- readonly type: "unique";
2708
- }, {
2709
- readonly attributes: readonly ["accountAssignmentKey", "providerId"];
2710
- readonly name: "assignment_account_provider_unique";
2711
- readonly type: "unique";
2712
- }];
2713
- readonly name: "Labels";
2714
- }>;
2715
- mailboxSyncCandidates: AppwriteRowSchemaFor<{
2716
- readonly fields: {
2717
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2718
- accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2719
- generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2720
- lane: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
2721
- labelId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2722
- mailboxPath: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2723
- mailboxPriority: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2724
- mailboxSortKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 257, undefined>]>>;
2725
- providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2726
- receivedAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
2727
- specialUse: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.PicklistSchema<readonly ["ALL", "ARCHIVE", "DRAFTS", "INBOX", "JUNK", "SENT", "STARRED", "TRASH"], undefined>, undefined>>;
2728
- uid: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
2729
- uidValidity: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>>;
2730
- account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2731
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2732
- }, undefined>, v.TransformAction<{
2733
- $id: string;
2734
- }, string>]>], undefined>>;
2735
- label: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2736
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2737
- }, undefined>, v.TransformAction<{
2738
- $id: string;
2739
- }, string>]>], undefined>>;
2740
- };
2741
- readonly indexes: readonly [{
2742
- readonly attributes: readonly ["lane"];
2743
- readonly name: "lane";
2744
- readonly type: "key";
2745
- }, {
2746
- readonly attributes: readonly ["accountId", "lane", "generation", "mailboxPriority", "receivedAt", "labelId", "uid", "uidValidity"];
2747
- readonly name: "account_lane_generation_order";
2748
- readonly type: "key";
2749
- }];
2750
- readonly name: "Mailbox sync candidates";
2751
- }>;
2752
- mailboxSyncLanes: AppwriteRowSchemaFor<{
2753
- readonly fields: {
2754
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2755
- accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2756
- commandId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2757
- cursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
2758
- generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2759
- lane: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["HEAD", "BACKFILL"], undefined>>;
2760
- state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["PENDING", "RUNNING", "COMPLETED", "FAILED"], undefined>>;
2761
- errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2762
- account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2763
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2764
- }, undefined>, v.TransformAction<{
2765
- $id: string;
2766
- }, string>]>], undefined>>;
2767
- };
2768
- readonly indexes: readonly [{
2769
- readonly attributes: readonly ["accountId", "lane"];
2770
- readonly name: "account_lane_unique";
2771
- readonly type: "unique";
2772
- }, {
2773
- readonly attributes: readonly ["lane", "state"];
2774
- readonly name: "lane_state";
2775
- readonly type: "key";
2776
- }];
2777
- readonly name: "Mailbox sync lanes";
2778
- readonly wirePermissions: "empty";
2779
- }>;
2780
- mailboxSyncStates: AppwriteRowSchemaFor<{
2781
- readonly fields: {
2782
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2783
- accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2784
- provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>>;
2785
- providerCursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
2786
- uidValidity: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
2787
- state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["INITIAL", "SYNCING", "CURRENT", "ERROR"], undefined>>;
2788
- nextPollAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
2789
- lastEventAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2790
- lastSyncAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2791
- materialisationLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2792
- materialisationLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
2793
- errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2794
- };
2795
- readonly indexes: readonly [{
2796
- readonly attributes: readonly ["state", "nextPollAt"];
2797
- readonly name: "state_next_poll";
2798
- readonly type: "key";
2799
- }, {
2800
- readonly attributes: readonly ["accountId"];
2801
- readonly name: "account_unique";
2802
- readonly type: "unique";
2803
- }];
2804
- readonly name: "Mailbox sync states";
2805
- }>;
2806
- messageLocations: AppwriteRowSchemaFor<{
2807
- readonly dataCheck: typeof import("./shared.js").messageLocationCoordinateCheck;
2808
- readonly fields: {
2809
- account: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2810
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2811
- }, undefined>, v.TransformAction<{
2812
- $id: string;
2813
- }, string>]>], undefined>>;
2814
- accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2815
- flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
2816
- label: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2817
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2818
- }, undefined>, v.TransformAction<{
2819
- $id: string;
2820
- }, string>]>], undefined>>;
2821
- labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2822
- message: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2823
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2824
- }, undefined>, v.TransformAction<{
2825
- $id: string;
2826
- }, string>]>], undefined>>;
2827
- messageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
2828
- seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
2829
- thread: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2830
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2831
- }, undefined>, v.TransformAction<{
2832
- $id: string;
2833
- }, string>]>], undefined>>;
2834
- threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2835
- uid: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
2836
- uidValidity: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
2837
- };
2838
- readonly indexes: readonly [{
2839
- readonly attributes: readonly ["accountAssignmentKey", "labelAssignmentKey", "uidValidity", "uid"];
2840
- readonly name: "assignment_account_label_uid";
2841
- readonly type: "key";
2842
- }, {
2843
- readonly attributes: readonly ["accountAssignmentKey", "threadAssignmentKey"];
2844
- readonly name: "assignment_account_thread";
2845
- readonly type: "key";
2846
- }, {
2847
- readonly attributes: readonly ["threadAssignmentKey", "labelAssignmentKey", "messageAt"];
2848
- readonly name: "assignment_thread_label_latest";
2849
- readonly type: "key";
2850
- }];
2851
- readonly name: "Message locations";
2852
- }>;
2853
- messages: AppwriteRowSchemaFor<{
2854
- readonly fields: {
2855
- account: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2856
- accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2857
- attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
2858
- htmlFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2859
- materialisationGeneration: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2860
- preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
2861
- providerHistoryId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2862
- providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2863
- providerLabelIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2864
- providerThreadId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2865
- rawFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2866
- receivedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2867
- recipients: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
2868
- revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2869
- rfcMessageId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2870
- sender: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
2871
- senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
2872
- sentAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
2873
- size: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2874
- subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
2875
- thread: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2876
- threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2877
- };
2878
- readonly indexes: readonly [{
2879
- readonly attributes: readonly ["threadAssignmentKey", "sentAt"];
2880
- readonly name: "assignment_thread_sent";
2881
- readonly type: "key";
2882
- }, {
2883
- readonly attributes: readonly ["accountAssignmentKey", "providerId"];
2884
- readonly name: "assignment_account_provider_unique";
2885
- readonly type: "unique";
2886
- }, {
2887
- readonly attributes: readonly ["accountAssignmentKey", "rfcMessageId"];
2888
- readonly name: "assignment_account_rfc_message";
2889
- readonly type: "key";
2890
- }];
2891
- readonly name: "Messages";
2892
- }>;
2893
- oauthStates: AppwriteRowSchemaFor<{
2894
- readonly fields: {
2895
- accountId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2896
- email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
2897
- expiresAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
2898
- nonceHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2899
- operation: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["CONNECT", "REPLACE"], undefined>>;
2900
- profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2901
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2902
- }, undefined>, v.TransformAction<{
2903
- $id: string;
2904
- }, string>]>], undefined>>;
2905
- provider: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["GMAIL", "OUTLOOK"], undefined>>;
2906
- returnUri: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["https://app.marcoapp.io/onboarding/loading"], undefined>>;
2907
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2908
- };
2909
- readonly indexes: readonly [];
2910
- readonly name: "OAuth states";
2911
- }>;
2912
- pollShardCoordinators: AppwriteRowSchemaFor<{
2913
- readonly fields: {
2914
- accountCursor: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2915
- };
2916
- readonly indexes: readonly [];
2917
- readonly name: "Poll shard coordinators";
2918
- readonly wirePermissions: "empty";
2919
- }>;
2920
- pollShards: AppwriteRowSchemaFor<{
2921
- readonly fields: {
2922
- accountIds: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>>;
2923
- generation: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
2924
- state: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["ACTIVE", "STOPPED", "FAILED"], undefined>>;
2925
- leaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2926
- leaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
2927
- lastStartedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2928
- nextStartAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>>;
2929
- pollingSnapshot: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
2930
- scheduledExecutionId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2931
- errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2932
- };
2933
- readonly indexes: readonly [{
2934
- readonly attributes: readonly ["state", "nextStartAt"];
2935
- readonly name: "state_next_start";
2936
- readonly type: "key";
2937
- }, {
2938
- readonly attributes: readonly ["leaseExpiresAt"];
2939
- readonly name: "lease_expiry";
2940
- readonly type: "key";
2941
- }];
2942
- readonly name: "Poll shards";
2943
- readonly wirePermissions: "empty";
2944
- }>;
2945
- profileAvatarCleanups: AppwriteRowSchemaFor<{
2946
- readonly fields: {
2947
- claimedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2948
- claimId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2949
- fileId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2950
- profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2951
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2952
- }, undefined>, v.TransformAction<{
2953
- $id: string;
2954
- }, string>]>], undefined>>;
2955
- };
2956
- readonly indexes: readonly [];
2957
- readonly name: "Profile avatar cleanups";
2958
- readonly wirePermissions: "empty";
2959
- }>;
2960
- profiles: AppwriteRowSchemaFor<{
2961
- readonly fields: {
2962
- avatarFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>, undefined>>;
2963
- deletionRequestedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
2964
- email: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>>;
2965
- name: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2966
- onboardingState: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2967
- timezone: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
2968
- };
2969
- readonly indexes: readonly [{
2970
- readonly attributes: readonly ["email"];
2971
- readonly name: "email_unique";
2972
- readonly type: "unique";
2973
- }];
2974
- readonly name: "Profiles";
2975
- }>;
2976
- pushNotificationTokens: AppwriteRowSchemaFor<{
2977
- readonly fields: {
2978
- userId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2979
- token: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
2980
- profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2981
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
2982
- }, undefined>, v.TransformAction<{
2983
- $id: string;
2984
- }, string>]>], undefined>>;
2985
- };
2986
- readonly indexes: readonly [{
2987
- readonly attributes: readonly ["userId"];
2988
- readonly name: "user";
2989
- readonly type: "key";
2990
- }, {
2991
- readonly attributes: readonly ["token"];
2992
- readonly name: "token_unique";
2993
- readonly type: "unique";
2994
- }];
2995
- readonly name: "Push notification tokens";
2996
- }>;
2997
- savedViews: AppwriteRowSchemaFor<{
2998
- readonly fields: {
2999
- aliasIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
3000
- icon: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
3001
- name: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
3002
- profile: AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3003
- readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
3004
- }, undefined>, v.TransformAction<{
3005
- $id: string;
3006
- }, string>]>], undefined>>;
3007
- };
3008
- readonly indexes: readonly [];
3009
- readonly name: "Saved views";
3010
- }>;
3011
- threadAliases: AppwriteRowSchemaFor<{
3012
- readonly fields: {
3013
- alias: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
3014
- aliasAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
3015
- latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
3016
- thread: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
3017
- threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
3018
- };
3019
- readonly indexes: readonly [{
3020
- readonly attributes: readonly ["threadAssignmentKey", "aliasAssignmentKey"];
3021
- readonly name: "assignment_thread_alias_unique";
3022
- readonly type: "unique";
3023
- }, {
3024
- readonly attributes: readonly ["aliasAssignmentKey", "latestMessageAt"];
3025
- readonly name: "assignment_alias_latest";
3026
- readonly type: "key";
3027
- }];
3028
- readonly name: "Thread aliases";
3029
- }>;
3030
- threadLabels: AppwriteRowSchemaFor<{
3031
- readonly fields: {
3032
- label: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
3033
- labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
3034
- latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
3035
- locationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
3036
- thread: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
3037
- threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
3038
- };
3039
- readonly indexes: readonly [{
3040
- readonly attributes: readonly ["threadAssignmentKey", "labelAssignmentKey"];
3041
- readonly name: "assignment_thread_label_unique";
3042
- readonly type: "unique";
3043
- }, {
3044
- readonly attributes: readonly ["labelAssignmentKey", "latestMessageAt"];
3045
- readonly name: "assignment_label_latest";
3046
- readonly type: "key";
3047
- }];
3048
- readonly name: "Thread labels";
3049
- }>;
3050
- threads: AppwriteRowSchemaFor<{
3051
- readonly fields: {
3052
- account: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
3053
- accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
3054
- archived: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
3055
- firstMessageAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
3056
- flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
3057
- flaggedLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
3058
- hasAttachments: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
3059
- labelIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
3060
- latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
3061
- latestMessageId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
3062
- messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
3063
- participants: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
3064
- preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
3065
- providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
3066
- revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
3067
- searchText: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
3068
- seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
3069
- senderEmail: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>>;
3070
- senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
3071
- snoozedUntil: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
3072
- spam: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
3073
- subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
3074
- trashed: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
3075
- unseenLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
3076
- };
3077
- readonly indexes: readonly [{
3078
- readonly attributes: readonly ["accountAssignmentKey", "providerId"];
3079
- readonly name: "assignment_account_provider_unique";
3080
- readonly type: "unique";
3081
- }, {
3082
- readonly attributes: readonly ["accountAssignmentKey", "latestMessageAt"];
3083
- readonly name: "assignment_account_latest";
3084
- readonly type: "key";
3085
- }, {
3086
- readonly attributes: readonly ["accountAssignmentKey", "seen", "latestMessageAt"];
3087
- readonly name: "assignment_account_seen_latest";
3088
- readonly type: "key";
3089
- }, {
3090
- readonly attributes: readonly ["accountAssignmentKey", "flagged", "latestMessageAt"];
3091
- readonly name: "assignment_account_flagged_latest";
3092
- readonly type: "key";
3093
- }, {
3094
- readonly attributes: readonly ["accountAssignmentKey", "snoozedUntil", "latestMessageAt"];
3095
- readonly name: "assignment_account_snoozed_latest";
3096
- readonly type: "key";
3097
- }, {
3098
- readonly attributes: readonly ["snoozedUntil"];
3099
- readonly name: "snoozed_due";
3100
- readonly type: "key";
3101
- }, {
3102
- readonly attributes: readonly ["accountAssignmentKey", "archived", "latestMessageAt"];
3103
- readonly name: "assignment_account_archived_latest";
3104
- readonly type: "key";
3105
- }, {
3106
- readonly attributes: readonly ["accountAssignmentKey", "spam", "latestMessageAt"];
3107
- readonly name: "assignment_account_spam_latest";
3108
- readonly type: "key";
3109
- }, {
3110
- readonly attributes: readonly ["accountAssignmentKey", "trashed", "latestMessageAt"];
3111
- readonly name: "assignment_account_trashed_latest";
3112
- readonly type: "key";
3113
- }, {
3114
- readonly attributes: readonly ["searchText"];
3115
- readonly name: "search";
3116
- readonly type: "fulltext";
3117
- }];
3118
- readonly name: "Threads";
3119
- }>;
3120
- };
3121
- export type AppwriteDataRow<TTable extends AppwriteTableKey> = v.InferOutput<(typeof appwriteDataSchemas)[TTable]>;
3122
- export type AppwriteRowTable = AppwriteTableKey;
3123
- export type AppwriteRow<TTable extends AppwriteRowTable> = v.InferOutput<(typeof appwriteRowSchemas)[TTable]>;
3124
- export type { AppwriteColumnDefinition };
3125
- //# sourceMappingURL=index.d.ts.map