moov_ruby 0.3.14 → 0.3.15

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: 91c583ee1ffc982a3b37616561addc58bf9b35c5f77014682ca6baef6fc61613
4
- data.tar.gz: bf1a511dd7739c8dc31d8efb7c29a1ccd7525830698839e36605e085986197ae
3
+ metadata.gz: 16e0d5d4ee94d1eba0152f82c407c3c5a9d1b68b80bd7df63a1ea6e56bd362f6
4
+ data.tar.gz: b95e61ff7709398f5d3352efb85c6cef78eea8f4476c8e10cc0b06979d7719e9
5
5
  SHA512:
6
- metadata.gz: c03f2058f50d91abe4e602a499bb22ec4bbf33619fbd5a5146f633e32ced87e6a21f6a6c3148a7b42c7230680d2d4bfe622756a08d43e637c0a032e8fc5f79f1
7
- data.tar.gz: 2835f0a1df85b19f00b98635cb9bc80d18104e22ebf3cee0f79412ec5885564727c240c1abe7867c480b6b9d944ebe16ac769afcaf440ba3091fc9831c12bbee
6
+ metadata.gz: ff0b1e8e419bf9ca42a4823330734b3b10df0df293d588ce6eca4ca5aa3db0590c1950eec2c7a53f95b7163c97ea413de7b0a55d712c90ce6745cdee276a90d3
7
+ data.tar.gz: efe884775ebf4fa8114d8a4b11f0ecd24700adbf6db5b44689d57f976763f841ae80440796297912bed87991452ed7f1a1cb0a481f3f9373d9d2906690d06c99
@@ -13,26 +13,26 @@ module Moov
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
15
15
 
16
- # Total partner fees.
17
- field :total, Models::Components::BillingCountAndAmount, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('total'), required: true } }
18
16
  # The minimum spending amount that must be met in the billing period. If actual usage is below the minimum amount, account is charged the difference.
19
- field :minimum_commitment, Crystalline::Nilable.new(Models::Components::BillingCountAndAmount), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('minimumCommitment') } }
17
+ field :minimum_commitment, Models::Components::AmountDecimal, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('minimumCommitment'), required: true } }
20
18
  # Fixed recurring fee for the billing period regardless of usage.
21
- field :monthly_platform, Crystalline::Nilable.new(Models::Components::BillingCountAndAmount), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('monthlyPlatform') } }
19
+ field :monthly_platform, Models::Components::AmountDecimal, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('monthlyPlatform'), required: true } }
20
+ # Total partner fees.
21
+ field :total, Models::Components::AmountDecimal, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('total'), required: true } }
22
22
 
23
- sig { params(total: Models::Components::BillingCountAndAmount, minimum_commitment: T.nilable(Models::Components::BillingCountAndAmount), monthly_platform: T.nilable(Models::Components::BillingCountAndAmount)).void }
24
- def initialize(total:, minimum_commitment: nil, monthly_platform: nil)
25
- @total = total
23
+ sig { params(minimum_commitment: Models::Components::AmountDecimal, monthly_platform: Models::Components::AmountDecimal, total: Models::Components::AmountDecimal).void }
24
+ def initialize(minimum_commitment:, monthly_platform:, total:)
26
25
  @minimum_commitment = minimum_commitment
27
26
  @monthly_platform = monthly_platform
27
+ @total = total
28
28
  end
29
29
 
30
30
  sig { params(other: T.untyped).returns(T::Boolean) }
31
31
  def ==(other)
32
32
  return false unless other.is_a? self.class
33
- return false unless @total == other.total
34
33
  return false unless @minimum_commitment == other.minimum_commitment
35
34
  return false unless @monthly_platform == other.monthly_platform
35
+ return false unless @total == other.total
36
36
  true
37
37
  end
38
38
  end
@@ -8,10 +8,10 @@ end
8
8
 
9
9
 
10
10
  class Moov::Models::Components::PartnerFees
11
- def total(); end
12
- def total=(str_); end
13
11
  def minimum_commitment(); end
14
12
  def minimum_commitment=(str_); end
15
13
  def monthly_platform(); end
16
14
  def monthly_platform=(str_); end
15
+ def total(); end
16
+ def total=(str_); end
17
17
  end
@@ -95,9 +95,9 @@ module Moov
95
95
  @globals = globals.nil? ? {} : globals
96
96
  @language = 'ruby'
97
97
  @openapi_doc_version = 'latest'
98
- @sdk_version = '0.3.14'
98
+ @sdk_version = '0.3.15'
99
99
  @gen_version = '2.781.2'
100
- @user_agent = 'speakeasy-sdk/ruby 0.3.14 2.781.2 latest moov_ruby'
100
+ @user_agent = 'speakeasy-sdk/ruby 0.3.15 2.781.2 latest moov_ruby'
101
101
  end
102
102
 
103
103
  sig { returns([String, T::Hash[Symbol, String]]) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moov_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.14
4
+ version: 0.3.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Speakeasy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-13 00:00:00.000000000 Z
11
+ date: 2025-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64