moov_ruby 26.4.20 → 26.4.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.
- checksums.yaml +4 -4
- data/lib/moov/card_issuing.rb +2 -8
- data/lib/moov/models/components/capability.rb +2 -0
- data/lib/moov/models/components/capabilityid.rb +2 -0
- data/lib/moov/models/components/createsweepconfig.rb +6 -2
- data/lib/moov/models/components/createsweepconfig.rbi +2 -0
- data/lib/moov/models/components/fullissuedcard.rb +6 -4
- data/lib/moov/models/components/issuedcard.rb +6 -4
- data/lib/moov/models/components/issuedcardauthorization.rb +6 -2
- data/lib/moov/models/components/issuedcardauthorization.rbi +2 -0
- data/lib/moov/models/components/issuedcardstate.rb +6 -4
- data/lib/moov/models/components/issuedcardtransaction.rb +6 -2
- data/lib/moov/models/components/issuedcardtransaction.rbi +2 -0
- data/lib/moov/models/components/patchsweepconfig.rb +6 -2
- data/lib/moov/models/components/patchsweepconfig.rbi +2 -0
- data/lib/moov/models/components/schedule.rb +40 -0
- data/lib/moov/models/components/schedule.rbi +17 -0
- data/lib/moov/models/components/sweepconfig.rb +6 -2
- data/lib/moov/models/components/sweepconfig.rbi +2 -0
- data/lib/moov/models/components/sweepconfigschedule.rb +40 -0
- data/lib/moov/models/components/sweepconfigschedule.rbi +17 -0
- data/lib/moov/models/components/sweepconfigscheduleerror.rb +40 -0
- data/lib/moov/models/components/sweepconfigscheduleerror.rbi +17 -0
- data/lib/moov/models/components/sweepschedulefrequency.rb +18 -0
- data/lib/moov/models/components/sweepschedulefrequency.rbi +11 -0
- data/lib/moov/models/components/updateissuedcard.rb +3 -3
- data/lib/moov/models/components/updateissuedcardstate.rb +3 -3
- data/lib/moov/models/components/upsertunderwriting.rb +1 -1
- data/lib/moov/models/components/webhookdatacapabilityrequested.rb +2 -0
- data/lib/moov/models/components/webhookdatacapabilityupdated.rb +2 -0
- data/lib/moov/models/components.rb +4 -0
- data/lib/moov/models/errors/createsweepconfigerror.rb +6 -2
- data/lib/moov/models/errors/createsweepconfigerror.rbi +2 -0
- data/lib/moov/models/errors/listtransfersvalidationerror.rb +6 -2
- data/lib/moov/models/errors/listtransfersvalidationerror.rbi +2 -0
- data/lib/moov/models/errors/patchsweepconfigerror.rb +6 -2
- data/lib/moov/models/errors/patchsweepconfigerror.rbi +2 -0
- data/lib/moov/models/operations/disablecapability_request.rb +2 -0
- data/lib/moov/models/operations/getcapability_request.rb +2 -0
- data/lib/moov/models/operations/listissuedcardauthorizations_request.rb +6 -2
- data/lib/moov/models/operations/listissuedcardauthorizations_request.rbi +2 -0
- data/lib/moov/models/operations/listissuedcards_request.rb +6 -2
- data/lib/moov/models/operations/listissuedcards_request.rbi +2 -0
- data/lib/moov/models/operations/listissuedcardtransactions_request.rb +6 -2
- data/lib/moov/models/operations/listissuedcardtransactions_request.rbi +2 -0
- data/lib/moov/models/operations/listtransfers_request.rb +7 -2
- data/lib/moov/models/operations/listtransfers_request.rbi +2 -0
- data/lib/moov/models/operations/listtransfers_response.rb +1 -1
- data/lib/moov/sdkconfiguration.rb +3 -3
- data/lib/moov/transfers.rb +6 -1
- metadata +10 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9b4eb2dd0e5bb3b89857d4f6df55061b0e8c1a165f51462e9da0d38a2941de6d
|
|
4
|
+
data.tar.gz: 8f1a188750ad091fab644dab2d33e0135898f96899085506695e90395f5210c4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: be49376f134591c744b477d34d86f17a0e237bc250ca24207700d895002cc819f9938c04119f9b62322138aba58a8f709a41788f93eb88022cf83353355a098a
|
|
7
|
+
data.tar.gz: 2a5c543910eeb9d504a7098c2e01897e4db1df2ff8a911cd287c9a5d0396163b5a96512d863e6d96c8197ee66d1b946b562a6cf655b7364698998211e7d39abd
|
data/lib/moov/card_issuing.rb
CHANGED
|
@@ -206,18 +206,12 @@ module Moov
|
|
|
206
206
|
end
|
|
207
207
|
|
|
208
208
|
|
|
209
|
-
sig { params(
|
|
210
|
-
def list(
|
|
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
|
|
@@ -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.
|
|
25
|
+
# The `state` represents the operational status of an issued card.
|
|
26
26
|
#
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
# - `
|
|
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.
|
|
25
|
+
# The `state` represents the operational status of an issued card.
|
|
26
26
|
#
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
# - `
|
|
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.
|
|
10
|
+
# IssuedCardState - The `state` represents the operational status of an issued card.
|
|
11
11
|
#
|
|
12
|
-
#
|
|
13
|
-
#
|
|
14
|
-
# - `
|
|
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
|
|
@@ -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
|
|
@@ -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`:
|
|
17
|
-
# - `frozen`:
|
|
18
|
-
# - `closed`: The card is permanently deactivated
|
|
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`:
|
|
12
|
-
# - `frozen`:
|
|
13
|
-
# - `closed`: The card is permanently deactivated
|
|
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) } }
|
|
@@ -558,7 +558,10 @@ module Moov
|
|
|
558
558
|
autoload :Sweep, 'moov/models/components/sweep.rb'
|
|
559
559
|
autoload :SweepConfig, 'moov/models/components/sweepconfig.rb'
|
|
560
560
|
autoload :SweepConfigPaymentMethod, 'moov/models/components/sweepconfigpaymentmethod.rb'
|
|
561
|
+
autoload :SweepConfigSchedule, 'moov/models/components/sweepconfigschedule.rb'
|
|
562
|
+
autoload :SweepConfigScheduleError, 'moov/models/components/sweepconfigscheduleerror.rb'
|
|
561
563
|
autoload :SweepConfigStatus, 'moov/models/components/sweepconfigstatus.rb'
|
|
564
|
+
autoload :SweepScheduleFrequency, 'moov/models/components/sweepschedulefrequency.rb'
|
|
562
565
|
autoload :SweepStatus, 'moov/models/components/sweepstatus.rb'
|
|
563
566
|
autoload :SweepSubtotal, 'moov/models/components/sweepsubtotal.rb'
|
|
564
567
|
autoload :TaxID, 'moov/models/components/taxid.rb'
|
|
@@ -714,6 +717,7 @@ module Moov
|
|
|
714
717
|
autoload :OtherFees, 'moov/models/components/otherfees.rb'
|
|
715
718
|
autoload :Phone, 'moov/models/components/phone.rb'
|
|
716
719
|
autoload :Responsibilities, 'moov/models/components/responsibilities.rb'
|
|
720
|
+
autoload :Schedule, 'moov/models/components/schedule.rb'
|
|
717
721
|
autoload :Status, 'moov/models/components/status.rb'
|
|
718
722
|
autoload :TokenTypeHint, 'moov/models/components/token_type_hint.rb'
|
|
719
723
|
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
|
|
@@ -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 }
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
-
#
|
|
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 = 'v2026.04.00'
|
|
91
|
-
@sdk_version = '26.4.
|
|
92
|
-
@gen_version = '2.
|
|
93
|
-
@user_agent = 'speakeasy-sdk/ruby 26.4.
|
|
91
|
+
@sdk_version = '26.4.21'
|
|
92
|
+
@gen_version = '2.954.8'
|
|
93
|
+
@user_agent = 'speakeasy-sdk/ruby 26.4.21 2.954.8 v2026.04.00 moov_ruby'
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
data/lib/moov/transfers.rb
CHANGED
|
@@ -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.
|
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: 26.4.
|
|
4
|
+
version: 26.4.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-
|
|
11
|
+
date: 2026-11-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|
|
@@ -1344,6 +1344,8 @@ files:
|
|
|
1344
1344
|
- lib/moov/models/components/rtptransactionstatus.rbi
|
|
1345
1345
|
- lib/moov/models/components/runtransfer.rb
|
|
1346
1346
|
- lib/moov/models/components/runtransfer.rbi
|
|
1347
|
+
- lib/moov/models/components/schedule.rb
|
|
1348
|
+
- lib/moov/models/components/schedule.rbi
|
|
1347
1349
|
- lib/moov/models/components/scheduledtransferimagemetadata.rb
|
|
1348
1350
|
- lib/moov/models/components/scheduledtransferimagemetadata.rbi
|
|
1349
1351
|
- lib/moov/models/components/scheduledtransferlineitem.rb
|
|
@@ -1402,8 +1404,14 @@ files:
|
|
|
1402
1404
|
- lib/moov/models/components/sweepconfig.rbi
|
|
1403
1405
|
- lib/moov/models/components/sweepconfigpaymentmethod.rb
|
|
1404
1406
|
- lib/moov/models/components/sweepconfigpaymentmethod.rbi
|
|
1407
|
+
- lib/moov/models/components/sweepconfigschedule.rb
|
|
1408
|
+
- lib/moov/models/components/sweepconfigschedule.rbi
|
|
1409
|
+
- lib/moov/models/components/sweepconfigscheduleerror.rb
|
|
1410
|
+
- lib/moov/models/components/sweepconfigscheduleerror.rbi
|
|
1405
1411
|
- lib/moov/models/components/sweepconfigstatus.rb
|
|
1406
1412
|
- lib/moov/models/components/sweepconfigstatus.rbi
|
|
1413
|
+
- lib/moov/models/components/sweepschedulefrequency.rb
|
|
1414
|
+
- lib/moov/models/components/sweepschedulefrequency.rbi
|
|
1407
1415
|
- lib/moov/models/components/sweepstatus.rb
|
|
1408
1416
|
- lib/moov/models/components/sweepstatus.rbi
|
|
1409
1417
|
- lib/moov/models/components/sweepsubtotal.rb
|