Skip to content
Open
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
377 changes: 204 additions & 173 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 @@ -31,7 +31,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
typescript:
version: 0.13.18
version: 0.13.19
acceptHeaderEnum: true
additionalDependencies:
dependencies: {}
Expand All @@ -51,6 +51,7 @@ typescript:
enumFormat: union
envVarPrefix: GLEAN
exportZodModelNamespace: false
flatAdditionalProperties: false
flattenGlobalSecurity: true
flatteningOrder: body-first
formStringArrayEncodeMode: encoded-string
Expand All @@ -77,6 +78,7 @@ typescript:
outputModelSuffix: output
packageName: '@gleanwork/api-client'
preApplyUnionDiscriminators: true
preserveModelFieldNames: false
responseFormat: flat
sseFlatResponse: false
templateVersion: v2
Expand Down
93 changes: 50 additions & 43 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: 6c18cdaa8da169e191cc66885c326e2ea6d13644
x-source-commit-sha: 10e7b173c275936a5985b926ecab5bd1d7a51593
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: c7a6190b989a16d24b879348f08e27efcb304566
x-open-api-commit-sha: 904b6da49f1b9af89921117bfc542a2617ab4765
x-speakeasy-name: 'Glean API'
servers:
- url: https://{instance}-be.glean.com
Expand Down Expand Up @@ -3350,6 +3350,8 @@ paths:
schema:
description: CSV of all the violations found for this policy.
type: string
"400":
description: Bad request error (e.g., continuous policies are not supported).
"403":
description: Permissions error
"500":
Expand Down Expand Up @@ -5293,39 +5295,6 @@ components:
items:
$ref: "#/components/schemas/FacetFilter"
description: Filters which restrict who should see this Collection. Values are taken from the corresponding filters in people search.
AnswerBoardMutableProperties:
allOf:
- $ref: "#/components/schemas/CollectionBaseMutableProperties"
AnswerBoard:
allOf:
- $ref: "#/components/schemas/AnswerBoardMutableProperties"
- $ref: "#/components/schemas/PermissionedObject"
- type: object
required:
- id
- description
properties:
id:
type: integer
description: The unique ID of the Answer Board.
createTime:
type: string
format: date-time
updateTime:
type: string
format: date-time
creator:
$ref: "#/components/schemas/Person"
updatedBy:
$ref: "#/components/schemas/Person"
itemCount:
type: integer
description: The number of items currently in the Answer Board. Separated from the actual items so we can grab the count without items.
roles:
type: array
description: A list of user roles for the Answer Board.
items:
$ref: "#/components/schemas/UserRoleSpecification"
Thumbnail:
properties:
photoId:
Expand Down Expand Up @@ -5622,9 +5591,6 @@ components:
$ref: "#/components/schemas/Person"
verification:
$ref: "#/components/schemas/Verification"
board:
$ref: "#/components/schemas/AnswerBoard"
description: The parent board this answer is in.
collections:
type: array
description: The collections to which the answer belongs.
Expand Down Expand Up @@ -5873,6 +5839,21 @@ components:
attendees:
$ref: "#/components/schemas/CalendarAttendees"
description: The attendee list, including their response status
isCancelled:
type: boolean
description: Whether the meeting has been cancelled
location:
type: string
description: The location/venue of the meeting
responseStatus:
type: string
description: The current user's response status (accepted, declined, tentativelyAccepted, none)
conferenceUri:
type: string
description: The meeting join link (Teams, Zoom, etc.)
conferenceProvider:
type: string
description: The conference provider (e.g., "Microsoft Teams", "Zoom")
AppResult:
required:
- datasource
Expand Down Expand Up @@ -6132,8 +6113,6 @@ components:
$ref: "#/components/schemas/AppResult"
collection:
$ref: "#/components/schemas/Collection"
answerBoard:
$ref: "#/components/schemas/AnswerBoard"
code:
$ref: "#/components/schemas/Code"
shortcut:
Expand Down Expand Up @@ -7617,6 +7596,9 @@ components:
chatId:
type: string
description: The id of the Chat that context should be retrieved from and messages added to. An empty id starts a new Chat, and the Chat is saved if saveChat is true.
agentConfig:
$ref: "#/components/schemas/AgentConfig"
description: Describes the agent that will execute the request.
ChatRestrictionFilters:
allOf:
- $ref: "#/components/schemas/RestrictionFilters"
Expand All @@ -7635,9 +7617,6 @@ components:
- $ref: "#/components/schemas/ChatRequestBase"
- type: object
properties:
agentConfig:
$ref: "#/components/schemas/AgentConfig"
description: Describes the agent that will execute the request.
inclusions:
$ref: "#/components/schemas/ChatRestrictionFilters"
description: A list of filters which only allows chat to access certain content.
Expand Down Expand Up @@ -8190,6 +8169,7 @@ components:
- DOCUMENT_CONTENT
- CUSTOM_METADATA
DocumentOrError:
x-omit-error-on-success: true
oneOf:
- $ref: "#/components/schemas/Document"
- type: object
Expand All @@ -8199,6 +8179,7 @@ components:
error:
type: string
description: The text for error, reason.
x-is-error-field: true
GetDocumentsResponse:
properties:
documents:
Expand Down Expand Up @@ -8718,6 +8699,30 @@ components:
$ref: "#/components/schemas/LabeledCountInfo"
dailyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
searchMonthlyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
searchWeeklyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
searchDailyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
assistantMonthlyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
assistantWeeklyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
assistantDailyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
agentsMonthlyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
agentsWeeklyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
agentsDailyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
searchesTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
assistantInteractionsTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
agentRunsTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
searchDatasourceCounts:
type: object
additionalProperties:
Expand Down Expand Up @@ -13045,6 +13050,8 @@ components:
$ref: "#/components/schemas/DlpSeverity"
timeRange:
$ref: "#/components/schemas/TimeRangeFilter"
archived:
type: boolean
ExportInfo:
properties:
createdBy:
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
speakeasyVersion: 1.675.4
speakeasyVersion: 1.683.1
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:a38a82dd27fe58019cf7c85c19cbd402e93361c9df38ce070f2ca419eeab832f
sourceBlobDigest: sha256:3840e8da76cb1e20b3c7f053acee46de0e4bcb58e17379e235342990ead4c8f8
sourceRevisionDigest: sha256:0f8889945d176b664ec3aacb319688f57ea7783bb625e91f66c0d25743fe3ab1
sourceBlobDigest: sha256:eb86957871be08ca1092f0328d7ff856e8b0bd92e7cee2edd73b5b64c39a8f30
tags:
- latest
- speakeasy-sdk-regen-1765502435
- speakeasy-sdk-regen-1765586455
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:a38a82dd27fe58019cf7c85c19cbd402e93361c9df38ce070f2ca419eeab832f
sourceBlobDigest: sha256:3840e8da76cb1e20b3c7f053acee46de0e4bcb58e17379e235342990ead4c8f8
sourceRevisionDigest: sha256:0f8889945d176b664ec3aacb319688f57ea7783bb625e91f66c0d25743fe3ab1
sourceBlobDigest: sha256:eb86957871be08ca1092f0328d7ff856e8b0bd92e7cee2edd73b5b64c39a8f30
codeSamplesNamespace: glean-api-specs-typescript-code-samples
codeSamplesRevisionDigest: sha256:548c9fd65c523a68b0083399ff25eb45b7ee7e12cff7dbf2ec5e6aa722f55f94
codeSamplesRevisionDigest: sha256:cecfea106e3812547f4a265a8c5f6c126c8d9c8c10683d1eb16cd40eb5163244
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 @@ -538,4 +538,14 @@ Based on:
### Generated
- [typescript v0.13.18] .
### Releases
- [NPM v0.13.18] https://www.npmjs.com/package/@gleanwork/api-client/v/0.13.18 - .
- [NPM v0.13.18] https://www.npmjs.com/package/@gleanwork/api-client/v/0.13.18 - .

## 2026-01-09 01:23:33
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.683.1 (2.792.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.13.19] .
### Releases
- [NPM v0.13.19] https://www.npmjs.com/package/@gleanwork/api-client/v/0.13.19 - .
2 changes: 1 addition & 1 deletion docs/models/components/activityevent.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { ActivityEvent } from "@gleanwork/api-client/models/components";

let value: ActivityEvent = {
action: "COMMENT",
timestamp: new Date("2024-08-18T11:58:39.675Z"),
timestamp: new Date("2025-08-18T11:58:39.675Z"),
url: "https://mammoth-premium.com",
};
```
Expand Down
8 changes: 4 additions & 4 deletions docs/models/components/addcollectionitemsresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let value: AddCollectionItemsResponse = {
collection: {
name: "<value>",
description:
"feline charming fast vibraphone immediately viciously creator",
"impanel importance pale parody towards wildly elementary unbearably",
audienceFilters: [
{
fieldName: "type",
Expand All @@ -25,7 +25,7 @@ let value: AddCollectionItemsResponse = {
],
},
],
id: 278414,
id: 390864,
creator: {
name: "George Clooney",
obfuscatedId: "abc123",
Expand All @@ -37,7 +37,7 @@ let value: AddCollectionItemsResponse = {
children: [
{
name: "<value>",
description: "design cappelletti kettledrum",
description: "viciously creator incidentally hole pecan",
audienceFilters: [
{
fieldName: "type",
Expand All @@ -53,7 +53,7 @@ let value: AddCollectionItemsResponse = {
],
},
],
id: 635422,
id: 581341,
creator: {
name: "George Clooney",
obfuscatedId: "abc123",
Expand Down
Loading