lithic 0.1.0.pre.alpha.56 → 0.1.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +33 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +8 -0
- data/lib/lithic/models/account_activity_list_params.rb +2 -0
- data/lib/lithic/models/account_activity_list_response.rb +2 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +2 -0
- data/lib/lithic/models/auth_rules/auth_rule.rb +208 -49
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +2 -2
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/conditional_operation.rb +5 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +19 -2
- data/lib/lithic/models/auth_rules/conditional_value.rb +4 -1
- data/lib/lithic/models/auth_rules/event_stream.rb +21 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +3 -17
- data/lib/lithic/models/auth_rules/v2_list_params.rb +16 -19
- data/lib/lithic/models/card_bulk_order.rb +106 -0
- data/lib/lithic/models/card_bulk_order_create_params.rb +52 -0
- data/lib/lithic/models/card_bulk_order_list_params.rb +61 -0
- data/lib/lithic/models/card_bulk_order_retrieve_params.rb +14 -0
- data/lib/lithic/models/card_bulk_order_update_params.rb +32 -0
- data/lib/lithic/models/card_convert_physical_params.rb +3 -0
- data/lib/lithic/models/card_create_params.rb +14 -1
- data/lib/lithic/models/card_program.rb +10 -10
- data/lib/lithic/models/card_reissue_params.rb +3 -0
- data/lib/lithic/models/card_renew_params.rb +3 -0
- data/lib/lithic/models/card_web_provision_params.rb +32 -1
- data/lib/lithic/models/card_web_provision_response.rb +98 -60
- data/lib/lithic/models/cardholder_authentication.rb +132 -0
- data/lib/lithic/models/device.rb +37 -0
- data/lib/lithic/models/digital_wallet_token_metadata.rb +141 -0
- data/lib/lithic/models/{external_bank_account_unpause_response.rb → external_bank_account.rb} +15 -16
- data/lib/lithic/models/external_payment.rb +12 -0
- data/lib/lithic/models/external_payment_create_params.rb +2 -0
- data/lib/lithic/models/external_payment_list_params.rb +2 -0
- data/lib/lithic/models/financial_account_balance.rb +112 -0
- data/lib/lithic/models/financial_accounts/statement.rb +9 -9
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +18 -0
- data/lib/lithic/models/financial_event.rb +16 -0
- data/lib/lithic/models/{funding_event_retrieve_response.rb → funding_event.rb} +9 -10
- data/lib/lithic/models/internal_transaction.rb +166 -0
- data/lib/lithic/models/management_operation_create_params.rb +6 -0
- data/lib/lithic/models/management_operation_transaction.rb +6 -0
- data/lib/lithic/models/network_total.rb +169 -0
- data/lib/lithic/models/non_pci_card.rb +10 -1
- data/lib/lithic/models/payment.rb +11 -1
- data/lib/lithic/models/payment_create_params.rb +10 -1
- data/lib/lithic/models/three_ds_authentication.rb +1259 -0
- data/lib/lithic/models/token_info.rb +42 -0
- data/lib/lithic/models/tokenization.rb +9 -111
- data/lib/lithic/models/tokenization_decline_reason.rb +27 -0
- data/lib/lithic/models/tokenization_rule_result.rb +61 -0
- data/lib/lithic/models/tokenization_tfa_reason.rb +29 -0
- data/lib/lithic/models/transaction.rb +6 -174
- data/lib/lithic/models/wallet_decisioning_info.rb +44 -0
- data/lib/lithic/models.rb +38 -0
- data/lib/lithic/resources/auth_rules/v2.rb +17 -15
- data/lib/lithic/resources/card_bulk_orders.rb +127 -0
- data/lib/lithic/resources/cards/balances.rb +2 -2
- data/lib/lithic/resources/cards.rb +14 -3
- data/lib/lithic/resources/external_bank_accounts.rb +4 -4
- data/lib/lithic/resources/financial_accounts/balances.rb +2 -2
- data/lib/lithic/resources/funding_events.rb +4 -4
- data/lib/lithic/resources/internal_transaction.rb +14 -0
- data/lib/lithic/resources/reports/settlement/network_totals.rb +4 -4
- data/lib/lithic/resources/three_ds/authentication.rb +2 -2
- data/lib/lithic/resources/tokenizations.rb +4 -4
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +23 -17
- data/manifest.yaml +1 -0
- data/rbi/lithic/client.rbi +6 -0
- data/rbi/lithic/models/account_activity_list_params.rbi +10 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +10 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +10 -0
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +339 -80
- data/rbi/lithic/models/auth_rules/conditional_operation.rbi +25 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +29 -0
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +2 -1
- data/rbi/lithic/models/auth_rules/event_stream.rbi +44 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +4 -60
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +27 -59
- data/rbi/lithic/models/card_bulk_order.rbi +141 -0
- data/rbi/lithic/models/card_bulk_order_create_params.rbi +92 -0
- data/rbi/lithic/models/card_bulk_order_list_params.rbi +98 -0
- data/rbi/lithic/models/card_bulk_order_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/card_bulk_order_update_params.rbi +68 -0
- data/rbi/lithic/models/card_convert_physical_params.rbi +8 -0
- data/rbi/lithic/models/card_create_params.rbi +23 -0
- data/rbi/lithic/models/card_program.rbi +10 -13
- data/rbi/lithic/models/card_reissue_params.rbi +8 -0
- data/rbi/lithic/models/card_renew_params.rbi +8 -0
- data/rbi/lithic/models/card_web_provision_params.rbi +44 -0
- data/rbi/lithic/models/card_web_provision_response.rbi +182 -102
- data/rbi/lithic/models/cardholder_authentication.rbi +296 -0
- data/rbi/lithic/models/device.rbi +54 -0
- data/rbi/lithic/models/digital_wallet_token_metadata.rbi +290 -0
- data/rbi/lithic/models/{external_bank_account_unpause_response.rbi → external_bank_account.rbi} +26 -75
- data/rbi/lithic/models/external_payment.rbi +57 -0
- data/rbi/lithic/models/external_payment_create_params.rbi +10 -0
- data/rbi/lithic/models/external_payment_list_params.rbi +10 -0
- data/rbi/lithic/models/financial_account_balance.rbi +144 -0
- data/rbi/lithic/models/financial_accounts/statement.rbi +9 -9
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +90 -0
- data/rbi/lithic/models/financial_event.rbi +60 -0
- data/rbi/lithic/models/{funding_event_list_response.rbi → funding_event.rbi} +13 -35
- data/rbi/lithic/models/internal_transaction.rbi +277 -0
- data/rbi/lithic/models/management_operation_create_params.rbi +30 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +30 -0
- data/rbi/lithic/models/network_total.rbi +226 -0
- data/rbi/lithic/models/non_pci_card.rbi +10 -0
- data/rbi/lithic/models/payment.rbi +12 -0
- data/rbi/lithic/models/payment_create_params.rbi +15 -1
- data/rbi/lithic/models/three_ds_authentication.rbi +2432 -0
- data/rbi/lithic/models/token_info.rbi +70 -0
- data/rbi/lithic/models/tokenization.rbi +12 -335
- data/rbi/lithic/models/tokenization_decline_reason.rbi +73 -0
- data/rbi/lithic/models/tokenization_rule_result.rbi +96 -0
- data/rbi/lithic/models/tokenization_tfa_reason.rbi +74 -0
- data/rbi/lithic/models/transaction.rbi +8 -410
- data/rbi/lithic/models/wallet_decisioning_info.rbi +63 -0
- data/rbi/lithic/models.rbi +38 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +15 -15
- data/rbi/lithic/resources/card_bulk_orders.rbi +101 -0
- data/rbi/lithic/resources/cards/balances.rbi +1 -3
- data/rbi/lithic/resources/cards.rbi +22 -1
- data/rbi/lithic/resources/external_bank_accounts.rbi +2 -2
- data/rbi/lithic/resources/financial_accounts/balances.rbi +1 -3
- data/rbi/lithic/resources/funding_events.rbi +2 -4
- data/rbi/lithic/resources/internal_transaction.rbi +12 -0
- data/rbi/lithic/resources/reports/settlement/network_totals.rbi +2 -8
- data/rbi/lithic/resources/three_ds/authentication.rbi +1 -1
- data/rbi/lithic/resources/tokenizations.rbi +2 -2
- data/sig/lithic/client.rbs +4 -0
- data/sig/lithic/models/account_activity_list_params.rbs +4 -0
- data/sig/lithic/models/account_activity_list_response.rbs +4 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +4 -0
- data/sig/lithic/models/auth_rules/auth_rule.rbs +135 -36
- data/sig/lithic/models/auth_rules/conditional_operation.rbs +10 -0
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +1 -1
- data/sig/lithic/models/auth_rules/event_stream.rbs +24 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +6 -25
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +15 -25
- data/sig/lithic/models/card_bulk_order.rbs +76 -0
- data/sig/lithic/models/card_bulk_order_create_params.rbs +46 -0
- data/sig/lithic/models/card_bulk_order_list_params.rbs +56 -0
- data/sig/lithic/models/card_bulk_order_retrieve_params.rbs +15 -0
- data/sig/lithic/models/card_bulk_order_update_params.rbs +34 -0
- data/sig/lithic/models/card_convert_physical_params.rbs +2 -0
- data/sig/lithic/models/card_create_params.rbs +9 -0
- data/sig/lithic/models/card_program.rbs +5 -7
- data/sig/lithic/models/card_reissue_params.rbs +2 -0
- data/sig/lithic/models/card_renew_params.rbs +2 -0
- data/sig/lithic/models/card_web_provision_params.rbs +26 -2
- data/sig/lithic/models/card_web_provision_response.rbs +81 -51
- data/sig/lithic/models/cardholder_authentication.rbs +98 -0
- data/sig/lithic/models/device.rbs +21 -0
- data/sig/lithic/models/digital_wallet_token_metadata.rbs +119 -0
- data/sig/lithic/models/{external_bank_account_unpause_response.rbs → external_bank_account.rbs} +17 -17
- data/sig/lithic/models/external_payment.rbs +28 -1
- data/sig/lithic/models/external_payment_create_params.rbs +8 -1
- data/sig/lithic/models/external_payment_list_params.rbs +8 -1
- data/sig/lithic/models/financial_account_balance.rbs +78 -0
- data/sig/lithic/models/financial_accounts/statement.rbs +12 -12
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +36 -0
- data/sig/lithic/models/financial_event.rbs +32 -0
- data/sig/lithic/models/{funding_event_list_response.rbs → funding_event.rbs} +11 -11
- data/sig/lithic/models/internal_transaction.rbs +165 -0
- data/sig/lithic/models/management_operation_create_params.rbs +12 -0
- data/sig/lithic/models/management_operation_transaction.rbs +12 -0
- data/sig/lithic/models/network_total.rbs +125 -0
- data/sig/lithic/models/non_pci_card.rbs +5 -0
- data/sig/lithic/models/payment.rbs +9 -0
- data/sig/lithic/models/payment_create_params.rbs +7 -0
- data/sig/lithic/models/three_ds_authentication.rbs +911 -0
- data/sig/lithic/models/token_info.rbs +36 -0
- data/sig/lithic/models/tokenization.rbs +18 -137
- data/sig/lithic/models/tokenization_decline_reason.rbs +38 -0
- data/sig/lithic/models/tokenization_rule_result.rbs +48 -0
- data/sig/lithic/models/tokenization_tfa_reason.rbs +42 -0
- data/sig/lithic/models/transaction.rbs +8 -140
- data/sig/lithic/models/wallet_decisioning_info.rbs +35 -0
- data/sig/lithic/models.rbs +38 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +9 -8
- data/sig/lithic/resources/card_bulk_orders.rbs +34 -0
- data/sig/lithic/resources/cards/balances.rbs +1 -1
- data/sig/lithic/resources/cards.rbs +5 -1
- data/sig/lithic/resources/external_bank_accounts.rbs +2 -2
- data/sig/lithic/resources/financial_accounts/balances.rbs +1 -1
- data/sig/lithic/resources/funding_events.rbs +2 -2
- data/sig/lithic/resources/internal_transaction.rbs +7 -0
- data/sig/lithic/resources/reports/settlement/network_totals.rbs +2 -2
- data/sig/lithic/resources/three_ds/authentication.rbs +1 -1
- data/sig/lithic/resources/tokenizations.rbs +2 -2
- metadata +70 -55
- data/lib/lithic/models/auth_rules/v2_create_response.rb +0 -280
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +0 -279
- data/lib/lithic/models/auth_rules/v2_list_response.rb +0 -279
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +0 -280
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +0 -284
- data/lib/lithic/models/auth_rules/v2_update_response.rb +0 -280
- data/lib/lithic/models/cards/balance_list_response.rb +0 -115
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +0 -242
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +0 -115
- data/lib/lithic/models/funding_event_list_response.rb +0 -108
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +0 -176
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +0 -176
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +0 -1288
- data/lib/lithic/models/tokenization_simulate_response.rb +0 -16
- data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +0 -16
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +0 -522
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +0 -522
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +0 -518
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +0 -525
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +0 -528
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +0 -522
- data/rbi/lithic/models/cards/balance_list_response.rbi +0 -170
- data/rbi/lithic/models/external_bank_account_retry_prenote_response.rbi +0 -375
- data/rbi/lithic/models/financial_accounts/balance_list_response.rbi +0 -174
- data/rbi/lithic/models/funding_event_retrieve_response.rbi +0 -184
- data/rbi/lithic/models/reports/settlement/network_total_list_response.rbi +0 -280
- data/rbi/lithic/models/reports/settlement/network_total_retrieve_response.rbi +0 -280
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +0 -2580
- data/rbi/lithic/models/tokenization_simulate_response.rbi +0 -33
- data/rbi/lithic/models/tokenization_update_digital_card_art_response.rbi +0 -31
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +0 -205
- data/sig/lithic/models/cards/balance_list_response.rbs +0 -80
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +0 -162
- data/sig/lithic/models/financial_accounts/balance_list_response.rbs +0 -80
- data/sig/lithic/models/funding_event_retrieve_response.rbs +0 -85
- data/sig/lithic/models/reports/settlement/network_total_list_response.rbs +0 -129
- data/sig/lithic/models/reports/settlement/network_total_retrieve_response.rbs +0 -129
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +0 -913
- data/sig/lithic/models/tokenization_simulate_response.rbs +0 -18
- data/sig/lithic/models/tokenization_update_digital_card_art_response.rbs +0 -16
|
@@ -56,18 +56,11 @@ module Lithic
|
|
|
56
56
|
attr_writer :business_account_tokens
|
|
57
57
|
|
|
58
58
|
# The event stream during which the rule will be evaluated.
|
|
59
|
-
sig
|
|
60
|
-
returns(
|
|
61
|
-
T.nilable(Lithic::AuthRules::V2CreateParams::EventStream::OrSymbol)
|
|
62
|
-
)
|
|
63
|
-
end
|
|
59
|
+
sig { returns(T.nilable(Lithic::AuthRules::EventStream::OrSymbol)) }
|
|
64
60
|
attr_reader :event_stream
|
|
65
61
|
|
|
66
62
|
sig do
|
|
67
|
-
params(
|
|
68
|
-
event_stream:
|
|
69
|
-
Lithic::AuthRules::V2CreateParams::EventStream::OrSymbol
|
|
70
|
-
).void
|
|
63
|
+
params(event_stream: Lithic::AuthRules::EventStream::OrSymbol).void
|
|
71
64
|
end
|
|
72
65
|
attr_writer :event_stream
|
|
73
66
|
|
|
@@ -107,8 +100,7 @@ module Lithic
|
|
|
107
100
|
program_level: T::Boolean,
|
|
108
101
|
account_tokens: T::Array[String],
|
|
109
102
|
business_account_tokens: T::Array[String],
|
|
110
|
-
event_stream:
|
|
111
|
-
Lithic::AuthRules::V2CreateParams::EventStream::OrSymbol,
|
|
103
|
+
event_stream: Lithic::AuthRules::EventStream::OrSymbol,
|
|
112
104
|
name: T.nilable(String),
|
|
113
105
|
excluded_card_tokens: T::Array[String],
|
|
114
106
|
request_options: Lithic::RequestOptions::OrHash
|
|
@@ -162,8 +154,7 @@ module Lithic
|
|
|
162
154
|
type: Lithic::AuthRules::V2CreateParams::Type::OrSymbol,
|
|
163
155
|
account_tokens: T::Array[String],
|
|
164
156
|
business_account_tokens: T::Array[String],
|
|
165
|
-
event_stream:
|
|
166
|
-
Lithic::AuthRules::V2CreateParams::EventStream::OrSymbol,
|
|
157
|
+
event_stream: Lithic::AuthRules::EventStream::OrSymbol,
|
|
167
158
|
name: T.nilable(String),
|
|
168
159
|
card_tokens: T::Array[String],
|
|
169
160
|
program_level: T::Boolean,
|
|
@@ -249,53 +240,6 @@ module Lithic
|
|
|
249
240
|
def self.values
|
|
250
241
|
end
|
|
251
242
|
end
|
|
252
|
-
|
|
253
|
-
# The event stream during which the rule will be evaluated.
|
|
254
|
-
module EventStream
|
|
255
|
-
extend Lithic::Internal::Type::Enum
|
|
256
|
-
|
|
257
|
-
TaggedSymbol =
|
|
258
|
-
T.type_alias do
|
|
259
|
-
T.all(Symbol, Lithic::AuthRules::V2CreateParams::EventStream)
|
|
260
|
-
end
|
|
261
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
262
|
-
|
|
263
|
-
AUTHORIZATION =
|
|
264
|
-
T.let(
|
|
265
|
-
:AUTHORIZATION,
|
|
266
|
-
Lithic::AuthRules::V2CreateParams::EventStream::TaggedSymbol
|
|
267
|
-
)
|
|
268
|
-
THREE_DS_AUTHENTICATION =
|
|
269
|
-
T.let(
|
|
270
|
-
:THREE_DS_AUTHENTICATION,
|
|
271
|
-
Lithic::AuthRules::V2CreateParams::EventStream::TaggedSymbol
|
|
272
|
-
)
|
|
273
|
-
TOKENIZATION =
|
|
274
|
-
T.let(
|
|
275
|
-
:TOKENIZATION,
|
|
276
|
-
Lithic::AuthRules::V2CreateParams::EventStream::TaggedSymbol
|
|
277
|
-
)
|
|
278
|
-
ACH_CREDIT_RECEIPT =
|
|
279
|
-
T.let(
|
|
280
|
-
:ACH_CREDIT_RECEIPT,
|
|
281
|
-
Lithic::AuthRules::V2CreateParams::EventStream::TaggedSymbol
|
|
282
|
-
)
|
|
283
|
-
ACH_DEBIT_RECEIPT =
|
|
284
|
-
T.let(
|
|
285
|
-
:ACH_DEBIT_RECEIPT,
|
|
286
|
-
Lithic::AuthRules::V2CreateParams::EventStream::TaggedSymbol
|
|
287
|
-
)
|
|
288
|
-
|
|
289
|
-
sig do
|
|
290
|
-
override.returns(
|
|
291
|
-
T::Array[
|
|
292
|
-
Lithic::AuthRules::V2CreateParams::EventStream::TaggedSymbol
|
|
293
|
-
]
|
|
294
|
-
)
|
|
295
|
-
end
|
|
296
|
-
def self.values
|
|
297
|
-
end
|
|
298
|
-
end
|
|
299
243
|
end
|
|
300
244
|
end
|
|
301
245
|
end
|
|
@@ -41,20 +41,30 @@ module Lithic
|
|
|
41
41
|
sig { params(ending_before: String).void }
|
|
42
42
|
attr_writer :ending_before
|
|
43
43
|
|
|
44
|
-
# Only return Auth rules that are executed
|
|
44
|
+
# Deprecated: Use event_streams instead. Only return Auth rules that are executed
|
|
45
|
+
# during the provided event stream.
|
|
46
|
+
sig { returns(T.nilable(Lithic::AuthRules::EventStream::OrSymbol)) }
|
|
47
|
+
attr_reader :event_stream
|
|
48
|
+
|
|
45
49
|
sig do
|
|
46
|
-
|
|
47
|
-
T.nilable(Lithic::AuthRules::V2ListParams::EventStream::OrSymbol)
|
|
48
|
-
)
|
|
50
|
+
params(event_stream: Lithic::AuthRules::EventStream::OrSymbol).void
|
|
49
51
|
end
|
|
50
|
-
|
|
52
|
+
attr_writer :event_stream
|
|
53
|
+
|
|
54
|
+
# Only return Auth rules that are executed during any of the provided event
|
|
55
|
+
# streams. If event_streams and event_stream are specified, the values will be
|
|
56
|
+
# combined.
|
|
57
|
+
sig do
|
|
58
|
+
returns(T.nilable(T::Array[Lithic::AuthRules::EventStream::OrSymbol]))
|
|
59
|
+
end
|
|
60
|
+
attr_reader :event_streams
|
|
51
61
|
|
|
52
62
|
sig do
|
|
53
63
|
params(
|
|
54
|
-
|
|
64
|
+
event_streams: T::Array[Lithic::AuthRules::EventStream::OrSymbol]
|
|
55
65
|
).void
|
|
56
66
|
end
|
|
57
|
-
attr_writer :
|
|
67
|
+
attr_writer :event_streams
|
|
58
68
|
|
|
59
69
|
# Page size (for pagination).
|
|
60
70
|
sig { returns(T.nilable(Integer)) }
|
|
@@ -88,8 +98,8 @@ module Lithic
|
|
|
88
98
|
business_account_token: String,
|
|
89
99
|
card_token: String,
|
|
90
100
|
ending_before: String,
|
|
91
|
-
event_stream:
|
|
92
|
-
|
|
101
|
+
event_stream: Lithic::AuthRules::EventStream::OrSymbol,
|
|
102
|
+
event_streams: T::Array[Lithic::AuthRules::EventStream::OrSymbol],
|
|
93
103
|
page_size: Integer,
|
|
94
104
|
scope: Lithic::AuthRules::V2ListParams::Scope::OrSymbol,
|
|
95
105
|
starting_after: String,
|
|
@@ -106,8 +116,13 @@ module Lithic
|
|
|
106
116
|
# A cursor representing an item's token before which a page of results should end.
|
|
107
117
|
# Used to retrieve the previous page of results before this item.
|
|
108
118
|
ending_before: nil,
|
|
109
|
-
# Only return Auth rules that are executed
|
|
119
|
+
# Deprecated: Use event_streams instead. Only return Auth rules that are executed
|
|
120
|
+
# during the provided event stream.
|
|
110
121
|
event_stream: nil,
|
|
122
|
+
# Only return Auth rules that are executed during any of the provided event
|
|
123
|
+
# streams. If event_streams and event_stream are specified, the values will be
|
|
124
|
+
# combined.
|
|
125
|
+
event_streams: nil,
|
|
111
126
|
# Page size (for pagination).
|
|
112
127
|
page_size: nil,
|
|
113
128
|
# Only return Auth Rules that are bound to the provided scope.
|
|
@@ -126,8 +141,8 @@ module Lithic
|
|
|
126
141
|
business_account_token: String,
|
|
127
142
|
card_token: String,
|
|
128
143
|
ending_before: String,
|
|
129
|
-
event_stream:
|
|
130
|
-
|
|
144
|
+
event_stream: Lithic::AuthRules::EventStream::OrSymbol,
|
|
145
|
+
event_streams: T::Array[Lithic::AuthRules::EventStream::OrSymbol],
|
|
131
146
|
page_size: Integer,
|
|
132
147
|
scope: Lithic::AuthRules::V2ListParams::Scope::OrSymbol,
|
|
133
148
|
starting_after: String,
|
|
@@ -138,53 +153,6 @@ module Lithic
|
|
|
138
153
|
def to_hash
|
|
139
154
|
end
|
|
140
155
|
|
|
141
|
-
# Only return Auth rules that are executed during the provided event stream.
|
|
142
|
-
module EventStream
|
|
143
|
-
extend Lithic::Internal::Type::Enum
|
|
144
|
-
|
|
145
|
-
TaggedSymbol =
|
|
146
|
-
T.type_alias do
|
|
147
|
-
T.all(Symbol, Lithic::AuthRules::V2ListParams::EventStream)
|
|
148
|
-
end
|
|
149
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
150
|
-
|
|
151
|
-
AUTHORIZATION =
|
|
152
|
-
T.let(
|
|
153
|
-
:AUTHORIZATION,
|
|
154
|
-
Lithic::AuthRules::V2ListParams::EventStream::TaggedSymbol
|
|
155
|
-
)
|
|
156
|
-
THREE_DS_AUTHENTICATION =
|
|
157
|
-
T.let(
|
|
158
|
-
:THREE_DS_AUTHENTICATION,
|
|
159
|
-
Lithic::AuthRules::V2ListParams::EventStream::TaggedSymbol
|
|
160
|
-
)
|
|
161
|
-
TOKENIZATION =
|
|
162
|
-
T.let(
|
|
163
|
-
:TOKENIZATION,
|
|
164
|
-
Lithic::AuthRules::V2ListParams::EventStream::TaggedSymbol
|
|
165
|
-
)
|
|
166
|
-
ACH_CREDIT_RECEIPT =
|
|
167
|
-
T.let(
|
|
168
|
-
:ACH_CREDIT_RECEIPT,
|
|
169
|
-
Lithic::AuthRules::V2ListParams::EventStream::TaggedSymbol
|
|
170
|
-
)
|
|
171
|
-
ACH_DEBIT_RECEIPT =
|
|
172
|
-
T.let(
|
|
173
|
-
:ACH_DEBIT_RECEIPT,
|
|
174
|
-
Lithic::AuthRules::V2ListParams::EventStream::TaggedSymbol
|
|
175
|
-
)
|
|
176
|
-
|
|
177
|
-
sig do
|
|
178
|
-
override.returns(
|
|
179
|
-
T::Array[
|
|
180
|
-
Lithic::AuthRules::V2ListParams::EventStream::TaggedSymbol
|
|
181
|
-
]
|
|
182
|
-
)
|
|
183
|
-
end
|
|
184
|
-
def self.values
|
|
185
|
-
end
|
|
186
|
-
end
|
|
187
|
-
|
|
188
156
|
# Only return Auth Rules that are bound to the provided scope.
|
|
189
157
|
module Scope
|
|
190
158
|
extend Lithic::Internal::Type::Enum
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class CardBulkOrder < Lithic::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias { T.any(Lithic::CardBulkOrder, Lithic::Internal::AnyHash) }
|
|
8
|
+
|
|
9
|
+
# Globally unique identifier for the bulk order
|
|
10
|
+
sig { returns(String) }
|
|
11
|
+
attr_accessor :token
|
|
12
|
+
|
|
13
|
+
# List of card tokens associated with this bulk order
|
|
14
|
+
sig { returns(T::Array[String]) }
|
|
15
|
+
attr_accessor :card_tokens
|
|
16
|
+
|
|
17
|
+
# An RFC 3339 timestamp for when the bulk order was created. UTC time zone
|
|
18
|
+
sig { returns(Time) }
|
|
19
|
+
attr_accessor :created
|
|
20
|
+
|
|
21
|
+
# Customer-specified product configuration for physical card manufacturing. This
|
|
22
|
+
# must be configured with Lithic before use
|
|
23
|
+
sig { returns(T.nilable(String)) }
|
|
24
|
+
attr_accessor :customer_product_id
|
|
25
|
+
|
|
26
|
+
# Shipping address for all cards in this bulk order
|
|
27
|
+
sig { returns(T.anything) }
|
|
28
|
+
attr_accessor :shipping_address
|
|
29
|
+
|
|
30
|
+
# Shipping method for all cards in this bulk order
|
|
31
|
+
sig { returns(Lithic::CardBulkOrder::ShippingMethod::TaggedSymbol) }
|
|
32
|
+
attr_accessor :shipping_method
|
|
33
|
+
|
|
34
|
+
# Status of the bulk order. OPEN indicates the order is accepting cards. LOCKED
|
|
35
|
+
# indicates the order is finalized and no more cards can be added
|
|
36
|
+
sig { returns(Lithic::CardBulkOrder::Status::TaggedSymbol) }
|
|
37
|
+
attr_accessor :status
|
|
38
|
+
|
|
39
|
+
# An RFC 3339 timestamp for when the bulk order was last updated. UTC time zone
|
|
40
|
+
sig { returns(Time) }
|
|
41
|
+
attr_accessor :updated
|
|
42
|
+
|
|
43
|
+
# Represents a bulk order for physical card shipments
|
|
44
|
+
sig do
|
|
45
|
+
params(
|
|
46
|
+
token: String,
|
|
47
|
+
card_tokens: T::Array[String],
|
|
48
|
+
created: Time,
|
|
49
|
+
customer_product_id: T.nilable(String),
|
|
50
|
+
shipping_address: T.anything,
|
|
51
|
+
shipping_method: Lithic::CardBulkOrder::ShippingMethod::OrSymbol,
|
|
52
|
+
status: Lithic::CardBulkOrder::Status::OrSymbol,
|
|
53
|
+
updated: Time
|
|
54
|
+
).returns(T.attached_class)
|
|
55
|
+
end
|
|
56
|
+
def self.new(
|
|
57
|
+
# Globally unique identifier for the bulk order
|
|
58
|
+
token:,
|
|
59
|
+
# List of card tokens associated with this bulk order
|
|
60
|
+
card_tokens:,
|
|
61
|
+
# An RFC 3339 timestamp for when the bulk order was created. UTC time zone
|
|
62
|
+
created:,
|
|
63
|
+
# Customer-specified product configuration for physical card manufacturing. This
|
|
64
|
+
# must be configured with Lithic before use
|
|
65
|
+
customer_product_id:,
|
|
66
|
+
# Shipping address for all cards in this bulk order
|
|
67
|
+
shipping_address:,
|
|
68
|
+
# Shipping method for all cards in this bulk order
|
|
69
|
+
shipping_method:,
|
|
70
|
+
# Status of the bulk order. OPEN indicates the order is accepting cards. LOCKED
|
|
71
|
+
# indicates the order is finalized and no more cards can be added
|
|
72
|
+
status:,
|
|
73
|
+
# An RFC 3339 timestamp for when the bulk order was last updated. UTC time zone
|
|
74
|
+
updated:
|
|
75
|
+
)
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
sig do
|
|
79
|
+
override.returns(
|
|
80
|
+
{
|
|
81
|
+
token: String,
|
|
82
|
+
card_tokens: T::Array[String],
|
|
83
|
+
created: Time,
|
|
84
|
+
customer_product_id: T.nilable(String),
|
|
85
|
+
shipping_address: T.anything,
|
|
86
|
+
shipping_method:
|
|
87
|
+
Lithic::CardBulkOrder::ShippingMethod::TaggedSymbol,
|
|
88
|
+
status: Lithic::CardBulkOrder::Status::TaggedSymbol,
|
|
89
|
+
updated: Time
|
|
90
|
+
}
|
|
91
|
+
)
|
|
92
|
+
end
|
|
93
|
+
def to_hash
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
# Shipping method for all cards in this bulk order
|
|
97
|
+
module ShippingMethod
|
|
98
|
+
extend Lithic::Internal::Type::Enum
|
|
99
|
+
|
|
100
|
+
TaggedSymbol =
|
|
101
|
+
T.type_alias { T.all(Symbol, Lithic::CardBulkOrder::ShippingMethod) }
|
|
102
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
103
|
+
|
|
104
|
+
BULK_EXPEDITED =
|
|
105
|
+
T.let(
|
|
106
|
+
:BULK_EXPEDITED,
|
|
107
|
+
Lithic::CardBulkOrder::ShippingMethod::TaggedSymbol
|
|
108
|
+
)
|
|
109
|
+
|
|
110
|
+
sig do
|
|
111
|
+
override.returns(
|
|
112
|
+
T::Array[Lithic::CardBulkOrder::ShippingMethod::TaggedSymbol]
|
|
113
|
+
)
|
|
114
|
+
end
|
|
115
|
+
def self.values
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
# Status of the bulk order. OPEN indicates the order is accepting cards. LOCKED
|
|
120
|
+
# indicates the order is finalized and no more cards can be added
|
|
121
|
+
module Status
|
|
122
|
+
extend Lithic::Internal::Type::Enum
|
|
123
|
+
|
|
124
|
+
TaggedSymbol =
|
|
125
|
+
T.type_alias { T.all(Symbol, Lithic::CardBulkOrder::Status) }
|
|
126
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
127
|
+
|
|
128
|
+
OPEN = T.let(:OPEN, Lithic::CardBulkOrder::Status::TaggedSymbol)
|
|
129
|
+
LOCKED = T.let(:LOCKED, Lithic::CardBulkOrder::Status::TaggedSymbol)
|
|
130
|
+
|
|
131
|
+
sig do
|
|
132
|
+
override.returns(
|
|
133
|
+
T::Array[Lithic::CardBulkOrder::Status::TaggedSymbol]
|
|
134
|
+
)
|
|
135
|
+
end
|
|
136
|
+
def self.values
|
|
137
|
+
end
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
end
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class CardBulkOrderCreateParams < Lithic::Internal::Type::BaseModel
|
|
6
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Lithic::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(Lithic::CardBulkOrderCreateParams, Lithic::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# Customer-specified product configuration for physical card manufacturing. This
|
|
15
|
+
# must be configured with Lithic before use
|
|
16
|
+
sig { returns(String) }
|
|
17
|
+
attr_accessor :customer_product_id
|
|
18
|
+
|
|
19
|
+
# Shipping address for all cards in this bulk order
|
|
20
|
+
sig { returns(T.anything) }
|
|
21
|
+
attr_accessor :shipping_address
|
|
22
|
+
|
|
23
|
+
# Shipping method for all cards in this bulk order
|
|
24
|
+
sig do
|
|
25
|
+
returns(Lithic::CardBulkOrderCreateParams::ShippingMethod::OrSymbol)
|
|
26
|
+
end
|
|
27
|
+
attr_accessor :shipping_method
|
|
28
|
+
|
|
29
|
+
sig do
|
|
30
|
+
params(
|
|
31
|
+
customer_product_id: String,
|
|
32
|
+
shipping_address: T.anything,
|
|
33
|
+
shipping_method:
|
|
34
|
+
Lithic::CardBulkOrderCreateParams::ShippingMethod::OrSymbol,
|
|
35
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
36
|
+
).returns(T.attached_class)
|
|
37
|
+
end
|
|
38
|
+
def self.new(
|
|
39
|
+
# Customer-specified product configuration for physical card manufacturing. This
|
|
40
|
+
# must be configured with Lithic before use
|
|
41
|
+
customer_product_id:,
|
|
42
|
+
# Shipping address for all cards in this bulk order
|
|
43
|
+
shipping_address:,
|
|
44
|
+
# Shipping method for all cards in this bulk order
|
|
45
|
+
shipping_method:,
|
|
46
|
+
request_options: {}
|
|
47
|
+
)
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
sig do
|
|
51
|
+
override.returns(
|
|
52
|
+
{
|
|
53
|
+
customer_product_id: String,
|
|
54
|
+
shipping_address: T.anything,
|
|
55
|
+
shipping_method:
|
|
56
|
+
Lithic::CardBulkOrderCreateParams::ShippingMethod::OrSymbol,
|
|
57
|
+
request_options: Lithic::RequestOptions
|
|
58
|
+
}
|
|
59
|
+
)
|
|
60
|
+
end
|
|
61
|
+
def to_hash
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# Shipping method for all cards in this bulk order
|
|
65
|
+
module ShippingMethod
|
|
66
|
+
extend Lithic::Internal::Type::Enum
|
|
67
|
+
|
|
68
|
+
TaggedSymbol =
|
|
69
|
+
T.type_alias do
|
|
70
|
+
T.all(Symbol, Lithic::CardBulkOrderCreateParams::ShippingMethod)
|
|
71
|
+
end
|
|
72
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
73
|
+
|
|
74
|
+
BULK_EXPEDITED =
|
|
75
|
+
T.let(
|
|
76
|
+
:BULK_EXPEDITED,
|
|
77
|
+
Lithic::CardBulkOrderCreateParams::ShippingMethod::TaggedSymbol
|
|
78
|
+
)
|
|
79
|
+
|
|
80
|
+
sig do
|
|
81
|
+
override.returns(
|
|
82
|
+
T::Array[
|
|
83
|
+
Lithic::CardBulkOrderCreateParams::ShippingMethod::TaggedSymbol
|
|
84
|
+
]
|
|
85
|
+
)
|
|
86
|
+
end
|
|
87
|
+
def self.values
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
end
|
|
92
|
+
end
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class CardBulkOrderListParams < Lithic::Internal::Type::BaseModel
|
|
6
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Lithic::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(Lithic::CardBulkOrderListParams, Lithic::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# Date string in RFC 3339 format. Only entries created after the specified time
|
|
15
|
+
# will be included. UTC time zone.
|
|
16
|
+
sig { returns(T.nilable(Time)) }
|
|
17
|
+
attr_reader :begin_
|
|
18
|
+
|
|
19
|
+
sig { params(begin_: Time).void }
|
|
20
|
+
attr_writer :begin_
|
|
21
|
+
|
|
22
|
+
# Date string in RFC 3339 format. Only entries created before the specified time
|
|
23
|
+
# will be included. UTC time zone.
|
|
24
|
+
sig { returns(T.nilable(Time)) }
|
|
25
|
+
attr_reader :end_
|
|
26
|
+
|
|
27
|
+
sig { params(end_: Time).void }
|
|
28
|
+
attr_writer :end_
|
|
29
|
+
|
|
30
|
+
# A cursor representing an item's token before which a page of results should end.
|
|
31
|
+
# Used to retrieve the previous page of results before this item.
|
|
32
|
+
sig { returns(T.nilable(String)) }
|
|
33
|
+
attr_reader :ending_before
|
|
34
|
+
|
|
35
|
+
sig { params(ending_before: String).void }
|
|
36
|
+
attr_writer :ending_before
|
|
37
|
+
|
|
38
|
+
# Page size (for pagination).
|
|
39
|
+
sig { returns(T.nilable(Integer)) }
|
|
40
|
+
attr_reader :page_size
|
|
41
|
+
|
|
42
|
+
sig { params(page_size: Integer).void }
|
|
43
|
+
attr_writer :page_size
|
|
44
|
+
|
|
45
|
+
# A cursor representing an item's token after which a page of results should
|
|
46
|
+
# begin. Used to retrieve the next page of results after this item.
|
|
47
|
+
sig { returns(T.nilable(String)) }
|
|
48
|
+
attr_reader :starting_after
|
|
49
|
+
|
|
50
|
+
sig { params(starting_after: String).void }
|
|
51
|
+
attr_writer :starting_after
|
|
52
|
+
|
|
53
|
+
sig do
|
|
54
|
+
params(
|
|
55
|
+
begin_: Time,
|
|
56
|
+
end_: Time,
|
|
57
|
+
ending_before: String,
|
|
58
|
+
page_size: Integer,
|
|
59
|
+
starting_after: String,
|
|
60
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
61
|
+
).returns(T.attached_class)
|
|
62
|
+
end
|
|
63
|
+
def self.new(
|
|
64
|
+
# Date string in RFC 3339 format. Only entries created after the specified time
|
|
65
|
+
# will be included. UTC time zone.
|
|
66
|
+
begin_: nil,
|
|
67
|
+
# Date string in RFC 3339 format. Only entries created before the specified time
|
|
68
|
+
# will be included. UTC time zone.
|
|
69
|
+
end_: nil,
|
|
70
|
+
# A cursor representing an item's token before which a page of results should end.
|
|
71
|
+
# Used to retrieve the previous page of results before this item.
|
|
72
|
+
ending_before: nil,
|
|
73
|
+
# Page size (for pagination).
|
|
74
|
+
page_size: nil,
|
|
75
|
+
# A cursor representing an item's token after which a page of results should
|
|
76
|
+
# begin. Used to retrieve the next page of results after this item.
|
|
77
|
+
starting_after: nil,
|
|
78
|
+
request_options: {}
|
|
79
|
+
)
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
sig do
|
|
83
|
+
override.returns(
|
|
84
|
+
{
|
|
85
|
+
begin_: Time,
|
|
86
|
+
end_: Time,
|
|
87
|
+
ending_before: String,
|
|
88
|
+
page_size: Integer,
|
|
89
|
+
starting_after: String,
|
|
90
|
+
request_options: Lithic::RequestOptions
|
|
91
|
+
}
|
|
92
|
+
)
|
|
93
|
+
end
|
|
94
|
+
def to_hash
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class CardBulkOrderRetrieveParams < Lithic::Internal::Type::BaseModel
|
|
6
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Lithic::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(Lithic::CardBulkOrderRetrieveParams, Lithic::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
sig do
|
|
15
|
+
params(request_options: Lithic::RequestOptions::OrHash).returns(
|
|
16
|
+
T.attached_class
|
|
17
|
+
)
|
|
18
|
+
end
|
|
19
|
+
def self.new(request_options: {})
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
sig { override.returns({ request_options: Lithic::RequestOptions }) }
|
|
23
|
+
def to_hash
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class CardBulkOrderUpdateParams < Lithic::Internal::Type::BaseModel
|
|
6
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Lithic::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(Lithic::CardBulkOrderUpdateParams, Lithic::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# Status to update the bulk order to. Use LOCKED to finalize the order
|
|
15
|
+
sig { returns(Lithic::CardBulkOrderUpdateParams::Status::OrSymbol) }
|
|
16
|
+
attr_accessor :status
|
|
17
|
+
|
|
18
|
+
sig do
|
|
19
|
+
params(
|
|
20
|
+
status: Lithic::CardBulkOrderUpdateParams::Status::OrSymbol,
|
|
21
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
22
|
+
).returns(T.attached_class)
|
|
23
|
+
end
|
|
24
|
+
def self.new(
|
|
25
|
+
# Status to update the bulk order to. Use LOCKED to finalize the order
|
|
26
|
+
status:,
|
|
27
|
+
request_options: {}
|
|
28
|
+
)
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
sig do
|
|
32
|
+
override.returns(
|
|
33
|
+
{
|
|
34
|
+
status: Lithic::CardBulkOrderUpdateParams::Status::OrSymbol,
|
|
35
|
+
request_options: Lithic::RequestOptions
|
|
36
|
+
}
|
|
37
|
+
)
|
|
38
|
+
end
|
|
39
|
+
def to_hash
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# Status to update the bulk order to. Use LOCKED to finalize the order
|
|
43
|
+
module Status
|
|
44
|
+
extend Lithic::Internal::Type::Enum
|
|
45
|
+
|
|
46
|
+
TaggedSymbol =
|
|
47
|
+
T.type_alias do
|
|
48
|
+
T.all(Symbol, Lithic::CardBulkOrderUpdateParams::Status)
|
|
49
|
+
end
|
|
50
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
51
|
+
|
|
52
|
+
LOCKED =
|
|
53
|
+
T.let(
|
|
54
|
+
:LOCKED,
|
|
55
|
+
Lithic::CardBulkOrderUpdateParams::Status::TaggedSymbol
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
sig do
|
|
59
|
+
override.returns(
|
|
60
|
+
T::Array[Lithic::CardBulkOrderUpdateParams::Status::TaggedSymbol]
|
|
61
|
+
)
|
|
62
|
+
end
|
|
63
|
+
def self.values
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
end
|
|
@@ -48,6 +48,7 @@ module Lithic
|
|
|
48
48
|
# tracking
|
|
49
49
|
# - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
|
|
50
50
|
# or similar international option, with tracking
|
|
51
|
+
# - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
|
|
51
52
|
sig do
|
|
52
53
|
returns(
|
|
53
54
|
T.nilable(Lithic::CardConvertPhysicalParams::ShippingMethod::OrSymbol)
|
|
@@ -96,6 +97,7 @@ module Lithic
|
|
|
96
97
|
# tracking
|
|
97
98
|
# - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
|
|
98
99
|
# or similar international option, with tracking
|
|
100
|
+
# - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
|
|
99
101
|
shipping_method: nil,
|
|
100
102
|
request_options: {}
|
|
101
103
|
)
|
|
@@ -130,6 +132,7 @@ module Lithic
|
|
|
130
132
|
# tracking
|
|
131
133
|
# - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
|
|
132
134
|
# or similar international option, with tracking
|
|
135
|
+
# - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
|
|
133
136
|
module ShippingMethod
|
|
134
137
|
extend Lithic::Internal::Type::Enum
|
|
135
138
|
|
|
@@ -144,6 +147,11 @@ module Lithic
|
|
|
144
147
|
:"2_DAY",
|
|
145
148
|
Lithic::CardConvertPhysicalParams::ShippingMethod::TaggedSymbol
|
|
146
149
|
)
|
|
150
|
+
BULK_EXPEDITED =
|
|
151
|
+
T.let(
|
|
152
|
+
:BULK_EXPEDITED,
|
|
153
|
+
Lithic::CardConvertPhysicalParams::ShippingMethod::TaggedSymbol
|
|
154
|
+
)
|
|
147
155
|
EXPEDITED =
|
|
148
156
|
T.let(
|
|
149
157
|
:EXPEDITED,
|