moov_ruby 24.1.2 → 25.1.0.pre.dev.0

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 (127) hide show
  1. checksums.yaml +4 -4
  2. data/lib/crystalline/metadata_fields.rb +3 -3
  3. data/lib/crystalline/module.rb +0 -2
  4. data/lib/crystalline/types.rb +0 -27
  5. data/lib/moov/fee_plans.rb +124 -0
  6. data/lib/moov/models/components/accounttype.rb +2 -0
  7. data/lib/moov/models/components/accountverificationstatus.rb +2 -0
  8. data/lib/moov/models/components/achcreditsamedaypaymentmethod_paymentmethodtype.rb +2 -0
  9. data/lib/moov/models/components/achcreditstandardpaymentmethod_paymentmethodtype.rb +2 -0
  10. data/lib/moov/models/components/achdebitcollectpaymentmethod_paymentmethodtype.rb +2 -0
  11. data/lib/moov/models/components/achdebitfundpaymentmethod_paymentmethodtype.rb +2 -0
  12. data/lib/moov/models/components/achreturncode.rb +2 -0
  13. data/lib/moov/models/components/achtransactionstatus.rb +2 -0
  14. data/lib/moov/models/components/applepaypaymentmethod_paymentmethodtype.rb +2 -0
  15. data/lib/moov/models/components/applicationscope.rb +2 -0
  16. data/lib/moov/models/components/bankaccountholdertype.rb +2 -0
  17. data/lib/moov/models/components/bankaccountstatus.rb +2 -0
  18. data/lib/moov/models/components/bankaccountstatusreason.rb +2 -0
  19. data/lib/moov/models/components/bankaccounttype.rb +2 -0
  20. data/lib/moov/models/components/bankaccountverificationmethod.rb +2 -0
  21. data/lib/moov/models/components/bankaccountverificationstatus.rb +2 -0
  22. data/lib/moov/models/components/bankaccountwaitfor.rb +2 -0
  23. data/lib/moov/models/components/businesstype.rb +2 -0
  24. data/lib/moov/models/components/calltoaction.rb +2 -0
  25. data/lib/moov/models/components/cancellationstatus.rb +2 -0
  26. data/lib/moov/models/components/capabilityid.rb +2 -0
  27. data/lib/moov/models/components/capabilitystatus.rb +2 -0
  28. data/lib/moov/models/components/cardacquiringmodel.rb +2 -0
  29. data/lib/moov/models/components/cardbrand.rb +2 -0
  30. data/lib/moov/models/components/cardissuingnetwork.rb +2 -0
  31. data/lib/moov/models/components/cardpaymentpaymentmethod_paymentmethodtype.rb +2 -0
  32. data/lib/moov/models/components/cardtransactionfailurecode.rb +2 -0
  33. data/lib/moov/models/components/cardtransactionstatus.rb +2 -0
  34. data/lib/moov/models/components/cardtype.rb +2 -0
  35. data/lib/moov/models/components/cardupdatereason.rb +2 -0
  36. data/lib/moov/models/components/cardverificationresult.rb +2 -0
  37. data/lib/moov/models/components/collectionpaymentmethodtype.rb +2 -0
  38. data/lib/moov/models/components/createpaymentlinklineitem.rb +2 -6
  39. data/lib/moov/models/components/createpaymentlinklineitemoption.rb +1 -4
  40. data/lib/moov/models/components/createscheduledtransferlineitem.rb +1 -2
  41. data/lib/moov/models/components/createtransferlineitem.rb +1 -2
  42. data/lib/moov/models/components/debitholdperiod.rb +2 -0
  43. data/lib/moov/models/components/disbursementpaymentmethodtype.rb +2 -0
  44. data/lib/moov/models/components/disputephase.rb +2 -0
  45. data/lib/moov/models/components/disputestatus.rb +2 -0
  46. data/lib/moov/models/components/documenttype.rb +2 -0
  47. data/lib/moov/models/components/domesticpullfromcard.rb +2 -0
  48. data/lib/moov/models/components/domesticpushtocard.rb +2 -0
  49. data/lib/moov/models/components/evidencetype.rb +2 -0
  50. data/lib/moov/models/components/feecategory.rb +2 -0
  51. data/lib/moov/models/components/feemodel.rb +2 -0
  52. data/lib/moov/models/components/feeplanagreementstatus.rb +2 -0
  53. data/lib/moov/models/components/filepurpose.rb +2 -0
  54. data/lib/moov/models/components/filestatus.rb +2 -0
  55. data/lib/moov/models/components/granttype.rb +2 -0
  56. data/lib/moov/models/components/invoicestatus.rb +2 -0
  57. data/lib/moov/models/components/issuedcardauthorizationeventresult.rb +2 -0
  58. data/lib/moov/models/components/issuedcardeventtype.rb +2 -0
  59. data/lib/moov/models/components/issuedcardformfactor.rb +2 -0
  60. data/lib/moov/models/components/issuedcardstate.rb +2 -0
  61. data/lib/moov/models/components/issuingauthorizationstatus.rb +2 -0
  62. data/lib/moov/models/components/issuingintervallimit.rb +2 -0
  63. data/lib/moov/models/components/kind.rb +2 -0
  64. data/lib/moov/models/components/linkcardwaitfor.rb +2 -0
  65. data/lib/moov/models/components/microdepositstatus.rb +2 -0
  66. data/lib/moov/models/components/mode.rb +2 -0
  67. data/lib/moov/models/components/moovwalletpaymentmethod_paymentmethodtype.rb +2 -0
  68. data/lib/moov/models/components/occurrencestatus.rb +2 -0
  69. data/lib/moov/models/components/partnerpricing.rb +66 -0
  70. data/lib/moov/models/components/partnerpricing.rbi +29 -0
  71. data/lib/moov/models/components/paymentlinkstatus.rb +2 -0
  72. data/lib/moov/models/components/paymentlinktype.rb +2 -0
  73. data/lib/moov/models/components/paymentmethodtype.rb +2 -0
  74. data/lib/moov/models/components/primaryregulator.rb +2 -0
  75. data/lib/moov/models/components/pullfromcardpaymentmethod_paymentmethodtype.rb +2 -0
  76. data/lib/moov/models/components/pushtocardpaymentmethod_paymentmethodtype.rb +2 -0
  77. data/lib/moov/models/components/receiptkind.rb +2 -0
  78. data/lib/moov/models/components/refundcardstatus.rb +2 -0
  79. data/lib/moov/models/components/refundstatus.rb +2 -0
  80. data/lib/moov/models/components/requirementerrorcode.rb +2 -0
  81. data/lib/moov/models/components/requirementid.rb +2 -0
  82. data/lib/moov/models/components/returnpolicytype.rb +2 -0
  83. data/lib/moov/models/components/rtpcreditpaymentmethod_paymentmethodtype.rb +2 -0
  84. data/lib/moov/models/components/rtpfailurecode.rb +2 -0
  85. data/lib/moov/models/components/rtprejectioncode.rb +2 -0
  86. data/lib/moov/models/components/rtptransactionstatus.rb +2 -0
  87. data/lib/moov/models/components/seccode.rb +2 -0
  88. data/lib/moov/models/components/status.rb +2 -0
  89. data/lib/moov/models/components/sweepconfigstatus.rb +2 -0
  90. data/lib/moov/models/components/sweepstatus.rb +2 -0
  91. data/lib/moov/models/components/terminalapplicationplatform.rb +2 -0
  92. data/lib/moov/models/components/terminalapplicationstatus.rb +2 -0
  93. data/lib/moov/models/components/ticketstatus.rb +2 -0
  94. data/lib/moov/models/components/token_type_hint.rb +2 -0
  95. data/lib/moov/models/components/tokentype.rb +2 -0
  96. data/lib/moov/models/components/transactionsource.rb +2 -0
  97. data/lib/moov/models/components/transferfailurereason.rb +2 -0
  98. data/lib/moov/models/components/transferparty.rb +2 -0
  99. data/lib/moov/models/components/transferstatus.rb +2 -0
  100. data/lib/moov/models/components/transferwaitfor.rb +2 -0
  101. data/lib/moov/models/components/underwritingstatus.rb +2 -0
  102. data/lib/moov/models/components/updateissuedcardstate.rb +2 -0
  103. data/lib/moov/models/components/use.rb +2 -0
  104. data/lib/moov/models/components/verificationstatus.rb +2 -0
  105. data/lib/moov/models/components/verificationstatusdetail.rb +2 -0
  106. data/lib/moov/models/components/walletstatus.rb +2 -0
  107. data/lib/moov/models/components/wallettransactionsourcetype.rb +2 -0
  108. data/lib/moov/models/components/wallettransactionstatus.rb +2 -0
  109. data/lib/moov/models/components/wallettransactiontype.rb +2 -0
  110. data/lib/moov/models/components/wallettype.rb +2 -0
  111. data/lib/moov/models/components/webhookdatatransferstatus.rb +2 -0
  112. data/lib/moov/models/components/webhookeventtype.rb +2 -0
  113. data/lib/moov/models/components/webhookstatus.rb +2 -0
  114. data/lib/moov/models/components.rb +1 -0
  115. data/lib/moov/models/operations/createtransfer_request.rb +2 -2
  116. data/lib/moov/models/operations/getscheduledoccurrence_request.rb +4 -4
  117. data/lib/moov/models/operations/hydrate.rb +2 -0
  118. data/lib/moov/models/operations/listpartnerpricing_request.rb +49 -0
  119. data/lib/moov/models/operations/listpartnerpricing_request.rbi +17 -0
  120. data/lib/moov/models/operations/listpartnerpricing_response.rb +48 -0
  121. data/lib/moov/models/operations/listpartnerpricing_response.rbi +21 -0
  122. data/lib/moov/models/operations.rb +2 -0
  123. data/lib/moov/sdkconfiguration.rb +4 -4
  124. data/lib/moov/utils/url.rb +1 -1
  125. data/lib/moov/utils/utils.rb +0 -12
  126. metadata +10 -5
  127. data/lib/crystalline/enum.rbi +0 -17
@@ -9,6 +9,8 @@ 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
+
12
14
  enums do
13
15
  SIG = new('sig')
14
16
  ENC = new('enc')
@@ -11,6 +11,8 @@ 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
+
14
16
  enums do
15
17
  UNVERIFIED = new('unverified')
16
18
  PENDING = new('pending')
@@ -11,6 +11,8 @@ 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
+
14
16
  enums do
15
17
  FAILED_AUTO_VERIFY = new('failedAutoVerify')
16
18
  DOC_DOB_MISMATCH = new('docDobMismatch')
@@ -11,6 +11,8 @@ 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
+
14
16
  enums do
15
17
  ACTIVE = new('active')
16
18
  CLOSED = new('closed')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class WalletTransactionSourceType < T::Enum
12
+
13
+
12
14
  enums do
13
15
  TRANSFER = new('transfer')
14
16
  DISPUTE = new('dispute')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class WalletTransactionStatus < T::Enum
12
+
13
+
12
14
  enums do
13
15
  PENDING = new('pending')
14
16
  COMPLETED = new('completed')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class WalletTransactionType < T::Enum
12
+
13
+
12
14
  enums do
13
15
  ACCOUNT_FUNDING = new('account-funding')
14
16
  ACH_REVERSAL = new('ach-reversal')
@@ -11,6 +11,8 @@ 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
+
14
16
  enums do
15
17
  DEFAULT = new('default')
16
18
  GENERAL = new('general')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class WebhookDataTransferStatus < T::Enum
12
+
13
+
12
14
  enums do
13
15
  CREATED = new('created')
14
16
  PENDING = new('pending')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # WebhookEventType - The type of event that occurred.
11
11
  class WebhookEventType < T::Enum
12
+
13
+
12
14
  enums do
13
15
  WILDCARD_ = new('*')
14
16
  ACCOUNT_CREATED = new('account.created')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # WebhookStatus - The status of a webhook.
11
11
  class WebhookStatus < T::Enum
12
+
13
+
12
14
  enums do
13
15
  ENABLED = new('enabled')
14
16
  DISABLED = new('disabled')
@@ -305,6 +305,7 @@ module Moov
305
305
  autoload :OtherCardFees, 'moov/models/components/othercardfees.rb'
306
306
  autoload :PartialScheduleAccount, 'moov/models/components/partialscheduleaccount.rb'
307
307
  autoload :PartnerFees, 'moov/models/components/partnerfees.rb'
308
+ autoload :PartnerPricing, 'moov/models/components/partnerpricing.rb'
308
309
  autoload :PartnerPricingAgreement, 'moov/models/components/partnerpricingagreement.rb'
309
310
  autoload :PatchAccount, 'moov/models/components/patchaccount.rb'
310
311
  autoload :PatchAccountCustomerSupport, 'moov/models/components/patchaccount_customersupport.rb'
@@ -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,6 +9,8 @@ module Moov
9
9
  module Operations
10
10
  # Hydrate
11
11
  class Hydrate < T::Enum
12
+
13
+
12
14
  enums do
13
15
  ACCOUNTS = new('accounts')
14
16
  end
@@ -0,0 +1,49 @@
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 Operations
10
+
11
+ class ListPartnerPricingRequest
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+
16
+ field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
17
+ # Specify an API version.
18
+ #
19
+ # API versioning follows the format `vYYYY.QQ.BB`, where
20
+ # - `YYYY` is the year
21
+ # - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
22
+ # - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
23
+ # - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
24
+ #
25
+ # The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
26
+ # When no version is specified, the API defaults to `v2024.01.00`.
27
+ field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
28
+ # A comma-separated list of plan IDs to filter the results by.
29
+ field :plan_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'planIDs', 'style': 'form', 'explode': false } }
30
+
31
+ sig { params(account_id: ::String, x_moov_version: T.nilable(::String), plan_i_ds: T.nilable(T::Array[::String])).void }
32
+ def initialize(account_id:, x_moov_version: nil, plan_i_ds: nil)
33
+ @account_id = account_id
34
+ @x_moov_version = x_moov_version
35
+ @plan_i_ds = plan_i_ds
36
+ end
37
+
38
+ sig { params(other: T.untyped).returns(T::Boolean) }
39
+ def ==(other)
40
+ return false unless other.is_a? self.class
41
+ return false unless @account_id == other.account_id
42
+ return false unless @x_moov_version == other.x_moov_version
43
+ return false unless @plan_i_ds == other.plan_i_ds
44
+ true
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,17 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Operations::ListPartnerPricingRequest
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Operations::ListPartnerPricingRequest
11
+ def account_id(); end
12
+ def account_id=(str_); end
13
+ def x_moov_version(); end
14
+ def x_moov_version=(str_); end
15
+ def plan_i_ds(); end
16
+ def plan_i_ds=(str_); end
17
+ end
@@ -0,0 +1,48 @@
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 Operations
10
+
11
+ class ListPartnerPricingResponse
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+ # HTTP response content type for this operation
16
+ field :content_type, ::String
17
+ # HTTP response status code for this operation
18
+ field :status_code, ::Integer
19
+ # Raw HTTP response; suitable for custom response parsing
20
+ field :raw_response, ::Faraday::Response
21
+
22
+ field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
23
+ # The request completed successfully.
24
+ field :partner_pricings, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::PartnerPricing))
25
+
26
+ sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], partner_pricings: T.nilable(T::Array[Models::Components::PartnerPricing])).void }
27
+ def initialize(content_type:, status_code:, raw_response:, headers:, partner_pricings: nil)
28
+ @content_type = content_type
29
+ @status_code = status_code
30
+ @raw_response = raw_response
31
+ @headers = headers
32
+ @partner_pricings = partner_pricings
33
+ end
34
+
35
+ sig { params(other: T.untyped).returns(T::Boolean) }
36
+ def ==(other)
37
+ return false unless other.is_a? self.class
38
+ return false unless @content_type == other.content_type
39
+ return false unless @status_code == other.status_code
40
+ return false unless @raw_response == other.raw_response
41
+ return false unless @headers == other.headers
42
+ return false unless @partner_pricings == other.partner_pricings
43
+ true
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,21 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Operations::ListPartnerPricingResponse
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Operations::ListPartnerPricingResponse
11
+ def content_type(); end
12
+ def content_type=(str_); end
13
+ def status_code(); end
14
+ def status_code=(str_); end
15
+ def raw_response(); end
16
+ def raw_response=(str_); end
17
+ def headers(); end
18
+ def headers=(str_); end
19
+ def partner_pricings(); end
20
+ def partner_pricings=(str_); end
21
+ end
@@ -239,6 +239,8 @@ module Moov
239
239
  autoload :ListOnboardingInvitesResponse, 'moov/models/operations/listonboardinginvites_response.rb'
240
240
  autoload :ListPartnerPricingAgreementsRequest, 'moov/models/operations/listpartnerpricingagreements_request.rb'
241
241
  autoload :ListPartnerPricingAgreementsResponse, 'moov/models/operations/listpartnerpricingagreements_response.rb'
242
+ autoload :ListPartnerPricingRequest, 'moov/models/operations/listpartnerpricing_request.rb'
243
+ autoload :ListPartnerPricingResponse, 'moov/models/operations/listpartnerpricing_response.rb'
242
244
  autoload :ListPaymentLinksRequest, 'moov/models/operations/listpaymentlinks_request.rb'
243
245
  autoload :ListPaymentLinksResponse, 'moov/models/operations/listpaymentlinks_response.rb'
244
246
  autoload :ListPaymentMethodsRequest, 'moov/models/operations/listpaymentmethods_request.rb'
@@ -94,10 +94,10 @@ module Moov
94
94
  end
95
95
  @globals = globals.nil? ? {} : globals
96
96
  @language = 'ruby'
97
- @openapi_doc_version = 'v2024.01.00'
98
- @sdk_version = '24.1.2'
99
- @gen_version = '2.816.0'
100
- @user_agent = 'speakeasy-sdk/ruby 24.1.2 2.816.0 v2024.01.00 moov_ruby'
97
+ @openapi_doc_version = 'v2025.01.00'
98
+ @sdk_version = '25.1.0-dev.0'
99
+ @gen_version = '2.801.2'
100
+ @user_agent = 'speakeasy-sdk/ruby 25.1.0-dev.0 2.801.2 v2025.01.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)}}", val_to_string(param))
77
+ path = path.sub("{#{param_metadata.fetch(:field_name, f.name)}}", param.to_s)
78
78
  end
79
79
  end
80
80
  end
@@ -102,18 +102,6 @@ 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
-
117
105
  sig { params(name: String).returns(T.proc.returns(String)) }
118
106
  def self.field_name(name)
119
107
  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: 24.1.2
4
+ version: 25.1.0.pre.dev.0
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 00:00:00.000000000 Z
11
+ date: 2026-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64
@@ -219,7 +219,6 @@ extensions: []
219
219
  extra_rdoc_files: []
220
220
  files:
221
221
  - lib/crystalline.rb
222
- - lib/crystalline/enum.rbi
223
222
  - lib/crystalline/metadata_fields.rb
224
223
  - lib/crystalline/module.rb
225
224
  - lib/crystalline/types.rb
@@ -868,6 +867,8 @@ files:
868
867
  - lib/moov/models/components/partialscheduleaccount.rbi
869
868
  - lib/moov/models/components/partnerfees.rb
870
869
  - lib/moov/models/components/partnerfees.rbi
870
+ - lib/moov/models/components/partnerpricing.rb
871
+ - lib/moov/models/components/partnerpricing.rbi
871
872
  - lib/moov/models/components/partnerpricingagreement.rb
872
873
  - lib/moov/models/components/partnerpricingagreement.rbi
873
874
  - lib/moov/models/components/patchaccount.rb
@@ -1872,6 +1873,10 @@ files:
1872
1873
  - lib/moov/models/operations/listonboardinginvites_request.rbi
1873
1874
  - lib/moov/models/operations/listonboardinginvites_response.rb
1874
1875
  - lib/moov/models/operations/listonboardinginvites_response.rbi
1876
+ - lib/moov/models/operations/listpartnerpricing_request.rb
1877
+ - lib/moov/models/operations/listpartnerpricing_request.rbi
1878
+ - lib/moov/models/operations/listpartnerpricing_response.rb
1879
+ - lib/moov/models/operations/listpartnerpricing_response.rbi
1875
1880
  - lib/moov/models/operations/listpartnerpricingagreements_request.rb
1876
1881
  - lib/moov/models/operations/listpartnerpricingagreements_request.rbi
1877
1882
  - lib/moov/models/operations/listpartnerpricingagreements_response.rb
@@ -2121,9 +2126,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
2121
2126
  version: '3.2'
2122
2127
  required_rubygems_version: !ruby/object:Gem::Requirement
2123
2128
  requirements:
2124
- - - ">="
2129
+ - - ">"
2125
2130
  - !ruby/object:Gem::Version
2126
- version: '0'
2131
+ version: 1.3.1
2127
2132
  requirements: []
2128
2133
  rubygems_version: 3.4.19
2129
2134
  signing_key:
@@ -1,17 +0,0 @@
1
- # typed: true
2
-
3
- module Crystalline
4
- module Enum
5
- mixes_in_class_methods(ClassMethods)
6
-
7
- module ClassMethods
8
- def enums(&blk); end
9
- def open!; end
10
- def open?; end
11
- def deserialize(val); end
12
- end
13
-
14
- def serialize; end
15
- def known?; end
16
- end
17
- end