@carlonicora/nextjs-jsonapi 5.2.0 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BlockNoteEditor-EGY4ZAAM.js → BlockNoteEditor-UJ6363LC.js} +19 -19
- package/dist/{BlockNoteEditor-EGY4ZAAM.js.map → BlockNoteEditor-UJ6363LC.js.map} +1 -1
- package/dist/{BlockNoteEditor-2QJVK2HH.mjs → BlockNoteEditor-WTSQANKI.mjs} +4 -4
- package/dist/{BlockNoteViewer-I2MMFH3S.js → BlockNoteViewer-EL4JFB6P.js} +3 -3
- package/dist/{BlockNoteViewer-I2MMFH3S.js.map → BlockNoteViewer-EL4JFB6P.js.map} +1 -1
- package/dist/{BlockNoteViewer-6BQXJ4TB.mjs → BlockNoteViewer-JVKWJZ6J.mjs} +2 -2
- package/dist/billing/index.js +441 -441
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-3VEQ5JZJ.js → chunk-3BAM23VA.js} +847 -847
- package/dist/chunk-3BAM23VA.js.map +1 -0
- package/dist/{chunk-JEZQTZQ4.mjs → chunk-6WU74VFU.mjs} +2 -2
- package/dist/{chunk-S5MQDWWC.js → chunk-CRI4T47Y.js} +736 -176
- package/dist/chunk-CRI4T47Y.js.map +1 -0
- package/dist/{chunk-75MLT74B.js → chunk-EO75CV76.js} +8 -8
- package/dist/{chunk-75MLT74B.js.map → chunk-EO75CV76.js.map} +1 -1
- package/dist/{chunk-NPKFMRH5.mjs → chunk-FNTQQFLH.mjs} +2 -2
- package/dist/{chunk-HNOWSFM5.mjs → chunk-JQWI62NV.mjs} +563 -3
- package/dist/chunk-JQWI62NV.mjs.map +1 -0
- package/dist/{chunk-2Z3ZCYXX.mjs → chunk-MIZTWBPX.mjs} +5 -5
- package/dist/chunk-MIZTWBPX.mjs.map +1 -0
- package/dist/{chunk-YMUPTXOT.mjs → chunk-QKZUE5OF.mjs} +2 -2
- package/dist/{chunk-EXICQC4A.js → chunk-QQQE3N2X.js} +3 -3
- package/dist/{chunk-EXICQC4A.js.map → chunk-QQQE3N2X.js.map} +1 -1
- package/dist/{chunk-THKYH65N.js → chunk-XGTQWBDJ.js} +4 -4
- package/dist/{chunk-THKYH65N.js.map → chunk-XGTQWBDJ.js.map} +1 -1
- package/dist/client/index.d.mts +6 -39
- package/dist/client/index.d.ts +6 -39
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.d.ts +2 -2
- 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 +187 -1
- package/dist/core/index.d.ts +187 -1
- package/dist/core/index.js +30 -2
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +29 -1
- package/dist/email-automation-enrollment.fields-BZvF14qx.d.mts +82 -0
- package/dist/email-automation-enrollment.fields-Cp3VMzFq.d.ts +82 -0
- package/dist/email-automations/index.css +30 -0
- package/dist/email-automations/index.css.map +1 -0
- package/dist/email-automations/index.d.mts +303 -0
- package/dist/email-automations/index.d.ts +303 -0
- package/dist/email-automations/index.js +1705 -0
- package/dist/email-automations/index.js.map +1 -0
- package/dist/email-automations/index.mjs +1705 -0
- package/dist/email-automations/index.mjs.map +1 -0
- package/dist/features/analytics/index.js +122 -122
- package/dist/features/analytics/index.mjs +4 -4
- package/dist/features/analytics/server.js +4 -4
- package/dist/features/analytics/server.mjs +2 -2
- package/dist/features/help/index.js +37 -37
- package/dist/features/help/index.mjs +3 -3
- package/dist/features/tokenusage/index.js +125 -125
- package/dist/features/tokenusage/index.mjs +4 -4
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +31 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +30 -2
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +2 -2
- package/dist/types-70acd-8C.d.mts +39 -0
- package/dist/types-l8SFleXi.d.ts +39 -0
- package/messages/en.json +117 -0
- package/messages/it.json +117 -0
- package/package.json +11 -1
- package/src/components/forms/FormFieldWrapper.tsx +1 -1
- package/src/components/forms/FormTextarea.tsx +2 -1
- package/src/core/index.ts +8 -0
- package/src/core/registry/ModuleRegistry.ts +5 -0
- package/src/email-automations/index.ts +5 -0
- package/src/features/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/dist/chunk-2Z3ZCYXX.mjs.map +0 -1
- package/dist/chunk-3VEQ5JZJ.js.map +0 -1
- package/dist/chunk-HNOWSFM5.mjs.map +0 -1
- package/dist/chunk-S5MQDWWC.js.map +0 -1
- /package/dist/{BlockNoteEditor-2QJVK2HH.mjs.map → BlockNoteEditor-WTSQANKI.mjs.map} +0 -0
- /package/dist/{BlockNoteViewer-6BQXJ4TB.mjs.map → BlockNoteViewer-JVKWJZ6J.mjs.map} +0 -0
- /package/dist/{chunk-JEZQTZQ4.mjs.map → chunk-6WU74VFU.mjs.map} +0 -0
- /package/dist/{chunk-NPKFMRH5.mjs.map → chunk-FNTQQFLH.mjs.map} +0 -0
- /package/dist/{chunk-YMUPTXOT.mjs.map → chunk-QKZUE5OF.mjs.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2; var _class3; var _class4; var _class5; var _class6; var _class7; var _class8; var _class9; var _class10; var _class11; var _class12; var _class13; var _class14; var _class15; var _class16; var _class17; var _class18; var _class19; var _class20; var _class21; var _class22; var _class23; var _class24; var _class25; var _class26; var _class27; var _class28; var _class29; var _class30; var _class31; var _class32; var _class33; var _class34; var _class35; var _class36; var _class37; var _class38;
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2; var _class3; var _class4; var _class5; var _class6; var _class7; var _class8; var _class9; var _class10; var _class11; var _class12; var _class13; var _class14; var _class15; var _class16; var _class17; var _class18; var _class19; var _class20; var _class21; var _class22; var _class23; var _class24; var _class25; var _class26; var _class27; var _class28; var _class29; var _class30; var _class31; var _class32; var _class33; var _class34; var _class35; var _class36; var _class37; var _class38; var _class39; var _class40;
|
|
2
2
|
|
|
3
3
|
var _chunkLXKSUWAVjs = require('./chunk-LXKSUWAV.js');
|
|
4
4
|
|
|
@@ -6165,6 +6165,552 @@ 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
|
+
|
|
6168
6714
|
// src/features/handbook/HandbookPageModule.ts
|
|
6169
6715
|
|
|
6170
6716
|
|
|
@@ -6384,7 +6930,7 @@ var HandbookSectionModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
|
|
|
6384
6930
|
|
|
6385
6931
|
// src/features/handbook/data/HandbookThreadMessage.ts
|
|
6386
6932
|
|
|
6387
|
-
var HandbookThreadMessage = (
|
|
6933
|
+
var HandbookThreadMessage = (_class21 = class _HandbookThreadMessage extends AbstractApiData {constructor(...args18) { super(...args18); _class21.prototype.__init42.call(this); }
|
|
6388
6934
|
static {
|
|
6389
6935
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "HandbookThreadMessage");
|
|
6390
6936
|
}
|
|
@@ -6392,7 +6938,7 @@ var HandbookThreadMessage = (_class19 = class _HandbookThreadMessage extends Abs
|
|
|
6392
6938
|
|
|
6393
6939
|
|
|
6394
6940
|
|
|
6395
|
-
|
|
6941
|
+
__init42() {this._isOptimistic = false}
|
|
6396
6942
|
get role() {
|
|
6397
6943
|
return _nullishCoalesce(this._role, () => ( "assistant"));
|
|
6398
6944
|
}
|
|
@@ -6490,7 +7036,7 @@ var HandbookThreadMessage = (_class19 = class _HandbookThreadMessage extends Abs
|
|
|
6490
7036
|
message._isOptimistic = _nullishCoalesce(params.isOptimistic, () => ( false));
|
|
6491
7037
|
return message;
|
|
6492
7038
|
}
|
|
6493
|
-
},
|
|
7039
|
+
}, _class21);
|
|
6494
7040
|
|
|
6495
7041
|
// src/features/handbook/HandbookThreadMessageModule.ts
|
|
6496
7042
|
var HandbookThreadMessageModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
@@ -6544,7 +7090,7 @@ var HandbookThread = class extends AbstractApiData {
|
|
|
6544
7090
|
super.rehydrate(data);
|
|
6545
7091
|
const attributes = _nullishCoalesce(data.jsonApi.attributes, () => ( {}));
|
|
6546
7092
|
this._title = attributes.title;
|
|
6547
|
-
const fromMeta = _optionalChain([data, 'access',
|
|
7093
|
+
const fromMeta = _optionalChain([data, 'access', _158 => _158.jsonApi, 'access', _159 => _159.meta, 'optionalAccess', _160 => _160.messageCount]);
|
|
6548
7094
|
this._messageCount = typeof fromMeta === "number" ? fromMeta : typeof attributes.messageCount === "number" ? attributes.messageCount : 0;
|
|
6549
7095
|
const messages = this._readIncluded(
|
|
6550
7096
|
data,
|
|
@@ -6667,9 +7213,9 @@ var HandbookPageService = class extends AbstractService {
|
|
|
6667
7213
|
const endpoint = new EndpointCreator({ endpoint: Modules.HandbookPage });
|
|
6668
7214
|
if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
|
|
6669
7215
|
if (params.search) endpoint.addAdditionalParam("search", params.search);
|
|
6670
|
-
if (_optionalChain([Modules, 'access',
|
|
7216
|
+
if (_optionalChain([Modules, 'access', _161 => _161.HandbookPage, 'access', _162 => _162.inclusions, 'optionalAccess', _163 => _163.lists, 'optionalAccess', _164 => _164.fields]))
|
|
6671
7217
|
endpoint.limitToFields(Modules.HandbookPage.inclusions.lists.fields);
|
|
6672
|
-
if (_optionalChain([Modules, 'access',
|
|
7218
|
+
if (_optionalChain([Modules, 'access', _165 => _165.HandbookPage, 'access', _166 => _166.inclusions, 'optionalAccess', _167 => _167.lists, 'optionalAccess', _168 => _168.types]))
|
|
6673
7219
|
endpoint.limitToType(Modules.HandbookPage.inclusions.lists.types);
|
|
6674
7220
|
return this.callApi({
|
|
6675
7221
|
type: Modules.HandbookPage,
|
|
@@ -6718,7 +7264,7 @@ var HandbookSectionService = class extends AbstractService {
|
|
|
6718
7264
|
static async findMany() {
|
|
6719
7265
|
const endpoint = new EndpointCreator({ endpoint: Modules.HandbookSection });
|
|
6720
7266
|
endpoint.addAdditionalParam("fetchAll", "true");
|
|
6721
|
-
if (_optionalChain([Modules, 'access',
|
|
7267
|
+
if (_optionalChain([Modules, 'access', _169 => _169.HandbookSection, 'access', _170 => _170.inclusions, 'optionalAccess', _171 => _171.lists, 'optionalAccess', _172 => _172.fields]))
|
|
6722
7268
|
endpoint.limitToFields(Modules.HandbookSection.inclusions.lists.fields);
|
|
6723
7269
|
return this.callApi({
|
|
6724
7270
|
type: Modules.HandbookSection,
|
|
@@ -6775,9 +7321,9 @@ var HandbookThreadService = class extends AbstractService {
|
|
|
6775
7321
|
const endpoint = new EndpointCreator({ endpoint: Modules.HandbookThread });
|
|
6776
7322
|
if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
|
|
6777
7323
|
if (params.search) endpoint.addAdditionalParam("search", params.search);
|
|
6778
|
-
if (_optionalChain([Modules, 'access',
|
|
7324
|
+
if (_optionalChain([Modules, 'access', _173 => _173.HandbookThread, 'access', _174 => _174.inclusions, 'optionalAccess', _175 => _175.lists, 'optionalAccess', _176 => _176.fields]))
|
|
6779
7325
|
endpoint.limitToFields(Modules.HandbookThread.inclusions.lists.fields);
|
|
6780
|
-
if (_optionalChain([Modules, 'access',
|
|
7326
|
+
if (_optionalChain([Modules, 'access', _177 => _177.HandbookThread, 'access', _178 => _178.inclusions, 'optionalAccess', _179 => _179.lists, 'optionalAccess', _180 => _180.types]))
|
|
6781
7327
|
endpoint.limitToType(Modules.HandbookThread.inclusions.lists.types);
|
|
6782
7328
|
return this.callApi({
|
|
6783
7329
|
type: Modules.HandbookThread,
|
|
@@ -6864,15 +7410,15 @@ var Assistant = class extends AbstractApiData {
|
|
|
6864
7410
|
}
|
|
6865
7411
|
rehydrate(data) {
|
|
6866
7412
|
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',
|
|
7413
|
+
this._title = _optionalChain([data, 'access', _181 => _181.jsonApi, 'access', _182 => _182.attributes, 'optionalAccess', _183 => _183.title]);
|
|
7414
|
+
this._engine = _optionalChain([data, 'access', _184 => _184.jsonApi, 'access', _185 => _185.attributes, 'optionalAccess', _186 => _186.engine]);
|
|
7415
|
+
const fromMeta = _optionalChain([data, 'access', _187 => _187.jsonApi, 'access', _188 => _188.meta, 'optionalAccess', _189 => _189.messageCount]);
|
|
7416
|
+
const fromAttrs = _optionalChain([data, 'access', _190 => _190.jsonApi, 'access', _191 => _191.attributes, 'optionalAccess', _192 => _192.messageCount]);
|
|
6871
7417
|
this._messageCount = typeof fromMeta === "number" ? fromMeta : typeof fromAttrs === "number" ? fromAttrs : 0;
|
|
6872
|
-
const contentLinkage = _optionalChain([data, 'access',
|
|
7418
|
+
const contentLinkage = _optionalChain([data, 'access', _193 => _193.jsonApi, 'access', _194 => _194.relationships, 'optionalAccess', _195 => _195.content, 'optionalAccess', _196 => _196.data]);
|
|
6873
7419
|
const boundContent = Array.isArray(contentLinkage) ? contentLinkage[0] : contentLinkage;
|
|
6874
|
-
this._boundContentType = _optionalChain([boundContent, 'optionalAccess',
|
|
6875
|
-
this._boundContentId = _optionalChain([boundContent, 'optionalAccess',
|
|
7420
|
+
this._boundContentType = _optionalChain([boundContent, 'optionalAccess', _197 => _197.type]);
|
|
7421
|
+
this._boundContentId = _optionalChain([boundContent, 'optionalAccess', _198 => _198.id]);
|
|
6876
7422
|
return this;
|
|
6877
7423
|
}
|
|
6878
7424
|
createJsonApi(data) {
|
|
@@ -6930,7 +7476,7 @@ function resolveReferenceableModules() {
|
|
|
6930
7476
|
_chunk7QVYU63Ejs.__name.call(void 0, resolveReferenceableModules, "resolveReferenceableModules");
|
|
6931
7477
|
|
|
6932
7478
|
// src/features/assistant-message/data/AssistantMessage.ts
|
|
6933
|
-
var AssistantMessage = (
|
|
7479
|
+
var AssistantMessage = (_class22 = class _AssistantMessage extends AbstractApiData {constructor(...args19) { super(...args19); _class22.prototype.__init43.call(this); }
|
|
6934
7480
|
static {
|
|
6935
7481
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AssistantMessage");
|
|
6936
7482
|
}
|
|
@@ -6942,7 +7488,7 @@ var AssistantMessage = (_class20 = class _AssistantMessage extends AbstractApiDa
|
|
|
6942
7488
|
|
|
6943
7489
|
|
|
6944
7490
|
|
|
6945
|
-
|
|
7491
|
+
__init43() {this._isOptimistic = false}
|
|
6946
7492
|
|
|
6947
7493
|
|
|
6948
7494
|
get role() {
|
|
@@ -6988,11 +7534,11 @@ var AssistantMessage = (_class20 = class _AssistantMessage extends AbstractApiDa
|
|
|
6988
7534
|
this._inputTokens = attrs.inputTokens;
|
|
6989
7535
|
this._outputTokens = attrs.outputTokens;
|
|
6990
7536
|
this._messageType = attrs.messageType;
|
|
6991
|
-
const actionRelationship = _optionalChain([data, 'access',
|
|
6992
|
-
this._actionId = Array.isArray(actionRelationship) ? _optionalChain([actionRelationship, 'access',
|
|
7537
|
+
const actionRelationship = _optionalChain([data, 'access', _199 => _199.jsonApi, 'access', _200 => _200.relationships, 'optionalAccess', _201 => _201.action, 'optionalAccess', _202 => _202.data]);
|
|
7538
|
+
this._actionId = Array.isArray(actionRelationship) ? _optionalChain([actionRelationship, 'access', _203 => _203[0], 'optionalAccess', _204 => _204.id]) : _optionalChain([actionRelationship, 'optionalAccess', _205 => _205.id]);
|
|
6993
7539
|
const refs = this._readIncludedPolymorphic(data, "references", resolveReferenceableModules());
|
|
6994
7540
|
this._references = Array.isArray(refs) ? refs : refs ? [refs] : [];
|
|
6995
|
-
if (_optionalChain([data, 'access',
|
|
7541
|
+
if (_optionalChain([data, 'access', _206 => _206.jsonApi, 'access', _207 => _207.relationships, 'optionalAccess', _208 => _208.citations, 'optionalAccess', _209 => _209.data])) {
|
|
6996
7542
|
const citations = this._readIncludedWithMeta(
|
|
6997
7543
|
data,
|
|
6998
7544
|
"citations",
|
|
@@ -7079,7 +7625,7 @@ var AssistantMessage = (_class20 = class _AssistantMessage extends AbstractApiDa
|
|
|
7079
7625
|
msg._isOptimistic = _nullishCoalesce(params.isOptimistic, () => ( false));
|
|
7080
7626
|
return msg;
|
|
7081
7627
|
}
|
|
7082
|
-
},
|
|
7628
|
+
}, _class22);
|
|
7083
7629
|
|
|
7084
7630
|
// src/features/assistant/data/AssistantService.ts
|
|
7085
7631
|
var AssistantService = class extends AbstractService {
|
|
@@ -7248,9 +7794,9 @@ var AssistantMessageService = class extends AbstractService {
|
|
|
7248
7794
|
id: params.assistantId,
|
|
7249
7795
|
childEndpoint: Modules.AssistantMessage
|
|
7250
7796
|
});
|
|
7251
|
-
if (_optionalChain([Modules, 'access',
|
|
7797
|
+
if (_optionalChain([Modules, 'access', _210 => _210.AssistantMessage, 'access', _211 => _211.inclusions, 'optionalAccess', _212 => _212.lists, 'optionalAccess', _213 => _213.fields]))
|
|
7252
7798
|
endpoint.limitToFields(Modules.AssistantMessage.inclusions.lists.fields);
|
|
7253
|
-
if (_optionalChain([Modules, 'access',
|
|
7799
|
+
if (_optionalChain([Modules, 'access', _214 => _214.AssistantMessage, 'access', _215 => _215.inclusions, 'optionalAccess', _216 => _216.lists, 'optionalAccess', _217 => _217.types]))
|
|
7254
7800
|
endpoint.limitToType(Modules.AssistantMessage.inclusions.lists.types);
|
|
7255
7801
|
return this.callApi({
|
|
7256
7802
|
type: Modules.AssistantMessage,
|
|
@@ -7264,9 +7810,9 @@ var AssistantMessageService = class extends AbstractService {
|
|
|
7264
7810
|
endpoint: Modules.AssistantMessage,
|
|
7265
7811
|
id: params.id
|
|
7266
7812
|
});
|
|
7267
|
-
if (_optionalChain([Modules, 'access',
|
|
7813
|
+
if (_optionalChain([Modules, 'access', _218 => _218.AssistantMessage, 'access', _219 => _219.inclusions, 'optionalAccess', _220 => _220.lists, 'optionalAccess', _221 => _221.fields]))
|
|
7268
7814
|
endpoint.limitToFields(Modules.AssistantMessage.inclusions.lists.fields);
|
|
7269
|
-
if (_optionalChain([Modules, 'access',
|
|
7815
|
+
if (_optionalChain([Modules, 'access', _222 => _222.AssistantMessage, 'access', _223 => _223.inclusions, 'optionalAccess', _224 => _224.lists, 'optionalAccess', _225 => _225.types]))
|
|
7270
7816
|
endpoint.limitToType(Modules.AssistantMessage.inclusions.lists.types);
|
|
7271
7817
|
return this.callApi({
|
|
7272
7818
|
type: Modules.AssistantMessage,
|
|
@@ -7472,13 +8018,13 @@ var ChunkModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory)
|
|
|
7472
8018
|
}), "ChunkModule");
|
|
7473
8019
|
|
|
7474
8020
|
// src/features/feature/data/feature.ts
|
|
7475
|
-
var Feature = (
|
|
8021
|
+
var Feature = (_class23 = class extends AbstractApiData {constructor(...args20) { super(...args20); _class23.prototype.__init44.call(this); }
|
|
7476
8022
|
static {
|
|
7477
8023
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "Feature");
|
|
7478
8024
|
}
|
|
7479
8025
|
|
|
7480
8026
|
|
|
7481
|
-
|
|
8027
|
+
__init44() {this._modules = []}
|
|
7482
8028
|
get name() {
|
|
7483
8029
|
return _nullishCoalesce(this._name, () => ( ""));
|
|
7484
8030
|
}
|
|
@@ -7495,7 +8041,7 @@ var Feature = (_class21 = class extends AbstractApiData {constructor(...args18)
|
|
|
7495
8041
|
this._modules = this._readIncluded(data, `modules`, Modules.Module);
|
|
7496
8042
|
return this;
|
|
7497
8043
|
}
|
|
7498
|
-
},
|
|
8044
|
+
}, _class23);
|
|
7499
8045
|
|
|
7500
8046
|
// src/features/feature/data/feature.service.ts
|
|
7501
8047
|
var FeatureService = class extends AbstractService {
|
|
@@ -7591,10 +8137,10 @@ var Notification = class extends AbstractApiData {
|
|
|
7591
8137
|
this._message = data.jsonApi.attributes.message;
|
|
7592
8138
|
this._actionUrl = data.jsonApi.attributes.actionUrl;
|
|
7593
8139
|
const rels = _nullishCoalesce(data.jsonApi.relationships, () => ( {}));
|
|
7594
|
-
const actorType = _optionalChain([rels, 'access',
|
|
8140
|
+
const actorType = _optionalChain([rels, 'access', _226 => _226.actor, 'optionalAccess', _227 => _227.data, 'optionalAccess', _228 => _228.type]);
|
|
7595
8141
|
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',
|
|
8142
|
+
const subjectName = Object.keys(rels).find((name) => name !== "actor" && _optionalChain([rels, 'access', _229 => _229[name], 'optionalAccess', _230 => _230.data, 'optionalAccess', _231 => _231.type]));
|
|
8143
|
+
const subjectType = subjectName ? _optionalChain([rels, 'access', _232 => _232[subjectName], 'optionalAccess', _233 => _233.data, 'optionalAccess', _234 => _234.type]) : void 0;
|
|
7598
8144
|
this._subject = subjectName && subjectType ? this._readIncluded(data, subjectName, Modules.findByName(subjectType)) : void 0;
|
|
7599
8145
|
return this;
|
|
7600
8146
|
}
|
|
@@ -7961,7 +8507,7 @@ var S3Service = class extends AbstractService {
|
|
|
7961
8507
|
};
|
|
7962
8508
|
|
|
7963
8509
|
// src/features/user/data/user.ts
|
|
7964
|
-
var User = (
|
|
8510
|
+
var User = (_class24 = class extends AbstractApiData {constructor(...args21) { super(...args21); _class24.prototype.__init45.call(this);_class24.prototype.__init46.call(this);_class24.prototype.__init47.call(this); }
|
|
7965
8511
|
static {
|
|
7966
8512
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "User");
|
|
7967
8513
|
}
|
|
@@ -7976,12 +8522,12 @@ var User = (_class22 = class extends AbstractApiData {constructor(...args19) { s
|
|
|
7976
8522
|
|
|
7977
8523
|
|
|
7978
8524
|
|
|
7979
|
-
|
|
8525
|
+
__init45() {this._twoFactorEnabled = false}
|
|
7980
8526
|
|
|
7981
8527
|
|
|
7982
|
-
|
|
8528
|
+
__init46() {this._roles = []}
|
|
7983
8529
|
|
|
7984
|
-
|
|
8530
|
+
__init47() {this._modules = []}
|
|
7985
8531
|
get searchResult() {
|
|
7986
8532
|
return _nullishCoalesce(this._name, () => ( ""));
|
|
7987
8533
|
}
|
|
@@ -8097,7 +8643,7 @@ var User = (_class22 = class extends AbstractApiData {constructor(...args19) { s
|
|
|
8097
8643
|
}
|
|
8098
8644
|
return response;
|
|
8099
8645
|
}
|
|
8100
|
-
},
|
|
8646
|
+
}, _class24);
|
|
8101
8647
|
|
|
8102
8648
|
// src/features/user/data/user.fields.ts
|
|
8103
8649
|
var UserFields = /* @__PURE__ */ ((UserFields2) => {
|
|
@@ -8167,8 +8713,8 @@ var UserService = class extends AbstractService {
|
|
|
8167
8713
|
id: params.id,
|
|
8168
8714
|
childEndpoint: "user-relevance"
|
|
8169
8715
|
});
|
|
8170
|
-
if (_optionalChain([Modules, 'access',
|
|
8171
|
-
if (_optionalChain([Modules, 'access',
|
|
8716
|
+
if (_optionalChain([Modules, 'access', _235 => _235.User, 'access', _236 => _236.inclusions, 'optionalAccess', _237 => _237.lists, 'optionalAccess', _238 => _238.fields])) endpoint.limitToFields(Modules.User.inclusions.lists.fields);
|
|
8717
|
+
if (_optionalChain([Modules, 'access', _239 => _239.User, 'access', _240 => _240.inclusions, 'optionalAccess', _241 => _241.lists, 'optionalAccess', _242 => _242.types])) endpoint.limitToType(Modules.User.inclusions.lists.types);
|
|
8172
8718
|
return this.callApi({
|
|
8173
8719
|
type: Modules.User,
|
|
8174
8720
|
method: "GET" /* GET */,
|
|
@@ -8346,18 +8892,18 @@ var UserModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory)
|
|
|
8346
8892
|
}), "UserModule");
|
|
8347
8893
|
|
|
8348
8894
|
// src/features/oauth/data/oauth.ts
|
|
8349
|
-
var OAuthClient = (
|
|
8895
|
+
var OAuthClient = (_class25 = class extends AbstractApiData {constructor(...args22) { super(...args22); _class25.prototype.__init48.call(this);_class25.prototype.__init49.call(this);_class25.prototype.__init50.call(this);_class25.prototype.__init51.call(this);_class25.prototype.__init52.call(this); }
|
|
8350
8896
|
static {
|
|
8351
8897
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "OAuthClient");
|
|
8352
8898
|
}
|
|
8353
8899
|
|
|
8354
8900
|
|
|
8355
8901
|
|
|
8356
|
-
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
|
-
|
|
8360
|
-
|
|
8902
|
+
__init48() {this._redirectUris = []}
|
|
8903
|
+
__init49() {this._allowedScopes = []}
|
|
8904
|
+
__init50() {this._allowedGrantTypes = []}
|
|
8905
|
+
__init51() {this._isConfidential = true}
|
|
8906
|
+
__init52() {this._isActive = true}
|
|
8361
8907
|
get clientId() {
|
|
8362
8908
|
return _nullishCoalesce(this._clientId, () => ( this.id));
|
|
8363
8909
|
}
|
|
@@ -8440,7 +8986,7 @@ var OAuthClient = (_class23 = class extends AbstractApiData {constructor(...args
|
|
|
8440
8986
|
state: params.state
|
|
8441
8987
|
};
|
|
8442
8988
|
}
|
|
8443
|
-
},
|
|
8989
|
+
}, _class25);
|
|
8444
8990
|
|
|
8445
8991
|
// src/features/oauth/oauth.module.ts
|
|
8446
8992
|
var OAuthModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
@@ -8465,7 +9011,7 @@ var OAuthService = class extends AbstractService {
|
|
|
8465
9011
|
type: Modules.OAuth,
|
|
8466
9012
|
method: "GET" /* GET */,
|
|
8467
9013
|
endpoint: new EndpointCreator({ endpoint: "oauth/clients" }).generate(),
|
|
8468
|
-
next: _optionalChain([params, 'optionalAccess',
|
|
9014
|
+
next: _optionalChain([params, 'optionalAccess', _243 => _243.next])
|
|
8469
9015
|
});
|
|
8470
9016
|
}
|
|
8471
9017
|
/**
|
|
@@ -8491,7 +9037,7 @@ var OAuthService = class extends AbstractService {
|
|
|
8491
9037
|
});
|
|
8492
9038
|
return {
|
|
8493
9039
|
client: result.data,
|
|
8494
|
-
clientSecret: _optionalChain([result, 'access',
|
|
9040
|
+
clientSecret: _optionalChain([result, 'access', _244 => _244.meta, 'optionalAccess', _245 => _245.clientSecret])
|
|
8495
9041
|
};
|
|
8496
9042
|
}
|
|
8497
9043
|
/**
|
|
@@ -8530,7 +9076,7 @@ var OAuthService = class extends AbstractService {
|
|
|
8530
9076
|
}).generate()
|
|
8531
9077
|
});
|
|
8532
9078
|
return {
|
|
8533
|
-
clientSecret: _optionalChain([result, 'access',
|
|
9079
|
+
clientSecret: _optionalChain([result, 'access', _246 => _246.meta, 'optionalAccess', _247 => _247.clientSecret])
|
|
8534
9080
|
};
|
|
8535
9081
|
}
|
|
8536
9082
|
// ==========================================
|
|
@@ -8567,7 +9113,7 @@ var OAuthService = class extends AbstractService {
|
|
|
8567
9113
|
overridesJsonApiCreation: true
|
|
8568
9114
|
});
|
|
8569
9115
|
return {
|
|
8570
|
-
redirectUrl: _optionalChain([result, 'access',
|
|
9116
|
+
redirectUrl: _optionalChain([result, 'access', _248 => _248.meta, 'optionalAccess', _249 => _249.redirectUrl])
|
|
8571
9117
|
};
|
|
8572
9118
|
}
|
|
8573
9119
|
/**
|
|
@@ -8583,7 +9129,7 @@ var OAuthService = class extends AbstractService {
|
|
|
8583
9129
|
overridesJsonApiCreation: true
|
|
8584
9130
|
});
|
|
8585
9131
|
return {
|
|
8586
|
-
redirectUrl: _optionalChain([result, 'access',
|
|
9132
|
+
redirectUrl: _optionalChain([result, 'access', _250 => _250.meta, 'optionalAccess', _251 => _251.redirectUrl])
|
|
8587
9133
|
};
|
|
8588
9134
|
}
|
|
8589
9135
|
};
|
|
@@ -8625,17 +9171,17 @@ var AVAILABLE_OAUTH_SCOPES = Object.values(OAUTH_SCOPE_DISPLAY);
|
|
|
8625
9171
|
var DEFAULT_GRANT_TYPES = ["authorization_code", "refresh_token"];
|
|
8626
9172
|
|
|
8627
9173
|
// src/features/waitlist/data/Waitlist.ts
|
|
8628
|
-
var Waitlist = (
|
|
9174
|
+
var Waitlist = (_class26 = class extends AbstractApiData {constructor(...args23) { super(...args23); _class26.prototype.__init53.call(this);_class26.prototype.__init54.call(this); }
|
|
8629
9175
|
static {
|
|
8630
9176
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "Waitlist");
|
|
8631
9177
|
}
|
|
8632
9178
|
|
|
8633
|
-
|
|
9179
|
+
__init53() {this._gdprConsent = false}
|
|
8634
9180
|
|
|
8635
9181
|
|
|
8636
9182
|
|
|
8637
9183
|
|
|
8638
|
-
|
|
9184
|
+
__init54() {this._status = "pending"}
|
|
8639
9185
|
|
|
8640
9186
|
|
|
8641
9187
|
|
|
@@ -8749,7 +9295,7 @@ var Waitlist = (_class24 = class extends AbstractApiData {constructor(...args21)
|
|
|
8749
9295
|
}
|
|
8750
9296
|
return response;
|
|
8751
9297
|
}
|
|
8752
|
-
},
|
|
9298
|
+
}, _class26);
|
|
8753
9299
|
|
|
8754
9300
|
// src/features/waitlist/data/WaitlistService.ts
|
|
8755
9301
|
var WaitlistService = class extends AbstractService {
|
|
@@ -8789,15 +9335,15 @@ var WaitlistService = class extends AbstractService {
|
|
|
8789
9335
|
*/
|
|
8790
9336
|
static async findMany(params) {
|
|
8791
9337
|
const endpoint = new EndpointCreator({ endpoint: Modules.Waitlist });
|
|
8792
|
-
if (_optionalChain([params, 'optionalAccess',
|
|
8793
|
-
if (_optionalChain([params, 'optionalAccess',
|
|
8794
|
-
if (_optionalChain([params, 'optionalAccess',
|
|
9338
|
+
if (_optionalChain([params, 'optionalAccess', _252 => _252.status])) endpoint.addAdditionalParam("status", params.status);
|
|
9339
|
+
if (_optionalChain([params, 'optionalAccess', _253 => _253.search])) endpoint.addAdditionalParam("search", params.search);
|
|
9340
|
+
if (_optionalChain([params, 'optionalAccess', _254 => _254.fetchAll])) endpoint.addAdditionalParam("fetchAll", "true");
|
|
8795
9341
|
return this.callApi({
|
|
8796
9342
|
type: Modules.Waitlist,
|
|
8797
9343
|
method: "GET" /* GET */,
|
|
8798
9344
|
endpoint: endpoint.generate(),
|
|
8799
|
-
next: _optionalChain([params, 'optionalAccess',
|
|
8800
|
-
previous: _optionalChain([params, 'optionalAccess',
|
|
9345
|
+
next: _optionalChain([params, 'optionalAccess', _255 => _255.next]),
|
|
9346
|
+
previous: _optionalChain([params, 'optionalAccess', _256 => _256.previous])
|
|
8801
9347
|
});
|
|
8802
9348
|
}
|
|
8803
9349
|
/**
|
|
@@ -8866,10 +9412,10 @@ var WaitlistService = class extends AbstractService {
|
|
|
8866
9412
|
method: "GET" /* GET */,
|
|
8867
9413
|
endpoint: endpoint.generate()
|
|
8868
9414
|
});
|
|
8869
|
-
const attributes = _optionalChain([response, 'access',
|
|
9415
|
+
const attributes = _optionalChain([response, 'access', _257 => _257.data, 'optionalAccess', _258 => _258._jsonApi, 'optionalAccess', _259 => _259.attributes]);
|
|
8870
9416
|
return {
|
|
8871
|
-
email: _optionalChain([attributes, 'optionalAccess',
|
|
8872
|
-
valid: _nullishCoalesce(_optionalChain([attributes, 'optionalAccess',
|
|
9417
|
+
email: _optionalChain([attributes, 'optionalAccess', _260 => _260.email]),
|
|
9418
|
+
valid: _nullishCoalesce(_optionalChain([attributes, 'optionalAccess', _261 => _261.valid]), () => ( false))
|
|
8873
9419
|
};
|
|
8874
9420
|
} catch (_error) {
|
|
8875
9421
|
return null;
|
|
@@ -8878,15 +9424,15 @@ var WaitlistService = class extends AbstractService {
|
|
|
8878
9424
|
};
|
|
8879
9425
|
|
|
8880
9426
|
// src/features/waitlist/data/waitlist-stats.ts
|
|
8881
|
-
var WaitlistStats = (
|
|
9427
|
+
var WaitlistStats = (_class27 = class extends AbstractApiData {constructor(...args24) { super(...args24); _class27.prototype.__init55.call(this);_class27.prototype.__init56.call(this);_class27.prototype.__init57.call(this);_class27.prototype.__init58.call(this);_class27.prototype.__init59.call(this); }
|
|
8882
9428
|
static {
|
|
8883
9429
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "WaitlistStats");
|
|
8884
9430
|
}
|
|
8885
|
-
|
|
8886
|
-
|
|
8887
|
-
|
|
8888
|
-
|
|
8889
|
-
|
|
9431
|
+
__init55() {this._pending = 0}
|
|
9432
|
+
__init56() {this._confirmed = 0}
|
|
9433
|
+
__init57() {this._invited = 0}
|
|
9434
|
+
__init58() {this._registered = 0}
|
|
9435
|
+
__init59() {this._total = 0}
|
|
8890
9436
|
get pending() {
|
|
8891
9437
|
return this._pending;
|
|
8892
9438
|
}
|
|
@@ -8915,7 +9461,7 @@ var WaitlistStats = (_class25 = class extends AbstractApiData {constructor(...ar
|
|
|
8915
9461
|
createJsonApi(_data) {
|
|
8916
9462
|
throw new Error("WaitlistStats is read-only and cannot be created");
|
|
8917
9463
|
}
|
|
8918
|
-
},
|
|
9464
|
+
}, _class27);
|
|
8919
9465
|
|
|
8920
9466
|
// src/features/waitlist/data/waitlist.fields.ts
|
|
8921
9467
|
var WaitlistFields = /* @__PURE__ */ ((WaitlistFields2) => {
|
|
@@ -8967,7 +9513,7 @@ var PermissionMapping = class extends AbstractApiData {
|
|
|
8967
9513
|
super.rehydrate(data);
|
|
8968
9514
|
this._roleId = data.jsonApi.attributes.roleId;
|
|
8969
9515
|
this._moduleId = data.jsonApi.attributes.moduleId;
|
|
8970
|
-
this._permissions = _optionalChain([data, 'access',
|
|
9516
|
+
this._permissions = _optionalChain([data, 'access', _262 => _262.jsonApi, 'access', _263 => _263.meta, 'optionalAccess', _264 => _264.permissions]);
|
|
8971
9517
|
return this;
|
|
8972
9518
|
}
|
|
8973
9519
|
};
|
|
@@ -9143,18 +9689,18 @@ var ReferralStatsModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
|
|
|
9143
9689
|
}), "ReferralStatsModule");
|
|
9144
9690
|
|
|
9145
9691
|
// src/features/tokenusage/data/tokenusage-admin-breakdown.ts
|
|
9146
|
-
var TokenUsageAdminBreakdown = (
|
|
9692
|
+
var TokenUsageAdminBreakdown = (_class28 = class extends AbstractApiData {constructor(...args25) { super(...args25); _class28.prototype.__init60.call(this);_class28.prototype.__init61.call(this);_class28.prototype.__init62.call(this);_class28.prototype.__init63.call(this);_class28.prototype.__init64.call(this);_class28.prototype.__init65.call(this);_class28.prototype.__init66.call(this); }
|
|
9147
9693
|
static {
|
|
9148
9694
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageAdminBreakdown");
|
|
9149
9695
|
}
|
|
9150
|
-
|
|
9696
|
+
__init60() {this._label = ""}
|
|
9151
9697
|
|
|
9152
|
-
|
|
9153
|
-
|
|
9154
|
-
|
|
9155
|
-
|
|
9156
|
-
|
|
9157
|
-
|
|
9698
|
+
__init61() {this._cost = 0}
|
|
9699
|
+
__init62() {this._credits = 0}
|
|
9700
|
+
__init63() {this._tokensIn = 0}
|
|
9701
|
+
__init64() {this._tokensOut = 0}
|
|
9702
|
+
__init65() {this._cached = 0}
|
|
9703
|
+
__init66() {this._calls = 0}
|
|
9158
9704
|
|
|
9159
9705
|
|
|
9160
9706
|
|
|
@@ -9231,21 +9777,21 @@ var TokenUsageAdminBreakdown = (_class26 = class extends AbstractApiData {constr
|
|
|
9231
9777
|
response.data.attributes.availableMonthlyCredits = data.availableMonthlyCredits;
|
|
9232
9778
|
return response;
|
|
9233
9779
|
}
|
|
9234
|
-
},
|
|
9780
|
+
}, _class28);
|
|
9235
9781
|
|
|
9236
9782
|
// src/features/tokenusage/data/tokenusage-admin-summary.ts
|
|
9237
|
-
var TokenUsageAdminSummary = (
|
|
9783
|
+
var TokenUsageAdminSummary = (_class29 = class extends AbstractApiData {constructor(...args26) { super(...args26); _class29.prototype.__init67.call(this);_class29.prototype.__init68.call(this);_class29.prototype.__init69.call(this);_class29.prototype.__init70.call(this);_class29.prototype.__init71.call(this);_class29.prototype.__init72.call(this);_class29.prototype.__init73.call(this);_class29.prototype.__init74.call(this); }
|
|
9238
9784
|
static {
|
|
9239
9785
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageAdminSummary");
|
|
9240
9786
|
}
|
|
9241
|
-
|
|
9242
|
-
|
|
9243
|
-
|
|
9244
|
-
|
|
9245
|
-
|
|
9246
|
-
|
|
9247
|
-
|
|
9248
|
-
|
|
9787
|
+
__init67() {this._scope = ""}
|
|
9788
|
+
__init68() {this._window = ""}
|
|
9789
|
+
__init69() {this._cost = 0}
|
|
9790
|
+
__init70() {this._credits = 0}
|
|
9791
|
+
__init71() {this._tokensIn = 0}
|
|
9792
|
+
__init72() {this._tokensOut = 0}
|
|
9793
|
+
__init73() {this._cached = 0}
|
|
9794
|
+
__init74() {this._calls = 0}
|
|
9249
9795
|
get scope() {
|
|
9250
9796
|
return this._scope;
|
|
9251
9797
|
}
|
|
@@ -9303,21 +9849,21 @@ var TokenUsageAdminSummary = (_class27 = class extends AbstractApiData {construc
|
|
|
9303
9849
|
if (data.calls !== void 0) response.data.attributes.calls = data.calls;
|
|
9304
9850
|
return response;
|
|
9305
9851
|
}
|
|
9306
|
-
},
|
|
9852
|
+
}, _class29);
|
|
9307
9853
|
|
|
9308
9854
|
// src/features/tokenusage/data/tokenusage-admin-timeline.ts
|
|
9309
|
-
var TokenUsageAdminTimeline = (
|
|
9855
|
+
var TokenUsageAdminTimeline = (_class30 = class extends AbstractApiData {constructor(...args27) { super(...args27); _class30.prototype.__init75.call(this);_class30.prototype.__init76.call(this);_class30.prototype.__init77.call(this);_class30.prototype.__init78.call(this);_class30.prototype.__init79.call(this);_class30.prototype.__init80.call(this);_class30.prototype.__init81.call(this);_class30.prototype.__init82.call(this); }
|
|
9310
9856
|
static {
|
|
9311
9857
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageAdminTimeline");
|
|
9312
9858
|
}
|
|
9313
|
-
|
|
9314
|
-
|
|
9315
|
-
|
|
9316
|
-
|
|
9317
|
-
|
|
9318
|
-
|
|
9319
|
-
|
|
9320
|
-
|
|
9859
|
+
__init75() {this._bucket = /* @__PURE__ */ new Date(0)}
|
|
9860
|
+
__init76() {this._series = ""}
|
|
9861
|
+
__init77() {this._cost = 0}
|
|
9862
|
+
__init78() {this._credits = 0}
|
|
9863
|
+
__init79() {this._tokensIn = 0}
|
|
9864
|
+
__init80() {this._tokensOut = 0}
|
|
9865
|
+
__init81() {this._cached = 0}
|
|
9866
|
+
__init82() {this._calls = 0}
|
|
9321
9867
|
get bucket() {
|
|
9322
9868
|
return this._bucket;
|
|
9323
9869
|
}
|
|
@@ -9375,7 +9921,7 @@ var TokenUsageAdminTimeline = (_class28 = class extends AbstractApiData {constru
|
|
|
9375
9921
|
if (data.calls !== void 0) response.data.attributes.calls = data.calls;
|
|
9376
9922
|
return response;
|
|
9377
9923
|
}
|
|
9378
|
-
},
|
|
9924
|
+
}, _class30);
|
|
9379
9925
|
|
|
9380
9926
|
// src/features/tokenusage/tokenusage-admin.module.ts
|
|
9381
9927
|
var TokenUsageAdminSummaryModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({ name: "tokenusages/administration/summary", model: TokenUsageAdminSummary }), "TokenUsageAdminSummaryModule");
|
|
@@ -9383,18 +9929,18 @@ var TokenUsageAdminTimelineModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call
|
|
|
9383
9929
|
var TokenUsageAdminBreakdownModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({ name: "tokenusages/administration/breakdown", model: TokenUsageAdminBreakdown }), "TokenUsageAdminBreakdownModule");
|
|
9384
9930
|
|
|
9385
9931
|
// src/features/tokenusage/data/tokenusage-report-breakdown.ts
|
|
9386
|
-
var TokenUsageReportBreakdown = (
|
|
9932
|
+
var TokenUsageReportBreakdown = (_class31 = class extends AbstractApiData {constructor(...args28) { super(...args28); _class31.prototype.__init83.call(this);_class31.prototype.__init84.call(this);_class31.prototype.__init85.call(this);_class31.prototype.__init86.call(this);_class31.prototype.__init87.call(this);_class31.prototype.__init88.call(this);_class31.prototype.__init89.call(this); }
|
|
9387
9933
|
static {
|
|
9388
9934
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageReportBreakdown");
|
|
9389
9935
|
}
|
|
9390
|
-
|
|
9936
|
+
__init83() {this._label = ""}
|
|
9391
9937
|
|
|
9392
|
-
|
|
9393
|
-
|
|
9394
|
-
|
|
9395
|
-
|
|
9396
|
-
|
|
9397
|
-
|
|
9938
|
+
__init84() {this._cost = 0}
|
|
9939
|
+
__init85() {this._credits = 0}
|
|
9940
|
+
__init86() {this._tokensIn = 0}
|
|
9941
|
+
__init87() {this._tokensOut = 0}
|
|
9942
|
+
__init88() {this._cached = 0}
|
|
9943
|
+
__init89() {this._calls = 0}
|
|
9398
9944
|
get label() {
|
|
9399
9945
|
return this._label;
|
|
9400
9946
|
}
|
|
@@ -9452,20 +9998,20 @@ var TokenUsageReportBreakdown = (_class29 = class extends AbstractApiData {const
|
|
|
9452
9998
|
if (data.calls !== void 0) response.data.attributes.calls = data.calls;
|
|
9453
9999
|
return response;
|
|
9454
10000
|
}
|
|
9455
|
-
},
|
|
10001
|
+
}, _class31);
|
|
9456
10002
|
|
|
9457
10003
|
// src/features/tokenusage/data/tokenusage-report-summary.ts
|
|
9458
|
-
var TokenUsageReportSummary = (
|
|
10004
|
+
var TokenUsageReportSummary = (_class32 = class extends AbstractApiData {constructor(...args29) { super(...args29); _class32.prototype.__init90.call(this);_class32.prototype.__init91.call(this);_class32.prototype.__init92.call(this);_class32.prototype.__init93.call(this);_class32.prototype.__init94.call(this);_class32.prototype.__init95.call(this);_class32.prototype.__init96.call(this); }
|
|
9459
10005
|
static {
|
|
9460
10006
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageReportSummary");
|
|
9461
10007
|
}
|
|
9462
|
-
|
|
9463
|
-
|
|
9464
|
-
|
|
9465
|
-
|
|
9466
|
-
|
|
9467
|
-
|
|
9468
|
-
|
|
10008
|
+
__init90() {this._window = ""}
|
|
10009
|
+
__init91() {this._cost = 0}
|
|
10010
|
+
__init92() {this._credits = 0}
|
|
10011
|
+
__init93() {this._tokensIn = 0}
|
|
10012
|
+
__init94() {this._tokensOut = 0}
|
|
10013
|
+
__init95() {this._cached = 0}
|
|
10014
|
+
__init96() {this._calls = 0}
|
|
9469
10015
|
get window() {
|
|
9470
10016
|
return this._window;
|
|
9471
10017
|
}
|
|
@@ -9518,21 +10064,21 @@ var TokenUsageReportSummary = (_class30 = class extends AbstractApiData {constru
|
|
|
9518
10064
|
if (data.calls !== void 0) response.data.attributes.calls = data.calls;
|
|
9519
10065
|
return response;
|
|
9520
10066
|
}
|
|
9521
|
-
},
|
|
10067
|
+
}, _class32);
|
|
9522
10068
|
|
|
9523
10069
|
// src/features/tokenusage/data/tokenusage-report-timeline.ts
|
|
9524
|
-
var TokenUsageReportTimeline = (
|
|
10070
|
+
var TokenUsageReportTimeline = (_class33 = class extends AbstractApiData {constructor(...args30) { super(...args30); _class33.prototype.__init97.call(this);_class33.prototype.__init98.call(this);_class33.prototype.__init99.call(this);_class33.prototype.__init100.call(this);_class33.prototype.__init101.call(this);_class33.prototype.__init102.call(this);_class33.prototype.__init103.call(this);_class33.prototype.__init104.call(this); }
|
|
9525
10071
|
static {
|
|
9526
10072
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "TokenUsageReportTimeline");
|
|
9527
10073
|
}
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
10074
|
+
__init97() {this._bucket = /* @__PURE__ */ new Date(0)}
|
|
10075
|
+
__init98() {this._series = ""}
|
|
10076
|
+
__init99() {this._cost = 0}
|
|
10077
|
+
__init100() {this._credits = 0}
|
|
10078
|
+
__init101() {this._tokensIn = 0}
|
|
10079
|
+
__init102() {this._tokensOut = 0}
|
|
10080
|
+
__init103() {this._cached = 0}
|
|
10081
|
+
__init104() {this._calls = 0}
|
|
9536
10082
|
get bucket() {
|
|
9537
10083
|
return this._bucket;
|
|
9538
10084
|
}
|
|
@@ -9590,7 +10136,7 @@ var TokenUsageReportTimeline = (_class31 = class extends AbstractApiData {constr
|
|
|
9590
10136
|
if (data.calls !== void 0) response.data.attributes.calls = data.calls;
|
|
9591
10137
|
return response;
|
|
9592
10138
|
}
|
|
9593
|
-
},
|
|
10139
|
+
}, _class33);
|
|
9594
10140
|
|
|
9595
10141
|
// src/features/tokenusage/tokenusage.modules.ts
|
|
9596
10142
|
var tokenUsageModules = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => ({
|
|
@@ -9606,15 +10152,15 @@ var tokenUsageModules = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (fa
|
|
|
9606
10152
|
}), "tokenUsageModules");
|
|
9607
10153
|
|
|
9608
10154
|
// src/features/analytics/data/analytics-breakdown.ts
|
|
9609
|
-
var AnalyticsBreakdown = (
|
|
10155
|
+
var AnalyticsBreakdown = (_class34 = class extends AbstractApiData {constructor(...args31) { super(...args31); _class34.prototype.__init105.call(this);_class34.prototype.__init106.call(this);_class34.prototype.__init107.call(this);_class34.prototype.__init108.call(this);_class34.prototype.__init109.call(this); }
|
|
9610
10156
|
static {
|
|
9611
10157
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsBreakdown");
|
|
9612
10158
|
}
|
|
9613
|
-
|
|
9614
|
-
|
|
9615
|
-
|
|
9616
|
-
|
|
9617
|
-
|
|
10159
|
+
__init105() {this._dimension = ""}
|
|
10160
|
+
__init106() {this._key = ""}
|
|
10161
|
+
__init107() {this._visitors = 0}
|
|
10162
|
+
__init108() {this._sessions = 0}
|
|
10163
|
+
__init109() {this._pageViews = 0}
|
|
9618
10164
|
get dimension() {
|
|
9619
10165
|
return this._dimension;
|
|
9620
10166
|
}
|
|
@@ -9657,16 +10203,16 @@ var AnalyticsBreakdown = (_class32 = class extends AbstractApiData {constructor(
|
|
|
9657
10203
|
if (data.pageViews !== void 0) response.data.attributes.pageViews = data.pageViews;
|
|
9658
10204
|
return response;
|
|
9659
10205
|
}
|
|
9660
|
-
},
|
|
10206
|
+
}, _class34);
|
|
9661
10207
|
|
|
9662
10208
|
// src/features/analytics/data/analytics-event.ts
|
|
9663
10209
|
var ANALYTICS_EVENT_TYPE = "analytics-events";
|
|
9664
|
-
var AnalyticsEvent = (
|
|
10210
|
+
var AnalyticsEvent = (_class35 = class extends AbstractApiData {constructor(...args32) { super(...args32); _class35.prototype.__init110.call(this);_class35.prototype.__init111.call(this); }
|
|
9665
10211
|
static {
|
|
9666
10212
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsEvent");
|
|
9667
10213
|
}
|
|
9668
|
-
|
|
9669
|
-
|
|
10214
|
+
__init110() {this._path = ""}
|
|
10215
|
+
__init111() {this._section = ""}
|
|
9670
10216
|
get path() {
|
|
9671
10217
|
return this._path;
|
|
9672
10218
|
}
|
|
@@ -9702,16 +10248,16 @@ var AnalyticsEvent = (_class33 = class extends AbstractApiData {constructor(...a
|
|
|
9702
10248
|
if (data.screenWidth !== void 0) response.data.attributes.screenWidth = data.screenWidth;
|
|
9703
10249
|
return response;
|
|
9704
10250
|
}
|
|
9705
|
-
},
|
|
10251
|
+
}, _class35);
|
|
9706
10252
|
|
|
9707
10253
|
// src/features/analytics/data/analytics-page-view.ts
|
|
9708
|
-
var AnalyticsPageView = (
|
|
10254
|
+
var AnalyticsPageView = (_class36 = class extends AbstractApiData {constructor(...args33) { super(...args33); _class36.prototype.__init112.call(this);_class36.prototype.__init113.call(this);_class36.prototype.__init114.call(this); }
|
|
9709
10255
|
static {
|
|
9710
10256
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsPageView");
|
|
9711
10257
|
}
|
|
9712
|
-
|
|
9713
|
-
|
|
9714
|
-
|
|
10258
|
+
__init112() {this._path = ""}
|
|
10259
|
+
__init113() {this._route = ""}
|
|
10260
|
+
__init114() {this._section = ""}
|
|
9715
10261
|
get path() {
|
|
9716
10262
|
return this._path;
|
|
9717
10263
|
}
|
|
@@ -9746,27 +10292,27 @@ var AnalyticsPageView = (_class34 = class extends AbstractApiData {constructor(.
|
|
|
9746
10292
|
if (data.section !== void 0) response.data.attributes.section = data.section;
|
|
9747
10293
|
return response;
|
|
9748
10294
|
}
|
|
9749
|
-
},
|
|
10295
|
+
}, _class36);
|
|
9750
10296
|
|
|
9751
10297
|
// src/features/analytics/data/analytics-session.ts
|
|
9752
|
-
var AnalyticsSession = (
|
|
10298
|
+
var AnalyticsSession = (_class37 = class extends AbstractApiData {constructor(...args34) { super(...args34); _class37.prototype.__init115.call(this);_class37.prototype.__init116.call(this);_class37.prototype.__init117.call(this);_class37.prototype.__init118.call(this);_class37.prototype.__init119.call(this);_class37.prototype.__init120.call(this);_class37.prototype.__init121.call(this);_class37.prototype.__init122.call(this); }
|
|
9753
10299
|
static {
|
|
9754
10300
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsSession");
|
|
9755
10301
|
}
|
|
9756
|
-
|
|
9757
|
-
|
|
9758
|
-
|
|
9759
|
-
|
|
9760
|
-
|
|
9761
|
-
|
|
9762
|
-
|
|
10302
|
+
__init115() {this._visitorId = ""}
|
|
10303
|
+
__init116() {this._consented = false}
|
|
10304
|
+
__init117() {this._startedAt = /* @__PURE__ */ new Date(0)}
|
|
10305
|
+
__init118() {this._lastSeenAt = /* @__PURE__ */ new Date(0)}
|
|
10306
|
+
__init119() {this._pageViews = 0}
|
|
10307
|
+
__init120() {this._section = ""}
|
|
10308
|
+
__init121() {this._landingRoute = ""}
|
|
9763
10309
|
|
|
9764
10310
|
|
|
9765
10311
|
|
|
9766
10312
|
|
|
9767
10313
|
|
|
9768
10314
|
|
|
9769
|
-
|
|
10315
|
+
__init122() {this._deviceType = ""}
|
|
9770
10316
|
|
|
9771
10317
|
get visitorId() {
|
|
9772
10318
|
return this._visitorId;
|
|
@@ -9864,20 +10410,20 @@ var AnalyticsSession = (_class35 = class extends AbstractApiData {constructor(..
|
|
|
9864
10410
|
}
|
|
9865
10411
|
return response;
|
|
9866
10412
|
}
|
|
9867
|
-
},
|
|
10413
|
+
}, _class37);
|
|
9868
10414
|
|
|
9869
10415
|
// src/features/analytics/data/analytics-summary.ts
|
|
9870
|
-
var AnalyticsSummary = (
|
|
10416
|
+
var AnalyticsSummary = (_class38 = class extends AbstractApiData {constructor(...args35) { super(...args35); _class38.prototype.__init123.call(this);_class38.prototype.__init124.call(this);_class38.prototype.__init125.call(this);_class38.prototype.__init126.call(this);_class38.prototype.__init127.call(this);_class38.prototype.__init128.call(this);_class38.prototype.__init129.call(this); }
|
|
9871
10417
|
static {
|
|
9872
10418
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsSummary");
|
|
9873
10419
|
}
|
|
9874
|
-
|
|
9875
|
-
|
|
9876
|
-
|
|
9877
|
-
|
|
9878
|
-
|
|
9879
|
-
|
|
9880
|
-
|
|
10420
|
+
__init123() {this._section = ""}
|
|
10421
|
+
__init124() {this._window = ""}
|
|
10422
|
+
__init125() {this._visitors = 0}
|
|
10423
|
+
__init126() {this._sessions = 0}
|
|
10424
|
+
__init127() {this._pageViews = 0}
|
|
10425
|
+
__init128() {this._pagesPerSession = 0}
|
|
10426
|
+
__init129() {this._consentShare = 0}
|
|
9881
10427
|
get section() {
|
|
9882
10428
|
return this._section;
|
|
9883
10429
|
}
|
|
@@ -9930,18 +10476,18 @@ var AnalyticsSummary = (_class36 = class extends AbstractApiData {constructor(..
|
|
|
9930
10476
|
if (data.consentShare !== void 0) response.data.attributes.consentShare = data.consentShare;
|
|
9931
10477
|
return response;
|
|
9932
10478
|
}
|
|
9933
|
-
},
|
|
10479
|
+
}, _class38);
|
|
9934
10480
|
|
|
9935
10481
|
// src/features/analytics/data/analytics-timeline.ts
|
|
9936
|
-
var AnalyticsTimeline = (
|
|
10482
|
+
var AnalyticsTimeline = (_class39 = class extends AbstractApiData {constructor(...args36) { super(...args36); _class39.prototype.__init130.call(this);_class39.prototype.__init131.call(this);_class39.prototype.__init132.call(this);_class39.prototype.__init133.call(this);_class39.prototype.__init134.call(this); }
|
|
9937
10483
|
static {
|
|
9938
10484
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AnalyticsTimeline");
|
|
9939
10485
|
}
|
|
9940
|
-
|
|
9941
|
-
|
|
9942
|
-
|
|
9943
|
-
|
|
9944
|
-
|
|
10486
|
+
__init130() {this._bucket = /* @__PURE__ */ new Date(0)}
|
|
10487
|
+
__init131() {this._section = ""}
|
|
10488
|
+
__init132() {this._visitors = 0}
|
|
10489
|
+
__init133() {this._sessions = 0}
|
|
10490
|
+
__init134() {this._pageViews = 0}
|
|
9945
10491
|
get bucket() {
|
|
9946
10492
|
return this._bucket;
|
|
9947
10493
|
}
|
|
@@ -9984,7 +10530,7 @@ var AnalyticsTimeline = (_class37 = class extends AbstractApiData {constructor(.
|
|
|
9984
10530
|
if (data.pageViews !== void 0) response.data.attributes.pageViews = data.pageViews;
|
|
9985
10531
|
return response;
|
|
9986
10532
|
}
|
|
9987
|
-
},
|
|
10533
|
+
}, _class39);
|
|
9988
10534
|
|
|
9989
10535
|
// src/features/analytics/analytics.modules.ts
|
|
9990
10536
|
var analyticsModules = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => ({
|
|
@@ -10008,11 +10554,11 @@ function getTokenUsageCurrency() {
|
|
|
10008
10554
|
_chunk7QVYU63Ejs.__name.call(void 0, getTokenUsageCurrency, "getTokenUsageCurrency");
|
|
10009
10555
|
|
|
10010
10556
|
// src/features/audit-log/data/audit-log.ts
|
|
10011
|
-
var AuditLog = (
|
|
10557
|
+
var AuditLog = (_class40 = class extends AbstractApiData {constructor(...args37) { super(...args37); _class40.prototype.__init135.call(this); }
|
|
10012
10558
|
static {
|
|
10013
10559
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AuditLog");
|
|
10014
10560
|
}
|
|
10015
|
-
|
|
10561
|
+
__init135() {this._kind = "audit"}
|
|
10016
10562
|
|
|
10017
10563
|
|
|
10018
10564
|
|
|
@@ -10059,7 +10605,7 @@ var AuditLog = (_class38 = class extends AbstractApiData {constructor(...args35)
|
|
|
10059
10605
|
createJsonApi() {
|
|
10060
10606
|
throw new Error("AuditLog is read-only");
|
|
10061
10607
|
}
|
|
10062
|
-
},
|
|
10608
|
+
}, _class40);
|
|
10063
10609
|
|
|
10064
10610
|
// src/features/audit-log/data/audit-log.service.ts
|
|
10065
10611
|
var AuditLogService = class extends AbstractService {
|
|
@@ -10351,5 +10897,19 @@ var AuditLogModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (facto
|
|
|
10351
10897
|
|
|
10352
10898
|
|
|
10353
10899
|
|
|
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
|
-
|
|
10900
|
+
|
|
10901
|
+
|
|
10902
|
+
|
|
10903
|
+
|
|
10904
|
+
|
|
10905
|
+
|
|
10906
|
+
|
|
10907
|
+
|
|
10908
|
+
|
|
10909
|
+
|
|
10910
|
+
|
|
10911
|
+
|
|
10912
|
+
|
|
10913
|
+
|
|
10914
|
+
exports.RehydrationFactory = RehydrationFactory; exports.AbstractApiData = AbstractApiData; exports.getLastApiTotal = getLastApiTotal; exports.clearLastApiTotal = clearLastApiTotal; exports.getLastApiMeta = getLastApiMeta; exports.clearLastApiMeta = clearLastApiMeta; exports.configureI18n = configureI18n; exports.useI18nRouter = useI18nRouter; exports.useI18nTranslations = useI18nTranslations; exports.getI18nLink = getI18nLink; exports.useI18nLocale = useI18nLocale; exports.useI18nDateFnsLocale = useI18nDateFnsLocale; exports.HttpMethod = HttpMethod; exports.setGlobalErrorHandler = setGlobalErrorHandler; exports.getGlobalErrorHandler = getGlobalErrorHandler; exports.AbstractService = AbstractService; exports.configureClientJsonApi = configureClientJsonApi; exports.getClientApiUrl = getClientApiUrl; exports.getClientAppUrl = getClientAppUrl; exports.getClientTrackablePages = getClientTrackablePages; exports.buildClientUrl = buildClientUrl; exports.ClientJsonApiGet = ClientJsonApiGet; exports.ClientJsonApiPost = ClientJsonApiPost; exports.ClientJsonApiPut = ClientJsonApiPut; exports.ClientJsonApiPatch = ClientJsonApiPatch; exports.ClientJsonApiDelete = ClientJsonApiDelete; exports.ClientHttpMethod = ClientHttpMethod; exports.setClientGlobalErrorHandler = setClientGlobalErrorHandler; exports.getClientGlobalErrorHandler = getClientGlobalErrorHandler; exports.ClientAbstractService = ClientAbstractService; exports.ModuleRegistrar = ModuleRegistrar; exports.ModuleRegistry = ModuleRegistry; exports.Modules = Modules; exports.EndpointCreator = EndpointCreator; exports.createJsonApiInclusion = createJsonApiInclusion; exports.rehydrate = rehydrate; exports.rehydrateList = rehydrateList; exports.mergeMessages = mergeMessages; exports.cn = cn; exports.composeRefs = composeRefs; exports.useComposedRefs = useComposedRefs; exports.MOBILE_BREAKPOINT = MOBILE_BREAKPOINT; exports.VIEWPORT_COOKIE_NAME = VIEWPORT_COOKIE_NAME; exports.getViewportContext = getViewportContext; exports.measureViewport = measureViewport; exports.persistViewport = persistViewport; exports.subscribeViewport = subscribeViewport; exports.useIsMobile = useIsMobile; exports.formatLocalDate = formatLocalDate; exports.dateFormatLocale = dateFormatLocale; exports.formatDate = formatDate; exports.exists = exists; exports.TableOptions = TableOptions; exports.getTableOptions = getTableOptions; exports.getTableComponents = getTableComponents; exports.userObjectSchema = userObjectSchema; exports.entityObjectSchema = entityObjectSchema; exports.getInitials = getInitials; exports.isRemoteImageSrc = isRemoteImageSrc; exports.validatePartitaIva = validatePartitaIva; exports.validateCodiceFiscale = validateCodiceFiscale; exports.validateItalianTaxCode = validateItalianTaxCode; exports.formatPartitaIva = formatPartitaIva; exports.formatCodiceFiscale = formatCodiceFiscale; exports.BlockNoteDiffUtil = BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = BlockNoteWordDiffRendererUtil; exports.getIconByModule = getIconByModule; exports.getIcon = getIcon; exports.getIconByModuleName = getIconByModuleName; exports.getLucideIcon = getLucideIcon; exports.getLucideIconByModule = getLucideIconByModule; exports.getLucideIconByModuleName = getLucideIconByModuleName; exports.showToast = showToast; exports.showError = showError; exports.dismissToast = dismissToast; exports.showCustomToast = showCustomToast; exports.Action = Action; exports.checkPermissions = checkPermissions; exports.checkPermissionsFromServer = checkPermissionsFromServer; exports.getValueFromPath = getValueFromPath; exports.TotpAuthenticator = TotpAuthenticator; exports.TotpAuthenticatorModule = TotpAuthenticatorModule; exports.TotpSetup = TotpSetup; exports.TotpSetupModule = TotpSetupModule; exports.TotpVerify = TotpVerify; exports.TotpVerifyModule = TotpVerifyModule; exports.TotpVerifyLogin = TotpVerifyLogin; exports.TotpVerifyLoginModule = TotpVerifyLoginModule; exports.Passkey = Passkey; exports.PasskeyModule = PasskeyModule; exports.PasskeyRegistrationOptions = PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = PasskeyRegistrationVerifyModule; exports.PasskeyRename = PasskeyRename; exports.PasskeyRenameModule = PasskeyRenameModule; exports.PasskeyVerifyLogin = PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = PasskeyVerifyLoginModule; exports.PasskeyAuthenticationOptions = PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = PasskeyAuthenticationOptionsModule; exports.TwoFactorEnable = TwoFactorEnable; exports.TwoFactorEnableModule = TwoFactorEnableModule; exports.TwoFactorChallenge = TwoFactorChallenge; exports.TwoFactorChallengeModule = TwoFactorChallengeModule; exports.BackupCodeVerify = BackupCodeVerify; exports.BackupCodeVerifyModule = BackupCodeVerifyModule; exports.configureAuth = configureAuth; exports.getTokenHandler = getTokenHandler; exports.Auth = Auth; exports.AuthService = AuthService; exports.TwoFactorStatus = TwoFactorStatus; exports.TwoFactorService = TwoFactorService; exports.AuthComponent = AuthComponent; exports.AuthModule = AuthModule; exports.TwoFactorStatusModule = TwoFactorStatusModule; exports.BillingService = BillingService; exports.Billing = Billing; exports.BillingModule = BillingModule; exports.PaymentMethod = PaymentMethod; exports.StripeCustomer = StripeCustomer; exports.StripeCustomerService = StripeCustomerService; exports.StripeCustomerModule = StripeCustomerModule; exports.StripePaymentMethodModule = StripePaymentMethodModule; exports.StripeInvoice = StripeInvoice; exports.InvoiceStatus = InvoiceStatus; exports.StripeInvoiceService = StripeInvoiceService; exports.StripeInvoiceModule = StripeInvoiceModule; exports.StripePrice = StripePrice; exports.StripePriceFields = StripePriceFields; exports.StripePriceService = StripePriceService; exports.StripePriceModule = StripePriceModule; exports.StripeProduct = StripeProduct; exports.StripeProductFields = StripeProductFields; exports.StripeProductService = StripeProductService; exports.StripeProductModule = StripeProductModule; exports.StripeSubscription = StripeSubscription; exports.SubscriptionStatus = SubscriptionStatus; exports.StripeSubscriptionService = StripeSubscriptionService; exports.StripeSubscriptionModule = StripeSubscriptionModule; exports.StripeUsage = StripeUsage; exports.StripeUsageService = StripeUsageService; exports.StripeUsageModule = StripeUsageModule; exports.StripePromotionCodeService = StripePromotionCodeService; exports.StripePromotionCode = StripePromotionCode; exports.StripePromotionCodeModule = StripePromotionCodeModule; exports.AiConnection = AiConnection; exports.AiConnectionFields = AiConnectionFields; exports.AiConnectionService = AiConnectionService; exports.AiConnectionModule = AiConnectionModule; exports.Company = Company; exports.CompanyFields = CompanyFields; exports.CompanyService = CompanyService; exports.EntityAiStatus = EntityAiStatus; exports.CompanyModule = CompanyModule; exports.Content = Content; exports.ContentFields = ContentFields; exports.ContentService = ContentService; exports.ContentModule = ContentModule; exports.HowTo = HowTo; exports.HowToModule = HowToModule; exports.HowToFields = HowToFields; exports.HowToService = HowToService; exports.EmailAutomation = EmailAutomation; exports.EmailAutomationModule = EmailAutomationModule; exports.EmailAutomationStep = EmailAutomationStep; exports.EmailAutomationStepModule = EmailAutomationStepModule; exports.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE; exports.EmailAutomationEnrollment = EmailAutomationEnrollment; exports.EmailAutomationEnrollmentModule = EmailAutomationEnrollmentModule; exports.EmailAutomationTrigger = EmailAutomationTrigger; exports.EmailAutomationTriggerModule = EmailAutomationTriggerModule; exports.EmailAutomationService = EmailAutomationService; exports.EmailAutomationStepService = EmailAutomationStepService; exports.EmailAutomationEnrollmentService = EmailAutomationEnrollmentService; exports.EmailAutomationFields = EmailAutomationFields; exports.EmailAutomationEnrollmentFields = EmailAutomationEnrollmentFields; exports.HandbookPage = HandbookPage; exports.HandbookPageModule = HandbookPageModule; exports.HandbookSection = HandbookSection; exports.HandbookSectionModule = HandbookSectionModule; exports.HandbookThreadMessage = HandbookThreadMessage; exports.HandbookThreadMessageModule = HandbookThreadMessageModule; exports.HandbookThread = HandbookThread; exports.HandbookThreadModule = HandbookThreadModule; exports.handbookPageTitle = handbookPageTitle; exports.handbookPageSummary = handbookPageSummary; exports.handbookPageContent = handbookPageContent; exports.handbookSectionTitle = handbookSectionTitle; exports.handbookSectionSummary = handbookSectionSummary; exports.HandbookPageFields = HandbookPageFields; exports.HandbookPageService = HandbookPageService; exports.HandbookSectionService = HandbookSectionService; exports.HandbookThreadMessageService = HandbookThreadMessageService; exports.HandbookThreadService = HandbookThreadService; exports.Assistant = Assistant; exports.AssistantModule = AssistantModule; exports.AssistantMessage = AssistantMessage; exports.AssistantService = AssistantService; exports.AssistantMessageModule = AssistantMessageModule; exports.AssistantMessageService = AssistantMessageService; exports.AssistantAction = AssistantAction; exports.AssistantActionModule = AssistantActionModule; exports.AssistantActionService = AssistantActionService; exports.Chunk = Chunk; exports.ChunkModule = ChunkModule; exports.Feature = Feature; exports.FeatureService = FeatureService; exports.FeatureModule = FeatureModule; exports.Module = Module; exports.ModuleModule = ModuleModule; exports.Notification = Notification; exports.NotificationFields = NotificationFields; exports.NotificationService = NotificationService; exports.NotificationModule = NotificationModule; exports.Push = Push; exports.PushService = PushService; exports.PushModule = PushModule; exports.Role = Role; exports.RoleFields = RoleFields; exports.RoleService = RoleService; exports.RoleModule = RoleModule; exports.S3 = S3; exports.S3Module = S3Module; exports.S3Service = S3Service; exports.User = User; exports.UserFields = UserFields; exports.UserService = UserService; exports.CURRENT_USER_STORAGE_KEY = CURRENT_USER_STORAGE_KEY; exports.AuthorModule = AuthorModule; exports.UserModule = UserModule; exports.OAuthClient = OAuthClient; exports.OAuthModule = OAuthModule; exports.OAuthService = OAuthService; exports.OAUTH_SCOPE_DISPLAY = OAUTH_SCOPE_DISPLAY; exports.AVAILABLE_OAUTH_SCOPES = AVAILABLE_OAUTH_SCOPES; exports.DEFAULT_GRANT_TYPES = DEFAULT_GRANT_TYPES; exports.Waitlist = Waitlist; exports.WaitlistService = WaitlistService; exports.WaitlistStats = WaitlistStats; exports.WaitlistFields = WaitlistFields; exports.WaitlistModule = WaitlistModule; exports.WaitlistStatsModule = WaitlistStatsModule; exports.PermissionMapping = PermissionMapping; exports.ModulePaths = ModulePaths; exports.RbacMatrixModel = RbacMatrixModel; exports.PermissionMappingModule = PermissionMappingModule; exports.ModulePathsModule = ModulePathsModule; exports.RbacMatrixModule = RbacMatrixModule; exports.ReferralStats = ReferralStats; exports.ReferralService = ReferralService; exports.ReferralModule = ReferralModule; exports.ReferralStatsModule = ReferralStatsModule; exports.TokenUsageAdminBreakdown = TokenUsageAdminBreakdown; exports.TokenUsageAdminSummary = TokenUsageAdminSummary; exports.TokenUsageAdminTimeline = TokenUsageAdminTimeline; exports.TokenUsageAdminSummaryModule = TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = TokenUsageAdminTimelineModule; exports.TokenUsageAdminBreakdownModule = TokenUsageAdminBreakdownModule; exports.TokenUsageReportBreakdown = TokenUsageReportBreakdown; exports.TokenUsageReportSummary = TokenUsageReportSummary; exports.TokenUsageReportTimeline = TokenUsageReportTimeline; exports.tokenUsageModules = tokenUsageModules; exports.AnalyticsBreakdown = AnalyticsBreakdown; exports.AnalyticsEvent = AnalyticsEvent; exports.AnalyticsPageView = AnalyticsPageView; exports.AnalyticsSession = AnalyticsSession; exports.AnalyticsSummary = AnalyticsSummary; exports.AnalyticsTimeline = AnalyticsTimeline; exports.analyticsModules = analyticsModules; exports.configureTokenUsage = configureTokenUsage; exports.getTokenUsageCurrency = getTokenUsageCurrency; exports.AuditLog = AuditLog; exports.AuditLogService = AuditLogService; exports.AuditLogModule = AuditLogModule;
|
|
10915
|
+
//# sourceMappingURL=chunk-CRI4T47Y.js.map
|