moov_ruby 25.4.1 → 25.4.2
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/crystalline/enum.rbi +17 -0
- data/lib/crystalline/metadata_fields.rb +3 -3
- data/lib/crystalline/module.rb +2 -0
- data/lib/crystalline/types.rb +27 -0
- data/lib/moov/models/components/accounttype.rb +0 -2
- data/lib/moov/models/components/accountverificationstatus.rb +0 -2
- data/lib/moov/models/components/achcreditsamedaypaymentmethod_paymentmethodtype.rb +0 -2
- data/lib/moov/models/components/achcreditstandardpaymentmethod_paymentmethodtype.rb +0 -2
- data/lib/moov/models/components/achdebitcollectpaymentmethod_paymentmethodtype.rb +0 -2
- data/lib/moov/models/components/achdebitfundpaymentmethod_paymentmethodtype.rb +0 -2
- data/lib/moov/models/components/achreturncode.rb +0 -2
- data/lib/moov/models/components/achtransactionstatus.rb +0 -2
- data/lib/moov/models/components/applepaypaymentmethod_paymentmethodtype.rb +0 -2
- data/lib/moov/models/components/applicationscope.rb +0 -2
- data/lib/moov/models/components/bankaccountholdertype.rb +0 -2
- data/lib/moov/models/components/bankaccountstatus.rb +0 -2
- data/lib/moov/models/components/bankaccountstatusreason.rb +0 -2
- data/lib/moov/models/components/bankaccounttype.rb +0 -2
- data/lib/moov/models/components/bankaccountverificationmethod.rb +0 -2
- data/lib/moov/models/components/bankaccountverificationstatus.rb +0 -2
- data/lib/moov/models/components/bankaccountwaitfor.rb +0 -2
- data/lib/moov/models/components/businesstype.rb +0 -2
- data/lib/moov/models/components/calltoaction.rb +0 -2
- data/lib/moov/models/components/cancellationstatus.rb +0 -2
- data/lib/moov/models/components/capabilityid.rb +0 -2
- data/lib/moov/models/components/capabilitystatus.rb +0 -2
- data/lib/moov/models/components/cardacquiringmodel.rb +0 -2
- data/lib/moov/models/components/cardbrand.rb +0 -2
- data/lib/moov/models/components/cardissuingnetwork.rb +0 -2
- data/lib/moov/models/components/cardpaymentpaymentmethod_paymentmethodtype.rb +0 -2
- data/lib/moov/models/components/cardpresentpaymentpaymentmethod_paymentmethodtype.rb +0 -2
- data/lib/moov/models/components/cardtransactionfailurecode.rb +0 -2
- data/lib/moov/models/components/cardtransactionstatus.rb +0 -2
- data/lib/moov/models/components/cardtype.rb +0 -2
- data/lib/moov/models/components/cardupdatereason.rb +0 -2
- data/lib/moov/models/components/cardverificationresult.rb +0 -2
- data/lib/moov/models/components/collectionpaymentmethodtype.rb +0 -2
- data/lib/moov/models/components/debitholdperiod.rb +0 -2
- data/lib/moov/models/components/disbursementpaymentmethodtype.rb +0 -2
- data/lib/moov/models/components/disputephase.rb +0 -2
- data/lib/moov/models/components/disputestatus.rb +0 -2
- data/lib/moov/models/components/documenttype.rb +0 -2
- data/lib/moov/models/components/domesticpullfromcard.rb +0 -2
- data/lib/moov/models/components/domesticpushtocard.rb +0 -2
- data/lib/moov/models/components/entrymode.rb +0 -2
- data/lib/moov/models/components/evidencetype.rb +0 -2
- data/lib/moov/models/components/feecategory.rb +0 -2
- data/lib/moov/models/components/feemodel.rb +0 -2
- data/lib/moov/models/components/feeplanagreementstatus.rb +0 -2
- data/lib/moov/models/components/filepurpose.rb +0 -2
- data/lib/moov/models/components/filestatus.rb +0 -2
- data/lib/moov/models/components/granttype.rb +0 -2
- data/lib/moov/models/components/invoicestatus.rb +0 -2
- data/lib/moov/models/components/issuedcardauthorizationeventresult.rb +0 -2
- data/lib/moov/models/components/issuedcardeventtype.rb +0 -2
- data/lib/moov/models/components/issuedcardformfactor.rb +0 -2
- data/lib/moov/models/components/issuedcardstate.rb +0 -2
- data/lib/moov/models/components/issuingauthorizationstatus.rb +0 -2
- data/lib/moov/models/components/issuingintervallimit.rb +0 -2
- data/lib/moov/models/components/kind.rb +0 -2
- data/lib/moov/models/components/linkcardwaitfor.rb +0 -2
- data/lib/moov/models/components/microdepositstatus.rb +0 -2
- data/lib/moov/models/components/mode.rb +0 -2
- data/lib/moov/models/components/moovwalletpaymentmethod_paymentmethodtype.rb +0 -2
- data/lib/moov/models/components/occurrencestatus.rb +0 -2
- data/lib/moov/models/components/paymentlinkstatus.rb +0 -2
- data/lib/moov/models/components/paymentlinktype.rb +0 -2
- data/lib/moov/models/components/paymentmethodtype.rb +0 -2
- data/lib/moov/models/components/primaryregulator.rb +0 -2
- data/lib/moov/models/components/pullfromcardpaymentmethod_paymentmethodtype.rb +0 -2
- data/lib/moov/models/components/pushtocardpaymentmethod_paymentmethodtype.rb +0 -2
- data/lib/moov/models/components/receiptkind.rb +0 -2
- data/lib/moov/models/components/refundcardstatus.rb +0 -2
- data/lib/moov/models/components/refundstatus.rb +0 -2
- data/lib/moov/models/components/requirementerrorcode.rb +0 -2
- data/lib/moov/models/components/requirementid.rb +0 -2
- data/lib/moov/models/components/returnpolicytype.rb +0 -2
- data/lib/moov/models/components/rtpcreditpaymentmethod_paymentmethodtype.rb +0 -2
- data/lib/moov/models/components/rtpfailurecode.rb +0 -2
- data/lib/moov/models/components/rtprejectioncode.rb +0 -2
- data/lib/moov/models/components/rtptransactionstatus.rb +0 -2
- data/lib/moov/models/components/seccode.rb +0 -2
- data/lib/moov/models/components/status.rb +0 -2
- data/lib/moov/models/components/sweepconfigstatus.rb +0 -2
- data/lib/moov/models/components/sweepstatus.rb +0 -2
- data/lib/moov/models/components/terminalapplicationplatform.rb +0 -2
- data/lib/moov/models/components/terminalapplicationstatus.rb +0 -2
- data/lib/moov/models/components/ticketstatus.rb +0 -2
- data/lib/moov/models/components/token_type_hint.rb +0 -2
- data/lib/moov/models/components/tokentype.rb +0 -2
- data/lib/moov/models/components/transactionsource.rb +0 -2
- data/lib/moov/models/components/transferfailurereason.rb +0 -2
- data/lib/moov/models/components/transferparty.rb +0 -2
- data/lib/moov/models/components/transferstatus.rb +0 -2
- data/lib/moov/models/components/transferwaitfor.rb +0 -2
- data/lib/moov/models/components/underwritingstatus.rb +0 -2
- data/lib/moov/models/components/updateissuedcardstate.rb +0 -2
- data/lib/moov/models/components/use.rb +0 -2
- data/lib/moov/models/components/verificationstatus.rb +0 -2
- data/lib/moov/models/components/verificationstatusdetail.rb +0 -2
- data/lib/moov/models/components/walletstatus.rb +0 -2
- data/lib/moov/models/components/wallettransactionsourcetype.rb +0 -2
- data/lib/moov/models/components/wallettransactionstatus.rb +0 -2
- data/lib/moov/models/components/wallettransactiontype.rb +0 -2
- data/lib/moov/models/components/wallettype.rb +0 -2
- data/lib/moov/models/components/webhookdatatransferstatus.rb +0 -2
- data/lib/moov/models/components/webhookeventtype.rb +0 -2
- data/lib/moov/models/components/webhookstatus.rb +0 -2
- data/lib/moov/models/operations/createtransfer_request.rb +2 -2
- data/lib/moov/models/operations/getscheduledoccurrence_request.rb +4 -4
- data/lib/moov/models/operations/hydrate.rb +0 -2
- data/lib/moov/sdkconfiguration.rb +3 -3
- data/lib/moov/utils/url.rb +1 -1
- data/lib/moov/utils/utils.rb +12 -0
- metadata +3 -2
|
@@ -9,8 +9,6 @@ module Moov
|
|
|
9
9
|
module Components
|
|
10
10
|
# IssuingIntervalLimit - Specifies the time frame for the velocity limit. Currently supports only per-transaction limits.
|
|
11
11
|
class IssuingIntervalLimit < T::Enum
|
|
12
|
-
|
|
13
|
-
|
|
14
12
|
enums do
|
|
15
13
|
PER_TRANSACTION = new('per-transaction')
|
|
16
14
|
end
|
|
@@ -9,8 +9,6 @@ module Moov
|
|
|
9
9
|
module Components
|
|
10
10
|
# PaymentMethodType - The payment method type that represents a payment rail and directionality
|
|
11
11
|
class PaymentMethodType < T::Enum
|
|
12
|
-
|
|
13
|
-
|
|
14
12
|
enums do
|
|
15
13
|
MOOV_WALLET = new('moov-wallet')
|
|
16
14
|
ACH_DEBIT_FUND = new('ach-debit-fund')
|
|
@@ -9,8 +9,6 @@ module Moov
|
|
|
9
9
|
module Components
|
|
10
10
|
# RequirementID - The unique ID of what the requirement is asking to be filled out.
|
|
11
11
|
class RequirementID < T::Enum
|
|
12
|
-
|
|
13
|
-
|
|
14
12
|
enums do
|
|
15
13
|
ACCOUNT_TOS_ACCEPTANCE = new('account.tos-acceptance')
|
|
16
14
|
INDIVIDUAL_MOBILE = new('individual.mobile')
|
|
@@ -12,8 +12,6 @@ module Moov
|
|
|
12
12
|
# Crucial for recurring and merchant-initiated transactions as per card scheme rules.
|
|
13
13
|
# Omit for customer-initiated e-commerce transactions.
|
|
14
14
|
class TransactionSource < T::Enum
|
|
15
|
-
|
|
16
|
-
|
|
17
15
|
enums do
|
|
18
16
|
FIRST_RECURRING = new('first-recurring')
|
|
19
17
|
RECURRING = new('recurring')
|
|
@@ -9,8 +9,6 @@ module Moov
|
|
|
9
9
|
module Components
|
|
10
10
|
# TransferFailureReason - Reason for a transfer's failure.
|
|
11
11
|
class TransferFailureReason < T::Enum
|
|
12
|
-
|
|
13
|
-
|
|
14
12
|
enums do
|
|
15
13
|
SOURCE_PAYMENT_ERROR = new('source-payment-error')
|
|
16
14
|
DESTINATION_PAYMENT_ERROR = new('destination-payment-error')
|
|
@@ -10,8 +10,6 @@ module Moov
|
|
|
10
10
|
# UpdateIssuedCardState - Updates the state of a Moov issued card.
|
|
11
11
|
# - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
12
12
|
class UpdateIssuedCardState < T::Enum
|
|
13
|
-
|
|
14
|
-
|
|
15
13
|
enums do
|
|
16
14
|
CLOSED = new('closed')
|
|
17
15
|
end
|
|
@@ -11,8 +11,6 @@ module Moov
|
|
|
11
11
|
#
|
|
12
12
|
# @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
13
13
|
class VerificationStatusDetail < T::Enum
|
|
14
|
-
|
|
15
|
-
|
|
16
14
|
enums do
|
|
17
15
|
FAILED_AUTO_VERIFY = new('failedAutoVerify')
|
|
18
16
|
DOC_DOB_MISMATCH = new('docDobMismatch')
|
|
@@ -11,8 +11,6 @@ module Moov
|
|
|
11
11
|
# - `active`: The wallet is available for use and has an enabled payment method.
|
|
12
12
|
# - `closed`: The wallet is no longer active and the corresponding payment method has been disabled.
|
|
13
13
|
class WalletStatus < T::Enum
|
|
14
|
-
|
|
15
|
-
|
|
16
14
|
enums do
|
|
17
15
|
ACTIVE = new('active')
|
|
18
16
|
CLOSED = new('closed')
|
|
@@ -11,8 +11,6 @@ module Moov
|
|
|
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
13
|
class WalletType < T::Enum
|
|
14
|
-
|
|
15
|
-
|
|
16
14
|
enums do
|
|
17
15
|
DEFAULT = new('default')
|
|
18
16
|
GENERAL = new('general')
|
|
@@ -12,8 +12,8 @@ module Moov
|
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
|
-
#
|
|
16
|
-
#
|
|
15
|
+
# Identifies a unique request to create a transfer.
|
|
16
|
+
# In order to avoid creating duplicate transfers, the same idempotency key should be reused when retrying a request.
|
|
17
17
|
field :x_idempotency_key, ::String, { 'header': { 'field_name': 'x-idempotency-key', 'style': 'simple', 'explode': false } }
|
|
18
18
|
# Your Moov account ID.
|
|
19
19
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
@@ -16,11 +16,11 @@ module Moov
|
|
|
16
16
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
17
|
|
|
18
18
|
field :schedule_id, ::String, { 'path_param': { 'field_name': 'scheduleID', 'style': 'simple', 'explode': false } }
|
|
19
|
-
#
|
|
19
|
+
# Allows the specification of additional filters beyond the UUID.
|
|
20
20
|
#
|
|
21
|
-
#
|
|
22
|
-
#
|
|
23
|
-
#
|
|
21
|
+
# Specifying a UUID string returns the exact occurrence.
|
|
22
|
+
# Specifying a RFC 3339 timestamp returns the latest occurrence at or before that timestamp.
|
|
23
|
+
# Specifying `latest` returns the latest occurrence at or before now.
|
|
24
24
|
field :occurrence_filter, ::String, { 'path_param': { 'field_name': 'occurrenceFilter', 'style': 'simple', 'explode': false } }
|
|
25
25
|
# Specify an API version.
|
|
26
26
|
#
|
|
@@ -95,9 +95,9 @@ module Moov
|
|
|
95
95
|
@globals = globals.nil? ? {} : globals
|
|
96
96
|
@language = 'ruby'
|
|
97
97
|
@openapi_doc_version = 'v2025.04.00'
|
|
98
|
-
@sdk_version = '25.4.
|
|
99
|
-
@gen_version = '2.
|
|
100
|
-
@user_agent = 'speakeasy-sdk/ruby 25.4.
|
|
98
|
+
@sdk_version = '25.4.2'
|
|
99
|
+
@gen_version = '2.816.0'
|
|
100
|
+
@user_agent = 'speakeasy-sdk/ruby 25.4.2 2.816.0 v2025.04.00 moov_ruby'
|
|
101
101
|
end
|
|
102
102
|
|
|
103
103
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
data/lib/moov/utils/url.rb
CHANGED
|
@@ -74,7 +74,7 @@ module Moov
|
|
|
74
74
|
end
|
|
75
75
|
path = path.sub("{#{param_metadata.fetch(:field_name, f.name)}}", pp_vals.join(','))
|
|
76
76
|
else
|
|
77
|
-
path = path.sub("{#{param_metadata.fetch(:field_name, f.name)}}", param
|
|
77
|
+
path = path.sub("{#{param_metadata.fetch(:field_name, f.name)}}", val_to_string(param))
|
|
78
78
|
end
|
|
79
79
|
end
|
|
80
80
|
end
|
data/lib/moov/utils/utils.rb
CHANGED
|
@@ -102,6 +102,18 @@ module Moov
|
|
|
102
102
|
end
|
|
103
103
|
end
|
|
104
104
|
|
|
105
|
+
sig do
|
|
106
|
+
params(enum_type: Module, optional: T::Boolean)
|
|
107
|
+
.returns(T.proc.params(s: String).returns(T.untyped))
|
|
108
|
+
end
|
|
109
|
+
def self.open_enum_from_string(enum_type, optional)
|
|
110
|
+
Kernel.lambda do |s|
|
|
111
|
+
return nil if optional && s.nil?
|
|
112
|
+
|
|
113
|
+
return T.unsafe(enum_type).deserialize(s)
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
|
|
105
117
|
sig { params(name: String).returns(T.proc.returns(String)) }
|
|
106
118
|
def self.field_name(name)
|
|
107
119
|
T.let(proc { name }, T.proc.returns(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.4.
|
|
4
|
+
version: 25.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Speakeasy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-02-
|
|
11
|
+
date: 2026-02-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|
|
@@ -219,6 +219,7 @@ extensions: []
|
|
|
219
219
|
extra_rdoc_files: []
|
|
220
220
|
files:
|
|
221
221
|
- lib/crystalline.rb
|
|
222
|
+
- lib/crystalline/enum.rbi
|
|
222
223
|
- lib/crystalline/metadata_fields.rb
|
|
223
224
|
- lib/crystalline/module.rb
|
|
224
225
|
- lib/crystalline/types.rb
|