Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .fern/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"webrick": ">= 1.0"
}
},
"originGitCommit": "26286134afce586aa5dbd02bffc9f25da6217032",
"sdkVersion": "1.4.6"
"originGitCommit": "deb8532a1f84f6daa08b5c611a66a5ec92f53f0e",
"sdkVersion": "1.4.7"
}
16 changes: 8 additions & 8 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
schematichq (1.4.6)
schematichq (1.4.7)
wasmtime (>= 19.0)
websocket (>= 1.2)

Expand All @@ -18,7 +18,7 @@ GEM
rexml
hashdiff (1.2.1)
io-console (0.8.2)
json (2.19.9)
json (2.20.0)
language_server-protocol (3.17.0.5)
lint_roller (1.1.0)
method_source (1.1.0)
Expand Down Expand Up @@ -64,12 +64,12 @@ GEM
unicode-display_width (3.2.0)
unicode-emoji (~> 4.1)
unicode-emoji (4.2.0)
wasmtime (45.0.0-aarch64-linux)
wasmtime (45.0.0-aarch64-linux-musl)
wasmtime (45.0.0-arm64-darwin)
wasmtime (45.0.0-x86_64-darwin)
wasmtime (45.0.0-x86_64-linux)
wasmtime (45.0.0-x86_64-linux-musl)
wasmtime (46.0.0-aarch64-linux)
wasmtime (46.0.0-aarch64-linux-musl)
wasmtime (46.0.0-arm64-darwin)
wasmtime (46.0.0-x86_64-darwin)
wasmtime (46.0.0-x86_64-linux)
wasmtime (46.0.0-x86_64-linux-musl)
webmock (3.26.2)
addressable (>= 2.8.0)
crack (>= 0.3.2)
Expand Down
2 changes: 1 addition & 1 deletion lib/schematic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@
require_relative "schematic/types/plan_change_action"
require_relative "schematic/types/plan_change_base_plan_action"
require_relative "schematic/companies/types/list_plan_changes_params"
require_relative "schematic/types/integration_response_data"
require_relative "schematic/types/plan_change_subscription_action"
require_relative "schematic/types/plan_snapshot_view"
require_relative "schematic/types/plan_version_snapshot_view"
Expand Down Expand Up @@ -550,7 +551,6 @@
require_relative "schematic/integrationsapi/types/get_integration_webhook_url_response"
require_relative "schematic/types/company_matching_criteria"
require_relative "schematic/types/integration_install_config"
require_relative "schematic/types/integration_response_data"
require_relative "schematic/types/integration_install_response_data"
require_relative "schematic/integrationsapi/types/install_integration_response"
require_relative "schematic/integrationsapi/types/start_data_import_response"
Expand Down
1 change: 1 addition & 0 deletions lib/schematic/checkout/types/checkout_data_request_body.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module Checkout
module Types
class CheckoutDataRequestBody < Internal::Types::Model
field :company_id, -> { String }, optional: false, nullable: false
field :currency, -> { String }, optional: true, nullable: false
field :selected_plan_id, -> { String }, optional: true, nullable: false
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/schematic/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def initialize(api_key:, base_url: nil)
@raw_client = Schematic::Internal::Http::RawClient.new(
base_url: base_url || Schematic::Environment::DEFAULT,
headers: {
"User-Agent" => "schematichq/1.4.6",
"User-Agent" => "schematichq/1.4.7",
"X-Fern-Language" => "Ruby",
"X-Schematic-Api-Key" => api_key.to_s
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module Types
class PublishPlanVersionRequestBody < Internal::Types::Model
field :plan_id, -> { String }, optional: false, nullable: false
field :activation_strategy, -> { Schematic::Types::CustomPlanActivationStrategy }, optional: true, nullable: false
field :coupon_external_id, -> { String }, optional: true, nullable: false
field :customer_email, -> { String }, optional: true, nullable: false
field :days_until_due, -> { Integer }, optional: true, nullable: false
field :excluded_company_ids, -> { Internal::Types::Array[String] }, optional: false, nullable: false
Expand Down
1 change: 1 addition & 0 deletions lib/schematic/types/plan_change_response_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class PlanChangeResponseData < Internal::Types::Model
field :created_at, -> { String }, optional: false, nullable: false
field :environment_id, -> { String }, optional: false, nullable: false
field :id, -> { String }, optional: false, nullable: false
field :integration, -> { Schematic::Types::IntegrationResponseData }, optional: true, nullable: false
field :is_version_upgrade, -> { Internal::Types::Boolean }, optional: false, nullable: false
field :previous_base_plan, -> { Schematic::Types::PlanSnapshotView }, optional: true, nullable: false
field :previous_base_plan_version, -> { Schematic::Types::PlanVersionSnapshotView }, optional: true, nullable: false
Expand Down
2 changes: 1 addition & 1 deletion lib/schematic/types/rules_engine_schema_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Types
module RulesEngineSchemaVersion
extend Schematic::Internal::Types::Enum

V_97288_F_60 = "v97288f60"
V_5_B_3_E_7220 = "v5b3e7220"
PLACEHOLDER_FOR_FERN_COMPATIBILITY = "placeholder-for-fern-compatibility"
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/schematic/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Schematic
VERSION = "1.4.6"
VERSION = "1.4.7"
end
16 changes: 16 additions & 0 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -6490,6 +6490,14 @@ client.checkout.get_checkout_data(company_id: "company_id")
<dl>
<dd>

**currency:** `String`

</dd>
</dl>

<dl>
<dd>

**selected_plan_id:** `String`

</dd>
Expand Down Expand Up @@ -13698,6 +13706,14 @@ client.plans.publish_plan_version(
<dl>
<dd>

**coupon_external_id:** `String`

</dd>
</dl>

<dl>
<dd>

**customer_email:** `String`

</dd>
Expand Down