Skip to content

Commit 275d5a4

Browse files
ci: regenerated with OpenAPI Doc 3.0.0, Speakeay CLI 1.100.2 (#180)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent eae6ca8 commit 275d5a4

File tree

846 files changed

+5978
-4279
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

846 files changed

+5978
-4279
lines changed

lending/CodatLending/AccountingBankData.cs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ public class AccountingBankDataSDK: IAccountingBankDataSDK
5050
{
5151
public SDKConfig Config { get; private set; }
5252
private const string _language = "csharp";
53-
private const string _sdkVersion = "4.2.1";
54-
private const string _sdkGenVersion = "2.129.1";
53+
private const string _sdkVersion = "4.3.0";
54+
private const string _sdkGenVersion = "2.159.2";
5555
private const string _openapiDocVersion = "3.0.0";
56+
private const string _userAgent = "speakeasy-sdk/csharp 4.3.0 2.159.2 3.0.0 Codat.Lending";
5657
private string _serverUrl = "";
5758
private ISpeakeasyHttpClient _defaultClient;
5859
private ISpeakeasyHttpClient _securityClient;
@@ -79,7 +80,7 @@ public async Task<ListAccountingBankAccountTransactionsResponse> ListTransaction
7980

8081

8182
var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString);
82-
httpRequest.Headers.Add("user-agent", $"speakeasy-sdk/{_language} {_sdkVersion} {_sdkGenVersion} {_openapiDocVersion}");
83+
httpRequest.Headers.Add("user-agent", _userAgent);
8384

8485

8586
var client = _securityClient;
@@ -94,9 +95,10 @@ public async Task<ListAccountingBankAccountTransactionsResponse> ListTransaction
9495
ContentType = contentType,
9596
RawResponse = httpResponse
9697
};
98+
9799
if((response.StatusCode == 200))
98100
{
99-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
101+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
100102
{
101103
response.AccountingBankTransactions = JsonConvert.DeserializeObject<AccountingBankTransactions>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
102104
}
@@ -105,7 +107,7 @@ public async Task<ListAccountingBankAccountTransactionsResponse> ListTransaction
105107
}
106108
if((response.StatusCode == 400) || (response.StatusCode == 401) || (response.StatusCode == 404) || (response.StatusCode == 409) || (response.StatusCode == 429))
107109
{
108-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
110+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
109111
{
110112
response.ErrorMessage = JsonConvert.DeserializeObject<ErrorMessage>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
111113
}

lending/CodatLending/AccountingBankDataAccounts.cs

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@ public class AccountingBankDataAccountsSDK: IAccountingBankDataAccountsSDK
5757
{
5858
public SDKConfig Config { get; private set; }
5959
private const string _language = "csharp";
60-
private const string _sdkVersion = "4.2.1";
61-
private const string _sdkGenVersion = "2.129.1";
60+
private const string _sdkVersion = "4.3.0";
61+
private const string _sdkGenVersion = "2.159.2";
6262
private const string _openapiDocVersion = "3.0.0";
63+
private const string _userAgent = "speakeasy-sdk/csharp 4.3.0 2.159.2 3.0.0 Codat.Lending";
6364
private string _serverUrl = "";
6465
private ISpeakeasyHttpClient _defaultClient;
6566
private ISpeakeasyHttpClient _securityClient;
@@ -84,7 +85,7 @@ public async Task<GetAccountingBankAccountResponse> GetAsync(GetAccountingBankAc
8485

8586

8687
var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString);
87-
httpRequest.Headers.Add("user-agent", $"speakeasy-sdk/{_language} {_sdkVersion} {_sdkGenVersion} {_openapiDocVersion}");
88+
httpRequest.Headers.Add("user-agent", _userAgent);
8889

8990

9091
var client = _securityClient;
@@ -99,9 +100,10 @@ public async Task<GetAccountingBankAccountResponse> GetAsync(GetAccountingBankAc
99100
ContentType = contentType,
100101
RawResponse = httpResponse
101102
};
103+
102104
if((response.StatusCode == 200))
103105
{
104-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
106+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
105107
{
106108
response.AccountingBankAccount = JsonConvert.DeserializeObject<AccountingBankAccount>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
107109
}
@@ -110,7 +112,7 @@ public async Task<GetAccountingBankAccountResponse> GetAsync(GetAccountingBankAc
110112
}
111113
if((response.StatusCode == 401) || (response.StatusCode == 404) || (response.StatusCode == 409) || (response.StatusCode == 429))
112114
{
113-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
115+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
114116
{
115117
response.ErrorMessage = JsonConvert.DeserializeObject<ErrorMessage>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
116118
}
@@ -132,7 +134,7 @@ public async Task<ListAccountingBankAccountsResponse> ListAsync(ListAccountingBa
132134

133135

134136
var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString);
135-
httpRequest.Headers.Add("user-agent", $"speakeasy-sdk/{_language} {_sdkVersion} {_sdkGenVersion} {_openapiDocVersion}");
137+
httpRequest.Headers.Add("user-agent", _userAgent);
136138

137139

138140
var client = _securityClient;
@@ -147,9 +149,10 @@ public async Task<ListAccountingBankAccountsResponse> ListAsync(ListAccountingBa
147149
ContentType = contentType,
148150
RawResponse = httpResponse
149151
};
152+
150153
if((response.StatusCode == 200))
151154
{
152-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
155+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
153156
{
154157
response.AccountingBankAccounts = JsonConvert.DeserializeObject<AccountingBankAccounts>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
155158
}
@@ -158,7 +161,7 @@ public async Task<ListAccountingBankAccountsResponse> ListAsync(ListAccountingBa
158161
}
159162
if((response.StatusCode == 400) || (response.StatusCode == 401) || (response.StatusCode == 404) || (response.StatusCode == 409))
160163
{
161-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
164+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
162165
{
163166
response.ErrorMessage = JsonConvert.DeserializeObject<ErrorMessage>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
164167
}

lending/CodatLending/AccountsPayable.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ public class AccountsPayableSDK: IAccountsPayableSDK
2525
{
2626
public SDKConfig Config { get; private set; }
2727
private const string _language = "csharp";
28-
private const string _sdkVersion = "4.2.1";
29-
private const string _sdkGenVersion = "2.129.1";
28+
private const string _sdkVersion = "4.3.0";
29+
private const string _sdkGenVersion = "2.159.2";
3030
private const string _openapiDocVersion = "3.0.0";
31+
private const string _userAgent = "speakeasy-sdk/csharp 4.3.0 2.159.2 3.0.0 Codat.Lending";
3132
private string _serverUrl = "";
3233
private ISpeakeasyHttpClient _defaultClient;
3334
private ISpeakeasyHttpClient _securityClient;

lending/CodatLending/AccountsPayableBillCreditNotes.cs

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@ public class AccountsPayableBillCreditNotesSDK: IAccountsPayableBillCreditNotesS
5757
{
5858
public SDKConfig Config { get; private set; }
5959
private const string _language = "csharp";
60-
private const string _sdkVersion = "4.2.1";
61-
private const string _sdkGenVersion = "2.129.1";
60+
private const string _sdkVersion = "4.3.0";
61+
private const string _sdkGenVersion = "2.159.2";
6262
private const string _openapiDocVersion = "3.0.0";
63+
private const string _userAgent = "speakeasy-sdk/csharp 4.3.0 2.159.2 3.0.0 Codat.Lending";
6364
private string _serverUrl = "";
6465
private ISpeakeasyHttpClient _defaultClient;
6566
private ISpeakeasyHttpClient _securityClient;
@@ -84,7 +85,7 @@ public async Task<GetAccountingBillCreditNoteResponse> GetAsync(GetAccountingBil
8485

8586

8687
var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString);
87-
httpRequest.Headers.Add("user-agent", $"speakeasy-sdk/{_language} {_sdkVersion} {_sdkGenVersion} {_openapiDocVersion}");
88+
httpRequest.Headers.Add("user-agent", _userAgent);
8889

8990

9091
var client = _securityClient;
@@ -99,9 +100,10 @@ public async Task<GetAccountingBillCreditNoteResponse> GetAsync(GetAccountingBil
99100
ContentType = contentType,
100101
RawResponse = httpResponse
101102
};
103+
102104
if((response.StatusCode == 200))
103105
{
104-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
106+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
105107
{
106108
response.AccountingBillCreditNote = JsonConvert.DeserializeObject<AccountingBillCreditNote>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
107109
}
@@ -110,7 +112,7 @@ public async Task<GetAccountingBillCreditNoteResponse> GetAsync(GetAccountingBil
110112
}
111113
if((response.StatusCode == 401) || (response.StatusCode == 404) || (response.StatusCode == 409) || (response.StatusCode == 429))
112114
{
113-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
115+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
114116
{
115117
response.ErrorMessage = JsonConvert.DeserializeObject<ErrorMessage>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
116118
}
@@ -132,7 +134,7 @@ public async Task<ListAccountingBillCreditNotesResponse> ListAsync(ListAccountin
132134

133135

134136
var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString);
135-
httpRequest.Headers.Add("user-agent", $"speakeasy-sdk/{_language} {_sdkVersion} {_sdkGenVersion} {_openapiDocVersion}");
137+
httpRequest.Headers.Add("user-agent", _userAgent);
136138

137139

138140
var client = _securityClient;
@@ -147,9 +149,10 @@ public async Task<ListAccountingBillCreditNotesResponse> ListAsync(ListAccountin
147149
ContentType = contentType,
148150
RawResponse = httpResponse
149151
};
152+
150153
if((response.StatusCode == 200))
151154
{
152-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
155+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
153156
{
154157
response.AccountingBillCreditNotes = JsonConvert.DeserializeObject<AccountingBillCreditNotes>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
155158
}
@@ -158,7 +161,7 @@ public async Task<ListAccountingBillCreditNotesResponse> ListAsync(ListAccountin
158161
}
159162
if((response.StatusCode == 400) || (response.StatusCode == 401) || (response.StatusCode == 404) || (response.StatusCode == 409))
160163
{
161-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
164+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
162165
{
163166
response.ErrorMessage = JsonConvert.DeserializeObject<ErrorMessage>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
164167
}

lending/CodatLending/AccountsPayableBillPayments.cs

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@ public class AccountsPayableBillPaymentsSDK: IAccountsPayableBillPaymentsSDK
5757
{
5858
public SDKConfig Config { get; private set; }
5959
private const string _language = "csharp";
60-
private const string _sdkVersion = "4.2.1";
61-
private const string _sdkGenVersion = "2.129.1";
60+
private const string _sdkVersion = "4.3.0";
61+
private const string _sdkGenVersion = "2.159.2";
6262
private const string _openapiDocVersion = "3.0.0";
63+
private const string _userAgent = "speakeasy-sdk/csharp 4.3.0 2.159.2 3.0.0 Codat.Lending";
6364
private string _serverUrl = "";
6465
private ISpeakeasyHttpClient _defaultClient;
6566
private ISpeakeasyHttpClient _securityClient;
@@ -84,7 +85,7 @@ public async Task<GetAccountingBillPaymentResponse> GetAsync(GetAccountingBillPa
8485

8586

8687
var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString);
87-
httpRequest.Headers.Add("user-agent", $"speakeasy-sdk/{_language} {_sdkVersion} {_sdkGenVersion} {_openapiDocVersion}");
88+
httpRequest.Headers.Add("user-agent", _userAgent);
8889

8990

9091
var client = _securityClient;
@@ -99,9 +100,10 @@ public async Task<GetAccountingBillPaymentResponse> GetAsync(GetAccountingBillPa
99100
ContentType = contentType,
100101
RawResponse = httpResponse
101102
};
103+
102104
if((response.StatusCode == 200))
103105
{
104-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
106+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
105107
{
106108
response.AccountingBillPayment = JsonConvert.DeserializeObject<AccountingBillPayment>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
107109
}
@@ -110,7 +112,7 @@ public async Task<GetAccountingBillPaymentResponse> GetAsync(GetAccountingBillPa
110112
}
111113
if((response.StatusCode == 401) || (response.StatusCode == 404) || (response.StatusCode == 409) || (response.StatusCode == 429))
112114
{
113-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
115+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
114116
{
115117
response.ErrorMessage = JsonConvert.DeserializeObject<ErrorMessage>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
116118
}
@@ -132,7 +134,7 @@ public async Task<ListAccountingBillPaymentsResponse> ListAsync(ListAccountingBi
132134

133135

134136
var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString);
135-
httpRequest.Headers.Add("user-agent", $"speakeasy-sdk/{_language} {_sdkVersion} {_sdkGenVersion} {_openapiDocVersion}");
137+
httpRequest.Headers.Add("user-agent", _userAgent);
136138

137139

138140
var client = _securityClient;
@@ -147,9 +149,10 @@ public async Task<ListAccountingBillPaymentsResponse> ListAsync(ListAccountingBi
147149
ContentType = contentType,
148150
RawResponse = httpResponse
149151
};
152+
150153
if((response.StatusCode == 200))
151154
{
152-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
155+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
153156
{
154157
response.AccountingBillPayments = JsonConvert.DeserializeObject<AccountingBillPayments>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
155158
}
@@ -158,7 +161,7 @@ public async Task<ListAccountingBillPaymentsResponse> ListAsync(ListAccountingBi
158161
}
159162
if((response.StatusCode == 400) || (response.StatusCode == 401) || (response.StatusCode == 404) || (response.StatusCode == 409))
160163
{
161-
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
164+
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
162165
{
163166
response.ErrorMessage = JsonConvert.DeserializeObject<ErrorMessage>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer(), new EnumSerializer() }});
164167
}

0 commit comments

Comments
 (0)