@carlonicora/nextjs-jsonapi 1.142.0 → 1.143.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/dist/AbstractService-B0T7h8fX.d.mts +124 -0
  2. package/dist/AbstractService-Cew0PD0L.d.ts +124 -0
  3. package/dist/{AuthComponent-DdxCFgUZ.d.mts → AuthComponent-Cik96ElA.d.mts} +1 -1
  4. package/dist/{AuthComponent-Cd7lcYif.d.ts → AuthComponent-DTTKu3VK.d.ts} +1 -1
  5. package/dist/{BlockNoteEditor-35DDJH3M.mjs → BlockNoteEditor-34QM4UR5.mjs} +4 -4
  6. package/dist/{BlockNoteEditor-XXTBZ7DD.js → BlockNoteEditor-LMKWUOJG.js} +19 -19
  7. package/dist/{BlockNoteEditor-XXTBZ7DD.js.map → BlockNoteEditor-LMKWUOJG.js.map} +1 -1
  8. package/dist/billing/index.js +357 -357
  9. package/dist/billing/index.mjs +3 -3
  10. package/dist/{chunk-KZHHKPQZ.mjs → chunk-BIL2WQEV.mjs} +247 -1
  11. package/dist/chunk-BIL2WQEV.mjs.map +1 -0
  12. package/dist/{chunk-5SFFHIEE.js → chunk-DS4IBFWA.js} +252 -6
  13. package/dist/chunk-DS4IBFWA.js.map +1 -0
  14. package/dist/{chunk-7CR4YB7Y.js → chunk-F6PZZ4KI.js} +730 -730
  15. package/dist/{chunk-7CR4YB7Y.js.map → chunk-F6PZZ4KI.js.map} +1 -1
  16. package/dist/{chunk-ZV2GZKFR.mjs → chunk-HN5ED7OF.mjs} +2 -2
  17. package/dist/{chunk-FZ5SPJEU.mjs → chunk-UGSOBBZH.mjs} +4 -4
  18. package/dist/{chunk-C6UXEPNY.js → chunk-UXJAS6C5.js} +7 -7
  19. package/dist/{chunk-C6UXEPNY.js.map → chunk-UXJAS6C5.js.map} +1 -1
  20. package/dist/client/index.d.mts +3 -3
  21. package/dist/client/index.d.ts +3 -3
  22. package/dist/client/index.js +4 -4
  23. package/dist/client/index.mjs +3 -3
  24. package/dist/components/index.d.mts +3 -3
  25. package/dist/components/index.d.ts +3 -3
  26. package/dist/components/index.js +4 -4
  27. package/dist/components/index.mjs +3 -3
  28. package/dist/{config-BrkU_Ynz.d.ts → config-Cd5xTEfZ.d.ts} +1 -1
  29. package/dist/{config-snd2ToEB.d.mts → config-YyhFHxkU.d.mts} +1 -1
  30. package/dist/contexts/index.d.mts +1 -1
  31. package/dist/contexts/index.d.ts +1 -1
  32. package/dist/contexts/index.js +4 -4
  33. package/dist/contexts/index.mjs +3 -3
  34. package/dist/core/index.d.mts +13 -49
  35. package/dist/core/index.d.ts +13 -49
  36. package/dist/core/index.js +8 -2
  37. package/dist/core/index.js.map +1 -1
  38. package/dist/core/index.mjs +7 -1
  39. package/dist/features/help/index.d.mts +2 -2
  40. package/dist/features/help/index.d.ts +2 -2
  41. package/dist/features/help/index.js +37 -37
  42. package/dist/features/help/index.mjs +3 -3
  43. package/dist/features/tokenusage/index.css +29 -0
  44. package/dist/features/tokenusage/index.css.map +1 -0
  45. package/dist/features/tokenusage/index.d.mts +388 -0
  46. package/dist/features/tokenusage/index.d.ts +388 -0
  47. package/dist/features/tokenusage/index.js +1012 -0
  48. package/dist/features/tokenusage/index.js.map +1 -0
  49. package/dist/features/tokenusage/index.mjs +1012 -0
  50. package/dist/features/tokenusage/index.mjs.map +1 -0
  51. package/dist/index.d.mts +8 -6
  52. package/dist/index.d.ts +8 -6
  53. package/dist/index.js +9 -3
  54. package/dist/index.js.map +1 -1
  55. package/dist/index.mjs +8 -2
  56. package/dist/{s3.service-Dmfxpn-k.d.ts → s3.service-CpwA3sl_.d.ts} +2 -123
  57. package/dist/{s3.service-DYflLXCt.d.mts → s3.service-Dt6MfuHr.d.mts} +2 -123
  58. package/dist/server/index.d.mts +3 -2
  59. package/dist/server/index.d.ts +3 -2
  60. package/dist/server/index.js +3 -3
  61. package/dist/server/index.mjs +1 -1
  62. package/dist/tokenusage-admin.module-5wJ_tZTj.d.ts +61 -0
  63. package/dist/tokenusage-admin.module-DQVT4O4j.d.mts +61 -0
  64. package/dist/{types-CQSjy7et.d.mts → types-Bq_UA8Lg.d.mts} +1 -1
  65. package/dist/{types-DHOxe8rc.d.ts → types-bsm8Fp55.d.ts} +1 -1
  66. package/dist/{usePageUrlGenerator-tjq2mlDV.d.ts → usePageUrlGenerator-J_ECv-oQ.d.ts} +1 -1
  67. package/dist/{usePageUrlGenerator-uOnyJ6j2.d.mts → usePageUrlGenerator-uKBjAKqC.d.mts} +1 -1
  68. package/package.json +8 -3
  69. package/src/core/index.ts +5 -0
  70. package/src/core/registry/ModuleRegistry.ts +4 -0
  71. package/src/features/tokenusage/components/TokenUsageAdminContainer.tsx +189 -0
  72. package/src/features/tokenusage/components/TokenUsageAdminFilterBar.tsx +138 -0
  73. package/src/features/tokenusage/components/TokenUsageAdminTiles.tsx +177 -0
  74. package/src/features/tokenusage/components/TokenUsageBreakdownTable.tsx +160 -0
  75. package/src/features/tokenusage/components/TokenUsageRankedBar.tsx +99 -0
  76. package/src/features/tokenusage/components/TokenUsageTimelineChart.tsx +225 -0
  77. package/src/features/tokenusage/components/__tests__/TokenUsageAdminTiles.spec.tsx +42 -0
  78. package/src/features/tokenusage/components/__tests__/TokenUsageRankedBar.spec.tsx +41 -0
  79. package/src/features/tokenusage/components/__tests__/TokenUsageTimelineChart.spec.tsx +47 -0
  80. package/src/features/tokenusage/contexts/TokenUsageAdminContext.tsx +252 -0
  81. package/src/features/tokenusage/contexts/__tests__/TokenUsageAdminContext.spec.tsx +80 -0
  82. package/src/features/tokenusage/data/TokenUsageAdminService.ts +54 -0
  83. package/src/features/tokenusage/data/__tests__/tokenusage-admin-models.spec.ts +147 -0
  84. package/src/features/tokenusage/data/index.ts +8 -0
  85. package/src/features/tokenusage/data/tokenusage-admin-breakdown.interface.ts +18 -0
  86. package/src/features/tokenusage/data/tokenusage-admin-breakdown.ts +115 -0
  87. package/src/features/tokenusage/data/tokenusage-admin-summary.interface.ts +14 -0
  88. package/src/features/tokenusage/data/tokenusage-admin-summary.ts +90 -0
  89. package/src/features/tokenusage/data/tokenusage-admin-timeline.interface.ts +13 -0
  90. package/src/features/tokenusage/data/tokenusage-admin-timeline.ts +94 -0
  91. package/src/features/tokenusage/data/tokenusage-admin.types.ts +56 -0
  92. package/src/features/tokenusage/i18n-keys.ts +65 -0
  93. package/src/features/tokenusage/index.ts +30 -0
  94. package/src/features/tokenusage/lib/metrics.ts +69 -0
  95. package/src/features/tokenusage/lib/operation-label.ts +41 -0
  96. package/src/features/tokenusage/lib/palette.ts +197 -0
  97. package/src/features/tokenusage/tokenusage-admin.module.ts +22 -0
  98. package/dist/chunk-5SFFHIEE.js.map +0 -1
  99. package/dist/chunk-KZHHKPQZ.mjs.map +0 -1
  100. /package/dist/{BlockNoteEditor-35DDJH3M.mjs.map → BlockNoteEditor-34QM4UR5.mjs.map} +0 -0
  101. /package/dist/{chunk-ZV2GZKFR.mjs.map → chunk-HN5ED7OF.mjs.map} +0 -0
  102. /package/dist/{chunk-FZ5SPJEU.mjs.map → chunk-UGSOBBZH.mjs.map} +0 -0
@@ -38,9 +38,9 @@ import {
38
38
  useSharedContext,
39
39
  useSocketContext,
40
40
  useUserContext
41
- } from "../chunk-FZ5SPJEU.mjs";
42
- import "../chunk-ZV2GZKFR.mjs";
43
- import "../chunk-KZHHKPQZ.mjs";
41
+ } from "../chunk-UGSOBBZH.mjs";
42
+ import "../chunk-HN5ED7OF.mjs";
43
+ import "../chunk-BIL2WQEV.mjs";
44
44
  import "../chunk-AUXK7QSA.mjs";
45
45
  import "../chunk-C7C7VY4F.mjs";
46
46
  import "../chunk-Z2CB63VG.mjs";
@@ -3,10 +3,12 @@ import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from '../Api
3
3
  import { A as ApiRequestDataTypeInterface, F as FieldSelector } from '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
4
4
  export { G as GetterKeys, c as createJsonApiInclusion } from '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
5
5
  import { A as ApiResponseInterface } from '../ApiResponseInterface-rsXRL_Hn.mjs';
6
- import { b as AbstractService, k as TwoFactorChallengeInterface, c as NextRef, d as PreviousRef, m as S3Interface, l as S3Input } from '../s3.service-DYflLXCt.mjs';
7
- export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, N as NotificationService, P as PushService, R as RoleService, S as S3Service, e as SelfRef, T as TotalRef, U as UserService, i as clearLastApiMeta, f as clearLastApiTotal, j as getGlobalErrorHandler, h as getLastApiMeta, g as getLastApiTotal, s as setGlobalErrorHandler } from '../s3.service-DYflLXCt.mjs';
8
- import { M as ModuleWithPermissions, f as PermissionUser, A as Action, e as PermissionModule, g as ModuleFactory } from '../types-CQSjy7et.mjs';
9
- export { c as ModuleDefinition, b as ModulePermissionDefinition, P as PageUrl, a as PermissionCheck, d as PermissionConfig } from '../types-CQSjy7et.mjs';
6
+ import { A as AbstractApiData } from '../tokenusage-admin.module-DQVT4O4j.mjs';
7
+ export { b as TokenUsageAdminBreakdownModule, T as TokenUsageAdminSummaryModule, a as TokenUsageAdminTimelineModule } from '../tokenusage-admin.module-DQVT4O4j.mjs';
8
+ import { A as AbstractService, N as NextRef, P as PreviousRef } from '../AbstractService-B0T7h8fX.mjs';
9
+ export { H as HttpMethod, S as SelfRef, T as TotalRef, b as clearLastApiMeta, c as clearLastApiTotal, d as getGlobalErrorHandler, a as getLastApiMeta, g as getLastApiTotal, s as setGlobalErrorHandler } from '../AbstractService-B0T7h8fX.mjs';
10
+ import { M as ModuleWithPermissions, g as PermissionUser, A as Action, f as PermissionModule, a as ModuleFactory } from '../types-Bq_UA8Lg.mjs';
11
+ export { d as ModuleDefinition, c as ModulePermissionDefinition, P as PageUrl, b as PermissionCheck, e as PermissionConfig } from '../types-Bq_UA8Lg.mjs';
10
12
  import { a as HowToInterface, H as HowToInput, d as AssistantMessageInterface, A as AssistantMessageRole, e as ChunkInterface, C as ChunkRelationshipMeta, b as AssistantMessageType, c as AssistantMessageInput } from '../AssistantMessageInterface-Ce8FcllX.mjs';
11
13
  export { B as BreadcrumbItemData } from '../AssistantMessageInterface-Ce8FcllX.mjs';
12
14
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from '../content.fields-xH3TGvVk.mjs';
@@ -15,13 +17,15 @@ export { ClassValue } from 'clsx';
15
17
  import * as React from 'react';
16
18
  import { ReactElement, ReactNode, JSXElementConstructor } from 'react';
17
19
  import { z } from 'zod';
18
- import { T as TotpAuthenticatorInterface, P as PasskeyInterface } from '../AuthComponent-DdxCFgUZ.mjs';
19
- export { A as AuthComponent, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from '../AuthComponent-DdxCFgUZ.mjs';
20
+ import { T as TotpAuthenticatorInterface, P as PasskeyInterface } from '../AuthComponent-Cik96ElA.mjs';
21
+ export { A as AuthComponent, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from '../AuthComponent-Cik96ElA.mjs';
20
22
  import { PartialBlock } from '@blocknote/core';
21
23
  import { ExternalToast } from 'sonner';
22
24
  import { e as RoleInterface, R as RoleInput, U as UserInterface, c as CompanyInterface, f as UserInput, b as CompanyInput, C as ContentInterface, a as ContentInput, N as NotificationInterface, d as NotificationInput } from '../notification.interface-CG1vqoxg.mjs';
23
25
  import { b as AuthInterface, A as AuthInput } from '../auth.interface-CkmZqat3.mjs';
24
26
  export { a as AuthQuery } from '../auth.interface-CkmZqat3.mjs';
27
+ import { T as TwoFactorChallengeInterface, c as S3Interface, b as S3Input } from '../s3.service-Dt6MfuHr.mjs';
28
+ 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-Dt6MfuHr.mjs';
25
29
  import { PublicKeyCredentialCreationOptionsJSON, RegistrationResponseJSON, PublicKeyCredentialRequestOptionsJSON, AuthenticationResponseJSON } from '@simplewebauthn/browser';
26
30
  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';
27
31
  export { c as ProrationLineItem, l as StripeSubscriptionCreateMeta, p as UsageRecordInterface } from '../stripe-promotion-code.interface-ClZ7DxS9.mjs';
@@ -32,49 +36,6 @@ export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE
32
36
  import 'lucide-react';
33
37
  import 'd3';
34
38
 
35
- declare abstract class AbstractApiData implements ApiDataInterface {
36
- static identifierFields: string[];
37
- get identifier(): string;
38
- protected _jsonApi?: any;
39
- protected _included?: any[];
40
- protected _id?: string;
41
- protected _type?: string;
42
- protected _createdAt?: Date;
43
- protected _updatedAt?: Date;
44
- protected _self?: string;
45
- get type(): string;
46
- get id(): string;
47
- get self(): string | undefined;
48
- get createdAt(): Date;
49
- get updatedAt(): Date;
50
- get included(): any[];
51
- get jsonApi(): any;
52
- ingestJsonApi(_data: JsonApiHydratedDataInterface): void;
53
- generateApiUrl(_params?: any): string;
54
- createJsonApi(_data?: any): any;
55
- protected _readIncluded<T extends ApiDataInterface>(data: JsonApiHydratedDataInterface, type: string, dataType: ApiRequestDataTypeInterface): T | T[] | undefined;
56
- /**
57
- * Read included relationships with polymorphic type resolution.
58
- * Determines the correct model class based on the JSON:API type in included data.
59
- */
60
- protected _readIncludedPolymorphic<T extends ApiDataInterface>(data: JsonApiHydratedDataInterface, relationshipKey: string, candidateModules: ApiRequestDataTypeInterface[]): T | T[] | undefined;
61
- /**
62
- * Read included relationship data and augment with relationship meta properties.
63
- * Handles both single relationships (one-to-one) and array relationships (one-to-many).
64
- *
65
- * For single relationships: meta is read from `relationships[type].meta`
66
- * For array relationships: per-item meta is read from `relationships[type].data[].meta`
67
- *
68
- * @param data - Hydrated JSON:API data
69
- * @param type - Relationship type key (e.g., "guide", "persons")
70
- * @param dataType - Module reference for rehydration
71
- * @returns Related object(s) augmented with meta properties, or undefined
72
- */
73
- protected _readIncludedWithMeta<T extends ApiDataInterface, M extends Record<string, any>>(data: JsonApiHydratedDataInterface, type: string, dataType: ApiRequestDataTypeInterface): (T & M) | (T & M)[] | undefined;
74
- dehydrate(): JsonApiHydratedDataInterface;
75
- rehydrate(data: JsonApiHydratedDataInterface): this;
76
- }
77
-
78
39
  declare enum ClientHttpMethod {
79
40
  GET = "GET",
80
41
  POST = "POST",
@@ -275,6 +236,9 @@ interface FoundationModuleDefinitions {
275
236
  ModulePaths: ModuleWithPermissions;
276
237
  RbacMatrix: ModuleWithPermissions;
277
238
  AuditLog: ModuleWithPermissions;
239
+ TokenUsageAdminSummary: ModuleWithPermissions;
240
+ TokenUsageAdminTimeline: ModuleWithPermissions;
241
+ TokenUsageAdminBreakdown: ModuleWithPermissions;
278
242
  }
279
243
  interface AppModuleDefinitions {
280
244
  }
@@ -3,10 +3,12 @@ import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from '../Api
3
3
  import { A as ApiRequestDataTypeInterface, F as FieldSelector } from '../ApiRequestDataTypeInterface-CYEcRUrh.js';
4
4
  export { G as GetterKeys, c as createJsonApiInclusion } from '../ApiRequestDataTypeInterface-CYEcRUrh.js';
5
5
  import { A as ApiResponseInterface } from '../ApiResponseInterface-CWLvSCvS.js';
6
- import { b as AbstractService, k as TwoFactorChallengeInterface, c as NextRef, d as PreviousRef, m as S3Interface, l as S3Input } from '../s3.service-Dmfxpn-k.js';
7
- export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, N as NotificationService, P as PushService, R as RoleService, S as S3Service, e as SelfRef, T as TotalRef, U as UserService, i as clearLastApiMeta, f as clearLastApiTotal, j as getGlobalErrorHandler, h as getLastApiMeta, g as getLastApiTotal, s as setGlobalErrorHandler } from '../s3.service-Dmfxpn-k.js';
8
- import { M as ModuleWithPermissions, f as PermissionUser, A as Action, e as PermissionModule, g as ModuleFactory } from '../types-DHOxe8rc.js';
9
- export { c as ModuleDefinition, b as ModulePermissionDefinition, P as PageUrl, a as PermissionCheck, d as PermissionConfig } from '../types-DHOxe8rc.js';
6
+ import { A as AbstractApiData } from '../tokenusage-admin.module-5wJ_tZTj.js';
7
+ export { b as TokenUsageAdminBreakdownModule, T as TokenUsageAdminSummaryModule, a as TokenUsageAdminTimelineModule } from '../tokenusage-admin.module-5wJ_tZTj.js';
8
+ import { A as AbstractService, N as NextRef, P as PreviousRef } from '../AbstractService-Cew0PD0L.js';
9
+ export { H as HttpMethod, S as SelfRef, T as TotalRef, b as clearLastApiMeta, c as clearLastApiTotal, d as getGlobalErrorHandler, a as getLastApiMeta, g as getLastApiTotal, s as setGlobalErrorHandler } from '../AbstractService-Cew0PD0L.js';
10
+ import { M as ModuleWithPermissions, g as PermissionUser, A as Action, f as PermissionModule, a as ModuleFactory } from '../types-bsm8Fp55.js';
11
+ export { d as ModuleDefinition, c as ModulePermissionDefinition, P as PageUrl, b as PermissionCheck, e as PermissionConfig } from '../types-bsm8Fp55.js';
10
12
  import { a as HowToInterface, H as HowToInput, d as AssistantMessageInterface, A as AssistantMessageRole, e as ChunkInterface, C as ChunkRelationshipMeta, b as AssistantMessageType, c as AssistantMessageInput } from '../AssistantMessageInterface-Dh0BpbP2.js';
11
13
  export { B as BreadcrumbItemData } from '../AssistantMessageInterface-Dh0BpbP2.js';
12
14
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from '../content.fields-xH3TGvVk.js';
@@ -15,13 +17,15 @@ export { ClassValue } from 'clsx';
15
17
  import * as React from 'react';
16
18
  import { ReactElement, ReactNode, JSXElementConstructor } from 'react';
17
19
  import { z } from 'zod';
18
- import { T as TotpAuthenticatorInterface, P as PasskeyInterface } from '../AuthComponent-Cd7lcYif.js';
19
- export { A as AuthComponent, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from '../AuthComponent-Cd7lcYif.js';
20
+ import { T as TotpAuthenticatorInterface, P as PasskeyInterface } from '../AuthComponent-DTTKu3VK.js';
21
+ export { A as AuthComponent, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from '../AuthComponent-DTTKu3VK.js';
20
22
  import { PartialBlock } from '@blocknote/core';
21
23
  import { ExternalToast } from 'sonner';
22
24
  import { e as RoleInterface, R as RoleInput, U as UserInterface, c as CompanyInterface, f as UserInput, b as CompanyInput, C as ContentInterface, a as ContentInput, N as NotificationInterface, d as NotificationInput } from '../notification.interface--27exGde.js';
23
25
  import { b as AuthInterface, A as AuthInput } from '../auth.interface-COmBjh89.js';
24
26
  export { a as AuthQuery } from '../auth.interface-COmBjh89.js';
27
+ import { T as TwoFactorChallengeInterface, c as S3Interface, b as S3Input } from '../s3.service-CpwA3sl_.js';
28
+ 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-CpwA3sl_.js';
25
29
  import { PublicKeyCredentialCreationOptionsJSON, RegistrationResponseJSON, PublicKeyCredentialRequestOptionsJSON, AuthenticationResponseJSON } from '@simplewebauthn/browser';
26
30
  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';
27
31
  export { c as ProrationLineItem, l as StripeSubscriptionCreateMeta, p as UsageRecordInterface } from '../stripe-promotion-code.interface-C3qqh3mi.js';
@@ -32,49 +36,6 @@ export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE
32
36
  import 'lucide-react';
33
37
  import 'd3';
34
38
 
35
- declare abstract class AbstractApiData implements ApiDataInterface {
36
- static identifierFields: string[];
37
- get identifier(): string;
38
- protected _jsonApi?: any;
39
- protected _included?: any[];
40
- protected _id?: string;
41
- protected _type?: string;
42
- protected _createdAt?: Date;
43
- protected _updatedAt?: Date;
44
- protected _self?: string;
45
- get type(): string;
46
- get id(): string;
47
- get self(): string | undefined;
48
- get createdAt(): Date;
49
- get updatedAt(): Date;
50
- get included(): any[];
51
- get jsonApi(): any;
52
- ingestJsonApi(_data: JsonApiHydratedDataInterface): void;
53
- generateApiUrl(_params?: any): string;
54
- createJsonApi(_data?: any): any;
55
- protected _readIncluded<T extends ApiDataInterface>(data: JsonApiHydratedDataInterface, type: string, dataType: ApiRequestDataTypeInterface): T | T[] | undefined;
56
- /**
57
- * Read included relationships with polymorphic type resolution.
58
- * Determines the correct model class based on the JSON:API type in included data.
59
- */
60
- protected _readIncludedPolymorphic<T extends ApiDataInterface>(data: JsonApiHydratedDataInterface, relationshipKey: string, candidateModules: ApiRequestDataTypeInterface[]): T | T[] | undefined;
61
- /**
62
- * Read included relationship data and augment with relationship meta properties.
63
- * Handles both single relationships (one-to-one) and array relationships (one-to-many).
64
- *
65
- * For single relationships: meta is read from `relationships[type].meta`
66
- * For array relationships: per-item meta is read from `relationships[type].data[].meta`
67
- *
68
- * @param data - Hydrated JSON:API data
69
- * @param type - Relationship type key (e.g., "guide", "persons")
70
- * @param dataType - Module reference for rehydration
71
- * @returns Related object(s) augmented with meta properties, or undefined
72
- */
73
- protected _readIncludedWithMeta<T extends ApiDataInterface, M extends Record<string, any>>(data: JsonApiHydratedDataInterface, type: string, dataType: ApiRequestDataTypeInterface): (T & M) | (T & M)[] | undefined;
74
- dehydrate(): JsonApiHydratedDataInterface;
75
- rehydrate(data: JsonApiHydratedDataInterface): this;
76
- }
77
-
78
39
  declare enum ClientHttpMethod {
79
40
  GET = "GET",
80
41
  POST = "POST",
@@ -275,6 +236,9 @@ interface FoundationModuleDefinitions {
275
236
  ModulePaths: ModuleWithPermissions;
276
237
  RbacMatrix: ModuleWithPermissions;
277
238
  AuditLog: ModuleWithPermissions;
239
+ TokenUsageAdminSummary: ModuleWithPermissions;
240
+ TokenUsageAdminTimeline: ModuleWithPermissions;
241
+ TokenUsageAdminBreakdown: ModuleWithPermissions;
278
242
  }
279
243
  interface AppModuleDefinitions {
280
244
  }
@@ -182,7 +182,10 @@
182
182
 
183
183
 
184
184
 
185
- var _chunk5SFFHIEEjs = require('../chunk-5SFFHIEE.js');
185
+
186
+
187
+
188
+ var _chunkDS4IBFWAjs = require('../chunk-DS4IBFWA.js');
186
189
  require('../chunk-LXKSUWAV.js');
187
190
  require('../chunk-IBS6NI7D.js');
188
191
 
@@ -391,5 +394,8 @@ require('../chunk-7QVYU63E.js');
391
394
 
392
395
 
393
396
 
394
- exports.AVAILABLE_OAUTH_SCOPES = _chunk5SFFHIEEjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunk5SFFHIEEjs.AbstractApiData; exports.AbstractService = _chunk5SFFHIEEjs.AbstractService; exports.Action = _chunk5SFFHIEEjs.Action; exports.Assistant = _chunk5SFFHIEEjs.Assistant; exports.AssistantMessage = _chunk5SFFHIEEjs.AssistantMessage; exports.AssistantMessageModule = _chunk5SFFHIEEjs.AssistantMessageModule; exports.AssistantMessageService = _chunk5SFFHIEEjs.AssistantMessageService; exports.AssistantModule = _chunk5SFFHIEEjs.AssistantModule; exports.AssistantService = _chunk5SFFHIEEjs.AssistantService; exports.AuditLog = _chunk5SFFHIEEjs.AuditLog; exports.AuditLogModule = _chunk5SFFHIEEjs.AuditLogModule; exports.AuditLogService = _chunk5SFFHIEEjs.AuditLogService; exports.Auth = _chunk5SFFHIEEjs.Auth; exports.AuthComponent = _chunk5SFFHIEEjs.AuthComponent; exports.AuthModule = _chunk5SFFHIEEjs.AuthModule; exports.AuthService = _chunk5SFFHIEEjs.AuthService; exports.AuthorModule = _chunk5SFFHIEEjs.AuthorModule; exports.BackupCodeVerify = _chunk5SFFHIEEjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunk5SFFHIEEjs.BackupCodeVerifyModule; exports.Billing = _chunk5SFFHIEEjs.Billing; exports.BillingModule = _chunk5SFFHIEEjs.BillingModule; exports.BillingService = _chunk5SFFHIEEjs.BillingService; exports.BlockNoteDiffUtil = _chunk5SFFHIEEjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunk5SFFHIEEjs.BlockNoteWordDiffRendererUtil; exports.Chunk = _chunk5SFFHIEEjs.Chunk; exports.ChunkModule = _chunk5SFFHIEEjs.ChunkModule; exports.ClientAbstractService = _chunk5SFFHIEEjs.ClientAbstractService; exports.ClientHttpMethod = _chunk5SFFHIEEjs.ClientHttpMethod; exports.Company = _chunk5SFFHIEEjs.Company; exports.CompanyFields = _chunk5SFFHIEEjs.CompanyFields; exports.CompanyModule = _chunk5SFFHIEEjs.CompanyModule; exports.CompanyService = _chunk5SFFHIEEjs.CompanyService; exports.Content = _chunk5SFFHIEEjs.Content; exports.ContentFields = _chunk5SFFHIEEjs.ContentFields; exports.ContentModule = _chunk5SFFHIEEjs.ContentModule; exports.ContentService = _chunk5SFFHIEEjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunk5SFFHIEEjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkQWCAOLBDjs.DataClassRegistry; exports.DataClassRegistry = _chunkQWCAOLBDjs.DataClassRegistry; exports.EndpointCreator = _chunk5SFFHIEEjs.EndpointCreator; exports.Feature = _chunk5SFFHIEEjs.Feature; exports.FeatureModule = _chunk5SFFHIEEjs.FeatureModule; exports.FeatureService = _chunk5SFFHIEEjs.FeatureService; exports.HowTo = _chunk5SFFHIEEjs.HowTo; exports.HowToFields = _chunk5SFFHIEEjs.HowToFields; exports.HowToModule = _chunk5SFFHIEEjs.HowToModule; exports.HowToService = _chunk5SFFHIEEjs.HowToService; exports.HttpMethod = _chunk5SFFHIEEjs.HttpMethod; exports.InvoiceStatus = _chunk5SFFHIEEjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkQWCAOLBDjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunk5SFFHIEEjs.MOBILE_BREAKPOINT; exports.Module = _chunk5SFFHIEEjs.Module; exports.ModuleModule = _chunk5SFFHIEEjs.ModuleModule; exports.ModulePathsModule = _chunk5SFFHIEEjs.ModulePathsModule; exports.ModuleRegistrar = _chunk5SFFHIEEjs.ModuleRegistrar; exports.ModuleRegistry = _chunk5SFFHIEEjs.ModuleRegistry; exports.Modules = _chunk5SFFHIEEjs.Modules; exports.Notification = _chunk5SFFHIEEjs.Notification; exports.NotificationFields = _chunk5SFFHIEEjs.NotificationFields; exports.NotificationModule = _chunk5SFFHIEEjs.NotificationModule; exports.NotificationService = _chunk5SFFHIEEjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunk5SFFHIEEjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunk5SFFHIEEjs.OAuthClient; exports.OAuthModule = _chunk5SFFHIEEjs.OAuthModule; exports.OAuthService = _chunk5SFFHIEEjs.OAuthService; exports.Passkey = _chunk5SFFHIEEjs.Passkey; exports.PasskeyAuthenticationOptions = _chunk5SFFHIEEjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunk5SFFHIEEjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunk5SFFHIEEjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunk5SFFHIEEjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunk5SFFHIEEjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunk5SFFHIEEjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunk5SFFHIEEjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunk5SFFHIEEjs.PasskeyRename; exports.PasskeyRenameModule = _chunk5SFFHIEEjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunk5SFFHIEEjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunk5SFFHIEEjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunk5SFFHIEEjs.PaymentMethod; exports.PermissionMappingModule = _chunk5SFFHIEEjs.PermissionMappingModule; exports.Push = _chunk5SFFHIEEjs.Push; exports.PushModule = _chunk5SFFHIEEjs.PushModule; exports.PushService = _chunk5SFFHIEEjs.PushService; exports.RbacMatrixModule = _chunk5SFFHIEEjs.RbacMatrixModule; exports.ReferralModule = _chunk5SFFHIEEjs.ReferralModule; exports.ReferralService = _chunk5SFFHIEEjs.ReferralService; exports.ReferralStats = _chunk5SFFHIEEjs.ReferralStats; exports.ReferralStatsModule = _chunk5SFFHIEEjs.ReferralStatsModule; exports.RehydrationFactory = _chunk5SFFHIEEjs.RehydrationFactory; exports.Role = _chunk5SFFHIEEjs.Role; exports.RoleFields = _chunk5SFFHIEEjs.RoleFields; exports.RoleModule = _chunk5SFFHIEEjs.RoleModule; exports.RoleService = _chunk5SFFHIEEjs.RoleService; exports.S3 = _chunk5SFFHIEEjs.S3; exports.S3Module = _chunk5SFFHIEEjs.S3Module; exports.S3Service = _chunk5SFFHIEEjs.S3Service; exports.StripeCustomer = _chunk5SFFHIEEjs.StripeCustomer; exports.StripeCustomerModule = _chunk5SFFHIEEjs.StripeCustomerModule; exports.StripeCustomerService = _chunk5SFFHIEEjs.StripeCustomerService; exports.StripeInvoice = _chunk5SFFHIEEjs.StripeInvoice; exports.StripeInvoiceModule = _chunk5SFFHIEEjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunk5SFFHIEEjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunk5SFFHIEEjs.StripePaymentMethodModule; exports.StripePrice = _chunk5SFFHIEEjs.StripePrice; exports.StripePriceModule = _chunk5SFFHIEEjs.StripePriceModule; exports.StripePriceService = _chunk5SFFHIEEjs.StripePriceService; exports.StripeProduct = _chunk5SFFHIEEjs.StripeProduct; exports.StripeProductModule = _chunk5SFFHIEEjs.StripeProductModule; exports.StripeProductService = _chunk5SFFHIEEjs.StripeProductService; exports.StripePromotionCode = _chunk5SFFHIEEjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunk5SFFHIEEjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunk5SFFHIEEjs.StripePromotionCodeService; exports.StripeSubscription = _chunk5SFFHIEEjs.StripeSubscription; exports.StripeSubscriptionModule = _chunk5SFFHIEEjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunk5SFFHIEEjs.StripeSubscriptionService; exports.StripeUsage = _chunk5SFFHIEEjs.StripeUsage; exports.StripeUsageModule = _chunk5SFFHIEEjs.StripeUsageModule; exports.StripeUsageService = _chunk5SFFHIEEjs.StripeUsageService; exports.SubscriptionStatus = _chunk5SFFHIEEjs.SubscriptionStatus; exports.TableOptions = _chunk5SFFHIEEjs.TableOptions; exports.TotpAuthenticator = _chunk5SFFHIEEjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunk5SFFHIEEjs.TotpAuthenticatorModule; exports.TotpSetup = _chunk5SFFHIEEjs.TotpSetup; exports.TotpSetupModule = _chunk5SFFHIEEjs.TotpSetupModule; exports.TotpVerify = _chunk5SFFHIEEjs.TotpVerify; exports.TotpVerifyLogin = _chunk5SFFHIEEjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunk5SFFHIEEjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunk5SFFHIEEjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunk5SFFHIEEjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunk5SFFHIEEjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunk5SFFHIEEjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunk5SFFHIEEjs.TwoFactorEnableModule; exports.TwoFactorService = _chunk5SFFHIEEjs.TwoFactorService; exports.TwoFactorStatus = _chunk5SFFHIEEjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunk5SFFHIEEjs.TwoFactorStatusModule; exports.User = _chunk5SFFHIEEjs.User; exports.UserFields = _chunk5SFFHIEEjs.UserFields; exports.UserModule = _chunk5SFFHIEEjs.UserModule; exports.UserService = _chunk5SFFHIEEjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunk5SFFHIEEjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunk5SFFHIEEjs.Waitlist; exports.WaitlistModule = _chunk5SFFHIEEjs.WaitlistModule; exports.WaitlistService = _chunk5SFFHIEEjs.WaitlistService; exports.WaitlistStats = _chunk5SFFHIEEjs.WaitlistStats; exports.WaitlistStatsModule = _chunk5SFFHIEEjs.WaitlistStatsModule; exports.checkPermissions = _chunk5SFFHIEEjs.checkPermissions; exports.checkPermissionsFromServer = _chunk5SFFHIEEjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunk5SFFHIEEjs.clearLastApiMeta; exports.clearLastApiTotal = _chunk5SFFHIEEjs.clearLastApiTotal; exports.cn = _chunk5SFFHIEEjs.cn; exports.composeRefs = _chunk5SFFHIEEjs.composeRefs; exports.createJsonApiInclusion = _chunk5SFFHIEEjs.createJsonApiInclusion; exports.dismissToast = _chunk5SFFHIEEjs.dismissToast; exports.entityObjectSchema = _chunk5SFFHIEEjs.entityObjectSchema; exports.exists = _chunk5SFFHIEEjs.exists; exports.formatCodiceFiscale = _chunk5SFFHIEEjs.formatCodiceFiscale; exports.formatDate = _chunk5SFFHIEEjs.formatDate; exports.formatLocalDate = _chunk5SFFHIEEjs.formatLocalDate; exports.formatPartitaIva = _chunk5SFFHIEEjs.formatPartitaIva; exports.getBootstrapper = _chunkQWCAOLBDjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunk5SFFHIEEjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunk5SFFHIEEjs.getGlobalErrorHandler; exports.getIcon = _chunk5SFFHIEEjs.getIcon; exports.getIconByModule = _chunk5SFFHIEEjs.getIconByModule; exports.getIconByModuleName = _chunk5SFFHIEEjs.getIconByModuleName; exports.getInitials = _chunk5SFFHIEEjs.getInitials; exports.getLastApiMeta = _chunk5SFFHIEEjs.getLastApiMeta; exports.getLastApiTotal = _chunk5SFFHIEEjs.getLastApiTotal; exports.getLucideIcon = _chunk5SFFHIEEjs.getLucideIcon; exports.getLucideIconByModule = _chunk5SFFHIEEjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunk5SFFHIEEjs.getLucideIconByModuleName; exports.getTableComponents = _chunk5SFFHIEEjs.getTableComponents; exports.getTableOptions = _chunk5SFFHIEEjs.getTableOptions; exports.getValueFromPath = _chunk5SFFHIEEjs.getValueFromPath; exports.hasBootstrapper = _chunkQWCAOLBDjs.hasBootstrapper; exports.rehydrate = _chunk5SFFHIEEjs.rehydrate; exports.rehydrateList = _chunk5SFFHIEEjs.rehydrateList; exports.resetBootstrapStore = _chunkQWCAOLBDjs.resetBootstrapStore; exports.setBootstrapper = _chunkQWCAOLBDjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunk5SFFHIEEjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunk5SFFHIEEjs.setGlobalErrorHandler; exports.showCustomToast = _chunk5SFFHIEEjs.showCustomToast; exports.showError = _chunk5SFFHIEEjs.showError; exports.showToast = _chunk5SFFHIEEjs.showToast; exports.translateData = _chunkQWCAOLBDjs.translateData; exports.translateResponse = _chunkQWCAOLBDjs.translateResponse; exports.tryBootstrap = _chunkQWCAOLBDjs.tryBootstrap; exports.useComposedRefs = _chunk5SFFHIEEjs.useComposedRefs; exports.useIsMobile = _chunk5SFFHIEEjs.useIsMobile; exports.userObjectSchema = _chunk5SFFHIEEjs.userObjectSchema; exports.validateCodiceFiscale = _chunk5SFFHIEEjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunk5SFFHIEEjs.validateItalianTaxCode; exports.validatePartitaIva = _chunk5SFFHIEEjs.validatePartitaIva;
397
+
398
+
399
+
400
+ exports.AVAILABLE_OAUTH_SCOPES = _chunkDS4IBFWAjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkDS4IBFWAjs.AbstractApiData; exports.AbstractService = _chunkDS4IBFWAjs.AbstractService; exports.Action = _chunkDS4IBFWAjs.Action; exports.Assistant = _chunkDS4IBFWAjs.Assistant; exports.AssistantMessage = _chunkDS4IBFWAjs.AssistantMessage; exports.AssistantMessageModule = _chunkDS4IBFWAjs.AssistantMessageModule; exports.AssistantMessageService = _chunkDS4IBFWAjs.AssistantMessageService; exports.AssistantModule = _chunkDS4IBFWAjs.AssistantModule; exports.AssistantService = _chunkDS4IBFWAjs.AssistantService; exports.AuditLog = _chunkDS4IBFWAjs.AuditLog; exports.AuditLogModule = _chunkDS4IBFWAjs.AuditLogModule; exports.AuditLogService = _chunkDS4IBFWAjs.AuditLogService; exports.Auth = _chunkDS4IBFWAjs.Auth; exports.AuthComponent = _chunkDS4IBFWAjs.AuthComponent; exports.AuthModule = _chunkDS4IBFWAjs.AuthModule; exports.AuthService = _chunkDS4IBFWAjs.AuthService; exports.AuthorModule = _chunkDS4IBFWAjs.AuthorModule; exports.BackupCodeVerify = _chunkDS4IBFWAjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkDS4IBFWAjs.BackupCodeVerifyModule; exports.Billing = _chunkDS4IBFWAjs.Billing; exports.BillingModule = _chunkDS4IBFWAjs.BillingModule; exports.BillingService = _chunkDS4IBFWAjs.BillingService; exports.BlockNoteDiffUtil = _chunkDS4IBFWAjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkDS4IBFWAjs.BlockNoteWordDiffRendererUtil; exports.Chunk = _chunkDS4IBFWAjs.Chunk; exports.ChunkModule = _chunkDS4IBFWAjs.ChunkModule; exports.ClientAbstractService = _chunkDS4IBFWAjs.ClientAbstractService; exports.ClientHttpMethod = _chunkDS4IBFWAjs.ClientHttpMethod; exports.Company = _chunkDS4IBFWAjs.Company; exports.CompanyFields = _chunkDS4IBFWAjs.CompanyFields; exports.CompanyModule = _chunkDS4IBFWAjs.CompanyModule; exports.CompanyService = _chunkDS4IBFWAjs.CompanyService; exports.Content = _chunkDS4IBFWAjs.Content; exports.ContentFields = _chunkDS4IBFWAjs.ContentFields; exports.ContentModule = _chunkDS4IBFWAjs.ContentModule; exports.ContentService = _chunkDS4IBFWAjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkDS4IBFWAjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkQWCAOLBDjs.DataClassRegistry; exports.DataClassRegistry = _chunkQWCAOLBDjs.DataClassRegistry; exports.EndpointCreator = _chunkDS4IBFWAjs.EndpointCreator; exports.Feature = _chunkDS4IBFWAjs.Feature; exports.FeatureModule = _chunkDS4IBFWAjs.FeatureModule; exports.FeatureService = _chunkDS4IBFWAjs.FeatureService; exports.HowTo = _chunkDS4IBFWAjs.HowTo; exports.HowToFields = _chunkDS4IBFWAjs.HowToFields; exports.HowToModule = _chunkDS4IBFWAjs.HowToModule; exports.HowToService = _chunkDS4IBFWAjs.HowToService; exports.HttpMethod = _chunkDS4IBFWAjs.HttpMethod; exports.InvoiceStatus = _chunkDS4IBFWAjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkQWCAOLBDjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkDS4IBFWAjs.MOBILE_BREAKPOINT; exports.Module = _chunkDS4IBFWAjs.Module; exports.ModuleModule = _chunkDS4IBFWAjs.ModuleModule; exports.ModulePathsModule = _chunkDS4IBFWAjs.ModulePathsModule; exports.ModuleRegistrar = _chunkDS4IBFWAjs.ModuleRegistrar; exports.ModuleRegistry = _chunkDS4IBFWAjs.ModuleRegistry; exports.Modules = _chunkDS4IBFWAjs.Modules; exports.Notification = _chunkDS4IBFWAjs.Notification; exports.NotificationFields = _chunkDS4IBFWAjs.NotificationFields; exports.NotificationModule = _chunkDS4IBFWAjs.NotificationModule; exports.NotificationService = _chunkDS4IBFWAjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkDS4IBFWAjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkDS4IBFWAjs.OAuthClient; exports.OAuthModule = _chunkDS4IBFWAjs.OAuthModule; exports.OAuthService = _chunkDS4IBFWAjs.OAuthService; exports.Passkey = _chunkDS4IBFWAjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkDS4IBFWAjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkDS4IBFWAjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkDS4IBFWAjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkDS4IBFWAjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkDS4IBFWAjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkDS4IBFWAjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkDS4IBFWAjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkDS4IBFWAjs.PasskeyRename; exports.PasskeyRenameModule = _chunkDS4IBFWAjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkDS4IBFWAjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkDS4IBFWAjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkDS4IBFWAjs.PaymentMethod; exports.PermissionMappingModule = _chunkDS4IBFWAjs.PermissionMappingModule; exports.Push = _chunkDS4IBFWAjs.Push; exports.PushModule = _chunkDS4IBFWAjs.PushModule; exports.PushService = _chunkDS4IBFWAjs.PushService; exports.RbacMatrixModule = _chunkDS4IBFWAjs.RbacMatrixModule; exports.ReferralModule = _chunkDS4IBFWAjs.ReferralModule; exports.ReferralService = _chunkDS4IBFWAjs.ReferralService; exports.ReferralStats = _chunkDS4IBFWAjs.ReferralStats; exports.ReferralStatsModule = _chunkDS4IBFWAjs.ReferralStatsModule; exports.RehydrationFactory = _chunkDS4IBFWAjs.RehydrationFactory; exports.Role = _chunkDS4IBFWAjs.Role; exports.RoleFields = _chunkDS4IBFWAjs.RoleFields; exports.RoleModule = _chunkDS4IBFWAjs.RoleModule; exports.RoleService = _chunkDS4IBFWAjs.RoleService; exports.S3 = _chunkDS4IBFWAjs.S3; exports.S3Module = _chunkDS4IBFWAjs.S3Module; exports.S3Service = _chunkDS4IBFWAjs.S3Service; exports.StripeCustomer = _chunkDS4IBFWAjs.StripeCustomer; exports.StripeCustomerModule = _chunkDS4IBFWAjs.StripeCustomerModule; exports.StripeCustomerService = _chunkDS4IBFWAjs.StripeCustomerService; exports.StripeInvoice = _chunkDS4IBFWAjs.StripeInvoice; exports.StripeInvoiceModule = _chunkDS4IBFWAjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkDS4IBFWAjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkDS4IBFWAjs.StripePaymentMethodModule; exports.StripePrice = _chunkDS4IBFWAjs.StripePrice; exports.StripePriceModule = _chunkDS4IBFWAjs.StripePriceModule; exports.StripePriceService = _chunkDS4IBFWAjs.StripePriceService; exports.StripeProduct = _chunkDS4IBFWAjs.StripeProduct; exports.StripeProductModule = _chunkDS4IBFWAjs.StripeProductModule; exports.StripeProductService = _chunkDS4IBFWAjs.StripeProductService; exports.StripePromotionCode = _chunkDS4IBFWAjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkDS4IBFWAjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkDS4IBFWAjs.StripePromotionCodeService; exports.StripeSubscription = _chunkDS4IBFWAjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkDS4IBFWAjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkDS4IBFWAjs.StripeSubscriptionService; exports.StripeUsage = _chunkDS4IBFWAjs.StripeUsage; exports.StripeUsageModule = _chunkDS4IBFWAjs.StripeUsageModule; exports.StripeUsageService = _chunkDS4IBFWAjs.StripeUsageService; exports.SubscriptionStatus = _chunkDS4IBFWAjs.SubscriptionStatus; exports.TableOptions = _chunkDS4IBFWAjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkDS4IBFWAjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkDS4IBFWAjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkDS4IBFWAjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkDS4IBFWAjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkDS4IBFWAjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkDS4IBFWAjs.TotpSetup; exports.TotpSetupModule = _chunkDS4IBFWAjs.TotpSetupModule; exports.TotpVerify = _chunkDS4IBFWAjs.TotpVerify; exports.TotpVerifyLogin = _chunkDS4IBFWAjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkDS4IBFWAjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkDS4IBFWAjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkDS4IBFWAjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkDS4IBFWAjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkDS4IBFWAjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkDS4IBFWAjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkDS4IBFWAjs.TwoFactorService; exports.TwoFactorStatus = _chunkDS4IBFWAjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkDS4IBFWAjs.TwoFactorStatusModule; exports.User = _chunkDS4IBFWAjs.User; exports.UserFields = _chunkDS4IBFWAjs.UserFields; exports.UserModule = _chunkDS4IBFWAjs.UserModule; exports.UserService = _chunkDS4IBFWAjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkDS4IBFWAjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkDS4IBFWAjs.Waitlist; exports.WaitlistModule = _chunkDS4IBFWAjs.WaitlistModule; exports.WaitlistService = _chunkDS4IBFWAjs.WaitlistService; exports.WaitlistStats = _chunkDS4IBFWAjs.WaitlistStats; exports.WaitlistStatsModule = _chunkDS4IBFWAjs.WaitlistStatsModule; exports.checkPermissions = _chunkDS4IBFWAjs.checkPermissions; exports.checkPermissionsFromServer = _chunkDS4IBFWAjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkDS4IBFWAjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkDS4IBFWAjs.clearLastApiTotal; exports.cn = _chunkDS4IBFWAjs.cn; exports.composeRefs = _chunkDS4IBFWAjs.composeRefs; exports.createJsonApiInclusion = _chunkDS4IBFWAjs.createJsonApiInclusion; exports.dismissToast = _chunkDS4IBFWAjs.dismissToast; exports.entityObjectSchema = _chunkDS4IBFWAjs.entityObjectSchema; exports.exists = _chunkDS4IBFWAjs.exists; exports.formatCodiceFiscale = _chunkDS4IBFWAjs.formatCodiceFiscale; exports.formatDate = _chunkDS4IBFWAjs.formatDate; exports.formatLocalDate = _chunkDS4IBFWAjs.formatLocalDate; exports.formatPartitaIva = _chunkDS4IBFWAjs.formatPartitaIva; exports.getBootstrapper = _chunkQWCAOLBDjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkDS4IBFWAjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkDS4IBFWAjs.getGlobalErrorHandler; exports.getIcon = _chunkDS4IBFWAjs.getIcon; exports.getIconByModule = _chunkDS4IBFWAjs.getIconByModule; exports.getIconByModuleName = _chunkDS4IBFWAjs.getIconByModuleName; exports.getInitials = _chunkDS4IBFWAjs.getInitials; exports.getLastApiMeta = _chunkDS4IBFWAjs.getLastApiMeta; exports.getLastApiTotal = _chunkDS4IBFWAjs.getLastApiTotal; exports.getLucideIcon = _chunkDS4IBFWAjs.getLucideIcon; exports.getLucideIconByModule = _chunkDS4IBFWAjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkDS4IBFWAjs.getLucideIconByModuleName; exports.getTableComponents = _chunkDS4IBFWAjs.getTableComponents; exports.getTableOptions = _chunkDS4IBFWAjs.getTableOptions; exports.getValueFromPath = _chunkDS4IBFWAjs.getValueFromPath; exports.hasBootstrapper = _chunkQWCAOLBDjs.hasBootstrapper; exports.rehydrate = _chunkDS4IBFWAjs.rehydrate; exports.rehydrateList = _chunkDS4IBFWAjs.rehydrateList; exports.resetBootstrapStore = _chunkQWCAOLBDjs.resetBootstrapStore; exports.setBootstrapper = _chunkQWCAOLBDjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkDS4IBFWAjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkDS4IBFWAjs.setGlobalErrorHandler; exports.showCustomToast = _chunkDS4IBFWAjs.showCustomToast; exports.showError = _chunkDS4IBFWAjs.showError; exports.showToast = _chunkDS4IBFWAjs.showToast; exports.translateData = _chunkQWCAOLBDjs.translateData; exports.translateResponse = _chunkQWCAOLBDjs.translateResponse; exports.tryBootstrap = _chunkQWCAOLBDjs.tryBootstrap; exports.useComposedRefs = _chunkDS4IBFWAjs.useComposedRefs; exports.useIsMobile = _chunkDS4IBFWAjs.useIsMobile; exports.userObjectSchema = _chunkDS4IBFWAjs.userObjectSchema; exports.validateCodiceFiscale = _chunkDS4IBFWAjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkDS4IBFWAjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkDS4IBFWAjs.validatePartitaIva;
395
401
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,m7WAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"}
1
+ {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,2rXAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"}
@@ -116,6 +116,9 @@ import {
116
116
  StripeUsageService,
117
117
  SubscriptionStatus,
118
118
  TableOptions,
119
+ TokenUsageAdminBreakdownModule,
120
+ TokenUsageAdminSummaryModule,
121
+ TokenUsageAdminTimelineModule,
119
122
  TotpAuthenticator,
120
123
  TotpAuthenticatorModule,
121
124
  TotpSetup,
@@ -182,7 +185,7 @@ import {
182
185
  validateCodiceFiscale,
183
186
  validateItalianTaxCode,
184
187
  validatePartitaIva
185
- } from "../chunk-KZHHKPQZ.mjs";
188
+ } from "../chunk-BIL2WQEV.mjs";
186
189
  import "../chunk-AUXK7QSA.mjs";
187
190
  import "../chunk-C7C7VY4F.mjs";
188
191
  import {
@@ -318,6 +321,9 @@ export {
318
321
  StripeUsageService,
319
322
  SubscriptionStatus,
320
323
  TableOptions,
324
+ TokenUsageAdminBreakdownModule,
325
+ TokenUsageAdminSummaryModule,
326
+ TokenUsageAdminTimelineModule,
321
327
  TotpAuthenticator,
322
328
  TotpAuthenticatorModule,
323
329
  TotpSetup,
@@ -4,8 +4,8 @@ import { H as HelpContentConfig } from '../../help-content-config.interface-C5ES
4
4
  export { a as HelpBrandConfig } from '../../help-content-config.interface-C5ESIod9.mjs';
5
5
  import { HelpHeading, HelpArticle, HelpMode } from './server.mjs';
6
6
  export { HELP_MODES, HelpRedirect } from './server.mjs';
7
- import { u as usePageUrlGenerator } from '../../usePageUrlGenerator-uOnyJ6j2.mjs';
8
- import '../../types-CQSjy7et.mjs';
7
+ import { u as usePageUrlGenerator } from '../../usePageUrlGenerator-uKBjAKqC.mjs';
8
+ import '../../types-Bq_UA8Lg.mjs';
9
9
  import 'lucide-react';
10
10
  import '../../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
11
11
 
@@ -4,8 +4,8 @@ import { H as HelpContentConfig } from '../../help-content-config.interface-C5ES
4
4
  export { a as HelpBrandConfig } from '../../help-content-config.interface-C5ESIod9.js';
5
5
  import { HelpHeading, HelpArticle, HelpMode } from './server.js';
6
6
  export { HELP_MODES, HelpRedirect } from './server.js';
7
- import { u as usePageUrlGenerator } from '../../usePageUrlGenerator-tjq2mlDV.js';
8
- import '../../types-DHOxe8rc.js';
7
+ import { u as usePageUrlGenerator } from '../../usePageUrlGenerator-J_ECv-oQ.js';
8
+ import '../../types-bsm8Fp55.js';
9
9
  import 'lucide-react';
10
10
  import '../../ApiRequestDataTypeInterface-CYEcRUrh.js';
11
11
 
@@ -23,13 +23,13 @@ var _chunkYBZVWLPHjs = require('../../chunk-YBZVWLPH.js');
23
23
 
24
24
 
25
25
 
26
- var _chunk7CR4YB7Yjs = require('../../chunk-7CR4YB7Y.js');
26
+ var _chunkF6PZZ4KIjs = require('../../chunk-F6PZZ4KI.js');
27
27
 
28
28
 
29
- var _chunkC6UXEPNYjs = require('../../chunk-C6UXEPNY.js');
29
+ var _chunkUXJAS6C5js = require('../../chunk-UXJAS6C5.js');
30
30
 
31
31
 
32
- var _chunk5SFFHIEEjs = require('../../chunk-5SFFHIEE.js');
32
+ var _chunkDS4IBFWAjs = require('../../chunk-DS4IBFWA.js');
33
33
  require('../../chunk-LXKSUWAV.js');
34
34
  require('../../chunk-IBS6NI7D.js');
35
35
  require('../../chunk-QWCAOLBD.js');
@@ -43,7 +43,7 @@ var _react = require('react');
43
43
  var _jsxruntime = require('react/jsx-runtime');
44
44
  var HelpContext = _react.createContext.call(void 0, null);
45
45
  function HelpProvider({ children }) {
46
- const cfg = _chunkC6UXEPNYjs._getStaticHelpContent.call(void 0, );
46
+ const cfg = _chunkUXJAS6C5js._getStaticHelpContent.call(void 0, );
47
47
  if (!cfg) {
48
48
  throw new Error(
49
49
  "Help content not configured \u2014 call configureJsonApi({ helpContent: {...} }) before importing help components."
@@ -75,29 +75,29 @@ var _lucidereact = require('lucide-react');
75
75
 
76
76
 
77
77
  function HelpAssistantSheet({ open, onOpenChange }) {
78
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7CR4YB7Yjs.Sheet, { open, onOpenChange, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
79
- _chunk7CR4YB7Yjs.SheetContent,
78
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6PZZ4KIjs.Sheet, { open, onOpenChange, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
79
+ _chunkF6PZZ4KIjs.SheetContent,
80
80
  {
81
81
  side: "right",
82
82
  className: "flex w-full flex-col data-[side=right]:sm:max-w-2xl data-[side=right]:lg:max-w-3xl",
83
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7CR4YB7Yjs.AssistantProvider, { manageUrl: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpAssistantSheetBody, {}) })
83
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6PZZ4KIjs.AssistantProvider, { manageUrl: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpAssistantSheetBody, {}) })
84
84
  }
85
85
  ) });
86
86
  }
87
87
  _chunk7QVYU63Ejs.__name.call(void 0, HelpAssistantSheet, "HelpAssistantSheet");
88
88
  function HelpAssistantSheetBody() {
89
89
  const t = _nextintl.useTranslations.call(void 0, );
90
- const ctx = _chunk7CR4YB7Yjs.useAssistantContext.call(void 0, );
90
+ const ctx = _chunkF6PZZ4KIjs.useAssistantContext.call(void 0, );
91
91
  const showThread = !!ctx.assistant || ctx.sending || ctx.messages.length > 0;
92
92
  const send = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (content) => ctx.sendMessage(content, { howToMode: true }), "send");
93
93
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
94
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7CR4YB7Yjs.SheetHeader, { children: [
95
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7CR4YB7Yjs.SheetTitle, { children: t("help.askAi.sheet.title") }),
96
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7CR4YB7Yjs.SheetDescription, { children: t("help.askAi.sheet.subtitle") })
94
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF6PZZ4KIjs.SheetHeader, { children: [
95
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6PZZ4KIjs.SheetTitle, { children: t("help.askAi.sheet.title") }),
96
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6PZZ4KIjs.SheetDescription, { children: t("help.askAi.sheet.subtitle") })
97
97
  ] }),
98
- !showThread ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7CR4YB7Yjs.AssistantEmptyState, { onSend: send }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
98
+ !showThread ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6PZZ4KIjs.AssistantEmptyState, { onSend: send }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
99
99
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
100
- _chunk7CR4YB7Yjs.AssistantThread,
100
+ _chunkF6PZZ4KIjs.AssistantThread,
101
101
  {
102
102
  messages: ctx.messages,
103
103
  sending: ctx.sending,
@@ -107,7 +107,7 @@ function HelpAssistantSheetBody() {
107
107
  onRetry: ctx.retrySend
108
108
  }
109
109
  ),
110
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7CR4YB7Yjs.AssistantComposer, { onSend: send, disabled: ctx.sending })
110
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6PZZ4KIjs.AssistantComposer, { onSend: send, disabled: ctx.sending })
111
111
  ] })
112
112
  ] });
113
113
  }
@@ -117,20 +117,20 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpAssistantSheetBody, "HelpAssistantSheet
117
117
 
118
118
  function HelpAskAi() {
119
119
  const t = _nextintl.useTranslations.call(void 0, );
120
- const { currentUser } = _chunk7CR4YB7Yjs.useCurrentUserContext.call(void 0, );
120
+ const { currentUser } = _chunkF6PZZ4KIjs.useCurrentUserContext.call(void 0, );
121
121
  const [open, setOpen] = _react.useState.call(void 0, false);
122
122
  const disabled = !currentUser;
123
123
  if (disabled) {
124
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7CR4YB7Yjs.Tooltip, { children: [
125
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7CR4YB7Yjs.TooltipTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7CR4YB7Yjs.Button, { variant: "outline", size: "sm", disabled: true }), children: [
124
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF6PZZ4KIjs.Tooltip, { children: [
125
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF6PZZ4KIjs.TooltipTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6PZZ4KIjs.Button, { variant: "outline", size: "sm", disabled: true }), children: [
126
126
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.SparklesIcon, { className: "h-4 w-4" }),
127
127
  t("help.askAi.button")
128
128
  ] }),
129
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7CR4YB7Yjs.TooltipContent, { children: t("help.askAi.loginTooltip") })
129
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6PZZ4KIjs.TooltipContent, { children: t("help.askAi.loginTooltip") })
130
130
  ] });
131
131
  }
132
132
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
133
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7CR4YB7Yjs.Button, { variant: "outline", size: "sm", onClick: () => setOpen(true), children: [
133
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF6PZZ4KIjs.Button, { variant: "outline", size: "sm", onClick: () => setOpen(true), children: [
134
134
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.SparklesIcon, { className: "h-4 w-4" }),
135
135
  t("help.askAi.button")
136
136
  ] }),
@@ -143,7 +143,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpAskAi, "HelpAskAi");
143
143
 
144
144
  function HelpHeader() {
145
145
  const t = _nextintl.useTranslations.call(void 0, );
146
- const { currentUser } = _chunk7CR4YB7Yjs.useCurrentUserContext.call(void 0, );
146
+ const { currentUser } = _chunkF6PZZ4KIjs.useCurrentUserContext.call(void 0, );
147
147
  const { brand } = useHelp();
148
148
  const logo = _optionalChain([brand, 'optionalAccess', _ => _.logo]);
149
149
  const label = _nullishCoalesce(_optionalChain([brand, 'optionalAccess', _2 => _2.label]), () => ( "Help"));
@@ -159,7 +159,7 @@ function HelpHeader() {
159
159
  ] }),
160
160
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
161
161
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpAskAi, {}),
162
- currentUser ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: appHref, className: _chunk7CR4YB7Yjs.buttonVariants.call(void 0, { variant: "outline", size: "sm" }), children: t("help.header.openApp") }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: "/login", className: _chunk7CR4YB7Yjs.buttonVariants.call(void 0, { variant: "outline", size: "sm" }), children: t("help.header.login") })
162
+ currentUser ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: appHref, className: _chunkF6PZZ4KIjs.buttonVariants.call(void 0, { variant: "outline", size: "sm" }), children: t("help.header.openApp") }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: "/login", className: _chunkF6PZZ4KIjs.buttonVariants.call(void 0, { variant: "outline", size: "sm" }), children: t("help.header.login") })
163
163
  ] })
164
164
  ] });
165
165
  }
@@ -201,12 +201,12 @@ _chunk7QVYU63Ejs.__name.call(void 0, useHelpFilter, "useHelpFilter");
201
201
 
202
202
  function HelpSideNav() {
203
203
  const t = _nextintl.useTranslations.call(void 0, );
204
- const generateUrl = _chunk7CR4YB7Yjs.usePageUrlGenerator.call(void 0, );
204
+ const generateUrl = _chunkF6PZZ4KIjs.usePageUrlGenerator.call(void 0, );
205
205
  const pathname = _navigation.usePathname.call(void 0, );
206
206
  const [articles, setArticles] = _react.useState.call(void 0, []);
207
207
  _react.useEffect.call(void 0, () => {
208
208
  let active = true;
209
- _chunk5SFFHIEEjs.HowToService.findPublished().then((list) => active && setArticles(list)).catch(() => active && setArticles([]));
209
+ _chunkDS4IBFWAjs.HowToService.findPublished().then((list) => active && setArticles(list)).catch(() => active && setArticles([]));
210
210
  return () => {
211
211
  active = false;
212
212
  };
@@ -282,7 +282,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpSideNav, "HelpSideNav");
282
282
  function HelpArticleBody(props) {
283
283
  const t = _nextintl.useTranslations.call(void 0, );
284
284
  const format = _nextintl.useFormatter.call(void 0, );
285
- const generateUrl = _chunk7CR4YB7Yjs.usePageUrlGenerator.call(void 0, );
285
+ const generateUrl = _chunkF6PZZ4KIjs.usePageUrlGenerator.call(void 0, );
286
286
  const { howToType, title, summary, updatedAt, prev, next, children } = props;
287
287
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: "prose dark:prose-invert max-w-none", children: [
288
288
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { className: "text-muted-foreground mb-2 text-xs", children: [
@@ -339,7 +339,7 @@ function HelpTOC({ headings }) {
339
339
  }, [headings]);
340
340
  if (headings.length === 0) return null;
341
341
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { "aria-label": t("help.toc.title"), className: "hidden lg:block", children: [
342
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7CR4YB7Yjs.MicroLabel, { className: "mb-2", children: t("help.toc.title") }),
342
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6PZZ4KIjs.MicroLabel, { className: "mb-2", children: t("help.toc.title") }),
343
343
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "space-y-1 text-sm", children: headings.map((h) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { style: { paddingLeft: `${(h.depth - 2) * 0.75}rem` }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
344
344
  "a",
345
345
  {
@@ -360,13 +360,13 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpTOC, "HelpTOC");
360
360
 
361
361
  function HelpHint({ contextKey }) {
362
362
  const t = _nextintl.useTranslations.call(void 0, );
363
- const generateUrl = _chunk7CR4YB7Yjs.usePageUrlGenerator.call(void 0, );
363
+ const generateUrl = _chunkF6PZZ4KIjs.usePageUrlGenerator.call(void 0, );
364
364
  const [open, setOpen] = _react.useState.call(void 0, false);
365
365
  const [picked, setPicked] = _react.useState.call(void 0, null);
366
366
  const [articles, setArticles] = _react.useState.call(void 0, []);
367
367
  _react.useEffect.call(void 0, () => {
368
368
  let active2 = true;
369
- _chunk5SFFHIEEjs.HowToService.findPublished().then((list) => active2 && setArticles(list)).catch(() => active2 && setArticles([]));
369
+ _chunkDS4IBFWAjs.HowToService.findPublished().then((list) => active2 && setArticles(list)).catch(() => active2 && setArticles([]));
370
370
  return () => {
371
371
  active2 = false;
372
372
  };
@@ -378,7 +378,7 @@ function HelpHint({ contextKey }) {
378
378
  if (matches.length === 0) return null;
379
379
  const active = _nullishCoalesce(picked, () => ( (matches.length === 1 ? matches[0] : null)));
380
380
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
381
- _chunk7CR4YB7Yjs.Sheet,
381
+ _chunkF6PZZ4KIjs.Sheet,
382
382
  {
383
383
  open,
384
384
  onOpenChange: (o) => {
@@ -386,11 +386,11 @@ function HelpHint({ contextKey }) {
386
386
  if (!o) setPicked(null);
387
387
  },
388
388
  children: [
389
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7CR4YB7Yjs.SheetTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7CR4YB7Yjs.Button, { variant: "ghost", size: "icon-sm", "aria-label": t("help.hint.trigger") }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.HelpCircleIcon, { className: "h-4 w-4" }) }),
390
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7CR4YB7Yjs.SheetContent, { side: "right", className: "w-full max-w-md sm:max-w-lg", children: [
391
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7CR4YB7Yjs.SheetHeader, { children: [
392
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7CR4YB7Yjs.SheetTitle, { children: active ? active.name : t("help.hint.pickArticle") }),
393
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7CR4YB7Yjs.SheetDescription, { children: _nullishCoalesce(_optionalChain([active, 'optionalAccess', _4 => _4.summary]), () => ( "")) })
389
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6PZZ4KIjs.SheetTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6PZZ4KIjs.Button, { variant: "ghost", size: "icon-sm", "aria-label": t("help.hint.trigger") }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.HelpCircleIcon, { className: "h-4 w-4" }) }),
390
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF6PZZ4KIjs.SheetContent, { side: "right", className: "w-full max-w-md sm:max-w-lg", children: [
391
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF6PZZ4KIjs.SheetHeader, { children: [
392
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6PZZ4KIjs.SheetTitle, { children: active ? active.name : t("help.hint.pickArticle") }),
393
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6PZZ4KIjs.SheetDescription, { children: _nullishCoalesce(_optionalChain([active, 'optionalAccess', _4 => _4.summary]), () => ( "")) })
394
394
  ] }),
395
395
  active ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-4 space-y-3", children: [
396
396
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-muted-foreground text-sm", children: active.summary }),
@@ -422,18 +422,18 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpHint, "HelpHint");
422
422
 
423
423
  function HelpSearchResultRow({ result, onSelect }) {
424
424
  const t = _nextintl.useTranslations.call(void 0, );
425
- const generateUrl = _chunk7CR4YB7Yjs.usePageUrlGenerator.call(void 0, );
425
+ const generateUrl = _chunkF6PZZ4KIjs.usePageUrlGenerator.call(void 0, );
426
426
  const [article, setArticle] = _react.useState.call(void 0, null);
427
427
  _react.useEffect.call(void 0, () => {
428
428
  let active = true;
429
- _chunk5SFFHIEEjs.HowToService.findOne({ id: result.id }).then((a) => active && setArticle(a)).catch(() => active && setArticle(null));
429
+ _chunkDS4IBFWAjs.HowToService.findOne({ id: result.id }).then((a) => active && setArticle(a)).catch(() => active && setArticle(null));
430
430
  return () => {
431
431
  active = false;
432
432
  };
433
433
  }, [result.id]);
434
434
  if (!article) {
435
435
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
436
- _chunk7CR4YB7Yjs.CommandItem,
436
+ _chunkF6PZZ4KIjs.CommandItem,
437
437
  {
438
438
  value: result.id,
439
439
  disabled: true,
@@ -442,7 +442,7 @@ function HelpSearchResultRow({ result, onSelect }) {
442
442
  }
443
443
  );
444
444
  }
445
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7CR4YB7Yjs.CommandItem, { value: result.id, onSelect, className: "cursor-pointer p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
445
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6PZZ4KIjs.CommandItem, { value: result.id, onSelect, className: "cursor-pointer p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
446
446
  _link2.default,
447
447
  {
448
448
  href: generateUrl({ page: `/help/${article.howToType}/${article.slug}` }),
@@ -23,13 +23,13 @@ import {
23
23
  useAssistantContext,
24
24
  useCurrentUserContext,
25
25
  usePageUrlGenerator
26
- } from "../../chunk-FZ5SPJEU.mjs";
26
+ } from "../../chunk-UGSOBBZH.mjs";
27
27
  import {
28
28
  _getStaticHelpContent
29
- } from "../../chunk-ZV2GZKFR.mjs";
29
+ } from "../../chunk-HN5ED7OF.mjs";
30
30
  import {
31
31
  HowToService
32
- } from "../../chunk-KZHHKPQZ.mjs";
32
+ } from "../../chunk-BIL2WQEV.mjs";
33
33
  import "../../chunk-AUXK7QSA.mjs";
34
34
  import "../../chunk-C7C7VY4F.mjs";
35
35
  import "../../chunk-Z2CB63VG.mjs";
@@ -0,0 +1,29 @@
1
+ /* src/features/onboarding/styles/onboarding.css */
2
+ .shepherd-modal-overlay-container.shepherd-modal-is-visible {
3
+ opacity: 1 !important;
4
+ }
5
+ .shepherd-modal-overlay-container path {
6
+ fill: rgba(0, 0, 0, 0.75) !important;
7
+ }
8
+ .shepherd-element {
9
+ background: transparent !important;
10
+ border: none !important;
11
+ box-shadow: none !important;
12
+ padding: 0 !important;
13
+ max-width: none !important;
14
+ }
15
+ .shepherd-content,
16
+ .shepherd-text {
17
+ padding: 0 !important;
18
+ }
19
+ .shepherd-arrow::before {
20
+ background: hsl(var(--card)) !important;
21
+ }
22
+ .shepherd-header,
23
+ .shepherd-footer {
24
+ display: none !important;
25
+ }
26
+ .dark .shepherd-arrow::before {
27
+ background: hsl(var(--card)) !important;
28
+ }
29
+ /*# sourceMappingURL=index.css.map */