Skip to content

Commit 629b1ad

Browse files
committed
ci: regenerated with OpenAPI Doc 0.4.0 ., Speakeasy CLI 1.291.0
1 parent 133e860 commit 629b1ad

25 files changed

+120
-56
lines changed

.speakeasy/gen.lock

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
11
lockVersion: 2.0.0
22
id: f73d2126-985b-4d69-88ee-b7c69254d8bf
33
management:
4-
docChecksum: 7a88ff5ef4ad3289ab4aec22a110bb64
4+
docChecksum: f3ee86ef6f2ca4b47599522e63754f76
55
docVersion: 0.4.0 .
6-
speakeasyVersion: 1.286.3
7-
generationVersion: 2.329.0
8-
releaseVersion: 5.7.0
9-
configChecksum: bd52dabb4b58e835612aec162b721b7c
6+
speakeasyVersion: 1.291.0
7+
generationVersion: 2.332.4
8+
releaseVersion: 5.8.0
9+
configChecksum: 9191c6c0cc9b8187ddbdfd4881e82b76
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
1616
core: 3.8.3
17+
deprecations: 2.81.2
1718
examples: 2.81.3
1819
globalSecurity: 2.83.4
1920
globalSecurityCallbacks: 0.1.0
2021
globalServerURLs: 2.82.3
2122
globals: 2.82.1
2223
inputOutputModels: 2.83.0
2324
intellisenseMarkdownSupport: 0.1.0
25+
nullables: 0.1.0
2426
responseFormat: 0.0.3
2527
retries: 0.0.1
2628
sdkHooks: 0.1.0
@@ -189,6 +191,7 @@ generatedFiles:
189191
- SpeakeasySDK/Models/Shared/AccessTokenAccountType.cs
190192
- SpeakeasySDK/Models/Shared/Workspaces.cs
191193
- SpeakeasySDK/Models/Shared/AccessToken.cs
194+
- SpeakeasySDK/Models/Shared/FeatureFlag.cs
192195
- SpeakeasySDK/Models/Shared/User.cs
193196
- SpeakeasySDK/Models/Shared/Level.cs
194197
- SpeakeasySDK/Models/Shared/AccessDetails.cs
@@ -341,6 +344,7 @@ generatedFiles:
341344
- docs/Models/Shared/AccessTokenAccountType.md
342345
- docs/Models/Shared/Workspaces.md
343346
- docs/Models/Shared/AccessToken.md
347+
- docs/Models/Shared/FeatureFlag.md
344348
- docs/Models/Shared/User.md
345349
- docs/Models/Shared/Level.md
346350
- docs/Models/Shared/AccessDetails.md

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,4 +628,14 @@ Based on:
628628
### Generated
629629
- [csharp v5.7.0] .
630630
### Releases
631-
- [NuGet v5.7.0] https://www.nuget.org/packages/SpeakeasySDK/5.7.0 - .
631+
- [NuGet v5.7.0] https://www.nuget.org/packages/SpeakeasySDK/5.7.0 - .
632+
633+
## 2024-05-16 00:03:32
634+
### Changes
635+
Based on:
636+
- OpenAPI Doc 0.4.0 . https://docs.speakeasyapi.dev/openapi.yaml
637+
- Speakeasy CLI 1.291.0 (2.332.4) https://github.com/speakeasy-api/speakeasy
638+
### Generated
639+
- [csharp v5.8.0] .
640+
### Releases
641+
- [NuGet v5.8.0] https://www.nuget.org/packages/SpeakeasySDK/5.8.0 - .

SpeakeasySDK/ApiEndpoints.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ public class ApiEndpoints: IApiEndpoints
9999
{
100100
public SDKConfig SDKConfiguration { get; private set; }
101101
private const string _language = "csharp";
102-
private const string _sdkVersion = "5.7.0";
103-
private const string _sdkGenVersion = "2.329.0";
102+
private const string _sdkVersion = "5.8.0";
103+
private const string _sdkGenVersion = "2.332.4";
104104
private const string _openapiDocVersion = "0.4.0 .";
105-
private const string _userAgent = "speakeasy-sdk/csharp 5.7.0 2.329.0 0.4.0 . SpeakeasySDK";
105+
private const string _userAgent = "speakeasy-sdk/csharp 5.8.0 2.332.4 0.4.0 . SpeakeasySDK";
106106
private string _serverUrl = "";
107107
private ISpeakeasyHttpClient _defaultClient;
108108
private Func<Security>? _securitySource;

SpeakeasySDK/Apis.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ public class Apis: IApis
9595
{
9696
public SDKConfig SDKConfiguration { get; private set; }
9797
private const string _language = "csharp";
98-
private const string _sdkVersion = "5.7.0";
99-
private const string _sdkGenVersion = "2.329.0";
98+
private const string _sdkVersion = "5.8.0";
99+
private const string _sdkGenVersion = "2.332.4";
100100
private const string _openapiDocVersion = "0.4.0 .";
101-
private const string _userAgent = "speakeasy-sdk/csharp 5.7.0 2.329.0 0.4.0 . SpeakeasySDK";
101+
private const string _userAgent = "speakeasy-sdk/csharp 5.8.0 2.332.4 0.4.0 . SpeakeasySDK";
102102
private string _serverUrl = "";
103103
private ISpeakeasyHttpClient _defaultClient;
104104
private Func<Security>? _securitySource;

SpeakeasySDK/Artifacts.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ public class Artifacts: IArtifacts
5858
{
5959
public SDKConfig SDKConfiguration { get; private set; }
6060
private const string _language = "csharp";
61-
private const string _sdkVersion = "5.7.0";
62-
private const string _sdkGenVersion = "2.329.0";
61+
private const string _sdkVersion = "5.8.0";
62+
private const string _sdkGenVersion = "2.332.4";
6363
private const string _openapiDocVersion = "0.4.0 .";
64-
private const string _userAgent = "speakeasy-sdk/csharp 5.7.0 2.329.0 0.4.0 . SpeakeasySDK";
64+
private const string _userAgent = "speakeasy-sdk/csharp 5.8.0 2.332.4 0.4.0 . SpeakeasySDK";
6565
private string _serverUrl = "";
6666
private ISpeakeasyHttpClient _defaultClient;
6767
private Func<Security>? _securitySource;

SpeakeasySDK/Auth.cs

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

SpeakeasySDK/Embeds.cs

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

SpeakeasySDK/Events.cs

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

SpeakeasySDK/Metadata.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ public class Metadata: IMetadata
5252
{
5353
public SDKConfig SDKConfiguration { get; private set; }
5454
private const string _language = "csharp";
55-
private const string _sdkVersion = "5.7.0";
56-
private const string _sdkGenVersion = "2.329.0";
55+
private const string _sdkVersion = "5.8.0";
56+
private const string _sdkGenVersion = "2.332.4";
5757
private const string _openapiDocVersion = "0.4.0 .";
58-
private const string _userAgent = "speakeasy-sdk/csharp 5.7.0 2.329.0 0.4.0 . SpeakeasySDK";
58+
private const string _userAgent = "speakeasy-sdk/csharp 5.8.0 2.332.4 0.4.0 . SpeakeasySDK";
5959
private string _serverUrl = "";
6060
private ISpeakeasyHttpClient _defaultClient;
6161
private Func<Security>? _securitySource;

SpeakeasySDK/Models/Shared/AccessToken.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ public class AccessToken
2727
[JsonProperty("claims")]
2828
public Claims Claims { get; set; } = default!;
2929

30+
[JsonProperty("feature_flags")]
31+
public List<FeatureFlag>? FeatureFlags { get; set; }
32+
3033
[JsonProperty("user")]
3134
public AccessTokenUser User { get; set; } = default!;
3235

SpeakeasySDK/Models/Shared/ApiKeyDetails.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace SpeakeasySDK.Models.Shared
1414
using SpeakeasySDK.Models.Shared;
1515
using SpeakeasySDK.Utils;
1616
using System.Collections.Generic;
17+
using System;
1718

1819
public class ApiKeyDetails
1920
{
@@ -22,7 +23,11 @@ public class ApiKeyDetails
2223
public AccountType AccountType { get; set; } = default!;
2324

2425
[JsonProperty("enabled_features")]
25-
public List<string> EnabledFeatures { get; set; } = default!;
26+
public List<FeatureFlag> EnabledFeatures { get; set; } = default!;
27+
28+
[Obsolete("This field will be removed in a future release, please migrate away from it as soon as possible")]
29+
[JsonProperty("feature_flags")]
30+
public List<string>? FeatureFlags { get; set; }
2631

2732
[JsonProperty("generation_access_unlimited")]
2833
public bool? GenerationAccessUnlimited { get; set; }
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
/// A feature flag is a key-value pair that can be used to enable or disable features.
19+
/// </summary>
20+
public class FeatureFlag
21+
{
22+
23+
[JsonProperty("feature_flag")]
24+
public string FeatureFlagValue { get; set; } = default!;
25+
26+
[JsonProperty("trial_ends_at")]
27+
public DateTime? TrialEndsAt { get; set; } = null;
28+
}
29+
}

SpeakeasySDK/Organizations.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ public class Organizations: IOrganizations
3939
{
4040
public SDKConfig SDKConfiguration { get; private set; }
4141
private const string _language = "csharp";
42-
private const string _sdkVersion = "5.7.0";
43-
private const string _sdkGenVersion = "2.329.0";
42+
private const string _sdkVersion = "5.8.0";
43+
private const string _sdkGenVersion = "2.332.4";
4444
private const string _openapiDocVersion = "0.4.0 .";
45-
private const string _userAgent = "speakeasy-sdk/csharp 5.7.0 2.329.0 0.4.0 . SpeakeasySDK";
45+
private const string _userAgent = "speakeasy-sdk/csharp 5.8.0 2.332.4 0.4.0 . SpeakeasySDK";
4646
private string _serverUrl = "";
4747
private ISpeakeasyHttpClient _defaultClient;
4848
private Func<Security>? _securitySource;

SpeakeasySDK/Reports.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ public class Reports: IReports
5252
{
5353
public SDKConfig SDKConfiguration { get; private set; }
5454
private const string _language = "csharp";
55-
private const string _sdkVersion = "5.7.0";
56-
private const string _sdkGenVersion = "2.329.0";
55+
private const string _sdkVersion = "5.8.0";
56+
private const string _sdkGenVersion = "2.332.4";
5757
private const string _openapiDocVersion = "0.4.0 .";
58-
private const string _userAgent = "speakeasy-sdk/csharp 5.7.0 2.329.0 0.4.0 . SpeakeasySDK";
58+
private const string _userAgent = "speakeasy-sdk/csharp 5.8.0 2.332.4 0.4.0 . SpeakeasySDK";
5959
private string _serverUrl = "";
6060
private ISpeakeasyHttpClient _defaultClient;
6161
private Func<Security>? _securitySource;

SpeakeasySDK/Requests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ public class Requests: IRequests
6262
{
6363
public SDKConfig SDKConfiguration { get; private set; }
6464
private const string _language = "csharp";
65-
private const string _sdkVersion = "5.7.0";
66-
private const string _sdkGenVersion = "2.329.0";
65+
private const string _sdkVersion = "5.8.0";
66+
private const string _sdkGenVersion = "2.332.4";
6767
private const string _openapiDocVersion = "0.4.0 .";
68-
private const string _userAgent = "speakeasy-sdk/csharp 5.7.0 2.329.0 0.4.0 . SpeakeasySDK";
68+
private const string _userAgent = "speakeasy-sdk/csharp 5.8.0 2.332.4 0.4.0 . SpeakeasySDK";
6969
private string _serverUrl = "";
7070
private ISpeakeasyHttpClient _defaultClient;
7171
private Func<Security>? _securitySource;

SpeakeasySDK/Schemas.cs

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

SpeakeasySDK/Speakeasy.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,10 @@ public class Speakeasy: ISpeakeasy
142142
public SDKConfig SDKConfiguration { get; private set; }
143143

144144
private const string _language = "csharp";
145-
private const string _sdkVersion = "5.7.0";
146-
private const string _sdkGenVersion = "2.329.0";
145+
private const string _sdkVersion = "5.8.0";
146+
private const string _sdkGenVersion = "2.332.4";
147147
private const string _openapiDocVersion = "0.4.0 .";
148-
private const string _userAgent = "speakeasy-sdk/csharp 5.7.0 2.329.0 0.4.0 . SpeakeasySDK";
148+
private const string _userAgent = "speakeasy-sdk/csharp 5.8.0 2.332.4 0.4.0 . SpeakeasySDK";
149149
private string _serverUrl = "";
150150
private SDKConfig.Server? _server = null;
151151
private ISpeakeasyHttpClient _defaultClient;

SpeakeasySDK/SpeakeasySDK.csproj

Lines changed: 1 addition & 1 deletion
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.7.0</Version>
5+
<Version>5.8.0</Version>
66
<Authors>Speakeasy</Authors>
77
<TargetFramework>net5.0</TargetFramework>
88
<Nullable>enable</Nullable>

SpeakeasySDK/Utils/Retries/Retries.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ private async Task<HttpResponseMessage> retryWithBackoff(bool retryConnectionErr
125125
}
126126
catch (PermanentException ex)
127127
{
128-
throw ex.InnerException;
128+
throw ex.InnerException!;
129129
}
130130
catch (RetryableException ex)
131131
{

docs/Models/Shared/AccessToken.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ An AccessToken is a token that can be used to authenticate with the Speakeasy AP
99
| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- |
1010
| `AccessToken` | *string* | :heavy_check_mark: | N/A |
1111
| `Claims` | [Claims](../../Models/Shared/Claims.md) | :heavy_check_mark: | N/A |
12+
| `FeatureFlags` | List<[FeatureFlag](../../Models/Shared/FeatureFlag.md)> | :heavy_minus_sign: | N/A |
1213
| `User` | [AccessTokenUser](../../Models/Shared/AccessTokenUser.md) | :heavy_check_mark: | N/A |
1314
| `Workspaces` | List<[Workspaces](../../Models/Shared/Workspaces.md)> | :heavy_minus_sign: | N/A |

0 commit comments

Comments
 (0)