moov_ruby 0.0.0.pre.dev.32 → 0.0.0.pre.dev.33

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 (72) 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 +3 -0
  5. data/lib/moov/models/components/capture.rb +2 -6
  6. data/lib/moov/models/components/capture.rbi +0 -2
  7. data/lib/moov/models/components/capturemethod.rb +21 -0
  8. data/lib/moov/models/components/capturemethod.rbi +11 -0
  9. data/lib/moov/models/components/cardpaymentoptions.rb +14 -2
  10. data/lib/moov/models/components/cardpaymentoptions.rbi +6 -0
  11. data/lib/moov/models/components/createcapture.rb +2 -6
  12. data/lib/moov/models/components/createcapture.rbi +0 -2
  13. data/lib/moov/models/components/createcardpaymentoptions.rb +55 -0
  14. data/lib/moov/models/components/createcardpaymentoptions.rbi +21 -0
  15. data/lib/moov/models/components/createcardpaymentoptions_capturemethod.rb +20 -0
  16. data/lib/moov/models/components/createcardpaymentoptions_capturemethod.rbi +11 -0
  17. data/lib/moov/models/components/createsweepconfig.rb +6 -2
  18. data/lib/moov/models/components/createsweepconfig.rbi +2 -0
  19. data/lib/moov/models/components/createtransferrailoptions.rb +3 -3
  20. data/lib/moov/models/components/fullissuedcard.rb +6 -4
  21. data/lib/moov/models/components/issuedcard.rb +6 -4
  22. data/lib/moov/models/components/issuedcardauthorization.rb +6 -2
  23. data/lib/moov/models/components/issuedcardauthorization.rbi +2 -0
  24. data/lib/moov/models/components/issuedcardstate.rb +6 -4
  25. data/lib/moov/models/components/issuedcardtransaction.rb +6 -2
  26. data/lib/moov/models/components/issuedcardtransaction.rbi +2 -0
  27. data/lib/moov/models/components/issuedcontrols_allowedschedule.rb +1 -1
  28. data/lib/moov/models/components/issuingcontrols_allowedschedule.rb +1 -1
  29. data/lib/moov/models/components/patchsweepconfig.rb +6 -2
  30. data/lib/moov/models/components/patchsweepconfig.rbi +2 -0
  31. data/lib/moov/models/components/schedule.rb +40 -0
  32. data/lib/moov/models/components/schedule.rbi +17 -0
  33. data/lib/moov/models/components/schedulewindow.rb +1 -1
  34. data/lib/moov/models/components/sweepconfig.rb +6 -2
  35. data/lib/moov/models/components/sweepconfig.rbi +2 -0
  36. data/lib/moov/models/components/sweepconfigschedule.rb +40 -0
  37. data/lib/moov/models/components/sweepconfigschedule.rbi +17 -0
  38. data/lib/moov/models/components/sweepconfigscheduleerror.rb +40 -0
  39. data/lib/moov/models/components/sweepconfigscheduleerror.rbi +17 -0
  40. data/lib/moov/models/components/sweepschedulefrequency.rb +18 -0
  41. data/lib/moov/models/components/sweepschedulefrequency.rbi +11 -0
  42. data/lib/moov/models/components/transferauthorization.rb +6 -2
  43. data/lib/moov/models/components/transferauthorization.rbi +2 -0
  44. data/lib/moov/models/components/updateissuedcard.rb +3 -3
  45. data/lib/moov/models/components/updateissuedcardstate.rb +3 -3
  46. data/lib/moov/models/components/updateissuingcontrols_allowedschedule.rb +1 -1
  47. data/lib/moov/models/components/upsertunderwriting.rb +1 -1
  48. data/lib/moov/models/components/webhookdatacapabilityrequested.rb +2 -0
  49. data/lib/moov/models/components/webhookdatacapabilityupdated.rb +2 -0
  50. data/lib/moov/models/components.rb +7 -0
  51. data/lib/moov/models/errors/capturevalidationerror.rb +2 -6
  52. data/lib/moov/models/errors/capturevalidationerror.rbi +0 -2
  53. data/lib/moov/models/errors/createsweepconfigerror.rb +6 -2
  54. data/lib/moov/models/errors/createsweepconfigerror.rbi +2 -0
  55. data/lib/moov/models/errors/listtransfersvalidationerror.rb +6 -2
  56. data/lib/moov/models/errors/listtransfersvalidationerror.rbi +2 -0
  57. data/lib/moov/models/errors/patchsweepconfigerror.rb +6 -2
  58. data/lib/moov/models/errors/patchsweepconfigerror.rbi +2 -0
  59. data/lib/moov/models/operations/disablecapability_request.rb +2 -0
  60. data/lib/moov/models/operations/getcapability_request.rb +2 -0
  61. data/lib/moov/models/operations/listissuedcardauthorizations_request.rb +6 -2
  62. data/lib/moov/models/operations/listissuedcardauthorizations_request.rbi +2 -0
  63. data/lib/moov/models/operations/listissuedcards_request.rb +6 -2
  64. data/lib/moov/models/operations/listissuedcards_request.rbi +2 -0
  65. data/lib/moov/models/operations/listissuedcardtransactions_request.rb +6 -2
  66. data/lib/moov/models/operations/listissuedcardtransactions_request.rbi +2 -0
  67. data/lib/moov/models/operations/listtransfers_request.rb +7 -2
  68. data/lib/moov/models/operations/listtransfers_request.rbi +2 -0
  69. data/lib/moov/models/operations/listtransfers_response.rb +1 -1
  70. data/lib/moov/sdkconfiguration.rb +3 -3
  71. data/lib/moov/transfers.rb +6 -1
  72. metadata +16 -2
@@ -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
@@ -7,7 +7,7 @@
7
7
  module Moov
8
8
  module Models
9
9
  module Components
10
- # A window of time during which the card may authorize.
10
+ # A window of time during which authorizations on the card can be approved.
11
11
  class ScheduleWindow
12
12
  extend T::Sig
13
13
  include Crystalline::MetadataFields
@@ -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
@@ -29,9 +29,11 @@ module Moov
29
29
  field :amount_details, Crystalline::Nilable.new(Models::Components::TransferAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
30
30
  # Expiration time for the approved authorization, when available.
31
31
  field :expires_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiresOn'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
32
+ # Whether the card network granted the extended authorization hold. Returned only when `options.cardPayment.isExtendedAuthorizationRequested` is `true`.
33
+ field :is_extended_authorization_granted, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('isExtendedAuthorizationGranted') } }
32
34
 
33
- sig { params(authorization_id: ::String, requested_amount: Models::Components::AmountDecimal, authorized_amount: Models::Components::AmountDecimal, captured_amount: Models::Components::AmountDecimal, capturable_amount: Models::Components::AmountDecimal, amount_details: T.nilable(Models::Components::TransferAmountDetails), expires_on: T.nilable(::DateTime)).void }
34
- def initialize(authorization_id:, requested_amount:, authorized_amount:, captured_amount:, capturable_amount:, amount_details: nil, expires_on: nil)
35
+ sig { params(authorization_id: ::String, requested_amount: Models::Components::AmountDecimal, authorized_amount: Models::Components::AmountDecimal, captured_amount: Models::Components::AmountDecimal, capturable_amount: Models::Components::AmountDecimal, amount_details: T.nilable(Models::Components::TransferAmountDetails), expires_on: T.nilable(::DateTime), is_extended_authorization_granted: T.nilable(T::Boolean)).void }
36
+ def initialize(authorization_id:, requested_amount:, authorized_amount:, captured_amount:, capturable_amount:, amount_details: nil, expires_on: nil, is_extended_authorization_granted: nil)
35
37
  @authorization_id = authorization_id
36
38
  @requested_amount = requested_amount
37
39
  @authorized_amount = authorized_amount
@@ -39,6 +41,7 @@ module Moov
39
41
  @capturable_amount = capturable_amount
40
42
  @amount_details = amount_details
41
43
  @expires_on = expires_on
44
+ @is_extended_authorization_granted = is_extended_authorization_granted
42
45
  end
43
46
 
44
47
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -51,6 +54,7 @@ module Moov
51
54
  return false unless @capturable_amount == other.capturable_amount
52
55
  return false unless @amount_details == other.amount_details
53
56
  return false unless @expires_on == other.expires_on
57
+ return false unless @is_extended_authorization_granted == other.is_extended_authorization_granted
54
58
  true
55
59
  end
56
60
  end
@@ -22,4 +22,6 @@ class Moov::Models::Components::TransferAuthorization
22
22
  def amount_details=(str_); end
23
23
  def expires_on(); end
24
24
  def expires_on=(str_); end
25
+ def is_extended_authorization_granted(); end
26
+ def is_extended_authorization_granted=(str_); end
25
27
  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
  # Mutable spend controls for the card.
21
21
  field :controls, Crystalline::Nilable.new(Models::Components::UpdateIssuingControls), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('controls') } }
@@ -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')
@@ -14,7 +14,7 @@ module Moov
14
14
 
15
15
  # IANA timezone string used to evaluate window boundaries against the authorization time.
16
16
  field :timezone, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('timezone') } }
17
- # Time windows during which the card may authorize. Any matching window allows the transaction.
17
+ # Time windows during which authorizations on the card can be approved. Any matching window allows the transaction.
18
18
  field :windows, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::ScheduleWindow)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('windows') } }
19
19
 
20
20
  sig { params(timezone: T.nilable(::String), windows: T.nilable(T::Array[Models::Components::ScheduleWindow])).void }
@@ -30,7 +30,7 @@ module Moov
30
30
  #
31
31
  # Issued cards are funded from the account's card-issuing wallet before they can be spent, so estimated activity is the only data collected.
32
32
  field :card_issuing, Crystalline::Nilable.new(Models::Components::CardIssuing), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cardIssuing') } }
33
-
33
+ # 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`.
34
34
  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) } }
35
35
 
36
36
  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), card_issuing: T.nilable(Models::Components::CardIssuing), 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) } }
@@ -129,6 +129,7 @@ module Moov
129
129
  autoload :CapabilityRequirement, 'moov/models/components/capabilityrequirement.rb'
130
130
  autoload :CapabilityStatus, 'moov/models/components/capabilitystatus.rb'
131
131
  autoload :Capture, 'moov/models/components/capture.rb'
132
+ autoload :CaptureMethod, 'moov/models/components/capturemethod.rb'
132
133
  autoload :CaptureStatus, 'moov/models/components/capturestatus.rb'
133
134
  autoload :Card, 'moov/models/components/card.rb'
134
135
  autoload :CardAcceptanceMethods, 'moov/models/components/cardacceptancemethods.rb'
@@ -194,6 +195,8 @@ module Moov
194
195
  autoload :CreateBusinessErrorTaxID, 'moov/models/components/createbusinesserror_taxid.rb'
195
196
  autoload :CreateBusinessProfile, 'moov/models/components/createbusinessprofile.rb'
196
197
  autoload :CreateCapture, 'moov/models/components/createcapture.rb'
198
+ autoload :CreateCardPaymentOptions, 'moov/models/components/createcardpaymentoptions.rb'
199
+ autoload :CreateCardPaymentOptionsCaptureMethod, 'moov/models/components/createcardpaymentoptions_capturemethod.rb'
197
200
  autoload :CreateClearingSimulation, 'moov/models/components/createclearingsimulation.rb'
198
201
  autoload :CreateEvidenceFileMultiPart, 'moov/models/components/createevidencefilemultipart.rb'
199
202
  autoload :CreateEvidenceFileMultiPartFile, 'moov/models/components/createevidencefilemultipart_file.rb'
@@ -631,7 +634,10 @@ module Moov
631
634
  autoload :Sweep, 'moov/models/components/sweep.rb'
632
635
  autoload :SweepConfig, 'moov/models/components/sweepconfig.rb'
633
636
  autoload :SweepConfigPaymentMethod, 'moov/models/components/sweepconfigpaymentmethod.rb'
637
+ autoload :SweepConfigSchedule, 'moov/models/components/sweepconfigschedule.rb'
638
+ autoload :SweepConfigScheduleError, 'moov/models/components/sweepconfigscheduleerror.rb'
634
639
  autoload :SweepConfigStatus, 'moov/models/components/sweepconfigstatus.rb'
640
+ autoload :SweepScheduleFrequency, 'moov/models/components/sweepschedulefrequency.rb'
635
641
  autoload :SweepStatus, 'moov/models/components/sweepstatus.rb'
636
642
  autoload :SweepSubtotal, 'moov/models/components/sweepsubtotal.rb'
637
643
  autoload :TaxID, 'moov/models/components/taxid.rb'
@@ -824,6 +830,7 @@ module Moov
824
830
  autoload :OtherFees, 'moov/models/components/otherfees.rb'
825
831
  autoload :Phone, 'moov/models/components/phone.rb'
826
832
  autoload :Responsibilities, 'moov/models/components/responsibilities.rb'
833
+ autoload :Schedule, 'moov/models/components/schedule.rb'
827
834
  autoload :Status, 'moov/models/components/status.rb'
828
835
  autoload :Surcharge, 'moov/models/components/surcharge.rb'
829
836
  autoload :Tax, 'moov/models/components/tax.rb'
@@ -13,8 +13,6 @@ module Moov
13
13
  include Crystalline::MetadataFields
14
14
 
15
15
 
16
- field :destination_payment_method_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('destinationPaymentMethodID') } }
17
-
18
16
  field :amount, Crystalline::Nilable.new(Models::Components::AmountDecimalValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount') } }
19
17
 
20
18
  field :is_final, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('isFinal') } }
@@ -33,9 +31,8 @@ module Moov
33
31
  # Raw HTTP response; suitable for custom response parsing
34
32
  field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
35
33
 
36
- sig { params(destination_payment_method_id: T.nilable(::String), amount: T.nilable(Models::Components::AmountDecimalValidationError), is_final: T.nilable(::String), description: T.nilable(::String), facilitator_fee_amount: T.nilable(Models::Components::AmountDecimalValidationError), metadata: T.nilable(::String), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::CreateTransferLineItemsValidationError), amount_details: T.nilable(Models::Components::CreateTransferAmountDetailsValidationError), raw_response: T.nilable(::Faraday::Response)).void }
37
- def initialize(destination_payment_method_id: nil, amount: nil, is_final: nil, description: nil, facilitator_fee_amount: nil, metadata: nil, foreign_id: nil, line_items: nil, amount_details: nil, raw_response: nil)
38
- @destination_payment_method_id = destination_payment_method_id
34
+ sig { params(amount: T.nilable(Models::Components::AmountDecimalValidationError), is_final: T.nilable(::String), description: T.nilable(::String), facilitator_fee_amount: T.nilable(Models::Components::AmountDecimalValidationError), metadata: T.nilable(::String), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::CreateTransferLineItemsValidationError), amount_details: T.nilable(Models::Components::CreateTransferAmountDetailsValidationError), raw_response: T.nilable(::Faraday::Response)).void }
35
+ def initialize(amount: nil, is_final: nil, description: nil, facilitator_fee_amount: nil, metadata: nil, foreign_id: nil, line_items: nil, amount_details: nil, raw_response: nil)
39
36
  @amount = amount
40
37
  @is_final = is_final
41
38
  @description = description
@@ -50,7 +47,6 @@ module Moov
50
47
  sig { params(other: T.untyped).returns(T::Boolean) }
51
48
  def ==(other)
52
49
  return false unless other.is_a? self.class
53
- return false unless @destination_payment_method_id == other.destination_payment_method_id
54
50
  return false unless @amount == other.amount
55
51
  return false unless @is_final == other.is_final
56
52
  return false unless @description == other.description
@@ -8,8 +8,6 @@ end
8
8
 
9
9
 
10
10
  class Moov::Models::Errors::CaptureValidationError
11
- def destination_payment_method_id(); end
12
- def destination_payment_method_id=(str_); end
13
11
  def amount(); end
14
12
  def amount=(str_); end
15
13
  def is_final(); end
@@ -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
@@ -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 }