Skip to content

Commit 257d4c9

Browse files
authored
Merge pull request #16 from speakeasy-api/speakeasy-sdk-regen-1718121380
chore: 🐝 Update SDK - Generate
2 parents 3b7197e + 068f9d0 commit 257d4c9

File tree

226 files changed

+1263
-1253
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

226 files changed

+1263
-1253
lines changed

.speakeasy/gen.lock

Lines changed: 209 additions & 209 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ speakeasyVersion: 1.303.4
22
sources:
33
speakeasy:
44
sourceNamespace: speakeasy
5-
sourceRevisionDigest: sha256:da62f2c7f2ad41b9a016b76317a8210b7d3eab4c77c84c8b5c379c8b4e3017dc
6-
sourceBlobDigest: sha256:5134f1d8c7889a2563e5a4187f62f6f8bab0df4ebce9fd67b46009154c828a46
5+
sourceRevisionDigest: sha256:893e2efb5965c9a3d939a95ceb8331a259741baabcbefa684c19629583e54a25
6+
sourceBlobDigest: sha256:948da304561cceb9369aaff4c1bfe218a30e5ca930fedc36a4ccb0855ccae956
77
tags:
88
- latest
99
- main
1010
targets:
1111
speakeasy-client-sdk-csharp:
1212
source: speakeasy
1313
sourceNamespace: speakeasy
14-
sourceRevisionDigest: sha256:da62f2c7f2ad41b9a016b76317a8210b7d3eab4c77c84c8b5c379c8b4e3017dc
15-
sourceBlobDigest: sha256:5134f1d8c7889a2563e5a4187f62f6f8bab0df4ebce9fd67b46009154c828a46
14+
sourceRevisionDigest: sha256:893e2efb5965c9a3d939a95ceb8331a259741baabcbefa684c19629583e54a25
15+
sourceBlobDigest: sha256:948da304561cceb9369aaff4c1bfe218a30e5ca930fedc36a4ccb0855ccae956
1616
outLocation: /github/workspace/repo
1717
workflow:
1818
workflowVersion: 1.0.0

README.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
### Nuget
77

88
```bash
9-
dotnet add package Speakeasy.Client.SDK
9+
dotnet add package SpeakeasySDK
1010
```
1111
<!-- End SDK Installation [installation] -->
1212

@@ -16,12 +16,12 @@ dotnet add package Speakeasy.Client.SDK
1616
### Example
1717

1818
```csharp
19-
using Speakeasy.Client.SDK;
20-
using Speakeasy.Client.SDK.Models.Shared;
21-
using Speakeasy.Client.SDK.Models.Operations;
19+
using SpeakeasySDK;
20+
using SpeakeasySDK.Models.Shared;
21+
using SpeakeasySDK.Models.Operations;
2222
using System.Collections.Generic;
2323

24-
var sdk = new SpeakeasySDK(security: new Security() {
24+
var sdk = new SDK(security: new Security() {
2525
APIKey = "<YOUR_API_KEY_HERE>",
2626
});
2727

@@ -166,11 +166,11 @@ This SDK supports the following security schemes globally:
166166

167167
You can set the security parameters through the `security` optional parameter when initializing the SDK client instance. The selected scheme will be used by default to authenticate with the API for all operations that support it. For example:
168168
```csharp
169-
using Speakeasy.Client.SDK;
170-
using Speakeasy.Client.SDK.Models.Shared;
171-
using Speakeasy.Client.SDK.Models.Operations;
169+
using SpeakeasySDK;
170+
using SpeakeasySDK.Models.Shared;
171+
using SpeakeasySDK.Models.Operations;
172172

173-
var sdk = new SpeakeasySDK(security: new Security() {
173+
var sdk = new SDK(security: new Security() {
174174
APIKey = "<YOUR_API_KEY_HERE>",
175175
});
176176

@@ -207,11 +207,11 @@ The following global parameter is available.
207207
### Example
208208

209209
```csharp
210-
using Speakeasy.Client.SDK;
211-
using Speakeasy.Client.SDK.Models.Shared;
212-
using Speakeasy.Client.SDK.Models.Operations;
210+
using SpeakeasySDK;
211+
using SpeakeasySDK.Models.Shared;
212+
using SpeakeasySDK.Models.Operations;
213213

214-
var sdk = new SpeakeasySDK(security: new Security() {
214+
var sdk = new SDK(security: new Security() {
215215
APIKey = "<YOUR_API_KEY_HERE>",
216216
});
217217

@@ -230,21 +230,21 @@ var res = await sdk.Events.GetWorkspaceEventsByTargetAsync(req);
230230

231231
Handling errors in this SDK should largely match your expectations. All operations return a response object or thow an exception. If Error objects are specified in your OpenAPI Spec, the SDK will raise the appropriate type.
232232

233-
| Error Object | Status Code | Content Type |
234-
| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- |
235-
| Speakeasy.Client.SDK.Models.Errors.Error | 5XX | application/json |
236-
| Speakeasy.Client.SDK.Models.Errors.SDKException | 4xx-5xx | */* |
233+
| Error Object | Status Code | Content Type |
234+
| --------------------------------------- | --------------------------------------- | --------------------------------------- |
235+
| SpeakeasySDK.Models.Errors.Error | 5XX | application/json |
236+
| SpeakeasySDK.Models.Errors.SDKException | 4xx-5xx | */* |
237237

238238
### Example
239239

240240
```csharp
241-
using Speakeasy.Client.SDK;
242-
using Speakeasy.Client.SDK.Models.Shared;
241+
using SpeakeasySDK;
242+
using SpeakeasySDK.Models.Shared;
243243
using System;
244-
using Speakeasy.Client.SDK.Models.Errors;
245-
using Speakeasy.Client.SDK.Models.Operations;
244+
using SpeakeasySDK.Models.Errors;
245+
using SpeakeasySDK.Models.Operations;
246246

247-
var sdk = new SpeakeasySDK(security: new Security() {
247+
var sdk = new SDK(security: new Security() {
248248
APIKey = "<YOUR_API_KEY_HERE>",
249249
});
250250

@@ -263,7 +263,7 @@ catch (Exception ex)
263263
{
264264
// handle exception
265265
}
266-
else if (ex is Speakeasy.Client.SDK.Models.Errors.SDKException)
266+
else if (ex is SpeakeasySDK.Models.Errors.SDKException)
267267
{
268268
// handle exception
269269
}
@@ -279,11 +279,11 @@ Some of the endpoints in this SDK support retries. If you use the SDK without an
279279

280280
To change the default retry strategy for a single API call, simply pass a `RetryConfig` to the call:
281281
```csharp
282-
using Speakeasy.Client.SDK;
283-
using Speakeasy.Client.SDK.Models.Shared;
284-
using Speakeasy.Client.SDK.Models.Operations;
282+
using SpeakeasySDK;
283+
using SpeakeasySDK.Models.Shared;
284+
using SpeakeasySDK.Models.Operations;
285285

286-
var sdk = new SpeakeasySDK(security: new Security() {
286+
var sdk = new SDK(security: new Security() {
287287
APIKey = "<YOUR_API_KEY_HERE>",
288288
});
289289

@@ -306,11 +306,11 @@ var res = await sdk.Auth.GetWorkspaceAccessAsync(req,
306306

307307
If you'd like to override the default retry strategy for all operations that support retries, you can use the `RetryConfig` optional parameter when intitializing the SDK:
308308
```csharp
309-
using Speakeasy.Client.SDK;
310-
using Speakeasy.Client.SDK.Models.Shared;
311-
using Speakeasy.Client.SDK.Models.Operations;
309+
using SpeakeasySDK;
310+
using SpeakeasySDK.Models.Shared;
311+
using SpeakeasySDK.Models.Operations;
312312

313-
var sdk = new SpeakeasySDK(
313+
var sdk = new SDK(
314314
retryConfig: new RetryConfig(
315315
strategy: RetryConfig.RetryStrategy.BACKOFF,
316316
backoff: new BackoffStrategy(

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,4 +748,14 @@ Based on:
748748
### Generated
749749
- [csharp v5.9.7] .
750750
### Releases
751-
- [NuGet v5.9.7] https://www.nuget.org/packages/Speakeasy.Client.SDK/5.9.7 - .
751+
- [NuGet v5.9.7] https://www.nuget.org/packages/Speakeasy.Client.SDK/5.9.7 - .
752+
753+
## 2024-06-11 15:56:17
754+
### Changes
755+
Based on:
756+
- OpenAPI Doc
757+
- Speakeasy CLI 1.303.4 (2.340.2) https://github.com/speakeasy-api/speakeasy
758+
### Generated
759+
- [csharp v5.9.8] .
760+
### Releases
761+
- [NuGet v5.9.8] https://www.nuget.org/packages/SpeakeasySDK/5.9.8 - .

Speakeasy.Client.SDK.sln renamed to SpeakeasySDK.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Speakeasy.Client.SDK", "Speakeasy\Client\SDK\Speakeasy.Client.SDK.csproj", "{F0CE92B5-F3CC-45A2-AA83-118C38724EB1}"
3+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SpeakeasySDK", "SpeakeasySDK\SpeakeasySDK.csproj", "{F0CE92B5-F3CC-45A2-AA83-118C38724EB1}"
44
EndProject
55

66
Global

Speakeasy/Client/SDK/ApiEndpoints.cs renamed to SpeakeasySDK/ApiEndpoints.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
// </auto-generated>
88
//------------------------------------------------------------------------------
99
#nullable enable
10-
namespace Speakeasy.Client.SDK
10+
namespace SpeakeasySDK
1111
{
1212
using Newtonsoft.Json;
13-
using Speakeasy.Client.SDK.Hooks;
14-
using Speakeasy.Client.SDK.Models.Errors;
15-
using Speakeasy.Client.SDK.Models.Operations;
16-
using Speakeasy.Client.SDK.Models.Shared;
17-
using Speakeasy.Client.SDK.Utils.Retries;
18-
using Speakeasy.Client.SDK.Utils;
13+
using SpeakeasySDK.Hooks;
14+
using SpeakeasySDK.Models.Errors;
15+
using SpeakeasySDK.Models.Operations;
16+
using SpeakeasySDK.Models.Shared;
17+
using SpeakeasySDK.Utils.Retries;
18+
using SpeakeasySDK.Utils;
1919
using System.Collections.Generic;
2020
using System.Net.Http.Headers;
2121
using System.Net.Http;
@@ -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.7";
101+
private const string _sdkVersion = "5.9.8";
102102
private const string _sdkGenVersion = "2.340.2";
103103
private const string _openapiDocVersion = "0.4.0 .";
104-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.7 2.340.2 0.4.0 . Speakeasy.Client.SDK";
104+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.8 2.340.2 0.4.0 . SpeakeasySDK";
105105
private string _serverUrl = "";
106106
private ISpeakeasyHttpClient _client;
107107
private Func<Security>? _securitySource;

Speakeasy/Client/SDK/Apis.cs renamed to SpeakeasySDK/Apis.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
// </auto-generated>
88
//------------------------------------------------------------------------------
99
#nullable enable
10-
namespace Speakeasy.Client.SDK
10+
namespace SpeakeasySDK
1111
{
1212
using Newtonsoft.Json;
13-
using Speakeasy.Client.SDK.Hooks;
14-
using Speakeasy.Client.SDK.Models.Errors;
15-
using Speakeasy.Client.SDK.Models.Operations;
16-
using Speakeasy.Client.SDK.Models.Shared;
17-
using Speakeasy.Client.SDK.Utils.Retries;
18-
using Speakeasy.Client.SDK.Utils;
13+
using SpeakeasySDK.Hooks;
14+
using SpeakeasySDK.Models.Errors;
15+
using SpeakeasySDK.Models.Operations;
16+
using SpeakeasySDK.Models.Shared;
17+
using SpeakeasySDK.Utils.Retries;
18+
using SpeakeasySDK.Utils;
1919
using System.Collections.Generic;
2020
using System.Net.Http.Headers;
2121
using System.Net.Http;
@@ -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.7";
97+
private const string _sdkVersion = "5.9.8";
9898
private const string _sdkGenVersion = "2.340.2";
9999
private const string _openapiDocVersion = "0.4.0 .";
100-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.7 2.340.2 0.4.0 . Speakeasy.Client.SDK";
100+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.8 2.340.2 0.4.0 . SpeakeasySDK";
101101
private string _serverUrl = "";
102102
private ISpeakeasyHttpClient _client;
103103
private Func<Security>? _securitySource;

Speakeasy/Client/SDK/Artifacts.cs renamed to SpeakeasySDK/Artifacts.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
// </auto-generated>
88
//------------------------------------------------------------------------------
99
#nullable enable
10-
namespace Speakeasy.Client.SDK
10+
namespace SpeakeasySDK
1111
{
1212
using Newtonsoft.Json;
13-
using Speakeasy.Client.SDK.Hooks;
14-
using Speakeasy.Client.SDK.Models.Errors;
15-
using Speakeasy.Client.SDK.Models.Operations;
16-
using Speakeasy.Client.SDK.Models.Shared;
17-
using Speakeasy.Client.SDK.Utils.Retries;
18-
using Speakeasy.Client.SDK.Utils;
13+
using SpeakeasySDK.Hooks;
14+
using SpeakeasySDK.Models.Errors;
15+
using SpeakeasySDK.Models.Operations;
16+
using SpeakeasySDK.Models.Shared;
17+
using SpeakeasySDK.Utils.Retries;
18+
using SpeakeasySDK.Utils;
1919
using System.Collections.Generic;
2020
using System.Net.Http.Headers;
2121
using System.Net.Http;
@@ -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.7";
60+
private const string _sdkVersion = "5.9.8";
6161
private const string _sdkGenVersion = "2.340.2";
6262
private const string _openapiDocVersion = "0.4.0 .";
63-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.7 2.340.2 0.4.0 . Speakeasy.Client.SDK";
63+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.8 2.340.2 0.4.0 . SpeakeasySDK";
6464
private string _serverUrl = "";
6565
private ISpeakeasyHttpClient _client;
6666
private Func<Security>? _securitySource;

Speakeasy/Client/SDK/Auth.cs renamed to SpeakeasySDK/Auth.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
// </auto-generated>
88
//------------------------------------------------------------------------------
99
#nullable enable
10-
namespace Speakeasy.Client.SDK
10+
namespace SpeakeasySDK
1111
{
1212
using Newtonsoft.Json;
13-
using Speakeasy.Client.SDK.Hooks;
14-
using Speakeasy.Client.SDK.Models.Errors;
15-
using Speakeasy.Client.SDK.Models.Operations;
16-
using Speakeasy.Client.SDK.Models.Shared;
17-
using Speakeasy.Client.SDK.Utils.Retries;
18-
using Speakeasy.Client.SDK.Utils;
13+
using SpeakeasySDK.Hooks;
14+
using SpeakeasySDK.Models.Errors;
15+
using SpeakeasySDK.Models.Operations;
16+
using SpeakeasySDK.Models.Shared;
17+
using SpeakeasySDK.Utils.Retries;
18+
using SpeakeasySDK.Utils;
1919
using System.Collections.Generic;
2020
using System.Net.Http.Headers;
2121
using System.Net.Http;
@@ -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.7";
63+
private const string _sdkVersion = "5.9.8";
6464
private const string _sdkGenVersion = "2.340.2";
6565
private const string _openapiDocVersion = "0.4.0 .";
66-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.7 2.340.2 0.4.0 . Speakeasy.Client.SDK";
66+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.8 2.340.2 0.4.0 . SpeakeasySDK";
6767
private string _serverUrl = "";
6868
private ISpeakeasyHttpClient _client;
6969
private Func<Security>? _securitySource;
@@ -308,7 +308,7 @@ public async Task<GetWorkspaceAccessResponse> GetWorkspaceAccessAsync(GetWorkspa
308308
var _httpRequest = await _client.CloneAsync(httpRequest);
309309
return await _client.SendAsync(_httpRequest);
310310
};
311-
var retries = new Speakeasy.Client.SDK.Utils.Retries.Retries(retrySend, retryConfig, statusCodes);
311+
var retries = new SpeakeasySDK.Utils.Retries.Retries(retrySend, retryConfig, statusCodes);
312312

313313
HttpResponseMessage httpResponse;
314314
try

Speakeasy/Client/SDK/Embeds.cs renamed to SpeakeasySDK/Embeds.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
// </auto-generated>
88
//------------------------------------------------------------------------------
99
#nullable enable
10-
namespace Speakeasy.Client.SDK
10+
namespace SpeakeasySDK
1111
{
1212
using Newtonsoft.Json;
13-
using Speakeasy.Client.SDK.Hooks;
14-
using Speakeasy.Client.SDK.Models.Errors;
15-
using Speakeasy.Client.SDK.Models.Operations;
16-
using Speakeasy.Client.SDK.Models.Shared;
17-
using Speakeasy.Client.SDK.Utils.Retries;
18-
using Speakeasy.Client.SDK.Utils;
13+
using SpeakeasySDK.Hooks;
14+
using SpeakeasySDK.Models.Errors;
15+
using SpeakeasySDK.Models.Operations;
16+
using SpeakeasySDK.Models.Shared;
17+
using SpeakeasySDK.Utils.Retries;
18+
using SpeakeasySDK.Utils;
1919
using System.Collections.Generic;
2020
using System.Net.Http.Headers;
2121
using System.Net.Http;
@@ -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.7";
59+
private const string _sdkVersion = "5.9.8";
6060
private const string _sdkGenVersion = "2.340.2";
6161
private const string _openapiDocVersion = "0.4.0 .";
62-
private const string _userAgent = "speakeasy-sdk/csharp 5.9.7 2.340.2 0.4.0 . Speakeasy.Client.SDK";
62+
private const string _userAgent = "speakeasy-sdk/csharp 5.9.8 2.340.2 0.4.0 . SpeakeasySDK";
6363
private string _serverUrl = "";
6464
private ISpeakeasyHttpClient _client;
6565
private Func<Security>? _securitySource;

0 commit comments

Comments
 (0)