@hexclave/shared 1.0.2 → 1.0.5

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 (353) hide show
  1. package/dist/ai/unified-prompts/reminders.js +4 -3
  2. package/dist/ai/unified-prompts/reminders.js.map +1 -1
  3. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts +3 -1
  4. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  5. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +217 -30
  6. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  7. package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-index.d.ts.map +1 -1
  8. package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-index.js +1 -0
  9. package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-index.js.map +1 -1
  10. package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.d.ts +18 -6
  11. package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.js +23 -8
  12. package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.js.map +1 -1
  13. package/dist/ai/unified-prompts/skill-site-prompt-parts/openapi-specs.js +1 -1
  14. package/dist/ai/unified-prompts/skill-site-prompt-parts/openapi-specs.js.map +1 -1
  15. package/dist/config/schema.d.ts +63 -63
  16. package/dist/config/schema.d.ts.map +1 -1
  17. package/dist/config/schema.js +5 -5
  18. package/dist/config/schema.js.map +1 -1
  19. package/dist/config-authoring.d.ts +4 -4
  20. package/dist/config-authoring.d.ts.map +1 -1
  21. package/dist/config-authoring.js +2 -2
  22. package/dist/config-authoring.js.map +1 -1
  23. package/dist/config-rendering.d.ts +4 -4
  24. package/dist/config-rendering.d.ts.map +1 -1
  25. package/dist/config-rendering.js +19 -18
  26. package/dist/config-rendering.js.map +1 -1
  27. package/dist/esm/ai/unified-prompts/reminders.js +4 -3
  28. package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
  29. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts +3 -1
  30. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  31. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +216 -31
  32. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  33. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-index.d.ts.map +1 -1
  34. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-index.js +1 -0
  35. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-index.js.map +1 -1
  36. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.d.ts +18 -6
  37. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.js +23 -8
  38. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.js.map +1 -1
  39. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/openapi-specs.js +1 -1
  40. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/openapi-specs.js.map +1 -1
  41. package/dist/esm/config/schema.d.ts +63 -63
  42. package/dist/esm/config/schema.d.ts.map +1 -1
  43. package/dist/esm/config/schema.js +5 -5
  44. package/dist/esm/config/schema.js.map +1 -1
  45. package/dist/esm/config-authoring.d.ts +4 -4
  46. package/dist/esm/config-authoring.d.ts.map +1 -1
  47. package/dist/esm/config-authoring.js +2 -2
  48. package/dist/esm/config-authoring.js.map +1 -1
  49. package/dist/esm/config-rendering.d.ts +4 -4
  50. package/dist/esm/config-rendering.d.ts.map +1 -1
  51. package/dist/esm/config-rendering.js +15 -14
  52. package/dist/esm/config-rendering.js.map +1 -1
  53. package/dist/esm/helpers/vault/client-side.d.ts.map +1 -1
  54. package/dist/esm/helpers/vault/client-side.js.map +1 -1
  55. package/dist/esm/helpers/vault/server-side.d.ts.map +1 -1
  56. package/dist/esm/helpers/vault/server-side.js.map +1 -1
  57. package/dist/esm/hexclave-config-file.d.ts +15 -0
  58. package/dist/esm/hexclave-config-file.d.ts.map +1 -0
  59. package/dist/esm/{stack-config-file.js → hexclave-config-file.js} +7 -7
  60. package/dist/esm/hexclave-config-file.js.map +1 -0
  61. package/dist/esm/hooks/use-async-callback.js +1 -1
  62. package/dist/esm/hooks/use-async-external-store.js +1 -1
  63. package/dist/esm/hooks/use-strict-memo.js +1 -1
  64. package/dist/esm/interface/admin-metrics.d.ts +8 -8
  65. package/dist/esm/interface/admin-metrics.js.map +1 -1
  66. package/dist/esm/interface/client-interface.js +2 -2
  67. package/dist/esm/interface/client-interface.js.map +1 -1
  68. package/dist/esm/interface/conversations.d.ts +32 -32
  69. package/dist/esm/interface/crud/current-user.d.ts +9 -9
  70. package/dist/esm/interface/crud/email-outbox.d.ts +200 -200
  71. package/dist/esm/interface/crud/products.d.ts +13 -13
  72. package/dist/esm/interface/crud/products.d.ts.map +1 -1
  73. package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
  74. package/dist/esm/interface/crud/project-permissions.js +5 -5
  75. package/dist/esm/interface/crud/project-permissions.js.map +1 -1
  76. package/dist/esm/interface/crud/projects.d.ts +36 -36
  77. package/dist/esm/interface/crud/team-member-profiles.d.ts +18 -18
  78. package/dist/esm/interface/crud/team-permissions.js +5 -5
  79. package/dist/esm/interface/crud/team-permissions.js.map +1 -1
  80. package/dist/esm/interface/crud/transactions.d.ts +6 -6
  81. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  82. package/dist/esm/interface/crud/users.d.ts +12 -12
  83. package/dist/esm/interface/page-component-versions.js +107 -107
  84. package/dist/esm/interface/page-component-versions.js.map +1 -1
  85. package/dist/esm/interface/webhooks.d.ts +2 -2
  86. package/dist/esm/known-errors.d.ts +2 -2
  87. package/dist/esm/known-errors.js +4 -4
  88. package/dist/esm/known-errors.js.map +1 -1
  89. package/dist/esm/schema-fields.d.ts +17 -7
  90. package/dist/esm/schema-fields.d.ts.map +1 -1
  91. package/dist/esm/schema-fields.js +26 -16
  92. package/dist/esm/schema-fields.js.map +1 -1
  93. package/dist/esm/sessions.d.ts +7 -7
  94. package/dist/esm/utils/crypto.d.ts.map +1 -1
  95. package/dist/esm/utils/crypto.js.map +1 -1
  96. package/dist/esm/utils/currency-constants.d.ts +6 -0
  97. package/dist/esm/utils/currency-constants.d.ts.map +1 -1
  98. package/dist/esm/utils/currency-constants.js.map +1 -1
  99. package/dist/esm/utils/dev-env-state-path.d.ts +3 -3
  100. package/dist/esm/utils/dev-env-state-path.d.ts.map +1 -1
  101. package/dist/esm/utils/dev-env-state-path.js +4 -4
  102. package/dist/esm/utils/dev-env-state-path.js.map +1 -1
  103. package/dist/esm/utils/errors.js +2 -2
  104. package/dist/esm/utils/errors.js.map +1 -1
  105. package/dist/esm/utils/esbuild.d.ts.map +1 -1
  106. package/dist/esm/utils/esbuild.js +0 -1
  107. package/dist/esm/utils/esbuild.js.map +1 -1
  108. package/dist/esm/utils/featurebase.d.ts +3 -3
  109. package/dist/esm/utils/featurebase.d.ts.map +1 -1
  110. package/dist/esm/utils/featurebase.js +15 -15
  111. package/dist/esm/utils/featurebase.js.map +1 -1
  112. package/dist/esm/utils/fs.js +6 -6
  113. package/dist/esm/utils/fs.js.map +1 -1
  114. package/dist/esm/utils/globals.d.ts.map +1 -1
  115. package/dist/esm/utils/globals.js +10 -10
  116. package/dist/esm/utils/globals.js.map +1 -1
  117. package/dist/esm/utils/jwt.d.ts.map +1 -1
  118. package/dist/esm/utils/jwt.js +3 -3
  119. package/dist/esm/utils/jwt.js.map +1 -1
  120. package/dist/esm/utils/redirect-urls.d.ts +3 -3
  121. package/dist/esm/utils/redirect-urls.d.ts.map +1 -1
  122. package/dist/esm/utils/redirect-urls.js +5 -5
  123. package/dist/esm/utils/redirect-urls.js.map +1 -1
  124. package/dist/esm/utils/urls.js.map +1 -1
  125. package/dist/helpers/vault/client-side.d.ts.map +1 -1
  126. package/dist/helpers/vault/client-side.js.map +1 -1
  127. package/dist/helpers/vault/server-side.d.ts.map +1 -1
  128. package/dist/helpers/vault/server-side.js.map +1 -1
  129. package/dist/hexclave-config-file.d.ts +15 -0
  130. package/dist/hexclave-config-file.d.ts.map +1 -0
  131. package/dist/{stack-config-file.js → hexclave-config-file.js} +8 -8
  132. package/dist/hexclave-config-file.js.map +1 -0
  133. package/dist/hooks/use-async-callback.js +1 -1
  134. package/dist/hooks/use-async-external-store.js +1 -1
  135. package/dist/hooks/use-strict-memo.js +1 -1
  136. package/dist/interface/admin-metrics.d.ts +8 -8
  137. package/dist/interface/admin-metrics.js.map +1 -1
  138. package/dist/interface/client-interface.js +2 -2
  139. package/dist/interface/client-interface.js.map +1 -1
  140. package/dist/interface/conversations.d.ts +32 -32
  141. package/dist/interface/crud/current-user.d.ts +9 -9
  142. package/dist/interface/crud/email-outbox.d.ts +200 -200
  143. package/dist/interface/crud/products.d.ts +13 -13
  144. package/dist/interface/crud/products.d.ts.map +1 -1
  145. package/dist/interface/crud/project-api-keys.d.ts +4 -4
  146. package/dist/interface/crud/project-permissions.js +5 -5
  147. package/dist/interface/crud/project-permissions.js.map +1 -1
  148. package/dist/interface/crud/projects.d.ts +36 -36
  149. package/dist/interface/crud/team-member-profiles.d.ts +18 -18
  150. package/dist/interface/crud/team-permissions.js +5 -5
  151. package/dist/interface/crud/team-permissions.js.map +1 -1
  152. package/dist/interface/crud/transactions.d.ts +6 -6
  153. package/dist/interface/crud/transactions.d.ts.map +1 -1
  154. package/dist/interface/crud/users.d.ts +12 -12
  155. package/dist/interface/page-component-versions.js +107 -107
  156. package/dist/interface/page-component-versions.js.map +1 -1
  157. package/dist/interface/webhooks.d.ts +2 -2
  158. package/dist/known-errors.d.ts +2 -2
  159. package/dist/known-errors.js +4 -4
  160. package/dist/known-errors.js.map +1 -1
  161. package/dist/schema-fields.d.ts +17 -7
  162. package/dist/schema-fields.d.ts.map +1 -1
  163. package/dist/schema-fields.js +26 -16
  164. package/dist/schema-fields.js.map +1 -1
  165. package/dist/sessions.d.ts +7 -7
  166. package/dist/utils/crypto.d.ts.map +1 -1
  167. package/dist/utils/crypto.js.map +1 -1
  168. package/dist/utils/currency-constants.d.ts +6 -0
  169. package/dist/utils/currency-constants.d.ts.map +1 -1
  170. package/dist/utils/currency-constants.js.map +1 -1
  171. package/dist/utils/dev-env-state-path.d.ts +3 -3
  172. package/dist/utils/dev-env-state-path.d.ts.map +1 -1
  173. package/dist/utils/dev-env-state-path.js +5 -5
  174. package/dist/utils/dev-env-state-path.js.map +1 -1
  175. package/dist/utils/errors.js +2 -2
  176. package/dist/utils/errors.js.map +1 -1
  177. package/dist/utils/esbuild.d.ts.map +1 -1
  178. package/dist/utils/esbuild.js +0 -1
  179. package/dist/utils/esbuild.js.map +1 -1
  180. package/dist/utils/featurebase.d.ts +3 -3
  181. package/dist/utils/featurebase.d.ts.map +1 -1
  182. package/dist/utils/featurebase.js +15 -15
  183. package/dist/utils/featurebase.js.map +1 -1
  184. package/dist/utils/fs.js.map +1 -1
  185. package/dist/utils/globals.d.ts.map +1 -1
  186. package/dist/utils/globals.js +10 -10
  187. package/dist/utils/globals.js.map +1 -1
  188. package/dist/utils/jwt.d.ts.map +1 -1
  189. package/dist/utils/jwt.js +3 -3
  190. package/dist/utils/jwt.js.map +1 -1
  191. package/dist/utils/redirect-urls.d.ts +3 -3
  192. package/dist/utils/redirect-urls.d.ts.map +1 -1
  193. package/dist/utils/redirect-urls.js +5 -5
  194. package/dist/utils/redirect-urls.js.map +1 -1
  195. package/dist/utils/urls.js.map +1 -1
  196. package/package.json +2 -1
  197. package/src/ai/image-limits.ts +62 -0
  198. package/src/ai/llms/llms.ts +36 -0
  199. package/src/ai/unified-prompts/reminders.ts +27 -0
  200. package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +1047 -0
  201. package/src/ai/unified-prompts/skill-site-prompt-parts/brain.ts +5 -0
  202. package/src/ai/unified-prompts/skill-site-prompt-parts/cli-help.ts +5 -0
  203. package/src/ai/unified-prompts/skill-site-prompt-parts/config-docs.ts +5 -0
  204. package/src/ai/unified-prompts/skill-site-prompt-parts/custom-components-instructions.ts +5 -0
  205. package/src/ai/unified-prompts/skill-site-prompt-parts/dashboard-instructions.ts +5 -0
  206. package/src/ai/unified-prompts/skill-site-prompt-parts/docs-index.ts +80 -0
  207. package/src/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.ts +322 -0
  208. package/src/ai/unified-prompts/skill-site-prompt-parts/openapi-specs.ts +5 -0
  209. package/src/ai/unified-prompts/skill-site-prompt-parts/sdk-interface-source.ts +5 -0
  210. package/src/ai/unified-prompts/skill-site-prompt.ts +72 -0
  211. package/src/apps/apps-config.ts +177 -0
  212. package/src/apps/apps-ui.tsx +112 -0
  213. package/src/config/README.md +154 -0
  214. package/src/config/db-sync-mappings.ts +2293 -0
  215. package/src/config/format.ts +388 -0
  216. package/src/config/migrate-catalogs-to-product-lines.ts +475 -0
  217. package/src/config/schema-fuzzer.test.ts +377 -0
  218. package/src/config/schema.ts +1507 -0
  219. package/src/config-authoring.test.ts +52 -0
  220. package/src/config-authoring.ts +37 -0
  221. package/src/config-rendering.ts +142 -0
  222. package/src/crud.tsx +275 -0
  223. package/src/global.d.ts +1 -0
  224. package/src/helpers/emails.ts +250 -0
  225. package/src/helpers/init-prompt.ts +39 -0
  226. package/src/helpers/password.ts +16 -0
  227. package/src/helpers/production-mode.ts +58 -0
  228. package/src/helpers/support-sla.test.ts +124 -0
  229. package/src/helpers/support-sla.ts +93 -0
  230. package/src/helpers/vault/client-side.ts +92 -0
  231. package/src/helpers/vault/server-side.ts +153 -0
  232. package/src/hexclave-config-file.ts +120 -0
  233. package/src/hooks/use-async-callback.tsx +43 -0
  234. package/src/hooks/use-async-external-store.tsx +24 -0
  235. package/src/hooks/use-hash.tsx +14 -0
  236. package/src/hooks/use-hover.tsx +88 -0
  237. package/src/hooks/use-strict-memo.tsx +157 -0
  238. package/src/index.ts +17 -0
  239. package/src/interface/admin-interface.ts +1043 -0
  240. package/src/interface/admin-metrics.ts +214 -0
  241. package/src/interface/client-interface.test.ts +765 -0
  242. package/src/interface/client-interface.ts +2586 -0
  243. package/src/interface/conversations.ts +109 -0
  244. package/src/interface/crud/analytics.ts +11 -0
  245. package/src/interface/crud/connected-accounts.ts +52 -0
  246. package/src/interface/crud/contact-channels.ts +74 -0
  247. package/src/interface/crud/current-user.ts +72 -0
  248. package/src/interface/crud/email-outbox.ts +263 -0
  249. package/src/interface/crud/email-templates.ts +50 -0
  250. package/src/interface/crud/emails.ts +22 -0
  251. package/src/interface/crud/internal-api-keys.ts +69 -0
  252. package/src/interface/crud/invoices.ts +36 -0
  253. package/src/interface/crud/items.ts +24 -0
  254. package/src/interface/crud/notification-preferences.ts +33 -0
  255. package/src/interface/crud/oauth-providers.ts +91 -0
  256. package/src/interface/crud/products.ts +42 -0
  257. package/src/interface/crud/project-api-keys.ts +100 -0
  258. package/src/interface/crud/project-permissions.ts +118 -0
  259. package/src/interface/crud/projects.ts +229 -0
  260. package/src/interface/crud/session-replays.ts +85 -0
  261. package/src/interface/crud/sessions.ts +66 -0
  262. package/src/interface/crud/sign-up-rules.ts +12 -0
  263. package/src/interface/crud/svix-token.ts +20 -0
  264. package/src/interface/crud/team-invitation-details.ts +22 -0
  265. package/src/interface/crud/team-invitation.ts +35 -0
  266. package/src/interface/crud/team-member-profiles.ts +61 -0
  267. package/src/interface/crud/team-memberships.ts +56 -0
  268. package/src/interface/crud/team-permissions.ts +119 -0
  269. package/src/interface/crud/teams.ts +142 -0
  270. package/src/interface/crud/transactions.ts +131 -0
  271. package/src/interface/crud/users.ts +185 -0
  272. package/src/interface/handler-urls.ts +74 -0
  273. package/src/interface/page-component-versions.ts +1702 -0
  274. package/src/interface/server-interface.ts +1146 -0
  275. package/src/interface/webhooks.ts +28 -0
  276. package/src/known-errors.tsx +2031 -0
  277. package/src/local-emulator.ts +5 -0
  278. package/src/payments/payment-methods.ts +167 -0
  279. package/src/payments/stripe-limits.ts +18 -0
  280. package/src/plans.ts +107 -0
  281. package/src/schema-fields.ts +944 -0
  282. package/src/sessions.ts +310 -0
  283. package/src/utils/api-keys.tsx +122 -0
  284. package/src/utils/arrays.tsx +248 -0
  285. package/src/utils/auth-methods.ts +8 -0
  286. package/src/utils/base64.tsx +24 -0
  287. package/src/utils/booleans.tsx +34 -0
  288. package/src/utils/browser-compat.tsx +17 -0
  289. package/src/utils/bytes.tsx +280 -0
  290. package/src/utils/caches.tsx +280 -0
  291. package/src/utils/cel-fields.ts +92 -0
  292. package/src/utils/cloud-hosts.tsx +92 -0
  293. package/src/utils/compile-time.tsx +11 -0
  294. package/src/utils/country-codes.ts +39 -0
  295. package/src/utils/crypto.tsx +174 -0
  296. package/src/utils/currencies.tsx +53 -0
  297. package/src/utils/currency-constants.tsx +51 -0
  298. package/src/utils/dates.tsx +246 -0
  299. package/src/utils/dev-env-state-path.ts +14 -0
  300. package/src/utils/dom.tsx +7 -0
  301. package/src/utils/env.tsx +117 -0
  302. package/src/utils/errors.tsx +284 -0
  303. package/src/utils/esbuild.tsx +235 -0
  304. package/src/utils/featurebase.tsx +247 -0
  305. package/src/utils/fs.tsx +33 -0
  306. package/src/utils/functions.tsx +22 -0
  307. package/src/utils/geo.tsx +16 -0
  308. package/src/utils/globals.tsx +48 -0
  309. package/src/utils/hashes.tsx +52 -0
  310. package/src/utils/html.tsx +60 -0
  311. package/src/utils/http.tsx +91 -0
  312. package/src/utils/ips.tsx +47 -0
  313. package/src/utils/json.tsx +200 -0
  314. package/src/utils/jsx-editable-transpiler.test.ts +156 -0
  315. package/src/utils/jsx-editable-transpiler.tsx +401 -0
  316. package/src/utils/jwt.tsx +170 -0
  317. package/src/utils/locks.tsx +71 -0
  318. package/src/utils/maps.tsx +407 -0
  319. package/src/utils/math.tsx +18 -0
  320. package/src/utils/monkey-patch.tsx +29 -0
  321. package/src/utils/node-http.tsx +47 -0
  322. package/src/utils/numbers.tsx +82 -0
  323. package/src/utils/oauth.tsx +9 -0
  324. package/src/utils/objects.tsx +581 -0
  325. package/src/utils/paginated-lists.test.ts +1039 -0
  326. package/src/utils/paginated-lists.tsx +479 -0
  327. package/src/utils/passkey.tsx +1 -0
  328. package/src/utils/promises.tsx +540 -0
  329. package/src/utils/proxies.tsx +212 -0
  330. package/src/utils/react.tsx +308 -0
  331. package/src/utils/redirect-urls.tsx +299 -0
  332. package/src/utils/regex.tsx +10 -0
  333. package/src/utils/results.tsx +411 -0
  334. package/src/utils/sentry.tsx +20 -0
  335. package/src/utils/stores.tsx +238 -0
  336. package/src/utils/strings.nicify.test.ts +253 -0
  337. package/src/utils/strings.tsx +723 -0
  338. package/src/utils/telemetry.tsx +37 -0
  339. package/src/utils/turnstile-browser.ts +106 -0
  340. package/src/utils/turnstile-flow.test.ts +101 -0
  341. package/src/utils/turnstile-flow.ts +266 -0
  342. package/src/utils/turnstile.ts +34 -0
  343. package/src/utils/typed-arrays.tsx +17 -0
  344. package/src/utils/types.tsx +208 -0
  345. package/src/utils/unicode.tsx +24 -0
  346. package/src/utils/urls.tsx +411 -0
  347. package/src/utils/uuids.tsx +47 -0
  348. package/dist/esm/stack-config-file.d.ts +0 -15
  349. package/dist/esm/stack-config-file.d.ts.map +0 -1
  350. package/dist/esm/stack-config-file.js.map +0 -1
  351. package/dist/stack-config-file.d.ts +0 -15
  352. package/dist/stack-config-file.d.ts.map +0 -1
  353. package/dist/stack-config-file.js.map +0 -1
@@ -3,22 +3,22 @@ import * as yup$1 from "yup";
3
3
 
4
4
  //#region src/interface/crud/email-outbox.d.ts
5
5
  declare const emailOutboxReadSchema: yup$1.MixedSchema<{
6
- id: string;
7
6
  status: "paused";
7
+ id: string;
8
8
  created_at_millis: number;
9
9
  updated_at_millis: number;
10
10
  tsx_source: string;
11
11
  theme_id: string | null;
12
12
  to: {
13
- type: "user-primary-email";
14
13
  user_id: string;
14
+ type: "user-primary-email";
15
15
  } | {
16
- emails: string[];
17
- type: "user-custom-emails";
18
16
  user_id: string;
19
- } | {
17
+ type: "user-custom-emails";
20
18
  emails: string[];
19
+ } | {
21
20
  type: "custom-emails";
21
+ emails: string[];
22
22
  };
23
23
  variables: Record<string, {} | null>;
24
24
  skip_deliverability_check: boolean;
@@ -41,22 +41,22 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
41
41
  has_rendered: boolean;
42
42
  has_delivered: boolean;
43
43
  } | {
44
- id: string;
45
44
  status: "preparing";
45
+ id: string;
46
46
  created_at_millis: number;
47
47
  updated_at_millis: number;
48
48
  tsx_source: string;
49
49
  theme_id: string | null;
50
50
  to: {
51
- type: "user-primary-email";
52
51
  user_id: string;
52
+ type: "user-primary-email";
53
53
  } | {
54
- emails: string[];
55
- type: "user-custom-emails";
56
54
  user_id: string;
57
- } | {
55
+ type: "user-custom-emails";
58
56
  emails: string[];
57
+ } | {
59
58
  type: "custom-emails";
59
+ emails: string[];
60
60
  };
61
61
  variables: Record<string, {} | null>;
62
62
  skip_deliverability_check: boolean;
@@ -79,22 +79,22 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
79
79
  has_rendered: boolean;
80
80
  has_delivered: boolean;
81
81
  } | {
82
- id: string;
83
82
  status: "rendering";
83
+ id: string;
84
84
  created_at_millis: number;
85
85
  updated_at_millis: number;
86
86
  tsx_source: string;
87
87
  theme_id: string | null;
88
88
  to: {
89
- type: "user-primary-email";
90
89
  user_id: string;
90
+ type: "user-primary-email";
91
91
  } | {
92
- emails: string[];
93
- type: "user-custom-emails";
94
92
  user_id: string;
95
- } | {
93
+ type: "user-custom-emails";
96
94
  emails: string[];
95
+ } | {
97
96
  type: "custom-emails";
97
+ emails: string[];
98
98
  };
99
99
  variables: Record<string, {} | null>;
100
100
  skip_deliverability_check: boolean;
@@ -118,22 +118,22 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
118
118
  has_delivered: boolean;
119
119
  started_rendering_at_millis: number;
120
120
  } | {
121
- id: string;
122
121
  status: "render-error";
122
+ id: string;
123
123
  created_at_millis: number;
124
124
  updated_at_millis: number;
125
125
  tsx_source: string;
126
126
  theme_id: string | null;
127
127
  to: {
128
- type: "user-primary-email";
129
128
  user_id: string;
129
+ type: "user-primary-email";
130
130
  } | {
131
- emails: string[];
132
- type: "user-custom-emails";
133
131
  user_id: string;
134
- } | {
132
+ type: "user-custom-emails";
135
133
  emails: string[];
134
+ } | {
136
135
  type: "custom-emails";
136
+ emails: string[];
137
137
  };
138
138
  variables: Record<string, {} | null>;
139
139
  skip_deliverability_check: boolean;
@@ -159,25 +159,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
159
159
  rendered_at_millis: number;
160
160
  render_error: string;
161
161
  } | {
162
- html: string | null;
163
- text: string | null;
164
- id: string;
165
162
  status: "scheduled";
163
+ id: string;
166
164
  subject: string;
167
165
  created_at_millis: number;
166
+ html: string | null;
167
+ text: string | null;
168
168
  updated_at_millis: number;
169
169
  tsx_source: string;
170
170
  theme_id: string | null;
171
171
  to: {
172
- type: "user-primary-email";
173
172
  user_id: string;
173
+ type: "user-primary-email";
174
174
  } | {
175
- emails: string[];
176
- type: "user-custom-emails";
177
175
  user_id: string;
178
- } | {
176
+ type: "user-custom-emails";
179
177
  emails: string[];
178
+ } | {
180
179
  type: "custom-emails";
180
+ emails: string[];
181
181
  };
182
182
  variables: Record<string, {} | null>;
183
183
  skip_deliverability_check: boolean;
@@ -205,25 +205,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
205
205
  is_high_priority: boolean;
206
206
  notification_category_id: string | null;
207
207
  } | {
208
- html: string | null;
209
- text: string | null;
210
- id: string;
211
208
  status: "queued";
209
+ id: string;
212
210
  subject: string;
213
211
  created_at_millis: number;
212
+ html: string | null;
213
+ text: string | null;
214
214
  updated_at_millis: number;
215
215
  tsx_source: string;
216
216
  theme_id: string | null;
217
217
  to: {
218
- type: "user-primary-email";
219
218
  user_id: string;
219
+ type: "user-primary-email";
220
220
  } | {
221
- emails: string[];
222
- type: "user-custom-emails";
223
221
  user_id: string;
224
- } | {
222
+ type: "user-custom-emails";
225
223
  emails: string[];
224
+ } | {
226
225
  type: "custom-emails";
226
+ emails: string[];
227
227
  };
228
228
  variables: Record<string, {} | null>;
229
229
  skip_deliverability_check: boolean;
@@ -251,25 +251,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
251
251
  is_high_priority: boolean;
252
252
  notification_category_id: string | null;
253
253
  } | {
254
- html: string | null;
255
- text: string | null;
256
- id: string;
257
254
  status: "sending";
255
+ id: string;
258
256
  subject: string;
259
257
  created_at_millis: number;
258
+ html: string | null;
259
+ text: string | null;
260
260
  updated_at_millis: number;
261
261
  tsx_source: string;
262
262
  theme_id: string | null;
263
263
  to: {
264
- type: "user-primary-email";
265
264
  user_id: string;
265
+ type: "user-primary-email";
266
266
  } | {
267
- emails: string[];
268
- type: "user-custom-emails";
269
267
  user_id: string;
270
- } | {
268
+ type: "user-custom-emails";
271
269
  emails: string[];
270
+ } | {
272
271
  type: "custom-emails";
272
+ emails: string[];
273
273
  };
274
274
  variables: Record<string, {} | null>;
275
275
  skip_deliverability_check: boolean;
@@ -298,25 +298,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
298
298
  notification_category_id: string | null;
299
299
  started_sending_at_millis: number;
300
300
  } | {
301
- html: string | null;
302
- text: string | null;
303
- id: string;
304
301
  status: "server-error";
302
+ id: string;
305
303
  subject: string;
306
304
  created_at_millis: number;
305
+ html: string | null;
306
+ text: string | null;
307
307
  updated_at_millis: number;
308
308
  tsx_source: string;
309
309
  theme_id: string | null;
310
310
  to: {
311
- type: "user-primary-email";
312
311
  user_id: string;
312
+ type: "user-primary-email";
313
313
  } | {
314
- emails: string[];
315
- type: "user-custom-emails";
316
314
  user_id: string;
317
- } | {
315
+ type: "user-custom-emails";
318
316
  emails: string[];
317
+ } | {
319
318
  type: "custom-emails";
319
+ emails: string[];
320
320
  };
321
321
  variables: Record<string, {} | null>;
322
322
  skip_deliverability_check: boolean;
@@ -347,31 +347,31 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
347
347
  error_at_millis: number;
348
348
  server_error: string;
349
349
  } | {
350
+ subject?: string | undefined;
350
351
  html?: string | null | undefined;
351
352
  text?: string | null | undefined;
352
- subject?: string | undefined;
353
353
  started_rendering_at_millis?: number | undefined;
354
354
  rendered_at_millis?: number | undefined;
355
355
  is_transactional?: boolean | undefined;
356
356
  is_high_priority?: boolean | undefined;
357
357
  notification_category_id?: string | null | undefined;
358
358
  started_sending_at_millis?: number | undefined;
359
- id: string;
360
359
  status: "skipped";
360
+ id: string;
361
361
  created_at_millis: number;
362
362
  updated_at_millis: number;
363
363
  tsx_source: string;
364
364
  theme_id: string | null;
365
365
  to: {
366
- type: "user-primary-email";
367
366
  user_id: string;
367
+ type: "user-primary-email";
368
368
  } | {
369
- emails: string[];
370
- type: "user-custom-emails";
371
369
  user_id: string;
372
- } | {
370
+ type: "user-custom-emails";
373
371
  emails: string[];
372
+ } | {
374
373
  type: "custom-emails";
374
+ emails: string[];
375
375
  };
376
376
  variables: Record<string, {} | null>;
377
377
  skip_deliverability_check: boolean;
@@ -397,25 +397,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
397
397
  skipped_reason: string;
398
398
  skipped_details: Record<string, {} | null>;
399
399
  } | {
400
- html: string | null;
401
- text: string | null;
402
- id: string;
403
400
  status: "bounced";
401
+ id: string;
404
402
  subject: string;
405
403
  created_at_millis: number;
404
+ html: string | null;
405
+ text: string | null;
406
406
  updated_at_millis: number;
407
407
  tsx_source: string;
408
408
  theme_id: string | null;
409
409
  to: {
410
- type: "user-primary-email";
411
410
  user_id: string;
411
+ type: "user-primary-email";
412
412
  } | {
413
- emails: string[];
414
- type: "user-custom-emails";
415
413
  user_id: string;
416
- } | {
414
+ type: "user-custom-emails";
417
415
  emails: string[];
416
+ } | {
418
417
  type: "custom-emails";
418
+ emails: string[];
419
419
  };
420
420
  variables: Record<string, {} | null>;
421
421
  skip_deliverability_check: boolean;
@@ -445,25 +445,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
445
445
  started_sending_at_millis: number;
446
446
  bounced_at_millis: number;
447
447
  } | {
448
- html: string | null;
449
- text: string | null;
450
- id: string;
451
448
  status: "delivery-delayed";
449
+ id: string;
452
450
  subject: string;
453
451
  created_at_millis: number;
452
+ html: string | null;
453
+ text: string | null;
454
454
  updated_at_millis: number;
455
455
  tsx_source: string;
456
456
  theme_id: string | null;
457
457
  to: {
458
- type: "user-primary-email";
459
458
  user_id: string;
459
+ type: "user-primary-email";
460
460
  } | {
461
- emails: string[];
462
- type: "user-custom-emails";
463
461
  user_id: string;
464
- } | {
462
+ type: "user-custom-emails";
465
463
  emails: string[];
464
+ } | {
466
465
  type: "custom-emails";
466
+ emails: string[];
467
467
  };
468
468
  variables: Record<string, {} | null>;
469
469
  skip_deliverability_check: boolean;
@@ -493,25 +493,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
493
493
  started_sending_at_millis: number;
494
494
  delivery_delayed_at_millis: number;
495
495
  } | {
496
- html: string | null;
497
- text: string | null;
498
- id: string;
499
496
  status: "sent";
497
+ id: string;
500
498
  subject: string;
501
499
  created_at_millis: number;
500
+ html: string | null;
501
+ text: string | null;
502
502
  updated_at_millis: number;
503
503
  tsx_source: string;
504
504
  theme_id: string | null;
505
505
  to: {
506
- type: "user-primary-email";
507
506
  user_id: string;
507
+ type: "user-primary-email";
508
508
  } | {
509
- emails: string[];
510
- type: "user-custom-emails";
511
509
  user_id: string;
512
- } | {
510
+ type: "user-custom-emails";
513
511
  emails: string[];
512
+ } | {
514
513
  type: "custom-emails";
514
+ emails: string[];
515
515
  };
516
516
  variables: Record<string, {} | null>;
517
517
  skip_deliverability_check: boolean;
@@ -542,25 +542,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
542
542
  delivered_at_millis: number;
543
543
  can_have_delivery_info: boolean;
544
544
  } | {
545
- html: string | null;
546
- text: string | null;
547
- id: string;
548
545
  status: "opened";
546
+ id: string;
549
547
  subject: string;
550
548
  created_at_millis: number;
549
+ html: string | null;
550
+ text: string | null;
551
551
  updated_at_millis: number;
552
552
  tsx_source: string;
553
553
  theme_id: string | null;
554
554
  to: {
555
- type: "user-primary-email";
556
555
  user_id: string;
556
+ type: "user-primary-email";
557
557
  } | {
558
- emails: string[];
559
- type: "user-custom-emails";
560
558
  user_id: string;
561
- } | {
559
+ type: "user-custom-emails";
562
560
  emails: string[];
561
+ } | {
563
562
  type: "custom-emails";
563
+ emails: string[];
564
564
  };
565
565
  variables: Record<string, {} | null>;
566
566
  skip_deliverability_check: boolean;
@@ -592,25 +592,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
592
592
  can_have_delivery_info: boolean;
593
593
  opened_at_millis: number;
594
594
  } | {
595
- html: string | null;
596
- text: string | null;
597
- id: string;
598
595
  status: "clicked";
596
+ id: string;
599
597
  subject: string;
600
598
  created_at_millis: number;
599
+ html: string | null;
600
+ text: string | null;
601
601
  updated_at_millis: number;
602
602
  tsx_source: string;
603
603
  theme_id: string | null;
604
604
  to: {
605
- type: "user-primary-email";
606
605
  user_id: string;
606
+ type: "user-primary-email";
607
607
  } | {
608
- emails: string[];
609
- type: "user-custom-emails";
610
608
  user_id: string;
611
- } | {
609
+ type: "user-custom-emails";
612
610
  emails: string[];
611
+ } | {
613
612
  type: "custom-emails";
613
+ emails: string[];
614
614
  };
615
615
  variables: Record<string, {} | null>;
616
616
  skip_deliverability_check: boolean;
@@ -642,25 +642,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
642
642
  can_have_delivery_info: boolean;
643
643
  clicked_at_millis: number;
644
644
  } | {
645
- html: string | null;
646
- text: string | null;
647
- id: string;
648
645
  status: "marked-as-spam";
646
+ id: string;
649
647
  subject: string;
650
648
  created_at_millis: number;
649
+ html: string | null;
650
+ text: string | null;
651
651
  updated_at_millis: number;
652
652
  tsx_source: string;
653
653
  theme_id: string | null;
654
654
  to: {
655
- type: "user-primary-email";
656
655
  user_id: string;
656
+ type: "user-primary-email";
657
657
  } | {
658
- emails: string[];
659
- type: "user-custom-emails";
660
658
  user_id: string;
661
- } | {
659
+ type: "user-custom-emails";
662
660
  emails: string[];
661
+ } | {
663
662
  type: "custom-emails";
663
+ emails: string[];
664
664
  };
665
665
  variables: Record<string, {} | null>;
666
666
  skip_deliverability_check: boolean;
@@ -696,15 +696,15 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
696
696
  tsx_source: string | undefined;
697
697
  theme_id: string | null | undefined;
698
698
  to: {
699
- type: "user-primary-email";
700
699
  user_id: string;
700
+ type: "user-primary-email";
701
701
  } | {
702
- emails: string[];
703
- type: "user-custom-emails";
704
702
  user_id: string;
705
- } | {
703
+ type: "user-custom-emails";
706
704
  emails: string[];
705
+ } | {
707
706
  type: "custom-emails";
707
+ emails: string[];
708
708
  } | undefined;
709
709
  variables: Record<string, {} | null> | undefined;
710
710
  skip_deliverability_check: boolean | undefined;
@@ -723,22 +723,22 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
723
723
  }, "">;
724
724
  declare const emailOutboxCrud: CrudSchemaFromOptions<{
725
725
  serverReadSchema: yup$1.MixedSchema<{
726
- id: string;
727
726
  status: "paused";
727
+ id: string;
728
728
  created_at_millis: number;
729
729
  updated_at_millis: number;
730
730
  tsx_source: string;
731
731
  theme_id: string | null;
732
732
  to: {
733
- type: "user-primary-email";
734
733
  user_id: string;
734
+ type: "user-primary-email";
735
735
  } | {
736
- emails: string[];
737
- type: "user-custom-emails";
738
736
  user_id: string;
739
- } | {
737
+ type: "user-custom-emails";
740
738
  emails: string[];
739
+ } | {
741
740
  type: "custom-emails";
741
+ emails: string[];
742
742
  };
743
743
  variables: Record<string, {} | null>;
744
744
  skip_deliverability_check: boolean;
@@ -761,22 +761,22 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
761
761
  has_rendered: boolean;
762
762
  has_delivered: boolean;
763
763
  } | {
764
- id: string;
765
764
  status: "preparing";
765
+ id: string;
766
766
  created_at_millis: number;
767
767
  updated_at_millis: number;
768
768
  tsx_source: string;
769
769
  theme_id: string | null;
770
770
  to: {
771
- type: "user-primary-email";
772
771
  user_id: string;
772
+ type: "user-primary-email";
773
773
  } | {
774
- emails: string[];
775
- type: "user-custom-emails";
776
774
  user_id: string;
777
- } | {
775
+ type: "user-custom-emails";
778
776
  emails: string[];
777
+ } | {
779
778
  type: "custom-emails";
779
+ emails: string[];
780
780
  };
781
781
  variables: Record<string, {} | null>;
782
782
  skip_deliverability_check: boolean;
@@ -799,22 +799,22 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
799
799
  has_rendered: boolean;
800
800
  has_delivered: boolean;
801
801
  } | {
802
- id: string;
803
802
  status: "rendering";
803
+ id: string;
804
804
  created_at_millis: number;
805
805
  updated_at_millis: number;
806
806
  tsx_source: string;
807
807
  theme_id: string | null;
808
808
  to: {
809
- type: "user-primary-email";
810
809
  user_id: string;
810
+ type: "user-primary-email";
811
811
  } | {
812
- emails: string[];
813
- type: "user-custom-emails";
814
812
  user_id: string;
815
- } | {
813
+ type: "user-custom-emails";
816
814
  emails: string[];
815
+ } | {
817
816
  type: "custom-emails";
817
+ emails: string[];
818
818
  };
819
819
  variables: Record<string, {} | null>;
820
820
  skip_deliverability_check: boolean;
@@ -838,22 +838,22 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
838
838
  has_delivered: boolean;
839
839
  started_rendering_at_millis: number;
840
840
  } | {
841
- id: string;
842
841
  status: "render-error";
842
+ id: string;
843
843
  created_at_millis: number;
844
844
  updated_at_millis: number;
845
845
  tsx_source: string;
846
846
  theme_id: string | null;
847
847
  to: {
848
- type: "user-primary-email";
849
848
  user_id: string;
849
+ type: "user-primary-email";
850
850
  } | {
851
- emails: string[];
852
- type: "user-custom-emails";
853
851
  user_id: string;
854
- } | {
852
+ type: "user-custom-emails";
855
853
  emails: string[];
854
+ } | {
856
855
  type: "custom-emails";
856
+ emails: string[];
857
857
  };
858
858
  variables: Record<string, {} | null>;
859
859
  skip_deliverability_check: boolean;
@@ -879,25 +879,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
879
879
  rendered_at_millis: number;
880
880
  render_error: string;
881
881
  } | {
882
- html: string | null;
883
- text: string | null;
884
- id: string;
885
882
  status: "scheduled";
883
+ id: string;
886
884
  subject: string;
887
885
  created_at_millis: number;
886
+ html: string | null;
887
+ text: string | null;
888
888
  updated_at_millis: number;
889
889
  tsx_source: string;
890
890
  theme_id: string | null;
891
891
  to: {
892
- type: "user-primary-email";
893
892
  user_id: string;
893
+ type: "user-primary-email";
894
894
  } | {
895
- emails: string[];
896
- type: "user-custom-emails";
897
895
  user_id: string;
898
- } | {
896
+ type: "user-custom-emails";
899
897
  emails: string[];
898
+ } | {
900
899
  type: "custom-emails";
900
+ emails: string[];
901
901
  };
902
902
  variables: Record<string, {} | null>;
903
903
  skip_deliverability_check: boolean;
@@ -925,25 +925,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
925
925
  is_high_priority: boolean;
926
926
  notification_category_id: string | null;
927
927
  } | {
928
- html: string | null;
929
- text: string | null;
930
- id: string;
931
928
  status: "queued";
929
+ id: string;
932
930
  subject: string;
933
931
  created_at_millis: number;
932
+ html: string | null;
933
+ text: string | null;
934
934
  updated_at_millis: number;
935
935
  tsx_source: string;
936
936
  theme_id: string | null;
937
937
  to: {
938
- type: "user-primary-email";
939
938
  user_id: string;
939
+ type: "user-primary-email";
940
940
  } | {
941
- emails: string[];
942
- type: "user-custom-emails";
943
941
  user_id: string;
944
- } | {
942
+ type: "user-custom-emails";
945
943
  emails: string[];
944
+ } | {
946
945
  type: "custom-emails";
946
+ emails: string[];
947
947
  };
948
948
  variables: Record<string, {} | null>;
949
949
  skip_deliverability_check: boolean;
@@ -971,25 +971,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
971
971
  is_high_priority: boolean;
972
972
  notification_category_id: string | null;
973
973
  } | {
974
- html: string | null;
975
- text: string | null;
976
- id: string;
977
974
  status: "sending";
975
+ id: string;
978
976
  subject: string;
979
977
  created_at_millis: number;
978
+ html: string | null;
979
+ text: string | null;
980
980
  updated_at_millis: number;
981
981
  tsx_source: string;
982
982
  theme_id: string | null;
983
983
  to: {
984
- type: "user-primary-email";
985
984
  user_id: string;
985
+ type: "user-primary-email";
986
986
  } | {
987
- emails: string[];
988
- type: "user-custom-emails";
989
987
  user_id: string;
990
- } | {
988
+ type: "user-custom-emails";
991
989
  emails: string[];
990
+ } | {
992
991
  type: "custom-emails";
992
+ emails: string[];
993
993
  };
994
994
  variables: Record<string, {} | null>;
995
995
  skip_deliverability_check: boolean;
@@ -1018,25 +1018,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1018
1018
  notification_category_id: string | null;
1019
1019
  started_sending_at_millis: number;
1020
1020
  } | {
1021
- html: string | null;
1022
- text: string | null;
1023
- id: string;
1024
1021
  status: "server-error";
1022
+ id: string;
1025
1023
  subject: string;
1026
1024
  created_at_millis: number;
1025
+ html: string | null;
1026
+ text: string | null;
1027
1027
  updated_at_millis: number;
1028
1028
  tsx_source: string;
1029
1029
  theme_id: string | null;
1030
1030
  to: {
1031
- type: "user-primary-email";
1032
1031
  user_id: string;
1032
+ type: "user-primary-email";
1033
1033
  } | {
1034
- emails: string[];
1035
- type: "user-custom-emails";
1036
1034
  user_id: string;
1037
- } | {
1035
+ type: "user-custom-emails";
1038
1036
  emails: string[];
1037
+ } | {
1039
1038
  type: "custom-emails";
1039
+ emails: string[];
1040
1040
  };
1041
1041
  variables: Record<string, {} | null>;
1042
1042
  skip_deliverability_check: boolean;
@@ -1067,31 +1067,31 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1067
1067
  error_at_millis: number;
1068
1068
  server_error: string;
1069
1069
  } | {
1070
+ subject?: string | undefined;
1070
1071
  html?: string | null | undefined;
1071
1072
  text?: string | null | undefined;
1072
- subject?: string | undefined;
1073
1073
  started_rendering_at_millis?: number | undefined;
1074
1074
  rendered_at_millis?: number | undefined;
1075
1075
  is_transactional?: boolean | undefined;
1076
1076
  is_high_priority?: boolean | undefined;
1077
1077
  notification_category_id?: string | null | undefined;
1078
1078
  started_sending_at_millis?: number | undefined;
1079
- id: string;
1080
1079
  status: "skipped";
1080
+ id: string;
1081
1081
  created_at_millis: number;
1082
1082
  updated_at_millis: number;
1083
1083
  tsx_source: string;
1084
1084
  theme_id: string | null;
1085
1085
  to: {
1086
- type: "user-primary-email";
1087
1086
  user_id: string;
1087
+ type: "user-primary-email";
1088
1088
  } | {
1089
- emails: string[];
1090
- type: "user-custom-emails";
1091
1089
  user_id: string;
1092
- } | {
1090
+ type: "user-custom-emails";
1093
1091
  emails: string[];
1092
+ } | {
1094
1093
  type: "custom-emails";
1094
+ emails: string[];
1095
1095
  };
1096
1096
  variables: Record<string, {} | null>;
1097
1097
  skip_deliverability_check: boolean;
@@ -1117,25 +1117,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1117
1117
  skipped_reason: string;
1118
1118
  skipped_details: Record<string, {} | null>;
1119
1119
  } | {
1120
- html: string | null;
1121
- text: string | null;
1122
- id: string;
1123
1120
  status: "bounced";
1121
+ id: string;
1124
1122
  subject: string;
1125
1123
  created_at_millis: number;
1124
+ html: string | null;
1125
+ text: string | null;
1126
1126
  updated_at_millis: number;
1127
1127
  tsx_source: string;
1128
1128
  theme_id: string | null;
1129
1129
  to: {
1130
- type: "user-primary-email";
1131
1130
  user_id: string;
1131
+ type: "user-primary-email";
1132
1132
  } | {
1133
- emails: string[];
1134
- type: "user-custom-emails";
1135
1133
  user_id: string;
1136
- } | {
1134
+ type: "user-custom-emails";
1137
1135
  emails: string[];
1136
+ } | {
1138
1137
  type: "custom-emails";
1138
+ emails: string[];
1139
1139
  };
1140
1140
  variables: Record<string, {} | null>;
1141
1141
  skip_deliverability_check: boolean;
@@ -1165,25 +1165,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1165
1165
  started_sending_at_millis: number;
1166
1166
  bounced_at_millis: number;
1167
1167
  } | {
1168
- html: string | null;
1169
- text: string | null;
1170
- id: string;
1171
1168
  status: "delivery-delayed";
1169
+ id: string;
1172
1170
  subject: string;
1173
1171
  created_at_millis: number;
1172
+ html: string | null;
1173
+ text: string | null;
1174
1174
  updated_at_millis: number;
1175
1175
  tsx_source: string;
1176
1176
  theme_id: string | null;
1177
1177
  to: {
1178
- type: "user-primary-email";
1179
1178
  user_id: string;
1179
+ type: "user-primary-email";
1180
1180
  } | {
1181
- emails: string[];
1182
- type: "user-custom-emails";
1183
1181
  user_id: string;
1184
- } | {
1182
+ type: "user-custom-emails";
1185
1183
  emails: string[];
1184
+ } | {
1186
1185
  type: "custom-emails";
1186
+ emails: string[];
1187
1187
  };
1188
1188
  variables: Record<string, {} | null>;
1189
1189
  skip_deliverability_check: boolean;
@@ -1213,25 +1213,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1213
1213
  started_sending_at_millis: number;
1214
1214
  delivery_delayed_at_millis: number;
1215
1215
  } | {
1216
- html: string | null;
1217
- text: string | null;
1218
- id: string;
1219
1216
  status: "sent";
1217
+ id: string;
1220
1218
  subject: string;
1221
1219
  created_at_millis: number;
1220
+ html: string | null;
1221
+ text: string | null;
1222
1222
  updated_at_millis: number;
1223
1223
  tsx_source: string;
1224
1224
  theme_id: string | null;
1225
1225
  to: {
1226
- type: "user-primary-email";
1227
1226
  user_id: string;
1227
+ type: "user-primary-email";
1228
1228
  } | {
1229
- emails: string[];
1230
- type: "user-custom-emails";
1231
1229
  user_id: string;
1232
- } | {
1230
+ type: "user-custom-emails";
1233
1231
  emails: string[];
1232
+ } | {
1234
1233
  type: "custom-emails";
1234
+ emails: string[];
1235
1235
  };
1236
1236
  variables: Record<string, {} | null>;
1237
1237
  skip_deliverability_check: boolean;
@@ -1262,25 +1262,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1262
1262
  delivered_at_millis: number;
1263
1263
  can_have_delivery_info: boolean;
1264
1264
  } | {
1265
- html: string | null;
1266
- text: string | null;
1267
- id: string;
1268
1265
  status: "opened";
1266
+ id: string;
1269
1267
  subject: string;
1270
1268
  created_at_millis: number;
1269
+ html: string | null;
1270
+ text: string | null;
1271
1271
  updated_at_millis: number;
1272
1272
  tsx_source: string;
1273
1273
  theme_id: string | null;
1274
1274
  to: {
1275
- type: "user-primary-email";
1276
1275
  user_id: string;
1276
+ type: "user-primary-email";
1277
1277
  } | {
1278
- emails: string[];
1279
- type: "user-custom-emails";
1280
1278
  user_id: string;
1281
- } | {
1279
+ type: "user-custom-emails";
1282
1280
  emails: string[];
1281
+ } | {
1283
1282
  type: "custom-emails";
1283
+ emails: string[];
1284
1284
  };
1285
1285
  variables: Record<string, {} | null>;
1286
1286
  skip_deliverability_check: boolean;
@@ -1312,25 +1312,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1312
1312
  can_have_delivery_info: boolean;
1313
1313
  opened_at_millis: number;
1314
1314
  } | {
1315
- html: string | null;
1316
- text: string | null;
1317
- id: string;
1318
1315
  status: "clicked";
1316
+ id: string;
1319
1317
  subject: string;
1320
1318
  created_at_millis: number;
1319
+ html: string | null;
1320
+ text: string | null;
1321
1321
  updated_at_millis: number;
1322
1322
  tsx_source: string;
1323
1323
  theme_id: string | null;
1324
1324
  to: {
1325
- type: "user-primary-email";
1326
1325
  user_id: string;
1326
+ type: "user-primary-email";
1327
1327
  } | {
1328
- emails: string[];
1329
- type: "user-custom-emails";
1330
1328
  user_id: string;
1331
- } | {
1329
+ type: "user-custom-emails";
1332
1330
  emails: string[];
1331
+ } | {
1333
1332
  type: "custom-emails";
1333
+ emails: string[];
1334
1334
  };
1335
1335
  variables: Record<string, {} | null>;
1336
1336
  skip_deliverability_check: boolean;
@@ -1362,25 +1362,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1362
1362
  can_have_delivery_info: boolean;
1363
1363
  clicked_at_millis: number;
1364
1364
  } | {
1365
- html: string | null;
1366
- text: string | null;
1367
- id: string;
1368
1365
  status: "marked-as-spam";
1366
+ id: string;
1369
1367
  subject: string;
1370
1368
  created_at_millis: number;
1369
+ html: string | null;
1370
+ text: string | null;
1371
1371
  updated_at_millis: number;
1372
1372
  tsx_source: string;
1373
1373
  theme_id: string | null;
1374
1374
  to: {
1375
- type: "user-primary-email";
1376
1375
  user_id: string;
1376
+ type: "user-primary-email";
1377
1377
  } | {
1378
- emails: string[];
1379
- type: "user-custom-emails";
1380
1378
  user_id: string;
1381
- } | {
1379
+ type: "user-custom-emails";
1382
1380
  emails: string[];
1381
+ } | {
1383
1382
  type: "custom-emails";
1383
+ emails: string[];
1384
1384
  };
1385
1385
  variables: Record<string, {} | null>;
1386
1386
  skip_deliverability_check: boolean;
@@ -1416,15 +1416,15 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1416
1416
  tsx_source: string | undefined;
1417
1417
  theme_id: string | null | undefined;
1418
1418
  to: {
1419
- type: "user-primary-email";
1420
1419
  user_id: string;
1420
+ type: "user-primary-email";
1421
1421
  } | {
1422
- emails: string[];
1423
- type: "user-custom-emails";
1424
1422
  user_id: string;
1425
- } | {
1423
+ type: "user-custom-emails";
1426
1424
  emails: string[];
1425
+ } | {
1427
1426
  type: "custom-emails";
1427
+ emails: string[];
1428
1428
  } | undefined;
1429
1429
  variables: Record<string, {} | null> | undefined;
1430
1430
  skip_deliverability_check: boolean | undefined;