@carlonicora/nextjs-jsonapi 3.24.0 → 3.24.1

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 (58) hide show
  1. package/dist/{BlockNoteEditor-PTD2V4CH.js → BlockNoteEditor-7I7PL3KS.js} +19 -19
  2. package/dist/{BlockNoteEditor-PTD2V4CH.js.map → BlockNoteEditor-7I7PL3KS.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-Q2WEDMKJ.mjs → BlockNoteEditor-BNS3U3CP.mjs} +4 -4
  4. package/dist/{BlockNoteViewer-WO6GTDSI.mjs → BlockNoteViewer-THOJS3OG.mjs} +2 -2
  5. package/dist/{BlockNoteViewer-WOXEJ6RM.js → BlockNoteViewer-UCWWHBTZ.js} +3 -3
  6. package/dist/{BlockNoteViewer-WOXEJ6RM.js.map → BlockNoteViewer-UCWWHBTZ.js.map} +1 -1
  7. package/dist/billing/index.d.mts +57 -2
  8. package/dist/billing/index.d.ts +57 -2
  9. package/dist/billing/index.js +406 -401
  10. package/dist/billing/index.js.map +1 -1
  11. package/dist/billing/index.mjs +8 -3
  12. package/dist/{chunk-GJHKOG5L.mjs → chunk-6R45U3GH.mjs} +7 -7
  13. package/dist/chunk-6R45U3GH.mjs.map +1 -0
  14. package/dist/{chunk-3D2MCVRZ.js → chunk-7EFTSFZO.js} +7 -7
  15. package/dist/{chunk-3D2MCVRZ.js.map → chunk-7EFTSFZO.js.map} +1 -1
  16. package/dist/{chunk-3YJF7QY4.js → chunk-7XD2BJN6.js} +826 -826
  17. package/dist/{chunk-3YJF7QY4.js.map → chunk-7XD2BJN6.js.map} +1 -1
  18. package/dist/{chunk-IV4DTYXN.js → chunk-WRMTBKSN.js} +9 -3
  19. package/dist/chunk-WRMTBKSN.js.map +1 -0
  20. package/dist/{chunk-HAI7G6MD.mjs → chunk-Z7KPVKWV.mjs} +2 -2
  21. package/dist/{chunk-2O3SFHQ7.mjs → chunk-ZE5ZUY6Y.mjs} +9 -3
  22. package/dist/chunk-ZE5ZUY6Y.mjs.map +1 -0
  23. package/dist/client/index.js +4 -4
  24. package/dist/client/index.mjs +3 -3
  25. package/dist/components/index.js +4 -4
  26. package/dist/components/index.mjs +3 -3
  27. package/dist/contexts/index.js +4 -4
  28. package/dist/contexts/index.mjs +3 -3
  29. package/dist/core/index.d.mts +2 -2
  30. package/dist/core/index.d.ts +2 -2
  31. package/dist/core/index.js +2 -2
  32. package/dist/core/index.mjs +1 -1
  33. package/dist/features/help/index.js +37 -37
  34. package/dist/features/help/index.mjs +3 -3
  35. package/dist/features/tokenusage/index.js +101 -101
  36. package/dist/features/tokenusage/index.mjs +3 -3
  37. package/dist/index.d.mts +1 -1
  38. package/dist/index.d.ts +1 -1
  39. package/dist/index.js +3 -3
  40. package/dist/index.mjs +2 -2
  41. package/dist/{s3.service-DJHqEZAp.d.ts → s3.service-Bqr-fQmi.d.ts} +1 -0
  42. package/dist/{s3.service-DaRFLnrX.d.mts → s3.service-Buiy1ncj.d.mts} +1 -0
  43. package/dist/server/index.d.mts +1 -1
  44. package/dist/server/index.d.ts +1 -1
  45. package/dist/server/index.js +3 -3
  46. package/dist/server/index.mjs +1 -1
  47. package/package.json +1 -1
  48. package/src/features/billing/stripe-customer/data/stripe-customer.service.ts +5 -0
  49. package/src/features/billing/stripe-subscription/components/index.ts +1 -0
  50. package/src/features/notification/contexts/NotificationContext.tsx +5 -2
  51. package/src/features/notification/contexts/__tests__/NotificationContext.spec.tsx +32 -0
  52. package/src/features/notification/data/notification.service.ts +6 -1
  53. package/dist/chunk-2O3SFHQ7.mjs.map +0 -1
  54. package/dist/chunk-GJHKOG5L.mjs.map +0 -1
  55. package/dist/chunk-IV4DTYXN.js.map +0 -1
  56. /package/dist/{BlockNoteEditor-Q2WEDMKJ.mjs.map → BlockNoteEditor-BNS3U3CP.mjs.map} +0 -0
  57. /package/dist/{BlockNoteViewer-WO6GTDSI.mjs.map → BlockNoteViewer-THOJS3OG.mjs.map} +0 -0
  58. /package/dist/{chunk-HAI7G6MD.mjs.map → chunk-Z7KPVKWV.mjs.map} +0 -0
package/dist/index.js CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
 
20
20
 
21
- var _chunk3D2MCVRZjs = require('./chunk-3D2MCVRZ.js');
21
+ var _chunk7EFTSFZOjs = require('./chunk-7EFTSFZO.js');
22
22
 
23
23
 
24
24
 
@@ -244,7 +244,7 @@ var _chunk3D2MCVRZjs = require('./chunk-3D2MCVRZ.js');
244
244
 
245
245
 
246
246
 
247
- var _chunkIV4DTYXNjs = require('./chunk-IV4DTYXN.js');
247
+ var _chunkWRMTBKSNjs = require('./chunk-WRMTBKSN.js');
248
248
  require('./chunk-LXKSUWAV.js');
249
249
  require('./chunk-IBS6NI7D.js');
250
250
 
@@ -515,5 +515,5 @@ require('./chunk-7QVYU63E.js');
515
515
 
516
516
 
517
517
 
518
- exports.ACTION_TYPES = _chunk3D2MCVRZjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkIV4DTYXNjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkIV4DTYXNjs.AbstractApiData; exports.AbstractService = _chunkIV4DTYXNjs.AbstractService; exports.Action = _chunkIV4DTYXNjs.Action; exports.AiConnection = _chunkIV4DTYXNjs.AiConnection; exports.AiConnectionFields = _chunkIV4DTYXNjs.AiConnectionFields; exports.AiConnectionModule = _chunkIV4DTYXNjs.AiConnectionModule; exports.AiConnectionService = _chunkIV4DTYXNjs.AiConnectionService; exports.Assistant = _chunkIV4DTYXNjs.Assistant; exports.AssistantAction = _chunkIV4DTYXNjs.AssistantAction; exports.AssistantActionModule = _chunkIV4DTYXNjs.AssistantActionModule; exports.AssistantActionService = _chunkIV4DTYXNjs.AssistantActionService; exports.AssistantMessage = _chunkIV4DTYXNjs.AssistantMessage; exports.AssistantMessageModule = _chunkIV4DTYXNjs.AssistantMessageModule; exports.AssistantMessageService = _chunkIV4DTYXNjs.AssistantMessageService; exports.AssistantModule = _chunkIV4DTYXNjs.AssistantModule; exports.AssistantService = _chunkIV4DTYXNjs.AssistantService; exports.AuditLog = _chunkIV4DTYXNjs.AuditLog; exports.AuditLogModule = _chunkIV4DTYXNjs.AuditLogModule; exports.AuditLogService = _chunkIV4DTYXNjs.AuditLogService; exports.Auth = _chunkIV4DTYXNjs.Auth; exports.AuthComponent = _chunkIV4DTYXNjs.AuthComponent; exports.AuthModule = _chunkIV4DTYXNjs.AuthModule; exports.AuthService = _chunkIV4DTYXNjs.AuthService; exports.AuthorModule = _chunkIV4DTYXNjs.AuthorModule; exports.BackupCodeVerify = _chunkIV4DTYXNjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkIV4DTYXNjs.BackupCodeVerifyModule; exports.Billing = _chunkIV4DTYXNjs.Billing; exports.BillingModule = _chunkIV4DTYXNjs.BillingModule; exports.BillingService = _chunkIV4DTYXNjs.BillingService; exports.BlockNoteDiffUtil = _chunkIV4DTYXNjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkIV4DTYXNjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunk3D2MCVRZjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.CURRENT_USER_STORAGE_KEY = _chunkIV4DTYXNjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkIV4DTYXNjs.Chunk; exports.ChunkModule = _chunkIV4DTYXNjs.ChunkModule; exports.ClientAbstractService = _chunkIV4DTYXNjs.ClientAbstractService; exports.ClientHttpMethod = _chunkIV4DTYXNjs.ClientHttpMethod; exports.Company = _chunkIV4DTYXNjs.Company; exports.CompanyFields = _chunkIV4DTYXNjs.CompanyFields; exports.CompanyModule = _chunkIV4DTYXNjs.CompanyModule; exports.CompanyService = _chunkIV4DTYXNjs.CompanyService; exports.Content = _chunkIV4DTYXNjs.Content; exports.ContentFields = _chunkIV4DTYXNjs.ContentFields; exports.ContentModule = _chunkIV4DTYXNjs.ContentModule; exports.ContentService = _chunkIV4DTYXNjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkIV4DTYXNjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkLU7DJ4QFjs.DataClassRegistry; exports.DataClassRegistry = _chunkLU7DJ4QFjs.DataClassRegistry; exports.ENV = _chunkLU7DJ4QFjs.ENV; exports.EndpointCreator = _chunkIV4DTYXNjs.EndpointCreator; exports.EntityAiStatus = _chunkIV4DTYXNjs.EntityAiStatus; exports.Feature = _chunkIV4DTYXNjs.Feature; exports.FeatureModule = _chunkIV4DTYXNjs.FeatureModule; exports.FeatureService = _chunkIV4DTYXNjs.FeatureService; exports.HandbookPage = _chunkIV4DTYXNjs.HandbookPage; exports.HandbookPageFields = _chunkIV4DTYXNjs.HandbookPageFields; exports.HandbookPageModule = _chunkIV4DTYXNjs.HandbookPageModule; exports.HandbookPageService = _chunkIV4DTYXNjs.HandbookPageService; exports.HandbookSection = _chunkIV4DTYXNjs.HandbookSection; exports.HandbookSectionModule = _chunkIV4DTYXNjs.HandbookSectionModule; exports.HandbookSectionService = _chunkIV4DTYXNjs.HandbookSectionService; exports.HandbookThread = _chunkIV4DTYXNjs.HandbookThread; exports.HandbookThreadMessage = _chunkIV4DTYXNjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkIV4DTYXNjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkIV4DTYXNjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkIV4DTYXNjs.HandbookThreadModule; exports.HandbookThreadService = _chunkIV4DTYXNjs.HandbookThreadService; exports.HowTo = _chunkIV4DTYXNjs.HowTo; exports.HowToFields = _chunkIV4DTYXNjs.HowToFields; exports.HowToModule = _chunkIV4DTYXNjs.HowToModule; exports.HowToService = _chunkIV4DTYXNjs.HowToService; exports.HttpMethod = _chunkIV4DTYXNjs.HttpMethod; exports.InvoiceStatus = _chunkIV4DTYXNjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkLU7DJ4QFjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkIV4DTYXNjs.MOBILE_BREAKPOINT; exports.Module = _chunkIV4DTYXNjs.Module; exports.ModuleModule = _chunkIV4DTYXNjs.ModuleModule; exports.ModulePaths = _chunkIV4DTYXNjs.ModulePaths; exports.ModulePathsModule = _chunkIV4DTYXNjs.ModulePathsModule; exports.ModuleRegistrar = _chunkIV4DTYXNjs.ModuleRegistrar; exports.ModuleRegistry = _chunkIV4DTYXNjs.ModuleRegistry; exports.Modules = _chunkIV4DTYXNjs.Modules; exports.Notification = _chunkIV4DTYXNjs.Notification; exports.NotificationFields = _chunkIV4DTYXNjs.NotificationFields; exports.NotificationModule = _chunkIV4DTYXNjs.NotificationModule; exports.NotificationService = _chunkIV4DTYXNjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkIV4DTYXNjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkIV4DTYXNjs.OAuthClient; exports.OAuthModule = _chunkIV4DTYXNjs.OAuthModule; exports.OAuthService = _chunkIV4DTYXNjs.OAuthService; exports.Passkey = _chunkIV4DTYXNjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkIV4DTYXNjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkIV4DTYXNjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkIV4DTYXNjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkIV4DTYXNjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkIV4DTYXNjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkIV4DTYXNjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkIV4DTYXNjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkIV4DTYXNjs.PasskeyRename; exports.PasskeyRenameModule = _chunkIV4DTYXNjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkIV4DTYXNjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkIV4DTYXNjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkIV4DTYXNjs.PaymentMethod; exports.PermissionMapping = _chunkIV4DTYXNjs.PermissionMapping; exports.PermissionMappingModule = _chunkIV4DTYXNjs.PermissionMappingModule; exports.Push = _chunkIV4DTYXNjs.Push; exports.PushModule = _chunkIV4DTYXNjs.PushModule; exports.PushService = _chunkIV4DTYXNjs.PushService; exports.RbacMatrixModel = _chunkIV4DTYXNjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkIV4DTYXNjs.RbacMatrixModule; exports.RbacService = _chunk3D2MCVRZjs.RbacService; exports.ReferralModule = _chunkIV4DTYXNjs.ReferralModule; exports.ReferralService = _chunkIV4DTYXNjs.ReferralService; exports.ReferralStats = _chunkIV4DTYXNjs.ReferralStats; exports.ReferralStatsModule = _chunkIV4DTYXNjs.ReferralStatsModule; exports.RehydrationFactory = _chunkIV4DTYXNjs.RehydrationFactory; exports.Role = _chunkIV4DTYXNjs.Role; exports.RoleFields = _chunkIV4DTYXNjs.RoleFields; exports.RoleModule = _chunkIV4DTYXNjs.RoleModule; exports.RoleService = _chunkIV4DTYXNjs.RoleService; exports.S3 = _chunkIV4DTYXNjs.S3; exports.S3Module = _chunkIV4DTYXNjs.S3Module; exports.S3Service = _chunkIV4DTYXNjs.S3Service; exports.StripeCustomer = _chunkIV4DTYXNjs.StripeCustomer; exports.StripeCustomerModule = _chunkIV4DTYXNjs.StripeCustomerModule; exports.StripeCustomerService = _chunkIV4DTYXNjs.StripeCustomerService; exports.StripeInvoice = _chunkIV4DTYXNjs.StripeInvoice; exports.StripeInvoiceModule = _chunkIV4DTYXNjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkIV4DTYXNjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkIV4DTYXNjs.StripePaymentMethodModule; exports.StripePrice = _chunkIV4DTYXNjs.StripePrice; exports.StripePriceFields = _chunkIV4DTYXNjs.StripePriceFields; exports.StripePriceModule = _chunkIV4DTYXNjs.StripePriceModule; exports.StripePriceService = _chunkIV4DTYXNjs.StripePriceService; exports.StripeProduct = _chunkIV4DTYXNjs.StripeProduct; exports.StripeProductFields = _chunkIV4DTYXNjs.StripeProductFields; exports.StripeProductModule = _chunkIV4DTYXNjs.StripeProductModule; exports.StripeProductService = _chunkIV4DTYXNjs.StripeProductService; exports.StripePromotionCode = _chunkIV4DTYXNjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkIV4DTYXNjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkIV4DTYXNjs.StripePromotionCodeService; exports.StripeSubscription = _chunkIV4DTYXNjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkIV4DTYXNjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkIV4DTYXNjs.StripeSubscriptionService; exports.StripeUsage = _chunkIV4DTYXNjs.StripeUsage; exports.StripeUsageModule = _chunkIV4DTYXNjs.StripeUsageModule; exports.StripeUsageService = _chunkIV4DTYXNjs.StripeUsageService; exports.SubscriptionStatus = _chunkIV4DTYXNjs.SubscriptionStatus; exports.TableOptions = _chunkIV4DTYXNjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkIV4DTYXNjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkIV4DTYXNjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkIV4DTYXNjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkIV4DTYXNjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkIV4DTYXNjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkIV4DTYXNjs.TotpSetup; exports.TotpSetupModule = _chunkIV4DTYXNjs.TotpSetupModule; exports.TotpVerify = _chunkIV4DTYXNjs.TotpVerify; exports.TotpVerifyLogin = _chunkIV4DTYXNjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkIV4DTYXNjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkIV4DTYXNjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkIV4DTYXNjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkIV4DTYXNjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkIV4DTYXNjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkIV4DTYXNjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkIV4DTYXNjs.TwoFactorService; exports.TwoFactorStatus = _chunkIV4DTYXNjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkIV4DTYXNjs.TwoFactorStatusModule; exports.User = _chunkIV4DTYXNjs.User; exports.UserFields = _chunkIV4DTYXNjs.UserFields; exports.UserModule = _chunkIV4DTYXNjs.UserModule; exports.UserService = _chunkIV4DTYXNjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkIV4DTYXNjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkIV4DTYXNjs.Waitlist; exports.WaitlistModule = _chunkIV4DTYXNjs.WaitlistModule; exports.WaitlistService = _chunkIV4DTYXNjs.WaitlistService; exports.WaitlistStats = _chunkIV4DTYXNjs.WaitlistStats; exports.WaitlistStatsModule = _chunkIV4DTYXNjs.WaitlistStatsModule; exports.checkPermissions = _chunkIV4DTYXNjs.checkPermissions; exports.checkPermissionsFromServer = _chunkIV4DTYXNjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkIV4DTYXNjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkIV4DTYXNjs.clearLastApiTotal; exports.cn = _chunkIV4DTYXNjs.cn; exports.composeRefs = _chunkIV4DTYXNjs.composeRefs; exports.configureAuth = _chunkIV4DTYXNjs.configureAuth; exports.configureI18n = _chunk3D2MCVRZjs.configureI18n; exports.configureJsonApi = _chunk3D2MCVRZjs.configureJsonApi; exports.configureLogin = _chunk3D2MCVRZjs.configureLogin; exports.configureReferral = _chunk3D2MCVRZjs.configureReferral; exports.configureRoles = _chunk3D2MCVRZjs.configureRoles; exports.configureTokenUsage = _chunkIV4DTYXNjs.configureTokenUsage; exports.configureWaitlist = _chunk3D2MCVRZjs.configureWaitlist; exports.createJsonApiInclusion = _chunkIV4DTYXNjs.createJsonApiInclusion; exports.dismissToast = _chunkIV4DTYXNjs.dismissToast; exports.entityObjectSchema = _chunkIV4DTYXNjs.entityObjectSchema; exports.exists = _chunkIV4DTYXNjs.exists; exports.formatCodiceFiscale = _chunkIV4DTYXNjs.formatCodiceFiscale; exports.formatDate = _chunkIV4DTYXNjs.formatDate; exports.formatLocalDate = _chunkIV4DTYXNjs.formatLocalDate; exports.formatPartitaIva = _chunkIV4DTYXNjs.formatPartitaIva; exports.getApiUrl = _chunk3D2MCVRZjs.getApiUrl; exports.getAppUrl = _chunk3D2MCVRZjs.getAppUrl; exports.getBootstrapper = _chunkLU7DJ4QFjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkIV4DTYXNjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkIV4DTYXNjs.getGlobalErrorHandler; exports.getIcon = _chunkIV4DTYXNjs.getIcon; exports.getIconByModule = _chunkIV4DTYXNjs.getIconByModule; exports.getIconByModuleName = _chunkIV4DTYXNjs.getIconByModuleName; exports.getInitials = _chunkIV4DTYXNjs.getInitials; exports.getLastApiMeta = _chunkIV4DTYXNjs.getLastApiMeta; exports.getLastApiTotal = _chunkIV4DTYXNjs.getLastApiTotal; exports.getLucideIcon = _chunkIV4DTYXNjs.getLucideIcon; exports.getLucideIconByModule = _chunkIV4DTYXNjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkIV4DTYXNjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunk3D2MCVRZjs.getPublicApiUrl; exports.getReferralConfig = _chunk3D2MCVRZjs.getReferralConfig; exports.getRoleId = _chunk3D2MCVRZjs.getRoleId; exports.getStripePublishableKey = _chunk3D2MCVRZjs.getStripePublishableKey; exports.getTableComponents = _chunkIV4DTYXNjs.getTableComponents; exports.getTableOptions = _chunkIV4DTYXNjs.getTableOptions; exports.getTokenHandler = _chunkIV4DTYXNjs.getTokenHandler; exports.getTokenUsageCurrency = _chunkIV4DTYXNjs.getTokenUsageCurrency; exports.getTrackablePages = _chunk3D2MCVRZjs.getTrackablePages; exports.getValueFromPath = _chunkIV4DTYXNjs.getValueFromPath; exports.getWaitlistConfig = _chunk3D2MCVRZjs.getWaitlistConfig; exports.handbookPageContent = _chunkIV4DTYXNjs.handbookPageContent; exports.handbookPageSummary = _chunkIV4DTYXNjs.handbookPageSummary; exports.handbookPageTitle = _chunkIV4DTYXNjs.handbookPageTitle; exports.handbookSectionSummary = _chunkIV4DTYXNjs.handbookSectionSummary; exports.handbookSectionTitle = _chunkIV4DTYXNjs.handbookSectionTitle; exports.hasBootstrapper = _chunkLU7DJ4QFjs.hasBootstrapper; exports.isReferralEnabled = _chunk3D2MCVRZjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkIV4DTYXNjs.isRemoteImageSrc; exports.isRolesConfigured = _chunk3D2MCVRZjs.isRolesConfigured; exports.rehydrate = _chunkIV4DTYXNjs.rehydrate; exports.rehydrateList = _chunkIV4DTYXNjs.rehydrateList; exports.resetBootstrapStore = _chunkLU7DJ4QFjs.resetBootstrapStore; exports.setBootstrapper = _chunkLU7DJ4QFjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkIV4DTYXNjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkIV4DTYXNjs.setGlobalErrorHandler; exports.showCustomToast = _chunkIV4DTYXNjs.showCustomToast; exports.showError = _chunkIV4DTYXNjs.showError; exports.showToast = _chunkIV4DTYXNjs.showToast; exports.tokenUsageModules = _chunkIV4DTYXNjs.tokenUsageModules; exports.translateData = _chunkLU7DJ4QFjs.translateData; exports.translateResponse = _chunkLU7DJ4QFjs.translateResponse; exports.tryBootstrap = _chunkLU7DJ4QFjs.tryBootstrap; exports.useComposedRefs = _chunkIV4DTYXNjs.useComposedRefs; exports.useIsMobile = _chunkIV4DTYXNjs.useIsMobile; exports.userObjectSchema = _chunkIV4DTYXNjs.userObjectSchema; exports.validateCodiceFiscale = _chunkIV4DTYXNjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkIV4DTYXNjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkIV4DTYXNjs.validatePartitaIva;
518
+ exports.ACTION_TYPES = _chunk7EFTSFZOjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkWRMTBKSNjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkWRMTBKSNjs.AbstractApiData; exports.AbstractService = _chunkWRMTBKSNjs.AbstractService; exports.Action = _chunkWRMTBKSNjs.Action; exports.AiConnection = _chunkWRMTBKSNjs.AiConnection; exports.AiConnectionFields = _chunkWRMTBKSNjs.AiConnectionFields; exports.AiConnectionModule = _chunkWRMTBKSNjs.AiConnectionModule; exports.AiConnectionService = _chunkWRMTBKSNjs.AiConnectionService; exports.Assistant = _chunkWRMTBKSNjs.Assistant; exports.AssistantAction = _chunkWRMTBKSNjs.AssistantAction; exports.AssistantActionModule = _chunkWRMTBKSNjs.AssistantActionModule; exports.AssistantActionService = _chunkWRMTBKSNjs.AssistantActionService; exports.AssistantMessage = _chunkWRMTBKSNjs.AssistantMessage; exports.AssistantMessageModule = _chunkWRMTBKSNjs.AssistantMessageModule; exports.AssistantMessageService = _chunkWRMTBKSNjs.AssistantMessageService; exports.AssistantModule = _chunkWRMTBKSNjs.AssistantModule; exports.AssistantService = _chunkWRMTBKSNjs.AssistantService; exports.AuditLog = _chunkWRMTBKSNjs.AuditLog; exports.AuditLogModule = _chunkWRMTBKSNjs.AuditLogModule; exports.AuditLogService = _chunkWRMTBKSNjs.AuditLogService; exports.Auth = _chunkWRMTBKSNjs.Auth; exports.AuthComponent = _chunkWRMTBKSNjs.AuthComponent; exports.AuthModule = _chunkWRMTBKSNjs.AuthModule; exports.AuthService = _chunkWRMTBKSNjs.AuthService; exports.AuthorModule = _chunkWRMTBKSNjs.AuthorModule; exports.BackupCodeVerify = _chunkWRMTBKSNjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkWRMTBKSNjs.BackupCodeVerifyModule; exports.Billing = _chunkWRMTBKSNjs.Billing; exports.BillingModule = _chunkWRMTBKSNjs.BillingModule; exports.BillingService = _chunkWRMTBKSNjs.BillingService; exports.BlockNoteDiffUtil = _chunkWRMTBKSNjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkWRMTBKSNjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunk7EFTSFZOjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.CURRENT_USER_STORAGE_KEY = _chunkWRMTBKSNjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkWRMTBKSNjs.Chunk; exports.ChunkModule = _chunkWRMTBKSNjs.ChunkModule; exports.ClientAbstractService = _chunkWRMTBKSNjs.ClientAbstractService; exports.ClientHttpMethod = _chunkWRMTBKSNjs.ClientHttpMethod; exports.Company = _chunkWRMTBKSNjs.Company; exports.CompanyFields = _chunkWRMTBKSNjs.CompanyFields; exports.CompanyModule = _chunkWRMTBKSNjs.CompanyModule; exports.CompanyService = _chunkWRMTBKSNjs.CompanyService; exports.Content = _chunkWRMTBKSNjs.Content; exports.ContentFields = _chunkWRMTBKSNjs.ContentFields; exports.ContentModule = _chunkWRMTBKSNjs.ContentModule; exports.ContentService = _chunkWRMTBKSNjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkWRMTBKSNjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkLU7DJ4QFjs.DataClassRegistry; exports.DataClassRegistry = _chunkLU7DJ4QFjs.DataClassRegistry; exports.ENV = _chunkLU7DJ4QFjs.ENV; exports.EndpointCreator = _chunkWRMTBKSNjs.EndpointCreator; exports.EntityAiStatus = _chunkWRMTBKSNjs.EntityAiStatus; exports.Feature = _chunkWRMTBKSNjs.Feature; exports.FeatureModule = _chunkWRMTBKSNjs.FeatureModule; exports.FeatureService = _chunkWRMTBKSNjs.FeatureService; exports.HandbookPage = _chunkWRMTBKSNjs.HandbookPage; exports.HandbookPageFields = _chunkWRMTBKSNjs.HandbookPageFields; exports.HandbookPageModule = _chunkWRMTBKSNjs.HandbookPageModule; exports.HandbookPageService = _chunkWRMTBKSNjs.HandbookPageService; exports.HandbookSection = _chunkWRMTBKSNjs.HandbookSection; exports.HandbookSectionModule = _chunkWRMTBKSNjs.HandbookSectionModule; exports.HandbookSectionService = _chunkWRMTBKSNjs.HandbookSectionService; exports.HandbookThread = _chunkWRMTBKSNjs.HandbookThread; exports.HandbookThreadMessage = _chunkWRMTBKSNjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkWRMTBKSNjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkWRMTBKSNjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkWRMTBKSNjs.HandbookThreadModule; exports.HandbookThreadService = _chunkWRMTBKSNjs.HandbookThreadService; exports.HowTo = _chunkWRMTBKSNjs.HowTo; exports.HowToFields = _chunkWRMTBKSNjs.HowToFields; exports.HowToModule = _chunkWRMTBKSNjs.HowToModule; exports.HowToService = _chunkWRMTBKSNjs.HowToService; exports.HttpMethod = _chunkWRMTBKSNjs.HttpMethod; exports.InvoiceStatus = _chunkWRMTBKSNjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkLU7DJ4QFjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkWRMTBKSNjs.MOBILE_BREAKPOINT; exports.Module = _chunkWRMTBKSNjs.Module; exports.ModuleModule = _chunkWRMTBKSNjs.ModuleModule; exports.ModulePaths = _chunkWRMTBKSNjs.ModulePaths; exports.ModulePathsModule = _chunkWRMTBKSNjs.ModulePathsModule; exports.ModuleRegistrar = _chunkWRMTBKSNjs.ModuleRegistrar; exports.ModuleRegistry = _chunkWRMTBKSNjs.ModuleRegistry; exports.Modules = _chunkWRMTBKSNjs.Modules; exports.Notification = _chunkWRMTBKSNjs.Notification; exports.NotificationFields = _chunkWRMTBKSNjs.NotificationFields; exports.NotificationModule = _chunkWRMTBKSNjs.NotificationModule; exports.NotificationService = _chunkWRMTBKSNjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkWRMTBKSNjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkWRMTBKSNjs.OAuthClient; exports.OAuthModule = _chunkWRMTBKSNjs.OAuthModule; exports.OAuthService = _chunkWRMTBKSNjs.OAuthService; exports.Passkey = _chunkWRMTBKSNjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkWRMTBKSNjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkWRMTBKSNjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkWRMTBKSNjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkWRMTBKSNjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkWRMTBKSNjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkWRMTBKSNjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkWRMTBKSNjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkWRMTBKSNjs.PasskeyRename; exports.PasskeyRenameModule = _chunkWRMTBKSNjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkWRMTBKSNjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkWRMTBKSNjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkWRMTBKSNjs.PaymentMethod; exports.PermissionMapping = _chunkWRMTBKSNjs.PermissionMapping; exports.PermissionMappingModule = _chunkWRMTBKSNjs.PermissionMappingModule; exports.Push = _chunkWRMTBKSNjs.Push; exports.PushModule = _chunkWRMTBKSNjs.PushModule; exports.PushService = _chunkWRMTBKSNjs.PushService; exports.RbacMatrixModel = _chunkWRMTBKSNjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkWRMTBKSNjs.RbacMatrixModule; exports.RbacService = _chunk7EFTSFZOjs.RbacService; exports.ReferralModule = _chunkWRMTBKSNjs.ReferralModule; exports.ReferralService = _chunkWRMTBKSNjs.ReferralService; exports.ReferralStats = _chunkWRMTBKSNjs.ReferralStats; exports.ReferralStatsModule = _chunkWRMTBKSNjs.ReferralStatsModule; exports.RehydrationFactory = _chunkWRMTBKSNjs.RehydrationFactory; exports.Role = _chunkWRMTBKSNjs.Role; exports.RoleFields = _chunkWRMTBKSNjs.RoleFields; exports.RoleModule = _chunkWRMTBKSNjs.RoleModule; exports.RoleService = _chunkWRMTBKSNjs.RoleService; exports.S3 = _chunkWRMTBKSNjs.S3; exports.S3Module = _chunkWRMTBKSNjs.S3Module; exports.S3Service = _chunkWRMTBKSNjs.S3Service; exports.StripeCustomer = _chunkWRMTBKSNjs.StripeCustomer; exports.StripeCustomerModule = _chunkWRMTBKSNjs.StripeCustomerModule; exports.StripeCustomerService = _chunkWRMTBKSNjs.StripeCustomerService; exports.StripeInvoice = _chunkWRMTBKSNjs.StripeInvoice; exports.StripeInvoiceModule = _chunkWRMTBKSNjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkWRMTBKSNjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkWRMTBKSNjs.StripePaymentMethodModule; exports.StripePrice = _chunkWRMTBKSNjs.StripePrice; exports.StripePriceFields = _chunkWRMTBKSNjs.StripePriceFields; exports.StripePriceModule = _chunkWRMTBKSNjs.StripePriceModule; exports.StripePriceService = _chunkWRMTBKSNjs.StripePriceService; exports.StripeProduct = _chunkWRMTBKSNjs.StripeProduct; exports.StripeProductFields = _chunkWRMTBKSNjs.StripeProductFields; exports.StripeProductModule = _chunkWRMTBKSNjs.StripeProductModule; exports.StripeProductService = _chunkWRMTBKSNjs.StripeProductService; exports.StripePromotionCode = _chunkWRMTBKSNjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkWRMTBKSNjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkWRMTBKSNjs.StripePromotionCodeService; exports.StripeSubscription = _chunkWRMTBKSNjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkWRMTBKSNjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkWRMTBKSNjs.StripeSubscriptionService; exports.StripeUsage = _chunkWRMTBKSNjs.StripeUsage; exports.StripeUsageModule = _chunkWRMTBKSNjs.StripeUsageModule; exports.StripeUsageService = _chunkWRMTBKSNjs.StripeUsageService; exports.SubscriptionStatus = _chunkWRMTBKSNjs.SubscriptionStatus; exports.TableOptions = _chunkWRMTBKSNjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkWRMTBKSNjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkWRMTBKSNjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkWRMTBKSNjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkWRMTBKSNjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkWRMTBKSNjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkWRMTBKSNjs.TotpSetup; exports.TotpSetupModule = _chunkWRMTBKSNjs.TotpSetupModule; exports.TotpVerify = _chunkWRMTBKSNjs.TotpVerify; exports.TotpVerifyLogin = _chunkWRMTBKSNjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkWRMTBKSNjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkWRMTBKSNjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkWRMTBKSNjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkWRMTBKSNjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkWRMTBKSNjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkWRMTBKSNjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkWRMTBKSNjs.TwoFactorService; exports.TwoFactorStatus = _chunkWRMTBKSNjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkWRMTBKSNjs.TwoFactorStatusModule; exports.User = _chunkWRMTBKSNjs.User; exports.UserFields = _chunkWRMTBKSNjs.UserFields; exports.UserModule = _chunkWRMTBKSNjs.UserModule; exports.UserService = _chunkWRMTBKSNjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkWRMTBKSNjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkWRMTBKSNjs.Waitlist; exports.WaitlistModule = _chunkWRMTBKSNjs.WaitlistModule; exports.WaitlistService = _chunkWRMTBKSNjs.WaitlistService; exports.WaitlistStats = _chunkWRMTBKSNjs.WaitlistStats; exports.WaitlistStatsModule = _chunkWRMTBKSNjs.WaitlistStatsModule; exports.checkPermissions = _chunkWRMTBKSNjs.checkPermissions; exports.checkPermissionsFromServer = _chunkWRMTBKSNjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkWRMTBKSNjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkWRMTBKSNjs.clearLastApiTotal; exports.cn = _chunkWRMTBKSNjs.cn; exports.composeRefs = _chunkWRMTBKSNjs.composeRefs; exports.configureAuth = _chunkWRMTBKSNjs.configureAuth; exports.configureI18n = _chunk7EFTSFZOjs.configureI18n; exports.configureJsonApi = _chunk7EFTSFZOjs.configureJsonApi; exports.configureLogin = _chunk7EFTSFZOjs.configureLogin; exports.configureReferral = _chunk7EFTSFZOjs.configureReferral; exports.configureRoles = _chunk7EFTSFZOjs.configureRoles; exports.configureTokenUsage = _chunkWRMTBKSNjs.configureTokenUsage; exports.configureWaitlist = _chunk7EFTSFZOjs.configureWaitlist; exports.createJsonApiInclusion = _chunkWRMTBKSNjs.createJsonApiInclusion; exports.dismissToast = _chunkWRMTBKSNjs.dismissToast; exports.entityObjectSchema = _chunkWRMTBKSNjs.entityObjectSchema; exports.exists = _chunkWRMTBKSNjs.exists; exports.formatCodiceFiscale = _chunkWRMTBKSNjs.formatCodiceFiscale; exports.formatDate = _chunkWRMTBKSNjs.formatDate; exports.formatLocalDate = _chunkWRMTBKSNjs.formatLocalDate; exports.formatPartitaIva = _chunkWRMTBKSNjs.formatPartitaIva; exports.getApiUrl = _chunk7EFTSFZOjs.getApiUrl; exports.getAppUrl = _chunk7EFTSFZOjs.getAppUrl; exports.getBootstrapper = _chunkLU7DJ4QFjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkWRMTBKSNjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkWRMTBKSNjs.getGlobalErrorHandler; exports.getIcon = _chunkWRMTBKSNjs.getIcon; exports.getIconByModule = _chunkWRMTBKSNjs.getIconByModule; exports.getIconByModuleName = _chunkWRMTBKSNjs.getIconByModuleName; exports.getInitials = _chunkWRMTBKSNjs.getInitials; exports.getLastApiMeta = _chunkWRMTBKSNjs.getLastApiMeta; exports.getLastApiTotal = _chunkWRMTBKSNjs.getLastApiTotal; exports.getLucideIcon = _chunkWRMTBKSNjs.getLucideIcon; exports.getLucideIconByModule = _chunkWRMTBKSNjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkWRMTBKSNjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunk7EFTSFZOjs.getPublicApiUrl; exports.getReferralConfig = _chunk7EFTSFZOjs.getReferralConfig; exports.getRoleId = _chunk7EFTSFZOjs.getRoleId; exports.getStripePublishableKey = _chunk7EFTSFZOjs.getStripePublishableKey; exports.getTableComponents = _chunkWRMTBKSNjs.getTableComponents; exports.getTableOptions = _chunkWRMTBKSNjs.getTableOptions; exports.getTokenHandler = _chunkWRMTBKSNjs.getTokenHandler; exports.getTokenUsageCurrency = _chunkWRMTBKSNjs.getTokenUsageCurrency; exports.getTrackablePages = _chunk7EFTSFZOjs.getTrackablePages; exports.getValueFromPath = _chunkWRMTBKSNjs.getValueFromPath; exports.getWaitlistConfig = _chunk7EFTSFZOjs.getWaitlistConfig; exports.handbookPageContent = _chunkWRMTBKSNjs.handbookPageContent; exports.handbookPageSummary = _chunkWRMTBKSNjs.handbookPageSummary; exports.handbookPageTitle = _chunkWRMTBKSNjs.handbookPageTitle; exports.handbookSectionSummary = _chunkWRMTBKSNjs.handbookSectionSummary; exports.handbookSectionTitle = _chunkWRMTBKSNjs.handbookSectionTitle; exports.hasBootstrapper = _chunkLU7DJ4QFjs.hasBootstrapper; exports.isReferralEnabled = _chunk7EFTSFZOjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkWRMTBKSNjs.isRemoteImageSrc; exports.isRolesConfigured = _chunk7EFTSFZOjs.isRolesConfigured; exports.rehydrate = _chunkWRMTBKSNjs.rehydrate; exports.rehydrateList = _chunkWRMTBKSNjs.rehydrateList; exports.resetBootstrapStore = _chunkLU7DJ4QFjs.resetBootstrapStore; exports.setBootstrapper = _chunkLU7DJ4QFjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkWRMTBKSNjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkWRMTBKSNjs.setGlobalErrorHandler; exports.showCustomToast = _chunkWRMTBKSNjs.showCustomToast; exports.showError = _chunkWRMTBKSNjs.showError; exports.showToast = _chunkWRMTBKSNjs.showToast; exports.tokenUsageModules = _chunkWRMTBKSNjs.tokenUsageModules; exports.translateData = _chunkLU7DJ4QFjs.translateData; exports.translateResponse = _chunkLU7DJ4QFjs.translateResponse; exports.tryBootstrap = _chunkLU7DJ4QFjs.tryBootstrap; exports.useComposedRefs = _chunkWRMTBKSNjs.useComposedRefs; exports.useIsMobile = _chunkWRMTBKSNjs.useIsMobile; exports.userObjectSchema = _chunkWRMTBKSNjs.userObjectSchema; exports.validateCodiceFiscale = _chunkWRMTBKSNjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkWRMTBKSNjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkWRMTBKSNjs.validatePartitaIva;
519
519
  //# sourceMappingURL=index.js.map
package/dist/index.mjs CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  getWaitlistConfig,
19
19
  isReferralEnabled,
20
20
  isRolesConfigured
21
- } from "./chunk-HAI7G6MD.mjs";
21
+ } from "./chunk-Z7KPVKWV.mjs";
22
22
  import {
23
23
  AVAILABLE_OAUTH_SCOPES,
24
24
  AbstractApiData,
@@ -244,7 +244,7 @@ import {
244
244
  validateCodiceFiscale,
245
245
  validateItalianTaxCode,
246
246
  validatePartitaIva
247
- } from "./chunk-2O3SFHQ7.mjs";
247
+ } from "./chunk-ZE5ZUY6Y.mjs";
248
248
  import "./chunk-AUXK7QSA.mjs";
249
249
  import "./chunk-C7C7VY4F.mjs";
250
250
  import {
@@ -228,6 +228,7 @@ declare class NotificationService extends AbstractService {
228
228
  static findMany(params: {
229
229
  isArchived?: boolean;
230
230
  next?: NextRef;
231
+ suppressGlobalError?: boolean;
231
232
  }): Promise<NotificationInterface[]>;
232
233
  static markAsRead(params: {
233
234
  data: any;
@@ -228,6 +228,7 @@ declare class NotificationService extends AbstractService {
228
228
  static findMany(params: {
229
229
  isArchived?: boolean;
230
230
  next?: NextRef;
231
+ suppressGlobalError?: boolean;
231
232
  }): Promise<NotificationInterface[]>;
232
233
  static markAsRead(params: {
233
234
  data: any;
@@ -2,7 +2,7 @@ import { A as ApiData } from '../ApiData-DPKNfY-9.mjs';
2
2
  import { M as ModuleWithPermissions, A as Action } from '../types-Bq_UA8Lg.mjs';
3
3
  import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
4
4
  import { A as ApiResponseInterface } from '../ApiResponseInterface-rsXRL_Hn.mjs';
5
- export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-DaRFLnrX.mjs';
5
+ export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-Buiy1ncj.mjs';
6
6
  import 'lucide-react';
7
7
  import '../ApiDataInterface-BcZeXy5X.mjs';
8
8
  import '../AbstractService-Ckm2X5fW.mjs';
@@ -2,7 +2,7 @@ import { A as ApiData } from '../ApiData-DPKNfY-9.js';
2
2
  import { M as ModuleWithPermissions, A as Action } from '../types-bsm8Fp55.js';
3
3
  import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface-CYEcRUrh.js';
4
4
  import { A as ApiResponseInterface } from '../ApiResponseInterface-CWLvSCvS.js';
5
- export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-DJHqEZAp.js';
5
+ export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-Bqr-fQmi.js';
6
6
  import 'lucide-react';
7
7
  import '../ApiDataInterface-BcZeXy5X.js';
8
8
  import '../AbstractService-V3VGQMhL.js';
@@ -15,7 +15,7 @@ var _chunkIOLU4ASDjs = require('../chunk-IOLU4ASD.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkIV4DTYXNjs = require('../chunk-IV4DTYXN.js');
18
+ var _chunkWRMTBKSNjs = require('../chunk-WRMTBKSN.js');
19
19
  require('../chunk-LXKSUWAV.js');
20
20
  require('../chunk-IBS6NI7D.js');
21
21
 
@@ -87,7 +87,7 @@ var ServerSession = class {
87
87
  if (!rawModules) return false;
88
88
  const modules = JSON.parse(_pako.ungzip.call(void 0, Buffer.from(rawModules, "base64"), { toText: true }));
89
89
  const selectedModule = modules.find((module) => module.id === params.module.moduleId);
90
- return _chunkIV4DTYXNjs.checkPermissionsFromServer.call(void 0, {
90
+ return _chunkWRMTBKSNjs.checkPermissionsFromServer.call(void 0, {
91
91
  module: params.module,
92
92
  action: params.action,
93
93
  data: params.data,
@@ -297,5 +297,5 @@ _chunk7QVYU63Ejs.__name.call(void 0, ServerJsonApiDelete, "ServerJsonApiDelete")
297
297
 
298
298
 
299
299
 
300
- exports.ServerAuthService = _chunkIV4DTYXNjs.AuthService; exports.ServerCompanyService = _chunkIV4DTYXNjs.CompanyService; exports.ServerContentService = _chunkIV4DTYXNjs.ContentService; exports.ServerFeatureService = _chunkIV4DTYXNjs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunkIV4DTYXNjs.NotificationService; exports.ServerPushService = _chunkIV4DTYXNjs.PushService; exports.ServerRoleService = _chunkIV4DTYXNjs.RoleService; exports.ServerS3Service = _chunkIV4DTYXNjs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunkIV4DTYXNjs.UserService; exports.configureServerJsonApi = configureServerJsonApi; exports.getServerApiUrl = getServerApiUrl; exports.getServerAppUrl = getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = getServerTrackablePages; exports.invalidateCacheTag = invalidateCacheTag; exports.invalidateCacheTags = invalidateCacheTags; exports.serverRequest = _chunkIOLU4ASDjs.serverRequest;
300
+ exports.ServerAuthService = _chunkWRMTBKSNjs.AuthService; exports.ServerCompanyService = _chunkWRMTBKSNjs.CompanyService; exports.ServerContentService = _chunkWRMTBKSNjs.ContentService; exports.ServerFeatureService = _chunkWRMTBKSNjs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunkWRMTBKSNjs.NotificationService; exports.ServerPushService = _chunkWRMTBKSNjs.PushService; exports.ServerRoleService = _chunkWRMTBKSNjs.RoleService; exports.ServerS3Service = _chunkWRMTBKSNjs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunkWRMTBKSNjs.UserService; exports.configureServerJsonApi = configureServerJsonApi; exports.getServerApiUrl = getServerApiUrl; exports.getServerAppUrl = getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = getServerTrackablePages; exports.invalidateCacheTag = invalidateCacheTag; exports.invalidateCacheTags = invalidateCacheTags; exports.serverRequest = _chunkIOLU4ASDjs.serverRequest;
301
301
  //# sourceMappingURL=index.js.map
@@ -15,7 +15,7 @@ import {
15
15
  S3Service,
16
16
  UserService,
17
17
  checkPermissionsFromServer
18
- } from "../chunk-2O3SFHQ7.mjs";
18
+ } from "../chunk-ZE5ZUY6Y.mjs";
19
19
  import "../chunk-AUXK7QSA.mjs";
20
20
  import "../chunk-C7C7VY4F.mjs";
21
21
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlonicora/nextjs-jsonapi",
3
- "version": "3.24.0",
3
+ "version": "3.24.1",
4
4
  "description": "Next.js JSON:API client with server/client support and caching",
5
5
  "author": "Carlo Nicora",
6
6
  "license": "GPL-3.0-or-later",
@@ -22,6 +22,11 @@ export class StripeCustomerService extends AbstractService {
22
22
  type: Modules.StripeCustomer,
23
23
  method: HttpMethod.GET,
24
24
  endpoint: endpoint.generate(),
25
+ // A 404 here means the company has no billing customer yet — an expected
26
+ // state that BillingDashboardContainer turns into a setup prompt. Without
27
+ // this, the global error handler swallows it and replaces the page with a
28
+ // 404 screen.
29
+ suppressGlobalError: true,
25
30
  });
26
31
  }
27
32
 
@@ -3,3 +3,4 @@ export * from "./details";
3
3
  export * from "./forms";
4
4
  export * from "./lists";
5
5
  export * from "./widgets";
6
+ export * from "./wizards";
@@ -95,7 +95,10 @@ export const NotificationContextProvider = ({ children }: NotificationContextPro
95
95
  setError(null);
96
96
 
97
97
  try {
98
- const fetchedNotifications = await NotificationService.findMany({});
98
+ // Background load: a failure must throw into the catch below. Routed
99
+ // through the global error handler, callApi resolves to undefined
100
+ // instead, which lands in state and crashes every consumer.
101
+ const fetchedNotifications = await NotificationService.findMany({ suppressGlobalError: true });
99
102
  setNotifications(fetchedNotifications);
100
103
  setLastLoaded(Date.now());
101
104
  } catch (error) {
@@ -146,7 +149,7 @@ export const NotificationContextProvider = ({ children }: NotificationContextPro
146
149
  };
147
150
 
148
151
  await NotificationService.markAsRead({ data: data });
149
- const allNotifications = await NotificationService.findMany({});
152
+ const allNotifications = await NotificationService.findMany({ suppressGlobalError: true });
150
153
  setNotifications(allNotifications);
151
154
  setLastLoaded(Date.now());
152
155
  } catch (error) {
@@ -94,3 +94,35 @@ describe("NotificationContextProvider mount load", () => {
94
94
  expect(NotificationService.findMany).toHaveBeenCalledTimes(1);
95
95
  });
96
96
  });
97
+
98
+ describe("NotificationContextProvider failed load", () => {
99
+ beforeEach(() => {
100
+ userMock.currentUser = undefined;
101
+ vi.mocked(NotificationService.findMany).mockReset();
102
+ });
103
+
104
+ it("asks the service to throw instead of routing to the global error handler", async () => {
105
+ vi.mocked(NotificationService.findMany).mockResolvedValue([] as never);
106
+
107
+ const { result } = renderHook(() => useNotificationContext(), { wrapper });
108
+
109
+ await act(async () => {
110
+ await result.current.loadNotifications();
111
+ });
112
+
113
+ expect(NotificationService.findMany).toHaveBeenCalledWith({ suppressGlobalError: true });
114
+ });
115
+
116
+ it("keeps notifications an array and records the error when the API is unreachable", async () => {
117
+ vi.mocked(NotificationService.findMany).mockRejectedValue(new Error("500:"));
118
+
119
+ const { result } = renderHook(() => useNotificationContext(), { wrapper });
120
+
121
+ await act(async () => {
122
+ await result.current.loadNotifications();
123
+ });
124
+
125
+ expect(result.current.notifications).toEqual([]);
126
+ expect(result.current.error).toBe("500:");
127
+ });
128
+ });
@@ -2,7 +2,11 @@ import { AbstractService, EndpointCreator, HttpMethod, Modules, NextRef } from "
2
2
  import { NotificationInterface } from "./notification.interface";
3
3
 
4
4
  export class NotificationService extends AbstractService {
5
- static async findMany(params: { isArchived?: boolean; next?: NextRef }): Promise<NotificationInterface[]> {
5
+ static async findMany(params: {
6
+ isArchived?: boolean;
7
+ next?: NextRef;
8
+ suppressGlobalError?: boolean;
9
+ }): Promise<NotificationInterface[]> {
6
10
  const endpoint = new EndpointCreator({ endpoint: Modules.Notification });
7
11
 
8
12
  if (params.isArchived) endpoint.addAdditionalParam("isArchived", "true");
@@ -12,6 +16,7 @@ export class NotificationService extends AbstractService {
12
16
  method: HttpMethod.GET,
13
17
  endpoint: endpoint.generate(),
14
18
  next: params.next,
19
+ suppressGlobalError: params.suppressGlobalError,
15
20
  });
16
21
  }
17
22