Skip to content

Commit 9cf22bf

Browse files
Merge pull request #50 from gleanwork/speakeasy-sdk-regen-1763081167
chore: 🐝 Update SDK - Generate 0.12.2
2 parents 55b9cfc + 4567fed commit 9cf22bf

File tree

10 files changed

+38
-99
lines changed

10 files changed

+38
-99
lines changed

.speakeasy/gen.lock

Lines changed: 6 additions & 5 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: 0ac885f7072adae50d62b33db76f5bb4
4+
docChecksum: 09ae73bbaebb3968dc7590f295580164
55
docVersion: 0.9.0
6-
speakeasyVersion: 1.656.1
7-
generationVersion: 2.753.1
8-
releaseVersion: 0.12.1
9-
configChecksum: 5fb4642218f210542574e65733871f8f
6+
speakeasyVersion: 1.656.2
7+
generationVersion: 2.753.6
8+
releaseVersion: 0.12.2
9+
configChecksum: c554502f383c4dcd58b7f6d0ae43ac1b
1010
repoURL: https://github.com/gleanwork/api-client-java.git
1111
published: true
1212
features:
@@ -2899,3 +2899,4 @@ generatedTests:
28992899
get_/rest/api/v1/tools/list: "2025-06-09T18:03:44Z"
29002900
post_/rest/api/v1/tools/call: "2025-06-09T18:03:44Z"
29012901
listpolicies: "2025-06-09T18:03:44Z"
2902+
releaseNotes: "## Java SDK Changes Detected:\n* `glean.client.chat.retrieveFiles()`: \n * `request.getchatfilesrequest.chatId` **Removed** **Breaking** :warning:\n"

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ generation:
2525
generateNewTests: false
2626
skipResponseBodyAssertions: false
2727
java:
28-
version: 0.12.1
28+
version: 0.12.2
2929
additionalDependencies: []
3030
additionalPlugins: []
3131
artifactID: glean-api-client

.speakeasy/glean-merged-spec.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7654,9 +7654,6 @@ components:
76547654
items:
76557655
type: string
76567656
description: IDs of files to fetch.
7657-
chatId:
7658-
type: string
7659-
description: The ID of the chat that contains the chat file.
76607657
GetChatFilesResponse:
76617658
properties:
76627659
files:

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.656.1
1+
speakeasyVersion: 1.656.2
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:2ad700f2ce85b0aa442a98a80f3c131f73fc187c53407d3d84b1899c0e603eb1
6-
sourceBlobDigest: sha256:d62d91bcf73cf5775dc081807ae550dd20f6ecdfb5dc06ebbd08804f84a2d2f1
5+
sourceRevisionDigest: sha256:96cafa57016acbc64c52992e4a68d7696a212761df887408ef0f2352ea10dae6
6+
sourceBlobDigest: sha256:b79b23f50c98e048500a2adc816142e62cc76246550749081488c83b528ce172
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1762908701
9+
- speakeasy-sdk-regen-1763081167
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:2ad700f2ce85b0aa442a98a80f3c131f73fc187c53407d3d84b1899c0e603eb1
22-
sourceBlobDigest: sha256:d62d91bcf73cf5775dc081807ae550dd20f6ecdfb5dc06ebbd08804f84a2d2f1
21+
sourceRevisionDigest: sha256:96cafa57016acbc64c52992e4a68d7696a212761df887408ef0f2352ea10dae6
22+
sourceBlobDigest: sha256:b79b23f50c98e048500a2adc816142e62cc76246550749081488c83b528ce172
2323
codeSamplesNamespace: glean-api-specs-java-code-samples
24-
codeSamplesRevisionDigest: sha256:e9339f73a8bf5d6ec0b009ce53d8df75b5c9c7b890c97a2e317fa648d80d3c20
24+
codeSamplesRevisionDigest: sha256:30400f028052df2034cadadb7494f7012a55665d8a4966896c1e2def56b1e977
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
@@ -65,15 +65,15 @@ The samples below show how a published SDK artifact is used:
6565

6666
Gradle:
6767
```groovy
68-
implementation 'com.glean.api-client:glean-api-client:0.12.1'
68+
implementation 'com.glean.api-client:glean-api-client:0.12.2'
6969
```
7070

7171
Maven:
7272
```xml
7373
<dependency>
7474
<groupId>com.glean.api-client</groupId>
7575
<artifactId>glean-api-client</artifactId>
76-
<version>0.12.1</version>
76+
<version>0.12.2</version>
7777
</dependency>
7878
```
7979

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,4 +358,14 @@ Based on:
358358
### Generated
359359
- [java v0.12.1] .
360360
### Releases
361-
- [Maven Central v0.12.1] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.1 - .
361+
- [Maven Central v0.12.1] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.1 - .
362+
363+
## 2025-11-14 02:00:54
364+
### Changes
365+
Based on:
366+
- OpenAPI Doc
367+
- Speakeasy CLI 1.656.2 (2.753.6) https://github.com/speakeasy-api/speakeasy
368+
### Generated
369+
- [java v0.12.2] .
370+
### Releases
371+
- [Maven Central v0.12.2] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.2 - .

docs/models/components/GetChatFilesRequest.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- |
8-
| `fileIds` | List\<*String*> | :heavy_check_mark: | IDs of files to fetch. |
9-
| `chatId` | *Optional\<String>* | :heavy_minus_sign: | The ID of the chat that contains the chat file. |
6+
| Field | Type | Required | Description |
7+
| ---------------------- | ---------------------- | ---------------------- | ---------------------- |
8+
| `fileIds` | List\<*String*> | :heavy_check_mark: | IDs of files to fetch. |

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.12.1
3+
version=0.12.2
44
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g

src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ public class SDKConfiguration {
2424

2525
private static final String LANGUAGE = "java";
2626
public static final String OPENAPI_DOC_VERSION = "0.9.0";
27-
public static final String SDK_VERSION = "0.12.1";
28-
public static final String GEN_VERSION = "2.753.1";
27+
public static final String SDK_VERSION = "0.12.2";
28+
public static final String GEN_VERSION = "2.753.6";
2929
private static final String BASE_PACKAGE = "com.glean.api_client.glean_api_client";
3030
public static final String USER_AGENT =
3131
String.format("speakeasy-sdk/%s %s %s %s %s",

src/main/java/com/glean/api_client/glean_api_client/models/components/GetChatFilesRequest.java

Lines changed: 5 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,11 @@
55

66
import com.fasterxml.jackson.annotation.JsonCreator;
77
import com.fasterxml.jackson.annotation.JsonIgnore;
8-
import com.fasterxml.jackson.annotation.JsonInclude.Include;
9-
import com.fasterxml.jackson.annotation.JsonInclude;
108
import com.fasterxml.jackson.annotation.JsonProperty;
119
import com.glean.api_client.glean_api_client.utils.Utils;
1210
import java.lang.Override;
1311
import java.lang.String;
1412
import java.util.List;
15-
import java.util.Optional;
1613

1714

1815
public class GetChatFilesRequest {
@@ -22,26 +19,11 @@ public class GetChatFilesRequest {
2219
@JsonProperty("fileIds")
2320
private List<String> fileIds;
2421

25-
/**
26-
* The ID of the chat that contains the chat file.
27-
*/
28-
@JsonInclude(Include.NON_ABSENT)
29-
@JsonProperty("chatId")
30-
private Optional<String> chatId;
31-
3222
@JsonCreator
3323
public GetChatFilesRequest(
34-
@JsonProperty("fileIds") List<String> fileIds,
35-
@JsonProperty("chatId") Optional<String> chatId) {
24+
@JsonProperty("fileIds") List<String> fileIds) {
3625
Utils.checkNotNull(fileIds, "fileIds");
37-
Utils.checkNotNull(chatId, "chatId");
3826
this.fileIds = fileIds;
39-
this.chatId = chatId;
40-
}
41-
42-
public GetChatFilesRequest(
43-
List<String> fileIds) {
44-
this(fileIds, Optional.empty());
4527
}
4628

4729
/**
@@ -52,14 +34,6 @@ public List<String> fileIds() {
5234
return fileIds;
5335
}
5436

55-
/**
56-
* The ID of the chat that contains the chat file.
57-
*/
58-
@JsonIgnore
59-
public Optional<String> chatId() {
60-
return chatId;
61-
}
62-
6337
public static Builder builder() {
6438
return new Builder();
6539
}
@@ -74,25 +48,6 @@ public GetChatFilesRequest withFileIds(List<String> fileIds) {
7448
return this;
7549
}
7650

77-
/**
78-
* The ID of the chat that contains the chat file.
79-
*/
80-
public GetChatFilesRequest withChatId(String chatId) {
81-
Utils.checkNotNull(chatId, "chatId");
82-
this.chatId = Optional.ofNullable(chatId);
83-
return this;
84-
}
85-
86-
87-
/**
88-
* The ID of the chat that contains the chat file.
89-
*/
90-
public GetChatFilesRequest withChatId(Optional<String> chatId) {
91-
Utils.checkNotNull(chatId, "chatId");
92-
this.chatId = chatId;
93-
return this;
94-
}
95-
9651
@Override
9752
public boolean equals(java.lang.Object o) {
9853
if (this == o) {
@@ -103,30 +58,26 @@ public boolean equals(java.lang.Object o) {
10358
}
10459
GetChatFilesRequest other = (GetChatFilesRequest) o;
10560
return
106-
Utils.enhancedDeepEquals(this.fileIds, other.fileIds) &&
107-
Utils.enhancedDeepEquals(this.chatId, other.chatId);
61+
Utils.enhancedDeepEquals(this.fileIds, other.fileIds);
10862
}
10963

11064
@Override
11165
public int hashCode() {
11266
return Utils.enhancedHash(
113-
fileIds, chatId);
67+
fileIds);
11468
}
11569

11670
@Override
11771
public String toString() {
11872
return Utils.toString(GetChatFilesRequest.class,
119-
"fileIds", fileIds,
120-
"chatId", chatId);
73+
"fileIds", fileIds);
12174
}
12275

12376
@SuppressWarnings("UnusedReturnValue")
12477
public final static class Builder {
12578

12679
private List<String> fileIds;
12780

128-
private Optional<String> chatId = Optional.empty();
129-
13081
private Builder() {
13182
// force use of static builder() method
13283
}
@@ -141,29 +92,10 @@ public Builder fileIds(List<String> fileIds) {
14192
return this;
14293
}
14394

144-
145-
/**
146-
* The ID of the chat that contains the chat file.
147-
*/
148-
public Builder chatId(String chatId) {
149-
Utils.checkNotNull(chatId, "chatId");
150-
this.chatId = Optional.ofNullable(chatId);
151-
return this;
152-
}
153-
154-
/**
155-
* The ID of the chat that contains the chat file.
156-
*/
157-
public Builder chatId(Optional<String> chatId) {
158-
Utils.checkNotNull(chatId, "chatId");
159-
this.chatId = chatId;
160-
return this;
161-
}
162-
16395
public GetChatFilesRequest build() {
16496

16597
return new GetChatFilesRequest(
166-
fileIds, chatId);
98+
fileIds);
16799
}
168100

169101
}

0 commit comments

Comments
 (0)