@carlonicora/nextjs-jsonapi 5.1.3 → 5.3.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-KO6YFNIU.js → BlockNoteEditor-UJ6363LC.js} +19 -19
- package/dist/{BlockNoteEditor-KO6YFNIU.js.map → BlockNoteEditor-UJ6363LC.js.map} +1 -1
- package/dist/{BlockNoteEditor-66FJUDL4.mjs → BlockNoteEditor-WTSQANKI.mjs} +4 -4
- package/dist/{BlockNoteViewer-LK22AE7Z.js → BlockNoteViewer-EL4JFB6P.js} +3 -3
- package/dist/{BlockNoteViewer-LK22AE7Z.js.map → BlockNoteViewer-EL4JFB6P.js.map} +1 -1
- package/dist/{BlockNoteViewer-SUK7OMWH.mjs → BlockNoteViewer-JVKWJZ6J.mjs} +2 -2
- package/dist/auth.interface-CSzJ1oP1.d.ts +64 -0
- package/dist/auth.interface-DD4uQv2K.d.mts +64 -0
- package/dist/billing/index.js +441 -441
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-SZQNUGDG.js → chunk-3BAM23VA.js} +1005 -929
- package/dist/chunk-3BAM23VA.js.map +1 -0
- package/dist/{chunk-OKUGTXDN.mjs → chunk-6WU74VFU.mjs} +121 -3
- package/dist/chunk-6WU74VFU.mjs.map +1 -0
- package/dist/{chunk-VVJDWQEI.js → chunk-CRI4T47Y.js} +790 -179
- package/dist/chunk-CRI4T47Y.js.map +1 -0
- package/dist/{chunk-TO6IYGML.js → chunk-EO75CV76.js} +126 -8
- package/dist/chunk-EO75CV76.js.map +1 -0
- package/dist/{chunk-KL7CAQP3.mjs → chunk-FNTQQFLH.mjs} +2 -2
- package/dist/{chunk-OCJEXAGE.mjs → chunk-JQWI62NV.mjs} +617 -6
- package/dist/chunk-JQWI62NV.mjs.map +1 -0
- package/dist/{chunk-5JADF7ZA.mjs → chunk-MIZTWBPX.mjs} +171 -95
- package/dist/chunk-MIZTWBPX.mjs.map +1 -0
- package/dist/{chunk-XLVRAHUK.mjs → chunk-QKZUE5OF.mjs} +2 -2
- package/dist/{chunk-67NJY7SM.js → chunk-QQQE3N2X.js} +3 -3
- package/dist/{chunk-67NJY7SM.js.map → chunk-QQQE3N2X.js.map} +1 -1
- package/dist/{chunk-XCHXOCEJ.js → chunk-XGTQWBDJ.js} +4 -4
- package/dist/{chunk-XCHXOCEJ.js.map → chunk-XGTQWBDJ.js.map} +1 -1
- package/dist/client/index.d.mts +6 -39
- package/dist/client/index.d.ts +6 -39
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.d.mts +19 -5
- package/dist/components/index.d.ts +19 -5
- package/dist/components/index.js +6 -4
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +5 -3
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.d.mts +214 -8
- package/dist/core/index.d.ts +214 -8
- package/dist/core/index.js +30 -2
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +29 -1
- package/dist/email-automation-enrollment.fields-BZvF14qx.d.mts +82 -0
- package/dist/email-automation-enrollment.fields-Cp3VMzFq.d.ts +82 -0
- package/dist/email-automations/index.css +30 -0
- package/dist/email-automations/index.css.map +1 -0
- package/dist/email-automations/index.d.mts +303 -0
- package/dist/email-automations/index.d.ts +303 -0
- package/dist/email-automations/index.js +1705 -0
- package/dist/email-automations/index.js.map +1 -0
- package/dist/email-automations/index.mjs +1705 -0
- package/dist/email-automations/index.mjs.map +1 -0
- package/dist/features/analytics/index.js +122 -122
- 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/help/index.js +37 -37
- package/dist/features/help/index.mjs +3 -3
- package/dist/features/tokenusage/index.js +125 -125
- package/dist/features/tokenusage/index.mjs +4 -4
- package/dist/index.d.mts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +41 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +41 -3
- package/dist/{s3.service-C-4YpEMu.d.ts → s3.service-CY-jgOAM.d.ts} +1 -1
- package/dist/{s3.service-dVj-nxMl.d.mts → s3.service-Sri0QP7Z.d.mts} +1 -1
- 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/dist/types-70acd-8C.d.mts +39 -0
- package/dist/types-l8SFleXi.d.ts +39 -0
- package/dist/{waitlist.config-kPfjImle.d.mts → waitlist.config-Cagmgm7-.d.mts} +7 -0
- package/dist/{waitlist.config-kPfjImle.d.ts → waitlist.config-Cagmgm7-.d.ts} +7 -0
- package/messages/en.json +132 -1
- package/messages/it.json +132 -1
- package/package.json +11 -1
- package/scripts/validate-messages.mjs +1 -0
- package/src/components/forms/FormFieldWrapper.tsx +1 -1
- package/src/components/forms/FormTextarea.tsx +2 -1
- package/src/components/index.ts +1 -0
- package/src/core/index.ts +8 -0
- package/src/core/registry/ModuleRegistry.ts +5 -0
- package/src/email-automations/index.ts +5 -0
- package/src/features/auth/components/buttons/GoogleSignInButton.tsx +8 -4
- package/src/features/auth/components/forms/Register.tsx +20 -8
- package/src/features/auth/data/auth.interface.ts +2 -0
- package/src/features/auth/data/auth.ts +10 -0
- package/src/features/email-automation/EmailAutomationEnrollmentModule.ts +11 -0
- package/src/features/email-automation/EmailAutomationModule.ts +30 -0
- package/src/features/email-automation/EmailAutomationStepModule.ts +11 -0
- package/src/features/email-automation/EmailAutomationTriggerModule.ts +11 -0
- package/src/features/email-automation/components/__tests__/EmailAutomationEditor.spec.tsx +104 -0
- package/src/features/email-automation/components/canvas/EmailAutomationActiveSwitch.tsx +49 -0
- package/src/features/email-automation/components/canvas/EmailAutomationCanvas.tsx +474 -0
- package/src/features/email-automation/components/canvas/EmailAutomationCanvasInspector.tsx +89 -0
- package/src/features/email-automation/components/canvas/EmailAutomationCanvasTab.tsx +32 -0
- package/src/features/email-automation/components/canvas/__tests__/buildCanvasGraph.spec.ts +67 -0
- package/src/features/email-automation/components/canvas/buildCanvasGraph.ts +141 -0
- package/src/features/email-automation/components/canvas/edges/DelayEdge.tsx +68 -0
- package/src/features/email-automation/components/canvas/nodes/EmailStepNode.tsx +43 -0
- package/src/features/email-automation/components/canvas/nodes/TriggerNode.tsx +23 -0
- package/src/features/email-automation/components/canvas/shared/CanvasToolbar.tsx +53 -0
- package/src/features/email-automation/components/canvas/shared/EmptyCanvas.tsx +11 -0
- package/src/features/email-automation/components/canvas/shared/__tests__/autoLayout.spec.ts +42 -0
- package/src/features/email-automation/components/canvas/shared/__tests__/longPress.spec.ts +51 -0
- package/src/features/email-automation/components/canvas/shared/autoLayout.ts +55 -0
- package/src/features/email-automation/components/canvas/shared/index.ts +4 -0
- package/src/features/email-automation/components/canvas/shared/longPress.ts +57 -0
- package/src/features/email-automation/components/containers/EmailAutomationContainer.tsx +80 -0
- package/src/features/email-automation/components/containers/EmailAutomationsListContainer.tsx +27 -0
- package/src/features/email-automation/components/forms/EmailAutomationEditor.tsx +153 -0
- package/src/features/email-automation/components/forms/EmailStepEditor.tsx +151 -0
- package/src/features/email-automation/components/index.ts +15 -0
- package/src/features/email-automation/components/lists/EmailAutomationRecipientsList.tsx +90 -0
- package/src/features/email-automation/components/lists/EmailAutomationsList.tsx +76 -0
- package/src/features/email-automation/components/unsubscribe/EmailUnsubscribe.tsx +99 -0
- package/src/features/email-automation/components/unsubscribe/__tests__/EmailUnsubscribe.spec.tsx +55 -0
- package/src/features/email-automation/contexts/EmailAutomationContext.tsx +175 -0
- package/src/features/email-automation/data/EmailAutomation.ts +87 -0
- package/src/features/email-automation/data/EmailAutomationEnrollment.ts +105 -0
- package/src/features/email-automation/data/EmailAutomationEnrollmentInterface.ts +18 -0
- package/src/features/email-automation/data/EmailAutomationEnrollmentService.ts +31 -0
- package/src/features/email-automation/data/EmailAutomationInterface.ts +22 -0
- package/src/features/email-automation/data/EmailAutomationService.ts +106 -0
- package/src/features/email-automation/data/EmailAutomationStep.ts +104 -0
- package/src/features/email-automation/data/EmailAutomationStepInterface.ts +23 -0
- package/src/features/email-automation/data/EmailAutomationStepService.ts +80 -0
- package/src/features/email-automation/data/EmailAutomationTrigger.ts +28 -0
- package/src/features/email-automation/data/EmailAutomationTriggerInterface.ts +6 -0
- package/src/features/email-automation/data/__tests__/email-automation-models.spec.ts +103 -0
- package/src/features/email-automation/data/email-automation-enrollment.fields.ts +8 -0
- package/src/features/email-automation/data/email-automation.fields.ts +9 -0
- package/src/features/email-automation/data/index.ts +13 -0
- package/src/features/email-automation/hooks/index.ts +2 -0
- package/src/features/email-automation/hooks/useEmailAutomationEnrollmentTableStructure.tsx +126 -0
- package/src/features/email-automation/hooks/useEmailAutomationTableStructure.tsx +119 -0
- package/src/features/email-automation/index.ts +5 -0
- package/src/features/signup-source/SignupSourceCapture.tsx +27 -0
- package/src/features/signup-source/__tests__/signup-source.spec.ts +161 -0
- package/src/features/signup-source/index.ts +9 -0
- package/src/features/signup-source/signup-source.ts +135 -0
- package/src/features/waitlist/components/forms/WaitlistForm.tsx +2 -0
- package/src/features/waitlist/components/forms/WaitlistQuestionnaireRenderer.tsx +15 -13
- package/src/features/waitlist/components/lists/WaitlistList.tsx +60 -22
- package/src/features/waitlist/components/sections/WaitlistHeroSection.tsx +6 -5
- package/src/features/waitlist/config/waitlist.config.ts +23 -0
- package/src/features/waitlist/data/Waitlist.ts +51 -3
- package/src/features/waitlist/data/WaitlistInterface.ts +9 -1
- package/src/features/waitlist/data/WaitlistService.ts +3 -2
- package/src/features/waitlist/data/__tests__/Waitlist.spec.ts +82 -0
- package/src/features/waitlist/data/__tests__/WaitlistService.spec.ts +48 -0
- package/src/features/waitlist/data/waitlist.fields.ts +1 -0
- package/src/features/waitlist/hooks/__tests__/formatSignupSource.spec.ts +24 -0
- package/src/features/waitlist/hooks/formatSignupSource.ts +14 -0
- package/src/features/waitlist/hooks/useWaitlistTableStructure.tsx +26 -14
- package/src/hooks/__tests__/usePageTracker.spec.tsx +16 -10
- package/src/index.ts +3 -0
- package/dist/auth.interface-CeFCz9NU.d.mts +0 -34
- package/dist/auth.interface-D1R7VVky.d.ts +0 -34
- package/dist/chunk-5JADF7ZA.mjs.map +0 -1
- package/dist/chunk-OCJEXAGE.mjs.map +0 -1
- package/dist/chunk-OKUGTXDN.mjs.map +0 -1
- package/dist/chunk-SZQNUGDG.js.map +0 -1
- package/dist/chunk-TO6IYGML.js.map +0 -1
- package/dist/chunk-VVJDWQEI.js.map +0 -1
- /package/dist/{BlockNoteEditor-66FJUDL4.mjs.map → BlockNoteEditor-WTSQANKI.mjs.map} +0 -0
- /package/dist/{BlockNoteViewer-SUK7OMWH.mjs.map → BlockNoteViewer-JVKWJZ6J.mjs.map} +0 -0
- /package/dist/{chunk-KL7CAQP3.mjs.map → chunk-FNTQQFLH.mjs.map} +0 -0
- /package/dist/{chunk-XLVRAHUK.mjs.map → chunk-QKZUE5OF.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;
|
|
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;
|
|
2
2
|
|
|
3
3
|
var _chunkLXKSUWAVjs = require('./chunk-LXKSUWAV.js');
|
|
4
4
|
|
|
@@ -3077,6 +3077,15 @@ var Auth = class extends AbstractApiData {
|
|
|
3077
3077
|
if (data.marketingConsentAt !== void 0) response.data.attributes.marketingConsentAt = data.marketingConsentAt;
|
|
3078
3078
|
if (data.inviteCode !== void 0) response.data.attributes.inviteCode = data.inviteCode;
|
|
3079
3079
|
if (data.referralCode !== void 0) response.data.attributes.referralCode = data.referralCode;
|
|
3080
|
+
if (data.source !== void 0) {
|
|
3081
|
+
const attributes = response.data.attributes;
|
|
3082
|
+
if (data.source.sourceRef !== void 0) attributes.sourceRef = data.source.sourceRef;
|
|
3083
|
+
if (data.source.sourceUtmSource !== void 0) attributes.sourceUtmSource = data.source.sourceUtmSource;
|
|
3084
|
+
if (data.source.sourceUtmMedium !== void 0) attributes.sourceUtmMedium = data.source.sourceUtmMedium;
|
|
3085
|
+
if (data.source.sourceUtmCampaign !== void 0) attributes.sourceUtmCampaign = data.source.sourceUtmCampaign;
|
|
3086
|
+
if (data.source.sourceReferrer !== void 0) attributes.sourceReferrer = data.source.sourceReferrer;
|
|
3087
|
+
if (data.source.sourceLandingPath !== void 0) attributes.sourceLandingPath = data.source.sourceLandingPath;
|
|
3088
|
+
}
|
|
3080
3089
|
return response;
|
|
3081
3090
|
}
|
|
3082
3091
|
};
|
|
@@ -6156,6 +6165,552 @@ var HowToService = class extends AbstractService {
|
|
|
6156
6165
|
}
|
|
6157
6166
|
};
|
|
6158
6167
|
|
|
6168
|
+
// src/features/email-automation/EmailAutomationModule.ts
|
|
6169
|
+
|
|
6170
|
+
|
|
6171
|
+
// src/features/email-automation/data/EmailAutomation.ts
|
|
6172
|
+
var EmailAutomation = (_class19 = class extends AbstractApiData {constructor(...args16) { super(...args16); _class19.prototype.__init40.call(this); }
|
|
6173
|
+
static {
|
|
6174
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "EmailAutomation");
|
|
6175
|
+
}
|
|
6176
|
+
|
|
6177
|
+
|
|
6178
|
+
|
|
6179
|
+
|
|
6180
|
+
__init40() {this._isActive = false}
|
|
6181
|
+
|
|
6182
|
+
|
|
6183
|
+
|
|
6184
|
+
|
|
6185
|
+
get name() {
|
|
6186
|
+
return _nullishCoalesce(this._name, () => ( ""));
|
|
6187
|
+
}
|
|
6188
|
+
get trigger() {
|
|
6189
|
+
return this._trigger;
|
|
6190
|
+
}
|
|
6191
|
+
get exitTrigger() {
|
|
6192
|
+
return this._exitTrigger;
|
|
6193
|
+
}
|
|
6194
|
+
get replyTo() {
|
|
6195
|
+
return this._replyTo;
|
|
6196
|
+
}
|
|
6197
|
+
get isActive() {
|
|
6198
|
+
return this._isActive;
|
|
6199
|
+
}
|
|
6200
|
+
get stepCount() {
|
|
6201
|
+
return _nullishCoalesce(this._stepCount, () => ( 0));
|
|
6202
|
+
}
|
|
6203
|
+
get activeCount() {
|
|
6204
|
+
return _nullishCoalesce(this._activeCount, () => ( 0));
|
|
6205
|
+
}
|
|
6206
|
+
get completedCount() {
|
|
6207
|
+
return _nullishCoalesce(this._completedCount, () => ( 0));
|
|
6208
|
+
}
|
|
6209
|
+
get unsubscribedCount() {
|
|
6210
|
+
return _nullishCoalesce(this._unsubscribedCount, () => ( 0));
|
|
6211
|
+
}
|
|
6212
|
+
rehydrate(data) {
|
|
6213
|
+
super.rehydrate(data);
|
|
6214
|
+
this._name = data.jsonApi.attributes.name;
|
|
6215
|
+
this._trigger = _nullishCoalesce(data.jsonApi.attributes.trigger, () => ( void 0));
|
|
6216
|
+
this._exitTrigger = _nullishCoalesce(data.jsonApi.attributes.exitTrigger, () => ( void 0));
|
|
6217
|
+
this._replyTo = _nullishCoalesce(data.jsonApi.attributes.replyTo, () => ( void 0));
|
|
6218
|
+
this._isActive = data.jsonApi.attributes.isActive === true;
|
|
6219
|
+
this._stepCount = data.jsonApi.attributes.stepCount;
|
|
6220
|
+
this._activeCount = data.jsonApi.attributes.activeCount;
|
|
6221
|
+
this._completedCount = data.jsonApi.attributes.completedCount;
|
|
6222
|
+
this._unsubscribedCount = data.jsonApi.attributes.unsubscribedCount;
|
|
6223
|
+
return this;
|
|
6224
|
+
}
|
|
6225
|
+
createJsonApi(data) {
|
|
6226
|
+
const response = {
|
|
6227
|
+
data: {
|
|
6228
|
+
type: Modules.EmailAutomation.name,
|
|
6229
|
+
id: data.id,
|
|
6230
|
+
attributes: {},
|
|
6231
|
+
meta: {},
|
|
6232
|
+
relationships: {}
|
|
6233
|
+
},
|
|
6234
|
+
included: []
|
|
6235
|
+
};
|
|
6236
|
+
if (data.name !== void 0) response.data.attributes.name = data.name;
|
|
6237
|
+
if (data.trigger !== void 0) response.data.attributes.trigger = data.trigger;
|
|
6238
|
+
if (data.exitTrigger !== void 0) response.data.attributes.exitTrigger = data.exitTrigger;
|
|
6239
|
+
if (data.replyTo !== void 0) response.data.attributes.replyTo = data.replyTo;
|
|
6240
|
+
if (data.isActive !== void 0) response.data.attributes.isActive = data.isActive;
|
|
6241
|
+
return response;
|
|
6242
|
+
}
|
|
6243
|
+
}, _class19);
|
|
6244
|
+
|
|
6245
|
+
// src/features/email-automation/EmailAutomationModule.ts
|
|
6246
|
+
var EmailAutomationModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
6247
|
+
moduleId: "3f6c1a2e-7b94-4d1e-8c55-9a0b2e4f6d71",
|
|
6248
|
+
pageUrl: "/administration/email-automations",
|
|
6249
|
+
name: "email-automations",
|
|
6250
|
+
model: EmailAutomation,
|
|
6251
|
+
icon: _lucidereact.MailIcon,
|
|
6252
|
+
inclusions: {
|
|
6253
|
+
lists: {
|
|
6254
|
+
fields: [
|
|
6255
|
+
createJsonApiInclusion("email-automations", [
|
|
6256
|
+
"name",
|
|
6257
|
+
"trigger",
|
|
6258
|
+
"exitTrigger",
|
|
6259
|
+
"replyTo",
|
|
6260
|
+
"isActive",
|
|
6261
|
+
"stepCount",
|
|
6262
|
+
"activeCount",
|
|
6263
|
+
"completedCount",
|
|
6264
|
+
"unsubscribedCount"
|
|
6265
|
+
])
|
|
6266
|
+
]
|
|
6267
|
+
}
|
|
6268
|
+
}
|
|
6269
|
+
}), "EmailAutomationModule");
|
|
6270
|
+
|
|
6271
|
+
// src/features/email-automation/EmailAutomationStepModule.ts
|
|
6272
|
+
|
|
6273
|
+
|
|
6274
|
+
// src/features/email-automation/data/EmailAutomationStep.ts
|
|
6275
|
+
var EmailAutomationStep = class extends AbstractApiData {
|
|
6276
|
+
static {
|
|
6277
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "EmailAutomationStep");
|
|
6278
|
+
}
|
|
6279
|
+
|
|
6280
|
+
|
|
6281
|
+
|
|
6282
|
+
|
|
6283
|
+
|
|
6284
|
+
|
|
6285
|
+
|
|
6286
|
+
|
|
6287
|
+
get subject() {
|
|
6288
|
+
return _nullishCoalesce(this._subject, () => ( ""));
|
|
6289
|
+
}
|
|
6290
|
+
get body() {
|
|
6291
|
+
return _nullishCoalesce(this._body, () => ( ""));
|
|
6292
|
+
}
|
|
6293
|
+
get delayHours() {
|
|
6294
|
+
return _nullishCoalesce(this._delayHours, () => ( 0));
|
|
6295
|
+
}
|
|
6296
|
+
get positionX() {
|
|
6297
|
+
return this._positionX;
|
|
6298
|
+
}
|
|
6299
|
+
get positionY() {
|
|
6300
|
+
return this._positionY;
|
|
6301
|
+
}
|
|
6302
|
+
get sentCount() {
|
|
6303
|
+
return _nullishCoalesce(this._sentCount, () => ( 0));
|
|
6304
|
+
}
|
|
6305
|
+
get automation() {
|
|
6306
|
+
return this._automation;
|
|
6307
|
+
}
|
|
6308
|
+
get next() {
|
|
6309
|
+
return this._next;
|
|
6310
|
+
}
|
|
6311
|
+
rehydrate(data) {
|
|
6312
|
+
super.rehydrate(data);
|
|
6313
|
+
this._subject = data.jsonApi.attributes.subject;
|
|
6314
|
+
this._body = data.jsonApi.attributes.body;
|
|
6315
|
+
this._delayHours = data.jsonApi.attributes.delayHours;
|
|
6316
|
+
this._positionX = _nullishCoalesce(data.jsonApi.attributes.positionX, () => ( void 0));
|
|
6317
|
+
this._positionY = _nullishCoalesce(data.jsonApi.attributes.positionY, () => ( void 0));
|
|
6318
|
+
this._sentCount = data.jsonApi.attributes.sentCount;
|
|
6319
|
+
this._automation = this._readIncluded(data, "automation", Modules.EmailAutomation);
|
|
6320
|
+
this._next = this._readIncluded(data, "next", Modules.EmailAutomationStep);
|
|
6321
|
+
return this;
|
|
6322
|
+
}
|
|
6323
|
+
createJsonApi(data) {
|
|
6324
|
+
const response = {
|
|
6325
|
+
data: {
|
|
6326
|
+
type: Modules.EmailAutomationStep.name,
|
|
6327
|
+
id: data.id,
|
|
6328
|
+
attributes: {},
|
|
6329
|
+
meta: {},
|
|
6330
|
+
relationships: {}
|
|
6331
|
+
},
|
|
6332
|
+
included: []
|
|
6333
|
+
};
|
|
6334
|
+
if (data.subject !== void 0) response.data.attributes.subject = data.subject;
|
|
6335
|
+
if (data.body !== void 0) response.data.attributes.body = data.body;
|
|
6336
|
+
if (data.delayHours !== void 0) response.data.attributes.delayHours = data.delayHours;
|
|
6337
|
+
if (data.positionX !== void 0) response.data.attributes.positionX = data.positionX;
|
|
6338
|
+
if (data.positionY !== void 0) response.data.attributes.positionY = data.positionY;
|
|
6339
|
+
if (data.automationId) {
|
|
6340
|
+
response.data.relationships.automation = {
|
|
6341
|
+
data: {
|
|
6342
|
+
type: Modules.EmailAutomation.name,
|
|
6343
|
+
id: data.automationId
|
|
6344
|
+
}
|
|
6345
|
+
};
|
|
6346
|
+
}
|
|
6347
|
+
return response;
|
|
6348
|
+
}
|
|
6349
|
+
/**
|
|
6350
|
+
* Body of POST email-automation-steps/:stepId/next: the step the chain continues to.
|
|
6351
|
+
*/
|
|
6352
|
+
createNextJsonApi(params) {
|
|
6353
|
+
return {
|
|
6354
|
+
data: {
|
|
6355
|
+
type: Modules.EmailAutomationStep.name,
|
|
6356
|
+
id: params.nextStepId
|
|
6357
|
+
}
|
|
6358
|
+
};
|
|
6359
|
+
}
|
|
6360
|
+
};
|
|
6361
|
+
|
|
6362
|
+
// src/features/email-automation/EmailAutomationStepModule.ts
|
|
6363
|
+
var EmailAutomationStepModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
6364
|
+
pageUrl: void 0,
|
|
6365
|
+
name: "email-automation-steps",
|
|
6366
|
+
model: EmailAutomationStep,
|
|
6367
|
+
icon: _lucidereact.MailIcon
|
|
6368
|
+
}), "EmailAutomationStepModule");
|
|
6369
|
+
|
|
6370
|
+
// src/features/email-automation/EmailAutomationEnrollmentModule.ts
|
|
6371
|
+
|
|
6372
|
+
|
|
6373
|
+
// src/features/email-automation/data/EmailAutomationEnrollment.ts
|
|
6374
|
+
var EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = "email-automation-unsubscribes";
|
|
6375
|
+
var EmailAutomationEnrollment = (_class20 = class extends AbstractApiData {constructor(...args17) { super(...args17); _class20.prototype.__init41.call(this); }
|
|
6376
|
+
static {
|
|
6377
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "EmailAutomationEnrollment");
|
|
6378
|
+
}
|
|
6379
|
+
|
|
6380
|
+
|
|
6381
|
+
__init41() {this._status = "active"}
|
|
6382
|
+
|
|
6383
|
+
|
|
6384
|
+
|
|
6385
|
+
|
|
6386
|
+
|
|
6387
|
+
|
|
6388
|
+
|
|
6389
|
+
|
|
6390
|
+
get email() {
|
|
6391
|
+
return _nullishCoalesce(this._email, () => ( ""));
|
|
6392
|
+
}
|
|
6393
|
+
get name() {
|
|
6394
|
+
return this._name;
|
|
6395
|
+
}
|
|
6396
|
+
get status() {
|
|
6397
|
+
return this._status;
|
|
6398
|
+
}
|
|
6399
|
+
get enrolledAt() {
|
|
6400
|
+
return _nullishCoalesce(this._enrolledAt, () => ( /* @__PURE__ */ new Date(0)));
|
|
6401
|
+
}
|
|
6402
|
+
get nextSendAt() {
|
|
6403
|
+
return this._nextSendAt;
|
|
6404
|
+
}
|
|
6405
|
+
get finishedAt() {
|
|
6406
|
+
return this._finishedAt;
|
|
6407
|
+
}
|
|
6408
|
+
get attempts() {
|
|
6409
|
+
return _nullishCoalesce(this._attempts, () => ( 0));
|
|
6410
|
+
}
|
|
6411
|
+
get lastError() {
|
|
6412
|
+
return this._lastError;
|
|
6413
|
+
}
|
|
6414
|
+
get currentStepSubject() {
|
|
6415
|
+
return this._currentStepSubject;
|
|
6416
|
+
}
|
|
6417
|
+
get sentCount() {
|
|
6418
|
+
return _nullishCoalesce(this._sentCount, () => ( 0));
|
|
6419
|
+
}
|
|
6420
|
+
get automation() {
|
|
6421
|
+
return this._automation;
|
|
6422
|
+
}
|
|
6423
|
+
rehydrate(data) {
|
|
6424
|
+
super.rehydrate(data);
|
|
6425
|
+
const attributes = data.jsonApi.attributes;
|
|
6426
|
+
this._email = attributes.email;
|
|
6427
|
+
this._name = _nullishCoalesce(attributes.name, () => ( void 0));
|
|
6428
|
+
this._status = _nullishCoalesce(attributes.status, () => ( "active"));
|
|
6429
|
+
this._enrolledAt = attributes.enrolledAt ? new Date(attributes.enrolledAt) : void 0;
|
|
6430
|
+
this._nextSendAt = attributes.nextSendAt ? new Date(attributes.nextSendAt) : void 0;
|
|
6431
|
+
this._finishedAt = attributes.finishedAt ? new Date(attributes.finishedAt) : void 0;
|
|
6432
|
+
this._attempts = attributes.attempts;
|
|
6433
|
+
this._lastError = _nullishCoalesce(attributes.lastError, () => ( void 0));
|
|
6434
|
+
this._currentStepSubject = _nullishCoalesce(attributes.currentStepSubject, () => ( void 0));
|
|
6435
|
+
this._sentCount = attributes.sentCount;
|
|
6436
|
+
this._automation = this._readIncluded(data, "automation", Modules.EmailAutomation);
|
|
6437
|
+
return this;
|
|
6438
|
+
}
|
|
6439
|
+
createJsonApi(_data) {
|
|
6440
|
+
throw new Error("EmailAutomationEnrollment is created by the API and cannot be created from the client");
|
|
6441
|
+
}
|
|
6442
|
+
/**
|
|
6443
|
+
* Body of POST email-automations/unsubscribe/:token.
|
|
6444
|
+
*/
|
|
6445
|
+
createUnsubscribeJsonApi(params) {
|
|
6446
|
+
return {
|
|
6447
|
+
data: {
|
|
6448
|
+
type: EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE,
|
|
6449
|
+
attributes: {
|
|
6450
|
+
scope: params.scope
|
|
6451
|
+
}
|
|
6452
|
+
}
|
|
6453
|
+
};
|
|
6454
|
+
}
|
|
6455
|
+
}, _class20);
|
|
6456
|
+
|
|
6457
|
+
// src/features/email-automation/EmailAutomationEnrollmentModule.ts
|
|
6458
|
+
var EmailAutomationEnrollmentModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
6459
|
+
pageUrl: void 0,
|
|
6460
|
+
name: "email-automation-enrollments",
|
|
6461
|
+
model: EmailAutomationEnrollment,
|
|
6462
|
+
icon: _lucidereact.UsersIcon
|
|
6463
|
+
}), "EmailAutomationEnrollmentModule");
|
|
6464
|
+
|
|
6465
|
+
// src/features/email-automation/EmailAutomationTriggerModule.ts
|
|
6466
|
+
|
|
6467
|
+
|
|
6468
|
+
// src/features/email-automation/data/EmailAutomationTrigger.ts
|
|
6469
|
+
var EmailAutomationTrigger = class extends AbstractApiData {
|
|
6470
|
+
static {
|
|
6471
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "EmailAutomationTrigger");
|
|
6472
|
+
}
|
|
6473
|
+
|
|
6474
|
+
|
|
6475
|
+
get key() {
|
|
6476
|
+
return _nullishCoalesce(this._key, () => ( ""));
|
|
6477
|
+
}
|
|
6478
|
+
get label() {
|
|
6479
|
+
return _nullishCoalesce(this._label, () => ( ""));
|
|
6480
|
+
}
|
|
6481
|
+
rehydrate(data) {
|
|
6482
|
+
super.rehydrate(data);
|
|
6483
|
+
this._key = data.jsonApi.attributes.key;
|
|
6484
|
+
this._label = data.jsonApi.attributes.label;
|
|
6485
|
+
return this;
|
|
6486
|
+
}
|
|
6487
|
+
createJsonApi(_data) {
|
|
6488
|
+
throw new Error("EmailAutomationTrigger is declared by the API and is read-only");
|
|
6489
|
+
}
|
|
6490
|
+
};
|
|
6491
|
+
|
|
6492
|
+
// src/features/email-automation/EmailAutomationTriggerModule.ts
|
|
6493
|
+
var EmailAutomationTriggerModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
6494
|
+
pageUrl: void 0,
|
|
6495
|
+
name: "email-automation-triggers",
|
|
6496
|
+
model: EmailAutomationTrigger,
|
|
6497
|
+
icon: _lucidereact.ZapIcon
|
|
6498
|
+
}), "EmailAutomationTriggerModule");
|
|
6499
|
+
|
|
6500
|
+
// src/features/email-automation/data/EmailAutomationService.ts
|
|
6501
|
+
var EmailAutomationService = class extends AbstractService {
|
|
6502
|
+
static {
|
|
6503
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "EmailAutomationService");
|
|
6504
|
+
}
|
|
6505
|
+
static async findMany(params = {}) {
|
|
6506
|
+
const endpoint = new EndpointCreator({ endpoint: Modules.EmailAutomation });
|
|
6507
|
+
if (_optionalChain([Modules, 'access', _150 => _150.EmailAutomation, 'access', _151 => _151.inclusions, 'optionalAccess', _152 => _152.lists, 'optionalAccess', _153 => _153.fields]))
|
|
6508
|
+
endpoint.limitToFields(Modules.EmailAutomation.inclusions.lists.fields);
|
|
6509
|
+
if (_optionalChain([Modules, 'access', _154 => _154.EmailAutomation, 'access', _155 => _155.inclusions, 'optionalAccess', _156 => _156.lists, 'optionalAccess', _157 => _157.types]))
|
|
6510
|
+
endpoint.limitToType(Modules.EmailAutomation.inclusions.lists.types);
|
|
6511
|
+
return this.callApi({
|
|
6512
|
+
type: Modules.EmailAutomation,
|
|
6513
|
+
method: "GET" /* GET */,
|
|
6514
|
+
endpoint: endpoint.generate(),
|
|
6515
|
+
next: params.next,
|
|
6516
|
+
previous: params.previous
|
|
6517
|
+
});
|
|
6518
|
+
}
|
|
6519
|
+
static async findOne(params) {
|
|
6520
|
+
return this.callApi({
|
|
6521
|
+
type: Modules.EmailAutomation,
|
|
6522
|
+
method: "GET" /* GET */,
|
|
6523
|
+
endpoint: new EndpointCreator({ endpoint: Modules.EmailAutomation, id: params.id }).generate()
|
|
6524
|
+
});
|
|
6525
|
+
}
|
|
6526
|
+
static async create(params) {
|
|
6527
|
+
return this.callApi({
|
|
6528
|
+
type: Modules.EmailAutomation,
|
|
6529
|
+
method: "POST" /* POST */,
|
|
6530
|
+
endpoint: new EndpointCreator({ endpoint: Modules.EmailAutomation }).generate(),
|
|
6531
|
+
input: params
|
|
6532
|
+
});
|
|
6533
|
+
}
|
|
6534
|
+
static async update(params) {
|
|
6535
|
+
return this.callApi({
|
|
6536
|
+
type: Modules.EmailAutomation,
|
|
6537
|
+
method: "PATCH" /* PATCH */,
|
|
6538
|
+
endpoint: new EndpointCreator({ endpoint: Modules.EmailAutomation, id: params.id }).generate(),
|
|
6539
|
+
input: params
|
|
6540
|
+
});
|
|
6541
|
+
}
|
|
6542
|
+
static async delete(params) {
|
|
6543
|
+
await this.callApi({
|
|
6544
|
+
type: Modules.EmailAutomation,
|
|
6545
|
+
method: "DELETE" /* DELETE */,
|
|
6546
|
+
endpoint: new EndpointCreator({ endpoint: Modules.EmailAutomation, id: params.id }).generate()
|
|
6547
|
+
});
|
|
6548
|
+
}
|
|
6549
|
+
/**
|
|
6550
|
+
* GET email-automations/triggers: the triggers the app declared to the API.
|
|
6551
|
+
*/
|
|
6552
|
+
static async findTriggers() {
|
|
6553
|
+
return this.callApi({
|
|
6554
|
+
type: Modules.EmailAutomationTrigger,
|
|
6555
|
+
method: "GET" /* GET */,
|
|
6556
|
+
endpoint: new EndpointCreator({ endpoint: Modules.EmailAutomation, id: "triggers" }).generate()
|
|
6557
|
+
});
|
|
6558
|
+
}
|
|
6559
|
+
/**
|
|
6560
|
+
* POST email-automations/:id/tidy: clears every manual step position. Replies 204.
|
|
6561
|
+
*/
|
|
6562
|
+
static async tidy(params) {
|
|
6563
|
+
await this.callApi({
|
|
6564
|
+
type: Modules.EmailAutomation,
|
|
6565
|
+
method: "POST" /* POST */,
|
|
6566
|
+
endpoint: new EndpointCreator({
|
|
6567
|
+
endpoint: Modules.EmailAutomation,
|
|
6568
|
+
id: params.id,
|
|
6569
|
+
childEndpoint: "tidy"
|
|
6570
|
+
}).generate()
|
|
6571
|
+
});
|
|
6572
|
+
}
|
|
6573
|
+
static async findEnrollments(params) {
|
|
6574
|
+
const endpoint = new EndpointCreator({
|
|
6575
|
+
endpoint: Modules.EmailAutomation,
|
|
6576
|
+
id: params.automationId,
|
|
6577
|
+
childEndpoint: Modules.EmailAutomationEnrollment
|
|
6578
|
+
});
|
|
6579
|
+
if (params.status) endpoint.addAdditionalParam("status", params.status);
|
|
6580
|
+
return this.callApi({
|
|
6581
|
+
type: Modules.EmailAutomationEnrollment,
|
|
6582
|
+
method: "GET" /* GET */,
|
|
6583
|
+
endpoint: endpoint.generate(),
|
|
6584
|
+
next: params.next,
|
|
6585
|
+
previous: params.previous
|
|
6586
|
+
});
|
|
6587
|
+
}
|
|
6588
|
+
};
|
|
6589
|
+
|
|
6590
|
+
// src/features/email-automation/data/EmailAutomationStepService.ts
|
|
6591
|
+
var EmailAutomationStepService = class extends AbstractService {
|
|
6592
|
+
static {
|
|
6593
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "EmailAutomationStepService");
|
|
6594
|
+
}
|
|
6595
|
+
static async findByAutomation(params) {
|
|
6596
|
+
const endpoint = new EndpointCreator({
|
|
6597
|
+
endpoint: Modules.EmailAutomation,
|
|
6598
|
+
id: params.automationId,
|
|
6599
|
+
childEndpoint: Modules.EmailAutomationStep
|
|
6600
|
+
});
|
|
6601
|
+
endpoint.addAdditionalParam("fetchAll", "true");
|
|
6602
|
+
return this.callApi({
|
|
6603
|
+
type: Modules.EmailAutomationStep,
|
|
6604
|
+
method: "GET" /* GET */,
|
|
6605
|
+
endpoint: endpoint.generate()
|
|
6606
|
+
});
|
|
6607
|
+
}
|
|
6608
|
+
static async create(params) {
|
|
6609
|
+
return this.callApi({
|
|
6610
|
+
type: Modules.EmailAutomationStep,
|
|
6611
|
+
method: "POST" /* POST */,
|
|
6612
|
+
endpoint: new EndpointCreator({ endpoint: Modules.EmailAutomationStep }).generate(),
|
|
6613
|
+
input: params
|
|
6614
|
+
});
|
|
6615
|
+
}
|
|
6616
|
+
static async update(params) {
|
|
6617
|
+
return this.callApi({
|
|
6618
|
+
type: Modules.EmailAutomationStep,
|
|
6619
|
+
method: "PATCH" /* PATCH */,
|
|
6620
|
+
endpoint: new EndpointCreator({ endpoint: Modules.EmailAutomationStep, id: params.id }).generate(),
|
|
6621
|
+
input: params
|
|
6622
|
+
});
|
|
6623
|
+
}
|
|
6624
|
+
static async delete(params) {
|
|
6625
|
+
await this.callApi({
|
|
6626
|
+
type: Modules.EmailAutomationStep,
|
|
6627
|
+
method: "DELETE" /* DELETE */,
|
|
6628
|
+
endpoint: new EndpointCreator({ endpoint: Modules.EmailAutomationStep, id: params.id }).generate()
|
|
6629
|
+
});
|
|
6630
|
+
}
|
|
6631
|
+
/**
|
|
6632
|
+
* POST email-automation-steps/:stepId/next: continues the chain from stepId to nextStepId.
|
|
6633
|
+
*/
|
|
6634
|
+
static async setNext(params) {
|
|
6635
|
+
const step = new EmailAutomationStep();
|
|
6636
|
+
return this.callApi({
|
|
6637
|
+
type: Modules.EmailAutomationStep,
|
|
6638
|
+
method: "POST" /* POST */,
|
|
6639
|
+
endpoint: new EndpointCreator({
|
|
6640
|
+
endpoint: Modules.EmailAutomationStep,
|
|
6641
|
+
id: params.stepId,
|
|
6642
|
+
childEndpoint: "next"
|
|
6643
|
+
}).generate(),
|
|
6644
|
+
input: step.createNextJsonApi({ nextStepId: params.nextStepId }),
|
|
6645
|
+
overridesJsonApiCreation: true
|
|
6646
|
+
});
|
|
6647
|
+
}
|
|
6648
|
+
/**
|
|
6649
|
+
* DELETE email-automation-steps/:stepId/next: the step becomes the end of the chain.
|
|
6650
|
+
*/
|
|
6651
|
+
static async clearNext(params) {
|
|
6652
|
+
await this.callApi({
|
|
6653
|
+
type: Modules.EmailAutomationStep,
|
|
6654
|
+
method: "DELETE" /* DELETE */,
|
|
6655
|
+
endpoint: new EndpointCreator({
|
|
6656
|
+
endpoint: Modules.EmailAutomationStep,
|
|
6657
|
+
id: params.stepId,
|
|
6658
|
+
childEndpoint: "next"
|
|
6659
|
+
}).generate()
|
|
6660
|
+
});
|
|
6661
|
+
}
|
|
6662
|
+
};
|
|
6663
|
+
|
|
6664
|
+
// src/features/email-automation/data/EmailAutomationEnrollmentService.ts
|
|
6665
|
+
var EmailAutomationEnrollmentService = class extends AbstractService {
|
|
6666
|
+
static {
|
|
6667
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "EmailAutomationEnrollmentService");
|
|
6668
|
+
}
|
|
6669
|
+
/**
|
|
6670
|
+
* POST email-automations/unsubscribe/:token (public). The scope travels both as
|
|
6671
|
+
* a query parameter and in the body, as the API reads either.
|
|
6672
|
+
*/
|
|
6673
|
+
static async unsubscribe(params) {
|
|
6674
|
+
const enrollment = new EmailAutomationEnrollment();
|
|
6675
|
+
const endpoint = new EndpointCreator({
|
|
6676
|
+
endpoint: Modules.EmailAutomation,
|
|
6677
|
+
childEndpoint: "unsubscribe",
|
|
6678
|
+
childId: params.token
|
|
6679
|
+
});
|
|
6680
|
+
endpoint.addAdditionalParam("scope", params.scope);
|
|
6681
|
+
return this.callApi({
|
|
6682
|
+
type: Modules.EmailAutomationEnrollment,
|
|
6683
|
+
method: "POST" /* POST */,
|
|
6684
|
+
endpoint: endpoint.generate(),
|
|
6685
|
+
input: enrollment.createUnsubscribeJsonApi({ scope: params.scope }),
|
|
6686
|
+
overridesJsonApiCreation: true
|
|
6687
|
+
});
|
|
6688
|
+
}
|
|
6689
|
+
};
|
|
6690
|
+
|
|
6691
|
+
// src/features/email-automation/data/email-automation.fields.ts
|
|
6692
|
+
var EmailAutomationFields = /* @__PURE__ */ ((EmailAutomationFields2) => {
|
|
6693
|
+
EmailAutomationFields2["name"] = "name";
|
|
6694
|
+
EmailAutomationFields2["trigger"] = "trigger";
|
|
6695
|
+
EmailAutomationFields2["status"] = "status";
|
|
6696
|
+
EmailAutomationFields2["steps"] = "steps";
|
|
6697
|
+
EmailAutomationFields2["active"] = "active";
|
|
6698
|
+
EmailAutomationFields2["completed"] = "completed";
|
|
6699
|
+
EmailAutomationFields2["unsubscribed"] = "unsubscribed";
|
|
6700
|
+
return EmailAutomationFields2;
|
|
6701
|
+
})(EmailAutomationFields || {});
|
|
6702
|
+
|
|
6703
|
+
// src/features/email-automation/data/email-automation-enrollment.fields.ts
|
|
6704
|
+
var EmailAutomationEnrollmentFields = /* @__PURE__ */ ((EmailAutomationEnrollmentFields2) => {
|
|
6705
|
+
EmailAutomationEnrollmentFields2["email"] = "email";
|
|
6706
|
+
EmailAutomationEnrollmentFields2["name"] = "name";
|
|
6707
|
+
EmailAutomationEnrollmentFields2["status"] = "status";
|
|
6708
|
+
EmailAutomationEnrollmentFields2["currentStep"] = "currentStep";
|
|
6709
|
+
EmailAutomationEnrollmentFields2["nextSendAt"] = "nextSendAt";
|
|
6710
|
+
EmailAutomationEnrollmentFields2["sentCount"] = "sentCount";
|
|
6711
|
+
return EmailAutomationEnrollmentFields2;
|
|
6712
|
+
})(EmailAutomationEnrollmentFields || {});
|
|
6713
|
+
|
|
6159
6714
|
// src/features/handbook/HandbookPageModule.ts
|
|
6160
6715
|
|
|
6161
6716
|
|
|
@@ -6375,7 +6930,7 @@ var HandbookSectionModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
6375
6930
|
|
|
6376
6931
|
// src/features/handbook/data/HandbookThreadMessage.ts
|
|
6377
6932
|
|
|
6378
|
-
var HandbookThreadMessage = (
|
|
6933
|
+
var HandbookThreadMessage = (_class21 = class _HandbookThreadMessage extends AbstractApiData {constructor(...args18) { super(...args18); _class21.prototype.__init42.call(this); }
|
|
6379
6934
|
static {
|
|
6380
6935
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "HandbookThreadMessage");
|
|
6381
6936
|
}
|
|
@@ -6383,7 +6938,7 @@ var HandbookThreadMessage = (_class19 = class _HandbookThreadMessage extends Abs
|
|
|
6383
6938
|
|
|
6384
6939
|
|
|
6385
6940
|
|
|
6386
|
-
|
|
6941
|
+
__init42() {this._isOptimistic = false}
|
|
6387
6942
|
get role() {
|
|
6388
6943
|
return _nullishCoalesce(this._role, () => ( "assistant"));
|
|
6389
6944
|
}
|
|
@@ -6481,7 +7036,7 @@ var HandbookThreadMessage = (_class19 = class _HandbookThreadMessage extends Abs
|
|
|
6481
7036
|
message._isOptimistic = _nullishCoalesce(params.isOptimistic, () => ( false));
|
|
6482
7037
|
return message;
|
|
6483
7038
|
}
|
|
6484
|
-
},
|
|
7039
|
+
}, _class21);
|
|
6485
7040
|
|
|
6486
7041
|
// src/features/handbook/HandbookThreadMessageModule.ts
|
|
6487
7042
|
var HandbookThreadMessageModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
@@ -6535,7 +7090,7 @@ var HandbookThread = class extends AbstractApiData {
|
|
|
6535
7090
|
super.rehydrate(data);
|
|
6536
7091
|
const attributes = _nullishCoalesce(data.jsonApi.attributes, () => ( {}));
|
|
6537
7092
|
this._title = attributes.title;
|
|
6538
|
-
const fromMeta = _optionalChain([data, 'access',
|
|
7093
|
+
const fromMeta = _optionalChain([data, 'access', _158 => _158.jsonApi, 'access', _159 => _159.meta, 'optionalAccess', _160 => _160.messageCount]);
|
|
6539
7094
|
this._messageCount = typeof fromMeta === "number" ? fromMeta : typeof attributes.messageCount === "number" ? attributes.messageCount : 0;
|
|
6540
7095
|
const messages = this._readIncluded(
|
|
6541
7096
|
data,
|
|
@@ -6658,9 +7213,9 @@ var HandbookPageService = class extends AbstractService {
|
|
|
6658
7213
|
const endpoint = new EndpointCreator({ endpoint: Modules.HandbookPage });
|
|
6659
7214
|
if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
|
|
6660
7215
|
if (params.search) endpoint.addAdditionalParam("search", params.search);
|
|
6661
|
-
if (_optionalChain([Modules, 'access',
|
|
7216
|
+
if (_optionalChain([Modules, 'access', _161 => _161.HandbookPage, 'access', _162 => _162.inclusions, 'optionalAccess', _163 => _163.lists, 'optionalAccess', _164 => _164.fields]))
|
|
6662
7217
|
endpoint.limitToFields(Modules.HandbookPage.inclusions.lists.fields);
|
|
6663
|
-
if (_optionalChain([Modules, 'access',
|
|
7218
|
+
if (_optionalChain([Modules, 'access', _165 => _165.HandbookPage, 'access', _166 => _166.inclusions, 'optionalAccess', _167 => _167.lists, 'optionalAccess', _168 => _168.types]))
|
|
6664
7219
|
endpoint.limitToType(Modules.HandbookPage.inclusions.lists.types);
|
|
6665
7220
|
return this.callApi({
|
|
6666
7221
|
type: Modules.HandbookPage,
|
|
@@ -6709,7 +7264,7 @@ var HandbookSectionService = class extends AbstractService {
|
|
|
6709
7264
|
static async findMany() {
|
|
6710
7265
|
const endpoint = new EndpointCreator({ endpoint: Modules.HandbookSection });
|
|
6711
7266
|
endpoint.addAdditionalParam("fetchAll", "true");
|
|
6712
|
-
if (_optionalChain([Modules, 'access',
|
|
7267
|
+
if (_optionalChain([Modules, 'access', _169 => _169.HandbookSection, 'access', _170 => _170.inclusions, 'optionalAccess', _171 => _171.lists, 'optionalAccess', _172 => _172.fields]))
|
|
6713
7268
|
endpoint.limitToFields(Modules.HandbookSection.inclusions.lists.fields);
|
|
6714
7269
|
return this.callApi({
|
|
6715
7270
|
type: Modules.HandbookSection,
|
|
@@ -6766,9 +7321,9 @@ var HandbookThreadService = class extends AbstractService {
|
|
|
6766
7321
|
const endpoint = new EndpointCreator({ endpoint: Modules.HandbookThread });
|
|
6767
7322
|
if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
|
|
6768
7323
|
if (params.search) endpoint.addAdditionalParam("search", params.search);
|
|
6769
|
-
if (_optionalChain([Modules, 'access',
|
|
7324
|
+
if (_optionalChain([Modules, 'access', _173 => _173.HandbookThread, 'access', _174 => _174.inclusions, 'optionalAccess', _175 => _175.lists, 'optionalAccess', _176 => _176.fields]))
|
|
6770
7325
|
endpoint.limitToFields(Modules.HandbookThread.inclusions.lists.fields);
|
|
6771
|
-
if (_optionalChain([Modules, 'access',
|
|
7326
|
+
if (_optionalChain([Modules, 'access', _177 => _177.HandbookThread, 'access', _178 => _178.inclusions, 'optionalAccess', _179 => _179.lists, 'optionalAccess', _180 => _180.types]))
|
|
6772
7327
|
endpoint.limitToType(Modules.HandbookThread.inclusions.lists.types);
|
|
6773
7328
|
return this.callApi({
|
|
6774
7329
|
type: Modules.HandbookThread,
|
|
@@ -6855,15 +7410,15 @@ var Assistant = class extends AbstractApiData {
|
|
|
6855
7410
|
}
|
|
6856
7411
|
rehydrate(data) {
|
|
6857
7412
|
super.rehydrate(data);
|
|
6858
|
-
this._title = _optionalChain([data, 'access',
|
|
6859
|
-
this._engine = _optionalChain([data, 'access',
|
|
6860
|
-
const fromMeta = _optionalChain([data, 'access',
|
|
6861
|
-
const fromAttrs = _optionalChain([data, 'access',
|
|
7413
|
+
this._title = _optionalChain([data, 'access', _181 => _181.jsonApi, 'access', _182 => _182.attributes, 'optionalAccess', _183 => _183.title]);
|
|
7414
|
+
this._engine = _optionalChain([data, 'access', _184 => _184.jsonApi, 'access', _185 => _185.attributes, 'optionalAccess', _186 => _186.engine]);
|
|
7415
|
+
const fromMeta = _optionalChain([data, 'access', _187 => _187.jsonApi, 'access', _188 => _188.meta, 'optionalAccess', _189 => _189.messageCount]);
|
|
7416
|
+
const fromAttrs = _optionalChain([data, 'access', _190 => _190.jsonApi, 'access', _191 => _191.attributes, 'optionalAccess', _192 => _192.messageCount]);
|
|
6862
7417
|
this._messageCount = typeof fromMeta === "number" ? fromMeta : typeof fromAttrs === "number" ? fromAttrs : 0;
|
|
6863
|
-
const contentLinkage = _optionalChain([data, 'access',
|
|
7418
|
+
const contentLinkage = _optionalChain([data, 'access', _193 => _193.jsonApi, 'access', _194 => _194.relationships, 'optionalAccess', _195 => _195.content, 'optionalAccess', _196 => _196.data]);
|
|
6864
7419
|
const boundContent = Array.isArray(contentLinkage) ? contentLinkage[0] : contentLinkage;
|
|
6865
|
-
this._boundContentType = _optionalChain([boundContent, 'optionalAccess',
|
|
6866
|
-
this._boundContentId = _optionalChain([boundContent, 'optionalAccess',
|
|
7420
|
+
this._boundContentType = _optionalChain([boundContent, 'optionalAccess', _197 => _197.type]);
|
|
7421
|
+
this._boundContentId = _optionalChain([boundContent, 'optionalAccess', _198 => _198.id]);
|
|
6867
7422
|
return this;
|
|
6868
7423
|
}
|
|
6869
7424
|
createJsonApi(data) {
|
|
@@ -6921,7 +7476,7 @@ function resolveReferenceableModules() {
|
|
|
6921
7476
|
_chunk7QVYU63Ejs.__name.call(void 0, resolveReferenceableModules, "resolveReferenceableModules");
|
|
6922
7477
|
|
|
6923
7478
|
// src/features/assistant-message/data/AssistantMessage.ts
|
|
6924
|
-
var AssistantMessage = (
|
|
7479
|
+
var AssistantMessage = (_class22 = class _AssistantMessage extends AbstractApiData {constructor(...args19) { super(...args19); _class22.prototype.__init43.call(this); }
|
|
6925
7480
|
static {
|
|
6926
7481
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AssistantMessage");
|
|
6927
7482
|
}
|
|
@@ -6933,7 +7488,7 @@ var AssistantMessage = (_class20 = class _AssistantMessage extends AbstractApiDa
|
|
|
6933
7488
|
|
|
6934
7489
|
|
|
6935
7490
|
|
|
6936
|
-
|
|
7491
|
+
__init43() {this._isOptimistic = false}
|
|
6937
7492
|
|
|
6938
7493
|
|
|
6939
7494
|
get role() {
|
|
@@ -6979,11 +7534,11 @@ var AssistantMessage = (_class20 = class _AssistantMessage extends AbstractApiDa
|
|
|
6979
7534
|
this._inputTokens = attrs.inputTokens;
|
|
6980
7535
|
this._outputTokens = attrs.outputTokens;
|
|
6981
7536
|
this._messageType = attrs.messageType;
|
|
6982
|
-
const actionRelationship = _optionalChain([data, 'access',
|
|
6983
|
-
this._actionId = Array.isArray(actionRelationship) ? _optionalChain([actionRelationship, 'access',
|
|
7537
|
+
const actionRelationship = _optionalChain([data, 'access', _199 => _199.jsonApi, 'access', _200 => _200.relationships, 'optionalAccess', _201 => _201.action, 'optionalAccess', _202 => _202.data]);
|
|
7538
|
+
this._actionId = Array.isArray(actionRelationship) ? _optionalChain([actionRelationship, 'access', _203 => _203[0], 'optionalAccess', _204 => _204.id]) : _optionalChain([actionRelationship, 'optionalAccess', _205 => _205.id]);
|
|
6984
7539
|
const refs = this._readIncludedPolymorphic(data, "references", resolveReferenceableModules());
|
|
6985
7540
|
this._references = Array.isArray(refs) ? refs : refs ? [refs] : [];
|
|
6986
|
-
if (_optionalChain([data, 'access',
|
|
7541
|
+
if (_optionalChain([data, 'access', _206 => _206.jsonApi, 'access', _207 => _207.relationships, 'optionalAccess', _208 => _208.citations, 'optionalAccess', _209 => _209.data])) {
|
|
6987
7542
|
const citations = this._readIncludedWithMeta(
|
|
6988
7543
|
data,
|
|
6989
7544
|
"citations",
|
|
@@ -7070,7 +7625,7 @@ var AssistantMessage = (_class20 = class _AssistantMessage extends AbstractApiDa
|
|
|
7070
7625
|
msg._isOptimistic = _nullishCoalesce(params.isOptimistic, () => ( false));
|
|
7071
7626
|
return msg;
|
|
7072
7627
|
}
|
|
7073
|
-
},
|
|
7628
|
+
}, _class22);
|
|
7074
7629
|
|
|
7075
7630
|
// src/features/assistant/data/AssistantService.ts
|
|
7076
7631
|
var AssistantService = class extends AbstractService {
|
|
@@ -7239,9 +7794,9 @@ var AssistantMessageService = class extends AbstractService {
|
|
|
7239
7794
|
id: params.assistantId,
|
|
7240
7795
|
childEndpoint: Modules.AssistantMessage
|
|
7241
7796
|
});
|
|
7242
|
-
if (_optionalChain([Modules, 'access',
|
|
7797
|
+
if (_optionalChain([Modules, 'access', _210 => _210.AssistantMessage, 'access', _211 => _211.inclusions, 'optionalAccess', _212 => _212.lists, 'optionalAccess', _213 => _213.fields]))
|
|
7243
7798
|
endpoint.limitToFields(Modules.AssistantMessage.inclusions.lists.fields);
|
|
7244
|
-
if (_optionalChain([Modules, 'access',
|
|
7799
|
+
if (_optionalChain([Modules, 'access', _214 => _214.AssistantMessage, 'access', _215 => _215.inclusions, 'optionalAccess', _216 => _216.lists, 'optionalAccess', _217 => _217.types]))
|
|
7245
7800
|
endpoint.limitToType(Modules.AssistantMessage.inclusions.lists.types);
|
|
7246
7801
|
return this.callApi({
|
|
7247
7802
|
type: Modules.AssistantMessage,
|
|
@@ -7255,9 +7810,9 @@ var AssistantMessageService = class extends AbstractService {
|
|
|
7255
7810
|
endpoint: Modules.AssistantMessage,
|
|
7256
7811
|
id: params.id
|
|
7257
7812
|
});
|
|
7258
|
-
if (_optionalChain([Modules, 'access',
|
|
7813
|
+
if (_optionalChain([Modules, 'access', _218 => _218.AssistantMessage, 'access', _219 => _219.inclusions, 'optionalAccess', _220 => _220.lists, 'optionalAccess', _221 => _221.fields]))
|
|
7259
7814
|
endpoint.limitToFields(Modules.AssistantMessage.inclusions.lists.fields);
|
|
7260
|
-
if (_optionalChain([Modules, 'access',
|
|
7815
|
+
if (_optionalChain([Modules, 'access', _222 => _222.AssistantMessage, 'access', _223 => _223.inclusions, 'optionalAccess', _224 => _224.lists, 'optionalAccess', _225 => _225.types]))
|
|
7261
7816
|
endpoint.limitToType(Modules.AssistantMessage.inclusions.lists.types);
|
|
7262
7817
|
return this.callApi({
|
|
7263
7818
|
type: Modules.AssistantMessage,
|
|
@@ -7463,13 +8018,13 @@ var ChunkModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory)
|
|
|
7463
8018
|
}), "ChunkModule");
|
|
7464
8019
|
|
|
7465
8020
|
// src/features/feature/data/feature.ts
|
|
7466
|
-
var Feature = (
|
|
8021
|
+
var Feature = (_class23 = class extends AbstractApiData {constructor(...args20) { super(...args20); _class23.prototype.__init44.call(this); }
|
|
7467
8022
|
static {
|
|
7468
8023
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "Feature");
|
|
7469
8024
|
}
|
|
7470
8025
|
|
|
7471
8026
|
|
|
7472
|
-
|
|
8027
|
+
__init44() {this._modules = []}
|
|
7473
8028
|
get name() {
|
|
7474
8029
|
return _nullishCoalesce(this._name, () => ( ""));
|
|
7475
8030
|
}
|
|
@@ -7486,7 +8041,7 @@ var Feature = (_class21 = class extends AbstractApiData {constructor(...args18)
|
|
|
7486
8041
|
this._modules = this._readIncluded(data, `modules`, Modules.Module);
|
|
7487
8042
|
return this;
|
|
7488
8043
|
}
|
|
7489
|
-
},
|
|
8044
|
+
}, _class23);
|
|
7490
8045
|
|
|
7491
8046
|
// src/features/feature/data/feature.service.ts
|
|
7492
8047
|
var FeatureService = class extends AbstractService {
|
|
@@ -7582,10 +8137,10 @@ var Notification = class extends AbstractApiData {
|
|
|
7582
8137
|
this._message = data.jsonApi.attributes.message;
|
|
7583
8138
|
this._actionUrl = data.jsonApi.attributes.actionUrl;
|
|
7584
8139
|
const rels = _nullishCoalesce(data.jsonApi.relationships, () => ( {}));
|
|
7585
|
-
const actorType = _optionalChain([rels, 'access',
|
|
8140
|
+
const actorType = _optionalChain([rels, 'access', _226 => _226.actor, 'optionalAccess', _227 => _227.data, 'optionalAccess', _228 => _228.type]);
|
|
7586
8141
|
this._actor = actorType ? this._readIncluded(data, "actor", Modules.findByName(actorType)) : void 0;
|
|
7587
|
-
const subjectName = Object.keys(rels).find((name) => name !== "actor" && _optionalChain([rels, 'access',
|
|
7588
|
-
const subjectType = subjectName ? _optionalChain([rels, 'access',
|
|
8142
|
+
const subjectName = Object.keys(rels).find((name) => name !== "actor" && _optionalChain([rels, 'access', _229 => _229[name], 'optionalAccess', _230 => _230.data, 'optionalAccess', _231 => _231.type]));
|
|
8143
|
+
const subjectType = subjectName ? _optionalChain([rels, 'access', _232 => _232[subjectName], 'optionalAccess', _233 => _233.data, 'optionalAccess', _234 => _234.type]) : void 0;
|
|
7589
8144
|
this._subject = subjectName && subjectType ? this._readIncluded(data, subjectName, Modules.findByName(subjectType)) : void 0;
|
|
7590
8145
|
return this;
|
|
7591
8146
|
}
|
|
@@ -7952,7 +8507,7 @@ var S3Service = class extends AbstractService {
|
|
|
7952
8507
|
};
|
|
7953
8508
|
|
|
7954
8509
|
// src/features/user/data/user.ts
|
|
7955
|
-
var User = (
|
|
8510
|
+
var User = (_class24 = class extends AbstractApiData {constructor(...args21) { super(...args21); _class24.prototype.__init45.call(this);_class24.prototype.__init46.call(this);_class24.prototype.__init47.call(this); }
|
|
7956
8511
|
static {
|
|
7957
8512
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "User");
|
|
7958
8513
|
}
|
|
@@ -7967,12 +8522,12 @@ var User = (_class22 = class extends AbstractApiData {constructor(...args19) { s
|
|
|
7967
8522
|
|
|
7968
8523
|
|
|
7969
8524
|
|
|
7970
|
-
|
|
8525
|
+
__init45() {this._twoFactorEnabled = false}
|
|
7971
8526
|
|
|
7972
8527
|
|
|
7973
|
-
|
|
8528
|
+
__init46() {this._roles = []}
|
|
7974
8529
|
|
|
7975
|
-
|
|
8530
|
+
__init47() {this._modules = []}
|
|
7976
8531
|
get searchResult() {
|
|
7977
8532
|
return _nullishCoalesce(this._name, () => ( ""));
|
|
7978
8533
|
}
|
|
@@ -8088,7 +8643,7 @@ var User = (_class22 = class extends AbstractApiData {constructor(...args19) { s
|
|
|
8088
8643
|
}
|
|
8089
8644
|
return response;
|
|
8090
8645
|
}
|
|
8091
|
-
},
|
|
8646
|
+
}, _class24);
|
|
8092
8647
|
|
|
8093
8648
|
// src/features/user/data/user.fields.ts
|
|
8094
8649
|
var UserFields = /* @__PURE__ */ ((UserFields2) => {
|
|
@@ -8158,8 +8713,8 @@ var UserService = class extends AbstractService {
|
|
|
8158
8713
|
id: params.id,
|
|
8159
8714
|
childEndpoint: "user-relevance"
|
|
8160
8715
|
});
|
|
8161
|
-
if (_optionalChain([Modules, 'access',
|
|
8162
|
-
if (_optionalChain([Modules, 'access',
|
|
8716
|
+
if (_optionalChain([Modules, 'access', _235 => _235.User, 'access', _236 => _236.inclusions, 'optionalAccess', _237 => _237.lists, 'optionalAccess', _238 => _238.fields])) endpoint.limitToFields(Modules.User.inclusions.lists.fields);
|
|
8717
|
+
if (_optionalChain([Modules, 'access', _239 => _239.User, 'access', _240 => _240.inclusions, 'optionalAccess', _241 => _241.lists, 'optionalAccess', _242 => _242.types])) endpoint.limitToType(Modules.User.inclusions.lists.types);
|
|
8163
8718
|
return this.callApi({
|
|
8164
8719
|
type: Modules.User,
|
|
8165
8720
|
method: "GET" /* GET */,
|
|
@@ -8337,18 +8892,18 @@ var UserModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory)
|
|
|
8337
8892
|
}), "UserModule");
|
|
8338
8893
|
|
|
8339
8894
|
// src/features/oauth/data/oauth.ts
|
|
8340
|
-
var OAuthClient = (
|
|
8895
|
+
var OAuthClient = (_class25 = class extends AbstractApiData {constructor(...args22) { super(...args22); _class25.prototype.__init48.call(this);_class25.prototype.__init49.call(this);_class25.prototype.__init50.call(this);_class25.prototype.__init51.call(this);_class25.prototype.__init52.call(this); }
|
|
8341
8896
|
static {
|
|
8342
8897
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "OAuthClient");
|
|
8343
8898
|
}
|
|
8344
8899
|
|
|
8345
8900
|
|
|
8346
8901
|
|
|
8347
|
-
|
|
8348
|
-
|
|
8349
|
-
|
|
8350
|
-
|
|
8351
|
-
|
|
8902
|
+
__init48() {this._redirectUris = []}
|
|
8903
|
+
__init49() {this._allowedScopes = []}
|
|
8904
|
+
__init50() {this._allowedGrantTypes = []}
|
|
8905
|
+
__init51() {this._isConfidential = true}
|
|
8906
|
+
__init52() {this._isActive = true}
|
|
8352
8907
|
get clientId() {
|
|
8353
8908
|
return _nullishCoalesce(this._clientId, () => ( this.id));
|
|
8354
8909
|
}
|
|
@@ -8431,7 +8986,7 @@ var OAuthClient = (_class23 = class extends AbstractApiData {constructor(...args
|
|
|
8431
8986
|
state: params.state
|
|
8432
8987
|
};
|
|
8433
8988
|
}
|
|
8434
|
-
},
|
|
8989
|
+
}, _class25);
|
|
8435
8990
|
|
|
8436
8991
|
// src/features/oauth/oauth.module.ts
|
|
8437
8992
|
var OAuthModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
@@ -8456,7 +9011,7 @@ var OAuthService = class extends AbstractService {
|
|
|
8456
9011
|
type: Modules.OAuth,
|
|
8457
9012
|
method: "GET" /* GET */,
|
|
8458
9013
|
endpoint: new EndpointCreator({ endpoint: "oauth/clients" }).generate(),
|
|
8459
|
-
next: _optionalChain([params, 'optionalAccess',
|
|
9014
|
+
next: _optionalChain([params, 'optionalAccess', _243 => _243.next])
|
|
8460
9015
|
});
|
|
8461
9016
|
}
|
|
8462
9017
|
/**
|
|
@@ -8482,7 +9037,7 @@ var OAuthService = class extends AbstractService {
|
|
|
8482
9037
|
});
|
|
8483
9038
|
return {
|
|
8484
9039
|
client: result.data,
|
|
8485
|
-
clientSecret: _optionalChain([result, 'access',
|
|
9040
|
+
clientSecret: _optionalChain([result, 'access', _244 => _244.meta, 'optionalAccess', _245 => _245.clientSecret])
|
|
8486
9041
|
};
|
|
8487
9042
|
}
|
|
8488
9043
|
/**
|
|
@@ -8521,7 +9076,7 @@ var OAuthService = class extends AbstractService {
|
|
|
8521
9076
|
}).generate()
|
|
8522
9077
|
});
|
|
8523
9078
|
return {
|
|
8524
|
-
clientSecret: _optionalChain([result, 'access',
|
|
9079
|
+
clientSecret: _optionalChain([result, 'access', _246 => _246.meta, 'optionalAccess', _247 => _247.clientSecret])
|
|
8525
9080
|
};
|
|
8526
9081
|
}
|
|
8527
9082
|
// ==========================================
|
|
@@ -8558,7 +9113,7 @@ var OAuthService = class extends AbstractService {
|
|
|
8558
9113
|
overridesJsonApiCreation: true
|
|
8559
9114
|
});
|
|
8560
9115
|
return {
|
|
8561
|
-
redirectUrl: _optionalChain([result, 'access',
|
|
9116
|
+
redirectUrl: _optionalChain([result, 'access', _248 => _248.meta, 'optionalAccess', _249 => _249.redirectUrl])
|
|
8562
9117
|
};
|
|
8563
9118
|
}
|
|
8564
9119
|
/**
|
|
@@ -8574,7 +9129,7 @@ var OAuthService = class extends AbstractService {
|
|
|
8574
9129
|
overridesJsonApiCreation: true
|
|
8575
9130
|
});
|
|
8576
9131
|
return {
|
|
8577
|
-
redirectUrl: _optionalChain([result, 'access',
|
|
9132
|
+
redirectUrl: _optionalChain([result, 'access', _250 => _250.meta, 'optionalAccess', _251 => _251.redirectUrl])
|
|
8578
9133
|
};
|
|
8579
9134
|
}
|
|
8580
9135
|
};
|
|
@@ -8616,17 +9171,23 @@ var AVAILABLE_OAUTH_SCOPES = Object.values(OAUTH_SCOPE_DISPLAY);
|
|
|
8616
9171
|
var DEFAULT_GRANT_TYPES = ["authorization_code", "refresh_token"];
|
|
8617
9172
|
|
|
8618
9173
|
// src/features/waitlist/data/Waitlist.ts
|
|
8619
|
-
var Waitlist = (
|
|
9174
|
+
var Waitlist = (_class26 = class extends AbstractApiData {constructor(...args23) { super(...args23); _class26.prototype.__init53.call(this);_class26.prototype.__init54.call(this); }
|
|
8620
9175
|
static {
|
|
8621
9176
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "Waitlist");
|
|
8622
9177
|
}
|
|
8623
9178
|
|
|
8624
|
-
|
|
9179
|
+
__init53() {this._gdprConsent = false}
|
|
9180
|
+
|
|
9181
|
+
|
|
9182
|
+
|
|
9183
|
+
|
|
9184
|
+
__init54() {this._status = "pending"}
|
|
9185
|
+
|
|
9186
|
+
|
|
8625
9187
|
|
|
8626
9188
|
|
|
8627
9189
|
|
|
8628
9190
|
|
|
8629
|
-
__init52() {this._status = "pending"}
|
|
8630
9191
|
|
|
8631
9192
|
|
|
8632
9193
|
|
|
@@ -8660,6 +9221,24 @@ var Waitlist = (_class24 = class extends AbstractApiData {constructor(...args21)
|
|
|
8660
9221
|
get registeredAt() {
|
|
8661
9222
|
return this._registeredAt;
|
|
8662
9223
|
}
|
|
9224
|
+
get sourceRef() {
|
|
9225
|
+
return this._sourceRef;
|
|
9226
|
+
}
|
|
9227
|
+
get sourceUtmSource() {
|
|
9228
|
+
return this._sourceUtmSource;
|
|
9229
|
+
}
|
|
9230
|
+
get sourceUtmMedium() {
|
|
9231
|
+
return this._sourceUtmMedium;
|
|
9232
|
+
}
|
|
9233
|
+
get sourceUtmCampaign() {
|
|
9234
|
+
return this._sourceUtmCampaign;
|
|
9235
|
+
}
|
|
9236
|
+
get sourceReferrer() {
|
|
9237
|
+
return this._sourceReferrer;
|
|
9238
|
+
}
|
|
9239
|
+
get sourceLandingPath() {
|
|
9240
|
+
return this._sourceLandingPath;
|
|
9241
|
+
}
|
|
8663
9242
|
rehydrate(data) {
|
|
8664
9243
|
super.rehydrate(data);
|
|
8665
9244
|
this._email = data.jsonApi.attributes.email;
|
|
@@ -8667,11 +9246,18 @@ var Waitlist = (_class24 = class extends AbstractApiData {constructor(...args21)
|
|
|
8667
9246
|
this._gdprConsentAt = data.jsonApi.attributes.gdprConsentAt;
|
|
8668
9247
|
this._marketingConsent = data.jsonApi.attributes.marketingConsent;
|
|
8669
9248
|
this._marketingConsentAt = data.jsonApi.attributes.marketingConsentAt;
|
|
8670
|
-
|
|
9249
|
+
const questionnaire = data.jsonApi.attributes.questionnaire;
|
|
9250
|
+
this._questionnaire = questionnaire && typeof questionnaire === "object" ? questionnaire : void 0;
|
|
8671
9251
|
this._status = data.jsonApi.attributes.status;
|
|
8672
9252
|
this._confirmedAt = data.jsonApi.attributes.confirmedAt;
|
|
8673
9253
|
this._invitedAt = data.jsonApi.attributes.invitedAt;
|
|
8674
9254
|
this._registeredAt = data.jsonApi.attributes.registeredAt;
|
|
9255
|
+
this._sourceRef = data.jsonApi.attributes.sourceRef;
|
|
9256
|
+
this._sourceUtmSource = data.jsonApi.attributes.sourceUtmSource;
|
|
9257
|
+
this._sourceUtmMedium = data.jsonApi.attributes.sourceUtmMedium;
|
|
9258
|
+
this._sourceUtmCampaign = data.jsonApi.attributes.sourceUtmCampaign;
|
|
9259
|
+
this._sourceReferrer = data.jsonApi.attributes.sourceReferrer;
|
|
9260
|
+
this._sourceLandingPath = data.jsonApi.attributes.sourceLandingPath;
|
|
8675
9261
|
return this;
|
|
8676
9262
|
}
|
|
8677
9263
|
createJsonApi(data) {
|
|
@@ -8698,9 +9284,18 @@ var Waitlist = (_class24 = class extends AbstractApiData {constructor(...args21)
|
|
|
8698
9284
|
if (data.questionnaire !== void 0) {
|
|
8699
9285
|
response.data.attributes.questionnaire = JSON.stringify(data.questionnaire);
|
|
8700
9286
|
}
|
|
9287
|
+
if (data.source !== void 0) {
|
|
9288
|
+
const attributes = response.data.attributes;
|
|
9289
|
+
if (data.source.sourceRef !== void 0) attributes.sourceRef = data.source.sourceRef;
|
|
9290
|
+
if (data.source.sourceUtmSource !== void 0) attributes.sourceUtmSource = data.source.sourceUtmSource;
|
|
9291
|
+
if (data.source.sourceUtmMedium !== void 0) attributes.sourceUtmMedium = data.source.sourceUtmMedium;
|
|
9292
|
+
if (data.source.sourceUtmCampaign !== void 0) attributes.sourceUtmCampaign = data.source.sourceUtmCampaign;
|
|
9293
|
+
if (data.source.sourceReferrer !== void 0) attributes.sourceReferrer = data.source.sourceReferrer;
|
|
9294
|
+
if (data.source.sourceLandingPath !== void 0) attributes.sourceLandingPath = data.source.sourceLandingPath;
|
|
9295
|
+
}
|
|
8701
9296
|
return response;
|
|
8702
9297
|
}
|
|
8703
|
-
},
|
|
9298
|
+
}, _class26);
|
|
8704
9299
|
|
|
8705
9300
|
// src/features/waitlist/data/WaitlistService.ts
|
|
8706
9301
|
var WaitlistService = class extends AbstractService {
|
|
@@ -8740,15 +9335,15 @@ var WaitlistService = class extends AbstractService {
|
|
|
8740
9335
|
*/
|
|
8741
9336
|
static async findMany(params) {
|
|
8742
9337
|
const endpoint = new EndpointCreator({ endpoint: Modules.Waitlist });
|
|
8743
|
-
if (_optionalChain([params, 'optionalAccess',
|
|
8744
|
-
if (_optionalChain([params, 'optionalAccess',
|
|
8745
|
-
if (_optionalChain([params, 'optionalAccess',
|
|
9338
|
+
if (_optionalChain([params, 'optionalAccess', _252 => _252.status])) endpoint.addAdditionalParam("status", params.status);
|
|
9339
|
+
if (_optionalChain([params, 'optionalAccess', _253 => _253.search])) endpoint.addAdditionalParam("search", params.search);
|
|
9340
|
+
if (_optionalChain([params, 'optionalAccess', _254 => _254.fetchAll])) endpoint.addAdditionalParam("fetchAll", "true");
|
|
8746
9341
|
return this.callApi({
|
|
8747
9342
|
type: Modules.Waitlist,
|
|
8748
9343
|
method: "GET" /* GET */,
|
|
8749
9344
|
endpoint: endpoint.generate(),
|
|
8750
|
-
next: _optionalChain([params, 'optionalAccess',
|
|
8751
|
-
previous: _optionalChain([params, 'optionalAccess',
|
|
9345
|
+
next: _optionalChain([params, 'optionalAccess', _255 => _255.next]),
|
|
9346
|
+
previous: _optionalChain([params, 'optionalAccess', _256 => _256.previous])
|
|
8752
9347
|
});
|
|
8753
9348
|
}
|
|
8754
9349
|
/**
|
|
@@ -8789,11 +9384,12 @@ var WaitlistService = class extends AbstractService {
|
|
|
8789
9384
|
});
|
|
8790
9385
|
}
|
|
8791
9386
|
/**
|
|
8792
|
-
* Get statistics (admin)
|
|
9387
|
+
* Get statistics (admin): GET /waitlists/stats, rehydrated as waitlist-stats
|
|
8793
9388
|
*/
|
|
8794
9389
|
static async getStats() {
|
|
8795
9390
|
const endpoint = new EndpointCreator({
|
|
8796
|
-
endpoint: Modules.
|
|
9391
|
+
endpoint: Modules.Waitlist,
|
|
9392
|
+
id: "stats"
|
|
8797
9393
|
});
|
|
8798
9394
|
return this.callApi({
|
|
8799
9395
|
type: Modules.WaitlistStats,
|
|
@@ -8816,10 +9412,10 @@ var WaitlistService = class extends AbstractService {
|
|
|
8816
9412
|
method: "GET" /* GET */,
|
|
8817
9413
|
endpoint: endpoint.generate()
|
|
8818
9414
|
});
|
|
8819
|
-
const attributes = _optionalChain([response, 'access',
|
|
9415
|
+
const attributes = _optionalChain([response, 'access', _257 => _257.data, 'optionalAccess', _258 => _258._jsonApi, 'optionalAccess', _259 => _259.attributes]);
|
|
8820
9416
|
return {
|
|
8821
|
-
email: _optionalChain([attributes, 'optionalAccess',
|
|
8822
|
-
valid: _nullishCoalesce(_optionalChain([attributes, 'optionalAccess',
|
|
9417
|
+
email: _optionalChain([attributes, 'optionalAccess', _260 => _260.email]),
|
|
9418
|
+
valid: _nullishCoalesce(_optionalChain([attributes, 'optionalAccess', _261 => _261.valid]), () => ( false))
|
|
8823
9419
|
};
|
|
8824
9420
|
} catch (_error) {
|
|
8825
9421
|
return null;
|
|
@@ -8828,15 +9424,15 @@ var WaitlistService = class extends AbstractService {
|
|
|
8828
9424
|
};
|
|
8829
9425
|
|
|
8830
9426
|
// src/features/waitlist/data/waitlist-stats.ts
|
|
8831
|
-
var WaitlistStats = (
|
|
9427
|
+
var WaitlistStats = (_class27 = class extends AbstractApiData {constructor(...args24) { super(...args24); _class27.prototype.__init55.call(this);_class27.prototype.__init56.call(this);_class27.prototype.__init57.call(this);_class27.prototype.__init58.call(this);_class27.prototype.__init59.call(this); }
|
|
8832
9428
|
static {
|
|
8833
9429
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "WaitlistStats");
|
|
8834
9430
|
}
|
|
8835
|
-
|
|
8836
|
-
|
|
8837
|
-
|
|
8838
|
-
|
|
8839
|
-
|
|
9431
|
+
__init55() {this._pending = 0}
|
|
9432
|
+
__init56() {this._confirmed = 0}
|
|
9433
|
+
__init57() {this._invited = 0}
|
|
9434
|
+
__init58() {this._registered = 0}
|
|
9435
|
+
__init59() {this._total = 0}
|
|
8840
9436
|
get pending() {
|
|
8841
9437
|
return this._pending;
|
|
8842
9438
|
}
|
|
@@ -8865,7 +9461,7 @@ var WaitlistStats = (_class25 = class extends AbstractApiData {constructor(...ar
|
|
|
8865
9461
|
createJsonApi(_data) {
|
|
8866
9462
|
throw new Error("WaitlistStats is read-only and cannot be created");
|
|
8867
9463
|
}
|
|
8868
|
-
},
|
|
9464
|
+
}, _class27);
|
|
8869
9465
|
|
|
8870
9466
|
// src/features/waitlist/data/waitlist.fields.ts
|
|
8871
9467
|
var WaitlistFields = /* @__PURE__ */ ((WaitlistFields2) => {
|
|
@@ -8873,6 +9469,7 @@ var WaitlistFields = /* @__PURE__ */ ((WaitlistFields2) => {
|
|
|
8873
9469
|
WaitlistFields2["email"] = "email";
|
|
8874
9470
|
WaitlistFields2["status"] = "status";
|
|
8875
9471
|
WaitlistFields2["createdAt"] = "createdAt";
|
|
9472
|
+
WaitlistFields2["source"] = "source";
|
|
8876
9473
|
WaitlistFields2["questionnaire"] = "questionnaire";
|
|
8877
9474
|
WaitlistFields2["actions"] = "actions";
|
|
8878
9475
|
return WaitlistFields2;
|
|
@@ -8916,7 +9513,7 @@ var PermissionMapping = class extends AbstractApiData {
|
|
|
8916
9513
|
super.rehydrate(data);
|
|
8917
9514
|
this._roleId = data.jsonApi.attributes.roleId;
|
|
8918
9515
|
this._moduleId = data.jsonApi.attributes.moduleId;
|
|
8919
|
-
this._permissions = _optionalChain([data, 'access',
|
|
9516
|
+
this._permissions = _optionalChain([data, 'access', _262 => _262.jsonApi, 'access', _263 => _263.meta, 'optionalAccess', _264 => _264.permissions]);
|
|
8920
9517
|
return this;
|
|
8921
9518
|
}
|
|
8922
9519
|
};
|
|
@@ -9092,18 +9689,18 @@ var ReferralStatsModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
|
|
|
9092
9689
|
}), "ReferralStatsModule");
|
|
9093
9690
|
|
|
9094
9691
|
// src/features/tokenusage/data/tokenusage-admin-breakdown.ts
|
|
9095
|
-
var TokenUsageAdminBreakdown = (
|
|
9692
|
+
var TokenUsageAdminBreakdown = (_class28 = class extends AbstractApiData {constructor(...args25) { super(...args25); _class28.prototype.__init60.call(this);_class28.prototype.__init61.call(this);_class28.prototype.__init62.call(this);_class28.prototype.__init63.call(this);_class28.prototype.__init64.call(this);_class28.prototype.__init65.call(this);_class28.prototype.__init66.call(this); }
|
|
9096
9693
|
static {
|
|
9097
9694
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageAdminBreakdown");
|
|
9098
9695
|
}
|
|
9099
|
-
|
|
9696
|
+
__init60() {this._label = ""}
|
|
9100
9697
|
|
|
9101
|
-
|
|
9102
|
-
|
|
9103
|
-
|
|
9104
|
-
|
|
9105
|
-
|
|
9106
|
-
|
|
9698
|
+
__init61() {this._cost = 0}
|
|
9699
|
+
__init62() {this._credits = 0}
|
|
9700
|
+
__init63() {this._tokensIn = 0}
|
|
9701
|
+
__init64() {this._tokensOut = 0}
|
|
9702
|
+
__init65() {this._cached = 0}
|
|
9703
|
+
__init66() {this._calls = 0}
|
|
9107
9704
|
|
|
9108
9705
|
|
|
9109
9706
|
|
|
@@ -9180,21 +9777,21 @@ var TokenUsageAdminBreakdown = (_class26 = class extends AbstractApiData {constr
|
|
|
9180
9777
|
response.data.attributes.availableMonthlyCredits = data.availableMonthlyCredits;
|
|
9181
9778
|
return response;
|
|
9182
9779
|
}
|
|
9183
|
-
},
|
|
9780
|
+
}, _class28);
|
|
9184
9781
|
|
|
9185
9782
|
// src/features/tokenusage/data/tokenusage-admin-summary.ts
|
|
9186
|
-
var TokenUsageAdminSummary = (
|
|
9783
|
+
var TokenUsageAdminSummary = (_class29 = class extends AbstractApiData {constructor(...args26) { super(...args26); _class29.prototype.__init67.call(this);_class29.prototype.__init68.call(this);_class29.prototype.__init69.call(this);_class29.prototype.__init70.call(this);_class29.prototype.__init71.call(this);_class29.prototype.__init72.call(this);_class29.prototype.__init73.call(this);_class29.prototype.__init74.call(this); }
|
|
9187
9784
|
static {
|
|
9188
9785
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageAdminSummary");
|
|
9189
9786
|
}
|
|
9190
|
-
|
|
9191
|
-
|
|
9192
|
-
|
|
9193
|
-
|
|
9194
|
-
|
|
9195
|
-
|
|
9196
|
-
|
|
9197
|
-
|
|
9787
|
+
__init67() {this._scope = ""}
|
|
9788
|
+
__init68() {this._window = ""}
|
|
9789
|
+
__init69() {this._cost = 0}
|
|
9790
|
+
__init70() {this._credits = 0}
|
|
9791
|
+
__init71() {this._tokensIn = 0}
|
|
9792
|
+
__init72() {this._tokensOut = 0}
|
|
9793
|
+
__init73() {this._cached = 0}
|
|
9794
|
+
__init74() {this._calls = 0}
|
|
9198
9795
|
get scope() {
|
|
9199
9796
|
return this._scope;
|
|
9200
9797
|
}
|
|
@@ -9252,21 +9849,21 @@ var TokenUsageAdminSummary = (_class27 = class extends AbstractApiData {construc
|
|
|
9252
9849
|
if (data.calls !== void 0) response.data.attributes.calls = data.calls;
|
|
9253
9850
|
return response;
|
|
9254
9851
|
}
|
|
9255
|
-
},
|
|
9852
|
+
}, _class29);
|
|
9256
9853
|
|
|
9257
9854
|
// src/features/tokenusage/data/tokenusage-admin-timeline.ts
|
|
9258
|
-
var TokenUsageAdminTimeline = (
|
|
9855
|
+
var TokenUsageAdminTimeline = (_class30 = class extends AbstractApiData {constructor(...args27) { super(...args27); _class30.prototype.__init75.call(this);_class30.prototype.__init76.call(this);_class30.prototype.__init77.call(this);_class30.prototype.__init78.call(this);_class30.prototype.__init79.call(this);_class30.prototype.__init80.call(this);_class30.prototype.__init81.call(this);_class30.prototype.__init82.call(this); }
|
|
9259
9856
|
static {
|
|
9260
9857
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageAdminTimeline");
|
|
9261
9858
|
}
|
|
9262
|
-
|
|
9263
|
-
|
|
9264
|
-
|
|
9265
|
-
|
|
9266
|
-
|
|
9267
|
-
|
|
9268
|
-
|
|
9269
|
-
|
|
9859
|
+
__init75() {this._bucket = /* @__PURE__ */ new Date(0)}
|
|
9860
|
+
__init76() {this._series = ""}
|
|
9861
|
+
__init77() {this._cost = 0}
|
|
9862
|
+
__init78() {this._credits = 0}
|
|
9863
|
+
__init79() {this._tokensIn = 0}
|
|
9864
|
+
__init80() {this._tokensOut = 0}
|
|
9865
|
+
__init81() {this._cached = 0}
|
|
9866
|
+
__init82() {this._calls = 0}
|
|
9270
9867
|
get bucket() {
|
|
9271
9868
|
return this._bucket;
|
|
9272
9869
|
}
|
|
@@ -9324,7 +9921,7 @@ var TokenUsageAdminTimeline = (_class28 = class extends AbstractApiData {constru
|
|
|
9324
9921
|
if (data.calls !== void 0) response.data.attributes.calls = data.calls;
|
|
9325
9922
|
return response;
|
|
9326
9923
|
}
|
|
9327
|
-
},
|
|
9924
|
+
}, _class30);
|
|
9328
9925
|
|
|
9329
9926
|
// src/features/tokenusage/tokenusage-admin.module.ts
|
|
9330
9927
|
var TokenUsageAdminSummaryModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({ name: "tokenusages/administration/summary", model: TokenUsageAdminSummary }), "TokenUsageAdminSummaryModule");
|
|
@@ -9332,18 +9929,18 @@ var TokenUsageAdminTimelineModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call
|
|
|
9332
9929
|
var TokenUsageAdminBreakdownModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({ name: "tokenusages/administration/breakdown", model: TokenUsageAdminBreakdown }), "TokenUsageAdminBreakdownModule");
|
|
9333
9930
|
|
|
9334
9931
|
// src/features/tokenusage/data/tokenusage-report-breakdown.ts
|
|
9335
|
-
var TokenUsageReportBreakdown = (
|
|
9932
|
+
var TokenUsageReportBreakdown = (_class31 = class extends AbstractApiData {constructor(...args28) { super(...args28); _class31.prototype.__init83.call(this);_class31.prototype.__init84.call(this);_class31.prototype.__init85.call(this);_class31.prototype.__init86.call(this);_class31.prototype.__init87.call(this);_class31.prototype.__init88.call(this);_class31.prototype.__init89.call(this); }
|
|
9336
9933
|
static {
|
|
9337
9934
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageReportBreakdown");
|
|
9338
9935
|
}
|
|
9339
|
-
|
|
9936
|
+
__init83() {this._label = ""}
|
|
9340
9937
|
|
|
9341
|
-
|
|
9342
|
-
|
|
9343
|
-
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
|
-
|
|
9938
|
+
__init84() {this._cost = 0}
|
|
9939
|
+
__init85() {this._credits = 0}
|
|
9940
|
+
__init86() {this._tokensIn = 0}
|
|
9941
|
+
__init87() {this._tokensOut = 0}
|
|
9942
|
+
__init88() {this._cached = 0}
|
|
9943
|
+
__init89() {this._calls = 0}
|
|
9347
9944
|
get label() {
|
|
9348
9945
|
return this._label;
|
|
9349
9946
|
}
|
|
@@ -9401,20 +9998,20 @@ var TokenUsageReportBreakdown = (_class29 = class extends AbstractApiData {const
|
|
|
9401
9998
|
if (data.calls !== void 0) response.data.attributes.calls = data.calls;
|
|
9402
9999
|
return response;
|
|
9403
10000
|
}
|
|
9404
|
-
},
|
|
10001
|
+
}, _class31);
|
|
9405
10002
|
|
|
9406
10003
|
// src/features/tokenusage/data/tokenusage-report-summary.ts
|
|
9407
|
-
var TokenUsageReportSummary = (
|
|
10004
|
+
var TokenUsageReportSummary = (_class32 = class extends AbstractApiData {constructor(...args29) { super(...args29); _class32.prototype.__init90.call(this);_class32.prototype.__init91.call(this);_class32.prototype.__init92.call(this);_class32.prototype.__init93.call(this);_class32.prototype.__init94.call(this);_class32.prototype.__init95.call(this);_class32.prototype.__init96.call(this); }
|
|
9408
10005
|
static {
|
|
9409
10006
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageReportSummary");
|
|
9410
10007
|
}
|
|
9411
|
-
|
|
9412
|
-
|
|
9413
|
-
|
|
9414
|
-
|
|
9415
|
-
|
|
9416
|
-
|
|
9417
|
-
|
|
10008
|
+
__init90() {this._window = ""}
|
|
10009
|
+
__init91() {this._cost = 0}
|
|
10010
|
+
__init92() {this._credits = 0}
|
|
10011
|
+
__init93() {this._tokensIn = 0}
|
|
10012
|
+
__init94() {this._tokensOut = 0}
|
|
10013
|
+
__init95() {this._cached = 0}
|
|
10014
|
+
__init96() {this._calls = 0}
|
|
9418
10015
|
get window() {
|
|
9419
10016
|
return this._window;
|
|
9420
10017
|
}
|
|
@@ -9467,21 +10064,21 @@ var TokenUsageReportSummary = (_class30 = class extends AbstractApiData {constru
|
|
|
9467
10064
|
if (data.calls !== void 0) response.data.attributes.calls = data.calls;
|
|
9468
10065
|
return response;
|
|
9469
10066
|
}
|
|
9470
|
-
},
|
|
10067
|
+
}, _class32);
|
|
9471
10068
|
|
|
9472
10069
|
// src/features/tokenusage/data/tokenusage-report-timeline.ts
|
|
9473
|
-
var TokenUsageReportTimeline = (
|
|
10070
|
+
var TokenUsageReportTimeline = (_class33 = class extends AbstractApiData {constructor(...args30) { super(...args30); _class33.prototype.__init97.call(this);_class33.prototype.__init98.call(this);_class33.prototype.__init99.call(this);_class33.prototype.__init100.call(this);_class33.prototype.__init101.call(this);_class33.prototype.__init102.call(this);_class33.prototype.__init103.call(this);_class33.prototype.__init104.call(this); }
|
|
9474
10071
|
static {
|
|
9475
10072
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageReportTimeline");
|
|
9476
10073
|
}
|
|
9477
|
-
|
|
9478
|
-
|
|
9479
|
-
|
|
9480
|
-
|
|
9481
|
-
|
|
9482
|
-
|
|
9483
|
-
|
|
9484
|
-
|
|
10074
|
+
__init97() {this._bucket = /* @__PURE__ */ new Date(0)}
|
|
10075
|
+
__init98() {this._series = ""}
|
|
10076
|
+
__init99() {this._cost = 0}
|
|
10077
|
+
__init100() {this._credits = 0}
|
|
10078
|
+
__init101() {this._tokensIn = 0}
|
|
10079
|
+
__init102() {this._tokensOut = 0}
|
|
10080
|
+
__init103() {this._cached = 0}
|
|
10081
|
+
__init104() {this._calls = 0}
|
|
9485
10082
|
get bucket() {
|
|
9486
10083
|
return this._bucket;
|
|
9487
10084
|
}
|
|
@@ -9539,7 +10136,7 @@ var TokenUsageReportTimeline = (_class31 = class extends AbstractApiData {constr
|
|
|
9539
10136
|
if (data.calls !== void 0) response.data.attributes.calls = data.calls;
|
|
9540
10137
|
return response;
|
|
9541
10138
|
}
|
|
9542
|
-
},
|
|
10139
|
+
}, _class33);
|
|
9543
10140
|
|
|
9544
10141
|
// src/features/tokenusage/tokenusage.modules.ts
|
|
9545
10142
|
var tokenUsageModules = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => ({
|
|
@@ -9555,15 +10152,15 @@ var tokenUsageModules = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (fa
|
|
|
9555
10152
|
}), "tokenUsageModules");
|
|
9556
10153
|
|
|
9557
10154
|
// src/features/analytics/data/analytics-breakdown.ts
|
|
9558
|
-
var AnalyticsBreakdown = (
|
|
10155
|
+
var AnalyticsBreakdown = (_class34 = class extends AbstractApiData {constructor(...args31) { super(...args31); _class34.prototype.__init105.call(this);_class34.prototype.__init106.call(this);_class34.prototype.__init107.call(this);_class34.prototype.__init108.call(this);_class34.prototype.__init109.call(this); }
|
|
9559
10156
|
static {
|
|
9560
10157
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsBreakdown");
|
|
9561
10158
|
}
|
|
9562
|
-
|
|
9563
|
-
|
|
9564
|
-
|
|
9565
|
-
|
|
9566
|
-
|
|
10159
|
+
__init105() {this._dimension = ""}
|
|
10160
|
+
__init106() {this._key = ""}
|
|
10161
|
+
__init107() {this._visitors = 0}
|
|
10162
|
+
__init108() {this._sessions = 0}
|
|
10163
|
+
__init109() {this._pageViews = 0}
|
|
9567
10164
|
get dimension() {
|
|
9568
10165
|
return this._dimension;
|
|
9569
10166
|
}
|
|
@@ -9606,16 +10203,16 @@ var AnalyticsBreakdown = (_class32 = class extends AbstractApiData {constructor(
|
|
|
9606
10203
|
if (data.pageViews !== void 0) response.data.attributes.pageViews = data.pageViews;
|
|
9607
10204
|
return response;
|
|
9608
10205
|
}
|
|
9609
|
-
},
|
|
10206
|
+
}, _class34);
|
|
9610
10207
|
|
|
9611
10208
|
// src/features/analytics/data/analytics-event.ts
|
|
9612
10209
|
var ANALYTICS_EVENT_TYPE = "analytics-events";
|
|
9613
|
-
var AnalyticsEvent = (
|
|
10210
|
+
var AnalyticsEvent = (_class35 = class extends AbstractApiData {constructor(...args32) { super(...args32); _class35.prototype.__init110.call(this);_class35.prototype.__init111.call(this); }
|
|
9614
10211
|
static {
|
|
9615
10212
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsEvent");
|
|
9616
10213
|
}
|
|
9617
|
-
|
|
9618
|
-
|
|
10214
|
+
__init110() {this._path = ""}
|
|
10215
|
+
__init111() {this._section = ""}
|
|
9619
10216
|
get path() {
|
|
9620
10217
|
return this._path;
|
|
9621
10218
|
}
|
|
@@ -9651,16 +10248,16 @@ var AnalyticsEvent = (_class33 = class extends AbstractApiData {constructor(...a
|
|
|
9651
10248
|
if (data.screenWidth !== void 0) response.data.attributes.screenWidth = data.screenWidth;
|
|
9652
10249
|
return response;
|
|
9653
10250
|
}
|
|
9654
|
-
},
|
|
10251
|
+
}, _class35);
|
|
9655
10252
|
|
|
9656
10253
|
// src/features/analytics/data/analytics-page-view.ts
|
|
9657
|
-
var AnalyticsPageView = (
|
|
10254
|
+
var AnalyticsPageView = (_class36 = class extends AbstractApiData {constructor(...args33) { super(...args33); _class36.prototype.__init112.call(this);_class36.prototype.__init113.call(this);_class36.prototype.__init114.call(this); }
|
|
9658
10255
|
static {
|
|
9659
10256
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsPageView");
|
|
9660
10257
|
}
|
|
9661
|
-
|
|
9662
|
-
|
|
9663
|
-
|
|
10258
|
+
__init112() {this._path = ""}
|
|
10259
|
+
__init113() {this._route = ""}
|
|
10260
|
+
__init114() {this._section = ""}
|
|
9664
10261
|
get path() {
|
|
9665
10262
|
return this._path;
|
|
9666
10263
|
}
|
|
@@ -9695,27 +10292,27 @@ var AnalyticsPageView = (_class34 = class extends AbstractApiData {constructor(.
|
|
|
9695
10292
|
if (data.section !== void 0) response.data.attributes.section = data.section;
|
|
9696
10293
|
return response;
|
|
9697
10294
|
}
|
|
9698
|
-
},
|
|
10295
|
+
}, _class36);
|
|
9699
10296
|
|
|
9700
10297
|
// src/features/analytics/data/analytics-session.ts
|
|
9701
|
-
var AnalyticsSession = (
|
|
10298
|
+
var AnalyticsSession = (_class37 = class extends AbstractApiData {constructor(...args34) { super(...args34); _class37.prototype.__init115.call(this);_class37.prototype.__init116.call(this);_class37.prototype.__init117.call(this);_class37.prototype.__init118.call(this);_class37.prototype.__init119.call(this);_class37.prototype.__init120.call(this);_class37.prototype.__init121.call(this);_class37.prototype.__init122.call(this); }
|
|
9702
10299
|
static {
|
|
9703
10300
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsSession");
|
|
9704
10301
|
}
|
|
9705
|
-
|
|
9706
|
-
|
|
9707
|
-
|
|
9708
|
-
|
|
9709
|
-
|
|
9710
|
-
|
|
9711
|
-
|
|
10302
|
+
__init115() {this._visitorId = ""}
|
|
10303
|
+
__init116() {this._consented = false}
|
|
10304
|
+
__init117() {this._startedAt = /* @__PURE__ */ new Date(0)}
|
|
10305
|
+
__init118() {this._lastSeenAt = /* @__PURE__ */ new Date(0)}
|
|
10306
|
+
__init119() {this._pageViews = 0}
|
|
10307
|
+
__init120() {this._section = ""}
|
|
10308
|
+
__init121() {this._landingRoute = ""}
|
|
9712
10309
|
|
|
9713
10310
|
|
|
9714
10311
|
|
|
9715
10312
|
|
|
9716
10313
|
|
|
9717
10314
|
|
|
9718
|
-
|
|
10315
|
+
__init122() {this._deviceType = ""}
|
|
9719
10316
|
|
|
9720
10317
|
get visitorId() {
|
|
9721
10318
|
return this._visitorId;
|
|
@@ -9813,20 +10410,20 @@ var AnalyticsSession = (_class35 = class extends AbstractApiData {constructor(..
|
|
|
9813
10410
|
}
|
|
9814
10411
|
return response;
|
|
9815
10412
|
}
|
|
9816
|
-
},
|
|
10413
|
+
}, _class37);
|
|
9817
10414
|
|
|
9818
10415
|
// src/features/analytics/data/analytics-summary.ts
|
|
9819
|
-
var AnalyticsSummary = (
|
|
10416
|
+
var AnalyticsSummary = (_class38 = class extends AbstractApiData {constructor(...args35) { super(...args35); _class38.prototype.__init123.call(this);_class38.prototype.__init124.call(this);_class38.prototype.__init125.call(this);_class38.prototype.__init126.call(this);_class38.prototype.__init127.call(this);_class38.prototype.__init128.call(this);_class38.prototype.__init129.call(this); }
|
|
9820
10417
|
static {
|
|
9821
10418
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsSummary");
|
|
9822
10419
|
}
|
|
9823
|
-
|
|
9824
|
-
|
|
9825
|
-
|
|
9826
|
-
|
|
9827
|
-
|
|
9828
|
-
|
|
9829
|
-
|
|
10420
|
+
__init123() {this._section = ""}
|
|
10421
|
+
__init124() {this._window = ""}
|
|
10422
|
+
__init125() {this._visitors = 0}
|
|
10423
|
+
__init126() {this._sessions = 0}
|
|
10424
|
+
__init127() {this._pageViews = 0}
|
|
10425
|
+
__init128() {this._pagesPerSession = 0}
|
|
10426
|
+
__init129() {this._consentShare = 0}
|
|
9830
10427
|
get section() {
|
|
9831
10428
|
return this._section;
|
|
9832
10429
|
}
|
|
@@ -9879,18 +10476,18 @@ var AnalyticsSummary = (_class36 = class extends AbstractApiData {constructor(..
|
|
|
9879
10476
|
if (data.consentShare !== void 0) response.data.attributes.consentShare = data.consentShare;
|
|
9880
10477
|
return response;
|
|
9881
10478
|
}
|
|
9882
|
-
},
|
|
10479
|
+
}, _class38);
|
|
9883
10480
|
|
|
9884
10481
|
// src/features/analytics/data/analytics-timeline.ts
|
|
9885
|
-
var AnalyticsTimeline = (
|
|
10482
|
+
var AnalyticsTimeline = (_class39 = class extends AbstractApiData {constructor(...args36) { super(...args36); _class39.prototype.__init130.call(this);_class39.prototype.__init131.call(this);_class39.prototype.__init132.call(this);_class39.prototype.__init133.call(this);_class39.prototype.__init134.call(this); }
|
|
9886
10483
|
static {
|
|
9887
10484
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsTimeline");
|
|
9888
10485
|
}
|
|
9889
|
-
|
|
9890
|
-
|
|
9891
|
-
|
|
9892
|
-
|
|
9893
|
-
|
|
10486
|
+
__init130() {this._bucket = /* @__PURE__ */ new Date(0)}
|
|
10487
|
+
__init131() {this._section = ""}
|
|
10488
|
+
__init132() {this._visitors = 0}
|
|
10489
|
+
__init133() {this._sessions = 0}
|
|
10490
|
+
__init134() {this._pageViews = 0}
|
|
9894
10491
|
get bucket() {
|
|
9895
10492
|
return this._bucket;
|
|
9896
10493
|
}
|
|
@@ -9933,7 +10530,7 @@ var AnalyticsTimeline = (_class37 = class extends AbstractApiData {constructor(.
|
|
|
9933
10530
|
if (data.pageViews !== void 0) response.data.attributes.pageViews = data.pageViews;
|
|
9934
10531
|
return response;
|
|
9935
10532
|
}
|
|
9936
|
-
},
|
|
10533
|
+
}, _class39);
|
|
9937
10534
|
|
|
9938
10535
|
// src/features/analytics/analytics.modules.ts
|
|
9939
10536
|
var analyticsModules = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => ({
|
|
@@ -9957,11 +10554,11 @@ function getTokenUsageCurrency() {
|
|
|
9957
10554
|
_chunk7QVYU63Ejs.__name.call(void 0, getTokenUsageCurrency, "getTokenUsageCurrency");
|
|
9958
10555
|
|
|
9959
10556
|
// src/features/audit-log/data/audit-log.ts
|
|
9960
|
-
var AuditLog = (
|
|
10557
|
+
var AuditLog = (_class40 = class extends AbstractApiData {constructor(...args37) { super(...args37); _class40.prototype.__init135.call(this); }
|
|
9961
10558
|
static {
|
|
9962
10559
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AuditLog");
|
|
9963
10560
|
}
|
|
9964
|
-
|
|
10561
|
+
__init135() {this._kind = "audit"}
|
|
9965
10562
|
|
|
9966
10563
|
|
|
9967
10564
|
|
|
@@ -10008,7 +10605,7 @@ var AuditLog = (_class38 = class extends AbstractApiData {constructor(...args35)
|
|
|
10008
10605
|
createJsonApi() {
|
|
10009
10606
|
throw new Error("AuditLog is read-only");
|
|
10010
10607
|
}
|
|
10011
|
-
},
|
|
10608
|
+
}, _class40);
|
|
10012
10609
|
|
|
10013
10610
|
// src/features/audit-log/data/audit-log.service.ts
|
|
10014
10611
|
var AuditLogService = class extends AbstractService {
|
|
@@ -10300,5 +10897,19 @@ var AuditLogModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (facto
|
|
|
10300
10897
|
|
|
10301
10898
|
|
|
10302
10899
|
|
|
10303
|
-
exports.RehydrationFactory = RehydrationFactory; exports.AbstractApiData = AbstractApiData; exports.getLastApiTotal = getLastApiTotal; exports.clearLastApiTotal = clearLastApiTotal; exports.getLastApiMeta = getLastApiMeta; exports.clearLastApiMeta = clearLastApiMeta; exports.configureI18n = configureI18n; exports.useI18nRouter = useI18nRouter; exports.useI18nTranslations = useI18nTranslations; exports.getI18nLink = getI18nLink; exports.useI18nLocale = useI18nLocale; exports.useI18nDateFnsLocale = useI18nDateFnsLocale; exports.HttpMethod = HttpMethod; exports.setGlobalErrorHandler = setGlobalErrorHandler; exports.getGlobalErrorHandler = getGlobalErrorHandler; exports.AbstractService = AbstractService; exports.configureClientJsonApi = configureClientJsonApi; exports.getClientApiUrl = getClientApiUrl; exports.getClientAppUrl = getClientAppUrl; exports.getClientTrackablePages = getClientTrackablePages; exports.buildClientUrl = buildClientUrl; exports.ClientJsonApiGet = ClientJsonApiGet; exports.ClientJsonApiPost = ClientJsonApiPost; exports.ClientJsonApiPut = ClientJsonApiPut; exports.ClientJsonApiPatch = ClientJsonApiPatch; exports.ClientJsonApiDelete = ClientJsonApiDelete; exports.ClientHttpMethod = ClientHttpMethod; exports.setClientGlobalErrorHandler = setClientGlobalErrorHandler; exports.getClientGlobalErrorHandler = getClientGlobalErrorHandler; exports.ClientAbstractService = ClientAbstractService; exports.ModuleRegistrar = ModuleRegistrar; exports.ModuleRegistry = ModuleRegistry; exports.Modules = Modules; exports.EndpointCreator = EndpointCreator; exports.createJsonApiInclusion = createJsonApiInclusion; exports.rehydrate = rehydrate; exports.rehydrateList = rehydrateList; exports.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.BillingModule = BillingModule; exports.PaymentMethod = PaymentMethod; exports.StripeCustomer = StripeCustomer; exports.StripeCustomerService = StripeCustomerService; exports.StripeCustomerModule = StripeCustomerModule; exports.StripePaymentMethodModule = StripePaymentMethodModule; exports.StripeInvoice = StripeInvoice; exports.InvoiceStatus = InvoiceStatus; exports.StripeInvoiceService = StripeInvoiceService; exports.StripeInvoiceModule = StripeInvoiceModule; exports.StripePrice = StripePrice; exports.StripePriceFields = StripePriceFields; exports.StripePriceService = StripePriceService; exports.StripePriceModule = StripePriceModule; exports.StripeProduct = StripeProduct; exports.StripeProductFields = StripeProductFields; exports.StripeProductService = StripeProductService; exports.StripeProductModule = StripeProductModule; exports.StripeSubscription = StripeSubscription; exports.SubscriptionStatus = SubscriptionStatus; exports.StripeSubscriptionService = StripeSubscriptionService; exports.StripeSubscriptionModule = StripeSubscriptionModule; exports.StripeUsage = StripeUsage; exports.StripeUsageService = StripeUsageService; exports.StripeUsageModule = StripeUsageModule; exports.StripePromotionCodeService = StripePromotionCodeService; exports.StripePromotionCode = StripePromotionCode; exports.StripePromotionCodeModule = StripePromotionCodeModule; exports.AiConnection = AiConnection; exports.AiConnectionFields = AiConnectionFields; exports.AiConnectionService = AiConnectionService; exports.AiConnectionModule = AiConnectionModule; exports.Company = Company; exports.CompanyFields = CompanyFields; exports.CompanyService = CompanyService; exports.EntityAiStatus = EntityAiStatus; exports.CompanyModule = CompanyModule; exports.Content = Content; exports.ContentFields = ContentFields; exports.ContentService = ContentService; exports.ContentModule = ContentModule; exports.HowTo = HowTo; exports.HowToModule = HowToModule; exports.HowToFields = HowToFields; exports.HowToService = HowToService; exports.HandbookPage = HandbookPage; exports.HandbookPageModule = HandbookPageModule; exports.HandbookSection = HandbookSection; exports.HandbookSectionModule = HandbookSectionModule; exports.HandbookThreadMessage = HandbookThreadMessage; exports.HandbookThreadMessageModule = HandbookThreadMessageModule; exports.HandbookThread = HandbookThread; exports.HandbookThreadModule = HandbookThreadModule; exports.handbookPageTitle = handbookPageTitle; exports.handbookPageSummary = handbookPageSummary; exports.handbookPageContent = handbookPageContent; exports.handbookSectionTitle = handbookSectionTitle; exports.handbookSectionSummary = handbookSectionSummary; exports.HandbookPageFields = HandbookPageFields; exports.HandbookPageService = HandbookPageService; exports.HandbookSectionService = HandbookSectionService; exports.HandbookThreadMessageService = HandbookThreadMessageService; exports.HandbookThreadService = HandbookThreadService; exports.Assistant = Assistant; exports.AssistantModule = AssistantModule; exports.AssistantMessage = AssistantMessage; exports.AssistantService = AssistantService; exports.AssistantMessageModule = AssistantMessageModule; exports.AssistantMessageService = AssistantMessageService; exports.AssistantAction = AssistantAction; exports.AssistantActionModule = AssistantActionModule; exports.AssistantActionService = AssistantActionService; exports.Chunk = Chunk; exports.ChunkModule = ChunkModule; exports.Feature = Feature; exports.FeatureService = FeatureService; exports.FeatureModule = FeatureModule; exports.Module = Module; exports.ModuleModule = ModuleModule; exports.Notification = Notification; exports.NotificationFields = NotificationFields; exports.NotificationService = NotificationService; exports.NotificationModule = NotificationModule; exports.Push = Push; exports.PushService = PushService; exports.PushModule = PushModule; exports.Role = Role; exports.RoleFields = RoleFields; exports.RoleService = RoleService; exports.RoleModule = RoleModule; exports.S3 = S3; exports.S3Module = S3Module; exports.S3Service = S3Service; exports.User = User; exports.UserFields = UserFields; exports.UserService = UserService; exports.CURRENT_USER_STORAGE_KEY = CURRENT_USER_STORAGE_KEY; exports.AuthorModule = AuthorModule; exports.UserModule = UserModule; exports.OAuthClient = OAuthClient; exports.OAuthModule = OAuthModule; exports.OAuthService = OAuthService; exports.OAUTH_SCOPE_DISPLAY = OAUTH_SCOPE_DISPLAY; exports.AVAILABLE_OAUTH_SCOPES = AVAILABLE_OAUTH_SCOPES; exports.DEFAULT_GRANT_TYPES = DEFAULT_GRANT_TYPES; exports.Waitlist = Waitlist; exports.WaitlistService = WaitlistService; exports.WaitlistStats = WaitlistStats; exports.WaitlistFields = WaitlistFields; exports.WaitlistModule = WaitlistModule; exports.WaitlistStatsModule = WaitlistStatsModule; exports.PermissionMapping = PermissionMapping; exports.ModulePaths = ModulePaths; exports.RbacMatrixModel = RbacMatrixModel; exports.PermissionMappingModule = PermissionMappingModule; exports.ModulePathsModule = ModulePathsModule; exports.RbacMatrixModule = RbacMatrixModule; exports.ReferralStats = ReferralStats; exports.ReferralService = ReferralService; exports.ReferralModule = ReferralModule; exports.ReferralStatsModule = ReferralStatsModule; exports.TokenUsageAdminBreakdown = TokenUsageAdminBreakdown; exports.TokenUsageAdminSummary = TokenUsageAdminSummary; exports.TokenUsageAdminTimeline = TokenUsageAdminTimeline; exports.TokenUsageAdminSummaryModule = TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = TokenUsageAdminTimelineModule; exports.TokenUsageAdminBreakdownModule = TokenUsageAdminBreakdownModule; exports.TokenUsageReportBreakdown = TokenUsageReportBreakdown; exports.TokenUsageReportSummary = TokenUsageReportSummary; exports.TokenUsageReportTimeline = TokenUsageReportTimeline; exports.tokenUsageModules = tokenUsageModules; exports.AnalyticsBreakdown = AnalyticsBreakdown; exports.AnalyticsEvent = AnalyticsEvent; exports.AnalyticsPageView = AnalyticsPageView; exports.AnalyticsSession = AnalyticsSession; exports.AnalyticsSummary = AnalyticsSummary; exports.AnalyticsTimeline = AnalyticsTimeline; exports.analyticsModules = analyticsModules; exports.configureTokenUsage = configureTokenUsage; exports.getTokenUsageCurrency = getTokenUsageCurrency; exports.AuditLog = AuditLog; exports.AuditLogService = AuditLogService; exports.AuditLogModule = AuditLogModule;
|
|
10304
|
-
|
|
10900
|
+
|
|
10901
|
+
|
|
10902
|
+
|
|
10903
|
+
|
|
10904
|
+
|
|
10905
|
+
|
|
10906
|
+
|
|
10907
|
+
|
|
10908
|
+
|
|
10909
|
+
|
|
10910
|
+
|
|
10911
|
+
|
|
10912
|
+
|
|
10913
|
+
|
|
10914
|
+
exports.RehydrationFactory = RehydrationFactory; exports.AbstractApiData = AbstractApiData; exports.getLastApiTotal = getLastApiTotal; exports.clearLastApiTotal = clearLastApiTotal; exports.getLastApiMeta = getLastApiMeta; exports.clearLastApiMeta = clearLastApiMeta; exports.configureI18n = configureI18n; exports.useI18nRouter = useI18nRouter; exports.useI18nTranslations = useI18nTranslations; exports.getI18nLink = getI18nLink; exports.useI18nLocale = useI18nLocale; exports.useI18nDateFnsLocale = useI18nDateFnsLocale; exports.HttpMethod = HttpMethod; exports.setGlobalErrorHandler = setGlobalErrorHandler; exports.getGlobalErrorHandler = getGlobalErrorHandler; exports.AbstractService = AbstractService; exports.configureClientJsonApi = configureClientJsonApi; exports.getClientApiUrl = getClientApiUrl; exports.getClientAppUrl = getClientAppUrl; exports.getClientTrackablePages = getClientTrackablePages; exports.buildClientUrl = buildClientUrl; exports.ClientJsonApiGet = ClientJsonApiGet; exports.ClientJsonApiPost = ClientJsonApiPost; exports.ClientJsonApiPut = ClientJsonApiPut; exports.ClientJsonApiPatch = ClientJsonApiPatch; exports.ClientJsonApiDelete = ClientJsonApiDelete; exports.ClientHttpMethod = ClientHttpMethod; exports.setClientGlobalErrorHandler = setClientGlobalErrorHandler; exports.getClientGlobalErrorHandler = getClientGlobalErrorHandler; exports.ClientAbstractService = ClientAbstractService; exports.ModuleRegistrar = ModuleRegistrar; exports.ModuleRegistry = ModuleRegistry; exports.Modules = Modules; exports.EndpointCreator = EndpointCreator; exports.createJsonApiInclusion = createJsonApiInclusion; exports.rehydrate = rehydrate; exports.rehydrateList = rehydrateList; exports.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.BillingModule = BillingModule; exports.PaymentMethod = PaymentMethod; exports.StripeCustomer = StripeCustomer; exports.StripeCustomerService = StripeCustomerService; exports.StripeCustomerModule = StripeCustomerModule; exports.StripePaymentMethodModule = StripePaymentMethodModule; exports.StripeInvoice = StripeInvoice; exports.InvoiceStatus = InvoiceStatus; exports.StripeInvoiceService = StripeInvoiceService; exports.StripeInvoiceModule = StripeInvoiceModule; exports.StripePrice = StripePrice; exports.StripePriceFields = StripePriceFields; exports.StripePriceService = StripePriceService; exports.StripePriceModule = StripePriceModule; exports.StripeProduct = StripeProduct; exports.StripeProductFields = StripeProductFields; exports.StripeProductService = StripeProductService; exports.StripeProductModule = StripeProductModule; exports.StripeSubscription = StripeSubscription; exports.SubscriptionStatus = SubscriptionStatus; exports.StripeSubscriptionService = StripeSubscriptionService; exports.StripeSubscriptionModule = StripeSubscriptionModule; exports.StripeUsage = StripeUsage; exports.StripeUsageService = StripeUsageService; exports.StripeUsageModule = StripeUsageModule; exports.StripePromotionCodeService = StripePromotionCodeService; exports.StripePromotionCode = StripePromotionCode; exports.StripePromotionCodeModule = StripePromotionCodeModule; exports.AiConnection = AiConnection; exports.AiConnectionFields = AiConnectionFields; exports.AiConnectionService = AiConnectionService; exports.AiConnectionModule = AiConnectionModule; exports.Company = Company; exports.CompanyFields = CompanyFields; exports.CompanyService = CompanyService; exports.EntityAiStatus = EntityAiStatus; exports.CompanyModule = CompanyModule; exports.Content = Content; exports.ContentFields = ContentFields; exports.ContentService = ContentService; exports.ContentModule = ContentModule; exports.HowTo = HowTo; exports.HowToModule = HowToModule; exports.HowToFields = HowToFields; exports.HowToService = HowToService; exports.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.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;
|
|
10915
|
+
//# sourceMappingURL=chunk-CRI4T47Y.js.map
|