Skip to content

Commit

Permalink
🌿 Fern Regeneration -- January 13, 2025 (#220)
Browse files Browse the repository at this point in the history
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
Co-authored-by: twitchard <[email protected]>
Co-authored-by: Richard Marmorstein <[email protected]>
  • Loading branch information
3 people authored Jan 13, 2025
1 parent 11fd7fb commit 5acfaf4
Show file tree
Hide file tree
Showing 21 changed files with 808 additions and 754 deletions.
91 changes: 40 additions & 51 deletions .mock/definition/empathic-voice/__package__.yml
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,24 @@ types:
custom_voice: optional<PostedCustomVoice>
source:
openapi: stenographer-openapi.json
PostedWebhookEventType:
enum:
- chat_started
- chat_ended
docs: Events this URL is subscribed to
source:
openapi: stenographer-openapi.json
PostedWebhookSpec:
docs: URL and settings for a specific webhook to be posted to the server
properties:
url:
type: string
docs: URL to send the webhook to
events:
docs: Events this URL is subscribed to
type: list<PostedWebhookEventType>
source:
openapi: stenographer-openapi.json
ReturnBuiltinToolToolType:
enum:
- BUILTIN
Expand Down Expand Up @@ -978,6 +996,9 @@ types:
docs: List of built-in tools associated with this Config.
event_messages: optional<ReturnEventMessageSpecs>
timeouts: optional<ReturnTimeoutSpecs>
webhooks:
type: optional<list<optional<ReturnWebhookSpec>>>
docs: Map of webhooks associated with this config.
source:
openapi: stenographer-openapi.json
ReturnEllmModel:
Expand Down Expand Up @@ -1225,6 +1246,24 @@ types:
custom_voice: optional<ReturnCustomVoice>
source:
openapi: stenographer-openapi.json
ReturnWebhookEventType:
enum:
- chat_started
- chat_ended
docs: Events this URL is subscribed to
source:
openapi: stenographer-openapi.json
ReturnWebhookSpec:
docs: Collection of webhook URL endpoints to be returned from the server
properties:
url:
type: string
docs: Webhook URL to send the event updates to
events:
docs: Events this URL is subscribed to
type: list<ReturnWebhookEventType>
source:
openapi: stenographer-openapi.json
ReturnPagedUserDefinedTools:
docs: A paginated list of user defined tool versions returned from the server
properties:
Expand Down Expand Up @@ -1843,39 +1882,6 @@ types:
epoch milliseconds.
source:
openapi: stenographer-openapi.json
ReturnActiveChatCount:
docs: A description of current chat chat sessions for a user
properties:
timestamp:
type: long
docs: >-
The timestamp for when chat status was measured. Formatted as a Unix
epoch milliseconds.
total_user_active_chats:
type: integer
docs: The total number of active chats for this user.
max_allowed_active_chats:
type: optional<integer>
docs: The maximum number of concurrent active chats for this user.
more_active_chats_allowed:
type: boolean
docs: Boolean indicating if the user is allowed to start more chats.
per_tag:
type: optional<list<optional<ReturnActiveChatCountPerTag>>>
docs: Optional List of chat counts per tag.
source:
openapi: stenographer-openapi.json
ReturnActiveChatCountPerTag:
docs: A description of current chat chat sessions per tag
properties:
tag:
type: string
docs: User tag applied to a chat.
total_tag_active_chats:
type: integer
docs: The total number of active chats for this user with the specified tag.
source:
openapi: stenographer-openapi.json
ReturnChatGroup:
docs: A description of chat_group and its status
properties:
Expand All @@ -1899,6 +1905,7 @@ types:
docs: >-
The `chat_id` of the most recent Chat in this Chat Group. Formatted as
a UUID.
most_recent_config: optional<ReturnConfigSpec>
num_chats:
type: integer
docs: The total number of Chats in this Chat Group.
Expand Down Expand Up @@ -3183,21 +3190,3 @@ types:
type: string
source:
openapi: assistant-openapi.json
VoiceNameEnum:
enum:
- ITO
- KORA
- DACHER
- AURA
- FINN
- SIENNA
- WILLOW
- SCOUT
- WHIMSY
- ACE
- JUNO
- STELLA
- HIRO
- SUNNY
source:
openapi: assistant-openapi.json
30 changes: 16 additions & 14 deletions .mock/definition/empathic-voice/chatGroups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -543,12 +543,22 @@ service:
path-parameters:
id:
type: string
docs: Identifier for a chat. Formatted as a UUID.
docs: Identifier for a Chat Group. Formatted as a UUID.
display-name: Get chat group audio
request:
name: ChatGroupsGetAudioRequest
query-parameters:
page_number:
type: optional<integer>
docs: >-
Specifies the maximum number of results to include per page,
enabling pagination. The value must be between 1 and 100,
inclusive.
For example, if `page_size` is set to 10, each page will include
up to 10 items. Defaults to 10.
page_size:
type: optional<integer>
docs: >-
Specifies the page number to retrieve, enabling pagination.
Expand All @@ -559,22 +569,14 @@ service:
if `page_size` is 10), setting `page_number` to 1 retrieves the
second page (items 10-19), and so on. Defaults to 0, which
retrieves the first page.
page_size:
type: optional<integer>
docs: >-
Specifies the maximum number of results to include per page,
enabling pagination. The value must be between 1 and 100,
inclusive.
For example, if `page_size` is set to 10, each page will include
up to 10 items. Defaults to 10.
ascending_order:
type: optional<boolean>
docs: >-
Boolean to indicate if the results should be paginated in
chronological order or reverse-chronological order. Defaults to
true.
Specifies the sorting order of the results based on their creation
date. Set to true for ascending order (chronological, with the
oldest records first) and false for descending order
(reverse-chronological, with the newest records first). Defaults
to true.
response:
docs: Success
type: root.ReturnChatGroupPagedAudioReconstructions
Expand Down
5 changes: 5 additions & 0 deletions .mock/definition/empathic-voice/chats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ service:
oldest records first) and false for descending order
(reverse-chronological, with the newest records first). Defaults
to true.
config_id:
type: optional<string>
docs: Filter to only include chats that used this config.
validation:
format: uuid
response:
docs: Success
type: root.ReturnPagedChats
Expand Down
6 changes: 6 additions & 0 deletions .mock/definition/empathic-voice/configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ service:
docs: List of built-in tools associated with this Config.
event_messages: optional<root.PostedEventMessageSpecs>
timeouts: optional<root.PostedTimeoutSpecs>
webhooks:
type: optional<list<optional<root.PostedWebhookSpec>>>
docs: Webhook config specifications for each subscriber.
content-type: application/json
response:
docs: Created
Expand Down Expand Up @@ -491,6 +494,9 @@ service:
docs: List of built-in tools associated with this Config version.
event_messages: optional<root.PostedEventMessageSpecs>
timeouts: optional<root.PostedTimeoutSpecs>
webhooks:
type: optional<list<optional<root.PostedWebhookSpec>>>
docs: Webhook config specifications for each subscriber.
content-type: application/json
response:
docs: Created
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2024 Hume.
Copyright (c) 2025 Hume.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit 5acfaf4

Please sign in to comment.