nuxt-backend 0.1.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2985) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +261 -657
  3. package/dist/analyze/types.js +4 -0
  4. package/dist/capabilities/detect.js +217 -0
  5. package/dist/capabilities/health.js +29 -0
  6. package/dist/capabilities/registry.js +205 -0
  7. package/dist/capabilities/status.js +61 -0
  8. package/dist/capabilities/types.js +19 -0
  9. package/dist/chunks/catalog.mjs +39 -0
  10. package/dist/chunks/doctor.mjs +3024 -0
  11. package/dist/chunks/email-previews.mjs +77 -0
  12. package/dist/chunks/health.mjs +35 -0
  13. package/dist/chunks/index.mjs +234 -0
  14. package/dist/chunks/install.mjs +63 -0
  15. package/dist/chunks/report.mjs +150 -0
  16. package/dist/chunks/run.mjs +318 -0
  17. package/dist/chunks/server.mjs +1012 -0
  18. package/dist/cli.d.mts +1 -0
  19. package/dist/cli.mjs +3649 -0
  20. package/dist/convex/access-tickets.d.ts +134 -0
  21. package/dist/convex/access-tickets.d.ts.map +1 -0
  22. package/dist/convex/access-tickets.js +104 -0
  23. package/dist/convex/access-tickets.js.map +1 -0
  24. package/dist/convex/account-data.d.ts +455 -0
  25. package/dist/convex/account-data.d.ts.map +1 -0
  26. package/dist/convex/account-data.js +454 -0
  27. package/dist/convex/account-data.js.map +1 -0
  28. package/dist/convex/activation-rules.d.ts +89 -0
  29. package/dist/convex/activation-rules.d.ts.map +1 -0
  30. package/dist/convex/activation-rules.js +85 -0
  31. package/dist/convex/activation-rules.js.map +1 -0
  32. package/dist/convex/announcements.d.ts +50 -0
  33. package/dist/convex/announcements.d.ts.map +1 -0
  34. package/dist/convex/announcements.js +26 -0
  35. package/dist/convex/announcements.js.map +1 -0
  36. package/dist/convex/app.d.ts +107 -0
  37. package/dist/convex/app.d.ts.map +1 -0
  38. package/dist/convex/app.js +130 -0
  39. package/dist/convex/app.js.map +1 -0
  40. package/dist/convex/auth-secrets.d.ts +70 -0
  41. package/dist/convex/auth-secrets.d.ts.map +1 -0
  42. package/dist/convex/auth-secrets.js +102 -0
  43. package/dist/convex/auth-secrets.js.map +1 -0
  44. package/dist/convex/auth.config.d.ts +25 -1
  45. package/dist/convex/auth.config.d.ts.map +1 -1
  46. package/dist/convex/auth.config.js +20 -2
  47. package/dist/convex/auth.config.js.map +1 -1
  48. package/dist/convex/bytes.d.ts +3 -0
  49. package/dist/convex/bytes.d.ts.map +1 -0
  50. package/dist/convex/bytes.js +11 -0
  51. package/dist/convex/bytes.js.map +1 -0
  52. package/dist/convex/c2pa/cbor.d.ts +12 -0
  53. package/dist/convex/c2pa/cbor.d.ts.map +1 -0
  54. package/dist/convex/c2pa/cbor.js +81 -0
  55. package/dist/convex/c2pa/cbor.js.map +1 -0
  56. package/dist/convex/c2pa/der.d.ts +23 -0
  57. package/dist/convex/c2pa/der.d.ts.map +1 -0
  58. package/dist/convex/c2pa/der.js +88 -0
  59. package/dist/convex/c2pa/der.js.map +1 -0
  60. package/dist/convex/c2pa/formats.d.ts +25 -0
  61. package/dist/convex/c2pa/formats.d.ts.map +1 -0
  62. package/dist/convex/c2pa/formats.js +276 -0
  63. package/dist/convex/c2pa/formats.js.map +1 -0
  64. package/dist/convex/c2pa/jumbf.d.ts +16 -0
  65. package/dist/convex/c2pa/jumbf.d.ts.map +1 -0
  66. package/dist/convex/c2pa/jumbf.js +41 -0
  67. package/dist/convex/c2pa/jumbf.js.map +1 -0
  68. package/dist/convex/c2pa/manifest.d.ts +39 -0
  69. package/dist/convex/c2pa/manifest.d.ts.map +1 -0
  70. package/dist/convex/c2pa/manifest.js +161 -0
  71. package/dist/convex/c2pa/manifest.js.map +1 -0
  72. package/dist/convex/catalog.d.ts +481 -0
  73. package/dist/convex/catalog.d.ts.map +1 -0
  74. package/dist/convex/catalog.js +341 -0
  75. package/dist/convex/catalog.js.map +1 -0
  76. package/dist/convex/client/age-gate.d.ts +38 -0
  77. package/dist/convex/client/age-gate.d.ts.map +1 -0
  78. package/dist/convex/client/age-gate.js +129 -0
  79. package/dist/convex/client/age-gate.js.map +1 -0
  80. package/dist/convex/client/audit.d.ts +36 -0
  81. package/dist/convex/client/audit.d.ts.map +1 -0
  82. package/dist/convex/client/audit.js +278 -0
  83. package/dist/convex/client/audit.js.map +1 -0
  84. package/dist/convex/client/auth-types.d.ts +342 -0
  85. package/dist/convex/client/auth-types.d.ts.map +1 -0
  86. package/dist/convex/client/auth-types.js +2 -0
  87. package/dist/convex/client/auth-types.js.map +1 -0
  88. package/dist/convex/client/better-auth-options.d.ts +21 -0
  89. package/dist/convex/client/better-auth-options.d.ts.map +1 -0
  90. package/dist/convex/client/better-auth-options.js +478 -0
  91. package/dist/convex/client/better-auth-options.js.map +1 -0
  92. package/dist/convex/client/client-address.d.ts +21 -0
  93. package/dist/convex/client/client-address.d.ts.map +1 -0
  94. package/dist/convex/client/client-address.js +37 -0
  95. package/dist/convex/client/client-address.js.map +1 -0
  96. package/dist/convex/client/code-binding.d.ts +23 -0
  97. package/dist/convex/client/code-binding.d.ts.map +1 -0
  98. package/dist/convex/client/code-binding.js +100 -0
  99. package/dist/convex/client/code-binding.js.map +1 -0
  100. package/dist/convex/client/codes.d.ts +26 -0
  101. package/dist/convex/client/codes.d.ts.map +1 -0
  102. package/dist/convex/client/codes.js +46 -0
  103. package/dist/convex/client/codes.js.map +1 -0
  104. package/dist/convex/client/component.d.ts +185 -0
  105. package/dist/convex/client/component.d.ts.map +1 -0
  106. package/dist/convex/client/component.js +139 -0
  107. package/dist/convex/client/component.js.map +1 -0
  108. package/dist/convex/client/devices.d.ts +2 -0
  109. package/dist/convex/client/devices.d.ts.map +1 -0
  110. package/dist/convex/client/devices.js +188 -0
  111. package/dist/convex/client/devices.js.map +1 -0
  112. package/dist/convex/client/email.d.ts +10 -0
  113. package/dist/convex/client/email.d.ts.map +1 -0
  114. package/dist/convex/client/email.js +78 -0
  115. package/dist/convex/client/email.js.map +1 -0
  116. package/dist/convex/client/entities.d.ts +22 -0
  117. package/dist/convex/client/entities.d.ts.map +1 -0
  118. package/dist/convex/client/entities.js +82 -0
  119. package/dist/convex/client/entities.js.map +1 -0
  120. package/dist/convex/client/guards.d.ts +121 -0
  121. package/dist/convex/client/guards.d.ts.map +1 -0
  122. package/dist/convex/client/guards.js +874 -0
  123. package/dist/convex/client/guards.js.map +1 -0
  124. package/dist/convex/client/guest-claim.d.ts +21 -0
  125. package/dist/convex/client/guest-claim.d.ts.map +1 -0
  126. package/dist/convex/client/guest-claim.js +45 -0
  127. package/dist/convex/client/guest-claim.js.map +1 -0
  128. package/dist/convex/client/hooks.d.ts +23 -0
  129. package/dist/convex/client/hooks.d.ts.map +1 -0
  130. package/dist/convex/client/hooks.js +69 -0
  131. package/dist/convex/client/hooks.js.map +1 -0
  132. package/dist/convex/client/identity.d.ts +3 -0
  133. package/dist/convex/client/identity.d.ts.map +1 -0
  134. package/dist/convex/client/identity.js +8 -0
  135. package/dist/convex/client/identity.js.map +1 -0
  136. package/dist/convex/client/index.d.ts +1847 -11538
  137. package/dist/convex/client/index.d.ts.map +1 -1
  138. package/dist/convex/client/index.js +226 -200
  139. package/dist/convex/client/index.js.map +1 -1
  140. package/dist/convex/client/launch-gate.d.ts +69 -0
  141. package/dist/convex/client/launch-gate.d.ts.map +1 -0
  142. package/dist/convex/client/launch-gate.js +212 -0
  143. package/dist/convex/client/launch-gate.js.map +1 -0
  144. package/dist/convex/client/notices.d.ts +11 -0
  145. package/dist/convex/client/notices.d.ts.map +1 -0
  146. package/dist/convex/client/notices.js +38 -0
  147. package/dist/convex/client/notices.js.map +1 -0
  148. package/dist/convex/client/passkey-only.d.ts +86 -0
  149. package/dist/convex/client/passkey-only.d.ts.map +1 -0
  150. package/dist/convex/client/passkey-only.js +339 -0
  151. package/dist/convex/client/passkey-only.js.map +1 -0
  152. package/dist/convex/client/plugins.d.ts +1686 -0
  153. package/dist/convex/client/plugins.d.ts.map +1 -0
  154. package/dist/convex/client/plugins.js +185 -0
  155. package/dist/convex/client/plugins.js.map +1 -0
  156. package/dist/convex/client/refusals.d.ts +16 -0
  157. package/dist/convex/client/refusals.d.ts.map +1 -0
  158. package/dist/convex/client/refusals.js +32 -0
  159. package/dist/convex/client/refusals.js.map +1 -0
  160. package/dist/convex/client/request-origin.d.ts +13 -0
  161. package/dist/convex/client/request-origin.d.ts.map +1 -0
  162. package/dist/convex/client/request-origin.js +99 -0
  163. package/dist/convex/client/request-origin.js.map +1 -0
  164. package/dist/convex/client/request-session.d.ts +33 -0
  165. package/dist/convex/client/request-session.d.ts.map +1 -0
  166. package/dist/convex/client/request-session.js +62 -0
  167. package/dist/convex/client/request-session.js.map +1 -0
  168. package/dist/convex/client/runtime.d.ts +93 -0
  169. package/dist/convex/client/runtime.d.ts.map +1 -0
  170. package/dist/convex/client/runtime.js +10 -0
  171. package/dist/convex/client/runtime.js.map +1 -0
  172. package/dist/convex/client/secret-rotation.d.ts +16 -0
  173. package/dist/convex/client/secret-rotation.d.ts.map +1 -0
  174. package/dist/convex/client/secret-rotation.js +113 -0
  175. package/dist/convex/client/secret-rotation.js.map +1 -0
  176. package/dist/convex/client/sessions.d.ts +28 -0
  177. package/dist/convex/client/sessions.d.ts.map +1 -0
  178. package/dist/convex/client/sessions.js +36 -0
  179. package/dist/convex/client/sessions.js.map +1 -0
  180. package/dist/convex/client/workspaces.d.ts +40 -0
  181. package/dist/convex/client/workspaces.d.ts.map +1 -0
  182. package/dist/convex/client/workspaces.js +110 -0
  183. package/dist/convex/client/workspaces.js.map +1 -0
  184. package/dist/convex/components/backend/_generated/api.d.ts +116 -0
  185. package/dist/convex/components/backend/_generated/api.d.ts.map +1 -0
  186. package/dist/convex/components/backend/_generated/api.js.map +1 -0
  187. package/dist/convex/components/backend/_generated/component.d.ts +3881 -0
  188. package/dist/convex/components/backend/_generated/component.d.ts.map +1 -0
  189. package/dist/convex/components/backend/_generated/component.js.map +1 -0
  190. package/dist/convex/components/backend/_generated/dataModel.d.ts.map +1 -0
  191. package/dist/convex/components/backend/_generated/dataModel.js.map +1 -0
  192. package/dist/convex/components/backend/_generated/server.d.ts +138 -0
  193. package/dist/convex/components/backend/_generated/server.d.ts.map +1 -0
  194. package/dist/convex/components/backend/_generated/server.js +80 -0
  195. package/dist/convex/components/backend/_generated/server.js.map +1 -0
  196. package/dist/convex/components/backend/access.d.ts +188 -0
  197. package/dist/convex/components/backend/access.d.ts.map +1 -0
  198. package/dist/convex/components/backend/access.js +428 -0
  199. package/dist/convex/components/backend/access.js.map +1 -0
  200. package/dist/convex/components/backend/account.d.ts +626 -0
  201. package/dist/convex/components/backend/account.d.ts.map +1 -0
  202. package/dist/convex/components/backend/account.js +1017 -0
  203. package/dist/convex/components/backend/account.js.map +1 -0
  204. package/dist/convex/components/backend/adapter.d.ts.map +1 -0
  205. package/dist/convex/components/backend/adapter.js +45 -0
  206. package/dist/convex/components/backend/adapter.js.map +1 -0
  207. package/dist/convex/components/backend/ai.d.ts +218 -0
  208. package/dist/convex/components/backend/ai.d.ts.map +1 -0
  209. package/dist/convex/components/backend/ai.js +348 -0
  210. package/dist/convex/components/backend/ai.js.map +1 -0
  211. package/dist/convex/components/backend/alerts.d.ts +87 -0
  212. package/dist/convex/components/backend/alerts.d.ts.map +1 -0
  213. package/dist/convex/components/backend/alerts.js +182 -0
  214. package/dist/convex/components/backend/alerts.js.map +1 -0
  215. package/dist/convex/components/backend/announcements.d.ts +155 -0
  216. package/dist/convex/components/backend/announcements.d.ts.map +1 -0
  217. package/dist/convex/components/backend/announcements.js +253 -0
  218. package/dist/convex/components/backend/announcements.js.map +1 -0
  219. package/dist/convex/components/backend/audit.d.ts +185 -0
  220. package/dist/convex/components/backend/audit.d.ts.map +1 -0
  221. package/dist/convex/components/backend/audit.js +315 -0
  222. package/dist/convex/components/backend/audit.js.map +1 -0
  223. package/dist/convex/components/backend/billing.d.ts +345 -0
  224. package/dist/convex/components/backend/billing.d.ts.map +1 -0
  225. package/dist/convex/components/backend/billing.js +720 -0
  226. package/dist/convex/components/backend/billing.js.map +1 -0
  227. package/dist/convex/components/backend/consents.d.ts +121 -0
  228. package/dist/convex/components/backend/consents.d.ts.map +1 -0
  229. package/dist/convex/components/backend/consents.js +149 -0
  230. package/dist/convex/components/backend/consents.js.map +1 -0
  231. package/dist/convex/components/backend/convex.config.d.ts +60 -0
  232. package/dist/convex/components/backend/convex.config.d.ts.map +1 -0
  233. package/dist/convex/components/backend/convex.config.js +73 -0
  234. package/dist/convex/components/backend/convex.config.js.map +1 -0
  235. package/dist/convex/components/backend/costs.d.ts +130 -0
  236. package/dist/convex/components/backend/costs.d.ts.map +1 -0
  237. package/dist/convex/components/backend/costs.js +260 -0
  238. package/dist/convex/components/backend/costs.js.map +1 -0
  239. package/dist/convex/components/backend/crons.d.ts +3 -0
  240. package/dist/convex/components/backend/crons.d.ts.map +1 -0
  241. package/dist/convex/components/backend/crons.js +22 -0
  242. package/dist/convex/components/backend/crons.js.map +1 -0
  243. package/dist/convex/components/backend/devices.d.ts +67 -0
  244. package/dist/convex/components/backend/devices.d.ts.map +1 -0
  245. package/dist/convex/components/backend/devices.js +184 -0
  246. package/dist/convex/components/backend/devices.js.map +1 -0
  247. package/dist/convex/components/backend/email.d.ts +304 -0
  248. package/dist/convex/components/backend/email.d.ts.map +1 -0
  249. package/dist/convex/components/backend/email.js +628 -0
  250. package/dist/convex/components/backend/email.js.map +1 -0
  251. package/dist/convex/components/backend/erasures.d.ts +41 -0
  252. package/dist/convex/components/backend/erasures.d.ts.map +1 -0
  253. package/dist/convex/components/backend/erasures.js +70 -0
  254. package/dist/convex/components/backend/erasures.js.map +1 -0
  255. package/dist/convex/components/backend/flags.d.ts +56 -0
  256. package/dist/convex/components/backend/flags.d.ts.map +1 -0
  257. package/dist/convex/components/backend/flags.js +81 -0
  258. package/dist/convex/components/backend/flags.js.map +1 -0
  259. package/dist/convex/components/backend/funnel.d.ts +452 -0
  260. package/dist/convex/components/backend/funnel.d.ts.map +1 -0
  261. package/dist/convex/components/backend/funnel.js +525 -0
  262. package/dist/convex/components/backend/funnel.js.map +1 -0
  263. package/dist/convex/components/backend/gifts.d.ts +438 -0
  264. package/dist/convex/components/backend/gifts.d.ts.map +1 -0
  265. package/dist/convex/components/backend/gifts.js +716 -0
  266. package/dist/convex/components/backend/gifts.js.map +1 -0
  267. package/dist/convex/components/backend/inbound.d.ts +121 -0
  268. package/dist/convex/components/backend/inbound.d.ts.map +1 -0
  269. package/dist/convex/components/backend/inbound.js +367 -0
  270. package/dist/convex/components/backend/inbound.js.map +1 -0
  271. package/dist/convex/components/backend/jobs.d.ts +785 -0
  272. package/dist/convex/components/backend/jobs.d.ts.map +1 -0
  273. package/dist/convex/components/backend/jobs.js +912 -0
  274. package/dist/convex/components/backend/jobs.js.map +1 -0
  275. package/dist/convex/components/backend/keys.d.ts +9 -0
  276. package/dist/convex/components/backend/keys.d.ts.map +1 -0
  277. package/dist/convex/components/backend/keys.js +49 -0
  278. package/dist/convex/components/backend/keys.js.map +1 -0
  279. package/dist/convex/components/backend/lifecycle.d.ts +123 -0
  280. package/dist/convex/components/backend/lifecycle.d.ts.map +1 -0
  281. package/dist/convex/components/backend/lifecycle.js +341 -0
  282. package/dist/convex/components/backend/lifecycle.js.map +1 -0
  283. package/dist/convex/components/backend/lifecycleActivity.d.ts +9 -0
  284. package/dist/convex/components/backend/lifecycleActivity.d.ts.map +1 -0
  285. package/dist/convex/components/backend/lifecycleActivity.js +31 -0
  286. package/dist/convex/components/backend/lifecycleActivity.js.map +1 -0
  287. package/dist/convex/components/backend/maintenance.d.ts +115 -0
  288. package/dist/convex/components/backend/maintenance.d.ts.map +1 -0
  289. package/dist/convex/components/backend/maintenance.js +428 -0
  290. package/dist/convex/components/backend/maintenance.js.map +1 -0
  291. package/dist/convex/components/backend/migrations.d.ts +47 -0
  292. package/dist/convex/components/backend/migrations.d.ts.map +1 -0
  293. package/dist/convex/components/backend/migrations.js +115 -0
  294. package/dist/convex/components/backend/migrations.js.map +1 -0
  295. package/dist/convex/components/backend/monitoring.d.ts +29 -0
  296. package/dist/convex/components/backend/monitoring.d.ts.map +1 -0
  297. package/dist/convex/components/backend/monitoring.js +56 -0
  298. package/dist/convex/components/backend/monitoring.js.map +1 -0
  299. package/dist/convex/components/backend/notifications.d.ts +270 -0
  300. package/dist/convex/components/backend/notifications.d.ts.map +1 -0
  301. package/dist/convex/components/backend/notifications.js +460 -0
  302. package/dist/convex/components/backend/notifications.js.map +1 -0
  303. package/dist/convex/components/backend/onboarding.d.ts +16 -0
  304. package/dist/convex/components/backend/onboarding.d.ts.map +1 -0
  305. package/dist/convex/components/backend/onboarding.js +51 -0
  306. package/dist/convex/components/backend/onboarding.js.map +1 -0
  307. package/dist/convex/components/backend/parties.d.ts +39 -0
  308. package/dist/convex/components/backend/parties.d.ts.map +1 -0
  309. package/dist/convex/components/backend/parties.js +66 -0
  310. package/dist/convex/components/backend/parties.js.map +1 -0
  311. package/dist/convex/components/backend/posture.d.ts +3 -0
  312. package/dist/convex/components/backend/posture.d.ts.map +1 -0
  313. package/dist/convex/components/backend/posture.js +33 -0
  314. package/dist/convex/components/backend/posture.js.map +1 -0
  315. package/dist/convex/components/backend/preferences.d.ts +343 -0
  316. package/dist/convex/components/backend/preferences.d.ts.map +1 -0
  317. package/dist/convex/components/backend/preferences.js +684 -0
  318. package/dist/convex/components/backend/preferences.js.map +1 -0
  319. package/dist/convex/components/backend/push.d.ts +56 -0
  320. package/dist/convex/components/backend/push.d.ts.map +1 -0
  321. package/dist/convex/components/backend/push.js +91 -0
  322. package/dist/convex/components/backend/push.js.map +1 -0
  323. package/dist/convex/components/backend/referrals.d.ts +277 -0
  324. package/dist/convex/components/backend/referrals.d.ts.map +1 -0
  325. package/dist/convex/components/backend/referrals.js +708 -0
  326. package/dist/convex/components/backend/referrals.js.map +1 -0
  327. package/dist/convex/components/backend/reports.d.ts +218 -0
  328. package/dist/convex/components/backend/reports.d.ts.map +1 -0
  329. package/dist/convex/components/backend/reports.js +598 -0
  330. package/dist/convex/components/backend/reports.js.map +1 -0
  331. package/dist/convex/components/backend/schema.d.ts +7078 -0
  332. package/dist/convex/components/backend/schema.d.ts.map +1 -0
  333. package/dist/convex/components/backend/schema.js +2091 -0
  334. package/dist/convex/components/backend/schema.js.map +1 -0
  335. package/dist/convex/components/backend/storage.d.ts +236 -0
  336. package/dist/convex/components/backend/storage.d.ts.map +1 -0
  337. package/dist/convex/components/backend/storage.js +679 -0
  338. package/dist/convex/components/backend/storage.js.map +1 -0
  339. package/dist/convex/components/backend/subscriptions.d.ts +185 -0
  340. package/dist/convex/components/backend/subscriptions.d.ts.map +1 -0
  341. package/dist/convex/components/backend/subscriptions.js +230 -0
  342. package/dist/convex/components/backend/subscriptions.js.map +1 -0
  343. package/dist/convex/components/backend/suppressions.d.ts +68 -0
  344. package/dist/convex/components/backend/suppressions.d.ts.map +1 -0
  345. package/dist/convex/components/backend/suppressions.js +107 -0
  346. package/dist/convex/components/backend/suppressions.js.map +1 -0
  347. package/dist/convex/components/backend/waitlist.d.ts +202 -0
  348. package/dist/convex/components/backend/waitlist.d.ts.map +1 -0
  349. package/dist/convex/components/backend/waitlist.js +693 -0
  350. package/dist/convex/components/backend/waitlist.js.map +1 -0
  351. package/dist/convex/components/backend/wake.d.ts +2 -0
  352. package/dist/convex/components/backend/wake.d.ts.map +1 -0
  353. package/dist/convex/components/backend/wake.js +14 -0
  354. package/dist/convex/components/backend/wake.js.map +1 -0
  355. package/dist/convex/components/backend/webhooks.d.ts +63 -0
  356. package/dist/convex/components/backend/webhooks.d.ts.map +1 -0
  357. package/dist/convex/components/backend/webhooks.js +265 -0
  358. package/dist/convex/components/backend/webhooks.js.map +1 -0
  359. package/dist/convex/consent-rules.d.ts +70 -0
  360. package/dist/convex/consent-rules.d.ts.map +1 -0
  361. package/dist/convex/consent-rules.js +108 -0
  362. package/dist/convex/consent-rules.js.map +1 -0
  363. package/dist/convex/constants.d.ts +176 -0
  364. package/dist/convex/constants.d.ts.map +1 -0
  365. package/dist/convex/constants.js +184 -0
  366. package/dist/convex/constants.js.map +1 -0
  367. package/dist/convex/delivery.d.ts +39 -0
  368. package/dist/convex/delivery.d.ts.map +1 -0
  369. package/dist/convex/delivery.js +71 -0
  370. package/dist/convex/delivery.js.map +1 -0
  371. package/dist/convex/email-blocks.d.ts +35 -0
  372. package/dist/convex/email-blocks.d.ts.map +1 -0
  373. package/dist/convex/email-blocks.js +79 -0
  374. package/dist/convex/email-blocks.js.map +1 -0
  375. package/dist/convex/email-helpers.d.ts +44 -0
  376. package/dist/convex/email-helpers.d.ts.map +1 -0
  377. package/dist/convex/email-helpers.js +87 -0
  378. package/dist/convex/email-helpers.js.map +1 -0
  379. package/dist/convex/email-html.d.ts +14 -0
  380. package/dist/convex/email-html.d.ts.map +1 -0
  381. package/dist/convex/email-html.js +18 -0
  382. package/dist/convex/email-html.js.map +1 -0
  383. package/dist/convex/email-posture.d.ts +78 -0
  384. package/dist/convex/email-posture.d.ts.map +1 -0
  385. package/dist/convex/email-posture.js +151 -0
  386. package/dist/convex/email-posture.js.map +1 -0
  387. package/dist/convex/email-preferences.d.ts +163 -0
  388. package/dist/convex/email-preferences.d.ts.map +1 -0
  389. package/dist/convex/email-preferences.js +230 -0
  390. package/dist/convex/email-preferences.js.map +1 -0
  391. package/dist/convex/email-scheme.d.ts +12 -0
  392. package/dist/convex/email-scheme.d.ts.map +1 -0
  393. package/dist/convex/email-scheme.js +17 -0
  394. package/dist/convex/email-scheme.js.map +1 -0
  395. package/dist/convex/email-templates.d.ts +533 -0
  396. package/dist/convex/email-templates.d.ts.map +1 -0
  397. package/dist/convex/email-templates.js +480 -0
  398. package/dist/convex/email-templates.js.map +1 -0
  399. package/dist/convex/email-theme.d.ts +63 -0
  400. package/dist/convex/email-theme.d.ts.map +1 -0
  401. package/dist/convex/email-theme.js +130 -0
  402. package/dist/convex/email-theme.js.map +1 -0
  403. package/dist/convex/email-validators.d.ts +37 -0
  404. package/dist/convex/email-validators.d.ts.map +1 -0
  405. package/dist/convex/email-validators.js +26 -0
  406. package/dist/convex/email-validators.js.map +1 -0
  407. package/dist/convex/emails/appeal-decided.d.ts +4 -0
  408. package/dist/convex/emails/appeal-decided.d.ts.map +1 -0
  409. package/dist/convex/emails/appeal-decided.js +15 -0
  410. package/dist/convex/emails/appeal-decided.js.map +1 -0
  411. package/dist/convex/emails/content-restricted.d.ts +9 -0
  412. package/dist/convex/emails/content-restricted.d.ts.map +1 -0
  413. package/dist/convex/emails/content-restricted.js +28 -0
  414. package/dist/convex/emails/content-restricted.js.map +1 -0
  415. package/dist/convex/emails/deletion-canceled.d.ts +4 -0
  416. package/dist/convex/emails/deletion-canceled.d.ts.map +1 -0
  417. package/dist/convex/emails/deletion-canceled.js +7 -0
  418. package/dist/convex/emails/deletion-canceled.js.map +1 -0
  419. package/dist/convex/emails/deletion-scheduled.d.ts +4 -0
  420. package/dist/convex/emails/deletion-scheduled.d.ts.map +1 -0
  421. package/dist/convex/emails/deletion-scheduled.js +17 -0
  422. package/dist/convex/emails/deletion-scheduled.js.map +1 -0
  423. package/dist/convex/emails/email-changed.d.ts +4 -0
  424. package/dist/convex/emails/email-changed.d.ts.map +1 -0
  425. package/dist/convex/emails/email-changed.js +12 -0
  426. package/dist/convex/emails/email-changed.js.map +1 -0
  427. package/dist/convex/emails/gift-pass-ending.d.ts +4 -0
  428. package/dist/convex/emails/gift-pass-ending.d.ts.map +1 -0
  429. package/dist/convex/emails/gift-pass-ending.js +17 -0
  430. package/dist/convex/emails/gift-pass-ending.js.map +1 -0
  431. package/dist/convex/emails/gift.d.ts +4 -0
  432. package/dist/convex/emails/gift.d.ts.map +1 -0
  433. package/dist/convex/emails/gift.js +17 -0
  434. package/dist/convex/emails/gift.js.map +1 -0
  435. package/dist/convex/emails/invite.d.ts +9 -0
  436. package/dist/convex/emails/invite.d.ts.map +1 -0
  437. package/dist/convex/emails/invite.js +26 -0
  438. package/dist/convex/emails/invite.js.map +1 -0
  439. package/dist/convex/emails/new-device.d.ts +8 -0
  440. package/dist/convex/emails/new-device.d.ts.map +1 -0
  441. package/dist/convex/emails/new-device.js +20 -0
  442. package/dist/convex/emails/new-device.js.map +1 -0
  443. package/dist/convex/emails/notice-decided.d.ts +4 -0
  444. package/dist/convex/emails/notice-decided.d.ts.map +1 -0
  445. package/dist/convex/emails/notice-decided.js +15 -0
  446. package/dist/convex/emails/notice-decided.js.map +1 -0
  447. package/dist/convex/emails/notice-received.d.ts +4 -0
  448. package/dist/convex/emails/notice-received.d.ts.map +1 -0
  449. package/dist/convex/emails/notice-received.js +14 -0
  450. package/dist/convex/emails/notice-received.js.map +1 -0
  451. package/dist/convex/emails/otp.d.ts +10 -0
  452. package/dist/convex/emails/otp.d.ts.map +1 -0
  453. package/dist/convex/emails/otp.js +47 -0
  454. package/dist/convex/emails/otp.js.map +1 -0
  455. package/dist/convex/emails/passkey-recovered.d.ts +8 -0
  456. package/dist/convex/emails/passkey-recovered.d.ts.map +1 -0
  457. package/dist/convex/emails/passkey-recovered.js +20 -0
  458. package/dist/convex/emails/passkey-recovered.js.map +1 -0
  459. package/dist/convex/emails/renewal-reminder.d.ts +4 -0
  460. package/dist/convex/emails/renewal-reminder.d.ts.map +1 -0
  461. package/dist/convex/emails/renewal-reminder.js +19 -0
  462. package/dist/convex/emails/renewal-reminder.js.map +1 -0
  463. package/dist/convex/emails/topic-confirmation.d.ts +4 -0
  464. package/dist/convex/emails/topic-confirmation.d.ts.map +1 -0
  465. package/dist/convex/emails/topic-confirmation.js +16 -0
  466. package/dist/convex/emails/topic-confirmation.js.map +1 -0
  467. package/dist/convex/emails/waitlist-admitted.d.ts +4 -0
  468. package/dist/convex/emails/waitlist-admitted.d.ts.map +1 -0
  469. package/dist/convex/emails/waitlist-admitted.js +15 -0
  470. package/dist/convex/emails/waitlist-admitted.js.map +1 -0
  471. package/dist/convex/emails/waitlist-confirmation.d.ts +4 -0
  472. package/dist/convex/emails/waitlist-confirmation.d.ts.map +1 -0
  473. package/dist/convex/emails/waitlist-confirmation.js +18 -0
  474. package/dist/convex/emails/waitlist-confirmation.js.map +1 -0
  475. package/dist/convex/emails/welcome.d.ts +4 -0
  476. package/dist/convex/emails/welcome.d.ts.map +1 -0
  477. package/dist/convex/emails/welcome.js +14 -0
  478. package/dist/convex/emails/welcome.js.map +1 -0
  479. package/dist/convex/emails/withdrawal-receipt.d.ts +4 -0
  480. package/dist/convex/emails/withdrawal-receipt.d.ts.map +1 -0
  481. package/dist/convex/emails/withdrawal-receipt.js +15 -0
  482. package/dist/convex/emails/withdrawal-receipt.js.map +1 -0
  483. package/dist/convex/environment.d.ts +43 -0
  484. package/dist/convex/environment.d.ts.map +1 -0
  485. package/dist/convex/environment.js +64 -0
  486. package/dist/convex/environment.js.map +1 -0
  487. package/dist/convex/errors.d.ts +297 -0
  488. package/dist/convex/errors.d.ts.map +1 -0
  489. package/dist/convex/errors.js +382 -0
  490. package/dist/convex/errors.js.map +1 -0
  491. package/dist/convex/events.d.ts +875 -0
  492. package/dist/convex/events.d.ts.map +1 -0
  493. package/dist/convex/events.js +717 -0
  494. package/dist/convex/events.js.map +1 -0
  495. package/dist/convex/files.d.ts +57 -0
  496. package/dist/convex/files.d.ts.map +1 -0
  497. package/dist/convex/files.js +415 -0
  498. package/dist/convex/files.js.map +1 -0
  499. package/dist/convex/flags.d.ts +171 -0
  500. package/dist/convex/flags.d.ts.map +1 -0
  501. package/dist/convex/flags.js +270 -0
  502. package/dist/convex/flags.js.map +1 -0
  503. package/dist/convex/funnel-rules.d.ts +151 -0
  504. package/dist/convex/funnel-rules.d.ts.map +1 -0
  505. package/dist/convex/funnel-rules.js +163 -0
  506. package/dist/convex/funnel-rules.js.map +1 -0
  507. package/dist/convex/inbound-rules.d.ts +128 -0
  508. package/dist/convex/inbound-rules.d.ts.map +1 -0
  509. package/dist/convex/inbound-rules.js +175 -0
  510. package/dist/convex/inbound-rules.js.map +1 -0
  511. package/dist/convex/integrations/access.d.ts +163 -0
  512. package/dist/convex/integrations/access.d.ts.map +1 -0
  513. package/dist/convex/integrations/access.js +199 -0
  514. package/dist/convex/integrations/access.js.map +1 -0
  515. package/dist/convex/integrations/account.d.ts +458 -0
  516. package/dist/convex/integrations/account.d.ts.map +1 -0
  517. package/dist/convex/integrations/account.js +587 -0
  518. package/dist/convex/integrations/account.js.map +1 -0
  519. package/dist/convex/integrations/admin.d.ts +273 -0
  520. package/dist/convex/integrations/admin.d.ts.map +1 -0
  521. package/dist/convex/integrations/admin.js +198 -0
  522. package/dist/convex/integrations/admin.js.map +1 -0
  523. package/dist/convex/integrations/ai/account-export.d.ts +11 -0
  524. package/dist/convex/integrations/ai/account-export.d.ts.map +1 -0
  525. package/dist/convex/integrations/ai/account-export.js +44 -0
  526. package/dist/convex/integrations/ai/account-export.js.map +1 -0
  527. package/dist/convex/integrations/ai/chat.d.ts +104 -0
  528. package/dist/convex/integrations/ai/chat.d.ts.map +1 -0
  529. package/dist/convex/integrations/ai/chat.js +385 -0
  530. package/dist/convex/integrations/ai/chat.js.map +1 -0
  531. package/dist/convex/integrations/ai/config.d.ts +746 -0
  532. package/dist/convex/integrations/ai/config.d.ts.map +1 -0
  533. package/dist/convex/integrations/ai/config.js +2 -0
  534. package/dist/convex/integrations/ai/config.js.map +1 -0
  535. package/dist/convex/integrations/ai/context.d.ts +40 -0
  536. package/dist/convex/integrations/ai/context.d.ts.map +1 -0
  537. package/dist/convex/integrations/ai/context.js +53 -0
  538. package/dist/convex/integrations/ai/context.js.map +1 -0
  539. package/dist/convex/integrations/ai/costs.d.ts +40 -0
  540. package/dist/convex/integrations/ai/costs.d.ts.map +1 -0
  541. package/dist/convex/integrations/ai/costs.js +72 -0
  542. package/dist/convex/integrations/ai/costs.js.map +1 -0
  543. package/dist/convex/integrations/ai/embeddings.d.ts +23 -0
  544. package/dist/convex/integrations/ai/embeddings.d.ts.map +1 -0
  545. package/dist/convex/integrations/ai/embeddings.js +75 -0
  546. package/dist/convex/integrations/ai/embeddings.js.map +1 -0
  547. package/dist/convex/integrations/ai/job-errors.d.ts +57 -0
  548. package/dist/convex/integrations/ai/job-errors.d.ts.map +1 -0
  549. package/dist/convex/integrations/ai/job-errors.js +122 -0
  550. package/dist/convex/integrations/ai/job-errors.js.map +1 -0
  551. package/dist/convex/integrations/ai/jobs.d.ts +286 -0
  552. package/dist/convex/integrations/ai/jobs.d.ts.map +1 -0
  553. package/dist/convex/integrations/ai/jobs.js +973 -0
  554. package/dist/convex/integrations/ai/jobs.js.map +1 -0
  555. package/dist/convex/integrations/ai/knowledge.d.ts +120 -0
  556. package/dist/convex/integrations/ai/knowledge.d.ts.map +1 -0
  557. package/dist/convex/integrations/ai/knowledge.js +336 -0
  558. package/dist/convex/integrations/ai/knowledge.js.map +1 -0
  559. package/dist/convex/integrations/ai/metering.d.ts +59 -0
  560. package/dist/convex/integrations/ai/metering.d.ts.map +1 -0
  561. package/dist/convex/integrations/ai/metering.js +370 -0
  562. package/dist/convex/integrations/ai/metering.js.map +1 -0
  563. package/dist/convex/integrations/ai/model-id.d.ts +8 -0
  564. package/dist/convex/integrations/ai/model-id.d.ts.map +1 -0
  565. package/dist/convex/integrations/ai/model-id.js +15 -0
  566. package/dist/convex/integrations/ai/model-id.js.map +1 -0
  567. package/dist/convex/integrations/ai/models.d.ts +162 -0
  568. package/dist/convex/integrations/ai/models.d.ts.map +1 -0
  569. package/dist/convex/integrations/ai/models.js +385 -0
  570. package/dist/convex/integrations/ai/models.js.map +1 -0
  571. package/dist/convex/integrations/ai/moderation.d.ts +59 -0
  572. package/dist/convex/integrations/ai/moderation.d.ts.map +1 -0
  573. package/dist/convex/integrations/ai/moderation.js +199 -0
  574. package/dist/convex/integrations/ai/moderation.js.map +1 -0
  575. package/dist/convex/integrations/ai/pricing.d.ts +88 -0
  576. package/dist/convex/integrations/ai/pricing.d.ts.map +1 -0
  577. package/dist/convex/integrations/ai/pricing.js +135 -0
  578. package/dist/convex/integrations/ai/pricing.js.map +1 -0
  579. package/dist/convex/integrations/ai/provenance.d.ts +87 -0
  580. package/dist/convex/integrations/ai/provenance.d.ts.map +1 -0
  581. package/dist/convex/integrations/ai/provenance.js +137 -0
  582. package/dist/convex/integrations/ai/provenance.js.map +1 -0
  583. package/dist/convex/integrations/ai/setup.d.ts +20 -0
  584. package/dist/convex/integrations/ai/setup.d.ts.map +1 -0
  585. package/dist/convex/integrations/ai/setup.js +53 -0
  586. package/dist/convex/integrations/ai/setup.js.map +1 -0
  587. package/dist/convex/integrations/ai/stream.d.ts +10 -0
  588. package/dist/convex/integrations/ai/stream.d.ts.map +1 -0
  589. package/dist/convex/integrations/ai/stream.js +151 -0
  590. package/dist/convex/integrations/ai/stream.js.map +1 -0
  591. package/dist/convex/integrations/ai.d.ts +37 -0
  592. package/dist/convex/integrations/ai.d.ts.map +1 -0
  593. package/dist/convex/integrations/ai.js +4 -0
  594. package/dist/convex/integrations/ai.js.map +1 -0
  595. package/dist/convex/integrations/announcements.d.ts +239 -0
  596. package/dist/convex/integrations/announcements.d.ts.map +1 -0
  597. package/dist/convex/integrations/announcements.js +313 -0
  598. package/dist/convex/integrations/announcements.js.map +1 -0
  599. package/dist/convex/integrations/audit.d.ts +272 -0
  600. package/dist/convex/integrations/audit.d.ts.map +1 -0
  601. package/dist/convex/integrations/audit.js +268 -0
  602. package/dist/convex/integrations/audit.js.map +1 -0
  603. package/dist/convex/integrations/authorization.d.ts +147 -0
  604. package/dist/convex/integrations/authorization.d.ts.map +1 -0
  605. package/dist/convex/integrations/authorization.js +210 -0
  606. package/dist/convex/integrations/authorization.js.map +1 -0
  607. package/dist/convex/integrations/billing/activity.d.ts +24 -0
  608. package/dist/convex/integrations/billing/activity.d.ts.map +1 -0
  609. package/dist/convex/integrations/billing/activity.js +40 -0
  610. package/dist/convex/integrations/billing/activity.js.map +1 -0
  611. package/dist/convex/integrations/billing/checkout.d.ts +78 -0
  612. package/dist/convex/integrations/billing/checkout.d.ts.map +1 -0
  613. package/dist/convex/integrations/billing/checkout.js +484 -0
  614. package/dist/convex/integrations/billing/checkout.js.map +1 -0
  615. package/dist/convex/integrations/billing/claim-discount.d.ts +17 -0
  616. package/dist/convex/integrations/billing/claim-discount.d.ts.map +1 -0
  617. package/dist/convex/integrations/billing/claim-discount.js +40 -0
  618. package/dist/convex/integrations/billing/claim-discount.js.map +1 -0
  619. package/dist/convex/integrations/billing/context.d.ts +156 -0
  620. package/dist/convex/integrations/billing/context.d.ts.map +1 -0
  621. package/dist/convex/integrations/billing/context.js +397 -0
  622. package/dist/convex/integrations/billing/context.js.map +1 -0
  623. package/dist/convex/integrations/billing/credits.d.ts +40 -0
  624. package/dist/convex/integrations/billing/credits.d.ts.map +1 -0
  625. package/dist/convex/integrations/billing/credits.js +215 -0
  626. package/dist/convex/integrations/billing/credits.js.map +1 -0
  627. package/dist/convex/integrations/billing/customers.d.ts +60 -0
  628. package/dist/convex/integrations/billing/customers.d.ts.map +1 -0
  629. package/dist/convex/integrations/billing/customers.js +322 -0
  630. package/dist/convex/integrations/billing/customers.js.map +1 -0
  631. package/dist/convex/integrations/billing/discounts.d.ts +26 -0
  632. package/dist/convex/integrations/billing/discounts.d.ts.map +1 -0
  633. package/dist/convex/integrations/billing/discounts.js +71 -0
  634. package/dist/convex/integrations/billing/discounts.js.map +1 -0
  635. package/dist/convex/integrations/billing/entitlements.d.ts +16 -0
  636. package/dist/convex/integrations/billing/entitlements.d.ts.map +1 -0
  637. package/dist/convex/integrations/billing/entitlements.js +180 -0
  638. package/dist/convex/integrations/billing/entitlements.js.map +1 -0
  639. package/dist/convex/integrations/billing/erasure.d.ts +10 -0
  640. package/dist/convex/integrations/billing/erasure.d.ts.map +1 -0
  641. package/dist/convex/integrations/billing/erasure.js +90 -0
  642. package/dist/convex/integrations/billing/erasure.js.map +1 -0
  643. package/dist/convex/integrations/billing/events.d.ts +80 -0
  644. package/dist/convex/integrations/billing/events.d.ts.map +1 -0
  645. package/dist/convex/integrations/billing/events.js +209 -0
  646. package/dist/convex/integrations/billing/events.js.map +1 -0
  647. package/dist/convex/integrations/billing/features.d.ts +32 -0
  648. package/dist/convex/integrations/billing/features.d.ts.map +1 -0
  649. package/dist/convex/integrations/billing/features.js +79 -0
  650. package/dist/convex/integrations/billing/features.js.map +1 -0
  651. package/dist/convex/integrations/billing/free-plan.d.ts +53 -0
  652. package/dist/convex/integrations/billing/free-plan.d.ts.map +1 -0
  653. package/dist/convex/integrations/billing/free-plan.js +233 -0
  654. package/dist/convex/integrations/billing/free-plan.js.map +1 -0
  655. package/dist/convex/integrations/billing/functions.d.ts +353 -0
  656. package/dist/convex/integrations/billing/functions.d.ts.map +1 -0
  657. package/dist/convex/integrations/billing/functions.js +445 -0
  658. package/dist/convex/integrations/billing/functions.js.map +1 -0
  659. package/dist/convex/integrations/billing/gift-access.d.ts +39 -0
  660. package/dist/convex/integrations/billing/gift-access.d.ts.map +1 -0
  661. package/dist/convex/integrations/billing/gift-access.js +39 -0
  662. package/dist/convex/integrations/billing/gift-access.js.map +1 -0
  663. package/dist/convex/integrations/billing/gift-manage.d.ts +66 -0
  664. package/dist/convex/integrations/billing/gift-manage.d.ts.map +1 -0
  665. package/dist/convex/integrations/billing/gift-manage.js +261 -0
  666. package/dist/convex/integrations/billing/gift-manage.js.map +1 -0
  667. package/dist/convex/integrations/billing/gift-rules.d.ts +19 -0
  668. package/dist/convex/integrations/billing/gift-rules.d.ts.map +1 -0
  669. package/dist/convex/integrations/billing/gift-rules.js +49 -0
  670. package/dist/convex/integrations/billing/gift-rules.js.map +1 -0
  671. package/dist/convex/integrations/billing/gifts.d.ts +123 -0
  672. package/dist/convex/integrations/billing/gifts.d.ts.map +1 -0
  673. package/dist/convex/integrations/billing/gifts.js +712 -0
  674. package/dist/convex/integrations/billing/gifts.js.map +1 -0
  675. package/dist/convex/integrations/billing/history.d.ts +22 -0
  676. package/dist/convex/integrations/billing/history.d.ts.map +1 -0
  677. package/dist/convex/integrations/billing/history.js +214 -0
  678. package/dist/convex/integrations/billing/history.js.map +1 -0
  679. package/dist/convex/integrations/billing/lifecycle.d.ts +105 -0
  680. package/dist/convex/integrations/billing/lifecycle.d.ts.map +1 -0
  681. package/dist/convex/integrations/billing/lifecycle.js +526 -0
  682. package/dist/convex/integrations/billing/lifecycle.js.map +1 -0
  683. package/dist/convex/integrations/billing/passes.d.ts +68 -0
  684. package/dist/convex/integrations/billing/passes.d.ts.map +1 -0
  685. package/dist/convex/integrations/billing/passes.js +407 -0
  686. package/dist/convex/integrations/billing/passes.js.map +1 -0
  687. package/dist/convex/integrations/billing/pricing.d.ts +54 -0
  688. package/dist/convex/integrations/billing/pricing.d.ts.map +1 -0
  689. package/dist/convex/integrations/billing/pricing.js +322 -0
  690. package/dist/convex/integrations/billing/pricing.js.map +1 -0
  691. package/dist/convex/integrations/billing/provider-client.d.ts +11 -0
  692. package/dist/convex/integrations/billing/provider-client.d.ts.map +1 -0
  693. package/dist/convex/integrations/billing/provider-client.js +9 -0
  694. package/dist/convex/integrations/billing/provider-client.js.map +1 -0
  695. package/dist/convex/integrations/billing/provider-events.d.ts +26 -0
  696. package/dist/convex/integrations/billing/provider-events.d.ts.map +1 -0
  697. package/dist/convex/integrations/billing/provider-events.js +194 -0
  698. package/dist/convex/integrations/billing/provider-events.js.map +1 -0
  699. package/dist/convex/integrations/billing/purchase.d.ts +63 -0
  700. package/dist/convex/integrations/billing/purchase.d.ts.map +1 -0
  701. package/dist/convex/integrations/billing/purchase.js +287 -0
  702. package/dist/convex/integrations/billing/purchase.js.map +1 -0
  703. package/dist/convex/integrations/billing/quotas.d.ts +47 -0
  704. package/dist/convex/integrations/billing/quotas.d.ts.map +1 -0
  705. package/dist/convex/integrations/billing/quotas.js +162 -0
  706. package/dist/convex/integrations/billing/quotas.js.map +1 -0
  707. package/dist/convex/integrations/billing/referral-orders.d.ts +26 -0
  708. package/dist/convex/integrations/billing/referral-orders.d.ts.map +1 -0
  709. package/dist/convex/integrations/billing/referral-orders.js +33 -0
  710. package/dist/convex/integrations/billing/referral-orders.js.map +1 -0
  711. package/dist/convex/integrations/billing/revenue.d.ts +12 -0
  712. package/dist/convex/integrations/billing/revenue.d.ts.map +1 -0
  713. package/dist/convex/integrations/billing/revenue.js +175 -0
  714. package/dist/convex/integrations/billing/revenue.js.map +1 -0
  715. package/dist/convex/integrations/billing/rewards.d.ts +78 -0
  716. package/dist/convex/integrations/billing/rewards.d.ts.map +1 -0
  717. package/dist/convex/integrations/billing/rewards.js +113 -0
  718. package/dist/convex/integrations/billing/rewards.js.map +1 -0
  719. package/dist/convex/integrations/billing/subscriptions.d.ts +79 -0
  720. package/dist/convex/integrations/billing/subscriptions.d.ts.map +1 -0
  721. package/dist/convex/integrations/billing/subscriptions.js +331 -0
  722. package/dist/convex/integrations/billing/subscriptions.js.map +1 -0
  723. package/dist/convex/integrations/billing/types/base.d.ts +78 -0
  724. package/dist/convex/integrations/billing/types/base.d.ts.map +1 -0
  725. package/dist/convex/integrations/billing/types/base.js +2 -0
  726. package/dist/convex/integrations/billing/types/base.js.map +1 -0
  727. package/dist/convex/integrations/billing/types/lifecycle.d.ts +159 -0
  728. package/dist/convex/integrations/billing/types/lifecycle.d.ts.map +1 -0
  729. package/dist/convex/integrations/billing/types/lifecycle.js +2 -0
  730. package/dist/convex/integrations/billing/types/lifecycle.js.map +1 -0
  731. package/dist/convex/integrations/billing/types/options.d.ts +372 -0
  732. package/dist/convex/integrations/billing/types/options.d.ts.map +1 -0
  733. package/dist/convex/integrations/billing/types/options.js +2 -0
  734. package/dist/convex/integrations/billing/types/options.js.map +1 -0
  735. package/dist/convex/integrations/billing/types/records.d.ts +523 -0
  736. package/dist/convex/integrations/billing/types/records.d.ts.map +1 -0
  737. package/dist/convex/integrations/billing/types/records.js +3 -0
  738. package/dist/convex/integrations/billing/types/records.js.map +1 -0
  739. package/dist/convex/integrations/billing/types/revenue.d.ts +94 -0
  740. package/dist/convex/integrations/billing/types/revenue.d.ts.map +1 -0
  741. package/dist/convex/integrations/billing/types/revenue.js +34 -0
  742. package/dist/convex/integrations/billing/types/revenue.js.map +1 -0
  743. package/dist/convex/integrations/billing/types/setup.d.ts +891 -0
  744. package/dist/convex/integrations/billing/types/setup.d.ts.map +1 -0
  745. package/dist/convex/integrations/billing/types/setup.js +2 -0
  746. package/dist/convex/integrations/billing/types/setup.js.map +1 -0
  747. package/dist/convex/integrations/billing/types/surface.d.ts +665 -0
  748. package/dist/convex/integrations/billing/types/surface.d.ts.map +1 -0
  749. package/dist/convex/integrations/billing/types/surface.js +2 -0
  750. package/dist/convex/integrations/billing/types/surface.js.map +1 -0
  751. package/dist/convex/integrations/billing/webhooks.d.ts +16 -0
  752. package/dist/convex/integrations/billing/webhooks.d.ts.map +1 -0
  753. package/dist/convex/integrations/billing/webhooks.js +317 -0
  754. package/dist/convex/integrations/billing/webhooks.js.map +1 -0
  755. package/dist/convex/integrations/billing.d.ts +48 -0
  756. package/dist/convex/integrations/billing.d.ts.map +1 -0
  757. package/dist/convex/integrations/billing.js +193 -0
  758. package/dist/convex/integrations/billing.js.map +1 -0
  759. package/dist/convex/integrations/email-lifecycle.d.ts +57 -0
  760. package/dist/convex/integrations/email-lifecycle.d.ts.map +1 -0
  761. package/dist/convex/integrations/email-lifecycle.js +180 -0
  762. package/dist/convex/integrations/email-lifecycle.js.map +1 -0
  763. package/dist/convex/integrations/email-preferences.d.ts +227 -0
  764. package/dist/convex/integrations/email-preferences.d.ts.map +1 -0
  765. package/dist/convex/integrations/email-preferences.js +287 -0
  766. package/dist/convex/integrations/email-preferences.js.map +1 -0
  767. package/dist/convex/integrations/email-suppressions.d.ts +63 -0
  768. package/dist/convex/integrations/email-suppressions.d.ts.map +1 -0
  769. package/dist/convex/integrations/email-suppressions.js +120 -0
  770. package/dist/convex/integrations/email-suppressions.js.map +1 -0
  771. package/dist/convex/integrations/email-sync.d.ts +131 -0
  772. package/dist/convex/integrations/email-sync.d.ts.map +1 -0
  773. package/dist/convex/integrations/email-sync.js +464 -0
  774. package/dist/convex/integrations/email-sync.js.map +1 -0
  775. package/dist/convex/integrations/email.d.ts +756 -0
  776. package/dist/convex/integrations/email.d.ts.map +1 -0
  777. package/dist/convex/integrations/email.js +463 -0
  778. package/dist/convex/integrations/email.js.map +1 -0
  779. package/dist/convex/integrations/flags.d.ts +200 -0
  780. package/dist/convex/integrations/flags.d.ts.map +1 -0
  781. package/dist/convex/integrations/flags.js +295 -0
  782. package/dist/convex/integrations/flags.js.map +1 -0
  783. package/dist/convex/integrations/functions.d.ts +298 -0
  784. package/dist/convex/integrations/functions.d.ts.map +1 -0
  785. package/dist/convex/integrations/functions.js +380 -0
  786. package/dist/convex/integrations/functions.js.map +1 -0
  787. package/dist/convex/integrations/health.d.ts +2 -0
  788. package/dist/convex/integrations/health.d.ts.map +1 -0
  789. package/dist/convex/integrations/health.js +145 -0
  790. package/dist/convex/integrations/health.js.map +1 -0
  791. package/dist/convex/integrations/http.d.ts +102 -0
  792. package/dist/convex/integrations/http.d.ts.map +1 -0
  793. package/dist/convex/integrations/http.js +108 -0
  794. package/dist/convex/integrations/http.js.map +1 -0
  795. package/dist/convex/integrations/inbound.d.ts +194 -0
  796. package/dist/convex/integrations/inbound.d.ts.map +1 -0
  797. package/dist/convex/integrations/inbound.js +502 -0
  798. package/dist/convex/integrations/inbound.js.map +1 -0
  799. package/dist/convex/integrations/launch.d.ts +240 -0
  800. package/dist/convex/integrations/launch.d.ts.map +1 -0
  801. package/dist/convex/integrations/launch.js +360 -0
  802. package/dist/convex/integrations/launch.js.map +1 -0
  803. package/dist/convex/integrations/monitoring.d.ts +135 -0
  804. package/dist/convex/integrations/monitoring.d.ts.map +1 -0
  805. package/dist/convex/integrations/monitoring.js +226 -0
  806. package/dist/convex/integrations/monitoring.js.map +1 -0
  807. package/dist/convex/integrations/notifications.d.ts +225 -0
  808. package/dist/convex/integrations/notifications.d.ts.map +1 -0
  809. package/dist/convex/integrations/notifications.js +306 -0
  810. package/dist/convex/integrations/notifications.js.map +1 -0
  811. package/dist/convex/integrations/rate-limit.d.ts +429 -0
  812. package/dist/convex/integrations/rate-limit.d.ts.map +1 -0
  813. package/dist/convex/integrations/rate-limit.js +295 -0
  814. package/dist/convex/integrations/rate-limit.js.map +1 -0
  815. package/dist/convex/integrations/referrals.d.ts +340 -0
  816. package/dist/convex/integrations/referrals.d.ts.map +1 -0
  817. package/dist/convex/integrations/referrals.js +304 -0
  818. package/dist/convex/integrations/referrals.js.map +1 -0
  819. package/dist/convex/integrations/reports.d.ts +231 -0
  820. package/dist/convex/integrations/reports.d.ts.map +1 -0
  821. package/dist/convex/integrations/reports.js +480 -0
  822. package/dist/convex/integrations/reports.js.map +1 -0
  823. package/dist/convex/integrations/retention.d.ts +88 -0
  824. package/dist/convex/integrations/retention.d.ts.map +1 -0
  825. package/dist/convex/integrations/retention.js +117 -0
  826. package/dist/convex/integrations/retention.js.map +1 -0
  827. package/dist/convex/integrations/search.d.ts +91 -0
  828. package/dist/convex/integrations/search.d.ts.map +1 -0
  829. package/dist/convex/integrations/search.js +117 -0
  830. package/dist/convex/integrations/search.js.map +1 -0
  831. package/dist/convex/integrations/storage.d.ts +207 -0
  832. package/dist/convex/integrations/storage.d.ts.map +1 -0
  833. package/dist/convex/integrations/storage.js +373 -0
  834. package/dist/convex/integrations/storage.js.map +1 -0
  835. package/dist/convex/integrations/waitlist.d.ts +213 -0
  836. package/dist/convex/integrations/waitlist.d.ts.map +1 -0
  837. package/dist/convex/integrations/waitlist.js +260 -0
  838. package/dist/convex/integrations/waitlist.js.map +1 -0
  839. package/dist/convex/integrations/webhook-guard.d.ts +179 -0
  840. package/dist/convex/integrations/webhook-guard.d.ts.map +1 -0
  841. package/dist/convex/integrations/webhook-guard.js +183 -0
  842. package/dist/convex/integrations/webhook-guard.js.map +1 -0
  843. package/dist/convex/integrations/webhooks.d.ts +68 -0
  844. package/dist/convex/integrations/webhooks.d.ts.map +1 -0
  845. package/dist/convex/integrations/webhooks.js +109 -0
  846. package/dist/convex/integrations/webhooks.js.map +1 -0
  847. package/dist/convex/integrations/workflows.d.ts +130 -0
  848. package/dist/convex/integrations/workflows.d.ts.map +1 -0
  849. package/dist/convex/integrations/workflows.js +142 -0
  850. package/dist/convex/integrations/workflows.js.map +1 -0
  851. package/dist/convex/jobs-policy.d.ts +191 -0
  852. package/dist/convex/jobs-policy.d.ts.map +1 -0
  853. package/dist/convex/jobs-policy.js +291 -0
  854. package/dist/convex/jobs-policy.js.map +1 -0
  855. package/dist/convex/label-format.d.ts +29 -0
  856. package/dist/convex/label-format.d.ts.map +1 -0
  857. package/dist/convex/label-format.js +60 -0
  858. package/dist/convex/label-format.js.map +1 -0
  859. package/dist/convex/label-groups/access.d.ts +19 -0
  860. package/dist/convex/label-groups/access.d.ts.map +1 -0
  861. package/dist/convex/label-groups/access.js +21 -0
  862. package/dist/convex/label-groups/access.js.map +1 -0
  863. package/dist/convex/label-groups/account.d.ts +27 -0
  864. package/dist/convex/label-groups/account.d.ts.map +1 -0
  865. package/dist/convex/label-groups/account.js +27 -0
  866. package/dist/convex/label-groups/account.js.map +1 -0
  867. package/dist/convex/label-groups/activation.d.ts +19 -0
  868. package/dist/convex/label-groups/activation.d.ts.map +1 -0
  869. package/dist/convex/label-groups/activation.js +22 -0
  870. package/dist/convex/label-groups/activation.js.map +1 -0
  871. package/dist/convex/label-groups/admin.d.ts +823 -0
  872. package/dist/convex/label-groups/admin.d.ts.map +1 -0
  873. package/dist/convex/label-groups/admin.js +858 -0
  874. package/dist/convex/label-groups/admin.js.map +1 -0
  875. package/dist/convex/label-groups/ai.d.ts +14 -0
  876. package/dist/convex/label-groups/ai.d.ts.map +1 -0
  877. package/dist/convex/label-groups/ai.js +15 -0
  878. package/dist/convex/label-groups/ai.js.map +1 -0
  879. package/dist/convex/label-groups/announcement.d.ts +12 -0
  880. package/dist/convex/label-groups/announcement.d.ts.map +1 -0
  881. package/dist/convex/label-groups/announcement.js +14 -0
  882. package/dist/convex/label-groups/announcement.js.map +1 -0
  883. package/dist/convex/label-groups/audit.d.ts +169 -0
  884. package/dist/convex/label-groups/audit.d.ts.map +1 -0
  885. package/dist/convex/label-groups/audit.js +172 -0
  886. package/dist/convex/label-groups/audit.js.map +1 -0
  887. package/dist/convex/label-groups/auth.d.ts +61 -0
  888. package/dist/convex/label-groups/auth.d.ts.map +1 -0
  889. package/dist/convex/label-groups/auth.js +76 -0
  890. package/dist/convex/label-groups/auth.js.map +1 -0
  891. package/dist/convex/label-groups/cancelFlow.d.ts +47 -0
  892. package/dist/convex/label-groups/cancelFlow.d.ts.map +1 -0
  893. package/dist/convex/label-groups/cancelFlow.js +52 -0
  894. package/dist/convex/label-groups/cancelFlow.js.map +1 -0
  895. package/dist/convex/label-groups/connection.d.ts +11 -0
  896. package/dist/convex/label-groups/connection.d.ts.map +1 -0
  897. package/dist/convex/label-groups/connection.js +13 -0
  898. package/dist/convex/label-groups/connection.js.map +1 -0
  899. package/dist/convex/label-groups/consent.d.ts +36 -0
  900. package/dist/convex/label-groups/consent.d.ts.map +1 -0
  901. package/dist/convex/label-groups/consent.js +42 -0
  902. package/dist/convex/label-groups/consent.js.map +1 -0
  903. package/dist/convex/label-groups/contact.d.ts +21 -0
  904. package/dist/convex/label-groups/contact.d.ts.map +1 -0
  905. package/dist/convex/label-groups/contact.js +24 -0
  906. package/dist/convex/label-groups/contact.js.map +1 -0
  907. package/dist/convex/label-groups/credits.d.ts +24 -0
  908. package/dist/convex/label-groups/credits.d.ts.map +1 -0
  909. package/dist/convex/label-groups/credits.js +27 -0
  910. package/dist/convex/label-groups/credits.js.map +1 -0
  911. package/dist/convex/label-groups/deletion.d.ts +18 -0
  912. package/dist/convex/label-groups/deletion.d.ts.map +1 -0
  913. package/dist/convex/label-groups/deletion.js +19 -0
  914. package/dist/convex/label-groups/deletion.js.map +1 -0
  915. package/dist/convex/label-groups/email.d.ts +237 -0
  916. package/dist/convex/label-groups/email.d.ts.map +1 -0
  917. package/dist/convex/label-groups/email.js +207 -0
  918. package/dist/convex/label-groups/email.js.map +1 -0
  919. package/dist/convex/label-groups/errors.d.ts +100 -0
  920. package/dist/convex/label-groups/errors.d.ts.map +1 -0
  921. package/dist/convex/label-groups/errors.js +117 -0
  922. package/dist/convex/label-groups/errors.js.map +1 -0
  923. package/dist/convex/label-groups/feedback.d.ts +17 -0
  924. package/dist/convex/label-groups/feedback.d.ts.map +1 -0
  925. package/dist/convex/label-groups/feedback.js +17 -0
  926. package/dist/convex/label-groups/feedback.js.map +1 -0
  927. package/dist/convex/label-groups/gift.d.ts +54 -0
  928. package/dist/convex/label-groups/gift.d.ts.map +1 -0
  929. package/dist/convex/label-groups/gift.js +59 -0
  930. package/dist/convex/label-groups/gift.js.map +1 -0
  931. package/dist/convex/label-groups/history.d.ts +23 -0
  932. package/dist/convex/label-groups/history.d.ts.map +1 -0
  933. package/dist/convex/label-groups/history.js +25 -0
  934. package/dist/convex/label-groups/history.js.map +1 -0
  935. package/dist/convex/label-groups/impersonation.d.ts +13 -0
  936. package/dist/convex/label-groups/impersonation.d.ts.map +1 -0
  937. package/dist/convex/label-groups/impersonation.js +14 -0
  938. package/dist/convex/label-groups/impersonation.js.map +1 -0
  939. package/dist/convex/label-groups/invitation.d.ts +23 -0
  940. package/dist/convex/label-groups/invitation.d.ts.map +1 -0
  941. package/dist/convex/label-groups/invitation.js +25 -0
  942. package/dist/convex/label-groups/invitation.js.map +1 -0
  943. package/dist/convex/label-groups/legal.d.ts +139 -0
  944. package/dist/convex/label-groups/legal.d.ts.map +1 -0
  945. package/dist/convex/label-groups/legal.js +144 -0
  946. package/dist/convex/label-groups/legal.js.map +1 -0
  947. package/dist/convex/label-groups/maintenance.d.ts +11 -0
  948. package/dist/convex/label-groups/maintenance.d.ts.map +1 -0
  949. package/dist/convex/label-groups/maintenance.js +12 -0
  950. package/dist/convex/label-groups/maintenance.js.map +1 -0
  951. package/dist/convex/label-groups/notifications.d.ts +186 -0
  952. package/dist/convex/label-groups/notifications.d.ts.map +1 -0
  953. package/dist/convex/label-groups/notifications.js +89 -0
  954. package/dist/convex/label-groups/notifications.js.map +1 -0
  955. package/dist/convex/label-groups/onboarding.d.ts +57 -0
  956. package/dist/convex/label-groups/onboarding.d.ts.map +1 -0
  957. package/dist/convex/label-groups/onboarding.js +59 -0
  958. package/dist/convex/label-groups/onboarding.js.map +1 -0
  959. package/dist/convex/label-groups/pastDue.d.ts +9 -0
  960. package/dist/convex/label-groups/pastDue.d.ts.map +1 -0
  961. package/dist/convex/label-groups/pastDue.js +10 -0
  962. package/dist/convex/label-groups/pastDue.js.map +1 -0
  963. package/dist/convex/label-groups/preferences.d.ts +46 -0
  964. package/dist/convex/label-groups/preferences.d.ts.map +1 -0
  965. package/dist/convex/label-groups/preferences.js +46 -0
  966. package/dist/convex/label-groups/preferences.js.map +1 -0
  967. package/dist/convex/label-groups/pricing.d.ts +73 -0
  968. package/dist/convex/label-groups/pricing.d.ts.map +1 -0
  969. package/dist/convex/label-groups/pricing.js +95 -0
  970. package/dist/convex/label-groups/pricing.js.map +1 -0
  971. package/dist/convex/label-groups/profile.d.ts +34 -0
  972. package/dist/convex/label-groups/profile.d.ts.map +1 -0
  973. package/dist/convex/label-groups/profile.js +39 -0
  974. package/dist/convex/label-groups/profile.js.map +1 -0
  975. package/dist/convex/label-groups/quota.d.ts +19 -0
  976. package/dist/convex/label-groups/quota.d.ts.map +1 -0
  977. package/dist/convex/label-groups/quota.js +25 -0
  978. package/dist/convex/label-groups/quota.js.map +1 -0
  979. package/dist/convex/label-groups/reauthenticate.d.ts +21 -0
  980. package/dist/convex/label-groups/reauthenticate.d.ts.map +1 -0
  981. package/dist/convex/label-groups/reauthenticate.js +22 -0
  982. package/dist/convex/label-groups/reauthenticate.js.map +1 -0
  983. package/dist/convex/label-groups/referral.d.ts +50 -0
  984. package/dist/convex/label-groups/referral.d.ts.map +1 -0
  985. package/dist/convex/label-groups/referral.js +53 -0
  986. package/dist/convex/label-groups/referral.js.map +1 -0
  987. package/dist/convex/label-groups/report.d.ts +56 -0
  988. package/dist/convex/label-groups/report.d.ts.map +1 -0
  989. package/dist/convex/label-groups/report.js +56 -0
  990. package/dist/convex/label-groups/report.js.map +1 -0
  991. package/dist/convex/label-groups/security.d.ts +54 -0
  992. package/dist/convex/label-groups/security.d.ts.map +1 -0
  993. package/dist/convex/label-groups/security.js +63 -0
  994. package/dist/convex/label-groups/security.js.map +1 -0
  995. package/dist/convex/label-groups/settings.d.ts +79 -0
  996. package/dist/convex/label-groups/settings.d.ts.map +1 -0
  997. package/dist/convex/label-groups/settings.js +90 -0
  998. package/dist/convex/label-groups/settings.js.map +1 -0
  999. package/dist/convex/label-groups/shell.d.ts +48 -0
  1000. package/dist/convex/label-groups/shell.d.ts.map +1 -0
  1001. package/dist/convex/label-groups/shell.js +54 -0
  1002. package/dist/convex/label-groups/shell.js.map +1 -0
  1003. package/dist/convex/label-groups/source.d.ts +28 -0
  1004. package/dist/convex/label-groups/source.d.ts.map +1 -0
  1005. package/dist/convex/label-groups/source.js +32 -0
  1006. package/dist/convex/label-groups/source.js.map +1 -0
  1007. package/dist/convex/label-groups/upgrade.d.ts +16 -0
  1008. package/dist/convex/label-groups/upgrade.d.ts.map +1 -0
  1009. package/dist/convex/label-groups/upgrade.js +20 -0
  1010. package/dist/convex/label-groups/upgrade.js.map +1 -0
  1011. package/dist/convex/label-groups/upload.d.ts +18 -0
  1012. package/dist/convex/label-groups/upload.d.ts.map +1 -0
  1013. package/dist/convex/label-groups/upload.js +19 -0
  1014. package/dist/convex/label-groups/upload.js.map +1 -0
  1015. package/dist/convex/label-groups/usage.d.ts +12 -0
  1016. package/dist/convex/label-groups/usage.d.ts.map +1 -0
  1017. package/dist/convex/label-groups/usage.js +12 -0
  1018. package/dist/convex/label-groups/usage.js.map +1 -0
  1019. package/dist/convex/label-groups/waitlist.d.ts +44 -0
  1020. package/dist/convex/label-groups/waitlist.d.ts.map +1 -0
  1021. package/dist/convex/label-groups/waitlist.js +45 -0
  1022. package/dist/convex/label-groups/waitlist.js.map +1 -0
  1023. package/dist/convex/label-groups/withdrawal.d.ts +18 -0
  1024. package/dist/convex/label-groups/withdrawal.d.ts.map +1 -0
  1025. package/dist/convex/label-groups/withdrawal.js +18 -0
  1026. package/dist/convex/label-groups/withdrawal.js.map +1 -0
  1027. package/dist/convex/label-translations.d.ts +4 -0
  1028. package/dist/convex/label-translations.d.ts.map +1 -0
  1029. package/dist/convex/label-translations.js +1834 -0
  1030. package/dist/convex/label-translations.js.map +1 -0
  1031. package/dist/convex/labels.d.ts +2543 -0
  1032. package/dist/convex/labels.d.ts.map +1 -0
  1033. package/dist/convex/labels.js +114 -0
  1034. package/dist/convex/labels.js.map +1 -0
  1035. package/dist/convex/legal.d.ts +309 -0
  1036. package/dist/convex/legal.d.ts.map +1 -0
  1037. package/dist/convex/legal.js +270 -0
  1038. package/dist/convex/legal.js.map +1 -0
  1039. package/dist/convex/lifecycle-flows.d.ts +75 -0
  1040. package/dist/convex/lifecycle-flows.d.ts.map +1 -0
  1041. package/dist/convex/lifecycle-flows.js +56 -0
  1042. package/dist/convex/lifecycle-flows.js.map +1 -0
  1043. package/dist/convex/local-origins.d.ts +3 -0
  1044. package/dist/convex/local-origins.d.ts.map +1 -0
  1045. package/dist/convex/local-origins.js +25 -0
  1046. package/dist/convex/local-origins.js.map +1 -0
  1047. package/dist/convex/locale.d.ts +26 -0
  1048. package/dist/convex/locale.d.ts.map +1 -0
  1049. package/dist/convex/locale.js +99 -0
  1050. package/dist/convex/locale.js.map +1 -0
  1051. package/dist/convex/log.d.ts +2 -0
  1052. package/dist/convex/log.d.ts.map +1 -0
  1053. package/dist/convex/log.js +149 -0
  1054. package/dist/convex/log.js.map +1 -0
  1055. package/dist/convex/loopback.d.ts +5 -0
  1056. package/dist/convex/loopback.d.ts.map +1 -0
  1057. package/dist/convex/loopback.js +20 -0
  1058. package/dist/convex/loopback.js.map +1 -0
  1059. package/dist/convex/monitoring.d.ts +226 -0
  1060. package/dist/convex/monitoring.d.ts.map +1 -0
  1061. package/dist/convex/monitoring.js +419 -0
  1062. package/dist/convex/monitoring.js.map +1 -0
  1063. package/dist/convex/notifications.d.ts +404 -0
  1064. package/dist/convex/notifications.d.ts.map +1 -0
  1065. package/dist/convex/notifications.js +231 -0
  1066. package/dist/convex/notifications.js.map +1 -0
  1067. package/dist/convex/package-migrations.d.ts +44 -0
  1068. package/dist/convex/package-migrations.d.ts.map +1 -0
  1069. package/dist/convex/package-migrations.js +32 -0
  1070. package/dist/convex/package-migrations.js.map +1 -0
  1071. package/dist/convex/paths.d.ts +35 -0
  1072. package/dist/convex/paths.d.ts.map +1 -0
  1073. package/dist/convex/paths.js +34 -0
  1074. package/dist/convex/paths.js.map +1 -0
  1075. package/dist/convex/pauses.d.ts +27 -0
  1076. package/dist/convex/pauses.d.ts.map +1 -0
  1077. package/dist/convex/pauses.js +36 -0
  1078. package/dist/convex/pauses.js.map +1 -0
  1079. package/dist/convex/proof.d.ts +177 -0
  1080. package/dist/convex/proof.d.ts.map +1 -0
  1081. package/dist/convex/proof.js +311 -0
  1082. package/dist/convex/proof.js.map +1 -0
  1083. package/dist/convex/referral-rules.d.ts +81 -0
  1084. package/dist/convex/referral-rules.d.ts.map +1 -0
  1085. package/dist/convex/referral-rules.js +108 -0
  1086. package/dist/convex/referral-rules.js.map +1 -0
  1087. package/dist/convex/report-rules.d.ts +9 -0
  1088. package/dist/convex/report-rules.d.ts.map +1 -0
  1089. package/dist/convex/report-rules.js +10 -0
  1090. package/dist/convex/report-rules.js.map +1 -0
  1091. package/dist/convex/sandbox-inbox.d.ts +56 -0
  1092. package/dist/convex/sandbox-inbox.d.ts.map +1 -0
  1093. package/dist/convex/sandbox-inbox.js +125 -0
  1094. package/dist/convex/sandbox-inbox.js.map +1 -0
  1095. package/dist/convex/sensitive-actions.d.ts +40 -0
  1096. package/dist/convex/sensitive-actions.d.ts.map +1 -0
  1097. package/dist/convex/sensitive-actions.js +220 -0
  1098. package/dist/convex/sensitive-actions.js.map +1 -0
  1099. package/dist/convex/test-models.d.ts +34 -0
  1100. package/dist/convex/test-models.d.ts.map +1 -0
  1101. package/dist/convex/test-models.js +121 -0
  1102. package/dist/convex/test-models.js.map +1 -0
  1103. package/dist/convex/tokens.d.ts +69 -0
  1104. package/dist/convex/tokens.d.ts.map +1 -0
  1105. package/dist/convex/tokens.js +101 -0
  1106. package/dist/convex/tokens.js.map +1 -0
  1107. package/dist/convex/urls.d.ts +9 -0
  1108. package/dist/convex/urls.d.ts.map +1 -0
  1109. package/dist/convex/urls.js +15 -0
  1110. package/dist/convex/urls.js.map +1 -0
  1111. package/dist/convex/visitor.d.ts +2 -0
  1112. package/dist/convex/visitor.d.ts.map +1 -0
  1113. package/dist/convex/visitor.js +51 -0
  1114. package/dist/convex/visitor.js.map +1 -0
  1115. package/dist/convex/waitlist-rules.d.ts +60 -0
  1116. package/dist/convex/waitlist-rules.d.ts.map +1 -0
  1117. package/dist/convex/waitlist-rules.js +107 -0
  1118. package/dist/convex/waitlist-rules.js.map +1 -0
  1119. package/dist/convex/web-push.d.ts +105 -0
  1120. package/dist/convex/web-push.d.ts.map +1 -0
  1121. package/dist/convex/web-push.js +192 -0
  1122. package/dist/convex/web-push.js.map +1 -0
  1123. package/dist/convex/webhook-signatures.d.ts +39 -0
  1124. package/dist/convex/webhook-signatures.d.ts.map +1 -0
  1125. package/dist/convex/webhook-signatures.js +140 -0
  1126. package/dist/convex/webhook-signatures.js.map +1 -0
  1127. package/dist/devtools/rpc-types.js +23 -0
  1128. package/dist/devtools-client/_nuxt/CfQg3BRt.js +5 -0
  1129. package/dist/devtools-client/_nuxt/entry.DsMplBp-.css +1 -0
  1130. package/dist/devtools-client/icon.svg +11 -0
  1131. package/dist/devtools-client/index.html +1 -0
  1132. package/dist/env-registry.js +217 -0
  1133. package/dist/eslint.d.mts +33 -0
  1134. package/dist/eslint.mjs +39 -0
  1135. package/dist/findings/types.js +1 -0
  1136. package/dist/module.d.ts +128 -32
  1137. package/dist/module.js +15 -275
  1138. package/dist/module.json +6 -2
  1139. package/dist/runtime/config.d.ts +172 -0
  1140. package/dist/runtime/config.js +65 -0
  1141. package/dist/runtime/devtools/bridge.d.ts +12 -0
  1142. package/dist/runtime/devtools/bridge.js +70 -0
  1143. package/dist/runtime/devtools/events.d.ts +11 -0
  1144. package/dist/runtime/devtools/events.js +116 -0
  1145. package/dist/runtime/devtools/on-demand.d.ts +11 -0
  1146. package/dist/runtime/devtools/on-demand.js +101 -0
  1147. package/dist/runtime/devtools/plugin.client.d.ts +8 -0
  1148. package/dist/runtime/devtools/plugin.client.js +201 -0
  1149. package/dist/runtime/devtools/types.d.ts +248 -0
  1150. package/dist/runtime/devtools/types.js +0 -0
  1151. package/dist/runtime/devtools/webhook-feed.d.ts +15 -0
  1152. package/dist/runtime/devtools/webhook-feed.js +26 -0
  1153. package/dist/runtime/image/provider.d.ts +25 -0
  1154. package/dist/runtime/image/provider.js +9 -0
  1155. package/dist/runtime/locales/de.json +2747 -0
  1156. package/dist/runtime/locales/en.json +2747 -0
  1157. package/dist/runtime/locales/es.json +2747 -0
  1158. package/dist/runtime/locales/fr.json +2747 -0
  1159. package/dist/runtime/locales/ru.json +2747 -0
  1160. package/dist/runtime/monitoring/report.d.ts +35 -0
  1161. package/dist/runtime/monitoring/report.js +23 -0
  1162. package/dist/runtime/monitoring/sdk/capture.client.d.ts +11 -0
  1163. package/dist/runtime/monitoring/sdk/capture.client.js +14 -0
  1164. package/dist/runtime/monitoring/sdk/capture.server.d.ts +9 -0
  1165. package/dist/runtime/monitoring/sdk/capture.server.js +9 -0
  1166. package/dist/runtime/monitoring/sdk/feedback.d.ts +5 -0
  1167. package/dist/runtime/monitoring/sdk/feedback.js +21 -0
  1168. package/dist/runtime/monitoring/sdk/observe.client.d.ts +32 -0
  1169. package/dist/runtime/monitoring/sdk/observe.client.js +42 -0
  1170. package/dist/runtime/monitoring/sdk/preset.d.ts +74 -0
  1171. package/dist/runtime/monitoring/sdk/preset.js +49 -0
  1172. package/dist/runtime/monitoring/sdk/replay.d.ts +1 -0
  1173. package/dist/runtime/monitoring/sdk/replay.js +1 -0
  1174. package/dist/runtime/monitoring/sdk/sentry.client.config.d.ts +1 -0
  1175. package/dist/runtime/monitoring/sdk/sentry.client.config.js +13 -0
  1176. package/dist/runtime/monitoring/sdk/sentry.server.config.d.ts +1 -0
  1177. package/dist/runtime/monitoring/sdk/sentry.server.config.js +12 -0
  1178. package/dist/runtime/protection/botid-absent.d.ts +4 -0
  1179. package/dist/runtime/protection/botid-absent.js +5 -0
  1180. package/dist/runtime/server/backend-url.d.ts +17 -0
  1181. package/dist/runtime/server/backend-url.js +9 -0
  1182. package/dist/runtime/server/manifest.d.ts +2 -0
  1183. package/dist/runtime/server/manifest.js +6 -0
  1184. package/dist/runtime/server/monitoring/backend-calls.d.ts +9 -0
  1185. package/dist/runtime/server/monitoring/backend-calls.js +17 -0
  1186. package/dist/runtime/server/monitoring/capture.d.ts +15 -0
  1187. package/dist/runtime/server/monitoring/capture.js +24 -0
  1188. package/dist/runtime/server/monitoring/health.d.ts +15 -0
  1189. package/dist/runtime/server/monitoring/health.js +48 -0
  1190. package/dist/runtime/server/monitoring/local-log-route.d.ts +5 -0
  1191. package/dist/runtime/server/monitoring/local-log-route.js +32 -0
  1192. package/dist/runtime/server/monitoring/local-log.d.ts +19 -0
  1193. package/dist/runtime/server/monitoring/local-log.js +38 -0
  1194. package/dist/runtime/server/protection/csp.d.ts +17 -0
  1195. package/dist/runtime/server/protection/csp.js +28 -0
  1196. package/dist/runtime/server/protection/gate.d.ts +39 -0
  1197. package/dist/runtime/server/protection/gate.js +104 -0
  1198. package/dist/runtime/server/push-worker-source.d.ts +2 -0
  1199. package/dist/runtime/server/push-worker-source.js +25 -0
  1200. package/dist/runtime/server/push-worker.d.ts +2 -0
  1201. package/dist/runtime/server/push-worker.js +9 -0
  1202. package/dist/runtime/server/site-url.d.ts +5 -0
  1203. package/dist/runtime/server/site-url.js +5 -0
  1204. package/dist/runtime/server/tsconfig.json +6 -0
  1205. package/dist/runtime/server/visitor-ip.d.ts +4 -0
  1206. package/dist/runtime/server/visitor-ip.js +5 -0
  1207. package/dist/runtime/test-utils/aliases.d.ts +39 -0
  1208. package/dist/runtime/test-utils/aliases.js +26 -0
  1209. package/dist/runtime/test-utils/auth-answers.d.ts +85 -0
  1210. package/dist/runtime/test-utils/auth-answers.js +194 -0
  1211. package/dist/runtime/test-utils/auth-client.d.ts +3 -0
  1212. package/dist/runtime/test-utils/auth-client.js +69 -0
  1213. package/dist/runtime/test-utils/base-modules.d.ts +17 -0
  1214. package/dist/runtime/test-utils/client.d.ts +24 -0
  1215. package/dist/runtime/test-utils/client.js +29 -0
  1216. package/dist/runtime/test-utils/email.d.ts +29 -0
  1217. package/dist/runtime/test-utils/email.js +7 -0
  1218. package/dist/runtime/test-utils/index.d.ts +20 -0
  1219. package/dist/runtime/test-utils/index.js +7 -0
  1220. package/dist/runtime/test-utils/install.d.ts +58 -0
  1221. package/dist/runtime/test-utils/install.js +114 -0
  1222. package/dist/runtime/test-utils/mock.d.ts +245 -0
  1223. package/dist/runtime/test-utils/mock.js +130 -0
  1224. package/dist/runtime/vue/a11y.d.ts +74 -0
  1225. package/dist/runtime/vue/a11y.js +94 -0
  1226. package/dist/runtime/vue/admin-client.d.ts +18 -0
  1227. package/dist/runtime/vue/admin-client.js +32 -0
  1228. package/dist/runtime/vue/auth-client.d.ts +45 -0
  1229. package/dist/runtime/vue/auth-client.js +9 -0
  1230. package/dist/runtime/vue/components/account/AccountData.css +1 -0
  1231. package/dist/runtime/vue/components/account/AccountData.d.vue.ts +55 -0
  1232. package/dist/runtime/vue/components/account/AccountData.vue +150 -0
  1233. package/dist/runtime/vue/components/account/AccountData.vue.d.ts +55 -0
  1234. package/dist/runtime/vue/components/account/AccountDeletion.css +1 -0
  1235. package/dist/runtime/vue/components/account/AccountDeletion.d.vue.ts +3 -0
  1236. package/dist/runtime/vue/components/account/AccountDeletion.vue +95 -0
  1237. package/dist/runtime/vue/components/account/AccountDeletion.vue.d.ts +3 -0
  1238. package/dist/runtime/vue/components/account/AccountExport.css +1 -0
  1239. package/dist/runtime/vue/components/account/AccountExport.d.vue.ts +3 -0
  1240. package/dist/runtime/vue/components/account/AccountExport.vue +65 -0
  1241. package/dist/runtime/vue/components/account/AccountExport.vue.d.ts +3 -0
  1242. package/dist/runtime/vue/components/account/ActivationChecklist.css +1 -0
  1243. package/dist/runtime/vue/components/account/ActivationChecklist.d.vue.ts +22 -0
  1244. package/dist/runtime/vue/components/account/ActivationChecklist.vue +121 -0
  1245. package/dist/runtime/vue/components/account/ActivationChecklist.vue.d.ts +22 -0
  1246. package/dist/runtime/vue/components/account/ConsentPrompt.css +1 -0
  1247. package/dist/runtime/vue/components/account/ConsentPrompt.d.vue.ts +53 -0
  1248. package/dist/runtime/vue/components/account/ConsentPrompt.vue +106 -0
  1249. package/dist/runtime/vue/components/account/ConsentPrompt.vue.d.ts +53 -0
  1250. package/dist/runtime/vue/components/account/ConsentPromptAge.d.vue.ts +16 -0
  1251. package/dist/runtime/vue/components/account/ConsentPromptAge.vue +26 -0
  1252. package/dist/runtime/vue/components/account/ConsentPromptAge.vue.d.ts +16 -0
  1253. package/dist/runtime/vue/components/account/ConsentPromptDialog.d.vue.ts +49 -0
  1254. package/dist/runtime/vue/components/account/ConsentPromptDialog.vue +116 -0
  1255. package/dist/runtime/vue/components/account/ConsentPromptDialog.vue.d.ts +49 -0
  1256. package/dist/runtime/vue/components/account/ConsentPromptItem.d.vue.ts +28 -0
  1257. package/dist/runtime/vue/components/account/ConsentPromptItem.vue +44 -0
  1258. package/dist/runtime/vue/components/account/ConsentPromptItem.vue.d.ts +28 -0
  1259. package/dist/runtime/vue/components/account/ConsentPromptStorage.d.vue.ts +15 -0
  1260. package/dist/runtime/vue/components/account/ConsentPromptStorage.vue +67 -0
  1261. package/dist/runtime/vue/components/account/ConsentPromptStorage.vue.d.ts +15 -0
  1262. package/dist/runtime/vue/components/account/EmailUnsubscribe.css +1 -0
  1263. package/dist/runtime/vue/components/account/EmailUnsubscribe.d.vue.ts +13 -0
  1264. package/dist/runtime/vue/components/account/EmailUnsubscribe.vue +107 -0
  1265. package/dist/runtime/vue/components/account/EmailUnsubscribe.vue.d.ts +13 -0
  1266. package/dist/runtime/vue/components/account/HowDidYouHear.css +1 -0
  1267. package/dist/runtime/vue/components/account/HowDidYouHear.d.vue.ts +24 -0
  1268. package/dist/runtime/vue/components/account/HowDidYouHear.vue +149 -0
  1269. package/dist/runtime/vue/components/account/HowDidYouHear.vue.d.ts +24 -0
  1270. package/dist/runtime/vue/components/account/KeepAccount.css +1 -0
  1271. package/dist/runtime/vue/components/account/KeepAccount.d.vue.ts +10 -0
  1272. package/dist/runtime/vue/components/account/KeepAccount.vue +54 -0
  1273. package/dist/runtime/vue/components/account/KeepAccount.vue.d.ts +10 -0
  1274. package/dist/runtime/vue/components/account/OnboardingFlow.css +1 -0
  1275. package/dist/runtime/vue/components/account/OnboardingFlow.d.vue.ts +77 -0
  1276. package/dist/runtime/vue/components/account/OnboardingFlow.vue +138 -0
  1277. package/dist/runtime/vue/components/account/OnboardingFlow.vue.d.ts +77 -0
  1278. package/dist/runtime/vue/components/account/OnboardingPlan.d.vue.ts +3 -0
  1279. package/dist/runtime/vue/components/account/OnboardingPlan.vue +36 -0
  1280. package/dist/runtime/vue/components/account/OnboardingPlan.vue.d.ts +3 -0
  1281. package/dist/runtime/vue/components/account/OnboardingProfile.d.vue.ts +3 -0
  1282. package/dist/runtime/vue/components/account/OnboardingProfile.vue +111 -0
  1283. package/dist/runtime/vue/components/account/OnboardingProfile.vue.d.ts +3 -0
  1284. package/dist/runtime/vue/components/account/OnboardingStepActions.d.vue.ts +10 -0
  1285. package/dist/runtime/vue/components/account/OnboardingStepActions.vue +38 -0
  1286. package/dist/runtime/vue/components/account/OnboardingStepActions.vue.d.ts +10 -0
  1287. package/dist/runtime/vue/components/account/OnboardingTeammates.d.vue.ts +3 -0
  1288. package/dist/runtime/vue/components/account/OnboardingTeammates.vue +102 -0
  1289. package/dist/runtime/vue/components/account/OnboardingTeammates.vue.d.ts +3 -0
  1290. package/dist/runtime/vue/components/account/OnboardingWorkspace.d.vue.ts +3 -0
  1291. package/dist/runtime/vue/components/account/OnboardingWorkspace.vue +154 -0
  1292. package/dist/runtime/vue/components/account/OnboardingWorkspace.vue.d.ts +3 -0
  1293. package/dist/runtime/vue/components/account/ProfileEmailSection.d.vue.ts +4 -0
  1294. package/dist/runtime/vue/components/account/ProfileEmailSection.vue +97 -0
  1295. package/dist/runtime/vue/components/account/ProfileEmailSection.vue.d.ts +4 -0
  1296. package/dist/runtime/vue/components/account/ProfileIdentity.css +1 -0
  1297. package/dist/runtime/vue/components/account/ProfileIdentity.d.vue.ts +3 -0
  1298. package/dist/runtime/vue/components/account/ProfileIdentity.vue +50 -0
  1299. package/dist/runtime/vue/components/account/ProfileIdentity.vue.d.ts +3 -0
  1300. package/dist/runtime/vue/components/account/ProfileLanguageSection.d.vue.ts +3 -0
  1301. package/dist/runtime/vue/components/account/ProfileLanguageSection.vue +43 -0
  1302. package/dist/runtime/vue/components/account/ProfileLanguageSection.vue.d.ts +3 -0
  1303. package/dist/runtime/vue/components/account/ProfileNameSection.d.vue.ts +3 -0
  1304. package/dist/runtime/vue/components/account/ProfileNameSection.vue +35 -0
  1305. package/dist/runtime/vue/components/account/ProfileNameSection.vue.d.ts +3 -0
  1306. package/dist/runtime/vue/components/account/ProfilePreferencesSection.css +1 -0
  1307. package/dist/runtime/vue/components/account/ProfilePreferencesSection.d.vue.ts +4 -0
  1308. package/dist/runtime/vue/components/account/ProfilePreferencesSection.vue +155 -0
  1309. package/dist/runtime/vue/components/account/ProfilePreferencesSection.vue.d.ts +4 -0
  1310. package/dist/runtime/vue/components/account/ProfileSettings.css +1 -0
  1311. package/dist/runtime/vue/components/account/ProfileSettings.d.vue.ts +61 -0
  1312. package/dist/runtime/vue/components/account/ProfileSettings.vue +201 -0
  1313. package/dist/runtime/vue/components/account/ProfileSettings.vue.d.ts +61 -0
  1314. package/dist/runtime/vue/components/account/SecurityAlerts.css +1 -0
  1315. package/dist/runtime/vue/components/account/SecurityAlerts.d.vue.ts +4 -0
  1316. package/dist/runtime/vue/components/account/SecurityAlerts.vue +70 -0
  1317. package/dist/runtime/vue/components/account/SecurityAlerts.vue.d.ts +4 -0
  1318. package/dist/runtime/vue/components/account/SecurityPasskeys.css +1 -0
  1319. package/dist/runtime/vue/components/account/SecurityPasskeys.d.vue.ts +4 -0
  1320. package/dist/runtime/vue/components/account/SecurityPasskeys.vue +152 -0
  1321. package/dist/runtime/vue/components/account/SecurityPasskeys.vue.d.ts +4 -0
  1322. package/dist/runtime/vue/components/account/SecuritySessions.css +1 -0
  1323. package/dist/runtime/vue/components/account/SecuritySessions.d.vue.ts +4 -0
  1324. package/dist/runtime/vue/components/account/SecuritySessions.vue +84 -0
  1325. package/dist/runtime/vue/components/account/SecuritySessions.vue.d.ts +4 -0
  1326. package/dist/runtime/vue/components/account/SecuritySettings.css +1 -0
  1327. package/dist/runtime/vue/components/account/SecuritySettings.d.vue.ts +87 -0
  1328. package/dist/runtime/vue/components/account/SecuritySettings.vue +225 -0
  1329. package/dist/runtime/vue/components/account/SecuritySettings.vue.d.ts +87 -0
  1330. package/dist/runtime/vue/components/account/account-data.d.ts +49 -0
  1331. package/dist/runtime/vue/components/account/account-data.js +10 -0
  1332. package/dist/runtime/vue/components/account/activation-checklist.d.ts +10 -0
  1333. package/dist/runtime/vue/components/account/activation-checklist.js +0 -0
  1334. package/dist/runtime/vue/components/account/consent-prompt.d.ts +28 -0
  1335. package/dist/runtime/vue/components/account/consent-prompt.js +0 -0
  1336. package/dist/runtime/vue/components/account/how-did-you-hear.d.ts +10 -0
  1337. package/dist/runtime/vue/components/account/how-did-you-hear.js +3 -0
  1338. package/dist/runtime/vue/components/account/onboarding-flow.d.ts +30 -0
  1339. package/dist/runtime/vue/components/account/onboarding-flow.js +0 -0
  1340. package/dist/runtime/vue/components/account/profile-settings.d.ts +68 -0
  1341. package/dist/runtime/vue/components/account/profile-settings.js +10 -0
  1342. package/dist/runtime/vue/components/account/security-alerts.d.ts +13 -0
  1343. package/dist/runtime/vue/components/account/security-alerts.js +20 -0
  1344. package/dist/runtime/vue/components/account/security-settings.d.ts +69 -0
  1345. package/dist/runtime/vue/components/account/security-settings.js +10 -0
  1346. package/dist/runtime/vue/components/admin/AdminAccess.css +1 -0
  1347. package/dist/runtime/vue/components/admin/AdminAccess.d.vue.ts +7 -0
  1348. package/dist/runtime/vue/components/admin/AdminAccess.vue +46 -0
  1349. package/dist/runtime/vue/components/admin/AdminAccess.vue.d.ts +7 -0
  1350. package/dist/runtime/vue/components/admin/AdminAccessAdmissions.d.vue.ts +7 -0
  1351. package/dist/runtime/vue/components/admin/AdminAccessAdmissions.vue +51 -0
  1352. package/dist/runtime/vue/components/admin/AdminAccessAdmissions.vue.d.ts +7 -0
  1353. package/dist/runtime/vue/components/admin/AdminAccessAdmit.d.vue.ts +6 -0
  1354. package/dist/runtime/vue/components/admin/AdminAccessAdmit.vue +65 -0
  1355. package/dist/runtime/vue/components/admin/AdminAccessAdmit.vue.d.ts +6 -0
  1356. package/dist/runtime/vue/components/admin/AdminAccessCreate.d.vue.ts +6 -0
  1357. package/dist/runtime/vue/components/admin/AdminAccessCreate.vue +78 -0
  1358. package/dist/runtime/vue/components/admin/AdminAccessCreate.vue.d.ts +6 -0
  1359. package/dist/runtime/vue/components/admin/AdminAccessInvites.d.vue.ts +7 -0
  1360. package/dist/runtime/vue/components/admin/AdminAccessInvites.vue +47 -0
  1361. package/dist/runtime/vue/components/admin/AdminAccessInvites.vue.d.ts +7 -0
  1362. package/dist/runtime/vue/components/admin/AdminAccessPhase.d.vue.ts +7 -0
  1363. package/dist/runtime/vue/components/admin/AdminAccessPhase.vue +43 -0
  1364. package/dist/runtime/vue/components/admin/AdminAccessPhase.vue.d.ts +7 -0
  1365. package/dist/runtime/vue/components/admin/AdminAccessRevoke.d.vue.ts +10 -0
  1366. package/dist/runtime/vue/components/admin/AdminAccessRevoke.vue +18 -0
  1367. package/dist/runtime/vue/components/admin/AdminAccessRevoke.vue.d.ts +10 -0
  1368. package/dist/runtime/vue/components/admin/AdminAccessTable.d.vue.ts +18 -0
  1369. package/dist/runtime/vue/components/admin/AdminAccessTable.vue +50 -0
  1370. package/dist/runtime/vue/components/admin/AdminAccessTable.vue.d.ts +18 -0
  1371. package/dist/runtime/vue/components/admin/AdminAnalytics.css +1 -0
  1372. package/dist/runtime/vue/components/admin/AdminAnalytics.d.vue.ts +3 -0
  1373. package/dist/runtime/vue/components/admin/AdminAnalytics.vue +34 -0
  1374. package/dist/runtime/vue/components/admin/AdminAnalytics.vue.d.ts +3 -0
  1375. package/dist/runtime/vue/components/admin/AdminAnnouncements.css +1 -0
  1376. package/dist/runtime/vue/components/admin/AdminAnnouncements.d.vue.ts +7 -0
  1377. package/dist/runtime/vue/components/admin/AdminAnnouncements.vue +79 -0
  1378. package/dist/runtime/vue/components/admin/AdminAnnouncements.vue.d.ts +7 -0
  1379. package/dist/runtime/vue/components/admin/AdminAnnouncementsCompose.d.vue.ts +6 -0
  1380. package/dist/runtime/vue/components/admin/AdminAnnouncementsCompose.vue +132 -0
  1381. package/dist/runtime/vue/components/admin/AdminAnnouncementsCompose.vue.d.ts +6 -0
  1382. package/dist/runtime/vue/components/admin/AdminAnnouncementsItem.d.vue.ts +8 -0
  1383. package/dist/runtime/vue/components/admin/AdminAnnouncementsItem.vue +81 -0
  1384. package/dist/runtime/vue/components/admin/AdminAnnouncementsItem.vue.d.ts +8 -0
  1385. package/dist/runtime/vue/components/admin/AdminBilling.css +1 -0
  1386. package/dist/runtime/vue/components/admin/AdminBilling.d.vue.ts +3 -0
  1387. package/dist/runtime/vue/components/admin/AdminBilling.vue +200 -0
  1388. package/dist/runtime/vue/components/admin/AdminBilling.vue.d.ts +3 -0
  1389. package/dist/runtime/vue/components/admin/AdminChart.css +1 -0
  1390. package/dist/runtime/vue/components/admin/AdminChart.d.vue.ts +10 -0
  1391. package/dist/runtime/vue/components/admin/AdminChart.vue +31 -0
  1392. package/dist/runtime/vue/components/admin/AdminChart.vue.d.ts +10 -0
  1393. package/dist/runtime/vue/components/admin/AdminConsole.css +1 -0
  1394. package/dist/runtime/vue/components/admin/AdminConsole.d.vue.ts +38 -0
  1395. package/dist/runtime/vue/components/admin/AdminConsole.vue +131 -0
  1396. package/dist/runtime/vue/components/admin/AdminConsole.vue.d.ts +38 -0
  1397. package/dist/runtime/vue/components/admin/AdminCosts.css +1 -0
  1398. package/dist/runtime/vue/components/admin/AdminCosts.d.vue.ts +3 -0
  1399. package/dist/runtime/vue/components/admin/AdminCosts.vue +120 -0
  1400. package/dist/runtime/vue/components/admin/AdminCosts.vue.d.ts +3 -0
  1401. package/dist/runtime/vue/components/admin/AdminDrawerFrame.d.vue.ts +24 -0
  1402. package/dist/runtime/vue/components/admin/AdminDrawerFrame.vue +71 -0
  1403. package/dist/runtime/vue/components/admin/AdminDrawerFrame.vue.d.ts +24 -0
  1404. package/dist/runtime/vue/components/admin/AdminExperiments.css +1 -0
  1405. package/dist/runtime/vue/components/admin/AdminExperiments.d.vue.ts +3 -0
  1406. package/dist/runtime/vue/components/admin/AdminExperiments.vue +159 -0
  1407. package/dist/runtime/vue/components/admin/AdminExperiments.vue.d.ts +3 -0
  1408. package/dist/runtime/vue/components/admin/AdminFlags.css +1 -0
  1409. package/dist/runtime/vue/components/admin/AdminFlags.d.vue.ts +9 -0
  1410. package/dist/runtime/vue/components/admin/AdminFlags.vue +429 -0
  1411. package/dist/runtime/vue/components/admin/AdminFlags.vue.d.ts +9 -0
  1412. package/dist/runtime/vue/components/admin/AdminGrowth.css +1 -0
  1413. package/dist/runtime/vue/components/admin/AdminGrowth.d.vue.ts +3 -0
  1414. package/dist/runtime/vue/components/admin/AdminGrowth.vue +204 -0
  1415. package/dist/runtime/vue/components/admin/AdminGrowth.vue.d.ts +3 -0
  1416. package/dist/runtime/vue/components/admin/AdminInbox.css +1 -0
  1417. package/dist/runtime/vue/components/admin/AdminInbox.d.vue.ts +3 -0
  1418. package/dist/runtime/vue/components/admin/AdminInbox.vue +81 -0
  1419. package/dist/runtime/vue/components/admin/AdminInbox.vue.d.ts +3 -0
  1420. package/dist/runtime/vue/components/admin/AdminInboxMessage.d.vue.ts +8 -0
  1421. package/dist/runtime/vue/components/admin/AdminInboxMessage.vue +107 -0
  1422. package/dist/runtime/vue/components/admin/AdminInboxMessage.vue.d.ts +8 -0
  1423. package/dist/runtime/vue/components/admin/AdminListFrame.d.vue.ts +29 -0
  1424. package/dist/runtime/vue/components/admin/AdminListFrame.vue +77 -0
  1425. package/dist/runtime/vue/components/admin/AdminListFrame.vue.d.ts +29 -0
  1426. package/dist/runtime/vue/components/admin/AdminListTail.d.vue.ts +14 -0
  1427. package/dist/runtime/vue/components/admin/AdminListTail.vue +38 -0
  1428. package/dist/runtime/vue/components/admin/AdminListTail.vue.d.ts +14 -0
  1429. package/dist/runtime/vue/components/admin/AdminQueue.css +1 -0
  1430. package/dist/runtime/vue/components/admin/AdminQueue.d.vue.ts +3 -0
  1431. package/dist/runtime/vue/components/admin/AdminQueue.vue +90 -0
  1432. package/dist/runtime/vue/components/admin/AdminQueue.vue.d.ts +3 -0
  1433. package/dist/runtime/vue/components/admin/AdminQueueControls.d.vue.ts +10 -0
  1434. package/dist/runtime/vue/components/admin/AdminQueueControls.vue +56 -0
  1435. package/dist/runtime/vue/components/admin/AdminQueueControls.vue.d.ts +10 -0
  1436. package/dist/runtime/vue/components/admin/AdminQueueJob.d.vue.ts +10 -0
  1437. package/dist/runtime/vue/components/admin/AdminQueueJob.vue +49 -0
  1438. package/dist/runtime/vue/components/admin/AdminQueueJob.vue.d.ts +10 -0
  1439. package/dist/runtime/vue/components/admin/AdminQueueJobs.d.vue.ts +8 -0
  1440. package/dist/runtime/vue/components/admin/AdminQueueJobs.vue +82 -0
  1441. package/dist/runtime/vue/components/admin/AdminQueueJobs.vue.d.ts +8 -0
  1442. package/dist/runtime/vue/components/admin/AdminQueueModels.d.vue.ts +10 -0
  1443. package/dist/runtime/vue/components/admin/AdminQueueModels.vue +84 -0
  1444. package/dist/runtime/vue/components/admin/AdminQueueModels.vue.d.ts +10 -0
  1445. package/dist/runtime/vue/components/admin/AdminQueueTier.d.vue.ts +10 -0
  1446. package/dist/runtime/vue/components/admin/AdminQueueTier.vue +83 -0
  1447. package/dist/runtime/vue/components/admin/AdminQueueTier.vue.d.ts +10 -0
  1448. package/dist/runtime/vue/components/admin/AdminQueueTiers.d.vue.ts +10 -0
  1449. package/dist/runtime/vue/components/admin/AdminQueueTiers.vue +40 -0
  1450. package/dist/runtime/vue/components/admin/AdminQueueTiers.vue.d.ts +10 -0
  1451. package/dist/runtime/vue/components/admin/AdminReferrals.css +1 -0
  1452. package/dist/runtime/vue/components/admin/AdminReferrals.d.vue.ts +7 -0
  1453. package/dist/runtime/vue/components/admin/AdminReferrals.vue +245 -0
  1454. package/dist/runtime/vue/components/admin/AdminReferrals.vue.d.ts +7 -0
  1455. package/dist/runtime/vue/components/admin/AdminReports.css +1 -0
  1456. package/dist/runtime/vue/components/admin/AdminReports.d.vue.ts +7 -0
  1457. package/dist/runtime/vue/components/admin/AdminReports.vue +122 -0
  1458. package/dist/runtime/vue/components/admin/AdminReports.vue.d.ts +7 -0
  1459. package/dist/runtime/vue/components/admin/AdminReportsAppeal.d.vue.ts +9 -0
  1460. package/dist/runtime/vue/components/admin/AdminReportsAppeal.vue +55 -0
  1461. package/dist/runtime/vue/components/admin/AdminReportsAppeal.vue.d.ts +9 -0
  1462. package/dist/runtime/vue/components/admin/AdminReportsDecision.d.vue.ts +14 -0
  1463. package/dist/runtime/vue/components/admin/AdminReportsDecision.vue +72 -0
  1464. package/dist/runtime/vue/components/admin/AdminReportsDecision.vue.d.ts +14 -0
  1465. package/dist/runtime/vue/components/admin/AdminReportsNotice.d.vue.ts +8 -0
  1466. package/dist/runtime/vue/components/admin/AdminReportsNotice.vue +47 -0
  1467. package/dist/runtime/vue/components/admin/AdminReportsNotice.vue.d.ts +8 -0
  1468. package/dist/runtime/vue/components/admin/AdminReportsSubject.d.vue.ts +8 -0
  1469. package/dist/runtime/vue/components/admin/AdminReportsSubject.vue +76 -0
  1470. package/dist/runtime/vue/components/admin/AdminReportsSubject.vue.d.ts +8 -0
  1471. package/dist/runtime/vue/components/admin/AdminRevenue.css +1 -0
  1472. package/dist/runtime/vue/components/admin/AdminRevenue.d.vue.ts +3 -0
  1473. package/dist/runtime/vue/components/admin/AdminRevenue.vue +197 -0
  1474. package/dist/runtime/vue/components/admin/AdminRevenue.vue.d.ts +3 -0
  1475. package/dist/runtime/vue/components/admin/AdminSuppressions.css +1 -0
  1476. package/dist/runtime/vue/components/admin/AdminSuppressions.d.vue.ts +3 -0
  1477. package/dist/runtime/vue/components/admin/AdminSuppressions.vue +98 -0
  1478. package/dist/runtime/vue/components/admin/AdminSuppressions.vue.d.ts +3 -0
  1479. package/dist/runtime/vue/components/admin/AdminSystem.d.vue.ts +3 -0
  1480. package/dist/runtime/vue/components/admin/AdminSystem.vue +125 -0
  1481. package/dist/runtime/vue/components/admin/AdminSystem.vue.d.ts +3 -0
  1482. package/dist/runtime/vue/components/admin/AdminTabDialogs.d.vue.ts +8 -0
  1483. package/dist/runtime/vue/components/admin/AdminTabDialogs.vue +18 -0
  1484. package/dist/runtime/vue/components/admin/AdminTabDialogs.vue.d.ts +8 -0
  1485. package/dist/runtime/vue/components/admin/AdminTabStatus.d.vue.ts +7 -0
  1486. package/dist/runtime/vue/components/admin/AdminTabStatus.vue +26 -0
  1487. package/dist/runtime/vue/components/admin/AdminTabStatus.vue.d.ts +7 -0
  1488. package/dist/runtime/vue/components/admin/AdminUserDrawer.d.vue.ts +4 -0
  1489. package/dist/runtime/vue/components/admin/AdminUserDrawer.vue +294 -0
  1490. package/dist/runtime/vue/components/admin/AdminUserDrawer.vue.d.ts +4 -0
  1491. package/dist/runtime/vue/components/admin/AdminUsers.d.vue.ts +863 -0
  1492. package/dist/runtime/vue/components/admin/AdminUsers.vue +157 -0
  1493. package/dist/runtime/vue/components/admin/AdminUsers.vue.d.ts +863 -0
  1494. package/dist/runtime/vue/components/admin/AdminUsersTable.d.vue.ts +3 -0
  1495. package/dist/runtime/vue/components/admin/AdminUsersTable.vue +108 -0
  1496. package/dist/runtime/vue/components/admin/AdminUsersTable.vue.d.ts +3 -0
  1497. package/dist/runtime/vue/components/admin/AdminWaitlist.css +1 -0
  1498. package/dist/runtime/vue/components/admin/AdminWaitlist.d.vue.ts +7 -0
  1499. package/dist/runtime/vue/components/admin/AdminWaitlist.vue +63 -0
  1500. package/dist/runtime/vue/components/admin/AdminWaitlist.vue.d.ts +7 -0
  1501. package/dist/runtime/vue/components/admin/AdminWaitlistActions.d.vue.ts +6 -0
  1502. package/dist/runtime/vue/components/admin/AdminWaitlistActions.vue +58 -0
  1503. package/dist/runtime/vue/components/admin/AdminWaitlistActions.vue.d.ts +6 -0
  1504. package/dist/runtime/vue/components/admin/AdminWaitlistFilter.d.vue.ts +6 -0
  1505. package/dist/runtime/vue/components/admin/AdminWaitlistFilter.vue +86 -0
  1506. package/dist/runtime/vue/components/admin/AdminWaitlistFilter.vue.d.ts +6 -0
  1507. package/dist/runtime/vue/components/admin/AdminWaitlistSummary.d.vue.ts +8 -0
  1508. package/dist/runtime/vue/components/admin/AdminWaitlistSummary.vue +63 -0
  1509. package/dist/runtime/vue/components/admin/AdminWaitlistSummary.vue.d.ts +8 -0
  1510. package/dist/runtime/vue/components/admin/AdminWaitlistTable.d.vue.ts +6 -0
  1511. package/dist/runtime/vue/components/admin/AdminWaitlistTable.vue +75 -0
  1512. package/dist/runtime/vue/components/admin/AdminWaitlistTable.vue.d.ts +6 -0
  1513. package/dist/runtime/vue/components/admin/AdminWebhooks.css +1 -0
  1514. package/dist/runtime/vue/components/admin/AdminWebhooks.d.vue.ts +3 -0
  1515. package/dist/runtime/vue/components/admin/AdminWebhooks.vue +141 -0
  1516. package/dist/runtime/vue/components/admin/AdminWebhooks.vue.d.ts +3 -0
  1517. package/dist/runtime/vue/components/admin/AdminWorkspaceDrawer.d.vue.ts +4 -0
  1518. package/dist/runtime/vue/components/admin/AdminWorkspaceDrawer.vue +99 -0
  1519. package/dist/runtime/vue/components/admin/AdminWorkspaceDrawer.vue.d.ts +4 -0
  1520. package/dist/runtime/vue/components/admin/AdminWorkspaces.d.vue.ts +846 -0
  1521. package/dist/runtime/vue/components/admin/AdminWorkspaces.vue +90 -0
  1522. package/dist/runtime/vue/components/admin/AdminWorkspaces.vue.d.ts +846 -0
  1523. package/dist/runtime/vue/components/admin/AdminWorkspacesTable.d.vue.ts +3 -0
  1524. package/dist/runtime/vue/components/admin/AdminWorkspacesTable.vue +81 -0
  1525. package/dist/runtime/vue/components/admin/AdminWorkspacesTable.vue.d.ts +3 -0
  1526. package/dist/runtime/vue/components/admin/admin-access-tab.d.ts +2 -0
  1527. package/dist/runtime/vue/components/admin/admin-access-tab.js +88 -0
  1528. package/dist/runtime/vue/components/admin/admin-analytics-tab.d.ts +1 -0
  1529. package/dist/runtime/vue/components/admin/admin-analytics-tab.js +19 -0
  1530. package/dist/runtime/vue/components/admin/admin-announcements-tab.d.ts +2 -0
  1531. package/dist/runtime/vue/components/admin/admin-announcements-tab.js +97 -0
  1532. package/dist/runtime/vue/components/admin/admin-billing-tab.d.ts +1 -0
  1533. package/dist/runtime/vue/components/admin/admin-billing-tab.js +43 -0
  1534. package/dist/runtime/vue/components/admin/admin-costs-tab.d.ts +1 -0
  1535. package/dist/runtime/vue/components/admin/admin-costs-tab.js +23 -0
  1536. package/dist/runtime/vue/components/admin/admin-experiments-tab.d.ts +1 -0
  1537. package/dist/runtime/vue/components/admin/admin-experiments-tab.js +60 -0
  1538. package/dist/runtime/vue/components/admin/admin-growth-tab.d.ts +1 -0
  1539. package/dist/runtime/vue/components/admin/admin-growth-tab.js +58 -0
  1540. package/dist/runtime/vue/components/admin/admin-inbox-tab.d.ts +4 -0
  1541. package/dist/runtime/vue/components/admin/admin-inbox-tab.js +44 -0
  1542. package/dist/runtime/vue/components/admin/admin-reports-tab.d.ts +21 -0
  1543. package/dist/runtime/vue/components/admin/admin-reports-tab.js +89 -0
  1544. package/dist/runtime/vue/components/admin/admin-revenue-tab.d.ts +12 -0
  1545. package/dist/runtime/vue/components/admin/admin-revenue-tab.js +81 -0
  1546. package/dist/runtime/vue/components/admin/admin-suppressions-tab.d.ts +1 -0
  1547. package/dist/runtime/vue/components/admin/admin-suppressions-tab.js +27 -0
  1548. package/dist/runtime/vue/components/admin/admin-tabs.d.ts +86 -0
  1549. package/dist/runtime/vue/components/admin/admin-tabs.js +69 -0
  1550. package/dist/runtime/vue/components/admin/admin-views.d.ts +34 -0
  1551. package/dist/runtime/vue/components/admin/admin-views.js +22 -0
  1552. package/dist/runtime/vue/components/admin/admin-waitlist-tab.d.ts +2 -0
  1553. package/dist/runtime/vue/components/admin/admin-waitlist-tab.js +93 -0
  1554. package/dist/runtime/vue/components/admin/admin-webhooks-tab.d.ts +5 -0
  1555. package/dist/runtime/vue/components/admin/admin-webhooks-tab.js +35 -0
  1556. package/dist/runtime/vue/components/admin/admin.css +1 -0
  1557. package/dist/runtime/vue/components/admin/admin.d.ts +132 -0
  1558. package/dist/runtime/vue/components/admin/admin.js +96 -0
  1559. package/dist/runtime/vue/components/auth/AuthForm.css +1 -0
  1560. package/dist/runtime/vue/components/auth/AuthForm.d.vue.ts +90 -0
  1561. package/dist/runtime/vue/components/auth/AuthForm.vue +192 -0
  1562. package/dist/runtime/vue/components/auth/AuthForm.vue.d.ts +90 -0
  1563. package/dist/runtime/vue/components/auth/AuthFormAge.css +1 -0
  1564. package/dist/runtime/vue/components/auth/AuthFormAge.d.vue.ts +3 -0
  1565. package/dist/runtime/vue/components/auth/AuthFormAge.vue +42 -0
  1566. package/dist/runtime/vue/components/auth/AuthFormAge.vue.d.ts +3 -0
  1567. package/dist/runtime/vue/components/auth/AuthFormAgreement.css +1 -0
  1568. package/dist/runtime/vue/components/auth/AuthFormAgreement.d.vue.ts +3 -0
  1569. package/dist/runtime/vue/components/auth/AuthFormAgreement.vue +31 -0
  1570. package/dist/runtime/vue/components/auth/AuthFormAgreement.vue.d.ts +3 -0
  1571. package/dist/runtime/vue/components/auth/AuthFormChoose.css +1 -0
  1572. package/dist/runtime/vue/components/auth/AuthFormChoose.d.vue.ts +3 -0
  1573. package/dist/runtime/vue/components/auth/AuthFormChoose.vue +44 -0
  1574. package/dist/runtime/vue/components/auth/AuthFormChoose.vue.d.ts +3 -0
  1575. package/dist/runtime/vue/components/auth/AuthFormCode.d.vue.ts +3 -0
  1576. package/dist/runtime/vue/components/auth/AuthFormCode.vue +46 -0
  1577. package/dist/runtime/vue/components/auth/AuthFormCode.vue.d.ts +3 -0
  1578. package/dist/runtime/vue/components/auth/AuthFormEmail.d.vue.ts +3 -0
  1579. package/dist/runtime/vue/components/auth/AuthFormEmail.vue +40 -0
  1580. package/dist/runtime/vue/components/auth/AuthFormEmail.vue.d.ts +3 -0
  1581. package/dist/runtime/vue/components/auth/AuthFormError.css +1 -0
  1582. package/dist/runtime/vue/components/auth/AuthFormError.d.vue.ts +3 -0
  1583. package/dist/runtime/vue/components/auth/AuthFormError.vue +18 -0
  1584. package/dist/runtime/vue/components/auth/AuthFormError.vue.d.ts +3 -0
  1585. package/dist/runtime/vue/components/auth/AuthFormHeader.css +1 -0
  1586. package/dist/runtime/vue/components/auth/AuthFormHeader.d.vue.ts +3 -0
  1587. package/dist/runtime/vue/components/auth/AuthFormHeader.vue +25 -0
  1588. package/dist/runtime/vue/components/auth/AuthFormHeader.vue.d.ts +3 -0
  1589. package/dist/runtime/vue/components/auth/AuthFormInviteCode.css +1 -0
  1590. package/dist/runtime/vue/components/auth/AuthFormInviteCode.d.vue.ts +3 -0
  1591. package/dist/runtime/vue/components/auth/AuthFormInviteCode.vue +48 -0
  1592. package/dist/runtime/vue/components/auth/AuthFormInviteCode.vue.d.ts +3 -0
  1593. package/dist/runtime/vue/components/auth/AuthFormPasskey.d.vue.ts +3 -0
  1594. package/dist/runtime/vue/components/auth/AuthFormPasskey.vue +26 -0
  1595. package/dist/runtime/vue/components/auth/AuthFormPasskey.vue.d.ts +3 -0
  1596. package/dist/runtime/vue/components/auth/AuthFormPasskeyOffer.css +1 -0
  1597. package/dist/runtime/vue/components/auth/AuthFormPasskeyOffer.d.vue.ts +3 -0
  1598. package/dist/runtime/vue/components/auth/AuthFormPasskeyOffer.vue +46 -0
  1599. package/dist/runtime/vue/components/auth/AuthFormPasskeyOffer.vue.d.ts +3 -0
  1600. package/dist/runtime/vue/components/auth/AuthFormRecover.css +1 -0
  1601. package/dist/runtime/vue/components/auth/AuthFormRecover.d.vue.ts +3 -0
  1602. package/dist/runtime/vue/components/auth/AuthFormRecover.vue +52 -0
  1603. package/dist/runtime/vue/components/auth/AuthFormRecover.vue.d.ts +3 -0
  1604. package/dist/runtime/vue/components/auth/AuthFormUndeliverable.css +1 -0
  1605. package/dist/runtime/vue/components/auth/AuthFormUndeliverable.d.vue.ts +3 -0
  1606. package/dist/runtime/vue/components/auth/AuthFormUndeliverable.vue +29 -0
  1607. package/dist/runtime/vue/components/auth/AuthFormUndeliverable.vue.d.ts +3 -0
  1608. package/dist/runtime/vue/components/auth/AuthFormWaitlisted.css +1 -0
  1609. package/dist/runtime/vue/components/auth/AuthFormWaitlisted.d.vue.ts +3 -0
  1610. package/dist/runtime/vue/components/auth/AuthFormWaitlisted.vue +36 -0
  1611. package/dist/runtime/vue/components/auth/AuthFormWaitlisted.vue.d.ts +3 -0
  1612. package/dist/runtime/vue/components/auth/InviteRedeem.css +1 -0
  1613. package/dist/runtime/vue/components/auth/InviteRedeem.d.vue.ts +3 -0
  1614. package/dist/runtime/vue/components/auth/InviteRedeem.vue +47 -0
  1615. package/dist/runtime/vue/components/auth/InviteRedeem.vue.d.ts +3 -0
  1616. package/dist/runtime/vue/components/auth/ReauthenticateCode.css +1 -0
  1617. package/dist/runtime/vue/components/auth/ReauthenticateCode.d.vue.ts +3 -0
  1618. package/dist/runtime/vue/components/auth/ReauthenticateCode.vue +57 -0
  1619. package/dist/runtime/vue/components/auth/ReauthenticateCode.vue.d.ts +3 -0
  1620. package/dist/runtime/vue/components/auth/ReauthenticateDialog.css +1 -0
  1621. package/dist/runtime/vue/components/auth/ReauthenticateDialog.d.vue.ts +43 -0
  1622. package/dist/runtime/vue/components/auth/ReauthenticateDialog.vue +136 -0
  1623. package/dist/runtime/vue/components/auth/ReauthenticateDialog.vue.d.ts +43 -0
  1624. package/dist/runtime/vue/components/auth/ReauthenticatePasskey.css +1 -0
  1625. package/dist/runtime/vue/components/auth/ReauthenticatePasskey.d.vue.ts +3 -0
  1626. package/dist/runtime/vue/components/auth/ReauthenticatePasskey.vue +36 -0
  1627. package/dist/runtime/vue/components/auth/ReauthenticatePasskey.vue.d.ts +3 -0
  1628. package/dist/runtime/vue/components/auth/WaitlistCode.css +1 -0
  1629. package/dist/runtime/vue/components/auth/WaitlistCode.d.vue.ts +3 -0
  1630. package/dist/runtime/vue/components/auth/WaitlistCode.vue +55 -0
  1631. package/dist/runtime/vue/components/auth/WaitlistCode.vue.d.ts +3 -0
  1632. package/dist/runtime/vue/components/auth/WaitlistForm.css +1 -0
  1633. package/dist/runtime/vue/components/auth/WaitlistForm.d.vue.ts +74 -0
  1634. package/dist/runtime/vue/components/auth/WaitlistForm.vue +81 -0
  1635. package/dist/runtime/vue/components/auth/WaitlistForm.vue.d.ts +74 -0
  1636. package/dist/runtime/vue/components/auth/WaitlistJoin.css +1 -0
  1637. package/dist/runtime/vue/components/auth/WaitlistJoin.d.vue.ts +3 -0
  1638. package/dist/runtime/vue/components/auth/WaitlistJoin.vue +97 -0
  1639. package/dist/runtime/vue/components/auth/WaitlistJoin.vue.d.ts +3 -0
  1640. package/dist/runtime/vue/components/auth/WaitlistPlace.css +1 -0
  1641. package/dist/runtime/vue/components/auth/WaitlistPlace.d.vue.ts +3 -0
  1642. package/dist/runtime/vue/components/auth/WaitlistPlace.vue +68 -0
  1643. package/dist/runtime/vue/components/auth/WaitlistPlace.vue.d.ts +3 -0
  1644. package/dist/runtime/vue/components/auth/WaitlistShare.css +1 -0
  1645. package/dist/runtime/vue/components/auth/WaitlistShare.d.vue.ts +3 -0
  1646. package/dist/runtime/vue/components/auth/WaitlistShare.vue +65 -0
  1647. package/dist/runtime/vue/components/auth/WaitlistShare.vue.d.ts +3 -0
  1648. package/dist/runtime/vue/components/auth/WaitlistStatus.css +1 -0
  1649. package/dist/runtime/vue/components/auth/WaitlistStatus.d.vue.ts +3 -0
  1650. package/dist/runtime/vue/components/auth/WaitlistStatus.vue +58 -0
  1651. package/dist/runtime/vue/components/auth/WaitlistStatus.vue.d.ts +3 -0
  1652. package/dist/runtime/vue/components/auth/auth-form.d.ts +52 -0
  1653. package/dist/runtime/vue/components/auth/auth-form.js +31 -0
  1654. package/dist/runtime/vue/components/auth/reauthenticate.d.ts +31 -0
  1655. package/dist/runtime/vue/components/auth/reauthenticate.js +10 -0
  1656. package/dist/runtime/vue/components/auth/waitlist-form.d.ts +10 -0
  1657. package/dist/runtime/vue/components/auth/waitlist-form.js +9 -0
  1658. package/dist/runtime/vue/components/billing/BillingCheckoutLink.d.vue.ts +50 -0
  1659. package/dist/runtime/vue/components/billing/BillingCheckoutLink.vue +63 -0
  1660. package/dist/runtime/vue/components/billing/BillingCheckoutLink.vue.d.ts +50 -0
  1661. package/dist/runtime/vue/components/billing/BillingHistory.css +1 -0
  1662. package/dist/runtime/vue/components/billing/BillingHistory.d.vue.ts +51 -0
  1663. package/dist/runtime/vue/components/billing/BillingHistory.vue +98 -0
  1664. package/dist/runtime/vue/components/billing/BillingHistory.vue.d.ts +51 -0
  1665. package/dist/runtime/vue/components/billing/BillingHistoryOrder.css +1 -0
  1666. package/dist/runtime/vue/components/billing/BillingHistoryOrder.d.vue.ts +4 -0
  1667. package/dist/runtime/vue/components/billing/BillingHistoryOrder.vue +49 -0
  1668. package/dist/runtime/vue/components/billing/BillingHistoryOrder.vue.d.ts +4 -0
  1669. package/dist/runtime/vue/components/billing/BillingPortalLink.d.vue.ts +31 -0
  1670. package/dist/runtime/vue/components/billing/BillingPortalLink.vue +39 -0
  1671. package/dist/runtime/vue/components/billing/BillingPortalLink.vue.d.ts +31 -0
  1672. package/dist/runtime/vue/components/billing/CancelConfirmGroup.d.vue.ts +7 -0
  1673. package/dist/runtime/vue/components/billing/CancelConfirmGroup.vue +47 -0
  1674. package/dist/runtime/vue/components/billing/CancelConfirmGroup.vue.d.ts +7 -0
  1675. package/dist/runtime/vue/components/billing/CancelFlow.css +1 -0
  1676. package/dist/runtime/vue/components/billing/CancelFlow.d.vue.ts +69 -0
  1677. package/dist/runtime/vue/components/billing/CancelFlow.vue +104 -0
  1678. package/dist/runtime/vue/components/billing/CancelFlow.vue.d.ts +69 -0
  1679. package/dist/runtime/vue/components/billing/CancelFlowConfirm.d.vue.ts +3 -0
  1680. package/dist/runtime/vue/components/billing/CancelFlowConfirm.vue +34 -0
  1681. package/dist/runtime/vue/components/billing/CancelFlowConfirm.vue.d.ts +3 -0
  1682. package/dist/runtime/vue/components/billing/CancelFlowEnd.d.vue.ts +3 -0
  1683. package/dist/runtime/vue/components/billing/CancelFlowEnd.vue +42 -0
  1684. package/dist/runtime/vue/components/billing/CancelFlowEnd.vue.d.ts +3 -0
  1685. package/dist/runtime/vue/components/billing/CancelFlowOffer.d.vue.ts +3 -0
  1686. package/dist/runtime/vue/components/billing/CancelFlowOffer.vue +29 -0
  1687. package/dist/runtime/vue/components/billing/CancelFlowOffer.vue.d.ts +3 -0
  1688. package/dist/runtime/vue/components/billing/CancelFlowQuestion.d.vue.ts +3 -0
  1689. package/dist/runtime/vue/components/billing/CancelFlowQuestion.vue +52 -0
  1690. package/dist/runtime/vue/components/billing/CancelFlowQuestion.vue.d.ts +3 -0
  1691. package/dist/runtime/vue/components/billing/GiftList.css +1 -0
  1692. package/dist/runtime/vue/components/billing/GiftList.d.vue.ts +8 -0
  1693. package/dist/runtime/vue/components/billing/GiftList.vue +118 -0
  1694. package/dist/runtime/vue/components/billing/GiftList.vue.d.ts +8 -0
  1695. package/dist/runtime/vue/components/billing/GiftReceived.d.vue.ts +28 -0
  1696. package/dist/runtime/vue/components/billing/GiftReceived.vue +62 -0
  1697. package/dist/runtime/vue/components/billing/GiftReceived.vue.d.ts +28 -0
  1698. package/dist/runtime/vue/components/billing/GiftSent.d.vue.ts +27 -0
  1699. package/dist/runtime/vue/components/billing/GiftSent.vue +121 -0
  1700. package/dist/runtime/vue/components/billing/GiftSent.vue.d.ts +27 -0
  1701. package/dist/runtime/vue/components/billing/PricingCancelConfirm.d.vue.ts +3 -0
  1702. package/dist/runtime/vue/components/billing/PricingCancelConfirm.vue +13 -0
  1703. package/dist/runtime/vue/components/billing/PricingCancelConfirm.vue.d.ts +3 -0
  1704. package/dist/runtime/vue/components/billing/PricingCurrencySelect.d.vue.ts +3 -0
  1705. package/dist/runtime/vue/components/billing/PricingCurrencySelect.vue +45 -0
  1706. package/dist/runtime/vue/components/billing/PricingCurrencySelect.vue.d.ts +3 -0
  1707. package/dist/runtime/vue/components/billing/PricingEmailOptOut.css +1 -0
  1708. package/dist/runtime/vue/components/billing/PricingEmailOptOut.d.vue.ts +10 -0
  1709. package/dist/runtime/vue/components/billing/PricingEmailOptOut.vue +23 -0
  1710. package/dist/runtime/vue/components/billing/PricingEmailOptOut.vue.d.ts +10 -0
  1711. package/dist/runtime/vue/components/billing/PricingPackCard.css +1 -0
  1712. package/dist/runtime/vue/components/billing/PricingPackCard.d.vue.ts +4 -0
  1713. package/dist/runtime/vue/components/billing/PricingPackCard.vue +78 -0
  1714. package/dist/runtime/vue/components/billing/PricingPackCard.vue.d.ts +4 -0
  1715. package/dist/runtime/vue/components/billing/PricingPeriodSwitch.d.vue.ts +3 -0
  1716. package/dist/runtime/vue/components/billing/PricingPeriodSwitch.vue +46 -0
  1717. package/dist/runtime/vue/components/billing/PricingPeriodSwitch.vue.d.ts +3 -0
  1718. package/dist/runtime/vue/components/billing/PricingPlanCard.css +1 -0
  1719. package/dist/runtime/vue/components/billing/PricingPlanCard.d.vue.ts +4 -0
  1720. package/dist/runtime/vue/components/billing/PricingPlanCard.vue +136 -0
  1721. package/dist/runtime/vue/components/billing/PricingPlanCard.vue.d.ts +4 -0
  1722. package/dist/runtime/vue/components/billing/PricingPromotion.d.vue.ts +7 -0
  1723. package/dist/runtime/vue/components/billing/PricingPromotion.vue +20 -0
  1724. package/dist/runtime/vue/components/billing/PricingPromotion.vue.d.ts +7 -0
  1725. package/dist/runtime/vue/components/billing/PricingTable.css +1 -0
  1726. package/dist/runtime/vue/components/billing/PricingTable.d.vue.ts +145 -0
  1727. package/dist/runtime/vue/components/billing/PricingTable.vue +543 -0
  1728. package/dist/runtime/vue/components/billing/PricingTable.vue.d.ts +145 -0
  1729. package/dist/runtime/vue/components/billing/ReferralCard.css +1 -0
  1730. package/dist/runtime/vue/components/billing/ReferralCard.d.vue.ts +67 -0
  1731. package/dist/runtime/vue/components/billing/ReferralCard.vue +178 -0
  1732. package/dist/runtime/vue/components/billing/ReferralCard.vue.d.ts +67 -0
  1733. package/dist/runtime/vue/components/billing/ReferralLanding.css +1 -0
  1734. package/dist/runtime/vue/components/billing/ReferralLanding.d.vue.ts +3 -0
  1735. package/dist/runtime/vue/components/billing/ReferralLanding.vue +100 -0
  1736. package/dist/runtime/vue/components/billing/ReferralLanding.vue.d.ts +3 -0
  1737. package/dist/runtime/vue/components/billing/UpgradePrompt.css +1 -0
  1738. package/dist/runtime/vue/components/billing/UpgradePrompt.d.vue.ts +45 -0
  1739. package/dist/runtime/vue/components/billing/UpgradePrompt.vue +96 -0
  1740. package/dist/runtime/vue/components/billing/UpgradePrompt.vue.d.ts +45 -0
  1741. package/dist/runtime/vue/components/billing/UsageHistory.css +1 -0
  1742. package/dist/runtime/vue/components/billing/UsageHistory.d.vue.ts +34 -0
  1743. package/dist/runtime/vue/components/billing/UsageHistory.vue +76 -0
  1744. package/dist/runtime/vue/components/billing/UsageHistory.vue.d.ts +34 -0
  1745. package/dist/runtime/vue/components/billing/UsageHistoryEvent.css +1 -0
  1746. package/dist/runtime/vue/components/billing/UsageHistoryEvent.d.vue.ts +4 -0
  1747. package/dist/runtime/vue/components/billing/UsageHistoryEvent.vue +24 -0
  1748. package/dist/runtime/vue/components/billing/UsageHistoryEvent.vue.d.ts +4 -0
  1749. package/dist/runtime/vue/components/billing/WithdrawalButton.css +1 -0
  1750. package/dist/runtime/vue/components/billing/WithdrawalButton.d.vue.ts +33 -0
  1751. package/dist/runtime/vue/components/billing/WithdrawalButton.vue +93 -0
  1752. package/dist/runtime/vue/components/billing/WithdrawalButton.vue.d.ts +33 -0
  1753. package/dist/runtime/vue/components/billing/billing-history.d.ts +43 -0
  1754. package/dist/runtime/vue/components/billing/billing-history.js +10 -0
  1755. package/dist/runtime/vue/components/billing/billing-links.d.ts +9 -0
  1756. package/dist/runtime/vue/components/billing/billing-links.js +17 -0
  1757. package/dist/runtime/vue/components/billing/cancel-flow.d.ts +102 -0
  1758. package/dist/runtime/vue/components/billing/cancel-flow.js +120 -0
  1759. package/dist/runtime/vue/components/billing/pricing-table.d.ts +195 -0
  1760. package/dist/runtime/vue/components/billing/pricing-table.js +10 -0
  1761. package/dist/runtime/vue/components/billing/upgrade-prompt.d.ts +38 -0
  1762. package/dist/runtime/vue/components/billing/upgrade-prompt.js +30 -0
  1763. package/dist/runtime/vue/components/billing/usage-history.d.ts +28 -0
  1764. package/dist/runtime/vue/components/billing/usage-history.js +8 -0
  1765. package/dist/runtime/vue/components/billing/withdrawal-button.d.ts +44 -0
  1766. package/dist/runtime/vue/components/billing/withdrawal-button.js +71 -0
  1767. package/dist/runtime/vue/components/renamed-billing-links.d.ts +1 -0
  1768. package/dist/runtime/vue/components/renamed-billing-links.js +4 -0
  1769. package/dist/runtime/vue/components/renamed-storage-image.d.ts +1 -0
  1770. package/dist/runtime/vue/components/renamed-storage-image.js +3 -0
  1771. package/dist/runtime/vue/components/shared.css +1 -0
  1772. package/dist/runtime/vue/components/shell/AccessDenied.css +1 -0
  1773. package/dist/runtime/vue/components/shell/AccessDenied.d.vue.ts +54 -0
  1774. package/dist/runtime/vue/components/shell/AccessDenied.vue +158 -0
  1775. package/dist/runtime/vue/components/shell/AccessDenied.vue.d.ts +54 -0
  1776. package/dist/runtime/vue/components/shell/AccessDeniedPage.d.vue.ts +10 -0
  1777. package/dist/runtime/vue/components/shell/AccessDeniedPage.vue +16 -0
  1778. package/dist/runtime/vue/components/shell/AccessDeniedPage.vue.d.ts +10 -0
  1779. package/dist/runtime/vue/components/shell/AccountMenu.css +1 -0
  1780. package/dist/runtime/vue/components/shell/AccountMenu.d.vue.ts +3 -0
  1781. package/dist/runtime/vue/components/shell/AccountMenu.vue +85 -0
  1782. package/dist/runtime/vue/components/shell/AccountMenu.vue.d.ts +3 -0
  1783. package/dist/runtime/vue/components/shell/AiLabel.css +1 -0
  1784. package/dist/runtime/vue/components/shell/AiLabel.d.vue.ts +31 -0
  1785. package/dist/runtime/vue/components/shell/AiLabel.vue +39 -0
  1786. package/dist/runtime/vue/components/shell/AiLabel.vue.d.ts +31 -0
  1787. package/dist/runtime/vue/components/shell/AppShell.css +1 -0
  1788. package/dist/runtime/vue/components/shell/AppShell.d.vue.ts +61 -0
  1789. package/dist/runtime/vue/components/shell/AppShell.vue +90 -0
  1790. package/dist/runtime/vue/components/shell/AppShell.vue.d.ts +61 -0
  1791. package/dist/runtime/vue/components/shell/BackendNotices.d.vue.ts +17 -0
  1792. package/dist/runtime/vue/components/shell/BackendNotices.vue +34 -0
  1793. package/dist/runtime/vue/components/shell/BackendNotices.vue.d.ts +17 -0
  1794. package/dist/runtime/vue/components/shell/ConfirmDialog.css +1 -0
  1795. package/dist/runtime/vue/components/shell/ConfirmDialog.d.vue.ts +11 -0
  1796. package/dist/runtime/vue/components/shell/ConfirmDialog.vue +55 -0
  1797. package/dist/runtime/vue/components/shell/ConfirmDialog.vue.d.ts +11 -0
  1798. package/dist/runtime/vue/components/shell/ConnectionStatus.css +1 -0
  1799. package/dist/runtime/vue/components/shell/ConnectionStatus.d.vue.ts +25 -0
  1800. package/dist/runtime/vue/components/shell/ConnectionStatus.vue +66 -0
  1801. package/dist/runtime/vue/components/shell/ConnectionStatus.vue.d.ts +25 -0
  1802. package/dist/runtime/vue/components/shell/ContactForm.css +1 -0
  1803. package/dist/runtime/vue/components/shell/ContactForm.d.vue.ts +23 -0
  1804. package/dist/runtime/vue/components/shell/ContactForm.vue +108 -0
  1805. package/dist/runtime/vue/components/shell/ContactForm.vue.d.ts +23 -0
  1806. package/dist/runtime/vue/components/shell/ErrorPage.d.vue.ts +8 -0
  1807. package/dist/runtime/vue/components/shell/ErrorPage.vue +21 -0
  1808. package/dist/runtime/vue/components/shell/ErrorPage.vue.d.ts +8 -0
  1809. package/dist/runtime/vue/components/shell/FrameConnectionStatus.d.vue.ts +3 -0
  1810. package/dist/runtime/vue/components/shell/FrameConnectionStatus.vue +10 -0
  1811. package/dist/runtime/vue/components/shell/FrameConnectionStatus.vue.d.ts +3 -0
  1812. package/dist/runtime/vue/components/shell/FrameMain.d.vue.ts +22 -0
  1813. package/dist/runtime/vue/components/shell/FrameMain.vue +51 -0
  1814. package/dist/runtime/vue/components/shell/FrameMain.vue.d.ts +22 -0
  1815. package/dist/runtime/vue/components/shell/Gate.css +1 -0
  1816. package/dist/runtime/vue/components/shell/Gate.d.vue.ts +49 -0
  1817. package/dist/runtime/vue/components/shell/Gate.vue +148 -0
  1818. package/dist/runtime/vue/components/shell/Gate.vue.d.ts +49 -0
  1819. package/dist/runtime/vue/components/shell/GateQuota.d.vue.ts +34 -0
  1820. package/dist/runtime/vue/components/shell/GateQuota.vue +74 -0
  1821. package/dist/runtime/vue/components/shell/GateQuota.vue.d.ts +34 -0
  1822. package/dist/runtime/vue/components/shell/LegalDataMap.d.vue.ts +7 -0
  1823. package/dist/runtime/vue/components/shell/LegalDataMap.vue +34 -0
  1824. package/dist/runtime/vue/components/shell/LegalDataMap.vue.d.ts +7 -0
  1825. package/dist/runtime/vue/components/shell/LegalDocument.css +1 -0
  1826. package/dist/runtime/vue/components/shell/LegalDocument.d.vue.ts +7 -0
  1827. package/dist/runtime/vue/components/shell/LegalDocument.vue +248 -0
  1828. package/dist/runtime/vue/components/shell/LegalDocument.vue.d.ts +7 -0
  1829. package/dist/runtime/vue/components/shell/LegalProcessors.d.vue.ts +7 -0
  1830. package/dist/runtime/vue/components/shell/LegalProcessors.vue +49 -0
  1831. package/dist/runtime/vue/components/shell/LegalProcessors.vue.d.ts +7 -0
  1832. package/dist/runtime/vue/components/shell/LegalStorage.d.vue.ts +7 -0
  1833. package/dist/runtime/vue/components/shell/LegalStorage.vue +47 -0
  1834. package/dist/runtime/vue/components/shell/LegalStorage.vue.d.ts +7 -0
  1835. package/dist/runtime/vue/components/shell/ListPager.d.vue.ts +8 -0
  1836. package/dist/runtime/vue/components/shell/ListPager.vue +38 -0
  1837. package/dist/runtime/vue/components/shell/ListPager.vue.d.ts +8 -0
  1838. package/dist/runtime/vue/components/shell/NoticeAnnouncement.css +1 -0
  1839. package/dist/runtime/vue/components/shell/NoticeAnnouncement.d.vue.ts +8 -0
  1840. package/dist/runtime/vue/components/shell/NoticeAnnouncement.vue +108 -0
  1841. package/dist/runtime/vue/components/shell/NoticeAnnouncement.vue.d.ts +8 -0
  1842. package/dist/runtime/vue/components/shell/NoticeDeletion.css +1 -0
  1843. package/dist/runtime/vue/components/shell/NoticeDeletion.d.vue.ts +7 -0
  1844. package/dist/runtime/vue/components/shell/NoticeDeletion.vue +68 -0
  1845. package/dist/runtime/vue/components/shell/NoticeDeletion.vue.d.ts +7 -0
  1846. package/dist/runtime/vue/components/shell/NoticeGift.css +1 -0
  1847. package/dist/runtime/vue/components/shell/NoticeGift.d.vue.ts +14 -0
  1848. package/dist/runtime/vue/components/shell/NoticeGift.vue +138 -0
  1849. package/dist/runtime/vue/components/shell/NoticeGift.vue.d.ts +14 -0
  1850. package/dist/runtime/vue/components/shell/NoticeImpersonation.css +1 -0
  1851. package/dist/runtime/vue/components/shell/NoticeImpersonation.d.vue.ts +14 -0
  1852. package/dist/runtime/vue/components/shell/NoticeImpersonation.vue +90 -0
  1853. package/dist/runtime/vue/components/shell/NoticeImpersonation.vue.d.ts +14 -0
  1854. package/dist/runtime/vue/components/shell/NoticeLowCredits.css +1 -0
  1855. package/dist/runtime/vue/components/shell/NoticeLowCredits.d.vue.ts +50 -0
  1856. package/dist/runtime/vue/components/shell/NoticeLowCredits.vue +170 -0
  1857. package/dist/runtime/vue/components/shell/NoticeLowCredits.vue.d.ts +50 -0
  1858. package/dist/runtime/vue/components/shell/NoticeMaintenance.css +1 -0
  1859. package/dist/runtime/vue/components/shell/NoticeMaintenance.d.vue.ts +7 -0
  1860. package/dist/runtime/vue/components/shell/NoticeMaintenance.vue +35 -0
  1861. package/dist/runtime/vue/components/shell/NoticeMaintenance.vue.d.ts +7 -0
  1862. package/dist/runtime/vue/components/shell/NoticePastDue.css +1 -0
  1863. package/dist/runtime/vue/components/shell/NoticePastDue.d.vue.ts +7 -0
  1864. package/dist/runtime/vue/components/shell/NoticePastDue.vue +64 -0
  1865. package/dist/runtime/vue/components/shell/NoticePastDue.vue.d.ts +7 -0
  1866. package/dist/runtime/vue/components/shell/NotificationInbox.css +1 -0
  1867. package/dist/runtime/vue/components/shell/NotificationInbox.d.vue.ts +18 -0
  1868. package/dist/runtime/vue/components/shell/NotificationInbox.vue +78 -0
  1869. package/dist/runtime/vue/components/shell/NotificationInbox.vue.d.ts +18 -0
  1870. package/dist/runtime/vue/components/shell/NotificationInboxBell.d.vue.ts +3 -0
  1871. package/dist/runtime/vue/components/shell/NotificationInboxBell.vue +37 -0
  1872. package/dist/runtime/vue/components/shell/NotificationInboxBell.vue.d.ts +3 -0
  1873. package/dist/runtime/vue/components/shell/NotificationInboxItem.d.vue.ts +4 -0
  1874. package/dist/runtime/vue/components/shell/NotificationInboxItem.vue +48 -0
  1875. package/dist/runtime/vue/components/shell/NotificationInboxItem.vue.d.ts +4 -0
  1876. package/dist/runtime/vue/components/shell/PageFrame.d.vue.ts +35 -0
  1877. package/dist/runtime/vue/components/shell/PageFrame.vue +79 -0
  1878. package/dist/runtime/vue/components/shell/PageFrame.vue.d.ts +35 -0
  1879. package/dist/runtime/vue/components/shell/PagedList.d.vue.ts +46 -0
  1880. package/dist/runtime/vue/components/shell/PagedList.vue +98 -0
  1881. package/dist/runtime/vue/components/shell/PagedList.vue.d.ts +46 -0
  1882. package/dist/runtime/vue/components/shell/ReportAppeal.d.vue.ts +7 -0
  1883. package/dist/runtime/vue/components/shell/ReportAppeal.vue +90 -0
  1884. package/dist/runtime/vue/components/shell/ReportAppeal.vue.d.ts +7 -0
  1885. package/dist/runtime/vue/components/shell/ReportNotice.css +1 -0
  1886. package/dist/runtime/vue/components/shell/ReportNotice.d.vue.ts +3 -0
  1887. package/dist/runtime/vue/components/shell/ReportNotice.vue +158 -0
  1888. package/dist/runtime/vue/components/shell/ReportNotice.vue.d.ts +3 -0
  1889. package/dist/runtime/vue/components/shell/UploadField.css +1 -0
  1890. package/dist/runtime/vue/components/shell/UploadField.d.vue.ts +29 -0
  1891. package/dist/runtime/vue/components/shell/UploadField.vue +74 -0
  1892. package/dist/runtime/vue/components/shell/UploadField.vue.d.ts +29 -0
  1893. package/dist/runtime/vue/components/shell/WorkspaceSwitcher.css +1 -0
  1894. package/dist/runtime/vue/components/shell/WorkspaceSwitcher.d.vue.ts +3 -0
  1895. package/dist/runtime/vue/components/shell/WorkspaceSwitcher.vue +126 -0
  1896. package/dist/runtime/vue/components/shell/WorkspaceSwitcher.vue.d.ts +3 -0
  1897. package/dist/runtime/vue/components/shell/access-denied.d.ts +27 -0
  1898. package/dist/runtime/vue/components/shell/access-denied.js +1 -0
  1899. package/dist/runtime/vue/components/shell/ai-label.d.ts +5 -0
  1900. package/dist/runtime/vue/components/shell/ai-label.js +0 -0
  1901. package/dist/runtime/vue/components/shell/app-shell.d.ts +11 -0
  1902. package/dist/runtime/vue/components/shell/app-shell.js +1 -0
  1903. package/dist/runtime/vue/components/shell/connection-status.d.ts +24 -0
  1904. package/dist/runtime/vue/components/shell/connection-status.js +31 -0
  1905. package/dist/runtime/vue/components/shell/contact-form.d.ts +15 -0
  1906. package/dist/runtime/vue/components/shell/contact-form.js +0 -0
  1907. package/dist/runtime/vue/components/shell/gate.d.ts +76 -0
  1908. package/dist/runtime/vue/components/shell/gate.js +0 -0
  1909. package/dist/runtime/vue/components/shell/legal.d.ts +24 -0
  1910. package/dist/runtime/vue/components/shell/legal.js +69 -0
  1911. package/dist/runtime/vue/components/shell/notices.d.ts +99 -0
  1912. package/dist/runtime/vue/components/shell/notices.js +6 -0
  1913. package/dist/runtime/vue/components/shell/notification-inbox.d.ts +11 -0
  1914. package/dist/runtime/vue/components/shell/notification-inbox.js +0 -0
  1915. package/dist/runtime/vue/components/shell/report-form.d.ts +1 -0
  1916. package/dist/runtime/vue/components/shell/report-form.js +117 -0
  1917. package/dist/runtime/vue/components/shell/upload-field.d.ts +16 -0
  1918. package/dist/runtime/vue/components/shell/upload-field.js +0 -0
  1919. package/dist/runtime/vue/components/tokens.css +1 -0
  1920. package/dist/runtime/vue/components/workspaces/AcceptInvitation.css +1 -0
  1921. package/dist/runtime/vue/components/workspaces/AcceptInvitation.d.vue.ts +52 -0
  1922. package/dist/runtime/vue/components/workspaces/AcceptInvitation.vue +156 -0
  1923. package/dist/runtime/vue/components/workspaces/AcceptInvitation.vue.d.ts +52 -0
  1924. package/dist/runtime/vue/components/workspaces/AcceptInvitationActions.css +1 -0
  1925. package/dist/runtime/vue/components/workspaces/AcceptInvitationActions.d.vue.ts +4 -0
  1926. package/dist/runtime/vue/components/workspaces/AcceptInvitationActions.vue +30 -0
  1927. package/dist/runtime/vue/components/workspaces/AcceptInvitationActions.vue.d.ts +4 -0
  1928. package/dist/runtime/vue/components/workspaces/AuditLog.css +1 -0
  1929. package/dist/runtime/vue/components/workspaces/AuditLog.d.vue.ts +185 -0
  1930. package/dist/runtime/vue/components/workspaces/AuditLog.vue +77 -0
  1931. package/dist/runtime/vue/components/workspaces/AuditLog.vue.d.ts +185 -0
  1932. package/dist/runtime/vue/components/workspaces/AuditLogEvent.css +1 -0
  1933. package/dist/runtime/vue/components/workspaces/AuditLogEvent.d.vue.ts +4 -0
  1934. package/dist/runtime/vue/components/workspaces/AuditLogEvent.vue +30 -0
  1935. package/dist/runtime/vue/components/workspaces/AuditLogEvent.vue.d.ts +4 -0
  1936. package/dist/runtime/vue/components/workspaces/WorkspaceBilling.css +1 -0
  1937. package/dist/runtime/vue/components/workspaces/WorkspaceBilling.d.vue.ts +4 -0
  1938. package/dist/runtime/vue/components/workspaces/WorkspaceBilling.vue +236 -0
  1939. package/dist/runtime/vue/components/workspaces/WorkspaceBilling.vue.d.ts +4 -0
  1940. package/dist/runtime/vue/components/workspaces/WorkspaceCredits.css +1 -0
  1941. package/dist/runtime/vue/components/workspaces/WorkspaceCredits.d.vue.ts +4 -0
  1942. package/dist/runtime/vue/components/workspaces/WorkspaceCredits.vue +56 -0
  1943. package/dist/runtime/vue/components/workspaces/WorkspaceCredits.vue.d.ts +4 -0
  1944. package/dist/runtime/vue/components/workspaces/WorkspaceList.css +1 -0
  1945. package/dist/runtime/vue/components/workspaces/WorkspaceList.d.vue.ts +4 -0
  1946. package/dist/runtime/vue/components/workspaces/WorkspaceList.vue +92 -0
  1947. package/dist/runtime/vue/components/workspaces/WorkspaceList.vue.d.ts +4 -0
  1948. package/dist/runtime/vue/components/workspaces/WorkspaceSettings.css +1 -0
  1949. package/dist/runtime/vue/components/workspaces/WorkspaceSettings.d.vue.ts +117 -0
  1950. package/dist/runtime/vue/components/workspaces/WorkspaceSettings.vue +216 -0
  1951. package/dist/runtime/vue/components/workspaces/WorkspaceSettings.vue.d.ts +117 -0
  1952. package/dist/runtime/vue/components/workspaces/accept-invitation.d.ts +21 -0
  1953. package/dist/runtime/vue/components/workspaces/accept-invitation.js +10 -0
  1954. package/dist/runtime/vue/components/workspaces/audit-log.d.ts +29 -0
  1955. package/dist/runtime/vue/components/workspaces/audit-log.js +33 -0
  1956. package/dist/runtime/vue/components/workspaces/workspace-billing.d.ts +77 -0
  1957. package/dist/runtime/vue/components/workspaces/workspace-billing.js +74 -0
  1958. package/dist/runtime/vue/components/workspaces/workspace-settings.d.ts +81 -0
  1959. package/dist/runtime/vue/components/workspaces/workspace-settings.js +10 -0
  1960. package/dist/runtime/vue/composables/base-aliases.d.ts +8 -0
  1961. package/dist/runtime/vue/composables/base-aliases.js +2 -0
  1962. package/dist/runtime/vue/composables/billing-format.d.ts +14 -0
  1963. package/dist/runtime/vue/composables/billing-format.js +40 -0
  1964. package/dist/runtime/vue/composables/billing-provider.d.ts +38 -0
  1965. package/dist/runtime/vue/composables/billing-provider.js +160 -0
  1966. package/dist/runtime/vue/composables/use-access.d.ts +154 -0
  1967. package/dist/runtime/vue/composables/use-access.js +100 -0
  1968. package/dist/runtime/vue/composables/use-account.d.ts +120 -0
  1969. package/dist/runtime/vue/composables/use-account.js +60 -0
  1970. package/dist/runtime/vue/composables/use-activation.d.ts +89 -0
  1971. package/dist/runtime/vue/composables/use-activation.js +74 -0
  1972. package/dist/runtime/vue/composables/use-admin.d.ts +149 -0
  1973. package/dist/runtime/vue/composables/use-admin.js +97 -0
  1974. package/dist/runtime/vue/composables/use-ai-costs.d.ts +42 -0
  1975. package/dist/runtime/vue/composables/use-ai-costs.js +38 -0
  1976. package/dist/runtime/vue/composables/use-ai-label.d.ts +62 -0
  1977. package/dist/runtime/vue/composables/use-ai-label.js +47 -0
  1978. package/dist/runtime/vue/composables/use-ai-stream.d.ts +71 -0
  1979. package/dist/runtime/vue/composables/use-ai-stream.js +126 -0
  1980. package/dist/runtime/vue/composables/use-announcements.d.ts +110 -0
  1981. package/dist/runtime/vue/composables/use-announcements.js +78 -0
  1982. package/dist/runtime/vue/composables/use-app-shell.d.ts +131 -0
  1983. package/dist/runtime/vue/composables/use-app-shell.js +206 -0
  1984. package/dist/runtime/vue/composables/use-audit-log.d.ts +90 -0
  1985. package/dist/runtime/vue/composables/use-audit-log.js +44 -0
  1986. package/dist/runtime/vue/composables/use-auth.d.ts +71 -0
  1987. package/dist/runtime/vue/composables/use-auth.js +18 -0
  1988. package/dist/runtime/vue/composables/use-backend-config.d.ts +8 -0
  1989. package/dist/runtime/vue/composables/use-backend-config.js +17 -0
  1990. package/dist/runtime/vue/composables/use-backend-page-path.d.ts +18 -0
  1991. package/dist/runtime/vue/composables/use-backend-page-path.js +33 -0
  1992. package/dist/runtime/vue/composables/use-billing.d.ts +795 -0
  1993. package/dist/runtime/vue/composables/use-billing.js +144 -0
  1994. package/dist/runtime/vue/composables/use-campaign.d.ts +40 -0
  1995. package/dist/runtime/vue/composables/use-campaign.js +31 -0
  1996. package/dist/runtime/vue/composables/use-chat.d.ts +72 -0
  1997. package/dist/runtime/vue/composables/use-chat.js +69 -0
  1998. package/dist/runtime/vue/composables/use-consents.d.ts +144 -0
  1999. package/dist/runtime/vue/composables/use-consents.js +109 -0
  2000. package/dist/runtime/vue/composables/use-contact-form.d.ts +104 -0
  2001. package/dist/runtime/vue/composables/use-contact-form.js +141 -0
  2002. package/dist/runtime/vue/composables/use-credits.d.ts +95 -0
  2003. package/dist/runtime/vue/composables/use-credits.js +68 -0
  2004. package/dist/runtime/vue/composables/use-deletion-notice.d.ts +45 -0
  2005. package/dist/runtime/vue/composables/use-deletion-notice.js +38 -0
  2006. package/dist/runtime/vue/composables/use-email-change.d.ts +57 -0
  2007. package/dist/runtime/vue/composables/use-email-change.js +71 -0
  2008. package/dist/runtime/vue/composables/use-email-link.d.ts +26 -0
  2009. package/dist/runtime/vue/composables/use-email-link.js +62 -0
  2010. package/dist/runtime/vue/composables/use-email-preferences.d.ts +90 -0
  2011. package/dist/runtime/vue/composables/use-email-preferences.js +40 -0
  2012. package/dist/runtime/vue/composables/use-email-status.d.ts +59 -0
  2013. package/dist/runtime/vue/composables/use-email-status.js +20 -0
  2014. package/dist/runtime/vue/composables/use-experiment.d.ts +75 -0
  2015. package/dist/runtime/vue/composables/use-experiment.js +60 -0
  2016. package/dist/runtime/vue/composables/use-features.d.ts +74 -0
  2017. package/dist/runtime/vue/composables/use-features.js +31 -0
  2018. package/dist/runtime/vue/composables/use-flags.d.ts +98 -0
  2019. package/dist/runtime/vue/composables/use-flags.js +50 -0
  2020. package/dist/runtime/vue/composables/use-funnel.d.ts +32 -0
  2021. package/dist/runtime/vue/composables/use-funnel.js +20 -0
  2022. package/dist/runtime/vue/composables/use-gift-list.d.ts +60 -0
  2023. package/dist/runtime/vue/composables/use-gift-list.js +104 -0
  2024. package/dist/runtime/vue/composables/use-gifts.d.ts +90 -0
  2025. package/dist/runtime/vue/composables/use-gifts.js +68 -0
  2026. package/dist/runtime/vue/composables/use-how-did-you-hear.d.ts +46 -0
  2027. package/dist/runtime/vue/composables/use-how-did-you-hear.js +51 -0
  2028. package/dist/runtime/vue/composables/use-human-check.d.ts +57 -0
  2029. package/dist/runtime/vue/composables/use-human-check.js +14 -0
  2030. package/dist/runtime/vue/composables/use-inbox-admin.d.ts +43 -0
  2031. package/dist/runtime/vue/composables/use-inbox-admin.js +31 -0
  2032. package/dist/runtime/vue/composables/use-job-queue.d.ts +108 -0
  2033. package/dist/runtime/vue/composables/use-job-queue.js +47 -0
  2034. package/dist/runtime/vue/composables/use-job.d.ts +68 -0
  2035. package/dist/runtime/vue/composables/use-job.js +30 -0
  2036. package/dist/runtime/vue/composables/use-keep-account.d.ts +20 -0
  2037. package/dist/runtime/vue/composables/use-keep-account.js +38 -0
  2038. package/dist/runtime/vue/composables/use-labels.d.ts +67 -0
  2039. package/dist/runtime/vue/composables/use-labels.js +114 -0
  2040. package/dist/runtime/vue/composables/use-login-flow.d.ts +167 -0
  2041. package/dist/runtime/vue/composables/use-login-flow.js +284 -0
  2042. package/dist/runtime/vue/composables/use-notification-inbox.d.ts +81 -0
  2043. package/dist/runtime/vue/composables/use-notification-inbox.js +96 -0
  2044. package/dist/runtime/vue/composables/use-notifications.d.ts +111 -0
  2045. package/dist/runtime/vue/composables/use-notifications.js +108 -0
  2046. package/dist/runtime/vue/composables/use-onboarding.d.ts +87 -0
  2047. package/dist/runtime/vue/composables/use-onboarding.js +86 -0
  2048. package/dist/runtime/vue/composables/use-orders.d.ts +83 -0
  2049. package/dist/runtime/vue/composables/use-orders.js +44 -0
  2050. package/dist/runtime/vue/composables/use-passkeys.d.ts +76 -0
  2051. package/dist/runtime/vue/composables/use-passkeys.js +66 -0
  2052. package/dist/runtime/vue/composables/use-pricing.d.ts +136 -0
  2053. package/dist/runtime/vue/composables/use-pricing.js +135 -0
  2054. package/dist/runtime/vue/composables/use-push-subscription.d.ts +67 -0
  2055. package/dist/runtime/vue/composables/use-push-subscription.js +85 -0
  2056. package/dist/runtime/vue/composables/use-reauthentication.d.ts +105 -0
  2057. package/dist/runtime/vue/composables/use-reauthentication.js +168 -0
  2058. package/dist/runtime/vue/composables/use-referral-admin.d.ts +30 -0
  2059. package/dist/runtime/vue/composables/use-referral-admin.js +30 -0
  2060. package/dist/runtime/vue/composables/use-referral-invite.d.ts +29 -0
  2061. package/dist/runtime/vue/composables/use-referral-invite.js +61 -0
  2062. package/dist/runtime/vue/composables/use-referrals.d.ts +87 -0
  2063. package/dist/runtime/vue/composables/use-referrals.js +109 -0
  2064. package/dist/runtime/vue/composables/use-return-path.d.ts +21 -0
  2065. package/dist/runtime/vue/composables/use-return-path.js +8 -0
  2066. package/dist/runtime/vue/composables/use-revenue.d.ts +45 -0
  2067. package/dist/runtime/vue/composables/use-revenue.js +42 -0
  2068. package/dist/runtime/vue/composables/use-sandbox-inbox.d.ts +64 -0
  2069. package/dist/runtime/vue/composables/use-sandbox-inbox.js +55 -0
  2070. package/dist/runtime/vue/composables/use-search.d.ts +39 -0
  2071. package/dist/runtime/vue/composables/use-search.js +30 -0
  2072. package/dist/runtime/vue/composables/use-sessions.d.ts +79 -0
  2073. package/dist/runtime/vue/composables/use-sessions.js +55 -0
  2074. package/dist/runtime/vue/composables/use-share-link.d.ts +59 -0
  2075. package/dist/runtime/vue/composables/use-share-link.js +51 -0
  2076. package/dist/runtime/vue/composables/use-suppressions-admin.d.ts +38 -0
  2077. package/dist/runtime/vue/composables/use-suppressions-admin.js +32 -0
  2078. package/dist/runtime/vue/composables/use-upload-field.d.ts +85 -0
  2079. package/dist/runtime/vue/composables/use-upload-field.js +129 -0
  2080. package/dist/runtime/vue/composables/use-usage.d.ts +68 -0
  2081. package/dist/runtime/vue/composables/use-usage.js +44 -0
  2082. package/dist/runtime/vue/composables/use-waitlist-admin.d.ts +56 -0
  2083. package/dist/runtime/vue/composables/use-waitlist-admin.js +43 -0
  2084. package/dist/runtime/vue/composables/use-waitlist-step.d.ts +1 -0
  2085. package/dist/runtime/vue/composables/use-waitlist-step.js +11 -0
  2086. package/dist/runtime/vue/composables/use-waitlist.d.ts +184 -0
  2087. package/dist/runtime/vue/composables/use-waitlist.js +178 -0
  2088. package/dist/runtime/vue/composables/use-webhook-log.d.ts +34 -0
  2089. package/dist/runtime/vue/composables/use-webhook-log.js +30 -0
  2090. package/dist/runtime/vue/composables/use-workflow.d.ts +37 -0
  2091. package/dist/runtime/vue/composables/use-workflow.js +10 -0
  2092. package/dist/runtime/vue/composables/use-workspace.d.ts +149 -0
  2093. package/dist/runtime/vue/composables/use-workspace.js +126 -0
  2094. package/dist/runtime/vue/middleware/page-access.d.ts +13 -0
  2095. package/dist/runtime/vue/middleware/page-access.js +18 -0
  2096. package/dist/runtime/vue/organization-client.d.ts +15 -0
  2097. package/dist/runtime/vue/organization-client.js +65 -0
  2098. package/dist/runtime/vue/pages/accept-invitation.d.vue.ts +3 -0
  2099. package/dist/runtime/vue/pages/accept-invitation.vue +16 -0
  2100. package/dist/runtime/vue/pages/accept-invitation.vue.d.ts +3 -0
  2101. package/dist/runtime/vue/pages/accessibility.d.vue.ts +3 -0
  2102. package/dist/runtime/vue/pages/accessibility.vue +17 -0
  2103. package/dist/runtime/vue/pages/accessibility.vue.d.ts +3 -0
  2104. package/dist/runtime/vue/pages/admin.d.vue.ts +3 -0
  2105. package/dist/runtime/vue/pages/admin.vue +45 -0
  2106. package/dist/runtime/vue/pages/admin.vue.d.ts +3 -0
  2107. package/dist/runtime/vue/pages/gifts.d.vue.ts +3 -0
  2108. package/dist/runtime/vue/pages/gifts.vue +17 -0
  2109. package/dist/runtime/vue/pages/gifts.vue.d.ts +3 -0
  2110. package/dist/runtime/vue/pages/invite.d.vue.ts +3 -0
  2111. package/dist/runtime/vue/pages/invite.vue +18 -0
  2112. package/dist/runtime/vue/pages/invite.vue.d.ts +3 -0
  2113. package/dist/runtime/vue/pages/keep-account.d.vue.ts +3 -0
  2114. package/dist/runtime/vue/pages/keep-account.vue +22 -0
  2115. package/dist/runtime/vue/pages/keep-account.vue.d.ts +3 -0
  2116. package/dist/runtime/vue/pages/login.d.vue.ts +3 -0
  2117. package/dist/runtime/vue/pages/login.vue +44 -0
  2118. package/dist/runtime/vue/pages/login.vue.d.ts +3 -0
  2119. package/dist/runtime/vue/pages/pricing.d.vue.ts +3 -0
  2120. package/dist/runtime/vue/pages/pricing.vue +39 -0
  2121. package/dist/runtime/vue/pages/pricing.vue.d.ts +3 -0
  2122. package/dist/runtime/vue/pages/privacy.d.vue.ts +3 -0
  2123. package/dist/runtime/vue/pages/privacy.vue +17 -0
  2124. package/dist/runtime/vue/pages/privacy.vue.d.ts +3 -0
  2125. package/dist/runtime/vue/pages/profile.d.vue.ts +3 -0
  2126. package/dist/runtime/vue/pages/profile.vue +16 -0
  2127. package/dist/runtime/vue/pages/profile.vue.d.ts +3 -0
  2128. package/dist/runtime/vue/pages/referral.d.vue.ts +3 -0
  2129. package/dist/runtime/vue/pages/referral.vue +18 -0
  2130. package/dist/runtime/vue/pages/referral.vue.d.ts +3 -0
  2131. package/dist/runtime/vue/pages/report.d.vue.ts +3 -0
  2132. package/dist/runtime/vue/pages/report.vue +29 -0
  2133. package/dist/runtime/vue/pages/report.vue.d.ts +3 -0
  2134. package/dist/runtime/vue/pages/security.d.vue.ts +3 -0
  2135. package/dist/runtime/vue/pages/security.vue +22 -0
  2136. package/dist/runtime/vue/pages/security.vue.d.ts +3 -0
  2137. package/dist/runtime/vue/pages/settings.d.vue.ts +3 -0
  2138. package/dist/runtime/vue/pages/settings.vue +26 -0
  2139. package/dist/runtime/vue/pages/settings.vue.d.ts +3 -0
  2140. package/dist/runtime/vue/pages/subprocessors.d.vue.ts +3 -0
  2141. package/dist/runtime/vue/pages/subprocessors.vue +17 -0
  2142. package/dist/runtime/vue/pages/subprocessors.vue.d.ts +3 -0
  2143. package/dist/runtime/vue/pages/terms.d.vue.ts +3 -0
  2144. package/dist/runtime/vue/pages/terms.vue +17 -0
  2145. package/dist/runtime/vue/pages/terms.vue.d.ts +3 -0
  2146. package/dist/runtime/vue/pages/unsubscribe.d.vue.ts +3 -0
  2147. package/dist/runtime/vue/pages/unsubscribe.vue +28 -0
  2148. package/dist/runtime/vue/pages/unsubscribe.vue.d.ts +3 -0
  2149. package/dist/runtime/vue/pages/waitlist.d.vue.ts +3 -0
  2150. package/dist/runtime/vue/pages/waitlist.vue +18 -0
  2151. package/dist/runtime/vue/pages/waitlist.vue.d.ts +3 -0
  2152. package/dist/runtime/vue/pages/welcome.d.vue.ts +3 -0
  2153. package/dist/runtime/vue/pages/welcome.vue +20 -0
  2154. package/dist/runtime/vue/pages/welcome.vue.d.ts +3 -0
  2155. package/dist/runtime/vue/parts.d.ts +204 -0
  2156. package/dist/runtime/vue/parts.js +0 -0
  2157. package/dist/runtime/vue/passkey-client.d.ts +65 -0
  2158. package/dist/runtime/vue/passkey-client.js +119 -0
  2159. package/dist/runtime/vue/plugins/checkout-return.d.ts +15 -0
  2160. package/dist/runtime/vue/plugins/checkout-return.js +21 -0
  2161. package/dist/runtime/vue/plugins/email-presence.d.ts +12 -0
  2162. package/dist/runtime/vue/plugins/email-presence.js +14 -0
  2163. package/dist/runtime/vue/plugins/first-touch.d.ts +9 -0
  2164. package/dist/runtime/vue/plugins/first-touch.js +17 -0
  2165. package/dist/runtime/vue/plugins/locale-sync.d.ts +10 -0
  2166. package/dist/runtime/vue/plugins/locale-sync.js +20 -0
  2167. package/dist/runtime/vue/plugins/monitoring-log.client.d.ts +10 -0
  2168. package/dist/runtime/vue/plugins/monitoring-log.client.js +26 -0
  2169. package/dist/runtime/vue/plugins/noindex.d.ts +13 -0
  2170. package/dist/runtime/vue/plugins/noindex.js +11 -0
  2171. package/dist/runtime/vue/plugins/onboarding-redirect.d.ts +14 -0
  2172. package/dist/runtime/vue/plugins/onboarding-redirect.js +23 -0
  2173. package/dist/runtime/vue/plugins/passkey-ceremony.d.ts +9 -0
  2174. package/dist/runtime/vue/plugins/passkey-ceremony.js +8 -0
  2175. package/dist/runtime/vue/plugins/protection.client.d.ts +9 -0
  2176. package/dist/runtime/vue/plugins/protection.client.js +22 -0
  2177. package/dist/runtime/vue/plugins/session-ended.d.ts +14 -0
  2178. package/dist/runtime/vue/plugins/session-ended.js +22 -0
  2179. package/dist/runtime/vue/plugins/trusted-types.client.d.ts +8 -0
  2180. package/dist/runtime/vue/plugins/trusted-types.client.js +9 -0
  2181. package/dist/runtime/vue/protection/challenge.d.ts +9 -0
  2182. package/dist/runtime/vue/protection/challenge.js +93 -0
  2183. package/dist/runtime/vue/protection/state.d.ts +172 -0
  2184. package/dist/runtime/vue/protection/state.js +74 -0
  2185. package/dist/runtime/vue/trusted-types.d.ts +27 -0
  2186. package/dist/runtime/vue/trusted-types.js +46 -0
  2187. package/dist/runtime/vue/utils/access-rules.d.ts +45 -0
  2188. package/dist/runtime/vue/utils/access-rules.js +2 -0
  2189. package/dist/runtime/vue/utils/action-state.d.ts +65 -0
  2190. package/dist/runtime/vue/utils/action-state.js +46 -0
  2191. package/dist/runtime/vue/utils/active-locale.d.ts +30 -0
  2192. package/dist/runtime/vue/utils/active-locale.js +28 -0
  2193. package/dist/runtime/vue/utils/admin-changes.d.ts +1 -0
  2194. package/dist/runtime/vue/utils/admin-changes.js +41 -0
  2195. package/dist/runtime/vue/utils/auth-read.d.ts +15 -0
  2196. package/dist/runtime/vue/utils/auth-read.js +8 -0
  2197. package/dist/runtime/vue/utils/auth-result.d.ts +8 -0
  2198. package/dist/runtime/vue/utils/auth-result.js +7 -0
  2199. package/dist/runtime/vue/utils/auth-session.d.ts +48 -0
  2200. package/dist/runtime/vue/utils/auth-session.js +122 -0
  2201. package/dist/runtime/vue/utils/auth-steps.d.ts +30 -0
  2202. package/dist/runtime/vue/utils/auth-steps.js +44 -0
  2203. package/dist/runtime/vue/utils/backend-error.d.ts +22 -0
  2204. package/dist/runtime/vue/utils/backend-error.js +38 -0
  2205. package/dist/runtime/vue/utils/billing-access.d.ts +33 -0
  2206. package/dist/runtime/vue/utils/billing-access.js +20 -0
  2207. package/dist/runtime/vue/utils/cancel-confirm.d.ts +38 -0
  2208. package/dist/runtime/vue/utils/cancel-confirm.js +20 -0
  2209. package/dist/runtime/vue/utils/challenge-caption.d.ts +2 -0
  2210. package/dist/runtime/vue/utils/challenge-caption.js +2 -0
  2211. package/dist/runtime/vue/utils/checkout-return.d.ts +40 -0
  2212. package/dist/runtime/vue/utils/checkout-return.js +40 -0
  2213. package/dist/runtime/vue/utils/confirmation.d.ts +19 -0
  2214. package/dist/runtime/vue/utils/confirmation.js +23 -0
  2215. package/dist/runtime/vue/utils/currency.d.ts +4 -0
  2216. package/dist/runtime/vue/utils/currency.js +60 -0
  2217. package/dist/runtime/vue/utils/cursor-pages.d.ts +37 -0
  2218. package/dist/runtime/vue/utils/cursor-pages.js +42 -0
  2219. package/dist/runtime/vue/utils/email-presence.d.ts +1 -0
  2220. package/dist/runtime/vue/utils/email-presence.js +31 -0
  2221. package/dist/runtime/vue/utils/every-page.d.ts +10 -0
  2222. package/dist/runtime/vue/utils/every-page.js +6 -0
  2223. package/dist/runtime/vue/utils/first-touch.d.ts +1 -0
  2224. package/dist/runtime/vue/utils/first-touch.js +22 -0
  2225. package/dist/runtime/vue/utils/focus-return.d.ts +41 -0
  2226. package/dist/runtime/vue/utils/focus-return.js +60 -0
  2227. package/dist/runtime/vue/utils/frame-notices.d.ts +8 -0
  2228. package/dist/runtime/vue/utils/frame-notices.js +10 -0
  2229. package/dist/runtime/vue/utils/hydrated.d.ts +12 -0
  2230. package/dist/runtime/vue/utils/hydrated.js +11 -0
  2231. package/dist/runtime/vue/utils/intl.d.ts +6 -0
  2232. package/dist/runtime/vue/utils/intl.js +9 -0
  2233. package/dist/runtime/vue/utils/kept-invite.d.ts +12 -0
  2234. package/dist/runtime/vue/utils/kept-invite.js +37 -0
  2235. package/dist/runtime/vue/utils/label-fallback.d.ts +3 -0
  2236. package/dist/runtime/vue/utils/label-fallback.js +2 -0
  2237. package/dist/runtime/vue/utils/label-registry.d.ts +1 -0
  2238. package/dist/runtime/vue/utils/label-registry.js +15 -0
  2239. package/dist/runtime/vue/utils/last-sign-in.d.ts +23 -0
  2240. package/dist/runtime/vue/utils/last-sign-in.js +45 -0
  2241. package/dist/runtime/vue/utils/live-query.d.ts +36 -0
  2242. package/dist/runtime/vue/utils/live-query.js +37 -0
  2243. package/dist/runtime/vue/utils/local-sign-out.d.ts +19 -0
  2244. package/dist/runtime/vue/utils/local-sign-out.js +18 -0
  2245. package/dist/runtime/vue/utils/login-bindings.d.ts +52 -0
  2246. package/dist/runtime/vue/utils/login-bindings.js +78 -0
  2247. package/dist/runtime/vue/utils/meter-unit.d.ts +14 -0
  2248. package/dist/runtime/vue/utils/meter-unit.js +18 -0
  2249. package/dist/runtime/vue/utils/namespace.d.ts +9 -0
  2250. package/dist/runtime/vue/utils/namespace.js +22 -0
  2251. package/dist/runtime/vue/utils/onboarding-redirect.d.ts +25 -0
  2252. package/dist/runtime/vue/utils/onboarding-redirect.js +49 -0
  2253. package/dist/runtime/vue/utils/open-url.d.ts +13 -0
  2254. package/dist/runtime/vue/utils/open-url.js +12 -0
  2255. package/dist/runtime/vue/utils/page-access.d.ts +64 -0
  2256. package/dist/runtime/vue/utils/page-access.js +56 -0
  2257. package/dist/runtime/vue/utils/page-guard.d.ts +30 -0
  2258. package/dist/runtime/vue/utils/page-guard.js +84 -0
  2259. package/dist/runtime/vue/utils/page-rules.d.ts +34 -0
  2260. package/dist/runtime/vue/utils/page-rules.js +35 -0
  2261. package/dist/runtime/vue/utils/page-turns.d.ts +36 -0
  2262. package/dist/runtime/vue/utils/page-turns.js +24 -0
  2263. package/dist/runtime/vue/utils/passkey-signals.d.ts +32 -0
  2264. package/dist/runtime/vue/utils/passkey-signals.js +58 -0
  2265. package/dist/runtime/vue/utils/pricing-bindings.d.ts +51 -0
  2266. package/dist/runtime/vue/utils/pricing-bindings.js +39 -0
  2267. package/dist/runtime/vue/utils/pricing-seo.d.ts +1 -0
  2268. package/dist/runtime/vue/utils/pricing-seo.js +26 -0
  2269. package/dist/runtime/vue/utils/push-device.d.ts +55 -0
  2270. package/dist/runtime/vue/utils/push-device.js +77 -0
  2271. package/dist/runtime/vue/utils/reader.d.ts +1 -0
  2272. package/dist/runtime/vue/utils/reader.js +9 -0
  2273. package/dist/runtime/vue/utils/renamed-component.d.ts +1 -0
  2274. package/dist/runtime/vue/utils/renamed-component.js +17 -0
  2275. package/dist/runtime/vue/utils/roles.d.ts +4 -0
  2276. package/dist/runtime/vue/utils/roles.js +11 -0
  2277. package/dist/runtime/vue/utils/sandbox-code.d.ts +11 -0
  2278. package/dist/runtime/vue/utils/sandbox-code.js +16 -0
  2279. package/dist/runtime/vue/utils/session-end.d.ts +49 -0
  2280. package/dist/runtime/vue/utils/session-end.js +41 -0
  2281. package/dist/runtime/vue/utils/settings-message.d.ts +21 -0
  2282. package/dist/runtime/vue/utils/settings-message.js +6 -0
  2283. package/dist/runtime/vue/utils/shown-first.d.ts +1 -0
  2284. package/dist/runtime/vue/utils/shown-first.js +23 -0
  2285. package/dist/runtime/vue/utils/slug.d.ts +1 -0
  2286. package/dist/runtime/vue/utils/slug.js +7 -0
  2287. package/dist/runtime/vue/utils/storage-choice.d.ts +23 -0
  2288. package/dist/runtime/vue/utils/storage-choice.js +43 -0
  2289. package/dist/runtime/vue/utils/upgrade-offer.d.ts +25 -0
  2290. package/dist/runtime/vue/utils/upgrade-offer.js +18 -0
  2291. package/dist/runtime/vue/utils/vnodes.d.ts +1 -0
  2292. package/dist/runtime/vue/utils/vnodes.js +15 -0
  2293. package/dist/shared/nuxt-backend.2m535CLS.mjs +171 -0
  2294. package/dist/shared/nuxt-backend.C62dpRH3.mjs +27 -0
  2295. package/dist/shared/nuxt-backend.DXEf0rrv.mjs +571 -0
  2296. package/dist/shared/nuxt-backend.Dm1NkY7v.mjs +1154 -0
  2297. package/dist/shared/nuxt-backend.KEzfHO2K.mjs +3562 -0
  2298. package/dist/shared/nuxt-backend.ikObmtHs.mjs +143 -0
  2299. package/dist/types.d.ts +8 -2
  2300. package/package.json +375 -90
  2301. package/skills/nuxt-backend/SKILL.md +142 -0
  2302. package/skills/nuxt-backend/references/api.md +769 -0
  2303. package/skills/nuxt-backend/references/install.md +188 -0
  2304. package/skills/nuxt-backend/references/renames.json +2129 -0
  2305. package/skills/nuxt-backend/references/surface.json +1436 -0
  2306. package/skills/nuxt-backend-ai/SKILL.md +79 -0
  2307. package/skills/nuxt-backend-ai/references/api.md +56 -0
  2308. package/skills/nuxt-backend-auth/SKILL.md +169 -0
  2309. package/skills/nuxt-backend-auth/references/api.md +159 -0
  2310. package/skills/nuxt-backend-billing/SKILL.md +181 -0
  2311. package/skills/nuxt-backend-billing/references/api.md +114 -0
  2312. package/skills/nuxt-backend-data/SKILL.md +91 -0
  2313. package/skills/nuxt-backend-data/references/api.md +79 -0
  2314. package/skills/nuxt-backend-email/SKILL.md +115 -0
  2315. package/skills/nuxt-backend-email/references/api.md +127 -0
  2316. package/skills/nuxt-backend-growth/SKILL.md +47 -0
  2317. package/skills/nuxt-backend-growth/references/api.md +38 -0
  2318. package/skills/nuxt-backend-ship/SKILL.md +187 -0
  2319. package/skills/nuxt-backend-ship/references/api.md +215 -0
  2320. package/skills/nuxt-backend-ui/SKILL.md +84 -0
  2321. package/skills/nuxt-backend-ui/references/api.md +39 -0
  2322. package/skills/nuxt-backend-upgrade/SKILL.md +73 -0
  2323. package/skills/nuxt-backend-upgrade/references/api.md +23 -0
  2324. package/skills/nuxt-backend-upgrade/references/upgrade.md +512 -0
  2325. package/src/convex/access-tickets.ts +188 -0
  2326. package/src/convex/account-data.ts +496 -0
  2327. package/src/convex/activation-rules.ts +149 -0
  2328. package/src/convex/announcements.ts +31 -0
  2329. package/src/convex/app.ts +138 -0
  2330. package/src/convex/auth-secrets.ts +124 -0
  2331. package/src/convex/auth.config.ts +30 -3
  2332. package/src/convex/bytes.ts +10 -0
  2333. package/src/convex/c2pa/cbor.ts +88 -0
  2334. package/src/convex/c2pa/der.ts +108 -0
  2335. package/src/convex/c2pa/formats.ts +309 -0
  2336. package/src/convex/c2pa/jumbf.ts +46 -0
  2337. package/src/convex/c2pa/manifest.ts +195 -0
  2338. package/src/convex/catalog.ts +771 -0
  2339. package/src/convex/client/age-gate.ts +129 -0
  2340. package/src/convex/client/audit.ts +332 -0
  2341. package/src/convex/client/auth-types.ts +387 -0
  2342. package/src/convex/client/better-auth-options.ts +498 -0
  2343. package/src/convex/client/client-address.ts +37 -0
  2344. package/src/convex/client/code-binding.ts +107 -0
  2345. package/src/convex/client/codes.ts +48 -0
  2346. package/src/convex/client/component.ts +181 -0
  2347. package/src/convex/client/devices.ts +205 -0
  2348. package/src/convex/client/email.ts +80 -0
  2349. package/src/convex/client/entities.ts +117 -0
  2350. package/src/convex/client/guards.ts +956 -0
  2351. package/src/convex/client/guest-claim.ts +63 -0
  2352. package/src/convex/client/hooks.ts +79 -0
  2353. package/src/convex/client/identity.ts +8 -0
  2354. package/src/convex/client/index.ts +268 -276
  2355. package/src/convex/client/launch-gate.ts +223 -0
  2356. package/src/convex/client/notices.ts +39 -0
  2357. package/src/convex/client/passkey-only.ts +398 -0
  2358. package/src/convex/client/plugins.ts +211 -0
  2359. package/src/convex/client/refusals.ts +39 -0
  2360. package/src/convex/client/request-origin.ts +109 -0
  2361. package/src/convex/client/request-session.ts +73 -0
  2362. package/src/convex/client/runtime.ts +95 -0
  2363. package/src/convex/client/secret-rotation.ts +113 -0
  2364. package/src/convex/client/sessions.ts +55 -0
  2365. package/src/convex/client/workspaces.ts +150 -0
  2366. package/src/convex/components/backend/_generated/api.ts +132 -0
  2367. package/src/convex/components/backend/_generated/component.ts +5839 -0
  2368. package/src/convex/components/backend/_generated/server.ts +175 -0
  2369. package/src/convex/components/backend/access.ts +441 -0
  2370. package/src/convex/components/backend/account.ts +1069 -0
  2371. package/src/convex/components/backend/adapter.ts +64 -0
  2372. package/src/convex/components/backend/ai.ts +378 -0
  2373. package/src/convex/components/backend/alerts.ts +208 -0
  2374. package/src/convex/components/backend/announcements.ts +275 -0
  2375. package/src/convex/components/backend/audit.ts +341 -0
  2376. package/src/convex/components/backend/billing.ts +756 -0
  2377. package/src/convex/components/backend/consents.ts +168 -0
  2378. package/src/convex/components/backend/convex.config.ts +75 -0
  2379. package/src/convex/components/backend/costs.ts +286 -0
  2380. package/src/convex/components/backend/crons.ts +26 -0
  2381. package/src/convex/components/backend/devices.ts +198 -0
  2382. package/src/convex/components/backend/email.ts +660 -0
  2383. package/src/convex/components/backend/erasures.ts +72 -0
  2384. package/src/convex/components/backend/flags.ts +85 -0
  2385. package/src/convex/components/backend/funnel.ts +596 -0
  2386. package/src/convex/components/backend/gifts.ts +734 -0
  2387. package/src/convex/components/backend/inbound.ts +391 -0
  2388. package/src/convex/components/backend/jobs.ts +944 -0
  2389. package/src/convex/components/backend/keys.ts +50 -0
  2390. package/src/convex/components/backend/lifecycle.ts +355 -0
  2391. package/src/convex/components/backend/lifecycleActivity.ts +29 -0
  2392. package/src/convex/components/backend/maintenance.ts +495 -0
  2393. package/src/convex/components/backend/migrations.ts +120 -0
  2394. package/src/convex/components/backend/monitoring.ts +63 -0
  2395. package/src/convex/components/backend/notifications.ts +532 -0
  2396. package/src/convex/components/backend/onboarding.ts +54 -0
  2397. package/src/convex/components/backend/parties.ts +75 -0
  2398. package/src/convex/components/backend/posture.ts +37 -0
  2399. package/src/convex/components/backend/preferences.ts +690 -0
  2400. package/src/convex/components/backend/push.ts +95 -0
  2401. package/src/convex/components/backend/referrals.ts +761 -0
  2402. package/src/convex/components/backend/reports.ts +609 -0
  2403. package/src/convex/components/backend/schema.ts +2165 -0
  2404. package/src/convex/components/backend/storage.ts +700 -0
  2405. package/src/convex/components/backend/subscriptions.ts +240 -0
  2406. package/src/convex/components/backend/suppressions.ts +115 -0
  2407. package/src/convex/components/backend/waitlist.ts +727 -0
  2408. package/src/convex/components/backend/wake.ts +13 -0
  2409. package/src/convex/components/backend/webhooks.ts +287 -0
  2410. package/src/convex/consent-rules.ts +156 -0
  2411. package/src/convex/constants.ts +191 -0
  2412. package/src/convex/delivery.ts +81 -0
  2413. package/src/convex/email-blocks.ts +119 -0
  2414. package/src/convex/email-helpers.ts +91 -0
  2415. package/src/convex/email-html.ts +20 -0
  2416. package/src/convex/email-posture.ts +233 -0
  2417. package/src/convex/email-preferences.ts +310 -0
  2418. package/src/convex/email-scheme.ts +18 -0
  2419. package/src/convex/email-templates.ts +1020 -0
  2420. package/src/convex/email-theme.ts +201 -0
  2421. package/src/convex/email-validators.ts +27 -0
  2422. package/src/convex/emails/appeal-decided.ts +16 -0
  2423. package/src/convex/emails/content-restricted.ts +29 -0
  2424. package/src/convex/emails/deletion-canceled.ts +8 -0
  2425. package/src/convex/emails/deletion-scheduled.ts +18 -0
  2426. package/src/convex/emails/email-changed.ts +13 -0
  2427. package/src/convex/emails/gift-pass-ending.ts +18 -0
  2428. package/src/convex/emails/gift.ts +18 -0
  2429. package/src/convex/emails/invite.ts +28 -0
  2430. package/src/convex/emails/new-device.ts +21 -0
  2431. package/src/convex/emails/notice-decided.ts +16 -0
  2432. package/src/convex/emails/notice-received.ts +15 -0
  2433. package/src/convex/emails/otp.ts +48 -0
  2434. package/src/convex/emails/passkey-recovered.ts +21 -0
  2435. package/src/convex/emails/renewal-reminder.ts +20 -0
  2436. package/src/convex/emails/topic-confirmation.ts +17 -0
  2437. package/src/convex/emails/waitlist-admitted.ts +16 -0
  2438. package/src/convex/emails/waitlist-confirmation.ts +19 -0
  2439. package/src/convex/emails/welcome.ts +15 -0
  2440. package/src/convex/emails/withdrawal-receipt.ts +16 -0
  2441. package/src/convex/environment.ts +75 -0
  2442. package/src/convex/errors.ts +418 -0
  2443. package/src/convex/events.ts +840 -0
  2444. package/src/convex/files.ts +420 -0
  2445. package/src/convex/flags.ts +344 -0
  2446. package/src/convex/funnel-rules.ts +273 -0
  2447. package/src/convex/inbound-rules.ts +212 -0
  2448. package/src/convex/integrations/access.ts +278 -0
  2449. package/src/convex/integrations/account.ts +1044 -0
  2450. package/src/convex/integrations/admin.ts +510 -0
  2451. package/src/convex/integrations/ai/account-export.ts +53 -0
  2452. package/src/convex/integrations/ai/chat.ts +530 -0
  2453. package/src/convex/integrations/ai/config.ts +747 -0
  2454. package/src/convex/integrations/ai/context.ts +93 -0
  2455. package/src/convex/integrations/ai/costs.ts +80 -0
  2456. package/src/convex/integrations/ai/embeddings.ts +109 -0
  2457. package/src/convex/integrations/ai/job-errors.ts +152 -0
  2458. package/src/convex/integrations/ai/jobs.ts +1268 -0
  2459. package/src/convex/integrations/ai/knowledge.ts +489 -0
  2460. package/src/convex/integrations/ai/metering.ts +408 -0
  2461. package/src/convex/integrations/ai/model-id.ts +16 -0
  2462. package/src/convex/integrations/ai/models.ts +467 -0
  2463. package/src/convex/integrations/ai/moderation.ts +253 -0
  2464. package/src/convex/integrations/ai/pricing.ts +170 -0
  2465. package/src/convex/integrations/ai/provenance.ts +213 -0
  2466. package/src/convex/integrations/ai/setup.ts +58 -0
  2467. package/src/convex/integrations/ai/stream.ts +170 -0
  2468. package/src/convex/integrations/ai.ts +84 -0
  2469. package/src/convex/integrations/announcements.ts +442 -0
  2470. package/src/convex/integrations/audit.ts +523 -0
  2471. package/src/convex/integrations/authorization.ts +366 -0
  2472. package/src/convex/integrations/billing/activity.ts +70 -0
  2473. package/src/convex/integrations/billing/checkout.ts +501 -0
  2474. package/src/convex/integrations/billing/claim-discount.ts +45 -0
  2475. package/src/convex/integrations/billing/context.ts +484 -0
  2476. package/src/convex/integrations/billing/credits.ts +237 -0
  2477. package/src/convex/integrations/billing/customers.ts +369 -0
  2478. package/src/convex/integrations/billing/discounts.ts +96 -0
  2479. package/src/convex/integrations/billing/entitlements.ts +218 -0
  2480. package/src/convex/integrations/billing/erasure.ts +99 -0
  2481. package/src/convex/integrations/billing/events.ts +225 -0
  2482. package/src/convex/integrations/billing/features.ts +91 -0
  2483. package/src/convex/integrations/billing/free-plan.ts +257 -0
  2484. package/src/convex/integrations/billing/functions.ts +506 -0
  2485. package/src/convex/integrations/billing/gift-access.ts +44 -0
  2486. package/src/convex/integrations/billing/gift-manage.ts +281 -0
  2487. package/src/convex/integrations/billing/gift-rules.ts +49 -0
  2488. package/src/convex/integrations/billing/gifts.ts +741 -0
  2489. package/src/convex/integrations/billing/history.ts +233 -0
  2490. package/src/convex/integrations/billing/lifecycle.ts +537 -0
  2491. package/src/convex/integrations/billing/passes.ts +428 -0
  2492. package/src/convex/integrations/billing/pricing.ts +387 -0
  2493. package/src/convex/integrations/billing/provider-client.ts +15 -0
  2494. package/src/convex/integrations/billing/provider-events.ts +220 -0
  2495. package/src/convex/integrations/billing/purchase.ts +346 -0
  2496. package/src/convex/integrations/billing/quotas.ts +205 -0
  2497. package/src/convex/integrations/billing/referral-orders.ts +45 -0
  2498. package/src/convex/integrations/billing/revenue.ts +194 -0
  2499. package/src/convex/integrations/billing/rewards.ts +171 -0
  2500. package/src/convex/integrations/billing/subscriptions.ts +421 -0
  2501. package/src/convex/integrations/billing/types/base.ts +99 -0
  2502. package/src/convex/integrations/billing/types/lifecycle.ts +152 -0
  2503. package/src/convex/integrations/billing/types/options.ts +389 -0
  2504. package/src/convex/integrations/billing/types/records.ts +549 -0
  2505. package/src/convex/integrations/billing/types/revenue.ts +123 -0
  2506. package/src/convex/integrations/billing/types/setup.ts +576 -0
  2507. package/src/convex/integrations/billing/types/surface.ts +626 -0
  2508. package/src/convex/integrations/billing/webhooks.ts +330 -0
  2509. package/src/convex/integrations/billing.ts +263 -0
  2510. package/src/convex/integrations/email-lifecycle.ts +265 -0
  2511. package/src/convex/integrations/email-preferences.ts +417 -0
  2512. package/src/convex/integrations/email-suppressions.ts +176 -0
  2513. package/src/convex/integrations/email-sync.ts +560 -0
  2514. package/src/convex/integrations/email.ts +1224 -0
  2515. package/src/convex/integrations/flags.ts +492 -0
  2516. package/src/convex/integrations/functions.ts +485 -0
  2517. package/src/convex/integrations/health.ts +180 -0
  2518. package/src/convex/integrations/http.ts +198 -0
  2519. package/src/convex/integrations/inbound.ts +712 -0
  2520. package/src/convex/integrations/launch.ts +614 -0
  2521. package/src/convex/integrations/monitoring.ts +259 -0
  2522. package/src/convex/integrations/notifications.ts +590 -0
  2523. package/src/convex/integrations/rate-limit.ts +319 -0
  2524. package/src/convex/integrations/referrals.ts +504 -0
  2525. package/src/convex/integrations/reports.ts +719 -0
  2526. package/src/convex/integrations/retention.ts +196 -0
  2527. package/src/convex/integrations/search.ts +188 -0
  2528. package/src/convex/integrations/storage.ts +595 -0
  2529. package/src/convex/integrations/waitlist.ts +429 -0
  2530. package/src/convex/integrations/webhook-guard.ts +348 -0
  2531. package/src/convex/integrations/webhooks.ts +173 -0
  2532. package/src/convex/integrations/workflows.ts +218 -0
  2533. package/src/convex/jobs-policy.ts +390 -0
  2534. package/src/convex/label-format.ts +73 -0
  2535. package/src/convex/label-groups/access.ts +23 -0
  2536. package/src/convex/label-groups/account.ts +29 -0
  2537. package/src/convex/label-groups/activation.ts +24 -0
  2538. package/src/convex/label-groups/admin.ts +860 -0
  2539. package/src/convex/label-groups/ai.ts +17 -0
  2540. package/src/convex/label-groups/announcement.ts +16 -0
  2541. package/src/convex/label-groups/audit.ts +174 -0
  2542. package/src/convex/label-groups/auth.ts +78 -0
  2543. package/src/convex/label-groups/cancelFlow.ts +54 -0
  2544. package/src/convex/label-groups/connection.ts +15 -0
  2545. package/src/convex/label-groups/consent.ts +44 -0
  2546. package/src/convex/label-groups/contact.ts +26 -0
  2547. package/src/convex/label-groups/credits.ts +29 -0
  2548. package/src/convex/label-groups/deletion.ts +21 -0
  2549. package/src/convex/label-groups/email.ts +209 -0
  2550. package/src/convex/label-groups/errors.ts +119 -0
  2551. package/src/convex/label-groups/feedback.ts +19 -0
  2552. package/src/convex/label-groups/gift.ts +62 -0
  2553. package/src/convex/label-groups/history.ts +27 -0
  2554. package/src/convex/label-groups/impersonation.ts +16 -0
  2555. package/src/convex/label-groups/invitation.ts +27 -0
  2556. package/src/convex/label-groups/legal.ts +147 -0
  2557. package/src/convex/label-groups/maintenance.ts +14 -0
  2558. package/src/convex/label-groups/notifications.ts +91 -0
  2559. package/src/convex/label-groups/onboarding.ts +61 -0
  2560. package/src/convex/label-groups/pastDue.ts +12 -0
  2561. package/src/convex/label-groups/preferences.ts +48 -0
  2562. package/src/convex/label-groups/pricing.ts +97 -0
  2563. package/src/convex/label-groups/profile.ts +41 -0
  2564. package/src/convex/label-groups/quota.ts +27 -0
  2565. package/src/convex/label-groups/reauthenticate.ts +24 -0
  2566. package/src/convex/label-groups/referral.ts +55 -0
  2567. package/src/convex/label-groups/report.ts +58 -0
  2568. package/src/convex/label-groups/security.ts +65 -0
  2569. package/src/convex/label-groups/settings.ts +92 -0
  2570. package/src/convex/label-groups/shell.ts +56 -0
  2571. package/src/convex/label-groups/source.ts +34 -0
  2572. package/src/convex/label-groups/upgrade.ts +22 -0
  2573. package/src/convex/label-groups/upload.ts +21 -0
  2574. package/src/convex/label-groups/usage.ts +14 -0
  2575. package/src/convex/label-groups/waitlist.ts +47 -0
  2576. package/src/convex/label-groups/withdrawal.ts +20 -0
  2577. package/src/convex/label-translations.ts +1836 -0
  2578. package/src/convex/labels.ts +134 -0
  2579. package/src/convex/legal.ts +351 -0
  2580. package/src/convex/lifecycle-flows.ts +91 -0
  2581. package/src/convex/local-origins.ts +25 -0
  2582. package/src/convex/locale.ts +96 -0
  2583. package/src/convex/log.ts +150 -0
  2584. package/src/convex/loopback.ts +20 -0
  2585. package/src/convex/monitoring.ts +550 -0
  2586. package/src/convex/notifications.ts +377 -0
  2587. package/src/convex/package-migrations.ts +49 -0
  2588. package/src/convex/paths.ts +78 -0
  2589. package/src/convex/pauses.ts +56 -0
  2590. package/src/convex/proof.ts +366 -0
  2591. package/src/convex/referral-rules.ts +145 -0
  2592. package/src/convex/report-rules.ts +15 -0
  2593. package/src/convex/sandbox-inbox.ts +176 -0
  2594. package/src/convex/sensitive-actions.ts +276 -0
  2595. package/src/convex/test-models.ts +129 -0
  2596. package/src/convex/test.ts +325 -14
  2597. package/src/convex/tokens.ts +106 -0
  2598. package/src/convex/urls.ts +15 -0
  2599. package/src/convex/visitor.ts +54 -0
  2600. package/src/convex/waitlist-rules.ts +131 -0
  2601. package/src/convex/web-push.ts +243 -0
  2602. package/src/convex/webhook-signatures.ts +167 -0
  2603. package/src/runtime/vue/components/account/AccountData.css +46 -0
  2604. package/src/runtime/vue/components/account/AccountData.vue +185 -0
  2605. package/src/runtime/vue/components/account/AccountDeletion.css +45 -0
  2606. package/src/runtime/vue/components/account/AccountDeletion.vue +102 -0
  2607. package/src/runtime/vue/components/account/AccountExport.css +38 -0
  2608. package/src/runtime/vue/components/account/AccountExport.vue +66 -0
  2609. package/src/runtime/vue/components/account/ActivationChecklist.css +131 -0
  2610. package/src/runtime/vue/components/account/ActivationChecklist.vue +150 -0
  2611. package/src/runtime/vue/components/account/ConsentPrompt.css +181 -0
  2612. package/src/runtime/vue/components/account/ConsentPrompt.vue +149 -0
  2613. package/src/runtime/vue/components/account/ConsentPromptAge.vue +40 -0
  2614. package/src/runtime/vue/components/account/ConsentPromptDialog.vue +151 -0
  2615. package/src/runtime/vue/components/account/ConsentPromptItem.vue +60 -0
  2616. package/src/runtime/vue/components/account/ConsentPromptStorage.vue +82 -0
  2617. package/src/runtime/vue/components/account/EmailUnsubscribe.css +70 -0
  2618. package/src/runtime/vue/components/account/EmailUnsubscribe.vue +118 -0
  2619. package/src/runtime/vue/components/account/HowDidYouHear.css +115 -0
  2620. package/src/runtime/vue/components/account/HowDidYouHear.vue +183 -0
  2621. package/src/runtime/vue/components/account/KeepAccount.css +43 -0
  2622. package/src/runtime/vue/components/account/KeepAccount.vue +63 -0
  2623. package/src/runtime/vue/components/account/OnboardingFlow.css +200 -0
  2624. package/src/runtime/vue/components/account/OnboardingFlow.vue +172 -0
  2625. package/src/runtime/vue/components/account/OnboardingPlan.vue +42 -0
  2626. package/src/runtime/vue/components/account/OnboardingProfile.vue +119 -0
  2627. package/src/runtime/vue/components/account/OnboardingStepActions.vue +45 -0
  2628. package/src/runtime/vue/components/account/OnboardingTeammates.vue +107 -0
  2629. package/src/runtime/vue/components/account/OnboardingWorkspace.vue +174 -0
  2630. package/src/runtime/vue/components/account/ProfileEmailSection.vue +104 -0
  2631. package/src/runtime/vue/components/account/ProfileIdentity.css +57 -0
  2632. package/src/runtime/vue/components/account/ProfileIdentity.vue +51 -0
  2633. package/src/runtime/vue/components/account/ProfileLanguageSection.vue +44 -0
  2634. package/src/runtime/vue/components/account/ProfileNameSection.vue +36 -0
  2635. package/src/runtime/vue/components/account/ProfilePreferencesSection.css +127 -0
  2636. package/src/runtime/vue/components/account/ProfilePreferencesSection.vue +168 -0
  2637. package/src/runtime/vue/components/account/ProfileSettings.css +64 -0
  2638. package/src/runtime/vue/components/account/ProfileSettings.vue +255 -0
  2639. package/src/runtime/vue/components/account/SecurityAlerts.css +47 -0
  2640. package/src/runtime/vue/components/account/SecurityAlerts.vue +79 -0
  2641. package/src/runtime/vue/components/account/SecurityPasskeys.css +79 -0
  2642. package/src/runtime/vue/components/account/SecurityPasskeys.vue +160 -0
  2643. package/src/runtime/vue/components/account/SecuritySessions.css +21 -0
  2644. package/src/runtime/vue/components/account/SecuritySessions.vue +88 -0
  2645. package/src/runtime/vue/components/account/SecuritySettings.css +80 -0
  2646. package/src/runtime/vue/components/account/SecuritySettings.vue +283 -0
  2647. package/src/runtime/vue/components/admin/AdminAccess.css +77 -0
  2648. package/src/runtime/vue/components/admin/AdminAccess.vue +62 -0
  2649. package/src/runtime/vue/components/admin/AdminAccessAdmissions.vue +59 -0
  2650. package/src/runtime/vue/components/admin/AdminAccessAdmit.vue +73 -0
  2651. package/src/runtime/vue/components/admin/AdminAccessCreate.vue +86 -0
  2652. package/src/runtime/vue/components/admin/AdminAccessInvites.vue +56 -0
  2653. package/src/runtime/vue/components/admin/AdminAccessPhase.vue +51 -0
  2654. package/src/runtime/vue/components/admin/AdminAccessRevoke.vue +25 -0
  2655. package/src/runtime/vue/components/admin/AdminAccessTable.vue +65 -0
  2656. package/src/runtime/vue/components/admin/AdminAnalytics.css +24 -0
  2657. package/src/runtime/vue/components/admin/AdminAnalytics.vue +45 -0
  2658. package/src/runtime/vue/components/admin/AdminAnnouncements.css +94 -0
  2659. package/src/runtime/vue/components/admin/AdminAnnouncements.vue +97 -0
  2660. package/src/runtime/vue/components/admin/AdminAnnouncementsCompose.vue +140 -0
  2661. package/src/runtime/vue/components/admin/AdminAnnouncementsItem.vue +89 -0
  2662. package/src/runtime/vue/components/admin/AdminBilling.css +74 -0
  2663. package/src/runtime/vue/components/admin/AdminBilling.vue +214 -0
  2664. package/src/runtime/vue/components/admin/AdminChart.css +57 -0
  2665. package/src/runtime/vue/components/admin/AdminChart.vue +45 -0
  2666. package/src/runtime/vue/components/admin/AdminConsole.css +30 -0
  2667. package/src/runtime/vue/components/admin/AdminConsole.vue +179 -0
  2668. package/src/runtime/vue/components/admin/AdminCosts.css +64 -0
  2669. package/src/runtime/vue/components/admin/AdminCosts.vue +133 -0
  2670. package/src/runtime/vue/components/admin/AdminDrawerFrame.vue +83 -0
  2671. package/src/runtime/vue/components/admin/AdminExperiments.css +99 -0
  2672. package/src/runtime/vue/components/admin/AdminExperiments.vue +174 -0
  2673. package/src/runtime/vue/components/admin/AdminFlags.css +77 -0
  2674. package/src/runtime/vue/components/admin/AdminFlags.vue +486 -0
  2675. package/src/runtime/vue/components/admin/AdminGrowth.css +98 -0
  2676. package/src/runtime/vue/components/admin/AdminGrowth.vue +218 -0
  2677. package/src/runtime/vue/components/admin/AdminInbox.css +98 -0
  2678. package/src/runtime/vue/components/admin/AdminInbox.vue +96 -0
  2679. package/src/runtime/vue/components/admin/AdminInboxMessage.vue +116 -0
  2680. package/src/runtime/vue/components/admin/AdminListFrame.vue +88 -0
  2681. package/src/runtime/vue/components/admin/AdminListTail.vue +50 -0
  2682. package/src/runtime/vue/components/admin/AdminQueue.css +91 -0
  2683. package/src/runtime/vue/components/admin/AdminQueue.vue +108 -0
  2684. package/src/runtime/vue/components/admin/AdminQueueControls.vue +64 -0
  2685. package/src/runtime/vue/components/admin/AdminQueueJob.vue +62 -0
  2686. package/src/runtime/vue/components/admin/AdminQueueJobs.vue +90 -0
  2687. package/src/runtime/vue/components/admin/AdminQueueModels.vue +96 -0
  2688. package/src/runtime/vue/components/admin/AdminQueueTier.vue +97 -0
  2689. package/src/runtime/vue/components/admin/AdminQueueTiers.vue +47 -0
  2690. package/src/runtime/vue/components/admin/AdminReferrals.css +76 -0
  2691. package/src/runtime/vue/components/admin/AdminReferrals.vue +262 -0
  2692. package/src/runtime/vue/components/admin/AdminReports.css +88 -0
  2693. package/src/runtime/vue/components/admin/AdminReports.vue +141 -0
  2694. package/src/runtime/vue/components/admin/AdminReportsAppeal.vue +64 -0
  2695. package/src/runtime/vue/components/admin/AdminReportsDecision.vue +83 -0
  2696. package/src/runtime/vue/components/admin/AdminReportsNotice.vue +57 -0
  2697. package/src/runtime/vue/components/admin/AdminReportsSubject.vue +86 -0
  2698. package/src/runtime/vue/components/admin/AdminRevenue.css +92 -0
  2699. package/src/runtime/vue/components/admin/AdminRevenue.vue +212 -0
  2700. package/src/runtime/vue/components/admin/AdminSuppressions.css +44 -0
  2701. package/src/runtime/vue/components/admin/AdminSuppressions.vue +111 -0
  2702. package/src/runtime/vue/components/admin/AdminSystem.vue +150 -0
  2703. package/src/runtime/vue/components/admin/AdminTabDialogs.vue +30 -0
  2704. package/src/runtime/vue/components/admin/AdminTabStatus.vue +38 -0
  2705. package/src/runtime/vue/components/admin/AdminUserDrawer.vue +309 -0
  2706. package/src/runtime/vue/components/admin/AdminUsers.vue +200 -0
  2707. package/src/runtime/vue/components/admin/AdminUsersTable.vue +109 -0
  2708. package/src/runtime/vue/components/admin/AdminWaitlist.css +71 -0
  2709. package/src/runtime/vue/components/admin/AdminWaitlist.vue +80 -0
  2710. package/src/runtime/vue/components/admin/AdminWaitlistActions.vue +68 -0
  2711. package/src/runtime/vue/components/admin/AdminWaitlistFilter.vue +94 -0
  2712. package/src/runtime/vue/components/admin/AdminWaitlistSummary.vue +72 -0
  2713. package/src/runtime/vue/components/admin/AdminWaitlistTable.vue +84 -0
  2714. package/src/runtime/vue/components/admin/AdminWebhooks.css +68 -0
  2715. package/src/runtime/vue/components/admin/AdminWebhooks.vue +155 -0
  2716. package/src/runtime/vue/components/admin/AdminWorkspaceDrawer.vue +106 -0
  2717. package/src/runtime/vue/components/admin/AdminWorkspaces.vue +121 -0
  2718. package/src/runtime/vue/components/admin/AdminWorkspacesTable.vue +82 -0
  2719. package/src/runtime/vue/components/admin/admin.css +281 -0
  2720. package/src/runtime/vue/components/auth/AuthForm.css +142 -0
  2721. package/src/runtime/vue/components/auth/AuthForm.vue +239 -0
  2722. package/src/runtime/vue/components/auth/AuthFormAge.css +12 -0
  2723. package/src/runtime/vue/components/auth/AuthFormAge.vue +46 -0
  2724. package/src/runtime/vue/components/auth/AuthFormAgreement.css +17 -0
  2725. package/src/runtime/vue/components/auth/AuthFormAgreement.vue +43 -0
  2726. package/src/runtime/vue/components/auth/AuthFormChoose.css +36 -0
  2727. package/src/runtime/vue/components/auth/AuthFormChoose.vue +50 -0
  2728. package/src/runtime/vue/components/auth/AuthFormCode.vue +47 -0
  2729. package/src/runtime/vue/components/auth/AuthFormEmail.vue +41 -0
  2730. package/src/runtime/vue/components/auth/AuthFormError.css +15 -0
  2731. package/src/runtime/vue/components/auth/AuthFormError.vue +19 -0
  2732. package/src/runtime/vue/components/auth/AuthFormHeader.css +18 -0
  2733. package/src/runtime/vue/components/auth/AuthFormHeader.vue +28 -0
  2734. package/src/runtime/vue/components/auth/AuthFormInviteCode.css +17 -0
  2735. package/src/runtime/vue/components/auth/AuthFormInviteCode.vue +49 -0
  2736. package/src/runtime/vue/components/auth/AuthFormPasskey.vue +27 -0
  2737. package/src/runtime/vue/components/auth/AuthFormPasskeyOffer.css +29 -0
  2738. package/src/runtime/vue/components/auth/AuthFormPasskeyOffer.vue +52 -0
  2739. package/src/runtime/vue/components/auth/AuthFormRecover.css +19 -0
  2740. package/src/runtime/vue/components/auth/AuthFormRecover.vue +57 -0
  2741. package/src/runtime/vue/components/auth/AuthFormUndeliverable.css +21 -0
  2742. package/src/runtime/vue/components/auth/AuthFormUndeliverable.vue +35 -0
  2743. package/src/runtime/vue/components/auth/AuthFormWaitlisted.css +25 -0
  2744. package/src/runtime/vue/components/auth/AuthFormWaitlisted.vue +42 -0
  2745. package/src/runtime/vue/components/auth/InviteRedeem.css +34 -0
  2746. package/src/runtime/vue/components/auth/InviteRedeem.vue +63 -0
  2747. package/src/runtime/vue/components/auth/ReauthenticateCode.css +21 -0
  2748. package/src/runtime/vue/components/auth/ReauthenticateCode.vue +59 -0
  2749. package/src/runtime/vue/components/auth/ReauthenticateDialog.css +95 -0
  2750. package/src/runtime/vue/components/auth/ReauthenticateDialog.vue +180 -0
  2751. package/src/runtime/vue/components/auth/ReauthenticatePasskey.css +24 -0
  2752. package/src/runtime/vue/components/auth/ReauthenticatePasskey.vue +37 -0
  2753. package/src/runtime/vue/components/auth/WaitlistCode.css +24 -0
  2754. package/src/runtime/vue/components/auth/WaitlistCode.vue +57 -0
  2755. package/src/runtime/vue/components/auth/WaitlistForm.css +80 -0
  2756. package/src/runtime/vue/components/auth/WaitlistForm.vue +119 -0
  2757. package/src/runtime/vue/components/auth/WaitlistJoin.css +46 -0
  2758. package/src/runtime/vue/components/auth/WaitlistJoin.vue +99 -0
  2759. package/src/runtime/vue/components/auth/WaitlistPlace.css +53 -0
  2760. package/src/runtime/vue/components/auth/WaitlistPlace.vue +78 -0
  2761. package/src/runtime/vue/components/auth/WaitlistShare.css +68 -0
  2762. package/src/runtime/vue/components/auth/WaitlistShare.vue +76 -0
  2763. package/src/runtime/vue/components/auth/WaitlistStatus.css +19 -0
  2764. package/src/runtime/vue/components/auth/WaitlistStatus.vue +75 -0
  2765. package/src/runtime/vue/components/billing/BillingCheckoutLink.vue +103 -0
  2766. package/src/runtime/vue/components/billing/BillingHistory.css +71 -0
  2767. package/src/runtime/vue/components/billing/BillingHistory.vue +131 -0
  2768. package/src/runtime/vue/components/billing/BillingHistoryOrder.css +63 -0
  2769. package/src/runtime/vue/components/billing/BillingHistoryOrder.vue +52 -0
  2770. package/src/runtime/vue/components/billing/BillingPortalLink.vue +65 -0
  2771. package/src/runtime/vue/components/billing/CancelConfirmGroup.vue +55 -0
  2772. package/src/runtime/vue/components/billing/CancelFlow.css +110 -0
  2773. package/src/runtime/vue/components/billing/CancelFlow.vue +133 -0
  2774. package/src/runtime/vue/components/billing/CancelFlowConfirm.vue +35 -0
  2775. package/src/runtime/vue/components/billing/CancelFlowEnd.vue +43 -0
  2776. package/src/runtime/vue/components/billing/CancelFlowOffer.vue +30 -0
  2777. package/src/runtime/vue/components/billing/CancelFlowQuestion.vue +58 -0
  2778. package/src/runtime/vue/components/billing/GiftList.css +101 -0
  2779. package/src/runtime/vue/components/billing/GiftList.vue +125 -0
  2780. package/src/runtime/vue/components/billing/GiftReceived.vue +71 -0
  2781. package/src/runtime/vue/components/billing/GiftSent.vue +138 -0
  2782. package/src/runtime/vue/components/billing/PricingCancelConfirm.vue +14 -0
  2783. package/src/runtime/vue/components/billing/PricingCurrencySelect.vue +53 -0
  2784. package/src/runtime/vue/components/billing/PricingEmailOptOut.css +34 -0
  2785. package/src/runtime/vue/components/billing/PricingEmailOptOut.vue +32 -0
  2786. package/src/runtime/vue/components/billing/PricingPackCard.css +25 -0
  2787. package/src/runtime/vue/components/billing/PricingPackCard.vue +78 -0
  2788. package/src/runtime/vue/components/billing/PricingPeriodSwitch.vue +52 -0
  2789. package/src/runtime/vue/components/billing/PricingPlanCard.css +106 -0
  2790. package/src/runtime/vue/components/billing/PricingPlanCard.vue +142 -0
  2791. package/src/runtime/vue/components/billing/PricingPromotion.vue +24 -0
  2792. package/src/runtime/vue/components/billing/PricingTable.css +94 -0
  2793. package/src/runtime/vue/components/billing/PricingTable.vue +712 -0
  2794. package/src/runtime/vue/components/billing/ReferralCard.css +100 -0
  2795. package/src/runtime/vue/components/billing/ReferralCard.vue +203 -0
  2796. package/src/runtime/vue/components/billing/ReferralLanding.css +52 -0
  2797. package/src/runtime/vue/components/billing/ReferralLanding.vue +112 -0
  2798. package/src/runtime/vue/components/billing/UpgradePrompt.css +55 -0
  2799. package/src/runtime/vue/components/billing/UpgradePrompt.vue +144 -0
  2800. package/src/runtime/vue/components/billing/UsageHistory.css +61 -0
  2801. package/src/runtime/vue/components/billing/UsageHistory.vue +98 -0
  2802. package/src/runtime/vue/components/billing/UsageHistoryEvent.css +39 -0
  2803. package/src/runtime/vue/components/billing/UsageHistoryEvent.vue +25 -0
  2804. package/src/runtime/vue/components/billing/WithdrawalButton.css +59 -0
  2805. package/src/runtime/vue/components/billing/WithdrawalButton.vue +111 -0
  2806. package/src/runtime/vue/components/shared.css +131 -0
  2807. package/src/runtime/vue/components/shell/AccessDenied.css +77 -0
  2808. package/src/runtime/vue/components/shell/AccessDenied.vue +207 -0
  2809. package/src/runtime/vue/components/shell/AccessDeniedPage.vue +25 -0
  2810. package/src/runtime/vue/components/shell/AccountMenu.css +87 -0
  2811. package/src/runtime/vue/components/shell/AccountMenu.vue +92 -0
  2812. package/src/runtime/vue/components/shell/AiLabel.css +68 -0
  2813. package/src/runtime/vue/components/shell/AiLabel.vue +65 -0
  2814. package/src/runtime/vue/components/shell/AppShell.css +188 -0
  2815. package/src/runtime/vue/components/shell/AppShell.vue +122 -0
  2816. package/src/runtime/vue/components/shell/BackendNotices.vue +67 -0
  2817. package/src/runtime/vue/components/shell/ConfirmDialog.css +67 -0
  2818. package/src/runtime/vue/components/shell/ConfirmDialog.vue +76 -0
  2819. package/src/runtime/vue/components/shell/ConnectionStatus.css +36 -0
  2820. package/src/runtime/vue/components/shell/ConnectionStatus.vue +102 -0
  2821. package/src/runtime/vue/components/shell/ContactForm.css +94 -0
  2822. package/src/runtime/vue/components/shell/ContactForm.vue +133 -0
  2823. package/src/runtime/vue/components/shell/ErrorPage.vue +33 -0
  2824. package/src/runtime/vue/components/shell/FrameConnectionStatus.vue +18 -0
  2825. package/src/runtime/vue/components/shell/FrameMain.vue +54 -0
  2826. package/src/runtime/vue/components/shell/Gate.css +51 -0
  2827. package/src/runtime/vue/components/shell/Gate.vue +207 -0
  2828. package/src/runtime/vue/components/shell/GateQuota.vue +87 -0
  2829. package/src/runtime/vue/components/shell/LegalDataMap.vue +46 -0
  2830. package/src/runtime/vue/components/shell/LegalDocument.css +126 -0
  2831. package/src/runtime/vue/components/shell/LegalDocument.vue +266 -0
  2832. package/src/runtime/vue/components/shell/LegalProcessors.vue +61 -0
  2833. package/src/runtime/vue/components/shell/LegalStorage.vue +60 -0
  2834. package/src/runtime/vue/components/shell/ListPager.vue +46 -0
  2835. package/src/runtime/vue/components/shell/NoticeAnnouncement.css +54 -0
  2836. package/src/runtime/vue/components/shell/NoticeAnnouncement.vue +128 -0
  2837. package/src/runtime/vue/components/shell/NoticeDeletion.css +57 -0
  2838. package/src/runtime/vue/components/shell/NoticeDeletion.vue +83 -0
  2839. package/src/runtime/vue/components/shell/NoticeGift.css +51 -0
  2840. package/src/runtime/vue/components/shell/NoticeGift.vue +172 -0
  2841. package/src/runtime/vue/components/shell/NoticeImpersonation.css +44 -0
  2842. package/src/runtime/vue/components/shell/NoticeImpersonation.vue +107 -0
  2843. package/src/runtime/vue/components/shell/NoticeLowCredits.css +62 -0
  2844. package/src/runtime/vue/components/shell/NoticeLowCredits.vue +221 -0
  2845. package/src/runtime/vue/components/shell/NoticeMaintenance.css +30 -0
  2846. package/src/runtime/vue/components/shell/NoticeMaintenance.vue +42 -0
  2847. package/src/runtime/vue/components/shell/NoticePastDue.css +46 -0
  2848. package/src/runtime/vue/components/shell/NoticePastDue.vue +76 -0
  2849. package/src/runtime/vue/components/shell/NotificationInbox.css +220 -0
  2850. package/src/runtime/vue/components/shell/NotificationInbox.vue +104 -0
  2851. package/src/runtime/vue/components/shell/NotificationInboxBell.vue +38 -0
  2852. package/src/runtime/vue/components/shell/NotificationInboxItem.vue +51 -0
  2853. package/src/runtime/vue/components/shell/PageFrame.vue +121 -0
  2854. package/src/runtime/vue/components/shell/PagedList.vue +114 -0
  2855. package/src/runtime/vue/components/shell/ReportAppeal.vue +103 -0
  2856. package/src/runtime/vue/components/shell/ReportNotice.css +58 -0
  2857. package/src/runtime/vue/components/shell/ReportNotice.vue +170 -0
  2858. package/src/runtime/vue/components/shell/UploadField.css +79 -0
  2859. package/src/runtime/vue/components/shell/UploadField.vue +99 -0
  2860. package/src/runtime/vue/components/shell/WorkspaceSwitcher.css +128 -0
  2861. package/src/runtime/vue/components/shell/WorkspaceSwitcher.vue +136 -0
  2862. package/src/runtime/vue/components/tokens.css +100 -0
  2863. package/src/runtime/vue/components/workspaces/AcceptInvitation.css +35 -0
  2864. package/src/runtime/vue/components/workspaces/AcceptInvitation.vue +199 -0
  2865. package/src/runtime/vue/components/workspaces/AcceptInvitationActions.css +21 -0
  2866. package/src/runtime/vue/components/workspaces/AcceptInvitationActions.vue +31 -0
  2867. package/src/runtime/vue/components/workspaces/AuditLog.css +61 -0
  2868. package/src/runtime/vue/components/workspaces/AuditLog.vue +103 -0
  2869. package/src/runtime/vue/components/workspaces/AuditLogEvent.css +53 -0
  2870. package/src/runtime/vue/components/workspaces/AuditLogEvent.vue +31 -0
  2871. package/src/runtime/vue/components/workspaces/WorkspaceBilling.css +112 -0
  2872. package/src/runtime/vue/components/workspaces/WorkspaceBilling.vue +267 -0
  2873. package/src/runtime/vue/components/workspaces/WorkspaceCredits.css +30 -0
  2874. package/src/runtime/vue/components/workspaces/WorkspaceCredits.vue +60 -0
  2875. package/src/runtime/vue/components/workspaces/WorkspaceList.css +77 -0
  2876. package/src/runtime/vue/components/workspaces/WorkspaceList.vue +95 -0
  2877. package/src/runtime/vue/components/workspaces/WorkspaceSettings.css +58 -0
  2878. package/src/runtime/vue/components/workspaces/WorkspaceSettings.vue +268 -0
  2879. package/src/runtime/vue/pages/accept-invitation.vue +24 -0
  2880. package/src/runtime/vue/pages/accessibility.vue +26 -0
  2881. package/src/runtime/vue/pages/admin.vue +63 -0
  2882. package/src/runtime/vue/pages/gifts.vue +27 -0
  2883. package/src/runtime/vue/pages/invite.vue +26 -0
  2884. package/src/runtime/vue/pages/keep-account.vue +31 -0
  2885. package/src/runtime/vue/pages/login.vue +65 -0
  2886. package/src/runtime/vue/pages/pricing.vue +54 -0
  2887. package/src/runtime/vue/pages/privacy.vue +27 -0
  2888. package/src/runtime/vue/pages/profile.vue +22 -0
  2889. package/src/runtime/vue/pages/referral.vue +28 -0
  2890. package/src/runtime/vue/pages/report.vue +44 -0
  2891. package/src/runtime/vue/pages/security.vue +32 -0
  2892. package/src/runtime/vue/pages/settings.vue +38 -0
  2893. package/src/runtime/vue/pages/subprocessors.vue +26 -0
  2894. package/src/runtime/vue/pages/terms.vue +27 -0
  2895. package/src/runtime/vue/pages/unsubscribe.vue +38 -0
  2896. package/src/runtime/vue/pages/waitlist.vue +28 -0
  2897. package/src/runtime/vue/pages/welcome.vue +31 -0
  2898. package/dist/convex/component/_generated/api.d.ts +0 -36
  2899. package/dist/convex/component/_generated/api.d.ts.map +0 -1
  2900. package/dist/convex/component/_generated/api.js.map +0 -1
  2901. package/dist/convex/component/_generated/component.d.ts +0 -549
  2902. package/dist/convex/component/_generated/component.d.ts.map +0 -1
  2903. package/dist/convex/component/_generated/component.js.map +0 -1
  2904. package/dist/convex/component/_generated/dataModel.d.ts.map +0 -1
  2905. package/dist/convex/component/_generated/dataModel.js.map +0 -1
  2906. package/dist/convex/component/_generated/server.d.ts +0 -121
  2907. package/dist/convex/component/_generated/server.d.ts.map +0 -1
  2908. package/dist/convex/component/_generated/server.js +0 -78
  2909. package/dist/convex/component/_generated/server.js.map +0 -1
  2910. package/dist/convex/component/adapter.d.ts.map +0 -1
  2911. package/dist/convex/component/adapter.js +0 -23
  2912. package/dist/convex/component/adapter.js.map +0 -1
  2913. package/dist/convex/component/constants.d.ts +0 -3
  2914. package/dist/convex/component/constants.d.ts.map +0 -1
  2915. package/dist/convex/component/constants.js +0 -3
  2916. package/dist/convex/component/constants.js.map +0 -1
  2917. package/dist/convex/component/convex.config.d.ts +0 -14
  2918. package/dist/convex/component/convex.config.d.ts.map +0 -1
  2919. package/dist/convex/component/convex.config.js +0 -15
  2920. package/dist/convex/component/convex.config.js.map +0 -1
  2921. package/dist/convex/component/schema.d.ts +0 -278
  2922. package/dist/convex/component/schema.d.ts.map +0 -1
  2923. package/dist/convex/component/schema.js +0 -91
  2924. package/dist/convex/component/schema.js.map +0 -1
  2925. package/dist/runtime/nuxt/auth/middleware.d.ts +0 -12
  2926. package/dist/runtime/nuxt/auth/middleware.js +0 -31
  2927. package/dist/runtime/nuxt/auth/proxy.d.ts +0 -6
  2928. package/dist/runtime/nuxt/auth/proxy.js +0 -11
  2929. package/dist/runtime/nuxt/auth/server.d.ts +0 -86
  2930. package/dist/runtime/nuxt/auth/server.js +0 -110
  2931. package/dist/runtime/nuxt/config.d.ts +0 -7
  2932. package/dist/runtime/nuxt/config.js +0 -12
  2933. package/dist/runtime/nuxt/index.d.ts +0 -102
  2934. package/dist/runtime/nuxt/index.js +0 -77
  2935. package/dist/runtime/vue/auth/client.d.ts +0 -14
  2936. package/dist/runtime/vue/auth/client.js +0 -7
  2937. package/dist/runtime/vue/auth/cross-domain.d.ts +0 -8
  2938. package/dist/runtime/vue/auth/cross-domain.js +0 -34
  2939. package/dist/runtime/vue/auth/helpers.d.ts +0 -52
  2940. package/dist/runtime/vue/auth/helpers.js +0 -35
  2941. package/dist/runtime/vue/auth/hydration.d.ts +0 -14
  2942. package/dist/runtime/vue/auth/hydration.js +0 -23
  2943. package/dist/runtime/vue/auth/index.d.ts +0 -79
  2944. package/dist/runtime/vue/auth/index.js +0 -81
  2945. package/dist/runtime/vue/auth/plugin.client.d.ts +0 -6
  2946. package/dist/runtime/vue/auth/plugin.client.js +0 -30
  2947. package/dist/runtime/vue/auth/plugin.server.d.ts +0 -17
  2948. package/dist/runtime/vue/auth/plugin.server.js +0 -29
  2949. package/dist/runtime/vue/auth/use-auth.d.ts +0 -84
  2950. package/dist/runtime/vue/auth/use-auth.js +0 -77
  2951. package/dist/runtime/vue/client.d.ts +0 -245
  2952. package/dist/runtime/vue/client.js +0 -341
  2953. package/dist/runtime/vue/composables/use-action.d.ts +0 -45
  2954. package/dist/runtime/vue/composables/use-action.js +0 -10
  2955. package/dist/runtime/vue/composables/use-connection-state.d.ts +0 -25
  2956. package/dist/runtime/vue/composables/use-connection-state.js +0 -13
  2957. package/dist/runtime/vue/composables/use-mutation.d.ts +0 -60
  2958. package/dist/runtime/vue/composables/use-mutation.js +0 -36
  2959. package/dist/runtime/vue/composables/use-paginated-query.d.ts +0 -101
  2960. package/dist/runtime/vue/composables/use-paginated-query.js +0 -508
  2961. package/dist/runtime/vue/composables/use-queries.d.ts +0 -45
  2962. package/dist/runtime/vue/composables/use-queries.js +0 -32
  2963. package/dist/runtime/vue/composables/use-query.d.ts +0 -82
  2964. package/dist/runtime/vue/composables/use-query.js +0 -63
  2965. package/dist/runtime/vue/composables/use-subscription.d.ts +0 -14
  2966. package/dist/runtime/vue/composables/use-subscription.js +0 -15
  2967. package/dist/runtime/vue/hydration.d.ts +0 -42
  2968. package/dist/runtime/vue/hydration.js +0 -18
  2969. package/dist/runtime/vue/index.d.ts +0 -29
  2970. package/dist/runtime/vue/index.js +0 -38
  2971. package/dist/runtime/vue/queries-observer.d.ts +0 -38
  2972. package/dist/runtime/vue/queries-observer.js +0 -127
  2973. package/src/convex/component/_generated/api.ts +0 -52
  2974. package/src/convex/component/_generated/component.ts +0 -1338
  2975. package/src/convex/component/_generated/server.ts +0 -156
  2976. package/src/convex/component/adapter.ts +0 -42
  2977. package/src/convex/component/constants.ts +0 -2
  2978. package/src/convex/component/convex.config.ts +0 -16
  2979. package/src/convex/component/schema.ts +0 -93
  2980. /package/dist/convex/{component → components/backend}/_generated/api.js +0 -0
  2981. /package/dist/convex/{component → components/backend}/_generated/component.js +0 -0
  2982. /package/dist/convex/{component → components/backend}/_generated/dataModel.d.ts +0 -0
  2983. /package/dist/convex/{component → components/backend}/_generated/dataModel.js +0 -0
  2984. /package/dist/convex/{component → components/backend}/adapter.d.ts +0 -0
  2985. /package/src/convex/{component → components/backend}/_generated/dataModel.ts +0 -0
@@ -0,0 +1,734 @@
1
+ import type { FunctionHandle } from 'convex/server'
2
+ import { v } from 'convex/values'
3
+ import type { Doc, Id } from './_generated/dataModel.js'
4
+ import { internalMutation, mutation, query, type QueryCtx } from './_generated/server.js'
5
+ import { vGift } from './schema.js'
6
+ import { keepWake } from './wake.js'
7
+
8
+ /**
9
+ * Gift purchases: one person pays for a credit pack that a recipient
10
+ * (identified by email) claims. This module owns the `billingGifts`
11
+ * lifecycle; the payments run at the app level in `setupBilling` (see
12
+ * `src/convex/integrations/billing/gifts.ts`), which calls these functions
13
+ * via `components.backend.gifts.*`.
14
+ *
15
+ * Lifecycle: `create` (the purchaser's checkout started, `pending`) →
16
+ * `markPaid` (the purchase order is paid on the purchaser's own customer) →
17
+ * `setDiscount` (the single-use claim discount is minted) → `startClaim`
18
+ * (the recipient opened the $0 claim checkout) → `markClaimed` (that order is
19
+ * paid, so the provider granted the pack to the recipient's customer). A
20
+ * refund of the purchase before the claim ends it `refunded` instead.
21
+ *
22
+ * A gift is delivered when its notice goes out: at once, or on the date the
23
+ * purchaser chose (`deliverAt`). Until `deliveredAt` is stamped the
24
+ * recipient neither sees nor claims it, and the purchaser can still change
25
+ * the date, the address, or cancel. A plan pass (`plan`, `months`) is a
26
+ * gift too: its claim switches a free workspace to the pass and keeps the end
27
+ * date here, where the sweep follows it.
28
+ *
29
+ * These are `public` component functions, only reachable through the parent app
30
+ * — never directly by browser clients (the same pattern as `billing.*`).
31
+ */
32
+
33
+ function toWire(row: Doc<'billingGifts'>) {
34
+ return {
35
+ id: row._id as string,
36
+ recipientEmail: row.recipientEmail,
37
+ purchaserUserId: row.purchaserUserId,
38
+ purchaserEmail: row.purchaserEmail,
39
+ purchaserName: row.purchaserName,
40
+ productIds: row.productIds,
41
+ message: row.message,
42
+ status: row.status,
43
+ billingCustomerId: row.billingCustomerId,
44
+ billingOrderId: row.billingOrderId,
45
+ purchaserEntityId: row.purchaserEntityId,
46
+ pack: row.pack,
47
+ giftProductId: row.giftProductId,
48
+ amount: row.amount,
49
+ currency: row.currency,
50
+ discountId: row.discountId,
51
+ claimingEntityId: row.claimingEntityId,
52
+ claimingUserId: row.claimingUserId,
53
+ claimOrderId: row.claimOrderId,
54
+ claimedByUserId: row.claimedByUserId,
55
+ claimedEntityId: row.claimedEntityId,
56
+ createdAt: row.createdAt,
57
+ paidAt: row.paidAt,
58
+ notifiedAt: row.notifiedAt,
59
+ claimedAt: row.claimedAt,
60
+ refundedAt: row.refundedAt,
61
+ plan: row.plan,
62
+ months: row.months,
63
+ deliverAt: row.deliverAt,
64
+ deliveredAt: row.deliveredAt,
65
+ noticedAt: row.noticedAt,
66
+ noticeCount: row.noticeCount,
67
+ recipientChanges: row.recipientChanges,
68
+ remindedAt: row.remindedAt,
69
+ passSubscriptionId: row.passSubscriptionId,
70
+ passStartedAt: row.passStartedAt,
71
+ passEndsAt: row.passEndsAt,
72
+ passReturnScheduledAt: row.passReturnScheduledAt,
73
+ passNoticedAt: row.passNoticedAt,
74
+ passEndedAt: row.passEndedAt,
75
+ reverseTrial: row.reverseTrial,
76
+ }
77
+ }
78
+
79
+ /**
80
+ * Whether the recipient may see and claim a paid gift: its notice went out,
81
+ * or it was paid before gifts had delivery dates (no date, no stamp).
82
+ */
83
+ export function isDelivered(row: Pick<Doc<'billingGifts'>, 'deliveredAt' | 'deliverAt'>): boolean {
84
+ return row.deliveredAt !== undefined || row.deliverAt === undefined
85
+ }
86
+
87
+ /**
88
+ * How long a gift stays `pending` before it is dropped: a provider checkout
89
+ * session expires well within it, so a pending gift this old was abandoned.
90
+ */
91
+ const PENDING_TTL_MS = 24 * 60 * 60 * 1000
92
+ /** The most gifts one read returns: plenty for a person, and bounded. */
93
+ const READ_CAP = 100
94
+ const DAY_MS = 24 * 60 * 60 * 1000
95
+ /** A gift unclaimed this long after it was delivered gets its one reminder. */
96
+ export const REMINDER_AFTER_MS = 7 * DAY_MS
97
+ /** How long before a pass ends its workspace's managers are told. */
98
+ export const PASS_NOTICE_BEFORE_MS = 7 * DAY_MS
99
+
100
+ /** How long before a reverse trial ends its workspace is told: three days, of a trial a few weeks long. */
101
+ export const TRIAL_PASS_NOTICE_BEFORE_MS = 3 * DAY_MS
102
+ /** How many tasks one sweep hands the app: more are left for the next wake, which the app schedules. */
103
+ const SWEEP_BATCH = 50
104
+
105
+ /**
106
+ * Record a gift when its purchaser's checkout starts (status `pending` until
107
+ * the order is paid), dropping the purchaser's own abandoned ones on the way,
108
+ * so pending rows never pile up.
109
+ */
110
+ export const create = mutation({
111
+ args: {
112
+ recipientEmail: v.string(),
113
+ purchaserUserId: v.string(),
114
+ purchaserEntityId: v.optional(v.string()),
115
+ purchaserName: v.optional(v.string()),
116
+ pack: v.optional(v.string()),
117
+ plan: v.optional(v.string()),
118
+ months: v.optional(v.number()),
119
+ deliverAt: v.optional(v.number()),
120
+ productIds: v.array(v.string()),
121
+ giftProductId: v.optional(v.string()),
122
+ message: v.optional(v.string()),
123
+ },
124
+ returns: v.string(),
125
+ handler: async (ctx, args) => {
126
+ const abandoned = await ctx.db.query('billingGifts')
127
+ .withIndex('purchaserUserId_createdAt', q => q.eq('purchaserUserId', args.purchaserUserId).lt('createdAt', Date.now() - PENDING_TTL_MS))
128
+ .take(READ_CAP)
129
+ for (const row of abandoned) {
130
+ if (row.status === 'pending') await ctx.db.delete('billingGifts', row._id)
131
+ }
132
+ const id = await ctx.db.insert('billingGifts', {
133
+ ...args,
134
+ recipientEmail: args.recipientEmail.toLowerCase(),
135
+ status: 'pending',
136
+ createdAt: Date.now(),
137
+ })
138
+ return id as string
139
+ },
140
+ })
141
+
142
+ /**
143
+ * Mark a gift paid once the provider confirms its purchase order, with what
144
+ * the order charged. Idempotent: only a pending gift is paid.
145
+ */
146
+ export const markPaid = mutation({
147
+ args: {
148
+ giftId: v.id('billingGifts'),
149
+ billingOrderId: v.optional(v.string()),
150
+ amount: v.optional(v.number()),
151
+ currency: v.optional(v.string()),
152
+ },
153
+ returns: v.null(),
154
+ handler: async (ctx, { giftId, ...paid }) => {
155
+ const gift = await ctx.db.get('billingGifts', giftId)
156
+ if (!gift || gift.status !== 'pending') return null
157
+ const now = Date.now()
158
+ // The date the purchaser chose, else now: delivered by the paying webhook or the sweep, never by a read.
159
+ await ctx.db.patch('billingGifts', giftId, { status: 'paid', paidAt: now, deliverAt: gift.deliverAt ?? now, ...paid })
160
+ return null
161
+ },
162
+ })
163
+
164
+ /** Store the claim discount minted for a paid gift, once. Returns whether this call stored it. */
165
+ export const setDiscount = mutation({
166
+ args: { giftId: v.id('billingGifts'), discountId: v.string() },
167
+ returns: v.boolean(),
168
+ handler: async (ctx, { giftId, discountId }) => {
169
+ const gift = await ctx.db.get('billingGifts', giftId)
170
+ if (!gift || gift.status !== 'paid' || gift.discountId !== undefined) return false
171
+ await ctx.db.patch('billingGifts', giftId, { discountId })
172
+ return true
173
+ },
174
+ })
175
+
176
+ /**
177
+ * Stamp the recipient-notification email as sent. The caller stamps only
178
+ * after the send succeeded, so a failed send is retried on the next delivery
179
+ * of `order.paid`, and skips the send once the stamp is there, so a replay
180
+ * long after the email's own record is gone still emails nobody twice.
181
+ * Returns whether this call set the stamp.
182
+ */
183
+ export const markNotified = mutation({
184
+ args: { giftId: v.string() },
185
+ returns: v.boolean(),
186
+ handler: async (ctx, { giftId }) => {
187
+ const id = ctx.db.normalizeId('billingGifts', giftId)
188
+ if (!id) return false
189
+ const gift = await ctx.db.get('billingGifts', id)
190
+ if (!gift || gift.notifiedAt !== undefined) return false
191
+ await ctx.db.patch('billingGifts', gift._id, { notifiedAt: Date.now() })
192
+ return true
193
+ },
194
+ })
195
+
196
+ /** Whether the purchaser's cancellation holds the gift now: no claim starts meanwhile. */
197
+ const canceling = (gift: Doc<'billingGifts'>, now: number): boolean => gift.cancelingUntil !== undefined && gift.cancelingUntil > now
198
+
199
+ /** A paid gift nobody started to claim and its purchaser is not canceling: one its purchaser may still change. */
200
+ async function unclaimedGift(ctx: QueryCtx, giftId: Id<'billingGifts'>): Promise<Doc<'billingGifts'> | null> {
201
+ const gift = await ctx.db.get('billingGifts', giftId)
202
+ return gift && gift.status === 'paid' && gift.claimingUserId === undefined && !canceling(gift, Date.now()) ? gift : null
203
+ }
204
+
205
+ /** Whether a plan pass's claim holds the gift now, while it switches the workspace at the provider. */
206
+ const passClaiming = (gift: Doc<'billingGifts'>, now: number): boolean => gift.claimingUntil !== undefined && gift.claimingUntil > now
207
+
208
+ /**
209
+ * Record the claim checkout the recipient opened: who, and for which
210
+ * billing entity. A later claim of the same gift replaces it — the discount
211
+ * is single-use, so only one claim order can ever be paid. Refused while
212
+ * the purchaser's cancellation holds the gift.
213
+ */
214
+ export const startClaim = mutation({
215
+ args: { giftId: v.id('billingGifts'), userId: v.string(), entityId: v.string() },
216
+ returns: v.boolean(),
217
+ handler: async (ctx, { giftId, userId, entityId }) => {
218
+ const gift = await ctx.db.get('billingGifts', giftId)
219
+ if (!gift || gift.status !== 'paid' || canceling(gift, Date.now())) return false
220
+ await ctx.db.patch('billingGifts', giftId, { claimingUserId: userId, claimingEntityId: entityId })
221
+ return true
222
+ },
223
+ })
224
+
225
+ /** Mark a gift claimed once its $0 claim order is paid. Idempotent. */
226
+ export const markClaimed = mutation({
227
+ args: { giftId: v.id('billingGifts'), userId: v.string(), entityId: v.string(), claimOrderId: v.optional(v.string()) },
228
+ returns: v.null(),
229
+ handler: async (ctx, { giftId, userId, entityId, claimOrderId }) => {
230
+ const gift = await ctx.db.get('billingGifts', giftId)
231
+ if (!gift || gift.status !== 'paid') return null
232
+ await ctx.db.patch('billingGifts', giftId, {
233
+ status: 'claimed',
234
+ claimedByUserId: userId,
235
+ claimedEntityId: entityId,
236
+ claimOrderId,
237
+ claimedAt: Date.now(),
238
+ })
239
+ return null
240
+ },
241
+ })
242
+
243
+ /**
244
+ * End an unclaimed gift whose purchase was refunded. Returns whether this
245
+ * call ended it: not while a plan pass's claim holds it, which is left to
246
+ * its claim.
247
+ */
248
+ export const markRefunded = mutation({
249
+ args: { giftId: v.id('billingGifts') },
250
+ returns: v.boolean(),
251
+ handler: async (ctx, { giftId }) => {
252
+ const gift = await ctx.db.get('billingGifts', giftId)
253
+ if (!gift || gift.status === 'claimed' || gift.status === 'refunded' || passClaiming(gift, Date.now())) return false
254
+ await ctx.db.patch('billingGifts', giftId, { status: 'refunded', refundedAt: Date.now() })
255
+ return true
256
+ },
257
+ })
258
+
259
+ /**
260
+ * Gifts addressed to an email (lowercased) that are its recipient's to see:
261
+ * paid and claimed ones, or one `status` of them. Read through the status
262
+ * index, newest first and bounded, so a pile of someone else's checkouts for
263
+ * an address never reaches its recipient.
264
+ */
265
+ export const listByEmail = query({
266
+ args: { email: v.string(), status: v.optional(v.union(v.literal('paid'), v.literal('claimed'))) },
267
+ returns: v.array(vGift),
268
+ handler: async (ctx, { email, status }) => {
269
+ const normalized = email.toLowerCase()
270
+ const rows = []
271
+ for (const each of status ? [status] : ['paid', 'claimed'] as const) {
272
+ rows.push(...(await ctx.db
273
+ .query('billingGifts')
274
+ .withIndex('recipientEmail_status', q => q.eq('recipientEmail', normalized).eq('status', each))
275
+ .order('desc')
276
+ .take(READ_CAP))
277
+ // A gift dated for later is not the recipient's to see yet.
278
+ .filter(isDelivered))
279
+ }
280
+ return rows.map(toWire)
281
+ },
282
+ })
283
+
284
+ /**
285
+ * The gifts a purchaser bought, newest first and bounded: every state past
286
+ * the open checkout (`paid` splits into scheduled and delivered by the
287
+ * caller, from `deliveredAt`).
288
+ */
289
+ export const listByPurchaser = query({
290
+ args: { purchaserUserId: v.string() },
291
+ returns: v.array(vGift),
292
+ handler: async (ctx, { purchaserUserId }) => {
293
+ const rows = await ctx.db.query('billingGifts').withIndex('purchaserUserId_createdAt', q => q.eq('purchaserUserId', purchaserUserId)).order('desc').take(READ_CAP)
294
+ return rows.filter(row => row.status !== 'pending').map(toWire)
295
+ },
296
+ })
297
+
298
+ /**
299
+ * How many gifts an address was sent since a moment: paid, claimed or
300
+ * refunded ones, plus the checkouts still open since `pendingSince`.
301
+ * What the per-address cap counts, so nobody can flood one inbox. Pass
302
+ * `excludeGiftId` to leave out the gift being paid for.
303
+ */
304
+ export const countToAddress = query({
305
+ args: { email: v.string(), since: v.number(), pendingSince: v.number(), excludeGiftId: v.optional(v.string()) },
306
+ returns: v.number(),
307
+ handler: async (ctx, { email, since, pendingSince, excludeGiftId }) => {
308
+ let count = 0
309
+ const rows = ctx.db.query('billingGifts').withIndex('recipientEmail_createdAt', q => q.eq('recipientEmail', email.toLowerCase()).gte('createdAt', since))
310
+ for await (const row of rows) {
311
+ if (row._id === excludeGiftId || row.reverseTrial || (row.status === 'pending' && row.createdAt < pendingSince)) continue
312
+ count++
313
+ }
314
+ return count
315
+ },
316
+ })
317
+
318
+ /**
319
+ * How many gifts a purchaser bought since a moment — paid, claimed or
320
+ * refunded — plus the checkouts still open since `pendingSince` (a checkout
321
+ * that may yet be paid counts against the cap, an abandoned one does not),
322
+ * and when the oldest of them was created: what the per-purchaser cap counts.
323
+ * Pass `excludeGiftId` to leave out the gift being paid for.
324
+ */
325
+ export const countBought = query({
326
+ args: { purchaserUserId: v.string(), since: v.number(), pendingSince: v.number(), excludeGiftId: v.optional(v.string()) },
327
+ returns: v.object({ count: v.number(), oldest: v.union(v.number(), v.null()) }),
328
+ handler: async (ctx, { purchaserUserId, since, pendingSince, excludeGiftId }) => {
329
+ let count = 0
330
+ let oldest: number | null = null
331
+ const rows = ctx.db.query('billingGifts').withIndex('purchaserUserId_createdAt', q => q.eq('purchaserUserId', purchaserUserId).gte('createdAt', since))
332
+ for await (const row of rows) {
333
+ if (row._id === excludeGiftId || (row.status === 'pending' && row.createdAt < pendingSince)) continue
334
+ count++
335
+ oldest ??= row.createdAt
336
+ }
337
+ return { count, oldest }
338
+ },
339
+ })
340
+
341
+ /**
342
+ * A single gift by id, or `null`: for an id that is no gift's too, since
343
+ * the id comes from a caller's arguments or an order's metadata, and a
344
+ * malformed one refuses like a missing gift.
345
+ */
346
+ export const get = query({
347
+ args: { giftId: v.string() },
348
+ returns: v.union(vGift, v.null()),
349
+ handler: async (ctx, { giftId }) => {
350
+ const id = ctx.db.normalizeId('billingGifts', giftId)
351
+ const row = id ? await ctx.db.get('billingGifts', id) : null
352
+ return row ? toWire(row) : null
353
+ },
354
+ })
355
+
356
+ /**
357
+ * The personal workspace of a user, the billing entity a gift is bought from
358
+ * and claimed into by default: the workspace the sign-in hook made for them
359
+ * (its slug starts `personal-<their id>`) that they still own, with no other
360
+ * member. `null` when they have none.
361
+ */
362
+ export const personalEntity = query({
363
+ args: { userId: v.string() },
364
+ returns: v.union(v.string(), v.null()),
365
+ handler: async (ctx, { userId }) => {
366
+ const prefix = `personal-${userId.toLowerCase()}`
367
+ for await (const member of ctx.db.query('member').withIndex('userId', q => q.eq('userId', userId))) {
368
+ if (!member.role.split(',').some(role => role.trim() === 'owner')) continue
369
+ const id = ctx.db.normalizeId('organization', member.organizationId)
370
+ const workspace = id ? await ctx.db.get('organization', id) : null
371
+ if (!workspace?.slug.startsWith(prefix)) continue
372
+ // Personal only while its owner is its one member: one others joined is shared.
373
+ const members = await ctx.db.query('member').withIndex('organizationId', q => q.eq('organizationId', member.organizationId)).take(2)
374
+ if (members.length === 1) return member.organizationId
375
+ }
376
+ return null
377
+ },
378
+ })
379
+
380
+ // ── Delivery, notices and the purchaser's changes ───────────────────────
381
+
382
+ /** Stamp a paid gift delivered: the recipient may see and claim it from now on. Returns whether this call stamped it. */
383
+ export const markDelivered = mutation({
384
+ args: { giftId: v.string() },
385
+ returns: v.boolean(),
386
+ handler: async (ctx, { giftId }) => {
387
+ const id = ctx.db.normalizeId('billingGifts', giftId)
388
+ const gift = id ? await ctx.db.get('billingGifts', id) : null
389
+ if (!gift || gift.status !== 'paid' || gift.deliveredAt !== undefined) return false
390
+ await ctx.db.patch('billingGifts', gift._id, { deliveredAt: Date.now() })
391
+ return true
392
+ },
393
+ })
394
+
395
+ /**
396
+ * Count a notice that went out (the first, a reminder or a resend): when,
397
+ * how many, and for a reminder that the one reminder is spent.
398
+ */
399
+ export const noteNotice = mutation({
400
+ args: { giftId: v.string(), reminder: v.optional(v.boolean()) },
401
+ returns: v.null(),
402
+ handler: async (ctx, { giftId, reminder }) => {
403
+ const id = ctx.db.normalizeId('billingGifts', giftId)
404
+ const gift = id ? await ctx.db.get('billingGifts', id) : null
405
+ if (!gift) return null
406
+ const now = Date.now()
407
+ await ctx.db.patch('billingGifts', gift._id, { noticedAt: now, noticeCount: (gift.noticeCount ?? 0) + 1, ...(reminder ? { remindedAt: now } : {}) })
408
+ return null
409
+ },
410
+ })
411
+
412
+ /**
413
+ * Address an unclaimed gift to someone else: the old address can no longer
414
+ * claim it, the new one is told as a fresh gift (its notice and reminder
415
+ * start over, under keys of their own). Refused once a claim started, and
416
+ * while the purchaser's cancellation holds it. Returns whether it changed.
417
+ */
418
+ export const setRecipient = mutation({
419
+ args: { giftId: v.id('billingGifts'), recipientEmail: v.string() },
420
+ returns: v.boolean(),
421
+ handler: async (ctx, { giftId, recipientEmail }) => {
422
+ const gift = await unclaimedGift(ctx, giftId)
423
+ if (!gift) return false
424
+ await ctx.db.patch('billingGifts', giftId, {
425
+ recipientEmail: recipientEmail.toLowerCase(),
426
+ notifiedAt: undefined,
427
+ noticedAt: undefined,
428
+ noticeCount: undefined,
429
+ remindedAt: undefined,
430
+ recipientChanges: (gift.recipientChanges ?? 0) + 1,
431
+ })
432
+ return true
433
+ },
434
+ })
435
+
436
+ /**
437
+ * Hold a gift for its purchaser's cancellation until `until`, before any
438
+ * money moves: refused (`false`) once its recipient started a claim, or
439
+ * while another cancellation holds it. A claim can't start meanwhile.
440
+ */
441
+ export const beginCancel = mutation({
442
+ args: { giftId: v.id('billingGifts'), until: v.number() },
443
+ returns: v.boolean(),
444
+ handler: async (ctx, { giftId, until }) => {
445
+ const gift = await unclaimedGift(ctx, giftId)
446
+ if (!gift) return false
447
+ await ctx.db.patch('billingGifts', giftId, { cancelingUntil: until })
448
+ return true
449
+ },
450
+ })
451
+
452
+ /** A mutation that lets go of a gift's hold, `cleared`, while `held` says the gift still has it. */
453
+ function releaseHold(held: (gift: Doc<'billingGifts'>) => boolean, cleared: Partial<Doc<'billingGifts'>>) {
454
+ return mutation({
455
+ args: { giftId: v.id('billingGifts') },
456
+ returns: v.null(),
457
+ handler: async (ctx, { giftId }) => {
458
+ const gift = await ctx.db.get('billingGifts', giftId)
459
+ if (gift && held(gift)) await ctx.db.patch('billingGifts', giftId, cleared)
460
+ return null
461
+ },
462
+ })
463
+ }
464
+
465
+ /** Let go of a cancellation that stopped before the refund: the gift is claimable again. */
466
+ export const endCancel = releaseHold(gift => gift.cancelingUntil !== undefined, { cancelingUntil: undefined })
467
+
468
+ /** Move the delivery date of a gift not delivered yet. Returns whether it moved. */
469
+ export const setDeliverAt = mutation({
470
+ args: { giftId: v.id('billingGifts'), deliverAt: v.number() },
471
+ returns: v.boolean(),
472
+ handler: async (ctx, { giftId, deliverAt }) => {
473
+ const gift = await ctx.db.get('billingGifts', giftId)
474
+ if (!gift || gift.status !== 'paid' || isDelivered(gift)) return false
475
+ await ctx.db.patch('billingGifts', giftId, { deliverAt })
476
+ return true
477
+ },
478
+ })
479
+
480
+ // ── Plan passes ─────────────────────────────────────────────────────────
481
+
482
+ /** The pass a workspace holds, not ended: a claimed pack has no end date, so it is never one. */
483
+ async function runningPass(ctx: QueryCtx, entityId: string): Promise<Doc<'billingGifts'> | null> {
484
+ return await ctx.db.query('billingGifts').withIndex('claimedEntityId_passEndedAt_passEndsAt', q => q.eq('claimedEntityId', entityId).eq('passEndedAt', undefined).gt('passEndsAt', 0)).first()
485
+ }
486
+
487
+ /** Whether a workspace holds a pass, or a plan pass's claim into it is on its way: it takes one at a time. */
488
+ async function passHeld(ctx: QueryCtx, entityId: string, now: number, giftId?: string): Promise<boolean> {
489
+ if (await runningPass(ctx, entityId)) return true
490
+ const claiming = await ctx.db.query('billingGifts').withIndex('claimingEntityId_claimingUntil', q => q.eq('claimingEntityId', entityId).gt('claimingUntil', now)).take(2)
491
+ return claiming.some(row => row._id !== giftId)
492
+ }
493
+
494
+ /** What a running pass keeps from its start: who holds it, where, its subscription, its end and from when its return may be booked. */
495
+ function passStart({ userId, entityId, subscriptionId, endsAt, returnFrom }: { userId: string, entityId: string, subscriptionId: string, endsAt: number, returnFrom: number }, now: number) {
496
+ return { claimedAt: now, claimedByUserId: userId, claimedEntityId: entityId, passSubscriptionId: subscriptionId, passStartedAt: now, passEndsAt: endsAt, passReturnFrom: returnFrom }
497
+ }
498
+
499
+ /**
500
+ * Hold a plan pass for one claim into a workspace until `until`, before the
501
+ * provider switches anything: `reserved`; `busy` while another claim or
502
+ * the purchaser's cancellation holds it; `taken` when the workspace holds a
503
+ * pass or another one is being claimed into it; `closed` for a gift that
504
+ * is no longer paid and unclaimed.
505
+ */
506
+ export const reservePass = mutation({
507
+ args: { giftId: v.id('billingGifts'), userId: v.string(), entityId: v.string(), until: v.number() },
508
+ returns: v.union(v.literal('reserved'), v.literal('busy'), v.literal('taken'), v.literal('closed')),
509
+ handler: async (ctx, { giftId, userId, entityId, until }) => {
510
+ const gift = await ctx.db.get('billingGifts', giftId)
511
+ const now = Date.now()
512
+ if (!gift || gift.status !== 'paid' || gift.plan === undefined) return 'closed'
513
+ if (passClaiming(gift, now) || canceling(gift, now)) return 'busy'
514
+ if (await passHeld(ctx, entityId, now, giftId)) return 'taken'
515
+ await ctx.db.patch('billingGifts', giftId, { claimingUserId: userId, claimingEntityId: entityId, claimingUntil: until })
516
+ return 'reserved'
517
+ },
518
+ })
519
+
520
+ /**
521
+ * Let go of a plan pass's claim that did not finish: the gift is its
522
+ * recipient's to claim again. Only the claim the hold is still for lets go
523
+ * (its holder and its `until`, as `reservePass` recorded them): one whose
524
+ * hold lapsed, and that another claim took since, leaves that one's hold.
525
+ */
526
+ export const releasePass = mutation({
527
+ args: { giftId: v.id('billingGifts'), userId: v.string(), entityId: v.string(), until: v.number() },
528
+ returns: v.null(),
529
+ handler: async (ctx, { giftId, userId, entityId, until }) => {
530
+ const gift = await ctx.db.get('billingGifts', giftId)
531
+ if (gift?.status === 'paid' && gift.claimingUserId === userId && gift.claimingEntityId === entityId && gift.claimingUntil === until) {
532
+ await ctx.db.patch('billingGifts', giftId, { claimingUserId: undefined, claimingEntityId: undefined, claimingUntil: undefined })
533
+ }
534
+ return null
535
+ },
536
+ })
537
+
538
+ /**
539
+ * Claim a plan pass: the recipient's workspace switched to the pass product,
540
+ * for `months` months from now. The package keeps the end date, and from
541
+ * when its return may be booked (`returnFrom`). Only the claim that holds
542
+ * the gift records it: its holder and its `until`, as `reservePass`
543
+ * recorded them, so a claim whose hold lapsed and that a retry took since
544
+ * records nothing. Returns whether this call claimed it.
545
+ */
546
+ export const startPass = mutation({
547
+ args: { giftId: v.id('billingGifts'), userId: v.string(), entityId: v.string(), until: v.number(), subscriptionId: v.string(), endsAt: v.number(), returnFrom: v.number() },
548
+ returns: v.boolean(),
549
+ handler: async (ctx, { giftId, until, ...start }) => {
550
+ const gift = await ctx.db.get('billingGifts', giftId)
551
+ if (!gift || gift.status !== 'paid' || gift.plan === undefined || gift.claimingUserId !== start.userId || gift.claimingEntityId !== start.entityId || gift.claimingUntil !== until) return false
552
+ await ctx.db.patch('billingGifts', giftId, { status: 'claimed', claimingUntil: undefined, ...passStart(start, Date.now()) })
553
+ return true
554
+ },
555
+ })
556
+
557
+ /**
558
+ * Start a reverse trial (LIFECYCLE): a new workspace's free subscription
559
+ * switched to a plan's pass product until `endsAt`, recorded as a pass
560
+ * nobody bought, so the gift sweep follows it like a gifted one. Refused
561
+ * (`false`) when the address already started one, with plus tags and
562
+ * dots taken out (`address`), or the workspace holds a pass.
563
+ */
564
+ export const startTrialPass = mutation({
565
+ args: { address: v.string(), userId: v.string(), entityId: v.string(), plan: v.string(), productId: v.string(), subscriptionId: v.string(), endsAt: v.number(), returnFrom: v.number() },
566
+ returns: v.boolean(),
567
+ handler: async (ctx, { address, plan, productId, ...start }) => {
568
+ const before = await ctx.db.query('billingGifts').withIndex('recipientEmail_status', q => q.eq('recipientEmail', address).eq('status', 'trial')).first()
569
+ if (before) return false
570
+ const now = Date.now()
571
+ if (await passHeld(ctx, start.entityId, now)) return false
572
+ await ctx.db.insert('billingGifts', { recipientEmail: address, purchaserUserId: '', productIds: [productId], status: 'trial', plan, createdAt: now, ...passStart(start, now), reverseTrial: true })
573
+ return true
574
+ },
575
+ })
576
+
577
+ /**
578
+ * Start a referral reward's pass (REF): a referrer on the free plan got free
579
+ * months of a plan, recorded as a pass nobody bought so the gift sweep
580
+ * follows it like a gifted one. Answers `false` when this referral's reward
581
+ * was recorded already, or the workspace holds a pass.
582
+ */
583
+ export const startRewardPass = mutation({
584
+ args: { rewardId: v.string(), userId: v.string(), entityId: v.string(), plan: v.string(), months: v.number(), productId: v.string(), subscriptionId: v.string(), endsAt: v.number(), returnFrom: v.number() },
585
+ returns: v.boolean(),
586
+ handler: async (ctx, { rewardId, plan, months, productId, ...start }) => {
587
+ if (await ctx.db.query('billingGifts').withIndex('rewardId', q => q.eq('rewardId', rewardId)).first()) return false
588
+ const now = Date.now()
589
+ if (await passHeld(ctx, start.entityId, now)) return false
590
+ await ctx.db.insert('billingGifts', { recipientEmail: '', purchaserUserId: '', productIds: [productId], status: 'reward', plan, months, createdAt: now, ...passStart(start, now), rewardId })
591
+ return true
592
+ },
593
+ })
594
+
595
+ /** Whether an address (plus tags and dots taken out) already started a reverse trial. */
596
+ export const trialPassTaken = query({
597
+ args: { address: v.string() },
598
+ returns: v.boolean(),
599
+ handler: async (ctx, { address }) => Boolean(await ctx.db.query('billingGifts').withIndex('recipientEmail_status', q => q.eq('recipientEmail', address).eq('status', 'trial')).first()),
600
+ })
601
+
602
+ /**
603
+ * Record what the sweep did for a pass: the return to the free plan
604
+ * scheduled, the ending notice sent, or the pass over (also when the
605
+ * workspace kept the plan by paying for it: the end date returns it nowhere).
606
+ * Returns whether this call took the step, so a step two runs race to take
607
+ * is taken, and recorded, once.
608
+ */
609
+ export const notePass = mutation({
610
+ args: { giftId: v.id('billingGifts'), step: v.union(v.literal('return_scheduled'), v.literal('noticed'), v.literal('ended')) },
611
+ returns: v.boolean(),
612
+ handler: async (ctx, { giftId, step }) => {
613
+ const gift = await ctx.db.get('billingGifts', giftId)
614
+ if (!gift || gift.passEndsAt === undefined) return false
615
+ const now = Date.now()
616
+ if (step === 'return_scheduled' && gift.passReturnScheduledAt === undefined) await ctx.db.patch('billingGifts', giftId, { passReturnScheduledAt: now })
617
+ else if (step === 'noticed' && gift.passNoticedAt === undefined) await ctx.db.patch('billingGifts', giftId, { passNoticedAt: now })
618
+ else if (step === 'ended' && gift.passEndedAt === undefined) await ctx.db.patch('billingGifts', giftId, { passEndedAt: now })
619
+ else return false
620
+ return true
621
+ },
622
+ })
623
+
624
+ /** The pass a workspace holds now, if any: its plan, when it began and ends, and the referral it rewards when it is one's. */
625
+ export const activePass = query({
626
+ args: { entityId: v.string() },
627
+ returns: v.union(v.object({ id: v.string(), plan: v.string(), months: v.optional(v.number()), startedAt: v.number(), endsAt: v.number(), subscriptionId: v.optional(v.string()), trial: v.optional(v.literal(true)), rewardId: v.optional(v.string()) }), v.null()),
628
+ handler: async (ctx, { entityId }) => {
629
+ const gift = await runningPass(ctx, entityId)
630
+ if (gift?.plan === undefined || gift.passEndsAt === undefined || gift.passStartedAt === undefined) return null
631
+ return { id: gift._id as string, plan: gift.plan, months: gift.months, startedAt: gift.passStartedAt, endsAt: gift.passEndsAt, subscriptionId: gift.passSubscriptionId, ...(gift.reverseTrial ? { trial: true as const } : {}), ...(gift.rewardId ? { rewardId: gift.rewardId } : {}) }
632
+ },
633
+ })
634
+
635
+ // ── The sweep ───────────────────────────────────────────────────────────
636
+
637
+ /** One thing the sweep found to do, for the app to carry out. */
638
+ const vTask = v.object({
639
+ kind: v.union(v.literal('deliver'), v.literal('remind'), v.literal('schedule_return'), v.literal('end_pass'), v.literal('pass_notice')),
640
+ giftId: v.string(),
641
+ })
642
+
643
+ type Task = { kind: 'deliver' | 'remind' | 'schedule_return' | 'end_pass' | 'pass_notice', giftId: string }
644
+
645
+ /** The ids of the paid gifts whose delivery is due: not delivered, dated for now or earlier. A gift paid before delivery dates (no date) counts. */
646
+ async function dueDeliveries(ctx: QueryCtx, now: number, limit: number): Promise<string[]> {
647
+ const rows = await ctx.db.query('billingGifts').withIndex('status_deliveredAt_deliverAt', q => q.eq('status', 'paid').eq('deliveredAt', undefined).lte('deliverAt', now)).take(limit)
648
+ return rows.map(row => row._id)
649
+ }
650
+
651
+ /** The ids of the delivered gifts still unclaimed a week later, that were never reminded. */
652
+ async function dueReminders(ctx: QueryCtx, now: number, limit: number): Promise<string[]> {
653
+ const rows = await ctx.db.query('billingGifts').withIndex('status_remindedAt_deliveredAt', q => q.eq('status', 'paid').eq('remindedAt', undefined).gt('deliveredAt', 0).lte('deliveredAt', now - REMINDER_AFTER_MS)).take(limit)
654
+ return rows.map(row => row._id)
655
+ }
656
+
657
+ /** The ids of the running passes whose end date came. */
658
+ async function dueEnds(ctx: QueryCtx, now: number, limit: number): Promise<string[]> {
659
+ const rows = await ctx.db.query('billingGifts').withIndex('passEndedAt_passEndsAt', q => q.eq('passEndedAt', undefined).gt('passEndsAt', 0).lte('passEndsAt', now)).take(limit)
660
+ return rows.map(row => row._id)
661
+ }
662
+
663
+ /** The ids of the running passes in their last billing cycle whose return is not booked yet (one past its end is ended instead). */
664
+ async function dueReturns(ctx: QueryCtx, now: number, limit: number): Promise<string[]> {
665
+ const rows = await ctx.db.query('billingGifts').withIndex('passEndedAt_passReturnScheduledAt_passReturnFrom', q => q.eq('passEndedAt', undefined).eq('passReturnScheduledAt', undefined).gt('passReturnFrom', 0).lte('passReturnFrom', now)).take(limit)
666
+ return rows.filter(row => row.passEndsAt !== undefined && row.passEndsAt > now).map(row => row._id)
667
+ }
668
+
669
+ /** The ids of the running passes whose workspace is to be told they end: a week before, three days for a reverse trial. */
670
+ async function dueNotices(ctx: QueryCtx, now: number, limit: number): Promise<string[]> {
671
+ const read = (trial: true | undefined, before: number) => ctx.db.query('billingGifts')
672
+ .withIndex('passEndedAt_passNoticedAt_reverseTrial_passEndsAt', q => q.eq('passEndedAt', undefined).eq('passNoticedAt', undefined).eq('reverseTrial', trial).gt('passEndsAt', now).lte('passEndsAt', now + before))
673
+ .take(limit)
674
+ return [...await read(undefined, PASS_NOTICE_BEFORE_MS), ...await read(true, TRIAL_PASS_NOTICE_BEFORE_MS)].map(row => row._id)
675
+ }
676
+
677
+ /**
678
+ * What is due at `now`, bounded: each kind of step read from its own index
679
+ * range, oldest first, and taken in turns, so steps of one kind that keep
680
+ * failing never hold up the others.
681
+ */
682
+ async function dueTasks(ctx: QueryCtx, now: number, limit: number): Promise<Task[]> {
683
+ const kinds: Array<[Task['kind'], string[]]> = [
684
+ ['end_pass', await dueEnds(ctx, now, limit)],
685
+ ['schedule_return', await dueReturns(ctx, now, limit)],
686
+ ['pass_notice', await dueNotices(ctx, now, limit)],
687
+ ['deliver', await dueDeliveries(ctx, now, limit)],
688
+ ['remind', await dueReminders(ctx, now, limit)],
689
+ ]
690
+ const tasks: Task[] = []
691
+ for (let turn = 0; tasks.length < limit && kinds.some(([, ids]) => turn < ids.length); turn++) {
692
+ for (const [kind, ids] of kinds) {
693
+ if (turn < ids.length && tasks.length < limit) tasks.push({ kind, giftId: ids[turn]! })
694
+ }
695
+ }
696
+ return tasks
697
+ }
698
+
699
+ /** The tasks the sweep hands the app when it wakes it, and whether more wait. */
700
+ export const due = query({
701
+ args: { now: v.number(), limit: v.optional(v.number()) },
702
+ returns: v.object({ tasks: v.array(vTask), more: v.boolean() }),
703
+ handler: async (ctx, { now, limit }) => {
704
+ const cap = Math.min(limit ?? SWEEP_BATCH, SWEEP_BATCH)
705
+ const tasks = await dueTasks(ctx, now, cap + 1)
706
+ return { tasks: tasks.slice(0, cap), more: tasks.length > cap }
707
+ },
708
+ })
709
+
710
+ /** Keep the handle the component's sweep wakes the app by. Idempotent. */
711
+ export const registerSweep = mutation({
712
+ args: { wake: v.string() },
713
+ returns: v.null(),
714
+ handler: async (ctx, { wake }) => {
715
+ await keepWake(ctx, 'billingGiftSweep', wake)
716
+ return null
717
+ },
718
+ })
719
+
720
+ /**
721
+ * The component's own sweep (crons.ts): wake the app when a delivery, a
722
+ * reminder or a pass step is due. It reads and returns otherwise, and does
723
+ * nothing in an app that never sold a gift.
724
+ */
725
+ export const sweep = internalMutation({
726
+ args: {},
727
+ returns: v.null(),
728
+ handler: async (ctx) => {
729
+ const row = await ctx.db.query('billingGiftSweep').first()
730
+ if (!row) return null
731
+ if ((await dueTasks(ctx, Date.now(), 1)).length > 0) await ctx.scheduler.runAfter(0, row.wake as FunctionHandle<'action', { op: 'sweep' }>, { op: 'sweep' })
732
+ return null
733
+ },
734
+ })