mavenagi 1.2.56 → 1.2.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) 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/BaseCursorRequest.d.ts +21 -0
  21. package/api/resources/commons/types/BaseCursorRequest.js +3 -0
  22. package/api/resources/commons/types/BotObjectResponse.d.ts +2 -4
  23. package/api/resources/commons/types/CursorPage.d.ts +12 -0
  24. package/api/resources/commons/types/CursorPage.js +3 -0
  25. package/api/resources/commons/types/FieldCondition.d.ts +45 -0
  26. package/api/resources/commons/types/FieldCondition.js +3 -0
  27. package/api/resources/commons/types/IntelligentFieldPrecondition.d.ts +1 -1
  28. package/api/resources/commons/types/IntelligentFieldPreconditionResponse.d.ts +1 -1
  29. package/api/resources/commons/types/KeyValueEntryCondition.d.ts +1 -1
  30. package/api/resources/commons/types/TextFormat.d.ts +13 -0
  31. package/api/resources/commons/types/TextFormat.js +3 -0
  32. package/api/resources/commons/types/TextFormatJsonSchema.d.ts +35 -0
  33. package/api/resources/commons/types/TextFormatJsonSchema.js +3 -0
  34. package/api/resources/commons/types/TextFormatText.d.ts +4 -0
  35. package/api/resources/commons/types/TextFormatText.js +3 -0
  36. package/api/resources/commons/types/UniversalCondition.d.ts +3 -3
  37. package/api/resources/commons/types/index.d.ts +6 -1
  38. package/api/resources/commons/types/index.js +6 -1
  39. package/api/resources/conversation/client/Client.d.ts +32 -1
  40. package/api/resources/conversation/client/Client.js +116 -1
  41. package/api/resources/conversation/types/AskRequest.d.ts +59 -0
  42. package/api/resources/conversation/types/AskStreamObjectEvent.d.ts +7 -0
  43. package/api/resources/conversation/types/AskStreamObjectEvent.js +3 -0
  44. package/api/resources/conversation/types/ConversationField.d.ts +8 -0
  45. package/api/resources/conversation/types/ConversationField.js +8 -0
  46. package/api/resources/conversation/types/ConversationRequest.d.ts +12 -1
  47. package/api/resources/conversation/types/ConversationsCursorSearchRequest.d.ts +4 -0
  48. package/api/resources/conversation/types/ConversationsCursorSearchRequest.js +3 -0
  49. package/api/resources/conversation/types/ConversationsCursorSearchResponse.d.ts +11 -0
  50. package/api/resources/conversation/types/ConversationsCursorSearchResponse.js +3 -0
  51. package/api/resources/conversation/types/ConversationsSearchRequest.d.ts +5 -0
  52. package/api/resources/conversation/types/NumericConversationField.d.ts +4 -0
  53. package/api/resources/conversation/types/NumericConversationField.js +4 -0
  54. package/api/resources/conversation/types/StreamResponse.d.ts +4 -1
  55. package/api/resources/conversation/types/index.d.ts +3 -0
  56. package/api/resources/conversation/types/index.js +3 -0
  57. package/api/resources/index.d.ts +5 -0
  58. package/api/resources/index.js +6 -1
  59. package/api/resources/intelligentFields/client/Client.d.ts +156 -0
  60. package/api/resources/intelligentFields/client/Client.js +627 -0
  61. package/api/resources/intelligentFields/client/index.d.ts +1 -0
  62. package/api/resources/intelligentFields/client/index.js +17 -0
  63. package/api/resources/intelligentFields/client/requests/IntelligentFieldDeleteRequest.d.ts +12 -0
  64. package/api/resources/intelligentFields/client/requests/IntelligentFieldDeleteRequest.js +3 -0
  65. package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.d.ts +8 -0
  66. package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.js +3 -0
  67. package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +26 -0
  68. package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +3 -0
  69. package/api/resources/intelligentFields/client/requests/index.d.ts +3 -0
  70. package/api/resources/intelligentFields/client/requests/index.js +2 -0
  71. package/api/resources/intelligentFields/exports.d.ts +2 -0
  72. package/api/resources/intelligentFields/exports.js +21 -0
  73. package/api/resources/intelligentFields/index.d.ts +2 -0
  74. package/api/resources/intelligentFields/index.js +18 -0
  75. package/api/resources/intelligentFields/types/EnumOption.d.ts +9 -0
  76. package/api/resources/intelligentFields/types/EnumOption.js +3 -0
  77. package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +7 -0
  78. package/api/resources/intelligentFields/types/IntelligentFieldBase.js +3 -0
  79. package/api/resources/intelligentFields/types/IntelligentFieldCore.d.ts +28 -0
  80. package/api/resources/intelligentFields/types/IntelligentFieldCore.js +3 -0
  81. package/api/resources/intelligentFields/types/IntelligentFieldDetailResponse.d.ts +36 -0
  82. package/api/resources/intelligentFields/types/IntelligentFieldDetailResponse.js +3 -0
  83. package/api/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +28 -0
  84. package/api/resources/intelligentFields/types/IntelligentFieldRequest.js +3 -0
  85. package/api/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +41 -0
  86. package/api/resources/intelligentFields/types/IntelligentFieldResponse.js +3 -0
  87. package/api/resources/intelligentFields/types/IntelligentFieldStatus.d.ts +7 -0
  88. package/api/resources/intelligentFields/types/IntelligentFieldStatus.js +10 -0
  89. package/api/resources/intelligentFields/types/IntelligentFieldType.d.ts +9 -0
  90. package/api/resources/intelligentFields/types/IntelligentFieldType.js +12 -0
  91. package/api/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.d.ts +8 -0
  92. package/api/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.js +3 -0
  93. package/api/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.d.ts +10 -0
  94. package/api/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.js +3 -0
  95. package/api/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.d.ts +17 -0
  96. package/api/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.js +3 -0
  97. package/api/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.d.ts +35 -0
  98. package/api/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.js +3 -0
  99. package/api/resources/intelligentFields/types/IntelligentFieldValueSortField.d.ts +5 -0
  100. package/api/resources/intelligentFields/types/IntelligentFieldValueSortField.js +8 -0
  101. package/api/resources/intelligentFields/types/index.d.ts +13 -0
  102. package/api/resources/intelligentFields/types/index.js +29 -0
  103. package/api/resources/knowledge/client/Client.d.ts +33 -0
  104. package/api/resources/knowledge/client/Client.js +117 -0
  105. package/api/resources/knowledge/types/KnowledgeBaseDocumentDeltas.d.ts +16 -0
  106. package/api/resources/knowledge/types/KnowledgeBaseDocumentDeltas.js +3 -0
  107. package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +5 -0
  108. package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +30 -0
  109. package/api/resources/knowledge/types/KnowledgeBaseVersionProgress.d.ts +29 -0
  110. package/api/resources/knowledge/types/KnowledgeBaseVersionProgress.js +3 -0
  111. package/api/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.d.ts +24 -0
  112. package/api/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.js +3 -0
  113. package/api/resources/knowledge/types/index.d.ts +3 -0
  114. package/api/resources/knowledge/types/index.js +3 -0
  115. package/api/resources/segments/client/Client.js +3 -1
  116. package/api/resources/segments/client/requests/SegmentDeleteRequest.d.ts +12 -0
  117. package/api/resources/segments/types/SegmentPatchRequest.d.ts +8 -0
  118. package/api/resources/segments/types/SegmentRequest.d.ts +8 -0
  119. package/api/resources/segments/types/SegmentSummary.d.ts +14 -0
  120. package/api/resources/segments/types/SegmentSummary.js +3 -0
  121. package/api/resources/segments/types/index.d.ts +1 -0
  122. package/api/resources/segments/types/index.js +1 -0
  123. package/package.json +1 -1
  124. package/reference.md +552 -1
  125. package/serialization/resources/analytics/types/ConversationBasicMetric.d.ts +2 -0
  126. package/serialization/resources/analytics/types/ConversationBasicMetric.js +2 -0
  127. package/serialization/resources/analytics/types/ConversationGroupBy.d.ts +2 -0
  128. package/serialization/resources/analytics/types/ConversationGroupBy.js +2 -0
  129. package/serialization/resources/analytics/types/ConversationNumericMetric.d.ts +2 -0
  130. package/serialization/resources/analytics/types/ConversationNumericMetric.js +2 -0
  131. package/serialization/resources/charters/index.d.ts +1 -0
  132. package/serialization/resources/charters/index.js +17 -0
  133. package/serialization/resources/charters/types/CharterChildrenExclusionPolicy.d.ts +7 -0
  134. package/serialization/resources/charters/types/CharterChildrenExclusionPolicy.js +39 -0
  135. package/serialization/resources/charters/types/CharterStatus.d.ts +7 -0
  136. package/serialization/resources/charters/types/CharterStatus.js +39 -0
  137. package/serialization/resources/charters/types/CharterSummary.d.ts +22 -0
  138. package/serialization/resources/charters/types/CharterSummary.js +54 -0
  139. package/serialization/resources/charters/types/CharterType.d.ts +7 -0
  140. package/serialization/resources/charters/types/CharterType.js +39 -0
  141. package/serialization/resources/charters/types/index.d.ts +4 -0
  142. package/serialization/resources/charters/types/index.js +20 -0
  143. package/serialization/resources/commons/types/BaseCursorRequest.d.ts +11 -0
  144. package/serialization/resources/commons/types/BaseCursorRequest.js +43 -0
  145. package/serialization/resources/commons/types/BotObjectResponse.d.ts +0 -1
  146. package/serialization/resources/commons/types/BotObjectResponse.js +0 -1
  147. package/serialization/resources/commons/types/CursorPage.d.ts +9 -0
  148. package/serialization/resources/commons/types/CursorPage.js +41 -0
  149. package/serialization/resources/commons/types/{IntelligentFieldCondition.d.ts → FieldCondition.d.ts} +3 -3
  150. package/serialization/resources/commons/types/{IntelligentFieldCondition.js → FieldCondition.js} +2 -2
  151. package/serialization/resources/commons/types/IntelligentFieldPrecondition.d.ts +2 -2
  152. package/serialization/resources/commons/types/IntelligentFieldPrecondition.js +2 -2
  153. package/serialization/resources/commons/types/IntelligentFieldPreconditionResponse.d.ts +2 -2
  154. package/serialization/resources/commons/types/IntelligentFieldPreconditionResponse.js +2 -2
  155. package/serialization/resources/commons/types/KeyValueEntryCondition.d.ts +2 -2
  156. package/serialization/resources/commons/types/KeyValueEntryCondition.js +2 -2
  157. package/serialization/resources/commons/types/TextFormat.d.ts +15 -0
  158. package/serialization/resources/commons/types/TextFormat.js +49 -0
  159. package/serialization/resources/commons/types/TextFormatJsonSchema.d.ts +10 -0
  160. package/serialization/resources/commons/types/TextFormatJsonSchema.js +42 -0
  161. package/serialization/resources/commons/types/TextFormatText.d.ts +7 -0
  162. package/serialization/resources/commons/types/TextFormatText.js +39 -0
  163. package/serialization/resources/commons/types/index.d.ts +6 -1
  164. package/serialization/resources/commons/types/index.js +6 -1
  165. package/serialization/resources/conversation/types/AskRequest.d.ts +2 -0
  166. package/serialization/resources/conversation/types/AskRequest.js +2 -0
  167. package/serialization/resources/conversation/types/AskStreamObjectEvent.d.ts +9 -0
  168. package/serialization/resources/conversation/types/AskStreamObjectEvent.js +40 -0
  169. package/serialization/resources/conversation/types/ConversationField.d.ts +1 -1
  170. package/serialization/resources/conversation/types/ConversationField.js +2 -0
  171. package/serialization/resources/conversation/types/ConversationsCursorSearchRequest.d.ts +11 -0
  172. package/serialization/resources/conversation/types/ConversationsCursorSearchRequest.js +45 -0
  173. package/serialization/resources/conversation/types/ConversationsCursorSearchResponse.d.ts +12 -0
  174. package/serialization/resources/conversation/types/ConversationsCursorSearchResponse.js +46 -0
  175. package/serialization/resources/conversation/types/NumericConversationField.d.ts +1 -1
  176. package/serialization/resources/conversation/types/NumericConversationField.js +1 -0
  177. package/serialization/resources/conversation/types/StreamResponse.d.ts +5 -1
  178. package/serialization/resources/conversation/types/StreamResponse.js +2 -0
  179. package/serialization/resources/conversation/types/index.d.ts +3 -0
  180. package/serialization/resources/conversation/types/index.js +3 -0
  181. package/serialization/resources/index.d.ts +5 -0
  182. package/serialization/resources/index.js +6 -1
  183. package/serialization/resources/intelligentFields/client/index.d.ts +1 -0
  184. package/serialization/resources/intelligentFields/client/index.js +17 -0
  185. package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +17 -0
  186. package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +49 -0
  187. package/serialization/resources/intelligentFields/client/requests/index.d.ts +1 -0
  188. package/serialization/resources/intelligentFields/client/requests/index.js +5 -0
  189. package/serialization/resources/intelligentFields/index.d.ts +2 -0
  190. package/serialization/resources/intelligentFields/index.js +18 -0
  191. package/serialization/resources/intelligentFields/types/EnumOption.d.ts +10 -0
  192. package/serialization/resources/intelligentFields/types/EnumOption.js +42 -0
  193. package/serialization/resources/intelligentFields/types/IntelligentFieldBase.d.ts +13 -0
  194. package/serialization/resources/intelligentFields/types/IntelligentFieldBase.js +47 -0
  195. package/serialization/resources/intelligentFields/types/IntelligentFieldCore.d.ts +15 -0
  196. package/serialization/resources/intelligentFields/types/IntelligentFieldCore.js +47 -0
  197. package/serialization/resources/intelligentFields/types/IntelligentFieldDetailResponse.d.ts +11 -0
  198. package/serialization/resources/intelligentFields/types/IntelligentFieldDetailResponse.js +45 -0
  199. package/serialization/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +11 -0
  200. package/serialization/resources/intelligentFields/types/IntelligentFieldRequest.js +45 -0
  201. package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +15 -0
  202. package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.js +49 -0
  203. package/serialization/resources/intelligentFields/types/IntelligentFieldStatus.d.ts +7 -0
  204. package/serialization/resources/intelligentFields/types/IntelligentFieldStatus.js +39 -0
  205. package/serialization/resources/intelligentFields/types/IntelligentFieldType.d.ts +7 -0
  206. package/serialization/resources/intelligentFields/types/IntelligentFieldType.js +39 -0
  207. package/serialization/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.d.ts +10 -0
  208. package/serialization/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.js +42 -0
  209. package/serialization/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.d.ts +12 -0
  210. package/serialization/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.js +44 -0
  211. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.d.ts +20 -0
  212. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.js +54 -0
  213. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.d.ts +11 -0
  214. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.js +45 -0
  215. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSortField.d.ts +7 -0
  216. package/serialization/resources/intelligentFields/types/IntelligentFieldValueSortField.js +39 -0
  217. package/serialization/resources/intelligentFields/types/index.d.ts +13 -0
  218. package/serialization/resources/intelligentFields/types/index.js +29 -0
  219. package/serialization/resources/knowledge/types/KnowledgeBaseDocumentDeltas.d.ts +11 -0
  220. package/serialization/resources/knowledge/types/KnowledgeBaseDocumentDeltas.js +43 -0
  221. package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +2 -0
  222. package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +2 -0
  223. package/serialization/resources/knowledge/types/KnowledgeBaseVersion.d.ts +4 -0
  224. package/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +4 -0
  225. package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgress.d.ts +11 -0
  226. package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgress.js +43 -0
  227. package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.d.ts +13 -0
  228. package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.js +45 -0
  229. package/serialization/resources/knowledge/types/index.d.ts +3 -0
  230. package/serialization/resources/knowledge/types/index.js +3 -0
  231. package/serialization/resources/segments/types/SegmentPatchRequest.d.ts +2 -0
  232. package/serialization/resources/segments/types/SegmentPatchRequest.js +2 -0
  233. package/serialization/resources/segments/types/SegmentRequest.d.ts +2 -0
  234. package/serialization/resources/segments/types/SegmentRequest.js +2 -0
  235. package/serialization/resources/segments/types/SegmentSummary.d.ts +14 -0
  236. package/serialization/resources/segments/types/SegmentSummary.js +47 -0
  237. package/serialization/resources/segments/types/index.d.ts +1 -0
  238. package/serialization/resources/segments/types/index.js +1 -0
  239. package/version.d.ts +1 -1
  240. package/version.js +1 -1
  241. package/api/resources/commons/types/IntelligentFieldCondition.d.ts +0 -37
  242. /package/api/resources/{commons/types/IntelligentFieldCondition.js → charters/types/CharterSummary.js} +0 -0
@@ -0,0 +1,156 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient";
3
+ import * as core from "../../../../core";
4
+ import * as MavenAGI from "../../../index";
5
+ export declare namespace IntelligentFieldsClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class IntelligentFieldsClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<IntelligentFieldsClient.Options>;
12
+ constructor(options: IntelligentFieldsClient.Options);
13
+ /**
14
+ * Create a new intelligent field. Intelligent fields are used to store custom LLM-generated values on entities like conversations or events.
15
+ *
16
+ * @param {MavenAGI.IntelligentFieldRequest} request
17
+ * @param {IntelligentFieldsClient.RequestOptions} requestOptions - Request-specific configuration.
18
+ *
19
+ * @throws {@link MavenAGI.NotFoundError}
20
+ * @throws {@link MavenAGI.BadRequestError}
21
+ * @throws {@link MavenAGI.PayloadTooLargeError}
22
+ * @throws {@link MavenAGI.TooManyRequestsError}
23
+ * @throws {@link MavenAGI.ServerError}
24
+ *
25
+ * @example
26
+ * await client.intelligentFields.createOrUpdate({
27
+ * fieldId: {
28
+ * referenceId: "ticket-priority"
29
+ * },
30
+ * name: "Ticket Priority",
31
+ * description: "The priority of the conversation based on urgency",
32
+ * entityType: "CONVERSATION",
33
+ * validationType: "STRING",
34
+ * enumOptions: [{
35
+ * value: "HIGH",
36
+ * label: "High Priority"
37
+ * }, {
38
+ * value: "MEDIUM",
39
+ * label: "Medium Priority"
40
+ * }, {
41
+ * value: "LOW",
42
+ * label: "Low Priority"
43
+ * }],
44
+ * definition: "The priority of the conversation based on the urgency and importance; draw from the content / messages in the conversation; must be one of HIGH, MEDIUM, or LOW."
45
+ * })
46
+ */
47
+ createOrUpdate(request: MavenAGI.IntelligentFieldRequest, requestOptions?: IntelligentFieldsClient.RequestOptions): core.HttpResponsePromise<MavenAGI.IntelligentFieldResponse>;
48
+ private __createOrUpdate;
49
+ /**
50
+ * Get an intelligent field by its supplied ID
51
+ *
52
+ * @param {string} fieldReferenceId - The reference ID of the intelligent field to get. All other entity ID fields are inferred from the request.
53
+ * @param {MavenAGI.IntelligentFieldGetRequest} request
54
+ * @param {IntelligentFieldsClient.RequestOptions} requestOptions - Request-specific configuration.
55
+ *
56
+ * @throws {@link MavenAGI.NotFoundError}
57
+ * @throws {@link MavenAGI.BadRequestError}
58
+ * @throws {@link MavenAGI.PayloadTooLargeError}
59
+ * @throws {@link MavenAGI.TooManyRequestsError}
60
+ * @throws {@link MavenAGI.ServerError}
61
+ *
62
+ * @example
63
+ * await client.intelligentFields.get("ticket-priority")
64
+ */
65
+ get(fieldReferenceId: string, request?: MavenAGI.IntelligentFieldGetRequest, requestOptions?: IntelligentFieldsClient.RequestOptions): core.HttpResponsePromise<MavenAGI.IntelligentFieldDetailResponse>;
66
+ private __get;
67
+ /**
68
+ * Patch an intelligent field. Can be used to update the definition, status, or other mutable properties.
69
+ *
70
+ * @param {string} fieldReferenceId - The reference ID of the intelligent field to patch.
71
+ * @param {MavenAGI.IntelligentFieldPatchRequest} request
72
+ * @param {IntelligentFieldsClient.RequestOptions} requestOptions - Request-specific configuration.
73
+ *
74
+ * @throws {@link MavenAGI.NotFoundError}
75
+ * @throws {@link MavenAGI.BadRequestError}
76
+ * @throws {@link MavenAGI.PayloadTooLargeError}
77
+ * @throws {@link MavenAGI.TooManyRequestsError}
78
+ * @throws {@link MavenAGI.ServerError}
79
+ *
80
+ * @example
81
+ * await client.intelligentFields.patch("ticket-priority", {
82
+ * definition: "The priority of the conversation based on the urgency and importance; draw from the content / messages in the conversation; must be one of HIGH, MEDIUM, or LOW."
83
+ * })
84
+ *
85
+ * @example
86
+ * await client.intelligentFields.patch("ticket-priority", {
87
+ * status: "INACTIVE"
88
+ * })
89
+ */
90
+ patch(fieldReferenceId: string, request?: MavenAGI.IntelligentFieldPatchRequest, requestOptions?: IntelligentFieldsClient.RequestOptions): core.HttpResponsePromise<MavenAGI.IntelligentFieldResponse>;
91
+ private __patch;
92
+ /**
93
+ * Soft delete an intelligent field. Only INACTIVE fields can be deleted.
94
+ *
95
+ * Deleted fields are excluded from search results but can still be retrieved by ID.
96
+ * Creating a new field with the same referenceId as a deleted field will overwrite
97
+ * the deleted field and restore it to INACTIVE status.
98
+ *
99
+ * Deleted fields cannot be modified.
100
+ *
101
+ * @param {string} fieldReferenceId - The reference ID of the intelligent field to delete.
102
+ * @param {MavenAGI.IntelligentFieldDeleteRequest} request
103
+ * @param {IntelligentFieldsClient.RequestOptions} requestOptions - Request-specific configuration.
104
+ *
105
+ * @throws {@link MavenAGI.NotFoundError}
106
+ * @throws {@link MavenAGI.BadRequestError}
107
+ * @throws {@link MavenAGI.PayloadTooLargeError}
108
+ * @throws {@link MavenAGI.TooManyRequestsError}
109
+ * @throws {@link MavenAGI.ServerError}
110
+ *
111
+ * @example
112
+ * await client.intelligentFields.delete("ticket-priority")
113
+ */
114
+ delete(fieldReferenceId: string, request?: MavenAGI.IntelligentFieldDeleteRequest, requestOptions?: IntelligentFieldsClient.RequestOptions): core.HttpResponsePromise<MavenAGI.IntelligentFieldResponse>;
115
+ private __delete;
116
+ /**
117
+ * Search computed values for intelligent fields across entities. Supports filtering by field properties and target entity.
118
+ *
119
+ * @param {MavenAGI.IntelligentFieldValueSearchRequest} request
120
+ * @param {IntelligentFieldsClient.RequestOptions} requestOptions - Request-specific configuration.
121
+ *
122
+ * @throws {@link MavenAGI.NotFoundError}
123
+ * @throws {@link MavenAGI.BadRequestError}
124
+ * @throws {@link MavenAGI.PayloadTooLargeError}
125
+ * @throws {@link MavenAGI.TooManyRequestsError}
126
+ * @throws {@link MavenAGI.ServerError}
127
+ *
128
+ * @example
129
+ * await client.intelligentFields.searchValues({
130
+ * fieldFilter: {
131
+ * fieldIds: [{
132
+ * referenceId: "ticket-priority",
133
+ * appId: "zendesk",
134
+ * type: "INTELLIGENT_FIELD",
135
+ * organizationId: "acme",
136
+ * agentId: "support"
137
+ * }]
138
+ * },
139
+ * entityFilter: {
140
+ * entityIds: [{
141
+ * referenceId: "conv-123",
142
+ * appId: "zendesk",
143
+ * type: "CONVERSATION",
144
+ * organizationId: "acme",
145
+ * agentId: "support"
146
+ * }]
147
+ * },
148
+ * page: 0,
149
+ * size: 20,
150
+ * sort: "CREATED_AT",
151
+ * sortDesc: true
152
+ * })
153
+ */
154
+ searchValues(request: MavenAGI.IntelligentFieldValueSearchRequest, requestOptions?: IntelligentFieldsClient.RequestOptions): core.HttpResponsePromise<MavenAGI.IntelligentFieldValueSearchResponse>;
155
+ private __searchValues;
156
+ }