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
14 changes: 7 additions & 7 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 664aaca5-a41f-4434-8f2a-642dba92fe68
management:
docChecksum: 30752ad325475357749711c885ecb81f
docChecksum: a88d9955d9cbdc1c97388b62e19647f9
docVersion: 0.9.0
speakeasyVersion: 1.638.0
generationVersion: 2.728.0
releaseVersion: 0.13.0
configChecksum: b38d27b694691645b8dbb467b345e3e1
speakeasyVersion: 1.642.1
generationVersion: 2.731.4
releaseVersion: 0.13.1
configChecksum: 45eb2134b6f9222b55a1081fc682234f
repoURL: https://github.com/gleanwork/api-client-typescript.git
installationURL: https://github.com/gleanwork/api-client-typescript
published: true
Expand All @@ -15,7 +15,7 @@ features:
additionalDependencies: 0.1.0
additionalProperties: 0.1.2
constsAndDefaults: 0.1.12
core: 3.23.0
core: 3.24.1
defaultEnabledRetries: 0.1.0
deprecations: 2.81.1
devContainers: 2.90.1
Expand Down Expand Up @@ -2979,4 +2979,4 @@ generatedTests:
createpolicy: "2025-06-09T18:05:10Z"
createreport: "2025-06-09T18:05:10Z"
setdocvisibility: "2025-06-09T18:05:10Z"
releaseNotes: "## Typescript 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: "## Typescript 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"
3 changes: 2 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
typescript:
version: 0.13.0
version: 0.13.1
acceptHeaderEnum: true
additionalDependencies:
dependencies: {}
Expand Down Expand Up @@ -70,3 +70,4 @@ typescript:
templateVersion: v2
usageSDKInitImports: []
useIndexModules: true
zodVersion: v3
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.642.1
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:d7d301aaa9efeddb264ed6ae3d4186b8472d376b021c3f22f96d0c15e79c0ee6
sourceBlobDigest: sha256:a97d8110c742a097fb206e255a509eb2407aec24dc4e9fb8dcacc9a6a52eb134
sourceRevisionDigest: sha256:9185501d1d898cebc99ebe94e5727ae819ab99ac594dd3e5b54c26212ea70b47
sourceBlobDigest: sha256:a1f24fbc23ef924e4ec1955c22b78a7437b9c77b601fde39bcb9537daa8ce4cd
tags:
- latest
- speakeasy-sdk-regen-1760999714
- speakeasy-sdk-regen-1761265134
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:d7d301aaa9efeddb264ed6ae3d4186b8472d376b021c3f22f96d0c15e79c0ee6
sourceBlobDigest: sha256:a97d8110c742a097fb206e255a509eb2407aec24dc4e9fb8dcacc9a6a52eb134
sourceRevisionDigest: sha256:9185501d1d898cebc99ebe94e5727ae819ab99ac594dd3e5b54c26212ea70b47
sourceBlobDigest: sha256:a1f24fbc23ef924e4ec1955c22b78a7437b9c77b601fde39bcb9537daa8ce4cd
codeSamplesNamespace: glean-api-specs-typescript-code-samples
codeSamplesRevisionDigest: sha256:9b0ef39bf4b934badf63687088c9c1ab15def16a13749aa544f7c66859a908e8
codeSamplesRevisionDigest: sha256:0de483fe13b70f742f1fb5fa63f9e7b861609cfd1aae9690781b8e63ae0ad9e6
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 @@ -358,4 +358,14 @@ Based on:
### Generated
- [typescript v0.13.0] .
### Releases
- [NPM v0.13.0] https://www.npmjs.com/package/@gleanwork/api-client/v/0.13.0 - .
- [NPM v0.13.0] https://www.npmjs.com/package/@gleanwork/api-client/v/0.13.0 - .

## 2025-10-28 16:40:51
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.642.1 (2.731.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.13.1] .
### Releases
- [NPM v0.13.1] https://www.npmjs.com/package/@gleanwork/api-client/v/0.13.1 - .
12 changes: 12 additions & 0 deletions docs/models/components/answer.md
Original file line number Diff line number Diff line change
Expand Up @@ -1086,6 +1086,18 @@ let value: Answer = {
obfuscatedId: "abc123",
},
},
chat: {
createdBy: {
name: "George Clooney",
obfuscatedId: "abc123",
},
icon: {
color: "#343CED",
key: "person_icon",
iconType: "GLYPH",
name: "user",
},
},
relatedDocuments: [
{
querySuggestion: {
Expand Down
Loading