mavenagi 1.2.56 → 1.2.58
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/BaseCursorRequest.d.ts +21 -0
- package/api/resources/commons/types/BaseCursorRequest.js +3 -0
- package/api/resources/commons/types/BotObjectResponse.d.ts +2 -4
- package/api/resources/commons/types/CursorPage.d.ts +12 -0
- package/api/resources/commons/types/CursorPage.js +3 -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 +1 -1
- 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 +6 -1
- package/api/resources/commons/types/index.js +6 -1
- package/api/resources/conversation/client/Client.d.ts +32 -1
- package/api/resources/conversation/client/Client.js +116 -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/ConversationRequest.d.ts +12 -1
- package/api/resources/conversation/types/ConversationsCursorSearchRequest.d.ts +4 -0
- package/api/resources/conversation/types/ConversationsCursorSearchRequest.js +3 -0
- package/api/resources/conversation/types/ConversationsCursorSearchResponse.d.ts +11 -0
- package/api/resources/conversation/types/ConversationsCursorSearchResponse.js +3 -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 +3 -0
- package/api/resources/conversation/types/index.js +3 -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 +33 -0
- package/api/resources/knowledge/client/Client.js +117 -0
- package/api/resources/knowledge/types/KnowledgeBaseDocumentDeltas.d.ts +16 -0
- package/api/resources/knowledge/types/KnowledgeBaseDocumentDeltas.js +3 -0
- package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +5 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +30 -0
- 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/index.d.ts +3 -0
- package/api/resources/knowledge/types/index.js +3 -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 +552 -1
- 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/BaseCursorRequest.d.ts +11 -0
- package/serialization/resources/commons/types/BaseCursorRequest.js +43 -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/CursorPage.d.ts +9 -0
- package/serialization/resources/commons/types/CursorPage.js +41 -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 +2 -2
- package/serialization/resources/commons/types/KeyValueEntryCondition.js +2 -2
- 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 +6 -1
- package/serialization/resources/commons/types/index.js +6 -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/ConversationsCursorSearchRequest.d.ts +11 -0
- package/serialization/resources/conversation/types/ConversationsCursorSearchRequest.js +45 -0
- package/serialization/resources/conversation/types/ConversationsCursorSearchResponse.d.ts +12 -0
- package/serialization/resources/conversation/types/ConversationsCursorSearchResponse.js +46 -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 +3 -0
- package/serialization/resources/conversation/types/index.js +3 -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/KnowledgeBaseDocumentDeltas.d.ts +11 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseDocumentDeltas.js +43 -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 +4 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +4 -0
- 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/index.d.ts +3 -0
- package/serialization/resources/knowledge/types/index.js +3 -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
package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.d.ts
ADDED
|
@@ -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 { IntelligentFieldValueResponse } from "../../commons/types/IntelligentFieldValueResponse";
|
|
5
|
+
import { Page } from "../../commons/types/Page";
|
|
6
|
+
export declare const IntelligentFieldValueSearchResponse: core.serialization.ObjectSchema<serializers.IntelligentFieldValueSearchResponse.Raw, MavenAGI.IntelligentFieldValueSearchResponse>;
|
|
7
|
+
export declare namespace IntelligentFieldValueSearchResponse {
|
|
8
|
+
interface Raw extends Page.Raw {
|
|
9
|
+
values: IntelligentFieldValueResponse.Raw[];
|
|
10
|
+
}
|
|
11
|
+
}
|
package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.js
ADDED
|
@@ -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.IntelligentFieldValueSearchResponse = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const IntelligentFieldValueResponse_1 = require("../../commons/types/IntelligentFieldValueResponse");
|
|
40
|
+
const Page_1 = require("../../commons/types/Page");
|
|
41
|
+
exports.IntelligentFieldValueSearchResponse = core.serialization
|
|
42
|
+
.object({
|
|
43
|
+
values: core.serialization.list(IntelligentFieldValueResponse_1.IntelligentFieldValueResponse),
|
|
44
|
+
})
|
|
45
|
+
.extend(Page_1.Page);
|
|
@@ -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 IntelligentFieldValueSortField: core.serialization.Schema<serializers.IntelligentFieldValueSortField.Raw, MavenAGI.IntelligentFieldValueSortField>;
|
|
5
|
+
export declare namespace IntelligentFieldValueSortField {
|
|
6
|
+
type Raw = "CREATED_AT";
|
|
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.IntelligentFieldValueSortField = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.IntelligentFieldValueSortField = core.serialization.forwardCompatibleEnum_(["CREATED_AT"]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./EnumOption";
|
|
2
|
+
export * from "./IntelligentFieldBase";
|
|
3
|
+
export * from "./IntelligentFieldCore";
|
|
4
|
+
export * from "./IntelligentFieldDetailResponse";
|
|
5
|
+
export * from "./IntelligentFieldRequest";
|
|
6
|
+
export * from "./IntelligentFieldResponse";
|
|
7
|
+
export * from "./IntelligentFieldStatus";
|
|
8
|
+
export * from "./IntelligentFieldType";
|
|
9
|
+
export * from "./IntelligentFieldValueEntityFilter";
|
|
10
|
+
export * from "./IntelligentFieldValueFieldFilter";
|
|
11
|
+
export * from "./IntelligentFieldValueSearchRequest";
|
|
12
|
+
export * from "./IntelligentFieldValueSearchResponse";
|
|
13
|
+
export * from "./IntelligentFieldValueSortField";
|
|
@@ -0,0 +1,29 @@
|
|
|
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("./EnumOption"), exports);
|
|
18
|
+
__exportStar(require("./IntelligentFieldBase"), exports);
|
|
19
|
+
__exportStar(require("./IntelligentFieldCore"), exports);
|
|
20
|
+
__exportStar(require("./IntelligentFieldDetailResponse"), exports);
|
|
21
|
+
__exportStar(require("./IntelligentFieldRequest"), exports);
|
|
22
|
+
__exportStar(require("./IntelligentFieldResponse"), exports);
|
|
23
|
+
__exportStar(require("./IntelligentFieldStatus"), exports);
|
|
24
|
+
__exportStar(require("./IntelligentFieldType"), exports);
|
|
25
|
+
__exportStar(require("./IntelligentFieldValueEntityFilter"), exports);
|
|
26
|
+
__exportStar(require("./IntelligentFieldValueFieldFilter"), exports);
|
|
27
|
+
__exportStar(require("./IntelligentFieldValueSearchRequest"), exports);
|
|
28
|
+
__exportStar(require("./IntelligentFieldValueSearchResponse"), exports);
|
|
29
|
+
__exportStar(require("./IntelligentFieldValueSortField"), exports);
|
|
@@ -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
|
+
export declare const KnowledgeBaseDocumentDeltas: core.serialization.ObjectSchema<serializers.KnowledgeBaseDocumentDeltas.Raw, MavenAGI.KnowledgeBaseDocumentDeltas>;
|
|
5
|
+
export declare namespace KnowledgeBaseDocumentDeltas {
|
|
6
|
+
interface Raw {
|
|
7
|
+
addedCount: number;
|
|
8
|
+
updatedCount: number;
|
|
9
|
+
removedCount: number;
|
|
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.KnowledgeBaseDocumentDeltas = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.KnowledgeBaseDocumentDeltas = core.serialization.object({
|
|
40
|
+
addedCount: core.serialization.number(),
|
|
41
|
+
updatedCount: core.serialization.number(),
|
|
42
|
+
removedCount: core.serialization.number(),
|
|
43
|
+
});
|
|
@@ -7,6 +7,7 @@ import { KnowledgeBaseIndexingProgressState } from "./KnowledgeBaseIndexingProgr
|
|
|
7
7
|
import { KnowledgeBaseProperties } from "./KnowledgeBaseProperties";
|
|
8
8
|
import { KnowledgeBaseRefreshFrequency } from "./KnowledgeBaseRefreshFrequency";
|
|
9
9
|
import { KnowledgeBaseType } from "./KnowledgeBaseType";
|
|
10
|
+
import { KnowledgeBaseVersionProgress } from "./KnowledgeBaseVersionProgress";
|
|
10
11
|
import { KnowledgeBaseVersionStatus } from "./KnowledgeBaseVersionStatus";
|
|
11
12
|
export declare const KnowledgeBaseResponse: core.serialization.ObjectSchema<serializers.KnowledgeBaseResponse.Raw, MavenAGI.KnowledgeBaseResponse>;
|
|
12
13
|
export declare namespace KnowledgeBaseResponse {
|
|
@@ -25,5 +26,6 @@ export declare namespace KnowledgeBaseResponse {
|
|
|
25
26
|
segmentIds: EntityId.Raw[];
|
|
26
27
|
url?: string | null;
|
|
27
28
|
indexingState?: KnowledgeBaseIndexingProgressState.Raw | null;
|
|
29
|
+
progress?: KnowledgeBaseVersionProgress.Raw | null;
|
|
28
30
|
}
|
|
29
31
|
}
|
|
@@ -42,6 +42,7 @@ const KnowledgeBaseIndexingProgressState_1 = require("./KnowledgeBaseIndexingPro
|
|
|
42
42
|
const KnowledgeBaseProperties_1 = require("./KnowledgeBaseProperties");
|
|
43
43
|
const KnowledgeBaseRefreshFrequency_1 = require("./KnowledgeBaseRefreshFrequency");
|
|
44
44
|
const KnowledgeBaseType_1 = require("./KnowledgeBaseType");
|
|
45
|
+
const KnowledgeBaseVersionProgress_1 = require("./KnowledgeBaseVersionProgress");
|
|
45
46
|
const KnowledgeBaseVersionStatus_1 = require("./KnowledgeBaseVersionStatus");
|
|
46
47
|
exports.KnowledgeBaseResponse = core.serialization
|
|
47
48
|
.object({
|
|
@@ -59,5 +60,6 @@ exports.KnowledgeBaseResponse = core.serialization
|
|
|
59
60
|
segmentIds: core.serialization.list(EntityId_1.EntityId),
|
|
60
61
|
url: core.serialization.string().optional(),
|
|
61
62
|
indexingState: KnowledgeBaseIndexingProgressState_1.KnowledgeBaseIndexingProgressState.optional(),
|
|
63
|
+
progress: KnowledgeBaseVersionProgress_1.KnowledgeBaseVersionProgress.optional(),
|
|
62
64
|
})
|
|
63
65
|
.extend(KnowledgeBaseProperties_1.KnowledgeBaseProperties);
|
|
@@ -2,7 +2,9 @@ import type * as MavenAGI from "../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
import { EntityId } from "../../commons/types/EntityId";
|
|
5
|
+
import { KnowledgeBaseDocumentDeltas } from "./KnowledgeBaseDocumentDeltas";
|
|
5
6
|
import { KnowledgeBaseIndexingProgressState } from "./KnowledgeBaseIndexingProgressState";
|
|
7
|
+
import { KnowledgeBaseVersionProgress } from "./KnowledgeBaseVersionProgress";
|
|
6
8
|
import { KnowledgeBaseVersionRequest } from "./KnowledgeBaseVersionRequest";
|
|
7
9
|
import { KnowledgeBaseVersionStatus } from "./KnowledgeBaseVersionStatus";
|
|
8
10
|
export declare const KnowledgeBaseVersion: core.serialization.ObjectSchema<serializers.KnowledgeBaseVersion.Raw, MavenAGI.KnowledgeBaseVersion>;
|
|
@@ -14,5 +16,7 @@ export declare namespace KnowledgeBaseVersion {
|
|
|
14
16
|
createdAt: string;
|
|
15
17
|
updatedAt: string;
|
|
16
18
|
indexingState?: KnowledgeBaseIndexingProgressState.Raw | null;
|
|
19
|
+
progress?: KnowledgeBaseVersionProgress.Raw | null;
|
|
20
|
+
documentDeltas?: KnowledgeBaseDocumentDeltas.Raw | null;
|
|
17
21
|
}
|
|
18
22
|
}
|
|
@@ -37,7 +37,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.KnowledgeBaseVersion = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const EntityId_1 = require("../../commons/types/EntityId");
|
|
40
|
+
const KnowledgeBaseDocumentDeltas_1 = require("./KnowledgeBaseDocumentDeltas");
|
|
40
41
|
const KnowledgeBaseIndexingProgressState_1 = require("./KnowledgeBaseIndexingProgressState");
|
|
42
|
+
const KnowledgeBaseVersionProgress_1 = require("./KnowledgeBaseVersionProgress");
|
|
41
43
|
const KnowledgeBaseVersionRequest_1 = require("./KnowledgeBaseVersionRequest");
|
|
42
44
|
const KnowledgeBaseVersionStatus_1 = require("./KnowledgeBaseVersionStatus");
|
|
43
45
|
exports.KnowledgeBaseVersion = core.serialization
|
|
@@ -48,5 +50,7 @@ exports.KnowledgeBaseVersion = core.serialization
|
|
|
48
50
|
createdAt: core.serialization.date(),
|
|
49
51
|
updatedAt: core.serialization.date(),
|
|
50
52
|
indexingState: KnowledgeBaseIndexingProgressState_1.KnowledgeBaseIndexingProgressState.optional(),
|
|
53
|
+
progress: KnowledgeBaseVersionProgress_1.KnowledgeBaseVersionProgress.optional(),
|
|
54
|
+
documentDeltas: KnowledgeBaseDocumentDeltas_1.KnowledgeBaseDocumentDeltas.optional(),
|
|
51
55
|
})
|
|
52
56
|
.extend(KnowledgeBaseVersionRequest_1.KnowledgeBaseVersionRequest);
|
|
@@ -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
|
+
export declare const KnowledgeBaseVersionProgress: core.serialization.ObjectSchema<serializers.KnowledgeBaseVersionProgress.Raw, MavenAGI.KnowledgeBaseVersionProgress>;
|
|
5
|
+
export declare namespace KnowledgeBaseVersionProgress {
|
|
6
|
+
interface Raw {
|
|
7
|
+
message: string;
|
|
8
|
+
completedCount?: number | null;
|
|
9
|
+
totalCount?: number | 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.KnowledgeBaseVersionProgress = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.KnowledgeBaseVersionProgress = core.serialization.object({
|
|
40
|
+
message: core.serialization.string(),
|
|
41
|
+
completedCount: core.serialization.number().optional(),
|
|
42
|
+
totalCount: core.serialization.number().optional(),
|
|
43
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { EntityIdWithoutAgent } from "../../commons/types/EntityIdWithoutAgent";
|
|
5
|
+
import { KnowledgeBaseVersionProgress } from "./KnowledgeBaseVersionProgress";
|
|
6
|
+
export declare const KnowledgeBaseVersionProgressRequest: core.serialization.ObjectSchema<serializers.KnowledgeBaseVersionProgressRequest.Raw, MavenAGI.KnowledgeBaseVersionProgressRequest>;
|
|
7
|
+
export declare namespace KnowledgeBaseVersionProgressRequest {
|
|
8
|
+
interface Raw {
|
|
9
|
+
appId?: string | null;
|
|
10
|
+
versionId: EntityIdWithoutAgent.Raw;
|
|
11
|
+
progress: KnowledgeBaseVersionProgress.Raw;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -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.KnowledgeBaseVersionProgressRequest = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EntityIdWithoutAgent_1 = require("../../commons/types/EntityIdWithoutAgent");
|
|
40
|
+
const KnowledgeBaseVersionProgress_1 = require("./KnowledgeBaseVersionProgress");
|
|
41
|
+
exports.KnowledgeBaseVersionProgressRequest = core.serialization.object({
|
|
42
|
+
appId: core.serialization.string().optional(),
|
|
43
|
+
versionId: EntityIdWithoutAgent_1.EntityIdWithoutAgent,
|
|
44
|
+
progress: KnowledgeBaseVersionProgress_1.KnowledgeBaseVersionProgress,
|
|
45
|
+
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./BaseKnowledgeDocument";
|
|
2
2
|
export * from "./CancelKnowledgeBaseVersionRequest";
|
|
3
3
|
export * from "./FinalizeKnowledgeBaseVersionRequest";
|
|
4
|
+
export * from "./KnowledgeBaseDocumentDeltas";
|
|
4
5
|
export * from "./KnowledgeBaseField";
|
|
5
6
|
export * from "./KnowledgeBaseFilter";
|
|
6
7
|
export * from "./KnowledgeBaseIndexingProgressState";
|
|
@@ -15,6 +16,8 @@ export * from "./KnowledgeBasesResponse";
|
|
|
15
16
|
export * from "./KnowledgeBaseType";
|
|
16
17
|
export * from "./KnowledgeBaseVersion";
|
|
17
18
|
export * from "./KnowledgeBaseVersionFinalizeStatus";
|
|
19
|
+
export * from "./KnowledgeBaseVersionProgress";
|
|
20
|
+
export * from "./KnowledgeBaseVersionProgressRequest";
|
|
18
21
|
export * from "./KnowledgeBaseVersionRequest";
|
|
19
22
|
export * from "./KnowledgeBaseVersionStatus";
|
|
20
23
|
export * from "./KnowledgeBaseVersionsListResponse";
|
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./BaseKnowledgeDocument"), exports);
|
|
18
18
|
__exportStar(require("./CancelKnowledgeBaseVersionRequest"), exports);
|
|
19
19
|
__exportStar(require("./FinalizeKnowledgeBaseVersionRequest"), exports);
|
|
20
|
+
__exportStar(require("./KnowledgeBaseDocumentDeltas"), exports);
|
|
20
21
|
__exportStar(require("./KnowledgeBaseField"), exports);
|
|
21
22
|
__exportStar(require("./KnowledgeBaseFilter"), exports);
|
|
22
23
|
__exportStar(require("./KnowledgeBaseIndexingProgressState"), exports);
|
|
@@ -31,6 +32,8 @@ __exportStar(require("./KnowledgeBasesResponse"), exports);
|
|
|
31
32
|
__exportStar(require("./KnowledgeBaseType"), exports);
|
|
32
33
|
__exportStar(require("./KnowledgeBaseVersion"), exports);
|
|
33
34
|
__exportStar(require("./KnowledgeBaseVersionFinalizeStatus"), exports);
|
|
35
|
+
__exportStar(require("./KnowledgeBaseVersionProgress"), exports);
|
|
36
|
+
__exportStar(require("./KnowledgeBaseVersionProgressRequest"), exports);
|
|
34
37
|
__exportStar(require("./KnowledgeBaseVersionRequest"), exports);
|
|
35
38
|
__exportStar(require("./KnowledgeBaseVersionStatus"), exports);
|
|
36
39
|
__exportStar(require("./KnowledgeBaseVersionsListResponse"), exports);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../../api/index";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import * as serializers from "../../../index";
|
|
4
|
+
import { EntityIdWithoutAgent } from "../../commons/types/EntityIdWithoutAgent";
|
|
4
5
|
import { SegmentStatus } from "./SegmentStatus";
|
|
5
6
|
export declare const SegmentPatchRequest: core.serialization.ObjectSchema<serializers.SegmentPatchRequest.Raw, MavenAGI.SegmentPatchRequest>;
|
|
6
7
|
export declare namespace SegmentPatchRequest {
|
|
@@ -10,5 +11,6 @@ export declare namespace SegmentPatchRequest {
|
|
|
10
11
|
description?: string | null;
|
|
11
12
|
precondition?: serializers.Precondition.Raw | null;
|
|
12
13
|
status?: SegmentStatus.Raw | null;
|
|
14
|
+
variantId?: EntityIdWithoutAgent.Raw | null;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.SegmentPatchRequest = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const serializers = __importStar(require("../../../index"));
|
|
40
|
+
const EntityIdWithoutAgent_1 = require("../../commons/types/EntityIdWithoutAgent");
|
|
40
41
|
const SegmentStatus_1 = require("./SegmentStatus");
|
|
41
42
|
exports.SegmentPatchRequest = core.serialization.object({
|
|
42
43
|
appId: core.serialization.string().optional(),
|
|
@@ -44,4 +45,5 @@ exports.SegmentPatchRequest = core.serialization.object({
|
|
|
44
45
|
description: core.serialization.string().optional(),
|
|
45
46
|
precondition: core.serialization.lazy(() => serializers.Precondition).optional(),
|
|
46
47
|
status: SegmentStatus_1.SegmentStatus.optional(),
|
|
48
|
+
variantId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
|
|
47
49
|
});
|
|
@@ -2,12 +2,14 @@ import type * as MavenAGI from "../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import * as serializers from "../../../index";
|
|
4
4
|
import { EntityIdBase } from "../../commons/types/EntityIdBase";
|
|
5
|
+
import { EntityIdWithoutAgent } from "../../commons/types/EntityIdWithoutAgent";
|
|
5
6
|
import { SegmentBase } from "./SegmentBase";
|
|
6
7
|
import { SegmentStatus } from "./SegmentStatus";
|
|
7
8
|
export declare const SegmentRequest: core.serialization.ObjectSchema<serializers.SegmentRequest.Raw, MavenAGI.SegmentRequest>;
|
|
8
9
|
export declare namespace SegmentRequest {
|
|
9
10
|
interface Raw extends SegmentBase.Raw {
|
|
10
11
|
segmentId: EntityIdBase.Raw;
|
|
12
|
+
variantId?: EntityIdWithoutAgent.Raw | null;
|
|
11
13
|
precondition: serializers.Precondition.Raw;
|
|
12
14
|
status?: SegmentStatus.Raw | null;
|
|
13
15
|
}
|
|
@@ -38,11 +38,13 @@ exports.SegmentRequest = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const serializers = __importStar(require("../../../index"));
|
|
40
40
|
const EntityIdBase_1 = require("../../commons/types/EntityIdBase");
|
|
41
|
+
const EntityIdWithoutAgent_1 = require("../../commons/types/EntityIdWithoutAgent");
|
|
41
42
|
const SegmentBase_1 = require("./SegmentBase");
|
|
42
43
|
const SegmentStatus_1 = require("./SegmentStatus");
|
|
43
44
|
exports.SegmentRequest = core.serialization
|
|
44
45
|
.object({
|
|
45
46
|
segmentId: EntityIdBase_1.EntityIdBase,
|
|
47
|
+
variantId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
|
|
46
48
|
precondition: core.serialization.lazy(() => serializers.Precondition),
|
|
47
49
|
status: SegmentStatus_1.SegmentStatus.optional(),
|
|
48
50
|
})
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import * as serializers from "../../../index";
|
|
4
|
+
import { EntityId } from "../../commons/types/EntityId";
|
|
5
|
+
import { SegmentStatus } from "./SegmentStatus";
|
|
6
|
+
export declare const SegmentSummary: core.serialization.ObjectSchema<serializers.SegmentSummary.Raw, MavenAGI.SegmentSummary>;
|
|
7
|
+
export declare namespace SegmentSummary {
|
|
8
|
+
interface Raw {
|
|
9
|
+
segmentId: EntityId.Raw;
|
|
10
|
+
name: string;
|
|
11
|
+
status: SegmentStatus.Raw;
|
|
12
|
+
precondition: serializers.PreconditionResponse.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -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.SegmentSummary = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const serializers = __importStar(require("../../../index"));
|
|
40
|
+
const EntityId_1 = require("../../commons/types/EntityId");
|
|
41
|
+
const SegmentStatus_1 = require("./SegmentStatus");
|
|
42
|
+
exports.SegmentSummary = core.serialization.object({
|
|
43
|
+
segmentId: EntityId_1.EntityId,
|
|
44
|
+
name: core.serialization.string(),
|
|
45
|
+
status: SegmentStatus_1.SegmentStatus,
|
|
46
|
+
precondition: core.serialization.lazy(() => serializers.PreconditionResponse),
|
|
47
|
+
});
|
|
@@ -21,5 +21,6 @@ __exportStar(require("./SegmentPatchRequest"), exports);
|
|
|
21
21
|
__exportStar(require("./SegmentRequest"), exports);
|
|
22
22
|
__exportStar(require("./SegmentResponse"), exports);
|
|
23
23
|
__exportStar(require("./SegmentStatus"), exports);
|
|
24
|
+
__exportStar(require("./SegmentSummary"), exports);
|
|
24
25
|
__exportStar(require("./SegmentsSearchRequest"), exports);
|
|
25
26
|
__exportStar(require("./SegmentsSearchResponse"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.2.
|
|
1
|
+
export declare const SDK_VERSION = "1.2.58";
|
package/version.js
CHANGED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import type * as MavenAGI from "../../../index";
|
|
2
|
-
/**
|
|
3
|
-
* The condition to evaluate against an intelligent field's value.
|
|
4
|
-
* Use the appropriate type based on the field's validationType:
|
|
5
|
-
* - `string`: For STRING and MULTILINE fields
|
|
6
|
-
* - `numeric`: For NUMBER fields
|
|
7
|
-
* - `boolean`: For BOOLEAN fields
|
|
8
|
-
* - `set`: For MULTI_SELECT fields (unordered set of values)
|
|
9
|
-
*
|
|
10
|
-
* Note: single select fields are represented as STRING/NUMBER with a list of
|
|
11
|
-
* enumOptions.
|
|
12
|
-
*
|
|
13
|
-
* The caller is responsible for querying the validationType and enumOptions
|
|
14
|
-
* from the intelligent field API to ensure the values are valid enumOptions.
|
|
15
|
-
*/
|
|
16
|
-
export type IntelligentFieldCondition = MavenAGI.IntelligentFieldCondition.String | MavenAGI.IntelligentFieldCondition.Numeric | MavenAGI.IntelligentFieldCondition.Boolean | MavenAGI.IntelligentFieldCondition.Set | MavenAGI.IntelligentFieldCondition.Universal;
|
|
17
|
-
export declare namespace IntelligentFieldCondition {
|
|
18
|
-
interface String {
|
|
19
|
-
fieldValidationType: "string";
|
|
20
|
-
value: MavenAGI.StringCondition;
|
|
21
|
-
}
|
|
22
|
-
interface Numeric {
|
|
23
|
-
fieldValidationType: "numeric";
|
|
24
|
-
value: MavenAGI.NumericCondition;
|
|
25
|
-
}
|
|
26
|
-
interface Boolean extends MavenAGI.BooleanCondition {
|
|
27
|
-
fieldValidationType: "boolean";
|
|
28
|
-
}
|
|
29
|
-
interface Set {
|
|
30
|
-
fieldValidationType: "set";
|
|
31
|
-
value: MavenAGI.SetCondition;
|
|
32
|
-
}
|
|
33
|
-
interface Universal {
|
|
34
|
-
fieldValidationType: "universal";
|
|
35
|
-
value: MavenAGI.UniversalCondition;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
File without changes
|