Skip to content

Commit 26f76a9

Browse files
Merge pull request #24 from gleanwork/speakeasy-sdk-regen-1747098990
chore: 🐝 Update SDK - Generate 0.4.0
2 parents 22191cb + ae08e40 commit 26f76a9

File tree

496 files changed

+174880
-50884
lines changed

Some content is hidden

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

496 files changed

+174880
-50884
lines changed

.speakeasy/gen.lock

Lines changed: 432 additions & 150 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ generation:
2424
generateNewTests: true
2525
skipResponseBodyAssertions: true
2626
typescript:
27-
version: 0.3.0
27+
version: 0.4.0
2828
additionalDependencies:
2929
dependencies: {}
3030
devDependencies: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 1027 additions & 117 deletions
Large diffs are not rendered by default.

.speakeasy/tests.arazzo.yaml

Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190156,3 +190156,176 @@ workflows:
190156190156
{}
190157190157
type: simple
190158190158
x-speakeasy-test-group: indexing_authentication
190159+
- workflowId: getAgent
190160+
steps:
190161+
- stepId: test
190162+
operationId: getAgent
190163+
parameters:
190164+
- name: agent_id
190165+
in: path
190166+
value: <id>
190167+
successCriteria:
190168+
- condition: $statusCode == 200
190169+
- condition: $response.header.Content-Type == application/json
190170+
- context: $response.body
190171+
condition: |
190172+
{
190173+
"agent_id": "\u003cid\u003e",
190174+
"name": "\u003cvalue\u003e",
190175+
"capabilities": {}
190176+
}
190177+
type: simple
190178+
x-speakeasy-test-group: agents
190179+
- workflowId: getAgentSchemas
190180+
steps:
190181+
- stepId: test
190182+
operationId: getAgentSchemas
190183+
parameters:
190184+
- name: agent_id
190185+
in: path
190186+
value: <id>
190187+
successCriteria:
190188+
- condition: $statusCode == 200
190189+
- condition: $response.header.Content-Type == application/json
190190+
- context: $response.body
190191+
condition: |
190192+
{
190193+
"agent_id": "\u003cid\u003e",
190194+
"input_schema": {},
190195+
"output_schema": {}
190196+
}
190197+
type: simple
190198+
x-speakeasy-test-group: agents
190199+
- workflowId: searchAgents
190200+
steps:
190201+
- stepId: test
190202+
operationId: searchAgents
190203+
requestBody:
190204+
contentType: application/json
190205+
payload: {}
190206+
successCriteria:
190207+
- condition: $statusCode == 200
190208+
- condition: $response.header.Content-Type == application/json
190209+
- context: $response.body
190210+
condition: |
190211+
{}
190212+
type: simple
190213+
x-speakeasy-test-group: agents
190214+
- workflowId: createAndStreamRun
190215+
steps:
190216+
- stepId: test
190217+
operationId: createAndStreamRun
190218+
requestBody:
190219+
contentType: application/json
190220+
payload: {}
190221+
successCriteria:
190222+
- condition: $statusCode == 200
190223+
- condition: $response.header.Content-Type == text/event-stream
190224+
- context: $response.body
190225+
condition: |
190226+
"\u003cvalue\u003e"
190227+
type: simple
190228+
x-speakeasy-test-group: agents
190229+
- workflowId: createAndWaitRun
190230+
steps:
190231+
- stepId: test
190232+
operationId: createAndWaitRun
190233+
requestBody:
190234+
contentType: application/json
190235+
payload: {}
190236+
successCriteria:
190237+
- condition: $statusCode == 200
190238+
- condition: $response.header.Content-Type == application/json
190239+
- context: $response.body
190240+
condition: |
190241+
{}
190242+
type: simple
190243+
x-speakeasy-test-group: agents
190244+
- workflowId: getpolicy
190245+
steps:
190246+
- stepId: test
190247+
operationId: getpolicy
190248+
parameters:
190249+
- name: id
190250+
in: path
190251+
value: <id>
190252+
successCriteria:
190253+
- condition: $statusCode == 200
190254+
- condition: $response.header.Content-Type == application/json
190255+
- context: $response.body
190256+
condition: |
190257+
{}
190258+
type: simple
190259+
x-speakeasy-test-group: policies
190260+
- workflowId: getpolicies
190261+
steps:
190262+
- stepId: test
190263+
operationId: getpolicies
190264+
successCriteria:
190265+
- condition: $statusCode == 200
190266+
- condition: $response.header.Content-Type == application/json
190267+
- context: $response.body
190268+
condition: |
190269+
{}
190270+
type: simple
190271+
x-speakeasy-test-group: policies
190272+
- workflowId: downloadpolicycsv
190273+
steps:
190274+
- stepId: test
190275+
operationId: downloadpolicycsv
190276+
parameters:
190277+
- name: id
190278+
in: path
190279+
value: <id>
190280+
successCriteria:
190281+
- condition: $statusCode == 200
190282+
- condition: $response.header.Content-Type == text/csv; charset=UTF-8
190283+
- context: $response.body
190284+
condition: |
190285+
"\u003cvalue\u003e"
190286+
type: simple
190287+
x-speakeasy-test-group: policies
190288+
- workflowId: downloadreportcsv
190289+
steps:
190290+
- stepId: test
190291+
operationId: downloadreportcsv
190292+
parameters:
190293+
- name: id
190294+
in: path
190295+
value: <id>
190296+
successCriteria:
190297+
- condition: $statusCode == 200
190298+
- condition: $response.header.Content-Type == text/csv; charset=UTF-8
190299+
- context: $response.body
190300+
condition: |
190301+
"\u003cvalue\u003e"
190302+
type: simple
190303+
x-speakeasy-test-group: reports
190304+
- workflowId: getreportstatus
190305+
steps:
190306+
- stepId: test
190307+
operationId: getreportstatus
190308+
parameters:
190309+
- name: id
190310+
in: path
190311+
value: <id>
190312+
successCriteria:
190313+
- condition: $statusCode == 200
190314+
- condition: $response.header.Content-Type == application/json; charset=UTF-8
190315+
- context: $response.body
190316+
condition: |
190317+
{}
190318+
type: simple
190319+
x-speakeasy-test-group: reports
190320+
- workflowId: getdocvisibility
190321+
steps:
190322+
- stepId: test
190323+
operationId: getdocvisibility
190324+
successCriteria:
190325+
- condition: $statusCode == 200
190326+
- condition: $response.header.Content-Type == application/json; charset=UTF-8
190327+
- context: $response.body
190328+
condition: |
190329+
{}
190330+
type: simple
190331+
x-speakeasy-test-group: visibilityoverrides

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.543.3
1+
speakeasyVersion: 1.546.1
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:82bb62b5b7c3fdce61c9cf5c25bc2661f776c5ee5d007e9776961a08aabb8877
6-
sourceBlobDigest: sha256:48b2f6720cfd61b99c4cf5dc168fab967984c5c20d2ac425b99ce326f3291647
5+
sourceRevisionDigest: sha256:12025ddda6d78666c39b69cec5ea04504ae09fc142cbdb3c33b0c4018d9e7493
6+
sourceBlobDigest: sha256:2ad51e5bc2b18513ffbe1cce35e497bba4fc3a86bdf55f9ffe2463b8f7e154ee
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1746753798
9+
- speakeasy-sdk-regen-1747098990
1010
Glean Client API:
1111
sourceNamespace: glean-client-api
1212
sourceRevisionDigest: sha256:aec0770b5bcca91068c3a844cb9ef4a091281f6cc3b7d86f2abef1bd6fb2b301
@@ -18,10 +18,10 @@ targets:
1818
glean:
1919
source: Glean API
2020
sourceNamespace: glean-api-specs
21-
sourceRevisionDigest: sha256:82bb62b5b7c3fdce61c9cf5c25bc2661f776c5ee5d007e9776961a08aabb8877
22-
sourceBlobDigest: sha256:48b2f6720cfd61b99c4cf5dc168fab967984c5c20d2ac425b99ce326f3291647
21+
sourceRevisionDigest: sha256:12025ddda6d78666c39b69cec5ea04504ae09fc142cbdb3c33b0c4018d9e7493
22+
sourceBlobDigest: sha256:2ad51e5bc2b18513ffbe1cce35e497bba4fc3a86bdf55f9ffe2463b8f7e154ee
2323
codeSamplesNamespace: glean-api-specs-typescript-code-samples
24-
codeSamplesRevisionDigest: sha256:40c57da5282568b47f36ae7e7e113e461e4833eaf9ea84e98c5a57432cfa5508
24+
codeSamplesRevisionDigest: sha256:d0cc6c5bfe55ccaddec8b91e31d2b327222431d05a97a44159ed1d4f2c478c90
2525
workflow:
2626
workflowVersion: 1.0.0
2727
speakeasyVersion: latest

FUNCTIONS.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ import { SDKValidationError } from "@gleanwork/api-client/models/errors/sdkvalid
2626
// Use `GleanCore` for best tree-shaking performance.
2727
// You can create one instance of it to use across an application.
2828
const glean = new GleanCore({
29-
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
29+
security: {
30+
actAsBearerToken: process.env["GLEAN_ACT_AS_BEARER_TOKEN"] ?? "",
31+
},
3032
});
3133

3234
async function run() {

0 commit comments

Comments
 (0)