mavenagi 1.2.62 → 1.2.64
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/BaseClient.js +2 -2
- package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +13 -1
- package/api/resources/agents/types/Agent.d.ts +6 -0
- package/api/resources/agents/types/AgentPrompting.d.ts +2 -0
- package/api/resources/analytics/types/ConversationBarChartRequest.d.ts +4 -0
- package/api/resources/analytics/types/ConversationBasicMetric.d.ts +4 -1
- package/api/resources/analytics/types/ConversationDateHistogramRequest.d.ts +2 -0
- package/api/resources/analytics/types/ConversationPieChartRequest.d.ts +2 -0
- package/api/resources/capabilities/client/Client.d.ts +35 -0
- package/api/resources/capabilities/client/Client.js +117 -0
- package/api/resources/capabilities/client/requests/CapabilitiesSearchRequest.d.ts +7 -2
- package/api/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.d.ts +36 -0
- package/api/resources/capabilities/client/requests/GetCapabilityByTypeRequest.d.ts +4 -1
- package/api/resources/capabilities/client/requests/index.d.ts +1 -0
- package/api/resources/capabilities/types/CapabilityExecution.d.ts +14 -0
- package/api/resources/capabilities/types/CapabilityExecutionBase.d.ts +32 -0
- package/api/resources/capabilities/types/CapabilityExecutionCompletionReason.d.ts +36 -0
- package/api/resources/capabilities/types/CapabilityExecutionCompletionReason.js +39 -0
- package/api/resources/capabilities/types/CapabilityExecutionRetryability.d.ts +17 -0
- package/api/resources/capabilities/types/CapabilityExecutionRetryability.js +20 -0
- package/api/resources/capabilities/types/CapabilityExecutionStatus.d.ts +10 -0
- package/api/resources/capabilities/types/CapabilityExecutionStatus.js +13 -0
- package/api/resources/capabilities/types/CapabilityExecutionsSearchResponse.d.ts +62 -0
- package/api/resources/capabilities/types/CapabilityExecutionsSearchResponse.js +3 -0
- package/api/resources/capabilities/types/ConversationKickoffCapabilityExecution.d.ts +7 -0
- package/api/resources/capabilities/types/ConversationKickoffCapabilityExecution.js +3 -0
- package/api/resources/capabilities/types/TriggerCapabilityExecution.d.ts +19 -0
- package/api/resources/capabilities/types/TriggerCapabilityExecution.js +3 -0
- package/api/resources/capabilities/types/index.d.ts +8 -0
- package/api/resources/capabilities/types/index.js +8 -0
- package/api/resources/charters/client/Client.js +6 -2
- package/api/resources/charters/client/requests/CharterDeleteRequest.d.ts +6 -6
- package/api/resources/charters/client/requests/CharterGetAncestorsRequest.d.ts +12 -0
- package/api/resources/charters/client/requests/CharterGetRequest.d.ts +12 -0
- package/api/resources/charters/client/requests/CharterPatchRequest.d.ts +5 -6
- package/api/resources/charters/types/CharterBase.d.ts +10 -0
- package/api/resources/charters/types/CharterListChildrenRequest.d.ts +10 -0
- package/api/resources/charters/types/CharterRequest.d.ts +0 -8
- package/api/resources/charters/types/CharterSearchFilter.d.ts +10 -0
- package/api/resources/commons/types/AdditionalDataKey.d.ts +63 -0
- package/api/resources/commons/types/AdditionalDataKey.js +66 -0
- package/api/resources/commons/types/BaseConversationResponse.d.ts +4 -3
- package/api/resources/commons/types/BotLogicCharterDetail.d.ts +1 -1
- package/api/resources/commons/types/BotLogicSegmentsItem.d.ts +3 -0
- package/api/resources/commons/types/ConversationAnalysis.d.ts +1 -1
- package/api/resources/commons/types/ErrorReason.d.ts +7 -1
- package/api/resources/commons/types/ErrorReason.js +7 -1
- package/api/resources/commons/types/EventCondition.d.ts +35 -0
- package/api/resources/commons/types/EventCondition.js +3 -0
- package/api/resources/commons/types/EventConditionGroup.d.ts +11 -0
- package/api/resources/commons/types/EventConditionGroup.js +3 -0
- package/api/resources/commons/types/EventReferencesCondition.d.ts +13 -0
- package/api/resources/commons/types/EventReferencesCondition.js +3 -0
- package/api/resources/{conversation → commons}/types/IntelligentFieldFilter.d.ts +1 -1
- package/api/resources/commons/types/IntelligentFieldFilter.js +3 -0
- package/api/resources/commons/types/IntelligentFieldSearchCondition.js +3 -0
- package/api/resources/commons/types/SimulationContext.d.ts +12 -0
- package/api/resources/commons/types/SystemEventName.d.ts +4 -1
- package/api/resources/commons/types/SystemEventName.js +4 -1
- package/api/resources/commons/types/SystemEventNameCondition.d.ts +10 -0
- package/api/resources/commons/types/SystemEventNameCondition.js +3 -0
- package/api/resources/commons/types/UserEventNameCondition.d.ts +10 -0
- package/api/resources/commons/types/UserEventNameCondition.js +3 -0
- package/api/resources/commons/types/index.d.ts +9 -0
- package/api/resources/commons/types/index.js +9 -0
- package/api/resources/conversation/client/Client.d.ts +21 -2
- package/api/resources/conversation/client/Client.js +21 -2
- package/api/resources/conversation/types/ConversationField.d.ts +22 -1
- package/api/resources/conversation/types/ConversationField.js +22 -1
- package/api/resources/conversation/types/ConversationFilter.d.ts +18 -0
- package/api/resources/conversation/types/ConversationPatchRequest.d.ts +1 -1
- package/api/resources/conversation/types/ConversationsSearchRequest.d.ts +2 -2
- package/api/resources/conversation/types/index.d.ts +0 -3
- package/api/resources/conversation/types/index.js +0 -3
- package/api/resources/customers/types/CustomerFilter.d.ts +14 -1
- package/api/resources/events/client/Client.d.ts +1 -1
- package/api/resources/events/client/Client.js +1 -1
- package/api/resources/inbox/types/InboxFilter.d.ts +11 -0
- package/api/resources/intelligentFields/client/Client.d.ts +11 -3
- package/api/resources/intelligentFields/client/Client.js +11 -3
- package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.d.ts +9 -1
- package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +3 -3
- package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +2 -2
- package/api/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.d.ts +10 -1
- package/api/resources/segments/client/Client.js +1 -3
- package/api/resources/segments/client/requests/SegmentDeleteRequest.d.ts +0 -12
- package/api/resources/segments/types/SegmentPatchRequest.d.ts +0 -8
- package/api/resources/segments/types/SegmentRequest.d.ts +0 -8
- package/api/resources/triggers/client/Client.d.ts +5 -9
- package/api/resources/triggers/client/Client.js +21 -14
- package/api/resources/triggers/client/requests/PartialUpdateRequest.d.ts +5 -4
- package/api/resources/triggers/types/EventTriggerBase.d.ts +8 -0
- package/api/resources/triggers/types/index.d.ts +0 -1
- package/api/resources/triggers/types/index.js +0 -1
- package/api/resources/users/types/AgentUser.d.ts +2 -0
- package/api/resources/users/types/AgentUserFilter.d.ts +3 -0
- package/package.json +1 -1
- package/reference.md +115 -11
- package/serialization/resources/agents/client/requests/AgentPatchRequest.d.ts +2 -0
- package/serialization/resources/agents/client/requests/AgentPatchRequest.js +2 -0
- package/serialization/resources/agents/types/Agent.d.ts +2 -0
- package/serialization/resources/agents/types/Agent.js +2 -0
- package/serialization/resources/capabilities/client/requests/CapabilitiesSearchRequest.d.ts +2 -0
- package/serialization/resources/capabilities/client/requests/CapabilitiesSearchRequest.js +2 -0
- package/serialization/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.d.ts +16 -0
- package/serialization/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.js +50 -0
- package/serialization/resources/capabilities/client/requests/index.d.ts +1 -0
- package/serialization/resources/capabilities/client/requests/index.js +3 -1
- package/serialization/resources/capabilities/types/CapabilityExecution.d.ts +15 -0
- package/serialization/resources/capabilities/types/CapabilityExecution.js +49 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionBase.d.ts +20 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionBase.js +52 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionCompletionReason.d.ts +7 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionCompletionReason.js +50 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionRetryability.d.ts +7 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionRetryability.js +39 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionStatus.d.ts +7 -0
- package/serialization/resources/{triggers/types/TriggerPartialUpdate.js → capabilities/types/CapabilityExecutionStatus.js} +2 -4
- package/serialization/resources/capabilities/types/CapabilityExecutionsSearchResponse.d.ts +11 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionsSearchResponse.js +45 -0
- package/serialization/resources/capabilities/types/ConversationKickoffCapabilityExecution.d.ts +9 -0
- package/serialization/resources/capabilities/types/ConversationKickoffCapabilityExecution.js +40 -0
- package/serialization/resources/capabilities/types/TriggerCapabilityExecution.d.ts +15 -0
- package/serialization/resources/capabilities/types/TriggerCapabilityExecution.js +49 -0
- package/serialization/resources/capabilities/types/index.d.ts +8 -0
- package/serialization/resources/capabilities/types/index.js +8 -0
- package/serialization/resources/charters/types/CharterBase.d.ts +2 -0
- package/serialization/resources/charters/types/CharterBase.js +2 -0
- package/serialization/resources/charters/types/CharterListChildrenRequest.d.ts +2 -0
- package/serialization/resources/charters/types/CharterListChildrenRequest.js +2 -0
- package/serialization/resources/charters/types/CharterRequest.d.ts +0 -2
- package/serialization/resources/charters/types/CharterRequest.js +0 -2
- package/serialization/resources/charters/types/CharterSearchFilter.d.ts +2 -0
- package/serialization/resources/charters/types/CharterSearchFilter.js +2 -0
- package/serialization/resources/commons/types/AdditionalDataKey.d.ts +7 -0
- package/serialization/resources/commons/types/AdditionalDataKey.js +57 -0
- package/serialization/resources/commons/types/ErrorReason.d.ts +1 -1
- package/serialization/resources/commons/types/ErrorReason.js +2 -0
- package/serialization/resources/commons/types/EventCondition.d.ts +26 -0
- package/serialization/resources/commons/types/EventCondition.js +55 -0
- package/serialization/resources/commons/types/EventConditionGroup.d.ts +11 -0
- package/serialization/resources/commons/types/EventConditionGroup.js +44 -0
- package/serialization/resources/commons/types/EventReferencesCondition.d.ts +12 -0
- package/serialization/resources/commons/types/EventReferencesCondition.js +44 -0
- package/serialization/resources/{conversation → commons}/types/IntelligentFieldSearchCondition.d.ts +1 -1
- package/serialization/resources/{conversation → commons}/types/IntelligentFieldSearchCondition.js +1 -1
- package/serialization/resources/commons/types/SimulationContext.d.ts +2 -0
- package/serialization/resources/commons/types/SimulationContext.js +2 -0
- package/serialization/resources/commons/types/SystemEventName.d.ts +1 -1
- package/serialization/resources/commons/types/SystemEventName.js +1 -0
- package/serialization/resources/commons/types/SystemEventNameCondition.d.ts +12 -0
- package/serialization/resources/commons/types/SystemEventNameCondition.js +44 -0
- package/serialization/resources/commons/types/UserEventNameCondition.d.ts +12 -0
- package/serialization/resources/commons/types/UserEventNameCondition.js +44 -0
- package/serialization/resources/commons/types/index.d.ts +9 -0
- package/serialization/resources/commons/types/index.js +9 -0
- package/serialization/resources/conversation/types/ConversationField.d.ts +1 -1
- package/serialization/resources/conversation/types/ConversationField.js +2 -0
- package/serialization/resources/conversation/types/ConversationFilter.d.ts +3 -1
- package/serialization/resources/conversation/types/ConversationFilter.js +3 -1
- package/serialization/resources/conversation/types/index.d.ts +0 -3
- package/serialization/resources/conversation/types/index.js +0 -3
- package/serialization/resources/inbox/types/InboxFilter.d.ts +2 -0
- package/serialization/resources/inbox/types/InboxFilter.js +2 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +1 -0
- package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +2 -2
- package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +2 -2
- package/serialization/resources/segments/types/SegmentPatchRequest.d.ts +0 -2
- package/serialization/resources/segments/types/SegmentPatchRequest.js +0 -2
- package/serialization/resources/segments/types/SegmentRequest.d.ts +0 -2
- package/serialization/resources/segments/types/SegmentRequest.js +0 -2
- package/serialization/resources/triggers/client/index.d.ts +1 -0
- package/serialization/resources/triggers/client/index.js +17 -0
- package/serialization/resources/triggers/client/requests/PartialUpdateRequest.d.ts +10 -0
- package/serialization/resources/triggers/client/requests/PartialUpdateRequest.js +43 -0
- package/serialization/resources/triggers/client/requests/index.d.ts +1 -0
- package/serialization/resources/triggers/client/requests/index.js +5 -0
- package/serialization/resources/triggers/index.d.ts +1 -0
- package/serialization/resources/triggers/index.js +1 -0
- package/serialization/resources/triggers/types/EventTriggerBase.d.ts +2 -1
- package/serialization/resources/triggers/types/EventTriggerBase.js +2 -0
- package/serialization/resources/triggers/types/index.d.ts +0 -1
- package/serialization/resources/triggers/types/index.js +0 -1
- package/serialization/resources/users/types/AgentUser.d.ts +2 -0
- package/serialization/resources/users/types/AgentUser.js +2 -0
- package/serialization/resources/users/types/AgentUserFilter.d.ts +2 -0
- package/serialization/resources/users/types/AgentUserFilter.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/triggers/types/TriggerPartialUpdate.d.ts +0 -4
- package/serialization/resources/triggers/types/TriggerPartialUpdate.d.ts +0 -9
- /package/api/resources/{conversation/types/IntelligentFieldFilter.js → capabilities/client/requests/CapabilityExecutionsSearchRequest.js} +0 -0
- /package/api/resources/{conversation/types/IntelligentFieldSearchCondition.js → capabilities/types/CapabilityExecution.js} +0 -0
- /package/api/resources/{triggers/types/TriggerPartialUpdate.js → capabilities/types/CapabilityExecutionBase.js} +0 -0
- /package/api/resources/{conversation → commons}/types/IntelligentFieldOperator.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/IntelligentFieldOperator.js +0 -0
- /package/api/resources/{conversation → commons}/types/IntelligentFieldSearchCondition.d.ts +0 -0
- /package/serialization/resources/{conversation → commons}/types/IntelligentFieldFilter.d.ts +0 -0
- /package/serialization/resources/{conversation → commons}/types/IntelligentFieldFilter.js +0 -0
- /package/serialization/resources/{conversation → commons}/types/IntelligentFieldOperator.d.ts +0 -0
- /package/serialization/resources/{conversation → commons}/types/IntelligentFieldOperator.js +0 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import * as serializers from "../../../index";
|
|
4
|
+
import { EventReferencesCondition } from "./EventReferencesCondition";
|
|
5
|
+
import { MetadataEntryCondition } from "./MetadataEntryCondition";
|
|
6
|
+
import { SystemEventNameCondition } from "./SystemEventNameCondition";
|
|
7
|
+
import { UserEventNameCondition } from "./UserEventNameCondition";
|
|
8
|
+
export declare const EventCondition: core.serialization.Schema<serializers.EventCondition.Raw, MavenAGI.EventCondition>;
|
|
9
|
+
export declare namespace EventCondition {
|
|
10
|
+
type Raw = EventCondition.UserEventName | EventCondition.SystemEventName | EventCondition.Data | EventCondition.References | EventCondition.Group;
|
|
11
|
+
interface UserEventName extends UserEventNameCondition.Raw {
|
|
12
|
+
eventConditionType: "userEventName";
|
|
13
|
+
}
|
|
14
|
+
interface SystemEventName extends SystemEventNameCondition.Raw {
|
|
15
|
+
eventConditionType: "systemEventName";
|
|
16
|
+
}
|
|
17
|
+
interface Data extends MetadataEntryCondition.Raw {
|
|
18
|
+
eventConditionType: "data";
|
|
19
|
+
}
|
|
20
|
+
interface References extends EventReferencesCondition.Raw {
|
|
21
|
+
eventConditionType: "references";
|
|
22
|
+
}
|
|
23
|
+
interface Group extends serializers.EventConditionGroup.Raw {
|
|
24
|
+
eventConditionType: "group";
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.EventCondition = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const serializers = __importStar(require("../../../index"));
|
|
40
|
+
const EventReferencesCondition_1 = require("./EventReferencesCondition");
|
|
41
|
+
const MetadataEntryCondition_1 = require("./MetadataEntryCondition");
|
|
42
|
+
const SystemEventNameCondition_1 = require("./SystemEventNameCondition");
|
|
43
|
+
const UserEventNameCondition_1 = require("./UserEventNameCondition");
|
|
44
|
+
exports.EventCondition = core.serialization
|
|
45
|
+
.union("eventConditionType", {
|
|
46
|
+
userEventName: UserEventNameCondition_1.UserEventNameCondition,
|
|
47
|
+
systemEventName: SystemEventNameCondition_1.SystemEventNameCondition,
|
|
48
|
+
data: MetadataEntryCondition_1.MetadataEntryCondition,
|
|
49
|
+
references: EventReferencesCondition_1.EventReferencesCondition,
|
|
50
|
+
group: core.serialization.lazyObject(() => serializers.EventConditionGroup),
|
|
51
|
+
})
|
|
52
|
+
.transform({
|
|
53
|
+
transform: (value) => value,
|
|
54
|
+
untransform: (value) => value,
|
|
55
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import * as serializers from "../../../index";
|
|
4
|
+
import { PreconditionGroupOperator } from "./PreconditionGroupOperator";
|
|
5
|
+
export declare const EventConditionGroup: core.serialization.ObjectSchema<serializers.EventConditionGroup.Raw, MavenAGI.EventConditionGroup>;
|
|
6
|
+
export declare namespace EventConditionGroup {
|
|
7
|
+
interface Raw {
|
|
8
|
+
operator: PreconditionGroupOperator.Raw;
|
|
9
|
+
conditions: serializers.EventCondition.Raw[];
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.EventConditionGroup = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const serializers = __importStar(require("../../../index"));
|
|
40
|
+
const PreconditionGroupOperator_1 = require("./PreconditionGroupOperator");
|
|
41
|
+
exports.EventConditionGroup = core.serialization.object({
|
|
42
|
+
operator: PreconditionGroupOperator_1.PreconditionGroupOperator,
|
|
43
|
+
conditions: core.serialization.list(core.serialization.lazy(() => serializers.EventCondition)),
|
|
44
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { ScopedEntity } from "./ScopedEntity";
|
|
5
|
+
import { SetRelationOperator } from "./SetRelationOperator";
|
|
6
|
+
export declare const EventReferencesCondition: core.serialization.ObjectSchema<serializers.EventReferencesCondition.Raw, MavenAGI.EventReferencesCondition>;
|
|
7
|
+
export declare namespace EventReferencesCondition {
|
|
8
|
+
interface Raw {
|
|
9
|
+
operator: SetRelationOperator.Raw;
|
|
10
|
+
references: ScopedEntity.Raw[];
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.EventReferencesCondition = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const ScopedEntity_1 = require("./ScopedEntity");
|
|
40
|
+
const SetRelationOperator_1 = require("./SetRelationOperator");
|
|
41
|
+
exports.EventReferencesCondition = core.serialization.object({
|
|
42
|
+
operator: SetRelationOperator_1.SetRelationOperator,
|
|
43
|
+
references: core.serialization.list(ScopedEntity_1.ScopedEntity),
|
|
44
|
+
});
|
package/serialization/resources/{conversation → commons}/types/IntelligentFieldSearchCondition.d.ts
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../../api/index";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
|
-
import { EntityIdFilter } from "
|
|
4
|
+
import { EntityIdFilter } from "./EntityIdFilter";
|
|
5
5
|
import { IntelligentFieldOperator } from "./IntelligentFieldOperator";
|
|
6
6
|
export declare const IntelligentFieldSearchCondition: core.serialization.ObjectSchema<serializers.IntelligentFieldSearchCondition.Raw, MavenAGI.IntelligentFieldSearchCondition>;
|
|
7
7
|
export declare namespace IntelligentFieldSearchCondition {
|
package/serialization/resources/{conversation → commons}/types/IntelligentFieldSearchCondition.js
RENAMED
|
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.IntelligentFieldSearchCondition = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
-
const EntityIdFilter_1 = require("
|
|
39
|
+
const EntityIdFilter_1 = require("./EntityIdFilter");
|
|
40
40
|
const IntelligentFieldOperator_1 = require("./IntelligentFieldOperator");
|
|
41
41
|
exports.IntelligentFieldSearchCondition = core.serialization.object({
|
|
42
42
|
fieldId: EntityIdFilter_1.EntityIdFilter,
|
|
@@ -2,6 +2,7 @@ import type * as MavenAGI from "../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
import { EntityId } from "./EntityId";
|
|
5
|
+
import { EntityIdWithoutAgent } from "./EntityIdWithoutAgent";
|
|
5
6
|
import { LlmPersona } from "./LlmPersona";
|
|
6
7
|
export declare const SimulationContext: core.serialization.ObjectSchema<serializers.SimulationContext.Raw, MavenAGI.SimulationContext>;
|
|
7
8
|
export declare namespace SimulationContext {
|
|
@@ -9,5 +10,6 @@ export declare namespace SimulationContext {
|
|
|
9
10
|
additionalPromptText?: string | null;
|
|
10
11
|
persona?: LlmPersona.Raw | null;
|
|
11
12
|
availableKnowledgeBases?: EntityId.Raw[] | null;
|
|
13
|
+
variantId?: EntityIdWithoutAgent.Raw | null;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -37,9 +37,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.SimulationContext = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const EntityId_1 = require("./EntityId");
|
|
40
|
+
const EntityIdWithoutAgent_1 = require("./EntityIdWithoutAgent");
|
|
40
41
|
const LlmPersona_1 = require("./LlmPersona");
|
|
41
42
|
exports.SimulationContext = core.serialization.object({
|
|
42
43
|
additionalPromptText: core.serialization.string().optional(),
|
|
43
44
|
persona: LlmPersona_1.LlmPersona.optional(),
|
|
44
45
|
availableKnowledgeBases: core.serialization.list(EntityId_1.EntityId).optional(),
|
|
46
|
+
variantId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
|
|
45
47
|
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
export declare const SystemEventName: core.serialization.Schema<serializers.SystemEventName.Raw, MavenAGI.SystemEventName>;
|
|
5
5
|
export declare namespace SystemEventName {
|
|
6
|
-
type Raw = "APP_INSTALLED" | "APP_UNINSTALLED" | "APP_UPDATED" | "NOTIFICATION_SENT" | "NOTIFICATION_DELIVERED" | "NOTIFICATION_FAILED" | "INTEGRATION_CONNECTED" | "INTEGRATION_DISCONNECTED" | "SYNC_STARTED" | "SYNC_COMPLETED" | "SYNC_FAILED" | "INTELLIGENT_FIELD_VALUE_CHANGED";
|
|
6
|
+
type Raw = "APP_INSTALLED" | "APP_UNINSTALLED" | "APP_UPDATED" | "NOTIFICATION_SENT" | "NOTIFICATION_DELIVERED" | "NOTIFICATION_FAILED" | "INTEGRATION_CONNECTED" | "INTEGRATION_DISCONNECTED" | "SYNC_STARTED" | "SYNC_COMPLETED" | "SYNC_FAILED" | "CONVERSATION_CLOSED" | "INTELLIGENT_FIELD_VALUE_CHANGED";
|
|
7
7
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { StringMembershipOperator } from "./StringMembershipOperator";
|
|
5
|
+
import { SystemEventName } from "./SystemEventName";
|
|
6
|
+
export declare const SystemEventNameCondition: core.serialization.ObjectSchema<serializers.SystemEventNameCondition.Raw, MavenAGI.SystemEventNameCondition>;
|
|
7
|
+
export declare namespace SystemEventNameCondition {
|
|
8
|
+
interface Raw {
|
|
9
|
+
operator: StringMembershipOperator.Raw;
|
|
10
|
+
names: SystemEventName.Raw[];
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.SystemEventNameCondition = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const StringMembershipOperator_1 = require("./StringMembershipOperator");
|
|
40
|
+
const SystemEventName_1 = require("./SystemEventName");
|
|
41
|
+
exports.SystemEventNameCondition = core.serialization.object({
|
|
42
|
+
operator: StringMembershipOperator_1.StringMembershipOperator,
|
|
43
|
+
names: core.serialization.list(SystemEventName_1.SystemEventName),
|
|
44
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { StringMembershipOperator } from "./StringMembershipOperator";
|
|
5
|
+
import { UserEventName } from "./UserEventName";
|
|
6
|
+
export declare const UserEventNameCondition: core.serialization.ObjectSchema<serializers.UserEventNameCondition.Raw, MavenAGI.UserEventNameCondition>;
|
|
7
|
+
export declare namespace UserEventNameCondition {
|
|
8
|
+
interface Raw {
|
|
9
|
+
operator: StringMembershipOperator.Raw;
|
|
10
|
+
names: UserEventName.Raw[];
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.UserEventNameCondition = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const StringMembershipOperator_1 = require("./StringMembershipOperator");
|
|
40
|
+
const UserEventName_1 = require("./UserEventName");
|
|
41
|
+
exports.UserEventNameCondition = core.serialization.object({
|
|
42
|
+
operator: StringMembershipOperator_1.StringMembershipOperator,
|
|
43
|
+
names: core.serialization.list(UserEventName_1.UserEventName),
|
|
44
|
+
});
|
|
@@ -8,6 +8,7 @@ export * from "./ActionParameterType";
|
|
|
8
8
|
export * from "./ActionProperties";
|
|
9
9
|
export * from "./ActionResponse";
|
|
10
10
|
export * from "./ActionUser";
|
|
11
|
+
export * from "./AdditionalDataKey";
|
|
11
12
|
export * from "./AppPrecondition";
|
|
12
13
|
export * from "./AppUser";
|
|
13
14
|
export * from "./AppUserIdentifier";
|
|
@@ -94,8 +95,11 @@ export * from "./EntityType";
|
|
|
94
95
|
export * from "./ErrorMessage";
|
|
95
96
|
export * from "./ErrorReason";
|
|
96
97
|
export * from "./EventBaseNoId";
|
|
98
|
+
export * from "./EventCondition";
|
|
99
|
+
export * from "./EventConditionGroup";
|
|
97
100
|
export * from "./EventField";
|
|
98
101
|
export * from "./EventFilter";
|
|
102
|
+
export * from "./EventReferencesCondition";
|
|
99
103
|
export * from "./EventRequest";
|
|
100
104
|
export * from "./EventResponse";
|
|
101
105
|
export * from "./EventsSearchRequest";
|
|
@@ -125,8 +129,11 @@ export * from "./InboxItemSeverity";
|
|
|
125
129
|
export * from "./InboxItemStatus";
|
|
126
130
|
export * from "./InboxItemType";
|
|
127
131
|
export * from "./InitializeConversationResponse";
|
|
132
|
+
export * from "./IntelligentFieldFilter";
|
|
133
|
+
export * from "./IntelligentFieldOperator";
|
|
128
134
|
export * from "./IntelligentFieldPrecondition";
|
|
129
135
|
export * from "./IntelligentFieldPreconditionResponse";
|
|
136
|
+
export * from "./IntelligentFieldSearchCondition";
|
|
130
137
|
export * from "./IntelligentFieldValueResponse";
|
|
131
138
|
export * from "./IpInfo";
|
|
132
139
|
export * from "./JsonSchemaSettingsSchemaEntry";
|
|
@@ -211,6 +218,7 @@ export * from "./SurveyInfo";
|
|
|
211
218
|
export * from "./SwitchSettingsSchemaEntry";
|
|
212
219
|
export * from "./SystemEvent";
|
|
213
220
|
export * from "./SystemEventName";
|
|
221
|
+
export * from "./SystemEventNameCondition";
|
|
214
222
|
export * from "./TagsPrecondition";
|
|
215
223
|
export * from "./TextFormat";
|
|
216
224
|
export * from "./TextFormatJsonSchema";
|
|
@@ -222,6 +230,7 @@ export * from "./UserData";
|
|
|
222
230
|
export * from "./UserDataWithReference";
|
|
223
231
|
export * from "./UserEvent";
|
|
224
232
|
export * from "./UserEventName";
|
|
233
|
+
export * from "./UserEventNameCondition";
|
|
225
234
|
export * from "./UserMessage";
|
|
226
235
|
export * from "./UserMessageBase";
|
|
227
236
|
export * from "./UserMessageResponseState";
|
|
@@ -24,6 +24,7 @@ __exportStar(require("./ActionParameterType"), exports);
|
|
|
24
24
|
__exportStar(require("./ActionProperties"), exports);
|
|
25
25
|
__exportStar(require("./ActionResponse"), exports);
|
|
26
26
|
__exportStar(require("./ActionUser"), exports);
|
|
27
|
+
__exportStar(require("./AdditionalDataKey"), exports);
|
|
27
28
|
__exportStar(require("./AppPrecondition"), exports);
|
|
28
29
|
__exportStar(require("./AppUser"), exports);
|
|
29
30
|
__exportStar(require("./AppUserIdentifier"), exports);
|
|
@@ -110,8 +111,11 @@ __exportStar(require("./EntityType"), exports);
|
|
|
110
111
|
__exportStar(require("./ErrorMessage"), exports);
|
|
111
112
|
__exportStar(require("./ErrorReason"), exports);
|
|
112
113
|
__exportStar(require("./EventBaseNoId"), exports);
|
|
114
|
+
__exportStar(require("./EventCondition"), exports);
|
|
115
|
+
__exportStar(require("./EventConditionGroup"), exports);
|
|
113
116
|
__exportStar(require("./EventField"), exports);
|
|
114
117
|
__exportStar(require("./EventFilter"), exports);
|
|
118
|
+
__exportStar(require("./EventReferencesCondition"), exports);
|
|
115
119
|
__exportStar(require("./EventRequest"), exports);
|
|
116
120
|
__exportStar(require("./EventResponse"), exports);
|
|
117
121
|
__exportStar(require("./EventsSearchRequest"), exports);
|
|
@@ -141,8 +145,11 @@ __exportStar(require("./InboxItemSeverity"), exports);
|
|
|
141
145
|
__exportStar(require("./InboxItemStatus"), exports);
|
|
142
146
|
__exportStar(require("./InboxItemType"), exports);
|
|
143
147
|
__exportStar(require("./InitializeConversationResponse"), exports);
|
|
148
|
+
__exportStar(require("./IntelligentFieldFilter"), exports);
|
|
149
|
+
__exportStar(require("./IntelligentFieldOperator"), exports);
|
|
144
150
|
__exportStar(require("./IntelligentFieldPrecondition"), exports);
|
|
145
151
|
__exportStar(require("./IntelligentFieldPreconditionResponse"), exports);
|
|
152
|
+
__exportStar(require("./IntelligentFieldSearchCondition"), exports);
|
|
146
153
|
__exportStar(require("./IntelligentFieldValueResponse"), exports);
|
|
147
154
|
__exportStar(require("./IpInfo"), exports);
|
|
148
155
|
__exportStar(require("./JsonSchemaSettingsSchemaEntry"), exports);
|
|
@@ -227,6 +234,7 @@ __exportStar(require("./SurveyInfo"), exports);
|
|
|
227
234
|
__exportStar(require("./SwitchSettingsSchemaEntry"), exports);
|
|
228
235
|
__exportStar(require("./SystemEvent"), exports);
|
|
229
236
|
__exportStar(require("./SystemEventName"), exports);
|
|
237
|
+
__exportStar(require("./SystemEventNameCondition"), exports);
|
|
230
238
|
__exportStar(require("./TagsPrecondition"), exports);
|
|
231
239
|
__exportStar(require("./TextFormat"), exports);
|
|
232
240
|
__exportStar(require("./TextFormatJsonSchema"), exports);
|
|
@@ -238,6 +246,7 @@ __exportStar(require("./UserData"), exports);
|
|
|
238
246
|
__exportStar(require("./UserDataWithReference"), exports);
|
|
239
247
|
__exportStar(require("./UserEvent"), exports);
|
|
240
248
|
__exportStar(require("./UserEventName"), exports);
|
|
249
|
+
__exportStar(require("./UserEventNameCondition"), exports);
|
|
241
250
|
__exportStar(require("./UserMessage"), exports);
|
|
242
251
|
__exportStar(require("./UserMessageBase"), exports);
|
|
243
252
|
__exportStar(require("./UserMessageResponseState"), exports);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
export declare const ConversationField: core.serialization.Schema<serializers.ConversationField.Raw, MavenAGI.ConversationField>;
|
|
5
5
|
export declare namespace ConversationField {
|
|
6
|
-
type Raw = "Category" | "FirstResponseTime" | "HandleTime" | "HumanAgents" | "HumanAgentsWithInserts" | "App" | "Sentiment" | "QualityReason" | "ResolutionStatus" | "ResolvedByMaven" | "Quality" | "Users" | "ResponseLength" | "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "Tags" | "UserMessageCount" | "BotMessageCount" | "Languages" | "Actions" | "IncompleteActions" | "ErroredActions" | "ActionExecutionCount" | "ActionErrorCount" | "Charters" | "Sources" | "CreatedAt" | "PredictedNPS" | "Csat" | "OrganizationId" | "AgentId" | "AgentEnvironment" | "InboxItems" | "InvolvedApps" | "IntelligentField";
|
|
6
|
+
type Raw = "Category" | "FirstResponseTime" | "HandleTime" | "HumanAgents" | "HumanAgentsWithInserts" | "App" | "Sentiment" | "QualityReason" | "ResolutionStatus" | "ResolvedByMaven" | "Quality" | "Users" | "ResponseLength" | "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "Tags" | "UserMessageCount" | "BotMessageCount" | "Languages" | "Actions" | "IncompleteActions" | "ErroredActions" | "ActionExecutionCount" | "ActionErrorCount" | "Charters" | "Sources" | "CreatedAt" | "PredictedNPS" | "Csat" | "OrganizationId" | "AgentId" | "AgentEnvironment" | "InboxItems" | "InvolvedApps" | "Variant" | "IntelligentField" | "IntelligentFields";
|
|
7
7
|
}
|
|
@@ -4,6 +4,7 @@ import type * as serializers from "../../../index";
|
|
|
4
4
|
import { ConversationMode } from "../../commons/types/ConversationMode";
|
|
5
5
|
import { EntityIdFilter } from "../../commons/types/EntityIdFilter";
|
|
6
6
|
import { FeedbackType } from "../../commons/types/FeedbackType";
|
|
7
|
+
import { IntelligentFieldFilter } from "../../commons/types/IntelligentFieldFilter";
|
|
7
8
|
import { NumberRange } from "../../commons/types/NumberRange";
|
|
8
9
|
import { Quality } from "../../commons/types/Quality";
|
|
9
10
|
import { QualityReason } from "../../commons/types/QualityReason";
|
|
@@ -11,7 +12,6 @@ import { ResolutionStatus } from "../../commons/types/ResolutionStatus";
|
|
|
11
12
|
import { ResponseLength } from "../../commons/types/ResponseLength";
|
|
12
13
|
import { Sentiment } from "../../commons/types/Sentiment";
|
|
13
14
|
import { BillableFilterField } from "./BillableFilterField";
|
|
14
|
-
import { IntelligentFieldFilter } from "./IntelligentFieldFilter";
|
|
15
15
|
import { SimulationFilter } from "./SimulationFilter";
|
|
16
16
|
export declare const ConversationFilter: core.serialization.ObjectSchema<serializers.ConversationFilter.Raw, MavenAGI.ConversationFilter>;
|
|
17
17
|
export declare namespace ConversationFilter {
|
|
@@ -33,6 +33,7 @@ export declare namespace ConversationFilter {
|
|
|
33
33
|
responseLength?: ResponseLength.Raw[] | null;
|
|
34
34
|
sentiment?: Sentiment.Raw[] | null;
|
|
35
35
|
conversationMode?: ConversationMode.Raw[] | null;
|
|
36
|
+
deleted?: boolean | null;
|
|
36
37
|
tags?: string[] | null;
|
|
37
38
|
agentUserIds?: string[] | null;
|
|
38
39
|
resolutionStatus?: ResolutionStatus.Raw[] | null;
|
|
@@ -43,6 +44,7 @@ export declare namespace ConversationFilter {
|
|
|
43
44
|
matchedCharterIds?: EntityIdFilter.Raw[] | null;
|
|
44
45
|
anyMsgCharterMode?: boolean | null;
|
|
45
46
|
inboxItemIds?: EntityIdFilter.Raw[] | null;
|
|
47
|
+
variantIds?: EntityIdFilter.Raw[] | null;
|
|
46
48
|
simulationFilter?: SimulationFilter.Raw | null;
|
|
47
49
|
intelligentFields?: IntelligentFieldFilter.Raw | null;
|
|
48
50
|
billable?: BillableFilterField.Raw[] | null;
|
|
@@ -39,6 +39,7 @@ const core = __importStar(require("../../../../core"));
|
|
|
39
39
|
const ConversationMode_1 = require("../../commons/types/ConversationMode");
|
|
40
40
|
const EntityIdFilter_1 = require("../../commons/types/EntityIdFilter");
|
|
41
41
|
const FeedbackType_1 = require("../../commons/types/FeedbackType");
|
|
42
|
+
const IntelligentFieldFilter_1 = require("../../commons/types/IntelligentFieldFilter");
|
|
42
43
|
const NumberRange_1 = require("../../commons/types/NumberRange");
|
|
43
44
|
const Quality_1 = require("../../commons/types/Quality");
|
|
44
45
|
const QualityReason_1 = require("../../commons/types/QualityReason");
|
|
@@ -46,7 +47,6 @@ const ResolutionStatus_1 = require("../../commons/types/ResolutionStatus");
|
|
|
46
47
|
const ResponseLength_1 = require("../../commons/types/ResponseLength");
|
|
47
48
|
const Sentiment_1 = require("../../commons/types/Sentiment");
|
|
48
49
|
const BillableFilterField_1 = require("./BillableFilterField");
|
|
49
|
-
const IntelligentFieldFilter_1 = require("./IntelligentFieldFilter");
|
|
50
50
|
const SimulationFilter_1 = require("./SimulationFilter");
|
|
51
51
|
exports.ConversationFilter = core.serialization.object({
|
|
52
52
|
search: core.serialization.string().optional(),
|
|
@@ -66,6 +66,7 @@ exports.ConversationFilter = core.serialization.object({
|
|
|
66
66
|
responseLength: core.serialization.list(ResponseLength_1.ResponseLength).optional(),
|
|
67
67
|
sentiment: core.serialization.list(Sentiment_1.Sentiment).optional(),
|
|
68
68
|
conversationMode: core.serialization.list(ConversationMode_1.ConversationMode).optional(),
|
|
69
|
+
deleted: core.serialization.boolean().optional(),
|
|
69
70
|
tags: core.serialization.list(core.serialization.string()).optional(),
|
|
70
71
|
agentUserIds: core.serialization.list(core.serialization.string()).optional(),
|
|
71
72
|
resolutionStatus: core.serialization.list(ResolutionStatus_1.ResolutionStatus).optional(),
|
|
@@ -76,6 +77,7 @@ exports.ConversationFilter = core.serialization.object({
|
|
|
76
77
|
matchedCharterIds: core.serialization.list(EntityIdFilter_1.EntityIdFilter).optional(),
|
|
77
78
|
anyMsgCharterMode: core.serialization.boolean().optional(),
|
|
78
79
|
inboxItemIds: core.serialization.list(EntityIdFilter_1.EntityIdFilter).optional(),
|
|
80
|
+
variantIds: core.serialization.list(EntityIdFilter_1.EntityIdFilter).optional(),
|
|
79
81
|
simulationFilter: SimulationFilter_1.SimulationFilter.optional(),
|
|
80
82
|
intelligentFields: IntelligentFieldFilter_1.IntelligentFieldFilter.optional(),
|
|
81
83
|
billable: core.serialization.list(BillableFilterField_1.BillableFilterField).optional(),
|
|
@@ -29,9 +29,6 @@ export * from "./DeliveryStatus";
|
|
|
29
29
|
export * from "./FeedbackField";
|
|
30
30
|
export * from "./FeedbackFilter";
|
|
31
31
|
export * from "./FeedbackRequest";
|
|
32
|
-
export * from "./IntelligentFieldFilter";
|
|
33
|
-
export * from "./IntelligentFieldOperator";
|
|
34
|
-
export * from "./IntelligentFieldSearchCondition";
|
|
35
32
|
export * from "./NumericConversationField";
|
|
36
33
|
export * from "./SimulationFilter";
|
|
37
34
|
export * from "./StreamResponse";
|
|
@@ -45,9 +45,6 @@ __exportStar(require("./DeliveryStatus"), exports);
|
|
|
45
45
|
__exportStar(require("./FeedbackField"), exports);
|
|
46
46
|
__exportStar(require("./FeedbackFilter"), exports);
|
|
47
47
|
__exportStar(require("./FeedbackRequest"), exports);
|
|
48
|
-
__exportStar(require("./IntelligentFieldFilter"), exports);
|
|
49
|
-
__exportStar(require("./IntelligentFieldOperator"), exports);
|
|
50
|
-
__exportStar(require("./IntelligentFieldSearchCondition"), exports);
|
|
51
48
|
__exportStar(require("./NumericConversationField"), exports);
|
|
52
49
|
__exportStar(require("./SimulationFilter"), exports);
|
|
53
50
|
__exportStar(require("./StreamResponse"), exports);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../../api/index";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
|
+
import { EntityIdFilter } from "../../commons/types/EntityIdFilter";
|
|
4
5
|
import { InboxItemStatus } from "../../commons/types/InboxItemStatus";
|
|
5
6
|
import { InboxItemType } from "../../commons/types/InboxItemType";
|
|
6
7
|
export declare const InboxFilter: core.serialization.ObjectSchema<serializers.InboxFilter.Raw, MavenAGI.InboxFilter>;
|
|
@@ -11,5 +12,6 @@ export declare namespace InboxFilter {
|
|
|
11
12
|
tags?: string[] | null;
|
|
12
13
|
createdAfter?: string | null;
|
|
13
14
|
createdBefore?: string | null;
|
|
15
|
+
variantIds?: EntityIdFilter.Raw[] | null;
|
|
14
16
|
}
|
|
15
17
|
}
|
|
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.InboxFilter = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EntityIdFilter_1 = require("../../commons/types/EntityIdFilter");
|
|
39
40
|
const InboxItemStatus_1 = require("../../commons/types/InboxItemStatus");
|
|
40
41
|
const InboxItemType_1 = require("../../commons/types/InboxItemType");
|
|
41
42
|
exports.InboxFilter = core.serialization.object({
|
|
@@ -44,4 +45,5 @@ exports.InboxFilter = core.serialization.object({
|
|
|
44
45
|
tags: core.serialization.set(core.serialization.string()).optional(),
|
|
45
46
|
createdAfter: core.serialization.date().optional(),
|
|
46
47
|
createdBefore: core.serialization.date().optional(),
|
|
48
|
+
variantIds: core.serialization.list(EntityIdFilter_1.EntityIdFilter).optional(),
|
|
47
49
|
});
|
|
@@ -48,6 +48,7 @@ export * from "./segments/types";
|
|
|
48
48
|
export * as translations from "./translations";
|
|
49
49
|
export * from "./translations/types";
|
|
50
50
|
export * as triggers from "./triggers";
|
|
51
|
+
export * from "./triggers/client/requests";
|
|
51
52
|
export * from "./triggers/types";
|
|
52
53
|
export * as users from "./users";
|
|
53
54
|
export * from "./users/types";
|