@marcoappio/marco-config 4.0.25 → 5.0.1

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