1.0.0-beta.6 (2021-03-29)
Added
- Added protected constructor to PurchasePhoneNumbersOperation and ReleasePhoneNumberOperation for mocking.
Breaking Changes
- All models are moved from Azure.Communication.PhoneNumbers.Models namespace to Azure.Communication.PhoneNumbers.
- AcquiredPhoneNumber class is renamed to PurchasedPhoneNumber.
- PhoneNumbersClient methods renamed:
- GetPhoneNumber -> GetPurchasedPhoneNumber.
- GetPhoneNumberAsync -> GetPurchasedPhoneNumberAsync.
- GetPhoneNumbers -> GetPurchasedPhoneNumbers.
- GetPhoneNumbersAsync -> GetPurchasedPhoneNumbersAsync.
- PhoneNumbersModelFactory static method AcquiredPhoneNumber is renamed to PurchasedPhoneNumber.
- PurchasePhoneNumbersOperation and ReleasePhoneNumberOperation extend Operation instead of Operation.
- Removed PhoneNumberOperationStatus and PhoneNumberOperationType.
- Renamed ISOCurrencySymbol property to IsoCurrencySymbol in PhoneNumberCost.
- Renamed threeLetterISOCountryName parameter to twoLetterIsoCountryName in PhoneNumbersClient.StartSearchAvailablePhoneNumbers and PhoneNumbersClient.StartSearchAvailablePhoneNumbersAsync.