Skip to content

Commit 22191cb

Browse files
Merge pull request #22 from gleanwork/speakeasy-sdk-regen-1746753798
chore: 🐝 Update SDK - Generate 0.3.0
2 parents 5542caa + f2ba1fa commit 22191cb

File tree

97 files changed

+220148
-5402
lines changed

Some content is hidden

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

97 files changed

+220148
-5402
lines changed

.speakeasy/gen.lock

Lines changed: 14 additions & 14 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.2.0
27+
version: 0.3.0
2828
additionalDependencies:
2929
dependencies: {}
3030
devDependencies: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ info:
2525
url: https://app.glean.com/images/glean-text2.svg
2626
x-speakeasy-name: "Glean API"
2727
servers:
28-
- url: https://{domain}-be.glean.com
28+
- url: https://{instance}-be.glean.com
2929
variables:
30-
domain:
31-
default: domain
32-
description: Email domain (without extension) that determines the deployment backend.
30+
instance:
31+
default: instance-name
32+
description: The instance name (typically the email domain without the extension) that determines the deployment backend.
3333
security:
3434
- APIToken: []
3535
paths:

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.542.3
1+
speakeasyVersion: 1.543.3
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:fadc7213e38c3b2e11ec0a197f00752cd51f95a42e6f50b697acff848c245f49
6-
sourceBlobDigest: sha256:c149481e92330fc2ccfe73b55bac335ff2599266b185b84d4c0fc9a6156e9f49
5+
sourceRevisionDigest: sha256:82bb62b5b7c3fdce61c9cf5c25bc2661f776c5ee5d007e9776961a08aabb8877
6+
sourceBlobDigest: sha256:48b2f6720cfd61b99c4cf5dc168fab967984c5c20d2ac425b99ce326f3291647
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1746548994
9+
- speakeasy-sdk-regen-1746753798
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:fadc7213e38c3b2e11ec0a197f00752cd51f95a42e6f50b697acff848c245f49
22-
sourceBlobDigest: sha256:c149481e92330fc2ccfe73b55bac335ff2599266b185b84d4c0fc9a6156e9f49
21+
sourceRevisionDigest: sha256:82bb62b5b7c3fdce61c9cf5c25bc2661f776c5ee5d007e9776961a08aabb8877
22+
sourceBlobDigest: sha256:48b2f6720cfd61b99c4cf5dc168fab967984c5c20d2ac425b99ce326f3291647
2323
codeSamplesNamespace: glean-api-specs-typescript-code-samples
24-
codeSamplesRevisionDigest: sha256:16ab8a8c1703432060cf75d3d9f29f6f79d9a3c31cf17ecbaa479ff4f4b228ea
24+
codeSamplesRevisionDigest: sha256:40c57da5282568b47f36ae7e7e113e461e4833eaf9ea84e98c5a57432cfa5508
2525
workflow:
2626
workflowVersion: 1.0.0
2727
speakeasyVersion: latest

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -878,19 +878,19 @@ In some rare cases, the SDK can fail to get a response from the server or even m
878878

879879
### Server Variables
880880

881-
The default server `https://{domain}-be.glean.com` contains variables and is set to `https://domain-be.glean.com` by default. To override default values, the following parameters are available when initializing the SDK client instance:
881+
The default server `https://{instance}-be.glean.com` contains variables and is set to `https://instance-name-be.glean.com` by default. To override default values, the following parameters are available when initializing the SDK client instance:
882882

883-
| Variable | Parameter | Default | Description |
884-
| -------- | ---------------- | ---------- | ------------------------------------------------------------------------ |
885-
| `domain` | `domain: string` | `"domain"` | Email domain (without extension) that determines the deployment backend. |
883+
| Variable | Parameter | Default | Description |
884+
| ---------- | ------------------ | ----------------- | ------------------------------------------------------------------------------------------------------------ |
885+
| `instance` | `instance: string` | `"instance-name"` | The instance name (typically the email domain without the extension) that determines the deployment backend. |
886886

887887
#### Example
888888

889889
```typescript
890890
import { Glean } from "@gleanwork/api-client";
891891

892892
const glean = new Glean({
893-
domain: "scared-pearl.biz",
893+
instance: "<value>",
894894
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
895895
});
896896

@@ -934,7 +934,7 @@ The default server can be overridden globally by passing a URL to the `serverURL
934934
import { Glean } from "@gleanwork/api-client";
935935

936936
const glean = new Glean({
937-
serverURL: "https://domain-be.glean.com",
937+
serverURL: "https://instance-name-be.glean.com",
938938
apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
939939
});
940940

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,14 @@ Based on:
9898
### Generated
9999
- [typescript v0.2.0] .
100100
### Releases
101-
- [NPM v0.2.0] https://www.npmjs.com/package/@gleanwork/api-client/v/0.2.0 - .
101+
- [NPM v0.2.0] https://www.npmjs.com/package/@gleanwork/api-client/v/0.2.0 - .
102+
103+
## 2025-05-09 16:19:25
104+
### Changes
105+
Based on:
106+
- OpenAPI Doc
107+
- Speakeasy CLI 1.543.3 (2.598.22) https://github.com/speakeasy-api/speakeasy
108+
### Generated
109+
- [typescript v0.3.0] .
110+
### Releases
111+
- [NPM v0.3.0] https://www.npmjs.com/package/@gleanwork/api-client/v/0.3.0 - .

docs/models/components/answer.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ let value: Answer = {
6666
documentId: "documentId",
6767
createTime: new Date("2000-01-23T04:56:07.000Z"),
6868
updateTime: new Date("2000-01-23T04:56:07.000Z"),
69+
author: {
70+
name: "name",
71+
obfuscatedId: "<id>",
72+
},
6973
components: [
7074
"Backend",
7175
"Networking",
@@ -90,7 +94,12 @@ let value: Answer = {
9094
},
9195
remindAt: 108859,
9296
},
93-
candidateVerifiers: [],
97+
candidateVerifiers: [
98+
{
99+
name: "George Clooney",
100+
obfuscatedId: "abc123",
101+
},
102+
],
94103
},
95104
},
96105
board: {

docs/models/components/answerresult.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ let value: AnswerResult = {
6767
documentId: "documentId",
6868
createTime: new Date("2000-01-23T04:56:07.000Z"),
6969
updateTime: new Date("2000-01-23T04:56:07.000Z"),
70+
author: {
71+
name: "name",
72+
obfuscatedId: "<id>",
73+
},
7074
components: [
7175
"Backend",
7276
"Networking",
@@ -91,7 +95,12 @@ let value: AnswerResult = {
9195
},
9296
remindAt: 236261,
9397
},
94-
candidateVerifiers: [],
98+
candidateVerifiers: [
99+
{
100+
name: "George Clooney",
101+
obfuscatedId: "abc123",
102+
},
103+
],
95104
},
96105
},
97106
board: {

docs/models/components/calendarevent.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,12 @@ let value: CalendarEvent = {
5858
about:
5959
"Financial, software, data, and media company headquartered in Midtown Manhattan, New York City",
6060
},
61-
poc: [],
61+
poc: [
62+
{
63+
name: "George Clooney",
64+
obfuscatedId: "abc123",
65+
},
66+
],
6267
mergedCustomers: [],
6368
notes: "CIO is interested in trying out the product.",
6469
},

docs/models/components/chat.md

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,12 @@ let value: Chat = {
9292
about:
9393
"Financial, software, data, and media company headquartered in Midtown Manhattan, New York City",
9494
},
95-
poc: [],
95+
poc: [
96+
{
97+
name: "George Clooney",
98+
obfuscatedId: "abc123",
99+
},
100+
],
96101
mergedCustomers: [],
97102
notes: "CIO is interested in trying out the product.",
98103
},
@@ -167,7 +172,12 @@ let value: Chat = {
167172
},
168173
remindAt: 374358,
169174
},
170-
candidateVerifiers: [],
175+
candidateVerifiers: [
176+
{
177+
name: "George Clooney",
178+
obfuscatedId: "abc123",
179+
},
180+
],
171181
},
172182
},
173183
board: {
@@ -201,6 +211,12 @@ let value: Chat = {
201211
title: "title",
202212
url: "https://example.com/foo/bar",
203213
nativeAppUrl: "slack://foo/bar",
214+
snippets: [
215+
{
216+
snippet: "snippet",
217+
mimeType: "mimeType",
218+
},
219+
],
204220
mustIncludeSuggestions: {},
205221
},
206222
},
@@ -260,7 +276,13 @@ let value: Chat = {
260276
destinationDocument: {},
261277
},
262278
querySuggestions: {
263-
suggestions: [],
279+
suggestions: [
280+
{
281+
query: "app:github type:pull author:mortimer",
282+
label: "Mortimer's PRs",
283+
datasource: "github",
284+
},
285+
],
264286
},
265287
relatedDocuments: [],
266288
relatedQuestion: {

docs/models/components/chatmessage.md

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,12 @@ let value: ChatMessage = {
8080
about:
8181
"Financial, software, data, and media company headquartered in Midtown Manhattan, New York City",
8282
},
83-
poc: [],
83+
poc: [
84+
{
85+
name: "George Clooney",
86+
obfuscatedId: "abc123",
87+
},
88+
],
8489
mergedCustomers: [],
8590
notes: "CIO is interested in trying out the product.",
8691
},
@@ -155,7 +160,12 @@ let value: ChatMessage = {
155160
},
156161
remindAt: 46781,
157162
},
158-
candidateVerifiers: [],
163+
candidateVerifiers: [
164+
{
165+
name: "George Clooney",
166+
obfuscatedId: "abc123",
167+
},
168+
],
159169
},
160170
},
161171
board: {
@@ -189,6 +199,12 @@ let value: ChatMessage = {
189199
title: "title",
190200
url: "https://example.com/foo/bar",
191201
nativeAppUrl: "slack://foo/bar",
202+
snippets: [
203+
{
204+
snippet: "snippet",
205+
mimeType: "mimeType",
206+
},
207+
],
192208
mustIncludeSuggestions: {},
193209
},
194210
},
@@ -252,7 +268,13 @@ let value: ChatMessage = {
252268
destinationDocument: {},
253269
},
254270
querySuggestions: {
255-
suggestions: [],
271+
suggestions: [
272+
{
273+
query: "app:github type:pull author:mortimer",
274+
label: "Mortimer's PRs",
275+
datasource: "github",
276+
},
277+
],
256278
},
257279
relatedDocuments: [],
258280
relatedQuestion: {

docs/models/components/chatmessagefragment.md

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,12 @@ let value: ChatMessageFragment = {
5151
about:
5252
"Financial, software, data, and media company headquartered in Midtown Manhattan, New York City",
5353
},
54-
poc: [],
54+
poc: [
55+
{
56+
name: "George Clooney",
57+
obfuscatedId: "abc123",
58+
},
59+
],
5560
mergedCustomers: [],
5661
notes: "CIO is interested in trying out the product.",
5762
},
@@ -126,7 +131,12 @@ let value: ChatMessageFragment = {
126131
},
127132
remindAt: 14390,
128133
},
129-
candidateVerifiers: [],
134+
candidateVerifiers: [
135+
{
136+
name: "George Clooney",
137+
obfuscatedId: "abc123",
138+
},
139+
],
130140
},
131141
},
132142
board: {
@@ -161,7 +171,12 @@ let value: ChatMessageFragment = {
161171
title: "title",
162172
url: "https://example.com/foo/bar",
163173
nativeAppUrl: "slack://foo/bar",
164-
snippets: [],
174+
snippets: [
175+
{
176+
snippet: "snippet",
177+
mimeType: "mimeType",
178+
},
179+
],
165180
mustIncludeSuggestions: {},
166181
},
167182
},
@@ -225,7 +240,13 @@ let value: ChatMessageFragment = {
225240
destinationDocument: {},
226241
},
227242
querySuggestions: {
228-
suggestions: [],
243+
suggestions: [
244+
{
245+
query: "app:github type:pull author:mortimer",
246+
label: "Mortimer's PRs",
247+
datasource: "github",
248+
},
249+
],
229250
},
230251
relatedDocuments: [],
231252
relatedQuestion: {

docs/models/components/chatrequest.md

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,12 @@ let value: ChatRequest = {
8080
about:
8181
"Financial, software, data, and media company headquartered in Midtown Manhattan, New York City",
8282
},
83-
poc: [],
83+
poc: [
84+
{
85+
name: "George Clooney",
86+
obfuscatedId: "abc123",
87+
},
88+
],
8489
mergedCustomers: [],
8590
notes: "CIO is interested in trying out the product.",
8691
},
@@ -155,7 +160,12 @@ let value: ChatRequest = {
155160
},
156161
remindAt: 939918,
157162
},
158-
candidateVerifiers: [],
163+
candidateVerifiers: [
164+
{
165+
name: "George Clooney",
166+
obfuscatedId: "abc123",
167+
},
168+
],
159169
},
160170
},
161171
board: {
@@ -189,6 +199,12 @@ let value: ChatRequest = {
189199
title: "title",
190200
url: "https://example.com/foo/bar",
191201
nativeAppUrl: "slack://foo/bar",
202+
snippets: [
203+
{
204+
snippet: "snippet",
205+
mimeType: "mimeType",
206+
},
207+
],
192208
mustIncludeSuggestions: {},
193209
},
194210
},
@@ -252,7 +268,13 @@ let value: ChatRequest = {
252268
destinationDocument: {},
253269
},
254270
querySuggestions: {
255-
suggestions: [],
271+
suggestions: [
272+
{
273+
query: "app:github type:pull author:mortimer",
274+
label: "Mortimer's PRs",
275+
datasource: "github",
276+
},
277+
],
256278
},
257279
relatedDocuments: [],
258280
relatedQuestion: {

0 commit comments

Comments
 (0)