Skip to content

Commit 4db9e1b

Browse files
Merge pull request #65 from gleanwork/speakeasy-sdk-regen-1765502290
chore: 🐝 Update SDK - Generate 0.11.18
2 parents d6237c2 + 7e61408 commit 4db9e1b

File tree

11 files changed

+76
-38
lines changed

11 files changed

+76
-38
lines changed

.speakeasy/gen.lock

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
lockVersion: 2.0.0
22
id: 9d90eb9e-33f8-4170-8944-988f4000aad0
33
management:
4-
docChecksum: 74646e230b3f40b8ae92d641bbb73b26
4+
docChecksum: 155a8a099a04ddbed1268d2c31ba186a
55
docVersion: 0.9.0
66
speakeasyVersion: 1.675.4
77
generationVersion: 2.779.2
8-
releaseVersion: 0.11.17
9-
configChecksum: e2e089deb8f8bada4140df9a4a6a4d8d
8+
releaseVersion: 0.11.18
9+
configChecksum: 9d727f79f9bd9f77a5e56c49e4a5db39
1010
repoURL: https://github.com/gleanwork/api-client-go.git
1111
installationURL: https://github.com/gleanwork/api-client-go
1212
persistentEdits:
13-
generation_id: 0991bc09-6f81-4454-8fdf-2ca7c1b3e315
14-
pristine_commit_hash: 22d7868e5d40d4ceaa9148e2e2a7814260390174
15-
pristine_tree_hash: dc270f20384fe0c664621f5d5f0ae7920a25196e
13+
generation_id: 1b273a79-ea5f-4d68-b831-299e264e2c6d
14+
pristine_commit_hash: dbb47b59fecb175b787781b74333658366f45a6b
15+
pristine_tree_hash: 264d9ce96d6dde07871f36092ccf2b386e451d42
1616
features:
1717
go:
1818
additionalDependencies: 0.1.0
@@ -1094,8 +1094,8 @@ trackedFiles:
10941094
pristine_git_object: b52c9aa18729bffde32ae6494af3ef64719fb04e
10951095
docs/models/components/exportinfo.md:
10961096
id: 7b4a50bf6885
1097-
last_write_checksum: sha1:709ab12930b1713f18d6475dd7da1e07bcaa5c63
1098-
pristine_git_object: 6ece06a15550928e33cb105b0afaac7cbf74ee4a
1097+
last_write_checksum: sha1:b9d2ddca82db6b1ba7072cdcf537322232d1d375
1098+
pristine_git_object: ec0765169a7526c5ad97a6184ce917c35cf74799
10991099
docs/models/components/exportinfostatus.md:
11001100
id: aad464e2f4e7
11011101
last_write_checksum: sha1:5f0ff798a29200abd57bf8d8e6aaea83986ce7a9
@@ -3110,8 +3110,8 @@ trackedFiles:
31103110
pristine_git_object: 38237b506ea7b4bbd134c9a139aaa0e734f8009d
31113111
glean.go:
31123112
id: f5ed099b8e85
3113-
last_write_checksum: sha1:cfd7406deba49124e0f0d49ec82d9887e6501073
3114-
pristine_git_object: 67b37cc068ea0b40e87609f2983b8bf0ca82f18c
3113+
last_write_checksum: sha1:517a3ce688029c1b2835f81a857d3882c9b059f3
3114+
pristine_git_object: e1c8e98b59243a44780fd99e2ad3e7eab39e7051
31153115
go.mod:
31163116
id: c47645c391ad
31173117
last_write_checksum: sha1:86e3d2575dc26780579383eddbc5be5adbd21501
@@ -3982,8 +3982,8 @@ trackedFiles:
39823982
pristine_git_object: fbbce772f49968e62aa68d8f08892b07ec562d09
39833983
models/components/exportinfo.go:
39843984
id: ef8a5fbeadb9
3985-
last_write_checksum: sha1:c2273dda92e5a761a9f7fb4c45ea8240f6ac774d
3986-
pristine_git_object: b9ee36face1bb9c7a59c71d54cf6b482fdb12178
3985+
last_write_checksum: sha1:42cbacd4bf6c292230c54a7d0b02f52b595f5c8b
3986+
pristine_git_object: 053dfe34d3bb04c57c92e87e6c66357c12b14911
39873987
models/components/externalsharingoptions.go:
39883988
id: ac385abf9c5b
39893989
last_write_checksum: sha1:5401e398dda868f2327d0e05ff2b1ba39215431c
@@ -5562,8 +5562,8 @@ trackedFiles:
55625562
pristine_git_object: 31d37e51be97dc83d0f1802adf22a45f57e68cb7
55635563
tests/messages_test.go:
55645564
id: 3433c956b7a3
5565-
last_write_checksum: sha1:464100b05dbc1880ef064d4fe92f54d67b928b22
5566-
pristine_git_object: 69d483b9bf60853e828f44ae73503896ff8a2419
5565+
last_write_checksum: sha1:98a443dfa747b6c2fac5ca54982b0f8f18eda53f
5566+
pristine_git_object: cf7010f15557ed1f9ab05c11c6d101e023eaf28c
55675567
tests/mockserver/.gitignore:
55685568
last_write_checksum: sha1:228e1b05712a973948fd771323a2140a3b355ff4
55695569
tests/mockserver/Dockerfile:
@@ -6161,7 +6161,7 @@ trackedFiles:
61616161
tests/mockserver/internal/sdk/models/components/eventstrategyname.go:
61626162
last_write_checksum: sha1:acecfa3fb469871561d21b30275631ced4a4a11c
61636163
tests/mockserver/internal/sdk/models/components/exportinfo.go:
6164-
last_write_checksum: sha1:0fd962ff58d720caf13e09ce08624617485a4dcd
6164+
last_write_checksum: sha1:a211dd685d03fa0b8d7e0186d15abf9756d1bf4e
61656165
tests/mockserver/internal/sdk/models/components/externalsharingoptions.go:
61666166
last_write_checksum: sha1:82c4ead1f0d347a66103a3c44c8232b1a6f78243
61676167
tests/mockserver/internal/sdk/models/components/externalshortcut.go:
@@ -6950,8 +6950,8 @@ trackedFiles:
69506950
pristine_git_object: 0b13e747a68f52a864a463d684ed7176fb337f12
69516951
tests/summarize_test.go:
69526952
id: 1b63b0a16e69
6953-
last_write_checksum: sha1:8cc2a571fbab01437d6c05e8b6bba1bf46dd887a
6954-
pristine_git_object: 16c9f81ee8d7aebedde0b88cb4e37a7897209077
6953+
last_write_checksum: sha1:d77541c9f547595ffadb46ae6559111133291a24
6954+
pristine_git_object: ac7d064a8a1c8b65128f1e7078502f07906ee1d6
69556955
tests/testclient.go:
69566956
id: 78d36c6e169c
69576957
last_write_checksum: sha1:507c44e437934fbff8d295201c1327e18bd00df8
@@ -7877,6 +7877,10 @@ generatedTests:
78777877
setdocvisibility: "2025-06-09T17:49:25Z"
78787878
listfindingsexports: "2025-12-10T18:23:50Z"
78797879
downloadfindingsexport: "2025-12-10T18:23:50Z"
7880+
releaseNotes: |
7881+
## Go SDK Changes:
7882+
* `Glean.Governance.Createfindingsexport()`: `response.ExportSize` **Added**
7883+
* `Glean.Governance.Listfindingsexports()`: `response.Exports.[].ExportSize` **Added**
78807884
generatedFiles:
78817885
- .devcontainer/README.md
78827886
- .devcontainer/devcontainer.json

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ generation:
2929
generateNewTests: true
3030
skipResponseBodyAssertions: true
3131
go:
32-
version: 0.11.17
32+
version: 0.11.18
3333
additionalDependencies: {}
3434
allowUnknownFieldsInWeakUnions: false
3535
baseErrorName: GleanError

.speakeasy/glean-merged-spec.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.0
22
info:
33
version: 0.9.0
44
title: Glean API
5-
x-source-commit-sha: 2716d99b958fa0dbf1a48290203cb28f43c37a92
5+
x-source-commit-sha: 6c18cdaa8da169e191cc66885c326e2ea6d13644
66
description: |
77
# Introduction
88
In addition to the data sources that Glean has built-in support for, Glean also provides a REST API that enables customers to put arbitrary content in the search index. This is useful, for example, for doing permissions-aware search over content in internal tools that reside on-prem as well as for searching over applications that Glean does not currently support first class. In addition these APIs allow the customer to push organization data (people info, organization structure etc) into Glean.
@@ -22,7 +22,7 @@ info:
2222
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
2323
x-logo:
2424
url: https://app.glean.com/images/glean-text2.svg
25-
x-open-api-commit-sha: ecce1959afb4701947e853c482ed77ed6743e643
25+
x-open-api-commit-sha: c7a6190b989a16d24b879348f08e27efcb304566
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -13074,6 +13074,10 @@ components:
1307413074
- PENDING
1307513075
- COMPLETED
1307613076
- FAILED
13077+
exportSize:
13078+
type: integer
13079+
format: int64
13080+
description: The size of the exported file in bytes
1307713081
ListDlpFindingsExportsResponse:
1307813082
properties:
1307913083
exports:

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ speakeasyVersion: 1.675.4
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:cf8e5c9ddb51d4048054a3fd1d50321965893416a776cc9a328031075305918c
6-
sourceBlobDigest: sha256:c3c7966652dafb9a4cd580555d5b9d13a43ab4f198e2693485bdb5cc46094d3b
5+
sourceRevisionDigest: sha256:a38a82dd27fe58019cf7c85c19cbd402e93361c9df38ce070f2ca419eeab832f
6+
sourceBlobDigest: sha256:3840e8da76cb1e20b3c7f053acee46de0e4bcb58e17379e235342990ead4c8f8
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1765404399
9+
- speakeasy-sdk-regen-1765502290
1010
petstore-oas:
1111
sourceNamespace: petstore-oas
1212
sourceRevisionDigest: sha256:97b2eff2f43ce14276d28efc41ec5de8034cde61db8445f12b626e4dc88ea40e
@@ -18,10 +18,10 @@ targets:
1818
glean:
1919
source: Glean API
2020
sourceNamespace: glean-api-specs
21-
sourceRevisionDigest: sha256:cf8e5c9ddb51d4048054a3fd1d50321965893416a776cc9a328031075305918c
22-
sourceBlobDigest: sha256:c3c7966652dafb9a4cd580555d5b9d13a43ab4f198e2693485bdb5cc46094d3b
21+
sourceRevisionDigest: sha256:a38a82dd27fe58019cf7c85c19cbd402e93361c9df38ce070f2ca419eeab832f
22+
sourceBlobDigest: sha256:3840e8da76cb1e20b3c7f053acee46de0e4bcb58e17379e235342990ead4c8f8
2323
codeSamplesNamespace: glean-api-specs-go-code-samples
24-
codeSamplesRevisionDigest: sha256:18198a341090779156967d631d9b5075d7987f1da533ad2ca2da6354c7f0455f
24+
codeSamplesRevisionDigest: sha256:dcae1f2208b7924c016bddaaf8da432bdeb8e3d57100977c302257305eb0acb5
2525
petstore:
2626
source: petstore-oas
2727
sourceNamespace: petstore-oas

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,4 +468,14 @@ Based on:
468468
### Generated
469469
- [go v0.11.17] .
470470
### Releases
471-
- [Go v0.11.17] https://github.com/gleanwork/api-client-go/releases/tag/v0.11.17 - .
471+
- [Go v0.11.17] https://github.com/gleanwork/api-client-go/releases/tag/v0.11.17 - .
472+
473+
## 2025-12-12 06:44:42
474+
### Changes
475+
Based on:
476+
- OpenAPI Doc
477+
- Speakeasy CLI 1.675.4 (2.779.2) https://github.com/speakeasy-api/speakeasy
478+
### Generated
479+
- [go v0.11.18] .
480+
### Releases
481+
- [Go v0.11.18] https://github.com/gleanwork/api-client-go/releases/tag/v0.11.18 - .

docs/models/components/exportinfo.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@
1111
| `ExportID` | **string* | :heavy_minus_sign: | The ID of the export |
1212
| `FileName` | **string* | :heavy_minus_sign: | The name of the file to export the findings to |
1313
| `Filter` | [*components.DlpFindingFilter](../../models/components/dlpfindingfilter.md) | :heavy_minus_sign: | N/A |
14-
| `Status` | [*components.ExportInfoStatus](../../models/components/exportinfostatus.md) | :heavy_minus_sign: | The status of the export |
14+
| `Status` | [*components.ExportInfoStatus](../../models/components/exportinfostatus.md) | :heavy_minus_sign: | The status of the export |
15+
| `ExportSize` | **int64* | :heavy_minus_sign: | The size of the exported file in bytes |

glean.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ func WithTimeout(timeout time.Duration) SDKOption {
157157
// New creates a new instance of the SDK with the provided options
158158
func New(opts ...SDKOption) *Glean {
159159
sdk := &Glean{
160-
SDKVersion: "0.11.17",
160+
SDKVersion: "0.11.18",
161161
sdkConfiguration: config.SDKConfiguration{
162-
UserAgent: "speakeasy-sdk/go 0.11.17 2.779.2 0.9.0 github.com/gleanwork/api-client-go",
162+
UserAgent: "speakeasy-sdk/go 0.11.18 2.779.2 0.9.0 github.com/gleanwork/api-client-go",
163163
ServerList: ServerList,
164164
ServerVariables: []map[string]string{
165165
{

models/components/exportinfo.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ type ExportInfo struct {
5151
Filter *DlpFindingFilter `json:"filter,omitempty"`
5252
// The status of the export
5353
Status *ExportInfoStatus `json:"status,omitempty"`
54+
// The size of the exported file in bytes
55+
ExportSize *int64 `json:"exportSize,omitempty"`
5456
}
5557

5658
func (e *ExportInfo) GetCreatedBy() *DlpPerson {
@@ -101,3 +103,10 @@ func (e *ExportInfo) GetStatus() *ExportInfoStatus {
101103
}
102104
return e.Status
103105
}
106+
107+
func (e *ExportInfo) GetExportSize() *int64 {
108+
if e == nil {
109+
return nil
110+
}
111+
return e.ExportSize
112+
}

tests/messages_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func TestMessages_Messages(t *testing.T) {
2727
IDType: components.IDTypeConversationID,
2828
ID: "<id>",
2929
TimestampMillis: apiclientgo.Pointer[int64](558834),
30-
Datasource: components.DatasourceSlack,
30+
Datasource: components.DatasourceMicrosoftteams,
3131
})
3232
require.NoError(t, err)
3333
assert.Equal(t, 200, res.HTTPMeta.Response.StatusCode)

tests/mockserver/internal/sdk/models/components/exportinfo.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ type ExportInfo struct {
5151
Filter *DlpFindingFilter `json:"filter,omitempty"`
5252
// The status of the export
5353
Status *ExportInfoStatus `json:"status,omitempty"`
54+
// The size of the exported file in bytes
55+
ExportSize *int64 `json:"exportSize,omitempty"`
5456
}
5557

5658
func (o *ExportInfo) GetCreatedBy() *DlpPerson {
@@ -101,3 +103,10 @@ func (o *ExportInfo) GetStatus() *ExportInfoStatus {
101103
}
102104
return o.Status
103105
}
106+
107+
func (o *ExportInfo) GetExportSize() *int64 {
108+
if o == nil {
109+
return nil
110+
}
111+
return o.ExportSize
112+
}

0 commit comments

Comments
 (0)