mavenagi 1.2.54 → 1.2.56
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/analytics/types/ConversationBarChartRequest.d.ts +2 -0
- package/api/resources/analytics/types/ConversationDateHistogramRequest.d.ts +1 -0
- package/api/resources/analytics/types/ConversationPieChartRequest.d.ts +1 -0
- package/api/resources/commons/types/ActionResponse.d.ts +1 -1
- package/api/resources/commons/types/AskType.d.ts +13 -0
- package/api/resources/commons/types/AskType.js +16 -0
- package/api/resources/commons/types/BaseConversationResponse.d.ts +5 -0
- package/api/resources/commons/types/BotLogicItem.d.ts +4 -1
- package/api/resources/commons/types/BotLogicSteeringItem.d.ts +10 -0
- package/api/resources/commons/types/BotLogicSteeringItem.js +3 -0
- package/api/resources/commons/types/ConversationExecutedActionPrecondition.d.ts +13 -0
- package/api/resources/commons/types/ConversationMode.d.ts +10 -0
- package/api/resources/commons/types/ConversationMode.js +13 -0
- package/api/resources/commons/types/ConversationModePrecondition.d.ts +10 -0
- package/api/resources/commons/types/ConversationModePrecondition.js +3 -0
- package/api/resources/commons/types/ConversationPrecondition.d.ts +4 -1
- package/api/resources/commons/types/ConversationPreconditionResponse.d.ts +4 -1
- package/api/resources/commons/types/ConversationResponse.d.ts +1 -0
- package/api/resources/commons/types/EntityType.d.ts +1 -0
- package/api/resources/commons/types/EntityType.js +1 -0
- package/api/resources/commons/types/KeyValueEntryCondition.d.ts +13 -0
- package/api/resources/commons/types/KeyValueEntryCondition.js +3 -0
- package/api/resources/commons/types/ObjectCondition.d.ts +10 -0
- package/api/resources/commons/types/ObjectCondition.js +3 -0
- package/api/resources/commons/types/index.d.ts +6 -0
- package/api/resources/commons/types/index.js +6 -0
- package/api/resources/conversation/types/AskRequest.d.ts +37 -2
- package/api/resources/conversation/types/ConversationField.d.ts +3 -0
- package/api/resources/conversation/types/ConversationField.js +3 -0
- package/api/resources/conversation/types/ConversationFilter.d.ts +2 -0
- package/api/resources/conversation/types/NumericConversationField.d.ts +2 -0
- package/api/resources/conversation/types/NumericConversationField.js +2 -0
- package/api/resources/knowledge/client/Client.d.ts +6 -3
- package/api/resources/knowledge/client/Client.js +6 -3
- package/api/resources/knowledge/types/CancelKnowledgeBaseVersionRequest.d.ts +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionFinalizeStatus.d.ts +5 -1
- package/api/resources/knowledge/types/KnowledgeBaseVersionFinalizeStatus.js +5 -1
- package/api/resources/knowledge/types/KnowledgeBaseVersionStatus.d.ts +3 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionStatus.js +3 -0
- package/package.json +1 -1
- package/reference.md +6 -3
- package/serialization/resources/commons/types/AskType.d.ts +7 -0
- package/serialization/resources/commons/types/AskType.js +39 -0
- package/serialization/resources/commons/types/BaseConversationResponse.d.ts +2 -0
- package/serialization/resources/commons/types/BaseConversationResponse.js +2 -0
- package/serialization/resources/commons/types/BotLogicItem.d.ts +5 -1
- package/serialization/resources/commons/types/BotLogicItem.js +2 -0
- package/serialization/resources/commons/types/BotLogicSteeringItem.d.ts +11 -0
- package/serialization/resources/commons/types/BotLogicSteeringItem.js +43 -0
- package/serialization/resources/commons/types/ConversationExecutedActionPrecondition.d.ts +2 -0
- package/serialization/resources/commons/types/ConversationExecutedActionPrecondition.js +2 -0
- package/serialization/resources/commons/types/ConversationMode.d.ts +7 -0
- package/serialization/resources/commons/types/ConversationMode.js +39 -0
- package/serialization/resources/commons/types/ConversationModePrecondition.d.ts +11 -0
- package/serialization/resources/commons/types/ConversationModePrecondition.js +45 -0
- package/serialization/resources/commons/types/ConversationPrecondition.d.ts +5 -1
- package/serialization/resources/commons/types/ConversationPrecondition.js +2 -0
- package/serialization/resources/commons/types/ConversationPreconditionResponse.d.ts +5 -1
- package/serialization/resources/commons/types/ConversationPreconditionResponse.js +2 -0
- package/serialization/resources/commons/types/EntityType.d.ts +1 -1
- package/serialization/resources/commons/types/EntityType.js +1 -0
- package/serialization/resources/commons/types/KeyValueEntryCondition.d.ts +11 -0
- package/serialization/resources/commons/types/KeyValueEntryCondition.js +43 -0
- package/serialization/resources/commons/types/ObjectCondition.d.ts +11 -0
- package/serialization/resources/commons/types/ObjectCondition.js +47 -0
- package/serialization/resources/commons/types/index.d.ts +6 -0
- package/serialization/resources/commons/types/index.js +6 -0
- package/serialization/resources/conversation/types/AskRequest.d.ts +3 -1
- package/serialization/resources/conversation/types/AskRequest.js +3 -1
- package/serialization/resources/conversation/types/ConversationField.d.ts +1 -1
- package/serialization/resources/conversation/types/ConversationField.js +3 -0
- package/serialization/resources/conversation/types/ConversationFilter.d.ts +1 -0
- package/serialization/resources/conversation/types/ConversationFilter.js +1 -0
- package/serialization/resources/conversation/types/NumericConversationField.d.ts +1 -1
- package/serialization/resources/conversation/types/NumericConversationField.js +2 -0
- package/serialization/resources/knowledge/types/CancelKnowledgeBaseVersionRequest.d.ts +1 -0
- package/serialization/resources/knowledge/types/CancelKnowledgeBaseVersionRequest.js +1 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionFinalizeStatus.d.ts +1 -1
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionFinalizeStatus.js +1 -1
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionStatus.d.ts +1 -1
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionStatus.js +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,39 @@
|
|
|
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.AskType = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.AskType = core.serialization.forwardCompatibleEnum_(["USER_MESSAGE", "WELCOME", "PROACTIVE"]);
|
|
@@ -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 { ConversationAnalysis } from "./ConversationAnalysis";
|
|
5
|
+
import { ConversationMode } from "./ConversationMode";
|
|
5
6
|
import { ConversationSummary } from "./ConversationSummary";
|
|
6
7
|
import { EntityId } from "./EntityId";
|
|
7
8
|
import { RelationshipType } from "./RelationshipType";
|
|
@@ -26,5 +27,6 @@ export declare namespace BaseConversationResponse {
|
|
|
26
27
|
llmEnabled: boolean;
|
|
27
28
|
simulationContext?: SimulationContext.Raw | null;
|
|
28
29
|
relatedEntities?: Record<RelationshipType.Raw, EntityId.Raw[] | null | undefined> | null;
|
|
30
|
+
conversationMode?: ConversationMode.Raw | null;
|
|
29
31
|
}
|
|
30
32
|
}
|
|
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.BaseConversationResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const ConversationAnalysis_1 = require("./ConversationAnalysis");
|
|
40
|
+
const ConversationMode_1 = require("./ConversationMode");
|
|
40
41
|
const ConversationSummary_1 = require("./ConversationSummary");
|
|
41
42
|
const EntityId_1 = require("./EntityId");
|
|
42
43
|
const RelationshipType_1 = require("./RelationshipType");
|
|
@@ -61,4 +62,5 @@ exports.BaseConversationResponse = core.serialization.object({
|
|
|
61
62
|
relatedEntities: core.serialization
|
|
62
63
|
.partialRecord(RelationshipType_1.RelationshipType, core.serialization.list(EntityId_1.EntityId).optional())
|
|
63
64
|
.optional(),
|
|
65
|
+
conversationMode: ConversationMode_1.ConversationMode.optional(),
|
|
64
66
|
});
|
|
@@ -8,10 +8,11 @@ import { BotLogicIntelligentFieldsItem } from "./BotLogicIntelligentFieldsItem";
|
|
|
8
8
|
import { BotLogicKnowledgeItem } from "./BotLogicKnowledgeItem";
|
|
9
9
|
import { BotLogicSafetyItem } from "./BotLogicSafetyItem";
|
|
10
10
|
import { BotLogicSegmentsItem } from "./BotLogicSegmentsItem";
|
|
11
|
+
import { BotLogicSteeringItem } from "./BotLogicSteeringItem";
|
|
11
12
|
import { BotLogicUserItem } from "./BotLogicUserItem";
|
|
12
13
|
export declare const BotLogicItem: core.serialization.Schema<serializers.BotLogicItem.Raw, MavenAGI.BotLogicItem>;
|
|
13
14
|
export declare namespace BotLogicItem {
|
|
14
|
-
type Raw = BotLogicItem.Knowledge | BotLogicItem.Actions | BotLogicItem.Form | BotLogicItem.Safety | BotLogicItem.User | BotLogicItem.Segments | BotLogicItem.IntelligentFields | BotLogicItem.Charters;
|
|
15
|
+
type Raw = BotLogicItem.Knowledge | BotLogicItem.Actions | BotLogicItem.Form | BotLogicItem.Safety | BotLogicItem.User | BotLogicItem.Segments | BotLogicItem.IntelligentFields | BotLogicItem.Charters | BotLogicItem.Steering;
|
|
15
16
|
interface Knowledge extends BotLogicKnowledgeItem.Raw {
|
|
16
17
|
type: "knowledge";
|
|
17
18
|
}
|
|
@@ -36,4 +37,7 @@ export declare namespace BotLogicItem {
|
|
|
36
37
|
interface Charters extends BotLogicChartersItem.Raw {
|
|
37
38
|
type: "charters";
|
|
38
39
|
}
|
|
40
|
+
interface Steering extends BotLogicSteeringItem.Raw {
|
|
41
|
+
type: "steering";
|
|
42
|
+
}
|
|
39
43
|
}
|
|
@@ -43,6 +43,7 @@ const BotLogicIntelligentFieldsItem_1 = require("./BotLogicIntelligentFieldsItem
|
|
|
43
43
|
const BotLogicKnowledgeItem_1 = require("./BotLogicKnowledgeItem");
|
|
44
44
|
const BotLogicSafetyItem_1 = require("./BotLogicSafetyItem");
|
|
45
45
|
const BotLogicSegmentsItem_1 = require("./BotLogicSegmentsItem");
|
|
46
|
+
const BotLogicSteeringItem_1 = require("./BotLogicSteeringItem");
|
|
46
47
|
const BotLogicUserItem_1 = require("./BotLogicUserItem");
|
|
47
48
|
exports.BotLogicItem = core.serialization
|
|
48
49
|
.union("type", {
|
|
@@ -54,6 +55,7 @@ exports.BotLogicItem = core.serialization
|
|
|
54
55
|
segments: BotLogicSegmentsItem_1.BotLogicSegmentsItem,
|
|
55
56
|
intelligentFields: BotLogicIntelligentFieldsItem_1.BotLogicIntelligentFieldsItem,
|
|
56
57
|
charters: BotLogicChartersItem_1.BotLogicChartersItem,
|
|
58
|
+
steering: BotLogicSteeringItem_1.BotLogicSteeringItem,
|
|
57
59
|
})
|
|
58
60
|
.transform({
|
|
59
61
|
transform: (value) => value,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { AskType } from "./AskType";
|
|
5
|
+
export declare const BotLogicSteeringItem: core.serialization.ObjectSchema<serializers.BotLogicSteeringItem.Raw, MavenAGI.BotLogicSteeringItem>;
|
|
6
|
+
export declare namespace BotLogicSteeringItem {
|
|
7
|
+
interface Raw {
|
|
8
|
+
askType: AskType.Raw;
|
|
9
|
+
text?: string | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.BotLogicSteeringItem = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const AskType_1 = require("./AskType");
|
|
40
|
+
exports.BotLogicSteeringItem = core.serialization.object({
|
|
41
|
+
askType: AskType_1.AskType,
|
|
42
|
+
text: core.serialization.string().optional(),
|
|
43
|
+
});
|
|
@@ -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 { ConversationRound } from "./ConversationRound";
|
|
5
|
+
import { ObjectCondition } from "./ObjectCondition";
|
|
5
6
|
import { PreconditionBase } from "./PreconditionBase";
|
|
6
7
|
export declare const ConversationExecutedActionPrecondition: core.serialization.ObjectSchema<serializers.ConversationExecutedActionPrecondition.Raw, MavenAGI.ConversationExecutedActionPrecondition>;
|
|
7
8
|
export declare namespace ConversationExecutedActionPrecondition {
|
|
@@ -9,5 +10,6 @@ export declare namespace ConversationExecutedActionPrecondition {
|
|
|
9
10
|
actionId: string;
|
|
10
11
|
appId?: string | null;
|
|
11
12
|
conversationRound?: ConversationRound.Raw | null;
|
|
13
|
+
dataCondition?: ObjectCondition.Raw | null;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -37,11 +37,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.ConversationExecutedActionPrecondition = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const ConversationRound_1 = require("./ConversationRound");
|
|
40
|
+
const ObjectCondition_1 = require("./ObjectCondition");
|
|
40
41
|
const PreconditionBase_1 = require("./PreconditionBase");
|
|
41
42
|
exports.ConversationExecutedActionPrecondition = core.serialization
|
|
42
43
|
.object({
|
|
43
44
|
actionId: core.serialization.string(),
|
|
44
45
|
appId: core.serialization.string().optional(),
|
|
45
46
|
conversationRound: ConversationRound_1.ConversationRound.optional(),
|
|
47
|
+
dataCondition: ObjectCondition_1.ObjectCondition.optional(),
|
|
46
48
|
})
|
|
47
49
|
.extend(PreconditionBase_1.PreconditionBase);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const ConversationMode: core.serialization.Schema<serializers.ConversationMode.Raw, MavenAGI.ConversationMode>;
|
|
5
|
+
export declare namespace ConversationMode {
|
|
6
|
+
type Raw = "VOICE" | "TEXT";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.ConversationMode = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.ConversationMode = core.serialization.forwardCompatibleEnum_(["VOICE", "TEXT"]);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { ConversationMode } from "./ConversationMode";
|
|
5
|
+
import { PreconditionBase } from "./PreconditionBase";
|
|
6
|
+
export declare const ConversationModePrecondition: core.serialization.ObjectSchema<serializers.ConversationModePrecondition.Raw, MavenAGI.ConversationModePrecondition>;
|
|
7
|
+
export declare namespace ConversationModePrecondition {
|
|
8
|
+
interface Raw extends PreconditionBase.Raw {
|
|
9
|
+
conversationMode: ConversationMode.Raw;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.ConversationModePrecondition = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const ConversationMode_1 = require("./ConversationMode");
|
|
40
|
+
const PreconditionBase_1 = require("./PreconditionBase");
|
|
41
|
+
exports.ConversationModePrecondition = core.serialization
|
|
42
|
+
.object({
|
|
43
|
+
conversationMode: ConversationMode_1.ConversationMode,
|
|
44
|
+
})
|
|
45
|
+
.extend(PreconditionBase_1.PreconditionBase);
|
|
@@ -3,6 +3,7 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
import { AppPrecondition } from "./AppPrecondition";
|
|
5
5
|
import { ConversationExecutedActionPrecondition } from "./ConversationExecutedActionPrecondition";
|
|
6
|
+
import { ConversationModePrecondition } from "./ConversationModePrecondition";
|
|
6
7
|
import { ConversationStatePrecondition } from "./ConversationStatePrecondition";
|
|
7
8
|
import { IntelligentFieldPrecondition } from "./IntelligentFieldPrecondition";
|
|
8
9
|
import { MetadataPrecondition } from "./MetadataPrecondition";
|
|
@@ -10,7 +11,7 @@ import { ResponseConfigPrecondition } from "./ResponseConfigPrecondition";
|
|
|
10
11
|
import { TagsPrecondition } from "./TagsPrecondition";
|
|
11
12
|
export declare const ConversationPrecondition: core.serialization.Schema<serializers.ConversationPrecondition.Raw, MavenAGI.ConversationPrecondition>;
|
|
12
13
|
export declare namespace ConversationPrecondition {
|
|
13
|
-
type Raw = ConversationPrecondition.Tags | ConversationPrecondition.Metadata | ConversationPrecondition.ActionExecuted | ConversationPrecondition.ResponseConfig | ConversationPrecondition.App | ConversationPrecondition.ConversationState | ConversationPrecondition.IntelligentField;
|
|
14
|
+
type Raw = ConversationPrecondition.Tags | ConversationPrecondition.Metadata | ConversationPrecondition.ActionExecuted | ConversationPrecondition.ResponseConfig | ConversationPrecondition.App | ConversationPrecondition.ConversationState | ConversationPrecondition.ConversationMode | ConversationPrecondition.IntelligentField;
|
|
14
15
|
interface Tags extends TagsPrecondition.Raw {
|
|
15
16
|
conversationPreconditionType: "tags";
|
|
16
17
|
}
|
|
@@ -29,6 +30,9 @@ export declare namespace ConversationPrecondition {
|
|
|
29
30
|
interface ConversationState extends ConversationStatePrecondition.Raw {
|
|
30
31
|
conversationPreconditionType: "conversationState";
|
|
31
32
|
}
|
|
33
|
+
interface ConversationMode extends ConversationModePrecondition.Raw {
|
|
34
|
+
conversationPreconditionType: "conversationMode";
|
|
35
|
+
}
|
|
32
36
|
interface IntelligentField extends IntelligentFieldPrecondition.Raw {
|
|
33
37
|
conversationPreconditionType: "intelligentField";
|
|
34
38
|
}
|
|
@@ -38,6 +38,7 @@ exports.ConversationPrecondition = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const AppPrecondition_1 = require("./AppPrecondition");
|
|
40
40
|
const ConversationExecutedActionPrecondition_1 = require("./ConversationExecutedActionPrecondition");
|
|
41
|
+
const ConversationModePrecondition_1 = require("./ConversationModePrecondition");
|
|
41
42
|
const ConversationStatePrecondition_1 = require("./ConversationStatePrecondition");
|
|
42
43
|
const IntelligentFieldPrecondition_1 = require("./IntelligentFieldPrecondition");
|
|
43
44
|
const MetadataPrecondition_1 = require("./MetadataPrecondition");
|
|
@@ -51,6 +52,7 @@ exports.ConversationPrecondition = core.serialization
|
|
|
51
52
|
responseConfig: ResponseConfigPrecondition_1.ResponseConfigPrecondition,
|
|
52
53
|
app: AppPrecondition_1.AppPrecondition,
|
|
53
54
|
conversationState: ConversationStatePrecondition_1.ConversationStatePrecondition,
|
|
55
|
+
conversationMode: ConversationModePrecondition_1.ConversationModePrecondition,
|
|
54
56
|
intelligentField: IntelligentFieldPrecondition_1.IntelligentFieldPrecondition,
|
|
55
57
|
})
|
|
56
58
|
.transform({
|
|
@@ -3,6 +3,7 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
import { AppPrecondition } from "./AppPrecondition";
|
|
5
5
|
import { ConversationExecutedActionPrecondition } from "./ConversationExecutedActionPrecondition";
|
|
6
|
+
import { ConversationModePrecondition } from "./ConversationModePrecondition";
|
|
6
7
|
import { ConversationStatePrecondition } from "./ConversationStatePrecondition";
|
|
7
8
|
import { IntelligentFieldPreconditionResponse } from "./IntelligentFieldPreconditionResponse";
|
|
8
9
|
import { MetadataPrecondition } from "./MetadataPrecondition";
|
|
@@ -10,7 +11,7 @@ import { ResponseConfigPrecondition } from "./ResponseConfigPrecondition";
|
|
|
10
11
|
import { TagsPrecondition } from "./TagsPrecondition";
|
|
11
12
|
export declare const ConversationPreconditionResponse: core.serialization.Schema<serializers.ConversationPreconditionResponse.Raw, MavenAGI.ConversationPreconditionResponse>;
|
|
12
13
|
export declare namespace ConversationPreconditionResponse {
|
|
13
|
-
type Raw = ConversationPreconditionResponse.Tags | ConversationPreconditionResponse.Metadata | ConversationPreconditionResponse.ActionExecuted | ConversationPreconditionResponse.ResponseConfig | ConversationPreconditionResponse.App | ConversationPreconditionResponse.ConversationState | ConversationPreconditionResponse.IntelligentField;
|
|
14
|
+
type Raw = ConversationPreconditionResponse.Tags | ConversationPreconditionResponse.Metadata | ConversationPreconditionResponse.ActionExecuted | ConversationPreconditionResponse.ResponseConfig | ConversationPreconditionResponse.App | ConversationPreconditionResponse.ConversationState | ConversationPreconditionResponse.ConversationMode | ConversationPreconditionResponse.IntelligentField;
|
|
14
15
|
interface Tags extends TagsPrecondition.Raw {
|
|
15
16
|
conversationPreconditionType: "tags";
|
|
16
17
|
}
|
|
@@ -29,6 +30,9 @@ export declare namespace ConversationPreconditionResponse {
|
|
|
29
30
|
interface ConversationState extends ConversationStatePrecondition.Raw {
|
|
30
31
|
conversationPreconditionType: "conversationState";
|
|
31
32
|
}
|
|
33
|
+
interface ConversationMode extends ConversationModePrecondition.Raw {
|
|
34
|
+
conversationPreconditionType: "conversationMode";
|
|
35
|
+
}
|
|
32
36
|
interface IntelligentField extends IntelligentFieldPreconditionResponse.Raw {
|
|
33
37
|
conversationPreconditionType: "intelligentField";
|
|
34
38
|
}
|
|
@@ -38,6 +38,7 @@ exports.ConversationPreconditionResponse = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const AppPrecondition_1 = require("./AppPrecondition");
|
|
40
40
|
const ConversationExecutedActionPrecondition_1 = require("./ConversationExecutedActionPrecondition");
|
|
41
|
+
const ConversationModePrecondition_1 = require("./ConversationModePrecondition");
|
|
41
42
|
const ConversationStatePrecondition_1 = require("./ConversationStatePrecondition");
|
|
42
43
|
const IntelligentFieldPreconditionResponse_1 = require("./IntelligentFieldPreconditionResponse");
|
|
43
44
|
const MetadataPrecondition_1 = require("./MetadataPrecondition");
|
|
@@ -51,6 +52,7 @@ exports.ConversationPreconditionResponse = core.serialization
|
|
|
51
52
|
responseConfig: ResponseConfigPrecondition_1.ResponseConfigPrecondition,
|
|
52
53
|
app: AppPrecondition_1.AppPrecondition,
|
|
53
54
|
conversationState: ConversationStatePrecondition_1.ConversationStatePrecondition,
|
|
55
|
+
conversationMode: ConversationModePrecondition_1.ConversationModePrecondition,
|
|
54
56
|
intelligentField: IntelligentFieldPreconditionResponse_1.IntelligentFieldPreconditionResponse,
|
|
55
57
|
})
|
|
56
58
|
.transform({
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
export declare const EntityType: core.serialization.Schema<serializers.EntityType.Raw, MavenAGI.EntityType>;
|
|
5
5
|
export declare namespace EntityType {
|
|
6
|
-
type Raw = "AGENT" | "CONVERSATION" | "CONVERSATION_MESSAGE" | "KNOWLEDGE_BASE" | "KNOWLEDGE_BASE_VERSION" | "KNOWLEDGE_DOCUMENT" | "ACTION" | "USER" | "EVENT" | "EVENT_TRIGGER" | "USER_PROFILE" | "FEEDBACK" | "INBOX_ITEM" | "INBOX_ITEM_FIX" | "SEGMENT" | "CUSTOMER" | "INTELLIGENT_FIELD" | "CHARTER" | "CONVERSATION_KICKOFF" | "AGENT_VARIANT" | "CONFIG_SNAPSHOT" | "ASSET";
|
|
6
|
+
type Raw = "AGENT" | "CONVERSATION" | "CONVERSATION_MESSAGE" | "KNOWLEDGE_BASE" | "KNOWLEDGE_BASE_VERSION" | "KNOWLEDGE_DOCUMENT" | "ACTION" | "USER" | "EVENT" | "EVENT_TRIGGER" | "USER_PROFILE" | "FEEDBACK" | "INBOX_ITEM" | "INBOX_ITEM_FIX" | "SEGMENT" | "CUSTOMER" | "INTELLIGENT_FIELD" | "CHARTER" | "CONVERSATION_KICKOFF" | "AGENT_VARIANT" | "CONFIG_SNAPSHOT" | "ASSET" | "TRAFFIC_CONFIG";
|
|
7
7
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { IntelligentFieldCondition } from "./IntelligentFieldCondition";
|
|
5
|
+
export declare const KeyValueEntryCondition: core.serialization.ObjectSchema<serializers.KeyValueEntryCondition.Raw, MavenAGI.KeyValueEntryCondition>;
|
|
6
|
+
export declare namespace KeyValueEntryCondition {
|
|
7
|
+
interface Raw {
|
|
8
|
+
path: string;
|
|
9
|
+
condition: IntelligentFieldCondition.Raw;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.KeyValueEntryCondition = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const IntelligentFieldCondition_1 = require("./IntelligentFieldCondition");
|
|
40
|
+
exports.KeyValueEntryCondition = core.serialization.object({
|
|
41
|
+
path: core.serialization.string(),
|
|
42
|
+
condition: IntelligentFieldCondition_1.IntelligentFieldCondition,
|
|
43
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { KeyValueEntryCondition } from "./KeyValueEntryCondition";
|
|
5
|
+
export declare const ObjectCondition: core.serialization.Schema<serializers.ObjectCondition.Raw, MavenAGI.ObjectCondition>;
|
|
6
|
+
export declare namespace ObjectCondition {
|
|
7
|
+
type Raw = ObjectCondition.Entry;
|
|
8
|
+
interface Entry extends KeyValueEntryCondition.Raw {
|
|
9
|
+
objectConditionType: "entry";
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.ObjectCondition = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const KeyValueEntryCondition_1 = require("./KeyValueEntryCondition");
|
|
40
|
+
exports.ObjectCondition = core.serialization
|
|
41
|
+
.union("objectConditionType", {
|
|
42
|
+
entry: KeyValueEntryCondition_1.KeyValueEntryCondition,
|
|
43
|
+
})
|
|
44
|
+
.transform({
|
|
45
|
+
transform: (value) => value,
|
|
46
|
+
untransform: (value) => value,
|
|
47
|
+
});
|
|
@@ -15,6 +15,7 @@ export * from "./AppUserIdentifyingPropertyType";
|
|
|
15
15
|
export * from "./AppUserRequest";
|
|
16
16
|
export * from "./AppUserResponse";
|
|
17
17
|
export * from "./ArraySettingsSchemaEntry";
|
|
18
|
+
export * from "./AskType";
|
|
18
19
|
export * from "./AttachmentRequest";
|
|
19
20
|
export * from "./AttachmentResponse";
|
|
20
21
|
export * from "./AttachmentStatus";
|
|
@@ -41,6 +42,7 @@ export * from "./BotLogicKnowledgeDetail";
|
|
|
41
42
|
export * from "./BotLogicKnowledgeItem";
|
|
42
43
|
export * from "./BotLogicSafetyItem";
|
|
43
44
|
export * from "./BotLogicSegmentsItem";
|
|
45
|
+
export * from "./BotLogicSteeringItem";
|
|
44
46
|
export * from "./BotLogicUserItem";
|
|
45
47
|
export * from "./BotMessage";
|
|
46
48
|
export * from "./BotOAuthButtonResponse";
|
|
@@ -63,6 +65,8 @@ export * from "./ConversationKickoffExecutionResponse";
|
|
|
63
65
|
export * from "./ConversationKickoffStatus";
|
|
64
66
|
export * from "./ConversationMessageBase";
|
|
65
67
|
export * from "./ConversationMessageResponse";
|
|
68
|
+
export * from "./ConversationMode";
|
|
69
|
+
export * from "./ConversationModePrecondition";
|
|
66
70
|
export * from "./ConversationPrecondition";
|
|
67
71
|
export * from "./ConversationPreconditionResponse";
|
|
68
72
|
export * from "./ConversationPreview";
|
|
@@ -120,6 +124,7 @@ export * from "./IntelligentFieldPreconditionResponse";
|
|
|
120
124
|
export * from "./IntelligentFieldValueResponse";
|
|
121
125
|
export * from "./IpInfo";
|
|
122
126
|
export * from "./JsonSchemaSettingsSchemaEntry";
|
|
127
|
+
export * from "./KeyValueEntryCondition";
|
|
123
128
|
export * from "./KnowledgeContextByEntities";
|
|
124
129
|
export * from "./KnowledgeContextByEntityTypes";
|
|
125
130
|
export * from "./KnowledgeContextFilter";
|
|
@@ -141,6 +146,7 @@ export * from "./NumericMembershipCondition";
|
|
|
141
146
|
export * from "./NumericMembershipOperator";
|
|
142
147
|
export * from "./OAuthAuthenticationMethod";
|
|
143
148
|
export * from "./OAuthSettingsSchemaEntry";
|
|
149
|
+
export * from "./ObjectCondition";
|
|
144
150
|
export * from "./OneOfSettingsSchemaEntry";
|
|
145
151
|
export * from "./OsInfo";
|
|
146
152
|
export * from "./OsType";
|
|
@@ -31,6 +31,7 @@ __exportStar(require("./AppUserIdentifyingPropertyType"), exports);
|
|
|
31
31
|
__exportStar(require("./AppUserRequest"), exports);
|
|
32
32
|
__exportStar(require("./AppUserResponse"), exports);
|
|
33
33
|
__exportStar(require("./ArraySettingsSchemaEntry"), exports);
|
|
34
|
+
__exportStar(require("./AskType"), exports);
|
|
34
35
|
__exportStar(require("./AttachmentRequest"), exports);
|
|
35
36
|
__exportStar(require("./AttachmentResponse"), exports);
|
|
36
37
|
__exportStar(require("./AttachmentStatus"), exports);
|
|
@@ -57,6 +58,7 @@ __exportStar(require("./BotLogicKnowledgeDetail"), exports);
|
|
|
57
58
|
__exportStar(require("./BotLogicKnowledgeItem"), exports);
|
|
58
59
|
__exportStar(require("./BotLogicSafetyItem"), exports);
|
|
59
60
|
__exportStar(require("./BotLogicSegmentsItem"), exports);
|
|
61
|
+
__exportStar(require("./BotLogicSteeringItem"), exports);
|
|
60
62
|
__exportStar(require("./BotLogicUserItem"), exports);
|
|
61
63
|
__exportStar(require("./BotMessage"), exports);
|
|
62
64
|
__exportStar(require("./BotOAuthButtonResponse"), exports);
|
|
@@ -79,6 +81,8 @@ __exportStar(require("./ConversationKickoffExecutionResponse"), exports);
|
|
|
79
81
|
__exportStar(require("./ConversationKickoffStatus"), exports);
|
|
80
82
|
__exportStar(require("./ConversationMessageBase"), exports);
|
|
81
83
|
__exportStar(require("./ConversationMessageResponse"), exports);
|
|
84
|
+
__exportStar(require("./ConversationMode"), exports);
|
|
85
|
+
__exportStar(require("./ConversationModePrecondition"), exports);
|
|
82
86
|
__exportStar(require("./ConversationPrecondition"), exports);
|
|
83
87
|
__exportStar(require("./ConversationPreconditionResponse"), exports);
|
|
84
88
|
__exportStar(require("./ConversationPreview"), exports);
|
|
@@ -136,6 +140,7 @@ __exportStar(require("./IntelligentFieldPreconditionResponse"), exports);
|
|
|
136
140
|
__exportStar(require("./IntelligentFieldValueResponse"), exports);
|
|
137
141
|
__exportStar(require("./IpInfo"), exports);
|
|
138
142
|
__exportStar(require("./JsonSchemaSettingsSchemaEntry"), exports);
|
|
143
|
+
__exportStar(require("./KeyValueEntryCondition"), exports);
|
|
139
144
|
__exportStar(require("./KnowledgeContextByEntities"), exports);
|
|
140
145
|
__exportStar(require("./KnowledgeContextByEntityTypes"), exports);
|
|
141
146
|
__exportStar(require("./KnowledgeContextFilter"), exports);
|
|
@@ -157,6 +162,7 @@ __exportStar(require("./NumericMembershipCondition"), exports);
|
|
|
157
162
|
__exportStar(require("./NumericMembershipOperator"), exports);
|
|
158
163
|
__exportStar(require("./OAuthAuthenticationMethod"), exports);
|
|
159
164
|
__exportStar(require("./OAuthSettingsSchemaEntry"), exports);
|
|
165
|
+
__exportStar(require("./ObjectCondition"), exports);
|
|
160
166
|
__exportStar(require("./OneOfSettingsSchemaEntry"), exports);
|
|
161
167
|
__exportStar(require("./OsInfo"), exports);
|
|
162
168
|
__exportStar(require("./OsType"), 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 { AskType } from "../../commons/types/AskType";
|
|
4
5
|
import { AttachmentRequest } from "../../commons/types/AttachmentRequest";
|
|
5
6
|
import { EntityIdBase } from "../../commons/types/EntityIdBase";
|
|
6
7
|
export declare const AskRequest: core.serialization.ObjectSchema<serializers.AskRequest.Raw, MavenAGI.AskRequest>;
|
|
@@ -8,7 +9,8 @@ export declare namespace AskRequest {
|
|
|
8
9
|
interface Raw {
|
|
9
10
|
conversationMessageId: EntityIdBase.Raw;
|
|
10
11
|
userId: EntityIdBase.Raw;
|
|
11
|
-
|
|
12
|
+
type?: AskType.Raw | null;
|
|
13
|
+
text?: string | null;
|
|
12
14
|
attachments?: AttachmentRequest.Raw[] | null;
|
|
13
15
|
transientData?: Record<string, string> | null;
|
|
14
16
|
timezone?: string | null;
|