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
961 changes: 836 additions & 125 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
go:
version: 0.13.5
version: 0.14.0
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
baseErrorName: GleanError
Expand Down
3,074 changes: 2,146 additions & 928 deletions .speakeasy/glean-merged-spec.yaml

Large diffs are not rendered by default.

184 changes: 183 additions & 1 deletion .speakeasy/tests.arazzo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164914,7 +164914,7 @@ workflows:
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"id":"<id>","object":"response","created_at":"2026-05-19T05:32:52.505Z","status":"completed","output":[{"type":"message","role":"assistant","content":[{"type":"output_text","text":"<value>"}]}],"store":false,"request_id":"<id>"}
{"id":"<id>","object":"RESPONSE","created_at":"2026-05-19T05:32:52.505Z","status":"COMPLETED","output":[{"type":"MESSAGE","role":"ASSISTANT","content":[{"type":"OUTPUT_TEXT","text":"<value>"}]}],"store":false,"request_id":"<id>"}
type: simple
x-speakeasy-test-group: chat
x-speakeasy-test-rebuild: true
Expand Down Expand Up @@ -165139,3 +165139,185 @@ workflows:
type: simple
x-speakeasy-test-group: people
x-speakeasy-test-rebuild: true
- workflowId: platform-triggers-create
steps:
- stepId: test
operationId: platform-triggers-create
requestBody:
contentType: application/json
payload:
delivery:
auth:
secret: secret_test_123
type: BEARER
webhook_url: https://customer.app/webhook
description: Reviews I am tagged on, sent to my team's review channel
inputs:
repository: acme/payments-api
preset_id: GITHUB_1
successCriteria:
- condition: $statusCode == 201
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"trigger":{"trigger_id":"trigger_test_123","preset_id":"GITHUB_1","description":"Reviews I am tagged on, sent to my team's review channel","status":"ENABLED","inputs":{"repository":"acme/payments-api"},"delivery":{"webhook_url":"https://customer.app/webhook"},"created_at":"2025-08-17T18:19:46.877Z","updated_at":"2024-09-14T03:27:40.201Z","signing_secret":"whsec_xxx"},"request_id":"<id>"}
type: simple
x-speakeasy-test-group: triggers
x-speakeasy-test-rebuild: true
- workflowId: platform-triggers-list
steps:
- stepId: test
operationId: platform-triggers-list
parameters:
- name: page_size
in: query
value: 50
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"results":[],"has_more":true,"next_cursor":"<value>","request_id":"<id>"}
type: simple
x-speakeasy-test-group: triggers
x-speakeasy-test-rebuild: true
- workflowId: platform-triggers-get
steps:
- stepId: test
operationId: platform-triggers-get
parameters:
- name: trigger_id
in: path
value: <id>
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"trigger":{"trigger_id":"trigger_test_123","preset_id":"GITHUB_1","description":"Reviews I am tagged on, sent to my team's review channel","status":"ENABLED","inputs":{"repository":"acme/payments-api"},"delivery":{"webhook_url":"https://customer.app/webhook"},"created_at":"2024-01-06T01:37:37.232Z","updated_at":"2025-07-02T01:19:47.126Z"},"request_id":"<id>"}
type: simple
x-speakeasy-test-group: triggers
x-speakeasy-test-rebuild: true
- workflowId: platform-triggers-update
steps:
- stepId: test
operationId: platform-triggers-update
parameters:
- name: trigger_id
in: path
value: <id>
requestBody:
contentType: application/json
payload:
delivery:
auth:
secret: secret_test_123
type: BEARER
webhook_url: https://customer.app/webhook
description: Reviews I am tagged on, sent to my team's review channel
inputs:
repository: acme/payments-api
status: ENABLED
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"trigger":{"trigger_id":"trigger_test_123","preset_id":"GITHUB_1","description":"Reviews I am tagged on, sent to my team's review channel","status":"ENABLED","inputs":{"repository":"acme/payments-api"},"delivery":{"webhook_url":"https://customer.app/webhook"},"created_at":"2026-09-03T11:57:47.699Z","updated_at":"2026-01-25T02:15:09.513Z"},"request_id":"<id>"}
type: simple
x-speakeasy-test-group: triggers
x-speakeasy-test-rebuild: true
- workflowId: platform-triggers-events-search
steps:
- stepId: test
operationId: platform-triggers-events-search
parameters:
- name: trigger_id
in: path
value: <id>
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"results":[{"event_type":"DOCUMENT_CHANGE","datasource":"GITHUB","reason":"REVIEW_REQUESTED","doc_type":"pull","doc_id":"<id>","view_url":"https://silent-omelet.biz","title":"<value>","event_time":"2024-06-12T22:23:25.274Z"}],"has_more":false,"request_id":"<id>"}
type: simple
x-speakeasy-test-group: triggers
x-speakeasy-test-rebuild: true
- workflowId: platform-trigger-presets-list
steps:
- stepId: test
operationId: platform-trigger-presets-list
parameters:
- name: page_size
in: query
value: 50
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"results":[],"has_more":false,"next_cursor":null,"request_id":"<id>"}
type: simple
x-speakeasy-test-group: triggers
x-speakeasy-test-rebuild: true
- workflowId: platform-trigger-presets-get
steps:
- stepId: test
operationId: platform-trigger-presets-get
parameters:
- name: preset_id
in: path
value: <id>
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"trigger_preset":{"preset_id":"GITHUB_1","datasource":"github","display_name":"Review requested from me","description":"A review is requested from the trigger creator on a pull request","inputs":[]},"request_id":"<id>"}
type: simple
x-speakeasy-test-group: triggers
x-speakeasy-test-rebuild: true
- workflowId: platform-trigger-presets-input-values-list
steps:
- stepId: test
operationId: platform-trigger-presets-input-values-list
parameters:
- name: preset_id
in: path
value: <id>
- name: field
in: query
value: <value>
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"results":[{"value":"acme/payments-api","display_name":"acme/payments-api"}],"is_truncated":false,"request_id":"<id>"}
type: simple
x-speakeasy-test-group: triggers
x-speakeasy-test-rebuild: true
- workflowId: platform-trigger-presets-events-search
steps:
- stepId: test
operationId: platform-trigger-presets-events-search
parameters:
- name: preset_id
in: path
value: <id>
requestBody:
contentType: application/json
payload:
inputs:
repository: acme/payments-api
page_size: 10
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"results":[{"event_type":"DOCUMENT_CHANGE","datasource":"GITHUB","reason":"REVIEW_REQUESTED","doc_type":"pull","doc_id":"<id>","view_url":"https://prickly-cutover.info/","title":"<value>","event_time":"2025-04-15T15:45:31.544Z"}],"has_more":false,"request_id":"<id>"}
type: simple
x-speakeasy-test-group: triggers
x-speakeasy-test-rebuild: true
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
speakeasyVersion: 1.792.0
speakeasyVersion: 1.795.0
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:ca77ef4550d695da210e8f0d32f3422d29e9d09f7aa66f7b13d248c6ec8c7941
sourceBlobDigest: sha256:469de4cd2c8ab4928c3989656bf63cc265a8ceea5a8b3e3498734137b19723f8
sourceRevisionDigest: sha256:7590acf97cd954f21cc18c002b6bd70d1fa7a3791189a7588aa01394b165f027
sourceBlobDigest: sha256:01e99ca22489a7c7e609b1a95ca2cf2b4cade6a60cc28019dc2a40731a69dad9
tags:
- latest
petstore-oas:
Expand All @@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:ca77ef4550d695da210e8f0d32f3422d29e9d09f7aa66f7b13d248c6ec8c7941
sourceBlobDigest: sha256:469de4cd2c8ab4928c3989656bf63cc265a8ceea5a8b3e3498734137b19723f8
sourceRevisionDigest: sha256:7590acf97cd954f21cc18c002b6bd70d1fa7a3791189a7588aa01394b165f027
sourceBlobDigest: sha256:01e99ca22489a7c7e609b1a95ca2cf2b4cade6a60cc28019dc2a40731a69dad9
codeSamplesNamespace: glean-api-specs-go-code-samples
codeSamplesRevisionDigest: sha256:df19d1292f8190bf57b907045c6e7529b7f5c500b6d01a0f8d909961d64ae7f5
codeSamplesRevisionDigest: sha256:fc2042aa1a0f6694b8de1bc4283acdce56b3b2dd128d95896e35c1b0492663cd
petstore:
source: petstore-oas
sourceNamespace: petstore-oas
Expand Down
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,8 @@ For more information on obtaining the appropriate token type, please contact you

* [Create](docs/sdks/skills/README.md#create) - Create skill
* [List](docs/sdks/skills/README.md#list) - List skills
* [Validate](docs/sdks/skills/README.md#validate) - Validate skill bundle
* [Import](docs/sdks/skills/README.md#import) - Import skills from GitHub
* [Validate](docs/sdks/skills/README.md#validate) - Validate skill bundle
* [PreviewSource](docs/sdks/skills/README.md#previewsource) - Preview a GitHub skill source
* [Update](docs/sdks/skills/README.md#update) - Update skill
* [Delete](docs/sdks/skills/README.md#delete) - Delete skill
Expand All @@ -487,6 +487,19 @@ For more information on obtaining the appropriate token type, please contact you
* [RetrieveVersion](docs/sdks/skills/README.md#retrieveversion) - Retrieve skill version
* [RetrieveVersionContent](docs/sdks/skills/README.md#retrieveversioncontent) - Download skill version content

### [Triggers](docs/sdks/triggers/README.md)

* [Create](docs/sdks/triggers/README.md#create) - Create trigger
* [List](docs/sdks/triggers/README.md#list) - List triggers
* [Get](docs/sdks/triggers/README.md#get) - Get trigger
* [Update](docs/sdks/triggers/README.md#update) - Update trigger
* [Delete](docs/sdks/triggers/README.md#delete) - Delete trigger
* [SearchEvents](docs/sdks/triggers/README.md#searchevents) - Search events for a trigger
* [ListPresets](docs/sdks/triggers/README.md#listpresets) - List trigger presets
* [GetPreset](docs/sdks/triggers/README.md#getpreset) - Get trigger preset
* [ListPresetInputValues](docs/sdks/triggers/README.md#listpresetinputvalues) - Search trigger preset input values
* [SearchPresetEvents](docs/sdks/triggers/README.md#searchpresetevents) - Search events for a trigger preset

</details>
<!-- End Available Resources and Operations [operations] -->

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -818,4 +818,14 @@ Based on:
### Generated
- [go v0.13.5] .
### Releases
- [Go v0.13.5] https://github.com/gleanwork/api-client-go/releases/tag/v0.13.5 - .
- [Go v0.13.5] https://github.com/gleanwork/api-client-go/releases/tag/v0.13.5 - .

## 2026-08-19 17:51:45
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.795.0 (2.931.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.14.0] .
### Releases
- [Go v0.14.0] https://github.com/gleanwork/api-client-go/releases/tag/v0.14.0 - .
Loading
Loading