@carlonicora/nextjs-jsonapi 5.3.0 → 5.5.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 (233) hide show
  1. package/dist/{BlockNoteEditor-WTSQANKI.mjs → BlockNoteEditor-GVQCKRMU.mjs} +9 -8
  2. package/dist/BlockNoteEditor-GVQCKRMU.mjs.map +1 -0
  3. package/dist/{BlockNoteEditor-UJ6363LC.js → BlockNoteEditor-THBJH2UR.js} +24 -23
  4. package/dist/BlockNoteEditor-THBJH2UR.js.map +1 -0
  5. package/dist/{BlockNoteViewer-JVKWJZ6J.mjs → BlockNoteViewer-U6E3DS4F.mjs} +3 -3
  6. package/dist/{BlockNoteViewer-EL4JFB6P.js → BlockNoteViewer-VZOVKTFO.js} +4 -4
  7. package/dist/{BlockNoteViewer-EL4JFB6P.js.map → BlockNoteViewer-VZOVKTFO.js.map} +1 -1
  8. package/dist/BlogCategoryFields-DO48vOTE.d.mts +14 -0
  9. package/dist/BlogCategoryFields-DO48vOTE.d.ts +14 -0
  10. package/dist/BlogPostInterface-BB_4wcDR.d.mts +124 -0
  11. package/dist/BlogPostInterface-bWAT1rfR.d.ts +124 -0
  12. package/dist/billing/index.js +442 -442
  13. package/dist/billing/index.mjs +4 -4
  14. package/dist/blog-public.types-BbrzsC1c.d.mts +30 -0
  15. package/dist/blog-public.types-BbrzsC1c.d.ts +30 -0
  16. package/dist/chunk-3CGROPF3.mjs +107 -0
  17. package/dist/chunk-3CGROPF3.mjs.map +1 -0
  18. package/dist/{chunk-QKZUE5OF.mjs → chunk-3YW35YHQ.mjs} +1 -101
  19. package/dist/chunk-3YW35YHQ.mjs.map +1 -0
  20. package/dist/{chunk-6WU74VFU.mjs → chunk-6SQYXUVP.mjs} +2 -2
  21. package/dist/{chunk-CRI4T47Y.js → chunk-G6UE6MEP.js} +814 -59
  22. package/dist/chunk-G6UE6MEP.js.map +1 -0
  23. package/dist/{chunk-XGTQWBDJ.js → chunk-KSYQEKJX.js} +11 -111
  24. package/dist/chunk-KSYQEKJX.js.map +1 -0
  25. package/dist/{chunk-EO75CV76.js → chunk-S4YJ5WCW.js} +8 -8
  26. package/dist/{chunk-EO75CV76.js.map → chunk-S4YJ5WCW.js.map} +1 -1
  27. package/dist/{chunk-3BAM23VA.js → chunk-TY5FYP3G.js} +930 -883
  28. package/dist/chunk-TY5FYP3G.js.map +1 -0
  29. package/dist/{chunk-JQWI62NV.mjs → chunk-VC5A3AUZ.mjs} +776 -21
  30. package/dist/chunk-VC5A3AUZ.mjs.map +1 -0
  31. package/dist/{chunk-FNTQQFLH.mjs → chunk-W7F5BDSV.mjs} +2 -2
  32. package/dist/{chunk-QQQE3N2X.js → chunk-WPYT4UKJ.js} +3 -3
  33. package/dist/{chunk-QQQE3N2X.js.map → chunk-WPYT4UKJ.js.map} +1 -1
  34. package/dist/{chunk-MIZTWBPX.mjs → chunk-X5WIUUNG.mjs} +1485 -1438
  35. package/dist/chunk-X5WIUUNG.mjs.map +1 -0
  36. package/dist/chunk-YDYVJM4I.js +107 -0
  37. package/dist/chunk-YDYVJM4I.js.map +1 -0
  38. package/dist/client/index.js +5 -5
  39. package/dist/client/index.js.map +1 -1
  40. package/dist/client/index.mjs +4 -4
  41. package/dist/components/editors/server.d.mts +15 -0
  42. package/dist/components/editors/server.d.ts +15 -0
  43. package/dist/components/editors/server.js +38 -0
  44. package/dist/components/editors/server.js.map +1 -0
  45. package/dist/components/editors/server.mjs +38 -0
  46. package/dist/components/editors/server.mjs.map +1 -0
  47. package/dist/components/index.d.mts +46 -12
  48. package/dist/components/index.d.ts +46 -12
  49. package/dist/components/index.js +7 -5
  50. package/dist/components/index.js.map +1 -1
  51. package/dist/components/index.mjs +8 -6
  52. package/dist/contexts/index.d.mts +9 -1
  53. package/dist/contexts/index.d.ts +9 -1
  54. package/dist/contexts/index.js +5 -5
  55. package/dist/contexts/index.mjs +4 -4
  56. package/dist/core/index.d.mts +214 -3
  57. package/dist/core/index.d.ts +214 -3
  58. package/dist/core/index.js +38 -4
  59. package/dist/core/index.js.map +1 -1
  60. package/dist/core/index.mjs +37 -3
  61. package/dist/email-automations/index.d.mts +3 -0
  62. package/dist/email-automations/index.d.ts +3 -0
  63. package/dist/email-automations/index.js +99 -95
  64. package/dist/email-automations/index.js.map +1 -1
  65. package/dist/email-automations/index.mjs +30 -26
  66. package/dist/email-automations/index.mjs.map +1 -1
  67. package/dist/features/analytics/index.d.mts +11 -4
  68. package/dist/features/analytics/index.d.ts +11 -4
  69. package/dist/features/analytics/index.js +127 -135
  70. package/dist/features/analytics/index.js.map +1 -1
  71. package/dist/features/analytics/index.mjs +16 -24
  72. package/dist/features/analytics/index.mjs.map +1 -1
  73. package/dist/features/analytics/server.d.mts +5 -2
  74. package/dist/features/analytics/server.d.ts +5 -2
  75. package/dist/features/analytics/server.js +9 -8
  76. package/dist/features/analytics/server.js.map +1 -1
  77. package/dist/features/analytics/server.mjs +7 -6
  78. package/dist/features/analytics/server.mjs.map +1 -1
  79. package/dist/features/blog/index.css +30 -0
  80. package/dist/features/blog/index.css.map +1 -0
  81. package/dist/features/blog/index.d.mts +276 -0
  82. package/dist/features/blog/index.d.ts +276 -0
  83. package/dist/features/blog/index.js +1810 -0
  84. package/dist/features/blog/index.js.map +1 -0
  85. package/dist/features/blog/index.mjs +1810 -0
  86. package/dist/features/blog/index.mjs.map +1 -0
  87. package/dist/features/blog/server.d.mts +36 -0
  88. package/dist/features/blog/server.d.ts +36 -0
  89. package/dist/features/blog/server.js +167 -0
  90. package/dist/features/blog/server.js.map +1 -0
  91. package/dist/features/blog/server.mjs +167 -0
  92. package/dist/features/blog/server.mjs.map +1 -0
  93. package/dist/features/help/index.js +38 -38
  94. package/dist/features/help/index.mjs +4 -4
  95. package/dist/features/tokenusage/index.d.mts +1 -3
  96. package/dist/features/tokenusage/index.d.ts +1 -3
  97. package/dist/features/tokenusage/index.js +127 -135
  98. package/dist/features/tokenusage/index.js.map +1 -1
  99. package/dist/features/tokenusage/index.mjs +10 -18
  100. package/dist/features/tokenusage/index.mjs.map +1 -1
  101. package/dist/index.d.mts +4 -2
  102. package/dist/index.d.ts +4 -2
  103. package/dist/index.js +39 -5
  104. package/dist/index.js.map +1 -1
  105. package/dist/index.mjs +38 -4
  106. package/dist/{s3.service-CY-jgOAM.d.ts → s3.service-Bz_K-tjz.d.ts} +11 -0
  107. package/dist/{s3.service-Sri0QP7Z.d.mts → s3.service-D5zNCEW3.d.mts} +11 -0
  108. package/dist/server/index.d.mts +1 -1
  109. package/dist/server/index.d.ts +1 -1
  110. package/dist/server/index.js +9 -7
  111. package/dist/server/index.js.map +1 -1
  112. package/dist/server/index.mjs +13 -11
  113. package/messages/en.json +93 -0
  114. package/messages/it.json +93 -0
  115. package/package.json +19 -1
  116. package/src/components/editors/BlockNoteEditor.tsx +13 -3
  117. package/src/components/editors/server/BlockNoteServerContent.tsx +28 -0
  118. package/src/components/editors/server/__tests__/renderBlockNoteHTML.spec.ts +44 -0
  119. package/src/components/editors/server/renderBlockNoteHTML.ts +26 -0
  120. package/src/components/editors/server-entry.ts +7 -0
  121. package/src/components/forms/FormBlockNote.tsx +4 -0
  122. package/src/components/index.ts +1 -0
  123. package/src/components/navigations/ContentTitle.tsx +14 -3
  124. package/src/components/viewers/BlockNoteStaticViewer.tsx +44 -0
  125. package/src/core/index.ts +4 -0
  126. package/src/core/registry/ModuleRegistry.ts +6 -0
  127. package/src/features/administration/components/AdminIndexContainer.tsx +61 -33
  128. package/src/features/administration/components/__tests__/AdminIndexContainer.spec.tsx +61 -1
  129. package/src/features/administration/components/index.ts +2 -1
  130. package/src/features/administration/contexts/AdministrationContext.tsx +11 -3
  131. package/src/features/administration/contexts/__tests__/AdministrationContext.spec.tsx +40 -0
  132. package/src/features/ai-connection/ai-connection.module.ts +2 -0
  133. package/src/features/ai-connection/contexts/AiConnectionsContext.tsx +3 -16
  134. package/src/features/ai-connection/contexts/__tests__/AiConnectionsContext.spec.tsx +33 -0
  135. package/src/features/analytics/__tests__/server-entry.spec.tsx +2 -1
  136. package/src/features/analytics/analytics.modules.ts +22 -5
  137. package/src/features/analytics/components/AnalyticsAdminContainer.tsx +4 -3
  138. package/src/features/analytics/components/AnalyticsAdminPageContainer.tsx +6 -3
  139. package/src/features/analytics/components/AnalyticsJourneyContainer.tsx +4 -3
  140. package/src/features/analytics/components/__tests__/AnalyticsJourneyContainer.spec.tsx +11 -0
  141. package/src/features/analytics/components/__tests__/AnalyticsPageContainers.spec.tsx +12 -1
  142. package/src/features/analytics/components/server/AnalyticsAdminPage.tsx +6 -3
  143. package/src/features/analytics/contexts/AnalyticsAdminContext.tsx +8 -17
  144. package/src/features/analytics/contexts/__tests__/AnalyticsAdminContext.spec.tsx +17 -0
  145. package/src/features/billing/stripe-price/stripe-price.module.ts +2 -0
  146. package/src/features/billing/stripe-product/stripe-product.module.ts +2 -0
  147. package/src/features/blog/BlogModules.ts +49 -0
  148. package/src/features/blog/components/admin/BlogAdminContainer.tsx +39 -0
  149. package/src/features/blog/components/admin/BlogCategoriesList.tsx +56 -0
  150. package/src/features/blog/components/admin/BlogCategoryEditor.tsx +230 -0
  151. package/src/features/blog/components/admin/BlogCoverImageField.tsx +123 -0
  152. package/src/features/blog/components/admin/BlogLayoutSetting.tsx +86 -0
  153. package/src/features/blog/components/admin/BlogPostComparison.tsx +54 -0
  154. package/src/features/blog/components/admin/BlogPostContainer.tsx +101 -0
  155. package/src/features/blog/components/admin/BlogPostDeleter.tsx +35 -0
  156. package/src/features/blog/components/admin/BlogPostEditor.tsx +216 -0
  157. package/src/features/blog/components/admin/BlogPostPublishButton.tsx +50 -0
  158. package/src/features/blog/components/admin/BlogPostTranslationEditor.tsx +118 -0
  159. package/src/features/blog/components/admin/BlogPostTranslationPanel.tsx +136 -0
  160. package/src/features/blog/components/admin/BlogPostsList.tsx +58 -0
  161. package/src/features/blog/components/admin/BlogTranslationStatus.tsx +104 -0
  162. package/src/features/blog/components/admin/__tests__/BlogPostTranslationPanel.spec.tsx +100 -0
  163. package/src/features/blog/components/admin/__tests__/BlogPostsList.spec.tsx +30 -0
  164. package/src/features/blog/components/admin/index.ts +14 -0
  165. package/src/features/blog/components/public/BlogCategoryChips.tsx +59 -0
  166. package/src/features/blog/components/public/BlogList.tsx +21 -0
  167. package/src/features/blog/components/public/BlogListColumn.tsx +53 -0
  168. package/src/features/blog/components/public/BlogListFeatured.tsx +57 -0
  169. package/src/features/blog/components/public/BlogListParts.tsx +74 -0
  170. package/src/features/blog/components/public/BlogListRail.tsx +62 -0
  171. package/src/features/blog/components/public/BlogPostCard.tsx +125 -0
  172. package/src/features/blog/components/public/BlogPostMeta.tsx +49 -0
  173. package/src/features/blog/components/public/BlogPostView.tsx +80 -0
  174. package/src/features/blog/components/public/BlogSearchBox.tsx +52 -0
  175. package/src/features/blog/components/public/__tests__/BlogList.spec.tsx +175 -0
  176. package/src/features/blog/components/public/__tests__/BlogPostView.spec.tsx +134 -0
  177. package/src/features/blog/components/public/blogPublicHelpers.ts +30 -0
  178. package/src/features/blog/components/public/index.ts +3 -0
  179. package/src/features/blog/contexts/BlogPostContext.tsx +66 -0
  180. package/src/features/blog/contexts/index.ts +1 -0
  181. package/src/features/blog/data/BlogCategory.ts +93 -0
  182. package/src/features/blog/data/BlogCategoryFields.ts +4 -0
  183. package/src/features/blog/data/BlogCategoryInterface.ts +24 -0
  184. package/src/features/blog/data/BlogCategoryService.ts +54 -0
  185. package/src/features/blog/data/BlogCategoryTranslation.ts +90 -0
  186. package/src/features/blog/data/BlogCategoryTranslationInterface.ts +22 -0
  187. package/src/features/blog/data/BlogCategoryTranslationService.ts +30 -0
  188. package/src/features/blog/data/BlogPost.spec.ts +123 -0
  189. package/src/features/blog/data/BlogPost.ts +159 -0
  190. package/src/features/blog/data/BlogPostFields.ts +7 -0
  191. package/src/features/blog/data/BlogPostInterface.ts +39 -0
  192. package/src/features/blog/data/BlogPostService.ts +82 -0
  193. package/src/features/blog/data/BlogPostTranslation.spec.ts +73 -0
  194. package/src/features/blog/data/BlogPostTranslation.ts +110 -0
  195. package/src/features/blog/data/BlogPostTranslationInterface.ts +27 -0
  196. package/src/features/blog/data/BlogPostTranslationService.ts +30 -0
  197. package/src/features/blog/data/BlogSettings.ts +37 -0
  198. package/src/features/blog/data/BlogSettingsInterface.ts +11 -0
  199. package/src/features/blog/data/BlogSettingsService.ts +24 -0
  200. package/src/features/blog/data/index.ts +17 -0
  201. package/src/features/blog/hooks/index.ts +3 -0
  202. package/src/features/blog/hooks/useBlogCategoryNames.ts +34 -0
  203. package/src/features/blog/hooks/useBlogCategoryTableStructure.tsx +84 -0
  204. package/src/features/blog/hooks/useBlogPostTableStructure.tsx +126 -0
  205. package/src/features/blog/index.ts +15 -0
  206. package/src/features/blog/server/fetchers.ts +169 -0
  207. package/src/features/blog/server/toPublic.spec.ts +91 -0
  208. package/src/features/blog/server/toPublic.ts +36 -0
  209. package/src/features/blog/server-entry.ts +17 -0
  210. package/src/features/blog/types/blog-public.types.ts +34 -0
  211. package/src/features/blog/types/blog.constants.ts +40 -0
  212. package/src/features/email-automation/components/containers/EmailAutomationsListContainer.tsx +12 -3
  213. package/src/features/rbac/contexts/RbacContext.tsx +4 -7
  214. package/src/features/rbac/contexts/__tests__/RbacContext.spec.tsx +42 -0
  215. package/src/features/s3/data/s3.service.ts +17 -0
  216. package/src/features/tokenusage/components/TokenUsageAdminContainer.tsx +4 -3
  217. package/src/features/tokenusage/contexts/TokenUsageAdminContext.tsx +3 -18
  218. package/src/features/tokenusage/contexts/__tests__/TokenUsageAdminContext.spec.tsx +17 -0
  219. package/src/features/tokenusage/tokenusage-admin.module.ts +4 -3
  220. package/src/features/tokenusage/tokenusage.modules.ts +12 -2
  221. package/src/features/user/contexts/UserContext.tsx +18 -3
  222. package/src/features/user/contexts/__tests__/UserContext.spec.tsx +95 -0
  223. package/dist/BlockNoteEditor-UJ6363LC.js.map +0 -1
  224. package/dist/BlockNoteEditor-WTSQANKI.mjs.map +0 -1
  225. package/dist/chunk-3BAM23VA.js.map +0 -1
  226. package/dist/chunk-CRI4T47Y.js.map +0 -1
  227. package/dist/chunk-JQWI62NV.mjs.map +0 -1
  228. package/dist/chunk-MIZTWBPX.mjs.map +0 -1
  229. package/dist/chunk-QKZUE5OF.mjs.map +0 -1
  230. package/dist/chunk-XGTQWBDJ.js.map +0 -1
  231. /package/dist/{BlockNoteViewer-JVKWJZ6J.mjs.map → BlockNoteViewer-U6E3DS4F.mjs.map} +0 -0
  232. /package/dist/{chunk-6WU74VFU.mjs.map → chunk-6SQYXUVP.mjs.map} +0 -0
  233. /package/dist/{chunk-FNTQQFLH.mjs.map → chunk-W7F5BDSV.mjs.map} +0 -0
@@ -1,9 +1,7 @@
1
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;
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
@@ -5460,6 +5464,7 @@ var AiConnectionService = class extends AbstractService {
5460
5464
  };
5461
5465
 
5462
5466
  // src/features/ai-connection/ai-connection.module.ts
5467
+
5463
5468
  var AiConnectionModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
5464
5469
  name: "ai-connections",
5465
5470
  // The administration route this entity is served at. `name` above stays the
@@ -5468,11 +5473,12 @@ var AiConnectionModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (f
5468
5473
  // rewrites the URL to a 404 on the first tab change.
5469
5474
  pageUrl: "/administration/ai-connections",
5470
5475
  model: AiConnection,
5471
- moduleId: "7d3f2b8a-91c4-4e6d-a5f0-2c9b8e4d1a37"
5476
+ moduleId: "7d3f2b8a-91c4-4e6d-a5f0-2c9b8e4d1a37",
5477
+ icon: _lucidereact.PlugZapIcon
5472
5478
  }), "AiConnectionModule");
5473
5479
 
5474
5480
  // src/features/company/company.module.ts
5475
- var _lucidereact = require('lucide-react');
5481
+
5476
5482
 
5477
5483
  // src/features/company/data/company.ts
5478
5484
  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); }
@@ -6711,6 +6717,679 @@ var EmailAutomationEnrollmentFields = /* @__PURE__ */ ((EmailAutomationEnrollmen
6711
6717
  return EmailAutomationEnrollmentFields2;
6712
6718
  })(EmailAutomationEnrollmentFields || {});
6713
6719
 
6720
+ // src/features/blog/BlogModules.ts
6721
+
6722
+
6723
+ // src/features/blog/data/BlogCategory.ts
6724
+ var BlogCategory = class extends AbstractApiData {
6725
+ static {
6726
+ _chunk7QVYU63Ejs.__name.call(void 0, this, "BlogCategory");
6727
+ }
6728
+
6729
+
6730
+
6731
+
6732
+
6733
+
6734
+
6735
+ get originalLanguage() {
6736
+ return _nullishCoalesce(this._originalLanguage, () => ( ""));
6737
+ }
6738
+ get image() {
6739
+ return this._image;
6740
+ }
6741
+ get translations() {
6742
+ return _nullishCoalesce(this._translations, () => ( []));
6743
+ }
6744
+ get original() {
6745
+ return this.translations.find((translation) => translation.isOriginal);
6746
+ }
6747
+ get language() {
6748
+ return this._language;
6749
+ }
6750
+ get name() {
6751
+ return this._name;
6752
+ }
6753
+ get slug() {
6754
+ return this._slug;
6755
+ }
6756
+ get description() {
6757
+ return this._description;
6758
+ }
6759
+ rehydrate(data) {
6760
+ super.rehydrate(data);
6761
+ const attributes = _nullishCoalesce(data.jsonApi.attributes, () => ( {}));
6762
+ const meta = _nullishCoalesce(data.jsonApi.meta, () => ( {}));
6763
+ const resolved = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (key) => _nullishCoalesce(_nullishCoalesce(attributes[key], () => ( meta[key])), () => ( void 0)), "resolved");
6764
+ this._originalLanguage = attributes.originalLanguage;
6765
+ this._image = _nullishCoalesce(attributes.image, () => ( void 0));
6766
+ this._language = resolved("language");
6767
+ this._name = resolved("name");
6768
+ this._slug = resolved("slug");
6769
+ this._description = resolved("description");
6770
+ this._translations = this._readIncluded(
6771
+ data,
6772
+ "translations",
6773
+ Modules.BlogCategoryTranslation
6774
+ );
6775
+ return this;
6776
+ }
6777
+ createJsonApi(data) {
6778
+ const response = {
6779
+ data: {
6780
+ type: Modules.BlogCategory.name,
6781
+ id: data.id,
6782
+ attributes: {},
6783
+ meta: {},
6784
+ relationships: {}
6785
+ },
6786
+ included: []
6787
+ };
6788
+ if (data.originalLanguage !== void 0) response.data.attributes.originalLanguage = data.originalLanguage;
6789
+ if (data.name !== void 0) response.data.attributes.name = data.name;
6790
+ if (data.slug !== void 0) response.data.attributes.slug = data.slug;
6791
+ if (data.description !== void 0) response.data.attributes.description = data.description;
6792
+ if (data.image !== void 0) response.data.attributes.image = data.image;
6793
+ return response;
6794
+ }
6795
+ };
6796
+
6797
+ // src/features/blog/data/BlogCategoryTranslation.ts
6798
+ var BlogCategoryTranslation = class extends AbstractApiData {
6799
+ static {
6800
+ _chunk7QVYU63Ejs.__name.call(void 0, this, "BlogCategoryTranslation");
6801
+ }
6802
+
6803
+
6804
+
6805
+
6806
+
6807
+
6808
+
6809
+
6810
+
6811
+ get language() {
6812
+ return _nullishCoalesce(this._language, () => ( ""));
6813
+ }
6814
+ get isOriginal() {
6815
+ return _nullishCoalesce(this._isOriginal, () => ( false));
6816
+ }
6817
+ get source() {
6818
+ return _nullishCoalesce(this._source, () => ( "ai"));
6819
+ }
6820
+ get aiStatus() {
6821
+ return _nullishCoalesce(this._aiStatus, () => ( "pending"));
6822
+ }
6823
+ get name() {
6824
+ return _nullishCoalesce(this._name, () => ( ""));
6825
+ }
6826
+ get slug() {
6827
+ return _nullishCoalesce(this._slug, () => ( ""));
6828
+ }
6829
+ get description() {
6830
+ return this._description;
6831
+ }
6832
+ get translatedAt() {
6833
+ return this._translatedAt;
6834
+ }
6835
+ get category() {
6836
+ return this._category;
6837
+ }
6838
+ rehydrate(data) {
6839
+ super.rehydrate(data);
6840
+ const attributes = _nullishCoalesce(data.jsonApi.attributes, () => ( {}));
6841
+ this._language = attributes.language;
6842
+ this._isOriginal = attributes.isOriginal === true;
6843
+ this._source = attributes.source;
6844
+ this._aiStatus = attributes.aiStatus;
6845
+ this._name = _nullishCoalesce(attributes.name, () => ( void 0));
6846
+ this._slug = _nullishCoalesce(attributes.slug, () => ( void 0));
6847
+ this._description = _nullishCoalesce(attributes.description, () => ( void 0));
6848
+ this._translatedAt = attributes.translatedAt ? new Date(attributes.translatedAt) : void 0;
6849
+ this._category = this._readIncluded(data, "category", Modules.BlogCategory);
6850
+ return this;
6851
+ }
6852
+ createJsonApi(data) {
6853
+ const response = {
6854
+ data: {
6855
+ type: Modules.BlogCategoryTranslation.name,
6856
+ id: data.id,
6857
+ attributes: {},
6858
+ meta: {},
6859
+ relationships: {}
6860
+ },
6861
+ included: []
6862
+ };
6863
+ if (data.name !== void 0) response.data.attributes.name = data.name;
6864
+ if (data.slug !== void 0) response.data.attributes.slug = data.slug;
6865
+ if (data.description !== void 0) response.data.attributes.description = data.description;
6866
+ return response;
6867
+ }
6868
+ };
6869
+
6870
+ // src/features/blog/data/BlogPost.ts
6871
+ var BlogPost = class extends AbstractApiData {
6872
+ static {
6873
+ _chunk7QVYU63Ejs.__name.call(void 0, this, "BlogPost");
6874
+ }
6875
+
6876
+
6877
+
6878
+
6879
+
6880
+
6881
+
6882
+
6883
+
6884
+
6885
+
6886
+
6887
+
6888
+
6889
+
6890
+
6891
+ get status() {
6892
+ return _nullishCoalesce(this._status, () => ( "draft"));
6893
+ }
6894
+ get originalLanguage() {
6895
+ return _nullishCoalesce(this._originalLanguage, () => ( ""));
6896
+ }
6897
+ get coverImage() {
6898
+ return this._coverImage;
6899
+ }
6900
+ get publishedAt() {
6901
+ return this._publishedAt;
6902
+ }
6903
+ get author() {
6904
+ return this._author;
6905
+ }
6906
+ get categories() {
6907
+ return _nullishCoalesce(this._categories, () => ( []));
6908
+ }
6909
+ get translations() {
6910
+ return _nullishCoalesce(this._translations, () => ( []));
6911
+ }
6912
+ get original() {
6913
+ return this.translations.find((translation) => translation.isOriginal);
6914
+ }
6915
+ get language() {
6916
+ return this._language;
6917
+ }
6918
+ get title() {
6919
+ return this._title;
6920
+ }
6921
+ get slug() {
6922
+ return this._slug;
6923
+ }
6924
+ get summary() {
6925
+ return this._summary;
6926
+ }
6927
+ get body() {
6928
+ return _nullishCoalesce(this._body, () => ( []));
6929
+ }
6930
+ get coverImageAlt() {
6931
+ return this._coverImageAlt;
6932
+ }
6933
+ get readingMinutes() {
6934
+ return this._readingMinutes;
6935
+ }
6936
+ get authorName() {
6937
+ return this._authorName;
6938
+ }
6939
+ get categoryIds() {
6940
+ return _nullishCoalesce(this._categoryIds, () => ( []));
6941
+ }
6942
+ rehydrate(data) {
6943
+ super.rehydrate(data);
6944
+ const attributes = _nullishCoalesce(data.jsonApi.attributes, () => ( {}));
6945
+ const meta = _nullishCoalesce(data.jsonApi.meta, () => ( {}));
6946
+ const resolved = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (key) => _nullishCoalesce(_nullishCoalesce(attributes[key], () => ( meta[key])), () => ( void 0)), "resolved");
6947
+ this._status = attributes.status;
6948
+ this._originalLanguage = attributes.originalLanguage;
6949
+ this._coverImage = _nullishCoalesce(attributes.coverImage, () => ( void 0));
6950
+ this._publishedAt = attributes.publishedAt ? new Date(attributes.publishedAt) : void 0;
6951
+ this._language = resolved("language");
6952
+ this._title = resolved("title");
6953
+ this._slug = resolved("slug");
6954
+ this._summary = resolved("summary");
6955
+ const body = resolved("body");
6956
+ this._body = body ? JSON.parse(body) : void 0;
6957
+ this._coverImageAlt = resolved("coverImageAlt");
6958
+ this._readingMinutes = resolved("readingMinutes");
6959
+ this._authorName = resolved("authorName");
6960
+ this._categoryIds = _nullishCoalesce(resolved("categoryIds"), () => ( []));
6961
+ this._author = this._readIncluded(data, "author", Modules.User);
6962
+ this._categories = this._readIncluded(data, "categories", Modules.BlogCategory);
6963
+ this._translations = this._readIncluded(
6964
+ data,
6965
+ "translations",
6966
+ Modules.BlogPostTranslation
6967
+ );
6968
+ return this;
6969
+ }
6970
+ createJsonApi(data) {
6971
+ const response = {
6972
+ data: {
6973
+ type: Modules.BlogPost.name,
6974
+ id: data.id,
6975
+ attributes: {},
6976
+ meta: {},
6977
+ relationships: {}
6978
+ },
6979
+ included: []
6980
+ };
6981
+ if (data.originalLanguage !== void 0) response.data.attributes.originalLanguage = data.originalLanguage;
6982
+ if (data.title !== void 0) response.data.attributes.title = data.title;
6983
+ if (data.slug !== void 0) response.data.attributes.slug = data.slug;
6984
+ if (data.summary !== void 0) response.data.attributes.summary = data.summary;
6985
+ if (data.body !== void 0) response.data.attributes.body = JSON.stringify(data.body);
6986
+ if (data.coverImage !== void 0) response.data.attributes.coverImage = data.coverImage;
6987
+ if (data.coverImageAlt !== void 0) response.data.attributes.coverImageAlt = data.coverImageAlt;
6988
+ if (data.categoryIds !== void 0) {
6989
+ response.data.relationships.categories = {
6990
+ data: data.categoryIds.map((id) => ({ type: Modules.BlogCategory.name, id }))
6991
+ };
6992
+ }
6993
+ return response;
6994
+ }
6995
+ };
6996
+
6997
+ // src/features/blog/data/BlogPostTranslation.ts
6998
+ var BlogPostTranslation = class extends AbstractApiData {
6999
+ static {
7000
+ _chunk7QVYU63Ejs.__name.call(void 0, this, "BlogPostTranslation");
7001
+ }
7002
+
7003
+
7004
+
7005
+
7006
+
7007
+
7008
+
7009
+
7010
+
7011
+
7012
+
7013
+
7014
+ get language() {
7015
+ return _nullishCoalesce(this._language, () => ( ""));
7016
+ }
7017
+ get isOriginal() {
7018
+ return _nullishCoalesce(this._isOriginal, () => ( false));
7019
+ }
7020
+ get source() {
7021
+ return _nullishCoalesce(this._source, () => ( "ai"));
7022
+ }
7023
+ get aiStatus() {
7024
+ return _nullishCoalesce(this._aiStatus, () => ( "pending"));
7025
+ }
7026
+ get title() {
7027
+ return _nullishCoalesce(this._title, () => ( ""));
7028
+ }
7029
+ get slug() {
7030
+ return _nullishCoalesce(this._slug, () => ( ""));
7031
+ }
7032
+ get summary() {
7033
+ return this._summary;
7034
+ }
7035
+ get body() {
7036
+ return _nullishCoalesce(this._body, () => ( []));
7037
+ }
7038
+ get coverImageAlt() {
7039
+ return this._coverImageAlt;
7040
+ }
7041
+ get readingMinutes() {
7042
+ return _nullishCoalesce(this._readingMinutes, () => ( 1));
7043
+ }
7044
+ get translatedAt() {
7045
+ return this._translatedAt;
7046
+ }
7047
+ get post() {
7048
+ return this._post;
7049
+ }
7050
+ rehydrate(data) {
7051
+ super.rehydrate(data);
7052
+ const attributes = _nullishCoalesce(data.jsonApi.attributes, () => ( {}));
7053
+ this._language = attributes.language;
7054
+ this._isOriginal = attributes.isOriginal === true;
7055
+ this._source = attributes.source;
7056
+ this._aiStatus = attributes.aiStatus;
7057
+ this._title = _nullishCoalesce(attributes.title, () => ( void 0));
7058
+ this._slug = _nullishCoalesce(attributes.slug, () => ( void 0));
7059
+ this._summary = _nullishCoalesce(attributes.summary, () => ( void 0));
7060
+ this._body = attributes.body ? JSON.parse(attributes.body) : void 0;
7061
+ this._coverImageAlt = _nullishCoalesce(attributes.coverImageAlt, () => ( void 0));
7062
+ this._readingMinutes = _nullishCoalesce(attributes.readingMinutes, () => ( void 0));
7063
+ this._translatedAt = attributes.translatedAt ? new Date(attributes.translatedAt) : void 0;
7064
+ this._post = this._readIncluded(data, "post", Modules.BlogPost);
7065
+ return this;
7066
+ }
7067
+ createJsonApi(data) {
7068
+ const response = {
7069
+ data: {
7070
+ type: Modules.BlogPostTranslation.name,
7071
+ id: data.id,
7072
+ attributes: {},
7073
+ meta: {},
7074
+ relationships: {}
7075
+ },
7076
+ included: []
7077
+ };
7078
+ if (data.title !== void 0) response.data.attributes.title = data.title;
7079
+ if (data.slug !== void 0) response.data.attributes.slug = data.slug;
7080
+ if (data.summary !== void 0) response.data.attributes.summary = data.summary;
7081
+ if (data.body !== void 0) response.data.attributes.body = JSON.stringify(data.body);
7082
+ if (data.coverImageAlt !== void 0) response.data.attributes.coverImageAlt = data.coverImageAlt;
7083
+ return response;
7084
+ }
7085
+ };
7086
+
7087
+ // src/features/blog/types/blog.constants.ts
7088
+ var BLOG_LIST_LAYOUTS = ["featured", "column", "rail"];
7089
+ var BLOG_POST_STATUSES = ["draft", "published", "unpublished"];
7090
+ var BLOG_TRANSLATION_SOURCES = ["original", "ai", "manual"];
7091
+ var BLOG_SETTINGS_ID = "5f3c2a9e-8d41-4b7a-9c2e-1a6b0d4e7f13";
7092
+ var BLOG_MODULE_ID = "c1d0e6a2-4b8f-4f3e-9a7d-2e5b8c6f1a90";
7093
+ var BLOG_UPLOAD_ROOT = "blog";
7094
+ var BLOG_POST_UPLOAD_PREFIX = `${BLOG_UPLOAD_ROOT}/blog-posts`;
7095
+ var BLOG_CATEGORY_UPLOAD_PREFIX = `${BLOG_UPLOAD_ROOT}/blog-categories`;
7096
+ var BLOG_PUBLIC_PREFIX = "public";
7097
+ var BLOG_ACTION = {
7098
+ publish: "publish",
7099
+ unpublish: "unpublish",
7100
+ retranslate: "retranslate",
7101
+ related: "related"
7102
+ };
7103
+
7104
+ // src/features/blog/data/BlogSettings.ts
7105
+ var BlogSettings = class extends AbstractApiData {
7106
+ static {
7107
+ _chunk7QVYU63Ejs.__name.call(void 0, this, "BlogSettings");
7108
+ }
7109
+
7110
+ get listLayout() {
7111
+ return _nullishCoalesce(this._listLayout, () => ( "featured"));
7112
+ }
7113
+ rehydrate(data) {
7114
+ super.rehydrate(data);
7115
+ const listLayout = _optionalChain([data, 'access', _158 => _158.jsonApi, 'access', _159 => _159.attributes, 'optionalAccess', _160 => _160.listLayout]);
7116
+ this._listLayout = BLOG_LIST_LAYOUTS.includes(listLayout) ? listLayout : void 0;
7117
+ return this;
7118
+ }
7119
+ createJsonApi(data) {
7120
+ const response = {
7121
+ data: {
7122
+ type: Modules.BlogSettings.name,
7123
+ id: data.id,
7124
+ attributes: {},
7125
+ meta: {},
7126
+ relationships: {}
7127
+ },
7128
+ included: []
7129
+ };
7130
+ response.data.attributes.listLayout = data.listLayout;
7131
+ return response;
7132
+ }
7133
+ };
7134
+
7135
+ // src/features/blog/BlogModules.ts
7136
+ var BlogPostModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
7137
+ moduleId: BLOG_MODULE_ID,
7138
+ pageUrl: "/administration/blog",
7139
+ name: "blog-posts",
7140
+ model: BlogPost,
7141
+ icon: _lucidereact.NewspaperIcon
7142
+ }), "BlogPostModule");
7143
+ var BlogPostTranslationModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
7144
+ moduleId: BLOG_MODULE_ID,
7145
+ name: "blog-post-translations",
7146
+ model: BlogPostTranslation,
7147
+ icon: _lucidereact.NewspaperIcon
7148
+ }), "BlogPostTranslationModule");
7149
+ var BlogCategoryModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
7150
+ moduleId: BLOG_MODULE_ID,
7151
+ name: "blog-categories",
7152
+ model: BlogCategory,
7153
+ icon: _lucidereact.NewspaperIcon
7154
+ }), "BlogCategoryModule");
7155
+ var BlogCategoryTranslationModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
7156
+ moduleId: BLOG_MODULE_ID,
7157
+ name: "blog-category-translations",
7158
+ model: BlogCategoryTranslation,
7159
+ icon: _lucidereact.NewspaperIcon
7160
+ }), "BlogCategoryTranslationModule");
7161
+ var BlogSettingsModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
7162
+ moduleId: BLOG_MODULE_ID,
7163
+ name: "blog-settings",
7164
+ model: BlogSettings,
7165
+ icon: _lucidereact.NewspaperIcon
7166
+ }), "BlogSettingsModule");
7167
+
7168
+ // src/features/blog/data/BlogPostService.ts
7169
+ var BlogPostService = class extends AbstractService {
7170
+ static {
7171
+ _chunk7QVYU63Ejs.__name.call(void 0, this, "BlogPostService");
7172
+ }
7173
+ static async findMany(params = {}) {
7174
+ const endpoint = new EndpointCreator({ endpoint: Modules.BlogPost });
7175
+ if (params.search) endpoint.addAdditionalParam("search", params.search);
7176
+ return this.callApi({
7177
+ type: Modules.BlogPost,
7178
+ method: "GET" /* GET */,
7179
+ endpoint: endpoint.generate(),
7180
+ next: params.next
7181
+ });
7182
+ }
7183
+ static async findOne(params) {
7184
+ return this.callApi({
7185
+ type: Modules.BlogPost,
7186
+ method: "GET" /* GET */,
7187
+ endpoint: new EndpointCreator({ endpoint: Modules.BlogPost, id: params.id }).generate()
7188
+ });
7189
+ }
7190
+ static async create(params) {
7191
+ return this.callApi({
7192
+ type: Modules.BlogPost,
7193
+ method: "POST" /* POST */,
7194
+ endpoint: new EndpointCreator({ endpoint: Modules.BlogPost }).generate(),
7195
+ input: params
7196
+ });
7197
+ }
7198
+ static async update(params) {
7199
+ return this.callApi({
7200
+ type: Modules.BlogPost,
7201
+ method: "PUT" /* PUT */,
7202
+ endpoint: new EndpointCreator({ endpoint: Modules.BlogPost, id: params.id }).generate(),
7203
+ input: params
7204
+ });
7205
+ }
7206
+ static async delete(params) {
7207
+ await this.callApi({
7208
+ type: Modules.BlogPost,
7209
+ method: "DELETE" /* DELETE */,
7210
+ endpoint: new EndpointCreator({ endpoint: Modules.BlogPost, id: params.id }).generate()
7211
+ });
7212
+ }
7213
+ /**
7214
+ * POST blog-posts/:id/publish. Sends no body; replies with the post.
7215
+ */
7216
+ static async publish(params) {
7217
+ return this.callApi({
7218
+ type: Modules.BlogPost,
7219
+ method: "POST" /* POST */,
7220
+ endpoint: new EndpointCreator({
7221
+ endpoint: Modules.BlogPost,
7222
+ id: params.id,
7223
+ childEndpoint: BLOG_ACTION.publish
7224
+ }).generate()
7225
+ });
7226
+ }
7227
+ /**
7228
+ * POST blog-posts/:id/unpublish. Sends no body; replies with the post.
7229
+ */
7230
+ static async unpublish(params) {
7231
+ return this.callApi({
7232
+ type: Modules.BlogPost,
7233
+ method: "POST" /* POST */,
7234
+ endpoint: new EndpointCreator({
7235
+ endpoint: Modules.BlogPost,
7236
+ id: params.id,
7237
+ childEndpoint: BLOG_ACTION.unpublish
7238
+ }).generate()
7239
+ });
7240
+ }
7241
+ };
7242
+
7243
+ // src/features/blog/data/BlogPostTranslationService.ts
7244
+ var BlogPostTranslationService = class extends AbstractService {
7245
+ static {
7246
+ _chunk7QVYU63Ejs.__name.call(void 0, this, "BlogPostTranslationService");
7247
+ }
7248
+ static async update(params) {
7249
+ return this.callApi({
7250
+ type: Modules.BlogPostTranslation,
7251
+ method: "PUT" /* PUT */,
7252
+ endpoint: new EndpointCreator({ endpoint: Modules.BlogPostTranslation, id: params.id }).generate(),
7253
+ input: params
7254
+ });
7255
+ }
7256
+ /**
7257
+ * POST blog-post-translations/:id/retranslate. Re-queues this one language
7258
+ * from the current original. Replies 204.
7259
+ */
7260
+ static async retranslate(params) {
7261
+ await this.callApi({
7262
+ type: Modules.BlogPostTranslation,
7263
+ method: "POST" /* POST */,
7264
+ endpoint: new EndpointCreator({
7265
+ endpoint: Modules.BlogPostTranslation,
7266
+ id: params.id,
7267
+ childEndpoint: BLOG_ACTION.retranslate
7268
+ }).generate()
7269
+ });
7270
+ }
7271
+ };
7272
+
7273
+ // src/features/blog/data/BlogCategoryService.ts
7274
+ var BlogCategoryService = class extends AbstractService {
7275
+ static {
7276
+ _chunk7QVYU63Ejs.__name.call(void 0, this, "BlogCategoryService");
7277
+ }
7278
+ static async findMany(params = {}) {
7279
+ const endpoint = new EndpointCreator({ endpoint: Modules.BlogCategory });
7280
+ if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
7281
+ if (params.search) endpoint.addAdditionalParam("search", params.search);
7282
+ return this.callApi({
7283
+ type: Modules.BlogCategory,
7284
+ method: "GET" /* GET */,
7285
+ endpoint: endpoint.generate(),
7286
+ next: params.next
7287
+ });
7288
+ }
7289
+ static async findOne(params) {
7290
+ return this.callApi({
7291
+ type: Modules.BlogCategory,
7292
+ method: "GET" /* GET */,
7293
+ endpoint: new EndpointCreator({ endpoint: Modules.BlogCategory, id: params.id }).generate()
7294
+ });
7295
+ }
7296
+ static async create(params) {
7297
+ return this.callApi({
7298
+ type: Modules.BlogCategory,
7299
+ method: "POST" /* POST */,
7300
+ endpoint: new EndpointCreator({ endpoint: Modules.BlogCategory }).generate(),
7301
+ input: params
7302
+ });
7303
+ }
7304
+ static async update(params) {
7305
+ return this.callApi({
7306
+ type: Modules.BlogCategory,
7307
+ method: "PUT" /* PUT */,
7308
+ endpoint: new EndpointCreator({ endpoint: Modules.BlogCategory, id: params.id }).generate(),
7309
+ input: params
7310
+ });
7311
+ }
7312
+ static async delete(params) {
7313
+ await this.callApi({
7314
+ type: Modules.BlogCategory,
7315
+ method: "DELETE" /* DELETE */,
7316
+ endpoint: new EndpointCreator({ endpoint: Modules.BlogCategory, id: params.id }).generate()
7317
+ });
7318
+ }
7319
+ };
7320
+
7321
+ // src/features/blog/data/BlogCategoryTranslationService.ts
7322
+ var BlogCategoryTranslationService = class extends AbstractService {
7323
+ static {
7324
+ _chunk7QVYU63Ejs.__name.call(void 0, this, "BlogCategoryTranslationService");
7325
+ }
7326
+ static async update(params) {
7327
+ return this.callApi({
7328
+ type: Modules.BlogCategoryTranslation,
7329
+ method: "PUT" /* PUT */,
7330
+ endpoint: new EndpointCreator({ endpoint: Modules.BlogCategoryTranslation, id: params.id }).generate(),
7331
+ input: params
7332
+ });
7333
+ }
7334
+ /**
7335
+ * POST blog-category-translations/:id/retranslate. Re-queues this one
7336
+ * language from the current original. Replies 204.
7337
+ */
7338
+ static async retranslate(params) {
7339
+ await this.callApi({
7340
+ type: Modules.BlogCategoryTranslation,
7341
+ method: "POST" /* POST */,
7342
+ endpoint: new EndpointCreator({
7343
+ endpoint: Modules.BlogCategoryTranslation,
7344
+ id: params.id,
7345
+ childEndpoint: BLOG_ACTION.retranslate
7346
+ }).generate()
7347
+ });
7348
+ }
7349
+ };
7350
+
7351
+ // src/features/blog/data/BlogSettingsService.ts
7352
+ var BlogSettingsService = class extends AbstractService {
7353
+ static {
7354
+ _chunk7QVYU63Ejs.__name.call(void 0, this, "BlogSettingsService");
7355
+ }
7356
+ /**
7357
+ * GET blog-settings: the stored singleton, or the API's default.
7358
+ */
7359
+ static async get() {
7360
+ return this.callApi({
7361
+ type: Modules.BlogSettings,
7362
+ method: "GET" /* GET */,
7363
+ endpoint: new EndpointCreator({ endpoint: Modules.BlogSettings }).generate()
7364
+ });
7365
+ }
7366
+ static async save(params) {
7367
+ return this.callApi({
7368
+ type: Modules.BlogSettings,
7369
+ method: "PUT" /* PUT */,
7370
+ endpoint: new EndpointCreator({ endpoint: Modules.BlogSettings, id: params.id }).generate(),
7371
+ input: params
7372
+ });
7373
+ }
7374
+ };
7375
+
7376
+ // src/features/blog/data/BlogPostFields.ts
7377
+ var BlogPostFields = /* @__PURE__ */ ((BlogPostFields2) => {
7378
+ BlogPostFields2["title"] = "title";
7379
+ BlogPostFields2["status"] = "status";
7380
+ BlogPostFields2["categories"] = "categories";
7381
+ BlogPostFields2["publishedAt"] = "publishedAt";
7382
+ BlogPostFields2["languages"] = "languages";
7383
+ return BlogPostFields2;
7384
+ })(BlogPostFields || {});
7385
+
7386
+ // src/features/blog/data/BlogCategoryFields.ts
7387
+ var BlogCategoryFields = /* @__PURE__ */ ((BlogCategoryFields2) => {
7388
+ BlogCategoryFields2["name"] = "name";
7389
+ BlogCategoryFields2["languages"] = "languages";
7390
+ return BlogCategoryFields2;
7391
+ })(BlogCategoryFields || {});
7392
+
6714
7393
  // src/features/handbook/HandbookPageModule.ts
6715
7394
 
6716
7395
 
@@ -7090,7 +7769,7 @@ var HandbookThread = class extends AbstractApiData {
7090
7769
  super.rehydrate(data);
7091
7770
  const attributes = _nullishCoalesce(data.jsonApi.attributes, () => ( {}));
7092
7771
  this._title = attributes.title;
7093
- const fromMeta = _optionalChain([data, 'access', _158 => _158.jsonApi, 'access', _159 => _159.meta, 'optionalAccess', _160 => _160.messageCount]);
7772
+ const fromMeta = _optionalChain([data, 'access', _161 => _161.jsonApi, 'access', _162 => _162.meta, 'optionalAccess', _163 => _163.messageCount]);
7094
7773
  this._messageCount = typeof fromMeta === "number" ? fromMeta : typeof attributes.messageCount === "number" ? attributes.messageCount : 0;
7095
7774
  const messages = this._readIncluded(
7096
7775
  data,
@@ -7213,9 +7892,9 @@ var HandbookPageService = class extends AbstractService {
7213
7892
  const endpoint = new EndpointCreator({ endpoint: Modules.HandbookPage });
7214
7893
  if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
7215
7894
  if (params.search) endpoint.addAdditionalParam("search", params.search);
7216
- if (_optionalChain([Modules, 'access', _161 => _161.HandbookPage, 'access', _162 => _162.inclusions, 'optionalAccess', _163 => _163.lists, 'optionalAccess', _164 => _164.fields]))
7895
+ if (_optionalChain([Modules, 'access', _164 => _164.HandbookPage, 'access', _165 => _165.inclusions, 'optionalAccess', _166 => _166.lists, 'optionalAccess', _167 => _167.fields]))
7217
7896
  endpoint.limitToFields(Modules.HandbookPage.inclusions.lists.fields);
7218
- if (_optionalChain([Modules, 'access', _165 => _165.HandbookPage, 'access', _166 => _166.inclusions, 'optionalAccess', _167 => _167.lists, 'optionalAccess', _168 => _168.types]))
7897
+ if (_optionalChain([Modules, 'access', _168 => _168.HandbookPage, 'access', _169 => _169.inclusions, 'optionalAccess', _170 => _170.lists, 'optionalAccess', _171 => _171.types]))
7219
7898
  endpoint.limitToType(Modules.HandbookPage.inclusions.lists.types);
7220
7899
  return this.callApi({
7221
7900
  type: Modules.HandbookPage,
@@ -7264,7 +7943,7 @@ var HandbookSectionService = class extends AbstractService {
7264
7943
  static async findMany() {
7265
7944
  const endpoint = new EndpointCreator({ endpoint: Modules.HandbookSection });
7266
7945
  endpoint.addAdditionalParam("fetchAll", "true");
7267
- if (_optionalChain([Modules, 'access', _169 => _169.HandbookSection, 'access', _170 => _170.inclusions, 'optionalAccess', _171 => _171.lists, 'optionalAccess', _172 => _172.fields]))
7946
+ if (_optionalChain([Modules, 'access', _172 => _172.HandbookSection, 'access', _173 => _173.inclusions, 'optionalAccess', _174 => _174.lists, 'optionalAccess', _175 => _175.fields]))
7268
7947
  endpoint.limitToFields(Modules.HandbookSection.inclusions.lists.fields);
7269
7948
  return this.callApi({
7270
7949
  type: Modules.HandbookSection,
@@ -7321,9 +8000,9 @@ var HandbookThreadService = class extends AbstractService {
7321
8000
  const endpoint = new EndpointCreator({ endpoint: Modules.HandbookThread });
7322
8001
  if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
7323
8002
  if (params.search) endpoint.addAdditionalParam("search", params.search);
7324
- if (_optionalChain([Modules, 'access', _173 => _173.HandbookThread, 'access', _174 => _174.inclusions, 'optionalAccess', _175 => _175.lists, 'optionalAccess', _176 => _176.fields]))
8003
+ if (_optionalChain([Modules, 'access', _176 => _176.HandbookThread, 'access', _177 => _177.inclusions, 'optionalAccess', _178 => _178.lists, 'optionalAccess', _179 => _179.fields]))
7325
8004
  endpoint.limitToFields(Modules.HandbookThread.inclusions.lists.fields);
7326
- if (_optionalChain([Modules, 'access', _177 => _177.HandbookThread, 'access', _178 => _178.inclusions, 'optionalAccess', _179 => _179.lists, 'optionalAccess', _180 => _180.types]))
8005
+ if (_optionalChain([Modules, 'access', _180 => _180.HandbookThread, 'access', _181 => _181.inclusions, 'optionalAccess', _182 => _182.lists, 'optionalAccess', _183 => _183.types]))
7327
8006
  endpoint.limitToType(Modules.HandbookThread.inclusions.lists.types);
7328
8007
  return this.callApi({
7329
8008
  type: Modules.HandbookThread,
@@ -7410,15 +8089,15 @@ var Assistant = class extends AbstractApiData {
7410
8089
  }
7411
8090
  rehydrate(data) {
7412
8091
  super.rehydrate(data);
7413
- this._title = _optionalChain([data, 'access', _181 => _181.jsonApi, 'access', _182 => _182.attributes, 'optionalAccess', _183 => _183.title]);
7414
- this._engine = _optionalChain([data, 'access', _184 => _184.jsonApi, 'access', _185 => _185.attributes, 'optionalAccess', _186 => _186.engine]);
7415
- const fromMeta = _optionalChain([data, 'access', _187 => _187.jsonApi, 'access', _188 => _188.meta, 'optionalAccess', _189 => _189.messageCount]);
7416
- const fromAttrs = _optionalChain([data, 'access', _190 => _190.jsonApi, 'access', _191 => _191.attributes, 'optionalAccess', _192 => _192.messageCount]);
8092
+ this._title = _optionalChain([data, 'access', _184 => _184.jsonApi, 'access', _185 => _185.attributes, 'optionalAccess', _186 => _186.title]);
8093
+ this._engine = _optionalChain([data, 'access', _187 => _187.jsonApi, 'access', _188 => _188.attributes, 'optionalAccess', _189 => _189.engine]);
8094
+ const fromMeta = _optionalChain([data, 'access', _190 => _190.jsonApi, 'access', _191 => _191.meta, 'optionalAccess', _192 => _192.messageCount]);
8095
+ const fromAttrs = _optionalChain([data, 'access', _193 => _193.jsonApi, 'access', _194 => _194.attributes, 'optionalAccess', _195 => _195.messageCount]);
7417
8096
  this._messageCount = typeof fromMeta === "number" ? fromMeta : typeof fromAttrs === "number" ? fromAttrs : 0;
7418
- const contentLinkage = _optionalChain([data, 'access', _193 => _193.jsonApi, 'access', _194 => _194.relationships, 'optionalAccess', _195 => _195.content, 'optionalAccess', _196 => _196.data]);
8097
+ const contentLinkage = _optionalChain([data, 'access', _196 => _196.jsonApi, 'access', _197 => _197.relationships, 'optionalAccess', _198 => _198.content, 'optionalAccess', _199 => _199.data]);
7419
8098
  const boundContent = Array.isArray(contentLinkage) ? contentLinkage[0] : contentLinkage;
7420
- this._boundContentType = _optionalChain([boundContent, 'optionalAccess', _197 => _197.type]);
7421
- this._boundContentId = _optionalChain([boundContent, 'optionalAccess', _198 => _198.id]);
8099
+ this._boundContentType = _optionalChain([boundContent, 'optionalAccess', _200 => _200.type]);
8100
+ this._boundContentId = _optionalChain([boundContent, 'optionalAccess', _201 => _201.id]);
7422
8101
  return this;
7423
8102
  }
7424
8103
  createJsonApi(data) {
@@ -7534,11 +8213,11 @@ var AssistantMessage = (_class22 = class _AssistantMessage extends AbstractApiDa
7534
8213
  this._inputTokens = attrs.inputTokens;
7535
8214
  this._outputTokens = attrs.outputTokens;
7536
8215
  this._messageType = attrs.messageType;
7537
- const actionRelationship = _optionalChain([data, 'access', _199 => _199.jsonApi, 'access', _200 => _200.relationships, 'optionalAccess', _201 => _201.action, 'optionalAccess', _202 => _202.data]);
7538
- this._actionId = Array.isArray(actionRelationship) ? _optionalChain([actionRelationship, 'access', _203 => _203[0], 'optionalAccess', _204 => _204.id]) : _optionalChain([actionRelationship, 'optionalAccess', _205 => _205.id]);
8216
+ const actionRelationship = _optionalChain([data, 'access', _202 => _202.jsonApi, 'access', _203 => _203.relationships, 'optionalAccess', _204 => _204.action, 'optionalAccess', _205 => _205.data]);
8217
+ this._actionId = Array.isArray(actionRelationship) ? _optionalChain([actionRelationship, 'access', _206 => _206[0], 'optionalAccess', _207 => _207.id]) : _optionalChain([actionRelationship, 'optionalAccess', _208 => _208.id]);
7539
8218
  const refs = this._readIncludedPolymorphic(data, "references", resolveReferenceableModules());
7540
8219
  this._references = Array.isArray(refs) ? refs : refs ? [refs] : [];
7541
- if (_optionalChain([data, 'access', _206 => _206.jsonApi, 'access', _207 => _207.relationships, 'optionalAccess', _208 => _208.citations, 'optionalAccess', _209 => _209.data])) {
8220
+ if (_optionalChain([data, 'access', _209 => _209.jsonApi, 'access', _210 => _210.relationships, 'optionalAccess', _211 => _211.citations, 'optionalAccess', _212 => _212.data])) {
7542
8221
  const citations = this._readIncludedWithMeta(
7543
8222
  data,
7544
8223
  "citations",
@@ -7794,9 +8473,9 @@ var AssistantMessageService = class extends AbstractService {
7794
8473
  id: params.assistantId,
7795
8474
  childEndpoint: Modules.AssistantMessage
7796
8475
  });
7797
- if (_optionalChain([Modules, 'access', _210 => _210.AssistantMessage, 'access', _211 => _211.inclusions, 'optionalAccess', _212 => _212.lists, 'optionalAccess', _213 => _213.fields]))
8476
+ if (_optionalChain([Modules, 'access', _213 => _213.AssistantMessage, 'access', _214 => _214.inclusions, 'optionalAccess', _215 => _215.lists, 'optionalAccess', _216 => _216.fields]))
7798
8477
  endpoint.limitToFields(Modules.AssistantMessage.inclusions.lists.fields);
7799
- if (_optionalChain([Modules, 'access', _214 => _214.AssistantMessage, 'access', _215 => _215.inclusions, 'optionalAccess', _216 => _216.lists, 'optionalAccess', _217 => _217.types]))
8478
+ if (_optionalChain([Modules, 'access', _217 => _217.AssistantMessage, 'access', _218 => _218.inclusions, 'optionalAccess', _219 => _219.lists, 'optionalAccess', _220 => _220.types]))
7800
8479
  endpoint.limitToType(Modules.AssistantMessage.inclusions.lists.types);
7801
8480
  return this.callApi({
7802
8481
  type: Modules.AssistantMessage,
@@ -7810,9 +8489,9 @@ var AssistantMessageService = class extends AbstractService {
7810
8489
  endpoint: Modules.AssistantMessage,
7811
8490
  id: params.id
7812
8491
  });
7813
- if (_optionalChain([Modules, 'access', _218 => _218.AssistantMessage, 'access', _219 => _219.inclusions, 'optionalAccess', _220 => _220.lists, 'optionalAccess', _221 => _221.fields]))
8492
+ if (_optionalChain([Modules, 'access', _221 => _221.AssistantMessage, 'access', _222 => _222.inclusions, 'optionalAccess', _223 => _223.lists, 'optionalAccess', _224 => _224.fields]))
7814
8493
  endpoint.limitToFields(Modules.AssistantMessage.inclusions.lists.fields);
7815
- if (_optionalChain([Modules, 'access', _222 => _222.AssistantMessage, 'access', _223 => _223.inclusions, 'optionalAccess', _224 => _224.lists, 'optionalAccess', _225 => _225.types]))
8494
+ if (_optionalChain([Modules, 'access', _225 => _225.AssistantMessage, 'access', _226 => _226.inclusions, 'optionalAccess', _227 => _227.lists, 'optionalAccess', _228 => _228.types]))
7816
8495
  endpoint.limitToType(Modules.AssistantMessage.inclusions.lists.types);
7817
8496
  return this.callApi({
7818
8497
  type: Modules.AssistantMessage,
@@ -8137,10 +8816,10 @@ var Notification = class extends AbstractApiData {
8137
8816
  this._message = data.jsonApi.attributes.message;
8138
8817
  this._actionUrl = data.jsonApi.attributes.actionUrl;
8139
8818
  const rels = _nullishCoalesce(data.jsonApi.relationships, () => ( {}));
8140
- const actorType = _optionalChain([rels, 'access', _226 => _226.actor, 'optionalAccess', _227 => _227.data, 'optionalAccess', _228 => _228.type]);
8819
+ const actorType = _optionalChain([rels, 'access', _229 => _229.actor, 'optionalAccess', _230 => _230.data, 'optionalAccess', _231 => _231.type]);
8141
8820
  this._actor = actorType ? this._readIncluded(data, "actor", Modules.findByName(actorType)) : void 0;
8142
- const subjectName = Object.keys(rels).find((name) => name !== "actor" && _optionalChain([rels, 'access', _229 => _229[name], 'optionalAccess', _230 => _230.data, 'optionalAccess', _231 => _231.type]));
8143
- const subjectType = subjectName ? _optionalChain([rels, 'access', _232 => _232[subjectName], 'optionalAccess', _233 => _233.data, 'optionalAccess', _234 => _234.type]) : void 0;
8821
+ const subjectName = Object.keys(rels).find((name) => name !== "actor" && _optionalChain([rels, 'access', _232 => _232[name], 'optionalAccess', _233 => _233.data, 'optionalAccess', _234 => _234.type]));
8822
+ const subjectType = subjectName ? _optionalChain([rels, 'access', _235 => _235[subjectName], 'optionalAccess', _236 => _236.data, 'optionalAccess', _237 => _237.type]) : void 0;
8144
8823
  this._subject = subjectName && subjectType ? this._readIncluded(data, subjectName, Modules.findByName(subjectType)) : void 0;
8145
8824
  return this;
8146
8825
  }
@@ -8492,6 +9171,20 @@ var S3Service = class extends AbstractService {
8492
9171
  if (params.isPublic) endpoint.addAdditionalParam("isPublic", "true");
8493
9172
  return this.callApi({ type: Modules.S3, method: "GET" /* GET */, endpoint: endpoint.generate() });
8494
9173
  }
9174
+ /**
9175
+ * Presigns `key` and PUTs `file` to the presigned S3 URL. The PUT goes straight
9176
+ * to object storage (not the JSON:API backend), so it cannot use callApi.
9177
+ * Throws when the upload is rejected.
9178
+ */
9179
+ static async upload(params) {
9180
+ const s3 = await this.getPreSignedUrl({
9181
+ key: params.key,
9182
+ contentType: params.contentType,
9183
+ isPublic: params.isPublic
9184
+ });
9185
+ const response = await fetch(s3.url, { method: "PUT", headers: s3.headers, body: params.file });
9186
+ if (!response.ok) throw new Error(`S3 upload failed: ${response.status}`);
9187
+ }
8495
9188
  static async getSignedUrl(params) {
8496
9189
  const endpoint = new EndpointCreator({ endpoint: Modules.S3, id: "sign" }).addAdditionalParam("key", params.key);
8497
9190
  if (params.isPublic) endpoint.addAdditionalParam("isPublic", "true");
@@ -8713,8 +9406,8 @@ var UserService = class extends AbstractService {
8713
9406
  id: params.id,
8714
9407
  childEndpoint: "user-relevance"
8715
9408
  });
8716
- if (_optionalChain([Modules, 'access', _235 => _235.User, 'access', _236 => _236.inclusions, 'optionalAccess', _237 => _237.lists, 'optionalAccess', _238 => _238.fields])) endpoint.limitToFields(Modules.User.inclusions.lists.fields);
8717
- if (_optionalChain([Modules, 'access', _239 => _239.User, 'access', _240 => _240.inclusions, 'optionalAccess', _241 => _241.lists, 'optionalAccess', _242 => _242.types])) endpoint.limitToType(Modules.User.inclusions.lists.types);
9409
+ 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);
9410
+ 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);
8718
9411
  return this.callApi({
8719
9412
  type: Modules.User,
8720
9413
  method: "GET" /* GET */,
@@ -9011,7 +9704,7 @@ var OAuthService = class extends AbstractService {
9011
9704
  type: Modules.OAuth,
9012
9705
  method: "GET" /* GET */,
9013
9706
  endpoint: new EndpointCreator({ endpoint: "oauth/clients" }).generate(),
9014
- next: _optionalChain([params, 'optionalAccess', _243 => _243.next])
9707
+ next: _optionalChain([params, 'optionalAccess', _246 => _246.next])
9015
9708
  });
9016
9709
  }
9017
9710
  /**
@@ -9037,7 +9730,7 @@ var OAuthService = class extends AbstractService {
9037
9730
  });
9038
9731
  return {
9039
9732
  client: result.data,
9040
- clientSecret: _optionalChain([result, 'access', _244 => _244.meta, 'optionalAccess', _245 => _245.clientSecret])
9733
+ clientSecret: _optionalChain([result, 'access', _247 => _247.meta, 'optionalAccess', _248 => _248.clientSecret])
9041
9734
  };
9042
9735
  }
9043
9736
  /**
@@ -9076,7 +9769,7 @@ var OAuthService = class extends AbstractService {
9076
9769
  }).generate()
9077
9770
  });
9078
9771
  return {
9079
- clientSecret: _optionalChain([result, 'access', _246 => _246.meta, 'optionalAccess', _247 => _247.clientSecret])
9772
+ clientSecret: _optionalChain([result, 'access', _249 => _249.meta, 'optionalAccess', _250 => _250.clientSecret])
9080
9773
  };
9081
9774
  }
9082
9775
  // ==========================================
@@ -9113,7 +9806,7 @@ var OAuthService = class extends AbstractService {
9113
9806
  overridesJsonApiCreation: true
9114
9807
  });
9115
9808
  return {
9116
- redirectUrl: _optionalChain([result, 'access', _248 => _248.meta, 'optionalAccess', _249 => _249.redirectUrl])
9809
+ redirectUrl: _optionalChain([result, 'access', _251 => _251.meta, 'optionalAccess', _252 => _252.redirectUrl])
9117
9810
  };
9118
9811
  }
9119
9812
  /**
@@ -9129,7 +9822,7 @@ var OAuthService = class extends AbstractService {
9129
9822
  overridesJsonApiCreation: true
9130
9823
  });
9131
9824
  return {
9132
- redirectUrl: _optionalChain([result, 'access', _250 => _250.meta, 'optionalAccess', _251 => _251.redirectUrl])
9825
+ redirectUrl: _optionalChain([result, 'access', _253 => _253.meta, 'optionalAccess', _254 => _254.redirectUrl])
9133
9826
  };
9134
9827
  }
9135
9828
  };
@@ -9335,15 +10028,15 @@ var WaitlistService = class extends AbstractService {
9335
10028
  */
9336
10029
  static async findMany(params) {
9337
10030
  const endpoint = new EndpointCreator({ endpoint: Modules.Waitlist });
9338
- if (_optionalChain([params, 'optionalAccess', _252 => _252.status])) endpoint.addAdditionalParam("status", params.status);
9339
- if (_optionalChain([params, 'optionalAccess', _253 => _253.search])) endpoint.addAdditionalParam("search", params.search);
9340
- if (_optionalChain([params, 'optionalAccess', _254 => _254.fetchAll])) endpoint.addAdditionalParam("fetchAll", "true");
10031
+ if (_optionalChain([params, 'optionalAccess', _255 => _255.status])) endpoint.addAdditionalParam("status", params.status);
10032
+ if (_optionalChain([params, 'optionalAccess', _256 => _256.search])) endpoint.addAdditionalParam("search", params.search);
10033
+ if (_optionalChain([params, 'optionalAccess', _257 => _257.fetchAll])) endpoint.addAdditionalParam("fetchAll", "true");
9341
10034
  return this.callApi({
9342
10035
  type: Modules.Waitlist,
9343
10036
  method: "GET" /* GET */,
9344
10037
  endpoint: endpoint.generate(),
9345
- next: _optionalChain([params, 'optionalAccess', _255 => _255.next]),
9346
- previous: _optionalChain([params, 'optionalAccess', _256 => _256.previous])
10038
+ next: _optionalChain([params, 'optionalAccess', _258 => _258.next]),
10039
+ previous: _optionalChain([params, 'optionalAccess', _259 => _259.previous])
9347
10040
  });
9348
10041
  }
9349
10042
  /**
@@ -9412,10 +10105,10 @@ var WaitlistService = class extends AbstractService {
9412
10105
  method: "GET" /* GET */,
9413
10106
  endpoint: endpoint.generate()
9414
10107
  });
9415
- const attributes = _optionalChain([response, 'access', _257 => _257.data, 'optionalAccess', _258 => _258._jsonApi, 'optionalAccess', _259 => _259.attributes]);
10108
+ const attributes = _optionalChain([response, 'access', _260 => _260.data, 'optionalAccess', _261 => _261._jsonApi, 'optionalAccess', _262 => _262.attributes]);
9416
10109
  return {
9417
- email: _optionalChain([attributes, 'optionalAccess', _260 => _260.email]),
9418
- valid: _nullishCoalesce(_optionalChain([attributes, 'optionalAccess', _261 => _261.valid]), () => ( false))
10110
+ email: _optionalChain([attributes, 'optionalAccess', _263 => _263.email]),
10111
+ valid: _nullishCoalesce(_optionalChain([attributes, 'optionalAccess', _264 => _264.valid]), () => ( false))
9419
10112
  };
9420
10113
  } catch (_error) {
9421
10114
  return null;
@@ -9513,7 +10206,7 @@ var PermissionMapping = class extends AbstractApiData {
9513
10206
  super.rehydrate(data);
9514
10207
  this._roleId = data.jsonApi.attributes.roleId;
9515
10208
  this._moduleId = data.jsonApi.attributes.moduleId;
9516
- this._permissions = _optionalChain([data, 'access', _262 => _262.jsonApi, 'access', _263 => _263.meta, 'optionalAccess', _264 => _264.permissions]);
10209
+ this._permissions = _optionalChain([data, 'access', _265 => _265.jsonApi, 'access', _266 => _266.meta, 'optionalAccess', _267 => _267.permissions]);
9517
10210
  return this;
9518
10211
  }
9519
10212
  };
@@ -9688,6 +10381,9 @@ var ReferralStatsModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
9688
10381
  model: ReferralStats
9689
10382
  }), "ReferralStatsModule");
9690
10383
 
10384
+ // src/features/tokenusage/tokenusage-admin.module.ts
10385
+
10386
+
9691
10387
  // src/features/tokenusage/data/tokenusage-admin-breakdown.ts
9692
10388
  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); }
9693
10389
  static {
@@ -9924,9 +10620,12 @@ var TokenUsageAdminTimeline = (_class30 = class extends AbstractApiData {constru
9924
10620
  }, _class30);
9925
10621
 
9926
10622
  // src/features/tokenusage/tokenusage-admin.module.ts
9927
- var TokenUsageAdminSummaryModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({ name: "tokenusages/administration/summary", model: TokenUsageAdminSummary }), "TokenUsageAdminSummaryModule");
9928
- var TokenUsageAdminTimelineModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({ name: "tokenusages/administration/timeline", model: TokenUsageAdminTimeline }), "TokenUsageAdminTimelineModule");
9929
- var TokenUsageAdminBreakdownModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({ name: "tokenusages/administration/breakdown", model: TokenUsageAdminBreakdown }), "TokenUsageAdminBreakdownModule");
10623
+ var TokenUsageAdminSummaryModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({ name: "tokenusages/administration/summary", model: TokenUsageAdminSummary, icon: _lucidereact.CoinsIcon }), "TokenUsageAdminSummaryModule");
10624
+ var TokenUsageAdminTimelineModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({ name: "tokenusages/administration/timeline", model: TokenUsageAdminTimeline, icon: _lucidereact.CoinsIcon }), "TokenUsageAdminTimelineModule");
10625
+ var TokenUsageAdminBreakdownModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({ name: "tokenusages/administration/breakdown", model: TokenUsageAdminBreakdown, icon: _lucidereact.CoinsIcon }), "TokenUsageAdminBreakdownModule");
10626
+
10627
+ // src/features/tokenusage/tokenusage.modules.ts
10628
+
9930
10629
 
9931
10630
  // src/features/tokenusage/data/tokenusage-report-breakdown.ts
9932
10631
  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); }
@@ -10140,17 +10839,29 @@ var TokenUsageReportTimeline = (_class33 = class extends AbstractApiData {constr
10140
10839
 
10141
10840
  // src/features/tokenusage/tokenusage.modules.ts
10142
10841
  var tokenUsageModules = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => ({
10143
- TokenUsageAdminSummary: factory({ name: "tokenusages/administration/summary", model: TokenUsageAdminSummary }),
10144
- TokenUsageAdminTimeline: factory({ name: "tokenusages/administration/timeline", model: TokenUsageAdminTimeline }),
10842
+ TokenUsageAdminSummary: factory({
10843
+ name: "tokenusages/administration/summary",
10844
+ model: TokenUsageAdminSummary,
10845
+ icon: _lucidereact.CoinsIcon
10846
+ }),
10847
+ TokenUsageAdminTimeline: factory({
10848
+ name: "tokenusages/administration/timeline",
10849
+ model: TokenUsageAdminTimeline,
10850
+ icon: _lucidereact.CoinsIcon
10851
+ }),
10145
10852
  TokenUsageAdminBreakdown: factory({
10146
10853
  name: "tokenusages/administration/breakdown",
10147
- model: TokenUsageAdminBreakdown
10854
+ model: TokenUsageAdminBreakdown,
10855
+ icon: _lucidereact.CoinsIcon
10148
10856
  }),
10149
10857
  TokenUsageReportSummary: factory({ name: "tokenusages/reports/summary", model: TokenUsageReportSummary }),
10150
10858
  TokenUsageReportTimeline: factory({ name: "tokenusages/reports/timeline", model: TokenUsageReportTimeline }),
10151
10859
  TokenUsageReportBreakdown: factory({ name: "tokenusages/reports/breakdown", model: TokenUsageReportBreakdown })
10152
10860
  }), "tokenUsageModules");
10153
10861
 
10862
+ // src/features/analytics/analytics.modules.ts
10863
+
10864
+
10154
10865
  // src/features/analytics/data/analytics-breakdown.ts
10155
10866
  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); }
10156
10867
  static {
@@ -10535,11 +11246,27 @@ var AnalyticsTimeline = (_class39 = class extends AbstractApiData {constructor(.
10535
11246
  // src/features/analytics/analytics.modules.ts
10536
11247
  var analyticsModules = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => ({
10537
11248
  AnalyticsEvent: factory({ name: "analytics/events", model: AnalyticsEvent }),
10538
- AnalyticsSummary: factory({ name: "analytics/administration/summary", model: AnalyticsSummary }),
10539
- AnalyticsTimeline: factory({ name: "analytics/administration/timeline", model: AnalyticsTimeline }),
10540
- AnalyticsBreakdown: factory({ name: "analytics/administration/breakdown", model: AnalyticsBreakdown }),
10541
- AnalyticsSession: factory({ name: "analytics/administration/sessions", model: AnalyticsSession }),
10542
- AnalyticsPageView: factory({ name: "pageviews", model: AnalyticsPageView })
11249
+ AnalyticsSummary: factory({
11250
+ name: "analytics/administration/summary",
11251
+ model: AnalyticsSummary,
11252
+ icon: _lucidereact.ChartNoAxesCombinedIcon
11253
+ }),
11254
+ AnalyticsTimeline: factory({
11255
+ name: "analytics/administration/timeline",
11256
+ model: AnalyticsTimeline,
11257
+ icon: _lucidereact.ChartNoAxesCombinedIcon
11258
+ }),
11259
+ AnalyticsBreakdown: factory({
11260
+ name: "analytics/administration/breakdown",
11261
+ model: AnalyticsBreakdown,
11262
+ icon: _lucidereact.ChartNoAxesCombinedIcon
11263
+ }),
11264
+ AnalyticsSession: factory({
11265
+ name: "analytics/administration/sessions",
11266
+ model: AnalyticsSession,
11267
+ icon: _lucidereact.ChartNoAxesCombinedIcon
11268
+ }),
11269
+ AnalyticsPageView: factory({ name: "pageviews", model: AnalyticsPageView, icon: _lucidereact.ChartNoAxesCombinedIcon })
10543
11270
  }), "analyticsModules");
10544
11271
 
10545
11272
  // src/features/tokenusage/lib/config.ts
@@ -10911,5 +11638,33 @@ var AuditLogModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (facto
10911
11638
 
10912
11639
 
10913
11640
 
10914
- 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.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.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;
10915
- //# sourceMappingURL=chunk-CRI4T47Y.js.map
11641
+
11642
+
11643
+
11644
+
11645
+
11646
+
11647
+
11648
+
11649
+
11650
+
11651
+
11652
+
11653
+
11654
+
11655
+
11656
+
11657
+
11658
+
11659
+
11660
+
11661
+
11662
+
11663
+
11664
+
11665
+
11666
+
11667
+
11668
+
11669
+ 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;
11670
+ //# sourceMappingURL=chunk-G6UE6MEP.js.map