lithic 0.1.0.pre.alpha.38 → 0.1.0.pre.alpha.40

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 (122) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/client.rb +4 -0
  5. data/lib/lithic/models/account.rb +88 -1
  6. data/lib/lithic/models/account_update_params.rb +86 -1
  7. data/lib/lithic/models/aggregate_balance.rb +1 -0
  8. data/lib/lithic/models/aggregate_balance_list_params.rb +1 -0
  9. data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +4 -10
  10. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +3 -25
  11. data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +238 -16
  12. data/lib/lithic/models/balance.rb +1 -0
  13. data/lib/lithic/models/balance_list_params.rb +1 -0
  14. data/lib/lithic/models/card_create_params.rb +90 -1
  15. data/lib/lithic/models/card_program.rb +10 -1
  16. data/lib/lithic/models/card_update_params.rb +98 -1
  17. data/lib/lithic/models/cards/balance_list_response.rb +1 -0
  18. data/lib/lithic/models/event.rb +2 -0
  19. data/lib/lithic/models/event_list_params.rb +2 -0
  20. data/lib/lithic/models/event_subscription.rb +2 -0
  21. data/lib/lithic/models/events/subscription_create_params.rb +2 -0
  22. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -0
  23. data/lib/lithic/models/events/subscription_update_params.rb +2 -0
  24. data/lib/lithic/models/external_resource.rb +34 -0
  25. data/lib/lithic/models/external_resource_type.rb +18 -0
  26. data/lib/lithic/models/financial_account_list_params.rb +1 -0
  27. data/lib/lithic/models/financial_accounts/balance_list_response.rb +1 -0
  28. data/lib/lithic/models/management_operation_create_params.rb +30 -1
  29. data/lib/lithic/models/management_operation_transaction.rb +22 -1
  30. data/lib/lithic/models/network_program.rb +41 -0
  31. data/lib/lithic/models/network_program_list_params.rb +43 -0
  32. data/lib/lithic/models/network_program_retrieve_params.rb +14 -0
  33. data/lib/lithic/models/non_pci_card.rb +88 -1
  34. data/lib/lithic/models/payment_simulate_action_params.rb +1 -0
  35. data/lib/lithic/models/reports/settlement/network_total_list_response.rb +16 -6
  36. data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +16 -6
  37. data/lib/lithic/models/transaction.rb +31 -20
  38. data/lib/lithic/models.rb +10 -0
  39. data/lib/lithic/resources/accounts.rb +5 -1
  40. data/lib/lithic/resources/cards.rb +12 -2
  41. data/lib/lithic/resources/management_operations.rb +13 -1
  42. data/lib/lithic/resources/network_programs.rb +64 -0
  43. data/lib/lithic/version.rb +1 -1
  44. data/lib/lithic.rb +6 -0
  45. data/rbi/lithic/client.rbi +3 -0
  46. data/rbi/lithic/models/account.rbi +131 -0
  47. data/rbi/lithic/models/account_update_params.rbi +159 -0
  48. data/rbi/lithic/models/aggregate_balance.rbi +5 -0
  49. data/rbi/lithic/models/aggregate_balance_list_params.rbi +5 -0
  50. data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +6 -15
  51. data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +18 -25
  52. data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +527 -31
  53. data/rbi/lithic/models/balance.rbi +2 -0
  54. data/rbi/lithic/models/balance_list_params.rbi +5 -0
  55. data/rbi/lithic/models/card_create_params.rbi +190 -0
  56. data/rbi/lithic/models/card_program.rbi +13 -0
  57. data/rbi/lithic/models/card_update_params.rbi +168 -0
  58. data/rbi/lithic/models/cards/balance_list_response.rbi +5 -0
  59. data/rbi/lithic/models/event.rbi +10 -0
  60. data/rbi/lithic/models/event_list_params.rbi +10 -0
  61. data/rbi/lithic/models/event_subscription.rbi +10 -0
  62. data/rbi/lithic/models/events/subscription_create_params.rbi +10 -0
  63. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +10 -0
  64. data/rbi/lithic/models/events/subscription_update_params.rbi +10 -0
  65. data/rbi/lithic/models/external_resource.rbi +57 -0
  66. data/rbi/lithic/models/external_resource_type.rbi +26 -0
  67. data/rbi/lithic/models/financial_account_list_params.rbi +5 -0
  68. data/rbi/lithic/models/financial_accounts/balance_list_response.rbi +5 -0
  69. data/rbi/lithic/models/management_operation_create_params.rbi +59 -0
  70. data/rbi/lithic/models/management_operation_transaction.rbi +15 -0
  71. data/rbi/lithic/models/network_program.rbi +61 -0
  72. data/rbi/lithic/models/network_program_list_params.rbi +72 -0
  73. data/rbi/lithic/models/network_program_retrieve_params.rbi +27 -0
  74. data/rbi/lithic/models/non_pci_card.rbi +133 -3
  75. data/rbi/lithic/models/payment_simulate_action_params.rbi +5 -0
  76. data/rbi/lithic/models/reports/settlement/network_total_list_response.rbi +21 -6
  77. data/rbi/lithic/models/reports/settlement/network_total_retrieve_response.rbi +21 -6
  78. data/rbi/lithic/models/transaction.rbi +23 -31
  79. data/rbi/lithic/models.rbi +10 -0
  80. data/rbi/lithic/resources/accounts.rbi +32 -0
  81. data/rbi/lithic/resources/cards.rbi +70 -0
  82. data/rbi/lithic/resources/management_operations.rbi +4 -0
  83. data/rbi/lithic/resources/network_programs.rbi +48 -0
  84. data/sig/lithic/client.rbs +2 -0
  85. data/sig/lithic/models/account.rbs +41 -0
  86. data/sig/lithic/models/account_update_params.rbs +41 -0
  87. data/sig/lithic/models/aggregate_balance.rbs +2 -1
  88. data/sig/lithic/models/aggregate_balance_list_params.rbs +2 -1
  89. data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -14
  90. data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +212 -7
  91. data/sig/lithic/models/balance.rbs +2 -1
  92. data/sig/lithic/models/balance_list_params.rbs +2 -1
  93. data/sig/lithic/models/card_create_params.rbs +47 -0
  94. data/sig/lithic/models/card_program.rbs +7 -0
  95. data/sig/lithic/models/card_update_params.rbs +55 -1
  96. data/sig/lithic/models/cards/balance_list_response.rbs +2 -1
  97. data/sig/lithic/models/event.rbs +4 -0
  98. data/sig/lithic/models/event_list_params.rbs +4 -0
  99. data/sig/lithic/models/event_subscription.rbs +4 -0
  100. data/sig/lithic/models/events/subscription_create_params.rbs +4 -0
  101. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +4 -0
  102. data/sig/lithic/models/events/subscription_update_params.rbs +4 -0
  103. data/sig/lithic/models/external_resource.rbs +32 -0
  104. data/sig/lithic/models/external_resource_type.rbs +16 -0
  105. data/sig/lithic/models/financial_account_list_params.rbs +2 -1
  106. data/sig/lithic/models/financial_accounts/balance_list_response.rbs +2 -1
  107. data/sig/lithic/models/management_operation_create_params.rbs +20 -0
  108. data/sig/lithic/models/management_operation_transaction.rbs +5 -0
  109. data/sig/lithic/models/network_program.rbs +35 -0
  110. data/sig/lithic/models/network_program_list_params.rbs +38 -0
  111. data/sig/lithic/models/network_program_retrieve_params.rbs +15 -0
  112. data/sig/lithic/models/non_pci_card.rbs +55 -3
  113. data/sig/lithic/models/payment_simulate_action_params.rbs +2 -0
  114. data/sig/lithic/models/reports/settlement/network_total_list_response.rbs +7 -1
  115. data/sig/lithic/models/reports/settlement/network_total_retrieve_response.rbs +7 -1
  116. data/sig/lithic/models/transaction.rbs +2 -6
  117. data/sig/lithic/models.rbs +10 -0
  118. data/sig/lithic/resources/accounts.rbs +2 -0
  119. data/sig/lithic/resources/cards.rbs +5 -0
  120. data/sig/lithic/resources/management_operations.rbs +1 -0
  121. data/sig/lithic/resources/network_programs.rbs +19 -0
  122. metadata +20 -2
@@ -11,6 +11,13 @@ module Lithic
11
11
  T.any(Lithic::AccountUpdateParams, Lithic::Internal::AnyHash)
12
12
  end
13
13
 
14
+ # Additional context or information related to the account.
15
+ sig { returns(T.nilable(String)) }
16
+ attr_reader :comment
17
+
18
+ sig { params(comment: String).void }
19
+ attr_writer :comment
20
+
14
21
  # Amount (in cents) for the account's daily spend limit (e.g. 100000 would be a
15
22
  # $1,000 limit). By default the daily spend limit is set to $1,250.
16
23
  sig { returns(T.nilable(Integer)) }
@@ -47,6 +54,43 @@ module Lithic
47
54
  sig { params(state: Lithic::AccountUpdateParams::State::OrSymbol).void }
48
55
  attr_writer :state
49
56
 
57
+ # Account state substatus values:
58
+ #
59
+ # - `FRAUD_IDENTIFIED` - The account has been recognized as being created or used
60
+ # with stolen or fabricated identity information, encompassing both true
61
+ # identity theft and synthetic identities.
62
+ # - `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as
63
+ # unauthorized access or fraudulent transactions, necessitating further
64
+ # investigation.
65
+ # - `RISK_VIOLATION` - The account has been involved in deliberate misuse by the
66
+ # legitimate account holder. Examples include disputing valid transactions
67
+ # without cause, falsely claiming non-receipt of goods, or engaging in
68
+ # intentional bust-out schemes to exploit account services.
69
+ # - `END_USER_REQUEST` - The account holder has voluntarily requested the closure
70
+ # of the account for personal reasons. This encompasses situations such as
71
+ # bankruptcy, other financial considerations, or the account holder's death.
72
+ # - `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to
73
+ # business strategy, risk management, inactivity, product changes, regulatory
74
+ # concerns, or violations of terms and conditions.
75
+ # - `NOT_ACTIVE` - The account has not had any transactions or payment activity
76
+ # within a specified period. This status applies to accounts that are paused or
77
+ # closed due to inactivity.
78
+ # - `INTERNAL_REVIEW` - The account is temporarily paused pending further internal
79
+ # review. In future implementations, this status may prevent clients from
80
+ # activating the account via APIs until the review is completed.
81
+ # - `OTHER` - The reason for the account's current status does not fall into any
82
+ # of the above categories. A comment should be provided to specify the
83
+ # particular reason.
84
+ sig do
85
+ returns(T.nilable(Lithic::AccountUpdateParams::Substatus::OrSymbol))
86
+ end
87
+ attr_reader :substatus
88
+
89
+ sig do
90
+ params(substatus: Lithic::AccountUpdateParams::Substatus::OrSymbol).void
91
+ end
92
+ attr_writer :substatus
93
+
50
94
  # Address used during Address Verification Service (AVS) checks during
51
95
  # transactions if enabled via Auth Rules. This field is deprecated as AVS checks
52
96
  # are no longer supported by Auth Rules. The field will be removed from the schema
@@ -66,16 +110,20 @@ module Lithic
66
110
 
67
111
  sig do
68
112
  params(
113
+ comment: String,
69
114
  daily_spend_limit: Integer,
70
115
  lifetime_spend_limit: Integer,
71
116
  monthly_spend_limit: Integer,
72
117
  state: Lithic::AccountUpdateParams::State::OrSymbol,
118
+ substatus: Lithic::AccountUpdateParams::Substatus::OrSymbol,
73
119
  verification_address:
74
120
  Lithic::AccountUpdateParams::VerificationAddress::OrHash,
75
121
  request_options: Lithic::RequestOptions::OrHash
76
122
  ).returns(T.attached_class)
77
123
  end
78
124
  def self.new(
125
+ # Additional context or information related to the account.
126
+ comment: nil,
79
127
  # Amount (in cents) for the account's daily spend limit (e.g. 100000 would be a
80
128
  # $1,000 limit). By default the daily spend limit is set to $1,250.
81
129
  daily_spend_limit: nil,
@@ -92,6 +140,34 @@ module Lithic
92
140
  monthly_spend_limit: nil,
93
141
  # Account states.
94
142
  state: nil,
143
+ # Account state substatus values:
144
+ #
145
+ # - `FRAUD_IDENTIFIED` - The account has been recognized as being created or used
146
+ # with stolen or fabricated identity information, encompassing both true
147
+ # identity theft and synthetic identities.
148
+ # - `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as
149
+ # unauthorized access or fraudulent transactions, necessitating further
150
+ # investigation.
151
+ # - `RISK_VIOLATION` - The account has been involved in deliberate misuse by the
152
+ # legitimate account holder. Examples include disputing valid transactions
153
+ # without cause, falsely claiming non-receipt of goods, or engaging in
154
+ # intentional bust-out schemes to exploit account services.
155
+ # - `END_USER_REQUEST` - The account holder has voluntarily requested the closure
156
+ # of the account for personal reasons. This encompasses situations such as
157
+ # bankruptcy, other financial considerations, or the account holder's death.
158
+ # - `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to
159
+ # business strategy, risk management, inactivity, product changes, regulatory
160
+ # concerns, or violations of terms and conditions.
161
+ # - `NOT_ACTIVE` - The account has not had any transactions or payment activity
162
+ # within a specified period. This status applies to accounts that are paused or
163
+ # closed due to inactivity.
164
+ # - `INTERNAL_REVIEW` - The account is temporarily paused pending further internal
165
+ # review. In future implementations, this status may prevent clients from
166
+ # activating the account via APIs until the review is completed.
167
+ # - `OTHER` - The reason for the account's current status does not fall into any
168
+ # of the above categories. A comment should be provided to specify the
169
+ # particular reason.
170
+ substatus: nil,
95
171
  # Address used during Address Verification Service (AVS) checks during
96
172
  # transactions if enabled via Auth Rules. This field is deprecated as AVS checks
97
173
  # are no longer supported by Auth Rules. The field will be removed from the schema
@@ -104,10 +180,12 @@ module Lithic
104
180
  sig do
105
181
  override.returns(
106
182
  {
183
+ comment: String,
107
184
  daily_spend_limit: Integer,
108
185
  lifetime_spend_limit: Integer,
109
186
  monthly_spend_limit: Integer,
110
187
  state: Lithic::AccountUpdateParams::State::OrSymbol,
188
+ substatus: Lithic::AccountUpdateParams::Substatus::OrSymbol,
111
189
  verification_address:
112
190
  Lithic::AccountUpdateParams::VerificationAddress,
113
191
  request_options: Lithic::RequestOptions
@@ -141,6 +219,87 @@ module Lithic
141
219
  end
142
220
  end
143
221
 
222
+ # Account state substatus values:
223
+ #
224
+ # - `FRAUD_IDENTIFIED` - The account has been recognized as being created or used
225
+ # with stolen or fabricated identity information, encompassing both true
226
+ # identity theft and synthetic identities.
227
+ # - `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as
228
+ # unauthorized access or fraudulent transactions, necessitating further
229
+ # investigation.
230
+ # - `RISK_VIOLATION` - The account has been involved in deliberate misuse by the
231
+ # legitimate account holder. Examples include disputing valid transactions
232
+ # without cause, falsely claiming non-receipt of goods, or engaging in
233
+ # intentional bust-out schemes to exploit account services.
234
+ # - `END_USER_REQUEST` - The account holder has voluntarily requested the closure
235
+ # of the account for personal reasons. This encompasses situations such as
236
+ # bankruptcy, other financial considerations, or the account holder's death.
237
+ # - `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to
238
+ # business strategy, risk management, inactivity, product changes, regulatory
239
+ # concerns, or violations of terms and conditions.
240
+ # - `NOT_ACTIVE` - The account has not had any transactions or payment activity
241
+ # within a specified period. This status applies to accounts that are paused or
242
+ # closed due to inactivity.
243
+ # - `INTERNAL_REVIEW` - The account is temporarily paused pending further internal
244
+ # review. In future implementations, this status may prevent clients from
245
+ # activating the account via APIs until the review is completed.
246
+ # - `OTHER` - The reason for the account's current status does not fall into any
247
+ # of the above categories. A comment should be provided to specify the
248
+ # particular reason.
249
+ module Substatus
250
+ extend Lithic::Internal::Type::Enum
251
+
252
+ TaggedSymbol =
253
+ T.type_alias { T.all(Symbol, Lithic::AccountUpdateParams::Substatus) }
254
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
255
+
256
+ FRAUD_IDENTIFIED =
257
+ T.let(
258
+ :FRAUD_IDENTIFIED,
259
+ Lithic::AccountUpdateParams::Substatus::TaggedSymbol
260
+ )
261
+ SUSPICIOUS_ACTIVITY =
262
+ T.let(
263
+ :SUSPICIOUS_ACTIVITY,
264
+ Lithic::AccountUpdateParams::Substatus::TaggedSymbol
265
+ )
266
+ RISK_VIOLATION =
267
+ T.let(
268
+ :RISK_VIOLATION,
269
+ Lithic::AccountUpdateParams::Substatus::TaggedSymbol
270
+ )
271
+ END_USER_REQUEST =
272
+ T.let(
273
+ :END_USER_REQUEST,
274
+ Lithic::AccountUpdateParams::Substatus::TaggedSymbol
275
+ )
276
+ ISSUER_REQUEST =
277
+ T.let(
278
+ :ISSUER_REQUEST,
279
+ Lithic::AccountUpdateParams::Substatus::TaggedSymbol
280
+ )
281
+ NOT_ACTIVE =
282
+ T.let(
283
+ :NOT_ACTIVE,
284
+ Lithic::AccountUpdateParams::Substatus::TaggedSymbol
285
+ )
286
+ INTERNAL_REVIEW =
287
+ T.let(
288
+ :INTERNAL_REVIEW,
289
+ Lithic::AccountUpdateParams::Substatus::TaggedSymbol
290
+ )
291
+ OTHER =
292
+ T.let(:OTHER, Lithic::AccountUpdateParams::Substatus::TaggedSymbol)
293
+
294
+ sig do
295
+ override.returns(
296
+ T::Array[Lithic::AccountUpdateParams::Substatus::TaggedSymbol]
297
+ )
298
+ end
299
+ def self.values
300
+ end
301
+ end
302
+
144
303
  class VerificationAddress < Lithic::Internal::Type::BaseModel
145
304
  OrHash =
146
305
  T.type_alias do
@@ -143,6 +143,11 @@ module Lithic
143
143
  :RESERVE,
144
144
  Lithic::AggregateBalance::FinancialAccountType::TaggedSymbol
145
145
  )
146
+ SECURITY =
147
+ T.let(
148
+ :SECURITY,
149
+ Lithic::AggregateBalance::FinancialAccountType::TaggedSymbol
150
+ )
146
151
 
147
152
  sig do
148
153
  override.returns(
@@ -83,6 +83,11 @@ module Lithic
83
83
  :RESERVE,
84
84
  Lithic::AggregateBalanceListParams::FinancialAccountType::TaggedSymbol
85
85
  )
86
+ SECURITY =
87
+ T.let(
88
+ :SECURITY,
89
+ Lithic::AggregateBalanceListParams::FinancialAccountType::TaggedSymbol
90
+ )
86
91
 
87
92
  sig do
88
93
  override.returns(
@@ -123,11 +123,8 @@ module Lithic
123
123
  # fee field in the settlement/cardholder billing currency. This is the amount
124
124
  # the issuer should authorize against unless the issuer is paying the acquirer
125
125
  # fee on behalf of the cardholder.
126
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
127
- # given authentication. Scores are on a range of 0-999, with 0 representing the
128
- # lowest risk and 999 representing the highest risk. For Visa transactions,
129
- # where the raw score has a range of 0-99, Lithic will normalize the score by
130
- # multiplying the raw score by 10x.
126
+ # - `RISK_SCORE`: Mastercard only: Assessment by the network of the authentication
127
+ # risk level, with a higher value indicating a higher amount of risk.
131
128
  # - `MESSAGE_CATEGORY`: The category of the authentication being processed.
132
129
  sig do
133
130
  returns(
@@ -211,11 +208,8 @@ module Lithic
211
208
  # fee field in the settlement/cardholder billing currency. This is the amount
212
209
  # the issuer should authorize against unless the issuer is paying the acquirer
213
210
  # fee on behalf of the cardholder.
214
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
215
- # given authentication. Scores are on a range of 0-999, with 0 representing the
216
- # lowest risk and 999 representing the highest risk. For Visa transactions,
217
- # where the raw score has a range of 0-99, Lithic will normalize the score by
218
- # multiplying the raw score by 10x.
211
+ # - `RISK_SCORE`: Mastercard only: Assessment by the network of the authentication
212
+ # risk level, with a higher value indicating a higher amount of risk.
219
213
  # - `MESSAGE_CATEGORY`: The category of the authentication being processed.
220
214
  attribute: nil,
221
215
  # The operation to apply to the attribute
@@ -258,11 +252,8 @@ module Lithic
258
252
  # fee field in the settlement/cardholder billing currency. This is the amount
259
253
  # the issuer should authorize against unless the issuer is paying the acquirer
260
254
  # fee on behalf of the cardholder.
261
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
262
- # given authentication. Scores are on a range of 0-999, with 0 representing the
263
- # lowest risk and 999 representing the highest risk. For Visa transactions,
264
- # where the raw score has a range of 0-99, Lithic will normalize the score by
265
- # multiplying the raw score by 10x.
255
+ # - `RISK_SCORE`: Mastercard only: Assessment by the network of the authentication
256
+ # risk level, with a higher value indicating a higher amount of risk.
266
257
  # - `MESSAGE_CATEGORY`: The category of the authentication being processed.
267
258
  module Attribute
268
259
  extend Lithic::Internal::Type::Enum
@@ -28,7 +28,12 @@ module Lithic
28
28
  returns(
29
29
  T.any(
30
30
  Integer,
31
- Lithic::AuthRules::VelocityLimitParamsPeriodWindow::OrSymbol
31
+ Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindow::OrSymbol,
32
+ Lithic::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject,
33
+ Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay,
34
+ Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek,
35
+ Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth,
36
+ Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear
32
37
  )
33
38
  )
34
39
  end
@@ -57,7 +62,12 @@ module Lithic
57
62
  period:
58
63
  T.any(
59
64
  Integer,
60
- Lithic::AuthRules::VelocityLimitParamsPeriodWindow::OrSymbol
65
+ Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindow::OrSymbol,
66
+ Lithic::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject::OrHash,
67
+ Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay::OrHash,
68
+ Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek::OrHash,
69
+ Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth::OrHash,
70
+ Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear::OrHash
61
71
  ),
62
72
  scope: Lithic::AuthRules::VelocityLimitParams::Scope::OrSymbol,
63
73
  limit_amount: T.nilable(Integer),
@@ -90,7 +100,12 @@ module Lithic
90
100
  period:
91
101
  T.any(
92
102
  Integer,
93
- Lithic::AuthRules::VelocityLimitParamsPeriodWindow::OrSymbol
103
+ Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindow::OrSymbol,
104
+ Lithic::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject,
105
+ Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay,
106
+ Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek,
107
+ Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth,
108
+ Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear
94
109
  ),
95
110
  scope: Lithic::AuthRules::VelocityLimitParams::Scope::OrSymbol,
96
111
  limit_amount: T.nilable(Integer),
@@ -172,28 +187,6 @@ module Lithic
172
187
  end
173
188
  end
174
189
 
175
- # The size of the trailing window to calculate Spend Velocity over in seconds. The
176
- # minimum value is 10 seconds, and the maximum value is 2678400 seconds (31 days).
177
- module Period
178
- extend Lithic::Internal::Type::Union
179
-
180
- Variants =
181
- T.type_alias do
182
- T.any(
183
- Integer,
184
- Lithic::AuthRules::VelocityLimitParamsPeriodWindow::TaggedSymbol
185
- )
186
- end
187
-
188
- sig do
189
- override.returns(
190
- T::Array[Lithic::AuthRules::VelocityLimitParams::Period::Variants]
191
- )
192
- end
193
- def self.variants
194
- end
195
- end
196
-
197
190
  module Scope
198
191
  extend Lithic::Internal::Type::Enum
199
192