@carlonicora/nextjs-jsonapi 5.4.0 → 5.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) hide show
  1. package/dist/{BlockNoteEditor-4YCAIEPT.js → BlockNoteEditor-AE3ZTEEH.js} +20 -20
  2. package/dist/{BlockNoteEditor-4YCAIEPT.js.map → BlockNoteEditor-AE3ZTEEH.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-YQL2SGFR.mjs → BlockNoteEditor-NEYG5L6W.mjs} +5 -5
  4. package/dist/{BlockNoteViewer-AEJKJ27Q.mjs → BlockNoteViewer-3OUT5UFY.mjs} +3 -3
  5. package/dist/{BlockNoteViewer-YL3J7J2Y.js → BlockNoteViewer-4CFKQM7U.js} +4 -4
  6. package/dist/{BlockNoteViewer-YL3J7J2Y.js.map → BlockNoteViewer-4CFKQM7U.js.map} +1 -1
  7. package/dist/billing/index.d.mts +186 -25
  8. package/dist/billing/index.d.ts +186 -25
  9. package/dist/billing/index.js +1149 -588
  10. package/dist/billing/index.js.map +1 -1
  11. package/dist/billing/index.mjs +786 -225
  12. package/dist/billing/index.mjs.map +1 -1
  13. package/dist/{chunk-5PPG6PL7.js → chunk-3I5AAJXV.js} +3 -3
  14. package/dist/{chunk-5PPG6PL7.js.map → chunk-3I5AAJXV.js.map} +1 -1
  15. package/dist/{chunk-YW4ZCEWB.js → chunk-53BAULDP.js} +4 -4
  16. package/dist/{chunk-YW4ZCEWB.js.map → chunk-53BAULDP.js.map} +1 -1
  17. package/dist/{chunk-XCHSX3VC.mjs → chunk-BTPUYUQ3.mjs} +2 -2
  18. package/dist/{chunk-WC63PJSC.mjs → chunk-EYA2F6AN.mjs} +756 -24
  19. package/dist/chunk-EYA2F6AN.mjs.map +1 -0
  20. package/dist/{chunk-NFBOSPNJ.js → chunk-HKZAESS6.js} +954 -222
  21. package/dist/chunk-HKZAESS6.js.map +1 -0
  22. package/dist/{chunk-6DC2WVVB.mjs → chunk-KQHBONL4.mjs} +2 -2
  23. package/dist/{chunk-3NLAXVIN.js → chunk-LQ4DK4JF.js} +1988 -1089
  24. package/dist/chunk-LQ4DK4JF.js.map +1 -0
  25. package/dist/{chunk-YNCQSWQW.js → chunk-RL3PL3KV.js} +8 -8
  26. package/dist/{chunk-YNCQSWQW.js.map → chunk-RL3PL3KV.js.map} +1 -1
  27. package/dist/{chunk-EUKTBOI2.mjs → chunk-SFYPXCK4.mjs} +3382 -2483
  28. package/dist/chunk-SFYPXCK4.mjs.map +1 -0
  29. package/dist/{chunk-QMYQRPQC.mjs → chunk-Y7RR57EW.mjs} +2 -2
  30. package/dist/client/index.js +5 -5
  31. package/dist/client/index.js.map +1 -1
  32. package/dist/client/index.mjs +4 -4
  33. package/dist/components/editors/server.d.mts +15 -0
  34. package/dist/components/editors/server.d.ts +15 -0
  35. package/dist/components/editors/server.js +38 -0
  36. package/dist/components/editors/server.js.map +1 -0
  37. package/dist/components/editors/server.mjs +38 -0
  38. package/dist/components/editors/server.mjs.map +1 -0
  39. package/dist/components/index.d.mts +33 -10
  40. package/dist/components/index.d.ts +33 -10
  41. package/dist/components/index.js +7 -5
  42. package/dist/components/index.js.map +1 -1
  43. package/dist/components/index.mjs +8 -6
  44. package/dist/contexts/index.d.mts +9 -1
  45. package/dist/contexts/index.d.ts +9 -1
  46. package/dist/contexts/index.js +5 -5
  47. package/dist/contexts/index.mjs +4 -4
  48. package/dist/core/index.d.mts +242 -3
  49. package/dist/core/index.d.ts +242 -3
  50. package/dist/core/index.js +36 -4
  51. package/dist/core/index.js.map +1 -1
  52. package/dist/core/index.mjs +35 -3
  53. package/dist/email-automations/index.d.mts +3 -0
  54. package/dist/email-automations/index.d.ts +3 -0
  55. package/dist/email-automations/index.js +99 -95
  56. package/dist/email-automations/index.js.map +1 -1
  57. package/dist/email-automations/index.mjs +30 -26
  58. package/dist/email-automations/index.mjs.map +1 -1
  59. package/dist/features/analytics/index.d.mts +11 -4
  60. package/dist/features/analytics/index.d.ts +11 -4
  61. package/dist/features/analytics/index.js +127 -135
  62. package/dist/features/analytics/index.js.map +1 -1
  63. package/dist/features/analytics/index.mjs +16 -24
  64. package/dist/features/analytics/index.mjs.map +1 -1
  65. package/dist/features/analytics/server.d.mts +5 -2
  66. package/dist/features/analytics/server.d.ts +5 -2
  67. package/dist/features/analytics/server.js +7 -7
  68. package/dist/features/analytics/server.js.map +1 -1
  69. package/dist/features/analytics/server.mjs +5 -5
  70. package/dist/features/analytics/server.mjs.map +1 -1
  71. package/dist/features/blog/index.d.mts +12 -2
  72. package/dist/features/blog/index.d.ts +12 -2
  73. package/dist/features/blog/index.js +206 -195
  74. package/dist/features/blog/index.js.map +1 -1
  75. package/dist/features/blog/index.mjs +71 -60
  76. package/dist/features/blog/index.mjs.map +1 -1
  77. package/dist/features/blog/server.d.mts +4 -1
  78. package/dist/features/blog/server.d.ts +4 -1
  79. package/dist/features/blog/server.js +49 -21
  80. package/dist/features/blog/server.js.map +1 -1
  81. package/dist/features/blog/server.mjs +36 -8
  82. package/dist/features/blog/server.mjs.map +1 -1
  83. package/dist/features/help/index.js +38 -38
  84. package/dist/features/help/index.mjs +4 -4
  85. package/dist/features/tokenusage/index.d.mts +1 -3
  86. package/dist/features/tokenusage/index.d.ts +1 -3
  87. package/dist/features/tokenusage/index.js +127 -135
  88. package/dist/features/tokenusage/index.js.map +1 -1
  89. package/dist/features/tokenusage/index.mjs +10 -18
  90. package/dist/features/tokenusage/index.mjs.map +1 -1
  91. package/dist/{stripe-promotion-code.interface-C3qqh3mi.d.ts → format-options-BtX3o0Yu.d.ts} +104 -1
  92. package/dist/{stripe-promotion-code.interface-ClZ7DxS9.d.mts → format-options-D6c7FNDi.d.mts} +104 -1
  93. package/dist/index.d.mts +2 -2
  94. package/dist/index.d.ts +2 -2
  95. package/dist/index.js +37 -5
  96. package/dist/index.js.map +1 -1
  97. package/dist/index.mjs +36 -4
  98. package/dist/server/index.js +4 -4
  99. package/dist/server/index.mjs +3 -3
  100. package/messages/en.json +125 -3
  101. package/messages/it.json +125 -3
  102. package/package.json +9 -1
  103. package/scripts/validate-messages.mjs +1 -0
  104. package/src/billing/index.ts +1 -0
  105. package/src/client/index.ts +4 -0
  106. package/src/components/editors/server/BlockNoteServerContent.tsx +28 -0
  107. package/src/components/editors/server/__tests__/renderBlockNoteHTML.spec.ts +44 -0
  108. package/src/components/editors/server/renderBlockNoteHTML.ts +26 -0
  109. package/src/components/editors/server-entry.ts +7 -0
  110. package/src/components/index.ts +1 -0
  111. package/src/components/viewers/BlockNoteStaticViewer.tsx +44 -0
  112. package/src/core/index.ts +1 -0
  113. package/src/core/registry/ModuleRegistry.ts +3 -0
  114. package/src/features/administration/components/AdminIndexContainer.tsx +61 -33
  115. package/src/features/administration/components/__tests__/AdminIndexContainer.spec.tsx +61 -1
  116. package/src/features/administration/components/index.ts +2 -1
  117. package/src/features/administration/contexts/AdministrationContext.tsx +11 -3
  118. package/src/features/administration/contexts/__tests__/AdministrationContext.spec.tsx +40 -0
  119. package/src/features/ai-connection/ai-connection.module.ts +2 -0
  120. package/src/features/ai-connection/contexts/AiConnectionsContext.tsx +3 -16
  121. package/src/features/ai-connection/contexts/__tests__/AiConnectionsContext.spec.tsx +33 -0
  122. package/src/features/analytics/__tests__/server-entry.spec.tsx +2 -1
  123. package/src/features/analytics/analytics.modules.ts +22 -5
  124. package/src/features/analytics/components/AnalyticsAdminContainer.tsx +4 -3
  125. package/src/features/analytics/components/AnalyticsAdminPageContainer.tsx +6 -3
  126. package/src/features/analytics/components/AnalyticsJourneyContainer.tsx +4 -3
  127. package/src/features/analytics/components/__tests__/AnalyticsJourneyContainer.spec.tsx +11 -0
  128. package/src/features/analytics/components/__tests__/AnalyticsPageContainers.spec.tsx +12 -1
  129. package/src/features/analytics/components/server/AnalyticsAdminPage.tsx +6 -3
  130. package/src/features/analytics/contexts/AnalyticsAdminContext.tsx +8 -17
  131. package/src/features/analytics/contexts/__tests__/AnalyticsAdminContext.spec.tsx +17 -0
  132. package/src/features/billing/components/cards/InvoicesSummaryCard.tsx +3 -2
  133. package/src/features/billing/components/cards/SubscriptionSummaryCard.tsx +4 -3
  134. package/src/features/billing/components/containers/BillingDashboardContainer.tsx +22 -5
  135. package/src/features/billing/components/utils/__tests__/discount.spec.ts +59 -0
  136. package/src/features/billing/components/utils/__tests__/url.spec.ts +32 -0
  137. package/src/features/billing/components/utils/discount.ts +38 -0
  138. package/src/features/billing/components/utils/index.ts +2 -0
  139. package/src/features/billing/components/utils/url.ts +12 -0
  140. package/src/features/billing/contexts/CouponContext.tsx +211 -0
  141. package/src/features/billing/contexts/index.ts +1 -0
  142. package/src/features/billing/i18n-keys.ts +79 -0
  143. package/src/features/billing/stripe-coupon/components/containers/CouponContainer.tsx +38 -0
  144. package/src/features/billing/stripe-coupon/components/containers/index.ts +1 -0
  145. package/src/features/billing/stripe-coupon/components/details/CouponDetails.tsx +69 -0
  146. package/src/features/billing/stripe-coupon/components/details/index.ts +1 -0
  147. package/src/features/billing/stripe-coupon/components/forms/CouponCodeEditor.tsx +79 -0
  148. package/src/features/billing/stripe-coupon/components/forms/CouponCodeFields.tsx +192 -0
  149. package/src/features/billing/stripe-coupon/components/forms/CouponEditor.tsx +333 -0
  150. package/src/features/billing/stripe-coupon/components/forms/CouponRefresher.tsx +45 -0
  151. package/src/features/billing/stripe-coupon/components/forms/index.ts +6 -0
  152. package/src/features/billing/stripe-coupon/components/index.ts +5 -0
  153. package/src/features/billing/stripe-coupon/components/lists/CouponCodesList.tsx +61 -0
  154. package/src/features/billing/stripe-coupon/components/lists/CouponsList.tsx +67 -0
  155. package/src/features/billing/stripe-coupon/components/lists/index.ts +2 -0
  156. package/src/features/billing/stripe-coupon/components/widgets/CouponCodeActions.tsx +80 -0
  157. package/src/features/billing/stripe-coupon/components/widgets/index.ts +1 -0
  158. package/src/features/billing/stripe-coupon/data/__tests__/stripe-coupon-models.spec.ts +114 -0
  159. package/src/features/billing/stripe-coupon/data/index.ts +10 -0
  160. package/src/features/billing/stripe-coupon/data/stripe-coupon-code.fields.ts +8 -0
  161. package/src/features/billing/stripe-coupon/data/stripe-coupon-code.interface.ts +44 -0
  162. package/src/features/billing/stripe-coupon/data/stripe-coupon-code.service.ts +92 -0
  163. package/src/features/billing/stripe-coupon/data/stripe-coupon-code.ts +132 -0
  164. package/src/features/billing/stripe-coupon/data/stripe-coupon-offer.interface.ts +17 -0
  165. package/src/features/billing/stripe-coupon/data/stripe-coupon-offer.ts +70 -0
  166. package/src/features/billing/stripe-coupon/data/stripe-coupon.fields.ts +7 -0
  167. package/src/features/billing/stripe-coupon/data/stripe-coupon.interface.ts +51 -0
  168. package/src/features/billing/stripe-coupon/data/stripe-coupon.service.ts +93 -0
  169. package/src/features/billing/stripe-coupon/data/stripe-coupon.ts +165 -0
  170. package/src/features/billing/stripe-coupon/hooks/useStripeCouponCodeTableStructure.tsx +154 -0
  171. package/src/features/billing/stripe-coupon/hooks/useStripeCouponTableStructure.tsx +113 -0
  172. package/src/features/billing/stripe-coupon/index.ts +5 -0
  173. package/src/features/billing/stripe-coupon/stripe-coupon-code.module.ts +14 -0
  174. package/src/features/billing/stripe-coupon/stripe-coupon-offer.module.ts +10 -0
  175. package/src/features/billing/stripe-coupon/stripe-coupon.module.ts +18 -0
  176. package/src/features/billing/stripe-coupon/utils/__tests__/coupon-places.spec.ts +19 -0
  177. package/src/features/billing/stripe-coupon/utils/__tests__/to-promotion-code-result.spec.ts +41 -0
  178. package/src/features/billing/stripe-coupon/utils/coupon-places.ts +23 -0
  179. package/src/features/billing/stripe-coupon/utils/format-coupon-discount.ts +36 -0
  180. package/src/features/billing/stripe-coupon/utils/index.ts +3 -0
  181. package/src/features/billing/stripe-coupon/utils/to-promotion-code-result.ts +23 -0
  182. package/src/features/billing/stripe-customer/components/forms/PaymentMethodForm.tsx +24 -8
  183. package/src/features/billing/stripe-price/stripe-price.module.ts +2 -0
  184. package/src/features/billing/stripe-product/components/containers/ProductsListContainer.tsx +21 -6
  185. package/src/features/billing/stripe-product/stripe-product.module.ts +2 -0
  186. package/src/features/billing/stripe-promotion-code/components/PromoCodeInput.tsx +60 -19
  187. package/src/features/billing/stripe-promotion-code/data/stripe-promotion-code.interface.ts +2 -0
  188. package/src/features/billing/stripe-subscription/components/containers/SubscriptionsContainer.tsx +24 -5
  189. package/src/features/billing/stripe-subscription/components/lists/SubscriptionsList.tsx +21 -2
  190. package/src/features/billing/stripe-subscription/components/wizards/SubscriptionWizard.tsx +1 -1
  191. package/src/features/billing/stripe-subscription/components/wizards/WizardStepPaymentMethod.tsx +1 -1
  192. package/src/features/billing/stripe-subscription/components/wizards/WizardStepReview.tsx +60 -49
  193. package/src/features/billing/stripe-subscription/components/wizards/__tests__/review-card.spec.ts +34 -0
  194. package/src/features/billing/stripe-subscription/components/wizards/review-card.ts +24 -0
  195. package/src/features/billing/stripe-subscription/data/__tests__/stripe-subscription.discount.spec.ts +67 -0
  196. package/src/features/billing/stripe-subscription/data/stripe-subscription.interface.ts +14 -0
  197. package/src/features/billing/stripe-subscription/data/stripe-subscription.service.ts +39 -0
  198. package/src/features/billing/stripe-subscription/data/stripe-subscription.ts +21 -0
  199. package/src/features/billing/stripe-subscription/hooks/__tests__/wizard-payment.spec.ts +48 -0
  200. package/src/features/billing/stripe-subscription/hooks/__tests__/wizard-promotion.spec.ts +132 -0
  201. package/src/features/billing/stripe-subscription/hooks/useSubscriptionWizard.ts +138 -12
  202. package/src/features/billing/stripe-subscription/hooks/wizard-payment.ts +30 -0
  203. package/src/features/billing/stripe-subscription/hooks/wizard-promotion.ts +54 -0
  204. package/src/features/blog/components/admin/BlogAdminContainer.tsx +13 -6
  205. package/src/features/blog/components/admin/BlogCategoriesList.tsx +1 -1
  206. package/src/features/blog/components/admin/BlogCoverImageField.tsx +1 -1
  207. package/src/features/blog/components/admin/BlogPostContainer.tsx +0 -1
  208. package/src/features/blog/components/admin/BlogPostEditor.tsx +42 -33
  209. package/src/features/blog/components/admin/BlogPostTranslationEditor.tsx +12 -4
  210. package/src/features/blog/components/admin/BlogPostsList.tsx +1 -1
  211. package/src/features/blog/components/public/BlogPostCard.tsx +2 -9
  212. package/src/features/blog/components/public/BlogPostMeta.tsx +2 -2
  213. package/src/features/blog/components/public/BlogPostView.tsx +9 -3
  214. package/src/features/blog/components/public/__tests__/BlogList.spec.tsx +2 -0
  215. package/src/features/blog/components/public/__tests__/BlogPostView.spec.tsx +17 -11
  216. package/src/features/blog/server/fetchers.ts +57 -8
  217. package/src/features/email-automation/components/containers/EmailAutomationsListContainer.tsx +12 -3
  218. package/src/features/rbac/contexts/RbacContext.tsx +4 -7
  219. package/src/features/rbac/contexts/__tests__/RbacContext.spec.tsx +42 -0
  220. package/src/features/tokenusage/components/TokenUsageAdminContainer.tsx +4 -3
  221. package/src/features/tokenusage/contexts/TokenUsageAdminContext.tsx +3 -18
  222. package/src/features/tokenusage/contexts/__tests__/TokenUsageAdminContext.spec.tsx +17 -0
  223. package/src/features/tokenusage/tokenusage-admin.module.ts +4 -3
  224. package/src/features/tokenusage/tokenusage.modules.ts +12 -2
  225. package/src/features/user/contexts/CurrentUserContext.tsx +25 -0
  226. package/src/features/user/contexts/UserContext.tsx +18 -3
  227. package/src/features/user/contexts/__tests__/CurrentUserContext.spec.tsx +121 -2
  228. package/src/features/user/contexts/__tests__/UserContext.spec.tsx +95 -0
  229. package/dist/chunk-3NLAXVIN.js.map +0 -1
  230. package/dist/chunk-EUKTBOI2.mjs.map +0 -1
  231. package/dist/chunk-NFBOSPNJ.js.map +0 -1
  232. package/dist/chunk-WC63PJSC.mjs.map +0 -1
  233. /package/dist/{BlockNoteEditor-YQL2SGFR.mjs.map → BlockNoteEditor-NEYG5L6W.mjs.map} +0 -0
  234. /package/dist/{BlockNoteViewer-AEJKJ27Q.mjs.map → BlockNoteViewer-3OUT5UFY.mjs.map} +0 -0
  235. /package/dist/{chunk-XCHSX3VC.mjs.map → chunk-BTPUYUQ3.mjs.map} +0 -0
  236. /package/dist/{chunk-6DC2WVVB.mjs.map → chunk-KQHBONL4.mjs.map} +0 -0
  237. /package/dist/{chunk-QMYQRPQC.mjs.map → chunk-Y7RR57EW.mjs.map} +0 -0
@@ -190,6 +190,18 @@ declare enum SubscriptionStatus {
190
190
  TRIALING = "trialing",
191
191
  PAUSED = "paused"
192
192
  }
193
+ /**
194
+ * The discount Stripe applies to the subscription (read-only, synced from Stripe).
195
+ * Exactly one of percentOff / amountOff is set.
196
+ */
197
+ type StripeSubscriptionDiscount = {
198
+ percentOff?: number;
199
+ amountOff?: number;
200
+ currency?: string;
201
+ duration: "forever" | "once" | "repeating";
202
+ durationInMonths?: number;
203
+ end?: Date;
204
+ };
193
205
  interface StripeSubscriptionInterface extends ApiDataInterface {
194
206
  get stripeSubscriptionId(): string;
195
207
  get status(): SubscriptionStatus;
@@ -200,6 +212,7 @@ interface StripeSubscriptionInterface extends ApiDataInterface {
200
212
  get trialStart(): Date | undefined;
201
213
  get trialEnd(): Date | undefined;
202
214
  get price(): StripePriceInterface | undefined;
215
+ get discount(): StripeSubscriptionDiscount | undefined;
203
216
  }
204
217
  type StripeSubscriptionInput = {
205
218
  id: string;
@@ -235,6 +248,96 @@ interface PromotionCodeValidationResult {
235
248
  duration?: "forever" | "once" | "repeating";
236
249
  durationInMonths?: number;
237
250
  errorMessage?: string;
251
+ /** True when the server applies this code by itself (no code typed by the GM). */
252
+ automatic?: boolean;
253
+ }
254
+
255
+ type StripeCouponDiscountType = "percent_off" | "amount_off";
256
+ type StripeCouponDurationType = "once" | "repeating" | "forever";
257
+ interface StripeCouponInterface extends ApiDataInterface {
258
+ get stripeCouponId(): string;
259
+ get name(): string;
260
+ get discountType(): StripeCouponDiscountType;
261
+ get percentOff(): number | undefined;
262
+ get amountOff(): number | undefined;
263
+ get currency(): string | undefined;
264
+ get duration(): StripeCouponDurationType;
265
+ get durationInMonths(): number | undefined;
266
+ get stripeProductIds(): string[];
267
+ get redeemBy(): Date | undefined;
268
+ get maxRedemptions(): number | undefined;
269
+ get timesRedeemed(): number;
270
+ get valid(): boolean;
271
+ get codes(): StripeCouponCodeInterface[];
238
272
  }
273
+ type StripeCouponInput = {
274
+ id: string;
275
+ name: string;
276
+ stripeCouponId?: string;
277
+ discountType: StripeCouponDiscountType;
278
+ percentOff?: number;
279
+ amountOff?: number;
280
+ currency?: string;
281
+ duration: StripeCouponDurationType;
282
+ durationInMonths?: number;
283
+ productIds?: string[];
284
+ redeemBy?: Date;
285
+ maxRedemptions?: number;
286
+ firstCode: Omit<StripeCouponCodeInput, "id" | "couponId">;
287
+ };
288
+ type StripeCouponRenameInput = {
289
+ id: string;
290
+ name: string;
291
+ };
292
+
293
+ interface StripeCouponCodeInterface extends ApiDataInterface {
294
+ get stripePromotionCodeId(): string;
295
+ get code(): string;
296
+ get active(): boolean;
297
+ get automatic(): boolean;
298
+ get firstTimeTransaction(): boolean;
299
+ get minimumAmount(): number | undefined;
300
+ get minimumAmountCurrency(): string | undefined;
301
+ get stripeCustomerId(): string | undefined;
302
+ get expiresAt(): Date | undefined;
303
+ get maxRedemptions(): number | undefined;
304
+ get timesRedeemed(): number;
305
+ get coupon(): StripeCouponInterface | undefined;
306
+ }
307
+ type StripeCouponCodeInput = {
308
+ id: string;
309
+ couponId: string;
310
+ code?: string;
311
+ firstTimeTransaction?: boolean;
312
+ minimumAmount?: number;
313
+ minimumAmountCurrency?: string;
314
+ stripeCustomerId?: string;
315
+ expiresAt?: Date;
316
+ maxRedemptions?: number;
317
+ automatic?: boolean;
318
+ };
319
+ type StripeCouponCodeFlagsInput = {
320
+ id: string;
321
+ active?: boolean;
322
+ automatic?: boolean;
323
+ };
324
+
325
+ /** A message translator, as returned by `useTranslations()`. */
326
+ type BillingTranslator = (key: string, values?: Record<string, any>) => string;
327
+ /**
328
+ * What the billing formatters need from the caller's React context. The
329
+ * formatters are plain functions and cannot call hooks, so a component reads
330
+ * `useI18nLocale()` and `useTranslations()` and passes both here.
331
+ *
332
+ * Both are optional so existing callers keep their output: without a `locale`
333
+ * the formatters use "en-US", without `t` they return the English literals they
334
+ * always returned.
335
+ */
336
+ type BillingFormatOptions = {
337
+ /** BCP 47 locale for `Intl` (the app's active locale, from `useI18nLocale()`). */
338
+ locale?: string;
339
+ /** Translator for the words the formatters emit. */
340
+ t?: BillingTranslator;
341
+ };
239
342
 
240
- export { InvoiceStatus as I, type MeterInterface as M, type PaymentMethodInterface as P, type ReportUsageInput as R, type StripeCustomerInterface as S, type UsageSummaryInterface as U, type StripeInvoiceInterface as a, type ProrationPreviewInterface as b, type ProrationLineItem as c, type StripePriceInterface as d, type PriceRecurring as e, type StripePriceInput as f, type StripeProductInterface as g, type StripeProductInput as h, SubscriptionStatus as i, type StripeSubscriptionInterface as j, type StripeSubscriptionInput as k, type StripeSubscriptionCreateMeta as l, type StripeSubscriptionCreateResponse as m, type StripeUsageInterface as n, type MeterSummaryInterface as o, type UsageRecordInterface as p, type PromotionCodeValidationResult as q };
343
+ export { type BillingTranslator as A, type BillingFormatOptions as B, InvoiceStatus as I, type MeterInterface as M, type PaymentMethodInterface as P, type ReportUsageInput as R, type StripeCustomerInterface as S, type UsageSummaryInterface as U, type StripeInvoiceInterface as a, type ProrationPreviewInterface as b, type ProrationLineItem as c, type StripePriceInterface as d, type PriceRecurring as e, type StripePriceInput as f, type StripeProductInterface as g, type StripeProductInput as h, SubscriptionStatus as i, type StripeSubscriptionDiscount as j, type StripeSubscriptionInterface as k, type StripeSubscriptionInput as l, type StripeSubscriptionCreateMeta as m, type StripeSubscriptionCreateResponse as n, type StripeUsageInterface as o, type MeterSummaryInterface as p, type UsageRecordInterface as q, type PromotionCodeValidationResult as r, type StripeCouponDiscountType as s, type StripeCouponDurationType as t, type StripeCouponInterface as u, type StripeCouponInput as v, type StripeCouponRenameInput as w, type StripeCouponCodeInterface as x, type StripeCouponCodeInput as y, type StripeCouponCodeFlagsInput as z };
@@ -190,6 +190,18 @@ declare enum SubscriptionStatus {
190
190
  TRIALING = "trialing",
191
191
  PAUSED = "paused"
192
192
  }
193
+ /**
194
+ * The discount Stripe applies to the subscription (read-only, synced from Stripe).
195
+ * Exactly one of percentOff / amountOff is set.
196
+ */
197
+ type StripeSubscriptionDiscount = {
198
+ percentOff?: number;
199
+ amountOff?: number;
200
+ currency?: string;
201
+ duration: "forever" | "once" | "repeating";
202
+ durationInMonths?: number;
203
+ end?: Date;
204
+ };
193
205
  interface StripeSubscriptionInterface extends ApiDataInterface {
194
206
  get stripeSubscriptionId(): string;
195
207
  get status(): SubscriptionStatus;
@@ -200,6 +212,7 @@ interface StripeSubscriptionInterface extends ApiDataInterface {
200
212
  get trialStart(): Date | undefined;
201
213
  get trialEnd(): Date | undefined;
202
214
  get price(): StripePriceInterface | undefined;
215
+ get discount(): StripeSubscriptionDiscount | undefined;
203
216
  }
204
217
  type StripeSubscriptionInput = {
205
218
  id: string;
@@ -235,6 +248,96 @@ interface PromotionCodeValidationResult {
235
248
  duration?: "forever" | "once" | "repeating";
236
249
  durationInMonths?: number;
237
250
  errorMessage?: string;
251
+ /** True when the server applies this code by itself (no code typed by the GM). */
252
+ automatic?: boolean;
253
+ }
254
+
255
+ type StripeCouponDiscountType = "percent_off" | "amount_off";
256
+ type StripeCouponDurationType = "once" | "repeating" | "forever";
257
+ interface StripeCouponInterface extends ApiDataInterface {
258
+ get stripeCouponId(): string;
259
+ get name(): string;
260
+ get discountType(): StripeCouponDiscountType;
261
+ get percentOff(): number | undefined;
262
+ get amountOff(): number | undefined;
263
+ get currency(): string | undefined;
264
+ get duration(): StripeCouponDurationType;
265
+ get durationInMonths(): number | undefined;
266
+ get stripeProductIds(): string[];
267
+ get redeemBy(): Date | undefined;
268
+ get maxRedemptions(): number | undefined;
269
+ get timesRedeemed(): number;
270
+ get valid(): boolean;
271
+ get codes(): StripeCouponCodeInterface[];
238
272
  }
273
+ type StripeCouponInput = {
274
+ id: string;
275
+ name: string;
276
+ stripeCouponId?: string;
277
+ discountType: StripeCouponDiscountType;
278
+ percentOff?: number;
279
+ amountOff?: number;
280
+ currency?: string;
281
+ duration: StripeCouponDurationType;
282
+ durationInMonths?: number;
283
+ productIds?: string[];
284
+ redeemBy?: Date;
285
+ maxRedemptions?: number;
286
+ firstCode: Omit<StripeCouponCodeInput, "id" | "couponId">;
287
+ };
288
+ type StripeCouponRenameInput = {
289
+ id: string;
290
+ name: string;
291
+ };
292
+
293
+ interface StripeCouponCodeInterface extends ApiDataInterface {
294
+ get stripePromotionCodeId(): string;
295
+ get code(): string;
296
+ get active(): boolean;
297
+ get automatic(): boolean;
298
+ get firstTimeTransaction(): boolean;
299
+ get minimumAmount(): number | undefined;
300
+ get minimumAmountCurrency(): string | undefined;
301
+ get stripeCustomerId(): string | undefined;
302
+ get expiresAt(): Date | undefined;
303
+ get maxRedemptions(): number | undefined;
304
+ get timesRedeemed(): number;
305
+ get coupon(): StripeCouponInterface | undefined;
306
+ }
307
+ type StripeCouponCodeInput = {
308
+ id: string;
309
+ couponId: string;
310
+ code?: string;
311
+ firstTimeTransaction?: boolean;
312
+ minimumAmount?: number;
313
+ minimumAmountCurrency?: string;
314
+ stripeCustomerId?: string;
315
+ expiresAt?: Date;
316
+ maxRedemptions?: number;
317
+ automatic?: boolean;
318
+ };
319
+ type StripeCouponCodeFlagsInput = {
320
+ id: string;
321
+ active?: boolean;
322
+ automatic?: boolean;
323
+ };
324
+
325
+ /** A message translator, as returned by `useTranslations()`. */
326
+ type BillingTranslator = (key: string, values?: Record<string, any>) => string;
327
+ /**
328
+ * What the billing formatters need from the caller's React context. The
329
+ * formatters are plain functions and cannot call hooks, so a component reads
330
+ * `useI18nLocale()` and `useTranslations()` and passes both here.
331
+ *
332
+ * Both are optional so existing callers keep their output: without a `locale`
333
+ * the formatters use "en-US", without `t` they return the English literals they
334
+ * always returned.
335
+ */
336
+ type BillingFormatOptions = {
337
+ /** BCP 47 locale for `Intl` (the app's active locale, from `useI18nLocale()`). */
338
+ locale?: string;
339
+ /** Translator for the words the formatters emit. */
340
+ t?: BillingTranslator;
341
+ };
239
342
 
240
- export { InvoiceStatus as I, type MeterInterface as M, type PaymentMethodInterface as P, type ReportUsageInput as R, type StripeCustomerInterface as S, type UsageSummaryInterface as U, type StripeInvoiceInterface as a, type ProrationPreviewInterface as b, type ProrationLineItem as c, type StripePriceInterface as d, type PriceRecurring as e, type StripePriceInput as f, type StripeProductInterface as g, type StripeProductInput as h, SubscriptionStatus as i, type StripeSubscriptionInterface as j, type StripeSubscriptionInput as k, type StripeSubscriptionCreateMeta as l, type StripeSubscriptionCreateResponse as m, type StripeUsageInterface as n, type MeterSummaryInterface as o, type UsageRecordInterface as p, type PromotionCodeValidationResult as q };
343
+ export { type BillingTranslator as A, type BillingFormatOptions as B, InvoiceStatus as I, type MeterInterface as M, type PaymentMethodInterface as P, type ReportUsageInput as R, type StripeCustomerInterface as S, type UsageSummaryInterface as U, type StripeInvoiceInterface as a, type ProrationPreviewInterface as b, type ProrationLineItem as c, type StripePriceInterface as d, type PriceRecurring as e, type StripePriceInput as f, type StripeProductInterface as g, type StripeProductInput as h, SubscriptionStatus as i, type StripeSubscriptionDiscount as j, type StripeSubscriptionInterface as k, type StripeSubscriptionInput as l, type StripeSubscriptionCreateMeta as m, type StripeSubscriptionCreateResponse as n, type StripeUsageInterface as o, type MeterSummaryInterface as p, type UsageRecordInterface as q, type PromotionCodeValidationResult as r, type StripeCouponDiscountType as s, type StripeCouponDurationType as t, type StripeCouponInterface as u, type StripeCouponInput as v, type StripeCouponRenameInput as w, type StripeCouponCodeInterface as x, type StripeCouponCodeInput as y, type StripeCouponCodeFlagsInput as z };
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- export { AppModuleDefinitions, Assistant, AssistantAction, AssistantActionInput, AssistantActionInterface, AssistantActionModule, AssistantActionService, AssistantActionStatus, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, BlogCategory, BlogCategoryModule, BlogCategoryService, BlogCategoryTranslation, BlogCategoryTranslationModule, BlogCategoryTranslationService, BlogPost, BlogPostModule, BlogPostService, BlogPostTranslation, BlogPostTranslationModule, BlogPostTranslationService, BlogSettings, BlogSettingsInput, BlogSettingsInterface, BlogSettingsModule, BlogSettingsService, CURRENT_USER_STORAGE_KEY, Chunk, ChunkInput, ChunkModule, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, CodiceFiscaleValidationOptions, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE, ENV, EmailAutomation, EmailAutomationEnrollment, EmailAutomationEnrollmentModule, EmailAutomationEnrollmentService, EmailAutomationModule, EmailAutomationService, EmailAutomationStep, EmailAutomationStepModule, EmailAutomationStepService, EmailAutomationTrigger, EmailAutomationTriggerModule, EndpointCreator, EndpointQuery, EntityAiStatus, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HandbookPage, HandbookPageFields, HandbookPageInput, HandbookPageModule, HandbookPageService, HandbookSection, HandbookSectionInput, HandbookSectionModule, HandbookSectionService, HandbookThread, HandbookThreadInput, HandbookThreadInterface, HandbookThreadMessage, HandbookThreadMessageInput, HandbookThreadMessageInterface, HandbookThreadMessageModule, HandbookThreadMessageService, HandbookThreadModule, HandbookThreadService, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, MOBILE_BREAKPOINT, MessageTree, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceFields, StripePriceModule, StripePriceService, StripeProduct, StripeProductFields, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, VIEWPORT_COOKIE_NAME, Waitlist, WaitlistFields, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, clearLastApiMeta, clearLastApiTotal, cn, composeRefs, dateFormatLocale, dismissToast, entityObjectSchema, exists, formatCodiceFiscale, formatDate, formatLocalDate, formatPartitaIva, getBootstrapper, getClientGlobalErrorHandler, getLastApiMeta, getLastApiTotal, getTableComponents, getTableOptions, getValueFromPath, handbookPageContent, handbookPageSummary, handbookPageTitle, handbookSectionSummary, handbookSectionTitle, hasBootstrapper, isRemoteImageSrc, mergeMessages, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema, validateCodiceFiscale, validateItalianTaxCode, validatePartitaIva } from './core/index.mjs';
1
+ export { AppModuleDefinitions, Assistant, AssistantAction, AssistantActionInput, AssistantActionInterface, AssistantActionModule, AssistantActionService, AssistantActionStatus, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, BlogCategory, BlogCategoryModule, BlogCategoryService, BlogCategoryTranslation, BlogCategoryTranslationModule, BlogCategoryTranslationService, BlogPost, BlogPostModule, BlogPostService, BlogPostTranslation, BlogPostTranslationModule, BlogPostTranslationService, BlogSettings, BlogSettingsInput, BlogSettingsInterface, BlogSettingsModule, BlogSettingsService, CURRENT_USER_STORAGE_KEY, Chunk, ChunkInput, ChunkModule, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, CodiceFiscaleValidationOptions, Company, CompanyFields, CompanyModule, Content, ContentModule, CouponDiscountShape, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE, ENV, EmailAutomation, EmailAutomationEnrollment, EmailAutomationEnrollmentModule, EmailAutomationEnrollmentService, EmailAutomationModule, EmailAutomationService, EmailAutomationStep, EmailAutomationStepModule, EmailAutomationStepService, EmailAutomationTrigger, EmailAutomationTriggerModule, EndpointCreator, EndpointQuery, EntityAiStatus, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HandbookPage, HandbookPageFields, HandbookPageInput, HandbookPageModule, HandbookPageService, HandbookSection, HandbookSectionInput, HandbookSectionModule, HandbookSectionService, HandbookThread, HandbookThreadInput, HandbookThreadInterface, HandbookThreadMessage, HandbookThreadMessageInput, HandbookThreadMessageInterface, HandbookThreadMessageModule, HandbookThreadMessageService, HandbookThreadModule, HandbookThreadService, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, MOBILE_BREAKPOINT, MessageTree, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT, STRIPE_COUPON_REFRESH_SEGMENT, SearchResultInterface, StripeCoupon, StripeCouponCode, StripeCouponCodeFields, StripeCouponCodeModule, StripeCouponCodeService, StripeCouponFields, StripeCouponModule, StripeCouponOffer, StripeCouponOfferInterface, StripeCouponOfferModule, StripeCouponService, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceFields, StripePriceModule, StripePriceService, StripeProduct, StripeProductFields, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, VIEWPORT_COOKIE_NAME, Waitlist, WaitlistFields, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, clearLastApiMeta, clearLastApiTotal, cn, composeRefs, couponPlacesLeft, couponPlacesTotal, dateFormatLocale, dismissToast, entityObjectSchema, exists, formatCodiceFiscale, formatCouponDiscount, formatDate, formatLocalDate, formatPartitaIva, getBootstrapper, getClientGlobalErrorHandler, getLastApiMeta, getLastApiTotal, getTableComponents, getTableOptions, getValueFromPath, handbookPageContent, handbookPageSummary, handbookPageTitle, handbookSectionSummary, handbookSectionTitle, hasBootstrapper, isRemoteImageSrc, mergeMessages, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, toPromotionCodeResult, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema, validateCodiceFiscale, validateItalianTaxCode, validatePartitaIva } from './core/index.mjs';
2
2
  export { A as ApiData } from './ApiData-DPKNfY-9.mjs';
3
3
  import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiDataInterface-BcZeXy5X.mjs';
4
4
  export { A as ApiRequestDataTypeInterface, F as FieldSelector, G as GetterKeys, c as createJsonApiInclusion } from './ApiRequestDataTypeInterface-CYEcRUrh.mjs';
@@ -13,7 +13,7 @@ export { h as AiConnection, l as AiConnectionEnvDefaults, i as AiConnectionField
13
13
  export { A as Action, d as ModuleDefinition, a as ModuleFactory, c as ModulePermissionDefinition, M as ModuleWithPermissions, P as PageUrl, b as PermissionCheck, e as PermissionConfig, f as PermissionModule, g as PermissionUser } from './types-Bq_UA8Lg.mjs';
14
14
  export { A as AuthInput, b as AuthInterface, a as AuthQuery, S as SIGNUP_SOURCE_COOKIE, c as SIGNUP_SOURCE_COOKIE_MAX_AGE, e as SignupSource, d as captureSignupSource, g as getSignupSource, r as readSignupSourceFromLocation } from './auth.interface-DD4uQv2K.mjs';
15
15
  export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, N as NotificationService, P as PushService, R as RoleService, b as S3Input, c as S3Interface, S as S3Service, T as TwoFactorChallengeInterface, U as UserService } from './s3.service-D5zNCEW3.mjs';
16
- export { I as InvoiceStatus, M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, e as PriceRecurring, q as PromotionCodeValidationResult, c as ProrationLineItem, b as ProrationPreviewInterface, R as ReportUsageInput, S as StripeCustomerInterface, a as StripeInvoiceInterface, f as StripePriceInput, d as StripePriceInterface, h as StripeProductInput, g as StripeProductInterface, l as StripeSubscriptionCreateMeta, m as StripeSubscriptionCreateResponse, k as StripeSubscriptionInput, j as StripeSubscriptionInterface, n as StripeUsageInterface, i as SubscriptionStatus, p as UsageRecordInterface, U as UsageSummaryInterface } from './stripe-promotion-code.interface-ClZ7DxS9.mjs';
16
+ export { I as InvoiceStatus, M as MeterInterface, p as MeterSummaryInterface, P as PaymentMethodInterface, e as PriceRecurring, r as PromotionCodeValidationResult, c as ProrationLineItem, b as ProrationPreviewInterface, R as ReportUsageInput, z as StripeCouponCodeFlagsInput, y as StripeCouponCodeInput, x as StripeCouponCodeInterface, s as StripeCouponDiscountType, t as StripeCouponDurationType, v as StripeCouponInput, u as StripeCouponInterface, w as StripeCouponRenameInput, S as StripeCustomerInterface, a as StripeInvoiceInterface, f as StripePriceInput, d as StripePriceInterface, h as StripeProductInput, g as StripeProductInterface, m as StripeSubscriptionCreateMeta, n as StripeSubscriptionCreateResponse, j as StripeSubscriptionDiscount, l as StripeSubscriptionInput, k as StripeSubscriptionInterface, o as StripeUsageInterface, i as SubscriptionStatus, q as UsageRecordInterface, U as UsageSummaryInterface } from './format-options-D6c7FNDi.mjs';
17
17
  export { C as CompanyInput, a as CompanyInterface, R as RoleInput, b as RoleInterface, c as UserInput, U as UserInterface } from './user.interface-CIWGlbqM.mjs';
18
18
  export { a as ContentInput, C as ContentInterface, b as NotificationInput, N as NotificationInterface } from './notification.interface-BB6GPpZY.mjs';
19
19
  export { h as EmailAutomationEnrollmentFields, e as EmailAutomationEnrollmentInterface, d as EmailAutomationEnrollmentStatus, g as EmailAutomationFields, E as EmailAutomationInput, a as EmailAutomationInterface, b as EmailAutomationStepInput, c as EmailAutomationStepInterface, f as EmailAutomationTriggerInterface } from './email-automation-enrollment.fields-BZvF14qx.mjs';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { AppModuleDefinitions, Assistant, AssistantAction, AssistantActionInput, AssistantActionInterface, AssistantActionModule, AssistantActionService, AssistantActionStatus, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, BlogCategory, BlogCategoryModule, BlogCategoryService, BlogCategoryTranslation, BlogCategoryTranslationModule, BlogCategoryTranslationService, BlogPost, BlogPostModule, BlogPostService, BlogPostTranslation, BlogPostTranslationModule, BlogPostTranslationService, BlogSettings, BlogSettingsInput, BlogSettingsInterface, BlogSettingsModule, BlogSettingsService, CURRENT_USER_STORAGE_KEY, Chunk, ChunkInput, ChunkModule, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, CodiceFiscaleValidationOptions, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE, ENV, EmailAutomation, EmailAutomationEnrollment, EmailAutomationEnrollmentModule, EmailAutomationEnrollmentService, EmailAutomationModule, EmailAutomationService, EmailAutomationStep, EmailAutomationStepModule, EmailAutomationStepService, EmailAutomationTrigger, EmailAutomationTriggerModule, EndpointCreator, EndpointQuery, EntityAiStatus, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HandbookPage, HandbookPageFields, HandbookPageInput, HandbookPageModule, HandbookPageService, HandbookSection, HandbookSectionInput, HandbookSectionModule, HandbookSectionService, HandbookThread, HandbookThreadInput, HandbookThreadInterface, HandbookThreadMessage, HandbookThreadMessageInput, HandbookThreadMessageInterface, HandbookThreadMessageModule, HandbookThreadMessageService, HandbookThreadModule, HandbookThreadService, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, MOBILE_BREAKPOINT, MessageTree, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceFields, StripePriceModule, StripePriceService, StripeProduct, StripeProductFields, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, VIEWPORT_COOKIE_NAME, Waitlist, WaitlistFields, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, clearLastApiMeta, clearLastApiTotal, cn, composeRefs, dateFormatLocale, dismissToast, entityObjectSchema, exists, formatCodiceFiscale, formatDate, formatLocalDate, formatPartitaIva, getBootstrapper, getClientGlobalErrorHandler, getLastApiMeta, getLastApiTotal, getTableComponents, getTableOptions, getValueFromPath, handbookPageContent, handbookPageSummary, handbookPageTitle, handbookSectionSummary, handbookSectionTitle, hasBootstrapper, isRemoteImageSrc, mergeMessages, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema, validateCodiceFiscale, validateItalianTaxCode, validatePartitaIva } from './core/index.js';
1
+ export { AppModuleDefinitions, Assistant, AssistantAction, AssistantActionInput, AssistantActionInterface, AssistantActionModule, AssistantActionService, AssistantActionStatus, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, BlogCategory, BlogCategoryModule, BlogCategoryService, BlogCategoryTranslation, BlogCategoryTranslationModule, BlogCategoryTranslationService, BlogPost, BlogPostModule, BlogPostService, BlogPostTranslation, BlogPostTranslationModule, BlogPostTranslationService, BlogSettings, BlogSettingsInput, BlogSettingsInterface, BlogSettingsModule, BlogSettingsService, CURRENT_USER_STORAGE_KEY, Chunk, ChunkInput, ChunkModule, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, CodiceFiscaleValidationOptions, Company, CompanyFields, CompanyModule, Content, ContentModule, CouponDiscountShape, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE, ENV, EmailAutomation, EmailAutomationEnrollment, EmailAutomationEnrollmentModule, EmailAutomationEnrollmentService, EmailAutomationModule, EmailAutomationService, EmailAutomationStep, EmailAutomationStepModule, EmailAutomationStepService, EmailAutomationTrigger, EmailAutomationTriggerModule, EndpointCreator, EndpointQuery, EntityAiStatus, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HandbookPage, HandbookPageFields, HandbookPageInput, HandbookPageModule, HandbookPageService, HandbookSection, HandbookSectionInput, HandbookSectionModule, HandbookSectionService, HandbookThread, HandbookThreadInput, HandbookThreadInterface, HandbookThreadMessage, HandbookThreadMessageInput, HandbookThreadMessageInterface, HandbookThreadMessageModule, HandbookThreadMessageService, HandbookThreadModule, HandbookThreadService, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, MOBILE_BREAKPOINT, MessageTree, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT, STRIPE_COUPON_REFRESH_SEGMENT, SearchResultInterface, StripeCoupon, StripeCouponCode, StripeCouponCodeFields, StripeCouponCodeModule, StripeCouponCodeService, StripeCouponFields, StripeCouponModule, StripeCouponOffer, StripeCouponOfferInterface, StripeCouponOfferModule, StripeCouponService, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceFields, StripePriceModule, StripePriceService, StripeProduct, StripeProductFields, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, VIEWPORT_COOKIE_NAME, Waitlist, WaitlistFields, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, clearLastApiMeta, clearLastApiTotal, cn, composeRefs, couponPlacesLeft, couponPlacesTotal, dateFormatLocale, dismissToast, entityObjectSchema, exists, formatCodiceFiscale, formatCouponDiscount, formatDate, formatLocalDate, formatPartitaIva, getBootstrapper, getClientGlobalErrorHandler, getLastApiMeta, getLastApiTotal, getTableComponents, getTableOptions, getValueFromPath, handbookPageContent, handbookPageSummary, handbookPageTitle, handbookSectionSummary, handbookSectionTitle, hasBootstrapper, isRemoteImageSrc, mergeMessages, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, toPromotionCodeResult, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema, validateCodiceFiscale, validateItalianTaxCode, validatePartitaIva } from './core/index.js';
2
2
  export { A as ApiData } from './ApiData-DPKNfY-9.js';
3
3
  import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiDataInterface-BcZeXy5X.js';
4
4
  export { A as ApiRequestDataTypeInterface, F as FieldSelector, G as GetterKeys, c as createJsonApiInclusion } from './ApiRequestDataTypeInterface-CYEcRUrh.js';
@@ -13,7 +13,7 @@ export { h as AiConnection, l as AiConnectionEnvDefaults, i as AiConnectionField
13
13
  export { A as Action, d as ModuleDefinition, a as ModuleFactory, c as ModulePermissionDefinition, M as ModuleWithPermissions, P as PageUrl, b as PermissionCheck, e as PermissionConfig, f as PermissionModule, g as PermissionUser } from './types-bsm8Fp55.js';
14
14
  export { A as AuthInput, b as AuthInterface, a as AuthQuery, S as SIGNUP_SOURCE_COOKIE, c as SIGNUP_SOURCE_COOKIE_MAX_AGE, e as SignupSource, d as captureSignupSource, g as getSignupSource, r as readSignupSourceFromLocation } from './auth.interface-CSzJ1oP1.js';
15
15
  export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, N as NotificationService, P as PushService, R as RoleService, b as S3Input, c as S3Interface, S as S3Service, T as TwoFactorChallengeInterface, U as UserService } from './s3.service-Bz_K-tjz.js';
16
- export { I as InvoiceStatus, M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, e as PriceRecurring, q as PromotionCodeValidationResult, c as ProrationLineItem, b as ProrationPreviewInterface, R as ReportUsageInput, S as StripeCustomerInterface, a as StripeInvoiceInterface, f as StripePriceInput, d as StripePriceInterface, h as StripeProductInput, g as StripeProductInterface, l as StripeSubscriptionCreateMeta, m as StripeSubscriptionCreateResponse, k as StripeSubscriptionInput, j as StripeSubscriptionInterface, n as StripeUsageInterface, i as SubscriptionStatus, p as UsageRecordInterface, U as UsageSummaryInterface } from './stripe-promotion-code.interface-C3qqh3mi.js';
16
+ export { I as InvoiceStatus, M as MeterInterface, p as MeterSummaryInterface, P as PaymentMethodInterface, e as PriceRecurring, r as PromotionCodeValidationResult, c as ProrationLineItem, b as ProrationPreviewInterface, R as ReportUsageInput, z as StripeCouponCodeFlagsInput, y as StripeCouponCodeInput, x as StripeCouponCodeInterface, s as StripeCouponDiscountType, t as StripeCouponDurationType, v as StripeCouponInput, u as StripeCouponInterface, w as StripeCouponRenameInput, S as StripeCustomerInterface, a as StripeInvoiceInterface, f as StripePriceInput, d as StripePriceInterface, h as StripeProductInput, g as StripeProductInterface, m as StripeSubscriptionCreateMeta, n as StripeSubscriptionCreateResponse, j as StripeSubscriptionDiscount, l as StripeSubscriptionInput, k as StripeSubscriptionInterface, o as StripeUsageInterface, i as SubscriptionStatus, q as UsageRecordInterface, U as UsageSummaryInterface } from './format-options-BtX3o0Yu.js';
17
17
  export { C as CompanyInput, a as CompanyInterface, R as RoleInput, b as RoleInterface, c as UserInput, U as UserInterface } from './user.interface-C0ZdsBZj.js';
18
18
  export { a as ContentInput, C as ContentInterface, b as NotificationInput, N as NotificationInterface } from './notification.interface-CmAGrijJ.js';
19
19
  export { h as EmailAutomationEnrollmentFields, e as EmailAutomationEnrollmentInterface, d as EmailAutomationEnrollmentStatus, g as EmailAutomationFields, E as EmailAutomationInput, a as EmailAutomationInterface, b as EmailAutomationStepInput, c as EmailAutomationStepInterface, f as EmailAutomationTriggerInterface } from './email-automation-enrollment.fields-Cp3VMzFq.js';
package/dist/index.js CHANGED
@@ -19,7 +19,7 @@
19
19
 
20
20
 
21
21
 
22
- var _chunkYNCQSWQWjs = require('./chunk-YNCQSWQW.js');
22
+ var _chunkRL3PL3KVjs = require('./chunk-RL3PL3KV.js');
23
23
 
24
24
 
25
25
 
@@ -286,9 +286,23 @@ var _chunkG4JR3SFVjs = require('./chunk-G4JR3SFV.js');
286
286
 
287
287
 
288
288
 
289
- var _chunkNFBOSPNJjs = require('./chunk-NFBOSPNJ.js');
290
- require('./chunk-LXKSUWAV.js');
291
- require('./chunk-JTPRJNT2.js');
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+ var _chunkHKZAESS6js = require('./chunk-HKZAESS6.js');
292
306
 
293
307
 
294
308
 
@@ -301,6 +315,8 @@ require('./chunk-JTPRJNT2.js');
301
315
 
302
316
 
303
317
  var _chunkGHE4VT2Rjs = require('./chunk-GHE4VT2R.js');
318
+ require('./chunk-LXKSUWAV.js');
319
+ require('./chunk-JTPRJNT2.js');
304
320
  require('./chunk-7QVYU63E.js');
305
321
 
306
322
 
@@ -597,5 +613,21 @@ require('./chunk-7QVYU63E.js');
597
613
 
598
614
 
599
615
 
600
- exports.ACTION_TYPES = _chunkYNCQSWQWjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkNFBOSPNJjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkNFBOSPNJjs.AbstractApiData; exports.AbstractService = _chunkNFBOSPNJjs.AbstractService; exports.Action = _chunkNFBOSPNJjs.Action; exports.AiConnection = _chunkNFBOSPNJjs.AiConnection; exports.AiConnectionFields = _chunkNFBOSPNJjs.AiConnectionFields; exports.AiConnectionModule = _chunkNFBOSPNJjs.AiConnectionModule; exports.AiConnectionService = _chunkNFBOSPNJjs.AiConnectionService; exports.Assistant = _chunkNFBOSPNJjs.Assistant; exports.AssistantAction = _chunkNFBOSPNJjs.AssistantAction; exports.AssistantActionModule = _chunkNFBOSPNJjs.AssistantActionModule; exports.AssistantActionService = _chunkNFBOSPNJjs.AssistantActionService; exports.AssistantMessage = _chunkNFBOSPNJjs.AssistantMessage; exports.AssistantMessageModule = _chunkNFBOSPNJjs.AssistantMessageModule; exports.AssistantMessageService = _chunkNFBOSPNJjs.AssistantMessageService; exports.AssistantModule = _chunkNFBOSPNJjs.AssistantModule; exports.AssistantService = _chunkNFBOSPNJjs.AssistantService; exports.AuditLog = _chunkNFBOSPNJjs.AuditLog; exports.AuditLogModule = _chunkNFBOSPNJjs.AuditLogModule; exports.AuditLogService = _chunkNFBOSPNJjs.AuditLogService; exports.Auth = _chunkNFBOSPNJjs.Auth; exports.AuthComponent = _chunkNFBOSPNJjs.AuthComponent; exports.AuthModule = _chunkNFBOSPNJjs.AuthModule; exports.AuthService = _chunkNFBOSPNJjs.AuthService; exports.AuthorModule = _chunkNFBOSPNJjs.AuthorModule; exports.BackupCodeVerify = _chunkNFBOSPNJjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkNFBOSPNJjs.BackupCodeVerifyModule; exports.Billing = _chunkNFBOSPNJjs.Billing; exports.BillingModule = _chunkNFBOSPNJjs.BillingModule; exports.BillingService = _chunkNFBOSPNJjs.BillingService; exports.BlockNoteDiffUtil = _chunkNFBOSPNJjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkNFBOSPNJjs.BlockNoteWordDiffRendererUtil; exports.BlogCategory = _chunkNFBOSPNJjs.BlogCategory; exports.BlogCategoryFields = _chunkNFBOSPNJjs.BlogCategoryFields; exports.BlogCategoryModule = _chunkNFBOSPNJjs.BlogCategoryModule; exports.BlogCategoryService = _chunkNFBOSPNJjs.BlogCategoryService; exports.BlogCategoryTranslation = _chunkNFBOSPNJjs.BlogCategoryTranslation; exports.BlogCategoryTranslationModule = _chunkNFBOSPNJjs.BlogCategoryTranslationModule; exports.BlogCategoryTranslationService = _chunkNFBOSPNJjs.BlogCategoryTranslationService; exports.BlogPost = _chunkNFBOSPNJjs.BlogPost; exports.BlogPostFields = _chunkNFBOSPNJjs.BlogPostFields; exports.BlogPostModule = _chunkNFBOSPNJjs.BlogPostModule; exports.BlogPostService = _chunkNFBOSPNJjs.BlogPostService; exports.BlogPostTranslation = _chunkNFBOSPNJjs.BlogPostTranslation; exports.BlogPostTranslationModule = _chunkNFBOSPNJjs.BlogPostTranslationModule; exports.BlogPostTranslationService = _chunkNFBOSPNJjs.BlogPostTranslationService; exports.BlogSettings = _chunkNFBOSPNJjs.BlogSettings; exports.BlogSettingsModule = _chunkNFBOSPNJjs.BlogSettingsModule; exports.BlogSettingsService = _chunkNFBOSPNJjs.BlogSettingsService; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkYNCQSWQWjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.CURRENT_USER_STORAGE_KEY = _chunkNFBOSPNJjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkNFBOSPNJjs.Chunk; exports.ChunkModule = _chunkNFBOSPNJjs.ChunkModule; exports.ClientAbstractService = _chunkNFBOSPNJjs.ClientAbstractService; exports.ClientHttpMethod = _chunkNFBOSPNJjs.ClientHttpMethod; exports.Company = _chunkNFBOSPNJjs.Company; exports.CompanyFields = _chunkNFBOSPNJjs.CompanyFields; exports.CompanyModule = _chunkNFBOSPNJjs.CompanyModule; exports.CompanyService = _chunkNFBOSPNJjs.CompanyService; exports.Content = _chunkNFBOSPNJjs.Content; exports.ContentFields = _chunkNFBOSPNJjs.ContentFields; exports.ContentModule = _chunkNFBOSPNJjs.ContentModule; exports.ContentService = _chunkNFBOSPNJjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkNFBOSPNJjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkGHE4VT2Rjs.DataClassRegistry; exports.DataClassRegistry = _chunkGHE4VT2Rjs.DataClassRegistry; exports.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = _chunkNFBOSPNJjs.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE; exports.ENV = _chunkGHE4VT2Rjs.ENV; exports.EmailAutomation = _chunkNFBOSPNJjs.EmailAutomation; exports.EmailAutomationEnrollment = _chunkNFBOSPNJjs.EmailAutomationEnrollment; exports.EmailAutomationEnrollmentFields = _chunkNFBOSPNJjs.EmailAutomationEnrollmentFields; exports.EmailAutomationEnrollmentModule = _chunkNFBOSPNJjs.EmailAutomationEnrollmentModule; exports.EmailAutomationEnrollmentService = _chunkNFBOSPNJjs.EmailAutomationEnrollmentService; exports.EmailAutomationFields = _chunkNFBOSPNJjs.EmailAutomationFields; exports.EmailAutomationModule = _chunkNFBOSPNJjs.EmailAutomationModule; exports.EmailAutomationService = _chunkNFBOSPNJjs.EmailAutomationService; exports.EmailAutomationStep = _chunkNFBOSPNJjs.EmailAutomationStep; exports.EmailAutomationStepModule = _chunkNFBOSPNJjs.EmailAutomationStepModule; exports.EmailAutomationStepService = _chunkNFBOSPNJjs.EmailAutomationStepService; exports.EmailAutomationTrigger = _chunkNFBOSPNJjs.EmailAutomationTrigger; exports.EmailAutomationTriggerModule = _chunkNFBOSPNJjs.EmailAutomationTriggerModule; exports.EndpointCreator = _chunkNFBOSPNJjs.EndpointCreator; exports.EntityAiStatus = _chunkNFBOSPNJjs.EntityAiStatus; exports.Feature = _chunkNFBOSPNJjs.Feature; exports.FeatureModule = _chunkNFBOSPNJjs.FeatureModule; exports.FeatureService = _chunkNFBOSPNJjs.FeatureService; exports.HandbookPage = _chunkNFBOSPNJjs.HandbookPage; exports.HandbookPageFields = _chunkNFBOSPNJjs.HandbookPageFields; exports.HandbookPageModule = _chunkNFBOSPNJjs.HandbookPageModule; exports.HandbookPageService = _chunkNFBOSPNJjs.HandbookPageService; exports.HandbookSection = _chunkNFBOSPNJjs.HandbookSection; exports.HandbookSectionModule = _chunkNFBOSPNJjs.HandbookSectionModule; exports.HandbookSectionService = _chunkNFBOSPNJjs.HandbookSectionService; exports.HandbookThread = _chunkNFBOSPNJjs.HandbookThread; exports.HandbookThreadMessage = _chunkNFBOSPNJjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkNFBOSPNJjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkNFBOSPNJjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkNFBOSPNJjs.HandbookThreadModule; exports.HandbookThreadService = _chunkNFBOSPNJjs.HandbookThreadService; exports.HowTo = _chunkNFBOSPNJjs.HowTo; exports.HowToFields = _chunkNFBOSPNJjs.HowToFields; exports.HowToModule = _chunkNFBOSPNJjs.HowToModule; exports.HowToService = _chunkNFBOSPNJjs.HowToService; exports.HttpMethod = _chunkNFBOSPNJjs.HttpMethod; exports.InvoiceStatus = _chunkNFBOSPNJjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkGHE4VT2Rjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkNFBOSPNJjs.MOBILE_BREAKPOINT; exports.Module = _chunkNFBOSPNJjs.Module; exports.ModuleModule = _chunkNFBOSPNJjs.ModuleModule; exports.ModulePaths = _chunkNFBOSPNJjs.ModulePaths; exports.ModulePathsModule = _chunkNFBOSPNJjs.ModulePathsModule; exports.ModuleRegistrar = _chunkNFBOSPNJjs.ModuleRegistrar; exports.ModuleRegistry = _chunkNFBOSPNJjs.ModuleRegistry; exports.Modules = _chunkNFBOSPNJjs.Modules; exports.Notification = _chunkNFBOSPNJjs.Notification; exports.NotificationFields = _chunkNFBOSPNJjs.NotificationFields; exports.NotificationModule = _chunkNFBOSPNJjs.NotificationModule; exports.NotificationService = _chunkNFBOSPNJjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkNFBOSPNJjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkNFBOSPNJjs.OAuthClient; exports.OAuthModule = _chunkNFBOSPNJjs.OAuthModule; exports.OAuthService = _chunkNFBOSPNJjs.OAuthService; exports.Passkey = _chunkNFBOSPNJjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkNFBOSPNJjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkNFBOSPNJjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkNFBOSPNJjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkNFBOSPNJjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkNFBOSPNJjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkNFBOSPNJjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkNFBOSPNJjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkNFBOSPNJjs.PasskeyRename; exports.PasskeyRenameModule = _chunkNFBOSPNJjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkNFBOSPNJjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkNFBOSPNJjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkNFBOSPNJjs.PaymentMethod; exports.PermissionMapping = _chunkNFBOSPNJjs.PermissionMapping; exports.PermissionMappingModule = _chunkNFBOSPNJjs.PermissionMappingModule; exports.Push = _chunkNFBOSPNJjs.Push; exports.PushModule = _chunkNFBOSPNJjs.PushModule; exports.PushService = _chunkNFBOSPNJjs.PushService; exports.RbacMatrixModel = _chunkNFBOSPNJjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkNFBOSPNJjs.RbacMatrixModule; exports.RbacService = _chunkYNCQSWQWjs.RbacService; exports.ReferralModule = _chunkNFBOSPNJjs.ReferralModule; exports.ReferralService = _chunkNFBOSPNJjs.ReferralService; exports.ReferralStats = _chunkNFBOSPNJjs.ReferralStats; exports.ReferralStatsModule = _chunkNFBOSPNJjs.ReferralStatsModule; exports.RehydrationFactory = _chunkNFBOSPNJjs.RehydrationFactory; exports.Role = _chunkNFBOSPNJjs.Role; exports.RoleFields = _chunkNFBOSPNJjs.RoleFields; exports.RoleModule = _chunkNFBOSPNJjs.RoleModule; exports.RoleService = _chunkNFBOSPNJjs.RoleService; exports.S3 = _chunkNFBOSPNJjs.S3; exports.S3Module = _chunkNFBOSPNJjs.S3Module; exports.S3Service = _chunkNFBOSPNJjs.S3Service; exports.SIGNUP_SOURCE_COOKIE = _chunkYNCQSWQWjs.SIGNUP_SOURCE_COOKIE; exports.SIGNUP_SOURCE_COOKIE_MAX_AGE = _chunkYNCQSWQWjs.SIGNUP_SOURCE_COOKIE_MAX_AGE; exports.StripeCustomer = _chunkNFBOSPNJjs.StripeCustomer; exports.StripeCustomerModule = _chunkNFBOSPNJjs.StripeCustomerModule; exports.StripeCustomerService = _chunkNFBOSPNJjs.StripeCustomerService; exports.StripeInvoice = _chunkNFBOSPNJjs.StripeInvoice; exports.StripeInvoiceModule = _chunkNFBOSPNJjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkNFBOSPNJjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkNFBOSPNJjs.StripePaymentMethodModule; exports.StripePrice = _chunkNFBOSPNJjs.StripePrice; exports.StripePriceFields = _chunkNFBOSPNJjs.StripePriceFields; exports.StripePriceModule = _chunkNFBOSPNJjs.StripePriceModule; exports.StripePriceService = _chunkNFBOSPNJjs.StripePriceService; exports.StripeProduct = _chunkNFBOSPNJjs.StripeProduct; exports.StripeProductFields = _chunkNFBOSPNJjs.StripeProductFields; exports.StripeProductModule = _chunkNFBOSPNJjs.StripeProductModule; exports.StripeProductService = _chunkNFBOSPNJjs.StripeProductService; exports.StripePromotionCode = _chunkNFBOSPNJjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkNFBOSPNJjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkNFBOSPNJjs.StripePromotionCodeService; exports.StripeSubscription = _chunkNFBOSPNJjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkNFBOSPNJjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkNFBOSPNJjs.StripeSubscriptionService; exports.StripeUsage = _chunkNFBOSPNJjs.StripeUsage; exports.StripeUsageModule = _chunkNFBOSPNJjs.StripeUsageModule; exports.StripeUsageService = _chunkNFBOSPNJjs.StripeUsageService; exports.SubscriptionStatus = _chunkNFBOSPNJjs.SubscriptionStatus; exports.TableOptions = _chunkNFBOSPNJjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkNFBOSPNJjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkNFBOSPNJjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkNFBOSPNJjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkNFBOSPNJjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkNFBOSPNJjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkNFBOSPNJjs.TotpSetup; exports.TotpSetupModule = _chunkNFBOSPNJjs.TotpSetupModule; exports.TotpVerify = _chunkNFBOSPNJjs.TotpVerify; exports.TotpVerifyLogin = _chunkNFBOSPNJjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkNFBOSPNJjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkNFBOSPNJjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkNFBOSPNJjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkNFBOSPNJjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkNFBOSPNJjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkNFBOSPNJjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkNFBOSPNJjs.TwoFactorService; exports.TwoFactorStatus = _chunkNFBOSPNJjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkNFBOSPNJjs.TwoFactorStatusModule; exports.User = _chunkNFBOSPNJjs.User; exports.UserFields = _chunkNFBOSPNJjs.UserFields; exports.UserModule = _chunkNFBOSPNJjs.UserModule; exports.UserService = _chunkNFBOSPNJjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkNFBOSPNJjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkNFBOSPNJjs.Waitlist; exports.WaitlistFields = _chunkNFBOSPNJjs.WaitlistFields; exports.WaitlistModule = _chunkNFBOSPNJjs.WaitlistModule; exports.WaitlistService = _chunkNFBOSPNJjs.WaitlistService; exports.WaitlistStats = _chunkNFBOSPNJjs.WaitlistStats; exports.WaitlistStatsModule = _chunkNFBOSPNJjs.WaitlistStatsModule; exports.analyticsModules = _chunkNFBOSPNJjs.analyticsModules; exports.captureSignupSource = _chunkYNCQSWQWjs.captureSignupSource; exports.checkPermissions = _chunkNFBOSPNJjs.checkPermissions; exports.checkPermissionsFromServer = _chunkNFBOSPNJjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkNFBOSPNJjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkNFBOSPNJjs.clearLastApiTotal; exports.cn = _chunkNFBOSPNJjs.cn; exports.composeRefs = _chunkNFBOSPNJjs.composeRefs; exports.configureAuth = _chunkNFBOSPNJjs.configureAuth; exports.configureI18n = _chunkNFBOSPNJjs.configureI18n; exports.configureJsonApi = _chunkYNCQSWQWjs.configureJsonApi; exports.configureLogin = _chunkYNCQSWQWjs.configureLogin; exports.configureReferral = _chunkYNCQSWQWjs.configureReferral; exports.configureRoles = _chunkG4JR3SFVjs.configureRoles; exports.configureTokenUsage = _chunkNFBOSPNJjs.configureTokenUsage; exports.configureWaitlist = _chunkYNCQSWQWjs.configureWaitlist; exports.createJsonApiInclusion = _chunkNFBOSPNJjs.createJsonApiInclusion; exports.dateFormatLocale = _chunkNFBOSPNJjs.dateFormatLocale; exports.dismissToast = _chunkNFBOSPNJjs.dismissToast; exports.entityObjectSchema = _chunkNFBOSPNJjs.entityObjectSchema; exports.exists = _chunkNFBOSPNJjs.exists; exports.formatCodiceFiscale = _chunkNFBOSPNJjs.formatCodiceFiscale; exports.formatDate = _chunkNFBOSPNJjs.formatDate; exports.formatLocalDate = _chunkNFBOSPNJjs.formatLocalDate; exports.formatPartitaIva = _chunkNFBOSPNJjs.formatPartitaIva; exports.getApiUrl = _chunkYNCQSWQWjs.getApiUrl; exports.getAppUrl = _chunkYNCQSWQWjs.getAppUrl; exports.getBootstrapper = _chunkGHE4VT2Rjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkNFBOSPNJjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkNFBOSPNJjs.getGlobalErrorHandler; exports.getIcon = _chunkNFBOSPNJjs.getIcon; exports.getIconByModule = _chunkNFBOSPNJjs.getIconByModule; exports.getIconByModuleName = _chunkNFBOSPNJjs.getIconByModuleName; exports.getInitials = _chunkNFBOSPNJjs.getInitials; exports.getLastApiMeta = _chunkNFBOSPNJjs.getLastApiMeta; exports.getLastApiTotal = _chunkNFBOSPNJjs.getLastApiTotal; exports.getLucideIcon = _chunkNFBOSPNJjs.getLucideIcon; exports.getLucideIconByModule = _chunkNFBOSPNJjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkNFBOSPNJjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkYNCQSWQWjs.getPublicApiUrl; exports.getReferralConfig = _chunkYNCQSWQWjs.getReferralConfig; exports.getRoleId = _chunkG4JR3SFVjs.getRoleId; exports.getSignupSource = _chunkYNCQSWQWjs.getSignupSource; exports.getStripePublishableKey = _chunkYNCQSWQWjs.getStripePublishableKey; exports.getTableComponents = _chunkNFBOSPNJjs.getTableComponents; exports.getTableOptions = _chunkNFBOSPNJjs.getTableOptions; exports.getTokenHandler = _chunkNFBOSPNJjs.getTokenHandler; exports.getTokenUsageCurrency = _chunkNFBOSPNJjs.getTokenUsageCurrency; exports.getTrackablePages = _chunkYNCQSWQWjs.getTrackablePages; exports.getValueFromPath = _chunkNFBOSPNJjs.getValueFromPath; exports.getWaitlistConfig = _chunkYNCQSWQWjs.getWaitlistConfig; exports.handbookPageContent = _chunkNFBOSPNJjs.handbookPageContent; exports.handbookPageSummary = _chunkNFBOSPNJjs.handbookPageSummary; exports.handbookPageTitle = _chunkNFBOSPNJjs.handbookPageTitle; exports.handbookSectionSummary = _chunkNFBOSPNJjs.handbookSectionSummary; exports.handbookSectionTitle = _chunkNFBOSPNJjs.handbookSectionTitle; exports.hasBootstrapper = _chunkGHE4VT2Rjs.hasBootstrapper; exports.isReferralEnabled = _chunkYNCQSWQWjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkNFBOSPNJjs.isRemoteImageSrc; exports.isRolesConfigured = _chunkG4JR3SFVjs.isRolesConfigured; exports.mergeMessages = _chunkNFBOSPNJjs.mergeMessages; exports.readSignupSourceFromLocation = _chunkYNCQSWQWjs.readSignupSourceFromLocation; exports.rehydrate = _chunkNFBOSPNJjs.rehydrate; exports.rehydrateList = _chunkNFBOSPNJjs.rehydrateList; exports.resetBootstrapStore = _chunkGHE4VT2Rjs.resetBootstrapStore; exports.setBootstrapper = _chunkGHE4VT2Rjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkNFBOSPNJjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkNFBOSPNJjs.setGlobalErrorHandler; exports.showCustomToast = _chunkNFBOSPNJjs.showCustomToast; exports.showError = _chunkNFBOSPNJjs.showError; exports.showToast = _chunkNFBOSPNJjs.showToast; exports.tokenUsageModules = _chunkNFBOSPNJjs.tokenUsageModules; exports.translateData = _chunkGHE4VT2Rjs.translateData; exports.translateResponse = _chunkGHE4VT2Rjs.translateResponse; exports.tryBootstrap = _chunkGHE4VT2Rjs.tryBootstrap; exports.useComposedRefs = _chunkNFBOSPNJjs.useComposedRefs; exports.useIsMobile = _chunkNFBOSPNJjs.useIsMobile; exports.userObjectSchema = _chunkNFBOSPNJjs.userObjectSchema; exports.validateCodiceFiscale = _chunkNFBOSPNJjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkNFBOSPNJjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkNFBOSPNJjs.validatePartitaIva;
616
+
617
+
618
+
619
+
620
+
621
+
622
+
623
+
624
+
625
+
626
+
627
+
628
+
629
+
630
+
631
+
632
+ exports.ACTION_TYPES = _chunkRL3PL3KVjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkHKZAESS6js.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkHKZAESS6js.AbstractApiData; exports.AbstractService = _chunkHKZAESS6js.AbstractService; exports.Action = _chunkHKZAESS6js.Action; exports.AiConnection = _chunkHKZAESS6js.AiConnection; exports.AiConnectionFields = _chunkHKZAESS6js.AiConnectionFields; exports.AiConnectionModule = _chunkHKZAESS6js.AiConnectionModule; exports.AiConnectionService = _chunkHKZAESS6js.AiConnectionService; exports.Assistant = _chunkHKZAESS6js.Assistant; exports.AssistantAction = _chunkHKZAESS6js.AssistantAction; exports.AssistantActionModule = _chunkHKZAESS6js.AssistantActionModule; exports.AssistantActionService = _chunkHKZAESS6js.AssistantActionService; exports.AssistantMessage = _chunkHKZAESS6js.AssistantMessage; exports.AssistantMessageModule = _chunkHKZAESS6js.AssistantMessageModule; exports.AssistantMessageService = _chunkHKZAESS6js.AssistantMessageService; exports.AssistantModule = _chunkHKZAESS6js.AssistantModule; exports.AssistantService = _chunkHKZAESS6js.AssistantService; exports.AuditLog = _chunkHKZAESS6js.AuditLog; exports.AuditLogModule = _chunkHKZAESS6js.AuditLogModule; exports.AuditLogService = _chunkHKZAESS6js.AuditLogService; exports.Auth = _chunkHKZAESS6js.Auth; exports.AuthComponent = _chunkHKZAESS6js.AuthComponent; exports.AuthModule = _chunkHKZAESS6js.AuthModule; exports.AuthService = _chunkHKZAESS6js.AuthService; exports.AuthorModule = _chunkHKZAESS6js.AuthorModule; exports.BackupCodeVerify = _chunkHKZAESS6js.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkHKZAESS6js.BackupCodeVerifyModule; exports.Billing = _chunkHKZAESS6js.Billing; exports.BillingModule = _chunkHKZAESS6js.BillingModule; exports.BillingService = _chunkHKZAESS6js.BillingService; exports.BlockNoteDiffUtil = _chunkHKZAESS6js.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkHKZAESS6js.BlockNoteWordDiffRendererUtil; exports.BlogCategory = _chunkHKZAESS6js.BlogCategory; exports.BlogCategoryFields = _chunkHKZAESS6js.BlogCategoryFields; exports.BlogCategoryModule = _chunkHKZAESS6js.BlogCategoryModule; exports.BlogCategoryService = _chunkHKZAESS6js.BlogCategoryService; exports.BlogCategoryTranslation = _chunkHKZAESS6js.BlogCategoryTranslation; exports.BlogCategoryTranslationModule = _chunkHKZAESS6js.BlogCategoryTranslationModule; exports.BlogCategoryTranslationService = _chunkHKZAESS6js.BlogCategoryTranslationService; exports.BlogPost = _chunkHKZAESS6js.BlogPost; exports.BlogPostFields = _chunkHKZAESS6js.BlogPostFields; exports.BlogPostModule = _chunkHKZAESS6js.BlogPostModule; exports.BlogPostService = _chunkHKZAESS6js.BlogPostService; exports.BlogPostTranslation = _chunkHKZAESS6js.BlogPostTranslation; exports.BlogPostTranslationModule = _chunkHKZAESS6js.BlogPostTranslationModule; exports.BlogPostTranslationService = _chunkHKZAESS6js.BlogPostTranslationService; exports.BlogSettings = _chunkHKZAESS6js.BlogSettings; exports.BlogSettingsModule = _chunkHKZAESS6js.BlogSettingsModule; exports.BlogSettingsService = _chunkHKZAESS6js.BlogSettingsService; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkRL3PL3KVjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.CURRENT_USER_STORAGE_KEY = _chunkHKZAESS6js.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkHKZAESS6js.Chunk; exports.ChunkModule = _chunkHKZAESS6js.ChunkModule; exports.ClientAbstractService = _chunkHKZAESS6js.ClientAbstractService; exports.ClientHttpMethod = _chunkHKZAESS6js.ClientHttpMethod; exports.Company = _chunkHKZAESS6js.Company; exports.CompanyFields = _chunkHKZAESS6js.CompanyFields; exports.CompanyModule = _chunkHKZAESS6js.CompanyModule; exports.CompanyService = _chunkHKZAESS6js.CompanyService; exports.Content = _chunkHKZAESS6js.Content; exports.ContentFields = _chunkHKZAESS6js.ContentFields; exports.ContentModule = _chunkHKZAESS6js.ContentModule; exports.ContentService = _chunkHKZAESS6js.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkHKZAESS6js.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkGHE4VT2Rjs.DataClassRegistry; exports.DataClassRegistry = _chunkGHE4VT2Rjs.DataClassRegistry; exports.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = _chunkHKZAESS6js.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE; exports.ENV = _chunkGHE4VT2Rjs.ENV; exports.EmailAutomation = _chunkHKZAESS6js.EmailAutomation; exports.EmailAutomationEnrollment = _chunkHKZAESS6js.EmailAutomationEnrollment; exports.EmailAutomationEnrollmentFields = _chunkHKZAESS6js.EmailAutomationEnrollmentFields; exports.EmailAutomationEnrollmentModule = _chunkHKZAESS6js.EmailAutomationEnrollmentModule; exports.EmailAutomationEnrollmentService = _chunkHKZAESS6js.EmailAutomationEnrollmentService; exports.EmailAutomationFields = _chunkHKZAESS6js.EmailAutomationFields; exports.EmailAutomationModule = _chunkHKZAESS6js.EmailAutomationModule; exports.EmailAutomationService = _chunkHKZAESS6js.EmailAutomationService; exports.EmailAutomationStep = _chunkHKZAESS6js.EmailAutomationStep; exports.EmailAutomationStepModule = _chunkHKZAESS6js.EmailAutomationStepModule; exports.EmailAutomationStepService = _chunkHKZAESS6js.EmailAutomationStepService; exports.EmailAutomationTrigger = _chunkHKZAESS6js.EmailAutomationTrigger; exports.EmailAutomationTriggerModule = _chunkHKZAESS6js.EmailAutomationTriggerModule; exports.EndpointCreator = _chunkHKZAESS6js.EndpointCreator; exports.EntityAiStatus = _chunkHKZAESS6js.EntityAiStatus; exports.Feature = _chunkHKZAESS6js.Feature; exports.FeatureModule = _chunkHKZAESS6js.FeatureModule; exports.FeatureService = _chunkHKZAESS6js.FeatureService; exports.HandbookPage = _chunkHKZAESS6js.HandbookPage; exports.HandbookPageFields = _chunkHKZAESS6js.HandbookPageFields; exports.HandbookPageModule = _chunkHKZAESS6js.HandbookPageModule; exports.HandbookPageService = _chunkHKZAESS6js.HandbookPageService; exports.HandbookSection = _chunkHKZAESS6js.HandbookSection; exports.HandbookSectionModule = _chunkHKZAESS6js.HandbookSectionModule; exports.HandbookSectionService = _chunkHKZAESS6js.HandbookSectionService; exports.HandbookThread = _chunkHKZAESS6js.HandbookThread; exports.HandbookThreadMessage = _chunkHKZAESS6js.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkHKZAESS6js.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkHKZAESS6js.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkHKZAESS6js.HandbookThreadModule; exports.HandbookThreadService = _chunkHKZAESS6js.HandbookThreadService; exports.HowTo = _chunkHKZAESS6js.HowTo; exports.HowToFields = _chunkHKZAESS6js.HowToFields; exports.HowToModule = _chunkHKZAESS6js.HowToModule; exports.HowToService = _chunkHKZAESS6js.HowToService; exports.HttpMethod = _chunkHKZAESS6js.HttpMethod; exports.InvoiceStatus = _chunkHKZAESS6js.InvoiceStatus; exports.JsonApiDataFactory = _chunkGHE4VT2Rjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkHKZAESS6js.MOBILE_BREAKPOINT; exports.Module = _chunkHKZAESS6js.Module; exports.ModuleModule = _chunkHKZAESS6js.ModuleModule; exports.ModulePaths = _chunkHKZAESS6js.ModulePaths; exports.ModulePathsModule = _chunkHKZAESS6js.ModulePathsModule; exports.ModuleRegistrar = _chunkHKZAESS6js.ModuleRegistrar; exports.ModuleRegistry = _chunkHKZAESS6js.ModuleRegistry; exports.Modules = _chunkHKZAESS6js.Modules; exports.Notification = _chunkHKZAESS6js.Notification; exports.NotificationFields = _chunkHKZAESS6js.NotificationFields; exports.NotificationModule = _chunkHKZAESS6js.NotificationModule; exports.NotificationService = _chunkHKZAESS6js.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkHKZAESS6js.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkHKZAESS6js.OAuthClient; exports.OAuthModule = _chunkHKZAESS6js.OAuthModule; exports.OAuthService = _chunkHKZAESS6js.OAuthService; exports.Passkey = _chunkHKZAESS6js.Passkey; exports.PasskeyAuthenticationOptions = _chunkHKZAESS6js.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkHKZAESS6js.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkHKZAESS6js.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkHKZAESS6js.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkHKZAESS6js.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkHKZAESS6js.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkHKZAESS6js.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkHKZAESS6js.PasskeyRename; exports.PasskeyRenameModule = _chunkHKZAESS6js.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkHKZAESS6js.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkHKZAESS6js.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkHKZAESS6js.PaymentMethod; exports.PermissionMapping = _chunkHKZAESS6js.PermissionMapping; exports.PermissionMappingModule = _chunkHKZAESS6js.PermissionMappingModule; exports.Push = _chunkHKZAESS6js.Push; exports.PushModule = _chunkHKZAESS6js.PushModule; exports.PushService = _chunkHKZAESS6js.PushService; exports.RbacMatrixModel = _chunkHKZAESS6js.RbacMatrixModel; exports.RbacMatrixModule = _chunkHKZAESS6js.RbacMatrixModule; exports.RbacService = _chunkRL3PL3KVjs.RbacService; exports.ReferralModule = _chunkHKZAESS6js.ReferralModule; exports.ReferralService = _chunkHKZAESS6js.ReferralService; exports.ReferralStats = _chunkHKZAESS6js.ReferralStats; exports.ReferralStatsModule = _chunkHKZAESS6js.ReferralStatsModule; exports.RehydrationFactory = _chunkHKZAESS6js.RehydrationFactory; exports.Role = _chunkHKZAESS6js.Role; exports.RoleFields = _chunkHKZAESS6js.RoleFields; exports.RoleModule = _chunkHKZAESS6js.RoleModule; exports.RoleService = _chunkHKZAESS6js.RoleService; exports.S3 = _chunkHKZAESS6js.S3; exports.S3Module = _chunkHKZAESS6js.S3Module; exports.S3Service = _chunkHKZAESS6js.S3Service; exports.SIGNUP_SOURCE_COOKIE = _chunkRL3PL3KVjs.SIGNUP_SOURCE_COOKIE; exports.SIGNUP_SOURCE_COOKIE_MAX_AGE = _chunkRL3PL3KVjs.SIGNUP_SOURCE_COOKIE_MAX_AGE; exports.STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT = _chunkHKZAESS6js.STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT; exports.STRIPE_COUPON_REFRESH_SEGMENT = _chunkHKZAESS6js.STRIPE_COUPON_REFRESH_SEGMENT; exports.StripeCoupon = _chunkHKZAESS6js.StripeCoupon; exports.StripeCouponCode = _chunkHKZAESS6js.StripeCouponCode; exports.StripeCouponCodeFields = _chunkHKZAESS6js.StripeCouponCodeFields; exports.StripeCouponCodeModule = _chunkHKZAESS6js.StripeCouponCodeModule; exports.StripeCouponCodeService = _chunkHKZAESS6js.StripeCouponCodeService; exports.StripeCouponFields = _chunkHKZAESS6js.StripeCouponFields; exports.StripeCouponModule = _chunkHKZAESS6js.StripeCouponModule; exports.StripeCouponOffer = _chunkHKZAESS6js.StripeCouponOffer; exports.StripeCouponOfferModule = _chunkHKZAESS6js.StripeCouponOfferModule; exports.StripeCouponService = _chunkHKZAESS6js.StripeCouponService; exports.StripeCustomer = _chunkHKZAESS6js.StripeCustomer; exports.StripeCustomerModule = _chunkHKZAESS6js.StripeCustomerModule; exports.StripeCustomerService = _chunkHKZAESS6js.StripeCustomerService; exports.StripeInvoice = _chunkHKZAESS6js.StripeInvoice; exports.StripeInvoiceModule = _chunkHKZAESS6js.StripeInvoiceModule; exports.StripeInvoiceService = _chunkHKZAESS6js.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkHKZAESS6js.StripePaymentMethodModule; exports.StripePrice = _chunkHKZAESS6js.StripePrice; exports.StripePriceFields = _chunkHKZAESS6js.StripePriceFields; exports.StripePriceModule = _chunkHKZAESS6js.StripePriceModule; exports.StripePriceService = _chunkHKZAESS6js.StripePriceService; exports.StripeProduct = _chunkHKZAESS6js.StripeProduct; exports.StripeProductFields = _chunkHKZAESS6js.StripeProductFields; exports.StripeProductModule = _chunkHKZAESS6js.StripeProductModule; exports.StripeProductService = _chunkHKZAESS6js.StripeProductService; exports.StripePromotionCode = _chunkHKZAESS6js.StripePromotionCode; exports.StripePromotionCodeModule = _chunkHKZAESS6js.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkHKZAESS6js.StripePromotionCodeService; exports.StripeSubscription = _chunkHKZAESS6js.StripeSubscription; exports.StripeSubscriptionModule = _chunkHKZAESS6js.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkHKZAESS6js.StripeSubscriptionService; exports.StripeUsage = _chunkHKZAESS6js.StripeUsage; exports.StripeUsageModule = _chunkHKZAESS6js.StripeUsageModule; exports.StripeUsageService = _chunkHKZAESS6js.StripeUsageService; exports.SubscriptionStatus = _chunkHKZAESS6js.SubscriptionStatus; exports.TableOptions = _chunkHKZAESS6js.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkHKZAESS6js.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkHKZAESS6js.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkHKZAESS6js.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkHKZAESS6js.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkHKZAESS6js.TotpAuthenticatorModule; exports.TotpSetup = _chunkHKZAESS6js.TotpSetup; exports.TotpSetupModule = _chunkHKZAESS6js.TotpSetupModule; exports.TotpVerify = _chunkHKZAESS6js.TotpVerify; exports.TotpVerifyLogin = _chunkHKZAESS6js.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkHKZAESS6js.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkHKZAESS6js.TotpVerifyModule; exports.TwoFactorChallenge = _chunkHKZAESS6js.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkHKZAESS6js.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkHKZAESS6js.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkHKZAESS6js.TwoFactorEnableModule; exports.TwoFactorService = _chunkHKZAESS6js.TwoFactorService; exports.TwoFactorStatus = _chunkHKZAESS6js.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkHKZAESS6js.TwoFactorStatusModule; exports.User = _chunkHKZAESS6js.User; exports.UserFields = _chunkHKZAESS6js.UserFields; exports.UserModule = _chunkHKZAESS6js.UserModule; exports.UserService = _chunkHKZAESS6js.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkHKZAESS6js.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkHKZAESS6js.Waitlist; exports.WaitlistFields = _chunkHKZAESS6js.WaitlistFields; exports.WaitlistModule = _chunkHKZAESS6js.WaitlistModule; exports.WaitlistService = _chunkHKZAESS6js.WaitlistService; exports.WaitlistStats = _chunkHKZAESS6js.WaitlistStats; exports.WaitlistStatsModule = _chunkHKZAESS6js.WaitlistStatsModule; exports.analyticsModules = _chunkHKZAESS6js.analyticsModules; exports.captureSignupSource = _chunkRL3PL3KVjs.captureSignupSource; exports.checkPermissions = _chunkHKZAESS6js.checkPermissions; exports.checkPermissionsFromServer = _chunkHKZAESS6js.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkHKZAESS6js.clearLastApiMeta; exports.clearLastApiTotal = _chunkHKZAESS6js.clearLastApiTotal; exports.cn = _chunkHKZAESS6js.cn; exports.composeRefs = _chunkHKZAESS6js.composeRefs; exports.configureAuth = _chunkHKZAESS6js.configureAuth; exports.configureI18n = _chunkHKZAESS6js.configureI18n; exports.configureJsonApi = _chunkRL3PL3KVjs.configureJsonApi; exports.configureLogin = _chunkRL3PL3KVjs.configureLogin; exports.configureReferral = _chunkRL3PL3KVjs.configureReferral; exports.configureRoles = _chunkG4JR3SFVjs.configureRoles; exports.configureTokenUsage = _chunkHKZAESS6js.configureTokenUsage; exports.configureWaitlist = _chunkRL3PL3KVjs.configureWaitlist; exports.couponPlacesLeft = _chunkHKZAESS6js.couponPlacesLeft; exports.couponPlacesTotal = _chunkHKZAESS6js.couponPlacesTotal; exports.createJsonApiInclusion = _chunkHKZAESS6js.createJsonApiInclusion; exports.dateFormatLocale = _chunkHKZAESS6js.dateFormatLocale; exports.dismissToast = _chunkHKZAESS6js.dismissToast; exports.entityObjectSchema = _chunkHKZAESS6js.entityObjectSchema; exports.exists = _chunkHKZAESS6js.exists; exports.formatCodiceFiscale = _chunkHKZAESS6js.formatCodiceFiscale; exports.formatCouponDiscount = _chunkHKZAESS6js.formatCouponDiscount; exports.formatDate = _chunkHKZAESS6js.formatDate; exports.formatLocalDate = _chunkHKZAESS6js.formatLocalDate; exports.formatPartitaIva = _chunkHKZAESS6js.formatPartitaIva; exports.getApiUrl = _chunkRL3PL3KVjs.getApiUrl; exports.getAppUrl = _chunkRL3PL3KVjs.getAppUrl; exports.getBootstrapper = _chunkGHE4VT2Rjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkHKZAESS6js.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkHKZAESS6js.getGlobalErrorHandler; exports.getIcon = _chunkHKZAESS6js.getIcon; exports.getIconByModule = _chunkHKZAESS6js.getIconByModule; exports.getIconByModuleName = _chunkHKZAESS6js.getIconByModuleName; exports.getInitials = _chunkHKZAESS6js.getInitials; exports.getLastApiMeta = _chunkHKZAESS6js.getLastApiMeta; exports.getLastApiTotal = _chunkHKZAESS6js.getLastApiTotal; exports.getLucideIcon = _chunkHKZAESS6js.getLucideIcon; exports.getLucideIconByModule = _chunkHKZAESS6js.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkHKZAESS6js.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkRL3PL3KVjs.getPublicApiUrl; exports.getReferralConfig = _chunkRL3PL3KVjs.getReferralConfig; exports.getRoleId = _chunkG4JR3SFVjs.getRoleId; exports.getSignupSource = _chunkRL3PL3KVjs.getSignupSource; exports.getStripePublishableKey = _chunkRL3PL3KVjs.getStripePublishableKey; exports.getTableComponents = _chunkHKZAESS6js.getTableComponents; exports.getTableOptions = _chunkHKZAESS6js.getTableOptions; exports.getTokenHandler = _chunkHKZAESS6js.getTokenHandler; exports.getTokenUsageCurrency = _chunkHKZAESS6js.getTokenUsageCurrency; exports.getTrackablePages = _chunkRL3PL3KVjs.getTrackablePages; exports.getValueFromPath = _chunkHKZAESS6js.getValueFromPath; exports.getWaitlistConfig = _chunkRL3PL3KVjs.getWaitlistConfig; exports.handbookPageContent = _chunkHKZAESS6js.handbookPageContent; exports.handbookPageSummary = _chunkHKZAESS6js.handbookPageSummary; exports.handbookPageTitle = _chunkHKZAESS6js.handbookPageTitle; exports.handbookSectionSummary = _chunkHKZAESS6js.handbookSectionSummary; exports.handbookSectionTitle = _chunkHKZAESS6js.handbookSectionTitle; exports.hasBootstrapper = _chunkGHE4VT2Rjs.hasBootstrapper; exports.isReferralEnabled = _chunkRL3PL3KVjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkHKZAESS6js.isRemoteImageSrc; exports.isRolesConfigured = _chunkG4JR3SFVjs.isRolesConfigured; exports.mergeMessages = _chunkHKZAESS6js.mergeMessages; exports.readSignupSourceFromLocation = _chunkRL3PL3KVjs.readSignupSourceFromLocation; exports.rehydrate = _chunkHKZAESS6js.rehydrate; exports.rehydrateList = _chunkHKZAESS6js.rehydrateList; exports.resetBootstrapStore = _chunkGHE4VT2Rjs.resetBootstrapStore; exports.setBootstrapper = _chunkGHE4VT2Rjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkHKZAESS6js.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkHKZAESS6js.setGlobalErrorHandler; exports.showCustomToast = _chunkHKZAESS6js.showCustomToast; exports.showError = _chunkHKZAESS6js.showError; exports.showToast = _chunkHKZAESS6js.showToast; exports.toPromotionCodeResult = _chunkHKZAESS6js.toPromotionCodeResult; exports.tokenUsageModules = _chunkHKZAESS6js.tokenUsageModules; exports.translateData = _chunkGHE4VT2Rjs.translateData; exports.translateResponse = _chunkGHE4VT2Rjs.translateResponse; exports.tryBootstrap = _chunkGHE4VT2Rjs.tryBootstrap; exports.useComposedRefs = _chunkHKZAESS6js.useComposedRefs; exports.useIsMobile = _chunkHKZAESS6js.useIsMobile; exports.userObjectSchema = _chunkHKZAESS6js.userObjectSchema; exports.validateCodiceFiscale = _chunkHKZAESS6js.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkHKZAESS6js.validateItalianTaxCode; exports.validatePartitaIva = _chunkHKZAESS6js.validatePartitaIva;
601
633
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,qokBAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"}
1
+ {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uvmBAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"}
package/dist/index.mjs CHANGED
@@ -19,7 +19,7 @@ import {
19
19
  getWaitlistConfig,
20
20
  isReferralEnabled,
21
21
  readSignupSourceFromLocation
22
- } from "./chunk-QMYQRPQC.mjs";
22
+ } from "./chunk-Y7RR57EW.mjs";
23
23
  import {
24
24
  configureRoles,
25
25
  getRoleId,
@@ -175,6 +175,18 @@ import {
175
175
  S3,
176
176
  S3Module,
177
177
  S3Service,
178
+ STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT,
179
+ STRIPE_COUPON_REFRESH_SEGMENT,
180
+ StripeCoupon,
181
+ StripeCouponCode,
182
+ StripeCouponCodeFields,
183
+ StripeCouponCodeModule,
184
+ StripeCouponCodeService,
185
+ StripeCouponFields,
186
+ StripeCouponModule,
187
+ StripeCouponOffer,
188
+ StripeCouponOfferModule,
189
+ StripeCouponService,
178
190
  StripeCustomer,
179
191
  StripeCustomerModule,
180
192
  StripeCustomerService,
@@ -240,12 +252,15 @@ import {
240
252
  configureAuth,
241
253
  configureI18n,
242
254
  configureTokenUsage,
255
+ couponPlacesLeft,
256
+ couponPlacesTotal,
243
257
  createJsonApiInclusion,
244
258
  dateFormatLocale,
245
259
  dismissToast,
246
260
  entityObjectSchema,
247
261
  exists,
248
262
  formatCodiceFiscale,
263
+ formatCouponDiscount,
249
264
  formatDate,
250
265
  formatLocalDate,
251
266
  formatPartitaIva,
@@ -279,6 +294,7 @@ import {
279
294
  showCustomToast,
280
295
  showError,
281
296
  showToast,
297
+ toPromotionCodeResult,
282
298
  tokenUsageModules,
283
299
  useComposedRefs,
284
300
  useIsMobile,
@@ -286,9 +302,7 @@ import {
286
302
  validateCodiceFiscale,
287
303
  validateItalianTaxCode,
288
304
  validatePartitaIva
289
- } from "./chunk-WC63PJSC.mjs";
290
- import "./chunk-AUXK7QSA.mjs";
291
- import "./chunk-PI56A4DG.mjs";
305
+ } from "./chunk-EYA2F6AN.mjs";
292
306
  import {
293
307
  DataClassRegistry,
294
308
  ENV,
@@ -301,6 +315,8 @@ import {
301
315
  translateResponse,
302
316
  tryBootstrap
303
317
  } from "./chunk-V5MI7RNB.mjs";
318
+ import "./chunk-AUXK7QSA.mjs";
319
+ import "./chunk-PI56A4DG.mjs";
304
320
  import "./chunk-PAWJFY3S.mjs";
305
321
  export {
306
322
  ACTION_TYPES,
@@ -461,6 +477,18 @@ export {
461
477
  S3Service,
462
478
  SIGNUP_SOURCE_COOKIE,
463
479
  SIGNUP_SOURCE_COOKIE_MAX_AGE,
480
+ STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT,
481
+ STRIPE_COUPON_REFRESH_SEGMENT,
482
+ StripeCoupon,
483
+ StripeCouponCode,
484
+ StripeCouponCodeFields,
485
+ StripeCouponCodeModule,
486
+ StripeCouponCodeService,
487
+ StripeCouponFields,
488
+ StripeCouponModule,
489
+ StripeCouponOffer,
490
+ StripeCouponOfferModule,
491
+ StripeCouponService,
464
492
  StripeCustomer,
465
493
  StripeCustomerModule,
466
494
  StripeCustomerService,
@@ -532,12 +560,15 @@ export {
532
560
  configureRoles,
533
561
  configureTokenUsage,
534
562
  configureWaitlist,
563
+ couponPlacesLeft,
564
+ couponPlacesTotal,
535
565
  createJsonApiInclusion,
536
566
  dateFormatLocale,
537
567
  dismissToast,
538
568
  entityObjectSchema,
539
569
  exists,
540
570
  formatCodiceFiscale,
571
+ formatCouponDiscount,
541
572
  formatDate,
542
573
  formatLocalDate,
543
574
  formatPartitaIva,
@@ -587,6 +618,7 @@ export {
587
618
  showCustomToast,
588
619
  showError,
589
620
  showToast,
621
+ toPromotionCodeResult,
590
622
  tokenUsageModules,
591
623
  translateData,
592
624
  translateResponse,