@carlonicora/nextjs-jsonapi 5.2.0 → 5.4.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-EGY4ZAAM.js → BlockNoteEditor-4YCAIEPT.js} +23 -22
- package/dist/BlockNoteEditor-4YCAIEPT.js.map +1 -0
- package/dist/{BlockNoteEditor-2QJVK2HH.mjs → BlockNoteEditor-YQL2SGFR.mjs} +8 -7
- package/dist/BlockNoteEditor-YQL2SGFR.mjs.map +1 -0
- package/dist/{BlockNoteViewer-6BQXJ4TB.mjs → BlockNoteViewer-AEJKJ27Q.mjs} +2 -2
- package/dist/{BlockNoteViewer-I2MMFH3S.js → BlockNoteViewer-YL3J7J2Y.js} +3 -3
- package/dist/{BlockNoteViewer-I2MMFH3S.js.map → BlockNoteViewer-YL3J7J2Y.js.map} +1 -1
- package/dist/BlogCategoryFields-DO48vOTE.d.mts +14 -0
- package/dist/BlogCategoryFields-DO48vOTE.d.ts +14 -0
- package/dist/BlogPostInterface-BB_4wcDR.d.mts +124 -0
- package/dist/BlogPostInterface-bWAT1rfR.d.ts +124 -0
- package/dist/billing/index.js +441 -441
- package/dist/billing/index.mjs +3 -3
- package/dist/blog-public.types-BbrzsC1c.d.mts +30 -0
- package/dist/blog-public.types-BbrzsC1c.d.ts +30 -0
- package/dist/{chunk-3VEQ5JZJ.js → chunk-3NLAXVIN.js} +860 -849
- package/dist/{chunk-3VEQ5JZJ.js.map → chunk-3NLAXVIN.js.map} +1 -1
- package/dist/{chunk-YMUPTXOT.mjs → chunk-3YW35YHQ.mjs} +1 -101
- package/dist/chunk-3YW35YHQ.mjs.map +1 -0
- package/dist/{chunk-EXICQC4A.js → chunk-5PPG6PL7.js} +3 -3
- package/dist/{chunk-EXICQC4A.js.map → chunk-5PPG6PL7.js.map} +1 -1
- package/dist/{chunk-NPKFMRH5.mjs → chunk-6DC2WVVB.mjs} +2 -2
- package/dist/{chunk-2Z3ZCYXX.mjs → chunk-EUKTBOI2.mjs} +19 -8
- package/dist/chunk-EUKTBOI2.mjs.map +1 -0
- package/dist/{chunk-THKYH65N.js → chunk-KSYQEKJX.js} +11 -111
- package/dist/chunk-KSYQEKJX.js.map +1 -0
- package/dist/{chunk-S5MQDWWC.js → chunk-NFBOSPNJ.js} +1451 -176
- package/dist/chunk-NFBOSPNJ.js.map +1 -0
- package/dist/{chunk-JEZQTZQ4.mjs → chunk-QMYQRPQC.mjs} +2 -2
- package/dist/{chunk-HNOWSFM5.mjs → chunk-WC63PJSC.mjs} +1278 -3
- package/dist/chunk-WC63PJSC.mjs.map +1 -0
- package/dist/chunk-XCHSX3VC.mjs +107 -0
- package/dist/chunk-XCHSX3VC.mjs.map +1 -0
- package/dist/{chunk-75MLT74B.js → chunk-YNCQSWQW.js} +8 -8
- package/dist/{chunk-75MLT74B.js.map → chunk-YNCQSWQW.js.map} +1 -1
- package/dist/chunk-YW4ZCEWB.js +107 -0
- package/dist/chunk-YW4ZCEWB.js.map +1 -0
- 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 +15 -4
- package/dist/components/index.d.ts +15 -4
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +3 -3
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.d.mts +400 -3
- package/dist/core/index.d.ts +400 -3
- package/dist/core/index.js +64 -2
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +63 -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 +6 -5
- package/dist/features/analytics/server.js.map +1 -1
- package/dist/features/analytics/server.mjs +4 -3
- package/dist/features/analytics/server.mjs.map +1 -1
- package/dist/features/blog/index.css +30 -0
- package/dist/features/blog/index.css.map +1 -0
- package/dist/features/blog/index.d.mts +266 -0
- package/dist/features/blog/index.d.ts +266 -0
- package/dist/features/blog/index.js +1799 -0
- package/dist/features/blog/index.js.map +1 -0
- package/dist/features/blog/index.mjs +1799 -0
- package/dist/features/blog/index.mjs.map +1 -0
- package/dist/features/blog/server.d.mts +33 -0
- package/dist/features/blog/server.d.ts +33 -0
- package/dist/features/blog/server.js +139 -0
- package/dist/features/blog/server.js.map +1 -0
- package/dist/features/blog/server.mjs +139 -0
- package/dist/features/blog/server.mjs.map +1 -0
- 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 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +65 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +64 -2
- package/dist/{s3.service-CY-jgOAM.d.ts → s3.service-Bz_K-tjz.d.ts} +11 -0
- package/dist/{s3.service-Sri0QP7Z.d.mts → s3.service-D5zNCEW3.d.mts} +11 -0
- package/dist/server/index.d.mts +1 -1
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +8 -6
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +12 -10
- package/dist/types-70acd-8C.d.mts +39 -0
- package/dist/types-l8SFleXi.d.ts +39 -0
- package/messages/en.json +210 -0
- package/messages/it.json +210 -0
- package/package.json +21 -1
- package/src/components/editors/BlockNoteEditor.tsx +13 -3
- package/src/components/forms/FormBlockNote.tsx +4 -0
- package/src/components/forms/FormFieldWrapper.tsx +1 -1
- package/src/components/forms/FormTextarea.tsx +2 -1
- package/src/components/navigations/ContentTitle.tsx +14 -3
- package/src/core/index.ts +12 -0
- package/src/core/registry/ModuleRegistry.ts +11 -0
- package/src/email-automations/index.ts +5 -0
- package/src/features/blog/BlogModules.ts +49 -0
- package/src/features/blog/components/admin/BlogAdminContainer.tsx +32 -0
- package/src/features/blog/components/admin/BlogCategoriesList.tsx +56 -0
- package/src/features/blog/components/admin/BlogCategoryEditor.tsx +230 -0
- package/src/features/blog/components/admin/BlogCoverImageField.tsx +123 -0
- package/src/features/blog/components/admin/BlogLayoutSetting.tsx +86 -0
- package/src/features/blog/components/admin/BlogPostComparison.tsx +54 -0
- package/src/features/blog/components/admin/BlogPostContainer.tsx +102 -0
- package/src/features/blog/components/admin/BlogPostDeleter.tsx +35 -0
- package/src/features/blog/components/admin/BlogPostEditor.tsx +207 -0
- package/src/features/blog/components/admin/BlogPostPublishButton.tsx +50 -0
- package/src/features/blog/components/admin/BlogPostTranslationEditor.tsx +110 -0
- package/src/features/blog/components/admin/BlogPostTranslationPanel.tsx +136 -0
- package/src/features/blog/components/admin/BlogPostsList.tsx +58 -0
- package/src/features/blog/components/admin/BlogTranslationStatus.tsx +104 -0
- package/src/features/blog/components/admin/__tests__/BlogPostTranslationPanel.spec.tsx +100 -0
- package/src/features/blog/components/admin/__tests__/BlogPostsList.spec.tsx +30 -0
- package/src/features/blog/components/admin/index.ts +14 -0
- package/src/features/blog/components/public/BlogCategoryChips.tsx +59 -0
- package/src/features/blog/components/public/BlogList.tsx +21 -0
- package/src/features/blog/components/public/BlogListColumn.tsx +53 -0
- package/src/features/blog/components/public/BlogListFeatured.tsx +57 -0
- package/src/features/blog/components/public/BlogListParts.tsx +74 -0
- package/src/features/blog/components/public/BlogListRail.tsx +62 -0
- package/src/features/blog/components/public/BlogPostCard.tsx +132 -0
- package/src/features/blog/components/public/BlogPostMeta.tsx +49 -0
- package/src/features/blog/components/public/BlogPostView.tsx +74 -0
- package/src/features/blog/components/public/BlogSearchBox.tsx +52 -0
- package/src/features/blog/components/public/__tests__/BlogList.spec.tsx +173 -0
- package/src/features/blog/components/public/__tests__/BlogPostView.spec.tsx +128 -0
- package/src/features/blog/components/public/blogPublicHelpers.ts +30 -0
- package/src/features/blog/components/public/index.ts +3 -0
- package/src/features/blog/contexts/BlogPostContext.tsx +66 -0
- package/src/features/blog/contexts/index.ts +1 -0
- package/src/features/blog/data/BlogCategory.ts +93 -0
- package/src/features/blog/data/BlogCategoryFields.ts +4 -0
- package/src/features/blog/data/BlogCategoryInterface.ts +24 -0
- package/src/features/blog/data/BlogCategoryService.ts +54 -0
- package/src/features/blog/data/BlogCategoryTranslation.ts +90 -0
- package/src/features/blog/data/BlogCategoryTranslationInterface.ts +22 -0
- package/src/features/blog/data/BlogCategoryTranslationService.ts +30 -0
- package/src/features/blog/data/BlogPost.spec.ts +123 -0
- package/src/features/blog/data/BlogPost.ts +159 -0
- package/src/features/blog/data/BlogPostFields.ts +7 -0
- package/src/features/blog/data/BlogPostInterface.ts +39 -0
- package/src/features/blog/data/BlogPostService.ts +82 -0
- package/src/features/blog/data/BlogPostTranslation.spec.ts +73 -0
- package/src/features/blog/data/BlogPostTranslation.ts +110 -0
- package/src/features/blog/data/BlogPostTranslationInterface.ts +27 -0
- package/src/features/blog/data/BlogPostTranslationService.ts +30 -0
- package/src/features/blog/data/BlogSettings.ts +37 -0
- package/src/features/blog/data/BlogSettingsInterface.ts +11 -0
- package/src/features/blog/data/BlogSettingsService.ts +24 -0
- package/src/features/blog/data/index.ts +17 -0
- package/src/features/blog/hooks/index.ts +3 -0
- package/src/features/blog/hooks/useBlogCategoryNames.ts +34 -0
- package/src/features/blog/hooks/useBlogCategoryTableStructure.tsx +84 -0
- package/src/features/blog/hooks/useBlogPostTableStructure.tsx +126 -0
- package/src/features/blog/index.ts +15 -0
- package/src/features/blog/server/fetchers.ts +120 -0
- package/src/features/blog/server/toPublic.spec.ts +91 -0
- package/src/features/blog/server/toPublic.ts +36 -0
- package/src/features/blog/server-entry.ts +17 -0
- package/src/features/blog/types/blog-public.types.ts +34 -0
- package/src/features/blog/types/blog.constants.ts +40 -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/s3/data/s3.service.ts +17 -0
- package/dist/BlockNoteEditor-2QJVK2HH.mjs.map +0 -1
- package/dist/BlockNoteEditor-EGY4ZAAM.js.map +0 -1
- package/dist/chunk-2Z3ZCYXX.mjs.map +0 -1
- package/dist/chunk-HNOWSFM5.mjs.map +0 -1
- package/dist/chunk-S5MQDWWC.js.map +0 -1
- package/dist/chunk-THKYH65N.js.map +0 -1
- package/dist/chunk-YMUPTXOT.mjs.map +0 -1
- /package/dist/{BlockNoteViewer-6BQXJ4TB.mjs.map → BlockNoteViewer-AEJKJ27Q.mjs.map} +0 -0
- /package/dist/{chunk-NPKFMRH5.mjs.map → chunk-6DC2WVVB.mjs.map} +0 -0
- /package/dist/{chunk-JEZQTZQ4.mjs.map → chunk-QMYQRPQC.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
|
|
|
@@ -6165,6 +6165,1225 @@ var HowToService = class extends AbstractService {
|
|
|
6165
6165
|
}
|
|
6166
6166
|
};
|
|
6167
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
|
+
|
|
6714
|
+
// src/features/blog/BlogModules.ts
|
|
6715
|
+
|
|
6716
|
+
|
|
6717
|
+
// src/features/blog/data/BlogCategory.ts
|
|
6718
|
+
var BlogCategory = class extends AbstractApiData {
|
|
6719
|
+
static {
|
|
6720
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "BlogCategory");
|
|
6721
|
+
}
|
|
6722
|
+
|
|
6723
|
+
|
|
6724
|
+
|
|
6725
|
+
|
|
6726
|
+
|
|
6727
|
+
|
|
6728
|
+
|
|
6729
|
+
get originalLanguage() {
|
|
6730
|
+
return _nullishCoalesce(this._originalLanguage, () => ( ""));
|
|
6731
|
+
}
|
|
6732
|
+
get image() {
|
|
6733
|
+
return this._image;
|
|
6734
|
+
}
|
|
6735
|
+
get translations() {
|
|
6736
|
+
return _nullishCoalesce(this._translations, () => ( []));
|
|
6737
|
+
}
|
|
6738
|
+
get original() {
|
|
6739
|
+
return this.translations.find((translation) => translation.isOriginal);
|
|
6740
|
+
}
|
|
6741
|
+
get language() {
|
|
6742
|
+
return this._language;
|
|
6743
|
+
}
|
|
6744
|
+
get name() {
|
|
6745
|
+
return this._name;
|
|
6746
|
+
}
|
|
6747
|
+
get slug() {
|
|
6748
|
+
return this._slug;
|
|
6749
|
+
}
|
|
6750
|
+
get description() {
|
|
6751
|
+
return this._description;
|
|
6752
|
+
}
|
|
6753
|
+
rehydrate(data) {
|
|
6754
|
+
super.rehydrate(data);
|
|
6755
|
+
const attributes = _nullishCoalesce(data.jsonApi.attributes, () => ( {}));
|
|
6756
|
+
const meta = _nullishCoalesce(data.jsonApi.meta, () => ( {}));
|
|
6757
|
+
const resolved = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (key) => _nullishCoalesce(_nullishCoalesce(attributes[key], () => ( meta[key])), () => ( void 0)), "resolved");
|
|
6758
|
+
this._originalLanguage = attributes.originalLanguage;
|
|
6759
|
+
this._image = _nullishCoalesce(attributes.image, () => ( void 0));
|
|
6760
|
+
this._language = resolved("language");
|
|
6761
|
+
this._name = resolved("name");
|
|
6762
|
+
this._slug = resolved("slug");
|
|
6763
|
+
this._description = resolved("description");
|
|
6764
|
+
this._translations = this._readIncluded(
|
|
6765
|
+
data,
|
|
6766
|
+
"translations",
|
|
6767
|
+
Modules.BlogCategoryTranslation
|
|
6768
|
+
);
|
|
6769
|
+
return this;
|
|
6770
|
+
}
|
|
6771
|
+
createJsonApi(data) {
|
|
6772
|
+
const response = {
|
|
6773
|
+
data: {
|
|
6774
|
+
type: Modules.BlogCategory.name,
|
|
6775
|
+
id: data.id,
|
|
6776
|
+
attributes: {},
|
|
6777
|
+
meta: {},
|
|
6778
|
+
relationships: {}
|
|
6779
|
+
},
|
|
6780
|
+
included: []
|
|
6781
|
+
};
|
|
6782
|
+
if (data.originalLanguage !== void 0) response.data.attributes.originalLanguage = data.originalLanguage;
|
|
6783
|
+
if (data.name !== void 0) response.data.attributes.name = data.name;
|
|
6784
|
+
if (data.slug !== void 0) response.data.attributes.slug = data.slug;
|
|
6785
|
+
if (data.description !== void 0) response.data.attributes.description = data.description;
|
|
6786
|
+
if (data.image !== void 0) response.data.attributes.image = data.image;
|
|
6787
|
+
return response;
|
|
6788
|
+
}
|
|
6789
|
+
};
|
|
6790
|
+
|
|
6791
|
+
// src/features/blog/data/BlogCategoryTranslation.ts
|
|
6792
|
+
var BlogCategoryTranslation = class extends AbstractApiData {
|
|
6793
|
+
static {
|
|
6794
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "BlogCategoryTranslation");
|
|
6795
|
+
}
|
|
6796
|
+
|
|
6797
|
+
|
|
6798
|
+
|
|
6799
|
+
|
|
6800
|
+
|
|
6801
|
+
|
|
6802
|
+
|
|
6803
|
+
|
|
6804
|
+
|
|
6805
|
+
get language() {
|
|
6806
|
+
return _nullishCoalesce(this._language, () => ( ""));
|
|
6807
|
+
}
|
|
6808
|
+
get isOriginal() {
|
|
6809
|
+
return _nullishCoalesce(this._isOriginal, () => ( false));
|
|
6810
|
+
}
|
|
6811
|
+
get source() {
|
|
6812
|
+
return _nullishCoalesce(this._source, () => ( "ai"));
|
|
6813
|
+
}
|
|
6814
|
+
get aiStatus() {
|
|
6815
|
+
return _nullishCoalesce(this._aiStatus, () => ( "pending"));
|
|
6816
|
+
}
|
|
6817
|
+
get name() {
|
|
6818
|
+
return _nullishCoalesce(this._name, () => ( ""));
|
|
6819
|
+
}
|
|
6820
|
+
get slug() {
|
|
6821
|
+
return _nullishCoalesce(this._slug, () => ( ""));
|
|
6822
|
+
}
|
|
6823
|
+
get description() {
|
|
6824
|
+
return this._description;
|
|
6825
|
+
}
|
|
6826
|
+
get translatedAt() {
|
|
6827
|
+
return this._translatedAt;
|
|
6828
|
+
}
|
|
6829
|
+
get category() {
|
|
6830
|
+
return this._category;
|
|
6831
|
+
}
|
|
6832
|
+
rehydrate(data) {
|
|
6833
|
+
super.rehydrate(data);
|
|
6834
|
+
const attributes = _nullishCoalesce(data.jsonApi.attributes, () => ( {}));
|
|
6835
|
+
this._language = attributes.language;
|
|
6836
|
+
this._isOriginal = attributes.isOriginal === true;
|
|
6837
|
+
this._source = attributes.source;
|
|
6838
|
+
this._aiStatus = attributes.aiStatus;
|
|
6839
|
+
this._name = _nullishCoalesce(attributes.name, () => ( void 0));
|
|
6840
|
+
this._slug = _nullishCoalesce(attributes.slug, () => ( void 0));
|
|
6841
|
+
this._description = _nullishCoalesce(attributes.description, () => ( void 0));
|
|
6842
|
+
this._translatedAt = attributes.translatedAt ? new Date(attributes.translatedAt) : void 0;
|
|
6843
|
+
this._category = this._readIncluded(data, "category", Modules.BlogCategory);
|
|
6844
|
+
return this;
|
|
6845
|
+
}
|
|
6846
|
+
createJsonApi(data) {
|
|
6847
|
+
const response = {
|
|
6848
|
+
data: {
|
|
6849
|
+
type: Modules.BlogCategoryTranslation.name,
|
|
6850
|
+
id: data.id,
|
|
6851
|
+
attributes: {},
|
|
6852
|
+
meta: {},
|
|
6853
|
+
relationships: {}
|
|
6854
|
+
},
|
|
6855
|
+
included: []
|
|
6856
|
+
};
|
|
6857
|
+
if (data.name !== void 0) response.data.attributes.name = data.name;
|
|
6858
|
+
if (data.slug !== void 0) response.data.attributes.slug = data.slug;
|
|
6859
|
+
if (data.description !== void 0) response.data.attributes.description = data.description;
|
|
6860
|
+
return response;
|
|
6861
|
+
}
|
|
6862
|
+
};
|
|
6863
|
+
|
|
6864
|
+
// src/features/blog/data/BlogPost.ts
|
|
6865
|
+
var BlogPost = class extends AbstractApiData {
|
|
6866
|
+
static {
|
|
6867
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "BlogPost");
|
|
6868
|
+
}
|
|
6869
|
+
|
|
6870
|
+
|
|
6871
|
+
|
|
6872
|
+
|
|
6873
|
+
|
|
6874
|
+
|
|
6875
|
+
|
|
6876
|
+
|
|
6877
|
+
|
|
6878
|
+
|
|
6879
|
+
|
|
6880
|
+
|
|
6881
|
+
|
|
6882
|
+
|
|
6883
|
+
|
|
6884
|
+
|
|
6885
|
+
get status() {
|
|
6886
|
+
return _nullishCoalesce(this._status, () => ( "draft"));
|
|
6887
|
+
}
|
|
6888
|
+
get originalLanguage() {
|
|
6889
|
+
return _nullishCoalesce(this._originalLanguage, () => ( ""));
|
|
6890
|
+
}
|
|
6891
|
+
get coverImage() {
|
|
6892
|
+
return this._coverImage;
|
|
6893
|
+
}
|
|
6894
|
+
get publishedAt() {
|
|
6895
|
+
return this._publishedAt;
|
|
6896
|
+
}
|
|
6897
|
+
get author() {
|
|
6898
|
+
return this._author;
|
|
6899
|
+
}
|
|
6900
|
+
get categories() {
|
|
6901
|
+
return _nullishCoalesce(this._categories, () => ( []));
|
|
6902
|
+
}
|
|
6903
|
+
get translations() {
|
|
6904
|
+
return _nullishCoalesce(this._translations, () => ( []));
|
|
6905
|
+
}
|
|
6906
|
+
get original() {
|
|
6907
|
+
return this.translations.find((translation) => translation.isOriginal);
|
|
6908
|
+
}
|
|
6909
|
+
get language() {
|
|
6910
|
+
return this._language;
|
|
6911
|
+
}
|
|
6912
|
+
get title() {
|
|
6913
|
+
return this._title;
|
|
6914
|
+
}
|
|
6915
|
+
get slug() {
|
|
6916
|
+
return this._slug;
|
|
6917
|
+
}
|
|
6918
|
+
get summary() {
|
|
6919
|
+
return this._summary;
|
|
6920
|
+
}
|
|
6921
|
+
get body() {
|
|
6922
|
+
return _nullishCoalesce(this._body, () => ( []));
|
|
6923
|
+
}
|
|
6924
|
+
get coverImageAlt() {
|
|
6925
|
+
return this._coverImageAlt;
|
|
6926
|
+
}
|
|
6927
|
+
get readingMinutes() {
|
|
6928
|
+
return this._readingMinutes;
|
|
6929
|
+
}
|
|
6930
|
+
get authorName() {
|
|
6931
|
+
return this._authorName;
|
|
6932
|
+
}
|
|
6933
|
+
get categoryIds() {
|
|
6934
|
+
return _nullishCoalesce(this._categoryIds, () => ( []));
|
|
6935
|
+
}
|
|
6936
|
+
rehydrate(data) {
|
|
6937
|
+
super.rehydrate(data);
|
|
6938
|
+
const attributes = _nullishCoalesce(data.jsonApi.attributes, () => ( {}));
|
|
6939
|
+
const meta = _nullishCoalesce(data.jsonApi.meta, () => ( {}));
|
|
6940
|
+
const resolved = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (key) => _nullishCoalesce(_nullishCoalesce(attributes[key], () => ( meta[key])), () => ( void 0)), "resolved");
|
|
6941
|
+
this._status = attributes.status;
|
|
6942
|
+
this._originalLanguage = attributes.originalLanguage;
|
|
6943
|
+
this._coverImage = _nullishCoalesce(attributes.coverImage, () => ( void 0));
|
|
6944
|
+
this._publishedAt = attributes.publishedAt ? new Date(attributes.publishedAt) : void 0;
|
|
6945
|
+
this._language = resolved("language");
|
|
6946
|
+
this._title = resolved("title");
|
|
6947
|
+
this._slug = resolved("slug");
|
|
6948
|
+
this._summary = resolved("summary");
|
|
6949
|
+
const body = resolved("body");
|
|
6950
|
+
this._body = body ? JSON.parse(body) : void 0;
|
|
6951
|
+
this._coverImageAlt = resolved("coverImageAlt");
|
|
6952
|
+
this._readingMinutes = resolved("readingMinutes");
|
|
6953
|
+
this._authorName = resolved("authorName");
|
|
6954
|
+
this._categoryIds = _nullishCoalesce(resolved("categoryIds"), () => ( []));
|
|
6955
|
+
this._author = this._readIncluded(data, "author", Modules.User);
|
|
6956
|
+
this._categories = this._readIncluded(data, "categories", Modules.BlogCategory);
|
|
6957
|
+
this._translations = this._readIncluded(
|
|
6958
|
+
data,
|
|
6959
|
+
"translations",
|
|
6960
|
+
Modules.BlogPostTranslation
|
|
6961
|
+
);
|
|
6962
|
+
return this;
|
|
6963
|
+
}
|
|
6964
|
+
createJsonApi(data) {
|
|
6965
|
+
const response = {
|
|
6966
|
+
data: {
|
|
6967
|
+
type: Modules.BlogPost.name,
|
|
6968
|
+
id: data.id,
|
|
6969
|
+
attributes: {},
|
|
6970
|
+
meta: {},
|
|
6971
|
+
relationships: {}
|
|
6972
|
+
},
|
|
6973
|
+
included: []
|
|
6974
|
+
};
|
|
6975
|
+
if (data.originalLanguage !== void 0) response.data.attributes.originalLanguage = data.originalLanguage;
|
|
6976
|
+
if (data.title !== void 0) response.data.attributes.title = data.title;
|
|
6977
|
+
if (data.slug !== void 0) response.data.attributes.slug = data.slug;
|
|
6978
|
+
if (data.summary !== void 0) response.data.attributes.summary = data.summary;
|
|
6979
|
+
if (data.body !== void 0) response.data.attributes.body = JSON.stringify(data.body);
|
|
6980
|
+
if (data.coverImage !== void 0) response.data.attributes.coverImage = data.coverImage;
|
|
6981
|
+
if (data.coverImageAlt !== void 0) response.data.attributes.coverImageAlt = data.coverImageAlt;
|
|
6982
|
+
if (data.categoryIds !== void 0) {
|
|
6983
|
+
response.data.relationships.categories = {
|
|
6984
|
+
data: data.categoryIds.map((id) => ({ type: Modules.BlogCategory.name, id }))
|
|
6985
|
+
};
|
|
6986
|
+
}
|
|
6987
|
+
return response;
|
|
6988
|
+
}
|
|
6989
|
+
};
|
|
6990
|
+
|
|
6991
|
+
// src/features/blog/data/BlogPostTranslation.ts
|
|
6992
|
+
var BlogPostTranslation = class extends AbstractApiData {
|
|
6993
|
+
static {
|
|
6994
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "BlogPostTranslation");
|
|
6995
|
+
}
|
|
6996
|
+
|
|
6997
|
+
|
|
6998
|
+
|
|
6999
|
+
|
|
7000
|
+
|
|
7001
|
+
|
|
7002
|
+
|
|
7003
|
+
|
|
7004
|
+
|
|
7005
|
+
|
|
7006
|
+
|
|
7007
|
+
|
|
7008
|
+
get language() {
|
|
7009
|
+
return _nullishCoalesce(this._language, () => ( ""));
|
|
7010
|
+
}
|
|
7011
|
+
get isOriginal() {
|
|
7012
|
+
return _nullishCoalesce(this._isOriginal, () => ( false));
|
|
7013
|
+
}
|
|
7014
|
+
get source() {
|
|
7015
|
+
return _nullishCoalesce(this._source, () => ( "ai"));
|
|
7016
|
+
}
|
|
7017
|
+
get aiStatus() {
|
|
7018
|
+
return _nullishCoalesce(this._aiStatus, () => ( "pending"));
|
|
7019
|
+
}
|
|
7020
|
+
get title() {
|
|
7021
|
+
return _nullishCoalesce(this._title, () => ( ""));
|
|
7022
|
+
}
|
|
7023
|
+
get slug() {
|
|
7024
|
+
return _nullishCoalesce(this._slug, () => ( ""));
|
|
7025
|
+
}
|
|
7026
|
+
get summary() {
|
|
7027
|
+
return this._summary;
|
|
7028
|
+
}
|
|
7029
|
+
get body() {
|
|
7030
|
+
return _nullishCoalesce(this._body, () => ( []));
|
|
7031
|
+
}
|
|
7032
|
+
get coverImageAlt() {
|
|
7033
|
+
return this._coverImageAlt;
|
|
7034
|
+
}
|
|
7035
|
+
get readingMinutes() {
|
|
7036
|
+
return _nullishCoalesce(this._readingMinutes, () => ( 1));
|
|
7037
|
+
}
|
|
7038
|
+
get translatedAt() {
|
|
7039
|
+
return this._translatedAt;
|
|
7040
|
+
}
|
|
7041
|
+
get post() {
|
|
7042
|
+
return this._post;
|
|
7043
|
+
}
|
|
7044
|
+
rehydrate(data) {
|
|
7045
|
+
super.rehydrate(data);
|
|
7046
|
+
const attributes = _nullishCoalesce(data.jsonApi.attributes, () => ( {}));
|
|
7047
|
+
this._language = attributes.language;
|
|
7048
|
+
this._isOriginal = attributes.isOriginal === true;
|
|
7049
|
+
this._source = attributes.source;
|
|
7050
|
+
this._aiStatus = attributes.aiStatus;
|
|
7051
|
+
this._title = _nullishCoalesce(attributes.title, () => ( void 0));
|
|
7052
|
+
this._slug = _nullishCoalesce(attributes.slug, () => ( void 0));
|
|
7053
|
+
this._summary = _nullishCoalesce(attributes.summary, () => ( void 0));
|
|
7054
|
+
this._body = attributes.body ? JSON.parse(attributes.body) : void 0;
|
|
7055
|
+
this._coverImageAlt = _nullishCoalesce(attributes.coverImageAlt, () => ( void 0));
|
|
7056
|
+
this._readingMinutes = _nullishCoalesce(attributes.readingMinutes, () => ( void 0));
|
|
7057
|
+
this._translatedAt = attributes.translatedAt ? new Date(attributes.translatedAt) : void 0;
|
|
7058
|
+
this._post = this._readIncluded(data, "post", Modules.BlogPost);
|
|
7059
|
+
return this;
|
|
7060
|
+
}
|
|
7061
|
+
createJsonApi(data) {
|
|
7062
|
+
const response = {
|
|
7063
|
+
data: {
|
|
7064
|
+
type: Modules.BlogPostTranslation.name,
|
|
7065
|
+
id: data.id,
|
|
7066
|
+
attributes: {},
|
|
7067
|
+
meta: {},
|
|
7068
|
+
relationships: {}
|
|
7069
|
+
},
|
|
7070
|
+
included: []
|
|
7071
|
+
};
|
|
7072
|
+
if (data.title !== void 0) response.data.attributes.title = data.title;
|
|
7073
|
+
if (data.slug !== void 0) response.data.attributes.slug = data.slug;
|
|
7074
|
+
if (data.summary !== void 0) response.data.attributes.summary = data.summary;
|
|
7075
|
+
if (data.body !== void 0) response.data.attributes.body = JSON.stringify(data.body);
|
|
7076
|
+
if (data.coverImageAlt !== void 0) response.data.attributes.coverImageAlt = data.coverImageAlt;
|
|
7077
|
+
return response;
|
|
7078
|
+
}
|
|
7079
|
+
};
|
|
7080
|
+
|
|
7081
|
+
// src/features/blog/types/blog.constants.ts
|
|
7082
|
+
var BLOG_LIST_LAYOUTS = ["featured", "column", "rail"];
|
|
7083
|
+
var BLOG_POST_STATUSES = ["draft", "published", "unpublished"];
|
|
7084
|
+
var BLOG_TRANSLATION_SOURCES = ["original", "ai", "manual"];
|
|
7085
|
+
var BLOG_SETTINGS_ID = "5f3c2a9e-8d41-4b7a-9c2e-1a6b0d4e7f13";
|
|
7086
|
+
var BLOG_MODULE_ID = "c1d0e6a2-4b8f-4f3e-9a7d-2e5b8c6f1a90";
|
|
7087
|
+
var BLOG_UPLOAD_ROOT = "blog";
|
|
7088
|
+
var BLOG_POST_UPLOAD_PREFIX = `${BLOG_UPLOAD_ROOT}/blog-posts`;
|
|
7089
|
+
var BLOG_CATEGORY_UPLOAD_PREFIX = `${BLOG_UPLOAD_ROOT}/blog-categories`;
|
|
7090
|
+
var BLOG_PUBLIC_PREFIX = "public";
|
|
7091
|
+
var BLOG_ACTION = {
|
|
7092
|
+
publish: "publish",
|
|
7093
|
+
unpublish: "unpublish",
|
|
7094
|
+
retranslate: "retranslate",
|
|
7095
|
+
related: "related"
|
|
7096
|
+
};
|
|
7097
|
+
|
|
7098
|
+
// src/features/blog/data/BlogSettings.ts
|
|
7099
|
+
var BlogSettings = class extends AbstractApiData {
|
|
7100
|
+
static {
|
|
7101
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "BlogSettings");
|
|
7102
|
+
}
|
|
7103
|
+
|
|
7104
|
+
get listLayout() {
|
|
7105
|
+
return _nullishCoalesce(this._listLayout, () => ( "featured"));
|
|
7106
|
+
}
|
|
7107
|
+
rehydrate(data) {
|
|
7108
|
+
super.rehydrate(data);
|
|
7109
|
+
const listLayout = _optionalChain([data, 'access', _158 => _158.jsonApi, 'access', _159 => _159.attributes, 'optionalAccess', _160 => _160.listLayout]);
|
|
7110
|
+
this._listLayout = BLOG_LIST_LAYOUTS.includes(listLayout) ? listLayout : void 0;
|
|
7111
|
+
return this;
|
|
7112
|
+
}
|
|
7113
|
+
createJsonApi(data) {
|
|
7114
|
+
const response = {
|
|
7115
|
+
data: {
|
|
7116
|
+
type: Modules.BlogSettings.name,
|
|
7117
|
+
id: data.id,
|
|
7118
|
+
attributes: {},
|
|
7119
|
+
meta: {},
|
|
7120
|
+
relationships: {}
|
|
7121
|
+
},
|
|
7122
|
+
included: []
|
|
7123
|
+
};
|
|
7124
|
+
response.data.attributes.listLayout = data.listLayout;
|
|
7125
|
+
return response;
|
|
7126
|
+
}
|
|
7127
|
+
};
|
|
7128
|
+
|
|
7129
|
+
// src/features/blog/BlogModules.ts
|
|
7130
|
+
var BlogPostModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
7131
|
+
moduleId: BLOG_MODULE_ID,
|
|
7132
|
+
pageUrl: "/administration/blog",
|
|
7133
|
+
name: "blog-posts",
|
|
7134
|
+
model: BlogPost,
|
|
7135
|
+
icon: _lucidereact.NewspaperIcon
|
|
7136
|
+
}), "BlogPostModule");
|
|
7137
|
+
var BlogPostTranslationModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
7138
|
+
moduleId: BLOG_MODULE_ID,
|
|
7139
|
+
name: "blog-post-translations",
|
|
7140
|
+
model: BlogPostTranslation,
|
|
7141
|
+
icon: _lucidereact.NewspaperIcon
|
|
7142
|
+
}), "BlogPostTranslationModule");
|
|
7143
|
+
var BlogCategoryModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
7144
|
+
moduleId: BLOG_MODULE_ID,
|
|
7145
|
+
name: "blog-categories",
|
|
7146
|
+
model: BlogCategory,
|
|
7147
|
+
icon: _lucidereact.NewspaperIcon
|
|
7148
|
+
}), "BlogCategoryModule");
|
|
7149
|
+
var BlogCategoryTranslationModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
7150
|
+
moduleId: BLOG_MODULE_ID,
|
|
7151
|
+
name: "blog-category-translations",
|
|
7152
|
+
model: BlogCategoryTranslation,
|
|
7153
|
+
icon: _lucidereact.NewspaperIcon
|
|
7154
|
+
}), "BlogCategoryTranslationModule");
|
|
7155
|
+
var BlogSettingsModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
7156
|
+
moduleId: BLOG_MODULE_ID,
|
|
7157
|
+
name: "blog-settings",
|
|
7158
|
+
model: BlogSettings,
|
|
7159
|
+
icon: _lucidereact.NewspaperIcon
|
|
7160
|
+
}), "BlogSettingsModule");
|
|
7161
|
+
|
|
7162
|
+
// src/features/blog/data/BlogPostService.ts
|
|
7163
|
+
var BlogPostService = class extends AbstractService {
|
|
7164
|
+
static {
|
|
7165
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "BlogPostService");
|
|
7166
|
+
}
|
|
7167
|
+
static async findMany(params = {}) {
|
|
7168
|
+
const endpoint = new EndpointCreator({ endpoint: Modules.BlogPost });
|
|
7169
|
+
if (params.search) endpoint.addAdditionalParam("search", params.search);
|
|
7170
|
+
return this.callApi({
|
|
7171
|
+
type: Modules.BlogPost,
|
|
7172
|
+
method: "GET" /* GET */,
|
|
7173
|
+
endpoint: endpoint.generate(),
|
|
7174
|
+
next: params.next
|
|
7175
|
+
});
|
|
7176
|
+
}
|
|
7177
|
+
static async findOne(params) {
|
|
7178
|
+
return this.callApi({
|
|
7179
|
+
type: Modules.BlogPost,
|
|
7180
|
+
method: "GET" /* GET */,
|
|
7181
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogPost, id: params.id }).generate()
|
|
7182
|
+
});
|
|
7183
|
+
}
|
|
7184
|
+
static async create(params) {
|
|
7185
|
+
return this.callApi({
|
|
7186
|
+
type: Modules.BlogPost,
|
|
7187
|
+
method: "POST" /* POST */,
|
|
7188
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogPost }).generate(),
|
|
7189
|
+
input: params
|
|
7190
|
+
});
|
|
7191
|
+
}
|
|
7192
|
+
static async update(params) {
|
|
7193
|
+
return this.callApi({
|
|
7194
|
+
type: Modules.BlogPost,
|
|
7195
|
+
method: "PUT" /* PUT */,
|
|
7196
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogPost, id: params.id }).generate(),
|
|
7197
|
+
input: params
|
|
7198
|
+
});
|
|
7199
|
+
}
|
|
7200
|
+
static async delete(params) {
|
|
7201
|
+
await this.callApi({
|
|
7202
|
+
type: Modules.BlogPost,
|
|
7203
|
+
method: "DELETE" /* DELETE */,
|
|
7204
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogPost, id: params.id }).generate()
|
|
7205
|
+
});
|
|
7206
|
+
}
|
|
7207
|
+
/**
|
|
7208
|
+
* POST blog-posts/:id/publish. Sends no body; replies with the post.
|
|
7209
|
+
*/
|
|
7210
|
+
static async publish(params) {
|
|
7211
|
+
return this.callApi({
|
|
7212
|
+
type: Modules.BlogPost,
|
|
7213
|
+
method: "POST" /* POST */,
|
|
7214
|
+
endpoint: new EndpointCreator({
|
|
7215
|
+
endpoint: Modules.BlogPost,
|
|
7216
|
+
id: params.id,
|
|
7217
|
+
childEndpoint: BLOG_ACTION.publish
|
|
7218
|
+
}).generate()
|
|
7219
|
+
});
|
|
7220
|
+
}
|
|
7221
|
+
/**
|
|
7222
|
+
* POST blog-posts/:id/unpublish. Sends no body; replies with the post.
|
|
7223
|
+
*/
|
|
7224
|
+
static async unpublish(params) {
|
|
7225
|
+
return this.callApi({
|
|
7226
|
+
type: Modules.BlogPost,
|
|
7227
|
+
method: "POST" /* POST */,
|
|
7228
|
+
endpoint: new EndpointCreator({
|
|
7229
|
+
endpoint: Modules.BlogPost,
|
|
7230
|
+
id: params.id,
|
|
7231
|
+
childEndpoint: BLOG_ACTION.unpublish
|
|
7232
|
+
}).generate()
|
|
7233
|
+
});
|
|
7234
|
+
}
|
|
7235
|
+
};
|
|
7236
|
+
|
|
7237
|
+
// src/features/blog/data/BlogPostTranslationService.ts
|
|
7238
|
+
var BlogPostTranslationService = class extends AbstractService {
|
|
7239
|
+
static {
|
|
7240
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "BlogPostTranslationService");
|
|
7241
|
+
}
|
|
7242
|
+
static async update(params) {
|
|
7243
|
+
return this.callApi({
|
|
7244
|
+
type: Modules.BlogPostTranslation,
|
|
7245
|
+
method: "PUT" /* PUT */,
|
|
7246
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogPostTranslation, id: params.id }).generate(),
|
|
7247
|
+
input: params
|
|
7248
|
+
});
|
|
7249
|
+
}
|
|
7250
|
+
/**
|
|
7251
|
+
* POST blog-post-translations/:id/retranslate. Re-queues this one language
|
|
7252
|
+
* from the current original. Replies 204.
|
|
7253
|
+
*/
|
|
7254
|
+
static async retranslate(params) {
|
|
7255
|
+
await this.callApi({
|
|
7256
|
+
type: Modules.BlogPostTranslation,
|
|
7257
|
+
method: "POST" /* POST */,
|
|
7258
|
+
endpoint: new EndpointCreator({
|
|
7259
|
+
endpoint: Modules.BlogPostTranslation,
|
|
7260
|
+
id: params.id,
|
|
7261
|
+
childEndpoint: BLOG_ACTION.retranslate
|
|
7262
|
+
}).generate()
|
|
7263
|
+
});
|
|
7264
|
+
}
|
|
7265
|
+
};
|
|
7266
|
+
|
|
7267
|
+
// src/features/blog/data/BlogCategoryService.ts
|
|
7268
|
+
var BlogCategoryService = class extends AbstractService {
|
|
7269
|
+
static {
|
|
7270
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "BlogCategoryService");
|
|
7271
|
+
}
|
|
7272
|
+
static async findMany(params = {}) {
|
|
7273
|
+
const endpoint = new EndpointCreator({ endpoint: Modules.BlogCategory });
|
|
7274
|
+
if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
|
|
7275
|
+
if (params.search) endpoint.addAdditionalParam("search", params.search);
|
|
7276
|
+
return this.callApi({
|
|
7277
|
+
type: Modules.BlogCategory,
|
|
7278
|
+
method: "GET" /* GET */,
|
|
7279
|
+
endpoint: endpoint.generate(),
|
|
7280
|
+
next: params.next
|
|
7281
|
+
});
|
|
7282
|
+
}
|
|
7283
|
+
static async findOne(params) {
|
|
7284
|
+
return this.callApi({
|
|
7285
|
+
type: Modules.BlogCategory,
|
|
7286
|
+
method: "GET" /* GET */,
|
|
7287
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogCategory, id: params.id }).generate()
|
|
7288
|
+
});
|
|
7289
|
+
}
|
|
7290
|
+
static async create(params) {
|
|
7291
|
+
return this.callApi({
|
|
7292
|
+
type: Modules.BlogCategory,
|
|
7293
|
+
method: "POST" /* POST */,
|
|
7294
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogCategory }).generate(),
|
|
7295
|
+
input: params
|
|
7296
|
+
});
|
|
7297
|
+
}
|
|
7298
|
+
static async update(params) {
|
|
7299
|
+
return this.callApi({
|
|
7300
|
+
type: Modules.BlogCategory,
|
|
7301
|
+
method: "PUT" /* PUT */,
|
|
7302
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogCategory, id: params.id }).generate(),
|
|
7303
|
+
input: params
|
|
7304
|
+
});
|
|
7305
|
+
}
|
|
7306
|
+
static async delete(params) {
|
|
7307
|
+
await this.callApi({
|
|
7308
|
+
type: Modules.BlogCategory,
|
|
7309
|
+
method: "DELETE" /* DELETE */,
|
|
7310
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogCategory, id: params.id }).generate()
|
|
7311
|
+
});
|
|
7312
|
+
}
|
|
7313
|
+
};
|
|
7314
|
+
|
|
7315
|
+
// src/features/blog/data/BlogCategoryTranslationService.ts
|
|
7316
|
+
var BlogCategoryTranslationService = class extends AbstractService {
|
|
7317
|
+
static {
|
|
7318
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "BlogCategoryTranslationService");
|
|
7319
|
+
}
|
|
7320
|
+
static async update(params) {
|
|
7321
|
+
return this.callApi({
|
|
7322
|
+
type: Modules.BlogCategoryTranslation,
|
|
7323
|
+
method: "PUT" /* PUT */,
|
|
7324
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogCategoryTranslation, id: params.id }).generate(),
|
|
7325
|
+
input: params
|
|
7326
|
+
});
|
|
7327
|
+
}
|
|
7328
|
+
/**
|
|
7329
|
+
* POST blog-category-translations/:id/retranslate. Re-queues this one
|
|
7330
|
+
* language from the current original. Replies 204.
|
|
7331
|
+
*/
|
|
7332
|
+
static async retranslate(params) {
|
|
7333
|
+
await this.callApi({
|
|
7334
|
+
type: Modules.BlogCategoryTranslation,
|
|
7335
|
+
method: "POST" /* POST */,
|
|
7336
|
+
endpoint: new EndpointCreator({
|
|
7337
|
+
endpoint: Modules.BlogCategoryTranslation,
|
|
7338
|
+
id: params.id,
|
|
7339
|
+
childEndpoint: BLOG_ACTION.retranslate
|
|
7340
|
+
}).generate()
|
|
7341
|
+
});
|
|
7342
|
+
}
|
|
7343
|
+
};
|
|
7344
|
+
|
|
7345
|
+
// src/features/blog/data/BlogSettingsService.ts
|
|
7346
|
+
var BlogSettingsService = class extends AbstractService {
|
|
7347
|
+
static {
|
|
7348
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "BlogSettingsService");
|
|
7349
|
+
}
|
|
7350
|
+
/**
|
|
7351
|
+
* GET blog-settings: the stored singleton, or the API's default.
|
|
7352
|
+
*/
|
|
7353
|
+
static async get() {
|
|
7354
|
+
return this.callApi({
|
|
7355
|
+
type: Modules.BlogSettings,
|
|
7356
|
+
method: "GET" /* GET */,
|
|
7357
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogSettings }).generate()
|
|
7358
|
+
});
|
|
7359
|
+
}
|
|
7360
|
+
static async save(params) {
|
|
7361
|
+
return this.callApi({
|
|
7362
|
+
type: Modules.BlogSettings,
|
|
7363
|
+
method: "PUT" /* PUT */,
|
|
7364
|
+
endpoint: new EndpointCreator({ endpoint: Modules.BlogSettings, id: params.id }).generate(),
|
|
7365
|
+
input: params
|
|
7366
|
+
});
|
|
7367
|
+
}
|
|
7368
|
+
};
|
|
7369
|
+
|
|
7370
|
+
// src/features/blog/data/BlogPostFields.ts
|
|
7371
|
+
var BlogPostFields = /* @__PURE__ */ ((BlogPostFields2) => {
|
|
7372
|
+
BlogPostFields2["title"] = "title";
|
|
7373
|
+
BlogPostFields2["status"] = "status";
|
|
7374
|
+
BlogPostFields2["categories"] = "categories";
|
|
7375
|
+
BlogPostFields2["publishedAt"] = "publishedAt";
|
|
7376
|
+
BlogPostFields2["languages"] = "languages";
|
|
7377
|
+
return BlogPostFields2;
|
|
7378
|
+
})(BlogPostFields || {});
|
|
7379
|
+
|
|
7380
|
+
// src/features/blog/data/BlogCategoryFields.ts
|
|
7381
|
+
var BlogCategoryFields = /* @__PURE__ */ ((BlogCategoryFields2) => {
|
|
7382
|
+
BlogCategoryFields2["name"] = "name";
|
|
7383
|
+
BlogCategoryFields2["languages"] = "languages";
|
|
7384
|
+
return BlogCategoryFields2;
|
|
7385
|
+
})(BlogCategoryFields || {});
|
|
7386
|
+
|
|
6168
7387
|
// src/features/handbook/HandbookPageModule.ts
|
|
6169
7388
|
|
|
6170
7389
|
|
|
@@ -6384,7 +7603,7 @@ var HandbookSectionModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
6384
7603
|
|
|
6385
7604
|
// src/features/handbook/data/HandbookThreadMessage.ts
|
|
6386
7605
|
|
|
6387
|
-
var HandbookThreadMessage = (
|
|
7606
|
+
var HandbookThreadMessage = (_class21 = class _HandbookThreadMessage extends AbstractApiData {constructor(...args18) { super(...args18); _class21.prototype.__init42.call(this); }
|
|
6388
7607
|
static {
|
|
6389
7608
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "HandbookThreadMessage");
|
|
6390
7609
|
}
|
|
@@ -6392,7 +7611,7 @@ var HandbookThreadMessage = (_class19 = class _HandbookThreadMessage extends Abs
|
|
|
6392
7611
|
|
|
6393
7612
|
|
|
6394
7613
|
|
|
6395
|
-
|
|
7614
|
+
__init42() {this._isOptimistic = false}
|
|
6396
7615
|
get role() {
|
|
6397
7616
|
return _nullishCoalesce(this._role, () => ( "assistant"));
|
|
6398
7617
|
}
|
|
@@ -6490,7 +7709,7 @@ var HandbookThreadMessage = (_class19 = class _HandbookThreadMessage extends Abs
|
|
|
6490
7709
|
message._isOptimistic = _nullishCoalesce(params.isOptimistic, () => ( false));
|
|
6491
7710
|
return message;
|
|
6492
7711
|
}
|
|
6493
|
-
},
|
|
7712
|
+
}, _class21);
|
|
6494
7713
|
|
|
6495
7714
|
// src/features/handbook/HandbookThreadMessageModule.ts
|
|
6496
7715
|
var HandbookThreadMessageModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
@@ -6544,7 +7763,7 @@ var HandbookThread = class extends AbstractApiData {
|
|
|
6544
7763
|
super.rehydrate(data);
|
|
6545
7764
|
const attributes = _nullishCoalesce(data.jsonApi.attributes, () => ( {}));
|
|
6546
7765
|
this._title = attributes.title;
|
|
6547
|
-
const fromMeta = _optionalChain([data, 'access',
|
|
7766
|
+
const fromMeta = _optionalChain([data, 'access', _161 => _161.jsonApi, 'access', _162 => _162.meta, 'optionalAccess', _163 => _163.messageCount]);
|
|
6548
7767
|
this._messageCount = typeof fromMeta === "number" ? fromMeta : typeof attributes.messageCount === "number" ? attributes.messageCount : 0;
|
|
6549
7768
|
const messages = this._readIncluded(
|
|
6550
7769
|
data,
|
|
@@ -6667,9 +7886,9 @@ var HandbookPageService = class extends AbstractService {
|
|
|
6667
7886
|
const endpoint = new EndpointCreator({ endpoint: Modules.HandbookPage });
|
|
6668
7887
|
if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
|
|
6669
7888
|
if (params.search) endpoint.addAdditionalParam("search", params.search);
|
|
6670
|
-
if (_optionalChain([Modules, 'access',
|
|
7889
|
+
if (_optionalChain([Modules, 'access', _164 => _164.HandbookPage, 'access', _165 => _165.inclusions, 'optionalAccess', _166 => _166.lists, 'optionalAccess', _167 => _167.fields]))
|
|
6671
7890
|
endpoint.limitToFields(Modules.HandbookPage.inclusions.lists.fields);
|
|
6672
|
-
if (_optionalChain([Modules, 'access',
|
|
7891
|
+
if (_optionalChain([Modules, 'access', _168 => _168.HandbookPage, 'access', _169 => _169.inclusions, 'optionalAccess', _170 => _170.lists, 'optionalAccess', _171 => _171.types]))
|
|
6673
7892
|
endpoint.limitToType(Modules.HandbookPage.inclusions.lists.types);
|
|
6674
7893
|
return this.callApi({
|
|
6675
7894
|
type: Modules.HandbookPage,
|
|
@@ -6718,7 +7937,7 @@ var HandbookSectionService = class extends AbstractService {
|
|
|
6718
7937
|
static async findMany() {
|
|
6719
7938
|
const endpoint = new EndpointCreator({ endpoint: Modules.HandbookSection });
|
|
6720
7939
|
endpoint.addAdditionalParam("fetchAll", "true");
|
|
6721
|
-
if (_optionalChain([Modules, 'access',
|
|
7940
|
+
if (_optionalChain([Modules, 'access', _172 => _172.HandbookSection, 'access', _173 => _173.inclusions, 'optionalAccess', _174 => _174.lists, 'optionalAccess', _175 => _175.fields]))
|
|
6722
7941
|
endpoint.limitToFields(Modules.HandbookSection.inclusions.lists.fields);
|
|
6723
7942
|
return this.callApi({
|
|
6724
7943
|
type: Modules.HandbookSection,
|
|
@@ -6775,9 +7994,9 @@ var HandbookThreadService = class extends AbstractService {
|
|
|
6775
7994
|
const endpoint = new EndpointCreator({ endpoint: Modules.HandbookThread });
|
|
6776
7995
|
if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
|
|
6777
7996
|
if (params.search) endpoint.addAdditionalParam("search", params.search);
|
|
6778
|
-
if (_optionalChain([Modules, 'access',
|
|
7997
|
+
if (_optionalChain([Modules, 'access', _176 => _176.HandbookThread, 'access', _177 => _177.inclusions, 'optionalAccess', _178 => _178.lists, 'optionalAccess', _179 => _179.fields]))
|
|
6779
7998
|
endpoint.limitToFields(Modules.HandbookThread.inclusions.lists.fields);
|
|
6780
|
-
if (_optionalChain([Modules, 'access',
|
|
7999
|
+
if (_optionalChain([Modules, 'access', _180 => _180.HandbookThread, 'access', _181 => _181.inclusions, 'optionalAccess', _182 => _182.lists, 'optionalAccess', _183 => _183.types]))
|
|
6781
8000
|
endpoint.limitToType(Modules.HandbookThread.inclusions.lists.types);
|
|
6782
8001
|
return this.callApi({
|
|
6783
8002
|
type: Modules.HandbookThread,
|
|
@@ -6864,15 +8083,15 @@ var Assistant = class extends AbstractApiData {
|
|
|
6864
8083
|
}
|
|
6865
8084
|
rehydrate(data) {
|
|
6866
8085
|
super.rehydrate(data);
|
|
6867
|
-
this._title = _optionalChain([data, 'access',
|
|
6868
|
-
this._engine = _optionalChain([data, 'access',
|
|
6869
|
-
const fromMeta = _optionalChain([data, 'access',
|
|
6870
|
-
const fromAttrs = _optionalChain([data, 'access',
|
|
8086
|
+
this._title = _optionalChain([data, 'access', _184 => _184.jsonApi, 'access', _185 => _185.attributes, 'optionalAccess', _186 => _186.title]);
|
|
8087
|
+
this._engine = _optionalChain([data, 'access', _187 => _187.jsonApi, 'access', _188 => _188.attributes, 'optionalAccess', _189 => _189.engine]);
|
|
8088
|
+
const fromMeta = _optionalChain([data, 'access', _190 => _190.jsonApi, 'access', _191 => _191.meta, 'optionalAccess', _192 => _192.messageCount]);
|
|
8089
|
+
const fromAttrs = _optionalChain([data, 'access', _193 => _193.jsonApi, 'access', _194 => _194.attributes, 'optionalAccess', _195 => _195.messageCount]);
|
|
6871
8090
|
this._messageCount = typeof fromMeta === "number" ? fromMeta : typeof fromAttrs === "number" ? fromAttrs : 0;
|
|
6872
|
-
const contentLinkage = _optionalChain([data, 'access',
|
|
8091
|
+
const contentLinkage = _optionalChain([data, 'access', _196 => _196.jsonApi, 'access', _197 => _197.relationships, 'optionalAccess', _198 => _198.content, 'optionalAccess', _199 => _199.data]);
|
|
6873
8092
|
const boundContent = Array.isArray(contentLinkage) ? contentLinkage[0] : contentLinkage;
|
|
6874
|
-
this._boundContentType = _optionalChain([boundContent, 'optionalAccess',
|
|
6875
|
-
this._boundContentId = _optionalChain([boundContent, 'optionalAccess',
|
|
8093
|
+
this._boundContentType = _optionalChain([boundContent, 'optionalAccess', _200 => _200.type]);
|
|
8094
|
+
this._boundContentId = _optionalChain([boundContent, 'optionalAccess', _201 => _201.id]);
|
|
6876
8095
|
return this;
|
|
6877
8096
|
}
|
|
6878
8097
|
createJsonApi(data) {
|
|
@@ -6930,7 +8149,7 @@ function resolveReferenceableModules() {
|
|
|
6930
8149
|
_chunk7QVYU63Ejs.__name.call(void 0, resolveReferenceableModules, "resolveReferenceableModules");
|
|
6931
8150
|
|
|
6932
8151
|
// src/features/assistant-message/data/AssistantMessage.ts
|
|
6933
|
-
var AssistantMessage = (
|
|
8152
|
+
var AssistantMessage = (_class22 = class _AssistantMessage extends AbstractApiData {constructor(...args19) { super(...args19); _class22.prototype.__init43.call(this); }
|
|
6934
8153
|
static {
|
|
6935
8154
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AssistantMessage");
|
|
6936
8155
|
}
|
|
@@ -6942,7 +8161,7 @@ var AssistantMessage = (_class20 = class _AssistantMessage extends AbstractApiDa
|
|
|
6942
8161
|
|
|
6943
8162
|
|
|
6944
8163
|
|
|
6945
|
-
|
|
8164
|
+
__init43() {this._isOptimistic = false}
|
|
6946
8165
|
|
|
6947
8166
|
|
|
6948
8167
|
get role() {
|
|
@@ -6988,11 +8207,11 @@ var AssistantMessage = (_class20 = class _AssistantMessage extends AbstractApiDa
|
|
|
6988
8207
|
this._inputTokens = attrs.inputTokens;
|
|
6989
8208
|
this._outputTokens = attrs.outputTokens;
|
|
6990
8209
|
this._messageType = attrs.messageType;
|
|
6991
|
-
const actionRelationship = _optionalChain([data, 'access',
|
|
6992
|
-
this._actionId = Array.isArray(actionRelationship) ? _optionalChain([actionRelationship, 'access',
|
|
8210
|
+
const actionRelationship = _optionalChain([data, 'access', _202 => _202.jsonApi, 'access', _203 => _203.relationships, 'optionalAccess', _204 => _204.action, 'optionalAccess', _205 => _205.data]);
|
|
8211
|
+
this._actionId = Array.isArray(actionRelationship) ? _optionalChain([actionRelationship, 'access', _206 => _206[0], 'optionalAccess', _207 => _207.id]) : _optionalChain([actionRelationship, 'optionalAccess', _208 => _208.id]);
|
|
6993
8212
|
const refs = this._readIncludedPolymorphic(data, "references", resolveReferenceableModules());
|
|
6994
8213
|
this._references = Array.isArray(refs) ? refs : refs ? [refs] : [];
|
|
6995
|
-
if (_optionalChain([data, 'access',
|
|
8214
|
+
if (_optionalChain([data, 'access', _209 => _209.jsonApi, 'access', _210 => _210.relationships, 'optionalAccess', _211 => _211.citations, 'optionalAccess', _212 => _212.data])) {
|
|
6996
8215
|
const citations = this._readIncludedWithMeta(
|
|
6997
8216
|
data,
|
|
6998
8217
|
"citations",
|
|
@@ -7079,7 +8298,7 @@ var AssistantMessage = (_class20 = class _AssistantMessage extends AbstractApiDa
|
|
|
7079
8298
|
msg._isOptimistic = _nullishCoalesce(params.isOptimistic, () => ( false));
|
|
7080
8299
|
return msg;
|
|
7081
8300
|
}
|
|
7082
|
-
},
|
|
8301
|
+
}, _class22);
|
|
7083
8302
|
|
|
7084
8303
|
// src/features/assistant/data/AssistantService.ts
|
|
7085
8304
|
var AssistantService = class extends AbstractService {
|
|
@@ -7248,9 +8467,9 @@ var AssistantMessageService = class extends AbstractService {
|
|
|
7248
8467
|
id: params.assistantId,
|
|
7249
8468
|
childEndpoint: Modules.AssistantMessage
|
|
7250
8469
|
});
|
|
7251
|
-
if (_optionalChain([Modules, 'access',
|
|
8470
|
+
if (_optionalChain([Modules, 'access', _213 => _213.AssistantMessage, 'access', _214 => _214.inclusions, 'optionalAccess', _215 => _215.lists, 'optionalAccess', _216 => _216.fields]))
|
|
7252
8471
|
endpoint.limitToFields(Modules.AssistantMessage.inclusions.lists.fields);
|
|
7253
|
-
if (_optionalChain([Modules, 'access',
|
|
8472
|
+
if (_optionalChain([Modules, 'access', _217 => _217.AssistantMessage, 'access', _218 => _218.inclusions, 'optionalAccess', _219 => _219.lists, 'optionalAccess', _220 => _220.types]))
|
|
7254
8473
|
endpoint.limitToType(Modules.AssistantMessage.inclusions.lists.types);
|
|
7255
8474
|
return this.callApi({
|
|
7256
8475
|
type: Modules.AssistantMessage,
|
|
@@ -7264,9 +8483,9 @@ var AssistantMessageService = class extends AbstractService {
|
|
|
7264
8483
|
endpoint: Modules.AssistantMessage,
|
|
7265
8484
|
id: params.id
|
|
7266
8485
|
});
|
|
7267
|
-
if (_optionalChain([Modules, 'access',
|
|
8486
|
+
if (_optionalChain([Modules, 'access', _221 => _221.AssistantMessage, 'access', _222 => _222.inclusions, 'optionalAccess', _223 => _223.lists, 'optionalAccess', _224 => _224.fields]))
|
|
7268
8487
|
endpoint.limitToFields(Modules.AssistantMessage.inclusions.lists.fields);
|
|
7269
|
-
if (_optionalChain([Modules, 'access',
|
|
8488
|
+
if (_optionalChain([Modules, 'access', _225 => _225.AssistantMessage, 'access', _226 => _226.inclusions, 'optionalAccess', _227 => _227.lists, 'optionalAccess', _228 => _228.types]))
|
|
7270
8489
|
endpoint.limitToType(Modules.AssistantMessage.inclusions.lists.types);
|
|
7271
8490
|
return this.callApi({
|
|
7272
8491
|
type: Modules.AssistantMessage,
|
|
@@ -7472,13 +8691,13 @@ var ChunkModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory)
|
|
|
7472
8691
|
}), "ChunkModule");
|
|
7473
8692
|
|
|
7474
8693
|
// src/features/feature/data/feature.ts
|
|
7475
|
-
var Feature = (
|
|
8694
|
+
var Feature = (_class23 = class extends AbstractApiData {constructor(...args20) { super(...args20); _class23.prototype.__init44.call(this); }
|
|
7476
8695
|
static {
|
|
7477
8696
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "Feature");
|
|
7478
8697
|
}
|
|
7479
8698
|
|
|
7480
8699
|
|
|
7481
|
-
|
|
8700
|
+
__init44() {this._modules = []}
|
|
7482
8701
|
get name() {
|
|
7483
8702
|
return _nullishCoalesce(this._name, () => ( ""));
|
|
7484
8703
|
}
|
|
@@ -7495,7 +8714,7 @@ var Feature = (_class21 = class extends AbstractApiData {constructor(...args18)
|
|
|
7495
8714
|
this._modules = this._readIncluded(data, `modules`, Modules.Module);
|
|
7496
8715
|
return this;
|
|
7497
8716
|
}
|
|
7498
|
-
},
|
|
8717
|
+
}, _class23);
|
|
7499
8718
|
|
|
7500
8719
|
// src/features/feature/data/feature.service.ts
|
|
7501
8720
|
var FeatureService = class extends AbstractService {
|
|
@@ -7591,10 +8810,10 @@ var Notification = class extends AbstractApiData {
|
|
|
7591
8810
|
this._message = data.jsonApi.attributes.message;
|
|
7592
8811
|
this._actionUrl = data.jsonApi.attributes.actionUrl;
|
|
7593
8812
|
const rels = _nullishCoalesce(data.jsonApi.relationships, () => ( {}));
|
|
7594
|
-
const actorType = _optionalChain([rels, 'access',
|
|
8813
|
+
const actorType = _optionalChain([rels, 'access', _229 => _229.actor, 'optionalAccess', _230 => _230.data, 'optionalAccess', _231 => _231.type]);
|
|
7595
8814
|
this._actor = actorType ? this._readIncluded(data, "actor", Modules.findByName(actorType)) : void 0;
|
|
7596
|
-
const subjectName = Object.keys(rels).find((name) => name !== "actor" && _optionalChain([rels, 'access',
|
|
7597
|
-
const subjectType = subjectName ? _optionalChain([rels, 'access',
|
|
8815
|
+
const subjectName = Object.keys(rels).find((name) => name !== "actor" && _optionalChain([rels, 'access', _232 => _232[name], 'optionalAccess', _233 => _233.data, 'optionalAccess', _234 => _234.type]));
|
|
8816
|
+
const subjectType = subjectName ? _optionalChain([rels, 'access', _235 => _235[subjectName], 'optionalAccess', _236 => _236.data, 'optionalAccess', _237 => _237.type]) : void 0;
|
|
7598
8817
|
this._subject = subjectName && subjectType ? this._readIncluded(data, subjectName, Modules.findByName(subjectType)) : void 0;
|
|
7599
8818
|
return this;
|
|
7600
8819
|
}
|
|
@@ -7946,6 +9165,20 @@ var S3Service = class extends AbstractService {
|
|
|
7946
9165
|
if (params.isPublic) endpoint.addAdditionalParam("isPublic", "true");
|
|
7947
9166
|
return this.callApi({ type: Modules.S3, method: "GET" /* GET */, endpoint: endpoint.generate() });
|
|
7948
9167
|
}
|
|
9168
|
+
/**
|
|
9169
|
+
* Presigns `key` and PUTs `file` to the presigned S3 URL. The PUT goes straight
|
|
9170
|
+
* to object storage (not the JSON:API backend), so it cannot use callApi.
|
|
9171
|
+
* Throws when the upload is rejected.
|
|
9172
|
+
*/
|
|
9173
|
+
static async upload(params) {
|
|
9174
|
+
const s3 = await this.getPreSignedUrl({
|
|
9175
|
+
key: params.key,
|
|
9176
|
+
contentType: params.contentType,
|
|
9177
|
+
isPublic: params.isPublic
|
|
9178
|
+
});
|
|
9179
|
+
const response = await fetch(s3.url, { method: "PUT", headers: s3.headers, body: params.file });
|
|
9180
|
+
if (!response.ok) throw new Error(`S3 upload failed: ${response.status}`);
|
|
9181
|
+
}
|
|
7949
9182
|
static async getSignedUrl(params) {
|
|
7950
9183
|
const endpoint = new EndpointCreator({ endpoint: Modules.S3, id: "sign" }).addAdditionalParam("key", params.key);
|
|
7951
9184
|
if (params.isPublic) endpoint.addAdditionalParam("isPublic", "true");
|
|
@@ -7961,7 +9194,7 @@ var S3Service = class extends AbstractService {
|
|
|
7961
9194
|
};
|
|
7962
9195
|
|
|
7963
9196
|
// src/features/user/data/user.ts
|
|
7964
|
-
var User = (
|
|
9197
|
+
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); }
|
|
7965
9198
|
static {
|
|
7966
9199
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "User");
|
|
7967
9200
|
}
|
|
@@ -7976,12 +9209,12 @@ var User = (_class22 = class extends AbstractApiData {constructor(...args19) { s
|
|
|
7976
9209
|
|
|
7977
9210
|
|
|
7978
9211
|
|
|
7979
|
-
|
|
9212
|
+
__init45() {this._twoFactorEnabled = false}
|
|
7980
9213
|
|
|
7981
9214
|
|
|
7982
|
-
|
|
9215
|
+
__init46() {this._roles = []}
|
|
7983
9216
|
|
|
7984
|
-
|
|
9217
|
+
__init47() {this._modules = []}
|
|
7985
9218
|
get searchResult() {
|
|
7986
9219
|
return _nullishCoalesce(this._name, () => ( ""));
|
|
7987
9220
|
}
|
|
@@ -8097,7 +9330,7 @@ var User = (_class22 = class extends AbstractApiData {constructor(...args19) { s
|
|
|
8097
9330
|
}
|
|
8098
9331
|
return response;
|
|
8099
9332
|
}
|
|
8100
|
-
},
|
|
9333
|
+
}, _class24);
|
|
8101
9334
|
|
|
8102
9335
|
// src/features/user/data/user.fields.ts
|
|
8103
9336
|
var UserFields = /* @__PURE__ */ ((UserFields2) => {
|
|
@@ -8167,8 +9400,8 @@ var UserService = class extends AbstractService {
|
|
|
8167
9400
|
id: params.id,
|
|
8168
9401
|
childEndpoint: "user-relevance"
|
|
8169
9402
|
});
|
|
8170
|
-
if (_optionalChain([Modules, 'access',
|
|
8171
|
-
if (_optionalChain([Modules, 'access',
|
|
9403
|
+
if (_optionalChain([Modules, 'access', _238 => _238.User, 'access', _239 => _239.inclusions, 'optionalAccess', _240 => _240.lists, 'optionalAccess', _241 => _241.fields])) endpoint.limitToFields(Modules.User.inclusions.lists.fields);
|
|
9404
|
+
if (_optionalChain([Modules, 'access', _242 => _242.User, 'access', _243 => _243.inclusions, 'optionalAccess', _244 => _244.lists, 'optionalAccess', _245 => _245.types])) endpoint.limitToType(Modules.User.inclusions.lists.types);
|
|
8172
9405
|
return this.callApi({
|
|
8173
9406
|
type: Modules.User,
|
|
8174
9407
|
method: "GET" /* GET */,
|
|
@@ -8346,18 +9579,18 @@ var UserModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory)
|
|
|
8346
9579
|
}), "UserModule");
|
|
8347
9580
|
|
|
8348
9581
|
// src/features/oauth/data/oauth.ts
|
|
8349
|
-
var OAuthClient = (
|
|
9582
|
+
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); }
|
|
8350
9583
|
static {
|
|
8351
9584
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "OAuthClient");
|
|
8352
9585
|
}
|
|
8353
9586
|
|
|
8354
9587
|
|
|
8355
9588
|
|
|
8356
|
-
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
|
-
|
|
8360
|
-
|
|
9589
|
+
__init48() {this._redirectUris = []}
|
|
9590
|
+
__init49() {this._allowedScopes = []}
|
|
9591
|
+
__init50() {this._allowedGrantTypes = []}
|
|
9592
|
+
__init51() {this._isConfidential = true}
|
|
9593
|
+
__init52() {this._isActive = true}
|
|
8361
9594
|
get clientId() {
|
|
8362
9595
|
return _nullishCoalesce(this._clientId, () => ( this.id));
|
|
8363
9596
|
}
|
|
@@ -8440,7 +9673,7 @@ var OAuthClient = (_class23 = class extends AbstractApiData {constructor(...args
|
|
|
8440
9673
|
state: params.state
|
|
8441
9674
|
};
|
|
8442
9675
|
}
|
|
8443
|
-
},
|
|
9676
|
+
}, _class25);
|
|
8444
9677
|
|
|
8445
9678
|
// src/features/oauth/oauth.module.ts
|
|
8446
9679
|
var OAuthModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
@@ -8465,7 +9698,7 @@ var OAuthService = class extends AbstractService {
|
|
|
8465
9698
|
type: Modules.OAuth,
|
|
8466
9699
|
method: "GET" /* GET */,
|
|
8467
9700
|
endpoint: new EndpointCreator({ endpoint: "oauth/clients" }).generate(),
|
|
8468
|
-
next: _optionalChain([params, 'optionalAccess',
|
|
9701
|
+
next: _optionalChain([params, 'optionalAccess', _246 => _246.next])
|
|
8469
9702
|
});
|
|
8470
9703
|
}
|
|
8471
9704
|
/**
|
|
@@ -8491,7 +9724,7 @@ var OAuthService = class extends AbstractService {
|
|
|
8491
9724
|
});
|
|
8492
9725
|
return {
|
|
8493
9726
|
client: result.data,
|
|
8494
|
-
clientSecret: _optionalChain([result, 'access',
|
|
9727
|
+
clientSecret: _optionalChain([result, 'access', _247 => _247.meta, 'optionalAccess', _248 => _248.clientSecret])
|
|
8495
9728
|
};
|
|
8496
9729
|
}
|
|
8497
9730
|
/**
|
|
@@ -8530,7 +9763,7 @@ var OAuthService = class extends AbstractService {
|
|
|
8530
9763
|
}).generate()
|
|
8531
9764
|
});
|
|
8532
9765
|
return {
|
|
8533
|
-
clientSecret: _optionalChain([result, 'access',
|
|
9766
|
+
clientSecret: _optionalChain([result, 'access', _249 => _249.meta, 'optionalAccess', _250 => _250.clientSecret])
|
|
8534
9767
|
};
|
|
8535
9768
|
}
|
|
8536
9769
|
// ==========================================
|
|
@@ -8567,7 +9800,7 @@ var OAuthService = class extends AbstractService {
|
|
|
8567
9800
|
overridesJsonApiCreation: true
|
|
8568
9801
|
});
|
|
8569
9802
|
return {
|
|
8570
|
-
redirectUrl: _optionalChain([result, 'access',
|
|
9803
|
+
redirectUrl: _optionalChain([result, 'access', _251 => _251.meta, 'optionalAccess', _252 => _252.redirectUrl])
|
|
8571
9804
|
};
|
|
8572
9805
|
}
|
|
8573
9806
|
/**
|
|
@@ -8583,7 +9816,7 @@ var OAuthService = class extends AbstractService {
|
|
|
8583
9816
|
overridesJsonApiCreation: true
|
|
8584
9817
|
});
|
|
8585
9818
|
return {
|
|
8586
|
-
redirectUrl: _optionalChain([result, 'access',
|
|
9819
|
+
redirectUrl: _optionalChain([result, 'access', _253 => _253.meta, 'optionalAccess', _254 => _254.redirectUrl])
|
|
8587
9820
|
};
|
|
8588
9821
|
}
|
|
8589
9822
|
};
|
|
@@ -8625,17 +9858,17 @@ var AVAILABLE_OAUTH_SCOPES = Object.values(OAUTH_SCOPE_DISPLAY);
|
|
|
8625
9858
|
var DEFAULT_GRANT_TYPES = ["authorization_code", "refresh_token"];
|
|
8626
9859
|
|
|
8627
9860
|
// src/features/waitlist/data/Waitlist.ts
|
|
8628
|
-
var Waitlist = (
|
|
9861
|
+
var Waitlist = (_class26 = class extends AbstractApiData {constructor(...args23) { super(...args23); _class26.prototype.__init53.call(this);_class26.prototype.__init54.call(this); }
|
|
8629
9862
|
static {
|
|
8630
9863
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "Waitlist");
|
|
8631
9864
|
}
|
|
8632
9865
|
|
|
8633
|
-
|
|
9866
|
+
__init53() {this._gdprConsent = false}
|
|
8634
9867
|
|
|
8635
9868
|
|
|
8636
9869
|
|
|
8637
9870
|
|
|
8638
|
-
|
|
9871
|
+
__init54() {this._status = "pending"}
|
|
8639
9872
|
|
|
8640
9873
|
|
|
8641
9874
|
|
|
@@ -8749,7 +9982,7 @@ var Waitlist = (_class24 = class extends AbstractApiData {constructor(...args21)
|
|
|
8749
9982
|
}
|
|
8750
9983
|
return response;
|
|
8751
9984
|
}
|
|
8752
|
-
},
|
|
9985
|
+
}, _class26);
|
|
8753
9986
|
|
|
8754
9987
|
// src/features/waitlist/data/WaitlistService.ts
|
|
8755
9988
|
var WaitlistService = class extends AbstractService {
|
|
@@ -8789,15 +10022,15 @@ var WaitlistService = class extends AbstractService {
|
|
|
8789
10022
|
*/
|
|
8790
10023
|
static async findMany(params) {
|
|
8791
10024
|
const endpoint = new EndpointCreator({ endpoint: Modules.Waitlist });
|
|
8792
|
-
if (_optionalChain([params, 'optionalAccess',
|
|
8793
|
-
if (_optionalChain([params, 'optionalAccess',
|
|
8794
|
-
if (_optionalChain([params, 'optionalAccess',
|
|
10025
|
+
if (_optionalChain([params, 'optionalAccess', _255 => _255.status])) endpoint.addAdditionalParam("status", params.status);
|
|
10026
|
+
if (_optionalChain([params, 'optionalAccess', _256 => _256.search])) endpoint.addAdditionalParam("search", params.search);
|
|
10027
|
+
if (_optionalChain([params, 'optionalAccess', _257 => _257.fetchAll])) endpoint.addAdditionalParam("fetchAll", "true");
|
|
8795
10028
|
return this.callApi({
|
|
8796
10029
|
type: Modules.Waitlist,
|
|
8797
10030
|
method: "GET" /* GET */,
|
|
8798
10031
|
endpoint: endpoint.generate(),
|
|
8799
|
-
next: _optionalChain([params, 'optionalAccess',
|
|
8800
|
-
previous: _optionalChain([params, 'optionalAccess',
|
|
10032
|
+
next: _optionalChain([params, 'optionalAccess', _258 => _258.next]),
|
|
10033
|
+
previous: _optionalChain([params, 'optionalAccess', _259 => _259.previous])
|
|
8801
10034
|
});
|
|
8802
10035
|
}
|
|
8803
10036
|
/**
|
|
@@ -8866,10 +10099,10 @@ var WaitlistService = class extends AbstractService {
|
|
|
8866
10099
|
method: "GET" /* GET */,
|
|
8867
10100
|
endpoint: endpoint.generate()
|
|
8868
10101
|
});
|
|
8869
|
-
const attributes = _optionalChain([response, 'access',
|
|
10102
|
+
const attributes = _optionalChain([response, 'access', _260 => _260.data, 'optionalAccess', _261 => _261._jsonApi, 'optionalAccess', _262 => _262.attributes]);
|
|
8870
10103
|
return {
|
|
8871
|
-
email: _optionalChain([attributes, 'optionalAccess',
|
|
8872
|
-
valid: _nullishCoalesce(_optionalChain([attributes, 'optionalAccess',
|
|
10104
|
+
email: _optionalChain([attributes, 'optionalAccess', _263 => _263.email]),
|
|
10105
|
+
valid: _nullishCoalesce(_optionalChain([attributes, 'optionalAccess', _264 => _264.valid]), () => ( false))
|
|
8873
10106
|
};
|
|
8874
10107
|
} catch (_error) {
|
|
8875
10108
|
return null;
|
|
@@ -8878,15 +10111,15 @@ var WaitlistService = class extends AbstractService {
|
|
|
8878
10111
|
};
|
|
8879
10112
|
|
|
8880
10113
|
// src/features/waitlist/data/waitlist-stats.ts
|
|
8881
|
-
var WaitlistStats = (
|
|
10114
|
+
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); }
|
|
8882
10115
|
static {
|
|
8883
10116
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "WaitlistStats");
|
|
8884
10117
|
}
|
|
8885
|
-
|
|
8886
|
-
|
|
8887
|
-
|
|
8888
|
-
|
|
8889
|
-
|
|
10118
|
+
__init55() {this._pending = 0}
|
|
10119
|
+
__init56() {this._confirmed = 0}
|
|
10120
|
+
__init57() {this._invited = 0}
|
|
10121
|
+
__init58() {this._registered = 0}
|
|
10122
|
+
__init59() {this._total = 0}
|
|
8890
10123
|
get pending() {
|
|
8891
10124
|
return this._pending;
|
|
8892
10125
|
}
|
|
@@ -8915,7 +10148,7 @@ var WaitlistStats = (_class25 = class extends AbstractApiData {constructor(...ar
|
|
|
8915
10148
|
createJsonApi(_data) {
|
|
8916
10149
|
throw new Error("WaitlistStats is read-only and cannot be created");
|
|
8917
10150
|
}
|
|
8918
|
-
},
|
|
10151
|
+
}, _class27);
|
|
8919
10152
|
|
|
8920
10153
|
// src/features/waitlist/data/waitlist.fields.ts
|
|
8921
10154
|
var WaitlistFields = /* @__PURE__ */ ((WaitlistFields2) => {
|
|
@@ -8967,7 +10200,7 @@ var PermissionMapping = class extends AbstractApiData {
|
|
|
8967
10200
|
super.rehydrate(data);
|
|
8968
10201
|
this._roleId = data.jsonApi.attributes.roleId;
|
|
8969
10202
|
this._moduleId = data.jsonApi.attributes.moduleId;
|
|
8970
|
-
this._permissions = _optionalChain([data, 'access',
|
|
10203
|
+
this._permissions = _optionalChain([data, 'access', _265 => _265.jsonApi, 'access', _266 => _266.meta, 'optionalAccess', _267 => _267.permissions]);
|
|
8971
10204
|
return this;
|
|
8972
10205
|
}
|
|
8973
10206
|
};
|
|
@@ -9143,18 +10376,18 @@ var ReferralStatsModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
|
|
|
9143
10376
|
}), "ReferralStatsModule");
|
|
9144
10377
|
|
|
9145
10378
|
// src/features/tokenusage/data/tokenusage-admin-breakdown.ts
|
|
9146
|
-
var TokenUsageAdminBreakdown = (
|
|
10379
|
+
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); }
|
|
9147
10380
|
static {
|
|
9148
10381
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageAdminBreakdown");
|
|
9149
10382
|
}
|
|
9150
|
-
|
|
10383
|
+
__init60() {this._label = ""}
|
|
9151
10384
|
|
|
9152
|
-
|
|
9153
|
-
|
|
9154
|
-
|
|
9155
|
-
|
|
9156
|
-
|
|
9157
|
-
|
|
10385
|
+
__init61() {this._cost = 0}
|
|
10386
|
+
__init62() {this._credits = 0}
|
|
10387
|
+
__init63() {this._tokensIn = 0}
|
|
10388
|
+
__init64() {this._tokensOut = 0}
|
|
10389
|
+
__init65() {this._cached = 0}
|
|
10390
|
+
__init66() {this._calls = 0}
|
|
9158
10391
|
|
|
9159
10392
|
|
|
9160
10393
|
|
|
@@ -9231,21 +10464,21 @@ var TokenUsageAdminBreakdown = (_class26 = class extends AbstractApiData {constr
|
|
|
9231
10464
|
response.data.attributes.availableMonthlyCredits = data.availableMonthlyCredits;
|
|
9232
10465
|
return response;
|
|
9233
10466
|
}
|
|
9234
|
-
},
|
|
10467
|
+
}, _class28);
|
|
9235
10468
|
|
|
9236
10469
|
// src/features/tokenusage/data/tokenusage-admin-summary.ts
|
|
9237
|
-
var TokenUsageAdminSummary = (
|
|
10470
|
+
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); }
|
|
9238
10471
|
static {
|
|
9239
10472
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageAdminSummary");
|
|
9240
10473
|
}
|
|
9241
|
-
|
|
9242
|
-
|
|
9243
|
-
|
|
9244
|
-
|
|
9245
|
-
|
|
9246
|
-
|
|
9247
|
-
|
|
9248
|
-
|
|
10474
|
+
__init67() {this._scope = ""}
|
|
10475
|
+
__init68() {this._window = ""}
|
|
10476
|
+
__init69() {this._cost = 0}
|
|
10477
|
+
__init70() {this._credits = 0}
|
|
10478
|
+
__init71() {this._tokensIn = 0}
|
|
10479
|
+
__init72() {this._tokensOut = 0}
|
|
10480
|
+
__init73() {this._cached = 0}
|
|
10481
|
+
__init74() {this._calls = 0}
|
|
9249
10482
|
get scope() {
|
|
9250
10483
|
return this._scope;
|
|
9251
10484
|
}
|
|
@@ -9303,21 +10536,21 @@ var TokenUsageAdminSummary = (_class27 = class extends AbstractApiData {construc
|
|
|
9303
10536
|
if (data.calls !== void 0) response.data.attributes.calls = data.calls;
|
|
9304
10537
|
return response;
|
|
9305
10538
|
}
|
|
9306
|
-
},
|
|
10539
|
+
}, _class29);
|
|
9307
10540
|
|
|
9308
10541
|
// src/features/tokenusage/data/tokenusage-admin-timeline.ts
|
|
9309
|
-
var TokenUsageAdminTimeline = (
|
|
10542
|
+
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); }
|
|
9310
10543
|
static {
|
|
9311
10544
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageAdminTimeline");
|
|
9312
10545
|
}
|
|
9313
|
-
|
|
9314
|
-
|
|
9315
|
-
|
|
9316
|
-
|
|
9317
|
-
|
|
9318
|
-
|
|
9319
|
-
|
|
9320
|
-
|
|
10546
|
+
__init75() {this._bucket = /* @__PURE__ */ new Date(0)}
|
|
10547
|
+
__init76() {this._series = ""}
|
|
10548
|
+
__init77() {this._cost = 0}
|
|
10549
|
+
__init78() {this._credits = 0}
|
|
10550
|
+
__init79() {this._tokensIn = 0}
|
|
10551
|
+
__init80() {this._tokensOut = 0}
|
|
10552
|
+
__init81() {this._cached = 0}
|
|
10553
|
+
__init82() {this._calls = 0}
|
|
9321
10554
|
get bucket() {
|
|
9322
10555
|
return this._bucket;
|
|
9323
10556
|
}
|
|
@@ -9375,7 +10608,7 @@ var TokenUsageAdminTimeline = (_class28 = class extends AbstractApiData {constru
|
|
|
9375
10608
|
if (data.calls !== void 0) response.data.attributes.calls = data.calls;
|
|
9376
10609
|
return response;
|
|
9377
10610
|
}
|
|
9378
|
-
},
|
|
10611
|
+
}, _class30);
|
|
9379
10612
|
|
|
9380
10613
|
// src/features/tokenusage/tokenusage-admin.module.ts
|
|
9381
10614
|
var TokenUsageAdminSummaryModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({ name: "tokenusages/administration/summary", model: TokenUsageAdminSummary }), "TokenUsageAdminSummaryModule");
|
|
@@ -9383,18 +10616,18 @@ var TokenUsageAdminTimelineModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call
|
|
|
9383
10616
|
var TokenUsageAdminBreakdownModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({ name: "tokenusages/administration/breakdown", model: TokenUsageAdminBreakdown }), "TokenUsageAdminBreakdownModule");
|
|
9384
10617
|
|
|
9385
10618
|
// src/features/tokenusage/data/tokenusage-report-breakdown.ts
|
|
9386
|
-
var TokenUsageReportBreakdown = (
|
|
10619
|
+
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); }
|
|
9387
10620
|
static {
|
|
9388
10621
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageReportBreakdown");
|
|
9389
10622
|
}
|
|
9390
|
-
|
|
10623
|
+
__init83() {this._label = ""}
|
|
9391
10624
|
|
|
9392
|
-
|
|
9393
|
-
|
|
9394
|
-
|
|
9395
|
-
|
|
9396
|
-
|
|
9397
|
-
|
|
10625
|
+
__init84() {this._cost = 0}
|
|
10626
|
+
__init85() {this._credits = 0}
|
|
10627
|
+
__init86() {this._tokensIn = 0}
|
|
10628
|
+
__init87() {this._tokensOut = 0}
|
|
10629
|
+
__init88() {this._cached = 0}
|
|
10630
|
+
__init89() {this._calls = 0}
|
|
9398
10631
|
get label() {
|
|
9399
10632
|
return this._label;
|
|
9400
10633
|
}
|
|
@@ -9452,20 +10685,20 @@ var TokenUsageReportBreakdown = (_class29 = class extends AbstractApiData {const
|
|
|
9452
10685
|
if (data.calls !== void 0) response.data.attributes.calls = data.calls;
|
|
9453
10686
|
return response;
|
|
9454
10687
|
}
|
|
9455
|
-
},
|
|
10688
|
+
}, _class31);
|
|
9456
10689
|
|
|
9457
10690
|
// src/features/tokenusage/data/tokenusage-report-summary.ts
|
|
9458
|
-
var TokenUsageReportSummary = (
|
|
10691
|
+
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); }
|
|
9459
10692
|
static {
|
|
9460
10693
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageReportSummary");
|
|
9461
10694
|
}
|
|
9462
|
-
|
|
9463
|
-
|
|
9464
|
-
|
|
9465
|
-
|
|
9466
|
-
|
|
9467
|
-
|
|
9468
|
-
|
|
10695
|
+
__init90() {this._window = ""}
|
|
10696
|
+
__init91() {this._cost = 0}
|
|
10697
|
+
__init92() {this._credits = 0}
|
|
10698
|
+
__init93() {this._tokensIn = 0}
|
|
10699
|
+
__init94() {this._tokensOut = 0}
|
|
10700
|
+
__init95() {this._cached = 0}
|
|
10701
|
+
__init96() {this._calls = 0}
|
|
9469
10702
|
get window() {
|
|
9470
10703
|
return this._window;
|
|
9471
10704
|
}
|
|
@@ -9518,21 +10751,21 @@ var TokenUsageReportSummary = (_class30 = class extends AbstractApiData {constru
|
|
|
9518
10751
|
if (data.calls !== void 0) response.data.attributes.calls = data.calls;
|
|
9519
10752
|
return response;
|
|
9520
10753
|
}
|
|
9521
|
-
},
|
|
10754
|
+
}, _class32);
|
|
9522
10755
|
|
|
9523
10756
|
// src/features/tokenusage/data/tokenusage-report-timeline.ts
|
|
9524
|
-
var TokenUsageReportTimeline = (
|
|
10757
|
+
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); }
|
|
9525
10758
|
static {
|
|
9526
10759
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageReportTimeline");
|
|
9527
10760
|
}
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
10761
|
+
__init97() {this._bucket = /* @__PURE__ */ new Date(0)}
|
|
10762
|
+
__init98() {this._series = ""}
|
|
10763
|
+
__init99() {this._cost = 0}
|
|
10764
|
+
__init100() {this._credits = 0}
|
|
10765
|
+
__init101() {this._tokensIn = 0}
|
|
10766
|
+
__init102() {this._tokensOut = 0}
|
|
10767
|
+
__init103() {this._cached = 0}
|
|
10768
|
+
__init104() {this._calls = 0}
|
|
9536
10769
|
get bucket() {
|
|
9537
10770
|
return this._bucket;
|
|
9538
10771
|
}
|
|
@@ -9590,7 +10823,7 @@ var TokenUsageReportTimeline = (_class31 = class extends AbstractApiData {constr
|
|
|
9590
10823
|
if (data.calls !== void 0) response.data.attributes.calls = data.calls;
|
|
9591
10824
|
return response;
|
|
9592
10825
|
}
|
|
9593
|
-
},
|
|
10826
|
+
}, _class33);
|
|
9594
10827
|
|
|
9595
10828
|
// src/features/tokenusage/tokenusage.modules.ts
|
|
9596
10829
|
var tokenUsageModules = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => ({
|
|
@@ -9606,15 +10839,15 @@ var tokenUsageModules = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (fa
|
|
|
9606
10839
|
}), "tokenUsageModules");
|
|
9607
10840
|
|
|
9608
10841
|
// src/features/analytics/data/analytics-breakdown.ts
|
|
9609
|
-
var AnalyticsBreakdown = (
|
|
10842
|
+
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); }
|
|
9610
10843
|
static {
|
|
9611
10844
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsBreakdown");
|
|
9612
10845
|
}
|
|
9613
|
-
|
|
9614
|
-
|
|
9615
|
-
|
|
9616
|
-
|
|
9617
|
-
|
|
10846
|
+
__init105() {this._dimension = ""}
|
|
10847
|
+
__init106() {this._key = ""}
|
|
10848
|
+
__init107() {this._visitors = 0}
|
|
10849
|
+
__init108() {this._sessions = 0}
|
|
10850
|
+
__init109() {this._pageViews = 0}
|
|
9618
10851
|
get dimension() {
|
|
9619
10852
|
return this._dimension;
|
|
9620
10853
|
}
|
|
@@ -9657,16 +10890,16 @@ var AnalyticsBreakdown = (_class32 = class extends AbstractApiData {constructor(
|
|
|
9657
10890
|
if (data.pageViews !== void 0) response.data.attributes.pageViews = data.pageViews;
|
|
9658
10891
|
return response;
|
|
9659
10892
|
}
|
|
9660
|
-
},
|
|
10893
|
+
}, _class34);
|
|
9661
10894
|
|
|
9662
10895
|
// src/features/analytics/data/analytics-event.ts
|
|
9663
10896
|
var ANALYTICS_EVENT_TYPE = "analytics-events";
|
|
9664
|
-
var AnalyticsEvent = (
|
|
10897
|
+
var AnalyticsEvent = (_class35 = class extends AbstractApiData {constructor(...args32) { super(...args32); _class35.prototype.__init110.call(this);_class35.prototype.__init111.call(this); }
|
|
9665
10898
|
static {
|
|
9666
10899
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsEvent");
|
|
9667
10900
|
}
|
|
9668
|
-
|
|
9669
|
-
|
|
10901
|
+
__init110() {this._path = ""}
|
|
10902
|
+
__init111() {this._section = ""}
|
|
9670
10903
|
get path() {
|
|
9671
10904
|
return this._path;
|
|
9672
10905
|
}
|
|
@@ -9702,16 +10935,16 @@ var AnalyticsEvent = (_class33 = class extends AbstractApiData {constructor(...a
|
|
|
9702
10935
|
if (data.screenWidth !== void 0) response.data.attributes.screenWidth = data.screenWidth;
|
|
9703
10936
|
return response;
|
|
9704
10937
|
}
|
|
9705
|
-
},
|
|
10938
|
+
}, _class35);
|
|
9706
10939
|
|
|
9707
10940
|
// src/features/analytics/data/analytics-page-view.ts
|
|
9708
|
-
var AnalyticsPageView = (
|
|
10941
|
+
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); }
|
|
9709
10942
|
static {
|
|
9710
10943
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsPageView");
|
|
9711
10944
|
}
|
|
9712
|
-
|
|
9713
|
-
|
|
9714
|
-
|
|
10945
|
+
__init112() {this._path = ""}
|
|
10946
|
+
__init113() {this._route = ""}
|
|
10947
|
+
__init114() {this._section = ""}
|
|
9715
10948
|
get path() {
|
|
9716
10949
|
return this._path;
|
|
9717
10950
|
}
|
|
@@ -9746,27 +10979,27 @@ var AnalyticsPageView = (_class34 = class extends AbstractApiData {constructor(.
|
|
|
9746
10979
|
if (data.section !== void 0) response.data.attributes.section = data.section;
|
|
9747
10980
|
return response;
|
|
9748
10981
|
}
|
|
9749
|
-
},
|
|
10982
|
+
}, _class36);
|
|
9750
10983
|
|
|
9751
10984
|
// src/features/analytics/data/analytics-session.ts
|
|
9752
|
-
var AnalyticsSession = (
|
|
10985
|
+
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); }
|
|
9753
10986
|
static {
|
|
9754
10987
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsSession");
|
|
9755
10988
|
}
|
|
9756
|
-
|
|
9757
|
-
|
|
9758
|
-
|
|
9759
|
-
|
|
9760
|
-
|
|
9761
|
-
|
|
9762
|
-
|
|
10989
|
+
__init115() {this._visitorId = ""}
|
|
10990
|
+
__init116() {this._consented = false}
|
|
10991
|
+
__init117() {this._startedAt = /* @__PURE__ */ new Date(0)}
|
|
10992
|
+
__init118() {this._lastSeenAt = /* @__PURE__ */ new Date(0)}
|
|
10993
|
+
__init119() {this._pageViews = 0}
|
|
10994
|
+
__init120() {this._section = ""}
|
|
10995
|
+
__init121() {this._landingRoute = ""}
|
|
9763
10996
|
|
|
9764
10997
|
|
|
9765
10998
|
|
|
9766
10999
|
|
|
9767
11000
|
|
|
9768
11001
|
|
|
9769
|
-
|
|
11002
|
+
__init122() {this._deviceType = ""}
|
|
9770
11003
|
|
|
9771
11004
|
get visitorId() {
|
|
9772
11005
|
return this._visitorId;
|
|
@@ -9864,20 +11097,20 @@ var AnalyticsSession = (_class35 = class extends AbstractApiData {constructor(..
|
|
|
9864
11097
|
}
|
|
9865
11098
|
return response;
|
|
9866
11099
|
}
|
|
9867
|
-
},
|
|
11100
|
+
}, _class37);
|
|
9868
11101
|
|
|
9869
11102
|
// src/features/analytics/data/analytics-summary.ts
|
|
9870
|
-
var AnalyticsSummary = (
|
|
11103
|
+
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); }
|
|
9871
11104
|
static {
|
|
9872
11105
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsSummary");
|
|
9873
11106
|
}
|
|
9874
|
-
|
|
9875
|
-
|
|
9876
|
-
|
|
9877
|
-
|
|
9878
|
-
|
|
9879
|
-
|
|
9880
|
-
|
|
11107
|
+
__init123() {this._section = ""}
|
|
11108
|
+
__init124() {this._window = ""}
|
|
11109
|
+
__init125() {this._visitors = 0}
|
|
11110
|
+
__init126() {this._sessions = 0}
|
|
11111
|
+
__init127() {this._pageViews = 0}
|
|
11112
|
+
__init128() {this._pagesPerSession = 0}
|
|
11113
|
+
__init129() {this._consentShare = 0}
|
|
9881
11114
|
get section() {
|
|
9882
11115
|
return this._section;
|
|
9883
11116
|
}
|
|
@@ -9930,18 +11163,18 @@ var AnalyticsSummary = (_class36 = class extends AbstractApiData {constructor(..
|
|
|
9930
11163
|
if (data.consentShare !== void 0) response.data.attributes.consentShare = data.consentShare;
|
|
9931
11164
|
return response;
|
|
9932
11165
|
}
|
|
9933
|
-
},
|
|
11166
|
+
}, _class38);
|
|
9934
11167
|
|
|
9935
11168
|
// src/features/analytics/data/analytics-timeline.ts
|
|
9936
|
-
var AnalyticsTimeline = (
|
|
11169
|
+
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); }
|
|
9937
11170
|
static {
|
|
9938
11171
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsTimeline");
|
|
9939
11172
|
}
|
|
9940
|
-
|
|
9941
|
-
|
|
9942
|
-
|
|
9943
|
-
|
|
9944
|
-
|
|
11173
|
+
__init130() {this._bucket = /* @__PURE__ */ new Date(0)}
|
|
11174
|
+
__init131() {this._section = ""}
|
|
11175
|
+
__init132() {this._visitors = 0}
|
|
11176
|
+
__init133() {this._sessions = 0}
|
|
11177
|
+
__init134() {this._pageViews = 0}
|
|
9945
11178
|
get bucket() {
|
|
9946
11179
|
return this._bucket;
|
|
9947
11180
|
}
|
|
@@ -9984,7 +11217,7 @@ var AnalyticsTimeline = (_class37 = class extends AbstractApiData {constructor(.
|
|
|
9984
11217
|
if (data.pageViews !== void 0) response.data.attributes.pageViews = data.pageViews;
|
|
9985
11218
|
return response;
|
|
9986
11219
|
}
|
|
9987
|
-
},
|
|
11220
|
+
}, _class39);
|
|
9988
11221
|
|
|
9989
11222
|
// src/features/analytics/analytics.modules.ts
|
|
9990
11223
|
var analyticsModules = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => ({
|
|
@@ -10008,11 +11241,11 @@ function getTokenUsageCurrency() {
|
|
|
10008
11241
|
_chunk7QVYU63Ejs.__name.call(void 0, getTokenUsageCurrency, "getTokenUsageCurrency");
|
|
10009
11242
|
|
|
10010
11243
|
// src/features/audit-log/data/audit-log.ts
|
|
10011
|
-
var AuditLog = (
|
|
11244
|
+
var AuditLog = (_class40 = class extends AbstractApiData {constructor(...args37) { super(...args37); _class40.prototype.__init135.call(this); }
|
|
10012
11245
|
static {
|
|
10013
11246
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AuditLog");
|
|
10014
11247
|
}
|
|
10015
|
-
|
|
11248
|
+
__init135() {this._kind = "audit"}
|
|
10016
11249
|
|
|
10017
11250
|
|
|
10018
11251
|
|
|
@@ -10059,7 +11292,7 @@ var AuditLog = (_class38 = class extends AbstractApiData {constructor(...args35)
|
|
|
10059
11292
|
createJsonApi() {
|
|
10060
11293
|
throw new Error("AuditLog is read-only");
|
|
10061
11294
|
}
|
|
10062
|
-
},
|
|
11295
|
+
}, _class40);
|
|
10063
11296
|
|
|
10064
11297
|
// src/features/audit-log/data/audit-log.service.ts
|
|
10065
11298
|
var AuditLogService = class extends AbstractService {
|
|
@@ -10351,5 +11584,47 @@ var AuditLogModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (facto
|
|
|
10351
11584
|
|
|
10352
11585
|
|
|
10353
11586
|
|
|
10354
|
-
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;
|
|
10355
|
-
|
|
11587
|
+
|
|
11588
|
+
|
|
11589
|
+
|
|
11590
|
+
|
|
11591
|
+
|
|
11592
|
+
|
|
11593
|
+
|
|
11594
|
+
|
|
11595
|
+
|
|
11596
|
+
|
|
11597
|
+
|
|
11598
|
+
|
|
11599
|
+
|
|
11600
|
+
|
|
11601
|
+
|
|
11602
|
+
|
|
11603
|
+
|
|
11604
|
+
|
|
11605
|
+
|
|
11606
|
+
|
|
11607
|
+
|
|
11608
|
+
|
|
11609
|
+
|
|
11610
|
+
|
|
11611
|
+
|
|
11612
|
+
|
|
11613
|
+
|
|
11614
|
+
|
|
11615
|
+
|
|
11616
|
+
|
|
11617
|
+
|
|
11618
|
+
|
|
11619
|
+
|
|
11620
|
+
|
|
11621
|
+
|
|
11622
|
+
|
|
11623
|
+
|
|
11624
|
+
|
|
11625
|
+
|
|
11626
|
+
|
|
11627
|
+
|
|
11628
|
+
|
|
11629
|
+
exports.RehydrationFactory = RehydrationFactory; exports.AbstractApiData = AbstractApiData; exports.getLastApiTotal = getLastApiTotal; exports.clearLastApiTotal = clearLastApiTotal; exports.getLastApiMeta = getLastApiMeta; exports.clearLastApiMeta = clearLastApiMeta; exports.configureI18n = configureI18n; exports.useI18nRouter = useI18nRouter; exports.useI18nTranslations = useI18nTranslations; exports.getI18nLink = getI18nLink; exports.useI18nLocale = useI18nLocale; exports.useI18nDateFnsLocale = useI18nDateFnsLocale; exports.getI18nSupportedLocales = getI18nSupportedLocales; exports.HttpMethod = HttpMethod; exports.setGlobalErrorHandler = setGlobalErrorHandler; exports.getGlobalErrorHandler = getGlobalErrorHandler; exports.AbstractService = AbstractService; exports.configureClientJsonApi = configureClientJsonApi; exports.getClientApiUrl = getClientApiUrl; exports.getClientAppUrl = getClientAppUrl; exports.getClientTrackablePages = getClientTrackablePages; exports.buildClientUrl = buildClientUrl; exports.ClientJsonApiGet = ClientJsonApiGet; exports.ClientJsonApiPost = ClientJsonApiPost; exports.ClientJsonApiPut = ClientJsonApiPut; exports.ClientJsonApiPatch = ClientJsonApiPatch; exports.ClientJsonApiDelete = ClientJsonApiDelete; exports.ClientHttpMethod = ClientHttpMethod; exports.setClientGlobalErrorHandler = setClientGlobalErrorHandler; exports.getClientGlobalErrorHandler = getClientGlobalErrorHandler; exports.ClientAbstractService = ClientAbstractService; exports.ModuleRegistrar = ModuleRegistrar; exports.ModuleRegistry = ModuleRegistry; exports.Modules = Modules; exports.EndpointCreator = EndpointCreator; exports.createJsonApiInclusion = createJsonApiInclusion; exports.rehydrate = rehydrate; exports.rehydrateList = rehydrateList; exports.mergeMessages = mergeMessages; exports.cn = cn; exports.composeRefs = composeRefs; exports.useComposedRefs = useComposedRefs; exports.MOBILE_BREAKPOINT = MOBILE_BREAKPOINT; exports.VIEWPORT_COOKIE_NAME = VIEWPORT_COOKIE_NAME; exports.getViewportContext = getViewportContext; exports.measureViewport = measureViewport; exports.persistViewport = persistViewport; exports.subscribeViewport = subscribeViewport; exports.useIsMobile = useIsMobile; exports.formatLocalDate = formatLocalDate; exports.dateFormatLocale = dateFormatLocale; exports.formatDate = formatDate; exports.exists = exists; exports.TableOptions = TableOptions; exports.getTableOptions = getTableOptions; exports.getTableComponents = getTableComponents; exports.userObjectSchema = userObjectSchema; exports.entityObjectSchema = entityObjectSchema; exports.getInitials = getInitials; exports.isRemoteImageSrc = isRemoteImageSrc; exports.validatePartitaIva = validatePartitaIva; exports.validateCodiceFiscale = validateCodiceFiscale; exports.validateItalianTaxCode = validateItalianTaxCode; exports.formatPartitaIva = formatPartitaIva; exports.formatCodiceFiscale = formatCodiceFiscale; exports.BlockNoteDiffUtil = BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = BlockNoteWordDiffRendererUtil; exports.getIconByModule = getIconByModule; exports.getIcon = getIcon; exports.getIconByModuleName = getIconByModuleName; exports.getLucideIcon = getLucideIcon; exports.getLucideIconByModule = getLucideIconByModule; exports.getLucideIconByModuleName = getLucideIconByModuleName; exports.showToast = showToast; exports.showError = showError; exports.dismissToast = dismissToast; exports.showCustomToast = showCustomToast; exports.Action = Action; exports.checkPermissions = checkPermissions; exports.checkPermissionsFromServer = checkPermissionsFromServer; exports.getValueFromPath = getValueFromPath; exports.TotpAuthenticator = TotpAuthenticator; exports.TotpAuthenticatorModule = TotpAuthenticatorModule; exports.TotpSetup = TotpSetup; exports.TotpSetupModule = TotpSetupModule; exports.TotpVerify = TotpVerify; exports.TotpVerifyModule = TotpVerifyModule; exports.TotpVerifyLogin = TotpVerifyLogin; exports.TotpVerifyLoginModule = TotpVerifyLoginModule; exports.Passkey = Passkey; exports.PasskeyModule = PasskeyModule; exports.PasskeyRegistrationOptions = PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = PasskeyRegistrationVerifyModule; exports.PasskeyRename = PasskeyRename; exports.PasskeyRenameModule = PasskeyRenameModule; exports.PasskeyVerifyLogin = PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = PasskeyVerifyLoginModule; exports.PasskeyAuthenticationOptions = PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = PasskeyAuthenticationOptionsModule; exports.TwoFactorEnable = TwoFactorEnable; exports.TwoFactorEnableModule = TwoFactorEnableModule; exports.TwoFactorChallenge = TwoFactorChallenge; exports.TwoFactorChallengeModule = TwoFactorChallengeModule; exports.BackupCodeVerify = BackupCodeVerify; exports.BackupCodeVerifyModule = BackupCodeVerifyModule; exports.configureAuth = configureAuth; exports.getTokenHandler = getTokenHandler; exports.Auth = Auth; exports.AuthService = AuthService; exports.TwoFactorStatus = TwoFactorStatus; exports.TwoFactorService = TwoFactorService; exports.AuthComponent = AuthComponent; exports.AuthModule = AuthModule; exports.TwoFactorStatusModule = TwoFactorStatusModule; exports.BillingService = BillingService; exports.Billing = Billing; exports.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.BlogCategory = BlogCategory; exports.BlogCategoryTranslation = BlogCategoryTranslation; exports.BlogPost = BlogPost; exports.BlogPostTranslation = BlogPostTranslation; exports.BLOG_LIST_LAYOUTS = BLOG_LIST_LAYOUTS; exports.BLOG_POST_STATUSES = BLOG_POST_STATUSES; exports.BLOG_TRANSLATION_SOURCES = BLOG_TRANSLATION_SOURCES; exports.BLOG_SETTINGS_ID = BLOG_SETTINGS_ID; exports.BLOG_MODULE_ID = BLOG_MODULE_ID; exports.BLOG_UPLOAD_ROOT = BLOG_UPLOAD_ROOT; exports.BLOG_POST_UPLOAD_PREFIX = BLOG_POST_UPLOAD_PREFIX; exports.BLOG_CATEGORY_UPLOAD_PREFIX = BLOG_CATEGORY_UPLOAD_PREFIX; exports.BLOG_PUBLIC_PREFIX = BLOG_PUBLIC_PREFIX; exports.BLOG_ACTION = BLOG_ACTION; exports.BlogSettings = BlogSettings; exports.BlogPostModule = BlogPostModule; exports.BlogPostTranslationModule = BlogPostTranslationModule; exports.BlogCategoryModule = BlogCategoryModule; exports.BlogCategoryTranslationModule = BlogCategoryTranslationModule; exports.BlogSettingsModule = BlogSettingsModule; exports.BlogPostService = BlogPostService; exports.BlogPostTranslationService = BlogPostTranslationService; exports.BlogCategoryService = BlogCategoryService; exports.BlogCategoryTranslationService = BlogCategoryTranslationService; exports.BlogSettingsService = BlogSettingsService; exports.BlogPostFields = BlogPostFields; exports.BlogCategoryFields = BlogCategoryFields; exports.HandbookPage = HandbookPage; exports.HandbookPageModule = HandbookPageModule; exports.HandbookSection = HandbookSection; exports.HandbookSectionModule = HandbookSectionModule; exports.HandbookThreadMessage = HandbookThreadMessage; exports.HandbookThreadMessageModule = HandbookThreadMessageModule; exports.HandbookThread = HandbookThread; exports.HandbookThreadModule = HandbookThreadModule; exports.handbookPageTitle = handbookPageTitle; exports.handbookPageSummary = handbookPageSummary; exports.handbookPageContent = handbookPageContent; exports.handbookSectionTitle = handbookSectionTitle; exports.handbookSectionSummary = handbookSectionSummary; exports.HandbookPageFields = HandbookPageFields; exports.HandbookPageService = HandbookPageService; exports.HandbookSectionService = HandbookSectionService; exports.HandbookThreadMessageService = HandbookThreadMessageService; exports.HandbookThreadService = HandbookThreadService; exports.Assistant = Assistant; exports.AssistantModule = AssistantModule; exports.AssistantMessage = AssistantMessage; exports.AssistantService = AssistantService; exports.AssistantMessageModule = AssistantMessageModule; exports.AssistantMessageService = AssistantMessageService; exports.AssistantAction = AssistantAction; exports.AssistantActionModule = AssistantActionModule; exports.AssistantActionService = AssistantActionService; exports.Chunk = Chunk; exports.ChunkModule = ChunkModule; exports.Feature = Feature; exports.FeatureService = FeatureService; exports.FeatureModule = FeatureModule; exports.Module = Module; exports.ModuleModule = ModuleModule; exports.Notification = Notification; exports.NotificationFields = NotificationFields; exports.NotificationService = NotificationService; exports.NotificationModule = NotificationModule; exports.Push = Push; exports.PushService = PushService; exports.PushModule = PushModule; exports.Role = Role; exports.RoleFields = RoleFields; exports.RoleService = RoleService; exports.RoleModule = RoleModule; exports.S3 = S3; exports.S3Module = S3Module; exports.S3Service = S3Service; exports.User = User; exports.UserFields = UserFields; exports.UserService = UserService; exports.CURRENT_USER_STORAGE_KEY = CURRENT_USER_STORAGE_KEY; exports.AuthorModule = AuthorModule; exports.UserModule = UserModule; exports.OAuthClient = OAuthClient; exports.OAuthModule = OAuthModule; exports.OAuthService = OAuthService; exports.OAUTH_SCOPE_DISPLAY = OAUTH_SCOPE_DISPLAY; exports.AVAILABLE_OAUTH_SCOPES = AVAILABLE_OAUTH_SCOPES; exports.DEFAULT_GRANT_TYPES = DEFAULT_GRANT_TYPES; exports.Waitlist = Waitlist; exports.WaitlistService = WaitlistService; exports.WaitlistStats = WaitlistStats; exports.WaitlistFields = WaitlistFields; exports.WaitlistModule = WaitlistModule; exports.WaitlistStatsModule = WaitlistStatsModule; exports.PermissionMapping = PermissionMapping; exports.ModulePaths = ModulePaths; exports.RbacMatrixModel = RbacMatrixModel; exports.PermissionMappingModule = PermissionMappingModule; exports.ModulePathsModule = ModulePathsModule; exports.RbacMatrixModule = RbacMatrixModule; exports.ReferralStats = ReferralStats; exports.ReferralService = ReferralService; exports.ReferralModule = ReferralModule; exports.ReferralStatsModule = ReferralStatsModule; exports.TokenUsageAdminBreakdown = TokenUsageAdminBreakdown; exports.TokenUsageAdminSummary = TokenUsageAdminSummary; exports.TokenUsageAdminTimeline = TokenUsageAdminTimeline; exports.TokenUsageAdminSummaryModule = TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = TokenUsageAdminTimelineModule; exports.TokenUsageAdminBreakdownModule = TokenUsageAdminBreakdownModule; exports.TokenUsageReportBreakdown = TokenUsageReportBreakdown; exports.TokenUsageReportSummary = TokenUsageReportSummary; exports.TokenUsageReportTimeline = TokenUsageReportTimeline; exports.tokenUsageModules = tokenUsageModules; exports.AnalyticsBreakdown = AnalyticsBreakdown; exports.AnalyticsEvent = AnalyticsEvent; exports.AnalyticsPageView = AnalyticsPageView; exports.AnalyticsSession = AnalyticsSession; exports.AnalyticsSummary = AnalyticsSummary; exports.AnalyticsTimeline = AnalyticsTimeline; exports.analyticsModules = analyticsModules; exports.configureTokenUsage = configureTokenUsage; exports.getTokenUsageCurrency = getTokenUsageCurrency; exports.AuditLog = AuditLog; exports.AuditLogService = AuditLogService; exports.AuditLogModule = AuditLogModule;
|
|
11630
|
+
//# sourceMappingURL=chunk-NFBOSPNJ.js.map
|