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
171 changes: 86 additions & 85 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
typescript:
version: 0.14.10
version: 0.14.11
acceptHeaderEnum: true
additionalDependencies:
dependencies: {}
Expand Down
16 changes: 14 additions & 2 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.0
info:
version: 0.9.0
title: Glean API
x-source-commit-sha: b82cd7608fd801b317cf9df15ebfb73f83d9febc
x-source-commit-sha: db2b29749d4a1429e791a15f8dbdd6ad31abafa0
description: |
# Introduction
In addition to the data sources that Glean has built-in support for, Glean also provides a REST API that enables customers to put arbitrary content in the search index. This is useful, for example, for doing permissions-aware search over content in internal tools that reside on-prem as well as for searching over applications that Glean does not currently support first class. In addition these APIs allow the customer to push organization data (people info, organization structure etc) into Glean.
Expand All @@ -22,7 +22,7 @@ info:
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
x-logo:
url: https://app.glean.com/images/glean-text2.svg
x-open-api-commit-sha: 0b2689b6010d15de5b45dc85490080ea14936ea6
x-open-api-commit-sha: ab68eaa48c4b230715551d9eafa33e24d01e4b1d
x-speakeasy-name: 'Glean API'
servers:
- url: https://{instance}-be.glean.com
Expand Down Expand Up @@ -7881,6 +7881,8 @@ components:
$ref: "#/components/schemas/ChatFile"
sourcePerson:
$ref: "#/components/schemas/Person"
sourceCustomEntity:
$ref: "#/components/schemas/CustomEntity"
referenceRanges:
description: Each reference range and its corresponding snippets
type: array
Expand Down Expand Up @@ -9071,6 +9073,15 @@ components:
$ref: "#/components/schemas/InsightsSearchSummary"
chatSummary:
$ref: "#/components/schemas/InsightsChatSummary"
searchActiveUsers:
$ref: "#/components/schemas/CurrentActiveUsers"
description: Search-specific active user counts for the specified departments.
assistantActiveUsers:
$ref: "#/components/schemas/CurrentActiveUsers"
description: Assistant-specific active user counts for the specified departments.
agentsActiveUsers:
$ref: "#/components/schemas/CurrentActiveUsers"
description: Agents-specific active user counts for the specified departments.
extensionSummary:
$ref: "#/components/schemas/CurrentActiveUsers"
ugcSummary:
Expand Down Expand Up @@ -13623,6 +13634,7 @@ components:
enum:
- FINDINGS
- DOCUMENTS
- ISSUES
description: The type of export to perform
filter:
$ref: '#/components/schemas/DlpFindingFilter'
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
speakeasyVersion: 1.757.1
speakeasyVersion: 1.759.1
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:cd1b70d6a8034c274c2032fa245dc1f410d81cba955c6954a85f47f8e64d6f2f
sourceBlobDigest: sha256:82d37f119622340b0c9d7352ac8a90c2df320b24c8e49c396d6531f9fe2b890b
sourceRevisionDigest: sha256:4c7d55ccd690b64ad2d899c9b4cc567da38df668824f1da78a8816e6c6de3e8d
sourceBlobDigest: sha256:bfb08048dcc28b79b92830c3733fa2f355feec4cf139126e09110ebef080e268
tags:
- latest
Glean Client API:
Expand All @@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:cd1b70d6a8034c274c2032fa245dc1f410d81cba955c6954a85f47f8e64d6f2f
sourceBlobDigest: sha256:82d37f119622340b0c9d7352ac8a90c2df320b24c8e49c396d6531f9fe2b890b
sourceRevisionDigest: sha256:4c7d55ccd690b64ad2d899c9b4cc567da38df668824f1da78a8816e6c6de3e8d
sourceBlobDigest: sha256:bfb08048dcc28b79b92830c3733fa2f355feec4cf139126e09110ebef080e268
codeSamplesNamespace: glean-api-specs-typescript-code-samples
codeSamplesRevisionDigest: sha256:ce375b76a89584a8fb3b9121e1b4da853a61b314be4695c22e9b4a86bd24f766
codeSamplesRevisionDigest: sha256:b18222f0fe724c9b550e94602a8f8cf639e1b7ce27ff374e97453971db41407d
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 @@ -668,4 +668,14 @@ Based on:
### Generated
- [typescript v0.14.10] .
### Releases
- [NPM v0.14.10] https://www.npmjs.com/package/@gleanwork/api-client/v/0.14.10 - .
- [NPM v0.14.10] https://www.npmjs.com/package/@gleanwork/api-client/v/0.14.10 - .

## 2026-03-23 09:42:24
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.759.1 (2.869.10) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.14.11] .
### Releases
- [NPM v0.14.11] https://www.npmjs.com/package/@gleanwork/api-client/v/0.14.11 - .
11 changes: 11 additions & 0 deletions docs/models/components/chat.md
Original file line number Diff line number Diff line change
Expand Up @@ -1917,6 +1917,17 @@ let value: Chat = {
name: "George Clooney",
obfuscatedId: "abc123",
},
sourceCustomEntity: {
roles: [
{
person: {
name: "George Clooney",
obfuscatedId: "abc123",
},
role: "ANSWER_MODERATOR",
},
],
},
referenceRanges: [
{
textRange: {
Expand Down
11 changes: 11 additions & 0 deletions docs/models/components/chatmessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -1879,6 +1879,17 @@ let value: ChatMessage = {
name: "George Clooney",
obfuscatedId: "abc123",
},
sourceCustomEntity: {
roles: [
{
person: {
name: "George Clooney",
obfuscatedId: "abc123",
},
role: "ANSWER_MODERATOR",
},
],
},
referenceRanges: [
{
textRange: {
Expand Down
12 changes: 12 additions & 0 deletions docs/models/components/chatmessagecitation.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,17 @@ let value: ChatMessageCitation = {
name: "George Clooney",
obfuscatedId: "abc123",
},
sourceCustomEntity: {
roles: [
{
person: {
name: "George Clooney",
obfuscatedId: "abc123",
},
role: "ANSWER_MODERATOR",
},
],
},
referenceRanges: [
{
textRange: {
Expand Down Expand Up @@ -185,4 +196,5 @@ let value: ChatMessageCitation = {
| `sourceDocument` | [components.Document](../../models/components/document.md) | :heavy_minus_sign: | N/A | |
| `sourceFile` | [components.ChatFile](../../models/components/chatfile.md) | :heavy_minus_sign: | Structure for file uploaded by a user for Chat. | |
| `sourcePerson` | [components.Person](../../models/components/person.md) | :heavy_minus_sign: | N/A | {<br/>"name": "George Clooney",<br/>"obfuscatedId": "abc123"<br/>} |
| `sourceCustomEntity` | [components.CustomEntity](../../models/components/customentity.md) | :heavy_minus_sign: | N/A | |
| `referenceRanges` | [components.ReferenceRange](../../models/components/referencerange.md)[] | :heavy_minus_sign: | Each reference range and its corresponding snippets | |
11 changes: 11 additions & 0 deletions docs/models/components/chatmessagefragment.md
Original file line number Diff line number Diff line change
Expand Up @@ -1856,6 +1856,17 @@ let value: ChatMessageFragment = {
name: "George Clooney",
obfuscatedId: "abc123",
},
sourceCustomEntity: {
roles: [
{
person: {
name: "George Clooney",
obfuscatedId: "abc123",
},
role: "ANSWER_MODERATOR",
},
],
},
referenceRanges: [
{
textRange: {
Expand Down
11 changes: 11 additions & 0 deletions docs/models/components/chatresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -1907,6 +1907,17 @@ let value: ChatResponse = {
name: "George Clooney",
obfuscatedId: "abc123",
},
sourceCustomEntity: {
roles: [
{
person: {
name: "George Clooney",
obfuscatedId: "abc123",
},
role: "ANSWER_MODERATOR",
},
],
},
referenceRanges: [
{
textRange: {
Expand Down
11 changes: 11 additions & 0 deletions docs/models/components/chatresult.md
Original file line number Diff line number Diff line change
Expand Up @@ -1934,6 +1934,17 @@ let value: ChatResult = {
name: "George Clooney",
obfuscatedId: "abc123",
},
sourceCustomEntity: {
roles: [
{
person: {
name: "George Clooney",
obfuscatedId: "abc123",
},
role: "ANSWER_MODERATOR",
},
],
},
referenceRanges: [
{
textRange: {
Expand Down
4 changes: 2 additions & 2 deletions docs/models/components/exporttype.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ The type of export to perform
```typescript
import { ExportType } from "@gleanwork/api-client/models/components";

let value: ExportType = "DOCUMENTS";
let value: ExportType = "ISSUES";
```

## Values

```typescript
"FINDINGS" | "DOCUMENTS"
"FINDINGS" | "DOCUMENTS" | "ISSUES"
```
11 changes: 11 additions & 0 deletions docs/models/components/getchatresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -1948,6 +1948,17 @@ let value: GetChatResponse = {
name: "George Clooney",
obfuscatedId: "abc123",
},
sourceCustomEntity: {
roles: [
{
person: {
name: "George Clooney",
obfuscatedId: "abc123",
},
role: "ANSWER_MODERATOR",
},
],
},
referenceRanges: [
{
textRange: {
Expand Down
3 changes: 3 additions & 0 deletions docs/models/components/insightsoverviewresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ let value: InsightsOverviewResponse = {
| `totalSignups` | *number* | :heavy_minus_sign: | Number of current signed up employees in the specified departments, according to the Org Chart. |
| `searchSummary` | [components.InsightsSearchSummary](../../models/components/insightssearchsummary.md) | :heavy_minus_sign: | N/A |
| `chatSummary` | [components.InsightsChatSummary](../../models/components/insightschatsummary.md) | :heavy_minus_sign: | N/A |
| `searchActiveUsers` | [components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A |
| `assistantActiveUsers` | [components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A |
| `agentsActiveUsers` | [components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A |
| `extensionSummary` | [components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A |
| `ugcSummary` | [components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A |
| `lastUpdatedTs` | *number* | :heavy_minus_sign: | Unix timestamp of the last update for the insights data in the response. |
Expand Down
2 changes: 1 addition & 1 deletion examples/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
"name": "@gleanwork/api-client",
"version": "0.14.10",
"version": "0.14.11",
"exports": {
".": "./src/index.ts",
"./models/errors": "./src/models/errors/index.ts",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gleanwork/api-client",
"version": "0.14.10",
"version": "0.14.11",
"author": "Speakeasy",
"tshy": {
"sourceDialects": [
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/messages.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test("Messages Messages", async () => {
idType: "CONVERSATION_ID",
id: "<id>",
timestampMillis: 558834,
datasource: "MICROSOFTTEAMS",
datasource: "GCHAT",
});
expect(result).toBeDefined();
});
Loading
Loading