Skip to content

Commit d32a1d2

Browse files
Merge pull request #120 from gleanwork/speakeasy-sdk-regen-1775527462
chore: 🐝 Update SDK - Generate 0.14.16
2 parents 04234c1 + 4b64660 commit d32a1d2

23 files changed

Lines changed: 341 additions & 57 deletions

β€Ž.speakeasy/gen.lockβ€Ž

Lines changed: 49 additions & 34 deletions
Large diffs are not rendered by default.

β€Ž.speakeasy/gen.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ generation:
3535
generateNewTests: true
3636
skipResponseBodyAssertions: true
3737
typescript:
38-
version: 0.14.15
38+
version: 0.14.16
3939
acceptHeaderEnum: true
4040
additionalDependencies:
4141
dependencies: {}

β€Ž.speakeasy/glean-merged-spec.yamlβ€Ž

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.0
22
info:
33
version: 0.9.0
44
title: Glean API
5-
x-source-commit-sha: 8a0e3a32d5d6639d10ef809d104942a79d54d1a0
5+
x-source-commit-sha: 3301b0cde4a4bf6d9bb67d909bfbfc2d97c47ad8
66
description: |
77
# Introduction
88
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:
2222
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
2323
x-logo:
2424
url: https://app.glean.com/images/glean-text2.svg
25-
x-open-api-commit-sha: f89c07f572daff630aa6a660c5c20e8aa3227322
25+
x-open-api-commit-sha: f13962c9263237558900c5da6ccfa48ea4edb68c
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -9329,6 +9329,27 @@ components:
93299329
runCount:
93309330
type: integer
93319331
description: Total number of agent runs for this user over the specified time period.
9332+
AgentsTimeSavedInsight:
9333+
properties:
9334+
agentId:
9335+
type: string
9336+
description: Agent ID
9337+
agentName:
9338+
type: string
9339+
description: Agent name
9340+
icon:
9341+
$ref: "#/components/schemas/IconConfig"
9342+
description: Agent icon configuration
9343+
isDeleted:
9344+
type: boolean
9345+
description: Indicates whether the agent has been deleted
9346+
runCount:
9347+
type: integer
9348+
description: Total number of runs for this agent over the specified time period.
9349+
minsPerRun:
9350+
type: number
9351+
format: float
9352+
description: Average minutes saved per run for this agent over the specified time period.
93329353
AgentsInsightsV2Response:
93339354
allOf:
93349355
- $ref: "#/components/schemas/CurrentActiveUsers"
@@ -9355,8 +9376,19 @@ components:
93559376
type: array
93569377
items:
93579378
$ref: "#/components/schemas/AgentUsersInsight"
9379+
agentsTimeSavedInsights:
9380+
type: array
9381+
items:
9382+
$ref: "#/components/schemas/AgentsTimeSavedInsight"
9383+
description: Insights for agents time saved over the specified time period.
93589384
dailyAgentRunsTimeseries:
93599385
$ref: "#/components/schemas/LabeledCountInfo"
9386+
successfulRunsTimeseries:
9387+
$ref: "#/components/schemas/LabeledCountInfo"
9388+
failedRunsTimeseries:
9389+
$ref: "#/components/schemas/LabeledCountInfo"
9390+
pausedRunsTimeseries:
9391+
$ref: "#/components/schemas/LabeledCountInfo"
93609392
upvotesTimeseries:
93619393
$ref: "#/components/schemas/LabeledCountInfo"
93629394
downvotesTimeseries:
@@ -10493,6 +10525,7 @@ components:
1049310525
- SCRIBES_TYPE
1049410526
- SHORTCUTS_TYPE
1049510527
- SLIDE_TYPE
10528+
- SPREADSHEET_TYPE
1049610529
- WORKFLOWS_TYPE
1049710530
FavoriteInfo:
1049810531
type: object

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ speakeasyVersion: 1.761.1
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:0f10e7b25d98791a46b0ed9fffad9d56ce1e52d63ca5d8c2598ff2fda3df6321
6-
sourceBlobDigest: sha256:59995e53d0ac0527b824756126d89dd7c4638fffb3b57711446f35604d0012a0
5+
sourceRevisionDigest: sha256:08d4d58caccd1bef6ef8e22dfcf97a354aded9212e6fea82f0aa6557c2ac60b7
6+
sourceBlobDigest: sha256:6937879dbbc72083c2849b612846828aafdd666c568135d879d9a9f3b6ede95e
77
tags:
88
- latest
99
Glean Client API:
@@ -17,10 +17,10 @@ targets:
1717
glean:
1818
source: Glean API
1919
sourceNamespace: glean-api-specs
20-
sourceRevisionDigest: sha256:0f10e7b25d98791a46b0ed9fffad9d56ce1e52d63ca5d8c2598ff2fda3df6321
21-
sourceBlobDigest: sha256:59995e53d0ac0527b824756126d89dd7c4638fffb3b57711446f35604d0012a0
20+
sourceRevisionDigest: sha256:08d4d58caccd1bef6ef8e22dfcf97a354aded9212e6fea82f0aa6557c2ac60b7
21+
sourceBlobDigest: sha256:6937879dbbc72083c2849b612846828aafdd666c568135d879d9a9f3b6ede95e
2222
codeSamplesNamespace: glean-api-specs-typescript-code-samples
23-
codeSamplesRevisionDigest: sha256:0b3cf13d3671189a19024b47a99673b02307126e6a10c340ed4136213a904f99
23+
codeSamplesRevisionDigest: sha256:7acc7abfb9755f5cce09115a9536a135872e424bff0e1f49910cba7d652e91bd
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,4 +718,14 @@ Based on:
718718
### Generated
719719
- [typescript v0.14.15] .
720720
### Releases
721-
- [NPM v0.14.15] https://www.npmjs.com/package/@gleanwork/api-client/v/0.14.15 - .
721+
- [NPM v0.14.15] https://www.npmjs.com/package/@gleanwork/api-client/v/0.14.15 - .
722+
723+
## 2026-04-09 01:56:43
724+
### Changes
725+
Based on:
726+
- OpenAPI Doc
727+
- Speakeasy CLI 1.761.1 (2.879.6) https://github.com/speakeasy-api/speakeasy
728+
### Generated
729+
- [typescript v0.14.16] .
730+
### Releases
731+
- [NPM v0.14.16] https://www.npmjs.com/package/@gleanwork/api-client/v/0.14.16 - .

β€Ždocs/models/components/agentsinsightsv2response.mdβ€Ž

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ let value: AgentsInsightsV2Response = {
3434
},
3535
},
3636
],
37+
agentsTimeSavedInsights: [
38+
{
39+
icon: {
40+
color: "#343CED",
41+
key: "person_icon",
42+
iconType: "GLYPH",
43+
name: "user",
44+
},
45+
},
46+
],
3747
};
3848
```
3949

@@ -50,6 +60,10 @@ let value: AgentsInsightsV2Response = {
5060
| `topAgentsInsights` | [components.PerAgentInsight](../../models/components/peragentinsight.md)[] | :heavy_minus_sign: | N/A |
5161
| `agentsUsageByDepartmentInsights` | [components.AgentsUsageByDepartmentInsight](../../models/components/agentsusagebydepartmentinsight.md)[] | :heavy_minus_sign: | N/A |
5262
| `agentUsersInsights` | [components.AgentUsersInsight](../../models/components/agentusersinsight.md)[] | :heavy_minus_sign: | N/A |
63+
| `agentsTimeSavedInsights` | [components.AgentsTimeSavedInsight](../../models/components/agentstimesavedinsight.md)[] | :heavy_minus_sign: | Insights for agents time saved over the specified time period. |
5364
| `dailyAgentRunsTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A |
65+
| `successfulRunsTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A |
66+
| `failedRunsTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A |
67+
| `pausedRunsTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A |
5468
| `upvotesTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A |
5569
| `downvotesTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A |
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# AgentsTimeSavedInsight
2+
3+
## Example Usage
4+
5+
```typescript
6+
import { AgentsTimeSavedInsight } from "@gleanwork/api-client/models/components";
7+
8+
let value: AgentsTimeSavedInsight = {
9+
icon: {
10+
color: "#343CED",
11+
key: "person_icon",
12+
iconType: "GLYPH",
13+
name: "user",
14+
},
15+
};
16+
```
17+
18+
## Fields
19+
20+
| Field | Type | Required | Description | Example |
21+
| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
22+
| `agentId` | *string* | :heavy_minus_sign: | Agent ID | |
23+
| `agentName` | *string* | :heavy_minus_sign: | Agent name | |
24+
| `icon` | [components.IconConfig](../../models/components/iconconfig.md) | :heavy_minus_sign: | Defines how to render an icon | {<br/>"color": "#343CED",<br/>"key": "person_icon",<br/>"iconType": "GLYPH",<br/>"name": "user"<br/>} |
25+
| `isDeleted` | *boolean* | :heavy_minus_sign: | Indicates whether the agent has been deleted | |
26+
| `runCount` | *number* | :heavy_minus_sign: | Total number of runs for this agent over the specified time period. | |
27+
| `minsPerRun` | *number* | :heavy_minus_sign: | Average minutes saved per run for this agent over the specified time period. | |

β€Ždocs/models/components/insightsresponse.mdβ€Ž

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,16 @@ let value: InsightsResponse = {
6666
},
6767
},
6868
],
69+
agentsTimeSavedInsights: [
70+
{
71+
icon: {
72+
color: "#343CED",
73+
key: "person_icon",
74+
iconType: "GLYPH",
75+
name: "user",
76+
},
77+
},
78+
],
6979
},
7080
};
7181
```

β€Ždocs/models/components/ugctype.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ let value: UgcType = "PRISM_VIEWS_TYPE";
1313
## Values
1414

1515
```typescript
16-
"AGENT_TYPE" | "ANNOUNCEMENTS_TYPE" | "ANSWERS_TYPE" | "CHATS_TYPE" | "COLLECTIONS_TYPE" | "EMAIL_TYPE" | "HTML_CODE_TYPE" | "IMAGE_TYPE" | "MESSAGE_TYPE" | "PAPER_TYPE" | "PRISM_VIEWS_TYPE" | "PROMPT_TEMPLATES_TYPE" | "PINS_TYPE" | "SCRIBES_TYPE" | "SHORTCUTS_TYPE" | "SLIDE_TYPE" | "WORKFLOWS_TYPE" | Unrecognized<string>
16+
"AGENT_TYPE" | "ANNOUNCEMENTS_TYPE" | "ANSWERS_TYPE" | "CHATS_TYPE" | "COLLECTIONS_TYPE" | "EMAIL_TYPE" | "HTML_CODE_TYPE" | "IMAGE_TYPE" | "MESSAGE_TYPE" | "PAPER_TYPE" | "PRISM_VIEWS_TYPE" | "PROMPT_TEMPLATES_TYPE" | "PINS_TYPE" | "SCRIBES_TYPE" | "SHORTCUTS_TYPE" | "SLIDE_TYPE" | "SPREADSHEET_TYPE" | "WORKFLOWS_TYPE" | Unrecognized<string>
1717
```

β€Žexamples/package-lock.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
Β (0)