Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.313.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot authored and srenatus committed Jun 21, 2024
1 parent f6c6040 commit 4becbaa
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 25 deletions.
10 changes: 5 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ id: 2f8b2839-3001-46b4-b5e0-cec0aad583ed
management:
docChecksum: a34bd1c885aa42eb3175940494581f67
docVersion: 0.2.0
speakeasyVersion: 1.310.0
generationVersion: 2.347.4
releaseVersion: 1.1.0
configChecksum: 99f65df66594ce7014329beac9e93535
speakeasyVersion: 1.313.0
generationVersion: 2.347.8
releaseVersion: 1.1.1
configChecksum: 137e51571db66a049a5a162e1c1d744b
repoURL: https://github.com/StyraInc/opa-typescript.git
installationURL: https://github.com/StyraInc/opa-typescript
published: true
features:
typescript:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.5
core: 3.10.0
core: 3.10.1
examples: 2.81.4
flattening: 2.81.1
globalSecurityCallbacks: 0.1.0
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: false
typescript:
version: 1.1.0
version: 1.1.1
additionalDependencies:
dependencies: {}
devDependencies:
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
speakeasyVersion: 1.310.0
speakeasyVersion: 1.313.0
sources:
openapi:
sourceNamespace: openapi
sourceRevisionDigest: sha256:d96661aa54221239a15b7346fc50ae57d6a4a7043bad06e4d609155b92aa78e8
sourceBlobDigest: sha256:75900bae2bb57a2616bcac901573f87dcfeb3126903bcd8ab54b5365d77293eb
sourceRevisionDigest: sha256:cd8d910f3124c8e7824d22499f712ec07963b37bdeb413e87c6f971bfe83a84d
sourceBlobDigest: sha256:ce2ca6d4477613df234466d897ba0c2109b7fbe349050721af70047a3236f8a3
tags:
- latest
- sr-prep-regen
- main
targets:
first-target:
source: openapi
sourceNamespace: openapi
sourceRevisionDigest: sha256:d96661aa54221239a15b7346fc50ae57d6a4a7043bad06e4d609155b92aa78e8
sourceBlobDigest: sha256:75900bae2bb57a2616bcac901573f87dcfeb3126903bcd8ab54b5365d77293eb
sourceRevisionDigest: sha256:cd8d910f3124c8e7824d22499f712ec07963b37bdeb413e87c6f971bfe83a84d
sourceBlobDigest: sha256:ce2ca6d4477613df234466d897ba0c2109b7fbe349050721af70047a3236f8a3
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,4 +308,14 @@ Based on:
### Generated
- [typescript v1.1.0] .
### Releases
- [NPM v1.1.0] https://www.npmjs.com/package/@styra/opa/v/1.1.0 - .
- [NPM v1.1.0] https://www.npmjs.com/package/@styra/opa/v/1.1.0 - .

## 2024-06-21 00:14:51
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.313.0 (2.347.8) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v1.1.1] .
### Releases
- [NPM v1.1.1] https://www.npmjs.com/package/@styra/opa/v/1.1.1 - .
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
"name": "@styra/opa",
"version": "1.1.0",
"version": "1.1.1",
"exports": {
".": "./src/index.ts",
"./sdk/models/errors": "./src/sdk/models/errors/index.ts",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@styra/opa",
"version": "1.1.0",
"version": "1.1.1",
"author": "Styra",
"license": "Apache-2.0",
"main": "./index.js",
Expand Down
6 changes: 3 additions & 3 deletions src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = {
language: "typescript",
openapiDocVersion: "0.2.0",
sdkVersion: "1.1.0",
genVersion: "2.347.4",
userAgent: "speakeasy-sdk/typescript 1.1.0 2.347.4 0.2.0 @styra/opa",
sdkVersion: "1.1.1",
genVersion: "2.347.8",
userAgent: "speakeasy-sdk/typescript 1.1.1 2.347.8 0.2.0 @styra/opa",
} as const;
10 changes: 5 additions & 5 deletions src/sdk/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ export class OpaApiClient extends ClientSDK {
key: "result",
})
.json([400, 404], errors.ClientError$, { err: true })
.fail(["4XX", "5XX"])
.json(500, errors.ServerError$, { err: true })
.fail(["4XX", "5XX"])
.match(response, request$, { extraFields: responseFields$ });

return result$;
Expand Down Expand Up @@ -176,8 +176,8 @@ export class OpaApiClient extends ClientSDK {
key: "SuccessfulPolicyResponse",
})
.json(400, errors.ClientError$, { err: true })
.fail(["4XX", "5XX"])
.json(500, errors.ServerError$, { err: true })
.fail(["4XX", "5XX"])
.match(response, request$, { extraFields: responseFields$ });

return result$;
Expand Down Expand Up @@ -256,8 +256,8 @@ export class OpaApiClient extends ClientSDK {
key: "SuccessfulPolicyResponse",
})
.json(400, errors.ClientError$, { err: true })
.fail(["4XX", "5XX"])
.json(500, errors.ServerError$, { err: true })
.fail(["4XX", "5XX"])
.match(response, request$, { extraFields: responseFields$ });

return result$;
Expand Down Expand Up @@ -340,8 +340,8 @@ export class OpaApiClient extends ClientSDK {
key: "BatchMixedResults",
})
.json(400, errors.ClientError$, { err: true })
.fail(["4XX", "5XX"])
.json(500, errors.BatchServerError$, { err: true })
.fail(["4XX", "5XX"])
.match(response, request$, { extraFields: responseFields$ });

return result$;
Expand Down Expand Up @@ -400,8 +400,8 @@ export class OpaApiClient extends ClientSDK {

const [result$] = await this.matcher<operations.HealthResponse>()
.json(200, operations.HealthResponse$, { key: "HealthyServer" })
.fail(["4XX", "5XX"])
.json(500, errors.UnhealthyServer$, { err: true })
.fail(["4XX", "5XX"])
.match(response, request$, { extraFields: responseFields$ });

return result$;
Expand Down

0 comments on commit 4becbaa

Please sign in to comment.