mavenagi 1.2.21 → 1.2.23
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/Client.js +2 -2
- package/api/resources/commons/types/EntityType.d.ts +1 -0
- package/api/resources/commons/types/EntityType.js +1 -0
- package/api/resources/knowledge/types/KnowledgeBaseFilter.d.ts +2 -0
- package/dist/Client.js +2 -2
- package/dist/api/resources/commons/types/EntityType.d.ts +1 -0
- package/dist/api/resources/commons/types/EntityType.js +1 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseFilter.d.ts +2 -0
- package/dist/serialization/resources/commons/types/EntityType.d.ts +1 -1
- package/dist/serialization/resources/commons/types/EntityType.js +1 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseFilter.d.ts +2 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseFilter.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/commons/types/EntityType.d.ts +1 -1
- package/serialization/resources/commons/types/EntityType.js +1 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseFilter.d.ts +2 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseFilter.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/Client.js
CHANGED
|
@@ -62,8 +62,8 @@ class MavenAGIClient {
|
|
|
62
62
|
"X-Agent-Id": _options === null || _options === void 0 ? void 0 : _options.agentId,
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "mavenagi",
|
|
65
|
-
"X-Fern-SDK-Version": "1.2.
|
|
66
|
-
"User-Agent": "mavenagi/1.2.
|
|
65
|
+
"X-Fern-SDK-Version": "1.2.23",
|
|
66
|
+
"User-Agent": "mavenagi/1.2.23",
|
|
67
67
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
68
68
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
69
69
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -29,4 +29,6 @@ export interface KnowledgeBaseFilter {
|
|
|
29
29
|
llmInclusionStatus?: MavenAGI.LlmInclusionStatus;
|
|
30
30
|
/** Filter knowledge bases by the segment they are assigned to. */
|
|
31
31
|
segmentId?: string;
|
|
32
|
+
/** Filter knowledge bases by the segments they are assigned to. Uses OR semantics — returns knowledge bases assigned to any of the provided segments. */
|
|
33
|
+
segmentIds?: MavenAGI.EntityId[];
|
|
32
34
|
}
|
package/dist/Client.js
CHANGED
|
@@ -62,8 +62,8 @@ class MavenAGIClient {
|
|
|
62
62
|
"X-Agent-Id": _options === null || _options === void 0 ? void 0 : _options.agentId,
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "mavenagi",
|
|
65
|
-
"X-Fern-SDK-Version": "1.2.
|
|
66
|
-
"User-Agent": "mavenagi/1.2.
|
|
65
|
+
"X-Fern-SDK-Version": "1.2.23",
|
|
66
|
+
"User-Agent": "mavenagi/1.2.23",
|
|
67
67
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
68
68
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
69
69
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -29,4 +29,6 @@ export interface KnowledgeBaseFilter {
|
|
|
29
29
|
llmInclusionStatus?: MavenAGI.LlmInclusionStatus;
|
|
30
30
|
/** Filter knowledge bases by the segment they are assigned to. */
|
|
31
31
|
segmentId?: string;
|
|
32
|
+
/** Filter knowledge bases by the segments they are assigned to. Uses OR semantics — returns knowledge bases assigned to any of the provided segments. */
|
|
33
|
+
segmentIds?: MavenAGI.EntityId[];
|
|
32
34
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
export declare const EntityType: core.serialization.Schema<serializers.EntityType.Raw, MavenAGI.EntityType>;
|
|
5
5
|
export declare namespace EntityType {
|
|
6
|
-
type Raw = "AGENT" | "CONVERSATION" | "CONVERSATION_MESSAGE" | "KNOWLEDGE_BASE" | "KNOWLEDGE_BASE_VERSION" | "KNOWLEDGE_DOCUMENT" | "ACTION" | "USER" | "EVENT" | "EVENT_TRIGGER" | "USER_PROFILE" | "FEEDBACK" | "INBOX_ITEM" | "INBOX_ITEM_FIX" | "SEGMENT" | "CUSTOMER" | "INTELLIGENT_FIELD";
|
|
6
|
+
type Raw = "AGENT" | "CONVERSATION" | "CONVERSATION_MESSAGE" | "KNOWLEDGE_BASE" | "KNOWLEDGE_BASE_VERSION" | "KNOWLEDGE_DOCUMENT" | "ACTION" | "USER" | "EVENT" | "EVENT_TRIGGER" | "USER_PROFILE" | "FEEDBACK" | "INBOX_ITEM" | "INBOX_ITEM_FIX" | "SEGMENT" | "CUSTOMER" | "INTELLIGENT_FIELD" | "CHARTER";
|
|
7
7
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../../api/index";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
|
+
import { EntityId } from "../../commons/types/EntityId";
|
|
4
5
|
import { LlmInclusionStatus } from "../../commons/types/LlmInclusionStatus";
|
|
5
6
|
import { KnowledgeBaseVersionStatus } from "./KnowledgeBaseVersionStatus";
|
|
6
7
|
export declare const KnowledgeBaseFilter: core.serialization.ObjectSchema<serializers.KnowledgeBaseFilter.Raw, MavenAGI.KnowledgeBaseFilter>;
|
|
@@ -14,5 +15,6 @@ export declare namespace KnowledgeBaseFilter {
|
|
|
14
15
|
mostRecentVersionStatus?: KnowledgeBaseVersionStatus.Raw[] | null;
|
|
15
16
|
llmInclusionStatus?: LlmInclusionStatus.Raw | null;
|
|
16
17
|
segmentId?: string | null;
|
|
18
|
+
segmentIds?: EntityId.Raw[] | null;
|
|
17
19
|
}
|
|
18
20
|
}
|
|
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.KnowledgeBaseFilter = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EntityId_1 = require("../../commons/types/EntityId");
|
|
39
40
|
const LlmInclusionStatus_1 = require("../../commons/types/LlmInclusionStatus");
|
|
40
41
|
const KnowledgeBaseVersionStatus_1 = require("./KnowledgeBaseVersionStatus");
|
|
41
42
|
exports.KnowledgeBaseFilter = core.serialization.object({
|
|
@@ -47,4 +48,5 @@ exports.KnowledgeBaseFilter = core.serialization.object({
|
|
|
47
48
|
mostRecentVersionStatus: core.serialization.list(KnowledgeBaseVersionStatus_1.KnowledgeBaseVersionStatus).optional(),
|
|
48
49
|
llmInclusionStatus: LlmInclusionStatus_1.LlmInclusionStatus.optional(),
|
|
49
50
|
segmentId: core.serialization.string().optional(),
|
|
51
|
+
segmentIds: core.serialization.list(EntityId_1.EntityId).optional(),
|
|
50
52
|
});
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.2.
|
|
1
|
+
export declare const SDK_VERSION = "1.2.23";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
export declare const EntityType: core.serialization.Schema<serializers.EntityType.Raw, MavenAGI.EntityType>;
|
|
5
5
|
export declare namespace EntityType {
|
|
6
|
-
type Raw = "AGENT" | "CONVERSATION" | "CONVERSATION_MESSAGE" | "KNOWLEDGE_BASE" | "KNOWLEDGE_BASE_VERSION" | "KNOWLEDGE_DOCUMENT" | "ACTION" | "USER" | "EVENT" | "EVENT_TRIGGER" | "USER_PROFILE" | "FEEDBACK" | "INBOX_ITEM" | "INBOX_ITEM_FIX" | "SEGMENT" | "CUSTOMER" | "INTELLIGENT_FIELD";
|
|
6
|
+
type Raw = "AGENT" | "CONVERSATION" | "CONVERSATION_MESSAGE" | "KNOWLEDGE_BASE" | "KNOWLEDGE_BASE_VERSION" | "KNOWLEDGE_DOCUMENT" | "ACTION" | "USER" | "EVENT" | "EVENT_TRIGGER" | "USER_PROFILE" | "FEEDBACK" | "INBOX_ITEM" | "INBOX_ITEM_FIX" | "SEGMENT" | "CUSTOMER" | "INTELLIGENT_FIELD" | "CHARTER";
|
|
7
7
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../../api/index";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
|
+
import { EntityId } from "../../commons/types/EntityId";
|
|
4
5
|
import { LlmInclusionStatus } from "../../commons/types/LlmInclusionStatus";
|
|
5
6
|
import { KnowledgeBaseVersionStatus } from "./KnowledgeBaseVersionStatus";
|
|
6
7
|
export declare const KnowledgeBaseFilter: core.serialization.ObjectSchema<serializers.KnowledgeBaseFilter.Raw, MavenAGI.KnowledgeBaseFilter>;
|
|
@@ -14,5 +15,6 @@ export declare namespace KnowledgeBaseFilter {
|
|
|
14
15
|
mostRecentVersionStatus?: KnowledgeBaseVersionStatus.Raw[] | null;
|
|
15
16
|
llmInclusionStatus?: LlmInclusionStatus.Raw | null;
|
|
16
17
|
segmentId?: string | null;
|
|
18
|
+
segmentIds?: EntityId.Raw[] | null;
|
|
17
19
|
}
|
|
18
20
|
}
|
|
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.KnowledgeBaseFilter = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EntityId_1 = require("../../commons/types/EntityId");
|
|
39
40
|
const LlmInclusionStatus_1 = require("../../commons/types/LlmInclusionStatus");
|
|
40
41
|
const KnowledgeBaseVersionStatus_1 = require("./KnowledgeBaseVersionStatus");
|
|
41
42
|
exports.KnowledgeBaseFilter = core.serialization.object({
|
|
@@ -47,4 +48,5 @@ exports.KnowledgeBaseFilter = core.serialization.object({
|
|
|
47
48
|
mostRecentVersionStatus: core.serialization.list(KnowledgeBaseVersionStatus_1.KnowledgeBaseVersionStatus).optional(),
|
|
48
49
|
llmInclusionStatus: LlmInclusionStatus_1.LlmInclusionStatus.optional(),
|
|
49
50
|
segmentId: core.serialization.string().optional(),
|
|
51
|
+
segmentIds: core.serialization.list(EntityId_1.EntityId).optional(),
|
|
50
52
|
});
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.2.
|
|
1
|
+
export declare const SDK_VERSION = "1.2.23";
|
package/version.js
CHANGED