Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions sdk/communication/Azure.Communication.PhoneNumbers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,28 @@
# Release History

## 1.2.0-beta.2 (Unreleased)
## 1.3.0-beta.3 (2024-03-01)

### Features Added
- Add support for number lookup
- Format only can be returned for no cost
- Additional number details can be returned for a cost

### Breaking Changes
## 1.3.0-beta.2 (2023-08-31)

### Bugs Fixed
- Service version updated to include 2023-05-01-preview
- Default to latest public version

### Other Changes
## 1.3.0-beta.1 (2023-08-25)

### Features Added
- Number Lookup API public preview
- API version `2023-05-01-preview` is the default

## 1.2.0-beta.1 (2023-08-08)

### Features Added
- Added custom page sizes to PurchasedPhoneNumbers, Countries, Localities, AreaCodes and Offerings.
- Added custom page sizes to PurchasedPhoneNumbers, Countries, Localities, AreaCodes and Offerings.

## 1.1.0 (2023-03-28)

Expand All @@ -25,7 +34,7 @@
- Adds support for Azure Communication Services Phone Numbers Browse API Methods.

### Features Added
- Added support for API version `2022-12-01`, giving users the ability to:
- Added support for API version `2022-12-01`, giving users the ability to:
- Get all supported countries
- Get all supported localities given a country code.
- Get all Toll-Free area codes from a given country code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,53 @@ namespace Azure.Communication.PhoneNumbers
public static bool operator !=(Azure.Communication.PhoneNumbers.BillingFrequency left, Azure.Communication.PhoneNumbers.BillingFrequency right) { throw null; }
public override string ToString() { throw null; }
}
public partial class OperatorDetails
{
internal OperatorDetails() { }
public string MobileCountryCode { get { throw null; } }
public string MobileNetworkCode { get { throw null; } }
public string Name { get { throw null; } }
}
public partial class OperatorInformation
{
internal OperatorInformation() { }
public string InternationalFormat { get { throw null; } }
public string IsoCountryCode { get { throw null; } }
public string NationalFormat { get { throw null; } }
public Azure.Communication.PhoneNumbers.OperatorNumberType? NumberType { get { throw null; } }
public Azure.Communication.PhoneNumbers.OperatorDetails OperatorDetails { get { throw null; } }
public string PhoneNumber { get { throw null; } }
}
public partial class OperatorInformationOptions
{
public OperatorInformationOptions() { }
public bool? IncludeAdditionalOperatorDetails { get { throw null; } set { } }
}
public partial class OperatorInformationResult
{
internal OperatorInformationResult() { }
public System.Collections.Generic.IReadOnlyList<Azure.Communication.PhoneNumbers.OperatorInformation> Values { get { throw null; } }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct OperatorNumberType : System.IEquatable<Azure.Communication.PhoneNumbers.OperatorNumberType>
{
private readonly object _dummy;
private readonly int _dummyPrimitive;
public OperatorNumberType(string value) { throw null; }
public static Azure.Communication.PhoneNumbers.OperatorNumberType Geographic { get { throw null; } }
public static Azure.Communication.PhoneNumbers.OperatorNumberType Mobile { get { throw null; } }
public static Azure.Communication.PhoneNumbers.OperatorNumberType Other { get { throw null; } }
public static Azure.Communication.PhoneNumbers.OperatorNumberType Unknown { get { throw null; } }
public bool Equals(Azure.Communication.PhoneNumbers.OperatorNumberType other) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public override bool Equals(object obj) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public override int GetHashCode() { throw null; }
public static bool operator ==(Azure.Communication.PhoneNumbers.OperatorNumberType left, Azure.Communication.PhoneNumbers.OperatorNumberType right) { throw null; }
public static implicit operator Azure.Communication.PhoneNumbers.OperatorNumberType (string value) { throw null; }
public static bool operator !=(Azure.Communication.PhoneNumbers.OperatorNumberType left, Azure.Communication.PhoneNumbers.OperatorNumberType right) { throw null; }
public override string ToString() { throw null; }
}
public partial class PhoneNumberAdministrativeDivision
{
internal PhoneNumberAdministrativeDivision() { }
Expand Down Expand Up @@ -122,6 +169,8 @@ public PhoneNumbersClient(System.Uri endpoint, Azure.Core.TokenCredential tokenC
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.PhoneNumbers.PurchasedPhoneNumber>> GetPurchasedPhoneNumberAsync(string phoneNumber, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual Azure.Pageable<Azure.Communication.PhoneNumbers.PurchasedPhoneNumber> GetPurchasedPhoneNumbers(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual Azure.AsyncPageable<Azure.Communication.PhoneNumbers.PurchasedPhoneNumber> GetPurchasedPhoneNumbersAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual Azure.Response<Azure.Communication.PhoneNumbers.OperatorInformationResult> SearchOperatorInformation(System.Collections.Generic.IEnumerable<string> phoneNumbers, Azure.Communication.PhoneNumbers.OperatorInformationOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.PhoneNumbers.OperatorInformationResult>> SearchOperatorInformationAsync(System.Collections.Generic.IEnumerable<string> phoneNumbers, Azure.Communication.PhoneNumbers.OperatorInformationOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual Azure.Communication.PhoneNumbers.PurchasePhoneNumbersOperation StartPurchasePhoneNumbers(string searchId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual System.Threading.Tasks.Task<Azure.Communication.PhoneNumbers.PurchasePhoneNumbersOperation> StartPurchasePhoneNumbersAsync(string searchId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual Azure.Communication.PhoneNumbers.ReleasePhoneNumberOperation StartReleasePhoneNumber(string phoneNumber, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
Expand All @@ -133,13 +182,14 @@ public PhoneNumbersClient(System.Uri endpoint, Azure.Core.TokenCredential tokenC
}
public partial class PhoneNumbersClientOptions : Azure.Core.ClientOptions
{
public PhoneNumbersClientOptions(Azure.Communication.PhoneNumbers.PhoneNumbersClientOptions.ServiceVersion version = Azure.Communication.PhoneNumbers.PhoneNumbersClientOptions.ServiceVersion.V2022_12_01) { }
public PhoneNumbersClientOptions(Azure.Communication.PhoneNumbers.PhoneNumbersClientOptions.ServiceVersion version = Azure.Communication.PhoneNumbers.PhoneNumbersClientOptions.ServiceVersion.V2024_03_01_Preview) { }
public string? AcceptedLanguage { get { throw null; } set { } }
public enum ServiceVersion
{
V2021_03_07 = 1,
V2022_01_11_Preview_2 = 2,
V2022_12_01 = 3,
V2024_03_01_Preview = 4,
}
}
public partial class PhoneNumberSearchOptions
Expand Down Expand Up @@ -198,6 +248,9 @@ internal PhoneNumberSearchResult() { }
}
public static partial class PhoneNumbersModelFactory
{
public static Azure.Communication.PhoneNumbers.OperatorDetails OperatorDetails(string name = null, string mobileNetworkCode = null, string mobileCountryCode = null) { throw null; }
public static Azure.Communication.PhoneNumbers.OperatorInformation OperatorInformation(string phoneNumber = null, string nationalFormat = null, string internationalFormat = null, string isoCountryCode = null, Azure.Communication.PhoneNumbers.OperatorNumberType? numberType = default(Azure.Communication.PhoneNumbers.OperatorNumberType?), Azure.Communication.PhoneNumbers.OperatorDetails operatorDetails = null) { throw null; }
public static Azure.Communication.PhoneNumbers.OperatorInformationResult OperatorInformationResult(System.Collections.Generic.IEnumerable<Azure.Communication.PhoneNumbers.OperatorInformation> values = null) { throw null; }
public static Azure.Communication.PhoneNumbers.PhoneNumberAdministrativeDivision PhoneNumberAdministrativeDivision(string localizedName = null, string abbreviatedName = null) { throw null; }
public static Azure.Communication.PhoneNumbers.PhoneNumberAreaCode PhoneNumberAreaCode(string areaCode = null) { throw null; }
public static Azure.Communication.PhoneNumbers.PhoneNumberCost PhoneNumberCost(double amount = 0, string isoCurrencySymbol = null, Azure.Communication.PhoneNumbers.BillingFrequency billingFrequency = default(Azure.Communication.PhoneNumbers.BillingFrequency)) { throw null; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/communication/Azure.Communication.PhoneNumbers",
"Tag": "net/communication/Azure.Communication.PhoneNumbers_c25e2b56c5"
"Tag": "net/communication/Azure.Communication.PhoneNumbers_862930fd40"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
For this release, see notes - https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/communication/Azure.Communication.PhoneNumbers/README.md and https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/communication/Azure.Communication.PhoneNumbers/CHANGELOG.md.
</Description>
<AssemblyTitle>Azure Communication Phone Numbers Service</AssemblyTitle>
<Version>1.2.0-beta.2</Version>
<Version>1.3.0-beta.3</Version>
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually.-->
<ApiCompatVersion>1.1.0</ApiCompatVersion>
<PackageTags>Microsoft Azure Communication Phone Numbers Service;Microsoft;Azure;Azure Communication Service;Azure Communication Phone Numbers Service;Phone Numbers;Communication;$(PackageCommonTags)</PackageTags>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading