schematichq 1.4.6 → 1.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6229824d941e4fc71c6c6c7bd9849d843c8aaee72140238da1b24084abe2c4e6
4
- data.tar.gz: ed47a6602419d5d1b74f5d2513cdf9c1dc40651418285833b5f7672e8fbaeb46
3
+ metadata.gz: 147ed2b231e426be9baeb193b6df03a45085146282a4aeca5458de1e69961c9a
4
+ data.tar.gz: d9fec704e684f3afbedbd53bb6dd8ff3c6d6fd8f57a264b7436b6d9b1f086faa
5
5
  SHA512:
6
- metadata.gz: fba8e4ee8af143a05af7c33950fb3b977db5aa634df7a469f6a67e2697d0b53ad88e94d7e485f5fb14d55f1bb6684dcb60b192d88c2be3e3cf650ef08bb95670
7
- data.tar.gz: 7c7ba025d48148e3720c059526eb969a3a0f83ae5994c3ad657dc3d88e43954993eb074bae4b21b0c199837d3021ac192d716873963a09739a456f524bb5e471
6
+ metadata.gz: a6870cce9b8a40d6cd349c00501c7bed7bffc544fc33dbcc921325e729d58d0b4c64608cdf9dc4a85c6e412596364a386659b7dedca44dbaeb0acf0dd02b2a46
7
+ data.tar.gz: 0dab7ee072ece36d58913ae28968ca640033e1c4e76e644584e960a53122bbe1883f338291984f3730ab49c661fd81d66aa6d1e24f98f5948d6630354af15b5a
data/.fern/metadata.json CHANGED
@@ -13,6 +13,6 @@
13
13
  "webrick": ">= 1.0"
14
14
  }
15
15
  },
16
- "originGitCommit": "26286134afce586aa5dbd02bffc9f25da6217032",
17
- "sdkVersion": "1.4.6"
16
+ "originGitCommit": "deb8532a1f84f6daa08b5c611a66a5ec92f53f0e",
17
+ "sdkVersion": "1.4.7"
18
18
  }
@@ -5,6 +5,7 @@ module Schematic
5
5
  module Types
6
6
  class CheckoutDataRequestBody < Internal::Types::Model
7
7
  field :company_id, -> { String }, optional: false, nullable: false
8
+ field :currency, -> { String }, optional: true, nullable: false
8
9
  field :selected_plan_id, -> { String }, optional: true, nullable: false
9
10
  end
10
11
  end
@@ -10,7 +10,7 @@ module Schematic
10
10
  @raw_client = Schematic::Internal::Http::RawClient.new(
11
11
  base_url: base_url || Schematic::Environment::DEFAULT,
12
12
  headers: {
13
- "User-Agent" => "schematichq/1.4.6",
13
+ "User-Agent" => "schematichq/1.4.7",
14
14
  "X-Fern-Language" => "Ruby",
15
15
  "X-Schematic-Api-Key" => api_key.to_s
16
16
  }
@@ -6,6 +6,7 @@ module Schematic
6
6
  class PublishPlanVersionRequestBody < Internal::Types::Model
7
7
  field :plan_id, -> { String }, optional: false, nullable: false
8
8
  field :activation_strategy, -> { Schematic::Types::CustomPlanActivationStrategy }, optional: true, nullable: false
9
+ field :coupon_external_id, -> { String }, optional: true, nullable: false
9
10
  field :customer_email, -> { String }, optional: true, nullable: false
10
11
  field :days_until_due, -> { Integer }, optional: true, nullable: false
11
12
  field :excluded_company_ids, -> { Internal::Types::Array[String] }, optional: false, nullable: false
@@ -17,6 +17,7 @@ module Schematic
17
17
  field :created_at, -> { String }, optional: false, nullable: false
18
18
  field :environment_id, -> { String }, optional: false, nullable: false
19
19
  field :id, -> { String }, optional: false, nullable: false
20
+ field :integration, -> { Schematic::Types::IntegrationResponseData }, optional: true, nullable: false
20
21
  field :is_version_upgrade, -> { Internal::Types::Boolean }, optional: false, nullable: false
21
22
  field :previous_base_plan, -> { Schematic::Types::PlanSnapshotView }, optional: true, nullable: false
22
23
  field :previous_base_plan_version, -> { Schematic::Types::PlanVersionSnapshotView }, optional: true, nullable: false
@@ -5,7 +5,7 @@ module Schematic
5
5
  module RulesEngineSchemaVersion
6
6
  extend Schematic::Internal::Types::Enum
7
7
 
8
- V_97288_F_60 = "v97288f60"
8
+ V_5_B_3_E_7220 = "v5b3e7220"
9
9
  PLACEHOLDER_FOR_FERN_COMPATIBILITY = "placeholder-for-fern-compatibility"
10
10
  end
11
11
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Schematic
4
- VERSION = "1.4.6"
4
+ VERSION = "1.4.7"
5
5
  end
data/lib/schematic.rb CHANGED
@@ -329,6 +329,7 @@ require_relative "schematic/companies/types/get_entity_trait_values_response"
329
329
  require_relative "schematic/types/plan_change_action"
330
330
  require_relative "schematic/types/plan_change_base_plan_action"
331
331
  require_relative "schematic/companies/types/list_plan_changes_params"
332
+ require_relative "schematic/types/integration_response_data"
332
333
  require_relative "schematic/types/plan_change_subscription_action"
333
334
  require_relative "schematic/types/plan_snapshot_view"
334
335
  require_relative "schematic/types/plan_version_snapshot_view"
@@ -550,7 +551,6 @@ require_relative "schematic/types/integration_webhook_url_response_data"
550
551
  require_relative "schematic/integrationsapi/types/get_integration_webhook_url_response"
551
552
  require_relative "schematic/types/company_matching_criteria"
552
553
  require_relative "schematic/types/integration_install_config"
553
- require_relative "schematic/types/integration_response_data"
554
554
  require_relative "schematic/types/integration_install_response_data"
555
555
  require_relative "schematic/integrationsapi/types/install_integration_response"
556
556
  require_relative "schematic/integrationsapi/types/start_data_import_response"
data/reference.md CHANGED
@@ -6490,6 +6490,14 @@ client.checkout.get_checkout_data(company_id: "company_id")
6490
6490
  <dl>
6491
6491
  <dd>
6492
6492
 
6493
+ **currency:** `String`
6494
+
6495
+ </dd>
6496
+ </dl>
6497
+
6498
+ <dl>
6499
+ <dd>
6500
+
6493
6501
  **selected_plan_id:** `String`
6494
6502
 
6495
6503
  </dd>
@@ -13698,6 +13706,14 @@ client.plans.publish_plan_version(
13698
13706
  <dl>
13699
13707
  <dd>
13700
13708
 
13709
+ **coupon_external_id:** `String`
13710
+
13711
+ </dd>
13712
+ </dl>
13713
+
13714
+ <dl>
13715
+ <dd>
13716
+
13701
13717
  **customer_email:** `String`
13702
13718
 
13703
13719
  </dd>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schematichq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.6
4
+ version: 1.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Schematic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-06-22 00:00:00.000000000 Z
11
+ date: 2026-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: wasmtime