Skip to content

Commit d23ebac

Browse files
authored
Merge pull request #18 from speakeasy-api/speakeasy-sdk-regen-1718237810
chore: 🐝 Update SDK - Generate
2 parents 1ab1e85 + ca8d5a5 commit d23ebac

26 files changed

+101
-66
lines changed

.speakeasy/gen.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
lockVersion: 2.0.0
22
id: f73d2126-985b-4d69-88ee-b7c69254d8bf
33
management:
4-
docChecksum: 9531c94b3e2fdcb61add911e4d5d1b28
4+
docChecksum: 48caee63217cf42b334122c89dc04004
55
docVersion: 0.4.0 .
6-
speakeasyVersion: 1.304.0
7-
generationVersion: 2.340.3
8-
releaseVersion: 5.9.9
9-
configChecksum: c3a21eed7d5f88114e00c79549591e45
6+
speakeasyVersion: 1.308.1
7+
generationVersion: 2.342.6
8+
releaseVersion: 5.9.10
9+
configChecksum: ac1bf5eae4bb768acfc687db28521067
1010
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-csharp.git
1111
repoSubDirectory: .
1212
published: true
1313
features:
1414
csharp:
1515
additionalDependencies: 0.1.0
16-
core: 3.9.5
16+
core: 3.9.6
1717
deprecations: 2.81.2
1818
examples: 2.81.3
1919
globalSecurity: 2.83.4

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
speakeasyVersion: 1.304.0
1+
speakeasyVersion: 1.308.1
22
sources:
33
speakeasy:
44
sourceNamespace: speakeasy
5-
sourceRevisionDigest: sha256:972dbd36558053d749566819439a27c22eedfb19a13b1e3451d1dd039aa6d790
6-
sourceBlobDigest: sha256:a7861bfc66e83de04eb03e0a81fb58931d2a4e52907e98a6082fc3b11dcf94d1
5+
sourceRevisionDigest: sha256:a8e224b03762364b409a2546840ee21386cc6be83629a947ca636037c1ab6b58
6+
sourceBlobDigest: sha256:78ea2d02cbd69531c53e43dd727b8213f6d1fa3894ea3e064a9fcaa2d6a4c90b
77
tags:
88
- latest
99
- main
1010
targets:
1111
speakeasy-client-sdk-csharp:
1212
source: speakeasy
1313
sourceNamespace: speakeasy
14-
sourceRevisionDigest: sha256:972dbd36558053d749566819439a27c22eedfb19a13b1e3451d1dd039aa6d790
15-
sourceBlobDigest: sha256:a7861bfc66e83de04eb03e0a81fb58931d2a4e52907e98a6082fc3b11dcf94d1
14+
sourceRevisionDigest: sha256:a8e224b03762364b409a2546840ee21386cc6be83629a947ca636037c1ab6b58
15+
sourceBlobDigest: sha256:78ea2d02cbd69531c53e43dd727b8213f6d1fa3894ea3e064a9fcaa2d6a4c90b
1616
outLocation: /github/workspace/repo
1717
workflow:
1818
workflowVersion: 1.0.0

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,4 +768,14 @@ Based on:
768768
### Generated
769769
- [csharp v5.9.9] .
770770
### Releases
771-
- [NuGet v5.9.9] https://www.nuget.org/packages/SpeakeasySDK/5.9.9 - .
771+
- [NuGet v5.9.9] https://www.nuget.org/packages/SpeakeasySDK/5.9.9 - .
772+
773+
## 2024-06-18 00:17:00
774+
### Changes
775+
Based on:
776+
- OpenAPI Doc
777+
- Speakeasy CLI 1.308.1 (2.342.6) https://github.com/speakeasy-api/speakeasy
778+
### Generated
779+
- [csharp v5.9.10] .
780+
### Releases
781+
- [NuGet v5.9.10] https://www.nuget.org/packages/SpeakeasySDK/5.9.10 - .

SpeakeasySDK/ApiEndpoints.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ public class ApiEndpoints: IApiEndpoints
9898
{
9999
public SDKConfig SDKConfiguration { get; private set; }
100100
private const string _language = "csharp";
101-
private const string _sdkVersion = "5.9.9";
102-
private const string _sdkGenVersion = "2.340.3";
101+
private const string _sdkVersion = "5.9.10";
102+
private const string _sdkGenVersion = "2.342.6";
103103
private const string _openapiDocVersion = "0.4.0 .";
104-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.9 2.340.3 0.4.0 . SpeakeasySDK";
104+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.10 2.342.6 0.4.0 . SpeakeasySDK";
105105
private string _serverUrl = "";
106106
private ISpeakeasyHttpClient _client;
107107
private Func<Security>? _securitySource;

SpeakeasySDK/Apis.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ public class Apis: IApis
9494
{
9595
public SDKConfig SDKConfiguration { get; private set; }
9696
private const string _language = "csharp";
97-
private const string _sdkVersion = "5.9.9";
98-
private const string _sdkGenVersion = "2.340.3";
97+
private const string _sdkVersion = "5.9.10";
98+
private const string _sdkGenVersion = "2.342.6";
9999
private const string _openapiDocVersion = "0.4.0 .";
100-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.9 2.340.3 0.4.0 . SpeakeasySDK";
100+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.10 2.342.6 0.4.0 . SpeakeasySDK";
101101
private string _serverUrl = "";
102102
private ISpeakeasyHttpClient _client;
103103
private Func<Security>? _securitySource;

SpeakeasySDK/Artifacts.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ public class Artifacts: IArtifacts
5757
{
5858
public SDKConfig SDKConfiguration { get; private set; }
5959
private const string _language = "csharp";
60-
private const string _sdkVersion = "5.9.9";
61-
private const string _sdkGenVersion = "2.340.3";
60+
private const string _sdkVersion = "5.9.10";
61+
private const string _sdkGenVersion = "2.342.6";
6262
private const string _openapiDocVersion = "0.4.0 .";
63-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.9 2.340.3 0.4.0 . SpeakeasySDK";
63+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.10 2.342.6 0.4.0 . SpeakeasySDK";
6464
private string _serverUrl = "";
6565
private ISpeakeasyHttpClient _client;
6666
private Func<Security>? _securitySource;

SpeakeasySDK/Auth.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ public class Auth: IAuth
6060
{
6161
public SDKConfig SDKConfiguration { get; private set; }
6262
private const string _language = "csharp";
63-
private const string _sdkVersion = "5.9.9";
64-
private const string _sdkGenVersion = "2.340.3";
63+
private const string _sdkVersion = "5.9.10";
64+
private const string _sdkGenVersion = "2.342.6";
6565
private const string _openapiDocVersion = "0.4.0 .";
66-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.9 2.340.3 0.4.0 . SpeakeasySDK";
66+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.10 2.342.6 0.4.0 . SpeakeasySDK";
6767
private string _serverUrl = "";
6868
private ISpeakeasyHttpClient _client;
6969
private Func<Security>? _securitySource;
@@ -291,7 +291,8 @@ public async Task<GetWorkspaceAccessResponse> GetWorkspaceAccessAsync(GetWorkspa
291291
retryConfig = new RetryConfig(
292292
strategy: RetryConfig.RetryStrategy.BACKOFF,
293293
backoff: backoff,
294-
retryConnectionErrors: true);
294+
retryConnectionErrors: true
295+
);
295296
}
296297
}
297298

SpeakeasySDK/Embeds.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ public class Embeds: IEmbeds
5656
{
5757
public SDKConfig SDKConfiguration { get; private set; }
5858
private const string _language = "csharp";
59-
private const string _sdkVersion = "5.9.9";
60-
private const string _sdkGenVersion = "2.340.3";
59+
private const string _sdkVersion = "5.9.10";
60+
private const string _sdkGenVersion = "2.342.6";
6161
private const string _openapiDocVersion = "0.4.0 .";
62-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.9 2.340.3 0.4.0 . SpeakeasySDK";
62+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.10 2.342.6 0.4.0 . SpeakeasySDK";
6363
private string _serverUrl = "";
6464
private ISpeakeasyHttpClient _client;
6565
private Func<Security>? _securitySource;

SpeakeasySDK/Events.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ public class Events: IEvents
6060
{
6161
public SDKConfig SDKConfiguration { get; private set; }
6262
private const string _language = "csharp";
63-
private const string _sdkVersion = "5.9.9";
64-
private const string _sdkGenVersion = "2.340.3";
63+
private const string _sdkVersion = "5.9.10";
64+
private const string _sdkGenVersion = "2.342.6";
6565
private const string _openapiDocVersion = "0.4.0 .";
66-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.9 2.340.3 0.4.0 . SpeakeasySDK";
66+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.10 2.342.6 0.4.0 . SpeakeasySDK";
6767
private string _serverUrl = "";
6868
private ISpeakeasyHttpClient _client;
6969
private Func<Security>? _securitySource;
@@ -313,7 +313,8 @@ public async Task<PostWorkspaceEventsResponse> PostWorkspaceEventsAsync(PostWork
313313
retryConfig = new RetryConfig(
314314
strategy: RetryConfig.RetryStrategy.BACKOFF,
315315
backoff: backoff,
316-
retryConnectionErrors: true);
316+
retryConnectionErrors: true
317+
);
317318
}
318319
}
319320

SpeakeasySDK/Github.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ public class Github: IGithub
3333
{
3434
public SDKConfig SDKConfiguration { get; private set; }
3535
private const string _language = "csharp";
36-
private const string _sdkVersion = "5.9.9";
37-
private const string _sdkGenVersion = "2.340.3";
36+
private const string _sdkVersion = "5.9.10";
37+
private const string _sdkGenVersion = "2.342.6";
3838
private const string _openapiDocVersion = "0.4.0 .";
39-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.9 2.340.3 0.4.0 . SpeakeasySDK";
39+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.10 2.342.6 0.4.0 . SpeakeasySDK";
4040
private string _serverUrl = "";
4141
private ISpeakeasyHttpClient _client;
4242
private Func<Security>? _securitySource;

SpeakeasySDK/Metadata.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ public class Metadata: IMetadata
5151
{
5252
public SDKConfig SDKConfiguration { get; private set; }
5353
private const string _language = "csharp";
54-
private const string _sdkVersion = "5.9.9";
55-
private const string _sdkGenVersion = "2.340.3";
54+
private const string _sdkVersion = "5.9.10";
55+
private const string _sdkGenVersion = "2.342.6";
5656
private const string _openapiDocVersion = "0.4.0 .";
57-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.9 2.340.3 0.4.0 . SpeakeasySDK";
57+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.10 2.342.6 0.4.0 . SpeakeasySDK";
5858
private string _serverUrl = "";
5959
private ISpeakeasyHttpClient _client;
6060
private Func<Security>? _securitySource;

SpeakeasySDK/Models/Operations/SearchWorkspaceEventsRequest.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,24 @@
99
#nullable enable
1010
namespace SpeakeasySDK.Models.Operations
1111
{
12+
using SpeakeasySDK.Models.Shared;
1213
using SpeakeasySDK.Utils;
1314

1415
public class SearchWorkspaceEventsRequest
1516
{
1617

18+
/// <summary>
19+
/// A specific gen lock ID for the events.
20+
/// </summary>
21+
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=generate_gen_lock_id")]
22+
public string? GenerateGenLockId { get; set; }
23+
24+
/// <summary>
25+
/// Specified interaction type for events.
26+
/// </summary>
27+
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=interaction_type")]
28+
public InteractionType? InteractionType { get; set; }
29+
1730
/// <summary>
1831
/// Unique identifier of the lint report digest.
1932
/// </summary>

SpeakeasySDK/Models/Shared/ApiKeyDetails.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ public class ApiKeyDetails
3434
[JsonProperty("org_slug")]
3535
public string OrgSlug { get; set; } = default!;
3636

37+
[JsonProperty("telemetry_disabled")]
38+
public bool TelemetryDisabled { get; set; } = default!;
39+
3740
[JsonProperty("workspace_id")]
3841
public string WorkspaceId { get; set; } = default!;
3942

SpeakeasySDK/Models/Shared/Organization.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ public class Organization
3535
[JsonProperty("slug")]
3636
public string? Slug { get; set; }
3737

38+
[JsonProperty("telemetry_disabled")]
39+
public bool TelemetryDisabled { get; set; } = default!;
40+
3841
[JsonProperty("updated_at")]
3942
public DateTime? UpdatedAt { get; set; }
4043
}

SpeakeasySDK/Organizations.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ public class Organizations: IOrganizations
5656
{
5757
public SDKConfig SDKConfiguration { get; private set; }
5858
private const string _language = "csharp";
59-
private const string _sdkVersion = "5.9.9";
60-
private const string _sdkGenVersion = "2.340.3";
59+
private const string _sdkVersion = "5.9.10";
60+
private const string _sdkGenVersion = "2.342.6";
6161
private const string _openapiDocVersion = "0.4.0 .";
62-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.9 2.340.3 0.4.0 . SpeakeasySDK";
62+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.10 2.342.6 0.4.0 . SpeakeasySDK";
6363
private string _serverUrl = "";
6464
private ISpeakeasyHttpClient _client;
6565
private Func<Security>? _securitySource;

SpeakeasySDK/Reports.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ public class Reports: IReports
5151
{
5252
public SDKConfig SDKConfiguration { get; private set; }
5353
private const string _language = "csharp";
54-
private const string _sdkVersion = "5.9.9";
55-
private const string _sdkGenVersion = "2.340.3";
54+
private const string _sdkVersion = "5.9.10";
55+
private const string _sdkGenVersion = "2.342.6";
5656
private const string _openapiDocVersion = "0.4.0 .";
57-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.9 2.340.3 0.4.0 . SpeakeasySDK";
57+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.10 2.342.6 0.4.0 . SpeakeasySDK";
5858
private string _serverUrl = "";
5959
private ISpeakeasyHttpClient _client;
6060
private Func<Security>? _securitySource;

SpeakeasySDK/Requests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ public class Requests: IRequests
6161
{
6262
public SDKConfig SDKConfiguration { get; private set; }
6363
private const string _language = "csharp";
64-
private const string _sdkVersion = "5.9.9";
65-
private const string _sdkGenVersion = "2.340.3";
64+
private const string _sdkVersion = "5.9.10";
65+
private const string _sdkGenVersion = "2.342.6";
6666
private const string _openapiDocVersion = "0.4.0 .";
67-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.9 2.340.3 0.4.0 . SpeakeasySDK";
67+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.10 2.342.6 0.4.0 . SpeakeasySDK";
6868
private string _serverUrl = "";
6969
private ISpeakeasyHttpClient _client;
7070
private Func<Security>? _securitySource;

SpeakeasySDK/SDK.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,10 @@ public class SDK: ISDK
147147
public SDKConfig SDKConfiguration { get; private set; }
148148

149149
private const string _language = "csharp";
150-
private const string _sdkVersion = "5.9.9";
151-
private const string _sdkGenVersion = "2.340.3";
150+
private const string _sdkVersion = "5.9.10";
151+
private const string _sdkGenVersion = "2.342.6";
152152
private const string _openapiDocVersion = "0.4.0 .";
153-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.9 2.340.3 0.4.0 . SpeakeasySDK";
153+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.10 2.342.6 0.4.0 . SpeakeasySDK";
154154
private string _serverUrl = "";
155155
private SDKConfig.Server? _server = null;
156156
private ISpeakeasyHttpClient _client;

SpeakeasySDK/Schemas.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ public class Schemas: ISchemas
9696
{
9797
public SDKConfig SDKConfiguration { get; private set; }
9898
private const string _language = "csharp";
99-
private const string _sdkVersion = "5.9.9";
100-
private const string _sdkGenVersion = "2.340.3";
99+
private const string _sdkVersion = "5.9.10";
100+
private const string _sdkGenVersion = "2.342.6";
101101
private const string _openapiDocVersion = "0.4.0 .";
102-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.9 2.340.3 0.4.0 . SpeakeasySDK";
102+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.10 2.342.6 0.4.0 . SpeakeasySDK";
103103
private string _serverUrl = "";
104104
private ISpeakeasyHttpClient _client;
105105
private Func<Security>? _securitySource;

SpeakeasySDK/SpeakeasySDK.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<IsPackable>true</IsPackable>
44
<PackageId>SpeakeasySDK</PackageId>
5-
<Version>5.9.9</Version>
5+
<Version>5.9.10</Version>
66
<Authors>Speakeasy</Authors>
77
<TargetFramework>net8.0</TargetFramework>
88
<Nullable>enable</Nullable>
@@ -13,7 +13,7 @@
1313
</PropertyGroup>
1414

1515
<ItemGroup>
16-
<None Include="..\NUGET_README.md" Pack="true" PackagePath="README.md"/>
16+
<None Include="..\README.md" Pack="true" PackagePath="\"/>
1717
<None Include="..\docs\**\*" Pack="true" PackagePath="\docs" CopyToOutputDirectory="PreserveNewest"/>
1818

1919
<PackageReference Include="newtonsoft.json" Version="13.0.3" />

SpeakeasySDK/Suggest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ public class Suggest: ISuggest
4545
{
4646
public SDKConfig SDKConfiguration { get; private set; }
4747
private const string _language = "csharp";
48-
private const string _sdkVersion = "5.9.9";
49-
private const string _sdkGenVersion = "2.340.3";
48+
private const string _sdkVersion = "5.9.10";
49+
private const string _sdkGenVersion = "2.342.6";
5050
private const string _openapiDocVersion = "0.4.0 .";
51-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.9 2.340.3 0.4.0 . SpeakeasySDK";
51+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.10 2.342.6 0.4.0 . SpeakeasySDK";
5252
private string _serverUrl = "";
5353
private ISpeakeasyHttpClient _client;
5454
private Func<Security>? _securitySource;

SpeakeasySDK/Utils/SpeakeasyHttpClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public interface ISpeakeasyHttpClient
3535
Task<HttpRequestMessage> CloneAsync(HttpRequestMessage request);
3636
}
3737

38-
internal class SpeakeasyHttpClient : ISpeakeasyHttpClient
38+
public class SpeakeasyHttpClient : ISpeakeasyHttpClient
3939
{
4040
protected readonly HttpClient httpClient;
4141

0 commit comments

Comments
 (0)