telnyx 6.64.0 → 6.65.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 +8 -0
- package/client.d.mts +10 -11
- package/client.d.mts.map +1 -1
- package/client.d.ts +10 -11
- 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/ai.d.mts +116 -114
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +116 -114
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +332 -112
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +332 -112
- 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/assistants/canary-deploys.d.mts +241 -70
- package/resources/ai/assistants/canary-deploys.d.mts.map +1 -1
- package/resources/ai/assistants/canary-deploys.d.ts +241 -70
- package/resources/ai/assistants/canary-deploys.d.ts.map +1 -1
- package/resources/ai/assistants/index.d.mts +2 -2
- package/resources/ai/assistants/index.d.mts.map +1 -1
- package/resources/ai/assistants/index.d.ts +2 -2
- package/resources/ai/assistants/index.d.ts.map +1 -1
- package/resources/ai/assistants/index.js.map +1 -1
- package/resources/ai/assistants/index.mjs.map +1 -1
- package/resources/ai/assistants/versions.d.mts +220 -6
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +220 -6
- package/resources/ai/assistants/versions.d.ts.map +1 -1
- package/resources/ai/index.d.mts +2 -2
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +2 -2
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/openai/openai.d.mts +113 -2
- package/resources/ai/openai/openai.d.mts.map +1 -1
- package/resources/ai/openai/openai.d.ts +113 -2
- 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 +398 -41
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +398 -41
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/actions.js +46 -0
- package/resources/calls/actions.js.map +1 -1
- package/resources/calls/actions.mjs +46 -0
- package/resources/calls/actions.mjs.map +1 -1
- package/resources/calls/calls.d.mts +2 -2
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +2 -2
- 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/calls/index.d.mts +1 -1
- package/resources/calls/index.d.mts.map +1 -1
- package/resources/calls/index.d.ts +1 -1
- package/resources/calls/index.d.ts.map +1 -1
- package/resources/calls/index.js.map +1 -1
- package/resources/calls/index.mjs.map +1 -1
- package/resources/conferences/actions.d.mts +11 -1
- package/resources/conferences/actions.d.mts.map +1 -1
- package/resources/conferences/actions.d.ts +11 -1
- package/resources/conferences/actions.d.ts.map +1 -1
- package/resources/index.d.mts +5 -5
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -5
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/networks/networks.d.mts +2 -25
- package/resources/networks/networks.d.mts.map +1 -1
- package/resources/networks/networks.d.ts +2 -25
- package/resources/networks/networks.d.ts.map +1 -1
- package/resources/networks/networks.js.map +1 -1
- package/resources/networks/networks.mjs.map +1 -1
- package/resources/public-internet-gateways.d.mts +50 -40
- package/resources/public-internet-gateways.d.mts.map +1 -1
- package/resources/public-internet-gateways.d.ts +50 -40
- package/resources/public-internet-gateways.d.ts.map +1 -1
- package/resources/public-internet-gateways.js +1 -1
- package/resources/public-internet-gateways.js.map +1 -1
- package/resources/public-internet-gateways.mjs +1 -1
- package/resources/public-internet-gateways.mjs.map +1 -1
- package/resources/shared.d.mts +0 -10
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +0 -10
- package/resources/shared.d.ts.map +1 -1
- package/resources/uac-connections/index.d.mts +1 -1
- package/resources/uac-connections/index.d.mts.map +1 -1
- package/resources/uac-connections/index.d.ts +1 -1
- package/resources/uac-connections/index.d.ts.map +1 -1
- package/resources/uac-connections/index.js.map +1 -1
- package/resources/uac-connections/index.mjs.map +1 -1
- package/resources/uac-connections/uac-connections.d.mts +1861 -211
- package/resources/uac-connections/uac-connections.d.mts.map +1 -1
- package/resources/uac-connections/uac-connections.d.ts +1861 -211
- package/resources/uac-connections/uac-connections.d.ts.map +1 -1
- package/resources/uac-connections/uac-connections.js +1 -1
- package/resources/uac-connections/uac-connections.js.map +1 -1
- package/resources/uac-connections/uac-connections.mjs +1 -1
- package/resources/uac-connections/uac-connections.mjs.map +1 -1
- package/resources/virtual-cross-connects.d.mts +504 -48
- package/resources/virtual-cross-connects.d.mts.map +1 -1
- package/resources/virtual-cross-connects.d.ts +504 -48
- package/resources/virtual-cross-connects.d.ts.map +1 -1
- package/resources/virtual-cross-connects.js +1 -1
- package/resources/virtual-cross-connects.js.map +1 -1
- package/resources/virtual-cross-connects.mjs +1 -1
- package/resources/virtual-cross-connects.mjs.map +1 -1
- package/resources/wireguard-interfaces.d.mts +127 -43
- package/resources/wireguard-interfaces.d.mts.map +1 -1
- package/resources/wireguard-interfaces.d.ts +127 -43
- package/resources/wireguard-interfaces.d.ts.map +1 -1
- package/resources/wireguard-interfaces.js +2 -5
- package/resources/wireguard-interfaces.js.map +1 -1
- package/resources/wireguard-interfaces.mjs +2 -5
- package/resources/wireguard-interfaces.mjs.map +1 -1
- package/src/client.ts +16 -27
- package/src/resources/ai/ai.ts +130 -139
- package/src/resources/ai/assistants/assistants.ts +362 -133
- package/src/resources/ai/assistants/canary-deploys.ts +266 -75
- package/src/resources/ai/assistants/index.ts +0 -10
- package/src/resources/ai/assistants/versions.ts +244 -6
- package/src/resources/ai/index.ts +0 -6
- package/src/resources/ai/openai/openai.ts +131 -2
- package/src/resources/calls/actions.ts +543 -76
- package/src/resources/calls/calls.ts +8 -4
- package/src/resources/calls/index.ts +4 -2
- package/src/resources/conferences/actions.ts +13 -1
- package/src/resources/index.ts +8 -13
- package/src/resources/networks/networks.ts +4 -31
- package/src/resources/public-internet-gateways.ts +55 -46
- package/src/resources/shared.ts +0 -12
- package/src/resources/uac-connections/index.ts +2 -6
- package/src/resources/uac-connections/uac-connections.ts +2377 -378
- package/src/resources/virtual-cross-connects.ts +595 -54
- package/src/resources/wireguard-interfaces.ts +158 -53
- 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
|
@@ -42,6 +42,8 @@ import {
|
|
|
42
42
|
ActionSpeakResponse,
|
|
43
43
|
ActionStartAIAssistantParams,
|
|
44
44
|
ActionStartAIAssistantResponse,
|
|
45
|
+
ActionStartConversationRelayParams,
|
|
46
|
+
ActionStartConversationRelayResponse,
|
|
45
47
|
ActionStartForkingParams,
|
|
46
48
|
ActionStartForkingResponse,
|
|
47
49
|
ActionStartNoiseSuppressionParams,
|
|
@@ -58,6 +60,8 @@ import {
|
|
|
58
60
|
ActionStartTranscriptionResponse,
|
|
59
61
|
ActionStopAIAssistantParams,
|
|
60
62
|
ActionStopAIAssistantResponse,
|
|
63
|
+
ActionStopConversationRelayParams,
|
|
64
|
+
ActionStopConversationRelayResponse,
|
|
61
65
|
ActionStopForkingParams,
|
|
62
66
|
ActionStopForkingResponse,
|
|
63
67
|
ActionStopGatherParams,
|
|
@@ -95,13 +99,11 @@ import {
|
|
|
95
99
|
TelnyxVoiceSettings,
|
|
96
100
|
TranscriptionConfig,
|
|
97
101
|
TranscriptionEngineAConfig,
|
|
98
|
-
TranscriptionEngineAssemblyaiConfig,
|
|
99
102
|
TranscriptionEngineAzureConfig,
|
|
100
103
|
TranscriptionEngineBConfig,
|
|
101
104
|
TranscriptionEngineDeepgramConfig,
|
|
102
105
|
TranscriptionEngineGoogleConfig,
|
|
103
106
|
TranscriptionEngineTelnyxConfig,
|
|
104
|
-
TranscriptionEngineXaiConfig,
|
|
105
107
|
TranscriptionStartRequest,
|
|
106
108
|
} from './actions';
|
|
107
109
|
import * as AssistantsAPI from '../ai/assistants/assistants';
|
|
@@ -1208,13 +1210,11 @@ export declare namespace Calls {
|
|
|
1208
1210
|
type TelnyxVoiceSettings as TelnyxVoiceSettings,
|
|
1209
1211
|
type TranscriptionConfig as TranscriptionConfig,
|
|
1210
1212
|
type TranscriptionEngineAConfig as TranscriptionEngineAConfig,
|
|
1211
|
-
type TranscriptionEngineAssemblyaiConfig as TranscriptionEngineAssemblyaiConfig,
|
|
1212
1213
|
type TranscriptionEngineAzureConfig as TranscriptionEngineAzureConfig,
|
|
1213
1214
|
type TranscriptionEngineBConfig as TranscriptionEngineBConfig,
|
|
1214
1215
|
type TranscriptionEngineDeepgramConfig as TranscriptionEngineDeepgramConfig,
|
|
1215
1216
|
type TranscriptionEngineGoogleConfig as TranscriptionEngineGoogleConfig,
|
|
1216
1217
|
type TranscriptionEngineTelnyxConfig as TranscriptionEngineTelnyxConfig,
|
|
1217
|
-
type TranscriptionEngineXaiConfig as TranscriptionEngineXaiConfig,
|
|
1218
1218
|
type TranscriptionStartRequest as TranscriptionStartRequest,
|
|
1219
1219
|
type ActionAddAIAssistantMessagesResponse as ActionAddAIAssistantMessagesResponse,
|
|
1220
1220
|
type ActionAnswerResponse as ActionAnswerResponse,
|
|
@@ -1235,6 +1235,7 @@ export declare namespace Calls {
|
|
|
1235
1235
|
type ActionSendSipInfoResponse as ActionSendSipInfoResponse,
|
|
1236
1236
|
type ActionSpeakResponse as ActionSpeakResponse,
|
|
1237
1237
|
type ActionStartAIAssistantResponse as ActionStartAIAssistantResponse,
|
|
1238
|
+
type ActionStartConversationRelayResponse as ActionStartConversationRelayResponse,
|
|
1238
1239
|
type ActionStartForkingResponse as ActionStartForkingResponse,
|
|
1239
1240
|
type ActionStartNoiseSuppressionResponse as ActionStartNoiseSuppressionResponse,
|
|
1240
1241
|
type ActionStartPlaybackResponse as ActionStartPlaybackResponse,
|
|
@@ -1243,6 +1244,7 @@ export declare namespace Calls {
|
|
|
1243
1244
|
type ActionStartStreamingResponse as ActionStartStreamingResponse,
|
|
1244
1245
|
type ActionStartTranscriptionResponse as ActionStartTranscriptionResponse,
|
|
1245
1246
|
type ActionStopAIAssistantResponse as ActionStopAIAssistantResponse,
|
|
1247
|
+
type ActionStopConversationRelayResponse as ActionStopConversationRelayResponse,
|
|
1246
1248
|
type ActionStopForkingResponse as ActionStopForkingResponse,
|
|
1247
1249
|
type ActionStopGatherResponse as ActionStopGatherResponse,
|
|
1248
1250
|
type ActionStopNoiseSuppressionResponse as ActionStopNoiseSuppressionResponse,
|
|
@@ -1273,6 +1275,7 @@ export declare namespace Calls {
|
|
|
1273
1275
|
type ActionSendSipInfoParams as ActionSendSipInfoParams,
|
|
1274
1276
|
type ActionSpeakParams as ActionSpeakParams,
|
|
1275
1277
|
type ActionStartAIAssistantParams as ActionStartAIAssistantParams,
|
|
1278
|
+
type ActionStartConversationRelayParams as ActionStartConversationRelayParams,
|
|
1276
1279
|
type ActionStartForkingParams as ActionStartForkingParams,
|
|
1277
1280
|
type ActionStartNoiseSuppressionParams as ActionStartNoiseSuppressionParams,
|
|
1278
1281
|
type ActionStartPlaybackParams as ActionStartPlaybackParams,
|
|
@@ -1281,6 +1284,7 @@ export declare namespace Calls {
|
|
|
1281
1284
|
type ActionStartStreamingParams as ActionStartStreamingParams,
|
|
1282
1285
|
type ActionStartTranscriptionParams as ActionStartTranscriptionParams,
|
|
1283
1286
|
type ActionStopAIAssistantParams as ActionStopAIAssistantParams,
|
|
1287
|
+
type ActionStopConversationRelayParams as ActionStopConversationRelayParams,
|
|
1284
1288
|
type ActionStopForkingParams as ActionStopForkingParams,
|
|
1285
1289
|
type ActionStopGatherParams as ActionStopGatherParams,
|
|
1286
1290
|
type ActionStopNoiseSuppressionParams as ActionStopNoiseSuppressionParams,
|
|
@@ -16,13 +16,11 @@ export {
|
|
|
16
16
|
type TelnyxVoiceSettings,
|
|
17
17
|
type TranscriptionConfig,
|
|
18
18
|
type TranscriptionEngineAConfig,
|
|
19
|
-
type TranscriptionEngineAssemblyaiConfig,
|
|
20
19
|
type TranscriptionEngineAzureConfig,
|
|
21
20
|
type TranscriptionEngineBConfig,
|
|
22
21
|
type TranscriptionEngineDeepgramConfig,
|
|
23
22
|
type TranscriptionEngineGoogleConfig,
|
|
24
23
|
type TranscriptionEngineTelnyxConfig,
|
|
25
|
-
type TranscriptionEngineXaiConfig,
|
|
26
24
|
type TranscriptionStartRequest,
|
|
27
25
|
type ActionAddAIAssistantMessagesResponse,
|
|
28
26
|
type ActionAnswerResponse,
|
|
@@ -43,6 +41,7 @@ export {
|
|
|
43
41
|
type ActionSendSipInfoResponse,
|
|
44
42
|
type ActionSpeakResponse,
|
|
45
43
|
type ActionStartAIAssistantResponse,
|
|
44
|
+
type ActionStartConversationRelayResponse,
|
|
46
45
|
type ActionStartForkingResponse,
|
|
47
46
|
type ActionStartNoiseSuppressionResponse,
|
|
48
47
|
type ActionStartPlaybackResponse,
|
|
@@ -51,6 +50,7 @@ export {
|
|
|
51
50
|
type ActionStartStreamingResponse,
|
|
52
51
|
type ActionStartTranscriptionResponse,
|
|
53
52
|
type ActionStopAIAssistantResponse,
|
|
53
|
+
type ActionStopConversationRelayResponse,
|
|
54
54
|
type ActionStopForkingResponse,
|
|
55
55
|
type ActionStopGatherResponse,
|
|
56
56
|
type ActionStopNoiseSuppressionResponse,
|
|
@@ -81,6 +81,7 @@ export {
|
|
|
81
81
|
type ActionSendSipInfoParams,
|
|
82
82
|
type ActionSpeakParams,
|
|
83
83
|
type ActionStartAIAssistantParams,
|
|
84
|
+
type ActionStartConversationRelayParams,
|
|
84
85
|
type ActionStartForkingParams,
|
|
85
86
|
type ActionStartNoiseSuppressionParams,
|
|
86
87
|
type ActionStartPlaybackParams,
|
|
@@ -89,6 +90,7 @@ export {
|
|
|
89
90
|
type ActionStartStreamingParams,
|
|
90
91
|
type ActionStartTranscriptionParams,
|
|
91
92
|
type ActionStopAIAssistantParams,
|
|
93
|
+
type ActionStopConversationRelayParams,
|
|
92
94
|
type ActionStopForkingParams,
|
|
93
95
|
type ActionStopGatherParams,
|
|
94
96
|
type ActionStopNoiseSuppressionParams,
|
|
@@ -1020,7 +1020,7 @@ export interface ActionSpeakParams {
|
|
|
1020
1020
|
| Shared.RimeVoiceSettings
|
|
1021
1021
|
| Shared.ResembleVoiceSettings
|
|
1022
1022
|
| ActionSpeakParams.InworldVoiceSettings
|
|
1023
|
-
|
|
|
1023
|
+
| ActionSpeakParams.XaiVoiceSettings;
|
|
1024
1024
|
}
|
|
1025
1025
|
|
|
1026
1026
|
export namespace ActionSpeakParams {
|
|
@@ -1030,6 +1030,18 @@ export namespace ActionSpeakParams {
|
|
|
1030
1030
|
*/
|
|
1031
1031
|
type: 'inworld';
|
|
1032
1032
|
}
|
|
1033
|
+
|
|
1034
|
+
export interface XaiVoiceSettings {
|
|
1035
|
+
/**
|
|
1036
|
+
* Voice settings provider type
|
|
1037
|
+
*/
|
|
1038
|
+
type: 'xai';
|
|
1039
|
+
|
|
1040
|
+
/**
|
|
1041
|
+
* Language code, or `auto` to detect automatically.
|
|
1042
|
+
*/
|
|
1043
|
+
language?: string;
|
|
1044
|
+
}
|
|
1033
1045
|
}
|
|
1034
1046
|
|
|
1035
1047
|
export interface ActionStopParams {
|
package/src/resources/index.ts
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
export * from './shared';
|
|
4
4
|
export {
|
|
5
5
|
AI,
|
|
6
|
-
type ModelMetadata,
|
|
7
6
|
type AICreateResponseResponse,
|
|
8
7
|
type AIRetrieveModelsResponse,
|
|
9
8
|
type AISummarizeResponse,
|
|
@@ -969,13 +968,13 @@ export {
|
|
|
969
968
|
PublicInternetGateways,
|
|
970
969
|
type NetworkInterface,
|
|
971
970
|
type NetworkInterfaceRegion,
|
|
972
|
-
type PublicInternetGatewayRead,
|
|
973
971
|
type PublicInternetGatewayCreateResponse,
|
|
974
972
|
type PublicInternetGatewayRetrieveResponse,
|
|
973
|
+
type PublicInternetGatewayListResponse,
|
|
975
974
|
type PublicInternetGatewayDeleteResponse,
|
|
976
975
|
type PublicInternetGatewayCreateParams,
|
|
977
976
|
type PublicInternetGatewayListParams,
|
|
978
|
-
type
|
|
977
|
+
type PublicInternetGatewayListResponsesDefaultFlatPagination,
|
|
979
978
|
} from './public-internet-gateways';
|
|
980
979
|
export {
|
|
981
980
|
Queues,
|
|
@@ -1252,19 +1251,15 @@ export {
|
|
|
1252
1251
|
} from './traffic-policy-profiles';
|
|
1253
1252
|
export {
|
|
1254
1253
|
UacConnections,
|
|
1255
|
-
type UacConnection,
|
|
1256
|
-
type UacExternalSettings,
|
|
1257
|
-
type UacInbound,
|
|
1258
|
-
type UacInternalSettings,
|
|
1259
|
-
type UacOutbound,
|
|
1260
1254
|
type UacConnectionCreateResponse,
|
|
1261
1255
|
type UacConnectionRetrieveResponse,
|
|
1262
1256
|
type UacConnectionUpdateResponse,
|
|
1257
|
+
type UacConnectionListResponse,
|
|
1263
1258
|
type UacConnectionDeleteResponse,
|
|
1264
1259
|
type UacConnectionCreateParams,
|
|
1265
1260
|
type UacConnectionUpdateParams,
|
|
1266
1261
|
type UacConnectionListParams,
|
|
1267
|
-
type
|
|
1262
|
+
type UacConnectionListResponsesDefaultFlatPagination,
|
|
1268
1263
|
} from './uac-connections/uac-connections';
|
|
1269
1264
|
export {
|
|
1270
1265
|
UsageReports,
|
|
@@ -1319,15 +1314,15 @@ export {
|
|
|
1319
1314
|
} from './verify-profiles';
|
|
1320
1315
|
export {
|
|
1321
1316
|
VirtualCrossConnects,
|
|
1322
|
-
type VirtualCrossConnectCombined,
|
|
1323
1317
|
type VirtualCrossConnectCreateResponse,
|
|
1324
1318
|
type VirtualCrossConnectRetrieveResponse,
|
|
1325
1319
|
type VirtualCrossConnectUpdateResponse,
|
|
1320
|
+
type VirtualCrossConnectListResponse,
|
|
1326
1321
|
type VirtualCrossConnectDeleteResponse,
|
|
1327
1322
|
type VirtualCrossConnectCreateParams,
|
|
1328
1323
|
type VirtualCrossConnectUpdateParams,
|
|
1329
1324
|
type VirtualCrossConnectListParams,
|
|
1330
|
-
type
|
|
1325
|
+
type VirtualCrossConnectListResponsesDefaultFlatPagination,
|
|
1331
1326
|
} from './virtual-cross-connects';
|
|
1332
1327
|
export {
|
|
1333
1328
|
VirtualCrossConnectsCoverage,
|
|
@@ -1508,13 +1503,13 @@ export {
|
|
|
1508
1503
|
} from './whatsapp-message-templates';
|
|
1509
1504
|
export {
|
|
1510
1505
|
WireguardInterfaces,
|
|
1511
|
-
type WireguardInterfaceRead,
|
|
1512
1506
|
type WireguardInterfaceCreateResponse,
|
|
1513
1507
|
type WireguardInterfaceRetrieveResponse,
|
|
1508
|
+
type WireguardInterfaceListResponse,
|
|
1514
1509
|
type WireguardInterfaceDeleteResponse,
|
|
1515
1510
|
type WireguardInterfaceCreateParams,
|
|
1516
1511
|
type WireguardInterfaceListParams,
|
|
1517
|
-
type
|
|
1512
|
+
type WireguardInterfaceListResponsesDefaultFlatPagination,
|
|
1518
1513
|
} from './wireguard-interfaces';
|
|
1519
1514
|
export {
|
|
1520
1515
|
WireguardPeers,
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
4
|
import * as GlobalIPAssignmentsAPI from '../global-ip-assignments';
|
|
5
|
+
import * as PublicInternetGatewaysAPI from '../public-internet-gateways';
|
|
5
6
|
import * as DefaultGatewayAPI from './default-gateway';
|
|
6
7
|
import {
|
|
7
8
|
DefaultGateway,
|
|
@@ -205,27 +206,9 @@ export namespace NetworkDeleteResponse {
|
|
|
205
206
|
}
|
|
206
207
|
}
|
|
207
208
|
|
|
208
|
-
export interface NetworkListInterfacesResponse
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
*/
|
|
212
|
-
id?: string;
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* ISO 8601 formatted date-time indicating when the resource was created.
|
|
216
|
-
*/
|
|
217
|
-
created_at?: string;
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* A user specified name for the interface.
|
|
221
|
-
*/
|
|
222
|
-
name?: string;
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* The id of the network associated with the interface.
|
|
226
|
-
*/
|
|
227
|
-
network_id?: string;
|
|
228
|
-
|
|
209
|
+
export interface NetworkListInterfacesResponse
|
|
210
|
+
extends GlobalIPAssignmentsAPI.Record,
|
|
211
|
+
PublicInternetGatewaysAPI.NetworkInterface {
|
|
229
212
|
/**
|
|
230
213
|
* Identifies the type of the resource.
|
|
231
214
|
*/
|
|
@@ -238,20 +221,10 @@ export interface NetworkListInterfacesResponse {
|
|
|
238
221
|
*/
|
|
239
222
|
region_code?: string;
|
|
240
223
|
|
|
241
|
-
/**
|
|
242
|
-
* The current status of the interface deployment.
|
|
243
|
-
*/
|
|
244
|
-
status?: InterfaceStatus;
|
|
245
|
-
|
|
246
224
|
/**
|
|
247
225
|
* Identifies the type of the interface.
|
|
248
226
|
*/
|
|
249
227
|
type?: string;
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
253
|
-
*/
|
|
254
|
-
updated_at?: string;
|
|
255
228
|
}
|
|
256
229
|
|
|
257
230
|
export namespace NetworkListInterfacesResponse {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
|
+
import * as PublicInternetGatewaysAPI from './public-internet-gateways';
|
|
5
|
+
import * as GlobalIPAssignmentsAPI from './global-ip-assignments';
|
|
4
6
|
import * as NetworksAPI from './networks/networks';
|
|
5
7
|
import { APIPromise } from '../core/api-promise';
|
|
6
8
|
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from '../core/pagination';
|
|
@@ -48,7 +50,7 @@ export class PublicInternetGateways extends APIResource {
|
|
|
48
50
|
* @example
|
|
49
51
|
* ```ts
|
|
50
52
|
* // Automatically fetches more pages as needed.
|
|
51
|
-
* for await (const
|
|
53
|
+
* for await (const publicInternetGatewayListResponse of client.publicInternetGateways.list()) {
|
|
52
54
|
* // ...
|
|
53
55
|
* }
|
|
54
56
|
* ```
|
|
@@ -56,10 +58,10 @@ export class PublicInternetGateways extends APIResource {
|
|
|
56
58
|
list(
|
|
57
59
|
query: PublicInternetGatewayListParams | null | undefined = {},
|
|
58
60
|
options?: RequestOptions,
|
|
59
|
-
): PagePromise<
|
|
61
|
+
): PagePromise<PublicInternetGatewayListResponsesDefaultFlatPagination, PublicInternetGatewayListResponse> {
|
|
60
62
|
return this._client.getAPIList(
|
|
61
63
|
'/public_internet_gateways',
|
|
62
|
-
DefaultFlatPagination<
|
|
64
|
+
DefaultFlatPagination<PublicInternetGatewayListResponse>,
|
|
63
65
|
{ query, ...options },
|
|
64
66
|
);
|
|
65
67
|
}
|
|
@@ -80,8 +82,8 @@ export class PublicInternetGateways extends APIResource {
|
|
|
80
82
|
}
|
|
81
83
|
}
|
|
82
84
|
|
|
83
|
-
export type
|
|
84
|
-
DefaultFlatPagination<
|
|
85
|
+
export type PublicInternetGatewayListResponsesDefaultFlatPagination =
|
|
86
|
+
DefaultFlatPagination<PublicInternetGatewayListResponse>;
|
|
85
87
|
|
|
86
88
|
export interface NetworkInterface {
|
|
87
89
|
/**
|
|
@@ -107,63 +109,70 @@ export interface NetworkInterfaceRegion {
|
|
|
107
109
|
region_code?: string;
|
|
108
110
|
}
|
|
109
111
|
|
|
110
|
-
export interface
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
*/
|
|
114
|
-
id?: string;
|
|
112
|
+
export interface PublicInternetGatewayCreateResponse {
|
|
113
|
+
data?: PublicInternetGatewayCreateResponse.Data;
|
|
114
|
+
}
|
|
115
115
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
116
|
+
export namespace PublicInternetGatewayCreateResponse {
|
|
117
|
+
export interface Data extends GlobalIPAssignmentsAPI.Record, PublicInternetGatewaysAPI.NetworkInterface {
|
|
118
|
+
/**
|
|
119
|
+
* The publically accessible ip for this interface.
|
|
120
|
+
*/
|
|
121
|
+
public_ip?: string;
|
|
120
122
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
/**
|
|
124
|
+
* The region interface is deployed to.
|
|
125
|
+
*/
|
|
126
|
+
region_code?: string;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
125
129
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
export interface PublicInternetGatewayRetrieveResponse {
|
|
131
|
+
data?: PublicInternetGatewayRetrieveResponse.Data;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export namespace PublicInternetGatewayRetrieveResponse {
|
|
135
|
+
export interface Data extends GlobalIPAssignmentsAPI.Record, PublicInternetGatewaysAPI.NetworkInterface {
|
|
136
|
+
/**
|
|
137
|
+
* The publically accessible ip for this interface.
|
|
138
|
+
*/
|
|
139
|
+
public_ip?: string;
|
|
130
140
|
|
|
141
|
+
/**
|
|
142
|
+
* The region interface is deployed to.
|
|
143
|
+
*/
|
|
144
|
+
region_code?: string;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export interface PublicInternetGatewayListResponse extends GlobalIPAssignmentsAPI.Record, NetworkInterface {
|
|
131
149
|
/**
|
|
132
150
|
* The publically accessible ip for this interface.
|
|
133
151
|
*/
|
|
134
152
|
public_ip?: string;
|
|
135
153
|
|
|
136
|
-
/**
|
|
137
|
-
* Identifies the type of the resource.
|
|
138
|
-
*/
|
|
139
|
-
record_type?: string;
|
|
140
|
-
|
|
141
154
|
/**
|
|
142
155
|
* The region interface is deployed to.
|
|
143
156
|
*/
|
|
144
157
|
region_code?: string;
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* The current status of the interface deployment.
|
|
148
|
-
*/
|
|
149
|
-
status?: NetworksAPI.InterfaceStatus;
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* ISO 8601 formatted date-time indicating when the resource was updated.
|
|
153
|
-
*/
|
|
154
|
-
updated_at?: string;
|
|
155
158
|
}
|
|
156
159
|
|
|
157
|
-
export interface
|
|
158
|
-
data?:
|
|
160
|
+
export interface PublicInternetGatewayDeleteResponse {
|
|
161
|
+
data?: PublicInternetGatewayDeleteResponse.Data;
|
|
159
162
|
}
|
|
160
163
|
|
|
161
|
-
export
|
|
162
|
-
|
|
163
|
-
|
|
164
|
+
export namespace PublicInternetGatewayDeleteResponse {
|
|
165
|
+
export interface Data extends GlobalIPAssignmentsAPI.Record, PublicInternetGatewaysAPI.NetworkInterface {
|
|
166
|
+
/**
|
|
167
|
+
* The publically accessible ip for this interface.
|
|
168
|
+
*/
|
|
169
|
+
public_ip?: string;
|
|
164
170
|
|
|
165
|
-
|
|
166
|
-
|
|
171
|
+
/**
|
|
172
|
+
* The region interface is deployed to.
|
|
173
|
+
*/
|
|
174
|
+
region_code?: string;
|
|
175
|
+
}
|
|
167
176
|
}
|
|
168
177
|
|
|
169
178
|
export interface PublicInternetGatewayCreateParams {
|
|
@@ -206,11 +215,11 @@ export declare namespace PublicInternetGateways {
|
|
|
206
215
|
export {
|
|
207
216
|
type NetworkInterface as NetworkInterface,
|
|
208
217
|
type NetworkInterfaceRegion as NetworkInterfaceRegion,
|
|
209
|
-
type PublicInternetGatewayRead as PublicInternetGatewayRead,
|
|
210
218
|
type PublicInternetGatewayCreateResponse as PublicInternetGatewayCreateResponse,
|
|
211
219
|
type PublicInternetGatewayRetrieveResponse as PublicInternetGatewayRetrieveResponse,
|
|
220
|
+
type PublicInternetGatewayListResponse as PublicInternetGatewayListResponse,
|
|
212
221
|
type PublicInternetGatewayDeleteResponse as PublicInternetGatewayDeleteResponse,
|
|
213
|
-
type
|
|
222
|
+
type PublicInternetGatewayListResponsesDefaultFlatPagination as PublicInternetGatewayListResponsesDefaultFlatPagination,
|
|
214
223
|
type PublicInternetGatewayCreateParams as PublicInternetGatewayCreateParams,
|
|
215
224
|
type PublicInternetGatewayListParams as PublicInternetGatewayListParams,
|
|
216
225
|
};
|
package/src/resources/shared.ts
CHANGED
|
@@ -1423,18 +1423,6 @@ export namespace WhatsappTemplateData {
|
|
|
1423
1423
|
}
|
|
1424
1424
|
}
|
|
1425
1425
|
|
|
1426
|
-
export interface XaiVoiceSettings {
|
|
1427
|
-
/**
|
|
1428
|
-
* Voice settings provider type
|
|
1429
|
-
*/
|
|
1430
|
-
type: 'xai';
|
|
1431
|
-
|
|
1432
|
-
/**
|
|
1433
|
-
* Language code, or `auto` to detect automatically.
|
|
1434
|
-
*/
|
|
1435
|
-
language?: string;
|
|
1436
|
-
}
|
|
1437
|
-
|
|
1438
1426
|
export type MessagingHostedNumberOrdersDefaultFlatPagination =
|
|
1439
1427
|
DefaultFlatPagination<MessagingHostedNumberOrder>;
|
|
1440
1428
|
|
|
@@ -3,17 +3,13 @@
|
|
|
3
3
|
export { Actions, type ActionCheckRegistrationStatusResponse } from './actions';
|
|
4
4
|
export {
|
|
5
5
|
UacConnections,
|
|
6
|
-
type UacConnection,
|
|
7
|
-
type UacExternalSettings,
|
|
8
|
-
type UacInbound,
|
|
9
|
-
type UacInternalSettings,
|
|
10
|
-
type UacOutbound,
|
|
11
6
|
type UacConnectionCreateResponse,
|
|
12
7
|
type UacConnectionRetrieveResponse,
|
|
13
8
|
type UacConnectionUpdateResponse,
|
|
9
|
+
type UacConnectionListResponse,
|
|
14
10
|
type UacConnectionDeleteResponse,
|
|
15
11
|
type UacConnectionCreateParams,
|
|
16
12
|
type UacConnectionUpdateParams,
|
|
17
13
|
type UacConnectionListParams,
|
|
18
|
-
type
|
|
14
|
+
type UacConnectionListResponsesDefaultFlatPagination,
|
|
19
15
|
} from './uac-connections';
|