@carlonicora/nextjs-jsonapi 5.5.0 → 5.7.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 (152) hide show
  1. package/dist/{BlockNoteEditor-GVQCKRMU.mjs → BlockNoteEditor-R3WXUFHX.mjs} +4 -4
  2. package/dist/{BlockNoteEditor-THBJH2UR.js → BlockNoteEditor-ZHXXFWUJ.js} +19 -19
  3. package/dist/{BlockNoteEditor-THBJH2UR.js.map → BlockNoteEditor-ZHXXFWUJ.js.map} +1 -1
  4. package/dist/{BlockNoteViewer-U6E3DS4F.mjs → BlockNoteViewer-BVVN6D3T.mjs} +2 -2
  5. package/dist/{BlockNoteViewer-VZOVKTFO.js → BlockNoteViewer-SD3ZFIXD.js} +3 -3
  6. package/dist/{BlockNoteViewer-VZOVKTFO.js.map → BlockNoteViewer-SD3ZFIXD.js.map} +1 -1
  7. package/dist/billing/index.d.mts +197 -46
  8. package/dist/billing/index.d.ts +197 -46
  9. package/dist/billing/index.js +1166 -589
  10. package/dist/billing/index.js.map +1 -1
  11. package/dist/billing/index.mjs +803 -226
  12. package/dist/billing/index.mjs.map +1 -1
  13. package/dist/{chunk-WPYT4UKJ.js → chunk-2TXE57LE.js} +3 -3
  14. package/dist/{chunk-WPYT4UKJ.js.map → chunk-2TXE57LE.js.map} +1 -1
  15. package/dist/{chunk-G6UE6MEP.js → chunk-5TH2DSAH.js} +901 -204
  16. package/dist/chunk-5TH2DSAH.js.map +1 -0
  17. package/dist/{chunk-X5WIUUNG.mjs → chunk-CFB6FHIY.mjs} +3342 -2377
  18. package/dist/chunk-CFB6FHIY.mjs.map +1 -0
  19. package/dist/{chunk-VC5A3AUZ.mjs → chunk-FK26NX3S.mjs} +701 -4
  20. package/dist/chunk-FK26NX3S.mjs.map +1 -0
  21. package/dist/{chunk-YDYVJM4I.js → chunk-IJME5SAM.js} +4 -4
  22. package/dist/{chunk-YDYVJM4I.js.map → chunk-IJME5SAM.js.map} +1 -1
  23. package/dist/{chunk-W7F5BDSV.mjs → chunk-OKCV4GPJ.mjs} +2 -2
  24. package/dist/{chunk-3CGROPF3.mjs → chunk-RGQYFSJF.mjs} +2 -2
  25. package/dist/{chunk-6SQYXUVP.mjs → chunk-WCHLCOZG.mjs} +2 -2
  26. package/dist/{chunk-S4YJ5WCW.js → chunk-XOSC3FFP.js} +8 -8
  27. package/dist/{chunk-S4YJ5WCW.js.map → chunk-XOSC3FFP.js.map} +1 -1
  28. package/dist/{chunk-TY5FYP3G.js → chunk-ZCOPOO7T.js} +2024 -1059
  29. package/dist/chunk-ZCOPOO7T.js.map +1 -0
  30. package/dist/client/index.js +4 -4
  31. package/dist/client/index.mjs +3 -3
  32. package/dist/components/index.js +4 -4
  33. package/dist/components/index.mjs +3 -3
  34. package/dist/contexts/index.js +4 -4
  35. package/dist/contexts/index.mjs +3 -3
  36. package/dist/core/index.d.mts +248 -3
  37. package/dist/core/index.d.ts +248 -3
  38. package/dist/core/index.js +42 -2
  39. package/dist/core/index.js.map +1 -1
  40. package/dist/core/index.mjs +41 -1
  41. package/dist/{stripe-promotion-code.interface-ClZ7DxS9.d.mts → currency-DT_dveBx.d.mts} +137 -1
  42. package/dist/{stripe-promotion-code.interface-C3qqh3mi.d.ts → currency-pK9eRYRC.d.ts} +137 -1
  43. package/dist/email-automations/index.js +92 -92
  44. package/dist/email-automations/index.mjs +3 -3
  45. package/dist/features/analytics/index.js +121 -121
  46. package/dist/features/analytics/index.mjs +4 -4
  47. package/dist/features/analytics/server.js +4 -4
  48. package/dist/features/analytics/server.mjs +2 -2
  49. package/dist/features/blog/index.js +150 -150
  50. package/dist/features/blog/index.mjs +3 -3
  51. package/dist/features/blog/server.js +16 -16
  52. package/dist/features/blog/server.mjs +1 -1
  53. package/dist/features/help/index.js +37 -37
  54. package/dist/features/help/index.mjs +3 -3
  55. package/dist/features/tokenusage/index.js +124 -124
  56. package/dist/features/tokenusage/index.mjs +4 -4
  57. package/dist/index.d.mts +2 -2
  58. package/dist/index.d.ts +2 -2
  59. package/dist/index.js +43 -3
  60. package/dist/index.js.map +1 -1
  61. package/dist/index.mjs +42 -2
  62. package/dist/server/index.js +3 -3
  63. package/dist/server/index.mjs +2 -2
  64. package/messages/en.json +125 -3
  65. package/messages/it.json +125 -3
  66. package/package.json +1 -1
  67. package/scripts/validate-messages.mjs +1 -0
  68. package/src/billing/index.ts +1 -0
  69. package/src/client/index.ts +4 -0
  70. package/src/core/index.ts +4 -0
  71. package/src/core/registry/ModuleRegistry.ts +3 -0
  72. package/src/features/billing/components/cards/InvoicesSummaryCard.tsx +3 -2
  73. package/src/features/billing/components/cards/SubscriptionSummaryCard.tsx +4 -3
  74. package/src/features/billing/components/containers/BillingDashboardContainer.tsx +22 -5
  75. package/src/features/billing/components/utils/__tests__/discount.spec.ts +59 -0
  76. package/src/features/billing/components/utils/__tests__/url.spec.ts +32 -0
  77. package/src/features/billing/components/utils/discount.ts +38 -0
  78. package/src/features/billing/components/utils/index.ts +2 -0
  79. package/src/features/billing/components/utils/url.ts +12 -0
  80. package/src/features/billing/contexts/CouponContext.tsx +209 -0
  81. package/src/features/billing/contexts/index.ts +1 -0
  82. package/src/features/billing/i18n-keys.ts +79 -0
  83. package/src/features/billing/stripe-coupon/components/containers/CouponContainer.tsx +38 -0
  84. package/src/features/billing/stripe-coupon/components/containers/index.ts +1 -0
  85. package/src/features/billing/stripe-coupon/components/details/CouponDetails.tsx +72 -0
  86. package/src/features/billing/stripe-coupon/components/details/index.ts +1 -0
  87. package/src/features/billing/stripe-coupon/components/forms/CouponCodeEditor.tsx +80 -0
  88. package/src/features/billing/stripe-coupon/components/forms/CouponCodeFields.tsx +214 -0
  89. package/src/features/billing/stripe-coupon/components/forms/CouponEditor.tsx +425 -0
  90. package/src/features/billing/stripe-coupon/components/forms/CouponRefresher.tsx +45 -0
  91. package/src/features/billing/stripe-coupon/components/forms/index.ts +6 -0
  92. package/src/features/billing/stripe-coupon/components/index.ts +5 -0
  93. package/src/features/billing/stripe-coupon/components/lists/CouponCodesList.tsx +61 -0
  94. package/src/features/billing/stripe-coupon/components/lists/CouponsList.tsx +67 -0
  95. package/src/features/billing/stripe-coupon/components/lists/index.ts +2 -0
  96. package/src/features/billing/stripe-coupon/components/widgets/CouponCodeActions.tsx +81 -0
  97. package/src/features/billing/stripe-coupon/components/widgets/index.ts +1 -0
  98. package/src/features/billing/stripe-coupon/data/__tests__/stripe-coupon-models.spec.ts +114 -0
  99. package/src/features/billing/stripe-coupon/data/index.ts +10 -0
  100. package/src/features/billing/stripe-coupon/data/stripe-coupon-code.fields.ts +8 -0
  101. package/src/features/billing/stripe-coupon/data/stripe-coupon-code.interface.ts +44 -0
  102. package/src/features/billing/stripe-coupon/data/stripe-coupon-code.service.ts +92 -0
  103. package/src/features/billing/stripe-coupon/data/stripe-coupon-code.ts +132 -0
  104. package/src/features/billing/stripe-coupon/data/stripe-coupon-offer.interface.ts +17 -0
  105. package/src/features/billing/stripe-coupon/data/stripe-coupon-offer.ts +70 -0
  106. package/src/features/billing/stripe-coupon/data/stripe-coupon.fields.ts +7 -0
  107. package/src/features/billing/stripe-coupon/data/stripe-coupon.interface.ts +55 -0
  108. package/src/features/billing/stripe-coupon/data/stripe-coupon.service.ts +93 -0
  109. package/src/features/billing/stripe-coupon/data/stripe-coupon.ts +167 -0
  110. package/src/features/billing/stripe-coupon/hooks/useStripeCouponCodeTableStructure.tsx +161 -0
  111. package/src/features/billing/stripe-coupon/hooks/useStripeCouponTableStructure.tsx +113 -0
  112. package/src/features/billing/stripe-coupon/index.ts +5 -0
  113. package/src/features/billing/stripe-coupon/stripe-coupon-code.module.ts +15 -0
  114. package/src/features/billing/stripe-coupon/stripe-coupon-offer.module.ts +10 -0
  115. package/src/features/billing/stripe-coupon/stripe-coupon.module.ts +25 -0
  116. package/src/features/billing/stripe-coupon/utils/__tests__/coupon-places.spec.ts +19 -0
  117. package/src/features/billing/stripe-coupon/utils/__tests__/to-promotion-code-result.spec.ts +41 -0
  118. package/src/features/billing/stripe-coupon/utils/coupon-places.ts +23 -0
  119. package/src/features/billing/stripe-coupon/utils/format-coupon-discount.ts +36 -0
  120. package/src/features/billing/stripe-coupon/utils/index.ts +3 -0
  121. package/src/features/billing/stripe-coupon/utils/to-promotion-code-result.ts +23 -0
  122. package/src/features/billing/stripe-customer/components/forms/PaymentMethodForm.tsx +24 -8
  123. package/src/features/billing/stripe-product/components/containers/ProductsListContainer.tsx +21 -6
  124. package/src/features/billing/stripe-promotion-code/components/PromoCodeInput.tsx +60 -19
  125. package/src/features/billing/stripe-promotion-code/data/stripe-promotion-code.interface.ts +2 -0
  126. package/src/features/billing/stripe-subscription/components/containers/SubscriptionsContainer.tsx +24 -5
  127. package/src/features/billing/stripe-subscription/components/lists/SubscriptionsList.tsx +21 -2
  128. package/src/features/billing/stripe-subscription/components/wizards/SubscriptionWizard.tsx +1 -1
  129. package/src/features/billing/stripe-subscription/components/wizards/WizardStepPaymentMethod.tsx +1 -1
  130. package/src/features/billing/stripe-subscription/components/wizards/WizardStepReview.tsx +60 -49
  131. package/src/features/billing/stripe-subscription/components/wizards/__tests__/review-card.spec.ts +34 -0
  132. package/src/features/billing/stripe-subscription/components/wizards/review-card.ts +24 -0
  133. package/src/features/billing/stripe-subscription/data/__tests__/stripe-subscription.discount.spec.ts +67 -0
  134. package/src/features/billing/stripe-subscription/data/stripe-subscription.interface.ts +14 -0
  135. package/src/features/billing/stripe-subscription/data/stripe-subscription.service.ts +39 -0
  136. package/src/features/billing/stripe-subscription/data/stripe-subscription.ts +21 -0
  137. package/src/features/billing/stripe-subscription/hooks/__tests__/wizard-payment.spec.ts +48 -0
  138. package/src/features/billing/stripe-subscription/hooks/__tests__/wizard-promotion.spec.ts +132 -0
  139. package/src/features/billing/stripe-subscription/hooks/useSubscriptionWizard.ts +138 -12
  140. package/src/features/billing/stripe-subscription/hooks/wizard-payment.ts +30 -0
  141. package/src/features/billing/stripe-subscription/hooks/wizard-promotion.ts +61 -0
  142. package/src/features/user/contexts/CurrentUserContext.tsx +25 -0
  143. package/src/features/user/contexts/__tests__/CurrentUserContext.spec.tsx +121 -2
  144. package/dist/chunk-G6UE6MEP.js.map +0 -1
  145. package/dist/chunk-TY5FYP3G.js.map +0 -1
  146. package/dist/chunk-VC5A3AUZ.mjs.map +0 -1
  147. package/dist/chunk-X5WIUUNG.mjs.map +0 -1
  148. /package/dist/{BlockNoteEditor-GVQCKRMU.mjs.map → BlockNoteEditor-R3WXUFHX.mjs.map} +0 -0
  149. /package/dist/{BlockNoteViewer-U6E3DS4F.mjs.map → BlockNoteViewer-BVVN6D3T.mjs.map} +0 -0
  150. /package/dist/{chunk-W7F5BDSV.mjs.map → chunk-OKCV4GPJ.mjs.map} +0 -0
  151. /package/dist/{chunk-3CGROPF3.mjs.map → chunk-RGQYFSJF.mjs.map} +0 -0
  152. /package/dist/{chunk-6SQYXUVP.mjs.map → chunk-WCHLCOZG.mjs.map} +0 -0
@@ -253,7 +253,27 @@
253
253
 
254
254
 
255
255
 
256
- var _chunkG6UE6MEPjs = require('../chunk-G6UE6MEP.js');
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+ var _chunk5TH2DSAHjs = require('../chunk-5TH2DSAH.js');
257
277
 
258
278
 
259
279
 
@@ -535,5 +555,25 @@ require('../chunk-7QVYU63E.js');
535
555
 
536
556
 
537
557
 
538
- exports.AVAILABLE_OAUTH_SCOPES = _chunkG6UE6MEPjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkG6UE6MEPjs.AbstractApiData; exports.AbstractService = _chunkG6UE6MEPjs.AbstractService; exports.Action = _chunkG6UE6MEPjs.Action; exports.AiConnection = _chunkG6UE6MEPjs.AiConnection; exports.AiConnectionFields = _chunkG6UE6MEPjs.AiConnectionFields; exports.AiConnectionModule = _chunkG6UE6MEPjs.AiConnectionModule; exports.AiConnectionService = _chunkG6UE6MEPjs.AiConnectionService; exports.Assistant = _chunkG6UE6MEPjs.Assistant; exports.AssistantAction = _chunkG6UE6MEPjs.AssistantAction; exports.AssistantActionModule = _chunkG6UE6MEPjs.AssistantActionModule; exports.AssistantActionService = _chunkG6UE6MEPjs.AssistantActionService; exports.AssistantMessage = _chunkG6UE6MEPjs.AssistantMessage; exports.AssistantMessageModule = _chunkG6UE6MEPjs.AssistantMessageModule; exports.AssistantMessageService = _chunkG6UE6MEPjs.AssistantMessageService; exports.AssistantModule = _chunkG6UE6MEPjs.AssistantModule; exports.AssistantService = _chunkG6UE6MEPjs.AssistantService; exports.AuditLog = _chunkG6UE6MEPjs.AuditLog; exports.AuditLogModule = _chunkG6UE6MEPjs.AuditLogModule; exports.AuditLogService = _chunkG6UE6MEPjs.AuditLogService; exports.Auth = _chunkG6UE6MEPjs.Auth; exports.AuthComponent = _chunkG6UE6MEPjs.AuthComponent; exports.AuthModule = _chunkG6UE6MEPjs.AuthModule; exports.AuthService = _chunkG6UE6MEPjs.AuthService; exports.AuthorModule = _chunkG6UE6MEPjs.AuthorModule; exports.BackupCodeVerify = _chunkG6UE6MEPjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkG6UE6MEPjs.BackupCodeVerifyModule; exports.Billing = _chunkG6UE6MEPjs.Billing; exports.BillingModule = _chunkG6UE6MEPjs.BillingModule; exports.BillingService = _chunkG6UE6MEPjs.BillingService; exports.BlockNoteDiffUtil = _chunkG6UE6MEPjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkG6UE6MEPjs.BlockNoteWordDiffRendererUtil; exports.BlogCategory = _chunkG6UE6MEPjs.BlogCategory; exports.BlogCategoryFields = _chunkG6UE6MEPjs.BlogCategoryFields; exports.BlogCategoryModule = _chunkG6UE6MEPjs.BlogCategoryModule; exports.BlogCategoryService = _chunkG6UE6MEPjs.BlogCategoryService; exports.BlogCategoryTranslation = _chunkG6UE6MEPjs.BlogCategoryTranslation; exports.BlogCategoryTranslationModule = _chunkG6UE6MEPjs.BlogCategoryTranslationModule; exports.BlogCategoryTranslationService = _chunkG6UE6MEPjs.BlogCategoryTranslationService; exports.BlogPost = _chunkG6UE6MEPjs.BlogPost; exports.BlogPostFields = _chunkG6UE6MEPjs.BlogPostFields; exports.BlogPostModule = _chunkG6UE6MEPjs.BlogPostModule; exports.BlogPostService = _chunkG6UE6MEPjs.BlogPostService; exports.BlogPostTranslation = _chunkG6UE6MEPjs.BlogPostTranslation; exports.BlogPostTranslationModule = _chunkG6UE6MEPjs.BlogPostTranslationModule; exports.BlogPostTranslationService = _chunkG6UE6MEPjs.BlogPostTranslationService; exports.BlogSettings = _chunkG6UE6MEPjs.BlogSettings; exports.BlogSettingsModule = _chunkG6UE6MEPjs.BlogSettingsModule; exports.BlogSettingsService = _chunkG6UE6MEPjs.BlogSettingsService; exports.CURRENT_USER_STORAGE_KEY = _chunkG6UE6MEPjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkG6UE6MEPjs.Chunk; exports.ChunkModule = _chunkG6UE6MEPjs.ChunkModule; exports.ClientAbstractService = _chunkG6UE6MEPjs.ClientAbstractService; exports.ClientHttpMethod = _chunkG6UE6MEPjs.ClientHttpMethod; exports.Company = _chunkG6UE6MEPjs.Company; exports.CompanyFields = _chunkG6UE6MEPjs.CompanyFields; exports.CompanyModule = _chunkG6UE6MEPjs.CompanyModule; exports.CompanyService = _chunkG6UE6MEPjs.CompanyService; exports.Content = _chunkG6UE6MEPjs.Content; exports.ContentFields = _chunkG6UE6MEPjs.ContentFields; exports.ContentModule = _chunkG6UE6MEPjs.ContentModule; exports.ContentService = _chunkG6UE6MEPjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkG6UE6MEPjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkGHE4VT2Rjs.DataClassRegistry; exports.DataClassRegistry = _chunkGHE4VT2Rjs.DataClassRegistry; exports.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = _chunkG6UE6MEPjs.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE; exports.ENV = _chunkGHE4VT2Rjs.ENV; exports.EmailAutomation = _chunkG6UE6MEPjs.EmailAutomation; exports.EmailAutomationEnrollment = _chunkG6UE6MEPjs.EmailAutomationEnrollment; exports.EmailAutomationEnrollmentFields = _chunkG6UE6MEPjs.EmailAutomationEnrollmentFields; exports.EmailAutomationEnrollmentModule = _chunkG6UE6MEPjs.EmailAutomationEnrollmentModule; exports.EmailAutomationEnrollmentService = _chunkG6UE6MEPjs.EmailAutomationEnrollmentService; exports.EmailAutomationFields = _chunkG6UE6MEPjs.EmailAutomationFields; exports.EmailAutomationModule = _chunkG6UE6MEPjs.EmailAutomationModule; exports.EmailAutomationService = _chunkG6UE6MEPjs.EmailAutomationService; exports.EmailAutomationStep = _chunkG6UE6MEPjs.EmailAutomationStep; exports.EmailAutomationStepModule = _chunkG6UE6MEPjs.EmailAutomationStepModule; exports.EmailAutomationStepService = _chunkG6UE6MEPjs.EmailAutomationStepService; exports.EmailAutomationTrigger = _chunkG6UE6MEPjs.EmailAutomationTrigger; exports.EmailAutomationTriggerModule = _chunkG6UE6MEPjs.EmailAutomationTriggerModule; exports.EndpointCreator = _chunkG6UE6MEPjs.EndpointCreator; exports.EntityAiStatus = _chunkG6UE6MEPjs.EntityAiStatus; exports.Feature = _chunkG6UE6MEPjs.Feature; exports.FeatureModule = _chunkG6UE6MEPjs.FeatureModule; exports.FeatureService = _chunkG6UE6MEPjs.FeatureService; exports.HandbookPage = _chunkG6UE6MEPjs.HandbookPage; exports.HandbookPageFields = _chunkG6UE6MEPjs.HandbookPageFields; exports.HandbookPageModule = _chunkG6UE6MEPjs.HandbookPageModule; exports.HandbookPageService = _chunkG6UE6MEPjs.HandbookPageService; exports.HandbookSection = _chunkG6UE6MEPjs.HandbookSection; exports.HandbookSectionModule = _chunkG6UE6MEPjs.HandbookSectionModule; exports.HandbookSectionService = _chunkG6UE6MEPjs.HandbookSectionService; exports.HandbookThread = _chunkG6UE6MEPjs.HandbookThread; exports.HandbookThreadMessage = _chunkG6UE6MEPjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkG6UE6MEPjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkG6UE6MEPjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkG6UE6MEPjs.HandbookThreadModule; exports.HandbookThreadService = _chunkG6UE6MEPjs.HandbookThreadService; exports.HowTo = _chunkG6UE6MEPjs.HowTo; exports.HowToFields = _chunkG6UE6MEPjs.HowToFields; exports.HowToModule = _chunkG6UE6MEPjs.HowToModule; exports.HowToService = _chunkG6UE6MEPjs.HowToService; exports.HttpMethod = _chunkG6UE6MEPjs.HttpMethod; exports.InvoiceStatus = _chunkG6UE6MEPjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkGHE4VT2Rjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkG6UE6MEPjs.MOBILE_BREAKPOINT; exports.Module = _chunkG6UE6MEPjs.Module; exports.ModuleModule = _chunkG6UE6MEPjs.ModuleModule; exports.ModulePathsModule = _chunkG6UE6MEPjs.ModulePathsModule; exports.ModuleRegistrar = _chunkG6UE6MEPjs.ModuleRegistrar; exports.ModuleRegistry = _chunkG6UE6MEPjs.ModuleRegistry; exports.Modules = _chunkG6UE6MEPjs.Modules; exports.Notification = _chunkG6UE6MEPjs.Notification; exports.NotificationFields = _chunkG6UE6MEPjs.NotificationFields; exports.NotificationModule = _chunkG6UE6MEPjs.NotificationModule; exports.NotificationService = _chunkG6UE6MEPjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkG6UE6MEPjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkG6UE6MEPjs.OAuthClient; exports.OAuthModule = _chunkG6UE6MEPjs.OAuthModule; exports.OAuthService = _chunkG6UE6MEPjs.OAuthService; exports.Passkey = _chunkG6UE6MEPjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkG6UE6MEPjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkG6UE6MEPjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkG6UE6MEPjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkG6UE6MEPjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkG6UE6MEPjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkG6UE6MEPjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkG6UE6MEPjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkG6UE6MEPjs.PasskeyRename; exports.PasskeyRenameModule = _chunkG6UE6MEPjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkG6UE6MEPjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkG6UE6MEPjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkG6UE6MEPjs.PaymentMethod; exports.PermissionMappingModule = _chunkG6UE6MEPjs.PermissionMappingModule; exports.Push = _chunkG6UE6MEPjs.Push; exports.PushModule = _chunkG6UE6MEPjs.PushModule; exports.PushService = _chunkG6UE6MEPjs.PushService; exports.RbacMatrixModule = _chunkG6UE6MEPjs.RbacMatrixModule; exports.ReferralModule = _chunkG6UE6MEPjs.ReferralModule; exports.ReferralService = _chunkG6UE6MEPjs.ReferralService; exports.ReferralStats = _chunkG6UE6MEPjs.ReferralStats; exports.ReferralStatsModule = _chunkG6UE6MEPjs.ReferralStatsModule; exports.RehydrationFactory = _chunkG6UE6MEPjs.RehydrationFactory; exports.Role = _chunkG6UE6MEPjs.Role; exports.RoleFields = _chunkG6UE6MEPjs.RoleFields; exports.RoleModule = _chunkG6UE6MEPjs.RoleModule; exports.RoleService = _chunkG6UE6MEPjs.RoleService; exports.S3 = _chunkG6UE6MEPjs.S3; exports.S3Module = _chunkG6UE6MEPjs.S3Module; exports.S3Service = _chunkG6UE6MEPjs.S3Service; exports.StripeCustomer = _chunkG6UE6MEPjs.StripeCustomer; exports.StripeCustomerModule = _chunkG6UE6MEPjs.StripeCustomerModule; exports.StripeCustomerService = _chunkG6UE6MEPjs.StripeCustomerService; exports.StripeInvoice = _chunkG6UE6MEPjs.StripeInvoice; exports.StripeInvoiceModule = _chunkG6UE6MEPjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkG6UE6MEPjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkG6UE6MEPjs.StripePaymentMethodModule; exports.StripePrice = _chunkG6UE6MEPjs.StripePrice; exports.StripePriceFields = _chunkG6UE6MEPjs.StripePriceFields; exports.StripePriceModule = _chunkG6UE6MEPjs.StripePriceModule; exports.StripePriceService = _chunkG6UE6MEPjs.StripePriceService; exports.StripeProduct = _chunkG6UE6MEPjs.StripeProduct; exports.StripeProductFields = _chunkG6UE6MEPjs.StripeProductFields; exports.StripeProductModule = _chunkG6UE6MEPjs.StripeProductModule; exports.StripeProductService = _chunkG6UE6MEPjs.StripeProductService; exports.StripePromotionCode = _chunkG6UE6MEPjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkG6UE6MEPjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkG6UE6MEPjs.StripePromotionCodeService; exports.StripeSubscription = _chunkG6UE6MEPjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkG6UE6MEPjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkG6UE6MEPjs.StripeSubscriptionService; exports.StripeUsage = _chunkG6UE6MEPjs.StripeUsage; exports.StripeUsageModule = _chunkG6UE6MEPjs.StripeUsageModule; exports.StripeUsageService = _chunkG6UE6MEPjs.StripeUsageService; exports.SubscriptionStatus = _chunkG6UE6MEPjs.SubscriptionStatus; exports.TableOptions = _chunkG6UE6MEPjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkG6UE6MEPjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkG6UE6MEPjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkG6UE6MEPjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkG6UE6MEPjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkG6UE6MEPjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkG6UE6MEPjs.TotpSetup; exports.TotpSetupModule = _chunkG6UE6MEPjs.TotpSetupModule; exports.TotpVerify = _chunkG6UE6MEPjs.TotpVerify; exports.TotpVerifyLogin = _chunkG6UE6MEPjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkG6UE6MEPjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkG6UE6MEPjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkG6UE6MEPjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkG6UE6MEPjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkG6UE6MEPjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkG6UE6MEPjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkG6UE6MEPjs.TwoFactorService; exports.TwoFactorStatus = _chunkG6UE6MEPjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkG6UE6MEPjs.TwoFactorStatusModule; exports.User = _chunkG6UE6MEPjs.User; exports.UserFields = _chunkG6UE6MEPjs.UserFields; exports.UserModule = _chunkG6UE6MEPjs.UserModule; exports.UserService = _chunkG6UE6MEPjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkG6UE6MEPjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkG6UE6MEPjs.Waitlist; exports.WaitlistFields = _chunkG6UE6MEPjs.WaitlistFields; exports.WaitlistModule = _chunkG6UE6MEPjs.WaitlistModule; exports.WaitlistService = _chunkG6UE6MEPjs.WaitlistService; exports.WaitlistStats = _chunkG6UE6MEPjs.WaitlistStats; exports.WaitlistStatsModule = _chunkG6UE6MEPjs.WaitlistStatsModule; exports.analyticsModules = _chunkG6UE6MEPjs.analyticsModules; exports.checkPermissions = _chunkG6UE6MEPjs.checkPermissions; exports.checkPermissionsFromServer = _chunkG6UE6MEPjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkG6UE6MEPjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkG6UE6MEPjs.clearLastApiTotal; exports.cn = _chunkG6UE6MEPjs.cn; exports.composeRefs = _chunkG6UE6MEPjs.composeRefs; exports.configureTokenUsage = _chunkG6UE6MEPjs.configureTokenUsage; exports.createJsonApiInclusion = _chunkG6UE6MEPjs.createJsonApiInclusion; exports.dateFormatLocale = _chunkG6UE6MEPjs.dateFormatLocale; exports.dismissToast = _chunkG6UE6MEPjs.dismissToast; exports.entityObjectSchema = _chunkG6UE6MEPjs.entityObjectSchema; exports.exists = _chunkG6UE6MEPjs.exists; exports.formatCodiceFiscale = _chunkG6UE6MEPjs.formatCodiceFiscale; exports.formatDate = _chunkG6UE6MEPjs.formatDate; exports.formatLocalDate = _chunkG6UE6MEPjs.formatLocalDate; exports.formatPartitaIva = _chunkG6UE6MEPjs.formatPartitaIva; exports.getBootstrapper = _chunkGHE4VT2Rjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkG6UE6MEPjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkG6UE6MEPjs.getGlobalErrorHandler; exports.getIcon = _chunkG6UE6MEPjs.getIcon; exports.getIconByModule = _chunkG6UE6MEPjs.getIconByModule; exports.getIconByModuleName = _chunkG6UE6MEPjs.getIconByModuleName; exports.getInitials = _chunkG6UE6MEPjs.getInitials; exports.getLastApiMeta = _chunkG6UE6MEPjs.getLastApiMeta; exports.getLastApiTotal = _chunkG6UE6MEPjs.getLastApiTotal; exports.getLucideIcon = _chunkG6UE6MEPjs.getLucideIcon; exports.getLucideIconByModule = _chunkG6UE6MEPjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkG6UE6MEPjs.getLucideIconByModuleName; exports.getTableComponents = _chunkG6UE6MEPjs.getTableComponents; exports.getTableOptions = _chunkG6UE6MEPjs.getTableOptions; exports.getTokenUsageCurrency = _chunkG6UE6MEPjs.getTokenUsageCurrency; exports.getValueFromPath = _chunkG6UE6MEPjs.getValueFromPath; exports.handbookPageContent = _chunkG6UE6MEPjs.handbookPageContent; exports.handbookPageSummary = _chunkG6UE6MEPjs.handbookPageSummary; exports.handbookPageTitle = _chunkG6UE6MEPjs.handbookPageTitle; exports.handbookSectionSummary = _chunkG6UE6MEPjs.handbookSectionSummary; exports.handbookSectionTitle = _chunkG6UE6MEPjs.handbookSectionTitle; exports.hasBootstrapper = _chunkGHE4VT2Rjs.hasBootstrapper; exports.isRemoteImageSrc = _chunkG6UE6MEPjs.isRemoteImageSrc; exports.mergeMessages = _chunkG6UE6MEPjs.mergeMessages; exports.rehydrate = _chunkG6UE6MEPjs.rehydrate; exports.rehydrateList = _chunkG6UE6MEPjs.rehydrateList; exports.resetBootstrapStore = _chunkGHE4VT2Rjs.resetBootstrapStore; exports.setBootstrapper = _chunkGHE4VT2Rjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkG6UE6MEPjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkG6UE6MEPjs.setGlobalErrorHandler; exports.showCustomToast = _chunkG6UE6MEPjs.showCustomToast; exports.showError = _chunkG6UE6MEPjs.showError; exports.showToast = _chunkG6UE6MEPjs.showToast; exports.tokenUsageModules = _chunkG6UE6MEPjs.tokenUsageModules; exports.translateData = _chunkGHE4VT2Rjs.translateData; exports.translateResponse = _chunkGHE4VT2Rjs.translateResponse; exports.tryBootstrap = _chunkGHE4VT2Rjs.tryBootstrap; exports.useComposedRefs = _chunkG6UE6MEPjs.useComposedRefs; exports.useIsMobile = _chunkG6UE6MEPjs.useIsMobile; exports.userObjectSchema = _chunkG6UE6MEPjs.userObjectSchema; exports.validateCodiceFiscale = _chunkG6UE6MEPjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkG6UE6MEPjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkG6UE6MEPjs.validatePartitaIva;
558
+
559
+
560
+
561
+
562
+
563
+
564
+
565
+
566
+
567
+
568
+
569
+
570
+
571
+
572
+
573
+
574
+
575
+
576
+
577
+
578
+ exports.AVAILABLE_OAUTH_SCOPES = _chunk5TH2DSAHjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunk5TH2DSAHjs.AbstractApiData; exports.AbstractService = _chunk5TH2DSAHjs.AbstractService; exports.Action = _chunk5TH2DSAHjs.Action; exports.AiConnection = _chunk5TH2DSAHjs.AiConnection; exports.AiConnectionFields = _chunk5TH2DSAHjs.AiConnectionFields; exports.AiConnectionModule = _chunk5TH2DSAHjs.AiConnectionModule; exports.AiConnectionService = _chunk5TH2DSAHjs.AiConnectionService; exports.Assistant = _chunk5TH2DSAHjs.Assistant; exports.AssistantAction = _chunk5TH2DSAHjs.AssistantAction; exports.AssistantActionModule = _chunk5TH2DSAHjs.AssistantActionModule; exports.AssistantActionService = _chunk5TH2DSAHjs.AssistantActionService; exports.AssistantMessage = _chunk5TH2DSAHjs.AssistantMessage; exports.AssistantMessageModule = _chunk5TH2DSAHjs.AssistantMessageModule; exports.AssistantMessageService = _chunk5TH2DSAHjs.AssistantMessageService; exports.AssistantModule = _chunk5TH2DSAHjs.AssistantModule; exports.AssistantService = _chunk5TH2DSAHjs.AssistantService; exports.AuditLog = _chunk5TH2DSAHjs.AuditLog; exports.AuditLogModule = _chunk5TH2DSAHjs.AuditLogModule; exports.AuditLogService = _chunk5TH2DSAHjs.AuditLogService; exports.Auth = _chunk5TH2DSAHjs.Auth; exports.AuthComponent = _chunk5TH2DSAHjs.AuthComponent; exports.AuthModule = _chunk5TH2DSAHjs.AuthModule; exports.AuthService = _chunk5TH2DSAHjs.AuthService; exports.AuthorModule = _chunk5TH2DSAHjs.AuthorModule; exports.BackupCodeVerify = _chunk5TH2DSAHjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunk5TH2DSAHjs.BackupCodeVerifyModule; exports.Billing = _chunk5TH2DSAHjs.Billing; exports.BillingModule = _chunk5TH2DSAHjs.BillingModule; exports.BillingService = _chunk5TH2DSAHjs.BillingService; exports.BlockNoteDiffUtil = _chunk5TH2DSAHjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunk5TH2DSAHjs.BlockNoteWordDiffRendererUtil; exports.BlogCategory = _chunk5TH2DSAHjs.BlogCategory; exports.BlogCategoryFields = _chunk5TH2DSAHjs.BlogCategoryFields; exports.BlogCategoryModule = _chunk5TH2DSAHjs.BlogCategoryModule; exports.BlogCategoryService = _chunk5TH2DSAHjs.BlogCategoryService; exports.BlogCategoryTranslation = _chunk5TH2DSAHjs.BlogCategoryTranslation; exports.BlogCategoryTranslationModule = _chunk5TH2DSAHjs.BlogCategoryTranslationModule; exports.BlogCategoryTranslationService = _chunk5TH2DSAHjs.BlogCategoryTranslationService; exports.BlogPost = _chunk5TH2DSAHjs.BlogPost; exports.BlogPostFields = _chunk5TH2DSAHjs.BlogPostFields; exports.BlogPostModule = _chunk5TH2DSAHjs.BlogPostModule; exports.BlogPostService = _chunk5TH2DSAHjs.BlogPostService; exports.BlogPostTranslation = _chunk5TH2DSAHjs.BlogPostTranslation; exports.BlogPostTranslationModule = _chunk5TH2DSAHjs.BlogPostTranslationModule; exports.BlogPostTranslationService = _chunk5TH2DSAHjs.BlogPostTranslationService; exports.BlogSettings = _chunk5TH2DSAHjs.BlogSettings; exports.BlogSettingsModule = _chunk5TH2DSAHjs.BlogSettingsModule; exports.BlogSettingsService = _chunk5TH2DSAHjs.BlogSettingsService; exports.CURRENT_USER_STORAGE_KEY = _chunk5TH2DSAHjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunk5TH2DSAHjs.Chunk; exports.ChunkModule = _chunk5TH2DSAHjs.ChunkModule; exports.ClientAbstractService = _chunk5TH2DSAHjs.ClientAbstractService; exports.ClientHttpMethod = _chunk5TH2DSAHjs.ClientHttpMethod; exports.Company = _chunk5TH2DSAHjs.Company; exports.CompanyFields = _chunk5TH2DSAHjs.CompanyFields; exports.CompanyModule = _chunk5TH2DSAHjs.CompanyModule; exports.CompanyService = _chunk5TH2DSAHjs.CompanyService; exports.Content = _chunk5TH2DSAHjs.Content; exports.ContentFields = _chunk5TH2DSAHjs.ContentFields; exports.ContentModule = _chunk5TH2DSAHjs.ContentModule; exports.ContentService = _chunk5TH2DSAHjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunk5TH2DSAHjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkGHE4VT2Rjs.DataClassRegistry; exports.DataClassRegistry = _chunkGHE4VT2Rjs.DataClassRegistry; exports.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = _chunk5TH2DSAHjs.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE; exports.ENV = _chunkGHE4VT2Rjs.ENV; exports.EmailAutomation = _chunk5TH2DSAHjs.EmailAutomation; exports.EmailAutomationEnrollment = _chunk5TH2DSAHjs.EmailAutomationEnrollment; exports.EmailAutomationEnrollmentFields = _chunk5TH2DSAHjs.EmailAutomationEnrollmentFields; exports.EmailAutomationEnrollmentModule = _chunk5TH2DSAHjs.EmailAutomationEnrollmentModule; exports.EmailAutomationEnrollmentService = _chunk5TH2DSAHjs.EmailAutomationEnrollmentService; exports.EmailAutomationFields = _chunk5TH2DSAHjs.EmailAutomationFields; exports.EmailAutomationModule = _chunk5TH2DSAHjs.EmailAutomationModule; exports.EmailAutomationService = _chunk5TH2DSAHjs.EmailAutomationService; exports.EmailAutomationStep = _chunk5TH2DSAHjs.EmailAutomationStep; exports.EmailAutomationStepModule = _chunk5TH2DSAHjs.EmailAutomationStepModule; exports.EmailAutomationStepService = _chunk5TH2DSAHjs.EmailAutomationStepService; exports.EmailAutomationTrigger = _chunk5TH2DSAHjs.EmailAutomationTrigger; exports.EmailAutomationTriggerModule = _chunk5TH2DSAHjs.EmailAutomationTriggerModule; exports.EndpointCreator = _chunk5TH2DSAHjs.EndpointCreator; exports.EntityAiStatus = _chunk5TH2DSAHjs.EntityAiStatus; exports.Feature = _chunk5TH2DSAHjs.Feature; exports.FeatureModule = _chunk5TH2DSAHjs.FeatureModule; exports.FeatureService = _chunk5TH2DSAHjs.FeatureService; exports.HandbookPage = _chunk5TH2DSAHjs.HandbookPage; exports.HandbookPageFields = _chunk5TH2DSAHjs.HandbookPageFields; exports.HandbookPageModule = _chunk5TH2DSAHjs.HandbookPageModule; exports.HandbookPageService = _chunk5TH2DSAHjs.HandbookPageService; exports.HandbookSection = _chunk5TH2DSAHjs.HandbookSection; exports.HandbookSectionModule = _chunk5TH2DSAHjs.HandbookSectionModule; exports.HandbookSectionService = _chunk5TH2DSAHjs.HandbookSectionService; exports.HandbookThread = _chunk5TH2DSAHjs.HandbookThread; exports.HandbookThreadMessage = _chunk5TH2DSAHjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunk5TH2DSAHjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunk5TH2DSAHjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunk5TH2DSAHjs.HandbookThreadModule; exports.HandbookThreadService = _chunk5TH2DSAHjs.HandbookThreadService; exports.HowTo = _chunk5TH2DSAHjs.HowTo; exports.HowToFields = _chunk5TH2DSAHjs.HowToFields; exports.HowToModule = _chunk5TH2DSAHjs.HowToModule; exports.HowToService = _chunk5TH2DSAHjs.HowToService; exports.HttpMethod = _chunk5TH2DSAHjs.HttpMethod; exports.InvoiceStatus = _chunk5TH2DSAHjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkGHE4VT2Rjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunk5TH2DSAHjs.MOBILE_BREAKPOINT; exports.Module = _chunk5TH2DSAHjs.Module; exports.ModuleModule = _chunk5TH2DSAHjs.ModuleModule; exports.ModulePathsModule = _chunk5TH2DSAHjs.ModulePathsModule; exports.ModuleRegistrar = _chunk5TH2DSAHjs.ModuleRegistrar; exports.ModuleRegistry = _chunk5TH2DSAHjs.ModuleRegistry; exports.Modules = _chunk5TH2DSAHjs.Modules; exports.Notification = _chunk5TH2DSAHjs.Notification; exports.NotificationFields = _chunk5TH2DSAHjs.NotificationFields; exports.NotificationModule = _chunk5TH2DSAHjs.NotificationModule; exports.NotificationService = _chunk5TH2DSAHjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunk5TH2DSAHjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunk5TH2DSAHjs.OAuthClient; exports.OAuthModule = _chunk5TH2DSAHjs.OAuthModule; exports.OAuthService = _chunk5TH2DSAHjs.OAuthService; exports.Passkey = _chunk5TH2DSAHjs.Passkey; exports.PasskeyAuthenticationOptions = _chunk5TH2DSAHjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunk5TH2DSAHjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunk5TH2DSAHjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunk5TH2DSAHjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunk5TH2DSAHjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunk5TH2DSAHjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunk5TH2DSAHjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunk5TH2DSAHjs.PasskeyRename; exports.PasskeyRenameModule = _chunk5TH2DSAHjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunk5TH2DSAHjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunk5TH2DSAHjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunk5TH2DSAHjs.PaymentMethod; exports.PermissionMappingModule = _chunk5TH2DSAHjs.PermissionMappingModule; exports.Push = _chunk5TH2DSAHjs.Push; exports.PushModule = _chunk5TH2DSAHjs.PushModule; exports.PushService = _chunk5TH2DSAHjs.PushService; exports.RbacMatrixModule = _chunk5TH2DSAHjs.RbacMatrixModule; exports.ReferralModule = _chunk5TH2DSAHjs.ReferralModule; exports.ReferralService = _chunk5TH2DSAHjs.ReferralService; exports.ReferralStats = _chunk5TH2DSAHjs.ReferralStats; exports.ReferralStatsModule = _chunk5TH2DSAHjs.ReferralStatsModule; exports.RehydrationFactory = _chunk5TH2DSAHjs.RehydrationFactory; exports.Role = _chunk5TH2DSAHjs.Role; exports.RoleFields = _chunk5TH2DSAHjs.RoleFields; exports.RoleModule = _chunk5TH2DSAHjs.RoleModule; exports.RoleService = _chunk5TH2DSAHjs.RoleService; exports.S3 = _chunk5TH2DSAHjs.S3; exports.S3Module = _chunk5TH2DSAHjs.S3Module; exports.S3Service = _chunk5TH2DSAHjs.S3Service; exports.STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT = _chunk5TH2DSAHjs.STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT; exports.STRIPE_COUPON_DETAIL_PAGE_URL = _chunk5TH2DSAHjs.STRIPE_COUPON_DETAIL_PAGE_URL; exports.STRIPE_COUPON_REFRESH_SEGMENT = _chunk5TH2DSAHjs.STRIPE_COUPON_REFRESH_SEGMENT; exports.StripeCoupon = _chunk5TH2DSAHjs.StripeCoupon; exports.StripeCouponCode = _chunk5TH2DSAHjs.StripeCouponCode; exports.StripeCouponCodeFields = _chunk5TH2DSAHjs.StripeCouponCodeFields; exports.StripeCouponCodeModule = _chunk5TH2DSAHjs.StripeCouponCodeModule; exports.StripeCouponCodeService = _chunk5TH2DSAHjs.StripeCouponCodeService; exports.StripeCouponFields = _chunk5TH2DSAHjs.StripeCouponFields; exports.StripeCouponModule = _chunk5TH2DSAHjs.StripeCouponModule; exports.StripeCouponOffer = _chunk5TH2DSAHjs.StripeCouponOffer; exports.StripeCouponOfferModule = _chunk5TH2DSAHjs.StripeCouponOfferModule; exports.StripeCouponService = _chunk5TH2DSAHjs.StripeCouponService; exports.StripeCustomer = _chunk5TH2DSAHjs.StripeCustomer; exports.StripeCustomerModule = _chunk5TH2DSAHjs.StripeCustomerModule; exports.StripeCustomerService = _chunk5TH2DSAHjs.StripeCustomerService; exports.StripeInvoice = _chunk5TH2DSAHjs.StripeInvoice; exports.StripeInvoiceModule = _chunk5TH2DSAHjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunk5TH2DSAHjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunk5TH2DSAHjs.StripePaymentMethodModule; exports.StripePrice = _chunk5TH2DSAHjs.StripePrice; exports.StripePriceFields = _chunk5TH2DSAHjs.StripePriceFields; exports.StripePriceModule = _chunk5TH2DSAHjs.StripePriceModule; exports.StripePriceService = _chunk5TH2DSAHjs.StripePriceService; exports.StripeProduct = _chunk5TH2DSAHjs.StripeProduct; exports.StripeProductFields = _chunk5TH2DSAHjs.StripeProductFields; exports.StripeProductModule = _chunk5TH2DSAHjs.StripeProductModule; exports.StripeProductService = _chunk5TH2DSAHjs.StripeProductService; exports.StripePromotionCode = _chunk5TH2DSAHjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunk5TH2DSAHjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunk5TH2DSAHjs.StripePromotionCodeService; exports.StripeSubscription = _chunk5TH2DSAHjs.StripeSubscription; exports.StripeSubscriptionModule = _chunk5TH2DSAHjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunk5TH2DSAHjs.StripeSubscriptionService; exports.StripeUsage = _chunk5TH2DSAHjs.StripeUsage; exports.StripeUsageModule = _chunk5TH2DSAHjs.StripeUsageModule; exports.StripeUsageService = _chunk5TH2DSAHjs.StripeUsageService; exports.SubscriptionStatus = _chunk5TH2DSAHjs.SubscriptionStatus; exports.TableOptions = _chunk5TH2DSAHjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunk5TH2DSAHjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunk5TH2DSAHjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunk5TH2DSAHjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunk5TH2DSAHjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunk5TH2DSAHjs.TotpAuthenticatorModule; exports.TotpSetup = _chunk5TH2DSAHjs.TotpSetup; exports.TotpSetupModule = _chunk5TH2DSAHjs.TotpSetupModule; exports.TotpVerify = _chunk5TH2DSAHjs.TotpVerify; exports.TotpVerifyLogin = _chunk5TH2DSAHjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunk5TH2DSAHjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunk5TH2DSAHjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunk5TH2DSAHjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunk5TH2DSAHjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunk5TH2DSAHjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunk5TH2DSAHjs.TwoFactorEnableModule; exports.TwoFactorService = _chunk5TH2DSAHjs.TwoFactorService; exports.TwoFactorStatus = _chunk5TH2DSAHjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunk5TH2DSAHjs.TwoFactorStatusModule; exports.User = _chunk5TH2DSAHjs.User; exports.UserFields = _chunk5TH2DSAHjs.UserFields; exports.UserModule = _chunk5TH2DSAHjs.UserModule; exports.UserService = _chunk5TH2DSAHjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunk5TH2DSAHjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunk5TH2DSAHjs.Waitlist; exports.WaitlistFields = _chunk5TH2DSAHjs.WaitlistFields; exports.WaitlistModule = _chunk5TH2DSAHjs.WaitlistModule; exports.WaitlistService = _chunk5TH2DSAHjs.WaitlistService; exports.WaitlistStats = _chunk5TH2DSAHjs.WaitlistStats; exports.WaitlistStatsModule = _chunk5TH2DSAHjs.WaitlistStatsModule; exports.analyticsModules = _chunk5TH2DSAHjs.analyticsModules; exports.checkPermissions = _chunk5TH2DSAHjs.checkPermissions; exports.checkPermissionsFromServer = _chunk5TH2DSAHjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunk5TH2DSAHjs.clearLastApiMeta; exports.clearLastApiTotal = _chunk5TH2DSAHjs.clearLastApiTotal; exports.cn = _chunk5TH2DSAHjs.cn; exports.composeRefs = _chunk5TH2DSAHjs.composeRefs; exports.configureTokenUsage = _chunk5TH2DSAHjs.configureTokenUsage; exports.couponPlacesLeft = _chunk5TH2DSAHjs.couponPlacesLeft; exports.couponPlacesTotal = _chunk5TH2DSAHjs.couponPlacesTotal; exports.createJsonApiInclusion = _chunk5TH2DSAHjs.createJsonApiInclusion; exports.dateFormatLocale = _chunk5TH2DSAHjs.dateFormatLocale; exports.dismissToast = _chunk5TH2DSAHjs.dismissToast; exports.entityObjectSchema = _chunk5TH2DSAHjs.entityObjectSchema; exports.exists = _chunk5TH2DSAHjs.exists; exports.formatCodiceFiscale = _chunk5TH2DSAHjs.formatCodiceFiscale; exports.formatCouponDiscount = _chunk5TH2DSAHjs.formatCouponDiscount; exports.formatCurrency = _chunk5TH2DSAHjs.formatCurrency; exports.formatDate = _chunk5TH2DSAHjs.formatDate; exports.formatFixed = _chunk5TH2DSAHjs.formatFixed; exports.formatInterval = _chunk5TH2DSAHjs.formatInterval; exports.formatLocalDate = _chunk5TH2DSAHjs.formatLocalDate; exports.formatPartitaIva = _chunk5TH2DSAHjs.formatPartitaIva; exports.getBootstrapper = _chunkGHE4VT2Rjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunk5TH2DSAHjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunk5TH2DSAHjs.getGlobalErrorHandler; exports.getIcon = _chunk5TH2DSAHjs.getIcon; exports.getIconByModule = _chunk5TH2DSAHjs.getIconByModule; exports.getIconByModuleName = _chunk5TH2DSAHjs.getIconByModuleName; exports.getInitials = _chunk5TH2DSAHjs.getInitials; exports.getLastApiMeta = _chunk5TH2DSAHjs.getLastApiMeta; exports.getLastApiTotal = _chunk5TH2DSAHjs.getLastApiTotal; exports.getLucideIcon = _chunk5TH2DSAHjs.getLucideIcon; exports.getLucideIconByModule = _chunk5TH2DSAHjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunk5TH2DSAHjs.getLucideIconByModuleName; exports.getTableComponents = _chunk5TH2DSAHjs.getTableComponents; exports.getTableOptions = _chunk5TH2DSAHjs.getTableOptions; exports.getTokenUsageCurrency = _chunk5TH2DSAHjs.getTokenUsageCurrency; exports.getValueFromPath = _chunk5TH2DSAHjs.getValueFromPath; exports.handbookPageContent = _chunk5TH2DSAHjs.handbookPageContent; exports.handbookPageSummary = _chunk5TH2DSAHjs.handbookPageSummary; exports.handbookPageTitle = _chunk5TH2DSAHjs.handbookPageTitle; exports.handbookSectionSummary = _chunk5TH2DSAHjs.handbookSectionSummary; exports.handbookSectionTitle = _chunk5TH2DSAHjs.handbookSectionTitle; exports.hasBootstrapper = _chunkGHE4VT2Rjs.hasBootstrapper; exports.isRemoteImageSrc = _chunk5TH2DSAHjs.isRemoteImageSrc; exports.mergeMessages = _chunk5TH2DSAHjs.mergeMessages; exports.rehydrate = _chunk5TH2DSAHjs.rehydrate; exports.rehydrateList = _chunk5TH2DSAHjs.rehydrateList; exports.resetBootstrapStore = _chunkGHE4VT2Rjs.resetBootstrapStore; exports.setBootstrapper = _chunkGHE4VT2Rjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunk5TH2DSAHjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunk5TH2DSAHjs.setGlobalErrorHandler; exports.showCustomToast = _chunk5TH2DSAHjs.showCustomToast; exports.showError = _chunk5TH2DSAHjs.showError; exports.showToast = _chunk5TH2DSAHjs.showToast; exports.toPromotionCodeResult = _chunk5TH2DSAHjs.toPromotionCodeResult; exports.tokenUsageModules = _chunk5TH2DSAHjs.tokenUsageModules; exports.translateData = _chunkGHE4VT2Rjs.translateData; exports.translateResponse = _chunkGHE4VT2Rjs.translateResponse; exports.tryBootstrap = _chunkGHE4VT2Rjs.tryBootstrap; exports.useComposedRefs = _chunk5TH2DSAHjs.useComposedRefs; exports.useIsMobile = _chunk5TH2DSAHjs.useIsMobile; exports.userObjectSchema = _chunk5TH2DSAHjs.userObjectSchema; exports.validateCodiceFiscale = _chunk5TH2DSAHjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunk5TH2DSAHjs.validateItalianTaxCode; exports.validatePartitaIva = _chunk5TH2DSAHjs.validatePartitaIva;
539
579
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,uDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;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;AACF,22gBAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"}
1
+ {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,uDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;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;AACF,6tjBAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"}
@@ -145,6 +145,19 @@ import {
145
145
  S3,
146
146
  S3Module,
147
147
  S3Service,
148
+ STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT,
149
+ STRIPE_COUPON_DETAIL_PAGE_URL,
150
+ STRIPE_COUPON_REFRESH_SEGMENT,
151
+ StripeCoupon,
152
+ StripeCouponCode,
153
+ StripeCouponCodeFields,
154
+ StripeCouponCodeModule,
155
+ StripeCouponCodeService,
156
+ StripeCouponFields,
157
+ StripeCouponModule,
158
+ StripeCouponOffer,
159
+ StripeCouponOfferModule,
160
+ StripeCouponService,
148
161
  StripeCustomer,
149
162
  StripeCustomerModule,
150
163
  StripeCustomerService,
@@ -208,13 +221,19 @@ import {
208
221
  cn,
209
222
  composeRefs,
210
223
  configureTokenUsage,
224
+ couponPlacesLeft,
225
+ couponPlacesTotal,
211
226
  createJsonApiInclusion,
212
227
  dateFormatLocale,
213
228
  dismissToast,
214
229
  entityObjectSchema,
215
230
  exists,
216
231
  formatCodiceFiscale,
232
+ formatCouponDiscount,
233
+ formatCurrency,
217
234
  formatDate,
235
+ formatFixed,
236
+ formatInterval,
218
237
  formatLocalDate,
219
238
  formatPartitaIva,
220
239
  getClientGlobalErrorHandler,
@@ -246,6 +265,7 @@ import {
246
265
  showCustomToast,
247
266
  showError,
248
267
  showToast,
268
+ toPromotionCodeResult,
249
269
  tokenUsageModules,
250
270
  useComposedRefs,
251
271
  useIsMobile,
@@ -253,7 +273,7 @@ import {
253
273
  validateCodiceFiscale,
254
274
  validateItalianTaxCode,
255
275
  validatePartitaIva
256
- } from "../chunk-VC5A3AUZ.mjs";
276
+ } from "../chunk-FK26NX3S.mjs";
257
277
  import {
258
278
  DataClassRegistry,
259
279
  ENV,
@@ -420,6 +440,19 @@ export {
420
440
  S3,
421
441
  S3Module,
422
442
  S3Service,
443
+ STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT,
444
+ STRIPE_COUPON_DETAIL_PAGE_URL,
445
+ STRIPE_COUPON_REFRESH_SEGMENT,
446
+ StripeCoupon,
447
+ StripeCouponCode,
448
+ StripeCouponCodeFields,
449
+ StripeCouponCodeModule,
450
+ StripeCouponCodeService,
451
+ StripeCouponFields,
452
+ StripeCouponModule,
453
+ StripeCouponOffer,
454
+ StripeCouponOfferModule,
455
+ StripeCouponService,
423
456
  StripeCustomer,
424
457
  StripeCustomerModule,
425
458
  StripeCustomerService,
@@ -483,13 +516,19 @@ export {
483
516
  cn,
484
517
  composeRefs,
485
518
  configureTokenUsage,
519
+ couponPlacesLeft,
520
+ couponPlacesTotal,
486
521
  createJsonApiInclusion,
487
522
  dateFormatLocale,
488
523
  dismissToast,
489
524
  entityObjectSchema,
490
525
  exists,
491
526
  formatCodiceFiscale,
527
+ formatCouponDiscount,
528
+ formatCurrency,
492
529
  formatDate,
530
+ formatFixed,
531
+ formatInterval,
493
532
  formatLocalDate,
494
533
  formatPartitaIva,
495
534
  getBootstrapper,
@@ -525,6 +564,7 @@ export {
525
564
  showCustomToast,
526
565
  showError,
527
566
  showToast,
567
+ toPromotionCodeResult,
528
568
  tokenUsageModules,
529
569
  translateData,
530
570
  translateResponse,
@@ -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,129 @@ 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[];
272
+ }
273
+ /** The discount of a new coupon: a percentage, or a fixed amount in one currency. */
274
+ type StripeCouponDiscountInput = {
275
+ discountType: "percent_off";
276
+ percentOff: number;
277
+ } | {
278
+ discountType: "amount_off";
279
+ amountOff: number;
280
+ currency: string;
281
+ };
282
+ /** How long a new coupon's discount lasts: months only when it repeats. */
283
+ type StripeCouponDurationInput = {
284
+ duration: "once";
285
+ } | {
286
+ duration: "forever";
287
+ } | {
288
+ duration: "repeating";
289
+ durationInMonths: number;
290
+ };
291
+ type StripeCouponInput = {
292
+ id: string;
293
+ name: string;
294
+ stripeCouponId?: string;
295
+ productIds?: string[];
296
+ redeemBy?: Date;
297
+ maxRedemptions?: number;
298
+ firstCode: Omit<StripeCouponCodeInput, "id" | "couponId">;
299
+ } & StripeCouponDiscountInput & StripeCouponDurationInput;
300
+ type StripeCouponRenameInput = {
301
+ id: string;
302
+ name: string;
303
+ };
304
+
305
+ interface StripeCouponCodeInterface extends ApiDataInterface {
306
+ get stripePromotionCodeId(): string;
307
+ get code(): string;
308
+ get active(): boolean;
309
+ get automatic(): boolean;
310
+ get firstTimeTransaction(): boolean;
311
+ get minimumAmount(): number | undefined;
312
+ get minimumAmountCurrency(): string | undefined;
313
+ get stripeCustomerId(): string | undefined;
314
+ get expiresAt(): Date | undefined;
315
+ get maxRedemptions(): number | undefined;
316
+ get timesRedeemed(): number;
317
+ get coupon(): StripeCouponInterface | undefined;
238
318
  }
319
+ type StripeCouponCodeInput = {
320
+ id: string;
321
+ couponId: string;
322
+ code?: string;
323
+ firstTimeTransaction?: boolean;
324
+ minimumAmount?: number;
325
+ minimumAmountCurrency?: string;
326
+ stripeCustomerId?: string;
327
+ expiresAt?: Date;
328
+ maxRedemptions?: number;
329
+ automatic?: boolean;
330
+ };
331
+ type StripeCouponCodeFlagsInput = {
332
+ id: string;
333
+ active?: boolean;
334
+ automatic?: boolean;
335
+ };
336
+
337
+ /** A message translator, as returned by `useTranslations()`. */
338
+ type BillingTranslator = (key: string, values?: Record<string, any>) => string;
339
+ /**
340
+ * What the billing formatters need from the caller's React context. The
341
+ * formatters are plain functions and cannot call hooks, so a component reads
342
+ * `useI18nLocale()` and `useTranslations()` and passes both here.
343
+ *
344
+ * Both are optional so existing callers keep their output: without a `locale`
345
+ * the formatters use "en-US", without `t` they return the English literals they
346
+ * always returned.
347
+ */
348
+ type BillingFormatOptions = {
349
+ /** BCP 47 locale for `Intl` (the app's active locale, from `useI18nLocale()`). */
350
+ locale?: string;
351
+ /** Translator for the words the formatters emit. */
352
+ t?: BillingTranslator;
353
+ };
354
+
355
+ /**
356
+ * Format price recurring interval for display
357
+ * @param price - Stripe price object
358
+ * @param options - `t` translates the interval words; without it the output is English
359
+ * @returns Formatted interval string (e.g., "/month", "/year", "/2 weeks", "one-time")
360
+ */
361
+ declare function formatInterval(price: StripePriceInterface, options?: BillingFormatOptions): string;
362
+ /**
363
+ * Format currency amount from cents to localized currency string
364
+ * @param amount - Amount in cents
365
+ * @param currency - Currency code (e.g., "USD", "EUR", "GBP")
366
+ * @param options - `locale` drives number formatting; defaults to "en-US"
367
+ * @returns Formatted currency string (e.g., "$9.99", "€9,99")
368
+ */
369
+ declare function formatCurrency(amount: number | undefined, currency: string, options?: BillingFormatOptions): string;
370
+ /**
371
+ * `value.toFixed(digits)` with the locale's decimal separator ("12.5" in English,
372
+ * "12,5" in Italian). No grouping, so English output matches `toFixed` exactly.
373
+ */
374
+ declare function formatFixed(value: number, locale: string | undefined, digits: number): string;
239
375
 
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 };
376
+ export { type StripeCouponCodeInput as A, type StripeCouponCodeFlagsInput as B, formatInterval as C, formatCurrency as D, formatFixed as E, type BillingFormatOptions as F, type BillingTranslator as G, 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 StripeCouponDiscountInput as v, type StripeCouponDurationInput as w, type StripeCouponInput as x, type StripeCouponRenameInput as y, type StripeCouponCodeInterface 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,129 @@ 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[];
272
+ }
273
+ /** The discount of a new coupon: a percentage, or a fixed amount in one currency. */
274
+ type StripeCouponDiscountInput = {
275
+ discountType: "percent_off";
276
+ percentOff: number;
277
+ } | {
278
+ discountType: "amount_off";
279
+ amountOff: number;
280
+ currency: string;
281
+ };
282
+ /** How long a new coupon's discount lasts: months only when it repeats. */
283
+ type StripeCouponDurationInput = {
284
+ duration: "once";
285
+ } | {
286
+ duration: "forever";
287
+ } | {
288
+ duration: "repeating";
289
+ durationInMonths: number;
290
+ };
291
+ type StripeCouponInput = {
292
+ id: string;
293
+ name: string;
294
+ stripeCouponId?: string;
295
+ productIds?: string[];
296
+ redeemBy?: Date;
297
+ maxRedemptions?: number;
298
+ firstCode: Omit<StripeCouponCodeInput, "id" | "couponId">;
299
+ } & StripeCouponDiscountInput & StripeCouponDurationInput;
300
+ type StripeCouponRenameInput = {
301
+ id: string;
302
+ name: string;
303
+ };
304
+
305
+ interface StripeCouponCodeInterface extends ApiDataInterface {
306
+ get stripePromotionCodeId(): string;
307
+ get code(): string;
308
+ get active(): boolean;
309
+ get automatic(): boolean;
310
+ get firstTimeTransaction(): boolean;
311
+ get minimumAmount(): number | undefined;
312
+ get minimumAmountCurrency(): string | undefined;
313
+ get stripeCustomerId(): string | undefined;
314
+ get expiresAt(): Date | undefined;
315
+ get maxRedemptions(): number | undefined;
316
+ get timesRedeemed(): number;
317
+ get coupon(): StripeCouponInterface | undefined;
238
318
  }
319
+ type StripeCouponCodeInput = {
320
+ id: string;
321
+ couponId: string;
322
+ code?: string;
323
+ firstTimeTransaction?: boolean;
324
+ minimumAmount?: number;
325
+ minimumAmountCurrency?: string;
326
+ stripeCustomerId?: string;
327
+ expiresAt?: Date;
328
+ maxRedemptions?: number;
329
+ automatic?: boolean;
330
+ };
331
+ type StripeCouponCodeFlagsInput = {
332
+ id: string;
333
+ active?: boolean;
334
+ automatic?: boolean;
335
+ };
336
+
337
+ /** A message translator, as returned by `useTranslations()`. */
338
+ type BillingTranslator = (key: string, values?: Record<string, any>) => string;
339
+ /**
340
+ * What the billing formatters need from the caller's React context. The
341
+ * formatters are plain functions and cannot call hooks, so a component reads
342
+ * `useI18nLocale()` and `useTranslations()` and passes both here.
343
+ *
344
+ * Both are optional so existing callers keep their output: without a `locale`
345
+ * the formatters use "en-US", without `t` they return the English literals they
346
+ * always returned.
347
+ */
348
+ type BillingFormatOptions = {
349
+ /** BCP 47 locale for `Intl` (the app's active locale, from `useI18nLocale()`). */
350
+ locale?: string;
351
+ /** Translator for the words the formatters emit. */
352
+ t?: BillingTranslator;
353
+ };
354
+
355
+ /**
356
+ * Format price recurring interval for display
357
+ * @param price - Stripe price object
358
+ * @param options - `t` translates the interval words; without it the output is English
359
+ * @returns Formatted interval string (e.g., "/month", "/year", "/2 weeks", "one-time")
360
+ */
361
+ declare function formatInterval(price: StripePriceInterface, options?: BillingFormatOptions): string;
362
+ /**
363
+ * Format currency amount from cents to localized currency string
364
+ * @param amount - Amount in cents
365
+ * @param currency - Currency code (e.g., "USD", "EUR", "GBP")
366
+ * @param options - `locale` drives number formatting; defaults to "en-US"
367
+ * @returns Formatted currency string (e.g., "$9.99", "€9,99")
368
+ */
369
+ declare function formatCurrency(amount: number | undefined, currency: string, options?: BillingFormatOptions): string;
370
+ /**
371
+ * `value.toFixed(digits)` with the locale's decimal separator ("12.5" in English,
372
+ * "12,5" in Italian). No grouping, so English output matches `toFixed` exactly.
373
+ */
374
+ declare function formatFixed(value: number, locale: string | undefined, digits: number): string;
239
375
 
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 };
376
+ export { type StripeCouponCodeInput as A, type StripeCouponCodeFlagsInput as B, formatInterval as C, formatCurrency as D, formatFixed as E, type BillingFormatOptions as F, type BillingTranslator as G, 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 StripeCouponDiscountInput as v, type StripeCouponDurationInput as w, type StripeCouponInput as x, type StripeCouponRenameInput as y, type StripeCouponCodeInterface as z };