moov_ruby 25.11.19 → 25.11.21

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.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/lib/moov/card_issuing.rb +2 -8
  3. data/lib/moov/models/components/capability.rb +2 -0
  4. data/lib/moov/models/components/capabilityid.rb +2 -0
  5. data/lib/moov/models/components/createsweepconfig.rb +6 -2
  6. data/lib/moov/models/components/createsweepconfig.rbi +2 -0
  7. data/lib/moov/models/components/fullissuedcard.rb +6 -4
  8. data/lib/moov/models/components/issuedcard.rb +6 -4
  9. data/lib/moov/models/components/issuedcardauthorization.rb +6 -2
  10. data/lib/moov/models/components/issuedcardauthorization.rbi +2 -0
  11. data/lib/moov/models/components/issuedcardstate.rb +6 -4
  12. data/lib/moov/models/components/issuedcardtransaction.rb +6 -2
  13. data/lib/moov/models/components/issuedcardtransaction.rbi +2 -0
  14. data/lib/moov/models/components/patchsweepconfig.rb +6 -2
  15. data/lib/moov/models/components/patchsweepconfig.rbi +2 -0
  16. data/lib/moov/models/components/schedule.rb +40 -0
  17. data/lib/moov/models/components/schedule.rbi +17 -0
  18. data/lib/moov/models/components/sweepconfig.rb +6 -2
  19. data/lib/moov/models/components/sweepconfig.rbi +2 -0
  20. data/lib/moov/models/components/sweepconfigschedule.rb +40 -0
  21. data/lib/moov/models/components/sweepconfigschedule.rbi +17 -0
  22. data/lib/moov/models/components/sweepconfigscheduleerror.rb +40 -0
  23. data/lib/moov/models/components/sweepconfigscheduleerror.rbi +17 -0
  24. data/lib/moov/models/components/sweepschedulefrequency.rb +18 -0
  25. data/lib/moov/models/components/sweepschedulefrequency.rbi +11 -0
  26. data/lib/moov/models/components/updateissuedcard.rb +3 -3
  27. data/lib/moov/models/components/updateissuedcardstate.rb +3 -3
  28. data/lib/moov/models/components/upsertunderwriting.rb +1 -1
  29. data/lib/moov/models/components/webhookdatacapabilityrequested.rb +2 -0
  30. data/lib/moov/models/components/webhookdatacapabilityupdated.rb +2 -0
  31. data/lib/moov/models/components.rb +4 -0
  32. data/lib/moov/models/errors/createsweepconfigerror.rb +6 -2
  33. data/lib/moov/models/errors/createsweepconfigerror.rbi +2 -0
  34. data/lib/moov/models/errors/listtransfersvalidationerror.rb +6 -2
  35. data/lib/moov/models/errors/listtransfersvalidationerror.rbi +2 -0
  36. data/lib/moov/models/errors/patchsweepconfigerror.rb +6 -2
  37. data/lib/moov/models/errors/patchsweepconfigerror.rbi +2 -0
  38. data/lib/moov/models/operations/createcancellation_request.rb +7 -2
  39. data/lib/moov/models/operations/createcancellation_request.rbi +2 -0
  40. data/lib/moov/models/operations/disablecapability_request.rb +2 -0
  41. data/lib/moov/models/operations/getcapability_request.rb +2 -0
  42. data/lib/moov/models/operations/initiaterefund_request.rb +1 -1
  43. data/lib/moov/models/operations/listissuedcardauthorizations_request.rb +6 -2
  44. data/lib/moov/models/operations/listissuedcardauthorizations_request.rbi +2 -0
  45. data/lib/moov/models/operations/listissuedcards_request.rb +6 -2
  46. data/lib/moov/models/operations/listissuedcards_request.rbi +2 -0
  47. data/lib/moov/models/operations/listissuedcardtransactions_request.rb +6 -2
  48. data/lib/moov/models/operations/listissuedcardtransactions_request.rbi +2 -0
  49. data/lib/moov/models/operations/listtransfers_request.rb +7 -2
  50. data/lib/moov/models/operations/listtransfers_request.rbi +2 -0
  51. data/lib/moov/models/operations/listtransfers_response.rb +1 -1
  52. data/lib/moov/sdkconfiguration.rb +3 -3
  53. data/lib/moov/transfers.rb +12 -5
  54. metadata +10 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 26fb56d97d8739c7242b4ba898bf5bdd70c0fb45db9700602839cc1e2f343844
4
- data.tar.gz: c5611e767b5a14bfb148c0dae1c8fcdd33fdd8c16cd104aac8344c178afa58d8
3
+ metadata.gz: 2ac4dd8dcd30a9da295819f9c1a72c905cb35fa1234291d062d02784d3194255
4
+ data.tar.gz: de64973c7e432efc45bbc7cdedd35791ce54dbb7e24f05fbba6e1fea88965d31
5
5
  SHA512:
6
- metadata.gz: 305246ca3b84472a83f38e44bd82a94d645649ca4d4bf9785cabe99b700d0e3ab25c43e4603dde9cb50b73385a8c23fc7e5210f67d545d94cd95ee6589609db0
7
- data.tar.gz: b20a2b4e4d8bebb101bf91769a4338ae6077398b3db80c9eb7a98202f14e7fe138a939616232e000591f2954178d1f1657449bdf3e29f4751f457331bff4722d
6
+ metadata.gz: a88a1942a25a8a40a941618e631b6c0f296459d04b5ccee46637076390e560739a6f5a86b3c42d9acf8910a76440da5947ca31febef9072ddef2fe74c797c18a
7
+ data.tar.gz: 3a87026ff6c65e148854ce0634cc5fc47715f65f2937f35b9a87f5250fc68168960f4d31bb8b50c0295dd4cec476888650b0175518b65e3f8cb7908b21ce6713
@@ -206,18 +206,12 @@ module Moov
206
206
  end
207
207
 
208
208
 
209
- sig { params(account_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), states: T.nilable(T::Array[Models::Components::IssuedCardState]), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListIssuedCardsResponse) }
210
- def list(account_id:, skip: nil, count: nil, states: nil, timeout_ms: nil, http_headers: nil)
209
+ sig { params(request: Models::Operations::ListIssuedCardsRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListIssuedCardsResponse) }
210
+ def list(request:, timeout_ms: nil, http_headers: nil)
211
211
  # list - List Moov issued cards existing for the account.
212
212
  #
213
213
  # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
214
214
  # you'll need to specify the `/accounts/{accountID}/issued-cards.read` scope.
215
- request = Models::Operations::ListIssuedCardsRequest.new(
216
- account_id: account_id,
217
- skip: skip,
218
- count: count,
219
- states: states
220
- )
221
215
  url, params = @sdk_configuration.get_server_details
222
216
  base_url = Utils.template_url(url, params)
223
217
  url = Utils.generate_url(
@@ -21,6 +21,8 @@ module Moov
21
21
  # Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to choose the right capabilities for your integration.
22
22
  #
23
23
  # The `production-app`, `platform.production-app`, and / or `platform.wallet-transfers` capabilities might appear in the list for your Partner account. These are read-only capabilities that Moov requests. These capabilities remain active with your account and require no additional action.
24
+ #
25
+ # Starting in v2026.10.00, the `platform.moov-money` capability might appear in the list for accounts enrolled in Moov Money. This is a read-only capability that Moov requests. It requires no additional action.
24
26
  field :capability, Models::Components::CapabilityID, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('capability'), required: true, 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::CapabilityID, false) } }
25
27
 
26
28
  field :account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('accountID'), required: true } }
@@ -16,6 +16,8 @@ module Moov
16
16
  # Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to choose the right capabilities for your integration.
17
17
  #
18
18
  # The `production-app`, `platform.production-app`, and / or `platform.wallet-transfers` capabilities might appear in the list for your Partner account. These are read-only capabilities that Moov requests. These capabilities remain active with your account and require no additional action.
19
+ #
20
+ # Starting in v2026.10.00, the `platform.moov-money` capability might appear in the list for accounts enrolled in Moov Money. This is a read-only capability that Moov requests. It requires no additional action.
19
21
  class CapabilityID
20
22
  include ::Crystalline::Enum
21
23
  enums do
@@ -24,15 +24,18 @@ module Moov
24
24
  field :statement_descriptor, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('statementDescriptor') } }
25
25
 
26
26
  field :minimum_balance, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('minimumBalance') } }
27
+ # Overrides the time of day this wallet's sweep runs. Sweeps only run on US banking days.
28
+ field :schedule, Crystalline::Nilable.new(Models::Components::SweepConfigSchedule), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('schedule') } }
27
29
 
28
- sig { params(wallet_id: ::String, status: Models::Components::SweepConfigStatus, push_payment_method_id: ::String, pull_payment_method_id: ::String, statement_descriptor: T.nilable(::String), minimum_balance: T.nilable(::String)).void }
29
- def initialize(wallet_id:, status:, push_payment_method_id:, pull_payment_method_id:, statement_descriptor: nil, minimum_balance: nil)
30
+ sig { params(wallet_id: ::String, status: Models::Components::SweepConfigStatus, push_payment_method_id: ::String, pull_payment_method_id: ::String, statement_descriptor: T.nilable(::String), minimum_balance: T.nilable(::String), schedule: T.nilable(Models::Components::SweepConfigSchedule)).void }
31
+ def initialize(wallet_id:, status:, push_payment_method_id:, pull_payment_method_id:, statement_descriptor: nil, minimum_balance: nil, schedule: nil)
30
32
  @wallet_id = wallet_id
31
33
  @status = status
32
34
  @push_payment_method_id = push_payment_method_id
33
35
  @pull_payment_method_id = pull_payment_method_id
34
36
  @statement_descriptor = statement_descriptor
35
37
  @minimum_balance = minimum_balance
38
+ @schedule = schedule
36
39
  end
37
40
 
38
41
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -44,6 +47,7 @@ module Moov
44
47
  return false unless @pull_payment_method_id == other.pull_payment_method_id
45
48
  return false unless @statement_descriptor == other.statement_descriptor
46
49
  return false unless @minimum_balance == other.minimum_balance
50
+ return false unless @schedule == other.schedule
47
51
  true
48
52
  end
49
53
  end
@@ -20,4 +20,6 @@ class Moov::Models::Components::CreateSweepConfig
20
20
  def statement_descriptor=(str_); end
21
21
  def minimum_balance(); end
22
22
  def minimum_balance=(str_); end
23
+ def schedule(); end
24
+ def schedule=(str_); end
23
25
  end
@@ -22,11 +22,13 @@ module Moov
22
22
  field :expiration, Models::Components::CardExpiration, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiration'), required: true } }
23
23
  # Unique identifier for the wallet funding the card.
24
24
  field :funding_wallet_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('fundingWalletID'), required: true } }
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.
25
+ # The `state` represents the operational status of an issued card.
26
26
  #
27
- # - `active`: The card is operational and can approve authorizations.
28
- # - `frozen`: The card is temporarily suspended and cannot approve authorizations. A frozen card can be reactivated by setting its state back to `active`.
29
- # - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
27
+ # Authorizations can only be approved while the card is `active`:
28
+ #
29
+ # - `active`: The card is operational and authorizations can be approved.
30
+ # - `frozen`: The card is temporarily suspended and authorizations cannot be approved. Set the state back to `active` to reactivate it. A card can move between `frozen` and `active` as often as needed.
31
+ # - `closed`: The card is permanently deactivated. A card is closed by request or when it expires, and cannot be reopened.
30
32
  field :state, Models::Components::IssuedCardState, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('state'), required: true, 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::IssuedCardState, false) } }
31
33
  # Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
32
34
  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) } }
@@ -22,11 +22,13 @@ module Moov
22
22
  field :expiration, Models::Components::CardExpiration, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiration'), required: true } }
23
23
  # Unique identifier for the wallet funding the card.
24
24
  field :funding_wallet_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('fundingWalletID'), required: true } }
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.
25
+ # The `state` represents the operational status of an issued card.
26
26
  #
27
- # - `active`: The card is operational and can approve authorizations.
28
- # - `frozen`: The card is temporarily suspended and cannot approve authorizations. A frozen card can be reactivated by setting its state back to `active`.
29
- # - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
27
+ # Authorizations can only be approved while the card is `active`:
28
+ #
29
+ # - `active`: The card is operational and authorizations can be approved.
30
+ # - `frozen`: The card is temporarily suspended and authorizations cannot be approved. Set the state back to `active` to reactivate it. A card can move between `frozen` and `active` as often as needed.
31
+ # - `closed`: The card is permanently deactivated. A card is closed by request or when it expires, and cannot be reopened.
30
32
  field :state, Models::Components::IssuedCardState, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('state'), required: true, 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::IssuedCardState, false) } }
31
33
  # Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
32
34
  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) } }
@@ -30,14 +30,16 @@ module Moov
30
30
  field :created_on, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('createdOn'), required: true, 'decoder': ::Moov::Utils.datetime_from_iso_format(false) } }
31
31
  # Last four digits of the card number. Omitted for authorizations recorded before this was captured.
32
32
  field :last_four_card_number, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lastFourCardNumber') } }
33
+ # Identifier for the account of the card's authorized user.
34
+ field :authorized_user_account_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('authorizedUserAccountID') } }
33
35
  # List of card transaction IDs associated with this authorization.
34
36
  field :card_transactions, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cardTransactions') } }
35
37
  # The reason an authorization or authorization event was declined. Only present if the
36
38
  # authorization or event has been declined.
37
39
  field :decline_reason, Crystalline::Nilable.new(Models::Components::IssuingDeclineReason), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('declineReason'), 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::IssuingDeclineReason, true) } }
38
40
 
39
- sig { params(authorization_id: ::String, issued_card_id: ::String, funding_wallet_id: ::String, network: Models::Components::CardIssuingNetwork, authorized_amount: ::String, status: Models::Components::IssuingAuthorizationStatus, merchant_data: Models::Components::IssuingMerchantData, created_on: ::DateTime, last_four_card_number: T.nilable(::String), card_transactions: T.nilable(T::Array[::String]), decline_reason: T.nilable(Models::Components::IssuingDeclineReason)).void }
40
- def initialize(authorization_id:, issued_card_id:, funding_wallet_id:, network:, authorized_amount:, status:, merchant_data:, created_on:, last_four_card_number: nil, card_transactions: nil, decline_reason: nil)
41
+ sig { params(authorization_id: ::String, issued_card_id: ::String, funding_wallet_id: ::String, network: Models::Components::CardIssuingNetwork, authorized_amount: ::String, status: Models::Components::IssuingAuthorizationStatus, merchant_data: Models::Components::IssuingMerchantData, created_on: ::DateTime, last_four_card_number: T.nilable(::String), authorized_user_account_id: T.nilable(::String), card_transactions: T.nilable(T::Array[::String]), decline_reason: T.nilable(Models::Components::IssuingDeclineReason)).void }
42
+ def initialize(authorization_id:, issued_card_id:, funding_wallet_id:, network:, authorized_amount:, status:, merchant_data:, created_on:, last_four_card_number: nil, authorized_user_account_id: nil, card_transactions: nil, decline_reason: nil)
41
43
  @authorization_id = authorization_id
42
44
  @issued_card_id = issued_card_id
43
45
  @funding_wallet_id = funding_wallet_id
@@ -47,6 +49,7 @@ module Moov
47
49
  @merchant_data = merchant_data
48
50
  @created_on = created_on
49
51
  @last_four_card_number = last_four_card_number
52
+ @authorized_user_account_id = authorized_user_account_id
50
53
  @card_transactions = card_transactions
51
54
  @decline_reason = decline_reason
52
55
  end
@@ -63,6 +66,7 @@ module Moov
63
66
  return false unless @merchant_data == other.merchant_data
64
67
  return false unless @created_on == other.created_on
65
68
  return false unless @last_four_card_number == other.last_four_card_number
69
+ return false unless @authorized_user_account_id == other.authorized_user_account_id
66
70
  return false unless @card_transactions == other.card_transactions
67
71
  return false unless @decline_reason == other.decline_reason
68
72
  true
@@ -26,6 +26,8 @@ class Moov::Models::Components::IssuedCardAuthorization
26
26
  def created_on=(str_); end
27
27
  def last_four_card_number(); end
28
28
  def last_four_card_number=(str_); end
29
+ def authorized_user_account_id(); end
30
+ def authorized_user_account_id=(str_); end
29
31
  def card_transactions(); end
30
32
  def card_transactions=(str_); end
31
33
  def decline_reason(); end
@@ -7,11 +7,13 @@
7
7
  module Moov
8
8
  module Models
9
9
  module Components
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.
10
+ # IssuedCardState - The `state` represents the operational status of an issued card.
11
11
  #
12
- # - `active`: The card is operational and can approve authorizations.
13
- # - `frozen`: The card is temporarily suspended and cannot approve authorizations. A frozen card can be reactivated by setting its state back to `active`.
14
- # - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
12
+ # Authorizations can only be approved while the card is `active`:
13
+ #
14
+ # - `active`: The card is operational and authorizations can be approved.
15
+ # - `frozen`: The card is temporarily suspended and authorizations cannot be approved. Set the state back to `active` to reactivate it. A card can move between `frozen` and `active` as often as needed.
16
+ # - `closed`: The card is permanently deactivated. A card is closed by request or when it expires, and cannot be reopened.
15
17
  class IssuedCardState
16
18
  include ::Crystalline::Enum
17
19
  enums do
@@ -28,11 +28,13 @@ module Moov
28
28
  field :created_on, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('createdOn'), required: true, 'decoder': ::Moov::Utils.datetime_from_iso_format(false) } }
29
29
  # Last four digits of the card number. Omitted for transactions recorded before this was captured.
30
30
  field :last_four_card_number, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lastFourCardNumber') } }
31
+ # Identifier for the account of the card's authorized user.
32
+ field :authorized_user_account_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('authorizedUserAccountID') } }
31
33
 
32
34
  field :authorization_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('authorizationID') } }
33
35
 
34
- sig { params(card_transaction_id: ::String, issued_card_id: ::String, funding_wallet_id: ::String, amount: ::String, authorized_on: ::DateTime, merchant_data: Models::Components::IssuingMerchantData, created_on: ::DateTime, last_four_card_number: T.nilable(::String), authorization_id: T.nilable(::String)).void }
35
- def initialize(card_transaction_id:, issued_card_id:, funding_wallet_id:, amount:, authorized_on:, merchant_data:, created_on:, last_four_card_number: nil, authorization_id: nil)
36
+ sig { params(card_transaction_id: ::String, issued_card_id: ::String, funding_wallet_id: ::String, amount: ::String, authorized_on: ::DateTime, merchant_data: Models::Components::IssuingMerchantData, created_on: ::DateTime, last_four_card_number: T.nilable(::String), authorized_user_account_id: T.nilable(::String), authorization_id: T.nilable(::String)).void }
37
+ def initialize(card_transaction_id:, issued_card_id:, funding_wallet_id:, amount:, authorized_on:, merchant_data:, created_on:, last_four_card_number: nil, authorized_user_account_id: nil, authorization_id: nil)
36
38
  @card_transaction_id = card_transaction_id
37
39
  @issued_card_id = issued_card_id
38
40
  @funding_wallet_id = funding_wallet_id
@@ -41,6 +43,7 @@ module Moov
41
43
  @merchant_data = merchant_data
42
44
  @created_on = created_on
43
45
  @last_four_card_number = last_four_card_number
46
+ @authorized_user_account_id = authorized_user_account_id
44
47
  @authorization_id = authorization_id
45
48
  end
46
49
 
@@ -55,6 +58,7 @@ module Moov
55
58
  return false unless @merchant_data == other.merchant_data
56
59
  return false unless @created_on == other.created_on
57
60
  return false unless @last_four_card_number == other.last_four_card_number
61
+ return false unless @authorized_user_account_id == other.authorized_user_account_id
58
62
  return false unless @authorization_id == other.authorization_id
59
63
  true
60
64
  end
@@ -24,6 +24,8 @@ class Moov::Models::Components::IssuedCardTransaction
24
24
  def created_on=(str_); end
25
25
  def last_four_card_number(); end
26
26
  def last_four_card_number=(str_); end
27
+ def authorized_user_account_id(); end
28
+ def authorized_user_account_id=(str_); end
27
29
  def authorization_id(); end
28
30
  def authorization_id=(str_); end
29
31
  end
@@ -22,14 +22,17 @@ module Moov
22
22
  field :statement_descriptor, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('statementDescriptor') } }
23
23
 
24
24
  field :minimum_balance, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('minimumBalance') } }
25
+ # Overrides the time of day this wallet's sweep runs. Sweeps only run on US banking days.
26
+ field :schedule, Crystalline::Nilable.new(Models::Components::Schedule), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('schedule') } }
25
27
 
26
- sig { params(status: T.nilable(Models::Components::Status), push_payment_method_id: T.nilable(::String), pull_payment_method_id: T.nilable(::String), statement_descriptor: T.nilable(::String), minimum_balance: T.nilable(::String)).void }
27
- def initialize(status: nil, push_payment_method_id: nil, pull_payment_method_id: nil, statement_descriptor: nil, minimum_balance: nil)
28
+ sig { params(status: T.nilable(Models::Components::Status), push_payment_method_id: T.nilable(::String), pull_payment_method_id: T.nilable(::String), statement_descriptor: T.nilable(::String), minimum_balance: T.nilable(::String), schedule: T.nilable(Models::Components::Schedule)).void }
29
+ def initialize(status: nil, push_payment_method_id: nil, pull_payment_method_id: nil, statement_descriptor: nil, minimum_balance: nil, schedule: nil)
28
30
  @status = status
29
31
  @push_payment_method_id = push_payment_method_id
30
32
  @pull_payment_method_id = pull_payment_method_id
31
33
  @statement_descriptor = statement_descriptor
32
34
  @minimum_balance = minimum_balance
35
+ @schedule = schedule
33
36
  end
34
37
 
35
38
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -40,6 +43,7 @@ module Moov
40
43
  return false unless @pull_payment_method_id == other.pull_payment_method_id
41
44
  return false unless @statement_descriptor == other.statement_descriptor
42
45
  return false unless @minimum_balance == other.minimum_balance
46
+ return false unless @schedule == other.schedule
43
47
  true
44
48
  end
45
49
  end
@@ -18,4 +18,6 @@ class Moov::Models::Components::PatchSweepConfig
18
18
  def statement_descriptor=(str_); end
19
19
  def minimum_balance(); end
20
20
  def minimum_balance=(str_); end
21
+ def schedule(); end
22
+ def schedule=(str_); end
21
23
  end
@@ -0,0 +1,40 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Components
10
+ # Overrides the time of day this wallet's sweep runs. Sweeps only run on US banking days.
11
+ class Schedule
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+ # Time of day the sweep runs, in 24-hour `HH:mm` format. Must fall on a 15-minute mark (`:00`, `:15`, `:30`, `:45`).
16
+ field :cutoff_time, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cutoffTime'), required: true } }
17
+ # IANA timezone for `cutoffTime`, such as `America/New_York` or `UTC`.
18
+ field :timezone, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('timezone'), required: true } }
19
+ # How often the sweep runs. Defaults to `daily`.
20
+ field :frequency, Crystalline::Nilable.new(Models::Components::SweepScheduleFrequency), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('frequency'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::SweepScheduleFrequency, true) } }
21
+
22
+ sig { params(cutoff_time: ::String, timezone: ::String, frequency: T.nilable(Models::Components::SweepScheduleFrequency)).void }
23
+ def initialize(cutoff_time:, timezone:, frequency: nil)
24
+ @cutoff_time = cutoff_time
25
+ @timezone = timezone
26
+ @frequency = frequency
27
+ end
28
+
29
+ sig { params(other: T.untyped).returns(T::Boolean) }
30
+ def ==(other)
31
+ return false unless other.is_a? self.class
32
+ return false unless @cutoff_time == other.cutoff_time
33
+ return false unless @timezone == other.timezone
34
+ return false unless @frequency == other.frequency
35
+ true
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,17 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Components::Schedule
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::Schedule
11
+ def cutoff_time(); end
12
+ def cutoff_time=(str_); end
13
+ def timezone(); end
14
+ def timezone=(str_); end
15
+ def frequency(); end
16
+ def frequency=(str_); end
17
+ end
@@ -32,11 +32,13 @@ module Moov
32
32
  field :minimum_balance, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('minimumBalance') } }
33
33
  # The text that appears on the banking statement. The default descriptor is a 10 character ID if an override is not set in the sweep configs statementDescriptor.
34
34
  field :statement_descriptor, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('statementDescriptor') } }
35
+ # A configured wallet-level override of the time of day the sweep runs.
36
+ field :schedule, Crystalline::Nilable.new(Models::Components::SweepConfigSchedule), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('schedule') } }
35
37
  # An array of fields that are locked. To request updates, please contact Moov support.
36
38
  field :locked_fields, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lockedFields') } }
37
39
 
38
- sig { params(sweep_config_id: ::String, wallet_id: ::String, status: Models::Components::SweepConfigStatus, push_payment_method: Models::Components::SweepConfigPaymentMethod, pull_payment_method: Models::Components::SweepConfigPaymentMethod, created_on: ::DateTime, updated_on: ::DateTime, minimum_balance: T.nilable(::String), statement_descriptor: T.nilable(::String), locked_fields: T.nilable(T::Array[::String])).void }
39
- def initialize(sweep_config_id:, wallet_id:, status:, push_payment_method:, pull_payment_method:, created_on:, updated_on:, minimum_balance: nil, statement_descriptor: nil, locked_fields: nil)
40
+ sig { params(sweep_config_id: ::String, wallet_id: ::String, status: Models::Components::SweepConfigStatus, push_payment_method: Models::Components::SweepConfigPaymentMethod, pull_payment_method: Models::Components::SweepConfigPaymentMethod, created_on: ::DateTime, updated_on: ::DateTime, minimum_balance: T.nilable(::String), statement_descriptor: T.nilable(::String), schedule: T.nilable(Models::Components::SweepConfigSchedule), locked_fields: T.nilable(T::Array[::String])).void }
41
+ def initialize(sweep_config_id:, wallet_id:, status:, push_payment_method:, pull_payment_method:, created_on:, updated_on:, minimum_balance: nil, statement_descriptor: nil, schedule: nil, locked_fields: nil)
40
42
  @sweep_config_id = sweep_config_id
41
43
  @wallet_id = wallet_id
42
44
  @status = status
@@ -46,6 +48,7 @@ module Moov
46
48
  @updated_on = updated_on
47
49
  @minimum_balance = minimum_balance
48
50
  @statement_descriptor = statement_descriptor
51
+ @schedule = schedule
49
52
  @locked_fields = locked_fields
50
53
  end
51
54
 
@@ -61,6 +64,7 @@ module Moov
61
64
  return false unless @updated_on == other.updated_on
62
65
  return false unless @minimum_balance == other.minimum_balance
63
66
  return false unless @statement_descriptor == other.statement_descriptor
67
+ return false unless @schedule == other.schedule
64
68
  return false unless @locked_fields == other.locked_fields
65
69
  true
66
70
  end
@@ -26,6 +26,8 @@ class Moov::Models::Components::SweepConfig
26
26
  def minimum_balance=(str_); end
27
27
  def statement_descriptor(); end
28
28
  def statement_descriptor=(str_); end
29
+ def schedule(); end
30
+ def schedule=(str_); end
29
31
  def locked_fields(); end
30
32
  def locked_fields=(str_); end
31
33
  end
@@ -0,0 +1,40 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Components
10
+
11
+ class SweepConfigSchedule
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+ # Time of day the sweep runs, in 24-hour `HH:mm` format. Must fall on a 15-minute mark (`:00`, `:15`, `:30`, `:45`).
16
+ field :cutoff_time, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cutoffTime'), required: true } }
17
+ # IANA timezone for `cutoffTime`, such as `America/New_York` or `UTC`.
18
+ field :timezone, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('timezone'), required: true } }
19
+ # How often the sweep runs. Defaults to `daily`.
20
+ field :frequency, Crystalline::Nilable.new(Models::Components::SweepScheduleFrequency), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('frequency'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::SweepScheduleFrequency, true) } }
21
+
22
+ sig { params(cutoff_time: ::String, timezone: ::String, frequency: T.nilable(Models::Components::SweepScheduleFrequency)).void }
23
+ def initialize(cutoff_time:, timezone:, frequency: nil)
24
+ @cutoff_time = cutoff_time
25
+ @timezone = timezone
26
+ @frequency = frequency
27
+ end
28
+
29
+ sig { params(other: T.untyped).returns(T::Boolean) }
30
+ def ==(other)
31
+ return false unless other.is_a? self.class
32
+ return false unless @cutoff_time == other.cutoff_time
33
+ return false unless @timezone == other.timezone
34
+ return false unless @frequency == other.frequency
35
+ true
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,17 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Components::SweepConfigSchedule
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::SweepConfigSchedule
11
+ def cutoff_time(); end
12
+ def cutoff_time=(str_); end
13
+ def timezone(); end
14
+ def timezone=(str_); end
15
+ def frequency(); end
16
+ def frequency=(str_); end
17
+ end
@@ -0,0 +1,40 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Components
10
+
11
+ class SweepConfigScheduleError
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+
16
+ field :cutoff_time, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cutoffTime') } }
17
+
18
+ field :timezone, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('timezone') } }
19
+
20
+ field :frequency, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('frequency') } }
21
+
22
+ sig { params(cutoff_time: T.nilable(::String), timezone: T.nilable(::String), frequency: T.nilable(::String)).void }
23
+ def initialize(cutoff_time: nil, timezone: nil, frequency: nil)
24
+ @cutoff_time = cutoff_time
25
+ @timezone = timezone
26
+ @frequency = frequency
27
+ end
28
+
29
+ sig { params(other: T.untyped).returns(T::Boolean) }
30
+ def ==(other)
31
+ return false unless other.is_a? self.class
32
+ return false unless @cutoff_time == other.cutoff_time
33
+ return false unless @timezone == other.timezone
34
+ return false unless @frequency == other.frequency
35
+ true
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,17 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Components::SweepConfigScheduleError
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::SweepConfigScheduleError
11
+ def cutoff_time(); end
12
+ def cutoff_time=(str_); end
13
+ def timezone(); end
14
+ def timezone=(str_); end
15
+ def frequency(); end
16
+ def frequency=(str_); end
17
+ end
@@ -0,0 +1,18 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Components
10
+
11
+ class SweepScheduleFrequency < T::Enum
12
+ enums do
13
+ DAILY = new('daily')
14
+ end
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,11 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Components::SweepScheduleFrequency
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::SweepScheduleFrequency
11
+ end
@@ -13,9 +13,9 @@ module Moov
13
13
  include Crystalline::MetadataFields
14
14
 
15
15
  # Updates the state of a Moov issued card.
16
- # - `active`: Reactivates a frozen card so it can approve authorizations again.
17
- # - `frozen`: Temporarily suspends the card so it cannot approve authorizations. A card can be moved between `frozen` and `active` at will until it is `closed`, which is a terminal state.
18
- # - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
16
+ # - `active`: The card is operational and authorizations can be approved.
17
+ # - `frozen`: The card is temporarily suspended and authorizations cannot be approved. Set the state back to `active` to reactivate it. A card can move between `frozen` and `active` as often as needed.
18
+ # - `closed`: The card is permanently deactivated. A card is closed by request or when it expires, and cannot be reopened.
19
19
  field :state, Crystalline::Nilable.new(Models::Components::UpdateIssuedCardState), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('state'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::UpdateIssuedCardState, true) } }
20
20
 
21
21
  field :nickname, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('nickname') } }
@@ -8,9 +8,9 @@ module Moov
8
8
  module Models
9
9
  module Components
10
10
  # UpdateIssuedCardState - Updates the state of a Moov issued card.
11
- # - `active`: Reactivates a frozen card so it can approve authorizations again.
12
- # - `frozen`: Temporarily suspends the card so it cannot approve authorizations. A card can be moved between `frozen` and `active` at will until it is `closed`, which is a terminal state.
13
- # - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
11
+ # - `active`: The card is operational and authorizations can be approved.
12
+ # - `frozen`: The card is temporarily suspended and authorizations cannot be approved. Set the state back to `active` to reactivate it. A card can move between `frozen` and `active` as often as needed.
13
+ # - `closed`: The card is permanently deactivated. A card is closed by request or when it expires, and cannot be reopened.
14
14
  class UpdateIssuedCardState < T::Enum
15
15
  enums do
16
16
  ACTIVE = new('active')
@@ -26,7 +26,7 @@ module Moov
26
26
  field :money_transfer, Crystalline::Nilable.new(Models::Components::MoneyTransfer), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('moneyTransfer') } }
27
27
 
28
28
  field :send_funds, Crystalline::Nilable.new(Models::Components::SendFunds), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('sendFunds') } }
29
-
29
+ # For most use cases, you can omit `submissionIntent`. Set it to `wait` to pause the account's underwriting approval process until you send a subsequent request with `submissionIntent` set to `submit`.
30
30
  field :submission_intent, Crystalline::Nilable.new(Models::Components::SubmissionIntent), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('submissionIntent'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::SubmissionIntent, true) } }
31
31
 
32
32
  sig { params(geographic_reach: T.nilable(Models::Components::GeographicReach), business_presence: T.nilable(Models::Components::BusinessPresence), pending_litigation: T.nilable(Models::Components::PendingLitigation), volume_share_by_customer_type: T.nilable(Models::Components::VolumeShareByCustomerType), collect_funds: T.nilable(Models::Components::CollectFunds), money_transfer: T.nilable(Models::Components::MoneyTransfer), send_funds: T.nilable(Models::Components::SendFunds), submission_intent: T.nilable(Models::Components::SubmissionIntent)).void }
@@ -23,6 +23,8 @@ module Moov
23
23
  # Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to choose the right capabilities for your integration.
24
24
  #
25
25
  # The `production-app`, `platform.production-app`, and / or `platform.wallet-transfers` capabilities might appear in the list for your Partner account. These are read-only capabilities that Moov requests. These capabilities remain active with your account and require no additional action.
26
+ #
27
+ # Starting in v2026.10.00, the `platform.moov-money` capability might appear in the list for accounts enrolled in Moov Money. This is a read-only capability that Moov requests. It requires no additional action.
26
28
  field :capability_id, Models::Components::CapabilityID, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('capabilityID'), required: true, 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::CapabilityID, false) } }
27
29
 
28
30
  field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
@@ -23,6 +23,8 @@ module Moov
23
23
  # Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to choose the right capabilities for your integration.
24
24
  #
25
25
  # The `production-app`, `platform.production-app`, and / or `platform.wallet-transfers` capabilities might appear in the list for your Partner account. These are read-only capabilities that Moov requests. These capabilities remain active with your account and require no additional action.
26
+ #
27
+ # Starting in v2026.10.00, the `platform.moov-money` capability might appear in the list for accounts enrolled in Moov Money. This is a read-only capability that Moov requests. It requires no additional action.
26
28
  field :capability_id, Models::Components::CapabilityID, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('capabilityID'), required: true, 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::CapabilityID, false) } }
27
29
  # The status of the capability requested for an account.
28
30
  field :status, Models::Components::CapabilityStatus, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), required: true, 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::CapabilityStatus, false) } }
@@ -481,7 +481,10 @@ module Moov
481
481
  autoload :Sweep, 'moov/models/components/sweep.rb'
482
482
  autoload :SweepConfig, 'moov/models/components/sweepconfig.rb'
483
483
  autoload :SweepConfigPaymentMethod, 'moov/models/components/sweepconfigpaymentmethod.rb'
484
+ autoload :SweepConfigSchedule, 'moov/models/components/sweepconfigschedule.rb'
485
+ autoload :SweepConfigScheduleError, 'moov/models/components/sweepconfigscheduleerror.rb'
484
486
  autoload :SweepConfigStatus, 'moov/models/components/sweepconfigstatus.rb'
487
+ autoload :SweepScheduleFrequency, 'moov/models/components/sweepschedulefrequency.rb'
485
488
  autoload :SweepStatus, 'moov/models/components/sweepstatus.rb'
486
489
  autoload :SweepSubtotal, 'moov/models/components/sweepsubtotal.rb'
487
490
  autoload :TaxID, 'moov/models/components/taxid.rb'
@@ -628,6 +631,7 @@ module Moov
628
631
  autoload :OtherFees, 'moov/models/components/otherfees.rb'
629
632
  autoload :Phone, 'moov/models/components/phone.rb'
630
633
  autoload :Responsibilities, 'moov/models/components/responsibilities.rb'
634
+ autoload :Schedule, 'moov/models/components/schedule.rb'
631
635
  autoload :Status, 'moov/models/components/status.rb'
632
636
  autoload :TokenTypeHint, 'moov/models/components/token_type_hint.rb'
633
637
  autoload :Use, 'moov/models/components/use.rb'
@@ -24,17 +24,20 @@ module Moov
24
24
  field :statement_descriptor, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('statementDescriptor') } }
25
25
 
26
26
  field :minimum_balance, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('minimumBalance') } }
27
+
28
+ field :schedule, Crystalline::Nilable.new(Models::Components::SweepConfigScheduleError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('schedule') } }
27
29
  # Raw HTTP response; suitable for custom response parsing
28
30
  field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
29
31
 
30
- sig { params(wallet_id: T.nilable(::String), status: T.nilable(::String), push_payment_method_id: T.nilable(::String), pull_payment_method_id: T.nilable(::String), statement_descriptor: T.nilable(::String), minimum_balance: T.nilable(::String), raw_response: T.nilable(::Faraday::Response)).void }
31
- def initialize(wallet_id: nil, status: nil, push_payment_method_id: nil, pull_payment_method_id: nil, statement_descriptor: nil, minimum_balance: nil, raw_response: nil)
32
+ sig { params(wallet_id: T.nilable(::String), status: T.nilable(::String), push_payment_method_id: T.nilable(::String), pull_payment_method_id: T.nilable(::String), statement_descriptor: T.nilable(::String), minimum_balance: T.nilable(::String), schedule: T.nilable(Models::Components::SweepConfigScheduleError), raw_response: T.nilable(::Faraday::Response)).void }
33
+ def initialize(wallet_id: nil, status: nil, push_payment_method_id: nil, pull_payment_method_id: nil, statement_descriptor: nil, minimum_balance: nil, schedule: nil, raw_response: nil)
32
34
  @wallet_id = wallet_id
33
35
  @status = status
34
36
  @push_payment_method_id = push_payment_method_id
35
37
  @pull_payment_method_id = pull_payment_method_id
36
38
  @statement_descriptor = statement_descriptor
37
39
  @minimum_balance = minimum_balance
40
+ @schedule = schedule
38
41
  @raw_response = raw_response
39
42
  end
40
43
 
@@ -47,6 +50,7 @@ module Moov
47
50
  return false unless @pull_payment_method_id == other.pull_payment_method_id
48
51
  return false unless @statement_descriptor == other.statement_descriptor
49
52
  return false unless @minimum_balance == other.minimum_balance
53
+ return false unless @schedule == other.schedule
50
54
  return false unless @raw_response == other.raw_response
51
55
  true
52
56
  end
@@ -20,6 +20,8 @@ class Moov::Models::Errors::CreateSweepConfigError
20
20
  def statement_descriptor=(str_); end
21
21
  def minimum_balance(); end
22
22
  def minimum_balance=(str_); end
23
+ def schedule(); end
24
+ def schedule=(str_); end
23
25
  def raw_response(); end
24
26
  def raw_response=(str_); end
25
27
  end
@@ -25,6 +25,8 @@ module Moov
25
25
 
26
26
  field :count, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('count') } }
27
27
 
28
+ field :cursor, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cursor') } }
29
+
28
30
  field :group_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('groupID') } }
29
31
 
30
32
  field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
@@ -39,14 +41,15 @@ module Moov
39
41
  # Raw HTTP response; suitable for custom response parsing
40
42
  field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
41
43
 
42
- sig { params(account_i_ds: T.nilable(::String), status: T.nilable(::String), start_date_time: T.nilable(::String), end_date_time: T.nilable(::String), skip: T.nilable(::String), count: T.nilable(::String), group_id: T.nilable(::String), foreign_id: T.nilable(::String), schedule_id: T.nilable(::String), payment_link_code: T.nilable(::String), refunded: T.nilable(::String), disputed: T.nilable(::String), raw_response: T.nilable(::Faraday::Response)).void }
43
- def initialize(account_i_ds: nil, status: nil, start_date_time: nil, end_date_time: nil, skip: nil, count: nil, group_id: nil, foreign_id: nil, schedule_id: nil, payment_link_code: nil, refunded: nil, disputed: nil, raw_response: nil)
44
+ sig { params(account_i_ds: T.nilable(::String), status: T.nilable(::String), start_date_time: T.nilable(::String), end_date_time: T.nilable(::String), skip: T.nilable(::String), count: T.nilable(::String), cursor: T.nilable(::String), group_id: T.nilable(::String), foreign_id: T.nilable(::String), schedule_id: T.nilable(::String), payment_link_code: T.nilable(::String), refunded: T.nilable(::String), disputed: T.nilable(::String), raw_response: T.nilable(::Faraday::Response)).void }
45
+ def initialize(account_i_ds: nil, status: nil, start_date_time: nil, end_date_time: nil, skip: nil, count: nil, cursor: nil, group_id: nil, foreign_id: nil, schedule_id: nil, payment_link_code: nil, refunded: nil, disputed: nil, raw_response: nil)
44
46
  @account_i_ds = account_i_ds
45
47
  @status = status
46
48
  @start_date_time = start_date_time
47
49
  @end_date_time = end_date_time
48
50
  @skip = skip
49
51
  @count = count
52
+ @cursor = cursor
50
53
  @group_id = group_id
51
54
  @foreign_id = foreign_id
52
55
  @schedule_id = schedule_id
@@ -65,6 +68,7 @@ module Moov
65
68
  return false unless @end_date_time == other.end_date_time
66
69
  return false unless @skip == other.skip
67
70
  return false unless @count == other.count
71
+ return false unless @cursor == other.cursor
68
72
  return false unless @group_id == other.group_id
69
73
  return false unless @foreign_id == other.foreign_id
70
74
  return false unless @schedule_id == other.schedule_id
@@ -20,6 +20,8 @@ class Moov::Models::Errors::ListTransfersValidationError
20
20
  def skip=(str_); end
21
21
  def count(); end
22
22
  def count=(str_); end
23
+ def cursor(); end
24
+ def cursor=(str_); end
23
25
  def group_id(); end
24
26
  def group_id=(str_); end
25
27
  def foreign_id(); end
@@ -22,16 +22,19 @@ module Moov
22
22
  field :statement_descriptor, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('statementDescriptor') } }
23
23
 
24
24
  field :minimum_balance, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('minimumBalance') } }
25
+
26
+ field :schedule, Crystalline::Nilable.new(Models::Components::SweepConfigScheduleError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('schedule') } }
25
27
  # Raw HTTP response; suitable for custom response parsing
26
28
  field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
27
29
 
28
- sig { params(status: T.nilable(::String), push_payment_method_id: T.nilable(::String), pull_payment_method_id: T.nilable(::String), statement_descriptor: T.nilable(::String), minimum_balance: T.nilable(::String), raw_response: T.nilable(::Faraday::Response)).void }
29
- def initialize(status: nil, push_payment_method_id: nil, pull_payment_method_id: nil, statement_descriptor: nil, minimum_balance: nil, raw_response: nil)
30
+ sig { params(status: T.nilable(::String), push_payment_method_id: T.nilable(::String), pull_payment_method_id: T.nilable(::String), statement_descriptor: T.nilable(::String), minimum_balance: T.nilable(::String), schedule: T.nilable(Models::Components::SweepConfigScheduleError), raw_response: T.nilable(::Faraday::Response)).void }
31
+ def initialize(status: nil, push_payment_method_id: nil, pull_payment_method_id: nil, statement_descriptor: nil, minimum_balance: nil, schedule: nil, raw_response: nil)
30
32
  @status = status
31
33
  @push_payment_method_id = push_payment_method_id
32
34
  @pull_payment_method_id = pull_payment_method_id
33
35
  @statement_descriptor = statement_descriptor
34
36
  @minimum_balance = minimum_balance
37
+ @schedule = schedule
35
38
  @raw_response = raw_response
36
39
  end
37
40
 
@@ -43,6 +46,7 @@ module Moov
43
46
  return false unless @pull_payment_method_id == other.pull_payment_method_id
44
47
  return false unless @statement_descriptor == other.statement_descriptor
45
48
  return false unless @minimum_balance == other.minimum_balance
49
+ return false unless @schedule == other.schedule
46
50
  return false unless @raw_response == other.raw_response
47
51
  true
48
52
  end
@@ -18,6 +18,8 @@ class Moov::Models::Errors::PatchSweepConfigError
18
18
  def statement_descriptor=(str_); end
19
19
  def minimum_balance(); end
20
20
  def minimum_balance=(str_); end
21
+ def schedule(); end
22
+ def schedule=(str_); end
21
23
  def raw_response(); end
22
24
  def raw_response=(str_); end
23
25
  end
@@ -16,11 +16,15 @@ module Moov
16
16
  field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
17
17
  # The transfer ID to cancel.
18
18
  field :transfer_id, ::String, { 'path_param': { 'field_name': 'transferID', 'style': 'simple', 'explode': false } }
19
+ # Prevents duplicate cancellations from being created.
20
+ # In v2026.10 and later, this header is required, and reusing a key returns a `409` response with the original cancellation.
21
+ field :x_idempotency_key, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'x-idempotency-key', 'style': 'simple', 'explode': false } }
19
22
 
20
- sig { params(account_id: ::String, transfer_id: ::String).void }
21
- def initialize(account_id:, transfer_id:)
23
+ sig { params(account_id: ::String, transfer_id: ::String, x_idempotency_key: T.nilable(::String)).void }
24
+ def initialize(account_id:, transfer_id:, x_idempotency_key: nil)
22
25
  @account_id = account_id
23
26
  @transfer_id = transfer_id
27
+ @x_idempotency_key = x_idempotency_key
24
28
  end
25
29
 
26
30
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -28,6 +32,7 @@ module Moov
28
32
  return false unless other.is_a? self.class
29
33
  return false unless @account_id == other.account_id
30
34
  return false unless @transfer_id == other.transfer_id
35
+ return false unless @x_idempotency_key == other.x_idempotency_key
31
36
  true
32
37
  end
33
38
  end
@@ -12,4 +12,6 @@ class Moov::Models::Operations::CreateCancellationRequest
12
12
  def account_id=(str_); end
13
13
  def transfer_id(); end
14
14
  def transfer_id=(str_); end
15
+ def x_idempotency_key(); end
16
+ def x_idempotency_key=(str_); end
15
17
  end
@@ -23,6 +23,8 @@ module Moov
23
23
  # Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to choose the right capabilities for your integration.
24
24
  #
25
25
  # The `production-app`, `platform.production-app`, and / or `platform.wallet-transfers` capabilities might appear in the list for your Partner account. These are read-only capabilities that Moov requests. These capabilities remain active with your account and require no additional action.
26
+ #
27
+ # Starting in v2026.10.00, the `platform.moov-money` capability might appear in the list for accounts enrolled in Moov Money. This is a read-only capability that Moov requests. It requires no additional action.
26
28
  field :capability_id, Models::Components::CapabilityID, { 'path_param': { 'field_name': 'capabilityID', 'style': 'simple', 'explode': false } }
27
29
 
28
30
  sig { params(account_id: ::String, capability_id: Models::Components::CapabilityID).void }
@@ -23,6 +23,8 @@ module Moov
23
23
  # Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to choose the right capabilities for your integration.
24
24
  #
25
25
  # The `production-app`, `platform.production-app`, and / or `platform.wallet-transfers` capabilities might appear in the list for your Partner account. These are read-only capabilities that Moov requests. These capabilities remain active with your account and require no additional action.
26
+ #
27
+ # Starting in v2026.10.00, the `platform.moov-money` capability might appear in the list for accounts enrolled in Moov Money. This is a read-only capability that Moov requests. It requires no additional action.
26
28
  field :capability_id, Models::Components::CapabilityID, { 'path_param': { 'field_name': 'capabilityID', 'style': 'simple', 'explode': false } }
27
29
 
28
30
  sig { params(account_id: ::String, capability_id: Models::Components::CapabilityID).void }
@@ -14,7 +14,7 @@ module Moov
14
14
 
15
15
  # Prevents duplicate refunds from being created.
16
16
  field :x_idempotency_key, ::String, { 'header': { 'field_name': 'x-idempotency-key', 'style': 'simple', 'explode': false } }
17
- # The merchant's Moov account ID.
17
+ # Moov account ID of the partner for the transfer.
18
18
  field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
19
19
  # Identifier for the transfer.
20
20
  field :transfer_id, ::String, { 'path_param': { 'field_name': 'transferID', 'style': 'simple', 'explode': false } }
@@ -20,6 +20,8 @@ module Moov
20
20
  field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
21
21
  # Optional ID of the issued card to filter results.
22
22
  field :issued_card_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'issuedCardID', 'style': 'form', 'explode': false } }
23
+ # Optional identifier for the account of the card's authorized user.
24
+ field :authorized_user_account_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'authorizedUserAccountID', 'style': 'form', 'explode': false } }
23
25
  # Optional date-time which inclusively filters all authorizations created after this date-time.
24
26
  field :start_date_time, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'startDateTime', 'style': 'form', 'explode': false } }
25
27
  # Optional date-time which exclusively filters all authorizations created before this date-time.
@@ -27,12 +29,13 @@ module Moov
27
29
  # Optional, comma-separated statuses of the authorization to filter results.
28
30
  field :statuses, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::IssuingAuthorizationStatus)), { 'query_param': { 'field_name': 'statuses', 'style': 'form', 'explode': false } }
29
31
 
30
- sig { params(account_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), issued_card_id: T.nilable(::String), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), statuses: T.nilable(T::Array[Models::Components::IssuingAuthorizationStatus])).void }
31
- def initialize(account_id:, skip: nil, count: nil, issued_card_id: nil, start_date_time: nil, end_date_time: nil, statuses: nil)
32
+ sig { params(account_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), issued_card_id: T.nilable(::String), authorized_user_account_id: T.nilable(::String), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), statuses: T.nilable(T::Array[Models::Components::IssuingAuthorizationStatus])).void }
33
+ def initialize(account_id:, skip: nil, count: nil, issued_card_id: nil, authorized_user_account_id: nil, start_date_time: nil, end_date_time: nil, statuses: nil)
32
34
  @account_id = account_id
33
35
  @skip = skip
34
36
  @count = count
35
37
  @issued_card_id = issued_card_id
38
+ @authorized_user_account_id = authorized_user_account_id
36
39
  @start_date_time = start_date_time
37
40
  @end_date_time = end_date_time
38
41
  @statuses = statuses
@@ -45,6 +48,7 @@ module Moov
45
48
  return false unless @skip == other.skip
46
49
  return false unless @count == other.count
47
50
  return false unless @issued_card_id == other.issued_card_id
51
+ return false unless @authorized_user_account_id == other.authorized_user_account_id
48
52
  return false unless @start_date_time == other.start_date_time
49
53
  return false unless @end_date_time == other.end_date_time
50
54
  return false unless @statuses == other.statuses
@@ -16,6 +16,8 @@ class Moov::Models::Operations::ListIssuedCardAuthorizationsRequest
16
16
  def count=(str_); end
17
17
  def issued_card_id(); end
18
18
  def issued_card_id=(str_); end
19
+ def authorized_user_account_id(); end
20
+ def authorized_user_account_id=(str_); end
19
21
  def start_date_time(); end
20
22
  def start_date_time=(str_); end
21
23
  def end_date_time(); end
@@ -20,13 +20,16 @@ module Moov
20
20
  field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
21
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
+ # Optional identifier for the account of the card's authorized user.
24
+ field :authorized_user_account_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'authorizedUserAccountID', 'style': 'form', 'explode': false } }
23
25
 
24
- sig { params(account_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), states: T.nilable(T::Array[Models::Components::IssuedCardState])).void }
25
- def initialize(account_id:, skip: nil, count: nil, states: nil)
26
+ sig { params(account_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), states: T.nilable(T::Array[Models::Components::IssuedCardState]), authorized_user_account_id: T.nilable(::String)).void }
27
+ def initialize(account_id:, skip: nil, count: nil, states: nil, authorized_user_account_id: nil)
26
28
  @account_id = account_id
27
29
  @skip = skip
28
30
  @count = count
29
31
  @states = states
32
+ @authorized_user_account_id = authorized_user_account_id
30
33
  end
31
34
 
32
35
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -36,6 +39,7 @@ module Moov
36
39
  return false unless @skip == other.skip
37
40
  return false unless @count == other.count
38
41
  return false unless @states == other.states
42
+ return false unless @authorized_user_account_id == other.authorized_user_account_id
39
43
  true
40
44
  end
41
45
  end
@@ -16,4 +16,6 @@ class Moov::Models::Operations::ListIssuedCardsRequest
16
16
  def count=(str_); end
17
17
  def states(); end
18
18
  def states=(str_); end
19
+ def authorized_user_account_id(); end
20
+ def authorized_user_account_id=(str_); end
19
21
  end
@@ -20,6 +20,8 @@ module Moov
20
20
  field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
21
21
  # Optional ID of the issued card to filter results.
22
22
  field :issued_card_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'issuedCardID', 'style': 'form', 'explode': false } }
23
+ # Optional identifier for the account of the card's authorized user.
24
+ field :authorized_user_account_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'authorizedUserAccountID', 'style': 'form', 'explode': false } }
23
25
  # Optional case-insensitive substring match on the merchant name to filter results.
24
26
  field :merchant_name, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'merchantName', 'style': 'form', 'explode': false } }
25
27
  # Optional date-time which inclusively filters all card transactions created after this date-time.
@@ -27,12 +29,13 @@ module Moov
27
29
  # Optional date-time which exclusively filters all card transactions created before this date-time.
28
30
  field :end_date_time, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'endDateTime', 'style': 'form', 'explode': false } }
29
31
 
30
- sig { params(account_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), issued_card_id: T.nilable(::String), merchant_name: T.nilable(::String), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime)).void }
31
- def initialize(account_id:, skip: nil, count: nil, issued_card_id: nil, merchant_name: nil, start_date_time: nil, end_date_time: nil)
32
+ sig { params(account_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), issued_card_id: T.nilable(::String), authorized_user_account_id: T.nilable(::String), merchant_name: T.nilable(::String), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime)).void }
33
+ def initialize(account_id:, skip: nil, count: nil, issued_card_id: nil, authorized_user_account_id: nil, merchant_name: nil, start_date_time: nil, end_date_time: nil)
32
34
  @account_id = account_id
33
35
  @skip = skip
34
36
  @count = count
35
37
  @issued_card_id = issued_card_id
38
+ @authorized_user_account_id = authorized_user_account_id
36
39
  @merchant_name = merchant_name
37
40
  @start_date_time = start_date_time
38
41
  @end_date_time = end_date_time
@@ -45,6 +48,7 @@ module Moov
45
48
  return false unless @skip == other.skip
46
49
  return false unless @count == other.count
47
50
  return false unless @issued_card_id == other.issued_card_id
51
+ return false unless @authorized_user_account_id == other.authorized_user_account_id
48
52
  return false unless @merchant_name == other.merchant_name
49
53
  return false unless @start_date_time == other.start_date_time
50
54
  return false unless @end_date_time == other.end_date_time
@@ -16,6 +16,8 @@ class Moov::Models::Operations::ListIssuedCardTransactionsRequest
16
16
  def count=(str_); end
17
17
  def issued_card_id(); end
18
18
  def issued_card_id=(str_); end
19
+ def authorized_user_account_id(); end
20
+ def authorized_user_account_id=(str_); end
19
21
  def merchant_name(); end
20
22
  def merchant_name=(str_); end
21
23
  def start_date_time(); end
@@ -44,9 +44,12 @@ module Moov
44
44
  field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
45
45
  # Page size. When omitted, the server defaults to `200`.
46
46
  field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
47
+ # Opaque cursor from a previous response's `X-Next-Cursor` header. Reuse the same filters and `count` between pages.
48
+ # Cannot be combined with a nonzero `skip`.
49
+ field :cursor, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'cursor', 'style': 'form', 'explode': false } }
47
50
 
48
- sig { params(account_id: ::String, account_i_ds: T.nilable(T::Array[::String]), status: T.nilable(Models::Components::TransferStatus), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), group_id: T.nilable(::String), schedule_id: T.nilable(::String), payment_link_code: T.nilable(::String), refunded: T.nilable(T::Boolean), disputed: T.nilable(T::Boolean), foreign_id: T.nilable(::String), authorization_i_ds: T.nilable(T::Array[::String]), invoice_i_ds: T.nilable(T::Array[::String]), capture_i_ds: T.nilable(T::Array[::String]), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
49
- def initialize(account_id:, account_i_ds: nil, status: nil, start_date_time: nil, end_date_time: nil, group_id: nil, schedule_id: nil, payment_link_code: nil, refunded: nil, disputed: nil, foreign_id: nil, authorization_i_ds: nil, invoice_i_ds: nil, capture_i_ds: nil, skip: nil, count: nil)
51
+ sig { params(account_id: ::String, account_i_ds: T.nilable(T::Array[::String]), status: T.nilable(Models::Components::TransferStatus), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), group_id: T.nilable(::String), schedule_id: T.nilable(::String), payment_link_code: T.nilable(::String), refunded: T.nilable(T::Boolean), disputed: T.nilable(T::Boolean), foreign_id: T.nilable(::String), authorization_i_ds: T.nilable(T::Array[::String]), invoice_i_ds: T.nilable(T::Array[::String]), capture_i_ds: T.nilable(T::Array[::String]), skip: T.nilable(::Integer), count: T.nilable(::Integer), cursor: T.nilable(::String)).void }
52
+ def initialize(account_id:, account_i_ds: nil, status: nil, start_date_time: nil, end_date_time: nil, group_id: nil, schedule_id: nil, payment_link_code: nil, refunded: nil, disputed: nil, foreign_id: nil, authorization_i_ds: nil, invoice_i_ds: nil, capture_i_ds: nil, skip: nil, count: nil, cursor: nil)
50
53
  @account_id = account_id
51
54
  @account_i_ds = account_i_ds
52
55
  @status = status
@@ -63,6 +66,7 @@ module Moov
63
66
  @capture_i_ds = capture_i_ds
64
67
  @skip = skip
65
68
  @count = count
69
+ @cursor = cursor
66
70
  end
67
71
 
68
72
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -84,6 +88,7 @@ module Moov
84
88
  return false unless @capture_i_ds == other.capture_i_ds
85
89
  return false unless @skip == other.skip
86
90
  return false unless @count == other.count
91
+ return false unless @cursor == other.cursor
87
92
  true
88
93
  end
89
94
  end
@@ -40,4 +40,6 @@ class Moov::Models::Operations::ListTransfersRequest
40
40
  def skip=(str_); end
41
41
  def count(); end
42
42
  def count=(str_); end
43
+ def cursor(); end
44
+ def cursor=(str_); end
43
45
  end
@@ -20,7 +20,7 @@ module Moov
20
20
  field :raw_response, ::Faraday::Response
21
21
 
22
22
  field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
23
- # The request completed successfully.
23
+ # Transfers were successfully listed matching the provided filter parameters and returned
24
24
  field :transfers, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::Transfer))
25
25
 
26
26
  sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], transfers: T.nilable(T::Array[Models::Components::Transfer])).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.19'
92
- @gen_version = '2.943.0'
93
- @user_agent = 'speakeasy-sdk/ruby 25.11.19 2.943.0 v2025.10.00 moov_ruby'
91
+ @sdk_version = '25.11.21'
92
+ @gen_version = '2.954.8'
93
+ @user_agent = 'speakeasy-sdk/ruby 25.11.21 2.954.8 v2025.10.00 moov_ruby'
94
94
  end
95
95
 
96
96
  sig { returns([String, T::Hash[Symbol, String]]) }
@@ -448,7 +448,12 @@ module Moov
448
448
  # When you run this request, you retrieve 200 transfers at a time. You can advance past a results set of 200 transfers by using the `skip` parameter (for example,
449
449
  # if you set `skip`= 10, you will see a results set of 200 transfers after the first 10). If you are searching a high volume of transfers, the request will likely
450
450
  # process very slowly. To achieve faster performance, restrict the data as much as you can by using the `StartDateTime` and `EndDateTime` parameters for a limited
451
- # period of time. You can run multiple requests in smaller time window increments until you've retrieved all the transfers you need.
451
+ # period of time. You can run multiple requests in smaller time window increments until you've retrieved all the transfers you need. The maximum allowed value for
452
+ # `skip` is `200 000`.
453
+ #
454
+ # For large result sets, use cursor pagination instead of `skip`. When more transfers are available, the response includes an
455
+ # `X-Next-Cursor` header. Pass its value as the `cursor` query parameter, with the same filters and `count`, to retrieve the next page.
456
+ # `cursor` cannot be combined with a nonzero `skip`.
452
457
  #
453
458
  # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
454
459
  # you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
@@ -1000,8 +1005,8 @@ module Moov
1000
1005
  end
1001
1006
 
1002
1007
 
1003
- sig { params(account_id: ::String, transfer_id: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::CreateCancellationResponse) }
1004
- def create_cancellation(account_id:, transfer_id:, timeout_ms: nil, http_headers: nil)
1008
+ sig { params(account_id: ::String, transfer_id: ::String, x_idempotency_key: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::CreateCancellationResponse) }
1009
+ def create_cancellation(account_id:, transfer_id:, x_idempotency_key: nil, timeout_ms: nil, http_headers: nil)
1005
1010
  # create_cancellation - Initiate a cancellation for a card, ACH, or queued transfer.
1006
1011
  #
1007
1012
  # In v2026.10 and later, an auth-capture `card-payment` transfer can be canceled before any captures exist.
@@ -1011,7 +1016,8 @@ module Moov
1011
1016
  # to specify the `/accounts/{accountID}/transfers.write` scope.
1012
1017
  request = Models::Operations::CreateCancellationRequest.new(
1013
1018
  account_id: account_id,
1014
- transfer_id: transfer_id
1019
+ transfer_id: transfer_id,
1020
+ x_idempotency_key: x_idempotency_key
1015
1021
  )
1016
1022
  url, params = @sdk_configuration.get_server_details
1017
1023
  base_url = Utils.template_url(url, params)
@@ -1021,7 +1027,7 @@ module Moov
1021
1027
  '/accounts/{accountID}/transfers/{transferID}/cancellations',
1022
1028
  request
1023
1029
  )
1024
- headers = {}
1030
+ headers = Utils.get_headers(request)
1025
1031
  headers = T.cast(headers, T::Hash[String, String])
1026
1032
  headers['Accept'] = 'application/json'
1027
1033
  headers['user-agent'] = @sdk_configuration.user_agent
@@ -1391,6 +1397,7 @@ module Moov
1391
1397
  sig { params(request: Models::Operations::InitiateRefundRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::InitiateRefundResponse) }
1392
1398
  def initiate_refund(request:, timeout_ms: nil, http_headers: nil)
1393
1399
  # initiate_refund - Initiate a refund for a card transfer.
1400
+ # The `accountID` must identify the partner account for the transfer.
1394
1401
  #
1395
1402
  # **Use the [Cancel or refund a card transfer](https://docs.moov.io/api/money-movement/refunds/cancel/) endpoint for more comprehensive cancel and refund options.**
1396
1403
  # See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/reversals/) guide for more information.
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.19
4
+ version: 25.11.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Speakeasy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-10-02 00:00:00.000000000 Z
11
+ date: 2026-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64
@@ -1182,6 +1182,8 @@ files:
1182
1182
  - lib/moov/models/components/rtptransactionstatus.rbi
1183
1183
  - lib/moov/models/components/runtransfer.rb
1184
1184
  - lib/moov/models/components/runtransfer.rbi
1185
+ - lib/moov/models/components/schedule.rb
1186
+ - lib/moov/models/components/schedule.rbi
1185
1187
  - lib/moov/models/components/scheduledtransferimagemetadata.rb
1186
1188
  - lib/moov/models/components/scheduledtransferimagemetadata.rbi
1187
1189
  - lib/moov/models/components/scheduledtransferlineitem.rb
@@ -1240,8 +1242,14 @@ files:
1240
1242
  - lib/moov/models/components/sweepconfig.rbi
1241
1243
  - lib/moov/models/components/sweepconfigpaymentmethod.rb
1242
1244
  - lib/moov/models/components/sweepconfigpaymentmethod.rbi
1245
+ - lib/moov/models/components/sweepconfigschedule.rb
1246
+ - lib/moov/models/components/sweepconfigschedule.rbi
1247
+ - lib/moov/models/components/sweepconfigscheduleerror.rb
1248
+ - lib/moov/models/components/sweepconfigscheduleerror.rbi
1243
1249
  - lib/moov/models/components/sweepconfigstatus.rb
1244
1250
  - lib/moov/models/components/sweepconfigstatus.rbi
1251
+ - lib/moov/models/components/sweepschedulefrequency.rb
1252
+ - lib/moov/models/components/sweepschedulefrequency.rbi
1245
1253
  - lib/moov/models/components/sweepstatus.rb
1246
1254
  - lib/moov/models/components/sweepstatus.rbi
1247
1255
  - lib/moov/models/components/sweepsubtotal.rb