Skip to content

Commit 16e9465

Browse files
ci: regenerated with OpenAPI Doc prealpha, Speakeay CLI 1.100.2 (#177)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent 28759bd commit 16e9465

35 files changed

+175
-253
lines changed

sync-for-expenses/CodatSyncExpenses/Accounts.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ public class AccountsSDK: IAccountsSDK
6969
{
7070
public SDKConfig Config { get; private set; }
7171
private const string _language = "csharp";
72-
private const string _sdkVersion = "3.1.0";
73-
private const string _sdkGenVersion = "2.146.1";
72+
private const string _sdkVersion = "3.2.0";
73+
private const string _sdkGenVersion = "2.159.2";
7474
private const string _openapiDocVersion = "prealpha";
75-
private const string _userAgent = "speakeasy-sdk/csharp 3.1.0 2.146.1 prealpha Codat.Sync.Expenses";
75+
private const string _userAgent = "speakeasy-sdk/csharp 3.2.0 2.159.2 prealpha Codat.Sync.Expenses";
7676
private string _serverUrl = "";
7777
private ISpeakeasyHttpClient _defaultClient;
7878
private ISpeakeasyHttpClient _securityClient;
@@ -117,6 +117,7 @@ public AccountsSDK(ISpeakeasyHttpClient defaultClient, ISpeakeasyHttpClient secu
117117
ContentType = contentType,
118118
RawResponse = httpResponse
119119
};
120+
120121
if((response.StatusCode == 200))
121122
{
122123
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
@@ -165,6 +166,7 @@ public async Task<GetCreateChartOfAccountsModelResponse> GetCreateModelAsync(Get
165166
ContentType = contentType,
166167
RawResponse = httpResponse
167168
};
169+
168170
if((response.StatusCode == 200))
169171
{
170172
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))

sync-for-expenses/CodatSyncExpenses/CodatSyncExpenses.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
<PropertyGroup>
33
<IsPackable>true</IsPackable>
44
<PackageId>Codat.Sync.Expenses</PackageId>
5-
<Version>3.1.0</Version>
5+
<Version>3.2.0</Version>
66
<Authors>Codat</Authors>
77
<TargetFramework>net6.0</TargetFramework>
88
<Nullable>enable</Nullable>
99
<PackageReadmeFile>README.md</PackageReadmeFile>
1010
<GenerateDocumentationFile>true</GenerateDocumentationFile>
11+
<NoWarn>1591</NoWarn>
1112
</PropertyGroup>
1213

1314
<ItemGroup>

sync-for-expenses/CodatSyncExpenses/CodatSyncExpensesSDK.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ public class CodatSyncExpensesSDK: ICodatSyncExpensesSDK
121121
};
122122

123123
private const string _language = "csharp";
124-
private const string _sdkVersion = "3.1.0";
125-
private const string _sdkGenVersion = "2.146.1";
124+
private const string _sdkVersion = "3.2.0";
125+
private const string _sdkGenVersion = "2.159.2";
126126
private const string _openapiDocVersion = "prealpha";
127-
private const string _userAgent = "speakeasy-sdk/csharp 3.1.0 2.146.1 prealpha Codat.Sync.Expenses";
127+
private const string _userAgent = "speakeasy-sdk/csharp 3.2.0 2.159.2 prealpha Codat.Sync.Expenses";
128128
private string _serverUrl = "";
129129
private ISpeakeasyHttpClient _defaultClient;
130130
private ISpeakeasyHttpClient _securityClient;

sync-for-expenses/CodatSyncExpenses/Companies.cs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ public class CompaniesSDK: ICompaniesSDK
8383
{
8484
public SDKConfig Config { get; private set; }
8585
private const string _language = "csharp";
86-
private const string _sdkVersion = "3.1.0";
87-
private const string _sdkGenVersion = "2.146.1";
86+
private const string _sdkVersion = "3.2.0";
87+
private const string _sdkGenVersion = "2.159.2";
8888
private const string _openapiDocVersion = "prealpha";
89-
private const string _userAgent = "speakeasy-sdk/csharp 3.1.0 2.146.1 prealpha Codat.Sync.Expenses";
89+
private const string _userAgent = "speakeasy-sdk/csharp 3.2.0 2.159.2 prealpha Codat.Sync.Expenses";
9090
private string _serverUrl = "";
9191
private ISpeakeasyHttpClient _defaultClient;
9292
private ISpeakeasyHttpClient _securityClient;
@@ -131,6 +131,7 @@ public async Task<CreateCompanyResponse> CreateAsync(CompanyRequestBody? request
131131
ContentType = contentType,
132132
RawResponse = httpResponse
133133
};
134+
134135
if((response.StatusCode == 200))
135136
{
136137
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
@@ -179,6 +180,7 @@ public async Task<DeleteCompanyResponse> DeleteAsync(DeleteCompanyRequest? reque
179180
ContentType = contentType,
180181
RawResponse = httpResponse
181182
};
183+
182184
if((response.StatusCode == 204))
183185
{
184186

@@ -223,6 +225,7 @@ public async Task<GetCompanyResponse> GetAsync(GetCompanyRequest? request = null
223225
ContentType = contentType,
224226
RawResponse = httpResponse
225227
};
228+
226229
if((response.StatusCode == 200))
227230
{
228231
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
@@ -271,6 +274,7 @@ public async Task<ListCompaniesResponse> ListAsync(ListCompaniesRequest? request
271274
ContentType = contentType,
272275
RawResponse = httpResponse
273276
};
277+
274278
if((response.StatusCode == 200))
275279
{
276280
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
@@ -324,6 +328,7 @@ public async Task<UpdateCompanyResponse> UpdateAsync(UpdateCompanyRequest? reque
324328
ContentType = contentType,
325329
RawResponse = httpResponse
326330
};
331+
327332
if((response.StatusCode == 200))
328333
{
329334
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))

sync-for-expenses/CodatSyncExpenses/Configuration.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ public class ConfigurationSDK: IConfigurationSDK
6060
{
6161
public SDKConfig Config { get; private set; }
6262
private const string _language = "csharp";
63-
private const string _sdkVersion = "3.1.0";
64-
private const string _sdkGenVersion = "2.146.1";
63+
private const string _sdkVersion = "3.2.0";
64+
private const string _sdkGenVersion = "2.159.2";
6565
private const string _openapiDocVersion = "prealpha";
66-
private const string _userAgent = "speakeasy-sdk/csharp 3.1.0 2.146.1 prealpha Codat.Sync.Expenses";
66+
private const string _userAgent = "speakeasy-sdk/csharp 3.2.0 2.159.2 prealpha Codat.Sync.Expenses";
6767
private string _serverUrl = "";
6868
private ISpeakeasyHttpClient _defaultClient;
6969
private ISpeakeasyHttpClient _securityClient;
@@ -103,6 +103,7 @@ public async Task<GetCompanyConfigurationResponse> GetAsync(GetCompanyConfigurat
103103
ContentType = contentType,
104104
RawResponse = httpResponse
105105
};
106+
106107
if((response.StatusCode == 200))
107108
{
108109
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
@@ -151,6 +152,7 @@ public async Task<GetMappingOptionsResponse> GetMappingOptionsAsync(GetMappingOp
151152
ContentType = contentType,
152153
RawResponse = httpResponse
153154
};
155+
154156
if((response.StatusCode == 200))
155157
{
156158
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
@@ -204,6 +206,7 @@ public async Task<SetCompanyConfigurationResponse> SetAsync(SetCompanyConfigurat
204206
ContentType = contentType,
205207
RawResponse = httpResponse
206208
};
209+
207210
if((response.StatusCode == 200))
208211
{
209212
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))

sync-for-expenses/CodatSyncExpenses/Connections.cs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ public class ConnectionsSDK: IConnectionsSDK
9090
{
9191
public SDKConfig Config { get; private set; }
9292
private const string _language = "csharp";
93-
private const string _sdkVersion = "3.1.0";
94-
private const string _sdkGenVersion = "2.146.1";
93+
private const string _sdkVersion = "3.2.0";
94+
private const string _sdkGenVersion = "2.159.2";
9595
private const string _openapiDocVersion = "prealpha";
96-
private const string _userAgent = "speakeasy-sdk/csharp 3.1.0 2.146.1 prealpha Codat.Sync.Expenses";
96+
private const string _userAgent = "speakeasy-sdk/csharp 3.2.0 2.159.2 prealpha Codat.Sync.Expenses";
9797
private string _serverUrl = "";
9898
private ISpeakeasyHttpClient _defaultClient;
9999
private ISpeakeasyHttpClient _securityClient;
@@ -138,6 +138,7 @@ public async Task<CreateConnectionResponse> CreateAsync(CreateConnectionRequest?
138138
ContentType = contentType,
139139
RawResponse = httpResponse
140140
};
141+
141142
if((response.StatusCode == 200))
142143
{
143144
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
@@ -186,6 +187,7 @@ public async Task<CreatePartnerExpenseConnectionResponse> CreatePartnerExpenseCo
186187
ContentType = contentType,
187188
RawResponse = httpResponse
188189
};
190+
189191
if((response.StatusCode == 200))
190192
{
191193
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
@@ -234,6 +236,7 @@ public async Task<DeleteConnectionResponse> DeleteAsync(DeleteConnectionRequest?
234236
ContentType = contentType,
235237
RawResponse = httpResponse
236238
};
239+
237240
if((response.StatusCode == 200))
238241
{
239242

@@ -278,6 +281,7 @@ public async Task<GetConnectionResponse> GetAsync(GetConnectionRequest? request
278281
ContentType = contentType,
279282
RawResponse = httpResponse
280283
};
284+
281285
if((response.StatusCode == 200))
282286
{
283287
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
@@ -326,6 +330,7 @@ public async Task<ListConnectionsResponse> ListAsync(ListConnectionsRequest? req
326330
ContentType = contentType,
327331
RawResponse = httpResponse
328332
};
333+
329334
if((response.StatusCode == 200))
330335
{
331336
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
@@ -379,6 +384,7 @@ public async Task<UnlinkConnectionResponse> UnlinkAsync(UnlinkConnectionRequest?
379384
ContentType = contentType,
380385
RawResponse = httpResponse
381386
};
387+
382388
if((response.StatusCode == 200))
383389
{
384390
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))

sync-for-expenses/CodatSyncExpenses/Customers.cs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ public class CustomersSDK: ICustomersSDK
9999
{
100100
public SDKConfig Config { get; private set; }
101101
private const string _language = "csharp";
102-
private const string _sdkVersion = "3.1.0";
103-
private const string _sdkGenVersion = "2.146.1";
102+
private const string _sdkVersion = "3.2.0";
103+
private const string _sdkGenVersion = "2.159.2";
104104
private const string _openapiDocVersion = "prealpha";
105-
private const string _userAgent = "speakeasy-sdk/csharp 3.1.0 2.146.1 prealpha Codat.Sync.Expenses";
105+
private const string _userAgent = "speakeasy-sdk/csharp 3.2.0 2.159.2 prealpha Codat.Sync.Expenses";
106106
private string _serverUrl = "";
107107
private ISpeakeasyHttpClient _defaultClient;
108108
private ISpeakeasyHttpClient _securityClient;
@@ -147,6 +147,7 @@ public CustomersSDK(ISpeakeasyHttpClient defaultClient, ISpeakeasyHttpClient sec
147147
ContentType = contentType,
148148
RawResponse = httpResponse
149149
};
150+
150151
if((response.StatusCode == 200))
151152
{
152153
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
@@ -195,6 +196,7 @@ public async Task<GetCustomerResponse> GetAsync(GetCustomerRequest? request = nu
195196
ContentType = contentType,
196197
RawResponse = httpResponse
197198
};
199+
198200
if((response.StatusCode == 200))
199201
{
200202
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
@@ -243,6 +245,7 @@ public async Task<ListCustomersResponse> ListAsync(ListCustomersRequest? request
243245
ContentType = contentType,
244246
RawResponse = httpResponse
245247
};
248+
246249
if((response.StatusCode == 200))
247250
{
248251
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
@@ -296,6 +299,7 @@ public async Task<ListCustomersResponse> ListAsync(ListCustomersRequest? request
296299
ContentType = contentType,
297300
RawResponse = httpResponse
298301
};
302+
299303
if((response.StatusCode == 200))
300304
{
301305
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))

sync-for-expenses/CodatSyncExpenses/Expenses.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ public class ExpensesSDK: IExpensesSDK
6060
{
6161
public SDKConfig Config { get; private set; }
6262
private const string _language = "csharp";
63-
private const string _sdkVersion = "3.1.0";
64-
private const string _sdkGenVersion = "2.146.1";
63+
private const string _sdkVersion = "3.2.0";
64+
private const string _sdkGenVersion = "2.159.2";
6565
private const string _openapiDocVersion = "prealpha";
66-
private const string _userAgent = "speakeasy-sdk/csharp 3.1.0 2.146.1 prealpha Codat.Sync.Expenses";
66+
private const string _userAgent = "speakeasy-sdk/csharp 3.2.0 2.159.2 prealpha Codat.Sync.Expenses";
6767
private string _serverUrl = "";
6868
private ISpeakeasyHttpClient _defaultClient;
6969
private ISpeakeasyHttpClient _securityClient;
@@ -108,6 +108,7 @@ public async Task<CreateExpenseTransactionResponse> CreateAsync(CreateExpenseTra
108108
ContentType = contentType,
109109
RawResponse = httpResponse
110110
};
111+
111112
if((response.StatusCode == 200))
112113
{
113114
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
@@ -161,6 +162,7 @@ public async Task<UpdateExpenseTransactionResponse> UpdateAsync(UpdateExpenseTra
161162
ContentType = contentType,
162163
RawResponse = httpResponse
163164
};
165+
164166
if((response.StatusCode == 202))
165167
{
166168
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
@@ -214,6 +216,7 @@ public async Task<UploadExpenseAttachmentResponse> UploadAttachmentAsync(UploadE
214216
ContentType = contentType,
215217
RawResponse = httpResponse
216218
};
219+
217220
if((response.StatusCode == 200))
218221
{
219222
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))

sync-for-expenses/CodatSyncExpenses/ManageData.cs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ public class ManageDataSDK: IManageDataSDK
8585
{
8686
public SDKConfig Config { get; private set; }
8787
private const string _language = "csharp";
88-
private const string _sdkVersion = "3.1.0";
89-
private const string _sdkGenVersion = "2.146.1";
88+
private const string _sdkVersion = "3.2.0";
89+
private const string _sdkGenVersion = "2.159.2";
9090
private const string _openapiDocVersion = "prealpha";
91-
private const string _userAgent = "speakeasy-sdk/csharp 3.1.0 2.146.1 prealpha Codat.Sync.Expenses";
91+
private const string _userAgent = "speakeasy-sdk/csharp 3.2.0 2.159.2 prealpha Codat.Sync.Expenses";
9292
private string _serverUrl = "";
9393
private ISpeakeasyHttpClient _defaultClient;
9494
private ISpeakeasyHttpClient _securityClient;
@@ -128,6 +128,7 @@ public async Task<GetDataStatusResponse> GetAsync(GetDataStatusRequest? request
128128
ContentType = contentType,
129129
RawResponse = httpResponse
130130
};
131+
131132
if((response.StatusCode == 200))
132133
{
133134
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
@@ -176,6 +177,7 @@ public async Task<GetPullOperationResponse> GetPullOperationAsync(GetPullOperati
176177
ContentType = contentType,
177178
RawResponse = httpResponse
178179
};
180+
179181
if((response.StatusCode == 200))
180182
{
181183
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
@@ -224,6 +226,7 @@ public async Task<ListPullOperationsResponse> ListPullOperationsAsync(ListPullOp
224226
ContentType = contentType,
225227
RawResponse = httpResponse
226228
};
229+
227230
if((response.StatusCode == 200))
228231
{
229232
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
@@ -272,6 +275,7 @@ public async Task<RefreshAllDataTypesResponse> RefreshAllDataTypesAsync(RefreshA
272275
ContentType = contentType,
273276
RawResponse = httpResponse
274277
};
278+
275279
if((response.StatusCode == 204))
276280
{
277281

@@ -316,6 +320,7 @@ public async Task<RefreshDataTypeResponse> RefreshDataTypeAsync(RefreshDataTypeR
316320
ContentType = contentType,
317321
RawResponse = httpResponse
318322
};
323+
319324
if((response.StatusCode == 200))
320325
{
321326
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))

sync-for-expenses/CodatSyncExpenses/Models/Shared/Account.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,17 @@ public class Account
138138
[JsonProperty("status")]
139139
public AccountStatus? Status { get; set; }
140140

141+
/// <summary>
142+
/// Supplemental data is additional data you can include in our standard data types. <br/>
143+
///
144+
/// <remarks>
145+
/// <br/>
146+
/// It is referenced as a configured dynamic key value pair that is unique to the accounting platform. <a href="https://docs.codat.io/using-the-api/supplemental-data/overview">Learn more</a> about supplemental data.
147+
/// </remarks>
148+
/// </summary>
149+
[JsonProperty("supplementalData")]
150+
public SupplementalData? SupplementalData { get; set; }
151+
141152
/// <summary>
142153
/// Type of account
143154
/// </summary>

0 commit comments

Comments
 (0)