moov_ruby 25.2.17 → 25.2.20
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/models/components/authtokenrequest.rb +6 -2
- data/lib/moov/models/components/authtokenrequest.rbi +2 -0
- data/lib/moov/models/components/issuedcardauthorization.rb +7 -2
- data/lib/moov/models/components/issuedcardauthorization.rbi +2 -0
- data/lib/moov/models/components/issuedcardauthorizationevent.rb +7 -2
- data/lib/moov/models/components/issuedcardauthorizationevent.rbi +2 -0
- data/lib/moov/models/components/issuingdeclinereason.rb +35 -0
- data/lib/moov/models/components/issuingdeclinereason.rbi +11 -0
- data/lib/moov/models/components/oauth2clienttype.rb +23 -0
- data/lib/moov/models/components/oauth2clienttype.rbi +11 -0
- data/lib/moov/models/components/webhookdatatransferstatus.rb +1 -0
- data/lib/moov/models/components.rb +2 -0
- data/lib/moov/models/operations/createcancellation_request.rb +7 -2
- data/lib/moov/models/operations/createcancellation_request.rbi +2 -0
- data/lib/moov/models/operations/initiaterefund_request.rb +1 -1
- data/lib/moov/models/operations/listtransfers_request.rb +6 -2
- data/lib/moov/models/operations/listtransfers_request.rbi +2 -0
- data/lib/moov/sdkconfiguration.rb +3 -3
- data/lib/moov/transfers.rb +6 -4
- metadata +6 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2cced36c0c9f501ce7b4ea0d45a06e7198a95775c18fab17785b8477a1e00108
|
|
4
|
+
data.tar.gz: fc2cfcc933b1a144053abb751414181b41455e896ffa153c8190048bef0b2e10
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 06143f147f065f23a9244171727255e12b6a56ed7b7083578f50c2232ca0ea7d4906f47a4bea3a62d24a6ee3d0f2bd5c97d3a56b0b5e25fd71458bf37be5f381
|
|
7
|
+
data.tar.gz: ebc094d404ce8a0ee2bf0670241b23b16fcaad669b4343bff43fb098b2be4eeb1e4cf1c92181d50d77496ba953c0dc187cd11e71510d183aed490a7661f22bd0
|
|
@@ -25,14 +25,17 @@ module Moov
|
|
|
25
25
|
field :scope, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('scope') }, 'form': { 'field_name': 'scope' } }
|
|
26
26
|
# The refresh_token returned alongside the access token being refreshed. Required when `grant_type` is `refresh_token`.
|
|
27
27
|
field :refresh_token, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('refresh_token') }, 'form': { 'field_name': 'refresh_token' } }
|
|
28
|
+
# The client type requesting a token. `device` and `service` clients do not require browser origin binding. Defaults to `web` when omitted. This field applies to the `client_credentials` grant; refreshed tokens keep the original client type.
|
|
29
|
+
field :client_type, Crystalline::Nilable.new(Models::Components::OAuth2ClientType), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('client_type'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::OAuth2ClientType, true) }, 'form': { 'field_name': 'client_type' } }
|
|
28
30
|
|
|
29
|
-
sig { params(grant_type: Models::Components::GrantType, client_id: T.nilable(::String), client_secret: T.nilable(::String), scope: T.nilable(::String), refresh_token: T.nilable(::String)).void }
|
|
30
|
-
def initialize(grant_type:, client_id: nil, client_secret: nil, scope: nil, refresh_token: nil)
|
|
31
|
+
sig { params(grant_type: Models::Components::GrantType, client_id: T.nilable(::String), client_secret: T.nilable(::String), scope: T.nilable(::String), refresh_token: T.nilable(::String), client_type: T.nilable(Models::Components::OAuth2ClientType)).void }
|
|
32
|
+
def initialize(grant_type:, client_id: nil, client_secret: nil, scope: nil, refresh_token: nil, client_type: nil)
|
|
31
33
|
@grant_type = grant_type
|
|
32
34
|
@client_id = client_id
|
|
33
35
|
@client_secret = client_secret
|
|
34
36
|
@scope = scope
|
|
35
37
|
@refresh_token = refresh_token
|
|
38
|
+
@client_type = client_type
|
|
36
39
|
end
|
|
37
40
|
|
|
38
41
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -43,6 +46,7 @@ module Moov
|
|
|
43
46
|
return false unless @client_secret == other.client_secret
|
|
44
47
|
return false unless @scope == other.scope
|
|
45
48
|
return false unless @refresh_token == other.refresh_token
|
|
49
|
+
return false unless @client_type == other.client_type
|
|
46
50
|
true
|
|
47
51
|
end
|
|
48
52
|
end
|
|
@@ -32,9 +32,12 @@ module Moov
|
|
|
32
32
|
field :last_four_card_number, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lastFourCardNumber') } }
|
|
33
33
|
# List of card transaction IDs associated with this authorization.
|
|
34
34
|
field :card_transactions, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cardTransactions') } }
|
|
35
|
+
# The reason an authorization or authorization event was declined. Only present if the
|
|
36
|
+
# authorization or event has been declined.
|
|
37
|
+
field :decline_reason, Crystalline::Nilable.new(Models::Components::IssuingDeclineReason), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('declineReason'), 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::IssuingDeclineReason, true) } }
|
|
35
38
|
|
|
36
|
-
sig { params(authorization_id: ::String, issued_card_id: ::String, funding_wallet_id: ::String, network: Models::Components::CardIssuingNetwork, authorized_amount: ::String, status: Models::Components::IssuingAuthorizationStatus, merchant_data: Models::Components::IssuingMerchantData, created_on: ::DateTime, last_four_card_number: T.nilable(::String), card_transactions: T.nilable(T::Array[::String])).void }
|
|
37
|
-
def initialize(authorization_id:, issued_card_id:, funding_wallet_id:, network:, authorized_amount:, status:, merchant_data:, created_on:, last_four_card_number: nil, card_transactions: nil)
|
|
39
|
+
sig { params(authorization_id: ::String, issued_card_id: ::String, funding_wallet_id: ::String, network: Models::Components::CardIssuingNetwork, authorized_amount: ::String, status: Models::Components::IssuingAuthorizationStatus, merchant_data: Models::Components::IssuingMerchantData, created_on: ::DateTime, last_four_card_number: T.nilable(::String), card_transactions: T.nilable(T::Array[::String]), decline_reason: T.nilable(Models::Components::IssuingDeclineReason)).void }
|
|
40
|
+
def initialize(authorization_id:, issued_card_id:, funding_wallet_id:, network:, authorized_amount:, status:, merchant_data:, created_on:, last_four_card_number: nil, card_transactions: nil, decline_reason: nil)
|
|
38
41
|
@authorization_id = authorization_id
|
|
39
42
|
@issued_card_id = issued_card_id
|
|
40
43
|
@funding_wallet_id = funding_wallet_id
|
|
@@ -45,6 +48,7 @@ module Moov
|
|
|
45
48
|
@created_on = created_on
|
|
46
49
|
@last_four_card_number = last_four_card_number
|
|
47
50
|
@card_transactions = card_transactions
|
|
51
|
+
@decline_reason = decline_reason
|
|
48
52
|
end
|
|
49
53
|
|
|
50
54
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -60,6 +64,7 @@ module Moov
|
|
|
60
64
|
return false unless @created_on == other.created_on
|
|
61
65
|
return false unless @last_four_card_number == other.last_four_card_number
|
|
62
66
|
return false unless @card_transactions == other.card_transactions
|
|
67
|
+
return false unless @decline_reason == other.decline_reason
|
|
63
68
|
true
|
|
64
69
|
end
|
|
65
70
|
end
|
|
@@ -22,14 +22,18 @@ module Moov
|
|
|
22
22
|
field :result, Models::Components::IssuedCardAuthorizationEventResult, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('result'), required: true, 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::IssuedCardAuthorizationEventResult, false) } }
|
|
23
23
|
|
|
24
24
|
field :created_on, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('createdOn'), required: true, 'decoder': ::Moov::Utils.datetime_from_iso_format(false) } }
|
|
25
|
+
# The reason an authorization or authorization event was declined. Only present if the
|
|
26
|
+
# authorization or event has been declined.
|
|
27
|
+
field :decline_reason, Crystalline::Nilable.new(Models::Components::IssuingDeclineReason), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('declineReason'), 'decoder': ::Moov::Utils.open_enum_from_string(Models::Components::IssuingDeclineReason, true) } }
|
|
25
28
|
|
|
26
|
-
sig { params(event_id: ::String, event_type: Models::Components::IssuedCardEventType, amount: ::String, result: Models::Components::IssuedCardAuthorizationEventResult, created_on: ::DateTime).void }
|
|
27
|
-
def initialize(event_id:, event_type:, amount:, result:, created_on:)
|
|
29
|
+
sig { params(event_id: ::String, event_type: Models::Components::IssuedCardEventType, amount: ::String, result: Models::Components::IssuedCardAuthorizationEventResult, created_on: ::DateTime, decline_reason: T.nilable(Models::Components::IssuingDeclineReason)).void }
|
|
30
|
+
def initialize(event_id:, event_type:, amount:, result:, created_on:, decline_reason: nil)
|
|
28
31
|
@event_id = event_id
|
|
29
32
|
@event_type = event_type
|
|
30
33
|
@amount = amount
|
|
31
34
|
@result = result
|
|
32
35
|
@created_on = created_on
|
|
36
|
+
@decline_reason = decline_reason
|
|
33
37
|
end
|
|
34
38
|
|
|
35
39
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -40,6 +44,7 @@ module Moov
|
|
|
40
44
|
return false unless @amount == other.amount
|
|
41
45
|
return false unless @result == other.result
|
|
42
46
|
return false unless @created_on == other.created_on
|
|
47
|
+
return false unless @decline_reason == other.decline_reason
|
|
43
48
|
true
|
|
44
49
|
end
|
|
45
50
|
end
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
# IssuingDeclineReason - The reason an authorization or authorization event was declined. Only present if the
|
|
11
|
+
# authorization or event has been declined.
|
|
12
|
+
class IssuingDeclineReason
|
|
13
|
+
include ::Crystalline::Enum
|
|
14
|
+
enums do
|
|
15
|
+
INSUFFICIENT_FUNDS = new('insufficient-funds')
|
|
16
|
+
CARD_NOT_ACTIVE = new('card-not-active')
|
|
17
|
+
CARD_EXPIRATION = new('card-expiration')
|
|
18
|
+
SPEND_CUTOFF_REACHED = new('spend-cutoff-reached')
|
|
19
|
+
OUTSIDE_ALLOWED_SCHEDULE = new('outside-allowed-schedule')
|
|
20
|
+
SPEND_LIMIT_EXCEEDED = new('spend-limit-exceeded')
|
|
21
|
+
MERCHANT_CATEGORY_NOT_SUPPORTED = new('merchant-category-not-supported')
|
|
22
|
+
MERCHANT_CATEGORY_RESTRICTED = new('merchant-category-restricted')
|
|
23
|
+
MERCHANT_RESTRICTED = new('merchant-restricted')
|
|
24
|
+
MERCHANT_COUNTRY_NOT_SUPPORTED = new('merchant-country-not-supported')
|
|
25
|
+
UNSUPPORTED_TRANSACTION = new('unsupported-transaction')
|
|
26
|
+
NETWORK_STAND_IN = new('network-stand-in')
|
|
27
|
+
DECLINED_BY_ISSUER = new('declined-by-issuer')
|
|
28
|
+
INVALID_REQUEST = new('invalid-request')
|
|
29
|
+
SYSTEM_ERROR = new('system-error')
|
|
30
|
+
end
|
|
31
|
+
open!
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
# OAuth2ClientType - The type of client requesting an OAuth2 token. Short codes are accepted as aliases for the corresponding client types.
|
|
11
|
+
class OAuth2ClientType < T::Enum
|
|
12
|
+
enums do
|
|
13
|
+
WEB = new('web')
|
|
14
|
+
DEVICE = new('device')
|
|
15
|
+
SERVICE = new('service')
|
|
16
|
+
W = new('w')
|
|
17
|
+
D = new('d')
|
|
18
|
+
S = new('s')
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -26,6 +26,7 @@ module Moov
|
|
|
26
26
|
SOURCE_SETTLED = new('source.settled')
|
|
27
27
|
SOURCE_FAILED = new('source.failed')
|
|
28
28
|
SOURCE_CANCELED = new('source.canceled')
|
|
29
|
+
SOURCE_CLEARED_EXTERNALLY = new('source.cleared-externally')
|
|
29
30
|
DESTINATION_COMPLETED = new('destination.completed')
|
|
30
31
|
DESTINATION_CORRECTED = new('destination.corrected')
|
|
31
32
|
DESTINATION_INITIATED = new('destination.initiated')
|
|
@@ -285,6 +285,7 @@ module Moov
|
|
|
285
285
|
autoload :IssuingAuthorizationStatus, 'moov/models/components/issuingauthorizationstatus.rb'
|
|
286
286
|
autoload :IssuingControls, 'moov/models/components/issuingcontrols.rb'
|
|
287
287
|
autoload :IssuingControlsError, 'moov/models/components/issuingcontrolserror.rb'
|
|
288
|
+
autoload :IssuingDeclineReason, 'moov/models/components/issuingdeclinereason.rb'
|
|
288
289
|
autoload :IssuingIntervalLimit, 'moov/models/components/issuingintervallimit.rb'
|
|
289
290
|
autoload :IssuingMerchantData, 'moov/models/components/issuingmerchantdata.rb'
|
|
290
291
|
autoload :IssuingVelocityLimit, 'moov/models/components/issuingvelocitylimit.rb'
|
|
@@ -314,6 +315,7 @@ module Moov
|
|
|
314
315
|
autoload :MoovWalletTransferPaymentMethod, 'moov/models/components/moovwallettransferpaymentmethod.rb'
|
|
315
316
|
autoload :MoovWalletTransferPaymentMethodPaymentMethodType, 'moov/models/components/moovwallettransferpaymentmethod_paymentmethodtype.rb'
|
|
316
317
|
autoload :MxPayload, 'moov/models/components/mxpayload.rb'
|
|
318
|
+
autoload :OAuth2ClientType, 'moov/models/components/oauth2clienttype.rb'
|
|
317
319
|
autoload :Occurrence, 'moov/models/components/occurrence.rb'
|
|
318
320
|
autoload :OccurrenceStatus, 'moov/models/components/occurrencestatus.rb'
|
|
319
321
|
autoload :OccurrencesResponse, 'moov/models/components/occurrencesresponse.rb'
|
|
@@ -16,11 +16,15 @@ module Moov
|
|
|
16
16
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
17
|
# The transfer ID to cancel.
|
|
18
18
|
field :transfer_id, ::String, { 'path_param': { 'field_name': 'transferID', 'style': 'simple', 'explode': false } }
|
|
19
|
+
# Prevents duplicate cancellations from being created.
|
|
20
|
+
# In v2026.10 and later, this header is required, and reusing a key returns a `409` response with the original cancellation.
|
|
21
|
+
field :x_idempotency_key, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'x-idempotency-key', 'style': 'simple', 'explode': false } }
|
|
19
22
|
|
|
20
|
-
sig { params(account_id: ::String, transfer_id: ::String).void }
|
|
21
|
-
def initialize(account_id:, transfer_id:)
|
|
23
|
+
sig { params(account_id: ::String, transfer_id: ::String, x_idempotency_key: T.nilable(::String)).void }
|
|
24
|
+
def initialize(account_id:, transfer_id:, x_idempotency_key: nil)
|
|
22
25
|
@account_id = account_id
|
|
23
26
|
@transfer_id = transfer_id
|
|
27
|
+
@x_idempotency_key = x_idempotency_key
|
|
24
28
|
end
|
|
25
29
|
|
|
26
30
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -28,6 +32,7 @@ module Moov
|
|
|
28
32
|
return false unless other.is_a? self.class
|
|
29
33
|
return false unless @account_id == other.account_id
|
|
30
34
|
return false unless @transfer_id == other.transfer_id
|
|
35
|
+
return false unless @x_idempotency_key == other.x_idempotency_key
|
|
31
36
|
true
|
|
32
37
|
end
|
|
33
38
|
end
|
|
@@ -14,7 +14,7 @@ module Moov
|
|
|
14
14
|
|
|
15
15
|
# Prevents duplicate refunds from being created.
|
|
16
16
|
field :x_idempotency_key, ::String, { 'header': { 'field_name': 'x-idempotency-key', 'style': 'simple', 'explode': false } }
|
|
17
|
-
#
|
|
17
|
+
# Moov account ID of the partner for the transfer.
|
|
18
18
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
19
19
|
# Identifier for the transfer.
|
|
20
20
|
field :transfer_id, ::String, { 'path_param': { 'field_name': 'transferID', 'style': 'simple', 'explode': false } }
|
|
@@ -36,6 +36,8 @@ module Moov
|
|
|
36
36
|
field :foreign_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'foreignID', 'style': 'form', 'explode': false } }
|
|
37
37
|
# Optional comma-separated authorization IDs.
|
|
38
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 invoice IDs.
|
|
40
|
+
field :invoice_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'invoiceIDs', 'style': 'form', 'explode': false } }
|
|
39
41
|
# Optional comma-separated IDs to filter for transfers associated with specific card captures.
|
|
40
42
|
field :capture_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'captureIDs', 'style': 'form', 'explode': false } }
|
|
41
43
|
|
|
@@ -43,8 +45,8 @@ module Moov
|
|
|
43
45
|
# Page size. When omitted, the server defaults to `200`.
|
|
44
46
|
field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
|
|
45
47
|
|
|
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)
|
|
48
|
+
sig { params(account_id: ::String, account_i_ds: T.nilable(T::Array[::String]), status: T.nilable(Models::Components::TransferStatus), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), group_id: T.nilable(::String), schedule_id: T.nilable(::String), payment_link_code: T.nilable(::String), refunded: T.nilable(T::Boolean), disputed: T.nilable(T::Boolean), foreign_id: T.nilable(::String), authorization_i_ds: T.nilable(T::Array[::String]), invoice_i_ds: T.nilable(T::Array[::String]), capture_i_ds: T.nilable(T::Array[::String]), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
|
|
49
|
+
def initialize(account_id:, account_i_ds: nil, status: nil, start_date_time: nil, end_date_time: nil, group_id: nil, schedule_id: nil, payment_link_code: nil, refunded: nil, disputed: nil, foreign_id: nil, authorization_i_ds: nil, invoice_i_ds: nil, capture_i_ds: nil, skip: nil, count: nil)
|
|
48
50
|
@account_id = account_id
|
|
49
51
|
@account_i_ds = account_i_ds
|
|
50
52
|
@status = status
|
|
@@ -57,6 +59,7 @@ module Moov
|
|
|
57
59
|
@disputed = disputed
|
|
58
60
|
@foreign_id = foreign_id
|
|
59
61
|
@authorization_i_ds = authorization_i_ds
|
|
62
|
+
@invoice_i_ds = invoice_i_ds
|
|
60
63
|
@capture_i_ds = capture_i_ds
|
|
61
64
|
@skip = skip
|
|
62
65
|
@count = count
|
|
@@ -77,6 +80,7 @@ module Moov
|
|
|
77
80
|
return false unless @disputed == other.disputed
|
|
78
81
|
return false unless @foreign_id == other.foreign_id
|
|
79
82
|
return false unless @authorization_i_ds == other.authorization_i_ds
|
|
83
|
+
return false unless @invoice_i_ds == other.invoice_i_ds
|
|
80
84
|
return false unless @capture_i_ds == other.capture_i_ds
|
|
81
85
|
return false unless @skip == other.skip
|
|
82
86
|
return false unless @count == other.count
|
|
@@ -32,6 +32,8 @@ class Moov::Models::Operations::ListTransfersRequest
|
|
|
32
32
|
def foreign_id=(str_); end
|
|
33
33
|
def authorization_i_ds(); end
|
|
34
34
|
def authorization_i_ds=(str_); end
|
|
35
|
+
def invoice_i_ds(); end
|
|
36
|
+
def invoice_i_ds=(str_); end
|
|
35
37
|
def capture_i_ds(); end
|
|
36
38
|
def capture_i_ds=(str_); end
|
|
37
39
|
def skip(); end
|
|
@@ -88,9 +88,9 @@ module Moov
|
|
|
88
88
|
end
|
|
89
89
|
@language = 'ruby'
|
|
90
90
|
@openapi_doc_version = 'v2025.01.00'
|
|
91
|
-
@sdk_version = '25.2.
|
|
92
|
-
@gen_version = '2.
|
|
93
|
-
@user_agent = 'speakeasy-sdk/ruby 25.2.
|
|
91
|
+
@sdk_version = '25.2.20'
|
|
92
|
+
@gen_version = '2.950.2'
|
|
93
|
+
@user_agent = 'speakeasy-sdk/ruby 25.2.20 2.950.2 v2025.01.00 moov_ruby'
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
data/lib/moov/transfers.rb
CHANGED
|
@@ -1000,8 +1000,8 @@ module Moov
|
|
|
1000
1000
|
end
|
|
1001
1001
|
|
|
1002
1002
|
|
|
1003
|
-
sig { params(account_id: ::String, transfer_id: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::CreateCancellationResponse) }
|
|
1004
|
-
def create_cancellation(account_id:, transfer_id:, timeout_ms: nil, http_headers: nil)
|
|
1003
|
+
sig { params(account_id: ::String, transfer_id: ::String, x_idempotency_key: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::CreateCancellationResponse) }
|
|
1004
|
+
def create_cancellation(account_id:, transfer_id:, x_idempotency_key: nil, timeout_ms: nil, http_headers: nil)
|
|
1005
1005
|
# create_cancellation - Initiate a cancellation for a card, ACH, or queued transfer.
|
|
1006
1006
|
#
|
|
1007
1007
|
# In v2026.10 and later, an auth-capture `card-payment` transfer can be canceled before any captures exist.
|
|
@@ -1011,7 +1011,8 @@ module Moov
|
|
|
1011
1011
|
# to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
1012
1012
|
request = Models::Operations::CreateCancellationRequest.new(
|
|
1013
1013
|
account_id: account_id,
|
|
1014
|
-
transfer_id: transfer_id
|
|
1014
|
+
transfer_id: transfer_id,
|
|
1015
|
+
x_idempotency_key: x_idempotency_key
|
|
1015
1016
|
)
|
|
1016
1017
|
url, params = @sdk_configuration.get_server_details
|
|
1017
1018
|
base_url = Utils.template_url(url, params)
|
|
@@ -1021,7 +1022,7 @@ module Moov
|
|
|
1021
1022
|
'/accounts/{accountID}/transfers/{transferID}/cancellations',
|
|
1022
1023
|
request
|
|
1023
1024
|
)
|
|
1024
|
-
headers =
|
|
1025
|
+
headers = Utils.get_headers(request)
|
|
1025
1026
|
headers = T.cast(headers, T::Hash[String, String])
|
|
1026
1027
|
headers['Accept'] = 'application/json'
|
|
1027
1028
|
headers['user-agent'] = @sdk_configuration.user_agent
|
|
@@ -1391,6 +1392,7 @@ module Moov
|
|
|
1391
1392
|
sig { params(request: Models::Operations::InitiateRefundRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::InitiateRefundResponse) }
|
|
1392
1393
|
def initiate_refund(request:, timeout_ms: nil, http_headers: nil)
|
|
1393
1394
|
# initiate_refund - Initiate a refund for a card transfer.
|
|
1395
|
+
# The `accountID` must identify the partner account for the transfer.
|
|
1394
1396
|
#
|
|
1395
1397
|
# **Use the [Cancel or refund a card transfer](https://docs.moov.io/api/money-movement/refunds/cancel/) endpoint for more comprehensive cancel and refund options.**
|
|
1396
1398
|
# See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/reversals/) guide for more information.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: moov_ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 25.2.
|
|
4
|
+
version: 25.2.20
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Speakeasy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-10-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|
|
@@ -834,6 +834,8 @@ files:
|
|
|
834
834
|
- lib/moov/models/components/issuingcontrols.rbi
|
|
835
835
|
- lib/moov/models/components/issuingcontrolserror.rb
|
|
836
836
|
- lib/moov/models/components/issuingcontrolserror.rbi
|
|
837
|
+
- lib/moov/models/components/issuingdeclinereason.rb
|
|
838
|
+
- lib/moov/models/components/issuingdeclinereason.rbi
|
|
837
839
|
- lib/moov/models/components/issuingintervallimit.rb
|
|
838
840
|
- lib/moov/models/components/issuingintervallimit.rbi
|
|
839
841
|
- lib/moov/models/components/issuingmerchantdata.rb
|
|
@@ -898,6 +900,8 @@ files:
|
|
|
898
900
|
- lib/moov/models/components/mxauthorizationcode.rbi
|
|
899
901
|
- lib/moov/models/components/mxpayload.rb
|
|
900
902
|
- lib/moov/models/components/mxpayload.rbi
|
|
903
|
+
- lib/moov/models/components/oauth2clienttype.rb
|
|
904
|
+
- lib/moov/models/components/oauth2clienttype.rbi
|
|
901
905
|
- lib/moov/models/components/occurrence.rb
|
|
902
906
|
- lib/moov/models/components/occurrence.rbi
|
|
903
907
|
- lib/moov/models/components/occurrencesresponse.rb
|