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

Commit dd967f8

Browse files
speakeasybotsrenatus
authored andcommitted
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.293.0
1 parent 1903082 commit dd967f8

33 files changed

+441
-192
lines changed

.speakeasy/gen.lock

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
lockVersion: 2.0.0
22
id: 2f8b2839-3001-46b4-b5e0-cec0aad583ed
33
management:
4-
docChecksum: 2422daf10293e923232daf08349ae0ae
4+
docChecksum: 11b8c1e1d3f9d5dab18c36b33f81200d
55
docVersion: 0.2.0
6-
speakeasyVersion: 1.286.0
7-
generationVersion: 2.326.3
8-
releaseVersion: 0.5.0
9-
configChecksum: 12a2529c34d131d1a3a61086b3fd32dc
6+
speakeasyVersion: 1.293.0
7+
generationVersion: 2.332.4
8+
releaseVersion: 0.5.1
9+
configChecksum: 5ea23efcac3db3f0cb4f3d224b01ba0e
1010
repoURL: https://github.com/StyraInc/opa-typescript.git
1111
installationURL: https://github.com/StyraInc/opa-typescript
1212
published: true
1313
features:
1414
typescript:
1515
additionalDependencies: 0.1.0
1616
constsAndDefaults: 0.1.5
17-
core: 3.9.3
17+
core: 3.9.4
1818
examples: 2.81.4
1919
flattening: 2.81.1
2020
globalSecurityCallbacks: 0.1.0
@@ -40,20 +40,22 @@ generatedFiles:
4040
- src/sdk/models/errors/sdkerror.ts
4141
- src/sdk/models/errors/sdkvalidationerror.ts
4242
- src/types/blobs.ts
43+
- src/types/enums.ts
4344
- src/types/index.ts
4445
- src/types/operations.ts
4546
- src/types/rfcdate.ts
4647
- tsconfig.json
48+
- src/sdk/models/operations/executedefaultpolicywithinput.ts
4749
- src/sdk/models/operations/executepolicy.ts
4850
- src/sdk/models/operations/executepolicywithinput.ts
4951
- src/sdk/models/operations/health.ts
50-
- src/sdk/models/components/successfulpolicyevaluation.ts
51-
- src/sdk/models/components/provenance.ts
5252
- src/sdk/models/components/result.ts
5353
- src/sdk/models/components/httpmetadata.ts
54-
- src/sdk/models/components/explain.ts
55-
- src/sdk/models/components/gzipacceptencoding.ts
5654
- src/sdk/models/components/input.ts
55+
- src/sdk/models/components/gzipacceptencoding.ts
56+
- src/sdk/models/components/successfulpolicyevaluation.ts
57+
- src/sdk/models/components/provenance.ts
58+
- src/sdk/models/components/explain.ts
5759
- src/sdk/models/components/gzipcontentencoding.ts
5860
- src/sdk/models/components/healthyserver.ts
5961
- src/sdk/models/errors/clienterror.ts
@@ -62,21 +64,23 @@ generatedFiles:
6264
- src/sdk/models/errors/index.ts
6365
- src/sdk/models/operations/index.ts
6466
- src/sdk/models/components/index.ts
67+
- docs/sdk/models/operations/executedefaultpolicywithinputrequest.md
68+
- docs/sdk/models/operations/executedefaultpolicywithinputresponse.md
6569
- docs/sdk/models/operations/executepolicyrequest.md
6670
- docs/sdk/models/operations/executepolicyresponse.md
6771
- docs/sdk/models/operations/executepolicywithinputrequestbody.md
6872
- docs/sdk/models/operations/executepolicywithinputrequest.md
6973
- docs/sdk/models/operations/executepolicywithinputresponse.md
7074
- docs/sdk/models/operations/healthrequest.md
7175
- docs/sdk/models/operations/healthresponse.md
76+
- docs/sdk/models/components/result.md
77+
- docs/sdk/models/components/httpmetadata.md
78+
- docs/sdk/models/components/input.md
79+
- docs/sdk/models/components/gzipacceptencoding.md
7280
- docs/sdk/models/components/successfulpolicyevaluation.md
7381
- docs/sdk/models/components/revision.md
7482
- docs/sdk/models/components/provenance.md
75-
- docs/sdk/models/components/result.md
76-
- docs/sdk/models/components/httpmetadata.md
7783
- docs/sdk/models/components/explain.md
78-
- docs/sdk/models/components/gzipacceptencoding.md
79-
- docs/sdk/models/components/input.md
8084
- docs/sdk/models/components/gzipcontentencoding.md
8185
- docs/sdk/models/components/healthyserver.md
8286
- docs/sdk/models/errors/location.md

.speakeasy/gen.yaml

Lines changed: 1 addition & 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.5.0
15+
version: 0.5.1
1616
additionalDependencies:
1717
dependencies: {}
1818
devDependencies:

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
speakeasyVersion: 1.286.0
1+
speakeasyVersion: 1.293.0
22
sources:
33
openapi:
44
sourceNamespace: openapi
5-
sourceRevisionDigest: sha256:a533ab22170eaa56a25bda5a6ea2b4ce81e458a192b449c4f2d3b2e0041b19ac
6-
sourceBlobDigest: sha256:2e4510c88bf40f5ebe1982d8a370214696a9eaa4b11a656b904a93c3e4788325
5+
sourceRevisionDigest: sha256:525244aea6bce23b1309d123c8aca1693eb1ec2931c744fdf553d4374e5a3b71
6+
sourceBlobDigest: sha256:a059f7f288eead2c5670cfde37182a57b94fe3a18782e292f3a8b4b97524e7c3
77
tags:
88
- latest
99
- main
1010
targets:
1111
first-target:
1212
source: openapi
1313
sourceNamespace: openapi
14-
sourceRevisionDigest: sha256:a533ab22170eaa56a25bda5a6ea2b4ce81e458a192b449c4f2d3b2e0041b19ac
15-
sourceBlobDigest: sha256:2e4510c88bf40f5ebe1982d8a370214696a9eaa4b11a656b904a93c3e4788325
14+
sourceRevisionDigest: sha256:525244aea6bce23b1309d123c8aca1693eb1ec2931c744fdf553d4374e5a3b71
15+
sourceBlobDigest: sha256:a059f7f288eead2c5670cfde37182a57b94fe3a18782e292f3a8b4b97524e7c3
1616
outLocation: /github/workspace/repo
1717
workflow:
1818
workflowVersion: 1.0.0

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ We've removed most of the auto-generated Speakeasy examples because they generat
267267

268268
### [OpaApiClient SDK](docs/sdks/opaapiclient/README.md)
269269

270+
* [executeDefaultPolicyWithInput](docs/sdks/opaapiclient/README.md#executedefaultpolicywithinput) - Execute the default decision given an input
270271
* [executePolicy](docs/sdks/opaapiclient/README.md#executepolicy) - Execute a policy
271272
* [executePolicyWithInput](docs/sdks/opaapiclient/README.md#executepolicywithinput) - Execute a policy given an input
272273
* [health](docs/sdks/opaapiclient/README.md#health) - Verify the server is operational

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,14 @@ Based on:
198198
### Generated
199199
- [typescript v0.5.0] .
200200
### Releases
201-
- [NPM v0.5.0] https://www.npmjs.com/package/@styra/opa/v/0.5.0 - .
201+
- [NPM v0.5.0] https://www.npmjs.com/package/@styra/opa/v/0.5.0 - .
202+
203+
## 2024-05-17 00:14:36
204+
### Changes
205+
Based on:
206+
- OpenAPI Doc
207+
- Speakeasy CLI 1.293.0 (2.332.4) https://github.com/speakeasy-api/speakeasy
208+
### Generated
209+
- [typescript v0.5.1] .
210+
### Releases
211+
- [NPM v0.5.1] https://www.npmjs.com/package/@styra/opa/v/0.5.1 - .

USAGE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
11
<!-- Start SDK Example Usage [usage] -->
2+
```typescript
3+
import { OpaApiClient } from "@styra/opa";
4+
import { GzipAcceptEncoding } from "@styra/opa/sdk/models/components";
5+
6+
const opaApiClient = new OpaApiClient();
7+
8+
async function run() {
9+
const result = await opaApiClient.executeDefaultPolicyWithInput(
10+
8203.11,
11+
false,
12+
GzipAcceptEncoding.Gzip
13+
);
14+
15+
// Handle the result
16+
console.log(result);
17+
}
18+
19+
run();
20+
21+
```
22+
223
```typescript
324
import { OpaApiClient } from "@styra/opa";
425

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# ExecuteDefaultPolicyWithInputRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `input` | *components.Input* | :heavy_check_mark: | The input document |
9+
| `pretty` | *boolean* | :heavy_minus_sign: | If parameter is `true`, response will formatted for humans. |
10+
| `acceptEncoding` | [components.GzipAcceptEncoding](../../../sdk/models/components/gzipacceptencoding.md) | :heavy_minus_sign: | Indicates the server should respond with a gzip encoded body. The server will send the compressed response only if its length is above `server.encoding.gzip.min_length` value. See the configuration section |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# ExecuteDefaultPolicyWithInputResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `httpMeta` | [components.HTTPMetadata](../../../sdk/models/components/httpmetadata.md) | :heavy_check_mark: | N/A |
9+
| `result` | *components.Result* | :heavy_minus_sign: | Success.<br/>Evaluating the default policy has the same response behavior as a successful policy evaluation, but with only the result as the response.<br/> |
10+
| `headers` | Record<string, *string*[]> | :heavy_check_mark: | N/A |

0 commit comments

Comments
 (0)