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
12 changes: 6 additions & 6 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 0359d4fe-2923-46fc-aaca-cf70b48dcfa1
management:
docChecksum: 30752ad325475357749711c885ecb81f
docChecksum: a88d9955d9cbdc1c97388b62e19647f9
docVersion: 0.9.0
speakeasyVersion: 1.638.0
generationVersion: 2.728.0
releaseVersion: 0.11.0
configChecksum: d157cb95dffa505a3cbd4f357c97d5f3
speakeasyVersion: 1.640.0
generationVersion: 2.730.5
releaseVersion: 0.11.1
configChecksum: 0188004147fd785d19ccb3035e112b3c
repoURL: https://github.com/gleanwork/api-client-java.git
published: true
features:
Expand Down Expand Up @@ -2897,4 +2897,4 @@ generatedTests:
get_/rest/api/v1/tools/list: "2025-06-09T18:03:44Z"
post_/rest/api/v1/tools/call: "2025-06-09T18:03:44Z"
listpolicies: "2025-06-09T18:03:44Z"
releaseNotes: "## Java SDK Changes Detected:\n* `glean.client.chat.create()`: \n * `request.chatrequest.messages.[].agentConfig.useImageGeneration` **Added**\n * `response.messages.[].agentConfig.useImageGeneration` **Added**\n* `glean.client.chat.retrieve()`: `response.chatresult.chat.messages.[].agentConfig.useImageGeneration` **Added**\n* `glean.client.chat.createStream()`: \n * `request.chatrequest.messages.[].agentConfig.useImageGeneration` **Added**\n"
releaseNotes: "## Java SDK Changes Detected:\n* `glean.client.announcements.create()`: \n * `request.body.structuredList.[].document.metadata.author.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n * `response.body.structuredList.[].document.metadata.author.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.announcements.update()`: \n * `request.body.structuredList.[].document.metadata.author.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n * `response.body.structuredList.[].document.metadata.author.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.answers.create()`: \n * `request.data.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n * `response.addedroles.[].person.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.answers.update()`: \n * `request.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n * `response.addedroles.[].person.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.answers.retrieve()`: `response.answerresult.answer.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.answers.list()`: `response.answerresults.[].answer.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.chat.create()`: \n * `request.chatrequest.messages.[].citations.[].sourceDocument.metadata.author.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n * `response.messages.[].citations.[].sourceDocument.metadata.author.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.chat.retrieve()`: `response.chatresult.chat.createdBy.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.chat.list()`: `response.chatresults.[].chat.createdBy.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.chat.createStream()`: \n * `request.chatrequest.messages.[].citations.[].sourceDocument.metadata.author.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.collections.addItems()`: `response.collection.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.collections.create()`: \n * `request.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n * `response.[class].collection.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.collections.deleteItem()`: `response.collection.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.collections.update()`: \n * `request.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n * `response.addedroles.[].person.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.collections.updateItem()`: `response.collection.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.collections.retrieve()`: `response.collection.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.collections.list()`: `response.collections.[].addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.documents.retrieve()`: `response.documents.{}` **Changed**\n* `glean.client.documents.retrieveByFacets()`: `response.documents.[].metadata.author.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.insights.retrieve()`: `response.users.activityInsights.[].user.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.messages.retrieve()`: `response.searchresponse.results.[].structuredResults.[].chat` **Added**\n* `glean.client.pins.update()`: `response.attribution.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.pins.retrieve()`: `response.pin.attribution.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.pins.list()`: `response.pins.[].attribution.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.pins.create()`: `response.attribution.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.search.queryAsAdmin()`: \n * `request.sourceDocument.metadata.author.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n * `response.results.[].structuredResults.[].chat` **Added**\n* `glean.client.search.autocomplete()`: `response.results.[].document.metadata.author.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.search.retrieveFeed()`: `response.results.[].primaryEntry.createdBy.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.search.recommendations()`: \n * `request.sourceDocument.metadata.author.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n * `response.results.[].structuredResults.[].chat` **Added**\n* `glean.client.search.query()`: \n * `request.sourceDocument.metadata.author.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n * `response.results.[].structuredResults.[].chat` **Added**\n* `glean.client.entities.list()`: `response.results.[].relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.entities.readPeople()`: `response.results.[].relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.shortcuts.create()`: \n * `request.data.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n * `response.shortcut.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.shortcuts.retrieve()`: `response.shortcut.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.shortcuts.list()`: `response.shortcuts.[].addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.shortcuts.update()`: \n * `request.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n * `response.shortcut.addedRoles.[].person.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.verification.addReminder()`: `response.metadata.lastVerifier.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.verification.list()`: `response.documents.[].metadata.lastVerifier.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n* `glean.client.verification.verify()`: `response.metadata.lastVerifier.relatedDocuments.[].results.[].structuredResults.[].chat` **Added**\n"
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
java:
version: 0.11.0
version: 0.11.1
additionalDependencies: []
additionalPlugins: []
artifactID: glean-api-client
Expand Down
140 changes: 74 additions & 66 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3791,6 +3791,7 @@ components:
- GENERATED_Q_AND_A
- INLINE_MENU
- NATIVE_RESULT
- PRISM
- Q_AND_A
- RELATED_QUESTIONS
- REPORT_ISSUE
Expand Down Expand Up @@ -3982,6 +3983,7 @@ components:
- WORKFLOWS
- SUMMARY
- GENERAL
- PRISM
- PROMPTS
trackingTokens:
type: array
Expand Down Expand Up @@ -5810,6 +5812,72 @@ components:
$ref: "#/components/schemas/QuerySuggestion"
person:
$ref: "#/components/schemas/Person"
IconConfig:
description: Defines how to render an icon
properties:
generatedBackgroundColorKey:
type: string
backgroundColor:
type: string
color:
type: string
key:
type: string
iconType:
enum:
- COLLECTION
- CUSTOM
- DATASOURCE
- DATASOURCE_INSTANCE
- FAVICON
- FILE_TYPE
- GENERATED_BACKGROUND
- GLYPH
- MIME_TYPE
- NO_ICON
- PERSON
- REACTIONS
- URL
masked:
type: boolean
description: Whether the icon should be masked based on current theme.
name:
type: string
description: The name of the icon if applicable, e.g. the glyph name for `IconType.GLYPH` icons.
url:
type: string
description: The URL to an image to be displayed if applicable, e.g. the URL for `iconType.URL` icons.
example:
color: "#343CED"
key: person_icon
iconType: GLYPH
name: user
ChatMetadata:
description: Metadata of a Chat a user had with Glean Assistant. This contains no actual conversational content.
properties:
id:
type: string
description: The opaque id of the Chat.
createTime:
type: integer
description: Server Unix timestamp of the creation time (in seconds since epoch UTC).
createdBy:
$ref: "#/components/schemas/Person"
description: The user who created this Chat.
updateTime:
type: integer
description: Server Unix timestamp of the update time (in seconds since epoch UTC).
name:
type: string
description: The name of the Chat.
applicationId:
type: string
description: The ID of the AI App that this Chat is associated to.
applicationName:
type: string
description: The display name of the AI App that this Chat is associated to.
icon:
$ref: "#/components/schemas/IconConfig"
RelatedDocuments:
properties:
relation:
Expand Down Expand Up @@ -5944,6 +6012,8 @@ components:
$ref: "#/components/schemas/Shortcut"
querySuggestions:
$ref: "#/components/schemas/QuerySuggestionList"
chat:
$ref: "#/components/schemas/ChatMetadata"
relatedDocuments:
type: array
items:
Expand Down Expand Up @@ -6291,46 +6361,6 @@ components:
enum:
- DEFAULT
- OUT_OF_OFFICE
IconConfig:
description: Defines how to render an icon
properties:
generatedBackgroundColorKey:
type: string
backgroundColor:
type: string
color:
type: string
key:
type: string
iconType:
enum:
- COLLECTION
- CUSTOM
- DATASOURCE
- DATASOURCE_INSTANCE
- FAVICON
- FILE_TYPE
- GENERATED_BACKGROUND
- GLYPH
- MIME_TYPE
- NO_ICON
- PERSON
- REACTIONS
- URL
masked:
type: boolean
description: Whether the icon should be masked based on current theme.
name:
type: string
description: The name of the icon if applicable, e.g. the glyph name for `IconType.GLYPH` icons.
url:
type: string
description: The URL to an image to be displayed if applicable, e.g. the URL for `iconType.URL` icons.
example:
color: "#343CED"
key: person_icon
iconType: GLYPH
name: user
Badge:
type: object
description: Displays a user's accomplishment or milestone
Expand Down Expand Up @@ -7528,32 +7558,6 @@ components:
id:
type: string
description: The id of the Chat to be retrieved.
ChatMetadata:
description: Metadata of a Chat a user had with Glean Assistant. This contains no actual conversational content.
properties:
id:
type: string
description: The opaque id of the Chat.
createTime:
type: integer
description: Server Unix timestamp of the creation time (in seconds since epoch UTC).
createdBy:
$ref: "#/components/schemas/Person"
description: The user who created this Chat.
updateTime:
type: integer
description: Server Unix timestamp of the update time (in seconds since epoch UTC).
name:
type: string
description: The name of the Chat.
applicationId:
type: string
description: The ID of the AI App that this Chat is associated to.
applicationName:
type: string
description: The display name of the AI App that this Chat is associated to.
icon:
$ref: "#/components/schemas/IconConfig"
Chat:
description: A historical representation of a series of chat messages a user had with Glean Assistant.
allOf:
Expand Down Expand Up @@ -8053,6 +8057,8 @@ components:
oneOf:
- $ref: "#/components/schemas/Document"
- type: object
required:
- error
properties:
error:
type: string
Expand Down Expand Up @@ -9305,6 +9311,7 @@ components:
- ENTITY
- GOLINK
- HISTORY
- CHAT_HISTORY
- NEW_CHAT
- OPERATOR
- OPERATOR_VALUE
Expand Down Expand Up @@ -9418,6 +9425,7 @@ components:
- ENTITY
- GOLINK
- HISTORY
- CHAT_HISTORY
- NEW_CHAT
- OPERATOR
- OPERATOR_VALUE
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.638.0
speakeasyVersion: 1.640.0
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:d7d301aaa9efeddb264ed6ae3d4186b8472d376b021c3f22f96d0c15e79c0ee6
sourceBlobDigest: sha256:a97d8110c742a097fb206e255a509eb2407aec24dc4e9fb8dcacc9a6a52eb134
sourceRevisionDigest: sha256:9185501d1d898cebc99ebe94e5727ae819ab99ac594dd3e5b54c26212ea70b47
sourceBlobDigest: sha256:a1f24fbc23ef924e4ec1955c22b78a7437b9c77b601fde39bcb9537daa8ce4cd
tags:
- latest
- speakeasy-sdk-regen-1760999718
- speakeasy-sdk-regen-1761265128
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:d7d301aaa9efeddb264ed6ae3d4186b8472d376b021c3f22f96d0c15e79c0ee6
sourceBlobDigest: sha256:a97d8110c742a097fb206e255a509eb2407aec24dc4e9fb8dcacc9a6a52eb134
sourceRevisionDigest: sha256:9185501d1d898cebc99ebe94e5727ae819ab99ac594dd3e5b54c26212ea70b47
sourceBlobDigest: sha256:a1f24fbc23ef924e4ec1955c22b78a7437b9c77b601fde39bcb9537daa8ce4cd
codeSamplesNamespace: glean-api-specs-java-code-samples
codeSamplesRevisionDigest: sha256:c2434da636608284eac3a35c0d25ff20ef11d590a751ee0ba44bfbcb007a9d6f
codeSamplesRevisionDigest: sha256:c4662c94f022d7c04241ad3fe686375a4eb1100d37228d0b0d393b3453e42987
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.glean.api-client:glean-api-client:0.11.0'
implementation 'com.glean.api-client:glean-api-client:0.11.1'
```

Maven:
```xml
<dependency>
<groupId>com.glean.api-client</groupId>
<artifactId>glean-api-client</artifactId>
<version>0.11.0</version>
<version>0.11.1</version>
</dependency>
```

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,4 +298,14 @@ Based on:
### Generated
- [java v0.11.0] .
### Releases
- [Maven Central v0.11.0] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.11.0 - .
- [Maven Central v0.11.0] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.11.0 - .

## 2025-10-28 01:55:28
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.640.0 (2.730.5) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.11.1] .
### Releases
- [Maven Central v0.11.1] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.11.1 - .
1 change: 1 addition & 0 deletions docs/models/components/AutocompleteRequestResultType.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
| `ENTITY` | ENTITY |
| `GOLINK` | GOLINK |
| `HISTORY` | HISTORY |
| `CHAT_HISTORY` | CHAT_HISTORY |
| `NEW_CHAT` | NEW_CHAT |
| `OPERATOR` | OPERATOR |
| `OPERATOR_VALUE` | OPERATOR_VALUE |
Expand Down
Loading