Skip to content

Commit 8bc35c4

Browse files
Merge pull request #58 from gleanwork/speakeasy-sdk-regen-1755200990
chore: 🐝 Update SDK - Generate 0.7.3
2 parents 0123565 + 09adc1c commit 8bc35c4

File tree

200 files changed

+1754
-371
lines changed

Some content is hidden

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

200 files changed

+1754
-371
lines changed

.speakeasy/gen.lock

Lines changed: 23 additions & 19 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,13 @@ generation:
2626
generateNewTests: true
2727
skipResponseBodyAssertions: true
2828
python:
29-
version: 0.7.2
29+
version: 0.7.3
3030
additionalDependencies:
3131
dev: {}
3232
main: {}
33+
allowedRedefinedBuiltins:
34+
- id
35+
- object
3336
authors:
3437
- Speakeasy
3538
baseErrorName: GleanBaseError

.speakeasy/glean-merged-spec.yaml

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3774,6 +3774,7 @@ components:
37743774
email:
37753775
type: string
37763776
description: The email address of the user who submitted the Feedback.event.MANUAL_FEEDBACK event.
3777+
deprecated: true
37773778
source:
37783779
type: string
37793780
description: The source associated with the Feedback.event.MANUAL_FEEDBACK event.
@@ -4366,7 +4367,7 @@ components:
43664367
description: Disables automatic adjustment of the input query for spelling corrections or other reasons.
43674368
returnLlmContentOverSnippets:
43684369
type: boolean
4369-
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."
4370+
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.
43704371
inclusions:
43714372
$ref: "#/components/schemas/RestrictionFilters"
43724373
description: A list of filters which restrict the search results to only the specified content.
@@ -4864,6 +4865,9 @@ components:
48644865
name:
48654866
type: string
48664867
description: Name of the group.
4868+
datasourceInstance:
4869+
type: string
4870+
description: Datasource instance if the group belongs to one e.g. external groups.
48674871
UserRole:
48684872
type: string
48694873
description: A user's role with respect to a specific document.
@@ -5841,9 +5845,6 @@ components:
58415845
required:
58425846
- snippet
58435847
properties:
5844-
snippet:
5845-
type: string
5846-
description: A matching snippet from the document. Query term matches are marked by the unicode characters uE006 and uE007.
58475848
mimeType:
58485849
type: string
58495850
description: The mime type of the snippets, currently either text/plain or text/html.
@@ -5861,6 +5862,10 @@ components:
58615862
url:
58625863
type: string
58635864
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.
5865+
snippet:
5866+
type: string
5867+
deprecated: true
5868+
description: A matching snippet from the document. Query term matches are marked by the unicode characters uE006 and uE007. Use 'text' field instead.
58645869
example:
58655870
snippet: snippet
58665871
mimeType: mimeType
@@ -5954,6 +5959,8 @@ components:
59545959
- THREAD_ROOT
59555960
- PREFIX
59565961
- SUFFIX
5962+
- AUTHOR_PREFIX
5963+
- AUTHOR_SUFFIX
59575964
ClusterGroup:
59585965
required:
59595966
- visibleCountHint
@@ -7306,7 +7313,7 @@ components:
73067313
$ref: "#/components/schemas/AgentConfig"
73077314
description: Describes the agent config that generated this message. Populated on responses and not required on requests.
73087315
author:
7309-
default: GLEAN_AI
7316+
default: USER
73107317
enum:
73117318
- USER
73127319
- GLEAN_AI
@@ -9145,6 +9152,7 @@ components:
91459152
- ZERO_STATE_WORKFLOW_FAVORITES
91469153
- ZERO_STATE_WORKFLOW_POPULAR
91479154
- ZERO_STATE_WORKFLOW_SUGGESTION
9155+
- PERSONALIZED_CHAT_SUGGESTION
91489156
description: Categories of content requested. An allowlist gives flexibility to request content separately or together.
91499157
requestOptions:
91509158
$ref: "#/components/schemas/FeedRequestOptions"
@@ -9300,6 +9308,14 @@ components:
93009308
type: array
93019309
items:
93029310
$ref: "#/components/schemas/GeneratedAttachment"
9311+
ChatSuggestion:
9312+
properties:
9313+
query:
9314+
type: string
9315+
description: The actionable chat query to run when the user selects this suggestion.
9316+
feature:
9317+
type: string
9318+
description: Targeted Glean Chat feature for the suggestion.
93039319
PromptTemplateMutableProperties:
93049320
required:
93059321
- template
@@ -9513,6 +9529,7 @@ components:
95139529
- ZERO_STATE_PROMPT_TEMPLATE_SUGGESTION
95149530
- ZERO_STATE_STATIC_WORKFLOW_SUGGESTION
95159531
- ZERO_STATE_AGENT_SUGGESTION
9532+
- PERSONALIZED_CHAT_SUGGESTION
95169533
description: Type of the justification.
95179534
justification:
95189535
type: string
@@ -9537,6 +9554,8 @@ components:
95379554
$ref: "#/components/schemas/Person"
95389555
app:
95399556
$ref: "#/components/schemas/AppResult"
9557+
chatSuggestion:
9558+
$ref: "#/components/schemas/ChatSuggestion"
95409559
promptTemplate:
95419560
$ref: "#/components/schemas/PromptTemplateResult"
95429561
workflow:
@@ -9578,6 +9597,7 @@ components:
95789597
- ZERO_STATE_WORKFLOW_FAVORITES
95799598
- ZERO_STATE_WORKFLOW_POPULAR
95809599
- ZERO_STATE_WORKFLOW_SUGGESTION
9600+
- PERSONALIZED_CHAT_SUGGESTION
95819601
description: Category of the result, one of the requested categories in incoming request.
95829602
primaryEntry:
95839603
$ref: "#/components/schemas/FeedEntry"

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.603.0
1+
speakeasyVersion: 1.606.9
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:8f18d79a0a7d8f51de7edd5bc8ca3ccc569b81832ffc44ce95a27a12e67b9b7d
6-
sourceBlobDigest: sha256:bb3e5a453f03cbdecf3fb3925768ef4cb0b3119083d9d36c341e1ecd721cde8b
5+
sourceRevisionDigest: sha256:35193fded9c9797576c742f6e93e2e3e9d507aa2ab2c55a5458825561552f33e
6+
sourceBlobDigest: sha256:1dc638c477afb69ccc30ba6482d7ac2e7237238d44638da8d0c4ece45f36d416
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1752597387
9+
- speakeasy-sdk-regen-1755200990
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:8f18d79a0a7d8f51de7edd5bc8ca3ccc569b81832ffc44ce95a27a12e67b9b7d
21-
sourceBlobDigest: sha256:bb3e5a453f03cbdecf3fb3925768ef4cb0b3119083d9d36c341e1ecd721cde8b
20+
sourceRevisionDigest: sha256:35193fded9c9797576c742f6e93e2e3e9d507aa2ab2c55a5458825561552f33e
21+
sourceBlobDigest: sha256:1dc638c477afb69ccc30ba6482d7ac2e7237238d44638da8d0c4ece45f36d416
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:de3bba82d5dbca7c1e5176fccda54e82660c50b9dbe534a26fba17e65abf4dc1
23+
codeSamplesRevisionDigest: sha256:ec1033795495ed5feb092f4ca786534382c763ff1787a997db77303ef0539ad9
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ with Glean(
146146

147147
res = glean.client.chat.create(messages=[
148148
{
149-
"author": models.Author.USER,
150149
"fragments": [
151150
models.ChatMessageFragment(
152151
text="What are the company holidays this year?",
@@ -176,7 +175,6 @@ async def main():
176175

177176
res = await glean.client.chat.create_async(messages=[
178177
{
179-
"author": models.Author.USER,
180178
"fragments": [
181179
models.ChatMessageFragment(
182180
text="What are the company holidays this year?",
@@ -205,7 +203,6 @@ with Glean(
205203

206204
res = glean.client.chat.create_stream(messages=[
207205
{
208-
"author": models.Author.USER,
209206
"fragments": [
210207
models.ChatMessageFragment(
211208
text="What are the company holidays this year?",
@@ -235,7 +232,6 @@ async def main():
235232

236233
res = await glean.client.chat.create_stream_async(messages=[
237234
{
238-
"author": models.Author.USER,
239235
"fragments": [
240236
models.ChatMessageFragment(
241237
text="What are the company holidays this year?",

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,14 @@ Based on:
198198
### Generated
199199
- [python v0.7.2] .
200200
### Releases
201-
- [PyPI v0.7.2] https://pypi.org/project/glean/0.7.2 - .
201+
- [PyPI v0.7.2] https://pypi.org/project/glean/0.7.2 - .
202+
203+
## 2025-08-29 15:49:37
204+
### Changes
205+
Based on:
206+
- OpenAPI Doc
207+
- Speakeasy CLI 1.606.9 (2.687.13) https://github.com/speakeasy-api/speakeasy
208+
### Generated
209+
- [python v0.7.3] .
210+
### Releases
211+
- [PyPI v0.7.3] https://pypi.org/project/glean/0.7.3 - .

USAGE.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ with Glean(
1111

1212
res = glean.client.chat.create(messages=[
1313
{
14-
"author": models.Author.USER,
1514
"fragments": [
1615
models.ChatMessageFragment(
1716
text="What are the company holidays this year?",
@@ -41,7 +40,6 @@ async def main():
4140

4241
res = await glean.client.chat.create_async(messages=[
4342
{
44-
"author": models.Author.USER,
4543
"fragments": [
4644
models.ChatMessageFragment(
4745
text="What are the company holidays this year?",
@@ -68,7 +66,6 @@ with Glean(
6866

6967
res = glean.client.chat.create_stream(messages=[
7068
{
71-
"author": models.Author.USER,
7269
"fragments": [
7370
models.ChatMessageFragment(
7471
text="What are the company holidays this year?",
@@ -98,7 +95,6 @@ async def main():
9895

9996
res = await glean.client.chat.create_stream_async(messages=[
10097
{
101-
"author": models.Author.USER,
10298
"fragments": [
10399
models.ChatMessageFragment(
104100
text="What are the company holidays this year?",

docs/models/chatsuggestion.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# ChatSuggestion
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- |
8+
| `query` | *Optional[str]* | :heavy_minus_sign: | The actionable chat query to run when the user selects this suggestion. |
9+
| `feature` | *Optional[str]* | :heavy_minus_sign: | Targeted Glean Chat feature for the suggestion. |

docs/models/clustertypeenum.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@ The reason for inclusion of clusteredResults.
55

66
## Values
77

8-
| Name | Value |
9-
| -------------- | -------------- |
10-
| `SIMILAR` | SIMILAR |
11-
| `FRESHNESS` | FRESHNESS |
12-
| `TITLE` | TITLE |
13-
| `CONTENT` | CONTENT |
14-
| `NONE` | NONE |
15-
| `THREAD_REPLY` | THREAD_REPLY |
16-
| `THREAD_ROOT` | THREAD_ROOT |
17-
| `PREFIX` | PREFIX |
18-
| `SUFFIX` | SUFFIX |
8+
| Name | Value |
9+
| --------------- | --------------- |
10+
| `SIMILAR` | SIMILAR |
11+
| `FRESHNESS` | FRESHNESS |
12+
| `TITLE` | TITLE |
13+
| `CONTENT` | CONTENT |
14+
| `NONE` | NONE |
15+
| `THREAD_REPLY` | THREAD_REPLY |
16+
| `THREAD_ROOT` | THREAD_ROOT |
17+
| `PREFIX` | PREFIX |
18+
| `SUFFIX` | SUFFIX |
19+
| `AUTHOR_PREFIX` | AUTHOR_PREFIX |
20+
| `AUTHOR_SUFFIX` | AUTHOR_SUFFIX |

docs/models/feedentry.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
| `collection_item` | [Optional[models.CollectionItem]](../models/collectionitem.md) | :heavy_minus_sign: | N/A | |
2222
| `person` | [Optional[models.Person]](../models/person.md) | :heavy_minus_sign: | N/A | {<br/>"name": "George Clooney",<br/>"obfuscatedId": "abc123"<br/>} |
2323
| `app` | [Optional[models.AppResult]](../models/appresult.md) | :heavy_minus_sign: | N/A | |
24+
| `chat_suggestion` | [Optional[models.ChatSuggestion]](../models/chatsuggestion.md) | :heavy_minus_sign: | N/A | |
2425
| `prompt_template` | [Optional[models.PromptTemplateResult]](../models/prompttemplateresult.md) | :heavy_minus_sign: | N/A | |
2526
| `workflow` | [Optional[models.WorkflowResult]](../models/workflowresult.md) | :heavy_minus_sign: | N/A | |
2627
| `activities` | List[[models.UserActivity](../models/useractivity.md)] | :heavy_minus_sign: | List of activity where each activity has user, action, timestamp. | |

0 commit comments

Comments
 (0)