Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 13 additions & 14 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
lockVersion: 2.0.0
id: 9d90eb9e-33f8-4170-8944-988f4000aad0
management:
docChecksum: 4cf274e3f4a0c5f15de24e502bd1503d
docChecksum: 80548a2e50a9d6a392656d02cbb431f0
docVersion: 0.9.0
speakeasyVersion: 1.755.0
speakeasyVersion: 1.755.1
generationVersion: 2.865.2
releaseVersion: 0.11.31
configChecksum: e53373017008575b444dc499472af0a3
releaseVersion: 0.11.32
configChecksum: 6e7a82e2946e6777eb9de333d9a1cc4f
repoURL: https://github.com/gleanwork/api-client-go.git
installationURL: https://github.com/gleanwork/api-client-go
persistentEdits:
generation_id: a4104262-88eb-4e9f-a9a4-e8f86be793bf
pristine_commit_hash: 387375a54c3d9a44b88bbb1ad38f87ba5b889b9a
pristine_tree_hash: 54e7772dd9192e82fb318ed8946d10000972702c
generation_id: f50a1a52-b657-4261-aebd-ae45cb859073
pristine_commit_hash: 2eb9b85072ba30e8f602fa0795370fd69b86ca19
pristine_tree_hash: 9ac70cf962692306d4c30bedd61cf4ab8aa9473b
features:
go:
additionalDependencies: 0.1.0
Expand Down Expand Up @@ -3286,8 +3286,8 @@ trackedFiles:
pristine_git_object: 87f13ac7b1bb396e778a90fbb59d605bd00a9276
glean.go:
id: f5ed099b8e85
last_write_checksum: sha1:8307607c76679e3b045522921548bc5be6aeae39
pristine_git_object: 07ca1d9b4a2ef7d972201a8a2d6a86c33543ff42
last_write_checksum: sha1:ae4b95b4432dc34332a95b02cecc3242d95a588a
pristine_git_object: dd1245c96658b643dc2ecb208484038f6fb48f6e
go.mod:
id: c47645c391ad
last_write_checksum: sha1:86e3d2575dc26780579383eddbc5be5adbd21501
Expand Down Expand Up @@ -5742,8 +5742,8 @@ trackedFiles:
pristine_git_object: 6d9cbca42012c2760de3ecaf4f569c53d32197da
tests/messages_test.go:
id: 3433c956b7a3
last_write_checksum: sha1:352ecfa3a01795bbe7fad9b0202c4ccaa02448c3
pristine_git_object: 64ef64fe1c0ccbc223987d87ddddf3d6e2de7799
last_write_checksum: sha1:0e70d5a95dcfffb2d01931c47eae827d7c95129a
pristine_git_object: bc499ec73cc495c1502d01361347ce76a0fe5f18
tests/mockserver/.gitignore:
last_write_checksum: sha1:228e1b05712a973948fd771323a2140a3b355ff4
tests/mockserver/Dockerfile:
Expand Down Expand Up @@ -7138,8 +7138,8 @@ trackedFiles:
pristine_git_object: 8276fc3a8313ccbdb884ac378657dea8e7a24776
tests/summarize_test.go:
id: 1b63b0a16e69
last_write_checksum: sha1:e1303f8dcdc9bffb7f90b721491f346c396dc41b
pristine_git_object: fc444d27099be7a69601ec8bd45dfb9b689c98c7
last_write_checksum: sha1:18019f2ea08ad3bfa7b69f8e8ac93016344f5bde
pristine_git_object: d66471f15287caee050294062ec51dd277524032
tests/testclient.go:
id: 78d36c6e169c
last_write_checksum: sha1:507c44e437934fbff8d295201c1327e18bd00df8
Expand Down Expand Up @@ -8105,7 +8105,6 @@ generatedTests:
checkdatasourceauth: "2026-02-19T15:51:40Z"
getDatasourceInstanceConfiguration: "2026-03-09T18:37:01Z"
updateDatasourceInstanceConfiguration: "2026-03-09T18:37:01Z"
releaseNotes: "## Go SDK Changes:\n* `Glean.Client.Chat.Create()`: `response.Chat` **Added**\n* `Glean.Client.Search.RetrieveFeed()`: \n * `request.FeedRequest.Categories[]` **Changed**\n * `response.Results[]` **Changed**\n"
generatedFiles:
- .devcontainer/README.md
- .devcontainer/devcontainer.json
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
go:
version: 0.11.31
version: 0.11.32
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
baseErrorName: GleanError
Expand Down
4 changes: 2 additions & 2 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.0
info:
version: 0.9.0
title: Glean API
x-source-commit-sha: 7a7b088ee2579f06e8c75700cf68d3021ff77c5f
x-source-commit-sha: 6b660e03c4bbab898ce5b702b838752054fd8bee
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.
Expand All @@ -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: b44ae5cd8ae20dd697ad17378df510a0c3f6d340
x-open-api-commit-sha: 5200df2ebea09dd3da02c3dd2ac42f3a7f6dd993
x-speakeasy-name: 'Glean API'
servers:
- url: https://{instance}-be.glean.com
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
speakeasyVersion: 1.755.0
speakeasyVersion: 1.755.1
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:db4d1b0e0b2d0d7f2a68642d8f04dd9235db9277c46ea9ae836bb9e3ff77b732
sourceBlobDigest: sha256:40e4b60b39db239ee858446a99a1816379c1b7dc19397d3947bd27588a5a3e8d
sourceRevisionDigest: sha256:9a5eeaa82d7740b6764d9b74e10217b9bc7282704b0b17e2ddab8f6925cb1755
sourceBlobDigest: sha256:1f0aab3c3c530460eebfbaccbd0d875e36074178eb1590e239ed3a0b6074bad6
tags:
- latest
petstore-oas:
Expand All @@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:db4d1b0e0b2d0d7f2a68642d8f04dd9235db9277c46ea9ae836bb9e3ff77b732
sourceBlobDigest: sha256:40e4b60b39db239ee858446a99a1816379c1b7dc19397d3947bd27588a5a3e8d
sourceRevisionDigest: sha256:9a5eeaa82d7740b6764d9b74e10217b9bc7282704b0b17e2ddab8f6925cb1755
sourceBlobDigest: sha256:1f0aab3c3c530460eebfbaccbd0d875e36074178eb1590e239ed3a0b6074bad6
codeSamplesNamespace: glean-api-specs-go-code-samples
codeSamplesRevisionDigest: sha256:642cb89fff1c11414acbd470ffee091a5693e1477b925579d17ec11dbefef652
codeSamplesRevisionDigest: sha256:4d9371135075a178f9e3318e9c431897fe749d54855e036da1965c93e2a781f7
petstore:
source: petstore-oas
sourceNamespace: petstore-oas
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -608,4 +608,14 @@ Based on:
### Generated
- [go v0.11.31] .
### Releases
- [Go v0.11.31] https://github.com/gleanwork/api-client-go/releases/tag/v0.11.31 - .
- [Go v0.11.31] https://github.com/gleanwork/api-client-go/releases/tag/v0.11.31 - .

## 2026-03-17 01:48:41
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.755.1 (2.865.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.11.32] .
### Releases
- [Go v0.11.32] https://github.com/gleanwork/api-client-go/releases/tag/v0.11.32 - .
4 changes: 2 additions & 2 deletions glean.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ func WithTimeout(timeout time.Duration) SDKOption {
// New creates a new instance of the SDK with the provided options
func New(opts ...SDKOption) *Glean {
sdk := &Glean{
SDKVersion: "0.11.31",
SDKVersion: "0.11.32",
sdkConfiguration: config.SDKConfiguration{
UserAgent: "speakeasy-sdk/go 0.11.31 2.865.2 0.9.0 github.com/gleanwork/api-client-go",
UserAgent: "speakeasy-sdk/go 0.11.32 2.865.2 0.9.0 github.com/gleanwork/api-client-go",
ServerList: ServerList,
ServerVariables: []map[string]string{
{
Expand Down
2 changes: 1 addition & 1 deletion tests/messages_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func TestMessages_Messages(t *testing.T) {
IDType: components.IDTypeConversationID,
ID: "<id>",
TimestampMillis: apiclientgo.Pointer[int64](558834),
Datasource: components.DatasourceFacebookworkplace,
Datasource: components.DatasourceMicrosoftteams,
}, nil)
require.NoError(t, err)
assert.Equal(t, 200, res.HTTPMeta.Response.StatusCode)
Expand Down
11 changes: 5 additions & 6 deletions tests/summarize_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,16 @@ func TestSummarize_Summarize(t *testing.T) {

res, err := s.Client.Documents.Summarize(ctx, components.SummarizeRequest{
DocumentSpecs: []components.DocumentSpecUnion{
components.CreateDocumentSpecUnionDocumentSpec1(
components.DocumentSpec1{
URL: "https://nervous-stall.info",
},
),
components.CreateDocumentSpecUnionDocumentSpec2(
components.DocumentSpec2{
ID: "<id>",
},
),
components.CreateDocumentSpecUnionDocumentSpec3(
components.DocumentSpec3{
UgcType: components.DocumentSpecUgcType1Collections,
ContentID: 886976,
},
),
},
}, nil)
require.NoError(t, err)
Expand Down
Loading