Skip to content

Commit f39b1fb

Browse files
Merge pull request #25 from gleanwork/speakeasy-sdk-regen-1749491204
chore: 🐝 Update SDK - Generate 0.5.5
2 parents 7c18152 + 5baa29c commit f39b1fb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+78070
-24
lines changed

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

Lines changed: 176 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: 1477738232aeb60aace8340880be72ae
4+
docChecksum: 59c6e14049dbd73093349e44990e95cc
55
docVersion: 0.9.0
6-
speakeasyVersion: 1.557.1
6+
speakeasyVersion: 1.558.0
77
generationVersion: 2.623.2
8-
releaseVersion: 0.5.4
9-
configChecksum: e02e6b892e0009293bdd0389c7ae5ebf
8+
releaseVersion: 0.5.5
9+
configChecksum: fa9891571ae879a5a9c20e2619cde1e9
1010
repoURL: https://github.com/gleanwork/api-client-java.git
1111
published: true
1212
features:
@@ -25,6 +25,7 @@ features:
2525
groups: 2.81.2
2626
nameOverrides: 2.81.3
2727
sdkHooks: 1.1.0
28+
tests: 0.8.4
2829
unions: 0.0.6
2930
generatedFiles:
3031
- .gitattributes
@@ -1597,6 +1598,36 @@ generatedFiles:
15971598
- src/main/java/com/glean/api_client/glean_api_client/utils/Types.java
15981599
- src/main/java/com/glean/api_client/glean_api_client/utils/Utf8UrlEncoder.java
15991600
- src/main/java/com/glean/api_client/glean_api_client/utils/Utils.java
1601+
- src/test/java/com/glean/api_client/glean_api_client/ActivitiesTests.java
1602+
- src/test/java/com/glean/api_client/glean_api_client/AgentsTests.java
1603+
- src/test/java/com/glean/api_client/glean_api_client/AnnouncementsTests.java
1604+
- src/test/java/com/glean/api_client/glean_api_client/AnswersTests.java
1605+
- src/test/java/com/glean/api_client/glean_api_client/CalendarTests.java
1606+
- src/test/java/com/glean/api_client/glean_api_client/ClientActivityTests.java
1607+
- src/test/java/com/glean/api_client/glean_api_client/ClientAuthenticationTests.java
1608+
- src/test/java/com/glean/api_client/glean_api_client/ClientChatTests.java
1609+
- src/test/java/com/glean/api_client/glean_api_client/ClientDocumentsTests.java
1610+
- src/test/java/com/glean/api_client/glean_api_client/ClientShortcutsTests.java
1611+
- src/test/java/com/glean/api_client/glean_api_client/ClientUserTests.java
1612+
- src/test/java/com/glean/api_client/glean_api_client/ClientVerificationTests.java
1613+
- src/test/java/com/glean/api_client/glean_api_client/CollectionsTests.java
1614+
- src/test/java/com/glean/api_client/glean_api_client/DatasourcesTests.java
1615+
- src/test/java/com/glean/api_client/glean_api_client/DisplayablelistsTests.java
1616+
- src/test/java/com/glean/api_client/glean_api_client/EntitiesTests.java
1617+
- src/test/java/com/glean/api_client/glean_api_client/IndexingAuthenticationTests.java
1618+
- src/test/java/com/glean/api_client/glean_api_client/IndexingDocumentsTests.java
1619+
- src/test/java/com/glean/api_client/glean_api_client/IndexingPermissionsTests.java
1620+
- src/test/java/com/glean/api_client/glean_api_client/InsightsTests.java
1621+
- src/test/java/com/glean/api_client/glean_api_client/MessagesTests.java
1622+
- src/test/java/com/glean/api_client/glean_api_client/PeopleTests.java
1623+
- src/test/java/com/glean/api_client/glean_api_client/PinsTests.java
1624+
- src/test/java/com/glean/api_client/glean_api_client/PoliciesTests.java
1625+
- src/test/java/com/glean/api_client/glean_api_client/ReportsTests.java
1626+
- src/test/java/com/glean/api_client/glean_api_client/SearchTests.java
1627+
- src/test/java/com/glean/api_client/glean_api_client/SummarizeTests.java
1628+
- src/test/java/com/glean/api_client/glean_api_client/ToolsTests.java
1629+
- src/test/java/com/glean/api_client/glean_api_client/TroubleshootingTests.java
1630+
- src/test/java/com/glean/api_client/glean_api_client/VisibilityoverridesTests.java
16001631
examples:
16011632
activity:
16021633
speakeasy-default-activity:
@@ -2309,4 +2340,144 @@ examples:
23092340
"200":
23102341
application/json: {}
23112342
examplesVersion: 1.0.2
2312-
generatedTests: {}
2343+
generatedTests:
2344+
activity: "2025-06-09T18:03:44Z"
2345+
feedback: "2025-06-09T18:03:44Z"
2346+
createannouncement: "2025-06-09T18:03:44Z"
2347+
createdraftannouncement: "2025-06-09T18:03:44Z"
2348+
deleteannouncement: "2025-06-09T18:03:44Z"
2349+
deletedraftannouncement: "2025-06-09T18:03:44Z"
2350+
getannouncement: "2025-06-09T18:03:44Z"
2351+
getdraftannouncement: "2025-06-09T18:03:44Z"
2352+
listannouncements: "2025-06-09T18:03:44Z"
2353+
previewannouncement: "2025-06-09T18:03:44Z"
2354+
previewannouncementdraft: "2025-06-09T18:03:44Z"
2355+
publishdraftannouncement: "2025-06-09T18:03:44Z"
2356+
unpublishannouncement: "2025-06-09T18:03:44Z"
2357+
updateannouncement: "2025-06-09T18:03:44Z"
2358+
updatedraftannouncement: "2025-06-09T18:03:44Z"
2359+
createanswer: "2025-06-09T18:03:44Z"
2360+
deleteanswer: "2025-06-09T18:03:44Z"
2361+
editanswer: "2025-06-09T18:03:44Z"
2362+
getanswer: "2025-06-09T18:03:44Z"
2363+
listanswers: "2025-06-09T18:03:44Z"
2364+
previewanswer: "2025-06-09T18:03:44Z"
2365+
previewanswerdraft: "2025-06-09T18:03:44Z"
2366+
updateanswerlikes: "2025-06-09T18:03:44Z"
2367+
createanswerboard: "2025-06-09T18:03:44Z"
2368+
deleteanswerboards: "2025-06-09T18:03:44Z"
2369+
editanswerboard: "2025-06-09T18:03:44Z"
2370+
getanswerboard: "2025-06-09T18:03:44Z"
2371+
listanswerboards: "2025-06-09T18:03:44Z"
2372+
createanonymoustoken: "2025-06-09T18:03:44Z"
2373+
createauthtoken: "2025-06-09T18:03:44Z"
2374+
getevents: "2025-06-09T18:03:44Z"
2375+
ask: "2025-06-09T18:03:44Z"
2376+
chat: "2025-06-09T18:03:44Z"
2377+
deleteallchats: "2025-06-09T18:03:44Z"
2378+
deletechats: "2025-06-09T18:03:44Z"
2379+
getchat: "2025-06-09T18:03:44Z"
2380+
listchats: "2025-06-09T18:03:44Z"
2381+
getchatapplication: "2025-06-09T18:03:44Z"
2382+
getchatfiles: "2025-06-09T18:03:44Z"
2383+
deletechatfiles: "2025-06-09T18:03:44Z"
2384+
addcollectionitems: "2025-06-09T18:03:44Z"
2385+
createcollection: "2025-06-09T18:03:44Z"
2386+
deletecollection: "2025-06-09T18:03:44Z"
2387+
deletecollectionitem: "2025-06-09T18:03:44Z"
2388+
editcollection: "2025-06-09T18:03:44Z"
2389+
editcollectionitem: "2025-06-09T18:03:44Z"
2390+
editdocumentcollections: "2025-06-09T18:03:44Z"
2391+
getcollection: "2025-06-09T18:03:44Z"
2392+
listcollections: "2025-06-09T18:03:44Z"
2393+
movecollectionitem: "2025-06-09T18:03:44Z"
2394+
pincollection: "2025-06-09T18:03:44Z"
2395+
createdisplayablelists: "2025-06-09T18:03:44Z"
2396+
deletedisplayablelists: "2025-06-09T18:03:44Z"
2397+
getdisplayablelists: "2025-06-09T18:03:44Z"
2398+
updatedisplayablelists: "2025-06-09T18:03:44Z"
2399+
getdocpermissions: "2025-06-09T18:03:44Z"
2400+
getdocuments: "2025-06-09T18:03:44Z"
2401+
getdocumentsbyfacets: "2025-06-09T18:03:44Z"
2402+
getdocumentanalytics: "2025-06-09T18:03:44Z"
2403+
insights: "2025-06-09T18:03:44Z"
2404+
messages: "2025-06-09T18:03:44Z"
2405+
editpin: "2025-06-09T18:03:44Z"
2406+
getpin: "2025-06-09T18:03:44Z"
2407+
listpins: "2025-06-09T18:03:44Z"
2408+
pin: "2025-06-09T18:03:44Z"
2409+
unpin: "2025-06-09T18:03:44Z"
2410+
adminsearch: "2025-06-09T18:03:44Z"
2411+
autocomplete: "2025-06-09T18:03:44Z"
2412+
feed: "2025-06-09T18:03:44Z"
2413+
peoplesuggest: "2025-06-09T18:03:44Z"
2414+
peoplesuggestadmin: "2025-06-09T18:03:44Z"
2415+
recommendations: "2025-06-09T18:03:44Z"
2416+
search: "2025-06-09T18:03:44Z"
2417+
listentities: "2025-06-09T18:03:44Z"
2418+
people: "2025-06-09T18:03:44Z"
2419+
teams: "2025-06-09T18:03:44Z"
2420+
createshortcut: "2025-06-09T18:03:44Z"
2421+
deleteshortcut: "2025-06-09T18:03:44Z"
2422+
getshortcut: "2025-06-09T18:03:44Z"
2423+
getsimilarshortcuts: "2025-06-09T18:03:44Z"
2424+
listshortcuts: "2025-06-09T18:03:44Z"
2425+
previewshortcut: "2025-06-09T18:03:44Z"
2426+
updateshortcut: "2025-06-09T18:03:44Z"
2427+
summarize: "2025-06-09T18:03:44Z"
2428+
addcredential: "2025-06-09T18:03:44Z"
2429+
deletequeryhistory: "2025-06-09T18:03:44Z"
2430+
invite: "2025-06-09T18:03:44Z"
2431+
publicconfig: "2025-06-09T18:03:44Z"
2432+
removecredential: "2025-06-09T18:03:44Z"
2433+
support_email: "2025-06-09T18:03:44Z"
2434+
addverificationreminder: "2025-06-09T18:03:44Z"
2435+
listverifications: "2025-06-09T18:03:44Z"
2436+
verify: "2025-06-09T18:03:44Z"
2437+
runagent: "2025-06-09T18:03:44Z"
2438+
listagents: "2025-06-09T18:03:44Z"
2439+
getagentinputs: "2025-06-09T18:03:44Z"
2440+
post_/api/index/v1/indexdocument: "2025-06-09T18:03:44Z"
2441+
post_/api/index/v1/indexdocuments: "2025-06-09T18:03:44Z"
2442+
post_/api/index/v1/bulkindexdocuments: "2025-06-09T18:03:44Z"
2443+
post_/api/index/v1/processalldocuments: "2025-06-09T18:03:44Z"
2444+
post_/api/index/v1/deletedocument: "2025-06-09T18:03:44Z"
2445+
post_/api/index/v1/updatepermissions: "2025-06-09T18:03:44Z"
2446+
post_/api/index/v1/indexuser: "2025-06-09T18:03:44Z"
2447+
post_/api/index/v1/bulkindexusers: "2025-06-09T18:03:44Z"
2448+
post_/api/index/v1/indexgroup: "2025-06-09T18:03:44Z"
2449+
post_/api/index/v1/bulkindexgroups: "2025-06-09T18:03:44Z"
2450+
post_/api/index/v1/indexmembership: "2025-06-09T18:03:44Z"
2451+
post_/api/index/v1/bulkindexmemberships: "2025-06-09T18:03:44Z"
2452+
post_/api/index/v1/processallmemberships: "2025-06-09T18:03:44Z"
2453+
post_/api/index/v1/deleteuser: "2025-06-09T18:03:44Z"
2454+
post_/api/index/v1/deletegroup: "2025-06-09T18:03:44Z"
2455+
post_/api/index/v1/deletemembership: "2025-06-09T18:03:44Z"
2456+
post_/api/index/v1/betausers: "2025-06-09T18:03:44Z"
2457+
post_/api/index/v1/debug/{datasource}/status: "2025-06-09T18:03:44Z"
2458+
post_/api/index/v1/checkdocumentaccess: "2025-06-09T18:03:44Z"
2459+
post_/api/index/v1/getdocumentstatus: "2025-06-09T18:03:44Z"
2460+
post_/api/index/v1/getdocumentcount: "2025-06-09T18:03:44Z"
2461+
post_/api/index/v1/getusercount: "2025-06-09T18:03:44Z"
2462+
post_/api/index/v1/adddatasource: "2025-06-09T18:03:44Z"
2463+
post_/api/index/v1/getdatasourceconfig: "2025-06-09T18:03:44Z"
2464+
post_/api/index/v1/rotatetoken: "2025-06-09T18:03:44Z"
2465+
post_/api/index/v1/processallemployeesandteams: "2025-06-09T18:03:44Z"
2466+
chatStream: "2025-06-09T18:03:44Z"
2467+
getAgent: "2025-06-09T18:03:44Z"
2468+
getAgentSchemas: "2025-06-09T18:03:44Z"
2469+
searchAgents: "2025-06-09T18:03:44Z"
2470+
createAndStreamRun: "2025-06-09T18:03:44Z"
2471+
createAndWaitRun: "2025-06-09T18:03:44Z"
2472+
getpolicy: "2025-06-09T18:03:44Z"
2473+
getpolicies: "2025-06-09T18:03:44Z"
2474+
createpolicy: "2025-06-09T18:03:44Z"
2475+
downloadpolicycsv: "2025-06-09T18:03:44Z"
2476+
createreport: "2025-06-09T18:03:44Z"
2477+
downloadreportcsv: "2025-06-09T18:03:44Z"
2478+
getreportstatus: "2025-06-09T18:03:44Z"
2479+
getdocvisibility: "2025-06-09T18:03:44Z"
2480+
setdocvisibility: "2025-06-09T18:03:44Z"
2481+
get_/rest/api/v1/tools/list: "2025-06-09T18:03:44Z"
2482+
post_/rest/api/v1/tools/call: "2025-06-09T18:03:44Z"
2483+
listpolicies: "2025-06-09T18:03:44Z"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ generation:
1717
oAuth2ClientCredentialsEnabled: true
1818
oAuth2PasswordEnabled: true
1919
java:
20-
version: 0.5.4
20+
version: 0.5.5
2121
additionalDependencies: []
2222
additionalPlugins: []
2323
artifactID: glean-api-client

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6826,9 +6826,11 @@ components:
68266826
x-enumDescriptions:
68276827
DEFAULT: Integrates with your company's knowledge.
68286828
GPT: Communicates directly with the LLM.
6829+
UNIVERSAL: Uses both company and web knowledge.
68296830
enum:
68306831
- DEFAULT
68316832
- GPT
6833+
- UNIVERSAL
68326834
mode:
68336835
type: string
68346836
description: Top level modes to run GleanChat in.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
hello world

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.557.1
1+
speakeasyVersion: 1.558.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:254ed74184de2e725a0dc2cf521b132b29ece9d3ba6b12fd7e7b1ceaa2e6d043
6-
sourceBlobDigest: sha256:f2a59d8beefedbda0e59b25d09a930e1b907145f784bf8961fc31b862163d964
5+
sourceRevisionDigest: sha256:8a528d68d247ecb98ea1d9d49c135154477cbfbab078b6159359a09f64628fba
6+
sourceBlobDigest: sha256:09d1624a9a347738790040f1fcdc5f2eff15461dd39941a1535efb55e2c8939f
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1749454026
9+
- speakeasy-sdk-regen-1749491204
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:254ed74184de2e725a0dc2cf521b132b29ece9d3ba6b12fd7e7b1ceaa2e6d043
22-
sourceBlobDigest: sha256:f2a59d8beefedbda0e59b25d09a930e1b907145f784bf8961fc31b862163d964
21+
sourceRevisionDigest: sha256:8a528d68d247ecb98ea1d9d49c135154477cbfbab078b6159359a09f64628fba
22+
sourceBlobDigest: sha256:09d1624a9a347738790040f1fcdc5f2eff15461dd39941a1535efb55e2c8939f
2323
codeSamplesNamespace: glean-api-specs-java-code-samples
24-
codeSamplesRevisionDigest: sha256:e6b8f88064c039aa8020b1618efbbbcd8ffb72cbc6122b8a74e3879b4545606e
24+
codeSamplesRevisionDigest: sha256:e5b2ea5208c1dc6e24e3a32186332fee5e6235cc612e785611add744c44901fa
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
@@ -62,15 +62,15 @@ The samples below show how a published SDK artifact is used:
6262

6363
Gradle:
6464
```groovy
65-
implementation 'com.glean.api-client:glean-api-client:0.5.4'
65+
implementation 'com.glean.api-client:glean-api-client:0.5.5'
6666
```
6767

6868
Maven:
6969
```xml
7070
<dependency>
7171
<groupId>com.glean.api-client</groupId>
7272
<artifactId>glean-api-client</artifactId>
73-
<version>0.5.4</version>
73+
<version>0.5.5</version>
7474
</dependency>
7575
```
7676

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,14 @@ Based on:
138138
### Generated
139139
- [java v0.5.4] .
140140
### Releases
141-
- [Maven Central v0.5.4] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.5.4 - .
141+
- [Maven Central v0.5.4] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.5.4 - .
142+
143+
## 2025-06-09 18:00:40
144+
### Changes
145+
Based on:
146+
- OpenAPI Doc
147+
- Speakeasy CLI 1.558.0 (2.623.2) https://github.com/speakeasy-api/speakeasy
148+
### Generated
149+
- [java v0.5.5] .
150+
### Releases
151+
- [Maven Central v0.5.5] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.5.5 - .

β€Žbuild.gradleβ€Ž

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ plugins {
1515
id 'maven-publish'
1616
id 'signing'
1717
id 'cl.franciscosolis.sonatype-central-upload' version '1.0.3'
18+
id "com.adarshr.test-logger" version "3.2.0"
1819
}
1920

2021
compileJava.options.encoding = "UTF-8"
@@ -103,7 +104,7 @@ publishing {
103104
// https://github.com/gradle/gradle/issues/18619
104105
groupId = "com.glean.api-client"
105106
artifactId = "glean-api-client"
106-
version = "0.5.4"
107+
version = "0.5.5"
107108

108109
from components.java
109110

@@ -147,6 +148,45 @@ if (!project.hasProperty('skip.signing')) {
147148
}
148149

149150

151+
tasks.named('test') {
152+
// Use JUnit Platform for unit tests.
153+
useJUnitPlatform()
154+
}
155+
156+
testlogger {
157+
showStandardStreams true
158+
}
159+
160+
test {
161+
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
162+
finalizedBy 'mergeJUnitReports'
163+
}
164+
165+
configurations {
166+
antJUnit
167+
}
168+
169+
task mergeJUnitReports {
170+
ext {
171+
resultsDir = file("$buildDir/test-results/test")
172+
targetDir = file(".speakeasy/reports")
173+
}
174+
175+
doLast {
176+
ant.taskdef(
177+
name: 'junitreport',
178+
classname: 'org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator',
179+
classpath: configurations.antJUnit.asPath
180+
)
181+
182+
mkdir targetDir
183+
184+
ant.junitreport(todir: targetDir, tofile: 'tests.xml') {
185+
fileset(dir: resultsDir, includes: 'TEST-*.xml')
186+
}
187+
}
188+
}
189+
150190

151191
dependencies {
152192
api 'com.fasterxml.jackson.core:jackson-annotations:2.18.2'
@@ -155,6 +195,10 @@ dependencies {
155195
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.18.2'
156196
api('org.openapitools:jackson-databind-nullable:0.2.6') {exclude group: 'com.fasterxml.jackson.core', module: 'jackson-databind'}
157197
implementation 'commons-io:commons-io:2.18.0'
198+
testImplementation 'org.junit.jupiter:junit-jupiter:5.11.4'
199+
testImplementation 'org.mockito:mockito-core:5.14.2'
200+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.4'
201+
antJUnit 'org.apache.ant:ant-junit:1.9.7'
158202
}
159203

160204
apply from: 'build-extras.gradle'

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ Name of the agent.
55

66
## Values
77

8-
| Name | Value |
9-
| --------- | --------- |
10-
| `DEFAULT` | DEFAULT |
11-
| `GPT` | GPT |
8+
| Name | Value |
9+
| ----------- | ----------- |
10+
| `DEFAULT` | DEFAULT |
11+
| `GPT` | GPT |
12+
| `UNIVERSAL` | UNIVERSAL |

β€Žgradle.propertiesβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
groupId=com.glean.api-client
22
artifactId=glean-api-client
3-
version=0.5.4
3+
version=0.5.5

0 commit comments

Comments
Β (0)