Skip to content

Commit 762dac5

Browse files
committed
## Python SDK Changes:
* `glean.client.announcements.create()`: * `request.body.structured_list[].document.metadata.author.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `response.body.structured_list[].document.metadata.author.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.announcements.update()`: * `request.body.structured_list[].document.metadata.author.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `response.body.structured_list[].document.metadata.author.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.answers.create()`: * `request.data.added_roles[].source_document_spec.union(class (3)).ugc_type.enum(artifacts)` **Added** * `response.added_roles[].source_document_spec.union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.answers.update()`: * `request.added_roles[].source_document_spec.union(class (3)).ugc_type.enum(artifacts)` **Added** * `response.added_roles[].source_document_spec.union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.answers.retrieve()`: `response.answer_result.answer.added_roles[].source_document_spec.union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.answers.list()`: `response.answer_results[].answer.added_roles[].source_document_spec.union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.chat.create()`: * `request.messages[].citations[].source_document.metadata.author.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `response.messages[].citations[].source_document.metadata.author.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.chat.retrieve()`: `response.chat_result.chat.created_by.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.chat.list()`: `response.chat_results[].chat.created_by.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.chat.create_stream()`: * `request.messages[].citations[].source_document.metadata.author.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.collections.add_items()`: `response.collection.added_roles[].source_document_spec.union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.collections.create()`: * `request.added_roles[].source_document_spec.union(class (3)).ugc_type.enum(artifacts)` **Added** * `response.union(class (0)).collection.added_roles[].source_document_spec.union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.collections.delete_item()`: `response.collection.added_roles[].source_document_spec.union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.collections.update()`: * `request.added_roles[].source_document_spec.union(class (3)).ugc_type.enum(artifacts)` **Added** * `response.added_roles[].source_document_spec.union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.collections.update_item()`: `response.collection.added_roles[].source_document_spec.union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.collections.retrieve()`: `response.collection.added_roles[].source_document_spec.union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.collections.list()`: `response.collections[].added_roles[].source_document_spec.union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.documents.retrieve()`: * `request.get_documents_request.document_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `response.documents.Map<DocumentOrError>.union(Document).metadata.author.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.documents.retrieve_by_facets()`: `response.documents[].metadata.author.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.documents.summarize()`: * `request.document_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.insights.retrieve()`: `response.glean_assist.activity_insights[].user.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.messages.retrieve()`: `response.search_response.results[].structured_results[].document.metadata.author.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.pins.update()`: `response.attribution.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.pins.retrieve()`: `response.pin.attribution.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.pins.list()`: `response.pins[].attribution.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.pins.create()`: `response.attribution.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.search.query_as_admin()`: * `request.source_document.metadata.author.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `response.results[].structured_results[].document.metadata.author.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.search.autocomplete()`: `response.results[].document.metadata.author.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.search.retrieve_feed()`: * `request.categories[]` **Changed** * `response.results[]` **Changed** * `glean.client.search.recommendations()`: * `request.source_document.metadata.author.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `response.results[].structured_results[].document.metadata.author.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.search.query()`: * `request.source_document.metadata.author.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `response.results[].structured_results[].document.metadata.author.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.entities.list()`: `response.results[].related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.entities.read_people()`: `response.results[].related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.shortcuts.create()`: * `request.data.added_roles[].source_document_spec.union(class (3)).ugc_type.enum(artifacts)` **Added** * `response.shortcut.added_roles[].source_document_spec.union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.shortcuts.retrieve()`: `response.shortcut.added_roles[].source_document_spec.union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.shortcuts.list()`: `response.shortcuts[].added_roles[].source_document_spec.union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.shortcuts.update()`: * `request.added_roles[].source_document_spec.union(class (3)).ugc_type.enum(artifacts)` **Added** * `response.shortcut.added_roles[].source_document_spec.union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.verification.add_reminder()`: `response.metadata.last_verifier.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.verification.list()`: `response.documents[].metadata.last_verifier.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added** * `glean.client.verification.verify()`: `response.metadata.last_verifier.related_documents[].query_suggestion.request_options.inclusions.container_specs[].union(class (3)).ugc_type.enum(artifacts)` **Added**
1 parent 9a3a648 commit 762dac5

26 files changed

Lines changed: 195 additions & 72 deletions

.speakeasy/gen.lock

Lines changed: 47 additions & 47 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
@@ -34,7 +34,7 @@ generation:
3434
generateNewTests: true
3535
skipResponseBodyAssertions: true
3636
python:
37-
version: 0.12.18
37+
version: 0.12.19
3838
additionalDependencies:
3939
dev: {}
4040
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.0
22
info:
33
version: 0.9.0
44
title: Glean API
5-
x-source-commit-sha: 0962a428c0094dd8c0a2c12b828a1ee04b69ef00
5+
x-source-commit-sha: 3c161baadf0e2a08e2b615f33122dacf674704ed
66
description: |
77
# Introduction
88
In addition to the data sources that Glean has built-in support for, Glean also provides a REST API that enables customers to put arbitrary content in the search index. This is useful, for example, for doing permissions-aware search over content in internal tools that reside on-prem as well as for searching over applications that Glean does not currently support first class. In addition these APIs allow the customer to push organization data (people info, organization structure etc) into Glean.
@@ -22,7 +22,7 @@ info:
2222
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
2323
x-logo:
2424
url: https://app.glean.com/images/glean-text2.svg
25-
x-open-api-commit-sha: da0ed02e776d66daccdd2defaabb872cd5b9cee4
25+
x-open-api-commit-sha: a469d4693796ab02637dc77d957e2e1607532b9f
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -4917,6 +4917,7 @@ components:
49174917
enum:
49184918
- ANNOUNCEMENTS
49194919
- ANSWERS
4920+
- ARTIFACTS
49204921
- COLLECTIONS
49214922
- SHORTCUTS
49224923
- CHATS
@@ -10134,6 +10135,10 @@ components:
1013410135
- MID_DAY_CATCH_UP
1013510136
- QUERY_SUGGESTION
1013610137
- WEEKLY_MEETINGS
10138+
- FOLLOW_UP
10139+
- MILESTONE_TIMELINE_CHECK
10140+
- PROJECT_DISCUSSION_DIGEST
10141+
- PROJECT_NEXT_STEP
1013710142
description: Categories of content requested. An allowlist gives flexibility to request content separately or together.
1013810143
requestOptions:
1013910144
$ref: "#/components/schemas/FeedRequestOptions"
@@ -10465,6 +10470,7 @@ components:
1046510470
- PAPER_TYPE
1046610471
- PRISM_VIEWS_TYPE
1046710472
- PROMPT_TEMPLATES_TYPE
10473+
- PINS_TYPE
1046810474
- SCRIBES_TYPE
1046910475
- SHORTCUTS_TYPE
1047010476
- SLIDE_TYPE
@@ -10635,6 +10641,10 @@ components:
1063510641
- MID_DAY_CATCH_UP
1063610642
- QUERY_SUGGESTION
1063710643
- WEEKLY_MEETINGS
10644+
- FOLLOW_UP
10645+
- MILESTONE_TIMELINE_CHECK
10646+
- PROJECT_DISCUSSION_DIGEST
10647+
- PROJECT_NEXT_STEP
1063810648
description: Type of the justification.
1063910649
justification:
1064010650
type: string
@@ -10714,6 +10724,10 @@ components:
1071410724
- MID_DAY_CATCH_UP
1071510725
- QUERY_SUGGESTION
1071610726
- WEEKLY_MEETINGS
10727+
- FOLLOW_UP
10728+
- MILESTONE_TIMELINE_CHECK
10729+
- PROJECT_DISCUSSION_DIGEST
10730+
- PROJECT_NEXT_STEP
1071710731
description: Category of the result, one of the requested categories in incoming request.
1071810732
primaryEntry:
1071910733
$ref: "#/components/schemas/FeedEntry"

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
speakeasyVersion: 1.759.3
1+
speakeasyVersion: 1.761.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:1734cb8cc2eedc7ba5751830b3f320257a058953130ab965ef482396b82dbf7f
6-
sourceBlobDigest: sha256:996519bf46dc22d2b818df15645ba6f843a3879cc8410561f5983fab6bb99f6f
5+
sourceRevisionDigest: sha256:022a25adeac4d46ce1e08d5ed9d22cda5a03b3efd1dfa634f027d79427f82d89
6+
sourceBlobDigest: sha256:1b5bcac97163e54795ea092c4ea7dc52c7dd930033d0002f9e67946fb71df98b
77
tags:
88
- latest
99
Glean Client API:
@@ -16,10 +16,10 @@ targets:
1616
glean:
1717
source: Glean API
1818
sourceNamespace: glean-api-specs
19-
sourceRevisionDigest: sha256:1734cb8cc2eedc7ba5751830b3f320257a058953130ab965ef482396b82dbf7f
20-
sourceBlobDigest: sha256:996519bf46dc22d2b818df15645ba6f843a3879cc8410561f5983fab6bb99f6f
19+
sourceRevisionDigest: sha256:022a25adeac4d46ce1e08d5ed9d22cda5a03b3efd1dfa634f027d79427f82d89
20+
sourceBlobDigest: sha256:1b5bcac97163e54795ea092c4ea7dc52c7dd930033d0002f9e67946fb71df98b
2121
codeSamplesNamespace: glean-api-specs-python-code-samples
22-
codeSamplesRevisionDigest: sha256:c955fa0218781c3e4fc1d95d0fa51ae5051cd077ff1730432ded1238b9a40532
22+
codeSamplesRevisionDigest: sha256:97795efcbae3db6986718ffba511ae7bc145269ba1f5012d30d69bc48b6e5772
2323
workflow:
2424
workflowVersion: 1.0.0
2525
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,4 +688,14 @@ Based on:
688688
### Generated
689689
- [python v0.12.18] .
690690
### Releases
691-
- [PyPI v0.12.18] https://pypi.org/project/glean-api-client/0.12.18 - .
691+
- [PyPI v0.12.18] https://pypi.org/project/glean-api-client/0.12.18 - .
692+
693+
## 2026-04-01 02:43:03
694+
### Changes
695+
Based on:
696+
- OpenAPI Doc
697+
- Speakeasy CLI 1.761.0 (2.879.1) https://github.com/speakeasy-api/speakeasy
698+
### Generated
699+
- [python v0.12.19] .
700+
### Releases
701+
- [PyPI v0.12.19] https://pypi.org/project/glean-api-client/0.12.19 - .

docs/models/documentspecugctype2.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ value = DocumentSpecUgcType2.ANNOUNCEMENTS
1919
| --------------- | --------------- |
2020
| `ANNOUNCEMENTS` | ANNOUNCEMENTS |
2121
| `ANSWERS` | ANSWERS |
22+
| `ARTIFACTS` | ARTIFACTS |
2223
| `COLLECTIONS` | COLLECTIONS |
2324
| `SHORTCUTS` | SHORTCUTS |
2425
| `CHATS` | CHATS |

docs/models/feedrequestcategory.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,8 @@ value = FeedRequestCategory.DOCUMENT_SUGGESTION
4444
| `STARTER_KIT` | STARTER_KIT |
4545
| `MID_DAY_CATCH_UP` | MID_DAY_CATCH_UP |
4646
| `QUERY_SUGGESTION` | QUERY_SUGGESTION |
47-
| `WEEKLY_MEETINGS` | WEEKLY_MEETINGS |
47+
| `WEEKLY_MEETINGS` | WEEKLY_MEETINGS |
48+
| `FOLLOW_UP` | FOLLOW_UP |
49+
| `MILESTONE_TIMELINE_CHECK` | MILESTONE_TIMELINE_CHECK |
50+
| `PROJECT_DISCUSSION_DIGEST` | PROJECT_DISCUSSION_DIGEST |
51+
| `PROJECT_NEXT_STEP` | PROJECT_NEXT_STEP |

docs/models/feedresultcategory.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,8 @@ value = FeedResultCategory.DOCUMENT_SUGGESTION
4848
| `STARTER_KIT` | STARTER_KIT |
4949
| `MID_DAY_CATCH_UP` | MID_DAY_CATCH_UP |
5050
| `QUERY_SUGGESTION` | QUERY_SUGGESTION |
51-
| `WEEKLY_MEETINGS` | WEEKLY_MEETINGS |
51+
| `WEEKLY_MEETINGS` | WEEKLY_MEETINGS |
52+
| `FOLLOW_UP` | FOLLOW_UP |
53+
| `MILESTONE_TIMELINE_CHECK` | MILESTONE_TIMELINE_CHECK |
54+
| `PROJECT_DISCUSSION_DIGEST` | PROJECT_DISCUSSION_DIGEST |
55+
| `PROJECT_NEXT_STEP` | PROJECT_NEXT_STEP |

docs/models/justificationtype.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,8 @@ value = JustificationType.FREQUENTLY_ACCESSED
6161
| `ACTIVE_DISCUSSION` | ACTIVE_DISCUSSION |
6262
| `MID_DAY_CATCH_UP` | MID_DAY_CATCH_UP |
6363
| `QUERY_SUGGESTION` | QUERY_SUGGESTION |
64-
| `WEEKLY_MEETINGS` | WEEKLY_MEETINGS |
64+
| `WEEKLY_MEETINGS` | WEEKLY_MEETINGS |
65+
| `FOLLOW_UP` | FOLLOW_UP |
66+
| `MILESTONE_TIMELINE_CHECK` | MILESTONE_TIMELINE_CHECK |
67+
| `PROJECT_DISCUSSION_DIGEST` | PROJECT_DISCUSSION_DIGEST |
68+
| `PROJECT_NEXT_STEP` | PROJECT_NEXT_STEP |

docs/models/ugctype.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ value = UgcType.AGENT_TYPE
2727
| `PAPER_TYPE` | PAPER_TYPE |
2828
| `PRISM_VIEWS_TYPE` | PRISM_VIEWS_TYPE |
2929
| `PROMPT_TEMPLATES_TYPE` | PROMPT_TEMPLATES_TYPE |
30+
| `PINS_TYPE` | PINS_TYPE |
3031
| `SCRIBES_TYPE` | SCRIBES_TYPE |
3132
| `SHORTCUTS_TYPE` | SHORTCUTS_TYPE |
3233
| `SLIDE_TYPE` | SLIDE_TYPE |

0 commit comments

Comments
 (0)