twilio 5.5.0 → 5.5.2
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/lib/rest/Knowledge.d.ts +4 -0
- package/lib/rest/Knowledge.js +8 -0
- package/lib/rest/KnowledgeBase.d.ts +13 -0
- package/lib/rest/KnowledgeBase.js +31 -0
- package/lib/rest/PreviewBase.d.ts +0 -3
- package/lib/rest/PreviewBase.js +0 -5
- package/lib/rest/Twilio.d.ts +5 -0
- package/lib/rest/Twilio.js +5 -0
- package/lib/rest/accounts/v1/safelist.d.ts +4 -4
- package/lib/rest/api/v2010/account/address/dependentPhoneNumber.d.ts +3 -0
- package/lib/rest/api/v2010/account/call/recording.d.ts +6 -0
- package/lib/rest/api/v2010/account/call/siprec.d.ts +3 -0
- package/lib/rest/api/v2010/account/call/stream.d.ts +3 -0
- package/lib/rest/api/v2010/account/call/transcription.d.ts +3 -0
- package/lib/rest/api/v2010/account/call.d.ts +3 -0
- package/lib/rest/api/v2010/account/conference/participant.d.ts +4 -1
- package/lib/rest/api/v2010/account/conference/recording.d.ts +6 -0
- package/lib/rest/api/v2010/account/conference.d.ts +7 -1
- package/lib/rest/api/v2010/account/incomingPhoneNumber/local.d.ts +6 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.d.ts +6 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.d.ts +6 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber.d.ts +6 -0
- package/lib/rest/api/v2010/account/message/feedback.d.ts +3 -0
- package/lib/rest/api/v2010/account/message.d.ts +9 -0
- package/lib/rest/api/v2010/account/message.js +2 -0
- package/lib/rest/api/v2010/account/recording/addOnResult.d.ts +3 -0
- package/lib/rest/api/v2010/account/recording/transcription.d.ts +3 -0
- package/lib/rest/api/v2010/account/recording.d.ts +6 -0
- package/lib/rest/api/v2010/account/transcription.d.ts +3 -0
- package/lib/rest/api/v2010/account/usage/record/allTime.d.ts +3 -0
- package/lib/rest/api/v2010/account/usage/record/daily.d.ts +3 -0
- package/lib/rest/api/v2010/account/usage/record/lastMonth.d.ts +3 -0
- package/lib/rest/api/v2010/account/usage/record/monthly.d.ts +3 -0
- package/lib/rest/api/v2010/account/usage/record/thisMonth.d.ts +3 -0
- package/lib/rest/api/v2010/account/usage/record/today.d.ts +3 -0
- package/lib/rest/api/v2010/account/usage/record/yearly.d.ts +3 -0
- package/lib/rest/api/v2010/account/usage/record/yesterday.d.ts +3 -0
- package/lib/rest/api/v2010/account/usage/record.d.ts +3 -0
- package/lib/rest/api/v2010/account/usage/trigger.d.ts +6 -0
- package/lib/rest/api/v2010/account/usage.d.ts +3 -0
- package/lib/rest/api/v2010/account.d.ts +6 -0
- package/lib/rest/chat/v2/service/binding.d.ts +3 -0
- package/lib/rest/chat/v2/service/channel/webhook.d.ts +3 -0
- package/lib/rest/chat/v2/service/user/userBinding.d.ts +3 -0
- package/lib/rest/chat/v2/service/user/userChannel.d.ts +3 -0
- package/lib/rest/conversations/v1/addressConfiguration.d.ts +3 -0
- package/lib/rest/conversations/v1/configuration/webhook.d.ts +6 -0
- package/lib/rest/conversations/v1/conversation/webhook.d.ts +3 -0
- package/lib/rest/conversations/v1/conversation.d.ts +3 -0
- package/lib/rest/conversations/v1/conversationWithParticipants.d.ts +3 -0
- package/lib/rest/conversations/v1/service/binding.d.ts +3 -0
- package/lib/rest/conversations/v1/service/configuration/webhook.d.ts +3 -0
- package/lib/rest/conversations/v1/service/conversation/webhook.d.ts +3 -0
- package/lib/rest/conversations/v1/service/conversation.d.ts +3 -0
- package/lib/rest/conversations/v1/service/conversationWithParticipants.d.ts +3 -0
- package/lib/rest/conversations/v1/service/user/userConversation.d.ts +3 -0
- package/lib/rest/conversations/v1/user/userConversation.d.ts +3 -0
- package/lib/rest/events/v1/sink.d.ts +6 -0
- package/lib/rest/flexApi/v1/configuration.d.ts +3 -0
- package/lib/rest/flexApi/v1/flexFlow.d.ts +6 -0
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +3 -0
- package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +3 -0
- package/lib/rest/flexApi/v1/provisioningStatus.d.ts +3 -0
- package/lib/rest/flexApi/v2/flexUser.d.ts +0 -24
- package/lib/rest/flexApi/v2/flexUser.js +0 -12
- package/lib/rest/iam/V1.d.ts +5 -0
- package/lib/rest/iam/V1.js +6 -0
- package/lib/rest/iam/v1/token.d.ts +88 -0
- package/lib/rest/iam/v1/token.js +99 -0
- package/lib/rest/insights/v1/room/participant.d.ts +2 -2
- package/lib/rest/insights/v1/room.d.ts +2 -2
- package/lib/rest/intelligence/v2/customOperator.d.ts +3 -0
- package/lib/rest/intelligence/v2/operator.d.ts +3 -0
- package/lib/rest/intelligence/v2/operatorType.d.ts +9 -0
- package/lib/rest/intelligence/v2/prebuiltOperator.d.ts +3 -0
- package/lib/rest/intelligence/v2/transcript/operatorResult.d.ts +3 -0
- package/lib/rest/intelligence/v2/transcript.d.ts +3 -0
- package/lib/rest/knowledge/V1.d.ts +15 -0
- package/lib/rest/{preview/Sync.js → knowledge/V1.js} +11 -11
- package/lib/rest/knowledge/v1/knowledge/chunk.d.ts +167 -0
- package/lib/rest/knowledge/v1/knowledge/chunk.js +131 -0
- package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.d.ts +101 -0
- package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.js +118 -0
- package/lib/rest/knowledge/v1/knowledge.d.ts +406 -0
- package/lib/rest/{preview/sync/service/document.js → knowledge/v1/knowledge.js} +102 -91
- package/lib/rest/lookups/v1/phoneNumber.d.ts +1 -1
- package/lib/rest/messaging/v1/brandRegistration/brandVetting.d.ts +3 -0
- package/lib/rest/messaging/v1/brandRegistration.d.ts +9 -0
- package/lib/rest/messaging/v1/service.d.ts +3 -0
- package/lib/rest/messaging/v1/tollfreeVerification.d.ts +6 -0
- package/lib/rest/monitor/v1/event.d.ts +1 -1
- package/lib/rest/notify/v1/service/binding.d.ts +3 -0
- package/lib/rest/notify/v1/service/notification.d.ts +3 -0
- package/lib/rest/numbers/v1/portingPortability.d.ts +3 -0
- package/lib/rest/numbers/v1/portingWebhookConfigurationDelete.d.ts +3 -0
- package/lib/rest/numbers/v2/authorizationDocument/dependentHostedNumberOrder.d.ts +3 -0
- package/lib/rest/numbers/v2/authorizationDocument.d.ts +3 -0
- package/lib/rest/numbers/v2/bulkHostedNumberOrder.d.ts +3 -0
- package/lib/rest/numbers/v2/bundleClone.d.ts +3 -0
- package/lib/rest/numbers/v2/hostedNumberOrder.d.ts +6 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.d.ts +3 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.d.ts +3 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.d.ts +3 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle.d.ts +3 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/endUser.d.ts +3 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/regulation.d.ts +3 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +3 -0
- package/lib/rest/numbers/v2/regulatoryCompliance.d.ts +3 -0
- package/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.d.ts +6 -0
- package/lib/rest/preview/hosted_numbers/authorizationDocument.d.ts +3 -0
- package/lib/rest/preview/hosted_numbers/hostedNumberOrder.d.ts +6 -0
- package/lib/rest/proxy/v1/service/session/interaction.d.ts +3 -0
- package/lib/rest/proxy/v1/service/session/participant/messageInteraction.d.ts +3 -0
- package/lib/rest/proxy/v1/service/session.d.ts +6 -0
- package/lib/rest/proxy/v1/service.d.ts +6 -0
- package/lib/rest/serverless/v1/service/asset/assetVersion.d.ts +3 -0
- package/lib/rest/serverless/v1/service/build/buildStatus.d.ts +3 -0
- package/lib/rest/serverless/v1/service/build.d.ts +6 -0
- package/lib/rest/serverless/v1/service/environment/log.d.ts +3 -0
- package/lib/rest/serverless/v1/service/function/functionVersion.d.ts +3 -0
- package/lib/rest/studio/v1/flow/engagement/step.d.ts +6 -0
- package/lib/rest/studio/v1/flow/engagement/step.js +2 -0
- package/lib/rest/studio/v1/flow/engagement.d.ts +3 -0
- package/lib/rest/studio/v1/flow/execution/executionStep.d.ts +6 -0
- package/lib/rest/studio/v1/flow/execution/executionStep.js +2 -0
- package/lib/rest/studio/v1/flow/execution.d.ts +3 -0
- package/lib/rest/studio/v1/flow.d.ts +3 -0
- package/lib/rest/studio/v2/flow/execution/executionStep.d.ts +6 -0
- package/lib/rest/studio/v2/flow/execution/executionStep.js +2 -0
- package/lib/rest/studio/v2/flow/execution.d.ts +3 -0
- package/lib/rest/studio/v2/flow/flowRevision.d.ts +3 -0
- package/lib/rest/studio/v2/flow.d.ts +3 -0
- package/lib/rest/supersim/v1/esimProfile.d.ts +3 -0
- package/lib/rest/supersim/v1/fleet.d.ts +3 -0
- package/lib/rest/supersim/v1/ipCommand.d.ts +9 -0
- package/lib/rest/supersim/v1/settingsUpdate.d.ts +3 -0
- package/lib/rest/supersim/v1/sim/simIpAddress.d.ts +3 -0
- package/lib/rest/supersim/v1/sim.d.ts +3 -0
- package/lib/rest/supersim/v1/smsCommand.d.ts +6 -0
- package/lib/rest/taskrouter/v1/workspace/task/reservation.d.ts +1 -1
- package/lib/rest/taskrouter/v1/workspace/taskQueue.d.ts +3 -0
- package/lib/rest/taskrouter/v1/workspace/worker/reservation.d.ts +1 -1
- package/lib/rest/trunking/v1/trunk.d.ts +3 -0
- package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.d.ts +3 -0
- package/lib/rest/trusthub/v1/customerProfiles.d.ts +3 -0
- package/lib/rest/trusthub/v1/supportingDocument.d.ts +3 -0
- package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.d.ts +3 -0
- package/lib/rest/trusthub/v1/trustProducts.d.ts +3 -0
- package/lib/rest/verify/v2/service/verification.d.ts +6 -0
- package/lib/rest/verify/v2/service/verificationCheck.d.ts +3 -0
- package/lib/rest/verify/v2/service/webhook.d.ts +6 -0
- package/lib/rest/verify/v2/verificationAttempt.d.ts +3 -0
- package/lib/rest/video/v1/composition.d.ts +6 -0
- package/lib/rest/video/v1/compositionHook.d.ts +3 -0
- package/lib/rest/video/v1/recording.d.ts +9 -0
- package/lib/rest/video/v1/room/participant/anonymize.d.ts +3 -0
- package/lib/rest/video/v1/room/participant/publishedTrack.d.ts +3 -0
- package/lib/rest/video/v1/room/participant/subscribedTrack.d.ts +3 -0
- package/lib/rest/video/v1/room/participant.d.ts +4 -1
- package/lib/rest/video/v1/room/roomRecording.d.ts +9 -0
- package/lib/rest/wireless/v1/command.d.ts +12 -0
- package/lib/rest/wireless/v1/ratePlan.d.ts +6 -0
- package/lib/rest/wireless/v1/ratePlan.js +2 -0
- package/lib/rest/wireless/v1/sim.d.ts +6 -0
- package/package.json +1 -1
- package/lib/rest/preview/Sync.d.ts +0 -15
- package/lib/rest/preview/sync/service/document/documentPermission.d.ts +0 -280
- package/lib/rest/preview/sync/service/document/documentPermission.js +0 -260
- package/lib/rest/preview/sync/service/document.d.ts +0 -295
- package/lib/rest/preview/sync/service/syncList/syncListItem.d.ts +0 -321
- package/lib/rest/preview/sync/service/syncList/syncListItem.js +0 -286
- package/lib/rest/preview/sync/service/syncList/syncListPermission.d.ts +0 -280
- package/lib/rest/preview/sync/service/syncList/syncListPermission.js +0 -260
- package/lib/rest/preview/sync/service/syncList.d.ts +0 -270
- package/lib/rest/preview/sync/service/syncList.js +0 -270
- package/lib/rest/preview/sync/service/syncMap/syncMapItem.d.ts +0 -323
- package/lib/rest/preview/sync/service/syncMap/syncMapItem.js +0 -290
- package/lib/rest/preview/sync/service/syncMap/syncMapPermission.d.ts +0 -280
- package/lib/rest/preview/sync/service/syncMap/syncMapPermission.js +0 -260
- package/lib/rest/preview/sync/service/syncMap.d.ts +0 -270
- package/lib/rest/preview/sync/service/syncMap.js +0 -270
- package/lib/rest/preview/sync/service.d.ts +0 -330
- package/lib/rest/preview/sync/service.js +0 -316
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
const KnowledgeBase_1 = __importDefault(require("./KnowledgeBase"));
|
|
6
|
+
class Knowledge extends KnowledgeBase_1.default {
|
|
7
|
+
}
|
|
8
|
+
module.exports = Knowledge;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import Domain from "../base/Domain";
|
|
2
|
+
import V1 from "./knowledge/V1";
|
|
3
|
+
declare class KnowledgeBase extends Domain {
|
|
4
|
+
_v1?: V1;
|
|
5
|
+
/**
|
|
6
|
+
* Initialize knowledge domain
|
|
7
|
+
*
|
|
8
|
+
* @param twilio - The twilio client
|
|
9
|
+
*/
|
|
10
|
+
constructor(twilio: any);
|
|
11
|
+
get v1(): V1;
|
|
12
|
+
}
|
|
13
|
+
export = KnowledgeBase;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* This code was generated by
|
|
4
|
+
* ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
|
5
|
+
* | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
|
6
|
+
* | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
14
|
+
};
|
|
15
|
+
const Domain_1 = __importDefault(require("../base/Domain"));
|
|
16
|
+
const V1_1 = __importDefault(require("./knowledge/V1"));
|
|
17
|
+
class KnowledgeBase extends Domain_1.default {
|
|
18
|
+
/**
|
|
19
|
+
* Initialize knowledge domain
|
|
20
|
+
*
|
|
21
|
+
* @param twilio - The twilio client
|
|
22
|
+
*/
|
|
23
|
+
constructor(twilio) {
|
|
24
|
+
super(twilio, "https://knowledge.twilio.com");
|
|
25
|
+
}
|
|
26
|
+
get v1() {
|
|
27
|
+
this._v1 = this._v1 || new V1_1.default(this);
|
|
28
|
+
return this._v1;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
module.exports = KnowledgeBase;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import Domain from "../base/Domain";
|
|
2
2
|
import HostedNumbers from "./preview/HostedNumbers";
|
|
3
|
-
import Sync from "./preview/Sync";
|
|
4
3
|
import Marketplace from "./preview/Marketplace";
|
|
5
4
|
import Wireless from "./preview/Wireless";
|
|
6
5
|
declare class PreviewBase extends Domain {
|
|
7
6
|
_hosted_numbers?: HostedNumbers;
|
|
8
|
-
_sync?: Sync;
|
|
9
7
|
_marketplace?: Marketplace;
|
|
10
8
|
_wireless?: Wireless;
|
|
11
9
|
/**
|
|
@@ -15,7 +13,6 @@ declare class PreviewBase extends Domain {
|
|
|
15
13
|
*/
|
|
16
14
|
constructor(twilio: any);
|
|
17
15
|
get hosted_numbers(): HostedNumbers;
|
|
18
|
-
get sync(): Sync;
|
|
19
16
|
get marketplace(): Marketplace;
|
|
20
17
|
get wireless(): Wireless;
|
|
21
18
|
}
|
package/lib/rest/PreviewBase.js
CHANGED
|
@@ -14,7 +14,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
14
|
};
|
|
15
15
|
const Domain_1 = __importDefault(require("../base/Domain"));
|
|
16
16
|
const HostedNumbers_1 = __importDefault(require("./preview/HostedNumbers"));
|
|
17
|
-
const Sync_1 = __importDefault(require("./preview/Sync"));
|
|
18
17
|
const Marketplace_1 = __importDefault(require("./preview/Marketplace"));
|
|
19
18
|
const Wireless_1 = __importDefault(require("./preview/Wireless"));
|
|
20
19
|
class PreviewBase extends Domain_1.default {
|
|
@@ -30,10 +29,6 @@ class PreviewBase extends Domain_1.default {
|
|
|
30
29
|
this._hosted_numbers = this._hosted_numbers || new HostedNumbers_1.default(this);
|
|
31
30
|
return this._hosted_numbers;
|
|
32
31
|
}
|
|
33
|
-
get sync() {
|
|
34
|
-
this._sync = this._sync || new Sync_1.default(this);
|
|
35
|
-
return this._sync;
|
|
36
|
-
}
|
|
37
32
|
get marketplace() {
|
|
38
33
|
this._marketplace = this._marketplace || new Marketplace_1.default(this);
|
|
39
34
|
return this._marketplace;
|
package/lib/rest/Twilio.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import Iam from "./Iam";
|
|
|
14
14
|
import Insights from "./Insights";
|
|
15
15
|
import Intelligence from "./Intelligence";
|
|
16
16
|
import IpMessaging from "./IpMessaging";
|
|
17
|
+
import Knowledge from "./Knowledge";
|
|
17
18
|
import Lookups from "./Lookups";
|
|
18
19
|
import Marketplace from "./Marketplace";
|
|
19
20
|
import Messaging from "./Messaging";
|
|
@@ -95,6 +96,8 @@ declare class Twilio extends Client {
|
|
|
95
96
|
_intelligence?: Intelligence;
|
|
96
97
|
/** (Twilio.IpMessaging) - ipMessaging domain */
|
|
97
98
|
_ipMessaging?: IpMessaging;
|
|
99
|
+
/** (Twilio.Knowledge) - knowledge domain */
|
|
100
|
+
_knowledge?: Knowledge;
|
|
98
101
|
/** (Twilio.Lookups) - lookups domain */
|
|
99
102
|
_lookups?: Lookups;
|
|
100
103
|
/** (Twilio.Marketplace) - marketplace domain */
|
|
@@ -183,6 +186,8 @@ declare class Twilio extends Client {
|
|
|
183
186
|
get intelligence(): Intelligence;
|
|
184
187
|
/** Getter for (Twilio.IpMessaging) domain */
|
|
185
188
|
get ipMessaging(): IpMessaging;
|
|
189
|
+
/** Getter for (Twilio.Knowledge) domain */
|
|
190
|
+
get knowledge(): Knowledge;
|
|
186
191
|
/** Getter for (Twilio.Lookups) domain */
|
|
187
192
|
get lookups(): Lookups;
|
|
188
193
|
/** Getter for (Twilio.Marketplace) domain */
|
package/lib/rest/Twilio.js
CHANGED
|
@@ -47,6 +47,7 @@ class Twilio extends BaseTwilio_1.Client {
|
|
|
47
47
|
this.insights;
|
|
48
48
|
this.intelligence;
|
|
49
49
|
this.ipMessaging;
|
|
50
|
+
this.knowledge;
|
|
50
51
|
this.lookups;
|
|
51
52
|
this.marketplace;
|
|
52
53
|
this.messaging;
|
|
@@ -140,6 +141,10 @@ class Twilio extends BaseTwilio_1.Client {
|
|
|
140
141
|
return (this._ipMessaging ??
|
|
141
142
|
(this._ipMessaging = new (require("./IpMessaging"))(this)));
|
|
142
143
|
}
|
|
144
|
+
/** Getter for (Twilio.Knowledge) domain */
|
|
145
|
+
get knowledge() {
|
|
146
|
+
return (this._knowledge ?? (this._knowledge = new (require("./Knowledge"))(this)));
|
|
147
|
+
}
|
|
143
148
|
/** Getter for (Twilio.Lookups) domain */
|
|
144
149
|
get lookups() {
|
|
145
150
|
return this._lookups ?? (this._lookups = new (require("./Lookups"))(this));
|
|
@@ -5,21 +5,21 @@ import V1 from "../V1";
|
|
|
5
5
|
* Options to pass to create a SafelistInstance
|
|
6
6
|
*/
|
|
7
7
|
export interface SafelistListInstanceCreateOptions {
|
|
8
|
-
/** The phone number to be added in SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). */
|
|
8
|
+
/** The phone number or phone number 1k prefix to be added in SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). */
|
|
9
9
|
phoneNumber: string;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* Options to pass to remove a SafelistInstance
|
|
13
13
|
*/
|
|
14
14
|
export interface SafelistListInstanceRemoveOptions {
|
|
15
|
-
/** The phone number to be removed from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). */
|
|
15
|
+
/** The phone number or phone number 1k prefix to be removed from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). */
|
|
16
16
|
phoneNumber?: string;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* Options to pass to fetch a SafelistInstance
|
|
20
20
|
*/
|
|
21
21
|
export interface SafelistListInstanceFetchOptions {
|
|
22
|
-
/** The phone number to be fetched from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). */
|
|
22
|
+
/** The phone number or phone number 1k prefix to be fetched from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). */
|
|
23
23
|
phoneNumber?: string;
|
|
24
24
|
}
|
|
25
25
|
export interface SafelistSolution {
|
|
@@ -90,7 +90,7 @@ export declare class SafelistInstance {
|
|
|
90
90
|
*/
|
|
91
91
|
sid: string;
|
|
92
92
|
/**
|
|
93
|
-
* The phone number in SafeList.
|
|
93
|
+
* The phone number or phone number 1k prefix in SafeList.
|
|
94
94
|
*/
|
|
95
95
|
phoneNumber: string;
|
|
96
96
|
/**
|
|
@@ -4,6 +4,9 @@ import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V2010 from "../../../V2010";
|
|
6
6
|
export type DependentPhoneNumberAddressRequirement = "none" | "any" | "local" | "foreign";
|
|
7
|
+
/**
|
|
8
|
+
* Whether the phone number is enabled for emergency calling.
|
|
9
|
+
*/
|
|
7
10
|
export type DependentPhoneNumberEmergencyStatus = "Active" | "Inactive";
|
|
8
11
|
/**
|
|
9
12
|
* Options to pass to each
|
|
@@ -3,7 +3,13 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V2010 from "../../../V2010";
|
|
6
|
+
/**
|
|
7
|
+
* How the recording was created. Can be: `DialVerb`, `Conference`, `OutboundAPI`, `Trunking`, `RecordVerb`, `StartCallRecordingAPI`, and `StartConferenceRecordingAPI`.
|
|
8
|
+
*/
|
|
6
9
|
export type RecordingSource = "DialVerb" | "Conference" | "OutboundAPI" | "Trunking" | "RecordVerb" | "StartCallRecordingAPI" | "StartConferenceRecordingAPI";
|
|
10
|
+
/**
|
|
11
|
+
* The status of the recording. Can be: `processing`, `completed` and `absent`. For more detailed statuses on in-progress recordings, check out how to [Update a Recording Resource](https://www.twilio.com/docs/voice/api/recording#update-a-recording-resource).
|
|
12
|
+
*/
|
|
7
13
|
export type RecordingStatus = "in-progress" | "paused" | "stopped" | "processing" | "completed" | "absent";
|
|
8
14
|
/**
|
|
9
15
|
* Options to pass to update a RecordingInstance
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { inspect, InspectOptions } from "util";
|
|
3
3
|
import V2010 from "../../../V2010";
|
|
4
|
+
/**
|
|
5
|
+
* The status - one of `stopped`, `in-progress`
|
|
6
|
+
*/
|
|
4
7
|
export type SiprecStatus = "in-progress" | "stopped";
|
|
5
8
|
export type SiprecTrack = "inbound_track" | "outbound_track" | "both_tracks";
|
|
6
9
|
export type SiprecUpdateStatus = "stopped";
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { inspect, InspectOptions } from "util";
|
|
3
3
|
import V2010 from "../../../V2010";
|
|
4
|
+
/**
|
|
5
|
+
* The status of the Stream. Possible values are `stopped` and `in-progress`.
|
|
6
|
+
*/
|
|
4
7
|
export type StreamStatus = "in-progress" | "stopped";
|
|
5
8
|
export type StreamTrack = "inbound_track" | "outbound_track" | "both_tracks";
|
|
6
9
|
export type StreamUpdateStatus = "stopped";
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { inspect, InspectOptions } from "util";
|
|
3
3
|
import V2010 from "../../../V2010";
|
|
4
|
+
/**
|
|
5
|
+
* The status - one of `stopped`, `in-flight`
|
|
6
|
+
*/
|
|
4
7
|
export type TranscriptionStatus = "in-progress" | "stopped";
|
|
5
8
|
export type TranscriptionTrack = "inbound_track" | "outbound_track" | "both_tracks";
|
|
6
9
|
export type TranscriptionUpdateStatus = "stopped";
|
|
@@ -13,6 +13,9 @@ import { TranscriptionListInstance } from "./call/transcription";
|
|
|
13
13
|
import { UserDefinedMessageListInstance } from "./call/userDefinedMessage";
|
|
14
14
|
import { UserDefinedMessageSubscriptionListInstance } from "./call/userDefinedMessageSubscription";
|
|
15
15
|
import TwiML from "../../../../twiml/TwiML";
|
|
16
|
+
/**
|
|
17
|
+
* The status of this call. Can be: `queued`, `ringing`, `in-progress`, `canceled`, `completed`, `failed`, `busy` or `no-answer`. See [Call Status Values](https://www.twilio.com/docs/voice/api/call-resource#call-status-values) below for more information.
|
|
18
|
+
*/
|
|
16
19
|
export type CallStatus = "queued" | "ringing" | "in-progress" | "completed" | "busy" | "failed" | "no-answer" | "canceled";
|
|
17
20
|
export type CallUpdateStatus = "canceled" | "completed";
|
|
18
21
|
/**
|
|
@@ -3,6 +3,9 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V2010 from "../../../V2010";
|
|
6
|
+
/**
|
|
7
|
+
* The status of the participant\'s call in a session. Can be: `queued`, `connecting`, `ringing`, `connected`, `complete`, or `failed`.
|
|
8
|
+
*/
|
|
6
9
|
export type ParticipantStatus = "queued" | "connecting" | "ringing" | "connected" | "complete" | "failed";
|
|
7
10
|
/**
|
|
8
11
|
* Options to pass to update a ParticipantInstance
|
|
@@ -89,7 +92,7 @@ export interface ParticipantListInstanceCreateOptions {
|
|
|
89
92
|
sipAuthUsername?: string;
|
|
90
93
|
/** The SIP password for authentication. */
|
|
91
94
|
sipAuthPassword?: string;
|
|
92
|
-
/** The [region](https://support.twilio.com/hc/en-us/articles/223132167-How-global-low-latency-routing-and-region-selection-work-for-conferences-and-Client-calls) where we should mix the recorded audio. Can be:`us1`, `ie1`, `de1`, `sg1`, `br1`, `au1`, or `jp1`. */
|
|
95
|
+
/** The [region](https://support.twilio.com/hc/en-us/articles/223132167-How-global-low-latency-routing-and-region-selection-work-for-conferences-and-Client-calls) where we should mix the recorded audio. Can be:`us1`, `us2`, `ie1`, `de1`, `sg1`, `br1`, `au1`, or `jp1`. */
|
|
93
96
|
region?: string;
|
|
94
97
|
/** The URL we should call using the `conference_recording_status_callback_method` when the conference recording is available. */
|
|
95
98
|
conferenceRecordingStatusCallback?: string;
|
|
@@ -3,7 +3,13 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V2010 from "../../../V2010";
|
|
6
|
+
/**
|
|
7
|
+
* How the recording was created. Can be: `DialVerb`, `Conference`, `OutboundAPI`, `Trunking`, `RecordVerb`, `StartCallRecordingAPI`, `StartConferenceRecordingAPI`.
|
|
8
|
+
*/
|
|
6
9
|
export type RecordingSource = "DialVerb" | "Conference" | "OutboundAPI" | "Trunking" | "RecordVerb" | "StartCallRecordingAPI" | "StartConferenceRecordingAPI";
|
|
10
|
+
/**
|
|
11
|
+
* The status of the recording. Can be: `processing`, `completed` and `absent`. For more detailed statuses on in-progress recordings, check out how to [Update a Recording Resource](https://www.twilio.com/docs/voice/api/recording#update-a-recording-resource).
|
|
12
|
+
*/
|
|
7
13
|
export type RecordingStatus = "in-progress" | "paused" | "stopped" | "processing" | "completed" | "absent";
|
|
8
14
|
/**
|
|
9
15
|
* Options to pass to update a RecordingInstance
|
|
@@ -5,7 +5,13 @@ import Response from "../../../../http/response";
|
|
|
5
5
|
import V2010 from "../../V2010";
|
|
6
6
|
import { ParticipantListInstance } from "./conference/participant";
|
|
7
7
|
import { RecordingListInstance } from "./conference/recording";
|
|
8
|
+
/**
|
|
9
|
+
* The reason why a conference ended. When a conference is in progress, will be `null`. When conference is completed, can be: `conference-ended-via-api`, `participant-with-end-conference-on-exit-left`, `participant-with-end-conference-on-exit-kicked`, `last-participant-kicked`, or `last-participant-left`.
|
|
10
|
+
*/
|
|
8
11
|
export type ConferenceReasonConferenceEnded = "conference-ended-via-api" | "participant-with-end-conference-on-exit-left" | "participant-with-end-conference-on-exit-kicked" | "last-participant-kicked" | "last-participant-left";
|
|
12
|
+
/**
|
|
13
|
+
* The status of this conference. Can be: `init`, `in-progress`, or `completed`.
|
|
14
|
+
*/
|
|
9
15
|
export type ConferenceStatus = "init" | "in-progress" | "completed";
|
|
10
16
|
export type ConferenceUpdateStatus = "completed";
|
|
11
17
|
/**
|
|
@@ -200,7 +206,7 @@ export declare class ConferenceInstance {
|
|
|
200
206
|
*/
|
|
201
207
|
friendlyName: string;
|
|
202
208
|
/**
|
|
203
|
-
* A string that represents the Twilio Region where the conference audio was mixed. May be `us1`, `ie1`, `de1`, `sg1`, `br1`, `au1`, and `jp1`. Basic conference audio will always be mixed in `us1`. Global Conference audio will be mixed nearest to the majority of participants.
|
|
209
|
+
* A string that represents the Twilio Region where the conference audio was mixed. May be `us1`, `us2`, `ie1`, `de1`, `sg1`, `br1`, `au1`, and `jp1`. Basic conference audio will always be mixed in `us1`. Global Conference audio will be mixed nearest to the majority of participants.
|
|
204
210
|
*/
|
|
205
211
|
region: string;
|
|
206
212
|
/**
|
|
@@ -5,7 +5,13 @@ import Response from "../../../../../http/response";
|
|
|
5
5
|
import V2010 from "../../../V2010";
|
|
6
6
|
import { PhoneNumberCapabilities } from "../../../../../interfaces";
|
|
7
7
|
export type LocalAddressRequirement = "none" | "any" | "local" | "foreign";
|
|
8
|
+
/**
|
|
9
|
+
* The status of address registration with emergency services. A registered emergency address will be used during handling of emergency calls from this number.
|
|
10
|
+
*/
|
|
8
11
|
export type LocalEmergencyAddressStatus = "registered" | "unregistered" | "pending-registration" | "registration-failure" | "pending-unregistration" | "unregistration-failure";
|
|
12
|
+
/**
|
|
13
|
+
* The parameter displays if emergency calling is enabled for this number. Active numbers may place emergency calls by dialing valid emergency numbers for the country.
|
|
14
|
+
*/
|
|
9
15
|
export type LocalEmergencyStatus = "Active" | "Inactive";
|
|
10
16
|
export type LocalVoiceReceiveMode = "voice" | "fax";
|
|
11
17
|
/**
|
|
@@ -5,7 +5,13 @@ import Response from "../../../../../http/response";
|
|
|
5
5
|
import V2010 from "../../../V2010";
|
|
6
6
|
import { PhoneNumberCapabilities } from "../../../../../interfaces";
|
|
7
7
|
export type MobileAddressRequirement = "none" | "any" | "local" | "foreign";
|
|
8
|
+
/**
|
|
9
|
+
* The status of address registration with emergency services. A registered emergency address will be used during handling of emergency calls from this number.
|
|
10
|
+
*/
|
|
8
11
|
export type MobileEmergencyAddressStatus = "registered" | "unregistered" | "pending-registration" | "registration-failure" | "pending-unregistration" | "unregistration-failure";
|
|
12
|
+
/**
|
|
13
|
+
* The parameter displays if emergency calling is enabled for this number. Active numbers may place emergency calls by dialing valid emergency numbers for the country.
|
|
14
|
+
*/
|
|
9
15
|
export type MobileEmergencyStatus = "Active" | "Inactive";
|
|
10
16
|
export type MobileVoiceReceiveMode = "voice" | "fax";
|
|
11
17
|
/**
|
|
@@ -5,7 +5,13 @@ import Response from "../../../../../http/response";
|
|
|
5
5
|
import V2010 from "../../../V2010";
|
|
6
6
|
import { PhoneNumberCapabilities } from "../../../../../interfaces";
|
|
7
7
|
export type TollFreeAddressRequirement = "none" | "any" | "local" | "foreign";
|
|
8
|
+
/**
|
|
9
|
+
* The status of address registration with emergency services. A registered emergency address will be used during handling of emergency calls from this number.
|
|
10
|
+
*/
|
|
8
11
|
export type TollFreeEmergencyAddressStatus = "registered" | "unregistered" | "pending-registration" | "registration-failure" | "pending-unregistration" | "unregistration-failure";
|
|
12
|
+
/**
|
|
13
|
+
* The parameter displays if emergency calling is enabled for this number. Active numbers may place emergency calls by dialing valid emergency numbers for the country.
|
|
14
|
+
*/
|
|
9
15
|
export type TollFreeEmergencyStatus = "Active" | "Inactive";
|
|
10
16
|
export type TollFreeVoiceReceiveMode = "voice" | "fax";
|
|
11
17
|
/**
|
|
@@ -9,7 +9,13 @@ import { MobileListInstance } from "./incomingPhoneNumber/mobile";
|
|
|
9
9
|
import { TollFreeListInstance } from "./incomingPhoneNumber/tollFree";
|
|
10
10
|
import { PhoneNumberCapabilities } from "../../../../interfaces";
|
|
11
11
|
export type IncomingPhoneNumberAddressRequirement = "none" | "any" | "local" | "foreign";
|
|
12
|
+
/**
|
|
13
|
+
* The status of address registration with emergency services. A registered emergency address will be used during handling of emergency calls from this number.
|
|
14
|
+
*/
|
|
12
15
|
export type IncomingPhoneNumberEmergencyAddressStatus = "registered" | "unregistered" | "pending-registration" | "registration-failure" | "pending-unregistration" | "unregistration-failure";
|
|
16
|
+
/**
|
|
17
|
+
* The parameter displays if emergency calling is enabled for this number. Active numbers may place emergency calls by dialing valid emergency numbers for the country.
|
|
18
|
+
*/
|
|
13
19
|
export type IncomingPhoneNumberEmergencyStatus = "Active" | "Inactive";
|
|
14
20
|
export type IncomingPhoneNumberVoiceReceiveMode = "voice" | "fax";
|
|
15
21
|
/**
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { inspect, InspectOptions } from "util";
|
|
3
3
|
import V2010 from "../../../V2010";
|
|
4
|
+
/**
|
|
5
|
+
* Reported outcome indicating whether there is confirmation that the Message recipient performed a tracked user action. Can be: `unconfirmed` or `confirmed`. For more details see [How to Optimize Message Deliverability with Message Feedback](https://www.twilio.com/docs/messaging/guides/send-message-feedback-to-twilio).
|
|
6
|
+
*/
|
|
4
7
|
export type FeedbackOutcome = "confirmed" | "unconfirmed";
|
|
5
8
|
/**
|
|
6
9
|
* Options to pass to create a FeedbackInstance
|
|
@@ -7,10 +7,17 @@ import { FeedbackListInstance } from "./message/feedback";
|
|
|
7
7
|
import { MediaListInstance } from "./message/media";
|
|
8
8
|
export type MessageAddressRetention = "retain" | "obfuscate";
|
|
9
9
|
export type MessageContentRetention = "retain" | "discard";
|
|
10
|
+
/**
|
|
11
|
+
* The direction of the message. Can be: `inbound` for incoming messages, `outbound-api` for messages created by the REST API, `outbound-call` for messages created during a call, or `outbound-reply` for messages created in response to an incoming message.
|
|
12
|
+
*/
|
|
10
13
|
export type MessageDirection = "inbound" | "outbound-api" | "outbound-call" | "outbound-reply";
|
|
11
14
|
export type MessageRiskCheck = "enable" | "disable";
|
|
12
15
|
export type MessageScheduleType = "fixed";
|
|
16
|
+
/**
|
|
17
|
+
* The status of the Message. Possible values: `accepted`, `scheduled`, `canceled`, `queued`, `sending`, `sent`, `failed`, `delivered`, `undelivered`, `receiving`, `received`, or `read` (WhatsApp only). For more information, See [detailed descriptions](https://www.twilio.com/docs/sms/api/message-resource#message-status-values).
|
|
18
|
+
*/
|
|
13
19
|
export type MessageStatus = "queued" | "sending" | "sent" | "failed" | "delivered" | "undelivered" | "receiving" | "received" | "accepted" | "scheduled" | "read" | "partially_delivered" | "canceled";
|
|
20
|
+
export type MessageTrafficType = "free";
|
|
14
21
|
export type MessageUpdateStatus = "canceled";
|
|
15
22
|
/**
|
|
16
23
|
* Options to pass to update a MessageInstance
|
|
@@ -49,6 +56,8 @@ export interface MessageListInstanceCreateOptions {
|
|
|
49
56
|
smartEncoded?: boolean;
|
|
50
57
|
/** Rich actions for non-SMS/MMS channels. Used for [sending location in WhatsApp messages](https://www.twilio.com/docs/whatsapp/message-features#location-messages-with-whatsapp). */
|
|
51
58
|
persistentAction?: Array<string>;
|
|
59
|
+
/** */
|
|
60
|
+
trafficType?: MessageTrafficType;
|
|
52
61
|
/** For Messaging Services with [Link Shortening configured](https://www.twilio.com/docs/messaging/features/link-shortening) only: A Boolean indicating whether or not Twilio should shorten links in the `body` of the Message. Default value is `false`. If `true`, the `messaging_service_sid` parameter must also be provided. */
|
|
53
62
|
shortenUrls?: boolean;
|
|
54
63
|
/** */
|
|
@@ -254,6 +254,8 @@ function MessageListInstance(version, accountSid) {
|
|
|
254
254
|
data["SmartEncoded"] = serialize.bool(params["smartEncoded"]);
|
|
255
255
|
if (params["persistentAction"] !== undefined)
|
|
256
256
|
data["PersistentAction"] = serialize.map(params["persistentAction"], (e) => e);
|
|
257
|
+
if (params["trafficType"] !== undefined)
|
|
258
|
+
data["TrafficType"] = params["trafficType"];
|
|
257
259
|
if (params["shortenUrls"] !== undefined)
|
|
258
260
|
data["ShortenUrls"] = serialize.bool(params["shortenUrls"]);
|
|
259
261
|
if (params["scheduleType"] !== undefined)
|
|
@@ -4,6 +4,9 @@ import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V2010 from "../../../V2010";
|
|
6
6
|
import { PayloadListInstance } from "./addOnResult/payload";
|
|
7
|
+
/**
|
|
8
|
+
* The status of the result. Can be: `canceled`, `completed`, `deleted`, `failed`, `in-progress`, `init`, `processing`, `queued`.
|
|
9
|
+
*/
|
|
7
10
|
export type AddOnResultStatus = "canceled" | "completed" | "deleted" | "failed" | "in-progress" | "init" | "processing" | "queued";
|
|
8
11
|
/**
|
|
9
12
|
* Options to pass to each
|
|
@@ -3,6 +3,9 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V2010 from "../../../V2010";
|
|
6
|
+
/**
|
|
7
|
+
* The status of the transcription. Can be: `in-progress`, `completed`, `failed`.
|
|
8
|
+
*/
|
|
6
9
|
export type TranscriptionStatus = "in-progress" | "completed" | "failed";
|
|
7
10
|
/**
|
|
8
11
|
* Options to pass to each
|
|
@@ -5,7 +5,13 @@ import Response from "../../../../http/response";
|
|
|
5
5
|
import V2010 from "../../V2010";
|
|
6
6
|
import { AddOnResultListInstance } from "./recording/addOnResult";
|
|
7
7
|
import { TranscriptionListInstance } from "./recording/transcription";
|
|
8
|
+
/**
|
|
9
|
+
* How the recording was created. Can be: `DialVerb`, `Conference`, `OutboundAPI`, `Trunking`, `RecordVerb`, `StartCallRecordingAPI`, and `StartConferenceRecordingAPI`.
|
|
10
|
+
*/
|
|
8
11
|
export type RecordingSource = "DialVerb" | "Conference" | "OutboundAPI" | "Trunking" | "RecordVerb" | "StartCallRecordingAPI" | "StartConferenceRecordingAPI";
|
|
12
|
+
/**
|
|
13
|
+
* The status of the recording. Can be: `processing`, `completed`, `absent` or `deleted`. For information about more detailed statuses on in-progress recordings, check out how to [Update a Recording Resource](https://www.twilio.com/docs/voice/api/recording#update-a-recording-resource).
|
|
14
|
+
*/
|
|
9
15
|
export type RecordingStatus = "in-progress" | "paused" | "stopped" | "processing" | "completed" | "absent" | "deleted";
|
|
10
16
|
/**
|
|
11
17
|
* Options to pass to fetch a RecordingInstance
|
|
@@ -3,6 +3,9 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import V2010 from "../../V2010";
|
|
6
|
+
/**
|
|
7
|
+
* The status of the transcription. Can be: `in-progress`, `completed`, `failed`.
|
|
8
|
+
*/
|
|
6
9
|
export type TranscriptionStatus = "in-progress" | "completed" | "failed";
|
|
7
10
|
/**
|
|
8
11
|
* Options to pass to each
|
|
@@ -3,6 +3,9 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../../http/response";
|
|
5
5
|
import V2010 from "../../../../V2010";
|
|
6
|
+
/**
|
|
7
|
+
* The category of usage. For more information, see [Usage Categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories).
|
|
8
|
+
*/
|
|
6
9
|
export type AllTimeCategory = "a2p-registration-fees" | "agent-conference" | "amazon-polly" | "answering-machine-detection" | "authy-authentications" | "authy-calls-outbound" | "authy-monthly-fees" | "authy-phone-intelligence" | "authy-phone-verifications" | "authy-sms-outbound" | "call-progess-events" | "calleridlookups" | "calls" | "calls-client" | "calls-globalconference" | "calls-inbound" | "calls-inbound-local" | "calls-inbound-mobile" | "calls-inbound-tollfree" | "calls-outbound" | "calls-pay-verb-transactions" | "calls-recordings" | "calls-sip" | "calls-sip-inbound" | "calls-sip-outbound" | "calls-transfers" | "carrier-lookups" | "conversations" | "conversations-api-requests" | "conversations-conversation-events" | "conversations-endpoint-connectivity" | "conversations-events" | "conversations-participant-events" | "conversations-participants" | "cps" | "flex-usage" | "fraud-lookups" | "group-rooms" | "group-rooms-data-track" | "group-rooms-encrypted-media-recorded" | "group-rooms-media-downloaded" | "group-rooms-media-recorded" | "group-rooms-media-routed" | "group-rooms-media-stored" | "group-rooms-participant-minutes" | "group-rooms-recorded-minutes" | "imp-v1-usage" | "ivr-virtual-agent-custom-voices" | "ivr-virtual-agent-genai" | "lookups" | "marketplace" | "marketplace-algorithmia-named-entity-recognition" | "marketplace-cadence-transcription" | "marketplace-cadence-translation" | "marketplace-capio-speech-to-text" | "marketplace-convriza-ababa" | "marketplace-deepgram-phrase-detector" | "marketplace-digital-segment-business-info" | "marketplace-facebook-offline-conversions" | "marketplace-google-speech-to-text" | "marketplace-ibm-watson-message-insights" | "marketplace-ibm-watson-message-sentiment" | "marketplace-ibm-watson-recording-analysis" | "marketplace-ibm-watson-tone-analyzer" | "marketplace-icehook-systems-scout" | "marketplace-infogroup-dataaxle-bizinfo" | "marketplace-keen-io-contact-center-analytics" | "marketplace-marchex-cleancall" | "marketplace-marchex-sentiment-analysis-for-sms" | "marketplace-marketplace-nextcaller-social-id" | "marketplace-mobile-commons-opt-out-classifier" | "marketplace-nexiwave-voicemail-to-text" | "marketplace-nextcaller-advanced-caller-identification" | "marketplace-nomorobo-spam-score" | "marketplace-payfone-tcpa-compliance" | "marketplace-remeeting-automatic-speech-recognition" | "marketplace-tcpa-defense-solutions-blacklist-feed" | "marketplace-telo-opencnam" | "marketplace-truecnam-true-spam" | "marketplace-twilio-caller-name-lookup-us" | "marketplace-twilio-carrier-information-lookup" | "marketplace-voicebase-pci" | "marketplace-voicebase-transcription" | "marketplace-voicebase-transcription-custom-vocabulary" | "marketplace-whitepages-pro-caller-identification" | "marketplace-whitepages-pro-phone-intelligence" | "marketplace-whitepages-pro-phone-reputation" | "marketplace-wolfarm-spoken-results" | "marketplace-wolfram-short-answer" | "marketplace-ytica-contact-center-reporting-analytics" | "mediastorage" | "mms" | "mms-inbound" | "mms-inbound-longcode" | "mms-inbound-shortcode" | "mms-messages-carrierfees" | "mms-outbound" | "mms-outbound-longcode" | "mms-outbound-shortcode" | "monitor-reads" | "monitor-storage" | "monitor-writes" | "notify" | "notify-actions-attempts" | "notify-channels" | "number-format-lookups" | "pchat" | "pchat-users" | "peer-to-peer-rooms-participant-minutes" | "pfax" | "pfax-minutes" | "pfax-minutes-inbound" | "pfax-minutes-outbound" | "pfax-pages" | "phonenumbers" | "phonenumbers-cps" | "phonenumbers-emergency" | "phonenumbers-local" | "phonenumbers-mobile" | "phonenumbers-setups" | "phonenumbers-tollfree" | "premiumsupport" | "proxy" | "proxy-active-sessions" | "pstnconnectivity" | "pv" | "pv-composition-media-downloaded" | "pv-composition-media-encrypted" | "pv-composition-media-stored" | "pv-composition-minutes" | "pv-recording-compositions" | "pv-room-participants" | "pv-room-participants-au1" | "pv-room-participants-br1" | "pv-room-participants-ie1" | "pv-room-participants-jp1" | "pv-room-participants-sg1" | "pv-room-participants-us1" | "pv-room-participants-us2" | "pv-rooms" | "pv-sip-endpoint-registrations" | "recordings" | "recordingstorage" | "rooms-group-bandwidth" | "rooms-group-minutes" | "rooms-peer-to-peer-minutes" | "shortcodes" | "shortcodes-customerowned" | "shortcodes-mms-enablement" | "shortcodes-mps" | "shortcodes-random" | "shortcodes-uk" | "shortcodes-vanity" | "small-group-rooms" | "small-group-rooms-data-track" | "small-group-rooms-participant-minutes" | "sms" | "sms-inbound" | "sms-inbound-longcode" | "sms-inbound-shortcode" | "sms-messages-carrierfees" | "sms-messages-features" | "sms-messages-features-senderid" | "sms-outbound" | "sms-outbound-content-inspection" | "sms-outbound-longcode" | "sms-outbound-shortcode" | "speech-recognition" | "studio-engagements" | "sync" | "sync-actions" | "sync-endpoint-hours" | "sync-endpoint-hours-above-daily-cap" | "taskrouter-tasks" | "totalprice" | "transcriptions" | "trunking-cps" | "trunking-emergency-calls" | "trunking-origination" | "trunking-origination-local" | "trunking-origination-mobile" | "trunking-origination-tollfree" | "trunking-recordings" | "trunking-secure" | "trunking-termination" | "tts-google" | "turnmegabytes" | "turnmegabytes-australia" | "turnmegabytes-brasil" | "turnmegabytes-germany" | "turnmegabytes-india" | "turnmegabytes-ireland" | "turnmegabytes-japan" | "turnmegabytes-singapore" | "turnmegabytes-useast" | "turnmegabytes-uswest" | "twilio-interconnect" | "verify-push" | "verify-totp" | "verify-whatsapp-conversations-business-initiated" | "video-recordings" | "virtual-agent" | "voice-insights" | "voice-insights-client-insights-on-demand-minute" | "voice-insights-ptsn-insights-on-demand-minute" | "voice-insights-sip-interface-insights-on-demand-minute" | "voice-insights-sip-trunking-insights-on-demand-minute" | "voice-intelligence" | "voice-intelligence-transcription" | "voice-intelligence-operators" | "wireless" | "wireless-orders" | "wireless-orders-artwork" | "wireless-orders-bulk" | "wireless-orders-esim" | "wireless-orders-starter" | "wireless-usage" | "wireless-usage-commands" | "wireless-usage-commands-africa" | "wireless-usage-commands-asia" | "wireless-usage-commands-centralandsouthamerica" | "wireless-usage-commands-europe" | "wireless-usage-commands-home" | "wireless-usage-commands-northamerica" | "wireless-usage-commands-oceania" | "wireless-usage-commands-roaming" | "wireless-usage-data" | "wireless-usage-data-africa" | "wireless-usage-data-asia" | "wireless-usage-data-centralandsouthamerica" | "wireless-usage-data-custom-additionalmb" | "wireless-usage-data-custom-first5mb" | "wireless-usage-data-domestic-roaming" | "wireless-usage-data-europe" | "wireless-usage-data-individual-additionalgb" | "wireless-usage-data-individual-firstgb" | "wireless-usage-data-international-roaming-canada" | "wireless-usage-data-international-roaming-india" | "wireless-usage-data-international-roaming-mexico" | "wireless-usage-data-northamerica" | "wireless-usage-data-oceania" | "wireless-usage-data-pooled" | "wireless-usage-data-pooled-downlink" | "wireless-usage-data-pooled-uplink" | "wireless-usage-mrc" | "wireless-usage-mrc-custom" | "wireless-usage-mrc-individual" | "wireless-usage-mrc-pooled" | "wireless-usage-mrc-suspended" | "wireless-usage-sms" | "wireless-usage-voice";
|
|
7
10
|
/**
|
|
8
11
|
* Options to pass to each
|
|
@@ -3,6 +3,9 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../../http/response";
|
|
5
5
|
import V2010 from "../../../../V2010";
|
|
6
|
+
/**
|
|
7
|
+
* The category of usage. For more information, see [Usage Categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories).
|
|
8
|
+
*/
|
|
6
9
|
export type DailyCategory = "a2p-registration-fees" | "agent-conference" | "amazon-polly" | "answering-machine-detection" | "authy-authentications" | "authy-calls-outbound" | "authy-monthly-fees" | "authy-phone-intelligence" | "authy-phone-verifications" | "authy-sms-outbound" | "call-progess-events" | "calleridlookups" | "calls" | "calls-client" | "calls-globalconference" | "calls-inbound" | "calls-inbound-local" | "calls-inbound-mobile" | "calls-inbound-tollfree" | "calls-outbound" | "calls-pay-verb-transactions" | "calls-recordings" | "calls-sip" | "calls-sip-inbound" | "calls-sip-outbound" | "calls-transfers" | "carrier-lookups" | "conversations" | "conversations-api-requests" | "conversations-conversation-events" | "conversations-endpoint-connectivity" | "conversations-events" | "conversations-participant-events" | "conversations-participants" | "cps" | "flex-usage" | "fraud-lookups" | "group-rooms" | "group-rooms-data-track" | "group-rooms-encrypted-media-recorded" | "group-rooms-media-downloaded" | "group-rooms-media-recorded" | "group-rooms-media-routed" | "group-rooms-media-stored" | "group-rooms-participant-minutes" | "group-rooms-recorded-minutes" | "imp-v1-usage" | "ivr-virtual-agent-custom-voices" | "ivr-virtual-agent-genai" | "lookups" | "marketplace" | "marketplace-algorithmia-named-entity-recognition" | "marketplace-cadence-transcription" | "marketplace-cadence-translation" | "marketplace-capio-speech-to-text" | "marketplace-convriza-ababa" | "marketplace-deepgram-phrase-detector" | "marketplace-digital-segment-business-info" | "marketplace-facebook-offline-conversions" | "marketplace-google-speech-to-text" | "marketplace-ibm-watson-message-insights" | "marketplace-ibm-watson-message-sentiment" | "marketplace-ibm-watson-recording-analysis" | "marketplace-ibm-watson-tone-analyzer" | "marketplace-icehook-systems-scout" | "marketplace-infogroup-dataaxle-bizinfo" | "marketplace-keen-io-contact-center-analytics" | "marketplace-marchex-cleancall" | "marketplace-marchex-sentiment-analysis-for-sms" | "marketplace-marketplace-nextcaller-social-id" | "marketplace-mobile-commons-opt-out-classifier" | "marketplace-nexiwave-voicemail-to-text" | "marketplace-nextcaller-advanced-caller-identification" | "marketplace-nomorobo-spam-score" | "marketplace-payfone-tcpa-compliance" | "marketplace-remeeting-automatic-speech-recognition" | "marketplace-tcpa-defense-solutions-blacklist-feed" | "marketplace-telo-opencnam" | "marketplace-truecnam-true-spam" | "marketplace-twilio-caller-name-lookup-us" | "marketplace-twilio-carrier-information-lookup" | "marketplace-voicebase-pci" | "marketplace-voicebase-transcription" | "marketplace-voicebase-transcription-custom-vocabulary" | "marketplace-whitepages-pro-caller-identification" | "marketplace-whitepages-pro-phone-intelligence" | "marketplace-whitepages-pro-phone-reputation" | "marketplace-wolfarm-spoken-results" | "marketplace-wolfram-short-answer" | "marketplace-ytica-contact-center-reporting-analytics" | "mediastorage" | "mms" | "mms-inbound" | "mms-inbound-longcode" | "mms-inbound-shortcode" | "mms-messages-carrierfees" | "mms-outbound" | "mms-outbound-longcode" | "mms-outbound-shortcode" | "monitor-reads" | "monitor-storage" | "monitor-writes" | "notify" | "notify-actions-attempts" | "notify-channels" | "number-format-lookups" | "pchat" | "pchat-users" | "peer-to-peer-rooms-participant-minutes" | "pfax" | "pfax-minutes" | "pfax-minutes-inbound" | "pfax-minutes-outbound" | "pfax-pages" | "phonenumbers" | "phonenumbers-cps" | "phonenumbers-emergency" | "phonenumbers-local" | "phonenumbers-mobile" | "phonenumbers-setups" | "phonenumbers-tollfree" | "premiumsupport" | "proxy" | "proxy-active-sessions" | "pstnconnectivity" | "pv" | "pv-composition-media-downloaded" | "pv-composition-media-encrypted" | "pv-composition-media-stored" | "pv-composition-minutes" | "pv-recording-compositions" | "pv-room-participants" | "pv-room-participants-au1" | "pv-room-participants-br1" | "pv-room-participants-ie1" | "pv-room-participants-jp1" | "pv-room-participants-sg1" | "pv-room-participants-us1" | "pv-room-participants-us2" | "pv-rooms" | "pv-sip-endpoint-registrations" | "recordings" | "recordingstorage" | "rooms-group-bandwidth" | "rooms-group-minutes" | "rooms-peer-to-peer-minutes" | "shortcodes" | "shortcodes-customerowned" | "shortcodes-mms-enablement" | "shortcodes-mps" | "shortcodes-random" | "shortcodes-uk" | "shortcodes-vanity" | "small-group-rooms" | "small-group-rooms-data-track" | "small-group-rooms-participant-minutes" | "sms" | "sms-inbound" | "sms-inbound-longcode" | "sms-inbound-shortcode" | "sms-messages-carrierfees" | "sms-messages-features" | "sms-messages-features-senderid" | "sms-outbound" | "sms-outbound-content-inspection" | "sms-outbound-longcode" | "sms-outbound-shortcode" | "speech-recognition" | "studio-engagements" | "sync" | "sync-actions" | "sync-endpoint-hours" | "sync-endpoint-hours-above-daily-cap" | "taskrouter-tasks" | "totalprice" | "transcriptions" | "trunking-cps" | "trunking-emergency-calls" | "trunking-origination" | "trunking-origination-local" | "trunking-origination-mobile" | "trunking-origination-tollfree" | "trunking-recordings" | "trunking-secure" | "trunking-termination" | "tts-google" | "turnmegabytes" | "turnmegabytes-australia" | "turnmegabytes-brasil" | "turnmegabytes-germany" | "turnmegabytes-india" | "turnmegabytes-ireland" | "turnmegabytes-japan" | "turnmegabytes-singapore" | "turnmegabytes-useast" | "turnmegabytes-uswest" | "twilio-interconnect" | "verify-push" | "verify-totp" | "verify-whatsapp-conversations-business-initiated" | "video-recordings" | "virtual-agent" | "voice-insights" | "voice-insights-client-insights-on-demand-minute" | "voice-insights-ptsn-insights-on-demand-minute" | "voice-insights-sip-interface-insights-on-demand-minute" | "voice-insights-sip-trunking-insights-on-demand-minute" | "voice-intelligence" | "voice-intelligence-transcription" | "voice-intelligence-operators" | "wireless" | "wireless-orders" | "wireless-orders-artwork" | "wireless-orders-bulk" | "wireless-orders-esim" | "wireless-orders-starter" | "wireless-usage" | "wireless-usage-commands" | "wireless-usage-commands-africa" | "wireless-usage-commands-asia" | "wireless-usage-commands-centralandsouthamerica" | "wireless-usage-commands-europe" | "wireless-usage-commands-home" | "wireless-usage-commands-northamerica" | "wireless-usage-commands-oceania" | "wireless-usage-commands-roaming" | "wireless-usage-data" | "wireless-usage-data-africa" | "wireless-usage-data-asia" | "wireless-usage-data-centralandsouthamerica" | "wireless-usage-data-custom-additionalmb" | "wireless-usage-data-custom-first5mb" | "wireless-usage-data-domestic-roaming" | "wireless-usage-data-europe" | "wireless-usage-data-individual-additionalgb" | "wireless-usage-data-individual-firstgb" | "wireless-usage-data-international-roaming-canada" | "wireless-usage-data-international-roaming-india" | "wireless-usage-data-international-roaming-mexico" | "wireless-usage-data-northamerica" | "wireless-usage-data-oceania" | "wireless-usage-data-pooled" | "wireless-usage-data-pooled-downlink" | "wireless-usage-data-pooled-uplink" | "wireless-usage-mrc" | "wireless-usage-mrc-custom" | "wireless-usage-mrc-individual" | "wireless-usage-mrc-pooled" | "wireless-usage-mrc-suspended" | "wireless-usage-sms" | "wireless-usage-voice";
|
|
7
10
|
/**
|
|
8
11
|
* Options to pass to each
|
|
@@ -3,6 +3,9 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../../http/response";
|
|
5
5
|
import V2010 from "../../../../V2010";
|
|
6
|
+
/**
|
|
7
|
+
* The category of usage. For more information, see [Usage Categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories).
|
|
8
|
+
*/
|
|
6
9
|
export type LastMonthCategory = "a2p-registration-fees" | "agent-conference" | "amazon-polly" | "answering-machine-detection" | "authy-authentications" | "authy-calls-outbound" | "authy-monthly-fees" | "authy-phone-intelligence" | "authy-phone-verifications" | "authy-sms-outbound" | "call-progess-events" | "calleridlookups" | "calls" | "calls-client" | "calls-globalconference" | "calls-inbound" | "calls-inbound-local" | "calls-inbound-mobile" | "calls-inbound-tollfree" | "calls-outbound" | "calls-pay-verb-transactions" | "calls-recordings" | "calls-sip" | "calls-sip-inbound" | "calls-sip-outbound" | "calls-transfers" | "carrier-lookups" | "conversations" | "conversations-api-requests" | "conversations-conversation-events" | "conversations-endpoint-connectivity" | "conversations-events" | "conversations-participant-events" | "conversations-participants" | "cps" | "flex-usage" | "fraud-lookups" | "group-rooms" | "group-rooms-data-track" | "group-rooms-encrypted-media-recorded" | "group-rooms-media-downloaded" | "group-rooms-media-recorded" | "group-rooms-media-routed" | "group-rooms-media-stored" | "group-rooms-participant-minutes" | "group-rooms-recorded-minutes" | "imp-v1-usage" | "ivr-virtual-agent-custom-voices" | "ivr-virtual-agent-genai" | "lookups" | "marketplace" | "marketplace-algorithmia-named-entity-recognition" | "marketplace-cadence-transcription" | "marketplace-cadence-translation" | "marketplace-capio-speech-to-text" | "marketplace-convriza-ababa" | "marketplace-deepgram-phrase-detector" | "marketplace-digital-segment-business-info" | "marketplace-facebook-offline-conversions" | "marketplace-google-speech-to-text" | "marketplace-ibm-watson-message-insights" | "marketplace-ibm-watson-message-sentiment" | "marketplace-ibm-watson-recording-analysis" | "marketplace-ibm-watson-tone-analyzer" | "marketplace-icehook-systems-scout" | "marketplace-infogroup-dataaxle-bizinfo" | "marketplace-keen-io-contact-center-analytics" | "marketplace-marchex-cleancall" | "marketplace-marchex-sentiment-analysis-for-sms" | "marketplace-marketplace-nextcaller-social-id" | "marketplace-mobile-commons-opt-out-classifier" | "marketplace-nexiwave-voicemail-to-text" | "marketplace-nextcaller-advanced-caller-identification" | "marketplace-nomorobo-spam-score" | "marketplace-payfone-tcpa-compliance" | "marketplace-remeeting-automatic-speech-recognition" | "marketplace-tcpa-defense-solutions-blacklist-feed" | "marketplace-telo-opencnam" | "marketplace-truecnam-true-spam" | "marketplace-twilio-caller-name-lookup-us" | "marketplace-twilio-carrier-information-lookup" | "marketplace-voicebase-pci" | "marketplace-voicebase-transcription" | "marketplace-voicebase-transcription-custom-vocabulary" | "marketplace-whitepages-pro-caller-identification" | "marketplace-whitepages-pro-phone-intelligence" | "marketplace-whitepages-pro-phone-reputation" | "marketplace-wolfarm-spoken-results" | "marketplace-wolfram-short-answer" | "marketplace-ytica-contact-center-reporting-analytics" | "mediastorage" | "mms" | "mms-inbound" | "mms-inbound-longcode" | "mms-inbound-shortcode" | "mms-messages-carrierfees" | "mms-outbound" | "mms-outbound-longcode" | "mms-outbound-shortcode" | "monitor-reads" | "monitor-storage" | "monitor-writes" | "notify" | "notify-actions-attempts" | "notify-channels" | "number-format-lookups" | "pchat" | "pchat-users" | "peer-to-peer-rooms-participant-minutes" | "pfax" | "pfax-minutes" | "pfax-minutes-inbound" | "pfax-minutes-outbound" | "pfax-pages" | "phonenumbers" | "phonenumbers-cps" | "phonenumbers-emergency" | "phonenumbers-local" | "phonenumbers-mobile" | "phonenumbers-setups" | "phonenumbers-tollfree" | "premiumsupport" | "proxy" | "proxy-active-sessions" | "pstnconnectivity" | "pv" | "pv-composition-media-downloaded" | "pv-composition-media-encrypted" | "pv-composition-media-stored" | "pv-composition-minutes" | "pv-recording-compositions" | "pv-room-participants" | "pv-room-participants-au1" | "pv-room-participants-br1" | "pv-room-participants-ie1" | "pv-room-participants-jp1" | "pv-room-participants-sg1" | "pv-room-participants-us1" | "pv-room-participants-us2" | "pv-rooms" | "pv-sip-endpoint-registrations" | "recordings" | "recordingstorage" | "rooms-group-bandwidth" | "rooms-group-minutes" | "rooms-peer-to-peer-minutes" | "shortcodes" | "shortcodes-customerowned" | "shortcodes-mms-enablement" | "shortcodes-mps" | "shortcodes-random" | "shortcodes-uk" | "shortcodes-vanity" | "small-group-rooms" | "small-group-rooms-data-track" | "small-group-rooms-participant-minutes" | "sms" | "sms-inbound" | "sms-inbound-longcode" | "sms-inbound-shortcode" | "sms-messages-carrierfees" | "sms-messages-features" | "sms-messages-features-senderid" | "sms-outbound" | "sms-outbound-content-inspection" | "sms-outbound-longcode" | "sms-outbound-shortcode" | "speech-recognition" | "studio-engagements" | "sync" | "sync-actions" | "sync-endpoint-hours" | "sync-endpoint-hours-above-daily-cap" | "taskrouter-tasks" | "totalprice" | "transcriptions" | "trunking-cps" | "trunking-emergency-calls" | "trunking-origination" | "trunking-origination-local" | "trunking-origination-mobile" | "trunking-origination-tollfree" | "trunking-recordings" | "trunking-secure" | "trunking-termination" | "tts-google" | "turnmegabytes" | "turnmegabytes-australia" | "turnmegabytes-brasil" | "turnmegabytes-germany" | "turnmegabytes-india" | "turnmegabytes-ireland" | "turnmegabytes-japan" | "turnmegabytes-singapore" | "turnmegabytes-useast" | "turnmegabytes-uswest" | "twilio-interconnect" | "verify-push" | "verify-totp" | "verify-whatsapp-conversations-business-initiated" | "video-recordings" | "virtual-agent" | "voice-insights" | "voice-insights-client-insights-on-demand-minute" | "voice-insights-ptsn-insights-on-demand-minute" | "voice-insights-sip-interface-insights-on-demand-minute" | "voice-insights-sip-trunking-insights-on-demand-minute" | "voice-intelligence" | "voice-intelligence-transcription" | "voice-intelligence-operators" | "wireless" | "wireless-orders" | "wireless-orders-artwork" | "wireless-orders-bulk" | "wireless-orders-esim" | "wireless-orders-starter" | "wireless-usage" | "wireless-usage-commands" | "wireless-usage-commands-africa" | "wireless-usage-commands-asia" | "wireless-usage-commands-centralandsouthamerica" | "wireless-usage-commands-europe" | "wireless-usage-commands-home" | "wireless-usage-commands-northamerica" | "wireless-usage-commands-oceania" | "wireless-usage-commands-roaming" | "wireless-usage-data" | "wireless-usage-data-africa" | "wireless-usage-data-asia" | "wireless-usage-data-centralandsouthamerica" | "wireless-usage-data-custom-additionalmb" | "wireless-usage-data-custom-first5mb" | "wireless-usage-data-domestic-roaming" | "wireless-usage-data-europe" | "wireless-usage-data-individual-additionalgb" | "wireless-usage-data-individual-firstgb" | "wireless-usage-data-international-roaming-canada" | "wireless-usage-data-international-roaming-india" | "wireless-usage-data-international-roaming-mexico" | "wireless-usage-data-northamerica" | "wireless-usage-data-oceania" | "wireless-usage-data-pooled" | "wireless-usage-data-pooled-downlink" | "wireless-usage-data-pooled-uplink" | "wireless-usage-mrc" | "wireless-usage-mrc-custom" | "wireless-usage-mrc-individual" | "wireless-usage-mrc-pooled" | "wireless-usage-mrc-suspended" | "wireless-usage-sms" | "wireless-usage-voice";
|
|
7
10
|
/**
|
|
8
11
|
* Options to pass to each
|
|
@@ -3,6 +3,9 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../../http/response";
|
|
5
5
|
import V2010 from "../../../../V2010";
|
|
6
|
+
/**
|
|
7
|
+
* The category of usage. For more information, see [Usage Categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories).
|
|
8
|
+
*/
|
|
6
9
|
export type MonthlyCategory = "a2p-registration-fees" | "agent-conference" | "amazon-polly" | "answering-machine-detection" | "authy-authentications" | "authy-calls-outbound" | "authy-monthly-fees" | "authy-phone-intelligence" | "authy-phone-verifications" | "authy-sms-outbound" | "call-progess-events" | "calleridlookups" | "calls" | "calls-client" | "calls-globalconference" | "calls-inbound" | "calls-inbound-local" | "calls-inbound-mobile" | "calls-inbound-tollfree" | "calls-outbound" | "calls-pay-verb-transactions" | "calls-recordings" | "calls-sip" | "calls-sip-inbound" | "calls-sip-outbound" | "calls-transfers" | "carrier-lookups" | "conversations" | "conversations-api-requests" | "conversations-conversation-events" | "conversations-endpoint-connectivity" | "conversations-events" | "conversations-participant-events" | "conversations-participants" | "cps" | "flex-usage" | "fraud-lookups" | "group-rooms" | "group-rooms-data-track" | "group-rooms-encrypted-media-recorded" | "group-rooms-media-downloaded" | "group-rooms-media-recorded" | "group-rooms-media-routed" | "group-rooms-media-stored" | "group-rooms-participant-minutes" | "group-rooms-recorded-minutes" | "imp-v1-usage" | "ivr-virtual-agent-custom-voices" | "ivr-virtual-agent-genai" | "lookups" | "marketplace" | "marketplace-algorithmia-named-entity-recognition" | "marketplace-cadence-transcription" | "marketplace-cadence-translation" | "marketplace-capio-speech-to-text" | "marketplace-convriza-ababa" | "marketplace-deepgram-phrase-detector" | "marketplace-digital-segment-business-info" | "marketplace-facebook-offline-conversions" | "marketplace-google-speech-to-text" | "marketplace-ibm-watson-message-insights" | "marketplace-ibm-watson-message-sentiment" | "marketplace-ibm-watson-recording-analysis" | "marketplace-ibm-watson-tone-analyzer" | "marketplace-icehook-systems-scout" | "marketplace-infogroup-dataaxle-bizinfo" | "marketplace-keen-io-contact-center-analytics" | "marketplace-marchex-cleancall" | "marketplace-marchex-sentiment-analysis-for-sms" | "marketplace-marketplace-nextcaller-social-id" | "marketplace-mobile-commons-opt-out-classifier" | "marketplace-nexiwave-voicemail-to-text" | "marketplace-nextcaller-advanced-caller-identification" | "marketplace-nomorobo-spam-score" | "marketplace-payfone-tcpa-compliance" | "marketplace-remeeting-automatic-speech-recognition" | "marketplace-tcpa-defense-solutions-blacklist-feed" | "marketplace-telo-opencnam" | "marketplace-truecnam-true-spam" | "marketplace-twilio-caller-name-lookup-us" | "marketplace-twilio-carrier-information-lookup" | "marketplace-voicebase-pci" | "marketplace-voicebase-transcription" | "marketplace-voicebase-transcription-custom-vocabulary" | "marketplace-whitepages-pro-caller-identification" | "marketplace-whitepages-pro-phone-intelligence" | "marketplace-whitepages-pro-phone-reputation" | "marketplace-wolfarm-spoken-results" | "marketplace-wolfram-short-answer" | "marketplace-ytica-contact-center-reporting-analytics" | "mediastorage" | "mms" | "mms-inbound" | "mms-inbound-longcode" | "mms-inbound-shortcode" | "mms-messages-carrierfees" | "mms-outbound" | "mms-outbound-longcode" | "mms-outbound-shortcode" | "monitor-reads" | "monitor-storage" | "monitor-writes" | "notify" | "notify-actions-attempts" | "notify-channels" | "number-format-lookups" | "pchat" | "pchat-users" | "peer-to-peer-rooms-participant-minutes" | "pfax" | "pfax-minutes" | "pfax-minutes-inbound" | "pfax-minutes-outbound" | "pfax-pages" | "phonenumbers" | "phonenumbers-cps" | "phonenumbers-emergency" | "phonenumbers-local" | "phonenumbers-mobile" | "phonenumbers-setups" | "phonenumbers-tollfree" | "premiumsupport" | "proxy" | "proxy-active-sessions" | "pstnconnectivity" | "pv" | "pv-composition-media-downloaded" | "pv-composition-media-encrypted" | "pv-composition-media-stored" | "pv-composition-minutes" | "pv-recording-compositions" | "pv-room-participants" | "pv-room-participants-au1" | "pv-room-participants-br1" | "pv-room-participants-ie1" | "pv-room-participants-jp1" | "pv-room-participants-sg1" | "pv-room-participants-us1" | "pv-room-participants-us2" | "pv-rooms" | "pv-sip-endpoint-registrations" | "recordings" | "recordingstorage" | "rooms-group-bandwidth" | "rooms-group-minutes" | "rooms-peer-to-peer-minutes" | "shortcodes" | "shortcodes-customerowned" | "shortcodes-mms-enablement" | "shortcodes-mps" | "shortcodes-random" | "shortcodes-uk" | "shortcodes-vanity" | "small-group-rooms" | "small-group-rooms-data-track" | "small-group-rooms-participant-minutes" | "sms" | "sms-inbound" | "sms-inbound-longcode" | "sms-inbound-shortcode" | "sms-messages-carrierfees" | "sms-messages-features" | "sms-messages-features-senderid" | "sms-outbound" | "sms-outbound-content-inspection" | "sms-outbound-longcode" | "sms-outbound-shortcode" | "speech-recognition" | "studio-engagements" | "sync" | "sync-actions" | "sync-endpoint-hours" | "sync-endpoint-hours-above-daily-cap" | "taskrouter-tasks" | "totalprice" | "transcriptions" | "trunking-cps" | "trunking-emergency-calls" | "trunking-origination" | "trunking-origination-local" | "trunking-origination-mobile" | "trunking-origination-tollfree" | "trunking-recordings" | "trunking-secure" | "trunking-termination" | "tts-google" | "turnmegabytes" | "turnmegabytes-australia" | "turnmegabytes-brasil" | "turnmegabytes-germany" | "turnmegabytes-india" | "turnmegabytes-ireland" | "turnmegabytes-japan" | "turnmegabytes-singapore" | "turnmegabytes-useast" | "turnmegabytes-uswest" | "twilio-interconnect" | "verify-push" | "verify-totp" | "verify-whatsapp-conversations-business-initiated" | "video-recordings" | "virtual-agent" | "voice-insights" | "voice-insights-client-insights-on-demand-minute" | "voice-insights-ptsn-insights-on-demand-minute" | "voice-insights-sip-interface-insights-on-demand-minute" | "voice-insights-sip-trunking-insights-on-demand-minute" | "voice-intelligence" | "voice-intelligence-transcription" | "voice-intelligence-operators" | "wireless" | "wireless-orders" | "wireless-orders-artwork" | "wireless-orders-bulk" | "wireless-orders-esim" | "wireless-orders-starter" | "wireless-usage" | "wireless-usage-commands" | "wireless-usage-commands-africa" | "wireless-usage-commands-asia" | "wireless-usage-commands-centralandsouthamerica" | "wireless-usage-commands-europe" | "wireless-usage-commands-home" | "wireless-usage-commands-northamerica" | "wireless-usage-commands-oceania" | "wireless-usage-commands-roaming" | "wireless-usage-data" | "wireless-usage-data-africa" | "wireless-usage-data-asia" | "wireless-usage-data-centralandsouthamerica" | "wireless-usage-data-custom-additionalmb" | "wireless-usage-data-custom-first5mb" | "wireless-usage-data-domestic-roaming" | "wireless-usage-data-europe" | "wireless-usage-data-individual-additionalgb" | "wireless-usage-data-individual-firstgb" | "wireless-usage-data-international-roaming-canada" | "wireless-usage-data-international-roaming-india" | "wireless-usage-data-international-roaming-mexico" | "wireless-usage-data-northamerica" | "wireless-usage-data-oceania" | "wireless-usage-data-pooled" | "wireless-usage-data-pooled-downlink" | "wireless-usage-data-pooled-uplink" | "wireless-usage-mrc" | "wireless-usage-mrc-custom" | "wireless-usage-mrc-individual" | "wireless-usage-mrc-pooled" | "wireless-usage-mrc-suspended" | "wireless-usage-sms" | "wireless-usage-voice";
|
|
7
10
|
/**
|
|
8
11
|
* Options to pass to each
|