twilio 5.7.1 → 5.7.3

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 (213) 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 +3 -3
  8. package/lib/rest/api/v2010/account/call/event.d.ts +6 -6
  9. package/lib/rest/api/v2010/account/call/payment.d.ts +1 -1
  10. package/lib/rest/api/v2010/account/call/recording.d.ts +3 -3
  11. package/lib/rest/api/v2010/account/conference/recording.d.ts +3 -3
  12. package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.d.ts +3 -3
  13. package/lib/rest/api/v2010/account/recording.d.ts +3 -3
  14. package/lib/rest/bulkexports/v1/export/day.d.ts +3 -3
  15. package/lib/rest/bulkexports/v1/export/exportCustomJob.d.ts +3 -3
  16. package/lib/rest/bulkexports/v1/export/job.d.ts +3 -3
  17. package/lib/rest/chat/v1/service.d.ts +9 -9
  18. package/lib/rest/chat/v2/service/channel/message.d.ts +3 -3
  19. package/lib/rest/chat/v2/service/channel/webhook.d.ts +3 -3
  20. package/lib/rest/chat/v2/service.d.ts +9 -9
  21. package/lib/rest/conversations/v1/addressConfiguration.d.ts +4 -4
  22. package/lib/rest/conversations/v1/conversation/message.d.ts +6 -6
  23. package/lib/rest/conversations/v1/conversation/participant.d.ts +3 -3
  24. package/lib/rest/conversations/v1/conversation/webhook.d.ts +4 -4
  25. package/lib/rest/conversations/v1/conversation.d.ts +6 -6
  26. package/lib/rest/conversations/v1/conversationWithParticipants.d.ts +6 -6
  27. package/lib/rest/conversations/v1/participantConversation.d.ts +6 -6
  28. package/lib/rest/conversations/v1/service/configuration/notification.d.ts +9 -9
  29. package/lib/rest/conversations/v1/service/conversation/message.d.ts +6 -6
  30. package/lib/rest/conversations/v1/service/conversation/participant.d.ts +3 -3
  31. package/lib/rest/conversations/v1/service/conversation/webhook.d.ts +4 -4
  32. package/lib/rest/conversations/v1/service/conversation.d.ts +6 -6
  33. package/lib/rest/conversations/v1/service/conversationWithParticipants.d.ts +6 -6
  34. package/lib/rest/conversations/v1/service/participantConversation.d.ts +6 -6
  35. package/lib/rest/conversations/v1/service/user/userConversation.d.ts +3 -3
  36. package/lib/rest/conversations/v1/user/userConversation.d.ts +3 -3
  37. package/lib/rest/events/v1/sink.d.ts +4 -4
  38. package/lib/rest/events/v1/subscription.d.ts +1 -1
  39. package/lib/rest/events/v1/subscription.js +1 -1
  40. package/lib/rest/flexApi/v1/assessments.d.ts +3 -3
  41. package/lib/rest/flexApi/v1/configuration.d.ts +66 -66
  42. package/lib/rest/flexApi/v1/flexFlow.d.ts +3 -3
  43. package/lib/rest/flexApi/v1/insightsAssessmentsComment.d.ts +3 -3
  44. package/lib/rest/flexApi/v1/insightsConversations.d.ts +3 -3
  45. package/lib/rest/flexApi/v1/insightsQuestionnaires.d.ts +3 -3
  46. package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.d.ts +6 -6
  47. package/lib/rest/flexApi/v1/insightsSegments.d.ts +9 -9
  48. package/lib/rest/flexApi/v1/insightsSettingsAnswerSets.d.ts +9 -9
  49. package/lib/rest/flexApi/v1/insightsSettingsComment.d.ts +3 -3
  50. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.d.ts +4 -4
  51. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +5 -5
  52. package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +1 -1
  53. package/lib/rest/flexApi/v1/interaction.d.ts +8 -8
  54. package/lib/rest/flexApi/v1/pluginConfiguration.d.ts +1 -1
  55. package/lib/rest/flexApi/v1/pluginConfiguration.js +1 -1
  56. package/lib/rest/intelligence/v2/customOperator.d.ts +5 -5
  57. package/lib/rest/intelligence/v2/operator.d.ts +3 -3
  58. package/lib/rest/intelligence/v2/operatorType.d.ts +3 -3
  59. package/lib/rest/intelligence/v2/prebuiltOperator.d.ts +3 -3
  60. package/lib/rest/intelligence/v2/transcript/operatorResult.d.ts +15 -15
  61. package/lib/rest/intelligence/v2/transcript/sentence.d.ts +3 -3
  62. package/lib/rest/intelligence/v2/transcript.d.ts +4 -4
  63. package/lib/rest/ipMessaging/v1/service.d.ts +9 -9
  64. package/lib/rest/ipMessaging/v2/service/channel/message.d.ts +3 -3
  65. package/lib/rest/ipMessaging/v2/service/channel/webhook.d.ts +3 -3
  66. package/lib/rest/ipMessaging/v2/service.d.ts +9 -9
  67. package/lib/rest/lookups/V2.d.ts +20 -0
  68. package/lib/rest/lookups/V2.js +25 -0
  69. package/lib/rest/lookups/v2/bucket.d.ts +205 -0
  70. package/lib/rest/lookups/v2/bucket.js +187 -0
  71. package/lib/rest/lookups/v2/lookupOverride.d.ts +279 -0
  72. package/lib/rest/lookups/v2/lookupOverride.js +225 -0
  73. package/lib/rest/lookups/v2/query.d.ts +175 -0
  74. package/lib/rest/lookups/v2/query.js +123 -0
  75. package/lib/rest/lookups/v2/rateLimit.d.ts +83 -0
  76. package/lib/rest/lookups/v2/rateLimit.js +82 -0
  77. package/lib/rest/messaging/v1/service/usAppToPerson.d.ts +3 -3
  78. package/lib/rest/messaging/v1/service/usAppToPersonUsecase.d.ts +3 -3
  79. package/lib/rest/messaging/v1/service.d.ts +3 -3
  80. package/lib/rest/messaging/v1/tollfreeVerification.d.ts +3 -3
  81. package/lib/rest/messaging/v1/usecase.d.ts +3 -3
  82. package/lib/rest/messaging/v2/channelsSender.d.ts +49 -4
  83. package/lib/rest/messaging/v2/channelsSender.js +14 -2
  84. package/lib/rest/monitor/v1/event.d.ts +3 -3
  85. package/lib/rest/notify/v1/service/notification.d.ts +28 -28
  86. package/lib/rest/numbers/v1/bulkEligibility.d.ts +3 -3
  87. package/lib/rest/numbers/v1/eligibility.d.ts +3 -3
  88. package/lib/rest/numbers/v1/portingPortIn.d.ts +6 -6
  89. package/lib/rest/numbers/v2/bulkHostedNumberOrder.d.ts +3 -3
  90. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.d.ts +3 -3
  91. package/lib/rest/numbers/v2/regulatoryCompliance/endUser.d.ts +5 -5
  92. package/lib/rest/numbers/v2/regulatoryCompliance/endUserType.d.ts +3 -3
  93. package/lib/rest/numbers/v2/regulatoryCompliance/regulation.d.ts +3 -3
  94. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +8 -8
  95. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.d.ts +3 -3
  96. package/lib/rest/preview/marketplace/availableAddOn.d.ts +3 -3
  97. package/lib/rest/preview/marketplace/installedAddOn.d.ts +5 -5
  98. package/lib/rest/preview/wireless/sim/usage.d.ts +15 -15
  99. package/lib/rest/proxy/v1/service/session.d.ts +1 -1
  100. package/lib/rest/proxy/v1/service/session.js +1 -1
  101. package/lib/rest/proxy/v1/service.d.ts +0 -8
  102. package/lib/rest/proxy/v1/service.js +0 -13
  103. package/lib/rest/serverless/v1/service/build.d.ts +9 -9
  104. package/lib/rest/serverless/v1/service/environment/log.d.ts +6 -7
  105. package/lib/rest/studio/v1/flow/engagement/engagementContext.d.ts +3 -3
  106. package/lib/rest/studio/v1/flow/engagement/step/stepContext.d.ts +3 -3
  107. package/lib/rest/studio/v1/flow/engagement/step.d.ts +3 -3
  108. package/lib/rest/studio/v1/flow/engagement.d.ts +4 -4
  109. package/lib/rest/studio/v1/flow/execution/executionContext.d.ts +3 -3
  110. package/lib/rest/studio/v1/flow/execution/executionStep/executionStepContext.d.ts +3 -3
  111. package/lib/rest/studio/v1/flow/execution/executionStep.d.ts +3 -3
  112. package/lib/rest/studio/v1/flow/execution.d.ts +4 -4
  113. package/lib/rest/studio/v2/flow/execution/executionContext.d.ts +3 -3
  114. package/lib/rest/studio/v2/flow/execution/executionStep/executionStepContext.d.ts +3 -3
  115. package/lib/rest/studio/v2/flow/execution/executionStep.d.ts +3 -3
  116. package/lib/rest/studio/v2/flow/execution.d.ts +4 -4
  117. package/lib/rest/studio/v2/flow/flowRevision.d.ts +6 -6
  118. package/lib/rest/studio/v2/flow.d.ts +11 -11
  119. package/lib/rest/studio/v2/flowValidate.d.ts +1 -1
  120. package/lib/rest/supersim/v1/network.d.ts +3 -3
  121. package/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.d.ts +3 -3
  122. package/lib/rest/supersim/v1/settingsUpdate.d.ts +3 -3
  123. package/lib/rest/supersim/v1/usageRecord.d.ts +3 -3
  124. package/lib/rest/sync/v1/service/document.d.ts +2 -2
  125. package/lib/rest/sync/v1/service/syncList/syncListItem.d.ts +2 -2
  126. package/lib/rest/sync/v1/service/syncMap/syncMapItem.d.ts +2 -2
  127. package/lib/rest/sync/v1/service/syncStream/streamMessage.d.ts +1 -1
  128. package/lib/rest/taskrouter/v1/workspace/event.d.ts +3 -3
  129. package/lib/rest/taskrouter/v1/workspace/task.d.ts +1 -1
  130. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueBulkRealTimeStatistics.d.ts +3 -3
  131. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueCumulativeStatistics.d.ts +12 -12
  132. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueRealTimeStatistics.d.ts +9 -9
  133. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueStatistics.d.ts +6 -6
  134. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.d.ts +6 -6
  135. package/lib/rest/taskrouter/v1/workspace/worker/workerStatistics.d.ts +3 -3
  136. package/lib/rest/taskrouter/v1/workspace/worker/workersCumulativeStatistics.d.ts +3 -3
  137. package/lib/rest/taskrouter/v1/workspace/worker/workersRealTimeStatistics.d.ts +3 -3
  138. package/lib/rest/taskrouter/v1/workspace/worker/workersStatistics.d.ts +6 -6
  139. package/lib/rest/taskrouter/v1/workspace/workflow/workflowCumulativeStatistics.d.ts +9 -9
  140. package/lib/rest/taskrouter/v1/workspace/workflow/workflowRealTimeStatistics.d.ts +6 -6
  141. package/lib/rest/taskrouter/v1/workspace/workflow/workflowStatistics.d.ts +6 -6
  142. package/lib/rest/taskrouter/v1/workspace/workspaceCumulativeStatistics.d.ts +9 -9
  143. package/lib/rest/taskrouter/v1/workspace/workspaceRealTimeStatistics.d.ts +9 -9
  144. package/lib/rest/taskrouter/v1/workspace/workspaceStatistics.d.ts +6 -6
  145. package/lib/rest/trunking/v1/trunk.d.ts +9 -3
  146. package/lib/rest/trunking/v1/trunk.js +2 -0
  147. package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.d.ts +3 -3
  148. package/lib/rest/trusthub/v1/customerProfiles.d.ts +3 -3
  149. package/lib/rest/trusthub/v1/endUser.d.ts +5 -5
  150. package/lib/rest/trusthub/v1/endUserType.d.ts +3 -3
  151. package/lib/rest/trusthub/v1/policies.d.ts +3 -3
  152. package/lib/rest/trusthub/v1/supportingDocument.d.ts +5 -5
  153. package/lib/rest/trusthub/v1/supportingDocumentType.d.ts +3 -3
  154. package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.d.ts +3 -3
  155. package/lib/rest/trusthub/v1/trustProducts.d.ts +3 -3
  156. package/lib/rest/verify/v2/form.d.ts +6 -6
  157. package/lib/rest/verify/v2/service/entity/challenge.d.ts +12 -12
  158. package/lib/rest/verify/v2/service/entity/challenge.js +1 -1
  159. package/lib/rest/verify/v2/service/entity/factor.d.ts +6 -6
  160. package/lib/rest/verify/v2/service/entity/newFactor.d.ts +10 -10
  161. package/lib/rest/verify/v2/service/verification.d.ts +11 -11
  162. package/lib/rest/verify/v2/service/verificationCheck.d.ts +3 -3
  163. package/lib/rest/verify/v2/service.d.ts +9 -9
  164. package/lib/rest/verify/v2/template.d.ts +3 -3
  165. package/lib/rest/verify/v2/verificationAttempt.d.ts +11 -11
  166. package/lib/rest/verify/v2/verificationAttemptsSummary.d.ts +2 -2
  167. package/lib/rest/video/v1/composition.d.ts +1 -1
  168. package/lib/rest/video/v1/compositionHook.d.ts +2 -2
  169. package/lib/rest/video/v1/room/participant/subscribeRules.d.ts +1 -1
  170. package/lib/rest/video/v1/room/recordingRules.d.ts +1 -1
  171. package/lib/rest/video/v1/room/transcriptions.d.ts +316 -0
  172. package/lib/rest/{proxy/v1/service/shortCode.js → video/v1/room/transcriptions.js} +61 -78
  173. package/lib/rest/video/v1/room.d.ts +9 -1
  174. package/lib/rest/video/v1/room.js +13 -0
  175. package/lib/rest/wireless/v1/sim/dataSession.d.ts +3 -3
  176. package/lib/rest/wireless/v1/sim/usageRecord.d.ts +9 -9
  177. package/lib/rest/wireless/v1/usageRecord.d.ts +9 -9
  178. package/lib/twiml/VoiceResponse.d.ts +31 -0
  179. package/lib/twiml/VoiceResponse.js +18 -0
  180. package/package.json +1 -1
  181. package/lib/rest/Knowledge.d.ts +0 -4
  182. package/lib/rest/Knowledge.js +0 -8
  183. package/lib/rest/KnowledgeBase.d.ts +0 -13
  184. package/lib/rest/KnowledgeBase.js +0 -31
  185. package/lib/rest/Microvisor.d.ts +0 -14
  186. package/lib/rest/Microvisor.js +0 -22
  187. package/lib/rest/MicrovisorBase.d.ts +0 -13
  188. package/lib/rest/MicrovisorBase.js +0 -31
  189. package/lib/rest/knowledge/V1.d.ts +0 -15
  190. package/lib/rest/knowledge/V1.js +0 -36
  191. package/lib/rest/knowledge/v1/knowledge/chunk.d.ts +0 -167
  192. package/lib/rest/knowledge/v1/knowledge/chunk.js +0 -131
  193. package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.d.ts +0 -101
  194. package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.js +0 -118
  195. package/lib/rest/knowledge/v1/knowledge.d.ts +0 -412
  196. package/lib/rest/knowledge/v1/knowledge.js +0 -302
  197. package/lib/rest/microvisor/V1.d.ts +0 -30
  198. package/lib/rest/microvisor/V1.js +0 -56
  199. package/lib/rest/microvisor/v1/accountConfig.d.ts +0 -263
  200. package/lib/rest/microvisor/v1/accountConfig.js +0 -254
  201. package/lib/rest/microvisor/v1/accountSecret.d.ts +0 -257
  202. package/lib/rest/microvisor/v1/accountSecret.js +0 -252
  203. package/lib/rest/microvisor/v1/app/appManifest.d.ts +0 -101
  204. package/lib/rest/microvisor/v1/app/appManifest.js +0 -118
  205. package/lib/rest/microvisor/v1/app.d.ts +0 -251
  206. package/lib/rest/microvisor/v1/app.js +0 -222
  207. package/lib/rest/microvisor/v1/device/deviceConfig.d.ts +0 -271
  208. package/lib/rest/microvisor/v1/device/deviceConfig.js +0 -262
  209. package/lib/rest/microvisor/v1/device/deviceSecret.d.ts +0 -265
  210. package/lib/rest/microvisor/v1/device/deviceSecret.js +0 -260
  211. package/lib/rest/microvisor/v1/device.d.ts +0 -299
  212. package/lib/rest/microvisor/v1/device.js +0 -250
  213. package/lib/rest/proxy/v1/service/shortCode.d.ts +0 -316
@@ -0,0 +1,316 @@
1
+ /// <reference types="node" />
2
+ import { inspect, InspectOptions } from "util";
3
+ import Page, { TwilioResponsePayload } from "../../../../base/Page";
4
+ import Response from "../../../../http/response";
5
+ import V1 from "../../V1";
6
+ /**
7
+ * The status of the transcriptions resource.
8
+ */
9
+ export type TranscriptionsStatus = "started" | "stopped" | "failed";
10
+ /**
11
+ * Options to pass to update a TranscriptionsInstance
12
+ */
13
+ export interface TranscriptionsContextUpdateOptions {
14
+ /** */
15
+ status?: TranscriptionsStatus;
16
+ }
17
+ /**
18
+ * Options to pass to create a TranscriptionsInstance
19
+ */
20
+ export interface TranscriptionsListInstanceCreateOptions {
21
+ /** A collection of properties that describe transcription behaviour. */
22
+ configuration?: object;
23
+ }
24
+ /**
25
+ * Options to pass to each
26
+ */
27
+ export interface TranscriptionsListInstanceEachOptions {
28
+ /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
29
+ pageSize?: number;
30
+ /** Function to process each record. If this and a positional callback are passed, this one will be used */
31
+ callback?: (item: TranscriptionsInstance, done: (err?: Error) => void) => void;
32
+ /** Function to be called upon completion of streaming */
33
+ done?: Function;
34
+ /** Upper limit for the number of records to return. each() guarantees never to return more than limit. Default is no limit */
35
+ limit?: number;
36
+ }
37
+ /**
38
+ * Options to pass to list
39
+ */
40
+ export interface TranscriptionsListInstanceOptions {
41
+ /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
42
+ pageSize?: number;
43
+ /** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
44
+ limit?: number;
45
+ }
46
+ /**
47
+ * Options to pass to page
48
+ */
49
+ export interface TranscriptionsListInstancePageOptions {
50
+ /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
51
+ pageSize?: number;
52
+ /** Page Number, this value is simply for client state */
53
+ pageNumber?: number;
54
+ /** PageToken provided by the API */
55
+ pageToken?: string;
56
+ }
57
+ export interface TranscriptionsContext {
58
+ /**
59
+ * Fetch a TranscriptionsInstance
60
+ *
61
+ * @param callback - Callback to handle processed record
62
+ *
63
+ * @returns Resolves to processed TranscriptionsInstance
64
+ */
65
+ fetch(callback?: (error: Error | null, item?: TranscriptionsInstance) => any): Promise<TranscriptionsInstance>;
66
+ /**
67
+ * Update a TranscriptionsInstance
68
+ *
69
+ * @param callback - Callback to handle processed record
70
+ *
71
+ * @returns Resolves to processed TranscriptionsInstance
72
+ */
73
+ update(callback?: (error: Error | null, item?: TranscriptionsInstance) => any): Promise<TranscriptionsInstance>;
74
+ /**
75
+ * Update a TranscriptionsInstance
76
+ *
77
+ * @param params - Parameter for request
78
+ * @param callback - Callback to handle processed record
79
+ *
80
+ * @returns Resolves to processed TranscriptionsInstance
81
+ */
82
+ update(params: TranscriptionsContextUpdateOptions, callback?: (error: Error | null, item?: TranscriptionsInstance) => any): Promise<TranscriptionsInstance>;
83
+ /**
84
+ * Provide a user-friendly representation
85
+ */
86
+ toJSON(): any;
87
+ [inspect.custom](_depth: any, options: InspectOptions): any;
88
+ }
89
+ export interface TranscriptionsContextSolution {
90
+ roomSid: string;
91
+ ttid: string;
92
+ }
93
+ export declare class TranscriptionsContextImpl implements TranscriptionsContext {
94
+ protected _version: V1;
95
+ protected _solution: TranscriptionsContextSolution;
96
+ protected _uri: string;
97
+ constructor(_version: V1, roomSid: string, ttid: string);
98
+ fetch(callback?: (error: Error | null, item?: TranscriptionsInstance) => any): Promise<TranscriptionsInstance>;
99
+ update(params?: TranscriptionsContextUpdateOptions | ((error: Error | null, item?: TranscriptionsInstance) => any), callback?: (error: Error | null, item?: TranscriptionsInstance) => any): Promise<TranscriptionsInstance>;
100
+ /**
101
+ * Provide a user-friendly representation
102
+ *
103
+ * @returns Object
104
+ */
105
+ toJSON(): TranscriptionsContextSolution;
106
+ [inspect.custom](_depth: any, options: InspectOptions): string;
107
+ }
108
+ interface TranscriptionsPayload extends TwilioResponsePayload {
109
+ transcriptions: TranscriptionsResource[];
110
+ }
111
+ interface TranscriptionsResource {
112
+ ttid: string;
113
+ account_sid: string;
114
+ room_sid: string;
115
+ status: TranscriptionsStatus;
116
+ date_created: Date;
117
+ date_updated: Date;
118
+ start_time: Date;
119
+ end_time: Date;
120
+ duration: number;
121
+ url: string;
122
+ configuration: Record<string, object>;
123
+ }
124
+ export declare class TranscriptionsInstance {
125
+ protected _version: V1;
126
+ protected _solution: TranscriptionsContextSolution;
127
+ protected _context?: TranscriptionsContext;
128
+ constructor(_version: V1, payload: TranscriptionsResource, roomSid: string, ttid?: string);
129
+ /**
130
+ * The unique string that we created to identify the transcriptions resource.
131
+ */
132
+ ttid: string;
133
+ /**
134
+ * The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Room resource.
135
+ */
136
+ accountSid: string;
137
+ /**
138
+ * The SID of the transcriptions\'s room.
139
+ */
140
+ roomSid: string;
141
+ status: TranscriptionsStatus;
142
+ /**
143
+ * The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
144
+ */
145
+ dateCreated: Date;
146
+ /**
147
+ * The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
148
+ */
149
+ dateUpdated: Date;
150
+ /**
151
+ * The time of transcriptions connected to the room in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#UTC) format.
152
+ */
153
+ startTime: Date;
154
+ /**
155
+ * The time when the transcriptions disconnected from the room in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#UTC) format.
156
+ */
157
+ endTime: Date;
158
+ /**
159
+ * The duration in seconds that the transcriptions were `connected`. Populated only after the transcriptions is `stopped`.
160
+ */
161
+ duration: number;
162
+ /**
163
+ * The absolute URL of the resource.
164
+ */
165
+ url: string;
166
+ /**
167
+ * An JSON object that describes the video layout of the composition in terms of regions. See [Specifying Video Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts) for more info.
168
+ */
169
+ configuration: Record<string, object>;
170
+ private get _proxy();
171
+ /**
172
+ * Fetch a TranscriptionsInstance
173
+ *
174
+ * @param callback - Callback to handle processed record
175
+ *
176
+ * @returns Resolves to processed TranscriptionsInstance
177
+ */
178
+ fetch(callback?: (error: Error | null, item?: TranscriptionsInstance) => any): Promise<TranscriptionsInstance>;
179
+ /**
180
+ * Update a TranscriptionsInstance
181
+ *
182
+ * @param callback - Callback to handle processed record
183
+ *
184
+ * @returns Resolves to processed TranscriptionsInstance
185
+ */
186
+ update(callback?: (error: Error | null, item?: TranscriptionsInstance) => any): Promise<TranscriptionsInstance>;
187
+ /**
188
+ * Update a TranscriptionsInstance
189
+ *
190
+ * @param params - Parameter for request
191
+ * @param callback - Callback to handle processed record
192
+ *
193
+ * @returns Resolves to processed TranscriptionsInstance
194
+ */
195
+ update(params: TranscriptionsContextUpdateOptions, callback?: (error: Error | null, item?: TranscriptionsInstance) => any): Promise<TranscriptionsInstance>;
196
+ /**
197
+ * Provide a user-friendly representation
198
+ *
199
+ * @returns Object
200
+ */
201
+ toJSON(): {
202
+ ttid: string;
203
+ accountSid: string;
204
+ roomSid: string;
205
+ status: TranscriptionsStatus;
206
+ dateCreated: Date;
207
+ dateUpdated: Date;
208
+ startTime: Date;
209
+ endTime: Date;
210
+ duration: number;
211
+ url: string;
212
+ configuration: Record<string, object>;
213
+ };
214
+ [inspect.custom](_depth: any, options: InspectOptions): string;
215
+ }
216
+ export interface TranscriptionsSolution {
217
+ roomSid: string;
218
+ }
219
+ export interface TranscriptionsListInstance {
220
+ _version: V1;
221
+ _solution: TranscriptionsSolution;
222
+ _uri: string;
223
+ (ttid: string): TranscriptionsContext;
224
+ get(ttid: string): TranscriptionsContext;
225
+ /**
226
+ * Create a TranscriptionsInstance
227
+ *
228
+ * @param callback - Callback to handle processed record
229
+ *
230
+ * @returns Resolves to processed TranscriptionsInstance
231
+ */
232
+ create(callback?: (error: Error | null, item?: TranscriptionsInstance) => any): Promise<TranscriptionsInstance>;
233
+ /**
234
+ * Create a TranscriptionsInstance
235
+ *
236
+ * @param params - Parameter for request
237
+ * @param callback - Callback to handle processed record
238
+ *
239
+ * @returns Resolves to processed TranscriptionsInstance
240
+ */
241
+ create(params: TranscriptionsListInstanceCreateOptions, callback?: (error: Error | null, item?: TranscriptionsInstance) => any): Promise<TranscriptionsInstance>;
242
+ /**
243
+ * Streams TranscriptionsInstance records from the API.
244
+ *
245
+ * This operation lazily loads records as efficiently as possible until the limit
246
+ * is reached.
247
+ *
248
+ * The results are passed into the callback function, so this operation is memory
249
+ * efficient.
250
+ *
251
+ * If a function is passed as the first argument, it will be used as the callback
252
+ * function.
253
+ *
254
+ * @param { TranscriptionsListInstanceEachOptions } [params] - Options for request
255
+ * @param { function } [callback] - Function to process each record
256
+ */
257
+ each(callback?: (item: TranscriptionsInstance, done: (err?: Error) => void) => void): void;
258
+ each(params: TranscriptionsListInstanceEachOptions, callback?: (item: TranscriptionsInstance, done: (err?: Error) => void) => void): void;
259
+ /**
260
+ * Retrieve a single target page of TranscriptionsInstance records from the API.
261
+ *
262
+ * The request is executed immediately.
263
+ *
264
+ * @param { string } [targetUrl] - API-generated URL for the requested results page
265
+ * @param { function } [callback] - Callback to handle list of records
266
+ */
267
+ getPage(targetUrl: string, callback?: (error: Error | null, items: TranscriptionsPage) => any): Promise<TranscriptionsPage>;
268
+ /**
269
+ * Lists TranscriptionsInstance records from the API as a list.
270
+ *
271
+ * If a function is passed as the first argument, it will be used as the callback
272
+ * function.
273
+ *
274
+ * @param { TranscriptionsListInstanceOptions } [params] - Options for request
275
+ * @param { function } [callback] - Callback to handle list of records
276
+ */
277
+ list(callback?: (error: Error | null, items: TranscriptionsInstance[]) => any): Promise<TranscriptionsInstance[]>;
278
+ list(params: TranscriptionsListInstanceOptions, callback?: (error: Error | null, items: TranscriptionsInstance[]) => any): Promise<TranscriptionsInstance[]>;
279
+ /**
280
+ * Retrieve a single page of TranscriptionsInstance records from the API.
281
+ *
282
+ * The request is executed immediately.
283
+ *
284
+ * If a function is passed as the first argument, it will be used as the callback
285
+ * function.
286
+ *
287
+ * @param { TranscriptionsListInstancePageOptions } [params] - Options for request
288
+ * @param { function } [callback] - Callback to handle list of records
289
+ */
290
+ page(callback?: (error: Error | null, items: TranscriptionsPage) => any): Promise<TranscriptionsPage>;
291
+ page(params: TranscriptionsListInstancePageOptions, callback?: (error: Error | null, items: TranscriptionsPage) => any): Promise<TranscriptionsPage>;
292
+ /**
293
+ * Provide a user-friendly representation
294
+ */
295
+ toJSON(): any;
296
+ [inspect.custom](_depth: any, options: InspectOptions): any;
297
+ }
298
+ export declare function TranscriptionsListInstance(version: V1, roomSid: string): TranscriptionsListInstance;
299
+ export declare class TranscriptionsPage extends Page<V1, TranscriptionsPayload, TranscriptionsResource, TranscriptionsInstance> {
300
+ /**
301
+ * Initialize the TranscriptionsPage
302
+ *
303
+ * @param version - Version of the resource
304
+ * @param response - Response from the API
305
+ * @param solution - Path solution
306
+ */
307
+ constructor(version: V1, response: Response<string>, solution: TranscriptionsSolution);
308
+ /**
309
+ * Build an instance of TranscriptionsInstance
310
+ *
311
+ * @param payload - Payload response from the API
312
+ */
313
+ getInstance(payload: TranscriptionsResource): TranscriptionsInstance;
314
+ [inspect.custom](depth: any, options: InspectOptions): string;
315
+ }
316
+ export {};
@@ -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;
105
95
  this.dateCreated = deserialize.iso8601DateTime(payload.date_created);
106
96
  this.dateUpdated = deserialize.iso8601DateTime(payload.date_updated);
107
- this.shortCode = payload.short_code;
108
- this.isoCountry = payload.iso_country;
109
- this.capabilities = payload.capabilities;
97
+ this.startTime = deserialize.iso8601DateTime(payload.start_time);
98
+ this.endTime = deserialize.iso8601DateTime(payload.end_time);
99
+ this.duration = deserialize.integer(payload.duration);
110
100
  this.url = payload.url;
111
- this.isReserved = payload.is_reserved;
112
- this._solution = { serviceSid, sid: sid || this.sid };
101
+ this.configuration = payload.configuration;
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,
153
134
  dateCreated: this.dateCreated,
154
135
  dateUpdated: this.dateUpdated,
155
- shortCode: this.shortCode,
156
- isoCountry: this.isoCountry,
157
- capabilities: this.capabilities,
136
+ startTime: this.startTime,
137
+ endTime: this.endTime,
138
+ duration: this.duration,
158
139
  url: this.url,
159
- isReserved: this.isReserved,
140
+ configuration: this.configuration,
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";
@@ -41,7 +42,7 @@ export interface RoomListInstanceCreateOptions {
41
42
  /** The region for the Room\\\'s media server. Can be one of the [available Media Regions](https://www.twilio.com/docs/video/ip-addresses#group-rooms-media-servers). */
42
43
  mediaRegion?: string;
43
44
  /** A collection of Recording Rules that describe how to include or exclude matching tracks for recording */
44
- recordingRules?: object;
45
+ recordingRules?: any;
45
46
  /** A collection of properties that describe transcription behaviour. If TranscribeParticipantsOnConnect is set to true and TranscriptionsConfiguration is not provided, default settings will be used. */
46
47
  transcriptionsConfiguration?: object;
47
48
  /** When set to true, indicates that the participants in the room will only publish audio. No video tracks will be allowed. */
@@ -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
  *