@elevenlabs/elevenlabs-js 2.57.0 → 2.58.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/.fern/metadata.json +2 -2
- package/.fern/replay.lock +8 -168
- package/BaseClient.js +2 -2
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/serviceAccounts/client/Client.d.ts +15 -0
- package/api/resources/serviceAccounts/client/Client.js +62 -0
- package/api/resources/serviceAccounts/client/index.d.ts +1 -1
- package/api/resources/serviceAccounts/client/index.js +15 -0
- package/api/resources/serviceAccounts/client/requests/BodyCreateServiceAccountV1ServiceAccountsPost.d.ts +12 -0
- package/api/resources/serviceAccounts/client/requests/BodyCreateServiceAccountV1ServiceAccountsPost.js +3 -0
- package/api/resources/serviceAccounts/client/requests/index.d.ts +1 -0
- package/api/resources/serviceAccounts/client/requests/index.js +2 -0
- package/api/resources/v1TextToDialogueMultiStreamInput/exports.d.ts +1 -0
- package/api/resources/v1TextToDialogueMultiStreamInput/exports.js +18 -0
- package/api/resources/v1TextToDialogueMultiStreamInput/index.d.ts +1 -0
- package/api/resources/v1TextToDialogueMultiStreamInput/index.js +17 -0
- package/api/resources/v1TextToDialogueMultiStreamInput/types/ReceiveTextToDialogueWebsocketMessageMulti.d.ts +5 -0
- package/api/resources/v1TextToDialogueMultiStreamInput/types/ReceiveTextToDialogueWebsocketMessageMulti.js +3 -0
- package/api/resources/v1TextToDialogueMultiStreamInput/types/index.d.ts +1 -0
- package/api/resources/v1TextToDialogueMultiStreamInput/types/index.js +17 -0
- package/api/resources/workspace/resources/invites/client/requests/BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost.d.ts +2 -0
- package/api/resources/workspace/resources/invites/client/requests/InviteUserRequest.d.ts +2 -0
- package/api/resources/workspace/resources/members/client/Client.d.ts +12 -0
- package/api/resources/workspace/resources/members/client/Client.js +54 -0
- package/api/types/CharacterMetadataResponseModel.d.ts +1 -0
- package/api/types/CustomGuardrailConfig.d.ts +1 -1
- package/api/types/DefaultSharingGroupConfig.d.ts +7 -0
- package/api/types/DefaultSharingGroupConfig.js +3 -0
- package/api/types/DefaultSharingGroupConfigPermissionLevel.d.ts +7 -0
- package/api/types/DefaultSharingGroupConfigPermissionLevel.js +10 -0
- package/api/types/GetConversationResponseModel.d.ts +1 -0
- package/api/types/TextToDialogueWebsocketAudioChunkMulti.d.ts +14 -0
- package/api/types/TextToDialogueWebsocketAudioChunkMulti.js +3 -0
- package/api/types/TextToDialogueWebsocketClientMessageMulti.d.ts +40 -0
- package/api/types/TextToDialogueWebsocketClientMessageMulti.js +3 -0
- package/api/types/TextToDialogueWebsocketFinalAudioForTurnMulti.d.ts +6 -0
- package/api/types/TextToDialogueWebsocketFinalAudioForTurnMulti.js +3 -0
- package/api/types/TextToDialogueWebsocketFinalMulti.d.ts +6 -0
- package/api/types/TextToDialogueWebsocketFinalMulti.js +3 -0
- package/api/types/WorkspaceCreateServiceAccountResponseModel.d.ts +3 -0
- package/api/types/WorkspaceCreateServiceAccountResponseModel.js +3 -0
- package/api/types/WorkspaceMemberResponseModel.d.ts +18 -0
- package/api/types/WorkspaceMemberResponseModel.js +3 -0
- package/api/types/index.d.ts +8 -0
- package/api/types/index.js +8 -0
- package/dist/BaseClient.js +2 -2
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/serviceAccounts/client/Client.d.ts +15 -0
- package/dist/api/resources/serviceAccounts/client/Client.js +62 -0
- package/dist/api/resources/serviceAccounts/client/index.d.ts +1 -1
- package/dist/api/resources/serviceAccounts/client/index.js +15 -0
- package/dist/api/resources/serviceAccounts/client/requests/BodyCreateServiceAccountV1ServiceAccountsPost.d.ts +12 -0
- package/dist/api/resources/serviceAccounts/client/requests/BodyCreateServiceAccountV1ServiceAccountsPost.js +3 -0
- package/dist/api/resources/serviceAccounts/client/requests/index.d.ts +1 -0
- package/dist/api/resources/serviceAccounts/client/requests/index.js +2 -0
- package/dist/api/resources/v1TextToDialogueMultiStreamInput/exports.d.ts +1 -0
- package/dist/api/resources/v1TextToDialogueMultiStreamInput/exports.js +18 -0
- package/dist/api/resources/v1TextToDialogueMultiStreamInput/index.d.ts +1 -0
- package/dist/api/resources/v1TextToDialogueMultiStreamInput/index.js +17 -0
- package/dist/api/resources/v1TextToDialogueMultiStreamInput/types/ReceiveTextToDialogueWebsocketMessageMulti.d.ts +5 -0
- package/dist/api/resources/v1TextToDialogueMultiStreamInput/types/ReceiveTextToDialogueWebsocketMessageMulti.js +3 -0
- package/dist/api/resources/v1TextToDialogueMultiStreamInput/types/index.d.ts +1 -0
- package/dist/api/resources/v1TextToDialogueMultiStreamInput/types/index.js +17 -0
- package/dist/api/resources/workspace/resources/invites/client/requests/BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost.d.ts +2 -0
- package/dist/api/resources/workspace/resources/invites/client/requests/InviteUserRequest.d.ts +2 -0
- package/dist/api/resources/workspace/resources/members/client/Client.d.ts +12 -0
- package/dist/api/resources/workspace/resources/members/client/Client.js +54 -0
- package/dist/api/types/CharacterMetadataResponseModel.d.ts +1 -0
- package/dist/api/types/CustomGuardrailConfig.d.ts +1 -1
- package/dist/api/types/DefaultSharingGroupConfig.d.ts +7 -0
- package/dist/api/types/DefaultSharingGroupConfig.js +3 -0
- package/dist/api/types/DefaultSharingGroupConfigPermissionLevel.d.ts +7 -0
- package/dist/api/types/DefaultSharingGroupConfigPermissionLevel.js +10 -0
- package/dist/api/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/api/types/TextToDialogueWebsocketAudioChunkMulti.d.ts +14 -0
- package/dist/api/types/TextToDialogueWebsocketAudioChunkMulti.js +3 -0
- package/dist/api/types/TextToDialogueWebsocketClientMessageMulti.d.ts +40 -0
- package/dist/api/types/TextToDialogueWebsocketClientMessageMulti.js +3 -0
- package/dist/api/types/TextToDialogueWebsocketFinalAudioForTurnMulti.d.ts +6 -0
- package/dist/api/types/TextToDialogueWebsocketFinalAudioForTurnMulti.js +3 -0
- package/dist/api/types/TextToDialogueWebsocketFinalMulti.d.ts +6 -0
- package/dist/api/types/TextToDialogueWebsocketFinalMulti.js +3 -0
- package/dist/api/types/WorkspaceCreateServiceAccountResponseModel.d.ts +3 -0
- package/dist/api/types/WorkspaceCreateServiceAccountResponseModel.js +3 -0
- package/dist/api/types/WorkspaceMemberResponseModel.d.ts +18 -0
- package/dist/api/types/WorkspaceMemberResponseModel.js +3 -0
- package/dist/api/types/index.d.ts +8 -0
- package/dist/api/types/index.js +8 -0
- package/dist/serialization/resources/index.d.ts +3 -0
- package/dist/serialization/resources/index.js +4 -1
- package/dist/serialization/resources/serviceAccounts/client/index.d.ts +1 -0
- package/dist/serialization/resources/serviceAccounts/client/index.js +17 -0
- package/dist/serialization/resources/serviceAccounts/client/requests/BodyCreateServiceAccountV1ServiceAccountsPost.d.ts +11 -0
- package/dist/serialization/resources/serviceAccounts/client/requests/BodyCreateServiceAccountV1ServiceAccountsPost.js +43 -0
- package/dist/serialization/resources/serviceAccounts/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/serviceAccounts/client/requests/index.js +5 -0
- package/dist/serialization/resources/serviceAccounts/index.d.ts +1 -0
- package/dist/serialization/resources/serviceAccounts/index.js +1 -0
- package/dist/serialization/resources/v1TextToDialogueMultiStreamInput/index.d.ts +1 -0
- package/dist/serialization/resources/v1TextToDialogueMultiStreamInput/index.js +17 -0
- package/dist/serialization/resources/v1TextToDialogueMultiStreamInput/types/ReceiveTextToDialogueWebsocketMessageMulti.d.ts +11 -0
- package/dist/serialization/resources/v1TextToDialogueMultiStreamInput/types/ReceiveTextToDialogueWebsocketMessageMulti.js +48 -0
- package/dist/serialization/resources/v1TextToDialogueMultiStreamInput/types/index.d.ts +1 -0
- package/dist/serialization/resources/v1TextToDialogueMultiStreamInput/types/index.js +17 -0
- package/dist/serialization/resources/workspace/resources/invites/client/requests/BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost.d.ts +1 -0
- package/dist/serialization/resources/workspace/resources/invites/client/requests/BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost.js +1 -0
- package/dist/serialization/resources/workspace/resources/invites/client/requests/InviteUserRequest.d.ts +1 -0
- package/dist/serialization/resources/workspace/resources/invites/client/requests/InviteUserRequest.js +1 -0
- package/dist/serialization/resources/workspace/resources/members/client/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/resources/members/client/index.js +24 -0
- package/dist/serialization/resources/workspace/resources/members/client/list.d.ts +8 -0
- package/dist/serialization/resources/workspace/resources/members/client/list.js +40 -0
- package/dist/serialization/types/CharacterMetadataResponseModel.d.ts +1 -0
- package/dist/serialization/types/CharacterMetadataResponseModel.js +1 -0
- package/dist/serialization/types/DefaultSharingGroupConfig.d.ts +11 -0
- package/dist/serialization/types/DefaultSharingGroupConfig.js +43 -0
- package/dist/serialization/types/DefaultSharingGroupConfigPermissionLevel.d.ts +7 -0
- package/dist/serialization/types/DefaultSharingGroupConfigPermissionLevel.js +39 -0
- package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetConversationResponseModel.js +1 -0
- package/dist/serialization/types/TextToDialogueWebsocketAudioChunkMulti.d.ts +13 -0
- package/dist/serialization/types/TextToDialogueWebsocketAudioChunkMulti.js +45 -0
- package/dist/serialization/types/TextToDialogueWebsocketClientMessageMulti.d.ts +23 -0
- package/dist/serialization/types/TextToDialogueWebsocketClientMessageMulti.js +55 -0
- package/dist/serialization/types/TextToDialogueWebsocketFinalAudioForTurnMulti.d.ts +10 -0
- package/dist/serialization/types/TextToDialogueWebsocketFinalAudioForTurnMulti.js +42 -0
- package/dist/serialization/types/TextToDialogueWebsocketFinalMulti.d.ts +10 -0
- package/dist/serialization/types/TextToDialogueWebsocketFinalMulti.js +42 -0
- package/dist/serialization/types/WorkspaceCreateServiceAccountResponseModel.d.ts +9 -0
- package/dist/serialization/types/WorkspaceCreateServiceAccountResponseModel.js +41 -0
- package/dist/serialization/types/WorkspaceMemberResponseModel.d.ts +15 -0
- package/dist/serialization/types/WorkspaceMemberResponseModel.js +47 -0
- package/dist/serialization/types/index.d.ts +8 -0
- package/dist/serialization/types/index.js +8 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +120 -0
- package/serialization/resources/index.d.ts +3 -0
- package/serialization/resources/index.js +4 -1
- package/serialization/resources/serviceAccounts/client/index.d.ts +1 -0
- package/serialization/resources/serviceAccounts/client/index.js +17 -0
- package/serialization/resources/serviceAccounts/client/requests/BodyCreateServiceAccountV1ServiceAccountsPost.d.ts +11 -0
- package/serialization/resources/serviceAccounts/client/requests/BodyCreateServiceAccountV1ServiceAccountsPost.js +43 -0
- package/serialization/resources/serviceAccounts/client/requests/index.d.ts +1 -0
- package/serialization/resources/serviceAccounts/client/requests/index.js +5 -0
- package/serialization/resources/serviceAccounts/index.d.ts +1 -0
- package/serialization/resources/serviceAccounts/index.js +1 -0
- package/serialization/resources/v1TextToDialogueMultiStreamInput/index.d.ts +1 -0
- package/serialization/resources/v1TextToDialogueMultiStreamInput/index.js +17 -0
- package/serialization/resources/v1TextToDialogueMultiStreamInput/types/ReceiveTextToDialogueWebsocketMessageMulti.d.ts +11 -0
- package/serialization/resources/v1TextToDialogueMultiStreamInput/types/ReceiveTextToDialogueWebsocketMessageMulti.js +48 -0
- package/serialization/resources/v1TextToDialogueMultiStreamInput/types/index.d.ts +1 -0
- package/serialization/resources/v1TextToDialogueMultiStreamInput/types/index.js +17 -0
- package/serialization/resources/workspace/resources/invites/client/requests/BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost.d.ts +1 -0
- package/serialization/resources/workspace/resources/invites/client/requests/BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost.js +1 -0
- package/serialization/resources/workspace/resources/invites/client/requests/InviteUserRequest.d.ts +1 -0
- package/serialization/resources/workspace/resources/invites/client/requests/InviteUserRequest.js +1 -0
- package/serialization/resources/workspace/resources/members/client/index.d.ts +1 -0
- package/serialization/resources/workspace/resources/members/client/index.js +24 -0
- package/serialization/resources/workspace/resources/members/client/list.d.ts +8 -0
- package/serialization/resources/workspace/resources/members/client/list.js +40 -0
- package/serialization/types/CharacterMetadataResponseModel.d.ts +1 -0
- package/serialization/types/CharacterMetadataResponseModel.js +1 -0
- package/serialization/types/DefaultSharingGroupConfig.d.ts +11 -0
- package/serialization/types/DefaultSharingGroupConfig.js +43 -0
- package/serialization/types/DefaultSharingGroupConfigPermissionLevel.d.ts +7 -0
- package/serialization/types/DefaultSharingGroupConfigPermissionLevel.js +39 -0
- package/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/serialization/types/GetConversationResponseModel.js +1 -0
- package/serialization/types/TextToDialogueWebsocketAudioChunkMulti.d.ts +13 -0
- package/serialization/types/TextToDialogueWebsocketAudioChunkMulti.js +45 -0
- package/serialization/types/TextToDialogueWebsocketClientMessageMulti.d.ts +23 -0
- package/serialization/types/TextToDialogueWebsocketClientMessageMulti.js +55 -0
- package/serialization/types/TextToDialogueWebsocketFinalAudioForTurnMulti.d.ts +10 -0
- package/serialization/types/TextToDialogueWebsocketFinalAudioForTurnMulti.js +42 -0
- package/serialization/types/TextToDialogueWebsocketFinalMulti.d.ts +10 -0
- package/serialization/types/TextToDialogueWebsocketFinalMulti.js +42 -0
- package/serialization/types/WorkspaceCreateServiceAccountResponseModel.d.ts +9 -0
- package/serialization/types/WorkspaceCreateServiceAccountResponseModel.js +41 -0
- package/serialization/types/WorkspaceMemberResponseModel.d.ts +15 -0
- package/serialization/types/WorkspaceMemberResponseModel.js +47 -0
- package/serialization/types/index.d.ts +8 -0
- package/serialization/types/index.js +8 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
export interface DefaultSharingGroupConfig {
|
|
3
|
+
/** The ID of the group to share with */
|
|
4
|
+
groupId: string;
|
|
5
|
+
/** The permission level to grant to the group */
|
|
6
|
+
permissionLevel: ElevenLabs.DefaultSharingGroupConfigPermissionLevel;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** The permission level to grant to the group */
|
|
2
|
+
export declare const DefaultSharingGroupConfigPermissionLevel: {
|
|
3
|
+
readonly Admin: "admin";
|
|
4
|
+
readonly Editor: "editor";
|
|
5
|
+
readonly Viewer: "viewer";
|
|
6
|
+
};
|
|
7
|
+
export type DefaultSharingGroupConfigPermissionLevel = (typeof DefaultSharingGroupConfigPermissionLevel)[keyof typeof DefaultSharingGroupConfigPermissionLevel];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.DefaultSharingGroupConfigPermissionLevel = void 0;
|
|
5
|
+
/** The permission level to grant to the group */
|
|
6
|
+
exports.DefaultSharingGroupConfigPermissionLevel = {
|
|
7
|
+
Admin: "admin",
|
|
8
|
+
Editor: "editor",
|
|
9
|
+
Viewer: "viewer",
|
|
10
|
+
};
|
|
@@ -17,6 +17,7 @@ export interface GetConversationResponseModel {
|
|
|
17
17
|
hasAudio: boolean;
|
|
18
18
|
hasUserAudio: boolean;
|
|
19
19
|
hasResponseAudio: boolean;
|
|
20
|
+
hasAuxiliaryAudio: boolean;
|
|
20
21
|
transcript: ElevenLabs.ConversationHistoryTranscriptResponseModel[];
|
|
21
22
|
/** Conversation tag ids assigned to this conversation. */
|
|
22
23
|
tagIds?: string[];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
/**
|
|
3
|
+
* Server chunk containing encoded audio for a specific context and optional alignment metadata.
|
|
4
|
+
*/
|
|
5
|
+
export interface TextToDialogueWebsocketAudioChunkMulti {
|
|
6
|
+
/** Base64-encoded audio bytes for the selected `output_format`. */
|
|
7
|
+
audio?: string;
|
|
8
|
+
/** Present when `sync_alignment` query parameter is `true` and the model returned timing data for the chunk. */
|
|
9
|
+
alignment?: ElevenLabs.DialogueTextAlignment;
|
|
10
|
+
/** Reserved for future use; currently unused by the server. */
|
|
11
|
+
normalizedAlignment?: ElevenLabs.DialogueTextAlignment;
|
|
12
|
+
/** The context this audio chunk belongs to. */
|
|
13
|
+
contextId?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
/**
|
|
3
|
+
* All fields are optional unless noted for a context's **first** message.
|
|
4
|
+
*
|
|
5
|
+
* **Every message**
|
|
6
|
+
* - `context_id` is required, except on a message containing only `close_socket`.
|
|
7
|
+
*
|
|
8
|
+
* **First message for a context**
|
|
9
|
+
* - `voices`: non-empty array of voice IDs (maximum 10 per context for `eleven_v3`; exactly 1 for `eleven_v3_conversational`).
|
|
10
|
+
* - Credentials if not supplied via `xi-api-key` / `Authorization` headers or `single_use_token` query parameter (accepted on the first message of the connection only).
|
|
11
|
+
*
|
|
12
|
+
* **Subsequent messages for a context**
|
|
13
|
+
* - Do not resend `voices`, `voice_settings`, `pronunciation_dictionary_locators`, or credential fields.
|
|
14
|
+
*/
|
|
15
|
+
export interface TextToDialogueWebsocketClientMessageMulti {
|
|
16
|
+
/** Identifier for an independent dialogue stream within the socket. The first message with a new `context_id` creates that context. Required on every message except one containing only `close_socket`. */
|
|
17
|
+
contextId?: string;
|
|
18
|
+
/** Dialogue lines to append to this context for synthesis. Each `voice_id` must be registered for this context. */
|
|
19
|
+
inputs?: ElevenLabs.TextToDialogueWebsocketVoiceInput[];
|
|
20
|
+
/** Force generation of this context's buffered text without closing it. */
|
|
21
|
+
flush?: boolean;
|
|
22
|
+
/** Flush this context's remaining audio, emit its `is_final` message, and close it. Other contexts stay open. */
|
|
23
|
+
closeContext?: boolean;
|
|
24
|
+
/** Flush all contexts, emit their remaining audio and `is_final` messages, and close the WebSocket. */
|
|
25
|
+
closeSocket?: boolean;
|
|
26
|
+
/** Resets this context's 20s inactivity timer; performs no synthesis. */
|
|
27
|
+
keepAlive?: boolean;
|
|
28
|
+
/** API key for the first message of the connection if not provided via the `xi-api-key` header. */
|
|
29
|
+
xiApiKey?: string;
|
|
30
|
+
/** Bearer token for the first message of the connection if not provided via the `Authorization` header. */
|
|
31
|
+
authorization?: string;
|
|
32
|
+
/** Single-use token for the first message of the connection if not provided via the `single_use_token` query parameter. */
|
|
33
|
+
singleUseToken?: string;
|
|
34
|
+
/** Voice IDs to load for this context (first message for the context only, required on that message). */
|
|
35
|
+
voices?: string[];
|
|
36
|
+
/** Optional voice settings for this context (first message for the context only). */
|
|
37
|
+
voiceSettings?: ElevenLabs.TextToDialogueWebsocketVoiceSettings;
|
|
38
|
+
/** Optional pronunciation dictionaries for this context (first message for the context only). */
|
|
39
|
+
pronunciationDictionaryLocators?: ElevenLabs.PronunciationDictionaryLocator[];
|
|
40
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
/**
|
|
3
|
+
* Public workspace member fields exposed via GET /v1/workspace/members.
|
|
4
|
+
*/
|
|
5
|
+
export interface WorkspaceMemberResponseModel {
|
|
6
|
+
/** The user ID of the workspace member. */
|
|
7
|
+
userId: string;
|
|
8
|
+
/** The email address of the workspace member. */
|
|
9
|
+
email: string;
|
|
10
|
+
/** The first name of the workspace member, if available. */
|
|
11
|
+
firstName?: string;
|
|
12
|
+
/** The seat type (role) of the workspace member. */
|
|
13
|
+
seatType?: ElevenLabs.SeatType;
|
|
14
|
+
/** Whether the member is the workspace owner. */
|
|
15
|
+
isOwner: boolean;
|
|
16
|
+
/** Whether the member's account is locked in this workspace. */
|
|
17
|
+
isLocked: boolean;
|
|
18
|
+
}
|
|
@@ -444,6 +444,8 @@ export * from "./DashboardCallSuccessChartModel";
|
|
|
444
444
|
export * from "./DashboardCriteriaChartModel";
|
|
445
445
|
export * from "./DashboardDataCollectionChartModel";
|
|
446
446
|
export * from "./DataCollectionResultCommonModel";
|
|
447
|
+
export * from "./DefaultSharingGroupConfig";
|
|
448
|
+
export * from "./DefaultSharingGroupConfigPermissionLevel";
|
|
447
449
|
export * from "./DefaultSharingGroupResponseModel";
|
|
448
450
|
export * from "./DefaultSharingGroupResponseModelPermissionLevel";
|
|
449
451
|
export * from "./DeleteAgentProcedureParams";
|
|
@@ -1228,10 +1230,14 @@ export * from "./TestType";
|
|
|
1228
1230
|
export * from "./TextNormalisationType";
|
|
1229
1231
|
export * from "./TextToDialogueWebsocketApplyTextNormalizationEnum";
|
|
1230
1232
|
export * from "./TextToDialogueWebsocketAudioChunk";
|
|
1233
|
+
export * from "./TextToDialogueWebsocketAudioChunkMulti";
|
|
1231
1234
|
export * from "./TextToDialogueWebsocketClientMessage";
|
|
1235
|
+
export * from "./TextToDialogueWebsocketClientMessageMulti";
|
|
1232
1236
|
export * from "./TextToDialogueWebsocketError";
|
|
1233
1237
|
export * from "./TextToDialogueWebsocketFinal";
|
|
1234
1238
|
export * from "./TextToDialogueWebsocketFinalAudioForTurn";
|
|
1239
|
+
export * from "./TextToDialogueWebsocketFinalAudioForTurnMulti";
|
|
1240
|
+
export * from "./TextToDialogueWebsocketFinalMulti";
|
|
1235
1241
|
export * from "./TextToDialogueWebsocketOutputFormatEnum";
|
|
1236
1242
|
export * from "./TextToDialogueWebsocketVoiceInput";
|
|
1237
1243
|
export * from "./TextToDialogueWebsocketVoiceSettings";
|
|
@@ -1527,12 +1533,14 @@ export * from "./WorkspaceAuditLogEntryResponseActivityId";
|
|
|
1527
1533
|
export * from "./WorkspaceAuditLogsPageResponse";
|
|
1528
1534
|
export * from "./WorkspaceBatchCallsResponse";
|
|
1529
1535
|
export * from "./WorkspaceCreateApiKeyResponseModel";
|
|
1536
|
+
export * from "./WorkspaceCreateServiceAccountResponseModel";
|
|
1530
1537
|
export * from "./WorkspaceCreateWebhookResponseModel";
|
|
1531
1538
|
export * from "./WorkspaceGroupByNameResponseModel";
|
|
1532
1539
|
export * from "./WorkspaceGroupPermission";
|
|
1533
1540
|
export * from "./WorkspaceGroupResponseModel";
|
|
1534
1541
|
export * from "./WorkspaceGroupResponseModelGroupPvcLimit";
|
|
1535
1542
|
export * from "./WorkspaceGroupResponseModelGroupUsageLimit";
|
|
1543
|
+
export * from "./WorkspaceMemberResponseModel";
|
|
1536
1544
|
export * from "./WorkspaceResourceType";
|
|
1537
1545
|
export * from "./WorkspaceServiceAccountListResponseModel";
|
|
1538
1546
|
export * from "./WorkspaceServiceAccountResponseModel";
|
package/dist/api/types/index.js
CHANGED
|
@@ -460,6 +460,8 @@ __exportStar(require("./DashboardCallSuccessChartModel"), exports);
|
|
|
460
460
|
__exportStar(require("./DashboardCriteriaChartModel"), exports);
|
|
461
461
|
__exportStar(require("./DashboardDataCollectionChartModel"), exports);
|
|
462
462
|
__exportStar(require("./DataCollectionResultCommonModel"), exports);
|
|
463
|
+
__exportStar(require("./DefaultSharingGroupConfig"), exports);
|
|
464
|
+
__exportStar(require("./DefaultSharingGroupConfigPermissionLevel"), exports);
|
|
463
465
|
__exportStar(require("./DefaultSharingGroupResponseModel"), exports);
|
|
464
466
|
__exportStar(require("./DefaultSharingGroupResponseModelPermissionLevel"), exports);
|
|
465
467
|
__exportStar(require("./DeleteAgentProcedureParams"), exports);
|
|
@@ -1244,10 +1246,14 @@ __exportStar(require("./TestType"), exports);
|
|
|
1244
1246
|
__exportStar(require("./TextNormalisationType"), exports);
|
|
1245
1247
|
__exportStar(require("./TextToDialogueWebsocketApplyTextNormalizationEnum"), exports);
|
|
1246
1248
|
__exportStar(require("./TextToDialogueWebsocketAudioChunk"), exports);
|
|
1249
|
+
__exportStar(require("./TextToDialogueWebsocketAudioChunkMulti"), exports);
|
|
1247
1250
|
__exportStar(require("./TextToDialogueWebsocketClientMessage"), exports);
|
|
1251
|
+
__exportStar(require("./TextToDialogueWebsocketClientMessageMulti"), exports);
|
|
1248
1252
|
__exportStar(require("./TextToDialogueWebsocketError"), exports);
|
|
1249
1253
|
__exportStar(require("./TextToDialogueWebsocketFinal"), exports);
|
|
1250
1254
|
__exportStar(require("./TextToDialogueWebsocketFinalAudioForTurn"), exports);
|
|
1255
|
+
__exportStar(require("./TextToDialogueWebsocketFinalAudioForTurnMulti"), exports);
|
|
1256
|
+
__exportStar(require("./TextToDialogueWebsocketFinalMulti"), exports);
|
|
1251
1257
|
__exportStar(require("./TextToDialogueWebsocketOutputFormatEnum"), exports);
|
|
1252
1258
|
__exportStar(require("./TextToDialogueWebsocketVoiceInput"), exports);
|
|
1253
1259
|
__exportStar(require("./TextToDialogueWebsocketVoiceSettings"), exports);
|
|
@@ -1543,12 +1549,14 @@ __exportStar(require("./WorkspaceAuditLogEntryResponseActivityId"), exports);
|
|
|
1543
1549
|
__exportStar(require("./WorkspaceAuditLogsPageResponse"), exports);
|
|
1544
1550
|
__exportStar(require("./WorkspaceBatchCallsResponse"), exports);
|
|
1545
1551
|
__exportStar(require("./WorkspaceCreateApiKeyResponseModel"), exports);
|
|
1552
|
+
__exportStar(require("./WorkspaceCreateServiceAccountResponseModel"), exports);
|
|
1546
1553
|
__exportStar(require("./WorkspaceCreateWebhookResponseModel"), exports);
|
|
1547
1554
|
__exportStar(require("./WorkspaceGroupByNameResponseModel"), exports);
|
|
1548
1555
|
__exportStar(require("./WorkspaceGroupPermission"), exports);
|
|
1549
1556
|
__exportStar(require("./WorkspaceGroupResponseModel"), exports);
|
|
1550
1557
|
__exportStar(require("./WorkspaceGroupResponseModelGroupPvcLimit"), exports);
|
|
1551
1558
|
__exportStar(require("./WorkspaceGroupResponseModelGroupUsageLimit"), exports);
|
|
1559
|
+
__exportStar(require("./WorkspaceMemberResponseModel"), exports);
|
|
1552
1560
|
__exportStar(require("./WorkspaceResourceType"), exports);
|
|
1553
1561
|
__exportStar(require("./WorkspaceServiceAccountListResponseModel"), exports);
|
|
1554
1562
|
__exportStar(require("./WorkspaceServiceAccountResponseModel"), exports);
|
|
@@ -21,6 +21,7 @@ export * as pronunciationDictionaries from "./pronunciationDictionaries";
|
|
|
21
21
|
export * from "./pronunciationDictionaries/client/requests";
|
|
22
22
|
export * from "./pronunciationDictionaries/types";
|
|
23
23
|
export * as serviceAccounts from "./serviceAccounts";
|
|
24
|
+
export * from "./serviceAccounts/client/requests";
|
|
24
25
|
export * as speechEngine from "./speechEngine";
|
|
25
26
|
export * from "./speechEngine/client/requests";
|
|
26
27
|
export * as speechEngineUpstream from "./speechEngineUpstream";
|
|
@@ -45,6 +46,8 @@ export * from "./textToVoice/client/requests";
|
|
|
45
46
|
export * from "./textToVoice/types";
|
|
46
47
|
export * as v1SpeechToTextRealtime from "./v1SpeechToTextRealtime";
|
|
47
48
|
export * from "./v1SpeechToTextRealtime/types";
|
|
49
|
+
export * as v1TextToDialogueMultiStreamInput from "./v1TextToDialogueMultiStreamInput";
|
|
50
|
+
export * from "./v1TextToDialogueMultiStreamInput/types";
|
|
48
51
|
export * as v1TextToDialogueStreamInput from "./v1TextToDialogueStreamInput";
|
|
49
52
|
export * from "./v1TextToDialogueStreamInput/types";
|
|
50
53
|
export * as v1TextToSpeechVoiceIdMultiStreamInput from "./v1TextToSpeechVoiceIdMultiStreamInput";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.workspace = exports.webhooks = exports.voices = exports.v1TranslateRealtime = exports.v1TextToSpeechVoiceIdStreamInput = exports.v1TextToSpeechVoiceIdMultiStreamInput = exports.v1TextToDialogueStreamInput = exports.v1SpeechToTextRealtime = exports.textToVoice = exports.textToSpeech = exports.textToSoundEffects = exports.textToDialogue = exports.studio = exports.speechToText = exports.speechToSpeech = exports.speechEngineUpstream = exports.speechEngine = exports.serviceAccounts = exports.pronunciationDictionaries = exports.productions = exports.music = exports.models = exports.history = exports.environmentVariables = exports.dubbing = exports.conversationalAi = exports.audioNative = exports.audioIsolation = void 0;
|
|
39
|
+
exports.workspace = exports.webhooks = exports.voices = exports.v1TranslateRealtime = exports.v1TextToSpeechVoiceIdStreamInput = exports.v1TextToSpeechVoiceIdMultiStreamInput = exports.v1TextToDialogueStreamInput = exports.v1TextToDialogueMultiStreamInput = exports.v1SpeechToTextRealtime = exports.textToVoice = exports.textToSpeech = exports.textToSoundEffects = exports.textToDialogue = exports.studio = exports.speechToText = exports.speechToSpeech = exports.speechEngineUpstream = exports.speechEngine = exports.serviceAccounts = exports.pronunciationDictionaries = exports.productions = exports.music = exports.models = exports.history = exports.environmentVariables = exports.dubbing = exports.conversationalAi = exports.audioNative = exports.audioIsolation = void 0;
|
|
40
40
|
exports.audioIsolation = __importStar(require("./audioIsolation"));
|
|
41
41
|
__exportStar(require("./audioIsolation/types"), exports);
|
|
42
42
|
exports.audioNative = __importStar(require("./audioNative"));
|
|
@@ -60,6 +60,7 @@ exports.pronunciationDictionaries = __importStar(require("./pronunciationDiction
|
|
|
60
60
|
__exportStar(require("./pronunciationDictionaries/client/requests"), exports);
|
|
61
61
|
__exportStar(require("./pronunciationDictionaries/types"), exports);
|
|
62
62
|
exports.serviceAccounts = __importStar(require("./serviceAccounts"));
|
|
63
|
+
__exportStar(require("./serviceAccounts/client/requests"), exports);
|
|
63
64
|
exports.speechEngine = __importStar(require("./speechEngine"));
|
|
64
65
|
__exportStar(require("./speechEngine/client/requests"), exports);
|
|
65
66
|
exports.speechEngineUpstream = __importStar(require("./speechEngineUpstream"));
|
|
@@ -84,6 +85,8 @@ __exportStar(require("./textToVoice/client/requests"), exports);
|
|
|
84
85
|
__exportStar(require("./textToVoice/types"), exports);
|
|
85
86
|
exports.v1SpeechToTextRealtime = __importStar(require("./v1SpeechToTextRealtime"));
|
|
86
87
|
__exportStar(require("./v1SpeechToTextRealtime/types"), exports);
|
|
88
|
+
exports.v1TextToDialogueMultiStreamInput = __importStar(require("./v1TextToDialogueMultiStreamInput"));
|
|
89
|
+
__exportStar(require("./v1TextToDialogueMultiStreamInput/types"), exports);
|
|
87
90
|
exports.v1TextToDialogueStreamInput = __importStar(require("./v1TextToDialogueStreamInput"));
|
|
88
91
|
__exportStar(require("./v1TextToDialogueStreamInput/types"), exports);
|
|
89
92
|
exports.v1TextToSpeechVoiceIdMultiStreamInput = __importStar(require("./v1TextToSpeechVoiceIdMultiStreamInput"));
|
|
@@ -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,11 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../index";
|
|
4
|
+
import { DefaultSharingGroupConfig } from "../../../../types/DefaultSharingGroupConfig";
|
|
5
|
+
export declare const BodyCreateServiceAccountV1ServiceAccountsPost: core.serialization.Schema<serializers.BodyCreateServiceAccountV1ServiceAccountsPost.Raw, ElevenLabs.BodyCreateServiceAccountV1ServiceAccountsPost>;
|
|
6
|
+
export declare namespace BodyCreateServiceAccountV1ServiceAccountsPost {
|
|
7
|
+
interface Raw {
|
|
8
|
+
name: string;
|
|
9
|
+
default_sharing_groups?: DefaultSharingGroupConfig.Raw[] | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.BodyCreateServiceAccountV1ServiceAccountsPost = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../core"));
|
|
39
|
+
const DefaultSharingGroupConfig_1 = require("../../../../types/DefaultSharingGroupConfig");
|
|
40
|
+
exports.BodyCreateServiceAccountV1ServiceAccountsPost = core.serialization.object({
|
|
41
|
+
name: core.serialization.string(),
|
|
42
|
+
defaultSharingGroups: core.serialization.property("default_sharing_groups", core.serialization.list(DefaultSharingGroupConfig_1.DefaultSharingGroupConfig).optional()),
|
|
43
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BodyCreateServiceAccountV1ServiceAccountsPost } from "./BodyCreateServiceAccountV1ServiceAccountsPost";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BodyCreateServiceAccountV1ServiceAccountsPost = void 0;
|
|
4
|
+
var BodyCreateServiceAccountV1ServiceAccountsPost_1 = require("./BodyCreateServiceAccountV1ServiceAccountsPost");
|
|
5
|
+
Object.defineProperty(exports, "BodyCreateServiceAccountV1ServiceAccountsPost", { enumerable: true, get: function () { return BodyCreateServiceAccountV1ServiceAccountsPost_1.BodyCreateServiceAccountV1ServiceAccountsPost; } });
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
17
18
|
__exportStar(require("./resources"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -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("./types"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { TextToDialogueWebsocketAudioChunkMulti } from "../../../types/TextToDialogueWebsocketAudioChunkMulti";
|
|
5
|
+
import { TextToDialogueWebsocketError } from "../../../types/TextToDialogueWebsocketError";
|
|
6
|
+
import { TextToDialogueWebsocketFinalAudioForTurnMulti } from "../../../types/TextToDialogueWebsocketFinalAudioForTurnMulti";
|
|
7
|
+
import { TextToDialogueWebsocketFinalMulti } from "../../../types/TextToDialogueWebsocketFinalMulti";
|
|
8
|
+
export declare const ReceiveTextToDialogueWebsocketMessageMulti: core.serialization.Schema<serializers.ReceiveTextToDialogueWebsocketMessageMulti.Raw, ElevenLabs.ReceiveTextToDialogueWebsocketMessageMulti>;
|
|
9
|
+
export declare namespace ReceiveTextToDialogueWebsocketMessageMulti {
|
|
10
|
+
type Raw = TextToDialogueWebsocketAudioChunkMulti.Raw | TextToDialogueWebsocketFinalAudioForTurnMulti.Raw | TextToDialogueWebsocketFinalMulti.Raw | TextToDialogueWebsocketError.Raw;
|
|
11
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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.ReceiveTextToDialogueWebsocketMessageMulti = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const TextToDialogueWebsocketAudioChunkMulti_1 = require("../../../types/TextToDialogueWebsocketAudioChunkMulti");
|
|
40
|
+
const TextToDialogueWebsocketError_1 = require("../../../types/TextToDialogueWebsocketError");
|
|
41
|
+
const TextToDialogueWebsocketFinalAudioForTurnMulti_1 = require("../../../types/TextToDialogueWebsocketFinalAudioForTurnMulti");
|
|
42
|
+
const TextToDialogueWebsocketFinalMulti_1 = require("../../../types/TextToDialogueWebsocketFinalMulti");
|
|
43
|
+
exports.ReceiveTextToDialogueWebsocketMessageMulti = core.serialization.undiscriminatedUnion([
|
|
44
|
+
TextToDialogueWebsocketAudioChunkMulti_1.TextToDialogueWebsocketAudioChunkMulti,
|
|
45
|
+
TextToDialogueWebsocketFinalAudioForTurnMulti_1.TextToDialogueWebsocketFinalAudioForTurnMulti,
|
|
46
|
+
TextToDialogueWebsocketFinalMulti_1.TextToDialogueWebsocketFinalMulti,
|
|
47
|
+
TextToDialogueWebsocketError_1.TextToDialogueWebsocketError,
|
|
48
|
+
]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ReceiveTextToDialogueWebsocketMessageMulti";
|
|
@@ -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("./ReceiveTextToDialogueWebsocketMessageMulti"), exports);
|
|
@@ -41,4 +41,5 @@ exports.BodyInviteMultipleUsersV1WorkspaceInvitesAddBulkPost = core.serializatio
|
|
|
41
41
|
emails: core.serialization.list(core.serialization.string()),
|
|
42
42
|
seatType: core.serialization.property("seat_type", SeatType_1.SeatType.optional()),
|
|
43
43
|
groupIds: core.serialization.property("group_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
44
|
+
usageLimit: core.serialization.property("usage_limit", core.serialization.number().optional()),
|
|
44
45
|
});
|
|
@@ -42,4 +42,5 @@ exports.InviteUserRequest = core.serialization.object({
|
|
|
42
42
|
workspacePermission: core.serialization.property("workspace_permission", core.serialization.string().optional()),
|
|
43
43
|
seatType: core.serialization.property("seat_type", SeatType_1.SeatType.optional()),
|
|
44
44
|
groupIds: core.serialization.property("group_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
45
|
+
usageLimit: core.serialization.property("usage_limit", core.serialization.number().optional()),
|
|
45
46
|
});
|
|
@@ -10,8 +10,32 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
11
11
|
o[k2] = m[k];
|
|
12
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
|
+
})();
|
|
13
35
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
37
|
};
|
|
16
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.list = void 0;
|
|
40
|
+
exports.list = __importStar(require("./list"));
|
|
17
41
|
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { WorkspaceMemberResponseModel } from "../../../../../types/WorkspaceMemberResponseModel";
|
|
5
|
+
export declare const Response: core.serialization.Schema<serializers.workspace.members.list.Response.Raw, ElevenLabs.WorkspaceMemberResponseModel[]>;
|
|
6
|
+
export declare namespace Response {
|
|
7
|
+
type Raw = WorkspaceMemberResponseModel.Raw[];
|
|
8
|
+
}
|