increase 1.215.0 → 1.217.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.
@@ -107,18 +107,27 @@ module Increase
107
107
 
108
108
  type card_authentication_challenge =
109
109
  {
110
- result: Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::result
110
+ result: Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::result,
111
+ success: Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::Success
111
112
  }
112
113
 
113
114
  class CardAuthenticationChallenge < Increase::Internal::Type::BaseModel
114
115
  attr_accessor result: Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::result
115
116
 
117
+ attr_reader success: Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::Success?
118
+
119
+ def success=: (
120
+ Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::Success
121
+ ) -> Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::Success
122
+
116
123
  def initialize: (
117
- result: Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::result
124
+ result: Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::result,
125
+ ?success: Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::Success
118
126
  ) -> void
119
127
 
120
128
  def to_hash: -> {
121
- result: Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::result
129
+ result: Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::result,
130
+ success: Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::Success
122
131
  }
123
132
 
124
133
  type result = :success | :failure
@@ -134,6 +143,22 @@ module Increase
134
143
 
135
144
  def self?.values: -> ::Array[Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::result]
136
145
  end
146
+
147
+ type success = { email: String, phone: String }
148
+
149
+ class Success < Increase::Internal::Type::BaseModel
150
+ attr_reader email: String?
151
+
152
+ def email=: (String) -> String
153
+
154
+ attr_reader phone: String?
155
+
156
+ def phone=: (String) -> String
157
+
158
+ def initialize: (?email: String, ?phone: String) -> void
159
+
160
+ def to_hash: -> { email: String, phone: String }
161
+ end
137
162
  end
138
163
 
139
164
  type card_authorization =
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.215.0
4
+ version: 1.217.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase