Skip to content

Commit 1ebb70d

Browse files
author
Nishu Goel
committed
feat: jsonencode rows in TextAttribute
1 parent f7587b3 commit 1ebb70d

File tree

109 files changed

+14640
-12014
lines changed

Some content is hidden

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

109 files changed

+14640
-12014
lines changed

.speakeasy/gen.lock

Lines changed: 588 additions & 4961 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ generation:
1111
requestResponseComponentNamesFeb2024: true
1212
auth:
1313
oAuth2ClientCredentialsEnabled: true
14+
oAuth2PasswordEnabled: false
1415
terraform:
15-
version: 0.14.0
16+
version: 0.15.0
1617
additionalDataSources: []
1718
additionalDependencies: {}
1819
additionalResources: []

README.md

Lines changed: 47 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ Use this API configure and access your business objects like Contacts, Opportuni
6969

7070
<!-- End Table of Contents [toc] -->
7171

72-
<!-- Start SDK Installation [installation] -->
73-
## SDK Installation
72+
<!-- Start Installation [installation] -->
73+
## Installation
7474

7575
To install this provider, copy and paste this code into your Terraform configuration. Then, run `terraform init`.
7676

@@ -79,7 +79,7 @@ terraform {
7979
required_providers {
8080
epilot-schema = {
8181
source = "epilot/epilot-schema"
82-
version = "0.14.0"
82+
version = "0.15.0"
8383
}
8484
}
8585
}
@@ -88,19 +88,17 @@ provider "epilot-schema" {
8888
# Configuration options
8989
}
9090
```
91-
<!-- End SDK Installation [installation] -->
91+
<!-- End Installation [installation] -->
9292

93-
<!-- Start SDK Example Usage [usage] -->
94-
## SDK Example Usage
93+
<!-- Start Testing the provider locally [usage] -->
94+
## Testing the provider locally
9595

96-
### Testing the provider locally
96+
#### Local Provider
9797

9898
Should you want to validate a change locally, the `--debug` flag allows you to execute the provider against a terraform instance locally.
9999

100100
This also allows for debuggers (e.g. delve) to be attached to the provider.
101101

102-
### Example
103-
104102
```sh
105103
go run main.go --debug
106104
# Copy the TF_REATTACH_PROVIDERS env var
@@ -109,13 +107,49 @@ cd examples/your-example
109107
TF_REATTACH_PROVIDERS=... terraform init
110108
TF_REATTACH_PROVIDERS=... terraform apply
111109
```
112-
<!-- End SDK Example Usage [usage] -->
113110

114-
<!-- Start Available Resources and Operations [operations] -->
115-
## Available Resources and Operations
111+
#### Compiled Provider
112+
113+
Terraform allows you to use local provider builds by setting a `dev_overrides` block in a configuration file called `.terraformrc`. This block overrides all other configured installation methods.
114+
115+
1. Execute `go build` to construct a binary called `terraform-provider-epilot-schema`
116+
2. Ensure that the `.terraformrc` file is configured with a `dev_overrides` section such that your local copy of terraform can see the provider binary
117+
118+
Terraform searches for the `.terraformrc` file in your home directory and applies any configuration settings you set.
116119

120+
```
121+
provider_installation {
117122
118-
<!-- End Available Resources and Operations [operations] -->
123+
dev_overrides {
124+
"registry.terraform.io/epilot/epilot-schema" = "<PATH>"
125+
}
126+
127+
# For all other providers, install them directly from their origin provider
128+
# registries as normal. If you omit this, Terraform will _only_ use
129+
# the dev_overrides block, and so no other providers will be available.
130+
direct {}
131+
}
132+
```
133+
<!-- End Testing the provider locally [usage] -->
134+
135+
<!-- Start Available Resources and Data Sources [operations] -->
136+
## Available Resources and Data Sources
137+
138+
### Resources
139+
140+
* [epilot-schema_schema](docs/resources/schema.md)
141+
* [epilot-schema_schema_attribute](docs/resources/schema_attribute.md)
142+
* [epilot-schema_schema_capability](docs/resources/schema_capability.md)
143+
* [epilot-schema_schema_group](docs/resources/schema_group.md)
144+
* [epilot-schema_schema_group_headline](docs/resources/schema_group_headline.md)
145+
### Data Sources
146+
147+
* [epilot-schema_schema](docs/data-sources/schema.md)
148+
* [epilot-schema_schema_attribute](docs/data-sources/schema_attribute.md)
149+
* [epilot-schema_schema_capability](docs/data-sources/schema_capability.md)
150+
* [epilot-schema_schema_group](docs/data-sources/schema_group.md)
151+
* [epilot-schema_schema_group_headline](docs/data-sources/schema_group_headline.md)
152+
<!-- End Available Resources and Data Sources [operations] -->
119153

120154
<!-- Placeholder for Future Speakeasy SDK Sections -->
121155

docs/data-sources/schema.md

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Schema DataSource
1414

1515
```terraform
1616
data "epilot-schema_schema" "my_schema" {
17-
id = "6fb42fdf-f5a6-4a16-a18e-d5ee61469436"
17+
id = "89868668-91fd-45da-ba4d-b78cf9b60131"
1818
slug = "contact"
1919
}
2020
```
@@ -63,7 +63,7 @@ Read-Only:
6363

6464
- `fields` (Map of String)
6565
- `index` (Boolean)
66-
- `type` (String) must be one of ["keyword", "text", "boolean", "integer", "long", "float", "date", "flattened", "nested"]
66+
- `type` (String)
6767

6868

6969
<a id="nestedatt--layout_settings"></a>
@@ -103,15 +103,15 @@ Read-Only:
103103
Read-Only:
104104

105105
- `search_params` (Map of String)
106-
- `view_type` (String) must be one of ["default"]
106+
- `view_type` (String)
107107

108108

109109
<a id="nestedatt--ui_config--create_view--entity_view_disabled"></a>
110110
### Nested Schema for `ui_config.create_view.entity_view_disabled`
111111

112112
Read-Only:
113113

114-
- `view_type` (String) must be one of ["disabled"]
114+
- `view_type` (String)
115115

116116

117117
<a id="nestedatt--ui_config--create_view--redirect_entity_view"></a>
@@ -120,7 +120,7 @@ Read-Only:
120120
Read-Only:
121121

122122
- `route` (String)
123-
- `view_type` (String) must be one of ["redirect"]
123+
- `view_type` (String)
124124

125125

126126

@@ -140,15 +140,15 @@ Read-Only:
140140

141141
- `search_params` (Map of String)
142142
- `summary_attributes` (List of String) List of attribute names that we show in the summary header
143-
- `view_type` (String) must be one of ["default"]
143+
- `view_type` (String)
144144

145145

146146
<a id="nestedatt--ui_config--edit_view--entity_view_disabled"></a>
147147
### Nested Schema for `ui_config.edit_view.entity_view_disabled`
148148

149149
Read-Only:
150150

151-
- `view_type` (String) must be one of ["disabled"]
151+
- `view_type` (String)
152152

153153

154154
<a id="nestedatt--ui_config--edit_view--redirect_entity_view"></a>
@@ -157,7 +157,7 @@ Read-Only:
157157
Read-Only:
158158

159159
- `route` (String)
160-
- `view_type` (String) must be one of ["redirect"]
160+
- `view_type` (String)
161161

162162

163163

@@ -208,13 +208,9 @@ Read-Only:
208208
- `content_line_cap` (Number) Defines the line numbers of the content.
209209
For instance, When set to 1, the content will be displayed in a single line.
210210
- `content_wrap` (String) Defines white-space of the content.
211-
212-
must be one of ["normal", "nowrap", "pre", "pre-wrap"]
213211
- `display_mode` (String) Defines the display mode of the summary attribute.
214212
When set to `inline`, the label and value will be displayed in the same line.
215213
When set to `block`, the label and value will be displayed in separate lines.
216-
217-
must be one of ["inline", "block"]
218214
- `feature_flag` (String) Binds summary field visibility to the feature flag state.
219215
- `hide_label` (Boolean) When set to true, will hide the label of the field.
220216
- `highlight_container` (Boolean) When set to true, will highlight the container of the field.
@@ -243,7 +239,7 @@ Read-Only:
243239

244240
Read-Only:
245241

246-
- `content_direction` (String) Show attributes in a row or column. must be one of ["row", "column"]
242+
- `content_direction` (String) Show attributes in a row or column
247243

248244

249245

@@ -271,15 +267,15 @@ Read-Only:
271267

272268
- `search_params` (Map of String)
273269
- `summary_attributes` (List of String) List of attribute names that we show in the summary header
274-
- `view_type` (String) must be one of ["default"]
270+
- `view_type` (String)
275271

276272

277273
<a id="nestedatt--ui_config--single_view--entity_view_disabled"></a>
278274
### Nested Schema for `ui_config.single_view.entity_view_disabled`
279275

280276
Read-Only:
281277

282-
- `view_type` (String) must be one of ["disabled"]
278+
- `view_type` (String)
283279

284280

285281
<a id="nestedatt--ui_config--single_view--redirect_entity_view"></a>
@@ -288,7 +284,7 @@ Read-Only:
288284
Read-Only:
289285

290286
- `route` (String)
291-
- `view_type` (String) must be one of ["redirect"]
287+
- `view_type` (String)
292288

293289

294290

@@ -310,7 +306,7 @@ Read-Only:
310306
- `enable_thumbnails` (Boolean) Enable the thumbnail column
311307
- `navbar_actions` (Attributes List) (see [below for nested schema](#nestedatt--ui_config--table_view--entity_default_table--navbar_actions))
312308
- `row_actions` (Attributes List) (see [below for nested schema](#nestedatt--ui_config--table_view--entity_default_table--row_actions))
313-
- `view_type` (String) must be one of ["default"]
309+
- `view_type` (String)
314310

315311
<a id="nestedatt--ui_config--table_view--entity_default_table--bulk_actions"></a>
316312
### Nested Schema for `ui_config.table_view.entity_default_table.bulk_actions`
@@ -382,7 +378,7 @@ If not provided, the action will be shown to all users.
382378

383379
Read-Only:
384380

385-
- `view_type` (String) must be one of ["disabled"]
381+
- `view_type` (String)
386382

387383

388384
<a id="nestedatt--ui_config--table_view--redirect_entity_view"></a>
@@ -391,4 +387,4 @@ Read-Only:
391387
Read-Only:
392388

393389
- `route` (String)
394-
- `view_type` (String) must be one of ["redirect"]
390+
- `view_type` (String)

0 commit comments

Comments
 (0)