twilio 5.4.4 → 5.5.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 (188) hide show
  1. package/lib/base/Page.js +1 -1
  2. package/lib/jwt/ClientCapability.js +1 -1
  3. package/lib/jwt/taskrouter/TaskRouterCapability.js +1 -1
  4. package/lib/rest/accounts/v1/bulkConsents.d.ts +4 -4
  5. package/lib/rest/accounts/v1/bulkConsents.js +1 -1
  6. package/lib/rest/accounts/v1/bulkContacts.d.ts +4 -4
  7. package/lib/rest/accounts/v1/bulkContacts.js +1 -1
  8. package/lib/rest/api/v2010/account/address/dependentPhoneNumber.d.ts +3 -3
  9. package/lib/rest/api/v2010/account/address.d.ts +6 -0
  10. package/lib/rest/api/v2010/account/address.js +2 -0
  11. package/lib/rest/api/v2010/account/call/event.d.ts +6 -6
  12. package/lib/rest/api/v2010/account/call/payment.d.ts +1 -1
  13. package/lib/rest/api/v2010/account/call/recording.d.ts +3 -3
  14. package/lib/rest/api/v2010/account/call/transcription.d.ts +1 -1
  15. package/lib/rest/api/v2010/account/conference/recording.d.ts +3 -3
  16. package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.d.ts +3 -3
  17. package/lib/rest/api/v2010/account/recording.d.ts +3 -3
  18. package/lib/rest/bulkexports/v1/export/exportCustomJob.d.ts +3 -3
  19. package/lib/rest/bulkexports/v1/export/job.d.ts +3 -3
  20. package/lib/rest/chat/v1/service.d.ts +9 -9
  21. package/lib/rest/chat/v2/service/channel/message.d.ts +3 -3
  22. package/lib/rest/chat/v2/service/channel/webhook.d.ts +3 -3
  23. package/lib/rest/chat/v2/service.d.ts +9 -9
  24. package/lib/rest/conversations/v1/addressConfiguration.d.ts +4 -4
  25. package/lib/rest/conversations/v1/conversation/message.d.ts +6 -6
  26. package/lib/rest/conversations/v1/conversation/participant.d.ts +3 -3
  27. package/lib/rest/conversations/v1/conversation/webhook.d.ts +3 -3
  28. package/lib/rest/conversations/v1/conversation.d.ts +6 -6
  29. package/lib/rest/conversations/v1/conversationWithParticipants.d.ts +6 -6
  30. package/lib/rest/conversations/v1/participantConversation.d.ts +6 -6
  31. package/lib/rest/conversations/v1/service/configuration/notification.d.ts +9 -9
  32. package/lib/rest/conversations/v1/service/conversation/message.d.ts +6 -6
  33. package/lib/rest/conversations/v1/service/conversation/participant.d.ts +3 -3
  34. package/lib/rest/conversations/v1/service/conversation/webhook.d.ts +3 -3
  35. package/lib/rest/conversations/v1/service/conversation.d.ts +6 -6
  36. package/lib/rest/conversations/v1/service/conversationWithParticipants.d.ts +6 -6
  37. package/lib/rest/conversations/v1/service/participantConversation.d.ts +6 -6
  38. package/lib/rest/conversations/v1/service/user/userConversation.d.ts +3 -3
  39. package/lib/rest/conversations/v1/user/userConversation.d.ts +3 -3
  40. package/lib/rest/events/v1/sink.d.ts +5 -5
  41. package/lib/rest/events/v1/subscription.d.ts +1 -1
  42. package/lib/rest/events/v1/subscription.js +1 -1
  43. package/lib/rest/flexApi/v1/assessments.d.ts +3 -3
  44. package/lib/rest/flexApi/v1/configuration.d.ts +66 -66
  45. package/lib/rest/flexApi/v1/flexFlow.d.ts +3 -3
  46. package/lib/rest/flexApi/v1/insightsAssessmentsComment.d.ts +3 -3
  47. package/lib/rest/flexApi/v1/insightsConversations.d.ts +3 -3
  48. package/lib/rest/flexApi/v1/insightsQuestionnaires.d.ts +3 -3
  49. package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.d.ts +6 -6
  50. package/lib/rest/flexApi/v1/insightsSegments.d.ts +9 -9
  51. package/lib/rest/flexApi/v1/insightsSettingsAnswerSets.d.ts +9 -9
  52. package/lib/rest/flexApi/v1/insightsSettingsComment.d.ts +3 -3
  53. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.d.ts +4 -4
  54. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +5 -5
  55. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionTransfer.d.ts +232 -0
  56. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionTransfer.js +203 -0
  57. package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +9 -1
  58. package/lib/rest/flexApi/v1/interaction/interactionChannel.js +13 -0
  59. package/lib/rest/flexApi/v1/interaction.d.ts +8 -8
  60. package/lib/rest/flexApi/v1/pluginConfiguration.d.ts +1 -1
  61. package/lib/rest/flexApi/v1/pluginConfiguration.js +1 -1
  62. package/lib/rest/iam/v1/apiKey.d.ts +3 -3
  63. package/lib/rest/iam/v1/newApiKey.d.ts +3 -3
  64. package/lib/rest/insights/v1/call/callSummary.d.ts +30 -30
  65. package/lib/rest/insights/v1/call/event.d.ts +12 -12
  66. package/lib/rest/insights/v1/call/metric.d.ts +12 -12
  67. package/lib/rest/insights/v1/callSummaries.d.ts +30 -30
  68. package/lib/rest/insights/v1/conference/conferenceParticipant.d.ts +10 -10
  69. package/lib/rest/insights/v1/conference.d.ts +7 -7
  70. package/lib/rest/insights/v1/room/participant.d.ts +6 -6
  71. package/lib/rest/intelligence/v2/customOperator.d.ts +5 -5
  72. package/lib/rest/intelligence/v2/operator.d.ts +3 -3
  73. package/lib/rest/intelligence/v2/operatorType.d.ts +3 -3
  74. package/lib/rest/intelligence/v2/prebuiltOperator.d.ts +3 -3
  75. package/lib/rest/intelligence/v2/transcript/operatorResult.d.ts +15 -15
  76. package/lib/rest/intelligence/v2/transcript/sentence.d.ts +3 -3
  77. package/lib/rest/intelligence/v2/transcript.d.ts +4 -4
  78. package/lib/rest/ipMessaging/v1/service.d.ts +9 -9
  79. package/lib/rest/ipMessaging/v2/service/channel/message.d.ts +3 -3
  80. package/lib/rest/ipMessaging/v2/service/channel/webhook.d.ts +3 -3
  81. package/lib/rest/ipMessaging/v2/service.d.ts +9 -9
  82. package/lib/rest/lookups/v1/phoneNumber.d.ts +9 -9
  83. package/lib/rest/lookups/v2/phoneNumber.d.ts +30 -30
  84. package/lib/rest/messaging/v1/brandRegistration/brandVetting.d.ts +2 -2
  85. package/lib/rest/messaging/v1/brandRegistration.d.ts +4 -4
  86. package/lib/rest/messaging/v1/domainCerts.d.ts +3 -3
  87. package/lib/rest/messaging/v1/service/usAppToPerson.d.ts +6 -6
  88. package/lib/rest/messaging/v1/service/usAppToPersonUsecase.d.ts +3 -3
  89. package/lib/rest/messaging/v1/tollfreeVerification.d.ts +7 -7
  90. package/lib/rest/messaging/v1/usecase.d.ts +3 -3
  91. package/lib/rest/microvisor/v1/device.d.ts +6 -6
  92. package/lib/rest/monitor/v1/event.d.ts +3 -3
  93. package/lib/rest/notify/v1/service/notification.d.ts +28 -28
  94. package/lib/rest/numbers/V1.d.ts +5 -5
  95. package/lib/rest/numbers/V1.js +6 -8
  96. package/lib/rest/numbers/v1/bulkEligibility.d.ts +3 -3
  97. package/lib/rest/numbers/v1/eligibility.d.ts +3 -3
  98. package/lib/rest/numbers/v1/portingPortIn.d.ts +6 -6
  99. package/lib/rest/numbers/v1/{portingWebhookConfigurationFetch.d.ts → webhook.d.ts} +10 -10
  100. package/lib/rest/numbers/v1/{portingWebhookConfigurationFetch.js → webhook.js} +6 -6
  101. package/lib/rest/numbers/v2/bulkHostedNumberOrder.d.ts +3 -3
  102. package/lib/rest/numbers/v2/hostedNumberOrder.d.ts +1 -1
  103. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.d.ts +3 -3
  104. package/lib/rest/numbers/v2/regulatoryCompliance/endUser.d.ts +5 -5
  105. package/lib/rest/numbers/v2/regulatoryCompliance/endUserType.d.ts +3 -3
  106. package/lib/rest/numbers/v2/regulatoryCompliance/regulation.d.ts +3 -3
  107. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +8 -8
  108. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.d.ts +3 -3
  109. package/lib/rest/preview/marketplace/availableAddOn.d.ts +3 -3
  110. package/lib/rest/preview/marketplace/installedAddOn.d.ts +5 -5
  111. package/lib/rest/preview/sync/service/document.d.ts +5 -5
  112. package/lib/rest/preview/sync/service/syncList/syncListItem.d.ts +5 -5
  113. package/lib/rest/preview/sync/service/syncMap/syncMapItem.d.ts +5 -5
  114. package/lib/rest/preview/wireless/sim/usage.d.ts +15 -15
  115. package/lib/rest/proxy/v1/service/session.d.ts +1 -1
  116. package/lib/rest/proxy/v1/service/session.js +1 -1
  117. package/lib/rest/serverless/v1/service/build.d.ts +9 -9
  118. package/lib/rest/studio/v1/flow/engagement/engagementContext.d.ts +3 -3
  119. package/lib/rest/studio/v1/flow/engagement/step/stepContext.d.ts +3 -3
  120. package/lib/rest/studio/v1/flow/engagement/step.d.ts +3 -3
  121. package/lib/rest/studio/v1/flow/engagement.d.ts +4 -4
  122. package/lib/rest/studio/v1/flow/execution/executionContext.d.ts +3 -3
  123. package/lib/rest/studio/v1/flow/execution/executionStep/executionStepContext.d.ts +3 -3
  124. package/lib/rest/studio/v1/flow/execution/executionStep.d.ts +3 -3
  125. package/lib/rest/studio/v1/flow/execution.d.ts +4 -4
  126. package/lib/rest/studio/v2/flow/execution/executionContext.d.ts +3 -3
  127. package/lib/rest/studio/v2/flow/execution/executionStep/executionStepContext.d.ts +3 -3
  128. package/lib/rest/studio/v2/flow/execution/executionStep.d.ts +3 -3
  129. package/lib/rest/studio/v2/flow/execution.d.ts +4 -4
  130. package/lib/rest/studio/v2/flow/flowRevision.d.ts +6 -6
  131. package/lib/rest/studio/v2/flow.d.ts +11 -11
  132. package/lib/rest/studio/v2/flowValidate.d.ts +1 -1
  133. package/lib/rest/supersim/v1/network.d.ts +3 -3
  134. package/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.d.ts +3 -3
  135. package/lib/rest/supersim/v1/settingsUpdate.d.ts +3 -3
  136. package/lib/rest/supersim/v1/usageRecord.d.ts +3 -3
  137. package/lib/rest/sync/v1/service/document.d.ts +5 -5
  138. package/lib/rest/sync/v1/service/syncList/syncListItem.d.ts +5 -5
  139. package/lib/rest/sync/v1/service/syncMap/syncMapItem.d.ts +5 -5
  140. package/lib/rest/sync/v1/service/syncStream/streamMessage.d.ts +4 -4
  141. package/lib/rest/taskrouter/v1/workspace/event.d.ts +3 -3
  142. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueBulkRealTimeStatistics.d.ts +3 -3
  143. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueCumulativeStatistics.d.ts +12 -12
  144. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueRealTimeStatistics.d.ts +9 -9
  145. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueStatistics.d.ts +6 -6
  146. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.d.ts +6 -6
  147. package/lib/rest/taskrouter/v1/workspace/worker/workerStatistics.d.ts +3 -3
  148. package/lib/rest/taskrouter/v1/workspace/worker/workersCumulativeStatistics.d.ts +3 -3
  149. package/lib/rest/taskrouter/v1/workspace/worker/workersRealTimeStatistics.d.ts +3 -3
  150. package/lib/rest/taskrouter/v1/workspace/worker/workersStatistics.d.ts +6 -6
  151. package/lib/rest/taskrouter/v1/workspace/workflow/workflowCumulativeStatistics.d.ts +9 -9
  152. package/lib/rest/taskrouter/v1/workspace/workflow/workflowRealTimeStatistics.d.ts +6 -6
  153. package/lib/rest/taskrouter/v1/workspace/workflow/workflowStatistics.d.ts +6 -6
  154. package/lib/rest/taskrouter/v1/workspace/workspaceCumulativeStatistics.d.ts +9 -9
  155. package/lib/rest/taskrouter/v1/workspace/workspaceRealTimeStatistics.d.ts +9 -9
  156. package/lib/rest/taskrouter/v1/workspace/workspaceStatistics.d.ts +6 -6
  157. package/lib/rest/trunking/v1/trunk.d.ts +3 -3
  158. package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.d.ts +3 -3
  159. package/lib/rest/trusthub/v1/customerProfiles.d.ts +3 -3
  160. package/lib/rest/trusthub/v1/endUser.d.ts +5 -5
  161. package/lib/rest/trusthub/v1/endUserType.d.ts +3 -3
  162. package/lib/rest/trusthub/v1/policies.d.ts +3 -3
  163. package/lib/rest/trusthub/v1/supportingDocument.d.ts +6 -6
  164. package/lib/rest/trusthub/v1/supportingDocumentType.d.ts +3 -3
  165. package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.d.ts +3 -3
  166. package/lib/rest/trusthub/v1/trustProducts.d.ts +3 -3
  167. package/lib/rest/verify/v2/form.d.ts +6 -6
  168. package/lib/rest/verify/v2/service/entity/challenge.d.ts +12 -12
  169. package/lib/rest/verify/v2/service/entity/challenge.js +1 -1
  170. package/lib/rest/verify/v2/service/entity/factor.d.ts +6 -6
  171. package/lib/rest/verify/v2/service/entity/newFactor.d.ts +10 -10
  172. package/lib/rest/verify/v2/service/verification.d.ts +11 -11
  173. package/lib/rest/verify/v2/service/verificationCheck.d.ts +3 -3
  174. package/lib/rest/verify/v2/service.d.ts +9 -9
  175. package/lib/rest/verify/v2/template.d.ts +3 -3
  176. package/lib/rest/verify/v2/verificationAttempt.d.ts +6 -6
  177. package/lib/rest/video/v1/composition.d.ts +4 -4
  178. package/lib/rest/video/v1/compositionHook.d.ts +5 -5
  179. package/lib/rest/video/v1/recording.d.ts +3 -3
  180. package/lib/rest/video/v1/room/participant/subscribeRules.d.ts +1 -1
  181. package/lib/rest/video/v1/room/recordingRules.d.ts +1 -1
  182. package/lib/rest/video/v1/room/roomRecording.d.ts +3 -3
  183. package/lib/rest/video/v1/room.d.ts +1 -1
  184. package/lib/rest/wireless/v1/sim/dataSession.d.ts +3 -3
  185. package/lib/rest/wireless/v1/sim/usageRecord.d.ts +9 -9
  186. package/lib/rest/wireless/v1/usageRecord.d.ts +9 -9
  187. package/lib/twiml/VoiceResponse.d.ts +1 -2
  188. package/package.json +3 -3
@@ -23,7 +23,7 @@ export interface UsecaseListInstance {
23
23
  }
24
24
  export declare function UsecaseListInstance(version: V1): UsecaseListInstance;
25
25
  interface UsecaseResource {
26
- usecases: Array<any>;
26
+ usecases: Array<Record<string, object>>;
27
27
  }
28
28
  export declare class UsecaseInstance {
29
29
  protected _version: V1;
@@ -31,14 +31,14 @@ export declare class UsecaseInstance {
31
31
  /**
32
32
  * Human readable use case details (usecase, description and purpose) of Messaging Service Use Cases.
33
33
  */
34
- usecases: Array<any>;
34
+ usecases: Array<Record<string, object>>;
35
35
  /**
36
36
  * Provide a user-friendly representation
37
37
  *
38
38
  * @returns Object
39
39
  */
40
40
  toJSON(): {
41
- usecases: any[];
41
+ usecases: Record<string, object>[];
42
42
  };
43
43
  [inspect.custom](_depth: any, options: InspectOptions): string;
44
44
  }
@@ -114,8 +114,8 @@ interface DeviceResource {
114
114
  sid: string;
115
115
  unique_name: string;
116
116
  account_sid: string;
117
- app: any;
118
- logging: any;
117
+ app: Record<string, object>;
118
+ logging: Record<string, object>;
119
119
  date_created: Date;
120
120
  date_updated: Date;
121
121
  url: string;
@@ -141,11 +141,11 @@ export declare class DeviceInstance {
141
141
  /**
142
142
  * Information about the target App and the App reported by this Device. Contains the properties `target_sid`, `date_targeted`, `update_status` (one of `up-to-date`, `pending` and `error`), `update_error_code`, `reported_sid` and `date_reported`.
143
143
  */
144
- app: any;
144
+ app: Record<string, object>;
145
145
  /**
146
146
  * Object specifying whether application logging is enabled for this Device. Contains the properties `enabled` and `date_expires`.
147
147
  */
148
- logging: any;
148
+ logging: Record<string, object>;
149
149
  /**
150
150
  * The date that this Device was created, given in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
151
151
  */
@@ -205,8 +205,8 @@ export declare class DeviceInstance {
205
205
  sid: string;
206
206
  uniqueName: string;
207
207
  accountSid: string;
208
- app: any;
209
- logging: any;
208
+ app: Record<string, object>;
209
+ logging: Record<string, object>;
210
210
  dateCreated: Date;
211
211
  dateUpdated: Date;
212
212
  url: string;
@@ -112,7 +112,7 @@ interface EventResource {
112
112
  actor_sid: string;
113
113
  actor_type: string;
114
114
  description: string;
115
- event_data: any;
115
+ event_data: Record<string, object>;
116
116
  event_date: Date;
117
117
  event_type: string;
118
118
  resource_sid: string;
@@ -147,7 +147,7 @@ export declare class EventInstance {
147
147
  /**
148
148
  * An object with additional data about the event. The contents depend on `event_type`. For example, event-types of the form `RESOURCE.updated`, this value contains a `resource_properties` dictionary that describes the previous and updated properties of the resource.
149
149
  */
150
- eventData: any;
150
+ eventData: Record<string, object>;
151
151
  /**
152
152
  * The date and time in GMT when the event was recorded specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
153
153
  */
@@ -203,7 +203,7 @@ export declare class EventInstance {
203
203
  actorSid: string;
204
204
  actorType: string;
205
205
  description: string;
206
- eventData: any;
206
+ eventData: Record<string, object>;
207
207
  eventDate: Date;
208
208
  eventType: string;
209
209
  resourceSid: string;
@@ -19,21 +19,21 @@ export interface NotificationListInstanceCreateOptions {
19
19
  /** The actions to display for the notification. For APNS, translates to the `aps.category` value. For GCM, translates to the `data.twi_action` value. For SMS, this parameter is not supported and is omitted from deliveries to those channels. */
20
20
  action?: string;
21
21
  /** The custom key-value pairs of the notification\\\'s payload. For FCM and GCM, this value translates to `data` in the FCM and GCM payloads. FCM and GCM [reserve certain keys](https://firebase.google.com/docs/cloud-messaging/http-server-ref) that cannot be used in those channels. For APNS, attributes of `data` are inserted into the APNS payload as custom properties outside of the `aps` dictionary. In all channels, we reserve keys that start with `twi_` for future use. Custom keys that start with `twi_` are not allowed and are rejected as 400 Bad request with no delivery attempted. For SMS, this parameter is not supported and is omitted from deliveries to those channels. */
22
- data?: any;
22
+ data?: object;
23
23
  /** The APNS-specific payload that overrides corresponding attributes in the generic payload for APNS Bindings. This property maps to the APNS `Payload` item, therefore the `aps` key must be used to change standard attributes. Adds custom key-value pairs to the root of the dictionary. See the [APNS documentation](https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingwithAPNs.html) for more details. We reserve keys that start with `twi_` for future use. Custom keys that start with `twi_` are not allowed. */
24
- apn?: any;
24
+ apn?: object;
25
25
  /** The GCM-specific payload that overrides corresponding attributes in the generic payload for GCM Bindings. This property maps to the root JSON dictionary. See the [GCM documentation](https://firebase.google.com/docs/cloud-messaging/http-server-ref) for more details. Target parameters `to`, `registration_ids`, and `notification_key` are not allowed. We reserve keys that start with `twi_` for future use. Custom keys that start with `twi_` are not allowed. GCM also [reserves certain keys](https://firebase.google.com/docs/cloud-messaging/http-server-ref). */
26
- gcm?: any;
26
+ gcm?: object;
27
27
  /** The SMS-specific payload that overrides corresponding attributes in the generic payload for SMS Bindings. Each attribute in this value maps to the corresponding `form` parameter of the Twilio [Message](https://www.twilio.com/docs/sms/quickstart) resource. These parameters of the Message resource are supported in snake case format: `body`, `media_urls`, `status_callback`, and `max_price`. The `status_callback` parameter overrides the corresponding parameter in the messaging service, if configured. The `media_urls` property expects a JSON array. */
28
- sms?: any;
28
+ sms?: object;
29
29
  /** Deprecated. */
30
- facebookMessenger?: any;
30
+ facebookMessenger?: object;
31
31
  /** The FCM-specific payload that overrides corresponding attributes in the generic payload for FCM Bindings. This property maps to the root JSON dictionary. See the [FCM documentation](https://firebase.google.com/docs/cloud-messaging/http-server-ref#downstream) for more details. Target parameters `to`, `registration_ids`, `condition`, and `notification_key` are not allowed in this parameter. We reserve keys that start with `twi_` for future use. Custom keys that start with `twi_` are not allowed. FCM also [reserves certain keys](https://firebase.google.com/docs/cloud-messaging/http-server-ref), which cannot be used in that channel. */
32
- fcm?: any;
32
+ fcm?: object;
33
33
  /** The Segment resource is deprecated. Use the `tag` parameter, instead. */
34
34
  segment?: Array<string>;
35
35
  /** Deprecated. */
36
- alexa?: any;
36
+ alexa?: object;
37
37
  /** The destination address specified as a JSON string. Multiple `to_binding` parameters can be included but the total size of the request entity should not exceed 1MB. This is typically sufficient for 10,000 phone numbers. */
38
38
  toBinding?: Array<string>;
39
39
  /** URL to send webhooks. */
@@ -88,13 +88,13 @@ interface NotificationResource {
88
88
  body: string;
89
89
  sound: string;
90
90
  action: string;
91
- data: any;
92
- apn: any;
93
- gcm: any;
94
- fcm: any;
95
- sms: any;
96
- facebook_messenger: any;
97
- alexa: any;
91
+ data: Record<string, object>;
92
+ apn: Record<string, object>;
93
+ gcm: Record<string, object>;
94
+ fcm: Record<string, object>;
95
+ sms: Record<string, object>;
96
+ facebook_messenger: Record<string, object>;
97
+ alexa: Record<string, object>;
98
98
  }
99
99
  export declare class NotificationInstance {
100
100
  protected _version: V1;
@@ -151,31 +151,31 @@ export declare class NotificationInstance {
151
151
  /**
152
152
  * The custom key-value pairs of the notification\'s payload. For FCM and GCM, this value translates to `data` in the FCM and GCM payloads. FCM and GCM [reserve certain keys](https://firebase.google.com/docs/cloud-messaging/http-server-ref) that cannot be used in those channels. For APNS, attributes of `data` are inserted into the APNS payload as custom properties outside of the `aps` dictionary. In all channels, we reserve keys that start with `twi_` for future use. Custom keys that start with `twi_` are not allowed and are rejected as 400 Bad request with no delivery attempted. For SMS, this parameter is not supported and is omitted from deliveries to those channels.
153
153
  */
154
- data: any;
154
+ data: Record<string, object>;
155
155
  /**
156
156
  * The APNS-specific payload that overrides corresponding attributes in the generic payload for APNS Bindings. This property maps to the APNS `Payload` item, therefore the `aps` key must be used to change standard attributes. Adds custom key-value pairs to the root of the dictionary. See the [APNS documentation](https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingwithAPNs.html) for more details. We reserve keys that start with `twi_` for future use. Custom keys that start with `twi_` are not allowed.
157
157
  */
158
- apn: any;
158
+ apn: Record<string, object>;
159
159
  /**
160
160
  * The GCM-specific payload that overrides corresponding attributes in the generic payload for GCM Bindings. This property maps to the root JSON dictionary. Target parameters `to`, `registration_ids`, and `notification_key` are not allowed. We reserve keys that start with `twi_` for future use. Custom keys that start with `twi_` are not allowed.
161
161
  */
162
- gcm: any;
162
+ gcm: Record<string, object>;
163
163
  /**
164
164
  * The FCM-specific payload that overrides corresponding attributes in the generic payload for FCM Bindings. This property maps to the root JSON dictionary. See the [FCM documentation](https://firebase.google.com/docs/cloud-messaging/http-server-ref#downstream) for more details. Target parameters `to`, `registration_ids`, `condition`, and `notification_key` are not allowed in this parameter. We reserve keys that start with `twi_` for future use. Custom keys that start with `twi_` are not allowed. FCM also [reserves certain keys](https://firebase.google.com/docs/cloud-messaging/http-server-ref), which cannot be used in that channel.
165
165
  */
166
- fcm: any;
166
+ fcm: Record<string, object>;
167
167
  /**
168
168
  * The SMS-specific payload that overrides corresponding attributes in the generic payload for SMS Bindings. Each attribute in this value maps to the corresponding `form` parameter of the Twilio [Message](https://www.twilio.com/docs/sms/api/message-resource) resource. These parameters of the Message resource are supported in snake case format: `body`, `media_urls`, `status_callback`, and `max_price`. The `status_callback` parameter overrides the corresponding parameter in the messaging service, if configured. The `media_urls` property expects a JSON array.
169
169
  */
170
- sms: any;
170
+ sms: Record<string, object>;
171
171
  /**
172
172
  * Deprecated.
173
173
  */
174
- facebookMessenger: any;
174
+ facebookMessenger: Record<string, object>;
175
175
  /**
176
176
  * Deprecated.
177
177
  */
178
- alexa: any;
178
+ alexa: Record<string, object>;
179
179
  /**
180
180
  * Provide a user-friendly representation
181
181
  *
@@ -195,13 +195,13 @@ export declare class NotificationInstance {
195
195
  body: string;
196
196
  sound: string;
197
197
  action: string;
198
- data: any;
199
- apn: any;
200
- gcm: any;
201
- fcm: any;
202
- sms: any;
203
- facebookMessenger: any;
204
- alexa: any;
198
+ data: Record<string, object>;
199
+ apn: Record<string, object>;
200
+ gcm: Record<string, object>;
201
+ fcm: Record<string, object>;
202
+ sms: Record<string, object>;
203
+ facebookMessenger: Record<string, object>;
204
+ alexa: Record<string, object>;
205
205
  };
206
206
  [inspect.custom](_depth: any, options: InspectOptions): string;
207
207
  }
@@ -7,8 +7,8 @@ import { PortingPortInPhoneNumberListInstance } from "./v1/portingPortInPhoneNum
7
7
  import { PortingPortabilityListInstance } from "./v1/portingPortability";
8
8
  import { PortingWebhookConfigurationListInstance } from "./v1/portingWebhookConfiguration";
9
9
  import { PortingWebhookConfigurationDeleteListInstance } from "./v1/portingWebhookConfigurationDelete";
10
- import { PortingWebhookConfigurationFetchListInstance } from "./v1/portingWebhookConfigurationFetch";
11
10
  import { SigningRequestConfigurationListInstance } from "./v1/signingRequestConfiguration";
11
+ import { WebhookListInstance } from "./v1/webhook";
12
12
  export default class V1 extends Version {
13
13
  /**
14
14
  * Initialize the V1 version of Numbers
@@ -30,10 +30,10 @@ export default class V1 extends Version {
30
30
  protected _portingWebhookConfigurations?: PortingWebhookConfigurationListInstance;
31
31
  /** portingWebhookConfigurationsDelete - { Twilio.Numbers.V1.PortingWebhookConfigurationDeleteListInstance } resource */
32
32
  protected _portingWebhookConfigurationsDelete?: PortingWebhookConfigurationDeleteListInstance;
33
- /** portingWebhookConfigurationFetch - { Twilio.Numbers.V1.PortingWebhookConfigurationFetchListInstance } resource */
34
- protected _portingWebhookConfigurationFetch?: PortingWebhookConfigurationFetchListInstance;
35
33
  /** signingRequestConfigurations - { Twilio.Numbers.V1.SigningRequestConfigurationListInstance } resource */
36
34
  protected _signingRequestConfigurations?: SigningRequestConfigurationListInstance;
35
+ /** webhook - { Twilio.Numbers.V1.WebhookListInstance } resource */
36
+ protected _webhook?: WebhookListInstance;
37
37
  /** Getter for bulkEligibilities resource */
38
38
  get bulkEligibilities(): BulkEligibilityListInstance;
39
39
  /** Getter for eligibilities resource */
@@ -48,8 +48,8 @@ export default class V1 extends Version {
48
48
  get portingWebhookConfigurations(): PortingWebhookConfigurationListInstance;
49
49
  /** Getter for portingWebhookConfigurationsDelete resource */
50
50
  get portingWebhookConfigurationsDelete(): PortingWebhookConfigurationDeleteListInstance;
51
- /** Getter for portingWebhookConfigurationFetch resource */
52
- get portingWebhookConfigurationFetch(): PortingWebhookConfigurationFetchListInstance;
53
51
  /** Getter for signingRequestConfigurations resource */
54
52
  get signingRequestConfigurations(): SigningRequestConfigurationListInstance;
53
+ /** Getter for webhook resource */
54
+ get webhook(): WebhookListInstance;
55
55
  }
@@ -24,8 +24,8 @@ const portingPortInPhoneNumber_1 = require("./v1/portingPortInPhoneNumber");
24
24
  const portingPortability_1 = require("./v1/portingPortability");
25
25
  const portingWebhookConfiguration_1 = require("./v1/portingWebhookConfiguration");
26
26
  const portingWebhookConfigurationDelete_1 = require("./v1/portingWebhookConfigurationDelete");
27
- const portingWebhookConfigurationFetch_1 = require("./v1/portingWebhookConfigurationFetch");
28
27
  const signingRequestConfiguration_1 = require("./v1/signingRequestConfiguration");
28
+ const webhook_1 = require("./v1/webhook");
29
29
  class V1 extends Version_1.default {
30
30
  /**
31
31
  * Initialize the V1 version of Numbers
@@ -79,13 +79,6 @@ class V1 extends Version_1.default {
79
79
  (0, portingWebhookConfigurationDelete_1.PortingWebhookConfigurationDeleteListInstance)(this);
80
80
  return this._portingWebhookConfigurationsDelete;
81
81
  }
82
- /** Getter for portingWebhookConfigurationFetch resource */
83
- get portingWebhookConfigurationFetch() {
84
- this._portingWebhookConfigurationFetch =
85
- this._portingWebhookConfigurationFetch ||
86
- (0, portingWebhookConfigurationFetch_1.PortingWebhookConfigurationFetchListInstance)(this);
87
- return this._portingWebhookConfigurationFetch;
88
- }
89
82
  /** Getter for signingRequestConfigurations resource */
90
83
  get signingRequestConfigurations() {
91
84
  this._signingRequestConfigurations =
@@ -93,5 +86,10 @@ class V1 extends Version_1.default {
93
86
  (0, signingRequestConfiguration_1.SigningRequestConfigurationListInstance)(this);
94
87
  return this._signingRequestConfigurations;
95
88
  }
89
+ /** Getter for webhook resource */
90
+ get webhook() {
91
+ this._webhook = this._webhook || (0, webhook_1.WebhookListInstance)(this);
92
+ return this._webhook;
93
+ }
96
94
  }
97
95
  exports.default = V1;
@@ -43,7 +43,7 @@ export declare class BulkEligibilityContextImpl implements BulkEligibilityContex
43
43
  interface BulkEligibilityResource {
44
44
  request_id: string;
45
45
  url: string;
46
- results: Array<any>;
46
+ results: Array<Record<string, object>>;
47
47
  friendly_name: string;
48
48
  status: string;
49
49
  date_created: Date;
@@ -65,7 +65,7 @@ export declare class BulkEligibilityInstance {
65
65
  /**
66
66
  * The result set that contains the eligibility check response for each requested number, each result has at least the following attributes: phone_number: The requested phone number ,hosting_account_sid: The account sid where the phone number will be hosted, country: Phone number’s country, eligibility_status: Indicates the eligibility status of the PN (Eligible/Ineligible), eligibility_sub_status: Indicates the sub status of the eligibility , ineligibility_reason: Reason for number\'s ineligibility (if applicable), next_step: Suggested next step in the hosting process based on the eligibility status.
67
67
  */
68
- results: Array<any>;
68
+ results: Array<Record<string, object>>;
69
69
  /**
70
70
  * This is the string that you assigned as a friendly name for describing the eligibility check request.
71
71
  */
@@ -93,7 +93,7 @@ export declare class BulkEligibilityInstance {
93
93
  toJSON(): {
94
94
  requestId: string;
95
95
  url: string;
96
- results: any[];
96
+ results: Record<string, object>[];
97
97
  friendlyName: string;
98
98
  status: string;
99
99
  dateCreated: Date;
@@ -40,7 +40,7 @@ export interface EligibilityListInstance {
40
40
  }
41
41
  export declare function EligibilityListInstance(version: V1): EligibilityListInstance;
42
42
  interface EligibilityResource {
43
- results: Array<any>;
43
+ results: Array<Record<string, object>>;
44
44
  }
45
45
  export declare class EligibilityInstance {
46
46
  protected _version: V1;
@@ -48,14 +48,14 @@ export declare class EligibilityInstance {
48
48
  /**
49
49
  * The result set that contains the eligibility check response for the requested number, each result has at least the following attributes: phone_number: The requested phone number ,hosting_account_sid: The account sid where the phone number will be hosted, date_last_checked: Datetime (ISO 8601) when the PN was last checked for eligibility, country: Phone number’s country, eligibility_status: Indicates the eligibility status of the PN (Eligible/Ineligible), eligibility_sub_status: Indicates the sub status of the eligibility , ineligibility_reason: Reason for number\'s ineligibility (if applicable), next_step: Suggested next step in the hosting process based on the eligibility status.
50
50
  */
51
- results: Array<any>;
51
+ results: Array<Record<string, object>>;
52
52
  /**
53
53
  * Provide a user-friendly representation
54
54
  *
55
55
  * @returns Object
56
56
  */
57
57
  toJSON(): {
58
- results: any[];
58
+ results: Record<string, object>[];
59
59
  };
60
60
  [inspect.custom](_depth: any, options: InspectOptions): string;
61
61
  }
@@ -58,8 +58,8 @@ interface PortingPortInResource {
58
58
  target_port_in_time_range_start: string;
59
59
  target_port_in_time_range_end: string;
60
60
  port_in_request_status: string;
61
- losing_carrier_information: any;
62
- phone_numbers: Array<any>;
61
+ losing_carrier_information: Record<string, object>;
62
+ phone_numbers: Array<Record<string, object>>;
63
63
  documents: Array<string>;
64
64
  date_created: Date;
65
65
  }
@@ -103,8 +103,8 @@ export declare class PortingPortInInstance {
103
103
  /**
104
104
  * Details regarding the customer’s information with the losing carrier. These values will be used to generate the letter of authorization and should match the losing carrier’s data as closely as possible to ensure the port is accepted.
105
105
  */
106
- losingCarrierInformation: any;
107
- phoneNumbers: Array<any>;
106
+ losingCarrierInformation: Record<string, object>;
107
+ phoneNumbers: Array<Record<string, object>>;
108
108
  /**
109
109
  * List of document SIDs for all phone numbers included in the port in request. At least one document SID referring to a document of the type Utility Bill is required.
110
110
  */
@@ -141,8 +141,8 @@ export declare class PortingPortInInstance {
141
141
  targetPortInTimeRangeStart: string;
142
142
  targetPortInTimeRangeEnd: string;
143
143
  portInRequestStatus: string;
144
- losingCarrierInformation: any;
145
- phoneNumbers: any[];
144
+ losingCarrierInformation: Record<string, object>;
145
+ phoneNumbers: Record<string, object>[];
146
146
  documents: string[];
147
147
  dateCreated: Date;
148
148
  };
@@ -1,28 +1,28 @@
1
1
  /// <reference types="node" />
2
2
  import { inspect, InspectOptions } from "util";
3
3
  import V1 from "../V1";
4
- export interface PortingWebhookConfigurationFetchSolution {
4
+ export interface WebhookSolution {
5
5
  }
6
- export interface PortingWebhookConfigurationFetchListInstance {
6
+ export interface WebhookListInstance {
7
7
  _version: V1;
8
- _solution: PortingWebhookConfigurationFetchSolution;
8
+ _solution: WebhookSolution;
9
9
  _uri: string;
10
10
  /**
11
- * Fetch a PortingWebhookConfigurationFetchInstance
11
+ * Fetch a WebhookInstance
12
12
  *
13
13
  * @param callback - Callback to handle processed record
14
14
  *
15
- * @returns Resolves to processed PortingWebhookConfigurationFetchInstance
15
+ * @returns Resolves to processed WebhookInstance
16
16
  */
17
- fetch(callback?: (error: Error | null, item?: PortingWebhookConfigurationFetchInstance) => any): Promise<PortingWebhookConfigurationFetchInstance>;
17
+ fetch(callback?: (error: Error | null, item?: WebhookInstance) => any): Promise<WebhookInstance>;
18
18
  /**
19
19
  * Provide a user-friendly representation
20
20
  */
21
21
  toJSON(): any;
22
22
  [inspect.custom](_depth: any, options: InspectOptions): any;
23
23
  }
24
- export declare function PortingWebhookConfigurationFetchListInstance(version: V1): PortingWebhookConfigurationFetchListInstance;
25
- interface PortingWebhookConfigurationFetchResource {
24
+ export declare function WebhookListInstance(version: V1): WebhookListInstance;
25
+ interface WebhookResource {
26
26
  url: string;
27
27
  port_in_target_url: string;
28
28
  port_out_target_url: string;
@@ -30,9 +30,9 @@ interface PortingWebhookConfigurationFetchResource {
30
30
  port_in_target_date_created: Date;
31
31
  port_out_target_date_created: Date;
32
32
  }
33
- export declare class PortingWebhookConfigurationFetchInstance {
33
+ export declare class WebhookInstance {
34
34
  protected _version: V1;
35
- constructor(_version: V1, payload: PortingWebhookConfigurationFetchResource);
35
+ constructor(_version: V1, payload: WebhookResource);
36
36
  /**
37
37
  * The URL of the webhook configuration request
38
38
  */
@@ -13,11 +13,11 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.PortingWebhookConfigurationFetchInstance = exports.PortingWebhookConfigurationFetchListInstance = void 0;
16
+ exports.WebhookInstance = exports.WebhookListInstance = void 0;
17
17
  const util_1 = require("util");
18
18
  const deserialize = require("../../../base/deserialize");
19
19
  const serialize = require("../../../base/serialize");
20
- function PortingWebhookConfigurationFetchListInstance(version) {
20
+ function WebhookListInstance(version) {
21
21
  const instance = {};
22
22
  instance._version = version;
23
23
  instance._solution = {};
@@ -30,7 +30,7 @@ function PortingWebhookConfigurationFetchListInstance(version) {
30
30
  method: "get",
31
31
  headers,
32
32
  });
33
- operationPromise = operationPromise.then((payload) => new PortingWebhookConfigurationFetchInstance(operationVersion, payload));
33
+ operationPromise = operationPromise.then((payload) => new WebhookInstance(operationVersion, payload));
34
34
  operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
35
35
  return operationPromise;
36
36
  };
@@ -42,8 +42,8 @@ function PortingWebhookConfigurationFetchListInstance(version) {
42
42
  };
43
43
  return instance;
44
44
  }
45
- exports.PortingWebhookConfigurationFetchListInstance = PortingWebhookConfigurationFetchListInstance;
46
- class PortingWebhookConfigurationFetchInstance {
45
+ exports.WebhookListInstance = WebhookListInstance;
46
+ class WebhookInstance {
47
47
  constructor(_version, payload) {
48
48
  this._version = _version;
49
49
  this.url = payload.url;
@@ -72,4 +72,4 @@ class PortingWebhookConfigurationFetchInstance {
72
72
  return (0, util_1.inspect)(this.toJSON(), options);
73
73
  }
74
74
  }
75
- exports.PortingWebhookConfigurationFetchInstance = PortingWebhookConfigurationFetchInstance;
75
+ exports.WebhookInstance = WebhookInstance;
@@ -66,7 +66,7 @@ interface BulkHostedNumberOrderResource {
66
66
  date_completed: Date;
67
67
  url: string;
68
68
  total_count: number;
69
- results: Array<any>;
69
+ results: Array<Record<string, object>>;
70
70
  }
71
71
  export declare class BulkHostedNumberOrderInstance {
72
72
  protected _version: V2;
@@ -105,7 +105,7 @@ export declare class BulkHostedNumberOrderInstance {
105
105
  /**
106
106
  * Contains a list of all the individual hosting orders and their information, for this Bulk request. Each result object is grouped by its order status. To see a complete list of order status, please check \'https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/hosted-number-order-resource#status-values\'.
107
107
  */
108
- results: Array<any>;
108
+ results: Array<Record<string, object>>;
109
109
  private get _proxy();
110
110
  /**
111
111
  * Fetch a BulkHostedNumberOrderInstance
@@ -138,7 +138,7 @@ export declare class BulkHostedNumberOrderInstance {
138
138
  dateCompleted: Date;
139
139
  url: string;
140
140
  totalCount: number;
141
- results: any[];
141
+ results: Record<string, object>[];
142
142
  };
143
143
  [inspect.custom](_depth: any, options: InspectOptions): string;
144
144
  }
@@ -4,7 +4,7 @@ import Page, { TwilioResponsePayload } from "../../../base/Page";
4
4
  import Response from "../../../http/response";
5
5
  import V2 from "../V2";
6
6
  import { PhoneNumberCapabilities } from "../../../interfaces";
7
- export type HostedNumberOrderStatus = "received" | "pending-verification" | "verified" | "pending-loa" | "carrier-processing" | "completed" | "failed" | "action-required";
7
+ export type HostedNumberOrderStatus = "twilio-processing" | "received" | "pending-verification" | "verified" | "pending-loa" | "carrier-processing" | "testing" | "completed" | "failed" | "action-required";
8
8
  export type HostedNumberOrderVerificationType = "phone-call";
9
9
  /**
10
10
  * Options to pass to update a HostedNumberOrderInstance
@@ -79,7 +79,7 @@ interface EvaluationResource {
79
79
  regulation_sid: string;
80
80
  bundle_sid: string;
81
81
  status: EvaluationStatus;
82
- results: Array<any>;
82
+ results: Array<Record<string, object>>;
83
83
  date_created: Date;
84
84
  url: string;
85
85
  }
@@ -108,7 +108,7 @@ export declare class EvaluationInstance {
108
108
  /**
109
109
  * The results of the Evaluation which includes the valid and invalid attributes.
110
110
  */
111
- results: Array<any>;
111
+ results: Array<Record<string, object>>;
112
112
  dateCreated: Date;
113
113
  url: string;
114
114
  private get _proxy();
@@ -131,7 +131,7 @@ export declare class EvaluationInstance {
131
131
  regulationSid: string;
132
132
  bundleSid: string;
133
133
  status: EvaluationStatus;
134
- results: any[];
134
+ results: Record<string, object>[];
135
135
  dateCreated: Date;
136
136
  url: string;
137
137
  };
@@ -11,7 +11,7 @@ export interface EndUserContextUpdateOptions {
11
11
  /** The string that you assigned to describe the resource. */
12
12
  friendlyName?: string;
13
13
  /** The set of parameters that are the attributes of the End User resource which are derived End User Types. */
14
- attributes?: any;
14
+ attributes?: object;
15
15
  }
16
16
  /**
17
17
  * Options to pass to create a EndUserInstance
@@ -22,7 +22,7 @@ export interface EndUserListInstanceCreateOptions {
22
22
  /** */
23
23
  type: EndUserType;
24
24
  /** The set of parameters that are the attributes of the End User resource which are derived End User Types. */
25
- attributes?: any;
25
+ attributes?: object;
26
26
  }
27
27
  /**
28
28
  * Options to pass to each
@@ -124,7 +124,7 @@ interface EndUserResource {
124
124
  account_sid: string;
125
125
  friendly_name: string;
126
126
  type: EndUserType;
127
- attributes: any;
127
+ attributes: Record<string, object>;
128
128
  date_created: Date;
129
129
  date_updated: Date;
130
130
  url: string;
@@ -150,7 +150,7 @@ export declare class EndUserInstance {
150
150
  /**
151
151
  * The set of parameters that are the attributes of the End Users resource which are listed in the End User Types.
152
152
  */
153
- attributes: any;
153
+ attributes: Record<string, object>;
154
154
  /**
155
155
  * The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
156
156
  */
@@ -207,7 +207,7 @@ export declare class EndUserInstance {
207
207
  accountSid: string;
208
208
  friendlyName: string;
209
209
  type: EndUserType;
210
- attributes: any;
210
+ attributes: Record<string, object>;
211
211
  dateCreated: Date;
212
212
  dateUpdated: Date;
213
213
  url: string;
@@ -75,7 +75,7 @@ interface EndUserTypeResource {
75
75
  sid: string;
76
76
  friendly_name: string;
77
77
  machine_name: string;
78
- fields: Array<any>;
78
+ fields: Array<Record<string, object>>;
79
79
  url: string;
80
80
  }
81
81
  export declare class EndUserTypeInstance {
@@ -98,7 +98,7 @@ export declare class EndUserTypeInstance {
98
98
  /**
99
99
  * The required information for creating an End-User. The required fields will change as regulatory needs change and will differ for businesses and individuals.
100
100
  */
101
- fields: Array<any>;
101
+ fields: Array<Record<string, object>>;
102
102
  /**
103
103
  * The absolute URL of the End-User Type resource.
104
104
  */
@@ -121,7 +121,7 @@ export declare class EndUserTypeInstance {
121
121
  sid: string;
122
122
  friendlyName: string;
123
123
  machineName: string;
124
- fields: any[];
124
+ fields: Record<string, object>[];
125
125
  url: string;
126
126
  };
127
127
  [inspect.custom](_depth: any, options: InspectOptions): string;
@@ -118,7 +118,7 @@ interface RegulationResource {
118
118
  iso_country: string;
119
119
  number_type: string;
120
120
  end_user_type: RegulationEndUserType;
121
- requirements: any;
121
+ requirements: Record<string, object>;
122
122
  url: string;
123
123
  }
124
124
  export declare class RegulationInstance {
@@ -146,7 +146,7 @@ export declare class RegulationInstance {
146
146
  /**
147
147
  * The SID of an object that holds the regulatory information of the phone number country, phone number type, and end user type.
148
148
  */
149
- requirements: any;
149
+ requirements: Record<string, object>;
150
150
  /**
151
151
  * The absolute URL of the Regulation resource.
152
152
  */
@@ -180,7 +180,7 @@ export declare class RegulationInstance {
180
180
  isoCountry: string;
181
181
  numberType: string;
182
182
  endUserType: RegulationEndUserType;
183
- requirements: any;
183
+ requirements: Record<string, object>;
184
184
  url: string;
185
185
  };
186
186
  [inspect.custom](_depth: any, options: InspectOptions): string;