moov_ruby 26.4.12 → 26.4.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/moov/avatars.rb +1 -1
- data/lib/moov/enriched_address.rb +1 -1
- data/lib/moov/enriched_profile.rb +1 -1
- data/lib/moov/institutions.rb +1 -1
- data/lib/moov/models/components/createdtransfer.rb +6 -2
- data/lib/moov/models/components/createdtransfer.rbi +2 -0
- data/lib/moov/models/components/createrefund.rb +2 -2
- data/lib/moov/models/components/createreversal.rb +1 -1
- data/lib/moov/models/components/paymentmethodswallet.rb +1 -0
- data/lib/moov/models/components/transfer.rb +6 -2
- data/lib/moov/models/components/transfer.rbi +2 -0
- data/lib/moov/models/components/transfercapture.rb +36 -0
- data/lib/moov/models/components/transfercapture.rbi +15 -0
- data/lib/moov/models/components/transferpaymentmethodswallet.rb +1 -0
- data/lib/moov/models/components/wallet.rb +1 -0
- data/lib/moov/models/components/wallettype.rb +2 -0
- data/lib/moov/models/components/webhookdatatransferstatus.rb +3 -0
- data/lib/moov/models/components.rb +1 -0
- data/lib/moov/models/errors/transfer_error.rb +6 -2
- data/lib/moov/models/errors/transfer_error.rbi +2 -0
- data/lib/moov/models/operations/listtransfers_request.rb +10 -2
- data/lib/moov/models/operations/listtransfers_request.rbi +4 -0
- data/lib/moov/sdkconfiguration.rb +2 -2
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e5be73d2d9a5478e6b334e5a37a9d8005fba571d9f4aa3b1b81a57e9c4ebe66
|
|
4
|
+
data.tar.gz: 3df810cae1ace9a9eb55606786601aec6133bbb2b49fef9fa563afeea6f042b4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 73a817cdfd487f15bda738b3fd5c35b741518882fbed251b3e208d4387e14a6ffa51a670a922a6609ae8bb8eaa86aca498db73c6a94e4997a96bfa489943f6fc
|
|
7
|
+
data.tar.gz: 9cdd2a8f2c9487fcd45bb8b6c0b1564581d6aee92761468f4e7acdd17c08e63bad9246f90a369a4b8f69e0a394a332497feda57a2aaae7ec2bb495d5023981e0
|
data/lib/moov/avatars.rb
CHANGED
|
@@ -45,7 +45,7 @@ module Moov
|
|
|
45
45
|
def get(unique_id:, timeout_ms: nil, http_headers: nil)
|
|
46
46
|
# get - Get avatar image for an account using a unique ID.
|
|
47
47
|
#
|
|
48
|
-
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
48
|
+
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
49
49
|
# you'll need to specify the `/profile-enrichment.read` scope.
|
|
50
50
|
request = Models::Operations::GetAvatarRequest.new(
|
|
51
51
|
unique_id: unique_id
|
|
@@ -45,7 +45,7 @@ module Moov
|
|
|
45
45
|
def get(request:, timeout_ms: nil, http_headers: nil)
|
|
46
46
|
# get - Fetch enriched address suggestions. Requires a partial address.
|
|
47
47
|
#
|
|
48
|
-
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
48
|
+
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
49
49
|
# you'll need to specify the `/profile-enrichment.read` scope.
|
|
50
50
|
url, params = @sdk_configuration.get_server_details
|
|
51
51
|
base_url = Utils.template_url(url, params)
|
|
@@ -45,7 +45,7 @@ module Moov
|
|
|
45
45
|
def get(email:, timeout_ms: nil, http_headers: nil)
|
|
46
46
|
# get - Fetch enriched profile data. Requires a valid email address. This service is offered in collaboration with Clearbit.
|
|
47
47
|
#
|
|
48
|
-
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
48
|
+
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
49
49
|
# you'll need to specify the `/profile-enrichment.read` scope.
|
|
50
50
|
request = Models::Operations::GetEnrichmentProfileRequest.new(
|
|
51
51
|
email: email
|
data/lib/moov/institutions.rb
CHANGED
|
@@ -172,7 +172,7 @@ module Moov
|
|
|
172
172
|
#
|
|
173
173
|
# Search for institutions by either their name or routing number.
|
|
174
174
|
#
|
|
175
|
-
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
175
|
+
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
176
176
|
# you'll need to specify the `/fed.read` scope.
|
|
177
177
|
#
|
|
178
178
|
# @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
@@ -69,9 +69,11 @@ module Moov
|
|
|
69
69
|
field :line_items, Crystalline::Nilable.new(Models::Components::TransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
|
|
70
70
|
|
|
71
71
|
field :amount_details, Crystalline::Nilable.new(Models::Components::TransferAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
|
|
72
|
+
# The card authorization and capture IDs associated with a transfer.
|
|
73
|
+
field :capture, Crystalline::Nilable.new(Models::Components::TransferCapture), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('capture') } }
|
|
72
74
|
|
|
73
|
-
sig { params(transfer_id: ::String, created_on: ::DateTime, source: T.nilable(Models::Components::TransferSource), destination: T.nilable(Models::Components::TransferDestination), completed_on: T.nilable(::DateTime), status: T.nilable(Models::Components::TransferStatus), failure_reason: T.nilable(Models::Components::TransferFailureReason), amount: T.nilable(Models::Components::Amount), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), sales_tax_amount: T.nilable(Models::Components::Amount), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), amount_details: T.nilable(Models::Components::TransferAmountDetails)).void }
|
|
74
|
-
def initialize(transfer_id:, created_on:, source: nil, destination: nil, completed_on: nil, status: nil, failure_reason: nil, amount: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, sales_tax_amount: nil, foreign_id: nil, line_items: nil, amount_details: nil)
|
|
75
|
+
sig { params(transfer_id: ::String, created_on: ::DateTime, source: T.nilable(Models::Components::TransferSource), destination: T.nilable(Models::Components::TransferDestination), completed_on: T.nilable(::DateTime), status: T.nilable(Models::Components::TransferStatus), failure_reason: T.nilable(Models::Components::TransferFailureReason), amount: T.nilable(Models::Components::Amount), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), sales_tax_amount: T.nilable(Models::Components::Amount), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), amount_details: T.nilable(Models::Components::TransferAmountDetails), capture: T.nilable(Models::Components::TransferCapture)).void }
|
|
76
|
+
def initialize(transfer_id:, created_on:, source: nil, destination: nil, completed_on: nil, status: nil, failure_reason: nil, amount: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, sales_tax_amount: nil, foreign_id: nil, line_items: nil, amount_details: nil, capture: nil)
|
|
75
77
|
@transfer_id = transfer_id
|
|
76
78
|
@created_on = created_on
|
|
77
79
|
@source = source
|
|
@@ -100,6 +102,7 @@ module Moov
|
|
|
100
102
|
@foreign_id = foreign_id
|
|
101
103
|
@line_items = line_items
|
|
102
104
|
@amount_details = amount_details
|
|
105
|
+
@capture = capture
|
|
103
106
|
end
|
|
104
107
|
|
|
105
108
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -133,6 +136,7 @@ module Moov
|
|
|
133
136
|
return false unless @foreign_id == other.foreign_id
|
|
134
137
|
return false unless @line_items == other.line_items
|
|
135
138
|
return false unless @amount_details == other.amount_details
|
|
139
|
+
return false unless @capture == other.capture
|
|
136
140
|
true
|
|
137
141
|
end
|
|
138
142
|
end
|
|
@@ -9,12 +9,12 @@ module Moov
|
|
|
9
9
|
module Components
|
|
10
10
|
# Specifies a partial amount to refund.
|
|
11
11
|
#
|
|
12
|
-
#
|
|
12
|
+
# Before v2026.10, this request body may be omitted. In v2026.10 and later, send an empty object to refund the full amount of the original transfer.
|
|
13
13
|
class CreateRefund
|
|
14
14
|
extend T::Sig
|
|
15
15
|
include Crystalline::MetadataFields
|
|
16
16
|
|
|
17
|
-
# Amount to refund in cents. If
|
|
17
|
+
# Amount to refund. Before v2026.10, specify the amount in integer cents. If omitted, the original transfer's full amount will be refunded.
|
|
18
18
|
field :amount, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount') } }
|
|
19
19
|
|
|
20
20
|
sig { params(amount: T.nilable(::Integer)).void }
|
|
@@ -12,7 +12,7 @@ module Moov
|
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
|
-
# Amount to reverse in cents. Partial amounts
|
|
15
|
+
# Amount to reverse. Before v2026.10, specify the amount in integer cents. Partial amounts automatically trigger a refund instead of a cancellation.
|
|
16
16
|
field :amount, ::Integer, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount'), required: true } }
|
|
17
17
|
|
|
18
18
|
sig { params(amount: ::Integer).void }
|
|
@@ -19,6 +19,7 @@ module Moov
|
|
|
19
19
|
# Type of a wallet.
|
|
20
20
|
# - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
|
|
21
21
|
# - `general`: An additional, user-defined wallet created via API or Dashboard.
|
|
22
|
+
# - `card-issuing`: The system-generated wallet automatically created when an account is granted the card-issuing capability.
|
|
22
23
|
field :wallet_type, Models::Components::WalletType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('walletType'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::WalletType, false) } }
|
|
23
24
|
|
|
24
25
|
sig { params(wallet_id: ::String, partner_account_id: ::String, wallet_type: Models::Components::WalletType).void }
|
|
@@ -73,9 +73,11 @@ module Moov
|
|
|
73
73
|
field :invoice_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('invoiceID') } }
|
|
74
74
|
|
|
75
75
|
field :amount_details, Crystalline::Nilable.new(Models::Components::TransferAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
|
|
76
|
+
# The card authorization and capture IDs associated with a transfer.
|
|
77
|
+
field :capture, Crystalline::Nilable.new(Models::Components::TransferCapture), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('capture') } }
|
|
76
78
|
|
|
77
|
-
sig { params(transfer_id: ::String, created_on: ::DateTime, source: Models::Components::TransferSource, destination: Models::Components::TransferDestination, status: Models::Components::TransferStatus, amount: Models::Components::Amount, completed_on: T.nilable(::DateTime), failure_reason: T.nilable(Models::Components::TransferFailureReason), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), moov_fees: T.nilable(T::Array[Models::Components::MoovFee]), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), sales_tax_amount: T.nilable(Models::Components::Amount), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), invoice_id: T.nilable(::String), amount_details: T.nilable(Models::Components::TransferAmountDetails)).void }
|
|
78
|
-
def initialize(transfer_id:, created_on:, source:, destination:, status:, amount:, completed_on: nil, failure_reason: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, moov_fees: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, sales_tax_amount: nil, foreign_id: nil, line_items: nil, invoice_id: nil, amount_details: nil)
|
|
79
|
+
sig { params(transfer_id: ::String, created_on: ::DateTime, source: Models::Components::TransferSource, destination: Models::Components::TransferDestination, status: Models::Components::TransferStatus, amount: Models::Components::Amount, completed_on: T.nilable(::DateTime), failure_reason: T.nilable(Models::Components::TransferFailureReason), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), moov_fees: T.nilable(T::Array[Models::Components::MoovFee]), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), sales_tax_amount: T.nilable(Models::Components::Amount), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), invoice_id: T.nilable(::String), amount_details: T.nilable(Models::Components::TransferAmountDetails), capture: T.nilable(Models::Components::TransferCapture)).void }
|
|
80
|
+
def initialize(transfer_id:, created_on:, source:, destination:, status:, amount:, completed_on: nil, failure_reason: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, moov_fees: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, sales_tax_amount: nil, foreign_id: nil, line_items: nil, invoice_id: nil, amount_details: nil, capture: nil)
|
|
79
81
|
@transfer_id = transfer_id
|
|
80
82
|
@created_on = created_on
|
|
81
83
|
@source = source
|
|
@@ -106,6 +108,7 @@ module Moov
|
|
|
106
108
|
@line_items = line_items
|
|
107
109
|
@invoice_id = invoice_id
|
|
108
110
|
@amount_details = amount_details
|
|
111
|
+
@capture = capture
|
|
109
112
|
end
|
|
110
113
|
|
|
111
114
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -141,6 +144,7 @@ module Moov
|
|
|
141
144
|
return false unless @line_items == other.line_items
|
|
142
145
|
return false unless @invoice_id == other.invoice_id
|
|
143
146
|
return false unless @amount_details == other.amount_details
|
|
147
|
+
return false unless @capture == other.capture
|
|
144
148
|
true
|
|
145
149
|
end
|
|
146
150
|
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
|
+
# The card authorization and capture IDs associated with a transfer.
|
|
11
|
+
class TransferCapture
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# ID of the card authorization associated with this transfer.
|
|
16
|
+
field :authorization_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('authorizationID'), required: true } }
|
|
17
|
+
# ID of the card capture associated with this transfer.
|
|
18
|
+
field :capture_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('captureID'), required: true } }
|
|
19
|
+
|
|
20
|
+
sig { params(authorization_id: ::String, capture_id: ::String).void }
|
|
21
|
+
def initialize(authorization_id:, capture_id:)
|
|
22
|
+
@authorization_id = authorization_id
|
|
23
|
+
@capture_id = capture_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 @authorization_id == other.authorization_id
|
|
30
|
+
return false unless @capture_id == other.capture_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::Components::TransferCapture
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::TransferCapture
|
|
11
|
+
def authorization_id(); end
|
|
12
|
+
def authorization_id=(str_); end
|
|
13
|
+
def capture_id(); end
|
|
14
|
+
def capture_id=(str_); end
|
|
15
|
+
end
|
|
@@ -19,6 +19,7 @@ module Moov
|
|
|
19
19
|
# Type of a wallet.
|
|
20
20
|
# - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
|
|
21
21
|
# - `general`: An additional, user-defined wallet created via API or Dashboard.
|
|
22
|
+
# - `card-issuing`: The system-generated wallet automatically created when an account is granted the card-issuing capability.
|
|
22
23
|
field :wallet_type, Models::Components::WalletType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('walletType'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::WalletType, false) } }
|
|
23
24
|
|
|
24
25
|
sig { params(wallet_id: ::String, partner_account_id: ::String, wallet_type: Models::Components::WalletType).void }
|
|
@@ -27,6 +27,7 @@ module Moov
|
|
|
27
27
|
# Type of a wallet.
|
|
28
28
|
# - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
|
|
29
29
|
# - `general`: An additional, user-defined wallet created via API or Dashboard.
|
|
30
|
+
# - `card-issuing`: The system-generated wallet automatically created when an account is granted the card-issuing capability.
|
|
30
31
|
field :wallet_type, Models::Components::WalletType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('walletType'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::WalletType, false) } }
|
|
31
32
|
# Description of the wallet
|
|
32
33
|
field :description, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('description'), required: true } }
|
|
@@ -10,10 +10,12 @@ module Moov
|
|
|
10
10
|
# WalletType - Type of a wallet.
|
|
11
11
|
# - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
|
|
12
12
|
# - `general`: An additional, user-defined wallet created via API or Dashboard.
|
|
13
|
+
# - `card-issuing`: The system-generated wallet automatically created when an account is granted the card-issuing capability.
|
|
13
14
|
class WalletType < T::Enum
|
|
14
15
|
enums do
|
|
15
16
|
DEFAULT = new('default')
|
|
16
17
|
GENERAL = new('general')
|
|
18
|
+
CARD_ISSUING = new('card-issuing')
|
|
17
19
|
end
|
|
18
20
|
end
|
|
19
21
|
end
|
|
@@ -32,8 +32,11 @@ module Moov
|
|
|
32
32
|
DESTINATION_RETURNED = new('destination.returned')
|
|
33
33
|
DESTINATION_ORIGINATED = new('destination.originated')
|
|
34
34
|
DESTINATION_CONFIRMED = new('destination.confirmed')
|
|
35
|
+
DESTINATION_SETTLED = new('destination.settled')
|
|
35
36
|
DESTINATION_FAILED = new('destination.failed')
|
|
37
|
+
DESTINATION_CANCELED = new('destination.canceled')
|
|
36
38
|
DESTINATION_ACCEPTED_WITHOUT_POSTING = new('destination.accepted-without-posting')
|
|
39
|
+
DESTINATION_DEFERRED = new('destination.deferred')
|
|
37
40
|
end
|
|
38
41
|
end
|
|
39
42
|
end
|
|
@@ -577,6 +577,7 @@ module Moov
|
|
|
577
577
|
autoload :TransferACHAddendaRecord, 'moov/models/components/transferachaddendarecord.rb'
|
|
578
578
|
autoload :TransferAccount, 'moov/models/components/transferaccount.rb'
|
|
579
579
|
autoload :TransferAmountDetails, 'moov/models/components/transferamountdetails.rb'
|
|
580
|
+
autoload :TransferCapture, 'moov/models/components/transfercapture.rb'
|
|
580
581
|
autoload :TransferConfig, 'moov/models/components/transferconfig.rb'
|
|
581
582
|
autoload :TransferControls, 'moov/models/components/transfercontrols.rb'
|
|
582
583
|
autoload :TransferDestination, 'moov/models/components/transferdestination.rb'
|
|
@@ -73,11 +73,13 @@ module Moov
|
|
|
73
73
|
field :invoice_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('invoiceID') } }
|
|
74
74
|
|
|
75
75
|
field :amount_details, Crystalline::Nilable.new(Models::Components::TransferAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
|
|
76
|
+
# The card authorization and capture IDs associated with a transfer.
|
|
77
|
+
field :capture, Crystalline::Nilable.new(Models::Components::TransferCapture), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('capture') } }
|
|
76
78
|
# Raw HTTP response; suitable for custom response parsing
|
|
77
79
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
78
80
|
|
|
79
|
-
sig { params(transfer_id: ::String, created_on: ::DateTime, source: Models::Components::TransferSource, destination: Models::Components::TransferDestination, status: Models::Components::TransferStatus, amount: Models::Components::Amount, completed_on: T.nilable(::DateTime), failure_reason: T.nilable(Models::Components::TransferFailureReason), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), moov_fees: T.nilable(T::Array[Models::Components::MoovFee]), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), sales_tax_amount: T.nilable(Models::Components::Amount), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), invoice_id: T.nilable(::String), amount_details: T.nilable(Models::Components::TransferAmountDetails), raw_response: T.nilable(::Faraday::Response)).void }
|
|
80
|
-
def initialize(transfer_id:, created_on:, source:, destination:, status:, amount:, completed_on: nil, failure_reason: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, moov_fees: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, sales_tax_amount: nil, foreign_id: nil, line_items: nil, invoice_id: nil, amount_details: nil, raw_response: nil)
|
|
81
|
+
sig { params(transfer_id: ::String, created_on: ::DateTime, source: Models::Components::TransferSource, destination: Models::Components::TransferDestination, status: Models::Components::TransferStatus, amount: Models::Components::Amount, completed_on: T.nilable(::DateTime), failure_reason: T.nilable(Models::Components::TransferFailureReason), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), moov_fees: T.nilable(T::Array[Models::Components::MoovFee]), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), sales_tax_amount: T.nilable(Models::Components::Amount), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), invoice_id: T.nilable(::String), amount_details: T.nilable(Models::Components::TransferAmountDetails), capture: T.nilable(Models::Components::TransferCapture), raw_response: T.nilable(::Faraday::Response)).void }
|
|
82
|
+
def initialize(transfer_id:, created_on:, source:, destination:, status:, amount:, completed_on: nil, failure_reason: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, moov_fees: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, sales_tax_amount: nil, foreign_id: nil, line_items: nil, invoice_id: nil, amount_details: nil, capture: nil, raw_response: nil)
|
|
81
83
|
@transfer_id = transfer_id
|
|
82
84
|
@created_on = created_on
|
|
83
85
|
@source = source
|
|
@@ -108,6 +110,7 @@ module Moov
|
|
|
108
110
|
@line_items = line_items
|
|
109
111
|
@invoice_id = invoice_id
|
|
110
112
|
@amount_details = amount_details
|
|
113
|
+
@capture = capture
|
|
111
114
|
@raw_response = raw_response
|
|
112
115
|
end
|
|
113
116
|
|
|
@@ -144,6 +147,7 @@ module Moov
|
|
|
144
147
|
return false unless @line_items == other.line_items
|
|
145
148
|
return false unless @invoice_id == other.invoice_id
|
|
146
149
|
return false unless @amount_details == other.amount_details
|
|
150
|
+
return false unless @capture == other.capture
|
|
147
151
|
return false unless @raw_response == other.raw_response
|
|
148
152
|
true
|
|
149
153
|
end
|
|
@@ -34,13 +34,17 @@ module Moov
|
|
|
34
34
|
field :disputed, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'query_param': { 'field_name': 'disputed', 'style': 'form', 'explode': false } }
|
|
35
35
|
# Optional alias from a foreign/external system which can be used to reference this resource.
|
|
36
36
|
field :foreign_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'foreignID', 'style': 'form', 'explode': false } }
|
|
37
|
+
# Optional comma-separated IDs to filter for transfers associated with specific card authorizations.
|
|
38
|
+
field :authorization_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'authorizationIDs', 'style': 'form', 'explode': false } }
|
|
39
|
+
# Optional comma-separated IDs to filter for transfers associated with specific card captures.
|
|
40
|
+
field :capture_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'captureIDs', 'style': 'form', 'explode': false } }
|
|
37
41
|
|
|
38
42
|
field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
|
|
39
43
|
|
|
40
44
|
field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
|
|
41
45
|
|
|
42
|
-
sig { params(account_id: ::String, account_i_ds: T.nilable(T::Array[::String]), status: T.nilable(Models::Components::TransferStatus), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), group_id: T.nilable(::String), schedule_id: T.nilable(::String), payment_link_code: T.nilable(::String), refunded: T.nilable(T::Boolean), disputed: T.nilable(T::Boolean), foreign_id: T.nilable(::String), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
|
|
43
|
-
def initialize(account_id:, account_i_ds: nil, status: nil, start_date_time: nil, end_date_time: nil, group_id: nil, schedule_id: nil, payment_link_code: nil, refunded: nil, disputed: nil, foreign_id: nil, skip: nil, count: nil)
|
|
46
|
+
sig { params(account_id: ::String, account_i_ds: T.nilable(T::Array[::String]), status: T.nilable(Models::Components::TransferStatus), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), group_id: T.nilable(::String), schedule_id: T.nilable(::String), payment_link_code: T.nilable(::String), refunded: T.nilable(T::Boolean), disputed: T.nilable(T::Boolean), foreign_id: T.nilable(::String), authorization_i_ds: T.nilable(T::Array[::String]), capture_i_ds: T.nilable(T::Array[::String]), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
|
|
47
|
+
def initialize(account_id:, account_i_ds: nil, status: nil, start_date_time: nil, end_date_time: nil, group_id: nil, schedule_id: nil, payment_link_code: nil, refunded: nil, disputed: nil, foreign_id: nil, authorization_i_ds: nil, capture_i_ds: nil, skip: nil, count: nil)
|
|
44
48
|
@account_id = account_id
|
|
45
49
|
@account_i_ds = account_i_ds
|
|
46
50
|
@status = status
|
|
@@ -52,6 +56,8 @@ module Moov
|
|
|
52
56
|
@refunded = refunded
|
|
53
57
|
@disputed = disputed
|
|
54
58
|
@foreign_id = foreign_id
|
|
59
|
+
@authorization_i_ds = authorization_i_ds
|
|
60
|
+
@capture_i_ds = capture_i_ds
|
|
55
61
|
@skip = skip
|
|
56
62
|
@count = count
|
|
57
63
|
end
|
|
@@ -70,6 +76,8 @@ module Moov
|
|
|
70
76
|
return false unless @refunded == other.refunded
|
|
71
77
|
return false unless @disputed == other.disputed
|
|
72
78
|
return false unless @foreign_id == other.foreign_id
|
|
79
|
+
return false unless @authorization_i_ds == other.authorization_i_ds
|
|
80
|
+
return false unless @capture_i_ds == other.capture_i_ds
|
|
73
81
|
return false unless @skip == other.skip
|
|
74
82
|
return false unless @count == other.count
|
|
75
83
|
true
|
|
@@ -30,6 +30,10 @@ class Moov::Models::Operations::ListTransfersRequest
|
|
|
30
30
|
def disputed=(str_); end
|
|
31
31
|
def foreign_id(); end
|
|
32
32
|
def foreign_id=(str_); end
|
|
33
|
+
def authorization_i_ds(); end
|
|
34
|
+
def authorization_i_ds=(str_); end
|
|
35
|
+
def capture_i_ds(); end
|
|
36
|
+
def capture_i_ds=(str_); end
|
|
33
37
|
def skip(); end
|
|
34
38
|
def skip=(str_); end
|
|
35
39
|
def count(); end
|
|
@@ -88,9 +88,9 @@ module Moov
|
|
|
88
88
|
end
|
|
89
89
|
@language = 'ruby'
|
|
90
90
|
@openapi_doc_version = 'v2026.04.00'
|
|
91
|
-
@sdk_version = '26.4.
|
|
91
|
+
@sdk_version = '26.4.13'
|
|
92
92
|
@gen_version = '2.924.0'
|
|
93
|
-
@user_agent = 'speakeasy-sdk/ruby 26.4.
|
|
93
|
+
@user_agent = 'speakeasy-sdk/ruby 26.4.13 2.924.0 v2026.04.00 moov_ruby'
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: moov_ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 26.4.
|
|
4
|
+
version: 26.4.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Speakeasy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-07-
|
|
11
|
+
date: 2026-07-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|
|
@@ -1444,6 +1444,8 @@ files:
|
|
|
1444
1444
|
- lib/moov/models/components/transferachaddendarecord.rbi
|
|
1445
1445
|
- lib/moov/models/components/transferamountdetails.rb
|
|
1446
1446
|
- lib/moov/models/components/transferamountdetails.rbi
|
|
1447
|
+
- lib/moov/models/components/transfercapture.rb
|
|
1448
|
+
- lib/moov/models/components/transfercapture.rbi
|
|
1447
1449
|
- lib/moov/models/components/transferconfig.rb
|
|
1448
1450
|
- lib/moov/models/components/transferconfig.rbi
|
|
1449
1451
|
- lib/moov/models/components/transfercontrols.rb
|