Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
122 changes: 73 additions & 49 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
typescript:
version: 0.9.1
version: 0.10.1
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down Expand Up @@ -56,10 +56,12 @@ typescript:
jsonpath: rfc9535
maxMethodParams: 5
methodArguments: require-security-and-request
modelPropertyCasing: camel
moduleFormat: dual
outputModelSuffix: output
packageName: '@gleanwork/api-client'
responseFormat: flat
sseFlatResponse: false
templateVersion: v2
usageSDKInitImports: []
useIndexModules: true
202 changes: 190 additions & 12 deletions .speakeasy/glean-merged-spec.yaml

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ speakeasyVersion: 1.551.0
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:8f18d79a0a7d8f51de7edd5bc8ca3ccc569b81832ffc44ce95a27a12e67b9b7d
sourceBlobDigest: sha256:bb3e5a453f03cbdecf3fb3925768ef4cb0b3119083d9d36c341e1ecd721cde8b
sourceRevisionDigest: sha256:a9b49b3146d88faffb25761f988ab0445ed0366b84774a13d4754cb0eb7a3b9b
sourceBlobDigest: sha256:4408853be9bce04865c08fd37b8c11320ffd3b79ef0c70ca8fa1791df0679b1f
tags:
- latest
- speakeasy-sdk-regen-1753233843
- speakeasy-sdk-regen-1758751963
Glean Client API:
sourceNamespace: glean-client-api
sourceRevisionDigest: sha256:aec0770b5bcca91068c3a844cb9ef4a091281f6cc3b7d86f2abef1bd6fb2b301
Expand All @@ -18,10 +18,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:8f18d79a0a7d8f51de7edd5bc8ca3ccc569b81832ffc44ce95a27a12e67b9b7d
sourceBlobDigest: sha256:bb3e5a453f03cbdecf3fb3925768ef4cb0b3119083d9d36c341e1ecd721cde8b
sourceRevisionDigest: sha256:a9b49b3146d88faffb25761f988ab0445ed0366b84774a13d4754cb0eb7a3b9b
sourceBlobDigest: sha256:4408853be9bce04865c08fd37b8c11320ffd3b79ef0c70ca8fa1791df0679b1f
codeSamplesNamespace: glean-api-specs-typescript-code-samples
codeSamplesRevisionDigest: sha256:5a747cc6326c606119f1057446b26018a7bdaa950bd6d4611e9a6c9bb32fb7e8
codeSamplesRevisionDigest: sha256:0faa3e3cad537b98ca05e0f777adeede536028fa2b7623226588c20503b12347
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,4 +248,14 @@ Based on:
### Generated
- [typescript v0.9.1] .
### Releases
- [NPM v0.9.1] https://www.npmjs.com/package/@gleanwork/api-client/v/0.9.1 - .
- [NPM v0.9.1] https://www.npmjs.com/package/@gleanwork/api-client/v/0.9.1 - .

## 2025-09-24 22:12:17
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.551.0 (2.610.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.10.1] .
### Releases
- [NPM v0.10.1] https://www.npmjs.com/package/@gleanwork/api-client/v/0.10.1 - .
9 changes: 5 additions & 4 deletions docs/models/components/agentconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ let value: AgentConfig = {};

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| `agent` | [components.AgentEnum](../../models/components/agentenum.md) | :heavy_minus_sign: | Name of the agent. |
| `mode` | [components.Mode](../../models/components/mode.md) | :heavy_minus_sign: | Top level modes to run GleanChat in. |
| Field | Type | Required | Description |
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| `agent` | [components.AgentEnum](../../models/components/agentenum.md) | :heavy_minus_sign: | Name of the agent. |
| `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 |
| `mode` | [components.Mode](../../models/components/mode.md) | :heavy_minus_sign: | Top level modes to run GleanChat in. |
4 changes: 2 additions & 2 deletions docs/models/components/agentenum.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Name of the agent.
```typescript
import { AgentEnum } from "@gleanwork/api-client/models/components";

let value: AgentEnum = "UNIVERSAL";
let value: AgentEnum = "ADVANCED";
```

## Values

```typescript
"DEFAULT" | "GPT" | "UNIVERSAL"
"DEFAULT" | "GPT" | "UNIVERSAL" | "FAST" | "ADVANCED"
```
35 changes: 21 additions & 14 deletions docs/models/components/chat.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ let value: Chat = {
},
snippets: [
{
snippet: "snippet",
mimeType: "mimeType",
snippet: "snippet",
},
],
},
Expand Down Expand Up @@ -216,8 +216,8 @@ let value: Chat = {
nativeAppUrl: "slack://foo/bar",
snippets: [
{
snippet: "snippet",
mimeType: "mimeType",
snippet: "snippet",
},
],
mustIncludeSuggestions: {},
Expand Down Expand Up @@ -320,8 +320,8 @@ let value: Chat = {
{
snippets: [
{
snippet: "snippet",
mimeType: "mimeType",
snippet: "snippet",
},
],
},
Expand All @@ -331,19 +331,26 @@ let value: Chat = {
],
},
],
roles: [
{
role: "ANSWER_MODERATOR",
},
],
};
```

## Fields

| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| `id` | *string* | :heavy_minus_sign: | The opaque id of the Chat. | |
| `createTime` | *number* | :heavy_minus_sign: | Server Unix timestamp of the creation time (in seconds since epoch UTC). | |
| `createdBy` | [components.Person](../../models/components/person.md) | :heavy_minus_sign: | N/A | {<br/>"name": "George Clooney",<br/>"obfuscatedId": "abc123"<br/>} |
| `updateTime` | *number* | :heavy_minus_sign: | Server Unix timestamp of the update time (in seconds since epoch UTC). | |
| `name` | *string* | :heavy_minus_sign: | The name of the Chat. | |
| `applicationId` | *string* | :heavy_minus_sign: | The ID of the AI App that this Chat is associated to. | |
| `applicationName` | *string* | :heavy_minus_sign: | The display name of the AI App that this Chat is associated to. | |
| `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/>} |
| `messages` | [components.ChatMessage](../../models/components/chatmessage.md)[] | :heavy_minus_sign: | The chat messages within a Chat. | |
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| `id` | *string* | :heavy_minus_sign: | The opaque id of the Chat. | |
| `createTime` | *number* | :heavy_minus_sign: | Server Unix timestamp of the creation time (in seconds since epoch UTC). | |
| `createdBy` | [components.Person](../../models/components/person.md) | :heavy_minus_sign: | N/A | {<br/>"name": "George Clooney",<br/>"obfuscatedId": "abc123"<br/>} |
| `updateTime` | *number* | :heavy_minus_sign: | Server Unix timestamp of the update time (in seconds since epoch UTC). | |
| `name` | *string* | :heavy_minus_sign: | The name of the Chat. | |
| `applicationId` | *string* | :heavy_minus_sign: | The ID of the AI App that this Chat is associated to. | |
| `applicationName` | *string* | :heavy_minus_sign: | The display name of the AI App that this Chat is associated to. | |
| `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/>} |
| `permissions` | [components.ObjectPermissions](../../models/components/objectpermissions.md) | :heavy_minus_sign: | N/A | |
| `messages` | [components.ChatMessage](../../models/components/chatmessage.md)[] | :heavy_minus_sign: | The chat messages within a Chat. | |
| `roles` | [components.UserRoleSpecification](../../models/components/userrolespecification.md)[] | :heavy_minus_sign: | A list of roles for this Chat. | |
6 changes: 3 additions & 3 deletions docs/models/components/chatmessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ let value: ChatMessage = {
},
snippets: [
{
snippet: "snippet",
mimeType: "mimeType",
snippet: "snippet",
},
],
},
Expand Down Expand Up @@ -204,8 +204,8 @@ let value: ChatMessage = {
nativeAppUrl: "slack://foo/bar",
snippets: [
{
snippet: "snippet",
mimeType: "mimeType",
snippet: "snippet",
},
],
mustIncludeSuggestions: {},
Expand Down Expand Up @@ -312,8 +312,8 @@ let value: ChatMessage = {
{
snippets: [
{
snippet: "snippet",
mimeType: "mimeType",
snippet: "snippet",
},
],
},
Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/chatmessagecitation.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ let value: ChatMessageCitation = {
},
snippets: [
{
snippet: "snippet",
mimeType: "mimeType",
snippet: "snippet",
},
],
},
Expand Down
Loading
Loading