telnyx 2.0.0-beta.3 → 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 +18 -0
- package/README.md +16 -2
- 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 -3
- package/dist/resources/ManagedAccounts.js +2 -3
- 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 -4
- 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 +2 -1
- package/dist/resources/PortingEvents.js +7 -1
- package/dist/resources/PortingLoaConfigurations.js +12 -0
- package/dist/resources/PortingOrders.js +170 -17
- package/dist/resources/PortingPhoneNumbers.js +1 -1
- package/dist/resources/PortingReports.js +5 -0
- 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 -3
- package/dist/resources/SimCardOrders.js +1 -1
- package/dist/resources/SimCards.js +2 -24
- 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 +142 -142
- package/dist/telnyx.node.js +1 -1
- package/dist/types/Events.d.ts +10 -11
- package/dist/types/PortabilityChecksResource.d.ts +18 -0
- package/dist/types/PortingEventsResource.d.ts +5 -0
- package/dist/types/PortingLoaConfigurationsResource.d.ts +91 -0
- package/dist/types/PortingOrdersResource.d.ts +72 -0
- package/dist/types/PortingPhoneNumbersResource.d.ts +18 -0
- package/dist/types/PortingReportsResource.d.ts +40 -0
- 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/dist/types/index.d.ts +10 -0
- package/package.json +1 -1
- package/dist/resources/NumberOrderDocuments.js +0 -10
- package/dist/resources/PhoneNumberOrderDocuments.js +0 -15
package/dist/resources/Rooms.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import TelnyxResource from '../TelnyxResource';
|
|
2
|
-
import * as utils from '../utils';
|
|
1
|
+
import TelnyxResource from '../TelnyxResource.js';
|
|
2
|
+
import * as utils from '../utils.js';
|
|
3
3
|
const telnyxMethod = TelnyxResource.method;
|
|
4
4
|
function transformResponseData(response, telnyx) {
|
|
5
5
|
return utils.addResourceToResponseData(response, telnyx, 'shortCodes', {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import TelnyxResource from '../TelnyxResource';
|
|
2
|
-
import * as utils from '../utils';
|
|
1
|
+
import TelnyxResource from '../TelnyxResource.js';
|
|
2
|
+
import * as utils from '../utils.js';
|
|
3
3
|
const telnyxMethod = TelnyxResource.method;
|
|
4
4
|
function transformResponseData(response, telnyx) {
|
|
5
5
|
return utils.addResourceToResponseData(response, telnyx, 'simCardGroups', {
|
|
@@ -24,7 +24,6 @@ export const SimCardGroups = TelnyxResource.extend({
|
|
|
24
24
|
list: telnyxMethod({
|
|
25
25
|
method: 'GET',
|
|
26
26
|
methodType: 'list',
|
|
27
|
-
transformResponseData: transformResponseData,
|
|
28
27
|
}),
|
|
29
28
|
create: telnyxMethod({
|
|
30
29
|
method: 'POST',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import TelnyxResource from '../TelnyxResource';
|
|
2
|
-
import * as utils from '../utils';
|
|
1
|
+
import TelnyxResource from '../TelnyxResource.js';
|
|
2
|
+
import * as utils from '../utils.js';
|
|
3
3
|
const telnyxMethod = TelnyxResource.method;
|
|
4
4
|
function transformResponseData(response, telnyx) {
|
|
5
5
|
return utils.addResourceToResponseData(response, telnyx, 'simCards', {
|
|
@@ -52,27 +52,6 @@ function transformResponseData(response, telnyx) {
|
|
|
52
52
|
paramsValues: [response.data.id],
|
|
53
53
|
paramsNames: ['id'],
|
|
54
54
|
}),
|
|
55
|
-
retrieveNetworkPreferences: telnyxMethod({
|
|
56
|
-
method: 'GET',
|
|
57
|
-
path: '/{sim_card_id}/network_preferences',
|
|
58
|
-
urlParams: ['sim_card_id'],
|
|
59
|
-
paramsValues: [response.data.id],
|
|
60
|
-
paramsNames: ['id'],
|
|
61
|
-
}),
|
|
62
|
-
setNetworkPreferences: telnyxMethod({
|
|
63
|
-
method: 'PUT',
|
|
64
|
-
path: '/{sim_card_id}/network_preferences',
|
|
65
|
-
urlParams: ['sim_card_id'],
|
|
66
|
-
paramsValues: [response.data.id],
|
|
67
|
-
paramsNames: ['id'],
|
|
68
|
-
}),
|
|
69
|
-
deleteNetworkPreferences: telnyxMethod({
|
|
70
|
-
method: 'DELETE',
|
|
71
|
-
path: '/{sim_card_id}/network_preferences',
|
|
72
|
-
urlParams: ['sim_card_id'],
|
|
73
|
-
paramsValues: [response.data.id],
|
|
74
|
-
paramsNames: ['id'],
|
|
75
|
-
}),
|
|
76
55
|
retrievePublicIP: telnyxMethod({
|
|
77
56
|
method: 'GET',
|
|
78
57
|
path: '/{sim_card_id}/public_ip',
|
|
@@ -88,7 +67,6 @@ export const SimCards = TelnyxResource.extend({
|
|
|
88
67
|
list: telnyxMethod({
|
|
89
68
|
method: 'GET',
|
|
90
69
|
methodType: 'list',
|
|
91
|
-
transformResponseData: transformResponseData,
|
|
92
70
|
}),
|
|
93
71
|
create: telnyxMethod({
|
|
94
72
|
method: 'POST',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import TelnyxResource from '../TelnyxResource';
|
|
2
|
-
import * as utils from '../utils';
|
|
1
|
+
import TelnyxResource from '../TelnyxResource.js';
|
|
2
|
+
import * as utils from '../utils.js';
|
|
3
3
|
const telnyxMethod = TelnyxResource.method;
|
|
4
4
|
function transformResponseData(response, telnyx) {
|
|
5
5
|
return utils.addResourceToResponseData(response, telnyx, 'telephonyCredentials', {
|
|
@@ -30,8 +30,4 @@ export const TelephonyCredentials = TelnyxResource.extend({
|
|
|
30
30
|
path: '/{id}/token',
|
|
31
31
|
urlParams: ['id'],
|
|
32
32
|
}),
|
|
33
|
-
listTags: telnyxMethod({
|
|
34
|
-
method: 'GET',
|
|
35
|
-
path: '/tags',
|
|
36
|
-
}),
|
|
37
33
|
});
|
package/dist/resources/Texml.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import TelnyxResource from '../TelnyxResource';
|
|
2
|
-
import * as utils from '../utils';
|
|
1
|
+
import TelnyxResource from '../TelnyxResource.js';
|
|
2
|
+
import * as utils from '../utils.js';
|
|
3
3
|
const telnyxMethod = TelnyxResource.method;
|
|
4
4
|
function transformResponseData(response, telnyx) {
|
|
5
5
|
return utils.addResourceToResponseData(response, telnyx, 'texmlApplications', {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import TelnyxResource from '../TelnyxResource';
|
|
2
|
-
import * as utils from '../utils';
|
|
1
|
+
import TelnyxResource from '../TelnyxResource.js';
|
|
2
|
+
import * as utils from '../utils.js';
|
|
3
3
|
const telnyxMethod = TelnyxResource.method;
|
|
4
4
|
const transformResponseData = (response, telnyx) => {
|
|
5
5
|
return utils.addResourceToResponseData(response, telnyx, 'verifiedNumbers', {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import TelnyxResource from '../TelnyxResource';
|
|
2
|
-
import * as utils from '../utils';
|
|
1
|
+
import TelnyxResource from '../TelnyxResource.js';
|
|
2
|
+
import * as utils from '../utils.js';
|
|
3
3
|
const telnyxMethod = TelnyxResource.method;
|
|
4
4
|
const transformResponseData = (response, telnyx) => {
|
|
5
5
|
return utils.addResourceToResponseData(response, telnyx, 'verifiedNumbers', {
|
package/dist/telnyx.js
CHANGED
|
@@ -2,148 +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 { PortoutEvents } from './resources/PortoutEvents';
|
|
100
|
-
import { PortingOrders } from './resources/PortingOrders';
|
|
101
|
-
import { PortingPhoneNumbers } from './resources/PortingPhoneNumbers';
|
|
102
|
-
import { PortoutRequests } from './resources/PortoutRequests';
|
|
103
|
-
import { PresignedObjectUrls } from './resources/PresignedObjectUrls';
|
|
104
|
-
import { PrivateWirelessGateways } from './resources/PrivateWirelessGateways';
|
|
105
|
-
import { PublicInternetGateways } from './resources/PublicInternetGateways';
|
|
106
|
-
import { PushCredentials } from './resources/PushCredentials';
|
|
107
|
-
import { Queues } from './resources/Queues';
|
|
108
|
-
import { RecordingsCommands } from './resources/RecordingsCommands';
|
|
109
|
-
import { Regions } from './resources/Regions';
|
|
110
|
-
import { RegulatoryRequirements } from './resources/RegulatoryRequirements';
|
|
111
|
-
import { Reporting } from './resources/Reporting';
|
|
112
|
-
import { Reports } from './resources/Reports';
|
|
113
|
-
import { ReportsMdrs } from './resources/ReportsMdrs';
|
|
114
|
-
import { Requirements } from './resources/Requirements';
|
|
115
|
-
import { RequirementTypes } from './resources/RequirementTypes';
|
|
116
|
-
import { RoomCompositions } from './resources/RoomCompositions';
|
|
117
|
-
import { RoomParticipants } from './resources/RoomParticipants';
|
|
118
|
-
import { RoomRecordings } from './resources/RoomRecordings';
|
|
119
|
-
import { Rooms } from './resources/Rooms';
|
|
120
|
-
import { RoomsClientToken } from './resources/RoomsClientToken';
|
|
121
|
-
import { RoomsClientTokens } from './resources/RoomsClientTokens';
|
|
122
|
-
import { RoomSessions } from './resources/RoomSessions';
|
|
123
|
-
import { SharedCampaigns } from './resources/SharedCampaigns';
|
|
124
|
-
import { ShortCodes } from './resources/ShortCodes';
|
|
125
|
-
import { SimCardActions } from './resources/SimCardActions';
|
|
126
|
-
import { SimCardGroupActions } from './resources/SimCardGroupActions';
|
|
127
|
-
import { SimCardGroups } from './resources/SimCardGroups';
|
|
128
|
-
import { SimCardOrders } from './resources/SimCardOrders';
|
|
129
|
-
import { SimCards } from './resources/SimCards';
|
|
130
|
-
import { StorageBuckets } from './resources/StorageBuckets';
|
|
131
|
-
import { TelephonyCredentials } from './resources/TelephonyCredentials';
|
|
132
|
-
import { Texml } from './resources/Texml';
|
|
133
|
-
import { TexmlApplications } from './resources/TexmlApplications';
|
|
134
|
-
import { Verifications } from './resources/Verifications';
|
|
135
|
-
import { VerifiedNumbers } from './resources/VerifiedNumbers';
|
|
136
|
-
import { VerifyProfiles } from './resources/VerifyProfiles';
|
|
137
|
-
import { VirtualCrossConnects } from './resources/VirtualCrossConnects';
|
|
138
|
-
import { WdrDetailReports } from './resources/WdrDetailReports';
|
|
139
|
-
import { Webhooks as WebhooksResource } from './resources/Webhooks';
|
|
140
|
-
import { WireguardInterfaces } from './resources/WireguardInterfaces';
|
|
141
|
-
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';
|
|
142
142
|
//
|
|
143
|
-
import TelnyxResource from './TelnyxResource';
|
|
144
|
-
import * as _Error from './Error';
|
|
145
|
-
import Webhooks from './Webhooks';
|
|
146
|
-
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';
|
|
147
147
|
export function createTelnyx() {
|
|
148
148
|
Telnyx.DEFAULT_HOST = process.env.TELNYX_API_BASE || 'api.telnyx.com';
|
|
149
149
|
Telnyx.DEFAULT_PORT = '443';
|
|
@@ -237,7 +237,6 @@ export function createTelnyx() {
|
|
|
237
237
|
NotificationEvents,
|
|
238
238
|
NumberBackgroundJobs,
|
|
239
239
|
NumberLookup,
|
|
240
|
-
NumberOrderDocuments,
|
|
241
240
|
NumberOrders,
|
|
242
241
|
NumberPortouts,
|
|
243
242
|
NumberReservations,
|
|
@@ -250,7 +249,6 @@ export function createTelnyx() {
|
|
|
250
249
|
PhoneNumberBlockOrders,
|
|
251
250
|
PhoneNumberBlocksBackgroundJobs,
|
|
252
251
|
PhoneNumberCampaigns,
|
|
253
|
-
PhoneNumberOrderDocuments,
|
|
254
252
|
PhoneNumbersRegulatoryRequirements,
|
|
255
253
|
PhoneNumbersSlim,
|
|
256
254
|
PhoneNumbers,
|
|
@@ -261,7 +259,9 @@ export function createTelnyx() {
|
|
|
261
259
|
PortingEvents,
|
|
262
260
|
PortoutEvents,
|
|
263
261
|
PortabilityChecks,
|
|
262
|
+
PortingLoaConfigurations,
|
|
264
263
|
PortingOrders,
|
|
264
|
+
PortingReports,
|
|
265
265
|
PortingPhoneNumbers,
|
|
266
266
|
PortoutRequests,
|
|
267
267
|
PresignedObjectUrls,
|
package/dist/telnyx.node.js
CHANGED