@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
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -3834,6 +3834,71 @@ await client.serviceAccounts.list();
|
|
|
3834
3834
|
</dl>
|
|
3835
3835
|
|
|
3836
3836
|
|
|
3837
|
+
</dd>
|
|
3838
|
+
</dl>
|
|
3839
|
+
</details>
|
|
3840
|
+
|
|
3841
|
+
<details><summary><code>client.serviceAccounts.<a href="/src/api/resources/serviceAccounts/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.WorkspaceCreateServiceAccountResponseModel</code></summary>
|
|
3842
|
+
<dl>
|
|
3843
|
+
<dd>
|
|
3844
|
+
|
|
3845
|
+
#### 📝 Description
|
|
3846
|
+
|
|
3847
|
+
<dl>
|
|
3848
|
+
<dd>
|
|
3849
|
+
|
|
3850
|
+
<dl>
|
|
3851
|
+
<dd>
|
|
3852
|
+
|
|
3853
|
+
Create a new service account in the workspace. By default, a workspace can have up to 20 service accounts. Enterprise customers may request an increase to this limit, up to 100.
|
|
3854
|
+
</dd>
|
|
3855
|
+
</dl>
|
|
3856
|
+
</dd>
|
|
3857
|
+
</dl>
|
|
3858
|
+
|
|
3859
|
+
#### 🔌 Usage
|
|
3860
|
+
|
|
3861
|
+
<dl>
|
|
3862
|
+
<dd>
|
|
3863
|
+
|
|
3864
|
+
<dl>
|
|
3865
|
+
<dd>
|
|
3866
|
+
|
|
3867
|
+
```typescript
|
|
3868
|
+
await client.serviceAccounts.create({
|
|
3869
|
+
name: "name"
|
|
3870
|
+
});
|
|
3871
|
+
|
|
3872
|
+
```
|
|
3873
|
+
</dd>
|
|
3874
|
+
</dl>
|
|
3875
|
+
</dd>
|
|
3876
|
+
</dl>
|
|
3877
|
+
|
|
3878
|
+
#### ⚙️ Parameters
|
|
3879
|
+
|
|
3880
|
+
<dl>
|
|
3881
|
+
<dd>
|
|
3882
|
+
|
|
3883
|
+
<dl>
|
|
3884
|
+
<dd>
|
|
3885
|
+
|
|
3886
|
+
**request:** `ElevenLabs.BodyCreateServiceAccountV1ServiceAccountsPost`
|
|
3887
|
+
|
|
3888
|
+
</dd>
|
|
3889
|
+
</dl>
|
|
3890
|
+
|
|
3891
|
+
<dl>
|
|
3892
|
+
<dd>
|
|
3893
|
+
|
|
3894
|
+
**requestOptions:** `ServiceAccountsClient.RequestOptions`
|
|
3895
|
+
|
|
3896
|
+
</dd>
|
|
3897
|
+
</dl>
|
|
3898
|
+
</dd>
|
|
3899
|
+
</dl>
|
|
3900
|
+
|
|
3901
|
+
|
|
3837
3902
|
</dd>
|
|
3838
3903
|
</dl>
|
|
3839
3904
|
</details>
|
|
@@ -22526,6 +22591,61 @@ await client.workspace.invites.delete({
|
|
|
22526
22591
|
</details>
|
|
22527
22592
|
|
|
22528
22593
|
## Workspace Members
|
|
22594
|
+
<details><summary><code>client.workspace.members.<a href="/src/api/resources/workspace/resources/members/client/Client.ts">list</a>() -> ElevenLabs.WorkspaceMemberResponseModel[]</code></summary>
|
|
22595
|
+
<dl>
|
|
22596
|
+
<dd>
|
|
22597
|
+
|
|
22598
|
+
#### 📝 Description
|
|
22599
|
+
|
|
22600
|
+
<dl>
|
|
22601
|
+
<dd>
|
|
22602
|
+
|
|
22603
|
+
<dl>
|
|
22604
|
+
<dd>
|
|
22605
|
+
|
|
22606
|
+
Gets a list of all members of the workspace, including locked members. Service accounts are excluded. Requires the workspace_members_read permission.
|
|
22607
|
+
</dd>
|
|
22608
|
+
</dl>
|
|
22609
|
+
</dd>
|
|
22610
|
+
</dl>
|
|
22611
|
+
|
|
22612
|
+
#### 🔌 Usage
|
|
22613
|
+
|
|
22614
|
+
<dl>
|
|
22615
|
+
<dd>
|
|
22616
|
+
|
|
22617
|
+
<dl>
|
|
22618
|
+
<dd>
|
|
22619
|
+
|
|
22620
|
+
```typescript
|
|
22621
|
+
await client.workspace.members.list();
|
|
22622
|
+
|
|
22623
|
+
```
|
|
22624
|
+
</dd>
|
|
22625
|
+
</dl>
|
|
22626
|
+
</dd>
|
|
22627
|
+
</dl>
|
|
22628
|
+
|
|
22629
|
+
#### ⚙️ Parameters
|
|
22630
|
+
|
|
22631
|
+
<dl>
|
|
22632
|
+
<dd>
|
|
22633
|
+
|
|
22634
|
+
<dl>
|
|
22635
|
+
<dd>
|
|
22636
|
+
|
|
22637
|
+
**requestOptions:** `MembersClient.RequestOptions`
|
|
22638
|
+
|
|
22639
|
+
</dd>
|
|
22640
|
+
</dl>
|
|
22641
|
+
</dd>
|
|
22642
|
+
</dl>
|
|
22643
|
+
|
|
22644
|
+
|
|
22645
|
+
</dd>
|
|
22646
|
+
</dl>
|
|
22647
|
+
</details>
|
|
22648
|
+
|
|
22529
22649
|
<details><summary><code>client.workspace.members.<a href="/src/api/resources/workspace/resources/members/client/Client.ts">update</a>({ ...params }) -> ElevenLabs.UpdateWorkspaceMemberResponseModel</code></summary>
|
|
22530
22650
|
<dl>
|
|
22531
22651
|
<dd>
|
|
@@ -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
|
});
|
package/serialization/resources/workspace/resources/invites/client/requests/InviteUserRequest.js
CHANGED
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.Response = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
const WorkspaceMemberResponseModel_1 = require("../../../../../types/WorkspaceMemberResponseModel");
|
|
40
|
+
exports.Response = core.serialization.list(WorkspaceMemberResponseModel_1.WorkspaceMemberResponseModel);
|
|
@@ -8,6 +8,7 @@ export declare namespace CharacterMetadataResponseModel {
|
|
|
8
8
|
interface Raw {
|
|
9
9
|
description?: string | null;
|
|
10
10
|
sample_message?: string | null;
|
|
11
|
+
voice_creation_prompt_suggestion?: string | null;
|
|
11
12
|
gender?: CharacterGender.Raw | null;
|
|
12
13
|
age?: CharacterAge.Raw | null;
|
|
13
14
|
accent?: string | null;
|
|
@@ -41,6 +41,7 @@ const CharacterGender_1 = require("./CharacterGender");
|
|
|
41
41
|
exports.CharacterMetadataResponseModel = core.serialization.object({
|
|
42
42
|
description: core.serialization.string().optional(),
|
|
43
43
|
sampleMessage: core.serialization.property("sample_message", core.serialization.string().optional()),
|
|
44
|
+
voiceCreationPromptSuggestion: core.serialization.property("voice_creation_prompt_suggestion", core.serialization.string().optional()),
|
|
44
45
|
gender: CharacterGender_1.CharacterGender.optional(),
|
|
45
46
|
age: CharacterAge_1.CharacterAge.optional(),
|
|
46
47
|
accent: core.serialization.string().optional(),
|
|
@@ -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 { DefaultSharingGroupConfigPermissionLevel } from "./DefaultSharingGroupConfigPermissionLevel";
|
|
5
|
+
export declare const DefaultSharingGroupConfig: core.serialization.ObjectSchema<serializers.DefaultSharingGroupConfig.Raw, ElevenLabs.DefaultSharingGroupConfig>;
|
|
6
|
+
export declare namespace DefaultSharingGroupConfig {
|
|
7
|
+
interface Raw {
|
|
8
|
+
group_id: string;
|
|
9
|
+
permission_level: DefaultSharingGroupConfigPermissionLevel.Raw;
|
|
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.DefaultSharingGroupConfig = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const DefaultSharingGroupConfigPermissionLevel_1 = require("./DefaultSharingGroupConfigPermissionLevel");
|
|
40
|
+
exports.DefaultSharingGroupConfig = core.serialization.object({
|
|
41
|
+
groupId: core.serialization.property("group_id", core.serialization.string()),
|
|
42
|
+
permissionLevel: core.serialization.property("permission_level", DefaultSharingGroupConfigPermissionLevel_1.DefaultSharingGroupConfigPermissionLevel),
|
|
43
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const DefaultSharingGroupConfigPermissionLevel: core.serialization.Schema<serializers.DefaultSharingGroupConfigPermissionLevel.Raw, ElevenLabs.DefaultSharingGroupConfigPermissionLevel>;
|
|
5
|
+
export declare namespace DefaultSharingGroupConfigPermissionLevel {
|
|
6
|
+
type Raw = "admin" | "editor" | "viewer";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.DefaultSharingGroupConfigPermissionLevel = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.DefaultSharingGroupConfigPermissionLevel = core.serialization.enum_(["admin", "editor", "viewer"]);
|