Skip to content
Open
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9,981 changes: 8,115 additions & 1,866 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ generation:
requestBodyFieldName: ""
mockServer:
disabled: false
persistentEdits: {}
tests:
generateTests: true
generateNewTests: true
skipResponseBodyAssertions: true
python:
version: 0.11.22
version: 0.12.1
additionalDependencies:
dev: {}
main: {}
Expand Down Expand Up @@ -61,18 +62,20 @@ python:
operations: ""
shared: ""
webhooks: ""
inferUnionDiscriminators: true
inputModelSuffix: input
legacyPyright: true
license: ""
maxMethodParams: 999
methodArguments: infer-optional-args
moduleName: glean.api_client
multipartArrayFormat: standard
outputModelSuffix: output
packageManager: poetry
packageName: glean
preApplyUnionDiscriminators: false
pytestFilterWarnings: []
pytestTimeout: 0
responseFormat: flat
sseFlatResponse: false
templateVersion: v2
multipartArrayFormat: standard
346 changes: 327 additions & 19 deletions .speakeasy/glean-merged-spec.yaml

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions .speakeasy/tests.arazzo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158406,3 +158406,33 @@ workflows:
}
type: simple
x-speakeasy-test-group: client_shortcuts
- workflowId: listfindingsexports
steps:
- stepId: test
operationId: listfindingsexports
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{}
type: simple
x-speakeasy-test-group: Governance
x-speakeasy-test-rebuild: true
- workflowId: downloadfindingsexport
steps:
- stepId: test
operationId: downloadfindingsexport
parameters:
- name: id
in: path
value: <id>
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == text/csv; charset=UTF-8
- context: $response.body
condition: |
"<value>"
type: simple
x-speakeasy-test-group: Governance
x-speakeasy-test-rebuild: true
59 changes: 33 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,38 +336,38 @@ For more information on obtaining the appropriate token type, please contact you
<details open>
<summary>Available methods</summary>

#### [client.activity](docs/sdks/clientactivity/README.md)
### [Client.Activity](docs/sdks/clientactivity/README.md)

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

#### [client.agents](docs/sdks/agents/README.md)
### [Client.Agents](docs/sdks/agents/README.md)

* [retrieve](docs/sdks/agents/README.md#retrieve) - Retrieve an agent
* [retrieve_schemas](docs/sdks/agents/README.md#retrieve_schemas) - List an agent's schemas
* [list](docs/sdks/agents/README.md#list) - Search agents
* [run_stream](docs/sdks/agents/README.md#run_stream) - Create an agent run and stream the response
* [run](docs/sdks/agents/README.md#run) - Create an agent run and wait for the response

#### [client.announcements](docs/sdks/announcements/README.md)
### [Client.Announcements](docs/sdks/announcements/README.md)

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

#### [client.answers](docs/sdks/answers/README.md)
### [Client.Answers](docs/sdks/answers/README.md)

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

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

* [create_token](docs/sdks/clientauthentication/README.md#create_token) - Create authentication token

#### [client.chat](docs/sdks/clientchat/README.md)
### [Client.Chat](docs/sdks/clientchat/README.md)

* [create](docs/sdks/clientchat/README.md#create) - Chat
* [delete_all](docs/sdks/clientchat/README.md#delete_all) - Deletes all saved Chats owned by a user
Expand All @@ -380,7 +380,7 @@ For more information on obtaining the appropriate token type, please contact you
* [delete_files](docs/sdks/clientchat/README.md#delete_files) - Delete files uploaded by a user for chat.
* [create_stream](docs/sdks/clientchat/README.md#create_stream) - Chat

#### [client.collections](docs/sdks/collections/README.md)
### [Client.Collections](docs/sdks/collections/README.md)

* [add_items](docs/sdks/collections/README.md#add_items) - Add Collection item
* [create](docs/sdks/collections/README.md#create) - Create Collection
Expand All @@ -391,95 +391,102 @@ For more information on obtaining the appropriate token type, please contact you
* [retrieve](docs/sdks/collections/README.md#retrieve) - Read Collection
* [list](docs/sdks/collections/README.md#list) - List Collections

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

* [retrieve_permissions](docs/sdks/clientdocuments/README.md#retrieve_permissions) - Read document permissions
* [retrieve](docs/sdks/clientdocuments/README.md#retrieve) - Read documents
* [retrieve_by_facets](docs/sdks/clientdocuments/README.md#retrieve_by_facets) - Read documents by facets
* [summarize](docs/sdks/clientdocuments/README.md#summarize) - Summarize documents

#### [client.entities](docs/sdks/entities/README.md)
### [Client.Entities](docs/sdks/entities/README.md)

* [list](docs/sdks/entities/README.md#list) - List entities
* [read_people](docs/sdks/entities/README.md#read_people) - Read people

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

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

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

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

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

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

#### [client.insights](docs/sdks/insights/README.md)
### [Client.Insights](docs/sdks/insights/README.md)

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

#### [client.messages](docs/sdks/messages/README.md)
### [Client.Messages](docs/sdks/messages/README.md)

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

#### [client.pins](docs/sdks/pins/README.md)
### [Client.Pins](docs/sdks/pins/README.md)

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

#### [client.search](docs/sdks/search/README.md)
### [Client.Search](docs/sdks/search/README.md)

* [query_as_admin](docs/sdks/search/README.md#query_as_admin) - Search the index (admin)
* [autocomplete](docs/sdks/search/README.md#autocomplete) - Autocomplete
* [retrieve_feed](docs/sdks/search/README.md#retrieve_feed) - Feed of documents and events
* [recommendations](docs/sdks/search/README.md#recommendations) - Recommend documents
* [query](docs/sdks/search/README.md#query) - Search

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

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

#### [client.tools](docs/sdks/tools/README.md)
### [Client.Tools](docs/sdks/tools/README.md)

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

#### [client.verification](docs/sdks/clientverification/README.md)
### [Client.Verification](docs/sdks/clientverification/README.md)

* [add_reminder](docs/sdks/clientverification/README.md#add_reminder) - Create verification
* [list](docs/sdks/clientverification/README.md#list) - List verifications
* [verify](docs/sdks/clientverification/README.md#verify) - Update verification

#### [indexing.authentication](docs/sdks/indexingauthentication/README.md)
### [Governance](docs/sdks/governance/README.md)

* [createfindingsexport](docs/sdks/governance/README.md#createfindingsexport) - Creates findings export
* [listfindingsexports](docs/sdks/governance/README.md#listfindingsexports) - Lists findings exports
* [downloadfindingsexport](docs/sdks/governance/README.md#downloadfindingsexport) - Downloads findings export
* [deletefindingsexport](docs/sdks/governance/README.md#deletefindingsexport) - Deletes findings export

### [Indexing.Authentication](docs/sdks/indexingauthentication/README.md)

* [rotate_token](docs/sdks/indexingauthentication/README.md#rotate_token) - Rotate token

#### [indexing.datasource](docs/sdks/indexingdatasource/README.md)
### [Indexing.Datasource](docs/sdks/indexingdatasource/README.md)

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


#### [indexing.datasources](docs/sdks/datasources/README.md)
### [Indexing.Datasources](docs/sdks/datasources/README.md)

* [add](docs/sdks/datasources/README.md#add) - Add or update datasource
* [retrieve_config](docs/sdks/datasources/README.md#retrieve_config) - Get datasource config

#### [indexing.documents](docs/sdks/indexingdocuments/README.md)
### [Indexing.Documents](docs/sdks/indexingdocuments/README.md)

* [add_or_update](docs/sdks/indexingdocuments/README.md#add_or_update) - Index document
* [index](docs/sdks/indexingdocuments/README.md#index) - Index documents
Expand All @@ -494,7 +501,7 @@ For more information on obtaining the appropriate token type, please contact you
* [~~status~~](docs/sdks/indexingdocuments/README.md#status) - Get document upload and indexing status :warning: **Deprecated**
* [~~count~~](docs/sdks/indexingdocuments/README.md#count) - Get document count :warning: **Deprecated**

#### [indexing.people](docs/sdks/people/README.md)
### [Indexing.People](docs/sdks/people/README.md)

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

Expand All @@ -507,7 +514,7 @@ For more information on obtaining the appropriate token type, please contact you
* [delete_team](docs/sdks/people/README.md#delete_team) - Delete team
* [bulk_index_teams](docs/sdks/people/README.md#bulk_index_teams) - Bulk index teams

#### [indexing.permissions](docs/sdks/indexingpermissions/README.md)
### [Indexing.Permissions](docs/sdks/indexingpermissions/README.md)

* [update_permissions](docs/sdks/indexingpermissions/README.md#update_permissions) - Update document permissions
* [index_user](docs/sdks/indexingpermissions/README.md#index_user) - Index user
Expand All @@ -522,7 +529,7 @@ For more information on obtaining the appropriate token type, please contact you
* [delete_membership](docs/sdks/indexingpermissions/README.md#delete_membership) - Delete membership
* [authorize_beta_users](docs/sdks/indexingpermissions/README.md#authorize_beta_users) - Beta users

#### [indexing.shortcuts](docs/sdks/indexingshortcuts/README.md)
### [Indexing.Shortcuts](docs/sdks/indexingshortcuts/README.md)

* [bulk_index](docs/sdks/indexingshortcuts/README.md#bulk_index) - Bulk index external shortcuts
* [upload](docs/sdks/indexingshortcuts/README.md#upload) - Upload shortcuts
Expand Down
10 changes: 10 additions & 0 deletions docs/models/customsensitiveexpression.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# CustomSensitiveExpression


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
| `id` | *Optional[str]* | :heavy_minus_sign: | Identifier for the custom sensitive expression. |
| `keyword` | [Optional[models.CustomSensitiveRule]](../models/customsensitiverule.md) | :heavy_minus_sign: | N/A |
| `evaluation_expression` | *Optional[str]* | :heavy_minus_sign: | The expression to evaluate the keyword match. |
Loading