Skip to content

Commit cbeeeb4

Browse files
Merge pull request #43 from gleanwork/speakeasy-sdk-regen-1760999718
chore: 🐝 Update SDK - Generate 0.11.0
2 parents edf992f + 1aa4193 commit cbeeeb4

File tree

379 files changed

+3056
-6535
lines changed

Some content is hidden

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

379 files changed

+3056
-6535
lines changed

.speakeasy/gen.lock

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
lockVersion: 2.0.0
22
id: 0359d4fe-2923-46fc-aaca-cf70b48dcfa1
33
management:
4-
docChecksum: 5a4cd8de1e6ca5f701ac27e244d09799
4+
docChecksum: 30752ad325475357749711c885ecb81f
55
docVersion: 0.9.0
6-
speakeasyVersion: 1.636.3
7-
generationVersion: 2.723.11
8-
releaseVersion: 0.10.7
9-
configChecksum: 72d9151877c585b3c754e083d3c839ed
6+
speakeasyVersion: 1.638.0
7+
generationVersion: 2.728.0
8+
releaseVersion: 0.11.0
9+
configChecksum: d157cb95dffa505a3cbd4f357c97d5f3
1010
repoURL: https://github.com/gleanwork/api-client-java.git
1111
published: true
1212
features:
1313
java:
1414
additionalDependencies: 0.1.0
1515
additionalProperties: 0.0.1
1616
constsAndDefaults: 0.1.1
17-
core: 3.52.3
17+
core: 3.53.0
1818
deprecations: 2.81.1
1919
examples: 2.81.6
2020
flattening: 2.81.1
@@ -1399,13 +1399,12 @@ generatedFiles:
13991399
- src/main/java/com/glean/api_client/glean_api_client/models/components/WriteActionType.java
14001400
- src/main/java/com/glean/api_client/glean_api_client/models/components/WritePermission.java
14011401
- src/main/java/com/glean/api_client/glean_api_client/models/errors/APIException.java
1402+
- src/main/java/com/glean/api_client/glean_api_client/models/errors/AsyncAPIException.java
14021403
- src/main/java/com/glean/api_client/glean_api_client/models/errors/AuthException.java
14031404
- src/main/java/com/glean/api_client/glean_api_client/models/errors/CollectionError.java
14041405
- src/main/java/com/glean/api_client/glean_api_client/models/errors/ErrorCode.java
14051406
- src/main/java/com/glean/api_client/glean_api_client/models/errors/GleanDataError.java
1406-
- src/main/java/com/glean/api_client/glean_api_client/models/errors/UncheckedAPIException.java
1407-
- src/main/java/com/glean/api_client/glean_api_client/models/errors/async/CollectionError.java
1408-
- src/main/java/com/glean/api_client/glean_api_client/models/errors/async/GleanDataError.java
1407+
- src/main/java/com/glean/api_client/glean_api_client/models/errors/GleanError.java
14091408
- src/main/java/com/glean/api_client/glean_api_client/models/operations//async/ActivityRequestBuilder.java
14101409
- src/main/java/com/glean/api_client/glean_api_client/models/operations//async/AddcollectionitemsRequestBuilder.java
14111410
- src/main/java/com/glean/api_client/glean_api_client/models/operations//async/AddverificationreminderRequestBuilder.java
@@ -2898,4 +2897,4 @@ generatedTests:
28982897
get_/rest/api/v1/tools/list: "2025-06-09T18:03:44Z"
28992898
post_/rest/api/v1/tools/call: "2025-06-09T18:03:44Z"
29002899
listpolicies: "2025-06-09T18:03:44Z"
2901-
releaseNotes: "## Java SDK Changes Detected:\n* `glean.client.messages.retrieve()`: \n * `request.datasource` **Changed** **Breaking** :warning:\n"
2900+
releaseNotes: "## Java SDK Changes Detected:\n* `glean.client.chat.create()`: \n * `request.chatrequest.messages.[].agentConfig.useImageGeneration` **Added**\n * `response.messages.[].agentConfig.useImageGeneration` **Added**\n* `glean.client.chat.retrieve()`: `response.chatresult.chat.messages.[].agentConfig.useImageGeneration` **Added**\n* `glean.client.chat.createStream()`: \n * `request.chatrequest.messages.[].agentConfig.useImageGeneration` **Added**\n"

.speakeasy/gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ generation:
1717
oAuth2ClientCredentialsEnabled: true
1818
oAuth2PasswordEnabled: true
1919
hoistGlobalSecurity: true
20+
schemas:
21+
allOfMergeStrategy: shallowMerge
2022
tests:
2123
generateTests: true
2224
generateNewTests: false
2325
skipResponseBodyAssertions: false
2426
java:
25-
version: 0.10.7
27+
version: 0.11.0
2628
additionalDependencies: []
2729
additionalPlugins: []
2830
artifactID: glean-api-client

.speakeasy/glean-merged-spec.yaml

Lines changed: 48 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -7047,6 +7047,9 @@ components:
70477047
enum:
70487048
- DEFAULT
70497049
- QUICK
7050+
useImageGeneration:
7051+
type: boolean
7052+
description: Whether the agent should create an image.
70507053
ChatFileStatus:
70517054
type: string
70527055
description: Current status of the file.
@@ -7427,6 +7430,19 @@ components:
74277430
deprecated: true
74287431
type: boolean
74297432
description: Signals there are additional response fragments incoming.
7433+
ChatRequestBase:
7434+
required:
7435+
- messages
7436+
description: The minimal set of fields that form a chat request.
7437+
properties:
7438+
messages:
7439+
type: array
7440+
description: A list of chat messages, from most recent to least recent. At least one message must specify a USER author.
7441+
items:
7442+
$ref: "#/components/schemas/ChatMessage"
7443+
sessionInfo:
7444+
description: Optional object for tracking the session used by the client and for debugging purposes.
7445+
$ref: "#/components/schemas/SessionInfo"
74307446
ChatRestrictionFilters:
74317447
allOf:
74327448
- $ref: "#/components/schemas/RestrictionFilters"
@@ -7441,45 +7457,38 @@ components:
74417457
items:
74427458
type: string
74437459
ChatRequest:
7444-
required:
7445-
- messages
7446-
properties:
7447-
saveChat:
7448-
type: boolean
7449-
description: Save the current interaction as a Chat for the user to access and potentially continue later.
7450-
chatId:
7451-
type: string
7452-
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.
7453-
messages:
7454-
type: array
7455-
description: A list of chat messages, from most recent to least recent. At least one message must specify a USER author.
7456-
items:
7457-
$ref: "#/components/schemas/ChatMessage"
7458-
agentConfig:
7459-
$ref: "#/components/schemas/AgentConfig"
7460-
description: Describes the agent that will execute the request.
7461-
inclusions:
7462-
$ref: "#/components/schemas/ChatRestrictionFilters"
7463-
description: A list of filters which only allows chat to access certain content.
7464-
exclusions:
7465-
$ref: "#/components/schemas/ChatRestrictionFilters"
7466-
description: A list of filters which disallows chat from accessing certain content. If content is in both inclusions and exclusions, it'll be excluded.
7467-
timeoutMillis:
7468-
type: integer
7469-
description: Timeout in milliseconds for the request. A `408` error will be returned if handling the request takes longer.
7470-
example: 30000
7471-
sessionInfo:
7472-
description: Optional object for tracking the session used by the client and for debugging purposes.
7473-
$ref: "#/components/schemas/SessionInfo"
7474-
applicationId:
7475-
type: string
7476-
description: The ID of the application this request originates from, used to determine the configuration of underlying chat processes. This should correspond to the ID set during admin setup. If not specified, the default chat experience will be used.
7477-
agentId:
7478-
type: string
7479-
description: The ID of the Agent that should process this chat request. Only Agents with trigger set to 'User chat message' are invokable through this API. If not specified, the default chat experience will be used.
7480-
stream:
7481-
type: boolean
7482-
description: If set, response lines will be streamed one-by-one as they become available. Each will be a ChatResponse, formatted as JSON, and separated by a new line. If false, the entire response will be returned at once. Note that if this is set and the model being used does not support streaming, the model's response will not be streamed, but other messages from the endpoint still will be.
7460+
allOf:
7461+
- $ref: "#/components/schemas/ChatRequestBase"
7462+
- type: object
7463+
properties:
7464+
saveChat:
7465+
type: boolean
7466+
description: Save the current interaction as a Chat for the user to access and potentially continue later.
7467+
chatId:
7468+
type: string
7469+
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.
7470+
agentConfig:
7471+
$ref: "#/components/schemas/AgentConfig"
7472+
description: Describes the agent that will execute the request.
7473+
inclusions:
7474+
$ref: "#/components/schemas/ChatRestrictionFilters"
7475+
description: A list of filters which only allows chat to access certain content.
7476+
exclusions:
7477+
$ref: "#/components/schemas/ChatRestrictionFilters"
7478+
description: A list of filters which disallows chat from accessing certain content. If content is in both inclusions and exclusions, it'll be excluded.
7479+
timeoutMillis:
7480+
type: integer
7481+
description: Timeout in milliseconds for the request. A `408` error will be returned if handling the request takes longer.
7482+
example: 30000
7483+
applicationId:
7484+
type: string
7485+
description: The ID of the application this request originates from, used to determine the configuration of underlying chat processes. This should correspond to the ID set during admin setup. If not specified, the default chat experience will be used.
7486+
agentId:
7487+
type: string
7488+
description: The ID of the Agent that should process this chat request. Only Agents with trigger set to 'User chat message' are invokable through this API. If not specified, the default chat experience will be used.
7489+
stream:
7490+
type: boolean
7491+
description: If set, response lines will be streamed one-by-one as they become available. Each will be a ChatResponse, formatted as JSON, and separated by a new line. If false, the entire response will be returned at once. Note that if this is set and the model being used does not support streaming, the model's response will not be streamed, but other messages from the endpoint still will be.
74837492
ChatResponse:
74847493
description: A single response from the /chat backend.
74857494
properties:

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.636.3
1+
speakeasyVersion: 1.638.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:1dc42ac3d5012271bce5ddf879010efb2f292ded5ce08d224bb1cd28fcc4558d
6-
sourceBlobDigest: sha256:fa9263107a00a7b99c1ea0d1c0100757e4abad76b9156a0c98186da8953f8f16
5+
sourceRevisionDigest: sha256:d7d301aaa9efeddb264ed6ae3d4186b8472d376b021c3f22f96d0c15e79c0ee6
6+
sourceBlobDigest: sha256:a97d8110c742a097fb206e255a509eb2407aec24dc4e9fb8dcacc9a6a52eb134
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1760583309
9+
- speakeasy-sdk-regen-1760999718
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:1dc42ac3d5012271bce5ddf879010efb2f292ded5ce08d224bb1cd28fcc4558d
22-
sourceBlobDigest: sha256:fa9263107a00a7b99c1ea0d1c0100757e4abad76b9156a0c98186da8953f8f16
21+
sourceRevisionDigest: sha256:d7d301aaa9efeddb264ed6ae3d4186b8472d376b021c3f22f96d0c15e79c0ee6
22+
sourceBlobDigest: sha256:a97d8110c742a097fb206e255a509eb2407aec24dc4e9fb8dcacc9a6a52eb134
2323
codeSamplesNamespace: glean-api-specs-java-code-samples
24-
codeSamplesRevisionDigest: sha256:6ad4d669d9dc57c797cb957b4df98add20e4a1d354721a149a7fb238aed1b410
24+
codeSamplesRevisionDigest: sha256:c2434da636608284eac3a35c0d25ff20ef11d590a751ee0ba44bfbcb007a9d6f
2525
workflow:
2626
workflowVersion: 1.0.0
2727
speakeasyVersion: latest

0 commit comments

Comments
 (0)