Skip to content

Commit ed4632d

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 (1)).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 ed4632d

31 files changed

+241
-105
lines changed

.speakeasy/gen.lock

Lines changed: 57 additions & 57 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: 34 additions & 3 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: 1d7c9fce4b503a2cb087ac91ad02744ad676c97c
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: 6091976de1f81034d18ec7d40802b66d34df089a
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -3459,7 +3459,7 @@ paths:
34593459
/api/index/v1/bulkindexshortcuts:
34603460
post:
34613461
summary: Bulk index external shortcuts
3462-
description: Replaces all the currently indexed shortcuts using paginated batch API calls. Note that this endpoint is used for indexing shortcuts not hosted by Glean. If you want to upload shortcuts that would be hosted by Glean, please use the `/uploadshortcuts` endpoint. For information on what you can do with Golinks, which are Glean-hosted shortcuts, please refer to [this](https://help.glean.com/en/articles/5628838-how-go-links-work) page.
3462+
description: Replaces all the currently indexed shortcuts using paginated batch API calls. Note that this endpoint is used for indexing shortcuts not hosted by Glean. If you want to upload shortcuts that would be hosted by Glean, please use the `/uploadshortcuts` endpoint. For information on what you can do with Golinks, which are Glean-hosted shortcuts, please refer to [this](https://docs.glean.com/user-guide/knowledge/go-links/how-go-links-work) page.
34633463
tags:
34643464
- Shortcuts
34653465
security:
@@ -4917,6 +4917,7 @@ components:
49174917
enum:
49184918
- ANNOUNCEMENTS
49194919
- ANSWERS
4920+
- ARTIFACTS
49204921
- COLLECTIONS
49214922
- SHORTCUTS
49224923
- CHATS
@@ -6495,6 +6496,23 @@ components:
64956496
- TICKET
64966497
- TRANSCRIPT
64976498
- WITH
6499+
x-enum-varnames:
6500+
- ATTACHMENT
6501+
- CANONICAL
6502+
- CASE
6503+
- CONTACT_LOWERCASE
6504+
- CONTACT
6505+
- CONVERSATION_MESSAGES
6506+
- EXPERT
6507+
- FROM
6508+
- HIGHLIGHT
6509+
- OPPORTUNITY_LOWERCASE
6510+
- OPPORTUNITY
6511+
- RECENT
6512+
- SOURCE
6513+
- TICKET
6514+
- TRANSCRIPT
6515+
- WITH
64986516
x-enumDescriptions:
64996517
CANONICAL: Canonical documents for the entity, such as overview docs, architecture docs elastic.
65006518
x-speakeasy-enum-descriptions:
@@ -10134,6 +10152,10 @@ components:
1013410152
- MID_DAY_CATCH_UP
1013510153
- QUERY_SUGGESTION
1013610154
- WEEKLY_MEETINGS
10155+
- FOLLOW_UP
10156+
- MILESTONE_TIMELINE_CHECK
10157+
- PROJECT_DISCUSSION_DIGEST
10158+
- PROJECT_NEXT_STEP
1013710159
description: Categories of content requested. An allowlist gives flexibility to request content separately or together.
1013810160
requestOptions:
1013910161
$ref: "#/components/schemas/FeedRequestOptions"
@@ -10465,6 +10487,7 @@ components:
1046510487
- PAPER_TYPE
1046610488
- PRISM_VIEWS_TYPE
1046710489
- PROMPT_TEMPLATES_TYPE
10490+
- PINS_TYPE
1046810491
- SCRIBES_TYPE
1046910492
- SHORTCUTS_TYPE
1047010493
- SLIDE_TYPE
@@ -10635,6 +10658,10 @@ components:
1063510658
- MID_DAY_CATCH_UP
1063610659
- QUERY_SUGGESTION
1063710660
- WEEKLY_MEETINGS
10661+
- FOLLOW_UP
10662+
- MILESTONE_TIMELINE_CHECK
10663+
- PROJECT_DISCUSSION_DIGEST
10664+
- PROJECT_NEXT_STEP
1063810665
description: Type of the justification.
1063910666
justification:
1064010667
type: string
@@ -10714,6 +10741,10 @@ components:
1071410741
- MID_DAY_CATCH_UP
1071510742
- QUERY_SUGGESTION
1071610743
- WEEKLY_MEETINGS
10744+
- FOLLOW_UP
10745+
- MILESTONE_TIMELINE_CHECK
10746+
- PROJECT_DISCUSSION_DIGEST
10747+
- PROJECT_NEXT_STEP
1071710748
description: Category of the result, one of the requested categories in incoming request.
1071810749
primaryEntry:
1071910750
$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.1
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:1734cb8cc2eedc7ba5751830b3f320257a058953130ab965ef482396b82dbf7f
6-
sourceBlobDigest: sha256:996519bf46dc22d2b818df15645ba6f843a3879cc8410561f5983fab6bb99f6f
5+
sourceRevisionDigest: sha256:52aa61e876f0353862e2fc6322d35ed8c61b895083a1c0ce0f679582d72376c4
6+
sourceBlobDigest: sha256:65201900855c6beeca4292f578c3ee678f7278fa86372f981c2e692248f80bee
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:52aa61e876f0353862e2fc6322d35ed8c61b895083a1c0ce0f679582d72376c4
20+
sourceBlobDigest: sha256:65201900855c6beeca4292f578c3ee678f7278fa86372f981c2e692248f80bee
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-06 02:37:50
694+
### Changes
695+
Based on:
696+
- OpenAPI Doc
697+
- Speakeasy CLI 1.761.1 (2.879.6) 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)