Skip to content

Commit f189e59

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.532.0
1 parent 264af4d commit f189e59

21 files changed

+251
-85
lines changed

.speakeasy/gen.lock

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 2858c6d9-f946-4185-ae68-3b8e708830fb
33
management:
4-
docChecksum: d016f94831e6f41b132f11faa6b72e10
4+
docChecksum: f0c8ccc65ddf652e139cdbb48e9c72b7
55
docVersion: 0.4.0
6-
speakeasyVersion: 1.531.3
7-
generationVersion: 2.570.3
8-
releaseVersion: 3.26.3
9-
configChecksum: cb0cb610c63a2fb48af7eb6af50a2a90
6+
speakeasyVersion: 1.532.0
7+
generationVersion: 2.578.0
8+
releaseVersion: 3.26.4
9+
configChecksum: 36e7518dc80cb202b00b964a4d7cb365
1010
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-go.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-go
@@ -422,6 +422,7 @@ generatedFiles:
422422
- docs/pkg/models/shared/suggestrequestbody.md
423423
- docs/pkg/models/shared/suggestrequestbodysuggestiontype.md
424424
- docs/pkg/models/shared/tag.md
425+
- docs/pkg/models/shared/targetresource.md
425426
- docs/pkg/models/shared/targetsdk.md
426427
- docs/pkg/models/shared/type.md
427428
- docs/pkg/models/shared/usagesnippet.md
@@ -753,10 +754,10 @@ examples:
753754
createPublishingToken:
754755
speakeasy-default-create-publishing-token:
755756
requestBody:
756-
application/json: {"created_at": "2025-10-25T02:17:15.413Z", "id": "<id>", "target_id": "<id>", "target_resource": "<value>", "token": "<value>"}
757+
application/json: {"created_at": "2025-10-25T02:17:15.413Z", "created_by": "<value>", "id": "<id>", "organization_id": "<id>", "target_id": "<id>", "target_resource": "document", "token": "<value>", "workspace_id": "<id>"}
757758
responses:
758759
"200":
759-
application/json: {"created_at": "2023-12-11T20:09:47.767Z", "id": "<id>", "target_id": "<id>", "target_resource": "<value>", "token": "<value>"}
760+
application/json: {"created_at": "2023-12-11T20:09:47.767Z", "created_by": "<value>", "id": "<id>", "organization_id": "<id>", "target_id": "<id>", "target_resource": "document", "token": "<value>", "workspace_id": "<id>"}
760761
4XX:
761762
application/json: {"message": "<value>", "status_code": 447867}
762763
deletePublishingToken:
@@ -774,7 +775,7 @@ examples:
774775
tokenID: "<id>"
775776
responses:
776777
"200":
777-
application/json: {"created_at": "2025-10-20T08:51:57.553Z", "id": "<id>", "target_id": "<id>", "target_resource": "<value>", "token": "<value>"}
778+
application/json: {"created_at": "2025-10-20T08:51:57.553Z", "created_by": "<value>", "id": "<id>", "organization_id": "<id>", "target_id": "<id>", "target_resource": "document", "token": "<value>", "workspace_id": "<id>"}
778779
4XX:
779780
application/json: {"message": "<value>", "status_code": 82666}
780781
getPublishingTokenTargetByID:
@@ -1197,7 +1198,7 @@ examples:
11971198
speakeasy-default-get-publishing-token:
11981199
responses:
11991200
"200":
1200-
application/json: [{"created_at": "2023-01-18T23:26:03.849Z", "id": "<id>", "target_id": "<id>", "target_resource": "<value>", "token": "<value>"}, {"created_at": "2023-08-07T04:00:26.830Z", "id": "<id>", "target_id": "<id>", "target_resource": "<value>", "token": "<value>"}, {"created_at": "2024-01-27T14:50:38.288Z", "id": "<id>", "target_id": "<id>", "target_resource": "<value>", "token": "<value>"}]
1201+
application/json: [{"created_at": "2023-01-18T23:26:03.849Z", "created_by": "<value>", "id": "<id>", "organization_id": "<id>", "target_id": "<id>", "target_resource": "document", "token": "<value>", "workspace_id": "<id>"}, {"created_at": "2023-08-07T04:00:26.830Z", "created_by": "<value>", "id": "<id>", "organization_id": "<id>", "target_id": "<id>", "target_resource": "document", "token": "<value>", "workspace_id": "<id>"}, {"created_at": "2024-01-27T14:50:38.288Z", "created_by": "<value>", "id": "<id>", "organization_id": "<id>", "target_id": "<id>", "target_resource": "document", "token": "<value>", "workspace_id": "<id>"}]
12011202
4XX:
12021203
application/json: {"message": "<value>", "status_code": 136532}
12031204
getWorkspaceSettings:

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
speakeasyVersion: 1.531.3
1+
speakeasyVersion: 1.532.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:f74c35832d488f45734e54fc319a73d5b0073a3d9328db4f148558096bf2e78a
6-
sourceBlobDigest: sha256:2e26ccca3ea2a78b348ef6193f9ee9bc345e6cec9d2104eafdc8c55ae1570425
5+
sourceRevisionDigest: sha256:673f782f15c7f535d6f1f49777a0cbfbcb79079bd1373482629aca100ab297cd
6+
sourceBlobDigest: sha256:961c218911aac0aa3ddcce2ac8d7fd12b7e730b7cd4840362c3025cddf1a5f1d
77
tags:
88
- latest
99
- main
@@ -12,10 +12,10 @@ targets:
1212
speakeasy-client-sdk-go:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:f74c35832d488f45734e54fc319a73d5b0073a3d9328db4f148558096bf2e78a
16-
sourceBlobDigest: sha256:2e26ccca3ea2a78b348ef6193f9ee9bc345e6cec9d2104eafdc8c55ae1570425
15+
sourceRevisionDigest: sha256:673f782f15c7f535d6f1f49777a0cbfbcb79079bd1373482629aca100ab297cd
16+
sourceBlobDigest: sha256:961c218911aac0aa3ddcce2ac8d7fd12b7e730b7cd4840362c3025cddf1a5f1d
1717
codeSamplesNamespace: code-samples-go-speakeasy-client-sdk-go
18-
codeSamplesRevisionDigest: sha256:d84730723f208cac819294ca12e474abf23ef9a95b03fb5be4857c158980f31a
18+
codeSamplesRevisionDigest: sha256:0f037887d64beeaaa8c8acf6aad50554a292f1ea55db6719e004fdf66692a477
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,13 @@ func main() {
7171

7272
res, err := s.CreatePublishingToken(ctx, shared.PublishingToken{
7373
CreatedAt: types.MustTimeFromString("2025-10-25T02:17:15.413Z"),
74+
CreatedBy: "<value>",
7475
ID: "<id>",
76+
OrganizationID: "<id>",
7577
TargetID: "<id>",
76-
TargetResource: "<value>",
78+
TargetResource: shared.TargetResourceDocument,
7779
Token: "<value>",
80+
WorkspaceID: "<id>",
7881
})
7982
if err != nil {
8083
log.Fatal(err)
@@ -259,10 +262,13 @@ func main() {
259262

260263
res, err := s.CreatePublishingToken(ctx, shared.PublishingToken{
261264
CreatedAt: types.MustTimeFromString("2025-10-25T02:17:15.413Z"),
265+
CreatedBy: "<value>",
262266
ID: "<id>",
267+
OrganizationID: "<id>",
263268
TargetID: "<id>",
264-
TargetResource: "<value>",
269+
TargetResource: shared.TargetResourceDocument,
265270
Token: "<value>",
271+
WorkspaceID: "<id>",
266272
})
267273
if err != nil {
268274

@@ -321,10 +327,13 @@ func main() {
321327

322328
res, err := s.CreatePublishingToken(ctx, shared.PublishingToken{
323329
CreatedAt: types.MustTimeFromString("2025-10-25T02:17:15.413Z"),
330+
CreatedBy: "<value>",
324331
ID: "<id>",
332+
OrganizationID: "<id>",
325333
TargetID: "<id>",
326-
TargetResource: "<value>",
334+
TargetResource: shared.TargetResourceDocument,
327335
Token: "<value>",
336+
WorkspaceID: "<id>",
328337
})
329338
if err != nil {
330339
log.Fatal(err)
@@ -362,10 +371,13 @@ func main() {
362371

363372
res, err := s.CreatePublishingToken(ctx, shared.PublishingToken{
364373
CreatedAt: types.MustTimeFromString("2025-10-25T02:17:15.413Z"),
374+
CreatedBy: "<value>",
365375
ID: "<id>",
376+
OrganizationID: "<id>",
366377
TargetID: "<id>",
367-
TargetResource: "<value>",
378+
TargetResource: shared.TargetResourceDocument,
368379
Token: "<value>",
380+
WorkspaceID: "<id>",
369381
})
370382
if err != nil {
371383
log.Fatal(err)
@@ -447,10 +459,13 @@ func main() {
447459

448460
res, err := s.CreatePublishingToken(ctx, shared.PublishingToken{
449461
CreatedAt: types.MustTimeFromString("2025-10-25T02:17:15.413Z"),
462+
CreatedBy: "<value>",
450463
ID: "<id>",
464+
OrganizationID: "<id>",
451465
TargetID: "<id>",
452-
TargetResource: "<value>",
466+
TargetResource: shared.TargetResourceDocument,
453467
Token: "<value>",
468+
WorkspaceID: "<id>",
454469
})
455470
if err != nil {
456471
log.Fatal(err)
@@ -540,10 +555,13 @@ func main() {
540555

541556
res, err := s.CreatePublishingToken(ctx, shared.PublishingToken{
542557
CreatedAt: types.MustTimeFromString("2025-10-25T02:17:15.413Z"),
558+
CreatedBy: "<value>",
543559
ID: "<id>",
560+
OrganizationID: "<id>",
544561
TargetID: "<id>",
545-
TargetResource: "<value>",
562+
TargetResource: shared.TargetResourceDocument,
546563
Token: "<value>",
564+
WorkspaceID: "<id>",
547565
}, operations.WithRetries(
548566
retry.Config{
549567
Strategy: "backoff",
@@ -600,10 +618,13 @@ func main() {
600618

601619
res, err := s.CreatePublishingToken(ctx, shared.PublishingToken{
602620
CreatedAt: types.MustTimeFromString("2025-10-25T02:17:15.413Z"),
621+
CreatedBy: "<value>",
603622
ID: "<id>",
623+
OrganizationID: "<id>",
604624
TargetID: "<id>",
605-
TargetResource: "<value>",
625+
TargetResource: shared.TargetResourceDocument,
606626
Token: "<value>",
627+
WorkspaceID: "<id>",
607628
})
608629
if err != nil {
609630
log.Fatal(err)

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1696,4 +1696,14 @@ Based on:
16961696
### Generated
16971697
- [go v3.26.3] .
16981698
### Releases
1699-
- [Go v3.26.3] https://github.com/speakeasy-api/speakeasy-client-sdk-go/releases/tag/v3.26.3 - .
1699+
- [Go v3.26.3] https://github.com/speakeasy-api/speakeasy-client-sdk-go/releases/tag/v3.26.3 - .
1700+
1701+
## 2025-04-15 22:02:16
1702+
### Changes
1703+
Based on:
1704+
- OpenAPI Doc
1705+
- Speakeasy CLI 1.532.0 (2.578.0) https://github.com/speakeasy-api/speakeasy
1706+
### Generated
1707+
- [go v3.26.4] .
1708+
### Releases
1709+
- [Go v3.26.4] https://github.com/speakeasy-api/speakeasy-client-sdk-go/releases/tag/v3.26.4 - .

USAGE.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@ func main() {
2121

2222
res, err := s.CreatePublishingToken(ctx, shared.PublishingToken{
2323
CreatedAt: types.MustTimeFromString("2025-10-25T02:17:15.413Z"),
24+
CreatedBy: "<value>",
2425
ID: "<id>",
26+
OrganizationID: "<id>",
2527
TargetID: "<id>",
26-
TargetResource: "<value>",
28+
TargetResource: shared.TargetResourceDocument,
2729
Token: "<value>",
30+
WorkspaceID: "<id>",
2831
})
2932
if err != nil {
3033
log.Fatal(err)

codeSamples.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1353,8 +1353,11 @@ actions:
13531353
ID: "<id>",
13541354
Token: "<value>",
13551355
TargetID: "<id>",
1356-
TargetResource: "<value>",
1356+
TargetResource: shared.TargetResourceDocument,
13571357
CreatedAt: types.MustTimeFromString("2025-10-25T02:17:15.413Z"),
1358+
CreatedBy: "<value>",
1359+
OrganizationID: "<id>",
1360+
WorkspaceID: "<id>",
13581361
})
13591362
if err != nil {
13601363
log.Fatal(err)

docs/pkg/models/shared/publishingtoken.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@ A token used to publish to a target
55

66
## Fields
77

8-
| Field | Type | Required | Description |
9-
| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ |
10-
| `CreatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A |
11-
| `CreatedBy` | **string* | :heavy_minus_sign: | N/A |
12-
| `ID` | *string* | :heavy_check_mark: | N/A |
13-
| `TargetID` | *string* | :heavy_check_mark: | N/A |
14-
| `TargetResource` | *string* | :heavy_check_mark: | N/A |
15-
| `Token` | *string* | :heavy_check_mark: | N/A |
16-
| `UpdatedAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | N/A |
17-
| `UpdatedBy` | **string* | :heavy_minus_sign: | N/A |
18-
| `ValidUntil` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | N/A |
8+
| Field | Type | Required | Description |
9+
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
10+
| `CreatedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A |
11+
| `CreatedBy` | *string* | :heavy_check_mark: | N/A |
12+
| `ID` | *string* | :heavy_check_mark: | N/A |
13+
| `OrganizationID` | *string* | :heavy_check_mark: | N/A |
14+
| `TargetID` | *string* | :heavy_check_mark: | N/A |
15+
| `TargetResource` | [shared.TargetResource](../../../pkg/models/shared/targetresource.md) | :heavy_check_mark: | N/A |
16+
| `Token` | *string* | :heavy_check_mark: | N/A |
17+
| `UpdatedAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | N/A |
18+
| `UpdatedBy` | **string* | :heavy_minus_sign: | N/A |
19+
| `ValidUntil` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | N/A |
20+
| `WorkspaceID` | *string* | :heavy_check_mark: | N/A |
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# TargetResource
2+
3+
4+
## Values
5+
6+
| Name | Value |
7+
| ------------------------ | ------------------------ |
8+
| `TargetResourceDocument` | document |

docs/sdks/speakeasy/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,13 @@ func main() {
4343

4444
res, err := s.CreatePublishingToken(ctx, shared.PublishingToken{
4545
CreatedAt: types.MustTimeFromString("2025-10-25T02:17:15.413Z"),
46+
CreatedBy: "<value>",
4647
ID: "<id>",
48+
OrganizationID: "<id>",
4749
TargetID: "<id>",
48-
TargetResource: "<value>",
50+
TargetResource: shared.TargetResourceDocument,
4951
Token: "<value>",
52+
WorkspaceID: "<id>",
5053
})
5154
if err != nil {
5255
log.Fatal(err)

gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ generation:
1919
tests:
2020
generateNewTests: true
2121
go:
22-
version: 3.26.3
22+
version: 3.26.4
2323
additionalDependencies: {}
2424
allowUnknownFieldsInWeakUnions: false
2525
clientServerStatusCodesAsErrors: true

0 commit comments

Comments
 (0)