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

Commit bc15388

Browse files
speakeasybotsrenatus
authored andcommitted
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.318.0
1 parent c84d878 commit bc15388

29 files changed

+400
-326
lines changed

.speakeasy/gen.lock

+24-24
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 2f8b2839-3001-46b4-b5e0-cec0aad583ed
33
management:
4-
docChecksum: a34bd1c885aa42eb3175940494581f67
4+
docChecksum: 04bb432e6968396053d9d2ec5b5ff933
55
docVersion: 0.2.0
6-
speakeasyVersion: 1.314.2
7-
generationVersion: 2.349.6
8-
releaseVersion: 1.1.2
9-
configChecksum: b9ed006f3f4253857f003f21786aad3b
6+
speakeasyVersion: 1.318.0
7+
generationVersion: 2.352.0
8+
releaseVersion: 1.1.3
9+
configChecksum: 0fb5e87d7a937b67b9c25494586477f6
1010
repoURL: https://github.com/StyraInc/opa-typescript.git
1111
installationURL: https://github.com/StyraInc/opa-typescript
1212
published: true
@@ -49,65 +49,65 @@ generatedFiles:
4949
- src/types/rfcdate.ts
5050
- tsconfig.json
5151
- src/sdk/models/operations/executedefaultpolicywithinput.ts
52+
- src/sdk/models/operations/health.ts
53+
- src/sdk/models/operations/executebatchpolicywithinput.ts
5254
- src/sdk/models/operations/executepolicy.ts
5355
- src/sdk/models/operations/executepolicywithinput.ts
54-
- src/sdk/models/operations/executebatchpolicywithinput.ts
55-
- src/sdk/models/operations/health.ts
5656
- src/sdk/models/components/result.ts
5757
- src/sdk/models/components/httpmetadata.ts
5858
- src/sdk/models/components/input.ts
5959
- src/sdk/models/components/gzipacceptencoding.ts
60-
- src/sdk/models/components/successfulpolicyresponse.ts
60+
- src/sdk/models/components/healthyserver.ts
61+
- src/sdk/models/components/batchmixedresults.ts
6162
- src/sdk/models/components/provenance.ts
63+
- src/sdk/models/components/batchsuccessfulpolicyevaluation.ts
64+
- src/sdk/models/components/successfulpolicyresponse.ts
6265
- src/sdk/models/components/explain.ts
6366
- src/sdk/models/components/gzipcontentencoding.ts
64-
- src/sdk/models/components/batchmixedresults.ts
65-
- src/sdk/models/components/batchsuccessfulpolicyevaluation.ts
66-
- src/sdk/models/components/healthyserver.ts
6767
- src/sdk/models/errors/clienterror.ts
6868
- src/sdk/models/errors/servererror.ts
69-
- src/sdk/models/errors/batchservererror.ts
7069
- src/sdk/models/errors/unhealthyserver.ts
70+
- src/sdk/models/errors/batchservererror.ts
7171
- src/sdk/models/errors/index.ts
7272
- src/sdk/models/operations/index.ts
7373
- src/sdk/models/components/index.ts
7474
- docs/sdk/models/operations/executedefaultpolicywithinputrequest.md
7575
- docs/sdk/models/operations/executedefaultpolicywithinputresponse.md
76+
- docs/sdk/models/operations/healthrequest.md
77+
- docs/sdk/models/operations/healthresponse.md
78+
- docs/sdk/models/operations/executebatchpolicywithinputrequestbody.md
79+
- docs/sdk/models/operations/executebatchpolicywithinputrequest.md
80+
- docs/sdk/models/operations/executebatchpolicywithinputresponse.md
7681
- docs/sdk/models/operations/executepolicyrequest.md
7782
- docs/sdk/models/operations/executepolicyresponse.md
7883
- docs/sdk/models/operations/executepolicywithinputrequestbody.md
7984
- docs/sdk/models/operations/executepolicywithinputrequest.md
8085
- docs/sdk/models/operations/executepolicywithinputresponse.md
81-
- docs/sdk/models/operations/executebatchpolicywithinputrequestbody.md
82-
- docs/sdk/models/operations/executebatchpolicywithinputrequest.md
83-
- docs/sdk/models/operations/executebatchpolicywithinputresponse.md
84-
- docs/sdk/models/operations/healthrequest.md
85-
- docs/sdk/models/operations/healthresponse.md
8686
- docs/sdk/models/components/result.md
8787
- docs/sdk/models/components/httpmetadata.md
8888
- docs/sdk/models/components/input.md
8989
- docs/sdk/models/components/gzipacceptencoding.md
90-
- docs/sdk/models/components/successfulpolicyresponse.md
91-
- docs/sdk/models/components/revision.md
92-
- docs/sdk/models/components/provenance.md
93-
- docs/sdk/models/components/explain.md
94-
- docs/sdk/models/components/gzipcontentencoding.md
90+
- docs/sdk/models/components/healthyserver.md
9591
- docs/sdk/models/components/location.md
9692
- docs/sdk/models/components/errors.md
9793
- docs/sdk/models/components/servererror.md
9894
- docs/sdk/models/components/responsessuccessfulpolicyresponse.md
9995
- docs/sdk/models/components/responses.md
10096
- docs/sdk/models/components/batchmixedresults.md
97+
- docs/sdk/models/components/revision.md
98+
- docs/sdk/models/components/provenance.md
10199
- docs/sdk/models/components/batchsuccessfulpolicyevaluation.md
102-
- docs/sdk/models/components/healthyserver.md
100+
- docs/sdk/models/components/successfulpolicyresponse.md
101+
- docs/sdk/models/components/explain.md
102+
- docs/sdk/models/components/gzipcontentencoding.md
103103
- docs/sdk/models/errors/location.md
104104
- docs/sdk/models/errors/errors.md
105105
- docs/sdk/models/errors/clienterror.md
106106
- docs/sdk/models/errors/servererrorlocation.md
107107
- docs/sdk/models/errors/servererrorerrors.md
108108
- docs/sdk/models/errors/servererror.md
109-
- docs/sdk/models/errors/batchservererror.md
110109
- docs/sdk/models/errors/unhealthyserver.md
110+
- docs/sdk/models/errors/batchservererror.md
111111
- docs/sdks/opaapiclient/README.md
112112
- USAGE.md
113113
- .gitattributes

.speakeasy/gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ generation:
1212
auth:
1313
oAuth2ClientCredentialsEnabled: false
1414
typescript:
15-
version: 1.1.2
15+
version: 1.1.3
1616
additionalDependencies:
1717
dependencies: {}
1818
devDependencies:

.speakeasy/workflow.lock

+8-6
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
speakeasyVersion: 1.314.2
1+
speakeasyVersion: 1.318.0
22
sources:
33
openapi:
44
sourceNamespace: openapi
5-
sourceRevisionDigest: sha256:44803b9388b3eb8b9feff9dcb2d9d7bc6b937da1b30a80d4cdc18364dd3bf213
6-
sourceBlobDigest: sha256:aafd63401c6a16756222e997560cfc95822cdc1bd0d288653bece39534f5424a
5+
sourceRevisionDigest: sha256:49c204baa834f49dc7939553e11a3a8664891ba0bd57bdf9757d0cc631673dfe
6+
sourceBlobDigest: sha256:409be84cbd5aff4097f6c56d9ff4fb30a531a8c1da05581bbab8ee735274aaad
77
tags:
88
- latest
9-
- main
9+
- sr-batch-eval
1010
targets:
1111
first-target:
1212
source: openapi
1313
sourceNamespace: openapi
14-
sourceRevisionDigest: sha256:44803b9388b3eb8b9feff9dcb2d9d7bc6b937da1b30a80d4cdc18364dd3bf213
15-
sourceBlobDigest: sha256:aafd63401c6a16756222e997560cfc95822cdc1bd0d288653bece39534f5424a
14+
sourceRevisionDigest: sha256:49c204baa834f49dc7939553e11a3a8664891ba0bd57bdf9757d0cc631673dfe
15+
sourceBlobDigest: sha256:409be84cbd5aff4097f6c56d9ff4fb30a531a8c1da05581bbab8ee735274aaad
1616
outLocation: /github/workspace/repo
1717
workflow:
1818
workflowVersion: 1.0.0
@@ -21,6 +21,8 @@ workflow:
2121
openapi:
2222
inputs:
2323
- location: https://raw.githubusercontent.com/StyraInc/enterprise-opa/main/openapi/openapi.yaml
24+
overlays:
25+
- location: ./.speakeasy/overlay.yaml
2426
registry:
2527
location: registry.speakeasyapi.dev/styra/styra/openapi
2628
targets:

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,10 @@ We've removed most of the auto-generated Speakeasy examples because they generat
282282
### [OpaApiClient SDK](docs/sdks/opaapiclient/README.md)
283283

284284
* [executeDefaultPolicyWithInput](docs/sdks/opaapiclient/README.md#executedefaultpolicywithinput) - Execute the default decision given an input
285+
* [health](docs/sdks/opaapiclient/README.md#health) - Verify the server is operational
286+
* [executeBatchPolicyWithInput](docs/sdks/opaapiclient/README.md#executebatchpolicywithinput) - Execute a policy given a batch of inputs
285287
* [executePolicy](docs/sdks/opaapiclient/README.md#executepolicy) - Execute a policy
286288
* [executePolicyWithInput](docs/sdks/opaapiclient/README.md#executepolicywithinput) - Execute a policy given an input
287-
* [executeBatchPolicyWithInput](docs/sdks/opaapiclient/README.md#executebatchpolicywithinput) - Execute a policy given a batch of inputs
288-
* [health](docs/sdks/opaapiclient/README.md#health) - Verify the server is operational
289289
<!-- End Available Resources and Operations [operations] -->
290290

291291
<!-- No Error Handling [errors] -->

RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -328,4 +328,14 @@ Based on:
328328
### Generated
329329
- [typescript v1.1.2] .
330330
### Releases
331-
- [NPM v1.1.2] https://www.npmjs.com/package/@styra/opa/v/1.1.2 - .
331+
- [NPM v1.1.2] https://www.npmjs.com/package/@styra/opa/v/1.1.2 - .
332+
333+
## 2024-06-26 07:18:28
334+
### Changes
335+
Based on:
336+
- OpenAPI Doc
337+
- Speakeasy CLI 1.318.0 (2.352.0) https://github.com/speakeasy-api/speakeasy
338+
### Generated
339+
- [typescript v1.1.3] .
340+
### Releases
341+
- [NPM v1.1.3] https://www.npmjs.com/package/@styra/opa/v/1.1.3 - .

USAGE.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ import { OpaApiClient } from "@styra/opa";
2626
const opaApiClient = new OpaApiClient();
2727

2828
async function run() {
29-
const result = await opaApiClient.executePolicyWithInput({
29+
const result = await opaApiClient.executeBatchPolicyWithInput({
3030
path: "app/rbac",
3131
requestBody: {
32-
input: false,
32+
inputs: {
33+
key: "<value>",
34+
},
3335
},
3436
});
3537

@@ -47,12 +49,10 @@ import { OpaApiClient } from "@styra/opa";
4749
const opaApiClient = new OpaApiClient();
4850

4951
async function run() {
50-
const result = await opaApiClient.executeBatchPolicyWithInput({
52+
const result = await opaApiClient.executePolicyWithInput({
5153
path: "app/rbac",
5254
requestBody: {
53-
inputs: {
54-
key: "<value>",
55-
},
55+
input: false,
5656
},
5757
});
5858

docs/sdk/models/components/errors.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
| Field | Type | Required | Description |
77
| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- |
88
| `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 |
9+
| `location` | [components.Location](../../../sdk/models/components/location.md) | :heavy_minus_sign: | N/A |
10+
| `message` | *string* | :heavy_check_mark: | N/A |

docs/sdk/models/components/location.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
| Field | Type | Required | Description |
77
| ------------------ | ------------------ | ------------------ | ------------------ |
8+
| `col` | *number* | :heavy_check_mark: | N/A |
89
| `file` | *string* | :heavy_check_mark: | N/A |
9-
| `row` | *number* | :heavy_check_mark: | N/A |
10-
| `col` | *number* | :heavy_check_mark: | N/A |
10+
| `row` | *number* | :heavy_check_mark: | N/A |

docs/sdk/models/components/provenance.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Provenance information can be requested on individual API calls and are returned
77

88
| Field | Type | Required | Description |
99
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
10-
| `version` | *string* | :heavy_minus_sign: | N/A |
1110
| `buildCommit` | *string* | :heavy_minus_sign: | N/A |
12-
| `buildTimestamp` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
1311
| `buildHost` | *string* | :heavy_minus_sign: | N/A |
14-
| `bundles` | Record<string, [components.Revision](../../../sdk/models/components/revision.md)> | :heavy_minus_sign: | N/A |
12+
| `buildTimestamp` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
13+
| `bundles` | Record<string, [components.Revision](../../../sdk/models/components/revision.md)> | :heavy_minus_sign: | N/A |
14+
| `version` | *string* | :heavy_minus_sign: | N/A |

0 commit comments

Comments
 (0)