Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.348.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot authored and unclesp1d3r committed Jul 29, 2024
1 parent b5b6fc3 commit b6eb681
Show file tree
Hide file tree
Showing 77 changed files with 597 additions and 141 deletions.
17 changes: 11 additions & 6 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
lockVersion: 2.0.0
id: 11fa8266-8454-49fd-ba7b-d5f8744980cc
management:
docChecksum: 4f728fefb6d3bc4a3331bcf2a2dad6a0
docChecksum: e2bae62cd19e38c86351424f287fb7ea
docVersion: "1.3"
speakeasyVersion: 1.331.0
generationVersion: 2.365.0
releaseVersion: 0.6.0
configChecksum: c349820837324f5ec68751c8c5ba4b9b
speakeasyVersion: 1.348.1
generationVersion: 2.380.1
releaseVersion: 0.7.0
configChecksum: cf090c9c452654109f57cc3ecdb0b7aa
repoURL: https://github.com/unclesp1d3r/cipherswarm-agent-sdk-go.git
installationURL: https://github.com/unclesp1d3r/cipherswarm-agent-sdk-go
features:
go:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.4
core: 3.4.15
core: 3.5.2
defaultEnabledRetries: 0.2.0
downloadStreams: 0.1.1
envVarSecurityUsage: 0.2.1
flattening: 2.81.1
globalSecurity: 2.82.9
globalSecurityCallbacks: 0.1.0
Expand Down Expand Up @@ -67,6 +68,7 @@ generatedFiles:
- /models/operations/settaskaccepted.go
- /models/operations/settaskexhausted.go
- /models/operations/settaskabandoned.go
- /models/operations/gettaskzaps.go
- /models/operations/getconfiguration.go
- /models/operations/authenticate.go
- /models/components/agent.go
Expand Down Expand Up @@ -119,6 +121,8 @@ generatedFiles:
- docs/models/operations/settaskexhaustedresponse.md
- docs/models/operations/settaskabandonedrequest.md
- docs/models/operations/settaskabandonedresponse.md
- docs/models/operations/gettaskzapsrequest.md
- docs/models/operations/gettaskzapsresponse.md
- docs/models/operations/getconfigurationresponse.md
- docs/models/operations/authenticateresponse.md
- docs/models/components/state.md
Expand Down Expand Up @@ -157,3 +161,4 @@ generatedFiles:
- models/operations/options.go
- .gitattributes
- internal/hooks/hooks.go
- CONTRIBUTING.md
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
go:
version: 0.6.0
version: 0.7.0
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
clientServerStatusCodesAsErrors: true
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
speakeasyVersion: 1.331.0
speakeasyVersion: 1.348.1
sources:
CipherSwarm_agent_api:
sourceNamespace: cipher-swarm-agent-api
sourceRevisionDigest: sha256:cdd03cc7830e50a6c5179264b899606b575587c335906a465b83378d7ae052fe
sourceBlobDigest: sha256:170ff52a6a51d8d42511f411476e5e72d3c481ba33cb4df82c22f1d214b3fbff
sourceRevisionDigest: sha256:5ed855a34cf9f1791eb784f9623e79df08508dc4dc8a04c9f2241905ce87e875
sourceBlobDigest: sha256:1635d1c112ed51dd58062a41a8ffc1265645254059be6b24dfc24e8d44f00d7d
tags:
- latest
- main
targets:
golang-sdk:
source: CipherSwarm_agent_api
sourceNamespace: cipher-swarm-agent-api
sourceRevisionDigest: sha256:cdd03cc7830e50a6c5179264b899606b575587c335906a465b83378d7ae052fe
sourceBlobDigest: sha256:170ff52a6a51d8d42511f411476e5e72d3c481ba33cb4df82c22f1d214b3fbff
sourceRevisionDigest: sha256:5ed855a34cf9f1791eb784f9623e79df08508dc4dc8a04c9f2241905ce87e875
sourceBlobDigest: sha256:1635d1c112ed51dd58062a41a8ffc1265645254059be6b24dfc24e8d44f00d7d
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
Expand Down
26 changes: 26 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Contributing to This Repository

Thank you for your interest in contributing to this repository. Please note that this repository contains generated code. As such, we do not accept direct changes or pull requests. Instead, we encourage you to follow the guidelines below to report issues and suggest improvements.

## How to Report Issues

If you encounter any bugs or have suggestions for improvements, please open an issue on GitHub. When reporting an issue, please provide as much detail as possible to help us reproduce the problem. This includes:

- A clear and descriptive title
- Steps to reproduce the issue
- Expected and actual behavior
- Any relevant logs, screenshots, or error messages
- Information about your environment (e.g., operating system, software versions)
- For example can be collected using the `npx envinfo` command from your terminal if you have Node.js installed

## Issue Triage and Upstream Fixes

We will review and triage issues as quickly as possible. Our goal is to address bugs and incorporate improvements in the upstream source code. Fixes will be included in the next generation of the generated code.

## Contact

If you have any questions or need further assistance, please feel free to reach out by opening an issue.

Thank you for your understanding and cooperation!

The Maintainers
22 changes: 15 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@ import (
"context"
cipherswarmagentsdkgo "github.com/unclesp1d3r/cipherswarm-agent-sdk-go"
"log"
"os"
)

func main() {
s := cipherswarmagentsdkgo.New(
cipherswarmagentsdkgo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
cipherswarmagentsdkgo.WithSecurity(os.Getenv("BEARER_AUTH")),
)
var id int64 = 135003
ctx := context.Background()
Expand Down Expand Up @@ -90,6 +91,7 @@ func main() {
* [SetTaskAccepted](docs/sdks/tasks/README.md#settaskaccepted) - Accept Task
* [SetTaskExhausted](docs/sdks/tasks/README.md#settaskexhausted) - Notify of Exhausted Task
* [SetTaskAbandoned](docs/sdks/tasks/README.md#settaskabandoned) - Abandon Task
* [GetTaskZaps](docs/sdks/tasks/README.md#gettaskzaps) - Get Completed Hashes

### [Client](docs/sdks/client/README.md)

Expand Down Expand Up @@ -118,11 +120,12 @@ import (
cipherswarmagentsdkgo "github.com/unclesp1d3r/cipherswarm-agent-sdk-go"
"github.com/unclesp1d3r/cipherswarm-agent-sdk-go/models/sdkerrors"
"log"
"os"
)

func main() {
s := cipherswarmagentsdkgo.New(
cipherswarmagentsdkgo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
cipherswarmagentsdkgo.WithSecurity(os.Getenv("BEARER_AUTH")),
)
var id int64 = 135003
ctx := context.Background()
Expand Down Expand Up @@ -167,12 +170,13 @@ import (
"context"
cipherswarmagentsdkgo "github.com/unclesp1d3r/cipherswarm-agent-sdk-go"
"log"
"os"
)

func main() {
s := cipherswarmagentsdkgo.New(
cipherswarmagentsdkgo.WithServerIndex(1),
cipherswarmagentsdkgo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
cipherswarmagentsdkgo.WithSecurity(os.Getenv("BEARER_AUTH")),
)
var id int64 = 135003
ctx := context.Background()
Expand Down Expand Up @@ -204,12 +208,13 @@ import (
"context"
cipherswarmagentsdkgo "github.com/unclesp1d3r/cipherswarm-agent-sdk-go"
"log"
"os"
)

func main() {
s := cipherswarmagentsdkgo.New(
cipherswarmagentsdkgo.WithServerURL("https://{defaultHost}"),
cipherswarmagentsdkgo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
cipherswarmagentsdkgo.WithSecurity(os.Getenv("BEARER_AUTH")),
)
var id int64 = 135003
ctx := context.Background()
Expand Down Expand Up @@ -273,11 +278,12 @@ import (
"context"
cipherswarmagentsdkgo "github.com/unclesp1d3r/cipherswarm-agent-sdk-go"
"log"
"os"
)

func main() {
s := cipherswarmagentsdkgo.New(
cipherswarmagentsdkgo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
cipherswarmagentsdkgo.WithSecurity(os.Getenv("BEARER_AUTH")),
)
var id int64 = 135003
ctx := context.Background()
Expand Down Expand Up @@ -314,11 +320,12 @@ import (
"github.com/unclesp1d3r/cipherswarm-agent-sdk-go/retry"
"log"
"models/operations"
"os"
)

func main() {
s := cipherswarmagentsdkgo.New(
cipherswarmagentsdkgo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
cipherswarmagentsdkgo.WithSecurity(os.Getenv("BEARER_AUTH")),
)
var id int64 = 135003
ctx := context.Background()
Expand Down Expand Up @@ -352,6 +359,7 @@ import (
cipherswarmagentsdkgo "github.com/unclesp1d3r/cipherswarm-agent-sdk-go"
"github.com/unclesp1d3r/cipherswarm-agent-sdk-go/retry"
"log"
"os"
)

func main() {
Expand All @@ -367,7 +375,7 @@ func main() {
},
RetryConnectionErrors: false,
}),
cipherswarmagentsdkgo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
cipherswarmagentsdkgo.WithSecurity(os.Getenv("BEARER_AUTH")),
)
var id int64 = 135003
ctx := context.Background()
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,14 @@ Based on:
### Generated
- [go v0.6.0] .
### Releases
- [Go v0.6.0] https://github.com/unclesp1d3r/cipherswarm-agent-sdk-go/releases/tag/v0.6.0 - .
- [Go v0.6.0] https://github.com/unclesp1d3r/cipherswarm-agent-sdk-go/releases/tag/v0.6.0 - .

## 2024-07-29 23:18:08
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.348.1 (2.380.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.7.0] .
### Releases
- [Go v0.7.0] https://github.com/unclesp1d3r/cipherswarm-agent-sdk-go/releases/tag/v0.7.0 - .
3 changes: 2 additions & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ import (
"context"
cipherswarmagentsdkgo "github.com/unclesp1d3r/cipherswarm-agent-sdk-go"
"log"
"os"
)

func main() {
s := cipherswarmagentsdkgo.New(
cipherswarmagentsdkgo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
cipherswarmagentsdkgo.WithSecurity(os.Getenv("BEARER_AUTH")),
)
var id int64 = 135003
ctx := context.Background()
Expand Down
2 changes: 1 addition & 1 deletion agents.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package cipherswarmagentsdkgo

Expand Down
2 changes: 1 addition & 1 deletion attacks.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package cipherswarmagentsdkgo

Expand Down
8 changes: 4 additions & 4 deletions cipherswarmagentsdk.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package cipherswarmagentsdkgo

Expand Down Expand Up @@ -197,9 +197,9 @@ func New(opts ...SDKOption) *CipherSwarmAgentSDK {
sdkConfiguration: sdkConfiguration{
Language: "go",
OpenAPIDocVersion: "1.3",
SDKVersion: "0.6.0",
GenVersion: "2.365.0",
UserAgent: "speakeasy-sdk/go 0.6.0 2.365.0 1.3 github.com/unclesp1d3r/cipherswarm-agent-sdk-go",
SDKVersion: "0.7.0",
GenVersion: "2.380.1",
UserAgent: "speakeasy-sdk/go 0.7.0 2.380.1 1.3 github.com/unclesp1d3r/cipherswarm-agent-sdk-go",
ServerDefaults: []map[string]string{
{
"defaultHost": "www.example.com",
Expand Down
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package cipherswarmagentsdkgo

Expand Down
2 changes: 1 addition & 1 deletion crackers.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package cipherswarmagentsdkgo

Expand Down
8 changes: 8 additions & 0 deletions docs/models/operations/gettaskzapsrequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# GetTaskZapsRequest


## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `ID` | *int64* | :heavy_check_mark: | id |
11 changes: 11 additions & 0 deletions docs/models/operations/gettaskzapsresponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# GetTaskZapsResponse


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- |
| `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
| `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
| `RawResponse` | [*http.Response](https://pkg.go.dev/net/http#Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
| `ResponseStream` | *io.ReadCloser* | :heavy_minus_sign: | successful |
Loading

0 comments on commit b6eb681

Please sign in to comment.