@elevenlabs/elevenlabs-js 2.12.0 → 2.12.2

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 (218) hide show
  1. package/Client.d.ts +0 -160
  2. package/Client.js +2 -687
  3. package/api/index.d.ts +0 -1
  4. package/api/index.js +0 -1
  5. package/api/resources/conversationalAi/client/Client.d.ts +3 -0
  6. package/api/resources/conversationalAi/client/Client.js +25 -20
  7. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +18 -0
  8. package/api/resources/conversationalAi/resources/agents/client/Client.js +80 -0
  9. package/api/{client → resources/conversationalAi/resources/agents/client}/requests/RunAgentTestsRequestModel.d.ts +1 -1
  10. package/api/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
  11. package/api/resources/conversationalAi/resources/index.d.ts +3 -0
  12. package/api/resources/conversationalAi/resources/index.js +4 -1
  13. package/api/resources/conversationalAi/resources/tests/client/Client.d.ts +147 -0
  14. package/api/resources/conversationalAi/resources/tests/client/Client.js +537 -0
  15. package/api/resources/conversationalAi/resources/tests/client/index.d.ts +2 -0
  16. package/{dist/api → api/resources/conversationalAi/resources/tests}/client/requests/CreateUnitTestRequest.d.ts +2 -2
  17. package/api/{client/requests/ListChatResponseTestsRouteRequest.d.ts → resources/conversationalAi/resources/tests/client/requests/TestsListRequest.d.ts} +1 -1
  18. package/api/{client → resources/conversationalAi/resources/tests/client}/requests/UpdateUnitTestRequest.d.ts +2 -2
  19. package/api/resources/conversationalAi/resources/tests/client/requests/index.d.ts +4 -0
  20. package/api/resources/conversationalAi/resources/tests/index.d.ts +3 -0
  21. package/api/resources/conversationalAi/resources/tests/index.js +19 -0
  22. package/api/resources/conversationalAi/resources/tests/resources/index.d.ts +2 -0
  23. package/api/resources/conversationalAi/resources/tests/resources/index.js +41 -0
  24. package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.d.ts +63 -0
  25. package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +201 -0
  26. package/api/resources/conversationalAi/resources/tests/resources/invocations/client/index.d.ts +2 -0
  27. package/{dist/api → api/resources/conversationalAi/resources/tests/resources/invocations}/client/requests/ResubmitTestsRequestModel.d.ts +1 -1
  28. package/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/index.d.ts +1 -0
  29. package/api/resources/conversationalAi/resources/tests/resources/invocations/index.d.ts +1 -0
  30. package/api/resources/conversationalAi/resources/tests/resources/invocations/index.js +17 -0
  31. package/api/resources/conversationalAi/resources/tests/types/index.d.ts +2 -0
  32. package/api/resources/conversationalAi/resources/tests/types/index.js +18 -0
  33. package/api/types/ClientEvent.d.ts +2 -1
  34. package/api/types/ClientEvent.js +1 -0
  35. package/api/types/FeaturesUsageCommonModel.d.ts +1 -0
  36. package/api/types/TestsFeatureUsageCommonModel.d.ts +8 -0
  37. package/api/types/UnitTestRunResponseModel.d.ts +1 -0
  38. package/api/types/index.d.ts +1 -2
  39. package/api/types/index.js +1 -2
  40. package/dist/Client.d.ts +0 -160
  41. package/dist/Client.js +2 -687
  42. package/dist/api/index.d.ts +0 -1
  43. package/dist/api/index.js +0 -1
  44. package/dist/api/resources/conversationalAi/client/Client.d.ts +3 -0
  45. package/dist/api/resources/conversationalAi/client/Client.js +25 -20
  46. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +18 -0
  47. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +80 -0
  48. package/dist/api/{client → resources/conversationalAi/resources/agents/client}/requests/RunAgentTestsRequestModel.d.ts +1 -1
  49. package/dist/api/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
  50. package/dist/api/resources/conversationalAi/resources/index.d.ts +3 -0
  51. package/dist/api/resources/conversationalAi/resources/index.js +4 -1
  52. package/dist/api/resources/conversationalAi/resources/tests/client/Client.d.ts +147 -0
  53. package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +537 -0
  54. package/dist/api/resources/conversationalAi/resources/tests/client/index.d.ts +2 -0
  55. package/{api → dist/api/resources/conversationalAi/resources/tests}/client/requests/CreateUnitTestRequest.d.ts +2 -2
  56. package/dist/api/{client/requests/ListChatResponseTestsRouteRequest.d.ts → resources/conversationalAi/resources/tests/client/requests/TestsListRequest.d.ts} +1 -1
  57. package/dist/api/{client → resources/conversationalAi/resources/tests/client}/requests/UpdateUnitTestRequest.d.ts +2 -2
  58. package/dist/api/resources/conversationalAi/resources/tests/client/requests/index.d.ts +4 -0
  59. package/dist/api/resources/conversationalAi/resources/tests/client/requests/index.js +2 -0
  60. package/dist/api/resources/conversationalAi/resources/tests/index.d.ts +3 -0
  61. package/dist/api/resources/conversationalAi/resources/tests/index.js +19 -0
  62. package/dist/api/resources/conversationalAi/resources/tests/resources/index.d.ts +2 -0
  63. package/dist/api/resources/conversationalAi/resources/tests/resources/index.js +41 -0
  64. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.d.ts +63 -0
  65. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +201 -0
  66. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/index.d.ts +2 -0
  67. package/{api → dist/api/resources/conversationalAi/resources/tests/resources/invocations}/client/requests/ResubmitTestsRequestModel.d.ts +1 -1
  68. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/index.d.ts +1 -0
  69. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/index.js +2 -0
  70. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/index.d.ts +1 -0
  71. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/index.js +17 -0
  72. package/dist/api/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.js +5 -0
  73. package/dist/api/resources/conversationalAi/resources/tests/types/index.d.ts +2 -0
  74. package/dist/api/resources/conversationalAi/resources/tests/types/index.js +18 -0
  75. package/dist/api/types/ClientEvent.d.ts +2 -1
  76. package/dist/api/types/ClientEvent.js +1 -0
  77. package/dist/api/types/FeaturesUsageCommonModel.d.ts +1 -0
  78. package/dist/api/types/TestsFeatureUsageCommonModel.d.ts +8 -0
  79. package/dist/api/types/TestsFeatureUsageCommonModel.js +5 -0
  80. package/dist/api/types/UnitTestRunResponseModel.d.ts +1 -0
  81. package/dist/api/types/index.d.ts +1 -2
  82. package/dist/api/types/index.js +1 -2
  83. package/dist/serialization/index.d.ts +0 -1
  84. package/dist/serialization/index.js +0 -1
  85. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +15 -0
  86. package/dist/serialization/{client → resources/conversationalAi/resources/agents/client}/requests/RunAgentTestsRequestModel.js +3 -3
  87. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
  88. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/index.js +3 -1
  89. package/dist/serialization/resources/conversationalAi/resources/index.d.ts +3 -0
  90. package/dist/serialization/resources/conversationalAi/resources/index.js +4 -1
  91. package/dist/serialization/resources/conversationalAi/resources/tests/client/index.js +17 -0
  92. package/dist/serialization/{client → resources/conversationalAi/resources/tests/client}/requests/CreateUnitTestRequest.d.ts +8 -8
  93. package/dist/serialization/{client → resources/conversationalAi/resources/tests/client}/requests/CreateUnitTestRequest.js +5 -5
  94. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/ListTestsByIdsRequestModel.d.ts +12 -0
  95. package/{serialization → dist/serialization/resources/conversationalAi/resources/tests}/client/requests/ListTestsByIdsRequestModel.js +1 -1
  96. package/dist/serialization/{client → resources/conversationalAi/resources/tests/client}/requests/UpdateUnitTestRequest.d.ts +8 -8
  97. package/dist/serialization/{client → resources/conversationalAi/resources/tests/client}/requests/UpdateUnitTestRequest.js +5 -5
  98. package/dist/serialization/{client → resources/conversationalAi/resources/tests/client}/requests/index.d.ts +0 -2
  99. package/{serialization → dist/serialization/resources/conversationalAi/resources/tests}/client/requests/index.js +1 -5
  100. package/dist/serialization/resources/conversationalAi/resources/tests/index.d.ts +3 -0
  101. package/dist/serialization/resources/conversationalAi/resources/tests/index.js +19 -0
  102. package/dist/serialization/resources/conversationalAi/resources/tests/resources/index.d.ts +2 -0
  103. package/dist/serialization/resources/conversationalAi/resources/tests/resources/index.js +41 -0
  104. package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/index.js +17 -0
  105. package/{serialization → dist/serialization/resources/conversationalAi/resources/tests/resources/invocations}/client/requests/ResubmitTestsRequestModel.d.ts +5 -5
  106. package/{serialization → dist/serialization/resources/conversationalAi/resources/tests/resources/invocations}/client/requests/ResubmitTestsRequestModel.js +2 -2
  107. package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/index.d.ts +1 -0
  108. package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/index.js +5 -0
  109. package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/index.d.ts +1 -0
  110. package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/index.js +17 -0
  111. package/dist/serialization/resources/conversationalAi/resources/tests/types/CreateUnitTestRequestDynamicVariablesValue.d.ts +10 -0
  112. package/{serialization → dist/serialization/resources/conversationalAi/resources/tests}/types/CreateUnitTestRequestDynamicVariablesValue.js +1 -1
  113. package/dist/serialization/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.d.ts +10 -0
  114. package/{serialization → dist/serialization/resources/conversationalAi/resources/tests}/types/UpdateUnitTestRequestDynamicVariablesValue.js +1 -1
  115. package/dist/serialization/resources/conversationalAi/resources/tests/types/index.d.ts +2 -0
  116. package/dist/serialization/resources/conversationalAi/resources/tests/types/index.js +18 -0
  117. package/dist/serialization/types/ClientEvent.d.ts +1 -1
  118. package/dist/serialization/types/ClientEvent.js +1 -0
  119. package/dist/serialization/types/FeaturesUsageCommonModel.d.ts +2 -0
  120. package/dist/serialization/types/FeaturesUsageCommonModel.js +2 -0
  121. package/dist/serialization/types/TestsFeatureUsageCommonModel.d.ts +14 -0
  122. package/dist/serialization/types/TestsFeatureUsageCommonModel.js +45 -0
  123. package/dist/serialization/types/UnitTestRunResponseModel.d.ts +1 -0
  124. package/dist/serialization/types/UnitTestRunResponseModel.js +1 -0
  125. package/dist/serialization/types/index.d.ts +1 -2
  126. package/dist/serialization/types/index.js +1 -2
  127. package/dist/version.d.ts +1 -1
  128. package/dist/version.js +1 -1
  129. package/package.json +1 -1
  130. package/reference.md +648 -0
  131. package/serialization/index.d.ts +0 -1
  132. package/serialization/index.js +0 -1
  133. package/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +15 -0
  134. package/serialization/{client → resources/conversationalAi/resources/agents/client}/requests/RunAgentTestsRequestModel.js +3 -3
  135. package/serialization/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
  136. package/serialization/resources/conversationalAi/resources/agents/client/requests/index.js +3 -1
  137. package/serialization/resources/conversationalAi/resources/index.d.ts +3 -0
  138. package/serialization/resources/conversationalAi/resources/index.js +4 -1
  139. package/serialization/resources/conversationalAi/resources/tests/client/index.js +17 -0
  140. package/serialization/{client → resources/conversationalAi/resources/tests/client}/requests/CreateUnitTestRequest.d.ts +8 -8
  141. package/serialization/{client → resources/conversationalAi/resources/tests/client}/requests/CreateUnitTestRequest.js +5 -5
  142. package/serialization/resources/conversationalAi/resources/tests/client/requests/ListTestsByIdsRequestModel.d.ts +12 -0
  143. package/{dist/serialization → serialization/resources/conversationalAi/resources/tests}/client/requests/ListTestsByIdsRequestModel.js +1 -1
  144. package/serialization/{client → resources/conversationalAi/resources/tests/client}/requests/UpdateUnitTestRequest.d.ts +8 -8
  145. package/serialization/{client → resources/conversationalAi/resources/tests/client}/requests/UpdateUnitTestRequest.js +5 -5
  146. package/serialization/{client → resources/conversationalAi/resources/tests/client}/requests/index.d.ts +0 -2
  147. package/{dist/serialization → serialization/resources/conversationalAi/resources/tests}/client/requests/index.js +1 -5
  148. package/serialization/resources/conversationalAi/resources/tests/index.d.ts +3 -0
  149. package/serialization/resources/conversationalAi/resources/tests/index.js +19 -0
  150. package/serialization/resources/conversationalAi/resources/tests/resources/index.d.ts +2 -0
  151. package/serialization/resources/conversationalAi/resources/tests/resources/index.js +41 -0
  152. package/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/index.js +17 -0
  153. package/{dist/serialization → serialization/resources/conversationalAi/resources/tests/resources/invocations}/client/requests/ResubmitTestsRequestModel.d.ts +5 -5
  154. package/{dist/serialization → serialization/resources/conversationalAi/resources/tests/resources/invocations}/client/requests/ResubmitTestsRequestModel.js +2 -2
  155. package/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/index.d.ts +1 -0
  156. package/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/index.js +5 -0
  157. package/serialization/resources/conversationalAi/resources/tests/resources/invocations/index.d.ts +1 -0
  158. package/serialization/resources/conversationalAi/resources/tests/resources/invocations/index.js +17 -0
  159. package/serialization/resources/conversationalAi/resources/tests/types/CreateUnitTestRequestDynamicVariablesValue.d.ts +10 -0
  160. package/{dist/serialization → serialization/resources/conversationalAi/resources/tests}/types/CreateUnitTestRequestDynamicVariablesValue.js +1 -1
  161. package/serialization/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.d.ts +10 -0
  162. package/{dist/serialization → serialization/resources/conversationalAi/resources/tests}/types/UpdateUnitTestRequestDynamicVariablesValue.js +1 -1
  163. package/serialization/resources/conversationalAi/resources/tests/types/index.d.ts +2 -0
  164. package/serialization/resources/conversationalAi/resources/tests/types/index.js +18 -0
  165. package/serialization/types/ClientEvent.d.ts +1 -1
  166. package/serialization/types/ClientEvent.js +1 -0
  167. package/serialization/types/FeaturesUsageCommonModel.d.ts +2 -0
  168. package/serialization/types/FeaturesUsageCommonModel.js +2 -0
  169. package/serialization/types/TestsFeatureUsageCommonModel.d.ts +14 -0
  170. package/serialization/types/TestsFeatureUsageCommonModel.js +45 -0
  171. package/serialization/types/UnitTestRunResponseModel.d.ts +1 -0
  172. package/serialization/types/UnitTestRunResponseModel.js +1 -0
  173. package/serialization/types/index.d.ts +1 -2
  174. package/serialization/types/index.js +1 -2
  175. package/version.d.ts +1 -1
  176. package/version.js +1 -1
  177. package/api/client/requests/index.d.ts +0 -6
  178. package/dist/api/client/requests/index.d.ts +0 -6
  179. package/dist/serialization/client/requests/ListTestsByIdsRequestModel.d.ts +0 -12
  180. package/dist/serialization/client/requests/RunAgentTestsRequestModel.d.ts +0 -15
  181. package/dist/serialization/types/CreateUnitTestRequestDynamicVariablesValue.d.ts +0 -10
  182. package/dist/serialization/types/UpdateUnitTestRequestDynamicVariablesValue.d.ts +0 -10
  183. package/serialization/client/requests/ListTestsByIdsRequestModel.d.ts +0 -12
  184. package/serialization/client/requests/RunAgentTestsRequestModel.d.ts +0 -15
  185. package/serialization/types/CreateUnitTestRequestDynamicVariablesValue.d.ts +0 -10
  186. package/serialization/types/UpdateUnitTestRequestDynamicVariablesValue.d.ts +0 -10
  187. /package/api/{client → resources/conversationalAi/resources/agents/client}/requests/RunAgentTestsRequestModel.js +0 -0
  188. /package/api/{client → resources/conversationalAi/resources/tests/client}/index.js +0 -0
  189. /package/api/{client → resources/conversationalAi/resources/tests/client}/requests/CreateUnitTestRequest.js +0 -0
  190. /package/api/{client → resources/conversationalAi/resources/tests/client}/requests/ListTestsByIdsRequestModel.d.ts +0 -0
  191. /package/api/{client → resources/conversationalAi/resources/tests/client}/requests/ListTestsByIdsRequestModel.js +0 -0
  192. /package/api/{client/requests/ListChatResponseTestsRouteRequest.js → resources/conversationalAi/resources/tests/client/requests/TestsListRequest.js} +0 -0
  193. /package/api/{client → resources/conversationalAi/resources/tests/client}/requests/UpdateUnitTestRequest.js +0 -0
  194. /package/api/{client → resources/conversationalAi/resources/tests/client}/requests/index.js +0 -0
  195. /package/{dist/api → api/resources/conversationalAi/resources/tests/resources/invocations}/client/index.js +0 -0
  196. /package/api/{client → resources/conversationalAi/resources/tests/resources/invocations/client}/requests/ResubmitTestsRequestModel.js +0 -0
  197. /package/{dist/api → api/resources/conversationalAi/resources/tests/resources/invocations}/client/requests/index.js +0 -0
  198. /package/api/{types → resources/conversationalAi/resources/tests/types}/CreateUnitTestRequestDynamicVariablesValue.d.ts +0 -0
  199. /package/api/{types → resources/conversationalAi/resources/tests/types}/CreateUnitTestRequestDynamicVariablesValue.js +0 -0
  200. /package/api/{types → resources/conversationalAi/resources/tests/types}/UpdateUnitTestRequestDynamicVariablesValue.d.ts +0 -0
  201. /package/api/{types → resources/conversationalAi/resources/tests/types}/UpdateUnitTestRequestDynamicVariablesValue.js +0 -0
  202. /package/{dist/api/client/requests/CreateUnitTestRequest.js → api/types/TestsFeatureUsageCommonModel.js} +0 -0
  203. /package/dist/api/{client → resources/conversationalAi/resources/agents/client}/requests/RunAgentTestsRequestModel.js +0 -0
  204. /package/dist/{serialization → api/resources/conversationalAi/resources/tests}/client/index.js +0 -0
  205. /package/dist/api/{client/requests/ListChatResponseTestsRouteRequest.js → resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js} +0 -0
  206. /package/dist/api/{client → resources/conversationalAi/resources/tests/client}/requests/ListTestsByIdsRequestModel.d.ts +0 -0
  207. /package/dist/api/{client → resources/conversationalAi/resources/tests/client}/requests/ListTestsByIdsRequestModel.js +0 -0
  208. /package/dist/api/{client/requests/ResubmitTestsRequestModel.js → resources/conversationalAi/resources/tests/client/requests/TestsListRequest.js} +0 -0
  209. /package/dist/api/{client → resources/conversationalAi/resources/tests/client}/requests/UpdateUnitTestRequest.js +0 -0
  210. /package/{serialization → dist/api/resources/conversationalAi/resources/tests/resources/invocations}/client/index.js +0 -0
  211. /package/dist/api/{types/CreateUnitTestRequestDynamicVariablesValue.js → resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.js} +0 -0
  212. /package/dist/api/{types → resources/conversationalAi/resources/tests/types}/CreateUnitTestRequestDynamicVariablesValue.d.ts +0 -0
  213. /package/dist/api/{types/UpdateUnitTestRequestDynamicVariablesValue.js → resources/conversationalAi/resources/tests/types/CreateUnitTestRequestDynamicVariablesValue.js} +0 -0
  214. /package/dist/api/{types → resources/conversationalAi/resources/tests/types}/UpdateUnitTestRequestDynamicVariablesValue.d.ts +0 -0
  215. /package/{api → dist/serialization/resources/conversationalAi/resources/tests}/client/index.d.ts +0 -0
  216. /package/dist/{api → serialization/resources/conversationalAi/resources/tests/resources/invocations}/client/index.d.ts +0 -0
  217. /package/{dist/serialization → serialization/resources/conversationalAi/resources/tests}/client/index.d.ts +0 -0
  218. /package/serialization/{client → resources/conversationalAi/resources/tests/resources/invocations/client}/index.d.ts +0 -0
@@ -37,11 +37,11 @@ var __importStar = (this && this.__importStar) || (function () {
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.CreateUnitTestRequest = void 0;
40
- const core = __importStar(require("../../../core"));
41
- const ConversationHistoryTranscriptCommonModelInput_1 = require("../../types/ConversationHistoryTranscriptCommonModelInput");
42
- const AgentSuccessfulResponseExample_1 = require("../../types/AgentSuccessfulResponseExample");
43
- const AgentFailureResponseExample_1 = require("../../types/AgentFailureResponseExample");
44
- const UnitTestToolCallEvaluationModelInput_1 = require("../../types/UnitTestToolCallEvaluationModelInput");
40
+ const core = __importStar(require("../../../../../../../core"));
41
+ const ConversationHistoryTranscriptCommonModelInput_1 = require("../../../../../../types/ConversationHistoryTranscriptCommonModelInput");
42
+ const AgentSuccessfulResponseExample_1 = require("../../../../../../types/AgentSuccessfulResponseExample");
43
+ const AgentFailureResponseExample_1 = require("../../../../../../types/AgentFailureResponseExample");
44
+ const UnitTestToolCallEvaluationModelInput_1 = require("../../../../../../types/UnitTestToolCallEvaluationModelInput");
45
45
  const CreateUnitTestRequestDynamicVariablesValue_1 = require("../../types/CreateUnitTestRequestDynamicVariablesValue");
46
46
  exports.CreateUnitTestRequest = core.serialization.object({
47
47
  chatHistory: core.serialization.property("chat_history", core.serialization.list(ConversationHistoryTranscriptCommonModelInput_1.ConversationHistoryTranscriptCommonModelInput)),
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../index";
5
+ import * as ElevenLabs from "../../../../../../../api/index";
6
+ import * as core from "../../../../../../../core";
7
+ export declare const ListTestsByIdsRequestModel: core.serialization.Schema<serializers.conversationalAi.ListTestsByIdsRequestModel.Raw, ElevenLabs.conversationalAi.ListTestsByIdsRequestModel>;
8
+ export declare namespace ListTestsByIdsRequestModel {
9
+ interface Raw {
10
+ test_ids: string[];
11
+ }
12
+ }
@@ -37,7 +37,7 @@ var __importStar = (this && this.__importStar) || (function () {
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ListTestsByIdsRequestModel = void 0;
40
- const core = __importStar(require("../../../core"));
40
+ const core = __importStar(require("../../../../../../../core"));
41
41
  exports.ListTestsByIdsRequestModel = core.serialization.object({
42
42
  testIds: core.serialization.property("test_ids", core.serialization.list(core.serialization.string())),
43
43
  });
@@ -1,15 +1,15 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "../../index";
5
- import * as ElevenLabs from "../../../api/index";
6
- import * as core from "../../../core";
7
- import { ConversationHistoryTranscriptCommonModelInput } from "../../types/ConversationHistoryTranscriptCommonModelInput";
8
- import { AgentSuccessfulResponseExample } from "../../types/AgentSuccessfulResponseExample";
9
- import { AgentFailureResponseExample } from "../../types/AgentFailureResponseExample";
10
- import { UnitTestToolCallEvaluationModelInput } from "../../types/UnitTestToolCallEvaluationModelInput";
4
+ import * as serializers from "../../../../../../index";
5
+ import * as ElevenLabs from "../../../../../../../api/index";
6
+ import * as core from "../../../../../../../core";
7
+ import { ConversationHistoryTranscriptCommonModelInput } from "../../../../../../types/ConversationHistoryTranscriptCommonModelInput";
8
+ import { AgentSuccessfulResponseExample } from "../../../../../../types/AgentSuccessfulResponseExample";
9
+ import { AgentFailureResponseExample } from "../../../../../../types/AgentFailureResponseExample";
10
+ import { UnitTestToolCallEvaluationModelInput } from "../../../../../../types/UnitTestToolCallEvaluationModelInput";
11
11
  import { UpdateUnitTestRequestDynamicVariablesValue } from "../../types/UpdateUnitTestRequestDynamicVariablesValue";
12
- export declare const UpdateUnitTestRequest: core.serialization.Schema<serializers.UpdateUnitTestRequest.Raw, ElevenLabs.UpdateUnitTestRequest>;
12
+ export declare const UpdateUnitTestRequest: core.serialization.Schema<serializers.conversationalAi.UpdateUnitTestRequest.Raw, ElevenLabs.conversationalAi.UpdateUnitTestRequest>;
13
13
  export declare namespace UpdateUnitTestRequest {
14
14
  interface Raw {
15
15
  chat_history: ConversationHistoryTranscriptCommonModelInput.Raw[];
@@ -37,11 +37,11 @@ var __importStar = (this && this.__importStar) || (function () {
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.UpdateUnitTestRequest = void 0;
40
- const core = __importStar(require("../../../core"));
41
- const ConversationHistoryTranscriptCommonModelInput_1 = require("../../types/ConversationHistoryTranscriptCommonModelInput");
42
- const AgentSuccessfulResponseExample_1 = require("../../types/AgentSuccessfulResponseExample");
43
- const AgentFailureResponseExample_1 = require("../../types/AgentFailureResponseExample");
44
- const UnitTestToolCallEvaluationModelInput_1 = require("../../types/UnitTestToolCallEvaluationModelInput");
40
+ const core = __importStar(require("../../../../../../../core"));
41
+ const ConversationHistoryTranscriptCommonModelInput_1 = require("../../../../../../types/ConversationHistoryTranscriptCommonModelInput");
42
+ const AgentSuccessfulResponseExample_1 = require("../../../../../../types/AgentSuccessfulResponseExample");
43
+ const AgentFailureResponseExample_1 = require("../../../../../../types/AgentFailureResponseExample");
44
+ const UnitTestToolCallEvaluationModelInput_1 = require("../../../../../../types/UnitTestToolCallEvaluationModelInput");
45
45
  const UpdateUnitTestRequestDynamicVariablesValue_1 = require("../../types/UpdateUnitTestRequestDynamicVariablesValue");
46
46
  exports.UpdateUnitTestRequest = core.serialization.object({
47
47
  chatHistory: core.serialization.property("chat_history", core.serialization.list(ConversationHistoryTranscriptCommonModelInput_1.ConversationHistoryTranscriptCommonModelInput)),
@@ -1,5 +1,3 @@
1
1
  export { CreateUnitTestRequest } from "./CreateUnitTestRequest";
2
2
  export { UpdateUnitTestRequest } from "./UpdateUnitTestRequest";
3
3
  export { ListTestsByIdsRequestModel } from "./ListTestsByIdsRequestModel";
4
- export { RunAgentTestsRequestModel } from "./RunAgentTestsRequestModel";
5
- export { ResubmitTestsRequestModel } from "./ResubmitTestsRequestModel";
@@ -1,13 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResubmitTestsRequestModel = exports.RunAgentTestsRequestModel = exports.ListTestsByIdsRequestModel = exports.UpdateUnitTestRequest = exports.CreateUnitTestRequest = void 0;
3
+ exports.ListTestsByIdsRequestModel = exports.UpdateUnitTestRequest = exports.CreateUnitTestRequest = void 0;
4
4
  var CreateUnitTestRequest_1 = require("./CreateUnitTestRequest");
5
5
  Object.defineProperty(exports, "CreateUnitTestRequest", { enumerable: true, get: function () { return CreateUnitTestRequest_1.CreateUnitTestRequest; } });
6
6
  var UpdateUnitTestRequest_1 = require("./UpdateUnitTestRequest");
7
7
  Object.defineProperty(exports, "UpdateUnitTestRequest", { enumerable: true, get: function () { return UpdateUnitTestRequest_1.UpdateUnitTestRequest; } });
8
8
  var ListTestsByIdsRequestModel_1 = require("./ListTestsByIdsRequestModel");
9
9
  Object.defineProperty(exports, "ListTestsByIdsRequestModel", { enumerable: true, get: function () { return ListTestsByIdsRequestModel_1.ListTestsByIdsRequestModel; } });
10
- var RunAgentTestsRequestModel_1 = require("./RunAgentTestsRequestModel");
11
- Object.defineProperty(exports, "RunAgentTestsRequestModel", { enumerable: true, get: function () { return RunAgentTestsRequestModel_1.RunAgentTestsRequestModel; } });
12
- var ResubmitTestsRequestModel_1 = require("./ResubmitTestsRequestModel");
13
- Object.defineProperty(exports, "ResubmitTestsRequestModel", { enumerable: true, get: function () { return ResubmitTestsRequestModel_1.ResubmitTestsRequestModel; } });
@@ -0,0 +1,3 @@
1
+ export * from "./types";
2
+ export * from "./client";
3
+ export * from "./resources";
@@ -0,0 +1,19 @@
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("./types"), exports);
18
+ __exportStar(require("./client"), exports);
19
+ __exportStar(require("./resources"), exports);
@@ -0,0 +1,2 @@
1
+ export * as invocations from "./invocations";
2
+ export * from "./invocations/client/requests";
@@ -0,0 +1,41 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.invocations = void 0;
40
+ exports.invocations = __importStar(require("./invocations"));
41
+ __exportStar(require("./invocations/client/requests"), exports);
@@ -0,0 +1,17 @@
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("./requests"), exports);
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "../../index";
5
- import * as ElevenLabs from "../../../api/index";
6
- import * as core from "../../../core";
7
- import { AdhocAgentConfigOverrideForTestRequestModel } from "../../types/AdhocAgentConfigOverrideForTestRequestModel";
8
- export declare const ResubmitTestsRequestModel: core.serialization.Schema<serializers.ResubmitTestsRequestModel.Raw, ElevenLabs.ResubmitTestsRequestModel>;
4
+ import * as serializers from "../../../../../../../../index";
5
+ import * as ElevenLabs from "../../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../../core";
7
+ import { AdhocAgentConfigOverrideForTestRequestModel } from "../../../../../../../../types/AdhocAgentConfigOverrideForTestRequestModel";
8
+ export declare const ResubmitTestsRequestModel: core.serialization.Schema<serializers.conversationalAi.tests.ResubmitTestsRequestModel.Raw, ElevenLabs.conversationalAi.tests.ResubmitTestsRequestModel>;
9
9
  export declare namespace ResubmitTestsRequestModel {
10
10
  interface Raw {
11
11
  test_run_ids: string[];
@@ -37,8 +37,8 @@ var __importStar = (this && this.__importStar) || (function () {
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ResubmitTestsRequestModel = void 0;
40
- const core = __importStar(require("../../../core"));
41
- const AdhocAgentConfigOverrideForTestRequestModel_1 = require("../../types/AdhocAgentConfigOverrideForTestRequestModel");
40
+ const core = __importStar(require("../../../../../../../../../core"));
41
+ const AdhocAgentConfigOverrideForTestRequestModel_1 = require("../../../../../../../../types/AdhocAgentConfigOverrideForTestRequestModel");
42
42
  exports.ResubmitTestsRequestModel = core.serialization.object({
43
43
  testRunIds: core.serialization.property("test_run_ids", core.serialization.list(core.serialization.string())),
44
44
  agentConfigOverride: core.serialization.property("agent_config_override", AdhocAgentConfigOverrideForTestRequestModel_1.AdhocAgentConfigOverrideForTestRequestModel.optional()),
@@ -0,0 +1 @@
1
+ export { ResubmitTestsRequestModel } from "./ResubmitTestsRequestModel";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResubmitTestsRequestModel = void 0;
4
+ var ResubmitTestsRequestModel_1 = require("./ResubmitTestsRequestModel");
5
+ Object.defineProperty(exports, "ResubmitTestsRequestModel", { enumerable: true, get: function () { return ResubmitTestsRequestModel_1.ResubmitTestsRequestModel; } });
@@ -0,0 +1,17 @@
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("./client"), exports);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as ElevenLabs from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ export declare const CreateUnitTestRequestDynamicVariablesValue: core.serialization.Schema<serializers.conversationalAi.CreateUnitTestRequestDynamicVariablesValue.Raw, ElevenLabs.conversationalAi.CreateUnitTestRequestDynamicVariablesValue>;
8
+ export declare namespace CreateUnitTestRequestDynamicVariablesValue {
9
+ type Raw = string | number | number | boolean;
10
+ }
@@ -37,7 +37,7 @@ var __importStar = (this && this.__importStar) || (function () {
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.CreateUnitTestRequestDynamicVariablesValue = void 0;
40
- const core = __importStar(require("../../core"));
40
+ const core = __importStar(require("../../../../../../core"));
41
41
  exports.CreateUnitTestRequestDynamicVariablesValue = core.serialization.undiscriminatedUnion([
42
42
  core.serialization.string(),
43
43
  core.serialization.number(),
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as ElevenLabs from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ export declare const UpdateUnitTestRequestDynamicVariablesValue: core.serialization.Schema<serializers.conversationalAi.UpdateUnitTestRequestDynamicVariablesValue.Raw, ElevenLabs.conversationalAi.UpdateUnitTestRequestDynamicVariablesValue>;
8
+ export declare namespace UpdateUnitTestRequestDynamicVariablesValue {
9
+ type Raw = string | number | number | boolean;
10
+ }
@@ -37,7 +37,7 @@ var __importStar = (this && this.__importStar) || (function () {
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.UpdateUnitTestRequestDynamicVariablesValue = void 0;
40
- const core = __importStar(require("../../core"));
40
+ const core = __importStar(require("../../../../../../core"));
41
41
  exports.UpdateUnitTestRequestDynamicVariablesValue = core.serialization.undiscriminatedUnion([
42
42
  core.serialization.string(),
43
43
  core.serialization.number(),
@@ -0,0 +1,2 @@
1
+ export * from "./CreateUnitTestRequestDynamicVariablesValue";
2
+ export * from "./UpdateUnitTestRequestDynamicVariablesValue";
@@ -0,0 +1,18 @@
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("./CreateUnitTestRequestDynamicVariablesValue"), exports);
18
+ __exportStar(require("./UpdateUnitTestRequestDynamicVariablesValue"), exports);
@@ -6,5 +6,5 @@ import * as ElevenLabs from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const ClientEvent: core.serialization.Schema<serializers.ClientEvent.Raw, ElevenLabs.ClientEvent>;
8
8
  export declare namespace ClientEvent {
9
- type Raw = "conversation_initiation_metadata" | "asr_initiation_metadata" | "ping" | "audio" | "interruption" | "user_transcript" | "agent_response" | "agent_response_correction" | "client_tool_call" | "mcp_tool_call" | "mcp_connection_status" | "agent_tool_response" | "vad_score" | "internal_turn_probability" | "internal_tentative_agent_response";
9
+ type Raw = "conversation_initiation_metadata" | "asr_initiation_metadata" | "ping" | "audio" | "interruption" | "user_transcript" | "tentative_user_transcript" | "agent_response" | "agent_response_correction" | "client_tool_call" | "mcp_tool_call" | "mcp_connection_status" | "agent_tool_response" | "vad_score" | "internal_turn_probability" | "internal_tentative_agent_response";
10
10
  }
@@ -45,6 +45,7 @@ exports.ClientEvent = core.serialization.enum_([
45
45
  "audio",
46
46
  "interruption",
47
47
  "user_transcript",
48
+ "tentative_user_transcript",
48
49
  "agent_response",
49
50
  "agent_response_correction",
50
51
  "client_tool_call",
@@ -6,6 +6,7 @@ import * as ElevenLabs from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { FeatureStatusCommonModel } from "./FeatureStatusCommonModel";
8
8
  import { WorkflowFeaturesUsageCommonModel } from "./WorkflowFeaturesUsageCommonModel";
9
+ import { TestsFeatureUsageCommonModel } from "./TestsFeatureUsageCommonModel";
9
10
  export declare const FeaturesUsageCommonModel: core.serialization.ObjectSchema<serializers.FeaturesUsageCommonModel.Raw, ElevenLabs.FeaturesUsageCommonModel>;
10
11
  export declare namespace FeaturesUsageCommonModel {
11
12
  interface Raw {
@@ -21,5 +22,6 @@ export declare namespace FeaturesUsageCommonModel {
21
22
  is_livekit?: boolean | null;
22
23
  voicemail_detection?: FeatureStatusCommonModel.Raw | null;
23
24
  workflow?: WorkflowFeaturesUsageCommonModel.Raw | null;
25
+ agent_testing?: TestsFeatureUsageCommonModel.Raw | null;
24
26
  }
25
27
  }
@@ -40,6 +40,7 @@ exports.FeaturesUsageCommonModel = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const FeatureStatusCommonModel_1 = require("./FeatureStatusCommonModel");
42
42
  const WorkflowFeaturesUsageCommonModel_1 = require("./WorkflowFeaturesUsageCommonModel");
43
+ const TestsFeatureUsageCommonModel_1 = require("./TestsFeatureUsageCommonModel");
43
44
  exports.FeaturesUsageCommonModel = core.serialization.object({
44
45
  languageDetection: core.serialization.property("language_detection", FeatureStatusCommonModel_1.FeatureStatusCommonModel.optional()),
45
46
  transferToAgent: core.serialization.property("transfer_to_agent", FeatureStatusCommonModel_1.FeatureStatusCommonModel.optional()),
@@ -53,4 +54,5 @@ exports.FeaturesUsageCommonModel = core.serialization.object({
53
54
  isLivekit: core.serialization.property("is_livekit", core.serialization.boolean().optional()),
54
55
  voicemailDetection: core.serialization.property("voicemail_detection", FeatureStatusCommonModel_1.FeatureStatusCommonModel.optional()),
55
56
  workflow: WorkflowFeaturesUsageCommonModel_1.WorkflowFeaturesUsageCommonModel.optional(),
57
+ agentTesting: core.serialization.property("agent_testing", TestsFeatureUsageCommonModel_1.TestsFeatureUsageCommonModel.optional()),
56
58
  });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as ElevenLabs from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const TestsFeatureUsageCommonModel: core.serialization.ObjectSchema<serializers.TestsFeatureUsageCommonModel.Raw, ElevenLabs.TestsFeatureUsageCommonModel>;
8
+ export declare namespace TestsFeatureUsageCommonModel {
9
+ interface Raw {
10
+ enabled?: boolean | null;
11
+ tests_ran_after_last_modification?: boolean | null;
12
+ tests_ran_in_last_7_days?: boolean | null;
13
+ }
14
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.TestsFeatureUsageCommonModel = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.TestsFeatureUsageCommonModel = core.serialization.object({
42
+ enabled: core.serialization.boolean().optional(),
43
+ testsRanAfterLastModification: core.serialization.property("tests_ran_after_last_modification", core.serialization.boolean().optional()),
44
+ testsRanInLast7Days: core.serialization.property("tests_ran_in_last_7_days", core.serialization.boolean().optional()),
45
+ });
@@ -17,5 +17,6 @@ export declare namespace UnitTestRunResponseModel {
17
17
  agent_responses?: ConversationHistoryTranscriptCommonModelOutput.Raw[] | null;
18
18
  test_id: string;
19
19
  condition_result?: TestConditionResultCommonModel.Raw | null;
20
+ last_updated_at_unix?: number | null;
20
21
  }
21
22
  }
@@ -49,4 +49,5 @@ exports.UnitTestRunResponseModel = core.serialization.object({
49
49
  agentResponses: core.serialization.property("agent_responses", core.serialization.list(ConversationHistoryTranscriptCommonModelOutput_1.ConversationHistoryTranscriptCommonModelOutput).optional()),
50
50
  testId: core.serialization.property("test_id", core.serialization.string()),
51
51
  conditionResult: core.serialization.property("condition_result", TestConditionResultCommonModel_1.TestConditionResultCommonModel.optional()),
52
+ lastUpdatedAtUnix: core.serialization.property("last_updated_at_unix", core.serialization.number().optional()),
52
53
  });
@@ -1,6 +1,4 @@
1
1
  export * from "./BadRequestErrorBody";
2
- export * from "./CreateUnitTestRequestDynamicVariablesValue";
3
- export * from "./UpdateUnitTestRequestDynamicVariablesValue";
4
2
  export * from "./AsrConversationalConfig";
5
3
  export * from "./AsrInputFormat";
6
4
  export * from "./AsrProvider";
@@ -511,6 +509,7 @@ export * from "./TestConditionRationaleCommonModel";
511
509
  export * from "./TestConditionResultCommonModel";
512
510
  export * from "./TestRunStatus";
513
511
  export * from "./TestToolResultModel";
512
+ export * from "./TestsFeatureUsageCommonModel";
514
513
  export * from "./TokenResponseModel";
515
514
  export * from "./Tool";
516
515
  export * from "./ToolAnnotations";
@@ -15,8 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./BadRequestErrorBody"), exports);
18
- __exportStar(require("./CreateUnitTestRequestDynamicVariablesValue"), exports);
19
- __exportStar(require("./UpdateUnitTestRequestDynamicVariablesValue"), exports);
20
18
  __exportStar(require("./AsrConversationalConfig"), exports);
21
19
  __exportStar(require("./AsrInputFormat"), exports);
22
20
  __exportStar(require("./AsrProvider"), exports);
@@ -527,6 +525,7 @@ __exportStar(require("./TestConditionRationaleCommonModel"), exports);
527
525
  __exportStar(require("./TestConditionResultCommonModel"), exports);
528
526
  __exportStar(require("./TestRunStatus"), exports);
529
527
  __exportStar(require("./TestToolResultModel"), exports);
528
+ __exportStar(require("./TestsFeatureUsageCommonModel"), exports);
530
529
  __exportStar(require("./TokenResponseModel"), exports);
531
530
  __exportStar(require("./Tool"), exports);
532
531
  __exportStar(require("./ToolAnnotations"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v2.12.0";
1
+ export declare const SDK_VERSION = "v2.12.2";
package/dist/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 = "v2.12.0";
4
+ exports.SDK_VERSION = "v2.12.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevenlabs/elevenlabs-js",
3
- "version": "v2.12.0",
3
+ "version": "v2.12.2",
4
4
  "private": false,
5
5
  "repository": "github:elevenlabs/elevenlabs-js",
6
6
  "license": "MIT",