twilio 3.74.0 → 3.76.0

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.
Files changed (90) hide show
  1. package/lib/rest/Chat.d.ts +4 -0
  2. package/lib/rest/Chat.js +19 -0
  3. package/lib/rest/FlexApi.d.ts +2 -0
  4. package/lib/rest/FlexApi.js +8 -0
  5. package/lib/rest/Insights.d.ts +2 -0
  6. package/lib/rest/Insights.js +8 -0
  7. package/lib/rest/Media.d.ts +2 -0
  8. package/lib/rest/Media.js +9 -0
  9. package/lib/rest/Supersim.d.ts +0 -2
  10. package/lib/rest/Supersim.js +0 -8
  11. package/lib/rest/api/v2010/account/call/payment.d.ts +1 -1
  12. package/lib/rest/api/v2010/account/call/payment.js +1 -1
  13. package/lib/rest/api/v2010/account/call/siprec.d.ts +2 -0
  14. package/lib/rest/api/v2010/account/call/siprec.js +3 -0
  15. package/lib/rest/api/v2010/account/call/stream.d.ts +4 -8
  16. package/lib/rest/api/v2010/account/call/stream.js +11 -7
  17. package/lib/rest/api/v2010/account/recording.d.ts +31 -2
  18. package/lib/rest/api/v2010/account/recording.js +25 -4
  19. package/lib/rest/api/v2010/account/usage/record/allTime.d.ts +1 -1
  20. package/lib/rest/api/v2010/account/usage/record/daily.d.ts +1 -1
  21. package/lib/rest/api/v2010/account/usage/record/lastMonth.d.ts +1 -1
  22. package/lib/rest/api/v2010/account/usage/record/monthly.d.ts +1 -1
  23. package/lib/rest/api/v2010/account/usage/record/thisMonth.d.ts +1 -1
  24. package/lib/rest/api/v2010/account/usage/record/today.d.ts +1 -1
  25. package/lib/rest/api/v2010/account/usage/record/yearly.d.ts +1 -1
  26. package/lib/rest/api/v2010/account/usage/record/yesterday.d.ts +1 -1
  27. package/lib/rest/api/v2010/account/usage/record.d.ts +1 -1
  28. package/lib/rest/api/v2010/account/usage/trigger.d.ts +1 -1
  29. package/lib/rest/chat/V3.d.ts +25 -0
  30. package/lib/rest/chat/V3.js +46 -0
  31. package/lib/rest/chat/v2/service/user/userChannel.d.ts +26 -1
  32. package/lib/rest/chat/v2/service/user/userChannel.js +18 -4
  33. package/lib/rest/chat/v3/channel.d.ts +177 -0
  34. package/lib/rest/chat/v3/channel.js +373 -0
  35. package/lib/rest/conversations/v1/addressConfiguration.d.ts +3 -3
  36. package/lib/rest/conversations/v1/addressConfiguration.js +4 -4
  37. package/lib/rest/flexApi/V1.d.ts +3 -0
  38. package/lib/rest/flexApi/V1.js +11 -0
  39. package/lib/rest/flexApi/v1/configuration.d.ts +2 -0
  40. package/lib/rest/flexApi/v1/configuration.js +3 -0
  41. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.d.ts +266 -0
  42. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.js +505 -0
  43. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +323 -0
  44. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.js +674 -0
  45. package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +327 -0
  46. package/lib/rest/flexApi/v1/interaction/interactionChannel.js +718 -0
  47. package/lib/rest/flexApi/v1/interaction.d.ts +152 -0
  48. package/lib/rest/flexApi/v1/interaction.js +395 -0
  49. package/lib/rest/insights/V1.d.ts +3 -0
  50. package/lib/rest/insights/V1.js +11 -0
  51. package/lib/rest/insights/v1/annotation.d.ts +188 -0
  52. package/lib/rest/insights/v1/annotation.js +406 -0
  53. package/lib/rest/media/V1.d.ts +3 -0
  54. package/lib/rest/media/V1.js +12 -0
  55. package/lib/rest/media/v1/mediaProcessor.js +1 -1
  56. package/lib/rest/media/v1/mediaRecording.d.ts +358 -0
  57. package/lib/rest/{supersim/v1/command.js → media/v1/mediaRecording.js} +190 -176
  58. package/lib/rest/media/v1/playerStreamer.d.ts +4 -0
  59. package/lib/rest/media/v1/playerStreamer.js +5 -1
  60. package/lib/rest/numbers/v2/regulatoryCompliance/bundle.d.ts +5 -5
  61. package/lib/rest/numbers/v2/regulatoryCompliance/bundle.js +3 -3
  62. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +2 -0
  63. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.js +3 -0
  64. package/lib/rest/supersim/V1.d.ts +0 -3
  65. package/lib/rest/supersim/V1.js +0 -11
  66. package/lib/rest/supersim/v1/fleet.d.ts +0 -16
  67. package/lib/rest/supersim/v1/fleet.js +0 -18
  68. package/lib/rest/supersim/v1/usageRecord.d.ts +3 -3
  69. package/lib/rest/supersim/v1/usageRecord.js +3 -3
  70. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueCumulativeStatistics.d.ts +1 -1
  71. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueCumulativeStatistics.js +2 -2
  72. package/lib/rest/taskrouter/v1/workspace/workflow/workflowCumulativeStatistics.d.ts +1 -1
  73. package/lib/rest/taskrouter/v1/workspace/workflow/workflowCumulativeStatistics.js +2 -2
  74. package/lib/rest/taskrouter/v1/workspace/workspaceCumulativeStatistics.d.ts +1 -1
  75. package/lib/rest/taskrouter/v1/workspace/workspaceCumulativeStatistics.js +2 -2
  76. package/lib/rest/verify/v2/service/accessToken.d.ts +6 -0
  77. package/lib/rest/verify/v2/service/accessToken.js +9 -1
  78. package/lib/rest/verify/v2/service/entity/challenge.d.ts +4 -0
  79. package/lib/rest/verify/v2/service/entity/challenge.js +8 -1
  80. package/lib/rest/verify/v2/service/entity/factor.d.ts +2 -0
  81. package/lib/rest/verify/v2/service/entity/factor.js +2 -0
  82. package/lib/rest/verify/v2/service/entity/newFactor.d.ts +4 -0
  83. package/lib/rest/verify/v2/service/entity/newFactor.js +9 -3
  84. package/lib/rest/video/v1/composition.d.ts +4 -0
  85. package/lib/rest/video/v1/composition.js +6 -0
  86. package/lib/rest/video/v1/recording.d.ts +4 -0
  87. package/lib/rest/video/v1/recording.js +6 -0
  88. package/lib/twiml/VoiceResponse.d.ts +2 -2
  89. package/package.json +3 -3
  90. package/lib/rest/supersim/v1/command.d.ts +0 -342
@@ -9,6 +9,8 @@ import Domain = require('../base/Domain');
9
9
  import Twilio = require('./Twilio');
10
10
  import V1 = require('./chat/V1');
11
11
  import V2 = require('./chat/V2');
12
+ import V3 = require('./chat/V3');
13
+ import { ChannelListInstance } from './chat/v3/channel';
12
14
  import { CredentialListInstance } from './chat/v2/credential';
13
15
  import { ServiceListInstance } from './chat/v2/service';
14
16
 
@@ -21,10 +23,12 @@ declare class Chat extends Domain {
21
23
  */
22
24
  constructor(twilio: Twilio);
23
25
 
26
+ readonly channels: ChannelListInstance;
24
27
  readonly credentials: CredentialListInstance;
25
28
  readonly services: ServiceListInstance;
26
29
  readonly v1: V1;
27
30
  readonly v2: V2;
31
+ readonly v3: V3;
28
32
  }
29
33
 
30
34
  export = Chat;
package/lib/rest/Chat.js CHANGED
@@ -13,6 +13,7 @@ var _ = require('lodash'); /* jshint ignore:line */
13
13
  var Domain = require('../base/Domain'); /* jshint ignore:line */
14
14
  var V1 = require('./chat/V1'); /* jshint ignore:line */
15
15
  var V2 = require('./chat/V2'); /* jshint ignore:line */
16
+ var V3 = require('./chat/V3'); /* jshint ignore:line */
16
17
 
17
18
 
18
19
  /* jshint ignore:start */
@@ -23,8 +24,10 @@ var V2 = require('./chat/V2'); /* jshint ignore:line */
23
24
  *
24
25
  * @property {Twilio.Chat.V1} v1 - v1 version
25
26
  * @property {Twilio.Chat.V2} v2 - v2 version
27
+ * @property {Twilio.Chat.V3} v3 - v3 version
26
28
  * @property {Twilio.Chat.V2.CredentialList} credentials - credentials resource
27
29
  * @property {Twilio.Chat.V2.ServiceList} services - services resource
30
+ * @property {Twilio.Chat.V3.ChannelList} channels - channels resource
28
31
  *
29
32
  * @param {Twilio} twilio - The twilio client
30
33
  */
@@ -35,6 +38,7 @@ function Chat(twilio) {
35
38
  // Versions
36
39
  this._v1 = undefined;
37
40
  this._v2 = undefined;
41
+ this._v3 = undefined;
38
42
  }
39
43
 
40
44
  _.extend(Chat.prototype, Domain.prototype);
@@ -56,6 +60,14 @@ Object.defineProperty(Chat.prototype,
56
60
  }
57
61
  });
58
62
 
63
+ Object.defineProperty(Chat.prototype,
64
+ 'v3', {
65
+ get: function() {
66
+ this._v3 = this._v3 || new V3(this);
67
+ return this._v3;
68
+ }
69
+ });
70
+
59
71
  Object.defineProperty(Chat.prototype,
60
72
  'credentials', {
61
73
  get: function() {
@@ -70,4 +82,11 @@ Object.defineProperty(Chat.prototype,
70
82
  }
71
83
  });
72
84
 
85
+ Object.defineProperty(Chat.prototype,
86
+ 'channels', {
87
+ get: function() {
88
+ return this.v3.channels;
89
+ }
90
+ });
91
+
73
92
  module.exports = Chat;
@@ -11,6 +11,7 @@ import V1 = require('./flexApi/V1');
11
11
  import { ChannelListInstance } from './flexApi/v1/channel';
12
12
  import { ConfigurationListInstance } from './flexApi/v1/configuration';
13
13
  import { FlexFlowListInstance } from './flexApi/v1/flexFlow';
14
+ import { InteractionListInstance } from './flexApi/v1/interaction';
14
15
  import { WebChannelListInstance } from './flexApi/v1/webChannel';
15
16
 
16
17
 
@@ -25,6 +26,7 @@ declare class FlexApi extends Domain {
25
26
  readonly channel: ChannelListInstance;
26
27
  readonly configuration: ConfigurationListInstance;
27
28
  readonly flexFlow: FlexFlowListInstance;
29
+ readonly interaction: InteractionListInstance;
28
30
  readonly v1: V1;
29
31
  readonly webChannel: WebChannelListInstance;
30
32
  }
@@ -25,6 +25,7 @@ var V1 = require('./flexApi/V1'); /* jshint ignore:line */
25
25
  * @property {Twilio.FlexApi.V1.ConfigurationList} configuration -
26
26
  * configuration resource
27
27
  * @property {Twilio.FlexApi.V1.FlexFlowList} flexFlow - flexFlow resource
28
+ * @property {Twilio.FlexApi.V1.InteractionList} interaction - interaction resource
28
29
  * @property {Twilio.FlexApi.V1.WebChannelList} webChannel - webChannel resource
29
30
  *
30
31
  * @param {Twilio} twilio - The twilio client
@@ -69,6 +70,13 @@ Object.defineProperty(FlexApi.prototype,
69
70
  }
70
71
  });
71
72
 
73
+ Object.defineProperty(FlexApi.prototype,
74
+ 'interaction', {
75
+ get: function() {
76
+ return this.v1.interaction;
77
+ }
78
+ });
79
+
72
80
  Object.defineProperty(FlexApi.prototype,
73
81
  'webChannel', {
74
82
  get: function() {
@@ -8,6 +8,7 @@
8
8
  import Domain = require('../base/Domain');
9
9
  import Twilio = require('./Twilio');
10
10
  import V1 = require('./insights/V1');
11
+ import { AnnotationListInstance } from './insights/v1/annotation';
11
12
  import { CallListInstance } from './insights/v1/call';
12
13
  import { CallSummariesListInstance } from './insights/v1/callSummaries';
13
14
  import { ConferenceListInstance } from './insights/v1/conference';
@@ -23,6 +24,7 @@ declare class Insights extends Domain {
23
24
  */
24
25
  constructor(twilio: Twilio);
25
26
 
27
+ readonly annotation: AnnotationListInstance;
26
28
  readonly callSummaries: CallSummariesListInstance;
27
29
  readonly calls: CallListInstance;
28
30
  readonly conferences: ConferenceListInstance;
@@ -22,6 +22,7 @@ var V1 = require('./insights/V1'); /* jshint ignore:line */
22
22
  *
23
23
  * @property {Twilio.Insights.V1} v1 - v1 version
24
24
  * @property {Twilio.Insights.V1.SettingList} settings - settings resource
25
+ * @property {Twilio.Insights.V1.AnnotationList} annotation - annotation resource
25
26
  * @property {Twilio.Insights.V1.CallList} calls - calls resource
26
27
  * @property {Twilio.Insights.V1.CallSummariesList} callSummaries -
27
28
  * callSummaries resource
@@ -56,6 +57,13 @@ Object.defineProperty(Insights.prototype,
56
57
  }
57
58
  });
58
59
 
60
+ Object.defineProperty(Insights.prototype,
61
+ 'annotation', {
62
+ get: function() {
63
+ return this.v1.annotation;
64
+ }
65
+ });
66
+
59
67
  Object.defineProperty(Insights.prototype,
60
68
  'calls', {
61
69
  get: function() {
@@ -9,6 +9,7 @@ import Domain = require('../base/Domain');
9
9
  import Twilio = require('./Twilio');
10
10
  import V1 = require('./media/V1');
11
11
  import { MediaProcessorListInstance } from './media/v1/mediaProcessor';
12
+ import { MediaRecordingListInstance } from './media/v1/mediaRecording';
12
13
  import { PlayerStreamerListInstance } from './media/v1/playerStreamer';
13
14
 
14
15
 
@@ -21,6 +22,7 @@ declare class Media extends Domain {
21
22
  constructor(twilio: Twilio);
22
23
 
23
24
  readonly mediaProcessor: MediaProcessorListInstance;
25
+ readonly mediaRecording: MediaRecordingListInstance;
24
26
  readonly playerStreamer: PlayerStreamerListInstance;
25
27
  readonly v1: V1;
26
28
  }
package/lib/rest/Media.js CHANGED
@@ -23,6 +23,8 @@ var V1 = require('./media/V1'); /* jshint ignore:line */
23
23
  * @property {Twilio.Media.V1} v1 - v1 version
24
24
  * @property {Twilio.Media.V1.MediaProcessorList} mediaProcessor -
25
25
  * mediaProcessor resource
26
+ * @property {Twilio.Media.V1.MediaRecordingList} mediaRecording -
27
+ * mediaRecording resource
26
28
  * @property {Twilio.Media.V1.PlayerStreamerList} playerStreamer -
27
29
  * playerStreamer resource
28
30
  *
@@ -54,6 +56,13 @@ Object.defineProperty(Media.prototype,
54
56
  }
55
57
  });
56
58
 
59
+ Object.defineProperty(Media.prototype,
60
+ 'mediaRecording', {
61
+ get: function() {
62
+ return this.v1.mediaRecording;
63
+ }
64
+ });
65
+
57
66
  Object.defineProperty(Media.prototype,
58
67
  'playerStreamer', {
59
68
  get: function() {
@@ -8,7 +8,6 @@
8
8
  import Domain = require('../base/Domain');
9
9
  import Twilio = require('./Twilio');
10
10
  import V1 = require('./supersim/V1');
11
- import { CommandListInstance } from './supersim/v1/command';
12
11
  import { EsimProfileListInstance } from './supersim/v1/esimProfile';
13
12
  import { FleetListInstance } from './supersim/v1/fleet';
14
13
  import { IpCommandListInstance } from './supersim/v1/ipCommand';
@@ -27,7 +26,6 @@ declare class Supersim extends Domain {
27
26
  */
28
27
  constructor(twilio: Twilio);
29
28
 
30
- readonly commands: CommandListInstance;
31
29
  readonly esimProfiles: EsimProfileListInstance;
32
30
  readonly fleets: FleetListInstance;
33
31
  readonly ipCommands: IpCommandListInstance;
@@ -21,7 +21,6 @@ var V1 = require('./supersim/V1'); /* jshint ignore:line */
21
21
  * @constructor Twilio.Supersim
22
22
  *
23
23
  * @property {Twilio.Supersim.V1} v1 - v1 version
24
- * @property {Twilio.Supersim.V1.CommandList} commands - commands resource
25
24
  * @property {Twilio.Supersim.V1.EsimProfileList} esimProfiles -
26
25
  * esimProfiles resource
27
26
  * @property {Twilio.Supersim.V1.FleetList} fleets - fleets resource
@@ -55,13 +54,6 @@ Object.defineProperty(Supersim.prototype,
55
54
  }
56
55
  });
57
56
 
58
- Object.defineProperty(Supersim.prototype,
59
- 'commands', {
60
- get: function() {
61
- return this.v1.commands;
62
- }
63
- });
64
-
65
57
  Object.defineProperty(Supersim.prototype,
66
58
  'esimProfiles', {
67
59
  get: function() {
@@ -82,7 +82,7 @@ interface PaymentListInstance {
82
82
  * @property idempotencyKey - A unique token that will be used to ensure that multiple API calls with the same information do not result in multiple transactions.
83
83
  * @property input - A list of inputs that should be accepted. Currently only `dtmf` is supported.
84
84
  * @property minPostalCodeLength - A positive integer that is used to validate the length of the `PostalCode` inputted by the user.
85
- * @property parameter - A single level JSON string that is required when accepting certain information specific only to ACH payments.
85
+ * @property parameter - A single-level JSON object used to pass custom parameters to payment processors. (Required for ACH payments)
86
86
  * @property paymentConnector - This is the unique name corresponding to the Payment Gateway Connector installed in the Twilio Add-ons.
87
87
  * @property paymentMethod - Type of payment being captured.
88
88
  * @property postalCode - Indicates whether the credit card PostalCode (zip code) is a required piece of payment information that must be provided by the caller.
@@ -83,7 +83,7 @@ PaymentList = function PaymentList(version, accountSid, callSid) {
83
83
  * @param {number} [opts.minPostalCodeLength] -
84
84
  * A positive integer that is used to validate the length of the `PostalCode` inputted by the user.
85
85
  * @param {object} [opts.parameter] -
86
- * A single level JSON string that is required when accepting certain information specific only to ACH payments.
86
+ * A single-level JSON object used to pass custom parameters to payment processors. (Required for ACH payments)
87
87
  * @param {string} [opts.paymentConnector] -
88
88
  * This is the unique name corresponding to the Payment Gateway Connector installed in the Twilio Add-ons.
89
89
  * @param {payment.payment_method} [opts.paymentMethod] -
@@ -685,6 +685,7 @@ interface SiprecResource {
685
685
  name: string;
686
686
  sid: string;
687
687
  status: SiprecStatus;
688
+ uri: string;
688
689
  }
689
690
 
690
691
  interface SiprecSolution {
@@ -748,6 +749,7 @@ declare class SiprecInstance extends SerializableClass {
748
749
  * @param callback - Callback to handle processed record
749
750
  */
750
751
  update(opts: SiprecInstanceUpdateOptions, callback?: (error: Error | null, items: SiprecInstance) => any): Promise<SiprecInstance>;
752
+ uri: string;
751
753
  }
752
754
 
753
755
 
@@ -629,6 +629,8 @@ SiprecPage.prototype[util.inspect.custom] = function inspect(depth, options) {
629
629
  * @property {siprec.status} status - The status - one of `stopped`, `in-progress`
630
630
  * @property {Date} dateUpdated -
631
631
  * The RFC 2822 date and time in GMT that this resource was last updated
632
+ * @property {string} uri -
633
+ * The URI of the resource, relative to `https://api.twilio.com`
632
634
  *
633
635
  * @param {V2010} version - Version of the resource
634
636
  * @param {SiprecPayload} payload - The instance payload
@@ -648,6 +650,7 @@ SiprecInstance = function SiprecInstance(version, payload, accountSid, callSid,
648
650
  this.name = payload.name; // jshint ignore:line
649
651
  this.status = payload.status; // jshint ignore:line
650
652
  this.dateUpdated = deserialize.rfc2822DateTime(payload.date_updated); // jshint ignore:line
653
+ this.uri = payload.uri; // jshint ignore:line
651
654
 
652
655
  // Context
653
656
  this._context = undefined;
@@ -39,19 +39,13 @@ interface StreamListInstance {
39
39
  * @param sid - sid of instance
40
40
  */
41
41
  (sid: string): StreamContext;
42
- /**
43
- * create a StreamInstance
44
- *
45
- * @param callback - Callback to handle processed record
46
- */
47
- create(callback?: (error: Error | null, item: StreamInstance) => any): Promise<StreamInstance>;
48
42
  /**
49
43
  * create a StreamInstance
50
44
  *
51
45
  * @param opts - Options for request
52
46
  * @param callback - Callback to handle processed record
53
47
  */
54
- create(opts?: StreamListInstanceCreateOptions, callback?: (error: Error | null, item: StreamInstance) => any): Promise<StreamInstance>;
48
+ create(opts: StreamListInstanceCreateOptions, callback?: (error: Error | null, item: StreamInstance) => any): Promise<StreamInstance>;
55
49
  /**
56
50
  * Constructs a stream
57
51
  *
@@ -672,7 +666,7 @@ interface StreamListInstanceCreateOptions {
672
666
  statusCallback?: string;
673
667
  statusCallbackMethod?: string;
674
668
  track?: StreamTrack;
675
- url?: string;
669
+ url: string;
676
670
  }
677
671
 
678
672
  interface StreamPayload extends StreamResource, Page.TwilioResponsePayload {
@@ -685,6 +679,7 @@ interface StreamResource {
685
679
  name: string;
686
680
  sid: string;
687
681
  status: StreamStatus;
682
+ uri: string;
688
683
  }
689
684
 
690
685
  interface StreamSolution {
@@ -748,6 +743,7 @@ declare class StreamInstance extends SerializableClass {
748
743
  * @param callback - Callback to handle processed record
749
744
  */
750
745
  update(opts: StreamInstanceUpdateOptions, callback?: (error: Error | null, items: StreamInstance) => any): Promise<StreamInstance>;
746
+ uri: string;
751
747
  }
752
748
 
753
749
 
@@ -59,9 +59,9 @@ StreamList = function StreamList(version, accountSid, callSid) {
59
59
  * @function create
60
60
  * @memberof Twilio.Api.V2010.AccountContext.CallContext.StreamList#
61
61
  *
62
- * @param {object} [opts] - Options for request
62
+ * @param {object} opts - Options for request
63
+ * @param {string} opts.url - Url where WebSocket connection will be established.
63
64
  * @param {string} [opts.name] - The name of this resource
64
- * @param {string} [opts.url] - Url where WebSocket connection will be established.
65
65
  * @param {stream.track} [opts.track] -
66
66
  * One of `inbound_track`, `outbound_track`, `both_tracks`.
67
67
  * @param {string} [opts.statusCallback] - Absolute URL of the status callback.
@@ -271,16 +271,17 @@ StreamList = function StreamList(version, accountSid, callSid) {
271
271
  */
272
272
  /* jshint ignore:end */
273
273
  StreamListInstance.create = function create(opts, callback) {
274
- if (_.isFunction(opts)) {
275
- callback = opts;
276
- opts = {};
274
+ if (_.isUndefined(opts)) {
275
+ throw new Error('Required parameter "opts" missing.');
276
+ }
277
+ if (_.isUndefined(opts['url'])) {
278
+ throw new Error('Required parameter "opts[\'url\']" missing.');
277
279
  }
278
- opts = opts || {};
279
280
 
280
281
  var deferred = Q.defer();
281
282
  var data = values.of({
282
- 'Name': _.get(opts, 'name'),
283
283
  'Url': _.get(opts, 'url'),
284
+ 'Name': _.get(opts, 'name'),
284
285
  'Track': _.get(opts, 'track'),
285
286
  'StatusCallback': _.get(opts, 'statusCallback'),
286
287
  'StatusCallbackMethod': _.get(opts, 'statusCallbackMethod'),
@@ -628,6 +629,8 @@ StreamPage.prototype[util.inspect.custom] = function inspect(depth, options) {
628
629
  * @property {stream.status} status - The status - one of `stopped`, `in-progress`
629
630
  * @property {Date} dateUpdated -
630
631
  * The RFC 2822 date and time in GMT that this resource was last updated
632
+ * @property {string} uri -
633
+ * The URI of the resource, relative to `https://api.twilio.com`
631
634
  *
632
635
  * @param {V2010} version - Version of the resource
633
636
  * @param {StreamPayload} payload - The instance payload
@@ -647,6 +650,7 @@ StreamInstance = function StreamInstance(version, payload, accountSid, callSid,
647
650
  this.name = payload.name; // jshint ignore:line
648
651
  this.status = payload.status; // jshint ignore:line
649
652
  this.dateUpdated = deserialize.rfc2822DateTime(payload.date_updated); // jshint ignore:line
653
+ this.uri = payload.uri; // jshint ignore:line
650
654
 
651
655
  // Context
652
656
  this._context = undefined;
@@ -16,7 +16,7 @@ import { TranscriptionListInstance } from './recording/transcription';
16
16
 
17
17
  type RecordingSource = 'DialVerb'|'Conference'|'OutboundAPI'|'Trunking'|'RecordVerb'|'StartCallRecordingAPI'|'StartConferenceRecordingAPI';
18
18
 
19
- type RecordingStatus = 'in-progress'|'paused'|'stopped'|'processing'|'completed'|'absent';
19
+ type RecordingStatus = 'in-progress'|'paused'|'stopped'|'processing'|'completed'|'absent'|'deleted';
20
20
 
21
21
  /**
22
22
  * Initialize the RecordingList
@@ -26,6 +26,15 @@ type RecordingStatus = 'in-progress'|'paused'|'stopped'|'processing'|'completed'
26
26
  */
27
27
  declare function RecordingList(version: V2010, accountSid: string): RecordingListInstance;
28
28
 
29
+ /**
30
+ * Options to pass to fetch
31
+ *
32
+ * @property includeSoftDeleted - A boolean parameter indicating whether to retrieve soft deleted recordings or not.
33
+ */
34
+ interface RecordingInstanceFetchOptions {
35
+ includeSoftDeleted?: boolean;
36
+ }
37
+
29
38
  interface RecordingListInstance {
30
39
  /**
31
40
  * @param sid - sid of instance
@@ -151,6 +160,7 @@ interface RecordingListInstance {
151
160
  * @property dateCreatedAfter - Only include recordings that were created on this date
152
161
  * @property dateCreatedBefore - Only include recordings that were created on this date
153
162
  * @property done - Function to be called upon completion of streaming
163
+ * @property includeSoftDeleted - A boolean parameter indicating whether to retrieve soft deleted recordings or not.
154
164
  * @property limit -
155
165
  * Upper limit for the number of records to return.
156
166
  * each() guarantees never to return more than limit.
@@ -170,6 +180,7 @@ interface RecordingListInstanceEachOptions {
170
180
  dateCreatedAfter?: Date;
171
181
  dateCreatedBefore?: Date;
172
182
  done?: Function;
183
+ includeSoftDeleted?: boolean;
173
184
  limit?: number;
174
185
  pageSize?: number;
175
186
  }
@@ -182,6 +193,7 @@ interface RecordingListInstanceEachOptions {
182
193
  * @property dateCreated - Only include recordings that were created on this date
183
194
  * @property dateCreatedAfter - Only include recordings that were created on this date
184
195
  * @property dateCreatedBefore - Only include recordings that were created on this date
196
+ * @property includeSoftDeleted - A boolean parameter indicating whether to retrieve soft deleted recordings or not.
185
197
  * @property limit -
186
198
  * Upper limit for the number of records to return.
187
199
  * list() guarantees never to return more than limit.
@@ -199,6 +211,7 @@ interface RecordingListInstanceOptions {
199
211
  dateCreated?: Date;
200
212
  dateCreatedAfter?: Date;
201
213
  dateCreatedBefore?: Date;
214
+ includeSoftDeleted?: boolean;
202
215
  limit?: number;
203
216
  pageSize?: number;
204
217
  }
@@ -211,6 +224,7 @@ interface RecordingListInstanceOptions {
211
224
  * @property dateCreated - Only include recordings that were created on this date
212
225
  * @property dateCreatedAfter - Only include recordings that were created on this date
213
226
  * @property dateCreatedBefore - Only include recordings that were created on this date
227
+ * @property includeSoftDeleted - A boolean parameter indicating whether to retrieve soft deleted recordings or not.
214
228
  * @property pageNumber - Page Number, this value is simply for client state
215
229
  * @property pageSize - Number of records to return, defaults to 50
216
230
  * @property pageToken - PageToken provided by the API
@@ -221,6 +235,7 @@ interface RecordingListInstancePageOptions {
221
235
  dateCreated?: Date;
222
236
  dateCreatedAfter?: Date;
223
237
  dateCreatedBefore?: Date;
238
+ includeSoftDeleted?: boolean;
224
239
  pageNumber?: number;
225
240
  pageSize?: number;
226
241
  pageToken?: string;
@@ -272,6 +287,13 @@ declare class RecordingContext {
272
287
  * @param callback - Callback to handle processed record
273
288
  */
274
289
  fetch(callback?: (error: Error | null, items: RecordingInstance) => any): Promise<RecordingInstance>;
290
+ /**
291
+ * fetch a RecordingInstance
292
+ *
293
+ * @param opts - Options for request
294
+ * @param callback - Callback to handle processed record
295
+ */
296
+ fetch(opts?: RecordingInstanceFetchOptions, callback?: (error: Error | null, items: RecordingInstance) => any): Promise<RecordingInstance>;
275
297
  /**
276
298
  * remove a RecordingInstance
277
299
  *
@@ -318,6 +340,13 @@ declare class RecordingInstance extends SerializableClass {
318
340
  * @param callback - Callback to handle processed record
319
341
  */
320
342
  fetch(callback?: (error: Error | null, items: RecordingInstance) => any): Promise<RecordingInstance>;
343
+ /**
344
+ * fetch a RecordingInstance
345
+ *
346
+ * @param opts - Options for request
347
+ * @param callback - Callback to handle processed record
348
+ */
349
+ fetch(opts?: RecordingInstanceFetchOptions, callback?: (error: Error | null, items: RecordingInstance) => any): Promise<RecordingInstance>;
321
350
  price: string;
322
351
  priceUnit: string;
323
352
  /**
@@ -365,4 +394,4 @@ declare class RecordingPage extends Page<V2010, RecordingPayload, RecordingResou
365
394
  toJSON(): any;
366
395
  }
367
396
 
368
- export { RecordingContext, RecordingInstance, RecordingList, RecordingListInstance, RecordingListInstanceEachOptions, RecordingListInstanceOptions, RecordingListInstancePageOptions, RecordingPage, RecordingPayload, RecordingResource, RecordingSolution, RecordingSource, RecordingStatus }
397
+ export { RecordingContext, RecordingInstance, RecordingInstanceFetchOptions, RecordingList, RecordingListInstance, RecordingListInstanceEachOptions, RecordingListInstanceOptions, RecordingListInstancePageOptions, RecordingPage, RecordingPayload, RecordingResource, RecordingSolution, RecordingSource, RecordingStatus }
@@ -80,6 +80,8 @@ RecordingList = function RecordingList(version, accountSid) {
80
80
  * @param {string} [opts.callSid] - The Call SID of the resources to read
81
81
  * @param {string} [opts.conferenceSid] -
82
82
  * Read by unique Conference SID for the recording
83
+ * @param {boolean} [opts.includeSoftDeleted] -
84
+ * A boolean parameter indicating whether to retrieve soft deleted recordings or not.
83
85
  * @param {number} [opts.limit] -
84
86
  * Upper limit for the number of records to return.
85
87
  * each() guarantees never to return more than limit.
@@ -178,6 +180,8 @@ RecordingList = function RecordingList(version, accountSid) {
178
180
  * @param {string} [opts.callSid] - The Call SID of the resources to read
179
181
  * @param {string} [opts.conferenceSid] -
180
182
  * Read by unique Conference SID for the recording
183
+ * @param {boolean} [opts.includeSoftDeleted] -
184
+ * A boolean parameter indicating whether to retrieve soft deleted recordings or not.
181
185
  * @param {number} [opts.limit] -
182
186
  * Upper limit for the number of records to return.
183
187
  * list() guarantees never to return more than limit.
@@ -247,6 +251,8 @@ RecordingList = function RecordingList(version, accountSid) {
247
251
  * @param {string} [opts.callSid] - The Call SID of the resources to read
248
252
  * @param {string} [opts.conferenceSid] -
249
253
  * Read by unique Conference SID for the recording
254
+ * @param {boolean} [opts.includeSoftDeleted] -
255
+ * A boolean parameter indicating whether to retrieve soft deleted recordings or not.
250
256
  * @param {string} [opts.pageToken] - PageToken provided by the API
251
257
  * @param {number} [opts.pageNumber] -
252
258
  * Page Number, this value is simply for client state
@@ -270,6 +276,7 @@ RecordingList = function RecordingList(version, accountSid) {
270
276
  'DateCreated>': serialize.iso8601DateTime(_.get(opts, 'dateCreatedAfter')),
271
277
  'CallSid': _.get(opts, 'callSid'),
272
278
  'ConferenceSid': _.get(opts, 'conferenceSid'),
279
+ 'IncludeSoftDeleted': serialize.bool(_.get(opts, 'includeSoftDeleted')),
273
280
  'PageToken': opts.pageToken,
274
281
  'Page': opts.pageNumber,
275
282
  'PageSize': opts.pageSize
@@ -519,13 +526,16 @@ Object.defineProperty(RecordingInstance.prototype,
519
526
  * @function fetch
520
527
  * @memberof Twilio.Api.V2010.AccountContext.RecordingInstance#
521
528
  *
529
+ * @param {object} [opts] - Options for request
530
+ * @param {boolean} [opts.includeSoftDeleted] -
531
+ * A boolean parameter indicating whether to retrieve soft deleted recordings or not.
522
532
  * @param {function} [callback] - Callback to handle processed record
523
533
  *
524
534
  * @returns {Promise} Resolves to processed RecordingInstance
525
535
  */
526
536
  /* jshint ignore:end */
527
- RecordingInstance.prototype.fetch = function fetch(callback) {
528
- return this._proxy.fetch(callback);
537
+ RecordingInstance.prototype.fetch = function fetch(opts, callback) {
538
+ return this._proxy.fetch(opts, callback);
529
539
  };
530
540
 
531
541
  /* jshint ignore:start */
@@ -634,14 +644,25 @@ RecordingContext = function RecordingContext(version, accountSid, sid) {
634
644
  * @function fetch
635
645
  * @memberof Twilio.Api.V2010.AccountContext.RecordingContext#
636
646
  *
647
+ * @param {object} [opts] - Options for request
648
+ * @param {boolean} [opts.includeSoftDeleted] -
649
+ * A boolean parameter indicating whether to retrieve soft deleted recordings or not.
637
650
  * @param {function} [callback] - Callback to handle processed record
638
651
  *
639
652
  * @returns {Promise} Resolves to processed RecordingInstance
640
653
  */
641
654
  /* jshint ignore:end */
642
- RecordingContext.prototype.fetch = function fetch(callback) {
655
+ RecordingContext.prototype.fetch = function fetch(opts, callback) {
656
+ if (_.isFunction(opts)) {
657
+ callback = opts;
658
+ opts = {};
659
+ }
660
+ opts = opts || {};
661
+
643
662
  var deferred = Q.defer();
644
- var promise = this._version.fetch({uri: this._uri, method: 'GET'});
663
+ var data = values.of({'IncludeSoftDeleted': serialize.bool(_.get(opts, 'includeSoftDeleted'))});
664
+
665
+ var promise = this._version.fetch({uri: this._uri, method: 'GET', params: data});
645
666
 
646
667
  promise = promise.then(function(payload) {
647
668
  deferred.resolve(new RecordingInstance(
@@ -10,7 +10,7 @@ import Response = require('../../../../../../http/response');
10
10
  import V2010 = require('../../../../V2010');
11
11
  import { SerializableClass } from '../../../../../../interfaces';
12
12
 
13
- type AllTimeCategory = 'agent-conference'|'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'|'video-recordings'|'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
+ type AllTimeCategory = 'a2p-registration-fees'|'agent-conference'|'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'|'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';
14
14
 
15
15
  /**
16
16
  * Initialize the AllTimeList