Skip to content

Commit

Permalink
regenerate price resource to accommodate price_components and fix uni…
Browse files Browse the repository at this point in the history
…t price
  • Loading branch information
Nishu Goel committed Jul 25, 2024
1 parent 3d8c6dc commit 7a117c5
Show file tree
Hide file tree
Showing 149 changed files with 3,224 additions and 2,735 deletions.
132 changes: 73 additions & 59 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 5a857039-7f4b-42d5-86fd-449767242ed2
management:
docChecksum: 49ed280caef5eeece793d407c91311b9
docChecksum: d59d7d805e3440a2b3fc9350ab9c87b9
docVersion: 1.0.0
speakeasyVersion: internal
generationVersion: 2.230.1
releaseVersion: 0.6.0
configChecksum: 7343b8d7750f297d93a3e264e8b3bccf
speakeasyVersion: 1.346.0
generationVersion: 2.379.3
releaseVersion: 0.7.0
configChecksum: d31a4e2b4f3485ff79942468af450a99
repoURL: https://github.com/epilot-dev/terraform-provider-epilot-product.git
repoSubDirectory: .
published: true
Expand All @@ -20,16 +20,71 @@ features:
globalServerURLs: 2.82.0
unions: 2.85.0
terraform:
constsAndDefaults: 0.1.2
core: 3.8.1
globalSecurity: 2.81.2
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.4
core: 3.24.3
globalSecurity: 2.81.6
globalServerURLs: 2.82.1
unions: 2.81.7
nullables: 0.0.0
generatedFiles:
- internal/sdk/price.go
- internal/sdk/product.go
- internal/sdk/tax.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/createprice.go
- internal/sdk/models/operations/deleteprice.go
- internal/sdk/models/operations/getprice.go
- internal/sdk/models/operations/patchprice.go
- internal/sdk/models/operations/updateprice.go
- internal/sdk/models/operations/createproduct.go
- internal/sdk/models/operations/deleteproduct.go
- internal/sdk/models/operations/getproduct.go
- internal/sdk/models/operations/patchproduct.go
- internal/sdk/models/operations/updateproduct.go
- internal/sdk/models/operations/createtax.go
- internal/sdk/models/operations/deletetax.go
- internal/sdk/models/operations/gettax.go
- internal/sdk/models/operations/patchtax.go
- internal/sdk/models/operations/updatetax.go
- internal/sdk/models/shared/servererror.go
- internal/sdk/models/shared/price.go
- internal/sdk/models/shared/pricetier.go
- internal/sdk/models/shared/pricetierdisplaymode.go
- internal/sdk/models/shared/pricecomponentrelation.go
- internal/sdk/models/shared/clienterror.go
- internal/sdk/models/shared/pricecreate.go
- internal/sdk/models/shared/pricepatch.go
- internal/sdk/models/shared/product.go
- internal/sdk/models/shared/baserelation.go
- internal/sdk/models/shared/productcreate.go
- internal/sdk/models/shared/productpatch.go
- internal/sdk/models/shared/tax.go
- internal/sdk/models/shared/taxcreate.go
- internal/sdk/models/shared/taxpatch.go
- internal/sdk/models/shared/security.go
- internal/sdk/.gitignore
- internal/sdk/models/operations/options.go
- internal/sdk/.gitattributes
- internal/sdk/internal/hooks/registration.go
- internal/sdk/internal/hooks/hooks.go
- internal/sdk/CONTRIBUTING.md
- examples/README.md
- go.mod
- go.sum
Expand Down Expand Up @@ -58,22 +113,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 @@ -90,49 +129,23 @@ generatedFiles:
- main.go
- terraform-registry-manifest.json
- tools/tools.go
- internal/sdk/pkg/models/operations/createprice.go
- internal/sdk/pkg/models/operations/deleteprice.go
- internal/sdk/pkg/models/operations/getprice.go
- internal/sdk/pkg/models/operations/patchprice.go
- internal/sdk/pkg/models/operations/updateprice.go
- internal/sdk/pkg/models/operations/createproduct.go
- internal/sdk/pkg/models/operations/deleteproduct.go
- internal/sdk/pkg/models/operations/getproduct.go
- internal/sdk/pkg/models/operations/patchproduct.go
- internal/sdk/pkg/models/operations/updateproduct.go
- internal/sdk/pkg/models/operations/createtax.go
- internal/sdk/pkg/models/operations/deletetax.go
- internal/sdk/pkg/models/operations/gettax.go
- internal/sdk/pkg/models/operations/patchtax.go
- internal/sdk/pkg/models/operations/updatetax.go
- internal/sdk/pkg/models/shared/servererror.go
- internal/sdk/pkg/models/shared/price.go
- internal/sdk/pkg/models/shared/pricetier.go
- internal/sdk/pkg/models/shared/pricetierdisplaymode.go
- internal/sdk/pkg/models/shared/clienterror.go
- internal/sdk/pkg/models/shared/pricecreate.go
- internal/sdk/pkg/models/shared/pricepatch.go
- internal/sdk/pkg/models/shared/product.go
- internal/sdk/pkg/models/shared/baserelation.go
- internal/sdk/pkg/models/shared/productcreate.go
- internal/sdk/pkg/models/shared/productpatch.go
- internal/sdk/pkg/models/shared/tax.go
- internal/sdk/pkg/models/shared/taxcreate.go
- internal/sdk/pkg/models/shared/taxpatch.go
- internal/sdk/pkg/models/shared/security.go
- internal/provider/type_price_tier.go
- internal/provider/type_price_create_unit.go
- internal/provider/type_dollar_relation.go
- internal/provider/type_base_relation.go
- internal/provider/types/price_component_relation.go
- internal/provider/types/price_create_price_components.go
- internal/provider/types/price_tier.go
- internal/provider/types/dollar_relation.go
- internal/provider/types/base_relation.go
- USAGE.md
- internal/provider/provider.go
- examples/provider/provider.tf
- examples/resources/epilot-product_price/import.sh
- internal/provider/price_resource.go
- internal/provider/price_resource_sdk.go
- examples/resources/epilot-product_price/resource.tf
- examples/resources/epilot-product_product/import.sh
- internal/provider/product_resource.go
- internal/provider/product_resource_sdk.go
- examples/resources/epilot-product_product/resource.tf
- examples/resources/epilot-product_tax/import.sh
- internal/provider/tax_resource.go
- internal/provider/tax_resource_sdk.go
- examples/resources/epilot-product_tax/resource.tf
Expand All @@ -146,3 +159,4 @@ generatedFiles:
- internal/provider/tax_data_source_sdk.go
- examples/data-sources/epilot-product_tax/data-source.tf
- .gitattributes
- CONTRIBUTING.md
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 @@ -64,7 +64,7 @@ terraform {
required_providers {
epilot-product = {
source = "epilot-dev/epilot-product"
version = "0.6.0"
version = "0.7.0"
}
}
}
Expand Down
114 changes: 0 additions & 114 deletions docs/data-sources/price.md

This file was deleted.

68 changes: 0 additions & 68 deletions docs/data-sources/product.md

This file was deleted.

Loading

0 comments on commit 7a117c5

Please sign in to comment.