@carlonicora/nextjs-jsonapi 1.119.0 → 1.120.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/{BlockNoteEditor-BPACLNMB.js → BlockNoteEditor-MQWCI6TX.js} +20 -20
  2. package/dist/{BlockNoteEditor-BPACLNMB.js.map → BlockNoteEditor-MQWCI6TX.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-CEDKBT67.mjs → BlockNoteEditor-NW7SS2YJ.mjs} +5 -5
  4. package/dist/{JsonApiRequest-SN3DNFDR.mjs → JsonApiRequest-4ISXX7PC.mjs} +2 -2
  5. package/dist/JsonApiRequest-P3VQ2WIS.js +26 -0
  6. package/dist/{JsonApiRequest-HE5LTEYK.js.map → JsonApiRequest-P3VQ2WIS.js.map} +1 -1
  7. package/dist/billing/index.js +347 -347
  8. package/dist/billing/index.mjs +4 -4
  9. package/dist/{chunk-55Q43DI5.js → chunk-5NNJYJSI.js} +9 -9
  10. package/dist/{chunk-55Q43DI5.js.map → chunk-5NNJYJSI.js.map} +1 -1
  11. package/dist/{chunk-WC2BTKJP.mjs → chunk-DKFXGCG2.mjs} +2 -1
  12. package/dist/chunk-DKFXGCG2.mjs.map +1 -0
  13. package/dist/{chunk-RCMIVTVL.js → chunk-EIOEYXY3.js} +2 -1
  14. package/dist/chunk-EIOEYXY3.js.map +1 -0
  15. package/dist/{chunk-FWOS6PC5.mjs → chunk-IUKSHJPS.mjs} +7 -5
  16. package/dist/chunk-IUKSHJPS.mjs.map +1 -0
  17. package/dist/{chunk-5U7QDGDQ.mjs → chunk-JL3X3LQR.mjs} +3 -3
  18. package/dist/{chunk-DXTOA7OO.js → chunk-MJ2TMIK3.js} +701 -701
  19. package/dist/{chunk-DXTOA7OO.js.map → chunk-MJ2TMIK3.js.map} +1 -1
  20. package/dist/{chunk-4SPL6QH3.mjs → chunk-S4BL7L3J.mjs} +6 -6
  21. package/dist/{chunk-6P7MEU7Q.js → chunk-YCMYYYBP.js} +32 -30
  22. package/dist/chunk-YCMYYYBP.js.map +1 -0
  23. package/dist/client/index.js +5 -5
  24. package/dist/client/index.mjs +4 -4
  25. package/dist/components/index.js +5 -5
  26. package/dist/components/index.mjs +4 -4
  27. package/dist/contexts/index.js +5 -5
  28. package/dist/contexts/index.mjs +4 -4
  29. package/dist/core/index.js +3 -3
  30. package/dist/core/index.mjs +2 -2
  31. package/dist/features/help/index.js +37 -37
  32. package/dist/features/help/index.mjs +4 -4
  33. package/dist/index.js +4 -4
  34. package/dist/index.mjs +3 -3
  35. package/dist/server/index.js +12 -12
  36. package/dist/server/index.mjs +2 -2
  37. package/package.json +1 -1
  38. package/src/core/abstracts/ClientAbstractService.ts +2 -0
  39. package/src/core/utils/translateResponse.ts +1 -0
  40. package/dist/JsonApiRequest-HE5LTEYK.js +0 -26
  41. package/dist/chunk-6P7MEU7Q.js.map +0 -1
  42. package/dist/chunk-FWOS6PC5.mjs.map +0 -1
  43. package/dist/chunk-RCMIVTVL.js.map +0 -1
  44. package/dist/chunk-WC2BTKJP.mjs.map +0 -1
  45. /package/dist/{BlockNoteEditor-CEDKBT67.mjs.map → BlockNoteEditor-NW7SS2YJ.mjs.map} +0 -0
  46. /package/dist/{JsonApiRequest-SN3DNFDR.mjs.map → JsonApiRequest-4ISXX7PC.mjs.map} +0 -0
  47. /package/dist/{chunk-5U7QDGDQ.mjs.map → chunk-JL3X3LQR.mjs.map} +0 -0
  48. /package/dist/{chunk-4SPL6QH3.mjs.map → chunk-S4BL7L3J.mjs.map} +0 -0
@@ -20,7 +20,7 @@ import {
20
20
  useI18nLocale,
21
21
  useI18nRouter,
22
22
  useI18nTranslations
23
- } from "./chunk-5U7QDGDQ.mjs";
23
+ } from "./chunk-JL3X3LQR.mjs";
24
24
  import {
25
25
  AVAILABLE_OAUTH_SCOPES,
26
26
  AssistantMessage,
@@ -60,7 +60,7 @@ import {
60
60
  showToast,
61
61
  useComposedRefs,
62
62
  useIsMobile
63
- } from "./chunk-FWOS6PC5.mjs";
63
+ } from "./chunk-IUKSHJPS.mjs";
64
64
  import {
65
65
  JsonApiContext
66
66
  } from "./chunk-VOXD3ZLY.mjs";
@@ -9801,7 +9801,7 @@ import { useRef as useRef15 } from "react";
9801
9801
  import dynamic from "next/dynamic";
9802
9802
  import React17 from "react";
9803
9803
  import { jsx as jsx77 } from "react/jsx-runtime";
9804
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-CEDKBT67.mjs"), {
9804
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-NW7SS2YJ.mjs"), {
9805
9805
  ssr: false
9806
9806
  });
9807
9807
  var BlockNoteEditorContainer = React17.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -15100,7 +15100,7 @@ function useJsonApiGet(params) {
15100
15100
  setLoading(true);
15101
15101
  setError(null);
15102
15102
  try {
15103
- const { JsonApiGet } = await import("./JsonApiRequest-SN3DNFDR.mjs");
15103
+ const { JsonApiGet } = await import("./JsonApiRequest-4ISXX7PC.mjs");
15104
15104
  const language = navigator.language.split("-")[0] || "en";
15105
15105
  const apiResponse = await JsonApiGet({
15106
15106
  classKey: params.classKey,
@@ -15205,7 +15205,7 @@ function useJsonApiMutation(config) {
15205
15205
  setLoading(true);
15206
15206
  setError(null);
15207
15207
  try {
15208
- const { JsonApiPost, JsonApiPut, JsonApiPatch, JsonApiDelete } = await import("./JsonApiRequest-SN3DNFDR.mjs");
15208
+ const { JsonApiPost, JsonApiPut, JsonApiPatch, JsonApiDelete } = await import("./JsonApiRequest-4ISXX7PC.mjs");
15209
15209
  const language = navigator.language.split("-")[0] || "en";
15210
15210
  let apiResponse;
15211
15211
  switch (config.method) {
@@ -23107,4 +23107,4 @@ export {
23107
23107
  useOAuthClients,
23108
23108
  useOAuthClient
23109
23109
  };
23110
- //# sourceMappingURL=chunk-4SPL6QH3.mjs.map
23110
+ //# sourceMappingURL=chunk-S4BL7L3J.mjs.map
@@ -14,7 +14,7 @@ var _chunkIBS6NI7Djs = require('./chunk-IBS6NI7D.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkRCMIVTVLjs = require('./chunk-RCMIVTVL.js');
17
+ var _chunkEIOEYXY3js = require('./chunk-EIOEYXY3.js');
18
18
 
19
19
 
20
20
  var _chunk7QVYU63Ejs = require('./chunk-7QVYU63E.js');
@@ -25,12 +25,12 @@ var RehydrationFactory = class {
25
25
  _chunk7QVYU63Ejs.__name.call(void 0, this, "RehydrationFactory");
26
26
  }
27
27
  static rehydrate(classKey, data) {
28
- const factoryClass = _chunkRCMIVTVLjs.DataClassRegistry.get(classKey);
28
+ const factoryClass = _chunkEIOEYXY3js.DataClassRegistry.get(classKey);
29
29
  const instance = new factoryClass();
30
30
  return instance.rehydrate(data);
31
31
  }
32
32
  static rehydrateList(classKey, data) {
33
- const factoryClass = _chunkRCMIVTVLjs.DataClassRegistry.get(classKey);
33
+ const factoryClass = _chunkEIOEYXY3js.DataClassRegistry.get(classKey);
34
34
  const response = data.map((item) => {
35
35
  const instance = new factoryClass();
36
36
  return instance.rehydrate(item);
@@ -326,7 +326,7 @@ var AbstractService = class {
326
326
  * Make an API call with automatic environment detection and error handling.
327
327
  */
328
328
  static async callApi(params) {
329
- const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-HE5LTEYK.js")));
329
+ const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-P3VQ2WIS.js")));
330
330
  let apiResponse;
331
331
  let language = "en";
332
332
  if (typeof window === "undefined") {
@@ -421,7 +421,7 @@ var AbstractService = class {
421
421
  * Make an API call and return both data and meta from the response.
422
422
  */
423
423
  static async callApiWithMeta(params) {
424
- const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-HE5LTEYK.js")));
424
+ const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-P3VQ2WIS.js")));
425
425
  let apiResponse;
426
426
  let language = "en";
427
427
  if (typeof window === "undefined") {
@@ -506,7 +506,7 @@ var AbstractService = class {
506
506
  * Get raw JSON:API response data without deserialization.
507
507
  */
508
508
  static async getRawData(params) {
509
- const { JsonApiGet: JsonApiGet2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-HE5LTEYK.js")));
509
+ const { JsonApiGet: JsonApiGet2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-P3VQ2WIS.js")));
510
510
  let language = "en";
511
511
  if (typeof window === "undefined") {
512
512
  const { getLocale } = await Promise.resolve().then(() => _interopRequireWildcard(require("next-intl/server")));
@@ -541,7 +541,7 @@ var _clientConfig = null;
541
541
  function configureClientJsonApi(config) {
542
542
  _clientConfig = config;
543
543
  if (config.bootstrapper) {
544
- _chunkRCMIVTVLjs.setBootstrapper.call(void 0, config.bootstrapper);
544
+ _chunkEIOEYXY3js.setBootstrapper.call(void 0, config.bootstrapper);
545
545
  config.bootstrapper();
546
546
  }
547
547
  }
@@ -599,7 +599,7 @@ async function ClientJsonApiGet(params) {
599
599
  language: params.language,
600
600
  additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _26 => _26.additionalHeaders])
601
601
  });
602
- return _chunkRCMIVTVLjs.translateResponse.call(void 0, {
602
+ return _chunkEIOEYXY3js.translateResponse.call(void 0, {
603
603
  classKey: params.classKey,
604
604
  apiResponse,
605
605
  companyId: params.companyId,
@@ -621,7 +621,7 @@ async function ClientJsonApiPost(params) {
621
621
  if (!body) {
622
622
  body = {};
623
623
  } else if (params.overridesJsonApiCreation !== true) {
624
- body = _chunkRCMIVTVLjs.JsonApiDataFactory.create(params.classKey, body);
624
+ body = _chunkEIOEYXY3js.JsonApiDataFactory.create(params.classKey, body);
625
625
  }
626
626
  const apiResponse = await _chunkIBS6NI7Djs.directFetch.call(void 0, {
627
627
  method: "POST",
@@ -633,7 +633,7 @@ async function ClientJsonApiPost(params) {
633
633
  language: params.language,
634
634
  additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _27 => _27.additionalHeaders])
635
635
  });
636
- return _chunkRCMIVTVLjs.translateResponse.call(void 0, {
636
+ return _chunkEIOEYXY3js.translateResponse.call(void 0, {
637
637
  classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
638
638
  apiResponse,
639
639
  companyId: params.companyId,
@@ -648,7 +648,7 @@ async function ClientJsonApiPut(params) {
648
648
  if (!body) {
649
649
  body = {};
650
650
  } else {
651
- body = _chunkRCMIVTVLjs.JsonApiDataFactory.create(params.classKey, body);
651
+ body = _chunkEIOEYXY3js.JsonApiDataFactory.create(params.classKey, body);
652
652
  }
653
653
  const apiResponse = await _chunkIBS6NI7Djs.directFetch.call(void 0, {
654
654
  method: "PUT",
@@ -660,7 +660,7 @@ async function ClientJsonApiPut(params) {
660
660
  language: params.language,
661
661
  additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _28 => _28.additionalHeaders])
662
662
  });
663
- return _chunkRCMIVTVLjs.translateResponse.call(void 0, {
663
+ return _chunkEIOEYXY3js.translateResponse.call(void 0, {
664
664
  classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
665
665
  apiResponse,
666
666
  companyId: params.companyId,
@@ -675,7 +675,7 @@ async function ClientJsonApiPatch(params) {
675
675
  if (!body) {
676
676
  body = {};
677
677
  } else if (params.overridesJsonApiCreation !== true) {
678
- body = _chunkRCMIVTVLjs.JsonApiDataFactory.create(params.classKey, body);
678
+ body = _chunkEIOEYXY3js.JsonApiDataFactory.create(params.classKey, body);
679
679
  }
680
680
  const apiResponse = await _chunkIBS6NI7Djs.directFetch.call(void 0, {
681
681
  method: "PATCH",
@@ -687,7 +687,7 @@ async function ClientJsonApiPatch(params) {
687
687
  language: params.language,
688
688
  additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _29 => _29.additionalHeaders])
689
689
  });
690
- return _chunkRCMIVTVLjs.translateResponse.call(void 0, {
690
+ return _chunkEIOEYXY3js.translateResponse.call(void 0, {
691
691
  classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
692
692
  apiResponse,
693
693
  companyId: params.companyId,
@@ -706,7 +706,7 @@ async function ClientJsonApiDelete(params) {
706
706
  language: params.language,
707
707
  additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _30 => _30.additionalHeaders])
708
708
  });
709
- return _chunkRCMIVTVLjs.translateResponse.call(void 0, {
709
+ return _chunkEIOEYXY3js.translateResponse.call(void 0, {
710
710
  classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
711
711
  apiResponse,
712
712
  companyId: params.companyId,
@@ -861,6 +861,7 @@ var ClientAbstractService = class {
861
861
  const error = new Error(`${apiResponse.response}:${apiResponse.error}`);
862
862
  error.status = apiResponse.response;
863
863
  error.digest = `HTTP_${apiResponse.response}`;
864
+ error.body = apiResponse.raw;
864
865
  throw error;
865
866
  }
866
867
  }
@@ -889,6 +890,7 @@ var ClientAbstractService = class {
889
890
  const error = new Error(`${apiResponse.response}:${apiResponse.error}`);
890
891
  error.status = apiResponse.response;
891
892
  error.digest = `HTTP_${apiResponse.response}`;
893
+ error.body = apiResponse.raw;
892
894
  throw error;
893
895
  }
894
896
  }
@@ -916,7 +918,7 @@ var ModuleRegistrar = (_class2 = class {
916
918
  }).map((key) => modulesClass[key]);
917
919
  data.forEach((item) => {
918
920
  if (item && item.model) {
919
- _chunkRCMIVTVLjs.DataClassRegistry.registerObjectClass(item, item.model);
921
+ _chunkEIOEYXY3js.DataClassRegistry.registerObjectClass(item, item.model);
920
922
  }
921
923
  });
922
924
  this._isBootstrapped = true;
@@ -926,7 +928,7 @@ var ModuleRegistrar = (_class2 = class {
926
928
  */
927
929
  static reset() {
928
930
  this._isBootstrapped = false;
929
- _chunkRCMIVTVLjs.DataClassRegistry.clear();
931
+ _chunkEIOEYXY3js.DataClassRegistry.clear();
930
932
  }
931
933
  }, _class2.__initStatic2(), _class2);
932
934
 
@@ -949,20 +951,20 @@ var ModuleRegistryClass = class {
949
951
  get(name) {
950
952
  let module = this._modules.get(name);
951
953
  if (!module) {
952
- const didBootstrap = _chunkRCMIVTVLjs.tryBootstrap.call(void 0, );
954
+ const didBootstrap = _chunkEIOEYXY3js.tryBootstrap.call(void 0, );
953
955
  if (didBootstrap) {
954
956
  module = this._modules.get(name);
955
957
  }
956
958
  }
957
959
  if (!module) {
958
- const hint = _chunkRCMIVTVLjs.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.";
960
+ const hint = _chunkEIOEYXY3js.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.";
959
961
  throw new Error(`Module "${String(name)}" not registered. ${hint}`);
960
962
  }
961
963
  return module;
962
964
  }
963
965
  findByName(moduleName) {
964
966
  if (this._modules.size === 0) {
965
- _chunkRCMIVTVLjs.tryBootstrap.call(void 0, );
967
+ _chunkEIOEYXY3js.tryBootstrap.call(void 0, );
966
968
  }
967
969
  for (const module of this._modules.values()) {
968
970
  if (module.name === moduleName) {
@@ -973,7 +975,7 @@ var ModuleRegistryClass = class {
973
975
  }
974
976
  getAllPageUrls() {
975
977
  if (this._modules.size === 0) {
976
- _chunkRCMIVTVLjs.tryBootstrap.call(void 0, );
978
+ _chunkEIOEYXY3js.tryBootstrap.call(void 0, );
977
979
  }
978
980
  const seen = /* @__PURE__ */ new Set();
979
981
  const result = [];
@@ -990,7 +992,7 @@ var ModuleRegistryClass = class {
990
992
  findByModelName(modelName) {
991
993
  let module = this._modules.get(modelName);
992
994
  if (!module) {
993
- const didBootstrap = _chunkRCMIVTVLjs.tryBootstrap.call(void 0, );
995
+ const didBootstrap = _chunkEIOEYXY3js.tryBootstrap.call(void 0, );
994
996
  if (didBootstrap) {
995
997
  module = this._modules.get(modelName);
996
998
  }
@@ -1012,7 +1014,7 @@ var ModuleRegistryClass = class {
1012
1014
  }
1013
1015
  getAll() {
1014
1016
  if (this._modules.size === 0) {
1015
- _chunkRCMIVTVLjs.tryBootstrap.call(void 0, );
1017
+ _chunkEIOEYXY3js.tryBootstrap.call(void 0, );
1016
1018
  }
1017
1019
  return Array.from(this._modules.values());
1018
1020
  }
@@ -2866,7 +2868,7 @@ var AuthService = class extends AbstractService {
2866
2868
  }
2867
2869
  static async login(params) {
2868
2870
  const language = params.language || "en-US";
2869
- const apiResponse = await _chunkRCMIVTVLjs.JsonApiPost.call(void 0, {
2871
+ const apiResponse = await _chunkEIOEYXY3js.JsonApiPost.call(void 0, {
2870
2872
  classKey: Modules.Auth,
2871
2873
  endpoint: new EndpointCreator({ endpoint: Modules.Auth, id: "login" }).generate(),
2872
2874
  body: { email: params.email, password: params.password },
@@ -2900,7 +2902,7 @@ var AuthService = class extends AbstractService {
2900
2902
  }
2901
2903
  static async logout(params) {
2902
2904
  const language = _optionalChain([params, 'optionalAccess', _70 => _70.language]) || "en-US";
2903
- await _chunkRCMIVTVLjs.JsonApiDelete.call(void 0, {
2905
+ await _chunkEIOEYXY3js.JsonApiDelete.call(void 0, {
2904
2906
  classKey: Modules.Auth,
2905
2907
  endpoint: new EndpointCreator({ endpoint: Modules.Auth }).generate(),
2906
2908
  language
@@ -2912,7 +2914,7 @@ var AuthService = class extends AbstractService {
2912
2914
  }
2913
2915
  static async initialiseForgotPassword(params) {
2914
2916
  const language = params.language || "en-US";
2915
- const response = await _chunkRCMIVTVLjs.JsonApiPost.call(void 0, {
2917
+ const response = await _chunkEIOEYXY3js.JsonApiPost.call(void 0, {
2916
2918
  classKey: Modules.Auth,
2917
2919
  endpoint: new EndpointCreator({ endpoint: Modules.Auth, id: "forgot" }).generate(),
2918
2920
  body: { email: params.email },
@@ -2941,7 +2943,7 @@ var AuthService = class extends AbstractService {
2941
2943
  }
2942
2944
  static async validateCode(params) {
2943
2945
  const language = params.language || "en-US";
2944
- const apiResponse = await _chunkRCMIVTVLjs.JsonApiGet.call(void 0, {
2946
+ const apiResponse = await _chunkEIOEYXY3js.JsonApiGet.call(void 0, {
2945
2947
  classKey: Modules.Auth,
2946
2948
  endpoint: new EndpointCreator({ endpoint: Modules.Auth, id: "validate", childEndpoint: params.code }).generate(),
2947
2949
  language
@@ -2985,7 +2987,7 @@ var AuthService = class extends AbstractService {
2985
2987
  }
2986
2988
  static async completeOAuthRegistration(params) {
2987
2989
  const endpoint = new EndpointCreator({ endpoint: Modules.Auth, id: "oauth", childEndpoint: "complete" });
2988
- const response = await _chunkRCMIVTVLjs.JsonApiPost.call(void 0, {
2990
+ const response = await _chunkEIOEYXY3js.JsonApiPost.call(void 0, {
2989
2991
  classKey: Modules.Auth,
2990
2992
  endpoint: endpoint.generate(),
2991
2993
  body: params,
@@ -4748,7 +4750,7 @@ var StripePromotionCodeService = class {
4748
4750
  * @returns Validation result with discount details if valid
4749
4751
  */
4750
4752
  static async validatePromotionCode(params) {
4751
- const response = await _chunkRCMIVTVLjs.JsonApiPost.call(void 0, {
4753
+ const response = await _chunkEIOEYXY3js.JsonApiPost.call(void 0, {
4752
4754
  classKey: Modules.StripePromotionCode,
4753
4755
  endpoint: `${STRIPE_PROMOTION_CODE_ENDPOINT}/validate`,
4754
4756
  body: {
@@ -7845,4 +7847,4 @@ var AuditLogModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (facto
7845
7847
 
7846
7848
 
7847
7849
  exports.RehydrationFactory = RehydrationFactory; exports.AbstractApiData = AbstractApiData; exports.HttpMethod = HttpMethod; exports.getLastApiTotal = getLastApiTotal; exports.clearLastApiTotal = clearLastApiTotal; 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.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.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.StripePriceService = StripePriceService; exports.StripePriceModule = StripePriceModule; exports.StripeProduct = StripeProduct; 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.Company = Company; exports.CompanyFields = CompanyFields; exports.CompanyService = CompanyService; 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.Assistant = Assistant; exports.AssistantModule = AssistantModule; exports.AssistantMessage = AssistantMessage; exports.AssistantService = AssistantService; exports.AssistantMessageModule = AssistantMessageModule; exports.AssistantMessageService = AssistantMessageService; 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.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.AuditLog = AuditLog; exports.AuditLogService = AuditLogService; exports.AuditLogModule = AuditLogModule;
7848
- //# sourceMappingURL=chunk-6P7MEU7Q.js.map
7850
+ //# sourceMappingURL=chunk-YCMYYYBP.js.map