@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,8 +1,11 @@
1
- export type { AccountId, AliasId, AttachmentId, ContactId, DraftId, JobId, LabelId, MessageId, PushNotificationTokenId, RecipientId, ThreadId, UserId, ViewId } from './id.js';
2
- export type { Account, AccountAlias, AccountLabel, Contact, Draft, DraftAttachment, DraftBody, Thread, ThreadMessage, ThreadMessageAttachment, ThreadMessageRecipient, UserView, } from './models/index.js';
1
+ import { type StripeUserData } from './stripe';
2
+ export type { StripeUserData };
3
+ export type { AccountId, AliasId, AttachmentId, ContactId, DraftId, LabelId, MessageId, PushNotificationTokenId, RecipientId, ThreadId, UserId, ViewId, } from './id';
4
+ export type { Account, AccountAlias, AccountLabel, Contact, Draft, DraftAttachment, DraftBody, Thread, ThreadMessage, ThreadMessageAttachment, ThreadMessageRecipient, User, UserPushNotificationToken, UserView, } from './models';
5
+ export { mutatorSchemas } from './mutators';
3
6
  export declare const marcoSchemas: {
4
7
  app: {
5
- platform: import("valibot").PicklistSchema<readonly ["ios", "osx", "web"], undefined>;
8
+ platform: () => import("valibot").PicklistSchema<readonly ["ios", "osx", "web"], undefined>;
6
9
  };
7
10
  auth: {
8
11
  code: import("valibot").ObjectSchema<{
@@ -11,26 +14,29 @@ export declare const marcoSchemas: {
11
14
  readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
12
15
  }, undefined>;
13
16
  };
17
+ boolean: {
18
+ fromString: () => import("valibot").SchemaWithPipe<readonly [import("valibot").PicklistSchema<["true", "false"], undefined>, import("valibot").TransformAction<"true" | "false", boolean>, import("valibot").BooleanSchema<undefined>]>;
19
+ };
14
20
  emailAccount: {
15
- connectionConfigImapRaw: import("valibot").ObjectSchema<{
21
+ connectionConfigImapRaw: () => import("valibot").ObjectSchema<{
16
22
  readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
17
23
  readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
18
- readonly imapPort: import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, import("valibot").MaxValueAction<number, 65535, undefined>]>;
19
- readonly imapSocketType: import("valibot").PicklistSchema<readonly ["SSL", "STARTTLS"], undefined>;
24
+ readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
25
+ readonly imapSocketType: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"STARTTLS", undefined>, import("valibot").LiteralSchema<"SSL", undefined>], undefined>;
20
26
  readonly imapUser: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
21
27
  readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
22
28
  readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
23
- readonly smtpPort: import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, import("valibot").MaxValueAction<number, 65535, undefined>]>;
24
- readonly smtpSocketType: import("valibot").PicklistSchema<readonly ["SSL", "STARTTLS"], undefined>;
29
+ readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
30
+ readonly smtpSocketType: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"STARTTLS", undefined>, import("valibot").LiteralSchema<"SSL", undefined>], undefined>;
25
31
  readonly smtpUser: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
26
32
  }, undefined>;
27
- connectionConfigOauth: import("valibot").ObjectSchema<{
33
+ connectionConfigOauth: () => import("valibot").ObjectSchema<{
28
34
  readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
29
35
  readonly provider: import("valibot").PicklistSchema<readonly ["GOOGLE", "OUTLOOK"], undefined>;
30
36
  readonly user: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
31
37
  }, undefined>;
32
- imapConnectionStatus: import("valibot").PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "CONNECTION_FAILED_AUTHENTICATION_ERROR", "CONNECTION_FAILED_CONNECTION_ERROR", "CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR", "CONNECTION_FAILED_QUOTA_ERROR", "CONNECTION_FAILED_UNKNOWN_ERROR"], undefined>;
33
- socketTypeSchema: import("valibot").PicklistSchema<readonly ["SSL", "STARTTLS"], undefined>;
38
+ imapConnectionStatus: () => import("valibot").PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "CONNECTION_FAILED_AUTHENTICATION_ERROR", "CONNECTION_FAILED_CONNECTION_ERROR", "CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR", "CONNECTION_FAILED_QUOTA_ERROR", "CONNECTION_FAILED_UNKNOWN_ERROR"], undefined>;
39
+ socketTypeSchema: () => import("valibot").UnionSchema<[import("valibot").LiteralSchema<"STARTTLS", undefined>, import("valibot").LiteralSchema<"SSL", undefined>], undefined>;
34
40
  };
35
41
  id: {
36
42
  accountId: {
@@ -53,10 +59,6 @@ export declare const marcoSchemas: {
53
59
  nullable: (maxLength?: number) => import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "DraftId">]>, undefined>;
54
60
  required: (maxLength?: number) => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "DraftId">]>, undefined>;
55
61
  };
56
- jobId: {
57
- nullable: (maxLength?: number) => import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "JobId">]>, undefined>;
58
- required: (maxLength?: number) => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "JobId">]>, undefined>;
59
- };
60
62
  labelId: {
61
63
  nullable: (maxLength?: number) => import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "LabelId">]>, undefined>;
62
64
  required: (maxLength?: number) => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "LabelId">]>, undefined>;
@@ -86,6 +88,9 @@ export declare const marcoSchemas: {
86
88
  required: (maxLength?: number) => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ViewId">]>, undefined>;
87
89
  };
88
90
  };
91
+ labels: {
92
+ specialUse: () => import("valibot").PicklistSchema<readonly ["ARCHIVE", "INBOX", "SENT", "SPAM", "TRASH"], undefined>;
93
+ };
89
94
  models: {
90
95
  accountAliasSchema: import("valibot").ObjectSchema<{
91
96
  readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
@@ -101,7 +106,7 @@ export declare const marcoSchemas: {
101
106
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
102
107
  readonly path: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
103
108
  readonly specialUse: import("valibot").NullableSchema<import("valibot").PicklistSchema<readonly ["ARCHIVE", "INBOX", "SENT", "SPAM", "TRASH"], undefined>, undefined>;
104
- readonly uidValidity: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
109
+ readonly uidValidity: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
105
110
  readonly unreadCount: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
106
111
  }, undefined>;
107
112
  accountSchema: import("valibot").ObjectSchema<{
@@ -123,7 +128,7 @@ export declare const marcoSchemas: {
123
128
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
124
129
  readonly path: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
125
130
  readonly specialUse: import("valibot").NullableSchema<import("valibot").PicklistSchema<readonly ["ARCHIVE", "INBOX", "SENT", "SPAM", "TRASH"], undefined>, undefined>;
126
- readonly uidValidity: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
131
+ readonly uidValidity: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
127
132
  readonly unreadCount: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
128
133
  }, undefined>, undefined>, undefined>;
129
134
  readonly mailProcessedCount: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
@@ -140,7 +145,7 @@ export declare const marcoSchemas: {
140
145
  readonly userId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "UserId">]>, undefined>;
141
146
  }, undefined>;
142
147
  contactSchema: import("valibot").ObjectSchema<{
143
- readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, import("valibot").MaxLengthAction<string, 320, undefined>]>, undefined>;
148
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
144
149
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ContactId">]>, undefined>;
145
150
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
146
151
  readonly userId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "UserId">]>, undefined>;
@@ -154,10 +159,10 @@ export declare const marcoSchemas: {
154
159
  readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
155
160
  }, undefined>;
156
161
  draftBodySchema: import("valibot").ObjectSchema<{
157
- readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, import("valibot").MaxLengthAction<string, 320, undefined>]>, undefined>, undefined>;
158
- readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, import("valibot").MaxLengthAction<string, 320, undefined>]>, undefined>, undefined>;
162
+ readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
163
+ readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
159
164
  readonly content: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 384000, undefined>]>;
160
- readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, import("valibot").MaxLengthAction<string, 320, undefined>]>, undefined>, undefined>;
165
+ readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
161
166
  }, undefined>;
162
167
  draftSchema: import("valibot").ObjectSchema<{
163
168
  readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
@@ -170,10 +175,10 @@ export declare const marcoSchemas: {
170
175
  readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
171
176
  }, undefined>, undefined>;
172
177
  readonly body: import("valibot").ObjectSchema<{
173
- readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, import("valibot").MaxLengthAction<string, 320, undefined>]>, undefined>, undefined>;
174
- readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, import("valibot").MaxLengthAction<string, 320, undefined>]>, undefined>, undefined>;
178
+ readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
179
+ readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
175
180
  readonly content: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 384000, undefined>]>;
176
- readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, import("valibot").MaxLengthAction<string, 320, undefined>]>, undefined>, undefined>;
181
+ readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
177
182
  }, undefined>;
178
183
  readonly error: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
179
184
  readonly fromAliasId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AliasId">]>, undefined>;
@@ -181,30 +186,54 @@ export declare const marcoSchemas: {
181
186
  readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
182
187
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "DraftId">]>, undefined>;
183
188
  readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "MessageId">]>, undefined>;
184
- readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>, undefined>;
189
+ readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
185
190
  readonly status: import("valibot").PicklistSchema<readonly ["DRAFT", "SEND_REQUESTED", "SEND_IN_PROGRESS", "SEND_CONFIRMED", "SEND_FAILED"], undefined>;
186
191
  readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
187
192
  readonly type: import("valibot").PicklistSchema<readonly ["NEW", "REPLY", "FORWARD"], undefined>;
188
- readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
193
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
189
194
  readonly userId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "UserId">]>, undefined>;
190
195
  }, undefined>;
196
+ stripeUserDataSchema: import("valibot").ObjectSchema<{
197
+ readonly customer: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
198
+ readonly deleted: import("valibot").OptionalSchema<import("valibot").NeverSchema<undefined>, undefined>;
199
+ readonly email: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
200
+ readonly id: import("valibot").StringSchema<undefined>;
201
+ readonly name: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
202
+ readonly object: import("valibot").LiteralSchema<"customer", undefined>;
203
+ }, undefined>, import("valibot").ObjectSchema<{
204
+ readonly deleted: import("valibot").LiteralSchema<true, undefined>;
205
+ readonly id: import("valibot").StringSchema<undefined>;
206
+ readonly object: import("valibot").LiteralSchema<"customer", undefined>;
207
+ }, undefined>], undefined>;
208
+ readonly product: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
209
+ readonly description: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
210
+ readonly id: import("valibot").StringSchema<undefined>;
211
+ readonly name: import("valibot").StringSchema<undefined>;
212
+ readonly object: import("valibot").LiteralSchema<"product", undefined>;
213
+ }, undefined>, undefined>;
214
+ readonly subscription: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
215
+ readonly cancelAtPeriodEnd: import("valibot").BooleanSchema<undefined>;
216
+ readonly discounts: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
217
+ readonly coupon: import("valibot").ObjectSchema<{
218
+ readonly amountOff: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
219
+ readonly id: import("valibot").StringSchema<undefined>;
220
+ readonly name: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
221
+ readonly percentOff: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
222
+ }, undefined>;
223
+ readonly end: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
224
+ readonly id: import("valibot").StringSchema<undefined>;
225
+ readonly start: import("valibot").NumberSchema<undefined>;
226
+ }, undefined>, undefined>;
227
+ readonly id: import("valibot").StringSchema<undefined>;
228
+ readonly object: import("valibot").LiteralSchema<"subscription", undefined>;
229
+ readonly startDate: import("valibot").NumberSchema<undefined>;
230
+ readonly status: import("valibot").PicklistSchema<readonly ["active", "canceled", "incomplete", "incomplete_expired", "past_due", "paused", "trialing", "unpaid"], undefined>;
231
+ readonly trialEnd: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
232
+ readonly trialStart: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
233
+ }, undefined>, undefined>;
234
+ readonly subscriptionTier: import("valibot").NullableSchema<import("valibot").PicklistSchema<readonly ["tier1"], undefined>, undefined>;
235
+ }, undefined>;
191
236
  threadFullSchema: import("valibot").ObjectSchema<{
192
- readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
193
- readonly flagged: import("valibot").BooleanSchema<undefined>;
194
- readonly hasAttachments: import("valibot").BooleanSchema<undefined>;
195
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>;
196
- readonly labelIdList: import("valibot").StringSchema<undefined>;
197
- readonly latestMessageDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
198
- readonly latestMessageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "MessageId">]>, undefined>;
199
- readonly messageCount: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
200
- readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
201
- readonly seen: import("valibot").BooleanSchema<undefined>;
202
- readonly senderEmail: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, import("valibot").MaxLengthAction<string, 320, undefined>]>, undefined>;
203
- readonly senderName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
204
- readonly snoozedUntil: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>, undefined>;
205
- readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
206
- readonly userId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "UserId">]>, undefined>;
207
- readonly words: import("valibot").StringSchema<undefined>;
208
237
  readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
209
238
  readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
210
239
  readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -214,22 +243,56 @@ export declare const marcoSchemas: {
214
243
  readonly size: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
215
244
  readonly threadMessageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "MessageId">]>, undefined>;
216
245
  }, undefined>, undefined>;
217
- readonly envelopeDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
246
+ readonly envelopeDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
218
247
  readonly envelopeSubject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
219
248
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "MessageId">]>, undefined>;
220
249
  readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
221
250
  readonly recipients: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
222
- readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, import("valibot").MaxLengthAction<string, 320, undefined>]>, undefined>;
251
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
223
252
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "RecipientId">]>, undefined>;
224
253
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
225
254
  readonly threadMessageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "MessageId">]>, undefined>;
226
255
  readonly type: import("valibot").PicklistSchema<readonly ["bcc", "cc", "to", "replyTo"], undefined>;
227
256
  }, undefined>, undefined>;
228
- readonly senderEmail: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, import("valibot").MaxLengthAction<string, 320, undefined>]>, undefined>;
257
+ readonly senderEmail: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
229
258
  readonly senderName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
230
259
  readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>;
231
260
  readonly unsubscribeUrl: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
232
261
  }, undefined>, undefined>;
262
+ readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
263
+ readonly flagged: import("valibot").BooleanSchema<undefined>;
264
+ readonly hasAttachments: import("valibot").BooleanSchema<undefined>;
265
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>;
266
+ readonly labelIdList: import("valibot").StringSchema<undefined>;
267
+ readonly latestMessageDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
268
+ readonly latestMessageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "MessageId">]>, undefined>;
269
+ readonly messageCount: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
270
+ readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
271
+ readonly seen: import("valibot").BooleanSchema<undefined>;
272
+ readonly senderEmail: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
273
+ readonly senderName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
274
+ readonly snoozedUntil: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
275
+ readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
276
+ readonly userId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "UserId">]>, undefined>;
277
+ readonly words: import("valibot").StringSchema<undefined>;
278
+ }, undefined>;
279
+ threadListSchema: import("valibot").ObjectSchema<{
280
+ accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
281
+ flagged: import("valibot").BooleanSchema<undefined>;
282
+ hasAttachments: import("valibot").BooleanSchema<undefined>;
283
+ id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>;
284
+ labelIdList: import("valibot").StringSchema<undefined>;
285
+ latestMessageDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
286
+ latestMessageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "MessageId">]>, undefined>;
287
+ messageCount: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
288
+ previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
289
+ seen: import("valibot").BooleanSchema<undefined>;
290
+ senderEmail: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
291
+ senderName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
292
+ snoozedUntil: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
293
+ subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
294
+ userId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "UserId">]>, undefined>;
295
+ words: import("valibot").StringSchema<undefined>;
233
296
  }, undefined>;
234
297
  threadMessageAttachmentSchema: import("valibot").ObjectSchema<{
235
298
  readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -239,7 +302,7 @@ export declare const marcoSchemas: {
239
302
  readonly threadMessageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "MessageId">]>, undefined>;
240
303
  }, undefined>;
241
304
  threadMessageRecipientSchema: import("valibot").ObjectSchema<{
242
- readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, import("valibot").MaxLengthAction<string, 320, undefined>]>, undefined>;
305
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
243
306
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "RecipientId">]>, undefined>;
244
307
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
245
308
  readonly threadMessageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "MessageId">]>, undefined>;
@@ -254,18 +317,18 @@ export declare const marcoSchemas: {
254
317
  readonly size: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
255
318
  readonly threadMessageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "MessageId">]>, undefined>;
256
319
  }, undefined>, undefined>;
257
- readonly envelopeDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
320
+ readonly envelopeDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
258
321
  readonly envelopeSubject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
259
322
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "MessageId">]>, undefined>;
260
323
  readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
261
324
  readonly recipients: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
262
- readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, import("valibot").MaxLengthAction<string, 320, undefined>]>, undefined>;
325
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
263
326
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "RecipientId">]>, undefined>;
264
327
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
265
328
  readonly threadMessageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "MessageId">]>, undefined>;
266
329
  readonly type: import("valibot").PicklistSchema<readonly ["bcc", "cc", "to", "replyTo"], undefined>;
267
330
  }, undefined>, undefined>;
268
- readonly senderEmail: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, import("valibot").MaxLengthAction<string, 320, undefined>]>, undefined>;
331
+ readonly senderEmail: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
269
332
  readonly senderName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
270
333
  readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>;
271
334
  readonly unsubscribeUrl: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -276,47 +339,436 @@ export declare const marcoSchemas: {
276
339
  hasAttachments: import("valibot").BooleanSchema<undefined>;
277
340
  id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>;
278
341
  labelIdList: import("valibot").StringSchema<undefined>;
279
- latestMessageDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
342
+ latestMessageDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
280
343
  latestMessageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "MessageId">]>, undefined>;
281
344
  messageCount: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
282
345
  previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
283
346
  seen: import("valibot").BooleanSchema<undefined>;
284
- senderEmail: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, import("valibot").MaxLengthAction<string, 320, undefined>]>, undefined>;
347
+ senderEmail: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
285
348
  senderName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
286
- snoozedUntil: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>, undefined>;
349
+ snoozedUntil: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
287
350
  subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
288
351
  userId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "UserId">]>, undefined>;
289
352
  words: import("valibot").StringSchema<undefined>;
290
353
  }, undefined>;
354
+ userPushNotificationTokenSchema: import("valibot").ObjectSchema<{
355
+ readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
356
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "PushNotificationTokenId">]>, undefined>;
357
+ readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
358
+ readonly userId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "UserId">]>, undefined>;
359
+ }, undefined>;
360
+ userSchema: import("valibot").ObjectSchema<{
361
+ readonly feedbackModalShown: import("valibot").BooleanSchema<undefined>;
362
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "UserId">]>, undefined>;
363
+ readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
364
+ readonly profilePicture: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
365
+ readonly pushNotificationTokens: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
366
+ readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
367
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "PushNotificationTokenId">]>, undefined>;
368
+ readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
369
+ readonly userId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "UserId">]>, undefined>;
370
+ }, undefined>, undefined>;
371
+ readonly stripe: import("valibot").ObjectSchema<{
372
+ readonly customer: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
373
+ readonly deleted: import("valibot").OptionalSchema<import("valibot").NeverSchema<undefined>, undefined>;
374
+ readonly email: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
375
+ readonly id: import("valibot").StringSchema<undefined>;
376
+ readonly name: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
377
+ readonly object: import("valibot").LiteralSchema<"customer", undefined>;
378
+ }, undefined>, import("valibot").ObjectSchema<{
379
+ readonly deleted: import("valibot").LiteralSchema<true, undefined>;
380
+ readonly id: import("valibot").StringSchema<undefined>;
381
+ readonly object: import("valibot").LiteralSchema<"customer", undefined>;
382
+ }, undefined>], undefined>;
383
+ readonly product: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
384
+ readonly description: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
385
+ readonly id: import("valibot").StringSchema<undefined>;
386
+ readonly name: import("valibot").StringSchema<undefined>;
387
+ readonly object: import("valibot").LiteralSchema<"product", undefined>;
388
+ }, undefined>, undefined>;
389
+ readonly subscription: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
390
+ readonly cancelAtPeriodEnd: import("valibot").BooleanSchema<undefined>;
391
+ readonly discounts: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
392
+ readonly coupon: import("valibot").ObjectSchema<{
393
+ readonly amountOff: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
394
+ readonly id: import("valibot").StringSchema<undefined>;
395
+ readonly name: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
396
+ readonly percentOff: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
397
+ }, undefined>;
398
+ readonly end: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
399
+ readonly id: import("valibot").StringSchema<undefined>;
400
+ readonly start: import("valibot").NumberSchema<undefined>;
401
+ }, undefined>, undefined>;
402
+ readonly id: import("valibot").StringSchema<undefined>;
403
+ readonly object: import("valibot").LiteralSchema<"subscription", undefined>;
404
+ readonly startDate: import("valibot").NumberSchema<undefined>;
405
+ readonly status: import("valibot").PicklistSchema<readonly ["active", "canceled", "incomplete", "incomplete_expired", "past_due", "paused", "trialing", "unpaid"], undefined>;
406
+ readonly trialEnd: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
407
+ readonly trialStart: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
408
+ }, undefined>, undefined>;
409
+ readonly subscriptionTier: import("valibot").NullableSchema<import("valibot").PicklistSchema<readonly ["tier1"], undefined>, undefined>;
410
+ }, undefined>;
411
+ readonly trialEndsAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
412
+ readonly undoSendEnabled: import("valibot").BooleanSchema<undefined>;
413
+ readonly views: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
414
+ readonly aliasEmails: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
415
+ readonly icon: import("valibot").PicklistSchema<readonly [import("..").CustomViewIcon.AIRPLANE, import("..").CustomViewIcon.BELL, import("..").CustomViewIcon.BRIEFCASE, import("..").CustomViewIcon.CLOCK, import("..").CustomViewIcon.CREDIT_CARD, import("..").CustomViewIcon.HEART, import("..").CustomViewIcon.HOME, import("..").CustomViewIcon.KEY, import("..").CustomViewIcon.MOON, import("..").CustomViewIcon.PERSON, import("..").CustomViewIcon.SHOPPING_CART, import("..").CustomViewIcon.STAR], undefined>;
416
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ViewId">]>, undefined>;
417
+ readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
418
+ }, undefined>, undefined>;
419
+ }, undefined>;
291
420
  userViewSchema: import("valibot").ObjectSchema<{
292
- readonly aliasIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AliasId">]>, undefined>, undefined>;
293
- readonly icon: import("valibot").PicklistSchema<readonly import("../index.js").CustomViewIcon[], undefined>;
421
+ readonly aliasEmails: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
422
+ readonly icon: import("valibot").PicklistSchema<readonly [import("..").CustomViewIcon.AIRPLANE, import("..").CustomViewIcon.BELL, import("..").CustomViewIcon.BRIEFCASE, import("..").CustomViewIcon.CLOCK, import("..").CustomViewIcon.CREDIT_CARD, import("..").CustomViewIcon.HEART, import("..").CustomViewIcon.HOME, import("..").CustomViewIcon.KEY, import("..").CustomViewIcon.MOON, import("..").CustomViewIcon.PERSON, import("..").CustomViewIcon.SHOPPING_CART, import("..").CustomViewIcon.STAR], undefined>;
294
423
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ViewId">]>, undefined>;
295
424
  readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
296
425
  }, undefined>;
297
426
  };
427
+ mutators: {
428
+ account: {
429
+ createAccount: import("valibot").ObjectSchema<{
430
+ readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AliasId">]>, undefined>;
431
+ readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
432
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
433
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
434
+ }, undefined>;
435
+ createAlias: import("valibot").ObjectSchema<{
436
+ readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
437
+ readonly alias: import("valibot").ObjectSchema<{
438
+ readonly emailAddress: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
439
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AliasId">]>, undefined>;
440
+ readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
441
+ }, undefined>;
442
+ }, undefined>;
443
+ createLabel: import("valibot").ObjectSchema<{
444
+ readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
445
+ readonly labelId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "LabelId">]>, undefined>;
446
+ readonly name: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>;
447
+ }, undefined>;
448
+ deleteAccount: import("valibot").ObjectSchema<{
449
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
450
+ }, undefined>;
451
+ deleteAlias: import("valibot").ObjectSchema<{
452
+ readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
453
+ readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AliasId">]>, undefined>;
454
+ }, undefined>;
455
+ deleteLabel: import("valibot").ObjectSchema<{
456
+ readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
457
+ readonly labelId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "LabelId">]>, undefined>;
458
+ }, undefined>;
459
+ renameLabel: import("valibot").ObjectSchema<{
460
+ readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
461
+ readonly labelId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "LabelId">]>, undefined>;
462
+ readonly name: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>;
463
+ }, undefined>;
464
+ setAliasName: import("valibot").ObjectSchema<{
465
+ readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
466
+ readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AliasId">]>, undefined>;
467
+ readonly displayName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
468
+ }, undefined>;
469
+ setAliasPrimary: import("valibot").ObjectSchema<{
470
+ readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
471
+ readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AliasId">]>, undefined>;
472
+ }, undefined>;
473
+ setAliasSignature: import("valibot").ObjectSchema<{
474
+ readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
475
+ readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AliasId">]>, undefined>;
476
+ readonly signature: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 50000, undefined>]>, undefined>;
477
+ }, undefined>;
478
+ setConnectionConfigImapRaw: import("valibot").ObjectSchema<{
479
+ readonly connectionConfig: import("valibot").ObjectSchema<{
480
+ readonly imapHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
481
+ readonly imapPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
482
+ readonly imapPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
483
+ readonly imapSocketType: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"STARTTLS", undefined>, import("valibot").LiteralSchema<"SSL", undefined>], undefined>;
484
+ readonly imapUser: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
485
+ readonly smtpHost: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
486
+ readonly smtpPassword: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
487
+ readonly smtpPort: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
488
+ readonly smtpSocketType: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"STARTTLS", undefined>, import("valibot").LiteralSchema<"SSL", undefined>], undefined>;
489
+ readonly smtpUser: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
490
+ }, undefined>;
491
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
492
+ }, undefined>;
493
+ setConnectionConfigOauth: import("valibot").ObjectSchema<{
494
+ readonly connectionConfig: import("valibot").ObjectSchema<{
495
+ readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
496
+ readonly provider: import("valibot").PicklistSchema<readonly ["GOOGLE", "OUTLOOK"], undefined>;
497
+ readonly user: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
498
+ }, undefined>;
499
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
500
+ }, undefined>;
501
+ setSettings: import("valibot").ObjectSchema<{
502
+ readonly color: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
503
+ readonly displayName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
504
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
505
+ }, undefined>;
506
+ };
507
+ draft: {
508
+ cancelSend: import("valibot").ObjectSchema<{
509
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "DraftId">]>, undefined>;
510
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
511
+ }, undefined>;
512
+ createAttachment: import("valibot").ObjectSchema<{
513
+ readonly attachment: import("valibot").ObjectSchema<{
514
+ readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
515
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AttachmentId">]>, undefined>;
516
+ readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
517
+ readonly status: import("valibot").PicklistSchema<readonly ["PENDING", "COMPLETE", "FAILED"], undefined>;
518
+ readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
519
+ }, undefined>;
520
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "DraftId">]>, undefined>;
521
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
522
+ }, undefined>;
523
+ createDraft: import("valibot").ObjectSchema<{
524
+ readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
525
+ readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
526
+ readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
527
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AttachmentId">]>, undefined>;
528
+ readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
529
+ readonly status: import("valibot").PicklistSchema<readonly ["PENDING", "COMPLETE", "FAILED"], undefined>;
530
+ readonly totalSize: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
531
+ }, undefined>, undefined>;
532
+ readonly body: import("valibot").ObjectSchema<{
533
+ readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>;
534
+ readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>;
535
+ readonly content: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 384000, undefined>]>;
536
+ readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
537
+ readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>;
538
+ }, undefined>;
539
+ readonly error: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
540
+ readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
541
+ readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
542
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "DraftId">]>, undefined>;
543
+ readonly referencedMessageId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "MessageId">]>, undefined>;
544
+ readonly scheduledFor: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
545
+ readonly status: import("valibot").PicklistSchema<readonly ["DRAFT", "SEND_REQUESTED", "SEND_IN_PROGRESS", "SEND_CONFIRMED", "SEND_FAILED"], undefined>;
546
+ readonly type: import("valibot").PicklistSchema<readonly ["NEW", "REPLY", "FORWARD"], undefined>;
547
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
548
+ }, undefined>;
549
+ deleteAttachment: import("valibot").ObjectSchema<{
550
+ readonly attachmentId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AttachmentId">]>, undefined>;
551
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "DraftId">]>, undefined>;
552
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
553
+ }, undefined>;
554
+ deleteDraft: import("valibot").ObjectSchema<{
555
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "DraftId">]>, undefined>;
556
+ }, undefined>;
557
+ replaceContent: import("valibot").ObjectSchema<{
558
+ readonly content: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 384000, undefined>]>;
559
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "DraftId">]>, undefined>;
560
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
561
+ }, undefined>;
562
+ scheduleSend: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
563
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "DraftId">]>, undefined>;
564
+ readonly kind: import("valibot").LiteralSchema<"IMMEDIATE", undefined>;
565
+ readonly undoMs: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
566
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
567
+ }, undefined>, import("valibot").ObjectSchema<{
568
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "DraftId">]>, undefined>;
569
+ readonly kind: import("valibot").LiteralSchema<"SCHEDULED", undefined>;
570
+ readonly scheduledFor: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
571
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
572
+ }, undefined>], undefined>;
573
+ setEnvelope: import("valibot").ObjectSchema<{
574
+ readonly envelope: Omit<import("valibot").ObjectSchema<{
575
+ readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>;
576
+ readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>;
577
+ readonly content: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 384000, undefined>]>;
578
+ readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
579
+ readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>;
580
+ }, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
581
+ readonly entries: Omit<{
582
+ readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>;
583
+ readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>;
584
+ readonly content: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 384000, undefined>]>;
585
+ readonly subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
586
+ readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>;
587
+ }, "content">;
588
+ readonly '~standard': import("valibot").StandardProps<{
589
+ bcc: string[];
590
+ cc: string[];
591
+ to: string[];
592
+ subject: string | null;
593
+ }, {
594
+ bcc: string[];
595
+ cc: string[];
596
+ to: string[];
597
+ subject: string | null;
598
+ }>;
599
+ readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
600
+ bcc: string[];
601
+ cc: string[];
602
+ to: string[];
603
+ subject: string | null;
604
+ }, import("valibot").ObjectIssue | import("valibot").StringIssue | import("valibot").ArrayIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").RfcEmailIssue<string>>;
605
+ readonly '~types'?: {
606
+ readonly input: {
607
+ bcc: string[];
608
+ cc: string[];
609
+ to: string[];
610
+ subject: string | null;
611
+ };
612
+ readonly output: {
613
+ bcc: string[];
614
+ cc: string[];
615
+ to: string[];
616
+ subject: string | null;
617
+ };
618
+ readonly issue: import("valibot").ObjectIssue | import("valibot").StringIssue | import("valibot").ArrayIssue | import("valibot").NonEmptyIssue<string> | import("valibot").MaxLengthIssue<string, number> | import("valibot").NonOptionalIssue | import("valibot").RfcEmailIssue<string>;
619
+ } | undefined;
620
+ };
621
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "DraftId">]>, undefined>;
622
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
623
+ }, undefined>;
624
+ setFrom: import("valibot").ObjectSchema<{
625
+ readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
626
+ readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AliasId">]>, undefined>;
627
+ readonly from: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
628
+ readonly fromName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
629
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "DraftId">]>, undefined>;
630
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
631
+ }, undefined>;
632
+ };
633
+ thread: {
634
+ addLabel: import("valibot").ObjectSchema<{
635
+ readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
636
+ readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>, undefined>;
637
+ }, undefined>, undefined>;
638
+ readonly labelPath: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
639
+ }, undefined>;
640
+ delete: import("valibot").ObjectSchema<{
641
+ readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
642
+ readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>, undefined>;
643
+ }, undefined>, undefined>;
644
+ }, undefined>;
645
+ removeLabel: import("valibot").ObjectSchema<{
646
+ readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
647
+ readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>, undefined>;
648
+ }, undefined>, undefined>;
649
+ readonly labelPath: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
650
+ }, undefined>;
651
+ setArchive: import("valibot").ObjectSchema<{
652
+ readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
653
+ readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>, undefined>;
654
+ }, undefined>, undefined>;
655
+ }, undefined>;
656
+ setFlagged: import("valibot").ObjectSchema<{
657
+ readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
658
+ readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>, undefined>;
659
+ }, undefined>, undefined>;
660
+ readonly flagged: import("valibot").BooleanSchema<undefined>;
661
+ }, undefined>;
662
+ setInbox: import("valibot").ObjectSchema<{
663
+ readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
664
+ readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>, undefined>;
665
+ }, undefined>, undefined>;
666
+ }, undefined>;
667
+ setSeen: import("valibot").ObjectSchema<{
668
+ readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
669
+ readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>, undefined>;
670
+ }, undefined>, undefined>;
671
+ readonly seen: import("valibot").BooleanSchema<undefined>;
672
+ }, undefined>;
673
+ setSnooze: import("valibot").ObjectSchema<{
674
+ readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
675
+ readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>, undefined>;
676
+ }, undefined>, undefined>;
677
+ readonly snoozedUntil: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
678
+ }, undefined>;
679
+ setSpam: import("valibot").ObjectSchema<{
680
+ readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
681
+ readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>, undefined>;
682
+ }, undefined>, undefined>;
683
+ }, undefined>;
684
+ setTrash: import("valibot").ObjectSchema<{
685
+ readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
686
+ readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>, undefined>;
687
+ }, undefined>, undefined>;
688
+ }, undefined>;
689
+ };
690
+ user: {
691
+ createFeedback: import("valibot").ObjectSchema<{
692
+ readonly feedbackText: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 4000, undefined>]>, undefined>;
693
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "UserId">]>, undefined>;
694
+ readonly rating: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 5, undefined>]>, undefined>;
695
+ }, undefined>;
696
+ createView: import("valibot").ObjectSchema<{
697
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "UserId">]>, undefined>;
698
+ readonly view: import("valibot").ObjectSchema<{
699
+ readonly aliasEmails: import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>, import("valibot").MinLengthAction<string[], 2, undefined>, import("valibot").MaxLengthAction<string[], number, undefined>]>;
700
+ readonly icon: import("valibot").PicklistSchema<readonly [import("..").CustomViewIcon.AIRPLANE, import("..").CustomViewIcon.BELL, import("..").CustomViewIcon.BRIEFCASE, import("..").CustomViewIcon.CLOCK, import("..").CustomViewIcon.CREDIT_CARD, import("..").CustomViewIcon.HEART, import("..").CustomViewIcon.HOME, import("..").CustomViewIcon.KEY, import("..").CustomViewIcon.MOON, import("..").CustomViewIcon.PERSON, import("..").CustomViewIcon.SHOPPING_CART, import("..").CustomViewIcon.STAR], undefined>;
701
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ViewId">]>, undefined>;
702
+ readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
703
+ }, undefined>;
704
+ }, undefined>;
705
+ deleteSettingsPushNotificationToken: import("valibot").ObjectSchema<{
706
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "UserId">]>, undefined>;
707
+ readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
708
+ }, undefined>;
709
+ deleteView: import("valibot").ObjectSchema<{
710
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "UserId">]>, undefined>;
711
+ readonly viewId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ViewId">]>, undefined>;
712
+ }, undefined>;
713
+ setFeedbackModalShown: import("valibot").ObjectSchema<{
714
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "UserId">]>, undefined>;
715
+ }, undefined>;
716
+ setSettingsName: import("valibot").ObjectSchema<{
717
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "UserId">]>, undefined>;
718
+ readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
719
+ }, undefined>;
720
+ setSettingsPushNotificationToken: import("valibot").ObjectSchema<{
721
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "UserId">]>, undefined>;
722
+ readonly pushNotificationToken: import("valibot").ObjectSchema<{
723
+ readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
724
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "PushNotificationTokenId">]>, undefined>;
725
+ readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
726
+ }, undefined>;
727
+ }, undefined>;
728
+ updateView: import("valibot").ObjectSchema<{
729
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "UserId">]>, undefined>;
730
+ readonly view: import("valibot").ObjectSchema<{
731
+ readonly aliasEmails: import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>, undefined>, import("valibot").MinLengthAction<string[], 2, undefined>, import("valibot").MaxLengthAction<string[], number, undefined>]>;
732
+ readonly icon: import("valibot").PicklistSchema<readonly [import("..").CustomViewIcon.AIRPLANE, import("..").CustomViewIcon.BELL, import("..").CustomViewIcon.BRIEFCASE, import("..").CustomViewIcon.CLOCK, import("..").CustomViewIcon.CREDIT_CARD, import("..").CustomViewIcon.HEART, import("..").CustomViewIcon.HOME, import("..").CustomViewIcon.KEY, import("..").CustomViewIcon.MOON, import("..").CustomViewIcon.PERSON, import("..").CustomViewIcon.SHOPPING_CART, import("..").CustomViewIcon.STAR], undefined>;
733
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ViewId">]>, undefined>;
734
+ readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
735
+ }, undefined>;
736
+ }, undefined>;
737
+ };
738
+ };
298
739
  number: {
740
+ fromString: () => import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").TransformAction<string, number>, import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>;
299
741
  minMax: (min: number, max: number) => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
300
- nonNegativeInteger: () => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
301
- positiveInteger: () => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
742
+ nullable: () => import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
743
+ positiveInteger: () => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
744
+ positiveIntegerFromString: () => import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").TransformAction<string, number>, import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
302
745
  };
303
746
  oauth: {
304
- provider: import("valibot").PicklistSchema<readonly ["GOOGLE", "OUTLOOK"], undefined>;
747
+ provider: () => import("valibot").PicklistSchema<readonly ["GOOGLE", "OUTLOOK"], undefined>;
305
748
  };
306
749
  pushNotifications: {
307
- payload: import("valibot").ObjectSchema<{
750
+ payload: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
308
751
  readonly data: import("valibot").ObjectSchema<{
309
752
  readonly messageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "MessageId">]>, undefined>;
310
753
  readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>;
311
754
  }, undefined>;
312
755
  readonly event: import("valibot").LiteralSchema<"EMAIL_RECEIVED", undefined>;
313
- }, undefined>;
756
+ }, undefined>], undefined>;
314
757
  };
315
758
  string: {
316
759
  email: () => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
317
- mailboxAddress: () => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, import("valibot").MaxLengthAction<string, 320, undefined>]>, undefined>;
760
+ enum: (values: Record<string, string>) => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EnumSchema<Record<string, string>, undefined>]>, undefined>;
761
+ matches: (regex: RegExp) => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, undefined>]>, undefined>;
318
762
  nullable: (maxLength?: number) => import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
763
+ optional: (maxLength?: number) => import("valibot").UndefinedableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
319
764
  required: (maxLength?: number) => import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
320
765
  };
766
+ websocket: {
767
+ pokeEvent: import("valibot").LooseObjectSchema<{
768
+ readonly event: import("valibot").LiteralSchema<"poke", undefined>;
769
+ readonly ids: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
770
+ readonly model: import("valibot").PicklistSchema<readonly ["user", "account", "contact", "draft", "thread"], undefined>;
771
+ }, undefined>;
772
+ };
321
773
  };
322
774
  //# sourceMappingURL=index.d.ts.map