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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
382 changes: 334 additions & 48 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,19 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
java:
version: 0.8.0
version: 0.9.0
additionalDependencies: []
additionalPlugins: []
artifactID: glean-api-client
asyncMode: enabled
baseErrorName: GleanError
clientServerStatusCodesAsErrors: true
companyEmail: [email protected]
companyName: Glean
companyURL: https://www.glean.com
defaultErrorName: APIException
enableAsync: false
enableCustomCodeRegions: false
enableStreamingUploads: false
envVarPrefix: GLEAN
flattenGlobalSecurity: true
githubURL: github.com/gleanwork/api-client-java
Expand Down
121 changes: 116 additions & 5 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3774,6 +3774,7 @@ components:
email:
type: string
description: The email address of the user who submitted the Feedback.event.MANUAL_FEEDBACK event.
deprecated: true
source:
type: string
description: The source associated with the Feedback.event.MANUAL_FEEDBACK event.
Expand Down Expand Up @@ -4366,7 +4367,7 @@ components:
description: Disables automatic adjustment of the input query for spelling corrections or other reasons.
returnLlmContentOverSnippets:
type: boolean
description: "[beta] Enables expanded content to be returned for LLM usage. The size of content per result returned should be modified using maxSnippetSize. Server may return less or more than what is specified in maxSnippetSize. For more details, https://docs.google.com/document/d/1CTOLSxWWT9WDEnHVLoCUaxbGYyXYP8kctPRF-RluSQY/edit. Requires sufficient permissions."
description: Enables expanded content to be returned for LLM usage. The size of content per result returned should be modified using maxSnippetSize. Server may return less or more than what is specified in maxSnippetSize. For more details, see https://developers.glean.com/guides/search/llm-content.
inclusions:
$ref: "#/components/schemas/RestrictionFilters"
description: A list of filters which restrict the search results to only the specified content.
Expand Down Expand Up @@ -4864,6 +4865,9 @@ components:
name:
type: string
description: Name of the group.
datasourceInstance:
type: string
description: Datasource instance if the group belongs to one e.g. external groups.
UserRole:
type: string
description: A user's role with respect to a specific document.
Expand Down Expand Up @@ -5841,9 +5845,6 @@ components:
required:
- snippet
properties:
snippet:
type: string
description: A matching snippet from the document. Query term matches are marked by the unicode characters uE006 and uE007.
mimeType:
type: string
description: The mime type of the snippets, currently either text/plain or text/html.
Expand All @@ -5861,6 +5862,10 @@ components:
url:
type: string
description: A URL, generated based on availability, that links to the position of the snippet text or to the nearest header above the snippet text.
snippet:
type: string
deprecated: true
description: A matching snippet from the document. Query term matches are marked by the unicode characters uE006 and uE007. Use 'text' field instead.
example:
snippet: snippet
mimeType: mimeType
Expand Down Expand Up @@ -5954,6 +5959,8 @@ components:
- THREAD_ROOT
- PREFIX
- SUFFIX
- AUTHOR_PREFIX
- AUTHOR_SUFFIX
ClusterGroup:
required:
- visibleCountHint
Expand Down Expand Up @@ -7306,7 +7313,7 @@ components:
$ref: "#/components/schemas/AgentConfig"
description: Describes the agent config that generated this message. Populated on responses and not required on requests.
author:
default: GLEAN_AI
default: USER
enum:
- USER
- GLEAN_AI
Expand Down Expand Up @@ -7482,12 +7489,18 @@ components:
description: A historical representation of a series of chat messages a user had with Glean Assistant.
allOf:
- $ref: "#/components/schemas/ChatMetadata"
- $ref: "#/components/schemas/PermissionedObject"
properties:
messages:
type: array
items:
$ref: "#/components/schemas/ChatMessage"
description: The chat messages within a Chat.
roles:
type: array
items:
$ref: "#/components/schemas/UserRoleSpecification"
description: A list of roles for this Chat.
ChatResult:
properties:
chat:
Expand Down Expand Up @@ -9145,6 +9158,8 @@ components:
- ZERO_STATE_WORKFLOW_FAVORITES
- ZERO_STATE_WORKFLOW_POPULAR
- ZERO_STATE_WORKFLOW_SUGGESTION
- PERSONALIZED_CHAT_SUGGESTION
- DAILY_DIGEST
description: Categories of content requested. An allowlist gives flexibility to request content separately or together.
requestOptions:
$ref: "#/components/schemas/FeedRequestOptions"
Expand Down Expand Up @@ -9300,6 +9315,92 @@ components:
type: array
items:
$ref: "#/components/schemas/GeneratedAttachment"
SectionType:
type: string
description: Type of the section. This defines how the section should be interpreted and rendered in the digest.
x-enumDescriptions:
CHANNEL: A standard section for channel-based digests (e.g. from Slack, Teams).
MENTIONS: A dedicated section that surfaces user mentions (actionable, informative, or all).
TOPIC: A section driven by a generic topic, not tied to any specific channel or instance.
enum:
- CHANNEL
- MENTIONS
- TOPIC
UpdateType:
type: string
description: Optional type classification for the update.
x-enumDescriptions:
ACTIONABLE: Updates that require user attention or action
INFORMATIVE: Updates that are purely informational
enum:
- ACTIONABLE
- INFORMATIVE
DigestUpdate:
type: object
properties:
url:
type: string
description: URL link to the content or document.
title:
type: string
description: Title or headline of the update.
datasource:
type: string
description: Name or identifier of the data source (e.g., slack, confluence, etc.).
summary:
type: string
description: Brief summary or description of the update content.
type:
$ref: "#/components/schemas/UpdateType"
DigestSection:
type: object
required:
- id
- type
- updates
properties:
id:
type: string
description: Unique identifier for the digest section.
type:
$ref: "#/components/schemas/SectionType"
displayName:
type: string
description: Human-readable name for the digest section.
channelName:
type: string
description: Name of the channel (applicable for CHANNEL type sections). Used to display in the frontend.
instanceId:
type: string
description: Instance identifier for the channel or workspace. Used for constructing channel URLs to display in the frontend.
updates:
type: array
items:
$ref: "#/components/schemas/DigestUpdate"
description: List of updates within this digest section.
Digest:
type: object
properties:
podcastFileId:
type: string
description: Identifier for the podcast file generated from this digest content.
digestDate:
type: string
description: The date this digest covers, in YYYY-MM-DD format. Represents the specific day for which the digest content and updates were compiled. This can be empty if the digest is not yet available.
example: "2025-09-03"
sections:
type: array
items:
$ref: "#/components/schemas/DigestSection"
description: Array of digest sections from which the podcast was created.
ChatSuggestion:
properties:
query:
type: string
description: The actionable chat query to run when the user selects this suggestion.
feature:
type: string
description: Targeted Glean Chat feature for the suggestion.
PromptTemplateMutableProperties:
required:
- template
Expand Down Expand Up @@ -9513,6 +9614,8 @@ components:
- ZERO_STATE_PROMPT_TEMPLATE_SUGGESTION
- ZERO_STATE_STATIC_WORKFLOW_SUGGESTION
- ZERO_STATE_AGENT_SUGGESTION
- PERSONALIZED_CHAT_SUGGESTION
- DAILY_DIGEST
description: Type of the justification.
justification:
type: string
Expand All @@ -9529,6 +9632,8 @@ components:
$ref: "#/components/schemas/CalendarEvent"
announcement:
$ref: "#/components/schemas/Announcement"
digest:
$ref: "#/components/schemas/Digest"
collection:
$ref: "#/components/schemas/Collection"
collectionItem:
Expand All @@ -9537,6 +9642,8 @@ components:
$ref: "#/components/schemas/Person"
app:
$ref: "#/components/schemas/AppResult"
chatSuggestion:
$ref: "#/components/schemas/ChatSuggestion"
promptTemplate:
$ref: "#/components/schemas/PromptTemplateResult"
workflow:
Expand Down Expand Up @@ -9578,6 +9685,8 @@ components:
- ZERO_STATE_WORKFLOW_FAVORITES
- ZERO_STATE_WORKFLOW_POPULAR
- ZERO_STATE_WORKFLOW_SUGGESTION
- PERSONALIZED_CHAT_SUGGESTION
- DAILY_DIGEST
description: Category of the result, one of the requested categories in incoming request.
primaryEntry:
$ref: "#/components/schemas/FeedEntry"
Expand Down Expand Up @@ -11575,6 +11684,7 @@ components:
- EXTERNAL_SHORTCUT
- ENTITY
- CALENDAR
- AGENTS
description: The document category of this object type.
propertyDefinitions:
type: array
Expand Down Expand Up @@ -11629,6 +11739,7 @@ components:
- EXTERNAL_SHORTCUT
- ENTITY
- CALENDAR
- AGENTS
default: UNCATEGORIZED
description: The type of this datasource. It is an important signal for relevance and must be specified and cannot be UNCATEGORIZED. Please refer to [this](https://developers.glean.com/docs/indexing_api_datasource_category/) for more details.
urlRegex:
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.603.0
speakeasyVersion: 1.611.0
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:8f18d79a0a7d8f51de7edd5bc8ca3ccc569b81832ffc44ce95a27a12e67b9b7d
sourceBlobDigest: sha256:bb3e5a453f03cbdecf3fb3925768ef4cb0b3119083d9d36c341e1ecd721cde8b
sourceRevisionDigest: sha256:2e37e872887d112cb79ba687c962ee768906d3a39a404de1839b22c0badb060f
sourceBlobDigest: sha256:79a741cc5e67e62f8fbbc4c8e8209ac340bff12bd1d3187e0aeae5587d0910c2
tags:
- latest
- speakeasy-sdk-regen-1752597383
- speakeasy-sdk-regen-1755200997
Glean-OAS:
sourceNamespace: glean-oas
sourceRevisionDigest: sha256:8841834dd58ddd4e2dcf98fc90fbd06fbf3626a29df941503cce55b9548a5317
Expand All @@ -18,10 +18,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:8f18d79a0a7d8f51de7edd5bc8ca3ccc569b81832ffc44ce95a27a12e67b9b7d
sourceBlobDigest: sha256:bb3e5a453f03cbdecf3fb3925768ef4cb0b3119083d9d36c341e1ecd721cde8b
sourceRevisionDigest: sha256:2e37e872887d112cb79ba687c962ee768906d3a39a404de1839b22c0badb060f
sourceBlobDigest: sha256:79a741cc5e67e62f8fbbc4c8e8209ac340bff12bd1d3187e0aeae5587d0910c2
codeSamplesNamespace: glean-api-specs-java-code-samples
codeSamplesRevisionDigest: sha256:e2f179bd27ebe8ef2e5db4899dbce44b41be5a1a46f7d62f7df45af109b6df27
codeSamplesRevisionDigest: sha256:276f3a59565b0ade33ae1975fdc364b3be2bd131a351c2a11bec0c2172862272
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
Loading