diff --git a/Bandwidth.Standard.sln b/Bandwidth.Standard.sln
index 213cb40..3882d7f 100644
--- a/Bandwidth.Standard.sln
+++ b/Bandwidth.Standard.sln
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{FDCACCB2-FFE6-4E8A-9F20-CA5F0A4D92B5}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{8CF842FF-C39E-4018-8F0A-9DAAC9EAFFC7}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard.Test", "src\Bandwidth.Standard.Test\Bandwidth.Standard.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
@@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {FDCACCB2-FFE6-4E8A-9F20-CA5F0A4D92B5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {FDCACCB2-FFE6-4E8A-9F20-CA5F0A4D92B5}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {FDCACCB2-FFE6-4E8A-9F20-CA5F0A4D92B5}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {FDCACCB2-FFE6-4E8A-9F20-CA5F0A4D92B5}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8CF842FF-C39E-4018-8F0A-9DAAC9EAFFC7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8CF842FF-C39E-4018-8F0A-9DAAC9EAFFC7}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8CF842FF-C39E-4018-8F0A-9DAAC9EAFFC7}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8CF842FF-C39E-4018-8F0A-9DAAC9EAFFC7}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
diff --git a/api/openapi.yaml b/api/openapi.yaml
index d004f54..0a19c75 100644
--- a/api/openapi.yaml
+++ b/api/openapi.yaml
@@ -4599,6 +4599,7 @@ paths:
url: https://mfa.bandwidth.com/api/v1
/accounts/{accountId}/tnlookup:
post:
+ deprecated: true
description: Create a Phone Number Lookup Request.
operationId: createLookup
parameters:
@@ -4701,6 +4702,7 @@ paths:
url: https://numbers.bandwidth.com/api/v1
/accounts/{accountId}/tnlookup/{requestId}:
get:
+ deprecated: true
description: Get an existing Phone Number Lookup Request.
operationId: getLookupStatus
parameters:
diff --git a/bandwidth.yml b/bandwidth.yml
index 3cc990a..bf2c9ab 100644
--- a/bandwidth.yml
+++ b/bandwidth.yml
@@ -1330,6 +1330,7 @@ paths:
servers: *ref_2
/accounts/{accountId}/tnlookup:
post:
+ deprecated: true
summary: Create Lookup
description: Create a Phone Number Lookup Request.
operationId: createLookup
@@ -1359,6 +1360,7 @@ paths:
description: Production
/accounts/{accountId}/tnlookup/{requestId}:
get:
+ deprecated: true
summary: Get Lookup Request Status
description: Get an existing Phone Number Lookup Request.
operationId: getLookupStatus
diff --git a/src/Bandwidth.Standard/Api/PhoneNumberLookupApi.cs b/src/Bandwidth.Standard/Api/PhoneNumberLookupApi.cs
index 768237e..f16f0a7 100644
--- a/src/Bandwidth.Standard/Api/PhoneNumberLookupApi.cs
+++ b/src/Bandwidth.Standard/Api/PhoneNumberLookupApi.cs
@@ -38,6 +38,7 @@ public interface IPhoneNumberLookupApiSync : IApiAccessor
/// Phone number lookup request.
/// Index associated with the operation.
/// CreateLookupResponse
+ [Obsolete]
CreateLookupResponse CreateLookup(string accountId, LookupRequest lookupRequest, int operationIndex = 0);
///
@@ -51,6 +52,7 @@ public interface IPhoneNumberLookupApiSync : IApiAccessor
/// Phone number lookup request.
/// Index associated with the operation.
/// ApiResponse of CreateLookupResponse
+ [Obsolete]
ApiResponse CreateLookupWithHttpInfo(string accountId, LookupRequest lookupRequest, int operationIndex = 0);
///
/// Get Lookup Request Status
@@ -63,6 +65,7 @@ public interface IPhoneNumberLookupApiSync : IApiAccessor
/// The phone number lookup request ID from Bandwidth.
/// Index associated with the operation.
/// LookupStatus
+ [Obsolete]
LookupStatus GetLookupStatus(string accountId, string requestId, int operationIndex = 0);
///
@@ -76,6 +79,7 @@ public interface IPhoneNumberLookupApiSync : IApiAccessor
/// The phone number lookup request ID from Bandwidth.
/// Index associated with the operation.
/// ApiResponse of LookupStatus
+ [Obsolete]
ApiResponse GetLookupStatusWithHttpInfo(string accountId, string requestId, int operationIndex = 0);
#endregion Synchronous Operations
}
@@ -98,6 +102,7 @@ public interface IPhoneNumberLookupApiAsync : IApiAccessor
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
/// Task of CreateLookupResponse
+ [Obsolete]
System.Threading.Tasks.Task CreateLookupAsync(string accountId, LookupRequest lookupRequest, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
@@ -112,6 +117,7 @@ public interface IPhoneNumberLookupApiAsync : IApiAccessor
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (CreateLookupResponse)
+ [Obsolete]
System.Threading.Tasks.Task> CreateLookupWithHttpInfoAsync(string accountId, LookupRequest lookupRequest, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
/// Get Lookup Request Status
@@ -125,6 +131,7 @@ public interface IPhoneNumberLookupApiAsync : IApiAccessor
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
/// Task of LookupStatus
+ [Obsolete]
System.Threading.Tasks.Task GetLookupStatusAsync(string accountId, string requestId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
@@ -139,6 +146,7 @@ public interface IPhoneNumberLookupApiAsync : IApiAccessor
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (LookupStatus)
+ [Obsolete]
System.Threading.Tasks.Task> GetLookupStatusWithHttpInfoAsync(string accountId, string requestId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations
}
@@ -268,6 +276,7 @@ public Bandwidth.Standard.Client.ExceptionFactory ExceptionFactory
/// Phone number lookup request.
/// Index associated with the operation.
/// CreateLookupResponse
+ [Obsolete]
public CreateLookupResponse CreateLookup(string accountId, LookupRequest lookupRequest, int operationIndex = 0)
{
Bandwidth.Standard.Client.ApiResponse localVarResponse = CreateLookupWithHttpInfo(accountId, lookupRequest);
@@ -282,6 +291,7 @@ public CreateLookupResponse CreateLookup(string accountId, LookupRequest lookupR
/// Phone number lookup request.
/// Index associated with the operation.
/// ApiResponse of CreateLookupResponse
+ [Obsolete]
public Bandwidth.Standard.Client.ApiResponse CreateLookupWithHttpInfo(string accountId, LookupRequest lookupRequest, int operationIndex = 0)
{
// verify the required parameter 'accountId' is set
@@ -355,6 +365,7 @@ public Bandwidth.Standard.Client.ApiResponse CreateLookupW
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
/// Task of CreateLookupResponse
+ [Obsolete]
public async System.Threading.Tasks.Task CreateLookupAsync(string accountId, LookupRequest lookupRequest, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
Bandwidth.Standard.Client.ApiResponse localVarResponse = await CreateLookupWithHttpInfoAsync(accountId, lookupRequest, operationIndex, cancellationToken).ConfigureAwait(false);
@@ -370,6 +381,7 @@ public Bandwidth.Standard.Client.ApiResponse CreateLookupW
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (CreateLookupResponse)
+ [Obsolete]
public async System.Threading.Tasks.Task> CreateLookupWithHttpInfoAsync(string accountId, LookupRequest lookupRequest, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
// verify the required parameter 'accountId' is set
@@ -444,6 +456,7 @@ public Bandwidth.Standard.Client.ApiResponse CreateLookupW
/// The phone number lookup request ID from Bandwidth.
/// Index associated with the operation.
/// LookupStatus
+ [Obsolete]
public LookupStatus GetLookupStatus(string accountId, string requestId, int operationIndex = 0)
{
Bandwidth.Standard.Client.ApiResponse localVarResponse = GetLookupStatusWithHttpInfo(accountId, requestId);
@@ -458,6 +471,7 @@ public LookupStatus GetLookupStatus(string accountId, string requestId, int oper
/// The phone number lookup request ID from Bandwidth.
/// Index associated with the operation.
/// ApiResponse of LookupStatus
+ [Obsolete]
public Bandwidth.Standard.Client.ApiResponse GetLookupStatusWithHttpInfo(string accountId, string requestId, int operationIndex = 0)
{
// verify the required parameter 'accountId' is set
@@ -530,6 +544,7 @@ public Bandwidth.Standard.Client.ApiResponse GetLookupStatusWithHt
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
/// Task of LookupStatus
+ [Obsolete]
public async System.Threading.Tasks.Task GetLookupStatusAsync(string accountId, string requestId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
Bandwidth.Standard.Client.ApiResponse localVarResponse = await GetLookupStatusWithHttpInfoAsync(accountId, requestId, operationIndex, cancellationToken).ConfigureAwait(false);
@@ -545,6 +560,7 @@ public Bandwidth.Standard.Client.ApiResponse GetLookupStatusWithHt
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (LookupStatus)
+ [Obsolete]
public async System.Threading.Tasks.Task> GetLookupStatusWithHttpInfoAsync(string accountId, string requestId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
// verify the required parameter 'accountId' is set