@carlonicora/nextjs-jsonapi 5.1.2 → 5.2.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 (105) hide show
  1. package/dist/{BlockNoteEditor-AZ627NB7.mjs → BlockNoteEditor-2QJVK2HH.mjs} +4 -4
  2. package/dist/{BlockNoteEditor-OP7LWYOG.js → BlockNoteEditor-EGY4ZAAM.js} +19 -19
  3. package/dist/{BlockNoteEditor-OP7LWYOG.js.map → BlockNoteEditor-EGY4ZAAM.js.map} +1 -1
  4. package/dist/{BlockNoteViewer-SUK7OMWH.mjs → BlockNoteViewer-6BQXJ4TB.mjs} +2 -2
  5. package/dist/{BlockNoteViewer-LK22AE7Z.js → BlockNoteViewer-I2MMFH3S.js} +3 -3
  6. package/dist/{BlockNoteViewer-LK22AE7Z.js.map → BlockNoteViewer-I2MMFH3S.js.map} +1 -1
  7. package/dist/auth.interface-CSzJ1oP1.d.ts +64 -0
  8. package/dist/auth.interface-DD4uQv2K.d.mts +64 -0
  9. package/dist/billing/index.js +441 -441
  10. package/dist/billing/index.mjs +3 -3
  11. package/dist/{chunk-DYITOVR5.mjs → chunk-2Z3ZCYXX.mjs} +173 -96
  12. package/dist/chunk-2Z3ZCYXX.mjs.map +1 -0
  13. package/dist/{chunk-YZN2774P.js → chunk-3VEQ5JZJ.js} +1336 -1259
  14. package/dist/chunk-3VEQ5JZJ.js.map +1 -0
  15. package/dist/{chunk-TO6IYGML.js → chunk-75MLT74B.js} +126 -8
  16. package/dist/chunk-75MLT74B.js.map +1 -0
  17. package/dist/{chunk-67NJY7SM.js → chunk-EXICQC4A.js} +3 -3
  18. package/dist/{chunk-67NJY7SM.js.map → chunk-EXICQC4A.js.map} +1 -1
  19. package/dist/{chunk-OCJEXAGE.mjs → chunk-HNOWSFM5.mjs} +55 -4
  20. package/dist/chunk-HNOWSFM5.mjs.map +1 -0
  21. package/dist/{chunk-OKUGTXDN.mjs → chunk-JEZQTZQ4.mjs} +121 -3
  22. package/dist/chunk-JEZQTZQ4.mjs.map +1 -0
  23. package/dist/{chunk-KL7CAQP3.mjs → chunk-NPKFMRH5.mjs} +2 -2
  24. package/dist/{chunk-VVJDWQEI.js → chunk-S5MQDWWC.js} +55 -4
  25. package/dist/chunk-S5MQDWWC.js.map +1 -0
  26. package/dist/{chunk-XCHXOCEJ.js → chunk-THKYH65N.js} +4 -4
  27. package/dist/{chunk-XCHXOCEJ.js.map → chunk-THKYH65N.js.map} +1 -1
  28. package/dist/{chunk-XLVRAHUK.mjs → chunk-YMUPTXOT.mjs} +2 -2
  29. package/dist/client/index.js +4 -4
  30. package/dist/client/index.mjs +3 -3
  31. package/dist/components/index.d.mts +17 -3
  32. package/dist/components/index.d.ts +17 -3
  33. package/dist/components/index.js +6 -4
  34. package/dist/components/index.js.map +1 -1
  35. package/dist/components/index.mjs +5 -3
  36. package/dist/contexts/index.js +4 -4
  37. package/dist/contexts/index.mjs +3 -3
  38. package/dist/core/index.d.mts +27 -7
  39. package/dist/core/index.d.ts +27 -7
  40. package/dist/core/index.js +2 -2
  41. package/dist/core/index.mjs +1 -1
  42. package/dist/features/analytics/index.js +122 -122
  43. package/dist/features/analytics/index.mjs +4 -4
  44. package/dist/features/analytics/server.js +4 -4
  45. package/dist/features/analytics/server.mjs +2 -2
  46. package/dist/features/help/index.js +37 -37
  47. package/dist/features/help/index.mjs +3 -3
  48. package/dist/features/tokenusage/index.js +125 -125
  49. package/dist/features/tokenusage/index.mjs +4 -4
  50. package/dist/index.d.mts +3 -3
  51. package/dist/index.d.ts +3 -3
  52. package/dist/index.js +13 -3
  53. package/dist/index.js.map +1 -1
  54. package/dist/index.mjs +13 -3
  55. package/dist/{s3.service-C-4YpEMu.d.ts → s3.service-CY-jgOAM.d.ts} +1 -1
  56. package/dist/{s3.service-dVj-nxMl.d.mts → s3.service-Sri0QP7Z.d.mts} +1 -1
  57. package/dist/server/index.d.mts +2 -2
  58. package/dist/server/index.d.ts +2 -2
  59. package/dist/server/index.js +3 -3
  60. package/dist/server/index.mjs +2 -2
  61. package/dist/{waitlist.config-kPfjImle.d.mts → waitlist.config-Cagmgm7-.d.mts} +7 -0
  62. package/dist/{waitlist.config-kPfjImle.d.ts → waitlist.config-Cagmgm7-.d.ts} +7 -0
  63. package/messages/en.json +15 -1
  64. package/messages/it.json +15 -1
  65. package/package.json +1 -1
  66. package/scripts/validate-messages.mjs +1 -0
  67. package/src/components/index.ts +1 -0
  68. package/src/features/auth/components/buttons/GoogleSignInButton.tsx +8 -4
  69. package/src/features/auth/components/forms/Register.tsx +20 -8
  70. package/src/features/auth/data/auth.interface.ts +2 -0
  71. package/src/features/auth/data/auth.ts +10 -0
  72. package/src/features/signup-source/SignupSourceCapture.tsx +27 -0
  73. package/src/features/signup-source/__tests__/signup-source.spec.ts +161 -0
  74. package/src/features/signup-source/index.ts +9 -0
  75. package/src/features/signup-source/signup-source.ts +135 -0
  76. package/src/features/waitlist/components/forms/WaitlistForm.tsx +2 -0
  77. package/src/features/waitlist/components/forms/WaitlistQuestionnaireRenderer.tsx +15 -13
  78. package/src/features/waitlist/components/lists/WaitlistList.tsx +60 -22
  79. package/src/features/waitlist/components/sections/WaitlistHeroSection.tsx +6 -5
  80. package/src/features/waitlist/config/waitlist.config.ts +23 -0
  81. package/src/features/waitlist/data/Waitlist.ts +51 -3
  82. package/src/features/waitlist/data/WaitlistInterface.ts +9 -1
  83. package/src/features/waitlist/data/WaitlistService.ts +3 -2
  84. package/src/features/waitlist/data/__tests__/Waitlist.spec.ts +82 -0
  85. package/src/features/waitlist/data/__tests__/WaitlistService.spec.ts +48 -0
  86. package/src/features/waitlist/data/waitlist.fields.ts +1 -0
  87. package/src/features/waitlist/hooks/__tests__/formatSignupSource.spec.ts +24 -0
  88. package/src/features/waitlist/hooks/formatSignupSource.ts +14 -0
  89. package/src/features/waitlist/hooks/useWaitlistTableStructure.tsx +26 -14
  90. package/src/hooks/__tests__/useDataListRetriever.spec.ts +69 -0
  91. package/src/hooks/__tests__/usePageTracker.spec.tsx +16 -10
  92. package/src/hooks/useDataListRetriever.ts +6 -2
  93. package/src/index.ts +3 -0
  94. package/dist/auth.interface-CeFCz9NU.d.mts +0 -34
  95. package/dist/auth.interface-D1R7VVky.d.ts +0 -34
  96. package/dist/chunk-DYITOVR5.mjs.map +0 -1
  97. package/dist/chunk-OCJEXAGE.mjs.map +0 -1
  98. package/dist/chunk-OKUGTXDN.mjs.map +0 -1
  99. package/dist/chunk-TO6IYGML.js.map +0 -1
  100. package/dist/chunk-VVJDWQEI.js.map +0 -1
  101. package/dist/chunk-YZN2774P.js.map +0 -1
  102. /package/dist/{BlockNoteEditor-AZ627NB7.mjs.map → BlockNoteEditor-2QJVK2HH.mjs.map} +0 -0
  103. /package/dist/{BlockNoteViewer-SUK7OMWH.mjs.map → BlockNoteViewer-6BQXJ4TB.mjs.map} +0 -0
  104. /package/dist/{chunk-KL7CAQP3.mjs.map → chunk-NPKFMRH5.mjs.map} +0 -0
  105. /package/dist/{chunk-XLVRAHUK.mjs.map → chunk-YMUPTXOT.mjs.map} +0 -0
@@ -9,7 +9,7 @@ import {
9
9
  percentageDelta,
10
10
  seriesColor,
11
11
  useUsageFormatters
12
- } from "../../chunk-KL7CAQP3.mjs";
12
+ } from "../../chunk-NPKFMRH5.mjs";
13
13
  import {
14
14
  Button,
15
15
  Card,
@@ -37,8 +37,8 @@ import {
37
37
  TableHeader,
38
38
  TableRow,
39
39
  usePageUrlGenerator
40
- } from "../../chunk-DYITOVR5.mjs";
41
- import "../../chunk-OKUGTXDN.mjs";
40
+ } from "../../chunk-2Z3ZCYXX.mjs";
41
+ import "../../chunk-JEZQTZQ4.mjs";
42
42
  import "../../chunk-PW42LRSL.mjs";
43
43
  import {
44
44
  AbstractService,
@@ -57,7 +57,7 @@ import {
57
57
  configureTokenUsage,
58
58
  getTokenUsageCurrency,
59
59
  tokenUsageModules
60
- } from "../../chunk-OCJEXAGE.mjs";
60
+ } from "../../chunk-HNOWSFM5.mjs";
61
61
  import "../../chunk-AUXK7QSA.mjs";
62
62
  import "../../chunk-PI56A4DG.mjs";
63
63
  import "../../chunk-V5MI7RNB.mjs";
package/dist/index.d.mts CHANGED
@@ -11,8 +11,8 @@ export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as Use
11
11
  export { ClassValue } from 'clsx';
12
12
  export { h as AiConnection, l as AiConnectionEnvDefaults, i as AiConnectionFields, n as AiConnectionInput, m as AiConnectionInterface, p as AiConnectionModule, o as AiConnectionService, j as AiProviderFieldDescriptor, k as AiProviderRegistry, A as AuthComponent, H as HandbookPageInterface, q as HandbookSectionInterface, P as PasskeyInterface, T as TotpAuthenticatorInterface, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from './HandbookSectionInterface-BYsmnPEz.mjs';
13
13
  export { A as Action, d as ModuleDefinition, a as ModuleFactory, c as ModulePermissionDefinition, M as ModuleWithPermissions, P as PageUrl, b as PermissionCheck, e as PermissionConfig, f as PermissionModule, g as PermissionUser } from './types-Bq_UA8Lg.mjs';
14
- export { A as AuthInput, b as AuthInterface, a as AuthQuery } from './auth.interface-CeFCz9NU.mjs';
15
- export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, N as NotificationService, P as PushService, R as RoleService, b as S3Input, c as S3Interface, S as S3Service, T as TwoFactorChallengeInterface, U as UserService } from './s3.service-dVj-nxMl.mjs';
14
+ export { A as AuthInput, b as AuthInterface, a as AuthQuery, S as SIGNUP_SOURCE_COOKIE, c as SIGNUP_SOURCE_COOKIE_MAX_AGE, e as SignupSource, d as captureSignupSource, g as getSignupSource, r as readSignupSourceFromLocation } from './auth.interface-DD4uQv2K.mjs';
15
+ export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, N as NotificationService, P as PushService, R as RoleService, b as S3Input, c as S3Interface, S as S3Service, T as TwoFactorChallengeInterface, U as UserService } from './s3.service-Sri0QP7Z.mjs';
16
16
  export { I as InvoiceStatus, M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, e as PriceRecurring, q as PromotionCodeValidationResult, c as ProrationLineItem, b as ProrationPreviewInterface, R as ReportUsageInput, S as StripeCustomerInterface, a as StripeInvoiceInterface, f as StripePriceInput, d as StripePriceInterface, h as StripeProductInput, g as StripeProductInterface, l as StripeSubscriptionCreateMeta, m as StripeSubscriptionCreateResponse, k as StripeSubscriptionInput, j as StripeSubscriptionInterface, n as StripeUsageInterface, i as SubscriptionStatus, p as UsageRecordInterface, U as UsageSummaryInterface } from './stripe-promotion-code.interface-ClZ7DxS9.mjs';
17
17
  export { C as CompanyInput, a as CompanyInterface, R as RoleInput, b as RoleInterface, c as UserInput, U as UserInterface } from './user.interface-CIWGlbqM.mjs';
18
18
  export { a as ContentInput, C as ContentInterface, b as NotificationInput, N as NotificationInterface } from './notification.interface-BB6GPpZY.mjs';
@@ -21,7 +21,7 @@ export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE
21
21
  export { b as TokenUsageAdminBreakdownModule, T as TokenUsageAdminSummaryModule, a as TokenUsageAdminTimelineModule, c as configureTokenUsage, g as getTokenUsageCurrency, t as tokenUsageModules } from './config-n-ZpPmOL.mjs';
22
22
  export { a as analyticsModules } from './analytics.modules-txdCLNG-.mjs';
23
23
  export { I as I18nConfig, f as configureI18n, c as configureJsonApi, g as getApiUrl, b as getAppUrl, a as getPublicApiUrl, e as getStripePublishableKey, d as getTrackablePages } from './config-BP2vyddw.mjs';
24
- export { Q as QuestionnaireField, a as QuestionnaireFieldType, b as QuestionnaireOption, W as WaitlistConfig, c as configureWaitlist, g as getWaitlistConfig } from './waitlist.config-kPfjImle.mjs';
24
+ export { Q as QuestionnaireField, a as QuestionnaireFieldType, b as QuestionnaireOption, W as WaitlistConfig, c as configureWaitlist, g as getWaitlistConfig } from './waitlist.config-Cagmgm7-.mjs';
25
25
  import { R as RbacMatrix } from './RbacTypes-BTbr27Ew.mjs';
26
26
  export { a as ACTION_TYPES, A as ActionType, C as COMPANY_ADMINISTRATOR_ROLE_ID, c as PermToken, P as PermissionValue, b as PermissionsMap, d as RbacModuleBlock } from './RbacTypes-BTbr27Ew.mjs';
27
27
  import 'react';
package/dist/index.d.ts CHANGED
@@ -11,8 +11,8 @@ export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as Use
11
11
  export { ClassValue } from 'clsx';
12
12
  export { h as AiConnection, l as AiConnectionEnvDefaults, i as AiConnectionFields, n as AiConnectionInput, m as AiConnectionInterface, p as AiConnectionModule, o as AiConnectionService, j as AiProviderFieldDescriptor, k as AiProviderRegistry, A as AuthComponent, H as HandbookPageInterface, q as HandbookSectionInterface, P as PasskeyInterface, T as TotpAuthenticatorInterface, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from './HandbookSectionInterface-OePKPbqN.js';
13
13
  export { A as Action, d as ModuleDefinition, a as ModuleFactory, c as ModulePermissionDefinition, M as ModuleWithPermissions, P as PageUrl, b as PermissionCheck, e as PermissionConfig, f as PermissionModule, g as PermissionUser } from './types-bsm8Fp55.js';
14
- export { A as AuthInput, b as AuthInterface, a as AuthQuery } from './auth.interface-D1R7VVky.js';
15
- export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, N as NotificationService, P as PushService, R as RoleService, b as S3Input, c as S3Interface, S as S3Service, T as TwoFactorChallengeInterface, U as UserService } from './s3.service-C-4YpEMu.js';
14
+ export { A as AuthInput, b as AuthInterface, a as AuthQuery, S as SIGNUP_SOURCE_COOKIE, c as SIGNUP_SOURCE_COOKIE_MAX_AGE, e as SignupSource, d as captureSignupSource, g as getSignupSource, r as readSignupSourceFromLocation } from './auth.interface-CSzJ1oP1.js';
15
+ export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, N as NotificationService, P as PushService, R as RoleService, b as S3Input, c as S3Interface, S as S3Service, T as TwoFactorChallengeInterface, U as UserService } from './s3.service-CY-jgOAM.js';
16
16
  export { I as InvoiceStatus, M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, e as PriceRecurring, q as PromotionCodeValidationResult, c as ProrationLineItem, b as ProrationPreviewInterface, R as ReportUsageInput, S as StripeCustomerInterface, a as StripeInvoiceInterface, f as StripePriceInput, d as StripePriceInterface, h as StripeProductInput, g as StripeProductInterface, l as StripeSubscriptionCreateMeta, m as StripeSubscriptionCreateResponse, k as StripeSubscriptionInput, j as StripeSubscriptionInterface, n as StripeUsageInterface, i as SubscriptionStatus, p as UsageRecordInterface, U as UsageSummaryInterface } from './stripe-promotion-code.interface-C3qqh3mi.js';
17
17
  export { C as CompanyInput, a as CompanyInterface, R as RoleInput, b as RoleInterface, c as UserInput, U as UserInterface } from './user.interface-C0ZdsBZj.js';
18
18
  export { a as ContentInput, C as ContentInterface, b as NotificationInput, N as NotificationInterface } from './notification.interface-CmAGrijJ.js';
@@ -21,7 +21,7 @@ export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE
21
21
  export { b as TokenUsageAdminBreakdownModule, T as TokenUsageAdminSummaryModule, a as TokenUsageAdminTimelineModule, c as configureTokenUsage, g as getTokenUsageCurrency, t as tokenUsageModules } from './config-B6UB7j69.js';
22
22
  export { a as analyticsModules } from './analytics.modules-Bsacu6ik.js';
23
23
  export { I as I18nConfig, f as configureI18n, c as configureJsonApi, g as getApiUrl, b as getAppUrl, a as getPublicApiUrl, e as getStripePublishableKey, d as getTrackablePages } from './config-BhW2QrRD.js';
24
- export { Q as QuestionnaireField, a as QuestionnaireFieldType, b as QuestionnaireOption, W as WaitlistConfig, c as configureWaitlist, g as getWaitlistConfig } from './waitlist.config-kPfjImle.js';
24
+ export { Q as QuestionnaireField, a as QuestionnaireFieldType, b as QuestionnaireOption, W as WaitlistConfig, c as configureWaitlist, g as getWaitlistConfig } from './waitlist.config-Cagmgm7-.js';
25
25
  import { R as RbacMatrix } from './RbacTypes-BTbr27Ew.js';
26
26
  export { a as ACTION_TYPES, A as ActionType, C as COMPANY_ADMINISTRATOR_ROLE_ID, c as PermToken, P as PermissionValue, b as PermissionsMap, d as RbacModuleBlock } from './RbacTypes-BTbr27Ew.js';
27
27
  import 'react';
package/dist/index.js CHANGED
@@ -14,7 +14,12 @@
14
14
 
15
15
 
16
16
 
17
- var _chunkTO6IYGMLjs = require('./chunk-TO6IYGML.js');
17
+
18
+
19
+
20
+
21
+
22
+ var _chunk75MLT74Bjs = require('./chunk-75MLT74B.js');
18
23
 
19
24
 
20
25
 
@@ -250,7 +255,7 @@ var _chunkG4JR3SFVjs = require('./chunk-G4JR3SFV.js');
250
255
 
251
256
 
252
257
 
253
- var _chunkVVJDWQEIjs = require('./chunk-VVJDWQEI.js');
258
+ var _chunkS5MQDWWCjs = require('./chunk-S5MQDWWC.js');
254
259
  require('./chunk-LXKSUWAV.js');
255
260
  require('./chunk-JTPRJNT2.js');
256
261
 
@@ -525,5 +530,10 @@ require('./chunk-7QVYU63E.js');
525
530
 
526
531
 
527
532
 
528
- exports.ACTION_TYPES = _chunkTO6IYGMLjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkVVJDWQEIjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkVVJDWQEIjs.AbstractApiData; exports.AbstractService = _chunkVVJDWQEIjs.AbstractService; exports.Action = _chunkVVJDWQEIjs.Action; exports.AiConnection = _chunkVVJDWQEIjs.AiConnection; exports.AiConnectionFields = _chunkVVJDWQEIjs.AiConnectionFields; exports.AiConnectionModule = _chunkVVJDWQEIjs.AiConnectionModule; exports.AiConnectionService = _chunkVVJDWQEIjs.AiConnectionService; exports.Assistant = _chunkVVJDWQEIjs.Assistant; exports.AssistantAction = _chunkVVJDWQEIjs.AssistantAction; exports.AssistantActionModule = _chunkVVJDWQEIjs.AssistantActionModule; exports.AssistantActionService = _chunkVVJDWQEIjs.AssistantActionService; exports.AssistantMessage = _chunkVVJDWQEIjs.AssistantMessage; exports.AssistantMessageModule = _chunkVVJDWQEIjs.AssistantMessageModule; exports.AssistantMessageService = _chunkVVJDWQEIjs.AssistantMessageService; exports.AssistantModule = _chunkVVJDWQEIjs.AssistantModule; exports.AssistantService = _chunkVVJDWQEIjs.AssistantService; exports.AuditLog = _chunkVVJDWQEIjs.AuditLog; exports.AuditLogModule = _chunkVVJDWQEIjs.AuditLogModule; exports.AuditLogService = _chunkVVJDWQEIjs.AuditLogService; exports.Auth = _chunkVVJDWQEIjs.Auth; exports.AuthComponent = _chunkVVJDWQEIjs.AuthComponent; exports.AuthModule = _chunkVVJDWQEIjs.AuthModule; exports.AuthService = _chunkVVJDWQEIjs.AuthService; exports.AuthorModule = _chunkVVJDWQEIjs.AuthorModule; exports.BackupCodeVerify = _chunkVVJDWQEIjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkVVJDWQEIjs.BackupCodeVerifyModule; exports.Billing = _chunkVVJDWQEIjs.Billing; exports.BillingModule = _chunkVVJDWQEIjs.BillingModule; exports.BillingService = _chunkVVJDWQEIjs.BillingService; exports.BlockNoteDiffUtil = _chunkVVJDWQEIjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkVVJDWQEIjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkTO6IYGMLjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.CURRENT_USER_STORAGE_KEY = _chunkVVJDWQEIjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkVVJDWQEIjs.Chunk; exports.ChunkModule = _chunkVVJDWQEIjs.ChunkModule; exports.ClientAbstractService = _chunkVVJDWQEIjs.ClientAbstractService; exports.ClientHttpMethod = _chunkVVJDWQEIjs.ClientHttpMethod; exports.Company = _chunkVVJDWQEIjs.Company; exports.CompanyFields = _chunkVVJDWQEIjs.CompanyFields; exports.CompanyModule = _chunkVVJDWQEIjs.CompanyModule; exports.CompanyService = _chunkVVJDWQEIjs.CompanyService; exports.Content = _chunkVVJDWQEIjs.Content; exports.ContentFields = _chunkVVJDWQEIjs.ContentFields; exports.ContentModule = _chunkVVJDWQEIjs.ContentModule; exports.ContentService = _chunkVVJDWQEIjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkVVJDWQEIjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkGHE4VT2Rjs.DataClassRegistry; exports.DataClassRegistry = _chunkGHE4VT2Rjs.DataClassRegistry; exports.ENV = _chunkGHE4VT2Rjs.ENV; exports.EndpointCreator = _chunkVVJDWQEIjs.EndpointCreator; exports.EntityAiStatus = _chunkVVJDWQEIjs.EntityAiStatus; exports.Feature = _chunkVVJDWQEIjs.Feature; exports.FeatureModule = _chunkVVJDWQEIjs.FeatureModule; exports.FeatureService = _chunkVVJDWQEIjs.FeatureService; exports.HandbookPage = _chunkVVJDWQEIjs.HandbookPage; exports.HandbookPageFields = _chunkVVJDWQEIjs.HandbookPageFields; exports.HandbookPageModule = _chunkVVJDWQEIjs.HandbookPageModule; exports.HandbookPageService = _chunkVVJDWQEIjs.HandbookPageService; exports.HandbookSection = _chunkVVJDWQEIjs.HandbookSection; exports.HandbookSectionModule = _chunkVVJDWQEIjs.HandbookSectionModule; exports.HandbookSectionService = _chunkVVJDWQEIjs.HandbookSectionService; exports.HandbookThread = _chunkVVJDWQEIjs.HandbookThread; exports.HandbookThreadMessage = _chunkVVJDWQEIjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkVVJDWQEIjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkVVJDWQEIjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkVVJDWQEIjs.HandbookThreadModule; exports.HandbookThreadService = _chunkVVJDWQEIjs.HandbookThreadService; exports.HowTo = _chunkVVJDWQEIjs.HowTo; exports.HowToFields = _chunkVVJDWQEIjs.HowToFields; exports.HowToModule = _chunkVVJDWQEIjs.HowToModule; exports.HowToService = _chunkVVJDWQEIjs.HowToService; exports.HttpMethod = _chunkVVJDWQEIjs.HttpMethod; exports.InvoiceStatus = _chunkVVJDWQEIjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkGHE4VT2Rjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkVVJDWQEIjs.MOBILE_BREAKPOINT; exports.Module = _chunkVVJDWQEIjs.Module; exports.ModuleModule = _chunkVVJDWQEIjs.ModuleModule; exports.ModulePaths = _chunkVVJDWQEIjs.ModulePaths; exports.ModulePathsModule = _chunkVVJDWQEIjs.ModulePathsModule; exports.ModuleRegistrar = _chunkVVJDWQEIjs.ModuleRegistrar; exports.ModuleRegistry = _chunkVVJDWQEIjs.ModuleRegistry; exports.Modules = _chunkVVJDWQEIjs.Modules; exports.Notification = _chunkVVJDWQEIjs.Notification; exports.NotificationFields = _chunkVVJDWQEIjs.NotificationFields; exports.NotificationModule = _chunkVVJDWQEIjs.NotificationModule; exports.NotificationService = _chunkVVJDWQEIjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkVVJDWQEIjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkVVJDWQEIjs.OAuthClient; exports.OAuthModule = _chunkVVJDWQEIjs.OAuthModule; exports.OAuthService = _chunkVVJDWQEIjs.OAuthService; exports.Passkey = _chunkVVJDWQEIjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkVVJDWQEIjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkVVJDWQEIjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkVVJDWQEIjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkVVJDWQEIjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkVVJDWQEIjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkVVJDWQEIjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkVVJDWQEIjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkVVJDWQEIjs.PasskeyRename; exports.PasskeyRenameModule = _chunkVVJDWQEIjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkVVJDWQEIjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkVVJDWQEIjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkVVJDWQEIjs.PaymentMethod; exports.PermissionMapping = _chunkVVJDWQEIjs.PermissionMapping; exports.PermissionMappingModule = _chunkVVJDWQEIjs.PermissionMappingModule; exports.Push = _chunkVVJDWQEIjs.Push; exports.PushModule = _chunkVVJDWQEIjs.PushModule; exports.PushService = _chunkVVJDWQEIjs.PushService; exports.RbacMatrixModel = _chunkVVJDWQEIjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkVVJDWQEIjs.RbacMatrixModule; exports.RbacService = _chunkTO6IYGMLjs.RbacService; exports.ReferralModule = _chunkVVJDWQEIjs.ReferralModule; exports.ReferralService = _chunkVVJDWQEIjs.ReferralService; exports.ReferralStats = _chunkVVJDWQEIjs.ReferralStats; exports.ReferralStatsModule = _chunkVVJDWQEIjs.ReferralStatsModule; exports.RehydrationFactory = _chunkVVJDWQEIjs.RehydrationFactory; exports.Role = _chunkVVJDWQEIjs.Role; exports.RoleFields = _chunkVVJDWQEIjs.RoleFields; exports.RoleModule = _chunkVVJDWQEIjs.RoleModule; exports.RoleService = _chunkVVJDWQEIjs.RoleService; exports.S3 = _chunkVVJDWQEIjs.S3; exports.S3Module = _chunkVVJDWQEIjs.S3Module; exports.S3Service = _chunkVVJDWQEIjs.S3Service; exports.StripeCustomer = _chunkVVJDWQEIjs.StripeCustomer; exports.StripeCustomerModule = _chunkVVJDWQEIjs.StripeCustomerModule; exports.StripeCustomerService = _chunkVVJDWQEIjs.StripeCustomerService; exports.StripeInvoice = _chunkVVJDWQEIjs.StripeInvoice; exports.StripeInvoiceModule = _chunkVVJDWQEIjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkVVJDWQEIjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkVVJDWQEIjs.StripePaymentMethodModule; exports.StripePrice = _chunkVVJDWQEIjs.StripePrice; exports.StripePriceFields = _chunkVVJDWQEIjs.StripePriceFields; exports.StripePriceModule = _chunkVVJDWQEIjs.StripePriceModule; exports.StripePriceService = _chunkVVJDWQEIjs.StripePriceService; exports.StripeProduct = _chunkVVJDWQEIjs.StripeProduct; exports.StripeProductFields = _chunkVVJDWQEIjs.StripeProductFields; exports.StripeProductModule = _chunkVVJDWQEIjs.StripeProductModule; exports.StripeProductService = _chunkVVJDWQEIjs.StripeProductService; exports.StripePromotionCode = _chunkVVJDWQEIjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkVVJDWQEIjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkVVJDWQEIjs.StripePromotionCodeService; exports.StripeSubscription = _chunkVVJDWQEIjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkVVJDWQEIjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkVVJDWQEIjs.StripeSubscriptionService; exports.StripeUsage = _chunkVVJDWQEIjs.StripeUsage; exports.StripeUsageModule = _chunkVVJDWQEIjs.StripeUsageModule; exports.StripeUsageService = _chunkVVJDWQEIjs.StripeUsageService; exports.SubscriptionStatus = _chunkVVJDWQEIjs.SubscriptionStatus; exports.TableOptions = _chunkVVJDWQEIjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkVVJDWQEIjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkVVJDWQEIjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkVVJDWQEIjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkVVJDWQEIjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkVVJDWQEIjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkVVJDWQEIjs.TotpSetup; exports.TotpSetupModule = _chunkVVJDWQEIjs.TotpSetupModule; exports.TotpVerify = _chunkVVJDWQEIjs.TotpVerify; exports.TotpVerifyLogin = _chunkVVJDWQEIjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkVVJDWQEIjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkVVJDWQEIjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkVVJDWQEIjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkVVJDWQEIjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkVVJDWQEIjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkVVJDWQEIjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkVVJDWQEIjs.TwoFactorService; exports.TwoFactorStatus = _chunkVVJDWQEIjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkVVJDWQEIjs.TwoFactorStatusModule; exports.User = _chunkVVJDWQEIjs.User; exports.UserFields = _chunkVVJDWQEIjs.UserFields; exports.UserModule = _chunkVVJDWQEIjs.UserModule; exports.UserService = _chunkVVJDWQEIjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkVVJDWQEIjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkVVJDWQEIjs.Waitlist; exports.WaitlistFields = _chunkVVJDWQEIjs.WaitlistFields; exports.WaitlistModule = _chunkVVJDWQEIjs.WaitlistModule; exports.WaitlistService = _chunkVVJDWQEIjs.WaitlistService; exports.WaitlistStats = _chunkVVJDWQEIjs.WaitlistStats; exports.WaitlistStatsModule = _chunkVVJDWQEIjs.WaitlistStatsModule; exports.analyticsModules = _chunkVVJDWQEIjs.analyticsModules; exports.checkPermissions = _chunkVVJDWQEIjs.checkPermissions; exports.checkPermissionsFromServer = _chunkVVJDWQEIjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkVVJDWQEIjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkVVJDWQEIjs.clearLastApiTotal; exports.cn = _chunkVVJDWQEIjs.cn; exports.composeRefs = _chunkVVJDWQEIjs.composeRefs; exports.configureAuth = _chunkVVJDWQEIjs.configureAuth; exports.configureI18n = _chunkVVJDWQEIjs.configureI18n; exports.configureJsonApi = _chunkTO6IYGMLjs.configureJsonApi; exports.configureLogin = _chunkTO6IYGMLjs.configureLogin; exports.configureReferral = _chunkTO6IYGMLjs.configureReferral; exports.configureRoles = _chunkG4JR3SFVjs.configureRoles; exports.configureTokenUsage = _chunkVVJDWQEIjs.configureTokenUsage; exports.configureWaitlist = _chunkTO6IYGMLjs.configureWaitlist; exports.createJsonApiInclusion = _chunkVVJDWQEIjs.createJsonApiInclusion; exports.dateFormatLocale = _chunkVVJDWQEIjs.dateFormatLocale; exports.dismissToast = _chunkVVJDWQEIjs.dismissToast; exports.entityObjectSchema = _chunkVVJDWQEIjs.entityObjectSchema; exports.exists = _chunkVVJDWQEIjs.exists; exports.formatCodiceFiscale = _chunkVVJDWQEIjs.formatCodiceFiscale; exports.formatDate = _chunkVVJDWQEIjs.formatDate; exports.formatLocalDate = _chunkVVJDWQEIjs.formatLocalDate; exports.formatPartitaIva = _chunkVVJDWQEIjs.formatPartitaIva; exports.getApiUrl = _chunkTO6IYGMLjs.getApiUrl; exports.getAppUrl = _chunkTO6IYGMLjs.getAppUrl; exports.getBootstrapper = _chunkGHE4VT2Rjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkVVJDWQEIjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkVVJDWQEIjs.getGlobalErrorHandler; exports.getIcon = _chunkVVJDWQEIjs.getIcon; exports.getIconByModule = _chunkVVJDWQEIjs.getIconByModule; exports.getIconByModuleName = _chunkVVJDWQEIjs.getIconByModuleName; exports.getInitials = _chunkVVJDWQEIjs.getInitials; exports.getLastApiMeta = _chunkVVJDWQEIjs.getLastApiMeta; exports.getLastApiTotal = _chunkVVJDWQEIjs.getLastApiTotal; exports.getLucideIcon = _chunkVVJDWQEIjs.getLucideIcon; exports.getLucideIconByModule = _chunkVVJDWQEIjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkVVJDWQEIjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkTO6IYGMLjs.getPublicApiUrl; exports.getReferralConfig = _chunkTO6IYGMLjs.getReferralConfig; exports.getRoleId = _chunkG4JR3SFVjs.getRoleId; exports.getStripePublishableKey = _chunkTO6IYGMLjs.getStripePublishableKey; exports.getTableComponents = _chunkVVJDWQEIjs.getTableComponents; exports.getTableOptions = _chunkVVJDWQEIjs.getTableOptions; exports.getTokenHandler = _chunkVVJDWQEIjs.getTokenHandler; exports.getTokenUsageCurrency = _chunkVVJDWQEIjs.getTokenUsageCurrency; exports.getTrackablePages = _chunkTO6IYGMLjs.getTrackablePages; exports.getValueFromPath = _chunkVVJDWQEIjs.getValueFromPath; exports.getWaitlistConfig = _chunkTO6IYGMLjs.getWaitlistConfig; exports.handbookPageContent = _chunkVVJDWQEIjs.handbookPageContent; exports.handbookPageSummary = _chunkVVJDWQEIjs.handbookPageSummary; exports.handbookPageTitle = _chunkVVJDWQEIjs.handbookPageTitle; exports.handbookSectionSummary = _chunkVVJDWQEIjs.handbookSectionSummary; exports.handbookSectionTitle = _chunkVVJDWQEIjs.handbookSectionTitle; exports.hasBootstrapper = _chunkGHE4VT2Rjs.hasBootstrapper; exports.isReferralEnabled = _chunkTO6IYGMLjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkVVJDWQEIjs.isRemoteImageSrc; exports.isRolesConfigured = _chunkG4JR3SFVjs.isRolesConfigured; exports.mergeMessages = _chunkVVJDWQEIjs.mergeMessages; exports.rehydrate = _chunkVVJDWQEIjs.rehydrate; exports.rehydrateList = _chunkVVJDWQEIjs.rehydrateList; exports.resetBootstrapStore = _chunkGHE4VT2Rjs.resetBootstrapStore; exports.setBootstrapper = _chunkGHE4VT2Rjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkVVJDWQEIjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkVVJDWQEIjs.setGlobalErrorHandler; exports.showCustomToast = _chunkVVJDWQEIjs.showCustomToast; exports.showError = _chunkVVJDWQEIjs.showError; exports.showToast = _chunkVVJDWQEIjs.showToast; exports.tokenUsageModules = _chunkVVJDWQEIjs.tokenUsageModules; exports.translateData = _chunkGHE4VT2Rjs.translateData; exports.translateResponse = _chunkGHE4VT2Rjs.translateResponse; exports.tryBootstrap = _chunkGHE4VT2Rjs.tryBootstrap; exports.useComposedRefs = _chunkVVJDWQEIjs.useComposedRefs; exports.useIsMobile = _chunkVVJDWQEIjs.useIsMobile; exports.userObjectSchema = _chunkVVJDWQEIjs.userObjectSchema; exports.validateCodiceFiscale = _chunkVVJDWQEIjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkVVJDWQEIjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkVVJDWQEIjs.validatePartitaIva;
533
+
534
+
535
+
536
+
537
+
538
+ exports.ACTION_TYPES = _chunk75MLT74Bjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkS5MQDWWCjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkS5MQDWWCjs.AbstractApiData; exports.AbstractService = _chunkS5MQDWWCjs.AbstractService; exports.Action = _chunkS5MQDWWCjs.Action; exports.AiConnection = _chunkS5MQDWWCjs.AiConnection; exports.AiConnectionFields = _chunkS5MQDWWCjs.AiConnectionFields; exports.AiConnectionModule = _chunkS5MQDWWCjs.AiConnectionModule; exports.AiConnectionService = _chunkS5MQDWWCjs.AiConnectionService; exports.Assistant = _chunkS5MQDWWCjs.Assistant; exports.AssistantAction = _chunkS5MQDWWCjs.AssistantAction; exports.AssistantActionModule = _chunkS5MQDWWCjs.AssistantActionModule; exports.AssistantActionService = _chunkS5MQDWWCjs.AssistantActionService; exports.AssistantMessage = _chunkS5MQDWWCjs.AssistantMessage; exports.AssistantMessageModule = _chunkS5MQDWWCjs.AssistantMessageModule; exports.AssistantMessageService = _chunkS5MQDWWCjs.AssistantMessageService; exports.AssistantModule = _chunkS5MQDWWCjs.AssistantModule; exports.AssistantService = _chunkS5MQDWWCjs.AssistantService; exports.AuditLog = _chunkS5MQDWWCjs.AuditLog; exports.AuditLogModule = _chunkS5MQDWWCjs.AuditLogModule; exports.AuditLogService = _chunkS5MQDWWCjs.AuditLogService; exports.Auth = _chunkS5MQDWWCjs.Auth; exports.AuthComponent = _chunkS5MQDWWCjs.AuthComponent; exports.AuthModule = _chunkS5MQDWWCjs.AuthModule; exports.AuthService = _chunkS5MQDWWCjs.AuthService; exports.AuthorModule = _chunkS5MQDWWCjs.AuthorModule; exports.BackupCodeVerify = _chunkS5MQDWWCjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkS5MQDWWCjs.BackupCodeVerifyModule; exports.Billing = _chunkS5MQDWWCjs.Billing; exports.BillingModule = _chunkS5MQDWWCjs.BillingModule; exports.BillingService = _chunkS5MQDWWCjs.BillingService; exports.BlockNoteDiffUtil = _chunkS5MQDWWCjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkS5MQDWWCjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunk75MLT74Bjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.CURRENT_USER_STORAGE_KEY = _chunkS5MQDWWCjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkS5MQDWWCjs.Chunk; exports.ChunkModule = _chunkS5MQDWWCjs.ChunkModule; exports.ClientAbstractService = _chunkS5MQDWWCjs.ClientAbstractService; exports.ClientHttpMethod = _chunkS5MQDWWCjs.ClientHttpMethod; exports.Company = _chunkS5MQDWWCjs.Company; exports.CompanyFields = _chunkS5MQDWWCjs.CompanyFields; exports.CompanyModule = _chunkS5MQDWWCjs.CompanyModule; exports.CompanyService = _chunkS5MQDWWCjs.CompanyService; exports.Content = _chunkS5MQDWWCjs.Content; exports.ContentFields = _chunkS5MQDWWCjs.ContentFields; exports.ContentModule = _chunkS5MQDWWCjs.ContentModule; exports.ContentService = _chunkS5MQDWWCjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkS5MQDWWCjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkGHE4VT2Rjs.DataClassRegistry; exports.DataClassRegistry = _chunkGHE4VT2Rjs.DataClassRegistry; exports.ENV = _chunkGHE4VT2Rjs.ENV; exports.EndpointCreator = _chunkS5MQDWWCjs.EndpointCreator; exports.EntityAiStatus = _chunkS5MQDWWCjs.EntityAiStatus; exports.Feature = _chunkS5MQDWWCjs.Feature; exports.FeatureModule = _chunkS5MQDWWCjs.FeatureModule; exports.FeatureService = _chunkS5MQDWWCjs.FeatureService; exports.HandbookPage = _chunkS5MQDWWCjs.HandbookPage; exports.HandbookPageFields = _chunkS5MQDWWCjs.HandbookPageFields; exports.HandbookPageModule = _chunkS5MQDWWCjs.HandbookPageModule; exports.HandbookPageService = _chunkS5MQDWWCjs.HandbookPageService; exports.HandbookSection = _chunkS5MQDWWCjs.HandbookSection; exports.HandbookSectionModule = _chunkS5MQDWWCjs.HandbookSectionModule; exports.HandbookSectionService = _chunkS5MQDWWCjs.HandbookSectionService; exports.HandbookThread = _chunkS5MQDWWCjs.HandbookThread; exports.HandbookThreadMessage = _chunkS5MQDWWCjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkS5MQDWWCjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkS5MQDWWCjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkS5MQDWWCjs.HandbookThreadModule; exports.HandbookThreadService = _chunkS5MQDWWCjs.HandbookThreadService; exports.HowTo = _chunkS5MQDWWCjs.HowTo; exports.HowToFields = _chunkS5MQDWWCjs.HowToFields; exports.HowToModule = _chunkS5MQDWWCjs.HowToModule; exports.HowToService = _chunkS5MQDWWCjs.HowToService; exports.HttpMethod = _chunkS5MQDWWCjs.HttpMethod; exports.InvoiceStatus = _chunkS5MQDWWCjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkGHE4VT2Rjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkS5MQDWWCjs.MOBILE_BREAKPOINT; exports.Module = _chunkS5MQDWWCjs.Module; exports.ModuleModule = _chunkS5MQDWWCjs.ModuleModule; exports.ModulePaths = _chunkS5MQDWWCjs.ModulePaths; exports.ModulePathsModule = _chunkS5MQDWWCjs.ModulePathsModule; exports.ModuleRegistrar = _chunkS5MQDWWCjs.ModuleRegistrar; exports.ModuleRegistry = _chunkS5MQDWWCjs.ModuleRegistry; exports.Modules = _chunkS5MQDWWCjs.Modules; exports.Notification = _chunkS5MQDWWCjs.Notification; exports.NotificationFields = _chunkS5MQDWWCjs.NotificationFields; exports.NotificationModule = _chunkS5MQDWWCjs.NotificationModule; exports.NotificationService = _chunkS5MQDWWCjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkS5MQDWWCjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkS5MQDWWCjs.OAuthClient; exports.OAuthModule = _chunkS5MQDWWCjs.OAuthModule; exports.OAuthService = _chunkS5MQDWWCjs.OAuthService; exports.Passkey = _chunkS5MQDWWCjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkS5MQDWWCjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkS5MQDWWCjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkS5MQDWWCjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkS5MQDWWCjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkS5MQDWWCjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkS5MQDWWCjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkS5MQDWWCjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkS5MQDWWCjs.PasskeyRename; exports.PasskeyRenameModule = _chunkS5MQDWWCjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkS5MQDWWCjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkS5MQDWWCjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkS5MQDWWCjs.PaymentMethod; exports.PermissionMapping = _chunkS5MQDWWCjs.PermissionMapping; exports.PermissionMappingModule = _chunkS5MQDWWCjs.PermissionMappingModule; exports.Push = _chunkS5MQDWWCjs.Push; exports.PushModule = _chunkS5MQDWWCjs.PushModule; exports.PushService = _chunkS5MQDWWCjs.PushService; exports.RbacMatrixModel = _chunkS5MQDWWCjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkS5MQDWWCjs.RbacMatrixModule; exports.RbacService = _chunk75MLT74Bjs.RbacService; exports.ReferralModule = _chunkS5MQDWWCjs.ReferralModule; exports.ReferralService = _chunkS5MQDWWCjs.ReferralService; exports.ReferralStats = _chunkS5MQDWWCjs.ReferralStats; exports.ReferralStatsModule = _chunkS5MQDWWCjs.ReferralStatsModule; exports.RehydrationFactory = _chunkS5MQDWWCjs.RehydrationFactory; exports.Role = _chunkS5MQDWWCjs.Role; exports.RoleFields = _chunkS5MQDWWCjs.RoleFields; exports.RoleModule = _chunkS5MQDWWCjs.RoleModule; exports.RoleService = _chunkS5MQDWWCjs.RoleService; exports.S3 = _chunkS5MQDWWCjs.S3; exports.S3Module = _chunkS5MQDWWCjs.S3Module; exports.S3Service = _chunkS5MQDWWCjs.S3Service; exports.SIGNUP_SOURCE_COOKIE = _chunk75MLT74Bjs.SIGNUP_SOURCE_COOKIE; exports.SIGNUP_SOURCE_COOKIE_MAX_AGE = _chunk75MLT74Bjs.SIGNUP_SOURCE_COOKIE_MAX_AGE; exports.StripeCustomer = _chunkS5MQDWWCjs.StripeCustomer; exports.StripeCustomerModule = _chunkS5MQDWWCjs.StripeCustomerModule; exports.StripeCustomerService = _chunkS5MQDWWCjs.StripeCustomerService; exports.StripeInvoice = _chunkS5MQDWWCjs.StripeInvoice; exports.StripeInvoiceModule = _chunkS5MQDWWCjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkS5MQDWWCjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkS5MQDWWCjs.StripePaymentMethodModule; exports.StripePrice = _chunkS5MQDWWCjs.StripePrice; exports.StripePriceFields = _chunkS5MQDWWCjs.StripePriceFields; exports.StripePriceModule = _chunkS5MQDWWCjs.StripePriceModule; exports.StripePriceService = _chunkS5MQDWWCjs.StripePriceService; exports.StripeProduct = _chunkS5MQDWWCjs.StripeProduct; exports.StripeProductFields = _chunkS5MQDWWCjs.StripeProductFields; exports.StripeProductModule = _chunkS5MQDWWCjs.StripeProductModule; exports.StripeProductService = _chunkS5MQDWWCjs.StripeProductService; exports.StripePromotionCode = _chunkS5MQDWWCjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkS5MQDWWCjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkS5MQDWWCjs.StripePromotionCodeService; exports.StripeSubscription = _chunkS5MQDWWCjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkS5MQDWWCjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkS5MQDWWCjs.StripeSubscriptionService; exports.StripeUsage = _chunkS5MQDWWCjs.StripeUsage; exports.StripeUsageModule = _chunkS5MQDWWCjs.StripeUsageModule; exports.StripeUsageService = _chunkS5MQDWWCjs.StripeUsageService; exports.SubscriptionStatus = _chunkS5MQDWWCjs.SubscriptionStatus; exports.TableOptions = _chunkS5MQDWWCjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkS5MQDWWCjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkS5MQDWWCjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkS5MQDWWCjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkS5MQDWWCjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkS5MQDWWCjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkS5MQDWWCjs.TotpSetup; exports.TotpSetupModule = _chunkS5MQDWWCjs.TotpSetupModule; exports.TotpVerify = _chunkS5MQDWWCjs.TotpVerify; exports.TotpVerifyLogin = _chunkS5MQDWWCjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkS5MQDWWCjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkS5MQDWWCjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkS5MQDWWCjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkS5MQDWWCjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkS5MQDWWCjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkS5MQDWWCjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkS5MQDWWCjs.TwoFactorService; exports.TwoFactorStatus = _chunkS5MQDWWCjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkS5MQDWWCjs.TwoFactorStatusModule; exports.User = _chunkS5MQDWWCjs.User; exports.UserFields = _chunkS5MQDWWCjs.UserFields; exports.UserModule = _chunkS5MQDWWCjs.UserModule; exports.UserService = _chunkS5MQDWWCjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkS5MQDWWCjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkS5MQDWWCjs.Waitlist; exports.WaitlistFields = _chunkS5MQDWWCjs.WaitlistFields; exports.WaitlistModule = _chunkS5MQDWWCjs.WaitlistModule; exports.WaitlistService = _chunkS5MQDWWCjs.WaitlistService; exports.WaitlistStats = _chunkS5MQDWWCjs.WaitlistStats; exports.WaitlistStatsModule = _chunkS5MQDWWCjs.WaitlistStatsModule; exports.analyticsModules = _chunkS5MQDWWCjs.analyticsModules; exports.captureSignupSource = _chunk75MLT74Bjs.captureSignupSource; exports.checkPermissions = _chunkS5MQDWWCjs.checkPermissions; exports.checkPermissionsFromServer = _chunkS5MQDWWCjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkS5MQDWWCjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkS5MQDWWCjs.clearLastApiTotal; exports.cn = _chunkS5MQDWWCjs.cn; exports.composeRefs = _chunkS5MQDWWCjs.composeRefs; exports.configureAuth = _chunkS5MQDWWCjs.configureAuth; exports.configureI18n = _chunkS5MQDWWCjs.configureI18n; exports.configureJsonApi = _chunk75MLT74Bjs.configureJsonApi; exports.configureLogin = _chunk75MLT74Bjs.configureLogin; exports.configureReferral = _chunk75MLT74Bjs.configureReferral; exports.configureRoles = _chunkG4JR3SFVjs.configureRoles; exports.configureTokenUsage = _chunkS5MQDWWCjs.configureTokenUsage; exports.configureWaitlist = _chunk75MLT74Bjs.configureWaitlist; exports.createJsonApiInclusion = _chunkS5MQDWWCjs.createJsonApiInclusion; exports.dateFormatLocale = _chunkS5MQDWWCjs.dateFormatLocale; exports.dismissToast = _chunkS5MQDWWCjs.dismissToast; exports.entityObjectSchema = _chunkS5MQDWWCjs.entityObjectSchema; exports.exists = _chunkS5MQDWWCjs.exists; exports.formatCodiceFiscale = _chunkS5MQDWWCjs.formatCodiceFiscale; exports.formatDate = _chunkS5MQDWWCjs.formatDate; exports.formatLocalDate = _chunkS5MQDWWCjs.formatLocalDate; exports.formatPartitaIva = _chunkS5MQDWWCjs.formatPartitaIva; exports.getApiUrl = _chunk75MLT74Bjs.getApiUrl; exports.getAppUrl = _chunk75MLT74Bjs.getAppUrl; exports.getBootstrapper = _chunkGHE4VT2Rjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkS5MQDWWCjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkS5MQDWWCjs.getGlobalErrorHandler; exports.getIcon = _chunkS5MQDWWCjs.getIcon; exports.getIconByModule = _chunkS5MQDWWCjs.getIconByModule; exports.getIconByModuleName = _chunkS5MQDWWCjs.getIconByModuleName; exports.getInitials = _chunkS5MQDWWCjs.getInitials; exports.getLastApiMeta = _chunkS5MQDWWCjs.getLastApiMeta; exports.getLastApiTotal = _chunkS5MQDWWCjs.getLastApiTotal; exports.getLucideIcon = _chunkS5MQDWWCjs.getLucideIcon; exports.getLucideIconByModule = _chunkS5MQDWWCjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkS5MQDWWCjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunk75MLT74Bjs.getPublicApiUrl; exports.getReferralConfig = _chunk75MLT74Bjs.getReferralConfig; exports.getRoleId = _chunkG4JR3SFVjs.getRoleId; exports.getSignupSource = _chunk75MLT74Bjs.getSignupSource; exports.getStripePublishableKey = _chunk75MLT74Bjs.getStripePublishableKey; exports.getTableComponents = _chunkS5MQDWWCjs.getTableComponents; exports.getTableOptions = _chunkS5MQDWWCjs.getTableOptions; exports.getTokenHandler = _chunkS5MQDWWCjs.getTokenHandler; exports.getTokenUsageCurrency = _chunkS5MQDWWCjs.getTokenUsageCurrency; exports.getTrackablePages = _chunk75MLT74Bjs.getTrackablePages; exports.getValueFromPath = _chunkS5MQDWWCjs.getValueFromPath; exports.getWaitlistConfig = _chunk75MLT74Bjs.getWaitlistConfig; exports.handbookPageContent = _chunkS5MQDWWCjs.handbookPageContent; exports.handbookPageSummary = _chunkS5MQDWWCjs.handbookPageSummary; exports.handbookPageTitle = _chunkS5MQDWWCjs.handbookPageTitle; exports.handbookSectionSummary = _chunkS5MQDWWCjs.handbookSectionSummary; exports.handbookSectionTitle = _chunkS5MQDWWCjs.handbookSectionTitle; exports.hasBootstrapper = _chunkGHE4VT2Rjs.hasBootstrapper; exports.isReferralEnabled = _chunk75MLT74Bjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkS5MQDWWCjs.isRemoteImageSrc; exports.isRolesConfigured = _chunkG4JR3SFVjs.isRolesConfigured; exports.mergeMessages = _chunkS5MQDWWCjs.mergeMessages; exports.readSignupSourceFromLocation = _chunk75MLT74Bjs.readSignupSourceFromLocation; exports.rehydrate = _chunkS5MQDWWCjs.rehydrate; exports.rehydrateList = _chunkS5MQDWWCjs.rehydrateList; exports.resetBootstrapStore = _chunkGHE4VT2Rjs.resetBootstrapStore; exports.setBootstrapper = _chunkGHE4VT2Rjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkS5MQDWWCjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkS5MQDWWCjs.setGlobalErrorHandler; exports.showCustomToast = _chunkS5MQDWWCjs.showCustomToast; exports.showError = _chunkS5MQDWWCjs.showError; exports.showToast = _chunkS5MQDWWCjs.showToast; exports.tokenUsageModules = _chunkS5MQDWWCjs.tokenUsageModules; exports.translateData = _chunkGHE4VT2Rjs.translateData; exports.translateResponse = _chunkGHE4VT2Rjs.translateResponse; exports.tryBootstrap = _chunkGHE4VT2Rjs.tryBootstrap; exports.useComposedRefs = _chunkS5MQDWWCjs.useComposedRefs; exports.useIsMobile = _chunkS5MQDWWCjs.useIsMobile; exports.userObjectSchema = _chunkS5MQDWWCjs.userObjectSchema; exports.validateCodiceFiscale = _chunkS5MQDWWCjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkS5MQDWWCjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkS5MQDWWCjs.validatePartitaIva;
529
539
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,qjfAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"}
1
+ {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,u6fAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"}
package/dist/index.mjs CHANGED
@@ -2,6 +2,9 @@ import {
2
2
  ACTION_TYPES,
3
3
  COMPANY_ADMINISTRATOR_ROLE_ID,
4
4
  RbacService,
5
+ SIGNUP_SOURCE_COOKIE,
6
+ SIGNUP_SOURCE_COOKIE_MAX_AGE,
7
+ captureSignupSource,
5
8
  configureJsonApi,
6
9
  configureLogin,
7
10
  configureReferral,
@@ -10,11 +13,13 @@ import {
10
13
  getAppUrl,
11
14
  getPublicApiUrl,
12
15
  getReferralConfig,
16
+ getSignupSource,
13
17
  getStripePublishableKey,
14
18
  getTrackablePages,
15
19
  getWaitlistConfig,
16
- isReferralEnabled
17
- } from "./chunk-OKUGTXDN.mjs";
20
+ isReferralEnabled,
21
+ readSignupSourceFromLocation
22
+ } from "./chunk-JEZQTZQ4.mjs";
18
23
  import {
19
24
  configureRoles,
20
25
  getRoleId,
@@ -250,7 +255,7 @@ import {
250
255
  validateCodiceFiscale,
251
256
  validateItalianTaxCode,
252
257
  validatePartitaIva
253
- } from "./chunk-OCJEXAGE.mjs";
258
+ } from "./chunk-HNOWSFM5.mjs";
254
259
  import "./chunk-AUXK7QSA.mjs";
255
260
  import "./chunk-PI56A4DG.mjs";
256
261
  import {
@@ -392,6 +397,8 @@ export {
392
397
  S3,
393
398
  S3Module,
394
399
  S3Service,
400
+ SIGNUP_SOURCE_COOKIE,
401
+ SIGNUP_SOURCE_COOKIE_MAX_AGE,
395
402
  StripeCustomer,
396
403
  StripeCustomerModule,
397
404
  StripeCustomerService,
@@ -448,6 +455,7 @@ export {
448
455
  WaitlistStats,
449
456
  WaitlistStatsModule,
450
457
  analyticsModules,
458
+ captureSignupSource,
451
459
  checkPermissions,
452
460
  checkPermissionsFromServer,
453
461
  clearLastApiMeta,
@@ -488,6 +496,7 @@ export {
488
496
  getPublicApiUrl,
489
497
  getReferralConfig,
490
498
  getRoleId,
499
+ getSignupSource,
491
500
  getStripePublishableKey,
492
501
  getTableComponents,
493
502
  getTableOptions,
@@ -506,6 +515,7 @@ export {
506
515
  isRemoteImageSrc,
507
516
  isRolesConfigured,
508
517
  mergeMessages,
518
+ readSignupSourceFromLocation,
509
519
  rehydrate,
510
520
  rehydrateList,
511
521
  resetBootstrapStore,
@@ -2,7 +2,7 @@ import { A as AbstractService, N as NextRef, P as PreviousRef } from './Abstract
2
2
  import { F as FeatureInterface } from './feature.interface-BO25VLlx.js';
3
3
  import { b as RoleInterface, U as UserInterface, c as UserInput, a as CompanyInterface, C as CompanyInput } from './user.interface-C0ZdsBZj.js';
4
4
  import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiDataInterface-BcZeXy5X.js';
5
- import { A as AuthInput, b as AuthInterface } from './auth.interface-D1R7VVky.js';
5
+ import { A as AuthInput, b as AuthInterface } from './auth.interface-CSzJ1oP1.js';
6
6
  import { C as ContentInterface, N as NotificationInterface } from './notification.interface-CmAGrijJ.js';
7
7
 
8
8
  declare class FeatureService extends AbstractService {
@@ -2,7 +2,7 @@ import { A as AbstractService, N as NextRef, P as PreviousRef } from './Abstract
2
2
  import { F as FeatureInterface } from './feature.interface-CXb1-vNq.mjs';
3
3
  import { b as RoleInterface, U as UserInterface, c as UserInput, a as CompanyInterface, C as CompanyInput } from './user.interface-CIWGlbqM.mjs';
4
4
  import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiDataInterface-BcZeXy5X.mjs';
5
- import { A as AuthInput, b as AuthInterface } from './auth.interface-CeFCz9NU.mjs';
5
+ import { A as AuthInput, b as AuthInterface } from './auth.interface-DD4uQv2K.mjs';
6
6
  import { C as ContentInterface, N as NotificationInterface } from './notification.interface-BB6GPpZY.mjs';
7
7
 
8
8
  declare class FeatureService extends AbstractService {
@@ -3,13 +3,13 @@ export { a as ServerSession, S as SessionSnapshot } from '../ServerSession-DK1z0
3
3
  import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
4
4
  import { A as ApiResponseInterface } from '../ApiResponseInterface-rsXRL_Hn.mjs';
5
5
  import { M as ModuleWithPermissions } from '../types-Bq_UA8Lg.mjs';
6
- 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-dVj-nxMl.mjs';
6
+ 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-Sri0QP7Z.mjs';
7
7
  import '../ApiDataInterface-BcZeXy5X.mjs';
8
8
  import 'lucide-react';
9
9
  import '../AbstractService-Ckm2X5fW.mjs';
10
10
  import '../feature.interface-CXb1-vNq.mjs';
11
11
  import '../user.interface-CIWGlbqM.mjs';
12
- import '../auth.interface-CeFCz9NU.mjs';
12
+ import '../auth.interface-DD4uQv2K.mjs';
13
13
  import '../notification.interface-BB6GPpZY.mjs';
14
14
 
15
15
  type CacheProfile = "seconds" | "minutes" | "hours" | "days" | "weeks" | "max" | "default";
@@ -3,13 +3,13 @@ export { a as ServerSession, S as SessionSnapshot } from '../ServerSession-DFNNN
3
3
  import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface-CYEcRUrh.js';
4
4
  import { A as ApiResponseInterface } from '../ApiResponseInterface-CWLvSCvS.js';
5
5
  import { M as ModuleWithPermissions } from '../types-bsm8Fp55.js';
6
- 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-C-4YpEMu.js';
6
+ 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-CY-jgOAM.js';
7
7
  import '../ApiDataInterface-BcZeXy5X.js';
8
8
  import 'lucide-react';
9
9
  import '../AbstractService-V3VGQMhL.js';
10
10
  import '../feature.interface-BO25VLlx.js';
11
11
  import '../user.interface-C0ZdsBZj.js';
12
- import '../auth.interface-D1R7VVky.js';
12
+ import '../auth.interface-CSzJ1oP1.js';
13
13
  import '../notification.interface-CmAGrijJ.js';
14
14
 
15
15
  type CacheProfile = "seconds" | "minutes" | "hours" | "days" | "weeks" | "max" | "default";
@@ -12,7 +12,7 @@
12
12
 
13
13
 
14
14
 
15
- var _chunkXCHXOCEJjs = require('../chunk-XCHXOCEJ.js');
15
+ var _chunkTHKYH65Njs = require('../chunk-THKYH65N.js');
16
16
 
17
17
 
18
18
  var _chunkYUO55Q5Ajs = require('../chunk-YUO55Q5A.js');
@@ -33,7 +33,7 @@ require('../chunk-G4JR3SFV.js');
33
33
 
34
34
 
35
35
 
36
- var _chunkVVJDWQEIjs = require('../chunk-VVJDWQEI.js');
36
+ var _chunkS5MQDWWCjs = require('../chunk-S5MQDWWC.js');
37
37
  require('../chunk-LXKSUWAV.js');
38
38
  require('../chunk-JTPRJNT2.js');
39
39
  require('../chunk-GHE4VT2R.js');
@@ -64,5 +64,5 @@ require('../chunk-7QVYU63E.js');
64
64
 
65
65
 
66
66
 
67
- exports.CACHE_PROFILES = _chunkIK65TDQHjs.CACHE_PROFILES; exports.ServerAuthService = _chunkVVJDWQEIjs.AuthService; exports.ServerCompanyService = _chunkVVJDWQEIjs.CompanyService; exports.ServerContentService = _chunkVVJDWQEIjs.ContentService; exports.ServerFeatureService = _chunkVVJDWQEIjs.FeatureService; exports.ServerJsonApiDelete = _chunkXCHXOCEJjs.ServerJsonApiDelete; exports.ServerJsonApiGet = _chunkXCHXOCEJjs.ServerJsonApiGet; exports.ServerJsonApiPatch = _chunkXCHXOCEJjs.ServerJsonApiPatch; exports.ServerJsonApiPost = _chunkXCHXOCEJjs.ServerJsonApiPost; exports.ServerJsonApiPut = _chunkXCHXOCEJjs.ServerJsonApiPut; exports.ServerNotificationService = _chunkVVJDWQEIjs.NotificationService; exports.ServerPushService = _chunkVVJDWQEIjs.PushService; exports.ServerRoleService = _chunkVVJDWQEIjs.RoleService; exports.ServerS3Service = _chunkVVJDWQEIjs.S3Service; exports.ServerSession = _chunkXCHXOCEJjs.ServerSession; exports.ServerUserService = _chunkVVJDWQEIjs.UserService; exports.configureServerJsonApi = _chunkXCHXOCEJjs.configureServerJsonApi; exports.getServerApiUrl = _chunkXCHXOCEJjs.getServerApiUrl; exports.getServerAppUrl = _chunkXCHXOCEJjs.getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = _chunkXCHXOCEJjs.getServerTrackablePages; exports.invalidateCacheTag = _chunkXCHXOCEJjs.invalidateCacheTag; exports.invalidateCacheTags = _chunkXCHXOCEJjs.invalidateCacheTags; exports.serverRequest = _chunk6TUB7Y6Tjs.serverRequest; exports.updateCacheTag = _chunkXCHXOCEJjs.updateCacheTag;
67
+ exports.CACHE_PROFILES = _chunkIK65TDQHjs.CACHE_PROFILES; exports.ServerAuthService = _chunkS5MQDWWCjs.AuthService; exports.ServerCompanyService = _chunkS5MQDWWCjs.CompanyService; exports.ServerContentService = _chunkS5MQDWWCjs.ContentService; exports.ServerFeatureService = _chunkS5MQDWWCjs.FeatureService; exports.ServerJsonApiDelete = _chunkTHKYH65Njs.ServerJsonApiDelete; exports.ServerJsonApiGet = _chunkTHKYH65Njs.ServerJsonApiGet; exports.ServerJsonApiPatch = _chunkTHKYH65Njs.ServerJsonApiPatch; exports.ServerJsonApiPost = _chunkTHKYH65Njs.ServerJsonApiPost; exports.ServerJsonApiPut = _chunkTHKYH65Njs.ServerJsonApiPut; exports.ServerNotificationService = _chunkS5MQDWWCjs.NotificationService; exports.ServerPushService = _chunkS5MQDWWCjs.PushService; exports.ServerRoleService = _chunkS5MQDWWCjs.RoleService; exports.ServerS3Service = _chunkS5MQDWWCjs.S3Service; exports.ServerSession = _chunkTHKYH65Njs.ServerSession; exports.ServerUserService = _chunkS5MQDWWCjs.UserService; exports.configureServerJsonApi = _chunkTHKYH65Njs.configureServerJsonApi; exports.getServerApiUrl = _chunkTHKYH65Njs.getServerApiUrl; exports.getServerAppUrl = _chunkTHKYH65Njs.getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = _chunkTHKYH65Njs.getServerTrackablePages; exports.invalidateCacheTag = _chunkTHKYH65Njs.invalidateCacheTag; exports.invalidateCacheTags = _chunkTHKYH65Njs.invalidateCacheTags; exports.serverRequest = _chunk6TUB7Y6Tjs.serverRequest; exports.updateCacheTag = _chunkTHKYH65Njs.updateCacheTag;
68
68
  //# sourceMappingURL=index.js.map
@@ -12,7 +12,7 @@ import {
12
12
  invalidateCacheTag,
13
13
  invalidateCacheTags,
14
14
  updateCacheTag
15
- } from "../chunk-XLVRAHUK.mjs";
15
+ } from "../chunk-YMUPTXOT.mjs";
16
16
  import {
17
17
  getServerToken
18
18
  } from "../chunk-F5UNXZ3J.mjs";
@@ -33,7 +33,7 @@ import {
33
33
  RoleService,
34
34
  S3Service,
35
35
  UserService
36
- } from "../chunk-OCJEXAGE.mjs";
36
+ } from "../chunk-HNOWSFM5.mjs";
37
37
  import "../chunk-AUXK7QSA.mjs";
38
38
  import "../chunk-PI56A4DG.mjs";
39
39
  import "../chunk-V5MI7RNB.mjs";
@@ -19,6 +19,13 @@ interface WaitlistConfig {
19
19
  heroSubtitle?: string;
20
20
  heroDescription?: string;
21
21
  benefits?: string[];
22
+ /**
23
+ * When true, every text above (hero title, subtitle, description, benefits and
24
+ * the questionnaire's labels, descriptions, placeholders and option labels) is
25
+ * a message key and renders through `t()`. Defaults to false: the strings
26
+ * render as given.
27
+ */
28
+ translate?: boolean;
22
29
  }
23
30
  declare function configureWaitlist(config: WaitlistConfig): void;
24
31
  declare function getWaitlistConfig(): WaitlistConfig;
@@ -19,6 +19,13 @@ interface WaitlistConfig {
19
19
  heroSubtitle?: string;
20
20
  heroDescription?: string;
21
21
  benefits?: string[];
22
+ /**
23
+ * When true, every text above (hero title, subtitle, description, benefits and
24
+ * the questionnaire's labels, descriptions, placeholders and option labels) is
25
+ * a message key and renders through `t()`. Defaults to false: the strings
26
+ * render as given.
27
+ */
28
+ translate?: boolean;
22
29
  }
23
30
  declare function configureWaitlist(config: WaitlistConfig): void;
24
31
  declare function getWaitlistConfig(): WaitlistConfig;
package/messages/en.json CHANGED
@@ -1600,6 +1600,7 @@
1600
1600
  "actions": "Actions",
1601
1601
  "email": "Email",
1602
1602
  "questionnaire": "Questionnaire",
1603
+ "source": "Source",
1603
1604
  "status": "Status",
1604
1605
  "submitted": "Submitted"
1605
1606
  },
@@ -1609,13 +1610,25 @@
1609
1610
  "questionnaire": {
1610
1611
  "view_answers": "View answers"
1611
1612
  },
1613
+ "source": {
1614
+ "direct": "Direct",
1615
+ "fields": {
1616
+ "sourceLandingPath": "Landing page",
1617
+ "sourceRef": "Ref",
1618
+ "sourceReferrer": "Referring site",
1619
+ "sourceUtmCampaign": "UTM campaign",
1620
+ "sourceUtmMedium": "UTM medium",
1621
+ "sourceUtmSource": "UTM source"
1622
+ }
1623
+ },
1612
1624
  "status": {
1613
1625
  "confirmed": "Confirmed",
1614
1626
  "invited": "Invited",
1615
1627
  "pending": "Pending",
1616
1628
  "registered": "Registered"
1617
1629
  },
1618
- "title": "Waitlist Management"
1630
+ "title": "Waitlist Management",
1631
+ "total": "Total"
1619
1632
  },
1620
1633
  "buttons": {
1621
1634
  "join": "Join Waitlist",
@@ -1632,6 +1645,7 @@
1632
1645
  "success_title": "Email Confirmed!"
1633
1646
  },
1634
1647
  "invite": {
1648
+ "email_locked_hint": "Invitations work only for the email they were sent to.",
1635
1649
  "error_expired": "This invitation has expired",
1636
1650
  "error_invalid": "Invalid invitation code",
1637
1651
  "error_validation_failed": "Failed to validate invitation",
package/messages/it.json CHANGED
@@ -1600,6 +1600,7 @@
1600
1600
  "actions": "Azioni",
1601
1601
  "email": "Email",
1602
1602
  "questionnaire": "Questionario",
1603
+ "source": "Provenienza",
1603
1604
  "status": "Stato",
1604
1605
  "submitted": "Inviato"
1605
1606
  },
@@ -1609,13 +1610,25 @@
1609
1610
  "questionnaire": {
1610
1611
  "view_answers": "Vedi le risposte"
1611
1612
  },
1613
+ "source": {
1614
+ "direct": "Diretto",
1615
+ "fields": {
1616
+ "sourceLandingPath": "Pagina d'arrivo",
1617
+ "sourceRef": "Ref",
1618
+ "sourceReferrer": "Sito di provenienza",
1619
+ "sourceUtmCampaign": "UTM campaign",
1620
+ "sourceUtmMedium": "UTM medium",
1621
+ "sourceUtmSource": "UTM source"
1622
+ }
1623
+ },
1612
1624
  "status": {
1613
1625
  "confirmed": "Confermato",
1614
1626
  "invited": "Invitato",
1615
1627
  "pending": "In attesa",
1616
1628
  "registered": "Registrato"
1617
1629
  },
1618
- "title": "Gestione lista d'attesa"
1630
+ "title": "Gestione lista d'attesa",
1631
+ "total": "Totale"
1619
1632
  },
1620
1633
  "buttons": {
1621
1634
  "join": "Iscriviti alla lista d'attesa",
@@ -1632,6 +1645,7 @@
1632
1645
  "success_title": "Email confermata!"
1633
1646
  },
1634
1647
  "invite": {
1648
+ "email_locked_hint": "Gli inviti valgono solo per l'email a cui sono stati mandati.",
1635
1649
  "error_expired": "Questo invito è scaduto",
1636
1650
  "error_invalid": "Codice d'invito non valido",
1637
1651
  "error_validation_failed": "Impossibile verificare l'invito",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlonicora/nextjs-jsonapi",
3
- "version": "5.1.2",
3
+ "version": "5.2.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",
@@ -41,6 +41,7 @@ export const APP_PROVIDED_KEYS = [
41
41
  // meaning, not an app's domain. Each entry carries its reason.
42
42
  const APP_WORD_EXEMPT_KEYS = new Map([
43
43
  ["analytics.admin.dimensions.campaign", "the utm_campaign dimension of web analytics"],
44
+ ["waitlist.admin.source.fields.sourceUtmCampaign", "the utm_campaign tag of a waitlist sign-up source"],
44
45
  ["help.modes.how-to", 'Italian "pratiche" = practical (how-to guides), not a case file'],
45
46
  ["howto.howToType.how-to", 'Italian "pratica" = practical (how-to guide), not a case file'],
46
47
  ]);
@@ -34,6 +34,7 @@ export * from "../features/feature/components";
34
34
  export * from "../features/notification/components";
35
35
  export * from "../features/onboarding/components";
36
36
  export * from "../features/referral/components";
37
+ export { SignupSourceCapture } from "../features/signup-source/SignupSourceCapture";
37
38
  export * from "../features/role/components";
38
39
  export * from "../features/user/components";
39
40
  export * from "../features/oauth/components";
@@ -4,23 +4,27 @@ import { useTranslations } from "next-intl";
4
4
  import { getPublicApiUrl } from "../../../../client/config";
5
5
  import { isGoogleAuthEnabled } from "../../../../login";
6
6
  import { Button, Link } from "../../../../shadcnui";
7
+ import { SignupSource } from "../../../signup-source/signup-source";
7
8
 
8
9
  interface GoogleSignInButtonProps {
9
10
  referralCode?: string | null;
11
+ source?: SignupSource;
10
12
  }
11
13
 
12
- export function GoogleSignInButton({ referralCode }: GoogleSignInButtonProps) {
14
+ export function GoogleSignInButton({ referralCode, source }: GoogleSignInButtonProps) {
13
15
  const t = useTranslations();
14
16
 
15
17
  if (!isGoogleAuthEnabled()) {
16
18
  return null;
17
19
  }
18
20
 
19
- // Build OAuth URL with referral parameter if available
21
+ // Build OAuth URL with referral and sign-up source parameters if available
20
22
  const buildGoogleOAuthUrl = (): string => {
21
23
  const baseUrl = `${getPublicApiUrl()}auth/google`;
22
- if (!referralCode) return baseUrl;
23
- return `${baseUrl}?referral=${encodeURIComponent(referralCode)}`;
24
+ const params: string[] = [];
25
+ if (referralCode) params.push(`referral=${encodeURIComponent(referralCode)}`);
26
+ if (source) params.push(`source=${encodeURIComponent(JSON.stringify(source))}`);
27
+ return params.length ? `${baseUrl}?${params.join("&")}` : baseUrl;
24
28
  };
25
29
 
26
30
  return (
@@ -22,6 +22,7 @@ import {
22
22
  Form,
23
23
  Link,
24
24
  } from "../../../../shadcnui";
25
+ import { getSignupSource, SignupSource } from "../../../signup-source/signup-source";
25
26
  import { WaitlistService } from "../../../waitlist/data/WaitlistService";
26
27
  import { useAuthContext } from "../../contexts";
27
28
  import { AuthService } from "../../data/auth.service";
@@ -48,12 +49,17 @@ function clearReferralCode(): void {
48
49
  document.cookie = `${REFERRAL_COOKIE_NAME}=; path=/; max-age=0; SameSite=Lax`;
49
50
  }
50
51
 
51
- // Helper function to build OAuth URLs with both invite and referral codes
52
- function buildOAuthQueryParams(inviteCode?: string | null, referralCode?: string | null): string {
53
- const params = new URLSearchParams();
54
- if (inviteCode) params.set("invite", inviteCode);
55
- if (referralCode) params.set("referral", referralCode);
56
- return params.toString() ? `?${params.toString()}` : "";
52
+ // Helper function to build OAuth URLs with invite code, referral code and sign-up source
53
+ function buildOAuthQueryParams(
54
+ inviteCode?: string | null,
55
+ referralCode?: string | null,
56
+ source?: SignupSource,
57
+ ): string {
58
+ const params: string[] = [];
59
+ if (inviteCode) params.push(`invite=${encodeURIComponent(inviteCode)}`);
60
+ if (referralCode) params.push(`referral=${encodeURIComponent(referralCode)}`);
61
+ if (source) params.push(`source=${encodeURIComponent(JSON.stringify(source))}`);
62
+ return params.length ? `?${params.join("&")}` : "";
57
63
  }
58
64
 
59
65
  export default function Register() {
@@ -73,9 +79,12 @@ export default function Register() {
73
79
 
74
80
  // Store referral code from cookie on mount (must use useState to trigger re-render for OAuth links)
75
81
  const [referralCode, setReferralCode] = useState<string | null>(null);
82
+ // Sign-up source (memory or cookie) read on mount for the OAuth links
83
+ const [signupSource, setSignupSource] = useState<SignupSource | undefined>(undefined);
76
84
  useEffect(() => {
77
85
  const code = getReferralCode();
78
86
  setReferralCode(code);
87
+ setSignupSource(getSignupSource());
79
88
  }, []);
80
89
 
81
90
  const formSchema = z.object({
@@ -152,6 +161,7 @@ export default function Register() {
152
161
  marketingConsentAt: values.marketingConsent ? new Date().toISOString() : null,
153
162
  inviteCode: inviteCode ?? undefined,
154
163
  referralCode: referralCode ?? undefined,
164
+ source: getSignupSource(),
155
165
  };
156
166
 
157
167
  await AuthService.register(payload);
@@ -267,6 +277,8 @@ export default function Register() {
267
277
  id="email"
268
278
  name={t(`common.fields.email.label`)}
269
279
  placeholder={t(`common.fields.email.placeholder`)}
280
+ disabled={inviteValidated}
281
+ description={inviteValidated ? t("waitlist.invite.email_locked_hint") : undefined}
270
282
  />
271
283
  <FormPassword
272
284
  isRequired
@@ -296,7 +308,7 @@ export default function Register() {
296
308
  <div className="space-y-2">
297
309
  {isGoogleAuthEnabled() && (
298
310
  <Link
299
- href={`${getPublicApiUrl()}auth/google${buildOAuthQueryParams(inviteCode, referralCode)}`}
311
+ href={`${getPublicApiUrl()}auth/google${buildOAuthQueryParams(inviteCode, referralCode, signupSource)}`}
300
312
  className="flex w-full"
301
313
  >
302
314
  <Button
@@ -328,7 +340,7 @@ export default function Register() {
328
340
  )}
329
341
  {isDiscordAuthEnabled() && (
330
342
  <Link
331
- href={`${getPublicApiUrl()}auth/discord${buildOAuthQueryParams(inviteCode, referralCode)}`}
343
+ href={`${getPublicApiUrl()}auth/discord${buildOAuthQueryParams(inviteCode, referralCode, signupSource)}`}
332
344
  className="flex w-full"
333
345
  >
334
346
  <Button className="w-full" variant="outline" type="button">