Skip to content

Commit edf992f

Browse files
Merge pull request #42 from gleanwork/speakeasy-sdk-regen-1760583309
chore: 🐝 Update SDK - Generate 0.10.7
2 parents f4ceb44 + b024450 commit edf992f

File tree

13 files changed

+52
-57
lines changed

13 files changed

+52
-57
lines changed

β€Ž.speakeasy/gen.lockβ€Ž

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 0359d4fe-2923-46fc-aaca-cf70b48dcfa1
33
management:
4-
docChecksum: ef00a2f5125097d9f584f0bbb5436f00
4+
docChecksum: 5a4cd8de1e6ca5f701ac27e244d09799
55
docVersion: 0.9.0
66
speakeasyVersion: 1.636.3
77
generationVersion: 2.723.11
8-
releaseVersion: 0.10.6
9-
configChecksum: f8f30b23cd06d0c4f3fa8d2faa9636cb
8+
releaseVersion: 0.10.7
9+
configChecksum: 72d9151877c585b3c754e083d3c839ed
1010
repoURL: https://github.com/gleanwork/api-client-java.git
1111
published: true
1212
features:
@@ -2348,7 +2348,7 @@ examples:
23482348
messages:
23492349
speakeasy-default-messages:
23502350
requestBody:
2351-
application/json: {"idType": "CONVERSATION_ID", "id": "<id>"}
2351+
application/json: {"idType": "CONVERSATION_ID", "id": "<id>", "datasource": "GCHAT"}
23522352
responses:
23532353
"200":
23542354
application/json: {"hasMore": true, "searchResponse": {"trackingToken": "trackingToken", "results": [{"title": "title", "url": "https://www.example.com/", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"title": "title", "url": "https://www.example.com/", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}], "errorInfo": {"errorMessages": [{"source": "gmail", "errorMessage": "invalid token"}, {"source": "slack", "errorMessage": "expired token"}]}, "requestID": "5e345ae500ff0befa2b9d1a3ba0001737e7363696f312d323535323137000171756572792d656e64706f696e743a323032303031333074313830343032000100", "facetResults": [{"sourceName": "sourceName", "operatorName": "operatorName", "buckets": [{"count": 1, "percentage": 5, "value": {"stringValue": "stringValue", "integerValue": 5}}, {"count": 1, "percentage": 5, "value": {"stringValue": "stringValue", "integerValue": 5}}]}, {"sourceName": "sourceName", "operatorName": "operatorName", "buckets": [{"count": 1, "percentage": 5, "value": {"stringValue": "stringValue", "integerValue": 5}}, {"count": 1, "percentage": 5, "value": {"stringValue": "stringValue", "integerValue": 5}}]}], "rewrittenFacetFilters": [{"fieldName": "fieldName", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Spreadsheet", "relationType": "EQUALS"}]}, {"fieldName": "fieldName", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Spreadsheet", "relationType": "EQUALS"}]}], "hasMoreResults": true}, "rootMessage": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}], "mustIncludeSuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}}}
@@ -2898,6 +2898,4 @@ generatedTests:
28982898
get_/rest/api/v1/tools/list: "2025-06-09T18:03:44Z"
28992899
post_/rest/api/v1/tools/call: "2025-06-09T18:03:44Z"
29002900
listpolicies: "2025-06-09T18:03:44Z"
2901-
releaseNotes: |
2902-
## Java SDK Changes Detected:
2903-
* `glean.client.search.retrieveFeed()`: `response.results.[].primaryEntry.digest.sections.[].updates.[].urls` **Added**
2901+
releaseNotes: "## Java SDK Changes Detected:\n* `glean.client.messages.retrieve()`: \n * `request.datasource` **Changed** **Breaking** :warning:\n"

β€Ž.speakeasy/gen.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ generation:
2222
generateNewTests: false
2323
skipResponseBodyAssertions: false
2424
java:
25-
version: 0.10.6
25+
version: 0.10.7
2626
additionalDependencies: []
2727
additionalPlugins: []
2828
artifactID: glean-api-client

β€Ž.speakeasy/glean-merged-spec.yamlβ€Ž

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8774,6 +8774,7 @@ components:
87748774
required:
87758775
- id
87768776
- idType
8777+
- datasource
87778778
properties:
87788779
idType:
87798780
type: string
@@ -8805,9 +8806,11 @@ components:
88058806
type: string
88068807
enum:
88078808
- SLACK
8809+
- SLACKENTGRID
88088810
- MICROSOFTTEAMS
8811+
- GCHAT
88098812
- FACEBOOKWORKPLACE
8810-
description: The type of the data source. Missing field defaults to SLACK.
8813+
description: The type of the data source.
88118814
datasourceInstanceDisplayName:
88128815
type: string
88138816
description: The datasource instance display name from which the document was extracted. This is used for appinstance facet filter for datasources that support multiple instances.

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ speakeasyVersion: 1.636.3
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:784ebb76d989e40e13173fd5583545b5c83afb48be4d97b2c129cc90e2998f3f
6-
sourceBlobDigest: sha256:7d1478805de16c63a0e5c784706e64b229cb94f7e0b4d438aa52f764be944544
5+
sourceRevisionDigest: sha256:1dc42ac3d5012271bce5ddf879010efb2f292ded5ce08d224bb1cd28fcc4558d
6+
sourceBlobDigest: sha256:fa9263107a00a7b99c1ea0d1c0100757e4abad76b9156a0c98186da8953f8f16
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1760121029
9+
- speakeasy-sdk-regen-1760583309
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:784ebb76d989e40e13173fd5583545b5c83afb48be4d97b2c129cc90e2998f3f
22-
sourceBlobDigest: sha256:7d1478805de16c63a0e5c784706e64b229cb94f7e0b4d438aa52f764be944544
21+
sourceRevisionDigest: sha256:1dc42ac3d5012271bce5ddf879010efb2f292ded5ce08d224bb1cd28fcc4558d
22+
sourceBlobDigest: sha256:fa9263107a00a7b99c1ea0d1c0100757e4abad76b9156a0c98186da8953f8f16
2323
codeSamplesNamespace: glean-api-specs-java-code-samples
24-
codeSamplesRevisionDigest: sha256:a6b9eb3154d5c2ed370ca7daa9a68a4a969856de4d05aef8986de88177fa5fce
24+
codeSamplesRevisionDigest: sha256:6ad4d669d9dc57c797cb957b4df98add20e4a1d354721a149a7fb238aed1b410
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
@@ -64,15 +64,15 @@ The samples below show how a published SDK artifact is used:
6464

6565
Gradle:
6666
```groovy
67-
implementation 'com.glean.api-client:glean-api-client:0.10.6'
67+
implementation 'com.glean.api-client:glean-api-client:0.10.7'
6868
```
6969

7070
Maven:
7171
```xml
7272
<dependency>
7373
<groupId>com.glean.api-client</groupId>
7474
<artifactId>glean-api-client</artifactId>
75-
<version>0.10.6</version>
75+
<version>0.10.7</version>
7676
</dependency>
7777
```
7878

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,4 +278,14 @@ Based on:
278278
### Generated
279279
- [java v0.10.6] .
280280
### Releases
281-
- [Maven Central v0.10.6] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.10.6 - .
281+
- [Maven Central v0.10.6] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.10.6 - .
282+
283+
## 2025-10-16 02:54:45
284+
### Changes
285+
Based on:
286+
- OpenAPI Doc
287+
- Speakeasy CLI 1.636.3 (2.723.11) https://github.com/speakeasy-api/speakeasy
288+
### Generated
289+
- [java v0.10.7] .
290+
### Releases
291+
- [Maven Central v0.10.7] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.10.7 - .
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# Datasource
22

3-
The type of the data source. Missing field defaults to SLACK.
3+
The type of the data source.
44

55

66
## Values
77

88
| Name | Value |
99
| ------------------- | ------------------- |
1010
| `SLACK` | SLACK |
11+
| `SLACKENTGRID` | SLACKENTGRID |
1112
| `MICROSOFTTEAMS` | MICROSOFTTEAMS |
13+
| `GCHAT` | GCHAT |
1214
| `FACEBOOKWORKPLACE` | FACEBOOKWORKPLACE |

β€Ždocs/models/components/MessagesRequest.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
| `direction` | [Optional\<Direction>](../../models/components/Direction.md) | :heavy_minus_sign: | The direction of the results asked with respect to the reference timestamp. Missing field defaults to OLDER. Only applicable when using a message_id. |
1212
| `timestampMillis` | *Optional\<Long>* | :heavy_minus_sign: | Timestamp in millis of the reference message. Only applicable when using a message_id. |
1313
| `includeRootMessage` | *Optional\<Boolean>* | :heavy_minus_sign: | Whether to include root message in response. |
14-
| `datasource` | [Optional\<Datasource>](../../models/components/Datasource.md) | :heavy_minus_sign: | The type of the data source. Missing field defaults to SLACK. |
14+
| `datasource` | [Datasource](../../models/components/Datasource.md) | :heavy_check_mark: | The type of the data source. |
1515
| `datasourceInstanceDisplayName` | *Optional\<String>* | :heavy_minus_sign: | The datasource instance display name from which the document was extracted. This is used for appinstance facet filter for datasources that support multiple instances. |

β€Ždocs/sdks/messages/README.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ Retrieves list of messages from messaging/chat datasources (e.g. Slack, Teams).
1818
package hello.world;
1919

2020
import com.glean.api_client.glean_api_client.Glean;
21-
import com.glean.api_client.glean_api_client.models.components.IdType;
22-
import com.glean.api_client.glean_api_client.models.components.MessagesRequest;
21+
import com.glean.api_client.glean_api_client.models.components.*;
2322
import com.glean.api_client.glean_api_client.models.operations.MessagesResponse;
2423
import java.lang.Exception;
2524

@@ -34,6 +33,7 @@ public class Application {
3433
MessagesRequest req = MessagesRequest.builder()
3534
.idType(IdType.CONVERSATION_ID)
3635
.id("<id>")
36+
.datasource(Datasource.GCHAT)
3737
.build();
3838

3939
MessagesResponse res = sdk.client().messages().retrieve()

β€Žgradle.propertiesβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
groupId=com.glean.api-client
22
artifactId=glean-api-client
3-
version=0.10.6
3+
version=0.10.7
44
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g

0 commit comments

Comments
Β (0)