mavenagi 1.2.42 → 1.2.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BaseClient.js +2 -2
- package/api/resources/commons/types/ResolutionStatus.d.ts +1 -0
- package/api/resources/commons/types/ResolutionStatus.js +1 -0
- package/api/resources/conversation/types/ConversationFilter.d.ts +11 -0
- package/package.json +1 -1
- package/serialization/resources/commons/types/ResolutionStatus.d.ts +1 -1
- package/serialization/resources/commons/types/ResolutionStatus.js +1 -0
- package/serialization/resources/conversation/types/ConversationFilter.d.ts +2 -0
- package/serialization/resources/conversation/types/ConversationFilter.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "mavenagi",
|
|
46
|
-
"X-Fern-SDK-Version": "1.2.
|
|
47
|
-
"User-Agent": "mavenagi/1.2.
|
|
46
|
+
"X-Fern-SDK-Version": "1.2.44",
|
|
47
|
+
"User-Agent": "mavenagi/1.2.44",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
"X-Organization-Id": options === null || options === void 0 ? void 0 : options.organizationId,
|
|
@@ -7,6 +7,7 @@ export declare const ResolutionStatus: {
|
|
|
7
7
|
readonly NegativeFeedback: "NEGATIVE_FEEDBACK";
|
|
8
8
|
readonly ContentSafetyFlagged: "CONTENT_SAFETY_FLAGGED";
|
|
9
9
|
readonly PromptAttackFlagged: "PROMPT_ATTACK_FLAGGED";
|
|
10
|
+
readonly Hangup: "HANGUP";
|
|
10
11
|
readonly Ineligible: "INELIGIBLE";
|
|
11
12
|
};
|
|
12
13
|
export type ResolutionStatus = (typeof ResolutionStatus)[keyof typeof ResolutionStatus] | string;
|
|
@@ -68,6 +68,17 @@ export interface ConversationFilter {
|
|
|
68
68
|
hasAttachment?: boolean;
|
|
69
69
|
/** Filter by the segments that any message on a conversation matched. */
|
|
70
70
|
matchedSegmentIds?: MavenAGI.EntityIdFilter[];
|
|
71
|
+
/**
|
|
72
|
+
* Filter by the charters that any bot-response message on a conversation matched.
|
|
73
|
+
* References without a matching charter for the calling agent contribute nothing
|
|
74
|
+
* to the filter — they neither error nor warn, they simply produce no matches.
|
|
75
|
+
*/
|
|
76
|
+
matchedCharterIds?: MavenAGI.EntityIdFilter[];
|
|
77
|
+
/**
|
|
78
|
+
* Filter by whether any bot-response message in the conversation ran in charter mode.
|
|
79
|
+
* Omit to match every conversation regardless of charter state.
|
|
80
|
+
*/
|
|
81
|
+
anyMsgCharterMode?: boolean;
|
|
71
82
|
/** Filter by inbox item IDs associated with the conversation */
|
|
72
83
|
inboxItemIds?: MavenAGI.EntityIdFilter[];
|
|
73
84
|
/** Whether to include simulation conversations in search results. Defaults to only non-simulation conversations. */
|
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 ResolutionStatus: core.serialization.Schema<serializers.ResolutionStatus.Raw, MavenAGI.ResolutionStatus>;
|
|
5
5
|
export declare namespace ResolutionStatus {
|
|
6
|
-
type Raw = "UNKNOWN" | "ERROR" | "IN_PROGRESS" | "RESOLVED" | "ESCALATED" | "NEGATIVE_FEEDBACK" | "CONTENT_SAFETY_FLAGGED" | "PROMPT_ATTACK_FLAGGED" | "INELIGIBLE";
|
|
6
|
+
type Raw = "UNKNOWN" | "ERROR" | "IN_PROGRESS" | "RESOLVED" | "ESCALATED" | "NEGATIVE_FEEDBACK" | "CONTENT_SAFETY_FLAGGED" | "PROMPT_ATTACK_FLAGGED" | "HANGUP" | "INELIGIBLE";
|
|
7
7
|
}
|
|
@@ -36,6 +36,8 @@ export declare namespace ConversationFilter {
|
|
|
36
36
|
userMessageCount?: NumberRange.Raw | null;
|
|
37
37
|
hasAttachment?: boolean | null;
|
|
38
38
|
matchedSegmentIds?: EntityIdFilter.Raw[] | null;
|
|
39
|
+
matchedCharterIds?: EntityIdFilter.Raw[] | null;
|
|
40
|
+
anyMsgCharterMode?: boolean | null;
|
|
39
41
|
inboxItemIds?: EntityIdFilter.Raw[] | null;
|
|
40
42
|
simulationFilter?: SimulationFilter.Raw | null;
|
|
41
43
|
intelligentFields?: IntelligentFieldFilter.Raw | null;
|
|
@@ -69,6 +69,8 @@ exports.ConversationFilter = core.serialization.object({
|
|
|
69
69
|
userMessageCount: NumberRange_1.NumberRange.optional(),
|
|
70
70
|
hasAttachment: core.serialization.boolean().optional(),
|
|
71
71
|
matchedSegmentIds: core.serialization.list(EntityIdFilter_1.EntityIdFilter).optional(),
|
|
72
|
+
matchedCharterIds: core.serialization.list(EntityIdFilter_1.EntityIdFilter).optional(),
|
|
73
|
+
anyMsgCharterMode: core.serialization.boolean().optional(),
|
|
72
74
|
inboxItemIds: core.serialization.list(EntityIdFilter_1.EntityIdFilter).optional(),
|
|
73
75
|
simulationFilter: SimulationFilter_1.SimulationFilter.optional(),
|
|
74
76
|
intelligentFields: IntelligentFieldFilter_1.IntelligentFieldFilter.optional(),
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.2.
|
|
1
|
+
export declare const SDK_VERSION = "1.2.44";
|
package/version.js
CHANGED