moov_ruby 25.11.8 → 25.11.10

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: dce303acbadac818af53dc3957a6bd7561c057819d6cb80b90e37fd192871aae
4
- data.tar.gz: a90d81f26b5d8077585a6993c368b665b663e44f2e191811ae1db17199b70783
3
+ metadata.gz: c8c8f668b53625ed96c6c6ebfc730836b413d421f4190273653fbf78f5e65988
4
+ data.tar.gz: 2b8bdd67121c869749b0a9041be280eea2d740855dff540776b99afdb06e1afb
5
5
  SHA512:
6
- metadata.gz: 766a1d3680b2434f70bea6e7c8bda0786dae2dc93e6d0a8eccb079c738282e5d7c7b957414e3066e6c32e0b61a084b721b698da6b1b88862809a0e725c6d939c
7
- data.tar.gz: 50f00b2a08509a5d306525377e22d5e2b9850ae03e7f6a81825430c8a5ad5b5b5593090f2db066d6b2ce7e36761b5083e4ba1ad1192605c4e6482aa3495c1c88
6
+ metadata.gz: ce113d23ac86042f8dec5de66bc720c862a1ce0cfc9dac59766ee2a60198dc853c8bdb22ed5140db7b4841d952fd1df0c0db3135a196c41e3fd8cd8f3366384e
7
+ data.tar.gz: 1859dd79743dcec34499b9f60092bf829370d354410c4b8cb714020dc1d6c45ec47a44056b53742f6096e01cc39b471769d172362e9b636af3c94bad7386270d
@@ -46,7 +46,7 @@ module Moov
46
46
  # link - Link a bank account to an existing Moov account. Read our [bank accounts guide](https://docs.moov.io/guides/sources/bank-accounts/) to learn more.
47
47
  #
48
48
  # It is strongly recommended that callers include the `X-Wait-For` header, set to `payment-method`, if the newly linked
49
- # bank-account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment
49
+ # bank account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment
50
50
  # Methods](https://docs.moov.io/api/sources/payment-methods/list/)
51
51
  # endpoint to wait for the new payment methods to be available for use.
52
52
  #
@@ -32,6 +32,7 @@ module Moov
32
32
  WALLET = new('wallet')
33
33
  WALLET_BALANCE = new('wallet.balance')
34
34
  CARD_ISSUING = new('card-issuing')
35
+ ISSUING_CARDHOLDER = new('issuing.cardholder')
35
36
  PRODUCTION_APP = new('production-app')
36
37
  PLATFORM_PRODUCTION_APP = new('platform.production-app')
37
38
  PLATFORM_WALLET_TRANSFERS = new('platform.wallet-transfers')
@@ -32,9 +32,11 @@ module Moov
32
32
  field :declines, Crystalline::Nilable.new(Models::Components::BillingCountAndAmount), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('declines') } }
33
33
  # Details of refunded transactions.
34
34
  field :refunds, Crystalline::Nilable.new(Models::Components::BillingCountAndAmount), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('refunds') } }
35
+ # Details of card cancellations.
36
+ field :card_cancellations, Crystalline::Nilable.new(Models::Components::BillingCountAndAmount), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cardCancellations') } }
35
37
 
36
- sig { params(total: Models::Components::BillingCountAndAmount, interchange: T.nilable(Models::Components::BillingCountAndAmount), interchange_programs: T.nilable(T::Array[Models::Components::BillingInterchangeProgramFee]), network_passthrough: T.nilable(Models::Components::BillingCountAndAmount), completed_domestic_online: T.nilable(Models::Components::BillingCountAndAmount), completed_domestic_in_person: T.nilable(Models::Components::BillingCountAndAmount), completed_international_online: T.nilable(Models::Components::BillingCountAndAmount), completed_international_in_person: T.nilable(Models::Components::BillingCountAndAmount), declines: T.nilable(Models::Components::BillingCountAndAmount), refunds: T.nilable(Models::Components::BillingCountAndAmount)).void }
37
- def initialize(total:, interchange: nil, interchange_programs: nil, network_passthrough: nil, completed_domestic_online: nil, completed_domestic_in_person: nil, completed_international_online: nil, completed_international_in_person: nil, declines: nil, refunds: nil)
38
+ sig { params(total: Models::Components::BillingCountAndAmount, interchange: T.nilable(Models::Components::BillingCountAndAmount), interchange_programs: T.nilable(T::Array[Models::Components::BillingInterchangeProgramFee]), network_passthrough: T.nilable(Models::Components::BillingCountAndAmount), completed_domestic_online: T.nilable(Models::Components::BillingCountAndAmount), completed_domestic_in_person: T.nilable(Models::Components::BillingCountAndAmount), completed_international_online: T.nilable(Models::Components::BillingCountAndAmount), completed_international_in_person: T.nilable(Models::Components::BillingCountAndAmount), declines: T.nilable(Models::Components::BillingCountAndAmount), refunds: T.nilable(Models::Components::BillingCountAndAmount), card_cancellations: T.nilable(Models::Components::BillingCountAndAmount)).void }
39
+ def initialize(total:, interchange: nil, interchange_programs: nil, network_passthrough: nil, completed_domestic_online: nil, completed_domestic_in_person: nil, completed_international_online: nil, completed_international_in_person: nil, declines: nil, refunds: nil, card_cancellations: nil)
38
40
  @total = total
39
41
  @interchange = interchange
40
42
  @interchange_programs = interchange_programs
@@ -45,6 +47,7 @@ module Moov
45
47
  @completed_international_in_person = completed_international_in_person
46
48
  @declines = declines
47
49
  @refunds = refunds
50
+ @card_cancellations = card_cancellations
48
51
  end
49
52
 
50
53
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -60,6 +63,7 @@ module Moov
60
63
  return false unless @completed_international_in_person == other.completed_international_in_person
61
64
  return false unless @declines == other.declines
62
65
  return false unless @refunds == other.refunds
66
+ return false unless @card_cancellations == other.card_cancellations
63
67
  true
64
68
  end
65
69
  end
@@ -28,4 +28,6 @@ class Moov::Models::Components::CardBrandFees
28
28
  def declines=(str_); end
29
29
  def refunds(); end
30
30
  def refunds=(str_); end
31
+ def card_cancellations(); end
32
+ def card_cancellations=(str_); end
31
33
  end
@@ -24,10 +24,8 @@ module Moov
24
24
  field :funding_wallet_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('fundingWalletID'), required: true } }
25
25
  # The `state` represents the operational status of an issued card. A card can only approve incoming authorizations if it is in an active state.
26
26
  #
27
- # - `active`: The card is operational and approves authorizations. Generally becomes active shortly after card creation.
28
- # - `inactive`: The card cannot approve authorizations. This is currently a temporary state assigned post-creation during the activation process.
27
+ # - `active`: The card is operational and can approve authorizations.
29
28
  # - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
30
- # - `pending-verification`: Awaiting additional authorized user verification before the card can be activated.
31
29
  field :state, Models::Components::IssuedCardState, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('state'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::IssuedCardState, false) } }
32
30
  # Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
33
31
  field :form_factor, Models::Components::IssuedCardFormFactor, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('formFactor'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::IssuedCardFormFactor, false) } }
@@ -24,10 +24,8 @@ module Moov
24
24
  field :funding_wallet_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('fundingWalletID'), required: true } }
25
25
  # The `state` represents the operational status of an issued card. A card can only approve incoming authorizations if it is in an active state.
26
26
  #
27
- # - `active`: The card is operational and approves authorizations. Generally becomes active shortly after card creation.
28
- # - `inactive`: The card cannot approve authorizations. This is currently a temporary state assigned post-creation during the activation process.
27
+ # - `active`: The card is operational and can approve authorizations.
29
28
  # - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
30
- # - `pending-verification`: Awaiting additional authorized user verification before the card can be activated.
31
29
  field :state, Models::Components::IssuedCardState, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('state'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::IssuedCardState, false) } }
32
30
  # Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
33
31
  field :form_factor, Models::Components::IssuedCardFormFactor, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('formFactor'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::IssuedCardFormFactor, false) } }
@@ -9,15 +9,11 @@ module Moov
9
9
  module Components
10
10
  # IssuedCardState - The `state` represents the operational status of an issued card. A card can only approve incoming authorizations if it is in an active state.
11
11
  #
12
- # - `active`: The card is operational and approves authorizations. Generally becomes active shortly after card creation.
13
- # - `inactive`: The card cannot approve authorizations. This is currently a temporary state assigned post-creation during the activation process.
12
+ # - `active`: The card is operational and can approve authorizations.
14
13
  # - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
15
- # - `pending-verification`: Awaiting additional authorized user verification before the card can be activated.
16
14
  class IssuedCardState < T::Enum
17
15
  enums do
18
16
  ACTIVE = new('active')
19
- INACTIVE = new('inactive')
20
- PENDING_VERIFICATION = new('pending-verification')
21
17
  CLOSED = new('closed')
22
18
  end
23
19
  end
@@ -14,7 +14,7 @@ module Moov
14
14
 
15
15
  # The date and time the terms of service were accepted.
16
16
  field :accepted_date, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('acceptedDate'), required: true, 'decoder': ::Moov::Utils.datetime_from_iso_format(false) } }
17
- # The IP address from which the terms of service were accepted.
17
+ # The IP address (IPv4 or IPv6) from which the terms of service were accepted.
18
18
  field :accepted_ip, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('acceptedIP'), required: true } }
19
19
  # The user-agent of the user making the request.
20
20
  field :accepted_user_agent, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('acceptedUserAgent'), required: true } }
@@ -14,7 +14,7 @@ module Moov
14
14
 
15
15
  # The date and time the terms of service were accepted.
16
16
  field :accepted_date, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('acceptedDate'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
17
- # The IP address from which the terms of service were accepted.
17
+ # The IP address (IPv4 or IPv6) from which the terms of service were accepted.
18
18
  field :accepted_ip, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('acceptedIP') } }
19
19
  # The user-agent of the user making the request.
20
20
  field :accepted_user_agent, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('acceptedUserAgent') } }
@@ -14,7 +14,7 @@ module Moov
14
14
 
15
15
  # Optional alias from a foreign/external system which can be used to reference this resource.
16
16
  field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
17
-
17
+ # Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
18
18
  field :metadata, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('metadata') } }
19
19
 
20
20
  sig { params(foreign_id: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String])).void }
@@ -14,7 +14,7 @@ module Moov
14
14
 
15
15
  # The date and time the terms of service were accepted.
16
16
  field :accepted_date, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('acceptedDate'), required: true, 'decoder': ::Moov::Utils.datetime_from_iso_format(false) } }
17
- # The IP address from which the terms of service were accepted.
17
+ # The IP address (IPv4 or IPv6) from which the terms of service were accepted.
18
18
  field :accepted_ip, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('acceptedIP'), required: true } }
19
19
 
20
20
  sig { params(accepted_date: ::DateTime, accepted_ip: ::String).void }
@@ -19,7 +19,7 @@ module Moov
19
19
  # Optional header to wait for certain events, such as the creation of a payment method, to occur before returning a response.
20
20
  #
21
21
  # When this header is set to `payment-method`, the response will include any payment methods that were created for the newly
22
- # linked card in the `paymentMethods` field. Otherwise, the `paymentMethods` field will be omitted from the response.
22
+ # linked bank account in the `paymentMethods` field. Otherwise, the `paymentMethods` field will be omitted from the response.
23
23
  field :x_wait_for, Crystalline::Nilable.new(Models::Components::BankAccountWaitFor), { 'header': { 'field_name': 'x-wait-for', 'style': 'simple', 'explode': false } }
24
24
 
25
25
  sig { params(account_id: ::String, link_bank_account: T.any(Models::Components::BankAccountPayload, Models::Components::PlaidPayload, Models::Components::PlaidLinkPayload, Models::Components::MxPayload), x_wait_for: T.nilable(Models::Components::BankAccountWaitFor)).void }
@@ -18,7 +18,7 @@ module Moov
18
18
  field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
19
19
 
20
20
  field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
21
- # Optional, comma-separated states to filter the Moov list issued cards response. For example `active,pending-verification`
21
+ # Optional, comma-separated states to filter the Moov list issued cards response. For example `active,closed`
22
22
  field :states, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::IssuedCardState)), { 'query_param': { 'field_name': 'states', 'style': 'form', 'explode': false } }
23
23
 
24
24
  sig { params(account_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), states: T.nilable(T::Array[Models::Components::IssuedCardState])).void }
@@ -88,9 +88,9 @@ module Moov
88
88
  end
89
89
  @language = 'ruby'
90
90
  @openapi_doc_version = 'v2025.10.00'
91
- @sdk_version = '25.11.8'
92
- @gen_version = '2.910.1'
93
- @user_agent = 'speakeasy-sdk/ruby 25.11.8 2.910.1 v2025.10.00 moov_ruby'
91
+ @sdk_version = '25.11.10'
92
+ @gen_version = '2.917.0'
93
+ @user_agent = 'speakeasy-sdk/ruby 25.11.10 2.917.0 v2025.10.00 moov_ruby'
94
94
  end
95
95
 
96
96
  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: 25.11.8
4
+ version: 25.11.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Speakeasy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-18 00:00:00.000000000 Z
11
+ date: 2026-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: 2.14.1
39
+ version: 2.14.3
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: 2.14.1
46
+ version: 2.14.3
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: faraday-multipart
49
49
  requirement: !ruby/object:Gem::Requirement