Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.469.10
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Jan 20, 2025
1 parent e59b3ca commit 2cac63d
Show file tree
Hide file tree
Showing 91 changed files with 2,729 additions and 1,542 deletions.
2,003 changes: 1,074 additions & 929 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: true
csharp:
version: 0.3.1
version: 0.4.0
additionalDependencies: []
author: Speakeasy
clientServerStatusCodesAsErrors: true
Expand Down
16 changes: 8 additions & 8 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.468.5
speakeasyVersion: 1.469.10
sources:
Apideck:
sourceNamespace: apideck
sourceRevisionDigest: sha256:ec6439a15212d6b9f1669d418ac175acbd4d9fa40a20c740ab32fdcd4b1a1c80
sourceBlobDigest: sha256:e49054352f142b1d04915c13e5da0a7ab0a031c52609cf3b00a1a7c46cbc6970
sourceRevisionDigest: sha256:c39e35d205b53f045bdd0e135d1ca8e845e170143ffe6b99a5d0d6c6915bbd19
sourceBlobDigest: sha256:ebfccb50c6a46288e3e9f63e7b625c7159d42bf841eb324d785c7fdfbb82ba04
tags:
- latest
- speakeasy-sdk-regen-1736845592
- 10.9.1
- speakeasy-sdk-regen-1737099257
- 10.10.0
targets:
apideck:
source: Apideck
sourceNamespace: apideck
sourceRevisionDigest: sha256:ec6439a15212d6b9f1669d418ac175acbd4d9fa40a20c740ab32fdcd4b1a1c80
sourceBlobDigest: sha256:e49054352f142b1d04915c13e5da0a7ab0a031c52609cf3b00a1a7c46cbc6970
sourceRevisionDigest: sha256:c39e35d205b53f045bdd0e135d1ca8e845e170143ffe6b99a5d0d6c6915bbd19
sourceBlobDigest: sha256:ebfccb50c6a46288e3e9f63e7b625c7159d42bf841eb324d785c7fdfbb82ba04
codeSamplesNamespace: apideck-csharp-code-samples
codeSamplesRevisionDigest: sha256:84212f42bfec31bf06cbeef53e96cf7ceca75db775ce710adb6c248ef239c9ee
codeSamplesRevisionDigest: sha256:e902696facf37edc4c16883130c0294fd9e3e6bd7e6230a9591a9989e68ddb62
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,14 @@ Based on:
### Generated
- [csharp v0.3.1] .
### Releases
- [NuGet v0.3.1] https://www.nuget.org/packages/ApideckUnifySdk/0.3.1 - .
- [NuGet v0.3.1] https://www.nuget.org/packages/ApideckUnifySdk/0.3.1 - .

## 2025-01-20 16:53:18
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.469.10 (2.493.31) https://github.com/speakeasy-api/speakeasy
### Generated
- [csharp v0.4.0] .
### Releases
- [NuGet v0.4.0] https://www.nuget.org/packages/ApideckUnifySdk/0.4.0 - .
8 changes: 4 additions & 4 deletions src/ApideckUnifySdk/Accounting.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ public class Accounting: IAccounting
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.3.1";
private const string _sdkGenVersion = "2.493.11";
private const string _openapiDocVersion = "10.9.1";
private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.493.11 10.9.1 ApideckUnifySdk";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.493.31";
private const string _openapiDocVersion = "10.10.0";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.493.31 10.10.0 ApideckUnifySdk";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<ApideckUnifySdk.Models.Components.Security>? _securitySource;
Expand Down
38 changes: 29 additions & 9 deletions src/ApideckUnifySdk/Activities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ public class Activities: IActivities
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.3.1";
private const string _sdkGenVersion = "2.493.11";
private const string _openapiDocVersion = "10.9.1";
private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.493.11 10.9.1 ApideckUnifySdk";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.493.31";
private const string _openapiDocVersion = "10.10.0";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.493.31 10.10.0 ApideckUnifySdk";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<ApideckUnifySdk.Models.Components.Security>? _securitySource;
Expand Down Expand Up @@ -281,7 +281,11 @@ public async Task<CrmActivitiesAllResponse> ListAsync(CrmActivitiesAllRequest? r

throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse);
}
else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600)
else if(responseStatusCode >= 400 && responseStatusCode < 500)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
else if(responseStatusCode >= 500 && responseStatusCode < 600)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
Expand Down Expand Up @@ -472,7 +476,11 @@ public async Task<CrmActivitiesAddResponse> CreateAsync(CrmActivitiesAddRequest

throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse);
}
else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600)
else if(responseStatusCode >= 400 && responseStatusCode < 500)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
else if(responseStatusCode >= 500 && responseStatusCode < 600)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
Expand Down Expand Up @@ -656,7 +664,11 @@ public async Task<CrmActivitiesOneResponse> GetAsync(CrmActivitiesOneRequest req

throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse);
}
else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600)
else if(responseStatusCode >= 400 && responseStatusCode < 500)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
else if(responseStatusCode >= 500 && responseStatusCode < 600)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
Expand Down Expand Up @@ -846,7 +858,11 @@ public async Task<CrmActivitiesUpdateResponse> UpdateAsync(CrmActivitiesUpdateRe

throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse);
}
else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600)
else if(responseStatusCode >= 400 && responseStatusCode < 500)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
else if(responseStatusCode >= 500 && responseStatusCode < 600)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
Expand Down Expand Up @@ -1030,7 +1046,11 @@ public async Task<CrmActivitiesDeleteResponse> DeleteAsync(CrmActivitiesDeleteRe

throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse);
}
else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600)
else if(responseStatusCode >= 400 && responseStatusCode < 500)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
else if(responseStatusCode >= 500 && responseStatusCode < 600)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
Expand Down
14 changes: 9 additions & 5 deletions src/ApideckUnifySdk/AgedDebtors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ public class AgedDebtors: IAgedDebtors
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.3.1";
private const string _sdkGenVersion = "2.493.11";
private const string _openapiDocVersion = "10.9.1";
private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.493.11 10.9.1 ApideckUnifySdk";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.493.31";
private const string _openapiDocVersion = "10.10.0";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.493.31 10.10.0 ApideckUnifySdk";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<ApideckUnifySdk.Models.Components.Security>? _securitySource;
Expand Down Expand Up @@ -210,7 +210,11 @@ public async Task<AccountingAgedDebtorsOneResponse> GetAsync(AccountingAgedDebto

throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse);
}
else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600)
else if(responseStatusCode >= 400 && responseStatusCode < 500)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
else if(responseStatusCode >= 500 && responseStatusCode < 600)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
Expand Down
14 changes: 9 additions & 5 deletions src/ApideckUnifySdk/ApiResourceCoverage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ public class ApiResourceCoverage: IApiResourceCoverage
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.3.1";
private const string _sdkGenVersion = "2.493.11";
private const string _openapiDocVersion = "10.9.1";
private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.493.11 10.9.1 ApideckUnifySdk";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.493.31";
private const string _openapiDocVersion = "10.10.0";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.493.31 10.10.0 ApideckUnifySdk";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<ApideckUnifySdk.Models.Components.Security>? _securitySource;
Expand Down Expand Up @@ -195,7 +195,11 @@ public async Task<ConnectorApiResourceCoverageOneResponse> GetAsync(string id, s

throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse);
}
else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600)
else if(responseStatusCode >= 400 && responseStatusCode < 500)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
else if(responseStatusCode >= 500 && responseStatusCode < 600)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
Expand Down
14 changes: 9 additions & 5 deletions src/ApideckUnifySdk/ApiResources.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ public class ApiResources: IApiResources
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.3.1";
private const string _sdkGenVersion = "2.493.11";
private const string _openapiDocVersion = "10.9.1";
private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.493.11 10.9.1 ApideckUnifySdk";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.493.31";
private const string _openapiDocVersion = "10.10.0";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.493.31 10.10.0 ApideckUnifySdk";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<ApideckUnifySdk.Models.Components.Security>? _securitySource;
Expand Down Expand Up @@ -195,7 +195,11 @@ public async Task<ConnectorApiResourcesOneResponse> GetAsync(string id, string r

throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse);
}
else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600)
else if(responseStatusCode >= 400 && responseStatusCode < 500)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
else if(responseStatusCode >= 500 && responseStatusCode < 600)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
Expand Down
8 changes: 4 additions & 4 deletions src/ApideckUnifySdk/Apideck.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ public class Apideck: IApideck
public SDKConfig SDKConfiguration { get; private set; }

private const string _language = "csharp";
private const string _sdkVersion = "0.3.1";
private const string _sdkGenVersion = "2.493.11";
private const string _openapiDocVersion = "10.9.1";
private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.493.11 10.9.1 ApideckUnifySdk";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.493.31";
private const string _openapiDocVersion = "10.10.0";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.493.31 10.10.0 ApideckUnifySdk";
private string _serverUrl = "";
private int _serverIndex = 0;
private ISpeakeasyHttpClient _client;
Expand Down
38 changes: 29 additions & 9 deletions src/ApideckUnifySdk/ApideckCompanies.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ public class ApideckCompanies: IApideckCompanies
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.3.1";
private const string _sdkGenVersion = "2.493.11";
private const string _openapiDocVersion = "10.9.1";
private const string _userAgent = "speakeasy-sdk/csharp 0.3.1 2.493.11 10.9.1 ApideckUnifySdk";
private const string _sdkVersion = "0.4.0";
private const string _sdkGenVersion = "2.493.31";
private const string _openapiDocVersion = "10.10.0";
private const string _userAgent = "speakeasy-sdk/csharp 0.4.0 2.493.31 10.10.0 ApideckUnifySdk";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<ApideckUnifySdk.Models.Components.Security>? _securitySource;
Expand Down Expand Up @@ -279,7 +279,11 @@ public async Task<HrisCompaniesAllResponse> ListAsync(HrisCompaniesAllRequest? r

throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse);
}
else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600)
else if(responseStatusCode >= 400 && responseStatusCode < 500)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
else if(responseStatusCode >= 500 && responseStatusCode < 600)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
Expand Down Expand Up @@ -470,7 +474,11 @@ public async Task<HrisCompaniesAddResponse> CreateAsync(HrisCompaniesAddRequest

throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse);
}
else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600)
else if(responseStatusCode >= 400 && responseStatusCode < 500)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
else if(responseStatusCode >= 500 && responseStatusCode < 600)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
Expand Down Expand Up @@ -654,7 +662,11 @@ public async Task<HrisCompaniesOneResponse> GetAsync(HrisCompaniesOneRequest req

throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse);
}
else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600)
else if(responseStatusCode >= 400 && responseStatusCode < 500)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
else if(responseStatusCode >= 500 && responseStatusCode < 600)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
Expand Down Expand Up @@ -844,7 +856,11 @@ public async Task<HrisCompaniesUpdateResponse> UpdateAsync(HrisCompaniesUpdateRe

throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse);
}
else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600)
else if(responseStatusCode >= 400 && responseStatusCode < 500)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
else if(responseStatusCode >= 500 && responseStatusCode < 600)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
Expand Down Expand Up @@ -1028,7 +1044,11 @@ public async Task<HrisCompaniesDeleteResponse> DeleteAsync(HrisCompaniesDeleteRe

throw new Models.Errors.APIException("Unknown content type received", httpRequest, httpResponse);
}
else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600)
else if(responseStatusCode >= 400 && responseStatusCode < 500)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
else if(responseStatusCode >= 500 && responseStatusCode < 600)
{
throw new Models.Errors.APIException("API error occurred", httpRequest, httpResponse);
}
Expand Down
Loading

0 comments on commit 2cac63d

Please sign in to comment.