Skip to content

Commit 7080a0c

Browse files
Merge pull request #74 from gleanwork/speakeasy-sdk-regen-1770751890
chore: 🐝 Update SDK - Generate 0.12.21
2 parents 60abdc7 + 06f430c commit 7080a0c

21 files changed

Lines changed: 14047 additions & 13306 deletions

.speakeasy/gen.lock

Lines changed: 51 additions & 35 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 2 additions & 2 deletions
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.20
31+
version: 0.12.21
3232
additionalDependencies: []
3333
additionalPlugins: []
3434
artifactID: glean-api-client
@@ -45,6 +45,7 @@ java:
4545
envVarPrefix: GLEAN
4646
flattenGlobalSecurity: true
4747
forwardCompatibleEnumsByDefault: false
48+
forwardCompatibleUnionsByDefault: "false"
4849
generateOptionalUnionAccessors: false
4950
generateSpringBootStarter: true
5051
githubURL: github.com/gleanwork/api-client-java
@@ -67,7 +68,6 @@ java:
6768
maxMethodParams: 4
6869
multipartArrayFormat: standard
6970
nullFriendlyParameters: false
70-
openUnions: true
7171
operationScopedParams: true
7272
outputModelSuffix: output
7373
projectName: glean-api-client

.speakeasy/glean-merged-spec.yaml

Lines changed: 13271 additions & 13206 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.709.3
1+
speakeasyVersion: 1.722.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:b38bf1e37aa8bc265550ac0ed69b88b02d98050a576d5bb6a4546b74e5e4210f
6-
sourceBlobDigest: sha256:8928c68b5880fc0f36058b4dfbb5e3743558b9592e72fbfeeafc536b70f77a24
5+
sourceRevisionDigest: sha256:a417495716018a416b8210f6cb830654e301e408cceb567b5c86f81d5211db79
6+
sourceBlobDigest: sha256:163203ddf3ff04235c0ee40e8ec377e1093ff290525e24b89dfd28248a4c331a
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1770658590
9+
- speakeasy-sdk-regen-1770751890
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:b38bf1e37aa8bc265550ac0ed69b88b02d98050a576d5bb6a4546b74e5e4210f
22-
sourceBlobDigest: sha256:8928c68b5880fc0f36058b4dfbb5e3743558b9592e72fbfeeafc536b70f77a24
21+
sourceRevisionDigest: sha256:a417495716018a416b8210f6cb830654e301e408cceb567b5c86f81d5211db79
22+
sourceBlobDigest: sha256:163203ddf3ff04235c0ee40e8ec377e1093ff290525e24b89dfd28248a4c331a
2323
codeSamplesNamespace: glean-api-specs-java-code-samples
24-
codeSamplesRevisionDigest: sha256:f74f3bba59a75f419741b79e27d25c48ac3e6f72c425f01949a83b8c78386e04
24+
codeSamplesRevisionDigest: sha256:52ce262cbb16350bdce6d6284e0edf5943804081a1c3200935bd0dba6145c9fe
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.20'
69+
implementation 'com.glean.api-client:glean-api-client:0.12.21'
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.20</version>
77+
<version>0.12.21</version>
7878
</dependency>
7979
```
8080

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,4 +548,14 @@ Based on:
548548
### Generated
549549
- [java v0.12.20] .
550550
### Releases
551-
- [Maven Central v0.12.20] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.20 - .
551+
- [Maven Central v0.12.20] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.20 - .
552+
553+
## 2026-02-18 02:49:04
554+
### Changes
555+
Based on:
556+
- OpenAPI Doc
557+
- Speakeasy CLI 1.722.0 (2.829.1) https://github.com/speakeasy-api/speakeasy
558+
### Generated
559+
- [java v0.12.21] .
560+
### Releases
561+
- [Maven Central v0.12.21] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.21 - .
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# AuthStatus
2+
3+
The per-user authorization status for a datasource.
4+
5+
6+
## Values
7+
8+
| Name | Value |
9+
| --------------- | --------------- |
10+
| `DISABLED` | DISABLED |
11+
| `AWAITING_AUTH` | AWAITING_AUTH |
12+
| `AUTHORIZED` | AUTHORIZED |
13+
| `STALE_OAUTH` | STALE_OAUTH |
14+
| `SEG_MIGRATION` | SEG_MIGRATION |

docs/models/components/ChatResponse.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ A single response from the /chat backend.
55

66
## Fields
77

8-
| Field | Type | Required | Description | Example |
9-
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
10-
| `messages` | List\<[ChatMessage](../../models/components/ChatMessage.md)> | :heavy_minus_sign: | N/A | |
11-
| `chatId` | *Optional\<String>* | :heavy_minus_sign: | The id of the associated Chat the messages belong to, if one exists. | |
12-
| `followUpPrompts` | List\<*String*> | :heavy_minus_sign: | Follow-up prompts for the user to potentially use | |
13-
| `backendTimeMillis` | *Optional\<Long>* | :heavy_minus_sign: | Time in milliseconds the backend took to respond to the request. | 1100 |
14-
| `chatSessionTrackingToken` | *Optional\<String>* | :heavy_minus_sign: | A token that is used to track the session. | |
8+
| Field | Type | Required | Description | Example |
9+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
10+
| `messages` | List\<[ChatMessage](../../models/components/ChatMessage.md)> | :heavy_minus_sign: | N/A | |
11+
| `chatId` | *Optional\<String>* | :heavy_minus_sign: | The id of the associated Chat the messages belong to, if one exists. | |
12+
| `followUpPrompts` | List\<*String*> | :heavy_minus_sign: | Follow-up prompts for the user to potentially use | |
13+
| `backendTimeMillis` | *Optional\<Long>* | :heavy_minus_sign: | Time in milliseconds the backend took to respond to the request. | 1100 |
14+
| `chatSessionTrackingToken` | *Optional\<String>* | :heavy_minus_sign: | A token that is used to track the session. | |
15+
| `unauthorizedDatasourceInstances` | List\<[UnauthorizedDatasourceInstance](../../models/components/UnauthorizedDatasourceInstance.md)> | :heavy_minus_sign: | Datasource instances that could not be queried because the user has not completed or has expired per-user OAuth, aggregated across all tools invoked in this turn.<br/> | |

docs/models/components/GleanDataError.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
8-
| `badGmailToken` | *Optional\<Boolean>* | :heavy_minus_sign: | Indicates the gmail results could not be fetched due to bad token. |
9-
| `badOutlookToken` | *Optional\<Boolean>* | :heavy_minus_sign: | Indicates the outlook results could not be fetched due to bad token. |
10-
| `invalidOperators` | List\<[InvalidOperatorValueError](../../models/components/InvalidOperatorValueError.md)> | :heavy_minus_sign: | Indicates results could not be fetched due to invalid operators in the query. |
11-
| `errorMessages` | List\<[ErrorMessage](../../models/components/ErrorMessage.md)> | :heavy_minus_sign: | N/A |
12-
| `federatedSearchRateLimitError` | *Optional\<Boolean>* | :heavy_minus_sign: | Indicates the federated search results could not be fetched due to rate limiting. |
6+
| Field | Type | Required | Description |
7+
| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
8+
| `badGmailToken` | *Optional\<Boolean>* | :heavy_minus_sign: | Indicates the gmail results could not be fetched due to bad token. |
9+
| `badOutlookToken` | *Optional\<Boolean>* | :heavy_minus_sign: | Indicates the outlook results could not be fetched due to bad token. |
10+
| `invalidOperators` | List\<[InvalidOperatorValueError](../../models/components/InvalidOperatorValueError.md)> | :heavy_minus_sign: | Indicates results could not be fetched due to invalid operators in the query. |
11+
| `errorMessages` | List\<[ErrorMessage](../../models/components/ErrorMessage.md)> | :heavy_minus_sign: | N/A |
12+
| `federatedSearchRateLimitError` | *Optional\<Boolean>* | :heavy_minus_sign: | Indicates the federated search results could not be fetched due to rate limiting. |
13+
| `unauthorizedDatasourceInstances` | List\<[UnauthorizedDatasourceInstance](../../models/components/UnauthorizedDatasourceInstance.md)> | :heavy_minus_sign: | Datasource instances that could not be queried because the user has not completed or has expired per-user OAuth.<br/> |

0 commit comments

Comments
 (0)