diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 14d01237..c43fba2f 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,18 +1,18 @@ lockVersion: 2.0.0 id: 0359d4fe-2923-46fc-aaca-cf70b48dcfa1 management: - docChecksum: 207954685035211fccc09d328c09e985 + docChecksum: 74646e230b3f40b8ae92d641bbb73b26 docVersion: 0.9.0 - speakeasyVersion: 1.675.2 - generationVersion: 2.778.5 - releaseVersion: 0.12.10 - configChecksum: 991ed15128c7e5b44b8ba3c6fe8ee7a1 + speakeasyVersion: 1.675.4 + generationVersion: 2.779.2 + releaseVersion: 0.12.11 + configChecksum: 6d297fef00957c9be5a11ab69f739e0c repoURL: https://github.com/gleanwork/api-client-java.git published: true persistentEdits: - generation_id: 964062a2-d4b3-4c6e-8071-ec11ae50de08 - pristine_commit_hash: 242c7e7c77e4d8c04861b434d0b446430f1e5f03 - pristine_tree_hash: 45adc319c033be6c917517bab7759361aada13f8 + generation_id: 9a9e9b92-6e57-4757-a626-2c8e2b181bb9 + pristine_commit_hash: ef45dab753934b77d2b35a8b67869776a964e0c7 + pristine_tree_hash: 90b2f38f80f2a1b1f2935e7631a044c5987a3c7f features: java: additionalDependencies: 0.1.0 @@ -350,8 +350,8 @@ trackedFiles: pristine_git_object: a74fa536592b02557ebc1a1c0ac3264e88ea6c76 docs/models/components/ChatFileFailureReason.md: id: 79d1f909fee3 - last_write_checksum: sha1:bff55667a3d359dc30ee44260bda3fb1919a312c - pristine_git_object: eee5850d3409fa0e3ae15608b1f0aeac97de6378 + last_write_checksum: sha1:fec1b0fc1a7112b996c5050aba2b6f3a30f4c2a3 + pristine_git_object: 64426814af5b0e5f252db06e7c8851eb079cb483 docs/models/components/ChatFileMetadata.md: id: 7711c0eabd3b last_write_checksum: sha1:5ee95275e0d651473bd7e416e079b53bf38db4b0 @@ -2014,8 +2014,8 @@ trackedFiles: pristine_git_object: f37ae7fdaed5554991395fb166109c5c2614ef95 docs/models/components/StructuredResultSource.md: id: 55dc9be8183d - last_write_checksum: sha1:f610ef10f429d5d4b3c8b493ccf17a4db1db085e - pristine_git_object: 3fe738ea7914a8f4845dd6f81cf2fdb6095dc237 + last_write_checksum: sha1:e4fa446a21e6677b04224b3c6b23da770594ea6f + pristine_git_object: fb03b801d9a4cde37aa05205f1e80f6ce44e2970 docs/models/components/StructuredText.md: id: c8d9662391bc last_write_checksum: sha1:3c4a42ef0f4eb0e54c42824f3de19397b5bafcb1 @@ -3038,8 +3038,8 @@ trackedFiles: pristine_git_object: 3decbce5bd40edbe278c1c5d2dbf585808e51d9a gradle.properties: id: 2afbb999f001 - last_write_checksum: sha1:45e4e4be9ad0b916eade95a0d1a786d482b0b90a - pristine_git_object: cf9bf74379236425396c778ec7038131b1b5c5c1 + last_write_checksum: sha1:eae6868139eed27d7ed9c04fe21d45a7bc9f6157 + pristine_git_object: bee9568960e30f30d20eb47122bc7bc775709963 gradle/wrapper/gradle-wrapper.jar: id: ec27dae6e852 last_write_checksum: sha1:f725fb1467084142d74fd7cd8eab691ab3442611 @@ -3342,8 +3342,8 @@ trackedFiles: pristine_git_object: 5e30515ba0d212914ac9a195db6019330b6b0a2b src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java: id: d5fcc61f5992 - last_write_checksum: sha1:0582c81abf9d235496a03e1519365061994115ee - pristine_git_object: feb76aaa337c280ae07093b6969a9cb420ac249d + last_write_checksum: sha1:cd45d229370a2cb119c1908ffdc824f52b361428 + pristine_git_object: 1af5fa45a8c0492b8b52739b91f0e0acabe78711 src/main/java/com/glean/api_client/glean_api_client/Search.java: id: f22d94b920b5 last_write_checksum: sha1:f4c52d34b05dafaf8037a2fe5df738f6c44c7132 @@ -3670,8 +3670,8 @@ trackedFiles: pristine_git_object: 9b27574af46d85703895688db105dacf4787824a src/main/java/com/glean/api_client/glean_api_client/models/components/ChatFileFailureReason.java: id: 1e03dc357968 - last_write_checksum: sha1:13cdc7557946a15ab5568cc2b53f4c01ff9ebba0 - pristine_git_object: a1bef02d018c9b3f918a68c49959b083134fe0b8 + last_write_checksum: sha1:da7e76cf5a7137141336e199b54022df70cb8128 + pristine_git_object: 17ec276124c8ac46e0654cffb04cbbda45109bc2 src/main/java/com/glean/api_client/glean_api_client/models/components/ChatFileMetadata.java: id: 60e136b77e25 last_write_checksum: sha1:89e1ae6667d13bb7c1a98eff4edbedb0775adcd6 @@ -5334,8 +5334,8 @@ trackedFiles: pristine_git_object: 1261322cabdfbaad481476bdb775948d9a29e669 src/main/java/com/glean/api_client/glean_api_client/models/components/StructuredResultSource.java: id: cc78cee75709 - last_write_checksum: sha1:de2d11b8e2c7c9bccd4352053c60f2803f793b6a - pristine_git_object: 66f8726440e024fe6f22f05ede88738f47d297b8 + last_write_checksum: sha1:700e989f4b3a69f788d0dd62625de10ff22ccd2b + pristine_git_object: d5a2bc99154e163a54f7cbd76e5f779c61a8ba70 src/main/java/com/glean/api_client/glean_api_client/models/components/StructuredText.java: id: 1b534e8a554a last_write_checksum: sha1:aa8c7c179b82e87df2db5dc287172ef2a7a9b209 diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 70e982ac..861cd2a3 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -26,7 +26,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false java: - version: 0.12.10 + version: 0.12.11 additionalDependencies: [] additionalPlugins: [] artifactID: glean-api-client diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml index 96c6a714..7bd5df18 100644 --- a/.speakeasy/glean-merged-spec.yaml +++ b/.speakeasy/glean-merged-spec.yaml @@ -2,7 +2,7 @@ openapi: 3.0.0 info: version: 0.9.0 title: Glean API - x-source-commit-sha: c421da4d9e6ea41e15cd1479c5a295678893037a + x-source-commit-sha: 2716d99b958fa0dbf1a48290203cb28f43c37a92 description: | # Introduction 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: These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice. x-logo: url: https://app.glean.com/images/glean-text2.svg - x-open-api-commit-sha: 63bb6643b644c156c810eda25a823001da3dc730 + x-open-api-commit-sha: ecce1959afb4701947e853c482ed77ed6743e643 x-speakeasy-name: 'Glean API' servers: - url: https://{instance}-be.glean.com @@ -6176,6 +6176,8 @@ components: enum: - EXPERT_DETECTION - ENTITY_NLQ + - CALENDAR_EVENT + - AGENT Result: properties: structuredResults: @@ -7232,6 +7234,10 @@ components: - FILE_EXTENSION_UNSUPPORTED - FILE_METADATA_VALIDATION_FAIL - FILE_PROCESSING_TIMED_OUT + - OAUTH_NEEDED + - URL_FETCH_FAILED + - EMPTY_CONTENT + - AUTH_REQUIRED ChatFileMetadata: type: object description: Metadata of a file uploaded by a user for Chat. @@ -7605,6 +7611,12 @@ components: sessionInfo: description: Optional object for tracking the session used by the client and for debugging purposes. $ref: "#/components/schemas/SessionInfo" + saveChat: + type: boolean + description: Save the current interaction as a Chat for the user to access and potentially continue later. + chatId: + type: string + description: The id of the Chat that context should be retrieved from and messages added to. An empty id starts a new Chat, and the Chat is saved if saveChat is true. ChatRestrictionFilters: allOf: - $ref: "#/components/schemas/RestrictionFilters" @@ -7623,12 +7635,6 @@ components: - $ref: "#/components/schemas/ChatRequestBase" - type: object properties: - saveChat: - type: boolean - description: Save the current interaction as a Chat for the user to access and potentially continue later. - chatId: - type: string - description: The id of the Chat that context should be retrieved from and messages added to. An empty id starts a new Chat, and the Chat is saved if saveChat is true. agentConfig: $ref: "#/components/schemas/AgentConfig" description: Describes the agent that will execute the request. diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 157e777f..8d200d6f 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,12 +1,12 @@ -speakeasyVersion: 1.675.2 +speakeasyVersion: 1.675.4 sources: Glean API: sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:11103a1f396170590eecfe5a3ab944166bebe03ea86b6115649dd4e1eabaad64 - sourceBlobDigest: sha256:882470301f4880a2e93e6d36dca5e2d0d97b252d70b2b24cde373eccdeb9296e + sourceRevisionDigest: sha256:cf8e5c9ddb51d4048054a3fd1d50321965893416a776cc9a328031075305918c + sourceBlobDigest: sha256:c3c7966652dafb9a4cd580555d5b9d13a43ab4f198e2693485bdb5cc46094d3b tags: - latest - - speakeasy-sdk-regen-1765395809 + - speakeasy-sdk-regen-1765404399 Glean-OAS: sourceNamespace: glean-oas sourceRevisionDigest: sha256:8841834dd58ddd4e2dcf98fc90fbd06fbf3626a29df941503cce55b9548a5317 @@ -18,10 +18,10 @@ targets: glean: source: Glean API sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:11103a1f396170590eecfe5a3ab944166bebe03ea86b6115649dd4e1eabaad64 - sourceBlobDigest: sha256:882470301f4880a2e93e6d36dca5e2d0d97b252d70b2b24cde373eccdeb9296e + sourceRevisionDigest: sha256:cf8e5c9ddb51d4048054a3fd1d50321965893416a776cc9a328031075305918c + sourceBlobDigest: sha256:c3c7966652dafb9a4cd580555d5b9d13a43ab4f198e2693485bdb5cc46094d3b codeSamplesNamespace: glean-api-specs-java-code-samples - codeSamplesRevisionDigest: sha256:94a7f9d9baf9f24c31784ab87044546f5830708ce16eb9b1f48f1a9401741638 + codeSamplesRevisionDigest: sha256:ea86f11921a1f1270cc36a2e0280b5100c2f51cfca411a8de21472b1ebacf29c workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index f4739c11..c4560668 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ The samples below show how a published SDK artifact is used: Gradle: ```groovy -implementation 'com.glean.api-client:glean-api-client:0.12.10' +implementation 'com.glean.api-client:glean-api-client:0.12.11' ``` Maven: @@ -73,7 +73,7 @@ Maven: com.glean.api-client glean-api-client - 0.12.10 + 0.12.11 ``` diff --git a/RELEASES.md b/RELEASES.md index eff6af2c..ba89b18f 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -448,4 +448,14 @@ Based on: ### Generated - [java v0.12.10] . ### Releases -- [Maven Central v0.12.10] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.10 - . \ No newline at end of file +- [Maven Central v0.12.10] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.10 - . + +## 2025-12-11 14:34:49 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.675.4 (2.779.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [java v0.12.11] . +### Releases +- [Maven Central v0.12.11] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.11 - . \ No newline at end of file diff --git a/docs/models/components/ChatFileFailureReason.md b/docs/models/components/ChatFileFailureReason.md index eee5850d..64426814 100644 --- a/docs/models/components/ChatFileFailureReason.md +++ b/docs/models/components/ChatFileFailureReason.md @@ -13,4 +13,8 @@ Reason for failed status. | `FILE_TOO_LARGE` | FILE_TOO_LARGE | | `FILE_EXTENSION_UNSUPPORTED` | FILE_EXTENSION_UNSUPPORTED | | `FILE_METADATA_VALIDATION_FAIL` | FILE_METADATA_VALIDATION_FAIL | -| `FILE_PROCESSING_TIMED_OUT` | FILE_PROCESSING_TIMED_OUT | \ No newline at end of file +| `FILE_PROCESSING_TIMED_OUT` | FILE_PROCESSING_TIMED_OUT | +| `OAUTH_NEEDED` | OAUTH_NEEDED | +| `URL_FETCH_FAILED` | URL_FETCH_FAILED | +| `EMPTY_CONTENT` | EMPTY_CONTENT | +| `AUTH_REQUIRED` | AUTH_REQUIRED | \ No newline at end of file diff --git a/docs/models/components/StructuredResultSource.md b/docs/models/components/StructuredResultSource.md index 3fe738ea..fb03b801 100644 --- a/docs/models/components/StructuredResultSource.md +++ b/docs/models/components/StructuredResultSource.md @@ -8,4 +8,6 @@ Source context for this result. Possible values depend on the result type. | Name | Value | | ------------------ | ------------------ | | `EXPERT_DETECTION` | EXPERT_DETECTION | -| `ENTITY_NLQ` | ENTITY_NLQ | \ No newline at end of file +| `ENTITY_NLQ` | ENTITY_NLQ | +| `CALENDAR_EVENT` | CALENDAR_EVENT | +| `AGENT` | AGENT | \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index cf9bf743..bee95689 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ groupId=com.glean.api-client artifactId=glean-api-client -version=0.12.10 +version=0.12.11 org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g diff --git a/src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java b/src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java index feb76aaa..1af5fa45 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java +++ b/src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java @@ -24,8 +24,8 @@ public class SDKConfiguration { private static final String LANGUAGE = "java"; public static final String OPENAPI_DOC_VERSION = "0.9.0"; - public static final String SDK_VERSION = "0.12.10"; - public static final String GEN_VERSION = "2.778.5"; + public static final String SDK_VERSION = "0.12.11"; + public static final String GEN_VERSION = "2.779.2"; private static final String BASE_PACKAGE = "com.glean.api_client.glean_api_client"; public static final String USER_AGENT = String.format("speakeasy-sdk/%s %s %s %s %s", diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatFileFailureReason.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatFileFailureReason.java index a1bef02d..17ec2761 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatFileFailureReason.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatFileFailureReason.java @@ -20,7 +20,11 @@ public enum ChatFileFailureReason { FILE_TOO_LARGE("FILE_TOO_LARGE"), FILE_EXTENSION_UNSUPPORTED("FILE_EXTENSION_UNSUPPORTED"), FILE_METADATA_VALIDATION_FAIL("FILE_METADATA_VALIDATION_FAIL"), - FILE_PROCESSING_TIMED_OUT("FILE_PROCESSING_TIMED_OUT"); + FILE_PROCESSING_TIMED_OUT("FILE_PROCESSING_TIMED_OUT"), + OAUTH_NEEDED("OAUTH_NEEDED"), + URL_FETCH_FAILED("URL_FETCH_FAILED"), + EMPTY_CONTENT("EMPTY_CONTENT"), + AUTH_REQUIRED("AUTH_REQUIRED"); @JsonValue private final String value; diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/StructuredResultSource.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/StructuredResultSource.java index 66f87264..d5a2bc99 100644 --- a/src/main/java/com/glean/api_client/glean_api_client/models/components/StructuredResultSource.java +++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/StructuredResultSource.java @@ -15,7 +15,9 @@ */ public enum StructuredResultSource { EXPERT_DETECTION("EXPERT_DETECTION"), - ENTITY_NLQ("ENTITY_NLQ"); + ENTITY_NLQ("ENTITY_NLQ"), + CALENDAR_EVENT("CALENDAR_EVENT"), + AGENT("AGENT"); @JsonValue private final String value;