Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 3.0.0, Speakeay CLI 1.91.0 (#127)
Browse files Browse the repository at this point in the history
Co-authored-by: speakeasybot <[email protected]>
  • Loading branch information
github-actions[bot] and speakeasybot authored Sep 25, 2023
1 parent d854096 commit 458f35e
Show file tree
Hide file tree
Showing 926 changed files with 5,151 additions and 1,820 deletions.
11 changes: 7 additions & 4 deletions lending/CodatLending/AccountingBankData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,15 @@ public interface IAccountingBankDataSDK
Task<ListAccountingBankAccountTransactionsResponse> ListTransactionsAsync(ListAccountingBankAccountTransactionsRequest? request = null);
}

/// <summary>
/// Access bank transactions from an accounting platform.
/// </summary>
public class AccountingBankDataSDK: IAccountingBankDataSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "3.3.0";
private const string _sdkGenVersion = "2.122.1";
private const string _sdkVersion = "4.1.0";
private const string _sdkGenVersion = "2.129.1";
private const string _openapiDocVersion = "3.0.0";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
Expand Down Expand Up @@ -95,7 +98,7 @@ public async Task<ListAccountingBankAccountTransactionsResponse> ListTransaction
{
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.AccountingBankTransactions = JsonConvert.DeserializeObject<AccountingBankTransactions>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
response.AccountingBankTransactions = JsonConvert.DeserializeObject<AccountingBankTransactions>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
}

return response;
Expand All @@ -104,7 +107,7 @@ public async Task<ListAccountingBankAccountTransactionsResponse> ListTransaction
{
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.ErrorMessage = JsonConvert.DeserializeObject<ErrorMessage>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
response.ErrorMessage = JsonConvert.DeserializeObject<ErrorMessage>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
}

return response;
Expand Down
12 changes: 6 additions & 6 deletions lending/CodatLending/AccountingBankDataAccounts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ public class AccountingBankDataAccountsSDK: IAccountingBankDataAccountsSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "3.3.0";
private const string _sdkGenVersion = "2.122.1";
private const string _sdkVersion = "4.1.0";
private const string _sdkGenVersion = "2.129.1";
private const string _openapiDocVersion = "3.0.0";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
Expand Down Expand Up @@ -103,7 +103,7 @@ public async Task<GetAccountingBankAccountResponse> GetAsync(GetAccountingBankAc
{
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.AccountingBankAccount = JsonConvert.DeserializeObject<AccountingBankAccount>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
response.AccountingBankAccount = JsonConvert.DeserializeObject<AccountingBankAccount>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
}

return response;
Expand All @@ -112,7 +112,7 @@ public async Task<GetAccountingBankAccountResponse> GetAsync(GetAccountingBankAc
{
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.ErrorMessage = JsonConvert.DeserializeObject<ErrorMessage>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
response.ErrorMessage = JsonConvert.DeserializeObject<ErrorMessage>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
}

return response;
Expand Down Expand Up @@ -151,7 +151,7 @@ public async Task<ListAccountingBankAccountsResponse> ListAsync(ListAccountingBa
{
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.AccountingBankAccounts = JsonConvert.DeserializeObject<AccountingBankAccounts>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
response.AccountingBankAccounts = JsonConvert.DeserializeObject<AccountingBankAccounts>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
}

return response;
Expand All @@ -160,7 +160,7 @@ public async Task<ListAccountingBankAccountsResponse> ListAsync(ListAccountingBa
{
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.ErrorMessage = JsonConvert.DeserializeObject<ErrorMessage>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
response.ErrorMessage = JsonConvert.DeserializeObject<ErrorMessage>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
}

return response;
Expand Down
4 changes: 2 additions & 2 deletions lending/CodatLending/AccountsPayable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ public class AccountsPayableSDK: IAccountsPayableSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "3.3.0";
private const string _sdkGenVersion = "2.122.1";
private const string _sdkVersion = "4.1.0";
private const string _sdkGenVersion = "2.129.1";
private const string _openapiDocVersion = "3.0.0";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
Expand Down
12 changes: 6 additions & 6 deletions lending/CodatLending/AccountsPayableBillCreditNotes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ public class AccountsPayableBillCreditNotesSDK: IAccountsPayableBillCreditNotesS
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "3.3.0";
private const string _sdkGenVersion = "2.122.1";
private const string _sdkVersion = "4.1.0";
private const string _sdkGenVersion = "2.129.1";
private const string _openapiDocVersion = "3.0.0";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
Expand Down Expand Up @@ -103,7 +103,7 @@ public async Task<GetAccountingBillCreditNoteResponse> GetAsync(GetAccountingBil
{
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.AccountingBillCreditNote = JsonConvert.DeserializeObject<AccountingBillCreditNote>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
response.AccountingBillCreditNote = JsonConvert.DeserializeObject<AccountingBillCreditNote>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
}

return response;
Expand All @@ -112,7 +112,7 @@ public async Task<GetAccountingBillCreditNoteResponse> GetAsync(GetAccountingBil
{
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.ErrorMessage = JsonConvert.DeserializeObject<ErrorMessage>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
response.ErrorMessage = JsonConvert.DeserializeObject<ErrorMessage>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
}

return response;
Expand Down Expand Up @@ -151,7 +151,7 @@ public async Task<ListAccountingBillCreditNotesResponse> ListAsync(ListAccountin
{
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.AccountingBillCreditNotes = JsonConvert.DeserializeObject<AccountingBillCreditNotes>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
response.AccountingBillCreditNotes = JsonConvert.DeserializeObject<AccountingBillCreditNotes>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
}

return response;
Expand All @@ -160,7 +160,7 @@ public async Task<ListAccountingBillCreditNotesResponse> ListAsync(ListAccountin
{
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.ErrorMessage = JsonConvert.DeserializeObject<ErrorMessage>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
response.ErrorMessage = JsonConvert.DeserializeObject<ErrorMessage>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
}

return response;
Expand Down
12 changes: 6 additions & 6 deletions lending/CodatLending/AccountsPayableBillPayments.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ public class AccountsPayableBillPaymentsSDK: IAccountsPayableBillPaymentsSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "3.3.0";
private const string _sdkGenVersion = "2.122.1";
private const string _sdkVersion = "4.1.0";
private const string _sdkGenVersion = "2.129.1";
private const string _openapiDocVersion = "3.0.0";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
Expand Down Expand Up @@ -103,7 +103,7 @@ public async Task<GetAccountingBillPaymentResponse> GetAsync(GetAccountingBillPa
{
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.AccountingBillPayment = JsonConvert.DeserializeObject<AccountingBillPayment>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
response.AccountingBillPayment = JsonConvert.DeserializeObject<AccountingBillPayment>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
}

return response;
Expand All @@ -112,7 +112,7 @@ public async Task<GetAccountingBillPaymentResponse> GetAsync(GetAccountingBillPa
{
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.ErrorMessage = JsonConvert.DeserializeObject<ErrorMessage>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
response.ErrorMessage = JsonConvert.DeserializeObject<ErrorMessage>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
}

return response;
Expand Down Expand Up @@ -151,7 +151,7 @@ public async Task<ListAccountingBillPaymentsResponse> ListAsync(ListAccountingBi
{
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.AccountingBillPayments = JsonConvert.DeserializeObject<AccountingBillPayments>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
response.AccountingBillPayments = JsonConvert.DeserializeObject<AccountingBillPayments>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
}

return response;
Expand All @@ -160,7 +160,7 @@ public async Task<ListAccountingBillPaymentsResponse> ListAsync(ListAccountingBi
{
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.ErrorMessage = JsonConvert.DeserializeObject<ErrorMessage>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
response.ErrorMessage = JsonConvert.DeserializeObject<ErrorMessage>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
}

return response;
Expand Down
Loading

0 comments on commit 458f35e

Please sign in to comment.