@carlonicora/nextjs-jsonapi 6.7.0 → 6.8.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.
- package/dist/{AssistantMessageInterface-0ZQ1EJKO.d.mts → AssistantMessageInterface-BE3QxI54.d.mts} +1 -1
- package/dist/{AssistantMessageInterface-CA-hZ5Wj.d.ts → AssistantMessageInterface-nXpD_d-m.d.ts} +1 -1
- package/dist/{BlockNoteEditor-HWJBQAKG.mjs → BlockNoteEditor-D3LDTJCP.mjs} +4 -4
- package/dist/{BlockNoteEditor-BSFR2GPI.js → BlockNoteEditor-FB6FQFRF.js} +19 -19
- package/dist/{BlockNoteEditor-BSFR2GPI.js.map → BlockNoteEditor-FB6FQFRF.js.map} +1 -1
- package/dist/{BlockNoteViewer-NHS6CCMS.js → BlockNoteViewer-LGFMGTYX.js} +3 -3
- package/dist/{BlockNoteViewer-NHS6CCMS.js.map → BlockNoteViewer-LGFMGTYX.js.map} +1 -1
- package/dist/{BlockNoteViewer-IIBUU7J7.mjs → BlockNoteViewer-YSPYUDZE.mjs} +2 -2
- package/dist/{BlogPostInterface-CTGfsR1I.d.ts → BlogPostInterface-2sVqvXFd.d.ts} +1 -1
- package/dist/{BlogPostInterface-BN2mXc46.d.mts → BlogPostInterface-BgJLFpaa.d.mts} +1 -1
- package/dist/{auth.interface-DuX87BZ3.d.mts → auth.interface-BAYLbYjs.d.mts} +1 -1
- package/dist/{auth.interface-B4tRE0k0.d.ts → auth.interface-BjYwwfy9.d.ts} +1 -1
- package/dist/billing/index.js +492 -492
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-OYRJ32KR.mjs → chunk-5HBFQEYU.mjs} +2 -2
- package/dist/{chunk-S4NKWMX5.mjs → chunk-5HTX4RDA.mjs} +6 -6
- package/dist/{chunk-S4NKWMX5.mjs.map → chunk-5HTX4RDA.mjs.map} +1 -1
- package/dist/{chunk-EC4PQ44E.mjs → chunk-D44UDP4G.mjs} +2 -2
- package/dist/{chunk-73XWQA6U.js → chunk-JHT32ODN.js} +4 -4
- package/dist/{chunk-73XWQA6U.js.map → chunk-JHT32ODN.js.map} +1 -1
- package/dist/{chunk-PYDDFFQM.js → chunk-PSLT5JLE.js} +3 -3
- package/dist/{chunk-PYDDFFQM.js.map → chunk-PSLT5JLE.js.map} +1 -1
- package/dist/{chunk-XYKDBOCE.mjs → chunk-TL5O7EGW.mjs} +2 -2
- package/dist/{chunk-PCCUPEBU.js → chunk-UT4GVYJE.js} +879 -879
- package/dist/{chunk-PCCUPEBU.js.map → chunk-UT4GVYJE.js.map} +1 -1
- package/dist/{chunk-6KE7UBYY.js → chunk-UZP7KRAV.js} +6 -1
- package/dist/chunk-UZP7KRAV.js.map +1 -0
- package/dist/{chunk-QNIWATQD.mjs → chunk-VT5HRZH7.mjs} +6 -1
- package/dist/chunk-VT5HRZH7.mjs.map +1 -0
- package/dist/{chunk-3HOJNAZB.js → chunk-ZXK2OMCC.js} +8 -8
- package/dist/{chunk-3HOJNAZB.js.map → chunk-ZXK2OMCC.js.map} +1 -1
- package/dist/client/index.d.mts +3 -3
- package/dist/client/index.d.ts +3 -3
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.d.mts +5 -5
- package/dist/components/index.d.ts +5 -5
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +3 -3
- package/dist/contexts/index.d.mts +4 -4
- package/dist/contexts/index.d.ts +4 -4
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.d.mts +12 -10
- package/dist/core/index.d.ts +12 -10
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/email-automations/index.js +92 -92
- package/dist/email-automations/index.mjs +3 -3
- package/dist/features/analytics/index.d.mts +1 -1
- package/dist/features/analytics/index.d.ts +1 -1
- package/dist/features/analytics/index.js +121 -121
- package/dist/features/analytics/index.mjs +4 -4
- package/dist/features/analytics/server.js +4 -4
- package/dist/features/analytics/server.mjs +2 -2
- package/dist/features/blog/index.d.mts +3 -3
- package/dist/features/blog/index.d.ts +3 -3
- package/dist/features/blog/index.js +150 -150
- package/dist/features/blog/index.mjs +3 -3
- package/dist/features/blog/server.d.mts +3 -3
- package/dist/features/blog/server.d.ts +3 -3
- package/dist/features/blog/server.js +16 -16
- package/dist/features/blog/server.mjs +1 -1
- package/dist/features/help/index.js +37 -37
- package/dist/features/help/index.mjs +3 -3
- package/dist/features/tokenusage/index.js +127 -127
- package/dist/features/tokenusage/index.mjs +4 -4
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/dist/{notification.interface-DQReXAD7.d.ts → notification.interface-DQItyY_Q.d.ts} +1 -1
- package/dist/{notification.interface-CF5h90U2.d.mts → notification.interface-DoVS5RZB.d.mts} +1 -1
- package/dist/{s3.service-CRGJbO-6.d.mts → s3.service-BG136Btz.d.mts} +3 -3
- package/dist/{s3.service-DZG-VyLY.d.ts → s3.service-CsrsRPRn.d.ts} +3 -3
- package/dist/server/index.d.mts +4 -4
- package/dist/server/index.d.ts +4 -4
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +2 -2
- package/dist/{useSocket-CwSoq6VS.d.mts → useSocket-C8fqU4od.d.mts} +1 -1
- package/dist/{useSocket-BM3q9A0C.d.ts → useSocket-IRHtk2xc.d.ts} +1 -1
- package/dist/{user.interface-BYnGJ7ss.d.mts → user.interface-Bm-0TbsB.d.mts} +6 -0
- package/dist/{user.interface-BqPjVyJI.d.ts → user.interface-CKBIEvNu.d.ts} +6 -0
- package/package.json +1 -1
- package/src/features/company/data/company.interface.ts +7 -0
- package/src/features/company/data/company.spec.ts +23 -0
- package/src/features/company/data/company.ts +6 -0
- package/src/features/company/hooks/useSubscriptionStatus.spec.ts +59 -0
- package/src/features/company/hooks/useSubscriptionStatus.ts +5 -3
- package/dist/chunk-6KE7UBYY.js.map +0 -1
- package/dist/chunk-QNIWATQD.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-HWJBQAKG.mjs.map → BlockNoteEditor-D3LDTJCP.mjs.map} +0 -0
- /package/dist/{BlockNoteViewer-IIBUU7J7.mjs.map → BlockNoteViewer-YSPYUDZE.mjs.map} +0 -0
- /package/dist/{chunk-OYRJ32KR.mjs.map → chunk-5HBFQEYU.mjs.map} +0 -0
- /package/dist/{chunk-EC4PQ44E.mjs.map → chunk-D44UDP4G.mjs.map} +0 -0
- /package/dist/{chunk-XYKDBOCE.mjs.map → chunk-TL5O7EGW.mjs.map} +0 -0
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
seriesColor,
|
|
11
11
|
seriesTheme,
|
|
12
12
|
useUsageFormatters
|
|
13
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-D44UDP4G.mjs";
|
|
14
14
|
import {
|
|
15
15
|
Button,
|
|
16
16
|
Card,
|
|
@@ -41,8 +41,8 @@ import {
|
|
|
41
41
|
TooltipContent,
|
|
42
42
|
TooltipTrigger,
|
|
43
43
|
usePageUrlGenerator
|
|
44
|
-
} from "../../chunk-
|
|
45
|
-
import "../../chunk-
|
|
44
|
+
} from "../../chunk-5HTX4RDA.mjs";
|
|
45
|
+
import "../../chunk-5HBFQEYU.mjs";
|
|
46
46
|
import "../../chunk-PW42LRSL.mjs";
|
|
47
47
|
import {
|
|
48
48
|
AbstractService,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
configureTokenUsage,
|
|
62
62
|
getTokenUsageCurrency,
|
|
63
63
|
tokenUsageModules
|
|
64
|
-
} from "../../chunk-
|
|
64
|
+
} from "../../chunk-VT5HRZH7.mjs";
|
|
65
65
|
import "../../chunk-V5MI7RNB.mjs";
|
|
66
66
|
import "../../chunk-AUXK7QSA.mjs";
|
|
67
67
|
import "../../chunk-PI56A4DG.mjs";
|
package/dist/index.d.mts
CHANGED
|
@@ -6,19 +6,19 @@ export { A as ApiResponseInterface } from './ApiResponseInterface-rsXRL_Hn.mjs';
|
|
|
6
6
|
import { A as AbstractApiData } from './AbstractApiData-XLhBP5Tl.mjs';
|
|
7
7
|
import { A as AbstractService } from './AbstractService-Ckm2X5fW.mjs';
|
|
8
8
|
export { H as HttpMethod, N as NextRef, P as PreviousRef, S as SelfRef, T as TotalRef, g as getGlobalErrorHandler, s as setGlobalErrorHandler } from './AbstractService-Ckm2X5fW.mjs';
|
|
9
|
-
export { A as AssistantInput, b as AssistantInterface, e as AssistantMessageInput, f as AssistantMessageInterface, c as AssistantMessageRole, d as AssistantMessageType, B as BreadcrumbItemData, g as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-
|
|
9
|
+
export { A as AssistantInput, b as AssistantInterface, e as AssistantMessageInput, f as AssistantMessageInterface, c as AssistantMessageRole, d as AssistantMessageType, B as BreadcrumbItemData, g as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-BE3QxI54.mjs';
|
|
10
10
|
export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-1AlHDtDb.mjs';
|
|
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, 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-
|
|
15
|
-
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, N as NotificationService, b as PendingRegistrationInterface, P as PushService, R as RoleService, c as S3Input, d as S3Interface, S as S3Service, T as TwoFactorChallengeInterface, U as UserService } from './s3.service-
|
|
16
|
-
export { a as CREDIT_WARNING_DISMISS_SEGMENT, b as CompanyInput, c as CompanyInterface, C as CreditWarningOffer, R as RoleInput, d as RoleInterface, e as UserInput, U as UserInterface, i as isCreditWarningActive, r as resolveChangePlanTarget } from './user.interface-
|
|
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-BAYLbYjs.mjs';
|
|
15
|
+
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, N as NotificationService, b as PendingRegistrationInterface, P as PushService, R as RoleService, c as S3Input, d as S3Interface, S as S3Service, T as TwoFactorChallengeInterface, U as UserService } from './s3.service-BG136Btz.mjs';
|
|
16
|
+
export { a as CREDIT_WARNING_DISMISS_SEGMENT, b as CompanyInput, c as CompanyInterface, C as CreditWarningOffer, R as RoleInput, d as RoleInterface, e as UserInput, U as UserInterface, i as isCreditWarningActive, r as resolveChangePlanTarget } from './user.interface-Bm-0TbsB.mjs';
|
|
17
17
|
export { I as InvoiceStatus, M as MeterInterface, e as MeterSummaryInterface, P as PaymentMethodInterface, g as PromotionCodeValidationResult, c as ProrationLineItem, b as ProrationPreviewInterface, R as ReportUsageInput, q as StripeCouponCodeFlagsInput, p as StripeCouponCodeInput, o as StripeCouponCodeInterface, k as StripeCouponDiscountInput, h as StripeCouponDiscountType, l as StripeCouponDurationInput, i as StripeCouponDurationType, m as StripeCouponInput, j as StripeCouponInterface, n as StripeCouponRenameInput, S as StripeCustomerInterface, a as StripeInvoiceInterface, d as StripeUsageInterface, f as UsageRecordInterface, U as UsageSummaryInterface, s as formatCurrency, t as formatFixed, r as formatInterval } from './currency-BhuEoBOn.mjs';
|
|
18
18
|
export { F as FeatureInterface, M as ModuleInterface, P as PriceRecurring, b as StripePriceInput, a as StripePriceInterface, d as StripeProductInput, c as StripeProductInterface, h as StripeSubscriptionCreateMeta, i as StripeSubscriptionCreateResponse, f as StripeSubscriptionDiscount, g as StripeSubscriptionInput, S as StripeSubscriptionInterface, e as SubscriptionStatus } from './stripe-price.interface-D6mKjAdr.mjs';
|
|
19
|
-
export { a as ContentInput, C as ContentInterface, b as NotificationInput, N as NotificationInterface } from './notification.interface-
|
|
19
|
+
export { a as ContentInput, C as ContentInterface, b as NotificationInput, N as NotificationInterface } from './notification.interface-DoVS5RZB.mjs';
|
|
20
20
|
export { h as EmailAutomationEnrollmentFields, e as EmailAutomationEnrollmentInterface, d as EmailAutomationEnrollmentStatus, g as EmailAutomationFields, E as EmailAutomationInput, a as EmailAutomationInterface, b as EmailAutomationStepInput, c as EmailAutomationStepInterface, f as EmailAutomationTriggerInterface } from './email-automation-enrollment.fields-BZvF14qx.mjs';
|
|
21
|
-
export { g as BlogCategoryInput, a as BlogCategoryInterface, h as BlogCategoryTranslationInput, i as BlogCategoryTranslationInterface, d as BlogPostInput, b as BlogPostInterface, e as BlogPostTranslationInput, f as BlogPostTranslationInterface } from './BlogPostInterface-
|
|
21
|
+
export { g as BlogCategoryInput, a as BlogCategoryInterface, h as BlogCategoryTranslationInput, i as BlogCategoryTranslationInterface, d as BlogPostInput, b as BlogPostInterface, e as BlogPostTranslationInput, f as BlogPostTranslationInterface } from './BlogPostInterface-BgJLFpaa.mjs';
|
|
22
22
|
export { a as BlogCategoryFields, B as BlogPostFields } from './BlogCategoryFields-DO48vOTE.mjs';
|
|
23
23
|
export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE_DISPLAY, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, a as OAuthClientInput, O as OAuthClientInterface, f as OAuthConsentInfo, d as OAuthConsentRequest, e as OAuthScopeInfo } from './oauth.interface-nVwnzxJw.mjs';
|
|
24
24
|
export { b as TokenUsageAdminBreakdownModule, T as TokenUsageAdminSummaryModule, a as TokenUsageAdminTimelineModule, c as configureTokenUsage, g as getTokenUsageCurrency, t as tokenUsageModules } from './config-n-ZpPmOL.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -6,19 +6,19 @@ export { A as ApiResponseInterface } from './ApiResponseInterface-CWLvSCvS.js';
|
|
|
6
6
|
import { A as AbstractApiData } from './AbstractApiData-DtitRWPz.js';
|
|
7
7
|
import { A as AbstractService } from './AbstractService-V3VGQMhL.js';
|
|
8
8
|
export { H as HttpMethod, N as NextRef, P as PreviousRef, S as SelfRef, T as TotalRef, g as getGlobalErrorHandler, s as setGlobalErrorHandler } from './AbstractService-V3VGQMhL.js';
|
|
9
|
-
export { A as AssistantInput, b as AssistantInterface, e as AssistantMessageInput, f as AssistantMessageInterface, c as AssistantMessageRole, d as AssistantMessageType, B as BreadcrumbItemData, g as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-
|
|
9
|
+
export { A as AssistantInput, b as AssistantInterface, e as AssistantMessageInput, f as AssistantMessageInterface, c as AssistantMessageRole, d as AssistantMessageType, B as BreadcrumbItemData, g as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-nXpD_d-m.js';
|
|
10
10
|
export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-1AlHDtDb.js';
|
|
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, 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-
|
|
15
|
-
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, N as NotificationService, b as PendingRegistrationInterface, P as PushService, R as RoleService, c as S3Input, d as S3Interface, S as S3Service, T as TwoFactorChallengeInterface, U as UserService } from './s3.service-
|
|
16
|
-
export { a as CREDIT_WARNING_DISMISS_SEGMENT, b as CompanyInput, c as CompanyInterface, C as CreditWarningOffer, R as RoleInput, d as RoleInterface, e as UserInput, U as UserInterface, i as isCreditWarningActive, r as resolveChangePlanTarget } from './user.interface-
|
|
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-BjYwwfy9.js';
|
|
15
|
+
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, N as NotificationService, b as PendingRegistrationInterface, P as PushService, R as RoleService, c as S3Input, d as S3Interface, S as S3Service, T as TwoFactorChallengeInterface, U as UserService } from './s3.service-CsrsRPRn.js';
|
|
16
|
+
export { a as CREDIT_WARNING_DISMISS_SEGMENT, b as CompanyInput, c as CompanyInterface, C as CreditWarningOffer, R as RoleInput, d as RoleInterface, e as UserInput, U as UserInterface, i as isCreditWarningActive, r as resolveChangePlanTarget } from './user.interface-CKBIEvNu.js';
|
|
17
17
|
export { I as InvoiceStatus, M as MeterInterface, e as MeterSummaryInterface, P as PaymentMethodInterface, g as PromotionCodeValidationResult, c as ProrationLineItem, b as ProrationPreviewInterface, R as ReportUsageInput, q as StripeCouponCodeFlagsInput, p as StripeCouponCodeInput, o as StripeCouponCodeInterface, k as StripeCouponDiscountInput, h as StripeCouponDiscountType, l as StripeCouponDurationInput, i as StripeCouponDurationType, m as StripeCouponInput, j as StripeCouponInterface, n as StripeCouponRenameInput, S as StripeCustomerInterface, a as StripeInvoiceInterface, d as StripeUsageInterface, f as UsageRecordInterface, U as UsageSummaryInterface, s as formatCurrency, t as formatFixed, r as formatInterval } from './currency-CBgZkS0u.js';
|
|
18
18
|
export { F as FeatureInterface, M as ModuleInterface, P as PriceRecurring, b as StripePriceInput, a as StripePriceInterface, d as StripeProductInput, c as StripeProductInterface, h as StripeSubscriptionCreateMeta, i as StripeSubscriptionCreateResponse, f as StripeSubscriptionDiscount, g as StripeSubscriptionInput, S as StripeSubscriptionInterface, e as SubscriptionStatus } from './stripe-price.interface-DGqcklFJ.js';
|
|
19
|
-
export { a as ContentInput, C as ContentInterface, b as NotificationInput, N as NotificationInterface } from './notification.interface-
|
|
19
|
+
export { a as ContentInput, C as ContentInterface, b as NotificationInput, N as NotificationInterface } from './notification.interface-DQItyY_Q.js';
|
|
20
20
|
export { h as EmailAutomationEnrollmentFields, e as EmailAutomationEnrollmentInterface, d as EmailAutomationEnrollmentStatus, g as EmailAutomationFields, E as EmailAutomationInput, a as EmailAutomationInterface, b as EmailAutomationStepInput, c as EmailAutomationStepInterface, f as EmailAutomationTriggerInterface } from './email-automation-enrollment.fields-Cp3VMzFq.js';
|
|
21
|
-
export { g as BlogCategoryInput, a as BlogCategoryInterface, h as BlogCategoryTranslationInput, i as BlogCategoryTranslationInterface, d as BlogPostInput, b as BlogPostInterface, e as BlogPostTranslationInput, f as BlogPostTranslationInterface } from './BlogPostInterface-
|
|
21
|
+
export { g as BlogCategoryInput, a as BlogCategoryInterface, h as BlogCategoryTranslationInput, i as BlogCategoryTranslationInterface, d as BlogPostInput, b as BlogPostInterface, e as BlogPostTranslationInput, f as BlogPostTranslationInterface } from './BlogPostInterface-2sVqvXFd.js';
|
|
22
22
|
export { a as BlogCategoryFields, B as BlogPostFields } from './BlogCategoryFields-DO48vOTE.js';
|
|
23
23
|
export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE_DISPLAY, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, a as OAuthClientInput, O as OAuthClientInterface, f as OAuthConsentInfo, d as OAuthConsentRequest, e as OAuthScopeInfo } from './oauth.interface-BZKZAPRw.js';
|
|
24
24
|
export { b as TokenUsageAdminBreakdownModule, T as TokenUsageAdminSummaryModule, a as TokenUsageAdminTimelineModule, c as configureTokenUsage, g as getTokenUsageCurrency, t as tokenUsageModules } from './config-B6UB7j69.js';
|
package/dist/index.js
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkZXK2OMCCjs = require('./chunk-ZXK2OMCC.js');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
@@ -317,7 +317,7 @@ var _chunkG4JR3SFVjs = require('./chunk-G4JR3SFV.js');
|
|
|
317
317
|
|
|
318
318
|
|
|
319
319
|
|
|
320
|
-
var
|
|
320
|
+
var _chunkUZP7KRAVjs = require('./chunk-UZP7KRAV.js');
|
|
321
321
|
|
|
322
322
|
|
|
323
323
|
|
|
@@ -659,5 +659,5 @@ require('./chunk-7QVYU63E.js');
|
|
|
659
659
|
|
|
660
660
|
|
|
661
661
|
|
|
662
|
-
exports.ACCOUNT_DELETION_CANCELLED_KEY = _chunk6KE7UBYYjs.ACCOUNT_DELETION_CANCELLED_KEY; exports.ACTION_TYPES = _chunk3HOJNAZBjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunk6KE7UBYYjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunk6KE7UBYYjs.AbstractApiData; exports.AbstractService = _chunk6KE7UBYYjs.AbstractService; exports.AccountDeletion = _chunk6KE7UBYYjs.AccountDeletion; exports.AccountDeletionModule = _chunk6KE7UBYYjs.AccountDeletionModule; exports.AccountDeletionService = _chunk6KE7UBYYjs.AccountDeletionService; exports.Action = _chunk6KE7UBYYjs.Action; exports.AiConnection = _chunk6KE7UBYYjs.AiConnection; exports.AiConnectionFields = _chunk6KE7UBYYjs.AiConnectionFields; exports.AiConnectionModule = _chunk6KE7UBYYjs.AiConnectionModule; exports.AiConnectionService = _chunk6KE7UBYYjs.AiConnectionService; exports.Assistant = _chunk6KE7UBYYjs.Assistant; exports.AssistantAction = _chunk6KE7UBYYjs.AssistantAction; exports.AssistantActionModule = _chunk6KE7UBYYjs.AssistantActionModule; exports.AssistantActionService = _chunk6KE7UBYYjs.AssistantActionService; exports.AssistantMessage = _chunk6KE7UBYYjs.AssistantMessage; exports.AssistantMessageModule = _chunk6KE7UBYYjs.AssistantMessageModule; exports.AssistantMessageService = _chunk6KE7UBYYjs.AssistantMessageService; exports.AssistantModule = _chunk6KE7UBYYjs.AssistantModule; exports.AssistantService = _chunk6KE7UBYYjs.AssistantService; exports.AuditLog = _chunk6KE7UBYYjs.AuditLog; exports.AuditLogModule = _chunk6KE7UBYYjs.AuditLogModule; exports.AuditLogService = _chunk6KE7UBYYjs.AuditLogService; exports.Auth = _chunk6KE7UBYYjs.Auth; exports.AuthComponent = _chunk6KE7UBYYjs.AuthComponent; exports.AuthModule = _chunk6KE7UBYYjs.AuthModule; exports.AuthService = _chunk6KE7UBYYjs.AuthService; exports.AuthorModule = _chunk6KE7UBYYjs.AuthorModule; exports.BackupCodeVerify = _chunk6KE7UBYYjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunk6KE7UBYYjs.BackupCodeVerifyModule; exports.Billing = _chunk6KE7UBYYjs.Billing; exports.BillingModule = _chunk6KE7UBYYjs.BillingModule; exports.BillingService = _chunk6KE7UBYYjs.BillingService; exports.BlockNoteDiffUtil = _chunk6KE7UBYYjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunk6KE7UBYYjs.BlockNoteWordDiffRendererUtil; exports.BlogCategory = _chunk6KE7UBYYjs.BlogCategory; exports.BlogCategoryFields = _chunk6KE7UBYYjs.BlogCategoryFields; exports.BlogCategoryModule = _chunk6KE7UBYYjs.BlogCategoryModule; exports.BlogCategoryService = _chunk6KE7UBYYjs.BlogCategoryService; exports.BlogCategoryTranslation = _chunk6KE7UBYYjs.BlogCategoryTranslation; exports.BlogCategoryTranslationModule = _chunk6KE7UBYYjs.BlogCategoryTranslationModule; exports.BlogCategoryTranslationService = _chunk6KE7UBYYjs.BlogCategoryTranslationService; exports.BlogPost = _chunk6KE7UBYYjs.BlogPost; exports.BlogPostFields = _chunk6KE7UBYYjs.BlogPostFields; exports.BlogPostModule = _chunk6KE7UBYYjs.BlogPostModule; exports.BlogPostService = _chunk6KE7UBYYjs.BlogPostService; exports.BlogPostTranslation = _chunk6KE7UBYYjs.BlogPostTranslation; exports.BlogPostTranslationModule = _chunk6KE7UBYYjs.BlogPostTranslationModule; exports.BlogPostTranslationService = _chunk6KE7UBYYjs.BlogPostTranslationService; exports.BlogSettings = _chunk6KE7UBYYjs.BlogSettings; exports.BlogSettingsModule = _chunk6KE7UBYYjs.BlogSettingsModule; exports.BlogSettingsService = _chunk6KE7UBYYjs.BlogSettingsService; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunk3HOJNAZBjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.CREDIT_WARNING_DISMISS_SEGMENT = _chunk6KE7UBYYjs.CREDIT_WARNING_DISMISS_SEGMENT; exports.CURRENT_USER_STORAGE_KEY = _chunk6KE7UBYYjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunk6KE7UBYYjs.Chunk; exports.ChunkModule = _chunk6KE7UBYYjs.ChunkModule; exports.ClientAbstractService = _chunk6KE7UBYYjs.ClientAbstractService; exports.ClientHttpMethod = _chunk6KE7UBYYjs.ClientHttpMethod; exports.Company = _chunk6KE7UBYYjs.Company; exports.CompanyFields = _chunk6KE7UBYYjs.CompanyFields; exports.CompanyModule = _chunk6KE7UBYYjs.CompanyModule; exports.CompanyService = _chunk6KE7UBYYjs.CompanyService; exports.Content = _chunk6KE7UBYYjs.Content; exports.ContentFields = _chunk6KE7UBYYjs.ContentFields; exports.ContentModule = _chunk6KE7UBYYjs.ContentModule; exports.ContentService = _chunk6KE7UBYYjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunk6KE7UBYYjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkGHE4VT2Rjs.DataClassRegistry; exports.DataClassRegistry = _chunkGHE4VT2Rjs.DataClassRegistry; exports.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = _chunk6KE7UBYYjs.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE; exports.ENV = _chunkGHE4VT2Rjs.ENV; exports.EmailAutomation = _chunk6KE7UBYYjs.EmailAutomation; exports.EmailAutomationEnrollment = _chunk6KE7UBYYjs.EmailAutomationEnrollment; exports.EmailAutomationEnrollmentFields = _chunk6KE7UBYYjs.EmailAutomationEnrollmentFields; exports.EmailAutomationEnrollmentModule = _chunk6KE7UBYYjs.EmailAutomationEnrollmentModule; exports.EmailAutomationEnrollmentService = _chunk6KE7UBYYjs.EmailAutomationEnrollmentService; exports.EmailAutomationFields = _chunk6KE7UBYYjs.EmailAutomationFields; exports.EmailAutomationModule = _chunk6KE7UBYYjs.EmailAutomationModule; exports.EmailAutomationService = _chunk6KE7UBYYjs.EmailAutomationService; exports.EmailAutomationStep = _chunk6KE7UBYYjs.EmailAutomationStep; exports.EmailAutomationStepModule = _chunk6KE7UBYYjs.EmailAutomationStepModule; exports.EmailAutomationStepService = _chunk6KE7UBYYjs.EmailAutomationStepService; exports.EmailAutomationTrigger = _chunk6KE7UBYYjs.EmailAutomationTrigger; exports.EmailAutomationTriggerModule = _chunk6KE7UBYYjs.EmailAutomationTriggerModule; exports.EndpointCreator = _chunk6KE7UBYYjs.EndpointCreator; exports.EntityAiStatus = _chunk6KE7UBYYjs.EntityAiStatus; exports.Feature = _chunk6KE7UBYYjs.Feature; exports.FeatureModule = _chunk6KE7UBYYjs.FeatureModule; exports.FeatureService = _chunk6KE7UBYYjs.FeatureService; exports.HandbookPage = _chunk6KE7UBYYjs.HandbookPage; exports.HandbookPageFields = _chunk6KE7UBYYjs.HandbookPageFields; exports.HandbookPageModule = _chunk6KE7UBYYjs.HandbookPageModule; exports.HandbookPageService = _chunk6KE7UBYYjs.HandbookPageService; exports.HandbookSection = _chunk6KE7UBYYjs.HandbookSection; exports.HandbookSectionModule = _chunk6KE7UBYYjs.HandbookSectionModule; exports.HandbookSectionService = _chunk6KE7UBYYjs.HandbookSectionService; exports.HandbookThread = _chunk6KE7UBYYjs.HandbookThread; exports.HandbookThreadMessage = _chunk6KE7UBYYjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunk6KE7UBYYjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunk6KE7UBYYjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunk6KE7UBYYjs.HandbookThreadModule; exports.HandbookThreadService = _chunk6KE7UBYYjs.HandbookThreadService; exports.HowTo = _chunk6KE7UBYYjs.HowTo; exports.HowToFields = _chunk6KE7UBYYjs.HowToFields; exports.HowToModule = _chunk6KE7UBYYjs.HowToModule; exports.HowToService = _chunk6KE7UBYYjs.HowToService; exports.HttpMethod = _chunk6KE7UBYYjs.HttpMethod; exports.InvoiceStatus = _chunk6KE7UBYYjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkGHE4VT2Rjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunk6KE7UBYYjs.MOBILE_BREAKPOINT; exports.Module = _chunk6KE7UBYYjs.Module; exports.ModuleModule = _chunk6KE7UBYYjs.ModuleModule; exports.ModulePaths = _chunk6KE7UBYYjs.ModulePaths; exports.ModulePathsModule = _chunk6KE7UBYYjs.ModulePathsModule; exports.ModuleRegistrar = _chunk6KE7UBYYjs.ModuleRegistrar; exports.ModuleRegistry = _chunk6KE7UBYYjs.ModuleRegistry; exports.Modules = _chunk6KE7UBYYjs.Modules; exports.Notification = _chunk6KE7UBYYjs.Notification; exports.NotificationFields = _chunk6KE7UBYYjs.NotificationFields; exports.NotificationModule = _chunk6KE7UBYYjs.NotificationModule; exports.NotificationService = _chunk6KE7UBYYjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunk6KE7UBYYjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunk6KE7UBYYjs.OAuthClient; exports.OAuthModule = _chunk6KE7UBYYjs.OAuthModule; exports.OAuthService = _chunk6KE7UBYYjs.OAuthService; exports.Passkey = _chunk6KE7UBYYjs.Passkey; exports.PasskeyAuthenticationOptions = _chunk6KE7UBYYjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunk6KE7UBYYjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunk6KE7UBYYjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunk6KE7UBYYjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunk6KE7UBYYjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunk6KE7UBYYjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunk6KE7UBYYjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunk6KE7UBYYjs.PasskeyRename; exports.PasskeyRenameModule = _chunk6KE7UBYYjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunk6KE7UBYYjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunk6KE7UBYYjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunk6KE7UBYYjs.PaymentMethod; exports.PendingRegistration = _chunk6KE7UBYYjs.PendingRegistration; exports.PendingRegistrationModule = _chunk6KE7UBYYjs.PendingRegistrationModule; exports.PermissionMapping = _chunk6KE7UBYYjs.PermissionMapping; exports.PermissionMappingModule = _chunk6KE7UBYYjs.PermissionMappingModule; exports.Push = _chunk6KE7UBYYjs.Push; exports.PushModule = _chunk6KE7UBYYjs.PushModule; exports.PushService = _chunk6KE7UBYYjs.PushService; exports.RbacMatrixModel = _chunk6KE7UBYYjs.RbacMatrixModel; exports.RbacMatrixModule = _chunk6KE7UBYYjs.RbacMatrixModule; exports.RbacService = _chunk3HOJNAZBjs.RbacService; exports.ReferralModule = _chunk6KE7UBYYjs.ReferralModule; exports.ReferralService = _chunk6KE7UBYYjs.ReferralService; exports.ReferralStats = _chunk6KE7UBYYjs.ReferralStats; exports.ReferralStatsModule = _chunk6KE7UBYYjs.ReferralStatsModule; exports.RehydrationFactory = _chunk6KE7UBYYjs.RehydrationFactory; exports.Role = _chunk6KE7UBYYjs.Role; exports.RoleFields = _chunk6KE7UBYYjs.RoleFields; exports.RoleModule = _chunk6KE7UBYYjs.RoleModule; exports.RoleService = _chunk6KE7UBYYjs.RoleService; exports.S3 = _chunk6KE7UBYYjs.S3; exports.S3Module = _chunk6KE7UBYYjs.S3Module; exports.S3Service = _chunk6KE7UBYYjs.S3Service; exports.SIGNUP_SOURCE_COOKIE = _chunk3HOJNAZBjs.SIGNUP_SOURCE_COOKIE; exports.SIGNUP_SOURCE_COOKIE_MAX_AGE = _chunk3HOJNAZBjs.SIGNUP_SOURCE_COOKIE_MAX_AGE; exports.STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT = _chunk6KE7UBYYjs.STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT; exports.STRIPE_COUPON_DETAIL_PAGE_URL = _chunk6KE7UBYYjs.STRIPE_COUPON_DETAIL_PAGE_URL; exports.STRIPE_COUPON_REFRESH_SEGMENT = _chunk6KE7UBYYjs.STRIPE_COUPON_REFRESH_SEGMENT; exports.StripeCoupon = _chunk6KE7UBYYjs.StripeCoupon; exports.StripeCouponCode = _chunk6KE7UBYYjs.StripeCouponCode; exports.StripeCouponCodeFields = _chunk6KE7UBYYjs.StripeCouponCodeFields; exports.StripeCouponCodeModule = _chunk6KE7UBYYjs.StripeCouponCodeModule; exports.StripeCouponCodeService = _chunk6KE7UBYYjs.StripeCouponCodeService; exports.StripeCouponFields = _chunk6KE7UBYYjs.StripeCouponFields; exports.StripeCouponModule = _chunk6KE7UBYYjs.StripeCouponModule; exports.StripeCouponOffer = _chunk6KE7UBYYjs.StripeCouponOffer; exports.StripeCouponOfferModule = _chunk6KE7UBYYjs.StripeCouponOfferModule; exports.StripeCouponService = _chunk6KE7UBYYjs.StripeCouponService; exports.StripeCustomer = _chunk6KE7UBYYjs.StripeCustomer; exports.StripeCustomerModule = _chunk6KE7UBYYjs.StripeCustomerModule; exports.StripeCustomerService = _chunk6KE7UBYYjs.StripeCustomerService; exports.StripeInvoice = _chunk6KE7UBYYjs.StripeInvoice; exports.StripeInvoiceModule = _chunk6KE7UBYYjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunk6KE7UBYYjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunk6KE7UBYYjs.StripePaymentMethodModule; exports.StripePrice = _chunk6KE7UBYYjs.StripePrice; exports.StripePriceFields = _chunk6KE7UBYYjs.StripePriceFields; exports.StripePriceModule = _chunk6KE7UBYYjs.StripePriceModule; exports.StripePriceService = _chunk6KE7UBYYjs.StripePriceService; exports.StripeProduct = _chunk6KE7UBYYjs.StripeProduct; exports.StripeProductFields = _chunk6KE7UBYYjs.StripeProductFields; exports.StripeProductModule = _chunk6KE7UBYYjs.StripeProductModule; exports.StripeProductService = _chunk6KE7UBYYjs.StripeProductService; exports.StripePromotionCode = _chunk6KE7UBYYjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunk6KE7UBYYjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunk6KE7UBYYjs.StripePromotionCodeService; exports.StripeSubscription = _chunk6KE7UBYYjs.StripeSubscription; exports.StripeSubscriptionModule = _chunk6KE7UBYYjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunk6KE7UBYYjs.StripeSubscriptionService; exports.StripeUsage = _chunk6KE7UBYYjs.StripeUsage; exports.StripeUsageModule = _chunk6KE7UBYYjs.StripeUsageModule; exports.StripeUsageService = _chunk6KE7UBYYjs.StripeUsageService; exports.SubscriptionStatus = _chunk6KE7UBYYjs.SubscriptionStatus; exports.TableOptions = _chunk6KE7UBYYjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunk6KE7UBYYjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunk6KE7UBYYjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunk6KE7UBYYjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunk6KE7UBYYjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunk6KE7UBYYjs.TotpAuthenticatorModule; exports.TotpSetup = _chunk6KE7UBYYjs.TotpSetup; exports.TotpSetupModule = _chunk6KE7UBYYjs.TotpSetupModule; exports.TotpVerify = _chunk6KE7UBYYjs.TotpVerify; exports.TotpVerifyLogin = _chunk6KE7UBYYjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunk6KE7UBYYjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunk6KE7UBYYjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunk6KE7UBYYjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunk6KE7UBYYjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunk6KE7UBYYjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunk6KE7UBYYjs.TwoFactorEnableModule; exports.TwoFactorService = _chunk6KE7UBYYjs.TwoFactorService; exports.TwoFactorStatus = _chunk6KE7UBYYjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunk6KE7UBYYjs.TwoFactorStatusModule; exports.User = _chunk6KE7UBYYjs.User; exports.UserFields = _chunk6KE7UBYYjs.UserFields; exports.UserModule = _chunk6KE7UBYYjs.UserModule; exports.UserService = _chunk6KE7UBYYjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunk6KE7UBYYjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunk6KE7UBYYjs.Waitlist; exports.WaitlistFields = _chunk6KE7UBYYjs.WaitlistFields; exports.WaitlistModule = _chunk6KE7UBYYjs.WaitlistModule; exports.WaitlistService = _chunk6KE7UBYYjs.WaitlistService; exports.WaitlistStats = _chunk6KE7UBYYjs.WaitlistStats; exports.WaitlistStatsModule = _chunk6KE7UBYYjs.WaitlistStatsModule; exports.analyticsModules = _chunk6KE7UBYYjs.analyticsModules; exports.captureSignupSource = _chunk3HOJNAZBjs.captureSignupSource; exports.checkPermissions = _chunk6KE7UBYYjs.checkPermissions; exports.checkPermissionsFromServer = _chunk6KE7UBYYjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunk6KE7UBYYjs.clearLastApiMeta; exports.clearLastApiTotal = _chunk6KE7UBYYjs.clearLastApiTotal; exports.cn = _chunk6KE7UBYYjs.cn; exports.composeRefs = _chunk6KE7UBYYjs.composeRefs; exports.configureAuth = _chunk6KE7UBYYjs.configureAuth; exports.configureI18n = _chunk6KE7UBYYjs.configureI18n; exports.configureJsonApi = _chunk3HOJNAZBjs.configureJsonApi; exports.configureLogin = _chunk3HOJNAZBjs.configureLogin; exports.configureReferral = _chunk3HOJNAZBjs.configureReferral; exports.configureRoles = _chunkG4JR3SFVjs.configureRoles; exports.configureTokenUsage = _chunk6KE7UBYYjs.configureTokenUsage; exports.configureWaitlist = _chunk3HOJNAZBjs.configureWaitlist; exports.consumeAccountDeletionCancelled = _chunk6KE7UBYYjs.consumeAccountDeletionCancelled; exports.couponPlacesLeft = _chunk6KE7UBYYjs.couponPlacesLeft; exports.couponPlacesTotal = _chunk6KE7UBYYjs.couponPlacesTotal; exports.createJsonApiInclusion = _chunk6KE7UBYYjs.createJsonApiInclusion; exports.dateFormatLocale = _chunk6KE7UBYYjs.dateFormatLocale; exports.dismissToast = _chunk6KE7UBYYjs.dismissToast; exports.entityObjectSchema = _chunk6KE7UBYYjs.entityObjectSchema; exports.exists = _chunk6KE7UBYYjs.exists; exports.formatCodiceFiscale = _chunk6KE7UBYYjs.formatCodiceFiscale; exports.formatCouponDiscount = _chunk6KE7UBYYjs.formatCouponDiscount; exports.formatCurrency = _chunk6KE7UBYYjs.formatCurrency; exports.formatDate = _chunk6KE7UBYYjs.formatDate; exports.formatFixed = _chunk6KE7UBYYjs.formatFixed; exports.formatInterval = _chunk6KE7UBYYjs.formatInterval; exports.formatLocalDate = _chunk6KE7UBYYjs.formatLocalDate; exports.formatPartitaIva = _chunk6KE7UBYYjs.formatPartitaIva; exports.getApiUrl = _chunk3HOJNAZBjs.getApiUrl; exports.getAppUrl = _chunk3HOJNAZBjs.getAppUrl; exports.getBootstrapper = _chunkGHE4VT2Rjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunk6KE7UBYYjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunk6KE7UBYYjs.getGlobalErrorHandler; exports.getIcon = _chunk6KE7UBYYjs.getIcon; exports.getIconByModule = _chunk6KE7UBYYjs.getIconByModule; exports.getIconByModuleName = _chunk6KE7UBYYjs.getIconByModuleName; exports.getInitials = _chunk6KE7UBYYjs.getInitials; exports.getLastApiMeta = _chunk6KE7UBYYjs.getLastApiMeta; exports.getLastApiTotal = _chunk6KE7UBYYjs.getLastApiTotal; exports.getLucideIcon = _chunk6KE7UBYYjs.getLucideIcon; exports.getLucideIconByModule = _chunk6KE7UBYYjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunk6KE7UBYYjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunk3HOJNAZBjs.getPublicApiUrl; exports.getReferralConfig = _chunk3HOJNAZBjs.getReferralConfig; exports.getRoleId = _chunkG4JR3SFVjs.getRoleId; exports.getSignupSource = _chunk3HOJNAZBjs.getSignupSource; exports.getStripePublishableKey = _chunk3HOJNAZBjs.getStripePublishableKey; exports.getTableComponents = _chunk6KE7UBYYjs.getTableComponents; exports.getTableOptions = _chunk6KE7UBYYjs.getTableOptions; exports.getTokenHandler = _chunk6KE7UBYYjs.getTokenHandler; exports.getTokenUsageCurrency = _chunk6KE7UBYYjs.getTokenUsageCurrency; exports.getTrackablePages = _chunk3HOJNAZBjs.getTrackablePages; exports.getValueFromPath = _chunk6KE7UBYYjs.getValueFromPath; exports.getWaitlistConfig = _chunk3HOJNAZBjs.getWaitlistConfig; exports.handbookPageContent = _chunk6KE7UBYYjs.handbookPageContent; exports.handbookPageSummary = _chunk6KE7UBYYjs.handbookPageSummary; exports.handbookPageTitle = _chunk6KE7UBYYjs.handbookPageTitle; exports.handbookSectionSummary = _chunk6KE7UBYYjs.handbookSectionSummary; exports.handbookSectionTitle = _chunk6KE7UBYYjs.handbookSectionTitle; exports.hasBootstrapper = _chunkGHE4VT2Rjs.hasBootstrapper; exports.isCreditWarningActive = _chunk6KE7UBYYjs.isCreditWarningActive; exports.isReferralEnabled = _chunk3HOJNAZBjs.isReferralEnabled; exports.isRemoteImageSrc = _chunk6KE7UBYYjs.isRemoteImageSrc; exports.isRolesConfigured = _chunkG4JR3SFVjs.isRolesConfigured; exports.markAccountDeletionCancelled = _chunk6KE7UBYYjs.markAccountDeletionCancelled; exports.mergeMessages = _chunk6KE7UBYYjs.mergeMessages; exports.readSignupSourceFromLocation = _chunk3HOJNAZBjs.readSignupSourceFromLocation; exports.rehydrate = _chunk6KE7UBYYjs.rehydrate; exports.rehydrateList = _chunk6KE7UBYYjs.rehydrateList; exports.resetBootstrapStore = _chunkGHE4VT2Rjs.resetBootstrapStore; exports.resolveChangePlanTarget = _chunk6KE7UBYYjs.resolveChangePlanTarget; exports.setBootstrapper = _chunkGHE4VT2Rjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunk6KE7UBYYjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunk6KE7UBYYjs.setGlobalErrorHandler; exports.showCustomToast = _chunk6KE7UBYYjs.showCustomToast; exports.showError = _chunk6KE7UBYYjs.showError; exports.showToast = _chunk6KE7UBYYjs.showToast; exports.toPromotionCodeResult = _chunk6KE7UBYYjs.toPromotionCodeResult; exports.tokenUsageModules = _chunk6KE7UBYYjs.tokenUsageModules; exports.translateData = _chunkGHE4VT2Rjs.translateData; exports.translateResponse = _chunkGHE4VT2Rjs.translateResponse; exports.tryBootstrap = _chunkGHE4VT2Rjs.tryBootstrap; exports.useComposedRefs = _chunk6KE7UBYYjs.useComposedRefs; exports.useIsMobile = _chunk6KE7UBYYjs.useIsMobile; exports.userObjectSchema = _chunk6KE7UBYYjs.userObjectSchema; exports.validateCodiceFiscale = _chunk6KE7UBYYjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunk6KE7UBYYjs.validateItalianTaxCode; exports.validatePartitaIva = _chunk6KE7UBYYjs.validatePartitaIva;
|
|
662
|
+
exports.ACCOUNT_DELETION_CANCELLED_KEY = _chunkUZP7KRAVjs.ACCOUNT_DELETION_CANCELLED_KEY; exports.ACTION_TYPES = _chunkZXK2OMCCjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkUZP7KRAVjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkUZP7KRAVjs.AbstractApiData; exports.AbstractService = _chunkUZP7KRAVjs.AbstractService; exports.AccountDeletion = _chunkUZP7KRAVjs.AccountDeletion; exports.AccountDeletionModule = _chunkUZP7KRAVjs.AccountDeletionModule; exports.AccountDeletionService = _chunkUZP7KRAVjs.AccountDeletionService; exports.Action = _chunkUZP7KRAVjs.Action; exports.AiConnection = _chunkUZP7KRAVjs.AiConnection; exports.AiConnectionFields = _chunkUZP7KRAVjs.AiConnectionFields; exports.AiConnectionModule = _chunkUZP7KRAVjs.AiConnectionModule; exports.AiConnectionService = _chunkUZP7KRAVjs.AiConnectionService; exports.Assistant = _chunkUZP7KRAVjs.Assistant; exports.AssistantAction = _chunkUZP7KRAVjs.AssistantAction; exports.AssistantActionModule = _chunkUZP7KRAVjs.AssistantActionModule; exports.AssistantActionService = _chunkUZP7KRAVjs.AssistantActionService; exports.AssistantMessage = _chunkUZP7KRAVjs.AssistantMessage; exports.AssistantMessageModule = _chunkUZP7KRAVjs.AssistantMessageModule; exports.AssistantMessageService = _chunkUZP7KRAVjs.AssistantMessageService; exports.AssistantModule = _chunkUZP7KRAVjs.AssistantModule; exports.AssistantService = _chunkUZP7KRAVjs.AssistantService; exports.AuditLog = _chunkUZP7KRAVjs.AuditLog; exports.AuditLogModule = _chunkUZP7KRAVjs.AuditLogModule; exports.AuditLogService = _chunkUZP7KRAVjs.AuditLogService; exports.Auth = _chunkUZP7KRAVjs.Auth; exports.AuthComponent = _chunkUZP7KRAVjs.AuthComponent; exports.AuthModule = _chunkUZP7KRAVjs.AuthModule; exports.AuthService = _chunkUZP7KRAVjs.AuthService; exports.AuthorModule = _chunkUZP7KRAVjs.AuthorModule; exports.BackupCodeVerify = _chunkUZP7KRAVjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkUZP7KRAVjs.BackupCodeVerifyModule; exports.Billing = _chunkUZP7KRAVjs.Billing; exports.BillingModule = _chunkUZP7KRAVjs.BillingModule; exports.BillingService = _chunkUZP7KRAVjs.BillingService; exports.BlockNoteDiffUtil = _chunkUZP7KRAVjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkUZP7KRAVjs.BlockNoteWordDiffRendererUtil; exports.BlogCategory = _chunkUZP7KRAVjs.BlogCategory; exports.BlogCategoryFields = _chunkUZP7KRAVjs.BlogCategoryFields; exports.BlogCategoryModule = _chunkUZP7KRAVjs.BlogCategoryModule; exports.BlogCategoryService = _chunkUZP7KRAVjs.BlogCategoryService; exports.BlogCategoryTranslation = _chunkUZP7KRAVjs.BlogCategoryTranslation; exports.BlogCategoryTranslationModule = _chunkUZP7KRAVjs.BlogCategoryTranslationModule; exports.BlogCategoryTranslationService = _chunkUZP7KRAVjs.BlogCategoryTranslationService; exports.BlogPost = _chunkUZP7KRAVjs.BlogPost; exports.BlogPostFields = _chunkUZP7KRAVjs.BlogPostFields; exports.BlogPostModule = _chunkUZP7KRAVjs.BlogPostModule; exports.BlogPostService = _chunkUZP7KRAVjs.BlogPostService; exports.BlogPostTranslation = _chunkUZP7KRAVjs.BlogPostTranslation; exports.BlogPostTranslationModule = _chunkUZP7KRAVjs.BlogPostTranslationModule; exports.BlogPostTranslationService = _chunkUZP7KRAVjs.BlogPostTranslationService; exports.BlogSettings = _chunkUZP7KRAVjs.BlogSettings; exports.BlogSettingsModule = _chunkUZP7KRAVjs.BlogSettingsModule; exports.BlogSettingsService = _chunkUZP7KRAVjs.BlogSettingsService; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkZXK2OMCCjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.CREDIT_WARNING_DISMISS_SEGMENT = _chunkUZP7KRAVjs.CREDIT_WARNING_DISMISS_SEGMENT; exports.CURRENT_USER_STORAGE_KEY = _chunkUZP7KRAVjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkUZP7KRAVjs.Chunk; exports.ChunkModule = _chunkUZP7KRAVjs.ChunkModule; exports.ClientAbstractService = _chunkUZP7KRAVjs.ClientAbstractService; exports.ClientHttpMethod = _chunkUZP7KRAVjs.ClientHttpMethod; exports.Company = _chunkUZP7KRAVjs.Company; exports.CompanyFields = _chunkUZP7KRAVjs.CompanyFields; exports.CompanyModule = _chunkUZP7KRAVjs.CompanyModule; exports.CompanyService = _chunkUZP7KRAVjs.CompanyService; exports.Content = _chunkUZP7KRAVjs.Content; exports.ContentFields = _chunkUZP7KRAVjs.ContentFields; exports.ContentModule = _chunkUZP7KRAVjs.ContentModule; exports.ContentService = _chunkUZP7KRAVjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkUZP7KRAVjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkGHE4VT2Rjs.DataClassRegistry; exports.DataClassRegistry = _chunkGHE4VT2Rjs.DataClassRegistry; exports.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = _chunkUZP7KRAVjs.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE; exports.ENV = _chunkGHE4VT2Rjs.ENV; exports.EmailAutomation = _chunkUZP7KRAVjs.EmailAutomation; exports.EmailAutomationEnrollment = _chunkUZP7KRAVjs.EmailAutomationEnrollment; exports.EmailAutomationEnrollmentFields = _chunkUZP7KRAVjs.EmailAutomationEnrollmentFields; exports.EmailAutomationEnrollmentModule = _chunkUZP7KRAVjs.EmailAutomationEnrollmentModule; exports.EmailAutomationEnrollmentService = _chunkUZP7KRAVjs.EmailAutomationEnrollmentService; exports.EmailAutomationFields = _chunkUZP7KRAVjs.EmailAutomationFields; exports.EmailAutomationModule = _chunkUZP7KRAVjs.EmailAutomationModule; exports.EmailAutomationService = _chunkUZP7KRAVjs.EmailAutomationService; exports.EmailAutomationStep = _chunkUZP7KRAVjs.EmailAutomationStep; exports.EmailAutomationStepModule = _chunkUZP7KRAVjs.EmailAutomationStepModule; exports.EmailAutomationStepService = _chunkUZP7KRAVjs.EmailAutomationStepService; exports.EmailAutomationTrigger = _chunkUZP7KRAVjs.EmailAutomationTrigger; exports.EmailAutomationTriggerModule = _chunkUZP7KRAVjs.EmailAutomationTriggerModule; exports.EndpointCreator = _chunkUZP7KRAVjs.EndpointCreator; exports.EntityAiStatus = _chunkUZP7KRAVjs.EntityAiStatus; exports.Feature = _chunkUZP7KRAVjs.Feature; exports.FeatureModule = _chunkUZP7KRAVjs.FeatureModule; exports.FeatureService = _chunkUZP7KRAVjs.FeatureService; exports.HandbookPage = _chunkUZP7KRAVjs.HandbookPage; exports.HandbookPageFields = _chunkUZP7KRAVjs.HandbookPageFields; exports.HandbookPageModule = _chunkUZP7KRAVjs.HandbookPageModule; exports.HandbookPageService = _chunkUZP7KRAVjs.HandbookPageService; exports.HandbookSection = _chunkUZP7KRAVjs.HandbookSection; exports.HandbookSectionModule = _chunkUZP7KRAVjs.HandbookSectionModule; exports.HandbookSectionService = _chunkUZP7KRAVjs.HandbookSectionService; exports.HandbookThread = _chunkUZP7KRAVjs.HandbookThread; exports.HandbookThreadMessage = _chunkUZP7KRAVjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkUZP7KRAVjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkUZP7KRAVjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkUZP7KRAVjs.HandbookThreadModule; exports.HandbookThreadService = _chunkUZP7KRAVjs.HandbookThreadService; exports.HowTo = _chunkUZP7KRAVjs.HowTo; exports.HowToFields = _chunkUZP7KRAVjs.HowToFields; exports.HowToModule = _chunkUZP7KRAVjs.HowToModule; exports.HowToService = _chunkUZP7KRAVjs.HowToService; exports.HttpMethod = _chunkUZP7KRAVjs.HttpMethod; exports.InvoiceStatus = _chunkUZP7KRAVjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkGHE4VT2Rjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkUZP7KRAVjs.MOBILE_BREAKPOINT; exports.Module = _chunkUZP7KRAVjs.Module; exports.ModuleModule = _chunkUZP7KRAVjs.ModuleModule; exports.ModulePaths = _chunkUZP7KRAVjs.ModulePaths; exports.ModulePathsModule = _chunkUZP7KRAVjs.ModulePathsModule; exports.ModuleRegistrar = _chunkUZP7KRAVjs.ModuleRegistrar; exports.ModuleRegistry = _chunkUZP7KRAVjs.ModuleRegistry; exports.Modules = _chunkUZP7KRAVjs.Modules; exports.Notification = _chunkUZP7KRAVjs.Notification; exports.NotificationFields = _chunkUZP7KRAVjs.NotificationFields; exports.NotificationModule = _chunkUZP7KRAVjs.NotificationModule; exports.NotificationService = _chunkUZP7KRAVjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkUZP7KRAVjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkUZP7KRAVjs.OAuthClient; exports.OAuthModule = _chunkUZP7KRAVjs.OAuthModule; exports.OAuthService = _chunkUZP7KRAVjs.OAuthService; exports.Passkey = _chunkUZP7KRAVjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkUZP7KRAVjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkUZP7KRAVjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkUZP7KRAVjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkUZP7KRAVjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkUZP7KRAVjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkUZP7KRAVjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkUZP7KRAVjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkUZP7KRAVjs.PasskeyRename; exports.PasskeyRenameModule = _chunkUZP7KRAVjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkUZP7KRAVjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkUZP7KRAVjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkUZP7KRAVjs.PaymentMethod; exports.PendingRegistration = _chunkUZP7KRAVjs.PendingRegistration; exports.PendingRegistrationModule = _chunkUZP7KRAVjs.PendingRegistrationModule; exports.PermissionMapping = _chunkUZP7KRAVjs.PermissionMapping; exports.PermissionMappingModule = _chunkUZP7KRAVjs.PermissionMappingModule; exports.Push = _chunkUZP7KRAVjs.Push; exports.PushModule = _chunkUZP7KRAVjs.PushModule; exports.PushService = _chunkUZP7KRAVjs.PushService; exports.RbacMatrixModel = _chunkUZP7KRAVjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkUZP7KRAVjs.RbacMatrixModule; exports.RbacService = _chunkZXK2OMCCjs.RbacService; exports.ReferralModule = _chunkUZP7KRAVjs.ReferralModule; exports.ReferralService = _chunkUZP7KRAVjs.ReferralService; exports.ReferralStats = _chunkUZP7KRAVjs.ReferralStats; exports.ReferralStatsModule = _chunkUZP7KRAVjs.ReferralStatsModule; exports.RehydrationFactory = _chunkUZP7KRAVjs.RehydrationFactory; exports.Role = _chunkUZP7KRAVjs.Role; exports.RoleFields = _chunkUZP7KRAVjs.RoleFields; exports.RoleModule = _chunkUZP7KRAVjs.RoleModule; exports.RoleService = _chunkUZP7KRAVjs.RoleService; exports.S3 = _chunkUZP7KRAVjs.S3; exports.S3Module = _chunkUZP7KRAVjs.S3Module; exports.S3Service = _chunkUZP7KRAVjs.S3Service; exports.SIGNUP_SOURCE_COOKIE = _chunkZXK2OMCCjs.SIGNUP_SOURCE_COOKIE; exports.SIGNUP_SOURCE_COOKIE_MAX_AGE = _chunkZXK2OMCCjs.SIGNUP_SOURCE_COOKIE_MAX_AGE; exports.STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT = _chunkUZP7KRAVjs.STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT; exports.STRIPE_COUPON_DETAIL_PAGE_URL = _chunkUZP7KRAVjs.STRIPE_COUPON_DETAIL_PAGE_URL; exports.STRIPE_COUPON_REFRESH_SEGMENT = _chunkUZP7KRAVjs.STRIPE_COUPON_REFRESH_SEGMENT; exports.StripeCoupon = _chunkUZP7KRAVjs.StripeCoupon; exports.StripeCouponCode = _chunkUZP7KRAVjs.StripeCouponCode; exports.StripeCouponCodeFields = _chunkUZP7KRAVjs.StripeCouponCodeFields; exports.StripeCouponCodeModule = _chunkUZP7KRAVjs.StripeCouponCodeModule; exports.StripeCouponCodeService = _chunkUZP7KRAVjs.StripeCouponCodeService; exports.StripeCouponFields = _chunkUZP7KRAVjs.StripeCouponFields; exports.StripeCouponModule = _chunkUZP7KRAVjs.StripeCouponModule; exports.StripeCouponOffer = _chunkUZP7KRAVjs.StripeCouponOffer; exports.StripeCouponOfferModule = _chunkUZP7KRAVjs.StripeCouponOfferModule; exports.StripeCouponService = _chunkUZP7KRAVjs.StripeCouponService; exports.StripeCustomer = _chunkUZP7KRAVjs.StripeCustomer; exports.StripeCustomerModule = _chunkUZP7KRAVjs.StripeCustomerModule; exports.StripeCustomerService = _chunkUZP7KRAVjs.StripeCustomerService; exports.StripeInvoice = _chunkUZP7KRAVjs.StripeInvoice; exports.StripeInvoiceModule = _chunkUZP7KRAVjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkUZP7KRAVjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkUZP7KRAVjs.StripePaymentMethodModule; exports.StripePrice = _chunkUZP7KRAVjs.StripePrice; exports.StripePriceFields = _chunkUZP7KRAVjs.StripePriceFields; exports.StripePriceModule = _chunkUZP7KRAVjs.StripePriceModule; exports.StripePriceService = _chunkUZP7KRAVjs.StripePriceService; exports.StripeProduct = _chunkUZP7KRAVjs.StripeProduct; exports.StripeProductFields = _chunkUZP7KRAVjs.StripeProductFields; exports.StripeProductModule = _chunkUZP7KRAVjs.StripeProductModule; exports.StripeProductService = _chunkUZP7KRAVjs.StripeProductService; exports.StripePromotionCode = _chunkUZP7KRAVjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkUZP7KRAVjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkUZP7KRAVjs.StripePromotionCodeService; exports.StripeSubscription = _chunkUZP7KRAVjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkUZP7KRAVjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkUZP7KRAVjs.StripeSubscriptionService; exports.StripeUsage = _chunkUZP7KRAVjs.StripeUsage; exports.StripeUsageModule = _chunkUZP7KRAVjs.StripeUsageModule; exports.StripeUsageService = _chunkUZP7KRAVjs.StripeUsageService; exports.SubscriptionStatus = _chunkUZP7KRAVjs.SubscriptionStatus; exports.TableOptions = _chunkUZP7KRAVjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkUZP7KRAVjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkUZP7KRAVjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkUZP7KRAVjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkUZP7KRAVjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkUZP7KRAVjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkUZP7KRAVjs.TotpSetup; exports.TotpSetupModule = _chunkUZP7KRAVjs.TotpSetupModule; exports.TotpVerify = _chunkUZP7KRAVjs.TotpVerify; exports.TotpVerifyLogin = _chunkUZP7KRAVjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkUZP7KRAVjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkUZP7KRAVjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkUZP7KRAVjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkUZP7KRAVjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkUZP7KRAVjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkUZP7KRAVjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkUZP7KRAVjs.TwoFactorService; exports.TwoFactorStatus = _chunkUZP7KRAVjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkUZP7KRAVjs.TwoFactorStatusModule; exports.User = _chunkUZP7KRAVjs.User; exports.UserFields = _chunkUZP7KRAVjs.UserFields; exports.UserModule = _chunkUZP7KRAVjs.UserModule; exports.UserService = _chunkUZP7KRAVjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkUZP7KRAVjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkUZP7KRAVjs.Waitlist; exports.WaitlistFields = _chunkUZP7KRAVjs.WaitlistFields; exports.WaitlistModule = _chunkUZP7KRAVjs.WaitlistModule; exports.WaitlistService = _chunkUZP7KRAVjs.WaitlistService; exports.WaitlistStats = _chunkUZP7KRAVjs.WaitlistStats; exports.WaitlistStatsModule = _chunkUZP7KRAVjs.WaitlistStatsModule; exports.analyticsModules = _chunkUZP7KRAVjs.analyticsModules; exports.captureSignupSource = _chunkZXK2OMCCjs.captureSignupSource; exports.checkPermissions = _chunkUZP7KRAVjs.checkPermissions; exports.checkPermissionsFromServer = _chunkUZP7KRAVjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkUZP7KRAVjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkUZP7KRAVjs.clearLastApiTotal; exports.cn = _chunkUZP7KRAVjs.cn; exports.composeRefs = _chunkUZP7KRAVjs.composeRefs; exports.configureAuth = _chunkUZP7KRAVjs.configureAuth; exports.configureI18n = _chunkUZP7KRAVjs.configureI18n; exports.configureJsonApi = _chunkZXK2OMCCjs.configureJsonApi; exports.configureLogin = _chunkZXK2OMCCjs.configureLogin; exports.configureReferral = _chunkZXK2OMCCjs.configureReferral; exports.configureRoles = _chunkG4JR3SFVjs.configureRoles; exports.configureTokenUsage = _chunkUZP7KRAVjs.configureTokenUsage; exports.configureWaitlist = _chunkZXK2OMCCjs.configureWaitlist; exports.consumeAccountDeletionCancelled = _chunkUZP7KRAVjs.consumeAccountDeletionCancelled; exports.couponPlacesLeft = _chunkUZP7KRAVjs.couponPlacesLeft; exports.couponPlacesTotal = _chunkUZP7KRAVjs.couponPlacesTotal; exports.createJsonApiInclusion = _chunkUZP7KRAVjs.createJsonApiInclusion; exports.dateFormatLocale = _chunkUZP7KRAVjs.dateFormatLocale; exports.dismissToast = _chunkUZP7KRAVjs.dismissToast; exports.entityObjectSchema = _chunkUZP7KRAVjs.entityObjectSchema; exports.exists = _chunkUZP7KRAVjs.exists; exports.formatCodiceFiscale = _chunkUZP7KRAVjs.formatCodiceFiscale; exports.formatCouponDiscount = _chunkUZP7KRAVjs.formatCouponDiscount; exports.formatCurrency = _chunkUZP7KRAVjs.formatCurrency; exports.formatDate = _chunkUZP7KRAVjs.formatDate; exports.formatFixed = _chunkUZP7KRAVjs.formatFixed; exports.formatInterval = _chunkUZP7KRAVjs.formatInterval; exports.formatLocalDate = _chunkUZP7KRAVjs.formatLocalDate; exports.formatPartitaIva = _chunkUZP7KRAVjs.formatPartitaIva; exports.getApiUrl = _chunkZXK2OMCCjs.getApiUrl; exports.getAppUrl = _chunkZXK2OMCCjs.getAppUrl; exports.getBootstrapper = _chunkGHE4VT2Rjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkUZP7KRAVjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkUZP7KRAVjs.getGlobalErrorHandler; exports.getIcon = _chunkUZP7KRAVjs.getIcon; exports.getIconByModule = _chunkUZP7KRAVjs.getIconByModule; exports.getIconByModuleName = _chunkUZP7KRAVjs.getIconByModuleName; exports.getInitials = _chunkUZP7KRAVjs.getInitials; exports.getLastApiMeta = _chunkUZP7KRAVjs.getLastApiMeta; exports.getLastApiTotal = _chunkUZP7KRAVjs.getLastApiTotal; exports.getLucideIcon = _chunkUZP7KRAVjs.getLucideIcon; exports.getLucideIconByModule = _chunkUZP7KRAVjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkUZP7KRAVjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkZXK2OMCCjs.getPublicApiUrl; exports.getReferralConfig = _chunkZXK2OMCCjs.getReferralConfig; exports.getRoleId = _chunkG4JR3SFVjs.getRoleId; exports.getSignupSource = _chunkZXK2OMCCjs.getSignupSource; exports.getStripePublishableKey = _chunkZXK2OMCCjs.getStripePublishableKey; exports.getTableComponents = _chunkUZP7KRAVjs.getTableComponents; exports.getTableOptions = _chunkUZP7KRAVjs.getTableOptions; exports.getTokenHandler = _chunkUZP7KRAVjs.getTokenHandler; exports.getTokenUsageCurrency = _chunkUZP7KRAVjs.getTokenUsageCurrency; exports.getTrackablePages = _chunkZXK2OMCCjs.getTrackablePages; exports.getValueFromPath = _chunkUZP7KRAVjs.getValueFromPath; exports.getWaitlistConfig = _chunkZXK2OMCCjs.getWaitlistConfig; exports.handbookPageContent = _chunkUZP7KRAVjs.handbookPageContent; exports.handbookPageSummary = _chunkUZP7KRAVjs.handbookPageSummary; exports.handbookPageTitle = _chunkUZP7KRAVjs.handbookPageTitle; exports.handbookSectionSummary = _chunkUZP7KRAVjs.handbookSectionSummary; exports.handbookSectionTitle = _chunkUZP7KRAVjs.handbookSectionTitle; exports.hasBootstrapper = _chunkGHE4VT2Rjs.hasBootstrapper; exports.isCreditWarningActive = _chunkUZP7KRAVjs.isCreditWarningActive; exports.isReferralEnabled = _chunkZXK2OMCCjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkUZP7KRAVjs.isRemoteImageSrc; exports.isRolesConfigured = _chunkG4JR3SFVjs.isRolesConfigured; exports.markAccountDeletionCancelled = _chunkUZP7KRAVjs.markAccountDeletionCancelled; exports.mergeMessages = _chunkUZP7KRAVjs.mergeMessages; exports.readSignupSourceFromLocation = _chunkZXK2OMCCjs.readSignupSourceFromLocation; exports.rehydrate = _chunkUZP7KRAVjs.rehydrate; exports.rehydrateList = _chunkUZP7KRAVjs.rehydrateList; exports.resetBootstrapStore = _chunkGHE4VT2Rjs.resetBootstrapStore; exports.resolveChangePlanTarget = _chunkUZP7KRAVjs.resolveChangePlanTarget; exports.setBootstrapper = _chunkGHE4VT2Rjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkUZP7KRAVjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkUZP7KRAVjs.setGlobalErrorHandler; exports.showCustomToast = _chunkUZP7KRAVjs.showCustomToast; exports.showError = _chunkUZP7KRAVjs.showError; exports.showToast = _chunkUZP7KRAVjs.showToast; exports.toPromotionCodeResult = _chunkUZP7KRAVjs.toPromotionCodeResult; exports.tokenUsageModules = _chunkUZP7KRAVjs.tokenUsageModules; exports.translateData = _chunkGHE4VT2Rjs.translateData; exports.translateResponse = _chunkGHE4VT2Rjs.translateResponse; exports.tryBootstrap = _chunkGHE4VT2Rjs.tryBootstrap; exports.useComposedRefs = _chunkUZP7KRAVjs.useComposedRefs; exports.useIsMobile = _chunkUZP7KRAVjs.useIsMobile; exports.userObjectSchema = _chunkUZP7KRAVjs.userObjectSchema; exports.validateCodiceFiscale = _chunkUZP7KRAVjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkUZP7KRAVjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkUZP7KRAVjs.validatePartitaIva;
|
|
663
663
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
getWaitlistConfig,
|
|
20
20
|
isReferralEnabled,
|
|
21
21
|
readSignupSourceFromLocation
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-5HBFQEYU.mjs";
|
|
23
23
|
import {
|
|
24
24
|
configureRoles,
|
|
25
25
|
getRoleId,
|
|
@@ -317,7 +317,7 @@ import {
|
|
|
317
317
|
validateCodiceFiscale,
|
|
318
318
|
validateItalianTaxCode,
|
|
319
319
|
validatePartitaIva
|
|
320
|
-
} from "./chunk-
|
|
320
|
+
} from "./chunk-VT5HRZH7.mjs";
|
|
321
321
|
import {
|
|
322
322
|
DataClassRegistry,
|
|
323
323
|
ENV,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { A as AbstractService, N as NextRef, P as PreviousRef } from './AbstractService-Ckm2X5fW.mjs';
|
|
2
2
|
import { F as FeatureInterface } from './stripe-price.interface-D6mKjAdr.mjs';
|
|
3
|
-
import { d as RoleInterface, U as UserInterface, e as UserInput, c as CompanyInterface, b as CompanyInput } from './user.interface-
|
|
3
|
+
import { d as RoleInterface, U as UserInterface, e as UserInput, c as CompanyInterface, b as CompanyInput } from './user.interface-Bm-0TbsB.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-
|
|
6
|
-
import { C as ContentInterface, N as NotificationInterface } from './notification.interface-
|
|
5
|
+
import { A as AuthInput, b as AuthInterface } from './auth.interface-BAYLbYjs.mjs';
|
|
6
|
+
import { C as ContentInterface, N as NotificationInterface } from './notification.interface-DoVS5RZB.mjs';
|
|
7
7
|
|
|
8
8
|
declare class FeatureService extends AbstractService {
|
|
9
9
|
static findMany(params: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { A as AbstractService, N as NextRef, P as PreviousRef } from './AbstractService-V3VGQMhL.js';
|
|
2
2
|
import { F as FeatureInterface } from './stripe-price.interface-DGqcklFJ.js';
|
|
3
|
-
import { d as RoleInterface, U as UserInterface, e as UserInput, c as CompanyInterface, b as CompanyInput } from './user.interface-
|
|
3
|
+
import { d as RoleInterface, U as UserInterface, e as UserInput, c as CompanyInterface, b as CompanyInput } from './user.interface-CKBIEvNu.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-
|
|
6
|
-
import { C as ContentInterface, N as NotificationInterface } from './notification.interface-
|
|
5
|
+
import { A as AuthInput, b as AuthInterface } from './auth.interface-BjYwwfy9.js';
|
|
6
|
+
import { C as ContentInterface, N as NotificationInterface } from './notification.interface-DQItyY_Q.js';
|
|
7
7
|
|
|
8
8
|
declare class FeatureService extends AbstractService {
|
|
9
9
|
static findMany(params: {
|
package/dist/server/index.d.mts
CHANGED
|
@@ -3,14 +3,14 @@ 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-
|
|
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-BG136Btz.mjs';
|
|
7
7
|
import '../ApiDataInterface-BcZeXy5X.mjs';
|
|
8
8
|
import 'lucide-react';
|
|
9
9
|
import '../AbstractService-Ckm2X5fW.mjs';
|
|
10
10
|
import '../stripe-price.interface-D6mKjAdr.mjs';
|
|
11
|
-
import '../user.interface-
|
|
12
|
-
import '../auth.interface-
|
|
13
|
-
import '../notification.interface-
|
|
11
|
+
import '../user.interface-Bm-0TbsB.mjs';
|
|
12
|
+
import '../auth.interface-BAYLbYjs.mjs';
|
|
13
|
+
import '../notification.interface-DoVS5RZB.mjs';
|
|
14
14
|
|
|
15
15
|
type CacheProfile = "seconds" | "minutes" | "hours" | "days" | "weeks" | "max" | "default";
|
|
16
16
|
/** The built-in `cacheLife` profile names. A module `cache` value outside this list is treated as a tag. */
|
package/dist/server/index.d.ts
CHANGED
|
@@ -3,14 +3,14 @@ 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-
|
|
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-CsrsRPRn.js';
|
|
7
7
|
import '../ApiDataInterface-BcZeXy5X.js';
|
|
8
8
|
import 'lucide-react';
|
|
9
9
|
import '../AbstractService-V3VGQMhL.js';
|
|
10
10
|
import '../stripe-price.interface-DGqcklFJ.js';
|
|
11
|
-
import '../user.interface-
|
|
12
|
-
import '../auth.interface-
|
|
13
|
-
import '../notification.interface-
|
|
11
|
+
import '../user.interface-CKBIEvNu.js';
|
|
12
|
+
import '../auth.interface-BjYwwfy9.js';
|
|
13
|
+
import '../notification.interface-DQItyY_Q.js';
|
|
14
14
|
|
|
15
15
|
type CacheProfile = "seconds" | "minutes" | "hours" | "days" | "weeks" | "max" | "default";
|
|
16
16
|
/** The built-in `cacheLife` profile names. A module `cache` value outside this list is treated as a tag. */
|
package/dist/server/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkJHT32ODNjs = require('../chunk-JHT32ODN.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkIK65TDQHjs = require('../chunk-IK65TDQH.js');
|
|
@@ -35,7 +35,7 @@ require('../chunk-G4JR3SFV.js');
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _chunkUZP7KRAVjs = require('../chunk-UZP7KRAV.js');
|
|
39
39
|
require('../chunk-GHE4VT2R.js');
|
|
40
40
|
require('../chunk-LXKSUWAV.js');
|
|
41
41
|
require('../chunk-JTPRJNT2.js');
|
|
@@ -66,5 +66,5 @@ require('../chunk-7QVYU63E.js');
|
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
exports.CACHE_PROFILES = _chunkIK65TDQHjs.CACHE_PROFILES; exports.ServerAuthService =
|
|
69
|
+
exports.CACHE_PROFILES = _chunkIK65TDQHjs.CACHE_PROFILES; exports.ServerAuthService = _chunkUZP7KRAVjs.AuthService; exports.ServerCompanyService = _chunkUZP7KRAVjs.CompanyService; exports.ServerContentService = _chunkUZP7KRAVjs.ContentService; exports.ServerFeatureService = _chunkUZP7KRAVjs.FeatureService; exports.ServerJsonApiDelete = _chunkKSYQEKJXjs.ServerJsonApiDelete; exports.ServerJsonApiGet = _chunkKSYQEKJXjs.ServerJsonApiGet; exports.ServerJsonApiPatch = _chunkKSYQEKJXjs.ServerJsonApiPatch; exports.ServerJsonApiPost = _chunkKSYQEKJXjs.ServerJsonApiPost; exports.ServerJsonApiPut = _chunkKSYQEKJXjs.ServerJsonApiPut; exports.ServerNotificationService = _chunkUZP7KRAVjs.NotificationService; exports.ServerPushService = _chunkUZP7KRAVjs.PushService; exports.ServerRoleService = _chunkUZP7KRAVjs.RoleService; exports.ServerS3Service = _chunkUZP7KRAVjs.S3Service; exports.ServerSession = _chunkJHT32ODNjs.ServerSession; exports.ServerUserService = _chunkUZP7KRAVjs.UserService; exports.configureServerJsonApi = _chunkKSYQEKJXjs.configureServerJsonApi; exports.getServerApiUrl = _chunkKSYQEKJXjs.getServerApiUrl; exports.getServerAppUrl = _chunkKSYQEKJXjs.getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = _chunkKSYQEKJXjs.getServerTrackablePages; exports.invalidateCacheTag = _chunkJHT32ODNjs.invalidateCacheTag; exports.invalidateCacheTags = _chunkJHT32ODNjs.invalidateCacheTags; exports.serverRequest = _chunk6TUB7Y6Tjs.serverRequest; exports.updateCacheTag = _chunkJHT32ODNjs.updateCacheTag;
|
|
70
70
|
//# sourceMappingURL=index.js.map
|
package/dist/server/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
invalidateCacheTag,
|
|
4
4
|
invalidateCacheTags,
|
|
5
5
|
updateCacheTag
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-TL5O7EGW.mjs";
|
|
7
7
|
import {
|
|
8
8
|
CACHE_PROFILES
|
|
9
9
|
} from "../chunk-T7SAW3UW.mjs";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
RoleService,
|
|
36
36
|
S3Service,
|
|
37
37
|
UserService
|
|
38
|
-
} from "../chunk-
|
|
38
|
+
} from "../chunk-VT5HRZH7.mjs";
|
|
39
39
|
import "../chunk-V5MI7RNB.mjs";
|
|
40
40
|
import "../chunk-AUXK7QSA.mjs";
|
|
41
41
|
import "../chunk-PI56A4DG.mjs";
|
|
@@ -55,6 +55,12 @@ interface CompanyInterface extends ApiDataInterface {
|
|
|
55
55
|
get logo(): string | undefined;
|
|
56
56
|
get logoUrl(): string | undefined;
|
|
57
57
|
get isActiveSubscription(): boolean;
|
|
58
|
+
/**
|
|
59
|
+
* When the company's trial ends, written by the server only (never sent by
|
|
60
|
+
* `createJsonApi()`). Absent for companies whose trial end was never stored;
|
|
61
|
+
* callers then derive it from `createdAt`.
|
|
62
|
+
*/
|
|
63
|
+
get trialEndsAt(): Date | undefined;
|
|
58
64
|
get monthlyCredits(): number;
|
|
59
65
|
get availableMonthlyCredits(): number;
|
|
60
66
|
get availableExtraCredits(): number;
|
|
@@ -55,6 +55,12 @@ interface CompanyInterface extends ApiDataInterface {
|
|
|
55
55
|
get logo(): string | undefined;
|
|
56
56
|
get logoUrl(): string | undefined;
|
|
57
57
|
get isActiveSubscription(): boolean;
|
|
58
|
+
/**
|
|
59
|
+
* When the company's trial ends, written by the server only (never sent by
|
|
60
|
+
* `createJsonApi()`). Absent for companies whose trial end was never stored;
|
|
61
|
+
* callers then derive it from `createdAt`.
|
|
62
|
+
*/
|
|
63
|
+
get trialEndsAt(): Date | undefined;
|
|
58
64
|
get monthlyCredits(): number;
|
|
59
65
|
get availableMonthlyCredits(): number;
|
|
60
66
|
get availableExtraCredits(): number;
|
package/package.json
CHANGED
|
@@ -36,6 +36,13 @@ export interface CompanyInterface extends ApiDataInterface {
|
|
|
36
36
|
|
|
37
37
|
get isActiveSubscription(): boolean;
|
|
38
38
|
|
|
39
|
+
/**
|
|
40
|
+
* When the company's trial ends, written by the server only (never sent by
|
|
41
|
+
* `createJsonApi()`). Absent for companies whose trial end was never stored;
|
|
42
|
+
* callers then derive it from `createdAt`.
|
|
43
|
+
*/
|
|
44
|
+
get trialEndsAt(): Date | undefined;
|
|
45
|
+
|
|
39
46
|
get monthlyCredits(): number;
|
|
40
47
|
get availableMonthlyCredits(): number;
|
|
41
48
|
get availableExtraCredits(): number;
|
|
@@ -67,3 +67,26 @@ describe("Company credit-warning fields", () => {
|
|
|
67
67
|
expect(company.creditWarningOffer).toBeUndefined();
|
|
68
68
|
});
|
|
69
69
|
});
|
|
70
|
+
|
|
71
|
+
describe("Company.trialEndsAt", () => {
|
|
72
|
+
it("rehydrates trialEndsAt as a Date", () => {
|
|
73
|
+
const company = new Company().rehydrate({
|
|
74
|
+
jsonApi: { attributes: { trialEndsAt: "2026-11-09T10:00:00.000Z" } },
|
|
75
|
+
} as any);
|
|
76
|
+
|
|
77
|
+
expect(company.trialEndsAt).toBeInstanceOf(Date);
|
|
78
|
+
expect(company.trialEndsAt?.toISOString()).toBe("2026-11-09T10:00:00.000Z");
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
it("is undefined when the attribute is absent", () => {
|
|
82
|
+
const company = new Company().rehydrate({ jsonApi: { attributes: {} } } as any);
|
|
83
|
+
|
|
84
|
+
expect(company.trialEndsAt).toBeUndefined();
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
it("is never sent by createJsonApi", () => {
|
|
88
|
+
const payload = new Company().createJsonApi({ id: "company_1", name: "Acme" });
|
|
89
|
+
|
|
90
|
+
expect(payload.data.attributes).not.toHaveProperty("trialEndsAt");
|
|
91
|
+
});
|
|
92
|
+
});
|
|
@@ -11,6 +11,7 @@ export class Company extends AbstractApiData implements CompanyInterface {
|
|
|
11
11
|
private _configurations?: any;
|
|
12
12
|
|
|
13
13
|
private _isActiveSubscription: boolean = false;
|
|
14
|
+
private _trialEndsAt?: Date;
|
|
14
15
|
|
|
15
16
|
private _monthlyCredits: number = 0;
|
|
16
17
|
private _availableMonthlyCredits: number = 0;
|
|
@@ -53,6 +54,10 @@ export class Company extends AbstractApiData implements CompanyInterface {
|
|
|
53
54
|
return this._isActiveSubscription ?? false;
|
|
54
55
|
}
|
|
55
56
|
|
|
57
|
+
get trialEndsAt(): Date | undefined {
|
|
58
|
+
return this._trialEndsAt;
|
|
59
|
+
}
|
|
60
|
+
|
|
56
61
|
get monthlyCredits(): number {
|
|
57
62
|
return this._monthlyCredits ?? 0;
|
|
58
63
|
}
|
|
@@ -147,6 +152,7 @@ export class Company extends AbstractApiData implements CompanyInterface {
|
|
|
147
152
|
this._logo = data.jsonApi.attributes.logo;
|
|
148
153
|
this._logoUrl = data.jsonApi.attributes.logoUrl;
|
|
149
154
|
this._isActiveSubscription = data.jsonApi.attributes.isActiveSubscription ?? false;
|
|
155
|
+
this._trialEndsAt = data.jsonApi.attributes.trialEndsAt ? new Date(data.jsonApi.attributes.trialEndsAt) : undefined;
|
|
150
156
|
this._monthlyCredits = data.jsonApi.attributes.monthlyCredits ?? 0;
|
|
151
157
|
this._availableMonthlyCredits = data.jsonApi.attributes.availableMonthlyCredits ?? 0;
|
|
152
158
|
this._availableExtraCredits = data.jsonApi.attributes.availableExtraCredits ?? 0;
|
|
@@ -193,4 +193,63 @@ describe("useSubscriptionStatus", () => {
|
|
|
193
193
|
expect(after.result.current.isBlocked).toBe(true);
|
|
194
194
|
expect(after.result.current.status).toBe("expired");
|
|
195
195
|
});
|
|
196
|
+
describe("stored trialEndsAt", () => {
|
|
197
|
+
const NOW = new Date("2026-10-26T10:00:00.000Z");
|
|
198
|
+
|
|
199
|
+
beforeEach(() => {
|
|
200
|
+
vi.setSystemTime(NOW);
|
|
201
|
+
userMock.currentUser = { roles: [] };
|
|
202
|
+
});
|
|
203
|
+
|
|
204
|
+
it("not active, trialEndsAt in the future → trial, not blocked", () => {
|
|
205
|
+
const trialEndsAt = new Date("2026-11-05T10:00:00.000Z");
|
|
206
|
+
userMock.company = { isActiveSubscription: false, createdAt: daysAgo(60, NOW), trialEndsAt };
|
|
207
|
+
|
|
208
|
+
const { result } = renderHook(() => useSubscriptionStatus());
|
|
209
|
+
|
|
210
|
+
expect(result.current.status).toBe("trial");
|
|
211
|
+
expect(result.current.daysRemaining).toBe(10);
|
|
212
|
+
expect(result.current.isBlocked).toBe(false);
|
|
213
|
+
expect(result.current.trialEndsAt?.getTime()).toBe(trialEndsAt.getTime());
|
|
214
|
+
});
|
|
215
|
+
|
|
216
|
+
it("not active, trialEndsAt in the past → expired, blocked", () => {
|
|
217
|
+
userMock.company = {
|
|
218
|
+
isActiveSubscription: false,
|
|
219
|
+
createdAt: daysAgo(60, NOW),
|
|
220
|
+
trialEndsAt: new Date("2026-10-20T10:00:00.000Z"),
|
|
221
|
+
};
|
|
222
|
+
|
|
223
|
+
const { result } = renderHook(() => useSubscriptionStatus());
|
|
224
|
+
|
|
225
|
+
expect(result.current.status).toBe("expired");
|
|
226
|
+
expect(result.current.isBlocked).toBe(true);
|
|
227
|
+
});
|
|
228
|
+
|
|
229
|
+
it("not active, no trialEndsAt → createdAt + 14 days (unchanged)", () => {
|
|
230
|
+
const createdAt = daysAgo(4, NOW);
|
|
231
|
+
userMock.company = { isActiveSubscription: false, createdAt, trialEndsAt: undefined };
|
|
232
|
+
|
|
233
|
+
const { result } = renderHook(() => useSubscriptionStatus());
|
|
234
|
+
|
|
235
|
+
expect(result.current.status).toBe("trial");
|
|
236
|
+
expect(result.current.daysRemaining).toBe(10);
|
|
237
|
+
expect(result.current.isBlocked).toBe(false);
|
|
238
|
+
expect(result.current.trialEndsAt?.getTime()).toBe(createdAt.getTime() + 14 * DAY_MS);
|
|
239
|
+
});
|
|
240
|
+
|
|
241
|
+
it("active ignores trialEndsAt", () => {
|
|
242
|
+
userMock.company = {
|
|
243
|
+
isActiveSubscription: true,
|
|
244
|
+
createdAt: daysAgo(60, NOW),
|
|
245
|
+
trialEndsAt: new Date("2026-11-05T10:00:00.000Z"),
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
const { result } = renderHook(() => useSubscriptionStatus());
|
|
249
|
+
|
|
250
|
+
expect(result.current.status).toBe("active");
|
|
251
|
+
expect(result.current.trialEndsAt).toBeNull();
|
|
252
|
+
expect(result.current.isBlocked).toBe(false);
|
|
253
|
+
});
|
|
254
|
+
});
|
|
196
255
|
});
|
|
@@ -86,8 +86,10 @@ export function useSubscriptionStatus(): TrialSubscriptionStatus {
|
|
|
86
86
|
|
|
87
87
|
// No active subscription — but that alone is NOT a block. The trial window
|
|
88
88
|
// has to have elapsed too, and this mirrors the server rule in
|
|
89
|
-
// apps/api
|
|
90
|
-
// step:
|
|
89
|
+
// apps/api/src/features/campaign/entities/campaign-lock.cypher.ts. Keep the
|
|
90
|
+
// two in step: the trial ends at the stored company.trialEndsAt when the
|
|
91
|
+
// server wrote one, otherwise at createdAt + TRIAL_DAYS. If either the
|
|
92
|
+
// fallback or TRIAL_DAYS changes here it must change there.
|
|
91
93
|
//
|
|
92
94
|
// Blocking on the flag alone is wrong in practice. isActiveSubscription is
|
|
93
95
|
// only written true once a Stripe subscription actually reaches
|
|
@@ -100,7 +102,7 @@ export function useSubscriptionStatus(): TrialSubscriptionStatus {
|
|
|
100
102
|
// viewer's local clock: across a DST change the window grows or shrinks by
|
|
101
103
|
// an hour, and dividing that by a fixed 24h day then shows one day too many.
|
|
102
104
|
const createdAt = new Date(company.createdAt);
|
|
103
|
-
const trialEndsAt = new Date(createdAt.getTime() + TRIAL_DAYS * DAY_MS);
|
|
105
|
+
const trialEndsAt = company.trialEndsAt ?? new Date(createdAt.getTime() + TRIAL_DAYS * DAY_MS);
|
|
104
106
|
|
|
105
107
|
const now = new Date();
|
|
106
108
|
const msRemaining = trialEndsAt.getTime() - now.getTime();
|