Socket
Socket
Sign inDemoInstall

twilio

Package Overview
Dependencies
Maintainers
1
Versions
300
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twilio - npm Package Compare versions

Comparing version 4.8.0 to 4.9.0

lib/rest/content/v1/contentAndApprovals.d.ts

1

lib/base/BaseTwilio.d.ts
/// <reference types="node" />
import RequestClient from "./RequestClient";
import { HttpMethod } from "../interfaces";
import { Headers } from "../http/request";
declare namespace Twilio {

@@ -5,0 +6,0 @@ interface ClientOpts {

339

lib/jwt/AccessToken.d.ts

@@ -1,169 +0,4 @@

export declare abstract class Grant<TOptions, TPayload, TKey> {
key?: TKey;
constructor(opts?: TOptions);
abstract toPayload(): TPayload;
}
export interface TaskRouterGrantOptions {
workspaceSid?: string;
workerSid?: string;
role?: string;
}
export interface TaskRouterGrantPayload {
workspace_sid?: string;
worker_sid?: string;
role?: string;
}
export interface ChatGrantOptions {
serviceSid?: string;
endpointId?: string;
deploymentRoleSid?: string;
pushCredentialSid?: string;
}
export interface ChatGrantPayload {
service_sid?: string;
endpoint_id?: string;
deployment_role_sid?: string;
push_credential_sid?: string;
}
export interface VideoGrantOptions {
room?: string;
}
export interface VideoGrantPayload {
room?: string;
}
export interface SyncGrantOptions {
serviceSid?: string;
endpointId?: string;
}
export interface SyncGrantPayload {
service_sid?: string;
endpoint_id?: string;
}
export interface VoiceGrantOptions {
incomingAllow?: boolean;
outgoingApplicationSid?: string;
outgoingApplicationParams?: object;
pushCredentialSid?: string;
endpointId?: string;
}
export interface VoiceGrantPayload {
incoming?: {
allow: boolean;
};
outgoing?: {
application_sid: string;
params?: object;
};
push_credential_sid?: string;
endpoint_id?: string;
}
export interface PlaybackGrantOptions {
grant?: object;
}
export interface PlaybackGrantPayload {
grant?: object;
}
export interface AccessTokenOptions {
/**
* Time to live in seconds
*/
ttl?: number;
/**
* The identity of the first person. Required.
*/
identity: string;
/**
* Time from epoch in seconds for not before value
*/
nbf?: number;
/**
* The region value associated with this account
*/
region?: string;
}
type ALGORITHMS = "HS256" | "HS384" | "HS512";
declare class TaskRouterGrant extends Grant<TaskRouterGrantOptions, TaskRouterGrantPayload, "task_router"> implements TaskRouterGrantOptions {
workspaceSid?: string;
workerSid?: string;
role?: string;
/**
* @param options - ...
* @param options.workspaceSid - The workspace unique ID
* @param options.workerSid - The worker unique ID
* @param options.role - The role of the grant
*/
constructor(options?: TaskRouterGrantOptions);
toPayload(): TaskRouterGrantPayload;
}
export declare class ChatGrant extends Grant<ChatGrantOptions, ChatGrantPayload, "chat"> implements ChatGrantOptions {
serviceSid?: string;
endpointId?: string;
deploymentRoleSid?: string;
pushCredentialSid?: string;
/**
* @param options - ...
* @param options.serviceSid - The service unique ID
* @param options.endpointId - The endpoint ID
* @param options.deploymentRoleSid - SID of the deployment role to be
* assigned to the user
* @param options.pushCredentialSid - The Push Credentials SID
*/
constructor(options?: ChatGrantOptions);
toPayload(): ChatGrantPayload;
}
declare class VideoGrant extends Grant<VideoGrantOptions, VideoGrantPayload, "video"> implements VideoGrantOptions {
room?: string;
/**
* @param options - ...
* @param options.room - The Room name or Room sid.
*/
constructor(options?: VideoGrantOptions);
toPayload(): VideoGrantPayload;
}
declare class SyncGrant extends Grant<SyncGrantOptions, SyncGrantPayload, "data_sync"> implements SyncGrantOptions {
serviceSid?: string;
endpointId?: string;
/**
* @param options.serviceSid - The service unique ID
* @param options.endpointId - The endpoint ID
*/
constructor(options?: SyncGrantOptions);
toPayload(): SyncGrantPayload;
}
declare class VoiceGrant extends Grant<VoiceGrantOptions, VoiceGrantPayload, "voice"> implements VoiceGrantOptions {
incomingAllow?: boolean;
outgoingApplicationSid?: string;
outgoingApplicationParams?: object;
pushCredentialSid?: string;
endpointId?: string;
/**
* @param options - ...
* @param options.incomingAllow - Whether or not this endpoint is allowed to receive incoming calls as grants.identity
* @param options.outgoingApplicationSid - application sid to call when placing outgoing call
* @param options.outgoingApplicationParams - request params to pass to the application
* @param options.pushCredentialSid - Push Credential Sid to use when registering to receive incoming call notifications
* @param options.endpointId - Specify an endpoint identifier for this device, which will allow the developer
* to direct calls to a specific endpoint when multiple devices are associated with a single identity
*/
constructor(options?: VoiceGrantOptions);
toPayload(): VoiceGrantPayload;
}
declare class PlaybackGrant extends Grant<PlaybackGrantOptions, PlaybackGrantPayload, "player"> implements PlaybackGrantOptions {
grant?: object;
/**
* @param options - ...
* @param options.grant - The PlaybackGrant retrieved from Twilio's API
*/
constructor(options?: PlaybackGrantOptions);
toPayload(): PlaybackGrantPayload;
}
export default class AccessToken implements AccessTokenOptions {
declare class AccessToken implements AccessToken.AccessTokenOptions {
static DEFAULT_ALGORITHM: "HS256";
static ALGORITHMS: ALGORITHMS[];
static ChatGrant: typeof ChatGrant;
static VoiceGrant: typeof VoiceGrant;
static SyncGrant: typeof SyncGrant;
static VideoGrant: typeof VideoGrant;
static TaskRouterGrant: typeof TaskRouterGrant;
static PlaybackGrant: typeof PlaybackGrant;
static ALGORITHMS: string[];
accountSid: string;

@@ -176,3 +11,3 @@ keySid: string;

region?: string;
grants: Grant<any, any, any>[];
grants: AccessToken.Grant<any, any, any>[];
/**

@@ -188,6 +23,166 @@ * @param accountSid - The account's unique ID to which access is scoped

*/
constructor(accountSid: string, keySid: string, secret: string, options: AccessTokenOptions);
addGrant<T extends Grant<any, any, any>>(grant: T): void;
toJwt(algorithm?: ALGORITHMS): string;
constructor(accountSid: string, keySid: string, secret: string, options: AccessToken.AccessTokenOptions);
addGrant<T extends AccessToken.Grant<any, any, any>>(grant: T): void;
toJwt(algorithm?: "HS256" | "HS384" | "HS512"): string;
}
export {};
declare namespace AccessToken {
abstract class Grant<TOptions, TPayload, TKey> {
key: TKey;
protected constructor(key: TKey);
abstract toPayload(): TPayload;
}
interface TaskRouterGrantOptions {
workspaceSid?: string;
workerSid?: string;
role?: string;
}
interface TaskRouterGrantPayload {
workspace_sid?: string;
worker_sid?: string;
role?: string;
}
interface ChatGrantOptions {
serviceSid?: string;
endpointId?: string;
deploymentRoleSid?: string;
pushCredentialSid?: string;
}
interface ChatGrantPayload {
service_sid?: string;
endpoint_id?: string;
deployment_role_sid?: string;
push_credential_sid?: string;
}
interface VideoGrantOptions {
room?: string;
}
interface VideoGrantPayload {
room?: string;
}
interface SyncGrantOptions {
serviceSid?: string;
endpointId?: string;
}
interface SyncGrantPayload {
service_sid?: string;
endpoint_id?: string;
}
interface VoiceGrantOptions {
incomingAllow?: boolean;
outgoingApplicationSid?: string;
outgoingApplicationParams?: object;
pushCredentialSid?: string;
endpointId?: string;
}
interface VoiceGrantPayload {
incoming?: {
allow: boolean;
};
outgoing?: {
application_sid: string;
params?: object;
};
push_credential_sid?: string;
endpoint_id?: string;
}
interface PlaybackGrantOptions {
grant?: object;
}
interface PlaybackGrantPayload {
grant?: object;
}
interface AccessTokenOptions {
/**
* Time to live in seconds
*/
ttl?: number;
/**
* The identity of the first person. Required.
*/
identity: string;
/**
* Time from epoch in seconds for not before value
*/
nbf?: number;
/**
* The region value associated with this account
*/
region?: string;
}
class TaskRouterGrant extends Grant<TaskRouterGrantOptions, TaskRouterGrantPayload, "task_router"> implements TaskRouterGrantOptions {
workspaceSid?: string;
workerSid?: string;
role?: string;
/**
* @param options - ...
* @param options.workspaceSid - The workspace unique ID
* @param options.workerSid - The worker unique ID
* @param options.role - The role of the grant
*/
constructor(options?: TaskRouterGrantOptions);
toPayload(): TaskRouterGrantPayload;
}
class ChatGrant extends Grant<ChatGrantOptions, ChatGrantPayload, "chat"> implements ChatGrantOptions {
serviceSid?: string;
endpointId?: string;
deploymentRoleSid?: string;
pushCredentialSid?: string;
/**
* @param options - ...
* @param options.serviceSid - The service unique ID
* @param options.endpointId - The endpoint ID
* @param options.deploymentRoleSid - SID of the deployment role to be
* assigned to the user
* @param options.pushCredentialSid - The Push Credentials SID
*/
constructor(options?: ChatGrantOptions);
toPayload(): ChatGrantPayload;
}
class VideoGrant extends Grant<VideoGrantOptions, VideoGrantPayload, "video"> implements VideoGrantOptions {
room?: string;
/**
* @param options - ...
* @param options.room - The Room name or Room sid.
*/
constructor(options?: VideoGrantOptions);
toPayload(): VideoGrantPayload;
}
class SyncGrant extends Grant<SyncGrantOptions, SyncGrantPayload, "data_sync"> implements SyncGrantOptions {
serviceSid?: string;
endpointId?: string;
/**
* @param options.serviceSid - The service unique ID
* @param options.endpointId - The endpoint ID
*/
constructor(options?: SyncGrantOptions);
toPayload(): SyncGrantPayload;
}
class VoiceGrant extends Grant<VoiceGrantOptions, VoiceGrantPayload, "voice"> implements VoiceGrantOptions {
incomingAllow?: boolean;
outgoingApplicationSid?: string;
outgoingApplicationParams?: object;
pushCredentialSid?: string;
endpointId?: string;
/**
* @param options - ...
* @param options.incomingAllow - Whether or not this endpoint is allowed to receive incoming calls as grants.identity
* @param options.outgoingApplicationSid - application sid to call when placing outgoing call
* @param options.outgoingApplicationParams - request params to pass to the application
* @param options.pushCredentialSid - Push Credential Sid to use when registering to receive incoming call notifications
* @param options.endpointId - Specify an endpoint identifier for this device, which will allow the developer
* to direct calls to a specific endpoint when multiple devices are associated with a single identity
*/
constructor(options?: VoiceGrantOptions);
toPayload(): VoiceGrantPayload;
}
class PlaybackGrant extends Grant<PlaybackGrantOptions, PlaybackGrantPayload, "player"> implements PlaybackGrantOptions {
grant?: object;
/**
* @param options - ...
* @param options.grant - The PlaybackGrant retrieved from Twilio's API
*/
constructor(options?: PlaybackGrantOptions);
toPayload(): PlaybackGrantPayload;
}
}
export = AccessToken;

@@ -5,177 +5,3 @@ "use strict";

};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ChatGrant = exports.Grant = void 0;
const jsonwebtoken_1 = __importDefault(require("jsonwebtoken"));
class Grant {
constructor(opts) { }
}
exports.Grant = Grant;
class TaskRouterGrant extends Grant {
/**
* @param options - ...
* @param options.workspaceSid - The workspace unique ID
* @param options.workerSid - The worker unique ID
* @param options.role - The role of the grant
*/
constructor(options) {
options = options || {};
super(options);
this.workspaceSid = options.workspaceSid;
this.workerSid = options.workerSid;
this.role = options.role;
this.key = "task_router";
}
toPayload() {
var grant = {};
if (this.workspaceSid) {
grant.workspace_sid = this.workspaceSid;
}
if (this.workerSid) {
grant.worker_sid = this.workerSid;
}
if (this.role) {
grant.role = this.role;
}
return grant;
}
}
class ChatGrant extends Grant {
/**
* @param options - ...
* @param options.serviceSid - The service unique ID
* @param options.endpointId - The endpoint ID
* @param options.deploymentRoleSid - SID of the deployment role to be
* assigned to the user
* @param options.pushCredentialSid - The Push Credentials SID
*/
constructor(options) {
options = options || {};
super(options);
this.serviceSid = options.serviceSid;
this.endpointId = options.endpointId;
this.deploymentRoleSid = options.deploymentRoleSid;
this.pushCredentialSid = options.pushCredentialSid;
this.key = "chat";
}
toPayload() {
var grant = {};
if (this.serviceSid) {
grant.service_sid = this.serviceSid;
}
if (this.endpointId) {
grant.endpoint_id = this.endpointId;
}
if (this.deploymentRoleSid) {
grant.deployment_role_sid = this.deploymentRoleSid;
}
if (this.pushCredentialSid) {
grant.push_credential_sid = this.pushCredentialSid;
}
return grant;
}
}
exports.ChatGrant = ChatGrant;
class VideoGrant extends Grant {
/**
* @param options - ...
* @param options.room - The Room name or Room sid.
*/
constructor(options) {
options = options || {};
super(options);
this.room = options.room;
this.key = "video";
}
toPayload() {
var grant = {};
if (this.room) {
grant.room = this.room;
}
return grant;
}
}
class SyncGrant extends Grant {
/**
* @param options.serviceSid - The service unique ID
* @param options.endpointId - The endpoint ID
*/
constructor(options) {
options = options || {};
super(options);
this.serviceSid = options.serviceSid;
this.endpointId = options.endpointId;
this.key = "data_sync";
}
toPayload() {
var grant = {};
if (this.serviceSid) {
grant.service_sid = this.serviceSid;
}
if (this.endpointId) {
grant.endpoint_id = this.endpointId;
}
return grant;
}
}
class VoiceGrant extends Grant {
/**
* @param options - ...
* @param options.incomingAllow - Whether or not this endpoint is allowed to receive incoming calls as grants.identity
* @param options.outgoingApplicationSid - application sid to call when placing outgoing call
* @param options.outgoingApplicationParams - request params to pass to the application
* @param options.pushCredentialSid - Push Credential Sid to use when registering to receive incoming call notifications
* @param options.endpointId - Specify an endpoint identifier for this device, which will allow the developer
* to direct calls to a specific endpoint when multiple devices are associated with a single identity
*/
constructor(options) {
options = options || {};
super(options);
this.incomingAllow = options.incomingAllow;
this.outgoingApplicationSid = options.outgoingApplicationSid;
this.outgoingApplicationParams = options.outgoingApplicationParams;
this.pushCredentialSid = options.pushCredentialSid;
this.endpointId = options.endpointId;
this.key = "voice";
}
toPayload() {
var grant = {};
if (this.incomingAllow === true) {
grant.incoming = { allow: true };
}
if (this.outgoingApplicationSid) {
grant.outgoing = {
application_sid: this.outgoingApplicationSid,
};
if (this.outgoingApplicationParams) {
grant.outgoing.params = this.outgoingApplicationParams;
}
}
if (this.pushCredentialSid) {
grant.push_credential_sid = this.pushCredentialSid;
}
if (this.endpointId) {
grant.endpoint_id = this.endpointId;
}
return grant;
}
}
class PlaybackGrant extends Grant {
/**
* @param options - ...
* @param options.grant - The PlaybackGrant retrieved from Twilio's API
*/
constructor(options) {
options = options || {};
super(options);
this.grant = options.grant;
this.key = "player";
}
toPayload() {
var grant = {};
if (this.grant) {
grant = this.grant;
}
return grant;
}
}
class AccessToken {

@@ -223,3 +49,3 @@ /**

}
var grants = {};
let grants = {};
if (Number.isInteger(this.identity) || typeof this.identity === "string") {

@@ -231,4 +57,4 @@ grants.identity = String(this.identity);

}
var now = Math.floor(Date.now() / 1000);
var payload = {
const now = Math.floor(Date.now() / 1000);
let payload = {
jti: this.keySid + "-" + now,

@@ -240,3 +66,3 @@ grants: grants,

}
var header = {
let header = {
cty: "twilio-fpa;v=1",

@@ -257,10 +83,179 @@ typ: "JWT",

}
exports.default = AccessToken;
AccessToken.DEFAULT_ALGORITHM = "HS256";
AccessToken.ALGORITHMS = ["HS256", "HS384", "HS512"];
AccessToken.ChatGrant = ChatGrant;
AccessToken.VoiceGrant = VoiceGrant;
AccessToken.SyncGrant = SyncGrant;
AccessToken.VideoGrant = VideoGrant;
AccessToken.TaskRouterGrant = TaskRouterGrant;
AccessToken.PlaybackGrant = PlaybackGrant;
(function (AccessToken) {
class Grant {
constructor(key) {
this.key = key;
}
}
AccessToken.Grant = Grant;
class TaskRouterGrant extends Grant {
/**
* @param options - ...
* @param options.workspaceSid - The workspace unique ID
* @param options.workerSid - The worker unique ID
* @param options.role - The role of the grant
*/
constructor(options) {
options = options || {};
super("task_router");
this.workspaceSid = options.workspaceSid;
this.workerSid = options.workerSid;
this.role = options.role;
}
toPayload() {
let grant = {};
if (this.workspaceSid) {
grant.workspace_sid = this.workspaceSid;
}
if (this.workerSid) {
grant.worker_sid = this.workerSid;
}
if (this.role) {
grant.role = this.role;
}
return grant;
}
}
AccessToken.TaskRouterGrant = TaskRouterGrant;
class ChatGrant extends Grant {
/**
* @param options - ...
* @param options.serviceSid - The service unique ID
* @param options.endpointId - The endpoint ID
* @param options.deploymentRoleSid - SID of the deployment role to be
* assigned to the user
* @param options.pushCredentialSid - The Push Credentials SID
*/
constructor(options) {
options = options || {};
super("chat");
this.serviceSid = options.serviceSid;
this.endpointId = options.endpointId;
this.deploymentRoleSid = options.deploymentRoleSid;
this.pushCredentialSid = options.pushCredentialSid;
}
toPayload() {
let grant = {};
if (this.serviceSid) {
grant.service_sid = this.serviceSid;
}
if (this.endpointId) {
grant.endpoint_id = this.endpointId;
}
if (this.deploymentRoleSid) {
grant.deployment_role_sid = this.deploymentRoleSid;
}
if (this.pushCredentialSid) {
grant.push_credential_sid = this.pushCredentialSid;
}
return grant;
}
}
AccessToken.ChatGrant = ChatGrant;
class VideoGrant extends Grant {
/**
* @param options - ...
* @param options.room - The Room name or Room sid.
*/
constructor(options) {
options = options || {};
super("video");
this.room = options.room;
}
toPayload() {
let grant = {};
if (this.room) {
grant.room = this.room;
}
return grant;
}
}
AccessToken.VideoGrant = VideoGrant;
class SyncGrant extends Grant {
/**
* @param options.serviceSid - The service unique ID
* @param options.endpointId - The endpoint ID
*/
constructor(options) {
options = options || {};
super("data_sync");
this.serviceSid = options.serviceSid;
this.endpointId = options.endpointId;
}
toPayload() {
let grant = {};
if (this.serviceSid) {
grant.service_sid = this.serviceSid;
}
if (this.endpointId) {
grant.endpoint_id = this.endpointId;
}
return grant;
}
}
AccessToken.SyncGrant = SyncGrant;
class VoiceGrant extends Grant {
/**
* @param options - ...
* @param options.incomingAllow - Whether or not this endpoint is allowed to receive incoming calls as grants.identity
* @param options.outgoingApplicationSid - application sid to call when placing outgoing call
* @param options.outgoingApplicationParams - request params to pass to the application
* @param options.pushCredentialSid - Push Credential Sid to use when registering to receive incoming call notifications
* @param options.endpointId - Specify an endpoint identifier for this device, which will allow the developer
* to direct calls to a specific endpoint when multiple devices are associated with a single identity
*/
constructor(options) {
options = options || {};
super("voice");
this.incomingAllow = options.incomingAllow;
this.outgoingApplicationSid = options.outgoingApplicationSid;
this.outgoingApplicationParams = options.outgoingApplicationParams;
this.pushCredentialSid = options.pushCredentialSid;
this.endpointId = options.endpointId;
}
toPayload() {
let grant = {};
if (this.incomingAllow === true) {
grant.incoming = { allow: true };
}
if (this.outgoingApplicationSid) {
grant.outgoing = {
application_sid: this.outgoingApplicationSid,
};
if (this.outgoingApplicationParams) {
grant.outgoing.params = this.outgoingApplicationParams;
}
}
if (this.pushCredentialSid) {
grant.push_credential_sid = this.pushCredentialSid;
}
if (this.endpointId) {
grant.endpoint_id = this.endpointId;
}
return grant;
}
}
AccessToken.VoiceGrant = VoiceGrant;
class PlaybackGrant extends Grant {
/**
* @param options - ...
* @param options.grant - The PlaybackGrant retrieved from Twilio's API
*/
constructor(options) {
options = options || {};
super("player");
this.grant = options.grant;
}
toPayload() {
let grant = {};
if (this.grant) {
grant = this.grant;
}
return grant;
}
}
AccessToken.PlaybackGrant = PlaybackGrant;
})(AccessToken || (AccessToken = {}));
module.exports = AccessToken;

@@ -106,7 +106,2 @@ /// <reference types="node" />

export declare function DependentPhoneNumberListInstance(version: V2010, accountSid: string, addressSid: string): DependentPhoneNumberListInstance;
export type DependentPhoneNumberVoiceMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type DependentPhoneNumberVoiceFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type DependentPhoneNumberSmsFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type DependentPhoneNumberSmsMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type DependentPhoneNumberStatusCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface DependentPhoneNumberPayload extends TwilioResponsePayload {

@@ -121,4 +116,4 @@ dependent_phone_numbers: DependentPhoneNumberResource[];

voice_url: string;
voice_method: DependentPhoneNumberVoiceMethod;
voice_fallback_method: DependentPhoneNumberVoiceFallbackMethod;
voice_method: string;
voice_fallback_method: string;
voice_fallback_url: string;

@@ -128,5 +123,5 @@ voice_caller_id_lookup: boolean;

date_updated: Date;
sms_fallback_method: DependentPhoneNumberSmsFallbackMethod;
sms_fallback_method: string;
sms_fallback_url: string;
sms_method: DependentPhoneNumberSmsMethod;
sms_method: string;
sms_url: string;

@@ -136,3 +131,3 @@ address_requirements: DependentPhoneNumberAddressRequirement;

status_callback: string;
status_callback_method: DependentPhoneNumberStatusCallbackMethod;
status_callback_method: string;
api_version: string;

@@ -172,7 +167,7 @@ sms_application_sid: string;

*/
voiceMethod: DependentPhoneNumberVoiceMethod;
voiceMethod: string;
/**
* The HTTP method we use to call `voice_fallback_url`. Can be: `GET` or `POST`.
*/
voiceFallbackMethod: DependentPhoneNumberVoiceFallbackMethod;
voiceFallbackMethod: string;
/**

@@ -197,3 +192,3 @@ * The URL that we call when an error occurs retrieving or executing the TwiML requested by `url`.

*/
smsFallbackMethod: DependentPhoneNumberSmsFallbackMethod;
smsFallbackMethod: string;
/**

@@ -206,3 +201,3 @@ * The URL that we call when an error occurs while retrieving or executing the TwiML from `sms_url`.

*/
smsMethod: DependentPhoneNumberSmsMethod;
smsMethod: string;
/**

@@ -224,3 +219,3 @@ * The URL we call when the phone number receives an incoming SMS message.

*/
statusCallbackMethod: DependentPhoneNumberStatusCallbackMethod;
statusCallbackMethod: string;
/**

@@ -262,4 +257,4 @@ * The API version used to start a new TwiML session.

voiceUrl: string;
voiceMethod: DependentPhoneNumberVoiceMethod;
voiceFallbackMethod: DependentPhoneNumberVoiceFallbackMethod;
voiceMethod: string;
voiceFallbackMethod: string;
voiceFallbackUrl: string;

@@ -269,5 +264,5 @@ voiceCallerIdLookup: boolean;

dateUpdated: Date;
smsFallbackMethod: DependentPhoneNumberSmsFallbackMethod;
smsFallbackMethod: string;
smsFallbackUrl: string;
smsMethod: DependentPhoneNumberSmsMethod;
smsMethod: string;
smsUrl: string;

@@ -277,3 +272,3 @@ addressRequirements: DependentPhoneNumberAddressRequirement;

statusCallback: string;
statusCallbackMethod: DependentPhoneNumberStatusCallbackMethod;
statusCallbackMethod: string;
apiVersion: string;

@@ -280,0 +275,0 @@ smsApplicationSid: string;

@@ -179,7 +179,2 @@ /// <reference types="node" />

}
export type ApplicationSmsFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type ApplicationSmsMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type ApplicationStatusCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type ApplicationVoiceFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type ApplicationVoiceMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface ApplicationPayload extends TwilioResponsePayload {

@@ -196,14 +191,14 @@ applications: ApplicationResource[];

sid: string;
sms_fallback_method: ApplicationSmsFallbackMethod;
sms_fallback_method: string;
sms_fallback_url: string;
sms_method: ApplicationSmsMethod;
sms_method: string;
sms_status_callback: string;
sms_url: string;
status_callback: string;
status_callback_method: ApplicationStatusCallbackMethod;
status_callback_method: string;
uri: string;
voice_caller_id_lookup: boolean;
voice_fallback_method: ApplicationVoiceFallbackMethod;
voice_fallback_method: string;
voice_fallback_url: string;
voice_method: ApplicationVoiceMethod;
voice_method: string;
voice_url: string;

@@ -248,3 +243,3 @@ public_application_connect_enabled: boolean;

*/
smsFallbackMethod: ApplicationSmsFallbackMethod;
smsFallbackMethod: string;
/**

@@ -257,3 +252,3 @@ * The URL that we call when an error occurs while retrieving or executing the TwiML from `sms_url`.

*/
smsMethod: ApplicationSmsMethod;
smsMethod: string;
/**

@@ -274,3 +269,3 @@ * The URL we call using a POST method to send status information to your application about SMS messages that refer to the application.

*/
statusCallbackMethod: ApplicationStatusCallbackMethod;
statusCallbackMethod: string;
/**

@@ -287,3 +282,3 @@ * The URI of the resource, relative to `https://api.twilio.com`.

*/
voiceFallbackMethod: ApplicationVoiceFallbackMethod;
voiceFallbackMethod: string;
/**

@@ -296,3 +291,3 @@ * The URL that we call when an error occurs retrieving or executing the TwiML requested by `url`.

*/
voiceMethod: ApplicationVoiceMethod;
voiceMethod: string;
/**

@@ -353,14 +348,14 @@ * The URL we call when the phone number assigned to this application receives a call.

sid: string;
smsFallbackMethod: ApplicationSmsFallbackMethod;
smsFallbackMethod: string;
smsFallbackUrl: string;
smsMethod: ApplicationSmsMethod;
smsMethod: string;
smsStatusCallback: string;
smsUrl: string;
statusCallback: string;
statusCallbackMethod: ApplicationStatusCallbackMethod;
statusCallbackMethod: string;
uri: string;
voiceCallerIdLookup: boolean;
voiceFallbackMethod: ApplicationVoiceFallbackMethod;
voiceFallbackMethod: string;
voiceFallbackUrl: string;
voiceMethod: ApplicationVoiceMethod;
voiceMethod: string;
voiceUrl: string;

@@ -367,0 +362,0 @@ publicApplicationConnectEnabled: boolean;

/// <reference types="node" />
import { inspect, InspectOptions } from "util";
import V2010 from "../../../V2010";
export type CallFeedbackIssues = "audio-latency" | "digits-not-captured" | "dropped-call" | "imperfect-audio" | "incorrect-caller-id" | "one-way-audio" | "post-dial-delay" | "unsolicited-call";
export type FeedbackIssues = "audio-latency" | "digits-not-captured" | "dropped-call" | "imperfect-audio" | "incorrect-caller-id" | "one-way-audio" | "post-dial-delay" | "unsolicited-call";
/**

@@ -12,3 +12,3 @@ * Options to pass to update a FeedbackInstance

/** One or more issues experienced during the call. The issues can be: `imperfect-audio`, `dropped-call`, `incorrect-caller-id`, `post-dial-delay`, `digits-not-captured`, `audio-latency`, `unsolicited-call`, or `one-way-audio`. */
issue?: Array<CallFeedbackIssues>;
issue?: Array<FeedbackIssues>;
}

@@ -70,3 +70,3 @@ export interface FeedbackContext {

date_updated: Date;
issues: Array<CallFeedbackIssues>;
issues: Array<FeedbackIssues>;
quality_score: number;

@@ -95,3 +95,3 @@ sid: string;

*/
issues: Array<CallFeedbackIssues>;
issues: Array<FeedbackIssues>;
/**

@@ -140,3 +140,3 @@ * `1` to `5` quality score where `1` represents imperfect experience and `5` represents a perfect call.

dateUpdated: Date;
issues: CallFeedbackIssues[];
issues: FeedbackIssues[];
qualityScore: number;

@@ -143,0 +143,0 @@ sid: string;

/// <reference types="node" />
import { inspect, InspectOptions } from "util";
import V2010 from "../../../V2010";
export type CallFeedbackSummaryStatus = "queued" | "in-progress" | "completed" | "failed";
export type FeedbackSummaryStatus = "queued" | "in-progress" | "completed" | "failed";
/**

@@ -76,3 +76,3 @@ * Options to pass to create a FeedbackSummaryInstance

start_date: Date;
status: CallFeedbackSummaryStatus;
status: FeedbackSummaryStatus;
}

@@ -136,3 +136,3 @@ export declare class FeedbackSummaryInstance {

startDate: Date;
status: CallFeedbackSummaryStatus;
status: FeedbackSummaryStatus;
private get _proxy();

@@ -174,3 +174,3 @@ /**

startDate: Date;
status: CallFeedbackSummaryStatus;
status: FeedbackSummaryStatus;
};

@@ -177,0 +177,0 @@ [inspect.custom](_depth: any, options: InspectOptions): string;

@@ -97,3 +97,2 @@ /// <reference types="node" />

}
export type NotificationRequestMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface NotificationPayload extends TwilioResponsePayload {

@@ -113,3 +112,3 @@ notifications: NotificationResource[];

more_info: string;
request_method: NotificationRequestMethod;
request_method: string;
request_url: string;

@@ -170,3 +169,3 @@ request_variables: string;

*/
requestMethod: NotificationRequestMethod;
requestMethod: string;
/**

@@ -221,3 +220,3 @@ * The URL of the resource that generated the notification. If the notification was generated during a phone call, this is the URL of the resource on your server that caused the notification. If the notification was generated by your use of our REST API, this is the URL of the resource you called.

moreInfo: string;
requestMethod: NotificationRequestMethod;
requestMethod: string;
requestUrl: string;

@@ -224,0 +223,0 @@ requestVariables: string;

/// <reference types="node" />
import { inspect, InspectOptions } from "util";
import V2010 from "../../../V2010";
export type PaymentsBankAccountType = "consumer-checking" | "consumer-savings" | "commercial-checking";
export type PaymentsCapture = "payment-card-number" | "expiration-date" | "security-code" | "postal-code" | "bank-routing-number" | "bank-account-number";
export type PaymentsPaymentMethod = "credit-card" | "ach-debit";
export type PaymentsStatus = "complete" | "cancel";
export type PaymentsTokenType = "one-time" | "reusable";
export type PaymentBankAccountType = "consumer-checking" | "consumer-savings" | "commercial-checking";
export type PaymentCapture = "payment-card-number" | "expiration-date" | "security-code" | "postal-code" | "bank-routing-number" | "bank-account-number";
export type PaymentPaymentMethod = "credit-card" | "ach-debit";
export type PaymentStatus = "complete" | "cancel";
export type PaymentTokenType = "one-time" | "reusable";
/**

@@ -18,5 +18,5 @@ * Options to pass to update a PaymentInstance

/** */
capture?: PaymentsCapture;
capture?: PaymentCapture;
/** */
status?: PaymentsStatus;
status?: PaymentStatus;
}

@@ -32,3 +32,3 @@ /**

/** */
bankAccountType?: PaymentsBankAccountType;
bankAccountType?: PaymentBankAccountType;
/** A positive decimal value less than 1,000,000 to charge against the credit card or bank account. Default currency can be overwritten with `currency` field. Leave blank or set to 0 to tokenize. */

@@ -49,3 +49,3 @@ chargeAmount?: number;

/** */
paymentMethod?: PaymentsPaymentMethod;
paymentMethod?: PaymentPaymentMethod;
/** Indicates whether the credit card postal code (zip code) is a required piece of payment information that must be provided by the caller. The default is `true`. */

@@ -58,3 +58,3 @@ postalCode?: boolean;

/** */
tokenType?: PaymentsTokenType;
tokenType?: PaymentTokenType;
/** Credit card types separated by space that Pay should accept. The default value is `visa mastercard amex` */

@@ -61,0 +61,0 @@ validCardTypes?: string;

@@ -6,4 +6,4 @@ /// <reference types="node" />

import V2010 from "../../../V2010";
export type CallRecordingSource = "DialVerb" | "Conference" | "OutboundAPI" | "Trunking" | "RecordVerb" | "StartCallRecordingAPI" | "StartConferenceRecordingAPI";
export type CallRecordingStatus = "in-progress" | "paused" | "stopped" | "processing" | "completed" | "absent";
export type RecordingSource = "DialVerb" | "Conference" | "OutboundAPI" | "Trunking" | "RecordVerb" | "StartCallRecordingAPI" | "StartConferenceRecordingAPI";
export type RecordingStatus = "in-progress" | "paused" | "stopped" | "processing" | "completed" | "absent";
/**

@@ -14,3 +14,3 @@ * Options to pass to update a RecordingInstance

/** */
status: CallRecordingStatus;
status: RecordingStatus;
/** Whether to record during a pause. Can be: `skip` or `silence` and the default is `silence`. `skip` does not record during the pause period, while `silence` will replace the actual audio of the call with silence during the pause period. This parameter only applies when setting `status` is set to `paused`. */

@@ -157,5 +157,5 @@ pauseBehavior?: string;

price_unit: string;
status: CallRecordingStatus;
status: RecordingStatus;
channels: number;
source: CallRecordingSource;
source: RecordingSource;
error_code: number;

@@ -221,3 +221,3 @@ track: string;

priceUnit: string;
status: CallRecordingStatus;
status: RecordingStatus;
/**

@@ -227,3 +227,3 @@ * The number of channels in the final recording file. Can be: `1`, or `2`. Separating a two leg call into two separate channels of the recording file is supported in [Dial](https://www.twilio.com/docs/voice/twiml/dial#attributes-record) and [Outbound Rest API](https://www.twilio.com/docs/voice/make-calls) record options.

channels: number;
source: CallRecordingSource;
source: RecordingSource;
/**

@@ -282,5 +282,5 @@ * The error code that describes why the recording is `absent`. The error code is described in our [Error Dictionary](https://www.twilio.com/docs/api/errors). This value is null if the recording `status` is not `absent`.

priceUnit: string;
status: CallRecordingStatus;
status: RecordingStatus;
channels: number;
source: CallRecordingSource;
source: RecordingSource;
errorCode: number;

@@ -287,0 +287,0 @@ track: string;

@@ -6,4 +6,4 @@ /// <reference types="node" />

import V2010 from "../../../V2010";
export type ConferenceRecordingSource = "DialVerb" | "Conference" | "OutboundAPI" | "Trunking" | "RecordVerb" | "StartCallRecordingAPI" | "StartConferenceRecordingAPI";
export type ConferenceRecordingStatus = "in-progress" | "paused" | "stopped" | "processing" | "completed" | "absent";
export type RecordingSource = "DialVerb" | "Conference" | "OutboundAPI" | "Trunking" | "RecordVerb" | "StartCallRecordingAPI" | "StartConferenceRecordingAPI";
export type RecordingStatus = "in-progress" | "paused" | "stopped" | "processing" | "completed" | "absent";
/**

@@ -14,3 +14,3 @@ * Options to pass to update a RecordingInstance

/** */
status: ConferenceRecordingStatus;
status: RecordingStatus;
/** Whether to record during a pause. Can be: `skip` or `silence` and the default is `silence`. `skip` does not record during the pause period, while `silence` will replace the actual audio of the call with silence during the pause period. This parameter only applies when setting `status` is set to `paused`. */

@@ -138,5 +138,5 @@ pauseBehavior?: string;

price_unit: string;
status: ConferenceRecordingStatus;
status: RecordingStatus;
channels: number;
source: ConferenceRecordingSource;
source: RecordingSource;
error_code: number;

@@ -195,3 +195,3 @@ encryption_details: any;

priceUnit: string;
status: ConferenceRecordingStatus;
status: RecordingStatus;
/**

@@ -201,3 +201,3 @@ * The number of channels in the final recording file. Can be: `1`, or `2`. Separating a two leg call into two separate channels of the recording file is supported in [Dial](https://www.twilio.com/docs/voice/twiml/dial#attributes-record) and [Outbound Rest API](https://www.twilio.com/docs/voice/make-calls) record options.

channels: number;
source: ConferenceRecordingSource;
source: RecordingSource;
/**

@@ -258,5 +258,5 @@ * The error code that describes why the recording is `absent`. The error code is described in our [Error Dictionary](https://www.twilio.com/docs/api/errors). This value is null if the recording `status` is not `absent`.

priceUnit: string;
status: ConferenceRecordingStatus;
status: RecordingStatus;
channels: number;
source: ConferenceRecordingSource;
source: RecordingSource;
errorCode: number;

@@ -263,0 +263,0 @@ encryptionDetails: any;

@@ -121,3 +121,2 @@ /// <reference types="node" />

}
export type ConnectAppDeauthorizeCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface ConnectAppPayload extends TwilioResponsePayload {

@@ -130,3 +129,3 @@ connect_apps: ConnectAppResource[];

company_name: string;
deauthorize_callback_method: ConnectAppDeauthorizeCallbackMethod;
deauthorize_callback_method: string;
deauthorize_callback_url: string;

@@ -160,3 +159,3 @@ description: string;

*/
deauthorizeCallbackMethod: ConnectAppDeauthorizeCallbackMethod;
deauthorizeCallbackMethod: string;
/**

@@ -233,3 +232,3 @@ * The URL we call using the `deauthorize_callback_method` to de-authorize the Connect App.

companyName: string;
deauthorizeCallbackMethod: ConnectAppDeauthorizeCallbackMethod;
deauthorizeCallbackMethod: string;
deauthorizeCallbackUrl: string;

@@ -236,0 +235,0 @@ description: string;

@@ -239,7 +239,2 @@ /// <reference types="node" />

}
export type IncomingPhoneNumberSmsFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type IncomingPhoneNumberSmsMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type IncomingPhoneNumberStatusCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type IncomingPhoneNumberVoiceFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type IncomingPhoneNumberVoiceMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface IncomingPhoneNumberPayload extends TwilioResponsePayload {

@@ -263,8 +258,8 @@ incoming_phone_numbers: IncomingPhoneNumberResource[];

sms_application_sid: string;
sms_fallback_method: IncomingPhoneNumberSmsFallbackMethod;
sms_fallback_method: string;
sms_fallback_url: string;
sms_method: IncomingPhoneNumberSmsMethod;
sms_method: string;
sms_url: string;
status_callback: string;
status_callback_method: IncomingPhoneNumberStatusCallbackMethod;
status_callback_method: string;
trunk_sid: string;

@@ -275,5 +270,5 @@ uri: string;

voice_caller_id_lookup: boolean;
voice_fallback_method: IncomingPhoneNumberVoiceFallbackMethod;
voice_fallback_method: string;
voice_fallback_url: string;
voice_method: IncomingPhoneNumberVoiceMethod;
voice_method: string;
voice_url: string;

@@ -344,3 +339,3 @@ emergency_status: IncomingPhoneNumberEmergencyStatus;

*/
smsFallbackMethod: IncomingPhoneNumberSmsFallbackMethod;
smsFallbackMethod: string;
/**

@@ -353,3 +348,3 @@ * The URL that we call when an error occurs while retrieving or executing the TwiML from `sms_url`.

*/
smsMethod: IncomingPhoneNumberSmsMethod;
smsMethod: string;
/**

@@ -366,3 +361,3 @@ * The URL we call when the phone number receives an incoming SMS message.

*/
statusCallbackMethod: IncomingPhoneNumberStatusCallbackMethod;
statusCallbackMethod: string;
/**

@@ -388,3 +383,3 @@ * The SID of the Trunk that handles calls to the phone number. If a `trunk_sid` is present, we ignore all of the voice urls and voice applications and use those set on the Trunk. Setting a `trunk_sid` will automatically delete your `voice_application_sid` and vice versa.

*/
voiceFallbackMethod: IncomingPhoneNumberVoiceFallbackMethod;
voiceFallbackMethod: string;
/**

@@ -397,3 +392,3 @@ * The URL that we call when an error occurs retrieving or executing the TwiML requested by `url`.

*/
voiceMethod: IncomingPhoneNumberVoiceMethod;
voiceMethod: string;
/**

@@ -472,8 +467,8 @@ * The URL we call when the phone number receives a call. The `voice_url` will not be used if a `voice_application_sid` or a `trunk_sid` is set.

smsApplicationSid: string;
smsFallbackMethod: IncomingPhoneNumberSmsFallbackMethod;
smsFallbackMethod: string;
smsFallbackUrl: string;
smsMethod: IncomingPhoneNumberSmsMethod;
smsMethod: string;
smsUrl: string;
statusCallback: string;
statusCallbackMethod: IncomingPhoneNumberStatusCallbackMethod;
statusCallbackMethod: string;
trunkSid: string;

@@ -484,5 +479,5 @@ uri: string;

voiceCallerIdLookup: boolean;
voiceFallbackMethod: IncomingPhoneNumberVoiceFallbackMethod;
voiceFallbackMethod: string;
voiceFallbackUrl: string;
voiceMethod: IncomingPhoneNumberVoiceMethod;
voiceMethod: string;
voiceUrl: string;

@@ -489,0 +484,0 @@ emergencyStatus: IncomingPhoneNumberEmergencyStatus;

@@ -7,6 +7,6 @@ /// <reference types="node" />

import { PhoneNumberCapabilities } from "../../../../../interfaces";
export type IncomingPhoneNumberLocalAddressRequirement = "none" | "any" | "local" | "foreign";
export type IncomingPhoneNumberLocalEmergencyAddressStatus = "registered" | "unregistered" | "pending-registration" | "registration-failure" | "pending-unregistration" | "unregistration-failure";
export type IncomingPhoneNumberLocalEmergencyStatus = "Active" | "Inactive";
export type IncomingPhoneNumberLocalVoiceReceiveMode = "voice" | "fax";
export type LocalAddressRequirement = "none" | "any" | "local" | "foreign";
export type LocalEmergencyAddressStatus = "registered" | "unregistered" | "pending-registration" | "registration-failure" | "pending-unregistration" | "unregistration-failure";
export type LocalEmergencyStatus = "Active" | "Inactive";
export type LocalVoiceReceiveMode = "voice" | "fax";
/**

@@ -53,3 +53,3 @@ * Options to pass to create a LocalInstance

/** */
emergencyStatus?: IncomingPhoneNumberLocalEmergencyStatus;
emergencyStatus?: LocalEmergencyStatus;
/** The SID of the emergency address configuration to use for emergency calling from the new phone number. */

@@ -60,3 +60,3 @@ emergencyAddressSid?: string;

/** */
voiceReceiveMode?: IncomingPhoneNumberLocalVoiceReceiveMode;
voiceReceiveMode?: LocalVoiceReceiveMode;
/** The SID of the Bundle resource that you associate with the phone number. Some regions require a Bundle to meet local Regulations. */

@@ -195,7 +195,2 @@ bundleSid?: string;

export declare function LocalListInstance(version: V2010, accountSid: string): LocalListInstance;
export type LocalSmsFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type LocalSmsMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type LocalStatusCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type LocalVoiceFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type LocalVoiceMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface LocalPayload extends TwilioResponsePayload {

@@ -207,3 +202,3 @@ incoming_phone_numbers: LocalResource[];

address_sid: string;
address_requirements: IncomingPhoneNumberLocalAddressRequirement;
address_requirements: LocalAddressRequirement;
api_version: string;

@@ -220,20 +215,20 @@ beta: boolean;

sms_application_sid: string;
sms_fallback_method: LocalSmsFallbackMethod;
sms_fallback_method: string;
sms_fallback_url: string;
sms_method: LocalSmsMethod;
sms_method: string;
sms_url: string;
status_callback: string;
status_callback_method: LocalStatusCallbackMethod;
status_callback_method: string;
trunk_sid: string;
uri: string;
voice_receive_mode: IncomingPhoneNumberLocalVoiceReceiveMode;
voice_receive_mode: LocalVoiceReceiveMode;
voice_application_sid: string;
voice_caller_id_lookup: boolean;
voice_fallback_method: LocalVoiceFallbackMethod;
voice_fallback_method: string;
voice_fallback_url: string;
voice_method: LocalVoiceMethod;
voice_method: string;
voice_url: string;
emergency_status: IncomingPhoneNumberLocalEmergencyStatus;
emergency_status: LocalEmergencyStatus;
emergency_address_sid: string;
emergency_address_status: IncomingPhoneNumberLocalEmergencyAddressStatus;
emergency_address_status: LocalEmergencyAddressStatus;
bundle_sid: string;

@@ -253,3 +248,3 @@ status: string;

addressSid: string;
addressRequirements: IncomingPhoneNumberLocalAddressRequirement;
addressRequirements: LocalAddressRequirement;
/**

@@ -299,3 +294,3 @@ * The API version used to start a new TwiML session.

*/
smsFallbackMethod: LocalSmsFallbackMethod;
smsFallbackMethod: string;
/**

@@ -308,3 +303,3 @@ * The URL that we call when an error occurs while retrieving or executing the TwiML from `sms_url`.

*/
smsMethod: LocalSmsMethod;
smsMethod: string;
/**

@@ -321,3 +316,3 @@ * The URL we call when the phone number receives an incoming SMS message.

*/
statusCallbackMethod: LocalStatusCallbackMethod;
statusCallbackMethod: string;
/**

@@ -331,3 +326,3 @@ * The SID of the Trunk that handles calls to the phone number. If a `trunk_sid` is present, we ignore all of the voice urls and voice applications and use those set on the Trunk. Setting a `trunk_sid` will automatically delete your `voice_application_sid` and vice versa.

uri: string;
voiceReceiveMode: IncomingPhoneNumberLocalVoiceReceiveMode;
voiceReceiveMode: LocalVoiceReceiveMode;
/**

@@ -344,3 +339,3 @@ * The SID of the application that handles calls to the phone number. If a `voice_application_sid` is present, we ignore all of the voice urls and use those set on the application. Setting a `voice_application_sid` will automatically delete your `trunk_sid` and vice versa.

*/
voiceFallbackMethod: LocalVoiceFallbackMethod;
voiceFallbackMethod: string;
/**

@@ -353,3 +348,3 @@ * The URL that we call when an error occurs retrieving or executing the TwiML requested by `url`.

*/
voiceMethod: LocalVoiceMethod;
voiceMethod: string;
/**

@@ -359,3 +354,3 @@ * The URL we call when this phone number receives a call. The `voice_url` will not be used if a `voice_application_sid` or a `trunk_sid` is set.

voiceUrl: string;
emergencyStatus: IncomingPhoneNumberLocalEmergencyStatus;
emergencyStatus: LocalEmergencyStatus;
/**

@@ -365,3 +360,3 @@ * The SID of the emergency address configuration that we use for emergency calling from this phone number.

emergencyAddressSid: string;
emergencyAddressStatus: IncomingPhoneNumberLocalEmergencyAddressStatus;
emergencyAddressStatus: LocalEmergencyAddressStatus;
/**

@@ -380,3 +375,3 @@ * The SID of the Bundle resource that you associate with the phone number. Some regions require a Bundle to meet local Regulations.

addressSid: string;
addressRequirements: IncomingPhoneNumberLocalAddressRequirement;
addressRequirements: LocalAddressRequirement;
apiVersion: string;

@@ -393,20 +388,20 @@ beta: boolean;

smsApplicationSid: string;
smsFallbackMethod: LocalSmsFallbackMethod;
smsFallbackMethod: string;
smsFallbackUrl: string;
smsMethod: LocalSmsMethod;
smsMethod: string;
smsUrl: string;
statusCallback: string;
statusCallbackMethod: LocalStatusCallbackMethod;
statusCallbackMethod: string;
trunkSid: string;
uri: string;
voiceReceiveMode: IncomingPhoneNumberLocalVoiceReceiveMode;
voiceReceiveMode: LocalVoiceReceiveMode;
voiceApplicationSid: string;
voiceCallerIdLookup: boolean;
voiceFallbackMethod: LocalVoiceFallbackMethod;
voiceFallbackMethod: string;
voiceFallbackUrl: string;
voiceMethod: LocalVoiceMethod;
voiceMethod: string;
voiceUrl: string;
emergencyStatus: IncomingPhoneNumberLocalEmergencyStatus;
emergencyStatus: LocalEmergencyStatus;
emergencyAddressSid: string;
emergencyAddressStatus: IncomingPhoneNumberLocalEmergencyAddressStatus;
emergencyAddressStatus: LocalEmergencyAddressStatus;
bundleSid: string;

@@ -413,0 +408,0 @@ status: string;

@@ -7,6 +7,6 @@ /// <reference types="node" />

import { PhoneNumberCapabilities } from "../../../../../interfaces";
export type IncomingPhoneNumberMobileAddressRequirement = "none" | "any" | "local" | "foreign";
export type IncomingPhoneNumberMobileEmergencyAddressStatus = "registered" | "unregistered" | "pending-registration" | "registration-failure" | "pending-unregistration" | "unregistration-failure";
export type IncomingPhoneNumberMobileEmergencyStatus = "Active" | "Inactive";
export type IncomingPhoneNumberMobileVoiceReceiveMode = "voice" | "fax";
export type MobileAddressRequirement = "none" | "any" | "local" | "foreign";
export type MobileEmergencyAddressStatus = "registered" | "unregistered" | "pending-registration" | "registration-failure" | "pending-unregistration" | "unregistration-failure";
export type MobileEmergencyStatus = "Active" | "Inactive";
export type MobileVoiceReceiveMode = "voice" | "fax";
/**

@@ -53,3 +53,3 @@ * Options to pass to create a MobileInstance

/** */
emergencyStatus?: IncomingPhoneNumberMobileEmergencyStatus;
emergencyStatus?: MobileEmergencyStatus;
/** The SID of the emergency address configuration to use for emergency calling from the new phone number. */

@@ -60,3 +60,3 @@ emergencyAddressSid?: string;

/** */
voiceReceiveMode?: IncomingPhoneNumberMobileVoiceReceiveMode;
voiceReceiveMode?: MobileVoiceReceiveMode;
/** The SID of the Bundle resource that you associate with the phone number. Some regions require a Bundle to meet local Regulations. */

@@ -195,7 +195,2 @@ bundleSid?: string;

export declare function MobileListInstance(version: V2010, accountSid: string): MobileListInstance;
export type MobileSmsFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type MobileSmsMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type MobileStatusCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type MobileVoiceFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type MobileVoiceMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface MobilePayload extends TwilioResponsePayload {

@@ -207,3 +202,3 @@ incoming_phone_numbers: MobileResource[];

address_sid: string;
address_requirements: IncomingPhoneNumberMobileAddressRequirement;
address_requirements: MobileAddressRequirement;
api_version: string;

@@ -220,20 +215,20 @@ beta: boolean;

sms_application_sid: string;
sms_fallback_method: MobileSmsFallbackMethod;
sms_fallback_method: string;
sms_fallback_url: string;
sms_method: MobileSmsMethod;
sms_method: string;
sms_url: string;
status_callback: string;
status_callback_method: MobileStatusCallbackMethod;
status_callback_method: string;
trunk_sid: string;
uri: string;
voice_receive_mode: IncomingPhoneNumberMobileVoiceReceiveMode;
voice_receive_mode: MobileVoiceReceiveMode;
voice_application_sid: string;
voice_caller_id_lookup: boolean;
voice_fallback_method: MobileVoiceFallbackMethod;
voice_fallback_method: string;
voice_fallback_url: string;
voice_method: MobileVoiceMethod;
voice_method: string;
voice_url: string;
emergency_status: IncomingPhoneNumberMobileEmergencyStatus;
emergency_status: MobileEmergencyStatus;
emergency_address_sid: string;
emergency_address_status: IncomingPhoneNumberMobileEmergencyAddressStatus;
emergency_address_status: MobileEmergencyAddressStatus;
bundle_sid: string;

@@ -253,3 +248,3 @@ status: string;

addressSid: string;
addressRequirements: IncomingPhoneNumberMobileAddressRequirement;
addressRequirements: MobileAddressRequirement;
/**

@@ -299,3 +294,3 @@ * The API version used to start a new TwiML session.

*/
smsFallbackMethod: MobileSmsFallbackMethod;
smsFallbackMethod: string;
/**

@@ -308,3 +303,3 @@ * The URL that we call when an error occurs while retrieving or executing the TwiML from `sms_url`.

*/
smsMethod: MobileSmsMethod;
smsMethod: string;
/**

@@ -321,3 +316,3 @@ * The URL we call when the phone number receives an incoming SMS message.

*/
statusCallbackMethod: MobileStatusCallbackMethod;
statusCallbackMethod: string;
/**

@@ -331,3 +326,3 @@ * The SID of the Trunk that handles calls to the phone number. If a `trunk_sid` is present, we ignore all of the voice urls and voice applications and use those set on the Trunk. Setting a `trunk_sid` will automatically delete your `voice_application_sid` and vice versa.

uri: string;
voiceReceiveMode: IncomingPhoneNumberMobileVoiceReceiveMode;
voiceReceiveMode: MobileVoiceReceiveMode;
/**

@@ -344,3 +339,3 @@ * The SID of the application that handles calls to the phone number. If a `voice_application_sid` is present, we ignore all of the voice urls and use those set on the application. Setting a `voice_application_sid` will automatically delete your `trunk_sid` and vice versa.

*/
voiceFallbackMethod: MobileVoiceFallbackMethod;
voiceFallbackMethod: string;
/**

@@ -353,3 +348,3 @@ * The URL that we call when an error occurs retrieving or executing the TwiML requested by `url`.

*/
voiceMethod: MobileVoiceMethod;
voiceMethod: string;
/**

@@ -359,3 +354,3 @@ * The URL we call when the phone number receives a call. The `voice_url` will not be used if a `voice_application_sid` or a `trunk_sid` is set.

voiceUrl: string;
emergencyStatus: IncomingPhoneNumberMobileEmergencyStatus;
emergencyStatus: MobileEmergencyStatus;
/**

@@ -365,3 +360,3 @@ * The SID of the emergency address configuration that we use for emergency calling from this phone number.

emergencyAddressSid: string;
emergencyAddressStatus: IncomingPhoneNumberMobileEmergencyAddressStatus;
emergencyAddressStatus: MobileEmergencyAddressStatus;
/**

@@ -380,3 +375,3 @@ * The SID of the Bundle resource that you associate with the phone number. Some regions require a Bundle to meet local Regulations.

addressSid: string;
addressRequirements: IncomingPhoneNumberMobileAddressRequirement;
addressRequirements: MobileAddressRequirement;
apiVersion: string;

@@ -393,20 +388,20 @@ beta: boolean;

smsApplicationSid: string;
smsFallbackMethod: MobileSmsFallbackMethod;
smsFallbackMethod: string;
smsFallbackUrl: string;
smsMethod: MobileSmsMethod;
smsMethod: string;
smsUrl: string;
statusCallback: string;
statusCallbackMethod: MobileStatusCallbackMethod;
statusCallbackMethod: string;
trunkSid: string;
uri: string;
voiceReceiveMode: IncomingPhoneNumberMobileVoiceReceiveMode;
voiceReceiveMode: MobileVoiceReceiveMode;
voiceApplicationSid: string;
voiceCallerIdLookup: boolean;
voiceFallbackMethod: MobileVoiceFallbackMethod;
voiceFallbackMethod: string;
voiceFallbackUrl: string;
voiceMethod: MobileVoiceMethod;
voiceMethod: string;
voiceUrl: string;
emergencyStatus: IncomingPhoneNumberMobileEmergencyStatus;
emergencyStatus: MobileEmergencyStatus;
emergencyAddressSid: string;
emergencyAddressStatus: IncomingPhoneNumberMobileEmergencyAddressStatus;
emergencyAddressStatus: MobileEmergencyAddressStatus;
bundleSid: string;

@@ -413,0 +408,0 @@ status: string;

@@ -7,6 +7,6 @@ /// <reference types="node" />

import { PhoneNumberCapabilities } from "../../../../../interfaces";
export type IncomingPhoneNumberTollFreeAddressRequirement = "none" | "any" | "local" | "foreign";
export type IncomingPhoneNumberTollFreeEmergencyAddressStatus = "registered" | "unregistered" | "pending-registration" | "registration-failure" | "pending-unregistration" | "unregistration-failure";
export type IncomingPhoneNumberTollFreeEmergencyStatus = "Active" | "Inactive";
export type IncomingPhoneNumberTollFreeVoiceReceiveMode = "voice" | "fax";
export type TollFreeAddressRequirement = "none" | "any" | "local" | "foreign";
export type TollFreeEmergencyAddressStatus = "registered" | "unregistered" | "pending-registration" | "registration-failure" | "pending-unregistration" | "unregistration-failure";
export type TollFreeEmergencyStatus = "Active" | "Inactive";
export type TollFreeVoiceReceiveMode = "voice" | "fax";
/**

@@ -53,3 +53,3 @@ * Options to pass to create a TollFreeInstance

/** */
emergencyStatus?: IncomingPhoneNumberTollFreeEmergencyStatus;
emergencyStatus?: TollFreeEmergencyStatus;
/** The SID of the emergency address configuration to use for emergency calling from the new phone number. */

@@ -60,3 +60,3 @@ emergencyAddressSid?: string;

/** */
voiceReceiveMode?: IncomingPhoneNumberTollFreeVoiceReceiveMode;
voiceReceiveMode?: TollFreeVoiceReceiveMode;
/** The SID of the Bundle resource that you associate with the phone number. Some regions require a Bundle to meet local Regulations. */

@@ -195,7 +195,2 @@ bundleSid?: string;

export declare function TollFreeListInstance(version: V2010, accountSid: string): TollFreeListInstance;
export type TollFreeSmsFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type TollFreeSmsMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type TollFreeStatusCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type TollFreeVoiceFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type TollFreeVoiceMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface TollFreePayload extends TwilioResponsePayload {

@@ -207,3 +202,3 @@ incoming_phone_numbers: TollFreeResource[];

address_sid: string;
address_requirements: IncomingPhoneNumberTollFreeAddressRequirement;
address_requirements: TollFreeAddressRequirement;
api_version: string;

@@ -220,20 +215,20 @@ beta: boolean;

sms_application_sid: string;
sms_fallback_method: TollFreeSmsFallbackMethod;
sms_fallback_method: string;
sms_fallback_url: string;
sms_method: TollFreeSmsMethod;
sms_method: string;
sms_url: string;
status_callback: string;
status_callback_method: TollFreeStatusCallbackMethod;
status_callback_method: string;
trunk_sid: string;
uri: string;
voice_receive_mode: IncomingPhoneNumberTollFreeVoiceReceiveMode;
voice_receive_mode: TollFreeVoiceReceiveMode;
voice_application_sid: string;
voice_caller_id_lookup: boolean;
voice_fallback_method: TollFreeVoiceFallbackMethod;
voice_fallback_method: string;
voice_fallback_url: string;
voice_method: TollFreeVoiceMethod;
voice_method: string;
voice_url: string;
emergency_status: IncomingPhoneNumberTollFreeEmergencyStatus;
emergency_status: TollFreeEmergencyStatus;
emergency_address_sid: string;
emergency_address_status: IncomingPhoneNumberTollFreeEmergencyAddressStatus;
emergency_address_status: TollFreeEmergencyAddressStatus;
bundle_sid: string;

@@ -253,3 +248,3 @@ status: string;

addressSid: string;
addressRequirements: IncomingPhoneNumberTollFreeAddressRequirement;
addressRequirements: TollFreeAddressRequirement;
/**

@@ -299,3 +294,3 @@ * The API version used to start a new TwiML session.

*/
smsFallbackMethod: TollFreeSmsFallbackMethod;
smsFallbackMethod: string;
/**

@@ -308,3 +303,3 @@ * The URL that we call when an error occurs while retrieving or executing the TwiML from `sms_url`.

*/
smsMethod: TollFreeSmsMethod;
smsMethod: string;
/**

@@ -321,3 +316,3 @@ * The URL we call when the phone number receives an incoming SMS message.

*/
statusCallbackMethod: TollFreeStatusCallbackMethod;
statusCallbackMethod: string;
/**

@@ -331,3 +326,3 @@ * The SID of the Trunk that handles calls to the phone number. If a `trunk_sid` is present, we ignore all of the voice urls and voice applications and use those set on the Trunk. Setting a `trunk_sid` will automatically delete your `voice_application_sid` and vice versa.

uri: string;
voiceReceiveMode: IncomingPhoneNumberTollFreeVoiceReceiveMode;
voiceReceiveMode: TollFreeVoiceReceiveMode;
/**

@@ -344,3 +339,3 @@ * The SID of the application that handles calls to the phone number. If a `voice_application_sid` is present, we ignore all of the voice urls and use those set on the application. Setting a `voice_application_sid` will automatically delete your `trunk_sid` and vice versa.

*/
voiceFallbackMethod: TollFreeVoiceFallbackMethod;
voiceFallbackMethod: string;
/**

@@ -353,3 +348,3 @@ * The URL that we call when an error occurs retrieving or executing the TwiML requested by `url`.

*/
voiceMethod: TollFreeVoiceMethod;
voiceMethod: string;
/**

@@ -359,3 +354,3 @@ * The URL we call when the phone number receives a call. The `voice_url` will not be used if a `voice_application_sid` or a `trunk_sid` is set.

voiceUrl: string;
emergencyStatus: IncomingPhoneNumberTollFreeEmergencyStatus;
emergencyStatus: TollFreeEmergencyStatus;
/**

@@ -365,3 +360,3 @@ * The SID of the emergency address configuration that we use for emergency calling from this phone number.

emergencyAddressSid: string;
emergencyAddressStatus: IncomingPhoneNumberTollFreeEmergencyAddressStatus;
emergencyAddressStatus: TollFreeEmergencyAddressStatus;
/**

@@ -380,3 +375,3 @@ * The SID of the Bundle resource that you associate with the phone number. Some regions require a Bundle to meet local Regulations.

addressSid: string;
addressRequirements: IncomingPhoneNumberTollFreeAddressRequirement;
addressRequirements: TollFreeAddressRequirement;
apiVersion: string;

@@ -393,20 +388,20 @@ beta: boolean;

smsApplicationSid: string;
smsFallbackMethod: TollFreeSmsFallbackMethod;
smsFallbackMethod: string;
smsFallbackUrl: string;
smsMethod: TollFreeSmsMethod;
smsMethod: string;
smsUrl: string;
statusCallback: string;
statusCallbackMethod: TollFreeStatusCallbackMethod;
statusCallbackMethod: string;
trunkSid: string;
uri: string;
voiceReceiveMode: IncomingPhoneNumberTollFreeVoiceReceiveMode;
voiceReceiveMode: TollFreeVoiceReceiveMode;
voiceApplicationSid: string;
voiceCallerIdLookup: boolean;
voiceFallbackMethod: TollFreeVoiceFallbackMethod;
voiceFallbackMethod: string;
voiceFallbackUrl: string;
voiceMethod: TollFreeVoiceMethod;
voiceMethod: string;
voiceUrl: string;
emergencyStatus: IncomingPhoneNumberTollFreeEmergencyStatus;
emergencyStatus: TollFreeEmergencyStatus;
emergencyAddressSid: string;
emergencyAddressStatus: IncomingPhoneNumberTollFreeEmergencyAddressStatus;
emergencyAddressStatus: TollFreeEmergencyAddressStatus;
bundleSid: string;

@@ -413,0 +408,0 @@ status: string;

/// <reference types="node" />
import { inspect, InspectOptions } from "util";
import V2010 from "../../../V2010";
export type MessageFeedbackOutcome = "confirmed" | "unconfirmed";
export type FeedbackOutcome = "confirmed" | "unconfirmed";
/**

@@ -10,3 +10,3 @@ * Options to pass to create a FeedbackInstance

/** */
outcome?: MessageFeedbackOutcome;
outcome?: FeedbackOutcome;
}

@@ -48,3 +48,3 @@ export interface FeedbackSolution {

message_sid: string;
outcome: MessageFeedbackOutcome;
outcome: FeedbackOutcome;
date_created: Date;

@@ -65,3 +65,3 @@ date_updated: Date;

messageSid: string;
outcome: MessageFeedbackOutcome;
outcome: FeedbackOutcome;
/**

@@ -87,3 +87,3 @@ * The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.

messageSid: string;
outcome: MessageFeedbackOutcome;
outcome: FeedbackOutcome;
dateCreated: Date;

@@ -90,0 +90,0 @@ dateUpdated: Date;

@@ -96,3 +96,2 @@ /// <reference types="node" />

}
export type NotificationRequestMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface NotificationPayload extends TwilioResponsePayload {

@@ -112,3 +111,3 @@ notifications: NotificationResource[];

more_info: string;
request_method: NotificationRequestMethod;
request_method: string;
request_url: string;

@@ -169,3 +168,3 @@ request_variables: string;

*/
requestMethod: NotificationRequestMethod;
requestMethod: string;
/**

@@ -220,3 +219,3 @@ * The URL of the resource that generated the notification. If the notification was generated during a phone call, this is the URL of the resource on your server that caused the notification. If the notification was generated by your use of our REST API, this is the URL of the resource you called.

moreInfo: string;
requestMethod: NotificationRequestMethod;
requestMethod: string;
requestUrl: string;

@@ -223,0 +222,0 @@ requestVariables: string;

@@ -13,3 +13,3 @@ /// <reference types="node" />

friendlyName?: string;
/** The maximum number of calls allowed to be in the queue. The default is 100. The maximum is 5000. */
/** The maximum number of calls allowed to be in the queue. The default is 1000. The maximum is 5000. */
maxSize?: number;

@@ -23,3 +23,3 @@ }

friendlyName: string;
/** The maximum number of calls allowed to be in the queue. The default is 100. The maximum is 5000. */
/** The maximum number of calls allowed to be in the queue. The default is 1000. The maximum is 5000. */
maxSize?: number;

@@ -175,3 +175,3 @@ }

/**
* The maximum number of calls that can be in the queue. The default is 100 and the maximum is 5000.
* The maximum number of calls that can be in the queue. The default is 1000 and the maximum is 5000.
*/

@@ -178,0 +178,0 @@ maxSize: number;

@@ -7,3 +7,3 @@ /// <reference types="node" />

import { PayloadListInstance } from "./addOnResult/payload";
export type RecordingAddOnResultStatus = "canceled" | "completed" | "deleted" | "failed" | "in-progress" | "init" | "processing" | "queued";
export type AddOnResultStatus = "canceled" | "completed" | "deleted" | "failed" | "in-progress" | "init" | "processing" | "queued";
/**

@@ -94,3 +94,3 @@ * Options to pass to each

account_sid: string;
status: RecordingAddOnResultStatus;
status: AddOnResultStatus;
add_on_sid: string;

@@ -117,3 +117,3 @@ add_on_configuration_sid: string;

accountSid: string;
status: RecordingAddOnResultStatus;
status: AddOnResultStatus;
/**

@@ -176,3 +176,3 @@ * The SID of the Add-on to which the result belongs.

accountSid: string;
status: RecordingAddOnResultStatus;
status: AddOnResultStatus;
addOnSid: string;

@@ -179,0 +179,0 @@ addOnConfigurationSid: string;

@@ -6,3 +6,3 @@ /// <reference types="node" />

import V2010 from "../../../V2010";
export type RecordingTranscriptionStatus = "in-progress" | "completed" | "failed";
export type TranscriptionStatus = "in-progress" | "completed" | "failed";
/**

@@ -97,3 +97,3 @@ * Options to pass to each

sid: string;
status: RecordingTranscriptionStatus;
status: TranscriptionStatus;
transcription_text: string;

@@ -144,3 +144,3 @@ type: string;

sid: string;
status: RecordingTranscriptionStatus;
status: TranscriptionStatus;
/**

@@ -190,3 +190,3 @@ * The text content of the transcription.

sid: string;
status: RecordingTranscriptionStatus;
status: TranscriptionStatus;
transcriptionText: string;

@@ -193,0 +193,0 @@ type: string;

@@ -119,4 +119,2 @@ /// <reference types="node" />

}
export type ShortCodeSmsFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type ShortCodeSmsMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface ShortCodePayload extends TwilioResponsePayload {

@@ -133,5 +131,5 @@ short_codes: ShortCodeResource[];

sid: string;
sms_fallback_method: ShortCodeSmsFallbackMethod;
sms_fallback_method: string;
sms_fallback_url: string;
sms_method: ShortCodeSmsMethod;
sms_method: string;
sms_url: string;

@@ -176,3 +174,3 @@ uri: string;

*/
smsFallbackMethod: ShortCodeSmsFallbackMethod;
smsFallbackMethod: string;
/**

@@ -185,3 +183,3 @@ * The URL that we call if an error occurs while retrieving or executing the TwiML from `sms_url`.

*/
smsMethod: ShortCodeSmsMethod;
smsMethod: string;
/**

@@ -234,5 +232,5 @@ * The URL we call when receiving an incoming SMS message to this short code.

sid: string;
smsFallbackMethod: ShortCodeSmsFallbackMethod;
smsFallbackMethod: string;
smsFallbackUrl: string;
smsMethod: ShortCodeSmsMethod;
smsMethod: string;
smsUrl: string;

@@ -239,0 +237,0 @@ uri: string;

@@ -173,5 +173,2 @@ /// <reference types="node" />

}
export type DomainVoiceFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type DomainVoiceMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type DomainVoiceStatusCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface DomainPayload extends TwilioResponsePayload {

@@ -190,6 +187,6 @@ domains: DomainResource[];

uri: string;
voice_fallback_method: DomainVoiceFallbackMethod;
voice_fallback_method: string;
voice_fallback_url: string;
voice_method: DomainVoiceMethod;
voice_status_callback_method: DomainVoiceStatusCallbackMethod;
voice_method: string;
voice_status_callback_method: string;
voice_status_callback_url: string;

@@ -248,3 +245,3 @@ voice_url: string;

*/
voiceFallbackMethod: DomainVoiceFallbackMethod;
voiceFallbackMethod: string;
/**

@@ -257,7 +254,7 @@ * The URL that we call when an error occurs while retrieving or executing the TwiML requested from `voice_url`.

*/
voiceMethod: DomainVoiceMethod;
voiceMethod: string;
/**
* The HTTP method we use to call `voice_status_callback_url`. Either `GET` or `POST`.
*/
voiceStatusCallbackMethod: DomainVoiceStatusCallbackMethod;
voiceStatusCallbackMethod: string;
/**

@@ -356,6 +353,6 @@ * The URL that we call to pass status parameters (such as call ended) to your application.

uri: string;
voiceFallbackMethod: DomainVoiceFallbackMethod;
voiceFallbackMethod: string;
voiceFallbackUrl: string;
voiceMethod: DomainVoiceMethod;
voiceStatusCallbackMethod: DomainVoiceStatusCallbackMethod;
voiceMethod: string;
voiceStatusCallbackMethod: string;
voiceStatusCallbackUrl: string;

@@ -362,0 +359,0 @@ voiceUrl: string;

@@ -6,3 +6,3 @@ /// <reference types="node" />

import { TriggerListInstance } from "./usage/trigger";
export type UsageRecordCategory = "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" | "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" | "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" | "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";
export type UsageCategory = "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" | "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" | "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" | "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";
export interface UsageSolution {

@@ -9,0 +9,0 @@ accountSid: string;

@@ -14,3 +14,3 @@ /// <reference types="node" />

import { YesterdayListInstance } from "./record/yesterday";
export type UsageRecordCategory = "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" | "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" | "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" | "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";
export type RecordCategory = "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" | "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" | "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" | "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";
/**

@@ -21,3 +21,3 @@ * Options to pass to each

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordCategory;
category?: RecordCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -43,3 +43,3 @@ startDate?: Date;

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordCategory;
category?: RecordCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -61,3 +61,3 @@ startDate?: Date;

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordCategory;
category?: RecordCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -163,3 +163,3 @@ startDate?: Date;

as_of: string;
category: UsageRecordCategory;
category: RecordCategory;
count: string;

@@ -192,3 +192,3 @@ count_unit: string;

asOf: string;
category: UsageRecordCategory;
category: RecordCategory;
/**

@@ -247,3 +247,3 @@ * The number of usage events, such as the number of calls.

asOf: string;
category: UsageRecordCategory;
category: RecordCategory;
count: string;

@@ -250,0 +250,0 @@ countUnit: string;

@@ -6,3 +6,3 @@ /// <reference types="node" />

import V2010 from "../../../../V2010";
export type UsageRecordAllTimeCategory = "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" | "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" | "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" | "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";
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" | "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" | "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" | "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";
/**

@@ -13,3 +13,3 @@ * Options to pass to each

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordAllTimeCategory;
category?: AllTimeCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -35,3 +35,3 @@ startDate?: Date;

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordAllTimeCategory;
category?: AllTimeCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -53,3 +53,3 @@ startDate?: Date;

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordAllTimeCategory;
category?: AllTimeCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -139,3 +139,3 @@ startDate?: Date;

as_of: string;
category: UsageRecordAllTimeCategory;
category: AllTimeCategory;
count: string;

@@ -168,3 +168,3 @@ count_unit: string;

asOf: string;
category: UsageRecordAllTimeCategory;
category: AllTimeCategory;
/**

@@ -223,3 +223,3 @@ * The number of usage events, such as the number of calls.

asOf: string;
category: UsageRecordAllTimeCategory;
category: AllTimeCategory;
count: string;

@@ -226,0 +226,0 @@ countUnit: string;

@@ -6,3 +6,3 @@ /// <reference types="node" />

import V2010 from "../../../../V2010";
export type UsageRecordDailyCategory = "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" | "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" | "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" | "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";
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" | "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" | "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" | "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";
/**

@@ -13,3 +13,3 @@ * Options to pass to each

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordDailyCategory;
category?: DailyCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -35,3 +35,3 @@ startDate?: Date;

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordDailyCategory;
category?: DailyCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -53,3 +53,3 @@ startDate?: Date;

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordDailyCategory;
category?: DailyCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -139,3 +139,3 @@ startDate?: Date;

as_of: string;
category: UsageRecordDailyCategory;
category: DailyCategory;
count: string;

@@ -168,3 +168,3 @@ count_unit: string;

asOf: string;
category: UsageRecordDailyCategory;
category: DailyCategory;
/**

@@ -223,3 +223,3 @@ * The number of usage events, such as the number of calls.

asOf: string;
category: UsageRecordDailyCategory;
category: DailyCategory;
count: string;

@@ -226,0 +226,0 @@ countUnit: string;

@@ -6,3 +6,3 @@ /// <reference types="node" />

import V2010 from "../../../../V2010";
export type UsageRecordLastMonthCategory = "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" | "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" | "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" | "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";
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" | "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" | "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" | "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";
/**

@@ -13,3 +13,3 @@ * Options to pass to each

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordLastMonthCategory;
category?: LastMonthCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -35,3 +35,3 @@ startDate?: Date;

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordLastMonthCategory;
category?: LastMonthCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -53,3 +53,3 @@ startDate?: Date;

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordLastMonthCategory;
category?: LastMonthCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -139,3 +139,3 @@ startDate?: Date;

as_of: string;
category: UsageRecordLastMonthCategory;
category: LastMonthCategory;
count: string;

@@ -168,3 +168,3 @@ count_unit: string;

asOf: string;
category: UsageRecordLastMonthCategory;
category: LastMonthCategory;
/**

@@ -223,3 +223,3 @@ * The number of usage events, such as the number of calls.

asOf: string;
category: UsageRecordLastMonthCategory;
category: LastMonthCategory;
count: string;

@@ -226,0 +226,0 @@ countUnit: string;

@@ -6,3 +6,3 @@ /// <reference types="node" />

import V2010 from "../../../../V2010";
export type UsageRecordMonthlyCategory = "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" | "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" | "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" | "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";
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" | "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" | "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" | "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";
/**

@@ -13,3 +13,3 @@ * Options to pass to each

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordMonthlyCategory;
category?: MonthlyCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -35,3 +35,3 @@ startDate?: Date;

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordMonthlyCategory;
category?: MonthlyCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -53,3 +53,3 @@ startDate?: Date;

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordMonthlyCategory;
category?: MonthlyCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -139,3 +139,3 @@ startDate?: Date;

as_of: string;
category: UsageRecordMonthlyCategory;
category: MonthlyCategory;
count: string;

@@ -168,3 +168,3 @@ count_unit: string;

asOf: string;
category: UsageRecordMonthlyCategory;
category: MonthlyCategory;
/**

@@ -223,3 +223,3 @@ * The number of usage events, such as the number of calls.

asOf: string;
category: UsageRecordMonthlyCategory;
category: MonthlyCategory;
count: string;

@@ -226,0 +226,0 @@ countUnit: string;

@@ -6,3 +6,3 @@ /// <reference types="node" />

import V2010 from "../../../../V2010";
export type UsageRecordThisMonthCategory = "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" | "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" | "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" | "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";
export type ThisMonthCategory = "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" | "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" | "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" | "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";
/**

@@ -13,3 +13,3 @@ * Options to pass to each

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordThisMonthCategory;
category?: ThisMonthCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -35,3 +35,3 @@ startDate?: Date;

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordThisMonthCategory;
category?: ThisMonthCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -53,3 +53,3 @@ startDate?: Date;

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordThisMonthCategory;
category?: ThisMonthCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -139,3 +139,3 @@ startDate?: Date;

as_of: string;
category: UsageRecordThisMonthCategory;
category: ThisMonthCategory;
count: string;

@@ -168,3 +168,3 @@ count_unit: string;

asOf: string;
category: UsageRecordThisMonthCategory;
category: ThisMonthCategory;
/**

@@ -223,3 +223,3 @@ * The number of usage events, such as the number of calls.

asOf: string;
category: UsageRecordThisMonthCategory;
category: ThisMonthCategory;
count: string;

@@ -226,0 +226,0 @@ countUnit: string;

@@ -6,3 +6,3 @@ /// <reference types="node" />

import V2010 from "../../../../V2010";
export type UsageRecordTodayCategory = "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" | "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" | "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" | "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";
export type TodayCategory = "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" | "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" | "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" | "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";
/**

@@ -13,3 +13,3 @@ * Options to pass to each

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordTodayCategory;
category?: TodayCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -35,3 +35,3 @@ startDate?: Date;

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordTodayCategory;
category?: TodayCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -53,3 +53,3 @@ startDate?: Date;

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordTodayCategory;
category?: TodayCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -139,3 +139,3 @@ startDate?: Date;

as_of: string;
category: UsageRecordTodayCategory;
category: TodayCategory;
count: string;

@@ -168,3 +168,3 @@ count_unit: string;

asOf: string;
category: UsageRecordTodayCategory;
category: TodayCategory;
/**

@@ -223,3 +223,3 @@ * The number of usage events, such as the number of calls.

asOf: string;
category: UsageRecordTodayCategory;
category: TodayCategory;
count: string;

@@ -226,0 +226,0 @@ countUnit: string;

@@ -6,3 +6,3 @@ /// <reference types="node" />

import V2010 from "../../../../V2010";
export type UsageRecordYearlyCategory = "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" | "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" | "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" | "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";
export type YearlyCategory = "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" | "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" | "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" | "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";
/**

@@ -13,3 +13,3 @@ * Options to pass to each

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordYearlyCategory;
category?: YearlyCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -35,3 +35,3 @@ startDate?: Date;

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordYearlyCategory;
category?: YearlyCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -53,3 +53,3 @@ startDate?: Date;

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordYearlyCategory;
category?: YearlyCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -139,3 +139,3 @@ startDate?: Date;

as_of: string;
category: UsageRecordYearlyCategory;
category: YearlyCategory;
count: string;

@@ -168,3 +168,3 @@ count_unit: string;

asOf: string;
category: UsageRecordYearlyCategory;
category: YearlyCategory;
/**

@@ -223,3 +223,3 @@ * The number of usage events, such as the number of calls.

asOf: string;
category: UsageRecordYearlyCategory;
category: YearlyCategory;
count: string;

@@ -226,0 +226,0 @@ countUnit: string;

@@ -6,3 +6,3 @@ /// <reference types="node" />

import V2010 from "../../../../V2010";
export type UsageRecordYesterdayCategory = "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" | "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" | "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" | "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";
export type YesterdayCategory = "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" | "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" | "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" | "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";
/**

@@ -13,3 +13,3 @@ * Options to pass to each

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordYesterdayCategory;
category?: YesterdayCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -35,3 +35,3 @@ startDate?: Date;

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordYesterdayCategory;
category?: YesterdayCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -53,3 +53,3 @@ startDate?: Date;

/** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
category?: UsageRecordYesterdayCategory;
category?: YesterdayCategory;
/** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */

@@ -139,3 +139,3 @@ startDate?: Date;

as_of: string;
category: UsageRecordYesterdayCategory;
category: YesterdayCategory;
count: string;

@@ -168,3 +168,3 @@ count_unit: string;

asOf: string;
category: UsageRecordYesterdayCategory;
category: YesterdayCategory;
/**

@@ -223,3 +223,3 @@ * The number of usage events, such as the number of calls.

asOf: string;
category: UsageRecordYesterdayCategory;
category: YesterdayCategory;
count: string;

@@ -226,0 +226,0 @@ countUnit: string;

@@ -6,5 +6,5 @@ /// <reference types="node" />

import V2010 from "../../../V2010";
export type UsageTriggerRecurring = "daily" | "monthly" | "yearly" | "alltime";
export type UsageTriggerTriggerField = "count" | "usage" | "price";
export type UsageTriggerUsageCategory = "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" | "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" | "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" | "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";
export type TriggerRecurring = "daily" | "monthly" | "yearly" | "alltime";
export type TriggerTriggerField = "count" | "usage" | "price";
export type TriggerUsageCategory = "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" | "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" | "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" | "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";
/**

@@ -30,3 +30,3 @@ * Options to pass to update a TriggerInstance

/** */
usageCategory: UsageTriggerUsageCategory;
usageCategory: TriggerUsageCategory;
/** The HTTP method we should use to call `callback_url`. Can be: `GET` or `POST` and the default is `POST`. */

@@ -37,5 +37,5 @@ callbackMethod?: string;

/** */
recurring?: UsageTriggerRecurring;
recurring?: TriggerRecurring;
/** */
triggerBy?: UsageTriggerTriggerField;
triggerBy?: TriggerTriggerField;
}

@@ -47,7 +47,7 @@ /**

/** The frequency of recurring UsageTriggers to read. Can be: `daily`, `monthly`, or `yearly` to read recurring UsageTriggers. An empty value or a value of `alltime` reads non-recurring UsageTriggers. */
recurring?: UsageTriggerRecurring;
recurring?: TriggerRecurring;
/** The trigger field of the UsageTriggers to read. Can be: `count`, `usage`, or `price` as described in the [UsageRecords documentation](https://www.twilio.com/docs/usage/api/usage-record#usage-count-price). */
triggerBy?: UsageTriggerTriggerField;
triggerBy?: TriggerTriggerField;
/** The usage category of the UsageTriggers to read. Must be a supported [usage categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories). */
usageCategory?: UsageTriggerUsageCategory;
usageCategory?: TriggerUsageCategory;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -67,7 +67,7 @@ pageSize?: number;

/** The frequency of recurring UsageTriggers to read. Can be: `daily`, `monthly`, or `yearly` to read recurring UsageTriggers. An empty value or a value of `alltime` reads non-recurring UsageTriggers. */
recurring?: UsageTriggerRecurring;
recurring?: TriggerRecurring;
/** The trigger field of the UsageTriggers to read. Can be: `count`, `usage`, or `price` as described in the [UsageRecords documentation](https://www.twilio.com/docs/usage/api/usage-record#usage-count-price). */
triggerBy?: UsageTriggerTriggerField;
triggerBy?: TriggerTriggerField;
/** The usage category of the UsageTriggers to read. Must be a supported [usage categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories). */
usageCategory?: UsageTriggerUsageCategory;
usageCategory?: TriggerUsageCategory;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -83,7 +83,7 @@ pageSize?: number;

/** The frequency of recurring UsageTriggers to read. Can be: `daily`, `monthly`, or `yearly` to read recurring UsageTriggers. An empty value or a value of `alltime` reads non-recurring UsageTriggers. */
recurring?: UsageTriggerRecurring;
recurring?: TriggerRecurring;
/** The trigger field of the UsageTriggers to read. Can be: `count`, `usage`, or `price` as described in the [UsageRecords documentation](https://www.twilio.com/docs/usage/api/usage-record#usage-count-price). */
triggerBy?: UsageTriggerTriggerField;
triggerBy?: TriggerTriggerField;
/** The usage category of the UsageTriggers to read. Must be a supported [usage categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories). */
usageCategory?: UsageTriggerUsageCategory;
usageCategory?: TriggerUsageCategory;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -156,3 +156,2 @@ pageSize?: number;

}
export type TriggerCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface TriggerPayload extends TwilioResponsePayload {

@@ -164,3 +163,3 @@ usage_triggers: TriggerResource[];

api_version: string;
callback_method: TriggerCallbackMethod;
callback_method: string;
callback_url: string;

@@ -172,8 +171,8 @@ current_value: string;

friendly_name: string;
recurring: UsageTriggerRecurring;
recurring: TriggerRecurring;
sid: string;
trigger_by: UsageTriggerTriggerField;
trigger_by: TriggerTriggerField;
trigger_value: string;
uri: string;
usage_category: UsageTriggerUsageCategory;
usage_category: TriggerUsageCategory;
usage_record_uri: string;

@@ -197,3 +196,3 @@ }

*/
callbackMethod: TriggerCallbackMethod;
callbackMethod: string;
/**

@@ -223,3 +222,3 @@ * The URL we call using the `callback_method` when the trigger fires.

friendlyName: string;
recurring: UsageTriggerRecurring;
recurring: TriggerRecurring;
/**

@@ -229,3 +228,3 @@ * The unique string that that we created to identify the UsageTrigger resource.

sid: string;
triggerBy: UsageTriggerTriggerField;
triggerBy: TriggerTriggerField;
/**

@@ -239,3 +238,3 @@ * The value at which the trigger will fire. Must be a positive, numeric value.

uri: string;
usageCategory: UsageTriggerUsageCategory;
usageCategory: TriggerUsageCategory;
/**

@@ -287,3 +286,3 @@ * The URI of the [UsageRecord](https://www.twilio.com/docs/usage/api/usage-record) resource this trigger watches, relative to `https://api.twilio.com`.

apiVersion: string;
callbackMethod: TriggerCallbackMethod;
callbackMethod: string;
callbackUrl: string;

@@ -295,8 +294,8 @@ currentValue: string;

friendlyName: string;
recurring: UsageTriggerRecurring;
recurring: TriggerRecurring;
sid: string;
triggerBy: UsageTriggerTriggerField;
triggerBy: TriggerTriggerField;
triggerValue: string;
uri: string;
usageCategory: UsageTriggerUsageCategory;
usageCategory: TriggerUsageCategory;
usageRecordUri: string;

@@ -303,0 +302,0 @@ };

@@ -6,4 +6,4 @@ /// <reference types="node" />

import V2 from "../../../V2";
export type ChannelWebhookMethod = "GET" | "POST";
export type ChannelWebhookType = "webhook" | "trigger" | "studio";
export type WebhookMethod = "GET" | "POST";
export type WebhookType = "webhook" | "trigger" | "studio";
/**

@@ -16,3 +16,3 @@ * Options to pass to update a WebhookInstance

/** */
"configuration.method"?: ChannelWebhookMethod;
"configuration.method"?: WebhookMethod;
/** The events that cause us to call the Channel Webhook. Used when `type` is `webhook`. This parameter takes only one event. To specify more than one event, repeat this parameter for each event. For the list of possible events, see [Webhook Event Triggers](https://www.twilio.com/docs/chat/webhook-events#webhook-event-trigger). */

@@ -32,7 +32,7 @@ "configuration.filters"?: Array<string>;

/** */
type: ChannelWebhookType;
type: WebhookType;
/** The URL of the webhook to call using the `configuration.method`. */
"configuration.url"?: string;
/** */
"configuration.method"?: ChannelWebhookMethod;
"configuration.method"?: WebhookMethod;
/** The events that cause us to call the Channel Webhook. Used when `type` is `webhook`. This parameter takes only one event. To specify more than one event, repeat this parameter for each event. For the list of possible events, see [Webhook Event Triggers](https://www.twilio.com/docs/chat/webhook-events#webhook-event-trigger). */

@@ -39,0 +39,0 @@ "configuration.filters"?: Array<string>;

import ContentBase from "../ContentBase";
import Version from "../../base/Version";
import { ContentListInstance } from "./v1/content";
import { ContentAndApprovalsListInstance } from "./v1/contentAndApprovals";
import { LegacyContentListInstance } from "./v1/legacyContent";

@@ -14,2 +15,4 @@ export default class V1 extends Version {

protected _contents?: ContentListInstance;
/** contentAndApprovals - { Twilio.Content.V1.ContentAndApprovalsListInstance } resource */
protected _contentAndApprovals?: ContentAndApprovalsListInstance;
/** legacyContents - { Twilio.Content.V1.LegacyContentListInstance } resource */

@@ -19,4 +22,6 @@ protected _legacyContents?: LegacyContentListInstance;

get contents(): ContentListInstance;
/** Getter for contentAndApprovals resource */
get contentAndApprovals(): ContentAndApprovalsListInstance;
/** Getter for legacyContents resource */
get legacyContents(): LegacyContentListInstance;
}

@@ -21,2 +21,3 @@ "use strict";

const content_1 = require("./v1/content");
const contentAndApprovals_1 = require("./v1/contentAndApprovals");
const legacyContent_1 = require("./v1/legacyContent");

@@ -37,2 +38,8 @@ class V1 extends Version_1.default {

}
/** Getter for contentAndApprovals resource */
get contentAndApprovals() {
this._contentAndApprovals =
this._contentAndApprovals || (0, contentAndApprovals_1.ContentAndApprovalsListInstance)(this);
return this._contentAndApprovals;
}
/** Getter for legacyContents resource */

@@ -39,0 +46,0 @@ get legacyContents() {

@@ -6,5 +6,5 @@ /// <reference types="node" />

import V1 from "../V1";
export type ConfigurationAddressAutoCreationType = "webhook" | "studio" | "default";
export type ConfigurationAddressMethod = "GET" | "POST";
export type ConfigurationAddressType = "sms" | "whatsapp" | "messenger" | "gbm";
export type AddressConfigurationAutoCreationType = "webhook" | "studio" | "default";
export type AddressConfigurationMethod = "GET" | "POST";
export type AddressConfigurationType = "sms" | "whatsapp" | "messenger" | "gbm";
/**

@@ -19,3 +19,3 @@ * Options to pass to update a AddressConfigurationInstance

/** */
"autoCreation.type"?: ConfigurationAddressAutoCreationType;
"autoCreation.type"?: AddressConfigurationAutoCreationType;
/** Conversation Service for the auto-created conversation. If not set, the conversation is created in the default service. */

@@ -26,3 +26,3 @@ "autoCreation.conversationServiceSid"?: string;

/** */
"autoCreation.webhookMethod"?: ConfigurationAddressMethod;
"autoCreation.webhookMethod"?: AddressConfigurationMethod;
/** The list of events, firing webhook event for this Conversation. Values can be any of the following: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onConversationUpdated`, `onConversationStateUpdated`, `onConversationRemoved`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`, `onDeliveryUpdated` */

@@ -40,3 +40,3 @@ "autoCreation.webhookFilters"?: Array<string>;

/** */
type: ConfigurationAddressType;
type: AddressConfigurationType;
/** The unique address to be configured. The address can be a whatsapp address or phone number */

@@ -49,3 +49,3 @@ address: string;

/** */
"autoCreation.type"?: ConfigurationAddressAutoCreationType;
"autoCreation.type"?: AddressConfigurationAutoCreationType;
/** Conversation Service for the auto-created conversation. If not set, the conversation is created in the default service. */

@@ -56,3 +56,3 @@ "autoCreation.conversationServiceSid"?: string;

/** */
"autoCreation.webhookMethod"?: ConfigurationAddressMethod;
"autoCreation.webhookMethod"?: AddressConfigurationMethod;
/** The list of events, firing webhook event for this Conversation. Values can be any of the following: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onConversationUpdated`, `onConversationStateUpdated`, `onConversationRemoved`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`, `onDeliveryUpdated` */

@@ -59,0 +59,0 @@ "autoCreation.webhookFilters"?: Array<string>;

/// <reference types="node" />
import { inspect, InspectOptions } from "util";
import V1 from "../../V1";
export type ConfigurationWebhookMethod = "GET" | "POST";
export type ConfigurationWebhookTarget = "webhook" | "flex";
export type WebhookMethod = "GET" | "POST";
export type WebhookTarget = "webhook" | "flex";
/**

@@ -19,3 +19,3 @@ * Options to pass to update a WebhookInstance

/** */
target?: ConfigurationWebhookTarget;
target?: WebhookTarget;
}

@@ -73,7 +73,7 @@ export interface WebhookContext {

account_sid: string;
method: ConfigurationWebhookMethod;
method: WebhookMethod;
filters: Array<string>;
pre_webhook_url: string;
post_webhook_url: string;
target: ConfigurationWebhookTarget;
target: WebhookTarget;
url: string;

@@ -90,3 +90,3 @@ }

accountSid: string;
method: ConfigurationWebhookMethod;
method: WebhookMethod;
/**

@@ -104,3 +104,3 @@ * The list of webhook event triggers that are enabled for this Service: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onConversationUpdated`, `onConversationRemoved`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`

postWebhookUrl: string;
target: ConfigurationWebhookTarget;
target: WebhookTarget;
/**

@@ -143,7 +143,7 @@ * An absolute API resource API resource URL for this webhook.

accountSid: string;
method: ConfigurationWebhookMethod;
method: WebhookMethod;
filters: string[];
preWebhookUrl: string;
postWebhookUrl: string;
target: ConfigurationWebhookTarget;
target: WebhookTarget;
url: string;

@@ -150,0 +150,0 @@ };

@@ -7,4 +7,4 @@ /// <reference types="node" />

import { DeliveryReceiptListInstance } from "./message/deliveryReceipt";
export type ConversationMessageOrderType = "asc" | "desc";
export type ConversationMessageWebhookEnabledType = "true" | "false";
export type MessageOrderType = "asc" | "desc";
export type MessageWebhookEnabledType = "true" | "false";
/**

@@ -15,3 +15,3 @@ * Options to pass to remove a MessageInstance

/** The X-Twilio-Webhook-Enabled HTTP request header */
xTwilioWebhookEnabled?: ConversationMessageWebhookEnabledType;
xTwilioWebhookEnabled?: MessageWebhookEnabledType;
}

@@ -23,3 +23,3 @@ /**

/** The X-Twilio-Webhook-Enabled HTTP request header */
xTwilioWebhookEnabled?: ConversationMessageWebhookEnabledType;
xTwilioWebhookEnabled?: MessageWebhookEnabledType;
/** The channel specific identifier of the message\\\'s author. Defaults to `system`. */

@@ -41,3 +41,3 @@ author?: string;

/** The X-Twilio-Webhook-Enabled HTTP request header */
xTwilioWebhookEnabled?: ConversationMessageWebhookEnabledType;
xTwilioWebhookEnabled?: MessageWebhookEnabledType;
/** The channel specific identifier of the message\\\'s author. Defaults to `system`. */

@@ -65,3 +65,3 @@ author?: string;

/** The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending), with `asc` as the default. */
order?: ConversationMessageOrderType;
order?: MessageOrderType;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -81,3 +81,3 @@ pageSize?: number;

/** The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending), with `asc` as the default. */
order?: ConversationMessageOrderType;
order?: MessageOrderType;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -93,3 +93,3 @@ pageSize?: number;

/** The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending), with `asc` as the default. */
order?: ConversationMessageOrderType;
order?: MessageOrderType;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -96,0 +96,0 @@ pageSize?: number;

@@ -6,3 +6,3 @@ /// <reference types="node" />

import V1 from "../../../V1";
export type ConversationMessageReceiptDeliveryStatus = "read" | "failed" | "delivered" | "undelivered" | "sent";
export type DeliveryReceiptDeliveryStatus = "read" | "failed" | "delivered" | "undelivered" | "sent";
/**

@@ -85,3 +85,3 @@ * Options to pass to each

participant_sid: string;
status: ConversationMessageReceiptDeliveryStatus;
status: DeliveryReceiptDeliveryStatus;
error_code: number;

@@ -121,3 +121,3 @@ date_created: Date;

participantSid: string;
status: ConversationMessageReceiptDeliveryStatus;
status: DeliveryReceiptDeliveryStatus;
/**

@@ -160,3 +160,3 @@ * The message [delivery error code](https://www.twilio.com/docs/sms/api/message-resource#delivery-related-errors) for a `failed` status,

participantSid: string;
status: ConversationMessageReceiptDeliveryStatus;
status: DeliveryReceiptDeliveryStatus;
errorCode: number;

@@ -163,0 +163,0 @@ dateCreated: Date;

@@ -6,3 +6,3 @@ /// <reference types="node" />

import V1 from "../../V1";
export type ConversationParticipantWebhookEnabledType = "true" | "false";
export type ParticipantWebhookEnabledType = "true" | "false";
/**

@@ -13,3 +13,3 @@ * Options to pass to remove a ParticipantInstance

/** The X-Twilio-Webhook-Enabled HTTP request header */
xTwilioWebhookEnabled?: ConversationParticipantWebhookEnabledType;
xTwilioWebhookEnabled?: ParticipantWebhookEnabledType;
}

@@ -21,3 +21,3 @@ /**

/** The X-Twilio-Webhook-Enabled HTTP request header */
xTwilioWebhookEnabled?: ConversationParticipantWebhookEnabledType;
xTwilioWebhookEnabled?: ParticipantWebhookEnabledType;
/** The date that this resource was created. */

@@ -47,3 +47,3 @@ dateCreated?: Date;

/** The X-Twilio-Webhook-Enabled HTTP request header */
xTwilioWebhookEnabled?: ConversationParticipantWebhookEnabledType;
xTwilioWebhookEnabled?: ParticipantWebhookEnabledType;
/** A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversations SDK to communicate. Limited to 256 characters. */

@@ -50,0 +50,0 @@ identity?: string;

@@ -6,4 +6,4 @@ /// <reference types="node" />

import V1 from "../../V1";
export type ConversationScopedWebhookMethod = "GET" | "POST";
export type ConversationScopedWebhookTarget = "webhook" | "trigger" | "studio";
export type WebhookMethod = "GET" | "POST";
export type WebhookTarget = "webhook" | "trigger" | "studio";
/**

@@ -16,3 +16,3 @@ * Options to pass to update a WebhookInstance

/** */
"configuration.method"?: ConversationScopedWebhookMethod;
"configuration.method"?: WebhookMethod;
/** The list of events, firing webhook event for this Conversation. */

@@ -30,7 +30,7 @@ "configuration.filters"?: Array<string>;

/** */
target: ConversationScopedWebhookTarget;
target: WebhookTarget;
/** The absolute url the webhook request should be sent to. */
"configuration.url"?: string;
/** */
"configuration.method"?: ConversationScopedWebhookMethod;
"configuration.method"?: WebhookMethod;
/** The list of events, firing webhook event for this Conversation. */

@@ -37,0 +37,0 @@ "configuration.filters"?: Array<string>;

@@ -6,3 +6,3 @@ /// <reference types="node" />

import V1 from "../../V1";
export type ServiceBindingBindingType = "apn" | "gcm" | "fcm";
export type BindingBindingType = "apn" | "gcm" | "fcm";
/**

@@ -13,3 +13,3 @@ * Options to pass to each

/** The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info. */
bindingType?: Array<ServiceBindingBindingType>;
bindingType?: Array<BindingBindingType>;
/** The identity of a [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource) this binding belongs to. See [access tokens](https://www.twilio.com/docs/conversations/create-tokens) for more details. */

@@ -31,3 +31,3 @@ identity?: Array<string>;

/** The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info. */
bindingType?: Array<ServiceBindingBindingType>;
bindingType?: Array<BindingBindingType>;
/** The identity of a [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource) this binding belongs to. See [access tokens](https://www.twilio.com/docs/conversations/create-tokens) for more details. */

@@ -45,3 +45,3 @@ identity?: Array<string>;

/** The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info. */
bindingType?: Array<ServiceBindingBindingType>;
bindingType?: Array<BindingBindingType>;
/** The identity of a [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource) this binding belongs to. See [access tokens](https://www.twilio.com/docs/conversations/create-tokens) for more details. */

@@ -110,3 +110,3 @@ identity?: Array<string>;

identity: string;
binding_type: ServiceBindingBindingType;
binding_type: BindingBindingType;
message_types: Array<string>;

@@ -152,3 +152,3 @@ url: string;

identity: string;
bindingType: ServiceBindingBindingType;
bindingType: BindingBindingType;
/**

@@ -193,3 +193,3 @@ * The [Conversation message types](https://www.twilio.com/docs/chat/push-notification-configuration#push-types) the binding is subscribed to.

identity: string;
bindingType: ServiceBindingBindingType;
bindingType: BindingBindingType;
messageTypes: string[];

@@ -196,0 +196,0 @@ url: string;

/// <reference types="node" />
import { inspect, InspectOptions } from "util";
import V1 from "../../../V1";
export type ServiceWebhookConfigurationMethod = "GET" | "POST";
export type WebhookMethod = "GET" | "POST";
/**

@@ -74,3 +74,3 @@ * Options to pass to update a WebhookInstance

filters: Array<string>;
method: ServiceWebhookConfigurationMethod;
method: WebhookMethod;
url: string;

@@ -103,3 +103,3 @@ }

filters: Array<string>;
method: ServiceWebhookConfigurationMethod;
method: WebhookMethod;
/**

@@ -146,3 +146,3 @@ * An absolute API resource URL for this webhook.

filters: string[];
method: ServiceWebhookConfigurationMethod;
method: WebhookMethod;
url: string;

@@ -149,0 +149,0 @@ };

@@ -9,4 +9,4 @@ /// <reference types="node" />

import { WebhookListInstance } from "./conversation/webhook";
export type ServiceConversationState = "inactive" | "active" | "closed";
export type ServiceConversationWebhookEnabledType = "true" | "false";
export type ConversationState = "inactive" | "active" | "closed";
export type ConversationWebhookEnabledType = "true" | "false";
/**

@@ -17,3 +17,3 @@ * Options to pass to remove a ConversationInstance

/** The X-Twilio-Webhook-Enabled HTTP request header */
xTwilioWebhookEnabled?: ServiceConversationWebhookEnabledType;
xTwilioWebhookEnabled?: ConversationWebhookEnabledType;
}

@@ -25,3 +25,3 @@ /**

/** The X-Twilio-Webhook-Enabled HTTP request header */
xTwilioWebhookEnabled?: ServiceConversationWebhookEnabledType;
xTwilioWebhookEnabled?: ConversationWebhookEnabledType;
/** The human-readable name of this conversation, limited to 256 characters. Optional. */

@@ -38,3 +38,3 @@ friendlyName?: string;

/** */
state?: ServiceConversationState;
state?: ConversationState;
/** ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. */

@@ -52,3 +52,3 @@ "timers.inactive"?: string;

/** The X-Twilio-Webhook-Enabled HTTP request header */
xTwilioWebhookEnabled?: ServiceConversationWebhookEnabledType;
xTwilioWebhookEnabled?: ConversationWebhookEnabledType;
/** The human-readable name of this conversation, limited to 256 characters. Optional. */

@@ -67,3 +67,3 @@ friendlyName?: string;

/** */
state?: ServiceConversationState;
state?: ConversationState;
/** ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. */

@@ -196,3 +196,3 @@ "timers.inactive"?: string;

attributes: string;
state: ServiceConversationState;
state: ConversationState;
date_created: Date;

@@ -238,3 +238,3 @@ date_updated: Date;

attributes: string;
state: ServiceConversationState;
state: ConversationState;
/**

@@ -329,3 +329,3 @@ * The date that this resource was created.

attributes: string;
state: ServiceConversationState;
state: ConversationState;
dateCreated: Date;

@@ -332,0 +332,0 @@ dateUpdated: Date;

@@ -7,4 +7,4 @@ /// <reference types="node" />

import { DeliveryReceiptListInstance } from "./message/deliveryReceipt";
export type ServiceConversationMessageOrderType = "asc" | "desc";
export type ServiceConversationMessageWebhookEnabledType = "true" | "false";
export type MessageOrderType = "asc" | "desc";
export type MessageWebhookEnabledType = "true" | "false";
/**

@@ -15,3 +15,3 @@ * Options to pass to remove a MessageInstance

/** The X-Twilio-Webhook-Enabled HTTP request header */
xTwilioWebhookEnabled?: ServiceConversationMessageWebhookEnabledType;
xTwilioWebhookEnabled?: MessageWebhookEnabledType;
}

@@ -23,3 +23,3 @@ /**

/** The X-Twilio-Webhook-Enabled HTTP request header */
xTwilioWebhookEnabled?: ServiceConversationMessageWebhookEnabledType;
xTwilioWebhookEnabled?: MessageWebhookEnabledType;
/** The channel specific identifier of the message\\\'s author. Defaults to `system`. */

@@ -41,3 +41,3 @@ author?: string;

/** The X-Twilio-Webhook-Enabled HTTP request header */
xTwilioWebhookEnabled?: ServiceConversationMessageWebhookEnabledType;
xTwilioWebhookEnabled?: MessageWebhookEnabledType;
/** The channel specific identifier of the message\\\'s author. Defaults to `system`. */

@@ -65,3 +65,3 @@ author?: string;

/** The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending), with `asc` as the default. */
order?: ServiceConversationMessageOrderType;
order?: MessageOrderType;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -81,3 +81,3 @@ pageSize?: number;

/** The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending), with `asc` as the default. */
order?: ServiceConversationMessageOrderType;
order?: MessageOrderType;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -93,3 +93,3 @@ pageSize?: number;

/** The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending), with `asc` as the default. */
order?: ServiceConversationMessageOrderType;
order?: MessageOrderType;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -96,0 +96,0 @@ pageSize?: number;

@@ -6,3 +6,3 @@ /// <reference types="node" />

import V1 from "../../../../V1";
export type ServiceConversationMessageReceiptDeliveryStatus = "read" | "failed" | "delivered" | "undelivered" | "sent";
export type DeliveryReceiptDeliveryStatus = "read" | "failed" | "delivered" | "undelivered" | "sent";
/**

@@ -87,3 +87,3 @@ * Options to pass to each

participant_sid: string;
status: ServiceConversationMessageReceiptDeliveryStatus;
status: DeliveryReceiptDeliveryStatus;
error_code: number;

@@ -127,3 +127,3 @@ date_created: Date;

participantSid: string;
status: ServiceConversationMessageReceiptDeliveryStatus;
status: DeliveryReceiptDeliveryStatus;
/**

@@ -167,3 +167,3 @@ * The message [delivery error code](https://www.twilio.com/docs/sms/api/message-resource#delivery-related-errors) for a `failed` status,

participantSid: string;
status: ServiceConversationMessageReceiptDeliveryStatus;
status: DeliveryReceiptDeliveryStatus;
errorCode: number;

@@ -170,0 +170,0 @@ dateCreated: Date;

@@ -6,3 +6,3 @@ /// <reference types="node" />

import V1 from "../../../V1";
export type ServiceConversationParticipantWebhookEnabledType = "true" | "false";
export type ParticipantWebhookEnabledType = "true" | "false";
/**

@@ -13,3 +13,3 @@ * Options to pass to remove a ParticipantInstance

/** The X-Twilio-Webhook-Enabled HTTP request header */
xTwilioWebhookEnabled?: ServiceConversationParticipantWebhookEnabledType;
xTwilioWebhookEnabled?: ParticipantWebhookEnabledType;
}

@@ -21,3 +21,3 @@ /**

/** The X-Twilio-Webhook-Enabled HTTP request header */
xTwilioWebhookEnabled?: ServiceConversationParticipantWebhookEnabledType;
xTwilioWebhookEnabled?: ParticipantWebhookEnabledType;
/** The date that this resource was created. */

@@ -47,3 +47,3 @@ dateCreated?: Date;

/** The X-Twilio-Webhook-Enabled HTTP request header */
xTwilioWebhookEnabled?: ServiceConversationParticipantWebhookEnabledType;
xTwilioWebhookEnabled?: ParticipantWebhookEnabledType;
/** A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversation SDK to communicate. Limited to 256 characters. */

@@ -50,0 +50,0 @@ identity?: string;

@@ -6,4 +6,4 @@ /// <reference types="node" />

import V1 from "../../../V1";
export type ServiceConversationScopedWebhookMethod = "GET" | "POST";
export type ServiceConversationScopedWebhookTarget = "webhook" | "trigger" | "studio";
export type WebhookMethod = "GET" | "POST";
export type WebhookTarget = "webhook" | "trigger" | "studio";
/**

@@ -16,3 +16,3 @@ * Options to pass to update a WebhookInstance

/** */
"configuration.method"?: ServiceConversationScopedWebhookMethod;
"configuration.method"?: WebhookMethod;
/** The list of events, firing webhook event for this Conversation. */

@@ -30,7 +30,7 @@ "configuration.filters"?: Array<string>;

/** */
target: ServiceConversationScopedWebhookTarget;
target: WebhookTarget;
/** The absolute url the webhook request should be sent to. */
"configuration.url"?: string;
/** */
"configuration.method"?: ServiceConversationScopedWebhookMethod;
"configuration.method"?: WebhookMethod;
/** The list of events, firing webhook event for this Conversation. */

@@ -37,0 +37,0 @@ "configuration.filters"?: Array<string>;

@@ -6,3 +6,3 @@ /// <reference types="node" />

import V1 from "../../V1";
export type ServiceParticipantConversationState = "inactive" | "active" | "closed";
export type ParticipantConversationState = "inactive" | "active" | "closed";
/**

@@ -134,3 +134,3 @@ * Options to pass to each

conversation_created_by: string;
conversation_state: ServiceParticipantConversationState;
conversation_state: ParticipantConversationState;
conversation_timers: any;

@@ -194,3 +194,3 @@ links: Record<string, string>;

conversationCreatedBy: string;
conversationState: ServiceParticipantConversationState;
conversationState: ParticipantConversationState;
/**

@@ -223,3 +223,3 @@ * Timer date values representing state update for this conversation.

conversationCreatedBy: string;
conversationState: ServiceParticipantConversationState;
conversationState: ParticipantConversationState;
conversationTimers: any;

@@ -226,0 +226,0 @@ links: Record<string, string>;

@@ -6,3 +6,3 @@ /// <reference types="node" />

import V1 from "../../V1";
export type ServiceRoleRoleType = "conversation" | "service";
export type RoleRoleType = "conversation" | "service";
/**

@@ -22,3 +22,3 @@ * Options to pass to update a RoleInstance

/** */
type: ServiceRoleRoleType;
type: RoleRoleType;
/** A permission that you grant to the new role. Only one permission can be granted per parameter. To assign more than one permission, repeat this parameter for each permission value. The values for this parameter depend on the role\\\'s `type`. */

@@ -120,3 +120,3 @@ permission: Array<string>;

friendly_name: string;
type: ServiceRoleRoleType;
type: RoleRoleType;
permissions: Array<string>;

@@ -148,3 +148,3 @@ date_created: Date;

friendlyName: string;
type: ServiceRoleRoleType;
type: RoleRoleType;
/**

@@ -202,3 +202,3 @@ * An array of the permissions the role has been granted.

friendlyName: string;
type: ServiceRoleRoleType;
type: RoleRoleType;
permissions: string[];

@@ -205,0 +205,0 @@ dateCreated: Date;

@@ -7,3 +7,3 @@ /// <reference types="node" />

import { UserConversationListInstance } from "./user/userConversation";
export type ServiceUserWebhookEnabledType = "true" | "false";
export type UserWebhookEnabledType = "true" | "false";
/**

@@ -14,3 +14,3 @@ * Options to pass to remove a UserInstance

/** The X-Twilio-Webhook-Enabled HTTP request header */
xTwilioWebhookEnabled?: ServiceUserWebhookEnabledType;
xTwilioWebhookEnabled?: UserWebhookEnabledType;
}

@@ -22,3 +22,3 @@ /**

/** The X-Twilio-Webhook-Enabled HTTP request header */
xTwilioWebhookEnabled?: ServiceUserWebhookEnabledType;
xTwilioWebhookEnabled?: UserWebhookEnabledType;
/** The string that you assigned to describe the resource. */

@@ -38,3 +38,3 @@ friendlyName?: string;

/** The X-Twilio-Webhook-Enabled HTTP request header */
xTwilioWebhookEnabled?: ServiceUserWebhookEnabledType;
xTwilioWebhookEnabled?: UserWebhookEnabledType;
/** The string that you assigned to describe the resource. */

@@ -41,0 +41,0 @@ friendlyName?: string;

@@ -6,4 +6,4 @@ /// <reference types="node" />

import V1 from "../../../V1";
export type ServiceUserConversationNotificationLevel = "default" | "muted";
export type ServiceUserConversationState = "inactive" | "active" | "closed";
export type UserConversationNotificationLevel = "default" | "muted";
export type UserConversationState = "inactive" | "active" | "closed";
/**

@@ -14,3 +14,3 @@ * Options to pass to update a UserConversationInstance

/** */
notificationLevel?: ServiceUserConversationNotificationLevel;
notificationLevel?: UserConversationNotificationLevel;
/** The date of the last message read in conversation by the user, given in ISO 8601 format. */

@@ -127,3 +127,3 @@ lastReadTimestamp?: Date;

friendly_name: string;
conversation_state: ServiceUserConversationState;
conversation_state: UserConversationState;
timers: any;

@@ -134,3 +134,3 @@ attributes: string;

created_by: string;
notification_level: ServiceUserConversationNotificationLevel;
notification_level: UserConversationNotificationLevel;
unique_name: string;

@@ -177,3 +177,3 @@ url: string;

friendlyName: string;
conversationState: ServiceUserConversationState;
conversationState: UserConversationState;
/**

@@ -199,3 +199,3 @@ * Timer date values representing state update for this conversation.

createdBy: string;
notificationLevel: ServiceUserConversationNotificationLevel;
notificationLevel: UserConversationNotificationLevel;
/**

@@ -258,3 +258,3 @@ * An application-defined string that uniquely identifies the Conversation resource. It can be used to address the resource in place of the resource\'s `conversation_sid` in the URL.

friendlyName: string;
conversationState: ServiceUserConversationState;
conversationState: UserConversationState;
timers: any;

@@ -265,3 +265,3 @@ attributes: string;

createdBy: string;
notificationLevel: ServiceUserConversationNotificationLevel;
notificationLevel: UserConversationNotificationLevel;
uniqueName: string;

@@ -268,0 +268,0 @@ url: string;

@@ -8,2 +8,3 @@ import FlexApiBase from "../FlexApiBase";

import { InsightsAssessmentsCommentListInstance } from "./v1/insightsAssessmentsComment";
import { InsightsConversationsListInstance } from "./v1/insightsConversations";
import { InsightsQuestionnairesListInstance } from "./v1/insightsQuestionnaires";

@@ -36,2 +37,4 @@ import { InsightsQuestionnairesCategoryListInstance } from "./v1/insightsQuestionnairesCategory";

protected _insightsAssessmentsComment?: InsightsAssessmentsCommentListInstance;
/** insightsConversations - { Twilio.FlexApi.V1.InsightsConversationsListInstance } resource */
protected _insightsConversations?: InsightsConversationsListInstance;
/** insightsQuestionnaires - { Twilio.FlexApi.V1.InsightsQuestionnairesListInstance } resource */

@@ -67,2 +70,4 @@ protected _insightsQuestionnaires?: InsightsQuestionnairesListInstance;

get insightsAssessmentsComment(): InsightsAssessmentsCommentListInstance;
/** Getter for insightsConversations resource */
get insightsConversations(): InsightsConversationsListInstance;
/** Getter for insightsQuestionnaires resource */

@@ -69,0 +74,0 @@ get insightsQuestionnaires(): InsightsQuestionnairesListInstance;

@@ -25,2 +25,3 @@ "use strict";

const insightsAssessmentsComment_1 = require("./v1/insightsAssessmentsComment");
const insightsConversations_1 = require("./v1/insightsConversations");
const insightsQuestionnaires_1 = require("./v1/insightsQuestionnaires");

@@ -73,2 +74,8 @@ const insightsQuestionnairesCategory_1 = require("./v1/insightsQuestionnairesCategory");

}
/** Getter for insightsConversations resource */
get insightsConversations() {
this._insightsConversations =
this._insightsConversations || (0, insightsConversations_1.InsightsConversationsListInstance)(this);
return this._insightsConversations;
}
/** Getter for insightsQuestionnaires resource */

@@ -75,0 +82,0 @@ get insightsQuestionnaires() {

/// <reference types="node" />
import { inspect, InspectOptions } from "util";
import Page, { TwilioResponsePayload } from "../../../base/Page";
import Response from "../../../http/response";
import V1 from "../V1";

@@ -48,2 +50,47 @@ /**

}
/**
* Options to pass to each
*/
export interface AssessmentsListInstanceEachOptions {
/** The Token HTTP request header */
token?: string;
/** The id of the segment. */
segmentId?: string;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
pageSize?: number;
/** Function to process each record. If this and a positional callback are passed, this one will be used */
callback?: (item: AssessmentsInstance, done: (err?: Error) => void) => void;
/** Function to be called upon completion of streaming */
done?: Function;
/** Upper limit for the number of records to return. each() guarantees never to return more than limit. Default is no limit */
limit?: number;
}
/**
* Options to pass to list
*/
export interface AssessmentsListInstanceOptions {
/** The Token HTTP request header */
token?: string;
/** The id of the segment. */
segmentId?: string;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
pageSize?: number;
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
limit?: number;
}
/**
* Options to pass to page
*/
export interface AssessmentsListInstancePageOptions {
/** The Token HTTP request header */
token?: string;
/** The id of the segment. */
segmentId?: string;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
pageSize?: number;
/** Page Number, this value is simply for client state */
pageNumber?: number;
/** PageToken provided by the API */
pageToken?: string;
}
export interface AssessmentsContext {

@@ -82,2 +129,5 @@ /**

}
interface AssessmentsPayload extends TwilioResponsePayload {
assessments: AssessmentsResource[];
}
interface AssessmentsResource {

@@ -205,2 +255,52 @@ account_sid: string;

/**
* Streams AssessmentsInstance records from the API.
*
* This operation lazily loads records as efficiently as possible until the limit
* is reached.
*
* The results are passed into the callback function, so this operation is memory
* efficient.
*
* If a function is passed as the first argument, it will be used as the callback
* function.
*
* @param { AssessmentsListInstanceEachOptions } [params] - Options for request
* @param { function } [callback] - Function to process each record
*/
each(callback?: (item: AssessmentsInstance, done: (err?: Error) => void) => void): void;
each(params: AssessmentsListInstanceEachOptions, callback?: (item: AssessmentsInstance, done: (err?: Error) => void) => void): void;
/**
* Retrieve a single target page of AssessmentsInstance records from the API.
*
* The request is executed immediately.
*
* @param { string } [targetUrl] - API-generated URL for the requested results page
* @param { function } [callback] - Callback to handle list of records
*/
getPage(targetUrl: string, callback?: (error: Error | null, items: AssessmentsPage) => any): Promise<AssessmentsPage>;
/**
* Lists AssessmentsInstance records from the API as a list.
*
* If a function is passed as the first argument, it will be used as the callback
* function.
*
* @param { AssessmentsListInstanceOptions } [params] - Options for request
* @param { function } [callback] - Callback to handle list of records
*/
list(callback?: (error: Error | null, items: AssessmentsInstance[]) => any): Promise<AssessmentsInstance[]>;
list(params: AssessmentsListInstanceOptions, callback?: (error: Error | null, items: AssessmentsInstance[]) => any): Promise<AssessmentsInstance[]>;
/**
* Retrieve a single page of AssessmentsInstance records from the API.
*
* The request is executed immediately.
*
* If a function is passed as the first argument, it will be used as the callback
* function.
*
* @param { AssessmentsListInstancePageOptions } [params] - Options for request
* @param { function } [callback] - Callback to handle list of records
*/
page(callback?: (error: Error | null, items: AssessmentsPage) => any): Promise<AssessmentsPage>;
page(params: AssessmentsListInstancePageOptions, callback?: (error: Error | null, items: AssessmentsPage) => any): Promise<AssessmentsPage>;
/**
* Provide a user-friendly representation

@@ -212,2 +312,19 @@ */

export declare function AssessmentsListInstance(version: V1): AssessmentsListInstance;
export declare class AssessmentsPage extends Page<V1, AssessmentsPayload, AssessmentsResource, AssessmentsInstance> {
/**
* Initialize the AssessmentsPage
*
* @param version - Version of the resource
* @param response - Response from the API
* @param solution - Path solution
*/
constructor(version: V1, response: Response<string>, solution: AssessmentsSolution);
/**
* Build an instance of AssessmentsInstance
*
* @param payload - Payload response from the API
*/
getInstance(payload: AssessmentsResource): AssessmentsInstance;
[inspect.custom](depth: any, options: InspectOptions): string;
}
export {};

@@ -15,5 +15,9 @@ "use strict";

*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.AssessmentsListInstance = exports.AssessmentsInstance = exports.AssessmentsContextImpl = void 0;
exports.AssessmentsPage = exports.AssessmentsListInstance = exports.AssessmentsInstance = exports.AssessmentsContextImpl = void 0;
const util_1 = require("util");
const Page_1 = __importDefault(require("../../../base/Page"));
const deserialize = require("../../../base/deserialize");

@@ -209,2 +213,43 @@ const serialize = require("../../../base/serialize");

};
instance.page = function page(params, callback) {
if (params instanceof Function) {
callback = params;
params = {};
}
else {
params = params || {};
}
let data = {};
if (params["segmentId"] !== undefined)
data["SegmentId"] = params["segmentId"];
if (params["pageSize"] !== undefined)
data["PageSize"] = params["pageSize"];
if (params.pageNumber !== undefined)
data["Page"] = params.pageNumber;
if (params.pageToken !== undefined)
data["PageToken"] = params.pageToken;
const headers = {};
if (params["token"] !== undefined)
headers["Token"] = params["token"];
let operationVersion = version, operationPromise = operationVersion.page({
uri: instance._uri,
method: "get",
params: data,
headers,
});
operationPromise = operationPromise.then((payload) => new AssessmentsPage(operationVersion, payload, instance._solution));
operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
return operationPromise;
};
instance.each = instance._version.each;
instance.list = instance._version.list;
instance.getPage = function getPage(targetUrl, callback) {
const operationPromise = instance._version._domain.twilio.request({
method: "get",
uri: targetUrl,
});
let pagePromise = operationPromise.then((payload) => new AssessmentsPage(instance._version, payload, instance._solution));
pagePromise = instance._version.setPromiseCallback(pagePromise, callback);
return pagePromise;
};
instance.toJSON = function toJSON() {

@@ -219,1 +264,25 @@ return instance._solution;

exports.AssessmentsListInstance = AssessmentsListInstance;
class AssessmentsPage extends Page_1.default {
/**
* Initialize the AssessmentsPage
*
* @param version - Version of the resource
* @param response - Response from the API
* @param solution - Path solution
*/
constructor(version, response, solution) {
super(version, response, solution);
}
/**
* Build an instance of AssessmentsInstance
*
* @param payload - Payload response from the API
*/
getInstance(payload) {
return new AssessmentsInstance(this._version, payload);
}
[util_1.inspect.custom](depth, options) {
return (0, util_1.inspect)(this.toJSON(), options);
}
}
exports.AssessmentsPage = AssessmentsPage;

@@ -38,4 +38,2 @@ /// <reference types="node" />

question: string;
/** The description for the question. */
description: string;
/** The answer_set for the question. */

@@ -47,2 +45,4 @@ answerSetId: string;

token?: string;
/** The description for the question. */
description?: string;
}

@@ -49,0 +49,0 @@ /**

@@ -170,5 +170,2 @@ "use strict";

}
if (params["description"] === null || params["description"] === undefined) {
throw new Error("Required parameter \"params['description']\" missing.");
}
if (params["answerSetId"] === null || params["answerSetId"] === undefined) {

@@ -183,5 +180,6 @@ throw new Error("Required parameter \"params['answerSetId']\" missing.");

data["Question"] = params["question"];
data["Description"] = params["description"];
data["AnswerSetId"] = params["answerSetId"];
data["AllowNa"] = serialize.bool(params["allowNa"]);
if (params["description"] !== undefined)
data["Description"] = params["description"];
const headers = {};

@@ -188,0 +186,0 @@ headers["Content-Type"] = "application/x-www-form-urlencoded";

/// <reference types="node" />
import { inspect, InspectOptions } from "util";
import V1 from "../../V1";
export type SummaryAnsweredBy = "unknown" | "machine_start" | "machine_end_beep" | "machine_end_silence" | "machine_end_other" | "human" | "fax";
export type SummaryCallState = "ringing" | "completed" | "busy" | "fail" | "noanswer" | "canceled" | "answered" | "undialed";
export type SummaryCallType = "carrier" | "sip" | "trunking" | "client";
export type SummaryProcessingState = "complete" | "partial";
export type CallSummaryAnsweredBy = "unknown" | "machine_start" | "machine_end_beep" | "machine_end_silence" | "machine_end_other" | "human" | "fax";
export type CallSummaryCallState = "ringing" | "completed" | "busy" | "fail" | "noanswer" | "canceled" | "answered" | "undialed";
export type CallSummaryCallType = "carrier" | "sip" | "trunking" | "client";
export type CallSummaryProcessingState = "complete" | "partial";
/**

@@ -13,3 +13,3 @@ * Options to pass to fetch a CallSummaryInstance

/** */
processingState?: SummaryProcessingState;
processingState?: CallSummaryProcessingState;
}

@@ -60,6 +60,6 @@ export interface CallSummaryContext {

call_sid: string;
call_type: SummaryCallType;
call_state: SummaryCallState;
answered_by: SummaryAnsweredBy;
processing_state: SummaryProcessingState;
call_type: CallSummaryCallType;
call_state: CallSummaryCallState;
answered_by: CallSummaryAnsweredBy;
processing_state: CallSummaryProcessingState;
created_time: Date;

@@ -90,6 +90,6 @@ start_time: Date;

callSid: string;
callType: SummaryCallType;
callState: SummaryCallState;
answeredBy: SummaryAnsweredBy;
processingState: SummaryProcessingState;
callType: CallSummaryCallType;
callState: CallSummaryCallState;
answeredBy: CallSummaryAnsweredBy;
processingState: CallSummaryProcessingState;
createdTime: Date;

@@ -138,6 +138,6 @@ startTime: Date;

callSid: string;
callType: SummaryCallType;
callState: SummaryCallState;
answeredBy: SummaryAnsweredBy;
processingState: SummaryProcessingState;
callType: CallSummaryCallType;
callState: CallSummaryCallState;
answeredBy: CallSummaryAnsweredBy;
processingState: CallSummaryProcessingState;
createdTime: Date;

@@ -144,0 +144,0 @@ startTime: Date;

@@ -7,10 +7,10 @@ /// <reference types="node" />

import { ParticipantListInstance } from "./room/participant";
export type VideoRoomSummaryCodec = "VP8" | "H264" | "VP9";
export type VideoRoomSummaryCreatedMethod = "sdk" | "ad_hoc" | "api";
export type VideoRoomSummaryEdgeLocation = "ashburn" | "dublin" | "frankfurt" | "singapore" | "sydney" | "sao_paulo" | "roaming" | "umatilla" | "tokyo";
export type VideoRoomSummaryEndReason = "room_ended_via_api" | "timeout";
export type VideoRoomSummaryProcessingState = "complete" | "in_progress";
export type VideoRoomSummaryRoomStatus = "in_progress" | "completed";
export type VideoRoomSummaryRoomType = "go" | "peer_to_peer" | "group" | "group_small";
export type VideoRoomSummaryTwilioRealm = "us1" | "us2" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "in1" | "de1" | "gll";
export type RoomCodec = "VP8" | "H264" | "VP9";
export type RoomCreatedMethod = "sdk" | "ad_hoc" | "api";
export type RoomEdgeLocation = "ashburn" | "dublin" | "frankfurt" | "singapore" | "sydney" | "sao_paulo" | "roaming" | "umatilla" | "tokyo";
export type RoomEndReason = "room_ended_via_api" | "timeout";
export type RoomProcessingState = "complete" | "in_progress";
export type RoomRoomStatus = "in_progress" | "completed";
export type RoomRoomType = "go" | "peer_to_peer" | "group" | "group_small";
export type RoomTwilioRealm = "us1" | "us2" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "in1" | "de1" | "gll";
/**

@@ -21,5 +21,5 @@ * Options to pass to each

/** Type of room. Can be `go`, `peer_to_peer`, `group`, or `group_small`. */
roomType?: Array<VideoRoomSummaryRoomType>;
roomType?: Array<RoomRoomType>;
/** Codecs used by participants in the room. Can be `VP8`, `H264`, or `VP9`. */
codec?: Array<VideoRoomSummaryCodec>;
codec?: Array<RoomCodec>;
/** Room friendly name. */

@@ -45,5 +45,5 @@ roomName?: string;

/** Type of room. Can be `go`, `peer_to_peer`, `group`, or `group_small`. */
roomType?: Array<VideoRoomSummaryRoomType>;
roomType?: Array<RoomRoomType>;
/** Codecs used by participants in the room. Can be `VP8`, `H264`, or `VP9`. */
codec?: Array<VideoRoomSummaryCodec>;
codec?: Array<RoomCodec>;
/** Room friendly name. */

@@ -65,5 +65,5 @@ roomName?: string;

/** Type of room. Can be `go`, `peer_to_peer`, `group`, or `group_small`. */
roomType?: Array<VideoRoomSummaryRoomType>;
roomType?: Array<RoomRoomType>;
/** Codecs used by participants in the room. Can be `VP8`, `H264`, or `VP9`. */
codec?: Array<VideoRoomSummaryCodec>;
codec?: Array<RoomCodec>;
/** Room friendly name. */

@@ -117,3 +117,2 @@ roomName?: string;

}
export type RoomStatusCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface RoomPayload extends TwilioResponsePayload {

@@ -128,8 +127,8 @@ rooms: RoomResource[];

end_time: Date;
room_type: VideoRoomSummaryRoomType;
room_status: VideoRoomSummaryRoomStatus;
room_type: RoomRoomType;
room_status: RoomRoomStatus;
status_callback: string;
status_callback_method: RoomStatusCallbackMethod;
created_method: VideoRoomSummaryCreatedMethod;
end_reason: VideoRoomSummaryEndReason;
status_callback_method: string;
created_method: RoomCreatedMethod;
end_reason: RoomEndReason;
max_participants: number;

@@ -140,10 +139,10 @@ unique_participants: number;

max_concurrent_participants: number;
codecs: Array<VideoRoomSummaryCodec>;
media_region: VideoRoomSummaryTwilioRealm;
codecs: Array<RoomCodec>;
media_region: RoomTwilioRealm;
duration_sec: number;
total_participant_duration_sec: number;
total_recording_duration_sec: number;
processing_state: VideoRoomSummaryProcessingState;
processing_state: RoomProcessingState;
recording_enabled: boolean;
edge_location: VideoRoomSummaryEdgeLocation;
edge_location: RoomEdgeLocation;
url: string;

@@ -177,4 +176,4 @@ links: Record<string, string>;

endTime: Date;
roomType: VideoRoomSummaryRoomType;
roomStatus: VideoRoomSummaryRoomStatus;
roomType: RoomRoomType;
roomStatus: RoomRoomStatus;
/**

@@ -187,5 +186,5 @@ * Webhook provided for status callbacks.

*/
statusCallbackMethod: RoomStatusCallbackMethod;
createdMethod: VideoRoomSummaryCreatedMethod;
endReason: VideoRoomSummaryEndReason;
statusCallbackMethod: string;
createdMethod: RoomCreatedMethod;
endReason: RoomEndReason;
/**

@@ -214,4 +213,4 @@ * Max number of total participants allowed by the application settings.

*/
codecs: Array<VideoRoomSummaryCodec>;
mediaRegion: VideoRoomSummaryTwilioRealm;
codecs: Array<RoomCodec>;
mediaRegion: RoomTwilioRealm;
/**

@@ -229,3 +228,3 @@ * Total room duration from create time to end time.

totalRecordingDurationSec: number;
processingState: VideoRoomSummaryProcessingState;
processingState: RoomProcessingState;
/**

@@ -235,3 +234,3 @@ * Boolean indicating if recording is enabled for the room.

recordingEnabled: boolean;
edgeLocation: VideoRoomSummaryEdgeLocation;
edgeLocation: RoomEdgeLocation;
/**

@@ -269,8 +268,8 @@ * URL for the room resource.

endTime: Date;
roomType: VideoRoomSummaryRoomType;
roomStatus: VideoRoomSummaryRoomStatus;
roomType: RoomRoomType;
roomStatus: RoomRoomStatus;
statusCallback: string;
statusCallbackMethod: RoomStatusCallbackMethod;
createdMethod: VideoRoomSummaryCreatedMethod;
endReason: VideoRoomSummaryEndReason;
statusCallbackMethod: string;
createdMethod: RoomCreatedMethod;
endReason: RoomEndReason;
maxParticipants: number;

@@ -281,10 +280,10 @@ uniqueParticipants: number;

maxConcurrentParticipants: number;
codecs: VideoRoomSummaryCodec[];
mediaRegion: VideoRoomSummaryTwilioRealm;
codecs: RoomCodec[];
mediaRegion: RoomTwilioRealm;
durationSec: number;
totalParticipantDurationSec: number;
totalRecordingDurationSec: number;
processingState: VideoRoomSummaryProcessingState;
processingState: RoomProcessingState;
recordingEnabled: boolean;
edgeLocation: VideoRoomSummaryEdgeLocation;
edgeLocation: RoomEdgeLocation;
url: string;

@@ -291,0 +290,0 @@ links: Record<string, string>;

@@ -6,6 +6,6 @@ /// <reference types="node" />

import V1 from "../../V1";
export type VideoParticipantSummaryCodec = "VP8" | "H264" | "VP9";
export type VideoParticipantSummaryEdgeLocation = "ashburn" | "dublin" | "frankfurt" | "singapore" | "sydney" | "sao_paulo" | "roaming" | "umatilla" | "tokyo";
export type VideoParticipantSummaryRoomStatus = "in_progress" | "completed";
export type VideoParticipantSummaryTwilioRealm = "us1" | "us2" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "in1" | "de1" | "gll";
export type ParticipantCodec = "VP8" | "H264" | "VP9";
export type ParticipantEdgeLocation = "ashburn" | "dublin" | "frankfurt" | "singapore" | "sydney" | "sao_paulo" | "roaming" | "umatilla" | "tokyo";
export type ParticipantRoomStatus = "in_progress" | "completed";
export type ParticipantTwilioRealm = "us1" | "us2" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "in1" | "de1" | "gll";
/**

@@ -88,10 +88,10 @@ * Options to pass to each

room_sid: string;
status: VideoParticipantSummaryRoomStatus;
codecs: Array<VideoParticipantSummaryCodec>;
status: ParticipantRoomStatus;
codecs: Array<ParticipantCodec>;
end_reason: string;
error_code: number;
error_code_url: string;
media_region: VideoParticipantSummaryTwilioRealm;
media_region: ParticipantTwilioRealm;
properties: any;
edge_location: VideoParticipantSummaryEdgeLocation;
edge_location: ParticipantEdgeLocation;
publisher_info: any;

@@ -133,7 +133,7 @@ url: string;

roomSid: string;
status: VideoParticipantSummaryRoomStatus;
status: ParticipantRoomStatus;
/**
* Codecs detected from the participant. Can be `VP8`, `H264`, or `VP9`.
*/
codecs: Array<VideoParticipantSummaryCodec>;
codecs: Array<ParticipantCodec>;
/**

@@ -151,3 +151,3 @@ * Reason the participant left the room. See [the list of possible values here](https://www.twilio.com/docs/video/video-log-analyzer/video-log-analyzer-api#end_reason).

errorCodeUrl: string;
mediaRegion: VideoParticipantSummaryTwilioRealm;
mediaRegion: ParticipantTwilioRealm;
/**

@@ -157,3 +157,3 @@ * Object containing information about the participant\'s data from the room. See [below](https://www.twilio.com/docs/video/video-log-analyzer/video-log-analyzer-api#properties) for more information.

properties: any;
edgeLocation: VideoParticipantSummaryEdgeLocation;
edgeLocation: ParticipantEdgeLocation;
/**

@@ -189,10 +189,10 @@ * Object containing information about the SDK name and version. See [below](https://www.twilio.com/docs/video/video-log-analyzer/video-log-analyzer-api#publisher_info) for more information.

roomSid: string;
status: VideoParticipantSummaryRoomStatus;
codecs: VideoParticipantSummaryCodec[];
status: ParticipantRoomStatus;
codecs: ParticipantCodec[];
endReason: string;
errorCode: number;
errorCodeUrl: string;
mediaRegion: VideoParticipantSummaryTwilioRealm;
mediaRegion: ParticipantTwilioRealm;
properties: any;
edgeLocation: VideoParticipantSummaryEdgeLocation;
edgeLocation: ParticipantEdgeLocation;
publisherInfo: any;

@@ -199,0 +199,0 @@ url: string;

@@ -6,4 +6,4 @@ /// <reference types="node" />

import V2 from "../../../V2";
export type ChannelWebhookMethod = "GET" | "POST";
export type ChannelWebhookType = "webhook" | "trigger" | "studio";
export type WebhookMethod = "GET" | "POST";
export type WebhookType = "webhook" | "trigger" | "studio";
/**

@@ -16,3 +16,3 @@ * Options to pass to update a WebhookInstance

/** */
"configuration.method"?: ChannelWebhookMethod;
"configuration.method"?: WebhookMethod;
/** */

@@ -32,7 +32,7 @@ "configuration.filters"?: Array<string>;

/** */
type: ChannelWebhookType;
type: WebhookType;
/** */
"configuration.url"?: string;
/** */
"configuration.method"?: ChannelWebhookMethod;
"configuration.method"?: WebhookMethod;
/** */

@@ -39,0 +39,0 @@ "configuration.filters"?: Array<string>;

@@ -120,3 +120,2 @@ /// <reference types="node" />

}
export type MediaProcessorStatusCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface MediaProcessorPayload extends TwilioResponsePayload {

@@ -136,3 +135,3 @@ media_processors: MediaProcessorResource[];

status_callback: string;
status_callback_method: MediaProcessorStatusCallbackMethod;
status_callback_method: string;
max_duration: number;

@@ -185,3 +184,3 @@ }

*/
statusCallbackMethod: MediaProcessorStatusCallbackMethod;
statusCallbackMethod: string;
/**

@@ -225,3 +224,3 @@ * The maximum time, in seconds, that the MediaProcessor can run before automatically ends. The default value is 300 seconds, and the maximum value is 90000 seconds. Once this maximum duration is reached, Twilio will end the MediaProcessor, regardless of whether media is still streaming.

statusCallback: string;
statusCallbackMethod: MediaProcessorStatusCallbackMethod;
statusCallbackMethod: string;
maxDuration: number;

@@ -228,0 +227,0 @@ };

@@ -107,3 +107,2 @@ /// <reference types="node" />

}
export type MediaRecordingStatusCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface MediaRecordingPayload extends TwilioResponsePayload {

@@ -126,3 +125,3 @@ media_recordings: MediaRecordingResource[];

status_callback: string;
status_callback_method: MediaRecordingStatusCallbackMethod;
status_callback_method: string;
url: string;

@@ -184,3 +183,3 @@ }

*/
statusCallbackMethod: MediaRecordingStatusCallbackMethod;
statusCallbackMethod: string;
/**

@@ -226,3 +225,3 @@ * The absolute URL of the resource.

statusCallback: string;
statusCallbackMethod: MediaRecordingStatusCallbackMethod;
statusCallbackMethod: string;
url: string;

@@ -229,0 +228,0 @@ };

@@ -121,3 +121,2 @@ /// <reference types="node" />

}
export type PlayerStreamerStatusCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface PlayerStreamerPayload extends TwilioResponsePayload {

@@ -136,3 +135,3 @@ player_streamers: PlayerStreamerResource[];

status_callback: string;
status_callback_method: PlayerStreamerStatusCallbackMethod;
status_callback_method: string;
ended_reason: PlayerStreamerEndedReason;

@@ -182,3 +181,3 @@ max_duration: number;

*/
statusCallbackMethod: PlayerStreamerStatusCallbackMethod;
statusCallbackMethod: string;
endedReason: PlayerStreamerEndedReason;

@@ -226,3 +225,3 @@ /**

statusCallback: string;
statusCallbackMethod: PlayerStreamerStatusCallbackMethod;
statusCallbackMethod: string;
endedReason: PlayerStreamerEndedReason;

@@ -229,0 +228,0 @@ maxDuration: number;

@@ -7,3 +7,5 @@ import MessagingBase from "../MessagingBase";

import { DomainConfigListInstance } from "./v1/domainConfig";
import { DomainConfigMessagingServiceListInstance } from "./v1/domainConfigMessagingService";
import { ExternalCampaignListInstance } from "./v1/externalCampaign";
import { LinkshorteningMessagingServiceListInstance } from "./v1/linkshorteningMessagingService";
import { ServiceListInstance } from "./v1/service";

@@ -27,4 +29,8 @@ import { TollfreeVerificationListInstance } from "./v1/tollfreeVerification";

protected _domainConfig?: DomainConfigListInstance;
/** domainConfigMessagingService - { Twilio.Messaging.V1.DomainConfigMessagingServiceListInstance } resource */
protected _domainConfigMessagingService?: DomainConfigMessagingServiceListInstance;
/** externalCampaign - { Twilio.Messaging.V1.ExternalCampaignListInstance } resource */
protected _externalCampaign?: ExternalCampaignListInstance;
/** linkshorteningMessagingService - { Twilio.Messaging.V1.LinkshorteningMessagingServiceListInstance } resource */
protected _linkshorteningMessagingService?: LinkshorteningMessagingServiceListInstance;
/** services - { Twilio.Messaging.V1.ServiceListInstance } resource */

@@ -44,4 +50,8 @@ protected _services?: ServiceListInstance;

get domainConfig(): DomainConfigListInstance;
/** Getter for domainConfigMessagingService resource */
get domainConfigMessagingService(): DomainConfigMessagingServiceListInstance;
/** Getter for externalCampaign resource */
get externalCampaign(): ExternalCampaignListInstance;
/** Getter for linkshorteningMessagingService resource */
get linkshorteningMessagingService(): LinkshorteningMessagingServiceListInstance;
/** Getter for services resource */

@@ -48,0 +58,0 @@ get services(): ServiceListInstance;

@@ -24,3 +24,5 @@ "use strict";

const domainConfig_1 = require("./v1/domainConfig");
const domainConfigMessagingService_1 = require("./v1/domainConfigMessagingService");
const externalCampaign_1 = require("./v1/externalCampaign");
const linkshorteningMessagingService_1 = require("./v1/linkshorteningMessagingService");
const service_1 = require("./v1/service");

@@ -60,2 +62,9 @@ const tollfreeVerification_1 = require("./v1/tollfreeVerification");

}
/** Getter for domainConfigMessagingService resource */
get domainConfigMessagingService() {
this._domainConfigMessagingService =
this._domainConfigMessagingService ||
(0, domainConfigMessagingService_1.DomainConfigMessagingServiceListInstance)(this);
return this._domainConfigMessagingService;
}
/** Getter for externalCampaign resource */

@@ -67,2 +76,9 @@ get externalCampaign() {

}
/** Getter for linkshorteningMessagingService resource */
get linkshorteningMessagingService() {
this._linkshorteningMessagingService =
this._linkshorteningMessagingService ||
(0, linkshorteningMessagingService_1.LinkshorteningMessagingServiceListInstance)(this);
return this._linkshorteningMessagingService;
}
/** Getter for services resource */

@@ -69,0 +85,0 @@ get services() {

@@ -7,5 +7,5 @@ /// <reference types="node" />

import { BrandVettingListInstance } from "./brandRegistration/brandVetting";
export type BrandRegistrationsBrandFeedback = "TAX_ID" | "STOCK_SYMBOL" | "NONPROFIT" | "GOVERNMENT_ENTITY" | "OTHERS";
export type BrandRegistrationsIdentityStatus = "SELF_DECLARED" | "UNVERIFIED" | "VERIFIED" | "VETTED_VERIFIED";
export type BrandRegistrationsStatus = "PENDING" | "APPROVED" | "FAILED" | "IN_REVIEW" | "DELETED";
export type BrandRegistrationBrandFeedback = "TAX_ID" | "STOCK_SYMBOL" | "NONPROFIT" | "GOVERNMENT_ENTITY" | "OTHERS";
export type BrandRegistrationIdentityStatus = "SELF_DECLARED" | "UNVERIFIED" | "VERIFIED" | "VETTED_VERIFIED";
export type BrandRegistrationStatus = "PENDING" | "APPROVED" | "FAILED" | "IN_REVIEW" | "DELETED";
/**

@@ -114,3 +114,3 @@ * Options to pass to create a BrandRegistrationInstance

brand_type: string;
status: BrandRegistrationsStatus;
status: BrandRegistrationStatus;
tcr_id: string;

@@ -120,4 +120,4 @@ failure_reason: string;

brand_score: number;
brand_feedback: Array<BrandRegistrationsBrandFeedback>;
identity_status: BrandRegistrationsIdentityStatus;
brand_feedback: Array<BrandRegistrationBrandFeedback>;
identity_status: BrandRegistrationIdentityStatus;
russell_3000: boolean;

@@ -163,3 +163,3 @@ government_entity: boolean;

brandType: string;
status: BrandRegistrationsStatus;
status: BrandRegistrationStatus;
/**

@@ -184,4 +184,4 @@ * Campaign Registry (TCR) Brand ID. Assigned only after successful brand registration.

*/
brandFeedback: Array<BrandRegistrationsBrandFeedback>;
identityStatus: BrandRegistrationsIdentityStatus;
brandFeedback: Array<BrandRegistrationBrandFeedback>;
identityStatus: BrandRegistrationIdentityStatus;
/**

@@ -242,3 +242,3 @@ * Publicly traded company identified in the Russell 3000 Index

brandType: string;
status: BrandRegistrationsStatus;
status: BrandRegistrationStatus;
tcrId: string;

@@ -248,4 +248,4 @@ failureReason: string;

brandScore: number;
brandFeedback: BrandRegistrationsBrandFeedback[];
identityStatus: BrandRegistrationsIdentityStatus;
brandFeedback: BrandRegistrationBrandFeedback[];
identityStatus: BrandRegistrationIdentityStatus;
russell3000: boolean;

@@ -252,0 +252,0 @@ governmentEntity: boolean;

@@ -70,3 +70,3 @@ /// <reference types="node" />

url: string;
validated: boolean;
cert_in_validation: any;
}

@@ -104,5 +104,5 @@ export declare class DomainCertsInstance {

/**
* Boolean value indicating whether certificate has been validated
* Optional JSON field describing the status and upload date of a new certificate in the process of validation
*/
validated: boolean;
certInValidation: any;
private get _proxy();

@@ -147,3 +147,3 @@ /**

url: string;
validated: boolean;
certInValidation: any;
};

@@ -150,0 +150,0 @@ [inspect.custom](_depth: any, options: InspectOptions): string;

@@ -94,3 +94,3 @@ "use strict";

this.url = payload.url;
this.validated = payload.validated;
this.certInValidation = payload.cert_in_validation;
this._solution = { domainSid: domainSid || this.domainSid };

@@ -141,3 +141,3 @@ }

url: this.url,
validated: this.validated,
certInValidation: this.certInValidation,
};

@@ -144,0 +144,0 @@ }

@@ -193,4 +193,2 @@ /// <reference types="node" />

}
export type ServiceInboundMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type ServiceFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface ServicePayload extends TwilioResponsePayload {

@@ -206,5 +204,5 @@ services: ServiceResource[];

inbound_request_url: string;
inbound_method: ServiceInboundMethod;
inbound_method: string;
fallback_url: string;
fallback_method: ServiceFallbackMethod;
fallback_method: string;
status_callback: string;

@@ -257,3 +255,3 @@ sticky_sender: boolean;

*/
inboundMethod: ServiceInboundMethod;
inboundMethod: string;
/**

@@ -266,3 +264,3 @@ * The URL that we call using `fallback_method` if an error occurs while retrieving or executing the TwiML from the Inbound Request URL. If the `use_inbound_webhook_on_number` field is enabled then the webhook url defined on the phone number will override the `fallback_url` defined for the Messaging Service.

*/
fallbackMethod: ServiceFallbackMethod;
fallbackMethod: string;
/**

@@ -387,5 +385,5 @@ * The URL we call to [pass status updates](https://www.twilio.com/docs/sms/api/message-resource#message-status-values) about message delivery.

inboundRequestUrl: string;
inboundMethod: ServiceInboundMethod;
inboundMethod: string;
fallbackUrl: string;
fallbackMethod: ServiceFallbackMethod;
fallbackMethod: string;
statusCallback: string;

@@ -392,0 +390,0 @@ stickySender: boolean;

@@ -6,2 +6,3 @@ /// <reference types="node" />

import V1 from "../V1";
import { AppManifestListInstance } from "./app/appManifest";
/**

@@ -41,2 +42,3 @@ * Options to pass to each

export interface AppContext {
appManifests: AppManifestListInstance;
/**

@@ -71,3 +73,5 @@ * Remove a AppInstance

protected _uri: string;
protected _appManifests?: AppManifestListInstance;
constructor(_version: V1, sid: string);
get appManifests(): AppManifestListInstance;
remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;

@@ -94,2 +98,3 @@ fetch(callback?: (error: Error | null, item?: AppInstance) => any): Promise<AppInstance>;

url: string;
links: Record<string, string>;
}

@@ -129,2 +134,3 @@ export declare class AppInstance {

url: string;
links: Record<string, string>;
private get _proxy();

@@ -148,2 +154,6 @@ /**

/**
* Access the appManifests.
*/
appManifests(): AppManifestListInstance;
/**
* Provide a user-friendly representation

@@ -161,2 +171,3 @@ *

url: string;
links: Record<string, string>;
};

@@ -163,0 +174,0 @@ [inspect.custom](_depth: any, options: InspectOptions): string;

@@ -25,2 +25,3 @@ "use strict";

const utility_1 = require("../../../base/utility");
const appManifest_1 = require("./app/appManifest");
class AppContextImpl {

@@ -35,2 +36,8 @@ constructor(_version, sid) {

}
get appManifests() {
this._appManifests =
this._appManifests ||
(0, appManifest_1.AppManifestListInstance)(this._version, this._solution.sid);
return this._appManifests;
}
remove(callback) {

@@ -78,2 +85,3 @@ const instance = this;

this.url = payload.url;
this.links = payload.links;
this._solution = { sid: sid || this.sid };

@@ -107,2 +115,8 @@ }

/**
* Access the appManifests.
*/
appManifests() {
return this._proxy.appManifests;
}
/**
* Provide a user-friendly representation

@@ -121,2 +135,3 @@ *

url: this.url,
links: this.links,
};

@@ -123,0 +138,0 @@ }

@@ -89,3 +89,2 @@ /// <reference types="node" />

}
export type AlertRequestMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface AlertPayload extends TwilioResponsePayload {

@@ -104,3 +103,3 @@ alerts: AlertResource[];

more_info: string;
request_method: AlertRequestMethod;
request_method: string;
request_url: string;

@@ -160,3 +159,3 @@ request_variables: string;

*/
requestMethod: AlertRequestMethod;
requestMethod: string;
/**

@@ -222,3 +221,3 @@ * The URL of the request that generated the alert. If the alert was generated by a request we made to your server, this is the URL on your server that generated the alert. If the alert was generated by a request from your application to our API, this is the URL of the resource requested.

moreInfo: string;
requestMethod: AlertRequestMethod;
requestMethod: string;
requestUrl: string;

@@ -225,0 +224,0 @@ requestVariables: string;

@@ -160,6 +160,2 @@ /// <reference types="node" />

}
export type SimSmsFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type SimSmsMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type SimVoiceFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type SimVoiceMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface SimPayload extends TwilioResponsePayload {

@@ -179,9 +175,9 @@ sims: SimResource[];

commands_callback_method: string;
sms_fallback_method: SimSmsFallbackMethod;
sms_fallback_method: string;
sms_fallback_url: string;
sms_method: SimSmsMethod;
sms_method: string;
sms_url: string;
voice_fallback_method: SimVoiceFallbackMethod;
voice_fallback_method: string;
voice_fallback_url: string;
voice_method: SimVoiceMethod;
voice_method: string;
voice_url: string;

@@ -208,9 +204,9 @@ date_created: Date;

commandsCallbackMethod: string;
smsFallbackMethod: SimSmsFallbackMethod;
smsFallbackMethod: string;
smsFallbackUrl: string;
smsMethod: SimSmsMethod;
smsMethod: string;
smsUrl: string;
voiceFallbackMethod: SimVoiceFallbackMethod;
voiceFallbackMethod: string;
voiceFallbackUrl: string;
voiceMethod: SimVoiceMethod;
voiceMethod: string;
voiceUrl: string;

@@ -267,9 +263,9 @@ dateCreated: Date;

commandsCallbackMethod: string;
smsFallbackMethod: SimSmsFallbackMethod;
smsFallbackMethod: string;
smsFallbackUrl: string;
smsMethod: SimSmsMethod;
smsMethod: string;
smsUrl: string;
voiceFallbackMethod: SimVoiceFallbackMethod;
voiceFallbackMethod: string;
voiceFallbackUrl: string;
voiceMethod: SimVoiceMethod;
voiceMethod: string;
voiceUrl: string;

@@ -276,0 +272,0 @@ dateCreated: Date;

@@ -15,2 +15,4 @@ /// <reference types="node" />

callbackMethod?: string;
/** When set to `true`, a value for `Eid` does not need to be provided. Instead, when the eSIM profile is reserved, a matching ID will be generated and returned via the `matching_id` property. This identifies the specific eSIM profile that can be used by any capable device to claim and download the profile. */
generateMatchingId?: boolean;
/** Identifier of the eUICC that will claim the eSIM Profile. */

@@ -113,2 +115,4 @@ eid?: string;

smdp_plus_address: string;
matching_id: string;
activation_code: string;
error_code: string;

@@ -151,2 +155,10 @@ error_message: string;

/**
* Unique identifier of the eSIM profile that can be used to identify and download the eSIM profile from the SM-DP+ server. Populated if `generate_matching_id` is set to `true` when creating the eSIM profile reservation.
*/
matchingId: string;
/**
* Combined machine-readable activation code for acquiring an eSIM Profile with the Activation Code download method. Can be used in a QR code to download an eSIM profile.
*/
activationCode: string;
/**
* Code indicating the failure if the download of the SIM Profile failed and the eSIM Profile is in `failed` state.

@@ -193,2 +205,4 @@ */

smdpPlusAddress: string;
matchingId: string;
activationCode: string;
errorCode: string;

@@ -195,0 +209,0 @@ errorMessage: string;

@@ -67,2 +67,4 @@ "use strict";

this.smdpPlusAddress = payload.smdp_plus_address;
this.matchingId = payload.matching_id;
this.activationCode = payload.activation_code;
this.errorCode = payload.error_code;

@@ -105,2 +107,4 @@ this.errorMessage = payload.error_message;

smdpPlusAddress: this.smdpPlusAddress,
matchingId: this.matchingId,
activationCode: this.activationCode,
errorCode: this.errorCode,

@@ -139,2 +143,4 @@ errorMessage: this.errorMessage,

data["CallbackMethod"] = params["callbackMethod"];
if (params["generateMatchingId"] !== undefined)
data["GenerateMatchingId"] = serialize.bool(params["generateMatchingId"]);
if (params["eid"] !== undefined)

@@ -141,0 +147,0 @@ data["Eid"] = params["eid"];

@@ -138,4 +138,2 @@ /// <reference types="node" />

}
export type FleetSmsCommandsMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type FleetIpCommandsMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface FleetPayload extends TwilioResponsePayload {

@@ -156,6 +154,6 @@ fleets: FleetResource[];

sms_commands_url: string;
sms_commands_method: FleetSmsCommandsMethod;
sms_commands_method: string;
network_access_profile_sid: string;
ip_commands_url: string;
ip_commands_method: FleetIpCommandsMethod;
ip_commands_method: string;
}

@@ -211,3 +209,3 @@ export declare class FleetInstance {

*/
smsCommandsMethod: FleetSmsCommandsMethod;
smsCommandsMethod: string;
/**

@@ -224,3 +222,3 @@ * The SID of the Network Access Profile that controls which cellular networks the Fleet\'s SIMs can connect to.

*/
ipCommandsMethod: FleetIpCommandsMethod;
ipCommandsMethod: string;
private get _proxy();

@@ -269,6 +267,6 @@ /**

smsCommandsUrl: string;
smsCommandsMethod: FleetSmsCommandsMethod;
smsCommandsMethod: string;
networkAccessProfileSid: string;
ipCommandsUrl: string;
ipCommandsMethod: FleetIpCommandsMethod;
ipCommandsMethod: string;
};

@@ -275,0 +273,0 @@ [inspect.custom](_depth: any, options: InspectOptions): string;

@@ -6,6 +6,6 @@ /// <reference types="node" />

import V1 from "../../../V1";
export type TaskReservationCallStatus = "initiated" | "ringing" | "answered" | "completed";
export type TaskReservationConferenceEvent = "start" | "end" | "join" | "leave" | "mute" | "hold" | "speaker";
export type TaskReservationStatus = "pending" | "accepted" | "rejected" | "timeout" | "canceled" | "rescinded" | "wrapping" | "completed";
export type TaskReservationSupervisorMode = "monitor" | "whisper" | "barge";
export type ReservationCallStatus = "initiated" | "ringing" | "answered" | "completed";
export type ReservationConferenceEvent = "start" | "end" | "join" | "leave" | "mute" | "hold" | "speaker";
export type ReservationStatus = "pending" | "accepted" | "rejected" | "timeout" | "canceled" | "rescinded" | "wrapping" | "completed";
export type ReservationSupervisorMode = "monitor" | "whisper" | "barge";
/**

@@ -18,3 +18,3 @@ * Options to pass to update a ReservationInstance

/** */
reservationStatus?: TaskReservationStatus;
reservationStatus?: ReservationStatus;
/** The new worker activity SID if rejecting a reservation. */

@@ -65,3 +65,3 @@ workerActivitySid?: string;

/** The call progress events that we will send to `status_callback`. Can be: `initiated`, `ringing`, `answered`, or `completed`. */
statusCallbackEvent?: Array<TaskReservationCallStatus>;
statusCallbackEvent?: Array<ReservationCallStatus>;
/** Timeout for call when executing a Conference instruction. */

@@ -92,3 +92,3 @@ timeout?: number;

/** The conference status events that we will send to `conference_status_callback`. Can be: `start`, `end`, `join`, `leave`, `mute`, `hold`, `speaker`. */
conferenceStatusCallbackEvent?: Array<TaskReservationConferenceEvent>;
conferenceStatusCallbackEvent?: Array<ReservationConferenceEvent>;
/** Whether to record the conference the participant is joining or when to record the conference. Can be: `true`, `false`, `record-from-start`, and `do-not-record`. The default value is `false`. */

@@ -119,3 +119,3 @@ conferenceRecord?: string;

/** */
supervisorMode?: TaskReservationSupervisorMode;
supervisorMode?: ReservationSupervisorMode;
/** The Supervisor SID/URI when executing the Supervise instruction. */

@@ -133,3 +133,3 @@ supervisor?: string;

/** Returns the list of reservations for a task with a specified ReservationStatus. Can be: `pending`, `accepted`, `rejected`, or `timeout`. */
reservationStatus?: TaskReservationStatus;
reservationStatus?: ReservationStatus;
/** The SID of the reserved Worker resource to read. */

@@ -151,3 +151,3 @@ workerSid?: string;

/** Returns the list of reservations for a task with a specified ReservationStatus. Can be: `pending`, `accepted`, `rejected`, or `timeout`. */
reservationStatus?: TaskReservationStatus;
reservationStatus?: ReservationStatus;
/** The SID of the reserved Worker resource to read. */

@@ -165,3 +165,3 @@ workerSid?: string;

/** Returns the list of reservations for a task with a specified ReservationStatus. Can be: `pending`, `accepted`, `rejected`, or `timeout`. */
reservationStatus?: TaskReservationStatus;
reservationStatus?: ReservationStatus;
/** The SID of the reserved Worker resource to read. */

@@ -235,3 +235,3 @@ workerSid?: string;

date_updated: Date;
reservation_status: TaskReservationStatus;
reservation_status: ReservationStatus;
sid: string;

@@ -262,3 +262,3 @@ task_sid: string;

dateUpdated: Date;
reservationStatus: TaskReservationStatus;
reservationStatus: ReservationStatus;
/**

@@ -327,3 +327,3 @@ * The unique string that we created to identify the TaskReservation resource.

dateUpdated: Date;
reservationStatus: TaskReservationStatus;
reservationStatus: ReservationStatus;
sid: string;

@@ -330,0 +330,0 @@ taskSid: string;

@@ -6,5 +6,5 @@ /// <reference types="node" />

import V1 from "../../../V1";
export type WorkerReservationCallStatus = "initiated" | "ringing" | "answered" | "completed";
export type WorkerReservationConferenceEvent = "start" | "end" | "join" | "leave" | "mute" | "hold" | "speaker";
export type WorkerReservationStatus = "pending" | "accepted" | "rejected" | "timeout" | "canceled" | "rescinded" | "wrapping" | "completed";
export type ReservationCallStatus = "initiated" | "ringing" | "answered" | "completed";
export type ReservationConferenceEvent = "start" | "end" | "join" | "leave" | "mute" | "hold" | "speaker";
export type ReservationStatus = "pending" | "accepted" | "rejected" | "timeout" | "canceled" | "rescinded" | "wrapping" | "completed";
/**

@@ -17,3 +17,3 @@ * Options to pass to update a ReservationInstance

/** */
reservationStatus?: WorkerReservationStatus;
reservationStatus?: ReservationStatus;
/** The new worker activity SID if rejecting a reservation. */

@@ -64,3 +64,3 @@ workerActivitySid?: string;

/** The call progress events that we will send to `status_callback`. Can be: `initiated`, `ringing`, `answered`, or `completed`. */
statusCallbackEvent?: Array<WorkerReservationCallStatus>;
statusCallbackEvent?: Array<ReservationCallStatus>;
/** The timeout for a call when executing a Conference instruction. */

@@ -91,3 +91,3 @@ timeout?: number;

/** The conference status events that we will send to `conference_status_callback`. Can be: `start`, `end`, `join`, `leave`, `mute`, `hold`, `speaker`. */
conferenceStatusCallbackEvent?: Array<WorkerReservationConferenceEvent>;
conferenceStatusCallbackEvent?: Array<ReservationConferenceEvent>;
/** Whether to record the conference the participant is joining or when to record the conference. Can be: `true`, `false`, `record-from-start`, and `do-not-record`. The default value is `false`. */

@@ -127,3 +127,3 @@ conferenceRecord?: string;

/** Returns the list of reservations for a worker with a specified ReservationStatus. Can be: `pending`, `accepted`, `rejected`, `timeout`, `canceled`, or `rescinded`. */
reservationStatus?: WorkerReservationStatus;
reservationStatus?: ReservationStatus;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -143,3 +143,3 @@ pageSize?: number;

/** Returns the list of reservations for a worker with a specified ReservationStatus. Can be: `pending`, `accepted`, `rejected`, `timeout`, `canceled`, or `rescinded`. */
reservationStatus?: WorkerReservationStatus;
reservationStatus?: ReservationStatus;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -155,3 +155,3 @@ pageSize?: number;

/** Returns the list of reservations for a worker with a specified ReservationStatus. Can be: `pending`, `accepted`, `rejected`, `timeout`, `canceled`, or `rescinded`. */
reservationStatus?: WorkerReservationStatus;
reservationStatus?: ReservationStatus;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -223,3 +223,3 @@ pageSize?: number;

date_updated: Date;
reservation_status: WorkerReservationStatus;
reservation_status: ReservationStatus;
sid: string;

@@ -250,3 +250,3 @@ task_sid: string;

dateUpdated: Date;
reservationStatus: WorkerReservationStatus;
reservationStatus: ReservationStatus;
/**

@@ -315,3 +315,3 @@ * The unique string that we created to identify the WorkerReservation resource.

dateUpdated: Date;
reservationStatus: WorkerReservationStatus;
reservationStatus: ReservationStatus;
sid: string;

@@ -318,0 +318,0 @@ taskSid: string;

@@ -162,3 +162,2 @@ /// <reference types="node" />

}
export type TrunkDisasterRecoveryMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface TrunkPayload extends TwilioResponsePayload {

@@ -170,3 +169,3 @@ trunks: TrunkResource[];

domain_name: string;
disaster_recovery_method: TrunkDisasterRecoveryMethod;
disaster_recovery_method: string;
disaster_recovery_url: string;

@@ -203,3 +202,3 @@ friendly_name: string;

*/
disasterRecoveryMethod: TrunkDisasterRecoveryMethod;
disasterRecoveryMethod: string;
/**

@@ -317,3 +316,3 @@ * The URL we call using the `disaster_recovery_method` if an error occurs while sending SIP traffic towards the configured Origination URL. We retrieve TwiML from this URL and execute the instructions like any other normal TwiML call. See [Disaster Recovery](https://www.twilio.com/docs/sip-trunking#disaster-recovery) for more information.

domainName: string;
disasterRecoveryMethod: TrunkDisasterRecoveryMethod;
disasterRecoveryMethod: string;
disasterRecoveryUrl: string;

@@ -320,0 +319,0 @@ friendlyName: string;

@@ -89,7 +89,2 @@ /// <reference types="node" />

}
export type PhoneNumberSmsFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type PhoneNumberSmsMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type PhoneNumberStatusCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type PhoneNumberVoiceFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type PhoneNumberVoiceMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface PhoneNumberPayload extends TwilioResponsePayload {

@@ -111,8 +106,8 @@ phone_numbers: PhoneNumberResource[];

sms_application_sid: string;
sms_fallback_method: PhoneNumberSmsFallbackMethod;
sms_fallback_method: string;
sms_fallback_url: string;
sms_method: PhoneNumberSmsMethod;
sms_method: string;
sms_url: string;
status_callback: string;
status_callback_method: PhoneNumberStatusCallbackMethod;
status_callback_method: string;
trunk_sid: string;

@@ -122,5 +117,5 @@ url: string;

voice_caller_id_lookup: boolean;
voice_fallback_method: PhoneNumberVoiceFallbackMethod;
voice_fallback_method: string;
voice_fallback_url: string;
voice_method: PhoneNumberVoiceMethod;
voice_method: string;
voice_url: string;

@@ -181,3 +176,3 @@ }

*/
smsFallbackMethod: PhoneNumberSmsFallbackMethod;
smsFallbackMethod: string;
/**

@@ -190,3 +185,3 @@ * The URL that we call using the `sms_fallback_method` when an error occurs while retrieving or executing the TwiML from `sms_url`.

*/
smsMethod: PhoneNumberSmsMethod;
smsMethod: string;
/**

@@ -203,3 +198,3 @@ * The URL we call using the `sms_method` when the phone number receives an incoming SMS message.

*/
statusCallbackMethod: PhoneNumberStatusCallbackMethod;
statusCallbackMethod: string;
/**

@@ -224,3 +219,3 @@ * The SID of the Trunk that handles calls to the phone number. If a `trunk_sid` is present, we ignore all of the voice URLs and voice applications and use those set on the Trunk. Setting a `trunk_sid` will automatically delete your `voice_application_sid` and vice versa.

*/
voiceFallbackMethod: PhoneNumberVoiceFallbackMethod;
voiceFallbackMethod: string;
/**

@@ -233,3 +228,3 @@ * The URL that we call using the `voice_fallback_method` when an error occurs retrieving or executing the TwiML requested by `url`.

*/
voiceMethod: PhoneNumberVoiceMethod;
voiceMethod: string;
/**

@@ -274,8 +269,8 @@ * The URL we call using the `voice_method` when the phone number receives a call. The `voice_url` is not be used if a `voice_application_sid` or a `trunk_sid` is set.

smsApplicationSid: string;
smsFallbackMethod: PhoneNumberSmsFallbackMethod;
smsFallbackMethod: string;
smsFallbackUrl: string;
smsMethod: PhoneNumberSmsMethod;
smsMethod: string;
smsUrl: string;
statusCallback: string;
statusCallbackMethod: PhoneNumberStatusCallbackMethod;
statusCallbackMethod: string;
trunkSid: string;

@@ -285,5 +280,5 @@ url: string;

voiceCallerIdLookup: boolean;
voiceFallbackMethod: PhoneNumberVoiceFallbackMethod;
voiceFallbackMethod: string;
voiceFallbackUrl: string;
voiceMethod: PhoneNumberVoiceMethod;
voiceMethod: string;
voiceUrl: string;

@@ -290,0 +285,0 @@ };

@@ -9,3 +9,3 @@ /// <reference types="node" />

import { CustomerProfilesEvaluationsListInstance } from "./customerProfiles/customerProfilesEvaluations";
export type CustomerProfileStatus = "draft" | "pending-review" | "in-review" | "twilio-rejected" | "twilio-approved";
export type CustomerProfilesStatus = "draft" | "pending-review" | "in-review" | "twilio-rejected" | "twilio-approved";
/**

@@ -16,3 +16,3 @@ * Options to pass to update a CustomerProfilesInstance

/** */
status?: CustomerProfileStatus;
status?: CustomerProfilesStatus;
/** The URL we call to inform your application of status changes. */

@@ -43,3 +43,3 @@ statusCallback?: string;

/** The verification status of the Customer-Profile resource. */
status?: CustomerProfileStatus;
status?: CustomerProfilesStatus;
/** The string that you assigned to describe the resource. */

@@ -63,3 +63,3 @@ friendlyName?: string;

/** The verification status of the Customer-Profile resource. */
status?: CustomerProfileStatus;
status?: CustomerProfilesStatus;
/** The string that you assigned to describe the resource. */

@@ -79,3 +79,3 @@ friendlyName?: string;

/** The verification status of the Customer-Profile resource. */
status?: CustomerProfileStatus;
status?: CustomerProfilesStatus;
/** The string that you assigned to describe the resource. */

@@ -168,3 +168,3 @@ friendlyName?: string;

friendly_name: string;
status: CustomerProfileStatus;
status: CustomerProfilesStatus;
valid_until: Date;

@@ -199,3 +199,3 @@ email: string;

friendlyName: string;
status: CustomerProfileStatus;
status: CustomerProfilesStatus;
/**

@@ -285,3 +285,3 @@ * The date and time in GMT in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format when the resource will be valid until.

friendlyName: string;
status: CustomerProfileStatus;
status: CustomerProfilesStatus;
validUntil: Date;

@@ -288,0 +288,0 @@ email: string;

@@ -6,3 +6,3 @@ /// <reference types="node" />

import V1 from "../../V1";
export type CustomerProfileEvaluationStatus = "compliant" | "noncompliant";
export type CustomerProfilesEvaluationsStatus = "compliant" | "noncompliant";
/**

@@ -89,3 +89,3 @@ * Options to pass to create a CustomerProfilesEvaluationsInstance

customer_profile_sid: string;
status: CustomerProfileEvaluationStatus;
status: CustomerProfilesEvaluationsStatus;
results: Array<any>;

@@ -116,3 +116,3 @@ date_created: Date;

customerProfileSid: string;
status: CustomerProfileEvaluationStatus;
status: CustomerProfilesEvaluationsStatus;
/**

@@ -143,3 +143,3 @@ * The results of the Evaluation which includes the valid and invalid attributes.

customerProfileSid: string;
status: CustomerProfileEvaluationStatus;
status: CustomerProfilesEvaluationsStatus;
results: any[];

@@ -146,0 +146,0 @@ dateCreated: Date;

@@ -9,3 +9,3 @@ /// <reference types="node" />

import { TrustProductsEvaluationsListInstance } from "./trustProducts/trustProductsEvaluations";
export type TrustProductStatus = "draft" | "pending-review" | "in-review" | "twilio-rejected" | "twilio-approved";
export type TrustProductsStatus = "draft" | "pending-review" | "in-review" | "twilio-rejected" | "twilio-approved";
/**

@@ -16,3 +16,3 @@ * Options to pass to update a TrustProductsInstance

/** */
status?: TrustProductStatus;
status?: TrustProductsStatus;
/** The URL we call to inform your application of status changes. */

@@ -43,3 +43,3 @@ statusCallback?: string;

/** The verification status of the Customer-Profile resource. */
status?: TrustProductStatus;
status?: TrustProductsStatus;
/** The string that you assigned to describe the resource. */

@@ -63,3 +63,3 @@ friendlyName?: string;

/** The verification status of the Customer-Profile resource. */
status?: TrustProductStatus;
status?: TrustProductsStatus;
/** The string that you assigned to describe the resource. */

@@ -79,3 +79,3 @@ friendlyName?: string;

/** The verification status of the Customer-Profile resource. */
status?: TrustProductStatus;
status?: TrustProductsStatus;
/** The string that you assigned to describe the resource. */

@@ -168,3 +168,3 @@ friendlyName?: string;

friendly_name: string;
status: TrustProductStatus;
status: TrustProductsStatus;
valid_until: Date;

@@ -199,3 +199,3 @@ email: string;

friendlyName: string;
status: TrustProductStatus;
status: TrustProductsStatus;
/**

@@ -285,3 +285,3 @@ * The date and time in GMT in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format when the resource will be valid until.

friendlyName: string;
status: TrustProductStatus;
status: TrustProductsStatus;
validUntil: Date;

@@ -288,0 +288,0 @@ email: string;

@@ -6,3 +6,3 @@ /// <reference types="node" />

import V1 from "../../V1";
export type TrustProductEvaluationStatus = "compliant" | "noncompliant";
export type TrustProductsEvaluationsStatus = "compliant" | "noncompliant";
/**

@@ -89,3 +89,3 @@ * Options to pass to create a TrustProductsEvaluationsInstance

trust_product_sid: string;
status: TrustProductEvaluationStatus;
status: TrustProductsEvaluationsStatus;
results: Array<any>;

@@ -116,3 +116,3 @@ date_created: Date;

trustProductSid: string;
status: TrustProductEvaluationStatus;
status: TrustProductsEvaluationsStatus;
/**

@@ -143,3 +143,3 @@ * The results of the Evaluation which includes the valid and invalid attributes.

trustProductSid: string;
status: TrustProductEvaluationStatus;
status: TrustProductsEvaluationsStatus;
results: any[];

@@ -146,0 +146,0 @@ dateCreated: Date;

@@ -45,3 +45,3 @@ /// <reference types="node" />

templateCustomSubstitutions?: string;
/** The IP address of the client\\\'s device. If provided, it has to be a valid IPv4 or IPv6 address. */
/** Strongly encouraged if using the auto channel. The IP address of the client\\\'s device. If provided, it has to be a valid IPv4 or IPv6 address. */
deviceIp?: string;

@@ -48,0 +48,0 @@ }

@@ -129,3 +129,2 @@ /// <reference types="node" />

}
export type CompositionStatusCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface CompositionPayload extends TwilioResponsePayload {

@@ -153,3 +152,3 @@ compositions: CompositionResource[];

status_callback: string;
status_callback_method: CompositionStatusCallbackMethod;
status_callback_method: string;
url: string;

@@ -232,3 +231,3 @@ links: Record<string, string>;

*/
statusCallbackMethod: CompositionStatusCallbackMethod;
statusCallbackMethod: string;
/**

@@ -283,3 +282,3 @@ * The absolute URL of the resource.

statusCallback: string;
statusCallbackMethod: CompositionStatusCallbackMethod;
statusCallbackMethod: string;
url: string;

@@ -286,0 +285,0 @@ links: Record<string, string>;

@@ -165,3 +165,2 @@ /// <reference types="node" />

}
export type CompositionHookStatusCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface CompositionHookPayload extends TwilioResponsePayload {

@@ -184,3 +183,3 @@ composition_hooks: CompositionHookResource[];

status_callback: string;
status_callback_method: CompositionHookStatusCallbackMethod;
status_callback_method: string;
url: string;

@@ -245,3 +244,3 @@ }

*/
statusCallbackMethod: CompositionHookStatusCallbackMethod;
statusCallbackMethod: string;
/**

@@ -296,3 +295,3 @@ * The absolute URL of the resource.

statusCallback: string;
statusCallbackMethod: CompositionHookStatusCallbackMethod;
statusCallbackMethod: string;
url: string;

@@ -299,0 +298,0 @@ };

@@ -120,3 +120,2 @@ /// <reference types="node" />

}
export type RecordingStatusCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface RecordingPayload extends TwilioResponsePayload {

@@ -142,3 +141,3 @@ recordings: RecordingResource[];

status_callback: string;
status_callback_method: RecordingStatusCallbackMethod;
status_callback_method: string;
links: Record<string, string>;

@@ -206,3 +205,3 @@ }

*/
statusCallbackMethod: RecordingStatusCallbackMethod;
statusCallbackMethod: string;
/**

@@ -251,3 +250,3 @@ * The URLs of related resources.

statusCallback: string;
statusCallbackMethod: RecordingStatusCallbackMethod;
statusCallbackMethod: string;
links: Record<string, string>;

@@ -254,0 +253,0 @@ };

@@ -162,3 +162,2 @@ /// <reference types="node" />

}
export type RoomStatusCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface RoomPayload extends TwilioResponsePayload {

@@ -176,3 +175,3 @@ rooms: RoomResource[];

status_callback: string;
status_callback_method: RoomStatusCallbackMethod;
status_callback_method: string;
end_time: Date;

@@ -231,3 +230,3 @@ duration: number;

*/
statusCallbackMethod: RoomStatusCallbackMethod;
statusCallbackMethod: string;
/**

@@ -334,3 +333,3 @@ * The UTC end time of the room in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#UTC) format.

statusCallback: string;
statusCallbackMethod: RoomStatusCallbackMethod;
statusCallbackMethod: string;
endTime: Date;

@@ -337,0 +336,0 @@ duration: number;

@@ -10,3 +10,3 @@ /// <reference types="node" />

import { SubscribedTrackListInstance } from "./participant/subscribedTrack";
export type RoomParticipantStatus = "connected" | "disconnected";
export type ParticipantStatus = "connected" | "disconnected";
/**

@@ -17,3 +17,3 @@ * Options to pass to update a ParticipantInstance

/** */
status?: RoomParticipantStatus;
status?: ParticipantStatus;
}

@@ -25,3 +25,3 @@ /**

/** Read only the participants with this status. Can be: `connected` or `disconnected`. For `in-progress` Rooms the default Status is `connected`, for `completed` Rooms only `disconnected` Participants are returned. */
status?: RoomParticipantStatus;
status?: ParticipantStatus;
/** Read only the Participants with this [User](https://www.twilio.com/docs/chat/rest/user-resource) `identity` value. */

@@ -47,3 +47,3 @@ identity?: string;

/** Read only the participants with this status. Can be: `connected` or `disconnected`. For `in-progress` Rooms the default Status is `connected`, for `completed` Rooms only `disconnected` Participants are returned. */
status?: RoomParticipantStatus;
status?: ParticipantStatus;
/** Read only the Participants with this [User](https://www.twilio.com/docs/chat/rest/user-resource) `identity` value. */

@@ -65,3 +65,3 @@ identity?: string;

/** Read only the participants with this status. Can be: `connected` or `disconnected`. For `in-progress` Rooms the default Status is `connected`, for `completed` Rooms only `disconnected` Participants are returned. */
status?: RoomParticipantStatus;
status?: ParticipantStatus;
/** Read only the Participants with this [User](https://www.twilio.com/docs/chat/rest/user-resource) `identity` value. */

@@ -150,3 +150,3 @@ identity?: string;

account_sid: string;
status: RoomParticipantStatus;
status: ParticipantStatus;
identity: string;

@@ -178,3 +178,3 @@ date_created: Date;

accountSid: string;
status: RoomParticipantStatus;
status: ParticipantStatus;
/**

@@ -263,3 +263,3 @@ * The application-defined string that uniquely identifies the resource\'s User within a Room. If a client joins with an existing Identity, the existing client is disconnected. See [access tokens](https://www.twilio.com/docs/video/tutorials/user-identity-access-tokens) and [limits](https://www.twilio.com/docs/video/programmable-video-limits) for more info.

accountSid: string;
status: RoomParticipantStatus;
status: ParticipantStatus;
identity: string;

@@ -266,0 +266,0 @@ dateCreated: Date;

/// <reference types="node" />
import { inspect, InspectOptions } from "util";
import V1 from "../../../V1";
export type RoomParticipantAnonymizeStatus = "connected" | "disconnected";
export type AnonymizeStatus = "connected" | "disconnected";
export interface AnonymizeContext {

@@ -42,3 +42,3 @@ /**

account_sid: string;
status: RoomParticipantAnonymizeStatus;
status: AnonymizeStatus;
identity: string;

@@ -69,3 +69,3 @@ date_created: Date;

accountSid: string;
status: RoomParticipantAnonymizeStatus;
status: AnonymizeStatus;
/**

@@ -117,3 +117,3 @@ * The SID of the participant.

accountSid: string;
status: RoomParticipantAnonymizeStatus;
status: AnonymizeStatus;
identity: string;

@@ -120,0 +120,0 @@ dateCreated: Date;

@@ -6,3 +6,3 @@ /// <reference types="node" />

import V1 from "../../../V1";
export type RoomParticipantPublishedTrackKind = "audio" | "video" | "data";
export type PublishedTrackKind = "audio" | "video" | "data";
/**

@@ -86,3 +86,3 @@ * Options to pass to each

enabled: boolean;
kind: RoomParticipantPublishedTrackKind;
kind: PublishedTrackKind;
url: string;

@@ -123,3 +123,3 @@ }

enabled: boolean;
kind: RoomParticipantPublishedTrackKind;
kind: PublishedTrackKind;
/**

@@ -151,3 +151,3 @@ * The absolute URL of the resource.

enabled: boolean;
kind: RoomParticipantPublishedTrackKind;
kind: PublishedTrackKind;
url: string;

@@ -154,0 +154,0 @@ };

@@ -6,3 +6,3 @@ /// <reference types="node" />

import V1 from "../../../V1";
export type RoomParticipantSubscribedTrackKind = "audio" | "video" | "data";
export type SubscribedTrackKind = "audio" | "video" | "data";
/**

@@ -87,3 +87,3 @@ * Options to pass to each

enabled: boolean;
kind: RoomParticipantSubscribedTrackKind;
kind: SubscribedTrackKind;
url: string;

@@ -128,3 +128,3 @@ }

enabled: boolean;
kind: RoomParticipantSubscribedTrackKind;
kind: SubscribedTrackKind;
/**

@@ -157,3 +157,3 @@ * The absolute URL of the resource.

enabled: boolean;
kind: RoomParticipantSubscribedTrackKind;
kind: SubscribedTrackKind;
url: string;

@@ -160,0 +160,0 @@ };

@@ -148,5 +148,2 @@ /// <reference types="node" />

}
export type ByocTrunkVoiceMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type ByocTrunkVoiceFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type ByocTrunkStatusCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface ByocTrunkPayload extends TwilioResponsePayload {

@@ -160,7 +157,7 @@ byoc_trunks: ByocTrunkResource[];

voice_url: string;
voice_method: ByocTrunkVoiceMethod;
voice_method: string;
voice_fallback_url: string;
voice_fallback_method: ByocTrunkVoiceFallbackMethod;
voice_fallback_method: string;
status_callback_url: string;
status_callback_method: ByocTrunkStatusCallbackMethod;
status_callback_method: string;
cnam_lookup_enabled: boolean;

@@ -197,3 +194,3 @@ connection_policy_sid: string;

*/
voiceMethod: ByocTrunkVoiceMethod;
voiceMethod: string;
/**

@@ -206,3 +203,3 @@ * The URL that we call when an error occurs while retrieving or executing the TwiML requested from `voice_url`.

*/
voiceFallbackMethod: ByocTrunkVoiceFallbackMethod;
voiceFallbackMethod: string;
/**

@@ -215,3 +212,3 @@ * The URL that we call to pass status parameters (such as call ended) to your application.

*/
statusCallbackMethod: ByocTrunkStatusCallbackMethod;
statusCallbackMethod: string;
/**

@@ -285,7 +282,7 @@ * Whether Caller ID Name (CNAM) lookup is enabled for the trunk. If enabled, all inbound calls to the BYOC Trunk from the United States and Canada automatically perform a CNAM Lookup and display Caller ID data on your phone. See [CNAM Lookups](https://www.twilio.com/docs/sip-trunking#CNAM) for more information.

voiceUrl: string;
voiceMethod: ByocTrunkVoiceMethod;
voiceMethod: string;
voiceFallbackUrl: string;
voiceFallbackMethod: ByocTrunkVoiceFallbackMethod;
voiceFallbackMethod: string;
statusCallbackUrl: string;
statusCallbackMethod: ByocTrunkStatusCallbackMethod;
statusCallbackMethod: string;
cnamLookupEnabled: boolean;

@@ -292,0 +289,0 @@ connectionPolicySid: string;

@@ -179,7 +179,2 @@ /// <reference types="node" />

}
export type SimCommandsCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type SimSmsFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type SimSmsMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type SimVoiceFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
export type SimVoiceMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
interface SimPayload extends TwilioResponsePayload {

@@ -199,10 +194,10 @@ sims: SimResource[];

commands_callback_url: string;
commands_callback_method: SimCommandsCallbackMethod;
sms_fallback_method: SimSmsFallbackMethod;
commands_callback_method: string;
sms_fallback_method: string;
sms_fallback_url: string;
sms_method: SimSmsMethod;
sms_method: string;
sms_url: string;
voice_fallback_method: SimVoiceFallbackMethod;
voice_fallback_method: string;
voice_fallback_url: string;
voice_method: SimVoiceMethod;
voice_method: string;
voice_url: string;

@@ -257,7 +252,7 @@ date_created: Date;

*/
commandsCallbackMethod: SimCommandsCallbackMethod;
commandsCallbackMethod: string;
/**
* Deprecated.
*/
smsFallbackMethod: SimSmsFallbackMethod;
smsFallbackMethod: string;
/**

@@ -270,3 +265,3 @@ * Deprecated.

*/
smsMethod: SimSmsMethod;
smsMethod: string;
/**

@@ -279,3 +274,3 @@ * Deprecated.

*/
voiceFallbackMethod: SimVoiceFallbackMethod;
voiceFallbackMethod: string;
/**

@@ -288,3 +283,3 @@ * Deprecated. The URL we call using the `voice_fallback_method` when an error occurs while retrieving or executing the TwiML requested from `voice_url`.

*/
voiceMethod: SimVoiceMethod;
voiceMethod: string;
/**

@@ -372,10 +367,10 @@ * Deprecated. The URL we call using the `voice_method` when the SIM-connected device makes a voice call.

commandsCallbackUrl: string;
commandsCallbackMethod: SimCommandsCallbackMethod;
smsFallbackMethod: SimSmsFallbackMethod;
commandsCallbackMethod: string;
smsFallbackMethod: string;
smsFallbackUrl: string;
smsMethod: SimSmsMethod;
smsMethod: string;
smsUrl: string;
voiceFallbackMethod: SimVoiceFallbackMethod;
voiceFallbackMethod: string;
voiceFallbackUrl: string;
voiceMethod: SimVoiceMethod;
voiceMethod: string;
voiceUrl: string;

@@ -382,0 +377,0 @@ dateCreated: Date;

@@ -6,3 +6,3 @@ /// <reference types="node" />

import V1 from "../V1";
export type AccountUsageRecordGranularity = "hourly" | "daily" | "all";
export type UsageRecordGranularity = "hourly" | "daily" | "all";
/**

@@ -17,3 +17,3 @@ * Options to pass to each

/** How to summarize the usage by time. Can be: `daily`, `hourly`, or `all`. A value of `all` returns one Usage Record that describes the usage for the entire period. */
granularity?: AccountUsageRecordGranularity;
granularity?: UsageRecordGranularity;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -37,3 +37,3 @@ pageSize?: number;

/** How to summarize the usage by time. Can be: `daily`, `hourly`, or `all`. A value of `all` returns one Usage Record that describes the usage for the entire period. */
granularity?: AccountUsageRecordGranularity;
granularity?: UsageRecordGranularity;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -53,3 +53,3 @@ pageSize?: number;

/** How to summarize the usage by time. Can be: `daily`, `hourly`, or `all`. A value of `all` returns one Usage Record that describes the usage for the entire period. */
granularity?: AccountUsageRecordGranularity;
granularity?: UsageRecordGranularity;
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */

@@ -56,0 +56,0 @@ pageSize?: number;

{
"name": "twilio",
"description": "A Twilio helper library",
"version": "4.8.0",
"version": "4.9.0",
"author": "API Team <api@twilio.com>",

@@ -6,0 +6,0 @@ "contributors": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc