twilio 3.72.0 → 3.73.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.
- package/CHANGES.md +24 -0
- package/lib/rest/accounts/v1/credential/aws.js +2 -0
- package/lib/rest/accounts/v1/credential/publicKey.js +2 -0
- package/lib/rest/api/v2010/account/address/dependentPhoneNumber.js +2 -0
- package/lib/rest/api/v2010/account/address.js +2 -0
- package/lib/rest/api/v2010/account/application.js +2 -0
- package/lib/rest/api/v2010/account/authorizedConnectApp.js +2 -0
- package/lib/rest/api/v2010/account/availablePhoneNumber/local.js +2 -0
- package/lib/rest/api/v2010/account/availablePhoneNumber/machineToMachine.js +2 -0
- package/lib/rest/api/v2010/account/availablePhoneNumber/mobile.js +2 -0
- package/lib/rest/api/v2010/account/availablePhoneNumber/national.js +2 -0
- package/lib/rest/api/v2010/account/availablePhoneNumber/sharedCost.js +2 -0
- package/lib/rest/api/v2010/account/availablePhoneNumber/tollFree.js +2 -0
- package/lib/rest/api/v2010/account/availablePhoneNumber/voip.js +2 -0
- package/lib/rest/api/v2010/account/availablePhoneNumber.js +2 -0
- package/lib/rest/api/v2010/account/call/event.js +2 -0
- package/lib/rest/api/v2010/account/call/notification.js +2 -0
- package/lib/rest/api/v2010/account/call/recording.js +2 -0
- package/lib/rest/api/v2010/account/call.js +2 -0
- package/lib/rest/api/v2010/account/conference/participant.js +2 -0
- package/lib/rest/api/v2010/account/conference/recording.js +2 -0
- package/lib/rest/api/v2010/account/conference.js +2 -0
- package/lib/rest/api/v2010/account/connectApp.js +2 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn/assignedAddOnExtension.js +2 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.js +2 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/local.js +2 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.js +2 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.js +2 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber.js +2 -0
- package/lib/rest/api/v2010/account/key.js +2 -0
- package/lib/rest/api/v2010/account/message/media.js +2 -0
- package/lib/rest/api/v2010/account/message.d.ts +7 -1
- package/lib/rest/api/v2010/account/message.js +13 -1
- package/lib/rest/api/v2010/account/notification.js +2 -0
- package/lib/rest/api/v2010/account/outgoingCallerId.js +2 -0
- package/lib/rest/api/v2010/account/queue/member.js +2 -0
- package/lib/rest/api/v2010/account/queue.js +2 -0
- package/lib/rest/api/v2010/account/recording/addOnResult/payload.js +2 -0
- package/lib/rest/api/v2010/account/recording/addOnResult.js +2 -0
- package/lib/rest/api/v2010/account/recording/transcription.js +2 -0
- package/lib/rest/api/v2010/account/recording.js +2 -0
- package/lib/rest/api/v2010/account/shortCode.js +2 -0
- package/lib/rest/api/v2010/account/signingKey.js +2 -0
- package/lib/rest/api/v2010/account/sip/credentialList/credential.js +2 -0
- package/lib/rest/api/v2010/account/sip/credentialList.js +2 -0
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authCallsMapping/authCallsCredentialListMapping.js +2 -0
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authCallsMapping/authCallsIpAccessControlListMapping.js +2 -0
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authRegistrationsMapping/authRegistrationsCredentialListMapping.js +2 -0
- package/lib/rest/api/v2010/account/sip/domain/credentialListMapping.js +2 -0
- package/lib/rest/api/v2010/account/sip/domain/ipAccessControlListMapping.js +2 -0
- package/lib/rest/api/v2010/account/sip/domain.js +2 -0
- package/lib/rest/api/v2010/account/sip/ipAccessControlList/ipAddress.js +2 -0
- package/lib/rest/api/v2010/account/sip/ipAccessControlList.js +2 -0
- package/lib/rest/api/v2010/account/transcription.js +2 -0
- package/lib/rest/api/v2010/account/usage/record/allTime.js +2 -0
- package/lib/rest/api/v2010/account/usage/record/daily.js +2 -0
- package/lib/rest/api/v2010/account/usage/record/lastMonth.js +2 -0
- package/lib/rest/api/v2010/account/usage/record/monthly.js +2 -0
- package/lib/rest/api/v2010/account/usage/record/thisMonth.js +2 -0
- package/lib/rest/api/v2010/account/usage/record/today.js +2 -0
- package/lib/rest/api/v2010/account/usage/record/yearly.js +2 -0
- package/lib/rest/api/v2010/account/usage/record/yesterday.js +2 -0
- package/lib/rest/api/v2010/account/usage/record.js +2 -0
- package/lib/rest/api/v2010/account/usage/trigger.js +2 -0
- package/lib/rest/api/v2010/account.js +2 -0
- package/lib/rest/autopilot/v1/assistant/fieldType/fieldValue.js +2 -0
- package/lib/rest/autopilot/v1/assistant/fieldType.js +2 -0
- package/lib/rest/autopilot/v1/assistant/modelBuild.js +2 -0
- package/lib/rest/autopilot/v1/assistant/query.js +2 -0
- package/lib/rest/autopilot/v1/assistant/task/field.js +2 -0
- package/lib/rest/autopilot/v1/assistant/task/sample.js +2 -0
- package/lib/rest/autopilot/v1/assistant/task.js +2 -0
- package/lib/rest/autopilot/v1/assistant/webhook.js +2 -0
- package/lib/rest/autopilot/v1/assistant.js +2 -0
- package/lib/rest/bulkexports/v1/export/day.js +2 -0
- package/lib/rest/bulkexports/v1/export/exportCustomJob.js +2 -0
- package/lib/rest/chat/v1/credential.js +2 -0
- package/lib/rest/chat/v1/service/channel/invite.js +2 -0
- package/lib/rest/chat/v1/service/channel/member.js +2 -0
- package/lib/rest/chat/v1/service/channel/message.js +2 -0
- package/lib/rest/chat/v1/service/channel.js +2 -0
- package/lib/rest/chat/v1/service/role.js +2 -0
- package/lib/rest/chat/v1/service/user/userChannel.js +2 -0
- package/lib/rest/chat/v1/service/user.js +2 -0
- package/lib/rest/chat/v1/service.js +2 -0
- package/lib/rest/chat/v2/credential.js +2 -0
- package/lib/rest/chat/v2/service/binding.js +2 -0
- package/lib/rest/chat/v2/service/channel/invite.js +2 -0
- package/lib/rest/chat/v2/service/channel/member.js +2 -0
- package/lib/rest/chat/v2/service/channel/message.js +2 -0
- package/lib/rest/chat/v2/service/channel/webhook.js +2 -0
- package/lib/rest/chat/v2/service/channel.js +2 -0
- package/lib/rest/chat/v2/service/role.js +2 -0
- package/lib/rest/chat/v2/service/user/userBinding.js +2 -0
- package/lib/rest/chat/v2/service/user/userChannel.js +2 -0
- package/lib/rest/chat/v2/service/user.js +2 -0
- package/lib/rest/chat/v2/service.js +2 -0
- package/lib/rest/conversations/v1/conversation/message/deliveryReceipt.js +2 -0
- package/lib/rest/conversations/v1/conversation/message.js +2 -0
- package/lib/rest/conversations/v1/conversation/participant.js +2 -0
- package/lib/rest/conversations/v1/conversation/webhook.js +2 -0
- package/lib/rest/conversations/v1/conversation.js +2 -0
- package/lib/rest/conversations/v1/credential.js +2 -0
- package/lib/rest/conversations/v1/participantConversation.js +2 -0
- package/lib/rest/conversations/v1/role.js +2 -0
- package/lib/rest/conversations/v1/service/binding.js +2 -0
- package/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.js +2 -0
- package/lib/rest/conversations/v1/service/conversation/message.js +2 -0
- package/lib/rest/conversations/v1/service/conversation/participant.js +2 -0
- package/lib/rest/conversations/v1/service/conversation/webhook.js +2 -0
- package/lib/rest/conversations/v1/service/conversation.js +2 -0
- package/lib/rest/conversations/v1/service/participantConversation.js +2 -0
- package/lib/rest/conversations/v1/service/role.js +2 -0
- package/lib/rest/conversations/v1/service/user/userConversation.js +2 -0
- package/lib/rest/conversations/v1/service/user.js +2 -0
- package/lib/rest/conversations/v1/service.js +2 -0
- package/lib/rest/conversations/v1/user/userConversation.js +2 -0
- package/lib/rest/conversations/v1/user.js +2 -0
- package/lib/rest/events/v1/eventType.js +2 -0
- package/lib/rest/events/v1/schema/version.js +2 -0
- package/lib/rest/events/v1/sink.js +2 -0
- package/lib/rest/events/v1/subscription/subscribedEvent.js +2 -0
- package/lib/rest/events/v1/subscription.js +2 -0
- package/lib/rest/fax/v1/fax/faxMedia.js +2 -0
- package/lib/rest/fax/v1/fax.js +2 -0
- package/lib/rest/flexApi/v1/channel.js +2 -0
- package/lib/rest/flexApi/v1/flexFlow.js +2 -0
- package/lib/rest/flexApi/v1/webChannel.js +2 -0
- package/lib/rest/insights/v1/call/event.js +2 -0
- package/lib/rest/insights/v1/call/metric.js +2 -0
- package/lib/rest/insights/v1/callSummaries.js +2 -0
- package/lib/rest/insights/v1/room/participant.js +2 -0
- package/lib/rest/insights/v1/room.js +2 -0
- package/lib/rest/ipMessaging/v1/credential.js +2 -0
- package/lib/rest/ipMessaging/v1/service/channel/invite.js +2 -0
- package/lib/rest/ipMessaging/v1/service/channel/member.js +2 -0
- package/lib/rest/ipMessaging/v1/service/channel/message.js +2 -0
- package/lib/rest/ipMessaging/v1/service/channel.js +2 -0
- package/lib/rest/ipMessaging/v1/service/role.js +2 -0
- package/lib/rest/ipMessaging/v1/service/user/userChannel.js +2 -0
- package/lib/rest/ipMessaging/v1/service/user.js +2 -0
- package/lib/rest/ipMessaging/v1/service.js +2 -0
- package/lib/rest/ipMessaging/v2/credential.js +2 -0
- package/lib/rest/ipMessaging/v2/service/binding.js +2 -0
- package/lib/rest/ipMessaging/v2/service/channel/invite.js +2 -0
- package/lib/rest/ipMessaging/v2/service/channel/member.js +2 -0
- package/lib/rest/ipMessaging/v2/service/channel/message.js +2 -0
- package/lib/rest/ipMessaging/v2/service/channel/webhook.js +2 -0
- package/lib/rest/ipMessaging/v2/service/channel.js +2 -0
- package/lib/rest/ipMessaging/v2/service/role.js +2 -0
- package/lib/rest/ipMessaging/v2/service/user/userBinding.js +2 -0
- package/lib/rest/ipMessaging/v2/service/user/userChannel.js +2 -0
- package/lib/rest/ipMessaging/v2/service/user.js +2 -0
- package/lib/rest/ipMessaging/v2/service.js +2 -0
- package/lib/rest/media/v1/mediaProcessor.js +2 -0
- package/lib/rest/media/v1/playerStreamer.js +2 -0
- package/lib/rest/messaging/v1/brandRegistration/brandVetting.js +2 -0
- package/lib/rest/messaging/v1/brandRegistration.d.ts +12 -0
- package/lib/rest/messaging/v1/brandRegistration.js +49 -0
- package/lib/rest/messaging/v1/service/alphaSender.js +2 -0
- package/lib/rest/messaging/v1/service/phoneNumber.js +2 -0
- package/lib/rest/messaging/v1/service/shortCode.js +2 -0
- package/lib/rest/messaging/v1/service/usAppToPerson.js +2 -0
- package/lib/rest/messaging/v1/service.js +2 -0
- package/lib/rest/monitor/v1/alert.js +2 -0
- package/lib/rest/monitor/v1/event.js +2 -0
- package/lib/rest/notify/v1/credential.js +2 -0
- package/lib/rest/notify/v1/service/binding.js +2 -0
- package/lib/rest/notify/v1/service.js +2 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.d.ts +154 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.js +244 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.js +2 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/itemAssignment.js +2 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle.js +2 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/endUser.js +2 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/endUserType.js +2 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/regulation.js +2 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.js +2 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.js +2 -0
- package/lib/rest/preview/bulk_exports/export/day.js +2 -0
- package/lib/rest/preview/bulk_exports/export/exportCustomJob.js +2 -0
- package/lib/rest/preview/deployed_devices/fleet/certificate.js +2 -0
- package/lib/rest/preview/deployed_devices/fleet/deployment.js +2 -0
- package/lib/rest/preview/deployed_devices/fleet/device.js +2 -0
- package/lib/rest/preview/deployed_devices/fleet/key.js +2 -0
- package/lib/rest/preview/deployed_devices/fleet.js +2 -0
- package/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.js +2 -0
- package/lib/rest/preview/hosted_numbers/authorizationDocument.js +2 -0
- package/lib/rest/preview/hosted_numbers/hostedNumberOrder.js +2 -0
- package/lib/rest/preview/marketplace/availableAddOn/availableAddOnExtension.js +2 -0
- package/lib/rest/preview/marketplace/availableAddOn.js +2 -0
- package/lib/rest/preview/marketplace/installedAddOn/installedAddOnExtension.js +2 -0
- package/lib/rest/preview/marketplace/installedAddOn.js +2 -0
- package/lib/rest/preview/sync/service/document/documentPermission.js +2 -0
- package/lib/rest/preview/sync/service/document.js +2 -0
- package/lib/rest/preview/sync/service/syncList/syncListItem.js +2 -0
- package/lib/rest/preview/sync/service/syncList/syncListPermission.js +2 -0
- package/lib/rest/preview/sync/service/syncList.js +2 -0
- package/lib/rest/preview/sync/service/syncMap/syncMapItem.js +2 -0
- package/lib/rest/preview/sync/service/syncMap/syncMapPermission.js +2 -0
- package/lib/rest/preview/sync/service/syncMap.js +2 -0
- package/lib/rest/preview/sync/service.js +2 -0
- package/lib/rest/preview/understand/assistant/fieldType/fieldValue.js +2 -0
- package/lib/rest/preview/understand/assistant/fieldType.js +2 -0
- package/lib/rest/preview/understand/assistant/modelBuild.js +2 -0
- package/lib/rest/preview/understand/assistant/query.js +2 -0
- package/lib/rest/preview/understand/assistant/task/field.js +2 -0
- package/lib/rest/preview/understand/assistant/task/sample.js +2 -0
- package/lib/rest/preview/understand/assistant/task.js +2 -0
- package/lib/rest/preview/understand/assistant.js +2 -0
- package/lib/rest/preview/wireless/command.js +2 -0
- package/lib/rest/preview/wireless/ratePlan.js +2 -0
- package/lib/rest/preview/wireless/sim.js +2 -0
- package/lib/rest/pricing/v1/messaging/country.js +2 -0
- package/lib/rest/pricing/v1/phoneNumber/country.js +2 -0
- package/lib/rest/pricing/v1/voice/country.js +2 -0
- package/lib/rest/pricing/v2/country.js +2 -0
- package/lib/rest/pricing/v2/voice/country.js +2 -0
- package/lib/rest/proxy/v1/service/phoneNumber.js +2 -0
- package/lib/rest/proxy/v1/service/session/interaction.js +2 -0
- package/lib/rest/proxy/v1/service/session/participant/messageInteraction.js +2 -0
- package/lib/rest/proxy/v1/service/session/participant.js +2 -0
- package/lib/rest/proxy/v1/service/session.js +2 -0
- package/lib/rest/proxy/v1/service/shortCode.js +2 -0
- package/lib/rest/proxy/v1/service.js +2 -0
- package/lib/rest/serverless/v1/service/asset/assetVersion.js +2 -0
- package/lib/rest/serverless/v1/service/asset.js +2 -0
- package/lib/rest/serverless/v1/service/build.js +2 -0
- package/lib/rest/serverless/v1/service/environment/deployment.js +2 -0
- package/lib/rest/serverless/v1/service/environment/log.js +2 -0
- package/lib/rest/serverless/v1/service/environment/variable.js +2 -0
- package/lib/rest/serverless/v1/service/environment.js +2 -0
- package/lib/rest/serverless/v1/service/function/functionVersion.js +2 -0
- package/lib/rest/serverless/v1/service/function.js +2 -0
- package/lib/rest/serverless/v1/service.js +2 -0
- package/lib/rest/studio/v1/flow/engagement/step.js +2 -0
- package/lib/rest/studio/v1/flow/engagement.js +2 -0
- package/lib/rest/studio/v1/flow/execution/executionStep.js +2 -0
- package/lib/rest/studio/v1/flow/execution.js +2 -0
- package/lib/rest/studio/v1/flow.js +2 -0
- package/lib/rest/studio/v2/flow/execution/executionStep.js +2 -0
- package/lib/rest/studio/v2/flow/execution.js +2 -0
- package/lib/rest/studio/v2/flow/flowRevision.js +2 -0
- package/lib/rest/studio/v2/flow.js +2 -0
- package/lib/rest/supersim/v1/command.js +2 -0
- package/lib/rest/supersim/v1/fleet.js +2 -0
- package/lib/rest/supersim/v1/ipCommand.js +2 -0
- package/lib/rest/supersim/v1/network.js +2 -0
- package/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.js +2 -0
- package/lib/rest/supersim/v1/networkAccessProfile.js +2 -0
- package/lib/rest/supersim/v1/sim/billingPeriod.js +2 -0
- package/lib/rest/supersim/v1/sim.js +2 -0
- package/lib/rest/supersim/v1/smsCommand.js +2 -0
- package/lib/rest/supersim/v1/usageRecord.js +2 -0
- package/lib/rest/sync/v1/service/document/documentPermission.js +2 -0
- package/lib/rest/sync/v1/service/document.js +2 -0
- package/lib/rest/sync/v1/service/syncList/syncListItem.js +2 -0
- package/lib/rest/sync/v1/service/syncList/syncListPermission.js +2 -0
- package/lib/rest/sync/v1/service/syncList.js +2 -0
- package/lib/rest/sync/v1/service/syncMap/syncMapItem.js +2 -0
- package/lib/rest/sync/v1/service/syncMap/syncMapPermission.js +2 -0
- package/lib/rest/sync/v1/service/syncMap.js +2 -0
- package/lib/rest/sync/v1/service/syncStream.js +2 -0
- package/lib/rest/sync/v1/service.js +2 -0
- package/lib/rest/taskrouter/v1/workspace/activity.js +2 -0
- package/lib/rest/taskrouter/v1/workspace/event.js +2 -0
- package/lib/rest/taskrouter/v1/workspace/task/reservation.js +2 -0
- package/lib/rest/taskrouter/v1/workspace/task.js +2 -0
- package/lib/rest/taskrouter/v1/workspace/taskChannel.js +2 -0
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.js +2 -0
- package/lib/rest/taskrouter/v1/workspace/taskQueue.js +2 -0
- package/lib/rest/taskrouter/v1/workspace/worker/reservation.js +2 -0
- package/lib/rest/taskrouter/v1/workspace/worker/workerChannel.js +2 -0
- package/lib/rest/taskrouter/v1/workspace/worker.js +2 -0
- package/lib/rest/taskrouter/v1/workspace/workflow.js +2 -0
- package/lib/rest/taskrouter/v1/workspace.js +2 -0
- package/lib/rest/trunking/v1/trunk/credentialList.js +2 -0
- package/lib/rest/trunking/v1/trunk/ipAccessControlList.js +2 -0
- package/lib/rest/trunking/v1/trunk/originationUrl.js +2 -0
- package/lib/rest/trunking/v1/trunk/phoneNumber.js +2 -0
- package/lib/rest/trunking/v1/trunk.js +2 -0
- package/lib/rest/trusthub/v1/customerProfiles/customerProfilesChannelEndpointAssignment.js +2 -0
- package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEntityAssignments.js +2 -0
- package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.js +2 -0
- package/lib/rest/trusthub/v1/customerProfiles.js +2 -0
- package/lib/rest/trusthub/v1/endUser.js +2 -0
- package/lib/rest/trusthub/v1/endUserType.js +2 -0
- package/lib/rest/trusthub/v1/policies.js +2 -0
- package/lib/rest/trusthub/v1/supportingDocument.js +2 -0
- package/lib/rest/trusthub/v1/supportingDocumentType.js +2 -0
- package/lib/rest/trusthub/v1/trustProducts/trustProductsChannelEndpointAssignment.js +2 -0
- package/lib/rest/trusthub/v1/trustProducts/trustProductsEntityAssignments.js +2 -0
- package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.js +2 -0
- package/lib/rest/trusthub/v1/trustProducts.js +2 -0
- package/lib/rest/verify/v2/service/entity/challenge.js +2 -0
- package/lib/rest/verify/v2/service/entity/factor.js +2 -0
- package/lib/rest/verify/v2/service/entity.js +2 -0
- package/lib/rest/verify/v2/service/messagingConfiguration.js +2 -0
- package/lib/rest/verify/v2/service/rateLimit/bucket.js +2 -0
- package/lib/rest/verify/v2/service/rateLimit.js +2 -0
- package/lib/rest/verify/v2/service/webhook.js +2 -0
- package/lib/rest/verify/v2/service.js +2 -0
- package/lib/rest/verify/v2/template.js +2 -0
- package/lib/rest/verify/v2/verificationAttempt.js +2 -0
- package/lib/rest/video/v1/composition.d.ts +2 -0
- package/lib/rest/video/v1/composition.js +5 -0
- package/lib/rest/video/v1/compositionHook.js +2 -0
- package/lib/rest/video/v1/recording.d.ts +2 -0
- package/lib/rest/video/v1/recording.js +5 -0
- package/lib/rest/video/v1/room/recording.d.ts +2 -0
- package/lib/rest/video/v1/room/recording.js +5 -0
- package/lib/rest/video/v1/room/roomParticipant/roomParticipantPublishedTrack.js +2 -0
- package/lib/rest/video/v1/room/roomParticipant/roomParticipantSubscribedTrack.js +2 -0
- package/lib/rest/video/v1/room/roomParticipant.js +2 -0
- package/lib/rest/video/v1/room.js +2 -0
- package/lib/rest/voice/v1/byocTrunk.js +2 -0
- package/lib/rest/voice/v1/connectionPolicy/connectionPolicyTarget.js +2 -0
- package/lib/rest/voice/v1/connectionPolicy.js +2 -0
- package/lib/rest/voice/v1/dialingPermissions/country/highriskSpecialPrefix.js +2 -0
- package/lib/rest/voice/v1/dialingPermissions/country.js +2 -0
- package/lib/rest/voice/v1/ipRecord.js +2 -0
- package/lib/rest/voice/v1/sourceIpMapping.js +2 -0
- package/lib/rest/wireless/v1/command.js +2 -0
- package/lib/rest/wireless/v1/ratePlan.js +2 -0
- package/lib/rest/wireless/v1/sim/dataSession.js +2 -0
- package/lib/rest/wireless/v1/sim/usageRecord.js +2 -0
- package/lib/rest/wireless/v1/sim.js +2 -0
- package/lib/rest/wireless/v1/usageRecord.js +2 -0
- package/package.json +1 -1
package/CHANGES.md
CHANGED
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
twilio-node changelog
|
|
2
2
|
=====================
|
|
3
3
|
|
|
4
|
+
[2022-01-12] Version 3.73.0
|
|
5
|
+
---------------------------
|
|
6
|
+
**Library - Chore**
|
|
7
|
+
- [PR #721](https://github.com/twilio/twilio-node/pull/721): add sonarcloud analysis for twilio-node. Thanks to [@beebzz](https://github.com/beebzz)!
|
|
8
|
+
|
|
9
|
+
**Library - Feature**
|
|
10
|
+
- [PR #720](https://github.com/twilio/twilio-node/pull/720): add GitHub release step during deploy. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
|
|
11
|
+
|
|
12
|
+
**Library - Fix**
|
|
13
|
+
- [PR #716](https://github.com/twilio/twilio-node/pull/716): done callback execution when each method limit reached. Thanks to [@Hunga1](https://github.com/Hunga1)!
|
|
14
|
+
|
|
15
|
+
**Api**
|
|
16
|
+
- Make fixed time scheduling parameters public **(breaking change)**
|
|
17
|
+
|
|
18
|
+
**Messaging**
|
|
19
|
+
- Add update brand registration API
|
|
20
|
+
|
|
21
|
+
**Numbers**
|
|
22
|
+
- Add API endpoint for List Bundle Copies resource
|
|
23
|
+
|
|
24
|
+
**Video**
|
|
25
|
+
- Enable external storage for all customers
|
|
26
|
+
|
|
27
|
+
|
|
4
28
|
[2021-12-15] Version 3.72.0
|
|
5
29
|
---------------------------
|
|
6
30
|
**Library - Feature**
|
|
@@ -20,7 +20,7 @@ type MessageContentRetention = 'retain';
|
|
|
20
20
|
|
|
21
21
|
type MessageDirection = 'inbound'|'outbound-api'|'outbound-call'|'outbound-reply';
|
|
22
22
|
|
|
23
|
-
type MessageScheduleType = 'fixed'
|
|
23
|
+
type MessageScheduleType = 'fixed';
|
|
24
24
|
|
|
25
25
|
type MessageStatus = 'queued'|'sending'|'sent'|'failed'|'delivered'|'undelivered'|'receiving'|'received'|'accepted'|'scheduled'|'read'|'partially_delivered'|'canceled';
|
|
26
26
|
|
|
@@ -40,9 +40,11 @@ declare function MessageList(version: V2010, accountSid: string): MessageListIns
|
|
|
40
40
|
* Options to pass to update
|
|
41
41
|
*
|
|
42
42
|
* @property body - The text of the message you want to send
|
|
43
|
+
* @property status - Set as `canceled` to cancel a message from being sent.
|
|
43
44
|
*/
|
|
44
45
|
interface MessageInstanceUpdateOptions {
|
|
45
46
|
body?: string;
|
|
47
|
+
status?: MessageUpdateStatus;
|
|
46
48
|
}
|
|
47
49
|
|
|
48
50
|
interface MessageListInstance {
|
|
@@ -180,7 +182,9 @@ interface MessageListInstance {
|
|
|
180
182
|
* @property messagingServiceSid - The SID of the Messaging Service you want to associate with the message.
|
|
181
183
|
* @property persistentAction - Rich actions for Channels Messages.
|
|
182
184
|
* @property provideFeedback - Whether to confirm delivery of the message
|
|
185
|
+
* @property scheduleType - Pass the value `fixed` to schedule a message at a fixed time.
|
|
183
186
|
* @property sendAsMms - If set to True, Twilio will deliver the message as a single MMS message, regardless of the presence of media
|
|
187
|
+
* @property sendAt - The time that Twilio will send the message. Must be in ISO 8601 format.
|
|
184
188
|
* @property smartEncoded - Whether to detect Unicode characters that have a similar GSM-7 character and replace them
|
|
185
189
|
* @property statusCallback - The URL we should call to send status information to your application
|
|
186
190
|
* @property to - The destination phone number
|
|
@@ -199,7 +203,9 @@ interface MessageListInstanceCreateOptions {
|
|
|
199
203
|
messagingServiceSid?: string;
|
|
200
204
|
persistentAction?: string | string[];
|
|
201
205
|
provideFeedback?: boolean;
|
|
206
|
+
scheduleType?: MessageScheduleType;
|
|
202
207
|
sendAsMms?: boolean;
|
|
208
|
+
sendAt?: Date;
|
|
203
209
|
smartEncoded?: boolean;
|
|
204
210
|
statusCallback?: string;
|
|
205
211
|
to: string;
|
|
@@ -83,6 +83,10 @@ MessageList = function MessageList(version, accountSid) {
|
|
|
83
83
|
* Whether to detect Unicode characters that have a similar GSM-7 character and replace them
|
|
84
84
|
* @param {string|list} [opts.persistentAction] -
|
|
85
85
|
* Rich actions for Channels Messages.
|
|
86
|
+
* @param {message.schedule_type} [opts.scheduleType] -
|
|
87
|
+
* Pass the value `fixed` to schedule a message at a fixed time.
|
|
88
|
+
* @param {Date} [opts.sendAt] -
|
|
89
|
+
* The time that Twilio will send the message. Must be in ISO 8601 format.
|
|
86
90
|
* @param {boolean} [opts.sendAsMms] -
|
|
87
91
|
* If set to True, Twilio will deliver the message as a single MMS message, regardless of the presence of media
|
|
88
92
|
* @param {string} [opts.from] - The phone number that initiated the message
|
|
@@ -123,6 +127,8 @@ MessageList = function MessageList(version, accountSid) {
|
|
|
123
127
|
'AddressRetention': _.get(opts, 'addressRetention'),
|
|
124
128
|
'SmartEncoded': serialize.bool(_.get(opts, 'smartEncoded')),
|
|
125
129
|
'PersistentAction': serialize.map(_.get(opts, 'persistentAction'), function(e) { return e; }),
|
|
130
|
+
'ScheduleType': _.get(opts, 'scheduleType'),
|
|
131
|
+
'SendAt': serialize.iso8601DateTime(_.get(opts, 'sendAt')),
|
|
126
132
|
'SendAsMms': serialize.bool(_.get(opts, 'sendAsMms'))
|
|
127
133
|
});
|
|
128
134
|
|
|
@@ -237,6 +243,8 @@ MessageList = function MessageList(version, accountSid) {
|
|
|
237
243
|
if (!done) {
|
|
238
244
|
currentPage++;
|
|
239
245
|
fetchNextPage(_.bind(page.nextPage, page));
|
|
246
|
+
} else {
|
|
247
|
+
onComplete();
|
|
240
248
|
}
|
|
241
249
|
});
|
|
242
250
|
|
|
@@ -635,6 +643,8 @@ MessageInstance.prototype.fetch = function fetch(callback) {
|
|
|
635
643
|
*
|
|
636
644
|
* @param {object} [opts] - Options for request
|
|
637
645
|
* @param {string} [opts.body] - The text of the message you want to send
|
|
646
|
+
* @param {message.update_status} [opts.status] -
|
|
647
|
+
* Set as `canceled` to cancel a message from being sent.
|
|
638
648
|
* @param {function} [callback] - Callback to handle processed record
|
|
639
649
|
*
|
|
640
650
|
* @returns {Promise} Resolves to processed MessageInstance
|
|
@@ -803,6 +813,8 @@ MessageContext.prototype.fetch = function fetch(callback) {
|
|
|
803
813
|
*
|
|
804
814
|
* @param {object} [opts] - Options for request
|
|
805
815
|
* @param {string} [opts.body] - The text of the message you want to send
|
|
816
|
+
* @param {message.update_status} [opts.status] -
|
|
817
|
+
* Set as `canceled` to cancel a message from being sent.
|
|
806
818
|
* @param {function} [callback] - Callback to handle processed record
|
|
807
819
|
*
|
|
808
820
|
* @returns {Promise} Resolves to processed MessageInstance
|
|
@@ -816,7 +828,7 @@ MessageContext.prototype.update = function update(opts, callback) {
|
|
|
816
828
|
opts = opts || {};
|
|
817
829
|
|
|
818
830
|
var deferred = Q.defer();
|
|
819
|
-
var data = values.of({'Body': _.get(opts, 'body')});
|
|
831
|
+
var data = values.of({'Body': _.get(opts, 'body'), 'Status': _.get(opts, 'status')});
|
|
820
832
|
|
|
821
833
|
var promise = this._version.update({uri: this._uri, method: 'POST', data: data});
|
|
822
834
|
|