telnyx 7.20.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 +7 -0
- package/client.d.mts +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- 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/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/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -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/src/client.ts +4 -2
- package/src/resources/ai/anthropic/v1.ts +18 -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/index.ts +2 -1
- 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/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
|
@@ -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.mts","sourceRoot":"","sources":["../../src/resources/messaging-profiles/messaging-profiles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,wBAAwB,uCAAmC;AACvE,OAAO,EAAE,0CAA0C,EAAE,uCAAmC;AACxF,OAAO,KAAK,0BAA0B,yCAAqC;AAC3E,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,EACL,qDAAqD,EACrD,+BAA+B,EAChC,sBAAkB;AACnB,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EAAE,8BAA8B,EAAE,OAAO,EAAE,sBAAkB;AACpE,OAAO,KAAK,kBAAkB,+BAA2B;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,+BAA2B;AAC5B,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,kCAA8B;AAC7G,OAAO,EAAE,cAAc,EAAE,2CAAuC;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.mts","sourceRoot":"","sources":["../../src/resources/messaging-profiles/messaging-profiles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,wBAAwB,uCAAmC;AACvE,OAAO,EAAE,0CAA0C,EAAE,uCAAmC;AACxF,OAAO,KAAK,0BAA0B,yCAAqC;AAC3E,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,EACL,qDAAqD,EACrD,+BAA+B,EAChC,sBAAkB;AACnB,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EAAE,8BAA8B,EAAE,OAAO,EAAE,sBAAkB;AACpE,OAAO,KAAK,kBAAkB,+BAA2B;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,+BAA2B;AAC5B,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,kCAA8B;AAC7G,OAAO,EAAE,cAAc,EAAE,2CAAuC;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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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"}
|
|
@@ -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,CAA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BAA8B,EACrE,KAAK,8BAA8B,IAAI,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,M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AA,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,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,G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kBAAkB,cAAc,EAC3D,CAAA,qBAAuC,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"}
|
package/src/client.ts
CHANGED
|
@@ -1505,6 +1505,8 @@ import {
|
|
|
1505
1505
|
MessagingHostedNumberOrders,
|
|
1506
1506
|
} from './resources/messaging-hosted-number-orders/messaging-hosted-number-orders';
|
|
1507
1507
|
import {
|
|
1508
|
+
MessagingMessagingProfile,
|
|
1509
|
+
MessagingMessagingProfilesDefaultFlatPagination,
|
|
1508
1510
|
MessagingProfile,
|
|
1509
1511
|
MessagingProfileCreateParams,
|
|
1510
1512
|
MessagingProfileCreateResponse,
|
|
@@ -1519,7 +1521,6 @@ import {
|
|
|
1519
1521
|
MessagingProfileUpdateParams,
|
|
1520
1522
|
MessagingProfileUpdateResponse,
|
|
1521
1523
|
MessagingProfiles,
|
|
1522
|
-
MessagingProfilesDefaultFlatPagination,
|
|
1523
1524
|
NumberPoolSettings,
|
|
1524
1525
|
URLShortenerSettings,
|
|
1525
1526
|
} from './resources/messaging-profiles/messaging-profiles';
|
|
@@ -4328,6 +4329,7 @@ export declare namespace Telnyx {
|
|
|
4328
4329
|
|
|
4329
4330
|
export {
|
|
4330
4331
|
MessagingProfiles as MessagingProfiles,
|
|
4332
|
+
type MessagingMessagingProfile as MessagingMessagingProfile,
|
|
4331
4333
|
type MessagingProfile as MessagingProfile,
|
|
4332
4334
|
type NumberPoolSettings as NumberPoolSettings,
|
|
4333
4335
|
type URLShortenerSettings as URLShortenerSettings,
|
|
@@ -4336,7 +4338,7 @@ export declare namespace Telnyx {
|
|
|
4336
4338
|
type MessagingProfileUpdateResponse as MessagingProfileUpdateResponse,
|
|
4337
4339
|
type MessagingProfileDeleteResponse as MessagingProfileDeleteResponse,
|
|
4338
4340
|
type MessagingProfileRetrieveMetricsResponse as MessagingProfileRetrieveMetricsResponse,
|
|
4339
|
-
type
|
|
4341
|
+
type MessagingMessagingProfilesDefaultFlatPagination as MessagingMessagingProfilesDefaultFlatPagination,
|
|
4340
4342
|
type MessagingProfileListParams as MessagingProfileListParams,
|
|
4341
4343
|
type MessagingProfileCreateParams as MessagingProfileCreateParams,
|
|
4342
4344
|
type MessagingProfileUpdateParams as MessagingProfileUpdateParams,
|
|
@@ -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
|
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`.
|