twilio 3.77.0 → 3.77.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -255,6 +255,7 @@ interface RecordingResource {
|
|
|
255
255
|
duration: string;
|
|
256
256
|
encryption_details: object;
|
|
257
257
|
error_code: number;
|
|
258
|
+
media_url: string;
|
|
258
259
|
price: string;
|
|
259
260
|
price_unit: string;
|
|
260
261
|
sid: string;
|
|
@@ -347,6 +348,7 @@ declare class RecordingInstance extends SerializableClass {
|
|
|
347
348
|
* @param callback - Callback to handle processed record
|
|
348
349
|
*/
|
|
349
350
|
fetch(opts?: RecordingInstanceFetchOptions, callback?: (error: Error | null, items: RecordingInstance) => any): Promise<RecordingInstance>;
|
|
351
|
+
mediaUrl: string;
|
|
350
352
|
price: string;
|
|
351
353
|
priceUnit: string;
|
|
352
354
|
/**
|
|
@@ -472,6 +472,7 @@ RecordingPage.prototype[util.inspect.custom] = function inspect(depth, options)
|
|
|
472
472
|
* @property {object} encryptionDetails - How to decrypt the recording.
|
|
473
473
|
* @property {string} subresourceUris -
|
|
474
474
|
* A list of related resources identified by their relative URIs
|
|
475
|
+
* @property {string} mediaUrl - The URL of the media file.
|
|
475
476
|
*
|
|
476
477
|
* @param {V2010} version - Version of the resource
|
|
477
478
|
* @param {RecordingPayload} payload - The instance payload
|
|
@@ -502,6 +503,7 @@ RecordingInstance = function RecordingInstance(version, payload, accountSid,
|
|
|
502
503
|
this.uri = payload.uri; // jshint ignore:line
|
|
503
504
|
this.encryptionDetails = payload.encryption_details; // jshint ignore:line
|
|
504
505
|
this.subresourceUris = payload.subresource_uris; // jshint ignore:line
|
|
506
|
+
this.mediaUrl = payload.media_url; // jshint ignore:line
|
|
505
507
|
|
|
506
508
|
// Context
|
|
507
509
|
this._context = undefined;
|
|
@@ -10,7 +10,7 @@ import Response = require('../../../../http/response');
|
|
|
10
10
|
import V2 = require('../../V2');
|
|
11
11
|
import { SerializableClass } from '../../../../interfaces';
|
|
12
12
|
|
|
13
|
-
type VerificationChannel = 'sms'|'call'|'email'|'whatsapp';
|
|
13
|
+
type VerificationChannel = 'sms'|'call'|'email'|'whatsapp'|'silent';
|
|
14
14
|
|
|
15
15
|
type VerificationStatus = 'canceled'|'approved';
|
|
16
16
|
|
|
@@ -10,7 +10,7 @@ import Response = require('../../../../http/response');
|
|
|
10
10
|
import V2 = require('../../V2');
|
|
11
11
|
import { SerializableClass } from '../../../../interfaces';
|
|
12
12
|
|
|
13
|
-
type VerificationCheckChannel = 'sms'|'call'|'email'|'whatsapp';
|
|
13
|
+
type VerificationCheckChannel = 'sms'|'call'|'email'|'whatsapp'|'silent';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Initialize the VerificationCheckList
|