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
228 changes: 95 additions & 133 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.17.0
version: 0.17.1
acceptHeaderEnum: true
additionalDependencies:
dependencies: {}
Expand Down
107 changes: 67 additions & 40 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ openapi: 3.0.0
info:
version: "0.9.0"
title: Glean API
x-source-commit-sha: 750ec3e4db6f2877f191460b47bff807273c68d8
x-open-api-commit-sha: 5130487252df59e5fe21a96c4e758609933045da
x-source-commit-sha: 33bf057cf0f948a83126e81582717aebdb622bfa
x-open-api-commit-sha: 4f3a4abf8f003a4edc5522021b22184c76d051ad
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 Down Expand Up @@ -67,6 +67,8 @@ paths:
$ref: "#/components/responses/PlatformNotFound"
"408":
$ref: "#/components/responses/PlatformRequestTimeout"
"413":
$ref: "#/components/responses/PlatformRequestTooLarge"
"429":
$ref: "#/components/responses/PlatformTooManyRequests"
"500":
Expand Down Expand Up @@ -236,6 +238,8 @@ paths:
$ref: "#/components/responses/PlatformRequestTimeout"
"409":
$ref: "#/components/responses/PlatformConflict"
"413":
$ref: "#/components/responses/PlatformRequestTooLarge"
"429":
$ref: "#/components/responses/PlatformTooManyRequests"
"500":
Expand Down Expand Up @@ -282,6 +286,8 @@ paths:
$ref: "#/components/responses/PlatformNotFound"
"408":
$ref: "#/components/responses/PlatformRequestTimeout"
"413":
$ref: "#/components/responses/PlatformRequestTooLarge"
"429":
$ref: "#/components/responses/PlatformTooManyRequests"
"500":
Expand Down Expand Up @@ -5078,6 +5084,7 @@ components:
- resource_not_found
- method_not_allowed
- request_timeout
- request_too_large
- conflict
- gone
- unprocessable_query
Expand Down Expand Up @@ -5248,6 +5255,7 @@ components:
$ref: "#/components/schemas/PlatformMessageRole"
content:
type: array
minItems: 1
description: Content blocks in the message.
items:
$ref: "#/components/schemas/PlatformMessageTextBlock"
Expand Down Expand Up @@ -7260,6 +7268,44 @@ components:
editUrl:
type: string
description: The URL using which the user can access the edit page of the shortcut.
UgcType:
enum:
- AGENT_TYPE
- ANNOUNCEMENTS_TYPE
- ANSWERS_TYPE
- CHATS_TYPE
- COLLECTIONS_TYPE
- EMAIL_TYPE
- HTML_CODE_TYPE
- IMAGE_TYPE
- MESSAGE_TYPE
- PAPER_TYPE
- PRISM_VIEWS_TYPE
- PROMPT_TEMPLATES_TYPE
- PINS_TYPE
- SCRIBES_TYPE
- SHORTCUTS_TYPE
- SLIDE_TYPE
- SPREADSHEET_TYPE
- INLINE_HTML_TYPE
- PODCAST_TYPE
- WORKFLOWS_TYPE
FavoriteInfo:
type: object
properties:
ugcType:
$ref: '#/components/schemas/UgcType'
id:
type: string
description: Opaque id of the UGC.
count:
type: integer
description: Number of users this object has been favorited by.
x-includeEmpty: true
favoritedByUser:
type: boolean
description: If the requesting user has favorited this object.
x-includeEmpty: true
Shortcut:
allOf:
- $ref: '#/components/schemas/UserGeneratedContentId'
Expand All @@ -7279,6 +7325,8 @@ components:
items:
$ref: '#/components/schemas/UserRoleSpecification'
description: A list of user roles for the Go Link.
favoriteInfo:
$ref: '#/components/schemas/FavoriteInfo'
required:
- inputAlias
Collection:
Expand Down Expand Up @@ -7330,6 +7378,8 @@ components:
items:
$ref: '#/components/schemas/UserRoleSpecification'
description: A list of user roles for the Collection.
favoriteInfo:
$ref: '#/components/schemas/FavoriteInfo'
required:
- id
- description
Expand Down Expand Up @@ -8144,6 +8194,8 @@ components:
updateTime:
type: string
format: date-time
favoriteInfo:
$ref: '#/components/schemas/FavoriteInfo'
required:
- documentId
PersonTeam:
Expand Down Expand Up @@ -8969,6 +9021,8 @@ components:
isPublished:
type: boolean
description: Whether or not the announcement is published.
favoriteInfo:
$ref: '#/components/schemas/FavoriteInfo'
DeleteAnnouncementRequest:
properties:
id:
Expand Down Expand Up @@ -9055,6 +9109,8 @@ components:
message: Use `answer.trackingToken` instead.
removal: "2027-01-15"
x-speakeasy-deprecation-message: "Deprecated on 2026-05-07, removal scheduled for 2027-01-15: Use `answer.trackingToken` instead."
favoriteInfo:
$ref: '#/components/schemas/FavoriteInfo'
required:
- answer
GetAnswerError:
Expand Down Expand Up @@ -11896,6 +11952,7 @@ components:
- ZERO_STATE_WORKFLOW_SUGGESTION
- PERSONALIZED_CHAT_SUGGESTION
- DAILY_DIGEST
- PODCAST
- TASK
- PLAN_MY_DAY
- END_MY_DAY
Expand Down Expand Up @@ -12239,44 +12296,6 @@ components:
items:
$ref: '#/components/schemas/UserRoleSpecification'
description: A list of roles for this prompt template explicitly granted.
UgcType:
enum:
- AGENT_TYPE
- ANNOUNCEMENTS_TYPE
- ANSWERS_TYPE
- CHATS_TYPE
- COLLECTIONS_TYPE
- EMAIL_TYPE
- HTML_CODE_TYPE
- IMAGE_TYPE
- MESSAGE_TYPE
- PAPER_TYPE
- PRISM_VIEWS_TYPE
- PROMPT_TEMPLATES_TYPE
- PINS_TYPE
- SCRIBES_TYPE
- SHORTCUTS_TYPE
- SLIDE_TYPE
- SPREADSHEET_TYPE
- INLINE_HTML_TYPE
- PODCAST_TYPE
- WORKFLOWS_TYPE
FavoriteInfo:
type: object
properties:
ugcType:
$ref: '#/components/schemas/UgcType'
id:
type: string
description: Opaque id of the UGC.
count:
type: integer
description: Number of users this object has been favorited by.
x-includeEmpty: true
favoritedByUser:
type: boolean
description: If the requesting user has favorited this object.
x-includeEmpty: true
PromptTemplateResult:
properties:
promptTemplate:
Expand Down Expand Up @@ -12372,6 +12391,7 @@ components:
- ZERO_STATE_AGENT_SUGGESTION
- PERSONALIZED_CHAT_SUGGESTION
- DAILY_DIGEST
- PODCAST
- TASK
- PLAN_MY_DAY
- END_MY_DAY
Expand Down Expand Up @@ -12464,6 +12484,7 @@ components:
- ZERO_STATE_WORKFLOW_SUGGESTION
- PERSONALIZED_CHAT_SUGGESTION
- DAILY_DIGEST
- PODCAST
- TASK
- PLAN_MY_DAY
- END_MY_DAY
Expand Down Expand Up @@ -15756,6 +15777,12 @@ components:
application/problem+json:
schema:
$ref: "#/components/schemas/PlatformProblemDetail"
PlatformRequestTooLarge:
description: Request body exceeds the maximum allowed size.
content:
application/problem+json:
schema:
$ref: "#/components/schemas/PlatformProblemDetail"
PlatformTooManyRequests:
description: Rate limit exceeded. Includes Retry-After header.
content:
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.788.0
speakeasyVersion: 1.788.1
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:246abdd49c246fce5b73bbb889da02141eaebcb7518c0ec21dbfbb75b3a53294
sourceBlobDigest: sha256:def1b0c41f5ee4bd90ba40af9ce88738cd00213633e1ca6b261558b6d885ab04
sourceRevisionDigest: sha256:8b1b5374e6d5c2f98bc7cddfa619249cd150deba48f6c8b9f2637f723ff73fd2
sourceBlobDigest: sha256:3373213fc1a05b08aad1cf828d00ce46e1da651645fc1ccde24fcdf3efca5861
tags:
- latest
Glean Client API:
Expand All @@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:246abdd49c246fce5b73bbb889da02141eaebcb7518c0ec21dbfbb75b3a53294
sourceBlobDigest: sha256:def1b0c41f5ee4bd90ba40af9ce88738cd00213633e1ca6b261558b6d885ab04
sourceRevisionDigest: sha256:8b1b5374e6d5c2f98bc7cddfa619249cd150deba48f6c8b9f2637f723ff73fd2
sourceBlobDigest: sha256:3373213fc1a05b08aad1cf828d00ce46e1da651645fc1ccde24fcdf3efca5861
codeSamplesNamespace: glean-api-specs-typescript-code-samples
codeSamplesRevisionDigest: sha256:fd55d7c832894fd469250408a7575157906b9ebfe2a2b96b55cce9bd95747b17
codeSamplesRevisionDigest: sha256:0f479edeeeb954c2a19e382360290300e8277e3263ac780aaa8e440632e4f1ac
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 @@ -798,4 +798,14 @@ Based on:
### Generated
- [typescript v0.17.0] .
### Releases
- [NPM v0.17.0] https://www.npmjs.com/package/@gleanwork/api-client/v/0.17.0 - .
- [NPM v0.17.0] https://www.npmjs.com/package/@gleanwork/api-client/v/0.17.0 - .

## 2026-07-06 02:47:48
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.788.1 (2.915.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.17.1] .
### Releases
- [NPM v0.17.1] https://www.npmjs.com/package/@gleanwork/api-client/v/0.17.1 - .
3 changes: 2 additions & 1 deletion docs/models/components/announcement.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ let value: Announcement = {
| `updatedBy` | [components.Person](../../models/components/person.md) | :heavy_minus_sign: | N/A | {<br/>"name": "George Clooney",<br/>"obfuscatedId": "abc123"<br/>} |
| `viewerInfo` | [components.AnnouncementViewerInfo](../../models/components/announcementviewerinfo.md) | :heavy_minus_sign: | N/A | |
| `sourceDocument` | [components.Document](../../models/components/document.md) | :heavy_minus_sign: | N/A | |
| `isPublished` | *boolean* | :heavy_minus_sign: | Whether or not the announcement is published. | |
| `isPublished` | *boolean* | :heavy_minus_sign: | Whether or not the announcement is published. | |
| `favoriteInfo` | [components.FavoriteInfo](../../models/components/favoriteinfo.md) | :heavy_minus_sign: | N/A | |
Loading
Loading