@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
@@ -4,22 +4,22 @@ import { CrudTypeOf } from "../../crud";
4
4
 
5
5
  //#region src/interface/crud/email-outbox.d.ts
6
6
  declare const emailOutboxReadSchema: yup$1.MixedSchema<{
7
- id: string;
8
7
  status: "paused";
8
+ id: string;
9
9
  created_at_millis: number;
10
10
  updated_at_millis: number;
11
11
  tsx_source: string;
12
12
  theme_id: string | null;
13
13
  to: {
14
- type: "user-primary-email";
15
14
  user_id: string;
15
+ type: "user-primary-email";
16
16
  } | {
17
- emails: string[];
18
- type: "user-custom-emails";
19
17
  user_id: string;
20
- } | {
18
+ type: "user-custom-emails";
21
19
  emails: string[];
20
+ } | {
22
21
  type: "custom-emails";
22
+ emails: string[];
23
23
  };
24
24
  variables: Record<string, {} | null>;
25
25
  skip_deliverability_check: boolean;
@@ -42,22 +42,22 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
42
42
  has_rendered: boolean;
43
43
  has_delivered: boolean;
44
44
  } | {
45
- id: string;
46
45
  status: "preparing";
46
+ id: string;
47
47
  created_at_millis: number;
48
48
  updated_at_millis: number;
49
49
  tsx_source: string;
50
50
  theme_id: string | null;
51
51
  to: {
52
- type: "user-primary-email";
53
52
  user_id: string;
53
+ type: "user-primary-email";
54
54
  } | {
55
- emails: string[];
56
- type: "user-custom-emails";
57
55
  user_id: string;
58
- } | {
56
+ type: "user-custom-emails";
59
57
  emails: string[];
58
+ } | {
60
59
  type: "custom-emails";
60
+ emails: string[];
61
61
  };
62
62
  variables: Record<string, {} | null>;
63
63
  skip_deliverability_check: boolean;
@@ -80,22 +80,22 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
80
80
  has_rendered: boolean;
81
81
  has_delivered: boolean;
82
82
  } | {
83
- id: string;
84
83
  status: "rendering";
84
+ id: string;
85
85
  created_at_millis: number;
86
86
  updated_at_millis: number;
87
87
  tsx_source: string;
88
88
  theme_id: string | null;
89
89
  to: {
90
- type: "user-primary-email";
91
90
  user_id: string;
91
+ type: "user-primary-email";
92
92
  } | {
93
- emails: string[];
94
- type: "user-custom-emails";
95
93
  user_id: string;
96
- } | {
94
+ type: "user-custom-emails";
97
95
  emails: string[];
96
+ } | {
98
97
  type: "custom-emails";
98
+ emails: string[];
99
99
  };
100
100
  variables: Record<string, {} | null>;
101
101
  skip_deliverability_check: boolean;
@@ -119,22 +119,22 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
119
119
  has_delivered: boolean;
120
120
  started_rendering_at_millis: number;
121
121
  } | {
122
- id: string;
123
122
  status: "render-error";
123
+ id: string;
124
124
  created_at_millis: number;
125
125
  updated_at_millis: number;
126
126
  tsx_source: string;
127
127
  theme_id: string | null;
128
128
  to: {
129
- type: "user-primary-email";
130
129
  user_id: string;
130
+ type: "user-primary-email";
131
131
  } | {
132
- emails: string[];
133
- type: "user-custom-emails";
134
132
  user_id: string;
135
- } | {
133
+ type: "user-custom-emails";
136
134
  emails: string[];
135
+ } | {
137
136
  type: "custom-emails";
137
+ emails: string[];
138
138
  };
139
139
  variables: Record<string, {} | null>;
140
140
  skip_deliverability_check: boolean;
@@ -160,25 +160,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
160
160
  rendered_at_millis: number;
161
161
  render_error: string;
162
162
  } | {
163
- html: string | null;
164
- text: string | null;
165
- id: string;
166
163
  status: "scheduled";
164
+ id: string;
167
165
  subject: string;
168
166
  created_at_millis: number;
167
+ html: string | null;
168
+ text: string | null;
169
169
  updated_at_millis: number;
170
170
  tsx_source: string;
171
171
  theme_id: string | null;
172
172
  to: {
173
- type: "user-primary-email";
174
173
  user_id: string;
174
+ type: "user-primary-email";
175
175
  } | {
176
- emails: string[];
177
- type: "user-custom-emails";
178
176
  user_id: string;
179
- } | {
177
+ type: "user-custom-emails";
180
178
  emails: string[];
179
+ } | {
181
180
  type: "custom-emails";
181
+ emails: string[];
182
182
  };
183
183
  variables: Record<string, {} | null>;
184
184
  skip_deliverability_check: boolean;
@@ -206,25 +206,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
206
206
  is_high_priority: boolean;
207
207
  notification_category_id: string | null;
208
208
  } | {
209
- html: string | null;
210
- text: string | null;
211
- id: string;
212
209
  status: "queued";
210
+ id: string;
213
211
  subject: string;
214
212
  created_at_millis: number;
213
+ html: string | null;
214
+ text: string | null;
215
215
  updated_at_millis: number;
216
216
  tsx_source: string;
217
217
  theme_id: string | null;
218
218
  to: {
219
- type: "user-primary-email";
220
219
  user_id: string;
220
+ type: "user-primary-email";
221
221
  } | {
222
- emails: string[];
223
- type: "user-custom-emails";
224
222
  user_id: string;
225
- } | {
223
+ type: "user-custom-emails";
226
224
  emails: string[];
225
+ } | {
227
226
  type: "custom-emails";
227
+ emails: string[];
228
228
  };
229
229
  variables: Record<string, {} | null>;
230
230
  skip_deliverability_check: boolean;
@@ -252,25 +252,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
252
252
  is_high_priority: boolean;
253
253
  notification_category_id: string | null;
254
254
  } | {
255
- html: string | null;
256
- text: string | null;
257
- id: string;
258
255
  status: "sending";
256
+ id: string;
259
257
  subject: string;
260
258
  created_at_millis: number;
259
+ html: string | null;
260
+ text: string | null;
261
261
  updated_at_millis: number;
262
262
  tsx_source: string;
263
263
  theme_id: string | null;
264
264
  to: {
265
- type: "user-primary-email";
266
265
  user_id: string;
266
+ type: "user-primary-email";
267
267
  } | {
268
- emails: string[];
269
- type: "user-custom-emails";
270
268
  user_id: string;
271
- } | {
269
+ type: "user-custom-emails";
272
270
  emails: string[];
271
+ } | {
273
272
  type: "custom-emails";
273
+ emails: string[];
274
274
  };
275
275
  variables: Record<string, {} | null>;
276
276
  skip_deliverability_check: boolean;
@@ -299,25 +299,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
299
299
  notification_category_id: string | null;
300
300
  started_sending_at_millis: number;
301
301
  } | {
302
- html: string | null;
303
- text: string | null;
304
- id: string;
305
302
  status: "server-error";
303
+ id: string;
306
304
  subject: string;
307
305
  created_at_millis: number;
306
+ html: string | null;
307
+ text: string | null;
308
308
  updated_at_millis: number;
309
309
  tsx_source: string;
310
310
  theme_id: string | null;
311
311
  to: {
312
- type: "user-primary-email";
313
312
  user_id: string;
313
+ type: "user-primary-email";
314
314
  } | {
315
- emails: string[];
316
- type: "user-custom-emails";
317
315
  user_id: string;
318
- } | {
316
+ type: "user-custom-emails";
319
317
  emails: string[];
318
+ } | {
320
319
  type: "custom-emails";
320
+ emails: string[];
321
321
  };
322
322
  variables: Record<string, {} | null>;
323
323
  skip_deliverability_check: boolean;
@@ -348,31 +348,31 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
348
348
  error_at_millis: number;
349
349
  server_error: string;
350
350
  } | {
351
+ subject?: string | undefined;
351
352
  html?: string | null | undefined;
352
353
  text?: string | null | undefined;
353
- subject?: string | undefined;
354
354
  started_rendering_at_millis?: number | undefined;
355
355
  rendered_at_millis?: number | undefined;
356
356
  is_transactional?: boolean | undefined;
357
357
  is_high_priority?: boolean | undefined;
358
358
  notification_category_id?: string | null | undefined;
359
359
  started_sending_at_millis?: number | undefined;
360
- id: string;
361
360
  status: "skipped";
361
+ id: string;
362
362
  created_at_millis: number;
363
363
  updated_at_millis: number;
364
364
  tsx_source: string;
365
365
  theme_id: string | null;
366
366
  to: {
367
- type: "user-primary-email";
368
367
  user_id: string;
368
+ type: "user-primary-email";
369
369
  } | {
370
- emails: string[];
371
- type: "user-custom-emails";
372
370
  user_id: string;
373
- } | {
371
+ type: "user-custom-emails";
374
372
  emails: string[];
373
+ } | {
375
374
  type: "custom-emails";
375
+ emails: string[];
376
376
  };
377
377
  variables: Record<string, {} | null>;
378
378
  skip_deliverability_check: boolean;
@@ -398,25 +398,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
398
398
  skipped_reason: string;
399
399
  skipped_details: Record<string, {} | null>;
400
400
  } | {
401
- html: string | null;
402
- text: string | null;
403
- id: string;
404
401
  status: "bounced";
402
+ id: string;
405
403
  subject: string;
406
404
  created_at_millis: number;
405
+ html: string | null;
406
+ text: string | null;
407
407
  updated_at_millis: number;
408
408
  tsx_source: string;
409
409
  theme_id: string | null;
410
410
  to: {
411
- type: "user-primary-email";
412
411
  user_id: string;
412
+ type: "user-primary-email";
413
413
  } | {
414
- emails: string[];
415
- type: "user-custom-emails";
416
414
  user_id: string;
417
- } | {
415
+ type: "user-custom-emails";
418
416
  emails: string[];
417
+ } | {
419
418
  type: "custom-emails";
419
+ emails: string[];
420
420
  };
421
421
  variables: Record<string, {} | null>;
422
422
  skip_deliverability_check: boolean;
@@ -446,25 +446,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
446
446
  started_sending_at_millis: number;
447
447
  bounced_at_millis: number;
448
448
  } | {
449
- html: string | null;
450
- text: string | null;
451
- id: string;
452
449
  status: "delivery-delayed";
450
+ id: string;
453
451
  subject: string;
454
452
  created_at_millis: number;
453
+ html: string | null;
454
+ text: string | null;
455
455
  updated_at_millis: number;
456
456
  tsx_source: string;
457
457
  theme_id: string | null;
458
458
  to: {
459
- type: "user-primary-email";
460
459
  user_id: string;
460
+ type: "user-primary-email";
461
461
  } | {
462
- emails: string[];
463
- type: "user-custom-emails";
464
462
  user_id: string;
465
- } | {
463
+ type: "user-custom-emails";
466
464
  emails: string[];
465
+ } | {
467
466
  type: "custom-emails";
467
+ emails: string[];
468
468
  };
469
469
  variables: Record<string, {} | null>;
470
470
  skip_deliverability_check: boolean;
@@ -494,25 +494,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
494
494
  started_sending_at_millis: number;
495
495
  delivery_delayed_at_millis: number;
496
496
  } | {
497
- html: string | null;
498
- text: string | null;
499
- id: string;
500
497
  status: "sent";
498
+ id: string;
501
499
  subject: string;
502
500
  created_at_millis: number;
501
+ html: string | null;
502
+ text: string | null;
503
503
  updated_at_millis: number;
504
504
  tsx_source: string;
505
505
  theme_id: string | null;
506
506
  to: {
507
- type: "user-primary-email";
508
507
  user_id: string;
508
+ type: "user-primary-email";
509
509
  } | {
510
- emails: string[];
511
- type: "user-custom-emails";
512
510
  user_id: string;
513
- } | {
511
+ type: "user-custom-emails";
514
512
  emails: string[];
513
+ } | {
515
514
  type: "custom-emails";
515
+ emails: string[];
516
516
  };
517
517
  variables: Record<string, {} | null>;
518
518
  skip_deliverability_check: boolean;
@@ -543,25 +543,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
543
543
  delivered_at_millis: number;
544
544
  can_have_delivery_info: boolean;
545
545
  } | {
546
- html: string | null;
547
- text: string | null;
548
- id: string;
549
546
  status: "opened";
547
+ id: string;
550
548
  subject: string;
551
549
  created_at_millis: number;
550
+ html: string | null;
551
+ text: string | null;
552
552
  updated_at_millis: number;
553
553
  tsx_source: string;
554
554
  theme_id: string | null;
555
555
  to: {
556
- type: "user-primary-email";
557
556
  user_id: string;
557
+ type: "user-primary-email";
558
558
  } | {
559
- emails: string[];
560
- type: "user-custom-emails";
561
559
  user_id: string;
562
- } | {
560
+ type: "user-custom-emails";
563
561
  emails: string[];
562
+ } | {
564
563
  type: "custom-emails";
564
+ emails: string[];
565
565
  };
566
566
  variables: Record<string, {} | null>;
567
567
  skip_deliverability_check: boolean;
@@ -593,25 +593,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
593
593
  can_have_delivery_info: boolean;
594
594
  opened_at_millis: number;
595
595
  } | {
596
- html: string | null;
597
- text: string | null;
598
- id: string;
599
596
  status: "clicked";
597
+ id: string;
600
598
  subject: string;
601
599
  created_at_millis: number;
600
+ html: string | null;
601
+ text: string | null;
602
602
  updated_at_millis: number;
603
603
  tsx_source: string;
604
604
  theme_id: string | null;
605
605
  to: {
606
- type: "user-primary-email";
607
606
  user_id: string;
607
+ type: "user-primary-email";
608
608
  } | {
609
- emails: string[];
610
- type: "user-custom-emails";
611
609
  user_id: string;
612
- } | {
610
+ type: "user-custom-emails";
613
611
  emails: string[];
612
+ } | {
614
613
  type: "custom-emails";
614
+ emails: string[];
615
615
  };
616
616
  variables: Record<string, {} | null>;
617
617
  skip_deliverability_check: boolean;
@@ -643,25 +643,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
643
643
  can_have_delivery_info: boolean;
644
644
  clicked_at_millis: number;
645
645
  } | {
646
- html: string | null;
647
- text: string | null;
648
- id: string;
649
646
  status: "marked-as-spam";
647
+ id: string;
650
648
  subject: string;
651
649
  created_at_millis: number;
650
+ html: string | null;
651
+ text: string | null;
652
652
  updated_at_millis: number;
653
653
  tsx_source: string;
654
654
  theme_id: string | null;
655
655
  to: {
656
- type: "user-primary-email";
657
656
  user_id: string;
657
+ type: "user-primary-email";
658
658
  } | {
659
- emails: string[];
660
- type: "user-custom-emails";
661
659
  user_id: string;
662
- } | {
660
+ type: "user-custom-emails";
663
661
  emails: string[];
662
+ } | {
664
663
  type: "custom-emails";
664
+ emails: string[];
665
665
  };
666
666
  variables: Record<string, {} | null>;
667
667
  skip_deliverability_check: boolean;
@@ -697,15 +697,15 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
697
697
  tsx_source: string | undefined;
698
698
  theme_id: string | null | undefined;
699
699
  to: {
700
- type: "user-primary-email";
701
700
  user_id: string;
701
+ type: "user-primary-email";
702
702
  } | {
703
- emails: string[];
704
- type: "user-custom-emails";
705
703
  user_id: string;
706
- } | {
704
+ type: "user-custom-emails";
707
705
  emails: string[];
706
+ } | {
708
707
  type: "custom-emails";
708
+ emails: string[];
709
709
  } | undefined;
710
710
  variables: Record<string, {} | null> | undefined;
711
711
  skip_deliverability_check: boolean | undefined;
@@ -724,22 +724,22 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
724
724
  }, "">;
725
725
  declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
726
726
  serverReadSchema: yup$1.MixedSchema<{
727
- id: string;
728
727
  status: "paused";
728
+ id: string;
729
729
  created_at_millis: number;
730
730
  updated_at_millis: number;
731
731
  tsx_source: string;
732
732
  theme_id: string | null;
733
733
  to: {
734
- type: "user-primary-email";
735
734
  user_id: string;
735
+ type: "user-primary-email";
736
736
  } | {
737
- emails: string[];
738
- type: "user-custom-emails";
739
737
  user_id: string;
740
- } | {
738
+ type: "user-custom-emails";
741
739
  emails: string[];
740
+ } | {
742
741
  type: "custom-emails";
742
+ emails: string[];
743
743
  };
744
744
  variables: Record<string, {} | null>;
745
745
  skip_deliverability_check: boolean;
@@ -762,22 +762,22 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
762
762
  has_rendered: boolean;
763
763
  has_delivered: boolean;
764
764
  } | {
765
- id: string;
766
765
  status: "preparing";
766
+ id: string;
767
767
  created_at_millis: number;
768
768
  updated_at_millis: number;
769
769
  tsx_source: string;
770
770
  theme_id: string | null;
771
771
  to: {
772
- type: "user-primary-email";
773
772
  user_id: string;
773
+ type: "user-primary-email";
774
774
  } | {
775
- emails: string[];
776
- type: "user-custom-emails";
777
775
  user_id: string;
778
- } | {
776
+ type: "user-custom-emails";
779
777
  emails: string[];
778
+ } | {
780
779
  type: "custom-emails";
780
+ emails: string[];
781
781
  };
782
782
  variables: Record<string, {} | null>;
783
783
  skip_deliverability_check: boolean;
@@ -800,22 +800,22 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
800
800
  has_rendered: boolean;
801
801
  has_delivered: boolean;
802
802
  } | {
803
- id: string;
804
803
  status: "rendering";
804
+ id: string;
805
805
  created_at_millis: number;
806
806
  updated_at_millis: number;
807
807
  tsx_source: string;
808
808
  theme_id: string | null;
809
809
  to: {
810
- type: "user-primary-email";
811
810
  user_id: string;
811
+ type: "user-primary-email";
812
812
  } | {
813
- emails: string[];
814
- type: "user-custom-emails";
815
813
  user_id: string;
816
- } | {
814
+ type: "user-custom-emails";
817
815
  emails: string[];
816
+ } | {
818
817
  type: "custom-emails";
818
+ emails: string[];
819
819
  };
820
820
  variables: Record<string, {} | null>;
821
821
  skip_deliverability_check: boolean;
@@ -839,22 +839,22 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
839
839
  has_delivered: boolean;
840
840
  started_rendering_at_millis: number;
841
841
  } | {
842
- id: string;
843
842
  status: "render-error";
843
+ id: string;
844
844
  created_at_millis: number;
845
845
  updated_at_millis: number;
846
846
  tsx_source: string;
847
847
  theme_id: string | null;
848
848
  to: {
849
- type: "user-primary-email";
850
849
  user_id: string;
850
+ type: "user-primary-email";
851
851
  } | {
852
- emails: string[];
853
- type: "user-custom-emails";
854
852
  user_id: string;
855
- } | {
853
+ type: "user-custom-emails";
856
854
  emails: string[];
855
+ } | {
857
856
  type: "custom-emails";
857
+ emails: string[];
858
858
  };
859
859
  variables: Record<string, {} | null>;
860
860
  skip_deliverability_check: boolean;
@@ -880,25 +880,25 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
880
880
  rendered_at_millis: number;
881
881
  render_error: string;
882
882
  } | {
883
- html: string | null;
884
- text: string | null;
885
- id: string;
886
883
  status: "scheduled";
884
+ id: string;
887
885
  subject: string;
888
886
  created_at_millis: number;
887
+ html: string | null;
888
+ text: string | null;
889
889
  updated_at_millis: number;
890
890
  tsx_source: string;
891
891
  theme_id: string | null;
892
892
  to: {
893
- type: "user-primary-email";
894
893
  user_id: string;
894
+ type: "user-primary-email";
895
895
  } | {
896
- emails: string[];
897
- type: "user-custom-emails";
898
896
  user_id: string;
899
- } | {
897
+ type: "user-custom-emails";
900
898
  emails: string[];
899
+ } | {
901
900
  type: "custom-emails";
901
+ emails: string[];
902
902
  };
903
903
  variables: Record<string, {} | null>;
904
904
  skip_deliverability_check: boolean;
@@ -926,25 +926,25 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
926
926
  is_high_priority: boolean;
927
927
  notification_category_id: string | null;
928
928
  } | {
929
- html: string | null;
930
- text: string | null;
931
- id: string;
932
929
  status: "queued";
930
+ id: string;
933
931
  subject: string;
934
932
  created_at_millis: number;
933
+ html: string | null;
934
+ text: string | null;
935
935
  updated_at_millis: number;
936
936
  tsx_source: string;
937
937
  theme_id: string | null;
938
938
  to: {
939
- type: "user-primary-email";
940
939
  user_id: string;
940
+ type: "user-primary-email";
941
941
  } | {
942
- emails: string[];
943
- type: "user-custom-emails";
944
942
  user_id: string;
945
- } | {
943
+ type: "user-custom-emails";
946
944
  emails: string[];
945
+ } | {
947
946
  type: "custom-emails";
947
+ emails: string[];
948
948
  };
949
949
  variables: Record<string, {} | null>;
950
950
  skip_deliverability_check: boolean;
@@ -972,25 +972,25 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
972
972
  is_high_priority: boolean;
973
973
  notification_category_id: string | null;
974
974
  } | {
975
- html: string | null;
976
- text: string | null;
977
- id: string;
978
975
  status: "sending";
976
+ id: string;
979
977
  subject: string;
980
978
  created_at_millis: number;
979
+ html: string | null;
980
+ text: string | null;
981
981
  updated_at_millis: number;
982
982
  tsx_source: string;
983
983
  theme_id: string | null;
984
984
  to: {
985
- type: "user-primary-email";
986
985
  user_id: string;
986
+ type: "user-primary-email";
987
987
  } | {
988
- emails: string[];
989
- type: "user-custom-emails";
990
988
  user_id: string;
991
- } | {
989
+ type: "user-custom-emails";
992
990
  emails: string[];
991
+ } | {
993
992
  type: "custom-emails";
993
+ emails: string[];
994
994
  };
995
995
  variables: Record<string, {} | null>;
996
996
  skip_deliverability_check: boolean;
@@ -1019,25 +1019,25 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1019
1019
  notification_category_id: string | null;
1020
1020
  started_sending_at_millis: number;
1021
1021
  } | {
1022
- html: string | null;
1023
- text: string | null;
1024
- id: string;
1025
1022
  status: "server-error";
1023
+ id: string;
1026
1024
  subject: string;
1027
1025
  created_at_millis: number;
1026
+ html: string | null;
1027
+ text: string | null;
1028
1028
  updated_at_millis: number;
1029
1029
  tsx_source: string;
1030
1030
  theme_id: string | null;
1031
1031
  to: {
1032
- type: "user-primary-email";
1033
1032
  user_id: string;
1033
+ type: "user-primary-email";
1034
1034
  } | {
1035
- emails: string[];
1036
- type: "user-custom-emails";
1037
1035
  user_id: string;
1038
- } | {
1036
+ type: "user-custom-emails";
1039
1037
  emails: string[];
1038
+ } | {
1040
1039
  type: "custom-emails";
1040
+ emails: string[];
1041
1041
  };
1042
1042
  variables: Record<string, {} | null>;
1043
1043
  skip_deliverability_check: boolean;
@@ -1068,31 +1068,31 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1068
1068
  error_at_millis: number;
1069
1069
  server_error: string;
1070
1070
  } | {
1071
+ subject?: string | undefined;
1071
1072
  html?: string | null | undefined;
1072
1073
  text?: string | null | undefined;
1073
- subject?: string | undefined;
1074
1074
  started_rendering_at_millis?: number | undefined;
1075
1075
  rendered_at_millis?: number | undefined;
1076
1076
  is_transactional?: boolean | undefined;
1077
1077
  is_high_priority?: boolean | undefined;
1078
1078
  notification_category_id?: string | null | undefined;
1079
1079
  started_sending_at_millis?: number | undefined;
1080
- id: string;
1081
1080
  status: "skipped";
1081
+ id: string;
1082
1082
  created_at_millis: number;
1083
1083
  updated_at_millis: number;
1084
1084
  tsx_source: string;
1085
1085
  theme_id: string | null;
1086
1086
  to: {
1087
- type: "user-primary-email";
1088
1087
  user_id: string;
1088
+ type: "user-primary-email";
1089
1089
  } | {
1090
- emails: string[];
1091
- type: "user-custom-emails";
1092
1090
  user_id: string;
1093
- } | {
1091
+ type: "user-custom-emails";
1094
1092
  emails: string[];
1093
+ } | {
1095
1094
  type: "custom-emails";
1095
+ emails: string[];
1096
1096
  };
1097
1097
  variables: Record<string, {} | null>;
1098
1098
  skip_deliverability_check: boolean;
@@ -1118,25 +1118,25 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1118
1118
  skipped_reason: string;
1119
1119
  skipped_details: Record<string, {} | null>;
1120
1120
  } | {
1121
- html: string | null;
1122
- text: string | null;
1123
- id: string;
1124
1121
  status: "bounced";
1122
+ id: string;
1125
1123
  subject: string;
1126
1124
  created_at_millis: number;
1125
+ html: string | null;
1126
+ text: string | null;
1127
1127
  updated_at_millis: number;
1128
1128
  tsx_source: string;
1129
1129
  theme_id: string | null;
1130
1130
  to: {
1131
- type: "user-primary-email";
1132
1131
  user_id: string;
1132
+ type: "user-primary-email";
1133
1133
  } | {
1134
- emails: string[];
1135
- type: "user-custom-emails";
1136
1134
  user_id: string;
1137
- } | {
1135
+ type: "user-custom-emails";
1138
1136
  emails: string[];
1137
+ } | {
1139
1138
  type: "custom-emails";
1139
+ emails: string[];
1140
1140
  };
1141
1141
  variables: Record<string, {} | null>;
1142
1142
  skip_deliverability_check: boolean;
@@ -1166,25 +1166,25 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1166
1166
  started_sending_at_millis: number;
1167
1167
  bounced_at_millis: number;
1168
1168
  } | {
1169
- html: string | null;
1170
- text: string | null;
1171
- id: string;
1172
1169
  status: "delivery-delayed";
1170
+ id: string;
1173
1171
  subject: string;
1174
1172
  created_at_millis: number;
1173
+ html: string | null;
1174
+ text: string | null;
1175
1175
  updated_at_millis: number;
1176
1176
  tsx_source: string;
1177
1177
  theme_id: string | null;
1178
1178
  to: {
1179
- type: "user-primary-email";
1180
1179
  user_id: string;
1180
+ type: "user-primary-email";
1181
1181
  } | {
1182
- emails: string[];
1183
- type: "user-custom-emails";
1184
1182
  user_id: string;
1185
- } | {
1183
+ type: "user-custom-emails";
1186
1184
  emails: string[];
1185
+ } | {
1187
1186
  type: "custom-emails";
1187
+ emails: string[];
1188
1188
  };
1189
1189
  variables: Record<string, {} | null>;
1190
1190
  skip_deliverability_check: boolean;
@@ -1214,25 +1214,25 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1214
1214
  started_sending_at_millis: number;
1215
1215
  delivery_delayed_at_millis: number;
1216
1216
  } | {
1217
- html: string | null;
1218
- text: string | null;
1219
- id: string;
1220
1217
  status: "sent";
1218
+ id: string;
1221
1219
  subject: string;
1222
1220
  created_at_millis: number;
1221
+ html: string | null;
1222
+ text: string | null;
1223
1223
  updated_at_millis: number;
1224
1224
  tsx_source: string;
1225
1225
  theme_id: string | null;
1226
1226
  to: {
1227
- type: "user-primary-email";
1228
1227
  user_id: string;
1228
+ type: "user-primary-email";
1229
1229
  } | {
1230
- emails: string[];
1231
- type: "user-custom-emails";
1232
1230
  user_id: string;
1233
- } | {
1231
+ type: "user-custom-emails";
1234
1232
  emails: string[];
1233
+ } | {
1235
1234
  type: "custom-emails";
1235
+ emails: string[];
1236
1236
  };
1237
1237
  variables: Record<string, {} | null>;
1238
1238
  skip_deliverability_check: boolean;
@@ -1263,25 +1263,25 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1263
1263
  delivered_at_millis: number;
1264
1264
  can_have_delivery_info: boolean;
1265
1265
  } | {
1266
- html: string | null;
1267
- text: string | null;
1268
- id: string;
1269
1266
  status: "opened";
1267
+ id: string;
1270
1268
  subject: string;
1271
1269
  created_at_millis: number;
1270
+ html: string | null;
1271
+ text: string | null;
1272
1272
  updated_at_millis: number;
1273
1273
  tsx_source: string;
1274
1274
  theme_id: string | null;
1275
1275
  to: {
1276
- type: "user-primary-email";
1277
1276
  user_id: string;
1277
+ type: "user-primary-email";
1278
1278
  } | {
1279
- emails: string[];
1280
- type: "user-custom-emails";
1281
1279
  user_id: string;
1282
- } | {
1280
+ type: "user-custom-emails";
1283
1281
  emails: string[];
1282
+ } | {
1284
1283
  type: "custom-emails";
1284
+ emails: string[];
1285
1285
  };
1286
1286
  variables: Record<string, {} | null>;
1287
1287
  skip_deliverability_check: boolean;
@@ -1313,25 +1313,25 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1313
1313
  can_have_delivery_info: boolean;
1314
1314
  opened_at_millis: number;
1315
1315
  } | {
1316
- html: string | null;
1317
- text: string | null;
1318
- id: string;
1319
1316
  status: "clicked";
1317
+ id: string;
1320
1318
  subject: string;
1321
1319
  created_at_millis: number;
1320
+ html: string | null;
1321
+ text: string | null;
1322
1322
  updated_at_millis: number;
1323
1323
  tsx_source: string;
1324
1324
  theme_id: string | null;
1325
1325
  to: {
1326
- type: "user-primary-email";
1327
1326
  user_id: string;
1327
+ type: "user-primary-email";
1328
1328
  } | {
1329
- emails: string[];
1330
- type: "user-custom-emails";
1331
1329
  user_id: string;
1332
- } | {
1330
+ type: "user-custom-emails";
1333
1331
  emails: string[];
1332
+ } | {
1334
1333
  type: "custom-emails";
1334
+ emails: string[];
1335
1335
  };
1336
1336
  variables: Record<string, {} | null>;
1337
1337
  skip_deliverability_check: boolean;
@@ -1363,25 +1363,25 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1363
1363
  can_have_delivery_info: boolean;
1364
1364
  clicked_at_millis: number;
1365
1365
  } | {
1366
- html: string | null;
1367
- text: string | null;
1368
- id: string;
1369
1366
  status: "marked-as-spam";
1367
+ id: string;
1370
1368
  subject: string;
1371
1369
  created_at_millis: number;
1370
+ html: string | null;
1371
+ text: string | null;
1372
1372
  updated_at_millis: number;
1373
1373
  tsx_source: string;
1374
1374
  theme_id: string | null;
1375
1375
  to: {
1376
- type: "user-primary-email";
1377
1376
  user_id: string;
1377
+ type: "user-primary-email";
1378
1378
  } | {
1379
- emails: string[];
1380
- type: "user-custom-emails";
1381
1379
  user_id: string;
1382
- } | {
1380
+ type: "user-custom-emails";
1383
1381
  emails: string[];
1382
+ } | {
1384
1383
  type: "custom-emails";
1384
+ emails: string[];
1385
1385
  };
1386
1386
  variables: Record<string, {} | null>;
1387
1387
  skip_deliverability_check: boolean;
@@ -1417,15 +1417,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
1417
1417
  tsx_source: string | undefined;
1418
1418
  theme_id: string | null | undefined;
1419
1419
  to: {
1420
- type: "user-primary-email";
1421
1420
  user_id: string;
1421
+ type: "user-primary-email";
1422
1422
  } | {
1423
- emails: string[];
1424
- type: "user-custom-emails";
1425
1423
  user_id: string;
1426
- } | {
1424
+ type: "user-custom-emails";
1427
1425
  emails: string[];
1426
+ } | {
1428
1427
  type: "custom-emails";
1428
+ emails: string[];
1429
1429
  } | undefined;
1430
1430
  variables: Record<string, {} | null> | undefined;
1431
1431
  skip_deliverability_check: boolean | undefined;