Skip to content

Commit 7cf2a4d

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.650.0
1 parent 873aa21 commit 7cf2a4d

File tree

7 files changed

+140
-19
lines changed

7 files changed

+140
-19
lines changed

.speakeasy/gen.lock

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 3e3290ca-0ee8-4981-b1bc-14536048fa63
33
management:
4-
docChecksum: f901905eddb4d3e76a54e8da46f5347d
4+
docChecksum: 321307ee66f2aae9a843e26b1efb7b65
55
docVersion: 0.9.0
66
speakeasyVersion: 1.650.0
77
generationVersion: 2.743.2
8-
releaseVersion: 0.11.22
9-
configChecksum: 15c71f102e245f5606dc6f4f470c2ad8
8+
releaseVersion: 0.11.24
9+
configChecksum: 6c705dc38f416de117976c6f9210ef93
1010
repoURL: https://github.com/gleanwork/api-client-python.git
1111
installationURL: https://github.com/gleanwork/api-client-python.git
1212
published: true
@@ -2741,6 +2741,3 @@ generatedTests:
27412741
editcollection: "2025-06-12T19:13:52-04:00"
27422742
createshortcut: "2025-06-12T19:13:52-04:00"
27432743
updateshortcut: "2025-06-12T19:13:52-04:00"
2744-
releaseNotes: |
2745-
## Python SDK Changes Detected:
2746-
* `glean.client.insights.retrieve()`: `response.agents_response.agents_usage_by_department_insights.[]` **Changed**

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ generation:
3030
generateNewTests: true
3131
skipResponseBodyAssertions: true
3232
python:
33-
version: 0.11.22
33+
version: 0.11.24
3434
additionalDependencies:
3535
dev: {}
3636
main: {}
@@ -61,6 +61,7 @@ python:
6161
operations: ""
6262
shared: ""
6363
webhooks: ""
64+
inferUnionDiscriminators: true
6465
inputModelSuffix: input
6566
legacyPyright: true
6667
license: ""

.speakeasy/glean-merged-spec.yaml

Lines changed: 115 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: 1c30a2e9466bf278374bd82863042433f7fa8a6d
5+
x-source-commit-sha: 84fda7e37dc3dd8a90598b2da20c5366022bfed3
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: bfa098a27c3b8f11087766de34606765c946e305
25+
x-open-api-commit-sha: 05bc888a97be42c619bb50ed437f510fc0eae09b
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -3200,6 +3200,40 @@ paths:
32003200
description: Conflict
32013201
x-speakeasy-name-override: upload
32023202
x-speakeasy-group: indexing.shortcuts
3203+
/api/index/v1/document/{docId}/custom-metadata/{groupName}:
3204+
servers:
3205+
- url: https://{domain}-be.glean.com/rest/api/index
3206+
variables:
3207+
domain:
3208+
default: domain
3209+
description: Email domain (without extension) that determines the deployment backend.
3210+
parameters:
3211+
- name: docId
3212+
in: path
3213+
description: Unique Glean identifier of the document
3214+
required: true
3215+
schema:
3216+
type: string
3217+
- name: groupName
3218+
in: path
3219+
description: Name of the metadata group as specified while adding schema
3220+
required: true
3221+
schema:
3222+
type: string
3223+
/api/index/v1/custom-metadata/schema/{groupName}:
3224+
servers:
3225+
- url: https://{domain}-be.glean.com/rest/api/index
3226+
variables:
3227+
domain:
3228+
default: domain
3229+
description: Email domain (without extension) that determines the deployment backend.
3230+
parameters:
3231+
- name: groupName
3232+
in: path
3233+
description: Name of the metadata group schema
3234+
required: true
3235+
schema:
3236+
type: string
32033237
/rest/api/v1/governance/data/policies/{id}:
32043238
get:
32053239
description: Fetches the specified policy version, or the latest if no version is provided.
@@ -12092,6 +12126,48 @@ components:
1209212126
description: List of lifecycle events corresponding to the document
1209312127
items:
1209412128
$ref: "#/components/schemas/LifeCycleEvent"
12129+
CustomMetadataPutRequest:
12130+
type: object
12131+
description: Request body for adding or updating custom metadata on a document
12132+
properties:
12133+
customMetadata:
12134+
type: array
12135+
description: Array of custom metadata key-value pairs
12136+
items:
12137+
$ref: "#/components/schemas/CustomProperty"
12138+
required:
12139+
- customMetadata
12140+
CustomMetadataSchema:
12141+
type: object
12142+
description: Schema for custom metadata containing metadata key definitions
12143+
properties:
12144+
metadataKeys:
12145+
type: array
12146+
description: Array of metadata key definitions
12147+
items:
12148+
$ref: "#/components/schemas/PropertyDefinition"
12149+
required:
12150+
- metadataKeys
12151+
SuccessResponse:
12152+
type: object
12153+
description: Success response for custom metadata operations
12154+
properties:
12155+
success:
12156+
type: boolean
12157+
description: Indicates if the operation was successful
12158+
default: true
12159+
ErrorInfoResponse:
12160+
type: object
12161+
description: Error response for custom metadata operations
12162+
properties:
12163+
error:
12164+
type: string
12165+
description: Error message describing what went wrong
12166+
message:
12167+
type: string
12168+
description: Additional details about the error
12169+
required:
12170+
- error
1209512171
PropertyDefinition:
1209612172
properties:
1209712173
name:
@@ -12869,6 +12945,43 @@ components:
1286912945
description: The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC.
1287012946
schema:
1287112947
type: integer
12948+
responses:
12949+
SuccessResponse:
12950+
description: OK
12951+
content:
12952+
application/json:
12953+
schema:
12954+
$ref: "#/components/schemas/SuccessResponse"
12955+
BadRequestError:
12956+
description: Bad Request
12957+
content:
12958+
application/json:
12959+
schema:
12960+
$ref: "#/components/schemas/ErrorInfoResponse"
12961+
UnauthorizedError:
12962+
description: Not Authorized
12963+
content:
12964+
application/json:
12965+
schema:
12966+
$ref: "#/components/schemas/ErrorInfoResponse"
12967+
NotFoundError:
12968+
description: Not Found
12969+
content:
12970+
application/json:
12971+
schema:
12972+
$ref: "#/components/schemas/ErrorInfoResponse"
12973+
TooManyRequestsError:
12974+
description: Too Many Requests
12975+
content:
12976+
application/json:
12977+
schema:
12978+
$ref: "#/components/schemas/ErrorInfoResponse"
12979+
InternalServerError:
12980+
description: Internal Server Error
12981+
content:
12982+
application/json:
12983+
schema:
12984+
$ref: "#/components/schemas/ErrorInfoResponse"
1287212985
x-tagGroups:
1287312986
- name: Search & Generative AI
1287412987
tags:

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ speakeasyVersion: 1.650.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:6e09038391ad70d5f9b70c63b3284e81624f1cd18b512456e1ef14583adba00f
6-
sourceBlobDigest: sha256:62b0b08fedd634cc54f3083a149d42af7b4b534cbe8da080c65eaa8377fdcddd
5+
sourceRevisionDigest: sha256:bcdab3deaa78b76f2e454e245c8c207ffba36ca305fe7b5343b1d58a4861554e
6+
sourceBlobDigest: sha256:30f35acde0fd43f36847d3d0f7619db6c6592441d00d7b31838d1bc172586910
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1763969825
9+
- speakeasy-sdk-regen-1764031800
1010
Glean Client API:
1111
sourceNamespace: glean-client-api
1212
sourceRevisionDigest: sha256:4edc63ad559e4f2c9fb9ebf5edaaaaa9269f1874d271cfd84b441d6dacac43d2
@@ -17,10 +17,10 @@ targets:
1717
glean:
1818
source: Glean API
1919
sourceNamespace: glean-api-specs
20-
sourceRevisionDigest: sha256:6e09038391ad70d5f9b70c63b3284e81624f1cd18b512456e1ef14583adba00f
21-
sourceBlobDigest: sha256:62b0b08fedd634cc54f3083a149d42af7b4b534cbe8da080c65eaa8377fdcddd
20+
sourceRevisionDigest: sha256:bcdab3deaa78b76f2e454e245c8c207ffba36ca305fe7b5343b1d58a4861554e
21+
sourceBlobDigest: sha256:30f35acde0fd43f36847d3d0f7619db6c6592441d00d7b31838d1bc172586910
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:380bfe75991017e623736785201d21cac9de54b2bab5d9bfa09699ac73829ad6
23+
codeSamplesRevisionDigest: sha256:033a68cc40961c0b135c179b10d08089776676c4b3c64aec1712b78bdac43746
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
@@ -448,4 +448,14 @@ Based on:
448448
### Generated
449449
- [python v0.11.22] .
450450
### Releases
451-
- [PyPI v0.11.22] https://pypi.org/project/glean/0.11.22 - .
451+
- [PyPI v0.11.22] https://pypi.org/project/glean/0.11.22 - .
452+
453+
## 2025-11-26 19:13:01
454+
### Changes
455+
Based on:
456+
- OpenAPI Doc
457+
- Speakeasy CLI 1.650.0 (2.743.2) https://github.com/speakeasy-api/speakeasy
458+
### Generated
459+
- [python v0.11.24] .
460+
### Releases
461+
- [PyPI v0.11.24] https://pypi.org/project/glean/0.11.24 - .

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "glean-api-client"
3-
version = "0.11.22"
3+
version = "0.11.24"
44
description = "Python Client SDK Generated by Speakeasy."
55
authors = [{ name = "Glean Technologies, Inc." }]
66
license = "MIT"

src/glean/api_client/_version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44

55
__title__: str = "glean"
6-
__version__: str = "0.11.22"
6+
__version__: str = "0.11.24"
77
__openapi_doc_version__: str = "0.9.0"
88
__gen_version__: str = "2.743.2"
9-
__user_agent__: str = "speakeasy-sdk/python 0.11.22 2.743.2 0.9.0 glean"
9+
__user_agent__: str = "speakeasy-sdk/python 0.11.24 2.743.2 0.9.0 glean"
1010

1111
try:
1212
if __package__ is not None:

0 commit comments

Comments
 (0)