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
|
@@ -22,6 +22,7 @@ export * from "./AttachmentStatus";
|
|
|
22
22
|
export * from "./BaseAttachment";
|
|
23
23
|
export * from "./BaseCappedPaginatedRequest";
|
|
24
24
|
export * from "./BaseConversationResponse";
|
|
25
|
+
export * from "./BaseCursorRequest";
|
|
25
26
|
export * from "./BasePaginatedRequest";
|
|
26
27
|
export * from "./BaseSearchRequest";
|
|
27
28
|
export * from "./BooleanCondition";
|
|
@@ -76,6 +77,7 @@ export * from "./ConversationState";
|
|
|
76
77
|
export * from "./ConversationStatePrecondition";
|
|
77
78
|
export * from "./ConversationSummary";
|
|
78
79
|
export * from "./CsatInfo";
|
|
80
|
+
export * from "./CursorPage";
|
|
79
81
|
export * from "./DeviceInfo";
|
|
80
82
|
export * from "./DeviceType";
|
|
81
83
|
export * from "./DocumentInformation";
|
|
@@ -102,6 +104,7 @@ export * from "./Feedback";
|
|
|
102
104
|
export * from "./FeedbackBase";
|
|
103
105
|
export * from "./FeedbackInfo";
|
|
104
106
|
export * from "./FeedbackType";
|
|
107
|
+
export * from "./FieldCondition";
|
|
105
108
|
export * from "./GeoInfo";
|
|
106
109
|
export * from "./HarmfulContentAnalysis";
|
|
107
110
|
export * from "./ImageSettingsSchemaEntry";
|
|
@@ -118,7 +121,6 @@ export * from "./InboxItemSeverity";
|
|
|
118
121
|
export * from "./InboxItemStatus";
|
|
119
122
|
export * from "./InboxItemType";
|
|
120
123
|
export * from "./InitializeConversationResponse";
|
|
121
|
-
export * from "./IntelligentFieldCondition";
|
|
122
124
|
export * from "./IntelligentFieldPrecondition";
|
|
123
125
|
export * from "./IntelligentFieldPreconditionResponse";
|
|
124
126
|
export * from "./IntelligentFieldValueResponse";
|
|
@@ -199,6 +201,9 @@ export * from "./SwitchSettingsSchemaEntry";
|
|
|
199
201
|
export * from "./SystemEvent";
|
|
200
202
|
export * from "./SystemEventName";
|
|
201
203
|
export * from "./TagsPrecondition";
|
|
204
|
+
export * from "./TextFormat";
|
|
205
|
+
export * from "./TextFormatJsonSchema";
|
|
206
|
+
export * from "./TextFormatText";
|
|
202
207
|
export * from "./TextSettingsSchemaEntry";
|
|
203
208
|
export * from "./UniversalCondition";
|
|
204
209
|
export * from "./UserConversationMessageType";
|
|
@@ -38,6 +38,7 @@ __exportStar(require("./AttachmentStatus"), exports);
|
|
|
38
38
|
__exportStar(require("./BaseAttachment"), exports);
|
|
39
39
|
__exportStar(require("./BaseCappedPaginatedRequest"), exports);
|
|
40
40
|
__exportStar(require("./BaseConversationResponse"), exports);
|
|
41
|
+
__exportStar(require("./BaseCursorRequest"), exports);
|
|
41
42
|
__exportStar(require("./BasePaginatedRequest"), exports);
|
|
42
43
|
__exportStar(require("./BaseSearchRequest"), exports);
|
|
43
44
|
__exportStar(require("./BooleanCondition"), exports);
|
|
@@ -92,6 +93,7 @@ __exportStar(require("./ConversationState"), exports);
|
|
|
92
93
|
__exportStar(require("./ConversationStatePrecondition"), exports);
|
|
93
94
|
__exportStar(require("./ConversationSummary"), exports);
|
|
94
95
|
__exportStar(require("./CsatInfo"), exports);
|
|
96
|
+
__exportStar(require("./CursorPage"), exports);
|
|
95
97
|
__exportStar(require("./DeviceInfo"), exports);
|
|
96
98
|
__exportStar(require("./DeviceType"), exports);
|
|
97
99
|
__exportStar(require("./DocumentInformation"), exports);
|
|
@@ -118,6 +120,7 @@ __exportStar(require("./Feedback"), exports);
|
|
|
118
120
|
__exportStar(require("./FeedbackBase"), exports);
|
|
119
121
|
__exportStar(require("./FeedbackInfo"), exports);
|
|
120
122
|
__exportStar(require("./FeedbackType"), exports);
|
|
123
|
+
__exportStar(require("./FieldCondition"), exports);
|
|
121
124
|
__exportStar(require("./GeoInfo"), exports);
|
|
122
125
|
__exportStar(require("./HarmfulContentAnalysis"), exports);
|
|
123
126
|
__exportStar(require("./ImageSettingsSchemaEntry"), exports);
|
|
@@ -134,7 +137,6 @@ __exportStar(require("./InboxItemSeverity"), exports);
|
|
|
134
137
|
__exportStar(require("./InboxItemStatus"), exports);
|
|
135
138
|
__exportStar(require("./InboxItemType"), exports);
|
|
136
139
|
__exportStar(require("./InitializeConversationResponse"), exports);
|
|
137
|
-
__exportStar(require("./IntelligentFieldCondition"), exports);
|
|
138
140
|
__exportStar(require("./IntelligentFieldPrecondition"), exports);
|
|
139
141
|
__exportStar(require("./IntelligentFieldPreconditionResponse"), exports);
|
|
140
142
|
__exportStar(require("./IntelligentFieldValueResponse"), exports);
|
|
@@ -215,6 +217,9 @@ __exportStar(require("./SwitchSettingsSchemaEntry"), exports);
|
|
|
215
217
|
__exportStar(require("./SystemEvent"), exports);
|
|
216
218
|
__exportStar(require("./SystemEventName"), exports);
|
|
217
219
|
__exportStar(require("./TagsPrecondition"), exports);
|
|
220
|
+
__exportStar(require("./TextFormat"), exports);
|
|
221
|
+
__exportStar(require("./TextFormatJsonSchema"), exports);
|
|
222
|
+
__exportStar(require("./TextFormatText"), exports);
|
|
218
223
|
__exportStar(require("./TextSettingsSchemaEntry"), exports);
|
|
219
224
|
__exportStar(require("./UniversalCondition"), exports);
|
|
220
225
|
__exportStar(require("./UserConversationMessageType"), exports);
|
|
@@ -243,7 +243,11 @@ export declare class ConversationClient {
|
|
|
243
243
|
categorize(conversationId: string, requestOptions?: ConversationClient.RequestOptions): core.HttpResponsePromise<MavenAGI.CategorizationResponse>;
|
|
244
244
|
private __categorize;
|
|
245
245
|
/**
|
|
246
|
-
*
|
|
246
|
+
* @deprecated
|
|
247
|
+
*
|
|
248
|
+
* Replaced by the Create events API, which records feedback as a user event.
|
|
249
|
+
*
|
|
250
|
+
* Update feedback or create it if it doesn't exist.
|
|
247
251
|
*
|
|
248
252
|
* @param {MavenAGI.FeedbackRequest} request
|
|
249
253
|
* @param {ConversationClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -373,6 +377,33 @@ export declare class ConversationClient {
|
|
|
373
377
|
*/
|
|
374
378
|
search(request: MavenAGI.ConversationsSearchRequest, requestOptions?: ConversationClient.RequestOptions): core.HttpResponsePromise<MavenAGI.ConversationsResponse>;
|
|
375
379
|
private __search;
|
|
380
|
+
/**
|
|
381
|
+
* Search conversations using cursor pagination, which can read past the 10,000th result that
|
|
382
|
+
* `search` cannot reach.
|
|
383
|
+
*
|
|
384
|
+
* Results are ordered by conversation creation time. Start with no `cursor`, then pass each
|
|
385
|
+
* response's `nextCursor` back unchanged until the response omits it. Keep every other field
|
|
386
|
+
* identical for the whole traversal — changing the filter, size, or sort direction mid-way is
|
|
387
|
+
* rejected rather than silently restarting you at the beginning.
|
|
388
|
+
*
|
|
389
|
+
* `nextCursor` is the only reliable end-of-results signal. Do not stop early because a page
|
|
390
|
+
* came back with fewer conversations than you asked for: that happens legitimately, and more
|
|
391
|
+
* pages may still remain.
|
|
392
|
+
*
|
|
393
|
+
* @param {MavenAGI.ConversationsCursorSearchRequest} request
|
|
394
|
+
* @param {ConversationClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
395
|
+
*
|
|
396
|
+
* @throws {@link MavenAGI.NotFoundError}
|
|
397
|
+
* @throws {@link MavenAGI.BadRequestError}
|
|
398
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
399
|
+
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
400
|
+
* @throws {@link MavenAGI.ServerError}
|
|
401
|
+
*
|
|
402
|
+
* @example
|
|
403
|
+
* await client.conversation.searchCursor({})
|
|
404
|
+
*/
|
|
405
|
+
searchCursor(request: MavenAGI.ConversationsCursorSearchRequest, requestOptions?: ConversationClient.RequestOptions): core.HttpResponsePromise<MavenAGI.ConversationsCursorSearchResponse>;
|
|
406
|
+
private __searchCursor;
|
|
376
407
|
/**
|
|
377
408
|
* Export conversations to a CSV file.
|
|
378
409
|
*
|
|
@@ -959,7 +959,11 @@ class ConversationClient {
|
|
|
959
959
|
});
|
|
960
960
|
}
|
|
961
961
|
/**
|
|
962
|
-
*
|
|
962
|
+
* @deprecated
|
|
963
|
+
*
|
|
964
|
+
* Replaced by the Create events API, which records feedback as a user event.
|
|
965
|
+
*
|
|
966
|
+
* Update feedback or create it if it doesn't exist.
|
|
963
967
|
*
|
|
964
968
|
* @param {MavenAGI.FeedbackRequest} request
|
|
965
969
|
* @param {ConversationClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1501,6 +1505,117 @@ class ConversationClient {
|
|
|
1501
1505
|
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/conversations/search");
|
|
1502
1506
|
});
|
|
1503
1507
|
}
|
|
1508
|
+
/**
|
|
1509
|
+
* Search conversations using cursor pagination, which can read past the 10,000th result that
|
|
1510
|
+
* `search` cannot reach.
|
|
1511
|
+
*
|
|
1512
|
+
* Results are ordered by conversation creation time. Start with no `cursor`, then pass each
|
|
1513
|
+
* response's `nextCursor` back unchanged until the response omits it. Keep every other field
|
|
1514
|
+
* identical for the whole traversal — changing the filter, size, or sort direction mid-way is
|
|
1515
|
+
* rejected rather than silently restarting you at the beginning.
|
|
1516
|
+
*
|
|
1517
|
+
* `nextCursor` is the only reliable end-of-results signal. Do not stop early because a page
|
|
1518
|
+
* came back with fewer conversations than you asked for: that happens legitimately, and more
|
|
1519
|
+
* pages may still remain.
|
|
1520
|
+
*
|
|
1521
|
+
* @param {MavenAGI.ConversationsCursorSearchRequest} request
|
|
1522
|
+
* @param {ConversationClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1523
|
+
*
|
|
1524
|
+
* @throws {@link MavenAGI.NotFoundError}
|
|
1525
|
+
* @throws {@link MavenAGI.BadRequestError}
|
|
1526
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
1527
|
+
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
1528
|
+
* @throws {@link MavenAGI.ServerError}
|
|
1529
|
+
*
|
|
1530
|
+
* @example
|
|
1531
|
+
* await client.conversation.searchCursor({})
|
|
1532
|
+
*/
|
|
1533
|
+
searchCursor(request, requestOptions) {
|
|
1534
|
+
return core.HttpResponsePromise.fromPromise(this.__searchCursor(request, requestOptions));
|
|
1535
|
+
}
|
|
1536
|
+
__searchCursor(request, requestOptions) {
|
|
1537
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1538
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
1539
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1540
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
1541
|
+
"X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
|
|
1542
|
+
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
1543
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1544
|
+
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
1545
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, "/v1/conversations/search/cursor"),
|
|
1546
|
+
method: "POST",
|
|
1547
|
+
headers: _headers,
|
|
1548
|
+
contentType: "application/json",
|
|
1549
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
1550
|
+
requestType: "json",
|
|
1551
|
+
body: serializers.ConversationsCursorSearchRequest.jsonOrThrow(request, {
|
|
1552
|
+
unrecognizedObjectKeys: "strip",
|
|
1553
|
+
}),
|
|
1554
|
+
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
1555
|
+
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
1556
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1557
|
+
fetchFn: (_p = this._options) === null || _p === void 0 ? void 0 : _p.fetch,
|
|
1558
|
+
logging: this._options.logging,
|
|
1559
|
+
});
|
|
1560
|
+
if (_response.ok) {
|
|
1561
|
+
return {
|
|
1562
|
+
data: serializers.ConversationsCursorSearchResponse.parseOrThrow(_response.body, {
|
|
1563
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1564
|
+
allowUnrecognizedUnionMembers: true,
|
|
1565
|
+
allowUnrecognizedEnumValues: true,
|
|
1566
|
+
breadcrumbsPrefix: ["response"],
|
|
1567
|
+
}),
|
|
1568
|
+
rawResponse: _response.rawResponse,
|
|
1569
|
+
};
|
|
1570
|
+
}
|
|
1571
|
+
if (_response.error.reason === "status-code") {
|
|
1572
|
+
switch (_response.error.statusCode) {
|
|
1573
|
+
case 404:
|
|
1574
|
+
throw new MavenAGI.NotFoundError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
1575
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1576
|
+
allowUnrecognizedUnionMembers: true,
|
|
1577
|
+
allowUnrecognizedEnumValues: true,
|
|
1578
|
+
breadcrumbsPrefix: ["response"],
|
|
1579
|
+
}), _response.rawResponse);
|
|
1580
|
+
case 400:
|
|
1581
|
+
throw new MavenAGI.BadRequestError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
1582
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1583
|
+
allowUnrecognizedUnionMembers: true,
|
|
1584
|
+
allowUnrecognizedEnumValues: true,
|
|
1585
|
+
breadcrumbsPrefix: ["response"],
|
|
1586
|
+
}), _response.rawResponse);
|
|
1587
|
+
case 413:
|
|
1588
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
1589
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1590
|
+
allowUnrecognizedUnionMembers: true,
|
|
1591
|
+
allowUnrecognizedEnumValues: true,
|
|
1592
|
+
breadcrumbsPrefix: ["response"],
|
|
1593
|
+
}), _response.rawResponse);
|
|
1594
|
+
case 429:
|
|
1595
|
+
throw new MavenAGI.TooManyRequestsError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
1596
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1597
|
+
allowUnrecognizedUnionMembers: true,
|
|
1598
|
+
allowUnrecognizedEnumValues: true,
|
|
1599
|
+
breadcrumbsPrefix: ["response"],
|
|
1600
|
+
}), _response.rawResponse);
|
|
1601
|
+
case 500:
|
|
1602
|
+
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
1603
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1604
|
+
allowUnrecognizedUnionMembers: true,
|
|
1605
|
+
allowUnrecognizedEnumValues: true,
|
|
1606
|
+
breadcrumbsPrefix: ["response"],
|
|
1607
|
+
}), _response.rawResponse);
|
|
1608
|
+
default:
|
|
1609
|
+
throw new errors.MavenAGIError({
|
|
1610
|
+
statusCode: _response.error.statusCode,
|
|
1611
|
+
body: _response.error.body,
|
|
1612
|
+
rawResponse: _response.rawResponse,
|
|
1613
|
+
});
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/conversations/search/cursor");
|
|
1617
|
+
});
|
|
1618
|
+
}
|
|
1504
1619
|
/**
|
|
1505
1620
|
* Export conversations to a CSV file.
|
|
1506
1621
|
*
|
|
@@ -42,6 +42,38 @@ import type * as MavenAGI from "../../../index";
|
|
|
42
42
|
* type: MavenAGI.AskType.Proactive,
|
|
43
43
|
* text: "Inform the user that they should restart their machine."
|
|
44
44
|
* }
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* {
|
|
48
|
+
* conversationMessageId: {
|
|
49
|
+
* referenceId: "message-0"
|
|
50
|
+
* },
|
|
51
|
+
* userId: {
|
|
52
|
+
* referenceId: "user-0"
|
|
53
|
+
* },
|
|
54
|
+
* text: "Is this customer at risk of churning, and why?",
|
|
55
|
+
* textFormat: {
|
|
56
|
+
* type: "jsonSchema",
|
|
57
|
+
* schema: {
|
|
58
|
+
* "type": "object",
|
|
59
|
+
* "additionalProperties": false,
|
|
60
|
+
* "properties": {
|
|
61
|
+
* "atRisk": {
|
|
62
|
+
* "type": "boolean",
|
|
63
|
+
* "description": "Whether the customer shows churn risk."
|
|
64
|
+
* },
|
|
65
|
+
* "reason": {
|
|
66
|
+
* "type": "string",
|
|
67
|
+
* "description": "A one-sentence explanation of the assessment."
|
|
68
|
+
* }
|
|
69
|
+
* },
|
|
70
|
+
* "required": [
|
|
71
|
+
* "atRisk",
|
|
72
|
+
* "reason"
|
|
73
|
+
* ]
|
|
74
|
+
* }
|
|
75
|
+
* }
|
|
76
|
+
* }
|
|
45
77
|
*/
|
|
46
78
|
export interface AskRequest {
|
|
47
79
|
/** Externally supplied ID to uniquely identify this message within the conversation. If a message with this ID already exists it will be reused and will not be updated. */
|
|
@@ -62,6 +94,33 @@ export interface AskRequest {
|
|
|
62
94
|
* are unaffected.)
|
|
63
95
|
*/
|
|
64
96
|
text?: string;
|
|
97
|
+
/**
|
|
98
|
+
* What form the answer takes. Omit it for prose, or send `jsonSchema` to additionally get a
|
|
99
|
+
* `BotObjectResponse` matching a schema you supply.
|
|
100
|
+
*
|
|
101
|
+
* Set per ask and independent of `type`, so one conversation can mix prose and structured
|
|
102
|
+
* turns. Only the answer's form changes: knowledge, actions, charters and segments apply
|
|
103
|
+
* the same way either way.
|
|
104
|
+
*
|
|
105
|
+
* A structured answer accompanies the prose one rather than replacing it — the same turn
|
|
106
|
+
* produces both, so the conversation stays readable. On `ask_stream` the prose still streams
|
|
107
|
+
* on `text` events as it always has, and the object arrives whole on a single `object` event
|
|
108
|
+
* near the end.
|
|
109
|
+
*
|
|
110
|
+
* Every answering turn carries an object, including one where the agent asks a clarifying
|
|
111
|
+
* question rather than answering. Shape the schema so it can say "not enough information"
|
|
112
|
+
* — a populated object is not on its own evidence of a confident answer.
|
|
113
|
+
*
|
|
114
|
+
* Two exceptions. A turn that asks the user to *act* produces an action form from the
|
|
115
|
+
* action rather than from an answer, so it carries no object; the turn that answers after
|
|
116
|
+
* the form is submitted does carry one. Leave the `FORMS` capability off if you need an
|
|
117
|
+
* object on every turn.
|
|
118
|
+
*
|
|
119
|
+
* A turn answered verbatim by a `STRICT_RETURN` charter also carries no object. That
|
|
120
|
+
* charter's manual is returned exactly as written without consulting the agent, so there is
|
|
121
|
+
* nothing to shape into the requested schema — the turn returns the manual as `text` alone.
|
|
122
|
+
*/
|
|
123
|
+
textFormat?: MavenAGI.TextFormat;
|
|
65
124
|
/**
|
|
66
125
|
* The attachments to the message. Image attachments will be sent to the LLM as additional data.
|
|
67
126
|
* Non-image attachments can be stored and downloaded from the API but will not be sent to the LLM.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* The structured answer for an ask whose `textFormat` was `jsonSchema`, emitted once and already complete. There is nothing to concatenate, and no partial object is ever sent.
|
|
4
|
+
* It arrives late in the stream — the object is only known once the whole answer parses — and alongside the `text` events carrying the prose answer, not instead of them.
|
|
5
|
+
*/
|
|
6
|
+
export interface AskStreamObjectEvent extends MavenAGI.BotObjectResponse {
|
|
7
|
+
}
|
|
@@ -31,7 +31,15 @@ export declare const ConversationField: {
|
|
|
31
31
|
readonly Csat: "Csat";
|
|
32
32
|
readonly OrganizationId: "OrganizationId";
|
|
33
33
|
readonly AgentId: "AgentId";
|
|
34
|
+
/**
|
|
35
|
+
* The environment configured on the agent: DEMO, STAGING, or PRODUCTION. Constant within a
|
|
36
|
+
* single agent, so it only separates conversations on a cross-agent request. */
|
|
37
|
+
readonly AgentEnvironment: "AgentEnvironment";
|
|
34
38
|
readonly InboxItems: "InboxItems";
|
|
35
39
|
readonly InvolvedApps: "InvolvedApps";
|
|
40
|
+
/**
|
|
41
|
+
* Selects an intelligent field rather than a built-in conversation field.
|
|
42
|
+
* When used, `intelligentFieldId` must also be set to identify which field. */
|
|
43
|
+
readonly IntelligentField: "IntelligentField";
|
|
36
44
|
};
|
|
37
45
|
export type ConversationField = (typeof ConversationField)[keyof typeof ConversationField] | string;
|
|
@@ -35,6 +35,14 @@ exports.ConversationField = {
|
|
|
35
35
|
Csat: "Csat",
|
|
36
36
|
OrganizationId: "OrganizationId",
|
|
37
37
|
AgentId: "AgentId",
|
|
38
|
+
/**
|
|
39
|
+
* The environment configured on the agent: DEMO, STAGING, or PRODUCTION. Constant within a
|
|
40
|
+
* single agent, so it only separates conversations on a cross-agent request. */
|
|
41
|
+
AgentEnvironment: "AgentEnvironment",
|
|
38
42
|
InboxItems: "InboxItems",
|
|
39
43
|
InvolvedApps: "InvolvedApps",
|
|
44
|
+
/**
|
|
45
|
+
* Selects an intelligent field rather than a built-in conversation field.
|
|
46
|
+
* When used, `intelligentFieldId` must also be set to identify which field. */
|
|
47
|
+
IntelligentField: "IntelligentField",
|
|
40
48
|
};
|
|
@@ -33,6 +33,17 @@ export interface ConversationRequest {
|
|
|
33
33
|
metadata?: Record<string, string>;
|
|
34
34
|
/** The messages in the conversation */
|
|
35
35
|
messages: MavenAGI.ConversationMessageRequest[];
|
|
36
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* The unique identifier of the conversation this new conversation was spawned from, if applicable.
|
|
38
|
+
*
|
|
39
|
+
* Setting this also gives the new conversation access to the context it branched from: when the bot
|
|
40
|
+
* answers, the transcript of the spawned-from conversation (and of the conversations that one was
|
|
41
|
+
* spawned from, in turn) is merged into the prompt ahead of this conversation's own messages. Each
|
|
42
|
+
* ancestor is truncated at the point the spawn happened, so messages it receives afterwards are not
|
|
43
|
+
* included.
|
|
44
|
+
*
|
|
45
|
+
* The referenced conversation must belong to the same agent. Because the merged transcript is read
|
|
46
|
+
* back to the end user, only set this to a conversation the current user is entitled to see.
|
|
47
|
+
*/
|
|
37
48
|
spawnedFromConversationId?: MavenAGI.EntityId;
|
|
38
49
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
|
+
export interface ConversationsCursorSearchResponse extends MavenAGI.CursorPage {
|
|
3
|
+
/** The conversations that match the search criteria */
|
|
4
|
+
conversations: MavenAGI.ConversationPreview[];
|
|
5
|
+
/**
|
|
6
|
+
* The total number of matching conversations, returned only on the first page of a
|
|
7
|
+
* traversal and omitted on continuations — the count is paid for once. A snapshot taken
|
|
8
|
+
* when the traversal began; the underlying set may grow while you read.
|
|
9
|
+
*/
|
|
10
|
+
totalElements?: number;
|
|
11
|
+
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../index";
|
|
2
2
|
export interface ConversationsSearchRequest extends MavenAGI.BasePaginatedRequest {
|
|
3
|
+
/**
|
|
4
|
+
* Field to sort results by. `IntelligentField` is not supported here - sorting conversations
|
|
5
|
+
* by an intelligent field value is not available. Intelligent fields can be filtered on via
|
|
6
|
+
* `filter.intelligentFields`, and grouped or aggregated through the analytics APIs.
|
|
7
|
+
*/
|
|
3
8
|
sort?: MavenAGI.ConversationField;
|
|
4
9
|
filter?: MavenAGI.ConversationFilter;
|
|
5
10
|
}
|
|
@@ -10,5 +10,9 @@ export declare const NumericConversationField: {
|
|
|
10
10
|
readonly Csat: "Csat";
|
|
11
11
|
readonly ActionExecutionCount: "ActionExecutionCount";
|
|
12
12
|
readonly ActionErrorCount: "ActionErrorCount";
|
|
13
|
+
/**
|
|
14
|
+
* Selects a NUMBER-validated intelligent field rather than a built-in numeric field.
|
|
15
|
+
* When used, `intelligentFieldId` must also be set to identify which field. */
|
|
16
|
+
readonly IntelligentField: "IntelligentField";
|
|
13
17
|
};
|
|
14
18
|
export type NumericConversationField = (typeof NumericConversationField)[keyof typeof NumericConversationField] | string;
|
|
@@ -14,4 +14,8 @@ exports.NumericConversationField = {
|
|
|
14
14
|
Csat: "Csat",
|
|
15
15
|
ActionExecutionCount: "ActionExecutionCount",
|
|
16
16
|
ActionErrorCount: "ActionErrorCount",
|
|
17
|
+
/**
|
|
18
|
+
* Selects a NUMBER-validated intelligent field rather than a built-in numeric field.
|
|
19
|
+
* When used, `intelligentFieldId` must also be set to identify which field. */
|
|
20
|
+
IntelligentField: "IntelligentField",
|
|
17
21
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../index";
|
|
2
|
-
export type StreamResponse = MavenAGI.StreamResponse.Text | MavenAGI.StreamResponse.Action | MavenAGI.StreamResponse.OauthButton | MavenAGI.StreamResponse.Chart | MavenAGI.StreamResponse.Metadata | MavenAGI.StreamResponse.Start | MavenAGI.StreamResponse.End;
|
|
2
|
+
export type StreamResponse = MavenAGI.StreamResponse.Text | MavenAGI.StreamResponse.Action | MavenAGI.StreamResponse.OauthButton | MavenAGI.StreamResponse.Chart | MavenAGI.StreamResponse.Object | MavenAGI.StreamResponse.Metadata | MavenAGI.StreamResponse.Start | MavenAGI.StreamResponse.End;
|
|
3
3
|
export declare namespace StreamResponse {
|
|
4
4
|
interface Text extends MavenAGI.AskStreamTextEvent {
|
|
5
5
|
eventType: "text";
|
|
@@ -13,6 +13,9 @@ export declare namespace StreamResponse {
|
|
|
13
13
|
interface Chart extends MavenAGI.AskStreamChartEvent {
|
|
14
14
|
eventType: "chart";
|
|
15
15
|
}
|
|
16
|
+
interface Object extends MavenAGI.AskStreamObjectEvent {
|
|
17
|
+
eventType: "object";
|
|
18
|
+
}
|
|
16
19
|
interface Metadata extends MavenAGI.AskStreamMetadataEvent {
|
|
17
20
|
eventType: "metadata";
|
|
18
21
|
}
|
|
@@ -6,6 +6,7 @@ export * from "./AskStreamChartEvent";
|
|
|
6
6
|
export * from "./AskStreamEndEvent";
|
|
7
7
|
export * from "./AskStreamMetadataEvent";
|
|
8
8
|
export * from "./AskStreamOAuthButtonEvent";
|
|
9
|
+
export * from "./AskStreamObjectEvent";
|
|
9
10
|
export * from "./AskStreamStartEvent";
|
|
10
11
|
export * from "./AskStreamTextEvent";
|
|
11
12
|
export * from "./BillableFilterField";
|
|
@@ -16,6 +17,8 @@ export * from "./ConversationMessageRequest";
|
|
|
16
17
|
export * from "./ConversationMetadata";
|
|
17
18
|
export * from "./ConversationPatchRequest";
|
|
18
19
|
export * from "./ConversationRequest";
|
|
20
|
+
export * from "./ConversationsCursorSearchRequest";
|
|
21
|
+
export * from "./ConversationsCursorSearchResponse";
|
|
19
22
|
export * from "./ConversationsResponse";
|
|
20
23
|
export * from "./ConversationsSearchRequest";
|
|
21
24
|
export * from "./DeliverConversationMessageRequest";
|
|
@@ -22,6 +22,7 @@ __exportStar(require("./AskStreamChartEvent"), exports);
|
|
|
22
22
|
__exportStar(require("./AskStreamEndEvent"), exports);
|
|
23
23
|
__exportStar(require("./AskStreamMetadataEvent"), exports);
|
|
24
24
|
__exportStar(require("./AskStreamOAuthButtonEvent"), exports);
|
|
25
|
+
__exportStar(require("./AskStreamObjectEvent"), exports);
|
|
25
26
|
__exportStar(require("./AskStreamStartEvent"), exports);
|
|
26
27
|
__exportStar(require("./AskStreamTextEvent"), exports);
|
|
27
28
|
__exportStar(require("./BillableFilterField"), exports);
|
|
@@ -32,6 +33,8 @@ __exportStar(require("./ConversationMessageRequest"), exports);
|
|
|
32
33
|
__exportStar(require("./ConversationMetadata"), exports);
|
|
33
34
|
__exportStar(require("./ConversationPatchRequest"), exports);
|
|
34
35
|
__exportStar(require("./ConversationRequest"), exports);
|
|
36
|
+
__exportStar(require("./ConversationsCursorSearchRequest"), exports);
|
|
37
|
+
__exportStar(require("./ConversationsCursorSearchResponse"), exports);
|
|
35
38
|
__exportStar(require("./ConversationsResponse"), exports);
|
|
36
39
|
__exportStar(require("./ConversationsSearchRequest"), exports);
|
|
37
40
|
__exportStar(require("./DeliverConversationMessageRequest"), exports);
|
package/api/resources/index.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ export * from "./appSettings/client/requests";
|
|
|
11
11
|
export * from "./appSettings/types";
|
|
12
12
|
export * as assets from "./assets";
|
|
13
13
|
export * from "./assets/types";
|
|
14
|
+
export * as charters from "./charters";
|
|
15
|
+
export * from "./charters/types";
|
|
14
16
|
export * as commons from "./commons";
|
|
15
17
|
export * from "./commons/errors";
|
|
16
18
|
export * from "./commons/types";
|
|
@@ -29,6 +31,9 @@ export * from "./inbox/client/requests";
|
|
|
29
31
|
export * from "./inbox/types";
|
|
30
32
|
export * as integrations from "./integrations";
|
|
31
33
|
export * from "./integrations/types";
|
|
34
|
+
export * as intelligentFields from "./intelligentFields";
|
|
35
|
+
export * from "./intelligentFields/client/requests";
|
|
36
|
+
export * from "./intelligentFields/types";
|
|
32
37
|
export * as knowledge from "./knowledge";
|
|
33
38
|
export * from "./knowledge/client/requests";
|
|
34
39
|
export * from "./knowledge/types";
|
package/api/resources/index.js
CHANGED
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.voiceConversations = exports.voice = exports.users = exports.triggers = exports.translations = exports.segments = exports.organizations = exports.knowledge = exports.integrations = exports.inbox = exports.events = exports.developersCommons = exports.customers = exports.conversation = exports.commons = exports.assets = exports.appSettings = exports.analytics = exports.agents = exports.actions = void 0;
|
|
39
|
+
exports.voiceConversations = exports.voice = exports.users = exports.triggers = exports.translations = exports.segments = exports.organizations = exports.knowledge = exports.intelligentFields = exports.integrations = exports.inbox = exports.events = exports.developersCommons = exports.customers = exports.conversation = exports.commons = exports.charters = exports.assets = exports.appSettings = exports.analytics = exports.agents = exports.actions = void 0;
|
|
40
40
|
exports.actions = __importStar(require("./actions"));
|
|
41
41
|
__exportStar(require("./actions/client/requests"), exports);
|
|
42
42
|
__exportStar(require("./actions/types"), exports);
|
|
@@ -50,6 +50,8 @@ __exportStar(require("./appSettings/client/requests"), exports);
|
|
|
50
50
|
__exportStar(require("./appSettings/types"), exports);
|
|
51
51
|
exports.assets = __importStar(require("./assets"));
|
|
52
52
|
__exportStar(require("./assets/types"), exports);
|
|
53
|
+
exports.charters = __importStar(require("./charters"));
|
|
54
|
+
__exportStar(require("./charters/types"), exports);
|
|
53
55
|
exports.commons = __importStar(require("./commons"));
|
|
54
56
|
__exportStar(require("./commons/errors"), exports);
|
|
55
57
|
__exportStar(require("./commons/types"), exports);
|
|
@@ -68,6 +70,9 @@ __exportStar(require("./inbox/client/requests"), exports);
|
|
|
68
70
|
__exportStar(require("./inbox/types"), exports);
|
|
69
71
|
exports.integrations = __importStar(require("./integrations"));
|
|
70
72
|
__exportStar(require("./integrations/types"), exports);
|
|
73
|
+
exports.intelligentFields = __importStar(require("./intelligentFields"));
|
|
74
|
+
__exportStar(require("./intelligentFields/client/requests"), exports);
|
|
75
|
+
__exportStar(require("./intelligentFields/types"), exports);
|
|
71
76
|
exports.knowledge = __importStar(require("./knowledge"));
|
|
72
77
|
__exportStar(require("./knowledge/client/requests"), exports);
|
|
73
78
|
__exportStar(require("./knowledge/types"), exports);
|