@carlonicora/nextjs-jsonapi 5.4.0 → 5.6.0

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 (237) hide show
  1. package/dist/{BlockNoteEditor-4YCAIEPT.js → BlockNoteEditor-AE3ZTEEH.js} +20 -20
  2. package/dist/{BlockNoteEditor-4YCAIEPT.js.map → BlockNoteEditor-AE3ZTEEH.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-YQL2SGFR.mjs → BlockNoteEditor-NEYG5L6W.mjs} +5 -5
  4. package/dist/{BlockNoteViewer-AEJKJ27Q.mjs → BlockNoteViewer-3OUT5UFY.mjs} +3 -3
  5. package/dist/{BlockNoteViewer-YL3J7J2Y.js → BlockNoteViewer-4CFKQM7U.js} +4 -4
  6. package/dist/{BlockNoteViewer-YL3J7J2Y.js.map → BlockNoteViewer-4CFKQM7U.js.map} +1 -1
  7. package/dist/billing/index.d.mts +186 -25
  8. package/dist/billing/index.d.ts +186 -25
  9. package/dist/billing/index.js +1149 -588
  10. package/dist/billing/index.js.map +1 -1
  11. package/dist/billing/index.mjs +786 -225
  12. package/dist/billing/index.mjs.map +1 -1
  13. package/dist/{chunk-5PPG6PL7.js → chunk-3I5AAJXV.js} +3 -3
  14. package/dist/{chunk-5PPG6PL7.js.map → chunk-3I5AAJXV.js.map} +1 -1
  15. package/dist/{chunk-YW4ZCEWB.js → chunk-53BAULDP.js} +4 -4
  16. package/dist/{chunk-YW4ZCEWB.js.map → chunk-53BAULDP.js.map} +1 -1
  17. package/dist/{chunk-XCHSX3VC.mjs → chunk-BTPUYUQ3.mjs} +2 -2
  18. package/dist/{chunk-WC63PJSC.mjs → chunk-EYA2F6AN.mjs} +756 -24
  19. package/dist/chunk-EYA2F6AN.mjs.map +1 -0
  20. package/dist/{chunk-NFBOSPNJ.js → chunk-HKZAESS6.js} +954 -222
  21. package/dist/chunk-HKZAESS6.js.map +1 -0
  22. package/dist/{chunk-6DC2WVVB.mjs → chunk-KQHBONL4.mjs} +2 -2
  23. package/dist/{chunk-3NLAXVIN.js → chunk-LQ4DK4JF.js} +1988 -1089
  24. package/dist/chunk-LQ4DK4JF.js.map +1 -0
  25. package/dist/{chunk-YNCQSWQW.js → chunk-RL3PL3KV.js} +8 -8
  26. package/dist/{chunk-YNCQSWQW.js.map → chunk-RL3PL3KV.js.map} +1 -1
  27. package/dist/{chunk-EUKTBOI2.mjs → chunk-SFYPXCK4.mjs} +3382 -2483
  28. package/dist/chunk-SFYPXCK4.mjs.map +1 -0
  29. package/dist/{chunk-QMYQRPQC.mjs → chunk-Y7RR57EW.mjs} +2 -2
  30. package/dist/client/index.js +5 -5
  31. package/dist/client/index.js.map +1 -1
  32. package/dist/client/index.mjs +4 -4
  33. package/dist/components/editors/server.d.mts +15 -0
  34. package/dist/components/editors/server.d.ts +15 -0
  35. package/dist/components/editors/server.js +38 -0
  36. package/dist/components/editors/server.js.map +1 -0
  37. package/dist/components/editors/server.mjs +38 -0
  38. package/dist/components/editors/server.mjs.map +1 -0
  39. package/dist/components/index.d.mts +33 -10
  40. package/dist/components/index.d.ts +33 -10
  41. package/dist/components/index.js +7 -5
  42. package/dist/components/index.js.map +1 -1
  43. package/dist/components/index.mjs +8 -6
  44. package/dist/contexts/index.d.mts +9 -1
  45. package/dist/contexts/index.d.ts +9 -1
  46. package/dist/contexts/index.js +5 -5
  47. package/dist/contexts/index.mjs +4 -4
  48. package/dist/core/index.d.mts +242 -3
  49. package/dist/core/index.d.ts +242 -3
  50. package/dist/core/index.js +36 -4
  51. package/dist/core/index.js.map +1 -1
  52. package/dist/core/index.mjs +35 -3
  53. package/dist/email-automations/index.d.mts +3 -0
  54. package/dist/email-automations/index.d.ts +3 -0
  55. package/dist/email-automations/index.js +99 -95
  56. package/dist/email-automations/index.js.map +1 -1
  57. package/dist/email-automations/index.mjs +30 -26
  58. package/dist/email-automations/index.mjs.map +1 -1
  59. package/dist/features/analytics/index.d.mts +11 -4
  60. package/dist/features/analytics/index.d.ts +11 -4
  61. package/dist/features/analytics/index.js +127 -135
  62. package/dist/features/analytics/index.js.map +1 -1
  63. package/dist/features/analytics/index.mjs +16 -24
  64. package/dist/features/analytics/index.mjs.map +1 -1
  65. package/dist/features/analytics/server.d.mts +5 -2
  66. package/dist/features/analytics/server.d.ts +5 -2
  67. package/dist/features/analytics/server.js +7 -7
  68. package/dist/features/analytics/server.js.map +1 -1
  69. package/dist/features/analytics/server.mjs +5 -5
  70. package/dist/features/analytics/server.mjs.map +1 -1
  71. package/dist/features/blog/index.d.mts +12 -2
  72. package/dist/features/blog/index.d.ts +12 -2
  73. package/dist/features/blog/index.js +206 -195
  74. package/dist/features/blog/index.js.map +1 -1
  75. package/dist/features/blog/index.mjs +71 -60
  76. package/dist/features/blog/index.mjs.map +1 -1
  77. package/dist/features/blog/server.d.mts +4 -1
  78. package/dist/features/blog/server.d.ts +4 -1
  79. package/dist/features/blog/server.js +49 -21
  80. package/dist/features/blog/server.js.map +1 -1
  81. package/dist/features/blog/server.mjs +36 -8
  82. package/dist/features/blog/server.mjs.map +1 -1
  83. package/dist/features/help/index.js +38 -38
  84. package/dist/features/help/index.mjs +4 -4
  85. package/dist/features/tokenusage/index.d.mts +1 -3
  86. package/dist/features/tokenusage/index.d.ts +1 -3
  87. package/dist/features/tokenusage/index.js +127 -135
  88. package/dist/features/tokenusage/index.js.map +1 -1
  89. package/dist/features/tokenusage/index.mjs +10 -18
  90. package/dist/features/tokenusage/index.mjs.map +1 -1
  91. package/dist/{stripe-promotion-code.interface-C3qqh3mi.d.ts → format-options-BtX3o0Yu.d.ts} +104 -1
  92. package/dist/{stripe-promotion-code.interface-ClZ7DxS9.d.mts → format-options-D6c7FNDi.d.mts} +104 -1
  93. package/dist/index.d.mts +2 -2
  94. package/dist/index.d.ts +2 -2
  95. package/dist/index.js +37 -5
  96. package/dist/index.js.map +1 -1
  97. package/dist/index.mjs +36 -4
  98. package/dist/server/index.js +4 -4
  99. package/dist/server/index.mjs +3 -3
  100. package/messages/en.json +125 -3
  101. package/messages/it.json +125 -3
  102. package/package.json +9 -1
  103. package/scripts/validate-messages.mjs +1 -0
  104. package/src/billing/index.ts +1 -0
  105. package/src/client/index.ts +4 -0
  106. package/src/components/editors/server/BlockNoteServerContent.tsx +28 -0
  107. package/src/components/editors/server/__tests__/renderBlockNoteHTML.spec.ts +44 -0
  108. package/src/components/editors/server/renderBlockNoteHTML.ts +26 -0
  109. package/src/components/editors/server-entry.ts +7 -0
  110. package/src/components/index.ts +1 -0
  111. package/src/components/viewers/BlockNoteStaticViewer.tsx +44 -0
  112. package/src/core/index.ts +1 -0
  113. package/src/core/registry/ModuleRegistry.ts +3 -0
  114. package/src/features/administration/components/AdminIndexContainer.tsx +61 -33
  115. package/src/features/administration/components/__tests__/AdminIndexContainer.spec.tsx +61 -1
  116. package/src/features/administration/components/index.ts +2 -1
  117. package/src/features/administration/contexts/AdministrationContext.tsx +11 -3
  118. package/src/features/administration/contexts/__tests__/AdministrationContext.spec.tsx +40 -0
  119. package/src/features/ai-connection/ai-connection.module.ts +2 -0
  120. package/src/features/ai-connection/contexts/AiConnectionsContext.tsx +3 -16
  121. package/src/features/ai-connection/contexts/__tests__/AiConnectionsContext.spec.tsx +33 -0
  122. package/src/features/analytics/__tests__/server-entry.spec.tsx +2 -1
  123. package/src/features/analytics/analytics.modules.ts +22 -5
  124. package/src/features/analytics/components/AnalyticsAdminContainer.tsx +4 -3
  125. package/src/features/analytics/components/AnalyticsAdminPageContainer.tsx +6 -3
  126. package/src/features/analytics/components/AnalyticsJourneyContainer.tsx +4 -3
  127. package/src/features/analytics/components/__tests__/AnalyticsJourneyContainer.spec.tsx +11 -0
  128. package/src/features/analytics/components/__tests__/AnalyticsPageContainers.spec.tsx +12 -1
  129. package/src/features/analytics/components/server/AnalyticsAdminPage.tsx +6 -3
  130. package/src/features/analytics/contexts/AnalyticsAdminContext.tsx +8 -17
  131. package/src/features/analytics/contexts/__tests__/AnalyticsAdminContext.spec.tsx +17 -0
  132. package/src/features/billing/components/cards/InvoicesSummaryCard.tsx +3 -2
  133. package/src/features/billing/components/cards/SubscriptionSummaryCard.tsx +4 -3
  134. package/src/features/billing/components/containers/BillingDashboardContainer.tsx +22 -5
  135. package/src/features/billing/components/utils/__tests__/discount.spec.ts +59 -0
  136. package/src/features/billing/components/utils/__tests__/url.spec.ts +32 -0
  137. package/src/features/billing/components/utils/discount.ts +38 -0
  138. package/src/features/billing/components/utils/index.ts +2 -0
  139. package/src/features/billing/components/utils/url.ts +12 -0
  140. package/src/features/billing/contexts/CouponContext.tsx +211 -0
  141. package/src/features/billing/contexts/index.ts +1 -0
  142. package/src/features/billing/i18n-keys.ts +79 -0
  143. package/src/features/billing/stripe-coupon/components/containers/CouponContainer.tsx +38 -0
  144. package/src/features/billing/stripe-coupon/components/containers/index.ts +1 -0
  145. package/src/features/billing/stripe-coupon/components/details/CouponDetails.tsx +69 -0
  146. package/src/features/billing/stripe-coupon/components/details/index.ts +1 -0
  147. package/src/features/billing/stripe-coupon/components/forms/CouponCodeEditor.tsx +79 -0
  148. package/src/features/billing/stripe-coupon/components/forms/CouponCodeFields.tsx +192 -0
  149. package/src/features/billing/stripe-coupon/components/forms/CouponEditor.tsx +333 -0
  150. package/src/features/billing/stripe-coupon/components/forms/CouponRefresher.tsx +45 -0
  151. package/src/features/billing/stripe-coupon/components/forms/index.ts +6 -0
  152. package/src/features/billing/stripe-coupon/components/index.ts +5 -0
  153. package/src/features/billing/stripe-coupon/components/lists/CouponCodesList.tsx +61 -0
  154. package/src/features/billing/stripe-coupon/components/lists/CouponsList.tsx +67 -0
  155. package/src/features/billing/stripe-coupon/components/lists/index.ts +2 -0
  156. package/src/features/billing/stripe-coupon/components/widgets/CouponCodeActions.tsx +80 -0
  157. package/src/features/billing/stripe-coupon/components/widgets/index.ts +1 -0
  158. package/src/features/billing/stripe-coupon/data/__tests__/stripe-coupon-models.spec.ts +114 -0
  159. package/src/features/billing/stripe-coupon/data/index.ts +10 -0
  160. package/src/features/billing/stripe-coupon/data/stripe-coupon-code.fields.ts +8 -0
  161. package/src/features/billing/stripe-coupon/data/stripe-coupon-code.interface.ts +44 -0
  162. package/src/features/billing/stripe-coupon/data/stripe-coupon-code.service.ts +92 -0
  163. package/src/features/billing/stripe-coupon/data/stripe-coupon-code.ts +132 -0
  164. package/src/features/billing/stripe-coupon/data/stripe-coupon-offer.interface.ts +17 -0
  165. package/src/features/billing/stripe-coupon/data/stripe-coupon-offer.ts +70 -0
  166. package/src/features/billing/stripe-coupon/data/stripe-coupon.fields.ts +7 -0
  167. package/src/features/billing/stripe-coupon/data/stripe-coupon.interface.ts +51 -0
  168. package/src/features/billing/stripe-coupon/data/stripe-coupon.service.ts +93 -0
  169. package/src/features/billing/stripe-coupon/data/stripe-coupon.ts +165 -0
  170. package/src/features/billing/stripe-coupon/hooks/useStripeCouponCodeTableStructure.tsx +154 -0
  171. package/src/features/billing/stripe-coupon/hooks/useStripeCouponTableStructure.tsx +113 -0
  172. package/src/features/billing/stripe-coupon/index.ts +5 -0
  173. package/src/features/billing/stripe-coupon/stripe-coupon-code.module.ts +14 -0
  174. package/src/features/billing/stripe-coupon/stripe-coupon-offer.module.ts +10 -0
  175. package/src/features/billing/stripe-coupon/stripe-coupon.module.ts +18 -0
  176. package/src/features/billing/stripe-coupon/utils/__tests__/coupon-places.spec.ts +19 -0
  177. package/src/features/billing/stripe-coupon/utils/__tests__/to-promotion-code-result.spec.ts +41 -0
  178. package/src/features/billing/stripe-coupon/utils/coupon-places.ts +23 -0
  179. package/src/features/billing/stripe-coupon/utils/format-coupon-discount.ts +36 -0
  180. package/src/features/billing/stripe-coupon/utils/index.ts +3 -0
  181. package/src/features/billing/stripe-coupon/utils/to-promotion-code-result.ts +23 -0
  182. package/src/features/billing/stripe-customer/components/forms/PaymentMethodForm.tsx +24 -8
  183. package/src/features/billing/stripe-price/stripe-price.module.ts +2 -0
  184. package/src/features/billing/stripe-product/components/containers/ProductsListContainer.tsx +21 -6
  185. package/src/features/billing/stripe-product/stripe-product.module.ts +2 -0
  186. package/src/features/billing/stripe-promotion-code/components/PromoCodeInput.tsx +60 -19
  187. package/src/features/billing/stripe-promotion-code/data/stripe-promotion-code.interface.ts +2 -0
  188. package/src/features/billing/stripe-subscription/components/containers/SubscriptionsContainer.tsx +24 -5
  189. package/src/features/billing/stripe-subscription/components/lists/SubscriptionsList.tsx +21 -2
  190. package/src/features/billing/stripe-subscription/components/wizards/SubscriptionWizard.tsx +1 -1
  191. package/src/features/billing/stripe-subscription/components/wizards/WizardStepPaymentMethod.tsx +1 -1
  192. package/src/features/billing/stripe-subscription/components/wizards/WizardStepReview.tsx +60 -49
  193. package/src/features/billing/stripe-subscription/components/wizards/__tests__/review-card.spec.ts +34 -0
  194. package/src/features/billing/stripe-subscription/components/wizards/review-card.ts +24 -0
  195. package/src/features/billing/stripe-subscription/data/__tests__/stripe-subscription.discount.spec.ts +67 -0
  196. package/src/features/billing/stripe-subscription/data/stripe-subscription.interface.ts +14 -0
  197. package/src/features/billing/stripe-subscription/data/stripe-subscription.service.ts +39 -0
  198. package/src/features/billing/stripe-subscription/data/stripe-subscription.ts +21 -0
  199. package/src/features/billing/stripe-subscription/hooks/__tests__/wizard-payment.spec.ts +48 -0
  200. package/src/features/billing/stripe-subscription/hooks/__tests__/wizard-promotion.spec.ts +132 -0
  201. package/src/features/billing/stripe-subscription/hooks/useSubscriptionWizard.ts +138 -12
  202. package/src/features/billing/stripe-subscription/hooks/wizard-payment.ts +30 -0
  203. package/src/features/billing/stripe-subscription/hooks/wizard-promotion.ts +54 -0
  204. package/src/features/blog/components/admin/BlogAdminContainer.tsx +13 -6
  205. package/src/features/blog/components/admin/BlogCategoriesList.tsx +1 -1
  206. package/src/features/blog/components/admin/BlogCoverImageField.tsx +1 -1
  207. package/src/features/blog/components/admin/BlogPostContainer.tsx +0 -1
  208. package/src/features/blog/components/admin/BlogPostEditor.tsx +42 -33
  209. package/src/features/blog/components/admin/BlogPostTranslationEditor.tsx +12 -4
  210. package/src/features/blog/components/admin/BlogPostsList.tsx +1 -1
  211. package/src/features/blog/components/public/BlogPostCard.tsx +2 -9
  212. package/src/features/blog/components/public/BlogPostMeta.tsx +2 -2
  213. package/src/features/blog/components/public/BlogPostView.tsx +9 -3
  214. package/src/features/blog/components/public/__tests__/BlogList.spec.tsx +2 -0
  215. package/src/features/blog/components/public/__tests__/BlogPostView.spec.tsx +17 -11
  216. package/src/features/blog/server/fetchers.ts +57 -8
  217. package/src/features/email-automation/components/containers/EmailAutomationsListContainer.tsx +12 -3
  218. package/src/features/rbac/contexts/RbacContext.tsx +4 -7
  219. package/src/features/rbac/contexts/__tests__/RbacContext.spec.tsx +42 -0
  220. package/src/features/tokenusage/components/TokenUsageAdminContainer.tsx +4 -3
  221. package/src/features/tokenusage/contexts/TokenUsageAdminContext.tsx +3 -18
  222. package/src/features/tokenusage/contexts/__tests__/TokenUsageAdminContext.spec.tsx +17 -0
  223. package/src/features/tokenusage/tokenusage-admin.module.ts +4 -3
  224. package/src/features/tokenusage/tokenusage.modules.ts +12 -2
  225. package/src/features/user/contexts/CurrentUserContext.tsx +25 -0
  226. package/src/features/user/contexts/UserContext.tsx +18 -3
  227. package/src/features/user/contexts/__tests__/CurrentUserContext.spec.tsx +121 -2
  228. package/src/features/user/contexts/__tests__/UserContext.spec.tsx +95 -0
  229. package/dist/chunk-3NLAXVIN.js.map +0 -1
  230. package/dist/chunk-EUKTBOI2.mjs.map +0 -1
  231. package/dist/chunk-NFBOSPNJ.js.map +0 -1
  232. package/dist/chunk-WC63PJSC.mjs.map +0 -1
  233. /package/dist/{BlockNoteEditor-YQL2SGFR.mjs.map → BlockNoteEditor-NEYG5L6W.mjs.map} +0 -0
  234. /package/dist/{BlockNoteViewer-AEJKJ27Q.mjs.map → BlockNoteViewer-3OUT5UFY.mjs.map} +0 -0
  235. /package/dist/{chunk-XCHSX3VC.mjs.map → chunk-BTPUYUQ3.mjs.map} +0 -0
  236. /package/dist/{chunk-6DC2WVVB.mjs.map → chunk-KQHBONL4.mjs.map} +0 -0
  237. /package/dist/{chunk-QMYQRPQC.mjs.map → chunk-Y7RR57EW.mjs.map} +0 -0
@@ -1,9 +1,7 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2; var _class3; var _class4; var _class5; var _class6; var _class7; var _class8; var _class9; var _class10; var _class11; var _class12; var _class13; var _class14; var _class15; var _class16; var _class17; var _class18; var _class19; var _class20; var _class21; var _class22; var _class23; var _class24; var _class25; var _class26; var _class27; var _class28; var _class29; var _class30; var _class31; var _class32; var _class33; var _class34; var _class35; var _class36; var _class37; var _class38; var _class39; var _class40;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2; var _class3; var _class4; var _class5; var _class6; var _class7; var _class8; var _class9; var _class10; var _class11; var _class12; var _class13; var _class14; var _class15; var _class16; var _class17; var _class18; var _class19; var _class20; var _class21; var _class22; var _class23; var _class24; var _class25; var _class26; var _class27; var _class28; var _class29; var _class30; var _class31; var _class32; var _class33; var _class34; var _class35; var _class36; var _class37; var _class38; var _class39; var _class40; var _class41; var _class42; var _class43;
2
2
 
3
- var _chunkLXKSUWAVjs = require('./chunk-LXKSUWAV.js');
4
3
 
5
4
 
6
- var _chunkJTPRJNT2js = require('./chunk-JTPRJNT2.js');
7
5
 
8
6
 
9
7
 
@@ -11,11 +9,13 @@ var _chunkJTPRJNT2js = require('./chunk-JTPRJNT2.js');
11
9
 
12
10
 
13
11
 
12
+ var _chunkGHE4VT2Rjs = require('./chunk-GHE4VT2R.js');
14
13
 
15
14
 
15
+ var _chunkLXKSUWAVjs = require('./chunk-LXKSUWAV.js');
16
16
 
17
17
 
18
- var _chunkGHE4VT2Rjs = require('./chunk-GHE4VT2R.js');
18
+ var _chunkJTPRJNT2js = require('./chunk-JTPRJNT2.js');
19
19
 
20
20
 
21
21
  var _chunk7QVYU63Ejs = require('./chunk-7QVYU63E.js');
@@ -4366,6 +4366,7 @@ var StripePriceService = class extends AbstractService {
4366
4366
  };
4367
4367
 
4368
4368
  // src/features/billing/stripe-price/stripe-price.module.ts
4369
+ var _lucidereact = require('lucide-react');
4369
4370
  var StripePriceModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
4370
4371
  name: "stripe-prices",
4371
4372
  // The administration route this entity is served at. `name` above stays the
@@ -4374,7 +4375,8 @@ var StripePriceModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (fa
4374
4375
  // rewrites the URL to a 404 on the first tab change.
4375
4376
  pageUrl: "/administration/prices",
4376
4377
  model: StripePrice,
4377
- moduleId: "a7d3e5f1-8c9b-4a2e-b6d7-3f1c8e9a4b5d"
4378
+ moduleId: "a7d3e5f1-8c9b-4a2e-b6d7-3f1c8e9a4b5d",
4379
+ icon: _lucidereact.CreditCardIcon
4378
4380
  }), "StripePriceModule");
4379
4381
 
4380
4382
  // src/features/billing/stripe-product/data/stripe-product.ts
@@ -4542,6 +4544,7 @@ var StripeProductService = class extends AbstractService {
4542
4544
  };
4543
4545
 
4544
4546
  // src/features/billing/stripe-product/stripe-product.module.ts
4547
+
4545
4548
  var StripeProductModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
4546
4549
  name: "stripe-products",
4547
4550
  // The administration route this entity is served at. `name` above stays the
@@ -4550,7 +4553,8 @@ var StripeProductModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
4550
4553
  // rewrites the URL to a 404 on the first tab change.
4551
4554
  pageUrl: "/administration/products",
4552
4555
  model: StripeProduct,
4553
- moduleId: "f8c4a1e9-3b2d-4f7a-9e5c-1d8a6b3c9f2e"
4556
+ moduleId: "f8c4a1e9-3b2d-4f7a-9e5c-1d8a6b3c9f2e",
4557
+ icon: _lucidereact.CreditCardIcon
4554
4558
  }), "StripeProductModule");
4555
4559
 
4556
4560
  // src/features/billing/stripe-subscription/data/stripe-subscription.ts
@@ -4567,6 +4571,7 @@ var StripeSubscription = (_class16 = class extends AbstractApiData {constructor(
4567
4571
 
4568
4572
 
4569
4573
 
4574
+
4570
4575
  get stripeSubscriptionId() {
4571
4576
  if (!this._stripeSubscriptionId) throw new Error("stripeSubscriptionId is not defined");
4572
4577
  return this._stripeSubscriptionId;
@@ -4598,6 +4603,9 @@ var StripeSubscription = (_class16 = class extends AbstractApiData {constructor(
4598
4603
  get price() {
4599
4604
  return this._price;
4600
4605
  }
4606
+ get discount() {
4607
+ return this._discount;
4608
+ }
4601
4609
  rehydrate(data) {
4602
4610
  super.rehydrate(data);
4603
4611
  this._stripeSubscriptionId = data.jsonApi.attributes.stripeSubscriptionId;
@@ -4608,6 +4616,17 @@ var StripeSubscription = (_class16 = class extends AbstractApiData {constructor(
4608
4616
  this._canceledAt = data.jsonApi.attributes.canceledAt ? new Date(data.jsonApi.attributes.canceledAt) : void 0;
4609
4617
  this._trialStart = data.jsonApi.attributes.trialStart ? new Date(data.jsonApi.attributes.trialStart) : void 0;
4610
4618
  this._trialEnd = data.jsonApi.attributes.trialEnd ? new Date(data.jsonApi.attributes.trialEnd) : void 0;
4619
+ const attributes = data.jsonApi.attributes;
4620
+ const percentOff = _nullishCoalesce(attributes.discountPercentOff, () => ( void 0));
4621
+ const amountOff = _nullishCoalesce(attributes.discountAmountOff, () => ( void 0));
4622
+ this._discount = attributes.discountDuration && (percentOff !== void 0 || amountOff !== void 0) ? {
4623
+ percentOff,
4624
+ amountOff,
4625
+ currency: _nullishCoalesce(attributes.discountCurrency, () => ( void 0)),
4626
+ duration: attributes.discountDuration,
4627
+ durationInMonths: _nullishCoalesce(attributes.discountDurationInMonths, () => ( void 0)),
4628
+ end: attributes.discountEnd ? new Date(attributes.discountEnd) : void 0
4629
+ } : void 0;
4611
4630
  this._price = this._readIncluded(data, "price", Modules.StripePrice);
4612
4631
  return this;
4613
4632
  }
@@ -4716,7 +4735,9 @@ var StripeSubscriptionService = class extends AbstractService {
4716
4735
  type: Modules.StripeSubscription,
4717
4736
  method: "POST" /* POST */,
4718
4737
  endpoint: endpoint.generate(),
4719
- input: params
4738
+ input: params,
4739
+ // The wizard reads 410 / 409 / 402 / 422 itself; a global handler must not swallow them
4740
+ suppressGlobalError: true
4720
4741
  });
4721
4742
  return {
4722
4743
  subscription: result.data,
@@ -4740,9 +4761,41 @@ var StripeSubscriptionService = class extends AbstractService {
4740
4761
  type: Modules.StripeSubscription,
4741
4762
  method: "POST" /* POST */,
4742
4763
  endpoint: endpoint.generate(),
4743
- input: params
4764
+ input: params,
4765
+ // The wizard reads 410 / 409 / 402 / 422 itself; a global handler must not swallow them
4766
+ suppressGlobalError: true
4744
4767
  });
4745
4768
  }
4769
+ /**
4770
+ * Change the plan of an existing subscription, with the payment meta.
4771
+ *
4772
+ * A trial upgrade charges at once; when the card asks for 3D Secure the API
4773
+ * answers with `meta.requiresAction` and the `clientSecret` to confirm in the
4774
+ * browser. Without that meta the change needs nothing more.
4775
+ */
4776
+ static async changePlanWithMeta(params) {
4777
+ const endpoint = new EndpointCreator({
4778
+ endpoint: Modules.StripeSubscription,
4779
+ id: params.id,
4780
+ childEndpoint: "change-plan"
4781
+ });
4782
+ const result = await this.callApiWithMeta({
4783
+ type: Modules.StripeSubscription,
4784
+ method: "POST" /* POST */,
4785
+ endpoint: endpoint.generate(),
4786
+ input: params,
4787
+ // The wizard reads 410 / 409 / 402 / 422 itself; a global handler must not swallow them
4788
+ suppressGlobalError: true
4789
+ });
4790
+ return {
4791
+ subscription: result.data,
4792
+ meta: _nullishCoalesce(result.meta, () => ( {
4793
+ clientSecret: null,
4794
+ paymentIntentId: null,
4795
+ requiresAction: false
4796
+ }))
4797
+ };
4798
+ }
4746
4799
  /**
4747
4800
  * Get a proration preview for a plan change
4748
4801
  */
@@ -4821,7 +4874,9 @@ var StripeSubscriptionService = class extends AbstractService {
4821
4874
  return this.callApi({
4822
4875
  type: Modules.StripeSubscription,
4823
4876
  method: "POST" /* POST */,
4824
- endpoint: endpoint.generate()
4877
+ endpoint: endpoint.generate(),
4878
+ // The wizard logs a failed sync and carries on (the webhook catches up): no global error after a paid subscription
4879
+ suppressGlobalError: true
4825
4880
  });
4826
4881
  }
4827
4882
  };
@@ -5116,6 +5171,627 @@ var StripePromotionCodeModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(voi
5116
5171
  moduleId: "b8e4f6a2-9d0c-5b3f-c7e8-4g2d9f0a5c6e"
5117
5172
  }), "StripePromotionCodeModule");
5118
5173
 
5174
+ // src/features/billing/stripe-coupon/data/stripe-coupon.ts
5175
+ var StripeCoupon = (_class18 = class _StripeCoupon extends AbstractApiData {constructor(...args15) { super(...args15); _class18.prototype.__init36.call(this);_class18.prototype.__init37.call(this);_class18.prototype.__init38.call(this);_class18.prototype.__init39.call(this); }
5176
+ static {
5177
+ _chunk7QVYU63Ejs.__name.call(void 0, this, "StripeCoupon");
5178
+ }
5179
+
5180
+
5181
+
5182
+
5183
+
5184
+
5185
+
5186
+
5187
+ __init36() {this._stripeProductIds = []}
5188
+
5189
+
5190
+ __init37() {this._timesRedeemed = 0}
5191
+ __init38() {this._valid = true}
5192
+ __init39() {this._codes = []}
5193
+ get stripeCouponId() {
5194
+ if (!this._stripeCouponId) throw new Error("stripeCouponId is not defined");
5195
+ return this._stripeCouponId;
5196
+ }
5197
+ get name() {
5198
+ return _nullishCoalesce(this._name, () => ( ""));
5199
+ }
5200
+ get discountType() {
5201
+ if (!this._discountType) throw new Error("discountType is not defined");
5202
+ return this._discountType;
5203
+ }
5204
+ get percentOff() {
5205
+ return this._percentOff;
5206
+ }
5207
+ get amountOff() {
5208
+ return this._amountOff;
5209
+ }
5210
+ get currency() {
5211
+ return this._currency;
5212
+ }
5213
+ get duration() {
5214
+ if (!this._duration) throw new Error("duration is not defined");
5215
+ return this._duration;
5216
+ }
5217
+ get durationInMonths() {
5218
+ return this._durationInMonths;
5219
+ }
5220
+ get stripeProductIds() {
5221
+ return this._stripeProductIds;
5222
+ }
5223
+ get redeemBy() {
5224
+ return this._redeemBy;
5225
+ }
5226
+ get maxRedemptions() {
5227
+ return this._maxRedemptions;
5228
+ }
5229
+ get timesRedeemed() {
5230
+ return this._timesRedeemed;
5231
+ }
5232
+ get valid() {
5233
+ return this._valid;
5234
+ }
5235
+ get codes() {
5236
+ return this._codes;
5237
+ }
5238
+ rehydrate(data) {
5239
+ super.rehydrate(data);
5240
+ const attributes = data.jsonApi.attributes;
5241
+ this._stripeCouponId = attributes.stripeCouponId;
5242
+ this._name = attributes.name;
5243
+ this._discountType = attributes.discountType;
5244
+ this._percentOff = _nullishCoalesce(attributes.percentOff, () => ( void 0));
5245
+ this._amountOff = _nullishCoalesce(attributes.amountOff, () => ( void 0));
5246
+ this._currency = _nullishCoalesce(attributes.currency, () => ( void 0));
5247
+ this._duration = attributes.duration;
5248
+ this._durationInMonths = _nullishCoalesce(attributes.durationInMonths, () => ( void 0));
5249
+ this._stripeProductIds = _nullishCoalesce(attributes.stripeProductIds, () => ( []));
5250
+ this._redeemBy = attributes.redeemBy ? new Date(attributes.redeemBy) : void 0;
5251
+ this._maxRedemptions = _nullishCoalesce(attributes.maxRedemptions, () => ( void 0));
5252
+ this._timesRedeemed = _nullishCoalesce(attributes.timesRedeemed, () => ( 0));
5253
+ this._valid = _nullishCoalesce(attributes.valid, () => ( true));
5254
+ this._codes = _nullishCoalesce(this._readIncluded(data, "codes", Modules.StripeCouponCode), () => ( []));
5255
+ return this;
5256
+ }
5257
+ createJsonApi(data) {
5258
+ const response = {
5259
+ data: {
5260
+ type: Modules.StripeCoupon.name,
5261
+ id: data.id,
5262
+ attributes: {
5263
+ name: data.name,
5264
+ discountType: data.discountType,
5265
+ duration: data.duration,
5266
+ firstCode: _StripeCoupon.codeAttributes(data.firstCode)
5267
+ }
5268
+ }
5269
+ };
5270
+ const attributes = response.data.attributes;
5271
+ if (data.stripeCouponId) attributes.stripeCouponId = data.stripeCouponId;
5272
+ if (data.percentOff !== void 0) attributes.percentOff = data.percentOff;
5273
+ if (data.amountOff !== void 0) attributes.amountOff = data.amountOff;
5274
+ if (data.currency) attributes.currency = data.currency;
5275
+ if (data.durationInMonths !== void 0) attributes.durationInMonths = data.durationInMonths;
5276
+ if (data.productIds && data.productIds.length > 0) attributes.productIds = data.productIds;
5277
+ if (data.redeemBy !== void 0) attributes.redeemBy = data.redeemBy.toISOString();
5278
+ if (data.maxRedemptions !== void 0) attributes.maxRedemptions = data.maxRedemptions;
5279
+ return response;
5280
+ }
5281
+ /**
5282
+ * Rename is the only change Stripe allows on a coupon after creation.
5283
+ * Dedicated method so the service never needs a generic override.
5284
+ */
5285
+ createRenameJsonApi(data) {
5286
+ return {
5287
+ data: {
5288
+ type: Modules.StripeCoupon.name,
5289
+ id: data.id,
5290
+ attributes: { name: data.name }
5291
+ }
5292
+ };
5293
+ }
5294
+ /** Attributes of a code, shared by the coupon's first code and StripeCouponCode.createJsonApi. */
5295
+ static codeAttributes(code) {
5296
+ const attributes = {};
5297
+ if (code.code) attributes.code = code.code;
5298
+ if (code.firstTimeTransaction !== void 0) attributes.firstTimeTransaction = code.firstTimeTransaction;
5299
+ if (code.minimumAmount !== void 0) attributes.minimumAmount = code.minimumAmount;
5300
+ if (code.minimumAmountCurrency) attributes.minimumAmountCurrency = code.minimumAmountCurrency;
5301
+ if (code.stripeCustomerId) attributes.stripeCustomerId = code.stripeCustomerId;
5302
+ if (code.expiresAt !== void 0) attributes.expiresAt = code.expiresAt.toISOString();
5303
+ if (code.maxRedemptions !== void 0) attributes.maxRedemptions = code.maxRedemptions;
5304
+ if (code.automatic !== void 0) attributes.automatic = code.automatic;
5305
+ return attributes;
5306
+ }
5307
+ }, _class18);
5308
+
5309
+ // src/features/billing/stripe-coupon/data/stripe-coupon.fields.ts
5310
+ var StripeCouponFields = /* @__PURE__ */ ((StripeCouponFields2) => {
5311
+ StripeCouponFields2["name"] = "name";
5312
+ StripeCouponFields2["discount"] = "discount";
5313
+ StripeCouponFields2["places"] = "places";
5314
+ StripeCouponFields2["codes"] = "codes";
5315
+ StripeCouponFields2["status"] = "status";
5316
+ return StripeCouponFields2;
5317
+ })(StripeCouponFields || {});
5318
+
5319
+ // src/features/billing/stripe-coupon/stripe-coupon.module.ts
5320
+
5321
+ var STRIPE_COUPON_REFRESH_SEGMENT = "refresh";
5322
+ var StripeCouponModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
5323
+ name: "stripe-coupons",
5324
+ // The administration route this entity is served at. `name` above stays the
5325
+ // API endpoint; this drives generateUrl / rewriteUrl / EditorSheet
5326
+ // navigation, so it must match the real Next.js route.
5327
+ pageUrl: "/administration/coupons",
5328
+ model: StripeCoupon,
5329
+ moduleId: "50bdb0d2-539c-4358-b609-d6beab248bdb",
5330
+ icon: _lucidereact.TicketPercentIcon
5331
+ }), "StripeCouponModule");
5332
+
5333
+ // src/features/billing/stripe-coupon/data/stripe-coupon.service.ts
5334
+ var StripeCouponService = class extends AbstractService {
5335
+ static {
5336
+ _chunk7QVYU63Ejs.__name.call(void 0, this, "StripeCouponService");
5337
+ }
5338
+ /**
5339
+ * List all coupons with their codes (admin)
5340
+ */
5341
+ static async listCoupons(params) {
5342
+ const endpoint = new EndpointCreator({
5343
+ endpoint: Modules.StripeCoupon
5344
+ });
5345
+ return this.callApi({
5346
+ type: Modules.StripeCoupon,
5347
+ method: "GET" /* GET */,
5348
+ endpoint: endpoint.generate(),
5349
+ next: _optionalChain([params, 'optionalAccess', _116 => _116.next]),
5350
+ previous: _optionalChain([params, 'optionalAccess', _117 => _117.prev])
5351
+ });
5352
+ }
5353
+ /**
5354
+ * Get a specific coupon by ID (admin)
5355
+ */
5356
+ static async getCoupon(params) {
5357
+ const endpoint = new EndpointCreator({
5358
+ endpoint: Modules.StripeCoupon,
5359
+ id: params.id
5360
+ });
5361
+ return this.callApi({
5362
+ type: Modules.StripeCoupon,
5363
+ method: "GET" /* GET */,
5364
+ endpoint: endpoint.generate()
5365
+ });
5366
+ }
5367
+ /**
5368
+ * Create a coupon and its first code (admin)
5369
+ */
5370
+ static async createCoupon(params) {
5371
+ const endpoint = new EndpointCreator({
5372
+ endpoint: Modules.StripeCoupon
5373
+ });
5374
+ return this.callApi({
5375
+ type: Modules.StripeCoupon,
5376
+ method: "POST" /* POST */,
5377
+ endpoint: endpoint.generate(),
5378
+ input: params
5379
+ });
5380
+ }
5381
+ /**
5382
+ * Rename a coupon (admin). The only coupon field Stripe allows to change.
5383
+ */
5384
+ static async renameCoupon(params) {
5385
+ const endpoint = new EndpointCreator({
5386
+ endpoint: Modules.StripeCoupon,
5387
+ id: params.id
5388
+ });
5389
+ return this.callApi({
5390
+ type: Modules.StripeCoupon,
5391
+ method: "PATCH" /* PATCH */,
5392
+ endpoint: endpoint.generate(),
5393
+ input: new StripeCoupon().createRenameJsonApi(params),
5394
+ overridesJsonApiCreation: true
5395
+ });
5396
+ }
5397
+ /**
5398
+ * Re-read the coupon and its codes from Stripe and store the counts (admin)
5399
+ */
5400
+ static async refreshCounts(params) {
5401
+ const endpoint = new EndpointCreator({
5402
+ endpoint: Modules.StripeCoupon,
5403
+ id: params.id,
5404
+ childEndpoint: STRIPE_COUPON_REFRESH_SEGMENT
5405
+ });
5406
+ return this.callApi({
5407
+ type: Modules.StripeCoupon,
5408
+ method: "POST" /* POST */,
5409
+ endpoint: endpoint.generate()
5410
+ });
5411
+ }
5412
+ };
5413
+
5414
+ // src/features/billing/stripe-coupon/data/stripe-coupon-code.ts
5415
+ var StripeCouponCode = (_class19 = class extends AbstractApiData {constructor(...args16) { super(...args16); _class19.prototype.__init40.call(this);_class19.prototype.__init41.call(this);_class19.prototype.__init42.call(this);_class19.prototype.__init43.call(this);_class19.prototype.__init44.call(this); }
5416
+ static {
5417
+ _chunk7QVYU63Ejs.__name.call(void 0, this, "StripeCouponCode");
5418
+ }
5419
+
5420
+ __init40() {this._code = ""}
5421
+ __init41() {this._active = true}
5422
+ __init42() {this._automatic = false}
5423
+ __init43() {this._firstTimeTransaction = false}
5424
+
5425
+
5426
+
5427
+
5428
+
5429
+ __init44() {this._timesRedeemed = 0}
5430
+
5431
+ get stripePromotionCodeId() {
5432
+ if (!this._stripePromotionCodeId) throw new Error("stripePromotionCodeId is not defined");
5433
+ return this._stripePromotionCodeId;
5434
+ }
5435
+ get code() {
5436
+ return this._code;
5437
+ }
5438
+ get active() {
5439
+ return this._active;
5440
+ }
5441
+ get automatic() {
5442
+ return this._automatic;
5443
+ }
5444
+ get firstTimeTransaction() {
5445
+ return this._firstTimeTransaction;
5446
+ }
5447
+ get minimumAmount() {
5448
+ return this._minimumAmount;
5449
+ }
5450
+ get minimumAmountCurrency() {
5451
+ return this._minimumAmountCurrency;
5452
+ }
5453
+ get stripeCustomerId() {
5454
+ return this._stripeCustomerId;
5455
+ }
5456
+ get expiresAt() {
5457
+ return this._expiresAt;
5458
+ }
5459
+ get maxRedemptions() {
5460
+ return this._maxRedemptions;
5461
+ }
5462
+ get timesRedeemed() {
5463
+ return this._timesRedeemed;
5464
+ }
5465
+ get coupon() {
5466
+ return this._coupon;
5467
+ }
5468
+ rehydrate(data) {
5469
+ super.rehydrate(data);
5470
+ const attributes = data.jsonApi.attributes;
5471
+ this._stripePromotionCodeId = attributes.stripePromotionCodeId;
5472
+ this._code = _nullishCoalesce(attributes.code, () => ( ""));
5473
+ this._active = _nullishCoalesce(attributes.active, () => ( true));
5474
+ this._automatic = _nullishCoalesce(attributes.automatic, () => ( false));
5475
+ this._firstTimeTransaction = _nullishCoalesce(attributes.firstTimeTransaction, () => ( false));
5476
+ this._minimumAmount = _nullishCoalesce(attributes.minimumAmount, () => ( void 0));
5477
+ this._minimumAmountCurrency = _nullishCoalesce(attributes.minimumAmountCurrency, () => ( void 0));
5478
+ this._stripeCustomerId = _nullishCoalesce(attributes.stripeCustomerId, () => ( void 0));
5479
+ this._expiresAt = attributes.expiresAt ? new Date(attributes.expiresAt) : void 0;
5480
+ this._maxRedemptions = _nullishCoalesce(attributes.maxRedemptions, () => ( void 0));
5481
+ this._timesRedeemed = _nullishCoalesce(attributes.timesRedeemed, () => ( 0));
5482
+ this._coupon = this._readIncluded(data, "coupon", Modules.StripeCoupon);
5483
+ return this;
5484
+ }
5485
+ createJsonApi(data) {
5486
+ const { id, couponId, ...code } = data;
5487
+ return {
5488
+ data: {
5489
+ type: Modules.StripeCouponCode.name,
5490
+ id,
5491
+ attributes: StripeCoupon.codeAttributes(code),
5492
+ relationships: {
5493
+ coupon: {
5494
+ data: {
5495
+ type: Modules.StripeCoupon.name,
5496
+ id: couponId
5497
+ }
5498
+ }
5499
+ }
5500
+ }
5501
+ };
5502
+ }
5503
+ /**
5504
+ * PATCH body for the flags a code can still change after creation.
5505
+ * Only the flags that are set are sent, so switching one never touches the other.
5506
+ */
5507
+ createFlagsJsonApi(data) {
5508
+ const attributes = {};
5509
+ if (data.active !== void 0) attributes.active = data.active;
5510
+ if (data.automatic !== void 0) attributes.automatic = data.automatic;
5511
+ return {
5512
+ data: {
5513
+ type: Modules.StripeCouponCode.name,
5514
+ id: data.id,
5515
+ attributes
5516
+ }
5517
+ };
5518
+ }
5519
+ }, _class19);
5520
+
5521
+ // src/features/billing/stripe-coupon/data/stripe-coupon-code.fields.ts
5522
+ var StripeCouponCodeFields = /* @__PURE__ */ ((StripeCouponCodeFields2) => {
5523
+ StripeCouponCodeFields2["code"] = "code";
5524
+ StripeCouponCodeFields2["places"] = "places";
5525
+ StripeCouponCodeFields2["expiresAt"] = "expiresAt";
5526
+ StripeCouponCodeFields2["automatic"] = "automatic";
5527
+ StripeCouponCodeFields2["status"] = "status";
5528
+ StripeCouponCodeFields2["actions"] = "actions";
5529
+ return StripeCouponCodeFields2;
5530
+ })(StripeCouponCodeFields || {});
5531
+
5532
+ // src/features/billing/stripe-coupon/stripe-coupon-code.module.ts
5533
+ var STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT = "automatic";
5534
+ var StripeCouponCodeModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
5535
+ name: "stripe-coupon-codes",
5536
+ // Codes are managed on their coupon's page.
5537
+ pageUrl: "/administration/coupons",
5538
+ model: StripeCouponCode,
5539
+ moduleId: "85feb4c7-ff22-416a-b856-8dafcf28ff26"
5540
+ }), "StripeCouponCodeModule");
5541
+
5542
+ // src/features/billing/stripe-coupon/data/stripe-coupon-code.service.ts
5543
+ var StripeCouponCodeService = class extends AbstractService {
5544
+ static {
5545
+ _chunk7QVYU63Ejs.__name.call(void 0, this, "StripeCouponCodeService");
5546
+ }
5547
+ /**
5548
+ * List the codes of a coupon (admin)
5549
+ */
5550
+ static async listByCoupon(params) {
5551
+ const endpoint = new EndpointCreator({
5552
+ endpoint: Modules.StripeCoupon,
5553
+ id: params.couponId,
5554
+ childEndpoint: Modules.StripeCouponCode
5555
+ });
5556
+ return this.callApi({
5557
+ type: Modules.StripeCouponCode,
5558
+ method: "GET" /* GET */,
5559
+ endpoint: endpoint.generate(),
5560
+ next: params.next,
5561
+ previous: params.prev
5562
+ });
5563
+ }
5564
+ /**
5565
+ * Create a code on an existing coupon (admin)
5566
+ */
5567
+ static async createCode(params) {
5568
+ const endpoint = new EndpointCreator({
5569
+ endpoint: Modules.StripeCouponCode
5570
+ });
5571
+ return this.callApi({
5572
+ type: Modules.StripeCouponCode,
5573
+ method: "POST" /* POST */,
5574
+ endpoint: endpoint.generate(),
5575
+ input: params
5576
+ });
5577
+ }
5578
+ /**
5579
+ * Switch "Apply automatically" and / or deactivate / reactivate a code (admin)
5580
+ */
5581
+ static async updateFlags(params) {
5582
+ const endpoint = new EndpointCreator({
5583
+ endpoint: Modules.StripeCouponCode,
5584
+ id: params.id
5585
+ });
5586
+ return this.callApi({
5587
+ type: Modules.StripeCouponCode,
5588
+ method: "PATCH" /* PATCH */,
5589
+ endpoint: endpoint.generate(),
5590
+ input: new StripeCouponCode().createFlagsJsonApi(params),
5591
+ overridesJsonApiCreation: true
5592
+ });
5593
+ }
5594
+ /**
5595
+ * The code the server would apply automatically for this price at a first
5596
+ * payment, or null when none applies (logged-in company administrator)
5597
+ */
5598
+ static async findAutomatic(params) {
5599
+ const endpoint = new EndpointCreator({
5600
+ endpoint: Modules.StripeCouponCode,
5601
+ id: STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT
5602
+ });
5603
+ endpoint.addAdditionalParam("priceId", params.priceId);
5604
+ const codes = await this.callApi({
5605
+ type: Modules.StripeCouponCode,
5606
+ method: "GET" /* GET */,
5607
+ endpoint: endpoint.generate(),
5608
+ // A failed lookup must reach the wizard, which then refuses to show full price as the truth
5609
+ suppressGlobalError: true
5610
+ });
5611
+ return _nullishCoalesce(_optionalChain([codes, 'optionalAccess', _118 => _118[0]]), () => ( null));
5612
+ }
5613
+ };
5614
+
5615
+ // src/features/billing/stripe-coupon/data/stripe-coupon-offer.ts
5616
+ var StripeCouponOffer = (_class20 = class extends AbstractApiData {constructor(...args17) { super(...args17); _class20.prototype.__init45.call(this);_class20.prototype.__init46.call(this); }
5617
+ static {
5618
+ _chunk7QVYU63Ejs.__name.call(void 0, this, "StripeCouponOffer");
5619
+ }
5620
+
5621
+
5622
+
5623
+
5624
+
5625
+
5626
+ __init45() {this._placesLeft = 0}
5627
+ __init46() {this._placesTotal = 0}
5628
+ get discountType() {
5629
+ if (!this._discountType) throw new Error("discountType is not defined");
5630
+ return this._discountType;
5631
+ }
5632
+ get percentOff() {
5633
+ return this._percentOff;
5634
+ }
5635
+ get amountOff() {
5636
+ return this._amountOff;
5637
+ }
5638
+ get currency() {
5639
+ return this._currency;
5640
+ }
5641
+ get duration() {
5642
+ if (!this._duration) throw new Error("duration is not defined");
5643
+ return this._duration;
5644
+ }
5645
+ get durationInMonths() {
5646
+ return this._durationInMonths;
5647
+ }
5648
+ get placesLeft() {
5649
+ return this._placesLeft;
5650
+ }
5651
+ get placesTotal() {
5652
+ return this._placesTotal;
5653
+ }
5654
+ rehydrate(data) {
5655
+ super.rehydrate(data);
5656
+ const attributes = data.jsonApi.attributes;
5657
+ this._discountType = attributes.discountType;
5658
+ this._percentOff = _nullishCoalesce(attributes.percentOff, () => ( void 0));
5659
+ this._amountOff = _nullishCoalesce(attributes.amountOff, () => ( void 0));
5660
+ this._currency = _nullishCoalesce(attributes.currency, () => ( void 0));
5661
+ this._duration = attributes.duration;
5662
+ this._durationInMonths = _nullishCoalesce(attributes.durationInMonths, () => ( void 0));
5663
+ this._placesLeft = _nullishCoalesce(attributes.placesLeft, () => ( 0));
5664
+ this._placesTotal = _nullishCoalesce(attributes.placesTotal, () => ( 0));
5665
+ return this;
5666
+ }
5667
+ createJsonApi(_data) {
5668
+ throw new Error("StripeCouponOffer is declared by the API and is read-only");
5669
+ }
5670
+ }, _class20);
5671
+
5672
+ // src/features/billing/stripe-coupon/utils/coupon-places.ts
5673
+ function couponPlacesLeft(code, coupon) {
5674
+ const remaining = [code, coupon].filter((item) => typeof item.maxRedemptions === "number").map((item) => Math.max(0, item.maxRedemptions - (_nullishCoalesce(item.timesRedeemed, () => ( 0)))));
5675
+ return remaining.length === 0 ? null : Math.min(...remaining);
5676
+ }
5677
+ _chunk7QVYU63Ejs.__name.call(void 0, couponPlacesLeft, "couponPlacesLeft");
5678
+ function couponPlacesTotal(code, coupon) {
5679
+ const limits = [code.maxRedemptions, coupon.maxRedemptions].filter(
5680
+ (limit) => typeof limit === "number"
5681
+ );
5682
+ return limits.length === 0 ? null : Math.min(...limits);
5683
+ }
5684
+ _chunk7QVYU63Ejs.__name.call(void 0, couponPlacesTotal, "couponPlacesTotal");
5685
+
5686
+ // src/features/billing/components/utils/format-options.ts
5687
+ var DEFAULT_BILLING_LOCALE = "en-US";
5688
+
5689
+ // src/features/billing/components/utils/currency.ts
5690
+ function formatIntervalEnglish(price) {
5691
+ if (price.priceType === "one_time" || !price.recurring) {
5692
+ return "one-time";
5693
+ }
5694
+ const { interval, intervalCount } = price.recurring;
5695
+ if (intervalCount === 1) {
5696
+ return `/${interval}`;
5697
+ }
5698
+ const pluralInterval = interval === "day" ? "days" : interval === "week" ? "weeks" : interval === "month" ? "months" : "years";
5699
+ return `/${intervalCount} ${pluralInterval}`;
5700
+ }
5701
+ _chunk7QVYU63Ejs.__name.call(void 0, formatIntervalEnglish, "formatIntervalEnglish");
5702
+ function formatInterval(price, options = {}) {
5703
+ const { t } = options;
5704
+ if (!t) return formatIntervalEnglish(price);
5705
+ if (price.priceType === "one_time" || !price.recurring) {
5706
+ return t("billing.ui.interval.one_time");
5707
+ }
5708
+ const { interval, intervalCount } = price.recurring;
5709
+ if (intervalCount === 1) {
5710
+ switch (interval) {
5711
+ case "day":
5712
+ return t("billing.ui.interval.per_day");
5713
+ case "week":
5714
+ return t("billing.ui.interval.per_week");
5715
+ case "month":
5716
+ return t("billing.ui.interval.per_month");
5717
+ default:
5718
+ return t("billing.ui.interval.per_year");
5719
+ }
5720
+ }
5721
+ switch (interval) {
5722
+ case "day":
5723
+ return t("billing.ui.interval.per_days", { count: intervalCount });
5724
+ case "week":
5725
+ return t("billing.ui.interval.per_weeks", { count: intervalCount });
5726
+ case "month":
5727
+ return t("billing.ui.interval.per_months", { count: intervalCount });
5728
+ default:
5729
+ return t("billing.ui.interval.per_years", { count: intervalCount });
5730
+ }
5731
+ }
5732
+ _chunk7QVYU63Ejs.__name.call(void 0, formatInterval, "formatInterval");
5733
+ function formatCurrency(amount, currency2, options = {}) {
5734
+ const { locale } = options;
5735
+ if (amount === void 0 && !locale) return "$0.00";
5736
+ const dollars = (_nullishCoalesce(amount, () => ( 0))) / 100;
5737
+ try {
5738
+ return new Intl.NumberFormat(_nullishCoalesce(locale, () => ( DEFAULT_BILLING_LOCALE)), {
5739
+ style: "currency",
5740
+ currency: currency2.toUpperCase(),
5741
+ minimumFractionDigits: 2,
5742
+ maximumFractionDigits: 2
5743
+ }).format(dollars);
5744
+ } catch (error) {
5745
+ console.error("Error formatting currency:", error);
5746
+ return `$${dollars.toFixed(2)}`;
5747
+ }
5748
+ }
5749
+ _chunk7QVYU63Ejs.__name.call(void 0, formatCurrency, "formatCurrency");
5750
+ function formatFixed(value, locale, digits) {
5751
+ return new Intl.NumberFormat(_nullishCoalesce(locale, () => ( DEFAULT_BILLING_LOCALE)), {
5752
+ minimumFractionDigits: digits,
5753
+ maximumFractionDigits: digits,
5754
+ useGrouping: false
5755
+ }).format(value);
5756
+ }
5757
+ _chunk7QVYU63Ejs.__name.call(void 0, formatFixed, "formatFixed");
5758
+
5759
+ // src/features/billing/stripe-coupon/utils/format-coupon-discount.ts
5760
+ function formatCouponDiscount(coupon, t, fmt = {}) {
5761
+ const amount = coupon.discountType === "percent_off" ? t("billing.admin.coupons.discount.percent", { value: String(_nullishCoalesce(coupon.percentOff, () => ( 0))) }) : t("billing.admin.coupons.discount.amount", {
5762
+ amount: formatCurrency(coupon.amountOff, _nullishCoalesce(coupon.currency, () => ( "eur")), fmt)
5763
+ });
5764
+ const duration = coupon.duration === "repeating" ? t("billing.admin.coupons.discount.repeating", { months: String(_nullishCoalesce(coupon.durationInMonths, () => ( 0))) }) : coupon.duration === "once" ? t("billing.admin.coupons.discount.once") : t("billing.admin.coupons.discount.forever");
5765
+ return `${amount} ${duration}`;
5766
+ }
5767
+ _chunk7QVYU63Ejs.__name.call(void 0, formatCouponDiscount, "formatCouponDiscount");
5768
+
5769
+ // src/features/billing/stripe-coupon/utils/to-promotion-code-result.ts
5770
+ function toPromotionCodeResult(code) {
5771
+ const coupon = code.coupon;
5772
+ const discountType = _optionalChain([coupon, 'optionalAccess', _119 => _119.discountType]);
5773
+ return {
5774
+ valid: true,
5775
+ automatic: true,
5776
+ promotionCodeId: code.stripePromotionCodeId,
5777
+ code: code.code,
5778
+ discountType,
5779
+ discountValue: discountType === "amount_off" ? _optionalChain([coupon, 'optionalAccess', _120 => _120.amountOff]) : _optionalChain([coupon, 'optionalAccess', _121 => _121.percentOff]),
5780
+ currency: discountType === "amount_off" ? _optionalChain([coupon, 'optionalAccess', _122 => _122.currency]) : void 0,
5781
+ duration: _optionalChain([coupon, 'optionalAccess', _123 => _123.duration]),
5782
+ durationInMonths: _optionalChain([coupon, 'optionalAccess', _124 => _124.durationInMonths])
5783
+ };
5784
+ }
5785
+ _chunk7QVYU63Ejs.__name.call(void 0, toPromotionCodeResult, "toPromotionCodeResult");
5786
+
5787
+ // src/features/billing/stripe-coupon/stripe-coupon-offer.module.ts
5788
+ var StripeCouponOfferModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
5789
+ name: "stripe-coupon-offers",
5790
+ pageUrl: "/pricing",
5791
+ model: StripeCouponOffer,
5792
+ moduleId: "6859d6cc-b94c-4cf7-8a02-b71ad59d75d2"
5793
+ }), "StripeCouponOfferModule");
5794
+
5119
5795
  // src/features/ai-connection/data/ai-connection.ts
5120
5796
  var AiConnection = class extends AbstractApiData {
5121
5797
  static {
@@ -5402,8 +6078,8 @@ var AiConnectionService = class extends AbstractService {
5402
6078
  });
5403
6079
  return {
5404
6080
  connections: _nullishCoalesce(data, () => ( [])),
5405
- providerRegistry: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _116 => _116.providerRegistry]), () => ( {})),
5406
- envDefaults: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _117 => _117.envDefaults]), () => ( {}))
6081
+ providerRegistry: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _125 => _125.providerRegistry]), () => ( {})),
6082
+ envDefaults: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _126 => _126.envDefaults]), () => ( {}))
5407
6083
  };
5408
6084
  }
5409
6085
  /**
@@ -5460,6 +6136,7 @@ var AiConnectionService = class extends AbstractService {
5460
6136
  };
5461
6137
 
5462
6138
  // src/features/ai-connection/ai-connection.module.ts
6139
+
5463
6140
  var AiConnectionModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
5464
6141
  name: "ai-connections",
5465
6142
  // The administration route this entity is served at. `name` above stays the
@@ -5468,14 +6145,15 @@ var AiConnectionModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (f
5468
6145
  // rewrites the URL to a 404 on the first tab change.
5469
6146
  pageUrl: "/administration/ai-connections",
5470
6147
  model: AiConnection,
5471
- moduleId: "7d3f2b8a-91c4-4e6d-a5f0-2c9b8e4d1a37"
6148
+ moduleId: "7d3f2b8a-91c4-4e6d-a5f0-2c9b8e4d1a37",
6149
+ icon: _lucidereact.PlugZapIcon
5472
6150
  }), "AiConnectionModule");
5473
6151
 
5474
6152
  // src/features/company/company.module.ts
5475
- var _lucidereact = require('lucide-react');
6153
+
5476
6154
 
5477
6155
  // src/features/company/data/company.ts
5478
- var Company = (_class18 = class extends AbstractApiData {constructor(...args15) { super(...args15); _class18.prototype.__init36.call(this);_class18.prototype.__init37.call(this);_class18.prototype.__init38.call(this);_class18.prototype.__init39.call(this); }
6156
+ var Company = (_class21 = class extends AbstractApiData {constructor(...args18) { super(...args18); _class21.prototype.__init47.call(this);_class21.prototype.__init48.call(this);_class21.prototype.__init49.call(this);_class21.prototype.__init50.call(this); }
5479
6157
  static {
5480
6158
  _chunk7QVYU63Ejs.__name.call(void 0, this, "Company");
5481
6159
  }
@@ -5483,10 +6161,10 @@ var Company = (_class18 = class extends AbstractApiData {constructor(...args15)
5483
6161
 
5484
6162
 
5485
6163
 
5486
- __init36() {this._isActiveSubscription = false}
5487
- __init37() {this._monthlyCredits = 0}
5488
- __init38() {this._availableMonthlyCredits = 0}
5489
- __init39() {this._availableExtraCredits = 0}
6164
+ __init47() {this._isActiveSubscription = false}
6165
+ __init48() {this._monthlyCredits = 0}
6166
+ __init49() {this._availableMonthlyCredits = 0}
6167
+ __init50() {this._availableExtraCredits = 0}
5490
6168
 
5491
6169
 
5492
6170
 
@@ -5637,7 +6315,7 @@ var Company = (_class18 = class extends AbstractApiData {constructor(...args15)
5637
6315
  }
5638
6316
  return response;
5639
6317
  }
5640
- }, _class18);
6318
+ }, _class21);
5641
6319
 
5642
6320
  // src/features/company/data/company.fields.ts
5643
6321
  var CompanyFields = /* @__PURE__ */ ((CompanyFields2) => {
@@ -5837,8 +6515,8 @@ var ContentService = class extends AbstractService {
5837
6515
  if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
5838
6516
  if (params.search) endpoint.addAdditionalParam("search", params.search);
5839
6517
  }
5840
- if (_optionalChain([Modules, 'access', _118 => _118.Content, 'access', _119 => _119.inclusions, 'optionalAccess', _120 => _120.lists, 'optionalAccess', _121 => _121.fields])) endpoint.limitToFields(Modules.Content.inclusions.lists.fields);
5841
- if (_optionalChain([Modules, 'access', _122 => _122.Content, 'access', _123 => _123.inclusions, 'optionalAccess', _124 => _124.lists, 'optionalAccess', _125 => _125.types])) endpoint.limitToType(Modules.Content.inclusions.lists.types);
6518
+ if (_optionalChain([Modules, 'access', _127 => _127.Content, 'access', _128 => _128.inclusions, 'optionalAccess', _129 => _129.lists, 'optionalAccess', _130 => _130.fields])) endpoint.limitToFields(Modules.Content.inclusions.lists.fields);
6519
+ if (_optionalChain([Modules, 'access', _131 => _131.Content, 'access', _132 => _132.inclusions, 'optionalAccess', _133 => _133.lists, 'optionalAccess', _134 => _134.types])) endpoint.limitToType(Modules.Content.inclusions.lists.types);
5842
6520
  return this.callApi({
5843
6521
  type: Modules.Content,
5844
6522
  method: "GET" /* GET */,
@@ -5852,8 +6530,8 @@ var ContentService = class extends AbstractService {
5852
6530
  id: params.id,
5853
6531
  childEndpoint: "relevance"
5854
6532
  });
5855
- if (_optionalChain([Modules, 'access', _126 => _126.Content, 'access', _127 => _127.inclusions, 'optionalAccess', _128 => _128.lists, 'optionalAccess', _129 => _129.fields])) endpoint.limitToFields(Modules.Content.inclusions.lists.fields);
5856
- if (_optionalChain([Modules, 'access', _130 => _130.Content, 'access', _131 => _131.inclusions, 'optionalAccess', _132 => _132.lists, 'optionalAccess', _133 => _133.types])) endpoint.limitToType(Modules.Content.inclusions.lists.types);
6533
+ if (_optionalChain([Modules, 'access', _135 => _135.Content, 'access', _136 => _136.inclusions, 'optionalAccess', _137 => _137.lists, 'optionalAccess', _138 => _138.fields])) endpoint.limitToFields(Modules.Content.inclusions.lists.fields);
6534
+ if (_optionalChain([Modules, 'access', _139 => _139.Content, 'access', _140 => _140.inclusions, 'optionalAccess', _141 => _141.lists, 'optionalAccess', _142 => _142.types])) endpoint.limitToType(Modules.Content.inclusions.lists.types);
5857
6535
  return this.callApi({
5858
6536
  type: Modules.Content,
5859
6537
  method: "GET" /* GET */,
@@ -5869,8 +6547,8 @@ var ContentService = class extends AbstractService {
5869
6547
  });
5870
6548
  if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
5871
6549
  if (params.search) endpoint.addAdditionalParam("search", params.search);
5872
- if (_optionalChain([Modules, 'access', _134 => _134.Content, 'access', _135 => _135.inclusions, 'optionalAccess', _136 => _136.lists, 'optionalAccess', _137 => _137.fields])) endpoint.limitToFields(Modules.Content.inclusions.lists.fields);
5873
- if (_optionalChain([Modules, 'access', _138 => _138.Content, 'access', _139 => _139.inclusions, 'optionalAccess', _140 => _140.lists, 'optionalAccess', _141 => _141.types])) endpoint.limitToType(Modules.Content.inclusions.lists.types);
6550
+ if (_optionalChain([Modules, 'access', _143 => _143.Content, 'access', _144 => _144.inclusions, 'optionalAccess', _145 => _145.lists, 'optionalAccess', _146 => _146.fields])) endpoint.limitToFields(Modules.Content.inclusions.lists.fields);
6551
+ if (_optionalChain([Modules, 'access', _147 => _147.Content, 'access', _148 => _148.inclusions, 'optionalAccess', _149 => _149.lists, 'optionalAccess', _150 => _150.types])) endpoint.limitToType(Modules.Content.inclusions.lists.types);
5874
6552
  return this.callApi({
5875
6553
  type: Modules.Content,
5876
6554
  method: "GET" /* GET */,
@@ -6063,8 +6741,8 @@ var HowToService = class extends AbstractService {
6063
6741
  const endpoint = new EndpointCreator({ endpoint: Modules.HowTo });
6064
6742
  if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
6065
6743
  if (params.search) endpoint.addAdditionalParam("search", params.search);
6066
- if (_optionalChain([Modules, 'access', _142 => _142.HowTo, 'access', _143 => _143.inclusions, 'optionalAccess', _144 => _144.lists, 'optionalAccess', _145 => _145.fields])) endpoint.limitToFields(Modules.HowTo.inclusions.lists.fields);
6067
- if (_optionalChain([Modules, 'access', _146 => _146.HowTo, 'access', _147 => _147.inclusions, 'optionalAccess', _148 => _148.lists, 'optionalAccess', _149 => _149.types])) endpoint.limitToType(Modules.HowTo.inclusions.lists.types);
6744
+ if (_optionalChain([Modules, 'access', _151 => _151.HowTo, 'access', _152 => _152.inclusions, 'optionalAccess', _153 => _153.lists, 'optionalAccess', _154 => _154.fields])) endpoint.limitToFields(Modules.HowTo.inclusions.lists.fields);
6745
+ if (_optionalChain([Modules, 'access', _155 => _155.HowTo, 'access', _156 => _156.inclusions, 'optionalAccess', _157 => _157.lists, 'optionalAccess', _158 => _158.types])) endpoint.limitToType(Modules.HowTo.inclusions.lists.types);
6068
6746
  return this.callApi({
6069
6747
  type: Modules.HowTo,
6070
6748
  method: "GET" /* GET */,
@@ -6169,7 +6847,7 @@ var HowToService = class extends AbstractService {
6169
6847
 
6170
6848
 
6171
6849
  // src/features/email-automation/data/EmailAutomation.ts
6172
- var EmailAutomation = (_class19 = class extends AbstractApiData {constructor(...args16) { super(...args16); _class19.prototype.__init40.call(this); }
6850
+ var EmailAutomation = (_class22 = class extends AbstractApiData {constructor(...args19) { super(...args19); _class22.prototype.__init51.call(this); }
6173
6851
  static {
6174
6852
  _chunk7QVYU63Ejs.__name.call(void 0, this, "EmailAutomation");
6175
6853
  }
@@ -6177,7 +6855,7 @@ var EmailAutomation = (_class19 = class extends AbstractApiData {constructor(...
6177
6855
 
6178
6856
 
6179
6857
 
6180
- __init40() {this._isActive = false}
6858
+ __init51() {this._isActive = false}
6181
6859
 
6182
6860
 
6183
6861
 
@@ -6240,7 +6918,7 @@ var EmailAutomation = (_class19 = class extends AbstractApiData {constructor(...
6240
6918
  if (data.isActive !== void 0) response.data.attributes.isActive = data.isActive;
6241
6919
  return response;
6242
6920
  }
6243
- }, _class19);
6921
+ }, _class22);
6244
6922
 
6245
6923
  // src/features/email-automation/EmailAutomationModule.ts
6246
6924
  var EmailAutomationModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
@@ -6372,13 +7050,13 @@ var EmailAutomationStepModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(voi
6372
7050
 
6373
7051
  // src/features/email-automation/data/EmailAutomationEnrollment.ts
6374
7052
  var EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = "email-automation-unsubscribes";
6375
- var EmailAutomationEnrollment = (_class20 = class extends AbstractApiData {constructor(...args17) { super(...args17); _class20.prototype.__init41.call(this); }
7053
+ var EmailAutomationEnrollment = (_class23 = class extends AbstractApiData {constructor(...args20) { super(...args20); _class23.prototype.__init52.call(this); }
6376
7054
  static {
6377
7055
  _chunk7QVYU63Ejs.__name.call(void 0, this, "EmailAutomationEnrollment");
6378
7056
  }
6379
7057
 
6380
7058
 
6381
- __init41() {this._status = "active"}
7059
+ __init52() {this._status = "active"}
6382
7060
 
6383
7061
 
6384
7062
 
@@ -6452,7 +7130,7 @@ var EmailAutomationEnrollment = (_class20 = class extends AbstractApiData {const
6452
7130
  }
6453
7131
  };
6454
7132
  }
6455
- }, _class20);
7133
+ }, _class23);
6456
7134
 
6457
7135
  // src/features/email-automation/EmailAutomationEnrollmentModule.ts
6458
7136
  var EmailAutomationEnrollmentModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
@@ -6504,9 +7182,9 @@ var EmailAutomationService = class extends AbstractService {
6504
7182
  }
6505
7183
  static async findMany(params = {}) {
6506
7184
  const endpoint = new EndpointCreator({ endpoint: Modules.EmailAutomation });
6507
- if (_optionalChain([Modules, 'access', _150 => _150.EmailAutomation, 'access', _151 => _151.inclusions, 'optionalAccess', _152 => _152.lists, 'optionalAccess', _153 => _153.fields]))
7185
+ if (_optionalChain([Modules, 'access', _159 => _159.EmailAutomation, 'access', _160 => _160.inclusions, 'optionalAccess', _161 => _161.lists, 'optionalAccess', _162 => _162.fields]))
6508
7186
  endpoint.limitToFields(Modules.EmailAutomation.inclusions.lists.fields);
6509
- if (_optionalChain([Modules, 'access', _154 => _154.EmailAutomation, 'access', _155 => _155.inclusions, 'optionalAccess', _156 => _156.lists, 'optionalAccess', _157 => _157.types]))
7187
+ if (_optionalChain([Modules, 'access', _163 => _163.EmailAutomation, 'access', _164 => _164.inclusions, 'optionalAccess', _165 => _165.lists, 'optionalAccess', _166 => _166.types]))
6510
7188
  endpoint.limitToType(Modules.EmailAutomation.inclusions.lists.types);
6511
7189
  return this.callApi({
6512
7190
  type: Modules.EmailAutomation,
@@ -7106,7 +7784,7 @@ var BlogSettings = class extends AbstractApiData {
7106
7784
  }
7107
7785
  rehydrate(data) {
7108
7786
  super.rehydrate(data);
7109
- const listLayout = _optionalChain([data, 'access', _158 => _158.jsonApi, 'access', _159 => _159.attributes, 'optionalAccess', _160 => _160.listLayout]);
7787
+ const listLayout = _optionalChain([data, 'access', _167 => _167.jsonApi, 'access', _168 => _168.attributes, 'optionalAccess', _169 => _169.listLayout]);
7110
7788
  this._listLayout = BLOG_LIST_LAYOUTS.includes(listLayout) ? listLayout : void 0;
7111
7789
  return this;
7112
7790
  }
@@ -7603,7 +8281,7 @@ var HandbookSectionModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
7603
8281
 
7604
8282
  // src/features/handbook/data/HandbookThreadMessage.ts
7605
8283
 
7606
- var HandbookThreadMessage = (_class21 = class _HandbookThreadMessage extends AbstractApiData {constructor(...args18) { super(...args18); _class21.prototype.__init42.call(this); }
8284
+ var HandbookThreadMessage = (_class24 = class _HandbookThreadMessage extends AbstractApiData {constructor(...args21) { super(...args21); _class24.prototype.__init53.call(this); }
7607
8285
  static {
7608
8286
  _chunk7QVYU63Ejs.__name.call(void 0, this, "HandbookThreadMessage");
7609
8287
  }
@@ -7611,7 +8289,7 @@ var HandbookThreadMessage = (_class21 = class _HandbookThreadMessage extends Abs
7611
8289
 
7612
8290
 
7613
8291
 
7614
- __init42() {this._isOptimistic = false}
8292
+ __init53() {this._isOptimistic = false}
7615
8293
  get role() {
7616
8294
  return _nullishCoalesce(this._role, () => ( "assistant"));
7617
8295
  }
@@ -7709,7 +8387,7 @@ var HandbookThreadMessage = (_class21 = class _HandbookThreadMessage extends Abs
7709
8387
  message._isOptimistic = _nullishCoalesce(params.isOptimistic, () => ( false));
7710
8388
  return message;
7711
8389
  }
7712
- }, _class21);
8390
+ }, _class24);
7713
8391
 
7714
8392
  // src/features/handbook/HandbookThreadMessageModule.ts
7715
8393
  var HandbookThreadMessageModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
@@ -7763,7 +8441,7 @@ var HandbookThread = class extends AbstractApiData {
7763
8441
  super.rehydrate(data);
7764
8442
  const attributes = _nullishCoalesce(data.jsonApi.attributes, () => ( {}));
7765
8443
  this._title = attributes.title;
7766
- const fromMeta = _optionalChain([data, 'access', _161 => _161.jsonApi, 'access', _162 => _162.meta, 'optionalAccess', _163 => _163.messageCount]);
8444
+ const fromMeta = _optionalChain([data, 'access', _170 => _170.jsonApi, 'access', _171 => _171.meta, 'optionalAccess', _172 => _172.messageCount]);
7767
8445
  this._messageCount = typeof fromMeta === "number" ? fromMeta : typeof attributes.messageCount === "number" ? attributes.messageCount : 0;
7768
8446
  const messages = this._readIncluded(
7769
8447
  data,
@@ -7886,9 +8564,9 @@ var HandbookPageService = class extends AbstractService {
7886
8564
  const endpoint = new EndpointCreator({ endpoint: Modules.HandbookPage });
7887
8565
  if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
7888
8566
  if (params.search) endpoint.addAdditionalParam("search", params.search);
7889
- if (_optionalChain([Modules, 'access', _164 => _164.HandbookPage, 'access', _165 => _165.inclusions, 'optionalAccess', _166 => _166.lists, 'optionalAccess', _167 => _167.fields]))
8567
+ if (_optionalChain([Modules, 'access', _173 => _173.HandbookPage, 'access', _174 => _174.inclusions, 'optionalAccess', _175 => _175.lists, 'optionalAccess', _176 => _176.fields]))
7890
8568
  endpoint.limitToFields(Modules.HandbookPage.inclusions.lists.fields);
7891
- if (_optionalChain([Modules, 'access', _168 => _168.HandbookPage, 'access', _169 => _169.inclusions, 'optionalAccess', _170 => _170.lists, 'optionalAccess', _171 => _171.types]))
8569
+ if (_optionalChain([Modules, 'access', _177 => _177.HandbookPage, 'access', _178 => _178.inclusions, 'optionalAccess', _179 => _179.lists, 'optionalAccess', _180 => _180.types]))
7892
8570
  endpoint.limitToType(Modules.HandbookPage.inclusions.lists.types);
7893
8571
  return this.callApi({
7894
8572
  type: Modules.HandbookPage,
@@ -7937,7 +8615,7 @@ var HandbookSectionService = class extends AbstractService {
7937
8615
  static async findMany() {
7938
8616
  const endpoint = new EndpointCreator({ endpoint: Modules.HandbookSection });
7939
8617
  endpoint.addAdditionalParam("fetchAll", "true");
7940
- if (_optionalChain([Modules, 'access', _172 => _172.HandbookSection, 'access', _173 => _173.inclusions, 'optionalAccess', _174 => _174.lists, 'optionalAccess', _175 => _175.fields]))
8618
+ if (_optionalChain([Modules, 'access', _181 => _181.HandbookSection, 'access', _182 => _182.inclusions, 'optionalAccess', _183 => _183.lists, 'optionalAccess', _184 => _184.fields]))
7941
8619
  endpoint.limitToFields(Modules.HandbookSection.inclusions.lists.fields);
7942
8620
  return this.callApi({
7943
8621
  type: Modules.HandbookSection,
@@ -7994,9 +8672,9 @@ var HandbookThreadService = class extends AbstractService {
7994
8672
  const endpoint = new EndpointCreator({ endpoint: Modules.HandbookThread });
7995
8673
  if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
7996
8674
  if (params.search) endpoint.addAdditionalParam("search", params.search);
7997
- if (_optionalChain([Modules, 'access', _176 => _176.HandbookThread, 'access', _177 => _177.inclusions, 'optionalAccess', _178 => _178.lists, 'optionalAccess', _179 => _179.fields]))
8675
+ if (_optionalChain([Modules, 'access', _185 => _185.HandbookThread, 'access', _186 => _186.inclusions, 'optionalAccess', _187 => _187.lists, 'optionalAccess', _188 => _188.fields]))
7998
8676
  endpoint.limitToFields(Modules.HandbookThread.inclusions.lists.fields);
7999
- if (_optionalChain([Modules, 'access', _180 => _180.HandbookThread, 'access', _181 => _181.inclusions, 'optionalAccess', _182 => _182.lists, 'optionalAccess', _183 => _183.types]))
8677
+ if (_optionalChain([Modules, 'access', _189 => _189.HandbookThread, 'access', _190 => _190.inclusions, 'optionalAccess', _191 => _191.lists, 'optionalAccess', _192 => _192.types]))
8000
8678
  endpoint.limitToType(Modules.HandbookThread.inclusions.lists.types);
8001
8679
  return this.callApi({
8002
8680
  type: Modules.HandbookThread,
@@ -8083,15 +8761,15 @@ var Assistant = class extends AbstractApiData {
8083
8761
  }
8084
8762
  rehydrate(data) {
8085
8763
  super.rehydrate(data);
8086
- this._title = _optionalChain([data, 'access', _184 => _184.jsonApi, 'access', _185 => _185.attributes, 'optionalAccess', _186 => _186.title]);
8087
- this._engine = _optionalChain([data, 'access', _187 => _187.jsonApi, 'access', _188 => _188.attributes, 'optionalAccess', _189 => _189.engine]);
8088
- const fromMeta = _optionalChain([data, 'access', _190 => _190.jsonApi, 'access', _191 => _191.meta, 'optionalAccess', _192 => _192.messageCount]);
8089
- const fromAttrs = _optionalChain([data, 'access', _193 => _193.jsonApi, 'access', _194 => _194.attributes, 'optionalAccess', _195 => _195.messageCount]);
8764
+ this._title = _optionalChain([data, 'access', _193 => _193.jsonApi, 'access', _194 => _194.attributes, 'optionalAccess', _195 => _195.title]);
8765
+ this._engine = _optionalChain([data, 'access', _196 => _196.jsonApi, 'access', _197 => _197.attributes, 'optionalAccess', _198 => _198.engine]);
8766
+ const fromMeta = _optionalChain([data, 'access', _199 => _199.jsonApi, 'access', _200 => _200.meta, 'optionalAccess', _201 => _201.messageCount]);
8767
+ const fromAttrs = _optionalChain([data, 'access', _202 => _202.jsonApi, 'access', _203 => _203.attributes, 'optionalAccess', _204 => _204.messageCount]);
8090
8768
  this._messageCount = typeof fromMeta === "number" ? fromMeta : typeof fromAttrs === "number" ? fromAttrs : 0;
8091
- const contentLinkage = _optionalChain([data, 'access', _196 => _196.jsonApi, 'access', _197 => _197.relationships, 'optionalAccess', _198 => _198.content, 'optionalAccess', _199 => _199.data]);
8769
+ const contentLinkage = _optionalChain([data, 'access', _205 => _205.jsonApi, 'access', _206 => _206.relationships, 'optionalAccess', _207 => _207.content, 'optionalAccess', _208 => _208.data]);
8092
8770
  const boundContent = Array.isArray(contentLinkage) ? contentLinkage[0] : contentLinkage;
8093
- this._boundContentType = _optionalChain([boundContent, 'optionalAccess', _200 => _200.type]);
8094
- this._boundContentId = _optionalChain([boundContent, 'optionalAccess', _201 => _201.id]);
8771
+ this._boundContentType = _optionalChain([boundContent, 'optionalAccess', _209 => _209.type]);
8772
+ this._boundContentId = _optionalChain([boundContent, 'optionalAccess', _210 => _210.id]);
8095
8773
  return this;
8096
8774
  }
8097
8775
  createJsonApi(data) {
@@ -8149,7 +8827,7 @@ function resolveReferenceableModules() {
8149
8827
  _chunk7QVYU63Ejs.__name.call(void 0, resolveReferenceableModules, "resolveReferenceableModules");
8150
8828
 
8151
8829
  // src/features/assistant-message/data/AssistantMessage.ts
8152
- var AssistantMessage = (_class22 = class _AssistantMessage extends AbstractApiData {constructor(...args19) { super(...args19); _class22.prototype.__init43.call(this); }
8830
+ var AssistantMessage = (_class25 = class _AssistantMessage extends AbstractApiData {constructor(...args22) { super(...args22); _class25.prototype.__init54.call(this); }
8153
8831
  static {
8154
8832
  _chunk7QVYU63Ejs.__name.call(void 0, this, "AssistantMessage");
8155
8833
  }
@@ -8161,7 +8839,7 @@ var AssistantMessage = (_class22 = class _AssistantMessage extends AbstractApiDa
8161
8839
 
8162
8840
 
8163
8841
 
8164
- __init43() {this._isOptimistic = false}
8842
+ __init54() {this._isOptimistic = false}
8165
8843
 
8166
8844
 
8167
8845
  get role() {
@@ -8207,11 +8885,11 @@ var AssistantMessage = (_class22 = class _AssistantMessage extends AbstractApiDa
8207
8885
  this._inputTokens = attrs.inputTokens;
8208
8886
  this._outputTokens = attrs.outputTokens;
8209
8887
  this._messageType = attrs.messageType;
8210
- const actionRelationship = _optionalChain([data, 'access', _202 => _202.jsonApi, 'access', _203 => _203.relationships, 'optionalAccess', _204 => _204.action, 'optionalAccess', _205 => _205.data]);
8211
- this._actionId = Array.isArray(actionRelationship) ? _optionalChain([actionRelationship, 'access', _206 => _206[0], 'optionalAccess', _207 => _207.id]) : _optionalChain([actionRelationship, 'optionalAccess', _208 => _208.id]);
8888
+ const actionRelationship = _optionalChain([data, 'access', _211 => _211.jsonApi, 'access', _212 => _212.relationships, 'optionalAccess', _213 => _213.action, 'optionalAccess', _214 => _214.data]);
8889
+ this._actionId = Array.isArray(actionRelationship) ? _optionalChain([actionRelationship, 'access', _215 => _215[0], 'optionalAccess', _216 => _216.id]) : _optionalChain([actionRelationship, 'optionalAccess', _217 => _217.id]);
8212
8890
  const refs = this._readIncludedPolymorphic(data, "references", resolveReferenceableModules());
8213
8891
  this._references = Array.isArray(refs) ? refs : refs ? [refs] : [];
8214
- if (_optionalChain([data, 'access', _209 => _209.jsonApi, 'access', _210 => _210.relationships, 'optionalAccess', _211 => _211.citations, 'optionalAccess', _212 => _212.data])) {
8892
+ if (_optionalChain([data, 'access', _218 => _218.jsonApi, 'access', _219 => _219.relationships, 'optionalAccess', _220 => _220.citations, 'optionalAccess', _221 => _221.data])) {
8215
8893
  const citations = this._readIncludedWithMeta(
8216
8894
  data,
8217
8895
  "citations",
@@ -8298,7 +8976,7 @@ var AssistantMessage = (_class22 = class _AssistantMessage extends AbstractApiDa
8298
8976
  msg._isOptimistic = _nullishCoalesce(params.isOptimistic, () => ( false));
8299
8977
  return msg;
8300
8978
  }
8301
- }, _class22);
8979
+ }, _class25);
8302
8980
 
8303
8981
  // src/features/assistant/data/AssistantService.ts
8304
8982
  var AssistantService = class extends AbstractService {
@@ -8467,9 +9145,9 @@ var AssistantMessageService = class extends AbstractService {
8467
9145
  id: params.assistantId,
8468
9146
  childEndpoint: Modules.AssistantMessage
8469
9147
  });
8470
- if (_optionalChain([Modules, 'access', _213 => _213.AssistantMessage, 'access', _214 => _214.inclusions, 'optionalAccess', _215 => _215.lists, 'optionalAccess', _216 => _216.fields]))
9148
+ if (_optionalChain([Modules, 'access', _222 => _222.AssistantMessage, 'access', _223 => _223.inclusions, 'optionalAccess', _224 => _224.lists, 'optionalAccess', _225 => _225.fields]))
8471
9149
  endpoint.limitToFields(Modules.AssistantMessage.inclusions.lists.fields);
8472
- if (_optionalChain([Modules, 'access', _217 => _217.AssistantMessage, 'access', _218 => _218.inclusions, 'optionalAccess', _219 => _219.lists, 'optionalAccess', _220 => _220.types]))
9150
+ if (_optionalChain([Modules, 'access', _226 => _226.AssistantMessage, 'access', _227 => _227.inclusions, 'optionalAccess', _228 => _228.lists, 'optionalAccess', _229 => _229.types]))
8473
9151
  endpoint.limitToType(Modules.AssistantMessage.inclusions.lists.types);
8474
9152
  return this.callApi({
8475
9153
  type: Modules.AssistantMessage,
@@ -8483,9 +9161,9 @@ var AssistantMessageService = class extends AbstractService {
8483
9161
  endpoint: Modules.AssistantMessage,
8484
9162
  id: params.id
8485
9163
  });
8486
- if (_optionalChain([Modules, 'access', _221 => _221.AssistantMessage, 'access', _222 => _222.inclusions, 'optionalAccess', _223 => _223.lists, 'optionalAccess', _224 => _224.fields]))
9164
+ if (_optionalChain([Modules, 'access', _230 => _230.AssistantMessage, 'access', _231 => _231.inclusions, 'optionalAccess', _232 => _232.lists, 'optionalAccess', _233 => _233.fields]))
8487
9165
  endpoint.limitToFields(Modules.AssistantMessage.inclusions.lists.fields);
8488
- if (_optionalChain([Modules, 'access', _225 => _225.AssistantMessage, 'access', _226 => _226.inclusions, 'optionalAccess', _227 => _227.lists, 'optionalAccess', _228 => _228.types]))
9166
+ if (_optionalChain([Modules, 'access', _234 => _234.AssistantMessage, 'access', _235 => _235.inclusions, 'optionalAccess', _236 => _236.lists, 'optionalAccess', _237 => _237.types]))
8489
9167
  endpoint.limitToType(Modules.AssistantMessage.inclusions.lists.types);
8490
9168
  return this.callApi({
8491
9169
  type: Modules.AssistantMessage,
@@ -8691,13 +9369,13 @@ var ChunkModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory)
8691
9369
  }), "ChunkModule");
8692
9370
 
8693
9371
  // src/features/feature/data/feature.ts
8694
- var Feature = (_class23 = class extends AbstractApiData {constructor(...args20) { super(...args20); _class23.prototype.__init44.call(this); }
9372
+ var Feature = (_class26 = class extends AbstractApiData {constructor(...args23) { super(...args23); _class26.prototype.__init55.call(this); }
8695
9373
  static {
8696
9374
  _chunk7QVYU63Ejs.__name.call(void 0, this, "Feature");
8697
9375
  }
8698
9376
 
8699
9377
 
8700
- __init44() {this._modules = []}
9378
+ __init55() {this._modules = []}
8701
9379
  get name() {
8702
9380
  return _nullishCoalesce(this._name, () => ( ""));
8703
9381
  }
@@ -8714,7 +9392,7 @@ var Feature = (_class23 = class extends AbstractApiData {constructor(...args20)
8714
9392
  this._modules = this._readIncluded(data, `modules`, Modules.Module);
8715
9393
  return this;
8716
9394
  }
8717
- }, _class23);
9395
+ }, _class26);
8718
9396
 
8719
9397
  // src/features/feature/data/feature.service.ts
8720
9398
  var FeatureService = class extends AbstractService {
@@ -8810,10 +9488,10 @@ var Notification = class extends AbstractApiData {
8810
9488
  this._message = data.jsonApi.attributes.message;
8811
9489
  this._actionUrl = data.jsonApi.attributes.actionUrl;
8812
9490
  const rels = _nullishCoalesce(data.jsonApi.relationships, () => ( {}));
8813
- const actorType = _optionalChain([rels, 'access', _229 => _229.actor, 'optionalAccess', _230 => _230.data, 'optionalAccess', _231 => _231.type]);
9491
+ const actorType = _optionalChain([rels, 'access', _238 => _238.actor, 'optionalAccess', _239 => _239.data, 'optionalAccess', _240 => _240.type]);
8814
9492
  this._actor = actorType ? this._readIncluded(data, "actor", Modules.findByName(actorType)) : void 0;
8815
- const subjectName = Object.keys(rels).find((name) => name !== "actor" && _optionalChain([rels, 'access', _232 => _232[name], 'optionalAccess', _233 => _233.data, 'optionalAccess', _234 => _234.type]));
8816
- const subjectType = subjectName ? _optionalChain([rels, 'access', _235 => _235[subjectName], 'optionalAccess', _236 => _236.data, 'optionalAccess', _237 => _237.type]) : void 0;
9493
+ const subjectName = Object.keys(rels).find((name) => name !== "actor" && _optionalChain([rels, 'access', _241 => _241[name], 'optionalAccess', _242 => _242.data, 'optionalAccess', _243 => _243.type]));
9494
+ const subjectType = subjectName ? _optionalChain([rels, 'access', _244 => _244[subjectName], 'optionalAccess', _245 => _245.data, 'optionalAccess', _246 => _246.type]) : void 0;
8817
9495
  this._subject = subjectName && subjectType ? this._readIncluded(data, subjectName, Modules.findByName(subjectType)) : void 0;
8818
9496
  return this;
8819
9497
  }
@@ -9194,7 +9872,7 @@ var S3Service = class extends AbstractService {
9194
9872
  };
9195
9873
 
9196
9874
  // src/features/user/data/user.ts
9197
- var User = (_class24 = class extends AbstractApiData {constructor(...args21) { super(...args21); _class24.prototype.__init45.call(this);_class24.prototype.__init46.call(this);_class24.prototype.__init47.call(this); }
9875
+ var User = (_class27 = class extends AbstractApiData {constructor(...args24) { super(...args24); _class27.prototype.__init56.call(this);_class27.prototype.__init57.call(this);_class27.prototype.__init58.call(this); }
9198
9876
  static {
9199
9877
  _chunk7QVYU63Ejs.__name.call(void 0, this, "User");
9200
9878
  }
@@ -9209,12 +9887,12 @@ var User = (_class24 = class extends AbstractApiData {constructor(...args21) { s
9209
9887
 
9210
9888
 
9211
9889
 
9212
- __init45() {this._twoFactorEnabled = false}
9890
+ __init56() {this._twoFactorEnabled = false}
9213
9891
 
9214
9892
 
9215
- __init46() {this._roles = []}
9893
+ __init57() {this._roles = []}
9216
9894
 
9217
- __init47() {this._modules = []}
9895
+ __init58() {this._modules = []}
9218
9896
  get searchResult() {
9219
9897
  return _nullishCoalesce(this._name, () => ( ""));
9220
9898
  }
@@ -9330,7 +10008,7 @@ var User = (_class24 = class extends AbstractApiData {constructor(...args21) { s
9330
10008
  }
9331
10009
  return response;
9332
10010
  }
9333
- }, _class24);
10011
+ }, _class27);
9334
10012
 
9335
10013
  // src/features/user/data/user.fields.ts
9336
10014
  var UserFields = /* @__PURE__ */ ((UserFields2) => {
@@ -9400,8 +10078,8 @@ var UserService = class extends AbstractService {
9400
10078
  id: params.id,
9401
10079
  childEndpoint: "user-relevance"
9402
10080
  });
9403
- if (_optionalChain([Modules, 'access', _238 => _238.User, 'access', _239 => _239.inclusions, 'optionalAccess', _240 => _240.lists, 'optionalAccess', _241 => _241.fields])) endpoint.limitToFields(Modules.User.inclusions.lists.fields);
9404
- if (_optionalChain([Modules, 'access', _242 => _242.User, 'access', _243 => _243.inclusions, 'optionalAccess', _244 => _244.lists, 'optionalAccess', _245 => _245.types])) endpoint.limitToType(Modules.User.inclusions.lists.types);
10081
+ if (_optionalChain([Modules, 'access', _247 => _247.User, 'access', _248 => _248.inclusions, 'optionalAccess', _249 => _249.lists, 'optionalAccess', _250 => _250.fields])) endpoint.limitToFields(Modules.User.inclusions.lists.fields);
10082
+ if (_optionalChain([Modules, 'access', _251 => _251.User, 'access', _252 => _252.inclusions, 'optionalAccess', _253 => _253.lists, 'optionalAccess', _254 => _254.types])) endpoint.limitToType(Modules.User.inclusions.lists.types);
9405
10083
  return this.callApi({
9406
10084
  type: Modules.User,
9407
10085
  method: "GET" /* GET */,
@@ -9579,18 +10257,18 @@ var UserModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory)
9579
10257
  }), "UserModule");
9580
10258
 
9581
10259
  // src/features/oauth/data/oauth.ts
9582
- var OAuthClient = (_class25 = class extends AbstractApiData {constructor(...args22) { super(...args22); _class25.prototype.__init48.call(this);_class25.prototype.__init49.call(this);_class25.prototype.__init50.call(this);_class25.prototype.__init51.call(this);_class25.prototype.__init52.call(this); }
10260
+ var OAuthClient = (_class28 = class extends AbstractApiData {constructor(...args25) { super(...args25); _class28.prototype.__init59.call(this);_class28.prototype.__init60.call(this);_class28.prototype.__init61.call(this);_class28.prototype.__init62.call(this);_class28.prototype.__init63.call(this); }
9583
10261
  static {
9584
10262
  _chunk7QVYU63Ejs.__name.call(void 0, this, "OAuthClient");
9585
10263
  }
9586
10264
 
9587
10265
 
9588
10266
 
9589
- __init48() {this._redirectUris = []}
9590
- __init49() {this._allowedScopes = []}
9591
- __init50() {this._allowedGrantTypes = []}
9592
- __init51() {this._isConfidential = true}
9593
- __init52() {this._isActive = true}
10267
+ __init59() {this._redirectUris = []}
10268
+ __init60() {this._allowedScopes = []}
10269
+ __init61() {this._allowedGrantTypes = []}
10270
+ __init62() {this._isConfidential = true}
10271
+ __init63() {this._isActive = true}
9594
10272
  get clientId() {
9595
10273
  return _nullishCoalesce(this._clientId, () => ( this.id));
9596
10274
  }
@@ -9673,7 +10351,7 @@ var OAuthClient = (_class25 = class extends AbstractApiData {constructor(...args
9673
10351
  state: params.state
9674
10352
  };
9675
10353
  }
9676
- }, _class25);
10354
+ }, _class28);
9677
10355
 
9678
10356
  // src/features/oauth/oauth.module.ts
9679
10357
  var OAuthModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
@@ -9698,7 +10376,7 @@ var OAuthService = class extends AbstractService {
9698
10376
  type: Modules.OAuth,
9699
10377
  method: "GET" /* GET */,
9700
10378
  endpoint: new EndpointCreator({ endpoint: "oauth/clients" }).generate(),
9701
- next: _optionalChain([params, 'optionalAccess', _246 => _246.next])
10379
+ next: _optionalChain([params, 'optionalAccess', _255 => _255.next])
9702
10380
  });
9703
10381
  }
9704
10382
  /**
@@ -9724,7 +10402,7 @@ var OAuthService = class extends AbstractService {
9724
10402
  });
9725
10403
  return {
9726
10404
  client: result.data,
9727
- clientSecret: _optionalChain([result, 'access', _247 => _247.meta, 'optionalAccess', _248 => _248.clientSecret])
10405
+ clientSecret: _optionalChain([result, 'access', _256 => _256.meta, 'optionalAccess', _257 => _257.clientSecret])
9728
10406
  };
9729
10407
  }
9730
10408
  /**
@@ -9763,7 +10441,7 @@ var OAuthService = class extends AbstractService {
9763
10441
  }).generate()
9764
10442
  });
9765
10443
  return {
9766
- clientSecret: _optionalChain([result, 'access', _249 => _249.meta, 'optionalAccess', _250 => _250.clientSecret])
10444
+ clientSecret: _optionalChain([result, 'access', _258 => _258.meta, 'optionalAccess', _259 => _259.clientSecret])
9767
10445
  };
9768
10446
  }
9769
10447
  // ==========================================
@@ -9800,7 +10478,7 @@ var OAuthService = class extends AbstractService {
9800
10478
  overridesJsonApiCreation: true
9801
10479
  });
9802
10480
  return {
9803
- redirectUrl: _optionalChain([result, 'access', _251 => _251.meta, 'optionalAccess', _252 => _252.redirectUrl])
10481
+ redirectUrl: _optionalChain([result, 'access', _260 => _260.meta, 'optionalAccess', _261 => _261.redirectUrl])
9804
10482
  };
9805
10483
  }
9806
10484
  /**
@@ -9816,7 +10494,7 @@ var OAuthService = class extends AbstractService {
9816
10494
  overridesJsonApiCreation: true
9817
10495
  });
9818
10496
  return {
9819
- redirectUrl: _optionalChain([result, 'access', _253 => _253.meta, 'optionalAccess', _254 => _254.redirectUrl])
10497
+ redirectUrl: _optionalChain([result, 'access', _262 => _262.meta, 'optionalAccess', _263 => _263.redirectUrl])
9820
10498
  };
9821
10499
  }
9822
10500
  };
@@ -9858,17 +10536,17 @@ var AVAILABLE_OAUTH_SCOPES = Object.values(OAUTH_SCOPE_DISPLAY);
9858
10536
  var DEFAULT_GRANT_TYPES = ["authorization_code", "refresh_token"];
9859
10537
 
9860
10538
  // src/features/waitlist/data/Waitlist.ts
9861
- var Waitlist = (_class26 = class extends AbstractApiData {constructor(...args23) { super(...args23); _class26.prototype.__init53.call(this);_class26.prototype.__init54.call(this); }
10539
+ var Waitlist = (_class29 = class extends AbstractApiData {constructor(...args26) { super(...args26); _class29.prototype.__init64.call(this);_class29.prototype.__init65.call(this); }
9862
10540
  static {
9863
10541
  _chunk7QVYU63Ejs.__name.call(void 0, this, "Waitlist");
9864
10542
  }
9865
10543
 
9866
- __init53() {this._gdprConsent = false}
10544
+ __init64() {this._gdprConsent = false}
9867
10545
 
9868
10546
 
9869
10547
 
9870
10548
 
9871
- __init54() {this._status = "pending"}
10549
+ __init65() {this._status = "pending"}
9872
10550
 
9873
10551
 
9874
10552
 
@@ -9982,7 +10660,7 @@ var Waitlist = (_class26 = class extends AbstractApiData {constructor(...args23)
9982
10660
  }
9983
10661
  return response;
9984
10662
  }
9985
- }, _class26);
10663
+ }, _class29);
9986
10664
 
9987
10665
  // src/features/waitlist/data/WaitlistService.ts
9988
10666
  var WaitlistService = class extends AbstractService {
@@ -10022,15 +10700,15 @@ var WaitlistService = class extends AbstractService {
10022
10700
  */
10023
10701
  static async findMany(params) {
10024
10702
  const endpoint = new EndpointCreator({ endpoint: Modules.Waitlist });
10025
- if (_optionalChain([params, 'optionalAccess', _255 => _255.status])) endpoint.addAdditionalParam("status", params.status);
10026
- if (_optionalChain([params, 'optionalAccess', _256 => _256.search])) endpoint.addAdditionalParam("search", params.search);
10027
- if (_optionalChain([params, 'optionalAccess', _257 => _257.fetchAll])) endpoint.addAdditionalParam("fetchAll", "true");
10703
+ if (_optionalChain([params, 'optionalAccess', _264 => _264.status])) endpoint.addAdditionalParam("status", params.status);
10704
+ if (_optionalChain([params, 'optionalAccess', _265 => _265.search])) endpoint.addAdditionalParam("search", params.search);
10705
+ if (_optionalChain([params, 'optionalAccess', _266 => _266.fetchAll])) endpoint.addAdditionalParam("fetchAll", "true");
10028
10706
  return this.callApi({
10029
10707
  type: Modules.Waitlist,
10030
10708
  method: "GET" /* GET */,
10031
10709
  endpoint: endpoint.generate(),
10032
- next: _optionalChain([params, 'optionalAccess', _258 => _258.next]),
10033
- previous: _optionalChain([params, 'optionalAccess', _259 => _259.previous])
10710
+ next: _optionalChain([params, 'optionalAccess', _267 => _267.next]),
10711
+ previous: _optionalChain([params, 'optionalAccess', _268 => _268.previous])
10034
10712
  });
10035
10713
  }
10036
10714
  /**
@@ -10099,10 +10777,10 @@ var WaitlistService = class extends AbstractService {
10099
10777
  method: "GET" /* GET */,
10100
10778
  endpoint: endpoint.generate()
10101
10779
  });
10102
- const attributes = _optionalChain([response, 'access', _260 => _260.data, 'optionalAccess', _261 => _261._jsonApi, 'optionalAccess', _262 => _262.attributes]);
10780
+ const attributes = _optionalChain([response, 'access', _269 => _269.data, 'optionalAccess', _270 => _270._jsonApi, 'optionalAccess', _271 => _271.attributes]);
10103
10781
  return {
10104
- email: _optionalChain([attributes, 'optionalAccess', _263 => _263.email]),
10105
- valid: _nullishCoalesce(_optionalChain([attributes, 'optionalAccess', _264 => _264.valid]), () => ( false))
10782
+ email: _optionalChain([attributes, 'optionalAccess', _272 => _272.email]),
10783
+ valid: _nullishCoalesce(_optionalChain([attributes, 'optionalAccess', _273 => _273.valid]), () => ( false))
10106
10784
  };
10107
10785
  } catch (_error) {
10108
10786
  return null;
@@ -10111,15 +10789,15 @@ var WaitlistService = class extends AbstractService {
10111
10789
  };
10112
10790
 
10113
10791
  // src/features/waitlist/data/waitlist-stats.ts
10114
- var WaitlistStats = (_class27 = class extends AbstractApiData {constructor(...args24) { super(...args24); _class27.prototype.__init55.call(this);_class27.prototype.__init56.call(this);_class27.prototype.__init57.call(this);_class27.prototype.__init58.call(this);_class27.prototype.__init59.call(this); }
10792
+ var WaitlistStats = (_class30 = class extends AbstractApiData {constructor(...args27) { super(...args27); _class30.prototype.__init66.call(this);_class30.prototype.__init67.call(this);_class30.prototype.__init68.call(this);_class30.prototype.__init69.call(this);_class30.prototype.__init70.call(this); }
10115
10793
  static {
10116
10794
  _chunk7QVYU63Ejs.__name.call(void 0, this, "WaitlistStats");
10117
10795
  }
10118
- __init55() {this._pending = 0}
10119
- __init56() {this._confirmed = 0}
10120
- __init57() {this._invited = 0}
10121
- __init58() {this._registered = 0}
10122
- __init59() {this._total = 0}
10796
+ __init66() {this._pending = 0}
10797
+ __init67() {this._confirmed = 0}
10798
+ __init68() {this._invited = 0}
10799
+ __init69() {this._registered = 0}
10800
+ __init70() {this._total = 0}
10123
10801
  get pending() {
10124
10802
  return this._pending;
10125
10803
  }
@@ -10148,7 +10826,7 @@ var WaitlistStats = (_class27 = class extends AbstractApiData {constructor(...ar
10148
10826
  createJsonApi(_data) {
10149
10827
  throw new Error("WaitlistStats is read-only and cannot be created");
10150
10828
  }
10151
- }, _class27);
10829
+ }, _class30);
10152
10830
 
10153
10831
  // src/features/waitlist/data/waitlist.fields.ts
10154
10832
  var WaitlistFields = /* @__PURE__ */ ((WaitlistFields2) => {
@@ -10200,7 +10878,7 @@ var PermissionMapping = class extends AbstractApiData {
10200
10878
  super.rehydrate(data);
10201
10879
  this._roleId = data.jsonApi.attributes.roleId;
10202
10880
  this._moduleId = data.jsonApi.attributes.moduleId;
10203
- this._permissions = _optionalChain([data, 'access', _265 => _265.jsonApi, 'access', _266 => _266.meta, 'optionalAccess', _267 => _267.permissions]);
10881
+ this._permissions = _optionalChain([data, 'access', _274 => _274.jsonApi, 'access', _275 => _275.meta, 'optionalAccess', _276 => _276.permissions]);
10204
10882
  return this;
10205
10883
  }
10206
10884
  };
@@ -10375,19 +11053,22 @@ var ReferralStatsModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
10375
11053
  model: ReferralStats
10376
11054
  }), "ReferralStatsModule");
10377
11055
 
11056
+ // src/features/tokenusage/tokenusage-admin.module.ts
11057
+
11058
+
10378
11059
  // src/features/tokenusage/data/tokenusage-admin-breakdown.ts
10379
- var TokenUsageAdminBreakdown = (_class28 = class extends AbstractApiData {constructor(...args25) { super(...args25); _class28.prototype.__init60.call(this);_class28.prototype.__init61.call(this);_class28.prototype.__init62.call(this);_class28.prototype.__init63.call(this);_class28.prototype.__init64.call(this);_class28.prototype.__init65.call(this);_class28.prototype.__init66.call(this); }
11060
+ var TokenUsageAdminBreakdown = (_class31 = class extends AbstractApiData {constructor(...args28) { super(...args28); _class31.prototype.__init71.call(this);_class31.prototype.__init72.call(this);_class31.prototype.__init73.call(this);_class31.prototype.__init74.call(this);_class31.prototype.__init75.call(this);_class31.prototype.__init76.call(this);_class31.prototype.__init77.call(this); }
10380
11061
  static {
10381
11062
  _chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageAdminBreakdown");
10382
11063
  }
10383
- __init60() {this._label = ""}
11064
+ __init71() {this._label = ""}
10384
11065
 
10385
- __init61() {this._cost = 0}
10386
- __init62() {this._credits = 0}
10387
- __init63() {this._tokensIn = 0}
10388
- __init64() {this._tokensOut = 0}
10389
- __init65() {this._cached = 0}
10390
- __init66() {this._calls = 0}
11066
+ __init72() {this._cost = 0}
11067
+ __init73() {this._credits = 0}
11068
+ __init74() {this._tokensIn = 0}
11069
+ __init75() {this._tokensOut = 0}
11070
+ __init76() {this._cached = 0}
11071
+ __init77() {this._calls = 0}
10391
11072
 
10392
11073
 
10393
11074
 
@@ -10464,21 +11145,21 @@ var TokenUsageAdminBreakdown = (_class28 = class extends AbstractApiData {constr
10464
11145
  response.data.attributes.availableMonthlyCredits = data.availableMonthlyCredits;
10465
11146
  return response;
10466
11147
  }
10467
- }, _class28);
11148
+ }, _class31);
10468
11149
 
10469
11150
  // src/features/tokenusage/data/tokenusage-admin-summary.ts
10470
- var TokenUsageAdminSummary = (_class29 = class extends AbstractApiData {constructor(...args26) { super(...args26); _class29.prototype.__init67.call(this);_class29.prototype.__init68.call(this);_class29.prototype.__init69.call(this);_class29.prototype.__init70.call(this);_class29.prototype.__init71.call(this);_class29.prototype.__init72.call(this);_class29.prototype.__init73.call(this);_class29.prototype.__init74.call(this); }
11151
+ var TokenUsageAdminSummary = (_class32 = class extends AbstractApiData {constructor(...args29) { super(...args29); _class32.prototype.__init78.call(this);_class32.prototype.__init79.call(this);_class32.prototype.__init80.call(this);_class32.prototype.__init81.call(this);_class32.prototype.__init82.call(this);_class32.prototype.__init83.call(this);_class32.prototype.__init84.call(this);_class32.prototype.__init85.call(this); }
10471
11152
  static {
10472
11153
  _chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageAdminSummary");
10473
11154
  }
10474
- __init67() {this._scope = ""}
10475
- __init68() {this._window = ""}
10476
- __init69() {this._cost = 0}
10477
- __init70() {this._credits = 0}
10478
- __init71() {this._tokensIn = 0}
10479
- __init72() {this._tokensOut = 0}
10480
- __init73() {this._cached = 0}
10481
- __init74() {this._calls = 0}
11155
+ __init78() {this._scope = ""}
11156
+ __init79() {this._window = ""}
11157
+ __init80() {this._cost = 0}
11158
+ __init81() {this._credits = 0}
11159
+ __init82() {this._tokensIn = 0}
11160
+ __init83() {this._tokensOut = 0}
11161
+ __init84() {this._cached = 0}
11162
+ __init85() {this._calls = 0}
10482
11163
  get scope() {
10483
11164
  return this._scope;
10484
11165
  }
@@ -10536,21 +11217,21 @@ var TokenUsageAdminSummary = (_class29 = class extends AbstractApiData {construc
10536
11217
  if (data.calls !== void 0) response.data.attributes.calls = data.calls;
10537
11218
  return response;
10538
11219
  }
10539
- }, _class29);
11220
+ }, _class32);
10540
11221
 
10541
11222
  // src/features/tokenusage/data/tokenusage-admin-timeline.ts
10542
- var TokenUsageAdminTimeline = (_class30 = class extends AbstractApiData {constructor(...args27) { super(...args27); _class30.prototype.__init75.call(this);_class30.prototype.__init76.call(this);_class30.prototype.__init77.call(this);_class30.prototype.__init78.call(this);_class30.prototype.__init79.call(this);_class30.prototype.__init80.call(this);_class30.prototype.__init81.call(this);_class30.prototype.__init82.call(this); }
11223
+ var TokenUsageAdminTimeline = (_class33 = class extends AbstractApiData {constructor(...args30) { super(...args30); _class33.prototype.__init86.call(this);_class33.prototype.__init87.call(this);_class33.prototype.__init88.call(this);_class33.prototype.__init89.call(this);_class33.prototype.__init90.call(this);_class33.prototype.__init91.call(this);_class33.prototype.__init92.call(this);_class33.prototype.__init93.call(this); }
10543
11224
  static {
10544
11225
  _chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageAdminTimeline");
10545
11226
  }
10546
- __init75() {this._bucket = /* @__PURE__ */ new Date(0)}
10547
- __init76() {this._series = ""}
10548
- __init77() {this._cost = 0}
10549
- __init78() {this._credits = 0}
10550
- __init79() {this._tokensIn = 0}
10551
- __init80() {this._tokensOut = 0}
10552
- __init81() {this._cached = 0}
10553
- __init82() {this._calls = 0}
11227
+ __init86() {this._bucket = /* @__PURE__ */ new Date(0)}
11228
+ __init87() {this._series = ""}
11229
+ __init88() {this._cost = 0}
11230
+ __init89() {this._credits = 0}
11231
+ __init90() {this._tokensIn = 0}
11232
+ __init91() {this._tokensOut = 0}
11233
+ __init92() {this._cached = 0}
11234
+ __init93() {this._calls = 0}
10554
11235
  get bucket() {
10555
11236
  return this._bucket;
10556
11237
  }
@@ -10608,26 +11289,29 @@ var TokenUsageAdminTimeline = (_class30 = class extends AbstractApiData {constru
10608
11289
  if (data.calls !== void 0) response.data.attributes.calls = data.calls;
10609
11290
  return response;
10610
11291
  }
10611
- }, _class30);
11292
+ }, _class33);
10612
11293
 
10613
11294
  // src/features/tokenusage/tokenusage-admin.module.ts
10614
- var TokenUsageAdminSummaryModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({ name: "tokenusages/administration/summary", model: TokenUsageAdminSummary }), "TokenUsageAdminSummaryModule");
10615
- var TokenUsageAdminTimelineModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({ name: "tokenusages/administration/timeline", model: TokenUsageAdminTimeline }), "TokenUsageAdminTimelineModule");
10616
- var TokenUsageAdminBreakdownModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({ name: "tokenusages/administration/breakdown", model: TokenUsageAdminBreakdown }), "TokenUsageAdminBreakdownModule");
11295
+ var TokenUsageAdminSummaryModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({ name: "tokenusages/administration/summary", model: TokenUsageAdminSummary, icon: _lucidereact.CoinsIcon }), "TokenUsageAdminSummaryModule");
11296
+ var TokenUsageAdminTimelineModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({ name: "tokenusages/administration/timeline", model: TokenUsageAdminTimeline, icon: _lucidereact.CoinsIcon }), "TokenUsageAdminTimelineModule");
11297
+ var TokenUsageAdminBreakdownModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({ name: "tokenusages/administration/breakdown", model: TokenUsageAdminBreakdown, icon: _lucidereact.CoinsIcon }), "TokenUsageAdminBreakdownModule");
11298
+
11299
+ // src/features/tokenusage/tokenusage.modules.ts
11300
+
10617
11301
 
10618
11302
  // src/features/tokenusage/data/tokenusage-report-breakdown.ts
10619
- var TokenUsageReportBreakdown = (_class31 = class extends AbstractApiData {constructor(...args28) { super(...args28); _class31.prototype.__init83.call(this);_class31.prototype.__init84.call(this);_class31.prototype.__init85.call(this);_class31.prototype.__init86.call(this);_class31.prototype.__init87.call(this);_class31.prototype.__init88.call(this);_class31.prototype.__init89.call(this); }
11303
+ var TokenUsageReportBreakdown = (_class34 = class extends AbstractApiData {constructor(...args31) { super(...args31); _class34.prototype.__init94.call(this);_class34.prototype.__init95.call(this);_class34.prototype.__init96.call(this);_class34.prototype.__init97.call(this);_class34.prototype.__init98.call(this);_class34.prototype.__init99.call(this);_class34.prototype.__init100.call(this); }
10620
11304
  static {
10621
11305
  _chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageReportBreakdown");
10622
11306
  }
10623
- __init83() {this._label = ""}
11307
+ __init94() {this._label = ""}
10624
11308
 
10625
- __init84() {this._cost = 0}
10626
- __init85() {this._credits = 0}
10627
- __init86() {this._tokensIn = 0}
10628
- __init87() {this._tokensOut = 0}
10629
- __init88() {this._cached = 0}
10630
- __init89() {this._calls = 0}
11309
+ __init95() {this._cost = 0}
11310
+ __init96() {this._credits = 0}
11311
+ __init97() {this._tokensIn = 0}
11312
+ __init98() {this._tokensOut = 0}
11313
+ __init99() {this._cached = 0}
11314
+ __init100() {this._calls = 0}
10631
11315
  get label() {
10632
11316
  return this._label;
10633
11317
  }
@@ -10685,20 +11369,20 @@ var TokenUsageReportBreakdown = (_class31 = class extends AbstractApiData {const
10685
11369
  if (data.calls !== void 0) response.data.attributes.calls = data.calls;
10686
11370
  return response;
10687
11371
  }
10688
- }, _class31);
11372
+ }, _class34);
10689
11373
 
10690
11374
  // src/features/tokenusage/data/tokenusage-report-summary.ts
10691
- var TokenUsageReportSummary = (_class32 = class extends AbstractApiData {constructor(...args29) { super(...args29); _class32.prototype.__init90.call(this);_class32.prototype.__init91.call(this);_class32.prototype.__init92.call(this);_class32.prototype.__init93.call(this);_class32.prototype.__init94.call(this);_class32.prototype.__init95.call(this);_class32.prototype.__init96.call(this); }
11375
+ var TokenUsageReportSummary = (_class35 = class extends AbstractApiData {constructor(...args32) { super(...args32); _class35.prototype.__init101.call(this);_class35.prototype.__init102.call(this);_class35.prototype.__init103.call(this);_class35.prototype.__init104.call(this);_class35.prototype.__init105.call(this);_class35.prototype.__init106.call(this);_class35.prototype.__init107.call(this); }
10692
11376
  static {
10693
11377
  _chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageReportSummary");
10694
11378
  }
10695
- __init90() {this._window = ""}
10696
- __init91() {this._cost = 0}
10697
- __init92() {this._credits = 0}
10698
- __init93() {this._tokensIn = 0}
10699
- __init94() {this._tokensOut = 0}
10700
- __init95() {this._cached = 0}
10701
- __init96() {this._calls = 0}
11379
+ __init101() {this._window = ""}
11380
+ __init102() {this._cost = 0}
11381
+ __init103() {this._credits = 0}
11382
+ __init104() {this._tokensIn = 0}
11383
+ __init105() {this._tokensOut = 0}
11384
+ __init106() {this._cached = 0}
11385
+ __init107() {this._calls = 0}
10702
11386
  get window() {
10703
11387
  return this._window;
10704
11388
  }
@@ -10751,21 +11435,21 @@ var TokenUsageReportSummary = (_class32 = class extends AbstractApiData {constru
10751
11435
  if (data.calls !== void 0) response.data.attributes.calls = data.calls;
10752
11436
  return response;
10753
11437
  }
10754
- }, _class32);
11438
+ }, _class35);
10755
11439
 
10756
11440
  // src/features/tokenusage/data/tokenusage-report-timeline.ts
10757
- var TokenUsageReportTimeline = (_class33 = class extends AbstractApiData {constructor(...args30) { super(...args30); _class33.prototype.__init97.call(this);_class33.prototype.__init98.call(this);_class33.prototype.__init99.call(this);_class33.prototype.__init100.call(this);_class33.prototype.__init101.call(this);_class33.prototype.__init102.call(this);_class33.prototype.__init103.call(this);_class33.prototype.__init104.call(this); }
11441
+ var TokenUsageReportTimeline = (_class36 = class extends AbstractApiData {constructor(...args33) { super(...args33); _class36.prototype.__init108.call(this);_class36.prototype.__init109.call(this);_class36.prototype.__init110.call(this);_class36.prototype.__init111.call(this);_class36.prototype.__init112.call(this);_class36.prototype.__init113.call(this);_class36.prototype.__init114.call(this);_class36.prototype.__init115.call(this); }
10758
11442
  static {
10759
11443
  _chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageReportTimeline");
10760
11444
  }
10761
- __init97() {this._bucket = /* @__PURE__ */ new Date(0)}
10762
- __init98() {this._series = ""}
10763
- __init99() {this._cost = 0}
10764
- __init100() {this._credits = 0}
10765
- __init101() {this._tokensIn = 0}
10766
- __init102() {this._tokensOut = 0}
10767
- __init103() {this._cached = 0}
10768
- __init104() {this._calls = 0}
11445
+ __init108() {this._bucket = /* @__PURE__ */ new Date(0)}
11446
+ __init109() {this._series = ""}
11447
+ __init110() {this._cost = 0}
11448
+ __init111() {this._credits = 0}
11449
+ __init112() {this._tokensIn = 0}
11450
+ __init113() {this._tokensOut = 0}
11451
+ __init114() {this._cached = 0}
11452
+ __init115() {this._calls = 0}
10769
11453
  get bucket() {
10770
11454
  return this._bucket;
10771
11455
  }
@@ -10823,31 +11507,43 @@ var TokenUsageReportTimeline = (_class33 = class extends AbstractApiData {constr
10823
11507
  if (data.calls !== void 0) response.data.attributes.calls = data.calls;
10824
11508
  return response;
10825
11509
  }
10826
- }, _class33);
11510
+ }, _class36);
10827
11511
 
10828
11512
  // src/features/tokenusage/tokenusage.modules.ts
10829
11513
  var tokenUsageModules = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => ({
10830
- TokenUsageAdminSummary: factory({ name: "tokenusages/administration/summary", model: TokenUsageAdminSummary }),
10831
- TokenUsageAdminTimeline: factory({ name: "tokenusages/administration/timeline", model: TokenUsageAdminTimeline }),
11514
+ TokenUsageAdminSummary: factory({
11515
+ name: "tokenusages/administration/summary",
11516
+ model: TokenUsageAdminSummary,
11517
+ icon: _lucidereact.CoinsIcon
11518
+ }),
11519
+ TokenUsageAdminTimeline: factory({
11520
+ name: "tokenusages/administration/timeline",
11521
+ model: TokenUsageAdminTimeline,
11522
+ icon: _lucidereact.CoinsIcon
11523
+ }),
10832
11524
  TokenUsageAdminBreakdown: factory({
10833
11525
  name: "tokenusages/administration/breakdown",
10834
- model: TokenUsageAdminBreakdown
11526
+ model: TokenUsageAdminBreakdown,
11527
+ icon: _lucidereact.CoinsIcon
10835
11528
  }),
10836
11529
  TokenUsageReportSummary: factory({ name: "tokenusages/reports/summary", model: TokenUsageReportSummary }),
10837
11530
  TokenUsageReportTimeline: factory({ name: "tokenusages/reports/timeline", model: TokenUsageReportTimeline }),
10838
11531
  TokenUsageReportBreakdown: factory({ name: "tokenusages/reports/breakdown", model: TokenUsageReportBreakdown })
10839
11532
  }), "tokenUsageModules");
10840
11533
 
11534
+ // src/features/analytics/analytics.modules.ts
11535
+
11536
+
10841
11537
  // src/features/analytics/data/analytics-breakdown.ts
10842
- var AnalyticsBreakdown = (_class34 = class extends AbstractApiData {constructor(...args31) { super(...args31); _class34.prototype.__init105.call(this);_class34.prototype.__init106.call(this);_class34.prototype.__init107.call(this);_class34.prototype.__init108.call(this);_class34.prototype.__init109.call(this); }
11538
+ var AnalyticsBreakdown = (_class37 = class extends AbstractApiData {constructor(...args34) { super(...args34); _class37.prototype.__init116.call(this);_class37.prototype.__init117.call(this);_class37.prototype.__init118.call(this);_class37.prototype.__init119.call(this);_class37.prototype.__init120.call(this); }
10843
11539
  static {
10844
11540
  _chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsBreakdown");
10845
11541
  }
10846
- __init105() {this._dimension = ""}
10847
- __init106() {this._key = ""}
10848
- __init107() {this._visitors = 0}
10849
- __init108() {this._sessions = 0}
10850
- __init109() {this._pageViews = 0}
11542
+ __init116() {this._dimension = ""}
11543
+ __init117() {this._key = ""}
11544
+ __init118() {this._visitors = 0}
11545
+ __init119() {this._sessions = 0}
11546
+ __init120() {this._pageViews = 0}
10851
11547
  get dimension() {
10852
11548
  return this._dimension;
10853
11549
  }
@@ -10890,16 +11586,16 @@ var AnalyticsBreakdown = (_class34 = class extends AbstractApiData {constructor(
10890
11586
  if (data.pageViews !== void 0) response.data.attributes.pageViews = data.pageViews;
10891
11587
  return response;
10892
11588
  }
10893
- }, _class34);
11589
+ }, _class37);
10894
11590
 
10895
11591
  // src/features/analytics/data/analytics-event.ts
10896
11592
  var ANALYTICS_EVENT_TYPE = "analytics-events";
10897
- var AnalyticsEvent = (_class35 = class extends AbstractApiData {constructor(...args32) { super(...args32); _class35.prototype.__init110.call(this);_class35.prototype.__init111.call(this); }
11593
+ var AnalyticsEvent = (_class38 = class extends AbstractApiData {constructor(...args35) { super(...args35); _class38.prototype.__init121.call(this);_class38.prototype.__init122.call(this); }
10898
11594
  static {
10899
11595
  _chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsEvent");
10900
11596
  }
10901
- __init110() {this._path = ""}
10902
- __init111() {this._section = ""}
11597
+ __init121() {this._path = ""}
11598
+ __init122() {this._section = ""}
10903
11599
  get path() {
10904
11600
  return this._path;
10905
11601
  }
@@ -10935,16 +11631,16 @@ var AnalyticsEvent = (_class35 = class extends AbstractApiData {constructor(...a
10935
11631
  if (data.screenWidth !== void 0) response.data.attributes.screenWidth = data.screenWidth;
10936
11632
  return response;
10937
11633
  }
10938
- }, _class35);
11634
+ }, _class38);
10939
11635
 
10940
11636
  // src/features/analytics/data/analytics-page-view.ts
10941
- var AnalyticsPageView = (_class36 = class extends AbstractApiData {constructor(...args33) { super(...args33); _class36.prototype.__init112.call(this);_class36.prototype.__init113.call(this);_class36.prototype.__init114.call(this); }
11637
+ var AnalyticsPageView = (_class39 = class extends AbstractApiData {constructor(...args36) { super(...args36); _class39.prototype.__init123.call(this);_class39.prototype.__init124.call(this);_class39.prototype.__init125.call(this); }
10942
11638
  static {
10943
11639
  _chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsPageView");
10944
11640
  }
10945
- __init112() {this._path = ""}
10946
- __init113() {this._route = ""}
10947
- __init114() {this._section = ""}
11641
+ __init123() {this._path = ""}
11642
+ __init124() {this._route = ""}
11643
+ __init125() {this._section = ""}
10948
11644
  get path() {
10949
11645
  return this._path;
10950
11646
  }
@@ -10979,27 +11675,27 @@ var AnalyticsPageView = (_class36 = class extends AbstractApiData {constructor(.
10979
11675
  if (data.section !== void 0) response.data.attributes.section = data.section;
10980
11676
  return response;
10981
11677
  }
10982
- }, _class36);
11678
+ }, _class39);
10983
11679
 
10984
11680
  // src/features/analytics/data/analytics-session.ts
10985
- var AnalyticsSession = (_class37 = class extends AbstractApiData {constructor(...args34) { super(...args34); _class37.prototype.__init115.call(this);_class37.prototype.__init116.call(this);_class37.prototype.__init117.call(this);_class37.prototype.__init118.call(this);_class37.prototype.__init119.call(this);_class37.prototype.__init120.call(this);_class37.prototype.__init121.call(this);_class37.prototype.__init122.call(this); }
11681
+ var AnalyticsSession = (_class40 = class extends AbstractApiData {constructor(...args37) { super(...args37); _class40.prototype.__init126.call(this);_class40.prototype.__init127.call(this);_class40.prototype.__init128.call(this);_class40.prototype.__init129.call(this);_class40.prototype.__init130.call(this);_class40.prototype.__init131.call(this);_class40.prototype.__init132.call(this);_class40.prototype.__init133.call(this); }
10986
11682
  static {
10987
11683
  _chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsSession");
10988
11684
  }
10989
- __init115() {this._visitorId = ""}
10990
- __init116() {this._consented = false}
10991
- __init117() {this._startedAt = /* @__PURE__ */ new Date(0)}
10992
- __init118() {this._lastSeenAt = /* @__PURE__ */ new Date(0)}
10993
- __init119() {this._pageViews = 0}
10994
- __init120() {this._section = ""}
10995
- __init121() {this._landingRoute = ""}
11685
+ __init126() {this._visitorId = ""}
11686
+ __init127() {this._consented = false}
11687
+ __init128() {this._startedAt = /* @__PURE__ */ new Date(0)}
11688
+ __init129() {this._lastSeenAt = /* @__PURE__ */ new Date(0)}
11689
+ __init130() {this._pageViews = 0}
11690
+ __init131() {this._section = ""}
11691
+ __init132() {this._landingRoute = ""}
10996
11692
 
10997
11693
 
10998
11694
 
10999
11695
 
11000
11696
 
11001
11697
 
11002
- __init122() {this._deviceType = ""}
11698
+ __init133() {this._deviceType = ""}
11003
11699
 
11004
11700
  get visitorId() {
11005
11701
  return this._visitorId;
@@ -11097,20 +11793,20 @@ var AnalyticsSession = (_class37 = class extends AbstractApiData {constructor(..
11097
11793
  }
11098
11794
  return response;
11099
11795
  }
11100
- }, _class37);
11796
+ }, _class40);
11101
11797
 
11102
11798
  // src/features/analytics/data/analytics-summary.ts
11103
- var AnalyticsSummary = (_class38 = class extends AbstractApiData {constructor(...args35) { super(...args35); _class38.prototype.__init123.call(this);_class38.prototype.__init124.call(this);_class38.prototype.__init125.call(this);_class38.prototype.__init126.call(this);_class38.prototype.__init127.call(this);_class38.prototype.__init128.call(this);_class38.prototype.__init129.call(this); }
11799
+ var AnalyticsSummary = (_class41 = class extends AbstractApiData {constructor(...args38) { super(...args38); _class41.prototype.__init134.call(this);_class41.prototype.__init135.call(this);_class41.prototype.__init136.call(this);_class41.prototype.__init137.call(this);_class41.prototype.__init138.call(this);_class41.prototype.__init139.call(this);_class41.prototype.__init140.call(this); }
11104
11800
  static {
11105
11801
  _chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsSummary");
11106
11802
  }
11107
- __init123() {this._section = ""}
11108
- __init124() {this._window = ""}
11109
- __init125() {this._visitors = 0}
11110
- __init126() {this._sessions = 0}
11111
- __init127() {this._pageViews = 0}
11112
- __init128() {this._pagesPerSession = 0}
11113
- __init129() {this._consentShare = 0}
11803
+ __init134() {this._section = ""}
11804
+ __init135() {this._window = ""}
11805
+ __init136() {this._visitors = 0}
11806
+ __init137() {this._sessions = 0}
11807
+ __init138() {this._pageViews = 0}
11808
+ __init139() {this._pagesPerSession = 0}
11809
+ __init140() {this._consentShare = 0}
11114
11810
  get section() {
11115
11811
  return this._section;
11116
11812
  }
@@ -11163,18 +11859,18 @@ var AnalyticsSummary = (_class38 = class extends AbstractApiData {constructor(..
11163
11859
  if (data.consentShare !== void 0) response.data.attributes.consentShare = data.consentShare;
11164
11860
  return response;
11165
11861
  }
11166
- }, _class38);
11862
+ }, _class41);
11167
11863
 
11168
11864
  // src/features/analytics/data/analytics-timeline.ts
11169
- var AnalyticsTimeline = (_class39 = class extends AbstractApiData {constructor(...args36) { super(...args36); _class39.prototype.__init130.call(this);_class39.prototype.__init131.call(this);_class39.prototype.__init132.call(this);_class39.prototype.__init133.call(this);_class39.prototype.__init134.call(this); }
11865
+ var AnalyticsTimeline = (_class42 = class extends AbstractApiData {constructor(...args39) { super(...args39); _class42.prototype.__init141.call(this);_class42.prototype.__init142.call(this);_class42.prototype.__init143.call(this);_class42.prototype.__init144.call(this);_class42.prototype.__init145.call(this); }
11170
11866
  static {
11171
11867
  _chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsTimeline");
11172
11868
  }
11173
- __init130() {this._bucket = /* @__PURE__ */ new Date(0)}
11174
- __init131() {this._section = ""}
11175
- __init132() {this._visitors = 0}
11176
- __init133() {this._sessions = 0}
11177
- __init134() {this._pageViews = 0}
11869
+ __init141() {this._bucket = /* @__PURE__ */ new Date(0)}
11870
+ __init142() {this._section = ""}
11871
+ __init143() {this._visitors = 0}
11872
+ __init144() {this._sessions = 0}
11873
+ __init145() {this._pageViews = 0}
11178
11874
  get bucket() {
11179
11875
  return this._bucket;
11180
11876
  }
@@ -11217,16 +11913,32 @@ var AnalyticsTimeline = (_class39 = class extends AbstractApiData {constructor(.
11217
11913
  if (data.pageViews !== void 0) response.data.attributes.pageViews = data.pageViews;
11218
11914
  return response;
11219
11915
  }
11220
- }, _class39);
11916
+ }, _class42);
11221
11917
 
11222
11918
  // src/features/analytics/analytics.modules.ts
11223
11919
  var analyticsModules = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => ({
11224
11920
  AnalyticsEvent: factory({ name: "analytics/events", model: AnalyticsEvent }),
11225
- AnalyticsSummary: factory({ name: "analytics/administration/summary", model: AnalyticsSummary }),
11226
- AnalyticsTimeline: factory({ name: "analytics/administration/timeline", model: AnalyticsTimeline }),
11227
- AnalyticsBreakdown: factory({ name: "analytics/administration/breakdown", model: AnalyticsBreakdown }),
11228
- AnalyticsSession: factory({ name: "analytics/administration/sessions", model: AnalyticsSession }),
11229
- AnalyticsPageView: factory({ name: "pageviews", model: AnalyticsPageView })
11921
+ AnalyticsSummary: factory({
11922
+ name: "analytics/administration/summary",
11923
+ model: AnalyticsSummary,
11924
+ icon: _lucidereact.ChartNoAxesCombinedIcon
11925
+ }),
11926
+ AnalyticsTimeline: factory({
11927
+ name: "analytics/administration/timeline",
11928
+ model: AnalyticsTimeline,
11929
+ icon: _lucidereact.ChartNoAxesCombinedIcon
11930
+ }),
11931
+ AnalyticsBreakdown: factory({
11932
+ name: "analytics/administration/breakdown",
11933
+ model: AnalyticsBreakdown,
11934
+ icon: _lucidereact.ChartNoAxesCombinedIcon
11935
+ }),
11936
+ AnalyticsSession: factory({
11937
+ name: "analytics/administration/sessions",
11938
+ model: AnalyticsSession,
11939
+ icon: _lucidereact.ChartNoAxesCombinedIcon
11940
+ }),
11941
+ AnalyticsPageView: factory({ name: "pageviews", model: AnalyticsPageView, icon: _lucidereact.ChartNoAxesCombinedIcon })
11230
11942
  }), "analyticsModules");
11231
11943
 
11232
11944
  // src/features/tokenusage/lib/config.ts
@@ -11241,11 +11953,11 @@ function getTokenUsageCurrency() {
11241
11953
  _chunk7QVYU63Ejs.__name.call(void 0, getTokenUsageCurrency, "getTokenUsageCurrency");
11242
11954
 
11243
11955
  // src/features/audit-log/data/audit-log.ts
11244
- var AuditLog = (_class40 = class extends AbstractApiData {constructor(...args37) { super(...args37); _class40.prototype.__init135.call(this); }
11956
+ var AuditLog = (_class43 = class extends AbstractApiData {constructor(...args40) { super(...args40); _class43.prototype.__init146.call(this); }
11245
11957
  static {
11246
11958
  _chunk7QVYU63Ejs.__name.call(void 0, this, "AuditLog");
11247
11959
  }
11248
- __init135() {this._kind = "audit"}
11960
+ __init146() {this._kind = "audit"}
11249
11961
 
11250
11962
 
11251
11963
 
@@ -11292,7 +12004,7 @@ var AuditLog = (_class40 = class extends AbstractApiData {constructor(...args37)
11292
12004
  createJsonApi() {
11293
12005
  throw new Error("AuditLog is read-only");
11294
12006
  }
11295
- }, _class40);
12007
+ }, _class43);
11296
12008
 
11297
12009
  // src/features/audit-log/data/audit-log.service.ts
11298
12010
  var AuditLogService = class extends AbstractService {
@@ -11626,5 +12338,25 @@ var AuditLogModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (facto
11626
12338
 
11627
12339
 
11628
12340
 
11629
- exports.RehydrationFactory = RehydrationFactory; exports.AbstractApiData = AbstractApiData; exports.getLastApiTotal = getLastApiTotal; exports.clearLastApiTotal = clearLastApiTotal; exports.getLastApiMeta = getLastApiMeta; exports.clearLastApiMeta = clearLastApiMeta; exports.configureI18n = configureI18n; exports.useI18nRouter = useI18nRouter; exports.useI18nTranslations = useI18nTranslations; exports.getI18nLink = getI18nLink; exports.useI18nLocale = useI18nLocale; exports.useI18nDateFnsLocale = useI18nDateFnsLocale; exports.getI18nSupportedLocales = getI18nSupportedLocales; exports.HttpMethod = HttpMethod; exports.setGlobalErrorHandler = setGlobalErrorHandler; exports.getGlobalErrorHandler = getGlobalErrorHandler; exports.AbstractService = AbstractService; exports.configureClientJsonApi = configureClientJsonApi; exports.getClientApiUrl = getClientApiUrl; exports.getClientAppUrl = getClientAppUrl; exports.getClientTrackablePages = getClientTrackablePages; exports.buildClientUrl = buildClientUrl; exports.ClientJsonApiGet = ClientJsonApiGet; exports.ClientJsonApiPost = ClientJsonApiPost; exports.ClientJsonApiPut = ClientJsonApiPut; exports.ClientJsonApiPatch = ClientJsonApiPatch; exports.ClientJsonApiDelete = ClientJsonApiDelete; exports.ClientHttpMethod = ClientHttpMethod; exports.setClientGlobalErrorHandler = setClientGlobalErrorHandler; exports.getClientGlobalErrorHandler = getClientGlobalErrorHandler; exports.ClientAbstractService = ClientAbstractService; exports.ModuleRegistrar = ModuleRegistrar; exports.ModuleRegistry = ModuleRegistry; exports.Modules = Modules; exports.EndpointCreator = EndpointCreator; exports.createJsonApiInclusion = createJsonApiInclusion; exports.rehydrate = rehydrate; exports.rehydrateList = rehydrateList; exports.mergeMessages = mergeMessages; exports.cn = cn; exports.composeRefs = composeRefs; exports.useComposedRefs = useComposedRefs; exports.MOBILE_BREAKPOINT = MOBILE_BREAKPOINT; exports.VIEWPORT_COOKIE_NAME = VIEWPORT_COOKIE_NAME; exports.getViewportContext = getViewportContext; exports.measureViewport = measureViewport; exports.persistViewport = persistViewport; exports.subscribeViewport = subscribeViewport; exports.useIsMobile = useIsMobile; exports.formatLocalDate = formatLocalDate; exports.dateFormatLocale = dateFormatLocale; exports.formatDate = formatDate; exports.exists = exists; exports.TableOptions = TableOptions; exports.getTableOptions = getTableOptions; exports.getTableComponents = getTableComponents; exports.userObjectSchema = userObjectSchema; exports.entityObjectSchema = entityObjectSchema; exports.getInitials = getInitials; exports.isRemoteImageSrc = isRemoteImageSrc; exports.validatePartitaIva = validatePartitaIva; exports.validateCodiceFiscale = validateCodiceFiscale; exports.validateItalianTaxCode = validateItalianTaxCode; exports.formatPartitaIva = formatPartitaIva; exports.formatCodiceFiscale = formatCodiceFiscale; exports.BlockNoteDiffUtil = BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = BlockNoteWordDiffRendererUtil; exports.getIconByModule = getIconByModule; exports.getIcon = getIcon; exports.getIconByModuleName = getIconByModuleName; exports.getLucideIcon = getLucideIcon; exports.getLucideIconByModule = getLucideIconByModule; exports.getLucideIconByModuleName = getLucideIconByModuleName; exports.showToast = showToast; exports.showError = showError; exports.dismissToast = dismissToast; exports.showCustomToast = showCustomToast; exports.Action = Action; exports.checkPermissions = checkPermissions; exports.checkPermissionsFromServer = checkPermissionsFromServer; exports.getValueFromPath = getValueFromPath; exports.TotpAuthenticator = TotpAuthenticator; exports.TotpAuthenticatorModule = TotpAuthenticatorModule; exports.TotpSetup = TotpSetup; exports.TotpSetupModule = TotpSetupModule; exports.TotpVerify = TotpVerify; exports.TotpVerifyModule = TotpVerifyModule; exports.TotpVerifyLogin = TotpVerifyLogin; exports.TotpVerifyLoginModule = TotpVerifyLoginModule; exports.Passkey = Passkey; exports.PasskeyModule = PasskeyModule; exports.PasskeyRegistrationOptions = PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = PasskeyRegistrationVerifyModule; exports.PasskeyRename = PasskeyRename; exports.PasskeyRenameModule = PasskeyRenameModule; exports.PasskeyVerifyLogin = PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = PasskeyVerifyLoginModule; exports.PasskeyAuthenticationOptions = PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = PasskeyAuthenticationOptionsModule; exports.TwoFactorEnable = TwoFactorEnable; exports.TwoFactorEnableModule = TwoFactorEnableModule; exports.TwoFactorChallenge = TwoFactorChallenge; exports.TwoFactorChallengeModule = TwoFactorChallengeModule; exports.BackupCodeVerify = BackupCodeVerify; exports.BackupCodeVerifyModule = BackupCodeVerifyModule; exports.configureAuth = configureAuth; exports.getTokenHandler = getTokenHandler; exports.Auth = Auth; exports.AuthService = AuthService; exports.TwoFactorStatus = TwoFactorStatus; exports.TwoFactorService = TwoFactorService; exports.AuthComponent = AuthComponent; exports.AuthModule = AuthModule; exports.TwoFactorStatusModule = TwoFactorStatusModule; exports.BillingService = BillingService; exports.Billing = Billing; exports.BillingModule = BillingModule; exports.PaymentMethod = PaymentMethod; exports.StripeCustomer = StripeCustomer; exports.StripeCustomerService = StripeCustomerService; exports.StripeCustomerModule = StripeCustomerModule; exports.StripePaymentMethodModule = StripePaymentMethodModule; exports.StripeInvoice = StripeInvoice; exports.InvoiceStatus = InvoiceStatus; exports.StripeInvoiceService = StripeInvoiceService; exports.StripeInvoiceModule = StripeInvoiceModule; exports.StripePrice = StripePrice; exports.StripePriceFields = StripePriceFields; exports.StripePriceService = StripePriceService; exports.StripePriceModule = StripePriceModule; exports.StripeProduct = StripeProduct; exports.StripeProductFields = StripeProductFields; exports.StripeProductService = StripeProductService; exports.StripeProductModule = StripeProductModule; exports.StripeSubscription = StripeSubscription; exports.SubscriptionStatus = SubscriptionStatus; exports.StripeSubscriptionService = StripeSubscriptionService; exports.StripeSubscriptionModule = StripeSubscriptionModule; exports.StripeUsage = StripeUsage; exports.StripeUsageService = StripeUsageService; exports.StripeUsageModule = StripeUsageModule; exports.StripePromotionCodeService = StripePromotionCodeService; exports.StripePromotionCode = StripePromotionCode; exports.StripePromotionCodeModule = StripePromotionCodeModule; exports.AiConnection = AiConnection; exports.AiConnectionFields = AiConnectionFields; exports.AiConnectionService = AiConnectionService; exports.AiConnectionModule = AiConnectionModule; exports.Company = Company; exports.CompanyFields = CompanyFields; exports.CompanyService = CompanyService; exports.EntityAiStatus = EntityAiStatus; exports.CompanyModule = CompanyModule; exports.Content = Content; exports.ContentFields = ContentFields; exports.ContentService = ContentService; exports.ContentModule = ContentModule; exports.HowTo = HowTo; exports.HowToModule = HowToModule; exports.HowToFields = HowToFields; exports.HowToService = HowToService; exports.EmailAutomation = EmailAutomation; exports.EmailAutomationModule = EmailAutomationModule; exports.EmailAutomationStep = EmailAutomationStep; exports.EmailAutomationStepModule = EmailAutomationStepModule; exports.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE; exports.EmailAutomationEnrollment = EmailAutomationEnrollment; exports.EmailAutomationEnrollmentModule = EmailAutomationEnrollmentModule; exports.EmailAutomationTrigger = EmailAutomationTrigger; exports.EmailAutomationTriggerModule = EmailAutomationTriggerModule; exports.EmailAutomationService = EmailAutomationService; exports.EmailAutomationStepService = EmailAutomationStepService; exports.EmailAutomationEnrollmentService = EmailAutomationEnrollmentService; exports.EmailAutomationFields = EmailAutomationFields; exports.EmailAutomationEnrollmentFields = EmailAutomationEnrollmentFields; exports.BlogCategory = BlogCategory; exports.BlogCategoryTranslation = BlogCategoryTranslation; exports.BlogPost = BlogPost; exports.BlogPostTranslation = BlogPostTranslation; exports.BLOG_LIST_LAYOUTS = BLOG_LIST_LAYOUTS; exports.BLOG_POST_STATUSES = BLOG_POST_STATUSES; exports.BLOG_TRANSLATION_SOURCES = BLOG_TRANSLATION_SOURCES; exports.BLOG_SETTINGS_ID = BLOG_SETTINGS_ID; exports.BLOG_MODULE_ID = BLOG_MODULE_ID; exports.BLOG_UPLOAD_ROOT = BLOG_UPLOAD_ROOT; exports.BLOG_POST_UPLOAD_PREFIX = BLOG_POST_UPLOAD_PREFIX; exports.BLOG_CATEGORY_UPLOAD_PREFIX = BLOG_CATEGORY_UPLOAD_PREFIX; exports.BLOG_PUBLIC_PREFIX = BLOG_PUBLIC_PREFIX; exports.BLOG_ACTION = BLOG_ACTION; exports.BlogSettings = BlogSettings; exports.BlogPostModule = BlogPostModule; exports.BlogPostTranslationModule = BlogPostTranslationModule; exports.BlogCategoryModule = BlogCategoryModule; exports.BlogCategoryTranslationModule = BlogCategoryTranslationModule; exports.BlogSettingsModule = BlogSettingsModule; exports.BlogPostService = BlogPostService; exports.BlogPostTranslationService = BlogPostTranslationService; exports.BlogCategoryService = BlogCategoryService; exports.BlogCategoryTranslationService = BlogCategoryTranslationService; exports.BlogSettingsService = BlogSettingsService; exports.BlogPostFields = BlogPostFields; exports.BlogCategoryFields = BlogCategoryFields; exports.HandbookPage = HandbookPage; exports.HandbookPageModule = HandbookPageModule; exports.HandbookSection = HandbookSection; exports.HandbookSectionModule = HandbookSectionModule; exports.HandbookThreadMessage = HandbookThreadMessage; exports.HandbookThreadMessageModule = HandbookThreadMessageModule; exports.HandbookThread = HandbookThread; exports.HandbookThreadModule = HandbookThreadModule; exports.handbookPageTitle = handbookPageTitle; exports.handbookPageSummary = handbookPageSummary; exports.handbookPageContent = handbookPageContent; exports.handbookSectionTitle = handbookSectionTitle; exports.handbookSectionSummary = handbookSectionSummary; exports.HandbookPageFields = HandbookPageFields; exports.HandbookPageService = HandbookPageService; exports.HandbookSectionService = HandbookSectionService; exports.HandbookThreadMessageService = HandbookThreadMessageService; exports.HandbookThreadService = HandbookThreadService; exports.Assistant = Assistant; exports.AssistantModule = AssistantModule; exports.AssistantMessage = AssistantMessage; exports.AssistantService = AssistantService; exports.AssistantMessageModule = AssistantMessageModule; exports.AssistantMessageService = AssistantMessageService; exports.AssistantAction = AssistantAction; exports.AssistantActionModule = AssistantActionModule; exports.AssistantActionService = AssistantActionService; exports.Chunk = Chunk; exports.ChunkModule = ChunkModule; exports.Feature = Feature; exports.FeatureService = FeatureService; exports.FeatureModule = FeatureModule; exports.Module = Module; exports.ModuleModule = ModuleModule; exports.Notification = Notification; exports.NotificationFields = NotificationFields; exports.NotificationService = NotificationService; exports.NotificationModule = NotificationModule; exports.Push = Push; exports.PushService = PushService; exports.PushModule = PushModule; exports.Role = Role; exports.RoleFields = RoleFields; exports.RoleService = RoleService; exports.RoleModule = RoleModule; exports.S3 = S3; exports.S3Module = S3Module; exports.S3Service = S3Service; exports.User = User; exports.UserFields = UserFields; exports.UserService = UserService; exports.CURRENT_USER_STORAGE_KEY = CURRENT_USER_STORAGE_KEY; exports.AuthorModule = AuthorModule; exports.UserModule = UserModule; exports.OAuthClient = OAuthClient; exports.OAuthModule = OAuthModule; exports.OAuthService = OAuthService; exports.OAUTH_SCOPE_DISPLAY = OAUTH_SCOPE_DISPLAY; exports.AVAILABLE_OAUTH_SCOPES = AVAILABLE_OAUTH_SCOPES; exports.DEFAULT_GRANT_TYPES = DEFAULT_GRANT_TYPES; exports.Waitlist = Waitlist; exports.WaitlistService = WaitlistService; exports.WaitlistStats = WaitlistStats; exports.WaitlistFields = WaitlistFields; exports.WaitlistModule = WaitlistModule; exports.WaitlistStatsModule = WaitlistStatsModule; exports.PermissionMapping = PermissionMapping; exports.ModulePaths = ModulePaths; exports.RbacMatrixModel = RbacMatrixModel; exports.PermissionMappingModule = PermissionMappingModule; exports.ModulePathsModule = ModulePathsModule; exports.RbacMatrixModule = RbacMatrixModule; exports.ReferralStats = ReferralStats; exports.ReferralService = ReferralService; exports.ReferralModule = ReferralModule; exports.ReferralStatsModule = ReferralStatsModule; exports.TokenUsageAdminBreakdown = TokenUsageAdminBreakdown; exports.TokenUsageAdminSummary = TokenUsageAdminSummary; exports.TokenUsageAdminTimeline = TokenUsageAdminTimeline; exports.TokenUsageAdminSummaryModule = TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = TokenUsageAdminTimelineModule; exports.TokenUsageAdminBreakdownModule = TokenUsageAdminBreakdownModule; exports.TokenUsageReportBreakdown = TokenUsageReportBreakdown; exports.TokenUsageReportSummary = TokenUsageReportSummary; exports.TokenUsageReportTimeline = TokenUsageReportTimeline; exports.tokenUsageModules = tokenUsageModules; exports.AnalyticsBreakdown = AnalyticsBreakdown; exports.AnalyticsEvent = AnalyticsEvent; exports.AnalyticsPageView = AnalyticsPageView; exports.AnalyticsSession = AnalyticsSession; exports.AnalyticsSummary = AnalyticsSummary; exports.AnalyticsTimeline = AnalyticsTimeline; exports.analyticsModules = analyticsModules; exports.configureTokenUsage = configureTokenUsage; exports.getTokenUsageCurrency = getTokenUsageCurrency; exports.AuditLog = AuditLog; exports.AuditLogService = AuditLogService; exports.AuditLogModule = AuditLogModule;
11630
- //# sourceMappingURL=chunk-NFBOSPNJ.js.map
12341
+
12342
+
12343
+
12344
+
12345
+
12346
+
12347
+
12348
+
12349
+
12350
+
12351
+
12352
+
12353
+
12354
+
12355
+
12356
+
12357
+
12358
+
12359
+
12360
+
12361
+ exports.RehydrationFactory = RehydrationFactory; exports.AbstractApiData = AbstractApiData; exports.getLastApiTotal = getLastApiTotal; exports.clearLastApiTotal = clearLastApiTotal; exports.getLastApiMeta = getLastApiMeta; exports.clearLastApiMeta = clearLastApiMeta; exports.configureI18n = configureI18n; exports.useI18nRouter = useI18nRouter; exports.useI18nTranslations = useI18nTranslations; exports.getI18nLink = getI18nLink; exports.useI18nLocale = useI18nLocale; exports.useI18nDateFnsLocale = useI18nDateFnsLocale; exports.getI18nSupportedLocales = getI18nSupportedLocales; exports.HttpMethod = HttpMethod; exports.setGlobalErrorHandler = setGlobalErrorHandler; exports.getGlobalErrorHandler = getGlobalErrorHandler; exports.AbstractService = AbstractService; exports.configureClientJsonApi = configureClientJsonApi; exports.getClientApiUrl = getClientApiUrl; exports.getClientAppUrl = getClientAppUrl; exports.getClientTrackablePages = getClientTrackablePages; exports.buildClientUrl = buildClientUrl; exports.ClientJsonApiGet = ClientJsonApiGet; exports.ClientJsonApiPost = ClientJsonApiPost; exports.ClientJsonApiPut = ClientJsonApiPut; exports.ClientJsonApiPatch = ClientJsonApiPatch; exports.ClientJsonApiDelete = ClientJsonApiDelete; exports.ClientHttpMethod = ClientHttpMethod; exports.setClientGlobalErrorHandler = setClientGlobalErrorHandler; exports.getClientGlobalErrorHandler = getClientGlobalErrorHandler; exports.ClientAbstractService = ClientAbstractService; exports.ModuleRegistrar = ModuleRegistrar; exports.ModuleRegistry = ModuleRegistry; exports.Modules = Modules; exports.EndpointCreator = EndpointCreator; exports.createJsonApiInclusion = createJsonApiInclusion; exports.rehydrate = rehydrate; exports.rehydrateList = rehydrateList; exports.mergeMessages = mergeMessages; exports.cn = cn; exports.composeRefs = composeRefs; exports.useComposedRefs = useComposedRefs; exports.MOBILE_BREAKPOINT = MOBILE_BREAKPOINT; exports.VIEWPORT_COOKIE_NAME = VIEWPORT_COOKIE_NAME; exports.getViewportContext = getViewportContext; exports.measureViewport = measureViewport; exports.persistViewport = persistViewport; exports.subscribeViewport = subscribeViewport; exports.useIsMobile = useIsMobile; exports.formatLocalDate = formatLocalDate; exports.dateFormatLocale = dateFormatLocale; exports.formatDate = formatDate; exports.exists = exists; exports.TableOptions = TableOptions; exports.getTableOptions = getTableOptions; exports.getTableComponents = getTableComponents; exports.userObjectSchema = userObjectSchema; exports.entityObjectSchema = entityObjectSchema; exports.getInitials = getInitials; exports.isRemoteImageSrc = isRemoteImageSrc; exports.validatePartitaIva = validatePartitaIva; exports.validateCodiceFiscale = validateCodiceFiscale; exports.validateItalianTaxCode = validateItalianTaxCode; exports.formatPartitaIva = formatPartitaIva; exports.formatCodiceFiscale = formatCodiceFiscale; exports.BlockNoteDiffUtil = BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = BlockNoteWordDiffRendererUtil; exports.getIconByModule = getIconByModule; exports.getIcon = getIcon; exports.getIconByModuleName = getIconByModuleName; exports.getLucideIcon = getLucideIcon; exports.getLucideIconByModule = getLucideIconByModule; exports.getLucideIconByModuleName = getLucideIconByModuleName; exports.showToast = showToast; exports.showError = showError; exports.dismissToast = dismissToast; exports.showCustomToast = showCustomToast; exports.Action = Action; exports.checkPermissions = checkPermissions; exports.checkPermissionsFromServer = checkPermissionsFromServer; exports.getValueFromPath = getValueFromPath; exports.TotpAuthenticator = TotpAuthenticator; exports.TotpAuthenticatorModule = TotpAuthenticatorModule; exports.TotpSetup = TotpSetup; exports.TotpSetupModule = TotpSetupModule; exports.TotpVerify = TotpVerify; exports.TotpVerifyModule = TotpVerifyModule; exports.TotpVerifyLogin = TotpVerifyLogin; exports.TotpVerifyLoginModule = TotpVerifyLoginModule; exports.Passkey = Passkey; exports.PasskeyModule = PasskeyModule; exports.PasskeyRegistrationOptions = PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = PasskeyRegistrationVerifyModule; exports.PasskeyRename = PasskeyRename; exports.PasskeyRenameModule = PasskeyRenameModule; exports.PasskeyVerifyLogin = PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = PasskeyVerifyLoginModule; exports.PasskeyAuthenticationOptions = PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = PasskeyAuthenticationOptionsModule; exports.TwoFactorEnable = TwoFactorEnable; exports.TwoFactorEnableModule = TwoFactorEnableModule; exports.TwoFactorChallenge = TwoFactorChallenge; exports.TwoFactorChallengeModule = TwoFactorChallengeModule; exports.BackupCodeVerify = BackupCodeVerify; exports.BackupCodeVerifyModule = BackupCodeVerifyModule; exports.configureAuth = configureAuth; exports.getTokenHandler = getTokenHandler; exports.Auth = Auth; exports.AuthService = AuthService; exports.TwoFactorStatus = TwoFactorStatus; exports.TwoFactorService = TwoFactorService; exports.AuthComponent = AuthComponent; exports.AuthModule = AuthModule; exports.TwoFactorStatusModule = TwoFactorStatusModule; exports.BillingService = BillingService; exports.Billing = Billing; exports.BillingModule = BillingModule; exports.PaymentMethod = PaymentMethod; exports.StripeCustomer = StripeCustomer; exports.StripeCustomerService = StripeCustomerService; exports.StripeCustomerModule = StripeCustomerModule; exports.StripePaymentMethodModule = StripePaymentMethodModule; exports.StripeInvoice = StripeInvoice; exports.InvoiceStatus = InvoiceStatus; exports.StripeInvoiceService = StripeInvoiceService; exports.StripeInvoiceModule = StripeInvoiceModule; exports.StripePrice = StripePrice; exports.StripePriceFields = StripePriceFields; exports.StripePriceService = StripePriceService; exports.StripePriceModule = StripePriceModule; exports.StripeProduct = StripeProduct; exports.StripeProductFields = StripeProductFields; exports.StripeProductService = StripeProductService; exports.StripeProductModule = StripeProductModule; exports.StripeSubscription = StripeSubscription; exports.SubscriptionStatus = SubscriptionStatus; exports.StripeSubscriptionService = StripeSubscriptionService; exports.StripeSubscriptionModule = StripeSubscriptionModule; exports.StripeUsage = StripeUsage; exports.StripeUsageService = StripeUsageService; exports.StripeUsageModule = StripeUsageModule; exports.StripePromotionCodeService = StripePromotionCodeService; exports.StripePromotionCode = StripePromotionCode; exports.StripePromotionCodeModule = StripePromotionCodeModule; exports.StripeCoupon = StripeCoupon; exports.StripeCouponFields = StripeCouponFields; exports.STRIPE_COUPON_REFRESH_SEGMENT = STRIPE_COUPON_REFRESH_SEGMENT; exports.StripeCouponModule = StripeCouponModule; exports.StripeCouponService = StripeCouponService; exports.StripeCouponCode = StripeCouponCode; exports.StripeCouponCodeFields = StripeCouponCodeFields; exports.STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT = STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT; exports.StripeCouponCodeModule = StripeCouponCodeModule; exports.StripeCouponCodeService = StripeCouponCodeService; exports.StripeCouponOffer = StripeCouponOffer; exports.couponPlacesLeft = couponPlacesLeft; exports.couponPlacesTotal = couponPlacesTotal; exports.DEFAULT_BILLING_LOCALE = DEFAULT_BILLING_LOCALE; exports.formatInterval = formatInterval; exports.formatCurrency = formatCurrency; exports.formatFixed = formatFixed; exports.formatCouponDiscount = formatCouponDiscount; exports.toPromotionCodeResult = toPromotionCodeResult; exports.StripeCouponOfferModule = StripeCouponOfferModule; exports.AiConnection = AiConnection; exports.AiConnectionFields = AiConnectionFields; exports.AiConnectionService = AiConnectionService; exports.AiConnectionModule = AiConnectionModule; exports.Company = Company; exports.CompanyFields = CompanyFields; exports.CompanyService = CompanyService; exports.EntityAiStatus = EntityAiStatus; exports.CompanyModule = CompanyModule; exports.Content = Content; exports.ContentFields = ContentFields; exports.ContentService = ContentService; exports.ContentModule = ContentModule; exports.HowTo = HowTo; exports.HowToModule = HowToModule; exports.HowToFields = HowToFields; exports.HowToService = HowToService; exports.EmailAutomation = EmailAutomation; exports.EmailAutomationModule = EmailAutomationModule; exports.EmailAutomationStep = EmailAutomationStep; exports.EmailAutomationStepModule = EmailAutomationStepModule; exports.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE; exports.EmailAutomationEnrollment = EmailAutomationEnrollment; exports.EmailAutomationEnrollmentModule = EmailAutomationEnrollmentModule; exports.EmailAutomationTrigger = EmailAutomationTrigger; exports.EmailAutomationTriggerModule = EmailAutomationTriggerModule; exports.EmailAutomationService = EmailAutomationService; exports.EmailAutomationStepService = EmailAutomationStepService; exports.EmailAutomationEnrollmentService = EmailAutomationEnrollmentService; exports.EmailAutomationFields = EmailAutomationFields; exports.EmailAutomationEnrollmentFields = EmailAutomationEnrollmentFields; exports.BlogCategory = BlogCategory; exports.BlogCategoryTranslation = BlogCategoryTranslation; exports.BlogPost = BlogPost; exports.BlogPostTranslation = BlogPostTranslation; exports.BLOG_LIST_LAYOUTS = BLOG_LIST_LAYOUTS; exports.BLOG_POST_STATUSES = BLOG_POST_STATUSES; exports.BLOG_TRANSLATION_SOURCES = BLOG_TRANSLATION_SOURCES; exports.BLOG_SETTINGS_ID = BLOG_SETTINGS_ID; exports.BLOG_MODULE_ID = BLOG_MODULE_ID; exports.BLOG_UPLOAD_ROOT = BLOG_UPLOAD_ROOT; exports.BLOG_POST_UPLOAD_PREFIX = BLOG_POST_UPLOAD_PREFIX; exports.BLOG_CATEGORY_UPLOAD_PREFIX = BLOG_CATEGORY_UPLOAD_PREFIX; exports.BLOG_PUBLIC_PREFIX = BLOG_PUBLIC_PREFIX; exports.BLOG_ACTION = BLOG_ACTION; exports.BlogSettings = BlogSettings; exports.BlogPostModule = BlogPostModule; exports.BlogPostTranslationModule = BlogPostTranslationModule; exports.BlogCategoryModule = BlogCategoryModule; exports.BlogCategoryTranslationModule = BlogCategoryTranslationModule; exports.BlogSettingsModule = BlogSettingsModule; exports.BlogPostService = BlogPostService; exports.BlogPostTranslationService = BlogPostTranslationService; exports.BlogCategoryService = BlogCategoryService; exports.BlogCategoryTranslationService = BlogCategoryTranslationService; exports.BlogSettingsService = BlogSettingsService; exports.BlogPostFields = BlogPostFields; exports.BlogCategoryFields = BlogCategoryFields; exports.HandbookPage = HandbookPage; exports.HandbookPageModule = HandbookPageModule; exports.HandbookSection = HandbookSection; exports.HandbookSectionModule = HandbookSectionModule; exports.HandbookThreadMessage = HandbookThreadMessage; exports.HandbookThreadMessageModule = HandbookThreadMessageModule; exports.HandbookThread = HandbookThread; exports.HandbookThreadModule = HandbookThreadModule; exports.handbookPageTitle = handbookPageTitle; exports.handbookPageSummary = handbookPageSummary; exports.handbookPageContent = handbookPageContent; exports.handbookSectionTitle = handbookSectionTitle; exports.handbookSectionSummary = handbookSectionSummary; exports.HandbookPageFields = HandbookPageFields; exports.HandbookPageService = HandbookPageService; exports.HandbookSectionService = HandbookSectionService; exports.HandbookThreadMessageService = HandbookThreadMessageService; exports.HandbookThreadService = HandbookThreadService; exports.Assistant = Assistant; exports.AssistantModule = AssistantModule; exports.AssistantMessage = AssistantMessage; exports.AssistantService = AssistantService; exports.AssistantMessageModule = AssistantMessageModule; exports.AssistantMessageService = AssistantMessageService; exports.AssistantAction = AssistantAction; exports.AssistantActionModule = AssistantActionModule; exports.AssistantActionService = AssistantActionService; exports.Chunk = Chunk; exports.ChunkModule = ChunkModule; exports.Feature = Feature; exports.FeatureService = FeatureService; exports.FeatureModule = FeatureModule; exports.Module = Module; exports.ModuleModule = ModuleModule; exports.Notification = Notification; exports.NotificationFields = NotificationFields; exports.NotificationService = NotificationService; exports.NotificationModule = NotificationModule; exports.Push = Push; exports.PushService = PushService; exports.PushModule = PushModule; exports.Role = Role; exports.RoleFields = RoleFields; exports.RoleService = RoleService; exports.RoleModule = RoleModule; exports.S3 = S3; exports.S3Module = S3Module; exports.S3Service = S3Service; exports.User = User; exports.UserFields = UserFields; exports.UserService = UserService; exports.CURRENT_USER_STORAGE_KEY = CURRENT_USER_STORAGE_KEY; exports.AuthorModule = AuthorModule; exports.UserModule = UserModule; exports.OAuthClient = OAuthClient; exports.OAuthModule = OAuthModule; exports.OAuthService = OAuthService; exports.OAUTH_SCOPE_DISPLAY = OAUTH_SCOPE_DISPLAY; exports.AVAILABLE_OAUTH_SCOPES = AVAILABLE_OAUTH_SCOPES; exports.DEFAULT_GRANT_TYPES = DEFAULT_GRANT_TYPES; exports.Waitlist = Waitlist; exports.WaitlistService = WaitlistService; exports.WaitlistStats = WaitlistStats; exports.WaitlistFields = WaitlistFields; exports.WaitlistModule = WaitlistModule; exports.WaitlistStatsModule = WaitlistStatsModule; exports.PermissionMapping = PermissionMapping; exports.ModulePaths = ModulePaths; exports.RbacMatrixModel = RbacMatrixModel; exports.PermissionMappingModule = PermissionMappingModule; exports.ModulePathsModule = ModulePathsModule; exports.RbacMatrixModule = RbacMatrixModule; exports.ReferralStats = ReferralStats; exports.ReferralService = ReferralService; exports.ReferralModule = ReferralModule; exports.ReferralStatsModule = ReferralStatsModule; exports.TokenUsageAdminBreakdown = TokenUsageAdminBreakdown; exports.TokenUsageAdminSummary = TokenUsageAdminSummary; exports.TokenUsageAdminTimeline = TokenUsageAdminTimeline; exports.TokenUsageAdminSummaryModule = TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = TokenUsageAdminTimelineModule; exports.TokenUsageAdminBreakdownModule = TokenUsageAdminBreakdownModule; exports.TokenUsageReportBreakdown = TokenUsageReportBreakdown; exports.TokenUsageReportSummary = TokenUsageReportSummary; exports.TokenUsageReportTimeline = TokenUsageReportTimeline; exports.tokenUsageModules = tokenUsageModules; exports.AnalyticsBreakdown = AnalyticsBreakdown; exports.AnalyticsEvent = AnalyticsEvent; exports.AnalyticsPageView = AnalyticsPageView; exports.AnalyticsSession = AnalyticsSession; exports.AnalyticsSummary = AnalyticsSummary; exports.AnalyticsTimeline = AnalyticsTimeline; exports.analyticsModules = analyticsModules; exports.configureTokenUsage = configureTokenUsage; exports.getTokenUsageCurrency = getTokenUsageCurrency; exports.AuditLog = AuditLog; exports.AuditLogService = AuditLogService; exports.AuditLogModule = AuditLogModule;
12362
+ //# sourceMappingURL=chunk-HKZAESS6.js.map