@carlonicora/nextjs-jsonapi 6.5.0 → 6.7.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/{BlockNoteEditor-CT4XUXPC.js → BlockNoteEditor-BSFR2GPI.js} +19 -19
- package/dist/{BlockNoteEditor-CT4XUXPC.js.map → BlockNoteEditor-BSFR2GPI.js.map} +1 -1
- package/dist/{BlockNoteEditor-M6UQRVRK.mjs → BlockNoteEditor-HWJBQAKG.mjs} +4 -4
- package/dist/{BlockNoteViewer-XZJ5Y7WN.mjs → BlockNoteViewer-IIBUU7J7.mjs} +2 -2
- package/dist/{BlockNoteViewer-MFLWF3Y2.js → BlockNoteViewer-NHS6CCMS.js} +3 -3
- package/dist/{BlockNoteViewer-MFLWF3Y2.js.map → BlockNoteViewer-NHS6CCMS.js.map} +1 -1
- package/dist/{auth.interface-D5606g19.d.ts → auth.interface-B4tRE0k0.d.ts} +2 -0
- package/dist/{auth.interface-tsOuc0Fi.d.mts → auth.interface-DuX87BZ3.d.mts} +2 -0
- package/dist/billing/index.js +492 -492
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-DSGP6GC3.js → chunk-3HOJNAZB.js} +8 -8
- package/dist/{chunk-DSGP6GC3.js.map → chunk-3HOJNAZB.js.map} +1 -1
- package/dist/{chunk-XZCCIKX3.js → chunk-6KE7UBYY.js} +504 -233
- package/dist/chunk-6KE7UBYY.js.map +1 -0
- package/dist/{chunk-QJIDORHM.js → chunk-73XWQA6U.js} +4 -4
- package/dist/{chunk-QJIDORHM.js.map → chunk-73XWQA6U.js.map} +1 -1
- package/dist/{chunk-DYOSXIEL.mjs → chunk-EC4PQ44E.mjs} +2 -2
- package/dist/{chunk-RUJCWOJE.mjs → chunk-OYRJ32KR.mjs} +2 -2
- package/dist/{chunk-Y7JIQNM6.js → chunk-PCCUPEBU.js} +1066 -873
- package/dist/chunk-PCCUPEBU.js.map +1 -0
- package/dist/{chunk-ELQHE2DK.js → chunk-PYDDFFQM.js} +3 -3
- package/dist/{chunk-ELQHE2DK.js.map → chunk-PYDDFFQM.js.map} +1 -1
- package/dist/{chunk-3FD6Y734.mjs → chunk-QNIWATQD.mjs} +272 -1
- package/dist/chunk-QNIWATQD.mjs.map +1 -0
- package/dist/{chunk-TIT4CJYQ.mjs → chunk-S4NKWMX5.mjs} +3729 -3536
- package/dist/chunk-S4NKWMX5.mjs.map +1 -0
- package/dist/{chunk-O2TEUH5S.mjs → chunk-XYKDBOCE.mjs} +2 -2
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.d.mts +39 -4
- package/dist/components/index.d.ts +39 -4
- package/dist/components/index.js +12 -4
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +11 -3
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.d.mts +144 -5
- package/dist/core/index.d.ts +144 -5
- package/dist/core/index.js +18 -2
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +17 -1
- package/dist/email-automations/index.js +92 -92
- package/dist/email-automations/index.mjs +3 -3
- package/dist/features/analytics/index.js +121 -121
- package/dist/features/analytics/index.mjs +4 -4
- package/dist/features/analytics/server.js +4 -4
- package/dist/features/analytics/server.mjs +2 -2
- package/dist/features/blog/index.js +150 -150
- package/dist/features/blog/index.mjs +3 -3
- package/dist/features/blog/server.js +16 -16
- package/dist/features/blog/server.mjs +1 -1
- package/dist/features/help/index.js +37 -37
- package/dist/features/help/index.mjs +3 -3
- package/dist/features/tokenusage/index.js +127 -127
- package/dist/features/tokenusage/index.mjs +4 -4
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +19 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -2
- package/dist/{s3.service-CzFBDEuQ.d.mts → s3.service-CRGJbO-6.d.mts} +18 -2
- package/dist/{s3.service-BTCpmp5g.d.ts → s3.service-DZG-VyLY.d.ts} +18 -2
- package/dist/server/index.d.mts +2 -2
- package/dist/server/index.d.ts +2 -2
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +2 -2
- package/messages/en.json +24 -0
- package/messages/it.json +24 -0
- package/package.json +1 -1
- package/src/components/index.ts +1 -0
- package/src/core/index.ts +6 -0
- package/src/core/registry/ModuleRegistry.ts +15 -0
- package/src/features/account-deletion/account-deletion.module.ts +13 -0
- package/src/features/account-deletion/components/AccountDeletionAdminTrigger.tsx +183 -0
- package/src/features/account-deletion/components/AccountDeletionCancelledNotice.tsx +51 -0
- package/src/features/account-deletion/components/AccountDeletionKeepContainer.tsx +74 -0
- package/src/features/account-deletion/components/index.ts +3 -0
- package/src/features/account-deletion/data/__tests__/AccountDeletion.spec.ts +89 -0
- package/src/features/account-deletion/data/account-deletion.interface.ts +22 -0
- package/src/features/account-deletion/data/account-deletion.service.ts +69 -0
- package/src/features/account-deletion/data/account-deletion.ts +90 -0
- package/src/features/account-deletion/data/index.ts +3 -0
- package/src/features/account-deletion/index.ts +4 -0
- package/src/features/account-deletion/utils/__tests__/account-deletion-notice.spec.ts +40 -0
- package/src/features/account-deletion/utils/account-deletion-notice.ts +27 -0
- package/src/features/account-deletion/utils/index.ts +1 -0
- package/src/features/auth/components/forms/Cookies.tsx +3 -0
- package/src/features/auth/components/forms/TwoFactorChallenge.tsx +2 -0
- package/src/features/auth/data/__tests__/auth.spec.ts +36 -0
- package/src/features/auth/data/__tests__/pending-registration.spec.ts +37 -0
- package/src/features/auth/data/auth.interface.ts +2 -0
- package/src/features/auth/data/auth.service.ts +23 -0
- package/src/features/auth/data/auth.ts +7 -0
- package/src/features/auth/data/index.ts +2 -0
- package/src/features/auth/data/pending-registration.interface.ts +10 -0
- package/src/features/auth/data/pending-registration.ts +57 -0
- package/src/features/auth/pending-registration.module.ts +9 -0
- package/src/features/user/contexts/UserContext.tsx +8 -0
- package/dist/chunk-3FD6Y734.mjs.map +0 -1
- package/dist/chunk-TIT4CJYQ.mjs.map +0 -1
- package/dist/chunk-XZCCIKX3.js.map +0 -1
- package/dist/chunk-Y7JIQNM6.js.map +0 -1
- /package/dist/{BlockNoteEditor-M6UQRVRK.mjs.map → BlockNoteEditor-HWJBQAKG.mjs.map} +0 -0
- /package/dist/{BlockNoteViewer-XZJ5Y7WN.mjs.map → BlockNoteViewer-IIBUU7J7.mjs.map} +0 -0
- /package/dist/{chunk-DYOSXIEL.mjs.map → chunk-EC4PQ44E.mjs.map} +0 -0
- /package/dist/{chunk-RUJCWOJE.mjs.map → chunk-OYRJ32KR.mjs.map} +0 -0
- /package/dist/{chunk-O2TEUH5S.mjs.map → chunk-XYKDBOCE.mjs.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
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(); } } 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; var _class39; var _class40; var _class41; var _class42; var _class43;
|
|
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(); } } 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; var _class39; var _class40; var _class41; var _class42; var _class43; var _class44; var _class45;
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
@@ -1038,6 +1038,14 @@ var ModuleRegistryClass = class {
|
|
|
1038
1038
|
}
|
|
1039
1039
|
return module;
|
|
1040
1040
|
}
|
|
1041
|
+
/**
|
|
1042
|
+
* True when a module is registered under `name`. Never throws, so a component
|
|
1043
|
+
* can check for an opt-in module the app may not have registered.
|
|
1044
|
+
*/
|
|
1045
|
+
has(name) {
|
|
1046
|
+
if (this._modules.size === 0) _chunkGHE4VT2Rjs.tryBootstrap.call(void 0, );
|
|
1047
|
+
return this._modules.has(name);
|
|
1048
|
+
}
|
|
1041
1049
|
findByName(moduleName) {
|
|
1042
1050
|
if (this._modules.size === 0) {
|
|
1043
1051
|
_chunkGHE4VT2Rjs.tryBootstrap.call(void 0, );
|
|
@@ -2572,13 +2580,186 @@ function getValueFromPath(obj, path, userId) {
|
|
|
2572
2580
|
}
|
|
2573
2581
|
_chunk7QVYU63Ejs.__name.call(void 0, getValueFromPath, "getValueFromPath");
|
|
2574
2582
|
|
|
2583
|
+
// src/features/account-deletion/data/account-deletion.ts
|
|
2584
|
+
|
|
2585
|
+
var AccountDeletion = (_class4 = class extends AbstractApiData {constructor(...args) { super(...args); _class4.prototype.__init.call(this);_class4.prototype.__init2.call(this);_class4.prototype.__init3.call(this);_class4.prototype.__init4.call(this); }
|
|
2586
|
+
static {
|
|
2587
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "AccountDeletion");
|
|
2588
|
+
}
|
|
2589
|
+
|
|
2590
|
+
|
|
2591
|
+
__init() {this._hasDeliverableEmail = false}
|
|
2592
|
+
__init2() {this._hasActiveSubscription = false}
|
|
2593
|
+
__init3() {this._deletesCompany = false}
|
|
2594
|
+
__init4() {this._ownedCount = 0}
|
|
2595
|
+
|
|
2596
|
+
get requestedAt() {
|
|
2597
|
+
return this._requestedAt;
|
|
2598
|
+
}
|
|
2599
|
+
get scheduledAt() {
|
|
2600
|
+
return this._scheduledAt;
|
|
2601
|
+
}
|
|
2602
|
+
get hasDeliverableEmail() {
|
|
2603
|
+
return this._hasDeliverableEmail;
|
|
2604
|
+
}
|
|
2605
|
+
get hasActiveSubscription() {
|
|
2606
|
+
return this._hasActiveSubscription;
|
|
2607
|
+
}
|
|
2608
|
+
get deletesCompany() {
|
|
2609
|
+
return this._deletesCompany;
|
|
2610
|
+
}
|
|
2611
|
+
get ownedCount() {
|
|
2612
|
+
return this._ownedCount;
|
|
2613
|
+
}
|
|
2614
|
+
get otherTables() {
|
|
2615
|
+
return _nullishCoalesce(this._otherTables, () => ( []));
|
|
2616
|
+
}
|
|
2617
|
+
rehydrate(data) {
|
|
2618
|
+
super.rehydrate(data);
|
|
2619
|
+
const attributes = _nullishCoalesce(data.jsonApi.attributes, () => ( {}));
|
|
2620
|
+
this._requestedAt = attributes.requestedAt ? new Date(attributes.requestedAt) : void 0;
|
|
2621
|
+
this._scheduledAt = attributes.scheduledAt ? new Date(attributes.scheduledAt) : void 0;
|
|
2622
|
+
this._hasDeliverableEmail = attributes.hasDeliverableEmail === true;
|
|
2623
|
+
this._hasActiveSubscription = attributes.hasActiveSubscription === true;
|
|
2624
|
+
this._deletesCompany = attributes.deletesCompany === true;
|
|
2625
|
+
this._ownedCount = typeof attributes.ownedCount === "number" ? attributes.ownedCount : 0;
|
|
2626
|
+
this._otherTables = Array.isArray(attributes.otherTables) ? attributes.otherTables : [];
|
|
2627
|
+
return this;
|
|
2628
|
+
}
|
|
2629
|
+
createJsonApi(data) {
|
|
2630
|
+
const response = {
|
|
2631
|
+
data: {
|
|
2632
|
+
type: Modules.AccountDeletion.name,
|
|
2633
|
+
id: data.id,
|
|
2634
|
+
attributes: {
|
|
2635
|
+
confirmation: data.confirmation
|
|
2636
|
+
},
|
|
2637
|
+
meta: {},
|
|
2638
|
+
relationships: {}
|
|
2639
|
+
},
|
|
2640
|
+
included: []
|
|
2641
|
+
};
|
|
2642
|
+
return response;
|
|
2643
|
+
}
|
|
2644
|
+
/**
|
|
2645
|
+
* Body of the public "Keep my account" call. The caller is not signed in and
|
|
2646
|
+
* has no id to send: the API validates a client UUID and ignores its value.
|
|
2647
|
+
*/
|
|
2648
|
+
createKeepJsonApi(params) {
|
|
2649
|
+
return {
|
|
2650
|
+
data: {
|
|
2651
|
+
type: Modules.AccountDeletion.name,
|
|
2652
|
+
id: _uuid.v4.call(void 0, ),
|
|
2653
|
+
attributes: {
|
|
2654
|
+
token: params.token
|
|
2655
|
+
}
|
|
2656
|
+
}
|
|
2657
|
+
};
|
|
2658
|
+
}
|
|
2659
|
+
}, _class4);
|
|
2660
|
+
|
|
2661
|
+
// src/features/account-deletion/account-deletion.module.ts
|
|
2662
|
+
var AccountDeletionModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
2663
|
+
name: "account-deletions",
|
|
2664
|
+
pageUrl: "/account-deletions",
|
|
2665
|
+
model: AccountDeletion
|
|
2666
|
+
}), "AccountDeletionModule");
|
|
2667
|
+
|
|
2668
|
+
// src/features/account-deletion/data/account-deletion.service.ts
|
|
2669
|
+
var AccountDeletionService = class extends AbstractService {
|
|
2670
|
+
static {
|
|
2671
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "AccountDeletionService");
|
|
2672
|
+
}
|
|
2673
|
+
/**
|
|
2674
|
+
* GET the signed-in user's deletion status and what a deletion would remove.
|
|
2675
|
+
*/
|
|
2676
|
+
static async findMine() {
|
|
2677
|
+
return this.callApi({
|
|
2678
|
+
type: Modules.AccountDeletion,
|
|
2679
|
+
method: "GET" /* GET */,
|
|
2680
|
+
endpoint: new EndpointCreator({ endpoint: Modules.AccountDeletion, id: "me" }).generate()
|
|
2681
|
+
});
|
|
2682
|
+
}
|
|
2683
|
+
/**
|
|
2684
|
+
* GET another user's deletion status (platform administrators only).
|
|
2685
|
+
*/
|
|
2686
|
+
static async findByUser(params) {
|
|
2687
|
+
return this.callApi({
|
|
2688
|
+
type: Modules.AccountDeletion,
|
|
2689
|
+
method: "GET" /* GET */,
|
|
2690
|
+
endpoint: new EndpointCreator({ endpoint: Modules.AccountDeletion, id: params.userId }).generate()
|
|
2691
|
+
});
|
|
2692
|
+
}
|
|
2693
|
+
/**
|
|
2694
|
+
* POST the signed-in user's own deletion request. `params.id` must be the
|
|
2695
|
+
* signed-in user's id.
|
|
2696
|
+
*/
|
|
2697
|
+
static async request(params) {
|
|
2698
|
+
return this.callApi({
|
|
2699
|
+
type: Modules.AccountDeletion,
|
|
2700
|
+
method: "POST" /* POST */,
|
|
2701
|
+
endpoint: new EndpointCreator({ endpoint: Modules.AccountDeletion }).generate(),
|
|
2702
|
+
input: params
|
|
2703
|
+
});
|
|
2704
|
+
}
|
|
2705
|
+
/**
|
|
2706
|
+
* POST a deletion request on behalf of another user (platform administrators
|
|
2707
|
+
* only). Runs the same 7-day request as the user's own.
|
|
2708
|
+
*/
|
|
2709
|
+
static async requestForUser(params) {
|
|
2710
|
+
return this.callApi({
|
|
2711
|
+
type: Modules.AccountDeletion,
|
|
2712
|
+
method: "POST" /* POST */,
|
|
2713
|
+
endpoint: new EndpointCreator({ endpoint: Modules.AccountDeletion, id: params.id }).generate(),
|
|
2714
|
+
input: params
|
|
2715
|
+
});
|
|
2716
|
+
}
|
|
2717
|
+
/**
|
|
2718
|
+
* POST the token from the "Keep my account" email link. Public: no session.
|
|
2719
|
+
* Throws on any failure, so the page can show the "link no longer works" text.
|
|
2720
|
+
*/
|
|
2721
|
+
static async keep(params) {
|
|
2722
|
+
const accountDeletion = new AccountDeletion();
|
|
2723
|
+
await this.callApi({
|
|
2724
|
+
type: Modules.AccountDeletion,
|
|
2725
|
+
method: "POST" /* POST */,
|
|
2726
|
+
endpoint: new EndpointCreator({ endpoint: Modules.AccountDeletion, id: "keep" }).generate(),
|
|
2727
|
+
input: accountDeletion.createKeepJsonApi({ token: params.token }),
|
|
2728
|
+
overridesJsonApiCreation: true,
|
|
2729
|
+
// OK - model method provides proper structure
|
|
2730
|
+
suppressGlobalError: true
|
|
2731
|
+
});
|
|
2732
|
+
}
|
|
2733
|
+
};
|
|
2734
|
+
|
|
2735
|
+
// src/features/account-deletion/utils/account-deletion-notice.ts
|
|
2736
|
+
var ACCOUNT_DELETION_CANCELLED_KEY = "nja:accountDeletionCancelled";
|
|
2737
|
+
function markAccountDeletionCancelled() {
|
|
2738
|
+
try {
|
|
2739
|
+
sessionStorage.setItem(ACCOUNT_DELETION_CANCELLED_KEY, "1");
|
|
2740
|
+
} catch (e4) {
|
|
2741
|
+
}
|
|
2742
|
+
}
|
|
2743
|
+
_chunk7QVYU63Ejs.__name.call(void 0, markAccountDeletionCancelled, "markAccountDeletionCancelled");
|
|
2744
|
+
function consumeAccountDeletionCancelled() {
|
|
2745
|
+
try {
|
|
2746
|
+
const value = sessionStorage.getItem(ACCOUNT_DELETION_CANCELLED_KEY);
|
|
2747
|
+
if (value === null) return false;
|
|
2748
|
+
sessionStorage.removeItem(ACCOUNT_DELETION_CANCELLED_KEY);
|
|
2749
|
+
return true;
|
|
2750
|
+
} catch (e5) {
|
|
2751
|
+
return false;
|
|
2752
|
+
}
|
|
2753
|
+
}
|
|
2754
|
+
_chunk7QVYU63Ejs.__name.call(void 0, consumeAccountDeletionCancelled, "consumeAccountDeletionCancelled");
|
|
2755
|
+
|
|
2575
2756
|
// src/features/auth/data/totp-authenticator.ts
|
|
2576
|
-
var TotpAuthenticator = (
|
|
2757
|
+
var TotpAuthenticator = (_class5 = class extends AbstractApiData {constructor(...args2) { super(...args2); _class5.prototype.__init5.call(this);_class5.prototype.__init6.call(this); }
|
|
2577
2758
|
static {
|
|
2578
2759
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TotpAuthenticator");
|
|
2579
2760
|
}
|
|
2580
|
-
|
|
2581
|
-
|
|
2761
|
+
__init5() {this._name = ""}
|
|
2762
|
+
__init6() {this._verified = false}
|
|
2582
2763
|
|
|
2583
2764
|
get name() {
|
|
2584
2765
|
return this._name;
|
|
@@ -2596,7 +2777,7 @@ var TotpAuthenticator = (_class4 = class extends AbstractApiData {constructor(..
|
|
|
2596
2777
|
this._lastUsedAt = data.jsonApi.attributes.lastUsedAt ? new Date(data.jsonApi.attributes.lastUsedAt) : void 0;
|
|
2597
2778
|
return this;
|
|
2598
2779
|
}
|
|
2599
|
-
},
|
|
2780
|
+
}, _class5);
|
|
2600
2781
|
|
|
2601
2782
|
// src/features/auth/totp-authenticator.module.ts
|
|
2602
2783
|
var TotpAuthenticatorModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
@@ -2606,13 +2787,13 @@ var TotpAuthenticatorModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
2606
2787
|
}), "TotpAuthenticatorModule");
|
|
2607
2788
|
|
|
2608
2789
|
// src/features/auth/data/totp-setup.ts
|
|
2609
|
-
var TotpSetup = (
|
|
2790
|
+
var TotpSetup = (_class6 = class extends AbstractApiData {constructor(...args3) { super(...args3); _class6.prototype.__init7.call(this);_class6.prototype.__init8.call(this);_class6.prototype.__init9.call(this); }
|
|
2610
2791
|
static {
|
|
2611
2792
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TotpSetup");
|
|
2612
2793
|
}
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2794
|
+
__init7() {this._qrCodeUri = ""}
|
|
2795
|
+
__init8() {this._secret = ""}
|
|
2796
|
+
__init9() {this._authenticatorId = ""}
|
|
2616
2797
|
get qrCodeUri() {
|
|
2617
2798
|
return this._qrCodeUri;
|
|
2618
2799
|
}
|
|
@@ -2641,7 +2822,7 @@ var TotpSetup = (_class5 = class extends AbstractApiData {constructor(...args2)
|
|
|
2641
2822
|
}
|
|
2642
2823
|
};
|
|
2643
2824
|
}
|
|
2644
|
-
},
|
|
2825
|
+
}, _class6);
|
|
2645
2826
|
|
|
2646
2827
|
// src/features/auth/totp-setup.module.ts
|
|
2647
2828
|
var TotpSetupModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
@@ -2702,14 +2883,14 @@ var TotpVerifyLoginModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
2702
2883
|
}), "TotpVerifyLoginModule");
|
|
2703
2884
|
|
|
2704
2885
|
// src/features/auth/data/passkey.ts
|
|
2705
|
-
var Passkey = (
|
|
2886
|
+
var Passkey = (_class7 = class extends AbstractApiData {constructor(...args4) { super(...args4); _class7.prototype.__init10.call(this);_class7.prototype.__init11.call(this);_class7.prototype.__init12.call(this);_class7.prototype.__init13.call(this); }
|
|
2706
2887
|
static {
|
|
2707
2888
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "Passkey");
|
|
2708
2889
|
}
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2890
|
+
__init10() {this._name = ""}
|
|
2891
|
+
__init11() {this._credentialId = ""}
|
|
2892
|
+
__init12() {this._deviceType = ""}
|
|
2893
|
+
__init13() {this._backedUp = false}
|
|
2713
2894
|
|
|
2714
2895
|
get name() {
|
|
2715
2896
|
return this._name;
|
|
@@ -2735,7 +2916,7 @@ var Passkey = (_class6 = class extends AbstractApiData {constructor(...args3) {
|
|
|
2735
2916
|
this._lastUsedAt = data.jsonApi.attributes.lastUsedAt ? new Date(data.jsonApi.attributes.lastUsedAt) : void 0;
|
|
2736
2917
|
return this;
|
|
2737
2918
|
}
|
|
2738
|
-
},
|
|
2919
|
+
}, _class7);
|
|
2739
2920
|
|
|
2740
2921
|
// src/features/auth/passkey.module.ts
|
|
2741
2922
|
var PasskeyModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
@@ -2745,12 +2926,12 @@ var PasskeyModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factor
|
|
|
2745
2926
|
}), "PasskeyModule");
|
|
2746
2927
|
|
|
2747
2928
|
// src/features/auth/data/passkey-registration-options.ts
|
|
2748
|
-
var PasskeyRegistrationOptions = (
|
|
2929
|
+
var PasskeyRegistrationOptions = (_class8 = class extends AbstractApiData {constructor(...args5) { super(...args5); _class8.prototype.__init14.call(this);_class8.prototype.__init15.call(this); }
|
|
2749
2930
|
static {
|
|
2750
2931
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "PasskeyRegistrationOptions");
|
|
2751
2932
|
}
|
|
2752
|
-
|
|
2753
|
-
|
|
2933
|
+
__init14() {this._pendingId = ""}
|
|
2934
|
+
__init15() {this._options = {}}
|
|
2754
2935
|
get pendingId() {
|
|
2755
2936
|
return this._pendingId;
|
|
2756
2937
|
}
|
|
@@ -2775,7 +2956,7 @@ var PasskeyRegistrationOptions = (_class7 = class extends AbstractApiData {const
|
|
|
2775
2956
|
}
|
|
2776
2957
|
};
|
|
2777
2958
|
}
|
|
2778
|
-
},
|
|
2959
|
+
}, _class8);
|
|
2779
2960
|
|
|
2780
2961
|
// src/features/auth/passkey-registration-options.module.ts
|
|
2781
2962
|
var PasskeyRegistrationOptionsModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
@@ -2785,14 +2966,14 @@ var PasskeyRegistrationOptionsModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.c
|
|
|
2785
2966
|
}), "PasskeyRegistrationOptionsModule");
|
|
2786
2967
|
|
|
2787
2968
|
// src/features/auth/data/passkey-registration-verify.ts
|
|
2788
|
-
var PasskeyRegistrationVerify = (
|
|
2969
|
+
var PasskeyRegistrationVerify = (_class9 = class extends AbstractApiData {constructor(...args6) { super(...args6); _class9.prototype.__init16.call(this);_class9.prototype.__init17.call(this);_class9.prototype.__init18.call(this);_class9.prototype.__init19.call(this); }
|
|
2789
2970
|
static {
|
|
2790
2971
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "PasskeyRegistrationVerify");
|
|
2791
2972
|
}
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2973
|
+
__init16() {this._name = ""}
|
|
2974
|
+
__init17() {this._credentialId = ""}
|
|
2975
|
+
__init18() {this._deviceType = ""}
|
|
2976
|
+
__init19() {this._backedUp = false}
|
|
2796
2977
|
|
|
2797
2978
|
get name() {
|
|
2798
2979
|
return this._name;
|
|
@@ -2831,7 +3012,7 @@ var PasskeyRegistrationVerify = (_class8 = class extends AbstractApiData {constr
|
|
|
2831
3012
|
}
|
|
2832
3013
|
};
|
|
2833
3014
|
}
|
|
2834
|
-
},
|
|
3015
|
+
}, _class9);
|
|
2835
3016
|
|
|
2836
3017
|
// src/features/auth/passkey-registration-verify.module.ts
|
|
2837
3018
|
var PasskeyRegistrationVerifyModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
@@ -2892,12 +3073,12 @@ var PasskeyVerifyLoginModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
|
|
|
2892
3073
|
}), "PasskeyVerifyLoginModule");
|
|
2893
3074
|
|
|
2894
3075
|
// src/features/auth/data/passkey-authentication-options.ts
|
|
2895
|
-
var PasskeyAuthenticationOptions = (
|
|
3076
|
+
var PasskeyAuthenticationOptions = (_class10 = class extends AbstractApiData {constructor(...args7) { super(...args7); _class10.prototype.__init20.call(this);_class10.prototype.__init21.call(this); }
|
|
2896
3077
|
static {
|
|
2897
3078
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "PasskeyAuthenticationOptions");
|
|
2898
3079
|
}
|
|
2899
|
-
|
|
2900
|
-
|
|
3080
|
+
__init20() {this._pendingId = ""}
|
|
3081
|
+
__init21() {this._options = {}}
|
|
2901
3082
|
get pendingId() {
|
|
2902
3083
|
return this._pendingId;
|
|
2903
3084
|
}
|
|
@@ -2919,7 +3100,7 @@ var PasskeyAuthenticationOptions = (_class9 = class extends AbstractApiData {con
|
|
|
2919
3100
|
}
|
|
2920
3101
|
};
|
|
2921
3102
|
}
|
|
2922
|
-
},
|
|
3103
|
+
}, _class10);
|
|
2923
3104
|
|
|
2924
3105
|
// src/features/auth/passkey-authentication-options.module.ts
|
|
2925
3106
|
var PasskeyAuthenticationOptionsModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
@@ -2954,13 +3135,13 @@ var TwoFactorEnableModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
2954
3135
|
}), "TwoFactorEnableModule");
|
|
2955
3136
|
|
|
2956
3137
|
// src/features/auth/data/two-factor-challenge.ts
|
|
2957
|
-
var TwoFactorChallenge = (
|
|
3138
|
+
var TwoFactorChallenge = (_class11 = class extends AbstractApiData {constructor(...args8) { super(...args8); _class11.prototype.__init22.call(this);_class11.prototype.__init23.call(this);_class11.prototype.__init24.call(this); }
|
|
2958
3139
|
static {
|
|
2959
3140
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TwoFactorChallenge");
|
|
2960
3141
|
}
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
3142
|
+
__init22() {this._pendingToken = ""}
|
|
3143
|
+
__init23() {this._availableMethods = []}
|
|
3144
|
+
__init24() {this._expiresAt = /* @__PURE__ */ new Date()}
|
|
2964
3145
|
get pendingToken() {
|
|
2965
3146
|
return this._pendingToken;
|
|
2966
3147
|
}
|
|
@@ -2988,7 +3169,7 @@ var TwoFactorChallenge = (_class10 = class extends AbstractApiData {constructor(
|
|
|
2988
3169
|
}
|
|
2989
3170
|
};
|
|
2990
3171
|
}
|
|
2991
|
-
},
|
|
3172
|
+
}, _class11);
|
|
2992
3173
|
|
|
2993
3174
|
// src/features/auth/two-factor-challenge.module.ts
|
|
2994
3175
|
var TwoFactorChallengeModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
@@ -3034,13 +3215,18 @@ function getTokenHandler() {
|
|
|
3034
3215
|
_chunk7QVYU63Ejs.__name.call(void 0, getTokenHandler, "getTokenHandler");
|
|
3035
3216
|
|
|
3036
3217
|
// src/features/auth/data/auth.ts
|
|
3037
|
-
var Auth = class extends AbstractApiData {
|
|
3218
|
+
var Auth = (_class12 = class extends AbstractApiData {constructor(...args9) { super(...args9); _class12.prototype.__init25.call(this); }
|
|
3038
3219
|
static {
|
|
3039
3220
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "Auth");
|
|
3040
3221
|
}
|
|
3041
3222
|
|
|
3042
3223
|
|
|
3043
3224
|
|
|
3225
|
+
__init25() {this._deletionCancelled = false}
|
|
3226
|
+
/** True on the session created by the login that cancelled a pending account deletion. */
|
|
3227
|
+
get deletionCancelled() {
|
|
3228
|
+
return this._deletionCancelled;
|
|
3229
|
+
}
|
|
3044
3230
|
get token() {
|
|
3045
3231
|
if (!this._token) throw new Error("Token is not defined");
|
|
3046
3232
|
return this._token;
|
|
@@ -3057,6 +3243,7 @@ var Auth = class extends AbstractApiData {
|
|
|
3057
3243
|
super.rehydrate(data);
|
|
3058
3244
|
this._token = _nullishCoalesce(data.jsonApi.attributes.token, () => ( void 0));
|
|
3059
3245
|
this._refreshToken = _nullishCoalesce(data.jsonApi.attributes.refreshToken, () => ( void 0));
|
|
3246
|
+
this._deletionCancelled = data.jsonApi.attributes.deletionCancelled === true;
|
|
3060
3247
|
this._user = this._readIncluded(data, "user", Modules.User);
|
|
3061
3248
|
return this;
|
|
3062
3249
|
}
|
|
@@ -3088,7 +3275,7 @@ var Auth = class extends AbstractApiData {
|
|
|
3088
3275
|
}
|
|
3089
3276
|
return response;
|
|
3090
3277
|
}
|
|
3091
|
-
};
|
|
3278
|
+
}, _class12);
|
|
3092
3279
|
|
|
3093
3280
|
// src/features/auth/data/auth.service.ts
|
|
3094
3281
|
var AuthService = class extends AbstractService {
|
|
@@ -3112,6 +3299,7 @@ var AuthService = class extends AbstractService {
|
|
|
3112
3299
|
return challenge;
|
|
3113
3300
|
}
|
|
3114
3301
|
const auth = apiResponse.data;
|
|
3302
|
+
if (auth.deletionCancelled) markAccountDeletionCancelled();
|
|
3115
3303
|
const handler = getTokenHandler();
|
|
3116
3304
|
if (handler) {
|
|
3117
3305
|
await handler.updateToken({
|
|
@@ -3214,6 +3402,23 @@ var AuthService = class extends AbstractService {
|
|
|
3214
3402
|
});
|
|
3215
3403
|
}
|
|
3216
3404
|
}
|
|
3405
|
+
/**
|
|
3406
|
+
* Reads an OAuth sign-up waiting for consent. Throws an Error carrying
|
|
3407
|
+
* `status` (404 when the pending registration expired); callers catch it.
|
|
3408
|
+
*/
|
|
3409
|
+
static async findPendingRegistration(params) {
|
|
3410
|
+
return this.callApi({
|
|
3411
|
+
type: Modules.PendingRegistration,
|
|
3412
|
+
method: "GET" /* GET */,
|
|
3413
|
+
endpoint: new EndpointCreator({
|
|
3414
|
+
endpoint: Modules.Auth,
|
|
3415
|
+
id: "oauth",
|
|
3416
|
+
childEndpoint: Modules.PendingRegistration,
|
|
3417
|
+
childId: params.pendingId
|
|
3418
|
+
}).generate(),
|
|
3419
|
+
suppressGlobalError: true
|
|
3420
|
+
});
|
|
3421
|
+
}
|
|
3217
3422
|
static async completeOAuthRegistration(params) {
|
|
3218
3423
|
const endpoint = new EndpointCreator({ endpoint: Modules.Auth, id: "oauth", childEndpoint: "complete" });
|
|
3219
3424
|
const response = await _chunkGHE4VT2Rjs.JsonApiPost.call(void 0, {
|
|
@@ -3229,15 +3434,15 @@ var AuthService = class extends AbstractService {
|
|
|
3229
3434
|
};
|
|
3230
3435
|
|
|
3231
3436
|
// src/features/auth/data/two-factor-status.ts
|
|
3232
|
-
var TwoFactorStatus = (
|
|
3437
|
+
var TwoFactorStatus = (_class13 = class extends AbstractApiData {constructor(...args10) { super(...args10); _class13.prototype.__init26.call(this);_class13.prototype.__init27.call(this);_class13.prototype.__init28.call(this);_class13.prototype.__init29.call(this); }
|
|
3233
3438
|
static {
|
|
3234
3439
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TwoFactorStatus");
|
|
3235
3440
|
}
|
|
3236
|
-
|
|
3441
|
+
__init26() {this._isEnabled = false}
|
|
3237
3442
|
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3443
|
+
__init27() {this._totpAuthenticators = []}
|
|
3444
|
+
__init28() {this._passkeys = []}
|
|
3445
|
+
__init29() {this._backupCodesCount = 0}
|
|
3241
3446
|
get isEnabled() {
|
|
3242
3447
|
return this._isEnabled;
|
|
3243
3448
|
}
|
|
@@ -3260,7 +3465,7 @@ var TwoFactorStatus = (_class11 = class extends AbstractApiData {constructor(...
|
|
|
3260
3465
|
this._backupCodesCount = _nullishCoalesce(data.jsonApi.attributes.backupCodesCount, () => ( 0));
|
|
3261
3466
|
return this;
|
|
3262
3467
|
}
|
|
3263
|
-
},
|
|
3468
|
+
}, _class13);
|
|
3264
3469
|
|
|
3265
3470
|
// src/features/auth/data/two-factor.service.ts
|
|
3266
3471
|
var TwoFactorService = class extends AbstractService {
|
|
@@ -3546,6 +3751,57 @@ var TwoFactorService = class extends AbstractService {
|
|
|
3546
3751
|
}
|
|
3547
3752
|
};
|
|
3548
3753
|
|
|
3754
|
+
// src/features/auth/data/pending-registration.ts
|
|
3755
|
+
var PendingRegistration = class extends AbstractApiData {
|
|
3756
|
+
static {
|
|
3757
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "PendingRegistration");
|
|
3758
|
+
}
|
|
3759
|
+
|
|
3760
|
+
|
|
3761
|
+
|
|
3762
|
+
|
|
3763
|
+
|
|
3764
|
+
|
|
3765
|
+
get name() {
|
|
3766
|
+
return _nullishCoalesce(this._name, () => ( ""));
|
|
3767
|
+
}
|
|
3768
|
+
get email() {
|
|
3769
|
+
return _nullishCoalesce(this._email, () => ( ""));
|
|
3770
|
+
}
|
|
3771
|
+
get avatar() {
|
|
3772
|
+
return this._avatar;
|
|
3773
|
+
}
|
|
3774
|
+
get provider() {
|
|
3775
|
+
return _nullishCoalesce(this._provider, () => ( ""));
|
|
3776
|
+
}
|
|
3777
|
+
get hasPass() {
|
|
3778
|
+
return _nullishCoalesce(this._hasPass, () => ( false));
|
|
3779
|
+
}
|
|
3780
|
+
get emailInUse() {
|
|
3781
|
+
return _nullishCoalesce(this._emailInUse, () => ( false));
|
|
3782
|
+
}
|
|
3783
|
+
rehydrate(data) {
|
|
3784
|
+
super.rehydrate(data);
|
|
3785
|
+
this._name = data.jsonApi.attributes.name;
|
|
3786
|
+
this._email = data.jsonApi.attributes.email;
|
|
3787
|
+
this._avatar = _nullishCoalesce(data.jsonApi.attributes.avatar, () => ( void 0));
|
|
3788
|
+
this._provider = data.jsonApi.attributes.provider;
|
|
3789
|
+
this._hasPass = _nullishCoalesce(data.jsonApi.attributes.hasPass, () => ( false));
|
|
3790
|
+
this._emailInUse = _nullishCoalesce(data.jsonApi.attributes.emailInUse, () => ( false));
|
|
3791
|
+
return this;
|
|
3792
|
+
}
|
|
3793
|
+
/** Read-only resource: the payload only identifies it. */
|
|
3794
|
+
createJsonApi(data) {
|
|
3795
|
+
return {
|
|
3796
|
+
data: {
|
|
3797
|
+
type: Modules.PendingRegistration.name,
|
|
3798
|
+
id: data.id,
|
|
3799
|
+
attributes: {}
|
|
3800
|
+
}
|
|
3801
|
+
};
|
|
3802
|
+
}
|
|
3803
|
+
};
|
|
3804
|
+
|
|
3549
3805
|
// src/features/auth/enums/AuthComponent.ts
|
|
3550
3806
|
var AuthComponent = /* @__PURE__ */ ((AuthComponent2) => {
|
|
3551
3807
|
AuthComponent2[AuthComponent2["Login"] = 0] = "Login";
|
|
@@ -3573,6 +3829,13 @@ var TwoFactorStatusModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
3573
3829
|
model: TwoFactorStatus
|
|
3574
3830
|
}), "TwoFactorStatusModule");
|
|
3575
3831
|
|
|
3832
|
+
// src/features/auth/pending-registration.module.ts
|
|
3833
|
+
var PendingRegistrationModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
3834
|
+
name: "pending-registrations",
|
|
3835
|
+
pageUrl: "/auth/consent",
|
|
3836
|
+
model: PendingRegistration
|
|
3837
|
+
}), "PendingRegistrationModule");
|
|
3838
|
+
|
|
3576
3839
|
// src/features/billing/data/billing.service.ts
|
|
3577
3840
|
var BillingService = class extends AbstractService {
|
|
3578
3841
|
static {
|
|
@@ -3729,7 +3992,7 @@ var PaymentMethod = class extends AbstractApiData {
|
|
|
3729
3992
|
};
|
|
3730
3993
|
|
|
3731
3994
|
// src/features/billing/stripe-customer/data/stripe-customer.ts
|
|
3732
|
-
var StripeCustomer = (
|
|
3995
|
+
var StripeCustomer = (_class14 = class extends AbstractApiData {constructor(...args11) { super(...args11); _class14.prototype.__init30.call(this); }
|
|
3733
3996
|
static {
|
|
3734
3997
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "StripeCustomer");
|
|
3735
3998
|
}
|
|
@@ -3739,7 +4002,7 @@ var StripeCustomer = (_class12 = class extends AbstractApiData {constructor(...a
|
|
|
3739
4002
|
|
|
3740
4003
|
|
|
3741
4004
|
|
|
3742
|
-
|
|
4005
|
+
__init30() {this._delinquent = false}
|
|
3743
4006
|
|
|
3744
4007
|
get stripeCustomerId() {
|
|
3745
4008
|
if (!this._stripeCustomerId) throw new Error("stripeCustomerId is not defined");
|
|
@@ -3781,7 +4044,7 @@ var StripeCustomer = (_class12 = class extends AbstractApiData {constructor(...a
|
|
|
3781
4044
|
createJsonApi(_data) {
|
|
3782
4045
|
throw new Error("BillingCustomer is managed by Stripe and cannot be created directly");
|
|
3783
4046
|
}
|
|
3784
|
-
},
|
|
4047
|
+
}, _class14);
|
|
3785
4048
|
|
|
3786
4049
|
// src/features/billing/stripe-customer/data/stripe-customer.service.ts
|
|
3787
4050
|
var StripeCustomerService = class extends AbstractService {
|
|
@@ -3916,7 +4179,7 @@ var StripePaymentMethodModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(voi
|
|
|
3916
4179
|
}), "StripePaymentMethodModule");
|
|
3917
4180
|
|
|
3918
4181
|
// src/features/billing/stripe-invoice/data/stripe-invoice.ts
|
|
3919
|
-
var StripeInvoice = (
|
|
4182
|
+
var StripeInvoice = (_class15 = class extends AbstractApiData {constructor(...args12) { super(...args12); _class15.prototype.__init31.call(this);_class15.prototype.__init32.call(this);_class15.prototype.__init33.call(this); }
|
|
3920
4183
|
static {
|
|
3921
4184
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "StripeInvoice");
|
|
3922
4185
|
}
|
|
@@ -3937,11 +4200,11 @@ var StripeInvoice = (_class13 = class extends AbstractApiData {constructor(...ar
|
|
|
3937
4200
|
|
|
3938
4201
|
|
|
3939
4202
|
|
|
3940
|
-
|
|
3941
|
-
|
|
4203
|
+
__init31() {this._attemptCount = 0}
|
|
4204
|
+
__init32() {this._attempted = false}
|
|
3942
4205
|
|
|
3943
4206
|
|
|
3944
|
-
|
|
4207
|
+
__init33() {this._paid = false}
|
|
3945
4208
|
|
|
3946
4209
|
get stripeInvoiceId() {
|
|
3947
4210
|
if (!this._stripeInvoiceId) throw new Error("stripeInvoiceId is not defined");
|
|
@@ -4056,7 +4319,7 @@ var StripeInvoice = (_class13 = class extends AbstractApiData {constructor(...ar
|
|
|
4056
4319
|
createJsonApi(_data) {
|
|
4057
4320
|
throw new Error("Invoice is managed by Stripe and cannot be created directly");
|
|
4058
4321
|
}
|
|
4059
|
-
},
|
|
4322
|
+
}, _class15);
|
|
4060
4323
|
|
|
4061
4324
|
// src/features/billing/stripe-invoice/data/stripe-invoice.interface.ts
|
|
4062
4325
|
var InvoiceStatus = /* @__PURE__ */ ((InvoiceStatus2) => {
|
|
@@ -4130,14 +4393,14 @@ var StripeInvoiceModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
|
|
|
4130
4393
|
}), "StripeInvoiceModule");
|
|
4131
4394
|
|
|
4132
4395
|
// src/features/billing/stripe-price/data/stripe-price.ts
|
|
4133
|
-
var StripePrice = (
|
|
4396
|
+
var StripePrice = (_class16 = class extends AbstractApiData {constructor(...args13) { super(...args13); _class16.prototype.__init34.call(this);_class16.prototype.__init35.call(this); }
|
|
4134
4397
|
static {
|
|
4135
4398
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "StripePrice");
|
|
4136
4399
|
}
|
|
4137
4400
|
|
|
4138
4401
|
|
|
4139
4402
|
|
|
4140
|
-
|
|
4403
|
+
__init34() {this._active = true}
|
|
4141
4404
|
|
|
4142
4405
|
|
|
4143
4406
|
|
|
@@ -4149,7 +4412,7 @@ var StripePrice = (_class14 = class extends AbstractApiData {constructor(...args
|
|
|
4149
4412
|
|
|
4150
4413
|
|
|
4151
4414
|
|
|
4152
|
-
|
|
4415
|
+
__init35() {this._priceFeatures = []}
|
|
4153
4416
|
// Platform Feature entities
|
|
4154
4417
|
get stripePriceId() {
|
|
4155
4418
|
if (!this._stripePriceId) throw new Error("stripePriceId is not defined");
|
|
@@ -4279,7 +4542,7 @@ var StripePrice = (_class14 = class extends AbstractApiData {constructor(...args
|
|
|
4279
4542
|
}
|
|
4280
4543
|
return response;
|
|
4281
4544
|
}
|
|
4282
|
-
},
|
|
4545
|
+
}, _class16);
|
|
4283
4546
|
|
|
4284
4547
|
// src/features/billing/stripe-price/data/stripe-price.fields.ts
|
|
4285
4548
|
var StripePriceFields = /* @__PURE__ */ ((StripePriceFields2) => {
|
|
@@ -4413,16 +4676,16 @@ var StripePriceModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (fa
|
|
|
4413
4676
|
}), "StripePriceModule");
|
|
4414
4677
|
|
|
4415
4678
|
// src/features/billing/stripe-product/data/stripe-product.ts
|
|
4416
|
-
var StripeProduct = (
|
|
4679
|
+
var StripeProduct = (_class17 = class extends AbstractApiData {constructor(...args14) { super(...args14); _class17.prototype.__init36.call(this);_class17.prototype.__init37.call(this); }
|
|
4417
4680
|
static {
|
|
4418
4681
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "StripeProduct");
|
|
4419
4682
|
}
|
|
4420
4683
|
|
|
4421
4684
|
|
|
4422
4685
|
|
|
4423
|
-
|
|
4686
|
+
__init36() {this._active = true}
|
|
4424
4687
|
|
|
4425
|
-
|
|
4688
|
+
__init37() {this._stripePrices = []}
|
|
4426
4689
|
get stripeProductId() {
|
|
4427
4690
|
if (!this._stripeProductId) throw new Error("stripeProductId is not defined");
|
|
4428
4691
|
return this._stripeProductId;
|
|
@@ -4467,7 +4730,7 @@ var StripeProduct = (_class15 = class extends AbstractApiData {constructor(...ar
|
|
|
4467
4730
|
if (data.metadata) response.data.attributes.metadata = data.metadata;
|
|
4468
4731
|
return response;
|
|
4469
4732
|
}
|
|
4470
|
-
},
|
|
4733
|
+
}, _class17);
|
|
4471
4734
|
|
|
4472
4735
|
// src/features/billing/stripe-product/data/stripe-product.fields.ts
|
|
4473
4736
|
var StripeProductFields = /* @__PURE__ */ ((StripeProductFields2) => {
|
|
@@ -4591,7 +4854,7 @@ var StripeProductModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
|
|
|
4591
4854
|
}), "StripeProductModule");
|
|
4592
4855
|
|
|
4593
4856
|
// src/features/billing/stripe-subscription/data/stripe-subscription.ts
|
|
4594
|
-
var StripeSubscription = (
|
|
4857
|
+
var StripeSubscription = (_class18 = class extends AbstractApiData {constructor(...args15) { super(...args15); _class18.prototype.__init38.call(this); }
|
|
4595
4858
|
static {
|
|
4596
4859
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "StripeSubscription");
|
|
4597
4860
|
}
|
|
@@ -4599,7 +4862,7 @@ var StripeSubscription = (_class16 = class extends AbstractApiData {constructor(
|
|
|
4599
4862
|
|
|
4600
4863
|
|
|
4601
4864
|
|
|
4602
|
-
|
|
4865
|
+
__init38() {this._cancelAtPeriodEnd = false}
|
|
4603
4866
|
|
|
4604
4867
|
|
|
4605
4868
|
|
|
@@ -4704,7 +4967,7 @@ var StripeSubscription = (_class16 = class extends AbstractApiData {constructor(
|
|
|
4704
4967
|
}
|
|
4705
4968
|
return response;
|
|
4706
4969
|
}
|
|
4707
|
-
},
|
|
4970
|
+
}, _class18);
|
|
4708
4971
|
|
|
4709
4972
|
// src/features/billing/stripe-subscription/data/stripe-subscription.service.ts
|
|
4710
4973
|
var StripeSubscriptionService = class extends AbstractService {
|
|
@@ -5098,13 +5361,13 @@ var StripePromotionCodeService = class {
|
|
|
5098
5361
|
};
|
|
5099
5362
|
|
|
5100
5363
|
// src/features/billing/stripe-promotion-code/data/stripe-promotion-code.ts
|
|
5101
|
-
var StripePromotionCode = (
|
|
5364
|
+
var StripePromotionCode = (_class19 = class extends AbstractApiData {constructor(...args16) { super(...args16); _class19.prototype.__init39.call(this);_class19.prototype.__init40.call(this); }
|
|
5102
5365
|
static {
|
|
5103
5366
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "StripePromotionCode");
|
|
5104
5367
|
}
|
|
5105
|
-
|
|
5368
|
+
__init39() {this._valid = false}
|
|
5106
5369
|
|
|
5107
|
-
|
|
5370
|
+
__init40() {this._code = ""}
|
|
5108
5371
|
|
|
5109
5372
|
|
|
5110
5373
|
|
|
@@ -5151,7 +5414,7 @@ var StripePromotionCode = (_class17 = class extends AbstractApiData {constructor
|
|
|
5151
5414
|
this._errorMessage = data.jsonApi.attributes.errorMessage;
|
|
5152
5415
|
return this;
|
|
5153
5416
|
}
|
|
5154
|
-
},
|
|
5417
|
+
}, _class19);
|
|
5155
5418
|
|
|
5156
5419
|
// src/features/billing/stripe-promotion-code/stripe-promotion-code.module.ts
|
|
5157
5420
|
var StripePromotionCodeModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
@@ -5162,7 +5425,7 @@ var StripePromotionCodeModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(voi
|
|
|
5162
5425
|
}), "StripePromotionCodeModule");
|
|
5163
5426
|
|
|
5164
5427
|
// src/features/billing/stripe-coupon/data/stripe-coupon.ts
|
|
5165
|
-
var StripeCoupon = (
|
|
5428
|
+
var StripeCoupon = (_class20 = class _StripeCoupon extends AbstractApiData {constructor(...args17) { super(...args17); _class20.prototype.__init41.call(this);_class20.prototype.__init42.call(this);_class20.prototype.__init43.call(this);_class20.prototype.__init44.call(this); }
|
|
5166
5429
|
static {
|
|
5167
5430
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "StripeCoupon");
|
|
5168
5431
|
}
|
|
@@ -5174,12 +5437,12 @@ var StripeCoupon = (_class18 = class _StripeCoupon extends AbstractApiData {cons
|
|
|
5174
5437
|
|
|
5175
5438
|
|
|
5176
5439
|
|
|
5177
|
-
|
|
5440
|
+
__init41() {this._stripeProductIds = []}
|
|
5178
5441
|
|
|
5179
5442
|
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5443
|
+
__init42() {this._timesRedeemed = 0}
|
|
5444
|
+
__init43() {this._valid = true}
|
|
5445
|
+
__init44() {this._codes = []}
|
|
5183
5446
|
get stripeCouponId() {
|
|
5184
5447
|
if (!this._stripeCouponId) throw new Error("stripeCouponId is not defined");
|
|
5185
5448
|
return this._stripeCouponId;
|
|
@@ -5296,7 +5559,7 @@ var StripeCoupon = (_class18 = class _StripeCoupon extends AbstractApiData {cons
|
|
|
5296
5559
|
if (code.automatic !== void 0) attributes.automatic = code.automatic;
|
|
5297
5560
|
return attributes;
|
|
5298
5561
|
}
|
|
5299
|
-
},
|
|
5562
|
+
}, _class20);
|
|
5300
5563
|
|
|
5301
5564
|
// src/features/billing/stripe-coupon/data/stripe-coupon.fields.ts
|
|
5302
5565
|
var StripeCouponFields = /* @__PURE__ */ ((StripeCouponFields2) => {
|
|
@@ -5405,21 +5668,21 @@ var StripeCouponService = class extends AbstractService {
|
|
|
5405
5668
|
};
|
|
5406
5669
|
|
|
5407
5670
|
// src/features/billing/stripe-coupon/data/stripe-coupon-code.ts
|
|
5408
|
-
var StripeCouponCode = (
|
|
5671
|
+
var StripeCouponCode = (_class21 = class extends AbstractApiData {constructor(...args18) { super(...args18); _class21.prototype.__init45.call(this);_class21.prototype.__init46.call(this);_class21.prototype.__init47.call(this);_class21.prototype.__init48.call(this);_class21.prototype.__init49.call(this); }
|
|
5409
5672
|
static {
|
|
5410
5673
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "StripeCouponCode");
|
|
5411
5674
|
}
|
|
5412
5675
|
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5416
|
-
|
|
5676
|
+
__init45() {this._code = ""}
|
|
5677
|
+
__init46() {this._active = true}
|
|
5678
|
+
__init47() {this._automatic = false}
|
|
5679
|
+
__init48() {this._firstTimeTransaction = false}
|
|
5417
5680
|
|
|
5418
5681
|
|
|
5419
5682
|
|
|
5420
5683
|
|
|
5421
5684
|
|
|
5422
|
-
|
|
5685
|
+
__init49() {this._timesRedeemed = 0}
|
|
5423
5686
|
|
|
5424
5687
|
get stripePromotionCodeId() {
|
|
5425
5688
|
if (!this._stripePromotionCodeId) throw new Error("stripePromotionCodeId is not defined");
|
|
@@ -5509,7 +5772,7 @@ var StripeCouponCode = (_class19 = class extends AbstractApiData {constructor(..
|
|
|
5509
5772
|
}
|
|
5510
5773
|
};
|
|
5511
5774
|
}
|
|
5512
|
-
},
|
|
5775
|
+
}, _class21);
|
|
5513
5776
|
|
|
5514
5777
|
// src/features/billing/stripe-coupon/data/stripe-coupon-code.fields.ts
|
|
5515
5778
|
var StripeCouponCodeFields = /* @__PURE__ */ ((StripeCouponCodeFields2) => {
|
|
@@ -5607,7 +5870,7 @@ var StripeCouponCodeService = class extends AbstractService {
|
|
|
5607
5870
|
};
|
|
5608
5871
|
|
|
5609
5872
|
// src/features/billing/stripe-coupon/data/stripe-coupon-offer.ts
|
|
5610
|
-
var StripeCouponOffer = (
|
|
5873
|
+
var StripeCouponOffer = (_class22 = class extends AbstractApiData {constructor(...args19) { super(...args19); _class22.prototype.__init50.call(this);_class22.prototype.__init51.call(this); }
|
|
5611
5874
|
static {
|
|
5612
5875
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "StripeCouponOffer");
|
|
5613
5876
|
}
|
|
@@ -5617,8 +5880,8 @@ var StripeCouponOffer = (_class20 = class extends AbstractApiData {constructor(.
|
|
|
5617
5880
|
|
|
5618
5881
|
|
|
5619
5882
|
|
|
5620
|
-
|
|
5621
|
-
|
|
5883
|
+
__init50() {this._placesLeft = 0}
|
|
5884
|
+
__init51() {this._placesTotal = 0}
|
|
5622
5885
|
get discountType() {
|
|
5623
5886
|
if (!this._discountType) throw new Error("discountType is not defined");
|
|
5624
5887
|
return this._discountType;
|
|
@@ -5661,7 +5924,7 @@ var StripeCouponOffer = (_class20 = class extends AbstractApiData {constructor(.
|
|
|
5661
5924
|
createJsonApi(_data) {
|
|
5662
5925
|
throw new Error("StripeCouponOffer is declared by the API and is read-only");
|
|
5663
5926
|
}
|
|
5664
|
-
},
|
|
5927
|
+
}, _class22);
|
|
5665
5928
|
|
|
5666
5929
|
// src/features/billing/stripe-coupon/utils/coupon-places.ts
|
|
5667
5930
|
function couponPlacesLeft(code, coupon) {
|
|
@@ -6147,7 +6410,7 @@ var AiConnectionModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (f
|
|
|
6147
6410
|
|
|
6148
6411
|
|
|
6149
6412
|
// src/features/company/data/company.ts
|
|
6150
|
-
var Company = (
|
|
6413
|
+
var Company = (_class23 = class extends AbstractApiData {constructor(...args20) { super(...args20); _class23.prototype.__init52.call(this);_class23.prototype.__init53.call(this);_class23.prototype.__init54.call(this);_class23.prototype.__init55.call(this); }
|
|
6151
6414
|
static {
|
|
6152
6415
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "Company");
|
|
6153
6416
|
}
|
|
@@ -6155,10 +6418,10 @@ var Company = (_class21 = class extends AbstractApiData {constructor(...args18)
|
|
|
6155
6418
|
|
|
6156
6419
|
|
|
6157
6420
|
|
|
6158
|
-
|
|
6159
|
-
|
|
6160
|
-
|
|
6161
|
-
|
|
6421
|
+
__init52() {this._isActiveSubscription = false}
|
|
6422
|
+
__init53() {this._monthlyCredits = 0}
|
|
6423
|
+
__init54() {this._availableMonthlyCredits = 0}
|
|
6424
|
+
__init55() {this._availableExtraCredits = 0}
|
|
6162
6425
|
|
|
6163
6426
|
|
|
6164
6427
|
|
|
@@ -6329,7 +6592,7 @@ var Company = (_class21 = class extends AbstractApiData {constructor(...args18)
|
|
|
6329
6592
|
}
|
|
6330
6593
|
return response;
|
|
6331
6594
|
}
|
|
6332
|
-
},
|
|
6595
|
+
}, _class23);
|
|
6333
6596
|
|
|
6334
6597
|
// src/features/company/data/company.fields.ts
|
|
6335
6598
|
var CompanyFields = /* @__PURE__ */ ((CompanyFields2) => {
|
|
@@ -6629,7 +6892,7 @@ var HowTo = class extends Content {
|
|
|
6629
6892
|
try {
|
|
6630
6893
|
const parsed = JSON.parse(pagesStr);
|
|
6631
6894
|
return Array.isArray(parsed) ? parsed : [pagesStr];
|
|
6632
|
-
} catch (
|
|
6895
|
+
} catch (e6) {
|
|
6633
6896
|
return pagesStr ? [pagesStr] : [];
|
|
6634
6897
|
}
|
|
6635
6898
|
}
|
|
@@ -6675,7 +6938,7 @@ var HowTo = class extends Content {
|
|
|
6675
6938
|
} else if (typeof rawDescription === "string") {
|
|
6676
6939
|
try {
|
|
6677
6940
|
this._description = JSON.parse(rawDescription);
|
|
6678
|
-
} catch (
|
|
6941
|
+
} catch (e7) {
|
|
6679
6942
|
this._description = rawDescription;
|
|
6680
6943
|
}
|
|
6681
6944
|
} else {
|
|
@@ -6876,7 +7139,7 @@ var HowToService = class extends AbstractService {
|
|
|
6876
7139
|
|
|
6877
7140
|
|
|
6878
7141
|
// src/features/email-automation/data/EmailAutomation.ts
|
|
6879
|
-
var EmailAutomation = (
|
|
7142
|
+
var EmailAutomation = (_class24 = class extends AbstractApiData {constructor(...args21) { super(...args21); _class24.prototype.__init56.call(this); }
|
|
6880
7143
|
static {
|
|
6881
7144
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "EmailAutomation");
|
|
6882
7145
|
}
|
|
@@ -6884,7 +7147,7 @@ var EmailAutomation = (_class22 = class extends AbstractApiData {constructor(...
|
|
|
6884
7147
|
|
|
6885
7148
|
|
|
6886
7149
|
|
|
6887
|
-
|
|
7150
|
+
__init56() {this._isActive = false}
|
|
6888
7151
|
|
|
6889
7152
|
|
|
6890
7153
|
|
|
@@ -6947,7 +7210,7 @@ var EmailAutomation = (_class22 = class extends AbstractApiData {constructor(...
|
|
|
6947
7210
|
if (data.isActive !== void 0) response.data.attributes.isActive = data.isActive;
|
|
6948
7211
|
return response;
|
|
6949
7212
|
}
|
|
6950
|
-
},
|
|
7213
|
+
}, _class24);
|
|
6951
7214
|
|
|
6952
7215
|
// src/features/email-automation/EmailAutomationModule.ts
|
|
6953
7216
|
var EmailAutomationModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
@@ -7079,13 +7342,13 @@ var EmailAutomationStepModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(voi
|
|
|
7079
7342
|
|
|
7080
7343
|
// src/features/email-automation/data/EmailAutomationEnrollment.ts
|
|
7081
7344
|
var EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = "email-automation-unsubscribes";
|
|
7082
|
-
var EmailAutomationEnrollment = (
|
|
7345
|
+
var EmailAutomationEnrollment = (_class25 = class extends AbstractApiData {constructor(...args22) { super(...args22); _class25.prototype.__init57.call(this); }
|
|
7083
7346
|
static {
|
|
7084
7347
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "EmailAutomationEnrollment");
|
|
7085
7348
|
}
|
|
7086
7349
|
|
|
7087
7350
|
|
|
7088
|
-
|
|
7351
|
+
__init57() {this._status = "active"}
|
|
7089
7352
|
|
|
7090
7353
|
|
|
7091
7354
|
|
|
@@ -7159,7 +7422,7 @@ var EmailAutomationEnrollment = (_class23 = class extends AbstractApiData {const
|
|
|
7159
7422
|
}
|
|
7160
7423
|
};
|
|
7161
7424
|
}
|
|
7162
|
-
},
|
|
7425
|
+
}, _class25);
|
|
7163
7426
|
|
|
7164
7427
|
// src/features/email-automation/EmailAutomationEnrollmentModule.ts
|
|
7165
7428
|
var EmailAutomationEnrollmentModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
@@ -8310,7 +8573,7 @@ var HandbookSectionModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
8310
8573
|
|
|
8311
8574
|
// src/features/handbook/data/HandbookThreadMessage.ts
|
|
8312
8575
|
|
|
8313
|
-
var HandbookThreadMessage = (
|
|
8576
|
+
var HandbookThreadMessage = (_class26 = class _HandbookThreadMessage extends AbstractApiData {constructor(...args23) { super(...args23); _class26.prototype.__init58.call(this); }
|
|
8314
8577
|
static {
|
|
8315
8578
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "HandbookThreadMessage");
|
|
8316
8579
|
}
|
|
@@ -8318,7 +8581,7 @@ var HandbookThreadMessage = (_class24 = class _HandbookThreadMessage extends Abs
|
|
|
8318
8581
|
|
|
8319
8582
|
|
|
8320
8583
|
|
|
8321
|
-
|
|
8584
|
+
__init58() {this._isOptimistic = false}
|
|
8322
8585
|
get role() {
|
|
8323
8586
|
return _nullishCoalesce(this._role, () => ( "assistant"));
|
|
8324
8587
|
}
|
|
@@ -8416,7 +8679,7 @@ var HandbookThreadMessage = (_class24 = class _HandbookThreadMessage extends Abs
|
|
|
8416
8679
|
message._isOptimistic = _nullishCoalesce(params.isOptimistic, () => ( false));
|
|
8417
8680
|
return message;
|
|
8418
8681
|
}
|
|
8419
|
-
},
|
|
8682
|
+
}, _class26);
|
|
8420
8683
|
|
|
8421
8684
|
// src/features/handbook/HandbookThreadMessageModule.ts
|
|
8422
8685
|
var HandbookThreadMessageModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
@@ -8856,7 +9119,7 @@ function resolveReferenceableModules() {
|
|
|
8856
9119
|
_chunk7QVYU63Ejs.__name.call(void 0, resolveReferenceableModules, "resolveReferenceableModules");
|
|
8857
9120
|
|
|
8858
9121
|
// src/features/assistant-message/data/AssistantMessage.ts
|
|
8859
|
-
var AssistantMessage = (
|
|
9122
|
+
var AssistantMessage = (_class27 = class _AssistantMessage extends AbstractApiData {constructor(...args24) { super(...args24); _class27.prototype.__init59.call(this); }
|
|
8860
9123
|
static {
|
|
8861
9124
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AssistantMessage");
|
|
8862
9125
|
}
|
|
@@ -8868,7 +9131,7 @@ var AssistantMessage = (_class25 = class _AssistantMessage extends AbstractApiDa
|
|
|
8868
9131
|
|
|
8869
9132
|
|
|
8870
9133
|
|
|
8871
|
-
|
|
9134
|
+
__init59() {this._isOptimistic = false}
|
|
8872
9135
|
|
|
8873
9136
|
|
|
8874
9137
|
get role() {
|
|
@@ -9005,7 +9268,7 @@ var AssistantMessage = (_class25 = class _AssistantMessage extends AbstractApiDa
|
|
|
9005
9268
|
msg._isOptimistic = _nullishCoalesce(params.isOptimistic, () => ( false));
|
|
9006
9269
|
return msg;
|
|
9007
9270
|
}
|
|
9008
|
-
},
|
|
9271
|
+
}, _class27);
|
|
9009
9272
|
|
|
9010
9273
|
// src/features/assistant/data/AssistantService.ts
|
|
9011
9274
|
var AssistantService = class extends AbstractService {
|
|
@@ -9398,13 +9661,13 @@ var ChunkModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory)
|
|
|
9398
9661
|
}), "ChunkModule");
|
|
9399
9662
|
|
|
9400
9663
|
// src/features/feature/data/feature.ts
|
|
9401
|
-
var Feature = (
|
|
9664
|
+
var Feature = (_class28 = class extends AbstractApiData {constructor(...args25) { super(...args25); _class28.prototype.__init60.call(this); }
|
|
9402
9665
|
static {
|
|
9403
9666
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "Feature");
|
|
9404
9667
|
}
|
|
9405
9668
|
|
|
9406
9669
|
|
|
9407
|
-
|
|
9670
|
+
__init60() {this._modules = []}
|
|
9408
9671
|
get name() {
|
|
9409
9672
|
return _nullishCoalesce(this._name, () => ( ""));
|
|
9410
9673
|
}
|
|
@@ -9421,7 +9684,7 @@ var Feature = (_class26 = class extends AbstractApiData {constructor(...args23)
|
|
|
9421
9684
|
this._modules = this._readIncluded(data, `modules`, Modules.Module);
|
|
9422
9685
|
return this;
|
|
9423
9686
|
}
|
|
9424
|
-
},
|
|
9687
|
+
}, _class28);
|
|
9425
9688
|
|
|
9426
9689
|
// src/features/feature/data/feature.service.ts
|
|
9427
9690
|
var FeatureService = class extends AbstractService {
|
|
@@ -9901,7 +10164,7 @@ var S3Service = class extends AbstractService {
|
|
|
9901
10164
|
};
|
|
9902
10165
|
|
|
9903
10166
|
// src/features/user/data/user.ts
|
|
9904
|
-
var User = (
|
|
10167
|
+
var User = (_class29 = class extends AbstractApiData {constructor(...args26) { super(...args26); _class29.prototype.__init61.call(this);_class29.prototype.__init62.call(this);_class29.prototype.__init63.call(this); }
|
|
9905
10168
|
static {
|
|
9906
10169
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "User");
|
|
9907
10170
|
}
|
|
@@ -9916,12 +10179,12 @@ var User = (_class27 = class extends AbstractApiData {constructor(...args24) { s
|
|
|
9916
10179
|
|
|
9917
10180
|
|
|
9918
10181
|
|
|
9919
|
-
|
|
10182
|
+
__init61() {this._twoFactorEnabled = false}
|
|
9920
10183
|
|
|
9921
10184
|
|
|
9922
|
-
|
|
10185
|
+
__init62() {this._roles = []}
|
|
9923
10186
|
|
|
9924
|
-
|
|
10187
|
+
__init63() {this._modules = []}
|
|
9925
10188
|
get searchResult() {
|
|
9926
10189
|
return _nullishCoalesce(this._name, () => ( ""));
|
|
9927
10190
|
}
|
|
@@ -10037,7 +10300,7 @@ var User = (_class27 = class extends AbstractApiData {constructor(...args24) { s
|
|
|
10037
10300
|
}
|
|
10038
10301
|
return response;
|
|
10039
10302
|
}
|
|
10040
|
-
},
|
|
10303
|
+
}, _class29);
|
|
10041
10304
|
|
|
10042
10305
|
// src/features/user/data/user.fields.ts
|
|
10043
10306
|
var UserFields = /* @__PURE__ */ ((UserFields2) => {
|
|
@@ -10286,18 +10549,18 @@ var UserModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory)
|
|
|
10286
10549
|
}), "UserModule");
|
|
10287
10550
|
|
|
10288
10551
|
// src/features/oauth/data/oauth.ts
|
|
10289
|
-
var OAuthClient = (
|
|
10552
|
+
var OAuthClient = (_class30 = class extends AbstractApiData {constructor(...args27) { super(...args27); _class30.prototype.__init64.call(this);_class30.prototype.__init65.call(this);_class30.prototype.__init66.call(this);_class30.prototype.__init67.call(this);_class30.prototype.__init68.call(this); }
|
|
10290
10553
|
static {
|
|
10291
10554
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "OAuthClient");
|
|
10292
10555
|
}
|
|
10293
10556
|
|
|
10294
10557
|
|
|
10295
10558
|
|
|
10296
|
-
|
|
10297
|
-
|
|
10298
|
-
|
|
10299
|
-
|
|
10300
|
-
|
|
10559
|
+
__init64() {this._redirectUris = []}
|
|
10560
|
+
__init65() {this._allowedScopes = []}
|
|
10561
|
+
__init66() {this._allowedGrantTypes = []}
|
|
10562
|
+
__init67() {this._isConfidential = true}
|
|
10563
|
+
__init68() {this._isActive = true}
|
|
10301
10564
|
get clientId() {
|
|
10302
10565
|
return _nullishCoalesce(this._clientId, () => ( this.id));
|
|
10303
10566
|
}
|
|
@@ -10380,7 +10643,7 @@ var OAuthClient = (_class28 = class extends AbstractApiData {constructor(...args
|
|
|
10380
10643
|
state: params.state
|
|
10381
10644
|
};
|
|
10382
10645
|
}
|
|
10383
|
-
},
|
|
10646
|
+
}, _class30);
|
|
10384
10647
|
|
|
10385
10648
|
// src/features/oauth/oauth.module.ts
|
|
10386
10649
|
var OAuthModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
@@ -10565,17 +10828,17 @@ var AVAILABLE_OAUTH_SCOPES = Object.values(OAUTH_SCOPE_DISPLAY);
|
|
|
10565
10828
|
var DEFAULT_GRANT_TYPES = ["authorization_code", "refresh_token"];
|
|
10566
10829
|
|
|
10567
10830
|
// src/features/waitlist/data/Waitlist.ts
|
|
10568
|
-
var Waitlist = (
|
|
10831
|
+
var Waitlist = (_class31 = class extends AbstractApiData {constructor(...args28) { super(...args28); _class31.prototype.__init69.call(this);_class31.prototype.__init70.call(this); }
|
|
10569
10832
|
static {
|
|
10570
10833
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "Waitlist");
|
|
10571
10834
|
}
|
|
10572
10835
|
|
|
10573
|
-
|
|
10836
|
+
__init69() {this._gdprConsent = false}
|
|
10574
10837
|
|
|
10575
10838
|
|
|
10576
10839
|
|
|
10577
10840
|
|
|
10578
|
-
|
|
10841
|
+
__init70() {this._status = "pending"}
|
|
10579
10842
|
|
|
10580
10843
|
|
|
10581
10844
|
|
|
@@ -10689,7 +10952,7 @@ var Waitlist = (_class29 = class extends AbstractApiData {constructor(...args26)
|
|
|
10689
10952
|
}
|
|
10690
10953
|
return response;
|
|
10691
10954
|
}
|
|
10692
|
-
},
|
|
10955
|
+
}, _class31);
|
|
10693
10956
|
|
|
10694
10957
|
// src/features/waitlist/data/WaitlistService.ts
|
|
10695
10958
|
var WaitlistService = class extends AbstractService {
|
|
@@ -10818,15 +11081,15 @@ var WaitlistService = class extends AbstractService {
|
|
|
10818
11081
|
};
|
|
10819
11082
|
|
|
10820
11083
|
// src/features/waitlist/data/waitlist-stats.ts
|
|
10821
|
-
var WaitlistStats = (
|
|
11084
|
+
var WaitlistStats = (_class32 = class extends AbstractApiData {constructor(...args29) { super(...args29); _class32.prototype.__init71.call(this);_class32.prototype.__init72.call(this);_class32.prototype.__init73.call(this);_class32.prototype.__init74.call(this);_class32.prototype.__init75.call(this); }
|
|
10822
11085
|
static {
|
|
10823
11086
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "WaitlistStats");
|
|
10824
11087
|
}
|
|
10825
|
-
|
|
10826
|
-
|
|
10827
|
-
|
|
10828
|
-
|
|
10829
|
-
|
|
11088
|
+
__init71() {this._pending = 0}
|
|
11089
|
+
__init72() {this._confirmed = 0}
|
|
11090
|
+
__init73() {this._invited = 0}
|
|
11091
|
+
__init74() {this._registered = 0}
|
|
11092
|
+
__init75() {this._total = 0}
|
|
10830
11093
|
get pending() {
|
|
10831
11094
|
return this._pending;
|
|
10832
11095
|
}
|
|
@@ -10855,7 +11118,7 @@ var WaitlistStats = (_class30 = class extends AbstractApiData {constructor(...ar
|
|
|
10855
11118
|
createJsonApi(_data) {
|
|
10856
11119
|
throw new Error("WaitlistStats is read-only and cannot be created");
|
|
10857
11120
|
}
|
|
10858
|
-
},
|
|
11121
|
+
}, _class32);
|
|
10859
11122
|
|
|
10860
11123
|
// src/features/waitlist/data/waitlist.fields.ts
|
|
10861
11124
|
var WaitlistFields = /* @__PURE__ */ ((WaitlistFields2) => {
|
|
@@ -11086,18 +11349,18 @@ var ReferralStatsModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
|
|
|
11086
11349
|
|
|
11087
11350
|
|
|
11088
11351
|
// src/features/tokenusage/data/tokenusage-admin-breakdown.ts
|
|
11089
|
-
var TokenUsageAdminBreakdown = (
|
|
11352
|
+
var TokenUsageAdminBreakdown = (_class33 = class extends AbstractApiData {constructor(...args30) { super(...args30); _class33.prototype.__init76.call(this);_class33.prototype.__init77.call(this);_class33.prototype.__init78.call(this);_class33.prototype.__init79.call(this);_class33.prototype.__init80.call(this);_class33.prototype.__init81.call(this);_class33.prototype.__init82.call(this); }
|
|
11090
11353
|
static {
|
|
11091
11354
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageAdminBreakdown");
|
|
11092
11355
|
}
|
|
11093
|
-
|
|
11356
|
+
__init76() {this._label = ""}
|
|
11094
11357
|
|
|
11095
|
-
|
|
11096
|
-
|
|
11097
|
-
|
|
11098
|
-
|
|
11099
|
-
|
|
11100
|
-
|
|
11358
|
+
__init77() {this._cost = 0}
|
|
11359
|
+
__init78() {this._credits = 0}
|
|
11360
|
+
__init79() {this._tokensIn = 0}
|
|
11361
|
+
__init80() {this._tokensOut = 0}
|
|
11362
|
+
__init81() {this._cached = 0}
|
|
11363
|
+
__init82() {this._calls = 0}
|
|
11101
11364
|
|
|
11102
11365
|
|
|
11103
11366
|
|
|
@@ -11174,21 +11437,21 @@ var TokenUsageAdminBreakdown = (_class31 = class extends AbstractApiData {constr
|
|
|
11174
11437
|
response.data.attributes.availableMonthlyCredits = data.availableMonthlyCredits;
|
|
11175
11438
|
return response;
|
|
11176
11439
|
}
|
|
11177
|
-
},
|
|
11440
|
+
}, _class33);
|
|
11178
11441
|
|
|
11179
11442
|
// src/features/tokenusage/data/tokenusage-admin-summary.ts
|
|
11180
|
-
var TokenUsageAdminSummary = (
|
|
11443
|
+
var TokenUsageAdminSummary = (_class34 = class extends AbstractApiData {constructor(...args31) { super(...args31); _class34.prototype.__init83.call(this);_class34.prototype.__init84.call(this);_class34.prototype.__init85.call(this);_class34.prototype.__init86.call(this);_class34.prototype.__init87.call(this);_class34.prototype.__init88.call(this);_class34.prototype.__init89.call(this);_class34.prototype.__init90.call(this); }
|
|
11181
11444
|
static {
|
|
11182
11445
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageAdminSummary");
|
|
11183
11446
|
}
|
|
11184
|
-
|
|
11185
|
-
|
|
11186
|
-
|
|
11187
|
-
|
|
11188
|
-
|
|
11189
|
-
|
|
11190
|
-
|
|
11191
|
-
|
|
11447
|
+
__init83() {this._scope = ""}
|
|
11448
|
+
__init84() {this._window = ""}
|
|
11449
|
+
__init85() {this._cost = 0}
|
|
11450
|
+
__init86() {this._credits = 0}
|
|
11451
|
+
__init87() {this._tokensIn = 0}
|
|
11452
|
+
__init88() {this._tokensOut = 0}
|
|
11453
|
+
__init89() {this._cached = 0}
|
|
11454
|
+
__init90() {this._calls = 0}
|
|
11192
11455
|
get scope() {
|
|
11193
11456
|
return this._scope;
|
|
11194
11457
|
}
|
|
@@ -11246,21 +11509,21 @@ var TokenUsageAdminSummary = (_class32 = class extends AbstractApiData {construc
|
|
|
11246
11509
|
if (data.calls !== void 0) response.data.attributes.calls = data.calls;
|
|
11247
11510
|
return response;
|
|
11248
11511
|
}
|
|
11249
|
-
},
|
|
11512
|
+
}, _class34);
|
|
11250
11513
|
|
|
11251
11514
|
// src/features/tokenusage/data/tokenusage-admin-timeline.ts
|
|
11252
|
-
var TokenUsageAdminTimeline = (
|
|
11515
|
+
var TokenUsageAdminTimeline = (_class35 = class extends AbstractApiData {constructor(...args32) { super(...args32); _class35.prototype.__init91.call(this);_class35.prototype.__init92.call(this);_class35.prototype.__init93.call(this);_class35.prototype.__init94.call(this);_class35.prototype.__init95.call(this);_class35.prototype.__init96.call(this);_class35.prototype.__init97.call(this);_class35.prototype.__init98.call(this); }
|
|
11253
11516
|
static {
|
|
11254
11517
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageAdminTimeline");
|
|
11255
11518
|
}
|
|
11256
|
-
|
|
11257
|
-
|
|
11258
|
-
|
|
11259
|
-
|
|
11260
|
-
|
|
11261
|
-
|
|
11262
|
-
|
|
11263
|
-
|
|
11519
|
+
__init91() {this._bucket = /* @__PURE__ */ new Date(0)}
|
|
11520
|
+
__init92() {this._series = ""}
|
|
11521
|
+
__init93() {this._cost = 0}
|
|
11522
|
+
__init94() {this._credits = 0}
|
|
11523
|
+
__init95() {this._tokensIn = 0}
|
|
11524
|
+
__init96() {this._tokensOut = 0}
|
|
11525
|
+
__init97() {this._cached = 0}
|
|
11526
|
+
__init98() {this._calls = 0}
|
|
11264
11527
|
get bucket() {
|
|
11265
11528
|
return this._bucket;
|
|
11266
11529
|
}
|
|
@@ -11318,7 +11581,7 @@ var TokenUsageAdminTimeline = (_class33 = class extends AbstractApiData {constru
|
|
|
11318
11581
|
if (data.calls !== void 0) response.data.attributes.calls = data.calls;
|
|
11319
11582
|
return response;
|
|
11320
11583
|
}
|
|
11321
|
-
},
|
|
11584
|
+
}, _class35);
|
|
11322
11585
|
|
|
11323
11586
|
// src/features/tokenusage/tokenusage-admin.module.ts
|
|
11324
11587
|
var TokenUsageAdminSummaryModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({ name: "tokenusages/administration/summary", model: TokenUsageAdminSummary, icon: _lucidereact.CoinsIcon }), "TokenUsageAdminSummaryModule");
|
|
@@ -11329,18 +11592,18 @@ var TokenUsageAdminBreakdownModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.cal
|
|
|
11329
11592
|
|
|
11330
11593
|
|
|
11331
11594
|
// src/features/tokenusage/data/tokenusage-report-breakdown.ts
|
|
11332
|
-
var TokenUsageReportBreakdown = (
|
|
11595
|
+
var TokenUsageReportBreakdown = (_class36 = class extends AbstractApiData {constructor(...args33) { super(...args33); _class36.prototype.__init99.call(this);_class36.prototype.__init100.call(this);_class36.prototype.__init101.call(this);_class36.prototype.__init102.call(this);_class36.prototype.__init103.call(this);_class36.prototype.__init104.call(this);_class36.prototype.__init105.call(this); }
|
|
11333
11596
|
static {
|
|
11334
11597
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageReportBreakdown");
|
|
11335
11598
|
}
|
|
11336
|
-
|
|
11599
|
+
__init99() {this._label = ""}
|
|
11337
11600
|
|
|
11338
|
-
|
|
11339
|
-
|
|
11340
|
-
|
|
11341
|
-
|
|
11342
|
-
|
|
11343
|
-
|
|
11601
|
+
__init100() {this._cost = 0}
|
|
11602
|
+
__init101() {this._credits = 0}
|
|
11603
|
+
__init102() {this._tokensIn = 0}
|
|
11604
|
+
__init103() {this._tokensOut = 0}
|
|
11605
|
+
__init104() {this._cached = 0}
|
|
11606
|
+
__init105() {this._calls = 0}
|
|
11344
11607
|
get label() {
|
|
11345
11608
|
return this._label;
|
|
11346
11609
|
}
|
|
@@ -11398,20 +11661,20 @@ var TokenUsageReportBreakdown = (_class34 = class extends AbstractApiData {const
|
|
|
11398
11661
|
if (data.calls !== void 0) response.data.attributes.calls = data.calls;
|
|
11399
11662
|
return response;
|
|
11400
11663
|
}
|
|
11401
|
-
},
|
|
11664
|
+
}, _class36);
|
|
11402
11665
|
|
|
11403
11666
|
// src/features/tokenusage/data/tokenusage-report-summary.ts
|
|
11404
|
-
var TokenUsageReportSummary = (
|
|
11667
|
+
var TokenUsageReportSummary = (_class37 = class extends AbstractApiData {constructor(...args34) { super(...args34); _class37.prototype.__init106.call(this);_class37.prototype.__init107.call(this);_class37.prototype.__init108.call(this);_class37.prototype.__init109.call(this);_class37.prototype.__init110.call(this);_class37.prototype.__init111.call(this);_class37.prototype.__init112.call(this); }
|
|
11405
11668
|
static {
|
|
11406
11669
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageReportSummary");
|
|
11407
11670
|
}
|
|
11408
|
-
|
|
11409
|
-
|
|
11410
|
-
|
|
11411
|
-
|
|
11412
|
-
|
|
11413
|
-
|
|
11414
|
-
|
|
11671
|
+
__init106() {this._window = ""}
|
|
11672
|
+
__init107() {this._cost = 0}
|
|
11673
|
+
__init108() {this._credits = 0}
|
|
11674
|
+
__init109() {this._tokensIn = 0}
|
|
11675
|
+
__init110() {this._tokensOut = 0}
|
|
11676
|
+
__init111() {this._cached = 0}
|
|
11677
|
+
__init112() {this._calls = 0}
|
|
11415
11678
|
get window() {
|
|
11416
11679
|
return this._window;
|
|
11417
11680
|
}
|
|
@@ -11464,21 +11727,21 @@ var TokenUsageReportSummary = (_class35 = class extends AbstractApiData {constru
|
|
|
11464
11727
|
if (data.calls !== void 0) response.data.attributes.calls = data.calls;
|
|
11465
11728
|
return response;
|
|
11466
11729
|
}
|
|
11467
|
-
},
|
|
11730
|
+
}, _class37);
|
|
11468
11731
|
|
|
11469
11732
|
// src/features/tokenusage/data/tokenusage-report-timeline.ts
|
|
11470
|
-
var TokenUsageReportTimeline = (
|
|
11733
|
+
var TokenUsageReportTimeline = (_class38 = class extends AbstractApiData {constructor(...args35) { super(...args35); _class38.prototype.__init113.call(this);_class38.prototype.__init114.call(this);_class38.prototype.__init115.call(this);_class38.prototype.__init116.call(this);_class38.prototype.__init117.call(this);_class38.prototype.__init118.call(this);_class38.prototype.__init119.call(this);_class38.prototype.__init120.call(this); }
|
|
11471
11734
|
static {
|
|
11472
11735
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageReportTimeline");
|
|
11473
11736
|
}
|
|
11474
|
-
|
|
11475
|
-
|
|
11476
|
-
|
|
11477
|
-
|
|
11478
|
-
|
|
11479
|
-
|
|
11480
|
-
|
|
11481
|
-
|
|
11737
|
+
__init113() {this._bucket = /* @__PURE__ */ new Date(0)}
|
|
11738
|
+
__init114() {this._series = ""}
|
|
11739
|
+
__init115() {this._cost = 0}
|
|
11740
|
+
__init116() {this._credits = 0}
|
|
11741
|
+
__init117() {this._tokensIn = 0}
|
|
11742
|
+
__init118() {this._tokensOut = 0}
|
|
11743
|
+
__init119() {this._cached = 0}
|
|
11744
|
+
__init120() {this._calls = 0}
|
|
11482
11745
|
get bucket() {
|
|
11483
11746
|
return this._bucket;
|
|
11484
11747
|
}
|
|
@@ -11536,7 +11799,7 @@ var TokenUsageReportTimeline = (_class36 = class extends AbstractApiData {constr
|
|
|
11536
11799
|
if (data.calls !== void 0) response.data.attributes.calls = data.calls;
|
|
11537
11800
|
return response;
|
|
11538
11801
|
}
|
|
11539
|
-
},
|
|
11802
|
+
}, _class38);
|
|
11540
11803
|
|
|
11541
11804
|
// src/features/tokenusage/tokenusage.modules.ts
|
|
11542
11805
|
var tokenUsageModules = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => ({
|
|
@@ -11564,15 +11827,15 @@ var tokenUsageModules = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (fa
|
|
|
11564
11827
|
|
|
11565
11828
|
|
|
11566
11829
|
// src/features/analytics/data/analytics-breakdown.ts
|
|
11567
|
-
var AnalyticsBreakdown = (
|
|
11830
|
+
var AnalyticsBreakdown = (_class39 = class extends AbstractApiData {constructor(...args36) { super(...args36); _class39.prototype.__init121.call(this);_class39.prototype.__init122.call(this);_class39.prototype.__init123.call(this);_class39.prototype.__init124.call(this);_class39.prototype.__init125.call(this); }
|
|
11568
11831
|
static {
|
|
11569
11832
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsBreakdown");
|
|
11570
11833
|
}
|
|
11571
|
-
|
|
11572
|
-
|
|
11573
|
-
|
|
11574
|
-
|
|
11575
|
-
|
|
11834
|
+
__init121() {this._dimension = ""}
|
|
11835
|
+
__init122() {this._key = ""}
|
|
11836
|
+
__init123() {this._visitors = 0}
|
|
11837
|
+
__init124() {this._sessions = 0}
|
|
11838
|
+
__init125() {this._pageViews = 0}
|
|
11576
11839
|
get dimension() {
|
|
11577
11840
|
return this._dimension;
|
|
11578
11841
|
}
|
|
@@ -11615,16 +11878,16 @@ var AnalyticsBreakdown = (_class37 = class extends AbstractApiData {constructor(
|
|
|
11615
11878
|
if (data.pageViews !== void 0) response.data.attributes.pageViews = data.pageViews;
|
|
11616
11879
|
return response;
|
|
11617
11880
|
}
|
|
11618
|
-
},
|
|
11881
|
+
}, _class39);
|
|
11619
11882
|
|
|
11620
11883
|
// src/features/analytics/data/analytics-event.ts
|
|
11621
11884
|
var ANALYTICS_EVENT_TYPE = "analytics-events";
|
|
11622
|
-
var AnalyticsEvent = (
|
|
11885
|
+
var AnalyticsEvent = (_class40 = class extends AbstractApiData {constructor(...args37) { super(...args37); _class40.prototype.__init126.call(this);_class40.prototype.__init127.call(this); }
|
|
11623
11886
|
static {
|
|
11624
11887
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsEvent");
|
|
11625
11888
|
}
|
|
11626
|
-
|
|
11627
|
-
|
|
11889
|
+
__init126() {this._path = ""}
|
|
11890
|
+
__init127() {this._section = ""}
|
|
11628
11891
|
get path() {
|
|
11629
11892
|
return this._path;
|
|
11630
11893
|
}
|
|
@@ -11661,16 +11924,16 @@ var AnalyticsEvent = (_class38 = class extends AbstractApiData {constructor(...a
|
|
|
11661
11924
|
if (data.consentGranted !== void 0) response.data.attributes.consentGranted = data.consentGranted;
|
|
11662
11925
|
return response;
|
|
11663
11926
|
}
|
|
11664
|
-
},
|
|
11927
|
+
}, _class40);
|
|
11665
11928
|
|
|
11666
11929
|
// src/features/analytics/data/analytics-page-view.ts
|
|
11667
|
-
var AnalyticsPageView = (
|
|
11930
|
+
var AnalyticsPageView = (_class41 = class extends AbstractApiData {constructor(...args38) { super(...args38); _class41.prototype.__init128.call(this);_class41.prototype.__init129.call(this);_class41.prototype.__init130.call(this); }
|
|
11668
11931
|
static {
|
|
11669
11932
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsPageView");
|
|
11670
11933
|
}
|
|
11671
|
-
|
|
11672
|
-
|
|
11673
|
-
|
|
11934
|
+
__init128() {this._path = ""}
|
|
11935
|
+
__init129() {this._route = ""}
|
|
11936
|
+
__init130() {this._section = ""}
|
|
11674
11937
|
get path() {
|
|
11675
11938
|
return this._path;
|
|
11676
11939
|
}
|
|
@@ -11705,27 +11968,27 @@ var AnalyticsPageView = (_class39 = class extends AbstractApiData {constructor(.
|
|
|
11705
11968
|
if (data.section !== void 0) response.data.attributes.section = data.section;
|
|
11706
11969
|
return response;
|
|
11707
11970
|
}
|
|
11708
|
-
},
|
|
11971
|
+
}, _class41);
|
|
11709
11972
|
|
|
11710
11973
|
// src/features/analytics/data/analytics-session.ts
|
|
11711
|
-
var AnalyticsSession = (
|
|
11974
|
+
var AnalyticsSession = (_class42 = class extends AbstractApiData {constructor(...args39) { super(...args39); _class42.prototype.__init131.call(this);_class42.prototype.__init132.call(this);_class42.prototype.__init133.call(this);_class42.prototype.__init134.call(this);_class42.prototype.__init135.call(this);_class42.prototype.__init136.call(this);_class42.prototype.__init137.call(this);_class42.prototype.__init138.call(this); }
|
|
11712
11975
|
static {
|
|
11713
11976
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsSession");
|
|
11714
11977
|
}
|
|
11715
|
-
|
|
11716
|
-
|
|
11717
|
-
|
|
11718
|
-
|
|
11719
|
-
|
|
11720
|
-
|
|
11721
|
-
|
|
11978
|
+
__init131() {this._visitorId = ""}
|
|
11979
|
+
__init132() {this._consented = false}
|
|
11980
|
+
__init133() {this._startedAt = /* @__PURE__ */ new Date(0)}
|
|
11981
|
+
__init134() {this._lastSeenAt = /* @__PURE__ */ new Date(0)}
|
|
11982
|
+
__init135() {this._pageViews = 0}
|
|
11983
|
+
__init136() {this._section = ""}
|
|
11984
|
+
__init137() {this._landingRoute = ""}
|
|
11722
11985
|
|
|
11723
11986
|
|
|
11724
11987
|
|
|
11725
11988
|
|
|
11726
11989
|
|
|
11727
11990
|
|
|
11728
|
-
|
|
11991
|
+
__init138() {this._deviceType = ""}
|
|
11729
11992
|
|
|
11730
11993
|
get visitorId() {
|
|
11731
11994
|
return this._visitorId;
|
|
@@ -11823,20 +12086,20 @@ var AnalyticsSession = (_class40 = class extends AbstractApiData {constructor(..
|
|
|
11823
12086
|
}
|
|
11824
12087
|
return response;
|
|
11825
12088
|
}
|
|
11826
|
-
},
|
|
12089
|
+
}, _class42);
|
|
11827
12090
|
|
|
11828
12091
|
// src/features/analytics/data/analytics-summary.ts
|
|
11829
|
-
var AnalyticsSummary = (
|
|
12092
|
+
var AnalyticsSummary = (_class43 = class extends AbstractApiData {constructor(...args40) { super(...args40); _class43.prototype.__init139.call(this);_class43.prototype.__init140.call(this);_class43.prototype.__init141.call(this);_class43.prototype.__init142.call(this);_class43.prototype.__init143.call(this);_class43.prototype.__init144.call(this);_class43.prototype.__init145.call(this); }
|
|
11830
12093
|
static {
|
|
11831
12094
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsSummary");
|
|
11832
12095
|
}
|
|
11833
|
-
|
|
11834
|
-
|
|
11835
|
-
|
|
11836
|
-
|
|
11837
|
-
|
|
11838
|
-
|
|
11839
|
-
|
|
12096
|
+
__init139() {this._section = ""}
|
|
12097
|
+
__init140() {this._window = ""}
|
|
12098
|
+
__init141() {this._visitors = 0}
|
|
12099
|
+
__init142() {this._sessions = 0}
|
|
12100
|
+
__init143() {this._pageViews = 0}
|
|
12101
|
+
__init144() {this._pagesPerSession = 0}
|
|
12102
|
+
__init145() {this._consentShare = 0}
|
|
11840
12103
|
get section() {
|
|
11841
12104
|
return this._section;
|
|
11842
12105
|
}
|
|
@@ -11889,18 +12152,18 @@ var AnalyticsSummary = (_class41 = class extends AbstractApiData {constructor(..
|
|
|
11889
12152
|
if (data.consentShare !== void 0) response.data.attributes.consentShare = data.consentShare;
|
|
11890
12153
|
return response;
|
|
11891
12154
|
}
|
|
11892
|
-
},
|
|
12155
|
+
}, _class43);
|
|
11893
12156
|
|
|
11894
12157
|
// src/features/analytics/data/analytics-timeline.ts
|
|
11895
|
-
var AnalyticsTimeline = (
|
|
12158
|
+
var AnalyticsTimeline = (_class44 = class extends AbstractApiData {constructor(...args41) { super(...args41); _class44.prototype.__init146.call(this);_class44.prototype.__init147.call(this);_class44.prototype.__init148.call(this);_class44.prototype.__init149.call(this);_class44.prototype.__init150.call(this); }
|
|
11896
12159
|
static {
|
|
11897
12160
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsTimeline");
|
|
11898
12161
|
}
|
|
11899
|
-
|
|
11900
|
-
|
|
11901
|
-
|
|
11902
|
-
|
|
11903
|
-
|
|
12162
|
+
__init146() {this._bucket = /* @__PURE__ */ new Date(0)}
|
|
12163
|
+
__init147() {this._section = ""}
|
|
12164
|
+
__init148() {this._visitors = 0}
|
|
12165
|
+
__init149() {this._sessions = 0}
|
|
12166
|
+
__init150() {this._pageViews = 0}
|
|
11904
12167
|
get bucket() {
|
|
11905
12168
|
return this._bucket;
|
|
11906
12169
|
}
|
|
@@ -11943,7 +12206,7 @@ var AnalyticsTimeline = (_class42 = class extends AbstractApiData {constructor(.
|
|
|
11943
12206
|
if (data.pageViews !== void 0) response.data.attributes.pageViews = data.pageViews;
|
|
11944
12207
|
return response;
|
|
11945
12208
|
}
|
|
11946
|
-
},
|
|
12209
|
+
}, _class44);
|
|
11947
12210
|
|
|
11948
12211
|
// src/features/analytics/analytics.modules.ts
|
|
11949
12212
|
var analyticsModules = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => ({
|
|
@@ -11983,11 +12246,11 @@ function getTokenUsageCurrency() {
|
|
|
11983
12246
|
_chunk7QVYU63Ejs.__name.call(void 0, getTokenUsageCurrency, "getTokenUsageCurrency");
|
|
11984
12247
|
|
|
11985
12248
|
// src/features/audit-log/data/audit-log.ts
|
|
11986
|
-
var AuditLog = (
|
|
12249
|
+
var AuditLog = (_class45 = class extends AbstractApiData {constructor(...args42) { super(...args42); _class45.prototype.__init151.call(this); }
|
|
11987
12250
|
static {
|
|
11988
12251
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AuditLog");
|
|
11989
12252
|
}
|
|
11990
|
-
|
|
12253
|
+
__init151() {this._kind = "audit"}
|
|
11991
12254
|
|
|
11992
12255
|
|
|
11993
12256
|
|
|
@@ -12034,7 +12297,7 @@ var AuditLog = (_class43 = class extends AbstractApiData {constructor(...args40)
|
|
|
12034
12297
|
createJsonApi() {
|
|
12035
12298
|
throw new Error("AuditLog is read-only");
|
|
12036
12299
|
}
|
|
12037
|
-
},
|
|
12300
|
+
}, _class45);
|
|
12038
12301
|
|
|
12039
12302
|
// src/features/audit-log/data/audit-log.service.ts
|
|
12040
12303
|
var AuditLogService = class extends AbstractService {
|
|
@@ -12391,5 +12654,13 @@ var AuditLogModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (facto
|
|
|
12391
12654
|
|
|
12392
12655
|
|
|
12393
12656
|
|
|
12394
|
-
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.getI18nSupportedLocales = getI18nSupportedLocales; 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.mergeMessages = mergeMessages; 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.dateFormatLocale = dateFormatLocale; 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.SubscriptionStatus = SubscriptionStatus; exports.CREDIT_WARNING_DISMISS_SEGMENT = CREDIT_WARNING_DISMISS_SEGMENT; exports.isCreditWarningActive = isCreditWarningActive; exports.resolveChangePlanTarget = resolveChangePlanTarget; 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.StripeSubscriptionService = StripeSubscriptionService; exports.StripeSubscriptionModule = StripeSubscriptionModule; exports.StripeUsage = StripeUsage; exports.StripeUsageService = StripeUsageService; exports.StripeUsageModule = StripeUsageModule; exports.StripePromotionCodeService = StripePromotionCodeService; exports.StripePromotionCode = StripePromotionCode; exports.StripePromotionCodeModule = StripePromotionCodeModule; exports.StripeCoupon = StripeCoupon; exports.StripeCouponFields = StripeCouponFields; exports.STRIPE_COUPON_REFRESH_SEGMENT = STRIPE_COUPON_REFRESH_SEGMENT; exports.STRIPE_COUPON_DETAIL_PAGE_URL = STRIPE_COUPON_DETAIL_PAGE_URL; exports.StripeCouponModule = StripeCouponModule; exports.StripeCouponService = StripeCouponService; exports.StripeCouponCode = StripeCouponCode; exports.StripeCouponCodeFields = StripeCouponCodeFields; exports.STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT = STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT; exports.StripeCouponCodeModule = StripeCouponCodeModule; exports.StripeCouponCodeService = StripeCouponCodeService; exports.StripeCouponOffer = StripeCouponOffer; exports.couponPlacesLeft = couponPlacesLeft; exports.couponPlacesTotal = couponPlacesTotal; exports.formatInterval = formatInterval; exports.formatCurrency = formatCurrency; exports.formatFixed = formatFixed; exports.formatCouponDiscount = formatCouponDiscount; exports.toPromotionCodeResult = toPromotionCodeResult; exports.StripeCouponOfferModule = StripeCouponOfferModule; 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.EmailAutomation = EmailAutomation; exports.EmailAutomationModule = EmailAutomationModule; exports.EmailAutomationStep = EmailAutomationStep; exports.EmailAutomationStepModule = EmailAutomationStepModule; exports.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE; exports.EmailAutomationEnrollment = EmailAutomationEnrollment; exports.EmailAutomationEnrollmentModule = EmailAutomationEnrollmentModule; exports.EmailAutomationTrigger = EmailAutomationTrigger; exports.EmailAutomationTriggerModule = EmailAutomationTriggerModule; exports.EmailAutomationService = EmailAutomationService; exports.EmailAutomationStepService = EmailAutomationStepService; exports.EmailAutomationEnrollmentService = EmailAutomationEnrollmentService; exports.EmailAutomationFields = EmailAutomationFields; exports.EmailAutomationEnrollmentFields = EmailAutomationEnrollmentFields; exports.BlogCategory = BlogCategory; exports.BlogCategoryTranslation = BlogCategoryTranslation; exports.BlogPost = BlogPost; exports.BlogPostTranslation = BlogPostTranslation; exports.BLOG_LIST_LAYOUTS = BLOG_LIST_LAYOUTS; exports.BLOG_POST_STATUSES = BLOG_POST_STATUSES; exports.BLOG_TRANSLATION_SOURCES = BLOG_TRANSLATION_SOURCES; exports.BLOG_SETTINGS_ID = BLOG_SETTINGS_ID; exports.BLOG_MODULE_ID = BLOG_MODULE_ID; exports.BLOG_UPLOAD_ROOT = BLOG_UPLOAD_ROOT; exports.BLOG_POST_UPLOAD_PREFIX = BLOG_POST_UPLOAD_PREFIX; exports.BLOG_CATEGORY_UPLOAD_PREFIX = BLOG_CATEGORY_UPLOAD_PREFIX; exports.BLOG_PUBLIC_PREFIX = BLOG_PUBLIC_PREFIX; exports.BLOG_ACTION = BLOG_ACTION; exports.BlogSettings = BlogSettings; exports.BlogPostModule = BlogPostModule; exports.BlogPostTranslationModule = BlogPostTranslationModule; exports.BlogCategoryModule = BlogCategoryModule; exports.BlogCategoryTranslationModule = BlogCategoryTranslationModule; exports.BlogSettingsModule = BlogSettingsModule; exports.BlogPostService = BlogPostService; exports.BlogPostTranslationService = BlogPostTranslationService; exports.BlogCategoryService = BlogCategoryService; exports.BlogCategoryTranslationService = BlogCategoryTranslationService; exports.BlogSettingsService = BlogSettingsService; exports.BlogPostFields = BlogPostFields; exports.BlogCategoryFields = BlogCategoryFields; 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;
|
|
12395
|
-
|
|
12657
|
+
|
|
12658
|
+
|
|
12659
|
+
|
|
12660
|
+
|
|
12661
|
+
|
|
12662
|
+
|
|
12663
|
+
|
|
12664
|
+
|
|
12665
|
+
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.getI18nSupportedLocales = getI18nSupportedLocales; 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.mergeMessages = mergeMessages; 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.dateFormatLocale = dateFormatLocale; 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.AccountDeletion = AccountDeletion; exports.AccountDeletionModule = AccountDeletionModule; exports.AccountDeletionService = AccountDeletionService; exports.ACCOUNT_DELETION_CANCELLED_KEY = ACCOUNT_DELETION_CANCELLED_KEY; exports.markAccountDeletionCancelled = markAccountDeletionCancelled; exports.consumeAccountDeletionCancelled = consumeAccountDeletionCancelled; 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.PendingRegistration = PendingRegistration; exports.AuthComponent = AuthComponent; exports.AuthModule = AuthModule; exports.TwoFactorStatusModule = TwoFactorStatusModule; exports.PendingRegistrationModule = PendingRegistrationModule; exports.BillingService = BillingService; exports.Billing = Billing; exports.SubscriptionStatus = SubscriptionStatus; exports.CREDIT_WARNING_DISMISS_SEGMENT = CREDIT_WARNING_DISMISS_SEGMENT; exports.isCreditWarningActive = isCreditWarningActive; exports.resolveChangePlanTarget = resolveChangePlanTarget; 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.StripeSubscriptionService = StripeSubscriptionService; exports.StripeSubscriptionModule = StripeSubscriptionModule; exports.StripeUsage = StripeUsage; exports.StripeUsageService = StripeUsageService; exports.StripeUsageModule = StripeUsageModule; exports.StripePromotionCodeService = StripePromotionCodeService; exports.StripePromotionCode = StripePromotionCode; exports.StripePromotionCodeModule = StripePromotionCodeModule; exports.StripeCoupon = StripeCoupon; exports.StripeCouponFields = StripeCouponFields; exports.STRIPE_COUPON_REFRESH_SEGMENT = STRIPE_COUPON_REFRESH_SEGMENT; exports.STRIPE_COUPON_DETAIL_PAGE_URL = STRIPE_COUPON_DETAIL_PAGE_URL; exports.StripeCouponModule = StripeCouponModule; exports.StripeCouponService = StripeCouponService; exports.StripeCouponCode = StripeCouponCode; exports.StripeCouponCodeFields = StripeCouponCodeFields; exports.STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT = STRIPE_COUPON_CODE_AUTOMATIC_SEGMENT; exports.StripeCouponCodeModule = StripeCouponCodeModule; exports.StripeCouponCodeService = StripeCouponCodeService; exports.StripeCouponOffer = StripeCouponOffer; exports.couponPlacesLeft = couponPlacesLeft; exports.couponPlacesTotal = couponPlacesTotal; exports.formatInterval = formatInterval; exports.formatCurrency = formatCurrency; exports.formatFixed = formatFixed; exports.formatCouponDiscount = formatCouponDiscount; exports.toPromotionCodeResult = toPromotionCodeResult; exports.StripeCouponOfferModule = StripeCouponOfferModule; 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.EmailAutomation = EmailAutomation; exports.EmailAutomationModule = EmailAutomationModule; exports.EmailAutomationStep = EmailAutomationStep; exports.EmailAutomationStepModule = EmailAutomationStepModule; exports.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE; exports.EmailAutomationEnrollment = EmailAutomationEnrollment; exports.EmailAutomationEnrollmentModule = EmailAutomationEnrollmentModule; exports.EmailAutomationTrigger = EmailAutomationTrigger; exports.EmailAutomationTriggerModule = EmailAutomationTriggerModule; exports.EmailAutomationService = EmailAutomationService; exports.EmailAutomationStepService = EmailAutomationStepService; exports.EmailAutomationEnrollmentService = EmailAutomationEnrollmentService; exports.EmailAutomationFields = EmailAutomationFields; exports.EmailAutomationEnrollmentFields = EmailAutomationEnrollmentFields; exports.BlogCategory = BlogCategory; exports.BlogCategoryTranslation = BlogCategoryTranslation; exports.BlogPost = BlogPost; exports.BlogPostTranslation = BlogPostTranslation; exports.BLOG_LIST_LAYOUTS = BLOG_LIST_LAYOUTS; exports.BLOG_POST_STATUSES = BLOG_POST_STATUSES; exports.BLOG_TRANSLATION_SOURCES = BLOG_TRANSLATION_SOURCES; exports.BLOG_SETTINGS_ID = BLOG_SETTINGS_ID; exports.BLOG_MODULE_ID = BLOG_MODULE_ID; exports.BLOG_UPLOAD_ROOT = BLOG_UPLOAD_ROOT; exports.BLOG_POST_UPLOAD_PREFIX = BLOG_POST_UPLOAD_PREFIX; exports.BLOG_CATEGORY_UPLOAD_PREFIX = BLOG_CATEGORY_UPLOAD_PREFIX; exports.BLOG_PUBLIC_PREFIX = BLOG_PUBLIC_PREFIX; exports.BLOG_ACTION = BLOG_ACTION; exports.BlogSettings = BlogSettings; exports.BlogPostModule = BlogPostModule; exports.BlogPostTranslationModule = BlogPostTranslationModule; exports.BlogCategoryModule = BlogCategoryModule; exports.BlogCategoryTranslationModule = BlogCategoryTranslationModule; exports.BlogSettingsModule = BlogSettingsModule; exports.BlogPostService = BlogPostService; exports.BlogPostTranslationService = BlogPostTranslationService; exports.BlogCategoryService = BlogCategoryService; exports.BlogCategoryTranslationService = BlogCategoryTranslationService; exports.BlogSettingsService = BlogSettingsService; exports.BlogPostFields = BlogPostFields; exports.BlogCategoryFields = BlogCategoryFields; 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;
|
|
12666
|
+
//# sourceMappingURL=chunk-6KE7UBYY.js.map
|