twilio 3.70.0 → 3.71.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.
- package/CHANGES.md +29 -0
- package/README.md +1 -1
- package/lib/rest/messaging/v1/brandRegistration.d.ts +1 -1
- package/lib/rest/messaging/v1/brandRegistration.js +1 -1
- package/lib/rest/serverless/v1/service/build.d.ts +1 -1
- package/lib/rest/verify/v2/service/entity/factor.d.ts +1 -1
- package/lib/rest/verify/v2/service/entity/factor.js +2 -2
- package/lib/rest/verify/v2/service/entity/newFactor.d.ts +1 -1
- package/lib/rest/verify/v2/service/entity/newFactor.js +1 -1
- package/lib/rest/verify/v2/service/verification.d.ts +4 -0
- package/lib/rest/verify/v2/service/verification.js +6 -1
- package/lib/rest/verify/v2/service.d.ts +6 -0
- package/lib/rest/verify/v2/service.js +12 -2
- package/lib/rest/wireless/v1/ratePlan.d.ts +1 -1
- package/lib/rest/wireless/v1/ratePlan.js +3 -3
- package/lib/rest/wireless/v1/sim.d.ts +4 -4
- package/lib/rest/wireless/v1/sim.js +18 -24
- package/package.json +1 -1
package/CHANGES.md
CHANGED
|
@@ -1,6 +1,35 @@
|
|
|
1
1
|
twilio-node changelog
|
|
2
2
|
=====================
|
|
3
3
|
|
|
4
|
+
[2021-11-03] Version 3.71.1
|
|
5
|
+
---------------------------
|
|
6
|
+
**Library - Fix**
|
|
7
|
+
- [PR #705](https://github.com/twilio/twilio-node/pull/705): node setup wf step. Thanks to [@shwetha-manvinkurke](https://github.com/shwetha-manvinkurke)!
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
[2021-11-03] Version 3.71.0
|
|
11
|
+
---------------------------
|
|
12
|
+
**Library - Chore**
|
|
13
|
+
- [PR #703](https://github.com/twilio/twilio-node/pull/703): fix Docker image tag. Thanks to [@eshanholtz](https://github.com/eshanholtz)!
|
|
14
|
+
- [PR #702](https://github.com/twilio/twilio-node/pull/702): migrate from TravisCI to GitHub Actions. Thanks to [@eshanholtz](https://github.com/eshanholtz)!
|
|
15
|
+
|
|
16
|
+
**Api**
|
|
17
|
+
- Updated `media_url` property to be treated as PII
|
|
18
|
+
|
|
19
|
+
**Messaging**
|
|
20
|
+
- Added a new enum for brand registration status named DELETED **(breaking change)**
|
|
21
|
+
- Add a new K12_EDUCATION use case in us_app_to_person_usecase api transaction
|
|
22
|
+
- Added a new enum for brand registration status named IN_REVIEW
|
|
23
|
+
|
|
24
|
+
**Serverless**
|
|
25
|
+
- Add node14 as a valid Build runtime
|
|
26
|
+
|
|
27
|
+
**Verify**
|
|
28
|
+
- Fix typos in Verify Push Factor documentation for the `config.notification_token` parameter.
|
|
29
|
+
- Added `TemplateCustomSubstitutions` on verification creation
|
|
30
|
+
- Make `TemplateSid` parameter public for Verification resource and `DefaultTemplateSid` parameter public for Service resource. **(breaking change)**
|
|
31
|
+
|
|
32
|
+
|
|
4
33
|
[2021-10-18] Version 3.70.0
|
|
5
34
|
---------------------------
|
|
6
35
|
**Library - Feature**
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://nodei.co/npm/twilio/)
|
|
4
4
|
|
|
5
|
-
[](https://github.com/twilio/twilio-node/actions/workflows/test.yml)
|
|
6
6
|
[](https://twil.io/learn-open-source)
|
|
7
7
|
|
|
8
8
|
**The default branch name for this repository has been changed to `main` as of 07/27/2020.**
|
|
@@ -16,7 +16,7 @@ type BrandRegistrationBrandFeedback = 'TAX_ID'|'STOCK_SYMBOL'|'NONPROFIT'|'GOVER
|
|
|
16
16
|
|
|
17
17
|
type BrandRegistrationIdentityStatus = 'SELF_DECLARED'|'UNVERIFIED'|'VERIFIED'|'VETTED_VERIFIED';
|
|
18
18
|
|
|
19
|
-
type BrandRegistrationStatus = 'PENDING'|'APPROVED'|'FAILED';
|
|
19
|
+
type BrandRegistrationStatus = 'PENDING'|'APPROVED'|'FAILED'|'IN_REVIEW'|'DELETED';
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Initialize the BrandRegistrationList
|
|
@@ -482,7 +482,7 @@ BrandRegistrationPage.prototype[util.inspect.custom] = function inspect(depth,
|
|
|
482
482
|
* @property {Date} dateUpdated -
|
|
483
483
|
* The ISO 8601 date and time in GMT when the resource was last updated
|
|
484
484
|
* @property {string} brandType - Type of brand. One of: "STANDARD", "STARTER".
|
|
485
|
-
* @property {brand_registration.status} status - Brand Registration status
|
|
485
|
+
* @property {brand_registration.status} status - Brand Registration status.
|
|
486
486
|
* @property {string} tcrId - Campaign Registry (TCR) Brand ID
|
|
487
487
|
* @property {string} failureReason - A reason why brand registration has failed
|
|
488
488
|
* @property {string} url - The absolute URL of the Brand Registration
|
|
@@ -12,7 +12,7 @@ import { BuildStatusList } from './build/buildStatus';
|
|
|
12
12
|
import { BuildStatusListInstance } from './build/buildStatus';
|
|
13
13
|
import { SerializableClass } from '../../../../interfaces';
|
|
14
14
|
|
|
15
|
-
type BuildRuntime = 'node8'|'node10'|'node12';
|
|
15
|
+
type BuildRuntime = 'node8'|'node10'|'node12'|'node14';
|
|
16
16
|
|
|
17
17
|
type BuildStatus = 'building'|'completed'|'failed';
|
|
18
18
|
|
|
@@ -36,7 +36,7 @@ declare function FactorList(version: V2, serviceSid: string, identity: string):
|
|
|
36
36
|
* @property authPayload - Optional payload to verify the Factor for the first time
|
|
37
37
|
* @property config.alg - The algorithm used to derive the TOTP codes
|
|
38
38
|
* @property config.codeLength - Number of digits for generated TOTP codes
|
|
39
|
-
* @property config.notificationToken - For APN, the device token. For FCM the registration token
|
|
39
|
+
* @property config.notificationToken - For APN, the device token. For FCM, the registration token
|
|
40
40
|
* @property config.sdkVersion - The Verify Push SDK version used to configure the factor
|
|
41
41
|
* @property config.skew - The number of past and future time-steps valid at a given time
|
|
42
42
|
* @property config.timeStep - How often, in seconds, are TOTP codes generated
|
|
@@ -519,7 +519,7 @@ FactorInstance.prototype.fetch = function fetch(callback) {
|
|
|
519
519
|
* Optional payload to verify the Factor for the first time
|
|
520
520
|
* @param {string} [opts.friendlyName] - The friendly name of this Factor
|
|
521
521
|
* @param {string} [opts.config.notificationToken] -
|
|
522
|
-
* For APN, the device token. For FCM the registration token
|
|
522
|
+
* For APN, the device token. For FCM, the registration token
|
|
523
523
|
* @param {string} [opts.config.sdkVersion] -
|
|
524
524
|
* The Verify Push SDK version used to configure the factor
|
|
525
525
|
* @param {number} [opts.config.timeStep] -
|
|
@@ -668,7 +668,7 @@ FactorContext.prototype.fetch = function fetch(callback) {
|
|
|
668
668
|
* Optional payload to verify the Factor for the first time
|
|
669
669
|
* @param {string} [opts.friendlyName] - The friendly name of this Factor
|
|
670
670
|
* @param {string} [opts.config.notificationToken] -
|
|
671
|
-
* For APN, the device token. For FCM the registration token
|
|
671
|
+
* For APN, the device token. For FCM, the registration token
|
|
672
672
|
* @param {string} [opts.config.sdkVersion] -
|
|
673
673
|
* The Verify Push SDK version used to configure the factor
|
|
674
674
|
* @param {number} [opts.config.timeStep] -
|
|
@@ -54,7 +54,7 @@ interface NewFactorListInstance {
|
|
|
54
54
|
* @property config.appId - The ID that uniquely identifies your app in the Google or Apple store
|
|
55
55
|
* @property config.codeLength - Number of digits for generated TOTP codes
|
|
56
56
|
* @property config.notificationPlatform - The transport technology used to generate the Notification Token
|
|
57
|
-
* @property config.notificationToken - For APN, the device token. For FCM the registration token
|
|
57
|
+
* @property config.notificationToken - For APN, the device token. For FCM, the registration token
|
|
58
58
|
* @property config.sdkVersion - The Verify Push SDK version used to configure the factor
|
|
59
59
|
* @property config.skew - The number of past and future time-steps valid at a given time
|
|
60
60
|
* @property config.timeStep - How often, in seconds, are TOTP codes generated
|
|
@@ -72,7 +72,7 @@ NewFactorList = function NewFactorList(version, serviceSid, identity) {
|
|
|
72
72
|
* @param {new_factor.notification_platforms} [opts.config.notificationPlatform] -
|
|
73
73
|
* The transport technology used to generate the Notification Token
|
|
74
74
|
* @param {string} [opts.config.notificationToken] -
|
|
75
|
-
* For APN, the device token. For FCM the registration token
|
|
75
|
+
* For APN, the device token. For FCM, the registration token
|
|
76
76
|
* @param {string} [opts.config.sdkVersion] -
|
|
77
77
|
* The Verify Push SDK version used to configure the factor
|
|
78
78
|
* @param {string} [opts.binding.secret] - The shared secret in Base32
|
|
@@ -69,6 +69,8 @@ interface VerificationListInstance {
|
|
|
69
69
|
* @property payee - The payee of the associated PSD2 compliant transaction
|
|
70
70
|
* @property rateLimits - The custom key-value pairs of Programmable Rate Limits.
|
|
71
71
|
* @property sendDigits - The digits to send after a phone call is answered
|
|
72
|
+
* @property templateCustomSubstitutions - The values of the special variables declared on the message template.
|
|
73
|
+
* @property templateSid - The verification template SMS messages.
|
|
72
74
|
* @property to - The phone number or email to verify
|
|
73
75
|
*/
|
|
74
76
|
interface VerificationListInstanceCreateOptions {
|
|
@@ -83,6 +85,8 @@ interface VerificationListInstanceCreateOptions {
|
|
|
83
85
|
payee?: string;
|
|
84
86
|
rateLimits?: object;
|
|
85
87
|
sendDigits?: string;
|
|
88
|
+
templateCustomSubstitutions?: string;
|
|
89
|
+
templateSid?: string;
|
|
86
90
|
to: string;
|
|
87
91
|
}
|
|
88
92
|
|
|
@@ -81,6 +81,9 @@ VerificationList = function VerificationList(version, serviceSid) {
|
|
|
81
81
|
* Channel specific configuration in json format.
|
|
82
82
|
* @param {string} [opts.appHash] -
|
|
83
83
|
* Your App Hash to be appended at the end of an SMS.
|
|
84
|
+
* @param {string} [opts.templateSid] - The verification template SMS messages.
|
|
85
|
+
* @param {string} [opts.templateCustomSubstitutions] -
|
|
86
|
+
* The values of the special variables declared on the message template.
|
|
84
87
|
* @param {function} [callback] - Callback to handle processed record
|
|
85
88
|
*
|
|
86
89
|
* @returns {Promise} Resolves to processed VerificationInstance
|
|
@@ -110,7 +113,9 @@ VerificationList = function VerificationList(version, serviceSid) {
|
|
|
110
113
|
'Payee': _.get(opts, 'payee'),
|
|
111
114
|
'RateLimits': serialize.object(_.get(opts, 'rateLimits')),
|
|
112
115
|
'ChannelConfiguration': serialize.object(_.get(opts, 'channelConfiguration')),
|
|
113
|
-
'AppHash': _.get(opts, 'appHash')
|
|
116
|
+
'AppHash': _.get(opts, 'appHash'),
|
|
117
|
+
'TemplateSid': _.get(opts, 'templateSid'),
|
|
118
|
+
'TemplateCustomSubstitutions': _.get(opts, 'templateCustomSubstitutions')
|
|
114
119
|
});
|
|
115
120
|
|
|
116
121
|
var promise = this._version.create({uri: this._uri, method: 'POST', data: data});
|
|
@@ -36,6 +36,7 @@ declare function ServiceList(version: V2): ServiceListInstance;
|
|
|
36
36
|
*
|
|
37
37
|
* @property codeLength - The length of the verification code to generate
|
|
38
38
|
* @property customCodeEnabled - Whether to allow sending verifications with a custom code.
|
|
39
|
+
* @property defaultTemplateSid - The verification template SMS messages.
|
|
39
40
|
* @property doNotShareWarningEnabled - Whether to add a privacy warning at the end of an SMS.
|
|
40
41
|
* @property dtmfInputRequired - Whether to ask the user to press a number before delivering the verify code in a phone call
|
|
41
42
|
* @property friendlyName - A string to describe the verification service
|
|
@@ -54,6 +55,7 @@ declare function ServiceList(version: V2): ServiceListInstance;
|
|
|
54
55
|
interface ServiceInstanceUpdateOptions {
|
|
55
56
|
codeLength?: number;
|
|
56
57
|
customCodeEnabled?: boolean;
|
|
58
|
+
defaultTemplateSid?: string;
|
|
57
59
|
doNotShareWarningEnabled?: boolean;
|
|
58
60
|
dtmfInputRequired?: boolean;
|
|
59
61
|
friendlyName?: string;
|
|
@@ -199,6 +201,7 @@ interface ServiceListInstance {
|
|
|
199
201
|
*
|
|
200
202
|
* @property codeLength - The length of the verification code to generate
|
|
201
203
|
* @property customCodeEnabled - Whether to allow sending verifications with a custom code.
|
|
204
|
+
* @property defaultTemplateSid - The verification template SMS messages.
|
|
202
205
|
* @property doNotShareWarningEnabled - Whether to add a security warning at the end of an SMS.
|
|
203
206
|
* @property dtmfInputRequired - Whether to ask the user to press a number before delivering the verify code in a phone call
|
|
204
207
|
* @property friendlyName - A string to describe the verification service
|
|
@@ -217,6 +220,7 @@ interface ServiceListInstance {
|
|
|
217
220
|
interface ServiceListInstanceCreateOptions {
|
|
218
221
|
codeLength?: number;
|
|
219
222
|
customCodeEnabled?: boolean;
|
|
223
|
+
defaultTemplateSid?: string;
|
|
220
224
|
doNotShareWarningEnabled?: boolean;
|
|
221
225
|
dtmfInputRequired?: boolean;
|
|
222
226
|
friendlyName: string;
|
|
@@ -303,6 +307,7 @@ interface ServiceResource {
|
|
|
303
307
|
custom_code_enabled: boolean;
|
|
304
308
|
date_created: Date;
|
|
305
309
|
date_updated: Date;
|
|
310
|
+
default_template_sid: string;
|
|
306
311
|
do_not_share_warning_enabled: boolean;
|
|
307
312
|
dtmf_input_required: boolean;
|
|
308
313
|
friendly_name: string;
|
|
@@ -389,6 +394,7 @@ declare class ServiceInstance extends SerializableClass {
|
|
|
389
394
|
customCodeEnabled: boolean;
|
|
390
395
|
dateCreated: Date;
|
|
391
396
|
dateUpdated: Date;
|
|
397
|
+
defaultTemplateSid: string;
|
|
392
398
|
doNotShareWarningEnabled: boolean;
|
|
393
399
|
dtmfInputRequired: boolean;
|
|
394
400
|
/**
|
|
@@ -99,6 +99,8 @@ ServiceList = function ServiceList(version) {
|
|
|
99
99
|
* Optional. Number of digits for generated TOTP codes
|
|
100
100
|
* @param {number} [opts.totp.skew] -
|
|
101
101
|
* Optional. The number of past and future time-steps valid at a given time
|
|
102
|
+
* @param {string} [opts.defaultTemplateSid] -
|
|
103
|
+
* The verification template SMS messages.
|
|
102
104
|
* @param {function} [callback] - Callback to handle processed record
|
|
103
105
|
*
|
|
104
106
|
* @returns {Promise} Resolves to processed ServiceInstance
|
|
@@ -129,7 +131,8 @@ ServiceList = function ServiceList(version) {
|
|
|
129
131
|
'Totp.Issuer': _.get(opts, 'totp.issuer'),
|
|
130
132
|
'Totp.TimeStep': _.get(opts, 'totp.timeStep'),
|
|
131
133
|
'Totp.CodeLength': _.get(opts, 'totp.codeLength'),
|
|
132
|
-
'Totp.Skew': _.get(opts, 'totp.skew')
|
|
134
|
+
'Totp.Skew': _.get(opts, 'totp.skew'),
|
|
135
|
+
'DefaultTemplateSid': _.get(opts, 'defaultTemplateSid')
|
|
133
136
|
});
|
|
134
137
|
|
|
135
138
|
var promise = this._version.create({uri: this._uri, method: 'POST', data: data});
|
|
@@ -520,6 +523,7 @@ ServicePage.prototype[util.inspect.custom] = function inspect(depth, options) {
|
|
|
520
523
|
* Whether to allow sending verifications with a custom code.
|
|
521
524
|
* @property {object} push - The service level configuration of factor push type.
|
|
522
525
|
* @property {object} totp - The service level configuration of factor TOTP type.
|
|
526
|
+
* @property {string} defaultTemplateSid - The default_template_sid
|
|
523
527
|
* @property {Date} dateCreated -
|
|
524
528
|
* The RFC 2822 date and time in GMT when the resource was created
|
|
525
529
|
* @property {Date} dateUpdated -
|
|
@@ -549,6 +553,7 @@ ServiceInstance = function ServiceInstance(version, payload, sid) {
|
|
|
549
553
|
this.customCodeEnabled = payload.custom_code_enabled; // jshint ignore:line
|
|
550
554
|
this.push = payload.push; // jshint ignore:line
|
|
551
555
|
this.totp = payload.totp; // jshint ignore:line
|
|
556
|
+
this.defaultTemplateSid = payload.default_template_sid; // jshint ignore:line
|
|
552
557
|
this.dateCreated = deserialize.iso8601DateTime(payload.date_created); // jshint ignore:line
|
|
553
558
|
this.dateUpdated = deserialize.iso8601DateTime(payload.date_updated); // jshint ignore:line
|
|
554
559
|
this.url = payload.url; // jshint ignore:line
|
|
@@ -641,6 +646,8 @@ ServiceInstance.prototype.remove = function remove(callback) {
|
|
|
641
646
|
* Optional. Number of digits for generated TOTP codes
|
|
642
647
|
* @param {number} [opts.totp.skew] -
|
|
643
648
|
* Optional. The number of past and future time-steps valid at a given time
|
|
649
|
+
* @param {string} [opts.defaultTemplateSid] -
|
|
650
|
+
* The verification template SMS messages.
|
|
644
651
|
* @param {function} [callback] - Callback to handle processed record
|
|
645
652
|
*
|
|
646
653
|
* @returns {Promise} Resolves to processed ServiceInstance
|
|
@@ -918,6 +925,8 @@ ServiceContext.prototype.remove = function remove(callback) {
|
|
|
918
925
|
* Optional. Number of digits for generated TOTP codes
|
|
919
926
|
* @param {number} [opts.totp.skew] -
|
|
920
927
|
* Optional. The number of past and future time-steps valid at a given time
|
|
928
|
+
* @param {string} [opts.defaultTemplateSid] -
|
|
929
|
+
* The verification template SMS messages.
|
|
921
930
|
* @param {function} [callback] - Callback to handle processed record
|
|
922
931
|
*
|
|
923
932
|
* @returns {Promise} Resolves to processed ServiceInstance
|
|
@@ -947,7 +956,8 @@ ServiceContext.prototype.update = function update(opts, callback) {
|
|
|
947
956
|
'Totp.Issuer': _.get(opts, 'totp.issuer'),
|
|
948
957
|
'Totp.TimeStep': _.get(opts, 'totp.timeStep'),
|
|
949
958
|
'Totp.CodeLength': _.get(opts, 'totp.codeLength'),
|
|
950
|
-
'Totp.Skew': _.get(opts, 'totp.skew')
|
|
959
|
+
'Totp.Skew': _.get(opts, 'totp.skew'),
|
|
960
|
+
'DefaultTemplateSid': _.get(opts, 'defaultTemplateSid')
|
|
951
961
|
});
|
|
952
962
|
|
|
953
963
|
var promise = this._version.update({uri: this._uri, method: 'POST', data: data});
|
|
@@ -169,7 +169,7 @@ interface RatePlanListInstance {
|
|
|
169
169
|
* @property nationalRoamingDataLimit - The total data usage in Megabytes that the Network allows during one month on non-home networks in the United States
|
|
170
170
|
* @property nationalRoamingEnabled - Whether SIMs can roam on networks other than the home network in the United States
|
|
171
171
|
* @property uniqueName - An application-defined string that uniquely identifies the resource
|
|
172
|
-
* @property voiceEnabled -
|
|
172
|
+
* @property voiceEnabled - Deprecated
|
|
173
173
|
*/
|
|
174
174
|
interface RatePlanListInstanceCreateOptions {
|
|
175
175
|
dataEnabled?: boolean;
|
|
@@ -311,8 +311,7 @@ RatePlanList = function RatePlanList(version) {
|
|
|
311
311
|
* @param {string} [opts.dataMetering] - The model used to meter data usage
|
|
312
312
|
* @param {boolean} [opts.messagingEnabled] -
|
|
313
313
|
* Whether SIMs can make, send, and receive SMS using Commands
|
|
314
|
-
* @param {boolean} [opts.voiceEnabled] -
|
|
315
|
-
* Whether SIMs can make and receive voice calls
|
|
314
|
+
* @param {boolean} [opts.voiceEnabled] - Deprecated
|
|
316
315
|
* @param {boolean} [opts.nationalRoamingEnabled] -
|
|
317
316
|
* Whether SIMs can roam on networks other than the home network in the United States
|
|
318
317
|
* @param {string|list} [opts.internationalRoaming] -
|
|
@@ -486,7 +485,8 @@ RatePlanPage.prototype[util.inspect.custom] = function inspect(depth, options) {
|
|
|
486
485
|
* The total data usage in Megabytes that the Network allows during one month on the home network
|
|
487
486
|
* @property {boolean} messagingEnabled -
|
|
488
487
|
* Whether SIMs can make, send, and receive SMS using Commands
|
|
489
|
-
* @property {boolean} voiceEnabled -
|
|
488
|
+
* @property {boolean} voiceEnabled -
|
|
489
|
+
* Deprecated. Whether SIMs can make and receive voice calls
|
|
490
490
|
* @property {boolean} nationalRoamingEnabled -
|
|
491
491
|
* Whether SIMs can roam on networks other than the home network in the United States
|
|
492
492
|
* @property {number} nationalRoamingDataLimit -
|
|
@@ -42,10 +42,10 @@ declare function SimList(version: V1): SimListInstance;
|
|
|
42
42
|
* @property smsUrl - The URL we should call when the SIM-connected device sends an SMS message that is not a Command
|
|
43
43
|
* @property status - The new status of the Sim resource
|
|
44
44
|
* @property uniqueName - An application-defined string that uniquely identifies the resource
|
|
45
|
-
* @property voiceFallbackMethod -
|
|
46
|
-
* @property voiceFallbackUrl -
|
|
47
|
-
* @property voiceMethod -
|
|
48
|
-
* @property voiceUrl -
|
|
45
|
+
* @property voiceFallbackMethod - Deprecated
|
|
46
|
+
* @property voiceFallbackUrl - Deprecated
|
|
47
|
+
* @property voiceMethod - Deprecated
|
|
48
|
+
* @property voiceUrl - Deprecated
|
|
49
49
|
*/
|
|
50
50
|
interface SimInstanceUpdateOptions {
|
|
51
51
|
accountSid?: string;
|
|
@@ -447,19 +447,21 @@ SimPage.prototype[util.inspect.custom] = function inspect(depth, options) {
|
|
|
447
447
|
* @property {string} commandsCallbackMethod -
|
|
448
448
|
* The HTTP method we use to call commands_callback_url
|
|
449
449
|
* @property {string} smsFallbackMethod -
|
|
450
|
-
* The HTTP method we use to call sms_fallback_url
|
|
450
|
+
* Deprecated. The HTTP method we use to call sms_fallback_url
|
|
451
451
|
* @property {string} smsFallbackUrl -
|
|
452
|
-
* The URL we call when an error occurs while retrieving or executing the TwiML requested from the sms_url
|
|
453
|
-
* @property {string} smsMethod -
|
|
452
|
+
* Deprecated. The URL we call when an error occurs while retrieving or executing the TwiML requested from the sms_url
|
|
453
|
+
* @property {string} smsMethod -
|
|
454
|
+
* Deprecated. The HTTP method we use to call sms_url
|
|
454
455
|
* @property {string} smsUrl -
|
|
455
|
-
* The URL we call when the SIM-connected device sends an SMS message that is not a Command
|
|
456
|
+
* Deprecated. The URL we call when the SIM-connected device sends an SMS message that is not a Command
|
|
456
457
|
* @property {string} voiceFallbackMethod -
|
|
457
|
-
* The HTTP method we use to call voice_fallback_url
|
|
458
|
+
* Deprecated. The HTTP method we use to call voice_fallback_url
|
|
458
459
|
* @property {string} voiceFallbackUrl -
|
|
459
|
-
* The URL we call when an error occurs while retrieving or executing the TwiML requested from voice_url
|
|
460
|
-
* @property {string} voiceMethod -
|
|
460
|
+
* Deprecated. The URL we call when an error occurs while retrieving or executing the TwiML requested from voice_url
|
|
461
|
+
* @property {string} voiceMethod -
|
|
462
|
+
* Deprecated. The HTTP method we use to call voice_url
|
|
461
463
|
* @property {string} voiceUrl -
|
|
462
|
-
* The URL we call when the SIM-connected device makes a voice call
|
|
464
|
+
* Deprecated. The URL we call when the SIM-connected device makes a voice call
|
|
463
465
|
* @property {Date} dateCreated -
|
|
464
466
|
* The ISO 8601 date and time in GMT when the resource was created
|
|
465
467
|
* @property {Date} dateUpdated -
|
|
@@ -563,14 +565,10 @@ SimInstance.prototype.fetch = function fetch(callback) {
|
|
|
563
565
|
* @param {string} [opts.smsMethod] - The HTTP method we should use to call sms_url
|
|
564
566
|
* @param {string} [opts.smsUrl] -
|
|
565
567
|
* The URL we should call when the SIM-connected device sends an SMS message that is not a Command
|
|
566
|
-
* @param {string} [opts.voiceFallbackMethod] -
|
|
567
|
-
*
|
|
568
|
-
* @param {string} [opts.
|
|
569
|
-
*
|
|
570
|
-
* @param {string} [opts.voiceMethod] -
|
|
571
|
-
* The HTTP method we should use when we call voice_url
|
|
572
|
-
* @param {string} [opts.voiceUrl] -
|
|
573
|
-
* The URL we should call when the SIM-connected device makes a voice call
|
|
568
|
+
* @param {string} [opts.voiceFallbackMethod] - Deprecated
|
|
569
|
+
* @param {string} [opts.voiceFallbackUrl] - Deprecated
|
|
570
|
+
* @param {string} [opts.voiceMethod] - Deprecated
|
|
571
|
+
* @param {string} [opts.voiceUrl] - Deprecated
|
|
574
572
|
* @param {sim.reset_status} [opts.resetStatus] -
|
|
575
573
|
* Initiate a connectivity reset on a SIM
|
|
576
574
|
* @param {string} [opts.accountSid] -
|
|
@@ -740,14 +738,10 @@ SimContext.prototype.fetch = function fetch(callback) {
|
|
|
740
738
|
* @param {string} [opts.smsMethod] - The HTTP method we should use to call sms_url
|
|
741
739
|
* @param {string} [opts.smsUrl] -
|
|
742
740
|
* The URL we should call when the SIM-connected device sends an SMS message that is not a Command
|
|
743
|
-
* @param {string} [opts.voiceFallbackMethod] -
|
|
744
|
-
*
|
|
745
|
-
* @param {string} [opts.
|
|
746
|
-
*
|
|
747
|
-
* @param {string} [opts.voiceMethod] -
|
|
748
|
-
* The HTTP method we should use when we call voice_url
|
|
749
|
-
* @param {string} [opts.voiceUrl] -
|
|
750
|
-
* The URL we should call when the SIM-connected device makes a voice call
|
|
741
|
+
* @param {string} [opts.voiceFallbackMethod] - Deprecated
|
|
742
|
+
* @param {string} [opts.voiceFallbackUrl] - Deprecated
|
|
743
|
+
* @param {string} [opts.voiceMethod] - Deprecated
|
|
744
|
+
* @param {string} [opts.voiceUrl] - Deprecated
|
|
751
745
|
* @param {sim.reset_status} [opts.resetStatus] -
|
|
752
746
|
* Initiate a connectivity reset on a SIM
|
|
753
747
|
* @param {string} [opts.accountSid] -
|