Skip to content

Commit 4ce79e2

Browse files
🌿 Fern Regeneration -- May 7, 2025 (#540)
* SDK regeneration * Update imports --------- Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: Paul Asjes <[email protected]>
1 parent a3498f6 commit 4ce79e2

File tree

72 files changed

+814
-1045
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+814
-1045
lines changed

.mock/definition/__package__.yml

Lines changed: 69 additions & 178 deletions
Large diffs are not rendered by default.

.mock/definition/conversationalAi.yml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ service:
8383
body:
8484
properties:
8585
conversation_config:
86-
type: root.ConversationalConfigApiModelInput
86+
type: root.ConversationalConfig
8787
docs: Conversation configuration for an agent
8888
platform_settings:
8989
type: optional<root.AgentPlatformSettingsRequestModel>
@@ -93,6 +93,9 @@ service:
9393
name:
9494
type: optional<string>
9595
docs: A name to make the agent easier to find
96+
categories:
97+
type: optional<list<string>>
98+
docs: Categories to help classify and filter the agent
9699
content-type: application/json
97100
response:
98101
docs: Successful Response
@@ -202,6 +205,7 @@ service:
202205
evaluation:
203206
criteria:
204207
- id: '1234567890'
208+
name: name
205209
conversation_goal_prompt: >-
206210
You are a helpful assistant that can answer questions
207211
about the topic of the conversation.
@@ -286,6 +290,8 @@ service:
286290
creator_name: John Doe
287291
creator_email: [email protected]
288292
role: admin
293+
categories:
294+
- categories
289295
audiences:
290296
- convai
291297
delete_agent:
@@ -320,7 +326,7 @@ service:
320326
docs: The id of an agent. This is returned on agent creation.
321327
display-name: Update agent
322328
request:
323-
name: BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatch
329+
name: UpdateAgentRequest
324330
body:
325331
properties:
326332
conversation_config:
@@ -330,6 +336,9 @@ service:
330336
name:
331337
type: optional<string>
332338
docs: A name to make the agent easier to find
339+
categories:
340+
type: optional<list<string>>
341+
docs: Categories to help classify and filter the agent
333342
content-type: application/json
334343
response:
335344
docs: Successful Response
@@ -414,6 +423,7 @@ service:
414423
evaluation:
415424
criteria:
416425
- id: '1234567890'
426+
name: name
417427
conversation_goal_prompt: >-
418428
You are a helpful assistant that can answer questions
419429
about the topic of the conversation.
@@ -498,6 +508,8 @@ service:
498508
creator_name: John Doe
499509
creator_email: [email protected]
500510
role: admin
511+
categories:
512+
- categories
501513
audiences:
502514
- convai
503515
get_agent_widget:
@@ -673,6 +685,10 @@ service:
673685
agents:
674686
- agent_id: J3Pbu5gP6NNKBscdCdwB
675687
name: My Agent
688+
categories:
689+
- Customer Support
690+
- Technical Help
691+
- Eleven
676692
created_at_unix_secs: 1716153600
677693
access_info:
678694
is_creator: true
@@ -710,6 +726,11 @@ service:
710726
docs: >-
711727
Unix timestamp (in seconds) to filter conversations up to this
712728
start date.
729+
call_start_after_unix:
730+
type: optional<integer>
731+
docs: >-
732+
Unix timestamp (in seconds) to filter conversations after to this
733+
start date.
713734
page_size:
714735
type: optional<integer>
715736
default: 30

.mock/definition/pronunciationDictionary.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,7 @@ service:
217217
docs: The id of the pronunciation dictionary
218218
display-name: Remove pronunciation dictionary rules
219219
request:
220-
name: >-
221-
BodyRemoveRulesFromThePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdRemoveRulesPost
220+
name: RemovePronunciationDictionaryRulesRequest
222221
body:
223222
properties:
224223
rule_strings:

.mock/definition/samples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ service:
2727
display-name: Delete voice sample
2828
response:
2929
docs: Successful Response
30-
type: root.DeleteSampleResponseModel
30+
type: root.DeleteSampleResponse
3131
status-code: 200
3232
errors:
3333
- root.UnprocessableEntityError

.mock/definition/textToSoundEffects.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ service:
4848
openapi: openapi.json
4949
display-name: Create sound effect
5050
request:
51-
name: BodySoundGenerationV1SoundGenerationPost
51+
name: CreateSoundEffectRequest
5252
query-parameters:
5353
output_format:
5454
type: optional<TextToSoundEffectsConvertRequestOutputFormat>

.mock/definition/textToSpeech.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ service:
394394
to list all the available voices.
395395
display-name: Create speech with timing
396396
request:
397-
name: BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPost
397+
name: TextToSpeechWithTimestampsRequest
398398
query-parameters:
399399
enable_logging:
400400
type: optional<boolean>
@@ -544,7 +544,7 @@ service:
544544
content-type: application/json
545545
response:
546546
docs: Successful Response
547-
type: root.AudioWithTimestampsResponseModel
547+
type: root.AudioWithTimestampsResponse
548548
status-code: 200
549549
errors:
550550
- root.UnprocessableEntityError
@@ -943,7 +943,7 @@ service:
943943
content-type: application/json
944944
response-stream:
945945
docs: Stream of transcription chunks
946-
type: root.StreamingAudioChunkWithTimestampsResponseModel
946+
type: root.StreamingAudioChunkWithTimestampsResponse
947947
format: json
948948
errors:
949949
- root.UnprocessableEntityError

.mock/definition/textToVoice.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ service:
4646
openapi: openapi.json
4747
display-name: Voice design
4848
request:
49-
name: VoicePreviewsRequestModel
49+
name: VoiceDesignRequest
5050
query-parameters:
5151
output_format:
5252
type: optional<TextToVoiceCreatePreviewsRequestOutputFormat>
@@ -111,7 +111,7 @@ service:
111111
content-type: application/json
112112
response:
113113
docs: Successful Response
114-
type: root.VoicePreviewsResponseModel
114+
type: root.VoiceDesignPreviewResponse
115115
status-code: 200
116116
errors:
117117
- root.UnprocessableEntityError
@@ -135,8 +135,7 @@ service:
135135
openapi: openapi.json
136136
display-name: Save a voice preview
137137
request:
138-
name: >-
139-
BodyCreateANewVoiceFromVoicePreviewV1TextToVoiceCreateVoiceFromPreviewPost
138+
name: SaveVoicePreviewRequest
140139
body:
141140
properties:
142141
voice_name:

.mock/definition/user.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ service:
4343
character_refresh_period: monthly_period
4444
next_invoice:
4545
amount_due_cents: 1000
46+
discount_percent_off: 1.1
4647
next_payment_attempt_unix: 1738356858
4748
has_open_invoices: false
4849
get:

.mock/definition/voices.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ service:
218218
response. Incurs a performance cost.
219219
response:
220220
docs: Successful Response
221-
type: root.GetVoicesV2ResponseModel
221+
type: root.GetVoicesV2Response
222222
status-code: 200
223223
errors:
224224
- root.UnprocessableEntityError

.mock/definition/voices/pvc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ service:
1313
openapi: openapi.json
1414
display-name: Create PVC voice
1515
request:
16-
name: BodyCreatePvcVoiceV1VoicesPvcPost
16+
name: CreatePvcVoiceRequest
1717
body:
1818
properties:
1919
name:

.mock/definition/workspace.yml

Lines changed: 44 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ service:
8989
docs: The ID of the target group.
9090
display-name: Add member to user group
9191
request:
92-
name: BodyAddMemberToUserGroupV1WorkspaceGroupsGroupIdMembersPost
92+
name: AddMemberToGroupRequest
9393
body:
9494
properties:
9595
email:
@@ -126,7 +126,7 @@ service:
126126
openapi: openapi.json
127127
display-name: Invite user
128128
request:
129-
name: BodyInviteUserV1WorkspaceInvitesAddPost
129+
name: InviteUserRequest
130130
body:
131131
properties:
132132
email:
@@ -135,6 +135,10 @@ service:
135135
group_ids:
136136
type: optional<list<string>>
137137
docs: The group ids of the user
138+
workspace_permission:
139+
type: >-
140+
optional<BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission>
141+
docs: The workspace permission of the user
138142
content-type: application/json
139143
response:
140144
docs: Successful Response
@@ -230,7 +234,7 @@ service:
230234
openapi: openapi.json
231235
display-name: Update member
232236
request:
233-
name: BodyUpdateMemberV1WorkspaceMembersPost
237+
name: UpdateMemberRequest
234238
body:
235239
properties:
236240
email:
@@ -339,11 +343,12 @@ service:
339343
auth: false
340344
docs: >-
341345
Grants a role on a workspace resource to a user or a group. It overrides
342-
any existing role this user/group/workspace api key has on the resource.
343-
To target a user, pass only the user email. The user must be in your
344-
workspace. To target a group, pass only the group id. To target a
345-
workspace api key, pass the api key id. You must have admin access to
346-
the resource to share it.
346+
any existing role this user/service account/group/workspace api key has
347+
on the resource. To target a user or service account, pass only the user
348+
email. The user must be in your workspace. To target a group, pass only
349+
the group id. To target a workspace api key, pass the api key id. The
350+
resource will be shared with the service account associated with the api
351+
key. You must have admin access to the resource to share it.
347352
source:
348353
openapi: openapi.json
349354
path-parameters:
@@ -364,7 +369,7 @@ service:
364369
docs: Resource type of the target resource.
365370
user_email:
366371
type: optional<string>
367-
docs: The email of the user
372+
docs: The email of the user or service account.
368373
group_id:
369374
type: optional<string>
370375
docs: >-
@@ -398,12 +403,14 @@ service:
398403
method: POST
399404
auth: false
400405
docs: >-
401-
Removes any existing role on a workspace resource from a user or a
402-
group. To target a user, pass only the user email. The user must be in
403-
your workspace. To target a group, pass only the group id. To target a
404-
workspace api key, pass the api key id. You must have admin access to
405-
the resource to unshare it. You cannot remove permissions from the user
406-
who created the resource.
406+
Removes any existing role on a workspace resource from a user, service
407+
account, group or workspace api key. To target a user or service
408+
account, pass only the user email. The user must be in your workspace.
409+
To target a group, pass only the group id. To target a workspace api
410+
key, pass the api key id. The resource will be unshared from the service
411+
account associated with the api key. You must have admin access to the
412+
resource to unshare it. You cannot remove permissions from the user who
413+
created the resource.
407414
source:
408415
openapi: openapi.json
409416
path-parameters:
@@ -420,7 +427,7 @@ service:
420427
docs: Resource type of the target resource.
421428
user_email:
422429
type: optional<string>
423-
docs: The email of the user
430+
docs: The email of the user or service account.
424431
group_id:
425432
type: optional<string>
426433
docs: >-
@@ -451,6 +458,27 @@ service:
451458
source:
452459
openapi: openapi.json
453460
types:
461+
BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission:
462+
enum:
463+
- external
464+
- admin
465+
- workspace_admin
466+
- workspace_member
467+
- support_l1
468+
- support_l2
469+
- moderator
470+
- sales
471+
- voice_mixer
472+
- voice_admin
473+
- convai_admin
474+
- enterprise_viewer
475+
- quality_check_admin
476+
- workspace_migration_admin
477+
- human_reviewer
478+
- productions_admin
479+
inline: true
480+
source:
481+
openapi: openapi.json
454482
BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole:
455483
enum:
456484
- workspace_admin

0 commit comments

Comments
 (0)