mavenagi 1.2.56 → 1.2.57

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.
Files changed (219) hide show
  1. package/BaseClient.js +2 -2
  2. package/Client.d.ts +3 -0
  3. package/Client.js +21 -16
  4. package/api/resources/analytics/types/ConversationBasicMetric.d.ts +5 -0
  5. package/api/resources/analytics/types/ConversationGroupBy.d.ts +9 -1
  6. package/api/resources/analytics/types/ConversationNumericMetric.d.ts +5 -0
  7. package/api/resources/analytics/types/ConversationTableRequest.d.ts +6 -0
  8. package/api/resources/charters/index.d.ts +1 -0
  9. package/api/resources/charters/index.js +17 -0
  10. package/api/resources/charters/types/CharterChildrenExclusionPolicy.d.ts +17 -0
  11. package/api/resources/charters/types/CharterChildrenExclusionPolicy.js +20 -0
  12. package/api/resources/charters/types/CharterStatus.d.ts +16 -0
  13. package/api/resources/charters/types/CharterStatus.js +19 -0
  14. package/api/resources/charters/types/CharterSummary.d.ts +28 -0
  15. package/api/resources/charters/types/CharterType.d.ts +25 -0
  16. package/api/resources/charters/types/CharterType.js +28 -0
  17. package/api/resources/charters/types/index.d.ts +4 -0
  18. package/api/resources/charters/types/index.js +20 -0
  19. package/api/resources/commons/types/ActionParameter.d.ts +2 -2
  20. package/api/resources/commons/types/BotObjectResponse.d.ts +2 -4
  21. package/api/resources/commons/types/FieldCondition.d.ts +45 -0
  22. package/api/resources/commons/types/FieldCondition.js +3 -0
  23. package/api/resources/commons/types/IntelligentFieldPrecondition.d.ts +1 -1
  24. package/api/resources/commons/types/IntelligentFieldPreconditionResponse.d.ts +1 -1
  25. package/api/resources/commons/types/KeyValueEntryCondition.d.ts +1 -1
  26. package/api/resources/commons/types/TextFormat.d.ts +13 -0
  27. package/api/resources/commons/types/TextFormat.js +3 -0
  28. package/api/resources/commons/types/TextFormatJsonSchema.d.ts +35 -0
  29. package/api/resources/commons/types/TextFormatJsonSchema.js +3 -0
  30. package/api/resources/commons/types/TextFormatText.d.ts +4 -0
  31. package/api/resources/commons/types/TextFormatText.js +3 -0
  32. package/api/resources/commons/types/UniversalCondition.d.ts +3 -3
  33. package/api/resources/commons/types/index.d.ts +4 -1
  34. package/api/resources/commons/types/index.js +4 -1
  35. package/api/resources/conversation/types/AskRequest.d.ts +59 -0
  36. package/api/resources/conversation/types/AskStreamObjectEvent.d.ts +7 -0
  37. package/api/resources/conversation/types/AskStreamObjectEvent.js +3 -0
  38. package/api/resources/conversation/types/ConversationField.d.ts +8 -0
  39. package/api/resources/conversation/types/ConversationField.js +8 -0
  40. package/api/resources/conversation/types/ConversationsSearchRequest.d.ts +5 -0
  41. package/api/resources/conversation/types/NumericConversationField.d.ts +4 -0
  42. package/api/resources/conversation/types/NumericConversationField.js +4 -0
  43. package/api/resources/conversation/types/StreamResponse.d.ts +4 -1
  44. package/api/resources/conversation/types/index.d.ts +1 -0
  45. package/api/resources/conversation/types/index.js +1 -0
  46. package/api/resources/index.d.ts +5 -0
  47. package/api/resources/index.js +6 -1
  48. package/api/resources/intelligentFields/client/Client.d.ts +156 -0
  49. package/api/resources/intelligentFields/client/Client.js +627 -0
  50. package/api/resources/intelligentFields/client/index.d.ts +1 -0
  51. package/api/resources/intelligentFields/client/index.js +17 -0
  52. package/api/resources/intelligentFields/client/requests/IntelligentFieldDeleteRequest.d.ts +12 -0
  53. package/api/resources/intelligentFields/client/requests/IntelligentFieldDeleteRequest.js +3 -0
  54. package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.d.ts +8 -0
  55. package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.js +3 -0
  56. package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +26 -0
  57. package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +3 -0
  58. package/api/resources/intelligentFields/client/requests/index.d.ts +3 -0
  59. package/api/resources/intelligentFields/client/requests/index.js +2 -0
  60. package/api/resources/intelligentFields/exports.d.ts +2 -0
  61. package/api/resources/intelligentFields/exports.js +21 -0
  62. package/api/resources/intelligentFields/index.d.ts +2 -0
  63. package/api/resources/intelligentFields/index.js +18 -0
  64. package/api/resources/intelligentFields/types/EnumOption.d.ts +9 -0
  65. package/api/resources/intelligentFields/types/EnumOption.js +3 -0
  66. package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +7 -0
  67. package/api/resources/intelligentFields/types/IntelligentFieldBase.js +3 -0
  68. package/api/resources/intelligentFields/types/IntelligentFieldCore.d.ts +28 -0
  69. package/api/resources/intelligentFields/types/IntelligentFieldCore.js +3 -0
  70. package/api/resources/intelligentFields/types/IntelligentFieldDetailResponse.d.ts +36 -0
  71. package/api/resources/intelligentFields/types/IntelligentFieldDetailResponse.js +3 -0
  72. package/api/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +28 -0
  73. package/api/resources/intelligentFields/types/IntelligentFieldRequest.js +3 -0
  74. package/api/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +41 -0
  75. package/api/resources/intelligentFields/types/IntelligentFieldResponse.js +3 -0
  76. package/api/resources/intelligentFields/types/IntelligentFieldStatus.d.ts +7 -0
  77. package/api/resources/intelligentFields/types/IntelligentFieldStatus.js +10 -0
  78. package/api/resources/intelligentFields/types/IntelligentFieldType.d.ts +9 -0
  79. package/api/resources/intelligentFields/types/IntelligentFieldType.js +12 -0
  80. package/api/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.d.ts +8 -0
  81. package/api/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.js +3 -0
  82. package/api/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.d.ts +10 -0
  83. package/api/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.js +3 -0
  84. package/api/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.d.ts +17 -0
  85. package/api/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.js +3 -0
  86. package/api/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.d.ts +35 -0
  87. package/api/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.js +3 -0
  88. package/api/resources/intelligentFields/types/IntelligentFieldValueSortField.d.ts +5 -0
  89. package/api/resources/intelligentFields/types/IntelligentFieldValueSortField.js +8 -0
  90. package/api/resources/intelligentFields/types/index.d.ts +13 -0
  91. package/api/resources/intelligentFields/types/index.js +29 -0
  92. package/api/resources/knowledge/client/Client.d.ts +33 -0
  93. package/api/resources/knowledge/client/Client.js +117 -0
  94. package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +5 -0
  95. package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +25 -0
  96. package/api/resources/knowledge/types/KnowledgeBaseVersionProgress.d.ts +29 -0
  97. package/api/resources/knowledge/types/KnowledgeBaseVersionProgress.js +3 -0
  98. package/api/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.d.ts +24 -0
  99. package/api/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.js +3 -0
  100. package/api/resources/knowledge/types/index.d.ts +2 -0
  101. package/api/resources/knowledge/types/index.js +2 -0
  102. package/api/resources/segments/client/Client.js +3 -1
  103. package/api/resources/segments/client/requests/SegmentDeleteRequest.d.ts +12 -0
  104. package/api/resources/segments/types/SegmentPatchRequest.d.ts +8 -0
  105. package/api/resources/segments/types/SegmentRequest.d.ts +8 -0
  106. package/api/resources/segments/types/SegmentSummary.d.ts +14 -0
  107. package/api/resources/segments/types/SegmentSummary.js +3 -0
  108. package/api/resources/segments/types/index.d.ts +1 -0
  109. package/api/resources/segments/types/index.js +1 -0
  110. package/package.json +1 -1
  111. package/reference.md +476 -0
  112. package/serialization/resources/analytics/types/ConversationBasicMetric.d.ts +2 -0
  113. package/serialization/resources/analytics/types/ConversationBasicMetric.js +2 -0
  114. package/serialization/resources/analytics/types/ConversationGroupBy.d.ts +2 -0
  115. package/serialization/resources/analytics/types/ConversationGroupBy.js +2 -0
  116. package/serialization/resources/analytics/types/ConversationNumericMetric.d.ts +2 -0
  117. package/serialization/resources/analytics/types/ConversationNumericMetric.js +2 -0
  118. package/serialization/resources/charters/index.d.ts +1 -0
  119. package/serialization/resources/charters/index.js +17 -0
  120. package/serialization/resources/charters/types/CharterChildrenExclusionPolicy.d.ts +7 -0
  121. package/serialization/resources/charters/types/CharterChildrenExclusionPolicy.js +39 -0
  122. package/serialization/resources/charters/types/CharterStatus.d.ts +7 -0
  123. package/serialization/resources/charters/types/CharterStatus.js +39 -0
  124. package/serialization/resources/charters/types/CharterSummary.d.ts +22 -0
  125. package/serialization/resources/charters/types/CharterSummary.js +54 -0
  126. package/serialization/resources/charters/types/CharterType.d.ts +7 -0
  127. package/serialization/resources/charters/types/CharterType.js +39 -0
  128. package/serialization/resources/charters/types/index.d.ts +4 -0
  129. package/serialization/resources/charters/types/index.js +20 -0
  130. package/serialization/resources/commons/types/BotObjectResponse.d.ts +0 -1
  131. package/serialization/resources/commons/types/BotObjectResponse.js +0 -1
  132. package/serialization/resources/commons/types/{IntelligentFieldCondition.d.ts → FieldCondition.d.ts} +3 -3
  133. package/serialization/resources/commons/types/{IntelligentFieldCondition.js → FieldCondition.js} +2 -2
  134. package/serialization/resources/commons/types/IntelligentFieldPrecondition.d.ts +2 -2
  135. package/serialization/resources/commons/types/IntelligentFieldPrecondition.js +2 -2
  136. package/serialization/resources/commons/types/IntelligentFieldPreconditionResponse.d.ts +2 -2
  137. package/serialization/resources/commons/types/IntelligentFieldPreconditionResponse.js +2 -2
  138. package/serialization/resources/commons/types/KeyValueEntryCondition.d.ts +2 -2
  139. package/serialization/resources/commons/types/KeyValueEntryCondition.js +2 -2
  140. package/serialization/resources/commons/types/TextFormat.d.ts +15 -0
  141. package/serialization/resources/commons/types/TextFormat.js +49 -0
  142. package/serialization/resources/commons/types/TextFormatJsonSchema.d.ts +10 -0
  143. package/serialization/resources/commons/types/TextFormatJsonSchema.js +42 -0
  144. package/serialization/resources/commons/types/TextFormatText.d.ts +7 -0
  145. package/serialization/resources/commons/types/TextFormatText.js +39 -0
  146. package/serialization/resources/commons/types/index.d.ts +4 -1
  147. package/serialization/resources/commons/types/index.js +4 -1
  148. package/serialization/resources/conversation/types/AskRequest.d.ts +2 -0
  149. package/serialization/resources/conversation/types/AskRequest.js +2 -0
  150. package/serialization/resources/conversation/types/AskStreamObjectEvent.d.ts +9 -0
  151. package/serialization/resources/conversation/types/AskStreamObjectEvent.js +40 -0
  152. package/serialization/resources/conversation/types/ConversationField.d.ts +1 -1
  153. package/serialization/resources/conversation/types/ConversationField.js +2 -0
  154. package/serialization/resources/conversation/types/NumericConversationField.d.ts +1 -1
  155. package/serialization/resources/conversation/types/NumericConversationField.js +1 -0
  156. package/serialization/resources/conversation/types/StreamResponse.d.ts +5 -1
  157. package/serialization/resources/conversation/types/StreamResponse.js +2 -0
  158. package/serialization/resources/conversation/types/index.d.ts +1 -0
  159. package/serialization/resources/conversation/types/index.js +1 -0
  160. package/serialization/resources/index.d.ts +5 -0
  161. package/serialization/resources/index.js +6 -1
  162. package/serialization/resources/intelligentFields/client/index.d.ts +1 -0
  163. package/serialization/resources/intelligentFields/client/index.js +17 -0
  164. package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +17 -0
  165. package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +49 -0
  166. package/serialization/resources/intelligentFields/client/requests/index.d.ts +1 -0
  167. package/serialization/resources/intelligentFields/client/requests/index.js +5 -0
  168. package/serialization/resources/intelligentFields/index.d.ts +2 -0
  169. package/serialization/resources/intelligentFields/index.js +18 -0
  170. package/serialization/resources/intelligentFields/types/EnumOption.d.ts +10 -0
  171. package/serialization/resources/intelligentFields/types/EnumOption.js +42 -0
  172. package/serialization/resources/intelligentFields/types/IntelligentFieldBase.d.ts +13 -0
  173. package/serialization/resources/intelligentFields/types/IntelligentFieldBase.js +47 -0
  174. package/serialization/resources/intelligentFields/types/IntelligentFieldCore.d.ts +15 -0
  175. package/serialization/resources/intelligentFields/types/IntelligentFieldCore.js +47 -0
  176. package/serialization/resources/intelligentFields/types/IntelligentFieldDetailResponse.d.ts +11 -0
  177. package/serialization/resources/intelligentFields/types/IntelligentFieldDetailResponse.js +45 -0
  178. package/serialization/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +11 -0
  179. package/serialization/resources/intelligentFields/types/IntelligentFieldRequest.js +45 -0
  180. package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +15 -0
  181. package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.js +49 -0
  182. package/serialization/resources/intelligentFields/types/IntelligentFieldStatus.d.ts +7 -0
  183. package/serialization/resources/intelligentFields/types/IntelligentFieldStatus.js +39 -0
  184. package/serialization/resources/intelligentFields/types/IntelligentFieldType.d.ts +7 -0
  185. package/serialization/resources/intelligentFields/types/IntelligentFieldType.js +39 -0
  186. package/serialization/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.d.ts +10 -0
  187. package/serialization/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.js +42 -0
  188. package/serialization/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.d.ts +12 -0
  189. package/serialization/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.js +44 -0
  190. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.d.ts +20 -0
  191. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.js +54 -0
  192. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.d.ts +11 -0
  193. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.js +45 -0
  194. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSortField.d.ts +7 -0
  195. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSortField.js +39 -0
  196. package/serialization/resources/intelligentFields/types/index.d.ts +13 -0
  197. package/serialization/resources/intelligentFields/types/index.js +29 -0
  198. package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +2 -0
  199. package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +2 -0
  200. package/serialization/resources/knowledge/types/KnowledgeBaseVersion.d.ts +2 -0
  201. package/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +2 -0
  202. package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgress.d.ts +11 -0
  203. package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgress.js +43 -0
  204. package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.d.ts +13 -0
  205. package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.js +45 -0
  206. package/serialization/resources/knowledge/types/index.d.ts +2 -0
  207. package/serialization/resources/knowledge/types/index.js +2 -0
  208. package/serialization/resources/segments/types/SegmentPatchRequest.d.ts +2 -0
  209. package/serialization/resources/segments/types/SegmentPatchRequest.js +2 -0
  210. package/serialization/resources/segments/types/SegmentRequest.d.ts +2 -0
  211. package/serialization/resources/segments/types/SegmentRequest.js +2 -0
  212. package/serialization/resources/segments/types/SegmentSummary.d.ts +14 -0
  213. package/serialization/resources/segments/types/SegmentSummary.js +47 -0
  214. package/serialization/resources/segments/types/index.d.ts +1 -0
  215. package/serialization/resources/segments/types/index.js +1 -0
  216. package/version.d.ts +1 -1
  217. package/version.js +1 -1
  218. package/api/resources/commons/types/IntelligentFieldCondition.d.ts +0 -37
  219. /package/api/resources/{commons/types/IntelligentFieldCondition.js → charters/types/CharterSummary.js} +0 -0
@@ -0,0 +1,22 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { EntityId } from "../../commons/types/EntityId";
5
+ import { SegmentSummary } from "../../segments/types/SegmentSummary";
6
+ import { CharterChildrenExclusionPolicy } from "./CharterChildrenExclusionPolicy";
7
+ import { CharterStatus } from "./CharterStatus";
8
+ import { CharterType } from "./CharterType";
9
+ export declare const CharterSummary: core.serialization.ObjectSchema<serializers.CharterSummary.Raw, MavenAGI.CharterSummary>;
10
+ export declare namespace CharterSummary {
11
+ interface Raw {
12
+ charterId: EntityId.Raw;
13
+ name: string;
14
+ segmentSummary?: SegmentSummary.Raw | null;
15
+ parentCharterId?: EntityId.Raw | null;
16
+ status: CharterStatus.Raw;
17
+ type?: CharterType.Raw | null;
18
+ childrenExclusionPolicy?: CharterChildrenExclusionPolicy.Raw | null;
19
+ createdAt: string;
20
+ updatedAt: string;
21
+ }
22
+ }
@@ -0,0 +1,54 @@
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.CharterSummary = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const EntityId_1 = require("../../commons/types/EntityId");
40
+ const SegmentSummary_1 = require("../../segments/types/SegmentSummary");
41
+ const CharterChildrenExclusionPolicy_1 = require("./CharterChildrenExclusionPolicy");
42
+ const CharterStatus_1 = require("./CharterStatus");
43
+ const CharterType_1 = require("./CharterType");
44
+ exports.CharterSummary = core.serialization.object({
45
+ charterId: EntityId_1.EntityId,
46
+ name: core.serialization.string(),
47
+ segmentSummary: SegmentSummary_1.SegmentSummary.nullable(),
48
+ parentCharterId: EntityId_1.EntityId.nullable(),
49
+ status: CharterStatus_1.CharterStatus,
50
+ type: CharterType_1.CharterType.optional(),
51
+ childrenExclusionPolicy: CharterChildrenExclusionPolicy_1.CharterChildrenExclusionPolicy.optional(),
52
+ createdAt: core.serialization.date(),
53
+ updatedAt: core.serialization.date(),
54
+ });
@@ -0,0 +1,7 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ export declare const CharterType: core.serialization.Schema<serializers.CharterType.Raw, MavenAGI.CharterType>;
5
+ export declare namespace CharterType {
6
+ type Raw = "STANDARD" | "STRICT_RETURN";
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CharterType = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.CharterType = core.serialization.forwardCompatibleEnum_(["STANDARD", "STRICT_RETURN"]);
@@ -0,0 +1,4 @@
1
+ export * from "./CharterChildrenExclusionPolicy";
2
+ export * from "./CharterStatus";
3
+ export * from "./CharterSummary";
4
+ export * from "./CharterType";
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./CharterChildrenExclusionPolicy"), exports);
18
+ __exportStar(require("./CharterStatus"), exports);
19
+ __exportStar(require("./CharterSummary"), exports);
20
+ __exportStar(require("./CharterType"), exports);
@@ -4,7 +4,6 @@ import type * as serializers from "../../../index";
4
4
  export declare const BotObjectResponse: core.serialization.ObjectSchema<serializers.BotObjectResponse.Raw, MavenAGI.BotObjectResponse>;
5
5
  export declare namespace BotObjectResponse {
6
6
  interface Raw {
7
- label?: string | null;
8
7
  object?: unknown;
9
8
  }
10
9
  }
@@ -37,6 +37,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.BotObjectResponse = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  exports.BotObjectResponse = core.serialization.object({
40
- label: core.serialization.string().optional(),
41
40
  object: core.serialization.unknown(),
42
41
  });
@@ -6,9 +6,9 @@ import { NumericCondition } from "./NumericCondition";
6
6
  import { SetCondition } from "./SetCondition";
7
7
  import { StringCondition } from "./StringCondition";
8
8
  import { UniversalCondition } from "./UniversalCondition";
9
- export declare const IntelligentFieldCondition: core.serialization.Schema<serializers.IntelligentFieldCondition.Raw, MavenAGI.IntelligentFieldCondition>;
10
- export declare namespace IntelligentFieldCondition {
11
- type Raw = IntelligentFieldCondition.String | IntelligentFieldCondition.Numeric | IntelligentFieldCondition.Boolean | IntelligentFieldCondition.Set | IntelligentFieldCondition.Universal;
9
+ export declare const FieldCondition: core.serialization.Schema<serializers.FieldCondition.Raw, MavenAGI.FieldCondition>;
10
+ export declare namespace FieldCondition {
11
+ type Raw = FieldCondition.String | FieldCondition.Numeric | FieldCondition.Boolean | FieldCondition.Set | FieldCondition.Universal;
12
12
  interface String {
13
13
  fieldValidationType: "string";
14
14
  value: StringCondition.Raw;
@@ -34,14 +34,14 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.IntelligentFieldCondition = void 0;
37
+ exports.FieldCondition = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const BooleanCondition_1 = require("./BooleanCondition");
40
40
  const NumericCondition_1 = require("./NumericCondition");
41
41
  const SetCondition_1 = require("./SetCondition");
42
42
  const StringCondition_1 = require("./StringCondition");
43
43
  const UniversalCondition_1 = require("./UniversalCondition");
44
- exports.IntelligentFieldCondition = core.serialization
44
+ exports.FieldCondition = core.serialization
45
45
  .union("fieldValidationType", {
46
46
  string: core.serialization.object({
47
47
  value: StringCondition_1.StringCondition,
@@ -2,11 +2,11 @@ import type * as MavenAGI from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
4
  import { EntityIdWithoutAgent } from "./EntityIdWithoutAgent";
5
- import { IntelligentFieldCondition } from "./IntelligentFieldCondition";
5
+ import { FieldCondition } from "./FieldCondition";
6
6
  export declare const IntelligentFieldPrecondition: core.serialization.ObjectSchema<serializers.IntelligentFieldPrecondition.Raw, MavenAGI.IntelligentFieldPrecondition>;
7
7
  export declare namespace IntelligentFieldPrecondition {
8
8
  interface Raw {
9
9
  fieldIdWithoutAgent: EntityIdWithoutAgent.Raw;
10
- fieldCondition: IntelligentFieldCondition.Raw;
10
+ fieldCondition: FieldCondition.Raw;
11
11
  }
12
12
  }
@@ -37,8 +37,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.IntelligentFieldPrecondition = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const EntityIdWithoutAgent_1 = require("./EntityIdWithoutAgent");
40
- const IntelligentFieldCondition_1 = require("./IntelligentFieldCondition");
40
+ const FieldCondition_1 = require("./FieldCondition");
41
41
  exports.IntelligentFieldPrecondition = core.serialization.object({
42
42
  fieldIdWithoutAgent: EntityIdWithoutAgent_1.EntityIdWithoutAgent,
43
- fieldCondition: IntelligentFieldCondition_1.IntelligentFieldCondition,
43
+ fieldCondition: FieldCondition_1.FieldCondition,
44
44
  });
@@ -2,12 +2,12 @@ import type * as MavenAGI from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
4
  import { EntityIdWithoutAgent } from "./EntityIdWithoutAgent";
5
- import { IntelligentFieldCondition } from "./IntelligentFieldCondition";
5
+ import { FieldCondition } from "./FieldCondition";
6
6
  export declare const IntelligentFieldPreconditionResponse: core.serialization.ObjectSchema<serializers.IntelligentFieldPreconditionResponse.Raw, MavenAGI.IntelligentFieldPreconditionResponse>;
7
7
  export declare namespace IntelligentFieldPreconditionResponse {
8
8
  interface Raw {
9
9
  fieldIdWithoutAgent: EntityIdWithoutAgent.Raw;
10
10
  name?: string | null;
11
- fieldCondition: IntelligentFieldCondition.Raw;
11
+ fieldCondition: FieldCondition.Raw;
12
12
  }
13
13
  }
@@ -37,9 +37,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.IntelligentFieldPreconditionResponse = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const EntityIdWithoutAgent_1 = require("./EntityIdWithoutAgent");
40
- const IntelligentFieldCondition_1 = require("./IntelligentFieldCondition");
40
+ const FieldCondition_1 = require("./FieldCondition");
41
41
  exports.IntelligentFieldPreconditionResponse = core.serialization.object({
42
42
  fieldIdWithoutAgent: EntityIdWithoutAgent_1.EntityIdWithoutAgent,
43
43
  name: core.serialization.string().optional(),
44
- fieldCondition: IntelligentFieldCondition_1.IntelligentFieldCondition,
44
+ fieldCondition: FieldCondition_1.FieldCondition,
45
45
  });
@@ -1,11 +1,11 @@
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 { IntelligentFieldCondition } from "./IntelligentFieldCondition";
4
+ import { FieldCondition } from "./FieldCondition";
5
5
  export declare const KeyValueEntryCondition: core.serialization.ObjectSchema<serializers.KeyValueEntryCondition.Raw, MavenAGI.KeyValueEntryCondition>;
6
6
  export declare namespace KeyValueEntryCondition {
7
7
  interface Raw {
8
8
  path: string;
9
- condition: IntelligentFieldCondition.Raw;
9
+ condition: FieldCondition.Raw;
10
10
  }
11
11
  }
@@ -36,8 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.KeyValueEntryCondition = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- const IntelligentFieldCondition_1 = require("./IntelligentFieldCondition");
39
+ const FieldCondition_1 = require("./FieldCondition");
40
40
  exports.KeyValueEntryCondition = core.serialization.object({
41
41
  path: core.serialization.string(),
42
- condition: IntelligentFieldCondition_1.IntelligentFieldCondition,
42
+ condition: FieldCondition_1.FieldCondition,
43
43
  });
@@ -0,0 +1,15 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { TextFormatJsonSchema } from "./TextFormatJsonSchema";
5
+ import { TextFormatText } from "./TextFormatText";
6
+ export declare const TextFormat: core.serialization.Schema<serializers.TextFormat.Raw, MavenAGI.TextFormat>;
7
+ export declare namespace TextFormat {
8
+ type Raw = TextFormat.Text | TextFormat.JsonSchema;
9
+ interface Text extends TextFormatText.Raw {
10
+ type: "text";
11
+ }
12
+ interface JsonSchema extends TextFormatJsonSchema.Raw {
13
+ type: "jsonSchema";
14
+ }
15
+ }
@@ -0,0 +1,49 @@
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.TextFormat = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const TextFormatJsonSchema_1 = require("./TextFormatJsonSchema");
40
+ const TextFormatText_1 = require("./TextFormatText");
41
+ exports.TextFormat = core.serialization
42
+ .union("type", {
43
+ text: TextFormatText_1.TextFormatText,
44
+ jsonSchema: TextFormatJsonSchema_1.TextFormatJsonSchema,
45
+ })
46
+ .transform({
47
+ transform: (value) => value,
48
+ untransform: (value) => value,
49
+ });
@@ -0,0 +1,10 @@
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 TextFormatJsonSchema: core.serialization.ObjectSchema<serializers.TextFormatJsonSchema.Raw, MavenAGI.TextFormatJsonSchema>;
5
+ export declare namespace TextFormatJsonSchema {
6
+ interface Raw {
7
+ schema?: unknown;
8
+ description?: string | null;
9
+ }
10
+ }
@@ -0,0 +1,42 @@
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.TextFormatJsonSchema = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.TextFormatJsonSchema = core.serialization.object({
40
+ schema: core.serialization.unknown(),
41
+ description: core.serialization.string().optional(),
42
+ });
@@ -0,0 +1,7 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ export declare const TextFormatText: core.serialization.ObjectSchema<serializers.TextFormatText.Raw, MavenAGI.TextFormatText>;
5
+ export declare namespace TextFormatText {
6
+ type Raw = {};
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.TextFormatText = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.TextFormatText = core.serialization.object({});
@@ -102,6 +102,7 @@ export * from "./Feedback";
102
102
  export * from "./FeedbackBase";
103
103
  export * from "./FeedbackInfo";
104
104
  export * from "./FeedbackType";
105
+ export * from "./FieldCondition";
105
106
  export * from "./GeoInfo";
106
107
  export * from "./HarmfulContentAnalysis";
107
108
  export * from "./ImageSettingsSchemaEntry";
@@ -118,7 +119,6 @@ export * from "./InboxItemSeverity";
118
119
  export * from "./InboxItemStatus";
119
120
  export * from "./InboxItemType";
120
121
  export * from "./InitializeConversationResponse";
121
- export * from "./IntelligentFieldCondition";
122
122
  export * from "./IntelligentFieldPrecondition";
123
123
  export * from "./IntelligentFieldPreconditionResponse";
124
124
  export * from "./IntelligentFieldValueResponse";
@@ -199,6 +199,9 @@ export * from "./SwitchSettingsSchemaEntry";
199
199
  export * from "./SystemEvent";
200
200
  export * from "./SystemEventName";
201
201
  export * from "./TagsPrecondition";
202
+ export * from "./TextFormat";
203
+ export * from "./TextFormatJsonSchema";
204
+ export * from "./TextFormatText";
202
205
  export * from "./TextSettingsSchemaEntry";
203
206
  export * from "./UniversalCondition";
204
207
  export * from "./UserConversationMessageType";
@@ -118,6 +118,7 @@ __exportStar(require("./Feedback"), exports);
118
118
  __exportStar(require("./FeedbackBase"), exports);
119
119
  __exportStar(require("./FeedbackInfo"), exports);
120
120
  __exportStar(require("./FeedbackType"), exports);
121
+ __exportStar(require("./FieldCondition"), exports);
121
122
  __exportStar(require("./GeoInfo"), exports);
122
123
  __exportStar(require("./HarmfulContentAnalysis"), exports);
123
124
  __exportStar(require("./ImageSettingsSchemaEntry"), exports);
@@ -134,7 +135,6 @@ __exportStar(require("./InboxItemSeverity"), exports);
134
135
  __exportStar(require("./InboxItemStatus"), exports);
135
136
  __exportStar(require("./InboxItemType"), exports);
136
137
  __exportStar(require("./InitializeConversationResponse"), exports);
137
- __exportStar(require("./IntelligentFieldCondition"), exports);
138
138
  __exportStar(require("./IntelligentFieldPrecondition"), exports);
139
139
  __exportStar(require("./IntelligentFieldPreconditionResponse"), exports);
140
140
  __exportStar(require("./IntelligentFieldValueResponse"), exports);
@@ -215,6 +215,9 @@ __exportStar(require("./SwitchSettingsSchemaEntry"), exports);
215
215
  __exportStar(require("./SystemEvent"), exports);
216
216
  __exportStar(require("./SystemEventName"), exports);
217
217
  __exportStar(require("./TagsPrecondition"), exports);
218
+ __exportStar(require("./TextFormat"), exports);
219
+ __exportStar(require("./TextFormatJsonSchema"), exports);
220
+ __exportStar(require("./TextFormatText"), exports);
218
221
  __exportStar(require("./TextSettingsSchemaEntry"), exports);
219
222
  __exportStar(require("./UniversalCondition"), exports);
220
223
  __exportStar(require("./UserConversationMessageType"), exports);
@@ -4,6 +4,7 @@ import type * as serializers from "../../../index";
4
4
  import { AskType } from "../../commons/types/AskType";
5
5
  import { AttachmentRequest } from "../../commons/types/AttachmentRequest";
6
6
  import { EntityIdBase } from "../../commons/types/EntityIdBase";
7
+ import { TextFormat } from "../../commons/types/TextFormat";
7
8
  export declare const AskRequest: core.serialization.ObjectSchema<serializers.AskRequest.Raw, MavenAGI.AskRequest>;
8
9
  export declare namespace AskRequest {
9
10
  interface Raw {
@@ -11,6 +12,7 @@ export declare namespace AskRequest {
11
12
  userId: EntityIdBase.Raw;
12
13
  type?: AskType.Raw | null;
13
14
  text?: string | null;
15
+ textFormat?: TextFormat.Raw | null;
14
16
  attachments?: AttachmentRequest.Raw[] | null;
15
17
  transientData?: Record<string, string> | null;
16
18
  timezone?: string | null;
@@ -39,11 +39,13 @@ const core = __importStar(require("../../../../core"));
39
39
  const AskType_1 = require("../../commons/types/AskType");
40
40
  const AttachmentRequest_1 = require("../../commons/types/AttachmentRequest");
41
41
  const EntityIdBase_1 = require("../../commons/types/EntityIdBase");
42
+ const TextFormat_1 = require("../../commons/types/TextFormat");
42
43
  exports.AskRequest = core.serialization.object({
43
44
  conversationMessageId: EntityIdBase_1.EntityIdBase,
44
45
  userId: EntityIdBase_1.EntityIdBase,
45
46
  type: AskType_1.AskType.optional(),
46
47
  text: core.serialization.string().optional(),
48
+ textFormat: TextFormat_1.TextFormat.optional(),
47
49
  attachments: core.serialization.list(AttachmentRequest_1.AttachmentRequest).optional(),
48
50
  transientData: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
49
51
  timezone: core.serialization.string().optional(),
@@ -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
+ import { BotObjectResponse } from "../../commons/types/BotObjectResponse";
5
+ export declare const AskStreamObjectEvent: core.serialization.ObjectSchema<serializers.AskStreamObjectEvent.Raw, MavenAGI.AskStreamObjectEvent>;
6
+ export declare namespace AskStreamObjectEvent {
7
+ interface Raw extends BotObjectResponse.Raw {
8
+ }
9
+ }
@@ -0,0 +1,40 @@
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.AskStreamObjectEvent = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const BotObjectResponse_1 = require("../../commons/types/BotObjectResponse");
40
+ exports.AskStreamObjectEvent = core.serialization.object({}).extend(BotObjectResponse_1.BotObjectResponse);
@@ -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" | "ErroredActions" | "ActionExecutionCount" | "ActionErrorCount" | "Charters" | "Sources" | "CreatedAt" | "PredictedNPS" | "Csat" | "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" | "ErroredActions" | "ActionExecutionCount" | "ActionErrorCount" | "Charters" | "Sources" | "CreatedAt" | "PredictedNPS" | "Csat" | "OrganizationId" | "AgentId" | "AgentEnvironment" | "InboxItems" | "InvolvedApps" | "IntelligentField";
7
7
  }
@@ -69,6 +69,8 @@ exports.ConversationField = core.serialization.forwardCompatibleEnum_([
69
69
  "Csat",
70
70
  "OrganizationId",
71
71
  "AgentId",
72
+ "AgentEnvironment",
72
73
  "InboxItems",
73
74
  "InvolvedApps",
75
+ "IntelligentField",
74
76
  ]);
@@ -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" | "Csat" | "ActionExecutionCount" | "ActionErrorCount";
6
+ type Raw = "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "UserMessageCount" | "BotMessageCount" | "HandleTime" | "FirstResponseTime" | "PredictedNPS" | "Csat" | "ActionExecutionCount" | "ActionErrorCount" | "IntelligentField";
7
7
  }
@@ -48,4 +48,5 @@ exports.NumericConversationField = core.serialization.forwardCompatibleEnum_([
48
48
  "Csat",
49
49
  "ActionExecutionCount",
50
50
  "ActionErrorCount",
51
+ "IntelligentField",
51
52
  ]);