Skip to content

Commit 697de7e

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.482.0
1 parent 6c08d50 commit 697de7e

File tree

12 files changed

+52
-16
lines changed

12 files changed

+52
-16
lines changed

.speakeasy/gen.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 2858c6d9-f946-4185-ae68-3b8e708830fb
33
management:
4-
docChecksum: a857476fabbb29418727d7b46e390a02
4+
docChecksum: b2633754445813a0caca48987361efbb
55
docVersion: 0.4.0
6-
speakeasyVersion: 1.481.1
6+
speakeasyVersion: 1.482.0
77
generationVersion: 2.500.5
8-
releaseVersion: 3.22.0
9-
configChecksum: f7c2163f50e57902cb5767a7534de7f9
8+
releaseVersion: 3.22.1
9+
configChecksum: 7c07c247d38492197e1e3684812c7326
1010
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-go.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-go

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
speakeasyVersion: 1.481.1
1+
speakeasyVersion: 1.482.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:85cedc03ea044870c54d91da42283ad4e3c44cf8e85f59025e281d46a59d8f04
6-
sourceBlobDigest: sha256:e5a801f69893464607a29d5b486de1f301d0ee4e5602dacf50ce3e9e5ba5c20a
5+
sourceRevisionDigest: sha256:897a49be7acf9799feddfa5a09a3f5e0277b7a366de39309ab0b7f6d9ab61847
6+
sourceBlobDigest: sha256:a3c82707f36dbd5fb67ba0be2bbd133524f693e35e5a278ceadc7cca1b90ef5a
77
tags:
88
- latest
99
- main
@@ -12,10 +12,10 @@ targets:
1212
speakeasy-client-sdk-go:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:85cedc03ea044870c54d91da42283ad4e3c44cf8e85f59025e281d46a59d8f04
16-
sourceBlobDigest: sha256:e5a801f69893464607a29d5b486de1f301d0ee4e5602dacf50ce3e9e5ba5c20a
15+
sourceRevisionDigest: sha256:897a49be7acf9799feddfa5a09a3f5e0277b7a366de39309ab0b7f6d9ab61847
16+
sourceBlobDigest: sha256:a3c82707f36dbd5fb67ba0be2bbd133524f693e35e5a278ceadc7cca1b90ef5a
1717
codeSamplesNamespace: code-samples-go-speakeasy-client-sdk-go
18-
codeSamplesRevisionDigest: sha256:4d8403c598860d338eaaa99bbd2144f234250a846e7682f43fbc50e3fd61ac89
18+
codeSamplesRevisionDigest: sha256:348cb7012c92edb9bb2a8ee87283383e49bdadb8445ccdbebdf39747ff652327
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1606,4 +1606,14 @@ Based on:
16061606
### Generated
16071607
- [go v3.22.0] .
16081608
### Releases
1609-
- [Go v3.22.0] https://github.com/speakeasy-api/speakeasy-client-sdk-go/releases/tag/v3.22.0 - .
1609+
- [Go v3.22.0] https://github.com/speakeasy-api/speakeasy-client-sdk-go/releases/tag/v3.22.0 - .
1610+
1611+
## 2025-02-03 21:27:32
1612+
### Changes
1613+
Based on:
1614+
- OpenAPI Doc
1615+
- Speakeasy CLI 1.482.0 (2.500.5) https://github.com/speakeasy-api/speakeasy
1616+
### Generated
1617+
- [go v3.22.1] .
1618+
### Releases
1619+
- [Go v3.22.1] https://github.com/speakeasy-api/speakeasy-client-sdk-go/releases/tag/v3.22.1 - .

codeSamples.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ actions:
320320
x-codeSamples:
321321
- lang: go
322322
label: postWorkspaceEvents
323-
source: "package main\n\nimport(\n\t\"context\"\n\tspeakeasyclientsdkgo \"github.com/speakeasy-api/speakeasy-client-sdk-go/v3\"\n\t\"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/shared\"\n\t\"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/types\"\n\t\"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/operations\"\n\t\"log\"\n)\n\nfunc main() {\n ctx := context.Background()\n \n s := speakeasyclientsdkgo.New(\n speakeasyclientsdkgo.WithSecurity(shared.Security{\n APIKey: speakeasyclientsdkgo.String(\"<YOUR_API_KEY_HERE>\"),\n }),\n )\n\n res, err := s.Events.Post(ctx, operations.PostWorkspaceEventsRequest{\n WorkspaceID: speakeasyclientsdkgo.String(\"<id>\"),\n RequestBody: []shared.CliEvent{\n shared.CliEvent{\n ID: \"<id>\",\n ExecutionID: \"<id>\",\n WorkspaceID: \"<id>\",\n SpeakeasyAPIKeyName: \"<value>\",\n InteractionType: shared.InteractionTypeQuickstart,\n LocalStartedAt: types.MustTimeFromString(\"2024-09-08T05:59:33.876Z\"),\n CreatedAt: types.MustTimeFromString(\"2025-08-12T17:54:17.538Z\"),\n SpeakeasyVersion: \"<value>\",\n Success: true,\n },\n },\n })\n if err != nil {\n log.Fatal(err)\n }\n if res != nil {\n // handle response\n }\n}"
323+
source: "package main\n\nimport(\n\t\"context\"\n\tspeakeasyclientsdkgo \"github.com/speakeasy-api/speakeasy-client-sdk-go/v3\"\n\t\"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/shared\"\n\t\"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/types\"\n\t\"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/operations\"\n\t\"log\"\n)\n\nfunc main() {\n ctx := context.Background()\n \n s := speakeasyclientsdkgo.New(\n speakeasyclientsdkgo.WithSecurity(shared.Security{\n APIKey: speakeasyclientsdkgo.String(\"<YOUR_API_KEY_HERE>\"),\n }),\n )\n\n res, err := s.Events.Post(ctx, operations.PostWorkspaceEventsRequest{\n WorkspaceID: speakeasyclientsdkgo.String(\"<id>\"),\n RequestBody: []shared.CliEvent{\n shared.CliEvent{\n ID: \"<id>\",\n ExecutionID: \"<id>\",\n WorkspaceID: \"<id>\",\n SpeakeasyAPIKeyName: \"<value>\",\n InteractionType: shared.InteractionTypeRun,\n LocalStartedAt: types.MustTimeFromString(\"2024-09-08T05:59:33.876Z\"),\n CreatedAt: types.MustTimeFromString(\"2025-08-12T17:54:17.538Z\"),\n SpeakeasyVersion: \"<value>\",\n Success: true,\n },\n },\n })\n if err != nil {\n log.Fatal(err)\n }\n if res != nil {\n // handle response\n }\n}"
324324
- target: $["paths"]["/v1/workspace/{workspace_id}/events/targets"]["get"]
325325
update:
326326
x-codeSamples:

docs/pkg/models/shared/clievent.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
| `SpeakeasyAPIKeyName` | *string* | :heavy_check_mark: | Identifier of the Speakeasy API key. |
8282
| `SpeakeasyVersion` | *string* | :heavy_check_mark: | Version of the Speakeasy CLI. |
8383
| `Success` | *bool* | :heavy_check_mark: | Indicates whether the event was successful. |
84+
| `TestReportRaw` | **string* | :heavy_minus_sign: | The raw test report xml |
8485
| `WorkflowLockPostRaw` | **string* | :heavy_minus_sign: | Workflow lock file (post execution) |
8586
| `WorkflowLockPreRaw` | **string* | :heavy_minus_sign: | Workflow lock file (prior to execution) |
8687
| `WorkflowPostRaw` | **string* | :heavy_minus_sign: | Workflow file (post execution) |

docs/pkg/models/shared/interactiontype.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ Type of interaction.
1717
| `InteractionTypeQuickstart` | QUICKSTART |
1818
| `InteractionTypeRun` | RUN |
1919
| `InteractionTypeConfigure` | CONFIGURE |
20-
| `InteractionTypePublish` | PUBLISH |
20+
| `InteractionTypePublish` | PUBLISH |
21+
| `InteractionTypeTest` | TEST |

gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ generation:
1818
tests:
1919
generateNewTests: true
2020
go:
21-
version: 3.22.0
21+
version: 3.22.1
2222
additionalDependencies: {}
2323
allowUnknownFieldsInWeakUnions: false
2424
clientServerStatusCodesAsErrors: true

pkg/models/shared/clievent.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,8 @@ type CliEvent struct {
237237
SpeakeasyVersion string `json:"speakeasy_version"`
238238
// Indicates whether the event was successful.
239239
Success bool `json:"success"`
240+
// The raw test report xml
241+
TestReportRaw *string `json:"test_report_raw,omitempty"`
240242
// Workflow lock file (post execution)
241243
WorkflowLockPostRaw *string `json:"workflow_lock_post_raw,omitempty"`
242244
// Workflow lock file (prior to execution)
@@ -792,6 +794,13 @@ func (o *CliEvent) GetSuccess() bool {
792794
return o.Success
793795
}
794796

797+
func (o *CliEvent) GetTestReportRaw() *string {
798+
if o == nil {
799+
return nil
800+
}
801+
return o.TestReportRaw
802+
}
803+
795804
func (o *CliEvent) GetWorkflowLockPostRaw() *string {
796805
if o == nil {
797806
return nil

pkg/models/shared/interactiontype.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const (
2222
InteractionTypeRun InteractionType = "RUN"
2323
InteractionTypeConfigure InteractionType = "CONFIGURE"
2424
InteractionTypePublish InteractionType = "PUBLISH"
25+
InteractionTypeTest InteractionType = "TEST"
2526
)
2627

2728
func (e InteractionType) ToPointer() *InteractionType {
@@ -54,6 +55,8 @@ func (e *InteractionType) UnmarshalJSON(data []byte) error {
5455
case "CONFIGURE":
5556
fallthrough
5657
case "PUBLISH":
58+
fallthrough
59+
case "TEST":
5760
*e = InteractionType(v)
5861
return nil
5962
default:

speakeasy.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@ func New(opts ...SDKOption) *Speakeasy {
188188
sdkConfiguration: sdkConfiguration{
189189
Language: "go",
190190
OpenAPIDocVersion: "0.4.0",
191-
SDKVersion: "3.22.0",
191+
SDKVersion: "3.22.1",
192192
GenVersion: "2.500.5",
193-
UserAgent: "speakeasy-sdk/go 3.22.0 2.500.5 0.4.0 github.com/speakeasy-api/speakeasy-client-sdk-go",
193+
UserAgent: "speakeasy-sdk/go 3.22.1 2.500.5 0.4.0 github.com/speakeasy-api/speakeasy-client-sdk-go",
194194
Globals: globals.Globals{},
195195
Hooks: hooks.New(),
196196
},

0 commit comments

Comments
 (0)