Skip to content

Commit 8b334eb

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 0.2.6 (#6)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.583.1 * empty commit to trigger [run-tests] workflow --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent 91e2c11 commit 8b334eb

2,289 files changed

Lines changed: 13428 additions & 13418 deletions

File tree

Some content is hidden

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

β€Ž.speakeasy/gen.lockβ€Ž

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

β€Ž.speakeasy/gen.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ generation:
2222
generateNewTests: true
2323
skipResponseBodyAssertions: false
2424
csharp:
25-
version: 0.2.5
25+
version: 0.2.6
2626
additionalDependencies: []
2727
author: stackone
2828
baseErrorName: StackOneError

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sources:
66
sourceBlobDigest: sha256:e30e02518f46e4c52047752352dfb8fed94d228ba21351d56dc1839a89728bb8
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1753113194
9+
- speakeasy-sdk-regen-1753114892
1010
- 1.0.0
1111
targets:
1212
stack-one:
@@ -15,7 +15,7 @@ targets:
1515
sourceRevisionDigest: sha256:44c64fe88a2a651e997d8229dc95e7bd307edc7ce545a734a3f7404f765cb94c
1616
sourceBlobDigest: sha256:e30e02518f46e4c52047752352dfb8fed94d228ba21351d56dc1839a89728bb8
1717
codeSamplesNamespace: stack-one-csharp-code-samples
18-
codeSamplesRevisionDigest: sha256:2645a740393181cecbf05a362d7c497038c669a1cfcd1ee6617ef69eb772f5d5
18+
codeSamplesRevisionDigest: sha256:cedb31237c8f3eb69acd6180ac2a82d21d0170db790d2bfeab0641deca5eece7
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

β€ŽNUGET.mdβ€Ž

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
### List Employees
88

99
```csharp
10-
using StackOne.Client;
11-
using StackOne.Client.Models.Components;
12-
using StackOne.Client.Models.Requests;
10+
using StackOneHQ.Client;
11+
using StackOneHQ.Client.Models.Components;
12+
using StackOneHQ.Client.Models.Requests;
1313

14-
var sdk = new StackOneClient(security: new Security() {
14+
var sdk = new StackOneHQClient(security: new Security() {
1515
Username = "",
1616
Password = "",
1717
});
@@ -50,11 +50,11 @@ This SDK supports the following security scheme globally:
5050

5151
You can set the security parameters through the `security` optional parameter when initializing the SDK client instance. For example:
5252
```csharp
53-
using StackOne.Client;
54-
using StackOne.Client.Models.Components;
53+
using StackOneHQ.Client;
54+
using StackOneHQ.Client.Models.Components;
5555
using System.Collections.Generic;
5656

57-
var sdk = new StackOneClient(security: new Security() {
57+
var sdk = new StackOneHQClient(security: new Security() {
5858
Username = "",
5959
Password = "",
6060
});
@@ -94,11 +94,11 @@ return value of `Next` is `null`, then there are no more pages to be fetched.
9494

9595
Here's an example of one such pagination call:
9696
```csharp
97-
using StackOne.Client;
98-
using StackOne.Client.Models.Components;
99-
using StackOne.Client.Models.Requests;
97+
using StackOneHQ.Client;
98+
using StackOneHQ.Client.Models.Components;
99+
using StackOneHQ.Client.Models.Requests;
100100

101-
var sdk = new StackOneClient(security: new Security() {
101+
var sdk = new StackOneHQClient(security: new Security() {
102102
Username = "",
103103
Password = "",
104104
});
@@ -129,11 +129,11 @@ Some of the endpoints in this SDK support retries. If you use the SDK without an
129129

130130
To change the default retry strategy for a single API call, simply pass a `RetryConfig` to the call:
131131
```csharp
132-
using StackOne.Client;
133-
using StackOne.Client.Models.Components;
132+
using StackOneHQ.Client;
133+
using StackOneHQ.Client.Models.Components;
134134
using System.Collections.Generic;
135135

136-
var sdk = new StackOneClient(security: new Security() {
136+
var sdk = new StackOneHQClient(security: new Security() {
137137
Username = "",
138138
Password = "",
139139
});
@@ -177,11 +177,11 @@ var res = await sdk.ConnectSessions.CreateAsync(
177177

178178
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:
179179
```csharp
180-
using StackOne.Client;
181-
using StackOne.Client.Models.Components;
180+
using StackOneHQ.Client;
181+
using StackOneHQ.Client.Models.Components;
182182
using System.Collections.Generic;
183183

184-
var sdk = new StackOneClient(
184+
var sdk = new StackOneHQClient(
185185
retryConfig: new RetryConfig(
186186
strategy: RetryConfig.RetryStrategy.BACKOFF,
187187
backoff: new BackoffStrategy(
@@ -229,7 +229,7 @@ var res = await sdk.ConnectSessions.CreateAsync(req);
229229

230230
Handling errors in this SDK should largely match your expectations. All operations return a response object or throw an exception.
231231

232-
By default, an API error will raise a `StackOne.Client.Models.Errors.APIException` exception, which has the following properties:
232+
By default, an API error will raise a `StackOneHQ.Client.Models.Errors.APIException` exception, which has the following properties:
233233

234234
| Property | Type | Description |
235235
|---------------|-----------------------|-----------------------|
@@ -239,30 +239,30 @@ By default, an API error will raise a `StackOne.Client.Models.Errors.APIExceptio
239239

240240
When custom error responses are specified for an operation, the SDK may also throw their associated exceptions. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `CreateAsync` method throws the following exceptions:
241241

242-
| Error Type | Status Code | Content Type |
243-
| ------------------------------------------------------------------ | ----------- | ---------------- |
244-
| StackOne.Client.Models.Errors.BadRequestResponseException | 400 | application/json |
245-
| StackOne.Client.Models.Errors.UnauthorizedResponseException | 401 | application/json |
246-
| StackOne.Client.Models.Errors.ForbiddenResponseException | 403 | application/json |
247-
| StackOne.Client.Models.Errors.NotFoundResponseException | 404 | application/json |
248-
| StackOne.Client.Models.Errors.RequestTimedOutResponseException | 408 | application/json |
249-
| StackOne.Client.Models.Errors.ConflictResponseException | 409 | application/json |
250-
| StackOne.Client.Models.Errors.UnprocessableEntityResponseException | 422 | application/json |
251-
| StackOne.Client.Models.Errors.TooManyRequestsResponseException | 429 | application/json |
252-
| StackOne.Client.Models.Errors.InternalServerErrorResponse | 500 | application/json |
253-
| StackOne.Client.Models.Errors.NotImplementedResponseException | 501 | application/json |
254-
| StackOne.Client.Models.Errors.BadGatewayResponseException | 502 | application/json |
255-
| StackOne.Client.Models.Errors.APIException | 4XX, 5XX | \*/\* |
242+
| Error Type | Status Code | Content Type |
243+
| -------------------------------------------------------------------- | ----------- | ---------------- |
244+
| StackOneHQ.Client.Models.Errors.BadRequestResponseException | 400 | application/json |
245+
| StackOneHQ.Client.Models.Errors.UnauthorizedResponseException | 401 | application/json |
246+
| StackOneHQ.Client.Models.Errors.ForbiddenResponseException | 403 | application/json |
247+
| StackOneHQ.Client.Models.Errors.NotFoundResponseException | 404 | application/json |
248+
| StackOneHQ.Client.Models.Errors.RequestTimedOutResponseException | 408 | application/json |
249+
| StackOneHQ.Client.Models.Errors.ConflictResponseException | 409 | application/json |
250+
| StackOneHQ.Client.Models.Errors.UnprocessableEntityResponseException | 422 | application/json |
251+
| StackOneHQ.Client.Models.Errors.TooManyRequestsResponseException | 429 | application/json |
252+
| StackOneHQ.Client.Models.Errors.InternalServerErrorResponse | 500 | application/json |
253+
| StackOneHQ.Client.Models.Errors.NotImplementedResponseException | 501 | application/json |
254+
| StackOneHQ.Client.Models.Errors.BadGatewayResponseException | 502 | application/json |
255+
| StackOneHQ.Client.Models.Errors.APIException | 4XX, 5XX | \*/\* |
256256

257257
### Example
258258

259259
```csharp
260-
using StackOne.Client;
261-
using StackOne.Client.Models.Components;
262-
using StackOne.Client.Models.Errors;
260+
using StackOneHQ.Client;
261+
using StackOneHQ.Client.Models.Components;
262+
using StackOneHQ.Client.Models.Errors;
263263
using System.Collections.Generic;
264264

265-
var sdk = new StackOneClient(security: new Security() {
265+
var sdk = new StackOneHQClient(security: new Security() {
266266
Username = "",
267267
Password = "",
268268
});
@@ -350,7 +350,7 @@ catch (Exception ex)
350350
// Handle exception data
351351
throw;
352352
}
353-
else if (ex is StackOne.Client.Models.Errors.APIException)
353+
else if (ex is StackOneHQ.Client.Models.Errors.APIException)
354354
{
355355
// Handle default exception
356356
throw;
@@ -366,11 +366,11 @@ catch (Exception ex)
366366

367367
The default server can be overridden globally by passing a URL to the `serverUrl: string` optional parameter when initializing the SDK client instance. For example:
368368
```csharp
369-
using StackOne.Client;
370-
using StackOne.Client.Models.Components;
369+
using StackOneHQ.Client;
370+
using StackOneHQ.Client.Models.Components;
371371
using System.Collections.Generic;
372372

373-
var sdk = new StackOneClient(
373+
var sdk = new StackOneHQClient(
374374
serverUrl: "https://api.stackone.com",
375375
security: new Security() {
376376
Username = "",

β€ŽREADME.mdβ€Ž

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ Documents: The documentation for the StackOne Unified API - DOCUMENTS
4040

4141
To add the [NuGet](https://www.nuget.org/) package to a .NET project:
4242
```bash
43-
dotnet add package StackOne.Client
43+
dotnet add package StackOneHQ.Client
4444
```
4545

4646
### Locally
4747

4848
To add a reference to a local instance of the SDK in a .NET project:
4949
```bash
50-
dotnet add reference src/StackOne/Client/StackOne.Client.csproj
50+
dotnet add reference src/StackOneHQ/Client/StackOneHQ.Client.csproj
5151
```
5252
<!-- End SDK Installation [installation] -->
5353

@@ -57,11 +57,11 @@ dotnet add reference src/StackOne/Client/StackOne.Client.csproj
5757
### List Employees
5858

5959
```csharp
60-
using StackOne.Client;
61-
using StackOne.Client.Models.Components;
62-
using StackOne.Client.Models.Requests;
60+
using StackOneHQ.Client;
61+
using StackOneHQ.Client.Models.Components;
62+
using StackOneHQ.Client.Models.Requests;
6363

64-
var sdk = new StackOneClient(security: new Security() {
64+
var sdk = new StackOneHQClient(security: new Security() {
6565
Username = "",
6666
Password = "",
6767
});
@@ -100,11 +100,11 @@ This SDK supports the following security scheme globally:
100100

101101
You can set the security parameters through the `security` optional parameter when initializing the SDK client instance. For example:
102102
```csharp
103-
using StackOne.Client;
104-
using StackOne.Client.Models.Components;
103+
using StackOneHQ.Client;
104+
using StackOneHQ.Client.Models.Components;
105105
using System.Collections.Generic;
106106

107-
var sdk = new StackOneClient(security: new Security() {
107+
var sdk = new StackOneHQClient(security: new Security() {
108108
Username = "",
109109
Password = "",
110110
});
@@ -666,11 +666,11 @@ return value of `Next` is `null`, then there are no more pages to be fetched.
666666

667667
Here's an example of one such pagination call:
668668
```csharp
669-
using StackOne.Client;
670-
using StackOne.Client.Models.Components;
671-
using StackOne.Client.Models.Requests;
669+
using StackOneHQ.Client;
670+
using StackOneHQ.Client.Models.Components;
671+
using StackOneHQ.Client.Models.Requests;
672672

673-
var sdk = new StackOneClient(security: new Security() {
673+
var sdk = new StackOneHQClient(security: new Security() {
674674
Username = "",
675675
Password = "",
676676
});
@@ -701,11 +701,11 @@ Some of the endpoints in this SDK support retries. If you use the SDK without an
701701

702702
To change the default retry strategy for a single API call, simply pass a `RetryConfig` to the call:
703703
```csharp
704-
using StackOne.Client;
705-
using StackOne.Client.Models.Components;
704+
using StackOneHQ.Client;
705+
using StackOneHQ.Client.Models.Components;
706706
using System.Collections.Generic;
707707

708-
var sdk = new StackOneClient(security: new Security() {
708+
var sdk = new StackOneHQClient(security: new Security() {
709709
Username = "",
710710
Password = "",
711711
});
@@ -749,11 +749,11 @@ var res = await sdk.ConnectSessions.CreateAsync(
749749

750750
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:
751751
```csharp
752-
using StackOne.Client;
753-
using StackOne.Client.Models.Components;
752+
using StackOneHQ.Client;
753+
using StackOneHQ.Client.Models.Components;
754754
using System.Collections.Generic;
755755

756-
var sdk = new StackOneClient(
756+
var sdk = new StackOneHQClient(
757757
retryConfig: new RetryConfig(
758758
strategy: RetryConfig.RetryStrategy.BACKOFF,
759759
backoff: new BackoffStrategy(
@@ -801,7 +801,7 @@ var res = await sdk.ConnectSessions.CreateAsync(req);
801801

802802
Handling errors in this SDK should largely match your expectations. All operations return a response object or throw an exception.
803803

804-
By default, an API error will raise a `StackOne.Client.Models.Errors.APIException` exception, which has the following properties:
804+
By default, an API error will raise a `StackOneHQ.Client.Models.Errors.APIException` exception, which has the following properties:
805805

806806
| Property | Type | Description |
807807
|---------------|-----------------------|-----------------------|
@@ -811,30 +811,30 @@ By default, an API error will raise a `StackOne.Client.Models.Errors.APIExceptio
811811

812812
When custom error responses are specified for an operation, the SDK may also throw their associated exceptions. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `CreateAsync` method throws the following exceptions:
813813

814-
| Error Type | Status Code | Content Type |
815-
| ------------------------------------------------------------------ | ----------- | ---------------- |
816-
| StackOne.Client.Models.Errors.BadRequestResponseException | 400 | application/json |
817-
| StackOne.Client.Models.Errors.UnauthorizedResponseException | 401 | application/json |
818-
| StackOne.Client.Models.Errors.ForbiddenResponseException | 403 | application/json |
819-
| StackOne.Client.Models.Errors.NotFoundResponseException | 404 | application/json |
820-
| StackOne.Client.Models.Errors.RequestTimedOutResponseException | 408 | application/json |
821-
| StackOne.Client.Models.Errors.ConflictResponseException | 409 | application/json |
822-
| StackOne.Client.Models.Errors.UnprocessableEntityResponseException | 422 | application/json |
823-
| StackOne.Client.Models.Errors.TooManyRequestsResponseException | 429 | application/json |
824-
| StackOne.Client.Models.Errors.InternalServerErrorResponse | 500 | application/json |
825-
| StackOne.Client.Models.Errors.NotImplementedResponseException | 501 | application/json |
826-
| StackOne.Client.Models.Errors.BadGatewayResponseException | 502 | application/json |
827-
| StackOne.Client.Models.Errors.APIException | 4XX, 5XX | \*/\* |
814+
| Error Type | Status Code | Content Type |
815+
| -------------------------------------------------------------------- | ----------- | ---------------- |
816+
| StackOneHQ.Client.Models.Errors.BadRequestResponseException | 400 | application/json |
817+
| StackOneHQ.Client.Models.Errors.UnauthorizedResponseException | 401 | application/json |
818+
| StackOneHQ.Client.Models.Errors.ForbiddenResponseException | 403 | application/json |
819+
| StackOneHQ.Client.Models.Errors.NotFoundResponseException | 404 | application/json |
820+
| StackOneHQ.Client.Models.Errors.RequestTimedOutResponseException | 408 | application/json |
821+
| StackOneHQ.Client.Models.Errors.ConflictResponseException | 409 | application/json |
822+
| StackOneHQ.Client.Models.Errors.UnprocessableEntityResponseException | 422 | application/json |
823+
| StackOneHQ.Client.Models.Errors.TooManyRequestsResponseException | 429 | application/json |
824+
| StackOneHQ.Client.Models.Errors.InternalServerErrorResponse | 500 | application/json |
825+
| StackOneHQ.Client.Models.Errors.NotImplementedResponseException | 501 | application/json |
826+
| StackOneHQ.Client.Models.Errors.BadGatewayResponseException | 502 | application/json |
827+
| StackOneHQ.Client.Models.Errors.APIException | 4XX, 5XX | \*/\* |
828828

829829
### Example
830830

831831
```csharp
832-
using StackOne.Client;
833-
using StackOne.Client.Models.Components;
834-
using StackOne.Client.Models.Errors;
832+
using StackOneHQ.Client;
833+
using StackOneHQ.Client.Models.Components;
834+
using StackOneHQ.Client.Models.Errors;
835835
using System.Collections.Generic;
836836

837-
var sdk = new StackOneClient(security: new Security() {
837+
var sdk = new StackOneHQClient(security: new Security() {
838838
Username = "",
839839
Password = "",
840840
});
@@ -922,7 +922,7 @@ catch (Exception ex)
922922
// Handle exception data
923923
throw;
924924
}
925-
else if (ex is StackOne.Client.Models.Errors.APIException)
925+
else if (ex is StackOneHQ.Client.Models.Errors.APIException)
926926
{
927927
// Handle default exception
928928
throw;
@@ -938,11 +938,11 @@ catch (Exception ex)
938938

939939
The default server can be overridden globally by passing a URL to the `serverUrl: string` optional parameter when initializing the SDK client instance. For example:
940940
```csharp
941-
using StackOne.Client;
942-
using StackOne.Client.Models.Components;
941+
using StackOneHQ.Client;
942+
using StackOneHQ.Client.Models.Components;
943943
using System.Collections.Generic;
944944

945-
var sdk = new StackOneClient(
945+
var sdk = new StackOneHQClient(
946946
serverUrl: "https://api.stackone.com",
947947
security: new Security() {
948948
Username = "",

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,14 @@ Based on:
3838
### Generated
3939
- [csharp v0.2.5] .
4040
### Releases
41-
- [NuGet v0.2.5] https://www.nuget.org/packages/StackOne.Client/0.2.5 - .
41+
- [NuGet v0.2.5] https://www.nuget.org/packages/StackOne.Client/0.2.5 - .
42+
43+
## 2025-07-21 16:21:15
44+
### Changes
45+
Based on:
46+
- OpenAPI Doc
47+
- Speakeasy CLI 1.583.1 (2.658.3) https://github.com/speakeasy-api/speakeasy
48+
### Generated
49+
- [csharp v0.2.6] .
50+
### Releases
51+
- [NuGet v0.2.6] https://www.nuget.org/packages/StackOneHQ.Client/0.2.6 - .
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}") = "StackOne.Client", "src\StackOne\Client\StackOne.Client.csproj", "{F0CE92B5-F3CC-45A2-AA83-118C38724EB1}"
3+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StackOneHQ.Client", "src\StackOneHQ\Client\StackOneHQ.Client.csproj", "{F0CE92B5-F3CC-45A2-AA83-118C38724EB1}"
44
EndProject
55

66
Global

0 commit comments

Comments
Β (0)