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

Commit 0ccf4ff

Browse files
speakeasybotsrenatus
authored andcommitted
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.308.1
1 parent 43b3421 commit 0ccf4ff

38 files changed

+985
-65
lines changed

.speakeasy/gen.lock

Lines changed: 23 additions & 8 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: 11b8c1e1d3f9d5dab18c36b33f81200d
4+
docChecksum: a34bd1c885aa42eb3175940494581f67
55
docVersion: 0.2.0
6-
speakeasyVersion: 1.305.0
7-
generationVersion: 2.340.3
8-
releaseVersion: 1.0.2
9-
configChecksum: 1c8135d69f4f7bf4d8610cbbc17b7d42
6+
speakeasyVersion: 1.308.1
7+
generationVersion: 2.342.6
8+
releaseVersion: 1.0.3
9+
configChecksum: b23aba3030a7b74df6868b95ae2a9a3d
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.13
17+
core: 3.9.14
1818
examples: 2.81.4
1919
flattening: 2.81.1
2020
globalSecurityCallbacks: 0.1.0
@@ -50,18 +50,22 @@ generatedFiles:
5050
- src/sdk/models/operations/executedefaultpolicywithinput.ts
5151
- src/sdk/models/operations/executepolicy.ts
5252
- src/sdk/models/operations/executepolicywithinput.ts
53+
- src/sdk/models/operations/executebatchpolicywithinput.ts
5354
- src/sdk/models/operations/health.ts
5455
- src/sdk/models/components/result.ts
5556
- src/sdk/models/components/httpmetadata.ts
5657
- src/sdk/models/components/input.ts
5758
- src/sdk/models/components/gzipacceptencoding.ts
58-
- src/sdk/models/components/successfulpolicyevaluation.ts
59+
- src/sdk/models/components/successfulpolicyresponse.ts
5960
- src/sdk/models/components/provenance.ts
6061
- src/sdk/models/components/explain.ts
6162
- src/sdk/models/components/gzipcontentencoding.ts
63+
- src/sdk/models/components/batchmixedresults.ts
64+
- src/sdk/models/components/batchsuccessfulpolicyevaluation.ts
6265
- src/sdk/models/components/healthyserver.ts
6366
- src/sdk/models/errors/clienterror.ts
6467
- src/sdk/models/errors/servererror.ts
68+
- src/sdk/models/errors/batchservererror.ts
6569
- src/sdk/models/errors/unhealthyserver.ts
6670
- src/sdk/models/errors/index.ts
6771
- src/sdk/models/operations/index.ts
@@ -73,24 +77,35 @@ generatedFiles:
7377
- docs/sdk/models/operations/executepolicywithinputrequestbody.md
7478
- docs/sdk/models/operations/executepolicywithinputrequest.md
7579
- docs/sdk/models/operations/executepolicywithinputresponse.md
80+
- docs/sdk/models/operations/executebatchpolicywithinputrequestbody.md
81+
- docs/sdk/models/operations/executebatchpolicywithinputrequest.md
82+
- docs/sdk/models/operations/executebatchpolicywithinputresponse.md
7683
- docs/sdk/models/operations/healthrequest.md
7784
- docs/sdk/models/operations/healthresponse.md
7885
- docs/sdk/models/components/result.md
7986
- docs/sdk/models/components/httpmetadata.md
8087
- docs/sdk/models/components/input.md
8188
- docs/sdk/models/components/gzipacceptencoding.md
82-
- docs/sdk/models/components/successfulpolicyevaluation.md
89+
- docs/sdk/models/components/successfulpolicyresponse.md
8390
- docs/sdk/models/components/revision.md
8491
- docs/sdk/models/components/provenance.md
8592
- docs/sdk/models/components/explain.md
8693
- docs/sdk/models/components/gzipcontentencoding.md
94+
- docs/sdk/models/components/location.md
95+
- docs/sdk/models/components/errors.md
96+
- docs/sdk/models/components/servererror.md
97+
- docs/sdk/models/components/responsessuccessfulpolicyresponse.md
98+
- docs/sdk/models/components/responses.md
99+
- docs/sdk/models/components/batchmixedresults.md
100+
- docs/sdk/models/components/batchsuccessfulpolicyevaluation.md
87101
- docs/sdk/models/components/healthyserver.md
88102
- docs/sdk/models/errors/location.md
89103
- docs/sdk/models/errors/errors.md
90104
- docs/sdk/models/errors/clienterror.md
91105
- docs/sdk/models/errors/servererrorlocation.md
92106
- docs/sdk/models/errors/servererrorerrors.md
93107
- docs/sdk/models/errors/servererror.md
108+
- docs/sdk/models/errors/batchservererror.md
94109
- docs/sdk/models/errors/unhealthyserver.md
95110
- docs/sdks/opaapiclient/README.md
96111
- USAGE.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: 1.0.2
15+
version: 1.0.3
1616
additionalDependencies:
1717
dependencies: {}
1818
devDependencies:

.speakeasy/workflow.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ speakeasyVersion: 1.305.0
22
sources:
33
openapi:
44
sourceNamespace: openapi
5-
sourceRevisionDigest: sha256:9a15ec7e3a6fec85981dcbd567dd1354513dec181ce16d910cf942f72cd1143b
6-
sourceBlobDigest: sha256:2488306364e9a2389260ae2736991d7fe45dbbe54e9590935c09843697cfb064
5+
sourceRevisionDigest: sha256:037d00e9d093178fd49eb577779e2274c7991af4cd15055b4d1a66cb5d157642
6+
sourceBlobDigest: sha256:c945a8dba1782c98253a7dadfacf4ee47377535603ce4a11a93fb05031229f88
77
tags:
88
- latest
99
- main
1010
targets:
1111
first-target:
1212
source: openapi
1313
sourceNamespace: openapi
14-
sourceRevisionDigest: sha256:9a15ec7e3a6fec85981dcbd567dd1354513dec181ce16d910cf942f72cd1143b
15-
sourceBlobDigest: sha256:2488306364e9a2389260ae2736991d7fe45dbbe54e9590935c09843697cfb064
14+
sourceRevisionDigest: sha256:037d00e9d093178fd49eb577779e2274c7991af4cd15055b4d1a66cb5d157642
15+
sourceBlobDigest: sha256:c945a8dba1782c98253a7dadfacf4ee47377535603ce4a11a93fb05031229f88
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
@@ -268,6 +268,7 @@ We've removed most of the auto-generated Speakeasy examples because they generat
268268
* [executeDefaultPolicyWithInput](docs/sdks/opaapiclient/README.md#executedefaultpolicywithinput) - Execute the default decision given an input
269269
* [executePolicy](docs/sdks/opaapiclient/README.md#executepolicy) - Execute a policy
270270
* [executePolicyWithInput](docs/sdks/opaapiclient/README.md#executepolicywithinput) - Execute a policy given an input
271+
* [executeBatchPolicyWithInput](docs/sdks/opaapiclient/README.md#executebatchpolicywithinput) - Execute a policy given a batch of inputs
271272
* [health](docs/sdks/opaapiclient/README.md#health) - Verify the server is operational
272273
<!-- End Available Resources and Operations [operations] -->
273274

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,4 +278,14 @@ Based on:
278278
### Generated
279279
- [typescript v1.0.2] .
280280
### Releases
281-
- [NPM v1.0.2] https://www.npmjs.com/package/@styra/opa/v/1.0.2 - .
281+
- [NPM v1.0.2] https://www.npmjs.com/package/@styra/opa/v/1.0.2 - .
282+
283+
## 2024-06-17 00:15:53
284+
### Changes
285+
Based on:
286+
- OpenAPI Doc
287+
- Speakeasy CLI 1.308.1 (2.342.6) https://github.com/speakeasy-api/speakeasy
288+
### Generated
289+
- [typescript v1.0.3] .
290+
### Releases
291+
- [NPM v1.0.3] https://www.npmjs.com/package/@styra/opa/v/1.0.3 - .

USAGE.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,28 @@ async function run() {
3939

4040
run();
4141

42+
```
43+
44+
```typescript
45+
import { OpaApiClient } from "@styra/opa";
46+
47+
const opaApiClient = new OpaApiClient();
48+
49+
async function run() {
50+
const result = await opaApiClient.executeBatchPolicyWithInput({
51+
path: "app/rbac",
52+
requestBody: {
53+
inputs: {
54+
key: "<value>",
55+
},
56+
},
57+
});
58+
59+
// Handle the result
60+
console.log(result);
61+
}
62+
63+
run();
64+
4265
```
4366
<!-- End SDK Example Usage [usage] -->
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# BatchMixedResults
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `batchDecisionId` | *string* | :heavy_minus_sign: | N/A |
9+
| `metrics` | Record<string, *any*> | :heavy_minus_sign: | If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps. |
10+
| `responses` | Record<string, *components.Responses*> | :heavy_minus_sign: | N/A |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# BatchSuccessfulPolicyEvaluation
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `batchDecisionId` | *string* | :heavy_minus_sign: | N/A | 1bef6b7d-cd13-4890-bfe1-fd2e8de32189 |
9+
| `metrics` | Record<string, *any*> | :heavy_minus_sign: | If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps. | |
10+
| `responses` | Record<string, [components.SuccessfulPolicyResponse](../../../sdk/models/components/successfulpolicyresponse.md)> | :heavy_minus_sign: | N/A | |

docs/sdk/models/components/errors.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Errors
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- |
8+
| `code` | *string* | :heavy_check_mark: | N/A |
9+
| `message` | *string* | :heavy_check_mark: | N/A |
10+
| `location` | [components.Location](../../../sdk/models/components/location.md) | :heavy_minus_sign: | N/A |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Location
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------ | ------------------ | ------------------ | ------------------ |
8+
| `file` | *string* | :heavy_check_mark: | N/A |
9+
| `row` | *number* | :heavy_check_mark: | N/A |
10+
| `col` | *number* | :heavy_check_mark: | N/A |

0 commit comments

Comments
 (0)