lithic 0.1.0.pre.alpha.54 → 0.1.0.pre.alpha.55

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 (134) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +2 -2
  5. data/lib/lithic/models/account_holder_update_response.rb +4 -4
  6. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +252 -0
  7. data/lib/lithic/models/auth_rules/v2_create_params.rb +38 -284
  8. data/lib/lithic/models/auth_rules/v2_create_response.rb +8 -508
  9. data/lib/lithic/models/auth_rules/v2_draft_params.rb +4 -250
  10. data/lib/lithic/models/auth_rules/v2_draft_response.rb +8 -508
  11. data/lib/lithic/models/auth_rules/v2_list_response.rb +8 -508
  12. data/lib/lithic/models/auth_rules/v2_promote_response.rb +8 -508
  13. data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
  14. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +8 -508
  15. data/lib/lithic/models/auth_rules/v2_update_response.rb +8 -508
  16. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -7
  17. data/lib/lithic/models/auth_rules/velocity_limit_period.rb +154 -0
  18. data/lib/lithic/models/book_transfer_response.rb +5 -5
  19. data/lib/lithic/models/dispute.rb +510 -242
  20. data/lib/lithic/models/dispute_create_response.rb +326 -0
  21. data/lib/lithic/models/dispute_delete_response.rb +326 -0
  22. data/lib/lithic/models/dispute_list_response.rb +326 -0
  23. data/lib/lithic/models/dispute_retrieve_response.rb +326 -0
  24. data/lib/lithic/models/dispute_update_response.rb +326 -0
  25. data/lib/lithic/models/event.rb +213 -69
  26. data/lib/lithic/models/event_list_params.rb +112 -6
  27. data/lib/lithic/models/event_subscription.rb +112 -6
  28. data/lib/lithic/models/events/subscription_create_params.rb +112 -6
  29. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +12 -6
  30. data/lib/lithic/models/events/subscription_update_params.rb +112 -6
  31. data/lib/lithic/models/financial_account.rb +1 -65
  32. data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
  33. data/lib/lithic/models/financial_accounts/loan_tape.rb +99 -3
  34. data/lib/lithic/models/financial_accounts/statement.rb +66 -2
  35. data/lib/lithic/models/payment.rb +9 -9
  36. data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
  37. data/lib/lithic/models/tokenization.rb +189 -23
  38. data/lib/lithic/models/transaction.rb +12 -116
  39. data/lib/lithic/models/transactions/events/enhanced_data.rb +9 -9
  40. data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -5
  41. data/lib/lithic/resources/auth_rules/v2.rb +13 -56
  42. data/lib/lithic/resources/disputes.rb +10 -10
  43. data/lib/lithic/resources/payments.rb +5 -1
  44. data/lib/lithic/version.rb +1 -1
  45. data/lib/lithic.rb +7 -3
  46. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +3 -6
  47. data/rbi/lithic/models/account_holder_update_response.rbi +6 -12
  48. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +577 -0
  49. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +85 -679
  50. data/rbi/lithic/models/auth_rules/v2_create_response.rbi +4 -1146
  51. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +4 -575
  52. data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +4 -1146
  53. data/rbi/lithic/models/auth_rules/v2_list_response.rbi +4 -1146
  54. data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +4 -1146
  55. data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
  56. data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +4 -1146
  57. data/rbi/lithic/models/auth_rules/v2_update_response.rbi +4 -1146
  58. data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +17 -29
  59. data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +223 -0
  60. data/rbi/lithic/models/book_transfer_response.rbi +14 -11
  61. data/rbi/lithic/models/dispute.rbi +942 -395
  62. data/rbi/lithic/models/dispute_create_response.rbi +599 -0
  63. data/rbi/lithic/models/dispute_delete_response.rbi +599 -0
  64. data/rbi/lithic/models/dispute_list_response.rbi +582 -0
  65. data/rbi/lithic/models/dispute_retrieve_response.rbi +601 -0
  66. data/rbi/lithic/models/dispute_update_response.rbi +599 -0
  67. data/rbi/lithic/models/event.rbi +348 -111
  68. data/rbi/lithic/models/event_list_params.rbi +155 -25
  69. data/rbi/lithic/models/event_subscription.rbi +155 -25
  70. data/rbi/lithic/models/events/subscription_create_params.rbi +155 -25
  71. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +55 -25
  72. data/rbi/lithic/models/events/subscription_update_params.rbi +155 -25
  73. data/rbi/lithic/models/financial_account.rbi +3 -132
  74. data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
  75. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +132 -9
  76. data/rbi/lithic/models/financial_accounts/statement.rbi +88 -6
  77. data/rbi/lithic/models/payment.rbi +11 -14
  78. data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -0
  79. data/rbi/lithic/models/tokenization.rbi +429 -34
  80. data/rbi/lithic/models/transaction.rbi +22 -246
  81. data/rbi/lithic/models/transactions/events/enhanced_data.rbi +12 -12
  82. data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
  83. data/rbi/lithic/resources/auth_rules/v2.rbi +24 -72
  84. data/rbi/lithic/resources/disputes.rbi +7 -5
  85. data/rbi/lithic/resources/payments.rbi +6 -0
  86. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +4 -6
  87. data/sig/lithic/models/account_holder_update_response.rbs +8 -12
  88. data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +163 -0
  89. data/sig/lithic/models/auth_rules/v2_create_params.rbs +22 -188
  90. data/sig/lithic/models/auth_rules/v2_create_response.rbs +2 -318
  91. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -159
  92. data/sig/lithic/models/auth_rules/v2_draft_response.rbs +2 -318
  93. data/sig/lithic/models/auth_rules/v2_list_response.rbs +2 -318
  94. data/sig/lithic/models/auth_rules/v2_promote_response.rbs +2 -318
  95. data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
  96. data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +2 -318
  97. data/sig/lithic/models/auth_rules/v2_update_response.rbs +2 -318
  98. data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -4
  99. data/sig/lithic/models/auth_rules/velocity_limit_period.rbs +91 -0
  100. data/sig/lithic/models/book_transfer_response.rbs +7 -7
  101. data/sig/lithic/models/dispute.rbs +417 -157
  102. data/sig/lithic/models/dispute_create_response.rbs +210 -0
  103. data/sig/lithic/models/dispute_delete_response.rbs +210 -0
  104. data/sig/lithic/models/dispute_list_response.rbs +210 -0
  105. data/sig/lithic/models/dispute_retrieve_response.rbs +210 -0
  106. data/sig/lithic/models/dispute_update_response.rbs +210 -0
  107. data/sig/lithic/models/event.rbs +25 -13
  108. data/sig/lithic/models/event_list_params.rbs +25 -13
  109. data/sig/lithic/models/event_subscription.rbs +25 -13
  110. data/sig/lithic/models/events/subscription_create_params.rbs +25 -13
  111. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +25 -13
  112. data/sig/lithic/models/events/subscription_update_params.rbs +25 -13
  113. data/sig/lithic/models/financial_account.rbs +3 -45
  114. data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
  115. data/sig/lithic/models/financial_accounts/loan_tape.rbs +87 -9
  116. data/sig/lithic/models/financial_accounts/statement.rbs +58 -6
  117. data/sig/lithic/models/payment.rbs +8 -10
  118. data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
  119. data/sig/lithic/models/tokenization.rbs +160 -13
  120. data/sig/lithic/models/transaction.rbs +13 -94
  121. data/sig/lithic/models/transactions/events/enhanced_data.rbs +15 -15
  122. data/sig/lithic/resources/auth_rules/v2.rbs +2 -12
  123. data/sig/lithic/resources/disputes.rbs +5 -5
  124. data/sig/lithic/resources/payments.rbs +2 -0
  125. metadata +23 -11
  126. data/lib/lithic/models/auth_rules/v2_apply_params.rb +0 -56
  127. data/lib/lithic/models/auth_rules/v2_apply_response.rb +0 -766
  128. data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +0 -248
  129. data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +0 -86
  130. data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +0 -1638
  131. data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +0 -557
  132. data/sig/lithic/models/auth_rules/v2_apply_params.rbs +0 -54
  133. data/sig/lithic/models/auth_rules/v2_apply_response.rbs +0 -509
  134. data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +0 -223
@@ -22,20 +22,15 @@ module Lithic
22
22
  end
23
23
  attr_writer :filters
24
24
 
25
- # DEPRECATED: This has been deprecated in favor of the Trailing Window Objects
26
- #
27
- # The size of the trailing window to calculate Spend Velocity over in seconds. The
28
- # minimum value is 10 seconds, and the maximum value is 2678400 seconds (31 days).
25
+ # Velocity over the current day since 00:00 / 12 AM in Eastern Time
29
26
  sig do
30
27
  returns(
31
28
  T.any(
32
- Integer,
33
- Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindow::OrSymbol,
34
- Lithic::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject,
35
- Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay,
36
- Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek,
37
- Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth,
38
- Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear
29
+ Lithic::AuthRules::VelocityLimitPeriod::TrailingWindowObject,
30
+ Lithic::AuthRules::VelocityLimitPeriod::FixedWindowDay,
31
+ Lithic::AuthRules::VelocityLimitPeriod::FixedWindowWeek,
32
+ Lithic::AuthRules::VelocityLimitPeriod::FixedWindowMonth,
33
+ Lithic::AuthRules::VelocityLimitPeriod::FixedWindowYear
39
34
  )
40
35
  )
41
36
  end
@@ -64,13 +59,11 @@ module Lithic
64
59
  filters: Lithic::AuthRules::VelocityLimitParams::Filters::OrHash,
65
60
  period:
66
61
  T.any(
67
- Integer,
68
- Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindow::OrSymbol,
69
- Lithic::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject::OrHash,
70
- Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay::OrHash,
71
- Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek::OrHash,
72
- Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth::OrHash,
73
- Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear::OrHash
62
+ Lithic::AuthRules::VelocityLimitPeriod::TrailingWindowObject::OrHash,
63
+ Lithic::AuthRules::VelocityLimitPeriod::FixedWindowDay::OrHash,
64
+ Lithic::AuthRules::VelocityLimitPeriod::FixedWindowWeek::OrHash,
65
+ Lithic::AuthRules::VelocityLimitPeriod::FixedWindowMonth::OrHash,
66
+ Lithic::AuthRules::VelocityLimitPeriod::FixedWindowYear::OrHash
74
67
  ),
75
68
  scope: Lithic::AuthRules::VelocityLimitParams::Scope::OrSymbol,
76
69
  limit_amount: T.nilable(Integer),
@@ -79,10 +72,7 @@ module Lithic
79
72
  end
80
73
  def self.new(
81
74
  filters:,
82
- # DEPRECATED: This has been deprecated in favor of the Trailing Window Objects
83
- #
84
- # The size of the trailing window to calculate Spend Velocity over in seconds. The
85
- # minimum value is 10 seconds, and the maximum value is 2678400 seconds (31 days).
75
+ # Velocity over the current day since 00:00 / 12 AM in Eastern Time
86
76
  period:,
87
77
  # The scope the velocity is calculated for
88
78
  scope:,
@@ -105,13 +95,11 @@ module Lithic
105
95
  filters: Lithic::AuthRules::VelocityLimitParams::Filters,
106
96
  period:
107
97
  T.any(
108
- Integer,
109
- Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindow::OrSymbol,
110
- Lithic::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject,
111
- Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay,
112
- Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek,
113
- Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth,
114
- Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear
98
+ Lithic::AuthRules::VelocityLimitPeriod::TrailingWindowObject,
99
+ Lithic::AuthRules::VelocityLimitPeriod::FixedWindowDay,
100
+ Lithic::AuthRules::VelocityLimitPeriod::FixedWindowWeek,
101
+ Lithic::AuthRules::VelocityLimitPeriod::FixedWindowMonth,
102
+ Lithic::AuthRules::VelocityLimitPeriod::FixedWindowYear
115
103
  ),
116
104
  scope: Lithic::AuthRules::VelocityLimitParams::Scope::OrSymbol,
117
105
  limit_amount: T.nilable(Integer),
@@ -0,0 +1,223 @@
1
+ # typed: strong
2
+
3
+ module Lithic
4
+ module Models
5
+ module AuthRules
6
+ # Velocity over the current day since 00:00 / 12 AM in Eastern Time
7
+ module VelocityLimitPeriod
8
+ extend Lithic::Internal::Type::Union
9
+
10
+ Variants =
11
+ T.type_alias do
12
+ T.any(
13
+ Lithic::AuthRules::VelocityLimitPeriod::TrailingWindowObject,
14
+ Lithic::AuthRules::VelocityLimitPeriod::FixedWindowDay,
15
+ Lithic::AuthRules::VelocityLimitPeriod::FixedWindowWeek,
16
+ Lithic::AuthRules::VelocityLimitPeriod::FixedWindowMonth,
17
+ Lithic::AuthRules::VelocityLimitPeriod::FixedWindowYear
18
+ )
19
+ end
20
+
21
+ class TrailingWindowObject < Lithic::Internal::Type::BaseModel
22
+ OrHash =
23
+ T.type_alias do
24
+ T.any(
25
+ Lithic::AuthRules::VelocityLimitPeriod::TrailingWindowObject,
26
+ Lithic::Internal::AnyHash
27
+ )
28
+ end
29
+
30
+ # The size of the trailing window to calculate Spend Velocity over in seconds. The
31
+ # minimum value is 10 seconds, and the maximum value is 2678400 seconds (31 days).
32
+ sig { returns(Integer) }
33
+ attr_accessor :duration
34
+
35
+ sig { returns(Symbol) }
36
+ attr_accessor :type
37
+
38
+ sig do
39
+ params(duration: Integer, type: Symbol).returns(T.attached_class)
40
+ end
41
+ def self.new(
42
+ # The size of the trailing window to calculate Spend Velocity over in seconds. The
43
+ # minimum value is 10 seconds, and the maximum value is 2678400 seconds (31 days).
44
+ duration:,
45
+ type: :CUSTOM
46
+ )
47
+ end
48
+
49
+ sig { override.returns({ duration: Integer, type: Symbol }) }
50
+ def to_hash
51
+ end
52
+ end
53
+
54
+ class FixedWindowDay < Lithic::Internal::Type::BaseModel
55
+ OrHash =
56
+ T.type_alias do
57
+ T.any(
58
+ Lithic::AuthRules::VelocityLimitPeriod::FixedWindowDay,
59
+ Lithic::Internal::AnyHash
60
+ )
61
+ end
62
+
63
+ sig { returns(Symbol) }
64
+ attr_accessor :type
65
+
66
+ # Velocity over the current day since 00:00 / 12 AM in Eastern Time
67
+ sig { params(type: Symbol).returns(T.attached_class) }
68
+ def self.new(type: :DAY)
69
+ end
70
+
71
+ sig { override.returns({ type: Symbol }) }
72
+ def to_hash
73
+ end
74
+ end
75
+
76
+ class FixedWindowWeek < Lithic::Internal::Type::BaseModel
77
+ OrHash =
78
+ T.type_alias do
79
+ T.any(
80
+ Lithic::AuthRules::VelocityLimitPeriod::FixedWindowWeek,
81
+ Lithic::Internal::AnyHash
82
+ )
83
+ end
84
+
85
+ sig { returns(Symbol) }
86
+ attr_accessor :type
87
+
88
+ # The day of the week to start the week from. Following ISO-8601, 1 is Monday and
89
+ # 7 is Sunday. Defaults to Monday if not specified.
90
+ sig { returns(T.nilable(Integer)) }
91
+ attr_reader :day_of_week
92
+
93
+ sig { params(day_of_week: Integer).void }
94
+ attr_writer :day_of_week
95
+
96
+ # Velocity over the current week since 00:00 / 12 AM in Eastern Time on specified
97
+ # `day_of_week`
98
+ sig do
99
+ params(day_of_week: Integer, type: Symbol).returns(T.attached_class)
100
+ end
101
+ def self.new(
102
+ # The day of the week to start the week from. Following ISO-8601, 1 is Monday and
103
+ # 7 is Sunday. Defaults to Monday if not specified.
104
+ day_of_week: nil,
105
+ type: :WEEK
106
+ )
107
+ end
108
+
109
+ sig { override.returns({ type: Symbol, day_of_week: Integer }) }
110
+ def to_hash
111
+ end
112
+ end
113
+
114
+ class FixedWindowMonth < Lithic::Internal::Type::BaseModel
115
+ OrHash =
116
+ T.type_alias do
117
+ T.any(
118
+ Lithic::AuthRules::VelocityLimitPeriod::FixedWindowMonth,
119
+ Lithic::Internal::AnyHash
120
+ )
121
+ end
122
+
123
+ sig { returns(Symbol) }
124
+ attr_accessor :type
125
+
126
+ # The day of the month to start from. Accepts values from 1 to 31, and will reset
127
+ # at the end of the month if the day exceeds the number of days in the month.
128
+ # Defaults to the 1st of the month if not specified.
129
+ sig { returns(T.nilable(Integer)) }
130
+ attr_reader :day_of_month
131
+
132
+ sig { params(day_of_month: Integer).void }
133
+ attr_writer :day_of_month
134
+
135
+ # Velocity over the current month since 00:00 / 12 AM in Eastern Time on specified
136
+ # `day_of_month`.
137
+ sig do
138
+ params(day_of_month: Integer, type: Symbol).returns(
139
+ T.attached_class
140
+ )
141
+ end
142
+ def self.new(
143
+ # The day of the month to start from. Accepts values from 1 to 31, and will reset
144
+ # at the end of the month if the day exceeds the number of days in the month.
145
+ # Defaults to the 1st of the month if not specified.
146
+ day_of_month: nil,
147
+ type: :MONTH
148
+ )
149
+ end
150
+
151
+ sig { override.returns({ type: Symbol, day_of_month: Integer }) }
152
+ def to_hash
153
+ end
154
+ end
155
+
156
+ class FixedWindowYear < Lithic::Internal::Type::BaseModel
157
+ OrHash =
158
+ T.type_alias do
159
+ T.any(
160
+ Lithic::AuthRules::VelocityLimitPeriod::FixedWindowYear,
161
+ Lithic::Internal::AnyHash
162
+ )
163
+ end
164
+
165
+ sig { returns(Symbol) }
166
+ attr_accessor :type
167
+
168
+ # The day of the month to start from. Defaults to the 1st of the month if not
169
+ # specified.
170
+ sig { returns(T.nilable(Integer)) }
171
+ attr_reader :day_of_month
172
+
173
+ sig { params(day_of_month: Integer).void }
174
+ attr_writer :day_of_month
175
+
176
+ # The month to start from. 1 is January and 12 is December. Defaults to January if
177
+ # not specified.
178
+ sig { returns(T.nilable(Integer)) }
179
+ attr_reader :month
180
+
181
+ sig { params(month: Integer).void }
182
+ attr_writer :month
183
+
184
+ # Velocity over the current year since 00:00 / 12 AM in Eastern Time on specified
185
+ # `month` and `day_of_month`. This validates the month and day of the year to
186
+ # start from is a real date. In the event that February 29th is selected, in
187
+ # non-leap years, the window will start from February 28th.
188
+ sig do
189
+ params(day_of_month: Integer, month: Integer, type: Symbol).returns(
190
+ T.attached_class
191
+ )
192
+ end
193
+ def self.new(
194
+ # The day of the month to start from. Defaults to the 1st of the month if not
195
+ # specified.
196
+ day_of_month: nil,
197
+ # The month to start from. 1 is January and 12 is December. Defaults to January if
198
+ # not specified.
199
+ month: nil,
200
+ type: :YEAR
201
+ )
202
+ end
203
+
204
+ sig do
205
+ override.returns(
206
+ { type: Symbol, day_of_month: Integer, month: Integer }
207
+ )
208
+ end
209
+ def to_hash
210
+ end
211
+ end
212
+
213
+ sig do
214
+ override.returns(
215
+ T::Array[Lithic::AuthRules::VelocityLimitPeriod::Variants]
216
+ )
217
+ end
218
+ def self.variants
219
+ end
220
+ end
221
+ end
222
+ end
223
+ end
@@ -255,7 +255,9 @@ module Lithic
255
255
 
256
256
  sig do
257
257
  returns(
258
- Lithic::BookTransferResponse::Event::DetailedResults::TaggedSymbol
258
+ T::Array[
259
+ Lithic::BookTransferResponse::Event::DetailedResult::TaggedSymbol
260
+ ]
259
261
  )
260
262
  end
261
263
  attr_accessor :detailed_results
@@ -286,7 +288,9 @@ module Lithic
286
288
  amount: Integer,
287
289
  created: Time,
288
290
  detailed_results:
289
- Lithic::BookTransferResponse::Event::DetailedResults::OrSymbol,
291
+ T::Array[
292
+ Lithic::BookTransferResponse::Event::DetailedResult::OrSymbol
293
+ ],
290
294
  memo: String,
291
295
  result: Lithic::BookTransferResponse::Event::Result::OrSymbol,
292
296
  subtype: String,
@@ -321,7 +325,9 @@ module Lithic
321
325
  amount: Integer,
322
326
  created: Time,
323
327
  detailed_results:
324
- Lithic::BookTransferResponse::Event::DetailedResults::TaggedSymbol,
328
+ T::Array[
329
+ Lithic::BookTransferResponse::Event::DetailedResult::TaggedSymbol
330
+ ],
325
331
  memo: String,
326
332
  result: Lithic::BookTransferResponse::Event::Result::TaggedSymbol,
327
333
  subtype: String,
@@ -332,33 +338,30 @@ module Lithic
332
338
  def to_hash
333
339
  end
334
340
 
335
- module DetailedResults
341
+ module DetailedResult
336
342
  extend Lithic::Internal::Type::Enum
337
343
 
338
344
  TaggedSymbol =
339
345
  T.type_alias do
340
- T.all(
341
- Symbol,
342
- Lithic::BookTransferResponse::Event::DetailedResults
343
- )
346
+ T.all(Symbol, Lithic::BookTransferResponse::Event::DetailedResult)
344
347
  end
345
348
  OrSymbol = T.type_alias { T.any(Symbol, String) }
346
349
 
347
350
  APPROVED =
348
351
  T.let(
349
352
  :APPROVED,
350
- Lithic::BookTransferResponse::Event::DetailedResults::TaggedSymbol
353
+ Lithic::BookTransferResponse::Event::DetailedResult::TaggedSymbol
351
354
  )
352
355
  FUNDS_INSUFFICIENT =
353
356
  T.let(
354
357
  :FUNDS_INSUFFICIENT,
355
- Lithic::BookTransferResponse::Event::DetailedResults::TaggedSymbol
358
+ Lithic::BookTransferResponse::Event::DetailedResult::TaggedSymbol
356
359
  )
357
360
 
358
361
  sig do
359
362
  override.returns(
360
363
  T::Array[
361
- Lithic::BookTransferResponse::Event::DetailedResults::TaggedSymbol
364
+ Lithic::BookTransferResponse::Event::DetailedResult::TaggedSymbol
362
365
  ]
363
366
  )
364
367
  end