Skip to content

Commit

Permalink
Merge pull request #25 from unkeyed/speakeasy-sdk-regen-1720512696
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate
  • Loading branch information
chronark authored Jul 9, 2024
2 parents 4c84d7b + 62e9d1a commit 2750d9e
Show file tree
Hide file tree
Showing 45 changed files with 3,028 additions and 49 deletions.
42 changes: 37 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 4fc4737a-135f-4840-8e6d-42a2b2a2884b
management:
docChecksum: 547602f40f6ad29534bfdf081cab8873
docChecksum: 0785f5659b7521373ececdc3425c7efc
docVersion: 1.0.0
speakeasyVersion: 1.326.0
generationVersion: 2.359.0
releaseVersion: 0.6.0
configChecksum: 2a6062478c58c77a364cffd8940a8f10
speakeasyVersion: 1.330.0
generationVersion: 2.361.10
releaseVersion: 0.6.1
configChecksum: b411f7847c3a11ea34842f8b693e6fd0
repoURL: https://github.com/unkeyed/unkey-go.git
installationURL: https://github.com/unkeyed/unkey-go
features:
Expand All @@ -32,6 +32,7 @@ generatedFiles:
- apis.go
- ratelimits.go
- migrations.go
- permissions.go
- unkey.go
- go.mod
- models/sdkerrors/sdkerror.go
Expand Down Expand Up @@ -67,6 +68,14 @@ generatedFiles:
- /models/operations/limit.go
- /models/operations/v1migrationscreatekeys.go
- /models/operations/v1migrationsenqueuekeys.go
- /models/operations/createpermission.go
- /models/operations/deletepermission.go
- /models/operations/getpermission.go
- /models/operations/listpermissions.go
- /models/operations/createrole.go
- /models/operations/deleterole.go
- /models/operations/getrole.go
- /models/operations/listroles.go
- /models/components/httpmetadata.go
- /models/components/key.go
- /models/components/v1keysverifykeyresponse.go
Expand Down Expand Up @@ -150,6 +159,28 @@ generatedFiles:
- docs/models/operations/v1migrationsenqueuekeysrequestbody.md
- docs/models/operations/v1migrationsenqueuekeysresponsebody.md
- docs/models/operations/v1migrationsenqueuekeysresponse.md
- docs/models/operations/createpermissionrequestbody.md
- docs/models/operations/createpermissionresponsebody.md
- docs/models/operations/createpermissionresponse.md
- docs/models/operations/deletepermissionrequestbody.md
- docs/models/operations/deletepermissionresponsebody.md
- docs/models/operations/deletepermissionresponse.md
- docs/models/operations/getpermissionrequest.md
- docs/models/operations/getpermissionresponsebody.md
- docs/models/operations/getpermissionresponse.md
- docs/models/operations/responsebody.md
- docs/models/operations/listpermissionsresponse.md
- docs/models/operations/createrolerequestbody.md
- docs/models/operations/createroleresponsebody.md
- docs/models/operations/createroleresponse.md
- docs/models/operations/deleterolerequestbody.md
- docs/models/operations/deleteroleresponsebody.md
- docs/models/operations/deleteroleresponse.md
- docs/models/operations/getrolerequest.md
- docs/models/operations/getroleresponsebody.md
- docs/models/operations/getroleresponse.md
- docs/models/operations/listrolesresponsebody.md
- docs/models/operations/listrolesresponse.md
- docs/models/components/httpmetadata.md
- docs/models/components/interval.md
- docs/models/components/refill.md
Expand Down Expand Up @@ -195,6 +226,7 @@ generatedFiles:
- docs/sdks/apis/README.md
- docs/sdks/ratelimits/README.md
- docs/sdks/migrations/README.md
- docs/sdks/permissions/README.md
- USAGE.md
- models/operations/options.go
- .gitattributes
Expand Down
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: true
go:
version: 0.6.0
version: 0.6.1
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.326.0
speakeasyVersion: 1.330.0
sources:
openapi.json:
sourceNamespace: openapi-json
sourceRevisionDigest: sha256:5755e12422b9cd83ab813c9d2ffd43a55d73bbbf981cbee7da4d4da7a0380903
sourceBlobDigest: sha256:ef83f05349e97390bd3543fff7b29fb47c0067e347d53e75922e5e1c52d2b721
sourceRevisionDigest: sha256:5c12bae1c724729db89b905ce8cd7d30451db13721149eeb41b5538b0b93c1c7
sourceBlobDigest: sha256:24b012a381daa90eac68b5fc3ece8c6ec87883249492f438d669096c27465776
tags:
- latest
- main
targets:
go:
source: openapi.json
sourceNamespace: openapi-json
sourceRevisionDigest: sha256:5755e12422b9cd83ab813c9d2ffd43a55d73bbbf981cbee7da4d4da7a0380903
sourceBlobDigest: sha256:ef83f05349e97390bd3543fff7b29fb47c0067e347d53e75922e5e1c52d2b721
sourceRevisionDigest: sha256:5c12bae1c724729db89b905ce8cd7d30451db13721149eeb41b5538b0b93c1c7
sourceBlobDigest: sha256:24b012a381daa90eac68b5fc3ece8c6ec87883249492f438d669096c27465776
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,17 @@ func main() {

* [V1MigrationsCreateKeys](docs/sdks/migrations/README.md#v1migrationscreatekeys)
* [V1MigrationsEnqueueKeys](docs/sdks/migrations/README.md#v1migrationsenqueuekeys)

### [Permissions](docs/sdks/permissions/README.md)

* [CreatePermission](docs/sdks/permissions/README.md#createpermission)
* [DeletePermission](docs/sdks/permissions/README.md#deletepermission)
* [GetPermission](docs/sdks/permissions/README.md#getpermission)
* [ListPermissions](docs/sdks/permissions/README.md#listpermissions)
* [CreateRole](docs/sdks/permissions/README.md#createrole)
* [DeleteRole](docs/sdks/permissions/README.md#deleterole)
* [GetRole](docs/sdks/permissions/README.md#getrole)
* [ListRoles](docs/sdks/permissions/README.md#listroles)
<!-- End Available Resources and Operations [operations] -->

<!-- Start Error Handling [errors] -->
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,14 @@ Based on:
### Generated
- [go v0.6.0] .
### Releases
- [Go v0.6.0] https://github.com/unkeyed/unkey-go/releases/tag/v0.6.0 - .
- [Go v0.6.0] https://github.com/unkeyed/unkey-go/releases/tag/v0.6.0 - .

## 2024-07-09 08:11:33
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.330.0 (2.361.10) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.6.1] .
### Releases
- [Go v0.6.1] https://github.com/unkeyed/unkey-go/releases/tag/v0.6.1 - .
4 changes: 3 additions & 1 deletion docs/models/components/code.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Possible values are:
- UNAUTHORIZED: the key is not authorized
- DISABLED: the key is disabled
- INSUFFICIENT_PERMISSIONS: you do not have the required permissions to perform this action
- EXPIRED: The key was only valid for a certain time and has expired.



Expand All @@ -24,4 +25,5 @@ Possible values are:
| `CodeRateLimited` | RATE_LIMITED |
| `CodeUnauthorized` | UNAUTHORIZED |
| `CodeDisabled` | DISABLED |
| `CodeInsufficientPermissions` | INSUFFICIENT_PERMISSIONS |
| `CodeInsufficientPermissions` | INSUFFICIENT_PERMISSIONS |
| `CodeExpired` | EXPIRED |
Loading

0 comments on commit 2750d9e

Please sign in to comment.