@carlonicora/nextjs-jsonapi 3.24.2 → 3.25.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-1Kbz8RVs.d.ts → AssistantMessageInterface-CubxuBIJ.d.ts} +1 -1
- package/dist/{AssistantMessageInterface-CoxJyuFM.d.mts → AssistantMessageInterface-sHjI2zPN.d.mts} +1 -1
- package/dist/{BlockNoteEditor-65HR6ULV.mjs → BlockNoteEditor-46O3JC4Z.mjs} +5 -5
- package/dist/{BlockNoteEditor-35D4R7HJ.js → BlockNoteEditor-HKS6AXDA.js} +20 -20
- package/dist/{BlockNoteEditor-35D4R7HJ.js.map → BlockNoteEditor-HKS6AXDA.js.map} +1 -1
- package/dist/{BlockNoteViewer-QDXDVYEM.js → BlockNoteViewer-7BFNTN4E.js} +4 -4
- package/dist/{BlockNoteViewer-QDXDVYEM.js.map → BlockNoteViewer-7BFNTN4E.js.map} +1 -1
- package/dist/{BlockNoteViewer-KDKGUIG5.mjs → BlockNoteViewer-KRTAFTUX.mjs} +3 -3
- package/dist/{HandbookSectionInterface-OePKPbqN.d.ts → HandbookSectionInterface-Ck1wZJ81.d.ts} +1 -1
- package/dist/{HandbookSectionInterface-BYsmnPEz.d.mts → HandbookSectionInterface-DgYH--Ik.d.mts} +1 -1
- package/dist/JsonApiRequest-TE5WD3WS.js +26 -0
- package/dist/{JsonApiRequest-G625QAH5.js.map → JsonApiRequest-TE5WD3WS.js.map} +1 -1
- package/dist/{JsonApiRequest-RRMNV7YE.mjs → JsonApiRequest-UHOWNI3O.mjs} +2 -2
- package/dist/analytics.modules-CfczU12P.d.ts +25 -0
- package/dist/analytics.modules-pzGwMASI.d.mts +25 -0
- package/dist/{auth.interface-BC1jp_ni.d.ts → auth.interface-BzI4onI_.d.ts} +1 -1
- package/dist/{auth.interface-dR2-6gPM.d.mts → auth.interface-Df4vXbNz.d.mts} +1 -1
- package/dist/billing/index.js +402 -402
- package/dist/billing/index.mjs +4 -4
- package/dist/{chunk-YXRVPEEJ.js → chunk-26MQIJNB.js} +1 -1
- package/dist/{chunk-YXRVPEEJ.js.map → chunk-26MQIJNB.js.map} +1 -1
- package/dist/{chunk-T76WLDE5.mjs → chunk-37DMFVLN.mjs} +1 -1
- package/dist/chunk-4Z2UONN2.mjs +110 -0
- package/dist/chunk-4Z2UONN2.mjs.map +1 -0
- package/dist/{chunk-3AR4KA5D.js → chunk-4Z45NYPR.js} +13 -13
- package/dist/{chunk-3AR4KA5D.js.map → chunk-4Z45NYPR.js.map} +1 -1
- package/dist/chunk-7B4E42R5.mjs +280 -0
- package/dist/chunk-7B4E42R5.mjs.map +1 -0
- package/dist/{chunk-U7QVISQS.js → chunk-CAKOFJZD.js} +450 -40
- package/dist/chunk-CAKOFJZD.js.map +1 -0
- package/dist/{chunk-IBVKPLHT.mjs → chunk-E3I4MT53.mjs} +422 -12
- package/dist/chunk-E3I4MT53.mjs.map +1 -0
- package/dist/chunk-GHFMKH3M.js +280 -0
- package/dist/chunk-GHFMKH3M.js.map +1 -0
- package/dist/chunk-KLV6RLDE.js +110 -0
- package/dist/chunk-KLV6RLDE.js.map +1 -0
- package/dist/{chunk-ZJI5ZZW5.mjs → chunk-Q6J2ICKO.mjs} +3 -3
- package/dist/{chunk-4O7R2Z2O.mjs → chunk-XDYILJ2S.mjs} +1749 -1737
- package/dist/{chunk-4O7R2Z2O.mjs.map → chunk-XDYILJ2S.mjs.map} +1 -1
- package/dist/{chunk-2XCUAHQT.js → chunk-Y3OKEQGL.js} +1126 -1114
- package/dist/chunk-Y3OKEQGL.js.map +1 -0
- package/dist/client/index.d.mts +6 -5
- package/dist/client/index.d.ts +6 -5
- package/dist/client/index.js +5 -5
- package/dist/client/index.js.map +1 -1
- package/dist/client/index.mjs +4 -4
- package/dist/components/index.d.mts +17 -7
- package/dist/components/index.d.ts +17 -7
- package/dist/components/index.js +5 -5
- package/dist/components/index.mjs +4 -4
- package/dist/{config-B6UB7j69.d.ts → config-3N1LSrcC.d.ts} +1 -1
- package/dist/{config-Cd5xTEfZ.d.ts → config-AVtuvfM1.d.ts} +1 -1
- package/dist/{config-n-ZpPmOL.d.mts → config-BSKTYDoh.d.mts} +1 -1
- package/dist/{config-YyhFHxkU.d.mts → config-BmufyEj6.d.mts} +1 -1
- package/dist/contexts/index.d.mts +5 -4
- package/dist/contexts/index.d.ts +5 -4
- package/dist/contexts/index.js +5 -5
- package/dist/contexts/index.mjs +4 -4
- package/dist/core/index.d.mts +31 -14
- package/dist/core/index.d.ts +31 -14
- package/dist/core/index.js +9 -5
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +8 -4
- package/dist/features/analytics/index.css +30 -0
- package/dist/features/analytics/index.css.map +1 -0
- package/dist/features/analytics/index.d.mts +508 -0
- package/dist/features/analytics/index.d.ts +508 -0
- package/dist/features/analytics/index.js +1166 -0
- package/dist/features/analytics/index.js.map +1 -0
- package/dist/features/analytics/index.mjs +1166 -0
- package/dist/features/analytics/index.mjs.map +1 -0
- package/dist/features/analytics/server.d.mts +28 -0
- package/dist/features/analytics/server.d.ts +28 -0
- package/dist/features/analytics/server.js +41 -0
- package/dist/features/analytics/server.js.map +1 -0
- package/dist/features/analytics/server.mjs +41 -0
- package/dist/features/analytics/server.mjs.map +1 -0
- package/dist/features/help/index.d.mts +2 -2
- package/dist/features/help/index.d.ts +2 -2
- package/dist/features/help/index.js +38 -38
- package/dist/features/help/index.mjs +4 -4
- package/dist/features/tokenusage/index.d.mts +2 -2
- package/dist/features/tokenusage/index.d.ts +2 -2
- package/dist/features/tokenusage/index.js +139 -221
- package/dist/features/tokenusage/index.js.map +1 -1
- package/dist/features/tokenusage/index.mjs +26 -108
- package/dist/features/tokenusage/index.mjs.map +1 -1
- package/dist/index.d.mts +11 -9
- package/dist/index.d.ts +11 -9
- package/dist/index.js +10 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -5
- package/dist/notification.interface-BNCvnVCW.d.ts +34 -0
- package/dist/notification.interface-P_pNfzZQ.d.mts +34 -0
- package/dist/{s3.service-Bqr-fQmi.d.ts → s3.service-CbUa6a-8.d.ts} +3 -2
- package/dist/{s3.service-Buiy1ncj.d.mts → s3.service-DAp8FbuG.d.mts} +3 -2
- package/dist/server/index.d.mts +5 -4
- package/dist/server/index.d.ts +5 -4
- package/dist/server/index.js +39 -279
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +20 -260
- package/dist/server/index.mjs.map +1 -1
- package/dist/{types-bsm8Fp55.d.ts → types-Cn153-mH.d.ts} +1 -1
- package/dist/{types-Bq_UA8Lg.d.mts → types-D0uLYV2P.d.mts} +1 -1
- package/dist/{usePageUrlGenerator-J_ECv-oQ.d.ts → usePageUrlGenerator-B-3FRKBD.d.ts} +1 -1
- package/dist/{usePageUrlGenerator-uKBjAKqC.d.mts → usePageUrlGenerator-CCJ_cdQy.d.mts} +1 -1
- package/dist/{useSocket-BcH7l7B8.d.mts → useSocket-B9gTbuCj.d.mts} +1 -1
- package/dist/{useSocket-DCZd_eJk.d.ts → useSocket-BHVIyigI.d.ts} +1 -1
- package/dist/{notification.interface-MnRt1Tjm.d.mts → user.interface-CSaGWFbg.d.mts} +1 -31
- package/dist/{notification.interface-CjzV_KII.d.ts → user.interface-CrmwJLYW.d.ts} +1 -31
- package/package.json +11 -1
- package/src/client/index.ts +2 -0
- package/src/core/index.ts +4 -0
- package/src/core/registry/ModuleRegistry.ts +7 -0
- package/src/features/__tests__/i18n-keys.contract.spec.ts +1 -0
- package/src/features/analytics/__tests__/server-entry.spec.tsx +64 -0
- package/src/features/analytics/analytics.modules.ts +30 -0
- package/src/features/analytics/components/AnalyticsAdminContainer.tsx +97 -0
- package/src/features/analytics/components/AnalyticsAdminFilterBar.tsx +117 -0
- package/src/features/analytics/components/AnalyticsAdminPageContainer.tsx +25 -0
- package/src/features/analytics/components/AnalyticsAdminTiles.tsx +191 -0
- package/src/features/analytics/components/AnalyticsBreakdownTable.tsx +104 -0
- package/src/features/analytics/components/AnalyticsJourneyContainer.tsx +246 -0
- package/src/features/analytics/components/AnalyticsJourneyPageContainer.tsx +14 -0
- package/src/features/analytics/components/AnalyticsSessionsTable.tsx +107 -0
- package/src/features/analytics/components/AnalyticsTimelineChart.tsx +175 -0
- package/src/features/analytics/components/AnalyticsTracker.tsx +112 -0
- package/src/features/analytics/components/__tests__/AnalyticsAdminTiles.spec.tsx +39 -0
- package/src/features/analytics/components/__tests__/AnalyticsBreakdownTable.spec.tsx +39 -0
- package/src/features/analytics/components/__tests__/AnalyticsJourneyContainer.spec.tsx +124 -0
- package/src/features/analytics/components/__tests__/AnalyticsPageContainers.spec.tsx +117 -0
- package/src/features/analytics/components/__tests__/AnalyticsSessionsTable.spec.tsx +121 -0
- package/src/features/analytics/components/__tests__/AnalyticsTimelineChart.spec.tsx +35 -0
- package/src/features/analytics/components/__tests__/AnalyticsTracker.spec.tsx +248 -0
- package/src/features/analytics/components/server/AnalyticsAdminPage.tsx +28 -0
- package/src/features/analytics/components/server/AnalyticsJourneyPage.tsx +25 -0
- package/src/features/analytics/contexts/AnalyticsAdminContext.tsx +273 -0
- package/src/features/analytics/contexts/__tests__/AnalyticsAdminContext.spec.tsx +140 -0
- package/src/features/analytics/data/AnalyticsAdminService.ts +91 -0
- package/src/features/analytics/data/AnalyticsService.ts +23 -0
- package/src/features/analytics/data/__tests__/AnalyticsAdminService.spec.ts +117 -0
- package/src/features/analytics/data/__tests__/AnalyticsService.spec.ts +56 -0
- package/src/features/analytics/data/__tests__/models.spec.ts +300 -0
- package/src/features/analytics/data/analytics-breakdown.interface.ts +9 -0
- package/src/features/analytics/data/analytics-breakdown.ts +65 -0
- package/src/features/analytics/data/analytics-event.interface.ts +7 -0
- package/src/features/analytics/data/analytics-event.ts +63 -0
- package/src/features/analytics/data/analytics-page-view.interface.ts +9 -0
- package/src/features/analytics/data/analytics-page-view.ts +57 -0
- package/src/features/analytics/data/analytics-session.interface.ts +23 -0
- package/src/features/analytics/data/analytics-session.ts +144 -0
- package/src/features/analytics/data/analytics-summary.interface.ts +11 -0
- package/src/features/analytics/data/analytics-summary.ts +79 -0
- package/src/features/analytics/data/analytics-timeline.interface.ts +10 -0
- package/src/features/analytics/data/analytics-timeline.ts +67 -0
- package/src/features/analytics/data/analytics.types.ts +97 -0
- package/src/features/analytics/data/index.ts +15 -0
- package/src/features/analytics/i18n-keys.ts +76 -0
- package/src/features/analytics/index.ts +31 -0
- package/src/features/analytics/lib/__tests__/utm.spec.ts +20 -0
- package/src/features/analytics/lib/__tests__/visitorCookie.spec.ts +63 -0
- package/src/features/analytics/lib/utm.ts +29 -0
- package/src/features/analytics/lib/visitorCookie.ts +32 -0
- package/src/features/analytics/server-entry.ts +8 -0
- package/src/features/waitlist/components/lists/WaitlistList.tsx +68 -121
- package/src/features/waitlist/data/WaitlistService.ts +2 -2
- package/src/features/waitlist/data/index.ts +1 -0
- package/src/features/waitlist/data/waitlist.fields.ts +8 -0
- package/src/features/waitlist/hooks/useWaitlistTableStructure.tsx +69 -30
- package/dist/JsonApiRequest-G625QAH5.js +0 -26
- package/dist/chunk-2XCUAHQT.js.map +0 -1
- package/dist/chunk-IBVKPLHT.mjs.map +0 -1
- package/dist/chunk-U7QVISQS.js.map +0 -1
- /package/dist/{BlockNoteEditor-65HR6ULV.mjs.map → BlockNoteEditor-46O3JC4Z.mjs.map} +0 -0
- /package/dist/{BlockNoteViewer-KDKGUIG5.mjs.map → BlockNoteViewer-KRTAFTUX.mjs.map} +0 -0
- /package/dist/{JsonApiRequest-RRMNV7YE.mjs.map → JsonApiRequest-UHOWNI3O.mjs.map} +0 -0
- /package/dist/{chunk-T76WLDE5.mjs.map → chunk-37DMFVLN.mjs.map} +0 -0
- /package/dist/{chunk-ZJI5ZZW5.mjs.map → chunk-Q6J2ICKO.mjs.map} +0 -0
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2; var _class3; var _class4; var _class5; var _class6; var _class7; var _class8; var _class9; var _class10; var _class11; var _class12; var _class13; var _class14; var _class15; var _class16; var _class17; var _class18; var _class19; var _class20; var _class21; var _class22; var _class23; var _class24; var _class25; var _class26; var _class27; var _class28; var _class29; var _class30; var _class31; var _class32;
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2; var _class3; var _class4; var _class5; var _class6; var _class7; var _class8; var _class9; var _class10; var _class11; var _class12; var _class13; var _class14; var _class15; var _class16; var _class17; var _class18; var _class19; var _class20; var _class21; var _class22; var _class23; var _class24; var _class25; var _class26; var _class27; var _class28; var _class29; var _class30; var _class31; var _class32; var _class33; var _class34; var _class35; var _class36; var _class37; var _class38;
|
|
2
2
|
|
|
3
|
-
var _chunkLXKSUWAVjs = require('./chunk-LXKSUWAV.js');
|
|
4
3
|
|
|
5
4
|
|
|
6
|
-
var _chunkJTPRJNT2js = require('./chunk-JTPRJNT2.js');
|
|
7
5
|
|
|
8
6
|
|
|
9
7
|
|
|
@@ -11,11 +9,13 @@ var _chunkJTPRJNT2js = require('./chunk-JTPRJNT2.js');
|
|
|
11
9
|
|
|
12
10
|
|
|
13
11
|
|
|
12
|
+
var _chunk26MQIJNBjs = require('./chunk-26MQIJNB.js');
|
|
14
13
|
|
|
15
14
|
|
|
15
|
+
var _chunkLXKSUWAVjs = require('./chunk-LXKSUWAV.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkJTPRJNT2js = require('./chunk-JTPRJNT2.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunk7QVYU63Ejs = require('./chunk-7QVYU63E.js');
|
|
@@ -26,12 +26,12 @@ var RehydrationFactory = class {
|
|
|
26
26
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "RehydrationFactory");
|
|
27
27
|
}
|
|
28
28
|
static rehydrate(classKey, data) {
|
|
29
|
-
const factoryClass =
|
|
29
|
+
const factoryClass = _chunk26MQIJNBjs.DataClassRegistry.get(classKey);
|
|
30
30
|
const instance = new factoryClass();
|
|
31
31
|
return instance.rehydrate(data);
|
|
32
32
|
}
|
|
33
33
|
static rehydrateList(classKey, data) {
|
|
34
|
-
const factoryClass =
|
|
34
|
+
const factoryClass = _chunk26MQIJNBjs.DataClassRegistry.get(classKey);
|
|
35
35
|
const response = data.map((item) => {
|
|
36
36
|
const instance = new factoryClass();
|
|
37
37
|
return instance.rehydrate(item);
|
|
@@ -343,7 +343,7 @@ var AbstractService = class {
|
|
|
343
343
|
* Make an API call with automatic environment detection and error handling.
|
|
344
344
|
*/
|
|
345
345
|
static async callApi(params) {
|
|
346
|
-
const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-
|
|
346
|
+
const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-TE5WD3WS.js")));
|
|
347
347
|
let apiResponse;
|
|
348
348
|
let language = "en";
|
|
349
349
|
if (typeof window === "undefined") {
|
|
@@ -441,7 +441,7 @@ var AbstractService = class {
|
|
|
441
441
|
* Make an API call and return both data and meta from the response.
|
|
442
442
|
*/
|
|
443
443
|
static async callApiWithMeta(params) {
|
|
444
|
-
const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-
|
|
444
|
+
const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-TE5WD3WS.js")));
|
|
445
445
|
let apiResponse;
|
|
446
446
|
let language = "en";
|
|
447
447
|
if (typeof window === "undefined") {
|
|
@@ -527,7 +527,7 @@ var AbstractService = class {
|
|
|
527
527
|
* Get raw JSON:API response data without deserialization.
|
|
528
528
|
*/
|
|
529
529
|
static async getRawData(params) {
|
|
530
|
-
const { JsonApiGet: JsonApiGet2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-
|
|
530
|
+
const { JsonApiGet: JsonApiGet2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-TE5WD3WS.js")));
|
|
531
531
|
let language = "en";
|
|
532
532
|
if (typeof window === "undefined") {
|
|
533
533
|
const { getLocale } = await Promise.resolve().then(() => _interopRequireWildcard(require("next-intl/server")));
|
|
@@ -563,7 +563,7 @@ var _clientConfig = null;
|
|
|
563
563
|
function configureClientJsonApi(config) {
|
|
564
564
|
_clientConfig = config;
|
|
565
565
|
if (config.bootstrapper) {
|
|
566
|
-
|
|
566
|
+
_chunk26MQIJNBjs.setBootstrapper.call(void 0, config.bootstrapper);
|
|
567
567
|
config.bootstrapper();
|
|
568
568
|
}
|
|
569
569
|
}
|
|
@@ -572,7 +572,7 @@ function getClientApiUrl() {
|
|
|
572
572
|
if (_optionalChain([_clientConfig, 'optionalAccess', _23 => _23.apiUrl])) {
|
|
573
573
|
return _clientConfig.apiUrl;
|
|
574
574
|
}
|
|
575
|
-
const envUrl =
|
|
575
|
+
const envUrl = _chunk26MQIJNBjs.ENV.API_URL;
|
|
576
576
|
if (!envUrl) {
|
|
577
577
|
throw new Error(
|
|
578
578
|
"API URL not configured. Use configureClientJsonApi() or set NEXT_PUBLIC_API_URL environment variable."
|
|
@@ -585,7 +585,7 @@ function getClientAppUrl() {
|
|
|
585
585
|
if (_optionalChain([_clientConfig, 'optionalAccess', _24 => _24.appUrl])) {
|
|
586
586
|
return _clientConfig.appUrl;
|
|
587
587
|
}
|
|
588
|
-
const envUrl =
|
|
588
|
+
const envUrl = _chunk26MQIJNBjs.ENV.APP_URL;
|
|
589
589
|
if (!envUrl) {
|
|
590
590
|
throw new Error(
|
|
591
591
|
"App URL not configured. Use configureClientJsonApi({ appUrl }) or set NEXT_PUBLIC_ADDRESS environment variable."
|
|
@@ -621,7 +621,7 @@ async function ClientJsonApiGet(params) {
|
|
|
621
621
|
language: params.language,
|
|
622
622
|
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _27 => _27.additionalHeaders])
|
|
623
623
|
});
|
|
624
|
-
return
|
|
624
|
+
return _chunk26MQIJNBjs.translateResponse.call(void 0, {
|
|
625
625
|
classKey: params.classKey,
|
|
626
626
|
apiResponse,
|
|
627
627
|
companyId: params.companyId,
|
|
@@ -643,7 +643,7 @@ async function ClientJsonApiPost(params) {
|
|
|
643
643
|
if (!body) {
|
|
644
644
|
body = {};
|
|
645
645
|
} else if (params.overridesJsonApiCreation !== true) {
|
|
646
|
-
body =
|
|
646
|
+
body = _chunk26MQIJNBjs.JsonApiDataFactory.create(params.classKey, body);
|
|
647
647
|
}
|
|
648
648
|
const apiResponse = await _chunkJTPRJNT2js.directFetch.call(void 0, {
|
|
649
649
|
method: "POST",
|
|
@@ -655,7 +655,7 @@ async function ClientJsonApiPost(params) {
|
|
|
655
655
|
language: params.language,
|
|
656
656
|
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _28 => _28.additionalHeaders])
|
|
657
657
|
});
|
|
658
|
-
return
|
|
658
|
+
return _chunk26MQIJNBjs.translateResponse.call(void 0, {
|
|
659
659
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
660
660
|
apiResponse,
|
|
661
661
|
companyId: params.companyId,
|
|
@@ -670,7 +670,7 @@ async function ClientJsonApiPut(params) {
|
|
|
670
670
|
if (!body) {
|
|
671
671
|
body = {};
|
|
672
672
|
} else {
|
|
673
|
-
body =
|
|
673
|
+
body = _chunk26MQIJNBjs.JsonApiDataFactory.create(params.classKey, body);
|
|
674
674
|
}
|
|
675
675
|
const apiResponse = await _chunkJTPRJNT2js.directFetch.call(void 0, {
|
|
676
676
|
method: "PUT",
|
|
@@ -682,7 +682,7 @@ async function ClientJsonApiPut(params) {
|
|
|
682
682
|
language: params.language,
|
|
683
683
|
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _29 => _29.additionalHeaders])
|
|
684
684
|
});
|
|
685
|
-
return
|
|
685
|
+
return _chunk26MQIJNBjs.translateResponse.call(void 0, {
|
|
686
686
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
687
687
|
apiResponse,
|
|
688
688
|
companyId: params.companyId,
|
|
@@ -697,7 +697,7 @@ async function ClientJsonApiPatch(params) {
|
|
|
697
697
|
if (!body) {
|
|
698
698
|
body = {};
|
|
699
699
|
} else if (params.overridesJsonApiCreation !== true) {
|
|
700
|
-
body =
|
|
700
|
+
body = _chunk26MQIJNBjs.JsonApiDataFactory.create(params.classKey, body);
|
|
701
701
|
}
|
|
702
702
|
const apiResponse = await _chunkJTPRJNT2js.directFetch.call(void 0, {
|
|
703
703
|
method: "PATCH",
|
|
@@ -709,7 +709,7 @@ async function ClientJsonApiPatch(params) {
|
|
|
709
709
|
language: params.language,
|
|
710
710
|
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _30 => _30.additionalHeaders])
|
|
711
711
|
});
|
|
712
|
-
return
|
|
712
|
+
return _chunk26MQIJNBjs.translateResponse.call(void 0, {
|
|
713
713
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
714
714
|
apiResponse,
|
|
715
715
|
companyId: params.companyId,
|
|
@@ -728,7 +728,7 @@ async function ClientJsonApiDelete(params) {
|
|
|
728
728
|
language: params.language,
|
|
729
729
|
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _31 => _31.additionalHeaders])
|
|
730
730
|
});
|
|
731
|
-
return
|
|
731
|
+
return _chunk26MQIJNBjs.translateResponse.call(void 0, {
|
|
732
732
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
733
733
|
apiResponse,
|
|
734
734
|
companyId: params.companyId,
|
|
@@ -941,7 +941,7 @@ var ModuleRegistrar = (_class2 = class {
|
|
|
941
941
|
}).map((key) => modulesClass[key]);
|
|
942
942
|
data.forEach((item) => {
|
|
943
943
|
if (item && item.model) {
|
|
944
|
-
|
|
944
|
+
_chunk26MQIJNBjs.DataClassRegistry.registerObjectClass(item, item.model);
|
|
945
945
|
}
|
|
946
946
|
});
|
|
947
947
|
this._isBootstrapped = true;
|
|
@@ -951,7 +951,7 @@ var ModuleRegistrar = (_class2 = class {
|
|
|
951
951
|
*/
|
|
952
952
|
static reset() {
|
|
953
953
|
this._isBootstrapped = false;
|
|
954
|
-
|
|
954
|
+
_chunk26MQIJNBjs.DataClassRegistry.clear();
|
|
955
955
|
}
|
|
956
956
|
}, _class2.__initStatic2(), _class2);
|
|
957
957
|
|
|
@@ -974,20 +974,20 @@ var ModuleRegistryClass = class {
|
|
|
974
974
|
get(name) {
|
|
975
975
|
let module = this._modules.get(name);
|
|
976
976
|
if (!module) {
|
|
977
|
-
const didBootstrap =
|
|
977
|
+
const didBootstrap = _chunk26MQIJNBjs.tryBootstrap.call(void 0, );
|
|
978
978
|
if (didBootstrap) {
|
|
979
979
|
module = this._modules.get(name);
|
|
980
980
|
}
|
|
981
981
|
}
|
|
982
982
|
if (!module) {
|
|
983
|
-
const hint =
|
|
983
|
+
const hint = _chunk26MQIJNBjs.hasBootstrapper.call(void 0, ) ? "Bootstrap was called but module still not found. Check module registration." : "No bootstrapper registered. Ensure configureJsonApi({ bootstrapper }) is called before accessing modules.";
|
|
984
984
|
throw new Error(`Module "${String(name)}" not registered. ${hint}`);
|
|
985
985
|
}
|
|
986
986
|
return module;
|
|
987
987
|
}
|
|
988
988
|
findByName(moduleName) {
|
|
989
989
|
if (this._modules.size === 0) {
|
|
990
|
-
|
|
990
|
+
_chunk26MQIJNBjs.tryBootstrap.call(void 0, );
|
|
991
991
|
}
|
|
992
992
|
for (const module of this._modules.values()) {
|
|
993
993
|
if (module.name === moduleName) {
|
|
@@ -998,7 +998,7 @@ var ModuleRegistryClass = class {
|
|
|
998
998
|
}
|
|
999
999
|
getAllPageUrls() {
|
|
1000
1000
|
if (this._modules.size === 0) {
|
|
1001
|
-
|
|
1001
|
+
_chunk26MQIJNBjs.tryBootstrap.call(void 0, );
|
|
1002
1002
|
}
|
|
1003
1003
|
const seen = /* @__PURE__ */ new Set();
|
|
1004
1004
|
const result = [];
|
|
@@ -1015,7 +1015,7 @@ var ModuleRegistryClass = class {
|
|
|
1015
1015
|
findByModelName(modelName) {
|
|
1016
1016
|
let module = this._modules.get(modelName);
|
|
1017
1017
|
if (!module) {
|
|
1018
|
-
const didBootstrap =
|
|
1018
|
+
const didBootstrap = _chunk26MQIJNBjs.tryBootstrap.call(void 0, );
|
|
1019
1019
|
if (didBootstrap) {
|
|
1020
1020
|
module = this._modules.get(modelName);
|
|
1021
1021
|
}
|
|
@@ -1037,7 +1037,7 @@ var ModuleRegistryClass = class {
|
|
|
1037
1037
|
}
|
|
1038
1038
|
getAll() {
|
|
1039
1039
|
if (this._modules.size === 0) {
|
|
1040
|
-
|
|
1040
|
+
_chunk26MQIJNBjs.tryBootstrap.call(void 0, );
|
|
1041
1041
|
}
|
|
1042
1042
|
return Array.from(this._modules.values());
|
|
1043
1043
|
}
|
|
@@ -2990,7 +2990,7 @@ var AuthService = class extends AbstractService {
|
|
|
2990
2990
|
}
|
|
2991
2991
|
static async login(params) {
|
|
2992
2992
|
const language = params.language || "en-US";
|
|
2993
|
-
const apiResponse = await
|
|
2993
|
+
const apiResponse = await _chunk26MQIJNBjs.JsonApiPost.call(void 0, {
|
|
2994
2994
|
classKey: Modules.Auth,
|
|
2995
2995
|
endpoint: new EndpointCreator({ endpoint: Modules.Auth, id: "login" }).generate(),
|
|
2996
2996
|
body: { email: params.email, password: params.password },
|
|
@@ -3024,7 +3024,7 @@ var AuthService = class extends AbstractService {
|
|
|
3024
3024
|
}
|
|
3025
3025
|
static async logout(params) {
|
|
3026
3026
|
const language = _optionalChain([params, 'optionalAccess', _72 => _72.language]) || "en-US";
|
|
3027
|
-
await
|
|
3027
|
+
await _chunk26MQIJNBjs.JsonApiDelete.call(void 0, {
|
|
3028
3028
|
classKey: Modules.Auth,
|
|
3029
3029
|
endpoint: new EndpointCreator({ endpoint: Modules.Auth }).generate(),
|
|
3030
3030
|
language
|
|
@@ -3036,7 +3036,7 @@ var AuthService = class extends AbstractService {
|
|
|
3036
3036
|
}
|
|
3037
3037
|
static async initialiseForgotPassword(params) {
|
|
3038
3038
|
const language = params.language || "en-US";
|
|
3039
|
-
const response = await
|
|
3039
|
+
const response = await _chunk26MQIJNBjs.JsonApiPost.call(void 0, {
|
|
3040
3040
|
classKey: Modules.Auth,
|
|
3041
3041
|
endpoint: new EndpointCreator({ endpoint: Modules.Auth, id: "forgot" }).generate(),
|
|
3042
3042
|
body: { email: params.email },
|
|
@@ -3065,7 +3065,7 @@ var AuthService = class extends AbstractService {
|
|
|
3065
3065
|
}
|
|
3066
3066
|
static async validateCode(params) {
|
|
3067
3067
|
const language = params.language || "en-US";
|
|
3068
|
-
const apiResponse = await
|
|
3068
|
+
const apiResponse = await _chunk26MQIJNBjs.JsonApiGet.call(void 0, {
|
|
3069
3069
|
classKey: Modules.Auth,
|
|
3070
3070
|
endpoint: new EndpointCreator({ endpoint: Modules.Auth, id: "validate", childEndpoint: params.code }).generate(),
|
|
3071
3071
|
language
|
|
@@ -3109,7 +3109,7 @@ var AuthService = class extends AbstractService {
|
|
|
3109
3109
|
}
|
|
3110
3110
|
static async completeOAuthRegistration(params) {
|
|
3111
3111
|
const endpoint = new EndpointCreator({ endpoint: Modules.Auth, id: "oauth", childEndpoint: "complete" });
|
|
3112
|
-
const response = await
|
|
3112
|
+
const response = await _chunk26MQIJNBjs.JsonApiPost.call(void 0, {
|
|
3113
3113
|
classKey: Modules.Auth,
|
|
3114
3114
|
endpoint: endpoint.generate(),
|
|
3115
3115
|
body: params,
|
|
@@ -4906,7 +4906,7 @@ var StripePromotionCodeService = class {
|
|
|
4906
4906
|
* @returns Validation result with discount details if valid
|
|
4907
4907
|
*/
|
|
4908
4908
|
static async validatePromotionCode(params) {
|
|
4909
|
-
const response = await
|
|
4909
|
+
const response = await _chunk26MQIJNBjs.JsonApiPost.call(void 0, {
|
|
4910
4910
|
classKey: Modules.StripePromotionCode,
|
|
4911
4911
|
endpoint: `${STRIPE_PROMOTION_CODE_ENDPOINT}/validate`,
|
|
4912
4912
|
body: {
|
|
@@ -8634,7 +8634,7 @@ var WaitlistService = class extends AbstractService {
|
|
|
8634
8634
|
method: "GET" /* GET */,
|
|
8635
8635
|
endpoint: endpoint.generate(),
|
|
8636
8636
|
next: _optionalChain([params, 'optionalAccess', _240 => _240.next]),
|
|
8637
|
-
previous: _optionalChain([params, 'optionalAccess', _241 => _241.
|
|
8637
|
+
previous: _optionalChain([params, 'optionalAccess', _241 => _241.previous])
|
|
8638
8638
|
});
|
|
8639
8639
|
}
|
|
8640
8640
|
/**
|
|
@@ -8753,6 +8753,17 @@ var WaitlistStats = (_class25 = class extends AbstractApiData {constructor(...ar
|
|
|
8753
8753
|
}
|
|
8754
8754
|
}, _class25);
|
|
8755
8755
|
|
|
8756
|
+
// src/features/waitlist/data/waitlist.fields.ts
|
|
8757
|
+
var WaitlistFields = /* @__PURE__ */ ((WaitlistFields2) => {
|
|
8758
|
+
WaitlistFields2["waitlistId"] = "waitlistId";
|
|
8759
|
+
WaitlistFields2["email"] = "email";
|
|
8760
|
+
WaitlistFields2["status"] = "status";
|
|
8761
|
+
WaitlistFields2["createdAt"] = "createdAt";
|
|
8762
|
+
WaitlistFields2["questionnaire"] = "questionnaire";
|
|
8763
|
+
WaitlistFields2["actions"] = "actions";
|
|
8764
|
+
return WaitlistFields2;
|
|
8765
|
+
})(WaitlistFields || {});
|
|
8766
|
+
|
|
8756
8767
|
// src/features/waitlist/waitlist.module.ts
|
|
8757
8768
|
var WaitlistModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
8758
8769
|
name: "waitlists",
|
|
@@ -9429,6 +9440,397 @@ var tokenUsageModules = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (fa
|
|
|
9429
9440
|
TokenUsageReportBreakdown: factory({ name: "tokenusages/reports/breakdown", model: TokenUsageReportBreakdown })
|
|
9430
9441
|
}), "tokenUsageModules");
|
|
9431
9442
|
|
|
9443
|
+
// src/features/analytics/data/analytics-breakdown.ts
|
|
9444
|
+
var AnalyticsBreakdown = (_class32 = class extends AbstractApiData {constructor(...args29) { super(...args29); _class32.prototype.__init103.call(this);_class32.prototype.__init104.call(this);_class32.prototype.__init105.call(this);_class32.prototype.__init106.call(this);_class32.prototype.__init107.call(this); }
|
|
9445
|
+
static {
|
|
9446
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsBreakdown");
|
|
9447
|
+
}
|
|
9448
|
+
__init103() {this._dimension = ""}
|
|
9449
|
+
__init104() {this._key = ""}
|
|
9450
|
+
__init105() {this._visitors = 0}
|
|
9451
|
+
__init106() {this._sessions = 0}
|
|
9452
|
+
__init107() {this._pageViews = 0}
|
|
9453
|
+
get dimension() {
|
|
9454
|
+
return this._dimension;
|
|
9455
|
+
}
|
|
9456
|
+
get key() {
|
|
9457
|
+
return this._key;
|
|
9458
|
+
}
|
|
9459
|
+
get visitors() {
|
|
9460
|
+
return this._visitors;
|
|
9461
|
+
}
|
|
9462
|
+
get sessions() {
|
|
9463
|
+
return this._sessions;
|
|
9464
|
+
}
|
|
9465
|
+
get pageViews() {
|
|
9466
|
+
return this._pageViews;
|
|
9467
|
+
}
|
|
9468
|
+
rehydrate(data) {
|
|
9469
|
+
super.rehydrate(data);
|
|
9470
|
+
const attrs = data.jsonApi.attributes;
|
|
9471
|
+
this._dimension = _nullishCoalesce(attrs.dimension, () => ( ""));
|
|
9472
|
+
this._key = _nullishCoalesce(attrs.key, () => ( ""));
|
|
9473
|
+
this._visitors = _nullishCoalesce(attrs.visitors, () => ( 0));
|
|
9474
|
+
this._sessions = _nullishCoalesce(attrs.sessions, () => ( 0));
|
|
9475
|
+
this._pageViews = _nullishCoalesce(attrs.pageViews, () => ( 0));
|
|
9476
|
+
return this;
|
|
9477
|
+
}
|
|
9478
|
+
createJsonApi(data) {
|
|
9479
|
+
const response = {
|
|
9480
|
+
data: {
|
|
9481
|
+
type: Modules.AnalyticsBreakdown.name,
|
|
9482
|
+
id: data.id,
|
|
9483
|
+
attributes: {},
|
|
9484
|
+
relationships: {}
|
|
9485
|
+
},
|
|
9486
|
+
included: []
|
|
9487
|
+
};
|
|
9488
|
+
if (data.dimension !== void 0) response.data.attributes.dimension = data.dimension;
|
|
9489
|
+
if (data.key !== void 0) response.data.attributes.key = data.key;
|
|
9490
|
+
if (data.visitors !== void 0) response.data.attributes.visitors = data.visitors;
|
|
9491
|
+
if (data.sessions !== void 0) response.data.attributes.sessions = data.sessions;
|
|
9492
|
+
if (data.pageViews !== void 0) response.data.attributes.pageViews = data.pageViews;
|
|
9493
|
+
return response;
|
|
9494
|
+
}
|
|
9495
|
+
}, _class32);
|
|
9496
|
+
|
|
9497
|
+
// src/features/analytics/data/analytics-event.ts
|
|
9498
|
+
var ANALYTICS_EVENT_TYPE = "analytics-events";
|
|
9499
|
+
var AnalyticsEvent = (_class33 = class extends AbstractApiData {constructor(...args30) { super(...args30); _class33.prototype.__init108.call(this);_class33.prototype.__init109.call(this); }
|
|
9500
|
+
static {
|
|
9501
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsEvent");
|
|
9502
|
+
}
|
|
9503
|
+
__init108() {this._path = ""}
|
|
9504
|
+
__init109() {this._section = ""}
|
|
9505
|
+
get path() {
|
|
9506
|
+
return this._path;
|
|
9507
|
+
}
|
|
9508
|
+
get section() {
|
|
9509
|
+
return this._section;
|
|
9510
|
+
}
|
|
9511
|
+
rehydrate(data) {
|
|
9512
|
+
super.rehydrate(data);
|
|
9513
|
+
const attrs = data.jsonApi.attributes;
|
|
9514
|
+
this._path = _nullishCoalesce(attrs.path, () => ( ""));
|
|
9515
|
+
this._section = _nullishCoalesce(attrs.section, () => ( ""));
|
|
9516
|
+
return this;
|
|
9517
|
+
}
|
|
9518
|
+
createJsonApi(data) {
|
|
9519
|
+
const response = {
|
|
9520
|
+
data: {
|
|
9521
|
+
type: ANALYTICS_EVENT_TYPE,
|
|
9522
|
+
id: data.id,
|
|
9523
|
+
attributes: {},
|
|
9524
|
+
relationships: {}
|
|
9525
|
+
},
|
|
9526
|
+
included: []
|
|
9527
|
+
};
|
|
9528
|
+
response.data.attributes.path = data.path;
|
|
9529
|
+
response.data.attributes.section = data.section;
|
|
9530
|
+
if (data.referrer !== void 0) response.data.attributes.referrer = data.referrer;
|
|
9531
|
+
if (data.utmSource !== void 0) response.data.attributes.utmSource = data.utmSource;
|
|
9532
|
+
if (data.utmMedium !== void 0) response.data.attributes.utmMedium = data.utmMedium;
|
|
9533
|
+
if (data.utmCampaign !== void 0) response.data.attributes.utmCampaign = data.utmCampaign;
|
|
9534
|
+
if (data.utmTerm !== void 0) response.data.attributes.utmTerm = data.utmTerm;
|
|
9535
|
+
if (data.utmContent !== void 0) response.data.attributes.utmContent = data.utmContent;
|
|
9536
|
+
if (data.visitorId !== void 0) response.data.attributes.visitorId = data.visitorId;
|
|
9537
|
+
if (data.screenWidth !== void 0) response.data.attributes.screenWidth = data.screenWidth;
|
|
9538
|
+
return response;
|
|
9539
|
+
}
|
|
9540
|
+
}, _class33);
|
|
9541
|
+
|
|
9542
|
+
// src/features/analytics/data/analytics-page-view.ts
|
|
9543
|
+
var AnalyticsPageView = (_class34 = class extends AbstractApiData {constructor(...args31) { super(...args31); _class34.prototype.__init110.call(this);_class34.prototype.__init111.call(this);_class34.prototype.__init112.call(this); }
|
|
9544
|
+
static {
|
|
9545
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsPageView");
|
|
9546
|
+
}
|
|
9547
|
+
__init110() {this._path = ""}
|
|
9548
|
+
__init111() {this._route = ""}
|
|
9549
|
+
__init112() {this._section = ""}
|
|
9550
|
+
get path() {
|
|
9551
|
+
return this._path;
|
|
9552
|
+
}
|
|
9553
|
+
get route() {
|
|
9554
|
+
return this._route;
|
|
9555
|
+
}
|
|
9556
|
+
get section() {
|
|
9557
|
+
return this._section;
|
|
9558
|
+
}
|
|
9559
|
+
rehydrate(data) {
|
|
9560
|
+
super.rehydrate(data);
|
|
9561
|
+
const attrs = data.jsonApi.attributes;
|
|
9562
|
+
if (attrs.createdAt) this._createdAt = new Date(attrs.createdAt);
|
|
9563
|
+
this._path = _nullishCoalesce(attrs.path, () => ( ""));
|
|
9564
|
+
this._route = _nullishCoalesce(attrs.route, () => ( ""));
|
|
9565
|
+
this._section = _nullishCoalesce(attrs.section, () => ( ""));
|
|
9566
|
+
return this;
|
|
9567
|
+
}
|
|
9568
|
+
createJsonApi(data) {
|
|
9569
|
+
const response = {
|
|
9570
|
+
data: {
|
|
9571
|
+
type: Modules.AnalyticsPageView.name,
|
|
9572
|
+
id: data.id,
|
|
9573
|
+
attributes: {},
|
|
9574
|
+
relationships: {}
|
|
9575
|
+
},
|
|
9576
|
+
included: []
|
|
9577
|
+
};
|
|
9578
|
+
if (data.createdAt !== void 0) response.data.attributes.createdAt = data.createdAt.toISOString();
|
|
9579
|
+
if (data.path !== void 0) response.data.attributes.path = data.path;
|
|
9580
|
+
if (data.route !== void 0) response.data.attributes.route = data.route;
|
|
9581
|
+
if (data.section !== void 0) response.data.attributes.section = data.section;
|
|
9582
|
+
return response;
|
|
9583
|
+
}
|
|
9584
|
+
}, _class34);
|
|
9585
|
+
|
|
9586
|
+
// src/features/analytics/data/analytics-session.ts
|
|
9587
|
+
var AnalyticsSession = (_class35 = class extends AbstractApiData {constructor(...args32) { super(...args32); _class35.prototype.__init113.call(this);_class35.prototype.__init114.call(this);_class35.prototype.__init115.call(this);_class35.prototype.__init116.call(this);_class35.prototype.__init117.call(this);_class35.prototype.__init118.call(this);_class35.prototype.__init119.call(this);_class35.prototype.__init120.call(this); }
|
|
9588
|
+
static {
|
|
9589
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsSession");
|
|
9590
|
+
}
|
|
9591
|
+
__init113() {this._visitorId = ""}
|
|
9592
|
+
__init114() {this._consented = false}
|
|
9593
|
+
__init115() {this._startedAt = /* @__PURE__ */ new Date(0)}
|
|
9594
|
+
__init116() {this._lastSeenAt = /* @__PURE__ */ new Date(0)}
|
|
9595
|
+
__init117() {this._pageViews = 0}
|
|
9596
|
+
__init118() {this._section = ""}
|
|
9597
|
+
__init119() {this._landingRoute = ""}
|
|
9598
|
+
|
|
9599
|
+
|
|
9600
|
+
|
|
9601
|
+
|
|
9602
|
+
|
|
9603
|
+
|
|
9604
|
+
__init120() {this._deviceType = ""}
|
|
9605
|
+
|
|
9606
|
+
get visitorId() {
|
|
9607
|
+
return this._visitorId;
|
|
9608
|
+
}
|
|
9609
|
+
get consented() {
|
|
9610
|
+
return this._consented;
|
|
9611
|
+
}
|
|
9612
|
+
get startedAt() {
|
|
9613
|
+
return this._startedAt;
|
|
9614
|
+
}
|
|
9615
|
+
get lastSeenAt() {
|
|
9616
|
+
return this._lastSeenAt;
|
|
9617
|
+
}
|
|
9618
|
+
get pageViews() {
|
|
9619
|
+
return this._pageViews;
|
|
9620
|
+
}
|
|
9621
|
+
get section() {
|
|
9622
|
+
return this._section;
|
|
9623
|
+
}
|
|
9624
|
+
get landingRoute() {
|
|
9625
|
+
return this._landingRoute;
|
|
9626
|
+
}
|
|
9627
|
+
get referrerHost() {
|
|
9628
|
+
return this._referrerHost;
|
|
9629
|
+
}
|
|
9630
|
+
get utmSource() {
|
|
9631
|
+
return this._utmSource;
|
|
9632
|
+
}
|
|
9633
|
+
get utmMedium() {
|
|
9634
|
+
return this._utmMedium;
|
|
9635
|
+
}
|
|
9636
|
+
get utmCampaign() {
|
|
9637
|
+
return this._utmCampaign;
|
|
9638
|
+
}
|
|
9639
|
+
get utmTerm() {
|
|
9640
|
+
return this._utmTerm;
|
|
9641
|
+
}
|
|
9642
|
+
get utmContent() {
|
|
9643
|
+
return this._utmContent;
|
|
9644
|
+
}
|
|
9645
|
+
get deviceType() {
|
|
9646
|
+
return this._deviceType;
|
|
9647
|
+
}
|
|
9648
|
+
get user() {
|
|
9649
|
+
return this._user;
|
|
9650
|
+
}
|
|
9651
|
+
rehydrate(data) {
|
|
9652
|
+
super.rehydrate(data);
|
|
9653
|
+
const attrs = data.jsonApi.attributes;
|
|
9654
|
+
this._visitorId = _nullishCoalesce(attrs.visitorId, () => ( ""));
|
|
9655
|
+
this._consented = _nullishCoalesce(attrs.consented, () => ( false));
|
|
9656
|
+
this._startedAt = attrs.startedAt ? new Date(attrs.startedAt) : /* @__PURE__ */ new Date(0);
|
|
9657
|
+
this._lastSeenAt = attrs.lastSeenAt ? new Date(attrs.lastSeenAt) : /* @__PURE__ */ new Date(0);
|
|
9658
|
+
this._pageViews = _nullishCoalesce(attrs.pageViews, () => ( 0));
|
|
9659
|
+
this._section = _nullishCoalesce(attrs.section, () => ( ""));
|
|
9660
|
+
this._landingRoute = _nullishCoalesce(attrs.landingRoute, () => ( ""));
|
|
9661
|
+
this._referrerHost = _nullishCoalesce(attrs.referrerHost, () => ( void 0));
|
|
9662
|
+
this._utmSource = _nullishCoalesce(attrs.utmSource, () => ( void 0));
|
|
9663
|
+
this._utmMedium = _nullishCoalesce(attrs.utmMedium, () => ( void 0));
|
|
9664
|
+
this._utmCampaign = _nullishCoalesce(attrs.utmCampaign, () => ( void 0));
|
|
9665
|
+
this._utmTerm = _nullishCoalesce(attrs.utmTerm, () => ( void 0));
|
|
9666
|
+
this._utmContent = _nullishCoalesce(attrs.utmContent, () => ( void 0));
|
|
9667
|
+
this._deviceType = _nullishCoalesce(attrs.deviceType, () => ( ""));
|
|
9668
|
+
this._user = this._readIncluded(data, "user", Modules.User);
|
|
9669
|
+
return this;
|
|
9670
|
+
}
|
|
9671
|
+
createJsonApi(data) {
|
|
9672
|
+
const response = {
|
|
9673
|
+
data: {
|
|
9674
|
+
type: Modules.AnalyticsSession.name,
|
|
9675
|
+
id: data.id,
|
|
9676
|
+
attributes: {},
|
|
9677
|
+
relationships: {}
|
|
9678
|
+
},
|
|
9679
|
+
included: []
|
|
9680
|
+
};
|
|
9681
|
+
if (data.visitorId !== void 0) response.data.attributes.visitorId = data.visitorId;
|
|
9682
|
+
if (data.consented !== void 0) response.data.attributes.consented = data.consented;
|
|
9683
|
+
if (data.startedAt !== void 0) response.data.attributes.startedAt = data.startedAt.toISOString();
|
|
9684
|
+
if (data.lastSeenAt !== void 0) response.data.attributes.lastSeenAt = data.lastSeenAt.toISOString();
|
|
9685
|
+
if (data.pageViews !== void 0) response.data.attributes.pageViews = data.pageViews;
|
|
9686
|
+
if (data.section !== void 0) response.data.attributes.section = data.section;
|
|
9687
|
+
if (data.landingRoute !== void 0) response.data.attributes.landingRoute = data.landingRoute;
|
|
9688
|
+
if (data.referrerHost !== void 0) response.data.attributes.referrerHost = data.referrerHost;
|
|
9689
|
+
if (data.utmSource !== void 0) response.data.attributes.utmSource = data.utmSource;
|
|
9690
|
+
if (data.utmMedium !== void 0) response.data.attributes.utmMedium = data.utmMedium;
|
|
9691
|
+
if (data.utmCampaign !== void 0) response.data.attributes.utmCampaign = data.utmCampaign;
|
|
9692
|
+
if (data.utmTerm !== void 0) response.data.attributes.utmTerm = data.utmTerm;
|
|
9693
|
+
if (data.utmContent !== void 0) response.data.attributes.utmContent = data.utmContent;
|
|
9694
|
+
if (data.deviceType !== void 0) response.data.attributes.deviceType = data.deviceType;
|
|
9695
|
+
if (data.userId) {
|
|
9696
|
+
response.data.relationships.user = {
|
|
9697
|
+
data: { type: Modules.User.name, id: data.userId }
|
|
9698
|
+
};
|
|
9699
|
+
}
|
|
9700
|
+
return response;
|
|
9701
|
+
}
|
|
9702
|
+
}, _class35);
|
|
9703
|
+
|
|
9704
|
+
// src/features/analytics/data/analytics-summary.ts
|
|
9705
|
+
var AnalyticsSummary = (_class36 = class extends AbstractApiData {constructor(...args33) { super(...args33); _class36.prototype.__init121.call(this);_class36.prototype.__init122.call(this);_class36.prototype.__init123.call(this);_class36.prototype.__init124.call(this);_class36.prototype.__init125.call(this);_class36.prototype.__init126.call(this);_class36.prototype.__init127.call(this); }
|
|
9706
|
+
static {
|
|
9707
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsSummary");
|
|
9708
|
+
}
|
|
9709
|
+
__init121() {this._section = ""}
|
|
9710
|
+
__init122() {this._window = ""}
|
|
9711
|
+
__init123() {this._visitors = 0}
|
|
9712
|
+
__init124() {this._sessions = 0}
|
|
9713
|
+
__init125() {this._pageViews = 0}
|
|
9714
|
+
__init126() {this._pagesPerSession = 0}
|
|
9715
|
+
__init127() {this._consentShare = 0}
|
|
9716
|
+
get section() {
|
|
9717
|
+
return this._section;
|
|
9718
|
+
}
|
|
9719
|
+
get window() {
|
|
9720
|
+
return this._window;
|
|
9721
|
+
}
|
|
9722
|
+
get visitors() {
|
|
9723
|
+
return this._visitors;
|
|
9724
|
+
}
|
|
9725
|
+
get sessions() {
|
|
9726
|
+
return this._sessions;
|
|
9727
|
+
}
|
|
9728
|
+
get pageViews() {
|
|
9729
|
+
return this._pageViews;
|
|
9730
|
+
}
|
|
9731
|
+
get pagesPerSession() {
|
|
9732
|
+
return this._pagesPerSession;
|
|
9733
|
+
}
|
|
9734
|
+
get consentShare() {
|
|
9735
|
+
return this._consentShare;
|
|
9736
|
+
}
|
|
9737
|
+
rehydrate(data) {
|
|
9738
|
+
super.rehydrate(data);
|
|
9739
|
+
const attrs = data.jsonApi.attributes;
|
|
9740
|
+
this._section = _nullishCoalesce(attrs.section, () => ( ""));
|
|
9741
|
+
this._window = _nullishCoalesce(attrs.window, () => ( ""));
|
|
9742
|
+
this._visitors = _nullishCoalesce(attrs.visitors, () => ( 0));
|
|
9743
|
+
this._sessions = _nullishCoalesce(attrs.sessions, () => ( 0));
|
|
9744
|
+
this._pageViews = _nullishCoalesce(attrs.pageViews, () => ( 0));
|
|
9745
|
+
this._pagesPerSession = _nullishCoalesce(attrs.pagesPerSession, () => ( 0));
|
|
9746
|
+
this._consentShare = _nullishCoalesce(attrs.consentShare, () => ( 0));
|
|
9747
|
+
return this;
|
|
9748
|
+
}
|
|
9749
|
+
createJsonApi(data) {
|
|
9750
|
+
const response = {
|
|
9751
|
+
data: {
|
|
9752
|
+
type: Modules.AnalyticsSummary.name,
|
|
9753
|
+
id: data.id,
|
|
9754
|
+
attributes: {},
|
|
9755
|
+
relationships: {}
|
|
9756
|
+
},
|
|
9757
|
+
included: []
|
|
9758
|
+
};
|
|
9759
|
+
if (data.section !== void 0) response.data.attributes.section = data.section;
|
|
9760
|
+
if (data.window !== void 0) response.data.attributes.window = data.window;
|
|
9761
|
+
if (data.visitors !== void 0) response.data.attributes.visitors = data.visitors;
|
|
9762
|
+
if (data.sessions !== void 0) response.data.attributes.sessions = data.sessions;
|
|
9763
|
+
if (data.pageViews !== void 0) response.data.attributes.pageViews = data.pageViews;
|
|
9764
|
+
if (data.pagesPerSession !== void 0) response.data.attributes.pagesPerSession = data.pagesPerSession;
|
|
9765
|
+
if (data.consentShare !== void 0) response.data.attributes.consentShare = data.consentShare;
|
|
9766
|
+
return response;
|
|
9767
|
+
}
|
|
9768
|
+
}, _class36);
|
|
9769
|
+
|
|
9770
|
+
// src/features/analytics/data/analytics-timeline.ts
|
|
9771
|
+
var AnalyticsTimeline = (_class37 = class extends AbstractApiData {constructor(...args34) { super(...args34); _class37.prototype.__init128.call(this);_class37.prototype.__init129.call(this);_class37.prototype.__init130.call(this);_class37.prototype.__init131.call(this);_class37.prototype.__init132.call(this); }
|
|
9772
|
+
static {
|
|
9773
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsTimeline");
|
|
9774
|
+
}
|
|
9775
|
+
__init128() {this._bucket = /* @__PURE__ */ new Date(0)}
|
|
9776
|
+
__init129() {this._section = ""}
|
|
9777
|
+
__init130() {this._visitors = 0}
|
|
9778
|
+
__init131() {this._sessions = 0}
|
|
9779
|
+
__init132() {this._pageViews = 0}
|
|
9780
|
+
get bucket() {
|
|
9781
|
+
return this._bucket;
|
|
9782
|
+
}
|
|
9783
|
+
get section() {
|
|
9784
|
+
return this._section;
|
|
9785
|
+
}
|
|
9786
|
+
get visitors() {
|
|
9787
|
+
return this._visitors;
|
|
9788
|
+
}
|
|
9789
|
+
get sessions() {
|
|
9790
|
+
return this._sessions;
|
|
9791
|
+
}
|
|
9792
|
+
get pageViews() {
|
|
9793
|
+
return this._pageViews;
|
|
9794
|
+
}
|
|
9795
|
+
rehydrate(data) {
|
|
9796
|
+
super.rehydrate(data);
|
|
9797
|
+
const attrs = data.jsonApi.attributes;
|
|
9798
|
+
this._bucket = attrs.bucket ? new Date(attrs.bucket) : /* @__PURE__ */ new Date(0);
|
|
9799
|
+
this._section = _nullishCoalesce(attrs.section, () => ( ""));
|
|
9800
|
+
this._visitors = _nullishCoalesce(attrs.visitors, () => ( 0));
|
|
9801
|
+
this._sessions = _nullishCoalesce(attrs.sessions, () => ( 0));
|
|
9802
|
+
this._pageViews = _nullishCoalesce(attrs.pageViews, () => ( 0));
|
|
9803
|
+
return this;
|
|
9804
|
+
}
|
|
9805
|
+
createJsonApi(data) {
|
|
9806
|
+
const response = {
|
|
9807
|
+
data: {
|
|
9808
|
+
type: Modules.AnalyticsTimeline.name,
|
|
9809
|
+
id: data.id,
|
|
9810
|
+
attributes: {},
|
|
9811
|
+
relationships: {}
|
|
9812
|
+
},
|
|
9813
|
+
included: []
|
|
9814
|
+
};
|
|
9815
|
+
if (data.bucket !== void 0) response.data.attributes.bucket = formatLocalDate(data.bucket);
|
|
9816
|
+
if (data.section !== void 0) response.data.attributes.section = data.section;
|
|
9817
|
+
if (data.visitors !== void 0) response.data.attributes.visitors = data.visitors;
|
|
9818
|
+
if (data.sessions !== void 0) response.data.attributes.sessions = data.sessions;
|
|
9819
|
+
if (data.pageViews !== void 0) response.data.attributes.pageViews = data.pageViews;
|
|
9820
|
+
return response;
|
|
9821
|
+
}
|
|
9822
|
+
}, _class37);
|
|
9823
|
+
|
|
9824
|
+
// src/features/analytics/analytics.modules.ts
|
|
9825
|
+
var analyticsModules = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => ({
|
|
9826
|
+
AnalyticsEvent: factory({ name: "analytics/events", model: AnalyticsEvent }),
|
|
9827
|
+
AnalyticsSummary: factory({ name: "analytics/administration/summary", model: AnalyticsSummary }),
|
|
9828
|
+
AnalyticsTimeline: factory({ name: "analytics/administration/timeline", model: AnalyticsTimeline }),
|
|
9829
|
+
AnalyticsBreakdown: factory({ name: "analytics/administration/breakdown", model: AnalyticsBreakdown }),
|
|
9830
|
+
AnalyticsSession: factory({ name: "analytics/administration/sessions", model: AnalyticsSession }),
|
|
9831
|
+
AnalyticsPageView: factory({ name: "pageviews", model: AnalyticsPageView })
|
|
9832
|
+
}), "analyticsModules");
|
|
9833
|
+
|
|
9432
9834
|
// src/features/tokenusage/lib/config.ts
|
|
9433
9835
|
var currency = "EUR";
|
|
9434
9836
|
function configureTokenUsage(config) {
|
|
@@ -9441,11 +9843,11 @@ function getTokenUsageCurrency() {
|
|
|
9441
9843
|
_chunk7QVYU63Ejs.__name.call(void 0, getTokenUsageCurrency, "getTokenUsageCurrency");
|
|
9442
9844
|
|
|
9443
9845
|
// src/features/audit-log/data/audit-log.ts
|
|
9444
|
-
var AuditLog = (
|
|
9846
|
+
var AuditLog = (_class38 = class extends AbstractApiData {constructor(...args35) { super(...args35); _class38.prototype.__init133.call(this); }
|
|
9445
9847
|
static {
|
|
9446
9848
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AuditLog");
|
|
9447
9849
|
}
|
|
9448
|
-
|
|
9850
|
+
__init133() {this._kind = "audit"}
|
|
9449
9851
|
|
|
9450
9852
|
|
|
9451
9853
|
|
|
@@ -9492,7 +9894,7 @@ var AuditLog = (_class32 = class extends AbstractApiData {constructor(...args29)
|
|
|
9492
9894
|
createJsonApi() {
|
|
9493
9895
|
throw new Error("AuditLog is read-only");
|
|
9494
9896
|
}
|
|
9495
|
-
},
|
|
9897
|
+
}, _class38);
|
|
9496
9898
|
|
|
9497
9899
|
// src/features/audit-log/data/audit-log.service.ts
|
|
9498
9900
|
var AuditLogService = class extends AbstractService {
|
|
@@ -9768,5 +10170,13 @@ var AuditLogModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (facto
|
|
|
9768
10170
|
|
|
9769
10171
|
|
|
9770
10172
|
|
|
9771
|
-
exports.RehydrationFactory = RehydrationFactory; exports.AbstractApiData = AbstractApiData; exports.getLastApiTotal = getLastApiTotal; exports.clearLastApiTotal = clearLastApiTotal; exports.getLastApiMeta = getLastApiMeta; exports.clearLastApiMeta = clearLastApiMeta; exports.HttpMethod = HttpMethod; exports.setGlobalErrorHandler = setGlobalErrorHandler; exports.getGlobalErrorHandler = getGlobalErrorHandler; exports.AbstractService = AbstractService; exports.configureClientJsonApi = configureClientJsonApi; exports.getClientApiUrl = getClientApiUrl; exports.getClientAppUrl = getClientAppUrl; exports.getClientTrackablePages = getClientTrackablePages; exports.buildClientUrl = buildClientUrl; exports.ClientJsonApiGet = ClientJsonApiGet; exports.ClientJsonApiPost = ClientJsonApiPost; exports.ClientJsonApiPut = ClientJsonApiPut; exports.ClientJsonApiPatch = ClientJsonApiPatch; exports.ClientJsonApiDelete = ClientJsonApiDelete; exports.ClientHttpMethod = ClientHttpMethod; exports.setClientGlobalErrorHandler = setClientGlobalErrorHandler; exports.getClientGlobalErrorHandler = getClientGlobalErrorHandler; exports.ClientAbstractService = ClientAbstractService; exports.ModuleRegistrar = ModuleRegistrar; exports.ModuleRegistry = ModuleRegistry; exports.Modules = Modules; exports.EndpointCreator = EndpointCreator; exports.createJsonApiInclusion = createJsonApiInclusion; exports.rehydrate = rehydrate; exports.rehydrateList = rehydrateList; exports.cn = cn; exports.composeRefs = composeRefs; exports.useComposedRefs = useComposedRefs; exports.MOBILE_BREAKPOINT = MOBILE_BREAKPOINT; exports.VIEWPORT_COOKIE_NAME = VIEWPORT_COOKIE_NAME; exports.getViewportContext = getViewportContext; exports.measureViewport = measureViewport; exports.persistViewport = persistViewport; exports.subscribeViewport = subscribeViewport; exports.useIsMobile = useIsMobile; exports.formatLocalDate = formatLocalDate; exports.formatDate = formatDate; exports.exists = exists; exports.TableOptions = TableOptions; exports.getTableOptions = getTableOptions; exports.getTableComponents = getTableComponents; exports.userObjectSchema = userObjectSchema; exports.entityObjectSchema = entityObjectSchema; exports.getInitials = getInitials; exports.isRemoteImageSrc = isRemoteImageSrc; exports.validatePartitaIva = validatePartitaIva; exports.validateCodiceFiscale = validateCodiceFiscale; exports.validateItalianTaxCode = validateItalianTaxCode; exports.formatPartitaIva = formatPartitaIva; exports.formatCodiceFiscale = formatCodiceFiscale; exports.BlockNoteDiffUtil = BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = BlockNoteWordDiffRendererUtil; exports.getIconByModule = getIconByModule; exports.getIcon = getIcon; exports.getIconByModuleName = getIconByModuleName; exports.getLucideIcon = getLucideIcon; exports.getLucideIconByModule = getLucideIconByModule; exports.getLucideIconByModuleName = getLucideIconByModuleName; exports.showToast = showToast; exports.showError = showError; exports.dismissToast = dismissToast; exports.showCustomToast = showCustomToast; exports.Action = Action; exports.checkPermissions = checkPermissions; exports.checkPermissionsFromServer = checkPermissionsFromServer; exports.getValueFromPath = getValueFromPath; exports.TotpAuthenticator = TotpAuthenticator; exports.TotpAuthenticatorModule = TotpAuthenticatorModule; exports.TotpSetup = TotpSetup; exports.TotpSetupModule = TotpSetupModule; exports.TotpVerify = TotpVerify; exports.TotpVerifyModule = TotpVerifyModule; exports.TotpVerifyLogin = TotpVerifyLogin; exports.TotpVerifyLoginModule = TotpVerifyLoginModule; exports.Passkey = Passkey; exports.PasskeyModule = PasskeyModule; exports.PasskeyRegistrationOptions = PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = PasskeyRegistrationVerifyModule; exports.PasskeyRename = PasskeyRename; exports.PasskeyRenameModule = PasskeyRenameModule; exports.PasskeyVerifyLogin = PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = PasskeyVerifyLoginModule; exports.PasskeyAuthenticationOptions = PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = PasskeyAuthenticationOptionsModule; exports.TwoFactorEnable = TwoFactorEnable; exports.TwoFactorEnableModule = TwoFactorEnableModule; exports.TwoFactorChallenge = TwoFactorChallenge; exports.TwoFactorChallengeModule = TwoFactorChallengeModule; exports.BackupCodeVerify = BackupCodeVerify; exports.BackupCodeVerifyModule = BackupCodeVerifyModule; exports.configureAuth = configureAuth; exports.getTokenHandler = getTokenHandler; exports.Auth = Auth; exports.AuthService = AuthService; exports.TwoFactorStatus = TwoFactorStatus; exports.TwoFactorService = TwoFactorService; exports.AuthComponent = AuthComponent; exports.AuthModule = AuthModule; exports.TwoFactorStatusModule = TwoFactorStatusModule; exports.BillingService = BillingService; exports.Billing = Billing; exports.BillingModule = BillingModule; exports.PaymentMethod = PaymentMethod; exports.StripeCustomer = StripeCustomer; exports.StripeCustomerService = StripeCustomerService; exports.StripeCustomerModule = StripeCustomerModule; exports.StripePaymentMethodModule = StripePaymentMethodModule; exports.StripeInvoice = StripeInvoice; exports.InvoiceStatus = InvoiceStatus; exports.StripeInvoiceService = StripeInvoiceService; exports.StripeInvoiceModule = StripeInvoiceModule; exports.StripePrice = StripePrice; exports.StripePriceFields = StripePriceFields; exports.StripePriceService = StripePriceService; exports.StripePriceModule = StripePriceModule; exports.StripeProduct = StripeProduct; exports.StripeProductFields = StripeProductFields; exports.StripeProductService = StripeProductService; exports.StripeProductModule = StripeProductModule; exports.StripeSubscription = StripeSubscription; exports.SubscriptionStatus = SubscriptionStatus; exports.StripeSubscriptionService = StripeSubscriptionService; exports.StripeSubscriptionModule = StripeSubscriptionModule; exports.StripeUsage = StripeUsage; exports.StripeUsageService = StripeUsageService; exports.StripeUsageModule = StripeUsageModule; exports.StripePromotionCodeService = StripePromotionCodeService; exports.StripePromotionCode = StripePromotionCode; exports.StripePromotionCodeModule = StripePromotionCodeModule; exports.AiConnection = AiConnection; exports.AiConnectionFields = AiConnectionFields; exports.AiConnectionService = AiConnectionService; exports.AiConnectionModule = AiConnectionModule; exports.Company = Company; exports.CompanyFields = CompanyFields; exports.CompanyService = CompanyService; exports.EntityAiStatus = EntityAiStatus; exports.CompanyModule = CompanyModule; exports.Content = Content; exports.ContentFields = ContentFields; exports.ContentService = ContentService; exports.ContentModule = ContentModule; exports.HowTo = HowTo; exports.HowToModule = HowToModule; exports.HowToFields = HowToFields; exports.HowToService = HowToService; exports.HandbookPage = HandbookPage; exports.HandbookPageModule = HandbookPageModule; exports.HandbookSection = HandbookSection; exports.HandbookSectionModule = HandbookSectionModule; exports.HandbookThreadMessage = HandbookThreadMessage; exports.HandbookThreadMessageModule = HandbookThreadMessageModule; exports.HandbookThread = HandbookThread; exports.HandbookThreadModule = HandbookThreadModule; exports.handbookPageTitle = handbookPageTitle; exports.handbookPageSummary = handbookPageSummary; exports.handbookPageContent = handbookPageContent; exports.handbookSectionTitle = handbookSectionTitle; exports.handbookSectionSummary = handbookSectionSummary; exports.HandbookPageFields = HandbookPageFields; exports.HandbookPageService = HandbookPageService; exports.HandbookSectionService = HandbookSectionService; exports.HandbookThreadMessageService = HandbookThreadMessageService; exports.HandbookThreadService = HandbookThreadService; exports.Assistant = Assistant; exports.AssistantModule = AssistantModule; exports.AssistantMessage = AssistantMessage; exports.AssistantService = AssistantService; exports.AssistantMessageModule = AssistantMessageModule; exports.AssistantMessageService = AssistantMessageService; exports.AssistantAction = AssistantAction; exports.AssistantActionModule = AssistantActionModule; exports.AssistantActionService = AssistantActionService; exports.Chunk = Chunk; exports.ChunkModule = ChunkModule; exports.Feature = Feature; exports.FeatureService = FeatureService; exports.FeatureModule = FeatureModule; exports.Module = Module; exports.ModuleModule = ModuleModule; exports.Notification = Notification; exports.NotificationFields = NotificationFields; exports.NotificationService = NotificationService; exports.NotificationModule = NotificationModule; exports.Push = Push; exports.PushService = PushService; exports.PushModule = PushModule; exports.Role = Role; exports.RoleFields = RoleFields; exports.RoleService = RoleService; exports.RoleModule = RoleModule; exports.S3 = S3; exports.S3Module = S3Module; exports.S3Service = S3Service; exports.User = User; exports.UserFields = UserFields; exports.UserService = UserService; exports.CURRENT_USER_STORAGE_KEY = CURRENT_USER_STORAGE_KEY; exports.AuthorModule = AuthorModule; exports.UserModule = UserModule; exports.OAuthClient = OAuthClient; exports.OAuthModule = OAuthModule; exports.OAuthService = OAuthService; exports.OAUTH_SCOPE_DISPLAY = OAUTH_SCOPE_DISPLAY; exports.AVAILABLE_OAUTH_SCOPES = AVAILABLE_OAUTH_SCOPES; exports.DEFAULT_GRANT_TYPES = DEFAULT_GRANT_TYPES; exports.Waitlist = Waitlist; exports.WaitlistService = WaitlistService; exports.WaitlistStats = WaitlistStats; exports.WaitlistModule = WaitlistModule; exports.WaitlistStatsModule = WaitlistStatsModule; exports.PermissionMapping = PermissionMapping; exports.ModulePaths = ModulePaths; exports.RbacMatrixModel = RbacMatrixModel; exports.PermissionMappingModule = PermissionMappingModule; exports.ModulePathsModule = ModulePathsModule; exports.RbacMatrixModule = RbacMatrixModule; exports.ReferralStats = ReferralStats; exports.ReferralService = ReferralService; exports.ReferralModule = ReferralModule; exports.ReferralStatsModule = ReferralStatsModule; exports.TokenUsageAdminBreakdown = TokenUsageAdminBreakdown; exports.TokenUsageAdminSummary = TokenUsageAdminSummary; exports.TokenUsageAdminTimeline = TokenUsageAdminTimeline; exports.TokenUsageAdminSummaryModule = TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = TokenUsageAdminTimelineModule; exports.TokenUsageAdminBreakdownModule = TokenUsageAdminBreakdownModule; exports.TokenUsageReportBreakdown = TokenUsageReportBreakdown; exports.TokenUsageReportSummary = TokenUsageReportSummary; exports.TokenUsageReportTimeline = TokenUsageReportTimeline; exports.tokenUsageModules = tokenUsageModules; exports.configureTokenUsage = configureTokenUsage; exports.getTokenUsageCurrency = getTokenUsageCurrency; exports.AuditLog = AuditLog; exports.AuditLogService = AuditLogService; exports.AuditLogModule = AuditLogModule;
|
|
9772
|
-
|
|
10173
|
+
|
|
10174
|
+
|
|
10175
|
+
|
|
10176
|
+
|
|
10177
|
+
|
|
10178
|
+
|
|
10179
|
+
|
|
10180
|
+
|
|
10181
|
+
exports.RehydrationFactory = RehydrationFactory; exports.AbstractApiData = AbstractApiData; exports.getLastApiTotal = getLastApiTotal; exports.clearLastApiTotal = clearLastApiTotal; exports.getLastApiMeta = getLastApiMeta; exports.clearLastApiMeta = clearLastApiMeta; exports.HttpMethod = HttpMethod; exports.setGlobalErrorHandler = setGlobalErrorHandler; exports.getGlobalErrorHandler = getGlobalErrorHandler; exports.AbstractService = AbstractService; exports.configureClientJsonApi = configureClientJsonApi; exports.getClientApiUrl = getClientApiUrl; exports.getClientAppUrl = getClientAppUrl; exports.getClientTrackablePages = getClientTrackablePages; exports.buildClientUrl = buildClientUrl; exports.ClientJsonApiGet = ClientJsonApiGet; exports.ClientJsonApiPost = ClientJsonApiPost; exports.ClientJsonApiPut = ClientJsonApiPut; exports.ClientJsonApiPatch = ClientJsonApiPatch; exports.ClientJsonApiDelete = ClientJsonApiDelete; exports.ClientHttpMethod = ClientHttpMethod; exports.setClientGlobalErrorHandler = setClientGlobalErrorHandler; exports.getClientGlobalErrorHandler = getClientGlobalErrorHandler; exports.ClientAbstractService = ClientAbstractService; exports.ModuleRegistrar = ModuleRegistrar; exports.ModuleRegistry = ModuleRegistry; exports.Modules = Modules; exports.EndpointCreator = EndpointCreator; exports.createJsonApiInclusion = createJsonApiInclusion; exports.rehydrate = rehydrate; exports.rehydrateList = rehydrateList; exports.cn = cn; exports.composeRefs = composeRefs; exports.useComposedRefs = useComposedRefs; exports.MOBILE_BREAKPOINT = MOBILE_BREAKPOINT; exports.VIEWPORT_COOKIE_NAME = VIEWPORT_COOKIE_NAME; exports.getViewportContext = getViewportContext; exports.measureViewport = measureViewport; exports.persistViewport = persistViewport; exports.subscribeViewport = subscribeViewport; exports.useIsMobile = useIsMobile; exports.formatLocalDate = formatLocalDate; exports.formatDate = formatDate; exports.exists = exists; exports.TableOptions = TableOptions; exports.getTableOptions = getTableOptions; exports.getTableComponents = getTableComponents; exports.userObjectSchema = userObjectSchema; exports.entityObjectSchema = entityObjectSchema; exports.getInitials = getInitials; exports.isRemoteImageSrc = isRemoteImageSrc; exports.validatePartitaIva = validatePartitaIva; exports.validateCodiceFiscale = validateCodiceFiscale; exports.validateItalianTaxCode = validateItalianTaxCode; exports.formatPartitaIva = formatPartitaIva; exports.formatCodiceFiscale = formatCodiceFiscale; exports.BlockNoteDiffUtil = BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = BlockNoteWordDiffRendererUtil; exports.getIconByModule = getIconByModule; exports.getIcon = getIcon; exports.getIconByModuleName = getIconByModuleName; exports.getLucideIcon = getLucideIcon; exports.getLucideIconByModule = getLucideIconByModule; exports.getLucideIconByModuleName = getLucideIconByModuleName; exports.showToast = showToast; exports.showError = showError; exports.dismissToast = dismissToast; exports.showCustomToast = showCustomToast; exports.Action = Action; exports.checkPermissions = checkPermissions; exports.checkPermissionsFromServer = checkPermissionsFromServer; exports.getValueFromPath = getValueFromPath; exports.TotpAuthenticator = TotpAuthenticator; exports.TotpAuthenticatorModule = TotpAuthenticatorModule; exports.TotpSetup = TotpSetup; exports.TotpSetupModule = TotpSetupModule; exports.TotpVerify = TotpVerify; exports.TotpVerifyModule = TotpVerifyModule; exports.TotpVerifyLogin = TotpVerifyLogin; exports.TotpVerifyLoginModule = TotpVerifyLoginModule; exports.Passkey = Passkey; exports.PasskeyModule = PasskeyModule; exports.PasskeyRegistrationOptions = PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = PasskeyRegistrationVerifyModule; exports.PasskeyRename = PasskeyRename; exports.PasskeyRenameModule = PasskeyRenameModule; exports.PasskeyVerifyLogin = PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = PasskeyVerifyLoginModule; exports.PasskeyAuthenticationOptions = PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = PasskeyAuthenticationOptionsModule; exports.TwoFactorEnable = TwoFactorEnable; exports.TwoFactorEnableModule = TwoFactorEnableModule; exports.TwoFactorChallenge = TwoFactorChallenge; exports.TwoFactorChallengeModule = TwoFactorChallengeModule; exports.BackupCodeVerify = BackupCodeVerify; exports.BackupCodeVerifyModule = BackupCodeVerifyModule; exports.configureAuth = configureAuth; exports.getTokenHandler = getTokenHandler; exports.Auth = Auth; exports.AuthService = AuthService; exports.TwoFactorStatus = TwoFactorStatus; exports.TwoFactorService = TwoFactorService; exports.AuthComponent = AuthComponent; exports.AuthModule = AuthModule; exports.TwoFactorStatusModule = TwoFactorStatusModule; exports.BillingService = BillingService; exports.Billing = Billing; exports.BillingModule = BillingModule; exports.PaymentMethod = PaymentMethod; exports.StripeCustomer = StripeCustomer; exports.StripeCustomerService = StripeCustomerService; exports.StripeCustomerModule = StripeCustomerModule; exports.StripePaymentMethodModule = StripePaymentMethodModule; exports.StripeInvoice = StripeInvoice; exports.InvoiceStatus = InvoiceStatus; exports.StripeInvoiceService = StripeInvoiceService; exports.StripeInvoiceModule = StripeInvoiceModule; exports.StripePrice = StripePrice; exports.StripePriceFields = StripePriceFields; exports.StripePriceService = StripePriceService; exports.StripePriceModule = StripePriceModule; exports.StripeProduct = StripeProduct; exports.StripeProductFields = StripeProductFields; exports.StripeProductService = StripeProductService; exports.StripeProductModule = StripeProductModule; exports.StripeSubscription = StripeSubscription; exports.SubscriptionStatus = SubscriptionStatus; exports.StripeSubscriptionService = StripeSubscriptionService; exports.StripeSubscriptionModule = StripeSubscriptionModule; exports.StripeUsage = StripeUsage; exports.StripeUsageService = StripeUsageService; exports.StripeUsageModule = StripeUsageModule; exports.StripePromotionCodeService = StripePromotionCodeService; exports.StripePromotionCode = StripePromotionCode; exports.StripePromotionCodeModule = StripePromotionCodeModule; exports.AiConnection = AiConnection; exports.AiConnectionFields = AiConnectionFields; exports.AiConnectionService = AiConnectionService; exports.AiConnectionModule = AiConnectionModule; exports.Company = Company; exports.CompanyFields = CompanyFields; exports.CompanyService = CompanyService; exports.EntityAiStatus = EntityAiStatus; exports.CompanyModule = CompanyModule; exports.Content = Content; exports.ContentFields = ContentFields; exports.ContentService = ContentService; exports.ContentModule = ContentModule; exports.HowTo = HowTo; exports.HowToModule = HowToModule; exports.HowToFields = HowToFields; exports.HowToService = HowToService; exports.HandbookPage = HandbookPage; exports.HandbookPageModule = HandbookPageModule; exports.HandbookSection = HandbookSection; exports.HandbookSectionModule = HandbookSectionModule; exports.HandbookThreadMessage = HandbookThreadMessage; exports.HandbookThreadMessageModule = HandbookThreadMessageModule; exports.HandbookThread = HandbookThread; exports.HandbookThreadModule = HandbookThreadModule; exports.handbookPageTitle = handbookPageTitle; exports.handbookPageSummary = handbookPageSummary; exports.handbookPageContent = handbookPageContent; exports.handbookSectionTitle = handbookSectionTitle; exports.handbookSectionSummary = handbookSectionSummary; exports.HandbookPageFields = HandbookPageFields; exports.HandbookPageService = HandbookPageService; exports.HandbookSectionService = HandbookSectionService; exports.HandbookThreadMessageService = HandbookThreadMessageService; exports.HandbookThreadService = HandbookThreadService; exports.Assistant = Assistant; exports.AssistantModule = AssistantModule; exports.AssistantMessage = AssistantMessage; exports.AssistantService = AssistantService; exports.AssistantMessageModule = AssistantMessageModule; exports.AssistantMessageService = AssistantMessageService; exports.AssistantAction = AssistantAction; exports.AssistantActionModule = AssistantActionModule; exports.AssistantActionService = AssistantActionService; exports.Chunk = Chunk; exports.ChunkModule = ChunkModule; exports.Feature = Feature; exports.FeatureService = FeatureService; exports.FeatureModule = FeatureModule; exports.Module = Module; exports.ModuleModule = ModuleModule; exports.Notification = Notification; exports.NotificationFields = NotificationFields; exports.NotificationService = NotificationService; exports.NotificationModule = NotificationModule; exports.Push = Push; exports.PushService = PushService; exports.PushModule = PushModule; exports.Role = Role; exports.RoleFields = RoleFields; exports.RoleService = RoleService; exports.RoleModule = RoleModule; exports.S3 = S3; exports.S3Module = S3Module; exports.S3Service = S3Service; exports.User = User; exports.UserFields = UserFields; exports.UserService = UserService; exports.CURRENT_USER_STORAGE_KEY = CURRENT_USER_STORAGE_KEY; exports.AuthorModule = AuthorModule; exports.UserModule = UserModule; exports.OAuthClient = OAuthClient; exports.OAuthModule = OAuthModule; exports.OAuthService = OAuthService; exports.OAUTH_SCOPE_DISPLAY = OAUTH_SCOPE_DISPLAY; exports.AVAILABLE_OAUTH_SCOPES = AVAILABLE_OAUTH_SCOPES; exports.DEFAULT_GRANT_TYPES = DEFAULT_GRANT_TYPES; exports.Waitlist = Waitlist; exports.WaitlistService = WaitlistService; exports.WaitlistStats = WaitlistStats; exports.WaitlistFields = WaitlistFields; exports.WaitlistModule = WaitlistModule; exports.WaitlistStatsModule = WaitlistStatsModule; exports.PermissionMapping = PermissionMapping; exports.ModulePaths = ModulePaths; exports.RbacMatrixModel = RbacMatrixModel; exports.PermissionMappingModule = PermissionMappingModule; exports.ModulePathsModule = ModulePathsModule; exports.RbacMatrixModule = RbacMatrixModule; exports.ReferralStats = ReferralStats; exports.ReferralService = ReferralService; exports.ReferralModule = ReferralModule; exports.ReferralStatsModule = ReferralStatsModule; exports.TokenUsageAdminBreakdown = TokenUsageAdminBreakdown; exports.TokenUsageAdminSummary = TokenUsageAdminSummary; exports.TokenUsageAdminTimeline = TokenUsageAdminTimeline; exports.TokenUsageAdminSummaryModule = TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = TokenUsageAdminTimelineModule; exports.TokenUsageAdminBreakdownModule = TokenUsageAdminBreakdownModule; exports.TokenUsageReportBreakdown = TokenUsageReportBreakdown; exports.TokenUsageReportSummary = TokenUsageReportSummary; exports.TokenUsageReportTimeline = TokenUsageReportTimeline; exports.tokenUsageModules = tokenUsageModules; exports.AnalyticsBreakdown = AnalyticsBreakdown; exports.AnalyticsEvent = AnalyticsEvent; exports.AnalyticsPageView = AnalyticsPageView; exports.AnalyticsSession = AnalyticsSession; exports.AnalyticsSummary = AnalyticsSummary; exports.AnalyticsTimeline = AnalyticsTimeline; exports.analyticsModules = analyticsModules; exports.configureTokenUsage = configureTokenUsage; exports.getTokenUsageCurrency = getTokenUsageCurrency; exports.AuditLog = AuditLog; exports.AuditLogService = AuditLogService; exports.AuditLogModule = AuditLogModule;
|
|
10182
|
+
//# sourceMappingURL=chunk-CAKOFJZD.js.map
|