Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 7 additions & 10 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 3e3290ca-0ee8-4981-b1bc-14536048fa63
management:
docChecksum: 494200b2b5ce073b7458b5d6a0507b42
docChecksum: d35fba7b1f9b2598dbc20b6520739922
docVersion: 0.9.0
speakeasyVersion: 1.551.0
generationVersion: 2.610.0
releaseVersion: 0.5.2
configChecksum: 6a95613bf15bc0a00a38f7c157809ca4
speakeasyVersion: 1.554.1
generationVersion: 2.616.1
releaseVersion: 0.6.0
configChecksum: c7afa60383cf11a8f5ad959fc0e8e872
repoURL: https://github.com/gleanwork/api-client-python.git
installationURL: https://github.com/gleanwork/api-client-python.git
published: true
Expand All @@ -15,7 +15,7 @@ features:
additionalDependencies: 1.0.0
additionalProperties: 1.0.1
constsAndDefaults: 1.0.5
core: 5.19.0
core: 5.19.1
defaultEnabledRetries: 0.2.0
deprecations: 3.0.2
devContainers: 3.0.0
Expand All @@ -35,7 +35,7 @@ features:
nameOverrides: 3.0.1
responseFormat: 1.0.1
retries: 3.0.2
sdkHooks: 1.0.1
sdkHooks: 1.1.0
tests: 1.17.0
unions: 3.0.4
uploadStreams: 1.0.0
Expand Down Expand Up @@ -617,12 +617,9 @@ generatedFiles:
- docs/sdks/clientshortcuts/README.md
- docs/sdks/clientverification/README.md
- docs/sdks/collections/README.md
- docs/sdks/data/README.md
- docs/sdks/datasources/README.md
- docs/sdks/entities/README.md
- docs/sdks/glean/README.md
- docs/sdks/governance/README.md
- docs/sdks/governancedocuments/README.md
- docs/sdks/indexing/README.md
- docs/sdks/indexingauthentication/README.md
- docs/sdks/indexingdatasource/README.md
Expand Down
3 changes: 2 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ generation:
maintainOpenAPIOrder: true
usageSnippets:
optionalPropertyRendering: withExample
sdkInitStyle: constructor
useClassNamesForArrayFields: true
fixes:
nameResolutionDec2023: true
Expand All @@ -24,7 +25,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
python:
version: 0.5.2
version: 0.6.0
additionalDependencies:
dev: {}
main: {}
Expand Down
35 changes: 18 additions & 17 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ openapi: 3.0.0
info:
version: 0.9.0
title: Glean API
contact:
email: support@glean.com
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.
Expand All @@ -23,7 +21,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-speakeasy-name: "Glean API"
x-speakeasy-name: 'Glean API'
servers:
- url: https://{instance}-be.glean.com
variables:
Expand Down Expand Up @@ -414,7 +412,7 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/ChatResponse"
$ref: '#/components/schemas/ChatResponse'
examples:
defaultExample:
value:
Expand Down Expand Up @@ -477,10 +475,10 @@ paths:
agent: DEFAULT
mode: DEFAULT
fragments:
- text: "**Reading:**"
- text: '**Reading:**'
- structuredResults:
- document:
id: "123"
id: '123'
title: Company Handbook
citationResponse:
value:
Expand All @@ -492,7 +490,7 @@ paths:
mode: DEFAULT
citations:
- sourceDocument:
id: "123"
id: '123'
title: Company Handbook
referenceRanges:
- textRange:
Expand Down Expand Up @@ -3179,7 +3177,7 @@ paths:
/rest/api/v1/governance/data/policies/{id}:
get:
description: Fetches the specified policy version, or the latest if no version is provided.
summary: Gets specified Policy.
summary: Gets specified policy
operationId: getpolicy
x-visibility: Public
tags:
Expand Down Expand Up @@ -3213,7 +3211,7 @@ paths:
x-speakeasy-name-override: retrieve
post:
description: Updates an existing policy.
summary: Updates an existing policy.
summary: Updates an existing policy
operationId: updatepolicy
tags:
- Governance
Expand Down Expand Up @@ -3246,7 +3244,7 @@ paths:
/rest/api/v1/governance/data/policies:
get:
description: Lists policies with filtering.
summary: Lists policies.
summary: Lists policies
operationId: listpolicies
x-visibility: Public
tags:
Expand Down Expand Up @@ -3279,7 +3277,7 @@ paths:
x-speakeasy-name-override: list
post:
description: Creates a new policy with specified specifications and returns its id.
summary: Creates new policy.
summary: Creates new policy
operationId: createpolicy
x-visibility: Public
tags:
Expand All @@ -3306,7 +3304,7 @@ paths:
/rest/api/v1/governance/data/policies/{id}/download:
get:
description: Downloads CSV violations report for a specific policy id. This does not support continuous policies.
summary: Downloads violations CSV for policy.
summary: Downloads violations CSV for policy
operationId: downloadpolicycsv
x-visibility: Public
tags:
Expand Down Expand Up @@ -3335,7 +3333,7 @@ paths:
/rest/api/v1/governance/data/reports:
post:
description: Creates a new one-time report and executes its batch job.
summary: Creates new one-time report.
summary: Creates new one-time report
operationId: createreport
x-visibility: Public
tags:
Expand All @@ -3362,7 +3360,7 @@ paths:
/rest/api/v1/governance/data/reports/{id}/download:
get:
description: Downloads CSV violations report for a specific report id.
summary: Downloads violations CSV for report.
summary: Downloads violations CSV for report
operationId: downloadreportcsv
x-visibility: Public
tags:
Expand Down Expand Up @@ -3391,7 +3389,7 @@ paths:
/rest/api/v1/governance/data/reports/{id}/status:
get:
description: Fetches the status of the run corresponding to the report-id.
summary: Fetches report run status.
summary: Fetches report run status
operationId: getreportstatus
x-visibility: Public
tags:
Expand Down Expand Up @@ -3419,7 +3417,7 @@ paths:
/rest/api/v1/governance/documents/visibilityoverrides:
get:
description: Fetches the visibility override status of the documents passed.
summary: Fetches documents visibility.
summary: Fetches documents visibility
operationId: getdocvisibility
x-visibility: Public
tags:
Expand Down Expand Up @@ -3447,7 +3445,7 @@ paths:
x-speakeasy-name-override: list
post:
description: Sets the visibility-override state of the documents specified, effectively hiding or un-hiding documents.
summary: Hide/Un-hide docs.
summary: Hide or unhide docs
operationId: setdocvisibility
x-visibility: Public
tags:
Expand Down Expand Up @@ -7244,6 +7242,9 @@ components:
type: integer
description: Timeout in milliseconds for the request. A `408` error will be returned if handling the request takes longer.
example: 30000
sessionInfo:
description: Optional object for tracking the session used by the client and for debugging purposes.
$ref: "#/components/schemas/SessionInfo"
applicationId:
type: string
description: The ID of the application this request originates from, used to determine the configuration of underlying chat processes. This should correspond to the ID set during admin setup. If not specified, the default chat experience will be used.
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
speakeasyVersion: 1.551.0
speakeasyVersion: 1.554.1
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:8f21c39ef4c0f7b292ea72e3a7ec057db295ddfd2814e99c7a753fd3773d23cb
sourceBlobDigest: sha256:e03e7548ba6cb180d1f94e0a3912501f47f1f9944c0631dd752b396e56513f1f
sourceRevisionDigest: sha256:3396ede63b0d0938d88f4b76b69092782a3d585f5c9e42bc69c607641443d427
sourceBlobDigest: sha256:490084863e541d217246ad7a409dfb2b73ffd1f13bae9685c5f623c0fdc3175c
tags:
- latest
- speakeasy-sdk-regen-1748125845
- speakeasy-sdk-regen-1748396490
Glean Client API:
sourceNamespace: glean-client-api
sourceRevisionDigest: sha256:4edc63ad559e4f2c9fb9ebf5edaaaaa9269f1874d271cfd84b441d6dacac43d2
Expand All @@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:8f21c39ef4c0f7b292ea72e3a7ec057db295ddfd2814e99c7a753fd3773d23cb
sourceBlobDigest: sha256:e03e7548ba6cb180d1f94e0a3912501f47f1f9944c0631dd752b396e56513f1f
sourceRevisionDigest: sha256:3396ede63b0d0938d88f4b76b69092782a3d585f5c9e42bc69c607641443d427
sourceBlobDigest: sha256:490084863e541d217246ad7a409dfb2b73ffd1f13bae9685c5f623c0fdc3175c
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:539ebe8f0df16c3e87e9f927ad10b3558a8dc28721c86ad316de94314e51a906
codeSamplesRevisionDigest: sha256:63af6d316a76a6ac296df7db15ec3c116ae02f65042e3ba96be403a14fb09e3f
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
Loading