@@ -24,6 +24,53 @@ type TollfreeVerificationStatus = 'PENDING_REVIEW'|'IN_REVIEW'|'TWILIO_APPROVED'
24
24
*/
25
25
declare function TollfreeVerificationList ( version : V1 ) : TollfreeVerificationListInstance ;
26
26
27
+ /**
28
+ * Options to pass to update
29
+ *
30
+ * @property additionalInformation - Additional information to be provided for verification
31
+ * @property businessCity - The city of the business or organization using the Tollfree number
32
+ * @property businessContactEmail - The email address of the contact for the business or organization using the Tollfree number
33
+ * @property businessContactFirstName - The first name of the contact for the business or organization using the Tollfree number
34
+ * @property businessContactLastName - The last name of the contact for the business or organization using the Tollfree number
35
+ * @property businessContactPhone - The phone number of the contact for the business or organization using the Tollfree number
36
+ * @property businessCountry - The country of the business or organization using the Tollfree number
37
+ * @property businessName - The name of the business or organization using the Tollfree number
38
+ * @property businessPostalCode - The postal code of the business or organization using the Tollfree number
39
+ * @property businessStateProvinceRegion - The state/province/region of the business or organization using the Tollfree number
40
+ * @property businessStreetAddress - The address of the business or organization using the Tollfree number
41
+ * @property businessStreetAddress2 - The address of the business or organization using the Tollfree number
42
+ * @property businessWebsite - The website of the business or organization using the Tollfree number
43
+ * @property messageVolume - Estimate monthly volume of messages from the Tollfree Number
44
+ * @property notificationEmail - The email address to receive the notification about the verification result.
45
+ * @property optInImageUrls - Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL
46
+ * @property optInType - Describe how a user opts-in to text messages
47
+ * @property productionMessageSample - An example of message content, i.e. a sample message
48
+ * @property useCaseCategories - The category of the use case for the Tollfree Number. List as many are applicable.
49
+ * @property useCaseSummary - Further explaination on how messaging is used by the business or organization
50
+ */
51
+ interface TollfreeVerificationInstanceUpdateOptions {
52
+ additionalInformation ?: string ;
53
+ businessCity ?: string ;
54
+ businessContactEmail ?: string ;
55
+ businessContactFirstName ?: string ;
56
+ businessContactLastName ?: string ;
57
+ businessContactPhone ?: string ;
58
+ businessCountry ?: string ;
59
+ businessName ?: string ;
60
+ businessPostalCode ?: string ;
61
+ businessStateProvinceRegion ?: string ;
62
+ businessStreetAddress ?: string ;
63
+ businessStreetAddress2 ?: string ;
64
+ businessWebsite ?: string ;
65
+ messageVolume ?: string ;
66
+ notificationEmail ?: string ;
67
+ optInImageUrls ?: string | string [ ] ;
68
+ optInType ?: TollfreeVerificationOptInType ;
69
+ productionMessageSample ?: string ;
70
+ useCaseCategories ?: string | string [ ] ;
71
+ useCaseSummary ?: string ;
72
+ }
73
+
27
74
interface TollfreeVerificationListInstance {
28
75
/**
29
76
* @param sid - sid of instance
@@ -329,6 +376,19 @@ declare class TollfreeVerificationContext {
329
376
* Provide a user-friendly representation
330
377
*/
331
378
toJSON ( ) : any ;
379
+ /**
380
+ * update a TollfreeVerificationInstance
381
+ *
382
+ * @param callback - Callback to handle processed record
383
+ */
384
+ update ( callback ?: ( error : Error | null , items : TollfreeVerificationInstance ) => any ) : Promise < TollfreeVerificationInstance > ;
385
+ /**
386
+ * update a TollfreeVerificationInstance
387
+ *
388
+ * @param opts - Options for request
389
+ * @param callback - Callback to handle processed record
390
+ */
391
+ update ( opts ?: TollfreeVerificationInstanceUpdateOptions , callback ?: ( error : Error | null , items : TollfreeVerificationInstance ) => any ) : Promise < TollfreeVerificationInstance > ;
332
392
}
333
393
334
394
@@ -384,6 +444,19 @@ declare class TollfreeVerificationInstance extends SerializableClass {
384
444
toJSON ( ) : any ;
385
445
tollfreePhoneNumberSid : string ;
386
446
trustProductSid : string ;
447
+ /**
448
+ * update a TollfreeVerificationInstance
449
+ *
450
+ * @param callback - Callback to handle processed record
451
+ */
452
+ update ( callback ?: ( error : Error | null , items : TollfreeVerificationInstance ) => any ) : Promise < TollfreeVerificationInstance > ;
453
+ /**
454
+ * update a TollfreeVerificationInstance
455
+ *
456
+ * @param opts - Options for request
457
+ * @param callback - Callback to handle processed record
458
+ */
459
+ update ( opts ?: TollfreeVerificationInstanceUpdateOptions , callback ?: ( error : Error | null , items : TollfreeVerificationInstance ) => any ) : Promise < TollfreeVerificationInstance > ;
387
460
url : string ;
388
461
useCaseCategories : string [ ] ;
389
462
useCaseSummary : string ;
@@ -415,4 +488,4 @@ declare class TollfreeVerificationPage extends Page<V1, TollfreeVerificationPayl
415
488
toJSON ( ) : any ;
416
489
}
417
490
418
- export { TollfreeVerificationContext , TollfreeVerificationInstance , TollfreeVerificationList , TollfreeVerificationListInstance , TollfreeVerificationListInstanceCreateOptions , TollfreeVerificationListInstanceEachOptions , TollfreeVerificationListInstanceOptions , TollfreeVerificationListInstancePageOptions , TollfreeVerificationOptInType , TollfreeVerificationPage , TollfreeVerificationPayload , TollfreeVerificationResource , TollfreeVerificationSolution , TollfreeVerificationStatus }
491
+ export { TollfreeVerificationContext , TollfreeVerificationInstance , TollfreeVerificationInstanceUpdateOptions , TollfreeVerificationList , TollfreeVerificationListInstance , TollfreeVerificationListInstanceCreateOptions , TollfreeVerificationListInstanceEachOptions , TollfreeVerificationListInstanceOptions , TollfreeVerificationListInstancePageOptions , TollfreeVerificationOptInType , TollfreeVerificationPage , TollfreeVerificationPayload , TollfreeVerificationResource , TollfreeVerificationSolution , TollfreeVerificationStatus }
0 commit comments