mavenagi 1.2.58 → 1.2.60

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 (203) hide show
  1. package/BaseClient.js +2 -2
  2. package/Client.d.ts +3 -0
  3. package/Client.js +37 -32
  4. package/api/resources/actions/client/requests/ActionPatchRequest.d.ts +7 -3
  5. package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +7 -3
  6. package/api/resources/agents/types/AgentPrompting.d.ts +7 -3
  7. package/api/resources/analytics/client/Client.d.ts +7 -1
  8. package/api/resources/analytics/client/Client.js +7 -1
  9. package/api/resources/analytics/types/AgentUserRow.d.ts +5 -2
  10. package/api/resources/analytics/types/AgentUserRowIdentifier.d.ts +5 -0
  11. package/api/resources/analytics/types/AgentUserRowIdentifier.js +3 -0
  12. package/api/resources/analytics/types/AgentUserTableResponse.d.ts +7 -0
  13. package/api/resources/analytics/types/ConversationRow.d.ts +5 -2
  14. package/api/resources/analytics/types/ConversationRowIdentifier.d.ts +7 -0
  15. package/api/resources/analytics/types/ConversationRowIdentifier.js +3 -0
  16. package/api/resources/analytics/types/ConversationTableRequest.d.ts +0 -6
  17. package/api/resources/analytics/types/ConversationTableResponse.d.ts +56 -0
  18. package/api/resources/analytics/types/EventRow.d.ts +5 -2
  19. package/api/resources/analytics/types/EventRowIdentifier.d.ts +5 -0
  20. package/api/resources/analytics/types/EventRowIdentifier.js +3 -0
  21. package/api/resources/analytics/types/EventTableResponse.d.ts +14 -0
  22. package/api/resources/analytics/types/FeedbackRow.d.ts +5 -2
  23. package/api/resources/analytics/types/FeedbackRowIdentifier.d.ts +5 -0
  24. package/api/resources/analytics/types/FeedbackRowIdentifier.js +3 -0
  25. package/api/resources/analytics/types/FeedbackTableResponse.d.ts +14 -0
  26. package/api/resources/analytics/types/RowIdentifierBase.d.ts +5 -0
  27. package/api/resources/analytics/types/RowIdentifierBase.js +3 -0
  28. package/api/resources/analytics/types/index.d.ts +5 -0
  29. package/api/resources/analytics/types/index.js +5 -0
  30. package/api/resources/appDirectory/client/Client.d.ts +126 -0
  31. package/api/resources/appDirectory/client/Client.js +640 -0
  32. package/api/resources/appDirectory/client/index.d.ts +1 -0
  33. package/api/resources/appDirectory/client/index.js +17 -0
  34. package/api/resources/appDirectory/client/requests/GetAppSettingUploadUrlRequest.d.ts +11 -0
  35. package/api/resources/appDirectory/client/requests/GetAppSettingUploadUrlRequest.js +3 -0
  36. package/api/resources/appDirectory/client/requests/index.d.ts +1 -0
  37. package/api/resources/appDirectory/client/requests/index.js +2 -0
  38. package/api/resources/appDirectory/exports.d.ts +2 -0
  39. package/api/resources/appDirectory/exports.js +21 -0
  40. package/api/resources/appDirectory/index.d.ts +2 -0
  41. package/api/resources/appDirectory/index.js +18 -0
  42. package/api/resources/appDirectory/types/DirectoryAppSortField.d.ts +19 -0
  43. package/api/resources/appDirectory/types/DirectoryAppSortField.js +22 -0
  44. package/api/resources/appDirectory/types/DirectoryAppsSearchRequest.d.ts +7 -0
  45. package/api/resources/appDirectory/types/DirectoryAppsSearchRequest.js +3 -0
  46. package/api/resources/appDirectory/types/GetDirectoryAppSettingDownloadUrlResponse.d.ts +3 -0
  47. package/api/resources/appDirectory/types/GetDirectoryAppSettingDownloadUrlResponse.js +3 -0
  48. package/api/resources/appDirectory/types/GetDirectoryAppSettingUploadUrlResponse.d.ts +4 -0
  49. package/api/resources/appDirectory/types/GetDirectoryAppSettingUploadUrlResponse.js +3 -0
  50. package/api/resources/appDirectory/types/InstallDirectoryAppRequest.d.ts +44 -0
  51. package/api/resources/appDirectory/types/InstallDirectoryAppRequest.js +3 -0
  52. package/api/resources/appDirectory/types/index.d.ts +5 -0
  53. package/api/resources/appDirectory/types/index.js +21 -0
  54. package/api/resources/charters/types/CharterSummary.d.ts +7 -2
  55. package/api/resources/commons/types/ActionProperties.d.ts +12 -1
  56. package/api/resources/commons/types/ActionResponse.d.ts +3 -3
  57. package/api/resources/commons/types/BotLogicActionExecutedDetail.d.ts +10 -0
  58. package/api/resources/commons/types/BotLogicUserItem.d.ts +2 -0
  59. package/api/resources/commons/types/EventFilter.d.ts +5 -0
  60. package/api/resources/commons/types/EventTriggerType.d.ts +2 -0
  61. package/api/resources/commons/types/EventTriggerType.js +2 -0
  62. package/api/resources/commons/types/KnowledgeContextByEntities.d.ts +11 -0
  63. package/api/resources/commons/types/KnowledgeContextByEntityTypes.d.ts +3 -0
  64. package/api/resources/commons/types/KnowledgeContextFilter.d.ts +6 -1
  65. package/api/resources/commons/types/LlmPersona.d.ts +1 -0
  66. package/api/resources/commons/types/LlmPersona.js +1 -0
  67. package/api/resources/commons/types/NovelUserEvent.d.ts +4 -1
  68. package/api/resources/commons/types/ResponseConfig.d.ts +9 -3
  69. package/api/resources/commons/types/SideEffects.d.ts +10 -0
  70. package/api/resources/commons/types/SideEffects.js +13 -0
  71. package/api/resources/commons/types/SimulationContext.d.ts +3 -3
  72. package/api/resources/commons/types/SystemEventName.d.ts +24 -0
  73. package/api/resources/commons/types/SystemEventName.js +24 -0
  74. package/api/resources/commons/types/UserEvent.d.ts +4 -1
  75. package/api/resources/commons/types/UserEventName.d.ts +84 -0
  76. package/api/resources/commons/types/UserEventName.js +84 -0
  77. package/api/resources/commons/types/UserMessage.d.ts +7 -0
  78. package/api/resources/commons/types/index.d.ts +1 -0
  79. package/api/resources/commons/types/index.js +1 -0
  80. package/api/resources/conversation/client/Client.d.ts +3 -1
  81. package/api/resources/conversation/client/Client.js +3 -1
  82. package/api/resources/conversation/types/ConversationFilter.d.ts +9 -3
  83. package/api/resources/developersCommons/exports.d.ts +1 -0
  84. package/api/resources/developersCommons/exports.js +18 -0
  85. package/api/resources/developersCommons/types/AppInstalled.d.ts +5 -0
  86. package/api/resources/developersCommons/types/AppInstalled.js +8 -0
  87. package/api/resources/developersCommons/types/AppsFilter.d.ts +27 -0
  88. package/api/resources/developersCommons/types/AppsFilter.js +3 -0
  89. package/api/resources/developersCommons/types/AppsResponse.d.ts +15 -0
  90. package/api/resources/developersCommons/types/AppsResponse.js +3 -0
  91. package/api/resources/developersCommons/types/BaseApp.d.ts +32 -0
  92. package/api/resources/developersCommons/types/BaseApp.js +3 -0
  93. package/api/resources/developersCommons/types/BaseDetailApp.d.ts +19 -0
  94. package/api/resources/developersCommons/types/BaseDetailApp.js +3 -0
  95. package/api/resources/developersCommons/types/CountByFilterResult.d.ts +11 -0
  96. package/api/resources/developersCommons/types/CountByFilterResult.js +3 -0
  97. package/api/resources/developersCommons/types/DeveloperOrganization.d.ts +15 -0
  98. package/api/resources/developersCommons/types/DeveloperOrganization.js +3 -0
  99. package/api/resources/developersCommons/types/Link.d.ts +6 -0
  100. package/api/resources/developersCommons/types/MarketplaceApp.d.ts +8 -0
  101. package/api/resources/developersCommons/types/MarketplaceApp.js +3 -0
  102. package/api/resources/developersCommons/types/MarketplaceAppDetail.d.ts +35 -0
  103. package/api/resources/developersCommons/types/MarketplaceAppDetail.js +3 -0
  104. package/api/resources/developersCommons/types/index.d.ts +9 -0
  105. package/api/resources/developersCommons/types/index.js +9 -0
  106. package/api/resources/index.d.ts +3 -0
  107. package/api/resources/index.js +4 -1
  108. package/api/resources/knowledge/client/requests/KnowledgeBasePatchRequest.d.ts +18 -10
  109. package/api/resources/knowledge/types/KnowledgeBaseFilter.d.ts +6 -1
  110. package/api/resources/knowledge/types/KnowledgeBaseProperties.d.ts +5 -1
  111. package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +10 -6
  112. package/api/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +14 -1
  113. package/api/resources/segments/client/Client.d.ts +10 -0
  114. package/api/resources/segments/client/Client.js +10 -0
  115. package/api/resources/triggers/types/EventTriggerBase.d.ts +3 -1
  116. package/package.json +1 -1
  117. package/reference.md +426 -2
  118. package/serialization/resources/actions/client/requests/ActionPatchRequest.d.ts +2 -0
  119. package/serialization/resources/actions/client/requests/ActionPatchRequest.js +2 -0
  120. package/serialization/resources/analytics/types/AgentUserRow.d.ts +2 -0
  121. package/serialization/resources/analytics/types/AgentUserRow.js +2 -0
  122. package/serialization/resources/analytics/types/AgentUserRowIdentifier.d.ts +11 -0
  123. package/serialization/resources/analytics/types/AgentUserRowIdentifier.js +45 -0
  124. package/serialization/resources/analytics/types/ConversationRow.d.ts +2 -0
  125. package/serialization/resources/analytics/types/ConversationRow.js +2 -0
  126. package/serialization/resources/analytics/types/ConversationRowIdentifier.d.ts +13 -0
  127. package/serialization/resources/analytics/types/ConversationRowIdentifier.js +47 -0
  128. package/serialization/resources/analytics/types/EventRow.d.ts +2 -0
  129. package/serialization/resources/analytics/types/EventRow.js +2 -0
  130. package/serialization/resources/analytics/types/EventRowIdentifier.d.ts +11 -0
  131. package/serialization/resources/analytics/types/EventRowIdentifier.js +45 -0
  132. package/serialization/resources/analytics/types/FeedbackRow.d.ts +2 -0
  133. package/serialization/resources/analytics/types/FeedbackRow.js +2 -0
  134. package/serialization/resources/analytics/types/FeedbackRowIdentifier.d.ts +11 -0
  135. package/serialization/resources/analytics/types/FeedbackRowIdentifier.js +45 -0
  136. package/serialization/resources/analytics/types/RowIdentifierBase.d.ts +10 -0
  137. package/serialization/resources/analytics/types/RowIdentifierBase.js +42 -0
  138. package/serialization/resources/analytics/types/index.d.ts +5 -0
  139. package/serialization/resources/analytics/types/index.js +5 -0
  140. package/serialization/resources/appDirectory/client/index.d.ts +1 -0
  141. package/serialization/resources/appDirectory/client/index.js +17 -0
  142. package/serialization/resources/appDirectory/client/requests/GetAppSettingUploadUrlRequest.d.ts +10 -0
  143. package/serialization/resources/appDirectory/client/requests/GetAppSettingUploadUrlRequest.js +42 -0
  144. package/serialization/resources/appDirectory/client/requests/index.d.ts +1 -0
  145. package/serialization/resources/appDirectory/client/requests/index.js +5 -0
  146. package/serialization/resources/appDirectory/index.d.ts +2 -0
  147. package/serialization/resources/appDirectory/index.js +18 -0
  148. package/serialization/resources/appDirectory/types/DirectoryAppSortField.d.ts +7 -0
  149. package/serialization/resources/appDirectory/types/DirectoryAppSortField.js +39 -0
  150. package/serialization/resources/appDirectory/types/DirectoryAppsSearchRequest.d.ts +13 -0
  151. package/serialization/resources/appDirectory/types/DirectoryAppsSearchRequest.js +47 -0
  152. package/serialization/resources/appDirectory/types/GetDirectoryAppSettingDownloadUrlResponse.d.ts +9 -0
  153. package/serialization/resources/appDirectory/types/GetDirectoryAppSettingDownloadUrlResponse.js +41 -0
  154. package/serialization/resources/appDirectory/types/GetDirectoryAppSettingUploadUrlResponse.d.ts +10 -0
  155. package/serialization/resources/appDirectory/types/GetDirectoryAppSettingUploadUrlResponse.js +42 -0
  156. package/serialization/resources/appDirectory/types/InstallDirectoryAppRequest.d.ts +9 -0
  157. package/serialization/resources/appDirectory/types/InstallDirectoryAppRequest.js +41 -0
  158. package/serialization/resources/appDirectory/types/index.d.ts +5 -0
  159. package/serialization/resources/appDirectory/types/index.js +21 -0
  160. package/serialization/resources/charters/types/CharterSummary.d.ts +2 -1
  161. package/serialization/resources/charters/types/CharterSummary.js +2 -0
  162. package/serialization/resources/commons/types/ActionProperties.d.ts +2 -0
  163. package/serialization/resources/commons/types/ActionProperties.js +2 -0
  164. package/serialization/resources/commons/types/BotLogicActionExecutedDetail.d.ts +3 -0
  165. package/serialization/resources/commons/types/BotLogicActionExecutedDetail.js +3 -0
  166. package/serialization/resources/commons/types/BotLogicUserItem.d.ts +1 -0
  167. package/serialization/resources/commons/types/BotLogicUserItem.js +1 -0
  168. package/serialization/resources/commons/types/SideEffects.d.ts +7 -0
  169. package/serialization/resources/commons/types/SideEffects.js +39 -0
  170. package/serialization/resources/commons/types/SystemEventName.d.ts +1 -1
  171. package/serialization/resources/commons/types/SystemEventName.js +13 -1
  172. package/serialization/resources/commons/types/UserEventName.d.ts +1 -1
  173. package/serialization/resources/commons/types/UserEventName.js +28 -0
  174. package/serialization/resources/commons/types/UserMessage.d.ts +1 -0
  175. package/serialization/resources/commons/types/UserMessage.js +1 -0
  176. package/serialization/resources/commons/types/index.d.ts +1 -0
  177. package/serialization/resources/commons/types/index.js +1 -0
  178. package/serialization/resources/conversation/types/ConversationFilter.d.ts +2 -0
  179. package/serialization/resources/conversation/types/ConversationFilter.js +2 -0
  180. package/serialization/resources/developersCommons/types/AppInstalled.d.ts +7 -0
  181. package/serialization/resources/developersCommons/types/AppInstalled.js +39 -0
  182. package/serialization/resources/developersCommons/types/AppsFilter.d.ts +18 -0
  183. package/serialization/resources/developersCommons/types/AppsFilter.js +50 -0
  184. package/serialization/resources/developersCommons/types/AppsResponse.d.ts +14 -0
  185. package/serialization/resources/developersCommons/types/AppsResponse.js +48 -0
  186. package/serialization/resources/developersCommons/types/BaseApp.d.ts +23 -0
  187. package/serialization/resources/developersCommons/types/BaseApp.js +55 -0
  188. package/serialization/resources/developersCommons/types/BaseDetailApp.d.ts +15 -0
  189. package/serialization/resources/developersCommons/types/BaseDetailApp.js +50 -0
  190. package/serialization/resources/developersCommons/types/CountByFilterResult.d.ts +12 -0
  191. package/serialization/resources/developersCommons/types/CountByFilterResult.js +44 -0
  192. package/serialization/resources/developersCommons/types/DeveloperOrganization.d.ts +13 -0
  193. package/serialization/resources/developersCommons/types/DeveloperOrganization.js +45 -0
  194. package/serialization/resources/developersCommons/types/MarketplaceApp.d.ts +11 -0
  195. package/serialization/resources/developersCommons/types/MarketplaceApp.js +45 -0
  196. package/serialization/resources/developersCommons/types/MarketplaceAppDetail.d.ts +12 -0
  197. package/serialization/resources/developersCommons/types/MarketplaceAppDetail.js +46 -0
  198. package/serialization/resources/developersCommons/types/index.d.ts +9 -0
  199. package/serialization/resources/developersCommons/types/index.js +9 -0
  200. package/serialization/resources/index.d.ts +3 -0
  201. package/serialization/resources/index.js +4 -1
  202. package/version.d.ts +1 -1
  203. package/version.js +1 -1
package/BaseClient.js CHANGED
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "mavenagi",
46
- "X-Fern-SDK-Version": "1.2.58",
47
- "User-Agent": "mavenagi/1.2.58",
46
+ "X-Fern-SDK-Version": "1.2.60",
47
+ "User-Agent": "mavenagi/1.2.60",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  "X-Organization-Id": options === null || options === void 0 ? void 0 : options.organizationId,
package/Client.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { ActionsClient } from "./api/resources/actions/client/Client";
2
2
  import { AgentsClient } from "./api/resources/agents/client/Client";
3
3
  import { AnalyticsClient } from "./api/resources/analytics/client/Client";
4
+ import { AppDirectoryClient } from "./api/resources/appDirectory/client/Client";
4
5
  import { AppSettingsClient } from "./api/resources/appSettings/client/Client";
5
6
  import { AssetsClient } from "./api/resources/assets/client/Client";
6
7
  import { ConversationClient } from "./api/resources/conversation/client/Client";
@@ -30,6 +31,7 @@ export declare class MavenAGIClient {
30
31
  protected _actions: ActionsClient | undefined;
31
32
  protected _agents: AgentsClient | undefined;
32
33
  protected _analytics: AnalyticsClient | undefined;
34
+ protected _appDirectory: AppDirectoryClient | undefined;
33
35
  protected _appSettings: AppSettingsClient | undefined;
34
36
  protected _assets: AssetsClient | undefined;
35
37
  protected _conversation: ConversationClient | undefined;
@@ -50,6 +52,7 @@ export declare class MavenAGIClient {
50
52
  get actions(): ActionsClient;
51
53
  get agents(): AgentsClient;
52
54
  get analytics(): AnalyticsClient;
55
+ get appDirectory(): AppDirectoryClient;
53
56
  get appSettings(): AppSettingsClient;
54
57
  get assets(): AssetsClient;
55
58
  get conversation(): ConversationClient;
package/Client.js CHANGED
@@ -47,22 +47,23 @@ exports.MavenAGIClient = void 0;
47
47
  const Client_1 = require("./api/resources/actions/client/Client");
48
48
  const Client_2 = require("./api/resources/agents/client/Client");
49
49
  const Client_3 = require("./api/resources/analytics/client/Client");
50
- const Client_4 = require("./api/resources/appSettings/client/Client");
51
- const Client_5 = require("./api/resources/assets/client/Client");
52
- const Client_6 = require("./api/resources/conversation/client/Client");
53
- const Client_7 = require("./api/resources/customers/client/Client");
54
- const Client_8 = require("./api/resources/events/client/Client");
55
- const Client_9 = require("./api/resources/inbox/client/Client");
56
- const Client_10 = require("./api/resources/integrations/client/Client");
57
- const Client_11 = require("./api/resources/intelligentFields/client/Client");
58
- const Client_12 = require("./api/resources/knowledge/client/Client");
59
- const Client_13 = require("./api/resources/organizations/client/Client");
60
- const Client_14 = require("./api/resources/segments/client/Client");
61
- const Client_15 = require("./api/resources/translations/client/Client");
62
- const Client_16 = require("./api/resources/triggers/client/Client");
63
- const Client_17 = require("./api/resources/users/client/Client");
64
- const Client_18 = require("./api/resources/voice/client/Client");
65
- const Client_19 = require("./api/resources/voiceConversations/client/Client");
50
+ const Client_4 = require("./api/resources/appDirectory/client/Client");
51
+ const Client_5 = require("./api/resources/appSettings/client/Client");
52
+ const Client_6 = require("./api/resources/assets/client/Client");
53
+ const Client_7 = require("./api/resources/conversation/client/Client");
54
+ const Client_8 = require("./api/resources/customers/client/Client");
55
+ const Client_9 = require("./api/resources/events/client/Client");
56
+ const Client_10 = require("./api/resources/inbox/client/Client");
57
+ const Client_11 = require("./api/resources/integrations/client/Client");
58
+ const Client_12 = require("./api/resources/intelligentFields/client/Client");
59
+ const Client_13 = require("./api/resources/knowledge/client/Client");
60
+ const Client_14 = require("./api/resources/organizations/client/Client");
61
+ const Client_15 = require("./api/resources/segments/client/Client");
62
+ const Client_16 = require("./api/resources/translations/client/Client");
63
+ const Client_17 = require("./api/resources/triggers/client/Client");
64
+ const Client_18 = require("./api/resources/users/client/Client");
65
+ const Client_19 = require("./api/resources/voice/client/Client");
66
+ const Client_20 = require("./api/resources/voiceConversations/client/Client");
66
67
  const BaseClient_1 = require("./BaseClient");
67
68
  const core = __importStar(require("./core"));
68
69
  class MavenAGIClient {
@@ -81,69 +82,73 @@ class MavenAGIClient {
81
82
  var _a;
82
83
  return ((_a = this._analytics) !== null && _a !== void 0 ? _a : (this._analytics = new Client_3.AnalyticsClient(this._options)));
83
84
  }
85
+ get appDirectory() {
86
+ var _a;
87
+ return ((_a = this._appDirectory) !== null && _a !== void 0 ? _a : (this._appDirectory = new Client_4.AppDirectoryClient(this._options)));
88
+ }
84
89
  get appSettings() {
85
90
  var _a;
86
- return ((_a = this._appSettings) !== null && _a !== void 0 ? _a : (this._appSettings = new Client_4.AppSettingsClient(this._options)));
91
+ return ((_a = this._appSettings) !== null && _a !== void 0 ? _a : (this._appSettings = new Client_5.AppSettingsClient(this._options)));
87
92
  }
88
93
  get assets() {
89
94
  var _a;
90
- return ((_a = this._assets) !== null && _a !== void 0 ? _a : (this._assets = new Client_5.AssetsClient(this._options)));
95
+ return ((_a = this._assets) !== null && _a !== void 0 ? _a : (this._assets = new Client_6.AssetsClient(this._options)));
91
96
  }
92
97
  get conversation() {
93
98
  var _a;
94
- return ((_a = this._conversation) !== null && _a !== void 0 ? _a : (this._conversation = new Client_6.ConversationClient(this._options)));
99
+ return ((_a = this._conversation) !== null && _a !== void 0 ? _a : (this._conversation = new Client_7.ConversationClient(this._options)));
95
100
  }
96
101
  get customers() {
97
102
  var _a;
98
- return ((_a = this._customers) !== null && _a !== void 0 ? _a : (this._customers = new Client_7.CustomersClient(this._options)));
103
+ return ((_a = this._customers) !== null && _a !== void 0 ? _a : (this._customers = new Client_8.CustomersClient(this._options)));
99
104
  }
100
105
  get events() {
101
106
  var _a;
102
- return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new Client_8.EventsClient(this._options)));
107
+ return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new Client_9.EventsClient(this._options)));
103
108
  }
104
109
  get inbox() {
105
110
  var _a;
106
- return ((_a = this._inbox) !== null && _a !== void 0 ? _a : (this._inbox = new Client_9.InboxClient(this._options)));
111
+ return ((_a = this._inbox) !== null && _a !== void 0 ? _a : (this._inbox = new Client_10.InboxClient(this._options)));
107
112
  }
108
113
  get integrations() {
109
114
  var _a;
110
- return ((_a = this._integrations) !== null && _a !== void 0 ? _a : (this._integrations = new Client_10.IntegrationsClient(this._options)));
115
+ return ((_a = this._integrations) !== null && _a !== void 0 ? _a : (this._integrations = new Client_11.IntegrationsClient(this._options)));
111
116
  }
112
117
  get intelligentFields() {
113
118
  var _a;
114
- return ((_a = this._intelligentFields) !== null && _a !== void 0 ? _a : (this._intelligentFields = new Client_11.IntelligentFieldsClient(this._options)));
119
+ return ((_a = this._intelligentFields) !== null && _a !== void 0 ? _a : (this._intelligentFields = new Client_12.IntelligentFieldsClient(this._options)));
115
120
  }
116
121
  get knowledge() {
117
122
  var _a;
118
- return ((_a = this._knowledge) !== null && _a !== void 0 ? _a : (this._knowledge = new Client_12.KnowledgeClient(this._options)));
123
+ return ((_a = this._knowledge) !== null && _a !== void 0 ? _a : (this._knowledge = new Client_13.KnowledgeClient(this._options)));
119
124
  }
120
125
  get organizations() {
121
126
  var _a;
122
- return ((_a = this._organizations) !== null && _a !== void 0 ? _a : (this._organizations = new Client_13.OrganizationsClient(this._options)));
127
+ return ((_a = this._organizations) !== null && _a !== void 0 ? _a : (this._organizations = new Client_14.OrganizationsClient(this._options)));
123
128
  }
124
129
  get segments() {
125
130
  var _a;
126
- return ((_a = this._segments) !== null && _a !== void 0 ? _a : (this._segments = new Client_14.SegmentsClient(this._options)));
131
+ return ((_a = this._segments) !== null && _a !== void 0 ? _a : (this._segments = new Client_15.SegmentsClient(this._options)));
127
132
  }
128
133
  get translations() {
129
134
  var _a;
130
- return ((_a = this._translations) !== null && _a !== void 0 ? _a : (this._translations = new Client_15.TranslationsClient(this._options)));
135
+ return ((_a = this._translations) !== null && _a !== void 0 ? _a : (this._translations = new Client_16.TranslationsClient(this._options)));
131
136
  }
132
137
  get triggers() {
133
138
  var _a;
134
- return ((_a = this._triggers) !== null && _a !== void 0 ? _a : (this._triggers = new Client_16.TriggersClient(this._options)));
139
+ return ((_a = this._triggers) !== null && _a !== void 0 ? _a : (this._triggers = new Client_17.TriggersClient(this._options)));
135
140
  }
136
141
  get users() {
137
142
  var _a;
138
- return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_17.UsersClient(this._options)));
143
+ return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_18.UsersClient(this._options)));
139
144
  }
140
145
  get voiceConversations() {
141
146
  var _a;
142
- return ((_a = this._voiceConversations) !== null && _a !== void 0 ? _a : (this._voiceConversations = new Client_19.VoiceConversationsClient(this._options)));
147
+ return ((_a = this._voiceConversations) !== null && _a !== void 0 ? _a : (this._voiceConversations = new Client_20.VoiceConversationsClient(this._options)));
143
148
  }
144
149
  get voice() {
145
150
  var _a;
146
- return ((_a = this._voice) !== null && _a !== void 0 ? _a : (this._voice = new Client_18.VoiceClient(this._options)));
151
+ return ((_a = this._voice) !== null && _a !== void 0 ? _a : (this._voice = new Client_19.VoiceClient(this._options)));
147
152
  }
148
153
  /**
149
154
  * Make a passthrough request using the SDK's configured auth, retry, logging, etc.
@@ -21,11 +21,15 @@ export interface ActionPatchRequest {
21
21
  /** Determines whether the action is sent to the LLM as part of a conversation. */
22
22
  llmInclusionStatus?: MavenAGI.LlmInclusionStatus;
23
23
  /**
24
+ * Deprecated. Superseded by charters, which determine when knowledge bases and actions apply. Has no effect for agents using charters.
25
+ *
24
26
  * The ID of the segment that must be matched for the action to be relevant to a conversation.
25
27
  * A null value will remove the segment from the action, it will be available on all conversations.
26
- *
27
- * Segments are replacing inline preconditions - an action may not have both an inline precondition and a segment.
28
- * Inline precondition support will be removed in a future release.
29
28
  */
30
29
  segmentId?: MavenAGI.EntityId | null;
30
+ /**
31
+ * Whether executing this action causes side effects.
32
+ * A null value clears it back to undeclared.
33
+ */
34
+ sideEffects?: MavenAGI.SideEffects | null;
31
35
  }
@@ -14,14 +14,18 @@ export interface AgentPatchRequest {
14
14
  enabledPiiCategories?: Set<MavenAGI.PiiCategory>;
15
15
  /** The system fallback message. */
16
16
  systemFallbackMessage?: string | null;
17
- /** The overall persona of the agent. */
17
+ /** Deprecated. Superseded by charters, which determine agent behavior per turn. Has no effect for agents using charters. */
18
18
  persona?: MavenAGI.LlmPersona;
19
- /** Additional text directly appended to the prompt. */
19
+ /** Deprecated. Superseded by charters, which determine agent behavior per turn. Has no effect for agents using charters. */
20
20
  additionalPromptText?: string | null;
21
21
  /** LLM prompt for category generation. */
22
22
  categoryGenerationPromptText?: string | null;
23
23
  /** LLM prompt for generating a response when the user's question has been detected as unsafe. */
24
24
  contentSafetyViolationResponsePromptText?: string | null;
25
- /** Return the system fallback message on all questions that have no relevant knowledge bases or actions. */
25
+ /**
26
+ * Deprecated. Superseded by charters, which determine agent behavior per turn. Has no effect for agents using charters.
27
+ *
28
+ * Return the system fallback message on all questions that have no relevant knowledge bases or actions.
29
+ */
26
30
  rejectQuestionsWithoutKnowledge?: boolean;
27
31
  }
@@ -1,8 +1,8 @@
1
1
  import type * as MavenAGI from "../../../index";
2
2
  export interface AgentPrompting {
3
- /** The overall persona of the agent. */
3
+ /** Deprecated. Superseded by charters, which determine agent behavior per turn. Has no effect for agents using charters. */
4
4
  persona: MavenAGI.LlmPersona;
5
- /** Additional text directly appended to the prompt. This field is replaced by Knowledge Documents with `llmInclusionsStatus` set to `ALWAYS`. */
5
+ /** Deprecated. Superseded by charters, which determine agent behavior per turn. Has no effect for agents using charters. */
6
6
  additionalPromptText?: string;
7
7
  /**
8
8
  * LLM prompt for category generation.
@@ -18,6 +18,10 @@ export interface AgentPrompting {
18
18
  * When not set, the system fallback message will be used and replies will not be personalized by the LLM as it will not be involved.
19
19
  */
20
20
  contentSafetyViolationResponsePromptText?: string;
21
- /** Return the system fallback message on all questions that have no relevant knowledge bases or actions. */
21
+ /**
22
+ * Deprecated. Superseded by charters, which determine agent behavior per turn. Has no effect for agents using charters.
23
+ *
24
+ * Return the system fallback message on all questions that have no relevant knowledge bases or actions.
25
+ */
22
26
  rejectQuestionsWithoutKnowledge: boolean;
23
27
  }
@@ -128,7 +128,13 @@ export declare class AnalyticsClient {
128
128
  exportConversationTable(request: MavenAGI.ConversationTableRequest, requestOptions?: AnalyticsClient.RequestOptions): core.HttpResponsePromise<core.BinaryResponse>;
129
129
  private __exportConversationTable;
130
130
  /**
131
- * Retrieves structured feedback data formatted as a table, allowing users to group, filter, and define specific metrics to display as columns.
131
+ * @deprecated
132
+ *
133
+ * Deprecated. Use `getEventTable` instead, which reports the same thumbs up/down and insert
134
+ * activity as user events.
135
+ *
136
+ * Retrieves structured feedback data formatted as a table, allowing users to group, filter,
137
+ * and define specific metrics to display as columns.
132
138
  *
133
139
  * @param {MavenAGI.FeedbackTableRequest} request
134
140
  * @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -413,7 +413,13 @@ class AnalyticsClient {
413
413
  });
414
414
  }
415
415
  /**
416
- * Retrieves structured feedback data formatted as a table, allowing users to group, filter, and define specific metrics to display as columns.
416
+ * @deprecated
417
+ *
418
+ * Deprecated. Use `getEventTable` instead, which reports the same thumbs up/down and insert
419
+ * activity as user events.
420
+ *
421
+ * Retrieves structured feedback data formatted as a table, allowing users to group, filter,
422
+ * and define specific metrics to display as columns.
417
423
  *
418
424
  * @param {MavenAGI.FeedbackTableRequest} request
419
425
  * @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -1,8 +1,11 @@
1
1
  import type * as MavenAGI from "../../../index";
2
2
  export interface AgentUserRow extends MavenAGI.RowBase {
3
3
  /**
4
- * A unique identifier for each row, consisting of field names mapped to their respective values.
5
- * This includes time groupings and any specified field groupings.
4
+ * Keyed by field, so it cannot represent two groupings that share a key - notably two
5
+ * intelligent fields. Use `identifiers`, which carries one entry per grouping in request
6
+ * order.
6
7
  */
7
8
  identifier: Partial<Record<MavenAGI.AgentUserField, MavenAGI.FieldValue>>;
9
+ /** One entry per grouping, in the order the groupings were requested. */
10
+ identifiers: MavenAGI.AgentUserRowIdentifier[];
8
11
  }
@@ -0,0 +1,5 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ export interface AgentUserRowIdentifier extends MavenAGI.RowIdentifierBase {
3
+ /** Field this grouping was on. */
4
+ field: MavenAGI.AgentUserField;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -10,6 +10,13 @@ import type * as MavenAGI from "../../../index";
10
10
  * value: new Date("2023-10-01T00:00:00.000Z")
11
11
  * }
12
12
  * },
13
+ * identifiers: [{
14
+ * field: MavenAGI.AgentUserField.CreatedAt,
15
+ * value: {
16
+ * type: "dateTime",
17
+ * value: new Date("2023-10-01T00:00:00.000Z")
18
+ * }
19
+ * }],
13
20
  * data: {
14
21
  * "user_count": {
15
22
  * type: "double",
@@ -1,8 +1,11 @@
1
1
  import type * as MavenAGI from "../../../index";
2
2
  export interface ConversationRow extends MavenAGI.RowBase {
3
3
  /**
4
- * A unique identifier for each row, consisting of field names mapped to their respective values.
5
- * This includes time groupings and any specified field groupings.
4
+ * Keyed by field, so it cannot represent two groupings that share a key - notably two
5
+ * intelligent fields. Use `identifiers`, which carries one entry per grouping in request
6
+ * order.
6
7
  */
7
8
  identifier: Partial<Record<MavenAGI.ConversationField, MavenAGI.FieldValue>>;
9
+ /** One entry per grouping, in the order the groupings were requested. */
10
+ identifiers: MavenAGI.ConversationRowIdentifier[];
8
11
  }
@@ -0,0 +1,7 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ export interface ConversationRowIdentifier extends MavenAGI.RowIdentifierBase {
3
+ /** Field this grouping was on. */
4
+ field: MavenAGI.ConversationField;
5
+ /** Which intelligent field this grouping was on, set when `field` is `IntelligentField`. */
6
+ intelligentFieldId?: MavenAGI.EntityId;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -38,12 +38,6 @@ export interface ConversationTableRequest extends MavenAGI.ConversationAnalytics
38
38
  * If multiple fields are provided, the result is grouped by their unique value combinations.
39
39
  * If empty, all data is aggregated into a single row. |
40
40
  * Note: The field `CreatedAt` should not be used here, all time-based grouping should be done using the `timeGrouping` field.
41
- *
42
- * Note: A row's `identifier` cannot name an intelligent field, so an `IntelligentField`
43
- * grouping is not currently distinguishable here from a second `IntelligentField` grouping,
44
- * nor from `timeGrouping`. Row counts are correct in both cases, but the identifier keeps
45
- * only one value. Use a single `IntelligentField` grouping with no `timeGrouping`, or a
46
- * chart, which is unaffected.
47
41
  */
48
42
  fieldGroupings: MavenAGI.ConversationGroupBy[];
49
43
  /** Specifies the metrics to be displayed as columns. Column headers act as keys, with computed metric values as their mapped values. There needs to be at least one column definition in the table request. */
@@ -14,6 +14,19 @@ import type * as MavenAGI from "../../../index";
14
14
  * value: new Date("2023-10-01T00:00:00.000Z")
15
15
  * }
16
16
  * },
17
+ * identifiers: [{
18
+ * field: MavenAGI.ConversationField.Category,
19
+ * value: {
20
+ * type: "string",
21
+ * value: "Sales"
22
+ * }
23
+ * }, {
24
+ * field: MavenAGI.ConversationField.CreatedAt,
25
+ * value: {
26
+ * type: "dateTime",
27
+ * value: new Date("2023-10-01T00:00:00.000Z")
28
+ * }
29
+ * }],
17
30
  * data: {
18
31
  * "count": {
19
32
  * type: "double",
@@ -39,6 +52,19 @@ import type * as MavenAGI from "../../../index";
39
52
  * value: new Date("2023-10-01T00:00:00.000Z")
40
53
  * }
41
54
  * },
55
+ * identifiers: [{
56
+ * field: MavenAGI.ConversationField.Category,
57
+ * value: {
58
+ * type: "string",
59
+ * value: "Support"
60
+ * }
61
+ * }, {
62
+ * field: MavenAGI.ConversationField.CreatedAt,
63
+ * value: {
64
+ * type: "dateTime",
65
+ * value: new Date("2023-10-01T00:00:00.000Z")
66
+ * }
67
+ * }],
42
68
  * data: {
43
69
  * "count": {
44
70
  * type: "double",
@@ -58,8 +84,25 @@ import type * as MavenAGI from "../../../index";
58
84
  * [MavenAGI.ConversationField.Category]: {
59
85
  * type: "string",
60
86
  * value: "Sales"
87
+ * },
88
+ * [MavenAGI.ConversationField.CreatedAt]: {
89
+ * type: "dateTime",
90
+ * value: new Date("2023-10-02T00:00:00.000Z")
61
91
  * }
62
92
  * },
93
+ * identifiers: [{
94
+ * field: MavenAGI.ConversationField.Category,
95
+ * value: {
96
+ * type: "string",
97
+ * value: "Sales"
98
+ * }
99
+ * }, {
100
+ * field: MavenAGI.ConversationField.CreatedAt,
101
+ * value: {
102
+ * type: "dateTime",
103
+ * value: new Date("2023-10-02T00:00:00.000Z")
104
+ * }
105
+ * }],
63
106
  * data: {
64
107
  * "count": {
65
108
  * type: "double",
@@ -85,6 +128,19 @@ import type * as MavenAGI from "../../../index";
85
128
  * value: new Date("2023-10-02T00:00:00.000Z")
86
129
  * }
87
130
  * },
131
+ * identifiers: [{
132
+ * field: MavenAGI.ConversationField.Category,
133
+ * value: {
134
+ * type: "string",
135
+ * value: "Support"
136
+ * }
137
+ * }, {
138
+ * field: MavenAGI.ConversationField.CreatedAt,
139
+ * value: {
140
+ * type: "dateTime",
141
+ * value: new Date("2023-10-02T00:00:00.000Z")
142
+ * }
143
+ * }],
88
144
  * data: {
89
145
  * "count": {
90
146
  * type: "double",
@@ -1,8 +1,11 @@
1
1
  import type * as MavenAGI from "../../../index";
2
2
  export interface EventRow extends MavenAGI.RowBase {
3
3
  /**
4
- * A unique identifier for each row, consisting of field names mapped to their respective values.
5
- * This includes time groupings and any specified field groupings.
4
+ * Keyed by field, so it cannot represent two groupings that share a key - notably two
5
+ * intelligent fields. Use `identifiers`, which carries one entry per grouping in request
6
+ * order.
6
7
  */
7
8
  identifier: Partial<Record<MavenAGI.EventField, MavenAGI.FieldValue>>;
9
+ /** One entry per grouping, in the order the groupings were requested. */
10
+ identifiers: MavenAGI.EventRowIdentifier[];
8
11
  }
@@ -0,0 +1,5 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ export interface EventRowIdentifier extends MavenAGI.RowIdentifierBase {
3
+ /** Field this grouping was on. */
4
+ field: MavenAGI.EventField;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -10,6 +10,13 @@ import type * as MavenAGI from "../../../index";
10
10
  * value: "CHAT_OPENED"
11
11
  * }
12
12
  * },
13
+ * identifiers: [{
14
+ * field: MavenAGI.EventField.EventName,
15
+ * value: {
16
+ * type: "string",
17
+ * value: "CHAT_OPENED"
18
+ * }
19
+ * }],
13
20
  * data: {
14
21
  * "event_count": {
15
22
  * type: "double",
@@ -23,6 +30,13 @@ import type * as MavenAGI from "../../../index";
23
30
  * value: "CHAT_CLOSED"
24
31
  * }
25
32
  * },
33
+ * identifiers: [{
34
+ * field: MavenAGI.EventField.EventName,
35
+ * value: {
36
+ * type: "string",
37
+ * value: "CHAT_CLOSED"
38
+ * }
39
+ * }],
26
40
  * data: {
27
41
  * "event_count": {
28
42
  * type: "double",
@@ -1,8 +1,11 @@
1
1
  import type * as MavenAGI from "../../../index";
2
2
  export interface FeedbackRow extends MavenAGI.RowBase {
3
3
  /**
4
- * A unique identifier for each row, consisting of field names mapped to their respective values.
5
- * This includes time groupings and any specified field groupings.
4
+ * Keyed by field, so it cannot represent two groupings that share a key - notably two
5
+ * intelligent fields. Use `identifiers`, which carries one entry per grouping in request
6
+ * order.
6
7
  */
7
8
  identifier: Partial<Record<MavenAGI.FeedbackField, MavenAGI.FieldValue>>;
9
+ /** One entry per grouping, in the order the groupings were requested. */
10
+ identifiers: MavenAGI.FeedbackRowIdentifier[];
8
11
  }
@@ -0,0 +1,5 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ export interface FeedbackRowIdentifier extends MavenAGI.RowIdentifierBase {
3
+ /** Field this grouping was on. */
4
+ field: MavenAGI.FeedbackField;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -10,6 +10,13 @@ import type * as MavenAGI from "../../../index";
10
10
  * value: "John Doe"
11
11
  * }
12
12
  * },
13
+ * identifiers: [{
14
+ * field: MavenAGI.FeedbackField.CreatedBy,
15
+ * value: {
16
+ * type: "string",
17
+ * value: "John Doe"
18
+ * }
19
+ * }],
13
20
  * data: {
14
21
  * "feedback_count": {
15
22
  * type: "double",
@@ -23,6 +30,13 @@ import type * as MavenAGI from "../../../index";
23
30
  * value: "Jane Smith"
24
31
  * }
25
32
  * },
33
+ * identifiers: [{
34
+ * field: MavenAGI.FeedbackField.CreatedBy,
35
+ * value: {
36
+ * type: "string",
37
+ * value: "Jane Smith"
38
+ * }
39
+ * }],
26
40
  * data: {
27
41
  * "feedback_count": {
28
42
  * type: "double",
@@ -0,0 +1,5 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ export interface RowIdentifierBase {
3
+ /** The row's value for this grouping. */
4
+ value: MavenAGI.FieldValue;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,6 +3,7 @@ export * from "./AgentUserColumnDefinition";
3
3
  export * from "./AgentUserCount";
4
4
  export * from "./AgentUserMetric";
5
5
  export * from "./AgentUserRow";
6
+ export * from "./AgentUserRowIdentifier";
6
7
  export * from "./AgentUserTableRequest";
7
8
  export * from "./AgentUserTableResponse";
8
9
  export * from "./BarChartResponse";
@@ -27,6 +28,7 @@ export * from "./ConversationNumericMetric";
27
28
  export * from "./ConversationPercentile";
28
29
  export * from "./ConversationPieChartRequest";
29
30
  export * from "./ConversationRow";
31
+ export * from "./ConversationRowIdentifier";
30
32
  export * from "./ConversationSum";
31
33
  export * from "./ConversationTableRequest";
32
34
  export * from "./ConversationTableResponse";
@@ -42,6 +44,7 @@ export * from "./EventGroupBy";
42
44
  export * from "./EventMetric";
43
45
  export * from "./EventPieChartRequest";
44
46
  export * from "./EventRow";
47
+ export * from "./EventRowIdentifier";
45
48
  export * from "./EventTableRequest";
46
49
  export * from "./EventTableResponse";
47
50
  export * from "./FeedbackAnalyticsRequest";
@@ -51,6 +54,7 @@ export * from "./FeedbackDistinctCount";
51
54
  export * from "./FeedbackGroupBy";
52
55
  export * from "./FeedbackMetric";
53
56
  export * from "./FeedbackRow";
57
+ export * from "./FeedbackRowIdentifier";
54
58
  export * from "./FeedbackTableRequest";
55
59
  export * from "./FeedbackTableResponse";
56
60
  export * from "./FieldValue";
@@ -59,6 +63,7 @@ export * from "./LabeledPoint";
59
63
  export * from "./PieChartResponse";
60
64
  export * from "./Range";
61
65
  export * from "./RowBase";
66
+ export * from "./RowIdentifierBase";
62
67
  export * from "./Series";
63
68
  export * from "./TableResponseBase";
64
69
  export * from "./TimeDataPoint";