Skip to content

Commit f749deb

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

File tree

12 files changed

+160
-35
lines changed

12 files changed

+160
-35
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: 3ac6fc7129d2eced0bc175e8b1c4d4ce
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: 116 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: 5c476898058f5f99842ab6a243fe8196c5a13092
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: 1cbb5cceabdec991a7b4f90df6ff551af5ad8836
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.
@@ -8069,6 +8103,7 @@ components:
80698103
- VISITORS_COUNT
80708104
- RECENT_SHARES
80718105
- DOCUMENT_CONTENT
8106+
- CUSTOM_METADATA
80728107
DocumentOrError:
80738108
oneOf:
80748109
- $ref: "#/components/schemas/Document"
@@ -12092,6 +12127,48 @@ components:
1209212127
description: List of lifecycle events corresponding to the document
1209312128
items:
1209412129
$ref: "#/components/schemas/LifeCycleEvent"
12130+
CustomMetadataPutRequest:
12131+
type: object
12132+
description: Request body for adding or updating custom metadata on a document
12133+
properties:
12134+
customMetadata:
12135+
type: array
12136+
description: Array of custom metadata key-value pairs
12137+
items:
12138+
$ref: "#/components/schemas/CustomProperty"
12139+
required:
12140+
- customMetadata
12141+
CustomMetadataSchema:
12142+
type: object
12143+
description: Schema for custom metadata containing metadata key definitions
12144+
properties:
12145+
metadataKeys:
12146+
type: array
12147+
description: Array of metadata key definitions
12148+
items:
12149+
$ref: "#/components/schemas/PropertyDefinition"
12150+
required:
12151+
- metadataKeys
12152+
SuccessResponse:
12153+
type: object
12154+
description: Success response for custom metadata operations
12155+
properties:
12156+
success:
12157+
type: boolean
12158+
description: Indicates if the operation was successful
12159+
default: true
12160+
ErrorInfoResponse:
12161+
type: object
12162+
description: Error response for custom metadata operations
12163+
properties:
12164+
error:
12165+
type: string
12166+
description: Error message describing what went wrong
12167+
message:
12168+
type: string
12169+
description: Additional details about the error
12170+
required:
12171+
- error
1209512172
PropertyDefinition:
1209612173
properties:
1209712174
name:
@@ -12869,6 +12946,43 @@ components:
1286912946
description: The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC.
1287012947
schema:
1287112948
type: integer
12949+
responses:
12950+
SuccessResponse:
12951+
description: OK
12952+
content:
12953+
application/json:
12954+
schema:
12955+
$ref: "#/components/schemas/SuccessResponse"
12956+
BadRequestError:
12957+
description: Bad Request
12958+
content:
12959+
application/json:
12960+
schema:
12961+
$ref: "#/components/schemas/ErrorInfoResponse"
12962+
UnauthorizedError:
12963+
description: Not Authorized
12964+
content:
12965+
application/json:
12966+
schema:
12967+
$ref: "#/components/schemas/ErrorInfoResponse"
12968+
NotFoundError:
12969+
description: Not Found
12970+
content:
12971+
application/json:
12972+
schema:
12973+
$ref: "#/components/schemas/ErrorInfoResponse"
12974+
TooManyRequestsError:
12975+
description: Too Many Requests
12976+
content:
12977+
application/json:
12978+
schema:
12979+
$ref: "#/components/schemas/ErrorInfoResponse"
12980+
InternalServerError:
12981+
description: Internal Server Error
12982+
content:
12983+
application/json:
12984+
schema:
12985+
$ref: "#/components/schemas/ErrorInfoResponse"
1287212986
x-tagGroups:
1287312987
- name: Search & Generative AI
1287412988
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:2c1d77d2136c8459f3927f6e494cc3fed597eec63df58f44de04cab83591a3c2
6+
sourceBlobDigest: sha256:7b40c3906ead36bbc3b4fc50b2538defc023f02e561124077d61fafe85d98d3f
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:2c1d77d2136c8459f3927f6e494cc3fed597eec63df58f44de04cab83591a3c2
21+
sourceBlobDigest: sha256:7b40c3906ead36bbc3b4fc50b2538defc023f02e561124077d61fafe85d98d3f
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 20:48:33
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 - .

docs/models/getdocumentsrequestincludefield.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@
88
| `LAST_VIEWED_AT` | LAST_VIEWED_AT |
99
| `VISITORS_COUNT` | VISITORS_COUNT |
1010
| `RECENT_SHARES` | RECENT_SHARES |
11-
| `DOCUMENT_CONTENT` | DOCUMENT_CONTENT |
11+
| `DOCUMENT_CONTENT` | DOCUMENT_CONTENT |
12+
| `CUSTOM_METADATA` | CUSTOM_METADATA |

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:

src/glean/api_client/models/getdocumentsrequest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class GetDocumentsRequestIncludeField(str, Enum):
1414
VISITORS_COUNT = "VISITORS_COUNT"
1515
RECENT_SHARES = "RECENT_SHARES"
1616
DOCUMENT_CONTENT = "DOCUMENT_CONTENT"
17+
CUSTOM_METADATA = "CUSTOM_METADATA"
1718

1819

1920
class GetDocumentsRequestTypedDict(TypedDict):

tests/mockserver/internal/handler/pathpostrestapiv1createcollection.go

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)