Skip to content

Commit e9eb54c

Browse files
committed
## Terraform SDK Changes Detected:
* `SDK.design-builder.addDesign()`: * `request.design` **Changed** **Breaking** ⚠️ * `response` **Changed** **Breaking** ⚠️ * `SDK.design-builder.getAllDesigns()`: `response` **Changed** **Breaking** ⚠️ * `SDK.design-builder.getConsumerDesign()`: `response` **Changed** **Breaking** ⚠️ * `SDK.design-builder.getDesign()`: `response` **Changed** **Breaking** ⚠️ * `SDK.design-builder.removeConsumer()`: * `request` **Changed** **Breaking** ⚠️ * `response.error` **Added** * `SDK.design-builder.updateDesign()`: * `request.UpdateDesignReq.design` **Changed** **Breaking** ⚠️ * `response.error` **Added** * `SDK.design-builder.addConsumer()`: `response.error` **Added** * `SDK.design-builder.deleteDesign()`: `response.error` **Added** * `SDK.design-builder.getBrands()`: `response.error` **Added** * `SDK.design-builder.getFiles()`: `response.error` **Added** * `SDK.design-builder.getLimit()`: `response.error` **Added** * `SDK.design-builder.getThemeFromDesign()`: * `request.theme` **Changed** * `response.error` **Added**
1 parent 74789df commit e9eb54c

Some content is hidden

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

72 files changed

+4238
-1349
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
**/.speakeasy/temp/
2+
**/.speakeasy/logs/
3+
.env
4+
.env.local
15
.terraform
26
.terraform*
37
*.tfstate*

.speakeasy/gen.lock

Lines changed: 86 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,36 @@
11
lockVersion: 2.0.0
22
id: 998a101f-1cb6-4c08-9fd1-b3ee7a1cdeb4
33
management:
4-
docChecksum: 1b26e8c7c1ab65a1ba2183f905b98a1c
4+
docChecksum: 64c6c6e1ba31ff6b601d0063e45b6a48
55
docVersion: 0.0.1
6-
speakeasyVersion: 1.477.0
7-
generationVersion: 2.497.0
8-
releaseVersion: 0.14.2
9-
configChecksum: f7903441c23a0a44467352a31adb6dff
6+
speakeasyVersion: 1.636.2
7+
generationVersion: 2.723.8
8+
releaseVersion: 0.15.0
9+
configChecksum: eb765f8d3604acc0b0a945a0315ddcca
1010
repoURL: https://github.com/epilot-dev/terraform-provider-epilot-designbuilder.git
1111
features:
1212
terraform:
1313
additionalDependencies: 0.1.0
14-
core: 3.29.0
15-
deprecations: 2.81.1
16-
envVarSecurityUsage: 0.1.0
17-
globalSecurity: 2.81.9
18-
globalServerURLs: 2.82.1
19-
retries: 2.81.2
14+
core: 3.45.3
15+
deprecations: 2.82.0
16+
globalSecurity: 2.82.1
17+
globalServerURLs: 2.83.0
18+
retries: 2.81.4
2019
typeOverrides: 2.81.1
2120
generatedFiles:
2221
- .gitattributes
2322
- USAGE.md
24-
- examples/README.md
2523
- examples/data-sources/epilot-designbuilder_design/data-source.tf
2624
- examples/provider/provider.tf
25+
- examples/resources/epilot-designbuilder_design/import-by-string-id.tf
2726
- examples/resources/epilot-designbuilder_design/import.sh
2827
- examples/resources/epilot-designbuilder_design/resource.tf
2928
- go.mod
3029
- go.sum
3130
- internal/planmodifiers/boolplanmodifier/suppress_diff.go
31+
- internal/planmodifiers/float32planmodifier/suppress_diff.go
3232
- internal/planmodifiers/float64planmodifier/suppress_diff.go
33+
- internal/planmodifiers/int32planmodifier/suppress_diff.go
3334
- internal/planmodifiers/int64planmodifier/suppress_diff.go
3435
- internal/planmodifiers/listplanmodifier/suppress_diff.go
3536
- internal/planmodifiers/mapplanmodifier/suppress_diff.go
@@ -57,11 +58,16 @@ generatedFiles:
5758
- internal/provider/reflect/primitive.go
5859
- internal/provider/reflect/slice.go
5960
- internal/provider/reflect/struct.go
61+
- internal/provider/typeconvert/date.go
62+
- internal/provider/typeconvert/datetime.go
63+
- internal/provider/typeconvert/int.go
6064
- internal/provider/types/design_tokens.go
6165
- internal/provider/types/user.go
6266
- internal/provider/utils.go
6367
- internal/sdk/.gitattributes
6468
- internal/sdk/designbuilder.go
69+
- internal/sdk/docs/models/operations/option.md
70+
- internal/sdk/internal/config/sdkconfiguration.go
6571
- internal/sdk/internal/hooks/hooks.go
6672
- internal/sdk/internal/utils/contenttype.go
6773
- internal/sdk/internal/utils/env.go
@@ -97,21 +103,26 @@ generatedFiles:
97103
- internal/sdk/models/shared/getalldesignsres.go
98104
- internal/sdk/models/shared/getbrandsres.go
99105
- internal/sdk/models/shared/getdesignres.go
106+
- internal/sdk/models/shared/removeconsumerreq.go
100107
- internal/sdk/models/shared/security.go
108+
- internal/sdk/models/shared/theme.go
101109
- internal/sdk/models/shared/updatedesignreq.go
110+
- internal/sdk/optionalnullable/optionalnullable.go
111+
- internal/sdk/optionalnullable/optionalnullable_test.go
102112
- internal/sdk/retry/config.go
103113
- internal/sdk/sdk.go
104114
- internal/sdk/types/bigint.go
105115
- internal/sdk/types/date.go
106116
- internal/sdk/types/datetime.go
107-
- internal/sdk/types/decimal.go
108117
- internal/sdk/types/pointers.go
109118
- internal/validators/DateValidator.go
110119
- internal/validators/ExactlyOneChild.go
111120
- internal/validators/JSONParseValidator.go
112121
- internal/validators/RFC3339Validator.go
113122
- internal/validators/boolvalidators/not_null.go
123+
- internal/validators/float32validators/not_null.go
114124
- internal/validators/float64validators/not_null.go
125+
- internal/validators/int32validators/not_null.go
115126
- internal/validators/int64validators/not_null.go
116127
- internal/validators/listvalidators/not_null.go
117128
- internal/validators/mapvalidators/not_null.go
@@ -124,34 +135,44 @@ generatedFiles:
124135
- tools/tools.go
125136
examples:
126137
addConsumer:
127-
"":
138+
speakeasy-default-add-consumer:
128139
parameters:
129140
path:
130-
application: "journey"
131141
designId: "4a062990-a6a3-11eb-9828-4f3da7d4935a"
142+
application: "journey"
132143
requestBody:
133-
application/json: {"consumer_id": "<id>", "consumer_name": "<value>"}
144+
application/json: {"consumer_id": "4a062990-a6a3-11eb-9828-4f3da7d4935a", "consumer_name": "<value>"}
145+
responses:
146+
"400":
147+
application/json: {}
148+
"500":
149+
application/json: {}
134150
addDesign:
135151
speakeasy-default-add-design:
136152
requestBody:
137-
application/json: {"design": {"style": {"consumer": {"customer_portals": [{"id": "<id>", "name": "<value>"}], "widgets": [{"id": "<id>", "name": "<value>"}, {"id": "<id>", "name": "<value>"}, {"id": "<id>", "name": "<value>"}]}, "palette": {"background": "<value>", "error": "<value>", "navbar": "<value>", "paper": "<value>", "primary": "<value>", "secondary": "<value>"}, "typography": {"font": {"font_id": "<id>", "font_name": "<value>", "urls": [{}, {}]}, "primary": "<value>", "secondary": "<value>"}}, "style_name": "<value>"}}
153+
application/json: {"design": {"style": "<value>", "style_name": "<value>"}}
138154
responses:
139155
"201":
140-
application/json: {"design": {"created_at": "2021-01-30T08:30:00Z", "edited": true, "style": {"consumer": {"customer_portals": [{"id": "<id>", "name": "<value>"}, {"id": "<id>", "name": "<value>"}, {"id": "<id>", "name": "<value>"}], "widgets": [{"id": "<id>", "name": "<value>"}, {"id": "<id>", "name": "<value>"}]}, "palette": {"background": "<value>", "error": "<value>", "navbar": "<value>", "paper": "<value>", "primary": "<value>", "secondary": "<value>"}, "typography": {"font": {"font_id": "<id>", "font_name": "<value>", "urls": [{}]}, "primary": "<value>", "secondary": "<value>"}}, "style_name": "<value>"}}
156+
application/json: {"design": {"created_at": "2021-01-30T08:30:00Z", "edited": true, "style": "<value>", "style_name": "<value>"}}
141157
"400":
142158
application/json: {}
143159
"500":
144160
application/json: {}
145161
deleteDesign:
146-
"":
162+
speakeasy-default-delete-design:
147163
parameters:
148164
path:
149165
designId: "4a062990-a6a3-11eb-9828-4f3da7d4935a"
166+
responses:
167+
"400":
168+
application/json: {}
169+
"500":
170+
application/json: {}
150171
getAllDesigns:
151172
speakeasy-default-get-all-designs:
152173
responses:
153174
"200":
154-
application/json: [{"designs": [{"created_at": "2021-01-30T08:30:00Z", "edited": true, "style": {"consumer": {"customer_portals": [{"id": "<id>", "name": "<value>"}], "widgets": []}, "palette": {"background": "<value>", "error": "<value>", "navbar": "<value>", "paper": "<value>", "primary": "<value>", "secondary": "<value>"}, "typography": {"font": {"font_id": "<id>", "font_name": "<value>", "urls": [{}]}, "primary": "<value>", "secondary": "<value>"}}, "style_name": "<value>"}]}]
175+
application/json: {"designs": [{"created_at": "2021-01-30T08:30:00Z", "edited": true, "style": "<value>", "style_name": "<value>"}]}
155176
"500":
156177
application/json: {}
157178
getBrands:
@@ -162,64 +183,88 @@ examples:
162183
"500":
163184
application/json: {}
164185
getConsumerDesign:
165-
"":
186+
speakeasy-default-get-consumer-design:
166187
parameters:
167188
path:
168-
application: "journey"
169189
consumerId: "4a062990-a6a3-11eb-9828-4f3da7d4935a"
190+
application: "journey"
170191
responses:
171192
"200":
172-
application/json: {"design": {"created_at": "2021-01-30T08:30:00Z", "edited": false, "style": {"consumer": {"customer_portals": [{"id": "<id>", "name": "<value>"}, {"id": "<id>", "name": "<value>"}], "widgets": [{"id": "<id>", "name": "<value>"}, {"id": "<id>", "name": "<value>"}]}, "palette": {"background": "<value>", "error": "<value>", "navbar": "<value>", "paper": "<value>", "primary": "<value>", "secondary": "<value>"}, "typography": {"font": {"font_id": "<id>", "font_name": "<value>", "urls": []}, "primary": "<value>", "secondary": "<value>"}}, "style_name": "<value>"}}
173-
"400": {}
174-
"500": {}
193+
application/json: {"design": {"created_at": "2021-01-30T08:30:00Z", "edited": false, "style": "<value>", "style_name": "<value>"}}
194+
"400":
195+
application/json: {}
196+
"500":
197+
application/json: {}
175198
getDesign:
176-
"":
199+
speakeasy-default-get-design:
177200
parameters:
178201
path:
179202
designId: "4a062990-a6a3-11eb-9828-4f3da7d4935a"
180203
responses:
181204
"200":
182-
application/json: {"design": {"created_at": "2021-01-30T08:30:00Z", "edited": false, "style": {"consumer": {"customer_portals": [{"id": "<id>", "name": "<value>"}, {"id": "<id>", "name": "<value>"}, {"id": "<id>", "name": "<value>"}], "widgets": [{"id": "<id>", "name": "<value>"}, {"id": "<id>", "name": "<value>"}]}, "palette": {"background": "<value>", "error": "<value>", "navbar": "<value>", "paper": "<value>", "primary": "<value>", "secondary": "<value>"}, "typography": {"font": {"font_id": "<id>", "font_name": "<value>", "urls": []}, "primary": "<value>", "secondary": "<value>"}}, "style_name": "<value>"}}
183-
"400": {}
184-
"500": {}
205+
application/json: {"design": {"created_at": "2021-01-30T08:30:00Z", "edited": false, "style": "<value>", "style_name": "<value>"}}
206+
"400":
207+
application/json: {}
208+
"500":
209+
application/json: {}
185210
getFiles:
186-
"":
211+
speakeasy-default-get-files:
187212
parameters:
188213
query:
189214
type: "LOGO"
190215
responses:
191216
"200":
192-
application/json: [{"name": "<value>", "s3_object_key": "<value>", "url": "https://nifty-squid.info"}, {"name": "<value>", "s3_object_key": "<value>", "url": "https://next-cinema.name/"}]
193-
"400": {}
194-
"500": {}
217+
application/json: [{"name": "<value>", "s3_object_key": "<value>", "url": "https://colorful-obligation.name"}]
218+
"400":
219+
application/json: {}
220+
"500":
221+
application/json: {}
195222
getLimit:
196223
speakeasy-default-get-limit:
197224
responses:
198225
"200":
199-
application/json: 8111.85
226+
application/json: 8443.97
200227
"500":
201228
application/json: {}
202229
getThemeFromDesign:
203-
"":
230+
speakeasy-default-get-theme-from-design:
204231
parameters:
205232
path:
206233
designId: "4a062990-a6a3-11eb-9828-4f3da7d4935a"
207234
query:
208235
theme: "NEW"
236+
responses:
237+
"200":
238+
application/json: {}
239+
"400":
240+
application/json: {}
241+
"500":
242+
application/json: {}
209243
removeConsumer:
210-
"":
244+
speakeasy-default-remove-consumer:
211245
parameters:
212246
path:
213-
application: "journey"
214247
designId: "4a062990-a6a3-11eb-9828-4f3da7d4935a"
248+
application: "journey"
215249
requestBody:
216-
application/json: {"consumer_id": "<id>", "consumer_name": "<value>"}
250+
application/json: {"consumer_id": "4a062990-a6a3-11eb-9828-4f3da7d4935a"}
251+
responses:
252+
"400":
253+
application/json: {}
254+
"500":
255+
application/json: {}
217256
updateDesign:
218-
"":
257+
speakeasy-default-update-design:
219258
parameters:
220259
path:
221260
designId: "4a062990-a6a3-11eb-9828-4f3da7d4935a"
222261
requestBody:
223-
application/json: {"design": {"style": {"consumer": {"customer_portals": [{"id": "<id>", "name": "<value>"}], "widgets": [{"id": "<id>", "name": "<value>"}]}, "palette": {"background": "<value>", "error": "<value>", "navbar": "<value>", "paper": "<value>", "primary": "<value>", "secondary": "<value>"}, "typography": {"font": {"font_id": "<id>", "font_name": "<value>", "urls": []}, "primary": "<value>", "secondary": "<value>"}}, "style_name": "<value>"}}
224-
examplesVersion: 1.0.0
262+
application/json: {"design": {"style": "<value>", "style_name": "<value>"}}
263+
responses:
264+
"400":
265+
application/json: {}
266+
"500":
267+
application/json: {}
268+
examplesVersion: 1.0.2
225269
generatedTests: {}
270+
releaseNotes: "## Terraform SDK Changes Detected:\n* `SDK.design-builder.addDesign()`: \n * `request.design` **Changed** **Breaking** :warning:\n * `response` **Changed** **Breaking** :warning:\n* `SDK.design-builder.getAllDesigns()`: `response` **Changed** **Breaking** :warning:\n* `SDK.design-builder.getConsumerDesign()`: `response` **Changed** **Breaking** :warning:\n* `SDK.design-builder.getDesign()`: `response` **Changed** **Breaking** :warning:\n* `SDK.design-builder.removeConsumer()`: \n * `request` **Changed** **Breaking** :warning:\n * `response.error` **Added**\n* `SDK.design-builder.updateDesign()`: \n * `request.UpdateDesignReq.design` **Changed** **Breaking** :warning:\n * `response.error` **Added**\n* `SDK.design-builder.addConsumer()`: `response.error` **Added**\n* `SDK.design-builder.deleteDesign()`: `response.error` **Added**\n* `SDK.design-builder.getBrands()`: `response.error` **Added**\n* `SDK.design-builder.getFiles()`: `response.error` **Added**\n* `SDK.design-builder.getLimit()`: `response.error` **Added**\n* `SDK.design-builder.getThemeFromDesign()`: \n * `request.theme` **Changed**\n * `response.error` **Added**\n"

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
speakeasyVersion: 1.477.2
1+
speakeasyVersion: 1.636.2
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:662a7e163d8a31aef7774a68e86e032c01b94a11e11c5001f7a5cf2b7b1cd53c
6-
sourceBlobDigest: sha256:ec33bbdc357a273611e581125547c2cefe0f3bf75e58500ae01a4a34159ceb20
5+
sourceRevisionDigest: sha256:1abe06ddd9a3624cbc29cdce348ceede8a5398f297f142bf579ad321a9760720
6+
sourceBlobDigest: sha256:e3c6fc1ceba5dffe05694fef6570e04f60a7eac0dfbdc8ed6096dd7806076352
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1738252747
9+
- speakeasy-sdk-regen-1758759331
1010
- 0.0.1
1111
targets:
1212
terraform:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:662a7e163d8a31aef7774a68e86e032c01b94a11e11c5001f7a5cf2b7b1cd53c
16-
sourceBlobDigest: sha256:ec33bbdc357a273611e581125547c2cefe0f3bf75e58500ae01a4a34159ceb20
15+
sourceRevisionDigest: sha256:1abe06ddd9a3624cbc29cdce348ceede8a5398f297f142bf579ad321a9760720
16+
sourceBlobDigest: sha256:e3c6fc1ceba5dffe05694fef6570e04f60a7eac0dfbdc8ed6096dd7806076352
1717
workflow:
1818
workflowVersion: 1.0.0
1919
speakeasyVersion: latest

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ terraform {
1818
required_providers {
1919
epilot-designbuilder = {
2020
source = "epilot-dev/epilot-designbuilder"
21-
version = "0.14.2"
21+
version = "0.15.0"
2222
}
2323
}
2424
}
@@ -71,6 +71,18 @@ provider_installation {
7171
```
7272
<!-- End Testing the provider locally [usage] -->
7373

74+
<!-- Start Authentication [security] -->
75+
## Authentication
76+
77+
This provider supports authentication configuration via provider configuration.
78+
79+
Available configuration:
80+
81+
| Provider Attribute | Description |
82+
|---|---|
83+
| `custom_authorizer` | HTTP Bearer. |
84+
<!-- End Authentication [security] -->
85+
7486
<!-- Start Available Resources and Data Sources [operations] -->
7587
## Available Resources and Data Sources
7688

@@ -93,6 +105,7 @@ provider_installation {
93105
<!-- $toc-max-depth=2 -->
94106
* [Installation](#installation)
95107
* [Testing the provider locally](#testing-the-provider-locally)
108+
* [Authentication](#authentication)
96109
* [Available Resources and Data Sources](#available-resources-and-data-sources)
97110

98111
<!-- End Table of Contents [toc] -->

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,14 @@ Based on:
6060
### Generated
6161
- [terraform v0.13.0] .
6262
### Releases
63-
- [Terraform v0.13.0] https://registry.terraform.io/providers/epilot-dev/epilot-designbuilder/0.13.0 - .
63+
- [Terraform v0.13.0] https://registry.terraform.io/providers/epilot-dev/epilot-designbuilder/0.13.0 - .
64+
65+
## 2025-10-09 00:15:22
66+
### Changes
67+
Based on:
68+
- OpenAPI Doc
69+
- Speakeasy CLI 1.636.2 (2.723.8) https://github.com/speakeasy-api/speakeasy
70+
### Generated
71+
- [terraform v0.15.0] .
72+
### Releases
73+
- [Terraform v0.15.0] https://registry.terraform.io/providers/epilot-dev/epilot-designbuilder/0.15.0 - .

docs/index.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
33
page_title: "epilot-designbuilder Provider"
4-
subcategory: ""
54
description: |-
65
76
---
@@ -17,7 +16,7 @@ terraform {
1716
required_providers {
1817
epilot-designbuilder = {
1918
source = "epilot-dev/epilot-designbuilder"
20-
version = "0.14.2"
19+
version = "0.15.0"
2120
}
2221
}
2322
}
@@ -32,5 +31,5 @@ provider "epilot-designbuilder" {
3231

3332
### Optional
3433

35-
- `custom_authorizer` (String, Sensitive)
34+
- `custom_authorizer` (String, Sensitive) HTTP Bearer.
3635
- `server_url` (String) Server URL (defaults to https://design-builder-api.sls.epilot.io)

docs/resources/design.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,17 @@ Optional:
8585

8686
Import is supported using the following syntax:
8787

88+
In Terraform v1.5.0 and later, the [`import` block](https://developer.hashicorp.com/terraform/language/import) can be used with the `id` attribute, for example:
89+
90+
```terraform
91+
import {
92+
to = epilot-designbuilder_design.my_epilot-designbuilder_design
93+
id = "..."
94+
}
95+
```
96+
97+
The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example:
98+
8899
```shell
89-
terraform import epilot-designbuilder_design.my_epilot-designbuilder_design ""
100+
terraform import epilot-designbuilder_design.my_epilot-designbuilder_design "..."
90101
```

examples/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/provider/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
epilot-designbuilder = {
44
source = "epilot-dev/epilot-designbuilder"
5-
version = "0.14.2"
5+
version = "0.15.0"
66
}
77
}
88
}

0 commit comments

Comments
 (0)