lithic 0.1.0.pre.alpha.39 → 0.1.0.pre.alpha.41
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +24 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +8 -0
- data/lib/lithic/internal/transport/base_client.rb +1 -1
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -9
- data/lib/lithic/internal/type/array_of.rb +1 -0
- data/lib/lithic/internal/type/base_model.rb +3 -1
- data/lib/lithic/internal/type/converter.rb +27 -0
- data/lib/lithic/internal/type/hash_of.rb +1 -0
- data/lib/lithic/internal/type/union.rb +9 -7
- data/lib/lithic/internal/util.rb +1 -1
- data/lib/lithic/models/account.rb +88 -1
- data/lib/lithic/models/account_activity_list_params.rb +156 -0
- data/lib/lithic/models/account_activity_list_response.rb +1435 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_params.rb +14 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +1451 -0
- data/lib/lithic/models/account_holder.rb +16 -19
- data/lib/lithic/models/account_holder_create_params.rb +41 -47
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -3
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +25 -20
- data/lib/lithic/models/account_holder_update_params.rb +2 -6
- data/lib/lithic/models/account_holder_update_response.rb +25 -20
- data/lib/lithic/models/account_update_params.rb +86 -1
- data/lib/lithic/models/aggregate_balance.rb +1 -0
- data/lib/lithic/models/aggregate_balance_list_params.rb +1 -0
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +5 -1
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +12 -22
- data/lib/lithic/models/auth_rules/v2_list_params.rb +1 -0
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +3 -25
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +226 -16
- data/lib/lithic/models/balance.rb +1 -0
- data/lib/lithic/models/balance_list_params.rb +1 -0
- data/lib/lithic/models/book_transfer_create_params.rb +34 -6
- data/lib/lithic/models/book_transfer_response.rb +124 -28
- data/lib/lithic/models/card_create_params.rb +90 -1
- data/lib/lithic/models/card_program.rb +10 -1
- data/lib/lithic/models/card_update_params.rb +98 -1
- data/lib/lithic/models/cards/balance_list_response.rb +1 -0
- data/lib/lithic/models/document.rb +1 -3
- data/lib/lithic/models/events/subscription_create_params.rb +1 -3
- data/lib/lithic/models/events/subscription_update_params.rb +1 -3
- data/lib/lithic/models/external_bank_account_list_params.rb +2 -6
- data/lib/lithic/models/external_payment.rb +89 -48
- data/lib/lithic/models/external_resource.rb +34 -0
- data/lib/lithic/models/external_resource_type.rb +18 -0
- data/lib/lithic/models/financial_account.rb +1 -0
- data/lib/lithic/models/financial_account_list_params.rb +1 -0
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +1 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +5 -18
- data/lib/lithic/models/financial_accounts/statement.rb +3 -10
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +2 -7
- data/lib/lithic/models/financial_transaction.rb +2 -0
- data/lib/lithic/models/instance_financial_account_type.rb +1 -0
- data/lib/lithic/models/kyb.rb +2 -2
- data/lib/lithic/models/management_operation_create_params.rb +30 -1
- data/lib/lithic/models/management_operation_transaction.rb +100 -52
- data/lib/lithic/models/network_program.rb +41 -0
- data/lib/lithic/models/network_program_list_params.rb +43 -0
- data/lib/lithic/models/network_program_retrieve_params.rb +14 -0
- data/lib/lithic/models/non_pci_card.rb +88 -1
- data/lib/lithic/models/payment.rb +60 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +1 -0
- data/lib/lithic/models/reports/settlement_list_details_params.rb +2 -2
- data/lib/lithic/models/settlement_detail.rb +1 -0
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +145 -12
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +1 -4
- data/lib/lithic/models/tokenization.rb +1 -1
- data/lib/lithic/models/transaction.rb +31 -20
- data/lib/lithic/models/transactions/events/enhanced_data.rb +3 -11
- data/lib/lithic/models/transfer.rb +2 -0
- data/lib/lithic/models/wire_party_details.rb +40 -0
- data/lib/lithic/models.rb +16 -0
- data/lib/lithic/resources/account_activity.rb +80 -0
- data/lib/lithic/resources/account_holders.rb +9 -9
- data/lib/lithic/resources/accounts.rb +5 -1
- data/lib/lithic/resources/book_transfers.rb +7 -3
- data/lib/lithic/resources/cards.rb +12 -2
- data/lib/lithic/resources/management_operations.rb +13 -1
- data/lib/lithic/resources/network_programs.rb +64 -0
- data/lib/lithic/resources/reports/settlement.rb +1 -1
- data/lib/lithic/resources/tokenizations.rb +2 -2
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +13 -2
- data/rbi/lithic/client.rbi +6 -0
- data/rbi/lithic/errors.rbi +2 -2
- data/rbi/lithic/internal/transport/base_client.rbi +1 -1
- data/rbi/lithic/internal/type/converter.rbi +46 -0
- data/rbi/lithic/internal/type/union.rbi +7 -2
- data/rbi/lithic/models/account.rbi +131 -0
- data/rbi/lithic/models/account_activity_list_params.rbi +359 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +3367 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_params.rbi +30 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +3369 -0
- data/rbi/lithic/models/account_holder.rbi +21 -23
- data/rbi/lithic/models/account_holder_create_params.rbi +87 -65
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +36 -30
- data/rbi/lithic/models/account_holder_update_response.rbi +36 -30
- data/rbi/lithic/models/account_update_params.rbi +159 -0
- data/rbi/lithic/models/aggregate_balance.rbi +5 -0
- data/rbi/lithic/models/aggregate_balance_list_params.rbi +5 -0
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +20 -0
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +26 -15
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +2 -0
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +18 -25
- data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +527 -31
- data/rbi/lithic/models/balance.rbi +2 -0
- data/rbi/lithic/models/balance_list_params.rbi +5 -0
- data/rbi/lithic/models/book_transfer_create_params.rbi +75 -5
- data/rbi/lithic/models/book_transfer_response.rbi +320 -38
- data/rbi/lithic/models/card_create_params.rbi +190 -0
- data/rbi/lithic/models/card_program.rbi +13 -0
- data/rbi/lithic/models/card_update_params.rbi +168 -0
- data/rbi/lithic/models/cards/balance_list_response.rbi +5 -0
- data/rbi/lithic/models/external_payment.rbi +147 -60
- data/rbi/lithic/models/external_resource.rbi +57 -0
- data/rbi/lithic/models/external_resource_type.rbi +26 -0
- data/rbi/lithic/models/financial_account.rbi +5 -0
- data/rbi/lithic/models/financial_account_list_params.rbi +5 -0
- data/rbi/lithic/models/financial_accounts/balance_list_response.rbi +5 -0
- data/rbi/lithic/models/financial_transaction.rbi +1 -0
- data/rbi/lithic/models/instance_financial_account_type.rbi +5 -0
- data/rbi/lithic/models/kyb.rbi +2 -2
- data/rbi/lithic/models/management_operation_create_params.rbi +59 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +230 -84
- data/rbi/lithic/models/network_program.rbi +61 -0
- data/rbi/lithic/models/network_program_list_params.rbi +72 -0
- data/rbi/lithic/models/network_program_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/non_pci_card.rbi +133 -3
- data/rbi/lithic/models/payment.rbi +103 -3
- data/rbi/lithic/models/payment_simulate_action_params.rbi +5 -0
- data/rbi/lithic/models/reports/settlement_list_details_params.rbi +2 -2
- data/rbi/lithic/models/settlement_detail.rbi +2 -0
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +222 -19
- data/rbi/lithic/models/transaction.rbi +23 -31
- data/rbi/lithic/models/transfer.rbi +1 -0
- data/rbi/lithic/models/wire_party_details.rbi +61 -0
- data/rbi/lithic/models.rbi +17 -0
- data/rbi/lithic/resources/account_activity.rbi +80 -0
- data/rbi/lithic/resources/account_holders.rbi +28 -29
- data/rbi/lithic/resources/accounts.rbi +32 -0
- data/rbi/lithic/resources/book_transfers.rbi +9 -2
- data/rbi/lithic/resources/cards.rbi +70 -0
- data/rbi/lithic/resources/management_operations.rbi +4 -0
- data/rbi/lithic/resources/network_programs.rbi +48 -0
- data/rbi/lithic/resources/reports/settlement.rbi +1 -1
- data/rbi/lithic/resources/tokenizations.rbi +1 -1
- data/sig/lithic/client.rbs +4 -0
- data/sig/lithic/internal/transport/base_client.rbs +1 -1
- data/sig/lithic/internal/type/converter.rbs +17 -0
- data/sig/lithic/internal/type/union.rbs +2 -2
- data/sig/lithic/models/account.rbs +41 -0
- data/sig/lithic/models/account_activity_list_params.rbs +173 -0
- data/sig/lithic/models/account_activity_list_response.rbs +1353 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_params.rbs +15 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +1353 -0
- data/sig/lithic/models/account_holder_create_params.rbs +33 -19
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +10 -3
- data/sig/lithic/models/account_holder_update_response.rbs +10 -3
- data/sig/lithic/models/account_update_params.rbs +41 -0
- data/sig/lithic/models/aggregate_balance.rbs +2 -1
- data/sig/lithic/models/aggregate_balance_list_params.rbs +2 -1
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +8 -0
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +8 -0
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +2 -1
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -14
- data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +212 -7
- data/sig/lithic/models/balance.rbs +2 -1
- data/sig/lithic/models/balance_list_params.rbs +2 -1
- data/sig/lithic/models/book_transfer_create_params.rbs +30 -1
- data/sig/lithic/models/book_transfer_response.rbs +134 -15
- data/sig/lithic/models/card_create_params.rbs +47 -0
- data/sig/lithic/models/card_program.rbs +7 -0
- data/sig/lithic/models/card_update_params.rbs +55 -1
- data/sig/lithic/models/cards/balance_list_response.rbs +2 -1
- data/sig/lithic/models/external_payment.rbs +91 -40
- data/sig/lithic/models/external_resource.rbs +32 -0
- data/sig/lithic/models/external_resource_type.rbs +16 -0
- data/sig/lithic/models/financial_account.rbs +2 -0
- data/sig/lithic/models/financial_account_list_params.rbs +2 -1
- data/sig/lithic/models/financial_accounts/balance_list_response.rbs +2 -1
- data/sig/lithic/models/instance_financial_account_type.rbs +2 -0
- data/sig/lithic/models/management_operation_create_params.rbs +20 -0
- data/sig/lithic/models/management_operation_transaction.rbs +98 -42
- data/sig/lithic/models/network_program.rbs +35 -0
- data/sig/lithic/models/network_program_list_params.rbs +38 -0
- data/sig/lithic/models/network_program_retrieve_params.rbs +15 -0
- data/sig/lithic/models/non_pci_card.rbs +55 -3
- data/sig/lithic/models/payment.rbs +61 -3
- data/sig/lithic/models/payment_simulate_action_params.rbs +2 -0
- data/sig/lithic/models/settlement_detail.rbs +2 -0
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +90 -3
- data/sig/lithic/models/transaction.rbs +2 -6
- data/sig/lithic/models/wire_party_details.rbs +35 -0
- data/sig/lithic/models.rbs +16 -0
- data/sig/lithic/resources/account_activity.rbs +27 -0
- data/sig/lithic/resources/account_holders.rbs +3 -3
- data/sig/lithic/resources/accounts.rbs +2 -0
- data/sig/lithic/resources/book_transfers.rbs +2 -0
- data/sig/lithic/resources/cards.rbs +5 -0
- data/sig/lithic/resources/management_operations.rbs +1 -0
- data/sig/lithic/resources/network_programs.rbs +19 -0
- data/sig/lithic/resources/tokenizations.rbs +1 -1
- metadata +38 -5
- data/lib/lithic/models/tokenization_retrieve_response.rb +0 -16
- data/rbi/lithic/models/tokenization_retrieve_response.rbi +0 -31
- data/sig/lithic/models/tokenization_retrieve_response.rbs +0 -15
@@ -28,13 +28,23 @@ module Lithic
|
|
28
28
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
29
29
|
include Lithic::Internal::Type::RequestParameters
|
30
30
|
|
31
|
-
|
31
|
+
attr_reader beneficial_owner_individuals: ::Array[Lithic::AccountHolderCreateParams::BeneficialOwnerIndividual]?
|
32
|
+
|
33
|
+
def beneficial_owner_individuals=: (
|
34
|
+
::Array[Lithic::AccountHolderCreateParams::BeneficialOwnerIndividual]
|
35
|
+
) -> ::Array[Lithic::AccountHolderCreateParams::BeneficialOwnerIndividual]
|
32
36
|
|
33
37
|
attr_accessor business_entity: Lithic::AccountHolderCreateParams::BusinessEntity
|
34
38
|
|
35
|
-
|
39
|
+
attr_reader control_person: Lithic::AccountHolderCreateParams::ControlPerson?
|
40
|
+
|
41
|
+
def control_person=: (
|
42
|
+
Lithic::AccountHolderCreateParams::ControlPerson
|
43
|
+
) -> Lithic::AccountHolderCreateParams::ControlPerson
|
36
44
|
|
37
|
-
|
45
|
+
attr_reader nature_of_business: String?
|
46
|
+
|
47
|
+
def nature_of_business=: (String) -> String
|
38
48
|
|
39
49
|
attr_accessor tos_timestamp: String
|
40
50
|
|
@@ -81,10 +91,7 @@ module Lithic
|
|
81
91
|
def business_account_token=: (String) -> String
|
82
92
|
|
83
93
|
def initialize: (
|
84
|
-
beneficial_owner_individuals: ::Array[Lithic::AccountHolderCreateParams::BeneficialOwnerIndividual],
|
85
94
|
business_entity: Lithic::AccountHolderCreateParams::BusinessEntity,
|
86
|
-
control_person: Lithic::AccountHolderCreateParams::ControlPerson,
|
87
|
-
nature_of_business: String,
|
88
95
|
tos_timestamp: String,
|
89
96
|
workflow: Lithic::Models::AccountHolderCreateParams::workflow,
|
90
97
|
individual: Lithic::AccountHolderCreateParams::Individual,
|
@@ -94,6 +101,9 @@ module Lithic
|
|
94
101
|
kyc_exemption_type: Lithic::Models::AccountHolderCreateParams::kyc_exemption_type,
|
95
102
|
last_name: String,
|
96
103
|
phone_number: String,
|
104
|
+
?beneficial_owner_individuals: ::Array[Lithic::AccountHolderCreateParams::BeneficialOwnerIndividual],
|
105
|
+
?control_person: Lithic::AccountHolderCreateParams::ControlPerson,
|
106
|
+
?nature_of_business: String,
|
97
107
|
?beneficial_owner_entities: ::Array[Lithic::AccountHolderCreateParams::BeneficialOwnerEntity],
|
98
108
|
?external_id: String,
|
99
109
|
?kyb_passed_timestamp: String,
|
@@ -178,46 +188,50 @@ module Lithic
|
|
178
188
|
type business_entity =
|
179
189
|
{
|
180
190
|
address: Lithic::Address,
|
181
|
-
government_id: String,
|
182
191
|
legal_business_name: String,
|
183
|
-
phone_numbers: ::Array[String],
|
184
192
|
dba_business_name: String,
|
185
|
-
|
193
|
+
government_id: String,
|
194
|
+
parent_company: String,
|
195
|
+
phone_numbers: ::Array[String]
|
186
196
|
}
|
187
197
|
|
188
198
|
class BusinessEntity < Lithic::Internal::Type::BaseModel
|
189
199
|
attr_accessor address: Lithic::Address
|
190
200
|
|
191
|
-
attr_accessor government_id: String
|
192
|
-
|
193
201
|
attr_accessor legal_business_name: String
|
194
202
|
|
195
|
-
attr_accessor phone_numbers: ::Array[String]
|
196
|
-
|
197
203
|
attr_reader dba_business_name: String?
|
198
204
|
|
199
205
|
def dba_business_name=: (String) -> String
|
200
206
|
|
207
|
+
attr_reader government_id: String?
|
208
|
+
|
209
|
+
def government_id=: (String) -> String
|
210
|
+
|
201
211
|
attr_reader parent_company: String?
|
202
212
|
|
203
213
|
def parent_company=: (String) -> String
|
204
214
|
|
215
|
+
attr_reader phone_numbers: ::Array[String]?
|
216
|
+
|
217
|
+
def phone_numbers=: (::Array[String]) -> ::Array[String]
|
218
|
+
|
205
219
|
def initialize: (
|
206
220
|
address: Lithic::Address,
|
207
|
-
government_id: String,
|
208
221
|
legal_business_name: String,
|
209
|
-
phone_numbers: ::Array[String],
|
210
222
|
?dba_business_name: String,
|
211
|
-
?
|
223
|
+
?government_id: String,
|
224
|
+
?parent_company: String,
|
225
|
+
?phone_numbers: ::Array[String]
|
212
226
|
) -> void
|
213
227
|
|
214
228
|
def to_hash: -> {
|
215
229
|
address: Lithic::Address,
|
216
|
-
government_id: String,
|
217
230
|
legal_business_name: String,
|
218
|
-
phone_numbers: ::Array[String],
|
219
231
|
dba_business_name: String,
|
220
|
-
|
232
|
+
government_id: String,
|
233
|
+
parent_company: String,
|
234
|
+
phone_numbers: ::Array[String]
|
221
235
|
}
|
222
236
|
end
|
223
237
|
|
@@ -577,7 +577,8 @@ module Lithic
|
|
577
577
|
created: Time,
|
578
578
|
status: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::status,
|
579
579
|
status_reasons: ::Array[Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::status_reason],
|
580
|
-
updated: Time
|
580
|
+
updated: Time,
|
581
|
+
ky_passed_at: Time
|
581
582
|
}
|
582
583
|
|
583
584
|
class VerificationApplication < Lithic::Internal::Type::BaseModel
|
@@ -589,18 +590,24 @@ module Lithic
|
|
589
590
|
|
590
591
|
attr_accessor updated: Time
|
591
592
|
|
593
|
+
attr_reader ky_passed_at: Time?
|
594
|
+
|
595
|
+
def ky_passed_at=: (Time) -> Time
|
596
|
+
|
592
597
|
def initialize: (
|
593
598
|
created: Time,
|
594
599
|
status: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::status,
|
595
600
|
status_reasons: ::Array[Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::status_reason],
|
596
|
-
updated: Time
|
601
|
+
updated: Time,
|
602
|
+
?ky_passed_at: Time
|
597
603
|
) -> void
|
598
604
|
|
599
605
|
def to_hash: -> {
|
600
606
|
created: Time,
|
601
607
|
status: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::status,
|
602
608
|
status_reasons: ::Array[Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::status_reason],
|
603
|
-
updated: Time
|
609
|
+
updated: Time,
|
610
|
+
ky_passed_at: Time
|
604
611
|
}
|
605
612
|
|
606
613
|
type status =
|
@@ -584,7 +584,8 @@ module Lithic
|
|
584
584
|
created: Time,
|
585
585
|
status: Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::status,
|
586
586
|
status_reasons: ::Array[Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::status_reason],
|
587
|
-
updated: Time
|
587
|
+
updated: Time,
|
588
|
+
ky_passed_at: Time
|
588
589
|
}
|
589
590
|
|
590
591
|
class VerificationApplication < Lithic::Internal::Type::BaseModel
|
@@ -596,18 +597,24 @@ module Lithic
|
|
596
597
|
|
597
598
|
attr_accessor updated: Time
|
598
599
|
|
600
|
+
attr_reader ky_passed_at: Time?
|
601
|
+
|
602
|
+
def ky_passed_at=: (Time) -> Time
|
603
|
+
|
599
604
|
def initialize: (
|
600
605
|
created: Time,
|
601
606
|
status: Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::status,
|
602
607
|
status_reasons: ::Array[Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::status_reason],
|
603
|
-
updated: Time
|
608
|
+
updated: Time,
|
609
|
+
?ky_passed_at: Time
|
604
610
|
) -> void
|
605
611
|
|
606
612
|
def to_hash: -> {
|
607
613
|
created: Time,
|
608
614
|
status: Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::status,
|
609
615
|
status_reasons: ::Array[Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::status_reason],
|
610
|
-
updated: Time
|
616
|
+
updated: Time,
|
617
|
+
ky_passed_at: Time
|
611
618
|
}
|
612
619
|
|
613
620
|
type status =
|
@@ -2,10 +2,12 @@ module Lithic
|
|
2
2
|
module Models
|
3
3
|
type account_update_params =
|
4
4
|
{
|
5
|
+
comment: String,
|
5
6
|
daily_spend_limit: Integer,
|
6
7
|
lifetime_spend_limit: Integer,
|
7
8
|
monthly_spend_limit: Integer,
|
8
9
|
state: Lithic::Models::AccountUpdateParams::state,
|
10
|
+
substatus: Lithic::Models::AccountUpdateParams::substatus,
|
9
11
|
verification_address: Lithic::AccountUpdateParams::VerificationAddress
|
10
12
|
}
|
11
13
|
& Lithic::Internal::Type::request_parameters
|
@@ -14,6 +16,10 @@ module Lithic
|
|
14
16
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
15
17
|
include Lithic::Internal::Type::RequestParameters
|
16
18
|
|
19
|
+
attr_reader comment: String?
|
20
|
+
|
21
|
+
def comment=: (String) -> String
|
22
|
+
|
17
23
|
attr_reader daily_spend_limit: Integer?
|
18
24
|
|
19
25
|
def daily_spend_limit=: (Integer) -> Integer
|
@@ -32,6 +38,12 @@ module Lithic
|
|
32
38
|
Lithic::Models::AccountUpdateParams::state
|
33
39
|
) -> Lithic::Models::AccountUpdateParams::state
|
34
40
|
|
41
|
+
attr_reader substatus: Lithic::Models::AccountUpdateParams::substatus?
|
42
|
+
|
43
|
+
def substatus=: (
|
44
|
+
Lithic::Models::AccountUpdateParams::substatus
|
45
|
+
) -> Lithic::Models::AccountUpdateParams::substatus
|
46
|
+
|
35
47
|
attr_reader verification_address: Lithic::AccountUpdateParams::VerificationAddress?
|
36
48
|
|
37
49
|
def verification_address=: (
|
@@ -39,19 +51,23 @@ module Lithic
|
|
39
51
|
) -> Lithic::AccountUpdateParams::VerificationAddress
|
40
52
|
|
41
53
|
def initialize: (
|
54
|
+
?comment: String,
|
42
55
|
?daily_spend_limit: Integer,
|
43
56
|
?lifetime_spend_limit: Integer,
|
44
57
|
?monthly_spend_limit: Integer,
|
45
58
|
?state: Lithic::Models::AccountUpdateParams::state,
|
59
|
+
?substatus: Lithic::Models::AccountUpdateParams::substatus,
|
46
60
|
?verification_address: Lithic::AccountUpdateParams::VerificationAddress,
|
47
61
|
?request_options: Lithic::request_opts
|
48
62
|
) -> void
|
49
63
|
|
50
64
|
def to_hash: -> {
|
65
|
+
comment: String,
|
51
66
|
daily_spend_limit: Integer,
|
52
67
|
lifetime_spend_limit: Integer,
|
53
68
|
monthly_spend_limit: Integer,
|
54
69
|
state: Lithic::Models::AccountUpdateParams::state,
|
70
|
+
substatus: Lithic::Models::AccountUpdateParams::substatus,
|
55
71
|
verification_address: Lithic::AccountUpdateParams::VerificationAddress,
|
56
72
|
request_options: Lithic::RequestOptions
|
57
73
|
}
|
@@ -68,6 +84,31 @@ module Lithic
|
|
68
84
|
def self?.values: -> ::Array[Lithic::Models::AccountUpdateParams::state]
|
69
85
|
end
|
70
86
|
|
87
|
+
type substatus =
|
88
|
+
:FRAUD_IDENTIFIED
|
89
|
+
| :SUSPICIOUS_ACTIVITY
|
90
|
+
| :RISK_VIOLATION
|
91
|
+
| :END_USER_REQUEST
|
92
|
+
| :ISSUER_REQUEST
|
93
|
+
| :NOT_ACTIVE
|
94
|
+
| :INTERNAL_REVIEW
|
95
|
+
| :OTHER
|
96
|
+
|
97
|
+
module Substatus
|
98
|
+
extend Lithic::Internal::Type::Enum
|
99
|
+
|
100
|
+
FRAUD_IDENTIFIED: :FRAUD_IDENTIFIED
|
101
|
+
SUSPICIOUS_ACTIVITY: :SUSPICIOUS_ACTIVITY
|
102
|
+
RISK_VIOLATION: :RISK_VIOLATION
|
103
|
+
END_USER_REQUEST: :END_USER_REQUEST
|
104
|
+
ISSUER_REQUEST: :ISSUER_REQUEST
|
105
|
+
NOT_ACTIVE: :NOT_ACTIVE
|
106
|
+
INTERNAL_REVIEW: :INTERNAL_REVIEW
|
107
|
+
OTHER: :OTHER
|
108
|
+
|
109
|
+
def self?.values: -> ::Array[Lithic::Models::AccountUpdateParams::substatus]
|
110
|
+
end
|
111
|
+
|
71
112
|
type verification_address =
|
72
113
|
{
|
73
114
|
:address1 => String,
|
@@ -61,7 +61,7 @@ module Lithic
|
|
61
61
|
updated: Time
|
62
62
|
}
|
63
63
|
|
64
|
-
type financial_account_type = :ISSUING | :OPERATING | :RESERVE
|
64
|
+
type financial_account_type = :ISSUING | :OPERATING | :RESERVE | :SECURITY
|
65
65
|
|
66
66
|
module FinancialAccountType
|
67
67
|
extend Lithic::Internal::Type::Enum
|
@@ -69,6 +69,7 @@ module Lithic
|
|
69
69
|
ISSUING: :ISSUING
|
70
70
|
OPERATING: :OPERATING
|
71
71
|
RESERVE: :RESERVE
|
72
|
+
SECURITY: :SECURITY
|
72
73
|
|
73
74
|
def self?.values: -> ::Array[Lithic::Models::AggregateBalance::financial_account_type]
|
74
75
|
end
|
@@ -26,7 +26,7 @@ module Lithic
|
|
26
26
|
request_options: Lithic::RequestOptions
|
27
27
|
}
|
28
28
|
|
29
|
-
type financial_account_type = :ISSUING | :OPERATING | :RESERVE
|
29
|
+
type financial_account_type = :ISSUING | :OPERATING | :RESERVE | :SECURITY
|
30
30
|
|
31
31
|
module FinancialAccountType
|
32
32
|
extend Lithic::Internal::Type::Enum
|
@@ -34,6 +34,7 @@ module Lithic
|
|
34
34
|
ISSUING: :ISSUING
|
35
35
|
OPERATING: :OPERATING
|
36
36
|
RESERVE: :RESERVE
|
37
|
+
SECURITY: :SECURITY
|
37
38
|
|
38
39
|
def self?.values: -> ::Array[Lithic::Models::AggregateBalanceListParams::financial_account_type]
|
39
40
|
end
|
@@ -46,8 +46,12 @@ module Lithic
|
|
46
46
|
| :IS_NOT_ONE_OF
|
47
47
|
| :MATCHES
|
48
48
|
| :DOES_NOT_MATCH
|
49
|
+
| :IS_EQUAL_TO
|
50
|
+
| :IS_NOT_EQUAL_TO
|
49
51
|
| :IS_GREATER_THAN
|
52
|
+
| :IS_GREATER_THAN_OR_EQUAL_TO
|
50
53
|
| :IS_LESS_THAN
|
54
|
+
| :IS_LESS_THAN_OR_EQUAL_TO
|
51
55
|
|
52
56
|
module Operation
|
53
57
|
extend Lithic::Internal::Type::Enum
|
@@ -56,8 +60,12 @@ module Lithic
|
|
56
60
|
IS_NOT_ONE_OF: :IS_NOT_ONE_OF
|
57
61
|
MATCHES: :MATCHES
|
58
62
|
DOES_NOT_MATCH: :DOES_NOT_MATCH
|
63
|
+
IS_EQUAL_TO: :IS_EQUAL_TO
|
64
|
+
IS_NOT_EQUAL_TO: :IS_NOT_EQUAL_TO
|
59
65
|
IS_GREATER_THAN: :IS_GREATER_THAN
|
66
|
+
IS_GREATER_THAN_OR_EQUAL_TO: :IS_GREATER_THAN_OR_EQUAL_TO
|
60
67
|
IS_LESS_THAN: :IS_LESS_THAN
|
68
|
+
IS_LESS_THAN_OR_EQUAL_TO: :IS_LESS_THAN_OR_EQUAL_TO
|
61
69
|
|
62
70
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::AuthRuleCondition::operation]
|
63
71
|
end
|
@@ -101,8 +101,12 @@ module Lithic
|
|
101
101
|
| :IS_NOT_ONE_OF
|
102
102
|
| :MATCHES
|
103
103
|
| :DOES_NOT_MATCH
|
104
|
+
| :IS_EQUAL_TO
|
105
|
+
| :IS_NOT_EQUAL_TO
|
104
106
|
| :IS_GREATER_THAN
|
107
|
+
| :IS_GREATER_THAN_OR_EQUAL_TO
|
105
108
|
| :IS_LESS_THAN
|
109
|
+
| :IS_LESS_THAN_OR_EQUAL_TO
|
106
110
|
|
107
111
|
module Operation
|
108
112
|
extend Lithic::Internal::Type::Enum
|
@@ -111,8 +115,12 @@ module Lithic
|
|
111
115
|
IS_NOT_ONE_OF: :IS_NOT_ONE_OF
|
112
116
|
MATCHES: :MATCHES
|
113
117
|
DOES_NOT_MATCH: :DOES_NOT_MATCH
|
118
|
+
IS_EQUAL_TO: :IS_EQUAL_TO
|
119
|
+
IS_NOT_EQUAL_TO: :IS_NOT_EQUAL_TO
|
114
120
|
IS_GREATER_THAN: :IS_GREATER_THAN
|
121
|
+
IS_GREATER_THAN_OR_EQUAL_TO: :IS_GREATER_THAN_OR_EQUAL_TO
|
115
122
|
IS_LESS_THAN: :IS_LESS_THAN
|
123
|
+
IS_LESS_THAN_OR_EQUAL_TO: :IS_LESS_THAN_OR_EQUAL_TO
|
116
124
|
|
117
125
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::operation]
|
118
126
|
end
|
@@ -82,7 +82,7 @@ module Lithic
|
|
82
82
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ListParams::event_stream]
|
83
83
|
end
|
84
84
|
|
85
|
-
type scope = :PROGRAM | :ACCOUNT | :CARD
|
85
|
+
type scope = :PROGRAM | :ACCOUNT | :CARD | :ANY
|
86
86
|
|
87
87
|
module Scope
|
88
88
|
extend Lithic::Internal::Type::Enum
|
@@ -90,6 +90,7 @@ module Lithic
|
|
90
90
|
PROGRAM: :PROGRAM
|
91
91
|
ACCOUNT: :ACCOUNT
|
92
92
|
CARD: :CARD
|
93
|
+
ANY: :ANY
|
93
94
|
|
94
95
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ListParams::scope]
|
95
96
|
end
|
@@ -4,7 +4,7 @@ module Lithic
|
|
4
4
|
type velocity_limit_params =
|
5
5
|
{
|
6
6
|
filters: Lithic::AuthRules::VelocityLimitParams::Filters,
|
7
|
-
period: Lithic::Models::AuthRules::
|
7
|
+
period: Lithic::Models::AuthRules::velocity_limit_params_period_window,
|
8
8
|
scope: Lithic::Models::AuthRules::VelocityLimitParams::scope,
|
9
9
|
limit_amount: Integer?,
|
10
10
|
limit_count: Integer?
|
@@ -13,7 +13,7 @@ module Lithic
|
|
13
13
|
class VelocityLimitParams < Lithic::Internal::Type::BaseModel
|
14
14
|
attr_accessor filters: Lithic::AuthRules::VelocityLimitParams::Filters
|
15
15
|
|
16
|
-
attr_accessor period: Lithic::Models::AuthRules::
|
16
|
+
attr_accessor period: Lithic::Models::AuthRules::velocity_limit_params_period_window
|
17
17
|
|
18
18
|
attr_accessor scope: Lithic::Models::AuthRules::VelocityLimitParams::scope
|
19
19
|
|
@@ -23,7 +23,7 @@ module Lithic
|
|
23
23
|
|
24
24
|
def initialize: (
|
25
25
|
filters: Lithic::AuthRules::VelocityLimitParams::Filters,
|
26
|
-
period: Lithic::Models::AuthRules::
|
26
|
+
period: Lithic::Models::AuthRules::velocity_limit_params_period_window,
|
27
27
|
scope: Lithic::Models::AuthRules::VelocityLimitParams::scope,
|
28
28
|
?limit_amount: Integer?,
|
29
29
|
?limit_count: Integer?
|
@@ -31,7 +31,7 @@ module Lithic
|
|
31
31
|
|
32
32
|
def to_hash: -> {
|
33
33
|
filters: Lithic::AuthRules::VelocityLimitParams::Filters,
|
34
|
-
period: Lithic::Models::AuthRules::
|
34
|
+
period: Lithic::Models::AuthRules::velocity_limit_params_period_window,
|
35
35
|
scope: Lithic::Models::AuthRules::VelocityLimitParams::scope,
|
36
36
|
limit_amount: Integer?,
|
37
37
|
limit_count: Integer?
|
@@ -69,16 +69,6 @@ module Lithic
|
|
69
69
|
}
|
70
70
|
end
|
71
71
|
|
72
|
-
type period =
|
73
|
-
Integer
|
74
|
-
| Lithic::Models::AuthRules::velocity_limit_params_period_window
|
75
|
-
|
76
|
-
module Period
|
77
|
-
extend Lithic::Internal::Type::Union
|
78
|
-
|
79
|
-
def self?.variants: -> ::Array[Lithic::Models::AuthRules::VelocityLimitParams::period]
|
80
|
-
end
|
81
|
-
|
82
72
|
type scope = :CARD | :ACCOUNT
|
83
73
|
|
84
74
|
module Scope
|
@@ -1,17 +1,222 @@
|
|
1
1
|
module Lithic
|
2
2
|
module Models
|
3
3
|
module AuthRules
|
4
|
-
type velocity_limit_params_period_window =
|
4
|
+
type velocity_limit_params_period_window =
|
5
|
+
Integer
|
6
|
+
| Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::fixed_window
|
7
|
+
| Lithic::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject
|
8
|
+
| Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay
|
9
|
+
| Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek
|
10
|
+
| Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth
|
11
|
+
| Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear
|
5
12
|
|
6
13
|
module VelocityLimitParamsPeriodWindow
|
7
|
-
extend Lithic::Internal::Type::
|
14
|
+
extend Lithic::Internal::Type::Union
|
8
15
|
|
9
|
-
DAY: :
|
10
|
-
WEEK: :WEEK
|
11
|
-
MONTH: :MONTH
|
12
|
-
YEAR: :YEAR
|
16
|
+
type fixed_window = :DAY | :WEEK | :MONTH | :YEAR
|
13
17
|
|
14
|
-
|
18
|
+
module FixedWindow
|
19
|
+
extend Lithic::Internal::Type::Enum
|
20
|
+
|
21
|
+
DAY: :DAY
|
22
|
+
WEEK: :WEEK
|
23
|
+
MONTH: :MONTH
|
24
|
+
YEAR: :YEAR
|
25
|
+
|
26
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::fixed_window]
|
27
|
+
end
|
28
|
+
|
29
|
+
type trailing_window_object =
|
30
|
+
{
|
31
|
+
duration: Integer,
|
32
|
+
type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject::type_
|
33
|
+
}
|
34
|
+
|
35
|
+
class TrailingWindowObject < Lithic::Internal::Type::BaseModel
|
36
|
+
attr_reader duration: Integer?
|
37
|
+
|
38
|
+
def duration=: (Integer) -> Integer
|
39
|
+
|
40
|
+
attr_reader type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject::type_?
|
41
|
+
|
42
|
+
def type=: (
|
43
|
+
Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject::type_
|
44
|
+
) -> Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject::type_
|
45
|
+
|
46
|
+
def initialize: (
|
47
|
+
?duration: Integer,
|
48
|
+
?type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject::type_
|
49
|
+
) -> void
|
50
|
+
|
51
|
+
def to_hash: -> {
|
52
|
+
duration: Integer,
|
53
|
+
type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject::type_
|
54
|
+
}
|
55
|
+
|
56
|
+
type type_ = :CUSTOM
|
57
|
+
|
58
|
+
module Type
|
59
|
+
extend Lithic::Internal::Type::Enum
|
60
|
+
|
61
|
+
CUSTOM: :CUSTOM
|
62
|
+
|
63
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject::type_]
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
type fixed_window_day =
|
68
|
+
{
|
69
|
+
type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay::type_
|
70
|
+
}
|
71
|
+
|
72
|
+
class FixedWindowDay < Lithic::Internal::Type::BaseModel
|
73
|
+
attr_reader type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay::type_?
|
74
|
+
|
75
|
+
def type=: (
|
76
|
+
Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay::type_
|
77
|
+
) -> Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay::type_
|
78
|
+
|
79
|
+
def initialize: (
|
80
|
+
?type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay::type_
|
81
|
+
) -> void
|
82
|
+
|
83
|
+
def to_hash: -> {
|
84
|
+
type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay::type_
|
85
|
+
}
|
86
|
+
|
87
|
+
type type_ = :DAY
|
88
|
+
|
89
|
+
module Type
|
90
|
+
extend Lithic::Internal::Type::Enum
|
91
|
+
|
92
|
+
DAY: :DAY
|
93
|
+
|
94
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay::type_]
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
type fixed_window_week =
|
99
|
+
{
|
100
|
+
day_of_week: Integer,
|
101
|
+
type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek::type_
|
102
|
+
}
|
103
|
+
|
104
|
+
class FixedWindowWeek < Lithic::Internal::Type::BaseModel
|
105
|
+
attr_reader day_of_week: Integer?
|
106
|
+
|
107
|
+
def day_of_week=: (Integer) -> Integer
|
108
|
+
|
109
|
+
attr_reader type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek::type_?
|
110
|
+
|
111
|
+
def type=: (
|
112
|
+
Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek::type_
|
113
|
+
) -> Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek::type_
|
114
|
+
|
115
|
+
def initialize: (
|
116
|
+
?day_of_week: Integer,
|
117
|
+
?type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek::type_
|
118
|
+
) -> void
|
119
|
+
|
120
|
+
def to_hash: -> {
|
121
|
+
day_of_week: Integer,
|
122
|
+
type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek::type_
|
123
|
+
}
|
124
|
+
|
125
|
+
type type_ = :WEEK
|
126
|
+
|
127
|
+
module Type
|
128
|
+
extend Lithic::Internal::Type::Enum
|
129
|
+
|
130
|
+
WEEK: :WEEK
|
131
|
+
|
132
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek::type_]
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
type fixed_window_month =
|
137
|
+
{
|
138
|
+
day_of_month: Integer,
|
139
|
+
type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth::type_
|
140
|
+
}
|
141
|
+
|
142
|
+
class FixedWindowMonth < Lithic::Internal::Type::BaseModel
|
143
|
+
attr_reader day_of_month: Integer?
|
144
|
+
|
145
|
+
def day_of_month=: (Integer) -> Integer
|
146
|
+
|
147
|
+
attr_reader type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth::type_?
|
148
|
+
|
149
|
+
def type=: (
|
150
|
+
Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth::type_
|
151
|
+
) -> Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth::type_
|
152
|
+
|
153
|
+
def initialize: (
|
154
|
+
?day_of_month: Integer,
|
155
|
+
?type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth::type_
|
156
|
+
) -> void
|
157
|
+
|
158
|
+
def to_hash: -> {
|
159
|
+
day_of_month: Integer,
|
160
|
+
type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth::type_
|
161
|
+
}
|
162
|
+
|
163
|
+
type type_ = :MONTH
|
164
|
+
|
165
|
+
module Type
|
166
|
+
extend Lithic::Internal::Type::Enum
|
167
|
+
|
168
|
+
MONTH: :MONTH
|
169
|
+
|
170
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth::type_]
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
type fixed_window_year =
|
175
|
+
{
|
176
|
+
day_of_month: Integer,
|
177
|
+
month: Integer,
|
178
|
+
type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear::type_
|
179
|
+
}
|
180
|
+
|
181
|
+
class FixedWindowYear < Lithic::Internal::Type::BaseModel
|
182
|
+
attr_reader day_of_month: Integer?
|
183
|
+
|
184
|
+
def day_of_month=: (Integer) -> Integer
|
185
|
+
|
186
|
+
attr_reader month: Integer?
|
187
|
+
|
188
|
+
def month=: (Integer) -> Integer
|
189
|
+
|
190
|
+
attr_reader type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear::type_?
|
191
|
+
|
192
|
+
def type=: (
|
193
|
+
Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear::type_
|
194
|
+
) -> Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear::type_
|
195
|
+
|
196
|
+
def initialize: (
|
197
|
+
?day_of_month: Integer,
|
198
|
+
?month: Integer,
|
199
|
+
?type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear::type_
|
200
|
+
) -> void
|
201
|
+
|
202
|
+
def to_hash: -> {
|
203
|
+
day_of_month: Integer,
|
204
|
+
month: Integer,
|
205
|
+
type: Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear::type_
|
206
|
+
}
|
207
|
+
|
208
|
+
type type_ = :YEAR
|
209
|
+
|
210
|
+
module Type
|
211
|
+
extend Lithic::Internal::Type::Enum
|
212
|
+
|
213
|
+
YEAR: :YEAR
|
214
|
+
|
215
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear::type_]
|
216
|
+
end
|
217
|
+
end
|
218
|
+
|
219
|
+
def self?.variants: -> ::Array[Lithic::Models::AuthRules::velocity_limit_params_period_window]
|
15
220
|
end
|
16
221
|
end
|
17
222
|
end
|
@@ -61,7 +61,7 @@ module Lithic
|
|
61
61
|
updated: Time
|
62
62
|
}
|
63
63
|
|
64
|
-
type financial_account_type = :ISSUING | :OPERATING | :RESERVE
|
64
|
+
type financial_account_type = :ISSUING | :OPERATING | :RESERVE | :SECURITY
|
65
65
|
|
66
66
|
module FinancialAccountType
|
67
67
|
extend Lithic::Internal::Type::Enum
|
@@ -69,6 +69,7 @@ module Lithic
|
|
69
69
|
ISSUING: :ISSUING
|
70
70
|
OPERATING: :OPERATING
|
71
71
|
RESERVE: :RESERVE
|
72
|
+
SECURITY: :SECURITY
|
72
73
|
|
73
74
|
def self?.values: -> ::Array[Lithic::Models::Balance::financial_account_type]
|
74
75
|
end
|