From a763252ef5531dbc7f1e8e3efa65bb64f85d925d Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 26 Jul 2023 00:04:26 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc v1, Speakeay CLI 1.65.0 --- RELEASES.md | 6 ++++++ examples/provider/provider.tf | 2 +- gen.yaml | 4 ++-- internal/provider/grantkit_resource.go | 6 ++++++ internal/provider/grantkit_resource_sdk.go | 2 ++ internal/provider/type_request.go | 1 + internal/provider/type_review.go | 1 + internal/sdk/pkg/models/shared/request.go | 1 + internal/sdk/pkg/models/shared/review.go | 1 + internal/sdk/sdk.go | 2 +- 10 files changed, 22 insertions(+), 4 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index b8f6dea..904c1b6 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -52,4 +52,10 @@ Based on: ### Changes Based on: - OpenAPI Doc v1 +- Speakeasy CLI 1.65.0 (2.73.0) https://github.com/speakeasy-api/speakeasy + +## 2023-07-26 00:04:10 +### Changes +Based on: +- OpenAPI Doc v1 - Speakeasy CLI 1.65.0 (2.73.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/examples/provider/provider.tf b/examples/provider/provider.tf index 932585d..39e7d9e 100755 --- a/examples/provider/provider.tf +++ b/examples/provider/provider.tf @@ -2,7 +2,7 @@ terraform { required_providers { abbey = { source = "abbeylabs/abbey" - version = "2.1.0" + version = "2.1.1" } } } diff --git a/gen.yaml b/gen.yaml index 50e0d10..88006d4 100755 --- a/gen.yaml +++ b/gen.yaml @@ -1,6 +1,6 @@ configVersion: 1.0.0 management: - docChecksum: ad48929d9282323a385d356a103808af + docChecksum: eb8efca9e6114192fc287d591911c713 docVersion: v1 speakeasyVersion: 1.65.0 generationVersion: 2.73.0 @@ -8,6 +8,6 @@ generation: sdkClassName: SDK singleTagPerOp: false terraform: - version: 2.1.0 + version: 2.1.1 author: abbeylabs packageName: abbey diff --git a/internal/provider/grantkit_resource.go b/internal/provider/grantkit_resource.go index 2c83107..0d32227 100755 --- a/internal/provider/grantkit_resource.go +++ b/internal/provider/grantkit_resource.go @@ -170,6 +170,9 @@ func (r *GrantKitResource) Schema(ctx context.Context, req resource.SchemaReques "id": schema.StringAttribute{ Computed: true, }, + "pull_request": schema.StringAttribute{ + Computed: true, + }, "reason": schema.StringAttribute{ Computed: true, }, @@ -234,6 +237,9 @@ func (r *GrantKitResource) Schema(ctx context.Context, req resource.SchemaReques "id": schema.StringAttribute{ Computed: true, }, + "pull_request": schema.StringAttribute{ + Computed: true, + }, "reason": schema.StringAttribute{ Computed: true, }, diff --git a/internal/provider/grantkit_resource_sdk.go b/internal/provider/grantkit_resource_sdk.go index 9316f45..7fbe2c6 100755 --- a/internal/provider/grantkit_resource_sdk.go +++ b/internal/provider/grantkit_resource_sdk.go @@ -265,6 +265,7 @@ func (r *GrantKitResourceModel) RefreshFromGetResponse(resp *shared.GrantKit) { } requests1.GrantKitVersionID = types.StringValue(requestsItem.GrantKitVersionID) requests1.ID = types.StringValue(requestsItem.ID) + requests1.PullRequest = types.StringValue(requestsItem.PullRequest) requests1.Reason = types.StringValue(requestsItem.Reason) requests1.Reviews = nil for _, reviewsItem := range requestsItem.Reviews { @@ -291,6 +292,7 @@ func (r *GrantKitResourceModel) RefreshFromGetResponse(resp *shared.GrantKit) { reviews1.GrantKitName = types.StringValue(reviewsItem.GrantKitName) reviews1.GrantKitVersionID = types.StringValue(reviewsItem.GrantKitVersionID) reviews1.ID = types.StringValue(reviewsItem.ID) + reviews1.PullRequest = types.StringValue(reviewsItem.PullRequest) reviews1.Reason = types.StringValue(reviewsItem.Reason) reviews1.RequestID = types.StringValue(reviewsItem.RequestID) reviews1.Status = types.StringValue(string(reviewsItem.Status)) diff --git a/internal/provider/type_request.go b/internal/provider/type_request.go index 3cccc88..867254c 100755 --- a/internal/provider/type_request.go +++ b/internal/provider/type_request.go @@ -11,6 +11,7 @@ type Request struct { GrantKitName types.String `tfsdk:"grant_kit_name"` GrantKitVersionID types.String `tfsdk:"grant_kit_version_id"` ID types.String `tfsdk:"id"` + PullRequest types.String `tfsdk:"pull_request"` Reason types.String `tfsdk:"reason"` Reviews []Review `tfsdk:"reviews"` Status types.String `tfsdk:"status"` diff --git a/internal/provider/type_review.go b/internal/provider/type_review.go index dcf9472..6d9c8b3 100755 --- a/internal/provider/type_review.go +++ b/internal/provider/type_review.go @@ -11,6 +11,7 @@ type Review struct { GrantKitName types.String `tfsdk:"grant_kit_name"` GrantKitVersionID types.String `tfsdk:"grant_kit_version_id"` ID types.String `tfsdk:"id"` + PullRequest types.String `tfsdk:"pull_request"` Reason types.String `tfsdk:"reason"` RequestID types.String `tfsdk:"request_id"` Status types.String `tfsdk:"status"` diff --git a/internal/sdk/pkg/models/shared/request.go b/internal/sdk/pkg/models/shared/request.go index 8c03d6b..e7841bc 100755 --- a/internal/sdk/pkg/models/shared/request.go +++ b/internal/sdk/pkg/models/shared/request.go @@ -14,6 +14,7 @@ type Request struct { GrantKitName *string `json:"grant_kit_name,omitempty"` GrantKitVersionID string `json:"grant_kit_version_id"` ID string `json:"id"` + PullRequest string `json:"pull_request"` Reason string `json:"reason"` Reviews []Review `json:"reviews,omitempty"` Status RequestStatus `json:"status"` diff --git a/internal/sdk/pkg/models/shared/review.go b/internal/sdk/pkg/models/shared/review.go index a8abb21..3f6eb75 100755 --- a/internal/sdk/pkg/models/shared/review.go +++ b/internal/sdk/pkg/models/shared/review.go @@ -14,6 +14,7 @@ type Review struct { GrantKitName string `json:"grant_kit_name"` GrantKitVersionID string `json:"grant_kit_version_id"` ID string `json:"id"` + PullRequest string `json:"pull_request"` Reason string `json:"reason"` RequestID string `json:"request_id"` Status ReviewStatus `json:"status"` diff --git a/internal/sdk/sdk.go b/internal/sdk/sdk.go index eba9e03..32db471 100755 --- a/internal/sdk/sdk.go +++ b/internal/sdk/sdk.go @@ -177,7 +177,7 @@ func New(opts ...SDKOption) *SDK { sdkConfiguration: sdkConfiguration{ Language: "terraform", OpenAPIDocVersion: "v1", - SDKVersion: "2.1.0", + SDKVersion: "2.1.1", GenVersion: "2.73.0", }, }