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.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/lib/crystalline/enum.rbi +17 -0
  3. data/lib/crystalline/metadata_fields.rb +3 -3
  4. data/lib/crystalline/module.rb +2 -0
  5. data/lib/crystalline/types.rb +27 -0
  6. data/lib/moov/models/components/accounttype.rb +0 -2
  7. data/lib/moov/models/components/accountverificationstatus.rb +0 -2
  8. data/lib/moov/models/components/achcreditsamedaypaymentmethod_paymentmethodtype.rb +0 -2
  9. data/lib/moov/models/components/achcreditstandardpaymentmethod_paymentmethodtype.rb +0 -2
  10. data/lib/moov/models/components/achdebitcollectpaymentmethod_paymentmethodtype.rb +0 -2
  11. data/lib/moov/models/components/achdebitfundpaymentmethod_paymentmethodtype.rb +0 -2
  12. data/lib/moov/models/components/achreturncode.rb +0 -2
  13. data/lib/moov/models/components/achtransactionstatus.rb +0 -2
  14. data/lib/moov/models/components/applepaypaymentmethod_paymentmethodtype.rb +0 -2
  15. data/lib/moov/models/components/applicationscope.rb +0 -2
  16. data/lib/moov/models/components/bankaccountholdertype.rb +0 -2
  17. data/lib/moov/models/components/bankaccountstatus.rb +0 -2
  18. data/lib/moov/models/components/bankaccountstatusreason.rb +0 -2
  19. data/lib/moov/models/components/bankaccounttype.rb +0 -2
  20. data/lib/moov/models/components/bankaccountverificationmethod.rb +0 -2
  21. data/lib/moov/models/components/bankaccountverificationstatus.rb +0 -2
  22. data/lib/moov/models/components/bankaccountwaitfor.rb +0 -2
  23. data/lib/moov/models/components/businesstype.rb +0 -2
  24. data/lib/moov/models/components/calltoaction.rb +0 -2
  25. data/lib/moov/models/components/cancellationstatus.rb +0 -2
  26. data/lib/moov/models/components/capabilityid.rb +0 -2
  27. data/lib/moov/models/components/capabilitystatus.rb +0 -2
  28. data/lib/moov/models/components/cardacquiringmodel.rb +0 -2
  29. data/lib/moov/models/components/cardbrand.rb +0 -2
  30. data/lib/moov/models/components/cardissuingnetwork.rb +0 -2
  31. data/lib/moov/models/components/cardpaymentpaymentmethod_paymentmethodtype.rb +0 -2
  32. data/lib/moov/models/components/cardpresentpaymentpaymentmethod_paymentmethodtype.rb +0 -2
  33. data/lib/moov/models/components/cardtransactionfailurecode.rb +0 -2
  34. data/lib/moov/models/components/cardtransactionstatus.rb +0 -2
  35. data/lib/moov/models/components/cardtype.rb +0 -2
  36. data/lib/moov/models/components/cardupdatereason.rb +0 -2
  37. data/lib/moov/models/components/cardverificationresult.rb +0 -2
  38. data/lib/moov/models/components/collectionpaymentmethodtype.rb +0 -2
  39. data/lib/moov/models/components/debitholdperiod.rb +0 -2
  40. data/lib/moov/models/components/disbursementpaymentmethodtype.rb +0 -2
  41. data/lib/moov/models/components/disputephase.rb +0 -2
  42. data/lib/moov/models/components/disputestatus.rb +0 -2
  43. data/lib/moov/models/components/documenttype.rb +0 -2
  44. data/lib/moov/models/components/domesticpullfromcard.rb +0 -2
  45. data/lib/moov/models/components/domesticpushtocard.rb +0 -2
  46. data/lib/moov/models/components/entrymode.rb +0 -2
  47. data/lib/moov/models/components/evidencetype.rb +0 -2
  48. data/lib/moov/models/components/feecategory.rb +0 -2
  49. data/lib/moov/models/components/feemodel.rb +0 -2
  50. data/lib/moov/models/components/feeplanagreementstatus.rb +0 -2
  51. data/lib/moov/models/components/filepurpose.rb +0 -2
  52. data/lib/moov/models/components/filestatus.rb +0 -2
  53. data/lib/moov/models/components/granttype.rb +0 -2
  54. data/lib/moov/models/components/invoicestatus.rb +0 -2
  55. data/lib/moov/models/components/issuedcardauthorizationeventresult.rb +0 -2
  56. data/lib/moov/models/components/issuedcardeventtype.rb +0 -2
  57. data/lib/moov/models/components/issuedcardformfactor.rb +0 -2
  58. data/lib/moov/models/components/issuedcardstate.rb +0 -2
  59. data/lib/moov/models/components/issuingauthorizationstatus.rb +0 -2
  60. data/lib/moov/models/components/issuingintervallimit.rb +0 -2
  61. data/lib/moov/models/components/kind.rb +0 -2
  62. data/lib/moov/models/components/linkcardwaitfor.rb +0 -2
  63. data/lib/moov/models/components/microdepositstatus.rb +0 -2
  64. data/lib/moov/models/components/mode.rb +0 -2
  65. data/lib/moov/models/components/moovwalletpaymentmethod_paymentmethodtype.rb +0 -2
  66. data/lib/moov/models/components/occurrencestatus.rb +0 -2
  67. data/lib/moov/models/components/paymentlinkstatus.rb +0 -2
  68. data/lib/moov/models/components/paymentlinktype.rb +0 -2
  69. data/lib/moov/models/components/paymentmethodtype.rb +0 -2
  70. data/lib/moov/models/components/primaryregulator.rb +0 -2
  71. data/lib/moov/models/components/pullfromcardpaymentmethod_paymentmethodtype.rb +0 -2
  72. data/lib/moov/models/components/pushtocardpaymentmethod_paymentmethodtype.rb +0 -2
  73. data/lib/moov/models/components/receiptkind.rb +0 -2
  74. data/lib/moov/models/components/refundcardstatus.rb +0 -2
  75. data/lib/moov/models/components/refundstatus.rb +0 -2
  76. data/lib/moov/models/components/requirementerrorcode.rb +0 -2
  77. data/lib/moov/models/components/requirementid.rb +0 -2
  78. data/lib/moov/models/components/returnpolicytype.rb +0 -2
  79. data/lib/moov/models/components/rtpcreditpaymentmethod_paymentmethodtype.rb +0 -2
  80. data/lib/moov/models/components/rtpfailurecode.rb +0 -2
  81. data/lib/moov/models/components/rtprejectioncode.rb +0 -2
  82. data/lib/moov/models/components/rtptransactionstatus.rb +0 -2
  83. data/lib/moov/models/components/seccode.rb +0 -2
  84. data/lib/moov/models/components/status.rb +0 -2
  85. data/lib/moov/models/components/sweepconfigstatus.rb +0 -2
  86. data/lib/moov/models/components/sweepstatus.rb +0 -2
  87. data/lib/moov/models/components/terminalapplicationplatform.rb +0 -2
  88. data/lib/moov/models/components/terminalapplicationstatus.rb +0 -2
  89. data/lib/moov/models/components/ticketstatus.rb +0 -2
  90. data/lib/moov/models/components/token_type_hint.rb +0 -2
  91. data/lib/moov/models/components/tokentype.rb +0 -2
  92. data/lib/moov/models/components/transactionsource.rb +0 -2
  93. data/lib/moov/models/components/transferfailurereason.rb +0 -2
  94. data/lib/moov/models/components/transferparty.rb +0 -2
  95. data/lib/moov/models/components/transferstatus.rb +0 -2
  96. data/lib/moov/models/components/transferwaitfor.rb +0 -2
  97. data/lib/moov/models/components/underwritingstatus.rb +0 -2
  98. data/lib/moov/models/components/updateissuedcardstate.rb +0 -2
  99. data/lib/moov/models/components/use.rb +0 -2
  100. data/lib/moov/models/components/verificationstatus.rb +0 -2
  101. data/lib/moov/models/components/verificationstatusdetail.rb +0 -2
  102. data/lib/moov/models/components/walletstatus.rb +0 -2
  103. data/lib/moov/models/components/wallettransactionsourcetype.rb +0 -2
  104. data/lib/moov/models/components/wallettransactionstatus.rb +0 -2
  105. data/lib/moov/models/components/wallettransactiontype.rb +0 -2
  106. data/lib/moov/models/components/wallettype.rb +0 -2
  107. data/lib/moov/models/components/webhookdatatransferstatus.rb +0 -2
  108. data/lib/moov/models/components/webhookeventtype.rb +0 -2
  109. data/lib/moov/models/components/webhookstatus.rb +0 -2
  110. data/lib/moov/models/operations/createtransfer_request.rb +2 -2
  111. data/lib/moov/models/operations/getscheduledoccurrence_request.rb +4 -4
  112. data/lib/moov/models/operations/hydrate.rb +0 -2
  113. data/lib/moov/sdkconfiguration.rb +3 -3
  114. data/lib/moov/utils/url.rb +1 -1
  115. data/lib/moov/utils/utils.rb +12 -0
  116. 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
  # Kind - The type of receipt being requested.
11
11
  class Kind < T::Enum
12
-
13
-
14
12
  enums do
15
13
  SALE_CUSTOMER_V1 = new('sale.customer.v1')
16
14
  end
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class LinkCardWaitFor < T::Enum
12
-
13
-
14
12
  enums do
15
13
  PAYMENT_METHOD = new('payment-method')
16
14
  end
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class MicroDepositStatus < T::Enum
12
-
13
-
14
12
  enums do
15
13
  VERIFIED = new('verified')
16
14
  end
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # Mode - The operating mode for an account.
11
11
  class Mode < T::Enum
12
-
13
-
14
12
  enums do
15
13
  SANDBOX = new('sandbox')
16
14
  PRODUCTION = new('production')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class MoovWalletPaymentMethodPaymentMethodType < T::Enum
12
-
13
-
14
12
  enums do
15
13
  MOOV_WALLET = new('moov-wallet')
16
14
  end
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # OccurrenceStatus - Status of the completed occurrence.
11
11
  class OccurrenceStatus < T::Enum
12
-
13
-
14
12
  enums do
15
13
  PENDING = new('pending')
16
14
  FAILED = new('failed')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class PaymentLinkStatus < T::Enum
12
-
13
-
14
12
  enums do
15
13
  ACTIVE = new('active')
16
14
  USED = new('used')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class PaymentLinkType < T::Enum
12
-
13
-
14
12
  enums do
15
13
  PAYMENT = new('payment')
16
14
  PAYOUT = new('payout')
@@ -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
  # PrimaryRegulator - If the business is a financial institution, this field describes its primary regulator.
11
11
  class PrimaryRegulator < T::Enum
12
-
13
-
14
12
  enums do
15
13
  OCC = new('OCC')
16
14
  FDIC = new('FDIC')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class PullFromCardPaymentMethodPaymentMethodType < T::Enum
12
-
13
-
14
12
  enums do
15
13
  PULL_FROM_CARD = new('pull-from-card')
16
14
  end
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class PushToCardPaymentMethodPaymentMethodType < T::Enum
12
-
13
-
14
12
  enums do
15
13
  PUSH_TO_CARD = new('push-to-card')
16
14
  end
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # ReceiptKind - The type of receipt being requested.
11
11
  class ReceiptKind < T::Enum
12
-
13
-
14
12
  enums do
15
13
  SALE_CUSTOMER_V1 = new('sale.customer.v1')
16
14
  end
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class RefundCardStatus < T::Enum
12
-
13
-
14
12
  enums do
15
13
  INITIATED = new('initiated')
16
14
  CONFIRMED = new('confirmed')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class RefundStatus < T::Enum
12
-
13
-
14
12
  enums do
15
13
  CREATED = new('created')
16
14
  PENDING = new('pending')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class RequirementErrorCode < T::Enum
12
-
13
-
14
12
  enums do
15
13
  INVALID_VALUE = new('invalid-value')
16
14
  FAILED_AUTOMATIC_VERIFICATION = new('failed-automatic-verification')
@@ -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')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class ReturnPolicyType < T::Enum
12
-
13
-
14
12
  enums do
15
13
  NONE = new('none')
16
14
  EXCHANGE_ONLY = new('exchangeOnly')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class RtpCreditPaymentMethodPaymentMethodType < T::Enum
12
-
13
-
14
12
  enums do
15
13
  RTP_CREDIT = new('rtp-credit')
16
14
  end
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # RTPFailureCode - Status codes for RTP failures.
11
11
  class RTPFailureCode < T::Enum
12
-
13
-
14
12
  enums do
15
13
  PROCESSING_ERROR = new('processing-error')
16
14
  INVALID_ACCOUNT = new('invalid-account')
@@ -17,8 +17,6 @@ module Moov
17
17
  # - AG03: Transaction Type Not Supported
18
18
  # - MD07: Customer Deceased
19
19
  class RTPRejectionCode < T::Enum
20
-
21
-
22
20
  enums do
23
21
  AC03 = new('AC03')
24
22
  AC04 = new('AC04')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # RTPTransactionStatus - Status of a transaction within the RTP lifecycle.
11
11
  class RTPTransactionStatus < T::Enum
12
-
13
-
14
12
  enums do
15
13
  INITIATED = new('initiated')
16
14
  COMPLETED = new('completed')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # SECCode - Code used to identify the ACH authorization method.
11
11
  class SECCode < T::Enum
12
-
13
-
14
12
  enums do
15
13
  WEB = new('WEB')
16
14
  PPD = new('PPD')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class Status < T::Enum
12
-
13
-
14
12
  enums do
15
13
  ENABLED = new('enabled')
16
14
  DISABLED = new('disabled')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class SweepConfigStatus < T::Enum
12
-
13
-
14
12
  enums do
15
13
  ENABLED = new('enabled')
16
14
  DISABLED = new('disabled')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class SweepStatus < T::Enum
12
-
13
-
14
12
  enums do
15
13
  ACCRUING = new('accruing')
16
14
  ACTION_REQUIRED = new('action-required')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # TerminalApplicationPlatform - Platform of the terminal application.
11
11
  class TerminalApplicationPlatform < T::Enum
12
-
13
-
14
12
  enums do
15
13
  UNDEFINED = new('undefined')
16
14
  IOS = new('ios')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # TerminalApplicationStatus - Status of the terminal application.
11
11
  class TerminalApplicationStatus < T::Enum
12
-
13
-
14
12
  enums do
15
13
  UNDEFINED = new('undefined')
16
14
  PENDING = new('pending')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class TicketStatus < T::Enum
12
-
13
-
14
12
  enums do
15
13
  NEW = new('new')
16
14
  IN_PROGRESS = new('in-progress')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # TokenTypeHint - The type of token being revoked.
11
11
  class TokenTypeHint < T::Enum
12
-
13
-
14
12
  enums do
15
13
  ACCESS_TOKEN = new('access_token')
16
14
  REFRESH_TOKEN = new('refresh_token')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # TokenType - An [RFC 6750](https://www.rfc-editor.org/rfc/rfc6750#section-6.1) token type.
11
11
  class TokenType < T::Enum
12
-
13
-
14
12
  enums do
15
13
  BEARER = new('Bearer')
16
14
  end
@@ -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')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class TransferParty < T::Enum
12
-
13
-
14
12
  enums do
15
13
  SOURCE = new('source')
16
14
  DESTINATION = new('destination')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # TransferStatus - Status of a transfer.
11
11
  class TransferStatus < T::Enum
12
-
13
-
14
12
  enums do
15
13
  CREATED = new('created')
16
14
  PENDING = new('pending')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class TransferWaitFor < T::Enum
12
-
13
-
14
12
  enums do
15
13
  RAIL_RESPONSE = new('rail-response')
16
14
  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 UnderwritingStatus < T::Enum
14
-
15
-
16
14
  enums do
17
15
  APPROVED = new('approved')
18
16
  REJECTED = new('rejected')
@@ -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
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # Use - The intended use of the key. 'sig' for signature, 'enc' for encryption.
11
11
  class Use < T::Enum
12
-
13
-
14
12
  enums do
15
13
  SIG = new('sig')
16
14
  ENC = new('enc')
@@ -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 VerificationStatus < T::Enum
14
-
15
-
16
14
  enums do
17
15
  UNVERIFIED = new('unverified')
18
16
  PENDING = new('pending')
@@ -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')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class WalletTransactionSourceType < T::Enum
12
-
13
-
14
12
  enums do
15
13
  TRANSFER = new('transfer')
16
14
  DISPUTE = new('dispute')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class WalletTransactionStatus < T::Enum
12
-
13
-
14
12
  enums do
15
13
  PENDING = new('pending')
16
14
  COMPLETED = new('completed')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class WalletTransactionType < T::Enum
12
-
13
-
14
12
  enums do
15
13
  ACCOUNT_FUNDING = new('account-funding')
16
14
  ACH_REVERSAL = new('ach-reversal')
@@ -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')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class WebhookDataTransferStatus < T::Enum
12
-
13
-
14
12
  enums do
15
13
  CREATED = new('created')
16
14
  PENDING = new('pending')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # WebhookEventType - The type of event that occurred.
11
11
  class WebhookEventType < T::Enum
12
-
13
-
14
12
  enums do
15
13
  WILDCARD_ = new('*')
16
14
  ACCOUNT_CREATED = new('account.created')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # WebhookStatus - The status of a webhook.
11
11
  class WebhookStatus < T::Enum
12
-
13
-
14
12
  enums do
15
13
  ENABLED = new('enabled')
16
14
  DISABLED = new('disabled')
@@ -12,8 +12,8 @@ module Moov
12
12
  extend T::Sig
13
13
  include Crystalline::MetadataFields
14
14
 
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.
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
- # Allows the specification of additional filters beyond the UUID.
19
+ # Allows the specification of additional filters beyond the UUID.
20
20
  #
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.
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
  #
@@ -9,8 +9,6 @@ module Moov
9
9
  module Operations
10
10
  # Hydrate
11
11
  class Hydrate < T::Enum
12
-
13
-
14
12
  enums do
15
13
  ACCOUNTS = new('accounts')
16
14
  end
@@ -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.1'
99
- @gen_version = '2.811.0'
100
- @user_agent = 'speakeasy-sdk/ruby 25.4.1 2.811.0 v2025.04.00 moov_ruby'
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]]) }
@@ -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.to_s)
77
+ path = path.sub("{#{param_metadata.fetch(:field_name, f.name)}}", val_to_string(param))
78
78
  end
79
79
  end
80
80
  end
@@ -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.1
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-06 00:00:00.000000000 Z
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