lithic 0.10.0 → 0.12.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.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +49 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/internal/util.rb +22 -7
  5. data/lib/lithic/models/auth_rules/backtest_stats.rb +9 -1
  6. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +158 -1
  7. data/lib/lithic/models/auth_rules/report_stats.rb +46 -81
  8. data/lib/lithic/models/auth_rules/rule_feature.rb +47 -1
  9. data/lib/lithic/models/auth_rules/typescript_code_parameters.rb +2 -2
  10. data/lib/lithic/models/auth_rules/v2_list_results_response.rb +36 -4
  11. data/lib/lithic/models/auth_rules/v2_retrieve_report_response.rb +4 -531
  12. data/lib/lithic/models/card_authorization_approval_request_webhook_event.rb +17 -26
  13. data/lib/lithic/models/card_authorization_challenge_response_webhook_event.rb +103 -0
  14. data/lib/lithic/models/card_bulk_order.rb +8 -3
  15. data/lib/lithic/models/card_bulk_order_create_params.rb +8 -3
  16. data/lib/lithic/models/card_convert_physical_params.rb +5 -3
  17. data/lib/lithic/models/card_create_params.rb +5 -3
  18. data/lib/lithic/models/card_reissue_params.rb +5 -3
  19. data/lib/lithic/models/card_renew_params.rb +5 -3
  20. data/lib/lithic/models/event.rb +5 -0
  21. data/lib/lithic/models/event_list_params.rb +3 -0
  22. data/lib/lithic/models/event_subscription.rb +3 -0
  23. data/lib/lithic/models/events/subscription_create_params.rb +3 -0
  24. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
  25. data/lib/lithic/models/events/subscription_update_params.rb +3 -0
  26. data/lib/lithic/models/external_bank_account_set_verification_method_params.rb +55 -0
  27. data/lib/lithic/models/financial_account.rb +1 -0
  28. data/lib/lithic/models/financial_account_update_status_params.rb +1 -0
  29. data/lib/lithic/models/financial_accounts/statement.rb +11 -4
  30. data/lib/lithic/models/instance_financial_account_type.rb +1 -0
  31. data/lib/lithic/models/parsed_webhook_event.rb +3 -1
  32. data/lib/lithic/models/payment_create_params.rb +13 -1
  33. data/lib/lithic/models.rb +6 -0
  34. data/lib/lithic/resources/card_bulk_orders.rb +10 -11
  35. data/lib/lithic/resources/external_bank_accounts.rb +31 -0
  36. data/lib/lithic/resources/webhooks.rb +1 -1
  37. data/lib/lithic/version.rb +1 -1
  38. data/lib/lithic.rb +2 -0
  39. data/rbi/lithic/internal/util.rbi +8 -0
  40. data/rbi/lithic/models/auth_rules/backtest_stats.rbi +11 -3
  41. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +370 -3
  42. data/rbi/lithic/models/auth_rules/report_stats.rbi +73 -177
  43. data/rbi/lithic/models/auth_rules/rule_feature.rbi +104 -1
  44. data/rbi/lithic/models/auth_rules/typescript_code_parameters.rbi +6 -3
  45. data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +38 -6
  46. data/rbi/lithic/models/auth_rules/v2_retrieve_report_response.rbi +3 -1721
  47. data/rbi/lithic/models/card_authorization_approval_request_webhook_event.rbi +23 -78
  48. data/rbi/lithic/models/card_authorization_challenge_response_webhook_event.rbi +175 -0
  49. data/rbi/lithic/models/card_bulk_order.rbi +21 -3
  50. data/rbi/lithic/models/card_bulk_order_create_params.rbi +21 -3
  51. data/rbi/lithic/models/card_convert_physical_params.rbi +8 -5
  52. data/rbi/lithic/models/card_create_params.rbi +8 -8
  53. data/rbi/lithic/models/card_reissue_params.rbi +8 -8
  54. data/rbi/lithic/models/card_renew_params.rbi +8 -8
  55. data/rbi/lithic/models/event.rbi +11 -0
  56. data/rbi/lithic/models/event_list_params.rbi +7 -0
  57. data/rbi/lithic/models/event_subscription.rbi +7 -0
  58. data/rbi/lithic/models/events/subscription_create_params.rbi +7 -0
  59. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
  60. data/rbi/lithic/models/events/subscription_update_params.rbi +7 -0
  61. data/rbi/lithic/models/external_bank_account_set_verification_method_params.rbi +111 -0
  62. data/rbi/lithic/models/financial_account.rbi +5 -0
  63. data/rbi/lithic/models/financial_account_update_status_params.rbi +5 -0
  64. data/rbi/lithic/models/financial_accounts/statement.rbi +15 -6
  65. data/rbi/lithic/models/instance_financial_account_type.rbi +5 -0
  66. data/rbi/lithic/models/parsed_webhook_event.rbi +1 -0
  67. data/rbi/lithic/models/payment_create_params.rbi +13 -3
  68. data/rbi/lithic/models.rbi +6 -0
  69. data/rbi/lithic/resources/card_bulk_orders.rbi +11 -11
  70. data/rbi/lithic/resources/cards.rbi +8 -4
  71. data/rbi/lithic/resources/external_bank_accounts.rbi +22 -0
  72. data/rbi/lithic/resources/webhooks.rbi +1 -0
  73. data/sig/lithic/internal/util.rbs +4 -0
  74. data/sig/lithic/models/auth_rules/backtest_stats.rbs +8 -3
  75. data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +93 -3
  76. data/sig/lithic/models/auth_rules/report_stats.rbs +34 -70
  77. data/sig/lithic/models/auth_rules/rule_feature.rbs +42 -0
  78. data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +29 -9
  79. data/sig/lithic/models/auth_rules/v2_retrieve_report_response.rbs +4 -667
  80. data/sig/lithic/models/card_authorization_approval_request_webhook_event.rbs +14 -41
  81. data/sig/lithic/models/card_authorization_challenge_response_webhook_event.rbs +76 -0
  82. data/sig/lithic/models/card_bulk_order.rbs +5 -1
  83. data/sig/lithic/models/card_bulk_order_create_params.rbs +5 -1
  84. data/sig/lithic/models/card_convert_physical_params.rbs +2 -2
  85. data/sig/lithic/models/card_create_params.rbs +2 -2
  86. data/sig/lithic/models/card_reissue_params.rbs +2 -2
  87. data/sig/lithic/models/card_renew_params.rbs +2 -2
  88. data/sig/lithic/models/event.rbs +2 -0
  89. data/sig/lithic/models/event_list_params.rbs +2 -0
  90. data/sig/lithic/models/event_subscription.rbs +2 -0
  91. data/sig/lithic/models/events/subscription_create_params.rbs +2 -0
  92. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +2 -0
  93. data/sig/lithic/models/events/subscription_update_params.rbs +2 -0
  94. data/sig/lithic/models/external_bank_account_set_verification_method_params.rbs +51 -0
  95. data/sig/lithic/models/financial_account.rbs +2 -0
  96. data/sig/lithic/models/financial_account_update_status_params.rbs +2 -0
  97. data/sig/lithic/models/financial_accounts/statement.rbs +16 -7
  98. data/sig/lithic/models/instance_financial_account_type.rbs +2 -0
  99. data/sig/lithic/models/parsed_webhook_event.rbs +1 -0
  100. data/sig/lithic/models/payment_create_params.rbs +8 -3
  101. data/sig/lithic/models.rbs +4 -0
  102. data/sig/lithic/resources/external_bank_accounts.rbs +7 -0
  103. data/sig/lithic/resources/webhooks.rbs +1 -0
  104. metadata +8 -2
@@ -944,33 +944,16 @@ module Lithic
944
944
  end
945
945
 
946
946
  # Globally unique identifier for the card.
947
- sig { returns(T.nilable(String)) }
948
- attr_reader :token
949
-
950
- sig { params(token: String).void }
951
- attr_writer :token
952
-
953
- # Hostname of card’s locked merchant (will be empty if not applicable)
954
- sig { returns(T.nilable(String)) }
955
- attr_reader :hostname
956
-
957
- sig { params(hostname: String).void }
958
- attr_writer :hostname
947
+ sig { returns(String) }
948
+ attr_accessor :token
959
949
 
960
950
  # Last four digits of the card number
961
- sig { returns(T.nilable(String)) }
962
- attr_reader :last_four
963
-
964
- sig { params(last_four: String).void }
965
- attr_writer :last_four
966
-
967
- # Customizable name to identify the card. We recommend against using this field to
968
- # store JSON data as it can cause unexpected behavior.
969
- sig { returns(T.nilable(String)) }
970
- attr_reader :memo
951
+ sig { returns(String) }
952
+ attr_accessor :last_four
971
953
 
972
- sig { params(memo: String).void }
973
- attr_writer :memo
954
+ # Customizable name to identify the card
955
+ sig { returns(String) }
956
+ attr_accessor :memo
974
957
 
975
958
  # Amount (in cents) to limit approved authorizations. Purchase requests above the
976
959
  # spend limit will be declined (refunds and credits will be approved).
@@ -980,71 +963,37 @@ module Lithic
980
963
  # reconciliation-level accuracy. Spend limits also cannot block force posted
981
964
  # charges (i.e., when a merchant sends a clearing message without a prior
982
965
  # authorization).
983
- sig { returns(T.nilable(Integer)) }
984
- attr_reader :spend_limit
985
-
986
- sig { params(spend_limit: Integer).void }
987
- attr_writer :spend_limit
966
+ sig { returns(Integer) }
967
+ attr_accessor :spend_limit
988
968
 
989
969
  # Note that to support recurring monthly payments, which can occur on different
990
970
  # day every month, the time window we consider for MONTHLY velocity starts 6 days
991
971
  # after the current calendar date one month prior.
992
972
  sig do
993
973
  returns(
994
- T.nilable(
995
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::SpendLimitDuration::TaggedSymbol
996
- )
974
+ Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::SpendLimitDuration::TaggedSymbol
997
975
  )
998
976
  end
999
- attr_reader :spend_limit_duration
1000
-
1001
- sig do
1002
- params(
1003
- spend_limit_duration:
1004
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::SpendLimitDuration::OrSymbol
1005
- ).void
1006
- end
1007
- attr_writer :spend_limit_duration
977
+ attr_accessor :spend_limit_duration
1008
978
 
1009
979
  sig do
1010
980
  returns(
1011
- T.nilable(
1012
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::State::TaggedSymbol
1013
- )
981
+ Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::State::TaggedSymbol
1014
982
  )
1015
983
  end
1016
- attr_reader :state
1017
-
1018
- sig do
1019
- params(
1020
- state:
1021
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::State::OrSymbol
1022
- ).void
1023
- end
1024
- attr_writer :state
984
+ attr_accessor :state
1025
985
 
1026
986
  sig do
1027
987
  returns(
1028
- T.nilable(
1029
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::Type::TaggedSymbol
1030
- )
988
+ Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::Type::TaggedSymbol
1031
989
  )
1032
990
  end
1033
- attr_reader :type
1034
-
1035
- sig do
1036
- params(
1037
- type:
1038
- Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card::Type::OrSymbol
1039
- ).void
1040
- end
1041
- attr_writer :type
991
+ attr_accessor :type
1042
992
 
1043
993
  # Card object in ASA
1044
994
  sig do
1045
995
  params(
1046
996
  token: String,
1047
- hostname: String,
1048
997
  last_four: String,
1049
998
  memo: String,
1050
999
  spend_limit: Integer,
@@ -1058,14 +1007,11 @@ module Lithic
1058
1007
  end
1059
1008
  def self.new(
1060
1009
  # Globally unique identifier for the card.
1061
- token: nil,
1062
- # Hostname of card’s locked merchant (will be empty if not applicable)
1063
- hostname: nil,
1010
+ token:,
1064
1011
  # Last four digits of the card number
1065
- last_four: nil,
1066
- # Customizable name to identify the card. We recommend against using this field to
1067
- # store JSON data as it can cause unexpected behavior.
1068
- memo: nil,
1012
+ last_four:,
1013
+ # Customizable name to identify the card
1014
+ memo:,
1069
1015
  # Amount (in cents) to limit approved authorizations. Purchase requests above the
1070
1016
  # spend limit will be declined (refunds and credits will be approved).
1071
1017
  #
@@ -1074,13 +1020,13 @@ module Lithic
1074
1020
  # reconciliation-level accuracy. Spend limits also cannot block force posted
1075
1021
  # charges (i.e., when a merchant sends a clearing message without a prior
1076
1022
  # authorization).
1077
- spend_limit: nil,
1023
+ spend_limit:,
1078
1024
  # Note that to support recurring monthly payments, which can occur on different
1079
1025
  # day every month, the time window we consider for MONTHLY velocity starts 6 days
1080
1026
  # after the current calendar date one month prior.
1081
- spend_limit_duration: nil,
1082
- state: nil,
1083
- type: nil
1027
+ spend_limit_duration:,
1028
+ state:,
1029
+ type:
1084
1030
  )
1085
1031
  end
1086
1032
 
@@ -1088,7 +1034,6 @@ module Lithic
1088
1034
  override.returns(
1089
1035
  {
1090
1036
  token: String,
1091
- hostname: String,
1092
1037
  last_four: String,
1093
1038
  memo: String,
1094
1039
  spend_limit: Integer,
@@ -0,0 +1,175 @@
1
+ # typed: strong
2
+
3
+ module Lithic
4
+ module Models
5
+ class CardAuthorizationChallengeResponseWebhookEvent < Lithic::Internal::Type::BaseModel
6
+ OrHash =
7
+ T.type_alias do
8
+ T.any(
9
+ Lithic::CardAuthorizationChallengeResponseWebhookEvent,
10
+ Lithic::Internal::AnyHash
11
+ )
12
+ end
13
+
14
+ # The token of the card associated with the challenge
15
+ sig { returns(T.nilable(String)) }
16
+ attr_accessor :card_token
17
+
18
+ # The method used to deliver the challenge to the cardholder
19
+ sig do
20
+ returns(
21
+ Lithic::CardAuthorizationChallengeResponseWebhookEvent::ChallengeMethod::TaggedSymbol
22
+ )
23
+ end
24
+ attr_accessor :challenge_method
25
+
26
+ # The timestamp of when the challenge was completed
27
+ sig { returns(T.nilable(Time)) }
28
+ attr_accessor :completed
29
+
30
+ # The timestamp of when the challenge was created
31
+ sig { returns(Time) }
32
+ attr_accessor :created
33
+
34
+ # Globally unique identifier for the event
35
+ sig { returns(String) }
36
+ attr_accessor :event_token
37
+
38
+ # Event type
39
+ sig { returns(Symbol) }
40
+ attr_accessor :event_type
41
+
42
+ # The cardholder's response to the challenge
43
+ sig do
44
+ returns(
45
+ Lithic::CardAuthorizationChallengeResponseWebhookEvent::Response::TaggedSymbol
46
+ )
47
+ end
48
+ attr_accessor :response
49
+
50
+ # The token of the transaction associated with the authorization event being
51
+ # challenged
52
+ sig { returns(T.nilable(String)) }
53
+ attr_accessor :transaction_token
54
+
55
+ sig do
56
+ params(
57
+ card_token: T.nilable(String),
58
+ challenge_method:
59
+ Lithic::CardAuthorizationChallengeResponseWebhookEvent::ChallengeMethod::OrSymbol,
60
+ completed: T.nilable(Time),
61
+ created: Time,
62
+ event_token: String,
63
+ response:
64
+ Lithic::CardAuthorizationChallengeResponseWebhookEvent::Response::OrSymbol,
65
+ transaction_token: T.nilable(String),
66
+ event_type: Symbol
67
+ ).returns(T.attached_class)
68
+ end
69
+ def self.new(
70
+ # The token of the card associated with the challenge
71
+ card_token:,
72
+ # The method used to deliver the challenge to the cardholder
73
+ challenge_method:,
74
+ # The timestamp of when the challenge was completed
75
+ completed:,
76
+ # The timestamp of when the challenge was created
77
+ created:,
78
+ # Globally unique identifier for the event
79
+ event_token:,
80
+ # The cardholder's response to the challenge
81
+ response:,
82
+ # The token of the transaction associated with the authorization event being
83
+ # challenged
84
+ transaction_token:,
85
+ # Event type
86
+ event_type: :"card_authorization.challenge_response"
87
+ )
88
+ end
89
+
90
+ sig do
91
+ override.returns(
92
+ {
93
+ card_token: T.nilable(String),
94
+ challenge_method:
95
+ Lithic::CardAuthorizationChallengeResponseWebhookEvent::ChallengeMethod::TaggedSymbol,
96
+ completed: T.nilable(Time),
97
+ created: Time,
98
+ event_token: String,
99
+ event_type: Symbol,
100
+ response:
101
+ Lithic::CardAuthorizationChallengeResponseWebhookEvent::Response::TaggedSymbol,
102
+ transaction_token: T.nilable(String)
103
+ }
104
+ )
105
+ end
106
+ def to_hash
107
+ end
108
+
109
+ # The method used to deliver the challenge to the cardholder
110
+ module ChallengeMethod
111
+ extend Lithic::Internal::Type::Enum
112
+
113
+ TaggedSymbol =
114
+ T.type_alias do
115
+ T.all(
116
+ Symbol,
117
+ Lithic::CardAuthorizationChallengeResponseWebhookEvent::ChallengeMethod
118
+ )
119
+ end
120
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
121
+
122
+ SMS =
123
+ T.let(
124
+ :SMS,
125
+ Lithic::CardAuthorizationChallengeResponseWebhookEvent::ChallengeMethod::TaggedSymbol
126
+ )
127
+
128
+ sig do
129
+ override.returns(
130
+ T::Array[
131
+ Lithic::CardAuthorizationChallengeResponseWebhookEvent::ChallengeMethod::TaggedSymbol
132
+ ]
133
+ )
134
+ end
135
+ def self.values
136
+ end
137
+ end
138
+
139
+ # The cardholder's response to the challenge
140
+ module Response
141
+ extend Lithic::Internal::Type::Enum
142
+
143
+ TaggedSymbol =
144
+ T.type_alias do
145
+ T.all(
146
+ Symbol,
147
+ Lithic::CardAuthorizationChallengeResponseWebhookEvent::Response
148
+ )
149
+ end
150
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
151
+
152
+ APPROVE =
153
+ T.let(
154
+ :APPROVE,
155
+ Lithic::CardAuthorizationChallengeResponseWebhookEvent::Response::TaggedSymbol
156
+ )
157
+ DECLINE =
158
+ T.let(
159
+ :DECLINE,
160
+ Lithic::CardAuthorizationChallengeResponseWebhookEvent::Response::TaggedSymbol
161
+ )
162
+
163
+ sig do
164
+ override.returns(
165
+ T::Array[
166
+ Lithic::CardAuthorizationChallengeResponseWebhookEvent::Response::TaggedSymbol
167
+ ]
168
+ )
169
+ end
170
+ def self.values
171
+ end
172
+ end
173
+ end
174
+ end
175
+ end
@@ -27,7 +27,8 @@ module Lithic
27
27
  sig { returns(T.anything) }
28
28
  attr_accessor :shipping_address
29
29
 
30
- # Shipping method for all cards in this bulk order
30
+ # Shipping method for all cards in this bulk order. BULK_PRIORITY, BULK_2_DAY, and
31
+ # BULK_EXPRESS are only available with Perfect Plastic Printing
31
32
  sig { returns(Lithic::CardBulkOrder::ShippingMethod::TaggedSymbol) }
32
33
  attr_accessor :shipping_method
33
34
 
@@ -65,7 +66,8 @@ module Lithic
65
66
  customer_product_id:,
66
67
  # Shipping address for all cards in this bulk order
67
68
  shipping_address:,
68
- # Shipping method for all cards in this bulk order
69
+ # Shipping method for all cards in this bulk order. BULK_PRIORITY, BULK_2_DAY, and
70
+ # BULK_EXPRESS are only available with Perfect Plastic Printing
69
71
  shipping_method:,
70
72
  # Status of the bulk order. OPEN indicates the order is accepting cards. LOCKED
71
73
  # indicates the order is finalized and no more cards can be added
@@ -93,7 +95,8 @@ module Lithic
93
95
  def to_hash
94
96
  end
95
97
 
96
- # Shipping method for all cards in this bulk order
98
+ # Shipping method for all cards in this bulk order. BULK_PRIORITY, BULK_2_DAY, and
99
+ # BULK_EXPRESS are only available with Perfect Plastic Printing
97
100
  module ShippingMethod
98
101
  extend Lithic::Internal::Type::Enum
99
102
 
@@ -106,6 +109,21 @@ module Lithic
106
109
  :BULK_EXPEDITED,
107
110
  Lithic::CardBulkOrder::ShippingMethod::TaggedSymbol
108
111
  )
112
+ BULK_PRIORITY =
113
+ T.let(
114
+ :BULK_PRIORITY,
115
+ Lithic::CardBulkOrder::ShippingMethod::TaggedSymbol
116
+ )
117
+ BULK_2_DAY =
118
+ T.let(
119
+ :BULK_2_DAY,
120
+ Lithic::CardBulkOrder::ShippingMethod::TaggedSymbol
121
+ )
122
+ BULK_EXPRESS =
123
+ T.let(
124
+ :BULK_EXPRESS,
125
+ Lithic::CardBulkOrder::ShippingMethod::TaggedSymbol
126
+ )
109
127
 
110
128
  sig do
111
129
  override.returns(
@@ -20,7 +20,8 @@ module Lithic
20
20
  sig { returns(T.anything) }
21
21
  attr_accessor :shipping_address
22
22
 
23
- # Shipping method for all cards in this bulk order
23
+ # Shipping method for all cards in this bulk order. BULK_PRIORITY, BULK_2_DAY, and
24
+ # BULK_EXPRESS are only available with Perfect Plastic Printing
24
25
  sig do
25
26
  returns(Lithic::CardBulkOrderCreateParams::ShippingMethod::OrSymbol)
26
27
  end
@@ -41,7 +42,8 @@ module Lithic
41
42
  customer_product_id:,
42
43
  # Shipping address for all cards in this bulk order
43
44
  shipping_address:,
44
- # Shipping method for all cards in this bulk order
45
+ # Shipping method for all cards in this bulk order. BULK_PRIORITY, BULK_2_DAY, and
46
+ # BULK_EXPRESS are only available with Perfect Plastic Printing
45
47
  shipping_method:,
46
48
  request_options: {}
47
49
  )
@@ -61,7 +63,8 @@ module Lithic
61
63
  def to_hash
62
64
  end
63
65
 
64
- # Shipping method for all cards in this bulk order
66
+ # Shipping method for all cards in this bulk order. BULK_PRIORITY, BULK_2_DAY, and
67
+ # BULK_EXPRESS are only available with Perfect Plastic Printing
65
68
  module ShippingMethod
66
69
  extend Lithic::Internal::Type::Enum
67
70
 
@@ -76,6 +79,21 @@ module Lithic
76
79
  :BULK_EXPEDITED,
77
80
  Lithic::CardBulkOrderCreateParams::ShippingMethod::TaggedSymbol
78
81
  )
82
+ BULK_PRIORITY =
83
+ T.let(
84
+ :BULK_PRIORITY,
85
+ Lithic::CardBulkOrderCreateParams::ShippingMethod::TaggedSymbol
86
+ )
87
+ BULK_2_DAY =
88
+ T.let(
89
+ :BULK_2_DAY,
90
+ Lithic::CardBulkOrderCreateParams::ShippingMethod::TaggedSymbol
91
+ )
92
+ BULK_EXPRESS =
93
+ T.let(
94
+ :BULK_EXPRESS,
95
+ Lithic::CardBulkOrderCreateParams::ShippingMethod::TaggedSymbol
96
+ )
79
97
 
80
98
  sig do
81
99
  override.returns(
@@ -51,7 +51,8 @@ module Lithic
51
51
  # tracking
52
52
  # - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
53
53
  # or similar international option, with tracking
54
- # - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
54
+ # - `BULK` - Card will be shipped as part of a bulk fulfillment order. The
55
+ # shipping method and timeline are inherited from the parent bulk order.
55
56
  sig do
56
57
  returns(
57
58
  T.nilable(Lithic::CardConvertPhysicalParams::ShippingMethod::OrSymbol)
@@ -102,7 +103,8 @@ module Lithic
102
103
  # tracking
103
104
  # - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
104
105
  # or similar international option, with tracking
105
- # - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
106
+ # - `BULK` - Card will be shipped as part of a bulk fulfillment order. The
107
+ # shipping method and timeline are inherited from the parent bulk order.
106
108
  shipping_method: nil,
107
109
  request_options: {}
108
110
  )
@@ -138,7 +140,8 @@ module Lithic
138
140
  # tracking
139
141
  # - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
140
142
  # or similar international option, with tracking
141
- # - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
143
+ # - `BULK` - Card will be shipped as part of a bulk fulfillment order. The
144
+ # shipping method and timeline are inherited from the parent bulk order.
142
145
  module ShippingMethod
143
146
  extend Lithic::Internal::Type::Enum
144
147
 
@@ -153,9 +156,9 @@ module Lithic
153
156
  :"2_DAY",
154
157
  Lithic::CardConvertPhysicalParams::ShippingMethod::TaggedSymbol
155
158
  )
156
- BULK_EXPEDITED =
159
+ BULK =
157
160
  T.let(
158
- :BULK_EXPEDITED,
161
+ :BULK,
159
162
  Lithic::CardConvertPhysicalParams::ShippingMethod::TaggedSymbol
160
163
  )
161
164
  EXPEDITED =
@@ -208,7 +208,8 @@ module Lithic
208
208
  # tracking
209
209
  # - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
210
210
  # or similar international option, with tracking
211
- # - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
211
+ # - `BULK` - Card will be shipped as part of a bulk fulfillment order. The
212
+ # shipping method and timeline are inherited from the parent bulk order.
212
213
  sig do
213
214
  returns(T.nilable(Lithic::CardCreateParams::ShippingMethod::OrSymbol))
214
215
  end
@@ -409,7 +410,8 @@ module Lithic
409
410
  # tracking
410
411
  # - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
411
412
  # or similar international option, with tracking
412
- # - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
413
+ # - `BULK` - Card will be shipped as part of a bulk fulfillment order. The
414
+ # shipping method and timeline are inherited from the parent bulk order.
413
415
  shipping_method: nil,
414
416
  # Amount (in cents) to limit approved authorizations (e.g. 100000 would be a
415
417
  # $1,000 limit). Transaction requests above the spend limit will be declined. Note
@@ -635,7 +637,8 @@ module Lithic
635
637
  # tracking
636
638
  # - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
637
639
  # or similar international option, with tracking
638
- # - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
640
+ # - `BULK` - Card will be shipped as part of a bulk fulfillment order. The
641
+ # shipping method and timeline are inherited from the parent bulk order.
639
642
  module ShippingMethod
640
643
  extend Lithic::Internal::Type::Enum
641
644
 
@@ -650,11 +653,8 @@ module Lithic
650
653
  :"2_DAY",
651
654
  Lithic::CardCreateParams::ShippingMethod::TaggedSymbol
652
655
  )
653
- BULK_EXPEDITED =
654
- T.let(
655
- :BULK_EXPEDITED,
656
- Lithic::CardCreateParams::ShippingMethod::TaggedSymbol
657
- )
656
+ BULK =
657
+ T.let(:BULK, Lithic::CardCreateParams::ShippingMethod::TaggedSymbol)
658
658
  EXPEDITED =
659
659
  T.let(
660
660
  :EXPEDITED,
@@ -51,7 +51,8 @@ module Lithic
51
51
  # tracking
52
52
  # - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
53
53
  # or similar international option, with tracking
54
- # - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
54
+ # - `BULK` - Card will be shipped as part of a bulk fulfillment order. The
55
+ # shipping method and timeline are inherited from the parent bulk order.
55
56
  sig do
56
57
  returns(T.nilable(Lithic::CardReissueParams::ShippingMethod::OrSymbol))
57
58
  end
@@ -98,7 +99,8 @@ module Lithic
98
99
  # tracking
99
100
  # - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
100
101
  # or similar international option, with tracking
101
- # - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
102
+ # - `BULK` - Card will be shipped as part of a bulk fulfillment order. The
103
+ # shipping method and timeline are inherited from the parent bulk order.
102
104
  shipping_method: nil,
103
105
  request_options: {}
104
106
  )
@@ -134,7 +136,8 @@ module Lithic
134
136
  # tracking
135
137
  # - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
136
138
  # or similar international option, with tracking
137
- # - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
139
+ # - `BULK` - Card will be shipped as part of a bulk fulfillment order. The
140
+ # shipping method and timeline are inherited from the parent bulk order.
138
141
  module ShippingMethod
139
142
  extend Lithic::Internal::Type::Enum
140
143
 
@@ -149,11 +152,8 @@ module Lithic
149
152
  :"2_DAY",
150
153
  Lithic::CardReissueParams::ShippingMethod::TaggedSymbol
151
154
  )
152
- BULK_EXPEDITED =
153
- T.let(
154
- :BULK_EXPEDITED,
155
- Lithic::CardReissueParams::ShippingMethod::TaggedSymbol
156
- )
155
+ BULK =
156
+ T.let(:BULK, Lithic::CardReissueParams::ShippingMethod::TaggedSymbol)
157
157
  EXPEDITED =
158
158
  T.let(
159
159
  :EXPEDITED,
@@ -67,7 +67,8 @@ module Lithic
67
67
  # tracking
68
68
  # - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
69
69
  # or similar international option, with tracking
70
- # - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
70
+ # - `BULK` - Card will be shipped as part of a bulk fulfillment order. The
71
+ # shipping method and timeline are inherited from the parent bulk order.
71
72
  sig do
72
73
  returns(T.nilable(Lithic::CardRenewParams::ShippingMethod::OrSymbol))
73
74
  end
@@ -122,7 +123,8 @@ module Lithic
122
123
  # tracking
123
124
  # - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
124
125
  # or similar international option, with tracking
125
- # - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
126
+ # - `BULK` - Card will be shipped as part of a bulk fulfillment order. The
127
+ # shipping method and timeline are inherited from the parent bulk order.
126
128
  shipping_method: nil,
127
129
  request_options: {}
128
130
  )
@@ -159,7 +161,8 @@ module Lithic
159
161
  # tracking
160
162
  # - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
161
163
  # or similar international option, with tracking
162
- # - `BULK_EXPEDITED` - Bulk shipment with Expedited shipping
164
+ # - `BULK` - Card will be shipped as part of a bulk fulfillment order. The
165
+ # shipping method and timeline are inherited from the parent bulk order.
163
166
  module ShippingMethod
164
167
  extend Lithic::Internal::Type::Enum
165
168
 
@@ -171,11 +174,8 @@ module Lithic
171
174
 
172
175
  SHIPPING_METHOD_2_DAY =
173
176
  T.let(:"2_DAY", Lithic::CardRenewParams::ShippingMethod::TaggedSymbol)
174
- BULK_EXPEDITED =
175
- T.let(
176
- :BULK_EXPEDITED,
177
- Lithic::CardRenewParams::ShippingMethod::TaggedSymbol
178
- )
177
+ BULK =
178
+ T.let(:BULK, Lithic::CardRenewParams::ShippingMethod::TaggedSymbol)
179
179
  EXPEDITED =
180
180
  T.let(
181
181
  :EXPEDITED,
@@ -29,6 +29,8 @@ module Lithic
29
29
  # created.
30
30
  # - book_transfer_transaction.updated: Occurs when a book transfer transaction is
31
31
  # updated.
32
+ # - card_authorization.challenge_response: Occurs when a cardholder responds to an
33
+ # SMS challenge during card authorization.
32
34
  # - card_transaction.enhanced_data.created: Occurs when L2/L3 enhanced commercial
33
35
  # data is processed for a transaction event.
34
36
  # - card_transaction.enhanced_data.updated: Occurs when L2/L3 enhanced commercial
@@ -149,6 +151,8 @@ module Lithic
149
151
  # created.
150
152
  # - book_transfer_transaction.updated: Occurs when a book transfer transaction is
151
153
  # updated.
154
+ # - card_authorization.challenge_response: Occurs when a cardholder responds to an
155
+ # SMS challenge during card authorization.
152
156
  # - card_transaction.enhanced_data.created: Occurs when L2/L3 enhanced commercial
153
157
  # data is processed for a transaction event.
154
158
  # - card_transaction.enhanced_data.updated: Occurs when L2/L3 enhanced commercial
@@ -265,6 +269,8 @@ module Lithic
265
269
  # created.
266
270
  # - book_transfer_transaction.updated: Occurs when a book transfer transaction is
267
271
  # updated.
272
+ # - card_authorization.challenge_response: Occurs when a cardholder responds to an
273
+ # SMS challenge during card authorization.
268
274
  # - card_transaction.enhanced_data.created: Occurs when L2/L3 enhanced commercial
269
275
  # data is processed for a transaction event.
270
276
  # - card_transaction.enhanced_data.updated: Occurs when L2/L3 enhanced commercial
@@ -392,6 +398,11 @@ module Lithic
392
398
  :"book_transfer_transaction.updated",
393
399
  Lithic::Event::EventType::TaggedSymbol
394
400
  )
401
+ CARD_AUTHORIZATION_CHALLENGE_RESPONSE =
402
+ T.let(
403
+ :"card_authorization.challenge_response",
404
+ Lithic::Event::EventType::TaggedSymbol
405
+ )
395
406
  CARD_TRANSACTION_ENHANCED_DATA_CREATED =
396
407
  T.let(
397
408
  :"card_transaction.enhanced_data.created",
@@ -138,6 +138,8 @@ module Lithic
138
138
  # created.
139
139
  # - book_transfer_transaction.updated: Occurs when a book transfer transaction is
140
140
  # updated.
141
+ # - card_authorization.challenge_response: Occurs when a cardholder responds to an
142
+ # SMS challenge during card authorization.
141
143
  # - card_transaction.enhanced_data.created: Occurs when L2/L3 enhanced commercial
142
144
  # data is processed for a transaction event.
143
145
  # - card_transaction.enhanced_data.updated: Occurs when L2/L3 enhanced commercial
@@ -269,6 +271,11 @@ module Lithic
269
271
  :"book_transfer_transaction.updated",
270
272
  Lithic::EventListParams::EventType::TaggedSymbol
271
273
  )
274
+ CARD_AUTHORIZATION_CHALLENGE_RESPONSE =
275
+ T.let(
276
+ :"card_authorization.challenge_response",
277
+ Lithic::EventListParams::EventType::TaggedSymbol
278
+ )
272
279
  CARD_TRANSACTION_ENHANCED_DATA_CREATED =
273
280
  T.let(
274
281
  :"card_transaction.enhanced_data.created",