Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 3.0.0, Speakeay CLI 1.82.0 (#39)
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 11, 2023
1 parent 55586ff commit 0d15ec5
Show file tree
Hide file tree
Showing 167 changed files with 846 additions and 800 deletions.
4 changes: 2 additions & 2 deletions platform/CodatPlatform/CodatPlatform.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<PropertyGroup>
<IsPackable>true</IsPackable>
<PackageId>Codat.Platform</PackageId>
<Version>0.1.0</Version>
<Version>0.2.0</Version>
<Authors>Codat</Authors>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions platform/CodatPlatform/CodatPlatformSDK.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ public class CodatPlatformSDK: ICodatPlatformSDK
};

private const string _language = "csharp";
private const string _sdkVersion = "0.1.0";
private const string _sdkGenVersion = "2.91.4";
private const string _sdkVersion = "0.2.0";
private const string _sdkGenVersion = "2.107.0";
private const string _openapiDocVersion = "3.0.0";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
Expand Down
22 changes: 11 additions & 11 deletions platform/CodatPlatform/Companies.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public class CompaniesSDK: ICompaniesSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.1.0";
private const string _sdkGenVersion = "2.91.4";
private const string _sdkVersion = "0.2.0";
private const string _sdkGenVersion = "2.107.0";
private const string _openapiDocVersion = "3.0.0";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
Expand Down Expand Up @@ -92,7 +92,7 @@ public async Task<CreateCompanyResponse> CreateAsync(CompanyRequestBody? request
};
if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.Company = JsonConvert.DeserializeObject<Company>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
}
Expand All @@ -101,7 +101,7 @@ public async Task<CreateCompanyResponse> CreateAsync(CompanyRequestBody? request
}
if((response.StatusCode == 400) || (response.StatusCode == 401) || (response.StatusCode == 429))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
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() }});
}
Expand Down Expand Up @@ -153,7 +153,7 @@ public async Task<DeleteCompanyResponse> DeleteAsync(DeleteCompanyRequest? reque
}
if((response.StatusCode == 401) || (response.StatusCode == 404) || (response.StatusCode == 429))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
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() }});
}
Expand Down Expand Up @@ -199,7 +199,7 @@ public async Task<GetCompanyResponse> GetAsync(GetCompanyRequest? request = null
};
if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.Company = JsonConvert.DeserializeObject<Company>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
}
Expand All @@ -208,7 +208,7 @@ public async Task<GetCompanyResponse> GetAsync(GetCompanyRequest? request = null
}
if((response.StatusCode == 401) || (response.StatusCode == 404) || (response.StatusCode == 429))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
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() }});
}
Expand Down Expand Up @@ -254,7 +254,7 @@ public async Task<ListCompaniesResponse> ListAsync(ListCompaniesRequest? request
};
if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.Companies = JsonConvert.DeserializeObject<Companies>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
}
Expand All @@ -263,7 +263,7 @@ public async Task<ListCompaniesResponse> ListAsync(ListCompaniesRequest? request
}
if((response.StatusCode == 400) || (response.StatusCode == 401) || (response.StatusCode == 429))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
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() }});
}
Expand Down Expand Up @@ -314,7 +314,7 @@ public async Task<UpdateCompanyResponse> UpdateAsync(UpdateCompanyRequest? reque
};
if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.Company = JsonConvert.DeserializeObject<Company>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
}
Expand All @@ -323,7 +323,7 @@ public async Task<UpdateCompanyResponse> UpdateAsync(UpdateCompanyRequest? reque
}
if((response.StatusCode == 401) || (response.StatusCode == 404) || (response.StatusCode == 429))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
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() }});
}
Expand Down
24 changes: 12 additions & 12 deletions platform/CodatPlatform/Connections.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public class ConnectionsSDK: IConnectionsSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.1.0";
private const string _sdkGenVersion = "2.91.4";
private const string _sdkVersion = "0.2.0";
private const string _sdkGenVersion = "2.107.0";
private const string _openapiDocVersion = "3.0.0";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
Expand Down Expand Up @@ -91,7 +91,7 @@ public async Task<CreateConnectionResponse> CreateAsync(CreateConnectionRequest?
};
if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.Connection = JsonConvert.DeserializeObject<Connection>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
}
Expand All @@ -100,7 +100,7 @@ public async Task<CreateConnectionResponse> CreateAsync(CreateConnectionRequest?
}
if((response.StatusCode == 401) || (response.StatusCode == 404) || (response.StatusCode == 429))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
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() }});
}
Expand Down Expand Up @@ -152,7 +152,7 @@ public async Task<DeleteConnectionResponse> DeleteAsync(DeleteConnectionRequest?
}
if((response.StatusCode == 401) || (response.StatusCode == 404) || (response.StatusCode == 429))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
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() }});
}
Expand Down Expand Up @@ -198,7 +198,7 @@ public async Task<GetConnectionResponse> GetAsync(GetConnectionRequest? request
};
if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.Connection = JsonConvert.DeserializeObject<Connection>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
}
Expand All @@ -207,7 +207,7 @@ public async Task<GetConnectionResponse> GetAsync(GetConnectionRequest? request
}
if((response.StatusCode == 401) || (response.StatusCode == 404) || (response.StatusCode == 429))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
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() }});
}
Expand Down Expand Up @@ -253,7 +253,7 @@ public async Task<ListConnectionsResponse> ListAsync(ListConnectionsRequest? req
};
if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.Connections = JsonConvert.DeserializeObject<Connections>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
}
Expand All @@ -262,7 +262,7 @@ public async Task<ListConnectionsResponse> ListAsync(ListConnectionsRequest? req
}
if((response.StatusCode == 400) || (response.StatusCode == 401) || (response.StatusCode == 404) || (response.StatusCode == 429))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
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() }});
}
Expand Down Expand Up @@ -313,7 +313,7 @@ public async Task<UnlinkConnectionResponse> UnlinkAsync(UnlinkConnectionRequest?
};
if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.Connection = JsonConvert.DeserializeObject<Connection>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
}
Expand All @@ -322,7 +322,7 @@ public async Task<UnlinkConnectionResponse> UnlinkAsync(UnlinkConnectionRequest?
}
if((response.StatusCode == 401) || (response.StatusCode == 404) || (response.StatusCode == 429))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
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() }});
}
Expand Down Expand Up @@ -373,7 +373,7 @@ public async Task<UpdateConnectionAuthorizationResponse> UpdateAuthorizationAsyn
};
if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.Connection = JsonConvert.DeserializeObject<Connection>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
}
Expand Down
16 changes: 8 additions & 8 deletions platform/CodatPlatform/Integrations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public class IntegrationsSDK: IIntegrationsSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.1.0";
private const string _sdkGenVersion = "2.91.4";
private const string _sdkVersion = "0.2.0";
private const string _sdkGenVersion = "2.107.0";
private const string _openapiDocVersion = "3.0.0";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
Expand Down Expand Up @@ -81,7 +81,7 @@ public async Task<GetIntegrationResponse> GetAsync(GetIntegrationRequest? reques
};
if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.Integration = JsonConvert.DeserializeObject<Integration>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
}
Expand All @@ -90,7 +90,7 @@ public async Task<GetIntegrationResponse> GetAsync(GetIntegrationRequest? reques
}
if((response.StatusCode == 401) || (response.StatusCode == 404) || (response.StatusCode == 429))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
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() }});
}
Expand Down Expand Up @@ -136,7 +136,7 @@ public async Task<GetIntegrationsBrandingResponse> GetBrandingAsync(GetIntegrati
};
if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.Branding = JsonConvert.DeserializeObject<Branding>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
}
Expand All @@ -145,7 +145,7 @@ public async Task<GetIntegrationsBrandingResponse> GetBrandingAsync(GetIntegrati
}
if((response.StatusCode == 401) || (response.StatusCode == 404) || (response.StatusCode == 429))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
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() }});
}
Expand Down Expand Up @@ -191,7 +191,7 @@ public async Task<ListIntegrationsResponse> ListAsync(ListIntegrationsRequest? r
};
if((response.StatusCode == 200))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
if(Utilities.IsContentTypeMatch("application/json", response.ContentType))
{
response.Integrations = JsonConvert.DeserializeObject<Integrations>(await httpResponse.Content.ReadAsStringAsync(), new JsonSerializerSettings(){ NullValueHandling = NullValueHandling.Ignore, Converters = new JsonConverter[] { new FlexibleObjectDeserializer() }});
}
Expand All @@ -200,7 +200,7 @@ public async Task<ListIntegrationsResponse> ListAsync(ListIntegrationsRequest? r
}
if((response.StatusCode == 400) || (response.StatusCode == 401) || (response.StatusCode == 429))
{
if(Utilities.IsContentTypeMatch("application/json",response.ContentType))
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() }});
}
Expand Down
Loading

0 comments on commit 0d15ec5

Please sign in to comment.