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
98 changes: 49 additions & 49 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
java:
version: 0.12.33
version: 0.12.34
additionalDependencies: []
additionalPlugins: []
artifactID: glean-api-client
Expand Down
47 changes: 40 additions & 7 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.0
info:
version: 0.9.0
title: Glean API
x-source-commit-sha: 30aebec12138491ec475ca0568f49184fe9f127d
x-source-commit-sha: 8a0e3a32d5d6639d10ef809d104942a79d54d1a0
description: |
# Introduction
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.
Expand All @@ -22,7 +22,7 @@ info:
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
x-logo:
url: https://app.glean.com/images/glean-text2.svg
x-open-api-commit-sha: c6bafce95e7ae82f5c1ee9185a86d133c4bc25d8
x-open-api-commit-sha: f89c07f572daff630aa6a660c5c20e8aa3227322
x-speakeasy-name: 'Glean API'
servers:
- url: https://{instance}-be.glean.com
Expand Down Expand Up @@ -2360,6 +2360,9 @@ paths:
x-speakeasy-group: client.verification
/rest/api/v1/tools/list:
get:
tags:
- Tools
- Tools
summary: List available tools
description: Returns a filtered set of available tools based on optional tool name parameters. If no filters are provided, all available tools are returned.
x-visibility: Preview
Expand Down Expand Up @@ -2391,12 +2394,13 @@ paths:
description: Too Many Requests
security:
- APIToken: []
tags:
- Tools
x-speakeasy-name-override: list
x-speakeasy-group: client.tools
/rest/api/v1/tools/call:
post:
tags:
- Tools
- Tools
summary: Execute the specified tool
description: Execute the specified tool with provided parameters
x-visibility: Preview
Expand All @@ -2423,8 +2427,6 @@ paths:
description: Too Many Requests
security:
- APIToken: []
tags:
- Tools
x-speakeasy-name-override: run
x-speakeasy-group: client.tools
/api/index/v1/indexdocument:
Expand Down Expand Up @@ -3459,7 +3461,7 @@ paths:
/api/index/v1/bulkindexshortcuts:
post:
summary: Bulk index external shortcuts
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.
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.
tags:
- Shortcuts
security:
Expand Down Expand Up @@ -4917,6 +4919,7 @@ components:
enum:
- ANNOUNCEMENTS
- ANSWERS
- ARTIFACTS
- COLLECTIONS
- SHORTCUTS
- CHATS
Expand Down Expand Up @@ -6495,6 +6498,23 @@ components:
- TICKET
- TRANSCRIPT
- WITH
x-enum-varnames:
- ATTACHMENT
- CANONICAL
- CASE
- CONTACT_LOWERCASE
- CONTACT
- CONVERSATION_MESSAGES
- EXPERT
- FROM
- HIGHLIGHT
- OPPORTUNITY_LOWERCASE
- OPPORTUNITY
- RECENT
- SOURCE
- TICKET
- TRANSCRIPT
- WITH
x-enumDescriptions:
CANONICAL: Canonical documents for the entity, such as overview docs, architecture docs elastic.
x-speakeasy-enum-descriptions:
Expand Down Expand Up @@ -10134,6 +10154,10 @@ components:
- MID_DAY_CATCH_UP
- QUERY_SUGGESTION
- WEEKLY_MEETINGS
- FOLLOW_UP
- MILESTONE_TIMELINE_CHECK
- PROJECT_DISCUSSION_DIGEST
- PROJECT_NEXT_STEP
description: Categories of content requested. An allowlist gives flexibility to request content separately or together.
requestOptions:
$ref: "#/components/schemas/FeedRequestOptions"
Expand Down Expand Up @@ -10465,6 +10489,7 @@ components:
- PAPER_TYPE
- PRISM_VIEWS_TYPE
- PROMPT_TEMPLATES_TYPE
- PINS_TYPE
- SCRIBES_TYPE
- SHORTCUTS_TYPE
- SLIDE_TYPE
Expand Down Expand Up @@ -10635,6 +10660,10 @@ components:
- MID_DAY_CATCH_UP
- QUERY_SUGGESTION
- WEEKLY_MEETINGS
- FOLLOW_UP
- MILESTONE_TIMELINE_CHECK
- PROJECT_DISCUSSION_DIGEST
- PROJECT_NEXT_STEP
description: Type of the justification.
justification:
type: string
Expand Down Expand Up @@ -10714,6 +10743,10 @@ components:
- MID_DAY_CATCH_UP
- QUERY_SUGGESTION
- WEEKLY_MEETINGS
- FOLLOW_UP
- MILESTONE_TIMELINE_CHECK
- PROJECT_DISCUSSION_DIGEST
- PROJECT_NEXT_STEP
description: Category of the result, one of the requested categories in incoming request.
primaryEntry:
$ref: "#/components/schemas/FeedEntry"
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
speakeasyVersion: 1.759.3
speakeasyVersion: 1.761.1
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:4aa597876f5379e9e629e4df770d31151f0c4895f98ce127782075dfa30d51c3
sourceBlobDigest: sha256:fe963be2472467e16a6f7ce826d4646068034b23d489af1424c082444b82ed6c
sourceRevisionDigest: sha256:0f10e7b25d98791a46b0ed9fffad9d56ce1e52d63ca5d8c2598ff2fda3df6321
sourceBlobDigest: sha256:59995e53d0ac0527b824756126d89dd7c4638fffb3b57711446f35604d0012a0
tags:
- latest
Glean-OAS:
Expand All @@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:4aa597876f5379e9e629e4df770d31151f0c4895f98ce127782075dfa30d51c3
sourceBlobDigest: sha256:fe963be2472467e16a6f7ce826d4646068034b23d489af1424c082444b82ed6c
sourceRevisionDigest: sha256:0f10e7b25d98791a46b0ed9fffad9d56ce1e52d63ca5d8c2598ff2fda3df6321
sourceBlobDigest: sha256:59995e53d0ac0527b824756126d89dd7c4638fffb3b57711446f35604d0012a0
codeSamplesNamespace: glean-api-specs-java-code-samples
codeSamplesRevisionDigest: sha256:4e2f73df3ad5385ff0f3fe8b87d46ba2fbfeb4fba441dd8c4292f8bd31305f2e
codeSamplesRevisionDigest: sha256:9ab0315247aac25275abe5e58debea4324923b23bb0d9cbaeeff8d7b97b4e40f
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.glean.api-client:glean-api-client:0.12.33'
implementation 'com.glean.api-client:glean-api-client:0.12.34'
```

Maven:
```xml
<dependency>
<groupId>com.glean.api-client</groupId>
<artifactId>glean-api-client</artifactId>
<version>0.12.33</version>
<version>0.12.34</version>
</dependency>
```

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -678,4 +678,14 @@ Based on:
### Generated
- [java v0.12.33] .
### Releases
- [Maven Central v0.12.33] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.33 - .
- [Maven Central v0.12.33] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.33 - .

## 2026-04-06 17:39:40
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.761.1 (2.879.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.12.34] .
### Releases
- [Maven Central v0.12.34] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.34 - .
1 change: 1 addition & 0 deletions docs/models/components/DocumentSpecUgcType2.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ DocumentSpecUgcType2 custom = DocumentSpecUgcType2.of("custom_value");
| --------------- | --------------- |
| `ANNOUNCEMENTS` | ANNOUNCEMENTS |
| `ANSWERS` | ANSWERS |
| `ARTIFACTS` | ARTIFACTS |
| `COLLECTIONS` | COLLECTIONS |
| `SHORTCUTS` | SHORTCUTS |
| `CHATS` | CHATS |
6 changes: 5 additions & 1 deletion docs/models/components/FeedRequestCategory.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,8 @@ FeedRequestCategory value = FeedRequestCategory.DOCUMENT_SUGGESTION;
| `STARTER_KIT` | STARTER_KIT |
| `MID_DAY_CATCH_UP` | MID_DAY_CATCH_UP |
| `QUERY_SUGGESTION` | QUERY_SUGGESTION |
| `WEEKLY_MEETINGS` | WEEKLY_MEETINGS |
| `WEEKLY_MEETINGS` | WEEKLY_MEETINGS |
| `FOLLOW_UP` | FOLLOW_UP |
| `MILESTONE_TIMELINE_CHECK` | MILESTONE_TIMELINE_CHECK |
| `PROJECT_DISCUSSION_DIGEST` | PROJECT_DISCUSSION_DIGEST |
| `PROJECT_NEXT_STEP` | PROJECT_NEXT_STEP |
6 changes: 5 additions & 1 deletion docs/models/components/FeedResultCategory.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,8 @@ FeedResultCategory custom = FeedResultCategory.of("custom_value");
| `STARTER_KIT` | STARTER_KIT |
| `MID_DAY_CATCH_UP` | MID_DAY_CATCH_UP |
| `QUERY_SUGGESTION` | QUERY_SUGGESTION |
| `WEEKLY_MEETINGS` | WEEKLY_MEETINGS |
| `WEEKLY_MEETINGS` | WEEKLY_MEETINGS |
| `FOLLOW_UP` | FOLLOW_UP |
| `MILESTONE_TIMELINE_CHECK` | MILESTONE_TIMELINE_CHECK |
| `PROJECT_DISCUSSION_DIGEST` | PROJECT_DISCUSSION_DIGEST |
| `PROJECT_NEXT_STEP` | PROJECT_NEXT_STEP |
6 changes: 5 additions & 1 deletion docs/models/components/JustificationType.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,8 @@ JustificationType custom = JustificationType.of("custom_value");
| `ACTIVE_DISCUSSION` | ACTIVE_DISCUSSION |
| `MID_DAY_CATCH_UP` | MID_DAY_CATCH_UP |
| `QUERY_SUGGESTION` | QUERY_SUGGESTION |
| `WEEKLY_MEETINGS` | WEEKLY_MEETINGS |
| `WEEKLY_MEETINGS` | WEEKLY_MEETINGS |
| `FOLLOW_UP` | FOLLOW_UP |
| `MILESTONE_TIMELINE_CHECK` | MILESTONE_TIMELINE_CHECK |
| `PROJECT_DISCUSSION_DIGEST` | PROJECT_DISCUSSION_DIGEST |
| `PROJECT_NEXT_STEP` | PROJECT_NEXT_STEP |
1 change: 1 addition & 0 deletions docs/models/components/UgcType.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ UgcType custom = UgcType.of("custom_value");
| `PAPER_TYPE` | PAPER_TYPE |
| `PRISM_VIEWS_TYPE` | PRISM_VIEWS_TYPE |
| `PROMPT_TEMPLATES_TYPE` | PROMPT_TEMPLATES_TYPE |
| `PINS_TYPE` | PINS_TYPE |
| `SCRIBES_TYPE` | SCRIBES_TYPE |
| `SHORTCUTS_TYPE` | SHORTCUTS_TYPE |
| `SLIDE_TYPE` | SLIDE_TYPE |
Expand Down
2 changes: 1 addition & 1 deletion docs/sdks/indexingshortcuts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

## bulkIndex

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.
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.

### Example Usage

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
groupId=com.glean.api-client
artifactId=glean-api-client
version=0.12.33
version=0.12.34
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public IndexingShortcuts sync() {
* would be hosted by Glean, please use the `/uploadshortcuts` endpoint.
*
* <p>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.
* [this](https://docs.glean.com/user-guide/knowledge/go-links/how-go-links-work) page.
*
* @return The async call builder
*/
Expand All @@ -62,7 +62,7 @@ public PostApiIndexV1BulkindexshortcutsRequestBuilder bulkIndex() {
* would be hosted by Glean, please use the `/uploadshortcuts` endpoint.
*
* <p>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.
* [this](https://docs.glean.com/user-guide/knowledge/go-links/how-go-links-work) page.
*
* @param request The request object containing all the parameters for the API call.
* @return {@code CompletableFuture<PostApiIndexV1BulkindexshortcutsResponse>} - The async response
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public AsyncIndexingShortcuts async() {
* would be hosted by Glean, please use the `/uploadshortcuts` endpoint.
*
* <p>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.
* [this](https://docs.glean.com/user-guide/knowledge/go-links/how-go-links-work) page.
*
* @return The call builder
*/
Expand All @@ -60,7 +60,7 @@ public PostApiIndexV1BulkindexshortcutsRequestBuilder bulkIndex() {
* would be hosted by Glean, please use the `/uploadshortcuts` endpoint.
*
* <p>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.
* [this](https://docs.glean.com/user-guide/knowledge/go-links/how-go-links-work) page.
*
* @param request The request object containing all the parameters for the API call.
* @return The response from the API call
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ public class SDKConfiguration {

private static final String LANGUAGE = "java";
public static final String OPENAPI_DOC_VERSION = "0.9.0";
public static final String SDK_VERSION = "0.12.33";
public static final String GEN_VERSION = "2.869.25";
public static final String SDK_VERSION = "0.12.34";
public static final String GEN_VERSION = "2.879.6";
private static final String BASE_PACKAGE = "com.glean.api_client.glean_api_client";
public static final String USER_AGENT =
String.format("speakeasy-sdk/%s %s %s %s %s",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public class DocumentSpecUgcType2 {

public static final DocumentSpecUgcType2 ANNOUNCEMENTS = new DocumentSpecUgcType2("ANNOUNCEMENTS");
public static final DocumentSpecUgcType2 ANSWERS = new DocumentSpecUgcType2("ANSWERS");
public static final DocumentSpecUgcType2 ARTIFACTS = new DocumentSpecUgcType2("ARTIFACTS");
public static final DocumentSpecUgcType2 COLLECTIONS = new DocumentSpecUgcType2("COLLECTIONS");
public static final DocumentSpecUgcType2 SHORTCUTS = new DocumentSpecUgcType2("SHORTCUTS");
public static final DocumentSpecUgcType2 CHATS = new DocumentSpecUgcType2("CHATS");
Expand Down Expand Up @@ -106,6 +107,7 @@ private static final Map<String, DocumentSpecUgcType2> createValuesMap() {
Map<String, DocumentSpecUgcType2> map = new LinkedHashMap<>();
map.put("ANNOUNCEMENTS", ANNOUNCEMENTS);
map.put("ANSWERS", ANSWERS);
map.put("ARTIFACTS", ARTIFACTS);
map.put("COLLECTIONS", COLLECTIONS);
map.put("SHORTCUTS", SHORTCUTS);
map.put("CHATS", CHATS);
Expand All @@ -116,6 +118,7 @@ private static final Map<String, DocumentSpecUgcType2Enum> createEnumsMap() {
Map<String, DocumentSpecUgcType2Enum> map = new HashMap<>();
map.put("ANNOUNCEMENTS", DocumentSpecUgcType2Enum.ANNOUNCEMENTS);
map.put("ANSWERS", DocumentSpecUgcType2Enum.ANSWERS);
map.put("ARTIFACTS", DocumentSpecUgcType2Enum.ARTIFACTS);
map.put("COLLECTIONS", DocumentSpecUgcType2Enum.COLLECTIONS);
map.put("SHORTCUTS", DocumentSpecUgcType2Enum.SHORTCUTS);
map.put("CHATS", DocumentSpecUgcType2Enum.CHATS);
Expand All @@ -127,6 +130,7 @@ public enum DocumentSpecUgcType2Enum {

ANNOUNCEMENTS("ANNOUNCEMENTS"),
ANSWERS("ANSWERS"),
ARTIFACTS("ARTIFACTS"),
COLLECTIONS("COLLECTIONS"),
SHORTCUTS("SHORTCUTS"),
CHATS("CHATS"),;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ public enum FeedRequestCategory {
STARTER_KIT("STARTER_KIT"),
MID_DAY_CATCH_UP("MID_DAY_CATCH_UP"),
QUERY_SUGGESTION("QUERY_SUGGESTION"),
WEEKLY_MEETINGS("WEEKLY_MEETINGS");
WEEKLY_MEETINGS("WEEKLY_MEETINGS"),
FOLLOW_UP("FOLLOW_UP"),
MILESTONE_TIMELINE_CHECK("MILESTONE_TIMELINE_CHECK"),
PROJECT_DISCUSSION_DIGEST("PROJECT_DISCUSSION_DIGEST"),
PROJECT_NEXT_STEP("PROJECT_NEXT_STEP");

@JsonValue
private final String value;
Expand Down
Loading