twilio 5.7.0 → 5.7.2

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 (258) hide show
  1. package/lib/rest/Twilio.d.ts +0 -10
  2. package/lib/rest/Twilio.js +0 -11
  3. package/lib/rest/accounts/v1/bulkConsents.d.ts +4 -4
  4. package/lib/rest/accounts/v1/bulkConsents.js +1 -1
  5. package/lib/rest/accounts/v1/bulkContacts.d.ts +4 -4
  6. package/lib/rest/accounts/v1/bulkContacts.js +1 -1
  7. package/lib/rest/api/v2010/account/address/dependentPhoneNumber.d.ts +15 -10
  8. package/lib/rest/api/v2010/account/address/dependentPhoneNumber.js +2 -2
  9. package/lib/rest/api/v2010/account/authorizedConnectApp.d.ts +3 -0
  10. package/lib/rest/api/v2010/account/call/event.d.ts +6 -6
  11. package/lib/rest/api/v2010/account/call/payment.d.ts +1 -1
  12. package/lib/rest/api/v2010/account/call/recording.d.ts +3 -3
  13. package/lib/rest/api/v2010/account/conference/recording.d.ts +3 -3
  14. package/lib/rest/api/v2010/account/connectApp.d.ts +3 -0
  15. package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.d.ts +3 -3
  16. package/lib/rest/api/v2010/account/incomingPhoneNumber/local.d.ts +3 -0
  17. package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.d.ts +3 -0
  18. package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.d.ts +3 -0
  19. package/lib/rest/api/v2010/account/incomingPhoneNumber.d.ts +3 -0
  20. package/lib/rest/api/v2010/account/recording.d.ts +4 -4
  21. package/lib/rest/api/v2010/account/usage/trigger.d.ts +3 -0
  22. package/lib/rest/bulkexports/v1/export/day.d.ts +3 -3
  23. package/lib/rest/bulkexports/v1/export/exportCustomJob.d.ts +3 -3
  24. package/lib/rest/bulkexports/v1/export/job.d.ts +3 -3
  25. package/lib/rest/chat/v1/credential.d.ts +3 -0
  26. package/lib/rest/chat/v1/service/channel.d.ts +3 -0
  27. package/lib/rest/chat/v1/service/role.d.ts +3 -0
  28. package/lib/rest/chat/v1/service/user/userChannel.d.ts +3 -0
  29. package/lib/rest/chat/v1/service.d.ts +9 -9
  30. package/lib/rest/chat/v2/credential.d.ts +3 -0
  31. package/lib/rest/chat/v2/service/channel/message.d.ts +3 -3
  32. package/lib/rest/chat/v2/service/channel/webhook.d.ts +3 -3
  33. package/lib/rest/chat/v2/service/channel.d.ts +3 -0
  34. package/lib/rest/chat/v2/service/role.d.ts +3 -0
  35. package/lib/rest/chat/v2/service/user/userChannel.d.ts +3 -0
  36. package/lib/rest/chat/v2/service.d.ts +9 -9
  37. package/lib/rest/chat/v3/channel.d.ts +3 -0
  38. package/lib/rest/content/v2/content.d.ts +6 -6
  39. package/lib/rest/content/v2/contentAndApprovals.d.ts +9 -9
  40. package/lib/rest/conversations/v1/addressConfiguration.d.ts +7 -7
  41. package/lib/rest/conversations/v1/conversation/message/deliveryReceipt.d.ts +6 -3
  42. package/lib/rest/conversations/v1/conversation/message.d.ts +9 -9
  43. package/lib/rest/conversations/v1/conversation/participant.d.ts +6 -6
  44. package/lib/rest/conversations/v1/conversation/webhook.d.ts +7 -7
  45. package/lib/rest/conversations/v1/conversation.d.ts +9 -9
  46. package/lib/rest/conversations/v1/conversationWithParticipants.d.ts +6 -6
  47. package/lib/rest/conversations/v1/credential.d.ts +6 -3
  48. package/lib/rest/conversations/v1/participantConversation.d.ts +12 -9
  49. package/lib/rest/conversations/v1/role.d.ts +6 -3
  50. package/lib/rest/conversations/v1/service/binding.d.ts +3 -3
  51. package/lib/rest/conversations/v1/service/configuration/notification.d.ts +9 -9
  52. package/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.d.ts +6 -3
  53. package/lib/rest/conversations/v1/service/conversation/message.d.ts +9 -9
  54. package/lib/rest/conversations/v1/service/conversation/participant.d.ts +6 -6
  55. package/lib/rest/conversations/v1/service/conversation/webhook.d.ts +7 -7
  56. package/lib/rest/conversations/v1/service/conversation.d.ts +9 -9
  57. package/lib/rest/conversations/v1/service/conversationWithParticipants.d.ts +6 -6
  58. package/lib/rest/conversations/v1/service/participantConversation.d.ts +12 -9
  59. package/lib/rest/conversations/v1/service/role.d.ts +6 -3
  60. package/lib/rest/conversations/v1/service/user/userConversation.d.ts +9 -6
  61. package/lib/rest/conversations/v1/service/user.d.ts +3 -3
  62. package/lib/rest/conversations/v1/service.d.ts +3 -3
  63. package/lib/rest/conversations/v1/user/userConversation.d.ts +9 -6
  64. package/lib/rest/conversations/v1/user.d.ts +3 -3
  65. package/lib/rest/events/v1/sink.d.ts +4 -4
  66. package/lib/rest/events/v1/subscription.d.ts +1 -1
  67. package/lib/rest/events/v1/subscription.js +1 -1
  68. package/lib/rest/flexApi/v1/assessments.d.ts +3 -3
  69. package/lib/rest/flexApi/v1/configuration.d.ts +66 -66
  70. package/lib/rest/flexApi/v1/flexFlow.d.ts +3 -3
  71. package/lib/rest/flexApi/v1/insightsAssessmentsComment.d.ts +3 -3
  72. package/lib/rest/flexApi/v1/insightsConversations.d.ts +3 -3
  73. package/lib/rest/flexApi/v1/insightsQuestionnaires.d.ts +3 -3
  74. package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.d.ts +6 -6
  75. package/lib/rest/flexApi/v1/insightsSegments.d.ts +9 -9
  76. package/lib/rest/flexApi/v1/insightsSettingsAnswerSets.d.ts +9 -9
  77. package/lib/rest/flexApi/v1/insightsSettingsComment.d.ts +3 -3
  78. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.d.ts +4 -4
  79. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +5 -5
  80. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionTransfer.d.ts +6 -0
  81. package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +4 -1
  82. package/lib/rest/flexApi/v1/interaction.d.ts +8 -8
  83. package/lib/rest/flexApi/v1/pluginConfiguration.d.ts +1 -1
  84. package/lib/rest/flexApi/v1/pluginConfiguration.js +1 -1
  85. package/lib/rest/frontlineApi/v1/user.d.ts +3 -0
  86. package/lib/rest/intelligence/v2/customOperator.d.ts +5 -5
  87. package/lib/rest/intelligence/v2/operator.d.ts +3 -3
  88. package/lib/rest/intelligence/v2/operatorType.d.ts +3 -3
  89. package/lib/rest/intelligence/v2/prebuiltOperator.d.ts +3 -3
  90. package/lib/rest/intelligence/v2/service.d.ts +3 -0
  91. package/lib/rest/intelligence/v2/transcript/operatorResult.d.ts +15 -15
  92. package/lib/rest/intelligence/v2/transcript/sentence.d.ts +3 -3
  93. package/lib/rest/intelligence/v2/transcript.d.ts +4 -4
  94. package/lib/rest/ipMessaging/v1/service.d.ts +9 -9
  95. package/lib/rest/ipMessaging/v2/service/channel/message.d.ts +3 -3
  96. package/lib/rest/ipMessaging/v2/service/channel/webhook.d.ts +3 -3
  97. package/lib/rest/ipMessaging/v2/service.d.ts +9 -9
  98. package/lib/rest/lookups/V2.d.ts +20 -0
  99. package/lib/rest/lookups/V2.js +25 -0
  100. package/lib/rest/lookups/v2/bucket.d.ts +205 -0
  101. package/lib/rest/lookups/v2/bucket.js +187 -0
  102. package/lib/rest/lookups/v2/lookupOverride.d.ts +264 -0
  103. package/lib/rest/lookups/v2/lookupOverride.js +225 -0
  104. package/lib/rest/lookups/v2/phoneNumber.d.ts +3 -0
  105. package/lib/rest/lookups/v2/query.d.ts +175 -0
  106. package/lib/rest/lookups/v2/query.js +123 -0
  107. package/lib/rest/lookups/v2/rateLimit.d.ts +83 -0
  108. package/lib/rest/lookups/v2/rateLimit.js +82 -0
  109. package/lib/rest/messaging/v1/service/destinationAlphaSender.d.ts +6 -0
  110. package/lib/rest/messaging/v1/service/destinationAlphaSender.js +2 -0
  111. package/lib/rest/messaging/v1/service.d.ts +3 -3
  112. package/lib/rest/messaging/v2/channelsSender.d.ts +49 -4
  113. package/lib/rest/messaging/v2/channelsSender.js +14 -2
  114. package/lib/rest/monitor/v1/event.d.ts +3 -3
  115. package/lib/rest/notify/v1/credential.d.ts +3 -0
  116. package/lib/rest/notify/v1/service/notification.d.ts +28 -28
  117. package/lib/rest/numbers/v1/bulkEligibility.d.ts +3 -3
  118. package/lib/rest/numbers/v1/eligibility.d.ts +3 -3
  119. package/lib/rest/numbers/v1/portingPortIn.d.ts +6 -6
  120. package/lib/rest/numbers/v2/bulkHostedNumberOrder.d.ts +3 -3
  121. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.d.ts +3 -3
  122. package/lib/rest/numbers/v2/regulatoryCompliance/endUser.d.ts +5 -5
  123. package/lib/rest/numbers/v2/regulatoryCompliance/endUserType.d.ts +3 -3
  124. package/lib/rest/numbers/v2/regulatoryCompliance/regulation.d.ts +3 -3
  125. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +8 -8
  126. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.d.ts +3 -3
  127. package/lib/rest/preview/marketplace/availableAddOn.d.ts +3 -3
  128. package/lib/rest/preview/marketplace/installedAddOn.d.ts +5 -5
  129. package/lib/rest/preview/wireless/sim/usage.d.ts +15 -15
  130. package/lib/rest/proxy/v1/service/session/interaction.d.ts +3 -0
  131. package/lib/rest/proxy/v1/service/session/participant/messageInteraction.d.ts +3 -0
  132. package/lib/rest/proxy/v1/service/session.d.ts +1 -1
  133. package/lib/rest/proxy/v1/service/session.js +1 -1
  134. package/lib/rest/proxy/v1/service.d.ts +0 -8
  135. package/lib/rest/proxy/v1/service.js +0 -13
  136. package/lib/rest/serverless/v1/service/build.d.ts +9 -9
  137. package/lib/rest/serverless/v1/service/environment/log.d.ts +6 -7
  138. package/lib/rest/studio/v1/flow/engagement/engagementContext.d.ts +3 -3
  139. package/lib/rest/studio/v1/flow/engagement/step/stepContext.d.ts +3 -3
  140. package/lib/rest/studio/v1/flow/engagement/step.d.ts +3 -3
  141. package/lib/rest/studio/v1/flow/engagement.d.ts +4 -4
  142. package/lib/rest/studio/v1/flow/execution/executionContext.d.ts +3 -3
  143. package/lib/rest/studio/v1/flow/execution/executionStep/executionStepContext.d.ts +3 -3
  144. package/lib/rest/studio/v1/flow/execution/executionStep.d.ts +3 -3
  145. package/lib/rest/studio/v1/flow/execution.d.ts +4 -4
  146. package/lib/rest/studio/v2/flow/execution/executionContext.d.ts +3 -3
  147. package/lib/rest/studio/v2/flow/execution/executionStep/executionStepContext.d.ts +3 -3
  148. package/lib/rest/studio/v2/flow/execution/executionStep.d.ts +3 -3
  149. package/lib/rest/studio/v2/flow/execution.d.ts +4 -4
  150. package/lib/rest/studio/v2/flow/flowRevision.d.ts +6 -6
  151. package/lib/rest/studio/v2/flow.d.ts +11 -11
  152. package/lib/rest/studio/v2/flowValidate.d.ts +1 -1
  153. package/lib/rest/supersim/v1/network.d.ts +3 -3
  154. package/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.d.ts +3 -3
  155. package/lib/rest/supersim/v1/settingsUpdate.d.ts +3 -3
  156. package/lib/rest/supersim/v1/sim/billingPeriod.d.ts +3 -0
  157. package/lib/rest/supersim/v1/usageRecord.d.ts +3 -3
  158. package/lib/rest/sync/v1/service/document/documentPermission.d.ts +3 -3
  159. package/lib/rest/sync/v1/service/document.d.ts +3 -3
  160. package/lib/rest/sync/v1/service/syncList/syncListItem.d.ts +3 -3
  161. package/lib/rest/sync/v1/service/syncList/syncListPermission.d.ts +3 -3
  162. package/lib/rest/sync/v1/service/syncList.d.ts +3 -3
  163. package/lib/rest/sync/v1/service/syncMap/syncMapItem.d.ts +3 -3
  164. package/lib/rest/sync/v1/service/syncMap/syncMapPermission.d.ts +3 -3
  165. package/lib/rest/sync/v1/service/syncMap.d.ts +3 -3
  166. package/lib/rest/sync/v1/service/syncStream.d.ts +3 -3
  167. package/lib/rest/sync/v1/service.d.ts +3 -3
  168. package/lib/rest/taskrouter/v1/workspace/event.d.ts +3 -3
  169. package/lib/rest/taskrouter/v1/workspace/task/reservation.d.ts +3 -0
  170. package/lib/rest/taskrouter/v1/workspace/task.d.ts +4 -1
  171. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueBulkRealTimeStatistics.d.ts +3 -3
  172. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueCumulativeStatistics.d.ts +12 -12
  173. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueRealTimeStatistics.d.ts +9 -9
  174. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueStatistics.d.ts +6 -6
  175. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.d.ts +6 -6
  176. package/lib/rest/taskrouter/v1/workspace/worker/reservation.d.ts +3 -0
  177. package/lib/rest/taskrouter/v1/workspace/worker/workerStatistics.d.ts +3 -3
  178. package/lib/rest/taskrouter/v1/workspace/worker/workersCumulativeStatistics.d.ts +3 -3
  179. package/lib/rest/taskrouter/v1/workspace/worker/workersRealTimeStatistics.d.ts +3 -3
  180. package/lib/rest/taskrouter/v1/workspace/worker/workersStatistics.d.ts +6 -6
  181. package/lib/rest/taskrouter/v1/workspace/workflow/workflowCumulativeStatistics.d.ts +9 -9
  182. package/lib/rest/taskrouter/v1/workspace/workflow/workflowRealTimeStatistics.d.ts +6 -6
  183. package/lib/rest/taskrouter/v1/workspace/workflow/workflowStatistics.d.ts +6 -6
  184. package/lib/rest/taskrouter/v1/workspace/workspaceCumulativeStatistics.d.ts +9 -9
  185. package/lib/rest/taskrouter/v1/workspace/workspaceRealTimeStatistics.d.ts +9 -9
  186. package/lib/rest/taskrouter/v1/workspace/workspaceStatistics.d.ts +6 -6
  187. package/lib/rest/taskrouter/v1/workspace.d.ts +3 -0
  188. package/lib/rest/trunking/v1/trunk/phoneNumber.d.ts +3 -0
  189. package/lib/rest/trunking/v1/trunk/recording.d.ts +6 -0
  190. package/lib/rest/trunking/v1/trunk.d.ts +12 -3
  191. package/lib/rest/trunking/v1/trunk.js +2 -0
  192. package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.d.ts +3 -3
  193. package/lib/rest/trusthub/v1/customerProfiles.d.ts +3 -3
  194. package/lib/rest/trusthub/v1/endUser.d.ts +5 -5
  195. package/lib/rest/trusthub/v1/endUserType.d.ts +3 -3
  196. package/lib/rest/trusthub/v1/policies.d.ts +3 -3
  197. package/lib/rest/trusthub/v1/supportingDocument.d.ts +5 -5
  198. package/lib/rest/trusthub/v1/supportingDocumentType.d.ts +3 -3
  199. package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.d.ts +3 -3
  200. package/lib/rest/trusthub/v1/trustProducts.d.ts +3 -3
  201. package/lib/rest/verify/v2/form.d.ts +9 -6
  202. package/lib/rest/verify/v2/service/accessToken.d.ts +3 -0
  203. package/lib/rest/verify/v2/service/entity/challenge.d.ts +21 -12
  204. package/lib/rest/verify/v2/service/entity/challenge.js +1 -1
  205. package/lib/rest/verify/v2/service/entity/factor.d.ts +12 -6
  206. package/lib/rest/verify/v2/service/entity/newFactor.d.ts +16 -10
  207. package/lib/rest/verify/v2/service/verification.d.ts +11 -11
  208. package/lib/rest/verify/v2/service/verificationCheck.d.ts +3 -3
  209. package/lib/rest/verify/v2/service/webhook.d.ts +3 -0
  210. package/lib/rest/verify/v2/service.d.ts +9 -9
  211. package/lib/rest/verify/v2/template.d.ts +3 -3
  212. package/lib/rest/verify/v2/verificationAttempt.d.ts +13 -10
  213. package/lib/rest/verify/v2/verificationAttemptsSummary.d.ts +2 -2
  214. package/lib/rest/video/v1/composition.d.ts +3 -3
  215. package/lib/rest/video/v1/recording.d.ts +3 -3
  216. package/lib/rest/video/v1/room/transcriptions.d.ts +316 -0
  217. package/lib/rest/{proxy/v1/service/shortCode.js → video/v1/room/transcriptions.js} +61 -78
  218. package/lib/rest/video/v1/room.d.ts +8 -0
  219. package/lib/rest/video/v1/room.js +13 -0
  220. package/lib/rest/wireless/v1/sim/dataSession.d.ts +3 -3
  221. package/lib/rest/wireless/v1/sim/usageRecord.d.ts +9 -9
  222. package/lib/rest/wireless/v1/usageRecord.d.ts +9 -9
  223. package/lib/twiml/VoiceResponse.d.ts +32 -1
  224. package/lib/twiml/VoiceResponse.js +18 -0
  225. package/package.json +1 -1
  226. package/lib/rest/Knowledge.d.ts +0 -4
  227. package/lib/rest/Knowledge.js +0 -8
  228. package/lib/rest/KnowledgeBase.d.ts +0 -13
  229. package/lib/rest/KnowledgeBase.js +0 -31
  230. package/lib/rest/Microvisor.d.ts +0 -14
  231. package/lib/rest/Microvisor.js +0 -22
  232. package/lib/rest/MicrovisorBase.d.ts +0 -13
  233. package/lib/rest/MicrovisorBase.js +0 -31
  234. package/lib/rest/knowledge/V1.d.ts +0 -15
  235. package/lib/rest/knowledge/V1.js +0 -36
  236. package/lib/rest/knowledge/v1/knowledge/chunk.d.ts +0 -167
  237. package/lib/rest/knowledge/v1/knowledge/chunk.js +0 -131
  238. package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.d.ts +0 -101
  239. package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.js +0 -118
  240. package/lib/rest/knowledge/v1/knowledge.d.ts +0 -406
  241. package/lib/rest/knowledge/v1/knowledge.js +0 -300
  242. package/lib/rest/microvisor/V1.d.ts +0 -30
  243. package/lib/rest/microvisor/V1.js +0 -56
  244. package/lib/rest/microvisor/v1/accountConfig.d.ts +0 -263
  245. package/lib/rest/microvisor/v1/accountConfig.js +0 -254
  246. package/lib/rest/microvisor/v1/accountSecret.d.ts +0 -257
  247. package/lib/rest/microvisor/v1/accountSecret.js +0 -252
  248. package/lib/rest/microvisor/v1/app/appManifest.d.ts +0 -101
  249. package/lib/rest/microvisor/v1/app/appManifest.js +0 -118
  250. package/lib/rest/microvisor/v1/app.d.ts +0 -251
  251. package/lib/rest/microvisor/v1/app.js +0 -222
  252. package/lib/rest/microvisor/v1/device/deviceConfig.d.ts +0 -271
  253. package/lib/rest/microvisor/v1/device/deviceConfig.js +0 -262
  254. package/lib/rest/microvisor/v1/device/deviceSecret.d.ts +0 -265
  255. package/lib/rest/microvisor/v1/device/deviceSecret.js +0 -260
  256. package/lib/rest/microvisor/v1/device.d.ts +0 -299
  257. package/lib/rest/microvisor/v1/device.js +0 -250
  258. package/lib/rest/proxy/v1/service/shortCode.d.ts +0 -316
@@ -5,7 +5,7 @@
5
5
  * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
6
6
  * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
7
7
  *
8
- * Twilio - Proxy
8
+ * Twilio - Video
9
9
  * This is the public Twilio REST API.
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator.
@@ -16,34 +16,23 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
16
16
  return (mod && mod.__esModule) ? mod : { "default": mod };
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.ShortCodePage = exports.ShortCodeListInstance = exports.ShortCodeInstance = exports.ShortCodeContextImpl = void 0;
19
+ exports.TranscriptionsPage = exports.TranscriptionsListInstance = exports.TranscriptionsInstance = exports.TranscriptionsContextImpl = void 0;
20
20
  const util_1 = require("util");
21
21
  const Page_1 = __importDefault(require("../../../../base/Page"));
22
22
  const deserialize = require("../../../../base/deserialize");
23
23
  const serialize = require("../../../../base/serialize");
24
24
  const utility_1 = require("../../../../base/utility");
25
- class ShortCodeContextImpl {
26
- constructor(_version, serviceSid, sid) {
25
+ class TranscriptionsContextImpl {
26
+ constructor(_version, roomSid, ttid) {
27
27
  this._version = _version;
28
- if (!(0, utility_1.isValidPathParam)(serviceSid)) {
29
- throw new Error("Parameter 'serviceSid' is not valid.");
28
+ if (!(0, utility_1.isValidPathParam)(roomSid)) {
29
+ throw new Error("Parameter 'roomSid' is not valid.");
30
30
  }
31
- if (!(0, utility_1.isValidPathParam)(sid)) {
32
- throw new Error("Parameter 'sid' is not valid.");
31
+ if (!(0, utility_1.isValidPathParam)(ttid)) {
32
+ throw new Error("Parameter 'ttid' is not valid.");
33
33
  }
34
- this._solution = { serviceSid, sid };
35
- this._uri = `/Services/${serviceSid}/ShortCodes/${sid}`;
36
- }
37
- remove(callback) {
38
- const headers = {};
39
- const instance = this;
40
- let operationVersion = instance._version, operationPromise = operationVersion.remove({
41
- uri: instance._uri,
42
- method: "delete",
43
- headers,
44
- });
45
- operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
46
- return operationPromise;
34
+ this._solution = { roomSid, ttid };
35
+ this._uri = `/Rooms/${roomSid}/Transcriptions/${ttid}`;
47
36
  }
48
37
  fetch(callback) {
49
38
  const headers = {};
@@ -54,7 +43,7 @@ class ShortCodeContextImpl {
54
43
  method: "get",
55
44
  headers,
56
45
  });
57
- operationPromise = operationPromise.then((payload) => new ShortCodeInstance(operationVersion, payload, instance._solution.serviceSid, instance._solution.sid));
46
+ operationPromise = operationPromise.then((payload) => new TranscriptionsInstance(operationVersion, payload, instance._solution.roomSid, instance._solution.ttid));
58
47
  operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
59
48
  return operationPromise;
60
49
  }
@@ -67,8 +56,8 @@ class ShortCodeContextImpl {
67
56
  params = params || {};
68
57
  }
69
58
  let data = {};
70
- if (params["isReserved"] !== undefined)
71
- data["IsReserved"] = serialize.bool(params["isReserved"]);
59
+ if (params["status"] !== undefined)
60
+ data["Status"] = params["status"];
72
61
  const headers = {};
73
62
  headers["Content-Type"] = "application/x-www-form-urlencoded";
74
63
  headers["Accept"] = "application/json";
@@ -79,7 +68,7 @@ class ShortCodeContextImpl {
79
68
  data,
80
69
  headers,
81
70
  });
82
- operationPromise = operationPromise.then((payload) => new ShortCodeInstance(operationVersion, payload, instance._solution.serviceSid, instance._solution.sid));
71
+ operationPromise = operationPromise.then((payload) => new TranscriptionsInstance(operationVersion, payload, instance._solution.roomSid, instance._solution.ttid));
83
72
  operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
84
73
  return operationPromise;
85
74
  }
@@ -95,44 +84,35 @@ class ShortCodeContextImpl {
95
84
  return (0, util_1.inspect)(this.toJSON(), options);
96
85
  }
97
86
  }
98
- exports.ShortCodeContextImpl = ShortCodeContextImpl;
99
- class ShortCodeInstance {
100
- constructor(_version, payload, serviceSid, sid) {
87
+ exports.TranscriptionsContextImpl = TranscriptionsContextImpl;
88
+ class TranscriptionsInstance {
89
+ constructor(_version, payload, roomSid, ttid) {
101
90
  this._version = _version;
102
- this.sid = payload.sid;
91
+ this.ttid = payload.ttid;
103
92
  this.accountSid = payload.account_sid;
104
- this.serviceSid = payload.service_sid;
93
+ this.roomSid = payload.room_sid;
94
+ this.status = payload.status;
95
+ this.identity = payload.identity;
105
96
  this.dateCreated = deserialize.iso8601DateTime(payload.date_created);
106
97
  this.dateUpdated = deserialize.iso8601DateTime(payload.date_updated);
107
- this.shortCode = payload.short_code;
108
- this.isoCountry = payload.iso_country;
109
- this.capabilities = payload.capabilities;
98
+ this.startTime = deserialize.iso8601DateTime(payload.start_time);
99
+ this.endTime = deserialize.iso8601DateTime(payload.end_time);
100
+ this.duration = deserialize.integer(payload.duration);
110
101
  this.url = payload.url;
111
- this.isReserved = payload.is_reserved;
112
- this._solution = { serviceSid, sid: sid || this.sid };
102
+ this._solution = { roomSid, ttid: ttid || this.ttid };
113
103
  }
114
104
  get _proxy() {
115
105
  this._context =
116
106
  this._context ||
117
- new ShortCodeContextImpl(this._version, this._solution.serviceSid, this._solution.sid);
107
+ new TranscriptionsContextImpl(this._version, this._solution.roomSid, this._solution.ttid);
118
108
  return this._context;
119
109
  }
120
110
  /**
121
- * Remove a ShortCodeInstance
122
- *
123
- * @param callback - Callback to handle processed record
124
- *
125
- * @returns Resolves to processed boolean
126
- */
127
- remove(callback) {
128
- return this._proxy.remove(callback);
129
- }
130
- /**
131
- * Fetch a ShortCodeInstance
111
+ * Fetch a TranscriptionsInstance
132
112
  *
133
113
  * @param callback - Callback to handle processed record
134
114
  *
135
- * @returns Resolves to processed ShortCodeInstance
115
+ * @returns Resolves to processed TranscriptionsInstance
136
116
  */
137
117
  fetch(callback) {
138
118
  return this._proxy.fetch(callback);
@@ -147,43 +127,46 @@ class ShortCodeInstance {
147
127
  */
148
128
  toJSON() {
149
129
  return {
150
- sid: this.sid,
130
+ ttid: this.ttid,
151
131
  accountSid: this.accountSid,
152
- serviceSid: this.serviceSid,
132
+ roomSid: this.roomSid,
133
+ status: this.status,
134
+ identity: this.identity,
153
135
  dateCreated: this.dateCreated,
154
136
  dateUpdated: this.dateUpdated,
155
- shortCode: this.shortCode,
156
- isoCountry: this.isoCountry,
157
- capabilities: this.capabilities,
137
+ startTime: this.startTime,
138
+ endTime: this.endTime,
139
+ duration: this.duration,
158
140
  url: this.url,
159
- isReserved: this.isReserved,
160
141
  };
161
142
  }
162
143
  [util_1.inspect.custom](_depth, options) {
163
144
  return (0, util_1.inspect)(this.toJSON(), options);
164
145
  }
165
146
  }
166
- exports.ShortCodeInstance = ShortCodeInstance;
167
- function ShortCodeListInstance(version, serviceSid) {
168
- if (!(0, utility_1.isValidPathParam)(serviceSid)) {
169
- throw new Error("Parameter 'serviceSid' is not valid.");
170
- }
171
- const instance = ((sid) => instance.get(sid));
172
- instance.get = function get(sid) {
173
- return new ShortCodeContextImpl(version, serviceSid, sid);
147
+ exports.TranscriptionsInstance = TranscriptionsInstance;
148
+ function TranscriptionsListInstance(version, roomSid) {
149
+ if (!(0, utility_1.isValidPathParam)(roomSid)) {
150
+ throw new Error("Parameter 'roomSid' is not valid.");
151
+ }
152
+ const instance = ((ttid) => instance.get(ttid));
153
+ instance.get = function get(ttid) {
154
+ return new TranscriptionsContextImpl(version, roomSid, ttid);
174
155
  };
175
156
  instance._version = version;
176
- instance._solution = { serviceSid };
177
- instance._uri = `/Services/${serviceSid}/ShortCodes`;
157
+ instance._solution = { roomSid };
158
+ instance._uri = `/Rooms/${roomSid}/Transcriptions`;
178
159
  instance.create = function create(params, callback) {
179
- if (params === null || params === undefined) {
180
- throw new Error('Required parameter "params" missing.');
160
+ if (params instanceof Function) {
161
+ callback = params;
162
+ params = {};
181
163
  }
182
- if (params["sid"] === null || params["sid"] === undefined) {
183
- throw new Error("Required parameter \"params['sid']\" missing.");
164
+ else {
165
+ params = params || {};
184
166
  }
185
167
  let data = {};
186
- data["Sid"] = params["sid"];
168
+ if (params["configuration"] !== undefined)
169
+ data["Configuration"] = serialize.object(params["configuration"]);
187
170
  const headers = {};
188
171
  headers["Content-Type"] = "application/x-www-form-urlencoded";
189
172
  headers["Accept"] = "application/json";
@@ -193,7 +176,7 @@ function ShortCodeListInstance(version, serviceSid) {
193
176
  data,
194
177
  headers,
195
178
  });
196
- operationPromise = operationPromise.then((payload) => new ShortCodeInstance(operationVersion, payload, instance._solution.serviceSid));
179
+ operationPromise = operationPromise.then((payload) => new TranscriptionsInstance(operationVersion, payload, instance._solution.roomSid));
197
180
  operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
198
181
  return operationPromise;
199
182
  };
@@ -220,7 +203,7 @@ function ShortCodeListInstance(version, serviceSid) {
220
203
  params: data,
221
204
  headers,
222
205
  });
223
- operationPromise = operationPromise.then((payload) => new ShortCodePage(operationVersion, payload, instance._solution));
206
+ operationPromise = operationPromise.then((payload) => new TranscriptionsPage(operationVersion, payload, instance._solution));
224
207
  operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
225
208
  return operationPromise;
226
209
  };
@@ -231,7 +214,7 @@ function ShortCodeListInstance(version, serviceSid) {
231
214
  method: "get",
232
215
  uri: targetUrl,
233
216
  });
234
- let pagePromise = operationPromise.then((payload) => new ShortCodePage(instance._version, payload, instance._solution));
217
+ let pagePromise = operationPromise.then((payload) => new TranscriptionsPage(instance._version, payload, instance._solution));
235
218
  pagePromise = instance._version.setPromiseCallback(pagePromise, callback);
236
219
  return pagePromise;
237
220
  };
@@ -243,10 +226,10 @@ function ShortCodeListInstance(version, serviceSid) {
243
226
  };
244
227
  return instance;
245
228
  }
246
- exports.ShortCodeListInstance = ShortCodeListInstance;
247
- class ShortCodePage extends Page_1.default {
229
+ exports.TranscriptionsListInstance = TranscriptionsListInstance;
230
+ class TranscriptionsPage extends Page_1.default {
248
231
  /**
249
- * Initialize the ShortCodePage
232
+ * Initialize the TranscriptionsPage
250
233
  *
251
234
  * @param version - Version of the resource
252
235
  * @param response - Response from the API
@@ -256,15 +239,15 @@ class ShortCodePage extends Page_1.default {
256
239
  super(version, response, solution);
257
240
  }
258
241
  /**
259
- * Build an instance of ShortCodeInstance
242
+ * Build an instance of TranscriptionsInstance
260
243
  *
261
244
  * @param payload - Payload response from the API
262
245
  */
263
246
  getInstance(payload) {
264
- return new ShortCodeInstance(this._version, payload, this._solution.serviceSid);
247
+ return new TranscriptionsInstance(this._version, payload, this._solution.roomSid);
265
248
  }
266
249
  [util_1.inspect.custom](depth, options) {
267
250
  return (0, util_1.inspect)(this.toJSON(), options);
268
251
  }
269
252
  }
270
- exports.ShortCodePage = ShortCodePage;
253
+ exports.TranscriptionsPage = TranscriptionsPage;
@@ -6,6 +6,7 @@ import V1 from "../V1";
6
6
  import { ParticipantListInstance } from "./room/participant";
7
7
  import { RecordingRulesListInstance } from "./room/recordingRules";
8
8
  import { RoomRecordingListInstance } from "./room/roomRecording";
9
+ import { TranscriptionsListInstance } from "./room/transcriptions";
9
10
  export type RoomRoomStatus = "in-progress" | "completed" | "failed";
10
11
  export type RoomRoomType = "go" | "peer-to-peer" | "group" | "group-small";
11
12
  export type RoomVideoCodec = "VP8" | "H264";
@@ -116,6 +117,7 @@ export interface RoomContext {
116
117
  participants: ParticipantListInstance;
117
118
  recordingRules: RecordingRulesListInstance;
118
119
  recordings: RoomRecordingListInstance;
120
+ transcriptions: TranscriptionsListInstance;
119
121
  /**
120
122
  * Fetch a RoomInstance
121
123
  *
@@ -149,10 +151,12 @@ export declare class RoomContextImpl implements RoomContext {
149
151
  protected _participants?: ParticipantListInstance;
150
152
  protected _recordingRules?: RecordingRulesListInstance;
151
153
  protected _recordings?: RoomRecordingListInstance;
154
+ protected _transcriptions?: TranscriptionsListInstance;
152
155
  constructor(_version: V1, sid: string);
153
156
  get participants(): ParticipantListInstance;
154
157
  get recordingRules(): RecordingRulesListInstance;
155
158
  get recordings(): RoomRecordingListInstance;
159
+ get transcriptions(): TranscriptionsListInstance;
156
160
  fetch(callback?: (error: Error | null, item?: RoomInstance) => any): Promise<RoomInstance>;
157
161
  update(params: RoomContextUpdateOptions, callback?: (error: Error | null, item?: RoomInstance) => any): Promise<RoomInstance>;
158
162
  /**
@@ -317,6 +321,10 @@ export declare class RoomInstance {
317
321
  * Access the recordings.
318
322
  */
319
323
  recordings(): RoomRecordingListInstance;
324
+ /**
325
+ * Access the transcriptions.
326
+ */
327
+ transcriptions(): TranscriptionsListInstance;
320
328
  /**
321
329
  * Provide a user-friendly representation
322
330
  *
@@ -25,6 +25,7 @@ const utility_1 = require("../../../base/utility");
25
25
  const participant_1 = require("./room/participant");
26
26
  const recordingRules_1 = require("./room/recordingRules");
27
27
  const roomRecording_1 = require("./room/roomRecording");
28
+ const transcriptions_1 = require("./room/transcriptions");
28
29
  class RoomContextImpl {
29
30
  constructor(_version, sid) {
30
31
  this._version = _version;
@@ -52,6 +53,12 @@ class RoomContextImpl {
52
53
  (0, roomRecording_1.RoomRecordingListInstance)(this._version, this._solution.sid);
53
54
  return this._recordings;
54
55
  }
56
+ get transcriptions() {
57
+ this._transcriptions =
58
+ this._transcriptions ||
59
+ (0, transcriptions_1.TranscriptionsListInstance)(this._version, this._solution.sid);
60
+ return this._transcriptions;
61
+ }
55
62
  fetch(callback) {
56
63
  const headers = {};
57
64
  headers["Accept"] = "application/json";
@@ -166,6 +173,12 @@ class RoomInstance {
166
173
  recordings() {
167
174
  return this._proxy.recordings;
168
175
  }
176
+ /**
177
+ * Access the transcriptions.
178
+ */
179
+ transcriptions() {
180
+ return this._proxy.transcriptions;
181
+ }
169
182
  /**
170
183
  * Provide a user-friendly representation
171
184
  *
@@ -113,7 +113,7 @@ interface DataSessionResource {
113
113
  operator_country: string;
114
114
  operator_name: string;
115
115
  cell_id: string;
116
- cell_location_estimate: Record<string, object>;
116
+ cell_location_estimate: any;
117
117
  packets_uploaded: number;
118
118
  packets_downloaded: number;
119
119
  last_updated: Date;
@@ -163,7 +163,7 @@ export declare class DataSessionInstance {
163
163
  /**
164
164
  * An object that describes the estimated location in latitude and longitude where the device\'s Data Session took place. The location is derived from the `cell_id` when the Data Session was last updated. See [Cell Location Estimate Object](https://www.twilio.com/docs/iot/wireless/api/datasession-resource#cell-location-estimate-object).
165
165
  */
166
- cellLocationEstimate: Record<string, object>;
166
+ cellLocationEstimate: any;
167
167
  /**
168
168
  * The number of packets uploaded by the device between the `start` time and when the Data Session was last updated.
169
169
  */
@@ -203,7 +203,7 @@ export declare class DataSessionInstance {
203
203
  operatorCountry: string;
204
204
  operatorName: string;
205
205
  cellId: string;
206
- cellLocationEstimate: Record<string, object>;
206
+ cellLocationEstimate: any;
207
207
  packetsUploaded: number;
208
208
  packetsDownloaded: number;
209
209
  lastUpdated: Date;
@@ -125,9 +125,9 @@ interface UsageRecordPayload extends TwilioResponsePayload {
125
125
  interface UsageRecordResource {
126
126
  sim_sid: string;
127
127
  account_sid: string;
128
- period: Record<string, object>;
129
- commands: Record<string, object>;
130
- data: Record<string, object>;
128
+ period: any;
129
+ commands: any;
130
+ data: any;
131
131
  }
132
132
  export declare class UsageRecordInstance {
133
133
  protected _version: V1;
@@ -143,15 +143,15 @@ export declare class UsageRecordInstance {
143
143
  /**
144
144
  * The time period for which the usage is reported. Contains `start` and `end` datetime values given as GMT in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
145
145
  */
146
- period: Record<string, object>;
146
+ period: any;
147
147
  /**
148
148
  * An object that describes the SIM\'s usage of Commands during the specified period. See [Commands Usage Object](https://www.twilio.com/docs/iot/wireless/api/sim-usagerecord-resource#commands-usage-object).
149
149
  */
150
- commands: Record<string, object>;
150
+ commands: any;
151
151
  /**
152
152
  * An object that describes the SIM\'s data usage during the specified period. See [Data Usage Object](https://www.twilio.com/docs/iot/wireless/api/sim-usagerecord-resource#data-usage-object).
153
153
  */
154
- data: Record<string, object>;
154
+ data: any;
155
155
  /**
156
156
  * Provide a user-friendly representation
157
157
  *
@@ -160,9 +160,9 @@ export declare class UsageRecordInstance {
160
160
  toJSON(): {
161
161
  simSid: string;
162
162
  accountSid: string;
163
- period: Record<string, object>;
164
- commands: Record<string, object>;
165
- data: Record<string, object>;
163
+ period: any;
164
+ commands: any;
165
+ data: any;
166
166
  };
167
167
  [inspect.custom](_depth: any, options: InspectOptions): string;
168
168
  }
@@ -123,9 +123,9 @@ interface UsageRecordPayload extends TwilioResponsePayload {
123
123
  }
124
124
  interface UsageRecordResource {
125
125
  account_sid: string;
126
- period: Record<string, object>;
127
- commands: Record<string, object>;
128
- data: Record<string, object>;
126
+ period: any;
127
+ commands: any;
128
+ data: any;
129
129
  }
130
130
  export declare class UsageRecordInstance {
131
131
  protected _version: V1;
@@ -137,15 +137,15 @@ export declare class UsageRecordInstance {
137
137
  /**
138
138
  * The time period for which usage is reported. Contains `start` and `end` properties that describe the period using GMT date-time values specified in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
139
139
  */
140
- period: Record<string, object>;
140
+ period: any;
141
141
  /**
142
142
  * An object that describes the aggregated Commands usage for all SIMs during the specified period. See [Commands Usage Object](https://www.twilio.com/docs/iot/wireless/api/account-usagerecord-resource#commands-usage-object).
143
143
  */
144
- commands: Record<string, object>;
144
+ commands: any;
145
145
  /**
146
146
  * An object that describes the aggregated Data usage for all SIMs over the period. See [Data Usage Object](https://www.twilio.com/docs/iot/wireless/api/account-usagerecord-resource#data-usage-object).
147
147
  */
148
- data: Record<string, object>;
148
+ data: any;
149
149
  /**
150
150
  * Provide a user-friendly representation
151
151
  *
@@ -153,9 +153,9 @@ export declare class UsageRecordInstance {
153
153
  */
154
154
  toJSON(): {
155
155
  accountSid: string;
156
- period: Record<string, object>;
157
- commands: Record<string, object>;
158
- data: Record<string, object>;
156
+ period: any;
157
+ commands: any;
158
+ data: any;
159
159
  };
160
160
  [inspect.custom](_depth: any, options: InspectOptions): string;
161
161
  }
@@ -172,7 +172,7 @@ declare namespace VoiceResponse {
172
172
  type ConferenceJitterBufferSize = "large" | "medium" | "small" | "off";
173
173
  type ConferenceRecord = "do-not-record" | "record-from-start";
174
174
  type ConferenceRecordingEvent = "in-progress" | "completed" | "absent";
175
- type ConferenceRegion = "us1" | "ie1" | "sg1" | "br1" | "au1" | "jp1" | "de1";
175
+ type ConferenceRegion = "us1" | "us2" | "ie1" | "sg1" | "br1" | "au1" | "jp1" | "de1";
176
176
  type ConferenceTrim = "trim-silence" | "do-not-trim";
177
177
  type ConversationEvent = "call-initiated" | "call-ringing" | "call-answered" | "call-completed";
178
178
  type ConversationRecord = "do-not-record" | "record-from-answer" | "record-from-ringing" | "record-from-answer-dual" | "record-from-ringing-dual" | "true" | "false";
@@ -215,6 +215,7 @@ declare namespace VoiceResponse {
215
215
  type StreamTrack = "inbound_track" | "outbound_track" | "both_tracks";
216
216
  type TranscriptionStatusCallbackMethod = "GET" | "POST";
217
217
  type TranscriptionTrack = "inbound_track" | "outbound_track" | "both_tracks";
218
+ type WhatsAppEvent = "initiated" | "ringing" | "answered" | "completed";
218
219
  /**
219
220
  * Attributes to pass to connect
220
221
  */
@@ -1372,6 +1373,21 @@ declare namespace VoiceResponse {
1372
1373
  /** url - TwiML URL */
1373
1374
  url?: string;
1374
1375
  }
1376
+ /**
1377
+ * Attributes to pass to whatsApp
1378
+ */
1379
+ export interface WhatsAppAttributes {
1380
+ /** method - TwiML URL Method */
1381
+ method?: string;
1382
+ /** statusCallback - Status Callback URL */
1383
+ statusCallback?: string;
1384
+ /** statusCallbackEvent - Events to trigger status callback */
1385
+ statusCallbackEvent?: WhatsAppEvent[];
1386
+ /** statusCallbackMethod - Status Callback URL Method */
1387
+ statusCallbackMethod?: string;
1388
+ /** url - TwiML URL */
1389
+ url?: string;
1390
+ }
1375
1391
  /**
1376
1392
  * Attributes to pass to parameter
1377
1393
  */
@@ -1852,6 +1868,14 @@ declare namespace VoiceResponse {
1852
1868
  */
1853
1869
  sip(sipUrl: string): VoiceResponse.Sip;
1854
1870
  sip(attributes: VoiceResponse.SipAttributes, sipUrl: string): VoiceResponse.Sip;
1871
+ /**
1872
+ * <WhatsApp> TwiML Noun
1873
+ *
1874
+ * @param attributes - TwiML attributes
1875
+ * @param phoneNumber - WhatsApp Phone Number to dial
1876
+ */
1877
+ whatsApp(phoneNumber: string): VoiceResponse.WhatsApp;
1878
+ whatsApp(attributes: VoiceResponse.WhatsAppAttributes, phoneNumber: string): VoiceResponse.WhatsApp;
1855
1879
  }
1856
1880
  export class Echo extends TwiML {
1857
1881
  echo: XMLElement;
@@ -2770,6 +2794,13 @@ declare namespace VoiceResponse {
2770
2794
  */
2771
2795
  parameter(attributes?: VoiceResponse.ParameterAttributes): VoiceResponse.Parameter;
2772
2796
  }
2797
+ export class WhatsApp extends TwiML {
2798
+ whatsApp: XMLElement;
2799
+ /**
2800
+ * <WhatsApp> TwiML Noun
2801
+ */
2802
+ constructor(whatsApp: XMLElement);
2803
+ }
2773
2804
  export {};
2774
2805
  }
2775
2806
  export = VoiceResponse;
@@ -480,6 +480,13 @@ class VoiceResponse extends TwiML_1.default {
480
480
  }
481
481
  return new VoiceResponse.Sip(this.dial.ele("Sip", attributes, sipUrl));
482
482
  }
483
+ whatsApp(attributes, phoneNumber) {
484
+ if (typeof attributes === "string") {
485
+ phoneNumber = attributes;
486
+ attributes = {};
487
+ }
488
+ return new VoiceResponse.WhatsApp(this.dial.ele("WhatsApp", attributes, phoneNumber));
489
+ }
483
490
  }
484
491
  VoiceResponse.Dial = Dial;
485
492
  class Echo extends TwiML_1.default {
@@ -1553,5 +1560,16 @@ class VoiceResponse extends TwiML_1.default {
1553
1560
  }
1554
1561
  }
1555
1562
  VoiceResponse.VirtualAgent = VirtualAgent;
1563
+ class WhatsApp extends TwiML_1.default {
1564
+ /**
1565
+ * <WhatsApp> TwiML Noun
1566
+ */
1567
+ constructor(whatsApp) {
1568
+ super();
1569
+ this.whatsApp = whatsApp;
1570
+ this._propertyName = "whatsApp";
1571
+ }
1572
+ }
1573
+ VoiceResponse.WhatsApp = WhatsApp;
1556
1574
  })(VoiceResponse || (VoiceResponse = {}));
1557
1575
  module.exports = VoiceResponse;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "twilio",
3
3
  "description": "A Twilio helper library",
4
- "version": "5.7.0",
4
+ "version": "5.7.2",
5
5
  "author": "API Team <api@twilio.com>",
6
6
  "contributors": [
7
7
  {
@@ -1,4 +0,0 @@
1
- import KnowledgeBase from "./KnowledgeBase";
2
- declare class Knowledge extends KnowledgeBase {
3
- }
4
- export = Knowledge;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- const KnowledgeBase_1 = __importDefault(require("./KnowledgeBase"));
6
- class Knowledge extends KnowledgeBase_1.default {
7
- }
8
- module.exports = Knowledge;
@@ -1,13 +0,0 @@
1
- import Domain from "../base/Domain";
2
- import V1 from "./knowledge/V1";
3
- declare class KnowledgeBase extends Domain {
4
- _v1?: V1;
5
- /**
6
- * Initialize knowledge domain
7
- *
8
- * @param twilio - The twilio client
9
- */
10
- constructor(twilio: any);
11
- get v1(): V1;
12
- }
13
- export = KnowledgeBase;
@@ -1,31 +0,0 @@
1
- "use strict";
2
- /*
3
- * This code was generated by
4
- * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
5
- * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
6
- * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator.
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- var __importDefault = (this && this.__importDefault) || function (mod) {
13
- return (mod && mod.__esModule) ? mod : { "default": mod };
14
- };
15
- const Domain_1 = __importDefault(require("../base/Domain"));
16
- const V1_1 = __importDefault(require("./knowledge/V1"));
17
- class KnowledgeBase extends Domain_1.default {
18
- /**
19
- * Initialize knowledge domain
20
- *
21
- * @param twilio - The twilio client
22
- */
23
- constructor(twilio) {
24
- super(twilio, "https://knowledge.twilio.com");
25
- }
26
- get v1() {
27
- this._v1 = this._v1 || new V1_1.default(this);
28
- return this._v1;
29
- }
30
- }
31
- module.exports = KnowledgeBase;
@@ -1,14 +0,0 @@
1
- import { AppListInstance } from "./microvisor/v1/app";
2
- import { DeviceListInstance } from "./microvisor/v1/device";
3
- import MicrovisorBase from "./MicrovisorBase";
4
- declare class Microvisor extends MicrovisorBase {
5
- /**
6
- * @deprecated - Use v1.apps instead
7
- */
8
- get apps(): AppListInstance;
9
- /**
10
- * @deprecated - Use v1.devices instead
11
- */
12
- get devices(): DeviceListInstance;
13
- }
14
- export = Microvisor;