azure-communication-phonenumbers_1.0.0-beta.7
Pre-release
Pre-release
1.0.0-beta.7 (2021-03-29)
Added
- Added
PollerFlux<PhoneNumberOperation, PhoneNumberSearchResult> beginSearchAvailablePhoneNumbers(String countryCode, PhoneNumberType phoneNumberType, PhoneNumberAssignmentType assignmentType, PhoneNumberCapabilities capabilities)
in PhoneNumbersAsyncClient. - Added
PagedIterable<PurchasedPhoneNumber> listPurchasedPhoneNumbers()
in PhoneNumbersClient. - Added
SyncPoller<PhoneNumberOperation, PhoneNumberSearchResult> beginSearchAvailablePhoneNumbers(String countryCode, PhoneNumberType phoneNumberType, PhoneNumberAssignmentType assignmentType, PhoneNumberCapabilities capabilities)
in PhoneNumbersClient. - Added
SyncPoller<PhoneNumberOperation, PurchasePhoneNumbersResult> beginPurchasePhoneNumbers(String searchId)
in PhoneNumbersClient. - Added
SyncPoller<PhoneNumberOperation, ReleasePhoneNumberResult> beginReleasePhoneNumber(String phoneNumber)
in PhoneNumbersClient. - Added
SyncPoller<PhoneNumberOperation, PurchasedPhoneNumber> beginUpdatePhoneNumberCapabilities(String phoneNumber, PhoneNumberCapabilities capabilities)
in PhoneNumbersClient. - Added
PurchasePhoneNumbersResult
. - Added
ReleasePhoneNumbersResult
.
Breaking Changes
- Renamed AcquiredPhoneNumber to PurchasedPhoneNumber.
- Renamed PhoneNumbersAsyncClient.getPhoneNumber and PhoneNumbersClient.getPhoneNumber to PhoneNumbersAsyncClient.getPurchasedPhoneNumber and PhoneNumbersClient.getPurchasedPhoneNumber.
- Renamed PhoneNumbersAsyncClient.getPhoneNumberWithResponse and PhoneNumbersClient.getPhoneNumberWithResponse to
PhoneNumbersAsyncClient.getPurchasedPhoneNumberWithResponse and PhoneNumbersClient.getPurchasedPhoneNumberWithResponse. - Renamed PhoneNumbersAsyncClient.listPhoneNumbers and PhoneNumbersClient.listPhoneNumbers to PhoneNumbersAsyncClient.listPurchasedPhoneNumbers and PhoneNumbersClient.listPurchasedPhoneNumbers.
- Updated
PollerFlux<PhoneNumberOperation, Void> beginPurchasePhoneNumbers
toPollerFlux<PhoneNumberOperation, PurchasePhoneNumbersResult> beginPurchasePhoneNumbers
in PhoneNumbersAsyncClient. - Updated
PollerFlux<PhoneNumberOperation, Void> beginReleasePhoneNumber
topublic PollerFlux<PhoneNumberOperation, ReleasePhoneNumberResult> beginReleasePhoneNumber
in PhoneNumbersAsyncClient. - Updated
SyncPoller<PhoneNumberOperation, Void> beginPurchasePhoneNumbers
toSyncPoller<PhoneNumberOperation, PurchasePhoneNumbersResult> beginPurchasePhoneNumbers
in PhoneNumbersClient. - Updated
SyncPoller<PhoneNumberOperation, Void> beginReleasePhoneNumber
toSyncPoller<PhoneNumberOperation, ReleasePhoneNumberResult> beginReleasePhoneNumber
in PhoneNumbersClient. - Updated
PollerFlux<PhoneNumberOperation, PurchasedPhoneNumber> beginUpdatePhoneNumberCapabilities(String phoneNumber, PhoneNumberCapabilitiesRequest capabilitiesUpdateRequest)
toPollerFlux<PhoneNumberOperation, PurchasedPhoneNumber> beginUpdatePhoneNumberCapabilities(String phoneNumber, PhoneNumberCapabilities capabilities)
. - Updated
SyncPoller<PhoneNumberOperation, PurchasedPhoneNumber> beginUpdatePhoneNumberCapabilities(String phoneNumber, PhoneNumberCapabilitiesRequest capabilitiesUpdateRequest)
toSyncPoller<PhoneNumberOperation, PurchasedPhoneNumber> beginUpdatePhoneNumberCapabilities(String phoneNumber, PhoneNumberCapabilities capabilities)
. - Removed
CommunicationError
. - Removed
PhoneNumberCapabilitiesRequest
. - Moved
ReservationStatus
to themodels
folder.