telnyx 7.19.0 → 7.21.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 +14 -0
- package/README.md +90 -0
- package/client.d.mts +2 -8
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -8
- package/client.d.ts.map +1 -1
- package/client.js +0 -6
- package/client.js.map +1 -1
- package/client.mjs +0 -6
- package/client.mjs.map +1 -1
- package/package.json +3 -5
- package/resources/ai/anthropic/v1.d.mts +16 -0
- package/resources/ai/anthropic/v1.d.mts.map +1 -1
- package/resources/ai/anthropic/v1.d.ts +16 -0
- package/resources/ai/anthropic/v1.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +9 -0
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +9 -0
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/ai/chat.d.mts +16 -0
- package/resources/ai/chat.d.mts.map +1 -1
- package/resources/ai/chat.d.ts +16 -0
- package/resources/ai/chat.d.ts.map +1 -1
- package/resources/ai/openai/chat.d.mts +16 -0
- package/resources/ai/openai/chat.d.mts.map +1 -1
- package/resources/ai/openai/chat.d.ts +16 -0
- package/resources/ai/openai/chat.d.ts.map +1 -1
- package/resources/ai/openai/openai.d.mts +16 -0
- package/resources/ai/openai/openai.d.mts.map +1 -1
- package/resources/ai/openai/openai.d.ts +16 -0
- package/resources/ai/openai/openai.d.ts.map +1 -1
- package/resources/ai/openai/openai.js.map +1 -1
- package/resources/ai/openai/openai.mjs.map +1 -1
- package/resources/calls/actions.d.mts +8 -0
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +8 -0
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/calls.d.mts +8 -0
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +8 -0
- package/resources/calls/calls.d.ts.map +1 -1
- package/resources/calls/calls.js.map +1 -1
- package/resources/calls/calls.mjs.map +1 -1
- package/resources/credential-connections/actions.d.mts +9 -9
- package/resources/credential-connections/actions.d.mts.map +1 -1
- package/resources/credential-connections/actions.d.ts +9 -9
- package/resources/credential-connections/actions.d.ts.map +1 -1
- package/resources/credential-connections/actions.js +3 -3
- package/resources/credential-connections/actions.mjs +3 -3
- package/resources/index.d.mts +1 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +2 -4
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +0 -1
- package/resources/index.mjs.map +1 -1
- package/resources/messaging-profiles/actions.d.mts +1 -1
- package/resources/messaging-profiles/actions.d.mts.map +1 -1
- package/resources/messaging-profiles/actions.d.ts +1 -1
- package/resources/messaging-profiles/actions.d.ts.map +1 -1
- package/resources/messaging-profiles/index.d.mts +1 -1
- package/resources/messaging-profiles/index.d.mts.map +1 -1
- package/resources/messaging-profiles/index.d.ts +1 -1
- package/resources/messaging-profiles/index.d.ts.map +1 -1
- package/resources/messaging-profiles/index.js.map +1 -1
- package/resources/messaging-profiles/index.mjs.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.d.mts +152 -8
- package/resources/messaging-profiles/messaging-profiles.d.mts.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.d.ts +152 -8
- package/resources/messaging-profiles/messaging-profiles.d.ts.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.js +1 -1
- package/resources/messaging-profiles/messaging-profiles.js.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.mjs +1 -1
- package/resources/messaging-profiles/messaging-profiles.mjs.map +1 -1
- package/resources/uac-connections/actions.d.mts +9 -9
- package/resources/uac-connections/actions.d.mts.map +1 -1
- package/resources/uac-connections/actions.d.ts +9 -9
- package/resources/uac-connections/actions.d.ts.map +1 -1
- package/resources/uac-connections/actions.js +3 -3
- package/resources/uac-connections/actions.mjs +3 -3
- package/src/client.ts +4 -18
- package/src/resources/ai/anthropic/v1.ts +18 -0
- package/src/resources/ai/assistants/assistants.ts +10 -0
- package/src/resources/ai/chat.ts +18 -0
- package/src/resources/ai/openai/chat.ts +18 -0
- package/src/resources/ai/openai/openai.ts +18 -0
- package/src/resources/calls/actions.ts +9 -0
- package/src/resources/calls/calls.ts +9 -0
- package/src/resources/credential-connections/actions.ts +9 -9
- package/src/resources/index.ts +2 -6
- package/src/resources/messaging-profiles/actions.ts +1 -1
- package/src/resources/messaging-profiles/index.ts +2 -1
- package/src/resources/messaging-profiles/messaging-profiles.ts +183 -9
- package/src/resources/uac-connections/actions.ts +9 -9
- 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/resources/sip-registration-status.d.mts +0 -142
- package/resources/sip-registration-status.d.mts.map +0 -1
- package/resources/sip-registration-status.d.ts +0 -142
- package/resources/sip-registration-status.d.ts.map +0 -1
- package/resources/sip-registration-status.js +0 -32
- package/resources/sip-registration-status.js.map +0 -1
- package/resources/sip-registration-status.mjs +0 -28
- package/resources/sip-registration-status.mjs.map +0 -1
- package/src/resources/sip-registration-status.ts +0 -181
|
@@ -21,12 +21,12 @@ export declare class MessagingProfiles extends APIResource {
|
|
|
21
21
|
* @example
|
|
22
22
|
* ```ts
|
|
23
23
|
* // Automatically fetches more pages as needed.
|
|
24
|
-
* for await (const
|
|
24
|
+
* for await (const messagingMessagingProfile of client.messagingProfiles.list()) {
|
|
25
25
|
* // ...
|
|
26
26
|
* }
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
|
-
list(query?: MessagingProfileListParams | null | undefined, options?: RequestOptions): PagePromise<
|
|
29
|
+
list(query?: MessagingProfileListParams | null | undefined, options?: RequestOptions): PagePromise<MessagingMessagingProfilesDefaultFlatPagination, MessagingMessagingProfile>;
|
|
30
30
|
/**
|
|
31
31
|
* Creates a messaging profile that controls outbound sender selection, webhook
|
|
32
32
|
* delivery, and inbound message handling for associated numbers and short codes.
|
|
@@ -138,7 +138,138 @@ export declare class MessagingProfiles extends APIResource {
|
|
|
138
138
|
*/
|
|
139
139
|
retrieveMetrics(id: string, query?: MessagingProfileRetrieveMetricsParams | null | undefined, options?: RequestOptions): APIPromise<MessagingProfileRetrieveMetricsResponse>;
|
|
140
140
|
}
|
|
141
|
-
export type
|
|
141
|
+
export type MessagingMessagingProfilesDefaultFlatPagination = DefaultFlatPagination<MessagingMessagingProfile>;
|
|
142
|
+
export interface MessagingMessagingProfile {
|
|
143
|
+
/**
|
|
144
|
+
* Identifies the type of resource.
|
|
145
|
+
*/
|
|
146
|
+
id?: string;
|
|
147
|
+
/**
|
|
148
|
+
* The AI assistant ID associated with this messaging profile.
|
|
149
|
+
*/
|
|
150
|
+
ai_assistant_id?: string | null;
|
|
151
|
+
/**
|
|
152
|
+
* The alphanumeric sender ID to use when sending to destinations that require an
|
|
153
|
+
* alphanumeric sender ID.
|
|
154
|
+
*/
|
|
155
|
+
alpha_sender?: string | null;
|
|
156
|
+
/**
|
|
157
|
+
* ISO 8601 formatted date indicating when the resource was created.
|
|
158
|
+
*/
|
|
159
|
+
created_at?: string;
|
|
160
|
+
/**
|
|
161
|
+
* The maximum amount of money (in USD) that can be spent by this profile before
|
|
162
|
+
* midnight UTC.
|
|
163
|
+
*/
|
|
164
|
+
daily_spend_limit?: string;
|
|
165
|
+
/**
|
|
166
|
+
* Whether to enforce the value configured by `daily_spend_limit`.
|
|
167
|
+
*/
|
|
168
|
+
daily_spend_limit_enabled?: boolean;
|
|
169
|
+
/**
|
|
170
|
+
* Specifies whether the messaging profile is enabled or not.
|
|
171
|
+
*/
|
|
172
|
+
enabled?: boolean;
|
|
173
|
+
/**
|
|
174
|
+
* DEPRECATED: health check url service checking
|
|
175
|
+
*/
|
|
176
|
+
health_webhook_url?: string | null;
|
|
177
|
+
/**
|
|
178
|
+
* enables SMS fallback for MMS messages.
|
|
179
|
+
*/
|
|
180
|
+
mms_fall_back_to_sms?: boolean;
|
|
181
|
+
/**
|
|
182
|
+
* enables automated resizing of MMS media.
|
|
183
|
+
*/
|
|
184
|
+
mms_transcoding?: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* Send messages only to mobile phone numbers.
|
|
187
|
+
*/
|
|
188
|
+
mobile_only?: boolean;
|
|
189
|
+
/**
|
|
190
|
+
* A user friendly name for the messaging profile.
|
|
191
|
+
*/
|
|
192
|
+
name?: string;
|
|
193
|
+
/**
|
|
194
|
+
* Number Pool allows you to send messages from a pool of numbers of different
|
|
195
|
+
* types, assigning weights to each type. The pool consists of all the long code
|
|
196
|
+
* and toll free numbers assigned to the messaging profile.
|
|
197
|
+
*
|
|
198
|
+
* To disable this feature, set the object field to `null`.
|
|
199
|
+
*/
|
|
200
|
+
number_pool_settings?: NumberPoolSettings | null;
|
|
201
|
+
/**
|
|
202
|
+
* The organization that owns this messaging profile.
|
|
203
|
+
*/
|
|
204
|
+
organization_id?: string;
|
|
205
|
+
/**
|
|
206
|
+
* Identifies the type of the resource.
|
|
207
|
+
*/
|
|
208
|
+
record_type?: 'messaging_profile';
|
|
209
|
+
/**
|
|
210
|
+
* Indicates whether message content redaction is enabled for this profile. When
|
|
211
|
+
* enabled, message text, MMS media, and the counterparty phone number are redacted
|
|
212
|
+
* in message records and reporting. Requires organization activation — contact
|
|
213
|
+
* support to enable. The field is only present in responses for organizations with
|
|
214
|
+
* redaction access.
|
|
215
|
+
*/
|
|
216
|
+
redaction_enabled?: boolean;
|
|
217
|
+
/**
|
|
218
|
+
* Determines how much information is redacted for privacy or compliance purposes.
|
|
219
|
+
* Level 1: message records and reporting are redacted, but inbound webhook
|
|
220
|
+
* payloads are not. Level 2 (default): message records, reporting, and inbound
|
|
221
|
+
* webhook payloads are all redacted.
|
|
222
|
+
*/
|
|
223
|
+
redaction_level?: number;
|
|
224
|
+
/**
|
|
225
|
+
* The resource group ID associated with this messaging profile.
|
|
226
|
+
*/
|
|
227
|
+
resource_group_id?: string | null;
|
|
228
|
+
/**
|
|
229
|
+
* Enables automatic character encoding optimization for SMS messages. When
|
|
230
|
+
* enabled, the system automatically selects the most efficient encoding (GSM-7 or
|
|
231
|
+
* UCS-2) based on message content to maximize character limits and minimize costs.
|
|
232
|
+
*/
|
|
233
|
+
smart_encoding?: boolean;
|
|
234
|
+
/**
|
|
235
|
+
* ISO 8601 formatted date indicating when the resource was updated.
|
|
236
|
+
*/
|
|
237
|
+
updated_at?: string;
|
|
238
|
+
/**
|
|
239
|
+
* The URL shortener feature allows automatic replacement of URLs that were
|
|
240
|
+
* generated using a public URL shortener service. Some examples include bit.do,
|
|
241
|
+
* bit.ly, goo.gl, ht.ly, is.gd, ow.ly, rebrand.ly, t.co, tiny.cc, and tinyurl.com.
|
|
242
|
+
* Such URLs are replaced with with links generated by Telnyx. The use of custom
|
|
243
|
+
* links can improve branding and message deliverability.
|
|
244
|
+
*
|
|
245
|
+
* To disable this feature, set the object field to `null`.
|
|
246
|
+
*/
|
|
247
|
+
url_shortener_settings?: URLShortenerSettings | null;
|
|
248
|
+
/**
|
|
249
|
+
* Secret used to authenticate with v1 endpoints.
|
|
250
|
+
*/
|
|
251
|
+
v1_secret?: string;
|
|
252
|
+
/**
|
|
253
|
+
* Determines which webhook format will be used, Telnyx API v1, v2, or a legacy
|
|
254
|
+
* 2010-04-01 format.
|
|
255
|
+
*/
|
|
256
|
+
webhook_api_version?: '1' | '2' | '2010-04-01';
|
|
257
|
+
/**
|
|
258
|
+
* The failover URL where webhooks related to this messaging profile will be sent
|
|
259
|
+
* if sending to the primary URL fails.
|
|
260
|
+
*/
|
|
261
|
+
webhook_failover_url?: string | null;
|
|
262
|
+
/**
|
|
263
|
+
* The URL where webhooks related to this messaging profile will be sent.
|
|
264
|
+
*/
|
|
265
|
+
webhook_url?: string | null;
|
|
266
|
+
/**
|
|
267
|
+
* Destinations to which the messaging profile is allowed to send. The elements in
|
|
268
|
+
* the list must be valid ISO 3166-1 alpha-2 country codes. If set to `["*"]`, all
|
|
269
|
+
* destinations will be allowed.
|
|
270
|
+
*/
|
|
271
|
+
whitelisted_destinations?: Array<string>;
|
|
272
|
+
}
|
|
142
273
|
export interface MessagingProfile {
|
|
143
274
|
/**
|
|
144
275
|
* Identifies the type of resource.
|
|
@@ -341,16 +472,16 @@ export interface URLShortenerSettings {
|
|
|
341
472
|
send_webhooks?: boolean;
|
|
342
473
|
}
|
|
343
474
|
export interface MessagingProfileCreateResponse {
|
|
344
|
-
data?:
|
|
475
|
+
data?: MessagingMessagingProfile;
|
|
345
476
|
}
|
|
346
477
|
export interface MessagingProfileRetrieveResponse {
|
|
347
|
-
data?:
|
|
478
|
+
data?: MessagingMessagingProfile;
|
|
348
479
|
}
|
|
349
480
|
export interface MessagingProfileUpdateResponse {
|
|
350
|
-
data?:
|
|
481
|
+
data?: MessagingMessagingProfile;
|
|
351
482
|
}
|
|
352
483
|
export interface MessagingProfileDeleteResponse {
|
|
353
|
-
data?:
|
|
484
|
+
data?: MessagingMessagingProfile;
|
|
354
485
|
}
|
|
355
486
|
export interface MessagingProfileRetrieveMetricsResponse {
|
|
356
487
|
/**
|
|
@@ -524,6 +655,19 @@ export interface MessagingProfileUpdateParams {
|
|
|
524
655
|
* To disable this feature, set the object field to `null`.
|
|
525
656
|
*/
|
|
526
657
|
number_pool_settings?: NumberPoolSettings | null;
|
|
658
|
+
/**
|
|
659
|
+
* Set to true to enable message content redaction on this profile, or false to
|
|
660
|
+
* disable it. Ignored if the organization is not on the redaction allowlist. See
|
|
661
|
+
* the [Message Redaction guide](/docs/messaging/messages/message-redaction) for
|
|
662
|
+
* what is redacted.
|
|
663
|
+
*/
|
|
664
|
+
redaction_enabled?: boolean;
|
|
665
|
+
/**
|
|
666
|
+
* The redaction level to apply when redaction is enabled. 1: redact message
|
|
667
|
+
* records and reporting only. 2 (default): also redact inbound webhook payloads.
|
|
668
|
+
* See the [Message Redaction guide](/docs/messaging/messages/message-redaction).
|
|
669
|
+
*/
|
|
670
|
+
redaction_level?: number;
|
|
527
671
|
/**
|
|
528
672
|
* Enables automatic character encoding optimization for SMS messages. When
|
|
529
673
|
* enabled, the system automatically selects the most efficient encoding (GSM-7 or
|
|
@@ -580,7 +724,7 @@ export interface MessagingProfileRetrieveMetricsParams {
|
|
|
580
724
|
time_frame?: MessagingProfileMetricsAPI.MessagingMetricsTimeFrame;
|
|
581
725
|
}
|
|
582
726
|
export declare namespace MessagingProfiles {
|
|
583
|
-
export { type MessagingProfile as MessagingProfile, type NumberPoolSettings as NumberPoolSettings, type URLShortenerSettings as URLShortenerSettings, type MessagingProfileCreateResponse as MessagingProfileCreateResponse, type MessagingProfileRetrieveResponse as MessagingProfileRetrieveResponse, type MessagingProfileUpdateResponse as MessagingProfileUpdateResponse, type MessagingProfileDeleteResponse as MessagingProfileDeleteResponse, type MessagingProfileRetrieveMetricsResponse as MessagingProfileRetrieveMetricsResponse, type
|
|
727
|
+
export { type MessagingMessagingProfile as MessagingMessagingProfile, type MessagingProfile as MessagingProfile, type NumberPoolSettings as NumberPoolSettings, type URLShortenerSettings as URLShortenerSettings, type MessagingProfileCreateResponse as MessagingProfileCreateResponse, type MessagingProfileRetrieveResponse as MessagingProfileRetrieveResponse, type MessagingProfileUpdateResponse as MessagingProfileUpdateResponse, type MessagingProfileDeleteResponse as MessagingProfileDeleteResponse, type MessagingProfileRetrieveMetricsResponse as MessagingProfileRetrieveMetricsResponse, type MessagingMessagingProfilesDefaultFlatPagination as MessagingMessagingProfilesDefaultFlatPagination, type MessagingProfileListParams as MessagingProfileListParams, type MessagingProfileCreateParams as MessagingProfileCreateParams, type MessagingProfileUpdateParams as MessagingProfileUpdateParams, type MessagingProfileListPhoneNumbersParams as MessagingProfileListPhoneNumbersParams, type MessagingProfileListShortCodesParams as MessagingProfileListShortCodesParams, type MessagingProfileListAlphanumericSenderIDsParams as MessagingProfileListAlphanumericSenderIDsParams, type MessagingProfileRetrieveMetricsParams as MessagingProfileRetrieveMetricsParams, };
|
|
584
728
|
export { AutorespConfigs as AutorespConfigs, type AutoRespConfig as AutoRespConfig, type AutoRespConfigCreate as AutoRespConfigCreate, type AutoRespConfigResponse as AutoRespConfigResponse, type AutorespConfigListResponse as AutorespConfigListResponse, type AutorespConfigDeleteResponse as AutorespConfigDeleteResponse, type AutorespConfigListParams as AutorespConfigListParams, type AutorespConfigCreateParams as AutorespConfigCreateParams, type AutorespConfigDeleteParams as AutorespConfigDeleteParams, type AutorespConfigRetrieveParams as AutorespConfigRetrieveParams, type AutorespConfigUpdateParams as AutorespConfigUpdateParams, };
|
|
585
729
|
export { Actions as Actions, type ActionRegenerateSecretResponse as ActionRegenerateSecretResponse };
|
|
586
730
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messaging-profiles.d.ts","sourceRoot":"","sources":["../../src/resources/messaging-profiles/messaging-profiles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,wBAAwB,sCAAmC;AACvE,OAAO,EAAE,0CAA0C,EAAE,sCAAmC;AACxF,OAAO,KAAK,0BAA0B,wCAAqC;AAC3E,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,EACL,qDAAqD,EACrD,+BAA+B,EAChC,qBAAkB;AACnB,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,EAAE,8BAA8B,EAAE,OAAO,EAAE,qBAAkB;AACpE,OAAO,KAAK,kBAAkB,8BAA2B;AACzD,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,sBAAsB,EACtB,0BAA0B,EAC1B,0BAA0B,EAC1B,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,4BAA4B,EAC5B,0BAA0B,EAC1B,eAAe,EAChB,8BAA2B;AAC5B,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,iCAA8B;AAC7G,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,iBAAkB,SAAQ,WAAW;IAChD,eAAe,EAAE,kBAAkB,CAAC,eAAe,CAAwD;IAC3G,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;;;;OAWG;IACH,IAAI,CACF,KAAK,GAAE,0BAA0B,GAAG,IAAI,GAAG,SAAc,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"messaging-profiles.d.ts","sourceRoot":"","sources":["../../src/resources/messaging-profiles/messaging-profiles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,wBAAwB,sCAAmC;AACvE,OAAO,EAAE,0CAA0C,EAAE,sCAAmC;AACxF,OAAO,KAAK,0BAA0B,wCAAqC;AAC3E,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,EACL,qDAAqD,EACrD,+BAA+B,EAChC,qBAAkB;AACnB,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,EAAE,8BAA8B,EAAE,OAAO,EAAE,qBAAkB;AACpE,OAAO,KAAK,kBAAkB,8BAA2B;AACzD,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,sBAAsB,EACtB,0BAA0B,EAC1B,0BAA0B,EAC1B,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,4BAA4B,EAC5B,0BAA0B,EAC1B,eAAe,EAChB,8BAA2B;AAC5B,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,iCAA8B;AAC7G,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,iBAAkB,SAAQ,WAAW;IAChD,eAAe,EAAE,kBAAkB,CAAC,eAAe,CAAwD;IAC3G,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;;;;OAWG;IAC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I,8BAA8B,EACrE,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,+CAA+C,IAAI,+CAA+C,EACvG,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,+CAA+C,IAAI,+CAA+C,EACvG,KAAK,qCAAqC,IAAI,qCAAqC,GACpF,CAAC;IAEF,OAAO,EACL,eAAe,IAAI,eAAe,EAClC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;IAEF,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,KAAK,8BAA8B,IAAI,8BAA8B,EAAE,CAAC;CACtG;AAED,OAAO,EACL,KAAK,qDAAqD,EAC1D,KAAK,+BAA+B,EACpC,KAAK,0CAA0C,GAChD,CAAC"}
|
|
@@ -23,7 +23,7 @@ class MessagingProfiles extends resource_1.APIResource {
|
|
|
23
23
|
* @example
|
|
24
24
|
* ```ts
|
|
25
25
|
* // Automatically fetches more pages as needed.
|
|
26
|
-
* for await (const
|
|
26
|
+
* for await (const messagingMessagingProfile of client.messagingProfiles.list()) {
|
|
27
27
|
* // ...
|
|
28
28
|
* }
|
|
29
29
|
* ```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messaging-profiles.js","sourceRoot":"","sources":["../../src/resources/messaging-profiles/messaging-profiles.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AASlD,iEAAwC;AACxC,0CAAoE;AACpE,kFAAyD;AACzD,4DAY4B;AAE5B,yDAA6G;AAE7G,uDAAiD;AAEjD,MAAa,iBAAkB,SAAQ,sBAAW;IAAlD;;QACE,oBAAe,GAAuC,IAAI,kBAAkB,CAAC,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3G,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAsMrE,CAAC;IApMC;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,qBAAqB,EAAE,CAAA,
|
|
1
|
+
{"version":3,"file":"messaging-profiles.js","sourceRoot":"","sources":["../../src/resources/messaging-profiles/messaging-profiles.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AASlD,iEAAwC;AACxC,0CAAoE;AACpE,kFAAyD;AACzD,4DAY4B;AAE5B,yDAA6G;AAE7G,uDAAiD;AAEjD,MAAa,iBAAkB,SAAQ,sBAAW;IAAlD;;QACE,oBAAe,GAAuC,IAAI,kBAAkB,CAAC,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3G,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAsMrE,CAAC;IApMC;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,qBAAqB,EAAE,CAAA,kCAAgD,CAAA,EAAE;YACtG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAAkC,EAClC,OAAwB;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G,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,yBAAyB,CACvB,EAAU,EACV,QAA4E,EAAE,EAC9E,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAA,WAAI,EAAA,uBAAuB,EAAE,0BAA0B,EACvD,CAAA,kCAAoE,CAAA,EACpE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;OAWG;IACH,eAAe,CACb,EAAU,EACV,QAAkE,EAAE,EACpE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,uBAAuB,EAAE,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;CACF;AAxMD,8CAwMC;AAurBD,iBAAiB,CAAC,eAAe,GAAG,kCAAe,CAAC;AACpD,iBAAiB,CAAC,OAAO,GAAG,iBAAO,CAAC"}
|
|
@@ -19,7 +19,7 @@ export class MessagingProfiles extends APIResource {
|
|
|
19
19
|
* @example
|
|
20
20
|
* ```ts
|
|
21
21
|
* // Automatically fetches more pages as needed.
|
|
22
|
-
* for await (const
|
|
22
|
+
* for await (const messagingMessagingProfile of client.messagingProfiles.list()) {
|
|
23
23
|
* // ...
|
|
24
24
|
* }
|
|
25
25
|
* ```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messaging-profiles.mjs","sourceRoot":"","sources":["../../src/resources/messaging-profiles/messaging-profiles.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AASlD,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EAAkC,OAAO,EAAE,sBAAkB;AACpE,OAAO,KAAK,kBAAkB,+BAA2B;AACzD,OAAO,EAWL,eAAe,GAChB,+BAA2B;AAE5B,OAAO,EAAE,qBAAqB,EAAiD,kCAA8B;AAE7G,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,iBAAkB,SAAQ,WAAW;IAAlD;;QACE,oBAAe,GAAuC,IAAI,kBAAkB,CAAC,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3G,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAsMrE,CAAC;IApMC;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,qBAAqB,EAAE,CAAA,
|
|
1
|
+
{"version":3,"file":"messaging-profiles.mjs","sourceRoot":"","sources":["../../src/resources/messaging-profiles/messaging-profiles.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AASlD,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EAAkC,OAAO,EAAE,sBAAkB;AACpE,OAAO,KAAK,kBAAkB,+BAA2B;AACzD,OAAO,EAWL,eAAe,GAChB,+BAA2B;AAE5B,OAAO,EAAE,qBAAqB,EAAiD,kCAA8B;AAE7G,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,iBAAkB,SAAQ,WAAW;IAAlD;;QACE,oBAAe,GAAuC,IAAI,kBAAkB,CAAC,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3G,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAsMrE,CAAC;IApMC;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,qBAAqB,EAAE,CAAA,qBAAgD,CAAA,EAAE;YACtG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL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AuC,CAAA,EACvC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,yBAAyB,CACvB,EAAU,EACV,QAA4E,EAAE,EAC9E,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAI,CAAA,uBAAuB,EAAE,0BAA0B,EACvD,CAAA,qBAAoE,CAAA,EACpE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;OAWG;IACH,eAAe,CACb,EAAU,EACV,QAAkE,EAAE,EACpE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,uBAAuB,EAAE,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;CACF;AAurBD,iBAAiB,CAAC,eAAe,GAAG,eAAe,CAAC;AACpD,iBAAiB,CAAC,OAAO,GAAG,OAAO,CAAC"}
|
|
@@ -6,9 +6,9 @@ import { RequestOptions } from "../../internal/request-options.mjs";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class Actions extends APIResource {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* (`
|
|
9
|
+
* Returns the live SIP registration status for a UAC connection. Reports whether
|
|
10
|
+
* the endpoint is currently registered (`status`) and the timestamp of the last
|
|
11
|
+
* SIP registration event (`last_registration`).
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* ```ts
|
|
@@ -28,15 +28,15 @@ export declare namespace ActionCheckRegistrationStatusResponse {
|
|
|
28
28
|
/**
|
|
29
29
|
* The ip used during the SIP connection
|
|
30
30
|
*/
|
|
31
|
-
ip_address?: string;
|
|
31
|
+
ip_address?: string | null;
|
|
32
32
|
/**
|
|
33
33
|
* ISO 8601 formatted date indicating when the resource was last updated.
|
|
34
34
|
*/
|
|
35
|
-
last_registration?: string;
|
|
35
|
+
last_registration?: string | null;
|
|
36
36
|
/**
|
|
37
37
|
* The port of the SIP connection
|
|
38
38
|
*/
|
|
39
|
-
port?: number;
|
|
39
|
+
port?: number | null;
|
|
40
40
|
/**
|
|
41
41
|
* Identifies the type of the resource.
|
|
42
42
|
*/
|
|
@@ -44,7 +44,7 @@ export declare namespace ActionCheckRegistrationStatusResponse {
|
|
|
44
44
|
/**
|
|
45
45
|
* The user name of the SIP connection
|
|
46
46
|
*/
|
|
47
|
-
sip_username?: string;
|
|
47
|
+
sip_username?: string | null;
|
|
48
48
|
/**
|
|
49
49
|
* The current registration status of your SIP connection
|
|
50
50
|
*/
|
|
@@ -52,11 +52,11 @@ export declare namespace ActionCheckRegistrationStatusResponse {
|
|
|
52
52
|
/**
|
|
53
53
|
* The protocol of the SIP connection
|
|
54
54
|
*/
|
|
55
|
-
transport?: string;
|
|
55
|
+
transport?: string | null;
|
|
56
56
|
/**
|
|
57
57
|
* The user agent of the SIP connection
|
|
58
58
|
*/
|
|
59
|
-
user_agent?: string;
|
|
59
|
+
user_agent?: string | null;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
export declare namespace Actions {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../src/resources/uac-connections/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;OAYG;IACH,uBAAuB,CACrB,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qCAAqC,CAAC;CAGrD;AAED,MAAM,WAAW,qCAAqC;IACpD,IAAI,CAAC,EAAE,qCAAqC,CAAC,IAAI,CAAC;CACnD;AAED,yB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AE,CAAC;CAChG"}
|
|
@@ -6,9 +6,9 @@ import { RequestOptions } from "../../internal/request-options.js";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class Actions extends APIResource {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* (`
|
|
9
|
+
* Returns the live SIP registration status for a UAC connection. Reports whether
|
|
10
|
+
* the endpoint is currently registered (`status`) and the timestamp of the last
|
|
11
|
+
* SIP registration event (`last_registration`).
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* ```ts
|
|
@@ -28,15 +28,15 @@ export declare namespace ActionCheckRegistrationStatusResponse {
|
|
|
28
28
|
/**
|
|
29
29
|
* The ip used during the SIP connection
|
|
30
30
|
*/
|
|
31
|
-
ip_address?: string;
|
|
31
|
+
ip_address?: string | null;
|
|
32
32
|
/**
|
|
33
33
|
* ISO 8601 formatted date indicating when the resource was last updated.
|
|
34
34
|
*/
|
|
35
|
-
last_registration?: string;
|
|
35
|
+
last_registration?: string | null;
|
|
36
36
|
/**
|
|
37
37
|
* The port of the SIP connection
|
|
38
38
|
*/
|
|
39
|
-
port?: number;
|
|
39
|
+
port?: number | null;
|
|
40
40
|
/**
|
|
41
41
|
* Identifies the type of the resource.
|
|
42
42
|
*/
|
|
@@ -44,7 +44,7 @@ export declare namespace ActionCheckRegistrationStatusResponse {
|
|
|
44
44
|
/**
|
|
45
45
|
* The user name of the SIP connection
|
|
46
46
|
*/
|
|
47
|
-
sip_username?: string;
|
|
47
|
+
sip_username?: string | null;
|
|
48
48
|
/**
|
|
49
49
|
* The current registration status of your SIP connection
|
|
50
50
|
*/
|
|
@@ -52,11 +52,11 @@ export declare namespace ActionCheckRegistrationStatusResponse {
|
|
|
52
52
|
/**
|
|
53
53
|
* The protocol of the SIP connection
|
|
54
54
|
*/
|
|
55
|
-
transport?: string;
|
|
55
|
+
transport?: string | null;
|
|
56
56
|
/**
|
|
57
57
|
* The user agent of the SIP connection
|
|
58
58
|
*/
|
|
59
|
-
user_agent?: string;
|
|
59
|
+
user_agent?: string | null;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
export declare namespace Actions {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/resources/uac-connections/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;OAYG;IACH,uBAAuB,CACrB,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qCAAqC,CAAC;CAGrD;AAED,MAAM,WAAW,qCAAqC;IACpD,IAAI,CAAC,EAAE,qCAAqC,CAAC,IAAI,CAAC;CACnD;AAED,yBAAiB,qCAAqC,CAAC;IACrD,UAAiB,IAAI;QACnB;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/resources/uac-connections/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;OAYG;IACH,uBAAuB,CACrB,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qCAAqC,CAAC;CAGrD;AAED,MAAM,WAAW,qCAAqC;IACpD,IAAI,CAAC,EAAE,qCAAqC,CAAC,IAAI,CAAC;CACnD;AAED,yBAAiB,qCAAqC,CAAC;IACrD,UAAiB,IAAI;QACnB;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAE3B;;WAEG;QACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAElC;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAErB;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAE7B;;WAEG;QACH,MAAM,CAAC,EAAE,gBAAgB,GAAG,gBAAgB,GAAG,QAAQ,GAAG,SAAS,GAAG,YAAY,GAAG,cAAc,CAAC;QAEpG;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAE1B;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC5B;CACF;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,qCAAqC,IAAI,qCAAqC,EAAE,CAAC;CAChG"}
|
|
@@ -9,9 +9,9 @@ const path_1 = require("../../internal/utils/path.js");
|
|
|
9
9
|
*/
|
|
10
10
|
class Actions extends resource_1.APIResource {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* (`
|
|
12
|
+
* Returns the live SIP registration status for a UAC connection. Reports whether
|
|
13
|
+
* the endpoint is currently registered (`status`) and the timestamp of the last
|
|
14
|
+
* SIP registration event (`last_registration`).
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```ts
|
|
@@ -6,9 +6,9 @@ import { path } from "../../internal/utils/path.mjs";
|
|
|
6
6
|
*/
|
|
7
7
|
export class Actions extends APIResource {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* (`
|
|
9
|
+
* Returns the live SIP registration status for a UAC connection. Reports whether
|
|
10
|
+
* the endpoint is currently registered (`status`) and the timestamp of the last
|
|
11
|
+
* SIP registration event (`last_registration`).
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* ```ts
|
package/src/client.ts
CHANGED
|
@@ -849,11 +849,6 @@ import {
|
|
|
849
849
|
SimCardOrders,
|
|
850
850
|
SimCardOrdersDefaultFlatPagination,
|
|
851
851
|
} from './resources/sim-card-orders';
|
|
852
|
-
import {
|
|
853
|
-
SipRegistrationStatus,
|
|
854
|
-
SipRegistrationStatusRetrieveParams,
|
|
855
|
-
SipRegistrationStatusRetrieveResponse,
|
|
856
|
-
} from './resources/sip-registration-status';
|
|
857
852
|
import {
|
|
858
853
|
SiprecConnectorCreateParams,
|
|
859
854
|
SiprecConnectorResponse,
|
|
@@ -1510,6 +1505,8 @@ import {
|
|
|
1510
1505
|
MessagingHostedNumberOrders,
|
|
1511
1506
|
} from './resources/messaging-hosted-number-orders/messaging-hosted-number-orders';
|
|
1512
1507
|
import {
|
|
1508
|
+
MessagingMessagingProfile,
|
|
1509
|
+
MessagingMessagingProfilesDefaultFlatPagination,
|
|
1513
1510
|
MessagingProfile,
|
|
1514
1511
|
MessagingProfileCreateParams,
|
|
1515
1512
|
MessagingProfileCreateResponse,
|
|
@@ -1524,7 +1521,6 @@ import {
|
|
|
1524
1521
|
MessagingProfileUpdateParams,
|
|
1525
1522
|
MessagingProfileUpdateResponse,
|
|
1526
1523
|
MessagingProfiles,
|
|
1527
|
-
MessagingProfilesDefaultFlatPagination,
|
|
1528
1524
|
NumberPoolSettings,
|
|
1529
1525
|
URLShortenerSettings,
|
|
1530
1526
|
} from './resources/messaging-profiles/messaging-profiles';
|
|
@@ -3199,10 +3195,6 @@ export class Telnyx {
|
|
|
3199
3195
|
* Retrieve raw Voice SDK call report stats payloads for WebRTC call troubleshooting.
|
|
3200
3196
|
*/
|
|
3201
3197
|
voiceSDKCallReports: API.VoiceSDKCallReports = new API.VoiceSDKCallReports(this);
|
|
3202
|
-
/**
|
|
3203
|
-
* UAC connection operations
|
|
3204
|
-
*/
|
|
3205
|
-
sipRegistrationStatus: API.SipRegistrationStatus = new API.SipRegistrationStatus(this);
|
|
3206
3198
|
/**
|
|
3207
3199
|
* Static reference values the API accepts: call reasons, document types, rejection types.
|
|
3208
3200
|
*/
|
|
@@ -3417,7 +3409,6 @@ Telnyx.TermsOfService = TermsOfService;
|
|
|
3417
3409
|
Telnyx.PronunciationDicts = PronunciationDicts;
|
|
3418
3410
|
Telnyx.UacConnections = UacConnections;
|
|
3419
3411
|
Telnyx.VoiceSDKCallReports = VoiceSDKCallReports;
|
|
3420
|
-
Telnyx.SipRegistrationStatus = SipRegistrationStatus;
|
|
3421
3412
|
Telnyx.CallReasons = CallReasons;
|
|
3422
3413
|
Telnyx.DirResource = DirResource;
|
|
3423
3414
|
Telnyx.InfringementClaims = InfringementClaims;
|
|
@@ -4338,6 +4329,7 @@ export declare namespace Telnyx {
|
|
|
4338
4329
|
|
|
4339
4330
|
export {
|
|
4340
4331
|
MessagingProfiles as MessagingProfiles,
|
|
4332
|
+
type MessagingMessagingProfile as MessagingMessagingProfile,
|
|
4341
4333
|
type MessagingProfile as MessagingProfile,
|
|
4342
4334
|
type NumberPoolSettings as NumberPoolSettings,
|
|
4343
4335
|
type URLShortenerSettings as URLShortenerSettings,
|
|
@@ -4346,7 +4338,7 @@ export declare namespace Telnyx {
|
|
|
4346
4338
|
type MessagingProfileUpdateResponse as MessagingProfileUpdateResponse,
|
|
4347
4339
|
type MessagingProfileDeleteResponse as MessagingProfileDeleteResponse,
|
|
4348
4340
|
type MessagingProfileRetrieveMetricsResponse as MessagingProfileRetrieveMetricsResponse,
|
|
4349
|
-
type
|
|
4341
|
+
type MessagingMessagingProfilesDefaultFlatPagination as MessagingMessagingProfilesDefaultFlatPagination,
|
|
4350
4342
|
type MessagingProfileListParams as MessagingProfileListParams,
|
|
4351
4343
|
type MessagingProfileCreateParams as MessagingProfileCreateParams,
|
|
4352
4344
|
type MessagingProfileUpdateParams as MessagingProfileUpdateParams,
|
|
@@ -5285,12 +5277,6 @@ export declare namespace Telnyx {
|
|
|
5285
5277
|
type VoiceSDKCallReportListParams as VoiceSDKCallReportListParams,
|
|
5286
5278
|
};
|
|
5287
5279
|
|
|
5288
|
-
export {
|
|
5289
|
-
SipRegistrationStatus as SipRegistrationStatus,
|
|
5290
|
-
type SipRegistrationStatusRetrieveResponse as SipRegistrationStatusRetrieveResponse,
|
|
5291
|
-
type SipRegistrationStatusRetrieveParams as SipRegistrationStatusRetrieveParams,
|
|
5292
|
-
};
|
|
5293
|
-
|
|
5294
5280
|
export {
|
|
5295
5281
|
CallReasons as CallReasons,
|
|
5296
5282
|
type BrandedCallingPaginationMeta as BrandedCallingPaginationMeta,
|
|
@@ -92,6 +92,24 @@ export interface V1MessagesParams {
|
|
|
92
92
|
*/
|
|
93
93
|
metadata?: { [key: string]: unknown };
|
|
94
94
|
|
|
95
|
+
/**
|
|
96
|
+
* How strictly `region` is applied. `preferred` (the default when `region` is set)
|
|
97
|
+
* tries that region first and falls back to another when the model cannot be
|
|
98
|
+
* served there, so a request that would have succeeded still succeeds. `strict`
|
|
99
|
+
* pins the request: it is served from that region or it fails with a 422, never
|
|
100
|
+
* redirected to another region. Requires `region`.
|
|
101
|
+
*/
|
|
102
|
+
mode?: 'preferred' | 'strict';
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Optional data-residency region the request should be served from, using the same
|
|
106
|
+
* vocabulary as your account's Data Locality setting. Behavior depends on `mode`.
|
|
107
|
+
* Supported for Telnyx-hosted models only: a request routed to an external
|
|
108
|
+
* provider never passes through Telnyx model routing, so a region cannot be
|
|
109
|
+
* enforced for it. Omit for today's latency-based routing.
|
|
110
|
+
*/
|
|
111
|
+
region?: 'USA' | 'EU' | 'AUS' | 'UAE';
|
|
112
|
+
|
|
95
113
|
/**
|
|
96
114
|
* The service tier to use for this request. Supported values vary by model; use
|
|
97
115
|
* the Telnyx models endpoint and inspect the model's `service_tiers` field. If
|
|
@@ -559,6 +559,16 @@ export namespace AssistantTool {
|
|
|
559
559
|
*/
|
|
560
560
|
description?: string;
|
|
561
561
|
|
|
562
|
+
/**
|
|
563
|
+
* The number the inbound call was received on, forwarded so an unverified
|
|
564
|
+
* non-Telnyx `from` can be used as the caller id -- typically to transfer out as
|
|
565
|
+
* the original caller by pairing `from: "{{telnyx_end_user_target}}"` with
|
|
566
|
+
* `diversion: "{{telnyx_agent_target}}"`. The caller id is only accepted while
|
|
567
|
+
* that number is still on an active inbound call to this `diversion` number, and
|
|
568
|
+
* the `diversion` number must be one you own or have verified.
|
|
569
|
+
*/
|
|
570
|
+
diversion?: string;
|
|
571
|
+
|
|
562
572
|
/**
|
|
563
573
|
* Configuration for voicemail detection (AMD - Answering Machine Detection) on the
|
|
564
574
|
* transferred call. Allows the assistant to detect when a voicemail system answers
|
package/src/resources/ai/chat.ts
CHANGED
|
@@ -98,6 +98,15 @@ export interface ChatCompletionRequest {
|
|
|
98
98
|
*/
|
|
99
99
|
min_p?: number;
|
|
100
100
|
|
|
101
|
+
/**
|
|
102
|
+
* How strictly `region` is applied. `preferred` (the default when `region` is set)
|
|
103
|
+
* tries that region first and falls back to another when the model cannot be
|
|
104
|
+
* served there, so a request that would have succeeded still succeeds. `strict`
|
|
105
|
+
* pins the request: it is served from that region or it fails with a 422, never
|
|
106
|
+
* redirected to another region. Requires `region`.
|
|
107
|
+
*/
|
|
108
|
+
mode?: 'preferred' | 'strict';
|
|
109
|
+
|
|
101
110
|
/**
|
|
102
111
|
* The language model to chat with.
|
|
103
112
|
*/
|
|
@@ -122,6 +131,15 @@ export interface ChatCompletionRequest {
|
|
|
122
131
|
*/
|
|
123
132
|
reasoning_effort?: 'none' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh' | 'max';
|
|
124
133
|
|
|
134
|
+
/**
|
|
135
|
+
* Optional data-residency region the request should be served from, using the same
|
|
136
|
+
* vocabulary as your account's Data Locality setting. Behavior depends on `mode`.
|
|
137
|
+
* Supported for Telnyx-hosted models only: a request routed to an external
|
|
138
|
+
* provider never passes through Telnyx model routing, so a region cannot be
|
|
139
|
+
* enforced for it. Omit for today's latency-based routing.
|
|
140
|
+
*/
|
|
141
|
+
region?: 'USA' | 'EU' | 'AUS' | 'UAE';
|
|
142
|
+
|
|
125
143
|
/**
|
|
126
144
|
* Use this is you want to guarantee a JSON output without defining a schema. For
|
|
127
145
|
* control over the schema, use `guided_json`.
|
|
@@ -115,6 +115,15 @@ export interface ChatCreateCompletionParams {
|
|
|
115
115
|
*/
|
|
116
116
|
min_p?: number;
|
|
117
117
|
|
|
118
|
+
/**
|
|
119
|
+
* How strictly `region` is applied. `preferred` (the default when `region` is set)
|
|
120
|
+
* tries that region first and falls back to another when the model cannot be
|
|
121
|
+
* served there, so a request that would have succeeded still succeeds. `strict`
|
|
122
|
+
* pins the request: it is served from that region or it fails with a 422, never
|
|
123
|
+
* redirected to another region. Requires `region`.
|
|
124
|
+
*/
|
|
125
|
+
mode?: 'preferred' | 'strict';
|
|
126
|
+
|
|
118
127
|
/**
|
|
119
128
|
* The language model to chat with.
|
|
120
129
|
*/
|
|
@@ -139,6 +148,15 @@ export interface ChatCreateCompletionParams {
|
|
|
139
148
|
*/
|
|
140
149
|
reasoning_effort?: 'none' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh' | 'max';
|
|
141
150
|
|
|
151
|
+
/**
|
|
152
|
+
* Optional data-residency region the request should be served from, using the same
|
|
153
|
+
* vocabulary as your account's Data Locality setting. Behavior depends on `mode`.
|
|
154
|
+
* Supported for Telnyx-hosted models only: a request routed to an external
|
|
155
|
+
* provider never passes through Telnyx model routing, so a region cannot be
|
|
156
|
+
* enforced for it. Omit for today's latency-based routing.
|
|
157
|
+
*/
|
|
158
|
+
region?: 'USA' | 'EU' | 'AUS' | 'UAE';
|
|
159
|
+
|
|
142
160
|
/**
|
|
143
161
|
* Use this is you want to guarantee a JSON output without defining a schema. For
|
|
144
162
|
* control over the schema, use `guided_json`.
|