mavenagi 1.2.55 → 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 (256) 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/BaseConversationResponse.d.ts +5 -0
  21. package/api/resources/commons/types/BotObjectResponse.d.ts +2 -4
  22. package/api/resources/commons/types/ConversationExecutedActionPrecondition.d.ts +13 -0
  23. package/api/resources/commons/types/ConversationMode.d.ts +10 -0
  24. package/api/resources/commons/types/ConversationMode.js +13 -0
  25. package/api/resources/commons/types/ConversationModePrecondition.d.ts +10 -0
  26. package/api/resources/commons/types/ConversationModePrecondition.js +3 -0
  27. package/api/resources/commons/types/ConversationPrecondition.d.ts +4 -1
  28. package/api/resources/commons/types/ConversationPreconditionResponse.d.ts +4 -1
  29. package/api/resources/commons/types/ConversationResponse.d.ts +1 -0
  30. package/api/resources/commons/types/FieldCondition.d.ts +45 -0
  31. package/api/resources/commons/types/FieldCondition.js +3 -0
  32. package/api/resources/commons/types/IntelligentFieldPrecondition.d.ts +1 -1
  33. package/api/resources/commons/types/IntelligentFieldPreconditionResponse.d.ts +1 -1
  34. package/api/resources/commons/types/KeyValueEntryCondition.d.ts +13 -0
  35. package/api/resources/commons/types/KeyValueEntryCondition.js +3 -0
  36. package/api/resources/commons/types/ObjectCondition.d.ts +10 -0
  37. package/api/resources/commons/types/ObjectCondition.js +3 -0
  38. package/api/resources/commons/types/TextFormat.d.ts +13 -0
  39. package/api/resources/commons/types/TextFormat.js +3 -0
  40. package/api/resources/commons/types/TextFormatJsonSchema.d.ts +35 -0
  41. package/api/resources/commons/types/TextFormatJsonSchema.js +3 -0
  42. package/api/resources/commons/types/TextFormatText.d.ts +4 -0
  43. package/api/resources/commons/types/TextFormatText.js +3 -0
  44. package/api/resources/commons/types/UniversalCondition.d.ts +3 -3
  45. package/api/resources/commons/types/index.d.ts +8 -1
  46. package/api/resources/commons/types/index.js +8 -1
  47. package/api/resources/conversation/types/AskRequest.d.ts +59 -0
  48. package/api/resources/conversation/types/AskStreamObjectEvent.d.ts +7 -0
  49. package/api/resources/conversation/types/AskStreamObjectEvent.js +3 -0
  50. package/api/resources/conversation/types/ConversationField.d.ts +8 -0
  51. package/api/resources/conversation/types/ConversationField.js +8 -0
  52. package/api/resources/conversation/types/ConversationsSearchRequest.d.ts +5 -0
  53. package/api/resources/conversation/types/NumericConversationField.d.ts +4 -0
  54. package/api/resources/conversation/types/NumericConversationField.js +4 -0
  55. package/api/resources/conversation/types/StreamResponse.d.ts +4 -1
  56. package/api/resources/conversation/types/index.d.ts +1 -0
  57. package/api/resources/conversation/types/index.js +1 -0
  58. package/api/resources/index.d.ts +5 -0
  59. package/api/resources/index.js +6 -1
  60. package/api/resources/intelligentFields/client/Client.d.ts +156 -0
  61. package/api/resources/intelligentFields/client/Client.js +627 -0
  62. package/api/resources/intelligentFields/client/index.d.ts +1 -0
  63. package/api/resources/intelligentFields/client/index.js +17 -0
  64. package/api/resources/intelligentFields/client/requests/IntelligentFieldDeleteRequest.d.ts +12 -0
  65. package/api/resources/intelligentFields/client/requests/IntelligentFieldDeleteRequest.js +3 -0
  66. package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.d.ts +8 -0
  67. package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.js +3 -0
  68. package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +26 -0
  69. package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +3 -0
  70. package/api/resources/intelligentFields/client/requests/index.d.ts +3 -0
  71. package/api/resources/intelligentFields/client/requests/index.js +2 -0
  72. package/api/resources/intelligentFields/exports.d.ts +2 -0
  73. package/api/resources/intelligentFields/exports.js +21 -0
  74. package/api/resources/intelligentFields/index.d.ts +2 -0
  75. package/api/resources/intelligentFields/index.js +18 -0
  76. package/api/resources/intelligentFields/types/EnumOption.d.ts +9 -0
  77. package/api/resources/intelligentFields/types/EnumOption.js +3 -0
  78. package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +7 -0
  79. package/api/resources/intelligentFields/types/IntelligentFieldBase.js +3 -0
  80. package/api/resources/intelligentFields/types/IntelligentFieldCore.d.ts +28 -0
  81. package/api/resources/intelligentFields/types/IntelligentFieldCore.js +3 -0
  82. package/api/resources/intelligentFields/types/IntelligentFieldDetailResponse.d.ts +36 -0
  83. package/api/resources/intelligentFields/types/IntelligentFieldDetailResponse.js +3 -0
  84. package/api/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +28 -0
  85. package/api/resources/intelligentFields/types/IntelligentFieldRequest.js +3 -0
  86. package/api/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +41 -0
  87. package/api/resources/intelligentFields/types/IntelligentFieldResponse.js +3 -0
  88. package/api/resources/intelligentFields/types/IntelligentFieldStatus.d.ts +7 -0
  89. package/api/resources/intelligentFields/types/IntelligentFieldStatus.js +10 -0
  90. package/api/resources/intelligentFields/types/IntelligentFieldType.d.ts +9 -0
  91. package/api/resources/intelligentFields/types/IntelligentFieldType.js +12 -0
  92. package/api/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.d.ts +8 -0
  93. package/api/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.js +3 -0
  94. package/api/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.d.ts +10 -0
  95. package/api/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.js +3 -0
  96. package/api/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.d.ts +17 -0
  97. package/api/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.js +3 -0
  98. package/api/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.d.ts +35 -0
  99. package/api/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.js +3 -0
  100. package/api/resources/intelligentFields/types/IntelligentFieldValueSortField.d.ts +5 -0
  101. package/api/resources/intelligentFields/types/IntelligentFieldValueSortField.js +8 -0
  102. package/api/resources/intelligentFields/types/index.d.ts +13 -0
  103. package/api/resources/intelligentFields/types/index.js +29 -0
  104. package/api/resources/knowledge/client/Client.d.ts +39 -3
  105. package/api/resources/knowledge/client/Client.js +123 -3
  106. package/api/resources/knowledge/types/CancelKnowledgeBaseVersionRequest.d.ts +2 -0
  107. package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +5 -0
  108. package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +25 -0
  109. package/api/resources/knowledge/types/KnowledgeBaseVersionFinalizeStatus.d.ts +5 -1
  110. package/api/resources/knowledge/types/KnowledgeBaseVersionFinalizeStatus.js +5 -1
  111. package/api/resources/knowledge/types/KnowledgeBaseVersionProgress.d.ts +29 -0
  112. package/api/resources/knowledge/types/KnowledgeBaseVersionProgress.js +3 -0
  113. package/api/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.d.ts +24 -0
  114. package/api/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.js +3 -0
  115. package/api/resources/knowledge/types/KnowledgeBaseVersionStatus.d.ts +3 -0
  116. package/api/resources/knowledge/types/KnowledgeBaseVersionStatus.js +3 -0
  117. package/api/resources/knowledge/types/index.d.ts +2 -0
  118. package/api/resources/knowledge/types/index.js +2 -0
  119. package/api/resources/segments/client/Client.js +3 -1
  120. package/api/resources/segments/client/requests/SegmentDeleteRequest.d.ts +12 -0
  121. package/api/resources/segments/types/SegmentPatchRequest.d.ts +8 -0
  122. package/api/resources/segments/types/SegmentRequest.d.ts +8 -0
  123. package/api/resources/segments/types/SegmentSummary.d.ts +14 -0
  124. package/api/resources/segments/types/SegmentSummary.js +3 -0
  125. package/api/resources/segments/types/index.d.ts +1 -0
  126. package/api/resources/segments/types/index.js +1 -0
  127. package/package.json +1 -1
  128. package/reference.md +482 -3
  129. package/serialization/resources/analytics/types/ConversationBasicMetric.d.ts +2 -0
  130. package/serialization/resources/analytics/types/ConversationBasicMetric.js +2 -0
  131. package/serialization/resources/analytics/types/ConversationGroupBy.d.ts +2 -0
  132. package/serialization/resources/analytics/types/ConversationGroupBy.js +2 -0
  133. package/serialization/resources/analytics/types/ConversationNumericMetric.d.ts +2 -0
  134. package/serialization/resources/analytics/types/ConversationNumericMetric.js +2 -0
  135. package/serialization/resources/charters/index.d.ts +1 -0
  136. package/serialization/resources/charters/index.js +17 -0
  137. package/serialization/resources/charters/types/CharterChildrenExclusionPolicy.d.ts +7 -0
  138. package/serialization/resources/charters/types/CharterChildrenExclusionPolicy.js +39 -0
  139. package/serialization/resources/charters/types/CharterStatus.d.ts +7 -0
  140. package/serialization/resources/charters/types/CharterStatus.js +39 -0
  141. package/serialization/resources/charters/types/CharterSummary.d.ts +22 -0
  142. package/serialization/resources/charters/types/CharterSummary.js +54 -0
  143. package/serialization/resources/charters/types/CharterType.d.ts +7 -0
  144. package/serialization/resources/charters/types/CharterType.js +39 -0
  145. package/serialization/resources/charters/types/index.d.ts +4 -0
  146. package/serialization/resources/charters/types/index.js +20 -0
  147. package/serialization/resources/commons/types/BaseConversationResponse.d.ts +2 -0
  148. package/serialization/resources/commons/types/BaseConversationResponse.js +2 -0
  149. package/serialization/resources/commons/types/BotObjectResponse.d.ts +0 -1
  150. package/serialization/resources/commons/types/BotObjectResponse.js +0 -1
  151. package/serialization/resources/commons/types/ConversationExecutedActionPrecondition.d.ts +2 -0
  152. package/serialization/resources/commons/types/ConversationExecutedActionPrecondition.js +2 -0
  153. package/serialization/resources/commons/types/ConversationMode.d.ts +7 -0
  154. package/serialization/resources/commons/types/ConversationMode.js +39 -0
  155. package/serialization/resources/commons/types/ConversationModePrecondition.d.ts +11 -0
  156. package/serialization/resources/commons/types/ConversationModePrecondition.js +45 -0
  157. package/serialization/resources/commons/types/ConversationPrecondition.d.ts +5 -1
  158. package/serialization/resources/commons/types/ConversationPrecondition.js +2 -0
  159. package/serialization/resources/commons/types/ConversationPreconditionResponse.d.ts +5 -1
  160. package/serialization/resources/commons/types/ConversationPreconditionResponse.js +2 -0
  161. package/serialization/resources/commons/types/{IntelligentFieldCondition.d.ts → FieldCondition.d.ts} +3 -3
  162. package/serialization/resources/commons/types/{IntelligentFieldCondition.js → FieldCondition.js} +2 -2
  163. package/serialization/resources/commons/types/IntelligentFieldPrecondition.d.ts +2 -2
  164. package/serialization/resources/commons/types/IntelligentFieldPrecondition.js +2 -2
  165. package/serialization/resources/commons/types/IntelligentFieldPreconditionResponse.d.ts +2 -2
  166. package/serialization/resources/commons/types/IntelligentFieldPreconditionResponse.js +2 -2
  167. package/serialization/resources/commons/types/KeyValueEntryCondition.d.ts +11 -0
  168. package/serialization/resources/commons/types/KeyValueEntryCondition.js +43 -0
  169. package/serialization/resources/commons/types/ObjectCondition.d.ts +11 -0
  170. package/serialization/resources/commons/types/ObjectCondition.js +47 -0
  171. package/serialization/resources/commons/types/TextFormat.d.ts +15 -0
  172. package/serialization/resources/commons/types/TextFormat.js +49 -0
  173. package/serialization/resources/commons/types/TextFormatJsonSchema.d.ts +10 -0
  174. package/serialization/resources/commons/types/TextFormatJsonSchema.js +42 -0
  175. package/serialization/resources/commons/types/TextFormatText.d.ts +7 -0
  176. package/serialization/resources/commons/types/TextFormatText.js +39 -0
  177. package/serialization/resources/commons/types/index.d.ts +8 -1
  178. package/serialization/resources/commons/types/index.js +8 -1
  179. package/serialization/resources/conversation/types/AskRequest.d.ts +2 -0
  180. package/serialization/resources/conversation/types/AskRequest.js +2 -0
  181. package/serialization/resources/conversation/types/AskStreamObjectEvent.d.ts +9 -0
  182. package/serialization/resources/conversation/types/AskStreamObjectEvent.js +40 -0
  183. package/serialization/resources/conversation/types/ConversationField.d.ts +1 -1
  184. package/serialization/resources/conversation/types/ConversationField.js +2 -0
  185. package/serialization/resources/conversation/types/NumericConversationField.d.ts +1 -1
  186. package/serialization/resources/conversation/types/NumericConversationField.js +1 -0
  187. package/serialization/resources/conversation/types/StreamResponse.d.ts +5 -1
  188. package/serialization/resources/conversation/types/StreamResponse.js +2 -0
  189. package/serialization/resources/conversation/types/index.d.ts +1 -0
  190. package/serialization/resources/conversation/types/index.js +1 -0
  191. package/serialization/resources/index.d.ts +5 -0
  192. package/serialization/resources/index.js +6 -1
  193. package/serialization/resources/intelligentFields/client/index.d.ts +1 -0
  194. package/serialization/resources/intelligentFields/client/index.js +17 -0
  195. package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +17 -0
  196. package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +49 -0
  197. package/serialization/resources/intelligentFields/client/requests/index.d.ts +1 -0
  198. package/serialization/resources/intelligentFields/client/requests/index.js +5 -0
  199. package/serialization/resources/intelligentFields/index.d.ts +2 -0
  200. package/serialization/resources/intelligentFields/index.js +18 -0
  201. package/serialization/resources/intelligentFields/types/EnumOption.d.ts +10 -0
  202. package/serialization/resources/intelligentFields/types/EnumOption.js +42 -0
  203. package/serialization/resources/intelligentFields/types/IntelligentFieldBase.d.ts +13 -0
  204. package/serialization/resources/intelligentFields/types/IntelligentFieldBase.js +47 -0
  205. package/serialization/resources/intelligentFields/types/IntelligentFieldCore.d.ts +15 -0
  206. package/serialization/resources/intelligentFields/types/IntelligentFieldCore.js +47 -0
  207. package/serialization/resources/intelligentFields/types/IntelligentFieldDetailResponse.d.ts +11 -0
  208. package/serialization/resources/intelligentFields/types/IntelligentFieldDetailResponse.js +45 -0
  209. package/serialization/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +11 -0
  210. package/serialization/resources/intelligentFields/types/IntelligentFieldRequest.js +45 -0
  211. package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +15 -0
  212. package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.js +49 -0
  213. package/serialization/resources/intelligentFields/types/IntelligentFieldStatus.d.ts +7 -0
  214. package/serialization/resources/intelligentFields/types/IntelligentFieldStatus.js +39 -0
  215. package/serialization/resources/intelligentFields/types/IntelligentFieldType.d.ts +7 -0
  216. package/serialization/resources/intelligentFields/types/IntelligentFieldType.js +39 -0
  217. package/serialization/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.d.ts +10 -0
  218. package/serialization/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.js +42 -0
  219. package/serialization/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.d.ts +12 -0
  220. package/serialization/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.js +44 -0
  221. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.d.ts +20 -0
  222. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.js +54 -0
  223. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.d.ts +11 -0
  224. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.js +45 -0
  225. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSortField.d.ts +7 -0
  226. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSortField.js +39 -0
  227. package/serialization/resources/intelligentFields/types/index.d.ts +13 -0
  228. package/serialization/resources/intelligentFields/types/index.js +29 -0
  229. package/serialization/resources/knowledge/types/CancelKnowledgeBaseVersionRequest.d.ts +1 -0
  230. package/serialization/resources/knowledge/types/CancelKnowledgeBaseVersionRequest.js +1 -0
  231. package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +2 -0
  232. package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +2 -0
  233. package/serialization/resources/knowledge/types/KnowledgeBaseVersion.d.ts +2 -0
  234. package/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +2 -0
  235. package/serialization/resources/knowledge/types/KnowledgeBaseVersionFinalizeStatus.d.ts +1 -1
  236. package/serialization/resources/knowledge/types/KnowledgeBaseVersionFinalizeStatus.js +1 -1
  237. package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgress.d.ts +11 -0
  238. package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgress.js +43 -0
  239. package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.d.ts +13 -0
  240. package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.js +45 -0
  241. package/serialization/resources/knowledge/types/KnowledgeBaseVersionStatus.d.ts +1 -1
  242. package/serialization/resources/knowledge/types/KnowledgeBaseVersionStatus.js +1 -1
  243. package/serialization/resources/knowledge/types/index.d.ts +2 -0
  244. package/serialization/resources/knowledge/types/index.js +2 -0
  245. package/serialization/resources/segments/types/SegmentPatchRequest.d.ts +2 -0
  246. package/serialization/resources/segments/types/SegmentPatchRequest.js +2 -0
  247. package/serialization/resources/segments/types/SegmentRequest.d.ts +2 -0
  248. package/serialization/resources/segments/types/SegmentRequest.js +2 -0
  249. package/serialization/resources/segments/types/SegmentSummary.d.ts +14 -0
  250. package/serialization/resources/segments/types/SegmentSummary.js +47 -0
  251. package/serialization/resources/segments/types/index.d.ts +1 -0
  252. package/serialization/resources/segments/types/index.js +1 -0
  253. package/version.d.ts +1 -1
  254. package/version.js +1 -1
  255. package/api/resources/commons/types/IntelligentFieldCondition.d.ts +0 -37
  256. /package/api/resources/{commons/types/IntelligentFieldCondition.js → charters/types/CharterSummary.js} +0 -0
@@ -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.IntelligentFieldValueSearchRequest = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const BaseCappedPaginatedRequest_1 = require("../../commons/types/BaseCappedPaginatedRequest");
40
+ const EntityIdWithoutAgent_1 = require("../../commons/types/EntityIdWithoutAgent");
41
+ const IntelligentFieldValueEntityFilter_1 = require("./IntelligentFieldValueEntityFilter");
42
+ const IntelligentFieldValueFieldFilter_1 = require("./IntelligentFieldValueFieldFilter");
43
+ const IntelligentFieldValueSortField_1 = require("./IntelligentFieldValueSortField");
44
+ exports.IntelligentFieldValueSearchRequest = core.serialization
45
+ .object({
46
+ fieldFilter: IntelligentFieldValueFieldFilter_1.IntelligentFieldValueFieldFilter.optional(),
47
+ entityFilter: IntelligentFieldValueEntityFilter_1.IntelligentFieldValueEntityFilter.optional(),
48
+ createdAfter: core.serialization.date().optional(),
49
+ createdBefore: core.serialization.date().optional(),
50
+ includeUnknownValues: core.serialization.boolean().optional(),
51
+ sort: IntelligentFieldValueSortField_1.IntelligentFieldValueSortField.optional(),
52
+ variantId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
53
+ })
54
+ .extend(BaseCappedPaginatedRequest_1.BaseCappedPaginatedRequest);
@@ -0,0 +1,11 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { IntelligentFieldValueResponse } from "../../commons/types/IntelligentFieldValueResponse";
5
+ import { Page } from "../../commons/types/Page";
6
+ export declare const IntelligentFieldValueSearchResponse: core.serialization.ObjectSchema<serializers.IntelligentFieldValueSearchResponse.Raw, MavenAGI.IntelligentFieldValueSearchResponse>;
7
+ export declare namespace IntelligentFieldValueSearchResponse {
8
+ interface Raw extends Page.Raw {
9
+ values: IntelligentFieldValueResponse.Raw[];
10
+ }
11
+ }
@@ -0,0 +1,45 @@
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.IntelligentFieldValueSearchResponse = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const IntelligentFieldValueResponse_1 = require("../../commons/types/IntelligentFieldValueResponse");
40
+ const Page_1 = require("../../commons/types/Page");
41
+ exports.IntelligentFieldValueSearchResponse = core.serialization
42
+ .object({
43
+ values: core.serialization.list(IntelligentFieldValueResponse_1.IntelligentFieldValueResponse),
44
+ })
45
+ .extend(Page_1.Page);
@@ -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 IntelligentFieldValueSortField: core.serialization.Schema<serializers.IntelligentFieldValueSortField.Raw, MavenAGI.IntelligentFieldValueSortField>;
5
+ export declare namespace IntelligentFieldValueSortField {
6
+ type Raw = "CREATED_AT";
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.IntelligentFieldValueSortField = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.IntelligentFieldValueSortField = core.serialization.forwardCompatibleEnum_(["CREATED_AT"]);
@@ -0,0 +1,13 @@
1
+ export * from "./EnumOption";
2
+ export * from "./IntelligentFieldBase";
3
+ export * from "./IntelligentFieldCore";
4
+ export * from "./IntelligentFieldDetailResponse";
5
+ export * from "./IntelligentFieldRequest";
6
+ export * from "./IntelligentFieldResponse";
7
+ export * from "./IntelligentFieldStatus";
8
+ export * from "./IntelligentFieldType";
9
+ export * from "./IntelligentFieldValueEntityFilter";
10
+ export * from "./IntelligentFieldValueFieldFilter";
11
+ export * from "./IntelligentFieldValueSearchRequest";
12
+ export * from "./IntelligentFieldValueSearchResponse";
13
+ export * from "./IntelligentFieldValueSortField";
@@ -0,0 +1,29 @@
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("./EnumOption"), exports);
18
+ __exportStar(require("./IntelligentFieldBase"), exports);
19
+ __exportStar(require("./IntelligentFieldCore"), exports);
20
+ __exportStar(require("./IntelligentFieldDetailResponse"), exports);
21
+ __exportStar(require("./IntelligentFieldRequest"), exports);
22
+ __exportStar(require("./IntelligentFieldResponse"), exports);
23
+ __exportStar(require("./IntelligentFieldStatus"), exports);
24
+ __exportStar(require("./IntelligentFieldType"), exports);
25
+ __exportStar(require("./IntelligentFieldValueEntityFilter"), exports);
26
+ __exportStar(require("./IntelligentFieldValueFieldFilter"), exports);
27
+ __exportStar(require("./IntelligentFieldValueSearchRequest"), exports);
28
+ __exportStar(require("./IntelligentFieldValueSearchResponse"), exports);
29
+ __exportStar(require("./IntelligentFieldValueSortField"), exports);
@@ -5,6 +5,7 @@ import { EntityIdWithoutAgent } from "../../commons/types/EntityIdWithoutAgent";
5
5
  export declare const CancelKnowledgeBaseVersionRequest: core.serialization.ObjectSchema<serializers.CancelKnowledgeBaseVersionRequest.Raw, MavenAGI.CancelKnowledgeBaseVersionRequest>;
6
6
  export declare namespace CancelKnowledgeBaseVersionRequest {
7
7
  interface Raw {
8
+ appId?: string | null;
8
9
  versionId?: EntityIdWithoutAgent.Raw | null;
9
10
  }
10
11
  }
@@ -38,5 +38,6 @@ exports.CancelKnowledgeBaseVersionRequest = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const EntityIdWithoutAgent_1 = require("../../commons/types/EntityIdWithoutAgent");
40
40
  exports.CancelKnowledgeBaseVersionRequest = core.serialization.object({
41
+ appId: core.serialization.string().optional(),
41
42
  versionId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
42
43
  });
@@ -7,6 +7,7 @@ import { KnowledgeBaseIndexingProgressState } from "./KnowledgeBaseIndexingProgr
7
7
  import { KnowledgeBaseProperties } from "./KnowledgeBaseProperties";
8
8
  import { KnowledgeBaseRefreshFrequency } from "./KnowledgeBaseRefreshFrequency";
9
9
  import { KnowledgeBaseType } from "./KnowledgeBaseType";
10
+ import { KnowledgeBaseVersionProgress } from "./KnowledgeBaseVersionProgress";
10
11
  import { KnowledgeBaseVersionStatus } from "./KnowledgeBaseVersionStatus";
11
12
  export declare const KnowledgeBaseResponse: core.serialization.ObjectSchema<serializers.KnowledgeBaseResponse.Raw, MavenAGI.KnowledgeBaseResponse>;
12
13
  export declare namespace KnowledgeBaseResponse {
@@ -25,5 +26,6 @@ export declare namespace KnowledgeBaseResponse {
25
26
  segmentIds: EntityId.Raw[];
26
27
  url?: string | null;
27
28
  indexingState?: KnowledgeBaseIndexingProgressState.Raw | null;
29
+ progress?: KnowledgeBaseVersionProgress.Raw | null;
28
30
  }
29
31
  }
@@ -42,6 +42,7 @@ const KnowledgeBaseIndexingProgressState_1 = require("./KnowledgeBaseIndexingPro
42
42
  const KnowledgeBaseProperties_1 = require("./KnowledgeBaseProperties");
43
43
  const KnowledgeBaseRefreshFrequency_1 = require("./KnowledgeBaseRefreshFrequency");
44
44
  const KnowledgeBaseType_1 = require("./KnowledgeBaseType");
45
+ const KnowledgeBaseVersionProgress_1 = require("./KnowledgeBaseVersionProgress");
45
46
  const KnowledgeBaseVersionStatus_1 = require("./KnowledgeBaseVersionStatus");
46
47
  exports.KnowledgeBaseResponse = core.serialization
47
48
  .object({
@@ -59,5 +60,6 @@ exports.KnowledgeBaseResponse = core.serialization
59
60
  segmentIds: core.serialization.list(EntityId_1.EntityId),
60
61
  url: core.serialization.string().optional(),
61
62
  indexingState: KnowledgeBaseIndexingProgressState_1.KnowledgeBaseIndexingProgressState.optional(),
63
+ progress: KnowledgeBaseVersionProgress_1.KnowledgeBaseVersionProgress.optional(),
62
64
  })
63
65
  .extend(KnowledgeBaseProperties_1.KnowledgeBaseProperties);
@@ -3,6 +3,7 @@ import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
4
  import { EntityId } from "../../commons/types/EntityId";
5
5
  import { KnowledgeBaseIndexingProgressState } from "./KnowledgeBaseIndexingProgressState";
6
+ import { KnowledgeBaseVersionProgress } from "./KnowledgeBaseVersionProgress";
6
7
  import { KnowledgeBaseVersionRequest } from "./KnowledgeBaseVersionRequest";
7
8
  import { KnowledgeBaseVersionStatus } from "./KnowledgeBaseVersionStatus";
8
9
  export declare const KnowledgeBaseVersion: core.serialization.ObjectSchema<serializers.KnowledgeBaseVersion.Raw, MavenAGI.KnowledgeBaseVersion>;
@@ -14,5 +15,6 @@ export declare namespace KnowledgeBaseVersion {
14
15
  createdAt: string;
15
16
  updatedAt: string;
16
17
  indexingState?: KnowledgeBaseIndexingProgressState.Raw | null;
18
+ progress?: KnowledgeBaseVersionProgress.Raw | null;
17
19
  }
18
20
  }
@@ -38,6 +38,7 @@ exports.KnowledgeBaseVersion = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const EntityId_1 = require("../../commons/types/EntityId");
40
40
  const KnowledgeBaseIndexingProgressState_1 = require("./KnowledgeBaseIndexingProgressState");
41
+ const KnowledgeBaseVersionProgress_1 = require("./KnowledgeBaseVersionProgress");
41
42
  const KnowledgeBaseVersionRequest_1 = require("./KnowledgeBaseVersionRequest");
42
43
  const KnowledgeBaseVersionStatus_1 = require("./KnowledgeBaseVersionStatus");
43
44
  exports.KnowledgeBaseVersion = core.serialization
@@ -48,5 +49,6 @@ exports.KnowledgeBaseVersion = core.serialization
48
49
  createdAt: core.serialization.date(),
49
50
  updatedAt: core.serialization.date(),
50
51
  indexingState: KnowledgeBaseIndexingProgressState_1.KnowledgeBaseIndexingProgressState.optional(),
52
+ progress: KnowledgeBaseVersionProgress_1.KnowledgeBaseVersionProgress.optional(),
51
53
  })
52
54
  .extend(KnowledgeBaseVersionRequest_1.KnowledgeBaseVersionRequest);
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
4
  export declare const KnowledgeBaseVersionFinalizeStatus: core.serialization.Schema<serializers.KnowledgeBaseVersionFinalizeStatus.Raw, MavenAGI.KnowledgeBaseVersionFinalizeStatus>;
5
5
  export declare namespace KnowledgeBaseVersionFinalizeStatus {
6
- type Raw = "SUCCEEDED" | "FAILED";
6
+ type Raw = "SUCCEEDED" | "FAILED" | "CANCELED";
7
7
  }
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.KnowledgeBaseVersionFinalizeStatus = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- exports.KnowledgeBaseVersionFinalizeStatus = core.serialization.forwardCompatibleEnum_(["SUCCEEDED", "FAILED"]);
39
+ exports.KnowledgeBaseVersionFinalizeStatus = core.serialization.forwardCompatibleEnum_(["SUCCEEDED", "FAILED", "CANCELED"]);
@@ -0,0 +1,11 @@
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 KnowledgeBaseVersionProgress: core.serialization.ObjectSchema<serializers.KnowledgeBaseVersionProgress.Raw, MavenAGI.KnowledgeBaseVersionProgress>;
5
+ export declare namespace KnowledgeBaseVersionProgress {
6
+ interface Raw {
7
+ message: string;
8
+ completedCount?: number | null;
9
+ totalCount?: number | null;
10
+ }
11
+ }
@@ -0,0 +1,43 @@
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.KnowledgeBaseVersionProgress = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.KnowledgeBaseVersionProgress = core.serialization.object({
40
+ message: core.serialization.string(),
41
+ completedCount: core.serialization.number().optional(),
42
+ totalCount: core.serialization.number().optional(),
43
+ });
@@ -0,0 +1,13 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { EntityIdWithoutAgent } from "../../commons/types/EntityIdWithoutAgent";
5
+ import { KnowledgeBaseVersionProgress } from "./KnowledgeBaseVersionProgress";
6
+ export declare const KnowledgeBaseVersionProgressRequest: core.serialization.ObjectSchema<serializers.KnowledgeBaseVersionProgressRequest.Raw, MavenAGI.KnowledgeBaseVersionProgressRequest>;
7
+ export declare namespace KnowledgeBaseVersionProgressRequest {
8
+ interface Raw {
9
+ appId?: string | null;
10
+ versionId: EntityIdWithoutAgent.Raw;
11
+ progress: KnowledgeBaseVersionProgress.Raw;
12
+ }
13
+ }
@@ -0,0 +1,45 @@
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.KnowledgeBaseVersionProgressRequest = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const EntityIdWithoutAgent_1 = require("../../commons/types/EntityIdWithoutAgent");
40
+ const KnowledgeBaseVersionProgress_1 = require("./KnowledgeBaseVersionProgress");
41
+ exports.KnowledgeBaseVersionProgressRequest = core.serialization.object({
42
+ appId: core.serialization.string().optional(),
43
+ versionId: EntityIdWithoutAgent_1.EntityIdWithoutAgent,
44
+ progress: KnowledgeBaseVersionProgress_1.KnowledgeBaseVersionProgress,
45
+ });
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
4
  export declare const KnowledgeBaseVersionStatus: core.serialization.Schema<serializers.KnowledgeBaseVersionStatus.Raw, MavenAGI.KnowledgeBaseVersionStatus>;
5
5
  export declare namespace KnowledgeBaseVersionStatus {
6
- type Raw = "SUCCEEDED" | "FAILED" | "IN_PROGRESS";
6
+ type Raw = "SUCCEEDED" | "FAILED" | "IN_PROGRESS" | "CANCELED";
7
7
  }
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.KnowledgeBaseVersionStatus = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
- exports.KnowledgeBaseVersionStatus = core.serialization.forwardCompatibleEnum_(["SUCCEEDED", "FAILED", "IN_PROGRESS"]);
39
+ exports.KnowledgeBaseVersionStatus = core.serialization.forwardCompatibleEnum_(["SUCCEEDED", "FAILED", "IN_PROGRESS", "CANCELED"]);
@@ -15,6 +15,8 @@ export * from "./KnowledgeBasesResponse";
15
15
  export * from "./KnowledgeBaseType";
16
16
  export * from "./KnowledgeBaseVersion";
17
17
  export * from "./KnowledgeBaseVersionFinalizeStatus";
18
+ export * from "./KnowledgeBaseVersionProgress";
19
+ export * from "./KnowledgeBaseVersionProgressRequest";
18
20
  export * from "./KnowledgeBaseVersionRequest";
19
21
  export * from "./KnowledgeBaseVersionStatus";
20
22
  export * from "./KnowledgeBaseVersionsListResponse";
@@ -31,6 +31,8 @@ __exportStar(require("./KnowledgeBasesResponse"), exports);
31
31
  __exportStar(require("./KnowledgeBaseType"), exports);
32
32
  __exportStar(require("./KnowledgeBaseVersion"), exports);
33
33
  __exportStar(require("./KnowledgeBaseVersionFinalizeStatus"), exports);
34
+ __exportStar(require("./KnowledgeBaseVersionProgress"), exports);
35
+ __exportStar(require("./KnowledgeBaseVersionProgressRequest"), exports);
34
36
  __exportStar(require("./KnowledgeBaseVersionRequest"), exports);
35
37
  __exportStar(require("./KnowledgeBaseVersionStatus"), exports);
36
38
  __exportStar(require("./KnowledgeBaseVersionsListResponse"), exports);
@@ -1,6 +1,7 @@
1
1
  import type * as MavenAGI from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import * as serializers from "../../../index";
4
+ import { EntityIdWithoutAgent } from "../../commons/types/EntityIdWithoutAgent";
4
5
  import { SegmentStatus } from "./SegmentStatus";
5
6
  export declare const SegmentPatchRequest: core.serialization.ObjectSchema<serializers.SegmentPatchRequest.Raw, MavenAGI.SegmentPatchRequest>;
6
7
  export declare namespace SegmentPatchRequest {
@@ -10,5 +11,6 @@ export declare namespace SegmentPatchRequest {
10
11
  description?: string | null;
11
12
  precondition?: serializers.Precondition.Raw | null;
12
13
  status?: SegmentStatus.Raw | null;
14
+ variantId?: EntityIdWithoutAgent.Raw | null;
13
15
  }
14
16
  }
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.SegmentPatchRequest = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const serializers = __importStar(require("../../../index"));
40
+ const EntityIdWithoutAgent_1 = require("../../commons/types/EntityIdWithoutAgent");
40
41
  const SegmentStatus_1 = require("./SegmentStatus");
41
42
  exports.SegmentPatchRequest = core.serialization.object({
42
43
  appId: core.serialization.string().optional(),
@@ -44,4 +45,5 @@ exports.SegmentPatchRequest = core.serialization.object({
44
45
  description: core.serialization.string().optional(),
45
46
  precondition: core.serialization.lazy(() => serializers.Precondition).optional(),
46
47
  status: SegmentStatus_1.SegmentStatus.optional(),
48
+ variantId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
47
49
  });
@@ -2,12 +2,14 @@ import type * as MavenAGI from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import * as serializers from "../../../index";
4
4
  import { EntityIdBase } from "../../commons/types/EntityIdBase";
5
+ import { EntityIdWithoutAgent } from "../../commons/types/EntityIdWithoutAgent";
5
6
  import { SegmentBase } from "./SegmentBase";
6
7
  import { SegmentStatus } from "./SegmentStatus";
7
8
  export declare const SegmentRequest: core.serialization.ObjectSchema<serializers.SegmentRequest.Raw, MavenAGI.SegmentRequest>;
8
9
  export declare namespace SegmentRequest {
9
10
  interface Raw extends SegmentBase.Raw {
10
11
  segmentId: EntityIdBase.Raw;
12
+ variantId?: EntityIdWithoutAgent.Raw | null;
11
13
  precondition: serializers.Precondition.Raw;
12
14
  status?: SegmentStatus.Raw | null;
13
15
  }
@@ -38,11 +38,13 @@ exports.SegmentRequest = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const serializers = __importStar(require("../../../index"));
40
40
  const EntityIdBase_1 = require("../../commons/types/EntityIdBase");
41
+ const EntityIdWithoutAgent_1 = require("../../commons/types/EntityIdWithoutAgent");
41
42
  const SegmentBase_1 = require("./SegmentBase");
42
43
  const SegmentStatus_1 = require("./SegmentStatus");
43
44
  exports.SegmentRequest = core.serialization
44
45
  .object({
45
46
  segmentId: EntityIdBase_1.EntityIdBase,
47
+ variantId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
46
48
  precondition: core.serialization.lazy(() => serializers.Precondition),
47
49
  status: SegmentStatus_1.SegmentStatus.optional(),
48
50
  })
@@ -0,0 +1,14 @@
1
+ import type * as MavenAGI from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import * as serializers from "../../../index";
4
+ import { EntityId } from "../../commons/types/EntityId";
5
+ import { SegmentStatus } from "./SegmentStatus";
6
+ export declare const SegmentSummary: core.serialization.ObjectSchema<serializers.SegmentSummary.Raw, MavenAGI.SegmentSummary>;
7
+ export declare namespace SegmentSummary {
8
+ interface Raw {
9
+ segmentId: EntityId.Raw;
10
+ name: string;
11
+ status: SegmentStatus.Raw;
12
+ precondition: serializers.PreconditionResponse.Raw;
13
+ }
14
+ }
@@ -0,0 +1,47 @@
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.SegmentSummary = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ const serializers = __importStar(require("../../../index"));
40
+ const EntityId_1 = require("../../commons/types/EntityId");
41
+ const SegmentStatus_1 = require("./SegmentStatus");
42
+ exports.SegmentSummary = core.serialization.object({
43
+ segmentId: EntityId_1.EntityId,
44
+ name: core.serialization.string(),
45
+ status: SegmentStatus_1.SegmentStatus,
46
+ precondition: core.serialization.lazy(() => serializers.PreconditionResponse),
47
+ });
@@ -5,5 +5,6 @@ export * from "./SegmentPatchRequest";
5
5
  export * from "./SegmentRequest";
6
6
  export * from "./SegmentResponse";
7
7
  export * from "./SegmentStatus";
8
+ export * from "./SegmentSummary";
8
9
  export * from "./SegmentsSearchRequest";
9
10
  export * from "./SegmentsSearchResponse";
@@ -21,5 +21,6 @@ __exportStar(require("./SegmentPatchRequest"), exports);
21
21
  __exportStar(require("./SegmentRequest"), exports);
22
22
  __exportStar(require("./SegmentResponse"), exports);
23
23
  __exportStar(require("./SegmentStatus"), exports);
24
+ __exportStar(require("./SegmentSummary"), exports);
24
25
  __exportStar(require("./SegmentsSearchRequest"), exports);
25
26
  __exportStar(require("./SegmentsSearchResponse"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.2.55";
1
+ export declare const SDK_VERSION = "1.2.57";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.2.55";
4
+ exports.SDK_VERSION = "1.2.57";