Gk/fix mca refresh query param (#135)

* Change refit query param & overload

* Fix spacing in csproj

* Add back version numbers
This commit is contained in:
Gaurav Karna 2024-03-25 11:45:58 -07:00 коммит произвёл GitHub
Родитель 0f407eeda9
Коммит 103415a19e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 11 добавлений и 12 удалений

Просмотреть файл

@ -17,11 +17,10 @@ namespace MCARefreshBulkAttestationCLITool.Interfaces
public interface ICustomerAgreementsClient
{
[Get("/v1/partners/customeragreementrecords")]
Task<FetchCustomerAgreementRecordResponse> GetCustomerAgreementRecords(CancellationToken cancellationToken = default);
Task<FetchCustomerAgreementRecordResponse> GetCustomerAgreementRecords(CancellationToken cancellationToken = default) => this.GetCustomerAgreementRecords(null, cancellationToken);
[Get("/v1/partners/customeragreementrecords?continuationToken={continuationToken}")]
Task<FetchCustomerAgreementRecordResponse> GetCustomerAgreementRecords(string continuationToken, CancellationToken cancellationToken = default);
[Get("/v1/partners/customeragreementrecords")]
Task<FetchCustomerAgreementRecordResponse> GetCustomerAgreementRecords([AliasAs("continuation_token")][Query] string? continuationToken, CancellationToken cancellationToken = default);
[Post("/v1/CreateBulkReAttestation")]
Task CreateBulkReAttestation(IEnumerable<ReAttestationRequest> request, CancellationToken cancellationToken = default);

Просмотреть файл

@ -10,15 +10,15 @@
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0"/>
<PackageReference Include="Microsoft.Identity.Client" Version="4.57.0"/>
<PackageReference Include="CsvHelper" Version="27.1.1"/>
<PackageReference Include="CsvHelper" Version="27.1.1"/>
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="8.0.0"/>
<PackageReference Include="Refit" Version="7.0.0"/>
<PackageReference Include="Refit.HttpClientFactory" Version="7.0.0"/>
<PackageReference Include="Serilog" Version="3.1.1"/>
<PackageReference Include="Serilog.Exceptions.Refit" Version="8.4.0"/>
<PackageReference Include="Serilog.Extensions.Hosting" Version="8.0.0"/>
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0"/>
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="7.2.0"/>
<PackageReference Include="Refit" Version="7.0.0"/>
<PackageReference Include="Refit.HttpClientFactory" Version="7.0.0"/>
<PackageReference Include="Serilog" Version="3.1.1"/>
<PackageReference Include="Serilog.Exceptions.Refit" Version="8.4.0"/>
<PackageReference Include="Serilog.Extensions.Hosting" Version="8.0.0"/>
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0"/>
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="7.2.0"/>
</ItemGroup>
<ItemGroup>