Skip to content

Commit 82622f5

Browse files
committed
ci: regenerated with OpenAPI Doc 0.4.0, Speakeasy CLI 1.260.6
1 parent 67ef29e commit 82622f5

22 files changed

+252
-44
lines changed

.speakeasy/gen.lock

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: f73d2126-985b-4d69-88ee-b7c69254d8bf
33
management:
4-
docChecksum: 2b280a7f12ab57c144a654766cc34af2
4+
docChecksum: 95815a9501527c69c4aab613380685a5
55
docVersion: 0.4.0
6-
speakeasyVersion: 1.257.1
7-
generationVersion: 2.308.2
8-
releaseVersion: 5.4.3
9-
configChecksum: b7f280ce0cb3739a15dbb4151e70dc7d
6+
speakeasyVersion: 1.260.6
7+
generationVersion: 2.311.1
8+
releaseVersion: 5.4.4
9+
configChecksum: 4a374149f9c34c8981c518324bd89667
1010
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-csharp.git
1111
repoSubDirectory: .
1212
published: true
@@ -194,6 +194,7 @@ generatedFiles:
194194
- SpeakeasySDK/Models/Shared/EmbedAccessTokenResponse.cs
195195
- SpeakeasySDK/Models/Shared/EmbedToken.cs
196196
- SpeakeasySDK/Models/Shared/GenerateBumpType.cs
197+
- SpeakeasySDK/Models/Shared/OpenapiDiffBumpType.cs
197198
- SpeakeasySDK/Models/Shared/CliEvent.cs
198199
- SpeakeasySDK/Models/Shared/InteractionType.cs
199200
- SpeakeasySDK/Models/Shared/TargetSDK.cs
@@ -341,6 +342,7 @@ generatedFiles:
341342
- docs/Models/Shared/EmbedAccessTokenResponse.md
342343
- docs/Models/Shared/EmbedToken.md
343344
- docs/Models/Shared/GenerateBumpType.md
345+
- docs/Models/Shared/OpenapiDiffBumpType.md
344346
- docs/Models/Shared/CliEvent.md
345347
- docs/Models/Shared/InteractionType.md
346348
- docs/Models/Shared/TargetSDK.md

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,4 +548,14 @@ Based on:
548548
### Generated
549549
- [csharp v5.4.3] .
550550
### Releases
551-
- [NuGet v5.4.3] https://www.nuget.org/packages/SpeakeasySDK/5.4.3 - .
551+
- [NuGet v5.4.3] https://www.nuget.org/packages/SpeakeasySDK/5.4.3 - .
552+
553+
## 2024-04-19 00:03:17
554+
### Changes
555+
Based on:
556+
- OpenAPI Doc 0.4.0 https://docs.speakeasyapi.dev/openapi.yaml
557+
- Speakeasy CLI 1.260.6 (2.311.1) https://github.com/speakeasy-api/speakeasy
558+
### Generated
559+
- [csharp v5.4.4] .
560+
### Releases
561+
- [NuGet v5.4.4] https://www.nuget.org/packages/SpeakeasySDK/5.4.4 - .

SpeakeasySDK/ApiEndpoints.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ public class ApiEndpoints: IApiEndpoints
9797
{
9898
public SDKConfig SDKConfiguration { get; private set; }
9999
private const string _language = "csharp";
100-
private const string _sdkVersion = "5.4.3";
101-
private const string _sdkGenVersion = "2.308.2";
100+
private const string _sdkVersion = "5.4.4";
101+
private const string _sdkGenVersion = "2.311.1";
102102
private const string _openapiDocVersion = "0.4.0";
103-
private const string _userAgent = "speakeasy-sdk/csharp 5.4.3 2.308.2 0.4.0 SpeakeasySDK";
103+
private const string _userAgent = "speakeasy-sdk/csharp 5.4.4 2.311.1 0.4.0 SpeakeasySDK";
104104
private string _serverUrl = "";
105105
private ISpeakeasyHttpClient _defaultClient;
106106
private Func<Security>? _securitySource;

SpeakeasySDK/Apis.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ public class Apis: IApis
9393
{
9494
public SDKConfig SDKConfiguration { get; private set; }
9595
private const string _language = "csharp";
96-
private const string _sdkVersion = "5.4.3";
97-
private const string _sdkGenVersion = "2.308.2";
96+
private const string _sdkVersion = "5.4.4";
97+
private const string _sdkGenVersion = "2.311.1";
9898
private const string _openapiDocVersion = "0.4.0";
99-
private const string _userAgent = "speakeasy-sdk/csharp 5.4.3 2.308.2 0.4.0 SpeakeasySDK";
99+
private const string _userAgent = "speakeasy-sdk/csharp 5.4.4 2.311.1 0.4.0 SpeakeasySDK";
100100
private string _serverUrl = "";
101101
private ISpeakeasyHttpClient _defaultClient;
102102
private Func<Security>? _securitySource;

SpeakeasySDK/Artifacts.cs

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

SpeakeasySDK/Auth.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ public class Auth: IAuth
5959
{
6060
public SDKConfig SDKConfiguration { get; private set; }
6161
private const string _language = "csharp";
62-
private const string _sdkVersion = "5.4.3";
63-
private const string _sdkGenVersion = "2.308.2";
62+
private const string _sdkVersion = "5.4.4";
63+
private const string _sdkGenVersion = "2.311.1";
6464
private const string _openapiDocVersion = "0.4.0";
65-
private const string _userAgent = "speakeasy-sdk/csharp 5.4.3 2.308.2 0.4.0 SpeakeasySDK";
65+
private const string _userAgent = "speakeasy-sdk/csharp 5.4.4 2.311.1 0.4.0 SpeakeasySDK";
6666
private string _serverUrl = "";
6767
private ISpeakeasyHttpClient _defaultClient;
6868
private Func<Security>? _securitySource;

SpeakeasySDK/Embeds.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ public class Embeds: IEmbeds
5555
{
5656
public SDKConfig SDKConfiguration { get; private set; }
5757
private const string _language = "csharp";
58-
private const string _sdkVersion = "5.4.3";
59-
private const string _sdkGenVersion = "2.308.2";
58+
private const string _sdkVersion = "5.4.4";
59+
private const string _sdkGenVersion = "2.311.1";
6060
private const string _openapiDocVersion = "0.4.0";
61-
private const string _userAgent = "speakeasy-sdk/csharp 5.4.3 2.308.2 0.4.0 SpeakeasySDK";
61+
private const string _userAgent = "speakeasy-sdk/csharp 5.4.4 2.311.1 0.4.0 SpeakeasySDK";
6262
private string _serverUrl = "";
6363
private ISpeakeasyHttpClient _defaultClient;
6464
private Func<Security>? _securitySource;

SpeakeasySDK/Events.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ public class Events: IEvents
5454
{
5555
public SDKConfig SDKConfiguration { get; private set; }
5656
private const string _language = "csharp";
57-
private const string _sdkVersion = "5.4.3";
58-
private const string _sdkGenVersion = "2.308.2";
57+
private const string _sdkVersion = "5.4.4";
58+
private const string _sdkGenVersion = "2.311.1";
5959
private const string _openapiDocVersion = "0.4.0";
60-
private const string _userAgent = "speakeasy-sdk/csharp 5.4.3 2.308.2 0.4.0 SpeakeasySDK";
60+
private const string _userAgent = "speakeasy-sdk/csharp 5.4.4 2.311.1 0.4.0 SpeakeasySDK";
6161
private string _serverUrl = "";
6262
private ISpeakeasyHttpClient _defaultClient;
6363
private Func<Security>? _securitySource;

SpeakeasySDK/Metadata.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ public class Metadata: IMetadata
5050
{
5151
public SDKConfig SDKConfiguration { get; private set; }
5252
private const string _language = "csharp";
53-
private const string _sdkVersion = "5.4.3";
54-
private const string _sdkGenVersion = "2.308.2";
53+
private const string _sdkVersion = "5.4.4";
54+
private const string _sdkGenVersion = "2.311.1";
5555
private const string _openapiDocVersion = "0.4.0";
56-
private const string _userAgent = "speakeasy-sdk/csharp 5.4.3 2.308.2 0.4.0 SpeakeasySDK";
56+
private const string _userAgent = "speakeasy-sdk/csharp 5.4.4 2.311.1 0.4.0 SpeakeasySDK";
5757
private string _serverUrl = "";
5858
private ISpeakeasyHttpClient _defaultClient;
5959
private Func<Security>? _securitySource;

SpeakeasySDK/Models/Shared/CliEvent.cs

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ public class CliEvent
102102
[JsonProperty("generate_gen_lock_post_features")]
103103
public string? GenerateGenLockPostFeatures { get; set; }
104104

105+
/// <summary>
106+
/// Blob digest of the Previous Generation
107+
/// </summary>
108+
[JsonProperty("generate_gen_lock_pre_blob_digest")]
109+
public string? GenerateGenLockPreBlobDigest { get; set; }
110+
105111
/// <summary>
106112
/// Checksum of the Previous Rendered OpenAPI document (prior to generation, via gen lock)
107113
/// </summary>
@@ -120,6 +126,18 @@ public class CliEvent
120126
[JsonProperty("generate_gen_lock_pre_features")]
121127
public string? GenerateGenLockPreFeatures { get; set; }
122128

129+
/// <summary>
130+
/// Namespace name of the Previous Generation
131+
/// </summary>
132+
[JsonProperty("generate_gen_lock_pre_namespace_name")]
133+
public string? GenerateGenLockPreNamespaceName { get; set; }
134+
135+
/// <summary>
136+
/// Revision digest of the Previous Generation
137+
/// </summary>
138+
[JsonProperty("generate_gen_lock_pre_revision_digest")]
139+
public string? GenerateGenLockPreRevisionDigest { get; set; }
140+
123141
/// <summary>
124142
/// Artifact version for the Previous Generation
125143
/// </summary>
@@ -234,6 +252,30 @@ public class CliEvent
234252
[JsonProperty("interaction_type")]
235253
public InteractionType InteractionType { get; set; } = default!;
236254

255+
/// <summary>
256+
/// The checksum of the lint report.
257+
/// </summary>
258+
[JsonProperty("lint_report_digest")]
259+
public string? LintReportDigest { get; set; }
260+
261+
/// <summary>
262+
/// The number of errors in the lint report.
263+
/// </summary>
264+
[JsonProperty("lint_report_error_count")]
265+
public long? LintReportErrorCount { get; set; }
266+
267+
/// <summary>
268+
/// The number of info messages in the lint report.
269+
/// </summary>
270+
[JsonProperty("lint_report_info_count")]
271+
public long? LintReportInfoCount { get; set; }
272+
273+
/// <summary>
274+
/// The number of warnings in the lint report.
275+
/// </summary>
276+
[JsonProperty("lint_report_warning_count")]
277+
public long? LintReportWarningCount { get; set; }
278+
237279
/// <summary>
238280
/// Timestamp when the event completed, in local time.
239281
/// </summary>
@@ -258,6 +300,42 @@ public class CliEvent
258300
[JsonProperty("management_doc_version")]
259301
public string? ManagementDocVersion { get; set; }
260302

303+
/// <summary>
304+
/// The blob digest of the base source.
305+
/// </summary>
306+
[JsonProperty("openapi_diff_base_source_blob_digest")]
307+
public string? OpenapiDiffBaseSourceBlobDigest { get; set; }
308+
309+
/// <summary>
310+
/// The namespace name of the base source.
311+
/// </summary>
312+
[JsonProperty("openapi_diff_base_source_namespace_name")]
313+
public string? OpenapiDiffBaseSourceNamespaceName { get; set; }
314+
315+
/// <summary>
316+
/// The revision digest of the base source.
317+
/// </summary>
318+
[JsonProperty("openapi_diff_base_source_revision_digest")]
319+
public string? OpenapiDiffBaseSourceRevisionDigest { get; set; }
320+
321+
/// <summary>
322+
/// The number of breaking changes in the openapi diff report.
323+
/// </summary>
324+
[JsonProperty("openapi_diff_breaking_changes_count")]
325+
public long? OpenapiDiffBreakingChangesCount { get; set; }
326+
327+
/// <summary>
328+
/// Bump type of the lock file (calculated semver delta, or a custom change (manual release))
329+
/// </summary>
330+
[JsonProperty("openapi_diff_bump_type")]
331+
public OpenapiDiffBumpType? OpenapiDiffBumpType { get; set; }
332+
333+
/// <summary>
334+
/// The checksum of the openapi diff report.
335+
/// </summary>
336+
[JsonProperty("openapi_diff_report_digest")]
337+
public string? OpenapiDiffReportDigest { get; set; }
338+
261339
/// <summary>
262340
/// Name of the published package.
263341
/// </summary>
@@ -294,6 +372,24 @@ public class CliEvent
294372
[JsonProperty("repo_label")]
295373
public string? RepoLabel { get; set; }
296374

375+
/// <summary>
376+
/// The blob digest of the source.
377+
/// </summary>
378+
[JsonProperty("source_blob_digest")]
379+
public string? SourceBlobDigest { get; set; }
380+
381+
/// <summary>
382+
/// The namespace name of the source.
383+
/// </summary>
384+
[JsonProperty("source_namespace_name")]
385+
public string? SourceNamespaceName { get; set; }
386+
387+
/// <summary>
388+
/// The revision digest of the source.
389+
/// </summary>
390+
[JsonProperty("source_revision_digest")]
391+
public string? SourceRevisionDigest { get; set; }
392+
297393
/// <summary>
298394
/// Identifier of the Speakeasy API key.
299395
/// </summary>

SpeakeasySDK/Models/Shared/InteractionType.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ public enum InteractionType
2323
CiExec,
2424
[JsonProperty("CLI_EXEC")]
2525
CliExec,
26+
[JsonProperty("LINT")]
27+
Lint,
28+
[JsonProperty("OPENAPI_DIFF")]
29+
OpenapiDiff,
2630
[JsonProperty("TARGET_GENERATE")]
2731
TargetGenerate,
2832
[JsonProperty("TOMBSTONE")]
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
2+
//------------------------------------------------------------------------------
3+
// <auto-generated>
4+
// This code was generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
5+
//
6+
// Changes to this file may cause incorrect behavior and will be lost when
7+
// the code is regenerated.
8+
// </auto-generated>
9+
//------------------------------------------------------------------------------
10+
#nullable enable
11+
namespace SpeakeasySDK.Models.Shared
12+
{
13+
using Newtonsoft.Json;
14+
using SpeakeasySDK.Utils;
15+
using System;
16+
17+
/// <summary>
18+
/// Bump type of the lock file (calculated semver delta, or a custom change (manual release))
19+
/// </summary>
20+
public enum OpenapiDiffBumpType
21+
{
22+
[JsonProperty("major")]
23+
Major,
24+
[JsonProperty("minor")]
25+
Minor,
26+
[JsonProperty("patch")]
27+
Patch,
28+
[JsonProperty("none")]
29+
None,
30+
}
31+
32+
public static class OpenapiDiffBumpTypeExtension
33+
{
34+
public static string Value(this OpenapiDiffBumpType value)
35+
{
36+
return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString())[0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString();
37+
}
38+
39+
public static OpenapiDiffBumpType ToEnum(this string value)
40+
{
41+
foreach(var field in typeof(OpenapiDiffBumpType).GetFields())
42+
{
43+
var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false);
44+
if (attributes.Length == 0)
45+
{
46+
continue;
47+
}
48+
49+
var attribute = attributes[0] as JsonPropertyAttribute;
50+
if (attribute != null && attribute.PropertyName == value)
51+
{
52+
var enumVal = field.GetValue(null);
53+
54+
if (enumVal is OpenapiDiffBumpType)
55+
{
56+
return (OpenapiDiffBumpType)enumVal;
57+
}
58+
}
59+
}
60+
61+
throw new Exception($"Unknown value {value} for enum OpenapiDiffBumpType");
62+
}
63+
}
64+
65+
}

SpeakeasySDK/Organizations.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ public class Organizations: IOrganizations
3737
{
3838
public SDKConfig SDKConfiguration { get; private set; }
3939
private const string _language = "csharp";
40-
private const string _sdkVersion = "5.4.3";
41-
private const string _sdkGenVersion = "2.308.2";
40+
private const string _sdkVersion = "5.4.4";
41+
private const string _sdkGenVersion = "2.311.1";
4242
private const string _openapiDocVersion = "0.4.0";
43-
private const string _userAgent = "speakeasy-sdk/csharp 5.4.3 2.308.2 0.4.0 SpeakeasySDK";
43+
private const string _userAgent = "speakeasy-sdk/csharp 5.4.4 2.311.1 0.4.0 SpeakeasySDK";
4444
private string _serverUrl = "";
4545
private ISpeakeasyHttpClient _defaultClient;
4646
private Func<Security>? _securitySource;

SpeakeasySDK/Reports.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ public class Reports: IReports
5050
{
5151
public SDKConfig SDKConfiguration { get; private set; }
5252
private const string _language = "csharp";
53-
private const string _sdkVersion = "5.4.3";
54-
private const string _sdkGenVersion = "2.308.2";
53+
private const string _sdkVersion = "5.4.4";
54+
private const string _sdkGenVersion = "2.311.1";
5555
private const string _openapiDocVersion = "0.4.0";
56-
private const string _userAgent = "speakeasy-sdk/csharp 5.4.3 2.308.2 0.4.0 SpeakeasySDK";
56+
private const string _userAgent = "speakeasy-sdk/csharp 5.4.4 2.311.1 0.4.0 SpeakeasySDK";
5757
private string _serverUrl = "";
5858
private ISpeakeasyHttpClient _defaultClient;
5959
private Func<Security>? _securitySource;

0 commit comments

Comments
 (0)