mavenagi 1.2.11 → 1.2.13
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/CsatInfo.d.ts +4 -0
- package/api/resources/commons/types/CsatInfo.js +3 -0
- package/api/resources/commons/types/MetadataPrecondition.d.ts +3 -1
- package/api/resources/commons/types/NovelUserEvent.d.ts +2 -0
- package/api/resources/commons/types/PreconditionOperator.d.ts +20 -0
- package/api/resources/commons/types/PreconditionOperator.js +20 -0
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -0
- package/api/resources/conversation/types/ConversationField.d.ts +1 -0
- package/api/resources/conversation/types/ConversationField.js +1 -0
- package/api/resources/conversation/types/NumericConversationField.d.ts +1 -0
- package/api/resources/conversation/types/NumericConversationField.js +1 -0
- package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +2 -0
- package/api/resources/segments/types/SegmentResponse.d.ts +6 -0
- package/dist/Client.js +2 -2
- package/dist/api/resources/commons/types/CsatInfo.d.ts +4 -0
- package/dist/api/resources/commons/types/CsatInfo.js +3 -0
- package/dist/api/resources/commons/types/MetadataPrecondition.d.ts +3 -1
- package/dist/api/resources/commons/types/NovelUserEvent.d.ts +2 -0
- package/dist/api/resources/commons/types/PreconditionOperator.d.ts +20 -0
- package/dist/api/resources/commons/types/PreconditionOperator.js +20 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -0
- package/dist/api/resources/commons/types/index.js +1 -0
- package/dist/api/resources/conversation/types/ConversationField.d.ts +1 -0
- package/dist/api/resources/conversation/types/ConversationField.js +1 -0
- package/dist/api/resources/conversation/types/NumericConversationField.d.ts +1 -0
- package/dist/api/resources/conversation/types/NumericConversationField.js +1 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +2 -0
- package/dist/api/resources/segments/types/SegmentResponse.d.ts +6 -0
- package/dist/serialization/resources/commons/types/CsatInfo.d.ts +9 -0
- package/dist/serialization/resources/commons/types/CsatInfo.js +41 -0
- package/dist/serialization/resources/commons/types/MetadataPrecondition.d.ts +1 -0
- package/dist/serialization/resources/commons/types/MetadataPrecondition.js +1 -0
- package/dist/serialization/resources/commons/types/NovelUserEvent.d.ts +2 -0
- package/dist/serialization/resources/commons/types/NovelUserEvent.js +2 -0
- package/dist/serialization/resources/commons/types/PreconditionOperator.d.ts +1 -1
- package/dist/serialization/resources/commons/types/PreconditionOperator.js +9 -1
- package/dist/serialization/resources/commons/types/index.d.ts +1 -0
- package/dist/serialization/resources/commons/types/index.js +1 -0
- package/dist/serialization/resources/conversation/types/ConversationField.d.ts +1 -1
- package/dist/serialization/resources/conversation/types/ConversationField.js +1 -0
- package/dist/serialization/resources/conversation/types/NumericConversationField.d.ts +1 -1
- package/dist/serialization/resources/conversation/types/NumericConversationField.js +1 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +1 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +1 -0
- package/dist/serialization/resources/segments/types/SegmentResponse.d.ts +2 -0
- package/dist/serialization/resources/segments/types/SegmentResponse.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/CsatInfo.d.ts +9 -0
- package/serialization/resources/commons/types/CsatInfo.js +41 -0
- package/serialization/resources/commons/types/MetadataPrecondition.d.ts +1 -0
- package/serialization/resources/commons/types/MetadataPrecondition.js +1 -0
- package/serialization/resources/commons/types/NovelUserEvent.d.ts +2 -0
- package/serialization/resources/commons/types/NovelUserEvent.js +2 -0
- package/serialization/resources/commons/types/PreconditionOperator.d.ts +1 -1
- package/serialization/resources/commons/types/PreconditionOperator.js +9 -1
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/conversation/types/ConversationField.d.ts +1 -1
- package/serialization/resources/conversation/types/ConversationField.js +1 -0
- package/serialization/resources/conversation/types/NumericConversationField.d.ts +1 -1
- package/serialization/resources/conversation/types/NumericConversationField.js +1 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +1 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +1 -0
- package/serialization/resources/segments/types/SegmentResponse.d.ts +2 -0
- package/serialization/resources/segments/types/SegmentResponse.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/Client.js
CHANGED
|
@@ -61,8 +61,8 @@ class MavenAGIClient {
|
|
|
61
61
|
"X-Agent-Id": _options === null || _options === void 0 ? void 0 : _options.agentId,
|
|
62
62
|
"X-Fern-Language": "JavaScript",
|
|
63
63
|
"X-Fern-SDK-Name": "mavenagi",
|
|
64
|
-
"X-Fern-SDK-Version": "1.2.
|
|
65
|
-
"User-Agent": "mavenagi/1.2.
|
|
64
|
+
"X-Fern-SDK-Version": "1.2.13",
|
|
65
|
+
"User-Agent": "mavenagi/1.2.13",
|
|
66
66
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
67
67
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
68
68
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -2,6 +2,8 @@ import type * as MavenAGI from "../../../index";
|
|
|
2
2
|
export interface MetadataPrecondition extends MavenAGI.PreconditionBase {
|
|
3
3
|
/** The key that must be present in the metadata for a precondition to be met */
|
|
4
4
|
key: string;
|
|
5
|
-
/**
|
|
5
|
+
/** Single value for CONTAINS operator or exact match */
|
|
6
6
|
value?: string;
|
|
7
|
+
/** Multiple values for CONTAINS_ANY and CONTAINS_ALL operators */
|
|
8
|
+
values?: string[];
|
|
7
9
|
}
|
|
@@ -6,6 +6,8 @@ export interface NovelUserEvent extends MavenAGI.EventBaseNoId {
|
|
|
6
6
|
eventName: MavenAGI.UserEventName;
|
|
7
7
|
/** Information about the user who triggered the event */
|
|
8
8
|
userInfo: MavenAGI.EventUserInfoBase;
|
|
9
|
+
/** Information about any CSAT associated with the event */
|
|
10
|
+
csatInfo?: MavenAGI.CsatInfo;
|
|
9
11
|
/** Information about any feedback associated with the event */
|
|
10
12
|
feedbackInfo?: MavenAGI.FeedbackInfo[];
|
|
11
13
|
/** Information about the page on which the event occurred */
|
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
export declare const PreconditionOperator: {
|
|
2
|
+
/**
|
|
3
|
+
* Negation operator (can compose with any comparison operator) */
|
|
2
4
|
readonly Not: "NOT";
|
|
5
|
+
/**
|
|
6
|
+
* Single value - check if value is in JSON array (x ∈ array) */
|
|
7
|
+
readonly Contains: "CONTAINS";
|
|
8
|
+
/**
|
|
9
|
+
* Single value - check if value is NOT in JSON array (x ∉ array) */
|
|
10
|
+
readonly NotContains: "NOT_CONTAINS";
|
|
11
|
+
/**
|
|
12
|
+
* Multiple values - check if ANY value is in JSON array ({x,y} ∩ array ≠ ∅) */
|
|
13
|
+
readonly ContainsAny: "CONTAINS_ANY";
|
|
14
|
+
/**
|
|
15
|
+
* Multiple values - check if NO values are in JSON array ({x,y} ∩ array = ∅) */
|
|
16
|
+
readonly NotContainsAny: "NOT_CONTAINS_ANY";
|
|
17
|
+
/**
|
|
18
|
+
* Multiple values - check if ALL values are in JSON array ({x,y} ⊆ array) */
|
|
19
|
+
readonly ContainsAll: "CONTAINS_ALL";
|
|
20
|
+
/**
|
|
21
|
+
* Multiple values - check if NOT ALL values are in JSON array ({x,y} ⊄ array) */
|
|
22
|
+
readonly NotContainsAll: "NOT_CONTAINS_ALL";
|
|
3
23
|
};
|
|
4
24
|
export type PreconditionOperator = (typeof PreconditionOperator)[keyof typeof PreconditionOperator];
|
|
@@ -3,5 +3,25 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.PreconditionOperator = void 0;
|
|
5
5
|
exports.PreconditionOperator = {
|
|
6
|
+
/**
|
|
7
|
+
* Negation operator (can compose with any comparison operator) */
|
|
6
8
|
Not: "NOT",
|
|
9
|
+
/**
|
|
10
|
+
* Single value - check if value is in JSON array (x ∈ array) */
|
|
11
|
+
Contains: "CONTAINS",
|
|
12
|
+
/**
|
|
13
|
+
* Single value - check if value is NOT in JSON array (x ∉ array) */
|
|
14
|
+
NotContains: "NOT_CONTAINS",
|
|
15
|
+
/**
|
|
16
|
+
* Multiple values - check if ANY value is in JSON array ({x,y} ∩ array ≠ ∅) */
|
|
17
|
+
ContainsAny: "CONTAINS_ANY",
|
|
18
|
+
/**
|
|
19
|
+
* Multiple values - check if NO values are in JSON array ({x,y} ∩ array = ∅) */
|
|
20
|
+
NotContainsAny: "NOT_CONTAINS_ANY",
|
|
21
|
+
/**
|
|
22
|
+
* Multiple values - check if ALL values are in JSON array ({x,y} ⊆ array) */
|
|
23
|
+
ContainsAll: "CONTAINS_ALL",
|
|
24
|
+
/**
|
|
25
|
+
* Multiple values - check if NOT ALL values are in JSON array ({x,y} ⊄ array) */
|
|
26
|
+
NotContainsAll: "NOT_CONTAINS_ALL",
|
|
7
27
|
};
|
|
@@ -55,6 +55,7 @@ export * from "./ConversationPrecondition";
|
|
|
55
55
|
export * from "./ConversationPreview";
|
|
56
56
|
export * from "./ConversationResponse";
|
|
57
57
|
export * from "./ConversationSummary";
|
|
58
|
+
export * from "./CsatInfo";
|
|
58
59
|
export * from "./DeviceInfo";
|
|
59
60
|
export * from "./DeviceType";
|
|
60
61
|
export * from "./DocumentInformation";
|
|
@@ -71,6 +71,7 @@ __exportStar(require("./ConversationPrecondition"), exports);
|
|
|
71
71
|
__exportStar(require("./ConversationPreview"), exports);
|
|
72
72
|
__exportStar(require("./ConversationResponse"), exports);
|
|
73
73
|
__exportStar(require("./ConversationSummary"), exports);
|
|
74
|
+
__exportStar(require("./CsatInfo"), exports);
|
|
74
75
|
__exportStar(require("./DeviceInfo"), exports);
|
|
75
76
|
__exportStar(require("./DeviceType"), exports);
|
|
76
77
|
__exportStar(require("./DocumentInformation"), exports);
|
|
@@ -24,6 +24,7 @@ export declare const ConversationField: {
|
|
|
24
24
|
readonly Sources: "Sources";
|
|
25
25
|
readonly CreatedAt: "CreatedAt";
|
|
26
26
|
readonly PredictedNps: "PredictedNPS";
|
|
27
|
+
readonly Csat: "Csat";
|
|
27
28
|
readonly OrganizationId: "OrganizationId";
|
|
28
29
|
readonly AgentId: "AgentId";
|
|
29
30
|
readonly InboxItems: "InboxItems";
|
|
@@ -7,5 +7,6 @@ export declare const NumericConversationField: {
|
|
|
7
7
|
readonly HandleTime: "HandleTime";
|
|
8
8
|
readonly FirstResponseTime: "FirstResponseTime";
|
|
9
9
|
readonly PredictedNps: "PredictedNPS";
|
|
10
|
+
readonly Csat: "Csat";
|
|
10
11
|
};
|
|
11
12
|
export type NumericConversationField = (typeof NumericConversationField)[keyof typeof NumericConversationField];
|
|
@@ -67,4 +67,6 @@ export interface KnowledgeBaseResponse extends MavenAGI.KnowledgeBaseProperties
|
|
|
67
67
|
* Inline precondition support will be removed in a future release.
|
|
68
68
|
*/
|
|
69
69
|
segmentId?: MavenAGI.EntityId;
|
|
70
|
+
/** The source URL of URL and RSS knowledge bases that was used for crawl. */
|
|
71
|
+
url?: string;
|
|
70
72
|
}
|
|
@@ -10,6 +10,8 @@ import type * as MavenAGI from "../../../index";
|
|
|
10
10
|
* type: MavenAGI.EntityType.Segment
|
|
11
11
|
* },
|
|
12
12
|
* name: "Admin users",
|
|
13
|
+
* createdAt: new Date("2025-01-01T00:00:00.000Z"),
|
|
14
|
+
* updatedAt: new Date("2025-01-15T12:30:00.000Z"),
|
|
13
15
|
* status: MavenAGI.SegmentStatus.Active,
|
|
14
16
|
* precondition: {
|
|
15
17
|
* preconditionType: "group",
|
|
@@ -27,6 +29,10 @@ import type * as MavenAGI from "../../../index";
|
|
|
27
29
|
export interface SegmentResponse extends MavenAGI.SegmentBase {
|
|
28
30
|
/** ID that uniquely identifies this segment */
|
|
29
31
|
segmentId: MavenAGI.EntityId;
|
|
32
|
+
/** The date and time when the segment was created. */
|
|
33
|
+
createdAt: Date;
|
|
34
|
+
/** The date and time when the segment was last updated. */
|
|
35
|
+
updatedAt: Date;
|
|
30
36
|
/**
|
|
31
37
|
* Whether or not the segment is in active use. To preserve historical data, segments can not be deleted.
|
|
32
38
|
*
|
package/dist/Client.js
CHANGED
|
@@ -61,8 +61,8 @@ class MavenAGIClient {
|
|
|
61
61
|
"X-Agent-Id": _options === null || _options === void 0 ? void 0 : _options.agentId,
|
|
62
62
|
"X-Fern-Language": "JavaScript",
|
|
63
63
|
"X-Fern-SDK-Name": "mavenagi",
|
|
64
|
-
"X-Fern-SDK-Version": "1.2.
|
|
65
|
-
"User-Agent": "mavenagi/1.2.
|
|
64
|
+
"X-Fern-SDK-Version": "1.2.13",
|
|
65
|
+
"User-Agent": "mavenagi/1.2.13",
|
|
66
66
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
67
67
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
68
68
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -2,6 +2,8 @@ import type * as MavenAGI from "../../../index";
|
|
|
2
2
|
export interface MetadataPrecondition extends MavenAGI.PreconditionBase {
|
|
3
3
|
/** The key that must be present in the metadata for a precondition to be met */
|
|
4
4
|
key: string;
|
|
5
|
-
/**
|
|
5
|
+
/** Single value for CONTAINS operator or exact match */
|
|
6
6
|
value?: string;
|
|
7
|
+
/** Multiple values for CONTAINS_ANY and CONTAINS_ALL operators */
|
|
8
|
+
values?: string[];
|
|
7
9
|
}
|
|
@@ -6,6 +6,8 @@ export interface NovelUserEvent extends MavenAGI.EventBaseNoId {
|
|
|
6
6
|
eventName: MavenAGI.UserEventName;
|
|
7
7
|
/** Information about the user who triggered the event */
|
|
8
8
|
userInfo: MavenAGI.EventUserInfoBase;
|
|
9
|
+
/** Information about any CSAT associated with the event */
|
|
10
|
+
csatInfo?: MavenAGI.CsatInfo;
|
|
9
11
|
/** Information about any feedback associated with the event */
|
|
10
12
|
feedbackInfo?: MavenAGI.FeedbackInfo[];
|
|
11
13
|
/** Information about the page on which the event occurred */
|
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
export declare const PreconditionOperator: {
|
|
2
|
+
/**
|
|
3
|
+
* Negation operator (can compose with any comparison operator) */
|
|
2
4
|
readonly Not: "NOT";
|
|
5
|
+
/**
|
|
6
|
+
* Single value - check if value is in JSON array (x ∈ array) */
|
|
7
|
+
readonly Contains: "CONTAINS";
|
|
8
|
+
/**
|
|
9
|
+
* Single value - check if value is NOT in JSON array (x ∉ array) */
|
|
10
|
+
readonly NotContains: "NOT_CONTAINS";
|
|
11
|
+
/**
|
|
12
|
+
* Multiple values - check if ANY value is in JSON array ({x,y} ∩ array ≠ ∅) */
|
|
13
|
+
readonly ContainsAny: "CONTAINS_ANY";
|
|
14
|
+
/**
|
|
15
|
+
* Multiple values - check if NO values are in JSON array ({x,y} ∩ array = ∅) */
|
|
16
|
+
readonly NotContainsAny: "NOT_CONTAINS_ANY";
|
|
17
|
+
/**
|
|
18
|
+
* Multiple values - check if ALL values are in JSON array ({x,y} ⊆ array) */
|
|
19
|
+
readonly ContainsAll: "CONTAINS_ALL";
|
|
20
|
+
/**
|
|
21
|
+
* Multiple values - check if NOT ALL values are in JSON array ({x,y} ⊄ array) */
|
|
22
|
+
readonly NotContainsAll: "NOT_CONTAINS_ALL";
|
|
3
23
|
};
|
|
4
24
|
export type PreconditionOperator = (typeof PreconditionOperator)[keyof typeof PreconditionOperator];
|
|
@@ -3,5 +3,25 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.PreconditionOperator = void 0;
|
|
5
5
|
exports.PreconditionOperator = {
|
|
6
|
+
/**
|
|
7
|
+
* Negation operator (can compose with any comparison operator) */
|
|
6
8
|
Not: "NOT",
|
|
9
|
+
/**
|
|
10
|
+
* Single value - check if value is in JSON array (x ∈ array) */
|
|
11
|
+
Contains: "CONTAINS",
|
|
12
|
+
/**
|
|
13
|
+
* Single value - check if value is NOT in JSON array (x ∉ array) */
|
|
14
|
+
NotContains: "NOT_CONTAINS",
|
|
15
|
+
/**
|
|
16
|
+
* Multiple values - check if ANY value is in JSON array ({x,y} ∩ array ≠ ∅) */
|
|
17
|
+
ContainsAny: "CONTAINS_ANY",
|
|
18
|
+
/**
|
|
19
|
+
* Multiple values - check if NO values are in JSON array ({x,y} ∩ array = ∅) */
|
|
20
|
+
NotContainsAny: "NOT_CONTAINS_ANY",
|
|
21
|
+
/**
|
|
22
|
+
* Multiple values - check if ALL values are in JSON array ({x,y} ⊆ array) */
|
|
23
|
+
ContainsAll: "CONTAINS_ALL",
|
|
24
|
+
/**
|
|
25
|
+
* Multiple values - check if NOT ALL values are in JSON array ({x,y} ⊄ array) */
|
|
26
|
+
NotContainsAll: "NOT_CONTAINS_ALL",
|
|
7
27
|
};
|
|
@@ -55,6 +55,7 @@ export * from "./ConversationPrecondition";
|
|
|
55
55
|
export * from "./ConversationPreview";
|
|
56
56
|
export * from "./ConversationResponse";
|
|
57
57
|
export * from "./ConversationSummary";
|
|
58
|
+
export * from "./CsatInfo";
|
|
58
59
|
export * from "./DeviceInfo";
|
|
59
60
|
export * from "./DeviceType";
|
|
60
61
|
export * from "./DocumentInformation";
|
|
@@ -71,6 +71,7 @@ __exportStar(require("./ConversationPrecondition"), exports);
|
|
|
71
71
|
__exportStar(require("./ConversationPreview"), exports);
|
|
72
72
|
__exportStar(require("./ConversationResponse"), exports);
|
|
73
73
|
__exportStar(require("./ConversationSummary"), exports);
|
|
74
|
+
__exportStar(require("./CsatInfo"), exports);
|
|
74
75
|
__exportStar(require("./DeviceInfo"), exports);
|
|
75
76
|
__exportStar(require("./DeviceType"), exports);
|
|
76
77
|
__exportStar(require("./DocumentInformation"), exports);
|
|
@@ -24,6 +24,7 @@ export declare const ConversationField: {
|
|
|
24
24
|
readonly Sources: "Sources";
|
|
25
25
|
readonly CreatedAt: "CreatedAt";
|
|
26
26
|
readonly PredictedNps: "PredictedNPS";
|
|
27
|
+
readonly Csat: "Csat";
|
|
27
28
|
readonly OrganizationId: "OrganizationId";
|
|
28
29
|
readonly AgentId: "AgentId";
|
|
29
30
|
readonly InboxItems: "InboxItems";
|
|
@@ -7,5 +7,6 @@ export declare const NumericConversationField: {
|
|
|
7
7
|
readonly HandleTime: "HandleTime";
|
|
8
8
|
readonly FirstResponseTime: "FirstResponseTime";
|
|
9
9
|
readonly PredictedNps: "PredictedNPS";
|
|
10
|
+
readonly Csat: "Csat";
|
|
10
11
|
};
|
|
11
12
|
export type NumericConversationField = (typeof NumericConversationField)[keyof typeof NumericConversationField];
|
|
@@ -67,4 +67,6 @@ export interface KnowledgeBaseResponse extends MavenAGI.KnowledgeBaseProperties
|
|
|
67
67
|
* Inline precondition support will be removed in a future release.
|
|
68
68
|
*/
|
|
69
69
|
segmentId?: MavenAGI.EntityId;
|
|
70
|
+
/** The source URL of URL and RSS knowledge bases that was used for crawl. */
|
|
71
|
+
url?: string;
|
|
70
72
|
}
|
|
@@ -10,6 +10,8 @@ import type * as MavenAGI from "../../../index";
|
|
|
10
10
|
* type: MavenAGI.EntityType.Segment
|
|
11
11
|
* },
|
|
12
12
|
* name: "Admin users",
|
|
13
|
+
* createdAt: new Date("2025-01-01T00:00:00.000Z"),
|
|
14
|
+
* updatedAt: new Date("2025-01-15T12:30:00.000Z"),
|
|
13
15
|
* status: MavenAGI.SegmentStatus.Active,
|
|
14
16
|
* precondition: {
|
|
15
17
|
* preconditionType: "group",
|
|
@@ -27,6 +29,10 @@ import type * as MavenAGI from "../../../index";
|
|
|
27
29
|
export interface SegmentResponse extends MavenAGI.SegmentBase {
|
|
28
30
|
/** ID that uniquely identifies this segment */
|
|
29
31
|
segmentId: MavenAGI.EntityId;
|
|
32
|
+
/** The date and time when the segment was created. */
|
|
33
|
+
createdAt: Date;
|
|
34
|
+
/** The date and time when the segment was last updated. */
|
|
35
|
+
updatedAt: Date;
|
|
30
36
|
/**
|
|
31
37
|
* Whether or not the segment is in active use. To preserve historical data, segments can not be deleted.
|
|
32
38
|
*
|
|
@@ -0,0 +1,9 @@
|
|
|
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 CsatInfo: core.serialization.ObjectSchema<serializers.CsatInfo.Raw, MavenAGI.CsatInfo>;
|
|
5
|
+
export declare namespace CsatInfo {
|
|
6
|
+
interface Raw {
|
|
7
|
+
rating?: number | null;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.CsatInfo = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.CsatInfo = core.serialization.object({
|
|
40
|
+
rating: core.serialization.number().optional(),
|
|
41
|
+
});
|
|
@@ -41,5 +41,6 @@ exports.MetadataPrecondition = core.serialization
|
|
|
41
41
|
.object({
|
|
42
42
|
key: core.serialization.string(),
|
|
43
43
|
value: core.serialization.string().optional(),
|
|
44
|
+
values: core.serialization.list(core.serialization.string()).optional(),
|
|
44
45
|
})
|
|
45
46
|
.extend(PreconditionBase_1.PreconditionBase);
|
|
@@ -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 { CsatInfo } from "./CsatInfo";
|
|
4
5
|
import { EntityIdBase } from "./EntityIdBase";
|
|
5
6
|
import { EventBaseNoId } from "./EventBaseNoId";
|
|
6
7
|
import { EventUserInfoBase } from "./EventUserInfoBase";
|
|
@@ -13,6 +14,7 @@ export declare namespace NovelUserEvent {
|
|
|
13
14
|
id: EntityIdBase.Raw;
|
|
14
15
|
eventName: UserEventName.Raw;
|
|
15
16
|
userInfo: EventUserInfoBase.Raw;
|
|
17
|
+
csatInfo?: CsatInfo.Raw | null;
|
|
16
18
|
feedbackInfo?: FeedbackInfo.Raw[] | null;
|
|
17
19
|
pageInfo?: PageInfo.Raw | null;
|
|
18
20
|
}
|
|
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.NovelUserEvent = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const CsatInfo_1 = require("./CsatInfo");
|
|
39
40
|
const EntityIdBase_1 = require("./EntityIdBase");
|
|
40
41
|
const EventBaseNoId_1 = require("./EventBaseNoId");
|
|
41
42
|
const EventUserInfoBase_1 = require("./EventUserInfoBase");
|
|
@@ -47,6 +48,7 @@ exports.NovelUserEvent = core.serialization
|
|
|
47
48
|
id: EntityIdBase_1.EntityIdBase,
|
|
48
49
|
eventName: UserEventName_1.UserEventName,
|
|
49
50
|
userInfo: EventUserInfoBase_1.EventUserInfoBase,
|
|
51
|
+
csatInfo: CsatInfo_1.CsatInfo.optional(),
|
|
50
52
|
feedbackInfo: core.serialization.list(FeedbackInfo_1.FeedbackInfo).optional(),
|
|
51
53
|
pageInfo: PageInfo_1.PageInfo.optional(),
|
|
52
54
|
})
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
export declare const PreconditionOperator: core.serialization.Schema<serializers.PreconditionOperator.Raw, MavenAGI.PreconditionOperator>;
|
|
5
5
|
export declare namespace PreconditionOperator {
|
|
6
|
-
type Raw = "NOT";
|
|
6
|
+
type Raw = "NOT" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_ANY" | "NOT_CONTAINS_ANY" | "CONTAINS_ALL" | "NOT_CONTAINS_ALL";
|
|
7
7
|
}
|
|
@@ -36,4 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.PreconditionOperator = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
-
exports.PreconditionOperator = core.serialization.enum_([
|
|
39
|
+
exports.PreconditionOperator = core.serialization.enum_([
|
|
40
|
+
"NOT",
|
|
41
|
+
"CONTAINS",
|
|
42
|
+
"NOT_CONTAINS",
|
|
43
|
+
"CONTAINS_ANY",
|
|
44
|
+
"NOT_CONTAINS_ANY",
|
|
45
|
+
"CONTAINS_ALL",
|
|
46
|
+
"NOT_CONTAINS_ALL",
|
|
47
|
+
]);
|
|
@@ -55,6 +55,7 @@ export * from "./ConversationPrecondition";
|
|
|
55
55
|
export * from "./ConversationPreview";
|
|
56
56
|
export * from "./ConversationResponse";
|
|
57
57
|
export * from "./ConversationSummary";
|
|
58
|
+
export * from "./CsatInfo";
|
|
58
59
|
export * from "./DeviceInfo";
|
|
59
60
|
export * from "./DeviceType";
|
|
60
61
|
export * from "./DocumentInformation";
|
|
@@ -71,6 +71,7 @@ __exportStar(require("./ConversationPrecondition"), exports);
|
|
|
71
71
|
__exportStar(require("./ConversationPreview"), exports);
|
|
72
72
|
__exportStar(require("./ConversationResponse"), exports);
|
|
73
73
|
__exportStar(require("./ConversationSummary"), exports);
|
|
74
|
+
__exportStar(require("./CsatInfo"), exports);
|
|
74
75
|
__exportStar(require("./DeviceInfo"), exports);
|
|
75
76
|
__exportStar(require("./DeviceType"), exports);
|
|
76
77
|
__exportStar(require("./DocumentInformation"), exports);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
export declare const ConversationField: core.serialization.Schema<serializers.ConversationField.Raw, MavenAGI.ConversationField>;
|
|
5
5
|
export declare namespace ConversationField {
|
|
6
|
-
type Raw = "Category" | "FirstResponseTime" | "HandleTime" | "HumanAgents" | "HumanAgentsWithInserts" | "App" | "Sentiment" | "QualityReason" | "ResolutionStatus" | "ResolvedByMaven" | "Quality" | "Users" | "ResponseLength" | "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "Tags" | "UserMessageCount" | "BotMessageCount" | "Languages" | "Actions" | "IncompleteActions" | "Sources" | "CreatedAt" | "PredictedNPS" | "OrganizationId" | "AgentId" | "InboxItems" | "InvolvedApps";
|
|
6
|
+
type Raw = "Category" | "FirstResponseTime" | "HandleTime" | "HumanAgents" | "HumanAgentsWithInserts" | "App" | "Sentiment" | "QualityReason" | "ResolutionStatus" | "ResolvedByMaven" | "Quality" | "Users" | "ResponseLength" | "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "Tags" | "UserMessageCount" | "BotMessageCount" | "Languages" | "Actions" | "IncompleteActions" | "Sources" | "CreatedAt" | "PredictedNPS" | "Csat" | "OrganizationId" | "AgentId" | "InboxItems" | "InvolvedApps";
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
export declare const NumericConversationField: core.serialization.Schema<serializers.NumericConversationField.Raw, MavenAGI.NumericConversationField>;
|
|
5
5
|
export declare namespace NumericConversationField {
|
|
6
|
-
type Raw = "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "UserMessageCount" | "BotMessageCount" | "HandleTime" | "FirstResponseTime" | "PredictedNPS";
|
|
6
|
+
type Raw = "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "UserMessageCount" | "BotMessageCount" | "HandleTime" | "FirstResponseTime" | "PredictedNPS" | "Csat";
|
|
7
7
|
}
|
|
@@ -55,5 +55,6 @@ exports.KnowledgeBaseResponse = core.serialization
|
|
|
55
55
|
llmInclusionStatus: LlmInclusionStatus_1.LlmInclusionStatus,
|
|
56
56
|
refreshFrequency: KnowledgeBaseRefreshFrequency_1.KnowledgeBaseRefreshFrequency,
|
|
57
57
|
segmentId: EntityId_1.EntityId.optional(),
|
|
58
|
+
url: core.serialization.string().optional(),
|
|
58
59
|
})
|
|
59
60
|
.extend(KnowledgeBaseProperties_1.KnowledgeBaseProperties);
|
|
@@ -8,6 +8,8 @@ export declare const SegmentResponse: core.serialization.ObjectSchema<serializer
|
|
|
8
8
|
export declare namespace SegmentResponse {
|
|
9
9
|
interface Raw extends SegmentBase.Raw {
|
|
10
10
|
segmentId: EntityId.Raw;
|
|
11
|
+
createdAt: string;
|
|
12
|
+
updatedAt: string;
|
|
11
13
|
status: SegmentStatus.Raw;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -42,6 +42,8 @@ const SegmentStatus_1 = require("./SegmentStatus");
|
|
|
42
42
|
exports.SegmentResponse = core.serialization
|
|
43
43
|
.object({
|
|
44
44
|
segmentId: EntityId_1.EntityId,
|
|
45
|
+
createdAt: core.serialization.date(),
|
|
46
|
+
updatedAt: core.serialization.date(),
|
|
45
47
|
status: SegmentStatus_1.SegmentStatus,
|
|
46
48
|
})
|
|
47
49
|
.extend(SegmentBase_1.SegmentBase);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.2.
|
|
1
|
+
export declare const SDK_VERSION = "1.2.13";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
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 CsatInfo: core.serialization.ObjectSchema<serializers.CsatInfo.Raw, MavenAGI.CsatInfo>;
|
|
5
|
+
export declare namespace CsatInfo {
|
|
6
|
+
interface Raw {
|
|
7
|
+
rating?: number | null;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.CsatInfo = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.CsatInfo = core.serialization.object({
|
|
40
|
+
rating: core.serialization.number().optional(),
|
|
41
|
+
});
|
|
@@ -41,5 +41,6 @@ exports.MetadataPrecondition = core.serialization
|
|
|
41
41
|
.object({
|
|
42
42
|
key: core.serialization.string(),
|
|
43
43
|
value: core.serialization.string().optional(),
|
|
44
|
+
values: core.serialization.list(core.serialization.string()).optional(),
|
|
44
45
|
})
|
|
45
46
|
.extend(PreconditionBase_1.PreconditionBase);
|
|
@@ -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 { CsatInfo } from "./CsatInfo";
|
|
4
5
|
import { EntityIdBase } from "./EntityIdBase";
|
|
5
6
|
import { EventBaseNoId } from "./EventBaseNoId";
|
|
6
7
|
import { EventUserInfoBase } from "./EventUserInfoBase";
|
|
@@ -13,6 +14,7 @@ export declare namespace NovelUserEvent {
|
|
|
13
14
|
id: EntityIdBase.Raw;
|
|
14
15
|
eventName: UserEventName.Raw;
|
|
15
16
|
userInfo: EventUserInfoBase.Raw;
|
|
17
|
+
csatInfo?: CsatInfo.Raw | null;
|
|
16
18
|
feedbackInfo?: FeedbackInfo.Raw[] | null;
|
|
17
19
|
pageInfo?: PageInfo.Raw | null;
|
|
18
20
|
}
|
|
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.NovelUserEvent = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const CsatInfo_1 = require("./CsatInfo");
|
|
39
40
|
const EntityIdBase_1 = require("./EntityIdBase");
|
|
40
41
|
const EventBaseNoId_1 = require("./EventBaseNoId");
|
|
41
42
|
const EventUserInfoBase_1 = require("./EventUserInfoBase");
|
|
@@ -47,6 +48,7 @@ exports.NovelUserEvent = core.serialization
|
|
|
47
48
|
id: EntityIdBase_1.EntityIdBase,
|
|
48
49
|
eventName: UserEventName_1.UserEventName,
|
|
49
50
|
userInfo: EventUserInfoBase_1.EventUserInfoBase,
|
|
51
|
+
csatInfo: CsatInfo_1.CsatInfo.optional(),
|
|
50
52
|
feedbackInfo: core.serialization.list(FeedbackInfo_1.FeedbackInfo).optional(),
|
|
51
53
|
pageInfo: PageInfo_1.PageInfo.optional(),
|
|
52
54
|
})
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
export declare const PreconditionOperator: core.serialization.Schema<serializers.PreconditionOperator.Raw, MavenAGI.PreconditionOperator>;
|
|
5
5
|
export declare namespace PreconditionOperator {
|
|
6
|
-
type Raw = "NOT";
|
|
6
|
+
type Raw = "NOT" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_ANY" | "NOT_CONTAINS_ANY" | "CONTAINS_ALL" | "NOT_CONTAINS_ALL";
|
|
7
7
|
}
|
|
@@ -36,4 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.PreconditionOperator = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
-
exports.PreconditionOperator = core.serialization.enum_([
|
|
39
|
+
exports.PreconditionOperator = core.serialization.enum_([
|
|
40
|
+
"NOT",
|
|
41
|
+
"CONTAINS",
|
|
42
|
+
"NOT_CONTAINS",
|
|
43
|
+
"CONTAINS_ANY",
|
|
44
|
+
"NOT_CONTAINS_ANY",
|
|
45
|
+
"CONTAINS_ALL",
|
|
46
|
+
"NOT_CONTAINS_ALL",
|
|
47
|
+
]);
|
|
@@ -55,6 +55,7 @@ export * from "./ConversationPrecondition";
|
|
|
55
55
|
export * from "./ConversationPreview";
|
|
56
56
|
export * from "./ConversationResponse";
|
|
57
57
|
export * from "./ConversationSummary";
|
|
58
|
+
export * from "./CsatInfo";
|
|
58
59
|
export * from "./DeviceInfo";
|
|
59
60
|
export * from "./DeviceType";
|
|
60
61
|
export * from "./DocumentInformation";
|
|
@@ -71,6 +71,7 @@ __exportStar(require("./ConversationPrecondition"), exports);
|
|
|
71
71
|
__exportStar(require("./ConversationPreview"), exports);
|
|
72
72
|
__exportStar(require("./ConversationResponse"), exports);
|
|
73
73
|
__exportStar(require("./ConversationSummary"), exports);
|
|
74
|
+
__exportStar(require("./CsatInfo"), exports);
|
|
74
75
|
__exportStar(require("./DeviceInfo"), exports);
|
|
75
76
|
__exportStar(require("./DeviceType"), exports);
|
|
76
77
|
__exportStar(require("./DocumentInformation"), exports);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
export declare const ConversationField: core.serialization.Schema<serializers.ConversationField.Raw, MavenAGI.ConversationField>;
|
|
5
5
|
export declare namespace ConversationField {
|
|
6
|
-
type Raw = "Category" | "FirstResponseTime" | "HandleTime" | "HumanAgents" | "HumanAgentsWithInserts" | "App" | "Sentiment" | "QualityReason" | "ResolutionStatus" | "ResolvedByMaven" | "Quality" | "Users" | "ResponseLength" | "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "Tags" | "UserMessageCount" | "BotMessageCount" | "Languages" | "Actions" | "IncompleteActions" | "Sources" | "CreatedAt" | "PredictedNPS" | "OrganizationId" | "AgentId" | "InboxItems" | "InvolvedApps";
|
|
6
|
+
type Raw = "Category" | "FirstResponseTime" | "HandleTime" | "HumanAgents" | "HumanAgentsWithInserts" | "App" | "Sentiment" | "QualityReason" | "ResolutionStatus" | "ResolvedByMaven" | "Quality" | "Users" | "ResponseLength" | "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "Tags" | "UserMessageCount" | "BotMessageCount" | "Languages" | "Actions" | "IncompleteActions" | "Sources" | "CreatedAt" | "PredictedNPS" | "Csat" | "OrganizationId" | "AgentId" | "InboxItems" | "InvolvedApps";
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
export declare const NumericConversationField: core.serialization.Schema<serializers.NumericConversationField.Raw, MavenAGI.NumericConversationField>;
|
|
5
5
|
export declare namespace NumericConversationField {
|
|
6
|
-
type Raw = "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "UserMessageCount" | "BotMessageCount" | "HandleTime" | "FirstResponseTime" | "PredictedNPS";
|
|
6
|
+
type Raw = "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "UserMessageCount" | "BotMessageCount" | "HandleTime" | "FirstResponseTime" | "PredictedNPS" | "Csat";
|
|
7
7
|
}
|
|
@@ -55,5 +55,6 @@ exports.KnowledgeBaseResponse = core.serialization
|
|
|
55
55
|
llmInclusionStatus: LlmInclusionStatus_1.LlmInclusionStatus,
|
|
56
56
|
refreshFrequency: KnowledgeBaseRefreshFrequency_1.KnowledgeBaseRefreshFrequency,
|
|
57
57
|
segmentId: EntityId_1.EntityId.optional(),
|
|
58
|
+
url: core.serialization.string().optional(),
|
|
58
59
|
})
|
|
59
60
|
.extend(KnowledgeBaseProperties_1.KnowledgeBaseProperties);
|
|
@@ -8,6 +8,8 @@ export declare const SegmentResponse: core.serialization.ObjectSchema<serializer
|
|
|
8
8
|
export declare namespace SegmentResponse {
|
|
9
9
|
interface Raw extends SegmentBase.Raw {
|
|
10
10
|
segmentId: EntityId.Raw;
|
|
11
|
+
createdAt: string;
|
|
12
|
+
updatedAt: string;
|
|
11
13
|
status: SegmentStatus.Raw;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -42,6 +42,8 @@ const SegmentStatus_1 = require("./SegmentStatus");
|
|
|
42
42
|
exports.SegmentResponse = core.serialization
|
|
43
43
|
.object({
|
|
44
44
|
segmentId: EntityId_1.EntityId,
|
|
45
|
+
createdAt: core.serialization.date(),
|
|
46
|
+
updatedAt: core.serialization.date(),
|
|
45
47
|
status: SegmentStatus_1.SegmentStatus,
|
|
46
48
|
})
|
|
47
49
|
.extend(SegmentBase_1.SegmentBase);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.2.
|
|
1
|
+
export declare const SDK_VERSION = "1.2.13";
|
package/version.js
CHANGED