Skip to content

Commit

Permalink
Regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
anttiviljami committed Aug 14, 2024
1 parent 4b1d5df commit 21a68a5
Show file tree
Hide file tree
Showing 128 changed files with 5,122 additions and 2,191 deletions.
138 changes: 72 additions & 66 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,33 +1,92 @@
lockVersion: 2.0.0
id: 11c8545a-deb6-44f9-ba56-e71722af6a51
management:
docChecksum: 33030f081a67312f0e9e7df600da9266
docChecksum: 61c8bb4165fe2eb2f84a56e8fc26126c
docVersion: 0.2.0
speakeasyVersion: internal
generationVersion: 2.230.1
releaseVersion: 0.2.2
configChecksum: cd60a2eb8244be1b8a9172eabce9cfb5
speakeasyVersion: 1.366.0
generationVersion: 2.396.0
releaseVersion: 0.3.0
configChecksum: 96c32e2d81f59c38a7f96dc352e6effd
repoURL: https://github.com/epilot-dev/terraform-provider-epilot-file.git
repoSubDirectory: .
published: true
features:
terraform:
additionalDependencies: 0.1.0
additionalProperties: 0.1.2
constsAndDefaults: 0.1.2
core: 3.8.1
constsAndDefaults: 0.1.4
core: 3.24.6
deprecations: 2.81.1
globalSecurity: 2.81.2
envVarSecurityUsage: 0.1.0
globalSecurity: 2.81.8
globalServerURLs: 2.82.1
inputOutputModels: 2.83.0
retries: 2.81.1
unions: 2.81.7
unions: 2.81.16
generatedFiles:
- internal/sdk/deprecated.go
- internal/sdk/file.go
- internal/sdk/publiclinks.go
- internal/sdk/preview.go
- internal/sdk/session.go
- internal/sdk/sdk.go
- internal/sdk/models/errors/sdkerror.go
- internal/sdk/retry/config.go
- internal/sdk/types/bigint.go
- internal/sdk/types/date.go
- internal/sdk/types/datetime.go
- internal/sdk/types/decimal.go
- internal/sdk/types/pointers.go
- internal/sdk/internal/utils/contenttype.go
- internal/sdk/internal/utils/form.go
- internal/sdk/internal/utils/headers.go
- internal/sdk/internal/utils/json.go
- internal/sdk/internal/utils/pathparams.go
- internal/sdk/internal/utils/queryparams.go
- internal/sdk/internal/utils/requestbody.go
- internal/sdk/internal/utils/retries.go
- internal/sdk/internal/utils/security.go
- internal/sdk/internal/utils/utils.go
- internal/sdk/models/operations/savefile.go
- internal/sdk/models/operations/uploadfile.go
- internal/sdk/models/operations/deletefile.go
- internal/sdk/models/operations/downloadfile.go
- internal/sdk/models/operations/downloadfiles.go
- internal/sdk/models/operations/downloads3file.go
- internal/sdk/models/operations/getfile.go
- internal/sdk/models/operations/savefilev2.go
- internal/sdk/models/operations/uploadfilepublic.go
- internal/sdk/models/operations/uploadfilev2.go
- internal/sdk/models/operations/verifycustomdownloadurl.go
- internal/sdk/models/operations/accesspubliclink.go
- internal/sdk/models/operations/generatepubliclink.go
- internal/sdk/models/operations/listpubliclinksforfile.go
- internal/sdk/models/operations/revokepubliclink.go
- internal/sdk/models/operations/previewfile.go
- internal/sdk/models/operations/previewpublicfile.go
- internal/sdk/models/operations/previews3file.go
- internal/sdk/models/operations/previews3fileget.go
- internal/sdk/models/operations/deletesession.go
- internal/sdk/models/operations/getsession.go
- internal/sdk/models/shared/fileentity.go
- internal/sdk/models/shared/fileitem.go
- internal/sdk/models/shared/s3ref.go
- internal/sdk/models/shared/filetype.go
- internal/sdk/models/shared/savefilepayload.go
- internal/sdk/models/shared/saves3filepayload.go
- internal/sdk/models/shared/filerelationitem.go
- internal/sdk/models/shared/savefilefromsourceurlpayload.go
- internal/sdk/models/shared/savecustomfilepayload.go
- internal/sdk/models/shared/uploadfilepayload.go
- internal/sdk/models/shared/downloadfilespayload.go
- internal/sdk/models/shared/savefilepayloadv2.go
- internal/sdk/models/shared/fileupload.go
- internal/sdk/models/shared/verifycustomdownloadurlpayload.go
- internal/sdk/models/shared/publiclink.go
- internal/sdk/models/shared/security.go
- internal/sdk/models/operations/options.go
- internal/sdk/.gitattributes
- internal/sdk/internal/hooks/hooks.go
- examples/README.md
- go.mod
- go.sum
Expand Down Expand Up @@ -56,22 +115,6 @@ generatedFiles:
- internal/provider/reflect/slice.go
- internal/provider/reflect/struct.go
- internal/provider/utils.go
- internal/sdk/pkg/models/sdkerrors/sdkerror.go
- internal/sdk/pkg/types/bigint.go
- internal/sdk/pkg/types/date.go
- internal/sdk/pkg/types/datetime.go
- internal/sdk/pkg/types/decimal.go
- internal/sdk/pkg/types/pointers.go
- internal/sdk/pkg/utils/contenttype.go
- internal/sdk/pkg/utils/form.go
- internal/sdk/pkg/utils/headers.go
- internal/sdk/pkg/utils/json.go
- internal/sdk/pkg/utils/pathparams.go
- internal/sdk/pkg/utils/queryparams.go
- internal/sdk/pkg/utils/requestbody.go
- internal/sdk/pkg/utils/retries.go
- internal/sdk/pkg/utils/security.go
- internal/sdk/pkg/utils/utils.go
- internal/validators/DateValidator.go
- internal/validators/ExactlyOneChild.go
- internal/validators/JSONParseValidator.go
Expand All @@ -88,54 +131,17 @@ generatedFiles:
- main.go
- terraform-registry-manifest.json
- tools/tools.go
- internal/sdk/pkg/models/operations/savefile.go
- internal/sdk/pkg/models/operations/uploadfile.go
- internal/sdk/pkg/models/operations/deletefile.go
- internal/sdk/pkg/models/operations/downloadfile.go
- internal/sdk/pkg/models/operations/downloadfiles.go
- internal/sdk/pkg/models/operations/downloads3file.go
- internal/sdk/pkg/models/operations/getfile.go
- internal/sdk/pkg/models/operations/savefilev2.go
- internal/sdk/pkg/models/operations/uploadfilepublic.go
- internal/sdk/pkg/models/operations/uploadfilev2.go
- internal/sdk/pkg/models/operations/verifycustomdownloadurl.go
- internal/sdk/pkg/models/operations/accesspubliclink.go
- internal/sdk/pkg/models/operations/generatepubliclink.go
- internal/sdk/pkg/models/operations/listpubliclinksforfile.go
- internal/sdk/pkg/models/operations/revokepubliclink.go
- internal/sdk/pkg/models/operations/previewfile.go
- internal/sdk/pkg/models/operations/previewpublicfile.go
- internal/sdk/pkg/models/operations/previews3file.go
- internal/sdk/pkg/models/operations/previews3fileget.go
- internal/sdk/pkg/models/operations/deletesession.go
- internal/sdk/pkg/models/operations/getsession.go
- internal/sdk/pkg/models/shared/fileentity.go
- internal/sdk/pkg/models/shared/fileitem.go
- internal/sdk/pkg/models/shared/s3ref.go
- internal/sdk/pkg/models/shared/filetype.go
- internal/sdk/pkg/models/shared/savefilepayload.go
- internal/sdk/pkg/models/shared/saves3filepayload.go
- internal/sdk/pkg/models/shared/filerelationitem.go
- internal/sdk/pkg/models/shared/savefilefromsourceurlpayload.go
- internal/sdk/pkg/models/shared/savecustomfilepayload.go
- internal/sdk/pkg/models/shared/uploadfilepayload.go
- internal/sdk/pkg/models/shared/downloadfilespayload.go
- internal/sdk/pkg/models/shared/savefilepayloadv2.go
- internal/sdk/pkg/models/shared/fileupload.go
- internal/sdk/pkg/models/shared/verifycustomdownloadurlpayload.go
- internal/sdk/pkg/models/shared/publiclink.go
- internal/sdk/pkg/models/shared/security.go
- internal/provider/type_acl.go
- internal/provider/type_s3_ref.go
- internal/provider/type_file_item.go
- internal/provider/types/acl.go
- internal/provider/types/s3_ref.go
- internal/provider/types/file_item.go
- USAGE.md
- internal/provider/provider.go
- examples/provider/provider.tf
- examples/resources/epilot-file_file/import.sh
- internal/provider/file_resource.go
- internal/provider/file_resource_sdk.go
- examples/resources/epilot-file_file/resource.tf
- internal/provider/file_data_source.go
- internal/provider/file_data_source_sdk.go
- examples/data-sources/epilot-file_file/data-source.tf
- internal/sdk/pkg/models/operations/options.go
- .gitattributes
26 changes: 26 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Contributing to This Repository

Thank you for your interest in contributing to this repository. Please note that this repository contains generated code. As such, we do not accept direct changes or pull requests. Instead, we encourage you to follow the guidelines below to report issues and suggest improvements.

## How to Report Issues

If you encounter any bugs or have suggestions for improvements, please open an issue on GitHub. When reporting an issue, please provide as much detail as possible to help us reproduce the problem. This includes:

- A clear and descriptive title
- Steps to reproduce the issue
- Expected and actual behavior
- Any relevant logs, screenshots, or error messages
- Information about your environment (e.g., operating system, software versions)
- For example can be collected using the `npx envinfo` command from your terminal if you have Node.js installed

## Issue Triage and Upstream Fixes

We will review and triage issues as quickly as possible. Our goal is to address bugs and incorporate improvements in the upstream source code. Fixes will be included in the next generation of the generated code.

## Contact

If you have any questions or need further assistance, please feel free to reach out by opening an issue.

Thank you for your understanding and cooperation!

The Maintainers
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ terraform {
required_providers {
epilot-file = {
source = "epilot-dev/epilot-file"
version = "0.2.2"
version = "0.3.0"
}
}
}
Expand Down
82 changes: 82 additions & 0 deletions docs/data-sources/file.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "epilot-file_file Data Source - terraform-provider-epilot-file"
subcategory: ""
description: |-
File DataSource
---

# epilot-file_file (Data Source)

File DataSource

## Example Usage

```terraform
data "epilot-file_file" "my_file" {
id = "ef7d985c-2385-44f4-9c71-ae06a52264f8"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Read-Only

- `access_control` (String) must be one of ["private", "public-read"]
- `acl` (Attributes) Access control list for file entity (readonly) (see [below for nested schema](#nestedatt--acl))
- `created_at` (String)
- `custom_download_url` (String) Custom external download url used for the file
- `filename` (String)
- `id` (String) The ID of this resource.
- `mime_type` (String) MIME type of the file
- `org` (String)
- `public_url` (String) Direct URL for file (public only if file access control is public-read)
- `readable_size` (String) Human readable file size
- `s3ref` (Attributes) (see [below for nested schema](#nestedatt--s3ref))
- `schema` (String) must be one of ["file"]
- `size_bytes` (Number) File size in bytes
- `source_url` (String) Source URL for the file. Included if the entity was created from source_url, or when ?source_url=true
- `tags` (List of String)
- `title` (String)
- `type` (String) must be one of ["document", "document_template", "text", "image", "video", "audio", "spreadsheet", "presentation", "font", "archive", "application", "unknown"]
- `updated_at` (String)
- `versions` (Attributes List) (see [below for nested schema](#nestedatt--versions))

<a id="nestedatt--acl"></a>
### Nested Schema for `acl`

Read-Only:

- `delete` (List of String)
- `edit` (List of String)
- `view` (List of String)


<a id="nestedatt--s3ref"></a>
### Nested Schema for `s3ref`

Read-Only:

- `bucket` (String)
- `key` (String)


<a id="nestedatt--versions"></a>
### Nested Schema for `versions`

Read-Only:

- `filename` (String)
- `mime_type` (String)
- `readable_size` (String)
- `s3ref` (Attributes) (see [below for nested schema](#nestedatt--versions--s3ref))
- `size_bytes` (Number)

<a id="nestedatt--versions--s3ref"></a>
### Nested Schema for `versions.s3ref`

Read-Only:

- `bucket` (String)
- `key` (String)
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
page_title: "epilot-file Provider"
subcategory: ""
description: |-
File API: Upload and manage all files stored in epilot
File API: Upload and manage epilot Files
---

# epilot-file Provider

File API: Upload and manage all files stored in epilot
File API: Upload and manage epilot Files

## Example Usage

Expand All @@ -17,7 +17,7 @@ terraform {
required_providers {
epilot-file = {
source = "epilot-dev/epilot-file"
version = "0.1.1"
version = "0.3.0"
}
}
}
Expand Down
Loading

0 comments on commit 21a68a5

Please sign in to comment.