Skip to content

azure-communication-phonenumbers_1.0.0-beta.7

Pre-release
Pre-release
Compare
Choose a tag to compare
@azure-sdk azure-sdk released this 29 Mar 18:12
161a5c7

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 to PollerFlux<PhoneNumberOperation, PurchasePhoneNumbersResult> beginPurchasePhoneNumbers in PhoneNumbersAsyncClient.
  • Updated PollerFlux<PhoneNumberOperation, Void> beginReleasePhoneNumber to public PollerFlux<PhoneNumberOperation, ReleasePhoneNumberResult> beginReleasePhoneNumber in PhoneNumbersAsyncClient.
  • Updated SyncPoller<PhoneNumberOperation, Void> beginPurchasePhoneNumbers to SyncPoller<PhoneNumberOperation, PurchasePhoneNumbersResult> beginPurchasePhoneNumbers in PhoneNumbersClient.
  • Updated SyncPoller<PhoneNumberOperation, Void> beginReleasePhoneNumber to SyncPoller<PhoneNumberOperation, ReleasePhoneNumberResult> beginReleasePhoneNumber in PhoneNumbersClient.
  • Updated PollerFlux<PhoneNumberOperation, PurchasedPhoneNumber> beginUpdatePhoneNumberCapabilities(String phoneNumber, PhoneNumberCapabilitiesRequest capabilitiesUpdateRequest) to PollerFlux<PhoneNumberOperation, PurchasedPhoneNumber> beginUpdatePhoneNumberCapabilities(String phoneNumber, PhoneNumberCapabilities capabilities).
  • Updated SyncPoller<PhoneNumberOperation, PurchasedPhoneNumber> beginUpdatePhoneNumberCapabilities(String phoneNumber, PhoneNumberCapabilitiesRequest capabilitiesUpdateRequest) to SyncPoller<PhoneNumberOperation, PurchasedPhoneNumber> beginUpdatePhoneNumberCapabilities(String phoneNumber, PhoneNumberCapabilities capabilities).
  • Removed CommunicationError.
  • Removed PhoneNumberCapabilitiesRequest.
  • Moved ReservationStatus to the models folder.