twilio 3.82.1 → 3.83.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 (53) hide show
  1. package/lib/rest/Oauth.d.ts +32 -0
  2. package/lib/rest/Oauth.js +79 -0
  3. package/lib/rest/Supersim.d.ts +2 -0
  4. package/lib/rest/Supersim.js +9 -0
  5. package/lib/rest/Twilio.d.ts +2 -0
  6. package/lib/rest/Twilio.js +14 -0
  7. package/lib/rest/api/v2010/account/conference/participant.d.ts +16 -2
  8. package/lib/rest/api/v2010/account/conference/participant.js +28 -5
  9. package/lib/rest/api/v2010/account/message.d.ts +2 -0
  10. package/lib/rest/api/v2010/account/message.js +3 -0
  11. package/lib/rest/api/v2010/account/usage/record/allTime.d.ts +1 -1
  12. package/lib/rest/api/v2010/account/usage/record/daily.d.ts +1 -1
  13. package/lib/rest/api/v2010/account/usage/record/lastMonth.d.ts +1 -1
  14. package/lib/rest/api/v2010/account/usage/record/monthly.d.ts +1 -1
  15. package/lib/rest/api/v2010/account/usage/record/thisMonth.d.ts +1 -1
  16. package/lib/rest/api/v2010/account/usage/record/today.d.ts +1 -1
  17. package/lib/rest/api/v2010/account/usage/record/yearly.d.ts +1 -1
  18. package/lib/rest/api/v2010/account/usage/record/yesterday.d.ts +1 -1
  19. package/lib/rest/api/v2010/account/usage/record.d.ts +1 -1
  20. package/lib/rest/api/v2010/account/usage/trigger.d.ts +1 -1
  21. package/lib/rest/oauth/V1.d.ts +34 -0
  22. package/lib/rest/oauth/V1.js +80 -0
  23. package/lib/rest/oauth/v1/oauth.d.ts +115 -0
  24. package/lib/rest/oauth/v1/oauth.js +299 -0
  25. package/lib/rest/oauth/v1/openidDiscovery.d.ts +137 -0
  26. package/lib/rest/oauth/v1/openidDiscovery.js +329 -0
  27. package/lib/rest/oauth/v1/token.d.ts +115 -0
  28. package/lib/rest/oauth/v1/token.js +265 -0
  29. package/lib/rest/oauth/v1/userInfo.d.ts +123 -0
  30. package/lib/rest/oauth/v1/userInfo.js +308 -0
  31. package/lib/rest/supersim/V1.d.ts +3 -0
  32. package/lib/rest/supersim/V1.js +12 -0
  33. package/lib/rest/supersim/v1/settingsUpdate.d.ts +261 -0
  34. package/lib/rest/supersim/v1/settingsUpdate.js +466 -0
  35. package/lib/rest/verify/v2/service/accessToken.d.ts +0 -12
  36. package/lib/rest/verify/v2/service/accessToken.js +0 -12
  37. package/lib/rest/verify/v2/service/entity/challenge/notification.d.ts +0 -9
  38. package/lib/rest/verify/v2/service/entity/challenge/notification.js +0 -9
  39. package/lib/rest/verify/v2/service/entity/challenge.d.ts +0 -12
  40. package/lib/rest/verify/v2/service/entity/challenge.js +0 -12
  41. package/lib/rest/verify/v2/service/entity/factor.d.ts +0 -12
  42. package/lib/rest/verify/v2/service/entity/factor.js +0 -12
  43. package/lib/rest/verify/v2/service/entity/newFactor.d.ts +0 -9
  44. package/lib/rest/verify/v2/service/entity/newFactor.js +0 -9
  45. package/lib/rest/verify/v2/service/entity.d.ts +0 -12
  46. package/lib/rest/verify/v2/service/entity.js +0 -12
  47. package/lib/rest/verify/v2/service/webhook.d.ts +0 -12
  48. package/lib/rest/verify/v2/service/webhook.js +0 -12
  49. package/lib/rest/verify/v2/template.d.ts +2 -0
  50. package/lib/rest/verify/v2/template.js +2 -0
  51. package/lib/twiml/VoiceResponse.d.ts +31 -1
  52. package/lib/twiml/VoiceResponse.js +34 -2
  53. package/package.json +1 -1
@@ -0,0 +1,466 @@
1
+ 'use strict';
2
+
3
+ /* jshint ignore:start */
4
+ /**
5
+ * This code was generated by
6
+ * \ / _ _ _| _ _
7
+ * | (_)\/(_)(_|\/| |(/_ v1.0.0
8
+ * / /
9
+ */
10
+ /* jshint ignore:end */
11
+
12
+ var Q = require('q'); /* jshint ignore:line */
13
+ var _ = require('lodash'); /* jshint ignore:line */
14
+ var util = require('util'); /* jshint ignore:line */
15
+ var Page = require('../../../base/Page'); /* jshint ignore:line */
16
+ var deserialize = require(
17
+ '../../../base/deserialize'); /* jshint ignore:line */
18
+ var values = require('../../../base/values'); /* jshint ignore:line */
19
+
20
+ var SettingsUpdateList;
21
+ var SettingsUpdatePage;
22
+ var SettingsUpdateInstance;
23
+
24
+ /* jshint ignore:start */
25
+ /**
26
+ * Initialize the SettingsUpdateList
27
+ *
28
+ * PLEASE NOTE that this class contains beta products that are subject to change.
29
+ * Use them with caution.
30
+ *
31
+ * @constructor Twilio.Supersim.V1.SettingsUpdateList
32
+ *
33
+ * @param {Twilio.Supersim.V1} version - Version of the resource
34
+ */
35
+ /* jshint ignore:end */
36
+ SettingsUpdateList = function SettingsUpdateList(version) {
37
+ /* jshint ignore:start */
38
+ /**
39
+ * @function settingsUpdates
40
+ * @memberof Twilio.Supersim.V1#
41
+ *
42
+ * @param {string} sid - sid of instance
43
+ *
44
+ * @returns {Twilio.Supersim.V1.SettingsUpdateContext}
45
+ */
46
+ /* jshint ignore:end */
47
+ function SettingsUpdateListInstance(sid) {
48
+ return SettingsUpdateListInstance.get(sid);
49
+ }
50
+
51
+ SettingsUpdateListInstance._version = version;
52
+ // Path Solution
53
+ SettingsUpdateListInstance._solution = {};
54
+ SettingsUpdateListInstance._uri = `/SettingsUpdates`;
55
+ /* jshint ignore:start */
56
+ /**
57
+ * Streams SettingsUpdateInstance records from the API.
58
+ *
59
+ * This operation lazily loads records as efficiently as possible until the limit
60
+ * is reached.
61
+ *
62
+ * The results are passed into the callback function, so this operation is memory
63
+ * efficient.
64
+ *
65
+ * If a function is passed as the first argument, it will be used as the callback
66
+ * function.
67
+ *
68
+ * @function each
69
+ * @memberof Twilio.Supersim.V1.SettingsUpdateList#
70
+ *
71
+ * @param {object} [opts] - Options for request
72
+ * @param {string} [opts.sim] - Filter the Settings Updates by Super SIM
73
+ * @param {number} [opts.limit] -
74
+ * Upper limit for the number of records to return.
75
+ * each() guarantees never to return more than limit.
76
+ * Default is no limit
77
+ * @param {number} [opts.pageSize] -
78
+ * Number of records to fetch per request,
79
+ * when not set will use the default value of 50 records.
80
+ * If no pageSize is defined but a limit is defined,
81
+ * each() will attempt to read the limit with the most efficient
82
+ * page size, i.e. min(limit, 1000)
83
+ * @param {Function} [opts.callback] -
84
+ * Function to process each record. If this and a positional
85
+ * callback are passed, this one will be used
86
+ * @param {Function} [opts.done] -
87
+ * Function to be called upon completion of streaming
88
+ * @param {Function} [callback] - Function to process each record
89
+ */
90
+ /* jshint ignore:end */
91
+ SettingsUpdateListInstance.each = function each(opts, callback) {
92
+ if (_.isFunction(opts)) {
93
+ callback = opts;
94
+ opts = {};
95
+ }
96
+ opts = opts || {};
97
+ if (opts.callback) {
98
+ callback = opts.callback;
99
+ }
100
+ if (_.isUndefined(callback)) {
101
+ throw new Error('Callback function must be provided');
102
+ }
103
+
104
+ var done = false;
105
+ var currentPage = 1;
106
+ var currentResource = 0;
107
+ var limits = this._version.readLimits({
108
+ limit: opts.limit,
109
+ pageSize: opts.pageSize
110
+ });
111
+
112
+ function onComplete(error) {
113
+ done = true;
114
+ if (_.isFunction(opts.done)) {
115
+ opts.done(error);
116
+ }
117
+ }
118
+
119
+ function fetchNextPage(fn) {
120
+ var promise = fn();
121
+ if (_.isUndefined(promise)) {
122
+ onComplete();
123
+ return;
124
+ }
125
+
126
+ promise.then(function(page) {
127
+ _.each(page.instances, function(instance) {
128
+ if (done || (!_.isUndefined(opts.limit) && currentResource >= opts.limit)) {
129
+ done = true;
130
+ return false;
131
+ }
132
+
133
+ currentResource++;
134
+ callback(instance, onComplete);
135
+ });
136
+
137
+ if (!done) {
138
+ currentPage++;
139
+ fetchNextPage(_.bind(page.nextPage, page));
140
+ } else {
141
+ onComplete();
142
+ }
143
+ });
144
+
145
+ promise.catch(onComplete);
146
+ }
147
+
148
+ fetchNextPage(_.bind(this.page, this, _.merge(opts, limits)));
149
+ };
150
+
151
+ /* jshint ignore:start */
152
+ /**
153
+ * Lists SettingsUpdateInstance records from the API as a list.
154
+ *
155
+ * If a function is passed as the first argument, it will be used as the callback
156
+ * function.
157
+ *
158
+ * @function list
159
+ * @memberof Twilio.Supersim.V1.SettingsUpdateList#
160
+ *
161
+ * @param {object} [opts] - Options for request
162
+ * @param {string} [opts.sim] - Filter the Settings Updates by Super SIM
163
+ * @param {number} [opts.limit] -
164
+ * Upper limit for the number of records to return.
165
+ * list() guarantees never to return more than limit.
166
+ * Default is no limit
167
+ * @param {number} [opts.pageSize] -
168
+ * Number of records to fetch per request,
169
+ * when not set will use the default value of 50 records.
170
+ * If no page_size is defined but a limit is defined,
171
+ * list() will attempt to read the limit with the most
172
+ * efficient page size, i.e. min(limit, 1000)
173
+ * @param {function} [callback] - Callback to handle list of records
174
+ *
175
+ * @returns {Promise} Resolves to a list of records
176
+ */
177
+ /* jshint ignore:end */
178
+ SettingsUpdateListInstance.list = function list(opts, callback) {
179
+ if (_.isFunction(opts)) {
180
+ callback = opts;
181
+ opts = {};
182
+ }
183
+ opts = opts || {};
184
+ var deferred = Q.defer();
185
+ var allResources = [];
186
+ opts.callback = function(resource, done) {
187
+ allResources.push(resource);
188
+
189
+ if (!_.isUndefined(opts.limit) && allResources.length === opts.limit) {
190
+ done();
191
+ }
192
+ };
193
+
194
+ opts.done = function(error) {
195
+ if (_.isUndefined(error)) {
196
+ deferred.resolve(allResources);
197
+ } else {
198
+ deferred.reject(error);
199
+ }
200
+ };
201
+
202
+ if (_.isFunction(callback)) {
203
+ deferred.promise.nodeify(callback);
204
+ }
205
+
206
+ this.each(opts);
207
+ return deferred.promise;
208
+ };
209
+
210
+ /* jshint ignore:start */
211
+ /**
212
+ * Retrieve a single page of SettingsUpdateInstance records from the API.
213
+ *
214
+ * The request is executed immediately.
215
+ *
216
+ * If a function is passed as the first argument, it will be used as the callback
217
+ * function.
218
+ *
219
+ * @function page
220
+ * @memberof Twilio.Supersim.V1.SettingsUpdateList#
221
+ *
222
+ * @param {object} [opts] - Options for request
223
+ * @param {string} [opts.sim] - Filter the Settings Updates by Super SIM
224
+ * @param {string} [opts.pageToken] - PageToken provided by the API
225
+ * @param {number} [opts.pageNumber] -
226
+ * Page Number, this value is simply for client state
227
+ * @param {number} [opts.pageSize] - Number of records to return, defaults to 50
228
+ * @param {function} [callback] - Callback to handle list of records
229
+ *
230
+ * @returns {Promise} Resolves to a list of records
231
+ */
232
+ /* jshint ignore:end */
233
+ SettingsUpdateListInstance.page = function page(opts, callback) {
234
+ if (_.isFunction(opts)) {
235
+ callback = opts;
236
+ opts = {};
237
+ }
238
+ opts = opts || {};
239
+
240
+ var deferred = Q.defer();
241
+ var data = values.of({
242
+ 'Sim': _.get(opts, 'sim'),
243
+ 'PageToken': opts.pageToken,
244
+ 'Page': opts.pageNumber,
245
+ 'PageSize': opts.pageSize
246
+ });
247
+
248
+ var promise = this._version.page({uri: this._uri, method: 'GET', params: data});
249
+
250
+ promise = promise.then(function(payload) {
251
+ deferred.resolve(new SettingsUpdatePage(this._version, payload, this._solution));
252
+ }.bind(this));
253
+
254
+ promise.catch(function(error) {
255
+ deferred.reject(error);
256
+ });
257
+
258
+ if (_.isFunction(callback)) {
259
+ deferred.promise.nodeify(callback);
260
+ }
261
+
262
+ return deferred.promise;
263
+ };
264
+
265
+ /* jshint ignore:start */
266
+ /**
267
+ * Retrieve a single target page of SettingsUpdateInstance records from the API.
268
+ *
269
+ * The request is executed immediately.
270
+ *
271
+ * If a function is passed as the first argument, it will be used as the callback
272
+ * function.
273
+ *
274
+ * @function getPage
275
+ * @memberof Twilio.Supersim.V1.SettingsUpdateList#
276
+ *
277
+ * @param {string} [targetUrl] - API-generated URL for the requested results page
278
+ * @param {function} [callback] - Callback to handle list of records
279
+ *
280
+ * @returns {Promise} Resolves to a list of records
281
+ */
282
+ /* jshint ignore:end */
283
+ SettingsUpdateListInstance.getPage = function getPage(targetUrl, callback) {
284
+ var deferred = Q.defer();
285
+
286
+ var promise = this._version._domain.twilio.request({method: 'GET', uri: targetUrl});
287
+
288
+ promise = promise.then(function(payload) {
289
+ deferred.resolve(new SettingsUpdatePage(this._version, payload, this._solution));
290
+ }.bind(this));
291
+
292
+ promise.catch(function(error) {
293
+ deferred.reject(error);
294
+ });
295
+
296
+ if (_.isFunction(callback)) {
297
+ deferred.promise.nodeify(callback);
298
+ }
299
+
300
+ return deferred.promise;
301
+ };
302
+
303
+ /* jshint ignore:start */
304
+ /**
305
+ * Provide a user-friendly representation
306
+ *
307
+ * @function toJSON
308
+ * @memberof Twilio.Supersim.V1.SettingsUpdateList#
309
+ *
310
+ * @returns Object
311
+ */
312
+ /* jshint ignore:end */
313
+ SettingsUpdateListInstance.toJSON = function toJSON() {
314
+ return this._solution;
315
+ };
316
+
317
+ SettingsUpdateListInstance[util.inspect.custom] = function inspect(depth,
318
+ options) {
319
+ return util.inspect(this.toJSON(), options);
320
+ };
321
+
322
+ return SettingsUpdateListInstance;
323
+ };
324
+
325
+
326
+ /* jshint ignore:start */
327
+ /**
328
+ * Initialize the SettingsUpdatePage
329
+ *
330
+ * PLEASE NOTE that this class contains beta products that are subject to change.
331
+ * Use them with caution.
332
+ *
333
+ * @constructor Twilio.Supersim.V1.SettingsUpdatePage
334
+ *
335
+ * @param {V1} version - Version of the resource
336
+ * @param {Response<string>} response - Response from the API
337
+ * @param {SettingsUpdateSolution} solution - Path solution
338
+ *
339
+ * @returns SettingsUpdatePage
340
+ */
341
+ /* jshint ignore:end */
342
+ SettingsUpdatePage = function SettingsUpdatePage(version, response, solution) {
343
+ // Path Solution
344
+ this._solution = solution;
345
+
346
+ Page.prototype.constructor.call(this, version, response, this._solution);
347
+ };
348
+
349
+ _.extend(SettingsUpdatePage.prototype, Page.prototype);
350
+ SettingsUpdatePage.prototype.constructor = SettingsUpdatePage;
351
+
352
+ /* jshint ignore:start */
353
+ /**
354
+ * Build an instance of SettingsUpdateInstance
355
+ *
356
+ * @function getInstance
357
+ * @memberof Twilio.Supersim.V1.SettingsUpdatePage#
358
+ *
359
+ * @param {SettingsUpdatePayload} payload - Payload response from the API
360
+ *
361
+ * @returns SettingsUpdateInstance
362
+ */
363
+ /* jshint ignore:end */
364
+ SettingsUpdatePage.prototype.getInstance = function getInstance(payload) {
365
+ return new SettingsUpdateInstance(this._version, payload);
366
+ };
367
+
368
+ /* jshint ignore:start */
369
+ /**
370
+ * Provide a user-friendly representation
371
+ *
372
+ * @function toJSON
373
+ * @memberof Twilio.Supersim.V1.SettingsUpdatePage#
374
+ *
375
+ * @returns Object
376
+ */
377
+ /* jshint ignore:end */
378
+ SettingsUpdatePage.prototype.toJSON = function toJSON() {
379
+ let clone = {};
380
+ _.forOwn(this, function(value, key) {
381
+ if (!_.startsWith(key, '_') && ! _.isFunction(value)) {
382
+ clone[key] = value;
383
+ }
384
+ });
385
+ return clone;
386
+ };
387
+
388
+ SettingsUpdatePage.prototype[util.inspect.custom] = function inspect(depth,
389
+ options) {
390
+ return util.inspect(this.toJSON(), options);
391
+ };
392
+
393
+
394
+ /* jshint ignore:start */
395
+ /**
396
+ * Initialize the SettingsUpdateContext
397
+ *
398
+ * PLEASE NOTE that this class contains beta products that are subject to change.
399
+ * Use them with caution.
400
+ *
401
+ * @constructor Twilio.Supersim.V1.SettingsUpdateInstance
402
+ *
403
+ * @property {string} sid - The unique identifier of this Settings Update
404
+ * @property {string} iccid - The ICCID associated with the SIM
405
+ * @property {string} simSid -
406
+ * The SID of the Super SIM to which this Settings Update was applied
407
+ * @property {settings_update.status} status - The Status of this Settings Update
408
+ * @property {object} packages -
409
+ * Array containing the different Settings Packages that will be applied to the SIM after the update completes
410
+ * @property {Date} dateCompleted -
411
+ * The time when the update successfully completed and the new settings were applied to the SIM
412
+ * @property {Date} dateCreated - The date this Settings Update was created
413
+ * @property {Date} dateUpdated - The date this Settings Update was last updated
414
+ *
415
+ * @param {V1} version - Version of the resource
416
+ * @param {SettingsUpdatePayload} payload - The instance payload
417
+ */
418
+ /* jshint ignore:end */
419
+ SettingsUpdateInstance = function SettingsUpdateInstance(version, payload) {
420
+ this._version = version;
421
+
422
+ // Marshaled Properties
423
+ this.sid = payload.sid; // jshint ignore:line
424
+ this.iccid = payload.iccid; // jshint ignore:line
425
+ this.simSid = payload.sim_sid; // jshint ignore:line
426
+ this.status = payload.status; // jshint ignore:line
427
+ this.packages = payload.packages; // jshint ignore:line
428
+ this.dateCompleted = deserialize.iso8601DateTime(payload.date_completed); // jshint ignore:line
429
+ this.dateCreated = deserialize.iso8601DateTime(payload.date_created); // jshint ignore:line
430
+ this.dateUpdated = deserialize.iso8601DateTime(payload.date_updated); // jshint ignore:line
431
+
432
+ // Context
433
+ this._context = undefined;
434
+ this._solution = {};
435
+ };
436
+
437
+ /* jshint ignore:start */
438
+ /**
439
+ * Provide a user-friendly representation
440
+ *
441
+ * @function toJSON
442
+ * @memberof Twilio.Supersim.V1.SettingsUpdateInstance#
443
+ *
444
+ * @returns Object
445
+ */
446
+ /* jshint ignore:end */
447
+ SettingsUpdateInstance.prototype.toJSON = function toJSON() {
448
+ let clone = {};
449
+ _.forOwn(this, function(value, key) {
450
+ if (!_.startsWith(key, '_') && ! _.isFunction(value)) {
451
+ clone[key] = value;
452
+ }
453
+ });
454
+ return clone;
455
+ };
456
+
457
+ SettingsUpdateInstance.prototype[util.inspect.custom] = function inspect(depth,
458
+ options) {
459
+ return util.inspect(this.toJSON(), options);
460
+ };
461
+
462
+ module.exports = {
463
+ SettingsUpdateList: SettingsUpdateList,
464
+ SettingsUpdatePage: SettingsUpdatePage,
465
+ SettingsUpdateInstance: SettingsUpdateInstance
466
+ };
@@ -15,9 +15,6 @@ type AccessTokenFactorTypes = 'push';
15
15
  /**
16
16
  * Initialize the AccessTokenList
17
17
  *
18
- * PLEASE NOTE that this class contains beta products that are subject to change.
19
- * Use them with caution.
20
- *
21
18
  * @param version - Version of the resource
22
19
  * @param serviceSid - Verify Service Sid.
23
20
  */
@@ -87,9 +84,6 @@ declare class AccessTokenContext {
87
84
  /**
88
85
  * Initialize the AccessTokenContext
89
86
  *
90
- * PLEASE NOTE that this class contains beta products that are subject to change.
91
- * Use them with caution.
92
- *
93
87
  * @param version - Version of the resource
94
88
  * @param serviceSid - Service Sid.
95
89
  * @param sid - A string that uniquely identifies this Access Token.
@@ -113,9 +107,6 @@ declare class AccessTokenInstance extends SerializableClass {
113
107
  /**
114
108
  * Initialize the AccessTokenContext
115
109
  *
116
- * PLEASE NOTE that this class contains beta products that are subject to change.
117
- * Use them with caution.
118
- *
119
110
  * @param version - Version of the resource
120
111
  * @param payload - The instance payload
121
112
  * @param serviceSid - Verify Service Sid.
@@ -151,9 +142,6 @@ declare class AccessTokenPage extends Page<V2, AccessTokenPayload, AccessTokenRe
151
142
  /**
152
143
  * Initialize the AccessTokenPage
153
144
  *
154
- * PLEASE NOTE that this class contains beta products that are subject to change.
155
- * Use them with caution.
156
- *
157
145
  * @param version - Version of the resource
158
146
  * @param response - Response from the API
159
147
  * @param solution - Path solution
@@ -26,9 +26,6 @@ var AccessTokenContext;
26
26
  /**
27
27
  * Initialize the AccessTokenList
28
28
  *
29
- * PLEASE NOTE that this class contains beta products that are subject to change.
30
- * Use them with caution.
31
- *
32
29
  * @constructor Twilio.Verify.V2.ServiceContext.AccessTokenList
33
30
  *
34
31
  * @param {Twilio.Verify.V2} version - Version of the resource
@@ -155,9 +152,6 @@ AccessTokenList = function AccessTokenList(version, serviceSid) {
155
152
  /**
156
153
  * Initialize the AccessTokenPage
157
154
  *
158
- * PLEASE NOTE that this class contains beta products that are subject to change.
159
- * Use them with caution.
160
- *
161
155
  * @constructor Twilio.Verify.V2.ServiceContext.AccessTokenPage
162
156
  *
163
157
  * @param {V2} version - Version of the resource
@@ -223,9 +217,6 @@ AccessTokenPage.prototype[util.inspect.custom] = function inspect(depth,
223
217
  /**
224
218
  * Initialize the AccessTokenContext
225
219
  *
226
- * PLEASE NOTE that this class contains beta products that are subject to change.
227
- * Use them with caution.
228
- *
229
220
  * @constructor Twilio.Verify.V2.ServiceContext.AccessTokenInstance
230
221
  *
231
222
  * @property {string} sid - A string that uniquely identifies this Access Token.
@@ -328,9 +319,6 @@ AccessTokenInstance.prototype[util.inspect.custom] = function inspect(depth,
328
319
  /**
329
320
  * Initialize the AccessTokenContext
330
321
  *
331
- * PLEASE NOTE that this class contains beta products that are subject to change.
332
- * Use them with caution.
333
- *
334
322
  * @constructor Twilio.Verify.V2.ServiceContext.AccessTokenContext
335
323
  *
336
324
  * @param {V2} version - Version of the resource
@@ -13,9 +13,6 @@ import { SerializableClass } from '../../../../../../interfaces';
13
13
  /**
14
14
  * Initialize the NotificationList
15
15
  *
16
- * PLEASE NOTE that this class contains beta products that are subject to change.
17
- * Use them with caution.
18
- *
19
16
  * @param version - Version of the resource
20
17
  * @param serviceSid - Service Sid.
21
18
  * @param identity - Unique external identifier of the Entity
@@ -78,9 +75,6 @@ declare class NotificationInstance extends SerializableClass {
78
75
  /**
79
76
  * Initialize the NotificationContext
80
77
  *
81
- * PLEASE NOTE that this class contains beta products that are subject to change.
82
- * Use them with caution.
83
- *
84
78
  * @param version - Version of the resource
85
79
  * @param payload - The instance payload
86
80
  * @param serviceSid - Service Sid.
@@ -109,9 +103,6 @@ declare class NotificationPage extends Page<V2, NotificationPayload, Notificatio
109
103
  /**
110
104
  * Initialize the NotificationPage
111
105
  *
112
- * PLEASE NOTE that this class contains beta products that are subject to change.
113
- * Use them with caution.
114
- *
115
106
  * @param version - Version of the resource
116
107
  * @param response - Response from the API
117
108
  * @param solution - Path solution
@@ -25,9 +25,6 @@ var NotificationInstance;
25
25
  /**
26
26
  * Initialize the NotificationList
27
27
  *
28
- * PLEASE NOTE that this class contains beta products that are subject to change.
29
- * Use them with caution.
30
- *
31
28
  * @constructor Twilio.Verify.V2.ServiceContext.EntityContext.ChallengeContext.NotificationList
32
29
  *
33
30
  * @param {Twilio.Verify.V2} version - Version of the resource
@@ -128,9 +125,6 @@ NotificationList = function NotificationList(version, serviceSid, identity,
128
125
  /**
129
126
  * Initialize the NotificationPage
130
127
  *
131
- * PLEASE NOTE that this class contains beta products that are subject to change.
132
- * Use them with caution.
133
- *
134
128
  * @constructor Twilio.Verify.V2.ServiceContext.EntityContext.ChallengeContext.NotificationPage
135
129
  *
136
130
  * @param {V2} version - Version of the resource
@@ -202,9 +196,6 @@ NotificationPage.prototype[util.inspect.custom] = function inspect(depth,
202
196
  /**
203
197
  * Initialize the NotificationContext
204
198
  *
205
- * PLEASE NOTE that this class contains beta products that are subject to change.
206
- * Use them with caution.
207
- *
208
199
  * @constructor Twilio.Verify.V2.ServiceContext.EntityContext.ChallengeContext.NotificationInstance
209
200
  *
210
201
  * @property {string} sid - A string that uniquely identifies this Notification.
@@ -23,9 +23,6 @@ type ChallengeListOrders = 'asc'|'desc';
23
23
  /**
24
24
  * Initialize the ChallengeList
25
25
  *
26
- * PLEASE NOTE that this class contains beta products that are subject to change.
27
- * Use them with caution.
28
- *
29
26
  * @param version - Version of the resource
30
27
  * @param serviceSid - Service Sid.
31
28
  * @param identity - Unique external identifier of the Entity
@@ -293,9 +290,6 @@ declare class ChallengeContext {
293
290
  /**
294
291
  * Initialize the ChallengeContext
295
292
  *
296
- * PLEASE NOTE that this class contains beta products that are subject to change.
297
- * Use them with caution.
298
- *
299
293
  * @param version - Version of the resource
300
294
  * @param serviceSid - Service Sid.
301
295
  * @param identity - Unique external identifier of the Entity
@@ -334,9 +328,6 @@ declare class ChallengeInstance extends SerializableClass {
334
328
  /**
335
329
  * Initialize the ChallengeContext
336
330
  *
337
- * PLEASE NOTE that this class contains beta products that are subject to change.
338
- * Use them with caution.
339
- *
340
331
  * @param version - Version of the resource
341
332
  * @param payload - The instance payload
342
333
  * @param serviceSid - Service Sid.
@@ -398,9 +389,6 @@ declare class ChallengePage extends Page<V2, ChallengePayload, ChallengeResource
398
389
  /**
399
390
  * Initialize the ChallengePage
400
391
  *
401
- * PLEASE NOTE that this class contains beta products that are subject to change.
402
- * Use them with caution.
403
- *
404
392
  * @param version - Version of the resource
405
393
  * @param response - Response from the API
406
394
  * @param solution - Path solution
@@ -29,9 +29,6 @@ var ChallengeContext;
29
29
  /**
30
30
  * Initialize the ChallengeList
31
31
  *
32
- * PLEASE NOTE that this class contains beta products that are subject to change.
33
- * Use them with caution.
34
- *
35
32
  * @constructor Twilio.Verify.V2.ServiceContext.EntityContext.ChallengeList
36
33
  *
37
34
  * @param {Twilio.Verify.V2} version - Version of the resource
@@ -425,9 +422,6 @@ ChallengeList = function ChallengeList(version, serviceSid, identity) {
425
422
  /**
426
423
  * Initialize the ChallengePage
427
424
  *
428
- * PLEASE NOTE that this class contains beta products that are subject to change.
429
- * Use them with caution.
430
- *
431
425
  * @constructor Twilio.Verify.V2.ServiceContext.EntityContext.ChallengePage
432
426
  *
433
427
  * @param {V2} version - Version of the resource
@@ -498,9 +492,6 @@ ChallengePage.prototype[util.inspect.custom] = function inspect(depth, options)
498
492
  /**
499
493
  * Initialize the ChallengeContext
500
494
  *
501
- * PLEASE NOTE that this class contains beta products that are subject to change.
502
- * Use them with caution.
503
- *
504
495
  * @constructor Twilio.Verify.V2.ServiceContext.EntityContext.ChallengeInstance
505
496
  *
506
497
  * @property {string} sid - A string that uniquely identifies this Challenge.
@@ -655,9 +646,6 @@ ChallengeInstance.prototype[util.inspect.custom] = function inspect(depth,
655
646
  /**
656
647
  * Initialize the ChallengeContext
657
648
  *
658
- * PLEASE NOTE that this class contains beta products that are subject to change.
659
- * Use them with caution.
660
- *
661
649
  * @constructor Twilio.Verify.V2.ServiceContext.EntityContext.ChallengeContext
662
650
  *
663
651
  * @property {Twilio.Verify.V2.ServiceContext.EntityContext.ChallengeContext.NotificationList} notifications -