Skip to content

Commit b077ece

Browse files
Merge pull request #41 from gleanwork/speakeasy-sdk-regen-1749454020
chore: 🐝 Update SDK - Generate 0.6.3
2 parents 427c7d1 + 754d87f commit b077ece

File tree

12 files changed

+47
-17
lines changed

12 files changed

+47
-17
lines changed

.speakeasy/gen.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 664aaca5-a41f-4434-8f2a-642dba92fe68
33
management:
4-
docChecksum: 895c9d213122353173d7c129b2c8d4b7
4+
docChecksum: 1477738232aeb60aace8340880be72ae
55
docVersion: 0.9.0
66
speakeasyVersion: 1.551.0
77
generationVersion: 2.610.0
8-
releaseVersion: 0.6.1
9-
configChecksum: c067068dbea5bbba98f9dfa395498f4b
8+
releaseVersion: 0.6.3
9+
configChecksum: 7ce8e70870e34c6351c2be52621a2404
1010
repoURL: https://github.com/gleanwork/api-client-typescript.git
1111
installationURL: https://github.com/gleanwork/api-client-typescript
1212
published: true

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ generation:
2525
generateNewTests: true
2626
skipResponseBodyAssertions: true
2727
typescript:
28-
version: 0.6.1
28+
version: 0.6.3
2929
additionalDependencies:
3030
dependencies: {}
3131
devDependencies: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7259,6 +7259,9 @@ components:
72597259
applicationId:
72607260
type: string
72617261
description: The ID of the application this request originates from, used to determine the configuration of underlying chat processes. This should correspond to the ID set during admin setup. If not specified, the default chat experience will be used.
7262+
agentId:
7263+
type: string
7264+
description: The ID of the Agent that should process this chat request. Only Agents with trigger set to 'User chat message' are invokable through this API. If not specified, the default chat experience will be used.
72627265
stream:
72637266
type: boolean
72647267
description: If set, response lines will be streamed one-by-one as they become available. Each will be a ChatResponse, formatted as JSON, and separated by a new line. If false, the entire response will be returned at once. Note that if this is set and the model being used does not support streaming, the model's response will not be streamed, but other messages from the endpoint still will be.

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ speakeasyVersion: 1.551.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:d7ce1ceb600711b8e88b818186b93b6e4275f01811996d436752410c100339a4
6-
sourceBlobDigest: sha256:e56c126a42ae3d72395b2891ac56b8f5264993a298d9d4f5e68748395cdd54cf
5+
sourceRevisionDigest: sha256:254ed74184de2e725a0dc2cf521b132b29ece9d3ba6b12fd7e7b1ceaa2e6d043
6+
sourceBlobDigest: sha256:f2a59d8beefedbda0e59b25d09a930e1b907145f784bf8961fc31b862163d964
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1749247134
9+
- speakeasy-sdk-regen-1749454020
1010
Glean Client API:
1111
sourceNamespace: glean-client-api
1212
sourceRevisionDigest: sha256:aec0770b5bcca91068c3a844cb9ef4a091281f6cc3b7d86f2abef1bd6fb2b301
@@ -18,10 +18,10 @@ targets:
1818
glean:
1919
source: Glean API
2020
sourceNamespace: glean-api-specs
21-
sourceRevisionDigest: sha256:d7ce1ceb600711b8e88b818186b93b6e4275f01811996d436752410c100339a4
22-
sourceBlobDigest: sha256:e56c126a42ae3d72395b2891ac56b8f5264993a298d9d4f5e68748395cdd54cf
21+
sourceRevisionDigest: sha256:254ed74184de2e725a0dc2cf521b132b29ece9d3ba6b12fd7e7b1ceaa2e6d043
22+
sourceBlobDigest: sha256:f2a59d8beefedbda0e59b25d09a930e1b907145f784bf8961fc31b862163d964
2323
codeSamplesNamespace: glean-api-specs-typescript-code-samples
24-
codeSamplesRevisionDigest: sha256:bd42033c370222a0c48a8a5f82ee0cb8007a873c14191c841ab9eb1a64c7e0fe
24+
codeSamplesRevisionDigest: sha256:925686177f450bf5da4855666df96cdf6f71c41a824195606120ef8584284154
2525
workflow:
2626
workflowVersion: 1.0.0
2727
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,4 +188,14 @@ Based on:
188188
### Generated
189189
- [typescript v0.6.1] .
190190
### Releases
191-
- [NPM v0.6.1] https://www.npmjs.com/package/@gleanwork/api-client/v/0.6.1 - .
191+
- [NPM v0.6.1] https://www.npmjs.com/package/@gleanwork/api-client/v/0.6.1 - .
192+
193+
## 2025-06-09 12:38:11
194+
### Changes
195+
Based on:
196+
- OpenAPI Doc
197+
- Speakeasy CLI 1.551.0 (2.610.0) https://github.com/speakeasy-api/speakeasy
198+
### Generated
199+
- [typescript v0.6.3] .
200+
### Releases
201+
- [NPM v0.6.3] https://www.npmjs.com/package/@gleanwork/api-client/v/0.6.3 - .

docs/models/components/chatrequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,4 +322,5 @@ let value: ChatRequest = {
322322
| `timeoutMillis` | *number* | :heavy_minus_sign: | Timeout in milliseconds for the request. A `408` error will be returned if handling the request takes longer. | 30000 |
323323
| `sessionInfo` | [components.SessionInfo](../../models/components/sessioninfo.md) | :heavy_minus_sign: | N/A | |
324324
| `applicationId` | *string* | :heavy_minus_sign: | The ID of the application this request originates from, used to determine the configuration of underlying chat processes. This should correspond to the ID set during admin setup. If not specified, the default chat experience will be used. | |
325+
| `agentId` | *string* | :heavy_minus_sign: | The ID of the Agent that should process this chat request. Only Agents with trigger set to 'User chat message' are invokable through this API. If not specified, the default chat experience will be used. | |
325326
| `stream` | *boolean* | :heavy_minus_sign: | If set, response lines will be streamed one-by-one as they become available. Each will be a ChatResponse, formatted as JSON, and separated by a new line. If false, the entire response will be returned at once. Note that if this is set and the model being used does not support streaming, the model's response will not be streamed, but other messages from the endpoint still will be. | |

jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{
44
"name": "@gleanwork/api-client",
5-
"version": "0.6.1",
5+
"version": "0.6.3",
66
"exports": {
77
".": "./src/index.ts",
88
"./models/errors": "./src/models/errors/index.ts",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gleanwork/api-client",
3-
"version": "0.6.1",
3+
"version": "0.6.3",
44
"author": "Speakeasy",
55
"type": "module",
66
"tshy": {

src/__tests__/mockserver/internal/sdk/models/components/chatrequest.go

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
6464
export const SDK_METADATA = {
6565
language: "typescript",
6666
openapiDocVersion: "0.9.0",
67-
sdkVersion: "0.6.1",
67+
sdkVersion: "0.6.3",
6868
genVersion: "2.610.0",
6969
userAgent:
70-
"speakeasy-sdk/typescript 0.6.1 2.610.0 0.9.0 @gleanwork/api-client",
70+
"speakeasy-sdk/typescript 0.6.3 2.610.0 0.9.0 @gleanwork/api-client",
7171
} as const;

src/models/components/chatrequest.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ export type ChatRequest = {
5959
* The ID of the application this request originates from, used to determine the configuration of underlying chat processes. This should correspond to the ID set during admin setup. If not specified, the default chat experience will be used.
6060
*/
6161
applicationId?: string | undefined;
62+
/**
63+
* The ID of the Agent that should process this chat request. Only Agents with trigger set to 'User chat message' are invokable through this API. If not specified, the default chat experience will be used.
64+
*/
65+
agentId?: string | undefined;
6266
/**
6367
* If set, response lines will be streamed one-by-one as they become available. Each will be a ChatResponse, formatted as JSON, and separated by a new line. If false, the entire response will be returned at once. Note that if this is set and the model being used does not support streaming, the model's response will not be streamed, but other messages from the endpoint still will be.
6468
*/
@@ -80,6 +84,7 @@ export const ChatRequest$inboundSchema: z.ZodType<
8084
timeoutMillis: z.number().int().optional(),
8185
sessionInfo: SessionInfo$inboundSchema.optional(),
8286
applicationId: z.string().optional(),
87+
agentId: z.string().optional(),
8388
stream: z.boolean().optional(),
8489
});
8590

@@ -94,6 +99,7 @@ export type ChatRequest$Outbound = {
9499
timeoutMillis?: number | undefined;
95100
sessionInfo?: SessionInfo$Outbound | undefined;
96101
applicationId?: string | undefined;
102+
agentId?: string | undefined;
97103
stream?: boolean | undefined;
98104
};
99105

@@ -112,6 +118,7 @@ export const ChatRequest$outboundSchema: z.ZodType<
112118
timeoutMillis: z.number().int().optional(),
113119
sessionInfo: SessionInfo$outboundSchema.optional(),
114120
applicationId: z.string().optional(),
121+
agentId: z.string().optional(),
115122
stream: z.boolean().optional(),
116123
});
117124

0 commit comments

Comments
 (0)