Skip to content

Commit

Permalink
chore(deps): update dependency speakeasy-api/speakeasy to v1.455.7 (#31)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency speakeasy-api/speakeasy to v1.455.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: pmalek <[email protected]>
Co-authored-by: team-k8s-bot <[email protected]>
  • Loading branch information
3 people authored Dec 17, 2024
1 parent 816fdb3 commit d6393cf
Show file tree
Hide file tree
Showing 44 changed files with 1,070 additions and 252 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bump-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
repo: speakeasy
cli_name: speakeasy
package_type: zip
version: 1.455.6 # renovate: datasource=github-releases depName=speakeasy-api/speakeasy
version: 1.455.7 # renovate: datasource=github-releases depName=speakeasy-api/speakeasy

- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate_on_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
repo: speakeasy
cli_name: speakeasy
package_type: zip
version: 1.455.6 # renovate: datasource=github-releases depName=speakeasy-api/speakeasy
version: 1.455.7 # renovate: datasource=github-releases depName=speakeasy-api/speakeasy

- name: Checkout current repo
uses: actions/checkout@v4
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ id: b81e5def-5b1e-4753-ae7c-0efccc2e6f61
management:
docChecksum: e7f0997368d05f4181c30c542b81c1b8
docVersion: 0.0.1
speakeasyVersion: 1.455.1
generationVersion: 2.479.3
releaseVersion: 0.1.12
configChecksum: 8969566b3caede08d8673179ed758403
speakeasyVersion: 1.455.7
generationVersion: 2.480.1
releaseVersion: 0.1.13
configChecksum: 2eb0a814765f2c0824d21f551f48825e
features:
go:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.6
core: 3.6.0
core: 3.6.2
deepObjectParams: 0.1.1
defaultEnabledRetries: 0.2.0
envVarSecurityUsage: 0.3.2
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ generation:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
go:
version: 0.1.12
version: 0.1.13
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
clientServerStatusCodesAsErrors: true
Expand Down
49 changes: 42 additions & 7 deletions acls.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,12 @@ func (s *ACLs) ListACL(ctx context.Context, request operations.ListACLRequest, o
}
}

baseURL := utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
var baseURL string
if o.ServerURL == nil {
baseURL = utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
} else {
baseURL = *o.ServerURL
}
opURL, err := utils.GenerateURL(ctx, baseURL, "/v2/control-planes/{controlPlaneId}/core-entities/acls", request, nil)
if err != nil {
return nil, fmt.Errorf("error generating URL: %w", err)
Expand Down Expand Up @@ -268,7 +273,12 @@ func (s *ACLs) GetACL(ctx context.Context, aclID string, controlPlaneID string,
}
}

baseURL := utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
var baseURL string
if o.ServerURL == nil {
baseURL = utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
} else {
baseURL = *o.ServerURL
}
opURL, err := utils.GenerateURL(ctx, baseURL, "/v2/control-planes/{controlPlaneId}/core-entities/acls/{ACLId}", request, nil)
if err != nil {
return nil, fmt.Errorf("error generating URL: %w", err)
Expand Down Expand Up @@ -482,7 +492,12 @@ func (s *ACLs) ListACLWithConsumer(ctx context.Context, request operations.ListA
}
}

baseURL := utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
var baseURL string
if o.ServerURL == nil {
baseURL = utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
} else {
baseURL = *o.ServerURL
}
opURL, err := utils.GenerateURL(ctx, baseURL, "/v2/control-planes/{controlPlaneId}/core-entities/consumers/{ConsumerIdForNestedEntities}/acls", request, nil)
if err != nil {
return nil, fmt.Errorf("error generating URL: %w", err)
Expand Down Expand Up @@ -677,7 +692,12 @@ func (s *ACLs) CreateACLWithConsumer(ctx context.Context, request operations.Cre
}
}

baseURL := utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
var baseURL string
if o.ServerURL == nil {
baseURL = utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
} else {
baseURL = *o.ServerURL
}
opURL, err := utils.GenerateURL(ctx, baseURL, "/v2/control-planes/{controlPlaneId}/core-entities/consumers/{ConsumerIdForNestedEntities}/acls", request, nil)
if err != nil {
return nil, fmt.Errorf("error generating URL: %w", err)
Expand Down Expand Up @@ -874,7 +894,12 @@ func (s *ACLs) DeleteACLWithConsumer(ctx context.Context, request operations.Del
}
}

baseURL := utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
var baseURL string
if o.ServerURL == nil {
baseURL = utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
} else {
baseURL = *o.ServerURL
}
opURL, err := utils.GenerateURL(ctx, baseURL, "/v2/control-planes/{controlPlaneId}/core-entities/consumers/{ConsumerIdForNestedEntities}/acls/{ACLId}", request, nil)
if err != nil {
return nil, fmt.Errorf("error generating URL: %w", err)
Expand Down Expand Up @@ -1045,7 +1070,12 @@ func (s *ACLs) GetACLWithConsumer(ctx context.Context, request operations.GetACL
}
}

baseURL := utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
var baseURL string
if o.ServerURL == nil {
baseURL = utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
} else {
baseURL = *o.ServerURL
}
opURL, err := utils.GenerateURL(ctx, baseURL, "/v2/control-planes/{controlPlaneId}/core-entities/consumers/{ConsumerIdForNestedEntities}/acls/{ACLId}", request, nil)
if err != nil {
return nil, fmt.Errorf("error generating URL: %w", err)
Expand Down Expand Up @@ -1238,7 +1268,12 @@ func (s *ACLs) UpsertACLWithConsumer(ctx context.Context, request operations.Ups
}
}

baseURL := utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
var baseURL string
if o.ServerURL == nil {
baseURL = utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
} else {
baseURL = *o.ServerURL
}
opURL, err := utils.GenerateURL(ctx, baseURL, "/v2/control-planes/{controlPlaneId}/core-entities/consumers/{ConsumerIdForNestedEntities}/acls/{ACLId}", request, nil)
if err != nil {
return nil, fmt.Errorf("error generating URL: %w", err)
Expand Down
49 changes: 42 additions & 7 deletions apikeys.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,12 @@ func (s *APIKeys) ListKeyAuthWithConsumer(ctx context.Context, request operation
}
}

baseURL := utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
var baseURL string
if o.ServerURL == nil {
baseURL = utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
} else {
baseURL = *o.ServerURL
}
opURL, err := utils.GenerateURL(ctx, baseURL, "/v2/control-planes/{controlPlaneId}/core-entities/consumers/{ConsumerIdForNestedEntities}/key-auth", request, nil)
if err != nil {
return nil, fmt.Errorf("error generating URL: %w", err)
Expand Down Expand Up @@ -242,7 +247,12 @@ func (s *APIKeys) CreateKeyAuthWithConsumer(ctx context.Context, request operati
}
}

baseURL := utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
var baseURL string
if o.ServerURL == nil {
baseURL = utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
} else {
baseURL = *o.ServerURL
}
opURL, err := utils.GenerateURL(ctx, baseURL, "/v2/control-planes/{controlPlaneId}/core-entities/consumers/{ConsumerIdForNestedEntities}/key-auth", request, nil)
if err != nil {
return nil, fmt.Errorf("error generating URL: %w", err)
Expand Down Expand Up @@ -439,7 +449,12 @@ func (s *APIKeys) DeleteKeyAuthWithConsumer(ctx context.Context, request operati
}
}

baseURL := utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
var baseURL string
if o.ServerURL == nil {
baseURL = utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
} else {
baseURL = *o.ServerURL
}
opURL, err := utils.GenerateURL(ctx, baseURL, "/v2/control-planes/{controlPlaneId}/core-entities/consumers/{ConsumerIdForNestedEntities}/key-auth/{KeyAuthId}", request, nil)
if err != nil {
return nil, fmt.Errorf("error generating URL: %w", err)
Expand Down Expand Up @@ -610,7 +625,12 @@ func (s *APIKeys) GetKeyAuthWithConsumer(ctx context.Context, request operations
}
}

baseURL := utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
var baseURL string
if o.ServerURL == nil {
baseURL = utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
} else {
baseURL = *o.ServerURL
}
opURL, err := utils.GenerateURL(ctx, baseURL, "/v2/control-planes/{controlPlaneId}/core-entities/consumers/{ConsumerIdForNestedEntities}/key-auth/{KeyAuthId}", request, nil)
if err != nil {
return nil, fmt.Errorf("error generating URL: %w", err)
Expand Down Expand Up @@ -803,7 +823,12 @@ func (s *APIKeys) UpsertKeyAuthWithConsumer(ctx context.Context, request operati
}
}

baseURL := utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
var baseURL string
if o.ServerURL == nil {
baseURL = utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
} else {
baseURL = *o.ServerURL
}
opURL, err := utils.GenerateURL(ctx, baseURL, "/v2/control-planes/{controlPlaneId}/core-entities/consumers/{ConsumerIdForNestedEntities}/key-auth/{KeyAuthId}", request, nil)
if err != nil {
return nil, fmt.Errorf("error generating URL: %w", err)
Expand Down Expand Up @@ -1000,7 +1025,12 @@ func (s *APIKeys) ListKeyAuth(ctx context.Context, request operations.ListKeyAut
}
}

baseURL := utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
var baseURL string
if o.ServerURL == nil {
baseURL = utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
} else {
baseURL = *o.ServerURL
}
opURL, err := utils.GenerateURL(ctx, baseURL, "/v2/control-planes/{controlPlaneId}/core-entities/key-auths", request, nil)
if err != nil {
return nil, fmt.Errorf("error generating URL: %w", err)
Expand Down Expand Up @@ -1221,7 +1251,12 @@ func (s *APIKeys) GetKeyAuth(ctx context.Context, keyAuthID string, controlPlane
}
}

baseURL := utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
var baseURL string
if o.ServerURL == nil {
baseURL = utils.ReplaceParameters(s.sdkConfiguration.GetServerDetails())
} else {
baseURL = *o.ServerURL
}
opURL, err := utils.GenerateURL(ctx, baseURL, "/v2/control-planes/{controlPlaneId}/core-entities/key-auths/{KeyAuthId}", request, nil)
if err != nil {
return nil, fmt.Errorf("error generating URL: %w", err)
Expand Down
1 change: 0 additions & 1 deletion authentication.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ func (s *Authentication) AuthenticateSso(ctx context.Context, organizationLoginP

o := operations.Options{}
supportedOptions := []string{
operations.SupportedOptionServerURL,
operations.SupportedOptionRetries,
operations.SupportedOptionTimeout,
}
Expand Down
8 changes: 0 additions & 8 deletions authsettings.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ func (s *AuthSettings) GetAuthenticationSettings(ctx context.Context, opts ...op

o := operations.Options{}
supportedOptions := []string{
operations.SupportedOptionServerURL,
operations.SupportedOptionRetries,
operations.SupportedOptionTimeout,
}
Expand Down Expand Up @@ -255,7 +254,6 @@ func (s *AuthSettings) UpdateAuthenticationSettings(ctx context.Context, request

o := operations.Options{}
supportedOptions := []string{
operations.SupportedOptionServerURL,
operations.SupportedOptionRetries,
operations.SupportedOptionTimeout,
}
Expand Down Expand Up @@ -501,7 +499,6 @@ func (s *AuthSettings) GetIdpConfiguration(ctx context.Context, opts ...operatio

o := operations.Options{}
supportedOptions := []string{
operations.SupportedOptionServerURL,
operations.SupportedOptionRetries,
operations.SupportedOptionTimeout,
}
Expand Down Expand Up @@ -781,7 +778,6 @@ func (s *AuthSettings) UpdateIdpConfiguration(ctx context.Context, request *comp

o := operations.Options{}
supportedOptions := []string{
operations.SupportedOptionServerURL,
operations.SupportedOptionRetries,
operations.SupportedOptionTimeout,
}
Expand Down Expand Up @@ -1033,7 +1029,6 @@ func (s *AuthSettings) GetTeamGroupMappings(ctx context.Context, pageSize *int64

o := operations.Options{}
supportedOptions := []string{
operations.SupportedOptionServerURL,
operations.SupportedOptionRetries,
operations.SupportedOptionTimeout,
}
Expand Down Expand Up @@ -1301,7 +1296,6 @@ func (s *AuthSettings) PatchTeamGroupMappings(ctx context.Context, request *comp

o := operations.Options{}
supportedOptions := []string{
operations.SupportedOptionServerURL,
operations.SupportedOptionRetries,
operations.SupportedOptionTimeout,
}
Expand Down Expand Up @@ -1566,7 +1560,6 @@ func (s *AuthSettings) UpdateIdpTeamMappings(ctx context.Context, request *compo

o := operations.Options{}
supportedOptions := []string{
operations.SupportedOptionServerURL,
operations.SupportedOptionRetries,
operations.SupportedOptionTimeout,
}
Expand Down Expand Up @@ -1857,7 +1850,6 @@ func (s *AuthSettings) GetIdpTeamMappings(ctx context.Context, pageSize *int64,

o := operations.Options{}
supportedOptions := []string{
operations.SupportedOptionServerURL,
operations.SupportedOptionRetries,
operations.SupportedOptionTimeout,
}
Expand Down
Loading

0 comments on commit d6393cf

Please sign in to comment.