Skip to content

Commit 50cc9fa

Browse files
chore(deps): update dependency speakeasy-api/speakeasy to v1.761.7 (#288)
* chore(deps): update dependency speakeasy-api/speakeasy to v1.761.7 * Bump .speakeasy/gen.yaml based on label * Update provider based on openapi.yaml changes --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent e4efccd commit 50cc9fa

114 files changed

Lines changed: 820 additions & 820 deletions

File tree

Some content is hidden

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

.mise/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[tools."github:speakeasy-api/speakeasy"]
22
# renovate: datasource=github-releases depName=speakeasy-api/speakeasy
3-
version = "1.750.0"
3+
version = "1.761.7"

.speakeasy/gen.lock

Lines changed: 227 additions & 227 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
@@ -29,7 +29,7 @@ generation:
2929
generateNewTests: false
3030
skipResponseBodyAssertions: false
3131
go:
32-
version: 0.31.1
32+
version: 0.31.2
3333
additionalDependencies: {}
3434
allowUnknownFieldsInWeakUnions: false
3535
baseErrorName: SDKBaseError

.speakeasy/workflow.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
speakeasyVersion: 1.761.6
1+
speakeasyVersion: 1.761.7
22
sources:
33
konnect:
44
sourceNamespace: konnect
@@ -13,7 +13,7 @@ targets:
1313
sourceRevisionDigest: sha256:c639a509989846db09eb72fa0384d9d4cc7717a96710ef0075f7e4f85d3e5bed
1414
sourceBlobDigest: sha256:1d37bad2d56ec14c07aa336eab140bce5c3865b8072372dbd43c751527fa0e1d
1515
codeSamplesNamespace: konnect-go-code-samples
16-
codeSamplesRevisionDigest: sha256:fcff1e3a901ddd264786a9908d068b779b1115011c041fdb18775a5475654e13
16+
codeSamplesRevisionDigest: sha256:c1280e95c1d7d03987ebebed45f519cfe07b7deaa2cf16747440f844c576d7a2
1717
workflow:
1818
workflowVersion: 1.0.0
1919
speakeasyVersion: latest

acls.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func (s *ACLs) ListACL(ctx context.Context, request operations.ListACLRequest, o
172172

173173
_, err = s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err)
174174
return nil, err
175-
} else if utils.MatchStatusCodes([]string{"401", "4XX", "5XX"}, httpRes.StatusCode) {
175+
} else if utils.MatchStatusCodes([]string{"4XX", "5XX"}, httpRes.StatusCode) {
176176
_httpRes, err := s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil)
177177
if err != nil {
178178
return nil, err
@@ -403,7 +403,7 @@ func (s *ACLs) GetACL(ctx context.Context, aclID string, controlPlaneID string,
403403

404404
_, err = s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err)
405405
return nil, err
406-
} else if utils.MatchStatusCodes([]string{"401", "404", "4XX", "5XX"}, httpRes.StatusCode) {
406+
} else if utils.MatchStatusCodes([]string{"4XX", "5XX"}, httpRes.StatusCode) {
407407
_httpRes, err := s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil)
408408
if err != nil {
409409
return nil, err
@@ -1238,7 +1238,7 @@ func (s *ACLs) GetACLWithConsumer(ctx context.Context, request operations.GetACL
12381238

12391239
_, err = s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err)
12401240
return nil, err
1241-
} else if utils.MatchStatusCodes([]string{"404", "4XX", "5XX"}, httpRes.StatusCode) {
1241+
} else if utils.MatchStatusCodes([]string{"4XX", "5XX"}, httpRes.StatusCode) {
12421242
_httpRes, err := s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil)
12431243
if err != nil {
12441244
return nil, err

api.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ func (s *API) CreateAPI(ctx context.Context, request components.CreateAPIRequest
176176

177177
_, err = s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err)
178178
return nil, err
179-
} else if utils.MatchStatusCodes([]string{"400", "401", "403", "404", "415", "4XX", "5XX"}, httpRes.StatusCode) {
179+
} else if utils.MatchStatusCodes([]string{"4XX", "5XX"}, httpRes.StatusCode) {
180180
_httpRes, err := s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil)
181181
if err != nil {
182182
return nil, err
@@ -490,7 +490,7 @@ func (s *API) ListApis(ctx context.Context, request operations.ListApisRequest,
490490

491491
_, err = s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err)
492492
return nil, err
493-
} else if utils.MatchStatusCodes([]string{"400", "401", "403", "404", "4XX", "5XX"}, httpRes.StatusCode) {
493+
} else if utils.MatchStatusCodes([]string{"4XX", "5XX"}, httpRes.StatusCode) {
494494
_httpRes, err := s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil)
495495
if err != nil {
496496
return nil, err
@@ -783,7 +783,7 @@ func (s *API) FetchAPI(ctx context.Context, apiID string, opts ...operations.Opt
783783

784784
_, err = s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err)
785785
return nil, err
786-
} else if utils.MatchStatusCodes([]string{"401", "403", "404", "4XX", "5XX"}, httpRes.StatusCode) {
786+
} else if utils.MatchStatusCodes([]string{"4XX", "5XX"}, httpRes.StatusCode) {
787787
_httpRes, err := s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil)
788788
if err != nil {
789789
return nil, err
@@ -1062,7 +1062,7 @@ func (s *API) UpdateAPI(ctx context.Context, request operations.UpdateAPIRequest
10621062

10631063
_, err = s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err)
10641064
return nil, err
1065-
} else if utils.MatchStatusCodes([]string{"400", "401", "403", "404", "409", "415", "4XX", "5XX"}, httpRes.StatusCode) {
1065+
} else if utils.MatchStatusCodes([]string{"4XX", "5XX"}, httpRes.StatusCode) {
10661066
_httpRes, err := s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil)
10671067
if err != nil {
10681068
return nil, err
@@ -1397,7 +1397,7 @@ func (s *API) DeleteAPI(ctx context.Context, apiID string, opts ...operations.Op
13971397

13981398
_, err = s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err)
13991399
return nil, err
1400-
} else if utils.MatchStatusCodes([]string{"401", "403", "404", "4XX", "5XX"}, httpRes.StatusCode) {
1400+
} else if utils.MatchStatusCodes([]string{"4XX", "5XX"}, httpRes.StatusCode) {
14011401
_httpRes, err := s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil)
14021402
if err != nil {
14031403
return nil, err

apiattributes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ func (s *APIAttributes) ListAPIAttributes(ctx context.Context, request operation
173173

174174
_, err = s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err)
175175
return nil, err
176-
} else if utils.MatchStatusCodes([]string{"401", "403", "404", "4XX", "5XX"}, httpRes.StatusCode) {
176+
} else if utils.MatchStatusCodes([]string{"4XX", "5XX"}, httpRes.StatusCode) {
177177
_httpRes, err := s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil)
178178
if err != nil {
179179
return nil, err

apidocumentation.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ func (s *APIDocumentation) CreateAPIDocument(ctx context.Context, apiID string,
182182

183183
_, err = s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err)
184184
return nil, err
185-
} else if utils.MatchStatusCodes([]string{"400", "401", "403", "404", "409", "415", "4XX", "5XX"}, httpRes.StatusCode) {
185+
} else if utils.MatchStatusCodes([]string{"4XX", "5XX"}, httpRes.StatusCode) {
186186
_httpRes, err := s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil)
187187
if err != nil {
188188
return nil, err
@@ -522,7 +522,7 @@ func (s *APIDocumentation) ListAPIDocuments(ctx context.Context, apiID string, f
522522

523523
_, err = s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err)
524524
return nil, err
525-
} else if utils.MatchStatusCodes([]string{"400", "401", "403", "404", "4XX", "5XX"}, httpRes.StatusCode) {
525+
} else if utils.MatchStatusCodes([]string{"4XX", "5XX"}, httpRes.StatusCode) {
526526
_httpRes, err := s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil)
527527
if err != nil {
528528
return nil, err
@@ -816,7 +816,7 @@ func (s *APIDocumentation) FetchAPIDocument(ctx context.Context, apiID string, d
816816

817817
_, err = s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err)
818818
return nil, err
819-
} else if utils.MatchStatusCodes([]string{"401", "403", "404", "4XX", "5XX"}, httpRes.StatusCode) {
819+
} else if utils.MatchStatusCodes([]string{"4XX", "5XX"}, httpRes.StatusCode) {
820820
_httpRes, err := s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil)
821821
if err != nil {
822822
return nil, err
@@ -1091,7 +1091,7 @@ func (s *APIDocumentation) UpdateAPIDocument(ctx context.Context, request operat
10911091

10921092
_, err = s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err)
10931093
return nil, err
1094-
} else if utils.MatchStatusCodes([]string{"400", "401", "403", "404", "409", "415", "4XX", "5XX"}, httpRes.StatusCode) {
1094+
} else if utils.MatchStatusCodes([]string{"4XX", "5XX"}, httpRes.StatusCode) {
10951095
_httpRes, err := s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil)
10961096
if err != nil {
10971097
return nil, err
@@ -1427,7 +1427,7 @@ func (s *APIDocumentation) DeleteAPIDocument(ctx context.Context, apiID string,
14271427

14281428
_, err = s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err)
14291429
return nil, err
1430-
} else if utils.MatchStatusCodes([]string{"401", "403", "404", "4XX", "5XX"}, httpRes.StatusCode) {
1430+
} else if utils.MatchStatusCodes([]string{"4XX", "5XX"}, httpRes.StatusCode) {
14311431
_httpRes, err := s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil)
14321432
if err != nil {
14331433
return nil, err
@@ -1683,7 +1683,7 @@ func (s *APIDocumentation) MoveAPIDocument(ctx context.Context, request operatio
16831683

16841684
_, err = s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err)
16851685
return nil, err
1686-
} else if utils.MatchStatusCodes([]string{"401", "403", "404", "409", "4XX", "5XX"}, httpRes.StatusCode) {
1686+
} else if utils.MatchStatusCodes([]string{"4XX", "5XX"}, httpRes.StatusCode) {
16871687
_httpRes, err := s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil)
16881688
if err != nil {
16891689
return nil, err

apiimplementation.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ func (s *APIImplementation) ListAPIImplementations(ctx context.Context, request
173173

174174
_, err = s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err)
175175
return nil, err
176-
} else if utils.MatchStatusCodes([]string{"401", "403", "404", "4XX", "5XX"}, httpRes.StatusCode) {
176+
} else if utils.MatchStatusCodes([]string{"4XX", "5XX"}, httpRes.StatusCode) {
177177
_httpRes, err := s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil)
178178
if err != nil {
179179
return nil, err
@@ -458,7 +458,7 @@ func (s *APIImplementation) CreateAPIImplementation(ctx context.Context, apiID s
458458

459459
_, err = s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err)
460460
return nil, err
461-
} else if utils.MatchStatusCodes([]string{"400", "401", "403", "404", "409", "4XX", "5XX"}, httpRes.StatusCode) {
461+
} else if utils.MatchStatusCodes([]string{"4XX", "5XX"}, httpRes.StatusCode) {
462462
_httpRes, err := s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil)
463463
if err != nil {
464464
return nil, err
@@ -773,7 +773,7 @@ func (s *APIImplementation) FetchAPIImplementation(ctx context.Context, apiID st
773773

774774
_, err = s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err)
775775
return nil, err
776-
} else if utils.MatchStatusCodes([]string{"401", "403", "404", "4XX", "5XX"}, httpRes.StatusCode) {
776+
} else if utils.MatchStatusCodes([]string{"4XX", "5XX"}, httpRes.StatusCode) {
777777
_httpRes, err := s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil)
778778
if err != nil {
779779
return nil, err
@@ -1046,7 +1046,7 @@ func (s *APIImplementation) DeleteAPIImplementation(ctx context.Context, apiID s
10461046

10471047
_, err = s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err)
10481048
return nil, err
1049-
} else if utils.MatchStatusCodes([]string{"401", "403", "404", "4XX", "5XX"}, httpRes.StatusCode) {
1049+
} else if utils.MatchStatusCodes([]string{"4XX", "5XX"}, httpRes.StatusCode) {
10501050
_httpRes, err := s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil)
10511051
if err != nil {
10521052
return nil, err

apikeys.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ func (s *APIKeys) GetKeyAuthWithConsumer(ctx context.Context, request operations
775775

776776
_, err = s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err)
777777
return nil, err
778-
} else if utils.MatchStatusCodes([]string{"404", "4XX", "5XX"}, httpRes.StatusCode) {
778+
} else if utils.MatchStatusCodes([]string{"4XX", "5XX"}, httpRes.StatusCode) {
779779
_httpRes, err := s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil)
780780
if err != nil {
781781
return nil, err
@@ -1198,7 +1198,7 @@ func (s *APIKeys) ListKeyAuth(ctx context.Context, request operations.ListKeyAut
11981198

11991199
_, err = s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err)
12001200
return nil, err
1201-
} else if utils.MatchStatusCodes([]string{"401", "4XX", "5XX"}, httpRes.StatusCode) {
1201+
} else if utils.MatchStatusCodes([]string{"4XX", "5XX"}, httpRes.StatusCode) {
12021202
_httpRes, err := s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil)
12031203
if err != nil {
12041204
return nil, err
@@ -1429,7 +1429,7 @@ func (s *APIKeys) GetKeyAuth(ctx context.Context, keyAuthID string, controlPlane
14291429

14301430
_, err = s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, nil, err)
14311431
return nil, err
1432-
} else if utils.MatchStatusCodes([]string{"401", "404", "4XX", "5XX"}, httpRes.StatusCode) {
1432+
} else if utils.MatchStatusCodes([]string{"4XX", "5XX"}, httpRes.StatusCode) {
14331433
_httpRes, err := s.hooks.AfterError(hooks.AfterErrorContext{HookContext: hookCtx}, httpRes, nil)
14341434
if err != nil {
14351435
return nil, err

0 commit comments

Comments
 (0)