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
10 changes: 5 additions & 5 deletions Bandwidth.Standard.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions bandwidth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
16 changes: 16 additions & 0 deletions src/Bandwidth.Standard/Api/PhoneNumberLookupApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public interface IPhoneNumberLookupApiSync : IApiAccessor
/// <param name="lookupRequest">Phone number lookup request.</param>
/// <param name="operationIndex">Index associated with the operation.</param>
/// <returns>CreateLookupResponse</returns>
[Obsolete]
CreateLookupResponse CreateLookup(string accountId, LookupRequest lookupRequest, int operationIndex = 0);

/// <summary>
Expand All @@ -51,6 +52,7 @@ public interface IPhoneNumberLookupApiSync : IApiAccessor
/// <param name="lookupRequest">Phone number lookup request.</param>
/// <param name="operationIndex">Index associated with the operation.</param>
/// <returns>ApiResponse of CreateLookupResponse</returns>
[Obsolete]
ApiResponse<CreateLookupResponse> CreateLookupWithHttpInfo(string accountId, LookupRequest lookupRequest, int operationIndex = 0);
/// <summary>
/// Get Lookup Request Status
Expand All @@ -63,6 +65,7 @@ public interface IPhoneNumberLookupApiSync : IApiAccessor
/// <param name="requestId">The phone number lookup request ID from Bandwidth.</param>
/// <param name="operationIndex">Index associated with the operation.</param>
/// <returns>LookupStatus</returns>
[Obsolete]
LookupStatus GetLookupStatus(string accountId, string requestId, int operationIndex = 0);

/// <summary>
Expand All @@ -76,6 +79,7 @@ public interface IPhoneNumberLookupApiSync : IApiAccessor
/// <param name="requestId">The phone number lookup request ID from Bandwidth.</param>
/// <param name="operationIndex">Index associated with the operation.</param>
/// <returns>ApiResponse of LookupStatus</returns>
[Obsolete]
ApiResponse<LookupStatus> GetLookupStatusWithHttpInfo(string accountId, string requestId, int operationIndex = 0);
#endregion Synchronous Operations
}
Expand All @@ -98,6 +102,7 @@ public interface IPhoneNumberLookupApiAsync : IApiAccessor
/// <param name="operationIndex">Index associated with the operation.</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of CreateLookupResponse</returns>
[Obsolete]
System.Threading.Tasks.Task<CreateLookupResponse> CreateLookupAsync(string accountId, LookupRequest lookupRequest, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
Expand All @@ -112,6 +117,7 @@ public interface IPhoneNumberLookupApiAsync : IApiAccessor
/// <param name="operationIndex">Index associated with the operation.</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (CreateLookupResponse)</returns>
[Obsolete]
System.Threading.Tasks.Task<ApiResponse<CreateLookupResponse>> CreateLookupWithHttpInfoAsync(string accountId, LookupRequest lookupRequest, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// <summary>
/// Get Lookup Request Status
Expand All @@ -125,6 +131,7 @@ public interface IPhoneNumberLookupApiAsync : IApiAccessor
/// <param name="operationIndex">Index associated with the operation.</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of LookupStatus</returns>
[Obsolete]
System.Threading.Tasks.Task<LookupStatus> GetLookupStatusAsync(string accountId, string requestId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
Expand All @@ -139,6 +146,7 @@ public interface IPhoneNumberLookupApiAsync : IApiAccessor
/// <param name="operationIndex">Index associated with the operation.</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (LookupStatus)</returns>
[Obsolete]
System.Threading.Tasks.Task<ApiResponse<LookupStatus>> GetLookupStatusWithHttpInfoAsync(string accountId, string requestId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations
}
Expand Down Expand Up @@ -268,6 +276,7 @@ public Bandwidth.Standard.Client.ExceptionFactory ExceptionFactory
/// <param name="lookupRequest">Phone number lookup request.</param>
/// <param name="operationIndex">Index associated with the operation.</param>
/// <returns>CreateLookupResponse</returns>
[Obsolete]
public CreateLookupResponse CreateLookup(string accountId, LookupRequest lookupRequest, int operationIndex = 0)
{
Bandwidth.Standard.Client.ApiResponse<CreateLookupResponse> localVarResponse = CreateLookupWithHttpInfo(accountId, lookupRequest);
Expand All @@ -282,6 +291,7 @@ public CreateLookupResponse CreateLookup(string accountId, LookupRequest lookupR
/// <param name="lookupRequest">Phone number lookup request.</param>
/// <param name="operationIndex">Index associated with the operation.</param>
/// <returns>ApiResponse of CreateLookupResponse</returns>
[Obsolete]
public Bandwidth.Standard.Client.ApiResponse<CreateLookupResponse> CreateLookupWithHttpInfo(string accountId, LookupRequest lookupRequest, int operationIndex = 0)
{
// verify the required parameter 'accountId' is set
Expand Down Expand Up @@ -355,6 +365,7 @@ public Bandwidth.Standard.Client.ApiResponse<CreateLookupResponse> CreateLookupW
/// <param name="operationIndex">Index associated with the operation.</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of CreateLookupResponse</returns>
[Obsolete]
public async System.Threading.Tasks.Task<CreateLookupResponse> CreateLookupAsync(string accountId, LookupRequest lookupRequest, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
Bandwidth.Standard.Client.ApiResponse<CreateLookupResponse> localVarResponse = await CreateLookupWithHttpInfoAsync(accountId, lookupRequest, operationIndex, cancellationToken).ConfigureAwait(false);
Expand All @@ -370,6 +381,7 @@ public Bandwidth.Standard.Client.ApiResponse<CreateLookupResponse> CreateLookupW
/// <param name="operationIndex">Index associated with the operation.</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (CreateLookupResponse)</returns>
[Obsolete]
public async System.Threading.Tasks.Task<Bandwidth.Standard.Client.ApiResponse<CreateLookupResponse>> CreateLookupWithHttpInfoAsync(string accountId, LookupRequest lookupRequest, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
// verify the required parameter 'accountId' is set
Expand Down Expand Up @@ -444,6 +456,7 @@ public Bandwidth.Standard.Client.ApiResponse<CreateLookupResponse> CreateLookupW
/// <param name="requestId">The phone number lookup request ID from Bandwidth.</param>
/// <param name="operationIndex">Index associated with the operation.</param>
/// <returns>LookupStatus</returns>
[Obsolete]
public LookupStatus GetLookupStatus(string accountId, string requestId, int operationIndex = 0)
{
Bandwidth.Standard.Client.ApiResponse<LookupStatus> localVarResponse = GetLookupStatusWithHttpInfo(accountId, requestId);
Expand All @@ -458,6 +471,7 @@ public LookupStatus GetLookupStatus(string accountId, string requestId, int oper
/// <param name="requestId">The phone number lookup request ID from Bandwidth.</param>
/// <param name="operationIndex">Index associated with the operation.</param>
/// <returns>ApiResponse of LookupStatus</returns>
[Obsolete]
public Bandwidth.Standard.Client.ApiResponse<LookupStatus> GetLookupStatusWithHttpInfo(string accountId, string requestId, int operationIndex = 0)
{
// verify the required parameter 'accountId' is set
Expand Down Expand Up @@ -530,6 +544,7 @@ public Bandwidth.Standard.Client.ApiResponse<LookupStatus> GetLookupStatusWithHt
/// <param name="operationIndex">Index associated with the operation.</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of LookupStatus</returns>
[Obsolete]
public async System.Threading.Tasks.Task<LookupStatus> GetLookupStatusAsync(string accountId, string requestId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
Bandwidth.Standard.Client.ApiResponse<LookupStatus> localVarResponse = await GetLookupStatusWithHttpInfoAsync(accountId, requestId, operationIndex, cancellationToken).ConfigureAwait(false);
Expand All @@ -545,6 +560,7 @@ public Bandwidth.Standard.Client.ApiResponse<LookupStatus> GetLookupStatusWithHt
/// <param name="operationIndex">Index associated with the operation.</param>
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
/// <returns>Task of ApiResponse (LookupStatus)</returns>
[Obsolete]
public async System.Threading.Tasks.Task<Bandwidth.Standard.Client.ApiResponse<LookupStatus>> GetLookupStatusWithHttpInfoAsync(string accountId, string requestId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
// verify the required parameter 'accountId' is set
Expand Down
Loading