Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc prealpha, Speakeay CLI 1.100.2 (#177)
Browse files Browse the repository at this point in the history
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
  • Loading branch information
github-actions[bot] and speakeasybot committed Oct 17, 2023
1 parent 28759bd commit 16e9465
Show file tree
Hide file tree
Showing 35 changed files with 175 additions and 253 deletions.
8 changes: 5 additions & 3 deletions sync-for-expenses/CodatSyncExpenses/Accounts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ public class AccountsSDK: IAccountsSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "3.1.0";
private const string _sdkGenVersion = "2.146.1";
private const string _sdkVersion = "3.2.0";
private const string _sdkGenVersion = "2.159.2";
private const string _openapiDocVersion = "prealpha";
private const string _userAgent = "speakeasy-sdk/csharp 3.1.0 2.146.1 prealpha Codat.Sync.Expenses";
private const string _userAgent = "speakeasy-sdk/csharp 3.2.0 2.159.2 prealpha Codat.Sync.Expenses";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient;
Expand Down Expand Up @@ -117,6 +117,7 @@ public AccountsSDK(ISpeakeasyHttpClient defaultClient, ISpeakeasyHttpClient secu
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down Expand Up @@ -165,6 +166,7 @@ public async Task<GetCreateChartOfAccountsModelResponse> GetCreateModelAsync(Get
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down
3 changes: 2 additions & 1 deletion sync-for-expenses/CodatSyncExpenses/CodatSyncExpenses.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
<PropertyGroup>
<IsPackable>true</IsPackable>
<PackageId>Codat.Sync.Expenses</PackageId>
<Version>3.1.0</Version>
<Version>3.2.0</Version>
<Authors>Codat</Authors>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<PackageReadmeFile>README.md</PackageReadmeFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>1591</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions sync-for-expenses/CodatSyncExpenses/CodatSyncExpensesSDK.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ public class CodatSyncExpensesSDK: ICodatSyncExpensesSDK
};

private const string _language = "csharp";
private const string _sdkVersion = "3.1.0";
private const string _sdkGenVersion = "2.146.1";
private const string _sdkVersion = "3.2.0";
private const string _sdkGenVersion = "2.159.2";
private const string _openapiDocVersion = "prealpha";
private const string _userAgent = "speakeasy-sdk/csharp 3.1.0 2.146.1 prealpha Codat.Sync.Expenses";
private const string _userAgent = "speakeasy-sdk/csharp 3.2.0 2.159.2 prealpha Codat.Sync.Expenses";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient;
Expand Down
11 changes: 8 additions & 3 deletions sync-for-expenses/CodatSyncExpenses/Companies.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ public class CompaniesSDK: ICompaniesSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "3.1.0";
private const string _sdkGenVersion = "2.146.1";
private const string _sdkVersion = "3.2.0";
private const string _sdkGenVersion = "2.159.2";
private const string _openapiDocVersion = "prealpha";
private const string _userAgent = "speakeasy-sdk/csharp 3.1.0 2.146.1 prealpha Codat.Sync.Expenses";
private const string _userAgent = "speakeasy-sdk/csharp 3.2.0 2.159.2 prealpha Codat.Sync.Expenses";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient;
Expand Down Expand Up @@ -131,6 +131,7 @@ public async Task<CreateCompanyResponse> CreateAsync(CompanyRequestBody? request
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down Expand Up @@ -179,6 +180,7 @@ public async Task<DeleteCompanyResponse> DeleteAsync(DeleteCompanyRequest? reque
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 204))
{

Expand Down Expand Up @@ -223,6 +225,7 @@ public async Task<GetCompanyResponse> GetAsync(GetCompanyRequest? request = null
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down Expand Up @@ -271,6 +274,7 @@ public async Task<ListCompaniesResponse> ListAsync(ListCompaniesRequest? request
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down Expand Up @@ -324,6 +328,7 @@ public async Task<UpdateCompanyResponse> UpdateAsync(UpdateCompanyRequest? reque
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down
9 changes: 6 additions & 3 deletions sync-for-expenses/CodatSyncExpenses/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ public class ConfigurationSDK: IConfigurationSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "3.1.0";
private const string _sdkGenVersion = "2.146.1";
private const string _sdkVersion = "3.2.0";
private const string _sdkGenVersion = "2.159.2";
private const string _openapiDocVersion = "prealpha";
private const string _userAgent = "speakeasy-sdk/csharp 3.1.0 2.146.1 prealpha Codat.Sync.Expenses";
private const string _userAgent = "speakeasy-sdk/csharp 3.2.0 2.159.2 prealpha Codat.Sync.Expenses";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient;
Expand Down Expand Up @@ -103,6 +103,7 @@ public async Task<GetCompanyConfigurationResponse> GetAsync(GetCompanyConfigurat
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down Expand Up @@ -151,6 +152,7 @@ public async Task<GetMappingOptionsResponse> GetMappingOptionsAsync(GetMappingOp
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down Expand Up @@ -204,6 +206,7 @@ public async Task<SetCompanyConfigurationResponse> SetAsync(SetCompanyConfigurat
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down
12 changes: 9 additions & 3 deletions sync-for-expenses/CodatSyncExpenses/Connections.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ public class ConnectionsSDK: IConnectionsSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "3.1.0";
private const string _sdkGenVersion = "2.146.1";
private const string _sdkVersion = "3.2.0";
private const string _sdkGenVersion = "2.159.2";
private const string _openapiDocVersion = "prealpha";
private const string _userAgent = "speakeasy-sdk/csharp 3.1.0 2.146.1 prealpha Codat.Sync.Expenses";
private const string _userAgent = "speakeasy-sdk/csharp 3.2.0 2.159.2 prealpha Codat.Sync.Expenses";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient;
Expand Down Expand Up @@ -138,6 +138,7 @@ public async Task<CreateConnectionResponse> CreateAsync(CreateConnectionRequest?
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down Expand Up @@ -186,6 +187,7 @@ public async Task<CreatePartnerExpenseConnectionResponse> CreatePartnerExpenseCo
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down Expand Up @@ -234,6 +236,7 @@ public async Task<DeleteConnectionResponse> DeleteAsync(DeleteConnectionRequest?
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{

Expand Down Expand Up @@ -278,6 +281,7 @@ public async Task<GetConnectionResponse> GetAsync(GetConnectionRequest? request
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down Expand Up @@ -326,6 +330,7 @@ public async Task<ListConnectionsResponse> ListAsync(ListConnectionsRequest? req
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down Expand Up @@ -379,6 +384,7 @@ public async Task<UnlinkConnectionResponse> UnlinkAsync(UnlinkConnectionRequest?
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down
10 changes: 7 additions & 3 deletions sync-for-expenses/CodatSyncExpenses/Customers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ public class CustomersSDK: ICustomersSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "3.1.0";
private const string _sdkGenVersion = "2.146.1";
private const string _sdkVersion = "3.2.0";
private const string _sdkGenVersion = "2.159.2";
private const string _openapiDocVersion = "prealpha";
private const string _userAgent = "speakeasy-sdk/csharp 3.1.0 2.146.1 prealpha Codat.Sync.Expenses";
private const string _userAgent = "speakeasy-sdk/csharp 3.2.0 2.159.2 prealpha Codat.Sync.Expenses";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient;
Expand Down Expand Up @@ -147,6 +147,7 @@ public CustomersSDK(ISpeakeasyHttpClient defaultClient, ISpeakeasyHttpClient sec
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down Expand Up @@ -195,6 +196,7 @@ public async Task<GetCustomerResponse> GetAsync(GetCustomerRequest? request = nu
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down Expand Up @@ -243,6 +245,7 @@ public async Task<ListCustomersResponse> ListAsync(ListCustomersRequest? request
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down Expand Up @@ -296,6 +299,7 @@ public async Task<ListCustomersResponse> ListAsync(ListCustomersRequest? request
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down
9 changes: 6 additions & 3 deletions sync-for-expenses/CodatSyncExpenses/Expenses.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ public class ExpensesSDK: IExpensesSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "3.1.0";
private const string _sdkGenVersion = "2.146.1";
private const string _sdkVersion = "3.2.0";
private const string _sdkGenVersion = "2.159.2";
private const string _openapiDocVersion = "prealpha";
private const string _userAgent = "speakeasy-sdk/csharp 3.1.0 2.146.1 prealpha Codat.Sync.Expenses";
private const string _userAgent = "speakeasy-sdk/csharp 3.2.0 2.159.2 prealpha Codat.Sync.Expenses";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient;
Expand Down Expand Up @@ -108,6 +108,7 @@ public async Task<CreateExpenseTransactionResponse> CreateAsync(CreateExpenseTra
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down Expand Up @@ -161,6 +162,7 @@ public async Task<UpdateExpenseTransactionResponse> UpdateAsync(UpdateExpenseTra
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 202))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down Expand Up @@ -214,6 +216,7 @@ public async Task<UploadExpenseAttachmentResponse> UploadAttachmentAsync(UploadE
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down
11 changes: 8 additions & 3 deletions sync-for-expenses/CodatSyncExpenses/ManageData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ public class ManageDataSDK: IManageDataSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "3.1.0";
private const string _sdkGenVersion = "2.146.1";
private const string _sdkVersion = "3.2.0";
private const string _sdkGenVersion = "2.159.2";
private const string _openapiDocVersion = "prealpha";
private const string _userAgent = "speakeasy-sdk/csharp 3.1.0 2.146.1 prealpha Codat.Sync.Expenses";
private const string _userAgent = "speakeasy-sdk/csharp 3.2.0 2.159.2 prealpha Codat.Sync.Expenses";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient;
Expand Down Expand Up @@ -128,6 +128,7 @@ public async Task<GetDataStatusResponse> GetAsync(GetDataStatusRequest? request
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down Expand Up @@ -176,6 +177,7 @@ public async Task<GetPullOperationResponse> GetPullOperationAsync(GetPullOperati
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down Expand Up @@ -224,6 +226,7 @@ public async Task<ListPullOperationsResponse> ListPullOperationsAsync(ListPullOp
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down Expand Up @@ -272,6 +275,7 @@ public async Task<RefreshAllDataTypesResponse> RefreshAllDataTypesAsync(RefreshA
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 204))
{

Expand Down Expand Up @@ -316,6 +320,7 @@ public async Task<RefreshDataTypeResponse> RefreshDataTypeAsync(RefreshDataTypeR
ContentType = contentType,
RawResponse = httpResponse
};

if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
Expand Down
11 changes: 11 additions & 0 deletions sync-for-expenses/CodatSyncExpenses/Models/Shared/Account.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,17 @@ public class Account
[JsonProperty("status")]
public AccountStatus? Status { get; set; }

/// <summary>
/// Supplemental data is additional data you can include in our standard data types. <br/>
///
/// <remarks>
/// <br/>
/// 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.
/// </remarks>
/// </summary>
[JsonProperty("supplementalData")]
public SupplementalData? SupplementalData { get; set; }

/// <summary>
/// Type of account
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public class Supplier
/// </remarks>
/// </summary>
[JsonProperty("supplementalData")]
public SupplierSupplementalData? SupplementalData { get; set; }
public SupplementalData? SupplementalData { get; set; }

/// <summary>
/// Name of the supplier as recorded in the accounting system, typically the company name.
Expand Down
Loading

0 comments on commit 16e9465

Please sign in to comment.