Skip to content

Commit 2827d06

Browse files
committed
## Python SDK Changes Detected:
* `glean.client.chat.retrieve()`: `response.chat_result.chat` **Changed** * `glean.client.search.retrieve_feed()`: `response.results.[].primary_entry.digest` **Added**
1 parent 8bc35c4 commit 2827d06

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+649
-28
lines changed

.speakeasy/gen.lock

Lines changed: 26 additions & 8 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ generation:
2626
generateNewTests: true
2727
skipResponseBodyAssertions: true
2828
python:
29-
version: 0.7.3
29+
version: 0.7.4
3030
additionalDependencies:
3131
dev: {}
3232
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7489,12 +7489,18 @@ components:
74897489
description: A historical representation of a series of chat messages a user had with Glean Assistant.
74907490
allOf:
74917491
- $ref: "#/components/schemas/ChatMetadata"
7492+
- $ref: "#/components/schemas/PermissionedObject"
74927493
properties:
74937494
messages:
74947495
type: array
74957496
items:
74967497
$ref: "#/components/schemas/ChatMessage"
74977498
description: The chat messages within a Chat.
7499+
roles:
7500+
type: array
7501+
items:
7502+
$ref: "#/components/schemas/UserRoleSpecification"
7503+
description: A list of roles for this Chat.
74987504
ChatResult:
74997505
properties:
75007506
chat:
@@ -9153,6 +9159,7 @@ components:
91539159
- ZERO_STATE_WORKFLOW_POPULAR
91549160
- ZERO_STATE_WORKFLOW_SUGGESTION
91559161
- PERSONALIZED_CHAT_SUGGESTION
9162+
- DAILY_DIGEST
91569163
description: Categories of content requested. An allowlist gives flexibility to request content separately or together.
91579164
requestOptions:
91589165
$ref: "#/components/schemas/FeedRequestOptions"
@@ -9308,6 +9315,84 @@ components:
93089315
type: array
93099316
items:
93109317
$ref: "#/components/schemas/GeneratedAttachment"
9318+
SectionType:
9319+
type: string
9320+
description: Type of the section. This defines how the section should be interpreted and rendered in the digest.
9321+
x-enumDescriptions:
9322+
CHANNEL: A standard section for channel-based digests (e.g. from Slack, Teams).
9323+
MENTIONS: A dedicated section that surfaces user mentions (actionable, informative, or all).
9324+
TOPIC: A section driven by a generic topic, not tied to any specific channel or instance.
9325+
enum:
9326+
- CHANNEL
9327+
- MENTIONS
9328+
- TOPIC
9329+
UpdateType:
9330+
type: string
9331+
description: Optional type classification for the update.
9332+
x-enumDescriptions:
9333+
ACTIONABLE: Updates that require user attention or action
9334+
INFORMATIVE: Updates that are purely informational
9335+
enum:
9336+
- ACTIONABLE
9337+
- INFORMATIVE
9338+
DigestUpdate:
9339+
type: object
9340+
properties:
9341+
url:
9342+
type: string
9343+
description: URL link to the content or document.
9344+
title:
9345+
type: string
9346+
description: Title or headline of the update.
9347+
datasource:
9348+
type: string
9349+
description: Name or identifier of the data source (e.g., slack, confluence, etc.).
9350+
summary:
9351+
type: string
9352+
description: Brief summary or description of the update content.
9353+
type:
9354+
$ref: "#/components/schemas/UpdateType"
9355+
DigestSection:
9356+
type: object
9357+
required:
9358+
- id
9359+
- type
9360+
- updates
9361+
properties:
9362+
id:
9363+
type: string
9364+
description: Unique identifier for the digest section.
9365+
type:
9366+
$ref: "#/components/schemas/SectionType"
9367+
displayName:
9368+
type: string
9369+
description: Human-readable name for the digest section.
9370+
channelName:
9371+
type: string
9372+
description: Name of the channel (applicable for CHANNEL type sections). Used to display in the frontend.
9373+
instanceId:
9374+
type: string
9375+
description: Instance identifier for the channel or workspace. Used for constructing channel URLs to display in the frontend.
9376+
updates:
9377+
type: array
9378+
items:
9379+
$ref: "#/components/schemas/DigestUpdate"
9380+
description: List of updates within this digest section.
9381+
Digest:
9382+
type: object
9383+
properties:
9384+
podcastFileId:
9385+
type: string
9386+
description: Identifier for the podcast file generated from this digest content.
9387+
digestDate:
9388+
type: string
9389+
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.
9390+
example: "2025-09-03"
9391+
sections:
9392+
type: array
9393+
items:
9394+
$ref: "#/components/schemas/DigestSection"
9395+
description: Array of digest sections from which the podcast was created.
93119396
ChatSuggestion:
93129397
properties:
93139398
query:
@@ -9530,6 +9615,7 @@ components:
95309615
- ZERO_STATE_STATIC_WORKFLOW_SUGGESTION
95319616
- ZERO_STATE_AGENT_SUGGESTION
95329617
- PERSONALIZED_CHAT_SUGGESTION
9618+
- DAILY_DIGEST
95339619
description: Type of the justification.
95349620
justification:
95359621
type: string
@@ -9546,6 +9632,8 @@ components:
95469632
$ref: "#/components/schemas/CalendarEvent"
95479633
announcement:
95489634
$ref: "#/components/schemas/Announcement"
9635+
digest:
9636+
$ref: "#/components/schemas/Digest"
95499637
collection:
95509638
$ref: "#/components/schemas/Collection"
95519639
collectionItem:
@@ -9598,6 +9686,7 @@ components:
95989686
- ZERO_STATE_WORKFLOW_POPULAR
95999687
- ZERO_STATE_WORKFLOW_SUGGESTION
96009688
- PERSONALIZED_CHAT_SUGGESTION
9689+
- DAILY_DIGEST
96019690
description: Category of the result, one of the requested categories in incoming request.
96029691
primaryEntry:
96039692
$ref: "#/components/schemas/FeedEntry"
@@ -11595,6 +11684,7 @@ components:
1159511684
- EXTERNAL_SHORTCUT
1159611685
- ENTITY
1159711686
- CALENDAR
11687+
- AGENTS
1159811688
description: The document category of this object type.
1159911689
propertyDefinitions:
1160011690
type: array
@@ -11649,6 +11739,7 @@ components:
1164911739
- EXTERNAL_SHORTCUT
1165011740
- ENTITY
1165111741
- CALENDAR
11742+
- AGENTS
1165211743
default: UNCATEGORIZED
1165311744
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.
1165411745
urlRegex:

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.606.9
1+
speakeasyVersion: 1.611.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:35193fded9c9797576c742f6e93e2e3e9d507aa2ab2c55a5458825561552f33e
6-
sourceBlobDigest: sha256:1dc638c477afb69ccc30ba6482d7ac2e7237238d44638da8d0c4ece45f36d416
5+
sourceRevisionDigest: sha256:2e37e872887d112cb79ba687c962ee768906d3a39a404de1839b22c0badb060f
6+
sourceBlobDigest: sha256:79a741cc5e67e62f8fbbc4c8e8209ac340bff12bd1d3187e0aeae5587d0910c2
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1755200990
9+
- speakeasy-sdk-regen-1756833812
1010
Glean Client API:
1111
sourceNamespace: glean-client-api
1212
sourceRevisionDigest: sha256:4edc63ad559e4f2c9fb9ebf5edaaaaa9269f1874d271cfd84b441d6dacac43d2
@@ -17,10 +17,10 @@ targets:
1717
glean:
1818
source: Glean API
1919
sourceNamespace: glean-api-specs
20-
sourceRevisionDigest: sha256:35193fded9c9797576c742f6e93e2e3e9d507aa2ab2c55a5458825561552f33e
21-
sourceBlobDigest: sha256:1dc638c477afb69ccc30ba6482d7ac2e7237238d44638da8d0c4ece45f36d416
20+
sourceRevisionDigest: sha256:2e37e872887d112cb79ba687c962ee768906d3a39a404de1839b22c0badb060f
21+
sourceBlobDigest: sha256:79a741cc5e67e62f8fbbc4c8e8209ac340bff12bd1d3187e0aeae5587d0910c2
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:ec1033795495ed5feb092f4ca786534382c763ff1787a997db77303ef0539ad9
23+
codeSamplesRevisionDigest: sha256:7b60236211a98196e54622b91345608182582cd945c55286b042b4d6e65c4242
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,4 +208,14 @@ Based on:
208208
### Generated
209209
- [python v0.7.3] .
210210
### Releases
211-
- [PyPI v0.7.3] https://pypi.org/project/glean/0.7.3 - .
211+
- [PyPI v0.7.3] https://pypi.org/project/glean/0.7.3 - .
212+
213+
## 2025-09-07 00:51:06
214+
### Changes
215+
Based on:
216+
- OpenAPI Doc
217+
- Speakeasy CLI 1.611.0 (2.694.1) https://github.com/speakeasy-api/speakeasy
218+
### Generated
219+
- [python v0.7.4] .
220+
### Releases
221+
- [PyPI v0.7.4] https://pypi.org/project/glean/0.7.4 - .

docs/models/chat.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ A historical representation of a series of chat messages a user had with Glean A
1515
| `application_id` | *Optional[str]* | :heavy_minus_sign: | The ID of the AI App that this Chat is associated to. | |
1616
| `application_name` | *Optional[str]* | :heavy_minus_sign: | The display name of the AI App that this Chat is associated to. | |
1717
| `icon` | [Optional[models.IconConfig]](../models/iconconfig.md) | :heavy_minus_sign: | Defines how to render an icon | {<br/>"color": "#343CED",<br/>"key": "person_icon",<br/>"iconType": "GLYPH",<br/>"name": "user"<br/>} |
18-
| `messages` | List[[models.ChatMessage](../models/chatmessage.md)] | :heavy_minus_sign: | The chat messages within a Chat. | |
18+
| `permissions` | [Optional[models.ObjectPermissions]](../models/objectpermissions.md) | :heavy_minus_sign: | N/A | |
19+
| `messages` | List[[models.ChatMessage](../models/chatmessage.md)] | :heavy_minus_sign: | The chat messages within a Chat. | |
20+
| `roles` | List[[models.UserRoleSpecification](../models/userrolespecification.md)] | :heavy_minus_sign: | A list of roles for this Chat. | |

docs/models/datasourcecategory.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ The type of this datasource. It is an important signal for relevance and must be
2323
| `KNOWLEDGE_HUB` | KNOWLEDGE_HUB |
2424
| `EXTERNAL_SHORTCUT` | EXTERNAL_SHORTCUT |
2525
| `ENTITY` | ENTITY |
26-
| `CALENDAR` | CALENDAR |
26+
| `CALENDAR` | CALENDAR |
27+
| `AGENTS` | AGENTS |

docs/models/digest.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Digest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `podcast_file_id` | *Optional[str]* | :heavy_minus_sign: | Identifier for the podcast file generated from this digest content. | |
9+
| `digest_date` | *Optional[str]* | :heavy_minus_sign: | 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. | 2025-09-03 |
10+
| `sections` | List[[models.DigestSection](../models/digestsection.md)] | :heavy_minus_sign: | Array of digest sections from which the podcast was created. | |

0 commit comments

Comments
 (0)