Skip to content

Commit 6234990

Browse files
Merge pull request #25 from gleanwork/speakeasy-sdk-regen-1748396490
chore: 🐝 Update SDK - Generate 0.6.0
2 parents ea0660b + 26e6ea0 commit 6234990

File tree

566 files changed

+1157
-953
lines changed

Some content is hidden

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

566 files changed

+1157
-953
lines changed

.speakeasy/gen.lock

Lines changed: 7 additions & 10 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: 494200b2b5ce073b7458b5d6a0507b42
4+
docChecksum: d35fba7b1f9b2598dbc20b6520739922
55
docVersion: 0.9.0
6-
speakeasyVersion: 1.551.0
7-
generationVersion: 2.610.0
8-
releaseVersion: 0.5.2
9-
configChecksum: 6a95613bf15bc0a00a38f7c157809ca4
6+
speakeasyVersion: 1.554.1
7+
generationVersion: 2.616.1
8+
releaseVersion: 0.6.0
9+
configChecksum: c7afa60383cf11a8f5ad959fc0e8e872
1010
repoURL: https://github.com/gleanwork/api-client-python.git
1111
installationURL: https://github.com/gleanwork/api-client-python.git
1212
published: true
@@ -15,7 +15,7 @@ features:
1515
additionalDependencies: 1.0.0
1616
additionalProperties: 1.0.1
1717
constsAndDefaults: 1.0.5
18-
core: 5.19.0
18+
core: 5.19.1
1919
defaultEnabledRetries: 0.2.0
2020
deprecations: 3.0.2
2121
devContainers: 3.0.0
@@ -35,7 +35,7 @@ features:
3535
nameOverrides: 3.0.1
3636
responseFormat: 1.0.1
3737
retries: 3.0.2
38-
sdkHooks: 1.0.1
38+
sdkHooks: 1.1.0
3939
tests: 1.17.0
4040
unions: 3.0.4
4141
uploadStreams: 1.0.0
@@ -617,12 +617,9 @@ generatedFiles:
617617
- docs/sdks/clientshortcuts/README.md
618618
- docs/sdks/clientverification/README.md
619619
- docs/sdks/collections/README.md
620-
- docs/sdks/data/README.md
621620
- docs/sdks/datasources/README.md
622621
- docs/sdks/entities/README.md
623622
- docs/sdks/glean/README.md
624-
- docs/sdks/governance/README.md
625-
- docs/sdks/governancedocuments/README.md
626623
- docs/sdks/indexing/README.md
627624
- docs/sdks/indexingauthentication/README.md
628625
- docs/sdks/indexingdatasource/README.md

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ generation:
77
maintainOpenAPIOrder: true
88
usageSnippets:
99
optionalPropertyRendering: withExample
10+
sdkInitStyle: constructor
1011
useClassNamesForArrayFields: true
1112
fixes:
1213
nameResolutionDec2023: true
@@ -24,7 +25,7 @@ generation:
2425
generateNewTests: true
2526
skipResponseBodyAssertions: true
2627
python:
27-
version: 0.5.2
28+
version: 0.6.0
2829
additionalDependencies:
2930
dev: {}
3031
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ openapi: 3.0.0
22
info:
33
version: 0.9.0
44
title: Glean API
5-
contact:
6-
email: support@glean.com
75
description: |
86
# Introduction
97
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.
@@ -23,7 +21,7 @@ info:
2321
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
2422
x-logo:
2523
url: https://app.glean.com/images/glean-text2.svg
26-
x-speakeasy-name: "Glean API"
24+
x-speakeasy-name: 'Glean API'
2725
servers:
2826
- url: https://{instance}-be.glean.com
2927
variables:
@@ -414,7 +412,7 @@ paths:
414412
content:
415413
application/json:
416414
schema:
417-
$ref: "#/components/schemas/ChatResponse"
415+
$ref: '#/components/schemas/ChatResponse'
418416
examples:
419417
defaultExample:
420418
value:
@@ -477,10 +475,10 @@ paths:
477475
agent: DEFAULT
478476
mode: DEFAULT
479477
fragments:
480-
- text: "**Reading:**"
478+
- text: '**Reading:**'
481479
- structuredResults:
482480
- document:
483-
id: "123"
481+
id: '123'
484482
title: Company Handbook
485483
citationResponse:
486484
value:
@@ -492,7 +490,7 @@ paths:
492490
mode: DEFAULT
493491
citations:
494492
- sourceDocument:
495-
id: "123"
493+
id: '123'
496494
title: Company Handbook
497495
referenceRanges:
498496
- textRange:
@@ -3179,7 +3177,7 @@ paths:
31793177
/rest/api/v1/governance/data/policies/{id}:
31803178
get:
31813179
description: Fetches the specified policy version, or the latest if no version is provided.
3182-
summary: Gets specified Policy.
3180+
summary: Gets specified policy
31833181
operationId: getpolicy
31843182
x-visibility: Public
31853183
tags:
@@ -3213,7 +3211,7 @@ paths:
32133211
x-speakeasy-name-override: retrieve
32143212
post:
32153213
description: Updates an existing policy.
3216-
summary: Updates an existing policy.
3214+
summary: Updates an existing policy
32173215
operationId: updatepolicy
32183216
tags:
32193217
- Governance
@@ -3246,7 +3244,7 @@ paths:
32463244
/rest/api/v1/governance/data/policies:
32473245
get:
32483246
description: Lists policies with filtering.
3249-
summary: Lists policies.
3247+
summary: Lists policies
32503248
operationId: listpolicies
32513249
x-visibility: Public
32523250
tags:
@@ -3279,7 +3277,7 @@ paths:
32793277
x-speakeasy-name-override: list
32803278
post:
32813279
description: Creates a new policy with specified specifications and returns its id.
3282-
summary: Creates new policy.
3280+
summary: Creates new policy
32833281
operationId: createpolicy
32843282
x-visibility: Public
32853283
tags:
@@ -3306,7 +3304,7 @@ paths:
33063304
/rest/api/v1/governance/data/policies/{id}/download:
33073305
get:
33083306
description: Downloads CSV violations report for a specific policy id. This does not support continuous policies.
3309-
summary: Downloads violations CSV for policy.
3307+
summary: Downloads violations CSV for policy
33103308
operationId: downloadpolicycsv
33113309
x-visibility: Public
33123310
tags:
@@ -3335,7 +3333,7 @@ paths:
33353333
/rest/api/v1/governance/data/reports:
33363334
post:
33373335
description: Creates a new one-time report and executes its batch job.
3338-
summary: Creates new one-time report.
3336+
summary: Creates new one-time report
33393337
operationId: createreport
33403338
x-visibility: Public
33413339
tags:
@@ -3362,7 +3360,7 @@ paths:
33623360
/rest/api/v1/governance/data/reports/{id}/download:
33633361
get:
33643362
description: Downloads CSV violations report for a specific report id.
3365-
summary: Downloads violations CSV for report.
3363+
summary: Downloads violations CSV for report
33663364
operationId: downloadreportcsv
33673365
x-visibility: Public
33683366
tags:
@@ -3391,7 +3389,7 @@ paths:
33913389
/rest/api/v1/governance/data/reports/{id}/status:
33923390
get:
33933391
description: Fetches the status of the run corresponding to the report-id.
3394-
summary: Fetches report run status.
3392+
summary: Fetches report run status
33953393
operationId: getreportstatus
33963394
x-visibility: Public
33973395
tags:
@@ -3419,7 +3417,7 @@ paths:
34193417
/rest/api/v1/governance/documents/visibilityoverrides:
34203418
get:
34213419
description: Fetches the visibility override status of the documents passed.
3422-
summary: Fetches documents visibility.
3420+
summary: Fetches documents visibility
34233421
operationId: getdocvisibility
34243422
x-visibility: Public
34253423
tags:
@@ -3447,7 +3445,7 @@ paths:
34473445
x-speakeasy-name-override: list
34483446
post:
34493447
description: Sets the visibility-override state of the documents specified, effectively hiding or un-hiding documents.
3450-
summary: Hide/Un-hide docs.
3448+
summary: Hide or unhide docs
34513449
operationId: setdocvisibility
34523450
x-visibility: Public
34533451
tags:
@@ -7244,6 +7242,9 @@ components:
72447242
type: integer
72457243
description: Timeout in milliseconds for the request. A `408` error will be returned if handling the request takes longer.
72467244
example: 30000
7245+
sessionInfo:
7246+
description: Optional object for tracking the session used by the client and for debugging purposes.
7247+
$ref: "#/components/schemas/SessionInfo"
72477248
applicationId:
72487249
type: string
72497250
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.

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.551.0
1+
speakeasyVersion: 1.554.1
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:8f21c39ef4c0f7b292ea72e3a7ec057db295ddfd2814e99c7a753fd3773d23cb
6-
sourceBlobDigest: sha256:e03e7548ba6cb180d1f94e0a3912501f47f1f9944c0631dd752b396e56513f1f
5+
sourceRevisionDigest: sha256:3396ede63b0d0938d88f4b76b69092782a3d585f5c9e42bc69c607641443d427
6+
sourceBlobDigest: sha256:490084863e541d217246ad7a409dfb2b73ffd1f13bae9685c5f623c0fdc3175c
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1748125845
9+
- speakeasy-sdk-regen-1748396490
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:8f21c39ef4c0f7b292ea72e3a7ec057db295ddfd2814e99c7a753fd3773d23cb
21-
sourceBlobDigest: sha256:e03e7548ba6cb180d1f94e0a3912501f47f1f9944c0631dd752b396e56513f1f
20+
sourceRevisionDigest: sha256:3396ede63b0d0938d88f4b76b69092782a3d585f5c9e42bc69c607641443d427
21+
sourceBlobDigest: sha256:490084863e541d217246ad7a409dfb2b73ffd1f13bae9685c5f623c0fdc3175c
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:539ebe8f0df16c3e87e9f927ad10b3558a8dc28721c86ad316de94314e51a906
23+
codeSamplesRevisionDigest: sha256:63af6d316a76a6ac296df7db15ec3c116ae02f65042e3ba96be403a14fb09e3f
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

0 commit comments

Comments
 (0)