@carlonicora/nextjs-jsonapi 5.1.3 → 5.3.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 (173) hide show
  1. package/dist/{BlockNoteEditor-KO6YFNIU.js → BlockNoteEditor-UJ6363LC.js} +19 -19
  2. package/dist/{BlockNoteEditor-KO6YFNIU.js.map → BlockNoteEditor-UJ6363LC.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-66FJUDL4.mjs → BlockNoteEditor-WTSQANKI.mjs} +4 -4
  4. package/dist/{BlockNoteViewer-LK22AE7Z.js → BlockNoteViewer-EL4JFB6P.js} +3 -3
  5. package/dist/{BlockNoteViewer-LK22AE7Z.js.map → BlockNoteViewer-EL4JFB6P.js.map} +1 -1
  6. package/dist/{BlockNoteViewer-SUK7OMWH.mjs → BlockNoteViewer-JVKWJZ6J.mjs} +2 -2
  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-SZQNUGDG.js → chunk-3BAM23VA.js} +1005 -929
  12. package/dist/chunk-3BAM23VA.js.map +1 -0
  13. package/dist/{chunk-OKUGTXDN.mjs → chunk-6WU74VFU.mjs} +121 -3
  14. package/dist/chunk-6WU74VFU.mjs.map +1 -0
  15. package/dist/{chunk-VVJDWQEI.js → chunk-CRI4T47Y.js} +790 -179
  16. package/dist/chunk-CRI4T47Y.js.map +1 -0
  17. package/dist/{chunk-TO6IYGML.js → chunk-EO75CV76.js} +126 -8
  18. package/dist/chunk-EO75CV76.js.map +1 -0
  19. package/dist/{chunk-KL7CAQP3.mjs → chunk-FNTQQFLH.mjs} +2 -2
  20. package/dist/{chunk-OCJEXAGE.mjs → chunk-JQWI62NV.mjs} +617 -6
  21. package/dist/chunk-JQWI62NV.mjs.map +1 -0
  22. package/dist/{chunk-5JADF7ZA.mjs → chunk-MIZTWBPX.mjs} +171 -95
  23. package/dist/chunk-MIZTWBPX.mjs.map +1 -0
  24. package/dist/{chunk-XLVRAHUK.mjs → chunk-QKZUE5OF.mjs} +2 -2
  25. package/dist/{chunk-67NJY7SM.js → chunk-QQQE3N2X.js} +3 -3
  26. package/dist/{chunk-67NJY7SM.js.map → chunk-QQQE3N2X.js.map} +1 -1
  27. package/dist/{chunk-XCHXOCEJ.js → chunk-XGTQWBDJ.js} +4 -4
  28. package/dist/{chunk-XCHXOCEJ.js.map → chunk-XGTQWBDJ.js.map} +1 -1
  29. package/dist/client/index.d.mts +6 -39
  30. package/dist/client/index.d.ts +6 -39
  31. package/dist/client/index.js +4 -4
  32. package/dist/client/index.mjs +3 -3
  33. package/dist/components/index.d.mts +19 -5
  34. package/dist/components/index.d.ts +19 -5
  35. package/dist/components/index.js +6 -4
  36. package/dist/components/index.js.map +1 -1
  37. package/dist/components/index.mjs +5 -3
  38. package/dist/contexts/index.js +4 -4
  39. package/dist/contexts/index.mjs +3 -3
  40. package/dist/core/index.d.mts +214 -8
  41. package/dist/core/index.d.ts +214 -8
  42. package/dist/core/index.js +30 -2
  43. package/dist/core/index.js.map +1 -1
  44. package/dist/core/index.mjs +29 -1
  45. package/dist/email-automation-enrollment.fields-BZvF14qx.d.mts +82 -0
  46. package/dist/email-automation-enrollment.fields-Cp3VMzFq.d.ts +82 -0
  47. package/dist/email-automations/index.css +30 -0
  48. package/dist/email-automations/index.css.map +1 -0
  49. package/dist/email-automations/index.d.mts +303 -0
  50. package/dist/email-automations/index.d.ts +303 -0
  51. package/dist/email-automations/index.js +1705 -0
  52. package/dist/email-automations/index.js.map +1 -0
  53. package/dist/email-automations/index.mjs +1705 -0
  54. package/dist/email-automations/index.mjs.map +1 -0
  55. package/dist/features/analytics/index.js +122 -122
  56. package/dist/features/analytics/index.mjs +4 -4
  57. package/dist/features/analytics/server.js +4 -4
  58. package/dist/features/analytics/server.mjs +2 -2
  59. package/dist/features/help/index.js +37 -37
  60. package/dist/features/help/index.mjs +3 -3
  61. package/dist/features/tokenusage/index.js +125 -125
  62. package/dist/features/tokenusage/index.mjs +4 -4
  63. package/dist/index.d.mts +5 -4
  64. package/dist/index.d.ts +5 -4
  65. package/dist/index.js +41 -3
  66. package/dist/index.js.map +1 -1
  67. package/dist/index.mjs +41 -3
  68. package/dist/{s3.service-C-4YpEMu.d.ts → s3.service-CY-jgOAM.d.ts} +1 -1
  69. package/dist/{s3.service-dVj-nxMl.d.mts → s3.service-Sri0QP7Z.d.mts} +1 -1
  70. package/dist/server/index.d.mts +2 -2
  71. package/dist/server/index.d.ts +2 -2
  72. package/dist/server/index.js +3 -3
  73. package/dist/server/index.mjs +2 -2
  74. package/dist/types-70acd-8C.d.mts +39 -0
  75. package/dist/types-l8SFleXi.d.ts +39 -0
  76. package/dist/{waitlist.config-kPfjImle.d.mts → waitlist.config-Cagmgm7-.d.mts} +7 -0
  77. package/dist/{waitlist.config-kPfjImle.d.ts → waitlist.config-Cagmgm7-.d.ts} +7 -0
  78. package/messages/en.json +132 -1
  79. package/messages/it.json +132 -1
  80. package/package.json +11 -1
  81. package/scripts/validate-messages.mjs +1 -0
  82. package/src/components/forms/FormFieldWrapper.tsx +1 -1
  83. package/src/components/forms/FormTextarea.tsx +2 -1
  84. package/src/components/index.ts +1 -0
  85. package/src/core/index.ts +8 -0
  86. package/src/core/registry/ModuleRegistry.ts +5 -0
  87. package/src/email-automations/index.ts +5 -0
  88. package/src/features/auth/components/buttons/GoogleSignInButton.tsx +8 -4
  89. package/src/features/auth/components/forms/Register.tsx +20 -8
  90. package/src/features/auth/data/auth.interface.ts +2 -0
  91. package/src/features/auth/data/auth.ts +10 -0
  92. package/src/features/email-automation/EmailAutomationEnrollmentModule.ts +11 -0
  93. package/src/features/email-automation/EmailAutomationModule.ts +30 -0
  94. package/src/features/email-automation/EmailAutomationStepModule.ts +11 -0
  95. package/src/features/email-automation/EmailAutomationTriggerModule.ts +11 -0
  96. package/src/features/email-automation/components/__tests__/EmailAutomationEditor.spec.tsx +104 -0
  97. package/src/features/email-automation/components/canvas/EmailAutomationActiveSwitch.tsx +49 -0
  98. package/src/features/email-automation/components/canvas/EmailAutomationCanvas.tsx +474 -0
  99. package/src/features/email-automation/components/canvas/EmailAutomationCanvasInspector.tsx +89 -0
  100. package/src/features/email-automation/components/canvas/EmailAutomationCanvasTab.tsx +32 -0
  101. package/src/features/email-automation/components/canvas/__tests__/buildCanvasGraph.spec.ts +67 -0
  102. package/src/features/email-automation/components/canvas/buildCanvasGraph.ts +141 -0
  103. package/src/features/email-automation/components/canvas/edges/DelayEdge.tsx +68 -0
  104. package/src/features/email-automation/components/canvas/nodes/EmailStepNode.tsx +43 -0
  105. package/src/features/email-automation/components/canvas/nodes/TriggerNode.tsx +23 -0
  106. package/src/features/email-automation/components/canvas/shared/CanvasToolbar.tsx +53 -0
  107. package/src/features/email-automation/components/canvas/shared/EmptyCanvas.tsx +11 -0
  108. package/src/features/email-automation/components/canvas/shared/__tests__/autoLayout.spec.ts +42 -0
  109. package/src/features/email-automation/components/canvas/shared/__tests__/longPress.spec.ts +51 -0
  110. package/src/features/email-automation/components/canvas/shared/autoLayout.ts +55 -0
  111. package/src/features/email-automation/components/canvas/shared/index.ts +4 -0
  112. package/src/features/email-automation/components/canvas/shared/longPress.ts +57 -0
  113. package/src/features/email-automation/components/containers/EmailAutomationContainer.tsx +80 -0
  114. package/src/features/email-automation/components/containers/EmailAutomationsListContainer.tsx +27 -0
  115. package/src/features/email-automation/components/forms/EmailAutomationEditor.tsx +153 -0
  116. package/src/features/email-automation/components/forms/EmailStepEditor.tsx +151 -0
  117. package/src/features/email-automation/components/index.ts +15 -0
  118. package/src/features/email-automation/components/lists/EmailAutomationRecipientsList.tsx +90 -0
  119. package/src/features/email-automation/components/lists/EmailAutomationsList.tsx +76 -0
  120. package/src/features/email-automation/components/unsubscribe/EmailUnsubscribe.tsx +99 -0
  121. package/src/features/email-automation/components/unsubscribe/__tests__/EmailUnsubscribe.spec.tsx +55 -0
  122. package/src/features/email-automation/contexts/EmailAutomationContext.tsx +175 -0
  123. package/src/features/email-automation/data/EmailAutomation.ts +87 -0
  124. package/src/features/email-automation/data/EmailAutomationEnrollment.ts +105 -0
  125. package/src/features/email-automation/data/EmailAutomationEnrollmentInterface.ts +18 -0
  126. package/src/features/email-automation/data/EmailAutomationEnrollmentService.ts +31 -0
  127. package/src/features/email-automation/data/EmailAutomationInterface.ts +22 -0
  128. package/src/features/email-automation/data/EmailAutomationService.ts +106 -0
  129. package/src/features/email-automation/data/EmailAutomationStep.ts +104 -0
  130. package/src/features/email-automation/data/EmailAutomationStepInterface.ts +23 -0
  131. package/src/features/email-automation/data/EmailAutomationStepService.ts +80 -0
  132. package/src/features/email-automation/data/EmailAutomationTrigger.ts +28 -0
  133. package/src/features/email-automation/data/EmailAutomationTriggerInterface.ts +6 -0
  134. package/src/features/email-automation/data/__tests__/email-automation-models.spec.ts +103 -0
  135. package/src/features/email-automation/data/email-automation-enrollment.fields.ts +8 -0
  136. package/src/features/email-automation/data/email-automation.fields.ts +9 -0
  137. package/src/features/email-automation/data/index.ts +13 -0
  138. package/src/features/email-automation/hooks/index.ts +2 -0
  139. package/src/features/email-automation/hooks/useEmailAutomationEnrollmentTableStructure.tsx +126 -0
  140. package/src/features/email-automation/hooks/useEmailAutomationTableStructure.tsx +119 -0
  141. package/src/features/email-automation/index.ts +5 -0
  142. package/src/features/signup-source/SignupSourceCapture.tsx +27 -0
  143. package/src/features/signup-source/__tests__/signup-source.spec.ts +161 -0
  144. package/src/features/signup-source/index.ts +9 -0
  145. package/src/features/signup-source/signup-source.ts +135 -0
  146. package/src/features/waitlist/components/forms/WaitlistForm.tsx +2 -0
  147. package/src/features/waitlist/components/forms/WaitlistQuestionnaireRenderer.tsx +15 -13
  148. package/src/features/waitlist/components/lists/WaitlistList.tsx +60 -22
  149. package/src/features/waitlist/components/sections/WaitlistHeroSection.tsx +6 -5
  150. package/src/features/waitlist/config/waitlist.config.ts +23 -0
  151. package/src/features/waitlist/data/Waitlist.ts +51 -3
  152. package/src/features/waitlist/data/WaitlistInterface.ts +9 -1
  153. package/src/features/waitlist/data/WaitlistService.ts +3 -2
  154. package/src/features/waitlist/data/__tests__/Waitlist.spec.ts +82 -0
  155. package/src/features/waitlist/data/__tests__/WaitlistService.spec.ts +48 -0
  156. package/src/features/waitlist/data/waitlist.fields.ts +1 -0
  157. package/src/features/waitlist/hooks/__tests__/formatSignupSource.spec.ts +24 -0
  158. package/src/features/waitlist/hooks/formatSignupSource.ts +14 -0
  159. package/src/features/waitlist/hooks/useWaitlistTableStructure.tsx +26 -14
  160. package/src/hooks/__tests__/usePageTracker.spec.tsx +16 -10
  161. package/src/index.ts +3 -0
  162. package/dist/auth.interface-CeFCz9NU.d.mts +0 -34
  163. package/dist/auth.interface-D1R7VVky.d.ts +0 -34
  164. package/dist/chunk-5JADF7ZA.mjs.map +0 -1
  165. package/dist/chunk-OCJEXAGE.mjs.map +0 -1
  166. package/dist/chunk-OKUGTXDN.mjs.map +0 -1
  167. package/dist/chunk-SZQNUGDG.js.map +0 -1
  168. package/dist/chunk-TO6IYGML.js.map +0 -1
  169. package/dist/chunk-VVJDWQEI.js.map +0 -1
  170. /package/dist/{BlockNoteEditor-66FJUDL4.mjs.map → BlockNoteEditor-WTSQANKI.mjs.map} +0 -0
  171. /package/dist/{BlockNoteViewer-SUK7OMWH.mjs.map → BlockNoteViewer-JVKWJZ6J.mjs.map} +0 -0
  172. /package/dist/{chunk-KL7CAQP3.mjs.map → chunk-FNTQQFLH.mjs.map} +0 -0
  173. /package/dist/{chunk-XLVRAHUK.mjs.map → chunk-QKZUE5OF.mjs.map} +0 -0
@@ -21,15 +21,17 @@ export { h as AiConnection, l as AiConnectionEnvDefaults, i as AiConnectionField
21
21
  import { PartialBlock } from '@blocknote/core';
22
22
  import { ExternalToast } from 'sonner';
23
23
  import { b as RoleInterface, R as RoleInput, U as UserInterface, a as CompanyInterface, c as UserInput, C as CompanyInput } from '../user.interface-CIWGlbqM.mjs';
24
- import { b as AuthInterface, A as AuthInput } from '../auth.interface-CeFCz9NU.mjs';
25
- export { a as AuthQuery } from '../auth.interface-CeFCz9NU.mjs';
26
- import { T as TwoFactorChallengeInterface, c as S3Interface, b as S3Input } from '../s3.service-dVj-nxMl.mjs';
27
- export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, N as NotificationService, P as PushService, R as RoleService, S as S3Service, U as UserService } from '../s3.service-dVj-nxMl.mjs';
24
+ import { b as AuthInterface, A as AuthInput, e as SignupSource } from '../auth.interface-DD4uQv2K.mjs';
25
+ export { a as AuthQuery } from '../auth.interface-DD4uQv2K.mjs';
26
+ import { T as TwoFactorChallengeInterface, c as S3Interface, b as S3Input } from '../s3.service-Sri0QP7Z.mjs';
27
+ export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, N as NotificationService, P as PushService, R as RoleService, S as S3Service, U as UserService } from '../s3.service-Sri0QP7Z.mjs';
28
28
  import { PublicKeyCredentialCreationOptionsJSON, RegistrationResponseJSON, PublicKeyCredentialRequestOptionsJSON, AuthenticationResponseJSON } from '@simplewebauthn/browser';
29
29
  import { M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, S as StripeCustomerInterface, a as StripeInvoiceInterface, j as StripeSubscriptionInterface, I as InvoiceStatus, g as StripeProductInterface, d as StripePriceInterface, h as StripeProductInput, e as PriceRecurring, f as StripePriceInput, i as SubscriptionStatus, k as StripeSubscriptionInput, m as StripeSubscriptionCreateResponse, b as ProrationPreviewInterface, n as StripeUsageInterface, R as ReportUsageInput, U as UsageSummaryInterface, q as PromotionCodeValidationResult } from '../stripe-promotion-code.interface-ClZ7DxS9.mjs';
30
30
  export { c as ProrationLineItem, l as StripeSubscriptionCreateMeta, p as UsageRecordInterface } from '../stripe-promotion-code.interface-ClZ7DxS9.mjs';
31
31
  import { M as ModuleInterface, F as FeatureInterface } from '../feature.interface-CXb1-vNq.mjs';
32
32
  import { C as ContentInterface, a as ContentInput, N as NotificationInterface, b as NotificationInput } from '../notification.interface-BB6GPpZY.mjs';
33
+ import { a as EmailAutomationInterface, E as EmailAutomationInput, f as EmailAutomationTriggerInterface, e as EmailAutomationEnrollmentInterface, c as EmailAutomationStepInterface, b as EmailAutomationStepInput, d as EmailAutomationEnrollmentStatus } from '../email-automation-enrollment.fields-BZvF14qx.mjs';
34
+ export { h as EmailAutomationEnrollmentFields, g as EmailAutomationFields } from '../email-automation-enrollment.fields-BZvF14qx.mjs';
33
35
  import { O as OAuthClientInterface, a as OAuthClientInput, d as OAuthConsentRequest, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, f as OAuthConsentInfo } from '../oauth.interface-nVwnzxJw.mjs';
34
36
  export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE_DISPLAY, e as OAuthScopeInfo } from '../oauth.interface-nVwnzxJw.mjs';
35
37
  export { b as TokenUsageAdminBreakdownModule, T as TokenUsageAdminSummaryModule, a as TokenUsageAdminTimelineModule, c as configureTokenUsage, g as getTokenUsageCurrency, t as tokenUsageModules } from '../config-n-ZpPmOL.mjs';
@@ -286,6 +288,10 @@ interface FoundationModuleDefinitions {
286
288
  OAuth: ModuleWithPermissions;
287
289
  Waitlist: ModuleWithPermissions;
288
290
  WaitlistStats: ModuleWithPermissions;
291
+ EmailAutomation: ModuleWithPermissions;
292
+ EmailAutomationStep: ModuleWithPermissions;
293
+ EmailAutomationEnrollment: ModuleWithPermissions;
294
+ EmailAutomationTrigger: ModuleWithPermissions;
289
295
  Referral: ModuleWithPermissions;
290
296
  ReferralStats: ModuleWithPermissions;
291
297
  TotpAuthenticator: ModuleWithPermissions;
@@ -1983,6 +1989,186 @@ declare class HowToService extends AbstractService {
1983
1989
  }): Promise<void>;
1984
1990
  }
1985
1991
 
1992
+ declare const EmailAutomationModule: (factory: ModuleFactory) => ModuleWithPermissions;
1993
+
1994
+ declare const EmailAutomationStepModule: (factory: ModuleFactory) => ModuleWithPermissions;
1995
+
1996
+ declare const EmailAutomationEnrollmentModule: (factory: ModuleFactory) => ModuleWithPermissions;
1997
+
1998
+ declare const EmailAutomationTriggerModule: (factory: ModuleFactory) => ModuleWithPermissions;
1999
+
2000
+ declare class EmailAutomation extends AbstractApiData implements EmailAutomationInterface {
2001
+ private _name?;
2002
+ private _trigger?;
2003
+ private _exitTrigger?;
2004
+ private _replyTo?;
2005
+ private _isActive;
2006
+ private _stepCount?;
2007
+ private _activeCount?;
2008
+ private _completedCount?;
2009
+ private _unsubscribedCount?;
2010
+ get name(): string;
2011
+ get trigger(): string | undefined;
2012
+ get exitTrigger(): string | undefined;
2013
+ get replyTo(): string | undefined;
2014
+ get isActive(): boolean;
2015
+ get stepCount(): number;
2016
+ get activeCount(): number;
2017
+ get completedCount(): number;
2018
+ get unsubscribedCount(): number;
2019
+ rehydrate(data: JsonApiHydratedDataInterface): this;
2020
+ createJsonApi(data: EmailAutomationInput): any;
2021
+ }
2022
+
2023
+ declare class EmailAutomationService extends AbstractService {
2024
+ static findMany(params?: {
2025
+ next?: NextRef;
2026
+ previous?: PreviousRef;
2027
+ }): Promise<EmailAutomationInterface[]>;
2028
+ static findOne(params: {
2029
+ id: string;
2030
+ }): Promise<EmailAutomationInterface>;
2031
+ static create(params: EmailAutomationInput): Promise<EmailAutomationInterface>;
2032
+ static update(params: EmailAutomationInput): Promise<EmailAutomationInterface>;
2033
+ static delete(params: {
2034
+ id: string;
2035
+ }): Promise<void>;
2036
+ /**
2037
+ * GET email-automations/triggers: the triggers the app declared to the API.
2038
+ */
2039
+ static findTriggers(): Promise<EmailAutomationTriggerInterface[]>;
2040
+ /**
2041
+ * POST email-automations/:id/tidy: clears every manual step position. Replies 204.
2042
+ */
2043
+ static tidy(params: {
2044
+ id: string;
2045
+ }): Promise<void>;
2046
+ static findEnrollments(params: {
2047
+ automationId: string;
2048
+ status?: string;
2049
+ next?: NextRef;
2050
+ previous?: PreviousRef;
2051
+ }): Promise<EmailAutomationEnrollmentInterface[]>;
2052
+ }
2053
+
2054
+ declare class EmailAutomationStep extends AbstractApiData implements EmailAutomationStepInterface {
2055
+ private _subject?;
2056
+ private _body?;
2057
+ private _delayHours?;
2058
+ private _positionX?;
2059
+ private _positionY?;
2060
+ private _sentCount?;
2061
+ private _automation?;
2062
+ private _next?;
2063
+ get subject(): string;
2064
+ get body(): string;
2065
+ get delayHours(): number;
2066
+ get positionX(): number | undefined;
2067
+ get positionY(): number | undefined;
2068
+ get sentCount(): number;
2069
+ get automation(): EmailAutomationInterface | undefined;
2070
+ get next(): EmailAutomationStepInterface | undefined;
2071
+ rehydrate(data: JsonApiHydratedDataInterface): this;
2072
+ createJsonApi(data: EmailAutomationStepInput): any;
2073
+ /**
2074
+ * Body of POST email-automation-steps/:stepId/next: the step the chain continues to.
2075
+ */
2076
+ createNextJsonApi(params: {
2077
+ nextStepId: string;
2078
+ }): {
2079
+ data: {
2080
+ type: string;
2081
+ id: string;
2082
+ };
2083
+ };
2084
+ }
2085
+
2086
+ declare class EmailAutomationStepService extends AbstractService {
2087
+ static findByAutomation(params: {
2088
+ automationId: string;
2089
+ }): Promise<EmailAutomationStepInterface[]>;
2090
+ static create(params: EmailAutomationStepInput): Promise<EmailAutomationStepInterface>;
2091
+ static update(params: EmailAutomationStepInput): Promise<EmailAutomationStepInterface>;
2092
+ static delete(params: {
2093
+ id: string;
2094
+ }): Promise<void>;
2095
+ /**
2096
+ * POST email-automation-steps/:stepId/next: continues the chain from stepId to nextStepId.
2097
+ */
2098
+ static setNext(params: {
2099
+ stepId: string;
2100
+ nextStepId: string;
2101
+ }): Promise<EmailAutomationStepInterface>;
2102
+ /**
2103
+ * DELETE email-automation-steps/:stepId/next: the step becomes the end of the chain.
2104
+ */
2105
+ static clearNext(params: {
2106
+ stepId: string;
2107
+ }): Promise<void>;
2108
+ }
2109
+
2110
+ /** JSON:API type of the POST email-automations/unsubscribe/:token request body (not a module: nothing is stored). */
2111
+ declare const EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = "email-automation-unsubscribes";
2112
+ declare class EmailAutomationEnrollment extends AbstractApiData implements EmailAutomationEnrollmentInterface {
2113
+ private _email?;
2114
+ private _name?;
2115
+ private _status;
2116
+ private _enrolledAt?;
2117
+ private _nextSendAt?;
2118
+ private _finishedAt?;
2119
+ private _attempts?;
2120
+ private _lastError?;
2121
+ private _currentStepSubject?;
2122
+ private _sentCount?;
2123
+ private _automation?;
2124
+ get email(): string;
2125
+ get name(): string | undefined;
2126
+ get status(): EmailAutomationEnrollmentStatus;
2127
+ get enrolledAt(): Date;
2128
+ get nextSendAt(): Date | undefined;
2129
+ get finishedAt(): Date | undefined;
2130
+ get attempts(): number;
2131
+ get lastError(): string | undefined;
2132
+ get currentStepSubject(): string | undefined;
2133
+ get sentCount(): number;
2134
+ get automation(): EmailAutomationInterface | undefined;
2135
+ rehydrate(data: JsonApiHydratedDataInterface): this;
2136
+ createJsonApi(_data?: any): any;
2137
+ /**
2138
+ * Body of POST email-automations/unsubscribe/:token.
2139
+ */
2140
+ createUnsubscribeJsonApi(params: {
2141
+ scope: "automation" | "all";
2142
+ }): {
2143
+ data: {
2144
+ type: string;
2145
+ attributes: {
2146
+ scope: "all" | "automation";
2147
+ };
2148
+ };
2149
+ };
2150
+ }
2151
+
2152
+ declare class EmailAutomationEnrollmentService extends AbstractService {
2153
+ /**
2154
+ * POST email-automations/unsubscribe/:token (public). The scope travels both as
2155
+ * a query parameter and in the body, as the API reads either.
2156
+ */
2157
+ static unsubscribe(params: {
2158
+ token: string;
2159
+ scope: "automation" | "all";
2160
+ }): Promise<EmailAutomationEnrollmentInterface>;
2161
+ }
2162
+
2163
+ declare class EmailAutomationTrigger extends AbstractApiData implements EmailAutomationTriggerInterface {
2164
+ private _key?;
2165
+ private _label?;
2166
+ get key(): string;
2167
+ get label(): string;
2168
+ rehydrate(data: JsonApiHydratedDataInterface): this;
2169
+ createJsonApi(_data?: any): any;
2170
+ }
2171
+
1986
2172
  declare const HandbookPageModule: (factory: ModuleFactory) => ModuleWithPermissions;
1987
2173
 
1988
2174
  /**
@@ -2940,6 +3126,7 @@ type WaitlistInput = {
2940
3126
  marketingConsent?: boolean;
2941
3127
  marketingConsentAt?: string;
2942
3128
  questionnaire?: Record<string, any>;
3129
+ source?: SignupSource;
2943
3130
  };
2944
3131
  interface WaitlistInterface extends ApiDataInterface {
2945
3132
  get email(): string;
@@ -2947,11 +3134,17 @@ interface WaitlistInterface extends ApiDataInterface {
2947
3134
  get gdprConsentAt(): string;
2948
3135
  get marketingConsent(): boolean | undefined;
2949
3136
  get marketingConsentAt(): string | undefined;
2950
- get questionnaire(): string | undefined;
3137
+ get questionnaire(): Record<string, any> | undefined;
2951
3138
  get status(): WaitlistStatus;
2952
3139
  get confirmedAt(): string | undefined;
2953
3140
  get invitedAt(): string | undefined;
2954
3141
  get registeredAt(): string | undefined;
3142
+ get sourceRef(): string | undefined;
3143
+ get sourceUtmSource(): string | undefined;
3144
+ get sourceUtmMedium(): string | undefined;
3145
+ get sourceUtmCampaign(): string | undefined;
3146
+ get sourceReferrer(): string | undefined;
3147
+ get sourceLandingPath(): string | undefined;
2955
3148
  }
2956
3149
  interface InviteValidation {
2957
3150
  email: string;
@@ -2969,16 +3162,28 @@ declare class Waitlist extends AbstractApiData implements WaitlistInterface {
2969
3162
  private _confirmedAt?;
2970
3163
  private _invitedAt?;
2971
3164
  private _registeredAt?;
3165
+ private _sourceRef?;
3166
+ private _sourceUtmSource?;
3167
+ private _sourceUtmMedium?;
3168
+ private _sourceUtmCampaign?;
3169
+ private _sourceReferrer?;
3170
+ private _sourceLandingPath?;
2972
3171
  get email(): string;
2973
3172
  get gdprConsent(): boolean;
2974
3173
  get gdprConsentAt(): string;
2975
3174
  get marketingConsent(): boolean | undefined;
2976
3175
  get marketingConsentAt(): string | undefined;
2977
- get questionnaire(): string | undefined;
3176
+ get questionnaire(): Record<string, any> | undefined;
2978
3177
  get status(): WaitlistStatus;
2979
3178
  get confirmedAt(): string | undefined;
2980
3179
  get invitedAt(): string | undefined;
2981
3180
  get registeredAt(): string | undefined;
3181
+ get sourceRef(): string | undefined;
3182
+ get sourceUtmSource(): string | undefined;
3183
+ get sourceUtmMedium(): string | undefined;
3184
+ get sourceUtmCampaign(): string | undefined;
3185
+ get sourceReferrer(): string | undefined;
3186
+ get sourceLandingPath(): string | undefined;
2982
3187
  rehydrate(data: JsonApiHydratedDataInterface): this;
2983
3188
  createJsonApi(data: WaitlistInput): any;
2984
3189
  }
@@ -3025,7 +3230,7 @@ declare class WaitlistService extends AbstractService {
3025
3230
  failed: number;
3026
3231
  }>;
3027
3232
  /**
3028
- * Get statistics (admin)
3233
+ * Get statistics (admin): GET /waitlists/stats, rehydrated as waitlist-stats
3029
3234
  */
3030
3235
  static getStats(): Promise<WaitlistStatsInterface>;
3031
3236
  /**
@@ -3054,6 +3259,7 @@ declare enum WaitlistFields {
3054
3259
  email = "email",
3055
3260
  status = "status",
3056
3261
  createdAt = "createdAt",
3262
+ source = "source",
3057
3263
  questionnaire = "questionnaire",
3058
3264
  actions = "actions"
3059
3265
  }
@@ -3149,4 +3355,4 @@ declare class AuditLogService extends AbstractService {
3149
3355
 
3150
3356
  declare const AuditLogModule: (factory: ModuleFactory) => ModuleWithPermissions;
3151
3357
 
3152
- export { AbstractApiData, AbstractService, Action, ApiData, ApiDataInterface, ApiRequestDataTypeInterface, ApiResponseInterface, type AppModuleDefinitions, Assistant, AssistantAction, type AssistantActionInput, type AssistantActionInterface, AssistantActionModule, AssistantActionService, type AssistantActionStatus, AssistantInput, AssistantInterface, AssistantMessage, AssistantMessageInput, AssistantMessageInterface, AssistantMessageModule, AssistantMessageRole, AssistantMessageService, AssistantMessageType, AssistantModule, AssistantService, AuditLog, type AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthInput, AuthInterface, AuthModule, AuthorModule, BackupCodeVerify, type BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, type BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, CURRENT_USER_STORAGE_KEY, Chunk, type ChunkInput, ChunkInterface, ChunkModule, ChunkRelationshipMeta, ClientAbstractService, ClientHttpMethod, type ClientNextRef, type ClientPreviousRef, type ClientSelfRef, type ClientTotalRef, type CodiceFiscaleValidationOptions, Company, CompanyFields, CompanyInput, CompanyInterface, CompanyModule, Content, ContentInput, ContentInterface, ContentModule, DataClassRegistry as DataClass, DataClassRegistry, type DiffBlock, type DiffResult, ENV, EndpointCreator, type EndpointQuery, EntityAiStatus, type EntityObject, Feature, FeatureInterface, FeatureModule, FieldSelector, type FormatOption, type FoundationModuleDefinitions, HandbookPage, HandbookPageFields, type HandbookPageInput, HandbookPageInterface, HandbookPageModule, HandbookPageService, HandbookSection, type HandbookSectionInput, HandbookSectionInterface, HandbookSectionModule, HandbookSectionService, HandbookThread, type HandbookThreadInput, type HandbookThreadInterface, HandbookThreadMessage, type HandbookThreadMessageInput, type HandbookThreadMessageInterface, HandbookThreadMessageModule, HandbookThreadMessageService, HandbookThreadModule, HandbookThreadService, HowTo, HowToFields, HowToInput, HowToInterface, HowToModule, HowToService, type InviteValidation, InvoiceStatus, JsonApiDataFactory, JsonApiHydratedDataInterface, MOBILE_BREAKPOINT, type MessageTree, MeterInterface, MeterSummaryInterface, Module, type ModuleDefinitions, ModuleFactory, ModuleInterface, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, ModuleWithPermissions, Modules, NextRef, Notification, NotificationFields, NotificationInput, NotificationInterface, NotificationModule, OAuthClient, OAuthClientCreateRequest, OAuthClientCreateResponse, OAuthClientInput, OAuthClientInterface, OAuthConsentInfo, OAuthConsentRequest, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, type PasskeyAuthenticationOptionsInput, type PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyInterface, PasskeyModule, PasskeyRegistrationOptions, type PasskeyRegistrationOptionsInput, type PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, type PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, type PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, type PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PaymentMethodInterface, PermissionMappingModule, PermissionModule, PermissionUser, PreviousRef, PriceRecurring, PromotionCodeValidationResult, ProrationPreviewInterface, Push, type PushInput, type PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, ReportUsageInput, Role, RoleInput, RoleInterface, RoleModule, S3, S3Input, S3Interface, S3Module, type SearchResultInterface, StripeCustomer, StripeCustomerInterface, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceInterface, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceFields, StripePriceInput, StripePriceInterface, StripePriceModule, StripePriceService, StripeProduct, StripeProductFields, StripeProductInput, StripeProductInterface, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionCreateResponse, StripeSubscriptionInput, StripeSubscriptionInterface, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageInterface, StripeUsageModule, StripeUsageService, SubscriptionStatus, TableOptions, type ToastOptions, TotpAuthenticator, TotpAuthenticatorInterface, TotpAuthenticatorModule, TotpSetup, type TotpSetupInput, type TotpSetupInterface, TotpSetupModule, TotpVerify, type TotpVerifyInput, TotpVerifyLogin, type TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, type TwoFactorChallengeInput, TwoFactorChallengeInterface, TwoFactorChallengeModule, TwoFactorEnable, type TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, type TwoFactorStatusInterface, TwoFactorStatusModule, UsageSummaryInterface, User, UserInput, UserInterface, UserModule, type UserObject, VIEWPORT_COOKIE_NAME, Waitlist, WaitlistFields, type WaitlistInput, type WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, type WaitlistStatsInterface, WaitlistStatsModule, type WaitlistStatus, type WordDiff, checkPermissions, checkPermissionsFromServer, clearLastApiMeta, clearLastApiTotal, cn, composeRefs, dateFormatLocale, dismissToast, entityObjectSchema, exists, formatCodiceFiscale, formatDate, formatLocalDate, formatPartitaIva, getBootstrapper, getClientGlobalErrorHandler, getLastApiMeta, getLastApiTotal, getTableComponents, getTableOptions, getValueFromPath, handbookPageContent, handbookPageSummary, handbookPageTitle, handbookSectionSummary, handbookSectionTitle, hasBootstrapper, isRemoteImageSrc, mergeMessages, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema, validateCodiceFiscale, validateItalianTaxCode, validatePartitaIva };
3358
+ export { AbstractApiData, AbstractService, Action, ApiData, ApiDataInterface, ApiRequestDataTypeInterface, ApiResponseInterface, type AppModuleDefinitions, Assistant, AssistantAction, type AssistantActionInput, type AssistantActionInterface, AssistantActionModule, AssistantActionService, type AssistantActionStatus, AssistantInput, AssistantInterface, AssistantMessage, AssistantMessageInput, AssistantMessageInterface, AssistantMessageModule, AssistantMessageRole, AssistantMessageService, AssistantMessageType, AssistantModule, AssistantService, AuditLog, type AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthInput, AuthInterface, AuthModule, AuthorModule, BackupCodeVerify, type BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, type BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, CURRENT_USER_STORAGE_KEY, Chunk, type ChunkInput, ChunkInterface, ChunkModule, ChunkRelationshipMeta, ClientAbstractService, ClientHttpMethod, type ClientNextRef, type ClientPreviousRef, type ClientSelfRef, type ClientTotalRef, type CodiceFiscaleValidationOptions, Company, CompanyFields, CompanyInput, CompanyInterface, CompanyModule, Content, ContentInput, ContentInterface, ContentModule, DataClassRegistry as DataClass, DataClassRegistry, type DiffBlock, type DiffResult, EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE, ENV, EmailAutomation, EmailAutomationEnrollment, EmailAutomationEnrollmentInterface, EmailAutomationEnrollmentModule, EmailAutomationEnrollmentService, EmailAutomationEnrollmentStatus, EmailAutomationInput, EmailAutomationInterface, EmailAutomationModule, EmailAutomationService, EmailAutomationStep, EmailAutomationStepInput, EmailAutomationStepInterface, EmailAutomationStepModule, EmailAutomationStepService, EmailAutomationTrigger, EmailAutomationTriggerInterface, EmailAutomationTriggerModule, EndpointCreator, type EndpointQuery, EntityAiStatus, type EntityObject, Feature, FeatureInterface, FeatureModule, FieldSelector, type FormatOption, type FoundationModuleDefinitions, HandbookPage, HandbookPageFields, type HandbookPageInput, HandbookPageInterface, HandbookPageModule, HandbookPageService, HandbookSection, type HandbookSectionInput, HandbookSectionInterface, HandbookSectionModule, HandbookSectionService, HandbookThread, type HandbookThreadInput, type HandbookThreadInterface, HandbookThreadMessage, type HandbookThreadMessageInput, type HandbookThreadMessageInterface, HandbookThreadMessageModule, HandbookThreadMessageService, HandbookThreadModule, HandbookThreadService, HowTo, HowToFields, HowToInput, HowToInterface, HowToModule, HowToService, type InviteValidation, InvoiceStatus, JsonApiDataFactory, JsonApiHydratedDataInterface, MOBILE_BREAKPOINT, type MessageTree, MeterInterface, MeterSummaryInterface, Module, type ModuleDefinitions, ModuleFactory, ModuleInterface, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, ModuleWithPermissions, Modules, NextRef, Notification, NotificationFields, NotificationInput, NotificationInterface, NotificationModule, OAuthClient, OAuthClientCreateRequest, OAuthClientCreateResponse, OAuthClientInput, OAuthClientInterface, OAuthConsentInfo, OAuthConsentRequest, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, type PasskeyAuthenticationOptionsInput, type PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyInterface, PasskeyModule, PasskeyRegistrationOptions, type PasskeyRegistrationOptionsInput, type PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, type PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, type PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, type PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PaymentMethodInterface, PermissionMappingModule, PermissionModule, PermissionUser, PreviousRef, PriceRecurring, PromotionCodeValidationResult, ProrationPreviewInterface, Push, type PushInput, type PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, ReportUsageInput, Role, RoleInput, RoleInterface, RoleModule, S3, S3Input, S3Interface, S3Module, type SearchResultInterface, StripeCustomer, StripeCustomerInterface, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceInterface, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceFields, StripePriceInput, StripePriceInterface, StripePriceModule, StripePriceService, StripeProduct, StripeProductFields, StripeProductInput, StripeProductInterface, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionCreateResponse, StripeSubscriptionInput, StripeSubscriptionInterface, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageInterface, StripeUsageModule, StripeUsageService, SubscriptionStatus, TableOptions, type ToastOptions, TotpAuthenticator, TotpAuthenticatorInterface, TotpAuthenticatorModule, TotpSetup, type TotpSetupInput, type TotpSetupInterface, TotpSetupModule, TotpVerify, type TotpVerifyInput, TotpVerifyLogin, type TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, type TwoFactorChallengeInput, TwoFactorChallengeInterface, TwoFactorChallengeModule, TwoFactorEnable, type TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, type TwoFactorStatusInterface, TwoFactorStatusModule, UsageSummaryInterface, User, UserInput, UserInterface, UserModule, type UserObject, VIEWPORT_COOKIE_NAME, Waitlist, WaitlistFields, type WaitlistInput, type WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, type WaitlistStatsInterface, WaitlistStatsModule, type WaitlistStatus, type WordDiff, checkPermissions, checkPermissionsFromServer, clearLastApiMeta, clearLastApiTotal, cn, composeRefs, dateFormatLocale, dismissToast, entityObjectSchema, exists, formatCodiceFiscale, formatDate, formatLocalDate, formatPartitaIva, getBootstrapper, getClientGlobalErrorHandler, getLastApiMeta, getLastApiTotal, getTableComponents, getTableOptions, getValueFromPath, handbookPageContent, handbookPageSummary, handbookPageTitle, handbookSectionSummary, handbookSectionTitle, hasBootstrapper, isRemoteImageSrc, mergeMessages, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema, validateCodiceFiscale, validateItalianTaxCode, validatePartitaIva };
@@ -21,15 +21,17 @@ export { h as AiConnection, l as AiConnectionEnvDefaults, i as AiConnectionField
21
21
  import { PartialBlock } from '@blocknote/core';
22
22
  import { ExternalToast } from 'sonner';
23
23
  import { b as RoleInterface, R as RoleInput, U as UserInterface, a as CompanyInterface, c as UserInput, C as CompanyInput } from '../user.interface-C0ZdsBZj.js';
24
- import { b as AuthInterface, A as AuthInput } from '../auth.interface-D1R7VVky.js';
25
- export { a as AuthQuery } from '../auth.interface-D1R7VVky.js';
26
- import { T as TwoFactorChallengeInterface, c as S3Interface, b as S3Input } from '../s3.service-C-4YpEMu.js';
27
- export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, N as NotificationService, P as PushService, R as RoleService, S as S3Service, U as UserService } from '../s3.service-C-4YpEMu.js';
24
+ import { b as AuthInterface, A as AuthInput, e as SignupSource } from '../auth.interface-CSzJ1oP1.js';
25
+ export { a as AuthQuery } from '../auth.interface-CSzJ1oP1.js';
26
+ import { T as TwoFactorChallengeInterface, c as S3Interface, b as S3Input } from '../s3.service-CY-jgOAM.js';
27
+ export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, N as NotificationService, P as PushService, R as RoleService, S as S3Service, U as UserService } from '../s3.service-CY-jgOAM.js';
28
28
  import { PublicKeyCredentialCreationOptionsJSON, RegistrationResponseJSON, PublicKeyCredentialRequestOptionsJSON, AuthenticationResponseJSON } from '@simplewebauthn/browser';
29
29
  import { M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, S as StripeCustomerInterface, a as StripeInvoiceInterface, j as StripeSubscriptionInterface, I as InvoiceStatus, g as StripeProductInterface, d as StripePriceInterface, h as StripeProductInput, e as PriceRecurring, f as StripePriceInput, i as SubscriptionStatus, k as StripeSubscriptionInput, m as StripeSubscriptionCreateResponse, b as ProrationPreviewInterface, n as StripeUsageInterface, R as ReportUsageInput, U as UsageSummaryInterface, q as PromotionCodeValidationResult } from '../stripe-promotion-code.interface-C3qqh3mi.js';
30
30
  export { c as ProrationLineItem, l as StripeSubscriptionCreateMeta, p as UsageRecordInterface } from '../stripe-promotion-code.interface-C3qqh3mi.js';
31
31
  import { M as ModuleInterface, F as FeatureInterface } from '../feature.interface-BO25VLlx.js';
32
32
  import { C as ContentInterface, a as ContentInput, N as NotificationInterface, b as NotificationInput } from '../notification.interface-CmAGrijJ.js';
33
+ import { a as EmailAutomationInterface, E as EmailAutomationInput, f as EmailAutomationTriggerInterface, e as EmailAutomationEnrollmentInterface, c as EmailAutomationStepInterface, b as EmailAutomationStepInput, d as EmailAutomationEnrollmentStatus } from '../email-automation-enrollment.fields-Cp3VMzFq.js';
34
+ export { h as EmailAutomationEnrollmentFields, g as EmailAutomationFields } from '../email-automation-enrollment.fields-Cp3VMzFq.js';
33
35
  import { O as OAuthClientInterface, a as OAuthClientInput, d as OAuthConsentRequest, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, f as OAuthConsentInfo } from '../oauth.interface-BZKZAPRw.js';
34
36
  export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE_DISPLAY, e as OAuthScopeInfo } from '../oauth.interface-BZKZAPRw.js';
35
37
  export { b as TokenUsageAdminBreakdownModule, T as TokenUsageAdminSummaryModule, a as TokenUsageAdminTimelineModule, c as configureTokenUsage, g as getTokenUsageCurrency, t as tokenUsageModules } from '../config-B6UB7j69.js';
@@ -286,6 +288,10 @@ interface FoundationModuleDefinitions {
286
288
  OAuth: ModuleWithPermissions;
287
289
  Waitlist: ModuleWithPermissions;
288
290
  WaitlistStats: ModuleWithPermissions;
291
+ EmailAutomation: ModuleWithPermissions;
292
+ EmailAutomationStep: ModuleWithPermissions;
293
+ EmailAutomationEnrollment: ModuleWithPermissions;
294
+ EmailAutomationTrigger: ModuleWithPermissions;
289
295
  Referral: ModuleWithPermissions;
290
296
  ReferralStats: ModuleWithPermissions;
291
297
  TotpAuthenticator: ModuleWithPermissions;
@@ -1983,6 +1989,186 @@ declare class HowToService extends AbstractService {
1983
1989
  }): Promise<void>;
1984
1990
  }
1985
1991
 
1992
+ declare const EmailAutomationModule: (factory: ModuleFactory) => ModuleWithPermissions;
1993
+
1994
+ declare const EmailAutomationStepModule: (factory: ModuleFactory) => ModuleWithPermissions;
1995
+
1996
+ declare const EmailAutomationEnrollmentModule: (factory: ModuleFactory) => ModuleWithPermissions;
1997
+
1998
+ declare const EmailAutomationTriggerModule: (factory: ModuleFactory) => ModuleWithPermissions;
1999
+
2000
+ declare class EmailAutomation extends AbstractApiData implements EmailAutomationInterface {
2001
+ private _name?;
2002
+ private _trigger?;
2003
+ private _exitTrigger?;
2004
+ private _replyTo?;
2005
+ private _isActive;
2006
+ private _stepCount?;
2007
+ private _activeCount?;
2008
+ private _completedCount?;
2009
+ private _unsubscribedCount?;
2010
+ get name(): string;
2011
+ get trigger(): string | undefined;
2012
+ get exitTrigger(): string | undefined;
2013
+ get replyTo(): string | undefined;
2014
+ get isActive(): boolean;
2015
+ get stepCount(): number;
2016
+ get activeCount(): number;
2017
+ get completedCount(): number;
2018
+ get unsubscribedCount(): number;
2019
+ rehydrate(data: JsonApiHydratedDataInterface): this;
2020
+ createJsonApi(data: EmailAutomationInput): any;
2021
+ }
2022
+
2023
+ declare class EmailAutomationService extends AbstractService {
2024
+ static findMany(params?: {
2025
+ next?: NextRef;
2026
+ previous?: PreviousRef;
2027
+ }): Promise<EmailAutomationInterface[]>;
2028
+ static findOne(params: {
2029
+ id: string;
2030
+ }): Promise<EmailAutomationInterface>;
2031
+ static create(params: EmailAutomationInput): Promise<EmailAutomationInterface>;
2032
+ static update(params: EmailAutomationInput): Promise<EmailAutomationInterface>;
2033
+ static delete(params: {
2034
+ id: string;
2035
+ }): Promise<void>;
2036
+ /**
2037
+ * GET email-automations/triggers: the triggers the app declared to the API.
2038
+ */
2039
+ static findTriggers(): Promise<EmailAutomationTriggerInterface[]>;
2040
+ /**
2041
+ * POST email-automations/:id/tidy: clears every manual step position. Replies 204.
2042
+ */
2043
+ static tidy(params: {
2044
+ id: string;
2045
+ }): Promise<void>;
2046
+ static findEnrollments(params: {
2047
+ automationId: string;
2048
+ status?: string;
2049
+ next?: NextRef;
2050
+ previous?: PreviousRef;
2051
+ }): Promise<EmailAutomationEnrollmentInterface[]>;
2052
+ }
2053
+
2054
+ declare class EmailAutomationStep extends AbstractApiData implements EmailAutomationStepInterface {
2055
+ private _subject?;
2056
+ private _body?;
2057
+ private _delayHours?;
2058
+ private _positionX?;
2059
+ private _positionY?;
2060
+ private _sentCount?;
2061
+ private _automation?;
2062
+ private _next?;
2063
+ get subject(): string;
2064
+ get body(): string;
2065
+ get delayHours(): number;
2066
+ get positionX(): number | undefined;
2067
+ get positionY(): number | undefined;
2068
+ get sentCount(): number;
2069
+ get automation(): EmailAutomationInterface | undefined;
2070
+ get next(): EmailAutomationStepInterface | undefined;
2071
+ rehydrate(data: JsonApiHydratedDataInterface): this;
2072
+ createJsonApi(data: EmailAutomationStepInput): any;
2073
+ /**
2074
+ * Body of POST email-automation-steps/:stepId/next: the step the chain continues to.
2075
+ */
2076
+ createNextJsonApi(params: {
2077
+ nextStepId: string;
2078
+ }): {
2079
+ data: {
2080
+ type: string;
2081
+ id: string;
2082
+ };
2083
+ };
2084
+ }
2085
+
2086
+ declare class EmailAutomationStepService extends AbstractService {
2087
+ static findByAutomation(params: {
2088
+ automationId: string;
2089
+ }): Promise<EmailAutomationStepInterface[]>;
2090
+ static create(params: EmailAutomationStepInput): Promise<EmailAutomationStepInterface>;
2091
+ static update(params: EmailAutomationStepInput): Promise<EmailAutomationStepInterface>;
2092
+ static delete(params: {
2093
+ id: string;
2094
+ }): Promise<void>;
2095
+ /**
2096
+ * POST email-automation-steps/:stepId/next: continues the chain from stepId to nextStepId.
2097
+ */
2098
+ static setNext(params: {
2099
+ stepId: string;
2100
+ nextStepId: string;
2101
+ }): Promise<EmailAutomationStepInterface>;
2102
+ /**
2103
+ * DELETE email-automation-steps/:stepId/next: the step becomes the end of the chain.
2104
+ */
2105
+ static clearNext(params: {
2106
+ stepId: string;
2107
+ }): Promise<void>;
2108
+ }
2109
+
2110
+ /** JSON:API type of the POST email-automations/unsubscribe/:token request body (not a module: nothing is stored). */
2111
+ declare const EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = "email-automation-unsubscribes";
2112
+ declare class EmailAutomationEnrollment extends AbstractApiData implements EmailAutomationEnrollmentInterface {
2113
+ private _email?;
2114
+ private _name?;
2115
+ private _status;
2116
+ private _enrolledAt?;
2117
+ private _nextSendAt?;
2118
+ private _finishedAt?;
2119
+ private _attempts?;
2120
+ private _lastError?;
2121
+ private _currentStepSubject?;
2122
+ private _sentCount?;
2123
+ private _automation?;
2124
+ get email(): string;
2125
+ get name(): string | undefined;
2126
+ get status(): EmailAutomationEnrollmentStatus;
2127
+ get enrolledAt(): Date;
2128
+ get nextSendAt(): Date | undefined;
2129
+ get finishedAt(): Date | undefined;
2130
+ get attempts(): number;
2131
+ get lastError(): string | undefined;
2132
+ get currentStepSubject(): string | undefined;
2133
+ get sentCount(): number;
2134
+ get automation(): EmailAutomationInterface | undefined;
2135
+ rehydrate(data: JsonApiHydratedDataInterface): this;
2136
+ createJsonApi(_data?: any): any;
2137
+ /**
2138
+ * Body of POST email-automations/unsubscribe/:token.
2139
+ */
2140
+ createUnsubscribeJsonApi(params: {
2141
+ scope: "automation" | "all";
2142
+ }): {
2143
+ data: {
2144
+ type: string;
2145
+ attributes: {
2146
+ scope: "all" | "automation";
2147
+ };
2148
+ };
2149
+ };
2150
+ }
2151
+
2152
+ declare class EmailAutomationEnrollmentService extends AbstractService {
2153
+ /**
2154
+ * POST email-automations/unsubscribe/:token (public). The scope travels both as
2155
+ * a query parameter and in the body, as the API reads either.
2156
+ */
2157
+ static unsubscribe(params: {
2158
+ token: string;
2159
+ scope: "automation" | "all";
2160
+ }): Promise<EmailAutomationEnrollmentInterface>;
2161
+ }
2162
+
2163
+ declare class EmailAutomationTrigger extends AbstractApiData implements EmailAutomationTriggerInterface {
2164
+ private _key?;
2165
+ private _label?;
2166
+ get key(): string;
2167
+ get label(): string;
2168
+ rehydrate(data: JsonApiHydratedDataInterface): this;
2169
+ createJsonApi(_data?: any): any;
2170
+ }
2171
+
1986
2172
  declare const HandbookPageModule: (factory: ModuleFactory) => ModuleWithPermissions;
1987
2173
 
1988
2174
  /**
@@ -2940,6 +3126,7 @@ type WaitlistInput = {
2940
3126
  marketingConsent?: boolean;
2941
3127
  marketingConsentAt?: string;
2942
3128
  questionnaire?: Record<string, any>;
3129
+ source?: SignupSource;
2943
3130
  };
2944
3131
  interface WaitlistInterface extends ApiDataInterface {
2945
3132
  get email(): string;
@@ -2947,11 +3134,17 @@ interface WaitlistInterface extends ApiDataInterface {
2947
3134
  get gdprConsentAt(): string;
2948
3135
  get marketingConsent(): boolean | undefined;
2949
3136
  get marketingConsentAt(): string | undefined;
2950
- get questionnaire(): string | undefined;
3137
+ get questionnaire(): Record<string, any> | undefined;
2951
3138
  get status(): WaitlistStatus;
2952
3139
  get confirmedAt(): string | undefined;
2953
3140
  get invitedAt(): string | undefined;
2954
3141
  get registeredAt(): string | undefined;
3142
+ get sourceRef(): string | undefined;
3143
+ get sourceUtmSource(): string | undefined;
3144
+ get sourceUtmMedium(): string | undefined;
3145
+ get sourceUtmCampaign(): string | undefined;
3146
+ get sourceReferrer(): string | undefined;
3147
+ get sourceLandingPath(): string | undefined;
2955
3148
  }
2956
3149
  interface InviteValidation {
2957
3150
  email: string;
@@ -2969,16 +3162,28 @@ declare class Waitlist extends AbstractApiData implements WaitlistInterface {
2969
3162
  private _confirmedAt?;
2970
3163
  private _invitedAt?;
2971
3164
  private _registeredAt?;
3165
+ private _sourceRef?;
3166
+ private _sourceUtmSource?;
3167
+ private _sourceUtmMedium?;
3168
+ private _sourceUtmCampaign?;
3169
+ private _sourceReferrer?;
3170
+ private _sourceLandingPath?;
2972
3171
  get email(): string;
2973
3172
  get gdprConsent(): boolean;
2974
3173
  get gdprConsentAt(): string;
2975
3174
  get marketingConsent(): boolean | undefined;
2976
3175
  get marketingConsentAt(): string | undefined;
2977
- get questionnaire(): string | undefined;
3176
+ get questionnaire(): Record<string, any> | undefined;
2978
3177
  get status(): WaitlistStatus;
2979
3178
  get confirmedAt(): string | undefined;
2980
3179
  get invitedAt(): string | undefined;
2981
3180
  get registeredAt(): string | undefined;
3181
+ get sourceRef(): string | undefined;
3182
+ get sourceUtmSource(): string | undefined;
3183
+ get sourceUtmMedium(): string | undefined;
3184
+ get sourceUtmCampaign(): string | undefined;
3185
+ get sourceReferrer(): string | undefined;
3186
+ get sourceLandingPath(): string | undefined;
2982
3187
  rehydrate(data: JsonApiHydratedDataInterface): this;
2983
3188
  createJsonApi(data: WaitlistInput): any;
2984
3189
  }
@@ -3025,7 +3230,7 @@ declare class WaitlistService extends AbstractService {
3025
3230
  failed: number;
3026
3231
  }>;
3027
3232
  /**
3028
- * Get statistics (admin)
3233
+ * Get statistics (admin): GET /waitlists/stats, rehydrated as waitlist-stats
3029
3234
  */
3030
3235
  static getStats(): Promise<WaitlistStatsInterface>;
3031
3236
  /**
@@ -3054,6 +3259,7 @@ declare enum WaitlistFields {
3054
3259
  email = "email",
3055
3260
  status = "status",
3056
3261
  createdAt = "createdAt",
3262
+ source = "source",
3057
3263
  questionnaire = "questionnaire",
3058
3264
  actions = "actions"
3059
3265
  }
@@ -3149,4 +3355,4 @@ declare class AuditLogService extends AbstractService {
3149
3355
 
3150
3356
  declare const AuditLogModule: (factory: ModuleFactory) => ModuleWithPermissions;
3151
3357
 
3152
- export { AbstractApiData, AbstractService, Action, ApiData, ApiDataInterface, ApiRequestDataTypeInterface, ApiResponseInterface, type AppModuleDefinitions, Assistant, AssistantAction, type AssistantActionInput, type AssistantActionInterface, AssistantActionModule, AssistantActionService, type AssistantActionStatus, AssistantInput, AssistantInterface, AssistantMessage, AssistantMessageInput, AssistantMessageInterface, AssistantMessageModule, AssistantMessageRole, AssistantMessageService, AssistantMessageType, AssistantModule, AssistantService, AuditLog, type AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthInput, AuthInterface, AuthModule, AuthorModule, BackupCodeVerify, type BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, type BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, CURRENT_USER_STORAGE_KEY, Chunk, type ChunkInput, ChunkInterface, ChunkModule, ChunkRelationshipMeta, ClientAbstractService, ClientHttpMethod, type ClientNextRef, type ClientPreviousRef, type ClientSelfRef, type ClientTotalRef, type CodiceFiscaleValidationOptions, Company, CompanyFields, CompanyInput, CompanyInterface, CompanyModule, Content, ContentInput, ContentInterface, ContentModule, DataClassRegistry as DataClass, DataClassRegistry, type DiffBlock, type DiffResult, ENV, EndpointCreator, type EndpointQuery, EntityAiStatus, type EntityObject, Feature, FeatureInterface, FeatureModule, FieldSelector, type FormatOption, type FoundationModuleDefinitions, HandbookPage, HandbookPageFields, type HandbookPageInput, HandbookPageInterface, HandbookPageModule, HandbookPageService, HandbookSection, type HandbookSectionInput, HandbookSectionInterface, HandbookSectionModule, HandbookSectionService, HandbookThread, type HandbookThreadInput, type HandbookThreadInterface, HandbookThreadMessage, type HandbookThreadMessageInput, type HandbookThreadMessageInterface, HandbookThreadMessageModule, HandbookThreadMessageService, HandbookThreadModule, HandbookThreadService, HowTo, HowToFields, HowToInput, HowToInterface, HowToModule, HowToService, type InviteValidation, InvoiceStatus, JsonApiDataFactory, JsonApiHydratedDataInterface, MOBILE_BREAKPOINT, type MessageTree, MeterInterface, MeterSummaryInterface, Module, type ModuleDefinitions, ModuleFactory, ModuleInterface, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, ModuleWithPermissions, Modules, NextRef, Notification, NotificationFields, NotificationInput, NotificationInterface, NotificationModule, OAuthClient, OAuthClientCreateRequest, OAuthClientCreateResponse, OAuthClientInput, OAuthClientInterface, OAuthConsentInfo, OAuthConsentRequest, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, type PasskeyAuthenticationOptionsInput, type PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyInterface, PasskeyModule, PasskeyRegistrationOptions, type PasskeyRegistrationOptionsInput, type PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, type PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, type PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, type PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PaymentMethodInterface, PermissionMappingModule, PermissionModule, PermissionUser, PreviousRef, PriceRecurring, PromotionCodeValidationResult, ProrationPreviewInterface, Push, type PushInput, type PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, ReportUsageInput, Role, RoleInput, RoleInterface, RoleModule, S3, S3Input, S3Interface, S3Module, type SearchResultInterface, StripeCustomer, StripeCustomerInterface, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceInterface, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceFields, StripePriceInput, StripePriceInterface, StripePriceModule, StripePriceService, StripeProduct, StripeProductFields, StripeProductInput, StripeProductInterface, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionCreateResponse, StripeSubscriptionInput, StripeSubscriptionInterface, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageInterface, StripeUsageModule, StripeUsageService, SubscriptionStatus, TableOptions, type ToastOptions, TotpAuthenticator, TotpAuthenticatorInterface, TotpAuthenticatorModule, TotpSetup, type TotpSetupInput, type TotpSetupInterface, TotpSetupModule, TotpVerify, type TotpVerifyInput, TotpVerifyLogin, type TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, type TwoFactorChallengeInput, TwoFactorChallengeInterface, TwoFactorChallengeModule, TwoFactorEnable, type TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, type TwoFactorStatusInterface, TwoFactorStatusModule, UsageSummaryInterface, User, UserInput, UserInterface, UserModule, type UserObject, VIEWPORT_COOKIE_NAME, Waitlist, WaitlistFields, type WaitlistInput, type WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, type WaitlistStatsInterface, WaitlistStatsModule, type WaitlistStatus, type WordDiff, checkPermissions, checkPermissionsFromServer, clearLastApiMeta, clearLastApiTotal, cn, composeRefs, dateFormatLocale, dismissToast, entityObjectSchema, exists, formatCodiceFiscale, formatDate, formatLocalDate, formatPartitaIva, getBootstrapper, getClientGlobalErrorHandler, getLastApiMeta, getLastApiTotal, getTableComponents, getTableOptions, getValueFromPath, handbookPageContent, handbookPageSummary, handbookPageTitle, handbookSectionSummary, handbookSectionTitle, hasBootstrapper, isRemoteImageSrc, mergeMessages, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema, validateCodiceFiscale, validateItalianTaxCode, validatePartitaIva };
3358
+ export { AbstractApiData, AbstractService, Action, ApiData, ApiDataInterface, ApiRequestDataTypeInterface, ApiResponseInterface, type AppModuleDefinitions, Assistant, AssistantAction, type AssistantActionInput, type AssistantActionInterface, AssistantActionModule, AssistantActionService, type AssistantActionStatus, AssistantInput, AssistantInterface, AssistantMessage, AssistantMessageInput, AssistantMessageInterface, AssistantMessageModule, AssistantMessageRole, AssistantMessageService, AssistantMessageType, AssistantModule, AssistantService, AuditLog, type AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthInput, AuthInterface, AuthModule, AuthorModule, BackupCodeVerify, type BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, type BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, CURRENT_USER_STORAGE_KEY, Chunk, type ChunkInput, ChunkInterface, ChunkModule, ChunkRelationshipMeta, ClientAbstractService, ClientHttpMethod, type ClientNextRef, type ClientPreviousRef, type ClientSelfRef, type ClientTotalRef, type CodiceFiscaleValidationOptions, Company, CompanyFields, CompanyInput, CompanyInterface, CompanyModule, Content, ContentInput, ContentInterface, ContentModule, DataClassRegistry as DataClass, DataClassRegistry, type DiffBlock, type DiffResult, EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE, ENV, EmailAutomation, EmailAutomationEnrollment, EmailAutomationEnrollmentInterface, EmailAutomationEnrollmentModule, EmailAutomationEnrollmentService, EmailAutomationEnrollmentStatus, EmailAutomationInput, EmailAutomationInterface, EmailAutomationModule, EmailAutomationService, EmailAutomationStep, EmailAutomationStepInput, EmailAutomationStepInterface, EmailAutomationStepModule, EmailAutomationStepService, EmailAutomationTrigger, EmailAutomationTriggerInterface, EmailAutomationTriggerModule, EndpointCreator, type EndpointQuery, EntityAiStatus, type EntityObject, Feature, FeatureInterface, FeatureModule, FieldSelector, type FormatOption, type FoundationModuleDefinitions, HandbookPage, HandbookPageFields, type HandbookPageInput, HandbookPageInterface, HandbookPageModule, HandbookPageService, HandbookSection, type HandbookSectionInput, HandbookSectionInterface, HandbookSectionModule, HandbookSectionService, HandbookThread, type HandbookThreadInput, type HandbookThreadInterface, HandbookThreadMessage, type HandbookThreadMessageInput, type HandbookThreadMessageInterface, HandbookThreadMessageModule, HandbookThreadMessageService, HandbookThreadModule, HandbookThreadService, HowTo, HowToFields, HowToInput, HowToInterface, HowToModule, HowToService, type InviteValidation, InvoiceStatus, JsonApiDataFactory, JsonApiHydratedDataInterface, MOBILE_BREAKPOINT, type MessageTree, MeterInterface, MeterSummaryInterface, Module, type ModuleDefinitions, ModuleFactory, ModuleInterface, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, ModuleWithPermissions, Modules, NextRef, Notification, NotificationFields, NotificationInput, NotificationInterface, NotificationModule, OAuthClient, OAuthClientCreateRequest, OAuthClientCreateResponse, OAuthClientInput, OAuthClientInterface, OAuthConsentInfo, OAuthConsentRequest, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, type PasskeyAuthenticationOptionsInput, type PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyInterface, PasskeyModule, PasskeyRegistrationOptions, type PasskeyRegistrationOptionsInput, type PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, type PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, type PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, type PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PaymentMethodInterface, PermissionMappingModule, PermissionModule, PermissionUser, PreviousRef, PriceRecurring, PromotionCodeValidationResult, ProrationPreviewInterface, Push, type PushInput, type PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, ReportUsageInput, Role, RoleInput, RoleInterface, RoleModule, S3, S3Input, S3Interface, S3Module, type SearchResultInterface, StripeCustomer, StripeCustomerInterface, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceInterface, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceFields, StripePriceInput, StripePriceInterface, StripePriceModule, StripePriceService, StripeProduct, StripeProductFields, StripeProductInput, StripeProductInterface, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionCreateResponse, StripeSubscriptionInput, StripeSubscriptionInterface, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageInterface, StripeUsageModule, StripeUsageService, SubscriptionStatus, TableOptions, type ToastOptions, TotpAuthenticator, TotpAuthenticatorInterface, TotpAuthenticatorModule, TotpSetup, type TotpSetupInput, type TotpSetupInterface, TotpSetupModule, TotpVerify, type TotpVerifyInput, TotpVerifyLogin, type TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, type TwoFactorChallengeInput, TwoFactorChallengeInterface, TwoFactorChallengeModule, TwoFactorEnable, type TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, type TwoFactorStatusInterface, TwoFactorStatusModule, UsageSummaryInterface, User, UserInput, UserInterface, UserModule, type UserObject, VIEWPORT_COOKIE_NAME, Waitlist, WaitlistFields, type WaitlistInput, type WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, type WaitlistStatsInterface, WaitlistStatsModule, type WaitlistStatus, type WordDiff, checkPermissions, checkPermissionsFromServer, clearLastApiMeta, clearLastApiTotal, cn, composeRefs, dateFormatLocale, dismissToast, entityObjectSchema, exists, formatCodiceFiscale, formatDate, formatLocalDate, formatPartitaIva, getBootstrapper, getClientGlobalErrorHandler, getLastApiMeta, getLastApiTotal, getTableComponents, getTableOptions, getValueFromPath, handbookPageContent, handbookPageSummary, handbookPageTitle, handbookSectionSummary, handbookSectionTitle, hasBootstrapper, isRemoteImageSrc, mergeMessages, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema, validateCodiceFiscale, validateItalianTaxCode, validatePartitaIva };