moov_ruby 26.4.7 → 26.4.8
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/account_terminal_applications.rb +16 -16
- data/lib/moov/accounts.rb +52 -54
- data/lib/moov/adjustments.rb +8 -8
- data/lib/moov/apple_pay.rb +20 -20
- data/lib/moov/authentication.rb +8 -8
- data/lib/moov/avatars.rb +4 -4
- data/lib/moov/bank_accounts.rb +36 -36
- data/lib/moov/branding.rb +12 -12
- data/lib/moov/capabilities.rb +20 -20
- data/lib/moov/card_issuing.rb +25 -25
- data/lib/moov/cards.rb +20 -20
- data/lib/moov/disputes.rb +44 -44
- data/lib/moov/end_to_end_encryption.rb +8 -8
- data/lib/moov/enriched_address.rb +4 -4
- data/lib/moov/enriched_profile.rb +4 -4
- data/lib/moov/fee_plans.rb +40 -40
- data/lib/moov/files.rb +12 -12
- data/lib/moov/google_pay.rb +4 -4
- data/lib/moov/images.rb +28 -28
- data/lib/moov/industries.rb +4 -4
- data/lib/moov/institutions.rb +8 -8
- data/lib/moov/invoices.rb +28 -28
- data/lib/moov/issuing_transactions.rb +20 -20
- data/lib/moov/models/components/addcapabilities.rb +5 -1
- data/lib/moov/models/components/billingaddress.rb +52 -0
- data/lib/moov/models/components/billingaddress.rbi +23 -0
- data/lib/moov/models/components/capability.rb +7 -1
- data/lib/moov/models/components/capabilityid.rb +7 -1
- data/lib/moov/models/components/createaccount.rb +5 -1
- data/lib/moov/models/components/createpaymentlink.rb +4 -4
- data/lib/moov/models/components/fullissuedcard.rb +22 -10
- data/lib/moov/models/components/fullissuedcard.rbi +10 -4
- data/lib/moov/models/components/issuedcard.rb +22 -10
- data/lib/moov/models/components/issuedcard.rbi +10 -4
- data/lib/moov/models/components/onboardinginvite.rb +1 -1
- data/lib/moov/models/components/onboardinginviterequest.rb +1 -1
- data/lib/moov/models/components/paymentlink.rb +3 -3
- data/lib/moov/models/components/requestcard.rb +17 -17
- data/lib/moov/models/components/requestcard.rbi +8 -8
- data/lib/moov/models/components/updateissuedcard.rb +13 -9
- data/lib/moov/models/components/updateissuedcard.rbi +6 -4
- data/lib/moov/models/components/webhookdataauthorizationexpiring.rb +44 -0
- data/lib/moov/models/components/webhookdataauthorizationexpiring.rbi +19 -0
- data/lib/moov/models/components/webhookdatacapabilityrequested.rb +7 -1
- data/lib/moov/models/components/webhookdatacapabilityupdated.rb +7 -1
- data/lib/moov/models/components/webhookdatasweepcreated.rb +6 -2
- data/lib/moov/models/components/webhookdatasweepcreated.rbi +2 -0
- data/lib/moov/models/components/webhookdatasweepupdated.rb +6 -2
- data/lib/moov/models/components/webhookdatasweepupdated.rbi +2 -0
- data/lib/moov/models/components/webhookevent.rb +2 -2
- data/lib/moov/models/components/webhookeventtype.rb +1 -0
- data/lib/moov/models/components.rb +2 -4
- data/lib/moov/models/errors/requestcarderror.rb +14 -14
- data/lib/moov/models/errors/requestcarderror.rbi +8 -8
- data/lib/moov/models/errors/updateissuedcarderror.rb +12 -8
- data/lib/moov/models/errors/updateissuedcarderror.rbi +6 -4
- data/lib/moov/models/operations/disablecapability_request.rb +7 -1
- data/lib/moov/models/operations/getcapability_request.rb +7 -1
- data/lib/moov/models/operations/listcancellations_request.rb +36 -0
- data/lib/moov/models/operations/listcancellations_request.rbi +15 -0
- data/lib/moov/models/operations/listcancellations_response.rb +48 -0
- data/lib/moov/models/operations/listcancellations_response.rbi +21 -0
- data/lib/moov/models/operations.rb +2 -0
- data/lib/moov/onboarding.rb +16 -16
- data/lib/moov/payment_links.rb +24 -24
- data/lib/moov/payment_methods.rb +8 -8
- data/lib/moov/ping.rb +4 -4
- data/lib/moov/products.rb +20 -20
- data/lib/moov/receipts.rb +8 -8
- data/lib/moov/representatives.rb +20 -20
- data/lib/moov/resolution_links.rb +16 -16
- data/lib/moov/scheduling.rb +24 -24
- data/lib/moov/sdkconfiguration.rb +3 -3
- data/lib/moov/statements.rb +8 -8
- data/lib/moov/support.rb +20 -20
- data/lib/moov/sweeps.rb +24 -24
- data/lib/moov/terminal_applications.rb +20 -20
- data/lib/moov/transfer_config.rb +12 -12
- data/lib/moov/transfers.rb +171 -48
- data/lib/moov/underwriting.rb +12 -12
- data/lib/moov/utils/retries.rb +4 -1
- data/lib/moov/wallet_transactions.rb +8 -8
- data/lib/moov/wallets.rb +16 -16
- data/lib/moov/webhooks.rb +32 -32
- metadata +10 -10
- data/lib/moov/models/components/authorizeduser.rb +0 -36
- data/lib/moov/models/components/authorizeduser.rbi +0 -15
- data/lib/moov/models/components/createauthorizeduser.rb +0 -40
- data/lib/moov/models/components/createauthorizeduser.rbi +0 -17
- data/lib/moov/models/components/createauthorizedusererror.rb +0 -40
- data/lib/moov/models/components/createauthorizedusererror.rbi +0 -17
- data/lib/moov/models/components/createauthorizeduserupdate.rb +0 -40
- data/lib/moov/models/components/createauthorizeduserupdate.rbi +0 -17
|
@@ -68,7 +68,6 @@ module Moov
|
|
|
68
68
|
autoload :AsyncTransfer, 'moov/models/components/asynctransfer.rb'
|
|
69
69
|
autoload :AuthToken, 'moov/models/components/authtoken.rb'
|
|
70
70
|
autoload :AuthTokenRequest, 'moov/models/components/authtokenrequest.rb'
|
|
71
|
-
autoload :AuthorizedUser, 'moov/models/components/authorizeduser.rb'
|
|
72
71
|
autoload :BankAccount, 'moov/models/components/bankaccount.rb'
|
|
73
72
|
autoload :BankAccountException, 'moov/models/components/bankaccountexception.rb'
|
|
74
73
|
autoload :BankAccountHolderType, 'moov/models/components/bankaccountholdertype.rb'
|
|
@@ -162,9 +161,6 @@ module Moov
|
|
|
162
161
|
autoload :CreateAccountSettings, 'moov/models/components/createaccountsettings.rb'
|
|
163
162
|
autoload :CreateAccountType, 'moov/models/components/createaccounttype.rb'
|
|
164
163
|
autoload :CreateApplePaySession, 'moov/models/components/createapplepaysession.rb'
|
|
165
|
-
autoload :CreateAuthorizedUser, 'moov/models/components/createauthorizeduser.rb'
|
|
166
|
-
autoload :CreateAuthorizedUserError, 'moov/models/components/createauthorizedusererror.rb'
|
|
167
|
-
autoload :CreateAuthorizedUserUpdate, 'moov/models/components/createauthorizeduserupdate.rb'
|
|
168
164
|
autoload :CreateBusinessError, 'moov/models/components/createbusinesserror.rb'
|
|
169
165
|
autoload :CreateBusinessErrorEin, 'moov/models/components/createbusinesserror_ein.rb'
|
|
170
166
|
autoload :CreateBusinessErrorIndustryCodes, 'moov/models/components/createbusinesserror_industrycodes.rb'
|
|
@@ -643,6 +639,7 @@ module Moov
|
|
|
643
639
|
autoload :WebhookDataAccountCreated, 'moov/models/components/webhookdataaccountcreated.rb'
|
|
644
640
|
autoload :WebhookDataAccountDisconnected, 'moov/models/components/webhookdataaccountdisconnected.rb'
|
|
645
641
|
autoload :WebhookDataAccountUpdated, 'moov/models/components/webhookdataaccountupdated.rb'
|
|
642
|
+
autoload :WebhookDataAuthorizationExpiring, 'moov/models/components/webhookdataauthorizationexpiring.rb'
|
|
646
643
|
autoload :WebhookDataBalanceUpdated, 'moov/models/components/webhookdatabalanceupdated.rb'
|
|
647
644
|
autoload :WebhookDataBankAccountCreated, 'moov/models/components/webhookdatabankaccountcreated.rb'
|
|
648
645
|
autoload :WebhookDataBankAccountDeleted, 'moov/models/components/webhookdatabankaccountdeleted.rb'
|
|
@@ -688,6 +685,7 @@ module Moov
|
|
|
688
685
|
autoload :AchPayment, 'moov/models/components/achpayment.rb'
|
|
689
686
|
autoload :AdjustmentFees, 'moov/models/components/adjustmentfees.rb'
|
|
690
687
|
autoload :AuthMethod, 'moov/models/components/authmethod.rb'
|
|
688
|
+
autoload :BillingAddress, 'moov/models/components/billingaddress.rb'
|
|
691
689
|
autoload :CardAcquiring, 'moov/models/components/cardacquiring.rb'
|
|
692
690
|
autoload :CardDetails, 'moov/models/components/carddetails.rb'
|
|
693
691
|
autoload :CardFundingSource, 'moov/models/components/cardfundingsource.rb'
|
|
@@ -13,13 +13,13 @@ module Moov
|
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
field :
|
|
16
|
+
field :authorized_user_account_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('authorizedUserAccountID') } }
|
|
17
17
|
|
|
18
|
-
field :
|
|
18
|
+
field :nickname, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('nickname') } }
|
|
19
19
|
|
|
20
|
-
field :
|
|
20
|
+
field :metadata, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('metadata') } }
|
|
21
21
|
|
|
22
|
-
field :
|
|
22
|
+
field :billing_address, Crystalline::Nilable.new(Models::Components::AddressError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('billingAddress') } }
|
|
23
23
|
|
|
24
24
|
field :expiration, Crystalline::Nilable.new(Models::Components::CardExpirationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiration') } }
|
|
25
25
|
|
|
@@ -27,12 +27,12 @@ module Moov
|
|
|
27
27
|
# Raw HTTP response; suitable for custom response parsing
|
|
28
28
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
29
29
|
|
|
30
|
-
sig { params(
|
|
31
|
-
def initialize(
|
|
32
|
-
@
|
|
33
|
-
@
|
|
34
|
-
@
|
|
35
|
-
@
|
|
30
|
+
sig { params(authorized_user_account_id: T.nilable(::String), nickname: T.nilable(::String), metadata: T.nilable(::String), billing_address: T.nilable(Models::Components::AddressError), expiration: T.nilable(Models::Components::CardExpirationError), controls: T.nilable(Models::Components::IssuingControlsError), raw_response: T.nilable(::Faraday::Response)).void }
|
|
31
|
+
def initialize(authorized_user_account_id: nil, nickname: nil, metadata: nil, billing_address: nil, expiration: nil, controls: nil, raw_response: nil)
|
|
32
|
+
@authorized_user_account_id = authorized_user_account_id
|
|
33
|
+
@nickname = nickname
|
|
34
|
+
@metadata = metadata
|
|
35
|
+
@billing_address = billing_address
|
|
36
36
|
@expiration = expiration
|
|
37
37
|
@controls = controls
|
|
38
38
|
@raw_response = raw_response
|
|
@@ -41,10 +41,10 @@ module Moov
|
|
|
41
41
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
42
42
|
def ==(other)
|
|
43
43
|
return false unless other.is_a? self.class
|
|
44
|
-
return false unless @
|
|
45
|
-
return false unless @
|
|
46
|
-
return false unless @
|
|
47
|
-
return false unless @
|
|
44
|
+
return false unless @authorized_user_account_id == other.authorized_user_account_id
|
|
45
|
+
return false unless @nickname == other.nickname
|
|
46
|
+
return false unless @metadata == other.metadata
|
|
47
|
+
return false unless @billing_address == other.billing_address
|
|
48
48
|
return false unless @expiration == other.expiration
|
|
49
49
|
return false unless @controls == other.controls
|
|
50
50
|
return false unless @raw_response == other.raw_response
|
|
@@ -8,14 +8,14 @@ end
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class Moov::Models::Errors::RequestCardError
|
|
11
|
-
def
|
|
12
|
-
def
|
|
13
|
-
def
|
|
14
|
-
def
|
|
15
|
-
def
|
|
16
|
-
def
|
|
17
|
-
def
|
|
18
|
-
def
|
|
11
|
+
def authorized_user_account_id(); end
|
|
12
|
+
def authorized_user_account_id=(str_); end
|
|
13
|
+
def nickname(); end
|
|
14
|
+
def nickname=(str_); end
|
|
15
|
+
def metadata(); end
|
|
16
|
+
def metadata=(str_); end
|
|
17
|
+
def billing_address(); end
|
|
18
|
+
def billing_address=(str_); end
|
|
19
19
|
def expiration(); end
|
|
20
20
|
def expiration=(str_); end
|
|
21
21
|
def controls(); end
|
|
@@ -15,17 +15,20 @@ module Moov
|
|
|
15
15
|
|
|
16
16
|
field :state, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('state') } }
|
|
17
17
|
|
|
18
|
-
field :
|
|
18
|
+
field :nickname, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('nickname') } }
|
|
19
19
|
|
|
20
|
-
field :
|
|
20
|
+
field :metadata, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('metadata') } }
|
|
21
|
+
|
|
22
|
+
field :billing_address, Crystalline::Nilable.new(Models::Components::AddressError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('billingAddress') } }
|
|
21
23
|
# Raw HTTP response; suitable for custom response parsing
|
|
22
24
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
23
25
|
|
|
24
|
-
sig { params(state: T.nilable(::String),
|
|
25
|
-
def initialize(state: 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)
|
|
26
28
|
@state = state
|
|
27
|
-
@
|
|
28
|
-
@
|
|
29
|
+
@nickname = nickname
|
|
30
|
+
@metadata = metadata
|
|
31
|
+
@billing_address = billing_address
|
|
29
32
|
@raw_response = raw_response
|
|
30
33
|
end
|
|
31
34
|
|
|
@@ -33,8 +36,9 @@ module Moov
|
|
|
33
36
|
def ==(other)
|
|
34
37
|
return false unless other.is_a? self.class
|
|
35
38
|
return false unless @state == other.state
|
|
36
|
-
return false unless @
|
|
37
|
-
return false unless @
|
|
39
|
+
return false unless @nickname == other.nickname
|
|
40
|
+
return false unless @metadata == other.metadata
|
|
41
|
+
return false unless @billing_address == other.billing_address
|
|
38
42
|
return false unless @raw_response == other.raw_response
|
|
39
43
|
true
|
|
40
44
|
end
|
|
@@ -10,10 +10,12 @@ end
|
|
|
10
10
|
class Moov::Models::Errors::UpdateIssuedCardError
|
|
11
11
|
def state(); end
|
|
12
12
|
def state=(str_); end
|
|
13
|
-
def
|
|
14
|
-
def
|
|
15
|
-
def
|
|
16
|
-
def
|
|
13
|
+
def nickname(); end
|
|
14
|
+
def nickname=(str_); end
|
|
15
|
+
def metadata(); end
|
|
16
|
+
def metadata=(str_); end
|
|
17
|
+
def billing_address(); end
|
|
18
|
+
def billing_address=(str_); end
|
|
17
19
|
def raw_response(); end
|
|
18
20
|
def raw_response=(str_); end
|
|
19
21
|
end
|
|
@@ -16,7 +16,13 @@ module Moov
|
|
|
16
16
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
17
|
# Moov account capabilities.
|
|
18
18
|
#
|
|
19
|
-
#
|
|
19
|
+
# **Deprecated capabilities**
|
|
20
|
+
#
|
|
21
|
+
# The `send-funds`, `collect-funds`, and `wallet` capability IDs are deprecated. Request granular capabilities instead (for example, `send-funds.ach`, `collect-funds.card-payments`, or `wallet.balance`). Deprecated values will be removed in a future API version.
|
|
22
|
+
#
|
|
23
|
+
# Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to choose the right capabilities for your integration.
|
|
24
|
+
#
|
|
25
|
+
# The `production-app`, `platform.production-app`, and / or `platform.wallet-transfers` capabilities might appear in the list for your Partner account. These are read-only capabilities that Moov requests. These capabilities remain active with your account and require no additional action.
|
|
20
26
|
field :capability_id, Models::Components::CapabilityID, { 'path_param': { 'field_name': 'capabilityID', 'style': 'simple', 'explode': false } }
|
|
21
27
|
|
|
22
28
|
sig { params(account_id: ::String, capability_id: Models::Components::CapabilityID).void }
|
|
@@ -16,7 +16,13 @@ module Moov
|
|
|
16
16
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
17
|
# Moov account capabilities.
|
|
18
18
|
#
|
|
19
|
-
#
|
|
19
|
+
# **Deprecated capabilities**
|
|
20
|
+
#
|
|
21
|
+
# The `send-funds`, `collect-funds`, and `wallet` capability IDs are deprecated. Request granular capabilities instead (for example, `send-funds.ach`, `collect-funds.card-payments`, or `wallet.balance`). Deprecated values will be removed in a future API version.
|
|
22
|
+
#
|
|
23
|
+
# Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to choose the right capabilities for your integration.
|
|
24
|
+
#
|
|
25
|
+
# The `production-app`, `platform.production-app`, and / or `platform.wallet-transfers` capabilities might appear in the list for your Partner account. These are read-only capabilities that Moov requests. These capabilities remain active with your account and require no additional action.
|
|
20
26
|
field :capability_id, Models::Components::CapabilityID, { 'path_param': { 'field_name': 'capabilityID', 'style': 'simple', 'explode': false } }
|
|
21
27
|
|
|
22
28
|
sig { params(account_id: ::String, capability_id: Models::Components::CapabilityID).void }
|
|
@@ -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 Operations
|
|
10
|
+
|
|
11
|
+
class ListCancellationsRequest
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# Moov account ID of the partner or transfer's source or destination.
|
|
16
|
+
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
|
+
# Identifier for the transfer.
|
|
18
|
+
field :transfer_id, ::String, { 'path_param': { 'field_name': 'transferID', 'style': 'simple', 'explode': false } }
|
|
19
|
+
|
|
20
|
+
sig { params(account_id: ::String, transfer_id: ::String).void }
|
|
21
|
+
def initialize(account_id:, transfer_id:)
|
|
22
|
+
@account_id = account_id
|
|
23
|
+
@transfer_id = transfer_id
|
|
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 @account_id == other.account_id
|
|
30
|
+
return false unless @transfer_id == other.transfer_id
|
|
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::Operations::ListCancellationsRequest
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::ListCancellationsRequest
|
|
11
|
+
def account_id(); end
|
|
12
|
+
def account_id=(str_); end
|
|
13
|
+
def transfer_id(); end
|
|
14
|
+
def transfer_id=(str_); end
|
|
15
|
+
end
|
|
@@ -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 Operations
|
|
10
|
+
|
|
11
|
+
class ListCancellationsResponse
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# HTTP response content type for this operation
|
|
16
|
+
field :content_type, ::String
|
|
17
|
+
# HTTP response status code for this operation
|
|
18
|
+
field :status_code, ::Integer
|
|
19
|
+
# Raw HTTP response; suitable for custom response parsing
|
|
20
|
+
field :raw_response, ::Faraday::Response
|
|
21
|
+
|
|
22
|
+
field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
|
|
23
|
+
# The request completed successfully.
|
|
24
|
+
field :cancellations, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::Cancellation))
|
|
25
|
+
|
|
26
|
+
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], cancellations: T.nilable(T::Array[Models::Components::Cancellation])).void }
|
|
27
|
+
def initialize(content_type:, status_code:, raw_response:, headers:, cancellations: nil)
|
|
28
|
+
@content_type = content_type
|
|
29
|
+
@status_code = status_code
|
|
30
|
+
@raw_response = raw_response
|
|
31
|
+
@headers = headers
|
|
32
|
+
@cancellations = cancellations
|
|
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 @content_type == other.content_type
|
|
39
|
+
return false unless @status_code == other.status_code
|
|
40
|
+
return false unless @raw_response == other.raw_response
|
|
41
|
+
return false unless @headers == other.headers
|
|
42
|
+
return false unless @cancellations == other.cancellations
|
|
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::Operations::ListCancellationsResponse
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::ListCancellationsResponse
|
|
11
|
+
def content_type(); end
|
|
12
|
+
def content_type=(str_); end
|
|
13
|
+
def status_code(); end
|
|
14
|
+
def status_code=(str_); end
|
|
15
|
+
def raw_response(); end
|
|
16
|
+
def raw_response=(str_); end
|
|
17
|
+
def headers(); end
|
|
18
|
+
def headers=(str_); end
|
|
19
|
+
def cancellations(); end
|
|
20
|
+
def cancellations=(str_); end
|
|
21
|
+
end
|
|
@@ -218,6 +218,8 @@ module Moov
|
|
|
218
218
|
autoload :ListAdjustmentsResponse, 'moov/models/operations/listadjustments_response.rb'
|
|
219
219
|
autoload :ListBankAccountsRequest, 'moov/models/operations/listbankaccounts_request.rb'
|
|
220
220
|
autoload :ListBankAccountsResponse, 'moov/models/operations/listbankaccounts_response.rb'
|
|
221
|
+
autoload :ListCancellationsRequest, 'moov/models/operations/listcancellations_request.rb'
|
|
222
|
+
autoload :ListCancellationsResponse, 'moov/models/operations/listcancellations_response.rb'
|
|
221
223
|
autoload :ListCapabilitiesRequest, 'moov/models/operations/listcapabilities_request.rb'
|
|
222
224
|
autoload :ListCapabilitiesResponse, 'moov/models/operations/listcapabilities_response.rb'
|
|
223
225
|
autoload :ListCardsRequest, 'moov/models/operations/listcards_request.rb'
|
data/lib/moov/onboarding.rb
CHANGED
|
@@ -70,7 +70,7 @@ module Moov
|
|
|
70
70
|
|
|
71
71
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
72
72
|
timeout ||= @sdk_configuration.timeout
|
|
73
|
-
|
|
73
|
+
|
|
74
74
|
|
|
75
75
|
connection = @sdk_configuration.client
|
|
76
76
|
|
|
@@ -85,7 +85,7 @@ module Moov
|
|
|
85
85
|
error = T.let(nil, T.nilable(StandardError))
|
|
86
86
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
|
|
89
89
|
begin
|
|
90
90
|
http_response = T.must(connection).post(url) do |req|
|
|
91
91
|
req.body = body
|
|
@@ -122,13 +122,13 @@ module Moov
|
|
|
122
122
|
response: http_response
|
|
123
123
|
)
|
|
124
124
|
end
|
|
125
|
-
|
|
125
|
+
|
|
126
126
|
if http_response.nil?
|
|
127
127
|
raise error if !error.nil?
|
|
128
128
|
raise 'no response'
|
|
129
129
|
end
|
|
130
130
|
end
|
|
131
|
-
|
|
131
|
+
|
|
132
132
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
133
133
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
134
134
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -215,7 +215,7 @@ module Moov
|
|
|
215
215
|
|
|
216
216
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
217
217
|
timeout ||= @sdk_configuration.timeout
|
|
218
|
-
|
|
218
|
+
|
|
219
219
|
|
|
220
220
|
connection = @sdk_configuration.client
|
|
221
221
|
|
|
@@ -230,7 +230,7 @@ module Moov
|
|
|
230
230
|
error = T.let(nil, T.nilable(StandardError))
|
|
231
231
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
232
232
|
|
|
233
|
-
|
|
233
|
+
|
|
234
234
|
begin
|
|
235
235
|
http_response = T.must(connection).get(url) do |req|
|
|
236
236
|
req.headers.merge!(headers)
|
|
@@ -266,13 +266,13 @@ module Moov
|
|
|
266
266
|
response: http_response
|
|
267
267
|
)
|
|
268
268
|
end
|
|
269
|
-
|
|
269
|
+
|
|
270
270
|
if http_response.nil?
|
|
271
271
|
raise error if !error.nil?
|
|
272
272
|
raise 'no response'
|
|
273
273
|
end
|
|
274
274
|
end
|
|
275
|
-
|
|
275
|
+
|
|
276
276
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
277
277
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
278
278
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -337,7 +337,7 @@ module Moov
|
|
|
337
337
|
|
|
338
338
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
339
339
|
timeout ||= @sdk_configuration.timeout
|
|
340
|
-
|
|
340
|
+
|
|
341
341
|
|
|
342
342
|
connection = @sdk_configuration.client
|
|
343
343
|
|
|
@@ -352,7 +352,7 @@ module Moov
|
|
|
352
352
|
error = T.let(nil, T.nilable(StandardError))
|
|
353
353
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
354
354
|
|
|
355
|
-
|
|
355
|
+
|
|
356
356
|
begin
|
|
357
357
|
http_response = T.must(connection).get(url) do |req|
|
|
358
358
|
req.headers.merge!(headers)
|
|
@@ -388,13 +388,13 @@ module Moov
|
|
|
388
388
|
response: http_response
|
|
389
389
|
)
|
|
390
390
|
end
|
|
391
|
-
|
|
391
|
+
|
|
392
392
|
if http_response.nil?
|
|
393
393
|
raise error if !error.nil?
|
|
394
394
|
raise 'no response'
|
|
395
395
|
end
|
|
396
396
|
end
|
|
397
|
-
|
|
397
|
+
|
|
398
398
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
399
399
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
400
400
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -459,7 +459,7 @@ module Moov
|
|
|
459
459
|
|
|
460
460
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
461
461
|
timeout ||= @sdk_configuration.timeout
|
|
462
|
-
|
|
462
|
+
|
|
463
463
|
|
|
464
464
|
connection = @sdk_configuration.client
|
|
465
465
|
|
|
@@ -474,7 +474,7 @@ module Moov
|
|
|
474
474
|
error = T.let(nil, T.nilable(StandardError))
|
|
475
475
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
476
476
|
|
|
477
|
-
|
|
477
|
+
|
|
478
478
|
begin
|
|
479
479
|
http_response = T.must(connection).delete(url) do |req|
|
|
480
480
|
req.headers.merge!(headers)
|
|
@@ -510,13 +510,13 @@ module Moov
|
|
|
510
510
|
response: http_response
|
|
511
511
|
)
|
|
512
512
|
end
|
|
513
|
-
|
|
513
|
+
|
|
514
514
|
if http_response.nil?
|
|
515
515
|
raise error if !error.nil?
|
|
516
516
|
raise 'no response'
|
|
517
517
|
end
|
|
518
518
|
end
|
|
519
|
-
|
|
519
|
+
|
|
520
520
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
521
521
|
if Utils.match_status_code(http_response.status, ['204'])
|
|
522
522
|
http_response = @sdk_configuration.hooks.after_success(
|