moov_ruby 26.7.1 → 26.10.0.pre.dev.0
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/avatars.rb +1 -276
- data/lib/moov/card_issuing.rb +0 -116
- data/lib/moov/client.rb +2 -2
- data/lib/moov/enriched_address.rb +1 -1
- data/lib/moov/enriched_profile.rb +1 -1
- data/lib/moov/institutions.rb +1 -1
- data/lib/moov/models/components/capabilityid.rb +0 -1
- data/lib/moov/models/components/{avataruploadrequest.rb → contributingrule.rb} +8 -8
- data/lib/moov/models/components/contributingrule.rbi +13 -0
- data/lib/moov/models/components/createdtransfer.rb +2 -6
- data/lib/moov/models/components/createdtransfer.rbi +0 -2
- data/lib/moov/models/components/createrefund.rb +2 -2
- data/lib/moov/models/components/createreversal.rb +1 -1
- data/lib/moov/models/components/createtransfer.rb +2 -6
- data/lib/moov/models/components/createtransfer.rbi +0 -2
- data/lib/moov/models/components/fullissuedcard.rb +3 -3
- data/lib/moov/models/components/incurredfee.rb +2 -6
- data/lib/moov/models/components/incurredfee.rbi +0 -2
- data/lib/moov/models/components/issuedcard.rb +3 -3
- data/lib/moov/models/components/issuingcontrols.rb +2 -18
- data/lib/moov/models/components/issuingcontrols.rbi +0 -8
- data/lib/moov/models/components/issuingcontrolserror.rb +2 -18
- data/lib/moov/models/components/issuingcontrolserror.rbi +0 -8
- data/lib/moov/models/components/issuingintervallimit.rb +1 -4
- data/lib/moov/models/components/issuingvelocitylimit.rb +7 -11
- data/lib/moov/models/components/issuingvelocitylimit.rbi +2 -4
- data/lib/moov/models/components/issuingvelocitylimiterror.rb +2 -6
- data/lib/moov/models/components/issuingvelocitylimiterror.rbi +0 -2
- data/lib/moov/models/components/partnerriskoutcomesresponse.rb +38 -0
- data/lib/moov/models/components/partnerriskoutcomesresponse.rbi +15 -0
- data/lib/moov/models/components/paymentlinkpayoutdetails.rb +2 -8
- data/lib/moov/models/components/paymentlinkpayoutdetails.rbi +0 -2
- data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rb +2 -8
- data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rbi +0 -2
- data/lib/moov/models/components/paymentmethodswallet.rb +0 -1
- data/lib/moov/models/components/payoutdetailserror.rb +2 -6
- data/lib/moov/models/components/payoutdetailserror.rbi +0 -2
- data/lib/moov/models/components/product.rb +2 -6
- data/lib/moov/models/components/product.rbi +0 -2
- data/lib/moov/models/components/productrequest.rb +2 -6
- data/lib/moov/models/components/productrequest.rbi +0 -2
- data/lib/moov/models/components/sendfunds.rb +2 -6
- data/lib/moov/models/components/sendfunds.rbi +0 -2
- data/lib/moov/models/components/sendfundserror.rb +2 -6
- data/lib/moov/models/components/sendfundserror.rbi +0 -2
- data/lib/moov/models/components/transfer.rb +2 -6
- data/lib/moov/models/components/transfer.rbi +0 -2
- data/lib/moov/models/components/transferpaymentmethodswallet.rb +0 -1
- data/lib/moov/models/components/updateissuedcard.rb +2 -6
- data/lib/moov/models/components/updateissuedcard.rbi +0 -2
- data/lib/moov/models/components/wallet.rb +0 -1
- data/lib/moov/models/components/wallettype.rb +0 -2
- data/lib/moov/models/components/webhookdatatransferstatus.rb +0 -3
- data/lib/moov/models/components.rb +2 -34
- data/lib/moov/models/errors/productrequestvalidationerror.rb +2 -6
- data/lib/moov/models/errors/productrequestvalidationerror.rbi +0 -2
- data/lib/moov/models/errors/transfer_error.rb +2 -6
- data/lib/moov/models/errors/transfer_error.rbi +0 -2
- data/lib/moov/models/errors/updateissuedcarderror.rb +2 -6
- data/lib/moov/models/errors/updateissuedcarderror.rbi +0 -2
- data/lib/moov/models/operations/gettransferriskoutcomes_request.rb +37 -0
- data/lib/moov/models/operations/gettransferriskoutcomes_request.rbi +15 -0
- data/lib/moov/models/operations/{listissuingmerchantcategories_response.rb → gettransferriskoutcomes_response.rb} +6 -6
- data/lib/moov/models/operations/{deleteavatar_response.rbi → gettransferriskoutcomes_response.rbi} +4 -2
- data/lib/moov/models/operations/listproducts_request.rb +2 -8
- data/lib/moov/models/operations/listproducts_request.rbi +0 -2
- data/lib/moov/models/operations/listtransfers_request.rb +2 -10
- data/lib/moov/models/operations/listtransfers_request.rbi +0 -4
- data/lib/moov/models/operations.rb +2 -8
- data/lib/moov/products.rb +8 -113
- data/lib/moov/sdk_hooks/hooks.rb +0 -6
- data/lib/moov/sdkconfiguration.rb +4 -4
- data/lib/moov/transfers.rb +125 -0
- data/lib/moov_ruby.rb +1 -1
- metadata +12 -90
- data/lib/moov/models/components/allowedscheduleerror.rb +0 -36
- data/lib/moov/models/components/allowedscheduleerror.rbi +0 -15
- data/lib/moov/models/components/avataruploadrequest.rbi +0 -13
- data/lib/moov/models/components/avataruploadrequest_file.rb +0 -36
- data/lib/moov/models/components/avataruploadrequest_file.rbi +0 -15
- data/lib/moov/models/components/feepaidby.rb +0 -19
- data/lib/moov/models/components/feepaidby.rbi +0 -11
- data/lib/moov/models/components/issuedcontrols.rb +0 -52
- data/lib/moov/models/components/issuedcontrols.rbi +0 -23
- data/lib/moov/models/components/issuedcontrols_allowedschedule.rb +0 -36
- data/lib/moov/models/components/issuedcontrols_allowedschedule.rbi +0 -15
- data/lib/moov/models/components/issuedvelocitylimit.rb +0 -60
- data/lib/moov/models/components/issuedvelocitylimit.rbi +0 -27
- data/lib/moov/models/components/issuingcontrols_allowedschedule.rb +0 -36
- data/lib/moov/models/components/issuingcontrols_allowedschedule.rbi +0 -15
- data/lib/moov/models/components/issuingcontrolsrestrictionmode.rb +0 -19
- data/lib/moov/models/components/issuingcontrolsrestrictionmode.rbi +0 -11
- data/lib/moov/models/components/issuingmerchantcategory.rb +0 -43
- data/lib/moov/models/components/issuingmerchantcategory.rbi +0 -11
- data/lib/moov/models/components/issuingscheduleday.rb +0 -24
- data/lib/moov/models/components/issuingscheduleday.rbi +0 -11
- data/lib/moov/models/components/merchantcategories.rb +0 -32
- data/lib/moov/models/components/merchantcategories.rbi +0 -13
- data/lib/moov/models/components/merchantcategory.rb +0 -37
- data/lib/moov/models/components/merchantcategory.rbi +0 -15
- data/lib/moov/models/components/merchantcategoryrestrictions.rb +0 -44
- data/lib/moov/models/components/merchantcategoryrestrictions.rbi +0 -19
- data/lib/moov/models/components/merchantcategoryrestrictionserror.rb +0 -44
- data/lib/moov/models/components/merchantcategoryrestrictionserror.rbi +0 -19
- data/lib/moov/models/components/merchantentry.rb +0 -40
- data/lib/moov/models/components/merchantentry.rbi +0 -17
- data/lib/moov/models/components/merchantentryerror.rb +0 -36
- data/lib/moov/models/components/merchantentryerror.rbi +0 -15
- data/lib/moov/models/components/merchantrestrictions.rb +0 -36
- data/lib/moov/models/components/merchantrestrictions.rbi +0 -15
- data/lib/moov/models/components/merchantrestrictionserror.rb +0 -36
- data/lib/moov/models/components/merchantrestrictionserror.rbi +0 -15
- data/lib/moov/models/components/productcategories.rb +0 -32
- data/lib/moov/models/components/productcategories.rbi +0 -13
- data/lib/moov/models/components/productcategory.rb +0 -48
- data/lib/moov/models/components/productcategory.rbi +0 -21
- data/lib/moov/models/components/schedulewindow.rb +0 -40
- data/lib/moov/models/components/schedulewindow.rbi +0 -17
- data/lib/moov/models/components/schedulewindowerror.rb +0 -40
- data/lib/moov/models/components/schedulewindowerror.rbi +0 -17
- data/lib/moov/models/components/schemebasicauth.rb +0 -36
- data/lib/moov/models/components/schemebasicauth.rbi +0 -15
- data/lib/moov/models/components/schemeoauth2auth.rb +0 -40
- data/lib/moov/models/components/schemeoauth2auth.rbi +0 -17
- data/lib/moov/models/components/sendfundswire.rb +0 -32
- data/lib/moov/models/components/sendfundswire.rbi +0 -13
- data/lib/moov/models/components/sendfundswireerror.rb +0 -32
- data/lib/moov/models/components/sendfundswireerror.rbi +0 -13
- data/lib/moov/models/components/transfercapture.rb +0 -36
- data/lib/moov/models/components/transfercapture.rbi +0 -15
- data/lib/moov/models/components/transferfeepaidby.rb +0 -32
- data/lib/moov/models/components/transferfeepaidby.rbi +0 -13
- data/lib/moov/models/components/updateissuingcontrols.rb +0 -48
- data/lib/moov/models/components/updateissuingcontrols.rbi +0 -21
- data/lib/moov/models/components/updateissuingcontrols_allowedschedule.rb +0 -36
- data/lib/moov/models/components/updateissuingcontrols_allowedschedule.rbi +0 -15
- data/lib/moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rb +0 -44
- data/lib/moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rbi +0 -19
- data/lib/moov/models/components/updateissuingcontrols_merchantrestrictions.rb +0 -36
- data/lib/moov/models/components/updateissuingcontrols_merchantrestrictions.rbi +0 -15
- data/lib/moov/models/components/updateissuingcontrolserror.rb +0 -48
- data/lib/moov/models/components/updateissuingcontrolserror.rbi +0 -21
- data/lib/moov/models/operations/deleteavatar_request.rb +0 -32
- data/lib/moov/models/operations/deleteavatar_request.rbi +0 -13
- data/lib/moov/models/operations/deleteavatar_response.rb +0 -44
- data/lib/moov/models/operations/deleteavatar_security.rb +0 -36
- data/lib/moov/models/operations/deleteavatar_security.rbi +0 -15
- data/lib/moov/models/operations/listissuingmerchantcategories_response.rbi +0 -21
- data/lib/moov/models/operations/listproductcategories_response.rb +0 -48
- data/lib/moov/models/operations/listproductcategories_response.rbi +0 -21
- data/lib/moov/models/operations/uploadavatar_request.rb +0 -36
- data/lib/moov/models/operations/uploadavatar_request.rbi +0 -15
- data/lib/moov/models/operations/uploadavatar_response.rb +0 -44
- data/lib/moov/models/operations/uploadavatar_response.rbi +0 -19
- data/lib/moov/models/operations/uploadavatar_security.rb +0 -36
- data/lib/moov/models/operations/uploadavatar_security.rbi +0 -15
- data/lib/moov/sdk_hooks/clientcredentials.rb +0 -386
- data/lib/moov/sdk_hooks/oauth2scopes.rb +0 -18
|
@@ -71,11 +71,9 @@ module Moov
|
|
|
71
71
|
field :invoice_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('invoiceID') } }
|
|
72
72
|
|
|
73
73
|
field :amount_details, Crystalline::Nilable.new(Models::Components::TransferAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
|
|
74
|
-
# The card authorization and capture IDs associated with a transfer.
|
|
75
|
-
field :capture, Crystalline::Nilable.new(Models::Components::TransferCapture), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('capture') } }
|
|
76
74
|
|
|
77
|
-
sig { params(transfer_id: ::String, created_on: ::DateTime, source: Models::Components::TransferSource, destination: Models::Components::TransferDestination, status: Models::Components::TransferStatus, amount: Models::Components::Amount, completed_on: T.nilable(::DateTime), failure_reason: T.nilable(Models::Components::TransferFailureReason), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), moov_fees: T.nilable(T::Array[Models::Components::MoovFee]), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), invoice_id: T.nilable(::String), amount_details: T.nilable(Models::Components::TransferAmountDetails)
|
|
78
|
-
def initialize(transfer_id:, created_on:, source:, destination:, status:, amount:, completed_on: nil, failure_reason: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, moov_fees: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, foreign_id: nil, line_items: nil, invoice_id: nil, amount_details: nil
|
|
75
|
+
sig { params(transfer_id: ::String, created_on: ::DateTime, source: Models::Components::TransferSource, destination: Models::Components::TransferDestination, status: Models::Components::TransferStatus, amount: Models::Components::Amount, completed_on: T.nilable(::DateTime), failure_reason: T.nilable(Models::Components::TransferFailureReason), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), moov_fees: T.nilable(T::Array[Models::Components::MoovFee]), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), invoice_id: T.nilable(::String), amount_details: T.nilable(Models::Components::TransferAmountDetails)).void }
|
|
76
|
+
def initialize(transfer_id:, created_on:, source:, destination:, status:, amount:, completed_on: nil, failure_reason: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, moov_fees: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, foreign_id: nil, line_items: nil, invoice_id: nil, amount_details: nil)
|
|
79
77
|
@transfer_id = transfer_id
|
|
80
78
|
@created_on = created_on
|
|
81
79
|
@source = source
|
|
@@ -105,7 +103,6 @@ module Moov
|
|
|
105
103
|
@line_items = line_items
|
|
106
104
|
@invoice_id = invoice_id
|
|
107
105
|
@amount_details = amount_details
|
|
108
|
-
@capture = capture
|
|
109
106
|
end
|
|
110
107
|
|
|
111
108
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -140,7 +137,6 @@ module Moov
|
|
|
140
137
|
return false unless @line_items == other.line_items
|
|
141
138
|
return false unless @invoice_id == other.invoice_id
|
|
142
139
|
return false unless @amount_details == other.amount_details
|
|
143
|
-
return false unless @capture == other.capture
|
|
144
140
|
true
|
|
145
141
|
end
|
|
146
142
|
end
|
|
@@ -19,7 +19,6 @@ module Moov
|
|
|
19
19
|
# Type of a wallet.
|
|
20
20
|
# - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
|
|
21
21
|
# - `general`: An additional, user-defined wallet created via API or Dashboard.
|
|
22
|
-
# - `card-issuing`: The system-generated wallet automatically created when an account is granted the card-issuing capability.
|
|
23
22
|
field :wallet_type, Models::Components::WalletType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('walletType'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::WalletType, false) } }
|
|
24
23
|
|
|
25
24
|
sig { params(wallet_id: ::String, partner_account_id: ::String, wallet_type: Models::Components::WalletType).void }
|
|
@@ -15,8 +15,6 @@ module Moov
|
|
|
15
15
|
# Updates the state of a Moov issued card.
|
|
16
16
|
# - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
17
17
|
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) } }
|
|
18
|
-
# Mutable spend controls for the card.
|
|
19
|
-
field :controls, Crystalline::Nilable.new(Models::Components::UpdateIssuingControls), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('controls') } }
|
|
20
18
|
|
|
21
19
|
field :nickname, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('nickname') } }
|
|
22
20
|
|
|
@@ -24,10 +22,9 @@ module Moov
|
|
|
24
22
|
|
|
25
23
|
field :billing_address, Crystalline::Nilable.new(Models::Components::BillingAddress), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('billingAddress') } }
|
|
26
24
|
|
|
27
|
-
sig { params(state: T.nilable(Models::Components::UpdateIssuedCardState),
|
|
28
|
-
def initialize(state: nil,
|
|
25
|
+
sig { params(state: T.nilable(Models::Components::UpdateIssuedCardState), nickname: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), billing_address: T.nilable(Models::Components::BillingAddress)).void }
|
|
26
|
+
def initialize(state: nil, nickname: nil, metadata: nil, billing_address: nil)
|
|
29
27
|
@state = state
|
|
30
|
-
@controls = controls
|
|
31
28
|
@nickname = nickname
|
|
32
29
|
@metadata = metadata
|
|
33
30
|
@billing_address = billing_address
|
|
@@ -37,7 +34,6 @@ module Moov
|
|
|
37
34
|
def ==(other)
|
|
38
35
|
return false unless other.is_a? self.class
|
|
39
36
|
return false unless @state == other.state
|
|
40
|
-
return false unless @controls == other.controls
|
|
41
37
|
return false unless @nickname == other.nickname
|
|
42
38
|
return false unless @metadata == other.metadata
|
|
43
39
|
return false unless @billing_address == other.billing_address
|
|
@@ -27,7 +27,6 @@ module Moov
|
|
|
27
27
|
# Type of a wallet.
|
|
28
28
|
# - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
|
|
29
29
|
# - `general`: An additional, user-defined wallet created via API or Dashboard.
|
|
30
|
-
# - `card-issuing`: The system-generated wallet automatically created when an account is granted the card-issuing capability.
|
|
31
30
|
field :wallet_type, Models::Components::WalletType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('walletType'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::WalletType, false) } }
|
|
32
31
|
# Description of the wallet
|
|
33
32
|
field :description, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('description'), required: true } }
|
|
@@ -10,12 +10,10 @@ module Moov
|
|
|
10
10
|
# WalletType - Type of a wallet.
|
|
11
11
|
# - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
|
|
12
12
|
# - `general`: An additional, user-defined wallet created via API or Dashboard.
|
|
13
|
-
# - `card-issuing`: The system-generated wallet automatically created when an account is granted the card-issuing capability.
|
|
14
13
|
class WalletType < T::Enum
|
|
15
14
|
enums do
|
|
16
15
|
DEFAULT = new('default')
|
|
17
16
|
GENERAL = new('general')
|
|
18
|
-
CARD_ISSUING = new('card-issuing')
|
|
19
17
|
end
|
|
20
18
|
end
|
|
21
19
|
end
|
|
@@ -32,11 +32,8 @@ module Moov
|
|
|
32
32
|
DESTINATION_RETURNED = new('destination.returned')
|
|
33
33
|
DESTINATION_ORIGINATED = new('destination.originated')
|
|
34
34
|
DESTINATION_CONFIRMED = new('destination.confirmed')
|
|
35
|
-
DESTINATION_SETTLED = new('destination.settled')
|
|
36
35
|
DESTINATION_FAILED = new('destination.failed')
|
|
37
|
-
DESTINATION_CANCELED = new('destination.canceled')
|
|
38
36
|
DESTINATION_ACCEPTED_WITHOUT_POSTING = new('destination.accepted-without-posting')
|
|
39
|
-
DESTINATION_DEFERRED = new('destination.deferred')
|
|
40
37
|
end
|
|
41
38
|
end
|
|
42
39
|
end
|
|
@@ -47,7 +47,6 @@ module Moov
|
|
|
47
47
|
autoload :AddressSuggestion, 'moov/models/components/addresssuggestion.rb'
|
|
48
48
|
autoload :AddressUpdate, 'moov/models/components/addressupdate.rb'
|
|
49
49
|
autoload :Adjustment, 'moov/models/components/adjustment.rb'
|
|
50
|
-
autoload :AllowedScheduleError, 'moov/models/components/allowedscheduleerror.rb'
|
|
51
50
|
autoload :Amount, 'moov/models/components/amount.rb'
|
|
52
51
|
autoload :AmountDecimal, 'moov/models/components/amountdecimal.rb'
|
|
53
52
|
autoload :AmountDecimalRange, 'moov/models/components/amountdecimalrange.rb'
|
|
@@ -74,8 +73,6 @@ module Moov
|
|
|
74
73
|
autoload :AsyncTransfer, 'moov/models/components/asynctransfer.rb'
|
|
75
74
|
autoload :AuthToken, 'moov/models/components/authtoken.rb'
|
|
76
75
|
autoload :AuthTokenRequest, 'moov/models/components/authtokenrequest.rb'
|
|
77
|
-
autoload :AvatarUploadRequest, 'moov/models/components/avataruploadrequest.rb'
|
|
78
|
-
autoload :AvatarUploadRequestFile, 'moov/models/components/avataruploadrequest_file.rb'
|
|
79
76
|
autoload :BankAccount, 'moov/models/components/bankaccount.rb'
|
|
80
77
|
autoload :BankAccountException, 'moov/models/components/bankaccountexception.rb'
|
|
81
78
|
autoload :BankAccountHolderType, 'moov/models/components/bankaccountholdertype.rb'
|
|
@@ -167,6 +164,7 @@ module Moov
|
|
|
167
164
|
autoload :CompleteMicroDeposits, 'moov/models/components/completemicrodeposits.rb'
|
|
168
165
|
autoload :CompletedMicroDeposits, 'moov/models/components/completedmicrodeposits.rb'
|
|
169
166
|
autoload :Contact, 'moov/models/components/contact.rb'
|
|
167
|
+
autoload :ContributingRule, 'moov/models/components/contributingrule.rb'
|
|
170
168
|
autoload :CreateAccount, 'moov/models/components/createaccount.rb'
|
|
171
169
|
autoload :CreateAccountSettings, 'moov/models/components/createaccountsettings.rb'
|
|
172
170
|
autoload :CreateAccountType, 'moov/models/components/createaccounttype.rb'
|
|
@@ -279,7 +277,6 @@ module Moov
|
|
|
279
277
|
autoload :FedNowServices, 'moov/models/components/fednowservices.rb'
|
|
280
278
|
autoload :FeeCategory, 'moov/models/components/feecategory.rb'
|
|
281
279
|
autoload :FeeModel, 'moov/models/components/feemodel.rb'
|
|
282
|
-
autoload :FeePaidBy, 'moov/models/components/feepaidby.rb'
|
|
283
280
|
autoload :FeePlan, 'moov/models/components/feeplan.rb'
|
|
284
281
|
autoload :FeePlanAgreement, 'moov/models/components/feeplanagreement.rb'
|
|
285
282
|
autoload :FeePlanAgreementStatus, 'moov/models/components/feeplanagreementstatus.rb'
|
|
@@ -363,18 +360,11 @@ module Moov
|
|
|
363
360
|
autoload :IssuedCardFormFactor, 'moov/models/components/issuedcardformfactor.rb'
|
|
364
361
|
autoload :IssuedCardState, 'moov/models/components/issuedcardstate.rb'
|
|
365
362
|
autoload :IssuedCardTransaction, 'moov/models/components/issuedcardtransaction.rb'
|
|
366
|
-
autoload :IssuedControls, 'moov/models/components/issuedcontrols.rb'
|
|
367
|
-
autoload :IssuedControlsAllowedSchedule, 'moov/models/components/issuedcontrols_allowedschedule.rb'
|
|
368
|
-
autoload :IssuedVelocityLimit, 'moov/models/components/issuedvelocitylimit.rb'
|
|
369
363
|
autoload :IssuingAuthorizationStatus, 'moov/models/components/issuingauthorizationstatus.rb'
|
|
370
364
|
autoload :IssuingControls, 'moov/models/components/issuingcontrols.rb'
|
|
371
365
|
autoload :IssuingControlsError, 'moov/models/components/issuingcontrolserror.rb'
|
|
372
|
-
autoload :IssuingControlsRestrictionMode, 'moov/models/components/issuingcontrolsrestrictionmode.rb'
|
|
373
|
-
autoload :IssuingControlsAllowedSchedule, 'moov/models/components/issuingcontrols_allowedschedule.rb'
|
|
374
366
|
autoload :IssuingIntervalLimit, 'moov/models/components/issuingintervallimit.rb'
|
|
375
|
-
autoload :IssuingMerchantCategory, 'moov/models/components/issuingmerchantcategory.rb'
|
|
376
367
|
autoload :IssuingMerchantData, 'moov/models/components/issuingmerchantdata.rb'
|
|
377
|
-
autoload :IssuingScheduleDay, 'moov/models/components/issuingscheduleday.rb'
|
|
378
368
|
autoload :IssuingVelocityLimit, 'moov/models/components/issuingvelocitylimit.rb'
|
|
379
369
|
autoload :IssuingVelocityLimitError, 'moov/models/components/issuingvelocitylimiterror.rb'
|
|
380
370
|
autoload :ItemListNextPage, 'moov/models/components/itemlistnextpage.rb'
|
|
@@ -394,14 +384,6 @@ module Moov
|
|
|
394
384
|
autoload :MXAuthorizationCode, 'moov/models/components/mxauthorizationcode.rb'
|
|
395
385
|
autoload :ManualTermsOfService, 'moov/models/components/manualtermsofservice.rb'
|
|
396
386
|
autoload :ManualTermsOfServiceUpdate, 'moov/models/components/manualtermsofserviceupdate.rb'
|
|
397
|
-
autoload :MerchantCategories, 'moov/models/components/merchantcategories.rb'
|
|
398
|
-
autoload :MerchantCategory, 'moov/models/components/merchantcategory.rb'
|
|
399
|
-
autoload :MerchantCategoryRestrictions, 'moov/models/components/merchantcategoryrestrictions.rb'
|
|
400
|
-
autoload :MerchantCategoryRestrictionsError, 'moov/models/components/merchantcategoryrestrictionserror.rb'
|
|
401
|
-
autoload :MerchantEntry, 'moov/models/components/merchantentry.rb'
|
|
402
|
-
autoload :MerchantEntryError, 'moov/models/components/merchantentryerror.rb'
|
|
403
|
-
autoload :MerchantRestrictions, 'moov/models/components/merchantrestrictions.rb'
|
|
404
|
-
autoload :MerchantRestrictionsError, 'moov/models/components/merchantrestrictionserror.rb'
|
|
405
387
|
autoload :MicroDepositStatus, 'moov/models/components/microdepositstatus.rb'
|
|
406
388
|
autoload :MinimumCommitment, 'moov/models/components/minimumcommitment.rb'
|
|
407
389
|
autoload :Mode, 'moov/models/components/mode.rb'
|
|
@@ -431,6 +413,7 @@ module Moov
|
|
|
431
413
|
autoload :PartialScheduleAccount, 'moov/models/components/partialscheduleaccount.rb'
|
|
432
414
|
autoload :PartnerFees, 'moov/models/components/partnerfees.rb'
|
|
433
415
|
autoload :PartnerPricingAgreement, 'moov/models/components/partnerpricingagreement.rb'
|
|
416
|
+
autoload :PartnerRiskOutcomesResponse, 'moov/models/components/partnerriskoutcomesresponse.rb'
|
|
434
417
|
autoload :PatchAccount, 'moov/models/components/patchaccount.rb'
|
|
435
418
|
autoload :PatchAccountCustomerSupport, 'moov/models/components/patchaccount_customersupport.rb'
|
|
436
419
|
autoload :PatchBusiness, 'moov/models/components/patchbusiness.rb'
|
|
@@ -476,8 +459,6 @@ module Moov
|
|
|
476
459
|
autoload :PlatformFees, 'moov/models/components/platformfees.rb'
|
|
477
460
|
autoload :PrimaryRegulator, 'moov/models/components/primaryregulator.rb'
|
|
478
461
|
autoload :Product, 'moov/models/components/product.rb'
|
|
479
|
-
autoload :ProductCategories, 'moov/models/components/productcategories.rb'
|
|
480
|
-
autoload :ProductCategory, 'moov/models/components/productcategory.rb'
|
|
481
462
|
autoload :ProductImageMetadata, 'moov/models/components/productimagemetadata.rb'
|
|
482
463
|
autoload :ProductOption, 'moov/models/components/productoption.rb'
|
|
483
464
|
autoload :ProductOptionGroup, 'moov/models/components/productoptiongroup.rb'
|
|
@@ -559,14 +540,10 @@ module Moov
|
|
|
559
540
|
autoload :ScheduleListResponse, 'moov/models/components/schedulelistresponse.rb'
|
|
560
541
|
autoload :SchedulePaymentMethod, 'moov/models/components/schedulepaymentmethod.rb'
|
|
561
542
|
autoload :ScheduleResponse, 'moov/models/components/scheduleresponse.rb'
|
|
562
|
-
autoload :ScheduleWindow, 'moov/models/components/schedulewindow.rb'
|
|
563
|
-
autoload :ScheduleWindowError, 'moov/models/components/schedulewindowerror.rb'
|
|
564
543
|
autoload :ScheduledTransferImageMetadata, 'moov/models/components/scheduledtransferimagemetadata.rb'
|
|
565
544
|
autoload :ScheduledTransferLineItem, 'moov/models/components/scheduledtransferlineitem.rb'
|
|
566
545
|
autoload :ScheduledTransferLineItemOption, 'moov/models/components/scheduledtransferlineitemoption.rb'
|
|
567
546
|
autoload :ScheduledTransferLineItems, 'moov/models/components/scheduledtransferlineitems.rb'
|
|
568
|
-
autoload :SchemeBasicAuth, 'moov/models/components/schemebasicauth.rb'
|
|
569
|
-
autoload :SchemeOAuth2Auth, 'moov/models/components/schemeoauth2auth.rb'
|
|
570
547
|
autoload :Security, 'moov/models/components/security.rb'
|
|
571
548
|
autoload :SendFunds, 'moov/models/components/sendfunds.rb'
|
|
572
549
|
autoload :SendFundsAch, 'moov/models/components/sendfundsach.rb'
|
|
@@ -578,8 +555,6 @@ module Moov
|
|
|
578
555
|
autoload :SendFundsPushToCardError, 'moov/models/components/sendfundspushtocarderror.rb'
|
|
579
556
|
autoload :SendFundsRtp, 'moov/models/components/sendfundsrtp.rb'
|
|
580
557
|
autoload :SendFundsRtpError, 'moov/models/components/sendfundsrtperror.rb'
|
|
581
|
-
autoload :SendFundsWire, 'moov/models/components/sendfundswire.rb'
|
|
582
|
-
autoload :SendFundsWireError, 'moov/models/components/sendfundswireerror.rb'
|
|
583
558
|
autoload :SentReceipt, 'moov/models/components/sentreceipt.rb'
|
|
584
559
|
autoload :Settings, 'moov/models/components/settings.rb'
|
|
585
560
|
autoload :ShareScopes, 'moov/models/components/sharescopes.rb'
|
|
@@ -620,13 +595,11 @@ module Moov
|
|
|
620
595
|
autoload :TransferACHAddendaRecord, 'moov/models/components/transferachaddendarecord.rb'
|
|
621
596
|
autoload :TransferAccount, 'moov/models/components/transferaccount.rb'
|
|
622
597
|
autoload :TransferAmountDetails, 'moov/models/components/transferamountdetails.rb'
|
|
623
|
-
autoload :TransferCapture, 'moov/models/components/transfercapture.rb'
|
|
624
598
|
autoload :TransferConfig, 'moov/models/components/transferconfig.rb'
|
|
625
599
|
autoload :TransferControls, 'moov/models/components/transfercontrols.rb'
|
|
626
600
|
autoload :TransferDestination, 'moov/models/components/transferdestination.rb'
|
|
627
601
|
autoload :TransferEntryMode, 'moov/models/components/transferentrymode.rb'
|
|
628
602
|
autoload :TransferFailureReason, 'moov/models/components/transferfailurereason.rb'
|
|
629
|
-
autoload :TransferFeePaidBy, 'moov/models/components/transferfeepaidby.rb'
|
|
630
603
|
autoload :TransferLineItem, 'moov/models/components/transferlineitem.rb'
|
|
631
604
|
autoload :TransferLineItemImageMetadata, 'moov/models/components/transferlineitemimagemetadata.rb'
|
|
632
605
|
autoload :TransferLineItemOption, 'moov/models/components/transferlineitemoption.rb'
|
|
@@ -652,11 +625,6 @@ module Moov
|
|
|
652
625
|
autoload :UpdateInvoice, 'moov/models/components/updateinvoice.rb'
|
|
653
626
|
autoload :UpdateIssuedCard, 'moov/models/components/updateissuedcard.rb'
|
|
654
627
|
autoload :UpdateIssuedCardState, 'moov/models/components/updateissuedcardstate.rb'
|
|
655
|
-
autoload :UpdateIssuingControls, 'moov/models/components/updateissuingcontrols.rb'
|
|
656
|
-
autoload :UpdateIssuingControlsError, 'moov/models/components/updateissuingcontrolserror.rb'
|
|
657
|
-
autoload :UpdateIssuingControlsAllowedSchedule, 'moov/models/components/updateissuingcontrols_allowedschedule.rb'
|
|
658
|
-
autoload :UpdateIssuingControlsMerchantCategoryRestrictions, 'moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rb'
|
|
659
|
-
autoload :UpdateIssuingControlsMerchantRestrictions, 'moov/models/components/updateissuingcontrols_merchantrestrictions.rb'
|
|
660
628
|
autoload :UpdatePaymentLink, 'moov/models/components/updatepaymentlink.rb'
|
|
661
629
|
autoload :UpdatePaymentLinkAmountDetails, 'moov/models/components/updatepaymentlinkamountdetails.rb'
|
|
662
630
|
autoload :UpdatePaymentLinkAmountDetailsValidationError, 'moov/models/components/updatepaymentlinkamountdetailsvalidationerror.rb'
|
|
@@ -22,19 +22,16 @@ module Moov
|
|
|
22
22
|
field :images, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, Models::Components::AssignProductImageValidationError)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('images') } }
|
|
23
23
|
|
|
24
24
|
field :option_groups, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, Models::Components::ProductOptionGroupValidationError)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('optionGroups') } }
|
|
25
|
-
|
|
26
|
-
field :category_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('categoryID') } }
|
|
27
25
|
# Raw HTTP response; suitable for custom response parsing
|
|
28
26
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
29
27
|
|
|
30
|
-
sig { params(title: T.nilable(::String), description: T.nilable(::String), base_price: T.nilable(Models::Components::AmountDecimalValidationError), images: T.nilable(T::Hash[Symbol, Models::Components::AssignProductImageValidationError]), option_groups: T.nilable(T::Hash[Symbol, Models::Components::ProductOptionGroupValidationError]),
|
|
31
|
-
def initialize(title: nil, description: nil, base_price: nil, images: nil, option_groups: nil,
|
|
28
|
+
sig { params(title: T.nilable(::String), description: T.nilable(::String), base_price: T.nilable(Models::Components::AmountDecimalValidationError), images: T.nilable(T::Hash[Symbol, Models::Components::AssignProductImageValidationError]), option_groups: T.nilable(T::Hash[Symbol, Models::Components::ProductOptionGroupValidationError]), raw_response: T.nilable(::Faraday::Response)).void }
|
|
29
|
+
def initialize(title: nil, description: nil, base_price: nil, images: nil, option_groups: nil, raw_response: nil)
|
|
32
30
|
@title = title
|
|
33
31
|
@description = description
|
|
34
32
|
@base_price = base_price
|
|
35
33
|
@images = images
|
|
36
34
|
@option_groups = option_groups
|
|
37
|
-
@category_id = category_id
|
|
38
35
|
@raw_response = raw_response
|
|
39
36
|
end
|
|
40
37
|
|
|
@@ -46,7 +43,6 @@ module Moov
|
|
|
46
43
|
return false unless @base_price == other.base_price
|
|
47
44
|
return false unless @images == other.images
|
|
48
45
|
return false unless @option_groups == other.option_groups
|
|
49
|
-
return false unless @category_id == other.category_id
|
|
50
46
|
return false unless @raw_response == other.raw_response
|
|
51
47
|
true
|
|
52
48
|
end
|
|
@@ -18,8 +18,6 @@ class Moov::Models::Errors::ProductRequestValidationError
|
|
|
18
18
|
def images=(str_); end
|
|
19
19
|
def option_groups(); end
|
|
20
20
|
def option_groups=(str_); end
|
|
21
|
-
def category_id(); end
|
|
22
|
-
def category_id=(str_); end
|
|
23
21
|
def raw_response(); end
|
|
24
22
|
def raw_response=(str_); end
|
|
25
23
|
end
|
|
@@ -71,13 +71,11 @@ module Moov
|
|
|
71
71
|
field :invoice_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('invoiceID') } }
|
|
72
72
|
|
|
73
73
|
field :amount_details, Crystalline::Nilable.new(Models::Components::TransferAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
|
|
74
|
-
# The card authorization and capture IDs associated with a transfer.
|
|
75
|
-
field :capture, Crystalline::Nilable.new(Models::Components::TransferCapture), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('capture') } }
|
|
76
74
|
# Raw HTTP response; suitable for custom response parsing
|
|
77
75
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
78
76
|
|
|
79
|
-
sig { params(transfer_id: ::String, created_on: ::DateTime, source: Models::Components::TransferSource, destination: Models::Components::TransferDestination, status: Models::Components::TransferStatus, amount: Models::Components::Amount, completed_on: T.nilable(::DateTime), failure_reason: T.nilable(Models::Components::TransferFailureReason), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), moov_fees: T.nilable(T::Array[Models::Components::MoovFee]), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), invoice_id: T.nilable(::String), amount_details: T.nilable(Models::Components::TransferAmountDetails),
|
|
80
|
-
def initialize(transfer_id:, created_on:, source:, destination:, status:, amount:, completed_on: nil, failure_reason: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, moov_fees: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, foreign_id: nil, line_items: nil, invoice_id: nil, amount_details: nil,
|
|
77
|
+
sig { params(transfer_id: ::String, created_on: ::DateTime, source: Models::Components::TransferSource, destination: Models::Components::TransferDestination, status: Models::Components::TransferStatus, amount: Models::Components::Amount, completed_on: T.nilable(::DateTime), failure_reason: T.nilable(Models::Components::TransferFailureReason), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), moov_fees: T.nilable(T::Array[Models::Components::MoovFee]), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), invoice_id: T.nilable(::String), amount_details: T.nilable(Models::Components::TransferAmountDetails), raw_response: T.nilable(::Faraday::Response)).void }
|
|
78
|
+
def initialize(transfer_id:, created_on:, source:, destination:, status:, amount:, completed_on: nil, failure_reason: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, moov_fees: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, foreign_id: nil, line_items: nil, invoice_id: nil, amount_details: nil, raw_response: nil)
|
|
81
79
|
@transfer_id = transfer_id
|
|
82
80
|
@created_on = created_on
|
|
83
81
|
@source = source
|
|
@@ -107,7 +105,6 @@ module Moov
|
|
|
107
105
|
@line_items = line_items
|
|
108
106
|
@invoice_id = invoice_id
|
|
109
107
|
@amount_details = amount_details
|
|
110
|
-
@capture = capture
|
|
111
108
|
@raw_response = raw_response
|
|
112
109
|
end
|
|
113
110
|
|
|
@@ -143,7 +140,6 @@ module Moov
|
|
|
143
140
|
return false unless @line_items == other.line_items
|
|
144
141
|
return false unless @invoice_id == other.invoice_id
|
|
145
142
|
return false unless @amount_details == other.amount_details
|
|
146
|
-
return false unless @capture == other.capture
|
|
147
143
|
return false unless @raw_response == other.raw_response
|
|
148
144
|
true
|
|
149
145
|
end
|
|
@@ -20,18 +20,15 @@ module Moov
|
|
|
20
20
|
field :metadata, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('metadata') } }
|
|
21
21
|
|
|
22
22
|
field :billing_address, Crystalline::Nilable.new(Models::Components::AddressError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('billingAddress') } }
|
|
23
|
-
|
|
24
|
-
field :controls, Crystalline::Nilable.new(Models::Components::UpdateIssuingControlsError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('controls') } }
|
|
25
23
|
# Raw HTTP response; suitable for custom response parsing
|
|
26
24
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
27
25
|
|
|
28
|
-
sig { params(state: T.nilable(::String), nickname: T.nilable(::String), metadata: T.nilable(::String), billing_address: T.nilable(Models::Components::AddressError),
|
|
29
|
-
def initialize(state: nil, nickname: nil, metadata: nil, billing_address: nil,
|
|
26
|
+
sig { params(state: T.nilable(::String), nickname: T.nilable(::String), metadata: T.nilable(::String), billing_address: T.nilable(Models::Components::AddressError), raw_response: T.nilable(::Faraday::Response)).void }
|
|
27
|
+
def initialize(state: nil, nickname: nil, metadata: nil, billing_address: nil, raw_response: nil)
|
|
30
28
|
@state = state
|
|
31
29
|
@nickname = nickname
|
|
32
30
|
@metadata = metadata
|
|
33
31
|
@billing_address = billing_address
|
|
34
|
-
@controls = controls
|
|
35
32
|
@raw_response = raw_response
|
|
36
33
|
end
|
|
37
34
|
|
|
@@ -42,7 +39,6 @@ module Moov
|
|
|
42
39
|
return false unless @nickname == other.nickname
|
|
43
40
|
return false unless @metadata == other.metadata
|
|
44
41
|
return false unless @billing_address == other.billing_address
|
|
45
|
-
return false unless @controls == other.controls
|
|
46
42
|
return false unless @raw_response == other.raw_response
|
|
47
43
|
true
|
|
48
44
|
end
|
|
@@ -0,0 +1,37 @@
|
|
|
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 Operations
|
|
10
|
+
|
|
11
|
+
class GetTransferRiskOutcomesRequest
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# Identifier for the transfer.
|
|
16
|
+
field :transfer_id, ::String, { 'path_param': { 'field_name': 'transferID', 'style': 'simple', 'explode': false } }
|
|
17
|
+
# The account the transfer belongs to. When omitted, the account is resolved
|
|
18
|
+
# from the calling credentials.
|
|
19
|
+
field :x_account_id, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Account-ID', 'style': 'simple', 'explode': false } }
|
|
20
|
+
|
|
21
|
+
sig { params(transfer_id: ::String, x_account_id: T.nilable(::String)).void }
|
|
22
|
+
def initialize(transfer_id:, x_account_id: nil)
|
|
23
|
+
@transfer_id = transfer_id
|
|
24
|
+
@x_account_id = x_account_id
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
28
|
+
def ==(other)
|
|
29
|
+
return false unless other.is_a? self.class
|
|
30
|
+
return false unless @transfer_id == other.transfer_id
|
|
31
|
+
return false unless @x_account_id == other.x_account_id
|
|
32
|
+
true
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Operations::GetTransferRiskOutcomesRequest
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::GetTransferRiskOutcomesRequest
|
|
11
|
+
def transfer_id(); end
|
|
12
|
+
def transfer_id=(str_); end
|
|
13
|
+
def x_account_id(); end
|
|
14
|
+
def x_account_id=(str_); end
|
|
15
|
+
end
|
|
@@ -8,7 +8,7 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Operations
|
|
10
10
|
|
|
11
|
-
class
|
|
11
|
+
class GetTransferRiskOutcomesResponse
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
@@ -21,15 +21,15 @@ module Moov
|
|
|
21
21
|
|
|
22
22
|
field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
|
|
23
23
|
# The request completed successfully.
|
|
24
|
-
field :
|
|
24
|
+
field :partner_risk_outcomes_response, Crystalline::Nilable.new(Models::Components::PartnerRiskOutcomesResponse)
|
|
25
25
|
|
|
26
|
-
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]],
|
|
27
|
-
def initialize(content_type:, status_code:, raw_response:, headers:,
|
|
26
|
+
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], partner_risk_outcomes_response: T.nilable(Models::Components::PartnerRiskOutcomesResponse)).void }
|
|
27
|
+
def initialize(content_type:, status_code:, raw_response:, headers:, partner_risk_outcomes_response: nil)
|
|
28
28
|
@content_type = content_type
|
|
29
29
|
@status_code = status_code
|
|
30
30
|
@raw_response = raw_response
|
|
31
31
|
@headers = headers
|
|
32
|
-
@
|
|
32
|
+
@partner_risk_outcomes_response = partner_risk_outcomes_response
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -39,7 +39,7 @@ module Moov
|
|
|
39
39
|
return false unless @status_code == other.status_code
|
|
40
40
|
return false unless @raw_response == other.raw_response
|
|
41
41
|
return false unless @headers == other.headers
|
|
42
|
-
return false unless @
|
|
42
|
+
return false unless @partner_risk_outcomes_response == other.partner_risk_outcomes_response
|
|
43
43
|
true
|
|
44
44
|
end
|
|
45
45
|
end
|
data/lib/moov/models/operations/{deleteavatar_response.rbi → gettransferriskoutcomes_response.rbi}
RENAMED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
class Moov::Models::Operations::
|
|
5
|
+
class Moov::Models::Operations::GetTransferRiskOutcomesResponse
|
|
6
6
|
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
7
|
end
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class Moov::Models::Operations::
|
|
10
|
+
class Moov::Models::Operations::GetTransferRiskOutcomesResponse
|
|
11
11
|
def content_type(); end
|
|
12
12
|
def content_type=(str_); end
|
|
13
13
|
def status_code(); end
|
|
@@ -16,4 +16,6 @@ class Moov::Models::Operations::DeleteAvatarResponse
|
|
|
16
16
|
def raw_response=(str_); end
|
|
17
17
|
def headers(); end
|
|
18
18
|
def headers=(str_); end
|
|
19
|
+
def partner_risk_outcomes_response(); end
|
|
20
|
+
def partner_risk_outcomes_response=(str_); end
|
|
19
21
|
end
|
|
@@ -16,20 +16,15 @@ module Moov
|
|
|
16
16
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
17
|
# Allows filtering products by title. This supports partial matches and is case-insensitive
|
|
18
18
|
field :title, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'title', 'style': 'form', 'explode': false } }
|
|
19
|
-
# Filter products by category. Accepts a category ID at any level of the taxonomy;
|
|
20
|
-
# a product matches when the given category is anywhere in its category's breadcrumb
|
|
21
|
-
# (i.e. filtering by a top-level category returns products in any of its descendants).
|
|
22
|
-
field :category, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'category', 'style': 'form', 'explode': false } }
|
|
23
19
|
|
|
24
20
|
field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
|
|
25
21
|
|
|
26
22
|
field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
|
|
27
23
|
|
|
28
|
-
sig { params(account_id: ::String, title: T.nilable(::String),
|
|
29
|
-
def initialize(account_id:, title: nil,
|
|
24
|
+
sig { params(account_id: ::String, title: T.nilable(::String), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
|
|
25
|
+
def initialize(account_id:, title: nil, skip: nil, count: nil)
|
|
30
26
|
@account_id = account_id
|
|
31
27
|
@title = title
|
|
32
|
-
@category = category
|
|
33
28
|
@skip = skip
|
|
34
29
|
@count = count
|
|
35
30
|
end
|
|
@@ -39,7 +34,6 @@ module Moov
|
|
|
39
34
|
return false unless other.is_a? self.class
|
|
40
35
|
return false unless @account_id == other.account_id
|
|
41
36
|
return false unless @title == other.title
|
|
42
|
-
return false unless @category == other.category
|
|
43
37
|
return false unless @skip == other.skip
|
|
44
38
|
return false unless @count == other.count
|
|
45
39
|
true
|
|
@@ -34,17 +34,13 @@ module Moov
|
|
|
34
34
|
field :disputed, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'query_param': { 'field_name': 'disputed', 'style': 'form', 'explode': false } }
|
|
35
35
|
# Optional alias from a foreign/external system which can be used to reference this resource.
|
|
36
36
|
field :foreign_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'foreignID', 'style': 'form', 'explode': false } }
|
|
37
|
-
# Optional comma-separated IDs to filter for transfers associated with specific card authorizations.
|
|
38
|
-
field :authorization_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'authorizationIDs', 'style': 'form', 'explode': false } }
|
|
39
|
-
# Optional comma-separated IDs to filter for transfers associated with specific card captures.
|
|
40
|
-
field :capture_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'captureIDs', 'style': 'form', 'explode': false } }
|
|
41
37
|
|
|
42
38
|
field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
|
|
43
39
|
|
|
44
40
|
field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
|
|
45
41
|
|
|
46
|
-
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),
|
|
47
|
-
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,
|
|
42
|
+
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), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
|
|
43
|
+
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, skip: nil, count: nil)
|
|
48
44
|
@account_id = account_id
|
|
49
45
|
@account_i_ds = account_i_ds
|
|
50
46
|
@status = status
|
|
@@ -56,8 +52,6 @@ module Moov
|
|
|
56
52
|
@refunded = refunded
|
|
57
53
|
@disputed = disputed
|
|
58
54
|
@foreign_id = foreign_id
|
|
59
|
-
@authorization_i_ds = authorization_i_ds
|
|
60
|
-
@capture_i_ds = capture_i_ds
|
|
61
55
|
@skip = skip
|
|
62
56
|
@count = count
|
|
63
57
|
end
|
|
@@ -76,8 +70,6 @@ module Moov
|
|
|
76
70
|
return false unless @refunded == other.refunded
|
|
77
71
|
return false unless @disputed == other.disputed
|
|
78
72
|
return false unless @foreign_id == other.foreign_id
|
|
79
|
-
return false unless @authorization_i_ds == other.authorization_i_ds
|
|
80
|
-
return false unless @capture_i_ds == other.capture_i_ds
|
|
81
73
|
return false unless @skip == other.skip
|
|
82
74
|
return false unless @count == other.count
|
|
83
75
|
true
|
|
@@ -30,10 +30,6 @@ class Moov::Models::Operations::ListTransfersRequest
|
|
|
30
30
|
def disputed=(str_); end
|
|
31
31
|
def foreign_id(); end
|
|
32
32
|
def foreign_id=(str_); end
|
|
33
|
-
def authorization_i_ds(); end
|
|
34
|
-
def authorization_i_ds=(str_); end
|
|
35
|
-
def capture_i_ds(); end
|
|
36
|
-
def capture_i_ds=(str_); end
|
|
37
33
|
def skip(); end
|
|
38
34
|
def skip=(str_); end
|
|
39
35
|
def count(); end
|