Skip to content

Commit fe55346

Browse files
🌿 Fern Regeneration -- January 13, 2025 (#253)
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
1 parent f43e08f commit fe55346

Some content is hidden

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

43 files changed

+1141
-1068
lines changed

.mock/definition/empathic-voice/__package__.yml

+40-51
Original file line numberDiff line numberDiff line change
@@ -875,6 +875,24 @@ types:
875875
custom_voice: optional<PostedCustomVoice>
876876
source:
877877
openapi: stenographer-openapi.json
878+
PostedWebhookEventType:
879+
enum:
880+
- chat_started
881+
- chat_ended
882+
docs: Events this URL is subscribed to
883+
source:
884+
openapi: stenographer-openapi.json
885+
PostedWebhookSpec:
886+
docs: URL and settings for a specific webhook to be posted to the server
887+
properties:
888+
url:
889+
type: string
890+
docs: URL to send the webhook to
891+
events:
892+
docs: Events this URL is subscribed to
893+
type: list<PostedWebhookEventType>
894+
source:
895+
openapi: stenographer-openapi.json
878896
ReturnBuiltinToolToolType:
879897
enum:
880898
- BUILTIN
@@ -978,6 +996,9 @@ types:
978996
docs: List of built-in tools associated with this Config.
979997
event_messages: optional<ReturnEventMessageSpecs>
980998
timeouts: optional<ReturnTimeoutSpecs>
999+
webhooks:
1000+
type: optional<list<optional<ReturnWebhookSpec>>>
1001+
docs: Map of webhooks associated with this config.
9811002
source:
9821003
openapi: stenographer-openapi.json
9831004
ReturnEllmModel:
@@ -1225,6 +1246,24 @@ types:
12251246
custom_voice: optional<ReturnCustomVoice>
12261247
source:
12271248
openapi: stenographer-openapi.json
1249+
ReturnWebhookEventType:
1250+
enum:
1251+
- chat_started
1252+
- chat_ended
1253+
docs: Events this URL is subscribed to
1254+
source:
1255+
openapi: stenographer-openapi.json
1256+
ReturnWebhookSpec:
1257+
docs: Collection of webhook URL endpoints to be returned from the server
1258+
properties:
1259+
url:
1260+
type: string
1261+
docs: Webhook URL to send the event updates to
1262+
events:
1263+
docs: Events this URL is subscribed to
1264+
type: list<ReturnWebhookEventType>
1265+
source:
1266+
openapi: stenographer-openapi.json
12281267
ReturnPagedUserDefinedTools:
12291268
docs: A paginated list of user defined tool versions returned from the server
12301269
properties:
@@ -1843,39 +1882,6 @@ types:
18431882
epoch milliseconds.
18441883
source:
18451884
openapi: stenographer-openapi.json
1846-
ReturnActiveChatCount:
1847-
docs: A description of current chat chat sessions for a user
1848-
properties:
1849-
timestamp:
1850-
type: long
1851-
docs: >-
1852-
The timestamp for when chat status was measured. Formatted as a Unix
1853-
epoch milliseconds.
1854-
total_user_active_chats:
1855-
type: integer
1856-
docs: The total number of active chats for this user.
1857-
max_allowed_active_chats:
1858-
type: optional<integer>
1859-
docs: The maximum number of concurrent active chats for this user.
1860-
more_active_chats_allowed:
1861-
type: boolean
1862-
docs: Boolean indicating if the user is allowed to start more chats.
1863-
per_tag:
1864-
type: optional<list<optional<ReturnActiveChatCountPerTag>>>
1865-
docs: Optional List of chat counts per tag.
1866-
source:
1867-
openapi: stenographer-openapi.json
1868-
ReturnActiveChatCountPerTag:
1869-
docs: A description of current chat chat sessions per tag
1870-
properties:
1871-
tag:
1872-
type: string
1873-
docs: User tag applied to a chat.
1874-
total_tag_active_chats:
1875-
type: integer
1876-
docs: The total number of active chats for this user with the specified tag.
1877-
source:
1878-
openapi: stenographer-openapi.json
18791885
ReturnChatGroup:
18801886
docs: A description of chat_group and its status
18811887
properties:
@@ -1899,6 +1905,7 @@ types:
18991905
docs: >-
19001906
The `chat_id` of the most recent Chat in this Chat Group. Formatted as
19011907
a UUID.
1908+
most_recent_config: optional<ReturnConfigSpec>
19021909
num_chats:
19031910
type: integer
19041911
docs: The total number of Chats in this Chat Group.
@@ -3183,21 +3190,3 @@ types:
31833190
type: string
31843191
source:
31853192
openapi: assistant-openapi.json
3186-
VoiceNameEnum:
3187-
enum:
3188-
- ITO
3189-
- KORA
3190-
- DACHER
3191-
- AURA
3192-
- FINN
3193-
- SIENNA
3194-
- WILLOW
3195-
- SCOUT
3196-
- WHIMSY
3197-
- ACE
3198-
- JUNO
3199-
- STELLA
3200-
- HIRO
3201-
- SUNNY
3202-
source:
3203-
openapi: assistant-openapi.json

.mock/definition/empathic-voice/chatGroups.yml

+16-14
Original file line numberDiff line numberDiff line change
@@ -543,12 +543,22 @@ service:
543543
path-parameters:
544544
id:
545545
type: string
546-
docs: Identifier for a chat. Formatted as a UUID.
546+
docs: Identifier for a Chat Group. Formatted as a UUID.
547547
display-name: Get chat group audio
548548
request:
549549
name: ChatGroupsGetAudioRequest
550550
query-parameters:
551551
page_number:
552+
type: optional<integer>
553+
docs: >-
554+
Specifies the maximum number of results to include per page,
555+
enabling pagination. The value must be between 1 and 100,
556+
inclusive.
557+
558+
559+
For example, if `page_size` is set to 10, each page will include
560+
up to 10 items. Defaults to 10.
561+
page_size:
552562
type: optional<integer>
553563
docs: >-
554564
Specifies the page number to retrieve, enabling pagination.
@@ -559,22 +569,14 @@ service:
559569
if `page_size` is 10), setting `page_number` to 1 retrieves the
560570
second page (items 10-19), and so on. Defaults to 0, which
561571
retrieves the first page.
562-
page_size:
563-
type: optional<integer>
564-
docs: >-
565-
Specifies the maximum number of results to include per page,
566-
enabling pagination. The value must be between 1 and 100,
567-
inclusive.
568-
569-
570-
For example, if `page_size` is set to 10, each page will include
571-
up to 10 items. Defaults to 10.
572572
ascending_order:
573573
type: optional<boolean>
574574
docs: >-
575-
Boolean to indicate if the results should be paginated in
576-
chronological order or reverse-chronological order. Defaults to
577-
true.
575+
Specifies the sorting order of the results based on their creation
576+
date. Set to true for ascending order (chronological, with the
577+
oldest records first) and false for descending order
578+
(reverse-chronological, with the newest records first). Defaults
579+
to true.
578580
response:
579581
docs: Success
580582
type: root.ReturnChatGroupPagedAudioReconstructions

.mock/definition/empathic-voice/chats.yml

+5
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ service:
4747
oldest records first) and false for descending order
4848
(reverse-chronological, with the newest records first). Defaults
4949
to true.
50+
config_id:
51+
type: optional<string>
52+
docs: Filter to only include chats that used this config.
53+
validation:
54+
format: uuid
5055
response:
5156
docs: Success
5257
type: root.ReturnPagedChats

.mock/definition/empathic-voice/configs.yml

+6
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ service:
198198
docs: List of built-in tools associated with this Config.
199199
event_messages: optional<root.PostedEventMessageSpecs>
200200
timeouts: optional<root.PostedTimeoutSpecs>
201+
webhooks:
202+
type: optional<list<optional<root.PostedWebhookSpec>>>
203+
docs: Webhook config specifications for each subscriber.
201204
content-type: application/json
202205
response:
203206
docs: Created
@@ -491,6 +494,9 @@ service:
491494
docs: List of built-in tools associated with this Config version.
492495
event_messages: optional<root.PostedEventMessageSpecs>
493496
timeouts: optional<root.PostedTimeoutSpecs>
497+
webhooks:
498+
type: optional<list<optional<root.PostedWebhookSpec>>>
499+
docs: Webhook config specifications for each subscriber.
494500
content-type: application/json
495501
response:
496502
docs: Created

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hume",
3-
"version": "0.9.8",
3+
"version": "0.9.9",
44
"private": false,
55
"repository": "https://github.com/HumeAI/hume-typescript-sdk",
66
"main": "./index.js",

0 commit comments

Comments
 (0)