diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock
index f0d2d37d..dab61813 100644
--- a/.speakeasy/gen.lock
+++ b/.speakeasy/gen.lock
@@ -1,18 +1,18 @@
lockVersion: 2.0.0
id: 9d90eb9e-33f8-4170-8944-988f4000aad0
management:
- docChecksum: b5e6aaf09569e076c7321d15cf12c515
+ docChecksum: 12fc3edafa4308751250c83c09739996
docVersion: 0.9.0
speakeasyVersion: 1.810.0
generationVersion: 2.961.1
- releaseVersion: 0.17.8
- configChecksum: 0c04531b2c9cdc1c946dd2e7fb0d5379
+ releaseVersion: 0.17.9
+ configChecksum: 99c26ea6b551eda774e840fc86523c4d
repoURL: https://github.com/gleanwork/api-client-go.git
installationURL: https://github.com/gleanwork/api-client-go
persistentEdits:
- generation_id: 314f42dc-ab95-4cec-8345-3050632eb9de
- pristine_commit_hash: 5d13a0278a630898b9902e523e4ca22f315a026c
- pristine_tree_hash: 94f21906bc508e9c5155cc9aeab2299418f65c9e
+ generation_id: 1e7e3c00-a481-40f4-be59-923f3b7866ff
+ pristine_commit_hash: 87ec1c8ac7038ddc830adb579aec6cf4ab783021
+ pristine_tree_hash: d8562813142b227cd8f5845bf763b0632a8d0711
features:
go:
acceptHeaders: 2.81.2
@@ -1761,8 +1761,8 @@ trackedFiles:
pristine_git_object: a659575f9f64d0b094681b69fbad6c9a9ce9a300
docs/models/components/insightsoverviewresponse.md:
id: e490ed19892d
- last_write_checksum: sha1:6b7c03ad422848be02c8bf6b79ba82ba5a5fb5ce
- pristine_git_object: d25f98bf1eae67bb718c79ded9500d61128a8236
+ last_write_checksum: sha1:7bd839658aa8e59abcaacdbb530f75ddb56a24c9
+ pristine_git_object: 29108185a0a1ccd68e7fbded9875c872189997d3
docs/models/components/insightsrequest.md:
id: cf96ae543699
last_write_checksum: sha1:7fcfaf5d7656abb9b65e3a7406d0d81d50b3637e
@@ -5117,8 +5117,8 @@ trackedFiles:
pristine_git_object: a3cb3e5448f3fdcfad77ed2a4ba47ae848d5cd5d
glean.go:
id: f5ed099b8e85
- last_write_checksum: sha1:3a67544fd417f8fa3c2d790c239f24ef175046e6
- pristine_git_object: 20641fc87e58a351f0b25984990eeb61d5e9a528
+ last_write_checksum: sha1:2f094344aed501062710e9ca873fafac47a8677a
+ pristine_git_object: 07546c1130f4d60bb62211ef9f43b15f7195e0f6
go.mod:
id: c47645c391ad
last_write_checksum: sha1:b3c76c4c50472a60a8c74834bce9770edcc84fb1
@@ -6485,8 +6485,8 @@ trackedFiles:
pristine_git_object: 5186f212c30ffca043657c61b69feedea998fa32
models/components/insightsoverviewresponse.go:
id: ac8d586dce6f
- last_write_checksum: sha1:360958fb518fcf165e1da33a6d76d488f0d8eb9b
- pristine_git_object: dea18e87441f33a629d85cd5291d17d9595ed312
+ last_write_checksum: sha1:05a55a4691826bea6c70f2f9ac91821f88d9554f
+ pristine_git_object: e42f72a6e641dee7fb9b4134196fcf313a59d75a
models/components/insightsrequest.go:
id: 864d5ff0b637
last_write_checksum: sha1:b4a7963549e0d534c6a1ef5064705a71bbcd235d
@@ -10793,8 +10793,8 @@ trackedFiles:
pristine_git_object: 5e903919f103f212820d2d4717e0e1e95d78846b
tests/mockserver/internal/sdk/models/components/insightsoverviewresponse.go:
id: 5643c3cf2f72
- last_write_checksum: sha1:38ab70635b4b9fc592ef3e863272410f1db855f4
- pristine_git_object: a4872a274ca370eae187a079685b7b919c776a56
+ last_write_checksum: sha1:9c0066315647c55ecd97fbb7ad45ede0fe090290
+ pristine_git_object: 200d888d000dd568ff67faee10cf530f4698acba
tests/mockserver/internal/sdk/models/components/insightsrequest.go:
id: ce15dfb99343
last_write_checksum: sha1:b9f1c9680014aa2b60161886dc0d5932ef0cab20
@@ -13137,8 +13137,8 @@ trackedFiles:
pristine_git_object: c529bd5691588e889a10e46bb1cd477a80cb3703
tests/summarize_test.go:
id: 1b63b0a16e69
- last_write_checksum: sha1:3c57041c1cccb93ec8919e4d2249e9e9915c55ea
- pristine_git_object: c35381dac59e885785cbed4d057b1684f538c77a
+ last_write_checksum: sha1:301c0b43f32c724610779d3d83246908b44c9b41
+ pristine_git_object: 0895933dbb67bc175f38ef10c05d38a45d87855c
tests/testclient.go:
id: 78d36c6e169c
last_write_checksum: sha1:507c44e437934fbff8d295201c1327e18bd00df8
@@ -15062,9 +15062,6 @@ generatedTests:
platform-documents-get: "2026-11-06T19:46:30Z"
platform-documents-batch: "2026-11-06T19:46:30Z"
platform-search-enumeration: "2026-11-16T11:54:07Z"
-releaseNotes: |
- ## Go SDK Changes:
- * `Glean.Search.Enumerate()`: **Removed** (Breaking ⚠️)
generatedFiles:
- .devcontainer/README.md
- .devcontainer/devcontainer.json
diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml
index dffcc04c..89c88f1b 100644
--- a/.speakeasy/gen.yaml
+++ b/.speakeasy/gen.yaml
@@ -33,7 +33,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
go:
- version: 0.17.8
+ version: 0.17.9
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
baseErrorName: GleanError
diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml
index ad10f296..5173cd57 100644
--- a/.speakeasy/glean-merged-spec.yaml
+++ b/.speakeasy/glean-merged-spec.yaml
@@ -2,8 +2,8 @@ openapi: 3.1.0
info:
version: "0.9.0"
title: Glean API
- x-source-commit-sha: 2f6fc4fe9fed01ad76ee9aa694041c743bd74875
- x-open-api-commit-sha: 241062eca12866ea62b6e58d504ef481935fcf48
+ x-source-commit-sha: e700f08565eea5d97a7c9311da1e90a69b7eef55
+ x-open-api-commit-sha: 104757e08b069ea9bc47f7ddfd4243c63ba9f86c
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.
@@ -20567,7 +20567,8 @@ components:
description: Unix timestamp of the last update for the insights data in the response.
totalSignupsWeekAgo:
type: integer
- description: Number of current employees in the specified departments who had signed up 7 days before the latest day of insights data. Compare with totalSignups for week-over-week signup change.
+ description: Number of current employees in the specified departments who had signed up 7 days before the latest day of insights data. Compare with totalSignups for week-over-week signup change. Included even when zero.
+ x-includeEmpty: true
searchSessionSatisfaction:
type: number
format: float
diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock
index c7619963..55cc2e6a 100644
--- a/.speakeasy/workflow.lock
+++ b/.speakeasy/workflow.lock
@@ -2,8 +2,8 @@ speakeasyVersion: 1.810.0
sources:
Glean API:
sourceNamespace: glean-api-specs
- sourceRevisionDigest: sha256:0ce4e9b2b8560aa2004ea154dba75c6bb685cccc1fc5dd9a0b10c8825182e0b5
- sourceBlobDigest: sha256:4f89567ad6174b01fa95ea0e4c705bcfe303ad158f8935313105767ec9cd3492
+ sourceRevisionDigest: sha256:e9c01f0bdd9363867368c2b7694de9add100848a67e9c0c67cf849519a31308a
+ sourceBlobDigest: sha256:2a23c03399a93d61362832914273da23f78a15f6b37d362764f51f0d1ced9f24
tags:
- latest
petstore-oas:
@@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
- sourceRevisionDigest: sha256:0ce4e9b2b8560aa2004ea154dba75c6bb685cccc1fc5dd9a0b10c8825182e0b5
- sourceBlobDigest: sha256:4f89567ad6174b01fa95ea0e4c705bcfe303ad158f8935313105767ec9cd3492
+ sourceRevisionDigest: sha256:e9c01f0bdd9363867368c2b7694de9add100848a67e9c0c67cf849519a31308a
+ sourceBlobDigest: sha256:2a23c03399a93d61362832914273da23f78a15f6b37d362764f51f0d1ced9f24
codeSamplesNamespace: glean-api-specs-go-code-samples
- codeSamplesRevisionDigest: sha256:76f0de87055ebaf36603147ff3188a4d7d7aa32b6825ad830ed5dd43266cd142
+ codeSamplesRevisionDigest: sha256:c25e3379d4fe4e868481df57627504433d38566797ba72296106387a1c2ba9ac
petstore:
source: petstore-oas
sourceNamespace: petstore-oas
diff --git a/RELEASES.md b/RELEASES.md
index b03992bc..40beb657 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -1108,4 +1108,14 @@ Based on:
### Generated
- [go v0.17.8] .
### Releases
-- [Go v0.17.8] https://github.com/gleanwork/api-client-go/releases/tag/v0.17.8 - .
\ No newline at end of file
+- [Go v0.17.8] https://github.com/gleanwork/api-client-go/releases/tag/v0.17.8 - .
+
+## 2026-11-18 05:41:48
+### Changes
+Based on:
+- OpenAPI Doc
+- Speakeasy CLI 1.810.0 (2.961.1) https://github.com/speakeasy-api/speakeasy
+### Generated
+- [go v0.17.9] .
+### Releases
+- [Go v0.17.9] https://github.com/gleanwork/api-client-go/releases/tag/v0.17.9 - .
\ No newline at end of file
diff --git a/docs/models/components/insightsoverviewresponse.md b/docs/models/components/insightsoverviewresponse.md
index d25f98bf..29108185 100644
--- a/docs/models/components/insightsoverviewresponse.md
+++ b/docs/models/components/insightsoverviewresponse.md
@@ -19,7 +19,7 @@
| `ExtensionSummary` | [*components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A |
| `UgcSummary` | [*components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A |
| `LastUpdatedTs` | `*int64` | :heavy_minus_sign: | Unix timestamp of the last update for the insights data in the response. |
-| `TotalSignupsWeekAgo` | `*int64` | :heavy_minus_sign: | Number of current employees in the specified departments who had signed up 7 days before the latest day of insights data. Compare with totalSignups for week-over-week signup change. |
+| `TotalSignupsWeekAgo` | `*int64` | :heavy_minus_sign: | Number of current employees in the specified departments who had signed up 7 days before the latest day of insights data. Compare with totalSignups for week-over-week signup change. Included even when zero. |
| ~~`SearchSessionSatisfaction`~~ | `*float32` | :heavy_minus_sign: | :warning: **DEPRECATED**: Deprecated on 2026-05-13, removal scheduled for 2027-01-15: This property is no longer supported. Please contact Support for alternatives..
Search session satisfaction rate, over the specified time period in the specified departments. |
| `MonthlyActiveUserTimeseries` | [*components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A |
| `WeeklyActiveUserTimeseries` | [*components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A |
diff --git a/glean.go b/glean.go
index 20641fc8..07546c11 100644
--- a/glean.go
+++ b/glean.go
@@ -165,10 +165,10 @@ 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.17.8",
+ SDKVersion: "0.17.9",
sdkConfiguration: config.SDKConfiguration{
- UserAgent: "speakeasy-sdk/go 0.17.8 2.961.1 0.9.0 github.com/gleanwork/api-client-go",
- SDKVersion: "0.17.8",
+ UserAgent: "speakeasy-sdk/go 0.17.9 2.961.1 0.9.0 github.com/gleanwork/api-client-go",
+ SDKVersion: "0.17.9",
GenVersion: "2.961.1",
OpenAPIDocVersion: "0.9.0",
ServerList: ServerList,
diff --git a/models/components/insightsoverviewresponse.go b/models/components/insightsoverviewresponse.go
index dea18e87..e42f72a6 100644
--- a/models/components/insightsoverviewresponse.go
+++ b/models/components/insightsoverviewresponse.go
@@ -23,7 +23,7 @@ type InsightsOverviewResponse struct {
UgcSummary *CurrentActiveUsers `json:"ugcSummary,omitempty"`
// Unix timestamp of the last update for the insights data in the response.
LastUpdatedTs *int64 `json:"lastUpdatedTs,omitempty"`
- // Number of current employees in the specified departments who had signed up 7 days before the latest day of insights data. Compare with totalSignups for week-over-week signup change.
+ // Number of current employees in the specified departments who had signed up 7 days before the latest day of insights data. Compare with totalSignups for week-over-week signup change. Included even when zero.
TotalSignupsWeekAgo *int64 `json:"totalSignupsWeekAgo,omitempty"`
// Search session satisfaction rate, over the specified time period in the specified departments.
//
diff --git a/tests/mockserver/internal/sdk/models/components/insightsoverviewresponse.go b/tests/mockserver/internal/sdk/models/components/insightsoverviewresponse.go
index a4872a27..200d888d 100644
--- a/tests/mockserver/internal/sdk/models/components/insightsoverviewresponse.go
+++ b/tests/mockserver/internal/sdk/models/components/insightsoverviewresponse.go
@@ -23,7 +23,7 @@ type InsightsOverviewResponse struct {
UgcSummary *CurrentActiveUsers `json:"ugcSummary,omitempty"`
// Unix timestamp of the last update for the insights data in the response.
LastUpdatedTs *int64 `json:"lastUpdatedTs,omitempty"`
- // Number of current employees in the specified departments who had signed up 7 days before the latest day of insights data. Compare with totalSignups for week-over-week signup change.
+ // Number of current employees in the specified departments who had signed up 7 days before the latest day of insights data. Compare with totalSignups for week-over-week signup change. Included even when zero.
TotalSignupsWeekAgo *int64 `json:"totalSignupsWeekAgo,omitempty"`
// Search session satisfaction rate, over the specified time period in the specified departments.
//
diff --git a/tests/summarize_test.go b/tests/summarize_test.go
index c35381da..0895933d 100644
--- a/tests/summarize_test.go
+++ b/tests/summarize_test.go
@@ -25,17 +25,18 @@ func TestSummarize_Summarize(t *testing.T) {
res, err := s.Client.Documents.Summarize(ctx, components.SummarizeRequest{
DocumentSpecs: []components.DocumentSpecUnion{
- components.CreateDocumentSpecUnionDocumentSpec1(
- components.DocumentSpec1{
- URL: "https://hungry-coast.biz/",
- },
- ),
components.CreateDocumentSpecUnionDocumentSpec4(
components.DocumentSpec4{
UgcType: components.DocumentSpecUgcType2Chats,
UgcID: "",
},
),
+ components.CreateDocumentSpecUnionDocumentSpec3(
+ components.DocumentSpec3{
+ UgcType: components.DocumentSpecUgcType1Answers,
+ ContentID: 206423,
+ },
+ ),
},
}, nil)
require.NoError(t, err)