moov_ruby 0.0.0.pre.dev.31 → 0.0.0.pre.dev.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/moov/card_issuing.rb +2 -8
- data/lib/moov/invoices.rb +180 -0
- data/lib/moov/issuing_transactions.rb +123 -0
- data/lib/moov/models/components/capability.rb +2 -0
- data/lib/moov/models/components/capabilityid.rb +3 -0
- data/lib/moov/models/components/capture.rb +2 -6
- data/lib/moov/models/components/capture.rbi +0 -2
- data/lib/moov/models/components/capturemethod.rb +21 -0
- data/lib/moov/models/components/capturemethod.rbi +11 -0
- data/lib/moov/models/components/capturestatus.rb +1 -0
- data/lib/moov/models/components/cardpaymentoptions.rb +14 -2
- data/lib/moov/models/components/cardpaymentoptions.rbi +6 -0
- data/lib/moov/models/components/createauthorizationsimulation.rb +2 -2
- data/lib/moov/models/components/createcapture.rb +2 -6
- data/lib/moov/models/components/createcapture.rbi +0 -2
- data/lib/moov/models/components/createcardpaymentoptions.rb +55 -0
- data/lib/moov/models/components/createcardpaymentoptions.rbi +21 -0
- data/lib/moov/models/components/createcardpaymentoptions_capturemethod.rb +20 -0
- data/lib/moov/models/components/createcardpaymentoptions_capturemethod.rbi +11 -0
- data/lib/moov/models/components/createinvoice.rb +10 -2
- data/lib/moov/models/components/createinvoice.rbi +4 -0
- data/lib/moov/models/components/createinvoicenotification.rb +32 -0
- data/lib/moov/models/components/createinvoicenotification.rbi +13 -0
- data/lib/moov/models/components/createsweepconfig.rb +6 -2
- data/lib/moov/models/components/createsweepconfig.rbi +2 -0
- data/lib/moov/models/components/createtransfer.rb +6 -2
- data/lib/moov/models/components/createtransfer.rbi +2 -0
- data/lib/moov/models/components/createtransferdestination.rb +2 -14
- data/lib/moov/models/components/createtransferdestination.rbi +0 -6
- data/lib/moov/models/components/createtransferrailoptions.rb +52 -0
- data/lib/moov/models/components/createtransferrailoptions.rbi +23 -0
- data/lib/moov/models/components/createtransferresponse.rb +27 -0
- data/lib/moov/models/components/createtransferresponse.rbi +11 -0
- data/lib/moov/models/components/createtransfersource.rb +2 -10
- data/lib/moov/models/components/createtransfersource.rbi +0 -4
- data/lib/moov/models/components/fullissuedcard.rb +6 -4
- data/lib/moov/models/components/invoice.rb +6 -2
- data/lib/moov/models/components/invoice.rbi +2 -0
- data/lib/moov/models/components/invoicenotificationlimitedchannel.rb +36 -0
- data/lib/moov/models/components/invoicenotificationlimitedchannel.rbi +15 -0
- data/lib/moov/models/components/invoicepaymentoptions.rb +40 -0
- data/lib/moov/models/components/invoicepaymentoptions.rbi +17 -0
- data/lib/moov/models/components/invoicepaymentoptionserror.rb +40 -0
- data/lib/moov/models/components/invoicepaymentoptionserror.rbi +17 -0
- data/lib/moov/models/components/invoicepaymentoptionsupdate.rb +40 -0
- data/lib/moov/models/components/invoicepaymentoptionsupdate.rbi +17 -0
- 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/issuedcontrols_allowedschedule.rb +1 -1
- data/lib/moov/models/components/issuingcontrols_allowedschedule.rb +1 -1
- data/lib/moov/models/components/notificationchannel.rb +18 -0
- data/lib/moov/models/components/notificationchannel.rbi +11 -0
- data/lib/moov/models/components/patchsweepconfig.rb +6 -2
- data/lib/moov/models/components/patchsweepconfig.rbi +2 -0
- data/lib/moov/models/components/pushtocardoptions.rb +6 -2
- data/lib/moov/models/components/pushtocardoptions.rbi +2 -0
- data/lib/moov/models/components/requestcard.rb +2 -6
- data/lib/moov/models/components/requestcard.rbi +0 -2
- data/lib/moov/models/components/schedule.rb +40 -0
- data/lib/moov/models/components/schedule.rbi +17 -0
- data/lib/moov/models/components/schedulewindow.rb +1 -1
- data/lib/moov/models/components/simulationissuingmerchantdata.rb +56 -0
- data/lib/moov/models/components/{issuingmerchantdatavalidationerror.rbi → simulationissuingmerchantdata.rbi} +2 -2
- data/lib/moov/models/components/{issuingmerchantdatavalidationerror.rb → simulationissuingmerchantdatavalidationerror.rb} +1 -1
- data/lib/moov/models/components/simulationissuingmerchantdatavalidationerror.rbi +25 -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/transferauthorization.rb +6 -2
- data/lib/moov/models/components/transferauthorization.rbi +2 -0
- data/lib/moov/models/components/updateinvoice.rb +6 -2
- data/lib/moov/models/components/updateinvoice.rbi +2 -0
- data/lib/moov/models/components/updateissuedcard.rb +3 -3
- data/lib/moov/models/components/updateissuedcardstate.rb +3 -3
- data/lib/moov/models/components/updateissuingcontrols_allowedschedule.rb +1 -1
- 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 +17 -3
- data/lib/moov/models/errors/authorizationsimulationvalidationerror.rb +3 -3
- data/lib/moov/models/errors/capturevalidationerror.rb +2 -6
- data/lib/moov/models/errors/capturevalidationerror.rbi +0 -2
- data/lib/moov/models/errors/clearingsimulationvalidationerror.rb +1 -1
- data/lib/moov/models/errors/createinvoiceerror.rb +10 -2
- data/lib/moov/models/errors/createinvoiceerror.rbi +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/invoicenotificationerror.rb +36 -0
- data/lib/moov/models/errors/invoicenotificationerror.rbi +15 -0
- data/lib/moov/models/errors/invoicenotificationratelimitederror.rb +44 -0
- data/lib/moov/models/errors/invoicenotificationratelimitederror.rbi +19 -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/errors/requestcarderror.rb +2 -6
- data/lib/moov/models/errors/requestcarderror.rbi +0 -2
- data/lib/moov/models/errors/updateinvoiceerror.rb +6 -2
- data/lib/moov/models/errors/updateinvoiceerror.rbi +2 -0
- data/lib/moov/models/errors.rb +2 -0
- data/lib/moov/models/operations/createinvoicenotification_request.rb +40 -0
- data/lib/moov/models/operations/createinvoicenotification_request.rbi +17 -0
- data/lib/moov/models/operations/{createcancellation_response.rb → createinvoicenotification_response.rb} +3 -7
- data/lib/moov/models/operations/{createcancellation_response.rbi → createinvoicenotification_response.rbi} +2 -4
- data/lib/moov/models/operations/createtransfer_response.rb +5 -5
- data/lib/moov/models/operations/createtransfer_response.rbi +2 -2
- 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/getissuedcardactivity_request.rb +36 -0
- data/lib/moov/models/operations/getissuedcardactivity_request.rbi +15 -0
- data/lib/moov/models/operations/getissuedcardactivity_response.rb +48 -0
- data/lib/moov/models/operations/getissuedcardactivity_response.rbi +21 -0
- data/lib/moov/models/operations/initiaterefund_request.rb +1 -1
- 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/models/operations.rb +4 -2
- data/lib/moov/sdkconfiguration.rb +3 -3
- data/lib/moov/transfers.rb +9 -157
- metadata +48 -12
- data/lib/moov/models/components/cardexpirationerror.rb +0 -36
- data/lib/moov/models/components/cardexpirationerror.rbi +0 -15
- data/lib/moov/models/components/createcancellation.rb +0 -34
- data/lib/moov/models/components/createcancellation.rbi +0 -13
- data/lib/moov/models/operations/createcancellation_request.rb +0 -40
- data/lib/moov/models/operations/createcancellation_request.rbi +0 -17
|
@@ -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]), transfer_types: T.nilable(T::Array[Models::Components::TransferType]), 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, transfer_types: 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]), transfer_types: T.nilable(T::Array[Models::Components::TransferType]), 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, transfer_types: 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
|
@transfer_types = transfer_types
|
|
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 @transfer_types == other.transfer_types
|
|
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 }
|
|
@@ -30,8 +30,6 @@ module Moov
|
|
|
30
30
|
autoload :CreateBankAccountAttestationResponse, 'moov/models/operations/createbankaccountattestation_response.rb'
|
|
31
31
|
autoload :CreateBrandRequest, 'moov/models/operations/createbrand_request.rb'
|
|
32
32
|
autoload :CreateBrandResponse, 'moov/models/operations/createbrand_response.rb'
|
|
33
|
-
autoload :CreateCancellationRequest, 'moov/models/operations/createcancellation_request.rb'
|
|
34
|
-
autoload :CreateCancellationResponse, 'moov/models/operations/createcancellation_response.rb'
|
|
35
33
|
autoload :CreateCaptureRequest, 'moov/models/operations/createcapture_request.rb'
|
|
36
34
|
autoload :CreateCaptureResponse, 'moov/models/operations/createcapture_response.rb'
|
|
37
35
|
autoload :CreateClearingSimulationRequest, 'moov/models/operations/createclearingsimulation_request.rb'
|
|
@@ -40,6 +38,8 @@ module Moov
|
|
|
40
38
|
autoload :CreateDepositAccountResponse, 'moov/models/operations/createdepositaccount_response.rb'
|
|
41
39
|
autoload :CreateFeePlanAgreementsRequest, 'moov/models/operations/createfeeplanagreements_request.rb'
|
|
42
40
|
autoload :CreateFeePlanAgreementsResponse, 'moov/models/operations/createfeeplanagreements_response.rb'
|
|
41
|
+
autoload :CreateInvoiceNotificationRequest, 'moov/models/operations/createinvoicenotification_request.rb'
|
|
42
|
+
autoload :CreateInvoiceNotificationResponse, 'moov/models/operations/createinvoicenotification_response.rb'
|
|
43
43
|
autoload :CreateInvoicePaymentRequest, 'moov/models/operations/createinvoicepayment_request.rb'
|
|
44
44
|
autoload :CreateInvoicePaymentResponse, 'moov/models/operations/createinvoicepayment_response.rb'
|
|
45
45
|
autoload :CreateInvoiceRequest, 'moov/models/operations/createinvoice_request.rb'
|
|
@@ -155,6 +155,8 @@ module Moov
|
|
|
155
155
|
autoload :GetImageMetadataResponse, 'moov/models/operations/getimagemetadata_response.rb'
|
|
156
156
|
autoload :GetInvoiceRequest, 'moov/models/operations/getinvoice_request.rb'
|
|
157
157
|
autoload :GetInvoiceResponse, 'moov/models/operations/getinvoice_response.rb'
|
|
158
|
+
autoload :GetIssuedCardActivityRequest, 'moov/models/operations/getissuedcardactivity_request.rb'
|
|
159
|
+
autoload :GetIssuedCardActivityResponse, 'moov/models/operations/getissuedcardactivity_response.rb'
|
|
158
160
|
autoload :GetIssuedCardAuthorizationRequest, 'moov/models/operations/getissuedcardauthorization_request.rb'
|
|
159
161
|
autoload :GetIssuedCardAuthorizationResponse, 'moov/models/operations/getissuedcardauthorization_response.rb'
|
|
160
162
|
autoload :GetIssuedCardTransactionRequest, 'moov/models/operations/getissuedcardtransaction_request.rb'
|
|
@@ -88,9 +88,9 @@ module Moov
|
|
|
88
88
|
end
|
|
89
89
|
@language = 'ruby'
|
|
90
90
|
@openapi_doc_version = 'dev'
|
|
91
|
-
@sdk_version = '0.0.0-dev.
|
|
92
|
-
@gen_version = '2.
|
|
93
|
-
@user_agent = 'speakeasy-sdk/ruby 0.0.0-dev.
|
|
91
|
+
@sdk_version = '0.0.0-dev.33'
|
|
92
|
+
@gen_version = '2.954.8'
|
|
93
|
+
@user_agent = 'speakeasy-sdk/ruby 0.0.0-dev.33 2.954.8 dev moov_ruby'
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
data/lib/moov/transfers.rb
CHANGED
|
@@ -322,13 +322,13 @@ module Moov
|
|
|
322
322
|
response: http_response
|
|
323
323
|
)
|
|
324
324
|
response_data = http_response.env.response_body
|
|
325
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Components::CreatedTransfer)
|
|
325
|
+
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Crystalline::Union.new(Models::Components::CreatedTransfer, Models::Components::AsyncTransfer))
|
|
326
326
|
response = Models::Operations::CreateTransferResponse.new(
|
|
327
327
|
status_code: http_response.status,
|
|
328
328
|
content_type: content_type,
|
|
329
329
|
raw_response: http_response,
|
|
330
330
|
headers: http_response.headers,
|
|
331
|
-
|
|
331
|
+
create_transfer_response: T.unsafe(obj)
|
|
332
332
|
)
|
|
333
333
|
|
|
334
334
|
return response
|
|
@@ -448,7 +448,12 @@ module Moov
|
|
|
448
448
|
# When you run this request, you retrieve 200 transfers at a time. You can advance past a results set of 200 transfers by using the `skip` parameter (for example,
|
|
449
449
|
# if you set `skip`= 10, you will see a results set of 200 transfers after the first 10). If you are searching a high volume of transfers, the request will likely
|
|
450
450
|
# process very slowly. To achieve faster performance, restrict the data as much as you can by using the `StartDateTime` and `EndDateTime` parameters for a limited
|
|
451
|
-
# period of time. You can run multiple requests in smaller time window increments until you've retrieved all the transfers you need.
|
|
451
|
+
# period of time. You can run multiple requests in smaller time window increments until you've retrieved all the transfers you need. The maximum allowed value for
|
|
452
|
+
# `skip` is `200 000`.
|
|
453
|
+
#
|
|
454
|
+
# For large result sets, use cursor pagination instead of `skip`. When more transfers are available, the response includes an
|
|
455
|
+
# `X-Next-Cursor` header. Pass its value as the `cursor` query parameter, with the same filters and `count`, to retrieve the next page.
|
|
456
|
+
# `cursor` cannot be combined with a nonzero `skip`.
|
|
452
457
|
#
|
|
453
458
|
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
454
459
|
# you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
@@ -1000,160 +1005,6 @@ module Moov
|
|
|
1000
1005
|
end
|
|
1001
1006
|
|
|
1002
1007
|
|
|
1003
|
-
sig { params(create_cancellation: Models::Components::CreateCancellation, account_id: ::String, transfer_id: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::CreateCancellationResponse) }
|
|
1004
|
-
def create_cancellation(create_cancellation:, account_id:, transfer_id:, timeout_ms: nil, http_headers: nil)
|
|
1005
|
-
# create_cancellation - Initiate a cancellation for a card, ACH, or queued transfer.
|
|
1006
|
-
#
|
|
1007
|
-
# In v2026.10 and later, an auth-capture `card-payment` transfer can be canceled before any captures exist.
|
|
1008
|
-
# For these transfers, a successful cancellation reduces `capturableAmount` without changing `authorizedAmount`.
|
|
1009
|
-
# For these transfers, a partial cancellation leaves the remaining `capturableAmount` available for capture.
|
|
1010
|
-
# To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
1011
|
-
# to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
1012
|
-
request = Models::Operations::CreateCancellationRequest.new(
|
|
1013
|
-
account_id: account_id,
|
|
1014
|
-
transfer_id: transfer_id,
|
|
1015
|
-
create_cancellation: create_cancellation
|
|
1016
|
-
)
|
|
1017
|
-
url, params = @sdk_configuration.get_server_details
|
|
1018
|
-
base_url = Utils.template_url(url, params)
|
|
1019
|
-
url = Utils.generate_url(
|
|
1020
|
-
Models::Operations::CreateCancellationRequest,
|
|
1021
|
-
base_url,
|
|
1022
|
-
'/accounts/{accountID}/transfers/{transferID}/cancellations',
|
|
1023
|
-
request
|
|
1024
|
-
)
|
|
1025
|
-
headers = {}
|
|
1026
|
-
headers = T.cast(headers, T::Hash[String, String])
|
|
1027
|
-
req_content_type, data, form = Utils.serialize_request_body(request, false, false, :create_cancellation, :json)
|
|
1028
|
-
headers['content-type'] = req_content_type
|
|
1029
|
-
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
|
1030
|
-
|
|
1031
|
-
if form && !form.empty?
|
|
1032
|
-
body = Utils.encode_form(form)
|
|
1033
|
-
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
|
1034
|
-
body = URI.encode_www_form(T.cast(data, T::Hash[Symbol, Object]))
|
|
1035
|
-
else
|
|
1036
|
-
body = data
|
|
1037
|
-
end
|
|
1038
|
-
headers['Accept'] = 'application/json'
|
|
1039
|
-
headers['user-agent'] = @sdk_configuration.user_agent
|
|
1040
|
-
|
|
1041
|
-
security = @sdk_configuration.security_source&.call
|
|
1042
|
-
|
|
1043
|
-
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1044
|
-
timeout ||= @sdk_configuration.timeout
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
connection = @sdk_configuration.client
|
|
1048
|
-
|
|
1049
|
-
hook_ctx = SDKHooks::HookContext.new(
|
|
1050
|
-
config: @sdk_configuration,
|
|
1051
|
-
base_url: base_url,
|
|
1052
|
-
oauth2_scopes: nil,
|
|
1053
|
-
operation_id: 'createCancellation',
|
|
1054
|
-
security_source: @sdk_configuration.security_source
|
|
1055
|
-
)
|
|
1056
|
-
|
|
1057
|
-
error = T.let(nil, T.nilable(StandardError))
|
|
1058
|
-
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
begin
|
|
1062
|
-
http_response = T.must(connection).post(url) do |req|
|
|
1063
|
-
req.body = body
|
|
1064
|
-
req.headers.merge!(headers)
|
|
1065
|
-
req.options.timeout = timeout unless timeout.nil?
|
|
1066
|
-
Utils.configure_request_security(req, security)
|
|
1067
|
-
http_headers&.each do |key, value|
|
|
1068
|
-
req.headers[key.to_s] = value
|
|
1069
|
-
end
|
|
1070
|
-
|
|
1071
|
-
@sdk_configuration.hooks.before_request(
|
|
1072
|
-
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
1073
|
-
hook_ctx: hook_ctx
|
|
1074
|
-
),
|
|
1075
|
-
request: req
|
|
1076
|
-
)
|
|
1077
|
-
end
|
|
1078
|
-
rescue StandardError => e
|
|
1079
|
-
error = e
|
|
1080
|
-
ensure
|
|
1081
|
-
if http_response.nil? || Utils.error_status?(http_response.status)
|
|
1082
|
-
http_response = @sdk_configuration.hooks.after_error(
|
|
1083
|
-
error: error,
|
|
1084
|
-
hook_ctx: SDKHooks::AfterErrorHookContext.new(
|
|
1085
|
-
hook_ctx: hook_ctx
|
|
1086
|
-
),
|
|
1087
|
-
response: http_response
|
|
1088
|
-
)
|
|
1089
|
-
else
|
|
1090
|
-
http_response = @sdk_configuration.hooks.after_success(
|
|
1091
|
-
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
1092
|
-
hook_ctx: hook_ctx
|
|
1093
|
-
),
|
|
1094
|
-
response: http_response
|
|
1095
|
-
)
|
|
1096
|
-
end
|
|
1097
|
-
|
|
1098
|
-
if http_response.nil?
|
|
1099
|
-
raise error if !error.nil?
|
|
1100
|
-
raise 'no response'
|
|
1101
|
-
end
|
|
1102
|
-
end
|
|
1103
|
-
|
|
1104
|
-
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1105
|
-
if Utils.match_status_code(http_response.status, ['200', '202'])
|
|
1106
|
-
if Utils.match_content_type(content_type, 'application/json')
|
|
1107
|
-
http_response = @sdk_configuration.hooks.after_success(
|
|
1108
|
-
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
1109
|
-
hook_ctx: hook_ctx
|
|
1110
|
-
),
|
|
1111
|
-
response: http_response
|
|
1112
|
-
)
|
|
1113
|
-
response_data = http_response.env.response_body
|
|
1114
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Components::Cancellation)
|
|
1115
|
-
response = Models::Operations::CreateCancellationResponse.new(
|
|
1116
|
-
status_code: http_response.status,
|
|
1117
|
-
content_type: content_type,
|
|
1118
|
-
raw_response: http_response,
|
|
1119
|
-
headers: http_response.headers,
|
|
1120
|
-
cancellation: T.unsafe(obj)
|
|
1121
|
-
)
|
|
1122
|
-
|
|
1123
|
-
return response
|
|
1124
|
-
else
|
|
1125
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
|
|
1126
|
-
end
|
|
1127
|
-
elsif Utils.match_status_code(http_response.status, ['400', '409', '422'])
|
|
1128
|
-
if Utils.match_content_type(content_type, 'application/json')
|
|
1129
|
-
http_response = @sdk_configuration.hooks.after_success(
|
|
1130
|
-
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
1131
|
-
hook_ctx: hook_ctx
|
|
1132
|
-
),
|
|
1133
|
-
response: http_response
|
|
1134
|
-
)
|
|
1135
|
-
response_data = http_response.env.response_body
|
|
1136
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::GenericError)
|
|
1137
|
-
obj.raw_response = http_response
|
|
1138
|
-
raise obj
|
|
1139
|
-
else
|
|
1140
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
|
|
1141
|
-
end
|
|
1142
|
-
elsif Utils.match_status_code(http_response.status, ['401', '403', '404', '429'])
|
|
1143
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
|
|
1144
|
-
elsif Utils.match_status_code(http_response.status, ['500', '504'])
|
|
1145
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
|
|
1146
|
-
elsif Utils.match_status_code(http_response.status, ['4XX'])
|
|
1147
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
|
|
1148
|
-
elsif Utils.match_status_code(http_response.status, ['5XX'])
|
|
1149
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
|
|
1150
|
-
else
|
|
1151
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown status code received'
|
|
1152
|
-
|
|
1153
|
-
end
|
|
1154
|
-
end
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
1008
|
sig { params(account_id: ::String, transfer_id: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListCancellationsResponse) }
|
|
1158
1009
|
def list_cancellations(account_id:, transfer_id:, timeout_ms: nil, http_headers: nil)
|
|
1159
1010
|
# list_cancellations - Get a list of cancellations for a transfer.
|
|
@@ -1944,6 +1795,7 @@ module Moov
|
|
|
1944
1795
|
sig { params(request: Models::Operations::InitiateRefundRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::InitiateRefundResponse) }
|
|
1945
1796
|
def initiate_refund(request:, timeout_ms: nil, http_headers: nil)
|
|
1946
1797
|
# initiate_refund - Initiate a refund for a card transfer.
|
|
1798
|
+
# The `accountID` must identify the partner account for the transfer.
|
|
1947
1799
|
#
|
|
1948
1800
|
# **Use the [Cancel or refund a card transfer](https://docs.moov.io/api/money-movement/refunds/cancel/) endpoint for more comprehensive cancel and refund options.**
|
|
1949
1801
|
# See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/reversals/) guide for more information.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: moov_ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.0.pre.dev.
|
|
4
|
+
version: 0.0.0.pre.dev.33
|
|
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-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|
|
@@ -519,6 +519,8 @@ files:
|
|
|
519
519
|
- lib/moov/models/components/capabilitystatus.rbi
|
|
520
520
|
- lib/moov/models/components/capture.rb
|
|
521
521
|
- lib/moov/models/components/capture.rbi
|
|
522
|
+
- lib/moov/models/components/capturemethod.rb
|
|
523
|
+
- lib/moov/models/components/capturemethod.rbi
|
|
522
524
|
- lib/moov/models/components/capturestatus.rb
|
|
523
525
|
- lib/moov/models/components/capturestatus.rbi
|
|
524
526
|
- lib/moov/models/components/card.rb
|
|
@@ -547,8 +549,6 @@ files:
|
|
|
547
549
|
- lib/moov/models/components/carddetails.rbi
|
|
548
550
|
- lib/moov/models/components/cardexpiration.rb
|
|
549
551
|
- lib/moov/models/components/cardexpiration.rbi
|
|
550
|
-
- lib/moov/models/components/cardexpirationerror.rb
|
|
551
|
-
- lib/moov/models/components/cardexpirationerror.rbi
|
|
552
552
|
- lib/moov/models/components/cardfundingsource.rb
|
|
553
553
|
- lib/moov/models/components/cardfundingsource.rbi
|
|
554
554
|
- lib/moov/models/components/cardissuing.rb
|
|
@@ -659,10 +659,12 @@ files:
|
|
|
659
659
|
- lib/moov/models/components/createbusinesserror_taxid.rbi
|
|
660
660
|
- lib/moov/models/components/createbusinessprofile.rb
|
|
661
661
|
- lib/moov/models/components/createbusinessprofile.rbi
|
|
662
|
-
- lib/moov/models/components/createcancellation.rb
|
|
663
|
-
- lib/moov/models/components/createcancellation.rbi
|
|
664
662
|
- lib/moov/models/components/createcapture.rb
|
|
665
663
|
- lib/moov/models/components/createcapture.rbi
|
|
664
|
+
- lib/moov/models/components/createcardpaymentoptions.rb
|
|
665
|
+
- lib/moov/models/components/createcardpaymentoptions.rbi
|
|
666
|
+
- lib/moov/models/components/createcardpaymentoptions_capturemethod.rb
|
|
667
|
+
- lib/moov/models/components/createcardpaymentoptions_capturemethod.rbi
|
|
666
668
|
- lib/moov/models/components/createclearingsimulation.rb
|
|
667
669
|
- lib/moov/models/components/createclearingsimulation.rbi
|
|
668
670
|
- lib/moov/models/components/createdtransfer.rb
|
|
@@ -701,6 +703,8 @@ files:
|
|
|
701
703
|
- lib/moov/models/components/createinvoicelineitemsvalidationerror.rbi
|
|
702
704
|
- lib/moov/models/components/createinvoicelineitemvalidationerror.rb
|
|
703
705
|
- lib/moov/models/components/createinvoicelineitemvalidationerror.rbi
|
|
706
|
+
- lib/moov/models/components/createinvoicenotification.rb
|
|
707
|
+
- lib/moov/models/components/createinvoicenotification.rbi
|
|
704
708
|
- lib/moov/models/components/createinvoicepayment.rb
|
|
705
709
|
- lib/moov/models/components/createinvoicepayment.rbi
|
|
706
710
|
- lib/moov/models/components/createpaymentlink.rb
|
|
@@ -793,6 +797,10 @@ files:
|
|
|
793
797
|
- lib/moov/models/components/createtransferlineitemvalidationerror.rbi
|
|
794
798
|
- lib/moov/models/components/createtransferoptions.rb
|
|
795
799
|
- lib/moov/models/components/createtransferoptions.rbi
|
|
800
|
+
- lib/moov/models/components/createtransferrailoptions.rb
|
|
801
|
+
- lib/moov/models/components/createtransferrailoptions.rbi
|
|
802
|
+
- lib/moov/models/components/createtransferresponse.rb
|
|
803
|
+
- lib/moov/models/components/createtransferresponse.rbi
|
|
796
804
|
- lib/moov/models/components/createtransfersource.rb
|
|
797
805
|
- lib/moov/models/components/createtransfersource.rbi
|
|
798
806
|
- lib/moov/models/components/createtransfersourceach.rb
|
|
@@ -1021,8 +1029,16 @@ files:
|
|
|
1021
1029
|
- lib/moov/models/components/invoicelineitemsvalidationerror.rbi
|
|
1022
1030
|
- lib/moov/models/components/invoicelineitemvalidationerror.rb
|
|
1023
1031
|
- lib/moov/models/components/invoicelineitemvalidationerror.rbi
|
|
1032
|
+
- lib/moov/models/components/invoicenotificationlimitedchannel.rb
|
|
1033
|
+
- lib/moov/models/components/invoicenotificationlimitedchannel.rbi
|
|
1024
1034
|
- lib/moov/models/components/invoicepayment.rb
|
|
1025
1035
|
- lib/moov/models/components/invoicepayment.rbi
|
|
1036
|
+
- lib/moov/models/components/invoicepaymentoptions.rb
|
|
1037
|
+
- lib/moov/models/components/invoicepaymentoptions.rbi
|
|
1038
|
+
- lib/moov/models/components/invoicepaymentoptionserror.rb
|
|
1039
|
+
- lib/moov/models/components/invoicepaymentoptionserror.rbi
|
|
1040
|
+
- lib/moov/models/components/invoicepaymentoptionsupdate.rb
|
|
1041
|
+
- lib/moov/models/components/invoicepaymentoptionsupdate.rbi
|
|
1026
1042
|
- lib/moov/models/components/invoicepaymenttype.rb
|
|
1027
1043
|
- lib/moov/models/components/invoicepaymenttype.rbi
|
|
1028
1044
|
- lib/moov/models/components/invoicestatus.rb
|
|
@@ -1071,8 +1087,6 @@ files:
|
|
|
1071
1087
|
- lib/moov/models/components/issuingmerchantcategory.rbi
|
|
1072
1088
|
- lib/moov/models/components/issuingmerchantdata.rb
|
|
1073
1089
|
- lib/moov/models/components/issuingmerchantdata.rbi
|
|
1074
|
-
- lib/moov/models/components/issuingmerchantdatavalidationerror.rb
|
|
1075
|
-
- lib/moov/models/components/issuingmerchantdatavalidationerror.rbi
|
|
1076
1090
|
- lib/moov/models/components/issuingscheduleday.rb
|
|
1077
1091
|
- lib/moov/models/components/issuingscheduleday.rbi
|
|
1078
1092
|
- lib/moov/models/components/issuingvelocitylimit.rb
|
|
@@ -1171,6 +1185,8 @@ files:
|
|
|
1171
1185
|
- lib/moov/models/components/mxauthorizationcode.rbi
|
|
1172
1186
|
- lib/moov/models/components/mxpayload.rb
|
|
1173
1187
|
- lib/moov/models/components/mxpayload.rbi
|
|
1188
|
+
- lib/moov/models/components/notificationchannel.rb
|
|
1189
|
+
- lib/moov/models/components/notificationchannel.rbi
|
|
1174
1190
|
- lib/moov/models/components/oauth2clienttype.rb
|
|
1175
1191
|
- lib/moov/models/components/oauth2clienttype.rbi
|
|
1176
1192
|
- lib/moov/models/components/occurrence.rb
|
|
@@ -1463,6 +1479,8 @@ files:
|
|
|
1463
1479
|
- lib/moov/models/components/rtpservices.rbi
|
|
1464
1480
|
- lib/moov/models/components/runtransfer.rb
|
|
1465
1481
|
- lib/moov/models/components/runtransfer.rbi
|
|
1482
|
+
- lib/moov/models/components/schedule.rb
|
|
1483
|
+
- lib/moov/models/components/schedule.rbi
|
|
1466
1484
|
- lib/moov/models/components/scheduledtransferimagemetadata.rb
|
|
1467
1485
|
- lib/moov/models/components/scheduledtransferimagemetadata.rbi
|
|
1468
1486
|
- lib/moov/models/components/scheduledtransferlineitem.rb
|
|
@@ -1519,6 +1537,10 @@ files:
|
|
|
1519
1537
|
- lib/moov/models/components/settings.rbi
|
|
1520
1538
|
- lib/moov/models/components/sharescopes.rb
|
|
1521
1539
|
- lib/moov/models/components/sharescopes.rbi
|
|
1540
|
+
- lib/moov/models/components/simulationissuingmerchantdata.rb
|
|
1541
|
+
- lib/moov/models/components/simulationissuingmerchantdata.rbi
|
|
1542
|
+
- lib/moov/models/components/simulationissuingmerchantdatavalidationerror.rb
|
|
1543
|
+
- lib/moov/models/components/simulationissuingmerchantdatavalidationerror.rbi
|
|
1522
1544
|
- lib/moov/models/components/sourcedestinationoptions.rb
|
|
1523
1545
|
- lib/moov/models/components/sourcedestinationoptions.rbi
|
|
1524
1546
|
- lib/moov/models/components/sourcesystem.rb
|
|
@@ -1537,8 +1559,14 @@ files:
|
|
|
1537
1559
|
- lib/moov/models/components/sweepconfig.rbi
|
|
1538
1560
|
- lib/moov/models/components/sweepconfigpaymentmethod.rb
|
|
1539
1561
|
- lib/moov/models/components/sweepconfigpaymentmethod.rbi
|
|
1562
|
+
- lib/moov/models/components/sweepconfigschedule.rb
|
|
1563
|
+
- lib/moov/models/components/sweepconfigschedule.rbi
|
|
1564
|
+
- lib/moov/models/components/sweepconfigscheduleerror.rb
|
|
1565
|
+
- lib/moov/models/components/sweepconfigscheduleerror.rbi
|
|
1540
1566
|
- lib/moov/models/components/sweepconfigstatus.rb
|
|
1541
1567
|
- lib/moov/models/components/sweepconfigstatus.rbi
|
|
1568
|
+
- lib/moov/models/components/sweepschedulefrequency.rb
|
|
1569
|
+
- lib/moov/models/components/sweepschedulefrequency.rbi
|
|
1542
1570
|
- lib/moov/models/components/sweepstatus.rb
|
|
1543
1571
|
- lib/moov/models/components/sweepstatus.rbi
|
|
1544
1572
|
- lib/moov/models/components/sweepsubtotal.rb
|
|
@@ -1962,6 +1990,10 @@ files:
|
|
|
1962
1990
|
- lib/moov/models/errors/imagemetadatavalidationerror.rbi
|
|
1963
1991
|
- lib/moov/models/errors/imagerequestvalidationerror.rb
|
|
1964
1992
|
- lib/moov/models/errors/imagerequestvalidationerror.rbi
|
|
1993
|
+
- lib/moov/models/errors/invoicenotificationerror.rb
|
|
1994
|
+
- lib/moov/models/errors/invoicenotificationerror.rbi
|
|
1995
|
+
- lib/moov/models/errors/invoicenotificationratelimitederror.rb
|
|
1996
|
+
- lib/moov/models/errors/invoicenotificationratelimitederror.rbi
|
|
1965
1997
|
- lib/moov/models/errors/linkapplepayerror.rb
|
|
1966
1998
|
- lib/moov/models/errors/linkapplepayerror.rbi
|
|
1967
1999
|
- lib/moov/models/errors/linkcarderror.rb
|
|
@@ -2077,10 +2109,6 @@ files:
|
|
|
2077
2109
|
- lib/moov/models/operations/createbrand_request.rbi
|
|
2078
2110
|
- lib/moov/models/operations/createbrand_response.rb
|
|
2079
2111
|
- lib/moov/models/operations/createbrand_response.rbi
|
|
2080
|
-
- lib/moov/models/operations/createcancellation_request.rb
|
|
2081
|
-
- lib/moov/models/operations/createcancellation_request.rbi
|
|
2082
|
-
- lib/moov/models/operations/createcancellation_response.rb
|
|
2083
|
-
- lib/moov/models/operations/createcancellation_response.rbi
|
|
2084
2112
|
- lib/moov/models/operations/createcapture_request.rb
|
|
2085
2113
|
- lib/moov/models/operations/createcapture_request.rbi
|
|
2086
2114
|
- lib/moov/models/operations/createcapture_response.rb
|
|
@@ -2101,6 +2129,10 @@ files:
|
|
|
2101
2129
|
- lib/moov/models/operations/createinvoice_request.rbi
|
|
2102
2130
|
- lib/moov/models/operations/createinvoice_response.rb
|
|
2103
2131
|
- lib/moov/models/operations/createinvoice_response.rbi
|
|
2132
|
+
- lib/moov/models/operations/createinvoicenotification_request.rb
|
|
2133
|
+
- lib/moov/models/operations/createinvoicenotification_request.rbi
|
|
2134
|
+
- lib/moov/models/operations/createinvoicenotification_response.rb
|
|
2135
|
+
- lib/moov/models/operations/createinvoicenotification_response.rbi
|
|
2104
2136
|
- lib/moov/models/operations/createinvoicepayment_request.rb
|
|
2105
2137
|
- lib/moov/models/operations/createinvoicepayment_request.rbi
|
|
2106
2138
|
- lib/moov/models/operations/createinvoicepayment_response.rb
|
|
@@ -2331,6 +2363,10 @@ files:
|
|
|
2331
2363
|
- lib/moov/models/operations/getissuedcard_request.rbi
|
|
2332
2364
|
- lib/moov/models/operations/getissuedcard_response.rb
|
|
2333
2365
|
- lib/moov/models/operations/getissuedcard_response.rbi
|
|
2366
|
+
- lib/moov/models/operations/getissuedcardactivity_request.rb
|
|
2367
|
+
- lib/moov/models/operations/getissuedcardactivity_request.rbi
|
|
2368
|
+
- lib/moov/models/operations/getissuedcardactivity_response.rb
|
|
2369
|
+
- lib/moov/models/operations/getissuedcardactivity_response.rbi
|
|
2334
2370
|
- lib/moov/models/operations/getissuedcardauthorization_request.rb
|
|
2335
2371
|
- lib/moov/models/operations/getissuedcardauthorization_request.rbi
|
|
2336
2372
|
- lib/moov/models/operations/getissuedcardauthorization_response.rb
|
|
@@ -1,36 +0,0 @@
|
|
|
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 CardExpirationError
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
field :month, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('month') } }
|
|
17
|
-
|
|
18
|
-
field :year, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('year') } }
|
|
19
|
-
|
|
20
|
-
sig { params(month: T.nilable(::String), year: T.nilable(::String)).void }
|
|
21
|
-
def initialize(month: nil, year: nil)
|
|
22
|
-
@month = month
|
|
23
|
-
@year = year
|
|
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 @month == other.month
|
|
30
|
-
return false unless @year == other.year
|
|
31
|
-
true
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
end
|
|
36
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::CardExpirationError
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::CardExpirationError
|
|
11
|
-
def month(); end
|
|
12
|
-
def month=(str_); end
|
|
13
|
-
def year(); end
|
|
14
|
-
def year=(str_); end
|
|
15
|
-
end
|
|
@@ -1,34 +0,0 @@
|
|
|
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
|
-
# Cancellation request.
|
|
11
|
-
class CreateCancellation
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
# Amount to void. This field can only be set for an auth-capture `card-payment` transfer.
|
|
16
|
-
# This cannot exceed `capturableAmount`.
|
|
17
|
-
# Omit this field to void the entire `capturableAmount`.
|
|
18
|
-
field :amount, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount') } }
|
|
19
|
-
|
|
20
|
-
sig { params(amount: T.nilable(Models::Components::AmountDecimal)).void }
|
|
21
|
-
def initialize(amount: nil)
|
|
22
|
-
@amount = amount
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
26
|
-
def ==(other)
|
|
27
|
-
return false unless other.is_a? self.class
|
|
28
|
-
return false unless @amount == other.amount
|
|
29
|
-
true
|
|
30
|
-
end
|
|
31
|
-
end
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
end
|