Skip to content

Commit e2fb353

Browse files
Merge pull request #71 from gleanwork/speakeasy-sdk-regen-1770409585
chore: 🐝 Update SDK - Generate 0.12.18
2 parents 2b5d552 + b828d8a commit e2fb353

File tree

16 files changed

+49890
-85
lines changed

16 files changed

+49890
-85
lines changed

.speakeasy/gen.lock

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
lockVersion: 2.0.0
22
id: 0359d4fe-2923-46fc-aaca-cf70b48dcfa1
33
management:
4-
docChecksum: 9f934db728af8f9aaaa1df7eb9781bff
4+
docChecksum: aee950fecf1c657983edfc4e58e7b866
55
docVersion: 0.9.0
6-
speakeasyVersion: 1.706.1
7-
generationVersion: 2.809.2
8-
releaseVersion: 0.12.17
9-
configChecksum: 013c8ae702b2077003b0d223561bcf83
6+
speakeasyVersion: 1.708.0
7+
generationVersion: 2.811.2
8+
releaseVersion: 0.12.18
9+
configChecksum: efdf553eca087dde7d512c900ed5d75c
1010
repoURL: https://github.com/gleanwork/api-client-java.git
1111
published: true
1212
persistentEdits:
13-
generation_id: 3ef7dae6-38b8-40eb-8c07-26fbe1d3b407
14-
pristine_commit_hash: 35bc860306897618beee70bcbe2c30298e96e60b
15-
pristine_tree_hash: 6916eafc177807a0c12433f2ba300ec8d88a57a7
13+
generation_id: 56bae724-8fb5-4cef-b1aa-5b02af41398e
14+
pristine_commit_hash: 7b11705d305d2c7a078300fd91ebc9a0e45f55f0
15+
pristine_tree_hash: 11e6138a909124eb89020c75db5dd1604c91aeec
1616
features:
1717
java:
1818
additionalDependencies: 0.1.0
@@ -110,12 +110,12 @@ trackedFiles:
110110
pristine_git_object: aec0cc1eec7dad413ec698c535c010e6be756a69
111111
docs/models/components/AgentRun.md:
112112
id: 6199630bb508
113-
last_write_checksum: sha1:572c90849d1bd227ec16ac8364c8e64cd1a50d40
114-
pristine_git_object: 9e9dc45f69558b953f965b2b4b9952cd990a5612
113+
last_write_checksum: sha1:5e26bc737d4858e99fc0c1d41c153bb26e912996
114+
pristine_git_object: ab0f238082d1206c157bc630e14191a5f70ad61c
115115
docs/models/components/AgentRunCreate.md:
116116
id: 9227fb3b9487
117-
last_write_checksum: sha1:abcab31c2ecc730bd2af313b5a96979ce17e6589
118-
pristine_git_object: ffeced48dd4807edeb29e82bdf11028f1a989fba
117+
last_write_checksum: sha1:4b3e649880467c611a1ac1baf7fb021d92d3b34d
118+
pristine_git_object: 5444f6aaef3d690eab7ad3d80a879094ccf735ac
119119
docs/models/components/AgentRunWaitResponse.md:
120120
id: f31a3179dd7f
121121
last_write_checksum: sha1:8d633ed39f9c0ac176869f3de76c0376d35d3e58
@@ -3034,8 +3034,8 @@ trackedFiles:
30343034
pristine_git_object: 1c1a4016a91b7b38d1d60e445563daccc701a95c
30353035
docs/sdks/agents/README.md:
30363036
id: 5965d8232fd8
3037-
last_write_checksum: sha1:6e7ed584dff9490e139c60722d7617eb38535746
3038-
pristine_git_object: 936ef14d7bc5bcab1f2bca0f329b0548325e9a82
3037+
last_write_checksum: sha1:2806734397c7bf3f6000036ed8ae34a729da0b10
3038+
pristine_git_object: d801a674d814747e5d5dcab8dd6c0b0bdd84c4e5
30393039
docs/sdks/announcements/README.md:
30403040
id: 3d2e130a217c
30413041
last_write_checksum: sha1:7efe7211bbcfd81746ebcde1b813cac00bb9813c
@@ -3046,8 +3046,8 @@ trackedFiles:
30463046
pristine_git_object: dac5103a50b2c7def69e68deb8372436a5c13a77
30473047
docs/sdks/chat/README.md:
30483048
id: 393193527c2c
3049-
last_write_checksum: sha1:1dc7fba52f54432f344c39214ff527d766446216
3050-
pristine_git_object: c2256c6a158b81edcadc9beee8bd229bbe201c92
3049+
last_write_checksum: sha1:9dd6435db0d53e86df71e28af5b40cd57c90baa6
3050+
pristine_git_object: 1e2db1a51eae9a7ffb805b0d946c0c9d0e505c86
30513051
docs/sdks/clientauthentication/README.md:
30523052
id: 463bffe80b61
30533053
last_write_checksum: sha1:836a102fd18ec0a6ea380c12dbd46bbdd3c1b2c0
@@ -3142,8 +3142,8 @@ trackedFiles:
31423142
pristine_git_object: 3decbce5bd40edbe278c1c5d2dbf585808e51d9a
31433143
gradle.properties:
31443144
id: 2afbb999f001
3145-
last_write_checksum: sha1:9daf772b5b88446f6663d43cefe9bce5715c4d4e
3146-
pristine_git_object: 3feb30fd56ce49aaf358776a56b998e613167406
3145+
last_write_checksum: sha1:4dd2f2efc07e797a3c408e05f0a98555efb3c2f6
3146+
pristine_git_object: f396ef11cfbfcb33b2043743f816ecff44b8e5ce
31473147
gradle/wrapper/gradle-wrapper.jar:
31483148
id: ec27dae6e852
31493149
last_write_checksum: sha1:f725fb1467084142d74fd7cd8eab691ab3442611
@@ -3202,8 +3202,8 @@ trackedFiles:
32023202
pristine_git_object: 9b1cc0662bffd09128796ce23c5792b7253d4751
32033203
src/main/java/com/glean/api_client/glean_api_client/Agents.java:
32043204
id: 69615daff4b4
3205-
last_write_checksum: sha1:49a9e0e50eb90d16e07a9b958075405ef62dcedc
3206-
pristine_git_object: 99f66226bc6d921d5392790e8b86fb1f5ed1bd92
3205+
last_write_checksum: sha1:0ff2688b8253355c9f657c956053d5ab52c92424
3206+
pristine_git_object: cafe15bd9280569a043c2b41f57bad761a937044
32073207
src/main/java/com/glean/api_client/glean_api_client/Announcements.java:
32083208
id: 23fcf3ba5c75
32093209
last_write_checksum: sha1:dba6baa7195ae817d05a60efeb3af427eb716b8b
@@ -3218,8 +3218,8 @@ trackedFiles:
32183218
pristine_git_object: 333354394fca08b9dc4f996fcb972c2c74e1b58b
32193219
src/main/java/com/glean/api_client/glean_api_client/AsyncAgents.java:
32203220
id: 5fb5adf2262c
3221-
last_write_checksum: sha1:86486735183e6aa4cfff12302efb472bf7f3a330
3222-
pristine_git_object: 4f7b7c5264e515229962409da2449988124698eb
3221+
last_write_checksum: sha1:75d7eec6eacf786e235b41b65972bb9716c46b2f
3222+
pristine_git_object: 4e5e734abd7b6107dedf9cd60fa1125f4b04a22a
32233223
src/main/java/com/glean/api_client/glean_api_client/AsyncAnnouncements.java:
32243224
id: a4630e10d992
32253225
last_write_checksum: sha1:37d5e3d5681881742f2c612dbc41daa9e893a462
@@ -3446,8 +3446,8 @@ trackedFiles:
34463446
pristine_git_object: 5e30515ba0d212914ac9a195db6019330b6b0a2b
34473447
src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java:
34483448
id: d5fcc61f5992
3449-
last_write_checksum: sha1:a87dab52554bb4d6e28fa8588ec203e6fb1351ec
3450-
pristine_git_object: fa82ccddea01b85a11b3cacf2c0337942f0629f4
3449+
last_write_checksum: sha1:0d9a9ed76280d60ab3498771a41798e200cd20c8
3450+
pristine_git_object: 6bff5425345c69d431abb54e3663511ac01f8922
34513451
src/main/java/com/glean/api_client/glean_api_client/Search.java:
34523452
id: f22d94b920b5
34533453
last_write_checksum: sha1:36e225a42ff566cb610d877bb5f41fc09e3e49e5
@@ -3534,12 +3534,12 @@ trackedFiles:
35343534
pristine_git_object: 7aa84c021524a3cf1379d16c301db8caf42c8b7c
35353535
src/main/java/com/glean/api_client/glean_api_client/models/components/AgentRun.java:
35363536
id: 65df58179636
3537-
last_write_checksum: sha1:74d381866493940a1309aedeb0b5b58611c5894c
3538-
pristine_git_object: 408a19244072acdfd703ac58e55739dc89a16577
3537+
last_write_checksum: sha1:faa460048f52a5cb3f12aebc4c0c10b33d889ed4
3538+
pristine_git_object: 31ba733dc48ad962a6f48724ad54915e85af93ef
35393539
src/main/java/com/glean/api_client/glean_api_client/models/components/AgentRunCreate.java:
35403540
id: 766d53d1d593
3541-
last_write_checksum: sha1:00913760b910c73a9f30aae93b2f11f67e81b217
3542-
pristine_git_object: 71b12e98c8373c06828e3ebd341b8d8bfdd03e22
3541+
last_write_checksum: sha1:073f577546abef669f3d3d6475818d2e14b87a70
3542+
pristine_git_object: 8a4762666b0069450e69821f575d2b930a8f8fa2
35433543
src/main/java/com/glean/api_client/glean_api_client/models/components/AgentRunWaitResponse.java:
35443544
id: fa4e88dbfa5b
35453545
last_write_checksum: sha1:6280a8abdfb0e1a8691323e95a6da02590b91d42

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ generation:
2828
generateNewTests: false
2929
skipResponseBodyAssertions: false
3030
java:
31-
version: 0.12.17
31+
version: 0.12.18
3232
additionalDependencies: []
3333
additionalPlugins: []
3434
artifactID: glean-api-client

.speakeasy/glean-merged-spec.yaml

Lines changed: 6 additions & 6 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: 9e30d574b26af5aea9f343b173a4c04a4d6bd044
5+
x-source-commit-sha: 2a745f932cc47169f6ceb0e7b3e9869d02726cea
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: e9deba03749240dbb9c0ba9d110e15591825b6ab
25+
x-open-api-commit-sha: c9207631abff9271cdd02433399797f6ee15e063
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -915,7 +915,7 @@ paths:
915915
tags:
916916
- Agents
917917
summary: Create an agent run and stream the response
918-
description: Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the result as a stream of server-sent events (SSE).
918+
description: "Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the result as a stream of server-sent events (SSE). **Note**: If the agent uses an input form trigger, all form fields (including optional fields) must be included in the `input` object."
919919
operationId: createAndStreamRun
920920
x-visibility: Preview
921921
requestBody:
@@ -979,7 +979,7 @@ paths:
979979
tags:
980980
- Agents
981981
summary: Create an agent run and wait for the response
982-
description: Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the final response.
982+
description: "Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the final response. **Note**: If the agent uses an input form trigger, all form fields (including optional fields) must be included in the `input` object."
983983
operationId: createAndWaitRun
984984
x-visibility: Preview
985985
requestBody:
@@ -8039,7 +8039,7 @@ components:
80398039
- type
80408040
title: MessageTextBlock
80418041
AgentRunCreate:
8042-
description: Payload for creating a run.
8042+
description: "Payload for creating a run. **Important**: If the agent uses an input form trigger, the `input` field is required and must include all fields defined in the form schema. Even fields marked as optional in the UI must be included in the request—use an empty string (`\"\"`) for optional fields without values. Omitting required form fields will result in a 500 error."
80438043
type: object
80448044
required:
80458045
- agent_id
@@ -8051,7 +8051,7 @@ components:
80518051
input:
80528052
type: object
80538053
title: Input
8054-
description: The input to the agent.
8054+
description: The input to the agent. Required when the agent uses an input form trigger.
80558055
additionalProperties: true
80568056
messages:
80578057
type: array

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.706.1
1+
speakeasyVersion: 1.708.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:047cdb5efd8f47a217d3958b57af6078f3c4d4f1ba43862f16e7760f1f16ae6d
6-
sourceBlobDigest: sha256:ac6385a48d08a34b59f5cb164fa7200e328754ed3260692a0c0d044a7499c7db
5+
sourceRevisionDigest: sha256:a46c82fb26193f4747e1b7eca5ddf4cd77edbb57c9828a17c45e2b1f5fc02f4e
6+
sourceBlobDigest: sha256:ba6a37b98073179a44805ba67125e23e907ddc0a6ca4c409ff48c53c399495d2
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1770345762
9+
- speakeasy-sdk-regen-1770409585
1010
Glean-OAS:
1111
sourceNamespace: glean-oas
1212
sourceRevisionDigest: sha256:8841834dd58ddd4e2dcf98fc90fbd06fbf3626a29df941503cce55b9548a5317
@@ -18,10 +18,10 @@ targets:
1818
glean:
1919
source: Glean API
2020
sourceNamespace: glean-api-specs
21-
sourceRevisionDigest: sha256:047cdb5efd8f47a217d3958b57af6078f3c4d4f1ba43862f16e7760f1f16ae6d
22-
sourceBlobDigest: sha256:ac6385a48d08a34b59f5cb164fa7200e328754ed3260692a0c0d044a7499c7db
21+
sourceRevisionDigest: sha256:a46c82fb26193f4747e1b7eca5ddf4cd77edbb57c9828a17c45e2b1f5fc02f4e
22+
sourceBlobDigest: sha256:ba6a37b98073179a44805ba67125e23e907ddc0a6ca4c409ff48c53c399495d2
2323
codeSamplesNamespace: glean-api-specs-java-code-samples
24-
codeSamplesRevisionDigest: sha256:9dde535711b5306b462489c7f2d16579d901c1c2abf6fd791ec7450da01a5036
24+
codeSamplesRevisionDigest: sha256:a947d9b9bc28b5fbd6ec50c69df910c8e7609694fdbc50ec8a268fa9b282dfd3
2525
workflow:
2626
workflowVersion: 1.0.0
2727
speakeasyVersion: latest

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ The samples below show how a published SDK artifact is used:
6666

6767
Gradle:
6868
```groovy
69-
implementation 'com.glean.api-client:glean-api-client:0.12.17'
69+
implementation 'com.glean.api-client:glean-api-client:0.12.18'
7070
```
7171

7272
Maven:
7373
```xml
7474
<dependency>
7575
<groupId>com.glean.api-client</groupId>
7676
<artifactId>glean-api-client</artifactId>
77-
<version>0.12.17</version>
77+
<version>0.12.18</version>
7878
</dependency>
7979
```
8080

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,4 +518,14 @@ Based on:
518518
### Generated
519519
- [java v0.12.17] .
520520
### Releases
521-
- [Maven Central v0.12.17] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.17 - .
521+
- [Maven Central v0.12.17] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.17 - .
522+
523+
## 2026-02-06 20:25:52
524+
### Changes
525+
Based on:
526+
- OpenAPI Doc
527+
- Speakeasy CLI 1.708.0 (2.811.2) https://github.com/speakeasy-api/speakeasy
528+
### Generated
529+
- [java v0.12.18] .
530+
### Releases
531+
- [Maven Central v0.12.18] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.18 - .

docs/models/components/AgentRun.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# AgentRun
22

3-
Payload for creating a run.
3+
Payload for creating a run. **Important**: If the agent uses an input form trigger, the `input` field is required and must include all fields defined in the form schema. Even fields marked as optional in the UI must be included in the request—use an empty string (`""`) for optional fields without values. Omitting required form fields will result in a 500 error.
44

55

66
## Fields
77

88
| Field | Type | Required | Description |
99
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
1010
| `agentId` | *String* | :heavy_check_mark: | The ID of the agent to run. |
11-
| `input` | Map\<String, *Object*> | :heavy_minus_sign: | The input to the agent. |
11+
| `input` | Map\<String, *Object*> | :heavy_minus_sign: | The input to the agent. Required when the agent uses an input form trigger. |
1212
| `messages` | List\<[Message](../../models/components/Message.md)> | :heavy_minus_sign: | The messages to pass an input to the agent. |
1313
| `metadata` | Map\<String, *Object*> | :heavy_minus_sign: | The metadata to pass to the agent. |
1414
| `status` | [Optional\<AgentExecutionStatus>](../../models/components/AgentExecutionStatus.md) | :heavy_minus_sign: | The status of the run. One of 'error', 'success'. |
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# AgentRunCreate
22

3-
Payload for creating a run.
3+
Payload for creating a run. **Important**: If the agent uses an input form trigger, the `input` field is required and must include all fields defined in the form schema. Even fields marked as optional in the UI must be included in the request—use an empty string (`""`) for optional fields without values. Omitting required form fields will result in a 500 error.
44

55

66
## Fields
77

8-
| Field | Type | Required | Description |
9-
| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- |
10-
| `agentId` | *String* | :heavy_check_mark: | The ID of the agent to run. |
11-
| `input` | Map\<String, *Object*> | :heavy_minus_sign: | The input to the agent. |
12-
| `messages` | List\<[Message](../../models/components/Message.md)> | :heavy_minus_sign: | The messages to pass an input to the agent. |
13-
| `metadata` | Map\<String, *Object*> | :heavy_minus_sign: | The metadata to pass to the agent. |
8+
| Field | Type | Required | Description |
9+
| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
10+
| `agentId` | *String* | :heavy_check_mark: | The ID of the agent to run. |
11+
| `input` | Map\<String, *Object*> | :heavy_minus_sign: | The input to the agent. Required when the agent uses an input form trigger. |
12+
| `messages` | List\<[Message](../../models/components/Message.md)> | :heavy_minus_sign: | The messages to pass an input to the agent. |
13+
| `metadata` | Map\<String, *Object*> | :heavy_minus_sign: | The metadata to pass to the agent. |

0 commit comments

Comments
 (0)