Skip to content

Commit 7a8d914

Browse files
speakeasybotunclesp1d3r
authored andcommitted
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.352.2
1 parent 844b535 commit 7a8d914

Some content is hidden

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

50 files changed

+755
-594
lines changed

.speakeasy/gen.lock

+18-22
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 11fa8266-8454-49fd-ba7b-d5f8744980cc
33
management:
4-
docChecksum: b90f01c71af2cbcff5607b7118c89cd2
4+
docChecksum: e8cdc61afbd2d2702a781fb941e4b316
55
docVersion: "1.3"
6-
speakeasyVersion: 1.352.0
7-
generationVersion: 2.384.4
8-
releaseVersion: 0.7.1
9-
configChecksum: 426b4648f598171b63cb84d22614482f
6+
speakeasyVersion: 1.352.2
7+
generationVersion: 2.385.2
8+
releaseVersion: 0.7.2
9+
configChecksum: 2a85ef055c1fc2057a3b4cd0423d47f4
1010
repoURL: https://github.com/unclesp1d3r/cipherswarm-agent-sdk-go.git
1111
installationURL: https://github.com/unclesp1d3r/cipherswarm-agent-sdk-go
1212
features:
@@ -16,9 +16,9 @@ features:
1616
core: 3.5.3
1717
defaultEnabledRetries: 0.2.0
1818
downloadStreams: 0.1.1
19-
envVarSecurityUsage: 0.2.1
19+
envVarSecurityUsage: 0.2.2
2020
flattening: 2.81.1
21-
globalSecurity: 2.82.9
21+
globalSecurity: 2.82.10
2222
globalSecurityCallbacks: 0.1.0
2323
globalSecurityFlattening: 0.1.0
2424
globalServerURLs: 2.82.2
@@ -73,10 +73,7 @@ generatedFiles:
7373
- /models/operations/authenticate.go
7474
- /models/components/agent.go
7575
- /models/components/advancedagentconfiguration.go
76-
- /models/components/agentupdate.go
77-
- /models/components/agentheartbeatresponse.go
7876
- /models/components/hashcatbenchmark.go
79-
- /models/components/agenterror.go
8077
- /models/components/attack.go
8178
- /models/components/attackresourcefile.go
8279
- /models/components/crackerupdate.go
@@ -85,19 +82,24 @@ generatedFiles:
8582
- /models/components/taskstatus.go
8683
- /models/components/devicestatus.go
8784
- /models/components/hashcatguess.go
88-
- /models/components/agentconfiguration.go
89-
- /models/components/authenticationresult.go
9085
- /models/components/security.go
9186
- /models/sdkerrors/errorobject.go
92-
- /models/sdkerrors/stateerror.go
87+
- /models/sdkerrors/settaskabandoned.go
9388
- docs/models/operations/getagentrequest.md
9489
- docs/models/operations/getagentresponse.md
90+
- docs/models/operations/updateagentrequestbody.md
9591
- docs/models/operations/updateagentrequest.md
9692
- docs/models/operations/updateagentresponse.md
9793
- docs/models/operations/sendheartbeatrequest.md
94+
- docs/models/operations/state.md
95+
- docs/models/operations/sendheartbeatresponsebody.md
9896
- docs/models/operations/sendheartbeatresponse.md
97+
- docs/models/operations/submitbenchmarkrequestbody.md
9998
- docs/models/operations/submitbenchmarkrequest.md
10099
- docs/models/operations/submitbenchmarkresponse.md
100+
- docs/models/operations/metadata.md
101+
- docs/models/operations/severity.md
102+
- docs/models/operations/submiterroragentrequestbody.md
101103
- docs/models/operations/submiterroragentrequest.md
102104
- docs/models/operations/submiterroragentresponse.md
103105
- docs/models/operations/setagentshutdownrequest.md
@@ -123,18 +125,14 @@ generatedFiles:
123125
- docs/models/operations/settaskabandonedresponse.md
124126
- docs/models/operations/gettaskzapsrequest.md
125127
- docs/models/operations/gettaskzapsresponse.md
128+
- docs/models/operations/getconfigurationresponsebody.md
126129
- docs/models/operations/getconfigurationresponse.md
130+
- docs/models/operations/authenticateresponsebody.md
127131
- docs/models/operations/authenticateresponse.md
128132
- docs/models/components/state.md
129133
- docs/models/components/agent.md
130134
- docs/models/components/advancedagentconfiguration.md
131-
- docs/models/components/agentupdate.md
132-
- docs/models/components/agentheartbeatresponsestate.md
133-
- docs/models/components/agentheartbeatresponse.md
134135
- docs/models/components/hashcatbenchmark.md
135-
- docs/models/components/metadata.md
136-
- docs/models/components/severity.md
137-
- docs/models/components/agenterror.md
138136
- docs/models/components/attackmode.md
139137
- docs/models/components/attack.md
140138
- docs/models/components/attackresourcefile.md
@@ -145,11 +143,9 @@ generatedFiles:
145143
- docs/models/components/devicetype.md
146144
- docs/models/components/devicestatus.md
147145
- docs/models/components/hashcatguess.md
148-
- docs/models/components/agentconfiguration.md
149-
- docs/models/components/authenticationresult.md
150146
- docs/models/components/security.md
151147
- docs/models/sdkerrors/errorobject.md
152-
- docs/models/sdkerrors/stateerror.md
148+
- docs/models/sdkerrors/settaskabandonedresponsebody.md
153149
- docs/sdks/cipherswarmagentsdk/README.md
154150
- docs/models/operations/option.md
155151
- docs/sdks/agents/README.md

.speakeasy/gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ generation:
1212
auth:
1313
oAuth2ClientCredentialsEnabled: false
1414
go:
15-
version: 0.7.1
15+
version: 0.7.2
1616
additionalDependencies: {}
1717
allowUnknownFieldsInWeakUnions: false
1818
clientServerStatusCodesAsErrors: true

.speakeasy/workflow.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
speakeasyVersion: 1.352.0
1+
speakeasyVersion: 1.352.2
22
sources:
33
CipherSwarm_agent_api:
44
sourceNamespace: cipher-swarm-agent-api
5-
sourceRevisionDigest: sha256:c298197dd994bbdaf29725c390f8a6642d7f03e6e07eadb944a8dcdc95b77165
6-
sourceBlobDigest: sha256:32522191212aa107c9fcc87ae70e02609e793f6a2ad33d70ca80bf88785bc36a
5+
sourceRevisionDigest: sha256:5bb80e535683ace0c88ede03a4f370d010292ebefb82fbc518aff581c84d5a7e
6+
sourceBlobDigest: sha256:fd8413e001849053099da154c3c8c1a5622c46d685ac624d6e63e302d0d5b212
77
tags:
88
- latest
99
- main
1010
targets:
1111
golang-sdk:
1212
source: CipherSwarm_agent_api
1313
sourceNamespace: cipher-swarm-agent-api
14-
sourceRevisionDigest: sha256:c298197dd994bbdaf29725c390f8a6642d7f03e6e07eadb944a8dcdc95b77165
15-
sourceBlobDigest: sha256:32522191212aa107c9fcc87ae70e02609e793f6a2ad33d70ca80bf88785bc36a
14+
sourceRevisionDigest: sha256:5bb80e535683ace0c88ede03a4f370d010292ebefb82fbc518aff581c84d5a7e
15+
sourceBlobDigest: sha256:fd8413e001849053099da154c3c8c1a5622c46d685ac624d6e63e302d0d5b212
1616
outLocation: /github/workspace/repo
1717
workflow:
1818
workflowVersion: 1.0.0

README.md

+8-15
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,11 @@ import (
4040
"context"
4141
cipherswarmagentsdkgo "github.com/unclesp1d3r/cipherswarm-agent-sdk-go"
4242
"log"
43-
"os"
4443
)
4544

4645
func main() {
4746
s := cipherswarmagentsdkgo.New(
48-
cipherswarmagentsdkgo.WithSecurity(os.Getenv("BEARER_AUTH")),
47+
cipherswarmagentsdkgo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
4948
)
5049
var id int64 = 135003
5150
ctx := context.Background()
@@ -69,7 +68,7 @@ func main() {
6968
* [GetAgent](docs/sdks/agents/README.md#getagent) - Gets an instance of an agent
7069
* [UpdateAgent](docs/sdks/agents/README.md#updateagent) - Updates the agent
7170
* [SendHeartbeat](docs/sdks/agents/README.md#sendheartbeat) - Send a heartbeat for an agent
72-
* [SubmitBenchmark](docs/sdks/agents/README.md#submitbenchmark) - submit_benchmark agent
71+
* [SubmitBenchmark](docs/sdks/agents/README.md#submitbenchmark) - submit agent benchmarks
7372
* [SubmitErrorAgent](docs/sdks/agents/README.md#submiterroragent) - Submit an error for an agent
7473
* [SetAgentShutdown](docs/sdks/agents/README.md#setagentshutdown) - shutdown agent
7574

@@ -120,12 +119,11 @@ import (
120119
cipherswarmagentsdkgo "github.com/unclesp1d3r/cipherswarm-agent-sdk-go"
121120
"github.com/unclesp1d3r/cipherswarm-agent-sdk-go/models/sdkerrors"
122121
"log"
123-
"os"
124122
)
125123

126124
func main() {
127125
s := cipherswarmagentsdkgo.New(
128-
cipherswarmagentsdkgo.WithSecurity(os.Getenv("BEARER_AUTH")),
126+
cipherswarmagentsdkgo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
129127
)
130128
var id int64 = 135003
131129
ctx := context.Background()
@@ -170,13 +168,12 @@ import (
170168
"context"
171169
cipherswarmagentsdkgo "github.com/unclesp1d3r/cipherswarm-agent-sdk-go"
172170
"log"
173-
"os"
174171
)
175172

176173
func main() {
177174
s := cipherswarmagentsdkgo.New(
178175
cipherswarmagentsdkgo.WithServerIndex(1),
179-
cipherswarmagentsdkgo.WithSecurity(os.Getenv("BEARER_AUTH")),
176+
cipherswarmagentsdkgo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
180177
)
181178
var id int64 = 135003
182179
ctx := context.Background()
@@ -208,13 +205,12 @@ import (
208205
"context"
209206
cipherswarmagentsdkgo "github.com/unclesp1d3r/cipherswarm-agent-sdk-go"
210207
"log"
211-
"os"
212208
)
213209

214210
func main() {
215211
s := cipherswarmagentsdkgo.New(
216212
cipherswarmagentsdkgo.WithServerURL("https://{defaultHost}"),
217-
cipherswarmagentsdkgo.WithSecurity(os.Getenv("BEARER_AUTH")),
213+
cipherswarmagentsdkgo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
218214
)
219215
var id int64 = 135003
220216
ctx := context.Background()
@@ -278,12 +274,11 @@ import (
278274
"context"
279275
cipherswarmagentsdkgo "github.com/unclesp1d3r/cipherswarm-agent-sdk-go"
280276
"log"
281-
"os"
282277
)
283278

284279
func main() {
285280
s := cipherswarmagentsdkgo.New(
286-
cipherswarmagentsdkgo.WithSecurity(os.Getenv("BEARER_AUTH")),
281+
cipherswarmagentsdkgo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
287282
)
288283
var id int64 = 135003
289284
ctx := context.Background()
@@ -320,12 +315,11 @@ import (
320315
"github.com/unclesp1d3r/cipherswarm-agent-sdk-go/retry"
321316
"log"
322317
"models/operations"
323-
"os"
324318
)
325319

326320
func main() {
327321
s := cipherswarmagentsdkgo.New(
328-
cipherswarmagentsdkgo.WithSecurity(os.Getenv("BEARER_AUTH")),
322+
cipherswarmagentsdkgo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
329323
)
330324
var id int64 = 135003
331325
ctx := context.Background()
@@ -359,7 +353,6 @@ import (
359353
cipherswarmagentsdkgo "github.com/unclesp1d3r/cipherswarm-agent-sdk-go"
360354
"github.com/unclesp1d3r/cipherswarm-agent-sdk-go/retry"
361355
"log"
362-
"os"
363356
)
364357

365358
func main() {
@@ -375,7 +368,7 @@ func main() {
375368
},
376369
RetryConnectionErrors: false,
377370
}),
378-
cipherswarmagentsdkgo.WithSecurity(os.Getenv("BEARER_AUTH")),
371+
cipherswarmagentsdkgo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
379372
)
380373
var id int64 = 135003
381374
ctx := context.Background()

RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -218,4 +218,14 @@ Based on:
218218
### Generated
219219
- [go v0.7.1] .
220220
### Releases
221-
- [Go v0.7.1] https://github.com/unclesp1d3r/cipherswarm-agent-sdk-go/releases/tag/v0.7.1 - .
221+
- [Go v0.7.1] https://github.com/unclesp1d3r/cipherswarm-agent-sdk-go/releases/tag/v0.7.1 - .
222+
223+
## 2024-08-06 00:16:51
224+
### Changes
225+
Based on:
226+
- OpenAPI Doc
227+
- Speakeasy CLI 1.352.2 (2.385.2) https://github.com/speakeasy-api/speakeasy
228+
### Generated
229+
- [go v0.7.2] .
230+
### Releases
231+
- [Go v0.7.2] https://github.com/unclesp1d3r/cipherswarm-agent-sdk-go/releases/tag/v0.7.2 - .

USAGE.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@ import (
66
"context"
77
cipherswarmagentsdkgo "github.com/unclesp1d3r/cipherswarm-agent-sdk-go"
88
"log"
9-
"os"
109
)
1110

1211
func main() {
1312
s := cipherswarmagentsdkgo.New(
14-
cipherswarmagentsdkgo.WithSecurity(os.Getenv("BEARER_AUTH")),
13+
cipherswarmagentsdkgo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
1514
)
1615
var id int64 = 135003
1716
ctx := context.Background()

0 commit comments

Comments
 (0)