Skip to content

Commit 55654b8

Browse files
committed
## Python SDK Changes:
* `glean.client.collections.add_items()`: `response.error.error_type.enum(corrupt_item)` **Added** (Breaking ⚠️) * `glean.datasources.get_datasource_credential_status()`: **Added** * `glean.datasources.rotate_datasource_credentials()`: **Added** * `glean.client.collections.create()`: * `response.union(class (0)).error.error_code.enum(corrupt_item)` **Added** * `error_code.enum(corrupt_item)` **Added** * `glean.client.collections.delete()`: `error_code.enum(corrupt_item)` **Added** * `glean.client.collections.update()`: * `response` **Changed** * `error_code.enum(corrupt_item)` **Added** * `glean.client.collections.retrieve()`: `response.error.error_code.enum(corrupt_item)` **Added** * `glean.client.insights.retrieve()`: * `request` **Changed** * `response.agents_response.top_use_cases_insights` **Added** * `glean.client.search.retrieve_feed()`: * `request.categories[]` **Changed** * `response.results[]` **Changed**
1 parent a2f724d commit 55654b8

96 files changed

Lines changed: 2454 additions & 229 deletions

File tree

Some content is hidden

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

.speakeasy/gen.lock

Lines changed: 223 additions & 120 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
@@ -34,7 +34,7 @@ generation:
3434
generateNewTests: true
3535
skipResponseBodyAssertions: true
3636
python:
37-
version: 0.12.24
37+
version: 0.12.25
3838
additionalDependencies:
3939
dev: {}
4040
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 248 additions & 4 deletions
Large diffs are not rendered by default.

.speakeasy/tests.arazzo.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158494,3 +158494,43 @@ workflows:
158494158494
type: simple
158495158495
x-speakeasy-test-group: Datasources
158496158496
x-speakeasy-test-rebuild: true
158497+
- workflowId: getDatasourceCredentialStatus
158498+
steps:
158499+
- stepId: test
158500+
operationId: getDatasourceCredentialStatus
158501+
parameters:
158502+
- name: datasourceInstanceId
158503+
in: path
158504+
value: o365sharepoint_abc123
158505+
successCriteria:
158506+
- condition: $statusCode == 200
158507+
- condition: $response.header.Content-Type == application/json
158508+
- context: $response.body
158509+
condition: |
158510+
{"status":"VALID"}
158511+
type: simple
158512+
x-speakeasy-test-group: Datasources
158513+
x-speakeasy-test-rebuild: true
158514+
- workflowId: rotateDatasourceCredentials
158515+
steps:
158516+
- stepId: test
158517+
operationId: rotateDatasourceCredentials
158518+
parameters:
158519+
- name: datasourceInstanceId
158520+
in: path
158521+
value: o365sharepoint_abc123
158522+
requestBody:
158523+
contentType: application/json
158524+
payload:
158525+
credentials:
158526+
values:
158527+
key: {}
158528+
successCriteria:
158529+
- condition: $statusCode == 200
158530+
- condition: $response.header.Content-Type == application/json
158531+
- context: $response.body
158532+
condition: |
158533+
{"status":"MISSING"}
158534+
type: simple
158535+
x-speakeasy-test-group: Datasources
158536+
x-speakeasy-test-rebuild: true

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
speakeasyVersion: 1.761.8
1+
speakeasyVersion: 1.761.11
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:5fafd8224d41224b85cbb5f39c686e5da647fadcd8211bc9fae3c0834341dae6
6-
sourceBlobDigest: sha256:884a6119e9d59c15d47e169eaa496571dae1c106d390990aee38a25cb51e42c3
5+
sourceRevisionDigest: sha256:02bc3fec4d3ae0dcd03204cfe445293ab4c9d51975344087740f95ec8d2f96d7
6+
sourceBlobDigest: sha256:c3521b1738c4ac87f96ebda5f9fd038f75ba64e49a03ea7c632735f304d01721
77
tags:
88
- latest
99
Glean Client API:
@@ -16,10 +16,10 @@ targets:
1616
glean:
1717
source: Glean API
1818
sourceNamespace: glean-api-specs
19-
sourceRevisionDigest: sha256:5fafd8224d41224b85cbb5f39c686e5da647fadcd8211bc9fae3c0834341dae6
20-
sourceBlobDigest: sha256:884a6119e9d59c15d47e169eaa496571dae1c106d390990aee38a25cb51e42c3
19+
sourceRevisionDigest: sha256:02bc3fec4d3ae0dcd03204cfe445293ab4c9d51975344087740f95ec8d2f96d7
20+
sourceBlobDigest: sha256:c3521b1738c4ac87f96ebda5f9fd038f75ba64e49a03ea7c632735f304d01721
2121
codeSamplesNamespace: glean-api-specs-python-code-samples
22-
codeSamplesRevisionDigest: sha256:15a4a6614d94c2111ddad680da00d4286330aadf586e4ceb4f5312fe92377032
22+
codeSamplesRevisionDigest: sha256:47d4978255a2dcd78865c339b95eda1e3074db12b4a9939c5f1fc36806105170
2323
workflow:
2424
workflowVersion: 1.0.0
2525
speakeasyVersion: latest

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,8 @@ For more information on obtaining the appropriate token type, please contact you
474474

475475
* [get_datasource_instance_configuration](docs/sdks/datasources/README.md#get_datasource_instance_configuration) - Get datasource instance configuration
476476
* [update_datasource_instance_configuration](docs/sdks/datasources/README.md#update_datasource_instance_configuration) - Update datasource instance configuration
477+
* [get_datasource_credential_status](docs/sdks/datasources/README.md#get_datasource_credential_status) - Get datasource instance credential status
478+
* [rotate_datasource_credentials](docs/sdks/datasources/README.md#rotate_datasource_credentials) - Rotate datasource instance credentials
477479

478480
### [Governance](docs/sdks/governance/README.md)
479481

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,4 +738,14 @@ Based on:
738738
### Generated
739739
- [python v0.12.23] .
740740
### Releases
741-
- [PyPI v0.12.23] https://pypi.org/project/glean-api-client/0.12.23 - .
741+
- [PyPI v0.12.23] https://pypi.org/project/glean-api-client/0.12.23 - .
742+
743+
## 2026-05-05 05:58:57
744+
### Changes
745+
Based on:
746+
- OpenAPI Doc
747+
- Speakeasy CLI 1.761.11 (2.881.17) https://github.com/speakeasy-api/speakeasy
748+
### Generated
749+
- [python v0.12.25] .
750+
### Releases
751+
- [PyPI v0.12.25] https://pypi.org/project/glean-api-client/0.12.25 - .

docs/models/addcollectionitemserrorerrortype.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@
66
from glean.api_client.models import AddCollectionItemsErrorErrorType
77

88
value = AddCollectionItemsErrorErrorType.EXISTING_ITEM
9+
10+
# Open enum: unrecognized values are captured as UnrecognizedStr
911
```
1012

1113

1214
## Values
1315

1416
| Name | Value |
1517
| --------------- | --------------- |
16-
| `EXISTING_ITEM` | EXISTING_ITEM |
18+
| `EXISTING_ITEM` | EXISTING_ITEM |
19+
| `CORRUPT_ITEM` | CORRUPT_ITEM |

docs/models/agentsinsightsv2request.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
88
| `agent_ids` | List[*str*] | :heavy_minus_sign: | IDs of the Agents for which Insights should be returned. An empty array signifies all. |
99
| `departments` | List[*str*] | :heavy_minus_sign: | Departments for which Insights are requested. |
10+
| `manager_emails` | List[*str*] | :heavy_minus_sign: | Manager emails whose teams should be filtered for. Empty array means no filtering. |
1011
| `day_range` | [Optional[models.Period]](../models/period.md) | :heavy_minus_sign: | N/A |

docs/models/agentsinsightsv2response.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55

66
| Field | Type | Required | Description |
77
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
8-
| `monthly_active_users` | *Optional[int]* | :heavy_minus_sign: | Number of current Monthly Active Users, in the specified departments. |
9-
| `weekly_active_users` | *Optional[int]* | :heavy_minus_sign: | Number of current Weekly Active Users, in the specified departments. |
8+
| `monthly_active_users` | *Optional[int]* | :heavy_minus_sign: | Number of current Monthly Active Users. |
9+
| `weekly_active_users` | *Optional[int]* | :heavy_minus_sign: | Number of current Weekly Active Users. |
1010
| `monthly_active_user_timeseries` | [Optional[models.LabeledCountInfo]](../models/labeledcountinfo.md) | :heavy_minus_sign: | N/A |
1111
| `weekly_active_user_timeseries` | [Optional[models.LabeledCountInfo]](../models/labeledcountinfo.md) | :heavy_minus_sign: | N/A |
1212
| `daily_active_user_timeseries` | [Optional[models.LabeledCountInfo]](../models/labeledcountinfo.md) | :heavy_minus_sign: | N/A |
1313
| `shared_agents_count` | *Optional[int]* | :heavy_minus_sign: | Total number of shared agents. |
1414
| `top_agents_insights` | List[[models.PerAgentInsight](../models/peragentinsight.md)] | :heavy_minus_sign: | N/A |
15+
| `top_use_cases_insights` | List[[models.AgentUseCaseInsight](../models/agentusecaseinsight.md)] | :heavy_minus_sign: | N/A |
1516
| `agents_usage_by_department_insights` | List[[models.AgentsUsageByDepartmentInsight](../models/agentsusagebydepartmentinsight.md)] | :heavy_minus_sign: | N/A |
1617
| `agent_users_insights` | List[[models.AgentUsersInsight](../models/agentusersinsight.md)] | :heavy_minus_sign: | N/A |
1718
| `agents_time_saved_insights` | List[[models.AgentsTimeSavedInsight](../models/agentstimesavedinsight.md)] | :heavy_minus_sign: | Insights for agents time saved over the specified time period. |

0 commit comments

Comments
 (0)