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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/client.rb +4 -0
  5. data/lib/lithic/models/account.rb +88 -1
  6. data/lib/lithic/models/account_update_params.rb +86 -1
  7. data/lib/lithic/models/aggregate_balance.rb +1 -0
  8. data/lib/lithic/models/aggregate_balance_list_params.rb +1 -0
  9. data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +4 -10
  10. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +3 -25
  11. data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +238 -16
  12. data/lib/lithic/models/balance.rb +1 -0
  13. data/lib/lithic/models/balance_list_params.rb +1 -0
  14. data/lib/lithic/models/card_create_params.rb +90 -1
  15. data/lib/lithic/models/card_program.rb +10 -1
  16. data/lib/lithic/models/card_update_params.rb +98 -1
  17. data/lib/lithic/models/cards/balance_list_response.rb +1 -0
  18. data/lib/lithic/models/event.rb +2 -0
  19. data/lib/lithic/models/event_list_params.rb +2 -0
  20. data/lib/lithic/models/event_subscription.rb +2 -0
  21. data/lib/lithic/models/events/subscription_create_params.rb +2 -0
  22. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -0
  23. data/lib/lithic/models/events/subscription_update_params.rb +2 -0
  24. data/lib/lithic/models/external_resource.rb +34 -0
  25. data/lib/lithic/models/external_resource_type.rb +18 -0
  26. data/lib/lithic/models/financial_account_list_params.rb +1 -0
  27. data/lib/lithic/models/financial_accounts/balance_list_response.rb +1 -0
  28. data/lib/lithic/models/management_operation_create_params.rb +30 -1
  29. data/lib/lithic/models/management_operation_transaction.rb +22 -1
  30. data/lib/lithic/models/network_program.rb +41 -0
  31. data/lib/lithic/models/network_program_list_params.rb +43 -0
  32. data/lib/lithic/models/network_program_retrieve_params.rb +14 -0
  33. data/lib/lithic/models/non_pci_card.rb +88 -1
  34. data/lib/lithic/models/payment_simulate_action_params.rb +1 -0
  35. data/lib/lithic/models/reports/settlement/network_total_list_response.rb +16 -6
  36. data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +16 -6
  37. data/lib/lithic/models/transaction.rb +31 -20
  38. data/lib/lithic/models.rb +10 -0
  39. data/lib/lithic/resources/accounts.rb +5 -1
  40. data/lib/lithic/resources/cards.rb +12 -2
  41. data/lib/lithic/resources/management_operations.rb +13 -1
  42. data/lib/lithic/resources/network_programs.rb +64 -0
  43. data/lib/lithic/version.rb +1 -1
  44. data/lib/lithic.rb +6 -0
  45. data/rbi/lithic/client.rbi +3 -0
  46. data/rbi/lithic/models/account.rbi +131 -0
  47. data/rbi/lithic/models/account_update_params.rbi +159 -0
  48. data/rbi/lithic/models/aggregate_balance.rbi +5 -0
  49. data/rbi/lithic/models/aggregate_balance_list_params.rbi +5 -0
  50. data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +6 -15
  51. data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +18 -25
  52. data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +527 -31
  53. data/rbi/lithic/models/balance.rbi +2 -0
  54. data/rbi/lithic/models/balance_list_params.rbi +5 -0
  55. data/rbi/lithic/models/card_create_params.rbi +190 -0
  56. data/rbi/lithic/models/card_program.rbi +13 -0
  57. data/rbi/lithic/models/card_update_params.rbi +168 -0
  58. data/rbi/lithic/models/cards/balance_list_response.rbi +5 -0
  59. data/rbi/lithic/models/event.rbi +10 -0
  60. data/rbi/lithic/models/event_list_params.rbi +10 -0
  61. data/rbi/lithic/models/event_subscription.rbi +10 -0
  62. data/rbi/lithic/models/events/subscription_create_params.rbi +10 -0
  63. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +10 -0
  64. data/rbi/lithic/models/events/subscription_update_params.rbi +10 -0
  65. data/rbi/lithic/models/external_resource.rbi +57 -0
  66. data/rbi/lithic/models/external_resource_type.rbi +26 -0
  67. data/rbi/lithic/models/financial_account_list_params.rbi +5 -0
  68. data/rbi/lithic/models/financial_accounts/balance_list_response.rbi +5 -0
  69. data/rbi/lithic/models/management_operation_create_params.rbi +59 -0
  70. data/rbi/lithic/models/management_operation_transaction.rbi +15 -0
  71. data/rbi/lithic/models/network_program.rbi +61 -0
  72. data/rbi/lithic/models/network_program_list_params.rbi +72 -0
  73. data/rbi/lithic/models/network_program_retrieve_params.rbi +27 -0
  74. data/rbi/lithic/models/non_pci_card.rbi +133 -3
  75. data/rbi/lithic/models/payment_simulate_action_params.rbi +5 -0
  76. data/rbi/lithic/models/reports/settlement/network_total_list_response.rbi +21 -6
  77. data/rbi/lithic/models/reports/settlement/network_total_retrieve_response.rbi +21 -6
  78. data/rbi/lithic/models/transaction.rbi +23 -31
  79. data/rbi/lithic/models.rbi +10 -0
  80. data/rbi/lithic/resources/accounts.rbi +32 -0
  81. data/rbi/lithic/resources/cards.rbi +70 -0
  82. data/rbi/lithic/resources/management_operations.rbi +4 -0
  83. data/rbi/lithic/resources/network_programs.rbi +48 -0
  84. data/sig/lithic/client.rbs +2 -0
  85. data/sig/lithic/models/account.rbs +41 -0
  86. data/sig/lithic/models/account_update_params.rbs +41 -0
  87. data/sig/lithic/models/aggregate_balance.rbs +2 -1
  88. data/sig/lithic/models/aggregate_balance_list_params.rbs +2 -1
  89. data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -14
  90. data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +212 -7
  91. data/sig/lithic/models/balance.rbs +2 -1
  92. data/sig/lithic/models/balance_list_params.rbs +2 -1
  93. data/sig/lithic/models/card_create_params.rbs +47 -0
  94. data/sig/lithic/models/card_program.rbs +7 -0
  95. data/sig/lithic/models/card_update_params.rbs +55 -1
  96. data/sig/lithic/models/cards/balance_list_response.rbs +2 -1
  97. data/sig/lithic/models/event.rbs +4 -0
  98. data/sig/lithic/models/event_list_params.rbs +4 -0
  99. data/sig/lithic/models/event_subscription.rbs +4 -0
  100. data/sig/lithic/models/events/subscription_create_params.rbs +4 -0
  101. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +4 -0
  102. data/sig/lithic/models/events/subscription_update_params.rbs +4 -0
  103. data/sig/lithic/models/external_resource.rbs +32 -0
  104. data/sig/lithic/models/external_resource_type.rbs +16 -0
  105. data/sig/lithic/models/financial_account_list_params.rbs +2 -1
  106. data/sig/lithic/models/financial_accounts/balance_list_response.rbs +2 -1
  107. data/sig/lithic/models/management_operation_create_params.rbs +20 -0
  108. data/sig/lithic/models/management_operation_transaction.rbs +5 -0
  109. data/sig/lithic/models/network_program.rbs +35 -0
  110. data/sig/lithic/models/network_program_list_params.rbs +38 -0
  111. data/sig/lithic/models/network_program_retrieve_params.rbs +15 -0
  112. data/sig/lithic/models/non_pci_card.rbs +55 -3
  113. data/sig/lithic/models/payment_simulate_action_params.rbs +2 -0
  114. data/sig/lithic/models/reports/settlement/network_total_list_response.rbs +7 -1
  115. data/sig/lithic/models/reports/settlement/network_total_retrieve_response.rbs +7 -1
  116. data/sig/lithic/models/transaction.rbs +2 -6
  117. data/sig/lithic/models.rbs +10 -0
  118. data/sig/lithic/resources/accounts.rbs +2 -0
  119. data/sig/lithic/resources/cards.rbs +5 -0
  120. data/sig/lithic/resources/management_operations.rbs +1 -0
  121. data/sig/lithic/resources/network_programs.rbs +19 -0
  122. metadata +20 -2
@@ -62,6 +62,8 @@ module Lithic
62
62
  | :"loan_tape.updated"
63
63
  | :"management_operation.created"
64
64
  | :"management_operation.updated"
65
+ | :"network_total.created"
66
+ | :"network_total.updated"
65
67
  | :"payment_transaction.created"
66
68
  | :"payment_transaction.updated"
67
69
  | :"internal_transaction.created"
@@ -109,6 +111,8 @@ module Lithic
109
111
  LOAN_TAPE_UPDATED: :"loan_tape.updated"
110
112
  MANAGEMENT_OPERATION_CREATED: :"management_operation.created"
111
113
  MANAGEMENT_OPERATION_UPDATED: :"management_operation.updated"
114
+ NETWORK_TOTAL_CREATED: :"network_total.created"
115
+ NETWORK_TOTAL_UPDATED: :"network_total.updated"
112
116
  PAYMENT_TRANSACTION_CREATED: :"payment_transaction.created"
113
117
  PAYMENT_TRANSACTION_UPDATED: :"payment_transaction.updated"
114
118
  INTERNAL_TRANSACTION_CREATED: :"internal_transaction.created"
@@ -99,6 +99,8 @@ module Lithic
99
99
  | :"loan_tape.updated"
100
100
  | :"management_operation.created"
101
101
  | :"management_operation.updated"
102
+ | :"network_total.created"
103
+ | :"network_total.updated"
102
104
  | :"payment_transaction.created"
103
105
  | :"payment_transaction.updated"
104
106
  | :"internal_transaction.created"
@@ -146,6 +148,8 @@ module Lithic
146
148
  LOAN_TAPE_UPDATED: :"loan_tape.updated"
147
149
  MANAGEMENT_OPERATION_CREATED: :"management_operation.created"
148
150
  MANAGEMENT_OPERATION_UPDATED: :"management_operation.updated"
151
+ NETWORK_TOTAL_CREATED: :"network_total.created"
152
+ NETWORK_TOTAL_UPDATED: :"network_total.updated"
149
153
  PAYMENT_TRANSACTION_CREATED: :"payment_transaction.created"
150
154
  PAYMENT_TRANSACTION_UPDATED: :"payment_transaction.updated"
151
155
  INTERNAL_TRANSACTION_CREATED: :"internal_transaction.created"
@@ -67,6 +67,8 @@ module Lithic
67
67
  | :"loan_tape.updated"
68
68
  | :"management_operation.created"
69
69
  | :"management_operation.updated"
70
+ | :"network_total.created"
71
+ | :"network_total.updated"
70
72
  | :"payment_transaction.created"
71
73
  | :"payment_transaction.updated"
72
74
  | :"internal_transaction.created"
@@ -114,6 +116,8 @@ module Lithic
114
116
  LOAN_TAPE_UPDATED: :"loan_tape.updated"
115
117
  MANAGEMENT_OPERATION_CREATED: :"management_operation.created"
116
118
  MANAGEMENT_OPERATION_UPDATED: :"management_operation.updated"
119
+ NETWORK_TOTAL_CREATED: :"network_total.created"
120
+ NETWORK_TOTAL_UPDATED: :"network_total.updated"
117
121
  PAYMENT_TRANSACTION_CREATED: :"payment_transaction.created"
118
122
  PAYMENT_TRANSACTION_UPDATED: :"payment_transaction.updated"
119
123
  INTERNAL_TRANSACTION_CREATED: :"internal_transaction.created"
@@ -77,6 +77,8 @@ module Lithic
77
77
  | :"loan_tape.updated"
78
78
  | :"management_operation.created"
79
79
  | :"management_operation.updated"
80
+ | :"network_total.created"
81
+ | :"network_total.updated"
80
82
  | :"payment_transaction.created"
81
83
  | :"payment_transaction.updated"
82
84
  | :"internal_transaction.created"
@@ -124,6 +126,8 @@ module Lithic
124
126
  LOAN_TAPE_UPDATED: :"loan_tape.updated"
125
127
  MANAGEMENT_OPERATION_CREATED: :"management_operation.created"
126
128
  MANAGEMENT_OPERATION_UPDATED: :"management_operation.updated"
129
+ NETWORK_TOTAL_CREATED: :"network_total.created"
130
+ NETWORK_TOTAL_UPDATED: :"network_total.updated"
127
131
  PAYMENT_TRANSACTION_CREATED: :"payment_transaction.created"
128
132
  PAYMENT_TRANSACTION_UPDATED: :"payment_transaction.updated"
129
133
  INTERNAL_TRANSACTION_CREATED: :"internal_transaction.created"
@@ -58,6 +58,8 @@ module Lithic
58
58
  | :"loan_tape.updated"
59
59
  | :"management_operation.created"
60
60
  | :"management_operation.updated"
61
+ | :"network_total.created"
62
+ | :"network_total.updated"
61
63
  | :"payment_transaction.created"
62
64
  | :"payment_transaction.updated"
63
65
  | :"internal_transaction.created"
@@ -105,6 +107,8 @@ module Lithic
105
107
  LOAN_TAPE_UPDATED: :"loan_tape.updated"
106
108
  MANAGEMENT_OPERATION_CREATED: :"management_operation.created"
107
109
  MANAGEMENT_OPERATION_UPDATED: :"management_operation.updated"
110
+ NETWORK_TOTAL_CREATED: :"network_total.created"
111
+ NETWORK_TOTAL_UPDATED: :"network_total.updated"
108
112
  PAYMENT_TRANSACTION_CREATED: :"payment_transaction.created"
109
113
  PAYMENT_TRANSACTION_UPDATED: :"payment_transaction.updated"
110
114
  INTERNAL_TRANSACTION_CREATED: :"internal_transaction.created"
@@ -77,6 +77,8 @@ module Lithic
77
77
  | :"loan_tape.updated"
78
78
  | :"management_operation.created"
79
79
  | :"management_operation.updated"
80
+ | :"network_total.created"
81
+ | :"network_total.updated"
80
82
  | :"payment_transaction.created"
81
83
  | :"payment_transaction.updated"
82
84
  | :"internal_transaction.created"
@@ -124,6 +126,8 @@ module Lithic
124
126
  LOAN_TAPE_UPDATED: :"loan_tape.updated"
125
127
  MANAGEMENT_OPERATION_CREATED: :"management_operation.created"
126
128
  MANAGEMENT_OPERATION_UPDATED: :"management_operation.updated"
129
+ NETWORK_TOTAL_CREATED: :"network_total.created"
130
+ NETWORK_TOTAL_UPDATED: :"network_total.updated"
127
131
  PAYMENT_TRANSACTION_CREATED: :"payment_transaction.created"
128
132
  PAYMENT_TRANSACTION_UPDATED: :"payment_transaction.updated"
129
133
  INTERNAL_TRANSACTION_CREATED: :"internal_transaction.created"
@@ -0,0 +1,32 @@
1
+ module Lithic
2
+ module Models
3
+ type external_resource =
4
+ {
5
+ external_resource_token: String,
6
+ external_resource_type: Lithic::Models::external_resource_type,
7
+ external_resource_sub_token: String
8
+ }
9
+
10
+ class ExternalResource < Lithic::Internal::Type::BaseModel
11
+ attr_accessor external_resource_token: String
12
+
13
+ attr_accessor external_resource_type: Lithic::Models::external_resource_type
14
+
15
+ attr_reader external_resource_sub_token: String?
16
+
17
+ def external_resource_sub_token=: (String) -> String
18
+
19
+ def initialize: (
20
+ external_resource_token: String,
21
+ external_resource_type: Lithic::Models::external_resource_type,
22
+ ?external_resource_sub_token: String
23
+ ) -> void
24
+
25
+ def to_hash: -> {
26
+ external_resource_token: String,
27
+ external_resource_type: Lithic::Models::external_resource_type,
28
+ external_resource_sub_token: String
29
+ }
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,16 @@
1
+ module Lithic
2
+ module Models
3
+ type external_resource_type = :STATEMENT | :COLLECTION | :DISPUTE | :UNKNOWN
4
+
5
+ module ExternalResourceType
6
+ extend Lithic::Internal::Type::Enum
7
+
8
+ STATEMENT: :STATEMENT
9
+ COLLECTION: :COLLECTION
10
+ DISPUTE: :DISPUTE
11
+ UNKNOWN: :UNKNOWN
12
+
13
+ def self?.values: -> ::Array[Lithic::Models::external_resource_type]
14
+ end
15
+ end
16
+ end
@@ -40,7 +40,7 @@ module Lithic
40
40
  request_options: Lithic::RequestOptions
41
41
  }
42
42
 
43
- type type_ = :ISSUING | :OPERATING | :RESERVE
43
+ type type_ = :ISSUING | :OPERATING | :RESERVE | :SECURITY
44
44
 
45
45
  module Type
46
46
  extend Lithic::Internal::Type::Enum
@@ -48,6 +48,7 @@ module Lithic
48
48
  ISSUING: :ISSUING
49
49
  OPERATING: :OPERATING
50
50
  RESERVE: :RESERVE
51
+ SECURITY: :SECURITY
51
52
 
52
53
  def self?.values: -> ::Array[Lithic::Models::FinancialAccountListParams::type_]
53
54
  end
@@ -62,7 +62,7 @@ module Lithic
62
62
  updated: Time
63
63
  }
64
64
 
65
- type type_ = :ISSUING | :OPERATING | :RESERVE
65
+ type type_ = :ISSUING | :OPERATING | :RESERVE | :SECURITY
66
66
 
67
67
  module Type
68
68
  extend Lithic::Internal::Type::Enum
@@ -70,6 +70,7 @@ module Lithic
70
70
  ISSUING: :ISSUING
71
71
  OPERATING: :OPERATING
72
72
  RESERVE: :RESERVE
73
+ SECURITY: :SECURITY
73
74
 
74
75
  def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::BalanceListResponse::type_]
75
76
  end
@@ -10,6 +10,7 @@ module Lithic
10
10
  financial_account_token: String,
11
11
  token: String,
12
12
  memo: String,
13
+ on_closed_account: Lithic::Models::ManagementOperationCreateParams::on_closed_account,
13
14
  subtype: String,
14
15
  user_defined_id: String
15
16
  }
@@ -39,6 +40,12 @@ module Lithic
39
40
 
40
41
  def memo=: (String) -> String
41
42
 
43
+ attr_reader on_closed_account: Lithic::Models::ManagementOperationCreateParams::on_closed_account?
44
+
45
+ def on_closed_account=: (
46
+ Lithic::Models::ManagementOperationCreateParams::on_closed_account
47
+ ) -> Lithic::Models::ManagementOperationCreateParams::on_closed_account
48
+
42
49
  attr_reader subtype: String?
43
50
 
44
51
  def subtype=: (String) -> String
@@ -56,6 +63,7 @@ module Lithic
56
63
  financial_account_token: String,
57
64
  ?token: String,
58
65
  ?memo: String,
66
+ ?on_closed_account: Lithic::Models::ManagementOperationCreateParams::on_closed_account,
59
67
  ?subtype: String,
60
68
  ?user_defined_id: String,
61
69
  ?request_options: Lithic::request_opts
@@ -70,6 +78,7 @@ module Lithic
70
78
  financial_account_token: String,
71
79
  token: String,
72
80
  memo: String,
81
+ on_closed_account: Lithic::Models::ManagementOperationCreateParams::on_closed_account,
73
82
  subtype: String,
74
83
  user_defined_id: String,
75
84
  request_options: Lithic::RequestOptions
@@ -151,6 +160,17 @@ module Lithic
151
160
 
152
161
  def self?.values: -> ::Array[Lithic::Models::ManagementOperationCreateParams::event_type]
153
162
  end
163
+
164
+ type on_closed_account = :FAIL | :USE_SUSPENSE
165
+
166
+ module OnClosedAccount
167
+ extend Lithic::Internal::Type::Enum
168
+
169
+ FAIL: :FAIL
170
+ USE_SUSPENSE: :USE_SUSPENSE
171
+
172
+ def self?.values: -> ::Array[Lithic::Models::ManagementOperationCreateParams::on_closed_account]
173
+ end
154
174
  end
155
175
  end
156
176
  end
@@ -15,6 +15,7 @@ module Lithic
15
15
  status: Lithic::Models::ManagementOperationTransaction::status,
16
16
  transaction_series: Lithic::ManagementOperationTransaction::TransactionSeries?,
17
17
  updated: Time,
18
+ external_resource: Lithic::ExternalResource?,
18
19
  user_defined_id: String
19
20
  }
20
21
 
@@ -45,6 +46,8 @@ module Lithic
45
46
 
46
47
  attr_accessor updated: Time
47
48
 
49
+ attr_accessor external_resource: Lithic::ExternalResource?
50
+
48
51
  attr_reader user_defined_id: String?
49
52
 
50
53
  def user_defined_id=: (String) -> String
@@ -63,6 +66,7 @@ module Lithic
63
66
  status: Lithic::Models::ManagementOperationTransaction::status,
64
67
  transaction_series: Lithic::ManagementOperationTransaction::TransactionSeries?,
65
68
  updated: Time,
69
+ ?external_resource: Lithic::ExternalResource?,
66
70
  ?user_defined_id: String
67
71
  ) -> void
68
72
 
@@ -80,6 +84,7 @@ module Lithic
80
84
  status: Lithic::Models::ManagementOperationTransaction::status,
81
85
  transaction_series: Lithic::ManagementOperationTransaction::TransactionSeries?,
82
86
  updated: Time,
87
+ external_resource: Lithic::ExternalResource?,
83
88
  user_defined_id: String
84
89
  }
85
90
 
@@ -0,0 +1,35 @@
1
+ module Lithic
2
+ module Models
3
+ type network_program =
4
+ {
5
+ token: String,
6
+ default_product_code: String,
7
+ name: String,
8
+ registered_program_identification_number: String
9
+ }
10
+
11
+ class NetworkProgram < Lithic::Internal::Type::BaseModel
12
+ attr_accessor token: String
13
+
14
+ attr_accessor default_product_code: String
15
+
16
+ attr_accessor name: String
17
+
18
+ attr_accessor registered_program_identification_number: String
19
+
20
+ def initialize: (
21
+ token: String,
22
+ default_product_code: String,
23
+ name: String,
24
+ registered_program_identification_number: String
25
+ ) -> void
26
+
27
+ def to_hash: -> {
28
+ token: String,
29
+ default_product_code: String,
30
+ name: String,
31
+ registered_program_identification_number: String
32
+ }
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,38 @@
1
+ module Lithic
2
+ module Models
3
+ type network_program_list_params =
4
+ { begin_: Time, end_: Time, page_size: Integer }
5
+ & Lithic::Internal::Type::request_parameters
6
+
7
+ class NetworkProgramListParams < Lithic::Internal::Type::BaseModel
8
+ extend Lithic::Internal::Type::RequestParameters::Converter
9
+ include Lithic::Internal::Type::RequestParameters
10
+
11
+ attr_reader begin_: Time?
12
+
13
+ def begin_=: (Time) -> Time
14
+
15
+ attr_reader end_: Time?
16
+
17
+ def end_=: (Time) -> Time
18
+
19
+ attr_reader page_size: Integer?
20
+
21
+ def page_size=: (Integer) -> Integer
22
+
23
+ def initialize: (
24
+ ?begin_: Time,
25
+ ?end_: Time,
26
+ ?page_size: Integer,
27
+ ?request_options: Lithic::request_opts
28
+ ) -> void
29
+
30
+ def to_hash: -> {
31
+ begin_: Time,
32
+ end_: Time,
33
+ page_size: Integer,
34
+ request_options: Lithic::RequestOptions
35
+ }
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,15 @@
1
+ module Lithic
2
+ module Models
3
+ type network_program_retrieve_params =
4
+ { } & Lithic::Internal::Type::request_parameters
5
+
6
+ class NetworkProgramRetrieveParams < Lithic::Internal::Type::BaseModel
7
+ extend Lithic::Internal::Type::RequestParameters::Converter
8
+ include Lithic::Internal::Type::RequestParameters
9
+
10
+ def initialize: (?request_options: Lithic::request_opts) -> void
11
+
12
+ def to_hash: -> { request_options: Lithic::RequestOptions }
13
+ end
14
+ end
15
+ end
@@ -15,14 +15,17 @@ module Lithic
15
15
  type: Lithic::Models::NonPCICard::type_,
16
16
  auth_rule_tokens: ::Array[String],
17
17
  cardholder_currency: String,
18
+ comment: String,
18
19
  digital_card_art_token: String,
19
20
  exp_month: String,
20
21
  exp_year: String,
21
22
  hostname: String,
22
23
  memo: String,
24
+ network_program_token: String?,
23
25
  pending_commands: ::Array[String],
24
26
  product_id: String,
25
- replacement_for: String?
27
+ replacement_for: String?,
28
+ substatus: Lithic::Models::NonPCICard::substatus
26
29
  }
27
30
 
28
31
  class NonPCICard < Lithic::Internal::Type::BaseModel
@@ -56,6 +59,10 @@ module Lithic
56
59
 
57
60
  def cardholder_currency=: (String) -> String
58
61
 
62
+ attr_reader comment: String?
63
+
64
+ def comment=: (String) -> String
65
+
59
66
  attr_reader digital_card_art_token: String?
60
67
 
61
68
  def digital_card_art_token=: (String) -> String
@@ -76,6 +83,8 @@ module Lithic
76
83
 
77
84
  def memo=: (String) -> String
78
85
 
86
+ attr_accessor network_program_token: String?
87
+
79
88
  attr_reader pending_commands: ::Array[String]?
80
89
 
81
90
  def pending_commands=: (::Array[String]) -> ::Array[String]
@@ -86,6 +95,12 @@ module Lithic
86
95
 
87
96
  attr_accessor replacement_for: String?
88
97
 
98
+ attr_reader substatus: Lithic::Models::NonPCICard::substatus?
99
+
100
+ def substatus=: (
101
+ Lithic::Models::NonPCICard::substatus
102
+ ) -> Lithic::Models::NonPCICard::substatus
103
+
89
104
  def initialize: (
90
105
  token: String,
91
106
  account_token: String,
@@ -100,14 +115,17 @@ module Lithic
100
115
  type: Lithic::Models::NonPCICard::type_,
101
116
  ?auth_rule_tokens: ::Array[String],
102
117
  ?cardholder_currency: String,
118
+ ?comment: String,
103
119
  ?digital_card_art_token: String,
104
120
  ?exp_month: String,
105
121
  ?exp_year: String,
106
122
  ?hostname: String,
107
123
  ?memo: String,
124
+ ?network_program_token: String?,
108
125
  ?pending_commands: ::Array[String],
109
126
  ?product_id: String,
110
- ?replacement_for: String?
127
+ ?replacement_for: String?,
128
+ ?substatus: Lithic::Models::NonPCICard::substatus
111
129
  ) -> void
112
130
 
113
131
  def to_hash: -> {
@@ -124,14 +142,17 @@ module Lithic
124
142
  type: Lithic::Models::NonPCICard::type_,
125
143
  auth_rule_tokens: ::Array[String],
126
144
  cardholder_currency: String,
145
+ comment: String,
127
146
  digital_card_art_token: String,
128
147
  exp_month: String,
129
148
  exp_year: String,
130
149
  hostname: String,
131
150
  memo: String,
151
+ network_program_token: String?,
132
152
  pending_commands: ::Array[String],
133
153
  product_id: String,
134
- replacement_for: String?
154
+ replacement_for: String?,
155
+ substatus: Lithic::Models::NonPCICard::substatus
135
156
  }
136
157
 
137
158
  type funding =
@@ -255,6 +276,37 @@ module Lithic
255
276
 
256
277
  def self?.values: -> ::Array[Lithic::Models::NonPCICard::type_]
257
278
  end
279
+
280
+ type substatus =
281
+ :LOST
282
+ | :COMPROMISED
283
+ | :DAMAGED
284
+ | :END_USER_REQUEST
285
+ | :ISSUER_REQUEST
286
+ | :NOT_ACTIVE
287
+ | :SUSPICIOUS_ACTIVITY
288
+ | :INTERNAL_REVIEW
289
+ | :EXPIRED
290
+ | :UNDELIVERABLE
291
+ | :OTHER
292
+
293
+ module Substatus
294
+ extend Lithic::Internal::Type::Enum
295
+
296
+ LOST: :LOST
297
+ COMPROMISED: :COMPROMISED
298
+ DAMAGED: :DAMAGED
299
+ END_USER_REQUEST: :END_USER_REQUEST
300
+ ISSUER_REQUEST: :ISSUER_REQUEST
301
+ NOT_ACTIVE: :NOT_ACTIVE
302
+ SUSPICIOUS_ACTIVITY: :SUSPICIOUS_ACTIVITY
303
+ INTERNAL_REVIEW: :INTERNAL_REVIEW
304
+ EXPIRED: :EXPIRED
305
+ UNDELIVERABLE: :UNDELIVERABLE
306
+ OTHER: :OTHER
307
+
308
+ def self?.values: -> ::Array[Lithic::Models::NonPCICard::substatus]
309
+ end
258
310
  end
259
311
  end
260
312
  end
@@ -44,6 +44,7 @@ module Lithic
44
44
  | :ACH_ORIGINATION_PROCESSED
45
45
  | :ACH_ORIGINATION_SETTLED
46
46
  | :ACH_RECEIPT_SETTLED
47
+ | :ACH_RECEIPT_RELEASED
47
48
  | :ACH_RETURN_INITIATED
48
49
  | :ACH_RETURN_PROCESSED
49
50
  | :ACH_RETURN_SETTLED
@@ -56,6 +57,7 @@ module Lithic
56
57
  ACH_ORIGINATION_PROCESSED: :ACH_ORIGINATION_PROCESSED
57
58
  ACH_ORIGINATION_SETTLED: :ACH_ORIGINATION_SETTLED
58
59
  ACH_RECEIPT_SETTLED: :ACH_RECEIPT_SETTLED
60
+ ACH_RECEIPT_RELEASED: :ACH_RECEIPT_RELEASED
59
61
  ACH_RETURN_INITIATED: :ACH_RETURN_INITIATED
60
62
  ACH_RETURN_PROCESSED: :ACH_RETURN_PROCESSED
61
63
  ACH_RETURN_SETTLED: :ACH_RETURN_SETTLED
@@ -9,6 +9,7 @@ module Lithic
9
9
  created: Time,
10
10
  currency: String,
11
11
  institution_id: String,
12
+ is_complete: bool,
12
13
  network: Lithic::Models::Reports::Settlement::NetworkTotalListResponse::network,
13
14
  report_date: Date,
14
15
  settlement_institution_id: String,
@@ -28,6 +29,8 @@ module Lithic
28
29
 
29
30
  attr_accessor institution_id: String
30
31
 
32
+ attr_accessor is_complete: bool
33
+
31
34
  attr_accessor network: Lithic::Models::Reports::Settlement::NetworkTotalListResponse::network
32
35
 
33
36
  attr_accessor report_date: Date
@@ -48,6 +51,7 @@ module Lithic
48
51
  created: Time,
49
52
  currency: String,
50
53
  institution_id: String,
54
+ is_complete: bool,
51
55
  network: Lithic::Models::Reports::Settlement::NetworkTotalListResponse::network,
52
56
  report_date: Date,
53
57
  settlement_institution_id: String,
@@ -62,6 +66,7 @@ module Lithic
62
66
  created: Time,
63
67
  currency: String,
64
68
  institution_id: String,
69
+ is_complete: bool,
65
70
  network: Lithic::Models::Reports::Settlement::NetworkTotalListResponse::network,
66
71
  report_date: Date,
67
72
  settlement_institution_id: String,
@@ -104,11 +109,12 @@ module Lithic
104
109
  }
105
110
  end
106
111
 
107
- type network = :VISA | :MASTERCARD | :MAESTRO | :INTERLINK
112
+ type network = :AMEX | :VISA | :MASTERCARD | :MAESTRO | :INTERLINK
108
113
 
109
114
  module Network
110
115
  extend Lithic::Internal::Type::Enum
111
116
 
117
+ AMEX: :AMEX
112
118
  VISA: :VISA
113
119
  MASTERCARD: :MASTERCARD
114
120
  MAESTRO: :MAESTRO
@@ -9,6 +9,7 @@ module Lithic
9
9
  created: Time,
10
10
  currency: String,
11
11
  institution_id: String,
12
+ is_complete: bool,
12
13
  network: Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse::network,
13
14
  report_date: Date,
14
15
  settlement_institution_id: String,
@@ -28,6 +29,8 @@ module Lithic
28
29
 
29
30
  attr_accessor institution_id: String
30
31
 
32
+ attr_accessor is_complete: bool
33
+
31
34
  attr_accessor network: Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse::network
32
35
 
33
36
  attr_accessor report_date: Date
@@ -48,6 +51,7 @@ module Lithic
48
51
  created: Time,
49
52
  currency: String,
50
53
  institution_id: String,
54
+ is_complete: bool,
51
55
  network: Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse::network,
52
56
  report_date: Date,
53
57
  settlement_institution_id: String,
@@ -62,6 +66,7 @@ module Lithic
62
66
  created: Time,
63
67
  currency: String,
64
68
  institution_id: String,
69
+ is_complete: bool,
65
70
  network: Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse::network,
66
71
  report_date: Date,
67
72
  settlement_institution_id: String,
@@ -104,11 +109,12 @@ module Lithic
104
109
  }
105
110
  end
106
111
 
107
- type network = :VISA | :MASTERCARD | :MAESTRO | :INTERLINK
112
+ type network = :AMEX | :VISA | :MASTERCARD | :MAESTRO | :INTERLINK
108
113
 
109
114
  module Network
110
115
  extend Lithic::Internal::Type::Enum
111
116
 
117
+ AMEX: :AMEX
112
118
  VISA: :VISA
113
119
  MASTERCARD: :MASTERCARD
114
120
  MAESTRO: :MAESTRO
@@ -363,18 +363,14 @@ module Lithic
363
363
  end
364
364
 
365
365
  type liability_shift =
366
- :"3DS_AUTHENTICATED"
367
- | :ACQUIRER_EXEMPTION
368
- | :NONE
369
- | :TOKEN_AUTHENTICATED
366
+ :"3DS_AUTHENTICATED" | :TOKEN_AUTHENTICATED | :NONE
370
367
 
371
368
  module LiabilityShift
372
369
  extend Lithic::Internal::Type::Enum
373
370
 
374
371
  LIABILITY_SHIFT_3DS_AUTHENTICATED: :"3DS_AUTHENTICATED"
375
- ACQUIRER_EXEMPTION: :ACQUIRER_EXEMPTION
376
- NONE: :NONE
377
372
  TOKEN_AUTHENTICATED: :TOKEN_AUTHENTICATED
373
+ NONE: :NONE
378
374
 
379
375
  def self?.values: -> ::Array[Lithic::Models::Transaction::CardholderAuthentication::liability_shift]
380
376
  end
@@ -183,6 +183,10 @@ module Lithic
183
183
 
184
184
  class ExternalPaymentSettleParams = Lithic::Models::ExternalPaymentSettleParams
185
185
 
186
+ class ExternalResource = Lithic::Models::ExternalResource
187
+
188
+ module ExternalResourceType = Lithic::Models::ExternalResourceType
189
+
186
190
  class FinancialAccount = Lithic::Models::FinancialAccount
187
191
 
188
192
  class FinancialAccountCreateParams = Lithic::Models::FinancialAccountCreateParams
@@ -231,6 +235,12 @@ module Lithic
231
235
 
232
236
  class MessageAttempt = Lithic::Models::MessageAttempt
233
237
 
238
+ class NetworkProgram = Lithic::Models::NetworkProgram
239
+
240
+ class NetworkProgramListParams = Lithic::Models::NetworkProgramListParams
241
+
242
+ class NetworkProgramRetrieveParams = Lithic::Models::NetworkProgramRetrieveParams
243
+
234
244
  class NonPCICard = Lithic::Models::NonPCICard
235
245
 
236
246
  module OwnerType = Lithic::Models::OwnerType
@@ -8,10 +8,12 @@ module Lithic
8
8
 
9
9
  def update: (
10
10
  String account_token,
11
+ ?comment: String,
11
12
  ?daily_spend_limit: Integer,
12
13
  ?lifetime_spend_limit: Integer,
13
14
  ?monthly_spend_limit: Integer,
14
15
  ?state: Lithic::Models::AccountUpdateParams::state,
16
+ ?substatus: Lithic::Models::AccountUpdateParams::substatus,
15
17
  ?verification_address: Lithic::AccountUpdateParams::VerificationAddress,
16
18
  ?request_options: Lithic::request_opts
17
19
  ) -> Lithic::Account