diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock
index 6dc39eed..bab4d836 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: 34cd4112e4c32279bed69c71c169040f
+ docChecksum: 11b995ea9de2e5d0d16022982d8132bd
docVersion: 0.9.0
- speakeasyVersion: 1.757.1
- generationVersion: 2.866.2
- releaseVersion: 0.11.34
- configChecksum: 8539660793fbbf721e207604485e6f0b
+ speakeasyVersion: 1.759.0
+ generationVersion: 2.869.3
+ releaseVersion: 0.11.35
+ configChecksum: b3c3374686d97bf123c990e3b6cb0111
repoURL: https://github.com/gleanwork/api-client-go.git
installationURL: https://github.com/gleanwork/api-client-go
persistentEdits:
- generation_id: 417a50a5-f828-472a-8457-b185ea81458e
- pristine_commit_hash: 67b67b08e0a64a4b868a12bb70d1e53c685705ce
- pristine_tree_hash: 99fab20752513d7df4aa6220436816881ee623ff
+ generation_id: 09897bb5-472d-4e2d-997d-91354ff48d5c
+ pristine_commit_hash: 734cf6d7fcf37c7e802a1019f14dc2c1129a91f9
+ pristine_tree_hash: 9fbf28c937f150ca2b11273b9f735b07d18f59b8
features:
go:
additionalDependencies: 0.1.0
@@ -442,8 +442,8 @@ trackedFiles:
pristine_git_object: 021175d3911ff3c4cf4a6abccbf24759e4b6a232
docs/models/components/chatmessagecitation.md:
id: f779f459e302
- last_write_checksum: sha1:60bfa572819116ea31318866f051c4fcf5e202de
- pristine_git_object: d02a6f3b1e255506bb6d678a9b6a86709288cdfc
+ last_write_checksum: sha1:ee149afa4c48eadfa593adcfd274fa407969d58e
+ pristine_git_object: 92ada0464db3a2c9c8f77c596549e9b0d0d3c263
docs/models/components/chatmessagefragment.md:
id: 3a80e2474b95
last_write_checksum: sha1:4b786bb225b283f2897298f5d0de0b0792376e51
@@ -1486,8 +1486,8 @@ trackedFiles:
pristine_git_object: 1c56c012d3fec5d103299ec2cfa554ccf8358d7d
docs/models/components/insightsoverviewresponse.md:
id: e490ed19892d
- last_write_checksum: sha1:38e127d6e64a29dae1cfaad74cd188f3faefebaa
- pristine_git_object: b3110d46e43e6241c235ea1b10fe5ffee058116d
+ last_write_checksum: sha1:3dc72f0fa89d6c5847fb430ea755bfc6e8f37962
+ pristine_git_object: bb4cbf281fa75c1d19eff2c4ef5f84993c8280d4
docs/models/components/insightsrequest.md:
id: cf96ae543699
last_write_checksum: sha1:f76505c6ea86309e8dc7798b77307ef90c208d49
@@ -3286,8 +3286,8 @@ trackedFiles:
pristine_git_object: 87f13ac7b1bb396e778a90fbb59d605bd00a9276
glean.go:
id: f5ed099b8e85
- last_write_checksum: sha1:44eb224439622a2891facc4c45d532be328f1c08
- pristine_git_object: 00fde73014ce6213d383518f61d0d8d40967b226
+ last_write_checksum: sha1:91c70796eeeb58a9172350cbb17f301614cce6b4
+ pristine_git_object: d8777aee3f9251998d927dd1bb659cf5d3cf25ec
go.mod:
id: c47645c391ad
last_write_checksum: sha1:86e3d2575dc26780579383eddbc5be5adbd21501
@@ -3630,8 +3630,8 @@ trackedFiles:
pristine_git_object: 886427a4dd086dfa5aa122c6d612348b3842656e
models/components/chatmessagecitation.go:
id: ed01eb6fe323
- last_write_checksum: sha1:94bea6a05c4084e3e5cb3840d01e3d5595513f30
- pristine_git_object: ce70a3c90a511664b4458bb8fe93be39945fd86e
+ last_write_checksum: sha1:3b12cd0eecd1b84c90f9bece7936688a1b7ed200
+ pristine_git_object: cb73fb2f22e26699d87853f3bf5b0ad174198e92
models/components/chatmessagefragment.go:
id: 8b451ad53a7d
last_write_checksum: sha1:0d8fbc173b3d0e0ca97ded6593a7e966af939fa1
@@ -4470,8 +4470,8 @@ trackedFiles:
pristine_git_object: b2ff4ceeed20d491ef94779a586f62759397c3fa
models/components/insightsoverviewresponse.go:
id: ac8d586dce6f
- last_write_checksum: sha1:98904a987980934acf5a3e88ccffc1e76568025f
- pristine_git_object: 8eba4094a43060e2adfb16fdb6ade85a3fbe8f45
+ last_write_checksum: sha1:d6d9db3d992467c8be552dec716e1ccd974cea7e
+ pristine_git_object: c968c42207bf93291083fb339e3d1d7943911ff5
models/components/insightsrequest.go:
id: 864d5ff0b637
last_write_checksum: sha1:10c2b3d25ce68b783f5981548a0e21aa0a43a908
@@ -6079,7 +6079,7 @@ trackedFiles:
tests/mockserver/internal/sdk/models/components/chatmessage.go:
last_write_checksum: sha1:b813b4301b77532bbbc60fa85f3b44e21d7a740d
tests/mockserver/internal/sdk/models/components/chatmessagecitation.go:
- last_write_checksum: sha1:c6225814e79eac17f90ebb8d86a98bb0038c20b6
+ last_write_checksum: sha1:f5b371efdd863a1d6d2f83041371ceb7601bc07f
tests/mockserver/internal/sdk/models/components/chatmessagefragment.go:
last_write_checksum: sha1:1834d9a43544e8cca44d147a1e2f99e120fb09ae
tests/mockserver/internal/sdk/models/components/chatmetadata.go:
@@ -6499,7 +6499,7 @@ trackedFiles:
tests/mockserver/internal/sdk/models/components/insightsoverviewrequest.go:
last_write_checksum: sha1:f41a223c0da4e4edee140cdd8a7697a45969a239
tests/mockserver/internal/sdk/models/components/insightsoverviewresponse.go:
- last_write_checksum: sha1:6b78d9baa749aa3e03c2e20964a9a5ddcaab97ad
+ last_write_checksum: sha1:926270f59a7276459f6efea061ad9d0a5fd0d857
tests/mockserver/internal/sdk/models/components/insightsrequest.go:
last_write_checksum: sha1:f8bb4f19bca0be78fec51bf4d8e90d29ad25b940
tests/mockserver/internal/sdk/models/components/insightsresponse.go:
@@ -7138,8 +7138,8 @@ trackedFiles:
pristine_git_object: 8276fc3a8313ccbdb884ac378657dea8e7a24776
tests/summarize_test.go:
id: 1b63b0a16e69
- last_write_checksum: sha1:363bed5255b9e55cdb58a8d97fb8f2cc399d3877
- pristine_git_object: cf370440c325e4da2b01e20af977447f35e35943
+ last_write_checksum: sha1:63af75ec41deb20a7b74aa622ea880dc54ac1524
+ pristine_git_object: 92a0a5d64dd530c728b0e072895fef4335bd4be7
tests/testclient.go:
id: 78d36c6e169c
last_write_checksum: sha1:507c44e437934fbff8d295201c1327e18bd00df8
@@ -8105,6 +8105,7 @@ 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()`: \n * `request.ChatRequest.Messages[].Citations[].SourceCustomEntity` **Added**\n * `response.Messages[].Citations[].SourceCustomEntity` **Added**\n* `Glean.Client.Chat.Retrieve()`: `response.ChatResult.Chat.Messages[].Citations[].SourceCustomEntity` **Added**\n* `Glean.Client.Chat.CreateStream()`: \n * `request.ChatRequest.Messages[].Citations[].SourceCustomEntity` **Added**\n* `Glean.Client.Insights.Retrieve()`: `response.OverviewResponse` **Changed**\n"
generatedFiles:
- .devcontainer/README.md
- .devcontainer/devcontainer.json
diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml
index e2ef2e15..ee201af8 100644
--- a/.speakeasy/gen.yaml
+++ b/.speakeasy/gen.yaml
@@ -32,7 +32,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
go:
- version: 0.11.34
+ version: 0.11.35
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
baseErrorName: GleanError
diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml
index 41e4d268..ffa3d1d6 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: b82cd7608fd801b317cf9df15ebfb73f83d9febc
+ x-source-commit-sha: 797f674a2b57a6822c26cc194a8d32f63ca07772
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: 0b2689b6010d15de5b45dc85490080ea14936ea6
+ x-open-api-commit-sha: fb1ea6d15543bc76391e2796dc62435dcddc598d
x-speakeasy-name: 'Glean API'
servers:
- url: https://{instance}-be.glean.com
@@ -7881,6 +7881,8 @@ components:
$ref: "#/components/schemas/ChatFile"
sourcePerson:
$ref: "#/components/schemas/Person"
+ sourceCustomEntity:
+ $ref: "#/components/schemas/CustomEntity"
referenceRanges:
description: Each reference range and its corresponding snippets
type: array
@@ -9071,6 +9073,15 @@ components:
$ref: "#/components/schemas/InsightsSearchSummary"
chatSummary:
$ref: "#/components/schemas/InsightsChatSummary"
+ searchActiveUsers:
+ $ref: "#/components/schemas/CurrentActiveUsers"
+ description: Search-specific active user counts for the specified departments.
+ assistantActiveUsers:
+ $ref: "#/components/schemas/CurrentActiveUsers"
+ description: Assistant-specific active user counts for the specified departments.
+ agentsActiveUsers:
+ $ref: "#/components/schemas/CurrentActiveUsers"
+ description: Agents-specific active user counts for the specified departments.
extensionSummary:
$ref: "#/components/schemas/CurrentActiveUsers"
ugcSummary:
diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock
index b3f82b1c..cd72cf58 100644
--- a/.speakeasy/workflow.lock
+++ b/.speakeasy/workflow.lock
@@ -1,9 +1,9 @@
-speakeasyVersion: 1.757.1
+speakeasyVersion: 1.759.0
sources:
Glean API:
sourceNamespace: glean-api-specs
- sourceRevisionDigest: sha256:cd1b70d6a8034c274c2032fa245dc1f410d81cba955c6954a85f47f8e64d6f2f
- sourceBlobDigest: sha256:82d37f119622340b0c9d7352ac8a90c2df320b24c8e49c396d6531f9fe2b890b
+ sourceRevisionDigest: sha256:53b31eac2ec62f25dbbd07a30158207961b8f5a44db5f8b0275bbe650786d620
+ sourceBlobDigest: sha256:f67efda4716029385175a7df3e13322f9e46c7972af157231bd89964798c1a3b
tags:
- latest
petstore-oas:
@@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
- sourceRevisionDigest: sha256:cd1b70d6a8034c274c2032fa245dc1f410d81cba955c6954a85f47f8e64d6f2f
- sourceBlobDigest: sha256:82d37f119622340b0c9d7352ac8a90c2df320b24c8e49c396d6531f9fe2b890b
+ sourceRevisionDigest: sha256:53b31eac2ec62f25dbbd07a30158207961b8f5a44db5f8b0275bbe650786d620
+ sourceBlobDigest: sha256:f67efda4716029385175a7df3e13322f9e46c7972af157231bd89964798c1a3b
codeSamplesNamespace: glean-api-specs-go-code-samples
- codeSamplesRevisionDigest: sha256:966d01de0104b8115d550cd15b6f8d3046cc912bba6ac2e78e67aaa66f209a40
+ codeSamplesRevisionDigest: sha256:3f02b1096e3a6e3951183cb447b2c7325e36f64b195f344eb468cca2b874cb8c
petstore:
source: petstore-oas
sourceNamespace: petstore-oas
diff --git a/RELEASES.md b/RELEASES.md
index 250b3468..af51ba55 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -638,4 +638,14 @@ Based on:
### Generated
- [go v0.11.34] .
### Releases
-- [Go v0.11.34] https://github.com/gleanwork/api-client-go/releases/tag/v0.11.34 - .
\ No newline at end of file
+- [Go v0.11.34] https://github.com/gleanwork/api-client-go/releases/tag/v0.11.34 - .
+
+## 2026-03-22 01:53:08
+### Changes
+Based on:
+- OpenAPI Doc
+- Speakeasy CLI 1.759.0 (2.869.3) https://github.com/speakeasy-api/speakeasy
+### Generated
+- [go v0.11.35] .
+### Releases
+- [Go v0.11.35] https://github.com/gleanwork/api-client-go/releases/tag/v0.11.35 - .
\ No newline at end of file
diff --git a/docs/models/components/chatmessagecitation.md b/docs/models/components/chatmessagecitation.md
index d02a6f3b..92ada046 100644
--- a/docs/models/components/chatmessagecitation.md
+++ b/docs/models/components/chatmessagecitation.md
@@ -11,4 +11,5 @@ Information about the source for a ChatMessage.
| `SourceDocument` | [*components.Document](../../models/components/document.md) | :heavy_minus_sign: | N/A | |
| `SourceFile` | [*components.ChatFile](../../models/components/chatfile.md) | :heavy_minus_sign: | Structure for file uploaded by a user for Chat. | |
| `SourcePerson` | [*components.Person](../../models/components/person.md) | :heavy_minus_sign: | N/A | {
"name": "George Clooney",
"obfuscatedId": "abc123"
} |
+| `SourceCustomEntity` | [*components.CustomEntity](../../models/components/customentity.md) | :heavy_minus_sign: | N/A | |
| `ReferenceRanges` | [][components.ReferenceRange](../../models/components/referencerange.md) | :heavy_minus_sign: | Each reference range and its corresponding snippets | |
\ No newline at end of file
diff --git a/docs/models/components/insightsoverviewresponse.md b/docs/models/components/insightsoverviewresponse.md
index b3110d46..bb4cbf28 100644
--- a/docs/models/components/insightsoverviewresponse.md
+++ b/docs/models/components/insightsoverviewresponse.md
@@ -12,6 +12,9 @@
| `TotalSignups` | `*int64` | :heavy_minus_sign: | Number of current signed up employees in the specified departments, according to the Org Chart. |
| `SearchSummary` | [*components.InsightsSearchSummary](../../models/components/insightssearchsummary.md) | :heavy_minus_sign: | N/A |
| `ChatSummary` | [*components.InsightsChatSummary](../../models/components/insightschatsummary.md) | :heavy_minus_sign: | N/A |
+| `SearchActiveUsers` | [*components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A |
+| `AssistantActiveUsers` | [*components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A |
+| `AgentsActiveUsers` | [*components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A |
| `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. |
diff --git a/glean.go b/glean.go
index 00fde730..d8777aee 100644
--- a/glean.go
+++ b/glean.go
@@ -2,7 +2,7 @@
package apiclientgo
-// Generated from OpenAPI doc version 0.9.0 and generator version 2.866.2
+// Generated from OpenAPI doc version 0.9.0 and generator version 2.869.3
import (
"context"
@@ -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.34",
+ SDKVersion: "0.11.35",
sdkConfiguration: config.SDKConfiguration{
- UserAgent: "speakeasy-sdk/go 0.11.34 2.866.2 0.9.0 github.com/gleanwork/api-client-go",
+ UserAgent: "speakeasy-sdk/go 0.11.35 2.869.3 0.9.0 github.com/gleanwork/api-client-go",
ServerList: ServerList,
ServerVariables: []map[string]string{
{
diff --git a/models/components/chatmessagecitation.go b/models/components/chatmessagecitation.go
index ce70a3c9..cb73fb2f 100644
--- a/models/components/chatmessagecitation.go
+++ b/models/components/chatmessagecitation.go
@@ -8,8 +8,9 @@ type ChatMessageCitation struct {
TrackingToken *string `json:"trackingToken,omitempty"`
SourceDocument *Document `json:"sourceDocument,omitempty"`
// Structure for file uploaded by a user for Chat.
- SourceFile *ChatFile `json:"sourceFile,omitempty"`
- SourcePerson *Person `json:"sourcePerson,omitempty"`
+ SourceFile *ChatFile `json:"sourceFile,omitempty"`
+ SourcePerson *Person `json:"sourcePerson,omitempty"`
+ SourceCustomEntity *CustomEntity `json:"sourceCustomEntity,omitempty"`
// Each reference range and its corresponding snippets
ReferenceRanges []ReferenceRange `json:"referenceRanges,omitempty"`
}
@@ -42,6 +43,13 @@ func (c *ChatMessageCitation) GetSourcePerson() *Person {
return c.SourcePerson
}
+func (c *ChatMessageCitation) GetSourceCustomEntity() *CustomEntity {
+ if c == nil {
+ return nil
+ }
+ return c.SourceCustomEntity
+}
+
func (c *ChatMessageCitation) GetReferenceRanges() []ReferenceRange {
if c == nil {
return nil
diff --git a/models/components/insightsoverviewresponse.go b/models/components/insightsoverviewresponse.go
index 8eba4094..c968c422 100644
--- a/models/components/insightsoverviewresponse.go
+++ b/models/components/insightsoverviewresponse.go
@@ -12,11 +12,14 @@ type InsightsOverviewResponse struct {
// Number of current employees in the specified departments, according to the Org Chart.
EmployeeCount *int64 `json:"employeeCount,omitempty"`
// Number of current signed up employees in the specified departments, according to the Org Chart.
- TotalSignups *int64 `json:"totalSignups,omitempty"`
- SearchSummary *InsightsSearchSummary `json:"searchSummary,omitempty"`
- ChatSummary *InsightsChatSummary `json:"chatSummary,omitempty"`
- ExtensionSummary *CurrentActiveUsers `json:"extensionSummary,omitempty"`
- UgcSummary *CurrentActiveUsers `json:"ugcSummary,omitempty"`
+ TotalSignups *int64 `json:"totalSignups,omitempty"`
+ SearchSummary *InsightsSearchSummary `json:"searchSummary,omitempty"`
+ ChatSummary *InsightsChatSummary `json:"chatSummary,omitempty"`
+ SearchActiveUsers *CurrentActiveUsers `json:"searchActiveUsers,omitempty"`
+ AssistantActiveUsers *CurrentActiveUsers `json:"assistantActiveUsers,omitempty"`
+ AgentsActiveUsers *CurrentActiveUsers `json:"agentsActiveUsers,omitempty"`
+ ExtensionSummary *CurrentActiveUsers `json:"extensionSummary,omitempty"`
+ UgcSummary *CurrentActiveUsers `json:"ugcSummary,omitempty"`
// Unix timestamp of the last update for the insights data in the response.
LastUpdatedTs *int64 `json:"lastUpdatedTs,omitempty"`
// Search session satisfaction rate, over the specified time period in the specified departments.
@@ -93,6 +96,27 @@ func (i *InsightsOverviewResponse) GetChatSummary() *InsightsChatSummary {
return i.ChatSummary
}
+func (i *InsightsOverviewResponse) GetSearchActiveUsers() *CurrentActiveUsers {
+ if i == nil {
+ return nil
+ }
+ return i.SearchActiveUsers
+}
+
+func (i *InsightsOverviewResponse) GetAssistantActiveUsers() *CurrentActiveUsers {
+ if i == nil {
+ return nil
+ }
+ return i.AssistantActiveUsers
+}
+
+func (i *InsightsOverviewResponse) GetAgentsActiveUsers() *CurrentActiveUsers {
+ if i == nil {
+ return nil
+ }
+ return i.AgentsActiveUsers
+}
+
func (i *InsightsOverviewResponse) GetExtensionSummary() *CurrentActiveUsers {
if i == nil {
return nil
diff --git a/tests/mockserver/internal/sdk/models/components/chatmessagecitation.go b/tests/mockserver/internal/sdk/models/components/chatmessagecitation.go
index fd3e6a32..ba07ad7a 100644
--- a/tests/mockserver/internal/sdk/models/components/chatmessagecitation.go
+++ b/tests/mockserver/internal/sdk/models/components/chatmessagecitation.go
@@ -8,8 +8,9 @@ type ChatMessageCitation struct {
TrackingToken *string `json:"trackingToken,omitempty"`
SourceDocument *Document `json:"sourceDocument,omitempty"`
// Structure for file uploaded by a user for Chat.
- SourceFile *ChatFile `json:"sourceFile,omitempty"`
- SourcePerson *Person `json:"sourcePerson,omitempty"`
+ SourceFile *ChatFile `json:"sourceFile,omitempty"`
+ SourcePerson *Person `json:"sourcePerson,omitempty"`
+ SourceCustomEntity *CustomEntity `json:"sourceCustomEntity,omitempty"`
// Each reference range and its corresponding snippets
ReferenceRanges []ReferenceRange `json:"referenceRanges,omitempty"`
}
@@ -42,6 +43,13 @@ func (o *ChatMessageCitation) GetSourcePerson() *Person {
return o.SourcePerson
}
+func (o *ChatMessageCitation) GetSourceCustomEntity() *CustomEntity {
+ if o == nil {
+ return nil
+ }
+ return o.SourceCustomEntity
+}
+
func (o *ChatMessageCitation) GetReferenceRanges() []ReferenceRange {
if o == nil {
return nil
diff --git a/tests/mockserver/internal/sdk/models/components/insightsoverviewresponse.go b/tests/mockserver/internal/sdk/models/components/insightsoverviewresponse.go
index 96074649..4350ae6c 100644
--- a/tests/mockserver/internal/sdk/models/components/insightsoverviewresponse.go
+++ b/tests/mockserver/internal/sdk/models/components/insightsoverviewresponse.go
@@ -12,11 +12,14 @@ type InsightsOverviewResponse struct {
// Number of current employees in the specified departments, according to the Org Chart.
EmployeeCount *int64 `json:"employeeCount,omitempty"`
// Number of current signed up employees in the specified departments, according to the Org Chart.
- TotalSignups *int64 `json:"totalSignups,omitempty"`
- SearchSummary *InsightsSearchSummary `json:"searchSummary,omitempty"`
- ChatSummary *InsightsChatSummary `json:"chatSummary,omitempty"`
- ExtensionSummary *CurrentActiveUsers `json:"extensionSummary,omitempty"`
- UgcSummary *CurrentActiveUsers `json:"ugcSummary,omitempty"`
+ TotalSignups *int64 `json:"totalSignups,omitempty"`
+ SearchSummary *InsightsSearchSummary `json:"searchSummary,omitempty"`
+ ChatSummary *InsightsChatSummary `json:"chatSummary,omitempty"`
+ SearchActiveUsers *CurrentActiveUsers `json:"searchActiveUsers,omitempty"`
+ AssistantActiveUsers *CurrentActiveUsers `json:"assistantActiveUsers,omitempty"`
+ AgentsActiveUsers *CurrentActiveUsers `json:"agentsActiveUsers,omitempty"`
+ ExtensionSummary *CurrentActiveUsers `json:"extensionSummary,omitempty"`
+ UgcSummary *CurrentActiveUsers `json:"ugcSummary,omitempty"`
// Unix timestamp of the last update for the insights data in the response.
LastUpdatedTs *int64 `json:"lastUpdatedTs,omitempty"`
// Search session satisfaction rate, over the specified time period in the specified departments.
@@ -93,6 +96,27 @@ func (o *InsightsOverviewResponse) GetChatSummary() *InsightsChatSummary {
return o.ChatSummary
}
+func (o *InsightsOverviewResponse) GetSearchActiveUsers() *CurrentActiveUsers {
+ if o == nil {
+ return nil
+ }
+ return o.SearchActiveUsers
+}
+
+func (o *InsightsOverviewResponse) GetAssistantActiveUsers() *CurrentActiveUsers {
+ if o == nil {
+ return nil
+ }
+ return o.AssistantActiveUsers
+}
+
+func (o *InsightsOverviewResponse) GetAgentsActiveUsers() *CurrentActiveUsers {
+ if o == nil {
+ return nil
+ }
+ return o.AgentsActiveUsers
+}
+
func (o *InsightsOverviewResponse) GetExtensionSummary() *CurrentActiveUsers {
if o == nil {
return nil
diff --git a/tests/summarize_test.go b/tests/summarize_test.go
index cf370440..92a0a5d6 100644
--- a/tests/summarize_test.go
+++ b/tests/summarize_test.go
@@ -27,13 +27,13 @@ func TestSummarize_Summarize(t *testing.T) {
DocumentSpecs: []components.DocumentSpecUnion{
components.CreateDocumentSpecUnionDocumentSpec4(
components.DocumentSpec4{
- UgcType: components.DocumentSpecUgcType2Announcements,
+ UgcType: components.DocumentSpecUgcType2Collections,
UgcID: "",
},
),
- components.CreateDocumentSpecUnionDocumentSpec1(
- components.DocumentSpec1{
- URL: "https://potable-pine.org",
+ components.CreateDocumentSpecUnionDocumentSpec2(
+ components.DocumentSpec2{
+ ID: "",
},
),
},