Skip to content

Commit 0bdab23

Browse files
Merge pull request #58 from gleanwork/speakeasy-sdk-regen-1764031806
chore: 🐝 Update SDK - Generate 0.12.9
2 parents b71a9d4 + ca32ecb commit 0bdab23

File tree

121 files changed

+18125
-2276
lines changed

Some content is hidden

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

121 files changed

+18125
-2276
lines changed

.speakeasy/gen.lock

Lines changed: 10360 additions & 2028 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@ generation:
2020
schemas:
2121
allOfMergeStrategy: shallowMerge
2222
requestBodyFieldName: ""
23+
persistentEdits: {}
2324
tests:
2425
generateTests: true
2526
generateNewTests: false
2627
skipResponseBodyAssertions: false
2728
java:
28-
version: 0.12.8
29+
version: 0.12.9
2930
additionalDependencies: []
3031
additionalPlugins: []
3132
artifactID: glean-api-client
@@ -53,13 +54,15 @@ java:
5354
operations: models/operations
5455
shared: models/components
5556
webhooks: models/webhooks
57+
inferUnionDiscriminators: false
5658
inputModelSuffix: input
5759
languageVersion: 11
5860
license:
5961
name: The MIT License (MIT)
6062
shortName: MIT
6163
url: https://mit-license.org/
6264
maxMethodParams: 4
65+
multipartArrayFormat: legacy
6366
nullFriendlyParameters: false
6467
openUnions: true
6568
operationScopedParams: true

.speakeasy/glean-merged-spec.yaml

Lines changed: 336 additions & 19 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.660.0
1+
speakeasyVersion: 1.675.2
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:6e09038391ad70d5f9b70c63b3284e81624f1cd18b512456e1ef14583adba00f
6-
sourceBlobDigest: sha256:62b0b08fedd634cc54f3083a149d42af7b4b534cbe8da080c65eaa8377fdcddd
5+
sourceRevisionDigest: sha256:cbcd7cc26062e1d030f73751ea0d23e319c25fa5843e843e0015154460829e56
6+
sourceBlobDigest: sha256:c5b16af3f31410d20d831ea6f0921e35456bde87188ccb1faf15e81ea3d9f0c9
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1763772462
9+
- speakeasy-sdk-regen-1764031806
1010
Glean-OAS:
1111
sourceNamespace: glean-oas
1212
sourceRevisionDigest: sha256:8841834dd58ddd4e2dcf98fc90fbd06fbf3626a29df941503cce55b9548a5317
@@ -18,10 +18,10 @@ targets:
1818
glean:
1919
source: Glean API
2020
sourceNamespace: glean-api-specs
21-
sourceRevisionDigest: sha256:6e09038391ad70d5f9b70c63b3284e81624f1cd18b512456e1ef14583adba00f
22-
sourceBlobDigest: sha256:62b0b08fedd634cc54f3083a149d42af7b4b534cbe8da080c65eaa8377fdcddd
21+
sourceRevisionDigest: sha256:cbcd7cc26062e1d030f73751ea0d23e319c25fa5843e843e0015154460829e56
22+
sourceBlobDigest: sha256:c5b16af3f31410d20d831ea6f0921e35456bde87188ccb1faf15e81ea3d9f0c9
2323
codeSamplesNamespace: glean-api-specs-java-code-samples
24-
codeSamplesRevisionDigest: sha256:3dd81baa9b1d8ae9a28ea189f9c84db58fb97b062abaad25488e6e59dce9bd9a
24+
codeSamplesRevisionDigest: sha256:8cfaf8838128ab93509767fc83acc2789a07de4bdfd2b4e1d24ba42f89a3b823
2525
workflow:
2626
workflowVersion: 1.0.0
2727
speakeasyVersion: latest

README.md

Lines changed: 37 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@ The samples below show how a published SDK artifact is used:
6565

6666
Gradle:
6767
```groovy
68-
implementation 'com.glean.api-client:glean-api-client:0.12.8'
68+
implementation 'com.glean.api-client:glean-api-client:0.12.9'
6969
```
7070

7171
Maven:
7272
```xml
7373
<dependency>
7474
<groupId>com.glean.api-client</groupId>
7575
<artifactId>glean-api-client</artifactId>
76-
<version>0.12.8</version>
76+
<version>0.12.9</version>
7777
</dependency>
7878
```
7979

@@ -397,38 +397,38 @@ For more information on obtaining the appropriate token type, please contact you
397397
<details open>
398398
<summary>Available methods</summary>
399399

400-
#### [client().activity()](docs/sdks/activity/README.md)
400+
### [Client.Activity](docs/sdks/activity/README.md)
401401

402402
* [report](docs/sdks/activity/README.md#report) - Report document activity
403403
* [feedback](docs/sdks/activity/README.md#feedback) - Report client activity
404404

405-
#### [client().agents()](docs/sdks/agents/README.md)
405+
### [Client.Agents](docs/sdks/agents/README.md)
406406

407407
* [retrieve](docs/sdks/agents/README.md#retrieve) - Retrieve an agent
408408
* [retrieveSchemas](docs/sdks/agents/README.md#retrieveschemas) - List an agent's schemas
409409
* [list](docs/sdks/agents/README.md#list) - Search agents
410410
* [runStream](docs/sdks/agents/README.md#runstream) - Create an agent run and stream the response
411411
* [run](docs/sdks/agents/README.md#run) - Create an agent run and wait for the response
412412

413-
#### [client().announcements()](docs/sdks/announcements/README.md)
413+
### [Client.Announcements](docs/sdks/announcements/README.md)
414414

415415
* [create](docs/sdks/announcements/README.md#create) - Create Announcement
416416
* [delete](docs/sdks/announcements/README.md#delete) - Delete Announcement
417417
* [update](docs/sdks/announcements/README.md#update) - Update Announcement
418418

419-
#### [client().answers()](docs/sdks/answers/README.md)
419+
### [Client.Answers](docs/sdks/answers/README.md)
420420

421421
* [create](docs/sdks/answers/README.md#create) - Create Answer
422422
* [delete](docs/sdks/answers/README.md#delete) - Delete Answer
423423
* [update](docs/sdks/answers/README.md#update) - Update Answer
424424
* [retrieve](docs/sdks/answers/README.md#retrieve) - Read Answer
425425
* [list](docs/sdks/answers/README.md#list) - List Answers
426426

427-
#### [client().authentication()](docs/sdks/clientauthentication/README.md)
427+
### [Client.Authentication](docs/sdks/clientauthentication/README.md)
428428

429429
* [createToken](docs/sdks/clientauthentication/README.md#createtoken) - Create authentication token
430430

431-
#### [client().chat()](docs/sdks/chat/README.md)
431+
### [Client.Chat](docs/sdks/chat/README.md)
432432

433433
* [create](docs/sdks/chat/README.md#create) - Chat
434434
* [deleteAll](docs/sdks/chat/README.md#deleteall) - Deletes all saved Chats owned by a user
@@ -441,7 +441,7 @@ For more information on obtaining the appropriate token type, please contact you
441441
* [deleteFiles](docs/sdks/chat/README.md#deletefiles) - Delete files uploaded by a user for chat.
442442
* [createStream](docs/sdks/chat/README.md#createstream) - Chat
443443

444-
#### [client().collections()](docs/sdks/collections/README.md)
444+
### [Client.Collections](docs/sdks/collections/README.md)
445445

446446
* [addItems](docs/sdks/collections/README.md#additems) - Add Collection item
447447
* [create](docs/sdks/collections/README.md#create) - Create Collection
@@ -452,95 +452,102 @@ For more information on obtaining the appropriate token type, please contact you
452452
* [retrieve](docs/sdks/collections/README.md#retrieve) - Read Collection
453453
* [list](docs/sdks/collections/README.md#list) - List Collections
454454

455-
#### [client().documents()](docs/sdks/clientdocuments/README.md)
455+
### [Client.Documents](docs/sdks/clientdocuments/README.md)
456456

457457
* [retrievePermissions](docs/sdks/clientdocuments/README.md#retrievepermissions) - Read document permissions
458458
* [retrieve](docs/sdks/clientdocuments/README.md#retrieve) - Read documents
459459
* [retrieveByFacets](docs/sdks/clientdocuments/README.md#retrievebyfacets) - Read documents by facets
460460
* [summarize](docs/sdks/clientdocuments/README.md#summarize) - Summarize documents
461461

462-
#### [client().entities()](docs/sdks/entities/README.md)
462+
### [Client.Entities](docs/sdks/entities/README.md)
463463

464464
* [list](docs/sdks/entities/README.md#list) - List entities
465465
* [readPeople](docs/sdks/entities/README.md#readpeople) - Read people
466466

467-
#### [client().governance().data().policies()](docs/sdks/policies/README.md)
467+
### [Client.Governance.Data.Policies](docs/sdks/policies/README.md)
468468

469469
* [retrieve](docs/sdks/policies/README.md#retrieve) - Gets specified policy
470470
* [update](docs/sdks/policies/README.md#update) - Updates an existing policy
471471
* [list](docs/sdks/policies/README.md#list) - Lists policies
472472
* [create](docs/sdks/policies/README.md#create) - Creates new policy
473473
* [download](docs/sdks/policies/README.md#download) - Downloads violations CSV for policy
474474

475-
#### [client().governance().data().reports()](docs/sdks/reports/README.md)
475+
### [Client.Governance.Data.Reports](docs/sdks/reports/README.md)
476476

477477
* [create](docs/sdks/reports/README.md#create) - Creates new one-time report
478478
* [download](docs/sdks/reports/README.md#download) - Downloads violations CSV for report
479479
* [status](docs/sdks/reports/README.md#status) - Fetches report run status
480480

481-
#### [client().governance().documents().visibilityoverrides()](docs/sdks/visibilityoverrides/README.md)
481+
### [Client.Governance.Documents.Visibilityoverrides](docs/sdks/visibilityoverrides/README.md)
482482

483483
* [list](docs/sdks/visibilityoverrides/README.md#list) - Fetches documents visibility
484484
* [create](docs/sdks/visibilityoverrides/README.md#create) - Hide or unhide docs
485485

486-
#### [client().insights()](docs/sdks/insights/README.md)
486+
### [Client.Insights](docs/sdks/insights/README.md)
487487

488488
* [retrieve](docs/sdks/insights/README.md#retrieve) - Get insights
489489

490-
#### [client().messages()](docs/sdks/messages/README.md)
490+
### [Client.Messages](docs/sdks/messages/README.md)
491491

492492
* [retrieve](docs/sdks/messages/README.md#retrieve) - Read messages
493493

494-
#### [client().pins()](docs/sdks/pins/README.md)
494+
### [Client.Pins](docs/sdks/pins/README.md)
495495

496496
* [update](docs/sdks/pins/README.md#update) - Update pin
497497
* [retrieve](docs/sdks/pins/README.md#retrieve) - Read pin
498498
* [list](docs/sdks/pins/README.md#list) - List pins
499499
* [create](docs/sdks/pins/README.md#create) - Create pin
500500
* [remove](docs/sdks/pins/README.md#remove) - Delete pin
501501

502-
#### [client().search()](docs/sdks/search/README.md)
502+
### [Client.Search](docs/sdks/search/README.md)
503503

504504
* [queryAsAdmin](docs/sdks/search/README.md#queryasadmin) - Search the index (admin)
505505
* [autocomplete](docs/sdks/search/README.md#autocomplete) - Autocomplete
506506
* [retrieveFeed](docs/sdks/search/README.md#retrievefeed) - Feed of documents and events
507507
* [recommendations](docs/sdks/search/README.md#recommendations) - Recommend documents
508508
* [query](docs/sdks/search/README.md#query) - Search
509509

510-
#### [client().shortcuts()](docs/sdks/clientshortcuts/README.md)
510+
### [Client.Shortcuts](docs/sdks/clientshortcuts/README.md)
511511

512512
* [create](docs/sdks/clientshortcuts/README.md#create) - Create shortcut
513513
* [delete](docs/sdks/clientshortcuts/README.md#delete) - Delete shortcut
514514
* [retrieve](docs/sdks/clientshortcuts/README.md#retrieve) - Read shortcut
515515
* [list](docs/sdks/clientshortcuts/README.md#list) - List shortcuts
516516
* [update](docs/sdks/clientshortcuts/README.md#update) - Update shortcut
517517

518-
#### [client().tools()](docs/sdks/tools/README.md)
518+
### [Client.Tools](docs/sdks/tools/README.md)
519519

520520
* [list](docs/sdks/tools/README.md#list) - List available tools
521521
* [run](docs/sdks/tools/README.md#run) - Execute the specified tool
522522

523-
#### [client().verification()](docs/sdks/verification/README.md)
523+
### [Client.Verification](docs/sdks/verification/README.md)
524524

525525
* [addReminder](docs/sdks/verification/README.md#addreminder) - Create verification
526526
* [list](docs/sdks/verification/README.md#list) - List verifications
527527
* [verify](docs/sdks/verification/README.md#verify) - Update verification
528528

529-
#### [indexing().authentication()](docs/sdks/indexingauthentication/README.md)
529+
### [Governance](docs/sdks/governance/README.md)
530+
531+
* [createfindingsexport](docs/sdks/governance/README.md#createfindingsexport) - Creates findings export
532+
* [listfindingsexports](docs/sdks/governance/README.md#listfindingsexports) - Lists findings exports
533+
* [downloadfindingsexport](docs/sdks/governance/README.md#downloadfindingsexport) - Downloads findings export
534+
* [deletefindingsexport](docs/sdks/governance/README.md#deletefindingsexport) - Deletes findings export
535+
536+
### [Indexing.Authentication](docs/sdks/indexingauthentication/README.md)
530537

531538
* [rotateToken](docs/sdks/indexingauthentication/README.md#rotatetoken) - Rotate token
532539

533-
#### [indexing().datasource()](docs/sdks/datasource/README.md)
540+
### [Indexing.Datasource](docs/sdks/datasource/README.md)
534541

535542
* [status](docs/sdks/datasource/README.md#status) - Beta: Get datasource status
536543

537544

538-
#### [indexing().datasources()](docs/sdks/datasources/README.md)
545+
### [Indexing.Datasources](docs/sdks/datasources/README.md)
539546

540547
* [add](docs/sdks/datasources/README.md#add) - Add or update datasource
541548
* [retrieveConfig](docs/sdks/datasources/README.md#retrieveconfig) - Get datasource config
542549

543-
#### [indexing().documents()](docs/sdks/indexingdocuments/README.md)
550+
### [Indexing.Documents](docs/sdks/indexingdocuments/README.md)
544551

545552
* [addOrUpdate](docs/sdks/indexingdocuments/README.md#addorupdate) - Index document
546553
* [index](docs/sdks/indexingdocuments/README.md#index) - Index documents
@@ -555,7 +562,7 @@ For more information on obtaining the appropriate token type, please contact you
555562
* [~~status~~](docs/sdks/indexingdocuments/README.md#status) - Get document upload and indexing status :warning: **Deprecated**
556563
* [~~count~~](docs/sdks/indexingdocuments/README.md#count) - Get document count :warning: **Deprecated**
557564

558-
#### [indexing().people()](docs/sdks/people/README.md)
565+
### [Indexing.People](docs/sdks/people/README.md)
559566

560567
* [debug](docs/sdks/people/README.md#debug) - Beta: Get user information
561568

@@ -568,7 +575,7 @@ For more information on obtaining the appropriate token type, please contact you
568575
* [deleteTeam](docs/sdks/people/README.md#deleteteam) - Delete team
569576
* [bulkIndexTeams](docs/sdks/people/README.md#bulkindexteams) - Bulk index teams
570577

571-
#### [indexing().permissions()](docs/sdks/permissions/README.md)
578+
### [Indexing.Permissions](docs/sdks/permissions/README.md)
572579

573580
* [updatePermissions](docs/sdks/permissions/README.md#updatepermissions) - Update document permissions
574581
* [indexUser](docs/sdks/permissions/README.md#indexuser) - Index user
@@ -583,7 +590,7 @@ For more information on obtaining the appropriate token type, please contact you
583590
* [deleteMembership](docs/sdks/permissions/README.md#deletemembership) - Delete membership
584591
* [authorizeBetaUsers](docs/sdks/permissions/README.md#authorizebetausers) - Beta users
585592

586-
#### [indexing().shortcuts()](docs/sdks/indexingshortcuts/README.md)
593+
### [Indexing.Shortcuts](docs/sdks/indexingshortcuts/README.md)
587594

588595
* [bulkIndex](docs/sdks/indexingshortcuts/README.md#bulkindex) - Bulk index external shortcuts
589596
* [upload](docs/sdks/indexingshortcuts/README.md#upload) - Upload shortcuts
@@ -1286,8 +1293,8 @@ public class Application {
12861293
many more subclasses in the JDK platform).
12871294

12881295
**Inherit from [`GleanError`](./src/main/java/models/errors/GleanError.java)**:
1289-
* [`com.glean.api_client.glean_api_client.models.errors.CollectionError`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.CollectionError.java): Semantic error. Status code `422`. Applicable to 3 of 109 methods.*
1290-
* [`com.glean.api_client.glean_api_client.models.errors.GleanDataError`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.GleanDataError.java): Forbidden. Applicable to 2 of 109 methods.*
1296+
* [`com.glean.api_client.glean_api_client.models.errors.CollectionError`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.CollectionError.java): Semantic error. Status code `422`. Applicable to 3 of 113 methods.*
1297+
* [`com.glean.api_client.glean_api_client.models.errors.GleanDataError`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.GleanDataError.java): Forbidden. Applicable to 2 of 113 methods.*
12911298

12921299

12931300
</details>

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,4 +428,14 @@ Based on:
428428
### Generated
429429
- [java v0.12.8] .
430430
### Releases
431-
- [Maven Central v0.12.8] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.8 - .
431+
- [Maven Central v0.12.8] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.8 - .
432+
433+
## 2025-12-10 18:20:27
434+
### Changes
435+
Based on:
436+
- OpenAPI Doc
437+
- Speakeasy CLI 1.675.2 (2.778.5) https://github.com/speakeasy-api/speakeasy
438+
### Generated
439+
- [java v0.12.9] .
440+
### Releases
441+
- [Maven Central v0.12.9] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.9 - .
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# CustomSensitiveExpression
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
8+
| `id` | *Optional\<String>* | :heavy_minus_sign: | Identifier for the custom sensitive expression. |
9+
| `keyword` | [Optional\<CustomSensitiveRule>](../../models/components/CustomSensitiveRule.md) | :heavy_minus_sign: | N/A |
10+
| `evaluationExpression` | *Optional\<String>* | :heavy_minus_sign: | The expression to evaluate the keyword match. |

0 commit comments

Comments
 (0)