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
@@ -0,0 +1,115 @@
1
+ "use strict";
2
+ /*
3
+ * This code was generated by
4
+ * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
5
+ * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
6
+ * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
7
+ *
8
+ * Twilio - Microvisor
9
+ * This is the public Twilio REST API.
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator.
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AppManifestListInstance = exports.AppManifestInstance = exports.AppManifestContextImpl = void 0;
17
+ const util_1 = require("util");
18
+ const deserialize = require("../../../../base/deserialize");
19
+ const serialize = require("../../../../base/serialize");
20
+ const utility_1 = require("../../../../base/utility");
21
+ class AppManifestContextImpl {
22
+ constructor(_version, appSid) {
23
+ this._version = _version;
24
+ if (!(0, utility_1.isValidPathParam)(appSid)) {
25
+ throw new Error("Parameter 'appSid' is not valid.");
26
+ }
27
+ this._solution = { appSid };
28
+ this._uri = `/Apps/${appSid}/Manifest`;
29
+ }
30
+ fetch(callback) {
31
+ const instance = this;
32
+ let operationVersion = instance._version, operationPromise = operationVersion.fetch({
33
+ uri: instance._uri,
34
+ method: "get",
35
+ });
36
+ operationPromise = operationPromise.then((payload) => new AppManifestInstance(operationVersion, payload, instance._solution.appSid));
37
+ operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
38
+ return operationPromise;
39
+ }
40
+ /**
41
+ * Provide a user-friendly representation
42
+ *
43
+ * @returns Object
44
+ */
45
+ toJSON() {
46
+ return this._solution;
47
+ }
48
+ [util_1.inspect.custom](_depth, options) {
49
+ return (0, util_1.inspect)(this.toJSON(), options);
50
+ }
51
+ }
52
+ exports.AppManifestContextImpl = AppManifestContextImpl;
53
+ class AppManifestInstance {
54
+ constructor(_version, payload, appSid) {
55
+ this._version = _version;
56
+ this.appSid = payload.app_sid;
57
+ this.hash = payload.hash;
58
+ this.encodedBytes = payload.encoded_bytes;
59
+ this.url = payload.url;
60
+ this._solution = { appSid };
61
+ }
62
+ get _proxy() {
63
+ this._context =
64
+ this._context ||
65
+ new AppManifestContextImpl(this._version, this._solution.appSid);
66
+ return this._context;
67
+ }
68
+ /**
69
+ * Fetch a AppManifestInstance
70
+ *
71
+ * @param callback - Callback to handle processed record
72
+ *
73
+ * @returns Resolves to processed AppManifestInstance
74
+ */
75
+ fetch(callback) {
76
+ return this._proxy.fetch(callback);
77
+ }
78
+ /**
79
+ * Provide a user-friendly representation
80
+ *
81
+ * @returns Object
82
+ */
83
+ toJSON() {
84
+ return {
85
+ appSid: this.appSid,
86
+ hash: this.hash,
87
+ encodedBytes: this.encodedBytes,
88
+ url: this.url,
89
+ };
90
+ }
91
+ [util_1.inspect.custom](_depth, options) {
92
+ return (0, util_1.inspect)(this.toJSON(), options);
93
+ }
94
+ }
95
+ exports.AppManifestInstance = AppManifestInstance;
96
+ function AppManifestListInstance(version, appSid) {
97
+ if (!(0, utility_1.isValidPathParam)(appSid)) {
98
+ throw new Error("Parameter 'appSid' is not valid.");
99
+ }
100
+ const instance = (() => instance.get());
101
+ instance.get = function get() {
102
+ return new AppManifestContextImpl(version, appSid);
103
+ };
104
+ instance._version = version;
105
+ instance._solution = { appSid };
106
+ instance._uri = ``;
107
+ instance.toJSON = function toJSON() {
108
+ return instance._solution;
109
+ };
110
+ instance[util_1.inspect.custom] = function inspectImpl(_depth, options) {
111
+ return (0, util_1.inspect)(instance.toJSON(), options);
112
+ };
113
+ return instance;
114
+ }
115
+ exports.AppManifestListInstance = AppManifestListInstance;
@@ -3,6 +3,7 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../base/Page";
4
4
  import Response from "../../../http/response";
5
5
  import V1 from "../V1";
6
+ import { AppManifestListInstance } from "./app/appManifest";
6
7
  /**
7
8
  * Options to pass to each
8
9
  */
@@ -37,6 +38,7 @@ export interface AppListInstancePageOptions {
37
38
  pageToken?: string;
38
39
  }
39
40
  export interface AppContext {
41
+ appManifests: AppManifestListInstance;
40
42
  /**
41
43
  * Remove a AppInstance
42
44
  *
@@ -66,7 +68,9 @@ export declare class AppContextImpl implements AppContext {
66
68
  protected _version: V1;
67
69
  protected _solution: AppContextSolution;
68
70
  protected _uri: string;
71
+ protected _appManifests?: AppManifestListInstance;
69
72
  constructor(_version: V1, sid: string);
73
+ get appManifests(): AppManifestListInstance;
70
74
  remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
71
75
  fetch(callback?: (error: Error | null, item?: AppInstance) => any): Promise<AppInstance>;
72
76
  /**
@@ -88,6 +92,7 @@ interface AppResource {
88
92
  date_created: Date;
89
93
  date_updated: Date;
90
94
  url: string;
95
+ links: Record<string, string>;
91
96
  }
92
97
  export declare class AppInstance {
93
98
  protected _version: V1;
@@ -122,6 +127,7 @@ export declare class AppInstance {
122
127
  * The URL of this resource.
123
128
  */
124
129
  url: string;
130
+ links: Record<string, string>;
125
131
  private get _proxy();
126
132
  /**
127
133
  * Remove a AppInstance
@@ -139,6 +145,10 @@ export declare class AppInstance {
139
145
  * @returns Resolves to processed AppInstance
140
146
  */
141
147
  fetch(callback?: (error: Error | null, item?: AppInstance) => any): Promise<AppInstance>;
148
+ /**
149
+ * Access the appManifests.
150
+ */
151
+ appManifests(): AppManifestListInstance;
142
152
  /**
143
153
  * Provide a user-friendly representation
144
154
  *
@@ -152,6 +162,7 @@ export declare class AppInstance {
152
162
  dateCreated: Date;
153
163
  dateUpdated: Date;
154
164
  url: string;
165
+ links: Record<string, string>;
155
166
  };
156
167
  [inspect.custom](_depth: any, options: InspectOptions): string;
157
168
  }
@@ -22,6 +22,7 @@ const Page_1 = __importDefault(require("../../../base/Page"));
22
22
  const deserialize = require("../../../base/deserialize");
23
23
  const serialize = require("../../../base/serialize");
24
24
  const utility_1 = require("../../../base/utility");
25
+ const appManifest_1 = require("./app/appManifest");
25
26
  class AppContextImpl {
26
27
  constructor(_version, sid) {
27
28
  this._version = _version;
@@ -31,6 +32,12 @@ class AppContextImpl {
31
32
  this._solution = { sid };
32
33
  this._uri = `/Apps/${sid}`;
33
34
  }
35
+ get appManifests() {
36
+ this._appManifests =
37
+ this._appManifests ||
38
+ (0, appManifest_1.AppManifestListInstance)(this._version, this._solution.sid);
39
+ return this._appManifests;
40
+ }
34
41
  remove(callback) {
35
42
  const instance = this;
36
43
  let operationVersion = instance._version, operationPromise = operationVersion.remove({
@@ -73,6 +80,7 @@ class AppInstance {
73
80
  this.dateCreated = deserialize.iso8601DateTime(payload.date_created);
74
81
  this.dateUpdated = deserialize.iso8601DateTime(payload.date_updated);
75
82
  this.url = payload.url;
83
+ this.links = payload.links;
76
84
  this._solution = { sid: sid || this.sid };
77
85
  }
78
86
  get _proxy() {
@@ -100,6 +108,12 @@ class AppInstance {
100
108
  fetch(callback) {
101
109
  return this._proxy.fetch(callback);
102
110
  }
111
+ /**
112
+ * Access the appManifests.
113
+ */
114
+ appManifests() {
115
+ return this._proxy.appManifests;
116
+ }
103
117
  /**
104
118
  * Provide a user-friendly representation
105
119
  *
@@ -114,6 +128,7 @@ class AppInstance {
114
128
  dateCreated: this.dateCreated,
115
129
  dateUpdated: this.dateUpdated,
116
130
  url: this.url,
131
+ links: this.links,
117
132
  };
118
133
  }
119
134
  [util_1.inspect.custom](_depth, options) {
@@ -3,6 +3,13 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../base/Page";
4
4
  import Response from "../../../../http/response";
5
5
  import V1 from "../../V1";
6
+ /**
7
+ * Options to pass to update a DeviceConfigInstance
8
+ */
9
+ export interface DeviceConfigContextUpdateOptions {
10
+ /** The config value; up to 4096 characters. */
11
+ value: string;
12
+ }
6
13
  /**
7
14
  * Options to pass to create a DeviceConfigInstance
8
15
  */
@@ -62,6 +69,15 @@ export interface DeviceConfigContext {
62
69
  * @returns Resolves to processed DeviceConfigInstance
63
70
  */
64
71
  fetch(callback?: (error: Error | null, item?: DeviceConfigInstance) => any): Promise<DeviceConfigInstance>;
72
+ /**
73
+ * Update a DeviceConfigInstance
74
+ *
75
+ * @param params - Parameter for request
76
+ * @param callback - Callback to handle processed record
77
+ *
78
+ * @returns Resolves to processed DeviceConfigInstance
79
+ */
80
+ update(params: DeviceConfigContextUpdateOptions, callback?: (error: Error | null, item?: DeviceConfigInstance) => any): Promise<DeviceConfigInstance>;
65
81
  /**
66
82
  * Provide a user-friendly representation
67
83
  */
@@ -79,6 +95,7 @@ export declare class DeviceConfigContextImpl implements DeviceConfigContext {
79
95
  constructor(_version: V1, deviceSid: string, key: string);
80
96
  remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
81
97
  fetch(callback?: (error: Error | null, item?: DeviceConfigInstance) => any): Promise<DeviceConfigInstance>;
98
+ update(params: DeviceConfigContextUpdateOptions, callback?: (error: Error | null, item?: DeviceConfigInstance) => any): Promise<DeviceConfigInstance>;
82
99
  /**
83
100
  * Provide a user-friendly representation
84
101
  *
@@ -136,6 +153,15 @@ export declare class DeviceConfigInstance {
136
153
  * @returns Resolves to processed DeviceConfigInstance
137
154
  */
138
155
  fetch(callback?: (error: Error | null, item?: DeviceConfigInstance) => any): Promise<DeviceConfigInstance>;
156
+ /**
157
+ * Update a DeviceConfigInstance
158
+ *
159
+ * @param params - Parameter for request
160
+ * @param callback - Callback to handle processed record
161
+ *
162
+ * @returns Resolves to processed DeviceConfigInstance
163
+ */
164
+ update(params: DeviceConfigContextUpdateOptions, callback?: (error: Error | null, item?: DeviceConfigInstance) => any): Promise<DeviceConfigInstance>;
139
165
  /**
140
166
  * Provide a user-friendly representation
141
167
  *
@@ -53,6 +53,28 @@ class DeviceConfigContextImpl {
53
53
  operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
54
54
  return operationPromise;
55
55
  }
56
+ update(params, callback) {
57
+ if (params === null || params === undefined) {
58
+ throw new Error('Required parameter "params" missing.');
59
+ }
60
+ if (params["value"] === null || params["value"] === undefined) {
61
+ throw new Error("Required parameter \"params['value']\" missing.");
62
+ }
63
+ let data = {};
64
+ data["Value"] = params["value"];
65
+ const headers = {};
66
+ headers["Content-Type"] = "application/x-www-form-urlencoded";
67
+ const instance = this;
68
+ let operationVersion = instance._version, operationPromise = operationVersion.update({
69
+ uri: instance._uri,
70
+ method: "post",
71
+ data,
72
+ headers,
73
+ });
74
+ operationPromise = operationPromise.then((payload) => new DeviceConfigInstance(operationVersion, payload, instance._solution.deviceSid, instance._solution.key));
75
+ operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
76
+ return operationPromise;
77
+ }
56
78
  /**
57
79
  * Provide a user-friendly representation
58
80
  *
@@ -102,6 +124,9 @@ class DeviceConfigInstance {
102
124
  fetch(callback) {
103
125
  return this._proxy.fetch(callback);
104
126
  }
127
+ update(params, callback) {
128
+ return this._proxy.update(params, callback);
129
+ }
105
130
  /**
106
131
  * Provide a user-friendly representation
107
132
  *
@@ -3,6 +3,13 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../base/Page";
4
4
  import Response from "../../../../http/response";
5
5
  import V1 from "../../V1";
6
+ /**
7
+ * Options to pass to update a DeviceSecretInstance
8
+ */
9
+ export interface DeviceSecretContextUpdateOptions {
10
+ /** The secret value; up to 4096 characters. */
11
+ value: string;
12
+ }
6
13
  /**
7
14
  * Options to pass to create a DeviceSecretInstance
8
15
  */
@@ -62,6 +69,15 @@ export interface DeviceSecretContext {
62
69
  * @returns Resolves to processed DeviceSecretInstance
63
70
  */
64
71
  fetch(callback?: (error: Error | null, item?: DeviceSecretInstance) => any): Promise<DeviceSecretInstance>;
72
+ /**
73
+ * Update a DeviceSecretInstance
74
+ *
75
+ * @param params - Parameter for request
76
+ * @param callback - Callback to handle processed record
77
+ *
78
+ * @returns Resolves to processed DeviceSecretInstance
79
+ */
80
+ update(params: DeviceSecretContextUpdateOptions, callback?: (error: Error | null, item?: DeviceSecretInstance) => any): Promise<DeviceSecretInstance>;
65
81
  /**
66
82
  * Provide a user-friendly representation
67
83
  */
@@ -79,6 +95,7 @@ export declare class DeviceSecretContextImpl implements DeviceSecretContext {
79
95
  constructor(_version: V1, deviceSid: string, key: string);
80
96
  remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
81
97
  fetch(callback?: (error: Error | null, item?: DeviceSecretInstance) => any): Promise<DeviceSecretInstance>;
98
+ update(params: DeviceSecretContextUpdateOptions, callback?: (error: Error | null, item?: DeviceSecretInstance) => any): Promise<DeviceSecretInstance>;
82
99
  /**
83
100
  * Provide a user-friendly representation
84
101
  *
@@ -131,6 +148,15 @@ export declare class DeviceSecretInstance {
131
148
  * @returns Resolves to processed DeviceSecretInstance
132
149
  */
133
150
  fetch(callback?: (error: Error | null, item?: DeviceSecretInstance) => any): Promise<DeviceSecretInstance>;
151
+ /**
152
+ * Update a DeviceSecretInstance
153
+ *
154
+ * @param params - Parameter for request
155
+ * @param callback - Callback to handle processed record
156
+ *
157
+ * @returns Resolves to processed DeviceSecretInstance
158
+ */
159
+ update(params: DeviceSecretContextUpdateOptions, callback?: (error: Error | null, item?: DeviceSecretInstance) => any): Promise<DeviceSecretInstance>;
134
160
  /**
135
161
  * Provide a user-friendly representation
136
162
  *
@@ -53,6 +53,28 @@ class DeviceSecretContextImpl {
53
53
  operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
54
54
  return operationPromise;
55
55
  }
56
+ update(params, callback) {
57
+ if (params === null || params === undefined) {
58
+ throw new Error('Required parameter "params" missing.');
59
+ }
60
+ if (params["value"] === null || params["value"] === undefined) {
61
+ throw new Error("Required parameter \"params['value']\" missing.");
62
+ }
63
+ let data = {};
64
+ data["Value"] = params["value"];
65
+ const headers = {};
66
+ headers["Content-Type"] = "application/x-www-form-urlencoded";
67
+ const instance = this;
68
+ let operationVersion = instance._version, operationPromise = operationVersion.update({
69
+ uri: instance._uri,
70
+ method: "post",
71
+ data,
72
+ headers,
73
+ });
74
+ operationPromise = operationPromise.then((payload) => new DeviceSecretInstance(operationVersion, payload, instance._solution.deviceSid, instance._solution.key));
75
+ operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
76
+ return operationPromise;
77
+ }
56
78
  /**
57
79
  * Provide a user-friendly representation
58
80
  *
@@ -101,6 +123,9 @@ class DeviceSecretInstance {
101
123
  fetch(callback) {
102
124
  return this._proxy.fetch(callback);
103
125
  }
126
+ update(params, callback) {
127
+ return this._proxy.update(params, callback);
128
+ }
104
129
  /**
105
130
  * Provide a user-friendly representation
106
131
  *
@@ -86,7 +86,6 @@ export declare class AlertContextImpl implements AlertContext {
86
86
  toJSON(): AlertContextSolution;
87
87
  [inspect.custom](_depth: any, options: InspectOptions): string;
88
88
  }
89
- export type AlertRequestMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
90
89
  interface AlertPayload extends TwilioResponsePayload {
91
90
  alerts: AlertResource[];
92
91
  }
@@ -100,7 +99,7 @@ interface AlertResource {
100
99
  error_code: string;
101
100
  log_level: string;
102
101
  more_info: string;
103
- request_method: AlertRequestMethod;
102
+ request_method: string;
104
103
  request_url: string;
105
104
  request_variables: string;
106
105
  resource_sid: string;
@@ -155,7 +154,7 @@ export declare class AlertInstance {
155
154
  /**
156
155
  * The method used by the request that generated the alert. If the alert was generated by a request we made to your server, this is the method we used. If the alert was generated by a request from your application to our API, this is the method your application used.
157
156
  */
158
- requestMethod: AlertRequestMethod;
157
+ requestMethod: string;
159
158
  /**
160
159
  * The URL of the request that generated the alert. If the alert was generated by a request we made to your server, this is the URL on your server that generated the alert. If the alert was generated by a request from your application to our API, this is the URL of the resource requested.
161
160
  */
@@ -216,7 +215,7 @@ export declare class AlertInstance {
216
215
  errorCode: string;
217
216
  logLevel: string;
218
217
  moreInfo: string;
219
- requestMethod: AlertRequestMethod;
218
+ requestMethod: string;
220
219
  requestUrl: string;
221
220
  requestVariables: string;
222
221
  resourceSid: 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 V1 from "../V1";
6
- type CredentialPushService = "gcm" | "apn" | "fcm";
6
+ export type CredentialPushService = "gcm" | "apn" | "fcm";
7
7
  /**
8
8
  * Options to pass to update a CredentialInstance
9
9
  */
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../base/Page";
4
4
  import Response from "../../../../http/response";
5
5
  import V1 from "../../V1";
6
- type BindingBindingType = "apn" | "gcm" | "sms" | "fcm" | "facebook-messenger" | "alexa";
6
+ export type BindingBindingType = "apn" | "gcm" | "sms" | "fcm" | "facebook-messenger" | "alexa";
7
7
  /**
8
8
  * Options to pass to create a BindingInstance
9
9
  */
@@ -1,7 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  import { inspect, InspectOptions } from "util";
3
3
  import V1 from "../../V1";
4
- type NotificationPriority = "high" | "low";
4
+ export type NotificationPriority = "high" | "low";
5
5
  /**
6
6
  * Options to pass to create a NotificationInstance
7
7
  */
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../../base/Page";
4
4
  import Response from "../../../../../http/response";
5
5
  import V2 from "../../../V2";
6
- type BundleCopyStatus = "draft" | "pending-review" | "in-review" | "twilio-rejected" | "twilio-approved" | "provisionally-approved";
6
+ export type BundleCopyStatus = "draft" | "pending-review" | "in-review" | "twilio-rejected" | "twilio-approved" | "provisionally-approved";
7
7
  /**
8
8
  * Options to pass to create a BundleCopyInstance
9
9
  */
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../../base/Page";
4
4
  import Response from "../../../../../http/response";
5
5
  import V2 from "../../../V2";
6
- type EvaluationStatus = "compliant" | "noncompliant";
6
+ export type EvaluationStatus = "compliant" | "noncompliant";
7
7
  /**
8
8
  * Options to pass to each
9
9
  */
@@ -1,7 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  import { inspect, InspectOptions } from "util";
3
3
  import V2 from "../../../V2";
4
- type ReplaceItemsStatus = "draft" | "pending-review" | "in-review" | "twilio-rejected" | "twilio-approved" | "provisionally-approved";
4
+ export type ReplaceItemsStatus = "draft" | "pending-review" | "in-review" | "twilio-rejected" | "twilio-approved" | "provisionally-approved";
5
5
  /**
6
6
  * Options to pass to create a ReplaceItemsInstance
7
7
  */
@@ -7,10 +7,10 @@ import { BundleCopyListInstance } from "./bundle/bundleCopy";
7
7
  import { EvaluationListInstance } from "./bundle/evaluation";
8
8
  import { ItemAssignmentListInstance } from "./bundle/itemAssignment";
9
9
  import { ReplaceItemsListInstance } from "./bundle/replaceItems";
10
- type BundleEndUserType = "individual" | "business";
11
- type BundleSortBy = "valid-until" | "date-updated";
12
- type BundleSortDirection = "ASC" | "DESC";
13
- type BundleStatus = "draft" | "pending-review" | "in-review" | "twilio-rejected" | "twilio-approved" | "provisionally-approved";
10
+ export type BundleEndUserType = "individual" | "business";
11
+ export type BundleSortBy = "valid-until" | "date-updated";
12
+ export type BundleSortDirection = "ASC" | "DESC";
13
+ export type BundleStatus = "draft" | "pending-review" | "in-review" | "twilio-rejected" | "twilio-approved" | "provisionally-approved";
14
14
  /**
15
15
  * Options to pass to update a BundleInstance
16
16
  */
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../base/Page";
4
4
  import Response from "../../../../http/response";
5
5
  import V2 from "../../V2";
6
- type EndUserType = "individual" | "business";
6
+ export type EndUserType = "individual" | "business";
7
7
  /**
8
8
  * Options to pass to update a EndUserInstance
9
9
  */
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../base/Page";
4
4
  import Response from "../../../../http/response";
5
5
  import V2 from "../../V2";
6
- type RegulationEndUserType = "individual" | "business";
6
+ export type RegulationEndUserType = "individual" | "business";
7
7
  /**
8
8
  * Options to pass to each
9
9
  */
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../base/Page";
4
4
  import Response from "../../../../http/response";
5
5
  import V2 from "../../V2";
6
- type SupportingDocumentStatus = "draft" | "pending-review" | "rejected" | "approved" | "expired" | "provisionally-approved";
6
+ export type SupportingDocumentStatus = "draft" | "pending-review" | "rejected" | "approved" | "expired" | "provisionally-approved";
7
7
  /**
8
8
  * Options to pass to update a SupportingDocumentInstance
9
9
  */
@@ -4,8 +4,8 @@ import Page, { TwilioResponsePayload } from "../../../../base/Page";
4
4
  import Response from "../../../../http/response";
5
5
  import HostedNumbers from "../../HostedNumbers";
6
6
  import { PhoneNumberCapabilities } from "../../../../interfaces";
7
- type DependentHostedNumberOrderStatus = "received" | "pending-verification" | "verified" | "pending-loa" | "carrier-processing" | "testing" | "completed" | "failed" | "action-required";
8
- type DependentHostedNumberOrderVerificationType = "phone-call" | "phone-bill";
7
+ export type DependentHostedNumberOrderStatus = "received" | "pending-verification" | "verified" | "pending-loa" | "carrier-processing" | "testing" | "completed" | "failed" | "action-required";
8
+ export type DependentHostedNumberOrderVerificationType = "phone-call" | "phone-bill";
9
9
  /**
10
10
  * Options to pass to each
11
11
  */
@@ -4,7 +4,7 @@ import Page, { TwilioResponsePayload } from "../../../base/Page";
4
4
  import Response from "../../../http/response";
5
5
  import HostedNumbers from "../HostedNumbers";
6
6
  import { DependentHostedNumberOrderListInstance } from "./authorizationDocument/dependentHostedNumberOrder";
7
- type AuthorizationDocumentStatus = "opened" | "signing" | "signed" | "canceled" | "failed";
7
+ export type AuthorizationDocumentStatus = "opened" | "signing" | "signed" | "canceled" | "failed";
8
8
  /**
9
9
  * Options to pass to update a AuthorizationDocumentInstance
10
10
  */
@@ -4,8 +4,8 @@ import Page, { TwilioResponsePayload } from "../../../base/Page";
4
4
  import Response from "../../../http/response";
5
5
  import HostedNumbers from "../HostedNumbers";
6
6
  import { PhoneNumberCapabilities } from "../../../interfaces";
7
- type HostedNumberOrderStatus = "received" | "pending-verification" | "verified" | "pending-loa" | "carrier-processing" | "testing" | "completed" | "failed" | "action-required";
8
- type HostedNumberOrderVerificationType = "phone-call" | "phone-bill";
7
+ export type HostedNumberOrderStatus = "received" | "pending-verification" | "verified" | "pending-loa" | "carrier-processing" | "testing" | "completed" | "failed" | "action-required";
8
+ export type HostedNumberOrderVerificationType = "phone-call" | "phone-bill";
9
9
  /**
10
10
  * Options to pass to update a HostedNumberOrderInstance
11
11
  */
@@ -3,8 +3,8 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../../base/Page";
4
4
  import Response from "../../../../../http/response";
5
5
  import Sync from "../../../Sync";
6
- type SyncListItemQueryFromBoundType = "inclusive" | "exclusive";
7
- type SyncListItemQueryResultOrder = "asc" | "desc";
6
+ export type SyncListItemQueryFromBoundType = "inclusive" | "exclusive";
7
+ export type SyncListItemQueryResultOrder = "asc" | "desc";
8
8
  /**
9
9
  * Options to pass to remove a SyncListItemInstance
10
10
  */
@@ -3,8 +3,8 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../../base/Page";
4
4
  import Response from "../../../../../http/response";
5
5
  import Sync from "../../../Sync";
6
- type SyncMapItemQueryFromBoundType = "inclusive" | "exclusive";
7
- type SyncMapItemQueryResultOrder = "asc" | "desc";
6
+ export type SyncMapItemQueryFromBoundType = "inclusive" | "exclusive";
7
+ export type SyncMapItemQueryResultOrder = "asc" | "desc";
8
8
  /**
9
9
  * Options to pass to remove a SyncMapItemInstance
10
10
  */
@@ -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 Understand from "../../Understand";
6
- type ModelBuildStatus = "enqueued" | "building" | "completed" | "failed" | "canceled";
6
+ export type ModelBuildStatus = "enqueued" | "building" | "completed" | "failed" | "canceled";
7
7
  /**
8
8
  * Options to pass to update a ModelBuildInstance
9
9
  */