moov_ruby 25.8.12 → 25.8.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: 0305c0f5552cfef79d514422e2a364d959786fc08f3a824beba5ee017b4d1386
|
|
4
|
+
data.tar.gz: e59c223224fd6497b8127358ce64d9b7a9af7e36232b91c2f3308f242cd07424
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 37d475f7701a062ca0d26062b3a0b4ebb2e4bf3f4189740d5797c2cb8c24b7b03167a773663cd8827f75692c5565c7ea84ada54cc51adb88a7b88793c00146f9
|
|
7
|
+
data.tar.gz: 5a009056d462414297df97768723455ace165dabd983dccb22ce27bad844354011fce52d63c7861fc466115072c28b002a2c260f937d4e52a3260d67a0bbe647
|
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.
|
|
@@ -67,9 +67,11 @@ module Moov
|
|
|
67
67
|
# An optional collection of line items for a transfer.
|
|
68
68
|
# When line items are provided, their total plus tax must equal the transfer amount.
|
|
69
69
|
field :line_items, Crystalline::Nilable.new(Models::Components::TransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
|
|
70
|
+
# The card authorization and capture IDs associated with a transfer.
|
|
71
|
+
field :capture, Crystalline::Nilable.new(Models::Components::TransferCapture), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('capture') } }
|
|
70
72
|
|
|
71
|
-
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)).void }
|
|
72
|
-
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)
|
|
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), capture: T.nilable(Models::Components::TransferCapture)).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, capture: nil)
|
|
73
75
|
@transfer_id = transfer_id
|
|
74
76
|
@created_on = created_on
|
|
75
77
|
@source = source
|
|
@@ -97,6 +99,7 @@ module Moov
|
|
|
97
99
|
@sales_tax_amount = sales_tax_amount
|
|
98
100
|
@foreign_id = foreign_id
|
|
99
101
|
@line_items = line_items
|
|
102
|
+
@capture = capture
|
|
100
103
|
end
|
|
101
104
|
|
|
102
105
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -129,6 +132,7 @@ module Moov
|
|
|
129
132
|
return false unless @sales_tax_amount == other.sales_tax_amount
|
|
130
133
|
return false unless @foreign_id == other.foreign_id
|
|
131
134
|
return false unless @line_items == other.line_items
|
|
135
|
+
return false unless @capture == other.capture
|
|
132
136
|
true
|
|
133
137
|
end
|
|
134
138
|
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 }
|
|
@@ -69,9 +69,11 @@ module Moov
|
|
|
69
69
|
# An optional collection of line items for a transfer.
|
|
70
70
|
# When line items are provided, their total plus tax must equal the transfer amount.
|
|
71
71
|
field :line_items, Crystalline::Nilable.new(Models::Components::TransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
|
|
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: 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)).void }
|
|
74
|
-
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)
|
|
75
|
+
sig { params(transfer_id: ::String, created_on: ::DateTime, source: Models::Components::TransferSource, destination: Models::Components::TransferDestination, status: Models::Components::TransferStatus, amount: Models::Components::Amount, completed_on: T.nilable(::DateTime), failure_reason: T.nilable(Models::Components::TransferFailureReason), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), moov_fees: T.nilable(T::Array[Models::Components::MoovFee]), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), sales_tax_amount: T.nilable(Models::Components::Amount), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), capture: T.nilable(Models::Components::TransferCapture)).void }
|
|
76
|
+
def initialize(transfer_id:, created_on:, source:, destination:, status:, amount:, completed_on: nil, failure_reason: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, moov_fees: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, sales_tax_amount: nil, foreign_id: nil, line_items: 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
|
@sales_tax_amount = sales_tax_amount
|
|
101
103
|
@foreign_id = foreign_id
|
|
102
104
|
@line_items = line_items
|
|
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 @sales_tax_amount == other.sales_tax_amount
|
|
134
137
|
return false unless @foreign_id == other.foreign_id
|
|
135
138
|
return false unless @line_items == other.line_items
|
|
139
|
+
return false unless @capture == other.capture
|
|
136
140
|
true
|
|
137
141
|
end
|
|
138
142
|
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
|
|
@@ -503,6 +503,7 @@ module Moov
|
|
|
503
503
|
autoload :Transfer, 'moov/models/components/transfer.rb'
|
|
504
504
|
autoload :TransferACHAddendaRecord, 'moov/models/components/transferachaddendarecord.rb'
|
|
505
505
|
autoload :TransferAccount, 'moov/models/components/transferaccount.rb'
|
|
506
|
+
autoload :TransferCapture, 'moov/models/components/transfercapture.rb'
|
|
506
507
|
autoload :TransferDestination, 'moov/models/components/transferdestination.rb'
|
|
507
508
|
autoload :TransferEntryMode, 'moov/models/components/transferentrymode.rb'
|
|
508
509
|
autoload :TransferFailureReason, 'moov/models/components/transferfailurereason.rb'
|
|
@@ -69,11 +69,13 @@ module Moov
|
|
|
69
69
|
# An optional collection of line items for a transfer.
|
|
70
70
|
# When line items are provided, their total plus tax must equal the transfer amount.
|
|
71
71
|
field :line_items, Crystalline::Nilable.new(Models::Components::TransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
|
|
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
|
# Raw HTTP response; suitable for custom response parsing
|
|
73
75
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
74
76
|
|
|
75
|
-
sig { params(transfer_id: ::String, created_on: ::DateTime, source: Models::Components::TransferSource, destination: Models::Components::TransferDestination, status: Models::Components::TransferStatus, amount: Models::Components::Amount, completed_on: T.nilable(::DateTime), failure_reason: T.nilable(Models::Components::TransferFailureReason), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), moov_fees: T.nilable(T::Array[Models::Components::MoovFee]), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), sales_tax_amount: T.nilable(Models::Components::Amount), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), raw_response: T.nilable(::Faraday::Response)).void }
|
|
76
|
-
def initialize(transfer_id:, created_on:, source:, destination:, status:, amount:, completed_on: nil, failure_reason: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, moov_fees: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, sales_tax_amount: nil, foreign_id: nil, line_items: nil, raw_response: nil)
|
|
77
|
+
sig { params(transfer_id: ::String, created_on: ::DateTime, source: Models::Components::TransferSource, destination: Models::Components::TransferDestination, status: Models::Components::TransferStatus, amount: Models::Components::Amount, completed_on: T.nilable(::DateTime), failure_reason: T.nilable(Models::Components::TransferFailureReason), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), moov_fees: T.nilable(T::Array[Models::Components::MoovFee]), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), sales_tax_amount: T.nilable(Models::Components::Amount), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), capture: T.nilable(Models::Components::TransferCapture), raw_response: T.nilable(::Faraday::Response)).void }
|
|
78
|
+
def initialize(transfer_id:, created_on:, source:, destination:, status:, amount:, completed_on: nil, failure_reason: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, moov_fees: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, sales_tax_amount: nil, foreign_id: nil, line_items: nil, capture: nil, raw_response: nil)
|
|
77
79
|
@transfer_id = transfer_id
|
|
78
80
|
@created_on = created_on
|
|
79
81
|
@source = source
|
|
@@ -102,6 +104,7 @@ module Moov
|
|
|
102
104
|
@sales_tax_amount = sales_tax_amount
|
|
103
105
|
@foreign_id = foreign_id
|
|
104
106
|
@line_items = line_items
|
|
107
|
+
@capture = capture
|
|
105
108
|
@raw_response = raw_response
|
|
106
109
|
end
|
|
107
110
|
|
|
@@ -136,6 +139,7 @@ module Moov
|
|
|
136
139
|
return false unless @sales_tax_amount == other.sales_tax_amount
|
|
137
140
|
return false unless @foreign_id == other.foreign_id
|
|
138
141
|
return false unless @line_items == other.line_items
|
|
142
|
+
return false unless @capture == other.capture
|
|
139
143
|
return false unless @raw_response == other.raw_response
|
|
140
144
|
true
|
|
141
145
|
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 = 'v2025.07.00'
|
|
91
|
-
@sdk_version = '25.8.
|
|
91
|
+
@sdk_version = '25.8.13'
|
|
92
92
|
@gen_version = '2.924.0'
|
|
93
|
-
@user_agent = 'speakeasy-sdk/ruby 25.8.
|
|
93
|
+
@user_agent = 'speakeasy-sdk/ruby 25.8.13 2.924.0 v2025.07.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: 25.8.
|
|
4
|
+
version: 25.8.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
|
|
@@ -1288,6 +1288,8 @@ files:
|
|
|
1288
1288
|
- lib/moov/models/components/transferaccount.rbi
|
|
1289
1289
|
- lib/moov/models/components/transferachaddendarecord.rb
|
|
1290
1290
|
- lib/moov/models/components/transferachaddendarecord.rbi
|
|
1291
|
+
- lib/moov/models/components/transfercapture.rb
|
|
1292
|
+
- lib/moov/models/components/transfercapture.rbi
|
|
1291
1293
|
- lib/moov/models/components/transferdestination.rb
|
|
1292
1294
|
- lib/moov/models/components/transferdestination.rbi
|
|
1293
1295
|
- lib/moov/models/components/transferentrymode.rb
|