Skip to content

Commit 3822c3f

Browse files
committedApr 30, 2024
ci: regenerated with OpenAPI Doc 0.4.0 ., Speakeasy CLI 1.277.0
1 parent c8edc2b commit 3822c3f

17 files changed

+6899
-1179
lines changed
 

‎.speakeasy/gen.lock

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 89968bf0-a755-4d50-9acb-d47410010f05
33
management:
4-
docChecksum: 0df832386c1fcd5f74fb87fea6d0e2b7
4+
docChecksum: e87f7661ef116d09df25c842b1032981
55
docVersion: 0.4.0 .
6-
speakeasyVersion: 1.269.1
7-
generationVersion: 2.312.1
8-
releaseVersion: 3.2.8
9-
configChecksum: 8f2a87c16fd4e0b246915cf2aca1efd1
6+
speakeasyVersion: 1.277.0
7+
generationVersion: 2.317.0
8+
releaseVersion: 3.2.9
9+
configChecksum: 9ddbd175460e245720d00fa873a01975
1010
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-typescript.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-typescript
@@ -99,10 +99,10 @@ generatedFiles:
9999
- src/sdk/models/operations/getembedaccesstoken.ts
100100
- src/sdk/models/operations/getvalidembedaccesstokens.ts
101101
- src/sdk/models/operations/revokeembedaccesstoken.ts
102-
- src/sdk/models/operations/getworkspaceevents.ts
103-
- src/sdk/models/operations/getworkspaceeventsbysourcerevisiondigest.ts
102+
- src/sdk/models/operations/getworkspaceeventsbytarget.ts
104103
- src/sdk/models/operations/getworkspacetargets.ts
105104
- src/sdk/models/operations/postworkspaceevents.ts
105+
- src/sdk/models/operations/searchworkspaceevents.ts
106106
- src/sdk/models/shared/error.ts
107107
- src/sdk/models/shared/generateopenapispecdiff.ts
108108
- src/sdk/models/shared/api.ts
@@ -236,14 +236,14 @@ generatedFiles:
236236
- docs/sdk/models/operations/getvalidembedaccesstokensresponse.md
237237
- docs/sdk/models/operations/revokeembedaccesstokenrequest.md
238238
- docs/sdk/models/operations/revokeembedaccesstokenresponse.md
239-
- docs/sdk/models/operations/getworkspaceeventsrequest.md
240-
- docs/sdk/models/operations/getworkspaceeventsresponse.md
241-
- docs/sdk/models/operations/getworkspaceeventsbysourcerevisiondigestrequest.md
242-
- docs/sdk/models/operations/getworkspaceeventsbysourcerevisiondigestresponse.md
239+
- docs/sdk/models/operations/getworkspaceeventsbytargetrequest.md
240+
- docs/sdk/models/operations/getworkspaceeventsbytargetresponse.md
243241
- docs/sdk/models/operations/getworkspacetargetsrequest.md
244242
- docs/sdk/models/operations/getworkspacetargetsresponse.md
245243
- docs/sdk/models/operations/postworkspaceeventsrequest.md
246244
- docs/sdk/models/operations/postworkspaceeventsresponse.md
245+
- docs/sdk/models/operations/searchworkspaceeventsrequest.md
246+
- docs/sdk/models/operations/searchworkspaceeventsresponse.md
247247
- docs/sdk/models/shared/errort.md
248248
- docs/sdk/models/shared/generateopenapispecdiff.md
249249
- docs/sdk/models/shared/api.md

‎README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ run();
131131

132132
### [events](docs/sdks/events/README.md)
133133

134-
* [getWorkspaceEvents](docs/sdks/events/README.md#getworkspaceevents) - Load recent events for a particular workspace
135-
* [getWorkspaceEventsBySourceRevisionDigest](docs/sdks/events/README.md#getworkspaceeventsbysourcerevisiondigest) - Load events for a particular workspace and source revision digest
134+
* [getWorkspaceEventsByTarget](docs/sdks/events/README.md#getworkspaceeventsbytarget) - Load recent events for a particular workspace
136135
* [getWorkspaceTargets](docs/sdks/events/README.md#getworkspacetargets) - Load targets for a particular workspace
137136
* [postWorkspaceEvents](docs/sdks/events/README.md#postworkspaceevents) - Post events for a specific workspace
137+
* [searchWorkspaceEvents](docs/sdks/events/README.md#searchworkspaceevents) - Search events for a particular workspace by any field
138138
<!-- End Available Resources and Operations [operations] -->
139139

140140

@@ -327,7 +327,7 @@ run();
327327

328328
A parameter is configured globally. This parameter may be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, This global value will be used as the default on the operations that use it. When such operations are called, there is a place in each to override the global value, if needed.
329329

330-
For example, you can set `workspaceID` to `"<value>"` at SDK initialization and then you do not have to pass the same value on calls to operations like `getWorkspaceEvents`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
330+
For example, you can set `workspaceID` to `"<value>"` at SDK initialization and then you do not have to pass the same value on calls to operations like `getWorkspaceEventsByTarget`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
331331

332332

333333
### Available Globals
@@ -352,7 +352,9 @@ async function run() {
352352
workspaceID: "<value>",
353353
});
354354

355-
const res = await sdk.events.getWorkspaceEvents({});
355+
const res = await sdk.events.getWorkspaceEventsByTarget({
356+
targetID: "<value>",
357+
});
356358

357359
if (res.statusCode == 200) {
358360
// handle response

‎RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -1406,4 +1406,14 @@ Based on:
14061406
### Generated
14071407
- [typescript v3.2.8] .
14081408
### Releases
1409-
- [NPM v3.2.8] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/3.2.8 - .
1409+
- [NPM v3.2.8] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/3.2.8 - .
1410+
1411+
## 2024-04-30 00:11:08
1412+
### Changes
1413+
Based on:
1414+
- OpenAPI Doc 0.4.0 . https://docs.speakeasyapi.dev/openapi.yaml
1415+
- Speakeasy CLI 1.277.0 (2.317.0) https://github.com/speakeasy-api/speakeasy
1416+
### Generated
1417+
- [typescript v3.2.9] .
1418+
### Releases
1419+
- [NPM v3.2.9] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/3.2.9 - .

‎docs/sdk/models/operations/getworkspaceeventsbysourcerevisiondigestrequest.md

-9
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# GetWorkspaceEventsRequest
1+
# GetWorkspaceEventsByTargetRequest
22

33

44
## Fields
55

66
| Field | Type | Required | Description |
77
| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
88
| `afterCreatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Filter to only return events created after this timestamp |
9-
| `generateGenLockId` | *string* | :heavy_minus_sign: | Filter to only return events corresponding to a particular gen_lock_id (gen_lock_id uniquely identifies a target) |
9+
| `targetID` | *string* | :heavy_check_mark: | Filter to only return events corresponding to a particular gen_lock_id (gen_lock_id uniquely identifies a target) |
1010
| `workspaceID` | *string* | :heavy_minus_sign: | Unique identifier of the workspace. |

‎docs/sdk/models/operations/getworkspaceeventsbysourcerevisiondigestresponse.md ‎docs/sdk/models/operations/getworkspaceeventsbytargetresponse.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# GetWorkspaceEventsBySourceRevisionDigestResponse
1+
# GetWorkspaceEventsByTargetResponse
22

33

44
## Fields
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# SearchWorkspaceEventsRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- |
8+
| `lintReportDigest` | *string* | :heavy_minus_sign: | Unique identifier of the lint report digest. |
9+
| `openapiDiffReportDigest` | *string* | :heavy_minus_sign: | Unique identifier of the openapi diff report digest. |
10+
| `sourceRevisionDigest` | *string* | :heavy_minus_sign: | Unique identifier of the source revision digest. |
11+
| `workspaceID` | *string* | :heavy_minus_sign: | Unique identifier of the workspace. |

‎docs/sdk/models/operations/getworkspaceeventsresponse.md ‎docs/sdk/models/operations/searchworkspaceeventsresponse.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# GetWorkspaceEventsResponse
1+
# SearchWorkspaceEventsResponse
22

33

44
## Fields

0 commit comments

Comments
 (0)