mavenagi 1.2.55 → 1.2.57
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/Client.d.ts +3 -0
- package/Client.js +21 -16
- package/api/resources/analytics/types/ConversationBasicMetric.d.ts +5 -0
- package/api/resources/analytics/types/ConversationGroupBy.d.ts +9 -1
- package/api/resources/analytics/types/ConversationNumericMetric.d.ts +5 -0
- package/api/resources/analytics/types/ConversationTableRequest.d.ts +6 -0
- package/api/resources/charters/index.d.ts +1 -0
- package/api/resources/charters/index.js +17 -0
- package/api/resources/charters/types/CharterChildrenExclusionPolicy.d.ts +17 -0
- package/api/resources/charters/types/CharterChildrenExclusionPolicy.js +20 -0
- package/api/resources/charters/types/CharterStatus.d.ts +16 -0
- package/api/resources/charters/types/CharterStatus.js +19 -0
- package/api/resources/charters/types/CharterSummary.d.ts +28 -0
- package/api/resources/charters/types/CharterType.d.ts +25 -0
- package/api/resources/charters/types/CharterType.js +28 -0
- package/api/resources/charters/types/index.d.ts +4 -0
- package/api/resources/charters/types/index.js +20 -0
- package/api/resources/commons/types/ActionParameter.d.ts +2 -2
- package/api/resources/commons/types/BaseConversationResponse.d.ts +5 -0
- package/api/resources/commons/types/BotObjectResponse.d.ts +2 -4
- 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/FieldCondition.d.ts +45 -0
- package/api/resources/commons/types/FieldCondition.js +3 -0
- package/api/resources/commons/types/IntelligentFieldPrecondition.d.ts +1 -1
- package/api/resources/commons/types/IntelligentFieldPreconditionResponse.d.ts +1 -1
- 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/TextFormat.d.ts +13 -0
- package/api/resources/commons/types/TextFormat.js +3 -0
- package/api/resources/commons/types/TextFormatJsonSchema.d.ts +35 -0
- package/api/resources/commons/types/TextFormatJsonSchema.js +3 -0
- package/api/resources/commons/types/TextFormatText.d.ts +4 -0
- package/api/resources/commons/types/TextFormatText.js +3 -0
- package/api/resources/commons/types/UniversalCondition.d.ts +3 -3
- package/api/resources/commons/types/index.d.ts +8 -1
- package/api/resources/commons/types/index.js +8 -1
- package/api/resources/conversation/types/AskRequest.d.ts +59 -0
- package/api/resources/conversation/types/AskStreamObjectEvent.d.ts +7 -0
- package/api/resources/conversation/types/AskStreamObjectEvent.js +3 -0
- package/api/resources/conversation/types/ConversationField.d.ts +8 -0
- package/api/resources/conversation/types/ConversationField.js +8 -0
- package/api/resources/conversation/types/ConversationsSearchRequest.d.ts +5 -0
- package/api/resources/conversation/types/NumericConversationField.d.ts +4 -0
- package/api/resources/conversation/types/NumericConversationField.js +4 -0
- package/api/resources/conversation/types/StreamResponse.d.ts +4 -1
- package/api/resources/conversation/types/index.d.ts +1 -0
- package/api/resources/conversation/types/index.js +1 -0
- package/api/resources/index.d.ts +5 -0
- package/api/resources/index.js +6 -1
- package/api/resources/intelligentFields/client/Client.d.ts +156 -0
- package/api/resources/intelligentFields/client/Client.js +627 -0
- package/api/resources/intelligentFields/client/index.d.ts +1 -0
- package/api/resources/intelligentFields/client/index.js +17 -0
- package/api/resources/intelligentFields/client/requests/IntelligentFieldDeleteRequest.d.ts +12 -0
- package/api/resources/intelligentFields/client/requests/IntelligentFieldDeleteRequest.js +3 -0
- package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.d.ts +8 -0
- package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.js +3 -0
- package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +26 -0
- package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +3 -0
- package/api/resources/intelligentFields/client/requests/index.d.ts +3 -0
- package/api/resources/intelligentFields/client/requests/index.js +2 -0
- package/api/resources/intelligentFields/exports.d.ts +2 -0
- package/api/resources/intelligentFields/exports.js +21 -0
- package/api/resources/intelligentFields/index.d.ts +2 -0
- package/api/resources/intelligentFields/index.js +18 -0
- package/api/resources/intelligentFields/types/EnumOption.d.ts +9 -0
- package/api/resources/intelligentFields/types/EnumOption.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +7 -0
- package/api/resources/intelligentFields/types/IntelligentFieldBase.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldCore.d.ts +28 -0
- package/api/resources/intelligentFields/types/IntelligentFieldCore.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldDetailResponse.d.ts +36 -0
- package/api/resources/intelligentFields/types/IntelligentFieldDetailResponse.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +28 -0
- package/api/resources/intelligentFields/types/IntelligentFieldRequest.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +41 -0
- package/api/resources/intelligentFields/types/IntelligentFieldResponse.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldStatus.d.ts +7 -0
- package/api/resources/intelligentFields/types/IntelligentFieldStatus.js +10 -0
- package/api/resources/intelligentFields/types/IntelligentFieldType.d.ts +9 -0
- package/api/resources/intelligentFields/types/IntelligentFieldType.js +12 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.d.ts +8 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.d.ts +10 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.d.ts +17 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.d.ts +35 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueSortField.d.ts +5 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueSortField.js +8 -0
- package/api/resources/intelligentFields/types/index.d.ts +13 -0
- package/api/resources/intelligentFields/types/index.js +29 -0
- package/api/resources/knowledge/client/Client.d.ts +39 -3
- package/api/resources/knowledge/client/Client.js +123 -3
- package/api/resources/knowledge/types/CancelKnowledgeBaseVersionRequest.d.ts +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +5 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +25 -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/KnowledgeBaseVersionProgress.d.ts +29 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionProgress.js +3 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.d.ts +24 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.js +3 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionStatus.d.ts +3 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionStatus.js +3 -0
- package/api/resources/knowledge/types/index.d.ts +2 -0
- package/api/resources/knowledge/types/index.js +2 -0
- package/api/resources/segments/client/Client.js +3 -1
- package/api/resources/segments/client/requests/SegmentDeleteRequest.d.ts +12 -0
- package/api/resources/segments/types/SegmentPatchRequest.d.ts +8 -0
- package/api/resources/segments/types/SegmentRequest.d.ts +8 -0
- package/api/resources/segments/types/SegmentSummary.d.ts +14 -0
- package/api/resources/segments/types/SegmentSummary.js +3 -0
- package/api/resources/segments/types/index.d.ts +1 -0
- package/api/resources/segments/types/index.js +1 -0
- package/package.json +1 -1
- package/reference.md +482 -3
- package/serialization/resources/analytics/types/ConversationBasicMetric.d.ts +2 -0
- package/serialization/resources/analytics/types/ConversationBasicMetric.js +2 -0
- package/serialization/resources/analytics/types/ConversationGroupBy.d.ts +2 -0
- package/serialization/resources/analytics/types/ConversationGroupBy.js +2 -0
- package/serialization/resources/analytics/types/ConversationNumericMetric.d.ts +2 -0
- package/serialization/resources/analytics/types/ConversationNumericMetric.js +2 -0
- package/serialization/resources/charters/index.d.ts +1 -0
- package/serialization/resources/charters/index.js +17 -0
- package/serialization/resources/charters/types/CharterChildrenExclusionPolicy.d.ts +7 -0
- package/serialization/resources/charters/types/CharterChildrenExclusionPolicy.js +39 -0
- package/serialization/resources/charters/types/CharterStatus.d.ts +7 -0
- package/serialization/resources/charters/types/CharterStatus.js +39 -0
- package/serialization/resources/charters/types/CharterSummary.d.ts +22 -0
- package/serialization/resources/charters/types/CharterSummary.js +54 -0
- package/serialization/resources/charters/types/CharterType.d.ts +7 -0
- package/serialization/resources/charters/types/CharterType.js +39 -0
- package/serialization/resources/charters/types/index.d.ts +4 -0
- package/serialization/resources/charters/types/index.js +20 -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/BotObjectResponse.d.ts +0 -1
- package/serialization/resources/commons/types/BotObjectResponse.js +0 -1
- 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/{IntelligentFieldCondition.d.ts → FieldCondition.d.ts} +3 -3
- package/serialization/resources/commons/types/{IntelligentFieldCondition.js → FieldCondition.js} +2 -2
- package/serialization/resources/commons/types/IntelligentFieldPrecondition.d.ts +2 -2
- package/serialization/resources/commons/types/IntelligentFieldPrecondition.js +2 -2
- package/serialization/resources/commons/types/IntelligentFieldPreconditionResponse.d.ts +2 -2
- package/serialization/resources/commons/types/IntelligentFieldPreconditionResponse.js +2 -2
- 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/TextFormat.d.ts +15 -0
- package/serialization/resources/commons/types/TextFormat.js +49 -0
- package/serialization/resources/commons/types/TextFormatJsonSchema.d.ts +10 -0
- package/serialization/resources/commons/types/TextFormatJsonSchema.js +42 -0
- package/serialization/resources/commons/types/TextFormatText.d.ts +7 -0
- package/serialization/resources/commons/types/TextFormatText.js +39 -0
- package/serialization/resources/commons/types/index.d.ts +8 -1
- package/serialization/resources/commons/types/index.js +8 -1
- package/serialization/resources/conversation/types/AskRequest.d.ts +2 -0
- package/serialization/resources/conversation/types/AskRequest.js +2 -0
- package/serialization/resources/conversation/types/AskStreamObjectEvent.d.ts +9 -0
- package/serialization/resources/conversation/types/AskStreamObjectEvent.js +40 -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/NumericConversationField.d.ts +1 -1
- package/serialization/resources/conversation/types/NumericConversationField.js +1 -0
- package/serialization/resources/conversation/types/StreamResponse.d.ts +5 -1
- package/serialization/resources/conversation/types/StreamResponse.js +2 -0
- package/serialization/resources/conversation/types/index.d.ts +1 -0
- package/serialization/resources/conversation/types/index.js +1 -0
- package/serialization/resources/index.d.ts +5 -0
- package/serialization/resources/index.js +6 -1
- package/serialization/resources/intelligentFields/client/index.d.ts +1 -0
- package/serialization/resources/intelligentFields/client/index.js +17 -0
- package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +17 -0
- package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +49 -0
- package/serialization/resources/intelligentFields/client/requests/index.d.ts +1 -0
- package/serialization/resources/intelligentFields/client/requests/index.js +5 -0
- package/serialization/resources/intelligentFields/index.d.ts +2 -0
- package/serialization/resources/intelligentFields/index.js +18 -0
- package/serialization/resources/intelligentFields/types/EnumOption.d.ts +10 -0
- package/serialization/resources/intelligentFields/types/EnumOption.js +42 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldBase.d.ts +13 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldBase.js +47 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldCore.d.ts +15 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldCore.js +47 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldDetailResponse.d.ts +11 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldDetailResponse.js +45 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +11 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldRequest.js +45 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +15 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.js +49 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldStatus.d.ts +7 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldStatus.js +39 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldType.d.ts +7 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldType.js +39 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.d.ts +10 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.js +42 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.d.ts +12 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.js +44 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.d.ts +20 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.js +54 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.d.ts +11 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.js +45 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueSortField.d.ts +7 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueSortField.js +39 -0
- package/serialization/resources/intelligentFields/types/index.d.ts +13 -0
- package/serialization/resources/intelligentFields/types/index.js +29 -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/KnowledgeBaseResponse.d.ts +2 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +2 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersion.d.ts +2 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +2 -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/KnowledgeBaseVersionProgress.d.ts +11 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgress.js +43 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.d.ts +13 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.js +45 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionStatus.d.ts +1 -1
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionStatus.js +1 -1
- package/serialization/resources/knowledge/types/index.d.ts +2 -0
- package/serialization/resources/knowledge/types/index.js +2 -0
- package/serialization/resources/segments/types/SegmentPatchRequest.d.ts +2 -0
- package/serialization/resources/segments/types/SegmentPatchRequest.js +2 -0
- package/serialization/resources/segments/types/SegmentRequest.d.ts +2 -0
- package/serialization/resources/segments/types/SegmentRequest.js +2 -0
- package/serialization/resources/segments/types/SegmentSummary.d.ts +14 -0
- package/serialization/resources/segments/types/SegmentSummary.js +47 -0
- package/serialization/resources/segments/types/index.d.ts +1 -0
- package/serialization/resources/segments/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/commons/types/IntelligentFieldCondition.d.ts +0 -37
- /package/api/resources/{commons/types/IntelligentFieldCondition.js → charters/types/CharterSummary.js} +0 -0
|
@@ -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.CharterStatus = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.CharterStatus = core.serialization.forwardCompatibleEnum_(["ACTIVE", "INACTIVE", "DELETED"]);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { EntityId } from "../../commons/types/EntityId";
|
|
5
|
+
import { SegmentSummary } from "../../segments/types/SegmentSummary";
|
|
6
|
+
import { CharterChildrenExclusionPolicy } from "./CharterChildrenExclusionPolicy";
|
|
7
|
+
import { CharterStatus } from "./CharterStatus";
|
|
8
|
+
import { CharterType } from "./CharterType";
|
|
9
|
+
export declare const CharterSummary: core.serialization.ObjectSchema<serializers.CharterSummary.Raw, MavenAGI.CharterSummary>;
|
|
10
|
+
export declare namespace CharterSummary {
|
|
11
|
+
interface Raw {
|
|
12
|
+
charterId: EntityId.Raw;
|
|
13
|
+
name: string;
|
|
14
|
+
segmentSummary?: SegmentSummary.Raw | null;
|
|
15
|
+
parentCharterId?: EntityId.Raw | null;
|
|
16
|
+
status: CharterStatus.Raw;
|
|
17
|
+
type?: CharterType.Raw | null;
|
|
18
|
+
childrenExclusionPolicy?: CharterChildrenExclusionPolicy.Raw | null;
|
|
19
|
+
createdAt: string;
|
|
20
|
+
updatedAt: string;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.CharterSummary = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EntityId_1 = require("../../commons/types/EntityId");
|
|
40
|
+
const SegmentSummary_1 = require("../../segments/types/SegmentSummary");
|
|
41
|
+
const CharterChildrenExclusionPolicy_1 = require("./CharterChildrenExclusionPolicy");
|
|
42
|
+
const CharterStatus_1 = require("./CharterStatus");
|
|
43
|
+
const CharterType_1 = require("./CharterType");
|
|
44
|
+
exports.CharterSummary = core.serialization.object({
|
|
45
|
+
charterId: EntityId_1.EntityId,
|
|
46
|
+
name: core.serialization.string(),
|
|
47
|
+
segmentSummary: SegmentSummary_1.SegmentSummary.nullable(),
|
|
48
|
+
parentCharterId: EntityId_1.EntityId.nullable(),
|
|
49
|
+
status: CharterStatus_1.CharterStatus,
|
|
50
|
+
type: CharterType_1.CharterType.optional(),
|
|
51
|
+
childrenExclusionPolicy: CharterChildrenExclusionPolicy_1.CharterChildrenExclusionPolicy.optional(),
|
|
52
|
+
createdAt: core.serialization.date(),
|
|
53
|
+
updatedAt: core.serialization.date(),
|
|
54
|
+
});
|
|
@@ -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 CharterType: core.serialization.Schema<serializers.CharterType.Raw, MavenAGI.CharterType>;
|
|
5
|
+
export declare namespace CharterType {
|
|
6
|
+
type Raw = "STANDARD" | "STRICT_RETURN";
|
|
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.CharterType = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.CharterType = core.serialization.forwardCompatibleEnum_(["STANDARD", "STRICT_RETURN"]);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./CharterChildrenExclusionPolicy"), exports);
|
|
18
|
+
__exportStar(require("./CharterStatus"), exports);
|
|
19
|
+
__exportStar(require("./CharterSummary"), exports);
|
|
20
|
+
__exportStar(require("./CharterType"), exports);
|
|
@@ -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
|
});
|
|
@@ -4,7 +4,6 @@ import type * as serializers from "../../../index";
|
|
|
4
4
|
export declare const BotObjectResponse: core.serialization.ObjectSchema<serializers.BotObjectResponse.Raw, MavenAGI.BotObjectResponse>;
|
|
5
5
|
export declare namespace BotObjectResponse {
|
|
6
6
|
interface Raw {
|
|
7
|
-
label?: string | null;
|
|
8
7
|
object?: unknown;
|
|
9
8
|
}
|
|
10
9
|
}
|
|
@@ -37,6 +37,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.BotObjectResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
exports.BotObjectResponse = core.serialization.object({
|
|
40
|
-
label: core.serialization.string().optional(),
|
|
41
40
|
object: core.serialization.unknown(),
|
|
42
41
|
});
|
|
@@ -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({
|
package/serialization/resources/commons/types/{IntelligentFieldCondition.d.ts → FieldCondition.d.ts}
RENAMED
|
@@ -6,9 +6,9 @@ import { NumericCondition } from "./NumericCondition";
|
|
|
6
6
|
import { SetCondition } from "./SetCondition";
|
|
7
7
|
import { StringCondition } from "./StringCondition";
|
|
8
8
|
import { UniversalCondition } from "./UniversalCondition";
|
|
9
|
-
export declare const
|
|
10
|
-
export declare namespace
|
|
11
|
-
type Raw =
|
|
9
|
+
export declare const FieldCondition: core.serialization.Schema<serializers.FieldCondition.Raw, MavenAGI.FieldCondition>;
|
|
10
|
+
export declare namespace FieldCondition {
|
|
11
|
+
type Raw = FieldCondition.String | FieldCondition.Numeric | FieldCondition.Boolean | FieldCondition.Set | FieldCondition.Universal;
|
|
12
12
|
interface String {
|
|
13
13
|
fieldValidationType: "string";
|
|
14
14
|
value: StringCondition.Raw;
|
package/serialization/resources/commons/types/{IntelligentFieldCondition.js → FieldCondition.js}
RENAMED
|
@@ -34,14 +34,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.FieldCondition = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const BooleanCondition_1 = require("./BooleanCondition");
|
|
40
40
|
const NumericCondition_1 = require("./NumericCondition");
|
|
41
41
|
const SetCondition_1 = require("./SetCondition");
|
|
42
42
|
const StringCondition_1 = require("./StringCondition");
|
|
43
43
|
const UniversalCondition_1 = require("./UniversalCondition");
|
|
44
|
-
exports.
|
|
44
|
+
exports.FieldCondition = core.serialization
|
|
45
45
|
.union("fieldValidationType", {
|
|
46
46
|
string: core.serialization.object({
|
|
47
47
|
value: StringCondition_1.StringCondition,
|
|
@@ -2,11 +2,11 @@ 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 { EntityIdWithoutAgent } from "./EntityIdWithoutAgent";
|
|
5
|
-
import {
|
|
5
|
+
import { FieldCondition } from "./FieldCondition";
|
|
6
6
|
export declare const IntelligentFieldPrecondition: core.serialization.ObjectSchema<serializers.IntelligentFieldPrecondition.Raw, MavenAGI.IntelligentFieldPrecondition>;
|
|
7
7
|
export declare namespace IntelligentFieldPrecondition {
|
|
8
8
|
interface Raw {
|
|
9
9
|
fieldIdWithoutAgent: EntityIdWithoutAgent.Raw;
|
|
10
|
-
fieldCondition:
|
|
10
|
+
fieldCondition: FieldCondition.Raw;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -37,8 +37,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.IntelligentFieldPrecondition = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const EntityIdWithoutAgent_1 = require("./EntityIdWithoutAgent");
|
|
40
|
-
const
|
|
40
|
+
const FieldCondition_1 = require("./FieldCondition");
|
|
41
41
|
exports.IntelligentFieldPrecondition = core.serialization.object({
|
|
42
42
|
fieldIdWithoutAgent: EntityIdWithoutAgent_1.EntityIdWithoutAgent,
|
|
43
|
-
fieldCondition:
|
|
43
|
+
fieldCondition: FieldCondition_1.FieldCondition,
|
|
44
44
|
});
|
|
@@ -2,12 +2,12 @@ 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 { EntityIdWithoutAgent } from "./EntityIdWithoutAgent";
|
|
5
|
-
import {
|
|
5
|
+
import { FieldCondition } from "./FieldCondition";
|
|
6
6
|
export declare const IntelligentFieldPreconditionResponse: core.serialization.ObjectSchema<serializers.IntelligentFieldPreconditionResponse.Raw, MavenAGI.IntelligentFieldPreconditionResponse>;
|
|
7
7
|
export declare namespace IntelligentFieldPreconditionResponse {
|
|
8
8
|
interface Raw {
|
|
9
9
|
fieldIdWithoutAgent: EntityIdWithoutAgent.Raw;
|
|
10
10
|
name?: string | null;
|
|
11
|
-
fieldCondition:
|
|
11
|
+
fieldCondition: FieldCondition.Raw;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -37,9 +37,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.IntelligentFieldPreconditionResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const EntityIdWithoutAgent_1 = require("./EntityIdWithoutAgent");
|
|
40
|
-
const
|
|
40
|
+
const FieldCondition_1 = require("./FieldCondition");
|
|
41
41
|
exports.IntelligentFieldPreconditionResponse = core.serialization.object({
|
|
42
42
|
fieldIdWithoutAgent: EntityIdWithoutAgent_1.EntityIdWithoutAgent,
|
|
43
43
|
name: core.serialization.string().optional(),
|
|
44
|
-
fieldCondition:
|
|
44
|
+
fieldCondition: FieldCondition_1.FieldCondition,
|
|
45
45
|
});
|
|
@@ -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 { FieldCondition } from "./FieldCondition";
|
|
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: FieldCondition.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 FieldCondition_1 = require("./FieldCondition");
|
|
40
|
+
exports.KeyValueEntryCondition = core.serialization.object({
|
|
41
|
+
path: core.serialization.string(),
|
|
42
|
+
condition: FieldCondition_1.FieldCondition,
|
|
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
|
+
}
|