twilio 4.7.2 → 4.8.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 (210) hide show
  1. package/lib/index.d.ts +52 -36
  2. package/lib/index.js +32 -51
  3. package/lib/rest/api/v2010/account/address/dependentPhoneNumber.d.ts +2 -2
  4. package/lib/rest/api/v2010/account/authorizedConnectApp.d.ts +1 -1
  5. package/lib/rest/api/v2010/account/call/feedback.d.ts +1 -1
  6. package/lib/rest/api/v2010/account/call/feedbackSummary.d.ts +1 -1
  7. package/lib/rest/api/v2010/account/call/payment.d.ts +5 -5
  8. package/lib/rest/api/v2010/account/call/recording.d.ts +2 -2
  9. package/lib/rest/api/v2010/account/call/siprec.d.ts +3 -3
  10. package/lib/rest/api/v2010/account/call/stream.d.ts +3 -3
  11. package/lib/rest/api/v2010/account/call.d.ts +2 -2
  12. package/lib/rest/api/v2010/account/conference/participant.d.ts +1 -1
  13. package/lib/rest/api/v2010/account/conference/recording.d.ts +2 -2
  14. package/lib/rest/api/v2010/account/conference.d.ts +4 -4
  15. package/lib/rest/api/v2010/account/connectApp.d.ts +1 -1
  16. package/lib/rest/api/v2010/account/incomingPhoneNumber/local.d.ts +4 -4
  17. package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.d.ts +4 -4
  18. package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.d.ts +4 -4
  19. package/lib/rest/api/v2010/account/incomingPhoneNumber.d.ts +4 -4
  20. package/lib/rest/api/v2010/account/message/feedback.d.ts +1 -1
  21. package/lib/rest/api/v2010/account/message.d.ts +6 -6
  22. package/lib/rest/api/v2010/account/recording/addOnResult.d.ts +1 -1
  23. package/lib/rest/api/v2010/account/recording/transcription.d.ts +1 -1
  24. package/lib/rest/api/v2010/account/recording.d.ts +2 -2
  25. package/lib/rest/api/v2010/account/transcription.d.ts +1 -1
  26. package/lib/rest/api/v2010/account/usage/record/allTime.d.ts +1 -1
  27. package/lib/rest/api/v2010/account/usage/record/daily.d.ts +1 -1
  28. package/lib/rest/api/v2010/account/usage/record/lastMonth.d.ts +1 -1
  29. package/lib/rest/api/v2010/account/usage/record/monthly.d.ts +1 -1
  30. package/lib/rest/api/v2010/account/usage/record/thisMonth.d.ts +1 -1
  31. package/lib/rest/api/v2010/account/usage/record/today.d.ts +1 -1
  32. package/lib/rest/api/v2010/account/usage/record/yearly.d.ts +1 -1
  33. package/lib/rest/api/v2010/account/usage/record/yesterday.d.ts +1 -1
  34. package/lib/rest/api/v2010/account/usage/record.d.ts +1 -1
  35. package/lib/rest/api/v2010/account/usage/trigger.d.ts +3 -3
  36. package/lib/rest/api/v2010/account/usage.d.ts +1 -0
  37. package/lib/rest/api/v2010/account.d.ts +2 -2
  38. package/lib/rest/autopilot/v1/assistant/modelBuild.d.ts +1 -1
  39. package/lib/rest/chat/v1/credential.d.ts +1 -1
  40. package/lib/rest/chat/v1/service/channel/message.d.ts +1 -1
  41. package/lib/rest/chat/v1/service/channel.d.ts +1 -1
  42. package/lib/rest/chat/v1/service/role.d.ts +1 -1
  43. package/lib/rest/chat/v1/service/user/userChannel.d.ts +1 -1
  44. package/lib/rest/chat/v2/credential.d.ts +1 -1
  45. package/lib/rest/chat/v2/service/binding.d.ts +1 -1
  46. package/lib/rest/chat/v2/service/channel/member.d.ts +1 -1
  47. package/lib/rest/chat/v2/service/channel/message.d.ts +2 -2
  48. package/lib/rest/chat/v2/service/channel/webhook.d.ts +2 -2
  49. package/lib/rest/chat/v2/service/channel.d.ts +2 -2
  50. package/lib/rest/chat/v2/service/role.d.ts +1 -1
  51. package/lib/rest/chat/v2/service/user/userBinding.d.ts +1 -1
  52. package/lib/rest/chat/v2/service/user/userChannel.d.ts +3 -3
  53. package/lib/rest/chat/v2/service/user.d.ts +1 -1
  54. package/lib/rest/chat/v3/channel.d.ts +2 -2
  55. package/lib/rest/conversations/v1/addressConfiguration.d.ts +3 -3
  56. package/lib/rest/conversations/v1/configuration/webhook.d.ts +2 -2
  57. package/lib/rest/conversations/v1/conversation/message/deliveryReceipt.d.ts +1 -1
  58. package/lib/rest/conversations/v1/conversation/message.d.ts +2 -2
  59. package/lib/rest/conversations/v1/conversation/participant.d.ts +1 -1
  60. package/lib/rest/conversations/v1/conversation/webhook.d.ts +2 -2
  61. package/lib/rest/conversations/v1/conversation.d.ts +2 -2
  62. package/lib/rest/conversations/v1/credential.d.ts +1 -1
  63. package/lib/rest/conversations/v1/participantConversation.d.ts +1 -1
  64. package/lib/rest/conversations/v1/role.d.ts +1 -1
  65. package/lib/rest/conversations/v1/service/binding.d.ts +1 -1
  66. package/lib/rest/conversations/v1/service/configuration/webhook.d.ts +1 -1
  67. package/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.d.ts +1 -1
  68. package/lib/rest/conversations/v1/service/conversation/message.d.ts +2 -2
  69. package/lib/rest/conversations/v1/service/conversation/participant.d.ts +1 -1
  70. package/lib/rest/conversations/v1/service/conversation/webhook.d.ts +2 -2
  71. package/lib/rest/conversations/v1/service/conversation.d.ts +2 -2
  72. package/lib/rest/conversations/v1/service/participantConversation.d.ts +1 -1
  73. package/lib/rest/conversations/v1/service/role.d.ts +1 -1
  74. package/lib/rest/conversations/v1/service/user/userConversation.d.ts +2 -2
  75. package/lib/rest/conversations/v1/service/user.d.ts +1 -1
  76. package/lib/rest/conversations/v1/user/userConversation.d.ts +2 -2
  77. package/lib/rest/conversations/v1/user.d.ts +1 -1
  78. package/lib/rest/events/v1/sink.d.ts +2 -2
  79. package/lib/rest/flexApi/v1/assessments.d.ts +138 -10
  80. package/lib/rest/flexApi/v1/assessments.js +138 -22
  81. package/lib/rest/flexApi/v1/configuration.d.ts +1 -1
  82. package/lib/rest/flexApi/v1/flexFlow.d.ts +2 -2
  83. package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.d.ts +6 -0
  84. package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.js +2 -0
  85. package/lib/rest/flexApi/v1/insightsSegments.d.ts +121 -4
  86. package/lib/rest/flexApi/v1/insightsSegments.js +71 -2
  87. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +2 -2
  88. package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +3 -3
  89. package/lib/rest/flexApi/v1/webChannel.d.ts +1 -1
  90. package/lib/rest/frontlineApi/v1/user.d.ts +1 -1
  91. package/lib/rest/insights/v1/call/annotation.d.ts +2 -2
  92. package/lib/rest/insights/v1/call/callSummary.d.ts +4 -4
  93. package/lib/rest/insights/v1/call/event.d.ts +2 -2
  94. package/lib/rest/insights/v1/call/metric.d.ts +2 -2
  95. package/lib/rest/insights/v1/callSummaries.d.ts +6 -6
  96. package/lib/rest/insights/v1/conference/conferenceParticipant.d.ts +6 -6
  97. package/lib/rest/insights/v1/conference.d.ts +5 -5
  98. package/lib/rest/insights/v1/room/participant.d.ts +4 -4
  99. package/lib/rest/insights/v1/room.d.ts +8 -8
  100. package/lib/rest/ipMessaging/v1/credential.d.ts +1 -1
  101. package/lib/rest/ipMessaging/v1/service/channel/message.d.ts +1 -1
  102. package/lib/rest/ipMessaging/v1/service/channel.d.ts +1 -1
  103. package/lib/rest/ipMessaging/v1/service/role.d.ts +1 -1
  104. package/lib/rest/ipMessaging/v1/service/user/userChannel.d.ts +1 -1
  105. package/lib/rest/ipMessaging/v2/credential.d.ts +1 -1
  106. package/lib/rest/ipMessaging/v2/service/binding.d.ts +1 -1
  107. package/lib/rest/ipMessaging/v2/service/channel/member.d.ts +1 -1
  108. package/lib/rest/ipMessaging/v2/service/channel/message.d.ts +2 -2
  109. package/lib/rest/ipMessaging/v2/service/channel/webhook.d.ts +2 -2
  110. package/lib/rest/ipMessaging/v2/service/channel.d.ts +2 -2
  111. package/lib/rest/ipMessaging/v2/service/role.d.ts +1 -1
  112. package/lib/rest/ipMessaging/v2/service/user/userBinding.d.ts +1 -1
  113. package/lib/rest/ipMessaging/v2/service/user/userChannel.d.ts +2 -2
  114. package/lib/rest/ipMessaging/v2/service/user.d.ts +1 -1
  115. package/lib/rest/lookups/v2/phoneNumber.d.ts +1 -1
  116. package/lib/rest/media/v1/mediaProcessor.d.ts +3 -3
  117. package/lib/rest/media/v1/mediaRecording.d.ts +3 -3
  118. package/lib/rest/media/v1/playerStreamer.d.ts +4 -4
  119. package/lib/rest/messaging/v1/brandRegistration/brandVetting.d.ts +1 -1
  120. package/lib/rest/messaging/v1/brandRegistration.d.ts +3 -3
  121. package/lib/rest/messaging/v1/service.d.ts +1 -1
  122. package/lib/rest/messaging/v1/tollfreeVerification.d.ts +2 -2
  123. package/lib/rest/microvisor/v1/accountConfig.d.ts +27 -1
  124. package/lib/rest/microvisor/v1/accountConfig.js +25 -0
  125. package/lib/rest/microvisor/v1/accountSecret.d.ts +26 -0
  126. package/lib/rest/microvisor/v1/accountSecret.js +25 -0
  127. package/lib/rest/microvisor/v1/device/deviceConfig.d.ts +26 -0
  128. package/lib/rest/microvisor/v1/device/deviceConfig.js +25 -0
  129. package/lib/rest/microvisor/v1/device/deviceSecret.d.ts +26 -0
  130. package/lib/rest/microvisor/v1/device/deviceSecret.js +25 -0
  131. package/lib/rest/notify/v1/credential.d.ts +1 -1
  132. package/lib/rest/notify/v1/service/binding.d.ts +1 -1
  133. package/lib/rest/notify/v1/service/notification.d.ts +1 -1
  134. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.d.ts +1 -1
  135. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.d.ts +1 -1
  136. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.d.ts +1 -1
  137. package/lib/rest/numbers/v2/regulatoryCompliance/bundle.d.ts +4 -4
  138. package/lib/rest/numbers/v2/regulatoryCompliance/endUser.d.ts +1 -1
  139. package/lib/rest/numbers/v2/regulatoryCompliance/regulation.d.ts +1 -1
  140. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +1 -1
  141. package/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.d.ts +2 -2
  142. package/lib/rest/preview/hosted_numbers/authorizationDocument.d.ts +1 -1
  143. package/lib/rest/preview/hosted_numbers/hostedNumberOrder.d.ts +2 -2
  144. package/lib/rest/preview/sync/service/syncList/syncListItem.d.ts +2 -2
  145. package/lib/rest/preview/sync/service/syncMap/syncMapItem.d.ts +2 -2
  146. package/lib/rest/preview/understand/assistant/modelBuild.d.ts +1 -1
  147. package/lib/rest/proxy/v1/service/session/interaction.d.ts +2 -2
  148. package/lib/rest/proxy/v1/service/session/participant/messageInteraction.d.ts +2 -2
  149. package/lib/rest/proxy/v1/service/session.d.ts +2 -2
  150. package/lib/rest/proxy/v1/service.d.ts +2 -2
  151. package/lib/rest/serverless/v1/service/asset/assetVersion.d.ts +1 -1
  152. package/lib/rest/serverless/v1/service/build/buildStatus.d.ts +1 -1
  153. package/lib/rest/serverless/v1/service/build.d.ts +2 -2
  154. package/lib/rest/serverless/v1/service/environment/log.d.ts +1 -1
  155. package/lib/rest/serverless/v1/service/function/functionVersion.d.ts +1 -1
  156. package/lib/rest/studio/v1/flow/engagement.d.ts +1 -1
  157. package/lib/rest/studio/v1/flow/execution.d.ts +1 -1
  158. package/lib/rest/studio/v1/flow.d.ts +1 -1
  159. package/lib/rest/studio/v2/flow/execution.d.ts +1 -1
  160. package/lib/rest/studio/v2/flow/flowRevision.d.ts +1 -1
  161. package/lib/rest/studio/v2/flow.d.ts +1 -1
  162. package/lib/rest/studio/v2/flowValidate.d.ts +1 -1
  163. package/lib/rest/supersim/v1/esimProfile.d.ts +1 -1
  164. package/lib/rest/supersim/v1/fleet.d.ts +1 -1
  165. package/lib/rest/supersim/v1/ipCommand.d.ts +3 -3
  166. package/lib/rest/supersim/v1/settingsUpdate.d.ts +1 -1
  167. package/lib/rest/supersim/v1/sim/billingPeriod.d.ts +1 -1
  168. package/lib/rest/supersim/v1/sim/simIpAddress.d.ts +1 -1
  169. package/lib/rest/supersim/v1/sim.d.ts +2 -2
  170. package/lib/rest/supersim/v1/smsCommand.d.ts +2 -2
  171. package/lib/rest/supersim/v1/usageRecord.d.ts +2 -2
  172. package/lib/rest/sync/v1/service/syncList/syncListItem.d.ts +2 -2
  173. package/lib/rest/sync/v1/service/syncMap/syncMapItem.d.ts +2 -2
  174. package/lib/rest/taskrouter/v1/workspace/task/reservation.d.ts +4 -4
  175. package/lib/rest/taskrouter/v1/workspace/task.d.ts +1 -1
  176. package/lib/rest/taskrouter/v1/workspace/taskQueue.d.ts +1 -1
  177. package/lib/rest/taskrouter/v1/workspace/worker/reservation.d.ts +3 -3
  178. package/lib/rest/taskrouter/v1/workspace.d.ts +1 -1
  179. package/lib/rest/trunking/v1/trunk/phoneNumber.d.ts +1 -1
  180. package/lib/rest/trunking/v1/trunk/recording.d.ts +2 -2
  181. package/lib/rest/trunking/v1/trunk.d.ts +2 -2
  182. package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.d.ts +1 -1
  183. package/lib/rest/trusthub/v1/customerProfiles.d.ts +1 -1
  184. package/lib/rest/trusthub/v1/supportingDocument.d.ts +1 -1
  185. package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.d.ts +1 -1
  186. package/lib/rest/trusthub/v1/trustProducts.d.ts +1 -1
  187. package/lib/rest/verify/v2/form.d.ts +1 -1
  188. package/lib/rest/verify/v2/service/accessToken.d.ts +1 -1
  189. package/lib/rest/verify/v2/service/entity/challenge.d.ts +4 -4
  190. package/lib/rest/verify/v2/service/entity/factor.d.ts +3 -3
  191. package/lib/rest/verify/v2/service/entity/newFactor.d.ts +4 -4
  192. package/lib/rest/verify/v2/service/verification.d.ts +2 -2
  193. package/lib/rest/verify/v2/service/verificationCheck.d.ts +1 -1
  194. package/lib/rest/verify/v2/service/webhook.d.ts +3 -3
  195. package/lib/rest/verify/v2/verificationAttempt.d.ts +2 -2
  196. package/lib/rest/verify/v2/verificationAttemptsSummary.d.ts +1 -1
  197. package/lib/rest/video/v1/composition.d.ts +2 -2
  198. package/lib/rest/video/v1/compositionHook.d.ts +1 -1
  199. package/lib/rest/video/v1/recording.d.ts +4 -4
  200. package/lib/rest/video/v1/room/participant/anonymize.d.ts +1 -1
  201. package/lib/rest/video/v1/room/participant/publishedTrack.d.ts +1 -1
  202. package/lib/rest/video/v1/room/participant/subscribedTrack.d.ts +1 -1
  203. package/lib/rest/video/v1/room/participant.d.ts +1 -1
  204. package/lib/rest/video/v1/room/roomRecording.d.ts +4 -4
  205. package/lib/rest/video/v1/room.d.ts +3 -3
  206. package/lib/rest/wireless/v1/command.d.ts +4 -4
  207. package/lib/rest/wireless/v1/sim/usageRecord.d.ts +1 -1
  208. package/lib/rest/wireless/v1/sim.d.ts +2 -2
  209. package/lib/rest/wireless/v1/usageRecord.d.ts +1 -1
  210. package/package.json +2 -5
@@ -3,12 +3,12 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../base/Page";
4
4
  import Response from "../../../../http/response";
5
5
  import V1 from "../../V1";
6
- type ConferenceParticipantCallDirection = "inbound" | "outbound";
7
- type ConferenceParticipantCallStatus = "answered" | "completed" | "busy" | "fail" | "noanswer" | "ringing" | "canceled";
8
- type ConferenceParticipantCallType = "carrier" | "client" | "sip";
9
- type ConferenceParticipantJitterBufferSize = "large" | "small" | "medium" | "off";
10
- type ConferenceParticipantProcessingState = "complete" | "in_progress" | "timeout";
11
- type ConferenceParticipantRegion = "us1" | "us2" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "de1";
6
+ export type ConferenceParticipantCallDirection = "inbound" | "outbound";
7
+ export type ConferenceParticipantCallStatus = "answered" | "completed" | "busy" | "fail" | "noanswer" | "ringing" | "canceled";
8
+ export type ConferenceParticipantCallType = "carrier" | "client" | "sip";
9
+ export type ConferenceParticipantJitterBufferSize = "large" | "small" | "medium" | "off";
10
+ export type ConferenceParticipantProcessingState = "complete" | "in_progress" | "timeout";
11
+ export type ConferenceParticipantRegion = "us1" | "us2" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "de1";
12
12
  /**
13
13
  * Options to pass to fetch a ConferenceParticipantInstance
14
14
  */
@@ -4,11 +4,11 @@ import Page, { TwilioResponsePayload } from "../../../base/Page";
4
4
  import Response from "../../../http/response";
5
5
  import V1 from "../V1";
6
6
  import { ConferenceParticipantListInstance } from "./conference/conferenceParticipant";
7
- type ConferenceConferenceEndReason = "last_participant_left" | "conference_ended_via_api" | "participant_with_end_conference_on_exit_left" | "last_participant_kicked" | "participant_with_end_conference_on_exit_kicked";
8
- type ConferenceConferenceStatus = "in_progress" | "not_started" | "completed" | "summary_timeout";
9
- type ConferenceProcessingState = "complete" | "in_progress" | "timeout";
10
- type ConferenceRegion = "us1" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "de1";
11
- type ConferenceTag = "invalid_requested_region" | "duplicate_identity" | "start_failure" | "region_configuration_issues" | "quality_warnings" | "participant_behavior_issues" | "high_packet_loss" | "high_jitter" | "high_latency" | "low_mos" | "detected_silence";
7
+ export type ConferenceConferenceEndReason = "last_participant_left" | "conference_ended_via_api" | "participant_with_end_conference_on_exit_left" | "last_participant_kicked" | "participant_with_end_conference_on_exit_kicked";
8
+ export type ConferenceConferenceStatus = "in_progress" | "not_started" | "completed" | "summary_timeout";
9
+ export type ConferenceProcessingState = "complete" | "in_progress" | "timeout";
10
+ export type ConferenceRegion = "us1" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "de1";
11
+ export type ConferenceTag = "invalid_requested_region" | "duplicate_identity" | "start_failure" | "region_configuration_issues" | "quality_warnings" | "participant_behavior_issues" | "high_packet_loss" | "high_jitter" | "high_latency" | "low_mos" | "detected_silence";
12
12
  /**
13
13
  * Options to pass to each
14
14
  */
@@ -3,10 +3,10 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../base/Page";
4
4
  import Response from "../../../../http/response";
5
5
  import V1 from "../../V1";
6
- type VideoParticipantSummaryCodec = "VP8" | "H264" | "VP9";
7
- type VideoParticipantSummaryEdgeLocation = "ashburn" | "dublin" | "frankfurt" | "singapore" | "sydney" | "sao_paulo" | "roaming" | "umatilla" | "tokyo";
8
- type VideoParticipantSummaryRoomStatus = "in_progress" | "completed";
9
- type VideoParticipantSummaryTwilioRealm = "us1" | "us2" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "in1" | "de1" | "gll";
6
+ export type VideoParticipantSummaryCodec = "VP8" | "H264" | "VP9";
7
+ export type VideoParticipantSummaryEdgeLocation = "ashburn" | "dublin" | "frankfurt" | "singapore" | "sydney" | "sao_paulo" | "roaming" | "umatilla" | "tokyo";
8
+ export type VideoParticipantSummaryRoomStatus = "in_progress" | "completed";
9
+ export type VideoParticipantSummaryTwilioRealm = "us1" | "us2" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "in1" | "de1" | "gll";
10
10
  /**
11
11
  * Options to pass to each
12
12
  */
@@ -4,14 +4,14 @@ import Page, { TwilioResponsePayload } from "../../../base/Page";
4
4
  import Response from "../../../http/response";
5
5
  import V1 from "../V1";
6
6
  import { ParticipantListInstance } from "./room/participant";
7
- type VideoRoomSummaryCodec = "VP8" | "H264" | "VP9";
8
- type VideoRoomSummaryCreatedMethod = "sdk" | "ad_hoc" | "api";
9
- type VideoRoomSummaryEdgeLocation = "ashburn" | "dublin" | "frankfurt" | "singapore" | "sydney" | "sao_paulo" | "roaming" | "umatilla" | "tokyo";
10
- type VideoRoomSummaryEndReason = "room_ended_via_api" | "timeout";
11
- type VideoRoomSummaryProcessingState = "complete" | "in_progress";
12
- type VideoRoomSummaryRoomStatus = "in_progress" | "completed";
13
- type VideoRoomSummaryRoomType = "go" | "peer_to_peer" | "group" | "group_small";
14
- type VideoRoomSummaryTwilioRealm = "us1" | "us2" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "in1" | "de1" | "gll";
7
+ export type VideoRoomSummaryCodec = "VP8" | "H264" | "VP9";
8
+ export type VideoRoomSummaryCreatedMethod = "sdk" | "ad_hoc" | "api";
9
+ export type VideoRoomSummaryEdgeLocation = "ashburn" | "dublin" | "frankfurt" | "singapore" | "sydney" | "sao_paulo" | "roaming" | "umatilla" | "tokyo";
10
+ export type VideoRoomSummaryEndReason = "room_ended_via_api" | "timeout";
11
+ export type VideoRoomSummaryProcessingState = "complete" | "in_progress";
12
+ export type VideoRoomSummaryRoomStatus = "in_progress" | "completed";
13
+ export type VideoRoomSummaryRoomType = "go" | "peer_to_peer" | "group" | "group_small";
14
+ export type VideoRoomSummaryTwilioRealm = "us1" | "us2" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "in1" | "de1" | "gll";
15
15
  /**
16
16
  * Options to pass to each
17
17
  */
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../base/Page";
4
4
  import Response from "../../../http/response";
5
5
  import V1 from "../V1";
6
- type CredentialPushService = "gcm" | "apn" | "fcm";
6
+ export type CredentialPushService = "gcm" | "apn" | "fcm";
7
7
  /**
8
8
  * Options to pass to update a CredentialInstance
9
9
  */
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../../base/Page";
4
4
  import Response from "../../../../../http/response";
5
5
  import V1 from "../../../V1";
6
- type MessageOrderType = "asc" | "desc";
6
+ export type MessageOrderType = "asc" | "desc";
7
7
  /**
8
8
  * Options to pass to update a MessageInstance
9
9
  */
@@ -6,7 +6,7 @@ import V1 from "../../V1";
6
6
  import { InviteListInstance } from "./channel/invite";
7
7
  import { MemberListInstance } from "./channel/member";
8
8
  import { MessageListInstance } from "./channel/message";
9
- type ChannelChannelType = "public" | "private";
9
+ export type ChannelChannelType = "public" | "private";
10
10
  /**
11
11
  * Options to pass to update a ChannelInstance
12
12
  */
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../base/Page";
4
4
  import Response from "../../../../http/response";
5
5
  import V1 from "../../V1";
6
- type RoleRoleType = "channel" | "deployment";
6
+ export type RoleRoleType = "channel" | "deployment";
7
7
  /**
8
8
  * Options to pass to update a RoleInstance
9
9
  */
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../../base/Page";
4
4
  import Response from "../../../../../http/response";
5
5
  import V1 from "../../../V1";
6
- type UserChannelChannelStatus = "joined" | "invited" | "not_participating";
6
+ export type UserChannelChannelStatus = "joined" | "invited" | "not_participating";
7
7
  /**
8
8
  * Options to pass to each
9
9
  */
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../base/Page";
4
4
  import Response from "../../../http/response";
5
5
  import V2 from "../V2";
6
- type CredentialPushService = "gcm" | "apn" | "fcm";
6
+ export type CredentialPushService = "gcm" | "apn" | "fcm";
7
7
  /**
8
8
  * Options to pass to update a CredentialInstance
9
9
  */
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../base/Page";
4
4
  import Response from "../../../../http/response";
5
5
  import V2 from "../../V2";
6
- type BindingBindingType = "gcm" | "apn" | "fcm";
6
+ export type BindingBindingType = "gcm" | "apn" | "fcm";
7
7
  /**
8
8
  * Options to pass to each
9
9
  */
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../../base/Page";
4
4
  import Response from "../../../../../http/response";
5
5
  import V2 from "../../../V2";
6
- type MemberWebhookEnabledType = "true" | "false";
6
+ export type MemberWebhookEnabledType = "true" | "false";
7
7
  /**
8
8
  * Options to pass to remove a MemberInstance
9
9
  */
@@ -3,8 +3,8 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../../base/Page";
4
4
  import Response from "../../../../../http/response";
5
5
  import V2 from "../../../V2";
6
- type MessageOrderType = "asc" | "desc";
7
- type MessageWebhookEnabledType = "true" | "false";
6
+ export type MessageOrderType = "asc" | "desc";
7
+ export type MessageWebhookEnabledType = "true" | "false";
8
8
  /**
9
9
  * Options to pass to remove a MessageInstance
10
10
  */
@@ -3,8 +3,8 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../../base/Page";
4
4
  import Response from "../../../../../http/response";
5
5
  import V2 from "../../../V2";
6
- type ChannelWebhookMethod = "GET" | "POST";
7
- type ChannelWebhookType = "webhook" | "trigger" | "studio";
6
+ export type ChannelWebhookMethod = "GET" | "POST";
7
+ export type ChannelWebhookType = "webhook" | "trigger" | "studio";
8
8
  /**
9
9
  * Options to pass to update a WebhookInstance
10
10
  */
@@ -7,8 +7,8 @@ import { InviteListInstance } from "./channel/invite";
7
7
  import { MemberListInstance } from "./channel/member";
8
8
  import { MessageListInstance } from "./channel/message";
9
9
  import { WebhookListInstance } from "./channel/webhook";
10
- type ChannelChannelType = "public" | "private";
11
- type ChannelWebhookEnabledType = "true" | "false";
10
+ export type ChannelChannelType = "public" | "private";
11
+ export type ChannelWebhookEnabledType = "true" | "false";
12
12
  /**
13
13
  * Options to pass to remove a ChannelInstance
14
14
  */
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../base/Page";
4
4
  import Response from "../../../../http/response";
5
5
  import V2 from "../../V2";
6
- type RoleRoleType = "channel" | "deployment";
6
+ export type RoleRoleType = "channel" | "deployment";
7
7
  /**
8
8
  * Options to pass to update a RoleInstance
9
9
  */
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../../base/Page";
4
4
  import Response from "../../../../../http/response";
5
5
  import V2 from "../../../V2";
6
- type UserBindingBindingType = "gcm" | "apn" | "fcm";
6
+ export type UserBindingBindingType = "gcm" | "apn" | "fcm";
7
7
  /**
8
8
  * Options to pass to each
9
9
  */
@@ -3,8 +3,8 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../../base/Page";
4
4
  import Response from "../../../../../http/response";
5
5
  import V2 from "../../../V2";
6
- type UserChannelChannelStatus = "joined" | "invited" | "not_participating";
7
- type UserChannelNotificationLevel = "default" | "muted";
6
+ export type UserChannelChannelStatus = "joined" | "invited" | "not_participating";
7
+ export type UserChannelNotificationLevel = "default" | "muted";
8
8
  /**
9
9
  * Options to pass to update a UserChannelInstance
10
10
  */
@@ -5,7 +5,7 @@ import Response from "../../../../http/response";
5
5
  import V2 from "../../V2";
6
6
  import { UserBindingListInstance } from "./user/userBinding";
7
7
  import { UserChannelListInstance } from "./user/userChannel";
8
- type UserWebhookEnabledType = "true" | "false";
8
+ export type UserWebhookEnabledType = "true" | "false";
9
9
  /**
10
10
  * Options to pass to update a UserInstance
11
11
  */
@@ -1,7 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  import { inspect, InspectOptions } from "util";
3
3
  import V2 from "../V2";
4
- type PhoneNumberValidationError = "TOO_SHORT" | "TOO_LONG" | "INVALID_BUT_POSSIBLE" | "INVALID_COUNTRY_CODE" | "INVALID_LENGTH" | "NOT_A_NUMBER";
4
+ export type PhoneNumberValidationError = "TOO_SHORT" | "TOO_LONG" | "INVALID_BUT_POSSIBLE" | "INVALID_COUNTRY_CODE" | "INVALID_LENGTH" | "NOT_A_NUMBER";
5
5
  /**
6
6
  * Options to pass to fetch a PhoneNumberInstance
7
7
  */
@@ -3,9 +3,9 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../base/Page";
4
4
  import Response from "../../../http/response";
5
5
  import V1 from "../V1";
6
- type MediaProcessorOrder = "asc" | "desc";
7
- type MediaProcessorStatus = "failed" | "started" | "ended";
8
- type MediaProcessorUpdateStatus = "ended";
6
+ export type MediaProcessorOrder = "asc" | "desc";
7
+ export type MediaProcessorStatus = "failed" | "started" | "ended";
8
+ export type MediaProcessorUpdateStatus = "ended";
9
9
  /**
10
10
  * Options to pass to update a MediaProcessorInstance
11
11
  */
@@ -3,9 +3,9 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../base/Page";
4
4
  import Response from "../../../http/response";
5
5
  import V1 from "../V1";
6
- type MediaRecordingFormat = "mp4" | "webm";
7
- type MediaRecordingOrder = "asc" | "desc";
8
- type MediaRecordingStatus = "processing" | "completed" | "deleted" | "failed";
6
+ export type MediaRecordingFormat = "mp4" | "webm";
7
+ export type MediaRecordingOrder = "asc" | "desc";
8
+ export type MediaRecordingStatus = "processing" | "completed" | "deleted" | "failed";
9
9
  /**
10
10
  * Options to pass to each
11
11
  */
@@ -4,10 +4,10 @@ import Page, { TwilioResponsePayload } from "../../../base/Page";
4
4
  import Response from "../../../http/response";
5
5
  import V1 from "../V1";
6
6
  import { PlaybackGrantListInstance } from "./playerStreamer/playbackGrant";
7
- type PlayerStreamerEndedReason = "ended-via-api" | "max-duration-exceeded" | "stream-disconnected-by-source" | "unexpected-failure";
8
- type PlayerStreamerOrder = "asc" | "desc";
9
- type PlayerStreamerStatus = "created" | "started" | "ended" | "failed";
10
- type PlayerStreamerUpdateStatus = "ended";
7
+ export type PlayerStreamerEndedReason = "ended-via-api" | "max-duration-exceeded" | "stream-disconnected-by-source" | "unexpected-failure";
8
+ export type PlayerStreamerOrder = "asc" | "desc";
9
+ export type PlayerStreamerStatus = "created" | "started" | "ended" | "failed";
10
+ export type PlayerStreamerUpdateStatus = "ended";
11
11
  /**
12
12
  * Options to pass to update a PlayerStreamerInstance
13
13
  */
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../base/Page";
4
4
  import Response from "../../../../http/response";
5
5
  import V1 from "../../V1";
6
- type BrandVettingVettingProvider = "campaign-verify";
6
+ export type BrandVettingVettingProvider = "campaign-verify";
7
7
  /**
8
8
  * Options to pass to create a BrandVettingInstance
9
9
  */
@@ -4,9 +4,9 @@ import Page, { TwilioResponsePayload } from "../../../base/Page";
4
4
  import Response from "../../../http/response";
5
5
  import V1 from "../V1";
6
6
  import { BrandVettingListInstance } from "./brandRegistration/brandVetting";
7
- type BrandRegistrationsBrandFeedback = "TAX_ID" | "STOCK_SYMBOL" | "NONPROFIT" | "GOVERNMENT_ENTITY" | "OTHERS";
8
- type BrandRegistrationsIdentityStatus = "SELF_DECLARED" | "UNVERIFIED" | "VERIFIED" | "VETTED_VERIFIED";
9
- type BrandRegistrationsStatus = "PENDING" | "APPROVED" | "FAILED" | "IN_REVIEW" | "DELETED";
7
+ export type BrandRegistrationsBrandFeedback = "TAX_ID" | "STOCK_SYMBOL" | "NONPROFIT" | "GOVERNMENT_ENTITY" | "OTHERS";
8
+ export type BrandRegistrationsIdentityStatus = "SELF_DECLARED" | "UNVERIFIED" | "VERIFIED" | "VETTED_VERIFIED";
9
+ export type BrandRegistrationsStatus = "PENDING" | "APPROVED" | "FAILED" | "IN_REVIEW" | "DELETED";
10
10
  /**
11
11
  * Options to pass to create a BrandRegistrationInstance
12
12
  */
@@ -8,7 +8,7 @@ import { PhoneNumberListInstance } from "./service/phoneNumber";
8
8
  import { ShortCodeListInstance } from "./service/shortCode";
9
9
  import { UsAppToPersonListInstance } from "./service/usAppToPerson";
10
10
  import { UsAppToPersonUsecaseListInstance } from "./service/usAppToPersonUsecase";
11
- type ServiceScanMessageContent = "inherit" | "enable" | "disable";
11
+ export type ServiceScanMessageContent = "inherit" | "enable" | "disable";
12
12
  /**
13
13
  * Options to pass to update a ServiceInstance
14
14
  */
@@ -3,8 +3,8 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../base/Page";
4
4
  import Response from "../../../http/response";
5
5
  import V1 from "../V1";
6
- type TollfreeVerificationOptInType = "VERBAL" | "WEB_FORM" | "PAPER_FORM" | "VIA_TEXT" | "MOBILE_QR_CODE";
7
- type TollfreeVerificationStatus = "PENDING_REVIEW" | "IN_REVIEW" | "TWILIO_APPROVED" | "TWILIO_REJECTED";
6
+ export type TollfreeVerificationOptInType = "VERBAL" | "WEB_FORM" | "PAPER_FORM" | "VIA_TEXT" | "MOBILE_QR_CODE";
7
+ export type TollfreeVerificationStatus = "PENDING_REVIEW" | "IN_REVIEW" | "TWILIO_APPROVED" | "TWILIO_REJECTED";
8
8
  /**
9
9
  * Options to pass to update a TollfreeVerificationInstance
10
10
  */
@@ -3,13 +3,20 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../base/Page";
4
4
  import Response from "../../../http/response";
5
5
  import V1 from "../V1";
6
+ /**
7
+ * Options to pass to update a AccountConfigInstance
8
+ */
9
+ export interface AccountConfigContextUpdateOptions {
10
+ /** The config value; up to 4096 characters. */
11
+ value: string;
12
+ }
6
13
  /**
7
14
  * Options to pass to create a AccountConfigInstance
8
15
  */
9
16
  export interface AccountConfigListInstanceCreateOptions {
10
17
  /** The config key; up to 100 characters. */
11
18
  key: string;
12
- /** The config value; up to 4096 characters. */
19
+ /** The config value; up to 4096 characters. */
13
20
  value: string;
14
21
  }
15
22
  /**
@@ -62,6 +69,15 @@ export interface AccountConfigContext {
62
69
  * @returns Resolves to processed AccountConfigInstance
63
70
  */
64
71
  fetch(callback?: (error: Error | null, item?: AccountConfigInstance) => any): Promise<AccountConfigInstance>;
72
+ /**
73
+ * Update a AccountConfigInstance
74
+ *
75
+ * @param params - Parameter for request
76
+ * @param callback - Callback to handle processed record
77
+ *
78
+ * @returns Resolves to processed AccountConfigInstance
79
+ */
80
+ update(params: AccountConfigContextUpdateOptions, callback?: (error: Error | null, item?: AccountConfigInstance) => any): Promise<AccountConfigInstance>;
65
81
  /**
66
82
  * Provide a user-friendly representation
67
83
  */
@@ -78,6 +94,7 @@ export declare class AccountConfigContextImpl implements AccountConfigContext {
78
94
  constructor(_version: V1, key: string);
79
95
  remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
80
96
  fetch(callback?: (error: Error | null, item?: AccountConfigInstance) => any): Promise<AccountConfigInstance>;
97
+ update(params: AccountConfigContextUpdateOptions, callback?: (error: Error | null, item?: AccountConfigInstance) => any): Promise<AccountConfigInstance>;
81
98
  /**
82
99
  * Provide a user-friendly representation
83
100
  *
@@ -130,6 +147,15 @@ export declare class AccountConfigInstance {
130
147
  * @returns Resolves to processed AccountConfigInstance
131
148
  */
132
149
  fetch(callback?: (error: Error | null, item?: AccountConfigInstance) => any): Promise<AccountConfigInstance>;
150
+ /**
151
+ * Update a AccountConfigInstance
152
+ *
153
+ * @param params - Parameter for request
154
+ * @param callback - Callback to handle processed record
155
+ *
156
+ * @returns Resolves to processed AccountConfigInstance
157
+ */
158
+ update(params: AccountConfigContextUpdateOptions, callback?: (error: Error | null, item?: AccountConfigInstance) => any): Promise<AccountConfigInstance>;
133
159
  /**
134
160
  * Provide a user-friendly representation
135
161
  *
@@ -50,6 +50,28 @@ class AccountConfigContextImpl {
50
50
  operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
51
51
  return operationPromise;
52
52
  }
53
+ update(params, callback) {
54
+ if (params === null || params === undefined) {
55
+ throw new Error('Required parameter "params" missing.');
56
+ }
57
+ if (params["value"] === null || params["value"] === undefined) {
58
+ throw new Error("Required parameter \"params['value']\" missing.");
59
+ }
60
+ let data = {};
61
+ data["Value"] = params["value"];
62
+ const headers = {};
63
+ headers["Content-Type"] = "application/x-www-form-urlencoded";
64
+ const instance = this;
65
+ let operationVersion = instance._version, operationPromise = operationVersion.update({
66
+ uri: instance._uri,
67
+ method: "post",
68
+ data,
69
+ headers,
70
+ });
71
+ operationPromise = operationPromise.then((payload) => new AccountConfigInstance(operationVersion, payload, instance._solution.key));
72
+ operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
73
+ return operationPromise;
74
+ }
53
75
  /**
54
76
  * Provide a user-friendly representation
55
77
  *
@@ -98,6 +120,9 @@ class AccountConfigInstance {
98
120
  fetch(callback) {
99
121
  return this._proxy.fetch(callback);
100
122
  }
123
+ update(params, callback) {
124
+ return this._proxy.update(params, callback);
125
+ }
101
126
  /**
102
127
  * Provide a user-friendly representation
103
128
  *
@@ -3,6 +3,13 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../base/Page";
4
4
  import Response from "../../../http/response";
5
5
  import V1 from "../V1";
6
+ /**
7
+ * Options to pass to update a AccountSecretInstance
8
+ */
9
+ export interface AccountSecretContextUpdateOptions {
10
+ /** The secret value; up to 4096 characters. */
11
+ value: string;
12
+ }
6
13
  /**
7
14
  * Options to pass to create a AccountSecretInstance
8
15
  */
@@ -62,6 +69,15 @@ export interface AccountSecretContext {
62
69
  * @returns Resolves to processed AccountSecretInstance
63
70
  */
64
71
  fetch(callback?: (error: Error | null, item?: AccountSecretInstance) => any): Promise<AccountSecretInstance>;
72
+ /**
73
+ * Update a AccountSecretInstance
74
+ *
75
+ * @param params - Parameter for request
76
+ * @param callback - Callback to handle processed record
77
+ *
78
+ * @returns Resolves to processed AccountSecretInstance
79
+ */
80
+ update(params: AccountSecretContextUpdateOptions, callback?: (error: Error | null, item?: AccountSecretInstance) => any): Promise<AccountSecretInstance>;
65
81
  /**
66
82
  * Provide a user-friendly representation
67
83
  */
@@ -78,6 +94,7 @@ export declare class AccountSecretContextImpl implements AccountSecretContext {
78
94
  constructor(_version: V1, key: string);
79
95
  remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
80
96
  fetch(callback?: (error: Error | null, item?: AccountSecretInstance) => any): Promise<AccountSecretInstance>;
97
+ update(params: AccountSecretContextUpdateOptions, callback?: (error: Error | null, item?: AccountSecretInstance) => any): Promise<AccountSecretInstance>;
81
98
  /**
82
99
  * Provide a user-friendly representation
83
100
  *
@@ -125,6 +142,15 @@ export declare class AccountSecretInstance {
125
142
  * @returns Resolves to processed AccountSecretInstance
126
143
  */
127
144
  fetch(callback?: (error: Error | null, item?: AccountSecretInstance) => any): Promise<AccountSecretInstance>;
145
+ /**
146
+ * Update a AccountSecretInstance
147
+ *
148
+ * @param params - Parameter for request
149
+ * @param callback - Callback to handle processed record
150
+ *
151
+ * @returns Resolves to processed AccountSecretInstance
152
+ */
153
+ update(params: AccountSecretContextUpdateOptions, callback?: (error: Error | null, item?: AccountSecretInstance) => any): Promise<AccountSecretInstance>;
128
154
  /**
129
155
  * Provide a user-friendly representation
130
156
  *
@@ -50,6 +50,28 @@ class AccountSecretContextImpl {
50
50
  operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
51
51
  return operationPromise;
52
52
  }
53
+ update(params, callback) {
54
+ if (params === null || params === undefined) {
55
+ throw new Error('Required parameter "params" missing.');
56
+ }
57
+ if (params["value"] === null || params["value"] === undefined) {
58
+ throw new Error("Required parameter \"params['value']\" missing.");
59
+ }
60
+ let data = {};
61
+ data["Value"] = params["value"];
62
+ const headers = {};
63
+ headers["Content-Type"] = "application/x-www-form-urlencoded";
64
+ const instance = this;
65
+ let operationVersion = instance._version, operationPromise = operationVersion.update({
66
+ uri: instance._uri,
67
+ method: "post",
68
+ data,
69
+ headers,
70
+ });
71
+ operationPromise = operationPromise.then((payload) => new AccountSecretInstance(operationVersion, payload, instance._solution.key));
72
+ operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
73
+ return operationPromise;
74
+ }
53
75
  /**
54
76
  * Provide a user-friendly representation
55
77
  *
@@ -97,6 +119,9 @@ class AccountSecretInstance {
97
119
  fetch(callback) {
98
120
  return this._proxy.fetch(callback);
99
121
  }
122
+ update(params, callback) {
123
+ return this._proxy.update(params, callback);
124
+ }
100
125
  /**
101
126
  * Provide a user-friendly representation
102
127
  *
@@ -3,6 +3,13 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../base/Page";
4
4
  import Response from "../../../../http/response";
5
5
  import V1 from "../../V1";
6
+ /**
7
+ * Options to pass to update a DeviceConfigInstance
8
+ */
9
+ export interface DeviceConfigContextUpdateOptions {
10
+ /** The config value; up to 4096 characters. */
11
+ value: string;
12
+ }
6
13
  /**
7
14
  * Options to pass to create a DeviceConfigInstance
8
15
  */
@@ -62,6 +69,15 @@ export interface DeviceConfigContext {
62
69
  * @returns Resolves to processed DeviceConfigInstance
63
70
  */
64
71
  fetch(callback?: (error: Error | null, item?: DeviceConfigInstance) => any): Promise<DeviceConfigInstance>;
72
+ /**
73
+ * Update a DeviceConfigInstance
74
+ *
75
+ * @param params - Parameter for request
76
+ * @param callback - Callback to handle processed record
77
+ *
78
+ * @returns Resolves to processed DeviceConfigInstance
79
+ */
80
+ update(params: DeviceConfigContextUpdateOptions, callback?: (error: Error | null, item?: DeviceConfigInstance) => any): Promise<DeviceConfigInstance>;
65
81
  /**
66
82
  * Provide a user-friendly representation
67
83
  */
@@ -79,6 +95,7 @@ export declare class DeviceConfigContextImpl implements DeviceConfigContext {
79
95
  constructor(_version: V1, deviceSid: string, key: string);
80
96
  remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
81
97
  fetch(callback?: (error: Error | null, item?: DeviceConfigInstance) => any): Promise<DeviceConfigInstance>;
98
+ update(params: DeviceConfigContextUpdateOptions, callback?: (error: Error | null, item?: DeviceConfigInstance) => any): Promise<DeviceConfigInstance>;
82
99
  /**
83
100
  * Provide a user-friendly representation
84
101
  *
@@ -136,6 +153,15 @@ export declare class DeviceConfigInstance {
136
153
  * @returns Resolves to processed DeviceConfigInstance
137
154
  */
138
155
  fetch(callback?: (error: Error | null, item?: DeviceConfigInstance) => any): Promise<DeviceConfigInstance>;
156
+ /**
157
+ * Update a DeviceConfigInstance
158
+ *
159
+ * @param params - Parameter for request
160
+ * @param callback - Callback to handle processed record
161
+ *
162
+ * @returns Resolves to processed DeviceConfigInstance
163
+ */
164
+ update(params: DeviceConfigContextUpdateOptions, callback?: (error: Error | null, item?: DeviceConfigInstance) => any): Promise<DeviceConfigInstance>;
139
165
  /**
140
166
  * Provide a user-friendly representation
141
167
  *