@carlonicora/nextjs-jsonapi 3.22.0 → 3.23.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 (56) hide show
  1. package/dist/{BlockNoteEditor-VEEMWB2J.js → BlockNoteEditor-BUSOUPQ7.js} +19 -19
  2. package/dist/{BlockNoteEditor-VEEMWB2J.js.map → BlockNoteEditor-BUSOUPQ7.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-5QBGVWE7.mjs → BlockNoteEditor-W42IQTGL.mjs} +4 -4
  4. package/dist/{BlockNoteViewer-ZY4ZF3HO.mjs → BlockNoteViewer-FQ23TZ3J.mjs} +2 -2
  5. package/dist/{BlockNoteViewer-XCGBX4ST.js → BlockNoteViewer-MCX53AR4.js} +3 -3
  6. package/dist/{BlockNoteViewer-XCGBX4ST.js.map → BlockNoteViewer-MCX53AR4.js.map} +1 -1
  7. package/dist/{HandbookSectionInterface-DqU_d0sy.d.mts → HandbookSectionInterface-BYsmnPEz.d.mts} +36 -0
  8. package/dist/{HandbookSectionInterface-DFj2zErb.d.ts → HandbookSectionInterface-OePKPbqN.d.ts} +36 -0
  9. package/dist/billing/index.js +401 -401
  10. package/dist/billing/index.mjs +3 -3
  11. package/dist/{chunk-SYQMVTIC.js → chunk-FXWO5J2R.js} +7 -7
  12. package/dist/{chunk-SYQMVTIC.js.map → chunk-FXWO5J2R.js.map} +1 -1
  13. package/dist/{chunk-5G7I3OUB.mjs → chunk-GFLEFIAW.mjs} +25 -6
  14. package/dist/{chunk-5G7I3OUB.mjs.map → chunk-GFLEFIAW.mjs.map} +1 -1
  15. package/dist/{chunk-U55JQ4NY.mjs → chunk-JZUBFAAY.mjs} +2 -2
  16. package/dist/{chunk-CK47KSFV.mjs → chunk-O5MKEU7G.mjs} +56 -2
  17. package/dist/chunk-O5MKEU7G.mjs.map +1 -0
  18. package/dist/{chunk-XYSWOW5G.js → chunk-VR65NRE4.js} +844 -825
  19. package/dist/chunk-VR65NRE4.js.map +1 -0
  20. package/dist/{chunk-MWZCCOTS.js → chunk-YCHPWXHD.js} +56 -2
  21. package/dist/chunk-YCHPWXHD.js.map +1 -0
  22. package/dist/client/index.js +4 -4
  23. package/dist/client/index.mjs +3 -3
  24. package/dist/components/index.d.mts +3 -3
  25. package/dist/components/index.d.ts +3 -3
  26. package/dist/components/index.js +4 -4
  27. package/dist/components/index.mjs +3 -3
  28. package/dist/contexts/index.js +4 -4
  29. package/dist/contexts/index.mjs +3 -3
  30. package/dist/core/index.d.mts +2 -2
  31. package/dist/core/index.d.ts +2 -2
  32. package/dist/core/index.js +2 -2
  33. package/dist/core/index.mjs +1 -1
  34. package/dist/features/help/index.js +37 -37
  35. package/dist/features/help/index.mjs +3 -3
  36. package/dist/features/tokenusage/index.js +101 -101
  37. package/dist/features/tokenusage/index.mjs +3 -3
  38. package/dist/index.d.mts +1 -1
  39. package/dist/index.d.ts +1 -1
  40. package/dist/index.js +3 -3
  41. package/dist/index.mjs +2 -2
  42. package/dist/server/index.js +3 -3
  43. package/dist/server/index.mjs +1 -1
  44. package/package.json +1 -1
  45. package/src/features/ai-connection/components/forms/AiConnectionEditor.tsx +1 -0
  46. package/src/features/ai-connection/components/lists/AiConnectionTypeCard.tsx +9 -0
  47. package/src/features/ai-connection/data/__tests__/ai-connection.test.ts +51 -0
  48. package/src/features/ai-connection/data/ai-connection.interface.ts +18 -0
  49. package/src/features/ai-connection/data/ai-connection.ts +63 -0
  50. package/src/features/ai-connection/i18n-keys.ts +9 -0
  51. package/dist/chunk-CK47KSFV.mjs.map +0 -1
  52. package/dist/chunk-MWZCCOTS.js.map +0 -1
  53. package/dist/chunk-XYSWOW5G.js.map +0 -1
  54. /package/dist/{BlockNoteEditor-5QBGVWE7.mjs.map → BlockNoteEditor-W42IQTGL.mjs.map} +0 -0
  55. /package/dist/{BlockNoteViewer-ZY4ZF3HO.mjs.map → BlockNoteViewer-FQ23TZ3J.mjs.map} +0 -0
  56. /package/dist/{chunk-U55JQ4NY.mjs.map → chunk-JZUBFAAY.mjs.map} +0 -0
package/dist/index.js CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
 
20
20
 
21
- var _chunkSYQMVTICjs = require('./chunk-SYQMVTIC.js');
21
+ var _chunkFXWO5J2Rjs = require('./chunk-FXWO5J2R.js');
22
22
 
23
23
 
24
24
 
@@ -244,7 +244,7 @@ var _chunkSYQMVTICjs = require('./chunk-SYQMVTIC.js');
244
244
 
245
245
 
246
246
 
247
- var _chunkMWZCCOTSjs = require('./chunk-MWZCCOTS.js');
247
+ var _chunkYCHPWXHDjs = require('./chunk-YCHPWXHD.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 = _chunkSYQMVTICjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkMWZCCOTSjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkMWZCCOTSjs.AbstractApiData; exports.AbstractService = _chunkMWZCCOTSjs.AbstractService; exports.Action = _chunkMWZCCOTSjs.Action; exports.AiConnection = _chunkMWZCCOTSjs.AiConnection; exports.AiConnectionFields = _chunkMWZCCOTSjs.AiConnectionFields; exports.AiConnectionModule = _chunkMWZCCOTSjs.AiConnectionModule; exports.AiConnectionService = _chunkMWZCCOTSjs.AiConnectionService; exports.Assistant = _chunkMWZCCOTSjs.Assistant; exports.AssistantAction = _chunkMWZCCOTSjs.AssistantAction; exports.AssistantActionModule = _chunkMWZCCOTSjs.AssistantActionModule; exports.AssistantActionService = _chunkMWZCCOTSjs.AssistantActionService; exports.AssistantMessage = _chunkMWZCCOTSjs.AssistantMessage; exports.AssistantMessageModule = _chunkMWZCCOTSjs.AssistantMessageModule; exports.AssistantMessageService = _chunkMWZCCOTSjs.AssistantMessageService; exports.AssistantModule = _chunkMWZCCOTSjs.AssistantModule; exports.AssistantService = _chunkMWZCCOTSjs.AssistantService; exports.AuditLog = _chunkMWZCCOTSjs.AuditLog; exports.AuditLogModule = _chunkMWZCCOTSjs.AuditLogModule; exports.AuditLogService = _chunkMWZCCOTSjs.AuditLogService; exports.Auth = _chunkMWZCCOTSjs.Auth; exports.AuthComponent = _chunkMWZCCOTSjs.AuthComponent; exports.AuthModule = _chunkMWZCCOTSjs.AuthModule; exports.AuthService = _chunkMWZCCOTSjs.AuthService; exports.AuthorModule = _chunkMWZCCOTSjs.AuthorModule; exports.BackupCodeVerify = _chunkMWZCCOTSjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkMWZCCOTSjs.BackupCodeVerifyModule; exports.Billing = _chunkMWZCCOTSjs.Billing; exports.BillingModule = _chunkMWZCCOTSjs.BillingModule; exports.BillingService = _chunkMWZCCOTSjs.BillingService; exports.BlockNoteDiffUtil = _chunkMWZCCOTSjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkMWZCCOTSjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkSYQMVTICjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.CURRENT_USER_STORAGE_KEY = _chunkMWZCCOTSjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkMWZCCOTSjs.Chunk; exports.ChunkModule = _chunkMWZCCOTSjs.ChunkModule; exports.ClientAbstractService = _chunkMWZCCOTSjs.ClientAbstractService; exports.ClientHttpMethod = _chunkMWZCCOTSjs.ClientHttpMethod; exports.Company = _chunkMWZCCOTSjs.Company; exports.CompanyFields = _chunkMWZCCOTSjs.CompanyFields; exports.CompanyModule = _chunkMWZCCOTSjs.CompanyModule; exports.CompanyService = _chunkMWZCCOTSjs.CompanyService; exports.Content = _chunkMWZCCOTSjs.Content; exports.ContentFields = _chunkMWZCCOTSjs.ContentFields; exports.ContentModule = _chunkMWZCCOTSjs.ContentModule; exports.ContentService = _chunkMWZCCOTSjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkMWZCCOTSjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkLU7DJ4QFjs.DataClassRegistry; exports.DataClassRegistry = _chunkLU7DJ4QFjs.DataClassRegistry; exports.ENV = _chunkLU7DJ4QFjs.ENV; exports.EndpointCreator = _chunkMWZCCOTSjs.EndpointCreator; exports.EntityAiStatus = _chunkMWZCCOTSjs.EntityAiStatus; exports.Feature = _chunkMWZCCOTSjs.Feature; exports.FeatureModule = _chunkMWZCCOTSjs.FeatureModule; exports.FeatureService = _chunkMWZCCOTSjs.FeatureService; exports.HandbookPage = _chunkMWZCCOTSjs.HandbookPage; exports.HandbookPageFields = _chunkMWZCCOTSjs.HandbookPageFields; exports.HandbookPageModule = _chunkMWZCCOTSjs.HandbookPageModule; exports.HandbookPageService = _chunkMWZCCOTSjs.HandbookPageService; exports.HandbookSection = _chunkMWZCCOTSjs.HandbookSection; exports.HandbookSectionModule = _chunkMWZCCOTSjs.HandbookSectionModule; exports.HandbookSectionService = _chunkMWZCCOTSjs.HandbookSectionService; exports.HandbookThread = _chunkMWZCCOTSjs.HandbookThread; exports.HandbookThreadMessage = _chunkMWZCCOTSjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkMWZCCOTSjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkMWZCCOTSjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkMWZCCOTSjs.HandbookThreadModule; exports.HandbookThreadService = _chunkMWZCCOTSjs.HandbookThreadService; exports.HowTo = _chunkMWZCCOTSjs.HowTo; exports.HowToFields = _chunkMWZCCOTSjs.HowToFields; exports.HowToModule = _chunkMWZCCOTSjs.HowToModule; exports.HowToService = _chunkMWZCCOTSjs.HowToService; exports.HttpMethod = _chunkMWZCCOTSjs.HttpMethod; exports.InvoiceStatus = _chunkMWZCCOTSjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkLU7DJ4QFjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkMWZCCOTSjs.MOBILE_BREAKPOINT; exports.Module = _chunkMWZCCOTSjs.Module; exports.ModuleModule = _chunkMWZCCOTSjs.ModuleModule; exports.ModulePaths = _chunkMWZCCOTSjs.ModulePaths; exports.ModulePathsModule = _chunkMWZCCOTSjs.ModulePathsModule; exports.ModuleRegistrar = _chunkMWZCCOTSjs.ModuleRegistrar; exports.ModuleRegistry = _chunkMWZCCOTSjs.ModuleRegistry; exports.Modules = _chunkMWZCCOTSjs.Modules; exports.Notification = _chunkMWZCCOTSjs.Notification; exports.NotificationFields = _chunkMWZCCOTSjs.NotificationFields; exports.NotificationModule = _chunkMWZCCOTSjs.NotificationModule; exports.NotificationService = _chunkMWZCCOTSjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkMWZCCOTSjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkMWZCCOTSjs.OAuthClient; exports.OAuthModule = _chunkMWZCCOTSjs.OAuthModule; exports.OAuthService = _chunkMWZCCOTSjs.OAuthService; exports.Passkey = _chunkMWZCCOTSjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkMWZCCOTSjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkMWZCCOTSjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkMWZCCOTSjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkMWZCCOTSjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkMWZCCOTSjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkMWZCCOTSjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkMWZCCOTSjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkMWZCCOTSjs.PasskeyRename; exports.PasskeyRenameModule = _chunkMWZCCOTSjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkMWZCCOTSjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkMWZCCOTSjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkMWZCCOTSjs.PaymentMethod; exports.PermissionMapping = _chunkMWZCCOTSjs.PermissionMapping; exports.PermissionMappingModule = _chunkMWZCCOTSjs.PermissionMappingModule; exports.Push = _chunkMWZCCOTSjs.Push; exports.PushModule = _chunkMWZCCOTSjs.PushModule; exports.PushService = _chunkMWZCCOTSjs.PushService; exports.RbacMatrixModel = _chunkMWZCCOTSjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkMWZCCOTSjs.RbacMatrixModule; exports.RbacService = _chunkSYQMVTICjs.RbacService; exports.ReferralModule = _chunkMWZCCOTSjs.ReferralModule; exports.ReferralService = _chunkMWZCCOTSjs.ReferralService; exports.ReferralStats = _chunkMWZCCOTSjs.ReferralStats; exports.ReferralStatsModule = _chunkMWZCCOTSjs.ReferralStatsModule; exports.RehydrationFactory = _chunkMWZCCOTSjs.RehydrationFactory; exports.Role = _chunkMWZCCOTSjs.Role; exports.RoleFields = _chunkMWZCCOTSjs.RoleFields; exports.RoleModule = _chunkMWZCCOTSjs.RoleModule; exports.RoleService = _chunkMWZCCOTSjs.RoleService; exports.S3 = _chunkMWZCCOTSjs.S3; exports.S3Module = _chunkMWZCCOTSjs.S3Module; exports.S3Service = _chunkMWZCCOTSjs.S3Service; exports.StripeCustomer = _chunkMWZCCOTSjs.StripeCustomer; exports.StripeCustomerModule = _chunkMWZCCOTSjs.StripeCustomerModule; exports.StripeCustomerService = _chunkMWZCCOTSjs.StripeCustomerService; exports.StripeInvoice = _chunkMWZCCOTSjs.StripeInvoice; exports.StripeInvoiceModule = _chunkMWZCCOTSjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkMWZCCOTSjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkMWZCCOTSjs.StripePaymentMethodModule; exports.StripePrice = _chunkMWZCCOTSjs.StripePrice; exports.StripePriceFields = _chunkMWZCCOTSjs.StripePriceFields; exports.StripePriceModule = _chunkMWZCCOTSjs.StripePriceModule; exports.StripePriceService = _chunkMWZCCOTSjs.StripePriceService; exports.StripeProduct = _chunkMWZCCOTSjs.StripeProduct; exports.StripeProductFields = _chunkMWZCCOTSjs.StripeProductFields; exports.StripeProductModule = _chunkMWZCCOTSjs.StripeProductModule; exports.StripeProductService = _chunkMWZCCOTSjs.StripeProductService; exports.StripePromotionCode = _chunkMWZCCOTSjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkMWZCCOTSjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkMWZCCOTSjs.StripePromotionCodeService; exports.StripeSubscription = _chunkMWZCCOTSjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkMWZCCOTSjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkMWZCCOTSjs.StripeSubscriptionService; exports.StripeUsage = _chunkMWZCCOTSjs.StripeUsage; exports.StripeUsageModule = _chunkMWZCCOTSjs.StripeUsageModule; exports.StripeUsageService = _chunkMWZCCOTSjs.StripeUsageService; exports.SubscriptionStatus = _chunkMWZCCOTSjs.SubscriptionStatus; exports.TableOptions = _chunkMWZCCOTSjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkMWZCCOTSjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkMWZCCOTSjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkMWZCCOTSjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkMWZCCOTSjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkMWZCCOTSjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkMWZCCOTSjs.TotpSetup; exports.TotpSetupModule = _chunkMWZCCOTSjs.TotpSetupModule; exports.TotpVerify = _chunkMWZCCOTSjs.TotpVerify; exports.TotpVerifyLogin = _chunkMWZCCOTSjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkMWZCCOTSjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkMWZCCOTSjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkMWZCCOTSjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkMWZCCOTSjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkMWZCCOTSjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkMWZCCOTSjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkMWZCCOTSjs.TwoFactorService; exports.TwoFactorStatus = _chunkMWZCCOTSjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkMWZCCOTSjs.TwoFactorStatusModule; exports.User = _chunkMWZCCOTSjs.User; exports.UserFields = _chunkMWZCCOTSjs.UserFields; exports.UserModule = _chunkMWZCCOTSjs.UserModule; exports.UserService = _chunkMWZCCOTSjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkMWZCCOTSjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkMWZCCOTSjs.Waitlist; exports.WaitlistModule = _chunkMWZCCOTSjs.WaitlistModule; exports.WaitlistService = _chunkMWZCCOTSjs.WaitlistService; exports.WaitlistStats = _chunkMWZCCOTSjs.WaitlistStats; exports.WaitlistStatsModule = _chunkMWZCCOTSjs.WaitlistStatsModule; exports.checkPermissions = _chunkMWZCCOTSjs.checkPermissions; exports.checkPermissionsFromServer = _chunkMWZCCOTSjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkMWZCCOTSjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkMWZCCOTSjs.clearLastApiTotal; exports.cn = _chunkMWZCCOTSjs.cn; exports.composeRefs = _chunkMWZCCOTSjs.composeRefs; exports.configureAuth = _chunkMWZCCOTSjs.configureAuth; exports.configureI18n = _chunkSYQMVTICjs.configureI18n; exports.configureJsonApi = _chunkSYQMVTICjs.configureJsonApi; exports.configureLogin = _chunkSYQMVTICjs.configureLogin; exports.configureReferral = _chunkSYQMVTICjs.configureReferral; exports.configureRoles = _chunkSYQMVTICjs.configureRoles; exports.configureTokenUsage = _chunkMWZCCOTSjs.configureTokenUsage; exports.configureWaitlist = _chunkSYQMVTICjs.configureWaitlist; exports.createJsonApiInclusion = _chunkMWZCCOTSjs.createJsonApiInclusion; exports.dismissToast = _chunkMWZCCOTSjs.dismissToast; exports.entityObjectSchema = _chunkMWZCCOTSjs.entityObjectSchema; exports.exists = _chunkMWZCCOTSjs.exists; exports.formatCodiceFiscale = _chunkMWZCCOTSjs.formatCodiceFiscale; exports.formatDate = _chunkMWZCCOTSjs.formatDate; exports.formatLocalDate = _chunkMWZCCOTSjs.formatLocalDate; exports.formatPartitaIva = _chunkMWZCCOTSjs.formatPartitaIva; exports.getApiUrl = _chunkSYQMVTICjs.getApiUrl; exports.getAppUrl = _chunkSYQMVTICjs.getAppUrl; exports.getBootstrapper = _chunkLU7DJ4QFjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkMWZCCOTSjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkMWZCCOTSjs.getGlobalErrorHandler; exports.getIcon = _chunkMWZCCOTSjs.getIcon; exports.getIconByModule = _chunkMWZCCOTSjs.getIconByModule; exports.getIconByModuleName = _chunkMWZCCOTSjs.getIconByModuleName; exports.getInitials = _chunkMWZCCOTSjs.getInitials; exports.getLastApiMeta = _chunkMWZCCOTSjs.getLastApiMeta; exports.getLastApiTotal = _chunkMWZCCOTSjs.getLastApiTotal; exports.getLucideIcon = _chunkMWZCCOTSjs.getLucideIcon; exports.getLucideIconByModule = _chunkMWZCCOTSjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkMWZCCOTSjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkSYQMVTICjs.getPublicApiUrl; exports.getReferralConfig = _chunkSYQMVTICjs.getReferralConfig; exports.getRoleId = _chunkSYQMVTICjs.getRoleId; exports.getStripePublishableKey = _chunkSYQMVTICjs.getStripePublishableKey; exports.getTableComponents = _chunkMWZCCOTSjs.getTableComponents; exports.getTableOptions = _chunkMWZCCOTSjs.getTableOptions; exports.getTokenHandler = _chunkMWZCCOTSjs.getTokenHandler; exports.getTokenUsageCurrency = _chunkMWZCCOTSjs.getTokenUsageCurrency; exports.getTrackablePages = _chunkSYQMVTICjs.getTrackablePages; exports.getValueFromPath = _chunkMWZCCOTSjs.getValueFromPath; exports.getWaitlistConfig = _chunkSYQMVTICjs.getWaitlistConfig; exports.handbookPageContent = _chunkMWZCCOTSjs.handbookPageContent; exports.handbookPageSummary = _chunkMWZCCOTSjs.handbookPageSummary; exports.handbookPageTitle = _chunkMWZCCOTSjs.handbookPageTitle; exports.handbookSectionSummary = _chunkMWZCCOTSjs.handbookSectionSummary; exports.handbookSectionTitle = _chunkMWZCCOTSjs.handbookSectionTitle; exports.hasBootstrapper = _chunkLU7DJ4QFjs.hasBootstrapper; exports.isReferralEnabled = _chunkSYQMVTICjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkMWZCCOTSjs.isRemoteImageSrc; exports.isRolesConfigured = _chunkSYQMVTICjs.isRolesConfigured; exports.rehydrate = _chunkMWZCCOTSjs.rehydrate; exports.rehydrateList = _chunkMWZCCOTSjs.rehydrateList; exports.resetBootstrapStore = _chunkLU7DJ4QFjs.resetBootstrapStore; exports.setBootstrapper = _chunkLU7DJ4QFjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkMWZCCOTSjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkMWZCCOTSjs.setGlobalErrorHandler; exports.showCustomToast = _chunkMWZCCOTSjs.showCustomToast; exports.showError = _chunkMWZCCOTSjs.showError; exports.showToast = _chunkMWZCCOTSjs.showToast; exports.tokenUsageModules = _chunkMWZCCOTSjs.tokenUsageModules; exports.translateData = _chunkLU7DJ4QFjs.translateData; exports.translateResponse = _chunkLU7DJ4QFjs.translateResponse; exports.tryBootstrap = _chunkLU7DJ4QFjs.tryBootstrap; exports.useComposedRefs = _chunkMWZCCOTSjs.useComposedRefs; exports.useIsMobile = _chunkMWZCCOTSjs.useIsMobile; exports.userObjectSchema = _chunkMWZCCOTSjs.userObjectSchema; exports.validateCodiceFiscale = _chunkMWZCCOTSjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkMWZCCOTSjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkMWZCCOTSjs.validatePartitaIva;
518
+ exports.ACTION_TYPES = _chunkFXWO5J2Rjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkYCHPWXHDjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkYCHPWXHDjs.AbstractApiData; exports.AbstractService = _chunkYCHPWXHDjs.AbstractService; exports.Action = _chunkYCHPWXHDjs.Action; exports.AiConnection = _chunkYCHPWXHDjs.AiConnection; exports.AiConnectionFields = _chunkYCHPWXHDjs.AiConnectionFields; exports.AiConnectionModule = _chunkYCHPWXHDjs.AiConnectionModule; exports.AiConnectionService = _chunkYCHPWXHDjs.AiConnectionService; exports.Assistant = _chunkYCHPWXHDjs.Assistant; exports.AssistantAction = _chunkYCHPWXHDjs.AssistantAction; exports.AssistantActionModule = _chunkYCHPWXHDjs.AssistantActionModule; exports.AssistantActionService = _chunkYCHPWXHDjs.AssistantActionService; exports.AssistantMessage = _chunkYCHPWXHDjs.AssistantMessage; exports.AssistantMessageModule = _chunkYCHPWXHDjs.AssistantMessageModule; exports.AssistantMessageService = _chunkYCHPWXHDjs.AssistantMessageService; exports.AssistantModule = _chunkYCHPWXHDjs.AssistantModule; exports.AssistantService = _chunkYCHPWXHDjs.AssistantService; exports.AuditLog = _chunkYCHPWXHDjs.AuditLog; exports.AuditLogModule = _chunkYCHPWXHDjs.AuditLogModule; exports.AuditLogService = _chunkYCHPWXHDjs.AuditLogService; exports.Auth = _chunkYCHPWXHDjs.Auth; exports.AuthComponent = _chunkYCHPWXHDjs.AuthComponent; exports.AuthModule = _chunkYCHPWXHDjs.AuthModule; exports.AuthService = _chunkYCHPWXHDjs.AuthService; exports.AuthorModule = _chunkYCHPWXHDjs.AuthorModule; exports.BackupCodeVerify = _chunkYCHPWXHDjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkYCHPWXHDjs.BackupCodeVerifyModule; exports.Billing = _chunkYCHPWXHDjs.Billing; exports.BillingModule = _chunkYCHPWXHDjs.BillingModule; exports.BillingService = _chunkYCHPWXHDjs.BillingService; exports.BlockNoteDiffUtil = _chunkYCHPWXHDjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkYCHPWXHDjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkFXWO5J2Rjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.CURRENT_USER_STORAGE_KEY = _chunkYCHPWXHDjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkYCHPWXHDjs.Chunk; exports.ChunkModule = _chunkYCHPWXHDjs.ChunkModule; exports.ClientAbstractService = _chunkYCHPWXHDjs.ClientAbstractService; exports.ClientHttpMethod = _chunkYCHPWXHDjs.ClientHttpMethod; exports.Company = _chunkYCHPWXHDjs.Company; exports.CompanyFields = _chunkYCHPWXHDjs.CompanyFields; exports.CompanyModule = _chunkYCHPWXHDjs.CompanyModule; exports.CompanyService = _chunkYCHPWXHDjs.CompanyService; exports.Content = _chunkYCHPWXHDjs.Content; exports.ContentFields = _chunkYCHPWXHDjs.ContentFields; exports.ContentModule = _chunkYCHPWXHDjs.ContentModule; exports.ContentService = _chunkYCHPWXHDjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkYCHPWXHDjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkLU7DJ4QFjs.DataClassRegistry; exports.DataClassRegistry = _chunkLU7DJ4QFjs.DataClassRegistry; exports.ENV = _chunkLU7DJ4QFjs.ENV; exports.EndpointCreator = _chunkYCHPWXHDjs.EndpointCreator; exports.EntityAiStatus = _chunkYCHPWXHDjs.EntityAiStatus; exports.Feature = _chunkYCHPWXHDjs.Feature; exports.FeatureModule = _chunkYCHPWXHDjs.FeatureModule; exports.FeatureService = _chunkYCHPWXHDjs.FeatureService; exports.HandbookPage = _chunkYCHPWXHDjs.HandbookPage; exports.HandbookPageFields = _chunkYCHPWXHDjs.HandbookPageFields; exports.HandbookPageModule = _chunkYCHPWXHDjs.HandbookPageModule; exports.HandbookPageService = _chunkYCHPWXHDjs.HandbookPageService; exports.HandbookSection = _chunkYCHPWXHDjs.HandbookSection; exports.HandbookSectionModule = _chunkYCHPWXHDjs.HandbookSectionModule; exports.HandbookSectionService = _chunkYCHPWXHDjs.HandbookSectionService; exports.HandbookThread = _chunkYCHPWXHDjs.HandbookThread; exports.HandbookThreadMessage = _chunkYCHPWXHDjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkYCHPWXHDjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkYCHPWXHDjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkYCHPWXHDjs.HandbookThreadModule; exports.HandbookThreadService = _chunkYCHPWXHDjs.HandbookThreadService; exports.HowTo = _chunkYCHPWXHDjs.HowTo; exports.HowToFields = _chunkYCHPWXHDjs.HowToFields; exports.HowToModule = _chunkYCHPWXHDjs.HowToModule; exports.HowToService = _chunkYCHPWXHDjs.HowToService; exports.HttpMethod = _chunkYCHPWXHDjs.HttpMethod; exports.InvoiceStatus = _chunkYCHPWXHDjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkLU7DJ4QFjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkYCHPWXHDjs.MOBILE_BREAKPOINT; exports.Module = _chunkYCHPWXHDjs.Module; exports.ModuleModule = _chunkYCHPWXHDjs.ModuleModule; exports.ModulePaths = _chunkYCHPWXHDjs.ModulePaths; exports.ModulePathsModule = _chunkYCHPWXHDjs.ModulePathsModule; exports.ModuleRegistrar = _chunkYCHPWXHDjs.ModuleRegistrar; exports.ModuleRegistry = _chunkYCHPWXHDjs.ModuleRegistry; exports.Modules = _chunkYCHPWXHDjs.Modules; exports.Notification = _chunkYCHPWXHDjs.Notification; exports.NotificationFields = _chunkYCHPWXHDjs.NotificationFields; exports.NotificationModule = _chunkYCHPWXHDjs.NotificationModule; exports.NotificationService = _chunkYCHPWXHDjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkYCHPWXHDjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkYCHPWXHDjs.OAuthClient; exports.OAuthModule = _chunkYCHPWXHDjs.OAuthModule; exports.OAuthService = _chunkYCHPWXHDjs.OAuthService; exports.Passkey = _chunkYCHPWXHDjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkYCHPWXHDjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkYCHPWXHDjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkYCHPWXHDjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkYCHPWXHDjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkYCHPWXHDjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkYCHPWXHDjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkYCHPWXHDjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkYCHPWXHDjs.PasskeyRename; exports.PasskeyRenameModule = _chunkYCHPWXHDjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkYCHPWXHDjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkYCHPWXHDjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkYCHPWXHDjs.PaymentMethod; exports.PermissionMapping = _chunkYCHPWXHDjs.PermissionMapping; exports.PermissionMappingModule = _chunkYCHPWXHDjs.PermissionMappingModule; exports.Push = _chunkYCHPWXHDjs.Push; exports.PushModule = _chunkYCHPWXHDjs.PushModule; exports.PushService = _chunkYCHPWXHDjs.PushService; exports.RbacMatrixModel = _chunkYCHPWXHDjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkYCHPWXHDjs.RbacMatrixModule; exports.RbacService = _chunkFXWO5J2Rjs.RbacService; exports.ReferralModule = _chunkYCHPWXHDjs.ReferralModule; exports.ReferralService = _chunkYCHPWXHDjs.ReferralService; exports.ReferralStats = _chunkYCHPWXHDjs.ReferralStats; exports.ReferralStatsModule = _chunkYCHPWXHDjs.ReferralStatsModule; exports.RehydrationFactory = _chunkYCHPWXHDjs.RehydrationFactory; exports.Role = _chunkYCHPWXHDjs.Role; exports.RoleFields = _chunkYCHPWXHDjs.RoleFields; exports.RoleModule = _chunkYCHPWXHDjs.RoleModule; exports.RoleService = _chunkYCHPWXHDjs.RoleService; exports.S3 = _chunkYCHPWXHDjs.S3; exports.S3Module = _chunkYCHPWXHDjs.S3Module; exports.S3Service = _chunkYCHPWXHDjs.S3Service; exports.StripeCustomer = _chunkYCHPWXHDjs.StripeCustomer; exports.StripeCustomerModule = _chunkYCHPWXHDjs.StripeCustomerModule; exports.StripeCustomerService = _chunkYCHPWXHDjs.StripeCustomerService; exports.StripeInvoice = _chunkYCHPWXHDjs.StripeInvoice; exports.StripeInvoiceModule = _chunkYCHPWXHDjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkYCHPWXHDjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkYCHPWXHDjs.StripePaymentMethodModule; exports.StripePrice = _chunkYCHPWXHDjs.StripePrice; exports.StripePriceFields = _chunkYCHPWXHDjs.StripePriceFields; exports.StripePriceModule = _chunkYCHPWXHDjs.StripePriceModule; exports.StripePriceService = _chunkYCHPWXHDjs.StripePriceService; exports.StripeProduct = _chunkYCHPWXHDjs.StripeProduct; exports.StripeProductFields = _chunkYCHPWXHDjs.StripeProductFields; exports.StripeProductModule = _chunkYCHPWXHDjs.StripeProductModule; exports.StripeProductService = _chunkYCHPWXHDjs.StripeProductService; exports.StripePromotionCode = _chunkYCHPWXHDjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkYCHPWXHDjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkYCHPWXHDjs.StripePromotionCodeService; exports.StripeSubscription = _chunkYCHPWXHDjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkYCHPWXHDjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkYCHPWXHDjs.StripeSubscriptionService; exports.StripeUsage = _chunkYCHPWXHDjs.StripeUsage; exports.StripeUsageModule = _chunkYCHPWXHDjs.StripeUsageModule; exports.StripeUsageService = _chunkYCHPWXHDjs.StripeUsageService; exports.SubscriptionStatus = _chunkYCHPWXHDjs.SubscriptionStatus; exports.TableOptions = _chunkYCHPWXHDjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkYCHPWXHDjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkYCHPWXHDjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkYCHPWXHDjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkYCHPWXHDjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkYCHPWXHDjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkYCHPWXHDjs.TotpSetup; exports.TotpSetupModule = _chunkYCHPWXHDjs.TotpSetupModule; exports.TotpVerify = _chunkYCHPWXHDjs.TotpVerify; exports.TotpVerifyLogin = _chunkYCHPWXHDjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkYCHPWXHDjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkYCHPWXHDjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkYCHPWXHDjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkYCHPWXHDjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkYCHPWXHDjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkYCHPWXHDjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkYCHPWXHDjs.TwoFactorService; exports.TwoFactorStatus = _chunkYCHPWXHDjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkYCHPWXHDjs.TwoFactorStatusModule; exports.User = _chunkYCHPWXHDjs.User; exports.UserFields = _chunkYCHPWXHDjs.UserFields; exports.UserModule = _chunkYCHPWXHDjs.UserModule; exports.UserService = _chunkYCHPWXHDjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkYCHPWXHDjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkYCHPWXHDjs.Waitlist; exports.WaitlistModule = _chunkYCHPWXHDjs.WaitlistModule; exports.WaitlistService = _chunkYCHPWXHDjs.WaitlistService; exports.WaitlistStats = _chunkYCHPWXHDjs.WaitlistStats; exports.WaitlistStatsModule = _chunkYCHPWXHDjs.WaitlistStatsModule; exports.checkPermissions = _chunkYCHPWXHDjs.checkPermissions; exports.checkPermissionsFromServer = _chunkYCHPWXHDjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkYCHPWXHDjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkYCHPWXHDjs.clearLastApiTotal; exports.cn = _chunkYCHPWXHDjs.cn; exports.composeRefs = _chunkYCHPWXHDjs.composeRefs; exports.configureAuth = _chunkYCHPWXHDjs.configureAuth; exports.configureI18n = _chunkFXWO5J2Rjs.configureI18n; exports.configureJsonApi = _chunkFXWO5J2Rjs.configureJsonApi; exports.configureLogin = _chunkFXWO5J2Rjs.configureLogin; exports.configureReferral = _chunkFXWO5J2Rjs.configureReferral; exports.configureRoles = _chunkFXWO5J2Rjs.configureRoles; exports.configureTokenUsage = _chunkYCHPWXHDjs.configureTokenUsage; exports.configureWaitlist = _chunkFXWO5J2Rjs.configureWaitlist; exports.createJsonApiInclusion = _chunkYCHPWXHDjs.createJsonApiInclusion; exports.dismissToast = _chunkYCHPWXHDjs.dismissToast; exports.entityObjectSchema = _chunkYCHPWXHDjs.entityObjectSchema; exports.exists = _chunkYCHPWXHDjs.exists; exports.formatCodiceFiscale = _chunkYCHPWXHDjs.formatCodiceFiscale; exports.formatDate = _chunkYCHPWXHDjs.formatDate; exports.formatLocalDate = _chunkYCHPWXHDjs.formatLocalDate; exports.formatPartitaIva = _chunkYCHPWXHDjs.formatPartitaIva; exports.getApiUrl = _chunkFXWO5J2Rjs.getApiUrl; exports.getAppUrl = _chunkFXWO5J2Rjs.getAppUrl; exports.getBootstrapper = _chunkLU7DJ4QFjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkYCHPWXHDjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkYCHPWXHDjs.getGlobalErrorHandler; exports.getIcon = _chunkYCHPWXHDjs.getIcon; exports.getIconByModule = _chunkYCHPWXHDjs.getIconByModule; exports.getIconByModuleName = _chunkYCHPWXHDjs.getIconByModuleName; exports.getInitials = _chunkYCHPWXHDjs.getInitials; exports.getLastApiMeta = _chunkYCHPWXHDjs.getLastApiMeta; exports.getLastApiTotal = _chunkYCHPWXHDjs.getLastApiTotal; exports.getLucideIcon = _chunkYCHPWXHDjs.getLucideIcon; exports.getLucideIconByModule = _chunkYCHPWXHDjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkYCHPWXHDjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkFXWO5J2Rjs.getPublicApiUrl; exports.getReferralConfig = _chunkFXWO5J2Rjs.getReferralConfig; exports.getRoleId = _chunkFXWO5J2Rjs.getRoleId; exports.getStripePublishableKey = _chunkFXWO5J2Rjs.getStripePublishableKey; exports.getTableComponents = _chunkYCHPWXHDjs.getTableComponents; exports.getTableOptions = _chunkYCHPWXHDjs.getTableOptions; exports.getTokenHandler = _chunkYCHPWXHDjs.getTokenHandler; exports.getTokenUsageCurrency = _chunkYCHPWXHDjs.getTokenUsageCurrency; exports.getTrackablePages = _chunkFXWO5J2Rjs.getTrackablePages; exports.getValueFromPath = _chunkYCHPWXHDjs.getValueFromPath; exports.getWaitlistConfig = _chunkFXWO5J2Rjs.getWaitlistConfig; exports.handbookPageContent = _chunkYCHPWXHDjs.handbookPageContent; exports.handbookPageSummary = _chunkYCHPWXHDjs.handbookPageSummary; exports.handbookPageTitle = _chunkYCHPWXHDjs.handbookPageTitle; exports.handbookSectionSummary = _chunkYCHPWXHDjs.handbookSectionSummary; exports.handbookSectionTitle = _chunkYCHPWXHDjs.handbookSectionTitle; exports.hasBootstrapper = _chunkLU7DJ4QFjs.hasBootstrapper; exports.isReferralEnabled = _chunkFXWO5J2Rjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkYCHPWXHDjs.isRemoteImageSrc; exports.isRolesConfigured = _chunkFXWO5J2Rjs.isRolesConfigured; exports.rehydrate = _chunkYCHPWXHDjs.rehydrate; exports.rehydrateList = _chunkYCHPWXHDjs.rehydrateList; exports.resetBootstrapStore = _chunkLU7DJ4QFjs.resetBootstrapStore; exports.setBootstrapper = _chunkLU7DJ4QFjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkYCHPWXHDjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkYCHPWXHDjs.setGlobalErrorHandler; exports.showCustomToast = _chunkYCHPWXHDjs.showCustomToast; exports.showError = _chunkYCHPWXHDjs.showError; exports.showToast = _chunkYCHPWXHDjs.showToast; exports.tokenUsageModules = _chunkYCHPWXHDjs.tokenUsageModules; exports.translateData = _chunkLU7DJ4QFjs.translateData; exports.translateResponse = _chunkLU7DJ4QFjs.translateResponse; exports.tryBootstrap = _chunkLU7DJ4QFjs.tryBootstrap; exports.useComposedRefs = _chunkYCHPWXHDjs.useComposedRefs; exports.useIsMobile = _chunkYCHPWXHDjs.useIsMobile; exports.userObjectSchema = _chunkYCHPWXHDjs.userObjectSchema; exports.validateCodiceFiscale = _chunkYCHPWXHDjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkYCHPWXHDjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkYCHPWXHDjs.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-U55JQ4NY.mjs";
21
+ } from "./chunk-JZUBFAAY.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-CK47KSFV.mjs";
247
+ } from "./chunk-O5MKEU7G.mjs";
248
248
  import "./chunk-AUXK7QSA.mjs";
249
249
  import "./chunk-C7C7VY4F.mjs";
250
250
  import {
@@ -15,7 +15,7 @@ var _chunkIOLU4ASDjs = require('../chunk-IOLU4ASD.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkMWZCCOTSjs = require('../chunk-MWZCCOTS.js');
18
+ var _chunkYCHPWXHDjs = require('../chunk-YCHPWXHD.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 _chunkMWZCCOTSjs.checkPermissionsFromServer.call(void 0, {
90
+ return _chunkYCHPWXHDjs.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 = _chunkMWZCCOTSjs.AuthService; exports.ServerCompanyService = _chunkMWZCCOTSjs.CompanyService; exports.ServerContentService = _chunkMWZCCOTSjs.ContentService; exports.ServerFeatureService = _chunkMWZCCOTSjs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunkMWZCCOTSjs.NotificationService; exports.ServerPushService = _chunkMWZCCOTSjs.PushService; exports.ServerRoleService = _chunkMWZCCOTSjs.RoleService; exports.ServerS3Service = _chunkMWZCCOTSjs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunkMWZCCOTSjs.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 = _chunkYCHPWXHDjs.AuthService; exports.ServerCompanyService = _chunkYCHPWXHDjs.CompanyService; exports.ServerContentService = _chunkYCHPWXHDjs.ContentService; exports.ServerFeatureService = _chunkYCHPWXHDjs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunkYCHPWXHDjs.NotificationService; exports.ServerPushService = _chunkYCHPWXHDjs.PushService; exports.ServerRoleService = _chunkYCHPWXHDjs.RoleService; exports.ServerS3Service = _chunkYCHPWXHDjs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunkYCHPWXHDjs.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-CK47KSFV.mjs";
18
+ } from "../chunk-O5MKEU7G.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.22.0",
3
+ "version": "3.23.0",
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",
@@ -19,6 +19,7 @@ const COST_FIELDS = [
19
19
  "cachedInputCostPer1MTokens",
20
20
  "costPerMinute",
21
21
  "costPerPage",
22
+ "costPerImage",
22
23
  ];
23
24
 
24
25
  type AiConnectionFormValues = {
@@ -47,6 +47,15 @@ function toInput(connection: AiConnectionInterface, overrides: Partial<AiConnect
47
47
  language: connection.language,
48
48
  directFormat: connection.directFormat,
49
49
  directProvider: connection.directProvider,
50
+ costPerImage: connection.costPerImage,
51
+ negativePrompt: connection.negativePrompt,
52
+ width: connection.width,
53
+ height: connection.height,
54
+ steps: connection.steps,
55
+ cfgScale: connection.cfgScale,
56
+ safeMode: connection.safeMode,
57
+ hideWatermark: connection.hideWatermark,
58
+ imageFormat: connection.imageFormat,
50
59
  ...overrides,
51
60
  };
52
61
  }
@@ -60,6 +60,15 @@ function makeHydratedData(attributeOverrides: Record<string, any> = {}) {
60
60
  language: "en",
61
61
  directFormat: "json",
62
62
  directProvider: "groq",
63
+ costPerImage: 0.01,
64
+ negativePrompt: "watermark, text",
65
+ width: 1024,
66
+ height: 1024,
67
+ steps: 30,
68
+ cfgScale: 5.5,
69
+ safeMode: false,
70
+ hideWatermark: true,
71
+ imageFormat: "png",
63
72
  hasApiKey: true,
64
73
  hasGoogleCredentials: false,
65
74
  companyId: "company-1",
@@ -114,6 +123,15 @@ describe("AiConnection.rehydrate", () => {
114
123
  expect(connection.language).toBe("en");
115
124
  expect(connection.directFormat).toBe("json");
116
125
  expect(connection.directProvider).toBe("groq");
126
+ expect(connection.costPerImage).toBe(0.01);
127
+ expect(connection.negativePrompt).toBe("watermark, text");
128
+ expect(connection.width).toBe(1024);
129
+ expect(connection.height).toBe(1024);
130
+ expect(connection.steps).toBe(30);
131
+ expect(connection.cfgScale).toBe(5.5);
132
+ expect(connection.safeMode).toBe(false);
133
+ expect(connection.hideWatermark).toBe(true);
134
+ expect(connection.imageFormat).toBe("png");
117
135
  expect(connection.hasApiKey).toBe(true);
118
136
  expect(connection.hasGoogleCredentials).toBe(false);
119
137
  expect(connection.companyId).toBe("company-1");
@@ -186,6 +204,39 @@ describe("AiConnection.createJsonApi", () => {
186
204
  expect(payload.data.attributes.position).toBe(0);
187
205
  expect(payload.data.attributes.maxOutputTokens).toBe(0);
188
206
  });
207
+
208
+ it("serialises the venice image knobs, safe_mode: false included", () => {
209
+ const payload = new AiConnection().createJsonApi(
210
+ makeInput({
211
+ connectionType: "image",
212
+ provider: "venice",
213
+ model: "lustify-v8",
214
+ width: 1024,
215
+ height: 1024,
216
+ steps: 30,
217
+ cfgScale: 5.5,
218
+ safeMode: false,
219
+ hideWatermark: true,
220
+ imageFormat: "png",
221
+ negativePrompt: "watermark, text",
222
+ costPerImage: 0.01,
223
+ }),
224
+ );
225
+
226
+ expect(payload.data.attributes).toMatchObject({
227
+ width: 1024,
228
+ height: 1024,
229
+ steps: 30,
230
+ cfgScale: 5.5,
231
+ // A tri-state flag: `false` is a REQUEST, not an absent value, so it must
232
+ // survive serialisation rather than being dropped as falsy.
233
+ safeMode: false,
234
+ hideWatermark: true,
235
+ imageFormat: "png",
236
+ negativePrompt: "watermark, text",
237
+ costPerImage: 0.01,
238
+ });
239
+ });
189
240
  });
190
241
 
191
242
  describe("AiConnection.createReorderJsonApi", () => {
@@ -47,6 +47,15 @@ export interface AiConnectionInterface extends ApiDataInterface {
47
47
  get language(): string | undefined;
48
48
  get directFormat(): string | undefined;
49
49
  get directProvider(): string | undefined;
50
+ get costPerImage(): number | undefined;
51
+ get negativePrompt(): string | undefined;
52
+ get width(): number | undefined;
53
+ get height(): number | undefined;
54
+ get steps(): number | undefined;
55
+ get cfgScale(): number | undefined;
56
+ get safeMode(): boolean | undefined;
57
+ get hideWatermark(): boolean | undefined;
58
+ get imageFormat(): string | undefined;
50
59
  /** Secrets are never serialised — the API returns presence flags instead. */
51
60
  get hasApiKey(): boolean;
52
61
  get hasGoogleCredentials(): boolean;
@@ -82,6 +91,15 @@ export type AiConnectionInput = {
82
91
  language?: string;
83
92
  directFormat?: string;
84
93
  directProvider?: string;
94
+ costPerImage?: number;
95
+ negativePrompt?: string;
96
+ width?: number;
97
+ height?: number;
98
+ steps?: number;
99
+ cfgScale?: number;
100
+ safeMode?: boolean;
101
+ hideWatermark?: boolean;
102
+ imageFormat?: string;
85
103
  /** Set on creation only — scope is immutable thereafter. */
86
104
  companyId?: string;
87
105
  };
@@ -25,6 +25,15 @@ export class AiConnection extends AbstractApiData implements AiConnectionInterfa
25
25
  private _language?: string;
26
26
  private _directFormat?: string;
27
27
  private _directProvider?: string;
28
+ private _costPerImage?: number;
29
+ private _negativePrompt?: string;
30
+ private _width?: number;
31
+ private _height?: number;
32
+ private _steps?: number;
33
+ private _cfgScale?: number;
34
+ private _safeMode?: boolean;
35
+ private _hideWatermark?: boolean;
36
+ private _imageFormat?: string;
28
37
  private _hasApiKey?: boolean;
29
38
  private _hasGoogleCredentials?: boolean;
30
39
  private _companyId?: string;
@@ -121,6 +130,42 @@ export class AiConnection extends AbstractApiData implements AiConnectionInterfa
121
130
  return this._directProvider;
122
131
  }
123
132
 
133
+ get costPerImage(): number | undefined {
134
+ return this._costPerImage;
135
+ }
136
+
137
+ get negativePrompt(): string | undefined {
138
+ return this._negativePrompt;
139
+ }
140
+
141
+ get width(): number | undefined {
142
+ return this._width;
143
+ }
144
+
145
+ get height(): number | undefined {
146
+ return this._height;
147
+ }
148
+
149
+ get steps(): number | undefined {
150
+ return this._steps;
151
+ }
152
+
153
+ get cfgScale(): number | undefined {
154
+ return this._cfgScale;
155
+ }
156
+
157
+ get safeMode(): boolean | undefined {
158
+ return this._safeMode;
159
+ }
160
+
161
+ get hideWatermark(): boolean | undefined {
162
+ return this._hideWatermark;
163
+ }
164
+
165
+ get imageFormat(): string | undefined {
166
+ return this._imageFormat;
167
+ }
168
+
124
169
  get hasApiKey(): boolean {
125
170
  return this._hasApiKey ?? false;
126
171
  }
@@ -161,6 +206,15 @@ export class AiConnection extends AbstractApiData implements AiConnectionInterfa
161
206
  this._language = attributes.language;
162
207
  this._directFormat = attributes.directFormat;
163
208
  this._directProvider = attributes.directProvider;
209
+ this._costPerImage = attributes.costPerImage;
210
+ this._negativePrompt = attributes.negativePrompt;
211
+ this._width = attributes.width;
212
+ this._height = attributes.height;
213
+ this._steps = attributes.steps;
214
+ this._cfgScale = attributes.cfgScale;
215
+ this._safeMode = attributes.safeMode;
216
+ this._hideWatermark = attributes.hideWatermark;
217
+ this._imageFormat = attributes.imageFormat;
164
218
  this._hasApiKey = attributes.hasApiKey;
165
219
  this._hasGoogleCredentials = attributes.hasGoogleCredentials;
166
220
  this._companyId = attributes.companyId;
@@ -208,6 +262,15 @@ export class AiConnection extends AbstractApiData implements AiConnectionInterfa
208
262
  "language",
209
263
  "directFormat",
210
264
  "directProvider",
265
+ "costPerImage",
266
+ "negativePrompt",
267
+ "width",
268
+ "height",
269
+ "steps",
270
+ "cfgScale",
271
+ "safeMode",
272
+ "hideWatermark",
273
+ "imageFormat",
211
274
  ] as const
212
275
  ).forEach(setIfDefined);
213
276
 
@@ -50,6 +50,15 @@ export const AI_CONNECTIONS_I18N_KEYS = [
50
50
  "ai_connections.admin.fields.language",
51
51
  "ai_connections.admin.fields.directFormat",
52
52
  "ai_connections.admin.fields.directProvider",
53
+ "ai_connections.admin.fields.costPerImage",
54
+ "ai_connections.admin.fields.negativePrompt",
55
+ "ai_connections.admin.fields.width",
56
+ "ai_connections.admin.fields.height",
57
+ "ai_connections.admin.fields.steps",
58
+ "ai_connections.admin.fields.cfgScale",
59
+ "ai_connections.admin.fields.safeMode",
60
+ "ai_connections.admin.fields.hideWatermark",
61
+ "ai_connections.admin.fields.imageFormat",
53
62
  "ai_connections.admin.fields.enabled",
54
63
  "ai_connections.admin.fields.costs_section",
55
64
  "ai_connections.admin.placeholders.name",