Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 553412d

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.542.3
1 parent 546c50c commit 553412d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1054
-125
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
**/.speakeasy/temp/
2+
**/.speakeasy/logs/
13
.speakeasy/temp/
24
.DS_Store
35
/mcp-server

.speakeasy/gen.lock

Lines changed: 37 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
lockVersion: 2.0.0
22
id: 2d20490e-9921-47d5-9711-d3c4b91c8cfa
33
management:
4-
docChecksum: 4176402366efeec23c4b3f61ca7ba496
4+
docChecksum: 6807571eaff6a3b2c28643bd219cfea1
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.540.1
7-
generationVersion: 2.593.4
8-
releaseVersion: 0.11.1
9-
configChecksum: acfee2af79162315c728a31ed2310615
6+
speakeasyVersion: 1.542.3
7+
generationVersion: 2.597.9
8+
releaseVersion: 0.11.2
9+
configChecksum: 2452bd68f14270dd418f1efde42bf089
1010
repoURL: https://github.com/s2-streamstore/s2-sdk-typescript.git
1111
installationURL: https://github.com/s2-streamstore/s2-sdk-typescript
1212
published: true
1313
features:
1414
typescript:
1515
additionalDependencies: 0.1.0
1616
constsAndDefaults: 0.1.11
17-
core: 3.21.6
17+
core: 3.21.7
1818
defaultEnabledRetries: 0.1.0
1919
devContainers: 2.90.0
2020
enumUnions: 0.1.0
@@ -49,6 +49,7 @@ generatedFiles:
4949
- docs/models/components/basinreconfiguration.md
5050
- docs/models/components/basinscope.md
5151
- docs/models/components/basinstate.md
52+
- docs/models/components/checktailresponse.md
5253
- docs/models/components/createbasinrequest.md
5354
- docs/models/components/exact.md
5455
- docs/models/components/issueaccesstokenresponse.md
@@ -67,9 +68,14 @@ generatedFiles:
6768
- docs/models/components/storageclass.md
6869
- docs/models/components/streamconfig.md
6970
- docs/models/components/streaminfo.md
71+
- docs/models/components/streamposition.md
7072
- docs/models/components/streamreconfiguration.md
73+
- docs/models/components/timestampingconfig.md
74+
- docs/models/components/timestampingmode.md
75+
- docs/models/components/timestampingreconfiguration.md
7176
- docs/models/errors/errorresponse.md
7277
- docs/models/errors/retryableerror.md
78+
- docs/models/operations/checktailrequest.md
7379
- docs/models/operations/createorreconfigurebasinrequest.md
7480
- docs/models/operations/createorreconfigurestreamrequest.md
7581
- docs/models/operations/deletebasinrequest.md
@@ -86,6 +92,7 @@ generatedFiles:
8692
- docs/models/operations/revokeaccesstokenrequest.md
8793
- docs/sdks/accesstokens/README.md
8894
- docs/sdks/basins/README.md
95+
- docs/sdks/records/README.md
8996
- docs/sdks/s2/README.md
9097
- docs/sdks/streams/README.md
9198
- eslint.config.mjs
@@ -100,6 +107,7 @@ generatedFiles:
100107
- src/funcs/basinsGetBasinConfig.ts
101108
- src/funcs/basinsListBasins.ts
102109
- src/funcs/basinsReconfigureBasin.ts
110+
- src/funcs/recordsCheckTail.ts
103111
- src/funcs/streamsCreateOrReconfigureStream.ts
104112
- src/funcs/streamsDeleteStream.ts
105113
- src/funcs/streamsGetStreamConfig.ts
@@ -146,6 +154,7 @@ generatedFiles:
146154
- src/mcp-server/tools/basinsGetBasinConfig.ts
147155
- src/mcp-server/tools/basinsListBasins.ts
148156
- src/mcp-server/tools/basinsReconfigureBasin.ts
157+
- src/mcp-server/tools/recordsCheckTail.ts
149158
- src/mcp-server/tools/streamsCreateOrReconfigureStream.ts
150159
- src/mcp-server/tools/streamsDeleteStream.ts
151160
- src/mcp-server/tools/streamsGetStreamConfig.ts
@@ -158,6 +167,7 @@ generatedFiles:
158167
- src/models/components/basinreconfiguration.ts
159168
- src/models/components/basinscope.ts
160169
- src/models/components/basinstate.ts
170+
- src/models/components/checktailresponse.ts
161171
- src/models/components/createbasinrequest.ts
162172
- src/models/components/index.ts
163173
- src/models/components/issueaccesstokenresponse.ts
@@ -173,13 +183,18 @@ generatedFiles:
173183
- src/models/components/storageclass.ts
174184
- src/models/components/streamconfig.ts
175185
- src/models/components/streaminfo.ts
186+
- src/models/components/streamposition.ts
176187
- src/models/components/streamreconfiguration.ts
188+
- src/models/components/timestampingconfig.ts
189+
- src/models/components/timestampingmode.ts
190+
- src/models/components/timestampingreconfiguration.ts
177191
- src/models/errors/apierror.ts
178192
- src/models/errors/errorresponse.ts
179193
- src/models/errors/httpclienterrors.ts
180194
- src/models/errors/index.ts
181195
- src/models/errors/retryableerror.ts
182196
- src/models/errors/sdkvalidationerror.ts
197+
- src/models/operations/checktail.ts
183198
- src/models/operations/createorreconfigurebasin.ts
184199
- src/models/operations/createorreconfigurestream.ts
185200
- src/models/operations/deletebasin.ts
@@ -196,6 +211,7 @@ generatedFiles:
196211
- src/sdk/accesstokens.ts
197212
- src/sdk/basins.ts
198213
- src/sdk/index.ts
214+
- src/sdk/records.ts
199215
- src/sdk/sdk.ts
200216
- src/sdk/streams.ts
201217
- src/types/async.ts
@@ -218,7 +234,7 @@ examples:
218234
limit: 1000
219235
responses:
220236
"200":
221-
application/json: {"has_more": false, "tokens": [{"auto_prefix_streams": false, "id": "<id>", "scope": {}}, {"auto_prefix_streams": false, "id": "<id>", "scope": {}}]}
237+
application/json: {"access_tokens": [{"auto_prefix_streams": false, "id": "<id>", "scope": {}}, {"auto_prefix_streams": false, "id": "<id>", "scope": {}}], "has_more": false}
222238
"400":
223239
application/json: {"message": "<value>", "error": "<value>"}
224240
"499":
@@ -400,5 +416,19 @@ examples:
400416
application/json: {"error": "<value>"}
401417
"500":
402418
application/json: {"error": "<value>"}
419+
check_tail:
420+
speakeasy-default-check-tail:
421+
parameters:
422+
path:
423+
stream: "<value>"
424+
responses:
425+
"200":
426+
application/json: {"tail": {"seq_num": 483653, "timestamp": 279903}}
427+
"400":
428+
application/json: {"message": "<value>", "error": "<value>"}
429+
"499":
430+
application/json: {"error": "<value>"}
431+
"500":
432+
application/json: {"error": "<value>"}
403433
examplesVersion: 1.0.1
404434
generatedTests: {}

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ generation:
1919
oAuth2ClientCredentialsEnabled: true
2020
oAuth2PasswordEnabled: true
2121
typescript:
22-
version: 0.11.1
22+
version: 0.11.2
2323
additionalDependencies:
2424
dependencies:
2525
uuid: ^9.0.1

.speakeasy/workflow.lock

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
speakeasyVersion: 1.540.1
1+
speakeasyVersion: 1.542.3
22
sources:
33
S2 API:
44
sourceNamespace: s-2-api
5-
sourceRevisionDigest: sha256:a1dfc4237940db070957545bebb3e924c590bbe2c88487ccc6941c0d5ad9ef68
6-
sourceBlobDigest: sha256:b251ba725430d4f58ec2f631460f4fddfdb29981669c205d49b7597056668838
5+
sourceRevisionDigest: sha256:156eb44add809e0a6eb8967ad80e84c9e67ee830d0a45a0720c0ea303831dabd
6+
sourceBlobDigest: sha256:8ea7e1b46f3e6f5f906eff542c4488f0070a12562f7255629cb4230af91a6ca6
77
tags:
88
- latest
9+
- speakeasy-sdk-regen-1744849275
910
- 1.0.0
1011
targets:
1112
streamstore:
1213
source: S2 API
1314
sourceNamespace: s-2-api
14-
sourceRevisionDigest: sha256:a1dfc4237940db070957545bebb3e924c590bbe2c88487ccc6941c0d5ad9ef68
15-
sourceBlobDigest: sha256:b251ba725430d4f58ec2f631460f4fddfdb29981669c205d49b7597056668838
15+
sourceRevisionDigest: sha256:156eb44add809e0a6eb8967ad80e84c9e67ee830d0a45a0720c0ea303831dabd
16+
sourceBlobDigest: sha256:8ea7e1b46f3e6f5f906eff542c4488f0070a12562f7255629cb4230af91a6ca6
1617
codeSamplesNamespace: s-2-api-typescript-code-samples
17-
codeSamplesRevisionDigest: sha256:26c2617b371c87e954714805d8afbfad1f79178240bfd979f731b23532c94cd5
18+
codeSamplesRevisionDigest: sha256:7ed3f2fac8a8e80852b2245822637370b2b0df8e5269f6577aa6dfc0625defe2
1819
workflow:
1920
workflowVersion: 1.0.0
2021
speakeasyVersion: latest

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,10 @@ run();
320320
* [deleteBasin](docs/sdks/basins/README.md#deletebasin) - Delete a basin.
321321
* [reconfigureBasin](docs/sdks/basins/README.md#reconfigurebasin) - Reconfigure a basin.
322322

323+
### [records](docs/sdks/records/README.md)
324+
325+
* [checkTail](docs/sdks/records/README.md#checktail) - Check the tail.
326+
323327

324328
### [streams](docs/sdks/streams/README.md)
325329

@@ -355,6 +359,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
355359
- [`basinsGetBasinConfig`](docs/sdks/basins/README.md#getbasinconfig) - Get basin config.
356360
- [`basinsListBasins`](docs/sdks/basins/README.md#listbasins) - List basins.
357361
- [`basinsReconfigureBasin`](docs/sdks/basins/README.md#reconfigurebasin) - Reconfigure a basin.
362+
- [`recordsCheckTail`](docs/sdks/records/README.md#checktail) - Check the tail.
358363
- [`streamsCreateOrReconfigureStream`](docs/sdks/streams/README.md#createorreconfigurestream) - Create or reconfigure a stream.
359364
- [`streamsDeleteStream`](docs/sdks/streams/README.md#deletestream) - Delete a stream.
360365
- [`streamsGetStreamConfig`](docs/sdks/streams/README.md#getstreamconfig) - Get stream configuration.

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,14 @@ Based on:
9898
### Generated
9999
- [typescript v0.9.0] .
100100
### Releases
101-
- [NPM v0.9.0] https://www.npmjs.com/package/@s2-dev/streamstore/v/0.9.0 - .
101+
- [NPM v0.9.0] https://www.npmjs.com/package/@s2-dev/streamstore/v/0.9.0 - .
102+
103+
## 2025-05-08 00:22:03
104+
### Changes
105+
Based on:
106+
- OpenAPI Doc
107+
- Speakeasy CLI 1.542.3 (2.597.9) https://github.com/speakeasy-api/speakeasy
108+
### Generated
109+
- [typescript v0.11.2] .
110+
### Releases
111+
- [NPM v0.11.2] https://www.npmjs.com/package/@s2-dev/streamstore/v/0.11.2 - .

docs/models/components/accesstokeninfo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ let value: AccessTokenInfo = {
1717
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1818
| `autoPrefixStreams` | *boolean* | :heavy_minus_sign: | Namespace streams based on the configured stream-level scope, which must be a prefix.<br/>Stream name arguments will be automatically prefixed, and the prefix will be stripped<br/>when listing streams. |
1919
| `expiresAt` | *string* | :heavy_minus_sign: | Expiration time in seconds since Unix epoch.<br/>If not set, the expiration will be set to that of the requestor's token. |
20-
| `id` | *string* | :heavy_check_mark: | Access token ID.<br/>It must be unique to the account and between 1 and 50 characters. |
20+
| `id` | *string* | :heavy_check_mark: | Access token ID.<br/>It must be unique to the account and between 1 and 96 characters. |
2121
| `scope` | [components.AccessTokenScope](../../models/components/accesstokenscope.md) | :heavy_check_mark: | N/A |
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# CheckTailResponse
2+
3+
## Example Usage
4+
5+
```typescript
6+
import { CheckTailResponse } from "@s2-dev/streamstore/models/components";
7+
8+
let value: CheckTailResponse = {
9+
tail: {
10+
seqNum: 844206,
11+
timestamp: 245060,
12+
},
13+
};
14+
```
15+
16+
## Fields
17+
18+
| Field | Type | Required | Description |
19+
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- |
20+
| `tail` | [components.StreamPosition](../../models/components/streamposition.md) | :heavy_check_mark: | Position of a record in a stream. |

docs/models/components/listaccesstokensresponse.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@
66
import { ListAccessTokensResponse } from "@s2-dev/streamstore/models/components";
77

88
let value: ListAccessTokensResponse = {
9-
hasMore: false,
10-
tokens: [
9+
accessTokens: [
1110
{
1211
id: "<id>",
1312
scope: {},
1413
},
1514
],
15+
hasMore: false,
1616
};
1717
```
1818

1919
## Fields
2020

2121
| Field | Type | Required | Description |
2222
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
23-
| `hasMore` | *boolean* | :heavy_check_mark: | If set, indicates there are more results that can be listed with `start_after`. |
24-
| `tokens` | [components.AccessTokenInfo](../../models/components/accesstokeninfo.md)[] | :heavy_check_mark: | Access tokens information. |
23+
| `accessTokens` | [components.AccessTokenInfo](../../models/components/accesstokeninfo.md)[] | :heavy_check_mark: | Access tokens information. |
24+
| `hasMore` | *boolean* | :heavy_check_mark: | If set, indicates there are more results that can be listed with `start_after`. |

docs/models/components/liststreamsresponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ let value: ListStreamsResponse = {
99
hasMore: false,
1010
streams: [
1111
{
12-
createdAt: "1730040810568",
12+
createdAt: "<value>",
1313
name: "<value>",
1414
},
1515
],

0 commit comments

Comments
 (0)