@elevenlabs/elevenlabs-js 2.12.1 → 2.13.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.
- package/Client.js +2 -2
- package/api/resources/conversationalAi/resources/tests/client/Client.d.ts +147 -0
- package/api/resources/conversationalAi/resources/tests/client/Client.js +537 -0
- package/api/resources/conversationalAi/resources/tests/client/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tests/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +37 -0
- package/api/resources/conversationalAi/resources/tests/client/requests/ListTestsByIdsRequestModel.d.ts +13 -0
- package/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.d.ts +21 -0
- package/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +37 -0
- package/api/resources/conversationalAi/resources/tests/client/requests/index.d.ts +4 -0
- package/api/resources/conversationalAi/resources/tests/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/tests/index.d.ts +3 -0
- package/api/resources/conversationalAi/resources/tests/index.js +19 -0
- package/api/resources/conversationalAi/resources/tests/resources/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tests/resources/index.js +41 -0
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.d.ts +63 -0
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +201 -0
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +19 -0
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.js +5 -0
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/tests/resources/invocations/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tests/resources/invocations/index.js +17 -0
- package/api/resources/conversationalAi/resources/tests/types/CreateUnitTestRequestDynamicVariablesValue.d.ts +4 -0
- package/api/resources/conversationalAi/resources/tests/types/CreateUnitTestRequestDynamicVariablesValue.js +5 -0
- package/api/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.d.ts +4 -0
- package/api/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.js +5 -0
- package/api/resources/conversationalAi/resources/tests/types/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tests/types/index.js +18 -0
- package/api/resources/dubbing/resources/resource/client/Client.js +18 -1
- package/api/resources/dubbing/resources/resource/client/requests/BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.d.ts +4 -0
- package/api/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +2 -0
- package/api/resources/workspace/resources/members/client/Client.d.ts +0 -15
- package/api/resources/workspace/resources/members/client/Client.js +0 -77
- package/api/resources/workspace/resources/members/client/requests/index.d.ts +0 -1
- package/api/types/AgentMetadataResponseModel.d.ts +2 -0
- package/api/types/InvoiceResponse.d.ts +3 -0
- package/api/types/InvoiceResponseModelPaymentIntentStatus.d.ts +13 -0
- package/api/types/InvoiceResponseModelPaymentIntentStatus.js +15 -0
- package/api/types/Subscription.d.ts +2 -0
- package/api/types/TtsConversationalConfigOverride.d.ts +6 -0
- package/api/types/TtsConversationalConfigOverrideConfig.d.ts +6 -0
- package/api/types/Voice.d.ts +2 -0
- package/api/types/VoicePreviewResponseModel.d.ts +2 -0
- package/api/types/index.d.ts +1 -1
- package/api/types/index.js +1 -1
- package/dist/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/tests/client/Client.d.ts +147 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +537 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +37 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +5 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/ListTestsByIdsRequestModel.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/ListTestsByIdsRequestModel.js +5 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.d.ts +21 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.js +5 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +37 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +5 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/index.d.ts +4 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/tests/index.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/tests/index.js +19 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/index.js +41 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.d.ts +63 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +201 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +19 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.js +5 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/tests/types/CreateUnitTestRequestDynamicVariablesValue.d.ts +4 -0
- package/dist/api/resources/conversationalAi/resources/tests/types/CreateUnitTestRequestDynamicVariablesValue.js +5 -0
- package/dist/api/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.d.ts +4 -0
- package/dist/api/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.js +5 -0
- package/dist/api/resources/conversationalAi/resources/tests/types/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tests/types/index.js +18 -0
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +18 -1
- package/dist/api/resources/dubbing/resources/resource/client/requests/BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.d.ts +4 -0
- package/dist/api/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +2 -0
- package/dist/api/resources/workspace/resources/members/client/Client.d.ts +0 -15
- package/dist/api/resources/workspace/resources/members/client/Client.js +0 -77
- package/dist/api/resources/workspace/resources/members/client/requests/index.d.ts +0 -1
- package/dist/api/types/AgentMetadataResponseModel.d.ts +2 -0
- package/dist/api/types/InvoiceResponse.d.ts +3 -0
- package/dist/api/types/InvoiceResponseModelPaymentIntentStatus.d.ts +13 -0
- package/dist/api/types/InvoiceResponseModelPaymentIntentStatus.js +15 -0
- package/dist/api/types/Subscription.d.ts +2 -0
- package/dist/api/types/TtsConversationalConfigOverride.d.ts +6 -0
- package/dist/api/types/TtsConversationalConfigOverrideConfig.d.ts +6 -0
- package/dist/api/types/Voice.d.ts +2 -0
- package/dist/api/types/VoicePreviewResponseModel.d.ts +2 -0
- package/dist/api/types/index.d.ts +1 -1
- package/dist/api/types/index.js +1 -1
- package/dist/serialization/resources/conversationalAi/resources/tests/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +23 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +56 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/ListTestsByIdsRequestModel.d.ts +12 -0
- package/dist/serialization/resources/{workspace/resources/members/client/requests/BodyDeleteMemberV1WorkspaceMembersDelete.js → conversationalAi/resources/tests/client/requests/ListTestsByIdsRequestModel.js} +3 -3
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +23 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +56 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/index.d.ts +3 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/index.js +9 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/index.d.ts +3 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/index.js +19 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/index.js +41 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +15 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.js +46 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/types/CreateUnitTestRequestDynamicVariablesValue.d.ts +10 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/types/CreateUnitTestRequestDynamicVariablesValue.js +46 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.d.ts +10 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.js +46 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/types/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/types/index.js +18 -0
- package/dist/serialization/resources/dubbing/resources/resource/client/requests/BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.d.ts +1 -1
- package/dist/serialization/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +1 -0
- package/dist/serialization/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.js +1 -0
- package/dist/serialization/resources/workspace/resources/members/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/workspace/resources/members/client/requests/index.js +1 -3
- package/dist/serialization/types/AgentMetadataResponseModel.d.ts +1 -0
- package/dist/serialization/types/AgentMetadataResponseModel.js +1 -0
- package/dist/serialization/types/InvoiceResponse.d.ts +2 -0
- package/dist/serialization/types/InvoiceResponse.js +2 -0
- package/dist/serialization/types/InvoiceResponseModelPaymentIntentStatus.d.ts +10 -0
- package/dist/serialization/types/{DeleteWorkspaceMemberResponseModel.js → InvoiceResponseModelPaymentIntentStatus.js} +10 -4
- package/dist/serialization/types/Subscription.d.ts +1 -0
- package/dist/serialization/types/Subscription.js +1 -0
- package/dist/serialization/types/TtsConversationalConfigOverride.d.ts +3 -0
- package/dist/serialization/types/TtsConversationalConfigOverride.js +3 -0
- package/dist/serialization/types/TtsConversationalConfigOverrideConfig.d.ts +3 -0
- package/dist/serialization/types/TtsConversationalConfigOverrideConfig.js +3 -0
- package/dist/serialization/types/Voice.d.ts +1 -0
- package/dist/serialization/types/Voice.js +1 -0
- package/dist/serialization/types/VoicePreviewResponseModel.d.ts +1 -0
- package/dist/serialization/types/VoicePreviewResponseModel.js +1 -0
- package/dist/serialization/types/index.d.ts +1 -1
- package/dist/serialization/types/index.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +0 -65
- package/serialization/resources/conversationalAi/resources/tests/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/tests/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +23 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +56 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/ListTestsByIdsRequestModel.d.ts +12 -0
- package/serialization/resources/{workspace/resources/members/client/requests/BodyDeleteMemberV1WorkspaceMembersDelete.js → conversationalAi/resources/tests/client/requests/ListTestsByIdsRequestModel.js} +3 -3
- package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +23 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +56 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/index.d.ts +3 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/index.js +9 -0
- package/serialization/resources/conversationalAi/resources/tests/index.d.ts +3 -0
- package/serialization/resources/conversationalAi/resources/tests/index.js +19 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/index.js +41 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.d.ts +15 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/ResubmitTestsRequestModel.js +46 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/invocations/client/requests/index.js +5 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/invocations/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/tests/resources/invocations/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/tests/types/CreateUnitTestRequestDynamicVariablesValue.d.ts +10 -0
- package/serialization/resources/conversationalAi/resources/tests/types/CreateUnitTestRequestDynamicVariablesValue.js +46 -0
- package/serialization/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.d.ts +10 -0
- package/serialization/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.js +46 -0
- package/serialization/resources/conversationalAi/resources/tests/types/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/tests/types/index.js +18 -0
- package/serialization/resources/dubbing/resources/resource/client/requests/BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.d.ts +1 -1
- package/serialization/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +1 -0
- package/serialization/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.js +1 -0
- package/serialization/resources/workspace/resources/members/client/requests/index.d.ts +0 -1
- package/serialization/resources/workspace/resources/members/client/requests/index.js +1 -3
- package/serialization/types/AgentMetadataResponseModel.d.ts +1 -0
- package/serialization/types/AgentMetadataResponseModel.js +1 -0
- package/serialization/types/InvoiceResponse.d.ts +2 -0
- package/serialization/types/InvoiceResponse.js +2 -0
- package/serialization/types/InvoiceResponseModelPaymentIntentStatus.d.ts +10 -0
- package/serialization/types/{DeleteWorkspaceMemberResponseModel.js → InvoiceResponseModelPaymentIntentStatus.js} +10 -4
- package/serialization/types/Subscription.d.ts +1 -0
- package/serialization/types/Subscription.js +1 -0
- package/serialization/types/TtsConversationalConfigOverride.d.ts +3 -0
- package/serialization/types/TtsConversationalConfigOverride.js +3 -0
- package/serialization/types/TtsConversationalConfigOverrideConfig.d.ts +3 -0
- package/serialization/types/TtsConversationalConfigOverrideConfig.js +3 -0
- package/serialization/types/Voice.d.ts +1 -0
- package/serialization/types/Voice.js +1 -0
- package/serialization/types/VoicePreviewResponseModel.d.ts +1 -0
- package/serialization/types/VoicePreviewResponseModel.js +1 -0
- package/serialization/types/index.d.ts +1 -1
- package/serialization/types/index.js +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/workspace/resources/members/client/requests/BodyDeleteMemberV1WorkspaceMembersDelete.d.ts +0 -13
- package/api/types/DeleteWorkspaceMemberResponseModel.d.ts +0 -7
- package/dist/api/resources/workspace/resources/members/client/requests/BodyDeleteMemberV1WorkspaceMembersDelete.d.ts +0 -13
- package/dist/api/types/DeleteWorkspaceMemberResponseModel.d.ts +0 -7
- package/dist/serialization/resources/workspace/resources/members/client/requests/BodyDeleteMemberV1WorkspaceMembersDelete.d.ts +0 -12
- package/dist/serialization/types/DeleteWorkspaceMemberResponseModel.d.ts +0 -12
- package/serialization/resources/workspace/resources/members/client/requests/BodyDeleteMemberV1WorkspaceMembersDelete.d.ts +0 -12
- package/serialization/types/DeleteWorkspaceMemberResponseModel.d.ts +0 -12
- /package/api/resources/{workspace/resources/members/client/requests/BodyDeleteMemberV1WorkspaceMembersDelete.js → conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js} +0 -0
- /package/api/{types/DeleteWorkspaceMemberResponseModel.js → resources/conversationalAi/resources/tests/client/requests/ListTestsByIdsRequestModel.js} +0 -0
- /package/{dist/api/resources/workspace/resources/members/client/requests/BodyDeleteMemberV1WorkspaceMembersDelete.js → api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.js} +0 -0
- /package/{dist/api/types/DeleteWorkspaceMemberResponseModel.js → api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js} +0 -0
package/dist/serialization/resources/conversationalAi/resources/tests/resources/invocations/index.js
ADDED
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.CreateUnitTestRequestDynamicVariablesValue = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.CreateUnitTestRequestDynamicVariablesValue = core.serialization.undiscriminatedUnion([
|
|
42
|
+
core.serialization.string(),
|
|
43
|
+
core.serialization.number(),
|
|
44
|
+
core.serialization.number(),
|
|
45
|
+
core.serialization.boolean(),
|
|
46
|
+
]);
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.UpdateUnitTestRequestDynamicVariablesValue = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.UpdateUnitTestRequestDynamicVariablesValue = core.serialization.undiscriminatedUnion([
|
|
42
|
+
core.serialization.string(),
|
|
43
|
+
core.serialization.number(),
|
|
44
|
+
core.serialization.number(),
|
|
45
|
+
core.serialization.boolean(),
|
|
46
|
+
]);
|
|
@@ -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);
|
|
@@ -5,7 +5,7 @@ import * as serializers from "../../../../../../index";
|
|
|
5
5
|
import * as ElevenLabs from "../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../core";
|
|
7
7
|
import { RenderType } from "../../../../../../types/RenderType";
|
|
8
|
-
export declare const BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost: core.serialization.Schema<serializers.dubbing.BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.Raw, ElevenLabs.dubbing.BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost
|
|
8
|
+
export declare const BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost: core.serialization.Schema<serializers.dubbing.BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.Raw, Omit<ElevenLabs.dubbing.BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost, "shouldNormalizeVolume">>;
|
|
9
9
|
export declare namespace BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost {
|
|
10
10
|
interface Raw {
|
|
11
11
|
render_type: RenderType.Raw;
|
|
@@ -8,6 +8,7 @@ export declare const CreateSoundEffectRequest: core.serialization.Schema<seriali
|
|
|
8
8
|
export declare namespace CreateSoundEffectRequest {
|
|
9
9
|
interface Raw {
|
|
10
10
|
text: string;
|
|
11
|
+
loop?: boolean | null;
|
|
11
12
|
duration_seconds?: number | null;
|
|
12
13
|
prompt_influence?: number | null;
|
|
13
14
|
}
|
package/dist/serialization/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.js
CHANGED
|
@@ -40,6 +40,7 @@ exports.CreateSoundEffectRequest = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../../../../core"));
|
|
41
41
|
exports.CreateSoundEffectRequest = core.serialization.object({
|
|
42
42
|
text: core.serialization.string(),
|
|
43
|
+
loop: core.serialization.boolean().optional(),
|
|
43
44
|
durationSeconds: core.serialization.property("duration_seconds", core.serialization.number().optional()),
|
|
44
45
|
promptInfluence: core.serialization.property("prompt_influence", core.serialization.number().optional()),
|
|
45
46
|
});
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.UpdateMemberRequest = void 0;
|
|
4
4
|
var UpdateMemberRequest_1 = require("./UpdateMemberRequest");
|
|
5
5
|
Object.defineProperty(exports, "UpdateMemberRequest", { enumerable: true, get: function () { return UpdateMemberRequest_1.UpdateMemberRequest; } });
|
|
6
|
-
var BodyDeleteMemberV1WorkspaceMembersDelete_1 = require("./BodyDeleteMemberV1WorkspaceMembersDelete");
|
|
7
|
-
Object.defineProperty(exports, "BodyDeleteMemberV1WorkspaceMembersDelete", { enumerable: true, get: function () { return BodyDeleteMemberV1WorkspaceMembersDelete_1.BodyDeleteMemberV1WorkspaceMembersDelete; } });
|
|
@@ -40,4 +40,5 @@ exports.AgentMetadataResponseModel = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.AgentMetadataResponseModel = core.serialization.object({
|
|
42
42
|
createdAtUnixSecs: core.serialization.property("created_at_unix_secs", core.serialization.number()),
|
|
43
|
+
updatedAtUnixSecs: core.serialization.property("updated_at_unix_secs", core.serialization.number()),
|
|
43
44
|
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { InvoiceResponseModelPaymentIntentStatus } from "./InvoiceResponseModelPaymentIntentStatus";
|
|
7
8
|
export declare const InvoiceResponse: core.serialization.ObjectSchema<serializers.InvoiceResponse.Raw, ElevenLabs.InvoiceResponse>;
|
|
8
9
|
export declare namespace InvoiceResponse {
|
|
9
10
|
interface Raw {
|
|
@@ -11,5 +12,6 @@ export declare namespace InvoiceResponse {
|
|
|
11
12
|
discount_percent_off?: number | null;
|
|
12
13
|
discount_amount_off?: number | null;
|
|
13
14
|
next_payment_attempt_unix: number;
|
|
15
|
+
payment_intent_status?: InvoiceResponseModelPaymentIntentStatus.Raw | null;
|
|
14
16
|
}
|
|
15
17
|
}
|
|
@@ -38,9 +38,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.InvoiceResponse = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
+
const InvoiceResponseModelPaymentIntentStatus_1 = require("./InvoiceResponseModelPaymentIntentStatus");
|
|
41
42
|
exports.InvoiceResponse = core.serialization.object({
|
|
42
43
|
amountDueCents: core.serialization.property("amount_due_cents", core.serialization.number()),
|
|
43
44
|
discountPercentOff: core.serialization.property("discount_percent_off", core.serialization.number().optional()),
|
|
44
45
|
discountAmountOff: core.serialization.property("discount_amount_off", core.serialization.number().optional()),
|
|
45
46
|
nextPaymentAttemptUnix: core.serialization.property("next_payment_attempt_unix", core.serialization.number()),
|
|
47
|
+
paymentIntentStatus: core.serialization.property("payment_intent_status", InvoiceResponseModelPaymentIntentStatus_1.InvoiceResponseModelPaymentIntentStatus.optional()),
|
|
46
48
|
});
|
|
@@ -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 InvoiceResponseModelPaymentIntentStatus: core.serialization.Schema<serializers.InvoiceResponseModelPaymentIntentStatus.Raw, ElevenLabs.InvoiceResponseModelPaymentIntentStatus>;
|
|
8
|
+
export declare namespace InvoiceResponseModelPaymentIntentStatus {
|
|
9
|
+
type Raw = "canceled" | "processing" | "requires_action" | "requires_capture" | "requires_confirmation" | "requires_payment_method" | "succeeded";
|
|
10
|
+
}
|
|
@@ -36,8 +36,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.InvoiceResponseModelPaymentIntentStatus = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
exports.InvoiceResponseModelPaymentIntentStatus = core.serialization.enum_([
|
|
42
|
+
"canceled",
|
|
43
|
+
"processing",
|
|
44
|
+
"requires_action",
|
|
45
|
+
"requires_capture",
|
|
46
|
+
"requires_confirmation",
|
|
47
|
+
"requires_payment_method",
|
|
48
|
+
"succeeded",
|
|
49
|
+
]);
|
|
@@ -34,6 +34,7 @@ export declare namespace Subscription {
|
|
|
34
34
|
billing_period?: ExtendedSubscriptionResponseModelBillingPeriod.Raw | null;
|
|
35
35
|
character_refresh_period?: ExtendedSubscriptionResponseModelCharacterRefreshPeriod.Raw | null;
|
|
36
36
|
next_invoice?: InvoiceResponse.Raw | null;
|
|
37
|
+
open_invoices: InvoiceResponse.Raw[];
|
|
37
38
|
has_open_invoices: boolean;
|
|
38
39
|
pending_change?: ExtendedSubscriptionResponseModelPendingChange.Raw | null;
|
|
39
40
|
}
|
|
@@ -66,6 +66,7 @@ exports.Subscription = core.serialization.object({
|
|
|
66
66
|
billingPeriod: core.serialization.property("billing_period", ExtendedSubscriptionResponseModelBillingPeriod_1.ExtendedSubscriptionResponseModelBillingPeriod.optional()),
|
|
67
67
|
characterRefreshPeriod: core.serialization.property("character_refresh_period", ExtendedSubscriptionResponseModelCharacterRefreshPeriod_1.ExtendedSubscriptionResponseModelCharacterRefreshPeriod.optional()),
|
|
68
68
|
nextInvoice: core.serialization.property("next_invoice", InvoiceResponse_1.InvoiceResponse.optional()),
|
|
69
|
+
openInvoices: core.serialization.property("open_invoices", core.serialization.list(InvoiceResponse_1.InvoiceResponse)),
|
|
69
70
|
hasOpenInvoices: core.serialization.property("has_open_invoices", core.serialization.boolean()),
|
|
70
71
|
pendingChange: core.serialization.property("pending_change", ExtendedSubscriptionResponseModelPendingChange_1.ExtendedSubscriptionResponseModelPendingChange.optional()),
|
|
71
72
|
});
|
|
@@ -8,5 +8,8 @@ export declare const TtsConversationalConfigOverride: core.serialization.ObjectS
|
|
|
8
8
|
export declare namespace TtsConversationalConfigOverride {
|
|
9
9
|
interface Raw {
|
|
10
10
|
voice_id?: string | null;
|
|
11
|
+
stability?: number | null;
|
|
12
|
+
speed?: number | null;
|
|
13
|
+
similarity_boost?: number | null;
|
|
11
14
|
}
|
|
12
15
|
}
|
|
@@ -40,4 +40,7 @@ exports.TtsConversationalConfigOverride = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.TtsConversationalConfigOverride = core.serialization.object({
|
|
42
42
|
voiceId: core.serialization.property("voice_id", core.serialization.string().optional()),
|
|
43
|
+
stability: core.serialization.number().optional(),
|
|
44
|
+
speed: core.serialization.number().optional(),
|
|
45
|
+
similarityBoost: core.serialization.property("similarity_boost", core.serialization.number().optional()),
|
|
43
46
|
});
|
|
@@ -8,5 +8,8 @@ export declare const TtsConversationalConfigOverrideConfig: core.serialization.O
|
|
|
8
8
|
export declare namespace TtsConversationalConfigOverrideConfig {
|
|
9
9
|
interface Raw {
|
|
10
10
|
voice_id?: boolean | null;
|
|
11
|
+
stability?: boolean | null;
|
|
12
|
+
speed?: boolean | null;
|
|
13
|
+
similarity_boost?: boolean | null;
|
|
11
14
|
}
|
|
12
15
|
}
|
|
@@ -40,4 +40,7 @@ exports.TtsConversationalConfigOverrideConfig = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.TtsConversationalConfigOverrideConfig = core.serialization.object({
|
|
42
42
|
voiceId: core.serialization.property("voice_id", core.serialization.boolean().optional()),
|
|
43
|
+
stability: core.serialization.boolean().optional(),
|
|
44
|
+
speed: core.serialization.boolean().optional(),
|
|
45
|
+
similarityBoost: core.serialization.property("similarity_boost", core.serialization.boolean().optional()),
|
|
43
46
|
});
|
|
@@ -66,5 +66,6 @@ exports.Voice = core.serialization.object({
|
|
|
66
66
|
isOwner: core.serialization.property("is_owner", core.serialization.boolean().optional()),
|
|
67
67
|
isLegacy: core.serialization.property("is_legacy", core.serialization.boolean().optional()),
|
|
68
68
|
isMixed: core.serialization.property("is_mixed", core.serialization.boolean().optional()),
|
|
69
|
+
favoritedAtUnix: core.serialization.property("favorited_at_unix", core.serialization.number().optional()),
|
|
69
70
|
createdAtUnix: core.serialization.property("created_at_unix", core.serialization.number().optional()),
|
|
70
71
|
});
|
|
@@ -43,4 +43,5 @@ exports.VoicePreviewResponseModel = core.serialization.object({
|
|
|
43
43
|
generatedVoiceId: core.serialization.property("generated_voice_id", core.serialization.string()),
|
|
44
44
|
mediaType: core.serialization.property("media_type", core.serialization.string()),
|
|
45
45
|
durationSecs: core.serialization.property("duration_secs", core.serialization.number()),
|
|
46
|
+
language: core.serialization.string().optional(),
|
|
46
47
|
});
|
|
@@ -190,7 +190,6 @@ export * from "./DeleteVoiceResponseModel";
|
|
|
190
190
|
export * from "./DeleteVoiceSampleResponseModel";
|
|
191
191
|
export * from "./DeleteWorkspaceGroupMemberResponseModel";
|
|
192
192
|
export * from "./DeleteWorkspaceInviteResponseModel";
|
|
193
|
-
export * from "./DeleteWorkspaceMemberResponseModel";
|
|
194
193
|
export * from "./DependentAvailableAgentIdentifierAccessLevel";
|
|
195
194
|
export * from "./DependentAvailableAgentIdentifier";
|
|
196
195
|
export * from "./DependentAvailableToolIdentifierAccessLevel";
|
|
@@ -294,6 +293,7 @@ export * from "./HtmlExportOptions";
|
|
|
294
293
|
export * from "./ImageAvatar";
|
|
295
294
|
export * from "./InboundSipTrunkConfigRequestModel";
|
|
296
295
|
export * from "./IntegrationType";
|
|
296
|
+
export * from "./InvoiceResponseModelPaymentIntentStatus";
|
|
297
297
|
export * from "./InvoiceResponse";
|
|
298
298
|
export * from "./KnowledgeBaseDocumentChunkResponseModel";
|
|
299
299
|
export * from "./KnowledgeBaseDocumentMetadataResponseModel";
|
|
@@ -206,7 +206,6 @@ __exportStar(require("./DeleteVoiceResponseModel"), exports);
|
|
|
206
206
|
__exportStar(require("./DeleteVoiceSampleResponseModel"), exports);
|
|
207
207
|
__exportStar(require("./DeleteWorkspaceGroupMemberResponseModel"), exports);
|
|
208
208
|
__exportStar(require("./DeleteWorkspaceInviteResponseModel"), exports);
|
|
209
|
-
__exportStar(require("./DeleteWorkspaceMemberResponseModel"), exports);
|
|
210
209
|
__exportStar(require("./DependentAvailableAgentIdentifierAccessLevel"), exports);
|
|
211
210
|
__exportStar(require("./DependentAvailableAgentIdentifier"), exports);
|
|
212
211
|
__exportStar(require("./DependentAvailableToolIdentifierAccessLevel"), exports);
|
|
@@ -310,6 +309,7 @@ __exportStar(require("./HtmlExportOptions"), exports);
|
|
|
310
309
|
__exportStar(require("./ImageAvatar"), exports);
|
|
311
310
|
__exportStar(require("./InboundSipTrunkConfigRequestModel"), exports);
|
|
312
311
|
__exportStar(require("./IntegrationType"), exports);
|
|
312
|
+
__exportStar(require("./InvoiceResponseModelPaymentIntentStatus"), exports);
|
|
313
313
|
__exportStar(require("./InvoiceResponse"), exports);
|
|
314
314
|
__exportStar(require("./KnowledgeBaseDocumentChunkResponseModel"), exports);
|
|
315
315
|
__exportStar(require("./KnowledgeBaseDocumentMetadataResponseModel"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v2.
|
|
1
|
+
export declare const SDK_VERSION = "v2.13.0";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -12630,71 +12630,6 @@ await client.workspace.members.update({
|
|
|
12630
12630
|
</dl>
|
|
12631
12631
|
</details>
|
|
12632
12632
|
|
|
12633
|
-
<details><summary><code>client.workspace.members.<a href="/src/api/resources/workspace/resources/members/client/Client.ts">delete</a>({ ...params }) -> ElevenLabs.DeleteWorkspaceMemberResponseModel</code></summary>
|
|
12634
|
-
<dl>
|
|
12635
|
-
<dd>
|
|
12636
|
-
|
|
12637
|
-
#### 📝 Description
|
|
12638
|
-
|
|
12639
|
-
<dl>
|
|
12640
|
-
<dd>
|
|
12641
|
-
|
|
12642
|
-
<dl>
|
|
12643
|
-
<dd>
|
|
12644
|
-
|
|
12645
|
-
Deletes a workspace member. This endpoint may only be called by workspace administrators.
|
|
12646
|
-
|
|
12647
|
-
</dd>
|
|
12648
|
-
</dl>
|
|
12649
|
-
</dd>
|
|
12650
|
-
</dl>
|
|
12651
|
-
|
|
12652
|
-
#### 🔌 Usage
|
|
12653
|
-
|
|
12654
|
-
<dl>
|
|
12655
|
-
<dd>
|
|
12656
|
-
|
|
12657
|
-
<dl>
|
|
12658
|
-
<dd>
|
|
12659
|
-
|
|
12660
|
-
```typescript
|
|
12661
|
-
await client.workspace.members.delete({
|
|
12662
|
-
email: "email",
|
|
12663
|
-
});
|
|
12664
|
-
```
|
|
12665
|
-
|
|
12666
|
-
</dd>
|
|
12667
|
-
</dl>
|
|
12668
|
-
</dd>
|
|
12669
|
-
</dl>
|
|
12670
|
-
|
|
12671
|
-
#### ⚙️ Parameters
|
|
12672
|
-
|
|
12673
|
-
<dl>
|
|
12674
|
-
<dd>
|
|
12675
|
-
|
|
12676
|
-
<dl>
|
|
12677
|
-
<dd>
|
|
12678
|
-
|
|
12679
|
-
**request:** `ElevenLabs.workspace.BodyDeleteMemberV1WorkspaceMembersDelete`
|
|
12680
|
-
|
|
12681
|
-
</dd>
|
|
12682
|
-
</dl>
|
|
12683
|
-
|
|
12684
|
-
<dl>
|
|
12685
|
-
<dd>
|
|
12686
|
-
|
|
12687
|
-
**requestOptions:** `Members.RequestOptions`
|
|
12688
|
-
|
|
12689
|
-
</dd>
|
|
12690
|
-
</dl>
|
|
12691
|
-
</dd>
|
|
12692
|
-
</dl>
|
|
12693
|
-
|
|
12694
|
-
</dd>
|
|
12695
|
-
</dl>
|
|
12696
|
-
</details>
|
|
12697
|
-
|
|
12698
12633
|
## Workspace Resources
|
|
12699
12634
|
|
|
12700
12635
|
<details><summary><code>client.workspace.resources.<a href="/src/api/resources/workspace/resources/resources/client/Client.ts">get</a>(resourceId, { ...params }) -> ElevenLabs.ResourceMetadataResponseModel</code></summary>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -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);
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
import { ConversationHistoryTranscriptCommonModelInput } from "../../../../../../types/ConversationHistoryTranscriptCommonModelInput";
|
|
8
|
+
import { AgentSuccessfulResponseExample } from "../../../../../../types/AgentSuccessfulResponseExample";
|
|
9
|
+
import { AgentFailureResponseExample } from "../../../../../../types/AgentFailureResponseExample";
|
|
10
|
+
import { UnitTestToolCallEvaluationModelInput } from "../../../../../../types/UnitTestToolCallEvaluationModelInput";
|
|
11
|
+
import { CreateUnitTestRequestDynamicVariablesValue } from "../../types/CreateUnitTestRequestDynamicVariablesValue";
|
|
12
|
+
export declare const CreateUnitTestRequest: core.serialization.Schema<serializers.conversationalAi.CreateUnitTestRequest.Raw, ElevenLabs.conversationalAi.CreateUnitTestRequest>;
|
|
13
|
+
export declare namespace CreateUnitTestRequest {
|
|
14
|
+
interface Raw {
|
|
15
|
+
chat_history: ConversationHistoryTranscriptCommonModelInput.Raw[];
|
|
16
|
+
success_condition: string;
|
|
17
|
+
success_examples: AgentSuccessfulResponseExample.Raw[];
|
|
18
|
+
failure_examples: AgentFailureResponseExample.Raw[];
|
|
19
|
+
tool_call_parameters?: UnitTestToolCallEvaluationModelInput.Raw | null;
|
|
20
|
+
dynamic_variables?: Record<string, CreateUnitTestRequestDynamicVariablesValue.Raw | null | undefined> | null;
|
|
21
|
+
name: string;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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.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");
|
|
45
|
+
const CreateUnitTestRequestDynamicVariablesValue_1 = require("../../types/CreateUnitTestRequestDynamicVariablesValue");
|
|
46
|
+
exports.CreateUnitTestRequest = core.serialization.object({
|
|
47
|
+
chatHistory: core.serialization.property("chat_history", core.serialization.list(ConversationHistoryTranscriptCommonModelInput_1.ConversationHistoryTranscriptCommonModelInput)),
|
|
48
|
+
successCondition: core.serialization.property("success_condition", core.serialization.string()),
|
|
49
|
+
successExamples: core.serialization.property("success_examples", core.serialization.list(AgentSuccessfulResponseExample_1.AgentSuccessfulResponseExample)),
|
|
50
|
+
failureExamples: core.serialization.property("failure_examples", core.serialization.list(AgentFailureResponseExample_1.AgentFailureResponseExample)),
|
|
51
|
+
toolCallParameters: core.serialization.property("tool_call_parameters", UnitTestToolCallEvaluationModelInput_1.UnitTestToolCallEvaluationModelInput.optional()),
|
|
52
|
+
dynamicVariables: core.serialization.property("dynamic_variables", core.serialization
|
|
53
|
+
.record(core.serialization.string(), CreateUnitTestRequestDynamicVariablesValue_1.CreateUnitTestRequestDynamicVariablesValue.optional())
|
|
54
|
+
.optional()),
|
|
55
|
+
name: core.serialization.string(),
|
|
56
|
+
});
|
|
@@ -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
|
+
}
|
|
@@ -36,8 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.ListTestsByIdsRequestModel = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../../core"));
|
|
41
|
-
exports.
|
|
42
|
-
|
|
41
|
+
exports.ListTestsByIdsRequestModel = core.serialization.object({
|
|
42
|
+
testIds: core.serialization.property("test_ids", core.serialization.list(core.serialization.string())),
|
|
43
43
|
});
|