Skip to content

Commit d36cb11

Browse files
Merge pull request #69 from gleanwork/speakeasy-sdk-regen-1760583314
chore: 🐝 Update SDK - Generate 0.12.3
2 parents 743637a + 0e01a27 commit d36cb11

17 files changed

Lines changed: 64 additions & 40 deletions

File tree

β€Ž.speakeasy/gen.lockβ€Ž

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 664aaca5-a41f-4434-8f2a-642dba92fe68
33
management:
4-
docChecksum: ef00a2f5125097d9f584f0bbb5436f00
4+
docChecksum: 5a4cd8de1e6ca5f701ac27e244d09799
55
docVersion: 0.9.0
66
speakeasyVersion: 1.636.3
77
generationVersion: 2.723.11
8-
releaseVersion: 0.12.2
9-
configChecksum: d0f5d58b90c41c41241fca798c0f847f
8+
releaseVersion: 0.12.3
9+
configChecksum: 19b09114c1109bc696d1327e2687e1ea
1010
repoURL: https://github.com/gleanwork/api-client-typescript.git
1111
installationURL: https://github.com/gleanwork/api-client-typescript
1212
published: true
@@ -2428,7 +2428,7 @@ examples:
24282428
messages:
24292429
speakeasy-default-messages:
24302430
requestBody:
2431-
application/json: {"idType": "CONVERSATION_ID", "id": "<id>"}
2431+
application/json: {"idType": "CONVERSATION_ID", "id": "<id>", "datasource": "GCHAT"}
24322432
responses:
24332433
"200":
24342434
application/json: {"hasMore": true, "searchResponse": {"trackingToken": "trackingToken", "results": [{"title": "title", "url": "https://www.example.com/", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}, {"title": "title", "url": "https://www.example.com/", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}], "errorInfo": {"errorMessages": [{"source": "gmail", "errorMessage": "invalid token"}, {"source": "slack", "errorMessage": "expired token"}]}, "requestID": "5e345ae500ff0befa2b9d1a3ba0001737e7363696f312d323535323137000171756572792d656e64706f696e743a323032303031333074313830343032000100", "facetResults": [{"sourceName": "sourceName", "operatorName": "operatorName", "buckets": [{"count": 1, "percentage": 5, "value": {"stringValue": "stringValue", "integerValue": 5}}, {"count": 1, "percentage": 5, "value": {"stringValue": "stringValue", "integerValue": 5}}]}, {"sourceName": "sourceName", "operatorName": "operatorName", "buckets": [{"count": 1, "percentage": 5, "value": {"stringValue": "stringValue", "integerValue": 5}}, {"count": 1, "percentage": 5, "value": {"stringValue": "stringValue", "integerValue": 5}}]}], "rewrittenFacetFilters": [{"fieldName": "fieldName", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Spreadsheet", "relationType": "EQUALS"}]}, {"fieldName": "fieldName", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Spreadsheet", "relationType": "EQUALS"}]}], "hasMoreResults": true}, "rootMessage": {"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}], "mustIncludeSuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}], "person": {"name": "George Clooney", "obfuscatedId": "abc123"}}}}
@@ -2979,6 +2979,4 @@ generatedTests:
29792979
createpolicy: "2025-06-09T18:05:10Z"
29802980
createreport: "2025-06-09T18:05:10Z"
29812981
setdocvisibility: "2025-06-09T18:05:10Z"
2982-
releaseNotes: |
2983-
## Typescript SDK Changes Detected:
2984-
* `glean.client.search.retrieveFeed()`: `response.results.[].primaryEntry.digest.sections.[].updates.[].urls` **Added**
2982+
releaseNotes: "## Typescript SDK Changes Detected:\n* `glean.client.messages.retrieve()`: \n * `request.datasource` **Changed** **Breaking** :warning:\n"

β€Ž.speakeasy/gen.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ generation:
2727
generateNewTests: true
2828
skipResponseBodyAssertions: true
2929
typescript:
30-
version: 0.12.2
30+
version: 0.12.3
3131
acceptHeaderEnum: true
3232
additionalDependencies:
3333
dependencies: {}

β€Ž.speakeasy/glean-merged-spec.yamlβ€Ž

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8774,6 +8774,7 @@ components:
87748774
required:
87758775
- id
87768776
- idType
8777+
- datasource
87778778
properties:
87788779
idType:
87798780
type: string
@@ -8805,9 +8806,11 @@ components:
88058806
type: string
88068807
enum:
88078808
- SLACK
8809+
- SLACKENTGRID
88088810
- MICROSOFTTEAMS
8811+
- GCHAT
88098812
- FACEBOOKWORKPLACE
8810-
description: The type of the data source. Missing field defaults to SLACK.
8813+
description: The type of the data source.
88118814
datasourceInstanceDisplayName:
88128815
type: string
88138816
description: The datasource instance display name from which the document was extracted. This is used for appinstance facet filter for datasources that support multiple instances.

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ speakeasyVersion: 1.636.3
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:784ebb76d989e40e13173fd5583545b5c83afb48be4d97b2c129cc90e2998f3f
6-
sourceBlobDigest: sha256:7d1478805de16c63a0e5c784706e64b229cb94f7e0b4d438aa52f764be944544
5+
sourceRevisionDigest: sha256:1dc42ac3d5012271bce5ddf879010efb2f292ded5ce08d224bb1cd28fcc4558d
6+
sourceBlobDigest: sha256:fa9263107a00a7b99c1ea0d1c0100757e4abad76b9156a0c98186da8953f8f16
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1760121029
9+
- speakeasy-sdk-regen-1760583314
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:784ebb76d989e40e13173fd5583545b5c83afb48be4d97b2c129cc90e2998f3f
22-
sourceBlobDigest: sha256:7d1478805de16c63a0e5c784706e64b229cb94f7e0b4d438aa52f764be944544
21+
sourceRevisionDigest: sha256:1dc42ac3d5012271bce5ddf879010efb2f292ded5ce08d224bb1cd28fcc4558d
22+
sourceBlobDigest: sha256:fa9263107a00a7b99c1ea0d1c0100757e4abad76b9156a0c98186da8953f8f16
2323
codeSamplesNamespace: glean-api-specs-typescript-code-samples
24-
codeSamplesRevisionDigest: sha256:12c9ed60916f5d53dcc8c6db5e5155b940e6c454f2de6e0584f43291c3e7ab84
24+
codeSamplesRevisionDigest: sha256:f39d52ad7b6250d4ce109578496aeb8154198383e9550287a44430deb5e0cf3e
2525
workflow:
2626
workflowVersion: 1.0.0
2727
speakeasyVersion: latest

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,4 +338,14 @@ Based on:
338338
### Generated
339339
- [typescript v0.12.2] .
340340
### Releases
341-
- [NPM v0.12.2] https://www.npmjs.com/package/@gleanwork/api-client/v/0.12.2 - .
341+
- [NPM v0.12.2] https://www.npmjs.com/package/@gleanwork/api-client/v/0.12.2 - .
342+
343+
## 2025-10-16 02:54:47
344+
### Changes
345+
Based on:
346+
- OpenAPI Doc
347+
- Speakeasy CLI 1.636.3 (2.723.11) https://github.com/speakeasy-api/speakeasy
348+
### Generated
349+
- [typescript v0.12.3] .
350+
### Releases
351+
- [NPM v0.12.3] https://www.npmjs.com/package/@gleanwork/api-client/v/0.12.3 - .

β€Ždocs/models/components/datasource.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Datasource
22

3-
The type of the data source. Missing field defaults to SLACK.
3+
The type of the data source.
44

55
## Example Usage
66

@@ -13,5 +13,5 @@ let value: Datasource = "SLACK";
1313
## Values
1414

1515
```typescript
16-
"SLACK" | "MICROSOFTTEAMS" | "FACEBOOKWORKPLACE"
16+
"SLACK" | "SLACKENTGRID" | "MICROSOFTTEAMS" | "GCHAT" | "FACEBOOKWORKPLACE"
1717
```

β€Ždocs/models/components/messagesrequest.mdβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { MessagesRequest } from "@gleanwork/api-client/models/components";
88
let value: MessagesRequest = {
99
idType: "CHANNEL_NAME",
1010
id: "<id>",
11+
datasource: "SLACKENTGRID",
1112
};
1213
```
1314

@@ -21,5 +22,5 @@ let value: MessagesRequest = {
2122
| `direction` | [components.Direction](../../models/components/direction.md) | :heavy_minus_sign: | The direction of the results asked with respect to the reference timestamp. Missing field defaults to OLDER. Only applicable when using a message_id. |
2223
| `timestampMillis` | *number* | :heavy_minus_sign: | Timestamp in millis of the reference message. Only applicable when using a message_id. |
2324
| `includeRootMessage` | *boolean* | :heavy_minus_sign: | Whether to include root message in response. |
24-
| `datasource` | [components.Datasource](../../models/components/datasource.md) | :heavy_minus_sign: | The type of the data source. Missing field defaults to SLACK. |
25+
| `datasource` | [components.Datasource](../../models/components/datasource.md) | :heavy_check_mark: | The type of the data source. |
2526
| `datasourceInstanceDisplayName` | *string* | :heavy_minus_sign: | The datasource instance display name from which the document was extracted. This is used for appinstance facet filter for datasources that support multiple instances. |

β€Ždocs/sdks/messages/README.mdβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ async function run() {
2525
const result = await glean.client.messages.retrieve({
2626
idType: "CONVERSATION_ID",
2727
id: "<id>",
28+
datasource: "GCHAT",
2829
});
2930

3031
console.log(result);
@@ -51,6 +52,7 @@ async function run() {
5152
const res = await clientMessagesRetrieve(glean, {
5253
idType: "CONVERSATION_ID",
5354
id: "<id>",
55+
datasource: "GCHAT",
5456
});
5557
if (res.ok) {
5658
const { value: result } = res;

β€Žexamples/package-lock.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žjsr.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{
44
"name": "@gleanwork/api-client",
5-
"version": "0.12.2",
5+
"version": "0.12.3",
66
"exports": {
77
".": "./src/index.ts",
88
"./models/errors": "./src/models/errors/index.ts",

0 commit comments

Comments
Β (0)