twilio 4.7.2 → 4.9.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 (243) hide show
  1. package/lib/base/BaseTwilio.d.ts +1 -0
  2. package/lib/index.d.ts +52 -36
  3. package/lib/index.js +32 -51
  4. package/lib/jwt/AccessToken.d.ts +168 -173
  5. package/lib/jwt/AccessToken.js +180 -185
  6. package/lib/rest/api/v2010/account/address/dependentPhoneNumber.d.ts +17 -22
  7. package/lib/rest/api/v2010/account/application.d.ts +15 -20
  8. package/lib/rest/api/v2010/account/authorizedConnectApp.d.ts +1 -1
  9. package/lib/rest/api/v2010/account/call/feedback.d.ts +5 -5
  10. package/lib/rest/api/v2010/account/call/feedbackSummary.d.ts +4 -4
  11. package/lib/rest/api/v2010/account/call/notification.d.ts +3 -4
  12. package/lib/rest/api/v2010/account/call/payment.d.ts +10 -10
  13. package/lib/rest/api/v2010/account/call/recording.d.ts +9 -9
  14. package/lib/rest/api/v2010/account/call/siprec.d.ts +3 -3
  15. package/lib/rest/api/v2010/account/call/stream.d.ts +3 -3
  16. package/lib/rest/api/v2010/account/call.d.ts +2 -2
  17. package/lib/rest/api/v2010/account/conference/participant.d.ts +1 -1
  18. package/lib/rest/api/v2010/account/conference/recording.d.ts +9 -9
  19. package/lib/rest/api/v2010/account/conference.d.ts +4 -4
  20. package/lib/rest/api/v2010/account/connectApp.d.ts +4 -5
  21. package/lib/rest/api/v2010/account/incomingPhoneNumber/local.d.ts +33 -38
  22. package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.d.ts +33 -38
  23. package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.d.ts +33 -38
  24. package/lib/rest/api/v2010/account/incomingPhoneNumber.d.ts +19 -24
  25. package/lib/rest/api/v2010/account/message/feedback.d.ts +5 -5
  26. package/lib/rest/api/v2010/account/message.d.ts +6 -6
  27. package/lib/rest/api/v2010/account/notification.d.ts +3 -4
  28. package/lib/rest/api/v2010/account/queue.d.ts +3 -3
  29. package/lib/rest/api/v2010/account/recording/addOnResult.d.ts +4 -4
  30. package/lib/rest/api/v2010/account/recording/transcription.d.ts +4 -4
  31. package/lib/rest/api/v2010/account/recording.d.ts +2 -2
  32. package/lib/rest/api/v2010/account/shortCode.d.ts +6 -8
  33. package/lib/rest/api/v2010/account/sip/domain.d.ts +9 -12
  34. package/lib/rest/api/v2010/account/transcription.d.ts +1 -1
  35. package/lib/rest/api/v2010/account/usage/record/allTime.d.ts +7 -7
  36. package/lib/rest/api/v2010/account/usage/record/daily.d.ts +7 -7
  37. package/lib/rest/api/v2010/account/usage/record/lastMonth.d.ts +7 -7
  38. package/lib/rest/api/v2010/account/usage/record/monthly.d.ts +7 -7
  39. package/lib/rest/api/v2010/account/usage/record/thisMonth.d.ts +7 -7
  40. package/lib/rest/api/v2010/account/usage/record/today.d.ts +7 -7
  41. package/lib/rest/api/v2010/account/usage/record/yearly.d.ts +7 -7
  42. package/lib/rest/api/v2010/account/usage/record/yesterday.d.ts +7 -7
  43. package/lib/rest/api/v2010/account/usage/record.d.ts +7 -7
  44. package/lib/rest/api/v2010/account/usage/trigger.d.ts +27 -28
  45. package/lib/rest/api/v2010/account/usage.d.ts +1 -0
  46. package/lib/rest/api/v2010/account.d.ts +2 -2
  47. package/lib/rest/autopilot/v1/assistant/modelBuild.d.ts +1 -1
  48. package/lib/rest/chat/v1/credential.d.ts +1 -1
  49. package/lib/rest/chat/v1/service/channel/message.d.ts +1 -1
  50. package/lib/rest/chat/v1/service/channel.d.ts +1 -1
  51. package/lib/rest/chat/v1/service/role.d.ts +1 -1
  52. package/lib/rest/chat/v1/service/user/userChannel.d.ts +1 -1
  53. package/lib/rest/chat/v2/credential.d.ts +1 -1
  54. package/lib/rest/chat/v2/service/binding.d.ts +1 -1
  55. package/lib/rest/chat/v2/service/channel/member.d.ts +1 -1
  56. package/lib/rest/chat/v2/service/channel/message.d.ts +2 -2
  57. package/lib/rest/chat/v2/service/channel/webhook.d.ts +5 -5
  58. package/lib/rest/chat/v2/service/channel.d.ts +2 -2
  59. package/lib/rest/chat/v2/service/role.d.ts +1 -1
  60. package/lib/rest/chat/v2/service/user/userBinding.d.ts +1 -1
  61. package/lib/rest/chat/v2/service/user/userChannel.d.ts +3 -3
  62. package/lib/rest/chat/v2/service/user.d.ts +1 -1
  63. package/lib/rest/chat/v3/channel.d.ts +2 -2
  64. package/lib/rest/content/V1.d.ts +5 -0
  65. package/lib/rest/content/V1.js +7 -0
  66. package/lib/rest/content/v1/contentAndApprovals.d.ts +190 -0
  67. package/lib/rest/content/v1/contentAndApprovals.js +134 -0
  68. package/lib/rest/conversations/v1/addressConfiguration.d.ts +8 -8
  69. package/lib/rest/conversations/v1/configuration/webhook.d.ts +9 -9
  70. package/lib/rest/conversations/v1/conversation/message/deliveryReceipt.d.ts +4 -4
  71. package/lib/rest/conversations/v1/conversation/message.d.ts +8 -8
  72. package/lib/rest/conversations/v1/conversation/participant.d.ts +4 -4
  73. package/lib/rest/conversations/v1/conversation/webhook.d.ts +5 -5
  74. package/lib/rest/conversations/v1/conversation.d.ts +2 -2
  75. package/lib/rest/conversations/v1/credential.d.ts +1 -1
  76. package/lib/rest/conversations/v1/participantConversation.d.ts +1 -1
  77. package/lib/rest/conversations/v1/role.d.ts +1 -1
  78. package/lib/rest/conversations/v1/service/binding.d.ts +7 -7
  79. package/lib/rest/conversations/v1/service/configuration/webhook.d.ts +4 -4
  80. package/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.d.ts +4 -4
  81. package/lib/rest/conversations/v1/service/conversation/message.d.ts +8 -8
  82. package/lib/rest/conversations/v1/service/conversation/participant.d.ts +4 -4
  83. package/lib/rest/conversations/v1/service/conversation/webhook.d.ts +5 -5
  84. package/lib/rest/conversations/v1/service/conversation.d.ts +10 -10
  85. package/lib/rest/conversations/v1/service/participantConversation.d.ts +4 -4
  86. package/lib/rest/conversations/v1/service/role.d.ts +5 -5
  87. package/lib/rest/conversations/v1/service/user/userConversation.d.ts +9 -9
  88. package/lib/rest/conversations/v1/service/user.d.ts +4 -4
  89. package/lib/rest/conversations/v1/user/userConversation.d.ts +2 -2
  90. package/lib/rest/conversations/v1/user.d.ts +1 -1
  91. package/lib/rest/events/v1/sink.d.ts +2 -2
  92. package/lib/rest/flexApi/V1.d.ts +5 -0
  93. package/lib/rest/flexApi/V1.js +7 -0
  94. package/lib/rest/flexApi/v1/assessments.d.ts +255 -10
  95. package/lib/rest/flexApi/v1/assessments.js +208 -23
  96. package/lib/rest/flexApi/v1/configuration.d.ts +1 -1
  97. package/lib/rest/flexApi/v1/flexFlow.d.ts +2 -2
  98. package/lib/rest/flexApi/v1/insightsConversations.d.ts +172 -0
  99. package/lib/rest/flexApi/v1/insightsConversations.js +128 -0
  100. package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.d.ts +8 -2
  101. package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.js +4 -4
  102. package/lib/rest/flexApi/v1/insightsSegments.d.ts +121 -4
  103. package/lib/rest/flexApi/v1/insightsSegments.js +71 -2
  104. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +2 -2
  105. package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +3 -3
  106. package/lib/rest/flexApi/v1/webChannel.d.ts +1 -1
  107. package/lib/rest/frontlineApi/v1/user.d.ts +1 -1
  108. package/lib/rest/insights/v1/call/annotation.d.ts +2 -2
  109. package/lib/rest/insights/v1/call/callSummary.d.ts +17 -17
  110. package/lib/rest/insights/v1/call/event.d.ts +2 -2
  111. package/lib/rest/insights/v1/call/metric.d.ts +2 -2
  112. package/lib/rest/insights/v1/callSummaries.d.ts +6 -6
  113. package/lib/rest/insights/v1/conference/conferenceParticipant.d.ts +6 -6
  114. package/lib/rest/insights/v1/conference.d.ts +5 -5
  115. package/lib/rest/insights/v1/room/participant.d.ts +16 -16
  116. package/lib/rest/insights/v1/room.d.ts +41 -42
  117. package/lib/rest/ipMessaging/v1/credential.d.ts +1 -1
  118. package/lib/rest/ipMessaging/v1/service/channel/message.d.ts +1 -1
  119. package/lib/rest/ipMessaging/v1/service/channel.d.ts +1 -1
  120. package/lib/rest/ipMessaging/v1/service/role.d.ts +1 -1
  121. package/lib/rest/ipMessaging/v1/service/user/userChannel.d.ts +1 -1
  122. package/lib/rest/ipMessaging/v2/credential.d.ts +1 -1
  123. package/lib/rest/ipMessaging/v2/service/binding.d.ts +1 -1
  124. package/lib/rest/ipMessaging/v2/service/channel/member.d.ts +1 -1
  125. package/lib/rest/ipMessaging/v2/service/channel/message.d.ts +2 -2
  126. package/lib/rest/ipMessaging/v2/service/channel/webhook.d.ts +5 -5
  127. package/lib/rest/ipMessaging/v2/service/channel.d.ts +2 -2
  128. package/lib/rest/ipMessaging/v2/service/role.d.ts +1 -1
  129. package/lib/rest/ipMessaging/v2/service/user/userBinding.d.ts +1 -1
  130. package/lib/rest/ipMessaging/v2/service/user/userChannel.d.ts +2 -2
  131. package/lib/rest/ipMessaging/v2/service/user.d.ts +1 -1
  132. package/lib/rest/lookups/v2/phoneNumber.d.ts +1 -1
  133. package/lib/rest/media/v1/mediaProcessor.d.ts +6 -7
  134. package/lib/rest/media/v1/mediaRecording.d.ts +6 -7
  135. package/lib/rest/media/v1/playerStreamer.d.ts +7 -8
  136. package/lib/rest/messaging/V1.d.ts +10 -0
  137. package/lib/rest/messaging/V1.js +16 -0
  138. package/lib/rest/messaging/v1/brandRegistration/brandVetting.d.ts +1 -1
  139. package/lib/rest/messaging/v1/brandRegistration.d.ts +12 -12
  140. package/lib/rest/messaging/v1/domainCerts.d.ts +4 -4
  141. package/lib/rest/messaging/v1/domainCerts.js +2 -2
  142. package/lib/rest/messaging/v1/domainConfigMessagingService.d.ts +121 -0
  143. package/lib/rest/messaging/v1/domainConfigMessagingService.js +122 -0
  144. package/lib/rest/messaging/v1/linkshorteningMessagingService.d.ts +109 -0
  145. package/lib/rest/messaging/v1/linkshorteningMessagingService.js +135 -0
  146. package/lib/rest/messaging/v1/service.d.ts +7 -9
  147. package/lib/rest/messaging/v1/tollfreeVerification.d.ts +2 -2
  148. package/lib/rest/microvisor/v1/accountConfig.d.ts +27 -1
  149. package/lib/rest/microvisor/v1/accountConfig.js +25 -0
  150. package/lib/rest/microvisor/v1/accountSecret.d.ts +26 -0
  151. package/lib/rest/microvisor/v1/accountSecret.js +25 -0
  152. package/lib/rest/microvisor/v1/app/appManifest.d.ts +101 -0
  153. package/lib/rest/microvisor/v1/app/appManifest.js +115 -0
  154. package/lib/rest/microvisor/v1/app.d.ts +11 -0
  155. package/lib/rest/microvisor/v1/app.js +15 -0
  156. package/lib/rest/microvisor/v1/device/deviceConfig.d.ts +26 -0
  157. package/lib/rest/microvisor/v1/device/deviceConfig.js +25 -0
  158. package/lib/rest/microvisor/v1/device/deviceSecret.d.ts +26 -0
  159. package/lib/rest/microvisor/v1/device/deviceSecret.js +25 -0
  160. package/lib/rest/monitor/v1/alert.d.ts +3 -4
  161. package/lib/rest/notify/v1/credential.d.ts +1 -1
  162. package/lib/rest/notify/v1/service/binding.d.ts +1 -1
  163. package/lib/rest/notify/v1/service/notification.d.ts +1 -1
  164. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.d.ts +1 -1
  165. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.d.ts +1 -1
  166. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.d.ts +1 -1
  167. package/lib/rest/numbers/v2/regulatoryCompliance/bundle.d.ts +4 -4
  168. package/lib/rest/numbers/v2/regulatoryCompliance/endUser.d.ts +1 -1
  169. package/lib/rest/numbers/v2/regulatoryCompliance/regulation.d.ts +1 -1
  170. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +1 -1
  171. package/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.d.ts +2 -2
  172. package/lib/rest/preview/hosted_numbers/authorizationDocument.d.ts +1 -1
  173. package/lib/rest/preview/hosted_numbers/hostedNumberOrder.d.ts +2 -2
  174. package/lib/rest/preview/sync/service/syncList/syncListItem.d.ts +2 -2
  175. package/lib/rest/preview/sync/service/syncMap/syncMapItem.d.ts +2 -2
  176. package/lib/rest/preview/understand/assistant/modelBuild.d.ts +1 -1
  177. package/lib/rest/preview/wireless/sim.d.ts +12 -16
  178. package/lib/rest/proxy/v1/service/session/interaction.d.ts +2 -2
  179. package/lib/rest/proxy/v1/service/session/participant/messageInteraction.d.ts +2 -2
  180. package/lib/rest/proxy/v1/service/session.d.ts +2 -2
  181. package/lib/rest/proxy/v1/service.d.ts +2 -2
  182. package/lib/rest/serverless/v1/service/asset/assetVersion.d.ts +1 -1
  183. package/lib/rest/serverless/v1/service/build/buildStatus.d.ts +1 -1
  184. package/lib/rest/serverless/v1/service/build.d.ts +2 -2
  185. package/lib/rest/serverless/v1/service/environment/log.d.ts +1 -1
  186. package/lib/rest/serverless/v1/service/function/functionVersion.d.ts +1 -1
  187. package/lib/rest/studio/v1/flow/engagement.d.ts +1 -1
  188. package/lib/rest/studio/v1/flow/execution.d.ts +1 -1
  189. package/lib/rest/studio/v1/flow.d.ts +1 -1
  190. package/lib/rest/studio/v2/flow/execution.d.ts +1 -1
  191. package/lib/rest/studio/v2/flow/flowRevision.d.ts +1 -1
  192. package/lib/rest/studio/v2/flow.d.ts +1 -1
  193. package/lib/rest/studio/v2/flowValidate.d.ts +1 -1
  194. package/lib/rest/supersim/v1/esimProfile.d.ts +15 -1
  195. package/lib/rest/supersim/v1/esimProfile.js +6 -0
  196. package/lib/rest/supersim/v1/fleet.d.ts +7 -9
  197. package/lib/rest/supersim/v1/ipCommand.d.ts +3 -3
  198. package/lib/rest/supersim/v1/settingsUpdate.d.ts +1 -1
  199. package/lib/rest/supersim/v1/sim/billingPeriod.d.ts +1 -1
  200. package/lib/rest/supersim/v1/sim/simIpAddress.d.ts +1 -1
  201. package/lib/rest/supersim/v1/sim.d.ts +2 -2
  202. package/lib/rest/supersim/v1/smsCommand.d.ts +2 -2
  203. package/lib/rest/supersim/v1/usageRecord.d.ts +2 -2
  204. package/lib/rest/sync/v1/service/syncList/syncListItem.d.ts +2 -2
  205. package/lib/rest/sync/v1/service/syncMap/syncMapItem.d.ts +2 -2
  206. package/lib/rest/taskrouter/v1/workspace/task/reservation.d.ts +14 -14
  207. package/lib/rest/taskrouter/v1/workspace/task.d.ts +1 -1
  208. package/lib/rest/taskrouter/v1/workspace/taskQueue.d.ts +1 -1
  209. package/lib/rest/taskrouter/v1/workspace/worker/reservation.d.ts +12 -12
  210. package/lib/rest/taskrouter/v1/workspace.d.ts +1 -1
  211. package/lib/rest/trunking/v1/trunk/phoneNumber.d.ts +16 -21
  212. package/lib/rest/trunking/v1/trunk/recording.d.ts +2 -2
  213. package/lib/rest/trunking/v1/trunk.d.ts +5 -6
  214. package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.d.ts +4 -4
  215. package/lib/rest/trusthub/v1/customerProfiles.d.ts +8 -8
  216. package/lib/rest/trusthub/v1/supportingDocument.d.ts +1 -1
  217. package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.d.ts +4 -4
  218. package/lib/rest/trusthub/v1/trustProducts.d.ts +8 -8
  219. package/lib/rest/verify/v2/form.d.ts +1 -1
  220. package/lib/rest/verify/v2/service/accessToken.d.ts +1 -1
  221. package/lib/rest/verify/v2/service/entity/challenge.d.ts +4 -4
  222. package/lib/rest/verify/v2/service/entity/factor.d.ts +3 -3
  223. package/lib/rest/verify/v2/service/entity/newFactor.d.ts +4 -4
  224. package/lib/rest/verify/v2/service/verification.d.ts +3 -3
  225. package/lib/rest/verify/v2/service/verificationCheck.d.ts +1 -1
  226. package/lib/rest/verify/v2/service/webhook.d.ts +3 -3
  227. package/lib/rest/verify/v2/verificationAttempt.d.ts +2 -2
  228. package/lib/rest/verify/v2/verificationAttemptsSummary.d.ts +1 -1
  229. package/lib/rest/video/v1/composition.d.ts +5 -6
  230. package/lib/rest/video/v1/compositionHook.d.ts +4 -5
  231. package/lib/rest/video/v1/recording.d.ts +7 -8
  232. package/lib/rest/video/v1/room/participant/anonymize.d.ts +4 -4
  233. package/lib/rest/video/v1/room/participant/publishedTrack.d.ts +4 -4
  234. package/lib/rest/video/v1/room/participant/subscribedTrack.d.ts +4 -4
  235. package/lib/rest/video/v1/room/participant.d.ts +8 -8
  236. package/lib/rest/video/v1/room/roomRecording.d.ts +4 -4
  237. package/lib/rest/video/v1/room.d.ts +6 -7
  238. package/lib/rest/voice/v1/byocTrunk.d.ts +9 -12
  239. package/lib/rest/wireless/v1/command.d.ts +4 -4
  240. package/lib/rest/wireless/v1/sim/usageRecord.d.ts +1 -1
  241. package/lib/rest/wireless/v1/sim.d.ts +17 -22
  242. package/lib/rest/wireless/v1/usageRecord.d.ts +4 -4
  243. package/package.json +2 -5
@@ -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 WebChannelChatStatus = "inactive";
6
+ export type WebChannelChatStatus = "inactive";
7
7
  /**
8
8
  * Options to pass to update a WebChannelInstance
9
9
  */
@@ -1,7 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  import { inspect, InspectOptions } from "util";
3
3
  import V1 from "../V1";
4
- type UserStateType = "active" | "deactivated";
4
+ export type UserStateType = "active" | "deactivated";
5
5
  /**
6
6
  * Options to pass to update a UserInstance
7
7
  */
@@ -1,8 +1,8 @@
1
1
  /// <reference types="node" />
2
2
  import { inspect, InspectOptions } from "util";
3
3
  import V1 from "../../V1";
4
- type AnnotationAnsweredBy = "unknown_answered_by" | "human" | "machine";
5
- type AnnotationConnectivityIssue = "unknown_connectivity_issue" | "no_connectivity_issue" | "invalid_number" | "caller_id" | "dropped_call" | "number_reachability";
4
+ export type AnnotationAnsweredBy = "unknown_answered_by" | "human" | "machine";
5
+ export type AnnotationConnectivityIssue = "unknown_connectivity_issue" | "no_connectivity_issue" | "invalid_number" | "caller_id" | "dropped_call" | "number_reachability";
6
6
  /**
7
7
  * Options to pass to update a AnnotationInstance
8
8
  */
@@ -1,16 +1,16 @@
1
1
  /// <reference types="node" />
2
2
  import { inspect, InspectOptions } from "util";
3
3
  import V1 from "../../V1";
4
- type SummaryAnsweredBy = "unknown" | "machine_start" | "machine_end_beep" | "machine_end_silence" | "machine_end_other" | "human" | "fax";
5
- type SummaryCallState = "ringing" | "completed" | "busy" | "fail" | "noanswer" | "canceled" | "answered" | "undialed";
6
- type SummaryCallType = "carrier" | "sip" | "trunking" | "client";
7
- type SummaryProcessingState = "complete" | "partial";
4
+ export type CallSummaryAnsweredBy = "unknown" | "machine_start" | "machine_end_beep" | "machine_end_silence" | "machine_end_other" | "human" | "fax";
5
+ export type CallSummaryCallState = "ringing" | "completed" | "busy" | "fail" | "noanswer" | "canceled" | "answered" | "undialed";
6
+ export type CallSummaryCallType = "carrier" | "sip" | "trunking" | "client";
7
+ export type CallSummaryProcessingState = "complete" | "partial";
8
8
  /**
9
9
  * Options to pass to fetch a CallSummaryInstance
10
10
  */
11
11
  export interface CallSummaryContextFetchOptions {
12
12
  /** */
13
- processingState?: SummaryProcessingState;
13
+ processingState?: CallSummaryProcessingState;
14
14
  }
15
15
  export interface CallSummaryContext {
16
16
  /**
@@ -56,10 +56,10 @@ export declare class CallSummaryContextImpl implements CallSummaryContext {
56
56
  interface CallSummaryResource {
57
57
  account_sid: string;
58
58
  call_sid: string;
59
- call_type: SummaryCallType;
60
- call_state: SummaryCallState;
61
- answered_by: SummaryAnsweredBy;
62
- processing_state: SummaryProcessingState;
59
+ call_type: CallSummaryCallType;
60
+ call_state: CallSummaryCallState;
61
+ answered_by: CallSummaryAnsweredBy;
62
+ processing_state: CallSummaryProcessingState;
63
63
  created_time: Date;
64
64
  start_time: Date;
65
65
  end_time: Date;
@@ -85,10 +85,10 @@ export declare class CallSummaryInstance {
85
85
  constructor(_version: V1, payload: CallSummaryResource, callSid: string);
86
86
  accountSid: string;
87
87
  callSid: string;
88
- callType: SummaryCallType;
89
- callState: SummaryCallState;
90
- answeredBy: SummaryAnsweredBy;
91
- processingState: SummaryProcessingState;
88
+ callType: CallSummaryCallType;
89
+ callState: CallSummaryCallState;
90
+ answeredBy: CallSummaryAnsweredBy;
91
+ processingState: CallSummaryProcessingState;
92
92
  createdTime: Date;
93
93
  startTime: Date;
94
94
  endTime: Date;
@@ -132,10 +132,10 @@ export declare class CallSummaryInstance {
132
132
  toJSON(): {
133
133
  accountSid: string;
134
134
  callSid: string;
135
- callType: SummaryCallType;
136
- callState: SummaryCallState;
137
- answeredBy: SummaryAnsweredBy;
138
- processingState: SummaryProcessingState;
135
+ callType: CallSummaryCallType;
136
+ callState: CallSummaryCallState;
137
+ answeredBy: CallSummaryAnsweredBy;
138
+ processingState: CallSummaryProcessingState;
139
139
  createdTime: Date;
140
140
  startTime: Date;
141
141
  endTime: Date;
@@ -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 EventLevel = "UNKNOWN" | "DEBUG" | "INFO" | "WARNING" | "ERROR";
7
- type EventTwilioEdge = "unknown_edge" | "carrier_edge" | "sip_edge" | "sdk_edge" | "client_edge";
6
+ export type EventLevel = "UNKNOWN" | "DEBUG" | "INFO" | "WARNING" | "ERROR";
7
+ export type EventTwilioEdge = "unknown_edge" | "carrier_edge" | "sip_edge" | "sdk_edge" | "client_edge";
8
8
  /**
9
9
  * Options to pass to each
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 V1 from "../../V1";
6
- type MetricStreamDirection = "unknown" | "inbound" | "outbound" | "both";
7
- type MetricTwilioEdge = "unknown_edge" | "carrier_edge" | "sip_edge" | "sdk_edge" | "client_edge";
6
+ export type MetricStreamDirection = "unknown" | "inbound" | "outbound" | "both";
7
+ export type MetricTwilioEdge = "unknown_edge" | "carrier_edge" | "sip_edge" | "sdk_edge" | "client_edge";
8
8
  /**
9
9
  * Options to pass to each
10
10
  */
@@ -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 CallSummariesAnsweredBy = "unknown" | "machine_start" | "machine_end_beep" | "machine_end_silence" | "machine_end_other" | "human" | "fax";
7
- type CallSummariesCallState = "ringing" | "completed" | "busy" | "fail" | "noanswer" | "canceled" | "answered" | "undialed";
8
- type CallSummariesCallType = "carrier" | "sip" | "trunking" | "client";
9
- type CallSummariesProcessingState = "complete" | "partial";
10
- type CallSummariesProcessingStateRequest = "completed" | "started" | "partial" | "all";
11
- type CallSummariesSortBy = "start_time" | "end_time";
6
+ export type CallSummariesAnsweredBy = "unknown" | "machine_start" | "machine_end_beep" | "machine_end_silence" | "machine_end_other" | "human" | "fax";
7
+ export type CallSummariesCallState = "ringing" | "completed" | "busy" | "fail" | "noanswer" | "canceled" | "answered" | "undialed";
8
+ export type CallSummariesCallType = "carrier" | "sip" | "trunking" | "client";
9
+ export type CallSummariesProcessingState = "complete" | "partial";
10
+ export type CallSummariesProcessingStateRequest = "completed" | "started" | "partial" | "all";
11
+ export type CallSummariesSortBy = "start_time" | "end_time";
12
12
  /**
13
13
  * Options to pass to each
14
14
  */
@@ -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 ParticipantCodec = "VP8" | "H264" | "VP9";
7
+ export type ParticipantEdgeLocation = "ashburn" | "dublin" | "frankfurt" | "singapore" | "sydney" | "sao_paulo" | "roaming" | "umatilla" | "tokyo";
8
+ export type ParticipantRoomStatus = "in_progress" | "completed";
9
+ export type ParticipantTwilioRealm = "us1" | "us2" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "in1" | "de1" | "gll";
10
10
  /**
11
11
  * Options to pass to each
12
12
  */
@@ -84,14 +84,14 @@ interface ParticipantResource {
84
84
  duration_sec: number;
85
85
  account_sid: string;
86
86
  room_sid: string;
87
- status: VideoParticipantSummaryRoomStatus;
88
- codecs: Array<VideoParticipantSummaryCodec>;
87
+ status: ParticipantRoomStatus;
88
+ codecs: Array<ParticipantCodec>;
89
89
  end_reason: string;
90
90
  error_code: number;
91
91
  error_code_url: string;
92
- media_region: VideoParticipantSummaryTwilioRealm;
92
+ media_region: ParticipantTwilioRealm;
93
93
  properties: any;
94
- edge_location: VideoParticipantSummaryEdgeLocation;
94
+ edge_location: ParticipantEdgeLocation;
95
95
  publisher_info: any;
96
96
  url: string;
97
97
  }
@@ -128,11 +128,11 @@ export declare class ParticipantInstance {
128
128
  * Unique identifier for the room.
129
129
  */
130
130
  roomSid: string;
131
- status: VideoParticipantSummaryRoomStatus;
131
+ status: ParticipantRoomStatus;
132
132
  /**
133
133
  * Codecs detected from the participant. Can be `VP8`, `H264`, or `VP9`.
134
134
  */
135
- codecs: Array<VideoParticipantSummaryCodec>;
135
+ codecs: Array<ParticipantCodec>;
136
136
  /**
137
137
  * Reason the participant left the room. See [the list of possible values here](https://www.twilio.com/docs/video/video-log-analyzer/video-log-analyzer-api#end_reason).
138
138
  */
@@ -145,12 +145,12 @@ export declare class ParticipantInstance {
145
145
  * Twilio error code dictionary link.
146
146
  */
147
147
  errorCodeUrl: string;
148
- mediaRegion: VideoParticipantSummaryTwilioRealm;
148
+ mediaRegion: ParticipantTwilioRealm;
149
149
  /**
150
150
  * Object containing information about the participant\'s data from the room. See [below](https://www.twilio.com/docs/video/video-log-analyzer/video-log-analyzer-api#properties) for more information.
151
151
  */
152
152
  properties: any;
153
- edgeLocation: VideoParticipantSummaryEdgeLocation;
153
+ edgeLocation: ParticipantEdgeLocation;
154
154
  /**
155
155
  * Object containing information about the SDK name and version. See [below](https://www.twilio.com/docs/video/video-log-analyzer/video-log-analyzer-api#publisher_info) for more information.
156
156
  */
@@ -181,14 +181,14 @@ export declare class ParticipantInstance {
181
181
  durationSec: number;
182
182
  accountSid: string;
183
183
  roomSid: string;
184
- status: VideoParticipantSummaryRoomStatus;
185
- codecs: VideoParticipantSummaryCodec[];
184
+ status: ParticipantRoomStatus;
185
+ codecs: ParticipantCodec[];
186
186
  endReason: string;
187
187
  errorCode: number;
188
188
  errorCodeUrl: string;
189
- mediaRegion: VideoParticipantSummaryTwilioRealm;
189
+ mediaRegion: ParticipantTwilioRealm;
190
190
  properties: any;
191
- edgeLocation: VideoParticipantSummaryEdgeLocation;
191
+ edgeLocation: ParticipantEdgeLocation;
192
192
  publisherInfo: any;
193
193
  url: string;
194
194
  };
@@ -4,22 +4,22 @@ 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 RoomCodec = "VP8" | "H264" | "VP9";
8
+ export type RoomCreatedMethod = "sdk" | "ad_hoc" | "api";
9
+ export type RoomEdgeLocation = "ashburn" | "dublin" | "frankfurt" | "singapore" | "sydney" | "sao_paulo" | "roaming" | "umatilla" | "tokyo";
10
+ export type RoomEndReason = "room_ended_via_api" | "timeout";
11
+ export type RoomProcessingState = "complete" | "in_progress";
12
+ export type RoomRoomStatus = "in_progress" | "completed";
13
+ export type RoomRoomType = "go" | "peer_to_peer" | "group" | "group_small";
14
+ export type RoomTwilioRealm = "us1" | "us2" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "in1" | "de1" | "gll";
15
15
  /**
16
16
  * Options to pass to each
17
17
  */
18
18
  export interface RoomListInstanceEachOptions {
19
19
  /** Type of room. Can be `go`, `peer_to_peer`, `group`, or `group_small`. */
20
- roomType?: Array<VideoRoomSummaryRoomType>;
20
+ roomType?: Array<RoomRoomType>;
21
21
  /** Codecs used by participants in the room. Can be `VP8`, `H264`, or `VP9`. */
22
- codec?: Array<VideoRoomSummaryCodec>;
22
+ codec?: Array<RoomCodec>;
23
23
  /** Room friendly name. */
24
24
  roomName?: string;
25
25
  /** Only read rooms that started on or after this ISO 8601 timestamp. */
@@ -40,9 +40,9 @@ export interface RoomListInstanceEachOptions {
40
40
  */
41
41
  export interface RoomListInstanceOptions {
42
42
  /** Type of room. Can be `go`, `peer_to_peer`, `group`, or `group_small`. */
43
- roomType?: Array<VideoRoomSummaryRoomType>;
43
+ roomType?: Array<RoomRoomType>;
44
44
  /** Codecs used by participants in the room. Can be `VP8`, `H264`, or `VP9`. */
45
- codec?: Array<VideoRoomSummaryCodec>;
45
+ codec?: Array<RoomCodec>;
46
46
  /** Room friendly name. */
47
47
  roomName?: string;
48
48
  /** Only read rooms that started on or after this ISO 8601 timestamp. */
@@ -59,9 +59,9 @@ export interface RoomListInstanceOptions {
59
59
  */
60
60
  export interface RoomListInstancePageOptions {
61
61
  /** Type of room. Can be `go`, `peer_to_peer`, `group`, or `group_small`. */
62
- roomType?: Array<VideoRoomSummaryRoomType>;
62
+ roomType?: Array<RoomRoomType>;
63
63
  /** Codecs used by participants in the room. Can be `VP8`, `H264`, or `VP9`. */
64
- codec?: Array<VideoRoomSummaryCodec>;
64
+ codec?: Array<RoomCodec>;
65
65
  /** Room friendly name. */
66
66
  roomName?: string;
67
67
  /** Only read rooms that started on or after this ISO 8601 timestamp. */
@@ -110,7 +110,6 @@ export declare class RoomContextImpl implements RoomContext {
110
110
  toJSON(): RoomContextSolution;
111
111
  [inspect.custom](_depth: any, options: InspectOptions): string;
112
112
  }
113
- export type RoomStatusCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
114
113
  interface RoomPayload extends TwilioResponsePayload {
115
114
  rooms: RoomResource[];
116
115
  }
@@ -120,25 +119,25 @@ interface RoomResource {
120
119
  room_name: string;
121
120
  create_time: Date;
122
121
  end_time: Date;
123
- room_type: VideoRoomSummaryRoomType;
124
- room_status: VideoRoomSummaryRoomStatus;
122
+ room_type: RoomRoomType;
123
+ room_status: RoomRoomStatus;
125
124
  status_callback: string;
126
- status_callback_method: RoomStatusCallbackMethod;
127
- created_method: VideoRoomSummaryCreatedMethod;
128
- end_reason: VideoRoomSummaryEndReason;
125
+ status_callback_method: string;
126
+ created_method: RoomCreatedMethod;
127
+ end_reason: RoomEndReason;
129
128
  max_participants: number;
130
129
  unique_participants: number;
131
130
  unique_participant_identities: number;
132
131
  concurrent_participants: number;
133
132
  max_concurrent_participants: number;
134
- codecs: Array<VideoRoomSummaryCodec>;
135
- media_region: VideoRoomSummaryTwilioRealm;
133
+ codecs: Array<RoomCodec>;
134
+ media_region: RoomTwilioRealm;
136
135
  duration_sec: number;
137
136
  total_participant_duration_sec: number;
138
137
  total_recording_duration_sec: number;
139
- processing_state: VideoRoomSummaryProcessingState;
138
+ processing_state: RoomProcessingState;
140
139
  recording_enabled: boolean;
141
- edge_location: VideoRoomSummaryEdgeLocation;
140
+ edge_location: RoomEdgeLocation;
142
141
  url: string;
143
142
  links: Record<string, string>;
144
143
  }
@@ -167,8 +166,8 @@ export declare class RoomInstance {
167
166
  * End time for the room.
168
167
  */
169
168
  endTime: Date;
170
- roomType: VideoRoomSummaryRoomType;
171
- roomStatus: VideoRoomSummaryRoomStatus;
169
+ roomType: RoomRoomType;
170
+ roomStatus: RoomRoomStatus;
172
171
  /**
173
172
  * Webhook provided for status callbacks.
174
173
  */
@@ -176,9 +175,9 @@ export declare class RoomInstance {
176
175
  /**
177
176
  * HTTP method provided for status callback URL.
178
177
  */
179
- statusCallbackMethod: RoomStatusCallbackMethod;
180
- createdMethod: VideoRoomSummaryCreatedMethod;
181
- endReason: VideoRoomSummaryEndReason;
178
+ statusCallbackMethod: string;
179
+ createdMethod: RoomCreatedMethod;
180
+ endReason: RoomEndReason;
182
181
  /**
183
182
  * Max number of total participants allowed by the application settings.
184
183
  */
@@ -202,8 +201,8 @@ export declare class RoomInstance {
202
201
  /**
203
202
  * Codecs used by participants in the room. Can be `VP8`, `H264`, or `VP9`.
204
203
  */
205
- codecs: Array<VideoRoomSummaryCodec>;
206
- mediaRegion: VideoRoomSummaryTwilioRealm;
204
+ codecs: Array<RoomCodec>;
205
+ mediaRegion: RoomTwilioRealm;
207
206
  /**
208
207
  * Total room duration from create time to end time.
209
208
  */
@@ -216,12 +215,12 @@ export declare class RoomInstance {
216
215
  * Combined amount of recorded seconds for participants in the room.
217
216
  */
218
217
  totalRecordingDurationSec: number;
219
- processingState: VideoRoomSummaryProcessingState;
218
+ processingState: RoomProcessingState;
220
219
  /**
221
220
  * Boolean indicating if recording is enabled for the room.
222
221
  */
223
222
  recordingEnabled: boolean;
224
- edgeLocation: VideoRoomSummaryEdgeLocation;
223
+ edgeLocation: RoomEdgeLocation;
225
224
  /**
226
225
  * URL for the room resource.
227
226
  */
@@ -254,25 +253,25 @@ export declare class RoomInstance {
254
253
  roomName: string;
255
254
  createTime: Date;
256
255
  endTime: Date;
257
- roomType: VideoRoomSummaryRoomType;
258
- roomStatus: VideoRoomSummaryRoomStatus;
256
+ roomType: RoomRoomType;
257
+ roomStatus: RoomRoomStatus;
259
258
  statusCallback: string;
260
- statusCallbackMethod: RoomStatusCallbackMethod;
261
- createdMethod: VideoRoomSummaryCreatedMethod;
262
- endReason: VideoRoomSummaryEndReason;
259
+ statusCallbackMethod: string;
260
+ createdMethod: RoomCreatedMethod;
261
+ endReason: RoomEndReason;
263
262
  maxParticipants: number;
264
263
  uniqueParticipants: number;
265
264
  uniqueParticipantIdentities: number;
266
265
  concurrentParticipants: number;
267
266
  maxConcurrentParticipants: number;
268
- codecs: VideoRoomSummaryCodec[];
269
- mediaRegion: VideoRoomSummaryTwilioRealm;
267
+ codecs: RoomCodec[];
268
+ mediaRegion: RoomTwilioRealm;
270
269
  durationSec: number;
271
270
  totalParticipantDurationSec: number;
272
271
  totalRecordingDurationSec: number;
273
- processingState: VideoRoomSummaryProcessingState;
272
+ processingState: RoomProcessingState;
274
273
  recordingEnabled: boolean;
275
- edgeLocation: VideoRoomSummaryEdgeLocation;
274
+ edgeLocation: RoomEdgeLocation;
276
275
  url: string;
277
276
  links: Record<string, string>;
278
277
  };
@@ -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 WebhookMethod = "GET" | "POST";
7
+ export type WebhookType = "webhook" | "trigger" | "studio";
8
8
  /**
9
9
  * Options to pass to update a WebhookInstance
10
10
  */
@@ -12,7 +12,7 @@ export interface WebhookContextUpdateOptions {
12
12
  /** */
13
13
  "configuration.url"?: string;
14
14
  /** */
15
- "configuration.method"?: ChannelWebhookMethod;
15
+ "configuration.method"?: WebhookMethod;
16
16
  /** */
17
17
  "configuration.filters"?: Array<string>;
18
18
  /** */
@@ -27,11 +27,11 @@ export interface WebhookContextUpdateOptions {
27
27
  */
28
28
  export interface WebhookListInstanceCreateOptions {
29
29
  /** */
30
- type: ChannelWebhookType;
30
+ type: WebhookType;
31
31
  /** */
32
32
  "configuration.url"?: string;
33
33
  /** */
34
- "configuration.method"?: ChannelWebhookMethod;
34
+ "configuration.method"?: WebhookMethod;
35
35
  /** */
36
36
  "configuration.filters"?: Array<string>;
37
37
  /** */
@@ -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
  */