moov_ruby 25.4.3 → 25.7.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/crystalline/metadata_fields.rb +3 -3
- data/lib/crystalline/module.rb +0 -2
- data/lib/crystalline/types.rb +0 -27
- data/lib/moov/client.rb +2 -1
- data/lib/moov/models/components/accounttype.rb +3 -0
- data/lib/moov/models/components/accountverificationstatus.rb +2 -0
- data/lib/moov/models/components/achcreditsamedaypaymentmethod_paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/achcreditstandardpaymentmethod_paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/achdebitcollectpaymentmethod_paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/achdebitfundpaymentmethod_paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/achreturncode.rb +2 -0
- data/lib/moov/models/components/achtransactionstatus.rb +2 -0
- data/lib/moov/models/components/applepaypaymentmethod_paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/applicationscope.rb +2 -0
- data/lib/moov/models/components/bankaccountholdertype.rb +3 -0
- data/lib/moov/models/components/bankaccountstatus.rb +2 -0
- data/lib/moov/models/components/bankaccountstatusreason.rb +2 -0
- data/lib/moov/models/components/bankaccounttype.rb +2 -0
- data/lib/moov/models/components/bankaccountverificationmethod.rb +2 -0
- data/lib/moov/models/components/bankaccountverificationstatus.rb +2 -0
- data/lib/moov/models/components/bankaccountwaitfor.rb +2 -0
- data/lib/moov/models/components/businesspresence.rb +25 -0
- data/lib/moov/models/components/businesspresence.rbi +11 -0
- data/lib/moov/models/components/businesstype.rb +2 -0
- data/lib/moov/models/components/calltoaction.rb +2 -0
- data/lib/moov/models/components/cancellationstatus.rb +2 -0
- data/lib/moov/models/components/capabilityid.rb +13 -0
- data/lib/moov/models/components/capabilitystatus.rb +2 -0
- data/lib/moov/models/components/cardacceptancemethods.rb +40 -0
- data/lib/moov/models/components/cardacceptancemethods.rbi +17 -0
- data/lib/moov/models/components/cardacceptancemethodserror.rb +40 -0
- data/lib/moov/models/components/cardacceptancemethodserror.rbi +17 -0
- data/lib/moov/models/components/cardacquiringmodel.rb +2 -0
- data/lib/moov/models/components/cardbrand.rb +2 -0
- data/lib/moov/models/components/cardissuingnetwork.rb +2 -0
- data/lib/moov/models/components/cardpaymentpaymentmethod_paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/cardpresentpaymentpaymentmethod_paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/cardtransactionfailurecode.rb +2 -0
- data/lib/moov/models/components/cardtransactionstatus.rb +2 -0
- data/lib/moov/models/components/cardtype.rb +2 -0
- data/lib/moov/models/components/cardupdatereason.rb +2 -0
- data/lib/moov/models/components/cardverificationresult.rb +2 -0
- data/lib/moov/models/components/collectfunds.rb +36 -0
- data/lib/moov/models/components/collectfunds.rbi +15 -0
- data/lib/moov/models/components/collectfundsach.rb +32 -0
- data/lib/moov/models/components/collectfundsach.rbi +13 -0
- data/lib/moov/models/components/collectfundsacherror.rb +32 -0
- data/lib/moov/models/components/collectfundsacherror.rbi +13 -0
- data/lib/moov/models/components/collectfundscardpayments.rb +48 -0
- data/lib/moov/models/components/collectfundscardpayments.rbi +21 -0
- data/lib/moov/models/components/collectfundscardpaymentserror.rb +48 -0
- data/lib/moov/models/components/collectfundscardpaymentserror.rbi +21 -0
- data/lib/moov/models/components/collectfundserror.rb +36 -0
- data/lib/moov/models/components/collectfundserror.rbi +15 -0
- data/lib/moov/models/components/collectionpaymentmethodtype.rb +2 -0
- data/lib/moov/models/components/createaccount.rb +3 -3
- data/lib/moov/models/components/createaccounttype.rb +21 -0
- data/lib/moov/models/components/createaccounttype.rbi +11 -0
- data/lib/moov/models/components/createpaymentlinklineitem.rb +2 -6
- data/lib/moov/models/components/createpaymentlinklineitemoption.rb +1 -4
- data/lib/moov/models/components/createscheduledtransferlineitem.rb +1 -2
- data/lib/moov/models/components/createticket.rb +48 -0
- data/lib/moov/models/components/createticket.rbi +21 -0
- data/lib/moov/models/components/createticketcontacterror.rb +36 -0
- data/lib/moov/models/components/createticketcontacterror.rbi +15 -0
- data/lib/moov/models/components/createtransferlineitem.rb +1 -2
- data/lib/moov/models/components/debitholdperiod.rb +2 -0
- data/lib/moov/models/components/disbursementpaymentmethodtype.rb +2 -0
- data/lib/moov/models/components/disputephase.rb +2 -0
- data/lib/moov/models/components/disputestatus.rb +2 -0
- data/lib/moov/models/components/documenttype.rb +2 -0
- data/lib/moov/models/components/domesticpullfromcard.rb +2 -0
- data/lib/moov/models/components/domesticpushtocard.rb +2 -0
- data/lib/moov/models/components/enrichedindustries.rb +2 -2
- data/lib/moov/models/components/entrymode.rb +2 -0
- data/lib/moov/models/components/estimatedactivity.rb +40 -0
- data/lib/moov/models/components/estimatedactivity.rbi +17 -0
- data/lib/moov/models/components/estimatedactivityerror.rb +40 -0
- data/lib/moov/models/components/estimatedactivityerror.rbi +17 -0
- data/lib/moov/models/components/evidencetype.rb +2 -0
- data/lib/moov/models/components/feecategory.rb +2 -0
- data/lib/moov/models/components/feemodel.rb +2 -0
- data/lib/moov/models/components/feeplanagreementstatus.rb +2 -0
- data/lib/moov/models/components/filepurpose.rb +2 -0
- data/lib/moov/models/components/filestatus.rb +2 -0
- data/lib/moov/models/components/fulfillment.rb +36 -0
- data/lib/moov/models/components/fulfillment.rbi +15 -0
- data/lib/moov/models/components/fulfillmenterror.rb +36 -0
- data/lib/moov/models/components/fulfillmenterror.rbi +15 -0
- data/lib/moov/models/components/fulfillmentmethod.rb +28 -0
- data/lib/moov/models/components/fulfillmentmethod.rbi +11 -0
- data/lib/moov/models/components/fulfillmenttimeframe.rb +27 -0
- data/lib/moov/models/components/fulfillmenttimeframe.rbi +11 -0
- data/lib/moov/models/components/geographicreach.rb +22 -0
- data/lib/moov/models/components/geographicreach.rbi +11 -0
- data/lib/moov/models/components/granttype.rb +2 -0
- data/lib/moov/models/components/guestprofile.rb +41 -0
- data/lib/moov/models/components/guestprofile.rbi +17 -0
- data/lib/moov/models/components/imagemetadata.rb +1 -1
- data/lib/moov/models/components/industrytaxonomy.rb +48 -0
- data/lib/moov/models/components/industrytaxonomy.rbi +21 -0
- data/lib/moov/models/components/invoicestatus.rb +2 -0
- data/lib/moov/models/components/issuedcardauthorizationeventresult.rb +2 -0
- data/lib/moov/models/components/issuedcardeventtype.rb +2 -0
- data/lib/moov/models/components/issuedcardformfactor.rb +2 -0
- data/lib/moov/models/components/issuedcardstate.rb +2 -0
- data/lib/moov/models/components/issuingauthorizationstatus.rb +2 -0
- data/lib/moov/models/components/issuingintervallimit.rb +2 -0
- data/lib/moov/models/components/itemlistnextpage.rb +32 -0
- data/lib/moov/models/components/itemlistnextpage.rbi +13 -0
- data/lib/moov/models/components/kind.rb +2 -0
- data/lib/moov/models/components/linkcardwaitfor.rb +2 -0
- data/lib/moov/models/components/microdepositstatus.rb +2 -0
- data/lib/moov/models/components/mode.rb +2 -0
- data/lib/moov/models/components/moneytransfer.rb +36 -0
- data/lib/moov/models/components/moneytransfer.rbi +15 -0
- data/lib/moov/models/components/moneytransfererror.rb +36 -0
- data/lib/moov/models/components/moneytransfererror.rbi +15 -0
- data/lib/moov/models/components/moneytransferpullfromcard.rb +32 -0
- data/lib/moov/models/components/moneytransferpullfromcard.rbi +13 -0
- data/lib/moov/models/components/moneytransferpullfromcarderror.rb +32 -0
- data/lib/moov/models/components/moneytransferpullfromcarderror.rbi +13 -0
- data/lib/moov/models/components/moneytransferpushtocard.rb +32 -0
- data/lib/moov/models/components/moneytransferpushtocard.rbi +13 -0
- data/lib/moov/models/components/moneytransferpushtocarderror.rb +32 -0
- data/lib/moov/models/components/moneytransferpushtocarderror.rbi +13 -0
- data/lib/moov/models/components/monthlyvolumerange.rb +27 -0
- data/lib/moov/models/components/monthlyvolumerange.rbi +11 -0
- data/lib/moov/models/components/moovwalletpaymentmethod_paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/occurrencestatus.rb +2 -0
- data/lib/moov/models/components/paymentlinkstatus.rb +2 -0
- data/lib/moov/models/components/paymentlinktype.rb +2 -0
- data/lib/moov/models/components/paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/pendinglitigation.rb +29 -0
- data/lib/moov/models/components/pendinglitigation.rbi +11 -0
- data/lib/moov/models/components/primaryregulator.rb +2 -0
- data/lib/moov/models/components/profile.rb +6 -2
- data/lib/moov/models/components/profile.rbi +2 -0
- data/lib/moov/models/components/pullfromcardpaymentmethod_paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/pushtocardpaymentmethod_paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/receiptkind.rb +2 -0
- data/lib/moov/models/components/refundcardstatus.rb +2 -0
- data/lib/moov/models/components/refundpolicy.rb +28 -0
- data/lib/moov/models/components/refundpolicy.rbi +11 -0
- data/lib/moov/models/components/refundstatus.rb +2 -0
- data/lib/moov/models/components/requirementerrorcode.rb +2 -0
- data/lib/moov/models/components/requirementid.rb +56 -0
- data/lib/moov/models/components/returnpolicytype.rb +2 -0
- data/lib/moov/models/components/rtpcreditpaymentmethod_paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/rtpfailurecode.rb +2 -0
- data/lib/moov/models/components/rtprejectioncode.rb +2 -0
- data/lib/moov/models/components/rtptransactionstatus.rb +2 -0
- data/lib/moov/models/components/seccode.rb +2 -0
- data/lib/moov/models/components/sendfunds.rb +44 -0
- data/lib/moov/models/components/sendfunds.rbi +19 -0
- data/lib/moov/models/components/sendfundsach.rb +32 -0
- data/lib/moov/models/components/sendfundsach.rbi +13 -0
- data/lib/moov/models/components/sendfundsacherror.rb +32 -0
- data/lib/moov/models/components/sendfundsacherror.rbi +13 -0
- data/lib/moov/models/components/sendfundserror.rb +44 -0
- data/lib/moov/models/components/sendfundserror.rbi +19 -0
- data/lib/moov/models/components/sendfundsinstantbank.rb +32 -0
- data/lib/moov/models/components/sendfundsinstantbank.rbi +13 -0
- data/lib/moov/models/components/sendfundsinstantbankerror.rb +32 -0
- data/lib/moov/models/components/sendfundsinstantbankerror.rbi +13 -0
- data/lib/moov/models/components/sendfundspushtocard.rb +32 -0
- data/lib/moov/models/components/sendfundspushtocard.rbi +13 -0
- data/lib/moov/models/components/sendfundspushtocarderror.rb +32 -0
- data/lib/moov/models/components/sendfundspushtocarderror.rbi +13 -0
- data/lib/moov/models/components/sendfundsrtp.rb +32 -0
- data/lib/moov/models/components/sendfundsrtp.rbi +13 -0
- data/lib/moov/models/components/sendfundsrtperror.rb +32 -0
- data/lib/moov/models/components/sendfundsrtperror.rbi +13 -0
- data/lib/moov/models/components/status.rb +2 -0
- data/lib/moov/models/components/submissionintent.rb +21 -0
- data/lib/moov/models/components/submissionintent.rbi +11 -0
- data/lib/moov/models/components/sweepconfigstatus.rb +2 -0
- data/lib/moov/models/components/sweepstatus.rb +2 -0
- data/lib/moov/models/components/terminalapplicationplatform.rb +2 -0
- data/lib/moov/models/components/terminalapplicationstatus.rb +2 -0
- data/lib/moov/models/components/ticket.rb +68 -0
- data/lib/moov/models/components/ticket.rbi +31 -0
- data/lib/moov/models/components/ticketcontact.rb +36 -0
- data/lib/moov/models/components/ticketcontact.rbi +15 -0
- data/lib/moov/models/components/ticketmessage.rb +40 -0
- data/lib/moov/models/components/ticketmessage.rbi +17 -0
- data/lib/moov/models/components/ticketstatus.rb +2 -0
- data/lib/moov/models/components/token_type_hint.rb +2 -0
- data/lib/moov/models/components/tokentype.rb +2 -0
- data/lib/moov/models/components/transactionsource.rb +2 -0
- data/lib/moov/models/components/transferfailurereason.rb +2 -0
- data/lib/moov/models/components/transferparty.rb +2 -0
- data/lib/moov/models/components/transfersource.rb +1 -1
- data/lib/moov/models/components/transferstatus.rb +2 -0
- data/lib/moov/models/components/transferwaitfor.rb +2 -0
- data/lib/moov/models/components/underwriting.rb +37 -9
- data/lib/moov/models/components/underwriting.rbi +14 -0
- data/lib/moov/models/components/underwritingstatus.rb +2 -0
- data/lib/moov/models/components/updateissuedcardstate.rb +2 -0
- data/lib/moov/models/components/updateticket.rb +32 -0
- data/lib/moov/models/components/updateticket.rbi +13 -0
- data/lib/moov/models/components/updateticketstatus.rb +20 -0
- data/lib/moov/models/components/updateticketstatus.rbi +11 -0
- data/lib/moov/models/components/upsertunderwriting.rb +60 -0
- data/lib/moov/models/components/upsertunderwriting.rbi +27 -0
- data/lib/moov/models/components/use.rb +2 -0
- data/lib/moov/models/components/verificationstatus.rb +2 -0
- data/lib/moov/models/components/verificationstatusdetail.rb +2 -0
- data/lib/moov/models/components/volumesharebycustomertype.rb +40 -0
- data/lib/moov/models/components/volumesharebycustomertype.rbi +17 -0
- data/lib/moov/models/components/volumesharebycustomertypeerror.rb +40 -0
- data/lib/moov/models/components/volumesharebycustomertypeerror.rbi +17 -0
- data/lib/moov/models/components/walletstatus.rb +2 -0
- data/lib/moov/models/components/wallettransactionsourcetype.rb +2 -0
- data/lib/moov/models/components/wallettransactionstatus.rb +2 -0
- data/lib/moov/models/components/wallettransactiontype.rb +2 -0
- data/lib/moov/models/components/wallettype.rb +2 -0
- data/lib/moov/models/components/webhookdatatransferstatus.rb +2 -0
- data/lib/moov/models/components/webhookeventtype.rb +2 -0
- data/lib/moov/models/components/webhookstatus.rb +2 -0
- data/lib/moov/models/components.rb +50 -1
- data/lib/moov/models/errors/createticketerror.rb +52 -0
- data/lib/moov/models/errors/createticketerror.rbi +23 -0
- data/lib/moov/models/errors/updateticketerror.rb +36 -0
- data/lib/moov/models/errors/updateticketerror.rbi +15 -0
- data/lib/moov/models/errors/upsertunderwritingerror.rb +88 -0
- data/lib/moov/models/errors/upsertunderwritingerror.rbi +41 -0
- data/lib/moov/models/errors.rb +3 -0
- data/lib/moov/models/operations/createticket_request.rb +49 -0
- data/lib/moov/models/operations/createticket_request.rbi +17 -0
- data/lib/moov/models/operations/createticket_response.rb +48 -0
- data/lib/moov/models/operations/createticket_response.rbi +21 -0
- data/lib/moov/models/operations/createtransfer_request.rb +2 -2
- data/lib/moov/models/operations/getscheduledoccurrence_request.rb +4 -4
- data/lib/moov/models/operations/getticket_request.rb +49 -0
- data/lib/moov/models/operations/getticket_request.rbi +17 -0
- data/lib/moov/models/operations/getticket_response.rb +48 -0
- data/lib/moov/models/operations/getticket_response.rbi +21 -0
- data/lib/moov/models/operations/hydrate.rb +2 -0
- data/lib/moov/models/operations/listaccounts_request.rb +2 -2
- data/lib/moov/models/operations/listconnectedaccountsforaccount_request.rb +2 -2
- data/lib/moov/models/operations/listticketmessages_request.rb +49 -0
- data/lib/moov/models/operations/listticketmessages_request.rbi +17 -0
- data/lib/moov/models/operations/listticketmessages_response.rb +48 -0
- data/lib/moov/models/operations/listticketmessages_response.rbi +21 -0
- data/lib/moov/models/operations/listtickets_request.rb +61 -0
- data/lib/moov/models/operations/listtickets_request.rbi +23 -0
- data/lib/moov/models/operations/listtickets_response.rb +48 -0
- data/lib/moov/models/operations/listtickets_response.rbi +21 -0
- data/lib/moov/models/operations/listtickets_responsebody.rb +36 -0
- data/lib/moov/models/operations/listtickets_responsebody.rbi +15 -0
- data/lib/moov/models/operations/saveunderwriting_request.rb +49 -0
- data/lib/moov/models/operations/saveunderwriting_request.rbi +17 -0
- data/lib/moov/models/operations/saveunderwriting_response.rb +48 -0
- data/lib/moov/models/operations/saveunderwriting_response.rbi +21 -0
- data/lib/moov/models/operations/updateticket_request.rb +53 -0
- data/lib/moov/models/operations/updateticket_request.rbi +19 -0
- data/lib/moov/models/operations/updateticket_response.rb +48 -0
- data/lib/moov/models/operations/updateticket_response.rbi +21 -0
- data/lib/moov/models/operations.rb +13 -0
- data/lib/moov/sdkconfiguration.rb +4 -4
- data/lib/moov/support.rb +748 -0
- data/lib/moov/underwriting.rb +166 -0
- data/lib/moov/utils/url.rb +1 -1
- data/lib/moov/utils/utils.rb +0 -12
- data/lib/moov_ruby.rb +1 -0
- metadata +135 -5
- data/lib/crystalline/enum.rbi +0 -17
- data/lib/moov/models/components/enrichedindustry.rb +0 -44
- data/lib/moov/models/components/enrichedindustry.rbi +0 -19
|
@@ -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 EstimatedActivity
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
field :average_transaction_amount, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('averageTransactionAmount') } }
|
|
17
|
+
|
|
18
|
+
field :maximum_transaction_amount, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('maximumTransactionAmount') } }
|
|
19
|
+
# The low value in each range is included. The high value in each range is excluded.
|
|
20
|
+
field :monthly_volume_range, Crystalline::Nilable.new(Models::Components::MonthlyVolumeRange), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('monthlyVolumeRange'), 'decoder': Utils.enum_from_string(Models::Components::MonthlyVolumeRange, true) } }
|
|
21
|
+
|
|
22
|
+
sig { params(average_transaction_amount: T.nilable(::Integer), maximum_transaction_amount: T.nilable(::Integer), monthly_volume_range: T.nilable(Models::Components::MonthlyVolumeRange)).void }
|
|
23
|
+
def initialize(average_transaction_amount: nil, maximum_transaction_amount: nil, monthly_volume_range: nil)
|
|
24
|
+
@average_transaction_amount = average_transaction_amount
|
|
25
|
+
@maximum_transaction_amount = maximum_transaction_amount
|
|
26
|
+
@monthly_volume_range = monthly_volume_range
|
|
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 @average_transaction_amount == other.average_transaction_amount
|
|
33
|
+
return false unless @maximum_transaction_amount == other.maximum_transaction_amount
|
|
34
|
+
return false unless @monthly_volume_range == other.monthly_volume_range
|
|
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::EstimatedActivity
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::EstimatedActivity
|
|
11
|
+
def average_transaction_amount(); end
|
|
12
|
+
def average_transaction_amount=(str_); end
|
|
13
|
+
def maximum_transaction_amount(); end
|
|
14
|
+
def maximum_transaction_amount=(str_); end
|
|
15
|
+
def monthly_volume_range(); end
|
|
16
|
+
def monthly_volume_range=(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 EstimatedActivityError
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
field :average_transaction_amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('averageTransactionAmount') } }
|
|
17
|
+
|
|
18
|
+
field :maximum_transaction_amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('maximumTransactionAmount') } }
|
|
19
|
+
|
|
20
|
+
field :monthly_volume_range, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('monthlyVolumeRange') } }
|
|
21
|
+
|
|
22
|
+
sig { params(average_transaction_amount: T.nilable(::String), maximum_transaction_amount: T.nilable(::String), monthly_volume_range: T.nilable(::String)).void }
|
|
23
|
+
def initialize(average_transaction_amount: nil, maximum_transaction_amount: nil, monthly_volume_range: nil)
|
|
24
|
+
@average_transaction_amount = average_transaction_amount
|
|
25
|
+
@maximum_transaction_amount = maximum_transaction_amount
|
|
26
|
+
@monthly_volume_range = monthly_volume_range
|
|
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 @average_transaction_amount == other.average_transaction_amount
|
|
33
|
+
return false unless @maximum_transaction_amount == other.maximum_transaction_amount
|
|
34
|
+
return false unless @monthly_volume_range == other.monthly_volume_range
|
|
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::EstimatedActivityError
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::EstimatedActivityError
|
|
11
|
+
def average_transaction_amount(); end
|
|
12
|
+
def average_transaction_amount=(str_); end
|
|
13
|
+
def maximum_transaction_amount(); end
|
|
14
|
+
def maximum_transaction_amount=(str_); end
|
|
15
|
+
def monthly_volume_range(); end
|
|
16
|
+
def monthly_volume_range=(str_); end
|
|
17
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
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 Fulfillment
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
field :method, Crystalline::Nilable.new(Models::Components::FulfillmentMethod), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('method'), 'decoder': Utils.enum_from_string(Models::Components::FulfillmentMethod, true) } }
|
|
17
|
+
|
|
18
|
+
field :timeframe, Crystalline::Nilable.new(Models::Components::FulfillmentTimeframe), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('timeframe'), 'decoder': Utils.enum_from_string(Models::Components::FulfillmentTimeframe, true) } }
|
|
19
|
+
|
|
20
|
+
sig { params(method: T.nilable(Models::Components::FulfillmentMethod), timeframe: T.nilable(Models::Components::FulfillmentTimeframe)).void }
|
|
21
|
+
def initialize(method: nil, timeframe: nil)
|
|
22
|
+
@method = method
|
|
23
|
+
@timeframe = timeframe
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
27
|
+
def ==(other)
|
|
28
|
+
return false unless other.is_a? self.class
|
|
29
|
+
return false unless @method == other.method
|
|
30
|
+
return false unless @timeframe == other.timeframe
|
|
31
|
+
true
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Components::Fulfillment
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::Fulfillment
|
|
11
|
+
def method(); end
|
|
12
|
+
def method=(str_); end
|
|
13
|
+
def timeframe(); end
|
|
14
|
+
def timeframe=(str_); end
|
|
15
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
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 FulfillmentError
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
field :method, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('method') } }
|
|
17
|
+
|
|
18
|
+
field :timeframe, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('timeframe') } }
|
|
19
|
+
|
|
20
|
+
sig { params(method: T.nilable(::String), timeframe: T.nilable(::String)).void }
|
|
21
|
+
def initialize(method: nil, timeframe: nil)
|
|
22
|
+
@method = method
|
|
23
|
+
@timeframe = timeframe
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
27
|
+
def ==(other)
|
|
28
|
+
return false unless other.is_a? self.class
|
|
29
|
+
return false unless @method == other.method
|
|
30
|
+
return false unless @timeframe == other.timeframe
|
|
31
|
+
true
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Components::FulfillmentError
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::FulfillmentError
|
|
11
|
+
def method(); end
|
|
12
|
+
def method=(str_); end
|
|
13
|
+
def timeframe(); end
|
|
14
|
+
def timeframe=(str_); end
|
|
15
|
+
end
|
|
@@ -0,0 +1,28 @@
|
|
|
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 FulfillmentMethod < T::Enum
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
enums do
|
|
15
|
+
BILL_OR_DEBT_PAYMENT = new('bill-or-debt-payment')
|
|
16
|
+
DIGITAL_CONTENT = new('digital-content')
|
|
17
|
+
DONATION = new('donation')
|
|
18
|
+
IN_PERSON_SERVICE = new('in-person-service')
|
|
19
|
+
LOCAL_PICKUP_OR_DELIVERY = new('local-pickup-or-delivery')
|
|
20
|
+
OTHER = new('other')
|
|
21
|
+
REMOTE_SERVICE = new('remote-service')
|
|
22
|
+
SHIPPED_PHYSICAL_GOODS = new('shipped-physical-goods')
|
|
23
|
+
SUBSCRIPTION_OR_MEMBERSHIP = new('subscription-or-membership')
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
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 FulfillmentTimeframe < T::Enum
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
enums do
|
|
15
|
+
IMMEDIATE = new('immediate')
|
|
16
|
+
OTHER = new('other')
|
|
17
|
+
OVER_30_DAYS = new('over-30-days')
|
|
18
|
+
PRE_ORDER = new('pre-order')
|
|
19
|
+
RECURRING_SCHEDULE = new('recurring-schedule')
|
|
20
|
+
SCHEDULED_EVENT = new('scheduled-event')
|
|
21
|
+
WITHIN_30_DAYS = new('within-30-days')
|
|
22
|
+
WITHIN_7_DAYS = new('within-7-days')
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
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 GeographicReach < T::Enum
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
enums do
|
|
15
|
+
INTERNATIONAL_ONLY = new('international-only')
|
|
16
|
+
US_AND_INTERNATIONAL = new('us-and-international')
|
|
17
|
+
US_ONLY = new('us-only')
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -12,6 +12,8 @@ module Moov
|
|
|
12
12
|
# - `client_credentials`: A grant type used by clients to obtain an access token
|
|
13
13
|
# - `refresh_token`: A grant type used by clients to obtain a new access token using a refresh token
|
|
14
14
|
class GrantType < T::Enum
|
|
15
|
+
|
|
16
|
+
|
|
15
17
|
enums do
|
|
16
18
|
CLIENT_CREDENTIALS = new('client_credentials')
|
|
17
19
|
REFRESH_TOKEN = new('refresh_token')
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
# Describes a guest account profile.
|
|
11
|
+
class GuestProfile
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# The name associated with the guest account.
|
|
16
|
+
# This will default to "Guest {accountIDfirst8}" if no other name is provided.
|
|
17
|
+
field :name, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('name'), required: true } }
|
|
18
|
+
|
|
19
|
+
field :phone, Crystalline::Nilable.new(Models::Components::PhoneNumber), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('phone') } }
|
|
20
|
+
|
|
21
|
+
field :email, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('email') } }
|
|
22
|
+
|
|
23
|
+
sig { params(name: ::String, phone: T.nilable(Models::Components::PhoneNumber), email: T.nilable(::String)).void }
|
|
24
|
+
def initialize(name:, phone: nil, email: nil)
|
|
25
|
+
@name = name
|
|
26
|
+
@phone = phone
|
|
27
|
+
@email = email
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
31
|
+
def ==(other)
|
|
32
|
+
return false unless other.is_a? self.class
|
|
33
|
+
return false unless @name == other.name
|
|
34
|
+
return false unless @phone == other.phone
|
|
35
|
+
return false unless @email == other.email
|
|
36
|
+
true
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Components::GuestProfile
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::GuestProfile
|
|
11
|
+
def name(); end
|
|
12
|
+
def name=(str_); end
|
|
13
|
+
def phone(); end
|
|
14
|
+
def phone=(str_); end
|
|
15
|
+
def email(); end
|
|
16
|
+
def email=(str_); end
|
|
17
|
+
end
|
|
@@ -12,7 +12,7 @@ module Moov
|
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
|
|
16
16
|
field :image_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('imageID'), required: true } }
|
|
17
17
|
# The ID used to get an image with the public endpoint.
|
|
18
18
|
field :public_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('publicID'), required: true } }
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
# A structured industry taxonomy entry with category and mapped to a default MCC code.
|
|
11
|
+
class IndustryTaxonomy
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# Classification identifier for the industry.
|
|
16
|
+
field :industry, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('industry'), required: true } }
|
|
17
|
+
# Display name of the industry
|
|
18
|
+
field :display_name, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('displayName'), required: true } }
|
|
19
|
+
# Category slug
|
|
20
|
+
field :category, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('category'), required: true } }
|
|
21
|
+
# Human-readable category label
|
|
22
|
+
field :category_display_name, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('categoryDisplayName'), required: true } }
|
|
23
|
+
# Default Merchant Category Code
|
|
24
|
+
field :default_mcc, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('defaultMcc'), required: true } }
|
|
25
|
+
|
|
26
|
+
sig { params(industry: ::String, display_name: ::String, category: ::String, category_display_name: ::String, default_mcc: ::String).void }
|
|
27
|
+
def initialize(industry:, display_name:, category:, category_display_name:, default_mcc:)
|
|
28
|
+
@industry = industry
|
|
29
|
+
@display_name = display_name
|
|
30
|
+
@category = category
|
|
31
|
+
@category_display_name = category_display_name
|
|
32
|
+
@default_mcc = default_mcc
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
36
|
+
def ==(other)
|
|
37
|
+
return false unless other.is_a? self.class
|
|
38
|
+
return false unless @industry == other.industry
|
|
39
|
+
return false unless @display_name == other.display_name
|
|
40
|
+
return false unless @category == other.category
|
|
41
|
+
return false unless @category_display_name == other.category_display_name
|
|
42
|
+
return false unless @default_mcc == other.default_mcc
|
|
43
|
+
true
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Components::IndustryTaxonomy
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::IndustryTaxonomy
|
|
11
|
+
def industry(); end
|
|
12
|
+
def industry=(str_); end
|
|
13
|
+
def display_name(); end
|
|
14
|
+
def display_name=(str_); end
|
|
15
|
+
def category(); end
|
|
16
|
+
def category=(str_); end
|
|
17
|
+
def category_display_name(); end
|
|
18
|
+
def category_display_name=(str_); end
|
|
19
|
+
def default_mcc(); end
|
|
20
|
+
def default_mcc=(str_); end
|
|
21
|
+
end
|
|
@@ -9,6 +9,8 @@ module Moov
|
|
|
9
9
|
module Components
|
|
10
10
|
# IssuedCardFormFactor - Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
|
|
11
11
|
class IssuedCardFormFactor < T::Enum
|
|
12
|
+
|
|
13
|
+
|
|
12
14
|
enums do
|
|
13
15
|
VIRTUAL = new('virtual')
|
|
14
16
|
end
|
|
@@ -14,6 +14,8 @@ module Moov
|
|
|
14
14
|
# - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
15
15
|
# - `pending-verification`: Awaiting additional authorized user verification before the card can be activated.
|
|
16
16
|
class IssuedCardState < T::Enum
|
|
17
|
+
|
|
18
|
+
|
|
17
19
|
enums do
|
|
18
20
|
ACTIVE = new('active')
|
|
19
21
|
INACTIVE = new('inactive')
|
|
@@ -9,6 +9,8 @@ module Moov
|
|
|
9
9
|
module Components
|
|
10
10
|
# IssuingIntervalLimit - Specifies the time frame for the velocity limit. Currently supports only per-transaction limits.
|
|
11
11
|
class IssuingIntervalLimit < T::Enum
|
|
12
|
+
|
|
13
|
+
|
|
12
14
|
enums do
|
|
13
15
|
PER_TRANSACTION = new('per-transaction')
|
|
14
16
|
end
|
|
@@ -0,0 +1,32 @@
|
|
|
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 ItemListNextPage
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# The cursor value to use for the next page of items.
|
|
16
|
+
field :cursor, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cursor'), required: true } }
|
|
17
|
+
|
|
18
|
+
sig { params(cursor: ::String).void }
|
|
19
|
+
def initialize(cursor:)
|
|
20
|
+
@cursor = cursor
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
24
|
+
def ==(other)
|
|
25
|
+
return false unless other.is_a? self.class
|
|
26
|
+
return false unless @cursor == other.cursor
|
|
27
|
+
true
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|