@carlonicora/nextjs-jsonapi 4.0.3 → 4.0.5
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/{BlockNoteEditor-BXMTGKDV.js → BlockNoteEditor-H6EXQD46.js} +20 -20
- package/dist/{BlockNoteEditor-BXMTGKDV.js.map → BlockNoteEditor-H6EXQD46.js.map} +1 -1
- package/dist/{BlockNoteEditor-FGVQP35E.mjs → BlockNoteEditor-L3STMBP2.mjs} +5 -5
- package/dist/{BlockNoteViewer-DQYT6IJW.mjs → BlockNoteViewer-4THJHQMK.mjs} +3 -3
- package/dist/{BlockNoteViewer-YH7G66PS.js → BlockNoteViewer-TEC7DN2N.js} +4 -4
- package/dist/{BlockNoteViewer-YH7G66PS.js.map → BlockNoteViewer-TEC7DN2N.js.map} +1 -1
- package/dist/{JsonApiRequest-MEP6AXDT.mjs → JsonApiRequest-A66XK5WT.mjs} +2 -2
- package/dist/JsonApiRequest-FZGPLNUF.js +26 -0
- package/dist/{JsonApiRequest-OB6WL4LA.js.map → JsonApiRequest-FZGPLNUF.js.map} +1 -1
- package/dist/billing/index.js +400 -400
- package/dist/billing/index.mjs +4 -4
- package/dist/{chunk-NFCXUAE6.js → chunk-3JET3LL7.js} +837 -837
- package/dist/{chunk-NFCXUAE6.js.map → chunk-3JET3LL7.js.map} +1 -1
- package/dist/{chunk-6OFANJTE.js → chunk-5PNDDYGL.js} +32 -32
- package/dist/{chunk-6OFANJTE.js.map → chunk-5PNDDYGL.js.map} +1 -1
- package/dist/{chunk-5W5MN7JP.js → chunk-7ZRQOLSV.js} +13 -13
- package/dist/{chunk-5W5MN7JP.js.map → chunk-7ZRQOLSV.js.map} +1 -1
- package/dist/{chunk-TWBZ2GSX.js → chunk-C2WQXUL5.js} +3 -3
- package/dist/{chunk-TWBZ2GSX.js.map → chunk-C2WQXUL5.js.map} +1 -1
- package/dist/{chunk-JEQ34Z5E.js → chunk-DYTKNSHY.js} +15 -15
- package/dist/{chunk-JEQ34Z5E.js.map → chunk-DYTKNSHY.js.map} +1 -1
- package/dist/{chunk-WGVNJXZO.js → chunk-GHE4VT2R.js} +12 -12
- package/dist/{chunk-WGVNJXZO.js.map → chunk-GHE4VT2R.js.map} +1 -1
- package/dist/{chunk-3CZ2GK5R.mjs → chunk-IOG22OAO.mjs} +3 -3
- package/dist/{chunk-WJC4SYRL.mjs → chunk-KX2776OK.mjs} +8 -8
- package/dist/{chunk-R6ZYB4VN.mjs → chunk-RDI62FAT.mjs} +2 -2
- package/dist/{chunk-7SCREMTX.mjs → chunk-V5MI7RNB.mjs} +2 -2
- package/dist/chunk-V5MI7RNB.mjs.map +1 -0
- package/dist/{chunk-ADZSH3MG.mjs → chunk-XTOEN5GN.mjs} +3 -3
- package/dist/{chunk-AQZ3T4BR.mjs → chunk-Z3226FM6.mjs} +5 -5
- package/dist/client/index.js +5 -5
- package/dist/client/index.mjs +4 -4
- package/dist/components/index.js +5 -5
- package/dist/components/index.mjs +4 -4
- package/dist/contexts/index.js +5 -5
- package/dist/contexts/index.mjs +4 -4
- package/dist/core/index.js +3 -3
- package/dist/core/index.mjs +2 -2
- package/dist/features/analytics/index.js +123 -123
- package/dist/features/analytics/index.mjs +5 -5
- package/dist/features/analytics/server.js +5 -5
- package/dist/features/analytics/server.mjs +3 -3
- package/dist/features/help/index.js +38 -38
- package/dist/features/help/index.mjs +4 -4
- package/dist/features/tokenusage/index.js +126 -126
- package/dist/features/tokenusage/index.mjs +5 -5
- package/dist/index.js +4 -4
- package/dist/index.mjs +3 -3
- package/dist/server/index.js +4 -4
- package/dist/server/index.mjs +3 -3
- package/package.json +1 -1
- package/src/core/utils/__tests__/translateResponse.test.ts +17 -0
- package/src/core/utils/translateResponse.ts +7 -3
- package/dist/JsonApiRequest-OB6WL4LA.js +0 -26
- package/dist/chunk-7SCREMTX.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-FGVQP35E.mjs.map → BlockNoteEditor-L3STMBP2.mjs.map} +0 -0
- /package/dist/{BlockNoteViewer-DQYT6IJW.mjs.map → BlockNoteViewer-4THJHQMK.mjs.map} +0 -0
- /package/dist/{JsonApiRequest-MEP6AXDT.mjs.map → JsonApiRequest-A66XK5WT.mjs.map} +0 -0
- /package/dist/{chunk-3CZ2GK5R.mjs.map → chunk-IOG22OAO.mjs.map} +0 -0
- /package/dist/{chunk-WJC4SYRL.mjs.map → chunk-KX2776OK.mjs.map} +0 -0
- /package/dist/{chunk-R6ZYB4VN.mjs.map → chunk-RDI62FAT.mjs.map} +0 -0
- /package/dist/{chunk-ADZSH3MG.mjs.map → chunk-XTOEN5GN.mjs.map} +0 -0
- /package/dist/{chunk-AQZ3T4BR.mjs.map → chunk-Z3226FM6.mjs.map} +0 -0
|
@@ -15,7 +15,7 @@ var _chunkJTPRJNT2js = require('./chunk-JTPRJNT2.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkGHE4VT2Rjs = require('./chunk-GHE4VT2R.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 = _chunkGHE4VT2Rjs.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 = _chunkGHE4VT2Rjs.DataClassRegistry.get(classKey);
|
|
35
35
|
const response = data.map((item) => {
|
|
36
36
|
const instance = new factoryClass();
|
|
37
37
|
return instance.rehydrate(item);
|
|
@@ -392,7 +392,7 @@ var AbstractService = class {
|
|
|
392
392
|
* Make an API call with automatic environment detection and error handling.
|
|
393
393
|
*/
|
|
394
394
|
static async callApi(params) {
|
|
395
|
-
const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-
|
|
395
|
+
const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-FZGPLNUF.js")));
|
|
396
396
|
let apiResponse;
|
|
397
397
|
let language = "en";
|
|
398
398
|
if (typeof window === "undefined") {
|
|
@@ -489,7 +489,7 @@ var AbstractService = class {
|
|
|
489
489
|
* Make an API call and return both data and meta from the response.
|
|
490
490
|
*/
|
|
491
491
|
static async callApiWithMeta(params) {
|
|
492
|
-
const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-
|
|
492
|
+
const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-FZGPLNUF.js")));
|
|
493
493
|
let apiResponse;
|
|
494
494
|
let language = "en";
|
|
495
495
|
if (typeof window === "undefined") {
|
|
@@ -574,7 +574,7 @@ var AbstractService = class {
|
|
|
574
574
|
* Get raw JSON:API response data without deserialization.
|
|
575
575
|
*/
|
|
576
576
|
static async getRawData(params) {
|
|
577
|
-
const { JsonApiGet: JsonApiGet2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-
|
|
577
|
+
const { JsonApiGet: JsonApiGet2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-FZGPLNUF.js")));
|
|
578
578
|
let language = "en";
|
|
579
579
|
if (typeof window === "undefined") {
|
|
580
580
|
language = await getI18nServerLocale();
|
|
@@ -609,7 +609,7 @@ var _clientConfig = null;
|
|
|
609
609
|
function configureClientJsonApi(config) {
|
|
610
610
|
_clientConfig = config;
|
|
611
611
|
if (config.bootstrapper) {
|
|
612
|
-
|
|
612
|
+
_chunkGHE4VT2Rjs.setBootstrapper.call(void 0, config.bootstrapper);
|
|
613
613
|
config.bootstrapper();
|
|
614
614
|
}
|
|
615
615
|
}
|
|
@@ -618,7 +618,7 @@ function getClientApiUrl() {
|
|
|
618
618
|
if (_optionalChain([_clientConfig, 'optionalAccess', _29 => _29.apiUrl])) {
|
|
619
619
|
return _clientConfig.apiUrl;
|
|
620
620
|
}
|
|
621
|
-
const envUrl =
|
|
621
|
+
const envUrl = _chunkGHE4VT2Rjs.ENV.API_URL;
|
|
622
622
|
if (!envUrl) {
|
|
623
623
|
throw new Error(
|
|
624
624
|
"API URL not configured. Use configureClientJsonApi() or set NEXT_PUBLIC_API_URL environment variable."
|
|
@@ -631,7 +631,7 @@ function getClientAppUrl() {
|
|
|
631
631
|
if (_optionalChain([_clientConfig, 'optionalAccess', _30 => _30.appUrl])) {
|
|
632
632
|
return _clientConfig.appUrl;
|
|
633
633
|
}
|
|
634
|
-
const envUrl =
|
|
634
|
+
const envUrl = _chunkGHE4VT2Rjs.ENV.APP_URL;
|
|
635
635
|
if (!envUrl) {
|
|
636
636
|
throw new Error(
|
|
637
637
|
"App URL not configured. Use configureClientJsonApi({ appUrl }) or set NEXT_PUBLIC_ADDRESS environment variable."
|
|
@@ -667,7 +667,7 @@ async function ClientJsonApiGet(params) {
|
|
|
667
667
|
language: params.language,
|
|
668
668
|
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _33 => _33.additionalHeaders])
|
|
669
669
|
});
|
|
670
|
-
return
|
|
670
|
+
return _chunkGHE4VT2Rjs.translateResponse.call(void 0, {
|
|
671
671
|
classKey: params.classKey,
|
|
672
672
|
apiResponse,
|
|
673
673
|
companyId: params.companyId,
|
|
@@ -689,7 +689,7 @@ async function ClientJsonApiPost(params) {
|
|
|
689
689
|
if (!body) {
|
|
690
690
|
body = {};
|
|
691
691
|
} else if (params.overridesJsonApiCreation !== true) {
|
|
692
|
-
body =
|
|
692
|
+
body = _chunkGHE4VT2Rjs.JsonApiDataFactory.create(params.classKey, body);
|
|
693
693
|
}
|
|
694
694
|
const apiResponse = await _chunkJTPRJNT2js.directFetch.call(void 0, {
|
|
695
695
|
method: "POST",
|
|
@@ -701,7 +701,7 @@ async function ClientJsonApiPost(params) {
|
|
|
701
701
|
language: params.language,
|
|
702
702
|
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _34 => _34.additionalHeaders])
|
|
703
703
|
});
|
|
704
|
-
return
|
|
704
|
+
return _chunkGHE4VT2Rjs.translateResponse.call(void 0, {
|
|
705
705
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
706
706
|
apiResponse,
|
|
707
707
|
companyId: params.companyId,
|
|
@@ -716,7 +716,7 @@ async function ClientJsonApiPut(params) {
|
|
|
716
716
|
if (!body) {
|
|
717
717
|
body = {};
|
|
718
718
|
} else {
|
|
719
|
-
body =
|
|
719
|
+
body = _chunkGHE4VT2Rjs.JsonApiDataFactory.create(params.classKey, body);
|
|
720
720
|
}
|
|
721
721
|
const apiResponse = await _chunkJTPRJNT2js.directFetch.call(void 0, {
|
|
722
722
|
method: "PUT",
|
|
@@ -728,7 +728,7 @@ async function ClientJsonApiPut(params) {
|
|
|
728
728
|
language: params.language,
|
|
729
729
|
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _35 => _35.additionalHeaders])
|
|
730
730
|
});
|
|
731
|
-
return
|
|
731
|
+
return _chunkGHE4VT2Rjs.translateResponse.call(void 0, {
|
|
732
732
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
733
733
|
apiResponse,
|
|
734
734
|
companyId: params.companyId,
|
|
@@ -743,7 +743,7 @@ async function ClientJsonApiPatch(params) {
|
|
|
743
743
|
if (!body) {
|
|
744
744
|
body = {};
|
|
745
745
|
} else if (params.overridesJsonApiCreation !== true) {
|
|
746
|
-
body =
|
|
746
|
+
body = _chunkGHE4VT2Rjs.JsonApiDataFactory.create(params.classKey, body);
|
|
747
747
|
}
|
|
748
748
|
const apiResponse = await _chunkJTPRJNT2js.directFetch.call(void 0, {
|
|
749
749
|
method: "PATCH",
|
|
@@ -755,7 +755,7 @@ async function ClientJsonApiPatch(params) {
|
|
|
755
755
|
language: params.language,
|
|
756
756
|
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _36 => _36.additionalHeaders])
|
|
757
757
|
});
|
|
758
|
-
return
|
|
758
|
+
return _chunkGHE4VT2Rjs.translateResponse.call(void 0, {
|
|
759
759
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
760
760
|
apiResponse,
|
|
761
761
|
companyId: params.companyId,
|
|
@@ -774,7 +774,7 @@ async function ClientJsonApiDelete(params) {
|
|
|
774
774
|
language: params.language,
|
|
775
775
|
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _37 => _37.additionalHeaders])
|
|
776
776
|
});
|
|
777
|
-
return
|
|
777
|
+
return _chunkGHE4VT2Rjs.translateResponse.call(void 0, {
|
|
778
778
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
779
779
|
apiResponse,
|
|
780
780
|
companyId: params.companyId,
|
|
@@ -987,7 +987,7 @@ var ModuleRegistrar = (_class2 = class {
|
|
|
987
987
|
}).map((key) => modulesClass[key]);
|
|
988
988
|
data.forEach((item) => {
|
|
989
989
|
if (item && item.model) {
|
|
990
|
-
|
|
990
|
+
_chunkGHE4VT2Rjs.DataClassRegistry.registerObjectClass(item, item.model);
|
|
991
991
|
}
|
|
992
992
|
});
|
|
993
993
|
this._isBootstrapped = true;
|
|
@@ -997,7 +997,7 @@ var ModuleRegistrar = (_class2 = class {
|
|
|
997
997
|
*/
|
|
998
998
|
static reset() {
|
|
999
999
|
this._isBootstrapped = false;
|
|
1000
|
-
|
|
1000
|
+
_chunkGHE4VT2Rjs.DataClassRegistry.clear();
|
|
1001
1001
|
}
|
|
1002
1002
|
}, _class2.__initStatic2(), _class2);
|
|
1003
1003
|
|
|
@@ -1020,20 +1020,20 @@ var ModuleRegistryClass = class {
|
|
|
1020
1020
|
get(name) {
|
|
1021
1021
|
let module = this._modules.get(name);
|
|
1022
1022
|
if (!module) {
|
|
1023
|
-
const didBootstrap =
|
|
1023
|
+
const didBootstrap = _chunkGHE4VT2Rjs.tryBootstrap.call(void 0, );
|
|
1024
1024
|
if (didBootstrap) {
|
|
1025
1025
|
module = this._modules.get(name);
|
|
1026
1026
|
}
|
|
1027
1027
|
}
|
|
1028
1028
|
if (!module) {
|
|
1029
|
-
const hint =
|
|
1029
|
+
const hint = _chunkGHE4VT2Rjs.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.";
|
|
1030
1030
|
throw new Error(`Module "${String(name)}" not registered. ${hint}`);
|
|
1031
1031
|
}
|
|
1032
1032
|
return module;
|
|
1033
1033
|
}
|
|
1034
1034
|
findByName(moduleName) {
|
|
1035
1035
|
if (this._modules.size === 0) {
|
|
1036
|
-
|
|
1036
|
+
_chunkGHE4VT2Rjs.tryBootstrap.call(void 0, );
|
|
1037
1037
|
}
|
|
1038
1038
|
for (const module of this._modules.values()) {
|
|
1039
1039
|
if (module.name === moduleName) {
|
|
@@ -1044,7 +1044,7 @@ var ModuleRegistryClass = class {
|
|
|
1044
1044
|
}
|
|
1045
1045
|
getAllPageUrls() {
|
|
1046
1046
|
if (this._modules.size === 0) {
|
|
1047
|
-
|
|
1047
|
+
_chunkGHE4VT2Rjs.tryBootstrap.call(void 0, );
|
|
1048
1048
|
}
|
|
1049
1049
|
const seen = /* @__PURE__ */ new Set();
|
|
1050
1050
|
const result = [];
|
|
@@ -1061,7 +1061,7 @@ var ModuleRegistryClass = class {
|
|
|
1061
1061
|
findByModelName(modelName) {
|
|
1062
1062
|
let module = this._modules.get(modelName);
|
|
1063
1063
|
if (!module) {
|
|
1064
|
-
const didBootstrap =
|
|
1064
|
+
const didBootstrap = _chunkGHE4VT2Rjs.tryBootstrap.call(void 0, );
|
|
1065
1065
|
if (didBootstrap) {
|
|
1066
1066
|
module = this._modules.get(modelName);
|
|
1067
1067
|
}
|
|
@@ -1083,7 +1083,7 @@ var ModuleRegistryClass = class {
|
|
|
1083
1083
|
}
|
|
1084
1084
|
getAll() {
|
|
1085
1085
|
if (this._modules.size === 0) {
|
|
1086
|
-
|
|
1086
|
+
_chunkGHE4VT2Rjs.tryBootstrap.call(void 0, );
|
|
1087
1087
|
}
|
|
1088
1088
|
return Array.from(this._modules.values());
|
|
1089
1089
|
}
|
|
@@ -3037,7 +3037,7 @@ var AuthService = class extends AbstractService {
|
|
|
3037
3037
|
}
|
|
3038
3038
|
static async login(params) {
|
|
3039
3039
|
const language = params.language || "en-US";
|
|
3040
|
-
const apiResponse = await
|
|
3040
|
+
const apiResponse = await _chunkGHE4VT2Rjs.JsonApiPost.call(void 0, {
|
|
3041
3041
|
classKey: Modules.Auth,
|
|
3042
3042
|
endpoint: new EndpointCreator({ endpoint: Modules.Auth, id: "login" }).generate(),
|
|
3043
3043
|
body: { email: params.email, password: params.password },
|
|
@@ -3071,7 +3071,7 @@ var AuthService = class extends AbstractService {
|
|
|
3071
3071
|
}
|
|
3072
3072
|
static async logout(params) {
|
|
3073
3073
|
const language = _optionalChain([params, 'optionalAccess', _78 => _78.language]) || "en-US";
|
|
3074
|
-
await
|
|
3074
|
+
await _chunkGHE4VT2Rjs.JsonApiDelete.call(void 0, {
|
|
3075
3075
|
classKey: Modules.Auth,
|
|
3076
3076
|
endpoint: new EndpointCreator({ endpoint: Modules.Auth }).generate(),
|
|
3077
3077
|
language
|
|
@@ -3083,7 +3083,7 @@ var AuthService = class extends AbstractService {
|
|
|
3083
3083
|
}
|
|
3084
3084
|
static async initialiseForgotPassword(params) {
|
|
3085
3085
|
const language = params.language || "en-US";
|
|
3086
|
-
const response = await
|
|
3086
|
+
const response = await _chunkGHE4VT2Rjs.JsonApiPost.call(void 0, {
|
|
3087
3087
|
classKey: Modules.Auth,
|
|
3088
3088
|
endpoint: new EndpointCreator({ endpoint: Modules.Auth, id: "forgot" }).generate(),
|
|
3089
3089
|
body: { email: params.email },
|
|
@@ -3112,7 +3112,7 @@ var AuthService = class extends AbstractService {
|
|
|
3112
3112
|
}
|
|
3113
3113
|
static async validateCode(params) {
|
|
3114
3114
|
const language = params.language || "en-US";
|
|
3115
|
-
const apiResponse = await
|
|
3115
|
+
const apiResponse = await _chunkGHE4VT2Rjs.JsonApiGet.call(void 0, {
|
|
3116
3116
|
classKey: Modules.Auth,
|
|
3117
3117
|
endpoint: new EndpointCreator({ endpoint: Modules.Auth, id: "validate", childEndpoint: params.code }).generate(),
|
|
3118
3118
|
language
|
|
@@ -3156,7 +3156,7 @@ var AuthService = class extends AbstractService {
|
|
|
3156
3156
|
}
|
|
3157
3157
|
static async completeOAuthRegistration(params) {
|
|
3158
3158
|
const endpoint = new EndpointCreator({ endpoint: Modules.Auth, id: "oauth", childEndpoint: "complete" });
|
|
3159
|
-
const response = await
|
|
3159
|
+
const response = await _chunkGHE4VT2Rjs.JsonApiPost.call(void 0, {
|
|
3160
3160
|
classKey: Modules.Auth,
|
|
3161
3161
|
endpoint: endpoint.generate(),
|
|
3162
3162
|
body: params,
|
|
@@ -4953,7 +4953,7 @@ var StripePromotionCodeService = class {
|
|
|
4953
4953
|
* @returns Validation result with discount details if valid
|
|
4954
4954
|
*/
|
|
4955
4955
|
static async validatePromotionCode(params) {
|
|
4956
|
-
const response = await
|
|
4956
|
+
const response = await _chunkGHE4VT2Rjs.JsonApiPost.call(void 0, {
|
|
4957
4957
|
classKey: Modules.StripePromotionCode,
|
|
4958
4958
|
endpoint: `${STRIPE_PROMOTION_CODE_ENDPOINT}/validate`,
|
|
4959
4959
|
body: {
|
|
@@ -10232,4 +10232,4 @@ var AuditLogModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (facto
|
|
|
10232
10232
|
|
|
10233
10233
|
|
|
10234
10234
|
exports.RehydrationFactory = RehydrationFactory; exports.AbstractApiData = AbstractApiData; exports.getLastApiTotal = getLastApiTotal; exports.clearLastApiTotal = clearLastApiTotal; exports.getLastApiMeta = getLastApiMeta; exports.clearLastApiMeta = clearLastApiMeta; exports.configureI18n = configureI18n; exports.useI18nRouter = useI18nRouter; exports.useI18nTranslations = useI18nTranslations; exports.getI18nLink = getI18nLink; exports.useI18nLocale = useI18nLocale; exports.useI18nDateFnsLocale = useI18nDateFnsLocale; 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;
|
|
10235
|
-
//# sourceMappingURL=chunk-
|
|
10235
|
+
//# sourceMappingURL=chunk-5PNDDYGL.js.map
|