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

Commit 1903082

Browse files
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.286.0 (#60)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent 387fe71 commit 1903082

File tree

12 files changed

+76
-41
lines changed

12 files changed

+76
-41
lines changed

.speakeasy/gen.lock

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,25 @@ id: 2f8b2839-3001-46b4-b5e0-cec0aad583ed
33
management:
44
docChecksum: 2422daf10293e923232daf08349ae0ae
55
docVersion: 0.2.0
6-
speakeasyVersion: 1.277.1
7-
generationVersion: 2.317.0
8-
releaseVersion: 0.4.2
9-
configChecksum: 79144134c7663495fdf07e9a4393b783
6+
speakeasyVersion: 1.286.0
7+
generationVersion: 2.326.3
8+
releaseVersion: 0.5.0
9+
configChecksum: 12a2529c34d131d1a3a61086b3fd32dc
1010
repoURL: https://github.com/StyraInc/opa-typescript.git
1111
installationURL: https://github.com/StyraInc/opa-typescript
1212
published: true
1313
features:
1414
typescript:
15+
additionalDependencies: 0.1.0
1516
constsAndDefaults: 0.1.5
16-
core: 3.9.2
17-
examples: 2.81.3
17+
core: 3.9.3
18+
examples: 2.81.4
1819
flattening: 2.81.1
20+
globalSecurityCallbacks: 0.1.0
1921
globalServerURLs: 2.82.4
2022
responseFormat: 0.2.3
21-
unions: 2.85.3
23+
sdkHooks: 0.1.0
24+
unions: 2.85.4
2225
generatedFiles:
2326
- src/sdk/sdk.ts
2427
- RUNTIMES.md

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ generation:
1212
auth:
1313
oAuth2ClientCredentialsEnabled: false
1414
typescript:
15-
version: 0.4.2
15+
version: 0.5.0
1616
additionalDependencies:
1717
dependencies: {}
1818
devDependencies:
@@ -39,6 +39,7 @@ typescript:
3939
webhooks: sdk/models/webhooks
4040
inputModelSuffix: input
4141
maxMethodParams: 4
42+
methodArguments: require-security-and-request
4243
outputModelSuffix: output
4344
packageName: '@styra/opa'
4445
responseFormat: envelope-http

.speakeasy/workflow.lock

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
1-
speakeasyVersion: 1.277.1
1+
speakeasyVersion: 1.286.0
22
sources:
3-
openapi: {}
3+
openapi:
4+
sourceNamespace: openapi
5+
sourceRevisionDigest: sha256:a533ab22170eaa56a25bda5a6ea2b4ce81e458a192b449c4f2d3b2e0041b19ac
6+
sourceBlobDigest: sha256:2e4510c88bf40f5ebe1982d8a370214696a9eaa4b11a656b904a93c3e4788325
7+
tags:
8+
- latest
9+
- main
410
targets:
511
first-target:
612
source: openapi
13+
sourceNamespace: openapi
14+
sourceRevisionDigest: sha256:a533ab22170eaa56a25bda5a6ea2b4ce81e458a192b449c4f2d3b2e0041b19ac
15+
sourceBlobDigest: sha256:2e4510c88bf40f5ebe1982d8a370214696a9eaa4b11a656b904a93c3e4788325
716
outLocation: /github/workspace/repo
817
workflow:
918
workflowVersion: 1.0.0
@@ -12,6 +21,8 @@ workflow:
1221
openapi:
1322
inputs:
1423
- location: https://raw.githubusercontent.com/StyraInc/enterprise-opa/main/openapi/openapi.yaml
24+
registry:
25+
location: registry.speakeasyapi.dev/styra/styra/openapi
1526
targets:
1627
first-target:
1728
target: typescript

.speakeasy/workflow.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ sources:
44
openapi:
55
inputs:
66
- location: https://raw.githubusercontent.com/StyraInc/enterprise-opa/main/openapi/openapi.yaml
7+
registry:
8+
location: registry.speakeasyapi.dev/styra/styra/openapi
79
targets:
810
first-target:
911
target: typescript

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,4 +188,14 @@ Based on:
188188
### Generated
189189
- [typescript v0.4.2] .
190190
### Releases
191-
- [NPM v0.4.2] https://www.npmjs.com/package/@styra/opa/v/0.4.2 - .
191+
- [NPM v0.4.2] https://www.npmjs.com/package/@styra/opa/v/0.4.2 - .
192+
193+
## 2024-05-13 00:15:08
194+
### Changes
195+
Based on:
196+
- OpenAPI Doc
197+
- Speakeasy CLI 1.286.0 (2.326.3) https://github.com/speakeasy-api/speakeasy
198+
### Generated
199+
- [typescript v0.5.0] .
200+
### Releases
201+
- [NPM v0.5.0] https://www.npmjs.com/package/@styra/opa/v/0.5.0 - .

docs/sdks/opaapiclient/README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,9 @@ import { OpaApiClient } from "@styra/opa";
112112
const opaApiClient = new OpaApiClient();
113113

114114
async function run() {
115-
const bundles = false;
116-
const plugins = false;
117-
const excludePlugin = [
115+
const result = await opaApiClient.health(false, false, [
118116
"<value>",
119-
];
120-
121-
const result = await opaApiClient.health(bundles, plugins, excludePlugin);
117+
]);
122118

123119
// Handle the result
124120
console.log(result)

jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{
44
"name": "@styra/opa",
5-
"version": "0.4.2",
5+
"version": "0.5.0",
66
"exports": {
77
".": "./src/index.ts",
88
"./sdk/models/errors": "./src/sdk/models/errors/index.ts",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@styra/opa",
3-
"version": "0.4.2",
3+
"version": "0.5.0",
44
"author": "Styra",
55
"main": "./index.js",
66
"sideEffects": false,

src/lib/config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
5252
export const SDK_METADATA = {
5353
language: "typescript",
5454
openapiDocVersion: "0.2.0",
55-
sdkVersion: "0.4.2",
56-
genVersion: "2.317.0",
57-
userAgent: "speakeasy-sdk/typescript 0.4.2 2.317.0 0.2.0 @styra/opa",
55+
sdkVersion: "0.5.0",
56+
genVersion: "2.326.3",
57+
userAgent: "speakeasy-sdk/typescript 0.5.0 2.326.3 0.2.0 @styra/opa",
5858
} as const;

0 commit comments

Comments
 (0)