diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index b4e7edc..420c06b 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 5a857039-7f4b-42d5-86fd-449767242ed2 management: - docChecksum: b65e946770e3a784f31e803acac5da37 + docChecksum: eaabb563fad27e9ee9491821eed37c90 docVersion: 1.0.0 - speakeasyVersion: 1.346.1 - generationVersion: 2.379.5 - releaseVersion: 0.7.1 - configChecksum: 471b09ecdd5dfbf4b53a91017831717e + speakeasyVersion: 1.346.0 + generationVersion: 2.379.3 + releaseVersion: 0.8.0 + configChecksum: b9b4343b0dcae6ca8e16dcda70cadc56 repoURL: https://github.com/epilot-dev/terraform-provider-epilot-product.git repoSubDirectory: . published: true @@ -26,6 +26,7 @@ features: globalSecurity: 2.81.6 globalServerURLs: 2.82.1 nullables: 0.0.0 + typeOverrides: 2.81.1 generatedFiles: - internal/sdk/price.go - internal/sdk/product.go diff --git a/README.md b/README.md index f92a4d3..39b09e8 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ terraform { required_providers { epilot-product = { source = "epilot-dev/epilot-product" - version = "0.7.1" + version = "0.8.0" } } } diff --git a/docs/data-sources/price.md b/docs/data-sources/price.md new file mode 100644 index 0000000..60082bf --- /dev/null +++ b/docs/data-sources/price.md @@ -0,0 +1,92 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "epilot-product_price Data Source - terraform-provider-epilot-product" +subcategory: "" +description: |- + Price DataSource +--- + +# epilot-product_price (Data Source) + +Price DataSource + +## Example Usage + +```terraform +data "epilot-product_price" "my_price" { + hydrate = false + price_id = "123e4567-e89b-12d3-a456-426614174000" +} +``` + + +## Schema + +### Optional + +- `hydrate` (Boolean) Hydrates entities in relations when passed true + +### Read-Only + +- `active` (Boolean) Whether the price can be used for new purchases. +- `billing_duration_amount` (Number) The billing period duration +- `billing_duration_unit` (String) The billing period duration unit. must be one of ["weeks", "months", "years"] +- `description` (String) A brief description of the price. +- `id` (String) The ID of this resource. +- `is_composite_price` (Boolean) The flag for prices that contain price components. +- `is_tax_inclusive` (Boolean) Specifies whether the price is considered `inclusive` of taxes or not. +- `long_description` (String) A detailed description of the price. This is shown on the order document and order table. Multi-line supported. +- `notice_time_amount` (Number) The notice period duration +- `notice_time_unit` (String) The notice period duration unit. must be one of ["weeks", "months", "years"] +- `price_components` (Attributes) A set of [price](/api/pricing#tag/simple_price_schema) components that define the composite price. (see [below for nested schema](#nestedatt--price_components)) +- `price_display_in_journeys` (String) Defines the way the price amount is display in epilot journeys. must be one of ["show_price", "show_as_starting_price", "show_as_on_request"] +- `pricing_model` (String) Describes how to compute the price per period. Either `per_unit`, `tiered_graduated` or `tiered_volume`. +- `per_unit` indicates that the fixed amount (specified in unit_amount or unit_amount_decimal) will be charged per unit in quantity +- `tiered_graduated` indicates that the unit pricing will be computed using tiers attribute. The customer pays the price per unit in every range their purchase rises through. +- `tiered_volume` indicates that the unit pricing will be computed using tiers attribute. The customer pays the same unit price for all purchased units. +- `tiered_flatfee` While similar to tiered_volume, tiered flat fee charges for the same price (flat) for the entire range instead using the unit price to multiply the quantity. + +must be one of ["per_unit", "tiered_volume", "tiered_graduated", "tiered_flatfee"] +- `renewal_duration_amount` (Number) The renewal period duration +- `renewal_duration_unit` (String) The renewal period duration unit. must be one of ["weeks", "months", "years"] +- `tax` (String) Parsed as JSON. +- `termination_time_amount` (Number) The termination period duration +- `termination_time_unit` (String) The termination period duration unit. must be one of ["weeks", "months", "years"] +- `tiers` (Attributes List) Defines an array of tiers. Each tier has an upper bound, an unit amount and a flat fee. (see [below for nested schema](#nestedatt--tiers)) +- `type` (String) One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase. must be one of ["one_time", "recurring"] +- `unit` (String) The unit of measurement used for display purposes and possibly for calculations when the price is variable. +- `unit_amount` (Number) The unit amount in cents to be charged, represented as a whole integer if possible. +- `unit_amount_currency` (String) Three-letter ISO currency code, in lowercase. +- `unit_amount_decimal` (String) The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places. +- `variable_price` (Boolean) The flag for prices that can be influenced by external variables such as user input. + + +### Nested Schema for `price_components` + +Read-Only: + +- `dollar_relation` (Attributes List) (see [below for nested schema](#nestedatt--price_components--dollar_relation)) + + +### Nested Schema for `price_components.dollar_relation` + +Read-Only: + +- `entity_id` (String) The id of the price component +- `tags` (List of String) An arbitrary set of tags attached to the composite price - component relation + + + + +### Nested Schema for `tiers` + +Read-Only: + +- `display_mode` (String) must be one of ["hidden", "on_request"] +- `flat_fee_amount` (Number) +- `flat_fee_amount_decimal` (String) +- `unit_amount` (Number) +- `unit_amount_decimal` (String) +- `up_to` (Number) + + diff --git a/docs/data-sources/product.md b/docs/data-sources/product.md new file mode 100644 index 0000000..83ba46e --- /dev/null +++ b/docs/data-sources/product.md @@ -0,0 +1,65 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "epilot-product_product Data Source - terraform-provider-epilot-product" +subcategory: "" +description: |- + Product DataSource +--- + +# epilot-product_product (Data Source) + +Product DataSource + +## Example Usage + +```terraform +data "epilot-product_product" "my_product" { + hydrate = true + product_id = "123e4567-e89b-12d3-a456-426614174000" +} +``` + + +## Schema + +### Optional + +- `hydrate` (Boolean) Hydrates entities in relations when passed true + +### Read-Only + +- `active` (Boolean) +- `code` (String) The product code +- `description` (String) A description of the product. Multi-line supported. +- `feature` (List of String) +- `id` (String) The ID of this resource. +- `internal_name` (String) Not visible to customers, only in internal tables +- `name` (String) The description for the product +- `price_options` (Attributes) (see [below for nested schema](#nestedatt--price_options)) +- `product_downloads` (String) Parsed as JSON. +- `product_images` (String) Parsed as JSON. +- `type` (String) The type of Product: + +| type | description | +|----| ----| +| `product` | Represents a physical good | +| `service` | Represents a service or virtual product | + +must be one of ["product", "service"] + + +### Nested Schema for `price_options` + +Read-Only: + +- `dollar_relation` (Attributes List) (see [below for nested schema](#nestedatt--price_options--dollar_relation)) + + +### Nested Schema for `price_options.dollar_relation` + +Read-Only: + +- `entity_id` (String) +- `tags` (List of String) + + diff --git a/docs/data-sources/tax.md b/docs/data-sources/tax.md new file mode 100644 index 0000000..8b13ce7 --- /dev/null +++ b/docs/data-sources/tax.md @@ -0,0 +1,38 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "epilot-product_tax Data Source - terraform-provider-epilot-product" +subcategory: "" +description: |- + Tax DataSource +--- + +# epilot-product_tax (Data Source) + +Tax DataSource + +## Example Usage + +```terraform +data "epilot-product_tax" "my_tax" { + hydrate = true + tax_id = "123e4567-e89b-12d3-a456-426614174000" +} +``` + + +## Schema + +### Optional + +- `hydrate` (Boolean) Hydrates entities in relations when passed true + +### Read-Only + +- `active` (Boolean) +- `description` (String) +- `id` (String) The ID of this resource. +- `rate` (String) +- `region` (String) must be one of ["DE", "AT", "CH"] +- `type` (String) must be one of ["VAT", "Custom"] + + diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..a19fc0b --- /dev/null +++ b/docs/index.md @@ -0,0 +1,37 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "epilot-product Provider" +subcategory: "" +description: |- + +--- + +# epilot-product Provider + + + +## Example Usage + +```terraform +terraform { + required_providers { + epilot-product = { + source = "epilot-dev/epilot-product" + version = "0.7.1" + } + } +} + +provider "epilot-product" { + # Configuration options +} +``` + + +## Schema + +### Optional + +- `epilot_auth` (String, Sensitive) +- `epilot_org` (String, Sensitive) +- `server_url` (String) Server URL (defaults to https://product.sls.epilot.io) diff --git a/docs/resources/price.md b/docs/resources/price.md new file mode 100644 index 0000000..6df11cc --- /dev/null +++ b/docs/resources/price.md @@ -0,0 +1,121 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "epilot-product_price Resource - terraform-provider-epilot-product" +subcategory: "" +description: |- + Price Resource +--- + +# epilot-product_price (Resource) + +Price Resource + +## Example Usage + +```terraform +resource "epilot-product_price" "my_price" { + active = true + billing_duration_amount = 66.76 + billing_duration_unit = "weeks" + description = "...my_description..." + is_composite_price = false + is_tax_inclusive = true + long_description = "...my_long_description..." + notice_time_amount = 2.66 + notice_time_unit = "months" + price_display_in_journeys = "show_as_starting_price" + price_id = "123e4567-e89b-12d3-a456-426614174000" + pricing_model = "tiered_graduated" + renewal_duration_amount = 66.62 + renewal_duration_unit = "weeks" + tax = "{ \"see\": \"documentation\" }" + termination_time_amount = 44.65 + termination_time_unit = "years" + type = "one_time" + unit = "...my_unit..." + unit_amount = 40.89 + unit_amount_currency = "EUR" + unit_amount_decimal = "...my_unit_amount_decimal..." + variable_price = false +} +``` + + +## Schema + +### Required + +- `active` (Boolean) Whether the price can be used for new purchases. +- `description` (String) A brief description of the price. + +### Optional + +- `billing_duration_amount` (Number) The billing period duration +- `billing_duration_unit` (String) The billing period duration unit. must be one of ["weeks", "months", "years"] +- `is_composite_price` (Boolean) The flag for prices that contain price components. +- `is_tax_inclusive` (Boolean) Specifies whether the price is considered `inclusive` of taxes or not. Default: false +- `long_description` (String) A detailed description of the price. This is shown on the order document and order table. Multi-line supported. +- `notice_time_amount` (Number) The notice period duration +- `notice_time_unit` (String) The notice period duration unit. must be one of ["weeks", "months", "years"] +- `price_components` (Attributes) A set of [price](/api/pricing#tag/simple_price_schema) components that define the composite price. (see [below for nested schema](#nestedatt--price_components)) +- `price_display_in_journeys` (String) Defines the way the price amount is display in epilot journeys. must be one of ["show_price", "show_as_starting_price", "show_as_on_request"] +- `pricing_model` (String) Describes how to compute the price per period. Either `per_unit`, `tiered_graduated` or `tiered_volume`. +- `per_unit` indicates that the fixed amount (specified in unit_amount or unit_amount_decimal) will be charged per unit in quantity +- `tiered_graduated` indicates that the unit pricing will be computed using tiers attribute. The customer pays the price per unit in every range their purchase rises through. +- `tiered_volume` indicates that the unit pricing will be computed using tiers attribute. The customer pays the same unit price for all purchased units. +- `tiered_flatfee` While similar to tiered_volume, tiered flat fee charges for the same price (flat) for the entire range instead using the unit price to multiply the quantity. + +must be one of ["per_unit", "tiered_volume", "tiered_graduated", "tiered_flatfee"]; Default: "per_unit" +- `renewal_duration_amount` (Number) The renewal period duration +- `renewal_duration_unit` (String) The renewal period duration unit. must be one of ["weeks", "months", "years"] +- `tax` (String) Parsed as JSON. +- `termination_time_amount` (Number) The termination period duration +- `termination_time_unit` (String) The termination period duration unit. must be one of ["weeks", "months", "years"] +- `tiers` (Attributes List) Defines an array of tiers. Each tier has an upper bound, an unit amount and a flat fee. (see [below for nested schema](#nestedatt--tiers)) +- `type` (String) One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase. must be one of ["one_time", "recurring"]; Default: "one_time" +- `unit` (String) The unit of measurement used for display purposes and possibly for calculations when the price is variable. +- `unit_amount` (Number) The unit amount in cents to be charged, represented as a whole integer if possible. +- `unit_amount_currency` (String) Three-letter ISO currency code, in lowercase. +- `unit_amount_decimal` (String) The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places. +- `variable_price` (Boolean) The flag for prices that can be influenced by external variables such as user input. Default: false + +### Read-Only + +- `id` (String) The ID of this resource. + + +### Nested Schema for `price_components` + +Optional: + +- `dollar_relation` (Attributes List) (see [below for nested schema](#nestedatt--price_components--dollar_relation)) + + +### Nested Schema for `price_components.dollar_relation` + +Optional: + +- `entity_id` (String) The id of the price component +- `tags` (List of String) An arbitrary set of tags attached to the composite price - component relation + + + + +### Nested Schema for `tiers` + +Optional: + +- `display_mode` (String) must be one of ["hidden", "on_request"] +- `flat_fee_amount` (Number) +- `flat_fee_amount_decimal` (String) +- `unit_amount` (Number) +- `unit_amount_decimal` (String) +- `up_to` (Number) + +## Import + +Import is supported using the following syntax: + +```shell +terraform import epilot-product_price.my_epilot-product_price "123e4567-e89b-12d3-a456-426614174000" +``` diff --git a/docs/resources/product.md b/docs/resources/product.md new file mode 100644 index 0000000..2b814a3 --- /dev/null +++ b/docs/resources/product.md @@ -0,0 +1,80 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "epilot-product_product Resource - terraform-provider-epilot-product" +subcategory: "" +description: |- + Product Resource +--- + +# epilot-product_product (Resource) + +Product Resource + +## Example Usage + +```terraform +resource "epilot-product_product" "my_product" { + active = true + code = "...my_code..." + description = "...my_description..." + internal_name = "...my_internal_name..." + name = "Bradford Osinski" + product_downloads = "{ \"see\": \"documentation\" }" + product_images = "{ \"see\": \"documentation\" }" + product_id = "123e4567-e89b-12d3-a456-426614174000" + type = "product" +} +``` + + +## Schema + +### Required + +- `active` (Boolean) +- `name` (String) The description for the product + +### Optional + +- `code` (String) The product code +- `description` (String) A description of the product. Multi-line supported. +- `feature` (List of String) +- `internal_name` (String) Not visible to customers, only in internal tables +- `price_options` (Attributes) (see [below for nested schema](#nestedatt--price_options)) +- `product_downloads` (String) Parsed as JSON. +- `product_images` (String) Parsed as JSON. +- `type` (String) The type of Product: + +| type | description | +|----| ----| +| `product` | Represents a physical good | +| `service` | Represents a service or virtual product | + +must be one of ["product", "service"]; Default: "product" + +### Read-Only + +- `id` (String) The ID of this resource. + + +### Nested Schema for `price_options` + +Optional: + +- `dollar_relation` (Attributes List) (see [below for nested schema](#nestedatt--price_options--dollar_relation)) + + +### Nested Schema for `price_options.dollar_relation` + +Optional: + +- `entity_id` (String) +- `tags` (List of String) + +## Import + +Import is supported using the following syntax: + +```shell +terraform import epilot-product_product.my_epilot-product_product "123e4567-e89b-12d3-a456-426614174000" +``` diff --git a/docs/resources/tax.md b/docs/resources/tax.md new file mode 100644 index 0000000..4d88fe0 --- /dev/null +++ b/docs/resources/tax.md @@ -0,0 +1,50 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "epilot-product_tax Resource - terraform-provider-epilot-product" +subcategory: "" +description: |- + Tax Resource +--- + +# epilot-product_tax (Resource) + +Tax Resource + +## Example Usage + +```terraform +resource "epilot-product_tax" "my_tax" { + active = false + description = "...my_description..." + rate = "...my_rate..." + region = "AT" + tax_id = "123e4567-e89b-12d3-a456-426614174000" + type = "VAT" +} +``` + + +## Schema + +### Required + +- `active` (Boolean) +- `rate` (String) +- `region` (String) must be one of ["DE", "AT", "CH"] +- `type` (String) must be one of ["VAT", "Custom"] + +### Optional + +- `description` (String) + +### Read-Only + +- `id` (String) The ID of this resource. + +## Import + +Import is supported using the following syntax: + +```shell +terraform import epilot-product_tax.my_epilot-product_tax "123e4567-e89b-12d3-a456-426614174000" +``` diff --git a/examples/pricetest/tax.tf b/examples/pricetest/tax.tf new file mode 100644 index 0000000..970aa1c --- /dev/null +++ b/examples/pricetest/tax.tf @@ -0,0 +1,124 @@ +# Provider definitions +terraform { + required_providers { + epilot-journey = { + source = "epilot-dev/epilot-journey" + version = "1.0.1" + } + epilot-product = { + source = "epilot-dev/epilot-product" + version = "0.7.2" + } + epilot-automation = { + source = "epilot-dev/epilot-automation" + version = "2.0.1" + } + epilot-entitymapping = { + source = "epilot-dev/epilot-entitymapping" + version = "1.7.1" + } + epilot-designbuilder = { + source = "epilot-dev/epilot-designbuilder" + version = "1.0.1" + } + epilot-file = { + source = "epilot-dev/epilot-file" + version = "2.2.3" + } + epilot-emailtemplate = { + source = "epilot-dev/epilot-emailtemplate" + version = "0.0.2" + } + epilot-schema = { + source = "epilot-dev/epilot-schema" + version = "4.1.0" + } + epilot-workflow = { + source = "epilot-dev/epilot-workflow" + version = "1.0.2" + } + } +} + +# Variables +variable "epilot_auth" { + type = string +} +variable "journey_api_url" { + type = string + default = "https://journey-config.sls.epilot.io" +} +variable "product_api_url" { + type = string + default = "https://product.sls.epilot.io" +} +variable "automation_api_url" { + type = string + default = "https://automation.sls.epilot.io" +} +variable "file_api_url" { + type = string + default = "https://file.sls.epilot.io" +} +variable "emailtemplate_api_url" { + type = string + default = "https://email-template.sls.epilot.io" +} +variable "designbuilder_api_url" { + type = string + default = "https://design-builder-api.sls.epilot.io" +} +variable "entitymapping_api_url" { + type = string + default = "https://entity-mapping.sls.epilot.io" +} +variable "schema_api_url" { + type = string + default = "https://entity.sls.epilot.io" +} +variable "workflow_api_url" { + type = string + default = "https://workflows-definition.sls.epilot.io" +} + +# Providers configuration +provider "epilot-journey" { + epilot_auth = var.epilot_auth + server_url = var.journey_api_url +} +provider "epilot-product" { + epilot_auth = var.epilot_auth + server_url = var.product_api_url +} +provider "epilot-automation" { + epilot_auth = var.epilot_auth + server_url = var.automation_api_url +} +provider "epilot-file" { + epilot_auth = var.epilot_auth + server_url = var.file_api_url +} +provider "epilot-emailtemplate" { + epilot_auth = var.epilot_auth + server_url = var.emailtemplate_api_url +} +provider "epilot-designbuilder" { + custom_authorizer = var.epilot_auth + server_url = var.designbuilder_api_url +} +provider "epilot-entitymapping" { + epilot_auth = var.epilot_auth + server_url = var.entitymapping_api_url +} +provider "epilot-schema" { + epilot_auth = var.epilot_auth + server_url = var.schema_api_url +} +provider "epilot-workflow" { + bearer_auth = var.epilot_auth + server_url = var.workflow_api_url +} + +resource "epilot-product_tax" "mytax" { + +} \ No newline at end of file diff --git a/examples/provider/provider.tf b/examples/provider/provider.tf index 0caf0a4..77f3d2f 100644 --- a/examples/provider/provider.tf +++ b/examples/provider/provider.tf @@ -2,7 +2,7 @@ terraform { required_providers { epilot-product = { source = "epilot-dev/epilot-product" - version = "0.7.1" + version = "0.8.0" } } } diff --git a/examples/resources/epilot-product_tax/resource.tf b/examples/resources/epilot-product_tax/resource.tf index f632345..86aec1a 100644 --- a/examples/resources/epilot-product_tax/resource.tf +++ b/examples/resources/epilot-product_tax/resource.tf @@ -1,7 +1,7 @@ resource "epilot-product_tax" "my_tax" { active = false description = "...my_description..." - rate = "...my_rate..." + rate = "{ \"see\": \"documentation\" }" region = "AT" tax_id = "123e4567-e89b-12d3-a456-426614174000" type = "VAT" diff --git a/gen.yaml b/gen.yaml index a488ede..efc8525 100644 --- a/gen.yaml +++ b/gen.yaml @@ -27,7 +27,7 @@ go: outputModelSuffix: output packageName: openapi terraform: - version: 0.7.1 + version: 0.8.0 additionalDataSources: [] additionalDependencies: {} additionalResources: [] diff --git a/go.mod b/go.mod index 2e76947..15452ae 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/epilot-dev/terraform-provider-epilot-product go 1.21 -toolchain go1.22.0 +toolchain go1.21.6 require ( github.com/cenkalti/backoff/v4 v4.2.0 diff --git a/internal/planmodifiers/boolplanmodifier/suppress_diff.go b/internal/planmodifiers/boolplanmodifier/suppress_diff.go index e0f972f..da0d9e8 100644 --- a/internal/planmodifiers/boolplanmodifier/suppress_diff.go +++ b/internal/planmodifiers/boolplanmodifier/suppress_diff.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package boolplanmodifier diff --git a/internal/planmodifiers/float64planmodifier/suppress_diff.go b/internal/planmodifiers/float64planmodifier/suppress_diff.go index ada4555..ecde6f3 100644 --- a/internal/planmodifiers/float64planmodifier/suppress_diff.go +++ b/internal/planmodifiers/float64planmodifier/suppress_diff.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package float64planmodifier diff --git a/internal/planmodifiers/int64planmodifier/suppress_diff.go b/internal/planmodifiers/int64planmodifier/suppress_diff.go index 72598a3..99b75a0 100644 --- a/internal/planmodifiers/int64planmodifier/suppress_diff.go +++ b/internal/planmodifiers/int64planmodifier/suppress_diff.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package int64planmodifier diff --git a/internal/planmodifiers/listplanmodifier/suppress_diff.go b/internal/planmodifiers/listplanmodifier/suppress_diff.go index b055024..deb664c 100644 --- a/internal/planmodifiers/listplanmodifier/suppress_diff.go +++ b/internal/planmodifiers/listplanmodifier/suppress_diff.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package listplanmodifier diff --git a/internal/planmodifiers/mapplanmodifier/suppress_diff.go b/internal/planmodifiers/mapplanmodifier/suppress_diff.go index 8c3e88a..6924e50 100644 --- a/internal/planmodifiers/mapplanmodifier/suppress_diff.go +++ b/internal/planmodifiers/mapplanmodifier/suppress_diff.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package mapplanmodifier diff --git a/internal/planmodifiers/numberplanmodifier/suppress_diff.go b/internal/planmodifiers/numberplanmodifier/suppress_diff.go index 7c38e07..d9b832a 100644 --- a/internal/planmodifiers/numberplanmodifier/suppress_diff.go +++ b/internal/planmodifiers/numberplanmodifier/suppress_diff.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package numberplanmodifier diff --git a/internal/planmodifiers/objectplanmodifier/suppress_diff.go b/internal/planmodifiers/objectplanmodifier/suppress_diff.go index 01b0ea6..73bd635 100644 --- a/internal/planmodifiers/objectplanmodifier/suppress_diff.go +++ b/internal/planmodifiers/objectplanmodifier/suppress_diff.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package objectplanmodifier diff --git a/internal/planmodifiers/setplanmodifier/suppress_diff.go b/internal/planmodifiers/setplanmodifier/suppress_diff.go index 50c383b..fd2c2c8 100644 --- a/internal/planmodifiers/setplanmodifier/suppress_diff.go +++ b/internal/planmodifiers/setplanmodifier/suppress_diff.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package setplanmodifier diff --git a/internal/planmodifiers/stringplanmodifier/suppress_diff.go b/internal/planmodifiers/stringplanmodifier/suppress_diff.go index 01aa726..4bcfdff 100644 --- a/internal/planmodifiers/stringplanmodifier/suppress_diff.go +++ b/internal/planmodifiers/stringplanmodifier/suppress_diff.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package stringplanmodifier diff --git a/internal/planmodifiers/utils/state_check.go b/internal/planmodifiers/utils/state_check.go index 51d5362..6b126bf 100644 --- a/internal/planmodifiers/utils/state_check.go +++ b/internal/planmodifiers/utils/state_check.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package utils diff --git a/internal/provider/price_data_source.go b/internal/provider/price_data_source.go index 67d6c51..e8282cb 100644 --- a/internal/provider/price_data_source.go +++ b/internal/provider/price_data_source.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package provider diff --git a/internal/provider/price_data_source_sdk.go b/internal/provider/price_data_source_sdk.go index db624ac..0b6a6ee 100644 --- a/internal/provider/price_data_source_sdk.go +++ b/internal/provider/price_data_source_sdk.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package provider diff --git a/internal/provider/price_resource.go b/internal/provider/price_resource.go index dca58b8..c2e9e3c 100644 --- a/internal/provider/price_resource.go +++ b/internal/provider/price_resource.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package provider @@ -399,8 +399,8 @@ func (r *PriceResource) Read(ctx context.Context, req resource.ReadRequest, resp } // read.price.hydrateread.price.hydrate impedance mismatch: "boolean" != "class"trace=["Price#create.req"] - // {"ResolvedModel":"PriceCreate","Extensions":{"x-speakeasy-entity":"Price","x-speakeasy-trace":{"Price#create.req":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get-request":true,"x-speakeasy-in-get":true,"x-speakeasy-root":true},"EventStreamEnvelope":false,"Fields":[{"Annotations":[{"Ignore":false,"FieldName":"_id"}],"ErrorMessage":false,"Name":"_id","Nullable":false,"Const":null,"Comments":null,"IsAdditionalProperties":false,"OriginalName":"_id","Type":{"Truncated":false,"Input":false,"OutputLocation":"","Enum":null,"Format":"uuid","ItemType":null,"Scope":"","Extensions":{"x-speakeasy-trace":{"Price#create.resp.id":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-param-readonly":true,"x-speakeasy-in-get":true},"Name":"","Discriminator":null,"EventStreamEnvelope":false,"Examples":[{}],"CircularReference":null,"ResponseEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[{}],"Format":"uuid","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"IsComponent":false,"Output":false,"Validations":{"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null},"ResolvedModel":"","ContextStack":[],"Type":"string","Comments":null,"OriginalName":"","AssociatedTypes":[],"Fields":[]},"Optional":false,"Default":null},{"Annotations":[{"Ignore":false,"FieldName":"active"}],"IsAdditionalProperties":false,"OriginalName":"active","Nullable":false,"Optional":false,"Const":null,"Comments":{"Description":"Whether the price can be used for new purchases.","ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":""},"ErrorMessage":false,"Type":{"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"AssociatedTypes":[],"ItemType":null,"Format":"","Truncated":false,"ContextStack":[],"EventStreamEnvelope":false,"Extensions":{"x-speakeasy-trace":{"Price#create.req.active":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Discriminator":null,"IsComponent":false,"Output":false,"Fields":[],"Input":false,"OriginalName":"","Name":"","Scope":"","ResolvedModel":"","OutputLocation":"","Type":"boolean","Enum":null,"Comments":null,"Examples":[],"Validations":{"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null},"CircularReference":null,"ResponseEnvelope":false},"Name":"active","Default":null},{"Annotations":[{"Ignore":false,"FieldName":"billing_duration_amount"}],"IsAdditionalProperties":false,"Type":{"ResponseEnvelope":false,"Comments":null,"Output":false,"Fields":[],"CircularReference":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Scope":"","Input":false,"Truncated":false,"Name":"","Extensions":{"x-speakeasy-trace":{"Price#create.req.billing_duration_amount":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Enum":null,"AssociatedTypes":[],"OriginalName":"","OutputLocation":"","Format":"","IsComponent":false,"Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"EventStreamEnvelope":false,"Discriminator":null,"Examples":[],"ItemType":null,"ResolvedModel":"","ContextStack":[],"Type":"number"},"Name":"billing_duration_amount","Optional":true,"Default":null,"Const":null,"Comments":{"DeprecationReplacement":"","Description":"The billing period duration","ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":""},"ErrorMessage":false,"OriginalName":"billing_duration_amount","Nullable":false},{"Const":null,"Comments":{"Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"The billing period duration unit","ExternalDocs":null,"Summary":""},"ErrorMessage":false,"OriginalName":"billing_duration_unit","Type":{"OutputLocation":"models/shared","Output":false,"CircularReference":null,"Fields":[],"Original":{"Name":"PriceCreate_billing_duration_unit","OriginalName":"billing_duration_unit","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["weeks","months","years"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The billing period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Input":false,"Format":"","EventStreamEnvelope":false,"Type":"enum","Scope":"shared","ResponseEnvelope":false,"ResolvedModel":"PriceCreate","Discriminator":null,"Truncated":false,"Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null},"AssociatedTypes":[],"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Name":"PriceCreate_billing_duration_unit","Extensions":{"x-speakeasy-trace":{"Price#create.req.billing_duration_unit":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Enum":{"Type":{"Extensions":{},"Enum":null,"AssociatedTypes":[],"Comments":null,"ResponseEnvelope":false,"Scope":"","CircularReference":null,"OutputLocation":"","IsComponent":false,"Truncated":false,"EventStreamEnvelope":false,"ContextStack":[],"Examples":[],"Fields":[],"ResolvedModel":"","Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OriginalName":"","Output":false,"Discriminator":null,"Name":"","Format":"","Input":false,"Validations":{"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null},"Type":"string","ItemType":null},"Open":false,"Names":[],"Values":["weeks","months","years"]},"Comments":{"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"The billing period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false},"Examples":[],"IsComponent":false,"OriginalName":"billing_duration_unit","ItemType":null},"Optional":true,"Default":null,"Annotations":[{"FieldName":"billing_duration_unit","Ignore":false}],"IsAdditionalProperties":false,"Name":"billing_duration_unit","Nullable":false},{"Comments":{"Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"A brief description of the price.","ExternalDocs":null,"Summary":""},"Annotations":[{"Ignore":false,"FieldName":"description"}],"IsAdditionalProperties":false,"OriginalName":"description","Type":{"Name":"","Type":"string","IsComponent":false,"Comments":null,"Discriminator":null,"Fields":[],"Truncated":false,"EventStreamEnvelope":false,"AssociatedTypes":[],"CircularReference":null,"Extensions":{"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Price#create.req.description":true},"x-speakeasy-param-computed":true,"x-untouched":true},"Enum":null,"Examples":[],"Format":"","Scope":"","ResolvedModel":"","Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OutputLocation":"","ResponseEnvelope":false,"OriginalName":"","ItemType":null,"Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"ContextStack":[],"Input":false,"Output":false},"Name":"description","Nullable":false,"Optional":false,"Default":null,"Const":null,"ErrorMessage":false},{"Default":null,"Type":{"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Type":"boolean","Format":"","ResolvedModel":"","Extensions":{"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Price#create.req.is_composite_price":true},"x-speakeasy-param-computed":true,"x-untouched":true},"IsComponent":false,"ItemType":null,"Scope":"","Truncated":false,"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"ResponseEnvelope":false,"Comments":null,"Discriminator":null,"Examples":[],"Fields":[],"AssociatedTypes":[],"OriginalName":"","CircularReference":null,"ContextStack":[],"Name":"","Enum":null,"OutputLocation":"","EventStreamEnvelope":false,"Output":false,"Input":false},"Nullable":false,"Optional":true,"Comments":{"ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"The flag for prices that contain price components."},"Annotations":[{"Ignore":false,"FieldName":"is_composite_price"}],"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"is_composite_price","Name":"is_composite_price","Const":null},{"Name":"is_tax_inclusive","Nullable":false,"Const":null,"Comments":{"Description":"Specifies whether the price is considered `inclusive` of taxes or not.","ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":""},"Annotations":[{"Ignore":false,"FieldName":"is_tax_inclusive"}],"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"is_tax_inclusive","Type":{"Input":false,"IsComponent":false,"OutputLocation":"","Comments":null,"Examples":[],"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"CircularReference":null,"OriginalName":"","Type":"boolean","Scope":"","EventStreamEnvelope":false,"Extensions":{"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Price#create.req.is_tax_inclusive":true},"x-speakeasy-param-computed":true,"x-untouched":true},"Format":"","Validations":{"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null},"ContextStack":[],"Name":"","Fields":[],"Truncated":false,"ResolvedModel":"","Enum":null,"AssociatedTypes":[],"ResponseEnvelope":false,"Discriminator":null,"ItemType":null,"Output":false},"Optional":true,"Default":{"Value":false}},{"Name":"long_description","Const":null,"Comments":{"Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"A detailed description of the price. This is shown on the order document and order table. Multi-line supported.","ExternalDocs":null,"Summary":""},"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"long_description","Type":{"OriginalName":"","OutputLocation":"","ContextStack":[],"Examples":[],"ResponseEnvelope":false,"Type":"string","EventStreamEnvelope":false,"ResolvedModel":"","Comments":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Extensions":{"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Price#create.req.long_description":true},"x-speakeasy-param-computed":true},"Enum":null,"AssociatedTypes":[],"Format":"","Input":false,"IsComponent":false,"Output":false,"Truncated":false,"Name":"","ItemType":null,"Scope":"","Discriminator":null,"Fields":[],"Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null},"CircularReference":null},"Nullable":false,"Optional":true,"Default":null,"Annotations":[{"Ignore":false,"FieldName":"long_description"}]},{"OriginalName":"notice_time_amount","Const":null,"Comments":{"Summary":"","Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"The notice period duration","ExternalDocs":null},"Annotations":[{"Ignore":false,"FieldName":"notice_time_amount"}],"IsAdditionalProperties":false,"ErrorMessage":false,"Type":{"OriginalName":"","Truncated":false,"EventStreamEnvelope":false,"ItemType":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"ContextStack":[],"Fields":[],"OutputLocation":"","Enum":null,"Examples":[],"Validations":{"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null},"ResponseEnvelope":false,"Type":"number","Discriminator":null,"Format":"","Output":false,"Scope":"","Name":"","AssociatedTypes":[],"IsComponent":false,"CircularReference":null,"ResolvedModel":"","Input":false,"Comments":null,"Extensions":{"x-speakeasy-trace":{"Price#create.req.notice_time_amount":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true}},"Name":"notice_time_amount","Nullable":false,"Optional":true,"Default":null},{"Default":null,"Comments":{"DeprecationReplacement":"","Description":"The notice period duration unit","ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":""},"ErrorMessage":false,"Nullable":false,"Optional":true,"Name":"notice_time_unit","Const":null,"Annotations":[{"Ignore":false,"FieldName":"notice_time_unit"}],"IsAdditionalProperties":false,"OriginalName":"notice_time_unit","Type":{"EventStreamEnvelope":false,"Type":"enum","Examples":[],"Format":"","Truncated":false,"ResolvedModel":"PriceCreate","OriginalName":"notice_time_unit","Discriminator":null,"Name":"PriceCreate_notice_time_unit","AssociatedTypes":[],"IsComponent":false,"OutputLocation":"models/shared","Comments":{"ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"The notice period duration unit"},"Input":false,"Output":false,"ResponseEnvelope":false,"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Extensions":{"x-speakeasy-trace":{"Price#create.req.notice_time_unit":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"ItemType":null,"CircularReference":null,"Original":{"Name":"PriceCreate_notice_time_unit","OriginalName":"notice_time_unit","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["weeks","months","years"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The notice period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Enum":{"Type":{"ResolvedModel":"","CircularReference":null,"IsComponent":false,"Output":false,"OriginalName":"","AssociatedTypes":[],"Type":"string","OutputLocation":"","Name":"","Truncated":false,"Examples":[],"ItemType":null,"Fields":[],"Scope":"","Extensions":{},"Format":"","Input":false,"ContextStack":[],"Discriminator":null,"Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null},"ResponseEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"EventStreamEnvelope":false,"Enum":null},"Open":false,"Names":[],"Values":["weeks","months","years"]},"Fields":[],"Scope":"shared","Validations":{"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null}}},{"Name":"price_components","Nullable":false,"Optional":true,"Default":null,"Const":null,"Comments":{"DeprecationReplacement":"","Description":"A set of [price](/api/pricing#tag/simple_price_schema) components that define the composite price.","ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":""},"OriginalName":"price_components","Type":{"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Extensions":{"x-speakeasy-parent-require-to-not-null":true,"Symbol":"PriceCreatePriceComponents","x-speakeasy-trace":{"Price#create.req.price_components":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"ItemType":null,"OutputLocation":"models/shared","Name":"PriceCreate_price_components","Enum":null,"Fields":[{"Name":"$relation","Nullable":false,"Default":null,"IsAdditionalProperties":false,"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"$relation"}],"ErrorMessage":false,"OriginalName":"$relation","Type":{"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"PriceComponentRelation","OriginalName":"PriceComponentRelation","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceComponentRelation","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"_tags","OriginalName":"_tags","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"An arbitrary set of tags attached to the composite price - component relation","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"_tags"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"entity_id","OriginalName":"entity_id","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The id of the price component","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"entity_id"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceComponentRelation","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"ContextStack":[],"Type":"array","IsComponent":false,"EventStreamEnvelope":false,"ResponseEnvelope":false,"OriginalName":"","Format":"","Input":false,"OutputLocation":"","Enum":null,"Examples":[],"Output":false,"ResolvedModel":"","Discriminator":null,"Fields":[],"Name":"","Extensions":{"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"x-speakeasy-trace":{"Price#create.req.price_components.dollar_relation":true},"x-speakeasy-param-computed":true},"AssociatedTypes":[],"Truncated":false,"Scope":"","CircularReference":null,"Comments":null,"ItemType":{"Examples":[],"Output":false,"Scope":"shared","Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"CircularReference":null,"Original":{"Name":"PriceComponentRelation","OriginalName":"PriceComponentRelation","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceComponentRelation","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"_tags","OriginalName":"_tags","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"An arbitrary set of tags attached to the composite price - component relation","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"_tags"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"entity_id","OriginalName":"entity_id","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The id of the price component","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"entity_id"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceComponentRelation","EventStreamEnvelope":false,"ResponseEnvelope":false},"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceComponentRelation","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Extensions":{"x-speakeasy-trace":{"Price#create.req.price_components.dollar_relation.[]":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"Symbol":"PriceComponentRelation"},"Input":false,"IsComponent":true,"ResolvedModel":"PriceComponentRelation","OutputLocation":"models/shared","Enum":null,"Discriminator":null,"AssociatedTypes":[],"Truncated":false,"Name":"PriceComponentRelation","Type":"class","Format":"","ItemType":null,"EventStreamEnvelope":false,"OriginalName":"PriceComponentRelation","Fields":[{"OriginalName":"_tags","Nullable":false,"Default":null,"Const":null,"Comments":{"Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"An arbitrary set of tags attached to the composite price - component relation","ExternalDocs":null,"Summary":""},"Type":{"Truncated":false,"EventStreamEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Input":false,"IsComponent":false,"ItemType":{"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Output":false,"ResolvedModel":"","Discriminator":null,"Truncated":false,"Validations":{"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null},"CircularReference":null,"ResponseEnvelope":false,"Extensions":{"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"Symbol":"Tags","x-speakeasy-trace":{"Price#create.req.price_components.dollar_relation.[].tags.[]":true},"x-speakeasy-param-computed":true},"Enum":null,"ItemType":null,"Comments":null,"Fields":[],"Examples":[],"EventStreamEnvelope":false,"OriginalName":"","Type":"string","OutputLocation":"","AssociatedTypes":[],"Format":"","Input":false,"ContextStack":[],"Name":"","IsComponent":false,"Scope":""},"Enum":null,"Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"ResponseEnvelope":false,"Extensions":{"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"x-speakeasy-trace":{"Price#create.req.price_components.dollar_relation.[].tags":true},"x-speakeasy-param-computed":true,"x-untouched":true},"CircularReference":null,"ResolvedModel":"","OriginalName":"","ContextStack":[],"Name":"","Discriminator":null,"OutputLocation":"","Type":"array","AssociatedTypes":[],"Comments":null,"Format":"","Examples":[],"Scope":"","Output":false},"Name":"_tags","Optional":true,"Annotations":[{"FieldName":"_tags","Ignore":false}],"IsAdditionalProperties":false,"ErrorMessage":false},{"Type":{"ResponseEnvelope":false,"ResolvedModel":"","ItemType":null,"Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null},"Input":false,"Scope":"","Enum":null,"Name":"","AssociatedTypes":[],"Discriminator":null,"Examples":[],"OriginalName":"","OutputLocation":"","ContextStack":[],"Output":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"IsComponent":false,"Type":"string","Comments":null,"Fields":[],"Truncated":false,"CircularReference":null,"EventStreamEnvelope":false,"Format":"","Extensions":{"x-speakeasy-trace":{"Price#create.req.price_components.dollar_relation.[].entity_id":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true}},"Optional":true,"Default":null,"Annotations":[{"Ignore":false,"FieldName":"entity_id"}],"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"entity_id","Name":"entity_id","Nullable":false,"Const":null,"Comments":{"Summary":"","Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"The id of the price component","ExternalDocs":null}}],"ResponseEnvelope":false,"Comments":null},"Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null}},"Optional":true,"Const":null}],"ResponseEnvelope":false,"AssociatedTypes":[],"Original":{"Name":"PriceCreate_price_components","OriginalName":"price_components","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"$relation","OriginalName":"$relation","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"PriceComponentRelation","OriginalName":"PriceComponentRelation","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceComponentRelation","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"_tags","OriginalName":"_tags","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"An arbitrary set of tags attached to the composite price - component relation","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"_tags"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"entity_id","OriginalName":"entity_id","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The id of the price component","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"entity_id"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceComponentRelation","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"$relation"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"A set of [price](/api/pricing#tag/simple_price_schema) components that define the composite price.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Discriminator":null,"Format":"","IsComponent":false,"CircularReference":null,"Input":false,"Output":false,"Scope":"shared","Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"Comments":{"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"A set of [price](/api/pricing#tag/simple_price_schema) components that define the composite price.","ExternalDocs":null},"Examples":[],"Truncated":false,"EventStreamEnvelope":false,"OriginalName":"price_components","Type":"class","ResolvedModel":"PriceCreate"},"Annotations":[{"Ignore":false,"FieldName":"price_components"}],"IsAdditionalProperties":false,"ErrorMessage":false},{"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"price_display_in_journeys","Type":{"Comments":{"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"Defines the way the price amount is display in epilot journeys.","ExternalDocs":null},"OutputLocation":"models/shared","Extensions":{"x-speakeasy-trace":{"Price#create.req.price_display_in_journeys":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Enum":{"Type":{"Enum":null,"AssociatedTypes":[],"Name":"","Discriminator":null,"Examples":[],"Fields":[],"Output":false,"EventStreamEnvelope":false,"OutputLocation":"","OriginalName":"","Comments":null,"Truncated":false,"ContextStack":[],"Type":"string","Input":false,"IsComponent":false,"Scope":"","ResponseEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"CircularReference":null,"ResolvedModel":"","Extensions":{},"Format":"","ItemType":null,"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null}},"Open":false,"Names":[],"Values":["show_price","show_as_starting_price","show_as_on_request"]},"CircularReference":null,"Discriminator":null,"Scope":"shared","Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null},"ItemType":null,"ResolvedModel":"PriceCreate","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Original":{"Name":"PriceCreate_price_display_in_journeys","OriginalName":"price_display_in_journeys","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["show_price","show_as_starting_price","show_as_on_request"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"Defines the way the price amount is display in epilot journeys.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Type":"enum","IsComponent":false,"Output":false,"Truncated":false,"ResponseEnvelope":false,"OriginalName":"price_display_in_journeys","Examples":[],"Fields":[],"Name":"PriceCreate_price_display_in_journeys","Format":"","Input":false,"EventStreamEnvelope":false,"AssociatedTypes":[]},"Optional":true,"Const":null,"Annotations":[{"Ignore":false,"FieldName":"price_display_in_journeys"}],"Name":"price_display_in_journeys","Nullable":false,"Default":null,"Comments":{"ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"Defines the way the price amount is display in epilot journeys."}},{"IsAdditionalProperties":false,"OriginalName":"","Nullable":false,"Optional":false,"Const":null,"Annotations":[{"Name":"priceId","Serialization":"","Style":"simple","Explode":false,"FieldType":{"ComplexAny":false,"ResponseEnvelope":false,"OriginalName":"","ItemType":null,"Fields":[],"Enum":null,"Examples":[{}],"Format":"uuid","Type":"string","Scope":"","Truncated":false,"Comments":{"Summary":"","Description":"The price id","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"ResolvedModel":"","IsComponent":false,"Input":false,"Output":false,"Extensions":{"x-speakeasy-match":"id"},"Discriminator":null,"EventStreamEnvelope":false,"Name":"","ContextStack":[],"Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null},"AssociatedTypes":[],"OutputLocation":""},"Hidden":false,"ParamType":"pathParam"}],"ErrorMessage":false,"Type":{"OutputLocation":"","Name":"","Comments":{"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"The price id","ExternalDocs":null,"ExtendedComments":{}},"Truncated":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The price id","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{"x-speakeasy-match":"id"},"Examples":[{}],"Format":"uuid","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OriginalName":"","Format":"uuid","ItemType":null,"ResolvedModel":"","Enum":null,"Discriminator":null,"IsComponent":false,"Type":"string","Extensions":{"x-speakeasy-match":"id","x-speakeasy-trace":{"Price#get.req.price_id":true}},"ResponseEnvelope":false,"ContextStack":[],"AssociatedTypes":[],"Input":false,"CircularReference":null,"EventStreamEnvelope":false,"Fields":[],"Scope":"","Examples":[{}],"Output":false,"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null}},"Name":"priceId","Default":null,"Comments":{"DeprecationMessage":"","Summary":"","Description":"The price id","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":""}},{"Nullable":false,"Const":null,"OriginalName":"pricing_model","Type":{"CircularReference":null,"Original":{"Name":"PriceCreate_pricing_model","OriginalName":"pricing_model","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["per_unit","tiered_volume","tiered_graduated","tiered_flatfee"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"Describes how to compute the price per period. Either `per_unit`, `tiered_graduated` or `tiered_volume`.\n- `per_unit` indicates that the fixed amount (specified in unit_amount or unit_amount_decimal) will be charged per unit in quantity\n- `tiered_graduated` indicates that the unit pricing will be computed using tiers attribute. The customer pays the price per unit in every range their purchase rises through.\n- `tiered_volume` indicates that the unit pricing will be computed using tiers attribute. The customer pays the same unit price for all purchased units.\n- `tiered_flatfee` While similar to tiered_volume, tiered flat fee charges for the same price (flat) for the entire range instead using the unit price to multiply the quantity.\n","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"IsComponent":false,"Enum":{"Type":{"Format":"","Output":false,"CircularReference":null,"Name":"","Extensions":{},"ItemType":null,"Truncated":false,"ResolvedModel":"","ContextStack":[],"Enum":null,"Examples":[],"Fields":[],"IsComponent":false,"Scope":"","ResponseEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Input":false,"OriginalName":"","OutputLocation":"","Type":"string","AssociatedTypes":[],"Discriminator":null,"EventStreamEnvelope":false,"Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null}},"Open":false,"Names":[],"Values":["per_unit","tiered_volume","tiered_graduated","tiered_flatfee"]},"Input":false,"Output":false,"Scope":"shared","Truncated":false,"ResolvedModel":"PriceCreate","OutputLocation":"models/shared","Extensions":{"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Price#create.req.pricing_model":true},"x-speakeasy-param-computed":true},"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"OriginalName":"pricing_model","Name":"PriceCreate_pricing_model","Examples":[],"Format":"","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Discriminator":null,"ItemType":null,"EventStreamEnvelope":false,"ResponseEnvelope":false,"Fields":[],"Type":"enum","AssociatedTypes":[],"Comments":{"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"Describes how to compute the price per period. Either `per_unit`, `tiered_graduated` or `tiered_volume`.\n- `per_unit` indicates that the fixed amount (specified in unit_amount or unit_amount_decimal) will be charged per unit in quantity\n- `tiered_graduated` indicates that the unit pricing will be computed using tiers attribute. The customer pays the price per unit in every range their purchase rises through.\n- `tiered_volume` indicates that the unit pricing will be computed using tiers attribute. The customer pays the same unit price for all purchased units.\n- `tiered_flatfee` While similar to tiered_volume, tiered flat fee charges for the same price (flat) for the entire range instead using the unit price to multiply the quantity.\n","ExternalDocs":null,"ExtendedComments":{}}},"Default":{"Value":"per_unit"},"Comments":{"Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"Describes how to compute the price per period. Either `per_unit`, `tiered_graduated` or `tiered_volume`.\n- `per_unit` indicates that the fixed amount (specified in unit_amount or unit_amount_decimal) will be charged per unit in quantity\n- `tiered_graduated` indicates that the unit pricing will be computed using tiers attribute. The customer pays the price per unit in every range their purchase rises through.\n- `tiered_volume` indicates that the unit pricing will be computed using tiers attribute. The customer pays the same unit price for all purchased units.\n- `tiered_flatfee` While similar to tiered_volume, tiered flat fee charges for the same price (flat) for the entire range instead using the unit price to multiply the quantity.\n","ExternalDocs":null,"Summary":""},"Annotations":[{"Ignore":false,"FieldName":"pricing_model"}],"IsAdditionalProperties":false,"ErrorMessage":false,"Name":"pricing_model","Optional":true},{"Name":"renewal_duration_amount","Optional":true,"Comments":{"DeprecationMessage":"","DeprecationReplacement":"","Description":"The renewal period duration","ExternalDocs":null,"Summary":"","Deprecated":false},"OriginalName":"renewal_duration_amount","Nullable":false,"Default":null,"Const":null,"Annotations":[{"Ignore":false,"FieldName":"renewal_duration_amount"}],"IsAdditionalProperties":false,"ErrorMessage":false,"Type":{"Name":"","Fields":[],"Output":false,"ResponseEnvelope":false,"Truncated":false,"CircularReference":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OriginalName":"","IsComponent":false,"EventStreamEnvelope":false,"ResolvedModel":"","Comments":null,"Discriminator":null,"ContextStack":[],"Examples":[],"ItemType":null,"Scope":"","Type":"number","Extensions":{"x-speakeasy-trace":{"Price#create.req.renewal_duration_amount":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Enum":null,"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Input":false,"OutputLocation":"","Format":""}},{"OriginalName":"renewal_duration_unit","Nullable":false,"Const":null,"Comments":{"Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"The renewal period duration unit","ExternalDocs":null,"Summary":""},"ErrorMessage":false,"Type":{"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Input":false,"Output":false,"Scope":"shared","Type":"enum","Comments":{"Description":"The renewal period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":""},"ResponseEnvelope":false,"Fields":[],"CircularReference":null,"Original":{"Name":"PriceCreate_renewal_duration_unit","OriginalName":"renewal_duration_unit","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["weeks","months","years"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The renewal period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Name":"PriceCreate_renewal_duration_unit","AssociatedTypes":[],"Examples":[],"IsComponent":false,"EventStreamEnvelope":false,"Discriminator":null,"OriginalName":"renewal_duration_unit","OutputLocation":"models/shared","Format":"","Extensions":{"x-speakeasy-trace":{"Price#create.req.renewal_duration_unit":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Enum":{"Type":{"Format":"","IsComponent":false,"Output":false,"Truncated":false,"Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null},"ResolvedModel":"","Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Type":"string","ItemType":null,"OutputLocation":"","Name":"","Extensions":{},"AssociatedTypes":[],"Comments":null,"Fields":[],"Input":false,"ResponseEnvelope":false,"Scope":"","CircularReference":null,"ContextStack":[],"OriginalName":"","Discriminator":null,"Enum":null,"Examples":[],"EventStreamEnvelope":false},"Open":false,"Names":[],"Values":["weeks","months","years"]},"ItemType":null,"ResolvedModel":"PriceCreate","Truncated":false,"Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null}},"Name":"renewal_duration_unit","Optional":true,"Default":null,"Annotations":[{"Ignore":false,"FieldName":"renewal_duration_unit"}],"IsAdditionalProperties":false},{"Type":{"ResponseEnvelope":false,"Name":"","EventStreamEnvelope":false,"AssociatedTypes":[],"Truncated":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"any","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OriginalName":"","ContextStack":[],"Enum":null,"Comments":null,"IsComponent":false,"Output":false,"ResolvedModel":"","OutputLocation":"","Type":"any","Examples":[],"Input":false,"CircularReference":null,"Discriminator":null,"Extensions":{"x-speakeasy-trace":{"Price#create.req.tax":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Fields":[],"Format":"","ItemType":null,"Scope":"","Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null}},"Comments":null,"OriginalName":"tax","Name":"tax","Nullable":false,"Optional":true,"Default":null,"Const":null,"Annotations":[{"Ignore":false,"FieldName":"tax"}],"IsAdditionalProperties":false,"ErrorMessage":false},{"Nullable":false,"Optional":true,"Default":null,"Comments":{"Description":"The termination period duration","ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":""},"OriginalName":"termination_time_amount","Type":{"OutputLocation":"","Name":"","Enum":null,"CircularReference":null,"ResponseEnvelope":false,"Input":false,"IsComponent":false,"EventStreamEnvelope":false,"Comments":null,"Discriminator":null,"ItemType":null,"OriginalName":"","Type":"number","Extensions":{"x-speakeasy-trace":{"Price#create.req.termination_time_amount":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Scope":"","Validations":{"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null},"AssociatedTypes":[],"Truncated":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"ResolvedModel":"","Examples":[],"Format":"","ContextStack":[],"Output":false},"Name":"termination_time_amount","Const":null,"Annotations":[{"Ignore":false,"FieldName":"termination_time_amount"}],"IsAdditionalProperties":false,"ErrorMessage":false},{"OriginalName":"termination_time_unit","Name":"termination_time_unit","Optional":true,"Annotations":[{"FieldName":"termination_time_unit","Ignore":false}],"IsAdditionalProperties":false,"ErrorMessage":false,"Type":{"OutputLocation":"models/shared","Enum":{"Type":{"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Input":false,"Truncated":false,"Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null},"ResolvedModel":"","Type":"string","Output":false,"Scope":"","EventStreamEnvelope":false,"OutputLocation":"","AssociatedTypes":[],"Discriminator":null,"Fields":[],"OriginalName":"","Format":"","ResponseEnvelope":false,"ContextStack":[],"Comments":null,"ItemType":null,"Examples":[],"IsComponent":false,"Name":"","Extensions":{},"Enum":null,"CircularReference":null},"Open":false,"Names":[],"Values":["weeks","months","years"]},"Discriminator":null,"Fields":[],"IsComponent":false,"OriginalName":"termination_time_unit","AssociatedTypes":[],"Truncated":false,"CircularReference":null,"EventStreamEnvelope":false,"Type":"enum","Format":"","Validations":{"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null},"Scope":"shared","ResponseEnvelope":false,"ResolvedModel":"PriceCreate","Original":{"Name":"PriceCreate_termination_time_unit","OriginalName":"termination_time_unit","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["weeks","months","years"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The termination period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Extensions":{"x-speakeasy-trace":{"Price#create.req.termination_time_unit":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Input":false,"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Name":"PriceCreate_termination_time_unit","Comments":{"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"The termination period duration unit","ExternalDocs":null},"ItemType":null,"Examples":[],"Output":false},"Nullable":false,"Default":null,"Const":null,"Comments":{"Description":"The termination period duration unit","ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":""}},{"Type":{"Type":"array","Scope":"","Comments":null,"Discriminator":null,"Input":false,"Truncated":false,"CircularReference":null,"Fields":[],"IsComponent":false,"ItemType":{"ResponseEnvelope":false,"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceTier","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Original":{"Name":"PriceTier","OriginalName":"PriceTier","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceTier","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"display_mode","OriginalName":"display_mode","Type":{"Name":"PriceTierDisplayMode","OriginalName":"PriceTierDisplayMode","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceTierDisplayMode","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["hidden","on_request"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceTierDisplayMode","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"display_mode"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"flat_fee_amount","OriginalName":"flat_fee_amount","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"flat_fee_amount"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"flat_fee_amount_decimal","OriginalName":"flat_fee_amount_decimal","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"flat_fee_amount_decimal"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"unit_amount","OriginalName":"unit_amount","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"unit_amount"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"unit_amount_decimal","OriginalName":"unit_amount_decimal","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"unit_amount_decimal"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"up_to","OriginalName":"up_to","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"up_to"}],"Nullable":true,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceTier","EventStreamEnvelope":false,"ResponseEnvelope":false},"OriginalName":"PriceTier","ItemType":null,"Output":false,"CircularReference":null,"OutputLocation":"models/shared","Name":"PriceTier","Extensions":{"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"Symbol":"PriceTier","x-speakeasy-trace":{"Price#create.req.tiers.[]":true},"x-speakeasy-param-computed":true,"x-untouched":true},"Format":"","Scope":"shared","EventStreamEnvelope":false,"Enum":null,"Discriminator":null,"Input":false,"Validations":{"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null},"AssociatedTypes":[],"Truncated":false,"ResolvedModel":"PriceTier","Type":"class","Comments":null,"Examples":[],"Fields":[{"Type":{"Discriminator":null,"Input":false,"Comments":null,"ItemType":null,"IsComponent":true,"Truncated":false,"CircularReference":null,"Original":{"Name":"PriceTierDisplayMode","OriginalName":"PriceTierDisplayMode","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceTierDisplayMode","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["hidden","on_request"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceTierDisplayMode","EventStreamEnvelope":false,"ResponseEnvelope":false},"OutputLocation":"models/shared","Examples":[],"Format":"","ResponseEnvelope":false,"ResolvedModel":"PriceTierDisplayMode","Output":false,"EventStreamEnvelope":false,"Fields":[],"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceTierDisplayMode","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Enum":{"Type":{"ResolvedModel":"","Extensions":{},"Enum":null,"IsComponent":false,"ItemType":null,"OriginalName":"","Discriminator":null,"ContextStack":[],"Comments":null,"Output":false,"EventStreamEnvelope":false,"ResponseEnvelope":false,"OutputLocation":"","Format":"","CircularReference":null,"Scope":"","Examples":[],"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Type":"string","AssociatedTypes":[],"Fields":[],"Input":false,"Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null},"Truncated":false,"Name":""},"Open":false,"Names":[],"Values":["hidden","on_request"]},"AssociatedTypes":[],"Scope":"shared","Validations":{"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null},"OriginalName":"PriceTierDisplayMode","Extensions":{"x-speakeasy-trace":{"Price#create.req.tiers.[].display_mode":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true},"Name":"PriceTierDisplayMode","Type":"enum"},"Nullable":false,"Optional":true,"Comments":null,"ErrorMessage":false,"OriginalName":"display_mode","Name":"display_mode","Default":null,"Const":null,"Annotations":[{"Ignore":false,"FieldName":"display_mode"}],"IsAdditionalProperties":false},{"Name":"flat_fee_amount","Default":null,"Const":null,"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"flat_fee_amount","Type":{"AssociatedTypes":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Extensions":{"x-speakeasy-trace":{"Price#create.req.tiers.[].flat_fee_amount":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true},"Enum":null,"Input":false,"Name":"","Discriminator":null,"Examples":[],"Scope":"","CircularReference":null,"ResponseEnvelope":false,"Fields":[],"IsComponent":false,"ItemType":null,"ResolvedModel":"","OriginalName":"","Type":"number","Format":"","Output":false,"Truncated":false,"EventStreamEnvelope":false,"OutputLocation":"","ContextStack":[],"Comments":null},"Nullable":false,"Optional":true,"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"flat_fee_amount"}]},{"OriginalName":"flat_fee_amount_decimal","Type":{"EventStreamEnvelope":false,"OriginalName":"","Output":false,"CircularReference":null,"ResolvedModel":"","Scope":"","Truncated":false,"Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null},"ContextStack":[],"Extensions":{"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"x-speakeasy-trace":{"Price#create.req.tiers.[].flat_fee_amount_decimal":true}},"Format":"","ItemType":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OutputLocation":"","Input":false,"Type":"string","Enum":null,"Discriminator":null,"Fields":[],"Name":"","Comments":null,"Examples":[],"IsComponent":false,"ResponseEnvelope":false,"AssociatedTypes":[]},"Nullable":false,"IsAdditionalProperties":false,"ErrorMessage":false,"Name":"flat_fee_amount_decimal","Optional":true,"Default":null,"Const":null,"Comments":null,"Annotations":[{"FieldName":"flat_fee_amount_decimal","Ignore":false}]},{"Const":null,"Type":{"IsComponent":false,"EventStreamEnvelope":false,"OriginalName":"","Extensions":{"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"x-speakeasy-trace":{"Price#create.req.tiers.[].unit_amount":true},"x-speakeasy-param-computed":true,"x-untouched":true},"Format":"","Input":false,"Name":"","Validations":{"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null},"Comments":null,"Scope":"","Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"ContextStack":[],"Examples":[],"Fields":[],"ResponseEnvelope":false,"CircularReference":null,"Discriminator":null,"Enum":null,"Output":false,"Truncated":false,"OutputLocation":"","ItemType":null,"ResolvedModel":"","AssociatedTypes":[],"Type":"number"},"Nullable":false,"Optional":true,"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"unit_amount"}],"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"unit_amount","Name":"unit_amount","Default":null},{"OriginalName":"unit_amount_decimal","Default":null,"Annotations":[{"Ignore":false,"FieldName":"unit_amount_decimal"}],"IsAdditionalProperties":false,"ErrorMessage":false,"Type":{"OriginalName":"","Enum":null,"Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null},"ItemType":null,"Discriminator":null,"Fields":[],"Format":"","ResponseEnvelope":false,"Name":"","Type":"string","CircularReference":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Output":false,"Input":false,"IsComponent":false,"EventStreamEnvelope":false,"OutputLocation":"","ContextStack":[],"Extensions":{"x-speakeasy-parent-require-to-not-null":true,"x-speakeasy-trace":{"Price#create.req.tiers.[].unit_amount_decimal":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Scope":"","ResolvedModel":"","Comments":null,"Examples":[],"Truncated":false,"AssociatedTypes":[]},"Name":"unit_amount_decimal","Nullable":false,"Optional":true,"Const":null,"Comments":null},{"Default":null,"Const":null,"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"up_to"}],"IsAdditionalProperties":false,"Type":{"Type":"number","Enum":null,"Scope":"","Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Extensions":{"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"x-speakeasy-trace":{"Price#create.req.tiers.[].up_to":true},"x-speakeasy-param-computed":true},"AssociatedTypes":[],"ResolvedModel":"","Name":"","Output":false,"Discriminator":null,"Examples":[],"Format":"","Truncated":false,"ContextStack":[],"Comments":null,"Fields":[],"Input":false,"IsComponent":false,"CircularReference":null,"EventStreamEnvelope":false,"ResponseEnvelope":false,"OriginalName":"","OutputLocation":"","ItemType":null,"Validations":{"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null}},"Nullable":true,"Optional":true,"ErrorMessage":false,"OriginalName":"up_to","Name":"up_to"}],"IsComponent":true},"EventStreamEnvelope":false,"ResponseEnvelope":false,"ContextStack":[],"AssociatedTypes":[],"Examples":[],"Extensions":{"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"x-speakeasy-trace":{"Price#create.req.tiers":true},"x-speakeasy-param-computed":true},"ResolvedModel":"","Output":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"PriceTier","OriginalName":"PriceTier","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceTier","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"display_mode","OriginalName":"display_mode","Type":{"Name":"PriceTierDisplayMode","OriginalName":"PriceTierDisplayMode","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceTierDisplayMode","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["hidden","on_request"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceTierDisplayMode","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"display_mode"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"flat_fee_amount","OriginalName":"flat_fee_amount","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"flat_fee_amount"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"flat_fee_amount_decimal","OriginalName":"flat_fee_amount_decimal","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"flat_fee_amount_decimal"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"unit_amount","OriginalName":"unit_amount","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"unit_amount"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"unit_amount_decimal","OriginalName":"unit_amount_decimal","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"unit_amount_decimal"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"up_to","OriginalName":"up_to","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"up_to"}],"Nullable":true,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceTier","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OriginalName":"","OutputLocation":"","Name":"","Enum":null,"Format":"","Validations":{"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null}},"Name":"tiers","Nullable":false,"Default":null,"Annotations":[{"Ignore":false,"FieldName":"tiers"}],"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"tiers","Optional":true,"Const":null,"Comments":{"Description":"Defines an array of tiers. Each tier has an upper bound, an unit amount and a flat fee.\n","ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":""}},{"IsAdditionalProperties":false,"ErrorMessage":false,"Type":{"ResolvedModel":"PriceCreate","Comments":{"Summary":"","Description":"One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Examples":[],"Format":"","Original":{"Name":"PriceCreate_type","OriginalName":"type","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["one_time","recurring"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Output":false,"Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"Name":"PriceCreate_type","Fields":[],"Truncated":false,"CircularReference":null,"Extensions":{"x-speakeasy-trace":{"Price#create.req.type":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Enum":{"Names":[],"Values":["one_time","recurring"],"Type":{"Comments":null,"Examples":[],"Fields":[],"ItemType":null,"Validations":{"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null},"ResponseEnvelope":false,"Extensions":{},"Enum":null,"Scope":"","EventStreamEnvelope":false,"ResolvedModel":"","AssociatedTypes":[],"IsComponent":false,"OriginalName":"","Name":"","Output":false,"CircularReference":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OutputLocation":"","ContextStack":[],"Truncated":false,"Type":"string","Discriminator":null,"Format":"","Input":false},"Open":false},"ResponseEnvelope":false,"OriginalName":"type","OutputLocation":"models/shared","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","Discriminator":null,"Scope":"shared","IsComponent":false,"ItemType":null,"EventStreamEnvelope":false,"AssociatedTypes":[],"Input":false},"Nullable":false,"Optional":true,"Const":null,"Annotations":[{"Ignore":false,"FieldName":"type"}],"OriginalName":"type","Name":"type","Default":{"Value":"one_time"},"Comments":{"DeprecationReplacement":"","Description":"One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.","ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":""}},{"OriginalName":"unit","Optional":true,"Default":null,"Const":null,"Comments":{"Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"The unit of measurement used for display purposes and possibly for calculations when the price is variable.","ExternalDocs":null,"Summary":""},"Annotations":[{"FieldName":"unit","Ignore":false}],"IsAdditionalProperties":false,"Type":{"ResponseEnvelope":false,"Fields":[],"Input":false,"Extensions":{"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Price#create.req.unit":true},"x-speakeasy-param-computed":true},"Type":"string","OutputLocation":"","ContextStack":[],"Comments":null,"Truncated":false,"CircularReference":null,"ResolvedModel":"","IsComponent":false,"ItemType":null,"Output":false,"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"OriginalName":"","Discriminator":null,"Examples":[],"AssociatedTypes":[],"Format":"","Name":"","Enum":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Scope":"","EventStreamEnvelope":false},"Name":"unit","Nullable":false,"ErrorMessage":false},{"Nullable":false,"Optional":true,"Const":null,"Comments":{"DeprecationReplacement":"","Description":"The unit amount in cents to be charged, represented as a whole integer if possible.","ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"unit_amount"}],"ErrorMessage":false,"OriginalName":"unit_amount","Type":{"EventStreamEnvelope":false,"Extensions":{"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Price#create.req.unit_amount":true},"x-speakeasy-param-computed":true},"IsComponent":false,"Type":"number","AssociatedTypes":[],"CircularReference":null,"Name":"","Truncated":false,"ContextStack":[],"Format":"","Validations":{"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null},"OriginalName":"","Examples":[],"Enum":null,"Input":false,"Scope":"","Output":false,"ResolvedModel":"","Comments":null,"Discriminator":null,"ItemType":null,"ResponseEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OutputLocation":"","Fields":[]},"Name":"unit_amount","Default":null,"IsAdditionalProperties":false},{"Annotations":[{"Ignore":false,"FieldName":"unit_amount_currency"}],"ErrorMessage":false,"Type":{"EventStreamEnvelope":false,"OutputLocation":"","Scope":"","Validations":{"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null},"CircularReference":null,"ContextStack":[],"Comments":null,"Output":false,"IsComponent":false,"ItemType":null,"ResponseEnvelope":false,"Name":"","AssociatedTypes":[],"Format":"","Input":false,"ResolvedModel":"","Truncated":false,"Type":"string","Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[{}],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Enum":null,"Examples":[{}],"Fields":[],"OriginalName":"","Extensions":{"x-speakeasy-trace":{"Price#create.req.unit_amount_currency":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Discriminator":null},"Optional":true,"Nullable":false,"Default":null,"Const":null,"Comments":{"ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"Three-letter ISO currency code, in lowercase."},"IsAdditionalProperties":false,"OriginalName":"unit_amount_currency","Name":"unit_amount_currency"},{"OriginalName":"unit_amount_decimal","Nullable":false,"Optional":true,"Default":null,"Annotations":[{"Ignore":false,"FieldName":"unit_amount_decimal"}],"ErrorMessage":false,"Type":{"Fields":[],"ResponseEnvelope":false,"OriginalName":"","OutputLocation":"","ItemType":null,"ResolvedModel":"","Truncated":false,"ContextStack":[],"Discriminator":null,"Examples":[],"Enum":null,"Input":false,"Scope":"","Type":"string","AssociatedTypes":[],"Format":"","CircularReference":null,"Validations":{"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null},"Extensions":{"x-speakeasy-trace":{"Price#create.req.unit_amount_decimal":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Comments":null,"IsComponent":false,"Output":false,"EventStreamEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Name":""},"Name":"unit_amount_decimal","Const":null,"Comments":{"Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places.","ExternalDocs":null,"Summary":""},"IsAdditionalProperties":false},{"Type":{"IsComponent":false,"ItemType":null,"ResponseEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OutputLocation":"","ContextStack":[],"Comments":null,"Scope":"","Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null},"ResolvedModel":"","Name":"","Examples":[],"Fields":[],"Output":false,"EventStreamEnvelope":false,"Extensions":{"x-speakeasy-trace":{"Price#create.req.variable_price":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Input":false,"OriginalName":"","Enum":null,"Type":"boolean","Format":"","Truncated":false,"CircularReference":null,"AssociatedTypes":[],"Discriminator":null},"Name":"variable_price","Nullable":false,"Const":null,"Annotations":[{"Ignore":false,"FieldName":"variable_price"}],"ErrorMessage":false,"OriginalName":"variable_price","Optional":true,"Default":{"Value":false},"Comments":{"DeprecationMessage":"","DeprecationReplacement":"","Description":"The flag for prices that can be influenced by external variables such as user input.","ExternalDocs":null,"Summary":"","Deprecated":false},"IsAdditionalProperties":false}],"Format":"","IsComponent":true,"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Name":"Price","ItemType":null,"ResponseEnvelope":false,"OutputLocation":"models/shared","Type":"class","Comments":null,"Truncated":false,"CircularReference":null,"Original":{"Name":"PriceCreate","OriginalName":"PriceCreate","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"active","OriginalName":"active","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"Whether the price can be used for new purchases.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"active"}],"Nullable":false,"Optional":false,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"billing_duration_amount","OriginalName":"billing_duration_amount","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The billing period duration","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"billing_duration_amount"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"billing_duration_unit","OriginalName":"billing_duration_unit","Type":{"Name":"PriceCreate_billing_duration_unit","OriginalName":"billing_duration_unit","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["weeks","months","years"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The billing period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The billing period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"billing_duration_unit"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"description","OriginalName":"description","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"A brief description of the price.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"description"}],"Nullable":false,"Optional":false,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"is_composite_price","OriginalName":"is_composite_price","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The flag for prices that contain price components.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"is_composite_price"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"is_tax_inclusive","OriginalName":"is_tax_inclusive","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"Specifies whether the price is considered `inclusive` of taxes or not.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"is_tax_inclusive"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":{"Value":false},"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"long_description","OriginalName":"long_description","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"A detailed description of the price. This is shown on the order document and order table. Multi-line supported.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"long_description"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"notice_time_amount","OriginalName":"notice_time_amount","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The notice period duration","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"notice_time_amount"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"notice_time_unit","OriginalName":"notice_time_unit","Type":{"Name":"PriceCreate_notice_time_unit","OriginalName":"notice_time_unit","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["weeks","months","years"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The notice period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The notice period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"notice_time_unit"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"price_components","OriginalName":"price_components","Type":{"Name":"PriceCreate_price_components","OriginalName":"price_components","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"$relation","OriginalName":"$relation","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"PriceComponentRelation","OriginalName":"PriceComponentRelation","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceComponentRelation","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"_tags","OriginalName":"_tags","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"An arbitrary set of tags attached to the composite price - component relation","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"_tags"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"entity_id","OriginalName":"entity_id","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The id of the price component","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"entity_id"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceComponentRelation","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"$relation"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"A set of [price](/api/pricing#tag/simple_price_schema) components that define the composite price.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"A set of [price](/api/pricing#tag/simple_price_schema) components that define the composite price.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"price_components"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"price_display_in_journeys","OriginalName":"price_display_in_journeys","Type":{"Name":"PriceCreate_price_display_in_journeys","OriginalName":"price_display_in_journeys","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["show_price","show_as_starting_price","show_as_on_request"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"Defines the way the price amount is display in epilot journeys.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"Defines the way the price amount is display in epilot journeys.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"price_display_in_journeys"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"pricing_model","OriginalName":"pricing_model","Type":{"Name":"PriceCreate_pricing_model","OriginalName":"pricing_model","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["per_unit","tiered_volume","tiered_graduated","tiered_flatfee"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"Describes how to compute the price per period. Either `per_unit`, `tiered_graduated` or `tiered_volume`.\n- `per_unit` indicates that the fixed amount (specified in unit_amount or unit_amount_decimal) will be charged per unit in quantity\n- `tiered_graduated` indicates that the unit pricing will be computed using tiers attribute. The customer pays the price per unit in every range their purchase rises through.\n- `tiered_volume` indicates that the unit pricing will be computed using tiers attribute. The customer pays the same unit price for all purchased units.\n- `tiered_flatfee` While similar to tiered_volume, tiered flat fee charges for the same price (flat) for the entire range instead using the unit price to multiply the quantity.\n","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"Describes how to compute the price per period. Either `per_unit`, `tiered_graduated` or `tiered_volume`.\n- `per_unit` indicates that the fixed amount (specified in unit_amount or unit_amount_decimal) will be charged per unit in quantity\n- `tiered_graduated` indicates that the unit pricing will be computed using tiers attribute. The customer pays the price per unit in every range their purchase rises through.\n- `tiered_volume` indicates that the unit pricing will be computed using tiers attribute. The customer pays the same unit price for all purchased units.\n- `tiered_flatfee` While similar to tiered_volume, tiered flat fee charges for the same price (flat) for the entire range instead using the unit price to multiply the quantity.\n","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"pricing_model"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":{"Value":"per_unit"},"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"renewal_duration_amount","OriginalName":"renewal_duration_amount","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The renewal period duration","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"renewal_duration_amount"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"renewal_duration_unit","OriginalName":"renewal_duration_unit","Type":{"Name":"PriceCreate_renewal_duration_unit","OriginalName":"renewal_duration_unit","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["weeks","months","years"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The renewal period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The renewal period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"renewal_duration_unit"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"tax","OriginalName":"tax","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"any","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"tax"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"termination_time_amount","OriginalName":"termination_time_amount","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The termination period duration","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"termination_time_amount"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"termination_time_unit","OriginalName":"termination_time_unit","Type":{"Name":"PriceCreate_termination_time_unit","OriginalName":"termination_time_unit","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["weeks","months","years"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The termination period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The termination period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"termination_time_unit"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"tiers","OriginalName":"tiers","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"PriceTier","OriginalName":"PriceTier","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceTier","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"display_mode","OriginalName":"display_mode","Type":{"Name":"PriceTierDisplayMode","OriginalName":"PriceTierDisplayMode","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceTierDisplayMode","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["hidden","on_request"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceTierDisplayMode","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"display_mode"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"flat_fee_amount","OriginalName":"flat_fee_amount","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"flat_fee_amount"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"flat_fee_amount_decimal","OriginalName":"flat_fee_amount_decimal","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"flat_fee_amount_decimal"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"unit_amount","OriginalName":"unit_amount","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"unit_amount"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"unit_amount_decimal","OriginalName":"unit_amount_decimal","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"unit_amount_decimal"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"up_to","OriginalName":"up_to","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"up_to"}],"Nullable":true,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceTier","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"Defines an array of tiers. Each tier has an upper bound, an unit amount and a flat fee.\n","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"tiers"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"type","OriginalName":"type","Type":{"Name":"PriceCreate_type","OriginalName":"type","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["one_time","recurring"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"type"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":{"Value":"one_time"},"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"unit","OriginalName":"unit","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The unit of measurement used for display purposes and possibly for calculations when the price is variable.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"unit"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"unit_amount","OriginalName":"unit_amount","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The unit amount in cents to be charged, represented as a whole integer if possible.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"unit_amount"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"unit_amount_currency","OriginalName":"unit_amount_currency","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[{}],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"Three-letter ISO currency code, in lowercase.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"unit_amount_currency"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"unit_amount_decimal","OriginalName":"unit_amount_decimal","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"unit_amount_decimal"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"variable_price","OriginalName":"variable_price","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The flag for prices that can be influenced by external variables such as user input.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"variable_price"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":{"Value":false},"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{"x-speakeasy-entity":"Price"},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Input":false,"Output":false,"Scope":"shared","Enum":null,"AssociatedTypes":[],"Examples":[],"OriginalName":"PriceCreate","Discriminator":null,"Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null}} - // {"OutputLocation":"","Enum":null,"Discriminator":null,"Fields":[],"Format":"","CircularReference":null,"ContextStack":[],"Type":"boolean","EventStreamEnvelope":false,"Name":"","ResponseEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"Hydrates entities in relations when passed true","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Extensions":{},"Examples":[],"Input":false,"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"ResolvedModel":"","OriginalName":"","IsComponent":false,"Scope":"","Truncated":false,"AssociatedTypes":[],"Comments":{"Summary":"","Description":"Hydrates entities in relations when passed true","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"ItemType":null,"Output":false} + // {"Scope":"shared","OriginalName":"PriceCreate","Name":"Price","Comments":null,"CircularReference":null,"ResolvedModel":"PriceCreate","Examples":[],"ItemType":null,"Output":false,"ResponseEnvelope":false,"AssociatedTypes":[],"OutputLocation":"models/shared","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Extensions":{"x-speakeasy-trace":{"Price#create.req":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get-request":true,"x-speakeasy-in-get":true,"x-speakeasy-root":true,"x-speakeasy-entity":"Price"},"Enum":null,"EventStreamEnvelope":false,"Format":"","Truncated":false,"Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null},"Discriminator":null,"Input":false,"IsComponent":true,"Original":{"Name":"PriceCreate","OriginalName":"PriceCreate","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"active","OriginalName":"active","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"Whether the price can be used for new purchases.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"active"}],"Nullable":false,"Optional":false,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"billing_duration_amount","OriginalName":"billing_duration_amount","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The billing period duration","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"billing_duration_amount"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"billing_duration_unit","OriginalName":"billing_duration_unit","Type":{"Name":"PriceCreate_billing_duration_unit","OriginalName":"billing_duration_unit","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["weeks","months","years"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The billing period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The billing period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"billing_duration_unit"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"description","OriginalName":"description","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"A brief description of the price.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"description"}],"Nullable":false,"Optional":false,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"is_composite_price","OriginalName":"is_composite_price","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The flag for prices that contain price components.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"is_composite_price"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"is_tax_inclusive","OriginalName":"is_tax_inclusive","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"Specifies whether the price is considered `inclusive` of taxes or not.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"is_tax_inclusive"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":{"Value":false},"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"long_description","OriginalName":"long_description","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"A detailed description of the price. This is shown on the order document and order table. Multi-line supported.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"long_description"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"notice_time_amount","OriginalName":"notice_time_amount","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The notice period duration","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"notice_time_amount"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"notice_time_unit","OriginalName":"notice_time_unit","Type":{"Name":"PriceCreate_notice_time_unit","OriginalName":"notice_time_unit","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["weeks","months","years"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The notice period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The notice period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"notice_time_unit"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"price_components","OriginalName":"price_components","Type":{"Name":"PriceCreate_price_components","OriginalName":"price_components","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"$relation","OriginalName":"$relation","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"PriceComponentRelation","OriginalName":"PriceComponentRelation","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceComponentRelation","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"_tags","OriginalName":"_tags","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"An arbitrary set of tags attached to the composite price - component relation","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"_tags"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"entity_id","OriginalName":"entity_id","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The id of the price component","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"entity_id"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceComponentRelation","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"$relation"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"A set of [price](/api/pricing#tag/simple_price_schema) components that define the composite price.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"A set of [price](/api/pricing#tag/simple_price_schema) components that define the composite price.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"price_components"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"price_display_in_journeys","OriginalName":"price_display_in_journeys","Type":{"Name":"PriceCreate_price_display_in_journeys","OriginalName":"price_display_in_journeys","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["show_price","show_as_starting_price","show_as_on_request"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"Defines the way the price amount is display in epilot journeys.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"Defines the way the price amount is display in epilot journeys.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"price_display_in_journeys"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"pricing_model","OriginalName":"pricing_model","Type":{"Name":"PriceCreate_pricing_model","OriginalName":"pricing_model","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["per_unit","tiered_volume","tiered_graduated","tiered_flatfee"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"Describes how to compute the price per period. Either `per_unit`, `tiered_graduated` or `tiered_volume`.\n- `per_unit` indicates that the fixed amount (specified in unit_amount or unit_amount_decimal) will be charged per unit in quantity\n- `tiered_graduated` indicates that the unit pricing will be computed using tiers attribute. The customer pays the price per unit in every range their purchase rises through.\n- `tiered_volume` indicates that the unit pricing will be computed using tiers attribute. The customer pays the same unit price for all purchased units.\n- `tiered_flatfee` While similar to tiered_volume, tiered flat fee charges for the same price (flat) for the entire range instead using the unit price to multiply the quantity.\n","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"Describes how to compute the price per period. Either `per_unit`, `tiered_graduated` or `tiered_volume`.\n- `per_unit` indicates that the fixed amount (specified in unit_amount or unit_amount_decimal) will be charged per unit in quantity\n- `tiered_graduated` indicates that the unit pricing will be computed using tiers attribute. The customer pays the price per unit in every range their purchase rises through.\n- `tiered_volume` indicates that the unit pricing will be computed using tiers attribute. The customer pays the same unit price for all purchased units.\n- `tiered_flatfee` While similar to tiered_volume, tiered flat fee charges for the same price (flat) for the entire range instead using the unit price to multiply the quantity.\n","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"pricing_model"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":{"Value":"per_unit"},"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"renewal_duration_amount","OriginalName":"renewal_duration_amount","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The renewal period duration","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"renewal_duration_amount"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"renewal_duration_unit","OriginalName":"renewal_duration_unit","Type":{"Name":"PriceCreate_renewal_duration_unit","OriginalName":"renewal_duration_unit","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["weeks","months","years"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The renewal period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The renewal period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"renewal_duration_unit"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"tax","OriginalName":"tax","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"any","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"tax"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"termination_time_amount","OriginalName":"termination_time_amount","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The termination period duration","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"termination_time_amount"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"termination_time_unit","OriginalName":"termination_time_unit","Type":{"Name":"PriceCreate_termination_time_unit","OriginalName":"termination_time_unit","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["weeks","months","years"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The termination period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The termination period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"termination_time_unit"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"tiers","OriginalName":"tiers","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"PriceTier","OriginalName":"PriceTier","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceTier","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"display_mode","OriginalName":"display_mode","Type":{"Name":"PriceTierDisplayMode","OriginalName":"PriceTierDisplayMode","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceTierDisplayMode","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["hidden","on_request"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceTierDisplayMode","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"display_mode"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"flat_fee_amount","OriginalName":"flat_fee_amount","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"flat_fee_amount"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"flat_fee_amount_decimal","OriginalName":"flat_fee_amount_decimal","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"flat_fee_amount_decimal"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"unit_amount","OriginalName":"unit_amount","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"unit_amount"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"unit_amount_decimal","OriginalName":"unit_amount_decimal","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"unit_amount_decimal"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"up_to","OriginalName":"up_to","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"up_to"}],"Nullable":true,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceTier","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"Defines an array of tiers. Each tier has an upper bound, an unit amount and a flat fee.\n","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"tiers"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"type","OriginalName":"type","Type":{"Name":"PriceCreate_type","OriginalName":"type","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["one_time","recurring"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"type"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":{"Value":"one_time"},"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"unit","OriginalName":"unit","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The unit of measurement used for display purposes and possibly for calculations when the price is variable.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"unit"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"unit_amount","OriginalName":"unit_amount","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The unit amount in cents to be charged, represented as a whole integer if possible.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"unit_amount"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"unit_amount_currency","OriginalName":"unit_amount_currency","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[{}],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"Three-letter ISO currency code, in lowercase.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"unit_amount_currency"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"unit_amount_decimal","OriginalName":"unit_amount_decimal","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"unit_amount_decimal"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"variable_price","OriginalName":"variable_price","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The flag for prices that can be influenced by external variables such as user input.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"variable_price"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":{"Value":false},"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{"x-speakeasy-entity":"Price"},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[{"IsAdditionalProperties":false,"ErrorMessage":false,"Optional":false,"Const":null,"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"_id"}],"Default":null,"OriginalName":"_id","Type":{"Discriminator":null,"IsComponent":false,"EventStreamEnvelope":false,"ResponseEnvelope":false,"OriginalName":"","Output":false,"ResolvedModel":"","Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[{}],"Format":"uuid","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Input":false,"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"Name":"","Type":"string","Format":"uuid","Truncated":false,"Examples":[{}],"Scope":"","CircularReference":null,"ContextStack":[],"Extensions":{"x-speakeasy-param-readonly":true,"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Price#create.resp.id":true},"x-speakeasy-param-computed":true,"x-untouched":true},"Enum":null,"Comments":null,"ItemType":null,"OutputLocation":"","AssociatedTypes":[],"Fields":[]},"Name":"_id","Nullable":false},{"OriginalName":"active","Nullable":false,"Default":null,"Comments":{"Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"Whether the price can be used for new purchases.","ExternalDocs":null,"Summary":""},"IsAdditionalProperties":false,"ErrorMessage":false,"Type":{"AssociatedTypes":[],"Comments":null,"ItemType":null,"Truncated":false,"ResponseEnvelope":false,"OutputLocation":"","CircularReference":null,"OriginalName":"","Examples":[],"Extensions":{"x-speakeasy-trace":{"Price#create.req.active":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Format":"","IsComponent":false,"Output":false,"Scope":"","Validations":{"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null},"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"ContextStack":[],"Discriminator":null,"Name":"","ResolvedModel":"","Enum":null,"Input":false,"EventStreamEnvelope":false,"Type":"boolean"},"Name":"active","Optional":false,"Const":null,"Annotations":[{"FieldName":"active","Ignore":false}]},{"Nullable":false,"Optional":true,"Const":null,"Comments":{"DeprecationReplacement":"","Description":"The billing period duration","ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":""},"ErrorMessage":false,"OriginalName":"billing_duration_amount","Type":{"Fields":[],"IsComponent":false,"Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"OriginalName":"","Format":"","Name":"","Type":"number","Extensions":{"x-speakeasy-trace":{"Price#create.req.billing_duration_amount":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"ItemType":null,"ResolvedModel":"","AssociatedTypes":[],"Discriminator":null,"Truncated":false,"CircularReference":null,"Scope":"","ResponseEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"ContextStack":[],"Examples":[],"OutputLocation":"","Enum":null,"Comments":null,"EventStreamEnvelope":false,"Input":false,"Output":false},"Name":"billing_duration_amount","Default":null,"Annotations":[{"Ignore":false,"FieldName":"billing_duration_amount"}],"IsAdditionalProperties":false},{"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"billing_duration_unit","Name":"billing_duration_unit","Default":null,"Comments":{"Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"The billing period duration unit","ExternalDocs":null,"Summary":""},"Annotations":[{"Ignore":false,"FieldName":"billing_duration_unit"}],"Type":{"EventStreamEnvelope":false,"OriginalName":"billing_duration_unit","Discriminator":null,"Output":false,"ResolvedModel":"PriceCreate","Extensions":{"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Price#create.req.billing_duration_unit":true}},"Input":false,"Truncated":false,"Original":{"Name":"PriceCreate_billing_duration_unit","OriginalName":"billing_duration_unit","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["weeks","months","years"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The billing period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"OutputLocation":"models/shared","Type":"enum","AssociatedTypes":[],"Scope":"shared","Name":"PriceCreate_billing_duration_unit","Enum":{"Names":[],"Values":["weeks","months","years"],"Type":{"Truncated":false,"Format":"","Output":false,"ContextStack":[],"Extensions":{},"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OutputLocation":"","Name":"","Scope":"","Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"CircularReference":null,"OriginalName":"","Comments":null,"AssociatedTypes":[],"Discriminator":null,"Input":false,"IsComponent":false,"ItemType":null,"Examples":[],"Fields":[],"Type":"string","Enum":null,"EventStreamEnvelope":false,"ResponseEnvelope":false,"ResolvedModel":""},"Open":false},"Comments":{"Description":"The billing period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":""},"Examples":[],"Fields":[],"Format":"","IsComponent":false,"ResponseEnvelope":false,"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"ItemType":null,"Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null},"CircularReference":null},"Nullable":false,"Optional":true,"Const":null},{"OriginalName":"description","Type":{"OutputLocation":"","Name":"","Type":"string","Extensions":{"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Price#create.req.description":true},"x-speakeasy-param-computed":true,"x-untouched":true},"Output":false,"Scope":"","Comments":null,"Format":"","Enum":null,"Examples":[],"Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null},"CircularReference":null,"EventStreamEnvelope":false,"OriginalName":"","ContextStack":[],"Discriminator":null,"Fields":[],"Input":false,"ItemType":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"AssociatedTypes":[],"IsComponent":false,"Truncated":false,"ResponseEnvelope":false,"ResolvedModel":""},"Nullable":false,"Default":null,"Comments":{"Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"A brief description of the price.","ExternalDocs":null,"Summary":""},"Annotations":[{"Ignore":false,"FieldName":"description"}],"IsAdditionalProperties":false,"ErrorMessage":false,"Name":"description","Optional":false,"Const":null},{"IsAdditionalProperties":false,"Nullable":false,"Comments":{"DeprecationReplacement":"","Description":"The flag for prices that contain price components.","ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"is_composite_price"}],"Optional":true,"Default":null,"Const":null,"ErrorMessage":false,"OriginalName":"is_composite_price","Type":{"ItemType":null,"CircularReference":null,"AssociatedTypes":[],"Comments":null,"Input":false,"Enum":null,"EventStreamEnvelope":false,"OriginalName":"","Discriminator":null,"Output":false,"Truncated":false,"Extensions":{"x-speakeasy-trace":{"Price#create.req.is_composite_price":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Type":"boolean","Format":"","Scope":"","Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Examples":[],"ResponseEnvelope":false,"ResolvedModel":"","IsComponent":false,"ContextStack":[],"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"OutputLocation":"","Name":""},"Name":"is_composite_price"},{"ErrorMessage":false,"Nullable":false,"Default":{"Value":false},"Name":"is_tax_inclusive","Optional":true,"Const":null,"Comments":{"Summary":"","Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"Specifies whether the price is considered `inclusive` of taxes or not.","ExternalDocs":null},"Annotations":[{"Ignore":false,"FieldName":"is_tax_inclusive"}],"IsAdditionalProperties":false,"OriginalName":"is_tax_inclusive","Type":{"EventStreamEnvelope":false,"Comments":null,"Examples":[],"OutputLocation":"","Name":"","ContextStack":[],"Extensions":{"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Price#create.req.is_tax_inclusive":true},"x-speakeasy-param-computed":true},"Enum":null,"IsComponent":false,"AssociatedTypes":[],"Discriminator":null,"Fields":[],"ItemType":null,"Output":false,"Scope":"","OriginalName":"","Input":false,"Validations":{"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null},"ResolvedModel":"","Type":"boolean","CircularReference":null,"ResponseEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Format":"","Truncated":false}},{"Type":{"EventStreamEnvelope":false,"ItemType":null,"Enum":null,"Comments":null,"Discriminator":null,"IsComponent":false,"ResponseEnvelope":false,"Name":"","OriginalName":"","Type":"string","Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"ResolvedModel":"","Truncated":false,"ContextStack":[],"Input":false,"Output":false,"Examples":[],"Fields":[],"Format":"","Scope":"","OutputLocation":"","Extensions":{"x-speakeasy-trace":{"Price#create.req.long_description":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"CircularReference":null,"AssociatedTypes":[],"Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null}},"Optional":true,"Default":null,"Const":null,"Comments":{"Description":"A detailed description of the price. This is shown on the order document and order table. Multi-line supported.","ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":""},"Annotations":[{"FieldName":"long_description","Ignore":false}],"OriginalName":"long_description","Name":"long_description","Nullable":false,"IsAdditionalProperties":false,"ErrorMessage":false},{"OriginalName":"notice_time_amount","Type":{"Type":"number","ContextStack":[],"Name":"","Extensions":{"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Price#create.req.notice_time_amount":true},"x-speakeasy-param-computed":true,"x-untouched":true},"Examples":[],"ResponseEnvelope":false,"ResolvedModel":"","ItemType":null,"Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null},"Enum":null,"IsComponent":false,"Scope":"","Output":false,"Truncated":false,"Discriminator":null,"Input":false,"CircularReference":null,"EventStreamEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"OutputLocation":"","AssociatedTypes":[],"OriginalName":"","Fields":[],"Format":""},"Nullable":false,"IsAdditionalProperties":false,"ErrorMessage":false,"Name":"notice_time_amount","Optional":true,"Default":null,"Const":null,"Comments":{"Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"The notice period duration","ExternalDocs":null,"Summary":""},"Annotations":[{"Ignore":false,"FieldName":"notice_time_amount"}]},{"OriginalName":"notice_time_unit","Type":{"Enum":{"Names":[],"Values":["weeks","months","years"],"Type":{"ResponseEnvelope":false,"ItemType":null,"Comments":null,"Format":"","IsComponent":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"ResolvedModel":"","Extensions":{},"Discriminator":null,"Input":false,"Type":"string","Enum":null,"Scope":"","EventStreamEnvelope":false,"OutputLocation":"","AssociatedTypes":[],"OriginalName":"","ContextStack":[],"Output":false,"Name":"","Examples":[],"Truncated":false,"CircularReference":null},"Open":false},"AssociatedTypes":[],"Discriminator":null,"Format":"","Name":"PriceCreate_notice_time_unit","ResponseEnvelope":false,"ResolvedModel":"PriceCreate","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Truncated":false,"EventStreamEnvelope":false,"Extensions":{"x-speakeasy-trace":{"Price#create.req.notice_time_unit":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Examples":[],"Fields":[],"ItemType":null,"Scope":"shared","Original":{"Name":"PriceCreate_notice_time_unit","OriginalName":"notice_time_unit","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["weeks","months","years"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The notice period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Input":false,"Output":false,"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"IsComponent":false,"CircularReference":null,"OriginalName":"notice_time_unit","OutputLocation":"models/shared","Type":"enum","Comments":{"ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"The notice period duration unit"}},"Default":null,"Const":null,"Comments":{"Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"The notice period duration unit","ExternalDocs":null,"Summary":""},"IsAdditionalProperties":false,"Name":"notice_time_unit","Nullable":false,"Optional":true,"Annotations":[{"Ignore":false,"FieldName":"notice_time_unit"}],"ErrorMessage":false},{"IsAdditionalProperties":false,"Type":{"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"ResponseEnvelope":false,"Input":false,"Extensions":{"x-speakeasy-trace":{"Price#create.req.price_components":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"Symbol":"PriceCreatePriceComponents"},"IsComponent":false,"OutputLocation":"models/shared","OriginalName":"price_components","Truncated":false,"Scope":"shared","Name":"PriceCreate_price_components","Type":"class","EventStreamEnvelope":false,"Fields":[{"Nullable":false,"Default":null,"Comments":null,"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"$relation","Type":{"IsComponent":false,"ItemType":{"ResolvedModel":"PriceComponentRelation","OutputLocation":"models/shared","Fields":[{"Type":{"OutputLocation":"","Examples":[],"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Extensions":{"x-speakeasy-parent-require-to-not-null":true,"x-speakeasy-trace":{"Price#create.req.price_components.dollar_relation.[].tags":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Input":false,"EventStreamEnvelope":false,"Format":"","Truncated":false,"OriginalName":"","Discriminator":null,"ResponseEnvelope":false,"ResolvedModel":"","ContextStack":[],"ItemType":{"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Format":"","OriginalName":"","Type":"string","Fields":[],"Output":false,"Truncated":false,"EventStreamEnvelope":false,"Examples":[],"ContextStack":[],"Extensions":{"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"Symbol":"Tags","x-speakeasy-trace":{"Price#create.req.price_components.dollar_relation.[].tags.[]":true}},"IsComponent":false,"ItemType":null,"Discriminator":null,"CircularReference":null,"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"ResponseEnvelope":false,"OutputLocation":"","Name":"","AssociatedTypes":[],"Input":false,"ResolvedModel":"","Enum":null,"Scope":""},"Name":"","Enum":null,"Comments":null,"IsComponent":false,"Output":false,"CircularReference":null,"Fields":[],"Scope":"","AssociatedTypes":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"Type":"array"},"Optional":true,"Const":null,"Comments":{"DeprecationMessage":"","DeprecationReplacement":"","Description":"An arbitrary set of tags attached to the composite price - component relation","ExternalDocs":null,"Summary":"","Deprecated":false},"Annotations":[{"Ignore":false,"FieldName":"_tags"}],"ErrorMessage":false,"OriginalName":"_tags","Name":"_tags","Nullable":false,"Default":null,"IsAdditionalProperties":false},{"Type":{"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Discriminator":null,"Fields":[],"IsComponent":false,"ItemType":null,"Type":"string","Scope":"","EventStreamEnvelope":false,"Examples":[],"CircularReference":null,"Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null},"ResolvedModel":"","Format":"","Truncated":false,"ResponseEnvelope":false,"OriginalName":"","ContextStack":[],"Extensions":{"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"x-speakeasy-trace":{"Price#create.req.price_components.dollar_relation.[].entity_id":true}},"Enum":null,"Output":false,"OutputLocation":"","Name":"","AssociatedTypes":[],"Comments":null,"Input":false},"Name":"entity_id","Nullable":false,"Const":null,"Comments":{"Summary":"","Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"The id of the price component","ExternalDocs":null},"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"entity_id","Optional":true,"Default":null,"Annotations":[{"Ignore":false,"FieldName":"entity_id"}]}],"IsComponent":true,"Scope":"shared","ResponseEnvelope":false,"Examples":[],"OriginalName":"PriceComponentRelation","Format":"","Name":"PriceComponentRelation","Type":"class","AssociatedTypes":[],"Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"Original":{"Name":"PriceComponentRelation","OriginalName":"PriceComponentRelation","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceComponentRelation","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"_tags","OriginalName":"_tags","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"An arbitrary set of tags attached to the composite price - component relation","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"_tags"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"entity_id","OriginalName":"entity_id","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The id of the price component","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"entity_id"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceComponentRelation","EventStreamEnvelope":false,"ResponseEnvelope":false},"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceComponentRelation","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Comments":null,"Input":false,"ItemType":null,"Truncated":false,"EventStreamEnvelope":false,"Enum":null,"Discriminator":null,"Output":false,"CircularReference":null,"Extensions":{"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"Symbol":"PriceComponentRelation","x-speakeasy-trace":{"Price#create.req.price_components.dollar_relation.[]":true}}},"ResponseEnvelope":false,"ContextStack":[],"Enum":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"PriceComponentRelation","OriginalName":"PriceComponentRelation","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceComponentRelation","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"_tags","OriginalName":"_tags","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"An arbitrary set of tags attached to the composite price - component relation","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"_tags"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"entity_id","OriginalName":"entity_id","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The id of the price component","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"entity_id"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceComponentRelation","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Format":"","Output":false,"Extensions":{"x-speakeasy-trace":{"Price#create.req.price_components.dollar_relation":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true},"Name":"","Examples":[],"ResolvedModel":"","OutputLocation":"","Scope":"","Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"OriginalName":"","Fields":[],"Comments":null,"Discriminator":null,"CircularReference":null,"Type":"array","AssociatedTypes":[],"Truncated":false,"EventStreamEnvelope":false,"Input":false},"Name":"$relation","Optional":true,"Const":null,"Annotations":[{"Ignore":false,"FieldName":"$relation"}]}],"Format":"","Discriminator":null,"Examples":[],"ItemType":null,"CircularReference":null,"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Comments":{"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"A set of [price](/api/pricing#tag/simple_price_schema) components that define the composite price.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false},"AssociatedTypes":[],"Output":false,"ResolvedModel":"PriceCreate","Original":{"Name":"PriceCreate_price_components","OriginalName":"price_components","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"$relation","OriginalName":"$relation","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"PriceComponentRelation","OriginalName":"PriceComponentRelation","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceComponentRelation","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"_tags","OriginalName":"_tags","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"An arbitrary set of tags attached to the composite price - component relation","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"_tags"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"entity_id","OriginalName":"entity_id","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The id of the price component","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"entity_id"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceComponentRelation","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"$relation"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"A set of [price](/api/pricing#tag/simple_price_schema) components that define the composite price.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Enum":null},"Comments":{"DeprecationMessage":"","DeprecationReplacement":"","Description":"A set of [price](/api/pricing#tag/simple_price_schema) components that define the composite price.","ExternalDocs":null,"Summary":"","Deprecated":false},"Annotations":[{"Ignore":false,"FieldName":"price_components"}],"Optional":true,"Default":null,"Const":null,"ErrorMessage":false,"OriginalName":"price_components","Name":"price_components","Nullable":false},{"Nullable":false,"Optional":true,"OriginalName":"price_display_in_journeys","Type":{"IsComponent":false,"ItemType":null,"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","Input":false,"ResolvedModel":"PriceCreate","AssociatedTypes":[],"Comments":{"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"Defines the way the price amount is display in epilot journeys.","ExternalDocs":null},"OriginalName":"price_display_in_journeys","Enum":{"Type":{"AssociatedTypes":[],"Fields":[],"Truncated":false,"Extensions":{},"Type":"string","Comments":null,"Discriminator":null,"Scope":"","EventStreamEnvelope":false,"Examples":[],"ItemType":null,"Validations":{"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null},"IsComponent":false,"Enum":null,"Format":"","ContextStack":[],"ResponseEnvelope":false,"ResolvedModel":"","OutputLocation":"","CircularReference":null,"Name":"","Output":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OriginalName":"","Input":false},"Open":false,"Names":[],"Values":["show_price","show_as_starting_price","show_as_on_request"]},"EventStreamEnvelope":false,"Truncated":false,"CircularReference":null,"Name":"PriceCreate_price_display_in_journeys","Discriminator":null,"Fields":[],"Scope":"shared","Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null},"Extensions":{"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Price#create.req.price_display_in_journeys":true},"x-speakeasy-param-computed":true},"Examples":[],"Output":false,"ResponseEnvelope":false,"Original":{"Name":"PriceCreate_price_display_in_journeys","OriginalName":"price_display_in_journeys","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["show_price","show_as_starting_price","show_as_on_request"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"Defines the way the price amount is display in epilot journeys.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"OutputLocation":"models/shared","Format":""},"Name":"price_display_in_journeys","Default":null,"Const":null,"Comments":{"ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"Defines the way the price amount is display in epilot journeys."},"Annotations":[{"Ignore":false,"FieldName":"price_display_in_journeys"}],"IsAdditionalProperties":false,"ErrorMessage":false},{"Default":null,"Comments":{"DeprecationMessage":"","Summary":"","Description":"The price id","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":""},"IsAdditionalProperties":false,"Type":{"ContextStack":[],"Enum":null,"OriginalName":"","Examples":[{}],"CircularReference":null,"ResponseEnvelope":false,"Name":"","Comments":{"DeprecationMessage":"","Summary":"","Description":"The price id","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":""},"Format":"uuid","IsComponent":false,"Scope":"","Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The price id","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{"x-speakeasy-match":"id"},"Examples":[{}],"Format":"uuid","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Type":"string","Extensions":{"x-speakeasy-match":"id","x-speakeasy-trace":{"Price#get.req.price_id":true}},"AssociatedTypes":[],"Input":false,"Output":false,"Fields":[],"ItemType":null,"Truncated":false,"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"EventStreamEnvelope":false,"ResolvedModel":"","OutputLocation":"","Discriminator":null},"Nullable":false,"Optional":false,"Annotations":[{"Hidden":false,"ParamType":"pathParam","Name":"priceId","Serialization":"","Style":"simple","Explode":false,"FieldType":{"ResolvedModel":"","IsComponent":false,"Comments":{"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"The price id","ExternalDocs":null,"ExtendedComments":{}},"Extensions":{"x-speakeasy-match":"id"},"AssociatedTypes":[],"Enum":null,"Truncated":false,"Input":false,"Format":"uuid","Type":"string","ItemType":null,"Fields":[],"Discriminator":null,"ComplexAny":false,"EventStreamEnvelope":false,"Name":"","Scope":"","Output":false,"Examples":[{}],"OutputLocation":"","ResponseEnvelope":false,"OriginalName":"","ContextStack":[],"Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null}}}],"ErrorMessage":false,"OriginalName":"","Name":"priceId","Const":null},{"Annotations":[{"Ignore":false,"FieldName":"pricing_model"}],"OriginalName":"pricing_model","Name":"pricing_model","Nullable":false,"Optional":true,"Default":{"Value":"per_unit"},"Const":null,"Comments":{"ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"Describes how to compute the price per period. Either `per_unit`, `tiered_graduated` or `tiered_volume`.\n- `per_unit` indicates that the fixed amount (specified in unit_amount or unit_amount_decimal) will be charged per unit in quantity\n- `tiered_graduated` indicates that the unit pricing will be computed using tiers attribute. The customer pays the price per unit in every range their purchase rises through.\n- `tiered_volume` indicates that the unit pricing will be computed using tiers attribute. The customer pays the same unit price for all purchased units.\n- `tiered_flatfee` While similar to tiered_volume, tiered flat fee charges for the same price (flat) for the entire range instead using the unit price to multiply the quantity.\n"},"IsAdditionalProperties":false,"ErrorMessage":false,"Type":{"ItemType":null,"ResponseEnvelope":false,"CircularReference":null,"Original":{"Name":"PriceCreate_pricing_model","OriginalName":"pricing_model","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["per_unit","tiered_volume","tiered_graduated","tiered_flatfee"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"Describes how to compute the price per period. Either `per_unit`, `tiered_graduated` or `tiered_volume`.\n- `per_unit` indicates that the fixed amount (specified in unit_amount or unit_amount_decimal) will be charged per unit in quantity\n- `tiered_graduated` indicates that the unit pricing will be computed using tiers attribute. The customer pays the price per unit in every range their purchase rises through.\n- `tiered_volume` indicates that the unit pricing will be computed using tiers attribute. The customer pays the same unit price for all purchased units.\n- `tiered_flatfee` While similar to tiered_volume, tiered flat fee charges for the same price (flat) for the entire range instead using the unit price to multiply the quantity.\n","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Name":"PriceCreate_pricing_model","AssociatedTypes":[],"Comments":{"DeprecationMessage":"","Summary":"","Description":"Describes how to compute the price per period. Either `per_unit`, `tiered_graduated` or `tiered_volume`.\n- `per_unit` indicates that the fixed amount (specified in unit_amount or unit_amount_decimal) will be charged per unit in quantity\n- `tiered_graduated` indicates that the unit pricing will be computed using tiers attribute. The customer pays the price per unit in every range their purchase rises through.\n- `tiered_volume` indicates that the unit pricing will be computed using tiers attribute. The customer pays the same unit price for all purchased units.\n- `tiered_flatfee` While similar to tiered_volume, tiered flat fee charges for the same price (flat) for the entire range instead using the unit price to multiply the quantity.\n","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":""},"Type":"enum","IsComponent":false,"Validations":{"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null},"OutputLocation":"models/shared","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Fields":[],"Output":false,"EventStreamEnvelope":false,"ResolvedModel":"PriceCreate","OriginalName":"pricing_model","Discriminator":null,"Examples":[],"Input":false,"Enum":{"Type":{"CircularReference":null,"Type":"string","Discriminator":null,"Name":"","ItemType":null,"Truncated":false,"EventStreamEnvelope":false,"ContextStack":[],"Fields":[],"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OriginalName":"","Extensions":{},"Examples":[],"Output":false,"Input":false,"ResponseEnvelope":false,"AssociatedTypes":[],"Format":"","IsComponent":false,"ResolvedModel":"","Enum":null,"Comments":null,"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"OutputLocation":"","Scope":""},"Open":false,"Names":[],"Values":["per_unit","tiered_volume","tiered_graduated","tiered_flatfee"]},"Truncated":false,"Extensions":{"x-speakeasy-trace":{"Price#create.req.pricing_model":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Format":"","Scope":"shared"}},{"Comments":{"Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"The renewal period duration","ExternalDocs":null,"Summary":""},"Name":"renewal_duration_amount","Default":null,"Nullable":false,"Optional":true,"Const":null,"Annotations":[{"Ignore":false,"FieldName":"renewal_duration_amount"}],"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"renewal_duration_amount","Type":{"OriginalName":"","ItemType":null,"Scope":"","ResolvedModel":"","Output":false,"ResponseEnvelope":false,"Type":"number","Discriminator":null,"Fields":[],"Input":false,"CircularReference":null,"Name":"","Truncated":false,"Extensions":{"x-speakeasy-trace":{"Price#create.req.renewal_duration_amount":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Enum":null,"Comments":null,"Format":"","Validations":{"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null},"EventStreamEnvelope":false,"ContextStack":[],"AssociatedTypes":[],"Examples":[],"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OutputLocation":"","IsComponent":false}},{"OriginalName":"renewal_duration_unit","Type":{"Format":"","OutputLocation":"models/shared","Enum":{"Type":{"Fields":[],"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Type":"string","Extensions":{},"Comments":null,"Truncated":false,"CircularReference":null,"IsComponent":false,"ResponseEnvelope":false,"ResolvedModel":"","OriginalName":"","Format":"","Output":false,"Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"ContextStack":[],"Enum":null,"Discriminator":null,"Examples":[],"ItemType":null,"Scope":"","EventStreamEnvelope":false,"OutputLocation":"","Name":"","AssociatedTypes":[],"Input":false},"Open":false,"Names":[],"Values":["weeks","months","years"]},"Original":{"Name":"PriceCreate_renewal_duration_unit","OriginalName":"renewal_duration_unit","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["weeks","months","years"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The renewal period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Input":false,"ItemType":null,"EventStreamEnvelope":false,"Name":"PriceCreate_renewal_duration_unit","Comments":{"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"The renewal period duration unit","ExternalDocs":null,"ExtendedComments":{}},"Validations":{"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null},"CircularReference":null,"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","Output":false,"ResolvedModel":"PriceCreate","OriginalName":"renewal_duration_unit","IsComponent":false,"Scope":"shared","Extensions":{"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Price#create.req.renewal_duration_unit":true},"x-speakeasy-param-computed":true,"x-untouched":true},"Discriminator":null,"Examples":[],"Fields":[],"Truncated":false,"ResponseEnvelope":false,"AssociatedTypes":[]},"Name":"renewal_duration_unit","Nullable":false,"Optional":true,"Default":null,"Comments":{"DeprecationMessage":"","DeprecationReplacement":"","Description":"The renewal period duration unit","ExternalDocs":null,"Summary":"","Deprecated":false},"Const":null,"Annotations":[{"Ignore":false,"FieldName":"renewal_duration_unit"}],"IsAdditionalProperties":false,"ErrorMessage":false},{"Annotations":[{"Ignore":false,"FieldName":"tax"}],"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"tax","Nullable":false,"Optional":true,"Default":null,"Const":null,"Comments":null,"Type":{"ResponseEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"any","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"ItemType":null,"Validations":{"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null},"Name":"","Fields":[],"Enum":null,"AssociatedTypes":[],"Discriminator":null,"IsComponent":false,"OutputLocation":"","Extensions":{"x-speakeasy-trace":{"Price#create.req.tax":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Scope":"","CircularReference":null,"OriginalName":"","ContextStack":[],"Examples":[],"Truncated":false,"EventStreamEnvelope":false,"Format":"","Type":"any","Comments":null,"Input":false,"Output":false,"ResolvedModel":""},"Name":"tax"},{"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"termination_time_amount","Type":{"Scope":"","Validations":{"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null},"ItemType":null,"ResolvedModel":"","OriginalName":"","Truncated":false,"CircularReference":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Discriminator":null,"Examples":[],"Input":false,"EventStreamEnvelope":false,"OutputLocation":"","AssociatedTypes":[],"ContextStack":[],"Extensions":{"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Price#create.req.termination_time_amount":true}},"Fields":[],"Format":"","Enum":null,"ResponseEnvelope":false,"Name":"","Type":"number","Comments":null,"IsComponent":false,"Output":false},"Nullable":false,"Optional":true,"Annotations":[{"Ignore":false,"FieldName":"termination_time_amount"}],"Name":"termination_time_amount","Default":null,"Const":null,"Comments":{"Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"The termination period duration","ExternalDocs":null,"Summary":""}},{"ErrorMessage":false,"OriginalName":"termination_time_unit","Type":{"Discriminator":null,"Examples":[],"Fields":[],"ResponseEnvelope":false,"Format":"","CircularReference":null,"Original":{"Name":"PriceCreate_termination_time_unit","OriginalName":"termination_time_unit","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["weeks","months","years"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The termination period duration unit","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"EventStreamEnvelope":false,"Comments":{"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"The termination period duration unit","ExternalDocs":null,"ExtendedComments":{}},"ItemType":null,"OriginalName":"termination_time_unit","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Name":"PriceCreate_termination_time_unit","Type":"enum","Enum":{"Values":["weeks","months","years"],"Type":{"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"ContextStack":[],"Name":"","Scope":"","CircularReference":null,"Examples":[],"Output":false,"EventStreamEnvelope":false,"ResolvedModel":"","AssociatedTypes":[],"Discriminator":null,"OutputLocation":"","Type":"string","Comments":null,"Input":false,"IsComponent":false,"Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null},"ResponseEnvelope":false,"OriginalName":"","Format":"","Truncated":false,"Extensions":{},"Enum":null,"Fields":[],"ItemType":null},"Open":false,"Names":[]},"AssociatedTypes":[],"Scope":"shared","Input":false,"IsComponent":false,"Truncated":false,"Output":false,"Validations":{"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null},"ResolvedModel":"PriceCreate","OutputLocation":"models/shared","Extensions":{"x-speakeasy-trace":{"Price#create.req.termination_time_unit":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true}},"Nullable":false,"Optional":true,"Comments":{"Description":"The termination period duration unit","ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":""},"Name":"termination_time_unit","Default":null,"Const":null,"Annotations":[{"Ignore":false,"FieldName":"termination_time_unit"}],"IsAdditionalProperties":false},{"Name":"tiers","Nullable":false,"Const":null,"Annotations":[{"Ignore":false,"FieldName":"tiers"}],"Comments":{"DeprecationReplacement":"","Description":"Defines an array of tiers. Each tier has an upper bound, an unit amount and a flat fee.\n","ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":""},"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"tiers","Type":{"ResponseEnvelope":false,"Extensions":{"x-speakeasy-trace":{"Price#create.req.tiers":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true},"CircularReference":null,"EventStreamEnvelope":false,"OriginalName":"","Name":"","Enum":null,"IsComponent":false,"ItemType":{"ResponseEnvelope":false,"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceTier","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Discriminator":null,"Output":false,"Original":{"Name":"PriceTier","OriginalName":"PriceTier","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceTier","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"display_mode","OriginalName":"display_mode","Type":{"Name":"PriceTierDisplayMode","OriginalName":"PriceTierDisplayMode","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceTierDisplayMode","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["hidden","on_request"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceTierDisplayMode","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"display_mode"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"flat_fee_amount","OriginalName":"flat_fee_amount","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"flat_fee_amount"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"flat_fee_amount_decimal","OriginalName":"flat_fee_amount_decimal","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"flat_fee_amount_decimal"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"unit_amount","OriginalName":"unit_amount","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"unit_amount"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"unit_amount_decimal","OriginalName":"unit_amount_decimal","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"unit_amount_decimal"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"up_to","OriginalName":"up_to","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"up_to"}],"Nullable":true,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceTier","EventStreamEnvelope":false,"ResponseEnvelope":false},"Type":"class","AssociatedTypes":[],"Format":"","Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null},"ResolvedModel":"PriceTier","Extensions":{"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"Symbol":"PriceTier","x-speakeasy-trace":{"Price#create.req.tiers.[]":true}},"Examples":[],"CircularReference":null,"OutputLocation":"models/shared","Fields":[{"Default":null,"Const":null,"Comments":null,"OriginalName":"display_mode","Type":{"Scope":"shared","ResolvedModel":"PriceTierDisplayMode","Enum":{"Type":{"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Output":false,"Truncated":false,"Type":"string","AssociatedTypes":[],"Examples":[],"ContextStack":[],"Name":"","Enum":null,"Fields":[],"ResponseEnvelope":false,"OutputLocation":"","IsComponent":false,"EventStreamEnvelope":false,"Discriminator":null,"Format":"","Input":false,"Scope":"","CircularReference":null,"OriginalName":"","Extensions":{},"Comments":null,"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"ResolvedModel":"","ItemType":null},"Open":false,"Names":[],"Values":["hidden","on_request"]},"Type":"enum","Extensions":{"x-speakeasy-trace":{"Price#create.req.tiers.[].display_mode":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true},"Examples":[],"Truncated":false,"OriginalName":"PriceTierDisplayMode","IsComponent":true,"Output":false,"EventStreamEnvelope":false,"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceTierDisplayMode","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Format":"","Input":false,"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"Name":"PriceTierDisplayMode","Discriminator":null,"Fields":[],"ItemType":null,"CircularReference":null,"ResponseEnvelope":false,"AssociatedTypes":[],"OutputLocation":"models/shared","Comments":null,"Original":{"Name":"PriceTierDisplayMode","OriginalName":"PriceTierDisplayMode","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceTierDisplayMode","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["hidden","on_request"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceTierDisplayMode","EventStreamEnvelope":false,"ResponseEnvelope":false}},"Name":"display_mode","IsAdditionalProperties":false,"ErrorMessage":false,"Nullable":false,"Optional":true,"Annotations":[{"Ignore":false,"FieldName":"display_mode"}]},{"Const":null,"IsAdditionalProperties":false,"OriginalName":"flat_fee_amount","Type":{"CircularReference":null,"Discriminator":null,"Format":"","ContextStack":[],"ResolvedModel":"","Name":"","AssociatedTypes":[],"OutputLocation":"","Comments":null,"ResponseEnvelope":false,"Output":false,"Scope":"","Truncated":false,"EventStreamEnvelope":false,"Examples":[],"Enum":null,"IsComponent":false,"ItemType":null,"OriginalName":"","Type":"number","Extensions":{"x-speakeasy-trace":{"Price#create.req.tiers.[].flat_fee_amount":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true},"Fields":[],"Input":false,"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false}},"Name":"flat_fee_amount","Optional":true,"Default":null,"Nullable":false,"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"flat_fee_amount"}],"ErrorMessage":false},{"OriginalName":"flat_fee_amount_decimal","Nullable":false,"Const":null,"Comments":null,"ErrorMessage":false,"Type":{"Input":false,"CircularReference":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Examples":[],"Extensions":{"x-speakeasy-parent-require-to-not-null":true,"x-speakeasy-trace":{"Price#create.req.tiers.[].flat_fee_amount_decimal":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"IsComponent":false,"Discriminator":null,"Scope":"","EventStreamEnvelope":false,"ContextStack":[],"Type":"string","OriginalName":"","Format":"","ResponseEnvelope":false,"ResolvedModel":"","Name":"","Enum":null,"AssociatedTypes":[],"Fields":[],"Truncated":false,"OutputLocation":"","ItemType":null,"Output":false,"Validations":{"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null},"Comments":null},"Name":"flat_fee_amount_decimal","Optional":true,"Default":null,"Annotations":[{"Ignore":false,"FieldName":"flat_fee_amount_decimal"}],"IsAdditionalProperties":false},{"Type":{"Fields":[],"CircularReference":null,"ResponseEnvelope":false,"ResolvedModel":"","OriginalName":"","Discriminator":null,"IsComponent":false,"EventStreamEnvelope":false,"Examples":[],"Input":false,"Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Enum":null,"Comments":null,"ItemType":null,"AssociatedTypes":[],"ContextStack":[],"Name":"","Scope":"","Truncated":false,"Type":"number","Extensions":{"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"x-speakeasy-trace":{"Price#create.req.tiers.[].unit_amount":true},"x-speakeasy-param-computed":true},"Format":"","OutputLocation":"","Output":false},"Name":"unit_amount","Const":null,"Comments":null,"OriginalName":"unit_amount","Optional":true,"Default":null,"Annotations":[{"Ignore":false,"FieldName":"unit_amount"}],"IsAdditionalProperties":false,"ErrorMessage":false,"Nullable":false},{"Name":"unit_amount_decimal","Nullable":false,"Optional":true,"Const":null,"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"unit_amount_decimal"}],"OriginalName":"unit_amount_decimal","Type":{"ResolvedModel":"","OutputLocation":"","Enum":null,"IsComponent":false,"ItemType":null,"Name":"","AssociatedTypes":[],"Discriminator":null,"Fields":[],"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OriginalName":"","Scope":"","EventStreamEnvelope":false,"Output":false,"CircularReference":null,"Extensions":{"x-speakeasy-trace":{"Price#create.req.tiers.[].unit_amount_decimal":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true},"Comments":null,"ContextStack":[],"Format":"","Input":false,"Truncated":false,"ResponseEnvelope":false,"Type":"string","Examples":[],"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null}},"Default":null,"IsAdditionalProperties":false,"ErrorMessage":false},{"Default":null,"Const":null,"Comments":null,"ErrorMessage":false,"Optional":true,"Type":{"Name":"","Enum":null,"Examples":[],"Fields":[],"EventStreamEnvelope":false,"ResponseEnvelope":false,"OriginalName":"","ContextStack":[],"ResolvedModel":"","OutputLocation":"","ItemType":null,"Output":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Type":"number","IsComponent":false,"Scope":"","Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"Extensions":{"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"x-speakeasy-trace":{"Price#create.req.tiers.[].up_to":true}},"CircularReference":null,"Input":false,"AssociatedTypes":[],"Comments":null,"Discriminator":null,"Format":"","Truncated":false},"Name":"up_to","Nullable":true,"Annotations":[{"Ignore":false,"FieldName":"up_to"}],"IsAdditionalProperties":false,"OriginalName":"up_to"}],"Truncated":false,"Enum":null,"Comments":null,"IsComponent":true,"OriginalName":"PriceTier","Input":false,"Name":"PriceTier","ItemType":null,"EventStreamEnvelope":false,"Scope":"shared"},"ResolvedModel":"","Type":"array","Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"PriceTier","OriginalName":"PriceTier","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceTier","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"display_mode","OriginalName":"display_mode","Type":{"Name":"PriceTierDisplayMode","OriginalName":"PriceTierDisplayMode","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceTierDisplayMode","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["hidden","on_request"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceTierDisplayMode","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"display_mode"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"flat_fee_amount","OriginalName":"flat_fee_amount","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"flat_fee_amount"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"flat_fee_amount_decimal","OriginalName":"flat_fee_amount_decimal","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"flat_fee_amount_decimal"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"unit_amount","OriginalName":"unit_amount","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"unit_amount"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"unit_amount_decimal","OriginalName":"unit_amount_decimal","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"unit_amount_decimal"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"up_to","OriginalName":"up_to","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"up_to"}],"Nullable":true,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceTier","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"ContextStack":[],"Format":"","Output":false,"Scope":"","Truncated":false,"Input":false,"Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null},"AssociatedTypes":[],"Comments":null,"Discriminator":null,"Examples":[],"Fields":[],"OutputLocation":""},"Optional":true,"Default":null},{"Annotations":[{"Ignore":false,"FieldName":"type"}],"IsAdditionalProperties":false,"Type":{"OriginalName":"type","Truncated":false,"EventStreamEnvelope":false,"ResponseEnvelope":false,"AssociatedTypes":[],"Comments":{"ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase."},"OutputLocation":"models/shared","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Name":"PriceCreate_type","Discriminator":null,"ItemType":null,"Output":false,"Enum":{"Type":{"Input":false,"ItemType":null,"Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null},"ContextStack":[],"AssociatedTypes":[],"Truncated":false,"EventStreamEnvelope":false,"ResponseEnvelope":false,"Discriminator":null,"Format":"","Extensions":{},"Examples":[],"OriginalName":"","Name":"","IsComponent":false,"OutputLocation":"","CircularReference":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Output":false,"Scope":"","ResolvedModel":"","Type":"string","Enum":null,"Comments":null,"Fields":[]},"Open":false,"Names":[],"Values":["one_time","recurring"]},"Fields":[],"Input":false,"ResolvedModel":"PriceCreate","IsComponent":false,"Scope":"shared","Type":"enum","Extensions":{"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Price#create.req.type":true}},"Examples":[],"Format":"","CircularReference":null,"Original":{"Name":"PriceCreate_type","OriginalName":"type","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"PriceCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["one_time","recurring"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"PriceCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null}},"Name":"type","Optional":true,"Default":{"Value":"one_time"},"Const":null,"Comments":{"DeprecationReplacement":"","Description":"One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.","ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":""},"OriginalName":"type","Nullable":false,"ErrorMessage":false},{"OriginalName":"unit","Optional":true,"Default":null,"Comments":{"Summary":"","Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"The unit of measurement used for display purposes and possibly for calculations when the price is variable.","ExternalDocs":null},"ErrorMessage":false,"Type":{"Truncated":false,"Output":false,"OriginalName":"","Enum":null,"AssociatedTypes":[],"Scope":"","Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"ResponseEnvelope":false,"CircularReference":null,"Type":"string","ContextStack":[],"Extensions":{"x-speakeasy-trace":{"Price#create.req.unit":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Comments":null,"Discriminator":null,"Format":"","ResolvedModel":"","OutputLocation":"","IsComponent":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"ItemType":null,"EventStreamEnvelope":false,"Examples":[],"Fields":[],"Input":false,"Name":""},"Name":"unit","Nullable":false,"Const":null,"Annotations":[{"Ignore":false,"FieldName":"unit"}],"IsAdditionalProperties":false},{"Const":null,"Comments":{"Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"The unit amount in cents to be charged, represented as a whole integer if possible.","ExternalDocs":null,"Summary":""},"ErrorMessage":false,"Name":"unit_amount","Type":{"OriginalName":"","EventStreamEnvelope":false,"OutputLocation":"","Name":"","AssociatedTypes":[],"Comments":null,"Type":"number","Discriminator":null,"ItemType":null,"CircularReference":null,"ResponseEnvelope":false,"Format":"","Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null},"Fields":[],"ContextStack":[],"Enum":null,"Examples":[],"IsComponent":false,"Output":false,"Scope":"","ResolvedModel":"","Extensions":{"x-speakeasy-trace":{"Price#create.req.unit_amount":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Input":false,"Truncated":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"number","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false}},"Nullable":false,"Optional":true,"Default":null,"Annotations":[{"Ignore":false,"FieldName":"unit_amount"}],"IsAdditionalProperties":false,"OriginalName":"unit_amount"},{"OriginalName":"unit_amount_currency","Name":"unit_amount_currency","Default":null,"Annotations":[{"Ignore":false,"FieldName":"unit_amount_currency"}],"ErrorMessage":false,"Type":{"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[{}],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Extensions":{"x-speakeasy-trace":{"Price#create.req.unit_amount_currency":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Enum":null,"Input":false,"ItemType":null,"Scope":"","ResolvedModel":"","AssociatedTypes":[],"Discriminator":null,"EventStreamEnvelope":false,"Name":"","OutputLocation":"","Truncated":false,"CircularReference":null,"Type":"string","Comments":null,"IsComponent":false,"Format":"","Output":false,"ContextStack":[],"Examples":[{}],"Fields":[],"Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"ResponseEnvelope":false,"OriginalName":""},"Nullable":false,"Optional":true,"Const":null,"Comments":{"DeprecationMessage":"","DeprecationReplacement":"","Description":"Three-letter ISO currency code, in lowercase.","ExternalDocs":null,"Summary":"","Deprecated":false},"IsAdditionalProperties":false},{"Name":"unit_amount_decimal","Nullable":false,"Optional":true,"Default":null,"IsAdditionalProperties":false,"OriginalName":"unit_amount_decimal","Type":{"EventStreamEnvelope":false,"Examples":[],"IsComponent":false,"OriginalName":"","Output":false,"Name":"","Type":"string","AssociatedTypes":[],"OutputLocation":"","Discriminator":null,"Input":false,"CircularReference":null,"ResolvedModel":"","Comments":null,"Fields":[],"ItemType":null,"Truncated":false,"Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null},"Format":"","ResponseEnvelope":false,"ContextStack":[],"Enum":null,"Scope":"","Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Extensions":{"x-speakeasy-trace":{"Price#create.req.unit_amount_decimal":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true}},"Annotations":[{"Ignore":false,"FieldName":"unit_amount_decimal"}],"ErrorMessage":false,"Const":null,"Comments":{"ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"The unit amount in cents to be charged, represented as a decimal string with at most 12 decimal places."}},{"Type":{"Truncated":false,"EventStreamEnvelope":false,"Enum":null,"Format":"","Input":false,"Scope":"","Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"Name":"","Examples":[],"IsComponent":false,"Output":false,"Comments":null,"OriginalName":"","ContextStack":[],"ResponseEnvelope":false,"Fields":[],"ResolvedModel":"","OutputLocation":"","Type":"boolean","Extensions":{"x-speakeasy-trace":{"Price#create.req.variable_price":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Discriminator":null,"AssociatedTypes":[],"ItemType":null,"CircularReference":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false}},"Name":"variable_price","ErrorMessage":false,"Const":null,"Comments":{"Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"The flag for prices that can be influenced by external variables such as user input.","ExternalDocs":null,"Summary":""},"Annotations":[{"Ignore":false,"FieldName":"variable_price"}],"IsAdditionalProperties":false,"OriginalName":"variable_price","Nullable":false,"Optional":true,"Default":{"Value":false}}],"Type":"class"} + // {"EventStreamEnvelope":false,"Name":"","Enum":null,"Comments":{"Description":"Hydrates entities in relations when passed true","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":""},"Examples":[],"Format":"","Truncated":false,"Validations":{"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null},"Discriminator":null,"ItemType":null,"CircularReference":null,"ContextStack":[],"Fields":[],"Input":false,"IsComponent":false,"Extensions":{},"AssociatedTypes":[],"ResponseEnvelope":false,"Type":"boolean","Output":false,"Scope":"","ResolvedModel":"","Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"Hydrates entities in relations when passed true","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OutputLocation":"","OriginalName":""} var hydrate *bool priceID := data.ID.ValueString() request := operations.GetPriceRequest{ diff --git a/internal/provider/price_resource_sdk.go b/internal/provider/price_resource_sdk.go index 335691a..e4975a7 100644 --- a/internal/provider/price_resource_sdk.go +++ b/internal/provider/price_resource_sdk.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package provider diff --git a/internal/provider/product_data_source.go b/internal/provider/product_data_source.go index 1d3d13f..4246eb1 100644 --- a/internal/provider/product_data_source.go +++ b/internal/provider/product_data_source.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package provider diff --git a/internal/provider/product_data_source_sdk.go b/internal/provider/product_data_source_sdk.go index 4034029..d92400e 100644 --- a/internal/provider/product_data_source_sdk.go +++ b/internal/provider/product_data_source_sdk.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package provider diff --git a/internal/provider/product_resource.go b/internal/provider/product_resource.go index 54329c2..d96e784 100644 --- a/internal/provider/product_resource.go +++ b/internal/provider/product_resource.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package provider @@ -236,8 +236,8 @@ func (r *ProductResource) Read(ctx context.Context, req resource.ReadRequest, re } // read.product.hydrateread.product.hydrate impedance mismatch: "boolean" != "class"trace=["Product#create.req"] - // {"Extensions":{"x-speakeasy-entity":"Product","x-speakeasy-trace":{"Product#create.req":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get-request":true,"x-speakeasy-in-get":true,"x-speakeasy-root":true},"Examples":[],"IsComponent":true,"Output":false,"Type":"class","Input":false,"Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null},"EventStreamEnvelope":false,"Original":{"Name":"ProductCreate","OriginalName":"ProductCreate","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"ProductCreate","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"active","OriginalName":"active","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"active"}],"Nullable":false,"Optional":false,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"code","OriginalName":"code","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The product code","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"code"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"description","OriginalName":"description","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"A description of the product. Multi-line supported.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"description"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"feature","OriginalName":"feature","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"any","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"feature"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"internal_name","OriginalName":"internal_name","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"Not visible to customers, only in internal tables","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"internal_name"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"name","OriginalName":"name","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The description for the product","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"name"}],"Nullable":false,"Optional":false,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"price_options","OriginalName":"price_options","Type":{"Name":"BaseRelation","OriginalName":"BaseRelation","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"BaseRelation","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"$relation","OriginalName":"$relation","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"$relation","OriginalName":"$relation","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"BaseRelation","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"_tags","OriginalName":"_tags","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"_tags"}],"Nullable":true,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"entity_id","OriginalName":"entity_id","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[{}],"Format":"uuid","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"entity_id"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"BaseRelation","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"$relation"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"BaseRelation","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"price_options"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"product_downloads","OriginalName":"product_downloads","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"any","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"product_downloads"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"product_images","OriginalName":"product_images","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"any","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"product_images"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"type","OriginalName":"type","Type":{"Name":"ProductCreate_type","OriginalName":"type","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"ProductCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["product","service"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The type of Product:\n\n| type | description |\n|----| ----|\n| `product` | Represents a physical good |\n| `service` | Represents a service or virtual product |\n","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"ProductCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The type of Product:\n\n| type | description |\n|----| ----|\n| `product` | Represents a physical good |\n| `service` | Represents a service or virtual product |\n","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"type"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":{"Value":"product"},"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{"x-speakeasy-entity":"Product"},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"ProductCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"AssociatedTypes":[],"Truncated":false,"OriginalName":"ProductCreate","OutputLocation":"models/shared","Discriminator":null,"CircularReference":null,"ResponseEnvelope":false,"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"ProductCreate","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Format":"","ItemType":null,"Scope":"shared","ResolvedModel":"ProductCreate","Name":"Product","Enum":null,"Comments":null,"Fields":[{"Nullable":false,"Default":null,"Const":null,"IsAdditionalProperties":false,"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"_id"}],"ErrorMessage":false,"OriginalName":"_id","Type":{"OriginalName":"","Extensions":{"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-param-readonly":true,"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Product#create.resp.id":true}},"Fields":[],"CircularReference":null,"EventStreamEnvelope":false,"Examples":[{}],"Format":"uuid","ContextStack":[],"Name":"","Output":false,"ResponseEnvelope":false,"AssociatedTypes":[],"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[{}],"Format":"uuid","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OutputLocation":"","Discriminator":null,"Scope":"","ResolvedModel":"","Type":"string","Comments":null,"Input":false,"Truncated":false,"Enum":null,"IsComponent":false,"ItemType":null,"Validations":{"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null}},"Name":"_id","Optional":false},{"Annotations":[{"Ignore":false,"FieldName":"active"}],"OriginalName":"active","Nullable":false,"Default":null,"Const":null,"Comments":null,"Type":{"ResponseEnvelope":false,"AssociatedTypes":[],"Format":"","Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OutputLocation":"","Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"ResolvedModel":"","Name":"","Comments":null,"Discriminator":null,"Truncated":false,"CircularReference":null,"Extensions":{"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Product#create.req.active":true},"x-speakeasy-param-computed":true,"x-untouched":true},"Fields":[],"EventStreamEnvelope":false,"OriginalName":"","Examples":[],"IsComponent":false,"ItemType":null,"Scope":"","ContextStack":[],"Type":"boolean","Enum":null,"Input":false,"Output":false},"Name":"active","Optional":false,"IsAdditionalProperties":false,"ErrorMessage":false},{"OriginalName":"code","Name":"code","Optional":true,"Default":null,"Comments":{"DeprecationMessage":"","DeprecationReplacement":"","Description":"The product code","ExternalDocs":null,"Summary":"","Deprecated":false},"ErrorMessage":false,"Type":{"ResolvedModel":"","ContextStack":[],"Output":false,"Type":"string","IsComponent":false,"ItemType":null,"Enum":null,"Format":"","Input":false,"Truncated":false,"Scope":"","Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"CircularReference":null,"EventStreamEnvelope":false,"OriginalName":"","OutputLocation":"","Extensions":{"x-speakeasy-trace":{"Product#create.req.code":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Discriminator":null,"Name":"","AssociatedTypes":[],"Fields":[],"Comments":null,"ResponseEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Examples":[]},"Nullable":false,"Const":null,"Annotations":[{"Ignore":false,"FieldName":"code"}],"IsAdditionalProperties":false},{"Type":{"ResolvedModel":"","OutputLocation":"","Type":"string","AssociatedTypes":[],"EventStreamEnvelope":false,"Scope":"","Name":"","CircularReference":null,"Discriminator":null,"IsComponent":false,"Validations":{"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null},"ResponseEnvelope":false,"OriginalName":"","Output":false,"Extensions":{"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Product#create.req.description":true},"x-speakeasy-param-computed":true,"x-untouched":true},"Comments":null,"Fields":[],"ItemType":null,"ContextStack":[],"Examples":[],"Format":"","Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Enum":null,"Input":false,"Truncated":false},"Optional":true,"Const":null,"Comments":{"Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"A description of the product. Multi-line supported.","ExternalDocs":null,"Summary":""},"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"description","Name":"description","Nullable":false,"Default":null,"Annotations":[{"Ignore":false,"FieldName":"description"}]},{"Comments":null,"IsAdditionalProperties":false,"ErrorMessage":false,"Nullable":false,"Optional":true,"Default":null,"Const":null,"Annotations":[{"FieldName":"feature","Ignore":false}],"OriginalName":"feature","Type":{"EventStreamEnvelope":false,"Extensions":{"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"x-speakeasy-trace":{"Product#create.req.feature":true}},"Input":false,"ResolvedModel":"","ResponseEnvelope":false,"Discriminator":null,"Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null},"Type":"array","Examples":[],"IsComponent":false,"ItemType":{"ContextStack":[],"Comments":null,"Discriminator":null,"ResponseEnvelope":false,"OriginalName":"","Input":false,"Fields":[],"CircularReference":null,"EventStreamEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"any","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Type":"any","AssociatedTypes":[],"Examples":[],"ResolvedModel":"","Extensions":{"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"Symbol":"Feature","x-speakeasy-trace":{"Product#create.req.feature.[]":true},"x-speakeasy-param-computed":true,"x-untouched":true},"Format":"","IsComponent":false,"Name":"","Truncated":false,"Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null},"OutputLocation":"","Enum":null,"Output":false,"ItemType":null,"Scope":""},"Scope":"","OriginalName":"","Fields":[],"Output":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"any","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"AssociatedTypes":[],"OutputLocation":"","ContextStack":[],"Name":"","Enum":null,"Format":"","Comments":null,"Truncated":false,"CircularReference":null},"Name":"feature"},{"Nullable":false,"Optional":true,"IsAdditionalProperties":false,"Const":null,"Comments":{"Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"Not visible to customers, only in internal tables","ExternalDocs":null,"Summary":""},"Annotations":[{"Ignore":false,"FieldName":"internal_name"}],"ErrorMessage":false,"OriginalName":"internal_name","Type":{"Type":"string","Enum":null,"OriginalName":"","Fields":[],"ResolvedModel":"","OutputLocation":"","Extensions":{"x-speakeasy-trace":{"Product#create.req.internal_name":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"IsComponent":false,"Output":false,"Scope":"","Examples":[],"Input":false,"CircularReference":null,"ContextStack":[],"AssociatedTypes":[],"Comments":null,"Truncated":false,"EventStreamEnvelope":false,"ResponseEnvelope":false,"Validations":{"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null},"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Name":"","Format":"","Discriminator":null,"ItemType":null},"Name":"internal_name","Default":null},{"ErrorMessage":false,"OriginalName":"name","Type":{"Input":false,"IsComponent":false,"Examples":[],"Format":"","ContextStack":[],"Discriminator":null,"Fields":[],"ItemType":null,"Output":false,"ResponseEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OutputLocation":"","Type":"string","Truncated":false,"ResolvedModel":"","Name":"","Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null},"Scope":"","CircularReference":null,"OriginalName":"","AssociatedTypes":[],"EventStreamEnvelope":false,"Comments":null,"Extensions":{"x-speakeasy-trace":{"Product#create.req.name":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Enum":null},"Nullable":false,"Optional":false,"Comments":{"Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"The description for the product","ExternalDocs":null,"Summary":""},"Annotations":[{"Ignore":false,"FieldName":"name"}],"IsAdditionalProperties":false,"Name":"name","Default":null,"Const":null},{"Type":{"ResponseEnvelope":false,"Truncated":false,"ResolvedModel":"BaseRelation","IsComponent":true,"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"BaseRelation","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Input":false,"ItemType":null,"EventStreamEnvelope":false,"OutputLocation":"models/shared","Name":"BaseRelation","Discriminator":null,"Extensions":{"Symbol":"BaseRelation","x-speakeasy-trace":{"Product#create.req.price_options":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true},"Enum":null,"Comments":null,"Examples":[],"Format":"","OriginalName":"BaseRelation","Original":{"Name":"BaseRelation","OriginalName":"BaseRelation","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"BaseRelation","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"$relation","OriginalName":"$relation","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"$relation","OriginalName":"$relation","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"BaseRelation","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"_tags","OriginalName":"_tags","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"_tags"}],"Nullable":true,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"entity_id","OriginalName":"entity_id","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[{}],"Format":"uuid","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"entity_id"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"BaseRelation","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"$relation"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"BaseRelation","EventStreamEnvelope":false,"ResponseEnvelope":false},"Type":"class","AssociatedTypes":[],"CircularReference":null,"Fields":[{"OriginalName":"$relation","Type":{"Discriminator":null,"Examples":[],"Output":false,"CircularReference":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"$relation","OriginalName":"$relation","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"BaseRelation","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"_tags","OriginalName":"_tags","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"_tags"}],"Nullable":true,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"entity_id","OriginalName":"entity_id","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[{}],"Format":"uuid","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"entity_id"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"BaseRelation","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Name":"","Type":"array","OriginalName":"","Fields":[],"ResolvedModel":"","AssociatedTypes":[],"IsComponent":false,"Validations":{"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null},"EventStreamEnvelope":false,"OutputLocation":"","ContextStack":[],"Comments":null,"Extensions":{"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"x-speakeasy-trace":{"Product#create.req.price_options.dollar_relation":true}},"Input":false,"ItemType":{"ResponseEnvelope":false,"ItemType":null,"Original":{"Name":"$relation","OriginalName":"$relation","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"BaseRelation","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"_tags","OriginalName":"_tags","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"_tags"}],"Nullable":true,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"entity_id","OriginalName":"entity_id","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[{}],"Format":"uuid","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"entity_id"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"BaseRelation","EventStreamEnvelope":false,"ResponseEnvelope":false},"Enum":null,"AssociatedTypes":[],"Examples":[],"Format":"","Output":false,"CircularReference":null,"EventStreamEnvelope":false,"OutputLocation":"models/shared","Type":"class","Comments":null,"Input":false,"Scope":"shared","ResolvedModel":"BaseRelation","Fields":[{"IsAdditionalProperties":false,"Type":{"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OutputLocation":"","Input":false,"ResolvedModel":"","Extensions":{"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"x-speakeasy-trace":{"Product#create.req.price_options.dollar_relation.[].tags":true},"x-speakeasy-param-computed":true},"Enum":null,"Scope":"","Truncated":false,"CircularReference":null,"Discriminator":null,"Format":"","ItemType":{"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OriginalName":"","Format":"","Scope":"","EventStreamEnvelope":false,"OutputLocation":"","Examples":[],"Fields":[],"Input":false,"CircularReference":null,"ResolvedModel":"","Output":false,"Discriminator":null,"IsComponent":false,"ResponseEnvelope":false,"Extensions":{"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"Symbol":"Tags","x-speakeasy-trace":{"Product#create.req.price_options.dollar_relation.[].tags.[]":true},"x-speakeasy-param-computed":true},"Enum":null,"Name":"","ContextStack":[],"AssociatedTypes":[],"Comments":null,"Truncated":false,"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"Type":"string","ItemType":null},"EventStreamEnvelope":false,"ContextStack":[],"AssociatedTypes":[],"Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"Comments":null,"Output":false,"ResponseEnvelope":false,"Name":"","IsComponent":false,"Type":"array","Fields":[],"OriginalName":"","Examples":[]},"Nullable":true,"Optional":true,"Default":null,"Comments":null,"OriginalName":"_tags","Name":"_tags","Const":null,"Annotations":[{"Ignore":false,"FieldName":"_tags"}],"ErrorMessage":false},{"Type":{"Format":"uuid","Input":false,"Output":false,"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"ResolvedModel":"","Name":"","Extensions":{"x-speakeasy-parent-require-to-not-null":true,"x-speakeasy-trace":{"Product#create.req.price_options.dollar_relation.[].entity_id":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Comments":null,"Fields":[],"Type":"string","Examples":[{}],"IsComponent":false,"ItemType":null,"CircularReference":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[{}],"Format":"uuid","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OutputLocation":"","Discriminator":null,"ResponseEnvelope":false,"OriginalName":"","AssociatedTypes":[],"EventStreamEnvelope":false,"ContextStack":[],"Enum":null,"Scope":"","Truncated":false},"Nullable":false,"IsAdditionalProperties":false,"Annotations":[{"Ignore":false,"FieldName":"entity_id"}],"ErrorMessage":false,"OriginalName":"entity_id","Name":"entity_id","Optional":true,"Default":null,"Const":null,"Comments":null}],"Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null},"Name":"$relation","Extensions":{"Symbol":"DollarRelation","x-speakeasy-trace":{"Product#create.req.price_options.dollar_relation.[]":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true},"IsComponent":false,"Truncated":false,"OriginalName":"$relation","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"BaseRelation","Used":false,"MustUse":false}],"Discriminator":null},"Scope":"","Truncated":false,"ResponseEnvelope":false,"Enum":null,"Format":""},"Name":"$relation","IsAdditionalProperties":false,"ErrorMessage":false,"Nullable":false,"Optional":true,"Default":null,"Const":null,"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"$relation"}]}],"Output":false,"Scope":"shared"},"Name":"price_options","Comments":null,"Annotations":[{"Ignore":false,"FieldName":"price_options"}],"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"price_options","Nullable":false,"Optional":true,"Default":null,"Const":null},{"Type":{"OriginalName":"","ResponseEnvelope":false,"ResolvedModel":"","Type":"any","Input":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"any","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Enum":null,"AssociatedTypes":[],"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"Format":"","CircularReference":null,"EventStreamEnvelope":false,"Name":"","Extensions":{"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Product#create.req.product_downloads":true},"x-speakeasy-param-computed":true,"x-untouched":true},"Examples":[],"Scope":"","Comments":null,"Discriminator":null,"ItemType":null,"OutputLocation":"","ContextStack":[],"IsComponent":false,"Output":false,"Truncated":false},"Nullable":false,"Optional":true,"IsAdditionalProperties":false,"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"product_downloads"}],"ErrorMessage":false,"OriginalName":"product_downloads","Name":"product_downloads","Default":null,"Const":null},{"Optional":true,"Const":null,"Annotations":[{"Ignore":false,"FieldName":"product_images"}],"IsAdditionalProperties":false,"OriginalName":"product_images","Type":{"ResponseEnvelope":false,"Enum":null,"IsComponent":false,"Truncated":false,"Extensions":{"x-speakeasy-trace":{"Product#create.req.product_images":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Format":"","ContextStack":[],"Type":"any","Comments":null,"Name":"","Fields":[],"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"any","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Discriminator":null,"EventStreamEnvelope":false,"Output":false,"Scope":"","Examples":[],"ItemType":null,"Input":false,"OriginalName":"","OutputLocation":"","AssociatedTypes":[],"Validations":{"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null},"CircularReference":null,"ResolvedModel":""},"Default":null,"Comments":null,"ErrorMessage":false,"Name":"product_images","Nullable":false},{"Comments":{"Summary":"","Description":"The product id","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Name":"productId","Serialization":"","Style":"simple","Explode":false,"FieldType":{"Fields":[],"Enum":null,"Extensions":{"x-speakeasy-match":"id"},"ContextStack":[],"Validations":{"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null},"AssociatedTypes":[],"Examples":[{}],"ResponseEnvelope":false,"ItemType":null,"Truncated":false,"Output":false,"Format":"uuid","ResolvedModel":"","EventStreamEnvelope":false,"Scope":"","OriginalName":"","Type":"string","IsComponent":false,"Comments":{"Summary":"","Description":"The product id","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Discriminator":null,"ComplexAny":false,"Name":"","OutputLocation":""},"Hidden":false,"ParamType":"pathParam"}],"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"","Name":"productId","Nullable":false,"Const":null,"Type":{"Discriminator":null,"Examples":[{}],"Fields":[],"ResponseEnvelope":false,"ContextStack":[],"Type":"string","Extensions":{"x-speakeasy-match":"id","x-speakeasy-trace":{"Product#get.req.product_id":true}},"AssociatedTypes":[],"Scope":"","ResolvedModel":"","Output":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The product id","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{"x-speakeasy-match":"id"},"Examples":[{}],"Format":"uuid","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"Comments":{"Summary":"","Description":"The product id","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Format":"uuid","Input":false,"ItemType":null,"EventStreamEnvelope":false,"OriginalName":"","Enum":null,"CircularReference":null,"IsComponent":false,"Truncated":false,"Name":"","OutputLocation":""},"Optional":false,"Default":null},{"Annotations":[{"Ignore":false,"FieldName":"type"}],"OriginalName":"type","Optional":true,"Const":null,"Default":{"Value":"product"},"Comments":{"Description":"The type of Product:\n\n| type | description |\n|----| ----|\n| `product` | Represents a physical good |\n| `service` | Represents a service or virtual product |\n","ExternalDocs":null,"Summary":"","Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":""},"IsAdditionalProperties":false,"ErrorMessage":false,"Type":{"OutputLocation":"models/shared","Comments":{"Summary":"","Description":"The type of Product:\n\n| type | description |\n|----| ----|\n| `product` | Represents a physical good |\n| `service` | Represents a service or virtual product |\n","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Output":false,"Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null},"EventStreamEnvelope":false,"Original":{"Name":"ProductCreate_type","OriginalName":"type","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"ProductCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["product","service"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The type of Product:\n\n| type | description |\n|----| ----|\n| `product` | Represents a physical good |\n| `service` | Represents a service or virtual product |\n","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"ProductCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Examples":[],"IsComponent":false,"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"ProductCreate","Used":true,"MustUse":false}],"Fields":[],"Input":false,"Extensions":{"x-speakeasy-trace":{"Product#create.req.type":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"ItemType":null,"CircularReference":null,"ResponseEnvelope":false,"Enum":{"Names":[],"Values":["product","service"],"Type":{"Discriminator":null,"ItemType":null,"ResolvedModel":"","AssociatedTypes":[],"IsComponent":false,"Validations":{"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null},"OutputLocation":"","Examples":[],"Type":"string","Enum":null,"Scope":"","Truncated":false,"Fields":[],"EventStreamEnvelope":false,"Name":"","Extensions":{},"Comments":null,"Input":false,"ResponseEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"ContextStack":[],"Output":false,"OriginalName":"","Format":"","CircularReference":null},"Open":false},"Discriminator":null,"ResolvedModel":"ProductCreate","Format":"","Scope":"shared","OriginalName":"type","Name":"ProductCreate_type","Type":"enum","AssociatedTypes":[],"Truncated":false},"Name":"type","Nullable":false}]} - // {"ContextStack":[],"Name":"","CircularReference":null,"Truncated":false,"Type":"boolean","Extensions":{},"Examples":[],"Input":false,"ItemType":null,"IsComponent":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"Hydrates entities in relations when passed true","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"Hydrates entities in relations when passed true","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Fields":[],"Scope":"","EventStreamEnvelope":false,"OriginalName":"","AssociatedTypes":[],"Output":false,"Format":"","ResponseEnvelope":false,"OutputLocation":"","Enum":null,"Discriminator":null,"ResolvedModel":"","Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null}} + // {"Type":"class","ItemType":null,"Enum":null,"Output":false,"EventStreamEnvelope":false,"OriginalName":"ProductCreate","OutputLocation":"models/shared","Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"Original":{"Name":"ProductCreate","OriginalName":"ProductCreate","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"ProductCreate","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"active","OriginalName":"active","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"active"}],"Nullable":false,"Optional":false,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"code","OriginalName":"code","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The product code","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"code"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"description","OriginalName":"description","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"A description of the product. Multi-line supported.","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"description"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"feature","OriginalName":"feature","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"any","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"feature"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"internal_name","OriginalName":"internal_name","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"Not visible to customers, only in internal tables","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"internal_name"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"name","OriginalName":"name","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The description for the product","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"name"}],"Nullable":false,"Optional":false,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"price_options","OriginalName":"price_options","Type":{"Name":"BaseRelation","OriginalName":"BaseRelation","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"BaseRelation","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"$relation","OriginalName":"$relation","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"$relation","OriginalName":"$relation","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"BaseRelation","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"_tags","OriginalName":"_tags","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"_tags"}],"Nullable":true,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"entity_id","OriginalName":"entity_id","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[{}],"Format":"uuid","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"entity_id"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"BaseRelation","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"$relation"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"BaseRelation","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"price_options"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"product_downloads","OriginalName":"product_downloads","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"any","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"product_downloads"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"product_images","OriginalName":"product_images","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"any","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"product_images"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"type","OriginalName":"type","Type":{"Name":"ProductCreate_type","OriginalName":"type","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"ProductCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["product","service"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The type of Product:\n\n| type | description |\n|----| ----|\n| `product` | Represents a physical good |\n| `service` | Represents a service or virtual product |\n","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"ProductCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":{"Summary":"","Description":"The type of Product:\n\n| type | description |\n|----| ----|\n| `product` | Represents a physical good |\n| `service` | Represents a service or virtual product |\n","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Annotations":[{"Ignore":false,"FieldName":"type"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":{"Value":"product"},"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{"x-speakeasy-entity":"Product"},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"ProductCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Discriminator":null,"Format":"","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"ProductCreate","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"CircularReference":null,"Truncated":false,"Comments":null,"Fields":[{"Const":null,"Comments":null,"Annotations":[{"FieldName":"_id","Ignore":false}],"ErrorMessage":false,"OriginalName":"_id","Type":{"Enum":null,"Type":"string","ContextStack":[],"AssociatedTypes":[],"Discriminator":null,"Output":false,"OutputLocation":"","Name":"","IsComponent":false,"ResolvedModel":"","Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[{}],"Format":"uuid","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Examples":[{}],"Fields":[],"Format":"uuid","Truncated":false,"ResponseEnvelope":false,"OriginalName":"","Extensions":{"x-speakeasy-param-readonly":true,"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Product#create.resp.id":true},"x-speakeasy-param-computed":true,"x-untouched":true},"Input":false,"EventStreamEnvelope":false,"ItemType":null,"Scope":"","CircularReference":null,"Comments":null},"Name":"_id","Nullable":false,"Optional":false,"Default":null,"IsAdditionalProperties":false},{"Default":null,"Comments":null,"Nullable":false,"Optional":false,"Name":"active","Const":null,"Annotations":[{"Ignore":false,"FieldName":"active"}],"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"active","Type":{"Type":"boolean","IsComponent":false,"Output":false,"EventStreamEnvelope":false,"ResolvedModel":"","Enum":null,"AssociatedTypes":[],"Discriminator":null,"Format":"","Truncated":false,"CircularReference":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Examples":[],"Extensions":{"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Product#create.req.active":true},"x-speakeasy-param-computed":true},"Input":false,"OriginalName":"","OutputLocation":"","ContextStack":[],"Comments":null,"Fields":[],"Scope":"","Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"ResponseEnvelope":false,"Name":"","ItemType":null}},{"Name":"code","Nullable":false,"Comments":{"Summary":"","Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"The product code","ExternalDocs":null},"Default":null,"Const":null,"Annotations":[{"Ignore":false,"FieldName":"code"}],"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"code","Type":{"Scope":"","Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null},"EventStreamEnvelope":false,"Extensions":{"x-speakeasy-trace":{"Product#create.req.code":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Enum":null,"Examples":[],"Output":false,"OutputLocation":"","IsComponent":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OriginalName":"","Format":"","CircularReference":null,"Name":"","Comments":null,"ResponseEnvelope":false,"ResolvedModel":"","AssociatedTypes":[],"Input":false,"ItemType":null,"ContextStack":[],"Type":"string","Discriminator":null,"Fields":[],"Truncated":false},"Optional":true},{"Const":null,"Comments":{"Summary":"","Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"A description of the product. Multi-line supported.","ExternalDocs":null},"IsAdditionalProperties":false,"Name":"description","Type":{"ResponseEnvelope":false,"ResolvedModel":"","Name":"","AssociatedTypes":[],"IsComponent":false,"CircularReference":null,"Discriminator":null,"Input":false,"EventStreamEnvelope":false,"ContextStack":[],"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Extensions":{"x-speakeasy-trace":{"Product#create.req.description":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"OriginalName":"","Fields":[],"Type":"string","Enum":null,"Format":"","ItemType":null,"Output":false,"Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null},"OutputLocation":"","Scope":"","Examples":[],"Truncated":false,"Comments":null},"Nullable":false,"Optional":true,"Default":null,"Annotations":[{"Ignore":false,"FieldName":"description"}],"ErrorMessage":false,"OriginalName":"description"},{"Const":null,"ErrorMessage":false,"Type":{"IsComponent":false,"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"Type":"array","Enum":null,"AssociatedTypes":[],"Discriminator":null,"EventStreamEnvelope":false,"ItemType":{"ContextStack":[],"CircularReference":null,"Type":"any","Extensions":{"x-speakeasy-trace":{"Product#create.req.feature.[]":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"Symbol":"Feature"},"Output":false,"Truncated":false,"AssociatedTypes":[],"Examples":[],"Scope":"","Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null},"Format":"","IsComponent":false,"ResolvedModel":"","Comments":null,"Input":false,"ResponseEnvelope":false,"Name":"","Discriminator":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"any","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OriginalName":"","OutputLocation":"","Fields":[],"EventStreamEnvelope":false,"Enum":null,"ItemType":null},"Input":false,"ResponseEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"any","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OriginalName":"","Name":"","Extensions":{"x-speakeasy-trace":{"Product#create.req.feature":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true},"Scope":"","Output":false,"Truncated":false,"OutputLocation":"","ContextStack":[],"Examples":[],"Fields":[],"ResolvedModel":"","Comments":null,"Format":"","CircularReference":null},"Name":"feature","Optional":true,"Default":null,"IsAdditionalProperties":false,"OriginalName":"feature","Nullable":false,"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"feature"}]},{"OriginalName":"internal_name","Optional":true,"Default":null,"Const":null,"Annotations":[{"Ignore":false,"FieldName":"internal_name"}],"Type":{"OriginalName":"","Comments":null,"ResolvedModel":"","Extensions":{"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Product#create.req.internal_name":true}},"Output":false,"Scope":"","Validations":{"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null},"Name":"","Discriminator":null,"Input":false,"Type":"string","Enum":null,"Examples":[],"ContextStack":[],"Fields":[],"Format":"","EventStreamEnvelope":false,"ResponseEnvelope":false,"OutputLocation":"","ItemType":null,"Truncated":false,"CircularReference":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"AssociatedTypes":[],"IsComponent":false},"Name":"internal_name","Nullable":false,"Comments":{"Summary":"","Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"Not visible to customers, only in internal tables","ExternalDocs":null},"IsAdditionalProperties":false,"ErrorMessage":false},{"Nullable":false,"Comments":{"DeprecationMessage":"","DeprecationReplacement":"","Description":"The description for the product","ExternalDocs":null,"Summary":"","Deprecated":false},"Annotations":[{"Ignore":false,"FieldName":"name"}],"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"name","Type":{"ItemType":null,"Extensions":{"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Product#create.req.name":true}},"AssociatedTypes":[],"CircularReference":null,"Examples":[],"OriginalName":"","Format":"","Input":false,"IsComponent":false,"ResolvedModel":"","Comments":null,"Discriminator":null,"Name":"","Enum":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OutputLocation":"","ContextStack":[],"Fields":[],"Output":false,"Truncated":false,"EventStreamEnvelope":false,"Type":"string","Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"ResponseEnvelope":false,"Scope":""},"Default":null,"Const":null,"Name":"name","Optional":false},{"Type":{"Extensions":{"x-speakeasy-parent-require-to-not-null":true,"Symbol":"BaseRelation","x-speakeasy-trace":{"Product#create.req.price_options":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Scope":"shared","CircularReference":null,"EventStreamEnvelope":false,"Type":"class","AssociatedTypes":[],"Discriminator":null,"IsComponent":true,"ItemType":null,"Output":false,"OriginalName":"BaseRelation","OutputLocation":"models/shared","Enum":null,"Examples":[],"Format":"","ResponseEnvelope":false,"Comments":null,"Fields":[{"ErrorMessage":false,"OriginalName":"$relation","Name":"$relation","Nullable":false,"Default":null,"Const":null,"Annotations":[{"FieldName":"$relation","Ignore":false}],"Type":{"Format":"","Input":false,"Output":false,"Truncated":false,"ItemType":{"CircularReference":null,"Discriminator":null,"EventStreamEnvelope":false,"Original":{"Name":"$relation","OriginalName":"$relation","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"BaseRelation","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"_tags","OriginalName":"_tags","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"_tags"}],"Nullable":true,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"entity_id","OriginalName":"entity_id","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[{}],"Format":"uuid","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"entity_id"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"BaseRelation","EventStreamEnvelope":false,"ResponseEnvelope":false},"Extensions":{"x-speakeasy-parent-require-to-not-null":true,"Symbol":"DollarRelation","x-speakeasy-trace":{"Product#create.req.price_options.dollar_relation.[]":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Fields":[{"Nullable":true,"Optional":true,"Default":null,"Annotations":[{"Ignore":false,"FieldName":"_tags"}],"Type":{"Format":"","IsComponent":false,"Enum":null,"Comments":null,"Fields":[],"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Extensions":{"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"x-speakeasy-trace":{"Product#create.req.price_options.dollar_relation.[].tags":true},"x-speakeasy-param-computed":true,"x-untouched":true},"AssociatedTypes":[],"CircularReference":null,"EventStreamEnvelope":false,"ContextStack":[],"Scope":"","Examples":[],"Discriminator":null,"Input":false,"ResolvedModel":"","Name":"","OutputLocation":"","ItemType":{"OriginalName":"","AssociatedTypes":[],"Discriminator":null,"Fields":[],"Output":false,"Truncated":false,"ResponseEnvelope":false,"Comments":null,"ItemType":null,"Enum":null,"Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"Extensions":{"x-speakeasy-trace":{"Product#create.req.price_options.dollar_relation.[].tags.[]":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true,"Symbol":"Tags"},"Type":"string","Format":"","Examples":[],"Scope":"","EventStreamEnvelope":false,"Input":false,"CircularReference":null,"ResolvedModel":"","Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OutputLocation":"","Name":"","IsComponent":false,"ContextStack":[]},"Output":false,"ResponseEnvelope":false,"Type":"array","Truncated":false,"OriginalName":"","Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null}},"Name":"_tags","Const":null,"Comments":null,"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"_tags"},{"Nullable":false,"Optional":true,"Default":null,"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"entity_id"}],"OriginalName":"entity_id","Name":"entity_id","IsAdditionalProperties":false,"ErrorMessage":false,"Type":{"Name":"","Enum":null,"Output":false,"Truncated":false,"EventStreamEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[{}],"Format":"uuid","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Format":"uuid","ItemType":null,"ResolvedModel":"","OriginalName":"","OutputLocation":"","Discriminator":null,"ContextStack":[],"Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null},"Extensions":{"x-speakeasy-trace":{"Product#create.req.price_options.dollar_relation.[].entity_id":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true},"IsComponent":false,"Examples":[{}],"Scope":"","Type":"string","AssociatedTypes":[],"Comments":null,"ResponseEnvelope":false,"CircularReference":null,"Fields":[],"Input":false},"Const":null}],"Name":"$relation","ResponseEnvelope":false,"Comments":null,"Enum":null,"AssociatedTypes":[],"IsComponent":false,"Type":"class","OutputLocation":"models/shared","Input":false,"ResolvedModel":"BaseRelation","Format":"","Scope":"shared","Truncated":false,"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"BaseRelation","Used":false,"MustUse":false}],"Examples":[],"ItemType":null,"Output":false,"OriginalName":"$relation"},"ResponseEnvelope":false,"Name":"","Discriminator":null,"EventStreamEnvelope":false,"OutputLocation":"","Comments":null,"IsComponent":false,"OriginalName":"","Extensions":{"x-speakeasy-trace":{"Product#create.req.price_options.dollar_relation":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-parent-require-to-not-null":true},"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"$relation","OriginalName":"$relation","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"BaseRelation","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"_tags","OriginalName":"_tags","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"_tags"}],"Nullable":true,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"entity_id","OriginalName":"entity_id","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[{}],"Format":"uuid","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"entity_id"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"BaseRelation","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Examples":[],"ResolvedModel":"","Type":"array","Fields":[],"Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null},"CircularReference":null,"Enum":null,"AssociatedTypes":[],"Scope":"","ContextStack":[]},"Optional":true,"Comments":null,"IsAdditionalProperties":false}],"ResolvedModel":"BaseRelation","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"BaseRelation","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Input":false,"Truncated":false,"Validations":{"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null},"Original":{"Name":"BaseRelation","OriginalName":"BaseRelation","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"BaseRelation","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"$relation","OriginalName":"$relation","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"$relation","OriginalName":"$relation","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"BaseRelation","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"_tags","OriginalName":"_tags","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"array","ItemType":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"_tags"}],"Nullable":true,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"entity_id","OriginalName":"entity_id","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[{}],"Format":"uuid","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"entity_id"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"BaseRelation","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"$relation"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"BaseRelation","EventStreamEnvelope":false,"ResponseEnvelope":false},"Name":"BaseRelation"},"Name":"price_options","Nullable":false,"Optional":true,"Default":null,"Const":null,"IsAdditionalProperties":false,"OriginalName":"price_options","Annotations":[{"FieldName":"price_options","Ignore":false}],"ErrorMessage":false,"Comments":null},{"IsAdditionalProperties":false,"OriginalName":"product_downloads","Default":null,"Const":null,"Optional":true,"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"product_downloads"}],"ErrorMessage":false,"Type":{"EventStreamEnvelope":false,"CircularReference":null,"Input":false,"IsComponent":false,"OriginalName":"","Format":"","Name":"","Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"any","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Extensions":{"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Product#create.req.product_downloads":true}},"Comments":null,"Examples":[],"Fields":[],"ItemType":null,"Scope":"","Truncated":false,"ResolvedModel":"","Enum":null,"Discriminator":null,"Output":false,"OutputLocation":"","Type":"any","AssociatedTypes":[],"ResponseEnvelope":false,"ContextStack":[]},"Name":"product_downloads","Nullable":false},{"IsAdditionalProperties":false,"Type":{"ContextStack":[],"Name":"","Enum":null,"Output":false,"CircularReference":null,"Fields":[],"Comments":null,"Format":"","Type":"any","ItemType":null,"EventStreamEnvelope":false,"ResolvedModel":"","OutputLocation":"","Examples":[],"Input":false,"Scope":"","Truncated":false,"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"Extensions":{"x-speakeasy-trace":{"Product#create.req.product_images":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"AssociatedTypes":[],"Discriminator":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"any","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OriginalName":"","IsComponent":false,"ResponseEnvelope":false},"Name":"product_images","Nullable":false,"Optional":true,"Default":null,"Annotations":[{"Ignore":false,"FieldName":"product_images"}],"OriginalName":"product_images","Const":null,"Comments":null,"ErrorMessage":false},{"ErrorMessage":false,"Type":{"ContextStack":[],"Type":"string","IsComponent":false,"EventStreamEnvelope":false,"Examples":[{}],"ItemType":null,"Scope":"","Name":"","Format":"uuid","CircularReference":null,"Comments":{"Summary":"","Description":"The product id","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Truncated":false,"Validations":{"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null},"ResponseEnvelope":false,"Extensions":{"x-speakeasy-match":"id","x-speakeasy-trace":{"Product#get.req.product_id":true}},"AssociatedTypes":[],"Fields":[],"Output":false,"Input":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The product id","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{"x-speakeasy-match":"id"},"Examples":[{}],"Format":"uuid","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OutputLocation":"","Enum":null,"ResolvedModel":"","OriginalName":"","Discriminator":null},"Name":"productId","Nullable":false,"Default":null,"Annotations":[{"Explode":false,"FieldType":{"Comments":{"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"The product id","ExternalDocs":null},"Input":false,"Output":false,"Name":"","Fields":[],"AssociatedTypes":[],"Enum":null,"Scope":"","Truncated":false,"OriginalName":"","Type":"string","ItemType":null,"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"IsComponent":false,"Examples":[{}],"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","ResponseEnvelope":false,"ContextStack":[],"Extensions":{"x-speakeasy-match":"id"},"Format":"uuid","Discriminator":null,"EventStreamEnvelope":false},"Hidden":false,"ParamType":"pathParam","Name":"productId","Serialization":"","Style":"simple"}],"OriginalName":"","Optional":false,"Const":null,"Comments":{"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"The product id","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false},"IsAdditionalProperties":false},{"Optional":true,"Default":{"Value":"product"},"Const":null,"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"type","Type":{"AssociatedTypes":[],"Comments":{"ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"The type of Product:\n\n| type | description |\n|----| ----|\n| `product` | Represents a physical good |\n| `service` | Represents a service or virtual product |\n"},"Original":{"Name":"ProductCreate_type","OriginalName":"type","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"ProductCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["product","service"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The type of Product:\n\n| type | description |\n|----| ----|\n| `product` | Represents a physical good |\n| `service` | Represents a service or virtual product |\n","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"ProductCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"OutputLocation":"models/shared","Enum":{"Values":["product","service"],"Type":{"Truncated":false,"Discriminator":null,"Scope":"","ItemType":null,"Enum":null,"Examples":[],"Fields":[],"Format":"","IsComponent":false,"Input":false,"EventStreamEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OriginalName":"","OutputLocation":"","ResolvedModel":"","Name":"","ResponseEnvelope":false,"ContextStack":[],"Extensions":{},"AssociatedTypes":[],"Type":"string","Validations":{"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null},"Comments":null,"Output":false,"CircularReference":null},"Open":false,"Names":[]},"IsComponent":false,"Extensions":{"x-speakeasy-trace":{"Product#create.req.type":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Fields":[],"Scope":"shared","CircularReference":null,"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"ProductCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"OriginalName":"type","Discriminator":null,"Truncated":false,"Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"ResponseEnvelope":false,"Input":false,"Output":false,"Format":"","EventStreamEnvelope":false,"ResolvedModel":"ProductCreate","Name":"ProductCreate_type","Examples":[]},"Nullable":false,"Name":"type","Comments":{"Deprecated":false,"DeprecationMessage":"","DeprecationReplacement":"","Description":"The type of Product:\n\n| type | description |\n|----| ----|\n| `product` | Represents a physical good |\n| `service` | Represents a service or virtual product |\n","ExternalDocs":null,"Summary":""},"Annotations":[{"Ignore":false,"FieldName":"type"}]}],"Extensions":{"x-speakeasy-in-get-request":true,"x-speakeasy-in-get":true,"x-speakeasy-root":true,"x-speakeasy-entity":"Product","x-speakeasy-trace":{"Product#create.req":true},"x-speakeasy-param-computed":true,"x-untouched":true},"Scope":"shared","Name":"Product","AssociatedTypes":[],"Examples":[],"Input":false,"ResponseEnvelope":false,"ResolvedModel":"ProductCreate","IsComponent":true} + // {"Type":"boolean","AssociatedTypes":[],"EventStreamEnvelope":false,"Scope":"","CircularReference":null,"OriginalName":"","Enum":null,"Format":"","Name":"","Extensions":{},"Input":false,"IsComponent":false,"ItemType":null,"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"ResolvedModel":"","Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"Hydrates entities in relations when passed true","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"ContextStack":[],"Comments":{"Description":"Hydrates entities in relations when passed true","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":""},"Examples":[],"Fields":[],"Output":false,"ResponseEnvelope":false,"Truncated":false,"OutputLocation":"","Discriminator":null} var hydrate *bool productID := data.ID.ValueString() request := operations.GetProductRequest{ diff --git a/internal/provider/product_resource_sdk.go b/internal/provider/product_resource_sdk.go index 2ff2142..373030f 100644 --- a/internal/provider/product_resource_sdk.go +++ b/internal/provider/product_resource_sdk.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package provider diff --git a/internal/provider/provider.go b/internal/provider/provider.go index 14fc36c..c95527f 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package provider diff --git a/internal/provider/reflect/diags.go b/internal/provider/reflect/diags.go index 50c50c8..ce8aa51 100644 --- a/internal/provider/reflect/diags.go +++ b/internal/provider/reflect/diags.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package reflect diff --git a/internal/provider/reflect/doc.go b/internal/provider/reflect/doc.go index e384126..2978edc 100644 --- a/internal/provider/reflect/doc.go +++ b/internal/provider/reflect/doc.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. // Package reflect is a forked version of https://github.com/hashicorp/terraform-plugin-framework/tree/main/internal/reflect // that has been modified to support speakeasy's terraform generator. diff --git a/internal/provider/reflect/generic_attr_value.go b/internal/provider/reflect/generic_attr_value.go index 48824d5..39454f5 100644 --- a/internal/provider/reflect/generic_attr_value.go +++ b/internal/provider/reflect/generic_attr_value.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package reflect diff --git a/internal/provider/reflect/helpers.go b/internal/provider/reflect/helpers.go index b17719d..398049d 100644 --- a/internal/provider/reflect/helpers.go +++ b/internal/provider/reflect/helpers.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package reflect diff --git a/internal/provider/reflect/interfaces.go b/internal/provider/reflect/interfaces.go index fc0fe52..f5bd513 100644 --- a/internal/provider/reflect/interfaces.go +++ b/internal/provider/reflect/interfaces.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package reflect diff --git a/internal/provider/reflect/into.go b/internal/provider/reflect/into.go index a740e9a..45b15ef 100644 --- a/internal/provider/reflect/into.go +++ b/internal/provider/reflect/into.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package reflect diff --git a/internal/provider/reflect/map.go b/internal/provider/reflect/map.go index 03b1183..affbabe 100644 --- a/internal/provider/reflect/map.go +++ b/internal/provider/reflect/map.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package reflect diff --git a/internal/provider/reflect/number.go b/internal/provider/reflect/number.go index 491f176..e0021c3 100644 --- a/internal/provider/reflect/number.go +++ b/internal/provider/reflect/number.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package reflect diff --git a/internal/provider/reflect/options.go b/internal/provider/reflect/options.go index eeef689..c6d7b44 100644 --- a/internal/provider/reflect/options.go +++ b/internal/provider/reflect/options.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package reflect diff --git a/internal/provider/reflect/outof.go b/internal/provider/reflect/outof.go index 215406a..4fc5d24 100644 --- a/internal/provider/reflect/outof.go +++ b/internal/provider/reflect/outof.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package reflect diff --git a/internal/provider/reflect/pointer.go b/internal/provider/reflect/pointer.go index 0278b8b..0ac5ebb 100644 --- a/internal/provider/reflect/pointer.go +++ b/internal/provider/reflect/pointer.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package reflect diff --git a/internal/provider/reflect/primitive.go b/internal/provider/reflect/primitive.go index 61d9d2c..fc6b0e6 100644 --- a/internal/provider/reflect/primitive.go +++ b/internal/provider/reflect/primitive.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package reflect diff --git a/internal/provider/reflect/slice.go b/internal/provider/reflect/slice.go index db84d9f..7eea860 100644 --- a/internal/provider/reflect/slice.go +++ b/internal/provider/reflect/slice.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package reflect diff --git a/internal/provider/reflect/struct.go b/internal/provider/reflect/struct.go index cacac37..01ceb7b 100644 --- a/internal/provider/reflect/struct.go +++ b/internal/provider/reflect/struct.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package reflect diff --git a/internal/provider/tax_data_source.go b/internal/provider/tax_data_source.go index 593c2e4..30a3a21 100644 --- a/internal/provider/tax_data_source.go +++ b/internal/provider/tax_data_source.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package provider @@ -62,7 +62,8 @@ func (r *TaxDataSource) Schema(ctx context.Context, req datasource.SchemaRequest Computed: true, }, "rate": schema.StringAttribute{ - Computed: true, + Computed: true, + Description: `Parsed as JSON.`, }, "region": schema.StringAttribute{ Computed: true, diff --git a/internal/provider/tax_data_source_sdk.go b/internal/provider/tax_data_source_sdk.go index a7f60cf..62230fd 100644 --- a/internal/provider/tax_data_source_sdk.go +++ b/internal/provider/tax_data_source_sdk.go @@ -1,8 +1,9 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package provider import ( + "encoding/json" "github.com/epilot-dev/terraform-provider-epilot-product/internal/sdk/models/shared" "github.com/hashicorp/terraform-plugin-framework/types" ) @@ -12,7 +13,8 @@ func (r *TaxDataSourceModel) RefreshFromSharedTax(resp *shared.Tax) { r.ID = types.StringValue(resp.ID) r.Active = types.BoolValue(resp.Active) r.Description = types.StringPointerValue(resp.Description) - r.Rate = types.StringValue(resp.Rate) + rateResult, _ := json.Marshal(resp.Rate) + r.Rate = types.StringValue(string(rateResult)) r.Region = types.StringValue(string(resp.Region)) r.Type = types.StringValue(string(resp.Type)) } diff --git a/internal/provider/tax_resource.go b/internal/provider/tax_resource.go index 9ef328e..b047290 100644 --- a/internal/provider/tax_resource.go +++ b/internal/provider/tax_resource.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package provider @@ -7,6 +7,7 @@ import ( "fmt" "github.com/epilot-dev/terraform-provider-epilot-product/internal/sdk" "github.com/epilot-dev/terraform-provider-epilot-product/internal/sdk/models/operations" + "github.com/epilot-dev/terraform-provider-epilot-product/internal/validators" "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" "github.com/hashicorp/terraform-plugin-framework/path" "github.com/hashicorp/terraform-plugin-framework/resource" @@ -58,7 +59,11 @@ func (r *TaxResource) Schema(ctx context.Context, req resource.SchemaRequest, re Computed: true, }, "rate": schema.StringAttribute{ - Required: true, + Required: true, + Description: `Parsed as JSON.`, + Validators: []validator.String{ + validators.IsValidJSON(), + }, }, "region": schema.StringAttribute{ Required: true, @@ -170,8 +175,8 @@ func (r *TaxResource) Read(ctx context.Context, req resource.ReadRequest, resp * } // read.tax.hydrateread.tax.hydrate impedance mismatch: "boolean" != "class"trace=["Tax#create.req"] - // {"ResponseEnvelope":false,"Extensions":{"x-speakeasy-root":true,"x-speakeasy-entity":"Tax","x-speakeasy-trace":{"Tax#create.req":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get-request":true,"x-speakeasy-in-get":true},"Format":"","Comments":null,"Discriminator":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"OriginalName":"TaxCreate","OutputLocation":"models/shared","Type":"class","Examples":[],"CircularReference":null,"Enum":null,"Input":false,"ResolvedModel":"TaxCreate","Original":{"Name":"TaxCreate","OriginalName":"TaxCreate","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"TaxCreate","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"active","OriginalName":"active","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"active"}],"Nullable":false,"Optional":false,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"description","OriginalName":"description","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"description"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"rate","OriginalName":"rate","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"rate"}],"Nullable":false,"Optional":false,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"region","OriginalName":"region","Type":{"Name":"TaxCreate_region","OriginalName":"region","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"TaxCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["DE","AT","CH"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"TaxCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"region"}],"Nullable":false,"Optional":false,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"type","OriginalName":"type","Type":{"Name":"TaxCreate_type","OriginalName":"type","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"TaxCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["VAT","Custom"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"TaxCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"type"}],"Nullable":false,"Optional":false,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{"x-speakeasy-entity":"Tax"},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"TaxCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"TaxCreate","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Name":"Tax","Output":false,"ItemType":null,"EventStreamEnvelope":false,"AssociatedTypes":[],"Fields":[{"Optional":false,"Default":null,"Annotations":[{"Ignore":false,"FieldName":"_id"}],"ErrorMessage":false,"Type":{"Enum":null,"Discriminator":null,"ItemType":null,"Scope":"","EventStreamEnvelope":false,"ResponseEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[{}],"Format":"uuid","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Name":"","Examples":[{}],"Input":false,"Validations":{"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null},"Extensions":{"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Tax#create.resp.id":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-param-readonly":true},"Comments":null,"Output":false,"Fields":[],"CircularReference":null,"OriginalName":"","AssociatedTypes":[],"Truncated":false,"IsComponent":false,"OutputLocation":"","Type":"string","Format":"uuid","ResolvedModel":"","ContextStack":[]},"Name":"_id","Nullable":false,"Const":null,"Comments":null,"IsAdditionalProperties":false,"OriginalName":"_id"},{"Optional":false,"Const":null,"IsAdditionalProperties":false,"OriginalName":"active","Name":"active","Nullable":false,"Default":null,"Comments":null,"Annotations":[{"FieldName":"active","Ignore":false}],"ErrorMessage":false,"Type":{"Name":"","Output":false,"Scope":"","Truncated":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Format":"","IsComponent":false,"ItemType":null,"Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null},"OriginalName":"","Enum":null,"Discriminator":null,"Comments":null,"Type":"boolean","ResolvedModel":"","CircularReference":null,"Input":false,"ResponseEnvelope":false,"OutputLocation":"","Fields":[],"ContextStack":[],"EventStreamEnvelope":false,"AssociatedTypes":[],"Examples":[],"Extensions":{"x-speakeasy-trace":{"Tax#create.req.active":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true}}},{"Default":null,"Comments":null,"ErrorMessage":false,"Type":{"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Format":"","Output":false,"Extensions":{"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Tax#create.req.description":true},"x-speakeasy-param-computed":true,"x-untouched":true},"OutputLocation":"","Fields":[],"Truncated":false,"CircularReference":null,"Name":"","Examples":[],"Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null},"Enum":null,"AssociatedTypes":[],"Type":"string","Discriminator":null,"IsComponent":false,"ResolvedModel":"","OriginalName":"","Scope":"","EventStreamEnvelope":false,"ResponseEnvelope":false,"Input":false,"ItemType":null,"ContextStack":[],"Comments":null},"Name":"description","Optional":true,"Annotations":[{"Ignore":false,"FieldName":"description"}],"IsAdditionalProperties":false,"OriginalName":"description","Nullable":false,"Const":null},{"Optional":false,"Default":null,"Const":null,"Annotations":[{"Ignore":false,"FieldName":"rate"}],"ErrorMessage":false,"OriginalName":"rate","Type":{"Fields":[],"Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null},"Examples":[],"AssociatedTypes":[],"Truncated":false,"Name":"","Extensions":{"x-speakeasy-trace":{"Tax#create.req.rate":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Format":"","ContextStack":[],"Enum":null,"Comments":null,"Discriminator":null,"Output":false,"EventStreamEnvelope":false,"IsComponent":false,"CircularReference":null,"Type":"string","OutputLocation":"","OriginalName":"","Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Input":false,"ItemType":null,"Scope":"","ResponseEnvelope":false,"ResolvedModel":""},"Name":"rate","Nullable":false,"Comments":null,"IsAdditionalProperties":false},{"OriginalName":"region","Optional":false,"Default":null,"Const":null,"Annotations":[{"Ignore":false,"FieldName":"region"}],"Type":{"EventStreamEnvelope":false,"Extensions":{"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Tax#create.req.region":true}},"AssociatedTypes":[],"Truncated":false,"Output":false,"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"OriginalName":"region","Type":"enum","Discriminator":null,"IsComponent":false,"Examples":[],"ResponseEnvelope":false,"Name":"TaxCreate_region","CircularReference":null,"ItemType":null,"Original":{"Name":"TaxCreate_region","OriginalName":"region","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"TaxCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["DE","AT","CH"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"TaxCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"OutputLocation":"models/shared","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"TaxCreate","Used":true,"MustUse":false}],"Fields":[],"Format":"","Scope":"shared","ResolvedModel":"TaxCreate","Enum":{"Values":["DE","AT","CH"],"Type":{"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Discriminator":null,"Fields":[],"ItemType":null,"CircularReference":null,"ResponseEnvelope":false,"Type":"string","Extensions":{},"Comments":null,"ResolvedModel":"","OriginalName":"","Enum":null,"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"ContextStack":[],"Scope":"","EventStreamEnvelope":false,"AssociatedTypes":[],"Input":false,"OutputLocation":"","Examples":[],"Truncated":false,"Name":"","Format":"","IsComponent":false,"Output":false},"Open":false,"Names":[]},"Comments":null,"Input":false},"Name":"region","Nullable":false,"Comments":null,"IsAdditionalProperties":false,"ErrorMessage":false},{"Comments":{"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"The tax id","ExternalDocs":null},"Annotations":[{"ParamType":"pathParam","Name":"taxId","Serialization":"","Style":"simple","Explode":false,"FieldType":{"Name":"","Type":"string","Validations":{"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null},"Enum":null,"Truncated":false,"Discriminator":null,"ComplexAny":false,"ContextStack":[],"AssociatedTypes":[],"Scope":"","IsComponent":false,"Extensions":{"x-speakeasy-match":"id"},"Examples":[{}],"Format":"uuid","EventStreamEnvelope":false,"Fields":[],"Output":false,"OriginalName":"","ItemType":null,"Comments":{"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"The tax id","ExternalDocs":null},"Input":false,"OutputLocation":"","ResolvedModel":"","ResponseEnvelope":false},"Hidden":false}],"IsAdditionalProperties":false,"ErrorMessage":false,"Default":null,"Const":null,"Name":"taxId","Nullable":false,"Optional":false,"OriginalName":"","Type":{"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"ResponseEnvelope":false,"Discriminator":null,"Truncated":false,"OutputLocation":"","AssociatedTypes":[],"Examples":[{}],"Input":false,"ResolvedModel":"","IsComponent":false,"ItemType":null,"CircularReference":null,"OriginalName":"","Extensions":{"x-speakeasy-trace":{"Tax#get.req.tax_id":true},"x-speakeasy-match":"id"},"Comments":{"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"The tax id","ExternalDocs":null},"Scope":"","Name":"","Enum":null,"Format":"uuid","Fields":[],"Output":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The tax id","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{"x-speakeasy-match":"id"},"Examples":[{}],"Format":"uuid","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"ContextStack":[],"Type":"string","EventStreamEnvelope":false}},{"Name":"type","Optional":false,"Const":null,"Comments":null,"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"type","Type":{"ItemType":null,"ResponseEnvelope":false,"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"TaxCreate","Used":true,"MustUse":false}],"Format":"","EventStreamEnvelope":false,"ResolvedModel":"TaxCreate","AssociatedTypes":[],"Scope":"shared","Truncated":false,"CircularReference":null,"Input":false,"Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"Name":"TaxCreate_type","Enum":{"Type":{"Scope":"","Truncated":false,"Name":"","OriginalName":"","ResolvedModel":"","ContextStack":[],"EventStreamEnvelope":false,"Extensions":{},"AssociatedTypes":[],"IsComponent":false,"Output":false,"Validations":{"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null},"CircularReference":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Enum":null,"Discriminator":null,"Examples":[],"ItemType":null,"ResponseEnvelope":false,"OutputLocation":"","Type":"string","Comments":null,"Fields":[],"Format":"","Input":false},"Open":false,"Names":[],"Values":["VAT","Custom"]},"Discriminator":null,"OriginalName":"type","Comments":null,"Examples":[],"Output":false,"Original":{"Name":"TaxCreate_type","OriginalName":"type","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"TaxCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["VAT","Custom"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"TaxCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"OutputLocation":"models/shared","Type":"enum","Extensions":{"x-speakeasy-trace":{"Tax#create.req.type":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Fields":[],"IsComponent":false},"Nullable":false,"Default":null,"Annotations":[{"Ignore":false,"FieldName":"type"}]}]} - // {"Fields":[],"Truncated":false,"Type":"boolean","Comments":{"Description":"Hydrates entities in relations when passed true","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":""},"OutputLocation":"","Enum":null,"IsComponent":false,"ResolvedModel":"","OriginalName":"","Format":"","ContextStack":[],"Extensions":{},"AssociatedTypes":[],"Discriminator":null,"ItemType":null,"EventStreamEnvelope":false,"Scope":"","Examples":[],"CircularReference":null,"Name":"","Input":false,"Output":false,"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"ResponseEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"Hydrates entities in relations when passed true","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false}} + // {"Name":"Tax","IsComponent":true,"Comments":null,"Scope":"shared","ResponseEnvelope":false,"OutputLocation":"models/shared","Enum":null,"AssociatedTypes":[],"Examples":[],"Fields":[{"Type":{"Truncated":false,"Enum":null,"IsComponent":false,"OutputLocation":"","ContextStack":[],"Output":false,"EventStreamEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[{}],"Format":"uuid","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Discriminator":null,"Type":"string","AssociatedTypes":[],"Comments":null,"ResponseEnvelope":false,"Fields":[],"ItemType":null,"Scope":"","Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"ResolvedModel":"","Extensions":{"x-untouched":true,"x-speakeasy-param-readonly":true,"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Tax#create.resp.id":true},"x-speakeasy-param-computed":true},"Examples":[{}],"Input":false,"Format":"uuid","CircularReference":null,"OriginalName":"","Name":""},"Optional":false,"Default":null,"Const":null,"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"_id","Name":"_id","Nullable":false,"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"_id"}]},{"Type":{"Extensions":{"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Tax#create.req.active":true},"x-speakeasy-param-computed":true},"Examples":[],"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Name":"","OutputLocation":"","ContextStack":[],"Validations":{"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null},"Truncated":false,"OriginalName":"","AssociatedTypes":[],"Comments":null,"ItemType":null,"Scope":"","CircularReference":null,"EventStreamEnvelope":false,"ResponseEnvelope":false,"Format":"","ResolvedModel":"","Discriminator":null,"IsComponent":false,"Enum":null,"Fields":[],"Input":false,"Type":"boolean","Output":false},"Optional":false,"Default":null,"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"active","Name":"active","Nullable":false,"Const":null,"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"active"}]},{"Default":null,"Const":null,"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"description"}],"Nullable":false,"Type":{"Output":false,"Scope":"","EventStreamEnvelope":false,"Discriminator":null,"IsComponent":false,"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Comments":null,"Examples":[],"Input":false,"ItemType":null,"ResponseEnvelope":false,"Name":"","Type":"string","Fields":[],"Format":"","Enum":null,"CircularReference":null,"ResolvedModel":"","Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"OriginalName":"","OutputLocation":"","ContextStack":[],"Extensions":{"x-speakeasy-trace":{"Tax#create.req.description":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get":true},"Truncated":false},"Name":"description","Optional":true,"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"description"},{"Type":{"OutputLocation":"","Format":"","Type":"any","Enum":null,"ItemType":null,"Output":false,"EventStreamEnvelope":false,"OriginalName":"","Discriminator":null,"Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"Comments":null,"ContextStack":[],"Examples":[],"ResolvedModel":"","Name":"","AssociatedTypes":[],"Fields":[],"Truncated":false,"CircularReference":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"any","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{"x-speakeasy-type-override":"any"},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Input":false,"Scope":"","Extensions":{"x-speakeasy-in-get":true,"x-speakeasy-type-override":"any","x-speakeasy-trace":{"Tax#create.req.rate":true},"x-speakeasy-param-computed":true,"x-untouched":true},"IsComponent":false,"ResponseEnvelope":false},"Default":null,"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"rate"}],"IsAdditionalProperties":false,"ErrorMessage":false,"OriginalName":"rate","Name":"rate","Nullable":false,"Optional":false,"Const":null},{"Optional":false,"Default":null,"Const":null,"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"region"}],"IsAdditionalProperties":false,"OriginalName":"region","Type":{"EventStreamEnvelope":false,"Scope":"shared","CircularReference":null,"Original":{"Name":"TaxCreate_region","OriginalName":"region","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"TaxCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["DE","AT","CH"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"TaxCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Name":"TaxCreate_region","Fields":[],"Output":false,"Truncated":false,"Discriminator":null,"ResponseEnvelope":false,"Format":"","Type":"enum","Comments":null,"Input":false,"ResolvedModel":"TaxCreate","OriginalName":"region","Extensions":{"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Tax#create.req.region":true},"x-speakeasy-param-computed":true},"Enum":{"Type":{"EventStreamEnvelope":false,"OriginalName":"","Comments":null,"OutputLocation":"","ContextStack":[],"Extensions":{},"Output":false,"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"Name":"","Enum":null,"Scope":"","ResponseEnvelope":false,"Discriminator":null,"Examples":[],"ItemType":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Fields":[],"ResolvedModel":"","AssociatedTypes":[],"IsComponent":false,"CircularReference":null,"Type":"string","Input":false,"Format":"","Truncated":false},"Open":false,"Names":[],"Values":["DE","AT","CH"]},"AssociatedTypes":[],"IsComponent":false,"ItemType":null,"OutputLocation":"models/shared","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"TaxCreate","Used":true,"MustUse":false}],"Examples":[],"Validations":{"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null}},"ErrorMessage":false,"Name":"region","Nullable":false},{"OriginalName":"","Default":null,"Annotations":[{"Style":"simple","Explode":false,"FieldType":{"OriginalName":"","ContextStack":[],"Fields":[],"IsComponent":false,"Comments":{"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"The tax id","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false},"Format":"uuid","ComplexAny":false,"AssociatedTypes":[],"Discriminator":null,"OutputLocation":"","ItemType":null,"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"Enum":null,"Scope":"","Output":false,"Extensions":{"x-speakeasy-match":"id"},"Examples":[{}],"Name":"","Type":"string","Truncated":false,"Input":false,"ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Hidden":false,"ParamType":"pathParam","Name":"taxId","Serialization":""}],"ErrorMessage":false,"Type":{"Comments":{"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"The tax id","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false},"Format":"uuid","EventStreamEnvelope":false,"Name":"","Validations":{"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null},"ResponseEnvelope":false,"Extensions":{"x-speakeasy-match":"id","x-speakeasy-trace":{"Tax#get.req.tax_id":true}},"Discriminator":null,"Examples":[{}],"Output":false,"ResolvedModel":"","OriginalName":"","Type":"string","ItemType":null,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"The tax id","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{"x-speakeasy-match":"id"},"Examples":[{}],"Format":"uuid","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"ContextStack":[],"AssociatedTypes":[],"Input":false,"CircularReference":null,"OutputLocation":"","Enum":null,"Fields":[],"IsComponent":false,"Scope":"","Truncated":false},"Name":"taxId","Nullable":false,"Optional":false,"Const":null,"Comments":{"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"The tax id","ExternalDocs":null,"ExtendedComments":{}},"IsAdditionalProperties":false},{"OriginalName":"type","Type":{"Format":"","Scope":"shared","EventStreamEnvelope":false,"OriginalName":"type","Enum":{"Type":{"AssociatedTypes":[],"Name":"","Enum":null,"Examples":[],"OriginalName":"","Scope":"","Truncated":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Format":"","Fields":[],"Input":false,"Validations":{"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null},"CircularReference":null,"ResponseEnvelope":false,"Comments":null,"Discriminator":null,"Output":false,"OutputLocation":"","Type":"string","ResolvedModel":"","ContextStack":[],"IsComponent":false,"ItemType":null,"EventStreamEnvelope":false,"Extensions":{}},"Open":false,"Names":[],"Values":["VAT","Custom"]},"Fields":[],"Extensions":{"x-untouched":true,"x-speakeasy-in-get":true,"x-speakeasy-trace":{"Tax#create.req.type":true},"x-speakeasy-param-computed":true},"ItemType":null,"CircularReference":null,"OutputLocation":"models/shared","Input":false,"ResponseEnvelope":false,"AssociatedTypes":[],"Discriminator":null,"IsComponent":false,"Type":"enum","Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"ResolvedModel":"TaxCreate","Truncated":false,"Comments":null,"Examples":[],"Output":false,"Original":{"Name":"TaxCreate_type","OriginalName":"type","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"TaxCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["VAT","Custom"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"TaxCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"TaxCreate","Used":true,"MustUse":false}],"Name":"TaxCreate_type"},"Nullable":false,"Optional":false,"Annotations":[{"Ignore":false,"FieldName":"type"}],"ErrorMessage":false,"Name":"type","Default":null,"Const":null,"Comments":null,"IsAdditionalProperties":false}],"Format":"","ItemType":null,"OriginalName":"TaxCreate","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"TaxCreate","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Truncated":false,"CircularReference":null,"Validations":{"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null},"Type":"class","Discriminator":null,"Input":false,"Output":false,"EventStreamEnvelope":false,"ResolvedModel":"TaxCreate","Extensions":{"x-speakeasy-entity":"Tax","x-speakeasy-trace":{"Tax#create.req":true},"x-speakeasy-param-computed":true,"x-untouched":true,"x-speakeasy-in-get-request":true,"x-speakeasy-in-get":true,"x-speakeasy-root":true},"Original":{"Name":"TaxCreate","OriginalName":"TaxCreate","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"TaxCreate","Used":false,"MustUse":false},{"Type":"component","Identifier":"true","Used":false,"MustUse":false}],"Type":"class","ItemType":null,"Fields":[{"Name":"active","OriginalName":"active","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"active"}],"Nullable":false,"Optional":false,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"description","OriginalName":"description","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"description"}],"Nullable":false,"Optional":true,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"rate","OriginalName":"rate","Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"any","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{"x-speakeasy-type-override":"any"},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"rate"}],"Nullable":false,"Optional":false,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"region","OriginalName":"region","Type":{"Name":"TaxCreate_region","OriginalName":"region","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"TaxCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["DE","AT","CH"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"TaxCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"region"}],"Nullable":false,"Optional":false,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null},{"Name":"type","OriginalName":"type","Type":{"Name":"TaxCreate_type","OriginalName":"type","ContextStack":[{"Type":"refType","Identifier":"Schemas","Used":false,"MustUse":false},{"Type":"refName","Identifier":"TaxCreate","Used":true,"MustUse":false}],"Type":"enum","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":{"Type":{"Name":"","OriginalName":"","ContextStack":[],"Type":"string","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Values":["VAT","Custom"],"Names":[],"Open":false,"Format":""},"Scope":"shared","IsComponent":false,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"TaxCreate","EventStreamEnvelope":false,"ResponseEnvelope":false},"Comments":null,"Annotations":[{"Ignore":false,"FieldName":"type"}],"Nullable":false,"Optional":false,"SerializationMethod":null,"ErrorMessage":false,"Const":null,"Default":null,"IsAdditionalProperties":false,"ParameterIndex":null}],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"shared","IsComponent":true,"Truncated":false,"Comments":null,"Input":false,"Output":false,"Extensions":{"x-speakeasy-entity":"Tax"},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"models/shared","ResolvedModel":"TaxCreate","EventStreamEnvelope":false,"ResponseEnvelope":false}} + // {"EventStreamEnvelope":false,"Original":{"Name":"","OriginalName":"","ContextStack":[],"Type":"boolean","ItemType":null,"Fields":[],"Validations":{"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null,"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null},"AssociatedTypes":[],"Enum":null,"Scope":"","IsComponent":false,"Truncated":false,"Comments":{"Summary":"","Description":"Hydrates entities in relations when passed true","ExternalDocs":null,"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":""},"Input":false,"Output":false,"Extensions":{},"Examples":[],"Format":"","Discriminator":null,"ComplexAny":false,"OutputLocation":"","ResolvedModel":"","EventStreamEnvelope":false,"ResponseEnvelope":false},"Name":"","Comments":{"ExtendedComments":{},"Deprecated":false,"DeprecationReplacement":"","DeprecationMessage":"","Summary":"","Description":"Hydrates entities in relations when passed true","ExternalDocs":null},"Scope":"","Discriminator":null,"CircularReference":null,"ResponseEnvelope":false,"OutputLocation":"","Fields":[],"Output":false,"Enum":null,"Examples":[],"Truncated":false,"ContextStack":[],"AssociatedTypes":[],"Format":"","Input":false,"IsComponent":false,"OriginalName":"","Type":"boolean","Validations":{"MaxLength":null,"Maximum":null,"Pattern":null,"UniqueItems":null,"MinItems":null,"MinLength":null,"Minimum":null,"MaxItems":null},"ResolvedModel":"","Extensions":{},"ItemType":null} var hydrate *bool taxID := data.ID.ValueString() request := operations.GetTaxRequest{ diff --git a/internal/provider/tax_resource_sdk.go b/internal/provider/tax_resource_sdk.go index 39b4e84..ca449aa 100644 --- a/internal/provider/tax_resource_sdk.go +++ b/internal/provider/tax_resource_sdk.go @@ -1,8 +1,9 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package provider import ( + "encoding/json" "github.com/epilot-dev/terraform-provider-epilot-product/internal/sdk/models/shared" "github.com/hashicorp/terraform-plugin-framework/types" ) @@ -15,7 +16,8 @@ func (r *TaxResourceModel) ToSharedTaxCreate() *shared.TaxCreate { } else { description = nil } - rate := r.Rate.ValueString() + var rate interface{} + _ = json.Unmarshal([]byte(r.Rate.ValueString()), &rate) region := shared.TaxCreateRegion(r.Region.ValueString()) typeVar := shared.TaxCreateType(r.Type.ValueString()) out := shared.TaxCreate{ @@ -33,7 +35,8 @@ func (r *TaxResourceModel) RefreshFromSharedTax(resp *shared.Tax) { r.ID = types.StringValue(resp.ID) r.Active = types.BoolValue(resp.Active) r.Description = types.StringPointerValue(resp.Description) - r.Rate = types.StringValue(resp.Rate) + rateResult, _ := json.Marshal(resp.Rate) + r.Rate = types.StringValue(string(rateResult)) r.Region = types.StringValue(string(resp.Region)) r.Type = types.StringValue(string(resp.Type)) } diff --git a/internal/provider/types/base_relation.go b/internal/provider/types/base_relation.go index dd9aceb..df5cbd2 100644 --- a/internal/provider/types/base_relation.go +++ b/internal/provider/types/base_relation.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package types diff --git a/internal/provider/types/dollar_relation.go b/internal/provider/types/dollar_relation.go index 83dd1c4..c09dffe 100644 --- a/internal/provider/types/dollar_relation.go +++ b/internal/provider/types/dollar_relation.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package types diff --git a/internal/provider/types/price_component_relation.go b/internal/provider/types/price_component_relation.go index 4289fbf..a142609 100644 --- a/internal/provider/types/price_component_relation.go +++ b/internal/provider/types/price_component_relation.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package types diff --git a/internal/provider/types/price_create_price_components.go b/internal/provider/types/price_create_price_components.go index 8058dd8..a66236c 100644 --- a/internal/provider/types/price_create_price_components.go +++ b/internal/provider/types/price_create_price_components.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package types diff --git a/internal/provider/types/price_tier.go b/internal/provider/types/price_tier.go index 56b4f50..649d36b 100644 --- a/internal/provider/types/price_tier.go +++ b/internal/provider/types/price_tier.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package types diff --git a/internal/provider/utils.go b/internal/provider/utils.go index 00927b5..7def69e 100644 --- a/internal/provider/utils.go +++ b/internal/provider/utils.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package provider diff --git a/internal/sdk/internal/hooks/hooks.go b/internal/sdk/internal/hooks/hooks.go index 8ea491a..b978f6b 100644 --- a/internal/sdk/internal/hooks/hooks.go +++ b/internal/sdk/internal/hooks/hooks.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package hooks diff --git a/internal/sdk/internal/hooks/registration.go b/internal/sdk/internal/hooks/registration.go index 3f7d5f1..99a3606 100644 --- a/internal/sdk/internal/hooks/registration.go +++ b/internal/sdk/internal/hooks/registration.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package hooks diff --git a/internal/sdk/internal/utils/contenttype.go b/internal/sdk/internal/utils/contenttype.go index f6487e0..81e669d 100644 --- a/internal/sdk/internal/utils/contenttype.go +++ b/internal/sdk/internal/utils/contenttype.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package utils diff --git a/internal/sdk/internal/utils/form.go b/internal/sdk/internal/utils/form.go index f935f29..3ced4c3 100644 --- a/internal/sdk/internal/utils/form.go +++ b/internal/sdk/internal/utils/form.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package utils diff --git a/internal/sdk/internal/utils/headers.go b/internal/sdk/internal/utils/headers.go index a07608b..7af15f9 100644 --- a/internal/sdk/internal/utils/headers.go +++ b/internal/sdk/internal/utils/headers.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package utils diff --git a/internal/sdk/internal/utils/json.go b/internal/sdk/internal/utils/json.go index 6d6997f..858456c 100644 --- a/internal/sdk/internal/utils/json.go +++ b/internal/sdk/internal/utils/json.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package utils diff --git a/internal/sdk/internal/utils/pathparams.go b/internal/sdk/internal/utils/pathparams.go index c61ec21..3f88da3 100644 --- a/internal/sdk/internal/utils/pathparams.go +++ b/internal/sdk/internal/utils/pathparams.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package utils diff --git a/internal/sdk/internal/utils/queryparams.go b/internal/sdk/internal/utils/queryparams.go index 7bc7001..af22d47 100644 --- a/internal/sdk/internal/utils/queryparams.go +++ b/internal/sdk/internal/utils/queryparams.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package utils diff --git a/internal/sdk/internal/utils/requestbody.go b/internal/sdk/internal/utils/requestbody.go index 0fd33cf..b4e2b8b 100644 --- a/internal/sdk/internal/utils/requestbody.go +++ b/internal/sdk/internal/utils/requestbody.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package utils diff --git a/internal/sdk/internal/utils/retries.go b/internal/sdk/internal/utils/retries.go index acdb648..73b3f90 100644 --- a/internal/sdk/internal/utils/retries.go +++ b/internal/sdk/internal/utils/retries.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package utils diff --git a/internal/sdk/internal/utils/security.go b/internal/sdk/internal/utils/security.go index d2558cd..ace81f7 100644 --- a/internal/sdk/internal/utils/security.go +++ b/internal/sdk/internal/utils/security.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package utils diff --git a/internal/sdk/internal/utils/utils.go b/internal/sdk/internal/utils/utils.go index adb2f70..50482f2 100644 --- a/internal/sdk/internal/utils/utils.go +++ b/internal/sdk/internal/utils/utils.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package utils diff --git a/internal/sdk/models/errors/sdkerror.go b/internal/sdk/models/errors/sdkerror.go index c633d56..ff3fad6 100644 --- a/internal/sdk/models/errors/sdkerror.go +++ b/internal/sdk/models/errors/sdkerror.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package errors diff --git a/internal/sdk/models/operations/createprice.go b/internal/sdk/models/operations/createprice.go index 6662ea0..971e573 100644 --- a/internal/sdk/models/operations/createprice.go +++ b/internal/sdk/models/operations/createprice.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package operations diff --git a/internal/sdk/models/operations/createproduct.go b/internal/sdk/models/operations/createproduct.go index ecbb649..378a1a4 100644 --- a/internal/sdk/models/operations/createproduct.go +++ b/internal/sdk/models/operations/createproduct.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package operations diff --git a/internal/sdk/models/operations/createtax.go b/internal/sdk/models/operations/createtax.go index 77bd518..44f966c 100644 --- a/internal/sdk/models/operations/createtax.go +++ b/internal/sdk/models/operations/createtax.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package operations diff --git a/internal/sdk/models/operations/deleteprice.go b/internal/sdk/models/operations/deleteprice.go index e3be87e..0bed7f4 100644 --- a/internal/sdk/models/operations/deleteprice.go +++ b/internal/sdk/models/operations/deleteprice.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package operations diff --git a/internal/sdk/models/operations/deleteproduct.go b/internal/sdk/models/operations/deleteproduct.go index 3d37b88..45b0c0f 100644 --- a/internal/sdk/models/operations/deleteproduct.go +++ b/internal/sdk/models/operations/deleteproduct.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package operations diff --git a/internal/sdk/models/operations/deletetax.go b/internal/sdk/models/operations/deletetax.go index 8705589..06aff91 100644 --- a/internal/sdk/models/operations/deletetax.go +++ b/internal/sdk/models/operations/deletetax.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package operations diff --git a/internal/sdk/models/operations/getprice.go b/internal/sdk/models/operations/getprice.go index 954ffed..03d95bd 100644 --- a/internal/sdk/models/operations/getprice.go +++ b/internal/sdk/models/operations/getprice.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package operations diff --git a/internal/sdk/models/operations/getproduct.go b/internal/sdk/models/operations/getproduct.go index 85764ff..4adb565 100644 --- a/internal/sdk/models/operations/getproduct.go +++ b/internal/sdk/models/operations/getproduct.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package operations diff --git a/internal/sdk/models/operations/gettax.go b/internal/sdk/models/operations/gettax.go index 360b7af..df376bb 100644 --- a/internal/sdk/models/operations/gettax.go +++ b/internal/sdk/models/operations/gettax.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package operations diff --git a/internal/sdk/models/operations/options.go b/internal/sdk/models/operations/options.go index d7aa0f7..1001484 100644 --- a/internal/sdk/models/operations/options.go +++ b/internal/sdk/models/operations/options.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package operations diff --git a/internal/sdk/models/operations/patchprice.go b/internal/sdk/models/operations/patchprice.go index 82e0d43..765a8f5 100644 --- a/internal/sdk/models/operations/patchprice.go +++ b/internal/sdk/models/operations/patchprice.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package operations diff --git a/internal/sdk/models/operations/patchproduct.go b/internal/sdk/models/operations/patchproduct.go index 4eca7f2..acbd2b9 100644 --- a/internal/sdk/models/operations/patchproduct.go +++ b/internal/sdk/models/operations/patchproduct.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package operations diff --git a/internal/sdk/models/operations/patchtax.go b/internal/sdk/models/operations/patchtax.go index 1bb2a6c..58cd52b 100644 --- a/internal/sdk/models/operations/patchtax.go +++ b/internal/sdk/models/operations/patchtax.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package operations diff --git a/internal/sdk/models/operations/updateprice.go b/internal/sdk/models/operations/updateprice.go index 41877bb..d1fa949 100644 --- a/internal/sdk/models/operations/updateprice.go +++ b/internal/sdk/models/operations/updateprice.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package operations diff --git a/internal/sdk/models/operations/updateproduct.go b/internal/sdk/models/operations/updateproduct.go index d3e7a0b..408e1fa 100644 --- a/internal/sdk/models/operations/updateproduct.go +++ b/internal/sdk/models/operations/updateproduct.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package operations diff --git a/internal/sdk/models/operations/updatetax.go b/internal/sdk/models/operations/updatetax.go index 2f48985..5e909a3 100644 --- a/internal/sdk/models/operations/updatetax.go +++ b/internal/sdk/models/operations/updatetax.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package operations diff --git a/internal/sdk/models/shared/baserelation.go b/internal/sdk/models/shared/baserelation.go index 4568006..58f1f6a 100644 --- a/internal/sdk/models/shared/baserelation.go +++ b/internal/sdk/models/shared/baserelation.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package shared diff --git a/internal/sdk/models/shared/clienterror.go b/internal/sdk/models/shared/clienterror.go index 2797033..00ac3a2 100644 --- a/internal/sdk/models/shared/clienterror.go +++ b/internal/sdk/models/shared/clienterror.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package shared diff --git a/internal/sdk/models/shared/price.go b/internal/sdk/models/shared/price.go index bcc8f89..990ac5a 100644 --- a/internal/sdk/models/shared/price.go +++ b/internal/sdk/models/shared/price.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package shared diff --git a/internal/sdk/models/shared/pricecomponentrelation.go b/internal/sdk/models/shared/pricecomponentrelation.go index 6794ffd..4ff20ca 100644 --- a/internal/sdk/models/shared/pricecomponentrelation.go +++ b/internal/sdk/models/shared/pricecomponentrelation.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package shared diff --git a/internal/sdk/models/shared/pricecreate.go b/internal/sdk/models/shared/pricecreate.go index 179e653..eea8431 100644 --- a/internal/sdk/models/shared/pricecreate.go +++ b/internal/sdk/models/shared/pricecreate.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package shared diff --git a/internal/sdk/models/shared/pricepatch.go b/internal/sdk/models/shared/pricepatch.go index 069f71a..678d389 100644 --- a/internal/sdk/models/shared/pricepatch.go +++ b/internal/sdk/models/shared/pricepatch.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package shared diff --git a/internal/sdk/models/shared/pricetier.go b/internal/sdk/models/shared/pricetier.go index d493d94..9e02446 100644 --- a/internal/sdk/models/shared/pricetier.go +++ b/internal/sdk/models/shared/pricetier.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package shared diff --git a/internal/sdk/models/shared/pricetierdisplaymode.go b/internal/sdk/models/shared/pricetierdisplaymode.go index 2f5d5a9..bc05506 100644 --- a/internal/sdk/models/shared/pricetierdisplaymode.go +++ b/internal/sdk/models/shared/pricetierdisplaymode.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package shared diff --git a/internal/sdk/models/shared/product.go b/internal/sdk/models/shared/product.go index 4aceced..b3fd4d1 100644 --- a/internal/sdk/models/shared/product.go +++ b/internal/sdk/models/shared/product.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package shared diff --git a/internal/sdk/models/shared/productcreate.go b/internal/sdk/models/shared/productcreate.go index 76df756..d490dce 100644 --- a/internal/sdk/models/shared/productcreate.go +++ b/internal/sdk/models/shared/productcreate.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package shared diff --git a/internal/sdk/models/shared/productpatch.go b/internal/sdk/models/shared/productpatch.go index 461adbe..9a62b51 100644 --- a/internal/sdk/models/shared/productpatch.go +++ b/internal/sdk/models/shared/productpatch.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package shared diff --git a/internal/sdk/models/shared/security.go b/internal/sdk/models/shared/security.go index 8b4480d..91dc71a 100644 --- a/internal/sdk/models/shared/security.go +++ b/internal/sdk/models/shared/security.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package shared diff --git a/internal/sdk/models/shared/servererror.go b/internal/sdk/models/shared/servererror.go index f8bea38..07202f8 100644 --- a/internal/sdk/models/shared/servererror.go +++ b/internal/sdk/models/shared/servererror.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package shared diff --git a/internal/sdk/models/shared/tax.go b/internal/sdk/models/shared/tax.go index 9d0e4be..028dbe8 100644 --- a/internal/sdk/models/shared/tax.go +++ b/internal/sdk/models/shared/tax.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package shared @@ -66,7 +66,7 @@ type Tax struct { ID string `json:"_id"` Active bool `json:"active"` Description *string `json:"description,omitempty"` - Rate string `json:"rate"` + Rate any `json:"rate"` Region Region `json:"region"` Type TaxType `json:"type"` } @@ -92,9 +92,9 @@ func (o *Tax) GetDescription() *string { return o.Description } -func (o *Tax) GetRate() string { +func (o *Tax) GetRate() any { if o == nil { - return "" + return nil } return o.Rate } diff --git a/internal/sdk/models/shared/taxcreate.go b/internal/sdk/models/shared/taxcreate.go index ec3e273..44558c5 100644 --- a/internal/sdk/models/shared/taxcreate.go +++ b/internal/sdk/models/shared/taxcreate.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package shared @@ -65,7 +65,7 @@ func (e *TaxCreateType) UnmarshalJSON(data []byte) error { type TaxCreate struct { Active bool `json:"active"` Description *string `json:"description,omitempty"` - Rate string `json:"rate"` + Rate any `json:"rate"` Region TaxCreateRegion `json:"region"` Type TaxCreateType `json:"type"` } @@ -84,9 +84,9 @@ func (o *TaxCreate) GetDescription() *string { return o.Description } -func (o *TaxCreate) GetRate() string { +func (o *TaxCreate) GetRate() any { if o == nil { - return "" + return nil } return o.Rate } diff --git a/internal/sdk/models/shared/taxpatch.go b/internal/sdk/models/shared/taxpatch.go index a651ccf..fa94ffb 100644 --- a/internal/sdk/models/shared/taxpatch.go +++ b/internal/sdk/models/shared/taxpatch.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package shared @@ -65,7 +65,7 @@ func (e *TaxPatchType) UnmarshalJSON(data []byte) error { type TaxPatch struct { Active *bool `json:"active,omitempty"` Description *string `json:"description,omitempty"` - Rate *string `json:"rate,omitempty"` + Rate any `json:"rate,omitempty"` Region *TaxPatchRegion `json:"region,omitempty"` Type *TaxPatchType `json:"type,omitempty"` } @@ -84,7 +84,7 @@ func (o *TaxPatch) GetDescription() *string { return o.Description } -func (o *TaxPatch) GetRate() *string { +func (o *TaxPatch) GetRate() any { if o == nil { return nil } diff --git a/internal/sdk/price.go b/internal/sdk/price.go index 593b336..7135912 100644 --- a/internal/sdk/price.go +++ b/internal/sdk/price.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package sdk diff --git a/internal/sdk/product.go b/internal/sdk/product.go index f2129be..dbd7487 100644 --- a/internal/sdk/product.go +++ b/internal/sdk/product.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package sdk diff --git a/internal/sdk/retry/config.go b/internal/sdk/retry/config.go index c051b0a..a9b559b 100644 --- a/internal/sdk/retry/config.go +++ b/internal/sdk/retry/config.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package retry diff --git a/internal/sdk/sdk.go b/internal/sdk/sdk.go index 931dcda..8f741a5 100644 --- a/internal/sdk/sdk.go +++ b/internal/sdk/sdk.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package sdk @@ -150,8 +150,8 @@ func New(opts ...SDKOption) *SDK { Language: "go", OpenAPIDocVersion: "1.0.0", SDKVersion: "0.0.1", - GenVersion: "2.379.5", - UserAgent: "speakeasy-sdk/go 0.0.1 2.379.5 1.0.0 github.com/epilot-dev/terraform-provider-epilot-product/internal/sdk", + GenVersion: "2.379.3", + UserAgent: "speakeasy-sdk/go 0.0.1 2.379.3 1.0.0 github.com/epilot-dev/terraform-provider-epilot-product/internal/sdk", Hooks: hooks.New(), }, } diff --git a/internal/sdk/tax.go b/internal/sdk/tax.go index 0061039..e3460e9 100644 --- a/internal/sdk/tax.go +++ b/internal/sdk/tax.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package sdk diff --git a/internal/sdk/types/bigint.go b/internal/sdk/types/bigint.go index 9c6a086..4765ef2 100644 --- a/internal/sdk/types/bigint.go +++ b/internal/sdk/types/bigint.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package types diff --git a/internal/sdk/types/date.go b/internal/sdk/types/date.go index 5b2782f..131f364 100644 --- a/internal/sdk/types/date.go +++ b/internal/sdk/types/date.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package types diff --git a/internal/sdk/types/datetime.go b/internal/sdk/types/datetime.go index 3eff332..c07ddcd 100644 --- a/internal/sdk/types/datetime.go +++ b/internal/sdk/types/datetime.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package types diff --git a/internal/sdk/types/decimal.go b/internal/sdk/types/decimal.go index d8429bc..f7def72 100644 --- a/internal/sdk/types/decimal.go +++ b/internal/sdk/types/decimal.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package types diff --git a/internal/sdk/types/pointers.go b/internal/sdk/types/pointers.go index 950d6a3..1ed80cf 100644 --- a/internal/sdk/types/pointers.go +++ b/internal/sdk/types/pointers.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package types diff --git a/internal/validators/DateValidator.go b/internal/validators/DateValidator.go index 37cfaea..b214431 100644 --- a/internal/validators/DateValidator.go +++ b/internal/validators/DateValidator.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package validators diff --git a/internal/validators/ExactlyOneChild.go b/internal/validators/ExactlyOneChild.go index 1765a3a..dc9cd6a 100644 --- a/internal/validators/ExactlyOneChild.go +++ b/internal/validators/ExactlyOneChild.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package validators diff --git a/internal/validators/JSONParseValidator.go b/internal/validators/JSONParseValidator.go index b8bb96b..cb680b9 100644 --- a/internal/validators/JSONParseValidator.go +++ b/internal/validators/JSONParseValidator.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package validators diff --git a/internal/validators/RFC3339Validator.go b/internal/validators/RFC3339Validator.go index f5e6146..888f85c 100644 --- a/internal/validators/RFC3339Validator.go +++ b/internal/validators/RFC3339Validator.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package validators diff --git a/internal/validators/boolvalidators/not_null.go b/internal/validators/boolvalidators/not_null.go index 6eca17e..de7f756 100644 --- a/internal/validators/boolvalidators/not_null.go +++ b/internal/validators/boolvalidators/not_null.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package boolvalidators diff --git a/internal/validators/float64validators/not_null.go b/internal/validators/float64validators/not_null.go index 8f786d2..fed2c05 100644 --- a/internal/validators/float64validators/not_null.go +++ b/internal/validators/float64validators/not_null.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package float64validators diff --git a/internal/validators/int64validators/not_null.go b/internal/validators/int64validators/not_null.go index 707ff95..c07e1de 100644 --- a/internal/validators/int64validators/not_null.go +++ b/internal/validators/int64validators/not_null.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package int64validators diff --git a/internal/validators/listvalidators/not_null.go b/internal/validators/listvalidators/not_null.go index 9b88e52..f39d6fa 100644 --- a/internal/validators/listvalidators/not_null.go +++ b/internal/validators/listvalidators/not_null.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package listvalidators diff --git a/internal/validators/mapvalidators/not_null.go b/internal/validators/mapvalidators/not_null.go index dc6959e..9cdf99e 100644 --- a/internal/validators/mapvalidators/not_null.go +++ b/internal/validators/mapvalidators/not_null.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package mapvalidators diff --git a/internal/validators/numbervalidators/not_null.go b/internal/validators/numbervalidators/not_null.go index 57d4da0..e2baffe 100644 --- a/internal/validators/numbervalidators/not_null.go +++ b/internal/validators/numbervalidators/not_null.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package numbervalidators diff --git a/internal/validators/objectvalidators/not_null.go b/internal/validators/objectvalidators/not_null.go index bf01894..480ec23 100644 --- a/internal/validators/objectvalidators/not_null.go +++ b/internal/validators/objectvalidators/not_null.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package objectvalidators diff --git a/internal/validators/setvalidators/not_null.go b/internal/validators/setvalidators/not_null.go index f859d64..45369e3 100644 --- a/internal/validators/setvalidators/not_null.go +++ b/internal/validators/setvalidators/not_null.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package setvalidators diff --git a/internal/validators/stringvalidators/not_null.go b/internal/validators/stringvalidators/not_null.go index 1e40ac1..ce5f808 100644 --- a/internal/validators/stringvalidators/not_null.go +++ b/internal/validators/stringvalidators/not_null.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package stringvalidators diff --git a/main.go b/main.go index c2fa702..dfeeb74 100644 --- a/main.go +++ b/main.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. package main diff --git a/product.yaml b/product.yaml index 2120106..681c124 100644 --- a/product.yaml +++ b/product.yaml @@ -434,6 +434,7 @@ components: - AT - CH rate: + x-speakeasy-type-override: any type: string type: type: string diff --git a/tools/tools.go b/tools/tools.go index 36b2580..08da0fd 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -1,4 +1,4 @@ -// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. //go:build tools