@hexclave/js 1.0.41 → 1.0.42

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 (401) hide show
  1. package/dist/admin-app-impl-Bth-U45X.d.ts +1095 -0
  2. package/dist/admin-app-impl-Bth-U45X.d.ts.map +1 -0
  3. package/dist/clickmap/clickmap-core.d.ts +1 -2
  4. package/dist/clickmap/clickmap-core.d.ts.map +1 -1
  5. package/dist/clickmap/clickmap-core.js +2 -4
  6. package/dist/clickmap/clickmap-core.js.map +1 -1
  7. package/dist/clickmap/clickmap-styles.js +3 -6
  8. package/dist/clickmap/clickmap-styles.js.map +1 -1
  9. package/dist/clickmap/index.d.ts +1 -2
  10. package/dist/clickmap/index.d.ts.map +1 -1
  11. package/dist/clickmap/index.js +2 -4
  12. package/dist/clickmap/index.js.map +1 -1
  13. package/dist/client-app-D8-Lm4RT.d.ts +1235 -0
  14. package/dist/client-app-D8-Lm4RT.d.ts.map +1 -0
  15. package/dist/common-BDyEKSM6.d.ts +174 -0
  16. package/dist/common-BDyEKSM6.d.ts.map +1 -0
  17. package/dist/common-CRu2FsO9.d.ts +65 -0
  18. package/dist/common-CRu2FsO9.d.ts.map +1 -0
  19. package/dist/config.js +17 -19
  20. package/dist/cookie-DTOQvCYn.d.ts +42 -0
  21. package/dist/cookie-DTOQvCYn.d.ts.map +1 -0
  22. package/dist/dev-tool/dev-tool-core.d.ts +1 -2
  23. package/dist/dev-tool/dev-tool-core.d.ts.map +1 -1
  24. package/dist/dev-tool/dev-tool-core.js +2 -4
  25. package/dist/dev-tool/dev-tool-core.js.map +1 -1
  26. package/dist/dev-tool/dev-tool-styles.js +3 -6
  27. package/dist/dev-tool/dev-tool-styles.js.map +1 -1
  28. package/dist/dev-tool/dev-tool-trigger-position.d.ts.map +1 -1
  29. package/dist/dev-tool/dev-tool-trigger-position.js +6 -7
  30. package/dist/dev-tool/dev-tool-trigger-position.js.map +1 -1
  31. package/dist/dev-tool/dev-tool-trigger-position.test.js +1 -3
  32. package/dist/dev-tool/dev-tool-trigger-position.test.js.map +1 -1
  33. package/dist/dev-tool/index.d.ts +1 -2
  34. package/dist/dev-tool/index.d.ts.map +1 -1
  35. package/dist/dev-tool/index.js +2 -4
  36. package/dist/dev-tool/index.js.map +1 -1
  37. package/dist/esm/clickmap/clickmap-core.d.ts +1 -1
  38. package/dist/esm/clickmap/clickmap-core.d.ts.map +1 -1
  39. package/dist/esm/clickmap/clickmap-core.js +1 -2
  40. package/dist/esm/clickmap/clickmap-core.js.map +1 -1
  41. package/dist/esm/clickmap/clickmap-styles.js +1 -2
  42. package/dist/esm/clickmap/clickmap-styles.js.map +1 -1
  43. package/dist/esm/clickmap/index.d.ts +1 -1
  44. package/dist/esm/clickmap/index.d.ts.map +1 -1
  45. package/dist/esm/clickmap/index.js +1 -2
  46. package/dist/esm/clickmap/index.js.map +1 -1
  47. package/dist/esm/config.js +1 -2
  48. package/dist/esm/dev-tool/dev-tool-core.d.ts +1 -1
  49. package/dist/esm/dev-tool/dev-tool-core.d.ts.map +1 -1
  50. package/dist/esm/dev-tool/dev-tool-core.js +1 -2
  51. package/dist/esm/dev-tool/dev-tool-core.js.map +1 -1
  52. package/dist/esm/dev-tool/dev-tool-styles.js +1 -2
  53. package/dist/esm/dev-tool/dev-tool-styles.js.map +1 -1
  54. package/dist/esm/dev-tool/dev-tool-trigger-position.d.ts.map +1 -1
  55. package/dist/esm/dev-tool/dev-tool-trigger-position.js +5 -5
  56. package/dist/esm/dev-tool/dev-tool-trigger-position.js.map +1 -1
  57. package/dist/esm/dev-tool/dev-tool-trigger-position.test.js +2 -3
  58. package/dist/esm/dev-tool/dev-tool-trigger-position.test.js.map +1 -1
  59. package/dist/esm/dev-tool/index.d.ts +1 -1
  60. package/dist/esm/dev-tool/index.d.ts.map +1 -1
  61. package/dist/esm/dev-tool/index.js +1 -2
  62. package/dist/esm/dev-tool/index.js.map +1 -1
  63. package/dist/esm/generated/env.js +1 -1
  64. package/dist/esm/generated/env.js.map +1 -1
  65. package/dist/esm/global.d.ts.map +1 -1
  66. package/dist/esm/in-page-ui/base-styles.d.ts.map +1 -1
  67. package/dist/esm/in-page-ui/base-styles.js +1 -1
  68. package/dist/esm/in-page-ui/base-styles.js.map +1 -1
  69. package/dist/esm/in-page-ui/dom.d.ts.map +1 -1
  70. package/dist/esm/in-page-ui/dom.js +1 -1
  71. package/dist/esm/in-page-ui/dom.js.map +1 -1
  72. package/dist/esm/index.d.ts +2 -2
  73. package/dist/esm/index.js +2 -4
  74. package/dist/esm/integrations/convex/component/convex.config.d.ts +1 -3
  75. package/dist/esm/integrations/convex/component/convex.config.d.ts.map +1 -1
  76. package/dist/esm/integrations/convex/component/convex.config.js +1 -2
  77. package/dist/esm/integrations/convex/component/convex.config.js.map +1 -1
  78. package/dist/esm/integrations/convex.js +1 -2
  79. package/dist/esm/integrations/convex.js.map +1 -1
  80. package/dist/esm/lib/auth.js +1 -2
  81. package/dist/esm/lib/auth.js.map +1 -1
  82. package/dist/esm/lib/auth.test.js +2 -3
  83. package/dist/esm/lib/auth.test.js.map +1 -1
  84. package/dist/esm/lib/cookie.d.ts.map +1 -1
  85. package/dist/esm/lib/cookie.js +4 -22
  86. package/dist/esm/lib/cookie.js.map +1 -1
  87. package/dist/esm/lib/hexclave-app/api-keys/index.d.ts.map +1 -1
  88. package/dist/esm/lib/hexclave-app/api-keys/index.js +1 -2
  89. package/dist/esm/lib/hexclave-app/api-keys/index.js.map +1 -1
  90. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +34 -42
  91. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts.map +1 -1
  92. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.js +1 -2
  93. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.js.map +1 -1
  94. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.cross-domain.test.js +2 -3
  95. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.cross-domain.test.js.map +1 -1
  96. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +26 -28
  97. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.d.ts.map +1 -1
  98. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.js +1 -2
  99. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.js.map +1 -1
  100. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.oauth-prefetch.test.js +2 -3
  101. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.oauth-prefetch.test.js.map +1 -1
  102. package/dist/esm/lib/hexclave-app/apps/implementations/common.d.ts +1 -1
  103. package/dist/esm/lib/hexclave-app/apps/implementations/common.d.ts.map +1 -1
  104. package/dist/esm/lib/hexclave-app/apps/implementations/common.js +7 -8
  105. package/dist/esm/lib/hexclave-app/apps/implementations/common.js.map +1 -1
  106. package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.d.ts.map +1 -1
  107. package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.js +1 -2
  108. package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.js.map +1 -1
  109. package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.test.js +2 -3
  110. package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.test.js.map +1 -1
  111. package/dist/esm/lib/hexclave-app/apps/implementations/index.d.ts +3 -3
  112. package/dist/esm/lib/hexclave-app/apps/implementations/index.d.ts.map +1 -1
  113. package/dist/esm/lib/hexclave-app/apps/implementations/index.js +1 -2
  114. package/dist/esm/lib/hexclave-app/apps/implementations/index.js.map +1 -1
  115. package/dist/esm/lib/hexclave-app/apps/implementations/redirect-page-urls.d.ts +1 -1
  116. package/dist/esm/lib/hexclave-app/apps/implementations/redirect-page-urls.d.ts.map +1 -1
  117. package/dist/esm/lib/hexclave-app/apps/implementations/redirect-page-urls.js +1 -2
  118. package/dist/esm/lib/hexclave-app/apps/implementations/redirect-page-urls.js.map +1 -1
  119. package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +13 -13
  120. package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.d.ts.map +1 -1
  121. package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.js +1 -2
  122. package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.js.map +1 -1
  123. package/dist/esm/lib/hexclave-app/apps/implementations/session-refresh-subscription.d.ts.map +1 -1
  124. package/dist/esm/lib/hexclave-app/apps/implementations/session-refresh-subscription.js +1 -1
  125. package/dist/esm/lib/hexclave-app/apps/implementations/session-refresh-subscription.js.map +1 -1
  126. package/dist/esm/lib/hexclave-app/apps/implementations/session-refresh-subscription.test.js +2 -3
  127. package/dist/esm/lib/hexclave-app/apps/implementations/session-refresh-subscription.test.js.map +1 -1
  128. package/dist/esm/lib/hexclave-app/apps/implementations/session-replay.d.ts.map +1 -1
  129. package/dist/esm/lib/hexclave-app/apps/implementations/session-replay.js +13 -7
  130. package/dist/esm/lib/hexclave-app/apps/implementations/session-replay.js.map +1 -1
  131. package/dist/esm/lib/hexclave-app/apps/implementations/session-replay.test.js +134 -3
  132. package/dist/esm/lib/hexclave-app/apps/implementations/session-replay.test.js.map +1 -1
  133. package/dist/esm/lib/hexclave-app/apps/index.d.ts +3 -3
  134. package/dist/esm/lib/hexclave-app/apps/index.js +1 -2
  135. package/dist/esm/lib/hexclave-app/apps/interfaces/admin-app.d.ts +8 -8
  136. package/dist/esm/lib/hexclave-app/apps/interfaces/admin-app.d.ts.map +1 -1
  137. package/dist/esm/lib/hexclave-app/apps/interfaces/admin-app.js +1 -2
  138. package/dist/esm/lib/hexclave-app/apps/interfaces/admin-app.js.map +1 -1
  139. package/dist/esm/lib/hexclave-app/apps/interfaces/client-app.d.ts +6 -6
  140. package/dist/esm/lib/hexclave-app/apps/interfaces/client-app.d.ts.map +1 -1
  141. package/dist/esm/lib/hexclave-app/apps/interfaces/client-app.js +1 -2
  142. package/dist/esm/lib/hexclave-app/apps/interfaces/client-app.js.map +1 -1
  143. package/dist/esm/lib/hexclave-app/apps/interfaces/server-app.d.ts +7 -7
  144. package/dist/esm/lib/hexclave-app/apps/interfaces/server-app.d.ts.map +1 -1
  145. package/dist/esm/lib/hexclave-app/apps/interfaces/server-app.js +1 -2
  146. package/dist/esm/lib/hexclave-app/apps/interfaces/server-app.js.map +1 -1
  147. package/dist/esm/lib/hexclave-app/common.d.ts.map +1 -1
  148. package/dist/esm/lib/hexclave-app/common.js +1 -1
  149. package/dist/esm/lib/hexclave-app/common.js.map +1 -1
  150. package/dist/esm/lib/hexclave-app/connected-accounts/index.d.ts.map +1 -1
  151. package/dist/esm/lib/hexclave-app/connected-accounts/index.js +1 -1
  152. package/dist/esm/lib/hexclave-app/contact-channels/index.d.ts.map +1 -1
  153. package/dist/esm/lib/hexclave-app/contact-channels/index.js +1 -1
  154. package/dist/esm/lib/hexclave-app/contact-channels/index.js.map +1 -1
  155. package/dist/esm/lib/hexclave-app/customers/index.d.ts +1 -1
  156. package/dist/esm/lib/hexclave-app/customers/index.d.ts.map +1 -1
  157. package/dist/esm/lib/hexclave-app/customers/index.js +1 -1
  158. package/dist/esm/lib/hexclave-app/data-vault/index.d.ts +1 -1
  159. package/dist/esm/lib/hexclave-app/data-vault/index.d.ts.map +1 -1
  160. package/dist/esm/lib/hexclave-app/data-vault/index.js +1 -1
  161. package/dist/esm/lib/hexclave-app/email/index.d.ts.map +1 -1
  162. package/dist/esm/lib/hexclave-app/email/index.js +1 -1
  163. package/dist/esm/lib/hexclave-app/email-templates/index.d.ts.map +1 -1
  164. package/dist/esm/lib/hexclave-app/email-templates/index.js +1 -1
  165. package/dist/esm/lib/hexclave-app/email-templates/index.js.map +1 -1
  166. package/dist/esm/lib/hexclave-app/index.d.ts +14 -14
  167. package/dist/esm/lib/hexclave-app/index.js +1 -2
  168. package/dist/esm/lib/hexclave-app/internal-api-keys/index.d.ts.map +1 -1
  169. package/dist/esm/lib/hexclave-app/internal-api-keys/index.js +1 -1
  170. package/dist/esm/lib/hexclave-app/internal-api-keys/index.js.map +1 -1
  171. package/dist/esm/lib/hexclave-app/notification-categories/index.d.ts.map +1 -1
  172. package/dist/esm/lib/hexclave-app/notification-categories/index.js +1 -1
  173. package/dist/esm/lib/hexclave-app/permissions/index.d.ts.map +1 -1
  174. package/dist/esm/lib/hexclave-app/permissions/index.js +1 -1
  175. package/dist/esm/lib/hexclave-app/permissions/index.js.map +1 -1
  176. package/dist/esm/lib/hexclave-app/plan-usage/index.d.ts.map +1 -1
  177. package/dist/esm/lib/hexclave-app/plan-usage/index.js +1 -1
  178. package/dist/esm/lib/hexclave-app/project-configs/index.d.ts +1 -1
  179. package/dist/esm/lib/hexclave-app/project-configs/index.d.ts.map +1 -1
  180. package/dist/esm/lib/hexclave-app/project-configs/index.js +1 -1
  181. package/dist/esm/lib/hexclave-app/projects/index.d.ts +2 -2
  182. package/dist/esm/lib/hexclave-app/projects/index.d.ts.map +1 -1
  183. package/dist/esm/lib/hexclave-app/projects/index.js +5 -1
  184. package/dist/esm/lib/hexclave-app/projects/index.js.map +1 -1
  185. package/dist/esm/lib/hexclave-app/session-replays/index.d.ts.map +1 -1
  186. package/dist/esm/lib/hexclave-app/session-replays/index.js +1 -1
  187. package/dist/esm/lib/hexclave-app/teams/index.d.ts +4 -4
  188. package/dist/esm/lib/hexclave-app/teams/index.d.ts.map +1 -1
  189. package/dist/esm/lib/hexclave-app/teams/index.js +1 -1
  190. package/dist/esm/lib/hexclave-app/teams/index.js.map +1 -1
  191. package/dist/esm/lib/hexclave-app/url-targets.d.ts +1 -1
  192. package/dist/esm/lib/hexclave-app/url-targets.d.ts.map +1 -1
  193. package/dist/esm/lib/hexclave-app/url-targets.js +2 -3
  194. package/dist/esm/lib/hexclave-app/url-targets.js.map +1 -1
  195. package/dist/esm/lib/hexclave-app/url-targets.test.js +2 -3
  196. package/dist/esm/lib/hexclave-app/url-targets.test.js.map +1 -1
  197. package/dist/esm/lib/hexclave-app/users/index.d.ts +10 -10
  198. package/dist/esm/lib/hexclave-app/users/index.d.ts.map +1 -1
  199. package/dist/esm/lib/hexclave-app/users/index.js +1 -2
  200. package/dist/esm/lib/hexclave-app/users/index.js.map +1 -1
  201. package/dist/esm/pushed-config-error-overlay/index.d.ts +1 -1
  202. package/dist/esm/pushed-config-error-overlay/index.d.ts.map +1 -1
  203. package/dist/esm/pushed-config-error-overlay/index.js +1 -2
  204. package/dist/esm/pushed-config-error-overlay/index.js.map +1 -1
  205. package/dist/esm/pushed-config-error-overlay/index.test.js +2 -3
  206. package/dist/esm/pushed-config-error-overlay/index.test.js.map +1 -1
  207. package/dist/esm/utils/url.d.ts.map +1 -1
  208. package/dist/esm/utils/url.js +1 -2
  209. package/dist/esm/utils/url.js.map +1 -1
  210. package/dist/generated/env.js +2 -3
  211. package/dist/generated/env.js.map +1 -1
  212. package/dist/global.d.ts.map +1 -1
  213. package/dist/in-page-ui/base-styles.d.ts.map +1 -1
  214. package/dist/in-page-ui/base-styles.js +2 -3
  215. package/dist/in-page-ui/base-styles.js.map +1 -1
  216. package/dist/in-page-ui/dom.d.ts.map +1 -1
  217. package/dist/in-page-ui/dom.js +2 -3
  218. package/dist/in-page-ui/dom.js.map +1 -1
  219. package/dist/index-BKZ67WMa.d.ts +1 -0
  220. package/dist/index-BVVgDSdq.d.ts +1 -0
  221. package/dist/index-Bo5DpPFH.d.ts +17 -0
  222. package/dist/index-Bo5DpPFH.d.ts.map +1 -0
  223. package/dist/index-CBDR4cNg.d.ts +206 -0
  224. package/dist/index-CBDR4cNg.d.ts.map +1 -0
  225. package/dist/index-ClBTM-St.d.ts +40 -0
  226. package/dist/index-ClBTM-St.d.ts.map +1 -0
  227. package/dist/index-D7Vdg30O.d.ts +27 -0
  228. package/dist/index-D7Vdg30O.d.ts.map +1 -0
  229. package/dist/index-DLPccxVU.d.ts +14 -0
  230. package/dist/index-DLPccxVU.d.ts.map +1 -0
  231. package/dist/index-DN04TjLM.d.ts +43 -0
  232. package/dist/index-DN04TjLM.d.ts.map +1 -0
  233. package/dist/index-DSzMf-rS.d.ts +43 -0
  234. package/dist/index-DSzMf-rS.d.ts.map +1 -0
  235. package/dist/index-Dq4xsW7_.d.ts +106 -0
  236. package/dist/index-Dq4xsW7_.d.ts.map +1 -0
  237. package/dist/index-O3hJsHSl.d.ts +11 -0
  238. package/dist/index-O3hJsHSl.d.ts.map +1 -0
  239. package/dist/index-TUtJOdMm.d.ts +42 -0
  240. package/dist/index-TUtJOdMm.d.ts.map +1 -0
  241. package/dist/index-ZiEXZJBF.d.ts +129 -0
  242. package/dist/index-ZiEXZJBF.d.ts.map +1 -0
  243. package/dist/index-fOYcs4NH.d.ts +53 -0
  244. package/dist/{lib/hexclave-app/api-keys/index.d.ts.map → index-fOYcs4NH.d.ts.map} +1 -1
  245. package/dist/index-hYjsGKNc.d.ts +66 -0
  246. package/dist/index-hYjsGKNc.d.ts.map +1 -0
  247. package/dist/index.d.ts +11 -16
  248. package/dist/index.js +23 -23
  249. package/dist/integrations/convex/component/convex.config.d.ts +1 -1
  250. package/dist/integrations/convex/component/convex.config.d.ts.map +1 -1
  251. package/dist/integrations/convex/component/convex.config.js +2 -5
  252. package/dist/integrations/convex/component/convex.config.js.map +1 -1
  253. package/dist/integrations/convex.js +2 -4
  254. package/dist/integrations/convex.js.map +1 -1
  255. package/dist/lib/auth.js +2 -4
  256. package/dist/lib/auth.js.map +1 -1
  257. package/dist/lib/auth.test.js +1 -3
  258. package/dist/lib/auth.test.js.map +1 -1
  259. package/dist/lib/cookie.d.ts +2 -42
  260. package/dist/lib/cookie.js +7 -25
  261. package/dist/lib/cookie.js.map +1 -1
  262. package/dist/lib/hexclave-app/api-keys/index.d.ts +2 -53
  263. package/dist/lib/hexclave-app/api-keys/index.js +2 -4
  264. package/dist/lib/hexclave-app/api-keys/index.js.map +1 -1
  265. package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +2 -376
  266. package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.js +2 -4
  267. package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.js.map +1 -1
  268. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.cross-domain.test.js +1 -3
  269. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.cross-domain.test.js.map +1 -1
  270. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +2 -554
  271. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.js +4 -5
  272. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.js.map +1 -1
  273. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.oauth-prefetch.test.js +1 -3
  274. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.oauth-prefetch.test.js.map +1 -1
  275. package/dist/lib/hexclave-app/apps/implementations/common.d.ts +2 -65
  276. package/dist/lib/hexclave-app/apps/implementations/common.js +7 -9
  277. package/dist/lib/hexclave-app/apps/implementations/common.js.map +1 -1
  278. package/dist/lib/hexclave-app/apps/implementations/event-tracker.d.ts.map +1 -1
  279. package/dist/lib/hexclave-app/apps/implementations/event-tracker.js +2 -4
  280. package/dist/lib/hexclave-app/apps/implementations/event-tracker.js.map +1 -1
  281. package/dist/lib/hexclave-app/apps/implementations/event-tracker.test.js +1 -3
  282. package/dist/lib/hexclave-app/apps/implementations/event-tracker.test.js.map +1 -1
  283. package/dist/lib/hexclave-app/apps/implementations/index.d.ts +1 -3
  284. package/dist/lib/hexclave-app/apps/implementations/index.d.ts.map +1 -1
  285. package/dist/lib/hexclave-app/apps/implementations/index.js +2 -4
  286. package/dist/lib/hexclave-app/apps/implementations/index.js.map +1 -1
  287. package/dist/lib/hexclave-app/apps/implementations/redirect-page-urls.d.ts +2 -35
  288. package/dist/lib/hexclave-app/apps/implementations/redirect-page-urls.js +2 -4
  289. package/dist/lib/hexclave-app/apps/implementations/redirect-page-urls.js.map +1 -1
  290. package/dist/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +2 -217
  291. package/dist/lib/hexclave-app/apps/implementations/server-app-impl.js +2 -4
  292. package/dist/lib/hexclave-app/apps/implementations/server-app-impl.js.map +1 -1
  293. package/dist/lib/hexclave-app/apps/implementations/session-refresh-subscription.d.ts.map +1 -1
  294. package/dist/lib/hexclave-app/apps/implementations/session-refresh-subscription.js +2 -3
  295. package/dist/lib/hexclave-app/apps/implementations/session-refresh-subscription.js.map +1 -1
  296. package/dist/lib/hexclave-app/apps/implementations/session-refresh-subscription.test.js +1 -3
  297. package/dist/lib/hexclave-app/apps/implementations/session-refresh-subscription.test.js.map +1 -1
  298. package/dist/lib/hexclave-app/apps/implementations/session-replay.d.ts +2 -122
  299. package/dist/lib/hexclave-app/apps/implementations/session-replay.js +14 -9
  300. package/dist/lib/hexclave-app/apps/implementations/session-replay.js.map +1 -1
  301. package/dist/lib/hexclave-app/apps/implementations/session-replay.test.js +135 -3
  302. package/dist/lib/hexclave-app/apps/implementations/session-replay.test.js.map +1 -1
  303. package/dist/lib/hexclave-app/apps/index.d.ts +1 -3
  304. package/dist/lib/hexclave-app/apps/index.js +32 -34
  305. package/dist/lib/hexclave-app/apps/interfaces/admin-app.d.ts +3 -255
  306. package/dist/lib/hexclave-app/apps/interfaces/admin-app.js +3 -6
  307. package/dist/lib/hexclave-app/apps/interfaces/admin-app.js.map +1 -1
  308. package/dist/lib/hexclave-app/apps/interfaces/client-app.d.ts +2 -219
  309. package/dist/lib/hexclave-app/apps/interfaces/client-app.js +3 -6
  310. package/dist/lib/hexclave-app/apps/interfaces/client-app.js.map +1 -1
  311. package/dist/lib/hexclave-app/apps/interfaces/server-app.d.ts +2 -133
  312. package/dist/lib/hexclave-app/apps/interfaces/server-app.js +3 -6
  313. package/dist/lib/hexclave-app/apps/interfaces/server-app.js.map +1 -1
  314. package/dist/lib/hexclave-app/common.d.ts +2 -174
  315. package/dist/lib/hexclave-app/common.js +2 -3
  316. package/dist/lib/hexclave-app/common.js.map +1 -1
  317. package/dist/lib/hexclave-app/connected-accounts/index.d.ts +2 -40
  318. package/dist/lib/hexclave-app/contact-channels/index.d.ts +2 -43
  319. package/dist/lib/hexclave-app/contact-channels/index.js +2 -3
  320. package/dist/lib/hexclave-app/contact-channels/index.js.map +1 -1
  321. package/dist/lib/hexclave-app/customers/index.d.ts +2 -129
  322. package/dist/lib/hexclave-app/data-vault/index.d.ts +2 -14
  323. package/dist/lib/hexclave-app/email/index.d.ts +2 -206
  324. package/dist/lib/hexclave-app/email-templates/index.d.ts +2 -17
  325. package/dist/lib/hexclave-app/email-templates/index.js +2 -3
  326. package/dist/lib/hexclave-app/email-templates/index.js.map +1 -1
  327. package/dist/lib/hexclave-app/index.d.ts +10 -15
  328. package/dist/lib/hexclave-app/index.js +49 -51
  329. package/dist/lib/hexclave-app/internal-api-keys/index.d.ts +2 -42
  330. package/dist/lib/hexclave-app/internal-api-keys/index.js +2 -3
  331. package/dist/lib/hexclave-app/internal-api-keys/index.js.map +1 -1
  332. package/dist/lib/hexclave-app/notification-categories/index.d.ts +2 -11
  333. package/dist/lib/hexclave-app/permissions/index.d.ts +2 -43
  334. package/dist/lib/hexclave-app/permissions/index.js +2 -3
  335. package/dist/lib/hexclave-app/permissions/index.js.map +1 -1
  336. package/dist/lib/hexclave-app/plan-usage/index.d.ts +2 -27
  337. package/dist/lib/hexclave-app/project-configs/index.d.ts +2 -106
  338. package/dist/lib/hexclave-app/projects/index.d.ts +2 -152
  339. package/dist/lib/hexclave-app/projects/index.js +6 -3
  340. package/dist/lib/hexclave-app/projects/index.js.map +1 -1
  341. package/dist/lib/hexclave-app/session-replays/index.d.ts +2 -66
  342. package/dist/lib/hexclave-app/teams/index.d.ts +2 -164
  343. package/dist/lib/hexclave-app/teams/index.js +2 -3
  344. package/dist/lib/hexclave-app/teams/index.js.map +1 -1
  345. package/dist/lib/hexclave-app/url-targets.d.ts +2 -39
  346. package/dist/lib/hexclave-app/url-targets.js +3 -5
  347. package/dist/lib/hexclave-app/url-targets.js.map +1 -1
  348. package/dist/lib/hexclave-app/url-targets.test.js +1 -3
  349. package/dist/lib/hexclave-app/url-targets.test.js.map +1 -1
  350. package/dist/lib/hexclave-app/users/index.d.ts +2 -357
  351. package/dist/lib/hexclave-app/users/index.js +2 -4
  352. package/dist/lib/hexclave-app/users/index.js.map +1 -1
  353. package/dist/pushed-config-error-overlay/index.d.ts +1 -2
  354. package/dist/pushed-config-error-overlay/index.d.ts.map +1 -1
  355. package/dist/pushed-config-error-overlay/index.js +2 -4
  356. package/dist/pushed-config-error-overlay/index.js.map +1 -1
  357. package/dist/pushed-config-error-overlay/index.test.js +1 -3
  358. package/dist/pushed-config-error-overlay/index.test.js.map +1 -1
  359. package/dist/redirect-page-urls-elbPx2J1.d.ts +35 -0
  360. package/dist/redirect-page-urls-elbPx2J1.d.ts.map +1 -0
  361. package/dist/{chunk-BE-pF4vm.js → rolldown-runtime-D6vf50IK.js} +12 -18
  362. package/dist/session-replay-8_3WCrsZ.d.ts +122 -0
  363. package/dist/session-replay-8_3WCrsZ.d.ts.map +1 -0
  364. package/dist/{storage-CKsyME2q.d.ts → storage-CA867GtX.d.ts} +1 -1
  365. package/dist/storage-CA867GtX.d.ts.map +1 -0
  366. package/dist/url-targets-BJgkwPGW.d.ts +39 -0
  367. package/dist/url-targets-BJgkwPGW.d.ts.map +1 -0
  368. package/dist/utils/url.d.ts.map +1 -1
  369. package/dist/utils/url.js +2 -4
  370. package/dist/utils/url.js.map +1 -1
  371. package/package.json +4 -4
  372. package/src/lib/hexclave-app/apps/implementations/session-replay.test.ts +160 -1
  373. package/src/lib/hexclave-app/apps/implementations/session-replay.ts +38 -12
  374. package/dist/lib/cookie.d.ts.map +0 -1
  375. package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts.map +0 -1
  376. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.d.ts.map +0 -1
  377. package/dist/lib/hexclave-app/apps/implementations/common.d.ts.map +0 -1
  378. package/dist/lib/hexclave-app/apps/implementations/redirect-page-urls.d.ts.map +0 -1
  379. package/dist/lib/hexclave-app/apps/implementations/server-app-impl.d.ts.map +0 -1
  380. package/dist/lib/hexclave-app/apps/implementations/session-replay.d.ts.map +0 -1
  381. package/dist/lib/hexclave-app/apps/interfaces/admin-app.d.ts.map +0 -1
  382. package/dist/lib/hexclave-app/apps/interfaces/client-app.d.ts.map +0 -1
  383. package/dist/lib/hexclave-app/apps/interfaces/server-app.d.ts.map +0 -1
  384. package/dist/lib/hexclave-app/common.d.ts.map +0 -1
  385. package/dist/lib/hexclave-app/connected-accounts/index.d.ts.map +0 -1
  386. package/dist/lib/hexclave-app/contact-channels/index.d.ts.map +0 -1
  387. package/dist/lib/hexclave-app/customers/index.d.ts.map +0 -1
  388. package/dist/lib/hexclave-app/data-vault/index.d.ts.map +0 -1
  389. package/dist/lib/hexclave-app/email/index.d.ts.map +0 -1
  390. package/dist/lib/hexclave-app/email-templates/index.d.ts.map +0 -1
  391. package/dist/lib/hexclave-app/internal-api-keys/index.d.ts.map +0 -1
  392. package/dist/lib/hexclave-app/notification-categories/index.d.ts.map +0 -1
  393. package/dist/lib/hexclave-app/permissions/index.d.ts.map +0 -1
  394. package/dist/lib/hexclave-app/plan-usage/index.d.ts.map +0 -1
  395. package/dist/lib/hexclave-app/project-configs/index.d.ts.map +0 -1
  396. package/dist/lib/hexclave-app/projects/index.d.ts.map +0 -1
  397. package/dist/lib/hexclave-app/session-replays/index.d.ts.map +0 -1
  398. package/dist/lib/hexclave-app/teams/index.d.ts.map +0 -1
  399. package/dist/lib/hexclave-app/url-targets.d.ts.map +0 -1
  400. package/dist/lib/hexclave-app/users/index.d.ts.map +0 -1
  401. package/dist/storage-CKsyME2q.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../src/lib/hexclave-app/contact-channels/index.ts"],"sourcesContent":["\n//===========================================\n// THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY UNLESS YOU ALSO EDIT THE CORRESPONDING FILE IN packages/template\n//===========================================\nimport { ContactChannelsCrud } from \"@hexclave/shared/dist/interface/crud/contact-channels\";\n\n\nexport type ContactChannel = {\n id: string,\n value: string,\n type: 'email',\n isPrimary: boolean,\n isVerified: boolean,\n usedForAuth: boolean,\n\n sendVerificationEmail(options?: { callbackUrl?: string }): Promise<void>,\n update(data: ContactChannelUpdateOptions): Promise<void>,\n delete(): Promise<void>,\n}\n\nexport type ContactChannelCreateOptions = {\n value: string,\n type: 'email',\n usedForAuth: boolean,\n isPrimary?: boolean,\n}\n\nexport function contactChannelCreateOptionsToCrud(userId: string, options: ContactChannelCreateOptions): ContactChannelsCrud[\"Client\"][\"Create\"] {\n return {\n value: options.value,\n type: options.type,\n used_for_auth: options.usedForAuth,\n is_primary: options.isPrimary,\n user_id: userId,\n };\n}\n\nexport type ContactChannelUpdateOptions = {\n usedForAuth?: boolean,\n value?: string,\n isPrimary?: boolean,\n}\n\nexport function contactChannelUpdateOptionsToCrud(options: ContactChannelUpdateOptions): ContactChannelsCrud[\"Client\"][\"Update\"] {\n return {\n value: options.value,\n used_for_auth: options.usedForAuth,\n is_primary: options.isPrimary,\n };\n}\n\nexport type ServerContactChannel = ContactChannel & {\n update(data: ServerContactChannelUpdateOptions): Promise<void>,\n}\nexport type ServerContactChannelUpdateOptions = ContactChannelUpdateOptions & {\n isVerified?: boolean,\n}\n\nexport function serverContactChannelUpdateOptionsToCrud(options: ServerContactChannelUpdateOptions): ContactChannelsCrud[\"Server\"][\"Update\"] {\n return {\n value: options.value,\n is_verified: options.isVerified,\n used_for_auth: options.usedForAuth,\n is_primary: options.isPrimary,\n };\n}\n\nexport type ServerContactChannelCreateOptions = ContactChannelCreateOptions & {\n isVerified?: boolean,\n}\nexport function serverContactChannelCreateOptionsToCrud(userId: string, options: ServerContactChannelCreateOptions): ContactChannelsCrud[\"Server\"][\"Create\"] {\n return {\n type: options.type,\n value: options.value,\n is_verified: options.isVerified,\n user_id: userId,\n used_for_auth: options.usedForAuth,\n is_primary: options.isPrimary,\n };\n}\n"],"mappings":";;;AA2BA,SAAgB,kCAAkC,QAAgB,SAA+E;AAC/I,QAAO;EACL,OAAO,QAAQ;EACf,MAAM,QAAQ;EACd,eAAe,QAAQ;EACvB,YAAY,QAAQ;EACpB,SAAS;EACV;;AASH,SAAgB,kCAAkC,SAA+E;AAC/H,QAAO;EACL,OAAO,QAAQ;EACf,eAAe,QAAQ;EACvB,YAAY,QAAQ;EACrB;;AAUH,SAAgB,wCAAwC,SAAqF;AAC3I,QAAO;EACL,OAAO,QAAQ;EACf,aAAa,QAAQ;EACrB,eAAe,QAAQ;EACvB,YAAY,QAAQ;EACrB;;AAMH,SAAgB,wCAAwC,QAAgB,SAAqF;AAC3J,QAAO;EACL,MAAM,QAAQ;EACd,OAAO,QAAQ;EACf,aAAa,QAAQ;EACrB,SAAS;EACT,eAAe,QAAQ;EACvB,YAAY,QAAQ;EACrB"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../src/lib/hexclave-app/contact-channels/index.ts"],"sourcesContent":["\n//===========================================\n// THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY UNLESS YOU ALSO EDIT THE CORRESPONDING FILE IN packages/template\n//===========================================\nimport { ContactChannelsCrud } from \"@hexclave/shared/dist/interface/crud/contact-channels\";\n\n\nexport type ContactChannel = {\n id: string,\n value: string,\n type: 'email',\n isPrimary: boolean,\n isVerified: boolean,\n usedForAuth: boolean,\n\n sendVerificationEmail(options?: { callbackUrl?: string }): Promise<void>,\n update(data: ContactChannelUpdateOptions): Promise<void>,\n delete(): Promise<void>,\n}\n\nexport type ContactChannelCreateOptions = {\n value: string,\n type: 'email',\n usedForAuth: boolean,\n isPrimary?: boolean,\n}\n\nexport function contactChannelCreateOptionsToCrud(userId: string, options: ContactChannelCreateOptions): ContactChannelsCrud[\"Client\"][\"Create\"] {\n return {\n value: options.value,\n type: options.type,\n used_for_auth: options.usedForAuth,\n is_primary: options.isPrimary,\n user_id: userId,\n };\n}\n\nexport type ContactChannelUpdateOptions = {\n usedForAuth?: boolean,\n value?: string,\n isPrimary?: boolean,\n}\n\nexport function contactChannelUpdateOptionsToCrud(options: ContactChannelUpdateOptions): ContactChannelsCrud[\"Client\"][\"Update\"] {\n return {\n value: options.value,\n used_for_auth: options.usedForAuth,\n is_primary: options.isPrimary,\n };\n}\n\nexport type ServerContactChannel = ContactChannel & {\n update(data: ServerContactChannelUpdateOptions): Promise<void>,\n}\nexport type ServerContactChannelUpdateOptions = ContactChannelUpdateOptions & {\n isVerified?: boolean,\n}\n\nexport function serverContactChannelUpdateOptionsToCrud(options: ServerContactChannelUpdateOptions): ContactChannelsCrud[\"Server\"][\"Update\"] {\n return {\n value: options.value,\n is_verified: options.isVerified,\n used_for_auth: options.usedForAuth,\n is_primary: options.isPrimary,\n };\n}\n\nexport type ServerContactChannelCreateOptions = ContactChannelCreateOptions & {\n isVerified?: boolean,\n}\nexport function serverContactChannelCreateOptionsToCrud(userId: string, options: ServerContactChannelCreateOptions): ContactChannelsCrud[\"Server\"][\"Create\"] {\n return {\n type: options.type,\n value: options.value,\n is_verified: options.isVerified,\n user_id: userId,\n used_for_auth: options.usedForAuth,\n is_primary: options.isPrimary,\n };\n}\n"],"mappings":";;AA2BA,SAAgB,kCAAkC,QAAgB,SAA+E;CAC/I,OAAO;EACL,OAAO,QAAQ;EACf,MAAM,QAAQ;EACd,eAAe,QAAQ;EACvB,YAAY,QAAQ;EACpB,SAAS;CACX;AACF;AAQA,SAAgB,kCAAkC,SAA+E;CAC/H,OAAO;EACL,OAAO,QAAQ;EACf,eAAe,QAAQ;EACvB,YAAY,QAAQ;CACtB;AACF;AASA,SAAgB,wCAAwC,SAAqF;CAC3I,OAAO;EACL,OAAO,QAAQ;EACf,aAAa,QAAQ;EACrB,eAAe,QAAQ;EACvB,YAAY,QAAQ;CACtB;AACF;AAKA,SAAgB,wCAAwC,QAAgB,SAAqF;CAC3J,OAAO;EACL,MAAM,QAAQ;EACd,OAAO,QAAQ;EACf,aAAa,QAAQ;EACrB,SAAS;EACT,eAAe,QAAQ;EACvB,YAAY,QAAQ;CACtB;AACF"}
@@ -1,129 +1,2 @@
1
- import { AsyncStoreProperty } from "../common.js";
2
- import { inlineProductSchema } from "@hexclave/shared/dist/schema-fields";
3
- import * as yup from "yup";
4
-
5
- //#region src/lib/hexclave-app/customers/index.d.ts
6
- type InlineProduct = yup.InferType<typeof inlineProductSchema>;
7
- type Item = {
8
- displayName: string;
9
- /**
10
- * May be negative.
11
- */
12
- quantity: number;
13
- /**
14
- * Equal to Math.max(0, quantity).
15
- */
16
- nonNegativeQuantity: number;
17
- };
18
- type ServerItem = Item & {
19
- increaseQuantity(amount: number): Promise<void>;
20
- /**
21
- * Decreases the quantity by the given amount.
22
- *
23
- * Note that you may want to use tryDecreaseQuantity instead, as it will prevent the quantity from going below 0 in a race-condition-free way.
24
- */
25
- decreaseQuantity(amount: number): Promise<void>;
26
- /**
27
- * Decreases the quantity by the given amount and returns true if the result is non-negative; returns false and does nothing if the result would be negative.
28
- *
29
- * Most useful for pre-paid credits.
30
- */
31
- tryDecreaseQuantity(amount: number): Promise<boolean>;
32
- };
33
- type CustomerProduct = {
34
- id: string | null;
35
- quantity: number;
36
- displayName: string;
37
- customerType: "user" | "team" | "custom";
38
- isServerOnly: boolean;
39
- stackable: boolean; /** @deprecated Product ownership is independent of purchase type. Will be removed in a future version. */
40
- type?: "one_time" | "subscription";
41
- subscription: null | {
42
- subscriptionId: string | null;
43
- currentPeriodEnd: Date | null;
44
- cancelAtPeriodEnd: boolean;
45
- isCancelable: boolean;
46
- };
47
- switchOptions?: Array<{
48
- productId: string;
49
- displayName: string;
50
- prices: InlineProduct["prices"];
51
- }>;
52
- };
53
- type CustomerProductsList = CustomerProduct[] & {
54
- nextCursor: string | null;
55
- };
56
- type CustomerProductsListOptions = {
57
- cursor?: string;
58
- limit?: number;
59
- };
60
- type CustomerProductsRequestOptions = ({
61
- userId: string;
62
- } & CustomerProductsListOptions) | ({
63
- teamId: string;
64
- } & CustomerProductsListOptions) | ({
65
- customCustomerId: string;
66
- } & CustomerProductsListOptions);
67
- type CustomerInvoiceStatus = "draft" | "open" | "paid" | "uncollectible" | "void" | null;
68
- type CustomerInvoice = {
69
- createdAt: Date;
70
- status: CustomerInvoiceStatus;
71
- amountTotal: number;
72
- hostedInvoiceUrl: string | null;
73
- };
74
- type CustomerInvoicesList = CustomerInvoice[] & {
75
- nextCursor: string | null;
76
- };
77
- type CustomerInvoicesListOptions = {
78
- cursor?: string;
79
- limit?: number;
80
- };
81
- type CustomerInvoicesRequestOptions = ({
82
- userId: string;
83
- } & CustomerInvoicesListOptions) | ({
84
- teamId: string;
85
- } & CustomerInvoicesListOptions);
86
- type CustomerDefaultPaymentMethod = {
87
- id: string;
88
- brand: string | null;
89
- last4: string | null;
90
- exp_month: number | null;
91
- exp_year: number | null;
92
- } | null;
93
- type CustomerBilling = {
94
- hasCustomer: boolean;
95
- defaultPaymentMethod: CustomerDefaultPaymentMethod;
96
- };
97
- type CustomerPaymentMethodSetupIntent = {
98
- clientSecret: string;
99
- stripeAccountId: string;
100
- };
101
- type Customer<IsServer extends boolean = false> = {
102
- readonly id: string;
103
- createCheckoutUrl(options: ({
104
- productId: string;
105
- returnUrl?: string;
106
- } | (IsServer extends true ? {
107
- product: InlineProduct;
108
- returnUrl?: string;
109
- } : never))): Promise<string>;
110
- createPaymentMethodSetupIntent(): Promise<CustomerPaymentMethodSetupIntent>;
111
- setDefaultPaymentMethodFromSetupIntent(setupIntentId: string): Promise<CustomerDefaultPaymentMethod>;
112
- switchSubscription(options: {
113
- fromProductId: string;
114
- toProductId: string;
115
- priceId?: string;
116
- quantity?: number;
117
- }): Promise<void>;
118
- } & AsyncStoreProperty<"billing", [], CustomerBilling, false> & AsyncStoreProperty<"item", [itemId: string], IsServer extends true ? ServerItem : Item, false> & AsyncStoreProperty<"products", [options?: CustomerProductsListOptions], CustomerProductsList, true> & AsyncStoreProperty<"invoices", [options?: CustomerInvoicesListOptions], CustomerInvoicesList, true> & (IsServer extends true ? {
119
- grantProduct(product: {
120
- productId: string;
121
- quantity?: number;
122
- } | {
123
- product: InlineProduct;
124
- quantity?: number;
125
- }): Promise<void>;
126
- } : {});
127
- //#endregion
128
- export { Customer, CustomerBilling, CustomerDefaultPaymentMethod, CustomerInvoice, CustomerInvoiceStatus, CustomerInvoicesList, CustomerInvoicesListOptions, CustomerInvoicesRequestOptions, CustomerPaymentMethodSetupIntent, CustomerProduct, CustomerProductsList, CustomerProductsListOptions, CustomerProductsRequestOptions, InlineProduct, Item, ServerItem };
129
- //# sourceMappingURL=index.d.ts.map
1
+ import { a as CustomerInvoiceStatus, c as CustomerInvoicesRequestOptions, d as CustomerProductsList, f as CustomerProductsListOptions, g as ServerItem, h as Item, i as CustomerInvoice, l as CustomerPaymentMethodSetupIntent, m as InlineProduct, n as CustomerBilling, o as CustomerInvoicesList, p as CustomerProductsRequestOptions, r as CustomerDefaultPaymentMethod, s as CustomerInvoicesListOptions, t as Customer, u as CustomerProduct } from "../../../index-ZiEXZJBF.js";
2
+ export { Customer, CustomerBilling, CustomerDefaultPaymentMethod, CustomerInvoice, CustomerInvoiceStatus, CustomerInvoicesList, CustomerInvoicesListOptions, CustomerInvoicesRequestOptions, CustomerPaymentMethodSetupIntent, CustomerProduct, CustomerProductsList, CustomerProductsListOptions, CustomerProductsRequestOptions, InlineProduct, Item, ServerItem };
@@ -1,14 +1,2 @@
1
- import { AsyncStoreProperty } from "../common.js";
2
-
3
- //#region src/lib/hexclave-app/data-vault/index.d.ts
4
- type DataVaultStore = {
5
- id: string;
6
- setValue: (key: string, value: string, options: {
7
- secret: string;
8
- }) => Promise<void>;
9
- } & AsyncStoreProperty<"value", [key: string, options: {
10
- secret: string;
11
- }], string | null, false>;
12
- //#endregion
13
- export { DataVaultStore };
14
- //# sourceMappingURL=index.d.ts.map
1
+ import { t as DataVaultStore } from "../../../index-DLPccxVU.js";
2
+ export { DataVaultStore };
@@ -1,206 +1,2 @@
1
- import { Json } from "@hexclave/shared/dist/utils/json";
2
- import { XOR } from "@hexclave/shared/dist/utils/types";
3
-
4
- //#region src/lib/hexclave-app/email/index.d.ts
5
- type AdminSentEmail = {
6
- id: string;
7
- to: string[];
8
- subject: string;
9
- recipient: string;
10
- sentAt: Date;
11
- error?: unknown;
12
- };
13
- type AdminEmailOutboxRecipient = {
14
- type: "user-primary-email";
15
- userId: string;
16
- } | {
17
- type: "user-custom-emails";
18
- userId: string;
19
- emails: string[];
20
- } | {
21
- type: "custom-emails";
22
- emails: string[];
23
- };
24
- type AdminEmailOutboxStatus = "paused" | "preparing" | "rendering" | "render-error" | "scheduled" | "queued" | "sending" | "server-error" | "skipped" | "bounced" | "delivery-delayed" | "sent" | "opened" | "clicked" | "marked-as-spam";
25
- type AdminEmailOutboxSimpleStatus = "in-progress" | "ok" | "error";
26
- type AdminEmailOutboxCreatedWith = "draft" | "programmatic-call";
27
- type AdminSendAttemptError = {
28
- attemptNumber: number;
29
- timestamp: string;
30
- externalMessage: string;
31
- externalDetails: Record<string, unknown>;
32
- internalMessage: string;
33
- internalDetails: Record<string, unknown>;
34
- };
35
- type AdminEmailOutboxBase = {
36
- id: string;
37
- createdAt: Date;
38
- updatedAt: Date;
39
- tsxSource: string;
40
- themeId: string | null;
41
- to: AdminEmailOutboxRecipient;
42
- scheduledAt: Date;
43
- createdWith: AdminEmailOutboxCreatedWith;
44
- emailDraftId: string | null;
45
- emailProgrammaticCallTemplateId: string | null;
46
- variables: Record<string, Json>;
47
- isPaused: false;
48
- hasRendered: false;
49
- hasDelivered: false;
50
- sendRetries: number;
51
- nextSendRetryAt: Date | null;
52
- sendAttemptErrors: AdminSendAttemptError[] | null;
53
- };
54
- type AdminEmailOutboxRenderedFields = Omit<AdminEmailOutboxBase, "hasRendered"> & {
55
- hasRendered: true;
56
- startedRenderingAt: Date;
57
- renderedAt: Date;
58
- subject: string;
59
- html: string | null;
60
- text: string | null;
61
- isTransactional: boolean;
62
- isHighPriority: boolean;
63
- notificationCategoryId: string | null;
64
- };
65
- type AdminEmailOutboxStartedSendingFields = AdminEmailOutboxRenderedFields & {
66
- startedSendingAt: Date;
67
- };
68
- type AdminEmailOutboxFinishedDeliveringFields = Omit<AdminEmailOutboxStartedSendingFields, "hasDelivered"> & {
69
- hasDelivered: true;
70
- deliveredAt: Date;
71
- };
72
- type AdminEmailOutboxPaused = Omit<AdminEmailOutboxBase, "isPaused"> & {
73
- status: "paused";
74
- simpleStatus: "in-progress";
75
- isPaused: true;
76
- };
77
- type AdminEmailOutboxPreparing = AdminEmailOutboxBase & {
78
- status: "preparing";
79
- simpleStatus: "in-progress";
80
- };
81
- type AdminEmailOutboxRendering = AdminEmailOutboxBase & {
82
- status: "rendering";
83
- simpleStatus: "in-progress";
84
- startedRenderingAt: Date;
85
- };
86
- type AdminEmailOutboxRenderError = AdminEmailOutboxBase & {
87
- status: "render-error";
88
- simpleStatus: "error";
89
- startedRenderingAt: Date;
90
- renderedAt: Date;
91
- renderError: string;
92
- };
93
- type AdminEmailOutboxScheduled = AdminEmailOutboxRenderedFields & {
94
- status: "scheduled";
95
- simpleStatus: "in-progress";
96
- };
97
- type AdminEmailOutboxQueued = AdminEmailOutboxRenderedFields & {
98
- status: "queued";
99
- simpleStatus: "in-progress";
100
- };
101
- type AdminEmailOutboxSending = AdminEmailOutboxStartedSendingFields & {
102
- status: "sending";
103
- simpleStatus: "in-progress";
104
- };
105
- type AdminEmailOutboxServerError = AdminEmailOutboxStartedSendingFields & {
106
- status: "server-error";
107
- simpleStatus: "error";
108
- errorAt: Date;
109
- serverError: string;
110
- };
111
- type AdminEmailOutboxSkipped = Omit<AdminEmailOutboxBase, "hasRendered"> & {
112
- status: "skipped";
113
- simpleStatus: "ok";
114
- hasRendered: boolean;
115
- skippedAt: Date;
116
- skippedReason: string;
117
- skippedDetails: Record<string, unknown>;
118
- startedRenderingAt?: Date;
119
- renderedAt?: Date;
120
- subject?: string;
121
- html?: string | null;
122
- text?: string | null;
123
- isTransactional?: boolean;
124
- isHighPriority?: boolean;
125
- notificationCategoryId?: string | null;
126
- startedSendingAt?: Date;
127
- };
128
- type AdminEmailOutboxBounced = AdminEmailOutboxStartedSendingFields & {
129
- status: "bounced";
130
- simpleStatus: "error";
131
- bouncedAt: Date;
132
- };
133
- type AdminEmailOutboxDeliveryDelayed = AdminEmailOutboxStartedSendingFields & {
134
- status: "delivery-delayed";
135
- simpleStatus: "ok";
136
- deliveryDelayedAt: Date;
137
- };
138
- type AdminEmailOutboxSent = AdminEmailOutboxFinishedDeliveringFields & {
139
- status: "sent";
140
- simpleStatus: "ok";
141
- canHaveDeliveryInfo: boolean;
142
- };
143
- type AdminEmailOutboxOpened = AdminEmailOutboxFinishedDeliveringFields & {
144
- status: "opened";
145
- simpleStatus: "ok";
146
- openedAt: Date;
147
- canHaveDeliveryInfo: true;
148
- };
149
- type AdminEmailOutboxClicked = AdminEmailOutboxFinishedDeliveringFields & {
150
- status: "clicked";
151
- simpleStatus: "ok";
152
- clickedAt: Date;
153
- canHaveDeliveryInfo: true;
154
- };
155
- type AdminEmailOutboxMarkedAsSpam = AdminEmailOutboxFinishedDeliveringFields & {
156
- status: "marked-as-spam";
157
- simpleStatus: "ok";
158
- markedAsSpamAt: Date;
159
- canHaveDeliveryInfo: true;
160
- };
161
- type AdminEmailOutbox = AdminEmailOutboxPaused | AdminEmailOutboxPreparing | AdminEmailOutboxRendering | AdminEmailOutboxRenderError | AdminEmailOutboxScheduled | AdminEmailOutboxQueued | AdminEmailOutboxSending | AdminEmailOutboxServerError | AdminEmailOutboxSkipped | AdminEmailOutboxBounced | AdminEmailOutboxDeliveryDelayed | AdminEmailOutboxSent | AdminEmailOutboxOpened | AdminEmailOutboxClicked | AdminEmailOutboxMarkedAsSpam;
162
- type SendEmailOptionsBase = {
163
- themeId?: string | null | false;
164
- subject?: string;
165
- notificationCategoryName?: string;
166
- scheduledAt?: Date;
167
- variables?: Record<string, unknown>;
168
- };
169
- type SendEmailOptions = SendEmailOptionsBase & XOR<[{
170
- userIds: string[];
171
- }, {
172
- allUsers: true;
173
- }, {
174
- emails: string[];
175
- }]> & XOR<[{
176
- html: string;
177
- }, {
178
- templateId: string;
179
- }, {
180
- draftId: string;
181
- }]>;
182
- type EmailDeliveryWindowStats = {
183
- sent: number;
184
- bounced: number;
185
- marked_as_spam: number;
186
- };
187
- type EmailDeliveryStats = {
188
- hour: EmailDeliveryWindowStats;
189
- day: EmailDeliveryWindowStats;
190
- week: EmailDeliveryWindowStats;
191
- month: EmailDeliveryWindowStats;
192
- };
193
- type EmailDeliveryCapacity = {
194
- rate_per_second: number;
195
- boost_multiplier: number;
196
- penalty_factor: number;
197
- is_boost_active: boolean;
198
- boost_expires_at: string | null;
199
- };
200
- type EmailDeliveryInfo = {
201
- stats: EmailDeliveryStats;
202
- capacity: EmailDeliveryCapacity;
203
- };
204
- //#endregion
205
- export { AdminEmailOutbox, AdminEmailOutboxBounced, AdminEmailOutboxClicked, AdminEmailOutboxCreatedWith, AdminEmailOutboxDeliveryDelayed, AdminEmailOutboxMarkedAsSpam, AdminEmailOutboxOpened, AdminEmailOutboxPaused, AdminEmailOutboxPreparing, AdminEmailOutboxQueued, AdminEmailOutboxRecipient, AdminEmailOutboxRenderError, AdminEmailOutboxRendering, AdminEmailOutboxScheduled, AdminEmailOutboxSending, AdminEmailOutboxSent, AdminEmailOutboxServerError, AdminEmailOutboxSimpleStatus, AdminEmailOutboxSkipped, AdminEmailOutboxStatus, AdminSendAttemptError, AdminSentEmail, EmailDeliveryCapacity, EmailDeliveryInfo, EmailDeliveryStats, EmailDeliveryWindowStats, SendEmailOptions };
206
- //# sourceMappingURL=index.d.ts.map
1
+ import { C as EmailDeliveryCapacity, D as SendEmailOptions, E as EmailDeliveryWindowStats, S as AdminSentEmail, T as EmailDeliveryStats, _ as AdminEmailOutboxServerError, a as AdminEmailOutboxDeliveryDelayed, b as AdminEmailOutboxStatus, c as AdminEmailOutboxPaused, d as AdminEmailOutboxRecipient, f as AdminEmailOutboxRenderError, g as AdminEmailOutboxSent, h as AdminEmailOutboxSending, i as AdminEmailOutboxCreatedWith, l as AdminEmailOutboxPreparing, m as AdminEmailOutboxScheduled, n as AdminEmailOutboxBounced, o as AdminEmailOutboxMarkedAsSpam, p as AdminEmailOutboxRendering, r as AdminEmailOutboxClicked, s as AdminEmailOutboxOpened, t as AdminEmailOutbox, u as AdminEmailOutboxQueued, v as AdminEmailOutboxSimpleStatus, w as EmailDeliveryInfo, x as AdminSendAttemptError, y as AdminEmailOutboxSkipped } from "../../../index-CBDR4cNg.js";
2
+ export { AdminEmailOutbox, AdminEmailOutboxBounced, AdminEmailOutboxClicked, AdminEmailOutboxCreatedWith, AdminEmailOutboxDeliveryDelayed, AdminEmailOutboxMarkedAsSpam, AdminEmailOutboxOpened, AdminEmailOutboxPaused, AdminEmailOutboxPreparing, AdminEmailOutboxQueued, AdminEmailOutboxRecipient, AdminEmailOutboxRenderError, AdminEmailOutboxRendering, AdminEmailOutboxScheduled, AdminEmailOutboxSending, AdminEmailOutboxSent, AdminEmailOutboxServerError, AdminEmailOutboxSimpleStatus, AdminEmailOutboxSkipped, AdminEmailOutboxStatus, AdminSendAttemptError, AdminSentEmail, EmailDeliveryCapacity, EmailDeliveryInfo, EmailDeliveryStats, EmailDeliveryWindowStats, SendEmailOptions };
@@ -1,17 +1,2 @@
1
- import { EmailTemplateCrud, EmailTemplateType } from "@hexclave/shared/dist/interface/crud/email-templates";
2
-
3
- //#region src/lib/hexclave-app/email-templates/index.d.ts
4
- type AdminEmailTemplate = {
5
- type: EmailTemplateType;
6
- subject: string;
7
- content: any;
8
- isDefault: boolean;
9
- };
10
- type AdminEmailTemplateUpdateOptions = {
11
- subject?: string;
12
- content?: any;
13
- };
14
- declare function adminEmailTemplateUpdateOptionsToCrud(options: AdminEmailTemplateUpdateOptions): EmailTemplateCrud['Admin']['Update'];
15
- //#endregion
16
- export { AdminEmailTemplate, AdminEmailTemplateUpdateOptions, adminEmailTemplateUpdateOptionsToCrud };
17
- //# sourceMappingURL=index.d.ts.map
1
+ import { n as AdminEmailTemplateUpdateOptions, r as adminEmailTemplateUpdateOptionsToCrud, t as AdminEmailTemplate } from "../../../index-Bo5DpPFH.js";
2
+ export { AdminEmailTemplate, AdminEmailTemplateUpdateOptions, adminEmailTemplateUpdateOptionsToCrud };
@@ -1,5 +1,4 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
2
  //#region src/lib/hexclave-app/email-templates/index.ts
4
3
  function adminEmailTemplateUpdateOptionsToCrud(options) {
5
4
  return {
@@ -7,7 +6,7 @@ function adminEmailTemplateUpdateOptionsToCrud(options) {
7
6
  content: options.content
8
7
  };
9
8
  }
10
-
11
9
  //#endregion
12
10
  exports.adminEmailTemplateUpdateOptionsToCrud = adminEmailTemplateUpdateOptionsToCrud;
11
+
13
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../src/lib/hexclave-app/email-templates/index.ts"],"sourcesContent":["\n//===========================================\n// THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY UNLESS YOU ALSO EDIT THE CORRESPONDING FILE IN packages/template\n//===========================================\nimport { EmailTemplateCrud, EmailTemplateType } from \"@hexclave/shared/dist/interface/crud/email-templates\";\n\n\nexport type AdminEmailTemplate = {\n type: EmailTemplateType,\n subject: string,\n content: any,\n isDefault: boolean,\n}\n\nexport type AdminEmailTemplateUpdateOptions = {\n subject?: string,\n content?: any,\n};\nexport function adminEmailTemplateUpdateOptionsToCrud(options: AdminEmailTemplateUpdateOptions): EmailTemplateCrud['Admin']['Update'] {\n return {\n subject: options.subject,\n content: options.content,\n };\n}\n"],"mappings":";;;AAkBA,SAAgB,sCAAsC,SAAgF;AACpI,QAAO;EACL,SAAS,QAAQ;EACjB,SAAS,QAAQ;EAClB"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../src/lib/hexclave-app/email-templates/index.ts"],"sourcesContent":["\n//===========================================\n// THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY UNLESS YOU ALSO EDIT THE CORRESPONDING FILE IN packages/template\n//===========================================\nimport { EmailTemplateCrud, EmailTemplateType } from \"@hexclave/shared/dist/interface/crud/email-templates\";\n\n\nexport type AdminEmailTemplate = {\n type: EmailTemplateType,\n subject: string,\n content: any,\n isDefault: boolean,\n}\n\nexport type AdminEmailTemplateUpdateOptions = {\n subject?: string,\n content?: any,\n};\nexport function adminEmailTemplateUpdateOptionsToCrud(options: AdminEmailTemplateUpdateOptions): EmailTemplateCrud['Admin']['Update'] {\n return {\n subject: options.subject,\n content: options.content,\n };\n}\n"],"mappings":";;AAkBA,SAAgB,sCAAsC,SAAgF;CACpI,OAAO;EACL,SAAS,QAAQ;EACjB,SAAS,QAAQ;CACnB;AACF"}
@@ -1,16 +1,11 @@
1
- import { GetCurrentUserOptions, HandlerUrlOptions, HandlerUrls, OAuthScopesOnSignIn, ResolvedHandlerUrls, hexclaveAppInternalsSymbol } from "./common.js";
2
- import { AdminEmailOutbox, AdminEmailOutboxRecipient, AdminEmailOutboxSimpleStatus, AdminEmailOutboxStatus, AdminSendAttemptError, AdminSentEmail } from "./email/index.js";
3
- import { InternalApiKey, InternalApiKeyBase, InternalApiKeyBaseCrudRead, InternalApiKeyCreateOptions, InternalApiKeyFirstView } from "./internal-api-keys/index.js";
4
- import { AdminProjectPermission, AdminProjectPermissionDefinition, AdminProjectPermissionDefinitionCreateOptions, AdminProjectPermissionDefinitionUpdateOptions, AdminTeamPermission, AdminTeamPermissionDefinition, AdminTeamPermissionDefinitionCreateOptions, AdminTeamPermissionDefinitionUpdateOptions } from "./permissions/index.js";
5
- import { PlanUsage, PlanUsageKind, PlanUsageNextPlanId, PlanUsagePlanId, PlanUsageRow } from "./plan-usage/index.js";
6
- import { Connection, OAuthConnection } from "./connected-accounts/index.js";
7
- import { ContactChannel, ServerContactChannel } from "./contact-channels/index.js";
8
- import { Auth, CurrentInternalServerUser, CurrentInternalUser, CurrentServerUser, CurrentUser, OAuthProvider, ServerOAuthProvider, ServerUser, User } from "./users/index.js";
9
- import { EditableTeamMemberProfile, ReceivedTeamInvitation, SentTeamInvitation, ServerListUsersOptions, ServerTeam, ServerTeamCreateOptions, ServerTeamMemberProfile, ServerTeamUpdateOptions, ServerTeamUser, Team, TeamCreateOptions, TeamInvitation, TeamMemberProfile, TeamUpdateOptions, TeamUser } from "./teams/index.js";
10
- import { HexclaveServerApp, HexclaveServerAppConstructor, HexclaveServerAppConstructorOptions, StackServerApp, StackServerAppConstructor, StackServerAppConstructorOptions } from "./apps/interfaces/server-app.js";
11
- import { EmailOutboxListOptions, EmailOutboxListResult, EmailOutboxUpdateOptions, HexclaveAdminApp, HexclaveAdminAppConstructor, HexclaveAdminAppConstructorOptions, StackAdminApp, StackAdminAppConstructor, StackAdminAppConstructorOptions } from "./apps/interfaces/admin-app.js";
12
- import { AdminDomainConfig, AdminEmailConfig, AdminOAuthProviderConfig, AdminProjectConfig, AdminProjectConfigUpdateOptions, OAuthProviderConfig, ProjectConfig } from "./project-configs/index.js";
13
- import { AdminOwnedProject, AdminProject, AdminProjectCreateOptions, AdminProjectUpdateOptions, Project, PushedConfigSource } from "./projects/index.js";
14
- import { HexclaveClientApp, HexclaveClientAppConstructor, HexclaveClientAppConstructorOptions, HexclaveClientAppJson, StackClientApp, StackClientAppConstructor, StackClientAppConstructorOptions, StackClientAppJson } from "./apps/interfaces/client-app.js";
15
- import { getPagePrompt } from "./url-targets.js";
1
+ import { _ as ResolvedHandlerUrls, f as HandlerUrls, p as OAuthScopesOnSignIn, s as GetCurrentUserOptions, u as HandlerUrlOptions, y as hexclaveAppInternalsSymbol } from "../../common-BDyEKSM6.js";
2
+ import { S as AdminSentEmail, b as AdminEmailOutboxStatus, d as AdminEmailOutboxRecipient, t as AdminEmailOutbox, v as AdminEmailOutboxSimpleStatus, x as AdminSendAttemptError } from "../../index-CBDR4cNg.js";
3
+ import { a as InternalApiKeyFirstView, i as InternalApiKeyCreateOptions, n as InternalApiKeyBase, r as InternalApiKeyBaseCrudRead, t as InternalApiKey } from "../../index-TUtJOdMm.js";
4
+ import { a as AdminTeamPermission, c as AdminTeamPermissionDefinitionUpdateOptions, i as AdminProjectPermissionDefinitionUpdateOptions, n as AdminProjectPermissionDefinition, o as AdminTeamPermissionDefinition, r as AdminProjectPermissionDefinitionCreateOptions, s as AdminTeamPermissionDefinitionCreateOptions, t as AdminProjectPermission } from "../../index-DSzMf-rS.js";
5
+ import { a as PlanUsageRow, i as PlanUsagePlanId, n as PlanUsageKind, r as PlanUsageNextPlanId, t as PlanUsage } from "../../index-D7Vdg30O.js";
6
+ import { r as OAuthConnection, t as Connection } from "../../index-ClBTM-St.js";
7
+ import { i as ServerContactChannel, t as ContactChannel } from "../../index-DN04TjLM.js";
8
+ import { A as HexclaveServerApp, B as ServerListUsersOptions, C as HexclaveAdminAppConstructorOptions, D as StackAdminApp, F as StackServerAppConstructorOptions, G as ServerTeamUser, H as ServerTeamCreateOptions, I as EditableTeamMemberProfile, J as TeamInvitation, K as Team, L as ReceivedTeamInvitation, M as HexclaveServerAppConstructorOptions, N as StackServerApp, O as StackAdminAppConstructor, P as StackServerAppConstructor, Q as TeamUser, R as SentTeamInvitation, S as HexclaveAdminAppConstructor, St as User, U as ServerTeamMemberProfile, V as ServerTeam, W as ServerTeamUpdateOptions, Y as TeamMemberProfile, Z as TeamUpdateOptions, a as StackClientApp, b as EmailOutboxUpdateOptions, c as StackClientAppJson, ct as CurrentServerUser, d as AdminProjectCreateOptions, dt as OAuthProvider, f as AdminProjectUpdateOptions, gt as ServerUser, h as PushedConfigSource, ht as ServerOAuthProvider, i as HexclaveClientAppJson, it as Auth, j as HexclaveServerAppConstructor, k as StackAdminAppConstructorOptions, l as AdminOwnedProject, lt as CurrentUser, n as HexclaveClientAppConstructor, o as StackClientAppConstructor, ot as CurrentInternalServerUser, p as Project, q as TeamCreateOptions, r as HexclaveClientAppConstructorOptions, s as StackClientAppConstructorOptions, st as CurrentInternalUser, t as HexclaveClientApp, u as AdminProject, v as EmailOutboxListOptions, x as HexclaveAdminApp, y as EmailOutboxListResult } from "../../client-app-D8-Lm4RT.js";
9
+ import { a as AdminProjectConfigUpdateOptions, i as AdminProjectConfig, n as AdminEmailConfig, o as OAuthProviderConfig, r as AdminOAuthProviderConfig, s as ProjectConfig, t as AdminDomainConfig } from "../../index-Dq4xsW7_.js";
10
+ import { r as getPagePrompt } from "../../url-targets-BJgkwPGW.js";
16
11
  export { type AdminDomainConfig, type AdminEmailConfig, type AdminEmailOutbox, type AdminEmailOutboxRecipient, type AdminEmailOutboxSimpleStatus, type AdminEmailOutboxStatus, type AdminOAuthProviderConfig, type AdminOwnedProject, type AdminProject, type AdminProjectConfig, type AdminProjectConfigUpdateOptions, type AdminProjectCreateOptions, type AdminProjectPermission, type AdminProjectPermissionDefinition, type AdminProjectPermissionDefinitionCreateOptions, type AdminProjectPermissionDefinitionUpdateOptions, type AdminProjectUpdateOptions, type AdminSendAttemptError, type AdminSentEmail, type AdminTeamPermission, type AdminTeamPermissionDefinition, type AdminTeamPermissionDefinitionCreateOptions, type AdminTeamPermissionDefinitionUpdateOptions, type Auth, type Connection, type ContactChannel, type CurrentInternalServerUser, type CurrentInternalUser, type CurrentServerUser, type CurrentUser, type EditableTeamMemberProfile, type EmailOutboxListOptions, type EmailOutboxListResult, type EmailOutboxUpdateOptions, type GetCurrentUserOptions, type GetCurrentUserOptions as GetUserOptions, type HandlerUrlOptions, type HandlerUrls, HexclaveAdminApp, type HexclaveAdminAppConstructor, type HexclaveAdminAppConstructorOptions, HexclaveClientApp, type HexclaveClientAppConstructor, type HexclaveClientAppConstructorOptions, type HexclaveClientAppJson, HexclaveServerApp, type HexclaveServerAppConstructor, type HexclaveServerAppConstructorOptions, type InternalApiKey, type InternalApiKeyBase, type InternalApiKeyBaseCrudRead, type InternalApiKeyCreateOptions, type InternalApiKeyFirstView, type OAuthConnection, type OAuthProvider, type OAuthProviderConfig, type OAuthScopesOnSignIn, type PlanUsage, type PlanUsageKind, type PlanUsageNextPlanId, type PlanUsagePlanId, type PlanUsageRow, type Project, type ProjectConfig, type PushedConfigSource, type ReceivedTeamInvitation, type ResolvedHandlerUrls, type SentTeamInvitation, type ServerContactChannel, type ServerListUsersOptions, type ServerOAuthProvider, type ServerTeam, type ServerTeamCreateOptions, type ServerTeamMemberProfile, type ServerTeamUpdateOptions, type ServerTeamUser, type ServerUser, StackAdminApp, type StackAdminAppConstructor, type StackAdminAppConstructorOptions, StackClientApp, type StackClientAppConstructor, type StackClientAppConstructorOptions, type StackClientAppJson, StackServerApp, type StackServerAppConstructor, type StackServerAppConstructorOptions, type Team, type TeamCreateOptions, type TeamInvitation, type TeamMemberProfile, type TeamUpdateOptions, type TeamUser, type User, getPagePrompt, hexclaveAppInternalsSymbol };
@@ -1,54 +1,52 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_chunk = require('../../chunk-BE-pF4vm.js');
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
2
  let __apps_index_js = require("./apps/index.js");
4
3
  let __common_js = require("./common.js");
5
4
  let __url_targets_js = require("./url-targets.js");
6
-
7
- Object.defineProperty(exports, 'HexclaveAdminApp', {
8
- enumerable: true,
9
- get: function () {
10
- return __apps_index_js.HexclaveAdminApp;
11
- }
12
- });
13
- Object.defineProperty(exports, 'HexclaveClientApp', {
14
- enumerable: true,
15
- get: function () {
16
- return __apps_index_js.HexclaveClientApp;
17
- }
18
- });
19
- Object.defineProperty(exports, 'HexclaveServerApp', {
20
- enumerable: true,
21
- get: function () {
22
- return __apps_index_js.HexclaveServerApp;
23
- }
24
- });
25
- Object.defineProperty(exports, 'StackAdminApp', {
26
- enumerable: true,
27
- get: function () {
28
- return __apps_index_js.StackAdminApp;
29
- }
30
- });
31
- Object.defineProperty(exports, 'StackClientApp', {
32
- enumerable: true,
33
- get: function () {
34
- return __apps_index_js.StackClientApp;
35
- }
36
- });
37
- Object.defineProperty(exports, 'StackServerApp', {
38
- enumerable: true,
39
- get: function () {
40
- return __apps_index_js.StackServerApp;
41
- }
42
- });
43
- Object.defineProperty(exports, 'getPagePrompt', {
44
- enumerable: true,
45
- get: function () {
46
- return __url_targets_js.getPagePrompt;
47
- }
48
- });
49
- Object.defineProperty(exports, 'hexclaveAppInternalsSymbol', {
50
- enumerable: true,
51
- get: function () {
52
- return __common_js.hexclaveAppInternalsSymbol;
53
- }
54
- });
5
+ Object.defineProperty(exports, "HexclaveAdminApp", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return __apps_index_js.HexclaveAdminApp;
9
+ }
10
+ });
11
+ Object.defineProperty(exports, "HexclaveClientApp", {
12
+ enumerable: true,
13
+ get: function() {
14
+ return __apps_index_js.HexclaveClientApp;
15
+ }
16
+ });
17
+ Object.defineProperty(exports, "HexclaveServerApp", {
18
+ enumerable: true,
19
+ get: function() {
20
+ return __apps_index_js.HexclaveServerApp;
21
+ }
22
+ });
23
+ Object.defineProperty(exports, "StackAdminApp", {
24
+ enumerable: true,
25
+ get: function() {
26
+ return __apps_index_js.StackAdminApp;
27
+ }
28
+ });
29
+ Object.defineProperty(exports, "StackClientApp", {
30
+ enumerable: true,
31
+ get: function() {
32
+ return __apps_index_js.StackClientApp;
33
+ }
34
+ });
35
+ Object.defineProperty(exports, "StackServerApp", {
36
+ enumerable: true,
37
+ get: function() {
38
+ return __apps_index_js.StackServerApp;
39
+ }
40
+ });
41
+ Object.defineProperty(exports, "getPagePrompt", {
42
+ enumerable: true,
43
+ get: function() {
44
+ return __url_targets_js.getPagePrompt;
45
+ }
46
+ });
47
+ Object.defineProperty(exports, "hexclaveAppInternalsSymbol", {
48
+ enumerable: true,
49
+ get: function() {
50
+ return __common_js.hexclaveAppInternalsSymbol;
51
+ }
52
+ });
@@ -1,42 +1,2 @@
1
- import { InternalApiKeyCreateCrudRequest } from "@hexclave/shared/dist/interface/admin-interface";
2
- import { InternalApiKeysCrud } from "@hexclave/shared/dist/interface/crud/internal-api-keys";
3
-
4
- //#region src/lib/hexclave-app/internal-api-keys/index.d.ts
5
- type InternalApiKeyBase = {
6
- id: string;
7
- description: string;
8
- expiresAt: Date;
9
- manuallyRevokedAt: Date | null;
10
- createdAt: Date;
11
- isValid(): boolean;
12
- whyInvalid(): "expired" | "manually-revoked" | null;
13
- revoke(): Promise<void>;
14
- };
15
- type InternalApiKeyBaseCrudRead = Pick<InternalApiKeysCrud["Admin"]["Read"], "id" | "created_at_millis" | "description" | "expires_at_millis" | "manually_revoked_at_millis">;
16
- type InternalApiKeyFirstView = {
17
- publishableClientKey?: string;
18
- secretServerKey?: string;
19
- superSecretAdminKey?: string;
20
- } & InternalApiKeyBase;
21
- type InternalApiKey = {
22
- publishableClientKey: null | {
23
- lastFour: string;
24
- };
25
- secretServerKey: null | {
26
- lastFour: string;
27
- };
28
- superSecretAdminKey: null | {
29
- lastFour: string;
30
- };
31
- } & InternalApiKeyBase;
32
- type InternalApiKeyCreateOptions = {
33
- description: string;
34
- expiresAt: Date;
35
- hasPublishableClientKey: boolean;
36
- hasSecretServerKey: boolean;
37
- hasSuperSecretAdminKey: boolean;
38
- };
39
- declare function internalApiKeyCreateOptionsToCrud(options: InternalApiKeyCreateOptions): InternalApiKeyCreateCrudRequest;
40
- //#endregion
41
- export { InternalApiKey, InternalApiKeyBase, InternalApiKeyBaseCrudRead, InternalApiKeyCreateOptions, InternalApiKeyFirstView, internalApiKeyCreateOptionsToCrud };
42
- //# sourceMappingURL=index.d.ts.map
1
+ import { a as InternalApiKeyFirstView, i as InternalApiKeyCreateOptions, n as InternalApiKeyBase, o as internalApiKeyCreateOptionsToCrud, r as InternalApiKeyBaseCrudRead, t as InternalApiKey } from "../../../index-TUtJOdMm.js";
2
+ export { InternalApiKey, InternalApiKeyBase, InternalApiKeyBaseCrudRead, InternalApiKeyCreateOptions, InternalApiKeyFirstView, internalApiKeyCreateOptionsToCrud };
@@ -1,5 +1,4 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
2
  //#region src/lib/hexclave-app/internal-api-keys/index.ts
4
3
  function internalApiKeyCreateOptionsToCrud(options) {
5
4
  return {
@@ -10,7 +9,7 @@ function internalApiKeyCreateOptionsToCrud(options) {
10
9
  has_super_secret_admin_key: options.hasSuperSecretAdminKey
11
10
  };
12
11
  }
13
-
14
12
  //#endregion
15
13
  exports.internalApiKeyCreateOptionsToCrud = internalApiKeyCreateOptionsToCrud;
14
+
16
15
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../src/lib/hexclave-app/internal-api-keys/index.ts"],"sourcesContent":["\n//===========================================\n// THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY UNLESS YOU ALSO EDIT THE CORRESPONDING FILE IN packages/template\n//===========================================\n\nimport { InternalApiKeyCreateCrudRequest } from \"@hexclave/shared/dist/interface/admin-interface\";\nimport { InternalApiKeysCrud } from \"@hexclave/shared/dist/interface/crud/internal-api-keys\";\n\nexport type InternalApiKeyBase = {\n id: string,\n description: string,\n expiresAt: Date,\n manuallyRevokedAt: Date | null,\n createdAt: Date,\n isValid(): boolean,\n whyInvalid(): \"expired\" | \"manually-revoked\" | null,\n revoke(): Promise<void>,\n};\n\nexport type InternalApiKeyBaseCrudRead = Pick<InternalApiKeysCrud[\"Admin\"][\"Read\"], \"id\" | \"created_at_millis\" | \"description\" | \"expires_at_millis\" | \"manually_revoked_at_millis\">;\n\nexport type InternalApiKeyFirstView = {\n publishableClientKey?: string,\n secretServerKey?: string,\n superSecretAdminKey?: string,\n} & InternalApiKeyBase;\n\nexport type InternalApiKey = {\n publishableClientKey: null | {\n lastFour: string,\n },\n secretServerKey: null | {\n lastFour: string,\n },\n superSecretAdminKey: null | {\n lastFour: string,\n },\n} & InternalApiKeyBase;\n\nexport type InternalApiKeyCreateOptions = {\n description: string,\n expiresAt: Date,\n hasPublishableClientKey: boolean,\n hasSecretServerKey: boolean,\n hasSuperSecretAdminKey: boolean,\n};\nexport function internalApiKeyCreateOptionsToCrud(options: InternalApiKeyCreateOptions): InternalApiKeyCreateCrudRequest {\n return {\n description: options.description,\n expires_at_millis: options.expiresAt.getTime(),\n has_publishable_client_key: options.hasPublishableClientKey,\n has_secret_server_key: options.hasSecretServerKey,\n has_super_secret_admin_key: options.hasSuperSecretAdminKey,\n };\n}\n"],"mappings":";;;AA8CA,SAAgB,kCAAkC,SAAuE;AACvH,QAAO;EACL,aAAa,QAAQ;EACrB,mBAAmB,QAAQ,UAAU,SAAS;EAC9C,4BAA4B,QAAQ;EACpC,uBAAuB,QAAQ;EAC/B,4BAA4B,QAAQ;EACrC"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../src/lib/hexclave-app/internal-api-keys/index.ts"],"sourcesContent":["\n//===========================================\n// THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY UNLESS YOU ALSO EDIT THE CORRESPONDING FILE IN packages/template\n//===========================================\n\nimport { InternalApiKeyCreateCrudRequest } from \"@hexclave/shared/dist/interface/admin-interface\";\nimport { InternalApiKeysCrud } from \"@hexclave/shared/dist/interface/crud/internal-api-keys\";\n\nexport type InternalApiKeyBase = {\n id: string,\n description: string,\n expiresAt: Date,\n manuallyRevokedAt: Date | null,\n createdAt: Date,\n isValid(): boolean,\n whyInvalid(): \"expired\" | \"manually-revoked\" | null,\n revoke(): Promise<void>,\n};\n\nexport type InternalApiKeyBaseCrudRead = Pick<InternalApiKeysCrud[\"Admin\"][\"Read\"], \"id\" | \"created_at_millis\" | \"description\" | \"expires_at_millis\" | \"manually_revoked_at_millis\">;\n\nexport type InternalApiKeyFirstView = {\n publishableClientKey?: string,\n secretServerKey?: string,\n superSecretAdminKey?: string,\n} & InternalApiKeyBase;\n\nexport type InternalApiKey = {\n publishableClientKey: null | {\n lastFour: string,\n },\n secretServerKey: null | {\n lastFour: string,\n },\n superSecretAdminKey: null | {\n lastFour: string,\n },\n} & InternalApiKeyBase;\n\nexport type InternalApiKeyCreateOptions = {\n description: string,\n expiresAt: Date,\n hasPublishableClientKey: boolean,\n hasSecretServerKey: boolean,\n hasSuperSecretAdminKey: boolean,\n};\nexport function internalApiKeyCreateOptionsToCrud(options: InternalApiKeyCreateOptions): InternalApiKeyCreateCrudRequest {\n return {\n description: options.description,\n expires_at_millis: options.expiresAt.getTime(),\n has_publishable_client_key: options.hasPublishableClientKey,\n has_secret_server_key: options.hasSecretServerKey,\n has_super_secret_admin_key: options.hasSuperSecretAdminKey,\n };\n}\n"],"mappings":";;AA8CA,SAAgB,kCAAkC,SAAuE;CACvH,OAAO;EACL,aAAa,QAAQ;EACrB,mBAAmB,QAAQ,UAAU,QAAQ;EAC7C,4BAA4B,QAAQ;EACpC,uBAAuB,QAAQ;EAC/B,4BAA4B,QAAQ;CACtC;AACF"}