telnyx 2.0.0-beta.4 → 2.0.0-beta.5
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 +11 -0
- package/VERSION +1 -1
- package/dist/TelnyxMethod.basic.js +1 -1
- package/dist/TelnyxMethod.js +3 -3
- package/dist/TelnyxResource.js +4 -4
- package/dist/Webhooks.js +1 -1
- package/dist/autoPagination.js +2 -2
- package/dist/makeRequest.js +1 -1
- package/dist/multipart.js +1 -1
- package/dist/resources/AccessIpAddress.js +1 -1
- package/dist/resources/AccessIpRanges.js +1 -1
- package/dist/resources/Actions.js +2 -2
- package/dist/resources/ActionsSimCards.js +1 -1
- package/dist/resources/ActivateDeactivateBulkCredentials.js +2 -2
- package/dist/resources/Addresses.js +2 -2
- package/dist/resources/AiAssistants.js +1 -1
- package/dist/resources/AiAudioTranscriptions.js +1 -1
- package/dist/resources/AiChatCompletions.js +1 -1
- package/dist/resources/AiEmbeddings.js +1 -1
- package/dist/resources/AiEmbeddingsBuckets.js +1 -1
- package/dist/resources/AiEmbeddingsSimilaritySearch.js +1 -1
- package/dist/resources/AiModels.js +1 -1
- package/dist/resources/AiSummarize.js +1 -1
- package/dist/resources/AuditEvents.js +1 -1
- package/dist/resources/AuthenticationProviders.js +1 -1
- package/dist/resources/AvailablePhoneNumbers.js +1 -1
- package/dist/resources/AvailablePhoneNumbersBlocks.js +1 -1
- package/dist/resources/Balance.js +1 -1
- package/dist/resources/BillingGroups.js +1 -1
- package/dist/resources/Brands.js +1 -1
- package/dist/resources/BulkCredentials.js +1 -1
- package/dist/resources/BulkSoleProprietorCreation.js +1 -1
- package/dist/resources/BulkTelephonyCredentials.js +2 -2
- package/dist/resources/CallControlApplications.js +2 -2
- package/dist/resources/CallEvents.js +1 -1
- package/dist/resources/CallRecordings.js +1 -1
- package/dist/resources/Calls.js +2 -2
- package/dist/resources/Campaign.js +2 -2
- package/dist/resources/CampaignBuilder.js +2 -2
- package/dist/resources/CdrUsageReports.js +1 -1
- package/dist/resources/Channelzones.js +1 -1
- package/dist/resources/Conferences.js +2 -2
- package/dist/resources/Connections.js +1 -1
- package/dist/resources/CredentialConnections.js +1 -1
- package/dist/resources/CustomerServiceRecords.js +1 -1
- package/dist/resources/DetailRecords.js +1 -1
- package/dist/resources/DialogflowConnections.js +1 -1
- package/dist/resources/DocumentLinks.js +1 -1
- package/dist/resources/Documents.js +1 -1
- package/dist/resources/DynamicEmergency.js +3 -3
- package/dist/resources/DynamicEmergencyAddresses.js +1 -1
- package/dist/resources/DynamicEmergencyEndpoints.js +1 -1
- package/dist/resources/ExternalConnections.js +1 -1
- package/dist/resources/FaxApplications.js +2 -2
- package/dist/resources/Faxes.js +2 -2
- package/dist/resources/FqdnConnections.js +2 -2
- package/dist/resources/Fqdns.js +2 -2
- package/dist/resources/GlobalIps.js +1 -1
- package/dist/resources/InventoryCoverage.js +1 -1
- package/dist/resources/IpConnections.js +2 -2
- package/dist/resources/Ips.js +2 -2
- package/dist/resources/ManagedAccounts.js +2 -2
- package/dist/resources/MdrDetailReports.js +1 -1
- package/dist/resources/MdrUsageReports.js +1 -1
- package/dist/resources/MediaStorageApi.js +1 -1
- package/dist/resources/Messages.js +1 -1
- package/dist/resources/MessagingHostedNumberOrders.js +1 -1
- package/dist/resources/MessagingHostedNumbers.js +1 -1
- package/dist/resources/MessagingProfileMetrics.js +1 -1
- package/dist/resources/MessagingProfiles.js +2 -2
- package/dist/resources/MessagingShortCodes.js +1 -1
- package/dist/resources/MessagingTollfreeVerification.js +1 -1
- package/dist/resources/MessagingUrlDomains.js +1 -1
- package/dist/resources/MobileNetworkOperators.js +1 -1
- package/dist/resources/MobileOperatorNetworks.js +1 -1
- package/dist/resources/Networks.js +1 -1
- package/dist/resources/NotificationEvents.js +1 -1
- package/dist/resources/NumberBackgroundJobs.js +1 -1
- package/dist/resources/NumberLookup.js +1 -1
- package/dist/resources/NumberOrders.js +2 -2
- package/dist/resources/NumberPortouts.js +2 -2
- package/dist/resources/NumberReservations.js +2 -2
- package/dist/resources/NumbersFeatures.js +1 -1
- package/dist/resources/Object.js +1 -1
- package/dist/resources/OtaUpdates.js +1 -1
- package/dist/resources/OutboundVoiceProfiles.js +2 -2
- package/dist/resources/Payment.js +1 -1
- package/dist/resources/PhoneNumberAssignmentByProfile.js +2 -2
- package/dist/resources/PhoneNumberBlockOrders.js +1 -1
- package/dist/resources/PhoneNumberBlocksBackgroundJobs.js +1 -1
- package/dist/resources/PhoneNumberCampaigns.js +1 -1
- package/dist/resources/PhoneNumbers.js +5 -5
- package/dist/resources/PhoneNumbersCsvDownloads.js +1 -1
- package/dist/resources/PhoneNumbersInboundChannels.js +1 -1
- package/dist/resources/PhoneNumbersMessaging.js +1 -1
- package/dist/resources/PhoneNumbersRegulatoryRequirements.js +1 -1
- package/dist/resources/PhoneNumbersSlim.js +1 -1
- package/dist/resources/PhoneNumbersVoice.js +1 -1
- package/dist/resources/PortabilityChecks.js +1 -1
- package/dist/resources/PortingEvents.js +1 -1
- package/dist/resources/PortingLoaConfigurations.js +1 -1
- package/dist/resources/PortingOrders.js +2 -2
- package/dist/resources/PortingPhoneNumbers.js +1 -1
- package/dist/resources/PortingReports.js +1 -1
- package/dist/resources/PortoutEvents.js +2 -2
- package/dist/resources/PortoutRequests.js +1 -1
- package/dist/resources/PresignedObjectUrls.js +1 -1
- package/dist/resources/PrivateWirelessGateways.js +1 -1
- package/dist/resources/PublicInternetGateways.js +1 -1
- package/dist/resources/PushCredentials.js +1 -1
- package/dist/resources/Queues.js +2 -2
- package/dist/resources/RecordingsCommands.js +1 -1
- package/dist/resources/Regions.js +1 -1
- package/dist/resources/RegulatoryRequirements.js +1 -1
- package/dist/resources/Reporting.js +1 -1
- package/dist/resources/Reports.js +1 -1
- package/dist/resources/ReportsMdrs.js +1 -1
- package/dist/resources/RequirementTypes.js +1 -1
- package/dist/resources/Requirements.js +1 -1
- package/dist/resources/RoomCompositions.js +1 -1
- package/dist/resources/RoomParticipants.js +1 -1
- package/dist/resources/RoomRecordings.js +1 -1
- package/dist/resources/RoomSessions.js +1 -1
- package/dist/resources/Rooms.js +1 -1
- package/dist/resources/RoomsClientToken.js +1 -1
- package/dist/resources/RoomsClientTokens.js +1 -1
- package/dist/resources/SharedCampaigns.js +1 -1
- package/dist/resources/ShortCodes.js +2 -2
- package/dist/resources/SimCardActions.js +1 -1
- package/dist/resources/SimCardGroupActions.js +1 -1
- package/dist/resources/SimCardGroups.js +2 -2
- package/dist/resources/SimCardOrders.js +1 -1
- package/dist/resources/SimCards.js +2 -23
- package/dist/resources/StorageBuckets.js +1 -1
- package/dist/resources/TelephonyCredentials.js +2 -6
- package/dist/resources/Texml.js +1 -1
- package/dist/resources/TexmlApplications.js +2 -2
- package/dist/resources/Verifications.js +2 -2
- package/dist/resources/VerifiedNumbers.js +2 -2
- package/dist/resources/VerifyProfiles.js +1 -1
- package/dist/resources/VirtualCrossConnects.js +1 -1
- package/dist/resources/WdrDetailReports.js +1 -1
- package/dist/resources/Webhooks.js +1 -1
- package/dist/resources/WireguardInterfaces.js +1 -1
- package/dist/resources/WirelessDetailRecordReports.js +1 -1
- package/dist/telnyx.js +140 -144
- package/dist/telnyx.node.js +1 -1
- package/dist/types/Events.d.ts +10 -11
- package/dist/types/PortoutEventsResource.d.ts +5 -5
- package/dist/types/TelephonyCredentialsResource.d.ts +0 -11
- package/dist/types/TelnyxAPI.d.ts +4717 -2358
- package/package.json +1 -1
- package/dist/resources/NumberOrderDocuments.js +0 -10
- package/dist/resources/PhoneNumberOrderDocuments.js +0 -15
package/dist/telnyx.js
CHANGED
|
@@ -2,150 +2,148 @@ import * as http from 'http';
|
|
|
2
2
|
import * as https from 'https';
|
|
3
3
|
import { EventEmitter } from 'events';
|
|
4
4
|
import { exec } from 'child_process';
|
|
5
|
-
import * as utils from './utils';
|
|
5
|
+
import * as utils from './utils.js';
|
|
6
6
|
//#region Resources
|
|
7
|
-
import { AccessIpAddress } from './resources/AccessIpAddress';
|
|
8
|
-
import { AccessIpRanges } from './resources/AccessIpRanges';
|
|
9
|
-
import { Actions } from './resources/Actions';
|
|
10
|
-
import { ActionsSimCards } from './resources/ActionsSimCards';
|
|
11
|
-
import { ActivateDeactivateBulkCredentials } from './resources/ActivateDeactivateBulkCredentials';
|
|
12
|
-
import { Addresses } from './resources/Addresses';
|
|
13
|
-
import { AiAssistants } from './resources/AiAssistants';
|
|
14
|
-
import { AiAudioTranscriptions } from './resources/AiAudioTranscriptions';
|
|
15
|
-
import { AiChatCompletions } from './resources/AiChatCompletions';
|
|
16
|
-
import { AiEmbeddings } from './resources/AiEmbeddings';
|
|
17
|
-
import { AiEmbeddingsBuckets } from './resources/AiEmbeddingsBuckets';
|
|
18
|
-
import { AiEmbeddingsSimilaritySearch } from './resources/AiEmbeddingsSimilaritySearch';
|
|
19
|
-
import { AiModels } from './resources/AiModels';
|
|
20
|
-
import { AiSummarize } from './resources/AiSummarize';
|
|
21
|
-
import { AuthenticationProviders } from './resources/AuthenticationProviders';
|
|
22
|
-
import { AvailablePhoneNumbers } from './resources/AvailablePhoneNumbers';
|
|
23
|
-
import { Balance } from './resources/Balance';
|
|
24
|
-
import { BillingGroups } from './resources/BillingGroups';
|
|
25
|
-
import { Brands } from './resources/Brands';
|
|
26
|
-
import { BulkCredentials } from './resources/BulkCredentials';
|
|
27
|
-
import { BulkSoleProprietorCreation } from './resources/BulkSoleProprietorCreation';
|
|
28
|
-
import { BulkTelephonyCredentials } from './resources/BulkTelephonyCredentials';
|
|
29
|
-
import { CallControlApplications } from './resources/CallControlApplications';
|
|
30
|
-
import { CallEvents } from './resources/CallEvents';
|
|
31
|
-
import { CallRecordings } from './resources/CallRecordings';
|
|
32
|
-
import { Calls } from './resources/Calls';
|
|
33
|
-
import { Campaign } from './resources/Campaign';
|
|
34
|
-
import { CampaignBuilder } from './resources/CampaignBuilder';
|
|
35
|
-
import { CdrUsageReports } from './resources/CdrUsageReports';
|
|
36
|
-
import { Channelzones } from './resources/Channelzones';
|
|
37
|
-
import { Conferences } from './resources/Conferences';
|
|
38
|
-
import { Connections } from './resources/Connections';
|
|
39
|
-
import { CredentialConnections } from './resources/CredentialConnections';
|
|
40
|
-
import { PhoneNumbersCsvDownloads } from './resources/PhoneNumbersCsvDownloads';
|
|
41
|
-
import { CustomerServiceRecords } from './resources/CustomerServiceRecords';
|
|
42
|
-
import { DetailRecords } from './resources/DetailRecords';
|
|
43
|
-
import { DialogflowConnections } from './resources/DialogflowConnections';
|
|
44
|
-
import { DocumentLinks } from './resources/DocumentLinks';
|
|
45
|
-
import { Documents } from './resources/Documents';
|
|
46
|
-
import { DynamicEmergency } from './resources/DynamicEmergency';
|
|
47
|
-
import { DynamicEmergencyAddresses } from './resources/DynamicEmergencyAddresses';
|
|
48
|
-
import { DynamicEmergencyEndpoints } from './resources/DynamicEmergencyEndpoints';
|
|
49
|
-
import { AuditEvents } from './resources/AuditEvents';
|
|
50
|
-
import { ExternalConnections } from './resources/ExternalConnections';
|
|
51
|
-
import { FaxApplications } from './resources/FaxApplications';
|
|
52
|
-
import { Faxes } from './resources/Faxes';
|
|
53
|
-
import { FqdnConnections } from './resources/FqdnConnections';
|
|
54
|
-
import { Fqdns } from './resources/Fqdns';
|
|
55
|
-
import { GlobalIps } from './resources/GlobalIps';
|
|
56
|
-
import { InventoryCoverage } from './resources/InventoryCoverage';
|
|
57
|
-
import { IpConnections } from './resources/IpConnections';
|
|
58
|
-
import { Ips } from './resources/Ips';
|
|
59
|
-
import { ManagedAccounts } from './resources/ManagedAccounts';
|
|
60
|
-
import { MdrDetailReports } from './resources/MdrDetailReports';
|
|
61
|
-
import { MdrUsageReports } from './resources/MdrUsageReports';
|
|
62
|
-
import { MediaStorageApi } from './resources/MediaStorageApi';
|
|
63
|
-
import { Messages } from './resources/Messages';
|
|
64
|
-
import { MessagingHostedNumberOrders } from './resources/MessagingHostedNumberOrders';
|
|
65
|
-
import { MessagingHostedNumbers } from './resources/MessagingHostedNumbers';
|
|
66
|
-
import { MessagingProfileMetrics } from './resources/MessagingProfileMetrics';
|
|
67
|
-
import { MessagingProfiles } from './resources/MessagingProfiles';
|
|
68
|
-
import { MessagingShortCodes } from './resources/MessagingShortCodes';
|
|
69
|
-
import { MessagingTollfreeVerification } from './resources/MessagingTollfreeVerification';
|
|
70
|
-
import { MessagingUrlDomains } from './resources/MessagingUrlDomains';
|
|
71
|
-
import { MobileNetworkOperators } from './resources/MobileNetworkOperators';
|
|
72
|
-
import { MobileOperatorNetworks } from './resources/MobileOperatorNetworks';
|
|
73
|
-
import { Networks } from './resources/Networks';
|
|
74
|
-
import { NotificationEvents } from './resources/NotificationEvents';
|
|
75
|
-
import { NumberBackgroundJobs } from './resources/NumberBackgroundJobs';
|
|
76
|
-
import { NumberLookup } from './resources/NumberLookup';
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import { WireguardInterfaces } from './resources/WireguardInterfaces';
|
|
143
|
-
import { WirelessDetailRecordReports } from './resources/WirelessDetailRecordReports';
|
|
7
|
+
import { AccessIpAddress } from './resources/AccessIpAddress.js';
|
|
8
|
+
import { AccessIpRanges } from './resources/AccessIpRanges.js';
|
|
9
|
+
import { Actions } from './resources/Actions.js';
|
|
10
|
+
import { ActionsSimCards } from './resources/ActionsSimCards.js';
|
|
11
|
+
import { ActivateDeactivateBulkCredentials } from './resources/ActivateDeactivateBulkCredentials.js';
|
|
12
|
+
import { Addresses } from './resources/Addresses.js';
|
|
13
|
+
import { AiAssistants } from './resources/AiAssistants.js';
|
|
14
|
+
import { AiAudioTranscriptions } from './resources/AiAudioTranscriptions.js';
|
|
15
|
+
import { AiChatCompletions } from './resources/AiChatCompletions.js';
|
|
16
|
+
import { AiEmbeddings } from './resources/AiEmbeddings.js';
|
|
17
|
+
import { AiEmbeddingsBuckets } from './resources/AiEmbeddingsBuckets.js';
|
|
18
|
+
import { AiEmbeddingsSimilaritySearch } from './resources/AiEmbeddingsSimilaritySearch.js';
|
|
19
|
+
import { AiModels } from './resources/AiModels.js';
|
|
20
|
+
import { AiSummarize } from './resources/AiSummarize.js';
|
|
21
|
+
import { AuthenticationProviders } from './resources/AuthenticationProviders.js';
|
|
22
|
+
import { AvailablePhoneNumbers } from './resources/AvailablePhoneNumbers.js';
|
|
23
|
+
import { Balance } from './resources/Balance.js';
|
|
24
|
+
import { BillingGroups } from './resources/BillingGroups.js';
|
|
25
|
+
import { Brands } from './resources/Brands.js';
|
|
26
|
+
import { BulkCredentials } from './resources/BulkCredentials.js';
|
|
27
|
+
import { BulkSoleProprietorCreation } from './resources/BulkSoleProprietorCreation.js';
|
|
28
|
+
import { BulkTelephonyCredentials } from './resources/BulkTelephonyCredentials.js';
|
|
29
|
+
import { CallControlApplications } from './resources/CallControlApplications.js';
|
|
30
|
+
import { CallEvents } from './resources/CallEvents.js';
|
|
31
|
+
import { CallRecordings } from './resources/CallRecordings.js';
|
|
32
|
+
import { Calls } from './resources/Calls.js';
|
|
33
|
+
import { Campaign } from './resources/Campaign.js';
|
|
34
|
+
import { CampaignBuilder } from './resources/CampaignBuilder.js';
|
|
35
|
+
import { CdrUsageReports } from './resources/CdrUsageReports.js';
|
|
36
|
+
import { Channelzones } from './resources/Channelzones.js';
|
|
37
|
+
import { Conferences } from './resources/Conferences.js';
|
|
38
|
+
import { Connections } from './resources/Connections.js';
|
|
39
|
+
import { CredentialConnections } from './resources/CredentialConnections.js';
|
|
40
|
+
import { PhoneNumbersCsvDownloads } from './resources/PhoneNumbersCsvDownloads.js';
|
|
41
|
+
import { CustomerServiceRecords } from './resources/CustomerServiceRecords.js';
|
|
42
|
+
import { DetailRecords } from './resources/DetailRecords.js';
|
|
43
|
+
import { DialogflowConnections } from './resources/DialogflowConnections.js';
|
|
44
|
+
import { DocumentLinks } from './resources/DocumentLinks.js';
|
|
45
|
+
import { Documents } from './resources/Documents.js';
|
|
46
|
+
import { DynamicEmergency } from './resources/DynamicEmergency.js';
|
|
47
|
+
import { DynamicEmergencyAddresses } from './resources/DynamicEmergencyAddresses.js';
|
|
48
|
+
import { DynamicEmergencyEndpoints } from './resources/DynamicEmergencyEndpoints.js';
|
|
49
|
+
import { AuditEvents } from './resources/AuditEvents.js';
|
|
50
|
+
import { ExternalConnections } from './resources/ExternalConnections.js';
|
|
51
|
+
import { FaxApplications } from './resources/FaxApplications.js';
|
|
52
|
+
import { Faxes } from './resources/Faxes.js';
|
|
53
|
+
import { FqdnConnections } from './resources/FqdnConnections.js';
|
|
54
|
+
import { Fqdns } from './resources/Fqdns.js';
|
|
55
|
+
import { GlobalIps } from './resources/GlobalIps.js';
|
|
56
|
+
import { InventoryCoverage } from './resources/InventoryCoverage.js';
|
|
57
|
+
import { IpConnections } from './resources/IpConnections.js';
|
|
58
|
+
import { Ips } from './resources/Ips.js';
|
|
59
|
+
import { ManagedAccounts } from './resources/ManagedAccounts.js';
|
|
60
|
+
import { MdrDetailReports } from './resources/MdrDetailReports.js';
|
|
61
|
+
import { MdrUsageReports } from './resources/MdrUsageReports.js';
|
|
62
|
+
import { MediaStorageApi } from './resources/MediaStorageApi.js';
|
|
63
|
+
import { Messages } from './resources/Messages.js';
|
|
64
|
+
import { MessagingHostedNumberOrders } from './resources/MessagingHostedNumberOrders.js';
|
|
65
|
+
import { MessagingHostedNumbers } from './resources/MessagingHostedNumbers.js';
|
|
66
|
+
import { MessagingProfileMetrics } from './resources/MessagingProfileMetrics.js';
|
|
67
|
+
import { MessagingProfiles } from './resources/MessagingProfiles.js';
|
|
68
|
+
import { MessagingShortCodes } from './resources/MessagingShortCodes.js';
|
|
69
|
+
import { MessagingTollfreeVerification } from './resources/MessagingTollfreeVerification.js';
|
|
70
|
+
import { MessagingUrlDomains } from './resources/MessagingUrlDomains.js';
|
|
71
|
+
import { MobileNetworkOperators } from './resources/MobileNetworkOperators.js';
|
|
72
|
+
import { MobileOperatorNetworks } from './resources/MobileOperatorNetworks.js';
|
|
73
|
+
import { Networks } from './resources/Networks.js';
|
|
74
|
+
import { NotificationEvents } from './resources/NotificationEvents.js';
|
|
75
|
+
import { NumberBackgroundJobs } from './resources/NumberBackgroundJobs.js';
|
|
76
|
+
import { NumberLookup } from './resources/NumberLookup.js';
|
|
77
|
+
import { NumberOrders } from './resources/NumberOrders.js';
|
|
78
|
+
import { NumberPortouts } from './resources/NumberPortouts.js';
|
|
79
|
+
import { NumberReservations } from './resources/NumberReservations.js';
|
|
80
|
+
import { NumbersFeatures } from './resources/NumbersFeatures.js';
|
|
81
|
+
import { Object as ObjectResource } from './resources/Object.js';
|
|
82
|
+
import { OtaUpdates } from './resources/OtaUpdates.js';
|
|
83
|
+
import { OutboundVoiceProfiles } from './resources/OutboundVoiceProfiles.js';
|
|
84
|
+
import { Payment } from './resources/Payment.js';
|
|
85
|
+
import { PhoneNumberAssignmentByProfile } from './resources/PhoneNumberAssignmentByProfile.js';
|
|
86
|
+
import { PhoneNumberBlockOrders } from './resources/PhoneNumberBlockOrders.js';
|
|
87
|
+
import { PhoneNumberBlocksBackgroundJobs } from './resources/PhoneNumberBlocksBackgroundJobs.js';
|
|
88
|
+
import { PhoneNumberCampaigns } from './resources/PhoneNumberCampaigns.js';
|
|
89
|
+
import { PhoneNumbers } from './resources/PhoneNumbers.js';
|
|
90
|
+
import { PhoneNumbersInboundChannels } from './resources/PhoneNumbersInboundChannels.js';
|
|
91
|
+
import { PhoneNumbersMessaging } from './resources/PhoneNumbersMessaging.js';
|
|
92
|
+
import { PhoneNumbersRegulatoryRequirements } from './resources/PhoneNumbersRegulatoryRequirements.js';
|
|
93
|
+
import { PhoneNumbersSlim } from './resources/PhoneNumbersSlim.js';
|
|
94
|
+
import { PhoneNumbersVoice } from './resources/PhoneNumbersVoice.js';
|
|
95
|
+
import { PortabilityChecks } from './resources/PortabilityChecks.js';
|
|
96
|
+
import { PortingEvents } from './resources/PortingEvents.js';
|
|
97
|
+
import { PortingLoaConfigurations } from './resources/PortingLoaConfigurations.js';
|
|
98
|
+
import { PortingReports } from './resources/PortingReports.js';
|
|
99
|
+
import { PortoutEvents } from './resources/PortoutEvents.js';
|
|
100
|
+
import { PortingOrders } from './resources/PortingOrders.js';
|
|
101
|
+
import { PortingPhoneNumbers } from './resources/PortingPhoneNumbers.js';
|
|
102
|
+
import { PortoutRequests } from './resources/PortoutRequests.js';
|
|
103
|
+
import { PresignedObjectUrls } from './resources/PresignedObjectUrls.js';
|
|
104
|
+
import { PrivateWirelessGateways } from './resources/PrivateWirelessGateways.js';
|
|
105
|
+
import { PublicInternetGateways } from './resources/PublicInternetGateways.js';
|
|
106
|
+
import { PushCredentials } from './resources/PushCredentials.js';
|
|
107
|
+
import { Queues } from './resources/Queues.js';
|
|
108
|
+
import { RecordingsCommands } from './resources/RecordingsCommands.js';
|
|
109
|
+
import { Regions } from './resources/Regions.js';
|
|
110
|
+
import { RegulatoryRequirements } from './resources/RegulatoryRequirements.js';
|
|
111
|
+
import { Reporting } from './resources/Reporting.js';
|
|
112
|
+
import { Reports } from './resources/Reports.js';
|
|
113
|
+
import { ReportsMdrs } from './resources/ReportsMdrs.js';
|
|
114
|
+
import { Requirements } from './resources/Requirements.js';
|
|
115
|
+
import { RequirementTypes } from './resources/RequirementTypes.js';
|
|
116
|
+
import { RoomCompositions } from './resources/RoomCompositions.js';
|
|
117
|
+
import { RoomParticipants } from './resources/RoomParticipants.js';
|
|
118
|
+
import { RoomRecordings } from './resources/RoomRecordings.js';
|
|
119
|
+
import { Rooms } from './resources/Rooms.js';
|
|
120
|
+
import { RoomsClientToken } from './resources/RoomsClientToken.js';
|
|
121
|
+
import { RoomsClientTokens } from './resources/RoomsClientTokens.js';
|
|
122
|
+
import { RoomSessions } from './resources/RoomSessions.js';
|
|
123
|
+
import { SharedCampaigns } from './resources/SharedCampaigns.js';
|
|
124
|
+
import { ShortCodes } from './resources/ShortCodes.js';
|
|
125
|
+
import { SimCardActions } from './resources/SimCardActions.js';
|
|
126
|
+
import { SimCardGroupActions } from './resources/SimCardGroupActions.js';
|
|
127
|
+
import { SimCardGroups } from './resources/SimCardGroups.js';
|
|
128
|
+
import { SimCardOrders } from './resources/SimCardOrders.js';
|
|
129
|
+
import { SimCards } from './resources/SimCards.js';
|
|
130
|
+
import { StorageBuckets } from './resources/StorageBuckets.js';
|
|
131
|
+
import { TelephonyCredentials } from './resources/TelephonyCredentials.js';
|
|
132
|
+
import { Texml } from './resources/Texml.js';
|
|
133
|
+
import { TexmlApplications } from './resources/TexmlApplications.js';
|
|
134
|
+
import { Verifications } from './resources/Verifications.js';
|
|
135
|
+
import { VerifiedNumbers } from './resources/VerifiedNumbers.js';
|
|
136
|
+
import { VerifyProfiles } from './resources/VerifyProfiles.js';
|
|
137
|
+
import { VirtualCrossConnects } from './resources/VirtualCrossConnects.js';
|
|
138
|
+
import { WdrDetailReports } from './resources/WdrDetailReports.js';
|
|
139
|
+
import { Webhooks as WebhooksResource } from './resources/Webhooks.js';
|
|
140
|
+
import { WireguardInterfaces } from './resources/WireguardInterfaces.js';
|
|
141
|
+
import { WirelessDetailRecordReports } from './resources/WirelessDetailRecordReports.js';
|
|
144
142
|
//
|
|
145
|
-
import TelnyxResource from './TelnyxResource';
|
|
146
|
-
import * as _Error from './Error';
|
|
147
|
-
import Webhooks from './Webhooks';
|
|
148
|
-
import { AvailablePhoneNumbersBlocks } from './resources/AvailablePhoneNumbersBlocks';
|
|
143
|
+
import TelnyxResource from './TelnyxResource.js';
|
|
144
|
+
import * as _Error from './Error.js';
|
|
145
|
+
import Webhooks from './Webhooks.js';
|
|
146
|
+
import { AvailablePhoneNumbersBlocks } from './resources/AvailablePhoneNumbersBlocks.js';
|
|
149
147
|
export function createTelnyx() {
|
|
150
148
|
Telnyx.DEFAULT_HOST = process.env.TELNYX_API_BASE || 'api.telnyx.com';
|
|
151
149
|
Telnyx.DEFAULT_PORT = '443';
|
|
@@ -239,7 +237,6 @@ export function createTelnyx() {
|
|
|
239
237
|
NotificationEvents,
|
|
240
238
|
NumberBackgroundJobs,
|
|
241
239
|
NumberLookup,
|
|
242
|
-
NumberOrderDocuments,
|
|
243
240
|
NumberOrders,
|
|
244
241
|
NumberPortouts,
|
|
245
242
|
NumberReservations,
|
|
@@ -252,7 +249,6 @@ export function createTelnyx() {
|
|
|
252
249
|
PhoneNumberBlockOrders,
|
|
253
250
|
PhoneNumberBlocksBackgroundJobs,
|
|
254
251
|
PhoneNumberCampaigns,
|
|
255
|
-
PhoneNumberOrderDocuments,
|
|
256
252
|
PhoneNumbersRegulatoryRequirements,
|
|
257
253
|
PhoneNumbersSlim,
|
|
258
254
|
PhoneNumbers,
|
package/dist/telnyx.node.js
CHANGED
package/dist/types/Events.d.ts
CHANGED
|
@@ -49,8 +49,12 @@ declare module 'telnyx' {
|
|
|
49
49
|
components['schemas']['CallStreamingStoppedEvent'];
|
|
50
50
|
type CampaignStatusUpdateEvent =
|
|
51
51
|
components['schemas']['CampaignStatusUpdateEvent'];
|
|
52
|
-
type
|
|
53
|
-
components['schemas']['
|
|
52
|
+
type CallSiprecFailedEvent =
|
|
53
|
+
components['schemas']['CallSiprecFailedEvent'];
|
|
54
|
+
type CallSiprecStartedEvent =
|
|
55
|
+
components['schemas']['CallSiprecStartedEvent'];
|
|
56
|
+
type CallSiprecStoppedEvent =
|
|
57
|
+
components['schemas']['CallSiprecStoppedEvent'];
|
|
54
58
|
type ConferenceCreatedEvent =
|
|
55
59
|
components['schemas']['ConferenceCreatedEvent'];
|
|
56
60
|
type ConferenceEndedEvent = components['schemas']['ConferenceEndedEvent'];
|
|
@@ -81,21 +85,16 @@ declare module 'telnyx' {
|
|
|
81
85
|
type CustomerServiceRecordStatusChangedEvent =
|
|
82
86
|
components['schemas']['CustomerServiceRecordStatusChangedEvent'];
|
|
83
87
|
type InboundMessageEvent = components['schemas']['InboundMessageEvent'];
|
|
88
|
+
type NotificationEvent = components['schemas']['NotificationEvent'];
|
|
84
89
|
type NumberOrderBlockEvent =
|
|
85
90
|
components['schemas']['NumberOrderBlockEvent'];
|
|
86
91
|
type NumberOrderedEvent = components['schemas']['NumberOrderedEvent'];
|
|
87
92
|
type OutboundMessageEvent = components['schemas']['OutboundMessageEvent'];
|
|
88
|
-
type
|
|
89
|
-
|
|
90
|
-
type
|
|
91
|
-
type RecordingCompletedEvent =
|
|
92
|
-
components['schemas']['RecordingCompletedEvent'];
|
|
93
|
-
type RecordingStartedEvent =
|
|
94
|
-
components['schemas']['RecordingStartedEvent'];
|
|
93
|
+
type PortingEvent = components['schemas']['PortingEvent'];
|
|
94
|
+
type PortoutEvent = components['schemas']['PortoutEvent'];
|
|
95
|
+
type RCSEvent = components['schemas']['RCSEvent'];
|
|
95
96
|
type ReplacedLinkClickEvent =
|
|
96
97
|
components['schemas']['ReplacedLinkClickEvent'];
|
|
97
|
-
type SessionEndedEvent = components['schemas']['SessionEndedEvent'];
|
|
98
|
-
type SessionStartedEvent = components['schemas']['SessionStartedEvent'];
|
|
99
98
|
type TranscriptionEvent = components['schemas']['TranscriptionEvent'];
|
|
100
99
|
}
|
|
101
100
|
}
|
|
@@ -3,19 +3,19 @@ import {paths} from './TelnyxAPI.js';
|
|
|
3
3
|
declare module 'telnyx' {
|
|
4
4
|
namespace Telnyx {
|
|
5
5
|
type PortoutEventsListParams =
|
|
6
|
-
paths['/
|
|
6
|
+
paths['/portouts/events']['get']['parameters']['query'];
|
|
7
7
|
|
|
8
8
|
type PortoutEventsListResponse =
|
|
9
|
-
paths['/
|
|
9
|
+
paths['/portouts/events']['get']['responses']['200']['content']['application/json'];
|
|
10
10
|
|
|
11
11
|
type PortoutEventsRetrieveId =
|
|
12
|
-
paths['/
|
|
12
|
+
paths['/portouts/events/{id}']['get']['parameters']['path']['id'];
|
|
13
13
|
|
|
14
14
|
type PortoutEventsRetrieveParams =
|
|
15
|
-
paths['/
|
|
15
|
+
paths['/portouts/events/{id}']['get']['parameters']['query'];
|
|
16
16
|
|
|
17
17
|
type PortoutEventsRetrieveResponse =
|
|
18
|
-
paths['/
|
|
18
|
+
paths['/portouts/events/{id}']['get']['responses']['200']['content']['application/json'];
|
|
19
19
|
|
|
20
20
|
type PortoutEventsRepublishId =
|
|
21
21
|
paths['/porting/events/{id}/republish']['post']['parameters']['path']['id'];
|
|
@@ -50,12 +50,6 @@ declare module 'telnyx' {
|
|
|
50
50
|
type TelephonyCredentialsCreateTokenResponse =
|
|
51
51
|
paths['/telephony_credentials/{id}/token']['post']['responses']['201']['content']['text/plain'];
|
|
52
52
|
|
|
53
|
-
type TelephonyCredentialsListTagsParams =
|
|
54
|
-
paths['/telephony_credentials/tags']['get']['parameters']['query'];
|
|
55
|
-
|
|
56
|
-
type TelephonyCredentialsListTagsResponse =
|
|
57
|
-
paths['/telephony_credentials/tags']['get']['responses']['200']['content']['application/json'];
|
|
58
|
-
|
|
59
53
|
class TelephonyCredentialsResource {
|
|
60
54
|
list(
|
|
61
55
|
params?: TelephonyCredentialsListParams,
|
|
@@ -89,11 +83,6 @@ declare module 'telnyx' {
|
|
|
89
83
|
): Promise<
|
|
90
84
|
Telnyx.Response<Telnyx.TelephonyCredentialsCreateTokenResponse>
|
|
91
85
|
>;
|
|
92
|
-
|
|
93
|
-
listTags(
|
|
94
|
-
params?: TelephonyCredentialsListTagsParams,
|
|
95
|
-
options?: RequestOptions,
|
|
96
|
-
): Promise<Telnyx.Response<Telnyx.TelephonyCredentialsListTagsResponse>>;
|
|
97
86
|
}
|
|
98
87
|
}
|
|
99
88
|
}
|