@elevenlabs/elevenlabs-js 2.29.0 → 2.30.0

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 (149) hide show
  1. package/BaseClient.js +2 -2
  2. package/LICENSE +1 -1
  3. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +0 -1
  4. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -5
  5. package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +0 -3
  6. package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +1 -1
  7. package/api/resources/dubbing/types/DubbingCreateRequestMode.d.ts +1 -1
  8. package/api/resources/dubbing/types/DubbingCreateRequestMode.js +1 -1
  9. package/api/resources/speechToText/client/Client.js +11 -0
  10. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -0
  11. package/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +4 -0
  12. package/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.js +3 -0
  13. package/api/resources/speechToText/types/index.d.ts +1 -0
  14. package/api/resources/speechToText/types/index.js +1 -0
  15. package/api/resources/workspace/resources/resources/client/Client.d.ts +17 -0
  16. package/api/resources/workspace/resources/resources/client/Client.js +59 -0
  17. package/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +14 -0
  18. package/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js +3 -0
  19. package/api/resources/workspace/resources/resources/client/requests/index.d.ts +1 -0
  20. package/api/types/DetectedEntity.d.ts +10 -0
  21. package/api/types/DetectedEntity.js +3 -0
  22. package/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
  23. package/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
  24. package/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -0
  25. package/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -0
  26. package/api/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.d.ts +3 -0
  27. package/api/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.js +3 -0
  28. package/api/types/PromptAgentApiModelInput.d.ts +2 -0
  29. package/api/types/PromptAgentApiModelOutput.d.ts +2 -0
  30. package/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +2 -0
  31. package/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +2 -0
  32. package/api/types/SoftTimeoutConfig.d.ts +2 -0
  33. package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +2 -0
  34. package/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
  35. package/api/types/index.d.ts +2 -0
  36. package/api/types/index.js +2 -0
  37. package/dist/BaseClient.js +2 -2
  38. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +0 -1
  39. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -5
  40. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +0 -3
  41. package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +1 -1
  42. package/dist/api/resources/dubbing/types/DubbingCreateRequestMode.d.ts +1 -1
  43. package/dist/api/resources/dubbing/types/DubbingCreateRequestMode.js +1 -1
  44. package/dist/api/resources/speechToText/client/Client.js +11 -0
  45. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -0
  46. package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +4 -0
  47. package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.js +3 -0
  48. package/dist/api/resources/speechToText/types/index.d.ts +1 -0
  49. package/dist/api/resources/speechToText/types/index.js +1 -0
  50. package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +17 -0
  51. package/dist/api/resources/workspace/resources/resources/client/Client.js +59 -0
  52. package/dist/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +14 -0
  53. package/dist/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js +3 -0
  54. package/dist/api/resources/workspace/resources/resources/client/requests/index.d.ts +1 -0
  55. package/dist/api/types/DetectedEntity.d.ts +10 -0
  56. package/dist/api/types/DetectedEntity.js +3 -0
  57. package/dist/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
  58. package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
  59. package/dist/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -0
  60. package/dist/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -0
  61. package/dist/api/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.d.ts +3 -0
  62. package/dist/api/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.js +3 -0
  63. package/dist/api/types/PromptAgentApiModelInput.d.ts +2 -0
  64. package/dist/api/types/PromptAgentApiModelOutput.d.ts +2 -0
  65. package/dist/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +2 -0
  66. package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +2 -0
  67. package/dist/api/types/SoftTimeoutConfig.d.ts +2 -0
  68. package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +2 -0
  69. package/dist/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
  70. package/dist/api/types/index.d.ts +2 -0
  71. package/dist/api/types/index.js +2 -0
  72. package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +7 -0
  73. package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.js +42 -0
  74. package/dist/serialization/resources/speechToText/types/index.d.ts +1 -0
  75. package/dist/serialization/resources/speechToText/types/index.js +1 -0
  76. package/dist/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +11 -0
  77. package/dist/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js +43 -0
  78. package/dist/serialization/resources/workspace/resources/resources/client/requests/index.d.ts +1 -0
  79. package/dist/serialization/resources/workspace/resources/resources/client/requests/index.js +3 -1
  80. package/dist/serialization/types/DetectedEntity.d.ts +12 -0
  81. package/dist/serialization/types/DetectedEntity.js +44 -0
  82. package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
  83. package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +2 -0
  84. package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
  85. package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +2 -0
  86. package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -0
  87. package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +2 -0
  88. package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -0
  89. package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +2 -0
  90. package/dist/serialization/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.d.ts +9 -0
  91. package/dist/serialization/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.js +41 -0
  92. package/dist/serialization/types/PromptAgentApiModelInput.d.ts +1 -0
  93. package/dist/serialization/types/PromptAgentApiModelInput.js +1 -0
  94. package/dist/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
  95. package/dist/serialization/types/PromptAgentApiModelOutput.js +1 -0
  96. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -0
  97. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInput.js +1 -0
  98. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -0
  99. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.js +1 -0
  100. package/dist/serialization/types/SoftTimeoutConfig.d.ts +1 -0
  101. package/dist/serialization/types/SoftTimeoutConfig.js +1 -0
  102. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
  103. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -0
  104. package/dist/serialization/types/SpeechToTextChunkResponseModel.d.ts +2 -0
  105. package/dist/serialization/types/SpeechToTextChunkResponseModel.js +2 -0
  106. package/dist/serialization/types/index.d.ts +2 -0
  107. package/dist/serialization/types/index.js +2 -0
  108. package/dist/version.d.ts +1 -1
  109. package/dist/version.js +1 -1
  110. package/package.json +1 -1
  111. package/reference.md +74 -1
  112. package/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +7 -0
  113. package/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.js +42 -0
  114. package/serialization/resources/speechToText/types/index.d.ts +1 -0
  115. package/serialization/resources/speechToText/types/index.js +1 -0
  116. package/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +11 -0
  117. package/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js +43 -0
  118. package/serialization/resources/workspace/resources/resources/client/requests/index.d.ts +1 -0
  119. package/serialization/resources/workspace/resources/resources/client/requests/index.js +3 -1
  120. package/serialization/types/DetectedEntity.d.ts +12 -0
  121. package/serialization/types/DetectedEntity.js +44 -0
  122. package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
  123. package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +2 -0
  124. package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
  125. package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +2 -0
  126. package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -0
  127. package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +2 -0
  128. package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -0
  129. package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +2 -0
  130. package/serialization/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.d.ts +9 -0
  131. package/serialization/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.js +41 -0
  132. package/serialization/types/PromptAgentApiModelInput.d.ts +1 -0
  133. package/serialization/types/PromptAgentApiModelInput.js +1 -0
  134. package/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
  135. package/serialization/types/PromptAgentApiModelOutput.js +1 -0
  136. package/serialization/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -0
  137. package/serialization/types/PromptAgentApiModelWorkflowOverrideInput.js +1 -0
  138. package/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -0
  139. package/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.js +1 -0
  140. package/serialization/types/SoftTimeoutConfig.d.ts +1 -0
  141. package/serialization/types/SoftTimeoutConfig.js +1 -0
  142. package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
  143. package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -0
  144. package/serialization/types/SpeechToTextChunkResponseModel.d.ts +2 -0
  145. package/serialization/types/SpeechToTextChunkResponseModel.js +2 -0
  146. package/serialization/types/index.d.ts +2 -0
  147. package/serialization/types/index.js +2 -0
  148. package/version.d.ts +1 -1
  149. package/version.js +1 -1
@@ -4,6 +4,7 @@ import type * as serializers from "../index";
4
4
  import { DocumentUsageModeEnum } from "./DocumentUsageModeEnum";
5
5
  import { GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem } from "./GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem";
6
6
  import { KnowledgeBaseDocumentMetadataResponseModel } from "./KnowledgeBaseDocumentMetadataResponseModel";
7
+ import { KnowledgeBaseFolderPathSegmentSummaryResponseModel } from "./KnowledgeBaseFolderPathSegmentSummaryResponseModel";
7
8
  import { ResourceAccessInfo } from "./ResourceAccessInfo";
8
9
  export declare const GetKnowledgeBaseSummaryTextResponseModel: core.serialization.ObjectSchema<serializers.GetKnowledgeBaseSummaryTextResponseModel.Raw, ElevenLabs.GetKnowledgeBaseSummaryTextResponseModel>;
9
10
  export declare namespace GetKnowledgeBaseSummaryTextResponseModel {
@@ -14,6 +15,7 @@ export declare namespace GetKnowledgeBaseSummaryTextResponseModel {
14
15
  supported_usages: DocumentUsageModeEnum.Raw[];
15
16
  access_info: ResourceAccessInfo.Raw;
16
17
  folder_parent_id?: string | null;
18
+ folder_path?: KnowledgeBaseFolderPathSegmentSummaryResponseModel.Raw[] | null;
17
19
  dependent_agents: GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem.Raw[];
18
20
  }
19
21
  }
@@ -39,6 +39,7 @@ const core = __importStar(require("../../core"));
39
39
  const DocumentUsageModeEnum_1 = require("./DocumentUsageModeEnum");
40
40
  const GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem_1 = require("./GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem");
41
41
  const KnowledgeBaseDocumentMetadataResponseModel_1 = require("./KnowledgeBaseDocumentMetadataResponseModel");
42
+ const KnowledgeBaseFolderPathSegmentSummaryResponseModel_1 = require("./KnowledgeBaseFolderPathSegmentSummaryResponseModel");
42
43
  const ResourceAccessInfo_1 = require("./ResourceAccessInfo");
43
44
  exports.GetKnowledgeBaseSummaryTextResponseModel = core.serialization.object({
44
45
  id: core.serialization.string(),
@@ -47,5 +48,6 @@ exports.GetKnowledgeBaseSummaryTextResponseModel = core.serialization.object({
47
48
  supportedUsages: core.serialization.property("supported_usages", core.serialization.list(DocumentUsageModeEnum_1.DocumentUsageModeEnum)),
48
49
  accessInfo: core.serialization.property("access_info", ResourceAccessInfo_1.ResourceAccessInfo),
49
50
  folderParentId: core.serialization.property("folder_parent_id", core.serialization.string().optional()),
51
+ folderPath: core.serialization.property("folder_path", core.serialization.list(KnowledgeBaseFolderPathSegmentSummaryResponseModel_1.KnowledgeBaseFolderPathSegmentSummaryResponseModel).optional()),
50
52
  dependentAgents: core.serialization.property("dependent_agents", core.serialization.list(GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem_1.GetKnowledgeBaseSummaryTextResponseModelDependentAgentsItem)),
51
53
  });
@@ -4,6 +4,7 @@ import type * as serializers from "../index";
4
4
  import { DocumentUsageModeEnum } from "./DocumentUsageModeEnum";
5
5
  import { GetKnowledgeBaseSummaryUrlResponseModelDependentAgentsItem } from "./GetKnowledgeBaseSummaryUrlResponseModelDependentAgentsItem";
6
6
  import { KnowledgeBaseDocumentMetadataResponseModel } from "./KnowledgeBaseDocumentMetadataResponseModel";
7
+ import { KnowledgeBaseFolderPathSegmentSummaryResponseModel } from "./KnowledgeBaseFolderPathSegmentSummaryResponseModel";
7
8
  import { ResourceAccessInfo } from "./ResourceAccessInfo";
8
9
  export declare const GetKnowledgeBaseSummaryUrlResponseModel: core.serialization.ObjectSchema<serializers.GetKnowledgeBaseSummaryUrlResponseModel.Raw, ElevenLabs.GetKnowledgeBaseSummaryUrlResponseModel>;
9
10
  export declare namespace GetKnowledgeBaseSummaryUrlResponseModel {
@@ -14,6 +15,7 @@ export declare namespace GetKnowledgeBaseSummaryUrlResponseModel {
14
15
  supported_usages: DocumentUsageModeEnum.Raw[];
15
16
  access_info: ResourceAccessInfo.Raw;
16
17
  folder_parent_id?: string | null;
18
+ folder_path?: KnowledgeBaseFolderPathSegmentSummaryResponseModel.Raw[] | null;
17
19
  dependent_agents: GetKnowledgeBaseSummaryUrlResponseModelDependentAgentsItem.Raw[];
18
20
  url: string;
19
21
  }
@@ -39,6 +39,7 @@ const core = __importStar(require("../../core"));
39
39
  const DocumentUsageModeEnum_1 = require("./DocumentUsageModeEnum");
40
40
  const GetKnowledgeBaseSummaryUrlResponseModelDependentAgentsItem_1 = require("./GetKnowledgeBaseSummaryUrlResponseModelDependentAgentsItem");
41
41
  const KnowledgeBaseDocumentMetadataResponseModel_1 = require("./KnowledgeBaseDocumentMetadataResponseModel");
42
+ const KnowledgeBaseFolderPathSegmentSummaryResponseModel_1 = require("./KnowledgeBaseFolderPathSegmentSummaryResponseModel");
42
43
  const ResourceAccessInfo_1 = require("./ResourceAccessInfo");
43
44
  exports.GetKnowledgeBaseSummaryUrlResponseModel = core.serialization.object({
44
45
  id: core.serialization.string(),
@@ -47,6 +48,7 @@ exports.GetKnowledgeBaseSummaryUrlResponseModel = core.serialization.object({
47
48
  supportedUsages: core.serialization.property("supported_usages", core.serialization.list(DocumentUsageModeEnum_1.DocumentUsageModeEnum)),
48
49
  accessInfo: core.serialization.property("access_info", ResourceAccessInfo_1.ResourceAccessInfo),
49
50
  folderParentId: core.serialization.property("folder_parent_id", core.serialization.string().optional()),
51
+ folderPath: core.serialization.property("folder_path", core.serialization.list(KnowledgeBaseFolderPathSegmentSummaryResponseModel_1.KnowledgeBaseFolderPathSegmentSummaryResponseModel).optional()),
50
52
  dependentAgents: core.serialization.property("dependent_agents", core.serialization.list(GetKnowledgeBaseSummaryUrlResponseModelDependentAgentsItem_1.GetKnowledgeBaseSummaryUrlResponseModelDependentAgentsItem)),
51
53
  url: core.serialization.string(),
52
54
  });
@@ -0,0 +1,9 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const KnowledgeBaseFolderPathSegmentSummaryResponseModel: core.serialization.ObjectSchema<serializers.KnowledgeBaseFolderPathSegmentSummaryResponseModel.Raw, ElevenLabs.KnowledgeBaseFolderPathSegmentSummaryResponseModel>;
5
+ export declare namespace KnowledgeBaseFolderPathSegmentSummaryResponseModel {
6
+ interface Raw {
7
+ id: string;
8
+ }
9
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.KnowledgeBaseFolderPathSegmentSummaryResponseModel = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.KnowledgeBaseFolderPathSegmentSummaryResponseModel = core.serialization.object({
40
+ id: core.serialization.string(),
41
+ });
@@ -28,6 +28,7 @@ export declare namespace PromptAgentApiModelInput {
28
28
  rag?: RagConfig.Raw | null;
29
29
  timezone?: string | null;
30
30
  backup_llm_config?: PromptAgentApiModelInputBackupLlmConfig.Raw | null;
31
+ cascade_timeout_seconds?: number | null;
31
32
  tools?: PromptAgentApiModelInputToolsItem.Raw[] | null;
32
33
  }
33
34
  }
@@ -61,5 +61,6 @@ exports.PromptAgentApiModelInput = core.serialization.object({
61
61
  rag: RagConfig_1.RagConfig.optional(),
62
62
  timezone: core.serialization.string().optional(),
63
63
  backupLlmConfig: core.serialization.property("backup_llm_config", PromptAgentApiModelInputBackupLlmConfig_1.PromptAgentApiModelInputBackupLlmConfig.optional()),
64
+ cascadeTimeoutSeconds: core.serialization.property("cascade_timeout_seconds", core.serialization.number().optional()),
64
65
  tools: core.serialization.list(PromptAgentApiModelInputToolsItem_1.PromptAgentApiModelInputToolsItem).optional(),
65
66
  });
@@ -28,6 +28,7 @@ export declare namespace PromptAgentApiModelOutput {
28
28
  rag?: RagConfig.Raw | null;
29
29
  timezone?: string | null;
30
30
  backup_llm_config?: PromptAgentApiModelOutputBackupLlmConfig.Raw | null;
31
+ cascade_timeout_seconds?: number | null;
31
32
  tools?: PromptAgentApiModelOutputToolsItem.Raw[] | null;
32
33
  }
33
34
  }
@@ -61,5 +61,6 @@ exports.PromptAgentApiModelOutput = core.serialization.object({
61
61
  rag: RagConfig_1.RagConfig.optional(),
62
62
  timezone: core.serialization.string().optional(),
63
63
  backupLlmConfig: core.serialization.property("backup_llm_config", PromptAgentApiModelOutputBackupLlmConfig_1.PromptAgentApiModelOutputBackupLlmConfig.optional()),
64
+ cascadeTimeoutSeconds: core.serialization.property("cascade_timeout_seconds", core.serialization.number().optional()),
64
65
  tools: core.serialization.list(PromptAgentApiModelOutputToolsItem_1.PromptAgentApiModelOutputToolsItem).optional(),
65
66
  });
@@ -28,6 +28,7 @@ export declare namespace PromptAgentApiModelWorkflowOverrideInput {
28
28
  rag?: RagConfigWorkflowOverride.Raw | null;
29
29
  timezone?: string | null;
30
30
  backup_llm_config?: PromptAgentApiModelWorkflowOverrideInputBackupLlmConfig.Raw | null;
31
+ cascade_timeout_seconds?: number | null;
31
32
  tools?: PromptAgentApiModelWorkflowOverrideInputToolsItem.Raw[] | null;
32
33
  }
33
34
  }
@@ -61,5 +61,6 @@ exports.PromptAgentApiModelWorkflowOverrideInput = core.serialization.object({
61
61
  rag: RagConfigWorkflowOverride_1.RagConfigWorkflowOverride.optional(),
62
62
  timezone: core.serialization.string().optional(),
63
63
  backupLlmConfig: core.serialization.property("backup_llm_config", PromptAgentApiModelWorkflowOverrideInputBackupLlmConfig_1.PromptAgentApiModelWorkflowOverrideInputBackupLlmConfig.optional()),
64
+ cascadeTimeoutSeconds: core.serialization.property("cascade_timeout_seconds", core.serialization.number().optional()),
64
65
  tools: core.serialization.list(PromptAgentApiModelWorkflowOverrideInputToolsItem_1.PromptAgentApiModelWorkflowOverrideInputToolsItem).optional(),
65
66
  });
@@ -28,6 +28,7 @@ export declare namespace PromptAgentApiModelWorkflowOverrideOutput {
28
28
  rag?: RagConfigWorkflowOverride.Raw | null;
29
29
  timezone?: string | null;
30
30
  backup_llm_config?: PromptAgentApiModelWorkflowOverrideOutputBackupLlmConfig.Raw | null;
31
+ cascade_timeout_seconds?: number | null;
31
32
  tools?: PromptAgentApiModelWorkflowOverrideOutputToolsItem.Raw[] | null;
32
33
  }
33
34
  }
@@ -61,5 +61,6 @@ exports.PromptAgentApiModelWorkflowOverrideOutput = core.serialization.object({
61
61
  rag: RagConfigWorkflowOverride_1.RagConfigWorkflowOverride.optional(),
62
62
  timezone: core.serialization.string().optional(),
63
63
  backupLlmConfig: core.serialization.property("backup_llm_config", PromptAgentApiModelWorkflowOverrideOutputBackupLlmConfig_1.PromptAgentApiModelWorkflowOverrideOutputBackupLlmConfig.optional()),
64
+ cascadeTimeoutSeconds: core.serialization.property("cascade_timeout_seconds", core.serialization.number().optional()),
64
65
  tools: core.serialization.list(PromptAgentApiModelWorkflowOverrideOutputToolsItem_1.PromptAgentApiModelWorkflowOverrideOutputToolsItem).optional(),
65
66
  });
@@ -6,5 +6,6 @@ export declare namespace SoftTimeoutConfig {
6
6
  interface Raw {
7
7
  timeout_seconds?: number | null;
8
8
  message?: string | null;
9
+ use_llm_generated_message?: boolean | null;
9
10
  }
10
11
  }
@@ -39,4 +39,5 @@ const core = __importStar(require("../../core"));
39
39
  exports.SoftTimeoutConfig = core.serialization.object({
40
40
  timeoutSeconds: core.serialization.property("timeout_seconds", core.serialization.number().optional()),
41
41
  message: core.serialization.string().optional(),
42
+ useLlmGeneratedMessage: core.serialization.property("use_llm_generated_message", core.serialization.boolean().optional()),
42
43
  });
@@ -6,5 +6,6 @@ export declare namespace SoftTimeoutConfigWorkflowOverride {
6
6
  interface Raw {
7
7
  timeout_seconds?: number | null;
8
8
  message?: string | null;
9
+ use_llm_generated_message?: boolean | null;
9
10
  }
10
11
  }
@@ -39,4 +39,5 @@ const core = __importStar(require("../../core"));
39
39
  exports.SoftTimeoutConfigWorkflowOverride = core.serialization.object({
40
40
  timeoutSeconds: core.serialization.property("timeout_seconds", core.serialization.number().optional()),
41
41
  message: core.serialization.string().optional(),
42
+ useLlmGeneratedMessage: core.serialization.property("use_llm_generated_message", core.serialization.boolean().optional()),
42
43
  });
@@ -2,6 +2,7 @@ import type * as ElevenLabs from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  import { AdditionalFormatResponseModel } from "./AdditionalFormatResponseModel";
5
+ import { DetectedEntity } from "./DetectedEntity";
5
6
  import { SpeechToTextWordResponseModel } from "./SpeechToTextWordResponseModel";
6
7
  export declare const SpeechToTextChunkResponseModel: core.serialization.ObjectSchema<serializers.SpeechToTextChunkResponseModel.Raw, ElevenLabs.SpeechToTextChunkResponseModel>;
7
8
  export declare namespace SpeechToTextChunkResponseModel {
@@ -13,5 +14,6 @@ export declare namespace SpeechToTextChunkResponseModel {
13
14
  channel_index?: number | null;
14
15
  additional_formats?: (AdditionalFormatResponseModel.Raw | null | undefined)[] | null;
15
16
  transcription_id?: string | null;
17
+ entities?: DetectedEntity.Raw[] | null;
16
18
  }
17
19
  }
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.SpeechToTextChunkResponseModel = void 0;
38
38
  const core = __importStar(require("../../core"));
39
39
  const AdditionalFormatResponseModel_1 = require("./AdditionalFormatResponseModel");
40
+ const DetectedEntity_1 = require("./DetectedEntity");
40
41
  const SpeechToTextWordResponseModel_1 = require("./SpeechToTextWordResponseModel");
41
42
  exports.SpeechToTextChunkResponseModel = core.serialization.object({
42
43
  languageCode: core.serialization.property("language_code", core.serialization.string()),
@@ -46,4 +47,5 @@ exports.SpeechToTextChunkResponseModel = core.serialization.object({
46
47
  channelIndex: core.serialization.property("channel_index", core.serialization.number().optional()),
47
48
  additionalFormats: core.serialization.property("additional_formats", core.serialization.list(AdditionalFormatResponseModel_1.AdditionalFormatResponseModel.optional()).optional()),
48
49
  transcriptionId: core.serialization.property("transcription_id", core.serialization.string().optional()),
50
+ entities: core.serialization.list(DetectedEntity_1.DetectedEntity).optional(),
49
51
  });
@@ -303,6 +303,7 @@ export * from "./DependentPhoneNumberIdentifier";
303
303
  export * from "./DependentUnknownAgentIdentifier";
304
304
  export * from "./DependentUnknownToolIdentifier";
305
305
  export * from "./DetailedMusicResponse";
306
+ export * from "./DetectedEntity";
306
307
  export * from "./DialogueInput";
307
308
  export * from "./DialogueInputResponseModel";
308
309
  export * from "./DiscountResponseModel";
@@ -433,6 +434,7 @@ export * from "./KnowledgeBaseDocumentChunkResponseModel";
433
434
  export * from "./KnowledgeBaseDocumentMetadataResponseModel";
434
435
  export * from "./KnowledgeBaseDocumentType";
435
436
  export * from "./KnowledgeBaseFolderPathSegmentResponseModel";
437
+ export * from "./KnowledgeBaseFolderPathSegmentSummaryResponseModel";
436
438
  export * from "./KnowledgeBaseLocator";
437
439
  export * from "./KnowledgeBaseSortBy";
438
440
  export * from "./KnowledgeBaseSummaryBatchSuccessfulResponseModel";
@@ -319,6 +319,7 @@ __exportStar(require("./DependentPhoneNumberIdentifier"), exports);
319
319
  __exportStar(require("./DependentUnknownAgentIdentifier"), exports);
320
320
  __exportStar(require("./DependentUnknownToolIdentifier"), exports);
321
321
  __exportStar(require("./DetailedMusicResponse"), exports);
322
+ __exportStar(require("./DetectedEntity"), exports);
322
323
  __exportStar(require("./DialogueInput"), exports);
323
324
  __exportStar(require("./DialogueInputResponseModel"), exports);
324
325
  __exportStar(require("./DiscountResponseModel"), exports);
@@ -449,6 +450,7 @@ __exportStar(require("./KnowledgeBaseDocumentChunkResponseModel"), exports);
449
450
  __exportStar(require("./KnowledgeBaseDocumentMetadataResponseModel"), exports);
450
451
  __exportStar(require("./KnowledgeBaseDocumentType"), exports);
451
452
  __exportStar(require("./KnowledgeBaseFolderPathSegmentResponseModel"), exports);
453
+ __exportStar(require("./KnowledgeBaseFolderPathSegmentSummaryResponseModel"), exports);
452
454
  __exportStar(require("./KnowledgeBaseLocator"), exports);
453
455
  __exportStar(require("./KnowledgeBaseSortBy"), exports);
454
456
  __exportStar(require("./KnowledgeBaseSummaryBatchSuccessfulResponseModel"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v2.29.0";
1
+ export declare const SDK_VERSION = "v2.30.0";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "v2.29.0";
4
+ exports.SDK_VERSION = "v2.30.0";