telnyx 5.3.0 → 5.4.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/CHANGELOG.md +13 -0
- package/package.json +1 -1
- package/resources/ai/assistants/assistants.d.mts +12 -12
- package/resources/ai/assistants/assistants.d.ts +12 -12
- package/resources/ai/assistants/assistants.js +4 -4
- package/resources/ai/assistants/assistants.mjs +4 -4
- package/resources/ai/assistants/versions.d.mts +4 -4
- package/resources/ai/assistants/versions.d.ts +4 -4
- package/resources/ai/chat.d.mts +1 -1
- package/resources/ai/chat.d.ts +1 -1
- package/resources/ai/clusters.d.mts +1 -1
- package/resources/ai/clusters.d.ts +1 -1
- package/resources/ai/clusters.js +1 -1
- package/resources/ai/clusters.mjs +1 -1
- package/resources/ai/embeddings/embeddings.d.mts +1 -1
- package/resources/ai/embeddings/embeddings.d.ts +1 -1
- package/resources/ai/embeddings/embeddings.js +1 -1
- package/resources/ai/embeddings/embeddings.mjs +1 -1
- package/src/resources/ai/assistants/assistants.ts +12 -12
- package/src/resources/ai/assistants/versions.ts +4 -4
- package/src/resources/ai/chat.ts +1 -1
- package/src/resources/ai/clusters.ts +1 -1
- package/src/resources/ai/embeddings/embeddings.ts +1 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.4.0 (2026-01-16)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v5.3.0...v5.4.0](https://github.com/team-telnyx/telnyx-node/compare/v5.3.0...v5.4.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* fix links ([85a71db](https://github.com/team-telnyx/telnyx-node/commit/85a71dbb46db9add803535fdc1c7e7623c60c74e))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Chores
|
|
13
|
+
|
|
14
|
+
* **internal:** update `actions/checkout` version ([91bd1ed](https://github.com/team-telnyx/telnyx-node/commit/91bd1ed98588453e9658796d232efb45d23b0851))
|
|
15
|
+
|
|
3
16
|
## 5.3.0 (2026-01-16)
|
|
4
17
|
|
|
5
18
|
Full Changelog: [v5.2.2...v5.3.0](https://github.com/team-telnyx/telnyx-node/compare/v5.2.2...v5.3.0)
|
package/package.json
CHANGED
|
@@ -75,11 +75,11 @@ export declare class Assistants extends APIResource {
|
|
|
75
75
|
* This endpoint allows a client to send a chat message to a specific AI Assistant.
|
|
76
76
|
* The assistant processes the message and returns a relevant reply based on the
|
|
77
77
|
* current conversation context. Refer to the Conversation API to
|
|
78
|
-
* [create a conversation](https://developers.telnyx.com/api/
|
|
79
|
-
* [filter existing conversations](https://developers.telnyx.com/api
|
|
80
|
-
* [fetch messages for a conversation](https://developers.telnyx.com/api/
|
|
78
|
+
* [create a conversation](https://developers.telnyx.com/api-reference/conversations/create-a-conversation),
|
|
79
|
+
* [filter existing conversations](https://developers.telnyx.com/api-reference/conversations/list-conversations),
|
|
80
|
+
* [fetch messages for a conversation](https://developers.telnyx.com/api-reference/conversations/get-conversation-messages),
|
|
81
81
|
* and
|
|
82
|
-
* [manually add messages to a conversation](https://developers.telnyx.com/api/
|
|
82
|
+
* [manually add messages to a conversation](https://developers.telnyx.com/api-reference/conversations/create-message).
|
|
83
83
|
*
|
|
84
84
|
* @example
|
|
85
85
|
* ```ts
|
|
@@ -393,7 +393,7 @@ export interface InferenceEmbedding {
|
|
|
393
393
|
instructions: string;
|
|
394
394
|
/**
|
|
395
395
|
* ID of the model to use. You can use the
|
|
396
|
-
* [Get models API](https://developers.telnyx.com/api/
|
|
396
|
+
* [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
|
|
397
397
|
* to see all of your available models,
|
|
398
398
|
*/
|
|
399
399
|
model: string;
|
|
@@ -424,7 +424,7 @@ export interface InferenceEmbedding {
|
|
|
424
424
|
/**
|
|
425
425
|
* This is only needed when using third-party inference providers. The `identifier`
|
|
426
426
|
* for an integration secret
|
|
427
|
-
* [/v2/integration_secrets](https://developers.telnyx.com/api
|
|
427
|
+
* [/v2/integration_secrets](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
428
428
|
* that refers to your LLM provider's API key. Warning: Free plans are unlikely to
|
|
429
429
|
* work with this integration.
|
|
430
430
|
*/
|
|
@@ -507,7 +507,7 @@ export declare namespace InferenceEmbedding {
|
|
|
507
507
|
export interface InferenceEmbeddingBucketIDs {
|
|
508
508
|
/**
|
|
509
509
|
* List of
|
|
510
|
-
* [embedded storage buckets](https://developers.telnyx.com/api/
|
|
510
|
+
* [embedded storage buckets](https://developers.telnyx.com/api-reference/embeddings/embed-documents)
|
|
511
511
|
* to use for retrieval-augmented generation.
|
|
512
512
|
*/
|
|
513
513
|
bucket_ids: Array<string>;
|
|
@@ -811,7 +811,7 @@ export interface VoiceSettings {
|
|
|
811
811
|
* [available voices](https://developers.telnyx.com/api/call-control/list-text-to-speech-voices)
|
|
812
812
|
* via our voices API. To use ElevenLabs, you must reference your ElevenLabs API
|
|
813
813
|
* key as an integration secret under the `api_key_ref` field. See
|
|
814
|
-
* [integration secrets documentation](https://developers.telnyx.com/api
|
|
814
|
+
* [integration secrets documentation](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
815
815
|
* for details. For Telnyx voices, use `Telnyx.<model_id>.<voice_id>` (e.g.
|
|
816
816
|
* Telnyx.KokoroTTS.af_heart)
|
|
817
817
|
*/
|
|
@@ -928,7 +928,7 @@ export interface AssistantCreateParams {
|
|
|
928
928
|
instructions: string;
|
|
929
929
|
/**
|
|
930
930
|
* ID of the model to use. You can use the
|
|
931
|
-
* [Get models API](https://developers.telnyx.com/api/
|
|
931
|
+
* [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
|
|
932
932
|
* to see all of your available models,
|
|
933
933
|
*/
|
|
934
934
|
model: string;
|
|
@@ -958,7 +958,7 @@ export interface AssistantCreateParams {
|
|
|
958
958
|
/**
|
|
959
959
|
* This is only needed when using third-party inference providers. The `identifier`
|
|
960
960
|
* for an integration secret
|
|
961
|
-
* [/v2/integration_secrets](https://developers.telnyx.com/api
|
|
961
|
+
* [/v2/integration_secrets](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
962
962
|
* that refers to your LLM provider's API key. Warning: Free plans are unlikely to
|
|
963
963
|
* work with this integration.
|
|
964
964
|
*/
|
|
@@ -1075,7 +1075,7 @@ export interface AssistantUpdateParams {
|
|
|
1075
1075
|
/**
|
|
1076
1076
|
* This is only needed when using third-party inference providers. The `identifier`
|
|
1077
1077
|
* for an integration secret
|
|
1078
|
-
* [/v2/integration_secrets](https://developers.telnyx.com/api
|
|
1078
|
+
* [/v2/integration_secrets](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
1079
1079
|
* that refers to your LLM provider's API key. Warning: Free plans are unlikely to
|
|
1080
1080
|
* work with this integration.
|
|
1081
1081
|
*/
|
|
@@ -1083,7 +1083,7 @@ export interface AssistantUpdateParams {
|
|
|
1083
1083
|
messaging_settings?: MessagingSettings;
|
|
1084
1084
|
/**
|
|
1085
1085
|
* ID of the model to use. You can use the
|
|
1086
|
-
* [Get models API](https://developers.telnyx.com/api/
|
|
1086
|
+
* [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
|
|
1087
1087
|
* to see all of your available models,
|
|
1088
1088
|
*/
|
|
1089
1089
|
model?: string;
|
|
@@ -75,11 +75,11 @@ export declare class Assistants extends APIResource {
|
|
|
75
75
|
* This endpoint allows a client to send a chat message to a specific AI Assistant.
|
|
76
76
|
* The assistant processes the message and returns a relevant reply based on the
|
|
77
77
|
* current conversation context. Refer to the Conversation API to
|
|
78
|
-
* [create a conversation](https://developers.telnyx.com/api/
|
|
79
|
-
* [filter existing conversations](https://developers.telnyx.com/api
|
|
80
|
-
* [fetch messages for a conversation](https://developers.telnyx.com/api/
|
|
78
|
+
* [create a conversation](https://developers.telnyx.com/api-reference/conversations/create-a-conversation),
|
|
79
|
+
* [filter existing conversations](https://developers.telnyx.com/api-reference/conversations/list-conversations),
|
|
80
|
+
* [fetch messages for a conversation](https://developers.telnyx.com/api-reference/conversations/get-conversation-messages),
|
|
81
81
|
* and
|
|
82
|
-
* [manually add messages to a conversation](https://developers.telnyx.com/api/
|
|
82
|
+
* [manually add messages to a conversation](https://developers.telnyx.com/api-reference/conversations/create-message).
|
|
83
83
|
*
|
|
84
84
|
* @example
|
|
85
85
|
* ```ts
|
|
@@ -393,7 +393,7 @@ export interface InferenceEmbedding {
|
|
|
393
393
|
instructions: string;
|
|
394
394
|
/**
|
|
395
395
|
* ID of the model to use. You can use the
|
|
396
|
-
* [Get models API](https://developers.telnyx.com/api/
|
|
396
|
+
* [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
|
|
397
397
|
* to see all of your available models,
|
|
398
398
|
*/
|
|
399
399
|
model: string;
|
|
@@ -424,7 +424,7 @@ export interface InferenceEmbedding {
|
|
|
424
424
|
/**
|
|
425
425
|
* This is only needed when using third-party inference providers. The `identifier`
|
|
426
426
|
* for an integration secret
|
|
427
|
-
* [/v2/integration_secrets](https://developers.telnyx.com/api
|
|
427
|
+
* [/v2/integration_secrets](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
428
428
|
* that refers to your LLM provider's API key. Warning: Free plans are unlikely to
|
|
429
429
|
* work with this integration.
|
|
430
430
|
*/
|
|
@@ -507,7 +507,7 @@ export declare namespace InferenceEmbedding {
|
|
|
507
507
|
export interface InferenceEmbeddingBucketIDs {
|
|
508
508
|
/**
|
|
509
509
|
* List of
|
|
510
|
-
* [embedded storage buckets](https://developers.telnyx.com/api/
|
|
510
|
+
* [embedded storage buckets](https://developers.telnyx.com/api-reference/embeddings/embed-documents)
|
|
511
511
|
* to use for retrieval-augmented generation.
|
|
512
512
|
*/
|
|
513
513
|
bucket_ids: Array<string>;
|
|
@@ -811,7 +811,7 @@ export interface VoiceSettings {
|
|
|
811
811
|
* [available voices](https://developers.telnyx.com/api/call-control/list-text-to-speech-voices)
|
|
812
812
|
* via our voices API. To use ElevenLabs, you must reference your ElevenLabs API
|
|
813
813
|
* key as an integration secret under the `api_key_ref` field. See
|
|
814
|
-
* [integration secrets documentation](https://developers.telnyx.com/api
|
|
814
|
+
* [integration secrets documentation](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
815
815
|
* for details. For Telnyx voices, use `Telnyx.<model_id>.<voice_id>` (e.g.
|
|
816
816
|
* Telnyx.KokoroTTS.af_heart)
|
|
817
817
|
*/
|
|
@@ -928,7 +928,7 @@ export interface AssistantCreateParams {
|
|
|
928
928
|
instructions: string;
|
|
929
929
|
/**
|
|
930
930
|
* ID of the model to use. You can use the
|
|
931
|
-
* [Get models API](https://developers.telnyx.com/api/
|
|
931
|
+
* [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
|
|
932
932
|
* to see all of your available models,
|
|
933
933
|
*/
|
|
934
934
|
model: string;
|
|
@@ -958,7 +958,7 @@ export interface AssistantCreateParams {
|
|
|
958
958
|
/**
|
|
959
959
|
* This is only needed when using third-party inference providers. The `identifier`
|
|
960
960
|
* for an integration secret
|
|
961
|
-
* [/v2/integration_secrets](https://developers.telnyx.com/api
|
|
961
|
+
* [/v2/integration_secrets](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
962
962
|
* that refers to your LLM provider's API key. Warning: Free plans are unlikely to
|
|
963
963
|
* work with this integration.
|
|
964
964
|
*/
|
|
@@ -1075,7 +1075,7 @@ export interface AssistantUpdateParams {
|
|
|
1075
1075
|
/**
|
|
1076
1076
|
* This is only needed when using third-party inference providers. The `identifier`
|
|
1077
1077
|
* for an integration secret
|
|
1078
|
-
* [/v2/integration_secrets](https://developers.telnyx.com/api
|
|
1078
|
+
* [/v2/integration_secrets](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
1079
1079
|
* that refers to your LLM provider's API key. Warning: Free plans are unlikely to
|
|
1080
1080
|
* work with this integration.
|
|
1081
1081
|
*/
|
|
@@ -1083,7 +1083,7 @@ export interface AssistantUpdateParams {
|
|
|
1083
1083
|
messaging_settings?: MessagingSettings;
|
|
1084
1084
|
/**
|
|
1085
1085
|
* ID of the model to use. You can use the
|
|
1086
|
-
* [Get models API](https://developers.telnyx.com/api/
|
|
1086
|
+
* [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
|
|
1087
1087
|
* to see all of your available models,
|
|
1088
1088
|
*/
|
|
1089
1089
|
model?: string;
|
|
@@ -92,11 +92,11 @@ class Assistants extends resource_1.APIResource {
|
|
|
92
92
|
* This endpoint allows a client to send a chat message to a specific AI Assistant.
|
|
93
93
|
* The assistant processes the message and returns a relevant reply based on the
|
|
94
94
|
* current conversation context. Refer to the Conversation API to
|
|
95
|
-
* [create a conversation](https://developers.telnyx.com/api/
|
|
96
|
-
* [filter existing conversations](https://developers.telnyx.com/api
|
|
97
|
-
* [fetch messages for a conversation](https://developers.telnyx.com/api/
|
|
95
|
+
* [create a conversation](https://developers.telnyx.com/api-reference/conversations/create-a-conversation),
|
|
96
|
+
* [filter existing conversations](https://developers.telnyx.com/api-reference/conversations/list-conversations),
|
|
97
|
+
* [fetch messages for a conversation](https://developers.telnyx.com/api-reference/conversations/get-conversation-messages),
|
|
98
98
|
* and
|
|
99
|
-
* [manually add messages to a conversation](https://developers.telnyx.com/api/
|
|
99
|
+
* [manually add messages to a conversation](https://developers.telnyx.com/api-reference/conversations/create-message).
|
|
100
100
|
*
|
|
101
101
|
* @example
|
|
102
102
|
* ```ts
|
|
@@ -88,11 +88,11 @@ export class Assistants extends APIResource {
|
|
|
88
88
|
* This endpoint allows a client to send a chat message to a specific AI Assistant.
|
|
89
89
|
* The assistant processes the message and returns a relevant reply based on the
|
|
90
90
|
* current conversation context. Refer to the Conversation API to
|
|
91
|
-
* [create a conversation](https://developers.telnyx.com/api/
|
|
92
|
-
* [filter existing conversations](https://developers.telnyx.com/api
|
|
93
|
-
* [fetch messages for a conversation](https://developers.telnyx.com/api/
|
|
91
|
+
* [create a conversation](https://developers.telnyx.com/api-reference/conversations/create-a-conversation),
|
|
92
|
+
* [filter existing conversations](https://developers.telnyx.com/api-reference/conversations/list-conversations),
|
|
93
|
+
* [fetch messages for a conversation](https://developers.telnyx.com/api-reference/conversations/get-conversation-messages),
|
|
94
94
|
* and
|
|
95
|
-
* [manually add messages to a conversation](https://developers.telnyx.com/api/
|
|
95
|
+
* [manually add messages to a conversation](https://developers.telnyx.com/api-reference/conversations/create-message).
|
|
96
96
|
*
|
|
97
97
|
* @example
|
|
98
98
|
* ```ts
|
|
@@ -99,7 +99,7 @@ export interface UpdateAssistant {
|
|
|
99
99
|
/**
|
|
100
100
|
* This is only needed when using third-party inference providers. The `identifier`
|
|
101
101
|
* for an integration secret
|
|
102
|
-
* [/v2/integration_secrets](https://developers.telnyx.com/api
|
|
102
|
+
* [/v2/integration_secrets](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
103
103
|
* that refers to your LLM provider's API key. Warning: Free plans are unlikely to
|
|
104
104
|
* work with this integration.
|
|
105
105
|
*/
|
|
@@ -107,7 +107,7 @@ export interface UpdateAssistant {
|
|
|
107
107
|
messaging_settings?: AssistantsAPI.MessagingSettings;
|
|
108
108
|
/**
|
|
109
109
|
* ID of the model to use. You can use the
|
|
110
|
-
* [Get models API](https://developers.telnyx.com/api/
|
|
110
|
+
* [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
|
|
111
111
|
* to see all of your available models,
|
|
112
112
|
*/
|
|
113
113
|
model?: string;
|
|
@@ -240,7 +240,7 @@ export interface VersionUpdateParams {
|
|
|
240
240
|
/**
|
|
241
241
|
* Body param: This is only needed when using third-party inference providers. The
|
|
242
242
|
* `identifier` for an integration secret
|
|
243
|
-
* [/v2/integration_secrets](https://developers.telnyx.com/api
|
|
243
|
+
* [/v2/integration_secrets](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
244
244
|
* that refers to your LLM provider's API key. Warning: Free plans are unlikely to
|
|
245
245
|
* work with this integration.
|
|
246
246
|
*/
|
|
@@ -251,7 +251,7 @@ export interface VersionUpdateParams {
|
|
|
251
251
|
messaging_settings?: AssistantsAPI.MessagingSettings;
|
|
252
252
|
/**
|
|
253
253
|
* Body param: ID of the model to use. You can use the
|
|
254
|
-
* [Get models API](https://developers.telnyx.com/api/
|
|
254
|
+
* [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
|
|
255
255
|
* to see all of your available models,
|
|
256
256
|
*/
|
|
257
257
|
model?: string;
|
|
@@ -99,7 +99,7 @@ export interface UpdateAssistant {
|
|
|
99
99
|
/**
|
|
100
100
|
* This is only needed when using third-party inference providers. The `identifier`
|
|
101
101
|
* for an integration secret
|
|
102
|
-
* [/v2/integration_secrets](https://developers.telnyx.com/api
|
|
102
|
+
* [/v2/integration_secrets](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
103
103
|
* that refers to your LLM provider's API key. Warning: Free plans are unlikely to
|
|
104
104
|
* work with this integration.
|
|
105
105
|
*/
|
|
@@ -107,7 +107,7 @@ export interface UpdateAssistant {
|
|
|
107
107
|
messaging_settings?: AssistantsAPI.MessagingSettings;
|
|
108
108
|
/**
|
|
109
109
|
* ID of the model to use. You can use the
|
|
110
|
-
* [Get models API](https://developers.telnyx.com/api/
|
|
110
|
+
* [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
|
|
111
111
|
* to see all of your available models,
|
|
112
112
|
*/
|
|
113
113
|
model?: string;
|
|
@@ -240,7 +240,7 @@ export interface VersionUpdateParams {
|
|
|
240
240
|
/**
|
|
241
241
|
* Body param: This is only needed when using third-party inference providers. The
|
|
242
242
|
* `identifier` for an integration secret
|
|
243
|
-
* [/v2/integration_secrets](https://developers.telnyx.com/api
|
|
243
|
+
* [/v2/integration_secrets](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
244
244
|
* that refers to your LLM provider's API key. Warning: Free plans are unlikely to
|
|
245
245
|
* work with this integration.
|
|
246
246
|
*/
|
|
@@ -251,7 +251,7 @@ export interface VersionUpdateParams {
|
|
|
251
251
|
messaging_settings?: AssistantsAPI.MessagingSettings;
|
|
252
252
|
/**
|
|
253
253
|
* Body param: ID of the model to use. You can use the
|
|
254
|
-
* [Get models API](https://developers.telnyx.com/api/
|
|
254
|
+
* [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
|
|
255
255
|
* to see all of your available models,
|
|
256
256
|
*/
|
|
257
257
|
model?: string;
|
package/resources/ai/chat.d.mts
CHANGED
|
@@ -127,7 +127,7 @@ export interface ChatCreateCompletionParams {
|
|
|
127
127
|
* The `function` tool type follows the same schema as the
|
|
128
128
|
* [OpenAI Chat Completions API](https://platform.openai.com/docs/api-reference/chat).
|
|
129
129
|
* The `retrieval` tool type is unique to Telnyx. You may pass a list of
|
|
130
|
-
* [embedded storage buckets](https://developers.telnyx.com/api/
|
|
130
|
+
* [embedded storage buckets](https://developers.telnyx.com/api-reference/embeddings/embed-documents)
|
|
131
131
|
* for retrieval-augmented generation.
|
|
132
132
|
*/
|
|
133
133
|
tools?: Array<ChatCreateCompletionParams.Function | ChatCreateCompletionParams.Retrieval>;
|
package/resources/ai/chat.d.ts
CHANGED
|
@@ -127,7 +127,7 @@ export interface ChatCreateCompletionParams {
|
|
|
127
127
|
* The `function` tool type follows the same schema as the
|
|
128
128
|
* [OpenAI Chat Completions API](https://platform.openai.com/docs/api-reference/chat).
|
|
129
129
|
* The `retrieval` tool type is unique to Telnyx. You may pass a list of
|
|
130
|
-
* [embedded storage buckets](https://developers.telnyx.com/api/
|
|
130
|
+
* [embedded storage buckets](https://developers.telnyx.com/api-reference/embeddings/embed-documents)
|
|
131
131
|
* for retrieval-augmented generation.
|
|
132
132
|
*/
|
|
133
133
|
tools?: Array<ChatCreateCompletionParams.Function | ChatCreateCompletionParams.Retrieval>;
|
|
@@ -39,7 +39,7 @@ export declare class Clusters extends APIResource {
|
|
|
39
39
|
delete(taskID: string, options?: RequestOptions): APIPromise<void>;
|
|
40
40
|
/**
|
|
41
41
|
* Starts a background task to compute how the data in an
|
|
42
|
-
* [embedded storage bucket](https://developers.telnyx.com/api/
|
|
42
|
+
* [embedded storage bucket](https://developers.telnyx.com/api-reference/embeddings/embed-documents)
|
|
43
43
|
* is clustered. This helps identify common themes and patterns in the data.
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
@@ -39,7 +39,7 @@ export declare class Clusters extends APIResource {
|
|
|
39
39
|
delete(taskID: string, options?: RequestOptions): APIPromise<void>;
|
|
40
40
|
/**
|
|
41
41
|
* Starts a background task to compute how the data in an
|
|
42
|
-
* [embedded storage bucket](https://developers.telnyx.com/api/
|
|
42
|
+
* [embedded storage bucket](https://developers.telnyx.com/api-reference/embeddings/embed-documents)
|
|
43
43
|
* is clustered. This helps identify common themes and patterns in the data.
|
|
44
44
|
*
|
|
45
45
|
* @example
|
package/resources/ai/clusters.js
CHANGED
|
@@ -53,7 +53,7 @@ class Clusters extends resource_1.APIResource {
|
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
55
|
* Starts a background task to compute how the data in an
|
|
56
|
-
* [embedded storage bucket](https://developers.telnyx.com/api/
|
|
56
|
+
* [embedded storage bucket](https://developers.telnyx.com/api-reference/embeddings/embed-documents)
|
|
57
57
|
* is clustered. This helps identify common themes and patterns in the data.
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
@@ -50,7 +50,7 @@ export class Clusters extends APIResource {
|
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
52
|
* Starts a background task to compute how the data in an
|
|
53
|
-
* [embedded storage bucket](https://developers.telnyx.com/api/
|
|
53
|
+
* [embedded storage bucket](https://developers.telnyx.com/api-reference/embeddings/embed-documents)
|
|
54
54
|
* is clustered. This helps identify common themes and patterns in the data.
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
@@ -105,7 +105,7 @@ export declare class Embeddings extends APIResource {
|
|
|
105
105
|
* URL and its linked pages into a Telnyx Cloud Storage bucket. As soon as each
|
|
106
106
|
* webpage is added to the bucket, its content is immediately processed for
|
|
107
107
|
* embeddings, that can be used for
|
|
108
|
-
* [similarity search](https://developers.telnyx.com/api/
|
|
108
|
+
* [similarity search](https://developers.telnyx.com/api-reference/embeddings/search-for-documents)
|
|
109
109
|
* and [clustering](https://developers.telnyx.com/docs/inference/clusters).
|
|
110
110
|
*
|
|
111
111
|
* @example
|
|
@@ -105,7 +105,7 @@ export declare class Embeddings extends APIResource {
|
|
|
105
105
|
* URL and its linked pages into a Telnyx Cloud Storage bucket. As soon as each
|
|
106
106
|
* webpage is added to the bucket, its content is immediately processed for
|
|
107
107
|
* embeddings, that can be used for
|
|
108
|
-
* [similarity search](https://developers.telnyx.com/api/
|
|
108
|
+
* [similarity search](https://developers.telnyx.com/api-reference/embeddings/search-for-documents)
|
|
109
109
|
* and [clustering](https://developers.telnyx.com/docs/inference/clusters).
|
|
110
110
|
*
|
|
111
111
|
* @example
|
|
@@ -119,7 +119,7 @@ class Embeddings extends resource_1.APIResource {
|
|
|
119
119
|
* URL and its linked pages into a Telnyx Cloud Storage bucket. As soon as each
|
|
120
120
|
* webpage is added to the bucket, its content is immediately processed for
|
|
121
121
|
* embeddings, that can be used for
|
|
122
|
-
* [similarity search](https://developers.telnyx.com/api/
|
|
122
|
+
* [similarity search](https://developers.telnyx.com/api-reference/embeddings/search-for-documents)
|
|
123
123
|
* and [clustering](https://developers.telnyx.com/docs/inference/clusters).
|
|
124
124
|
*
|
|
125
125
|
* @example
|
|
@@ -115,7 +115,7 @@ export class Embeddings extends APIResource {
|
|
|
115
115
|
* URL and its linked pages into a Telnyx Cloud Storage bucket. As soon as each
|
|
116
116
|
* webpage is added to the bucket, its content is immediately processed for
|
|
117
117
|
* embeddings, that can be used for
|
|
118
|
-
* [similarity search](https://developers.telnyx.com/api/
|
|
118
|
+
* [similarity search](https://developers.telnyx.com/api-reference/embeddings/search-for-documents)
|
|
119
119
|
* and [clustering](https://developers.telnyx.com/docs/inference/clusters).
|
|
120
120
|
*
|
|
121
121
|
* @example
|
|
@@ -138,11 +138,11 @@ export class Assistants extends APIResource {
|
|
|
138
138
|
* This endpoint allows a client to send a chat message to a specific AI Assistant.
|
|
139
139
|
* The assistant processes the message and returns a relevant reply based on the
|
|
140
140
|
* current conversation context. Refer to the Conversation API to
|
|
141
|
-
* [create a conversation](https://developers.telnyx.com/api/
|
|
142
|
-
* [filter existing conversations](https://developers.telnyx.com/api
|
|
143
|
-
* [fetch messages for a conversation](https://developers.telnyx.com/api/
|
|
141
|
+
* [create a conversation](https://developers.telnyx.com/api-reference/conversations/create-a-conversation),
|
|
142
|
+
* [filter existing conversations](https://developers.telnyx.com/api-reference/conversations/list-conversations),
|
|
143
|
+
* [fetch messages for a conversation](https://developers.telnyx.com/api-reference/conversations/get-conversation-messages),
|
|
144
144
|
* and
|
|
145
|
-
* [manually add messages to a conversation](https://developers.telnyx.com/api/
|
|
145
|
+
* [manually add messages to a conversation](https://developers.telnyx.com/api-reference/conversations/create-message).
|
|
146
146
|
*
|
|
147
147
|
* @example
|
|
148
148
|
* ```ts
|
|
@@ -538,7 +538,7 @@ export interface InferenceEmbedding {
|
|
|
538
538
|
|
|
539
539
|
/**
|
|
540
540
|
* ID of the model to use. You can use the
|
|
541
|
-
* [Get models API](https://developers.telnyx.com/api/
|
|
541
|
+
* [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
|
|
542
542
|
* to see all of your available models,
|
|
543
543
|
*/
|
|
544
544
|
model: string;
|
|
@@ -576,7 +576,7 @@ export interface InferenceEmbedding {
|
|
|
576
576
|
/**
|
|
577
577
|
* This is only needed when using third-party inference providers. The `identifier`
|
|
578
578
|
* for an integration secret
|
|
579
|
-
* [/v2/integration_secrets](https://developers.telnyx.com/api
|
|
579
|
+
* [/v2/integration_secrets](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
580
580
|
* that refers to your LLM provider's API key. Warning: Free plans are unlikely to
|
|
581
581
|
* work with this integration.
|
|
582
582
|
*/
|
|
@@ -680,7 +680,7 @@ export namespace InferenceEmbedding {
|
|
|
680
680
|
export interface InferenceEmbeddingBucketIDs {
|
|
681
681
|
/**
|
|
682
682
|
* List of
|
|
683
|
-
* [embedded storage buckets](https://developers.telnyx.com/api/
|
|
683
|
+
* [embedded storage buckets](https://developers.telnyx.com/api-reference/embeddings/embed-documents)
|
|
684
684
|
* to use for retrieval-augmented generation.
|
|
685
685
|
*/
|
|
686
686
|
bucket_ids: Array<string>;
|
|
@@ -1037,7 +1037,7 @@ export interface VoiceSettings {
|
|
|
1037
1037
|
* [available voices](https://developers.telnyx.com/api/call-control/list-text-to-speech-voices)
|
|
1038
1038
|
* via our voices API. To use ElevenLabs, you must reference your ElevenLabs API
|
|
1039
1039
|
* key as an integration secret under the `api_key_ref` field. See
|
|
1040
|
-
* [integration secrets documentation](https://developers.telnyx.com/api
|
|
1040
|
+
* [integration secrets documentation](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
1041
1041
|
* for details. For Telnyx voices, use `Telnyx.<model_id>.<voice_id>` (e.g.
|
|
1042
1042
|
* Telnyx.KokoroTTS.af_heart)
|
|
1043
1043
|
*/
|
|
@@ -1178,7 +1178,7 @@ export interface AssistantCreateParams {
|
|
|
1178
1178
|
|
|
1179
1179
|
/**
|
|
1180
1180
|
* ID of the model to use. You can use the
|
|
1181
|
-
* [Get models API](https://developers.telnyx.com/api/
|
|
1181
|
+
* [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
|
|
1182
1182
|
* to see all of your available models,
|
|
1183
1183
|
*/
|
|
1184
1184
|
model: string;
|
|
@@ -1214,7 +1214,7 @@ export interface AssistantCreateParams {
|
|
|
1214
1214
|
/**
|
|
1215
1215
|
* This is only needed when using third-party inference providers. The `identifier`
|
|
1216
1216
|
* for an integration secret
|
|
1217
|
-
* [/v2/integration_secrets](https://developers.telnyx.com/api
|
|
1217
|
+
* [/v2/integration_secrets](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
1218
1218
|
* that refers to your LLM provider's API key. Warning: Free plans are unlikely to
|
|
1219
1219
|
* work with this integration.
|
|
1220
1220
|
*/
|
|
@@ -1361,7 +1361,7 @@ export interface AssistantUpdateParams {
|
|
|
1361
1361
|
/**
|
|
1362
1362
|
* This is only needed when using third-party inference providers. The `identifier`
|
|
1363
1363
|
* for an integration secret
|
|
1364
|
-
* [/v2/integration_secrets](https://developers.telnyx.com/api
|
|
1364
|
+
* [/v2/integration_secrets](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
1365
1365
|
* that refers to your LLM provider's API key. Warning: Free plans are unlikely to
|
|
1366
1366
|
* work with this integration.
|
|
1367
1367
|
*/
|
|
@@ -1371,7 +1371,7 @@ export interface AssistantUpdateParams {
|
|
|
1371
1371
|
|
|
1372
1372
|
/**
|
|
1373
1373
|
* ID of the model to use. You can use the
|
|
1374
|
-
* [Get models API](https://developers.telnyx.com/api/
|
|
1374
|
+
* [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
|
|
1375
1375
|
* to see all of your available models,
|
|
1376
1376
|
*/
|
|
1377
1377
|
model?: string;
|
|
@@ -149,7 +149,7 @@ export interface UpdateAssistant {
|
|
|
149
149
|
/**
|
|
150
150
|
* This is only needed when using third-party inference providers. The `identifier`
|
|
151
151
|
* for an integration secret
|
|
152
|
-
* [/v2/integration_secrets](https://developers.telnyx.com/api
|
|
152
|
+
* [/v2/integration_secrets](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
153
153
|
* that refers to your LLM provider's API key. Warning: Free plans are unlikely to
|
|
154
154
|
* work with this integration.
|
|
155
155
|
*/
|
|
@@ -159,7 +159,7 @@ export interface UpdateAssistant {
|
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
161
|
* ID of the model to use. You can use the
|
|
162
|
-
* [Get models API](https://developers.telnyx.com/api/
|
|
162
|
+
* [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
|
|
163
163
|
* to see all of your available models,
|
|
164
164
|
*/
|
|
165
165
|
model?: string;
|
|
@@ -321,7 +321,7 @@ export interface VersionUpdateParams {
|
|
|
321
321
|
/**
|
|
322
322
|
* Body param: This is only needed when using third-party inference providers. The
|
|
323
323
|
* `identifier` for an integration secret
|
|
324
|
-
* [/v2/integration_secrets](https://developers.telnyx.com/api
|
|
324
|
+
* [/v2/integration_secrets](https://developers.telnyx.com/api-reference/integration-secrets/create-a-secret)
|
|
325
325
|
* that refers to your LLM provider's API key. Warning: Free plans are unlikely to
|
|
326
326
|
* work with this integration.
|
|
327
327
|
*/
|
|
@@ -334,7 +334,7 @@ export interface VersionUpdateParams {
|
|
|
334
334
|
|
|
335
335
|
/**
|
|
336
336
|
* Body param: ID of the model to use. You can use the
|
|
337
|
-
* [Get models API](https://developers.telnyx.com/api/
|
|
337
|
+
* [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
|
|
338
338
|
* to see all of your available models,
|
|
339
339
|
*/
|
|
340
340
|
model?: string;
|
package/src/resources/ai/chat.ts
CHANGED
|
@@ -154,7 +154,7 @@ export interface ChatCreateCompletionParams {
|
|
|
154
154
|
* The `function` tool type follows the same schema as the
|
|
155
155
|
* [OpenAI Chat Completions API](https://platform.openai.com/docs/api-reference/chat).
|
|
156
156
|
* The `retrieval` tool type is unique to Telnyx. You may pass a list of
|
|
157
|
-
* [embedded storage buckets](https://developers.telnyx.com/api/
|
|
157
|
+
* [embedded storage buckets](https://developers.telnyx.com/api-reference/embeddings/embed-documents)
|
|
158
158
|
* for retrieval-augmented generation.
|
|
159
159
|
*/
|
|
160
160
|
tools?: Array<ChatCreateCompletionParams.Function | ChatCreateCompletionParams.Retrieval>;
|
|
@@ -66,7 +66,7 @@ export class Clusters extends APIResource {
|
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
68
|
* Starts a background task to compute how the data in an
|
|
69
|
-
* [embedded storage bucket](https://developers.telnyx.com/api/
|
|
69
|
+
* [embedded storage bucket](https://developers.telnyx.com/api-reference/embeddings/embed-documents)
|
|
70
70
|
* is clustered. This helps identify common themes and patterns in the data.
|
|
71
71
|
*
|
|
72
72
|
* @example
|
|
@@ -128,7 +128,7 @@ export class Embeddings extends APIResource {
|
|
|
128
128
|
* URL and its linked pages into a Telnyx Cloud Storage bucket. As soon as each
|
|
129
129
|
* webpage is added to the bucket, its content is immediately processed for
|
|
130
130
|
* embeddings, that can be used for
|
|
131
|
-
* [similarity search](https://developers.telnyx.com/api/
|
|
131
|
+
* [similarity search](https://developers.telnyx.com/api-reference/embeddings/search-for-documents)
|
|
132
132
|
* and [clustering](https://developers.telnyx.com/docs/inference/clusters).
|
|
133
133
|
*
|
|
134
134
|
* @example
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.4.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.4.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.4.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.4.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|