Skip to content

Commit 1af2b3c

Browse files
Merge pull request #57 from gleanwork/speakeasy-sdk-regen-1758751963
chore: 🐝 Update SDK - Generate 0.10.1
2 parents caa3a5e + 5e0f583 commit 1af2b3c

File tree

166 files changed

+2702
-3167
lines changed

Some content is hidden

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

166 files changed

+2702
-3167
lines changed

.speakeasy/gen.lock

Lines changed: 73 additions & 49 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 3 additions & 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.9.1
28+
version: 0.10.1
2929
additionalDependencies:
3030
dependencies: {}
3131
devDependencies: {}
@@ -56,10 +56,12 @@ typescript:
5656
jsonpath: rfc9535
5757
maxMethodParams: 5
5858
methodArguments: require-security-and-request
59+
modelPropertyCasing: camel
5960
moduleFormat: dual
6061
outputModelSuffix: output
6162
packageName: '@gleanwork/api-client'
6263
responseFormat: flat
64+
sseFlatResponse: false
6365
templateVersion: v2
6466
usageSDKInitImports: []
6567
useIndexModules: true

.speakeasy/glean-merged-spec.yaml

Lines changed: 190 additions & 12 deletions
Large diffs are not rendered by default.

.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:8f18d79a0a7d8f51de7edd5bc8ca3ccc569b81832ffc44ce95a27a12e67b9b7d
6-
sourceBlobDigest: sha256:bb3e5a453f03cbdecf3fb3925768ef4cb0b3119083d9d36c341e1ecd721cde8b
5+
sourceRevisionDigest: sha256:a9b49b3146d88faffb25761f988ab0445ed0366b84774a13d4754cb0eb7a3b9b
6+
sourceBlobDigest: sha256:4408853be9bce04865c08fd37b8c11320ffd3b79ef0c70ca8fa1791df0679b1f
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1753233843
9+
- speakeasy-sdk-regen-1758751963
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:8f18d79a0a7d8f51de7edd5bc8ca3ccc569b81832ffc44ce95a27a12e67b9b7d
22-
sourceBlobDigest: sha256:bb3e5a453f03cbdecf3fb3925768ef4cb0b3119083d9d36c341e1ecd721cde8b
21+
sourceRevisionDigest: sha256:a9b49b3146d88faffb25761f988ab0445ed0366b84774a13d4754cb0eb7a3b9b
22+
sourceBlobDigest: sha256:4408853be9bce04865c08fd37b8c11320ffd3b79ef0c70ca8fa1791df0679b1f
2323
codeSamplesNamespace: glean-api-specs-typescript-code-samples
24-
codeSamplesRevisionDigest: sha256:5a747cc6326c606119f1057446b26018a7bdaa950bd6d4611e9a6c9bb32fb7e8
24+
codeSamplesRevisionDigest: sha256:0faa3e3cad537b98ca05e0f777adeede536028fa2b7623226588c20503b12347
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
@@ -248,4 +248,14 @@ Based on:
248248
### Generated
249249
- [typescript v0.9.1] .
250250
### Releases
251-
- [NPM v0.9.1] https://www.npmjs.com/package/@gleanwork/api-client/v/0.9.1 - .
251+
- [NPM v0.9.1] https://www.npmjs.com/package/@gleanwork/api-client/v/0.9.1 - .
252+
253+
## 2025-09-24 22:12:17
254+
### Changes
255+
Based on:
256+
- OpenAPI Doc
257+
- Speakeasy CLI 1.551.0 (2.610.0) https://github.com/speakeasy-api/speakeasy
258+
### Generated
259+
- [typescript v0.10.1] .
260+
### Releases
261+
- [NPM v0.10.1] https://www.npmjs.com/package/@gleanwork/api-client/v/0.10.1 - .

docs/models/components/agentconfig.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ let value: AgentConfig = {};
1212

1313
## Fields
1414

15-
| Field | Type | Required | Description |
16-
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
17-
| `agent` | [components.AgentEnum](../../models/components/agentenum.md) | :heavy_minus_sign: | Name of the agent. |
18-
| `mode` | [components.Mode](../../models/components/mode.md) | :heavy_minus_sign: | Top level modes to run GleanChat in. |
15+
| Field | Type | Required | Description |
16+
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
17+
| `agent` | [components.AgentEnum](../../models/components/agentenum.md) | :heavy_minus_sign: | Name of the agent. |
18+
| `toolSets` | [components.ToolSets](../../models/components/toolsets.md) | :heavy_minus_sign: | The types of tools that the agent is allowed to use. Only works with FAST and ADVANCED `agent` values |
19+
| `mode` | [components.Mode](../../models/components/mode.md) | :heavy_minus_sign: | Top level modes to run GleanChat in. |

docs/models/components/agentenum.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ Name of the agent.
77
```typescript
88
import { AgentEnum } from "@gleanwork/api-client/models/components";
99

10-
let value: AgentEnum = "UNIVERSAL";
10+
let value: AgentEnum = "ADVANCED";
1111
```
1212

1313
## Values
1414

1515
```typescript
16-
"DEFAULT" | "GPT" | "UNIVERSAL"
16+
"DEFAULT" | "GPT" | "UNIVERSAL" | "FAST" | "ADVANCED"
1717
```

docs/models/components/chat.md

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ let value: Chat = {
6767
},
6868
snippets: [
6969
{
70-
snippet: "snippet",
7170
mimeType: "mimeType",
71+
snippet: "snippet",
7272
},
7373
],
7474
},
@@ -216,8 +216,8 @@ let value: Chat = {
216216
nativeAppUrl: "slack://foo/bar",
217217
snippets: [
218218
{
219-
snippet: "snippet",
220219
mimeType: "mimeType",
220+
snippet: "snippet",
221221
},
222222
],
223223
mustIncludeSuggestions: {},
@@ -320,8 +320,8 @@ let value: Chat = {
320320
{
321321
snippets: [
322322
{
323-
snippet: "snippet",
324323
mimeType: "mimeType",
324+
snippet: "snippet",
325325
},
326326
],
327327
},
@@ -331,19 +331,26 @@ let value: Chat = {
331331
],
332332
},
333333
],
334+
roles: [
335+
{
336+
role: "ANSWER_MODERATOR",
337+
},
338+
],
334339
};
335340
```
336341

337342
## Fields
338343

339-
| Field | Type | Required | Description | Example |
340-
| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
341-
| `id` | *string* | :heavy_minus_sign: | The opaque id of the Chat. | |
342-
| `createTime` | *number* | :heavy_minus_sign: | Server Unix timestamp of the creation time (in seconds since epoch UTC). | |
343-
| `createdBy` | [components.Person](../../models/components/person.md) | :heavy_minus_sign: | N/A | {<br/>"name": "George Clooney",<br/>"obfuscatedId": "abc123"<br/>} |
344-
| `updateTime` | *number* | :heavy_minus_sign: | Server Unix timestamp of the update time (in seconds since epoch UTC). | |
345-
| `name` | *string* | :heavy_minus_sign: | The name of the Chat. | |
346-
| `applicationId` | *string* | :heavy_minus_sign: | The ID of the AI App that this Chat is associated to. | |
347-
| `applicationName` | *string* | :heavy_minus_sign: | The display name of the AI App that this Chat is associated to. | |
348-
| `icon` | [components.IconConfig](../../models/components/iconconfig.md) | :heavy_minus_sign: | Defines how to render an icon | {<br/>"color": "#343CED",<br/>"key": "person_icon",<br/>"iconType": "GLYPH",<br/>"name": "user"<br/>} |
349-
| `messages` | [components.ChatMessage](../../models/components/chatmessage.md)[] | :heavy_minus_sign: | The chat messages within a Chat. | |
344+
| Field | Type | Required | Description | Example |
345+
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
346+
| `id` | *string* | :heavy_minus_sign: | The opaque id of the Chat. | |
347+
| `createTime` | *number* | :heavy_minus_sign: | Server Unix timestamp of the creation time (in seconds since epoch UTC). | |
348+
| `createdBy` | [components.Person](../../models/components/person.md) | :heavy_minus_sign: | N/A | {<br/>"name": "George Clooney",<br/>"obfuscatedId": "abc123"<br/>} |
349+
| `updateTime` | *number* | :heavy_minus_sign: | Server Unix timestamp of the update time (in seconds since epoch UTC). | |
350+
| `name` | *string* | :heavy_minus_sign: | The name of the Chat. | |
351+
| `applicationId` | *string* | :heavy_minus_sign: | The ID of the AI App that this Chat is associated to. | |
352+
| `applicationName` | *string* | :heavy_minus_sign: | The display name of the AI App that this Chat is associated to. | |
353+
| `icon` | [components.IconConfig](../../models/components/iconconfig.md) | :heavy_minus_sign: | Defines how to render an icon | {<br/>"color": "#343CED",<br/>"key": "person_icon",<br/>"iconType": "GLYPH",<br/>"name": "user"<br/>} |
354+
| `permissions` | [components.ObjectPermissions](../../models/components/objectpermissions.md) | :heavy_minus_sign: | N/A | |
355+
| `messages` | [components.ChatMessage](../../models/components/chatmessage.md)[] | :heavy_minus_sign: | The chat messages within a Chat. | |
356+
| `roles` | [components.UserRoleSpecification](../../models/components/userrolespecification.md)[] | :heavy_minus_sign: | A list of roles for this Chat. | |

docs/models/components/chatmessage.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ let value: ChatMessage = {
5555
},
5656
snippets: [
5757
{
58-
snippet: "snippet",
5958
mimeType: "mimeType",
59+
snippet: "snippet",
6060
},
6161
],
6262
},
@@ -204,8 +204,8 @@ let value: ChatMessage = {
204204
nativeAppUrl: "slack://foo/bar",
205205
snippets: [
206206
{
207-
snippet: "snippet",
208207
mimeType: "mimeType",
208+
snippet: "snippet",
209209
},
210210
],
211211
mustIncludeSuggestions: {},
@@ -312,8 +312,8 @@ let value: ChatMessage = {
312312
{
313313
snippets: [
314314
{
315-
snippet: "snippet",
316315
mimeType: "mimeType",
316+
snippet: "snippet",
317317
},
318318
],
319319
},

docs/models/components/chatmessagecitation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ let value: ChatMessageCitation = {
5353
},
5454
snippets: [
5555
{
56-
snippet: "snippet",
5756
mimeType: "mimeType",
57+
snippet: "snippet",
5858
},
5959
],
6060
},

0 commit comments

Comments
 (0)