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
@@ -4,7 +4,7 @@ import Page, { TwilioResponsePayload } from "../../../../../base/Page";
4
4
  import Response from "../../../../../http/response";
5
5
  import V2010 from "../../../V2010";
6
6
  import { PayloadListInstance } from "./addOnResult/payload";
7
- type RecordingAddOnResultStatus = "canceled" | "completed" | "deleted" | "failed" | "in-progress" | "init" | "processing" | "queued";
7
+ export type AddOnResultStatus = "canceled" | "completed" | "deleted" | "failed" | "in-progress" | "init" | "processing" | "queued";
8
8
  /**
9
9
  * Options to pass to each
10
10
  */
@@ -90,7 +90,7 @@ interface AddOnResultPayload extends TwilioResponsePayload {
90
90
  interface AddOnResultResource {
91
91
  sid: string;
92
92
  account_sid: string;
93
- status: RecordingAddOnResultStatus;
93
+ status: AddOnResultStatus;
94
94
  add_on_sid: string;
95
95
  add_on_configuration_sid: string;
96
96
  date_created: Date;
@@ -112,7 +112,7 @@ export declare class AddOnResultInstance {
112
112
  * The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording AddOnResult resource.
113
113
  */
114
114
  accountSid: string;
115
- status: RecordingAddOnResultStatus;
115
+ status: AddOnResultStatus;
116
116
  /**
117
117
  * The SID of the Add-on to which the result belongs.
118
118
  */
@@ -170,7 +170,7 @@ export declare class AddOnResultInstance {
170
170
  toJSON(): {
171
171
  sid: string;
172
172
  accountSid: string;
173
- status: RecordingAddOnResultStatus;
173
+ status: AddOnResultStatus;
174
174
  addOnSid: string;
175
175
  addOnConfigurationSid: string;
176
176
  dateCreated: Date;
@@ -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 V2010 from "../../../V2010";
6
- type RecordingTranscriptionStatus = "in-progress" | "completed" | "failed";
6
+ export type TranscriptionStatus = "in-progress" | "completed" | "failed";
7
7
  /**
8
8
  * Options to pass to each
9
9
  */
@@ -93,7 +93,7 @@ interface TranscriptionResource {
93
93
  price_unit: string;
94
94
  recording_sid: string;
95
95
  sid: string;
96
- status: RecordingTranscriptionStatus;
96
+ status: TranscriptionStatus;
97
97
  transcription_text: string;
98
98
  type: string;
99
99
  uri: string;
@@ -139,7 +139,7 @@ export declare class TranscriptionInstance {
139
139
  * The unique string that that we created to identify the Transcription resource.
140
140
  */
141
141
  sid: string;
142
- status: RecordingTranscriptionStatus;
142
+ status: TranscriptionStatus;
143
143
  /**
144
144
  * The text content of the transcription.
145
145
  */
@@ -184,7 +184,7 @@ export declare class TranscriptionInstance {
184
184
  priceUnit: string;
185
185
  recordingSid: string;
186
186
  sid: string;
187
- status: RecordingTranscriptionStatus;
187
+ status: TranscriptionStatus;
188
188
  transcriptionText: string;
189
189
  type: string;
190
190
  uri: string;
@@ -5,8 +5,8 @@ import Response from "../../../../http/response";
5
5
  import V2010 from "../../V2010";
6
6
  import { AddOnResultListInstance } from "./recording/addOnResult";
7
7
  import { TranscriptionListInstance } from "./recording/transcription";
8
- type RecordingSource = "DialVerb" | "Conference" | "OutboundAPI" | "Trunking" | "RecordVerb" | "StartCallRecordingAPI" | "StartConferenceRecordingAPI";
9
- type RecordingStatus = "in-progress" | "paused" | "stopped" | "processing" | "completed" | "absent" | "deleted";
8
+ export type RecordingSource = "DialVerb" | "Conference" | "OutboundAPI" | "Trunking" | "RecordVerb" | "StartCallRecordingAPI" | "StartConferenceRecordingAPI";
9
+ export type RecordingStatus = "in-progress" | "paused" | "stopped" | "processing" | "completed" | "absent" | "deleted";
10
10
  /**
11
11
  * Options to pass to fetch a RecordingInstance
12
12
  */
@@ -116,8 +116,6 @@ export declare class ShortCodeContextImpl implements ShortCodeContext {
116
116
  toJSON(): ShortCodeContextSolution;
117
117
  [inspect.custom](_depth: any, options: InspectOptions): string;
118
118
  }
119
- export type ShortCodeSmsFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
120
- export type ShortCodeSmsMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
121
119
  interface ShortCodePayload extends TwilioResponsePayload {
122
120
  short_codes: ShortCodeResource[];
123
121
  }
@@ -129,9 +127,9 @@ interface ShortCodeResource {
129
127
  friendly_name: string;
130
128
  short_code: string;
131
129
  sid: string;
132
- sms_fallback_method: ShortCodeSmsFallbackMethod;
130
+ sms_fallback_method: string;
133
131
  sms_fallback_url: string;
134
- sms_method: ShortCodeSmsMethod;
132
+ sms_method: string;
135
133
  sms_url: string;
136
134
  uri: string;
137
135
  }
@@ -171,7 +169,7 @@ export declare class ShortCodeInstance {
171
169
  /**
172
170
  * The HTTP method we use to call the `sms_fallback_url`. Can be: `GET` or `POST`.
173
171
  */
174
- smsFallbackMethod: ShortCodeSmsFallbackMethod;
172
+ smsFallbackMethod: string;
175
173
  /**
176
174
  * The URL that we call if an error occurs while retrieving or executing the TwiML from `sms_url`.
177
175
  */
@@ -179,7 +177,7 @@ export declare class ShortCodeInstance {
179
177
  /**
180
178
  * The HTTP method we use to call the `sms_url`. Can be: `GET` or `POST`.
181
179
  */
182
- smsMethod: ShortCodeSmsMethod;
180
+ smsMethod: string;
183
181
  /**
184
182
  * The URL we call when receiving an incoming SMS message to this short code.
185
183
  */
@@ -227,9 +225,9 @@ export declare class ShortCodeInstance {
227
225
  friendlyName: string;
228
226
  shortCode: string;
229
227
  sid: string;
230
- smsFallbackMethod: ShortCodeSmsFallbackMethod;
228
+ smsFallbackMethod: string;
231
229
  smsFallbackUrl: string;
232
- smsMethod: ShortCodeSmsMethod;
230
+ smsMethod: string;
233
231
  smsUrl: string;
234
232
  uri: string;
235
233
  };
@@ -170,9 +170,6 @@ export declare class DomainContextImpl implements DomainContext {
170
170
  toJSON(): DomainContextSolution;
171
171
  [inspect.custom](_depth: any, options: InspectOptions): string;
172
172
  }
173
- export type DomainVoiceFallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
174
- export type DomainVoiceMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
175
- export type DomainVoiceStatusCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
176
173
  interface DomainPayload extends TwilioResponsePayload {
177
174
  domains: DomainResource[];
178
175
  }
@@ -186,10 +183,10 @@ interface DomainResource {
186
183
  friendly_name: string;
187
184
  sid: string;
188
185
  uri: string;
189
- voice_fallback_method: DomainVoiceFallbackMethod;
186
+ voice_fallback_method: string;
190
187
  voice_fallback_url: string;
191
- voice_method: DomainVoiceMethod;
192
- voice_status_callback_method: DomainVoiceStatusCallbackMethod;
188
+ voice_method: string;
189
+ voice_status_callback_method: string;
193
190
  voice_status_callback_url: string;
194
191
  voice_url: string;
195
192
  subresource_uris: Record<string, string>;
@@ -243,7 +240,7 @@ export declare class DomainInstance {
243
240
  /**
244
241
  * The HTTP method we use to call `voice_fallback_url`. Can be: `GET` or `POST`.
245
242
  */
246
- voiceFallbackMethod: DomainVoiceFallbackMethod;
243
+ voiceFallbackMethod: string;
247
244
  /**
248
245
  * The URL that we call when an error occurs while retrieving or executing the TwiML requested from `voice_url`.
249
246
  */
@@ -251,11 +248,11 @@ export declare class DomainInstance {
251
248
  /**
252
249
  * The HTTP method we use to call `voice_url`. Can be: `GET` or `POST`.
253
250
  */
254
- voiceMethod: DomainVoiceMethod;
251
+ voiceMethod: string;
255
252
  /**
256
253
  * The HTTP method we use to call `voice_status_callback_url`. Either `GET` or `POST`.
257
254
  */
258
- voiceStatusCallbackMethod: DomainVoiceStatusCallbackMethod;
255
+ voiceStatusCallbackMethod: string;
259
256
  /**
260
257
  * The URL that we call to pass status parameters (such as call ended) to your application.
261
258
  */
@@ -349,10 +346,10 @@ export declare class DomainInstance {
349
346
  friendlyName: string;
350
347
  sid: string;
351
348
  uri: string;
352
- voiceFallbackMethod: DomainVoiceFallbackMethod;
349
+ voiceFallbackMethod: string;
353
350
  voiceFallbackUrl: string;
354
- voiceMethod: DomainVoiceMethod;
355
- voiceStatusCallbackMethod: DomainVoiceStatusCallbackMethod;
351
+ voiceMethod: string;
352
+ voiceStatusCallbackMethod: string;
356
353
  voiceStatusCallbackUrl: string;
357
354
  voiceUrl: string;
358
355
  subresourceUris: Record<string, string>;
@@ -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 V2010 from "../../V2010";
6
- type TranscriptionStatus = "in-progress" | "completed" | "failed";
6
+ export type TranscriptionStatus = "in-progress" | "completed" | "failed";
7
7
  /**
8
8
  * Options to pass to each
9
9
  */
@@ -3,13 +3,13 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../../../base/Page";
4
4
  import Response from "../../../../../../http/response";
5
5
  import V2010 from "../../../../V2010";
6
- type UsageRecordAllTimeCategory = "a2p-registration-fees" | "agent-conference" | "amazon-polly" | "answering-machine-detection" | "authy-authentications" | "authy-calls-outbound" | "authy-monthly-fees" | "authy-phone-intelligence" | "authy-phone-verifications" | "authy-sms-outbound" | "call-progess-events" | "calleridlookups" | "calls" | "calls-client" | "calls-globalconference" | "calls-inbound" | "calls-inbound-local" | "calls-inbound-mobile" | "calls-inbound-tollfree" | "calls-outbound" | "calls-pay-verb-transactions" | "calls-recordings" | "calls-sip" | "calls-sip-inbound" | "calls-sip-outbound" | "calls-transfers" | "carrier-lookups" | "conversations" | "conversations-api-requests" | "conversations-conversation-events" | "conversations-endpoint-connectivity" | "conversations-events" | "conversations-participant-events" | "conversations-participants" | "cps" | "flex-usage" | "fraud-lookups" | "group-rooms" | "group-rooms-data-track" | "group-rooms-encrypted-media-recorded" | "group-rooms-media-downloaded" | "group-rooms-media-recorded" | "group-rooms-media-routed" | "group-rooms-media-stored" | "group-rooms-participant-minutes" | "group-rooms-recorded-minutes" | "imp-v1-usage" | "lookups" | "marketplace" | "marketplace-algorithmia-named-entity-recognition" | "marketplace-cadence-transcription" | "marketplace-cadence-translation" | "marketplace-capio-speech-to-text" | "marketplace-convriza-ababa" | "marketplace-deepgram-phrase-detector" | "marketplace-digital-segment-business-info" | "marketplace-facebook-offline-conversions" | "marketplace-google-speech-to-text" | "marketplace-ibm-watson-message-insights" | "marketplace-ibm-watson-message-sentiment" | "marketplace-ibm-watson-recording-analysis" | "marketplace-ibm-watson-tone-analyzer" | "marketplace-icehook-systems-scout" | "marketplace-infogroup-dataaxle-bizinfo" | "marketplace-keen-io-contact-center-analytics" | "marketplace-marchex-cleancall" | "marketplace-marchex-sentiment-analysis-for-sms" | "marketplace-marketplace-nextcaller-social-id" | "marketplace-mobile-commons-opt-out-classifier" | "marketplace-nexiwave-voicemail-to-text" | "marketplace-nextcaller-advanced-caller-identification" | "marketplace-nomorobo-spam-score" | "marketplace-payfone-tcpa-compliance" | "marketplace-remeeting-automatic-speech-recognition" | "marketplace-tcpa-defense-solutions-blacklist-feed" | "marketplace-telo-opencnam" | "marketplace-truecnam-true-spam" | "marketplace-twilio-caller-name-lookup-us" | "marketplace-twilio-carrier-information-lookup" | "marketplace-voicebase-pci" | "marketplace-voicebase-transcription" | "marketplace-voicebase-transcription-custom-vocabulary" | "marketplace-whitepages-pro-caller-identification" | "marketplace-whitepages-pro-phone-intelligence" | "marketplace-whitepages-pro-phone-reputation" | "marketplace-wolfarm-spoken-results" | "marketplace-wolfram-short-answer" | "marketplace-ytica-contact-center-reporting-analytics" | "mediastorage" | "mms" | "mms-inbound" | "mms-inbound-longcode" | "mms-inbound-shortcode" | "mms-messages-carrierfees" | "mms-outbound" | "mms-outbound-longcode" | "mms-outbound-shortcode" | "monitor-reads" | "monitor-storage" | "monitor-writes" | "notify" | "notify-actions-attempts" | "notify-channels" | "number-format-lookups" | "pchat" | "pchat-users" | "peer-to-peer-rooms-participant-minutes" | "pfax" | "pfax-minutes" | "pfax-minutes-inbound" | "pfax-minutes-outbound" | "pfax-pages" | "phonenumbers" | "phonenumbers-cps" | "phonenumbers-emergency" | "phonenumbers-local" | "phonenumbers-mobile" | "phonenumbers-setups" | "phonenumbers-tollfree" | "premiumsupport" | "proxy" | "proxy-active-sessions" | "pstnconnectivity" | "pv" | "pv-composition-media-downloaded" | "pv-composition-media-encrypted" | "pv-composition-media-stored" | "pv-composition-minutes" | "pv-recording-compositions" | "pv-room-participants" | "pv-room-participants-au1" | "pv-room-participants-br1" | "pv-room-participants-ie1" | "pv-room-participants-jp1" | "pv-room-participants-sg1" | "pv-room-participants-us1" | "pv-room-participants-us2" | "pv-rooms" | "pv-sip-endpoint-registrations" | "recordings" | "recordingstorage" | "rooms-group-bandwidth" | "rooms-group-minutes" | "rooms-peer-to-peer-minutes" | "shortcodes" | "shortcodes-customerowned" | "shortcodes-mms-enablement" | "shortcodes-mps" | "shortcodes-random" | "shortcodes-uk" | "shortcodes-vanity" | "small-group-rooms" | "small-group-rooms-data-track" | "small-group-rooms-participant-minutes" | "sms" | "sms-inbound" | "sms-inbound-longcode" | "sms-inbound-shortcode" | "sms-messages-carrierfees" | "sms-messages-features" | "sms-messages-features-senderid" | "sms-outbound" | "sms-outbound-content-inspection" | "sms-outbound-longcode" | "sms-outbound-shortcode" | "speech-recognition" | "studio-engagements" | "sync" | "sync-actions" | "sync-endpoint-hours" | "sync-endpoint-hours-above-daily-cap" | "taskrouter-tasks" | "totalprice" | "transcriptions" | "trunking-cps" | "trunking-emergency-calls" | "trunking-origination" | "trunking-origination-local" | "trunking-origination-mobile" | "trunking-origination-tollfree" | "trunking-recordings" | "trunking-secure" | "trunking-termination" | "turnmegabytes" | "turnmegabytes-australia" | "turnmegabytes-brasil" | "turnmegabytes-germany" | "turnmegabytes-india" | "turnmegabytes-ireland" | "turnmegabytes-japan" | "turnmegabytes-singapore" | "turnmegabytes-useast" | "turnmegabytes-uswest" | "twilio-interconnect" | "verify-push" | "verify-totp" | "verify-whatsapp-conversations-business-initiated" | "video-recordings" | "virtual-agent" | "voice-insights" | "voice-insights-client-insights-on-demand-minute" | "voice-insights-ptsn-insights-on-demand-minute" | "voice-insights-sip-interface-insights-on-demand-minute" | "voice-insights-sip-trunking-insights-on-demand-minute" | "wireless" | "wireless-orders" | "wireless-orders-artwork" | "wireless-orders-bulk" | "wireless-orders-esim" | "wireless-orders-starter" | "wireless-usage" | "wireless-usage-commands" | "wireless-usage-commands-africa" | "wireless-usage-commands-asia" | "wireless-usage-commands-centralandsouthamerica" | "wireless-usage-commands-europe" | "wireless-usage-commands-home" | "wireless-usage-commands-northamerica" | "wireless-usage-commands-oceania" | "wireless-usage-commands-roaming" | "wireless-usage-data" | "wireless-usage-data-africa" | "wireless-usage-data-asia" | "wireless-usage-data-centralandsouthamerica" | "wireless-usage-data-custom-additionalmb" | "wireless-usage-data-custom-first5mb" | "wireless-usage-data-domestic-roaming" | "wireless-usage-data-europe" | "wireless-usage-data-individual-additionalgb" | "wireless-usage-data-individual-firstgb" | "wireless-usage-data-international-roaming-canada" | "wireless-usage-data-international-roaming-india" | "wireless-usage-data-international-roaming-mexico" | "wireless-usage-data-northamerica" | "wireless-usage-data-oceania" | "wireless-usage-data-pooled" | "wireless-usage-data-pooled-downlink" | "wireless-usage-data-pooled-uplink" | "wireless-usage-mrc" | "wireless-usage-mrc-custom" | "wireless-usage-mrc-individual" | "wireless-usage-mrc-pooled" | "wireless-usage-mrc-suspended" | "wireless-usage-sms" | "wireless-usage-voice";
6
+ export type AllTimeCategory = "a2p-registration-fees" | "agent-conference" | "amazon-polly" | "answering-machine-detection" | "authy-authentications" | "authy-calls-outbound" | "authy-monthly-fees" | "authy-phone-intelligence" | "authy-phone-verifications" | "authy-sms-outbound" | "call-progess-events" | "calleridlookups" | "calls" | "calls-client" | "calls-globalconference" | "calls-inbound" | "calls-inbound-local" | "calls-inbound-mobile" | "calls-inbound-tollfree" | "calls-outbound" | "calls-pay-verb-transactions" | "calls-recordings" | "calls-sip" | "calls-sip-inbound" | "calls-sip-outbound" | "calls-transfers" | "carrier-lookups" | "conversations" | "conversations-api-requests" | "conversations-conversation-events" | "conversations-endpoint-connectivity" | "conversations-events" | "conversations-participant-events" | "conversations-participants" | "cps" | "flex-usage" | "fraud-lookups" | "group-rooms" | "group-rooms-data-track" | "group-rooms-encrypted-media-recorded" | "group-rooms-media-downloaded" | "group-rooms-media-recorded" | "group-rooms-media-routed" | "group-rooms-media-stored" | "group-rooms-participant-minutes" | "group-rooms-recorded-minutes" | "imp-v1-usage" | "lookups" | "marketplace" | "marketplace-algorithmia-named-entity-recognition" | "marketplace-cadence-transcription" | "marketplace-cadence-translation" | "marketplace-capio-speech-to-text" | "marketplace-convriza-ababa" | "marketplace-deepgram-phrase-detector" | "marketplace-digital-segment-business-info" | "marketplace-facebook-offline-conversions" | "marketplace-google-speech-to-text" | "marketplace-ibm-watson-message-insights" | "marketplace-ibm-watson-message-sentiment" | "marketplace-ibm-watson-recording-analysis" | "marketplace-ibm-watson-tone-analyzer" | "marketplace-icehook-systems-scout" | "marketplace-infogroup-dataaxle-bizinfo" | "marketplace-keen-io-contact-center-analytics" | "marketplace-marchex-cleancall" | "marketplace-marchex-sentiment-analysis-for-sms" | "marketplace-marketplace-nextcaller-social-id" | "marketplace-mobile-commons-opt-out-classifier" | "marketplace-nexiwave-voicemail-to-text" | "marketplace-nextcaller-advanced-caller-identification" | "marketplace-nomorobo-spam-score" | "marketplace-payfone-tcpa-compliance" | "marketplace-remeeting-automatic-speech-recognition" | "marketplace-tcpa-defense-solutions-blacklist-feed" | "marketplace-telo-opencnam" | "marketplace-truecnam-true-spam" | "marketplace-twilio-caller-name-lookup-us" | "marketplace-twilio-carrier-information-lookup" | "marketplace-voicebase-pci" | "marketplace-voicebase-transcription" | "marketplace-voicebase-transcription-custom-vocabulary" | "marketplace-whitepages-pro-caller-identification" | "marketplace-whitepages-pro-phone-intelligence" | "marketplace-whitepages-pro-phone-reputation" | "marketplace-wolfarm-spoken-results" | "marketplace-wolfram-short-answer" | "marketplace-ytica-contact-center-reporting-analytics" | "mediastorage" | "mms" | "mms-inbound" | "mms-inbound-longcode" | "mms-inbound-shortcode" | "mms-messages-carrierfees" | "mms-outbound" | "mms-outbound-longcode" | "mms-outbound-shortcode" | "monitor-reads" | "monitor-storage" | "monitor-writes" | "notify" | "notify-actions-attempts" | "notify-channels" | "number-format-lookups" | "pchat" | "pchat-users" | "peer-to-peer-rooms-participant-minutes" | "pfax" | "pfax-minutes" | "pfax-minutes-inbound" | "pfax-minutes-outbound" | "pfax-pages" | "phonenumbers" | "phonenumbers-cps" | "phonenumbers-emergency" | "phonenumbers-local" | "phonenumbers-mobile" | "phonenumbers-setups" | "phonenumbers-tollfree" | "premiumsupport" | "proxy" | "proxy-active-sessions" | "pstnconnectivity" | "pv" | "pv-composition-media-downloaded" | "pv-composition-media-encrypted" | "pv-composition-media-stored" | "pv-composition-minutes" | "pv-recording-compositions" | "pv-room-participants" | "pv-room-participants-au1" | "pv-room-participants-br1" | "pv-room-participants-ie1" | "pv-room-participants-jp1" | "pv-room-participants-sg1" | "pv-room-participants-us1" | "pv-room-participants-us2" | "pv-rooms" | "pv-sip-endpoint-registrations" | "recordings" | "recordingstorage" | "rooms-group-bandwidth" | "rooms-group-minutes" | "rooms-peer-to-peer-minutes" | "shortcodes" | "shortcodes-customerowned" | "shortcodes-mms-enablement" | "shortcodes-mps" | "shortcodes-random" | "shortcodes-uk" | "shortcodes-vanity" | "small-group-rooms" | "small-group-rooms-data-track" | "small-group-rooms-participant-minutes" | "sms" | "sms-inbound" | "sms-inbound-longcode" | "sms-inbound-shortcode" | "sms-messages-carrierfees" | "sms-messages-features" | "sms-messages-features-senderid" | "sms-outbound" | "sms-outbound-content-inspection" | "sms-outbound-longcode" | "sms-outbound-shortcode" | "speech-recognition" | "studio-engagements" | "sync" | "sync-actions" | "sync-endpoint-hours" | "sync-endpoint-hours-above-daily-cap" | "taskrouter-tasks" | "totalprice" | "transcriptions" | "trunking-cps" | "trunking-emergency-calls" | "trunking-origination" | "trunking-origination-local" | "trunking-origination-mobile" | "trunking-origination-tollfree" | "trunking-recordings" | "trunking-secure" | "trunking-termination" | "turnmegabytes" | "turnmegabytes-australia" | "turnmegabytes-brasil" | "turnmegabytes-germany" | "turnmegabytes-india" | "turnmegabytes-ireland" | "turnmegabytes-japan" | "turnmegabytes-singapore" | "turnmegabytes-useast" | "turnmegabytes-uswest" | "twilio-interconnect" | "verify-push" | "verify-totp" | "verify-whatsapp-conversations-business-initiated" | "video-recordings" | "virtual-agent" | "voice-insights" | "voice-insights-client-insights-on-demand-minute" | "voice-insights-ptsn-insights-on-demand-minute" | "voice-insights-sip-interface-insights-on-demand-minute" | "voice-insights-sip-trunking-insights-on-demand-minute" | "wireless" | "wireless-orders" | "wireless-orders-artwork" | "wireless-orders-bulk" | "wireless-orders-esim" | "wireless-orders-starter" | "wireless-usage" | "wireless-usage-commands" | "wireless-usage-commands-africa" | "wireless-usage-commands-asia" | "wireless-usage-commands-centralandsouthamerica" | "wireless-usage-commands-europe" | "wireless-usage-commands-home" | "wireless-usage-commands-northamerica" | "wireless-usage-commands-oceania" | "wireless-usage-commands-roaming" | "wireless-usage-data" | "wireless-usage-data-africa" | "wireless-usage-data-asia" | "wireless-usage-data-centralandsouthamerica" | "wireless-usage-data-custom-additionalmb" | "wireless-usage-data-custom-first5mb" | "wireless-usage-data-domestic-roaming" | "wireless-usage-data-europe" | "wireless-usage-data-individual-additionalgb" | "wireless-usage-data-individual-firstgb" | "wireless-usage-data-international-roaming-canada" | "wireless-usage-data-international-roaming-india" | "wireless-usage-data-international-roaming-mexico" | "wireless-usage-data-northamerica" | "wireless-usage-data-oceania" | "wireless-usage-data-pooled" | "wireless-usage-data-pooled-downlink" | "wireless-usage-data-pooled-uplink" | "wireless-usage-mrc" | "wireless-usage-mrc-custom" | "wireless-usage-mrc-individual" | "wireless-usage-mrc-pooled" | "wireless-usage-mrc-suspended" | "wireless-usage-sms" | "wireless-usage-voice";
7
7
  /**
8
8
  * Options to pass to each
9
9
  */
10
10
  export interface AllTimeListInstanceEachOptions {
11
11
  /** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
12
- category?: UsageRecordAllTimeCategory;
12
+ category?: AllTimeCategory;
13
13
  /** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */
14
14
  startDate?: Date;
15
15
  /** Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date. */
@@ -30,7 +30,7 @@ export interface AllTimeListInstanceEachOptions {
30
30
  */
31
31
  export interface AllTimeListInstanceOptions {
32
32
  /** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
33
- category?: UsageRecordAllTimeCategory;
33
+ category?: AllTimeCategory;
34
34
  /** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */
35
35
  startDate?: Date;
36
36
  /** Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date. */
@@ -47,7 +47,7 @@ export interface AllTimeListInstanceOptions {
47
47
  */
48
48
  export interface AllTimeListInstancePageOptions {
49
49
  /** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
50
- category?: UsageRecordAllTimeCategory;
50
+ category?: AllTimeCategory;
51
51
  /** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */
52
52
  startDate?: Date;
53
53
  /** Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date. */
@@ -132,7 +132,7 @@ interface AllTimeResource {
132
132
  account_sid: string;
133
133
  api_version: string;
134
134
  as_of: string;
135
- category: UsageRecordAllTimeCategory;
135
+ category: AllTimeCategory;
136
136
  count: string;
137
137
  count_unit: string;
138
138
  description: string;
@@ -160,7 +160,7 @@ export declare class AllTimeInstance {
160
160
  * Usage records up to date as of this timestamp, formatted as YYYY-MM-DDTHH:MM:SS+00:00. All timestamps are in GMT
161
161
  */
162
162
  asOf: string;
163
- category: UsageRecordAllTimeCategory;
163
+ category: AllTimeCategory;
164
164
  /**
165
165
  * The number of usage events, such as the number of calls.
166
166
  */
@@ -214,7 +214,7 @@ export declare class AllTimeInstance {
214
214
  accountSid: string;
215
215
  apiVersion: string;
216
216
  asOf: string;
217
- category: UsageRecordAllTimeCategory;
217
+ category: AllTimeCategory;
218
218
  count: string;
219
219
  countUnit: string;
220
220
  description: string;
@@ -3,13 +3,13 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../../../base/Page";
4
4
  import Response from "../../../../../../http/response";
5
5
  import V2010 from "../../../../V2010";
6
- type UsageRecordDailyCategory = "a2p-registration-fees" | "agent-conference" | "amazon-polly" | "answering-machine-detection" | "authy-authentications" | "authy-calls-outbound" | "authy-monthly-fees" | "authy-phone-intelligence" | "authy-phone-verifications" | "authy-sms-outbound" | "call-progess-events" | "calleridlookups" | "calls" | "calls-client" | "calls-globalconference" | "calls-inbound" | "calls-inbound-local" | "calls-inbound-mobile" | "calls-inbound-tollfree" | "calls-outbound" | "calls-pay-verb-transactions" | "calls-recordings" | "calls-sip" | "calls-sip-inbound" | "calls-sip-outbound" | "calls-transfers" | "carrier-lookups" | "conversations" | "conversations-api-requests" | "conversations-conversation-events" | "conversations-endpoint-connectivity" | "conversations-events" | "conversations-participant-events" | "conversations-participants" | "cps" | "flex-usage" | "fraud-lookups" | "group-rooms" | "group-rooms-data-track" | "group-rooms-encrypted-media-recorded" | "group-rooms-media-downloaded" | "group-rooms-media-recorded" | "group-rooms-media-routed" | "group-rooms-media-stored" | "group-rooms-participant-minutes" | "group-rooms-recorded-minutes" | "imp-v1-usage" | "lookups" | "marketplace" | "marketplace-algorithmia-named-entity-recognition" | "marketplace-cadence-transcription" | "marketplace-cadence-translation" | "marketplace-capio-speech-to-text" | "marketplace-convriza-ababa" | "marketplace-deepgram-phrase-detector" | "marketplace-digital-segment-business-info" | "marketplace-facebook-offline-conversions" | "marketplace-google-speech-to-text" | "marketplace-ibm-watson-message-insights" | "marketplace-ibm-watson-message-sentiment" | "marketplace-ibm-watson-recording-analysis" | "marketplace-ibm-watson-tone-analyzer" | "marketplace-icehook-systems-scout" | "marketplace-infogroup-dataaxle-bizinfo" | "marketplace-keen-io-contact-center-analytics" | "marketplace-marchex-cleancall" | "marketplace-marchex-sentiment-analysis-for-sms" | "marketplace-marketplace-nextcaller-social-id" | "marketplace-mobile-commons-opt-out-classifier" | "marketplace-nexiwave-voicemail-to-text" | "marketplace-nextcaller-advanced-caller-identification" | "marketplace-nomorobo-spam-score" | "marketplace-payfone-tcpa-compliance" | "marketplace-remeeting-automatic-speech-recognition" | "marketplace-tcpa-defense-solutions-blacklist-feed" | "marketplace-telo-opencnam" | "marketplace-truecnam-true-spam" | "marketplace-twilio-caller-name-lookup-us" | "marketplace-twilio-carrier-information-lookup" | "marketplace-voicebase-pci" | "marketplace-voicebase-transcription" | "marketplace-voicebase-transcription-custom-vocabulary" | "marketplace-whitepages-pro-caller-identification" | "marketplace-whitepages-pro-phone-intelligence" | "marketplace-whitepages-pro-phone-reputation" | "marketplace-wolfarm-spoken-results" | "marketplace-wolfram-short-answer" | "marketplace-ytica-contact-center-reporting-analytics" | "mediastorage" | "mms" | "mms-inbound" | "mms-inbound-longcode" | "mms-inbound-shortcode" | "mms-messages-carrierfees" | "mms-outbound" | "mms-outbound-longcode" | "mms-outbound-shortcode" | "monitor-reads" | "monitor-storage" | "monitor-writes" | "notify" | "notify-actions-attempts" | "notify-channels" | "number-format-lookups" | "pchat" | "pchat-users" | "peer-to-peer-rooms-participant-minutes" | "pfax" | "pfax-minutes" | "pfax-minutes-inbound" | "pfax-minutes-outbound" | "pfax-pages" | "phonenumbers" | "phonenumbers-cps" | "phonenumbers-emergency" | "phonenumbers-local" | "phonenumbers-mobile" | "phonenumbers-setups" | "phonenumbers-tollfree" | "premiumsupport" | "proxy" | "proxy-active-sessions" | "pstnconnectivity" | "pv" | "pv-composition-media-downloaded" | "pv-composition-media-encrypted" | "pv-composition-media-stored" | "pv-composition-minutes" | "pv-recording-compositions" | "pv-room-participants" | "pv-room-participants-au1" | "pv-room-participants-br1" | "pv-room-participants-ie1" | "pv-room-participants-jp1" | "pv-room-participants-sg1" | "pv-room-participants-us1" | "pv-room-participants-us2" | "pv-rooms" | "pv-sip-endpoint-registrations" | "recordings" | "recordingstorage" | "rooms-group-bandwidth" | "rooms-group-minutes" | "rooms-peer-to-peer-minutes" | "shortcodes" | "shortcodes-customerowned" | "shortcodes-mms-enablement" | "shortcodes-mps" | "shortcodes-random" | "shortcodes-uk" | "shortcodes-vanity" | "small-group-rooms" | "small-group-rooms-data-track" | "small-group-rooms-participant-minutes" | "sms" | "sms-inbound" | "sms-inbound-longcode" | "sms-inbound-shortcode" | "sms-messages-carrierfees" | "sms-messages-features" | "sms-messages-features-senderid" | "sms-outbound" | "sms-outbound-content-inspection" | "sms-outbound-longcode" | "sms-outbound-shortcode" | "speech-recognition" | "studio-engagements" | "sync" | "sync-actions" | "sync-endpoint-hours" | "sync-endpoint-hours-above-daily-cap" | "taskrouter-tasks" | "totalprice" | "transcriptions" | "trunking-cps" | "trunking-emergency-calls" | "trunking-origination" | "trunking-origination-local" | "trunking-origination-mobile" | "trunking-origination-tollfree" | "trunking-recordings" | "trunking-secure" | "trunking-termination" | "turnmegabytes" | "turnmegabytes-australia" | "turnmegabytes-brasil" | "turnmegabytes-germany" | "turnmegabytes-india" | "turnmegabytes-ireland" | "turnmegabytes-japan" | "turnmegabytes-singapore" | "turnmegabytes-useast" | "turnmegabytes-uswest" | "twilio-interconnect" | "verify-push" | "verify-totp" | "verify-whatsapp-conversations-business-initiated" | "video-recordings" | "virtual-agent" | "voice-insights" | "voice-insights-client-insights-on-demand-minute" | "voice-insights-ptsn-insights-on-demand-minute" | "voice-insights-sip-interface-insights-on-demand-minute" | "voice-insights-sip-trunking-insights-on-demand-minute" | "wireless" | "wireless-orders" | "wireless-orders-artwork" | "wireless-orders-bulk" | "wireless-orders-esim" | "wireless-orders-starter" | "wireless-usage" | "wireless-usage-commands" | "wireless-usage-commands-africa" | "wireless-usage-commands-asia" | "wireless-usage-commands-centralandsouthamerica" | "wireless-usage-commands-europe" | "wireless-usage-commands-home" | "wireless-usage-commands-northamerica" | "wireless-usage-commands-oceania" | "wireless-usage-commands-roaming" | "wireless-usage-data" | "wireless-usage-data-africa" | "wireless-usage-data-asia" | "wireless-usage-data-centralandsouthamerica" | "wireless-usage-data-custom-additionalmb" | "wireless-usage-data-custom-first5mb" | "wireless-usage-data-domestic-roaming" | "wireless-usage-data-europe" | "wireless-usage-data-individual-additionalgb" | "wireless-usage-data-individual-firstgb" | "wireless-usage-data-international-roaming-canada" | "wireless-usage-data-international-roaming-india" | "wireless-usage-data-international-roaming-mexico" | "wireless-usage-data-northamerica" | "wireless-usage-data-oceania" | "wireless-usage-data-pooled" | "wireless-usage-data-pooled-downlink" | "wireless-usage-data-pooled-uplink" | "wireless-usage-mrc" | "wireless-usage-mrc-custom" | "wireless-usage-mrc-individual" | "wireless-usage-mrc-pooled" | "wireless-usage-mrc-suspended" | "wireless-usage-sms" | "wireless-usage-voice";
6
+ export type DailyCategory = "a2p-registration-fees" | "agent-conference" | "amazon-polly" | "answering-machine-detection" | "authy-authentications" | "authy-calls-outbound" | "authy-monthly-fees" | "authy-phone-intelligence" | "authy-phone-verifications" | "authy-sms-outbound" | "call-progess-events" | "calleridlookups" | "calls" | "calls-client" | "calls-globalconference" | "calls-inbound" | "calls-inbound-local" | "calls-inbound-mobile" | "calls-inbound-tollfree" | "calls-outbound" | "calls-pay-verb-transactions" | "calls-recordings" | "calls-sip" | "calls-sip-inbound" | "calls-sip-outbound" | "calls-transfers" | "carrier-lookups" | "conversations" | "conversations-api-requests" | "conversations-conversation-events" | "conversations-endpoint-connectivity" | "conversations-events" | "conversations-participant-events" | "conversations-participants" | "cps" | "flex-usage" | "fraud-lookups" | "group-rooms" | "group-rooms-data-track" | "group-rooms-encrypted-media-recorded" | "group-rooms-media-downloaded" | "group-rooms-media-recorded" | "group-rooms-media-routed" | "group-rooms-media-stored" | "group-rooms-participant-minutes" | "group-rooms-recorded-minutes" | "imp-v1-usage" | "lookups" | "marketplace" | "marketplace-algorithmia-named-entity-recognition" | "marketplace-cadence-transcription" | "marketplace-cadence-translation" | "marketplace-capio-speech-to-text" | "marketplace-convriza-ababa" | "marketplace-deepgram-phrase-detector" | "marketplace-digital-segment-business-info" | "marketplace-facebook-offline-conversions" | "marketplace-google-speech-to-text" | "marketplace-ibm-watson-message-insights" | "marketplace-ibm-watson-message-sentiment" | "marketplace-ibm-watson-recording-analysis" | "marketplace-ibm-watson-tone-analyzer" | "marketplace-icehook-systems-scout" | "marketplace-infogroup-dataaxle-bizinfo" | "marketplace-keen-io-contact-center-analytics" | "marketplace-marchex-cleancall" | "marketplace-marchex-sentiment-analysis-for-sms" | "marketplace-marketplace-nextcaller-social-id" | "marketplace-mobile-commons-opt-out-classifier" | "marketplace-nexiwave-voicemail-to-text" | "marketplace-nextcaller-advanced-caller-identification" | "marketplace-nomorobo-spam-score" | "marketplace-payfone-tcpa-compliance" | "marketplace-remeeting-automatic-speech-recognition" | "marketplace-tcpa-defense-solutions-blacklist-feed" | "marketplace-telo-opencnam" | "marketplace-truecnam-true-spam" | "marketplace-twilio-caller-name-lookup-us" | "marketplace-twilio-carrier-information-lookup" | "marketplace-voicebase-pci" | "marketplace-voicebase-transcription" | "marketplace-voicebase-transcription-custom-vocabulary" | "marketplace-whitepages-pro-caller-identification" | "marketplace-whitepages-pro-phone-intelligence" | "marketplace-whitepages-pro-phone-reputation" | "marketplace-wolfarm-spoken-results" | "marketplace-wolfram-short-answer" | "marketplace-ytica-contact-center-reporting-analytics" | "mediastorage" | "mms" | "mms-inbound" | "mms-inbound-longcode" | "mms-inbound-shortcode" | "mms-messages-carrierfees" | "mms-outbound" | "mms-outbound-longcode" | "mms-outbound-shortcode" | "monitor-reads" | "monitor-storage" | "monitor-writes" | "notify" | "notify-actions-attempts" | "notify-channels" | "number-format-lookups" | "pchat" | "pchat-users" | "peer-to-peer-rooms-participant-minutes" | "pfax" | "pfax-minutes" | "pfax-minutes-inbound" | "pfax-minutes-outbound" | "pfax-pages" | "phonenumbers" | "phonenumbers-cps" | "phonenumbers-emergency" | "phonenumbers-local" | "phonenumbers-mobile" | "phonenumbers-setups" | "phonenumbers-tollfree" | "premiumsupport" | "proxy" | "proxy-active-sessions" | "pstnconnectivity" | "pv" | "pv-composition-media-downloaded" | "pv-composition-media-encrypted" | "pv-composition-media-stored" | "pv-composition-minutes" | "pv-recording-compositions" | "pv-room-participants" | "pv-room-participants-au1" | "pv-room-participants-br1" | "pv-room-participants-ie1" | "pv-room-participants-jp1" | "pv-room-participants-sg1" | "pv-room-participants-us1" | "pv-room-participants-us2" | "pv-rooms" | "pv-sip-endpoint-registrations" | "recordings" | "recordingstorage" | "rooms-group-bandwidth" | "rooms-group-minutes" | "rooms-peer-to-peer-minutes" | "shortcodes" | "shortcodes-customerowned" | "shortcodes-mms-enablement" | "shortcodes-mps" | "shortcodes-random" | "shortcodes-uk" | "shortcodes-vanity" | "small-group-rooms" | "small-group-rooms-data-track" | "small-group-rooms-participant-minutes" | "sms" | "sms-inbound" | "sms-inbound-longcode" | "sms-inbound-shortcode" | "sms-messages-carrierfees" | "sms-messages-features" | "sms-messages-features-senderid" | "sms-outbound" | "sms-outbound-content-inspection" | "sms-outbound-longcode" | "sms-outbound-shortcode" | "speech-recognition" | "studio-engagements" | "sync" | "sync-actions" | "sync-endpoint-hours" | "sync-endpoint-hours-above-daily-cap" | "taskrouter-tasks" | "totalprice" | "transcriptions" | "trunking-cps" | "trunking-emergency-calls" | "trunking-origination" | "trunking-origination-local" | "trunking-origination-mobile" | "trunking-origination-tollfree" | "trunking-recordings" | "trunking-secure" | "trunking-termination" | "turnmegabytes" | "turnmegabytes-australia" | "turnmegabytes-brasil" | "turnmegabytes-germany" | "turnmegabytes-india" | "turnmegabytes-ireland" | "turnmegabytes-japan" | "turnmegabytes-singapore" | "turnmegabytes-useast" | "turnmegabytes-uswest" | "twilio-interconnect" | "verify-push" | "verify-totp" | "verify-whatsapp-conversations-business-initiated" | "video-recordings" | "virtual-agent" | "voice-insights" | "voice-insights-client-insights-on-demand-minute" | "voice-insights-ptsn-insights-on-demand-minute" | "voice-insights-sip-interface-insights-on-demand-minute" | "voice-insights-sip-trunking-insights-on-demand-minute" | "wireless" | "wireless-orders" | "wireless-orders-artwork" | "wireless-orders-bulk" | "wireless-orders-esim" | "wireless-orders-starter" | "wireless-usage" | "wireless-usage-commands" | "wireless-usage-commands-africa" | "wireless-usage-commands-asia" | "wireless-usage-commands-centralandsouthamerica" | "wireless-usage-commands-europe" | "wireless-usage-commands-home" | "wireless-usage-commands-northamerica" | "wireless-usage-commands-oceania" | "wireless-usage-commands-roaming" | "wireless-usage-data" | "wireless-usage-data-africa" | "wireless-usage-data-asia" | "wireless-usage-data-centralandsouthamerica" | "wireless-usage-data-custom-additionalmb" | "wireless-usage-data-custom-first5mb" | "wireless-usage-data-domestic-roaming" | "wireless-usage-data-europe" | "wireless-usage-data-individual-additionalgb" | "wireless-usage-data-individual-firstgb" | "wireless-usage-data-international-roaming-canada" | "wireless-usage-data-international-roaming-india" | "wireless-usage-data-international-roaming-mexico" | "wireless-usage-data-northamerica" | "wireless-usage-data-oceania" | "wireless-usage-data-pooled" | "wireless-usage-data-pooled-downlink" | "wireless-usage-data-pooled-uplink" | "wireless-usage-mrc" | "wireless-usage-mrc-custom" | "wireless-usage-mrc-individual" | "wireless-usage-mrc-pooled" | "wireless-usage-mrc-suspended" | "wireless-usage-sms" | "wireless-usage-voice";
7
7
  /**
8
8
  * Options to pass to each
9
9
  */
10
10
  export interface DailyListInstanceEachOptions {
11
11
  /** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
12
- category?: UsageRecordDailyCategory;
12
+ category?: DailyCategory;
13
13
  /** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */
14
14
  startDate?: Date;
15
15
  /** Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date. */
@@ -30,7 +30,7 @@ export interface DailyListInstanceEachOptions {
30
30
  */
31
31
  export interface DailyListInstanceOptions {
32
32
  /** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
33
- category?: UsageRecordDailyCategory;
33
+ category?: DailyCategory;
34
34
  /** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */
35
35
  startDate?: Date;
36
36
  /** Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date. */
@@ -47,7 +47,7 @@ export interface DailyListInstanceOptions {
47
47
  */
48
48
  export interface DailyListInstancePageOptions {
49
49
  /** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
50
- category?: UsageRecordDailyCategory;
50
+ category?: DailyCategory;
51
51
  /** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */
52
52
  startDate?: Date;
53
53
  /** Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date. */
@@ -132,7 +132,7 @@ interface DailyResource {
132
132
  account_sid: string;
133
133
  api_version: string;
134
134
  as_of: string;
135
- category: UsageRecordDailyCategory;
135
+ category: DailyCategory;
136
136
  count: string;
137
137
  count_unit: string;
138
138
  description: string;
@@ -160,7 +160,7 @@ export declare class DailyInstance {
160
160
  * Usage records up to date as of this timestamp, formatted as YYYY-MM-DDTHH:MM:SS+00:00. All timestamps are in GMT
161
161
  */
162
162
  asOf: string;
163
- category: UsageRecordDailyCategory;
163
+ category: DailyCategory;
164
164
  /**
165
165
  * The number of usage events, such as the number of calls.
166
166
  */
@@ -214,7 +214,7 @@ export declare class DailyInstance {
214
214
  accountSid: string;
215
215
  apiVersion: string;
216
216
  asOf: string;
217
- category: UsageRecordDailyCategory;
217
+ category: DailyCategory;
218
218
  count: string;
219
219
  countUnit: string;
220
220
  description: string;
@@ -3,13 +3,13 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../../../base/Page";
4
4
  import Response from "../../../../../../http/response";
5
5
  import V2010 from "../../../../V2010";
6
- type UsageRecordLastMonthCategory = "a2p-registration-fees" | "agent-conference" | "amazon-polly" | "answering-machine-detection" | "authy-authentications" | "authy-calls-outbound" | "authy-monthly-fees" | "authy-phone-intelligence" | "authy-phone-verifications" | "authy-sms-outbound" | "call-progess-events" | "calleridlookups" | "calls" | "calls-client" | "calls-globalconference" | "calls-inbound" | "calls-inbound-local" | "calls-inbound-mobile" | "calls-inbound-tollfree" | "calls-outbound" | "calls-pay-verb-transactions" | "calls-recordings" | "calls-sip" | "calls-sip-inbound" | "calls-sip-outbound" | "calls-transfers" | "carrier-lookups" | "conversations" | "conversations-api-requests" | "conversations-conversation-events" | "conversations-endpoint-connectivity" | "conversations-events" | "conversations-participant-events" | "conversations-participants" | "cps" | "flex-usage" | "fraud-lookups" | "group-rooms" | "group-rooms-data-track" | "group-rooms-encrypted-media-recorded" | "group-rooms-media-downloaded" | "group-rooms-media-recorded" | "group-rooms-media-routed" | "group-rooms-media-stored" | "group-rooms-participant-minutes" | "group-rooms-recorded-minutes" | "imp-v1-usage" | "lookups" | "marketplace" | "marketplace-algorithmia-named-entity-recognition" | "marketplace-cadence-transcription" | "marketplace-cadence-translation" | "marketplace-capio-speech-to-text" | "marketplace-convriza-ababa" | "marketplace-deepgram-phrase-detector" | "marketplace-digital-segment-business-info" | "marketplace-facebook-offline-conversions" | "marketplace-google-speech-to-text" | "marketplace-ibm-watson-message-insights" | "marketplace-ibm-watson-message-sentiment" | "marketplace-ibm-watson-recording-analysis" | "marketplace-ibm-watson-tone-analyzer" | "marketplace-icehook-systems-scout" | "marketplace-infogroup-dataaxle-bizinfo" | "marketplace-keen-io-contact-center-analytics" | "marketplace-marchex-cleancall" | "marketplace-marchex-sentiment-analysis-for-sms" | "marketplace-marketplace-nextcaller-social-id" | "marketplace-mobile-commons-opt-out-classifier" | "marketplace-nexiwave-voicemail-to-text" | "marketplace-nextcaller-advanced-caller-identification" | "marketplace-nomorobo-spam-score" | "marketplace-payfone-tcpa-compliance" | "marketplace-remeeting-automatic-speech-recognition" | "marketplace-tcpa-defense-solutions-blacklist-feed" | "marketplace-telo-opencnam" | "marketplace-truecnam-true-spam" | "marketplace-twilio-caller-name-lookup-us" | "marketplace-twilio-carrier-information-lookup" | "marketplace-voicebase-pci" | "marketplace-voicebase-transcription" | "marketplace-voicebase-transcription-custom-vocabulary" | "marketplace-whitepages-pro-caller-identification" | "marketplace-whitepages-pro-phone-intelligence" | "marketplace-whitepages-pro-phone-reputation" | "marketplace-wolfarm-spoken-results" | "marketplace-wolfram-short-answer" | "marketplace-ytica-contact-center-reporting-analytics" | "mediastorage" | "mms" | "mms-inbound" | "mms-inbound-longcode" | "mms-inbound-shortcode" | "mms-messages-carrierfees" | "mms-outbound" | "mms-outbound-longcode" | "mms-outbound-shortcode" | "monitor-reads" | "monitor-storage" | "monitor-writes" | "notify" | "notify-actions-attempts" | "notify-channels" | "number-format-lookups" | "pchat" | "pchat-users" | "peer-to-peer-rooms-participant-minutes" | "pfax" | "pfax-minutes" | "pfax-minutes-inbound" | "pfax-minutes-outbound" | "pfax-pages" | "phonenumbers" | "phonenumbers-cps" | "phonenumbers-emergency" | "phonenumbers-local" | "phonenumbers-mobile" | "phonenumbers-setups" | "phonenumbers-tollfree" | "premiumsupport" | "proxy" | "proxy-active-sessions" | "pstnconnectivity" | "pv" | "pv-composition-media-downloaded" | "pv-composition-media-encrypted" | "pv-composition-media-stored" | "pv-composition-minutes" | "pv-recording-compositions" | "pv-room-participants" | "pv-room-participants-au1" | "pv-room-participants-br1" | "pv-room-participants-ie1" | "pv-room-participants-jp1" | "pv-room-participants-sg1" | "pv-room-participants-us1" | "pv-room-participants-us2" | "pv-rooms" | "pv-sip-endpoint-registrations" | "recordings" | "recordingstorage" | "rooms-group-bandwidth" | "rooms-group-minutes" | "rooms-peer-to-peer-minutes" | "shortcodes" | "shortcodes-customerowned" | "shortcodes-mms-enablement" | "shortcodes-mps" | "shortcodes-random" | "shortcodes-uk" | "shortcodes-vanity" | "small-group-rooms" | "small-group-rooms-data-track" | "small-group-rooms-participant-minutes" | "sms" | "sms-inbound" | "sms-inbound-longcode" | "sms-inbound-shortcode" | "sms-messages-carrierfees" | "sms-messages-features" | "sms-messages-features-senderid" | "sms-outbound" | "sms-outbound-content-inspection" | "sms-outbound-longcode" | "sms-outbound-shortcode" | "speech-recognition" | "studio-engagements" | "sync" | "sync-actions" | "sync-endpoint-hours" | "sync-endpoint-hours-above-daily-cap" | "taskrouter-tasks" | "totalprice" | "transcriptions" | "trunking-cps" | "trunking-emergency-calls" | "trunking-origination" | "trunking-origination-local" | "trunking-origination-mobile" | "trunking-origination-tollfree" | "trunking-recordings" | "trunking-secure" | "trunking-termination" | "turnmegabytes" | "turnmegabytes-australia" | "turnmegabytes-brasil" | "turnmegabytes-germany" | "turnmegabytes-india" | "turnmegabytes-ireland" | "turnmegabytes-japan" | "turnmegabytes-singapore" | "turnmegabytes-useast" | "turnmegabytes-uswest" | "twilio-interconnect" | "verify-push" | "verify-totp" | "verify-whatsapp-conversations-business-initiated" | "video-recordings" | "virtual-agent" | "voice-insights" | "voice-insights-client-insights-on-demand-minute" | "voice-insights-ptsn-insights-on-demand-minute" | "voice-insights-sip-interface-insights-on-demand-minute" | "voice-insights-sip-trunking-insights-on-demand-minute" | "wireless" | "wireless-orders" | "wireless-orders-artwork" | "wireless-orders-bulk" | "wireless-orders-esim" | "wireless-orders-starter" | "wireless-usage" | "wireless-usage-commands" | "wireless-usage-commands-africa" | "wireless-usage-commands-asia" | "wireless-usage-commands-centralandsouthamerica" | "wireless-usage-commands-europe" | "wireless-usage-commands-home" | "wireless-usage-commands-northamerica" | "wireless-usage-commands-oceania" | "wireless-usage-commands-roaming" | "wireless-usage-data" | "wireless-usage-data-africa" | "wireless-usage-data-asia" | "wireless-usage-data-centralandsouthamerica" | "wireless-usage-data-custom-additionalmb" | "wireless-usage-data-custom-first5mb" | "wireless-usage-data-domestic-roaming" | "wireless-usage-data-europe" | "wireless-usage-data-individual-additionalgb" | "wireless-usage-data-individual-firstgb" | "wireless-usage-data-international-roaming-canada" | "wireless-usage-data-international-roaming-india" | "wireless-usage-data-international-roaming-mexico" | "wireless-usage-data-northamerica" | "wireless-usage-data-oceania" | "wireless-usage-data-pooled" | "wireless-usage-data-pooled-downlink" | "wireless-usage-data-pooled-uplink" | "wireless-usage-mrc" | "wireless-usage-mrc-custom" | "wireless-usage-mrc-individual" | "wireless-usage-mrc-pooled" | "wireless-usage-mrc-suspended" | "wireless-usage-sms" | "wireless-usage-voice";
6
+ export type LastMonthCategory = "a2p-registration-fees" | "agent-conference" | "amazon-polly" | "answering-machine-detection" | "authy-authentications" | "authy-calls-outbound" | "authy-monthly-fees" | "authy-phone-intelligence" | "authy-phone-verifications" | "authy-sms-outbound" | "call-progess-events" | "calleridlookups" | "calls" | "calls-client" | "calls-globalconference" | "calls-inbound" | "calls-inbound-local" | "calls-inbound-mobile" | "calls-inbound-tollfree" | "calls-outbound" | "calls-pay-verb-transactions" | "calls-recordings" | "calls-sip" | "calls-sip-inbound" | "calls-sip-outbound" | "calls-transfers" | "carrier-lookups" | "conversations" | "conversations-api-requests" | "conversations-conversation-events" | "conversations-endpoint-connectivity" | "conversations-events" | "conversations-participant-events" | "conversations-participants" | "cps" | "flex-usage" | "fraud-lookups" | "group-rooms" | "group-rooms-data-track" | "group-rooms-encrypted-media-recorded" | "group-rooms-media-downloaded" | "group-rooms-media-recorded" | "group-rooms-media-routed" | "group-rooms-media-stored" | "group-rooms-participant-minutes" | "group-rooms-recorded-minutes" | "imp-v1-usage" | "lookups" | "marketplace" | "marketplace-algorithmia-named-entity-recognition" | "marketplace-cadence-transcription" | "marketplace-cadence-translation" | "marketplace-capio-speech-to-text" | "marketplace-convriza-ababa" | "marketplace-deepgram-phrase-detector" | "marketplace-digital-segment-business-info" | "marketplace-facebook-offline-conversions" | "marketplace-google-speech-to-text" | "marketplace-ibm-watson-message-insights" | "marketplace-ibm-watson-message-sentiment" | "marketplace-ibm-watson-recording-analysis" | "marketplace-ibm-watson-tone-analyzer" | "marketplace-icehook-systems-scout" | "marketplace-infogroup-dataaxle-bizinfo" | "marketplace-keen-io-contact-center-analytics" | "marketplace-marchex-cleancall" | "marketplace-marchex-sentiment-analysis-for-sms" | "marketplace-marketplace-nextcaller-social-id" | "marketplace-mobile-commons-opt-out-classifier" | "marketplace-nexiwave-voicemail-to-text" | "marketplace-nextcaller-advanced-caller-identification" | "marketplace-nomorobo-spam-score" | "marketplace-payfone-tcpa-compliance" | "marketplace-remeeting-automatic-speech-recognition" | "marketplace-tcpa-defense-solutions-blacklist-feed" | "marketplace-telo-opencnam" | "marketplace-truecnam-true-spam" | "marketplace-twilio-caller-name-lookup-us" | "marketplace-twilio-carrier-information-lookup" | "marketplace-voicebase-pci" | "marketplace-voicebase-transcription" | "marketplace-voicebase-transcription-custom-vocabulary" | "marketplace-whitepages-pro-caller-identification" | "marketplace-whitepages-pro-phone-intelligence" | "marketplace-whitepages-pro-phone-reputation" | "marketplace-wolfarm-spoken-results" | "marketplace-wolfram-short-answer" | "marketplace-ytica-contact-center-reporting-analytics" | "mediastorage" | "mms" | "mms-inbound" | "mms-inbound-longcode" | "mms-inbound-shortcode" | "mms-messages-carrierfees" | "mms-outbound" | "mms-outbound-longcode" | "mms-outbound-shortcode" | "monitor-reads" | "monitor-storage" | "monitor-writes" | "notify" | "notify-actions-attempts" | "notify-channels" | "number-format-lookups" | "pchat" | "pchat-users" | "peer-to-peer-rooms-participant-minutes" | "pfax" | "pfax-minutes" | "pfax-minutes-inbound" | "pfax-minutes-outbound" | "pfax-pages" | "phonenumbers" | "phonenumbers-cps" | "phonenumbers-emergency" | "phonenumbers-local" | "phonenumbers-mobile" | "phonenumbers-setups" | "phonenumbers-tollfree" | "premiumsupport" | "proxy" | "proxy-active-sessions" | "pstnconnectivity" | "pv" | "pv-composition-media-downloaded" | "pv-composition-media-encrypted" | "pv-composition-media-stored" | "pv-composition-minutes" | "pv-recording-compositions" | "pv-room-participants" | "pv-room-participants-au1" | "pv-room-participants-br1" | "pv-room-participants-ie1" | "pv-room-participants-jp1" | "pv-room-participants-sg1" | "pv-room-participants-us1" | "pv-room-participants-us2" | "pv-rooms" | "pv-sip-endpoint-registrations" | "recordings" | "recordingstorage" | "rooms-group-bandwidth" | "rooms-group-minutes" | "rooms-peer-to-peer-minutes" | "shortcodes" | "shortcodes-customerowned" | "shortcodes-mms-enablement" | "shortcodes-mps" | "shortcodes-random" | "shortcodes-uk" | "shortcodes-vanity" | "small-group-rooms" | "small-group-rooms-data-track" | "small-group-rooms-participant-minutes" | "sms" | "sms-inbound" | "sms-inbound-longcode" | "sms-inbound-shortcode" | "sms-messages-carrierfees" | "sms-messages-features" | "sms-messages-features-senderid" | "sms-outbound" | "sms-outbound-content-inspection" | "sms-outbound-longcode" | "sms-outbound-shortcode" | "speech-recognition" | "studio-engagements" | "sync" | "sync-actions" | "sync-endpoint-hours" | "sync-endpoint-hours-above-daily-cap" | "taskrouter-tasks" | "totalprice" | "transcriptions" | "trunking-cps" | "trunking-emergency-calls" | "trunking-origination" | "trunking-origination-local" | "trunking-origination-mobile" | "trunking-origination-tollfree" | "trunking-recordings" | "trunking-secure" | "trunking-termination" | "turnmegabytes" | "turnmegabytes-australia" | "turnmegabytes-brasil" | "turnmegabytes-germany" | "turnmegabytes-india" | "turnmegabytes-ireland" | "turnmegabytes-japan" | "turnmegabytes-singapore" | "turnmegabytes-useast" | "turnmegabytes-uswest" | "twilio-interconnect" | "verify-push" | "verify-totp" | "verify-whatsapp-conversations-business-initiated" | "video-recordings" | "virtual-agent" | "voice-insights" | "voice-insights-client-insights-on-demand-minute" | "voice-insights-ptsn-insights-on-demand-minute" | "voice-insights-sip-interface-insights-on-demand-minute" | "voice-insights-sip-trunking-insights-on-demand-minute" | "wireless" | "wireless-orders" | "wireless-orders-artwork" | "wireless-orders-bulk" | "wireless-orders-esim" | "wireless-orders-starter" | "wireless-usage" | "wireless-usage-commands" | "wireless-usage-commands-africa" | "wireless-usage-commands-asia" | "wireless-usage-commands-centralandsouthamerica" | "wireless-usage-commands-europe" | "wireless-usage-commands-home" | "wireless-usage-commands-northamerica" | "wireless-usage-commands-oceania" | "wireless-usage-commands-roaming" | "wireless-usage-data" | "wireless-usage-data-africa" | "wireless-usage-data-asia" | "wireless-usage-data-centralandsouthamerica" | "wireless-usage-data-custom-additionalmb" | "wireless-usage-data-custom-first5mb" | "wireless-usage-data-domestic-roaming" | "wireless-usage-data-europe" | "wireless-usage-data-individual-additionalgb" | "wireless-usage-data-individual-firstgb" | "wireless-usage-data-international-roaming-canada" | "wireless-usage-data-international-roaming-india" | "wireless-usage-data-international-roaming-mexico" | "wireless-usage-data-northamerica" | "wireless-usage-data-oceania" | "wireless-usage-data-pooled" | "wireless-usage-data-pooled-downlink" | "wireless-usage-data-pooled-uplink" | "wireless-usage-mrc" | "wireless-usage-mrc-custom" | "wireless-usage-mrc-individual" | "wireless-usage-mrc-pooled" | "wireless-usage-mrc-suspended" | "wireless-usage-sms" | "wireless-usage-voice";
7
7
  /**
8
8
  * Options to pass to each
9
9
  */
10
10
  export interface LastMonthListInstanceEachOptions {
11
11
  /** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
12
- category?: UsageRecordLastMonthCategory;
12
+ category?: LastMonthCategory;
13
13
  /** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */
14
14
  startDate?: Date;
15
15
  /** Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date. */
@@ -30,7 +30,7 @@ export interface LastMonthListInstanceEachOptions {
30
30
  */
31
31
  export interface LastMonthListInstanceOptions {
32
32
  /** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
33
- category?: UsageRecordLastMonthCategory;
33
+ category?: LastMonthCategory;
34
34
  /** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */
35
35
  startDate?: Date;
36
36
  /** Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date. */
@@ -47,7 +47,7 @@ export interface LastMonthListInstanceOptions {
47
47
  */
48
48
  export interface LastMonthListInstancePageOptions {
49
49
  /** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
50
- category?: UsageRecordLastMonthCategory;
50
+ category?: LastMonthCategory;
51
51
  /** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */
52
52
  startDate?: Date;
53
53
  /** Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date. */
@@ -132,7 +132,7 @@ interface LastMonthResource {
132
132
  account_sid: string;
133
133
  api_version: string;
134
134
  as_of: string;
135
- category: UsageRecordLastMonthCategory;
135
+ category: LastMonthCategory;
136
136
  count: string;
137
137
  count_unit: string;
138
138
  description: string;
@@ -160,7 +160,7 @@ export declare class LastMonthInstance {
160
160
  * Usage records up to date as of this timestamp, formatted as YYYY-MM-DDTHH:MM:SS+00:00. All timestamps are in GMT
161
161
  */
162
162
  asOf: string;
163
- category: UsageRecordLastMonthCategory;
163
+ category: LastMonthCategory;
164
164
  /**
165
165
  * The number of usage events, such as the number of calls.
166
166
  */
@@ -214,7 +214,7 @@ export declare class LastMonthInstance {
214
214
  accountSid: string;
215
215
  apiVersion: string;
216
216
  asOf: string;
217
- category: UsageRecordLastMonthCategory;
217
+ category: LastMonthCategory;
218
218
  count: string;
219
219
  countUnit: string;
220
220
  description: string;
@@ -3,13 +3,13 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../../../base/Page";
4
4
  import Response from "../../../../../../http/response";
5
5
  import V2010 from "../../../../V2010";
6
- type UsageRecordMonthlyCategory = "a2p-registration-fees" | "agent-conference" | "amazon-polly" | "answering-machine-detection" | "authy-authentications" | "authy-calls-outbound" | "authy-monthly-fees" | "authy-phone-intelligence" | "authy-phone-verifications" | "authy-sms-outbound" | "call-progess-events" | "calleridlookups" | "calls" | "calls-client" | "calls-globalconference" | "calls-inbound" | "calls-inbound-local" | "calls-inbound-mobile" | "calls-inbound-tollfree" | "calls-outbound" | "calls-pay-verb-transactions" | "calls-recordings" | "calls-sip" | "calls-sip-inbound" | "calls-sip-outbound" | "calls-transfers" | "carrier-lookups" | "conversations" | "conversations-api-requests" | "conversations-conversation-events" | "conversations-endpoint-connectivity" | "conversations-events" | "conversations-participant-events" | "conversations-participants" | "cps" | "flex-usage" | "fraud-lookups" | "group-rooms" | "group-rooms-data-track" | "group-rooms-encrypted-media-recorded" | "group-rooms-media-downloaded" | "group-rooms-media-recorded" | "group-rooms-media-routed" | "group-rooms-media-stored" | "group-rooms-participant-minutes" | "group-rooms-recorded-minutes" | "imp-v1-usage" | "lookups" | "marketplace" | "marketplace-algorithmia-named-entity-recognition" | "marketplace-cadence-transcription" | "marketplace-cadence-translation" | "marketplace-capio-speech-to-text" | "marketplace-convriza-ababa" | "marketplace-deepgram-phrase-detector" | "marketplace-digital-segment-business-info" | "marketplace-facebook-offline-conversions" | "marketplace-google-speech-to-text" | "marketplace-ibm-watson-message-insights" | "marketplace-ibm-watson-message-sentiment" | "marketplace-ibm-watson-recording-analysis" | "marketplace-ibm-watson-tone-analyzer" | "marketplace-icehook-systems-scout" | "marketplace-infogroup-dataaxle-bizinfo" | "marketplace-keen-io-contact-center-analytics" | "marketplace-marchex-cleancall" | "marketplace-marchex-sentiment-analysis-for-sms" | "marketplace-marketplace-nextcaller-social-id" | "marketplace-mobile-commons-opt-out-classifier" | "marketplace-nexiwave-voicemail-to-text" | "marketplace-nextcaller-advanced-caller-identification" | "marketplace-nomorobo-spam-score" | "marketplace-payfone-tcpa-compliance" | "marketplace-remeeting-automatic-speech-recognition" | "marketplace-tcpa-defense-solutions-blacklist-feed" | "marketplace-telo-opencnam" | "marketplace-truecnam-true-spam" | "marketplace-twilio-caller-name-lookup-us" | "marketplace-twilio-carrier-information-lookup" | "marketplace-voicebase-pci" | "marketplace-voicebase-transcription" | "marketplace-voicebase-transcription-custom-vocabulary" | "marketplace-whitepages-pro-caller-identification" | "marketplace-whitepages-pro-phone-intelligence" | "marketplace-whitepages-pro-phone-reputation" | "marketplace-wolfarm-spoken-results" | "marketplace-wolfram-short-answer" | "marketplace-ytica-contact-center-reporting-analytics" | "mediastorage" | "mms" | "mms-inbound" | "mms-inbound-longcode" | "mms-inbound-shortcode" | "mms-messages-carrierfees" | "mms-outbound" | "mms-outbound-longcode" | "mms-outbound-shortcode" | "monitor-reads" | "monitor-storage" | "monitor-writes" | "notify" | "notify-actions-attempts" | "notify-channels" | "number-format-lookups" | "pchat" | "pchat-users" | "peer-to-peer-rooms-participant-minutes" | "pfax" | "pfax-minutes" | "pfax-minutes-inbound" | "pfax-minutes-outbound" | "pfax-pages" | "phonenumbers" | "phonenumbers-cps" | "phonenumbers-emergency" | "phonenumbers-local" | "phonenumbers-mobile" | "phonenumbers-setups" | "phonenumbers-tollfree" | "premiumsupport" | "proxy" | "proxy-active-sessions" | "pstnconnectivity" | "pv" | "pv-composition-media-downloaded" | "pv-composition-media-encrypted" | "pv-composition-media-stored" | "pv-composition-minutes" | "pv-recording-compositions" | "pv-room-participants" | "pv-room-participants-au1" | "pv-room-participants-br1" | "pv-room-participants-ie1" | "pv-room-participants-jp1" | "pv-room-participants-sg1" | "pv-room-participants-us1" | "pv-room-participants-us2" | "pv-rooms" | "pv-sip-endpoint-registrations" | "recordings" | "recordingstorage" | "rooms-group-bandwidth" | "rooms-group-minutes" | "rooms-peer-to-peer-minutes" | "shortcodes" | "shortcodes-customerowned" | "shortcodes-mms-enablement" | "shortcodes-mps" | "shortcodes-random" | "shortcodes-uk" | "shortcodes-vanity" | "small-group-rooms" | "small-group-rooms-data-track" | "small-group-rooms-participant-minutes" | "sms" | "sms-inbound" | "sms-inbound-longcode" | "sms-inbound-shortcode" | "sms-messages-carrierfees" | "sms-messages-features" | "sms-messages-features-senderid" | "sms-outbound" | "sms-outbound-content-inspection" | "sms-outbound-longcode" | "sms-outbound-shortcode" | "speech-recognition" | "studio-engagements" | "sync" | "sync-actions" | "sync-endpoint-hours" | "sync-endpoint-hours-above-daily-cap" | "taskrouter-tasks" | "totalprice" | "transcriptions" | "trunking-cps" | "trunking-emergency-calls" | "trunking-origination" | "trunking-origination-local" | "trunking-origination-mobile" | "trunking-origination-tollfree" | "trunking-recordings" | "trunking-secure" | "trunking-termination" | "turnmegabytes" | "turnmegabytes-australia" | "turnmegabytes-brasil" | "turnmegabytes-germany" | "turnmegabytes-india" | "turnmegabytes-ireland" | "turnmegabytes-japan" | "turnmegabytes-singapore" | "turnmegabytes-useast" | "turnmegabytes-uswest" | "twilio-interconnect" | "verify-push" | "verify-totp" | "verify-whatsapp-conversations-business-initiated" | "video-recordings" | "virtual-agent" | "voice-insights" | "voice-insights-client-insights-on-demand-minute" | "voice-insights-ptsn-insights-on-demand-minute" | "voice-insights-sip-interface-insights-on-demand-minute" | "voice-insights-sip-trunking-insights-on-demand-minute" | "wireless" | "wireless-orders" | "wireless-orders-artwork" | "wireless-orders-bulk" | "wireless-orders-esim" | "wireless-orders-starter" | "wireless-usage" | "wireless-usage-commands" | "wireless-usage-commands-africa" | "wireless-usage-commands-asia" | "wireless-usage-commands-centralandsouthamerica" | "wireless-usage-commands-europe" | "wireless-usage-commands-home" | "wireless-usage-commands-northamerica" | "wireless-usage-commands-oceania" | "wireless-usage-commands-roaming" | "wireless-usage-data" | "wireless-usage-data-africa" | "wireless-usage-data-asia" | "wireless-usage-data-centralandsouthamerica" | "wireless-usage-data-custom-additionalmb" | "wireless-usage-data-custom-first5mb" | "wireless-usage-data-domestic-roaming" | "wireless-usage-data-europe" | "wireless-usage-data-individual-additionalgb" | "wireless-usage-data-individual-firstgb" | "wireless-usage-data-international-roaming-canada" | "wireless-usage-data-international-roaming-india" | "wireless-usage-data-international-roaming-mexico" | "wireless-usage-data-northamerica" | "wireless-usage-data-oceania" | "wireless-usage-data-pooled" | "wireless-usage-data-pooled-downlink" | "wireless-usage-data-pooled-uplink" | "wireless-usage-mrc" | "wireless-usage-mrc-custom" | "wireless-usage-mrc-individual" | "wireless-usage-mrc-pooled" | "wireless-usage-mrc-suspended" | "wireless-usage-sms" | "wireless-usage-voice";
6
+ export type MonthlyCategory = "a2p-registration-fees" | "agent-conference" | "amazon-polly" | "answering-machine-detection" | "authy-authentications" | "authy-calls-outbound" | "authy-monthly-fees" | "authy-phone-intelligence" | "authy-phone-verifications" | "authy-sms-outbound" | "call-progess-events" | "calleridlookups" | "calls" | "calls-client" | "calls-globalconference" | "calls-inbound" | "calls-inbound-local" | "calls-inbound-mobile" | "calls-inbound-tollfree" | "calls-outbound" | "calls-pay-verb-transactions" | "calls-recordings" | "calls-sip" | "calls-sip-inbound" | "calls-sip-outbound" | "calls-transfers" | "carrier-lookups" | "conversations" | "conversations-api-requests" | "conversations-conversation-events" | "conversations-endpoint-connectivity" | "conversations-events" | "conversations-participant-events" | "conversations-participants" | "cps" | "flex-usage" | "fraud-lookups" | "group-rooms" | "group-rooms-data-track" | "group-rooms-encrypted-media-recorded" | "group-rooms-media-downloaded" | "group-rooms-media-recorded" | "group-rooms-media-routed" | "group-rooms-media-stored" | "group-rooms-participant-minutes" | "group-rooms-recorded-minutes" | "imp-v1-usage" | "lookups" | "marketplace" | "marketplace-algorithmia-named-entity-recognition" | "marketplace-cadence-transcription" | "marketplace-cadence-translation" | "marketplace-capio-speech-to-text" | "marketplace-convriza-ababa" | "marketplace-deepgram-phrase-detector" | "marketplace-digital-segment-business-info" | "marketplace-facebook-offline-conversions" | "marketplace-google-speech-to-text" | "marketplace-ibm-watson-message-insights" | "marketplace-ibm-watson-message-sentiment" | "marketplace-ibm-watson-recording-analysis" | "marketplace-ibm-watson-tone-analyzer" | "marketplace-icehook-systems-scout" | "marketplace-infogroup-dataaxle-bizinfo" | "marketplace-keen-io-contact-center-analytics" | "marketplace-marchex-cleancall" | "marketplace-marchex-sentiment-analysis-for-sms" | "marketplace-marketplace-nextcaller-social-id" | "marketplace-mobile-commons-opt-out-classifier" | "marketplace-nexiwave-voicemail-to-text" | "marketplace-nextcaller-advanced-caller-identification" | "marketplace-nomorobo-spam-score" | "marketplace-payfone-tcpa-compliance" | "marketplace-remeeting-automatic-speech-recognition" | "marketplace-tcpa-defense-solutions-blacklist-feed" | "marketplace-telo-opencnam" | "marketplace-truecnam-true-spam" | "marketplace-twilio-caller-name-lookup-us" | "marketplace-twilio-carrier-information-lookup" | "marketplace-voicebase-pci" | "marketplace-voicebase-transcription" | "marketplace-voicebase-transcription-custom-vocabulary" | "marketplace-whitepages-pro-caller-identification" | "marketplace-whitepages-pro-phone-intelligence" | "marketplace-whitepages-pro-phone-reputation" | "marketplace-wolfarm-spoken-results" | "marketplace-wolfram-short-answer" | "marketplace-ytica-contact-center-reporting-analytics" | "mediastorage" | "mms" | "mms-inbound" | "mms-inbound-longcode" | "mms-inbound-shortcode" | "mms-messages-carrierfees" | "mms-outbound" | "mms-outbound-longcode" | "mms-outbound-shortcode" | "monitor-reads" | "monitor-storage" | "monitor-writes" | "notify" | "notify-actions-attempts" | "notify-channels" | "number-format-lookups" | "pchat" | "pchat-users" | "peer-to-peer-rooms-participant-minutes" | "pfax" | "pfax-minutes" | "pfax-minutes-inbound" | "pfax-minutes-outbound" | "pfax-pages" | "phonenumbers" | "phonenumbers-cps" | "phonenumbers-emergency" | "phonenumbers-local" | "phonenumbers-mobile" | "phonenumbers-setups" | "phonenumbers-tollfree" | "premiumsupport" | "proxy" | "proxy-active-sessions" | "pstnconnectivity" | "pv" | "pv-composition-media-downloaded" | "pv-composition-media-encrypted" | "pv-composition-media-stored" | "pv-composition-minutes" | "pv-recording-compositions" | "pv-room-participants" | "pv-room-participants-au1" | "pv-room-participants-br1" | "pv-room-participants-ie1" | "pv-room-participants-jp1" | "pv-room-participants-sg1" | "pv-room-participants-us1" | "pv-room-participants-us2" | "pv-rooms" | "pv-sip-endpoint-registrations" | "recordings" | "recordingstorage" | "rooms-group-bandwidth" | "rooms-group-minutes" | "rooms-peer-to-peer-minutes" | "shortcodes" | "shortcodes-customerowned" | "shortcodes-mms-enablement" | "shortcodes-mps" | "shortcodes-random" | "shortcodes-uk" | "shortcodes-vanity" | "small-group-rooms" | "small-group-rooms-data-track" | "small-group-rooms-participant-minutes" | "sms" | "sms-inbound" | "sms-inbound-longcode" | "sms-inbound-shortcode" | "sms-messages-carrierfees" | "sms-messages-features" | "sms-messages-features-senderid" | "sms-outbound" | "sms-outbound-content-inspection" | "sms-outbound-longcode" | "sms-outbound-shortcode" | "speech-recognition" | "studio-engagements" | "sync" | "sync-actions" | "sync-endpoint-hours" | "sync-endpoint-hours-above-daily-cap" | "taskrouter-tasks" | "totalprice" | "transcriptions" | "trunking-cps" | "trunking-emergency-calls" | "trunking-origination" | "trunking-origination-local" | "trunking-origination-mobile" | "trunking-origination-tollfree" | "trunking-recordings" | "trunking-secure" | "trunking-termination" | "turnmegabytes" | "turnmegabytes-australia" | "turnmegabytes-brasil" | "turnmegabytes-germany" | "turnmegabytes-india" | "turnmegabytes-ireland" | "turnmegabytes-japan" | "turnmegabytes-singapore" | "turnmegabytes-useast" | "turnmegabytes-uswest" | "twilio-interconnect" | "verify-push" | "verify-totp" | "verify-whatsapp-conversations-business-initiated" | "video-recordings" | "virtual-agent" | "voice-insights" | "voice-insights-client-insights-on-demand-minute" | "voice-insights-ptsn-insights-on-demand-minute" | "voice-insights-sip-interface-insights-on-demand-minute" | "voice-insights-sip-trunking-insights-on-demand-minute" | "wireless" | "wireless-orders" | "wireless-orders-artwork" | "wireless-orders-bulk" | "wireless-orders-esim" | "wireless-orders-starter" | "wireless-usage" | "wireless-usage-commands" | "wireless-usage-commands-africa" | "wireless-usage-commands-asia" | "wireless-usage-commands-centralandsouthamerica" | "wireless-usage-commands-europe" | "wireless-usage-commands-home" | "wireless-usage-commands-northamerica" | "wireless-usage-commands-oceania" | "wireless-usage-commands-roaming" | "wireless-usage-data" | "wireless-usage-data-africa" | "wireless-usage-data-asia" | "wireless-usage-data-centralandsouthamerica" | "wireless-usage-data-custom-additionalmb" | "wireless-usage-data-custom-first5mb" | "wireless-usage-data-domestic-roaming" | "wireless-usage-data-europe" | "wireless-usage-data-individual-additionalgb" | "wireless-usage-data-individual-firstgb" | "wireless-usage-data-international-roaming-canada" | "wireless-usage-data-international-roaming-india" | "wireless-usage-data-international-roaming-mexico" | "wireless-usage-data-northamerica" | "wireless-usage-data-oceania" | "wireless-usage-data-pooled" | "wireless-usage-data-pooled-downlink" | "wireless-usage-data-pooled-uplink" | "wireless-usage-mrc" | "wireless-usage-mrc-custom" | "wireless-usage-mrc-individual" | "wireless-usage-mrc-pooled" | "wireless-usage-mrc-suspended" | "wireless-usage-sms" | "wireless-usage-voice";
7
7
  /**
8
8
  * Options to pass to each
9
9
  */
10
10
  export interface MonthlyListInstanceEachOptions {
11
11
  /** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
12
- category?: UsageRecordMonthlyCategory;
12
+ category?: MonthlyCategory;
13
13
  /** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */
14
14
  startDate?: Date;
15
15
  /** Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date. */
@@ -30,7 +30,7 @@ export interface MonthlyListInstanceEachOptions {
30
30
  */
31
31
  export interface MonthlyListInstanceOptions {
32
32
  /** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
33
- category?: UsageRecordMonthlyCategory;
33
+ category?: MonthlyCategory;
34
34
  /** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */
35
35
  startDate?: Date;
36
36
  /** Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date. */
@@ -47,7 +47,7 @@ export interface MonthlyListInstanceOptions {
47
47
  */
48
48
  export interface MonthlyListInstancePageOptions {
49
49
  /** The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. */
50
- category?: UsageRecordMonthlyCategory;
50
+ category?: MonthlyCategory;
51
51
  /** Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date. */
52
52
  startDate?: Date;
53
53
  /** Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date. */
@@ -132,7 +132,7 @@ interface MonthlyResource {
132
132
  account_sid: string;
133
133
  api_version: string;
134
134
  as_of: string;
135
- category: UsageRecordMonthlyCategory;
135
+ category: MonthlyCategory;
136
136
  count: string;
137
137
  count_unit: string;
138
138
  description: string;
@@ -160,7 +160,7 @@ export declare class MonthlyInstance {
160
160
  * Usage records up to date as of this timestamp, formatted as YYYY-MM-DDTHH:MM:SS+00:00. All timestamps are in GMT
161
161
  */
162
162
  asOf: string;
163
- category: UsageRecordMonthlyCategory;
163
+ category: MonthlyCategory;
164
164
  /**
165
165
  * The number of usage events, such as the number of calls.
166
166
  */
@@ -214,7 +214,7 @@ export declare class MonthlyInstance {
214
214
  accountSid: string;
215
215
  apiVersion: string;
216
216
  asOf: string;
217
- category: UsageRecordMonthlyCategory;
217
+ category: MonthlyCategory;
218
218
  count: string;
219
219
  countUnit: string;
220
220
  description: string;