increase 1.366.0 → 1.367.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/README.md +1 -1
- data/lib/increase/models/ach_transfer.rb +6 -6
- data/lib/increase/models/card_dispute.rb +131 -2
- data/lib/increase/models/card_dispute_create_params.rb +20 -16
- data/lib/increase/models/card_dispute_provide_provisional_credit_params.rb +22 -0
- data/lib/increase/models/card_dispute_reverse_provisional_credit_params.rb +22 -0
- data/lib/increase/models/simulations/card_refund_create_params.rb +6 -6
- data/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb +3 -0
- data/lib/increase/models.rb +4 -0
- data/lib/increase/resources/card_disputes.rb +50 -6
- data/lib/increase/resources/simulations/card_refunds.rb +3 -3
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +2 -0
- data/rbi/increase/models/ach_transfer.rbi +6 -6
- data/rbi/increase/models/card_dispute.rbi +188 -0
- data/rbi/increase/models/card_dispute_create_params.rbi +20 -16
- data/rbi/increase/models/card_dispute_provide_provisional_credit_params.rbi +43 -0
- data/rbi/increase/models/card_dispute_reverse_provisional_credit_params.rbi +43 -0
- data/rbi/increase/models/simulations/card_refund_create_params.rbi +6 -6
- data/rbi/increase/models/simulations/inbound_ach_transfer_create_params.rbi +3 -0
- data/rbi/increase/models.rbi +6 -0
- data/rbi/increase/resources/card_disputes.rbi +38 -6
- data/rbi/increase/resources/simulations/card_refunds.rbi +3 -3
- data/sig/increase/models/ach_transfer.rbs +8 -8
- data/sig/increase/models/card_dispute.rbs +79 -0
- data/sig/increase/models/card_dispute_provide_provisional_credit_params.rbs +23 -0
- data/sig/increase/models/card_dispute_reverse_provisional_credit_params.rbs +23 -0
- data/sig/increase/models.rbs +4 -0
- data/sig/increase/resources/card_disputes.rbs +10 -0
- metadata +8 -2
|
@@ -11,6 +11,7 @@ module Increase
|
|
|
11
11
|
idempotency_key: String?,
|
|
12
12
|
loss: Increase::CardDispute::Loss?,
|
|
13
13
|
network: Increase::Models::CardDispute::network,
|
|
14
|
+
provisional_credit: Increase::CardDispute::ProvisionalCredit?,
|
|
14
15
|
rejection: Increase::CardDispute::Rejection?,
|
|
15
16
|
status: Increase::Models::CardDispute::status,
|
|
16
17
|
type: Increase::Models::CardDispute::type_,
|
|
@@ -39,6 +40,8 @@ module Increase
|
|
|
39
40
|
|
|
40
41
|
attr_accessor network: Increase::Models::CardDispute::network
|
|
41
42
|
|
|
43
|
+
attr_accessor provisional_credit: Increase::CardDispute::ProvisionalCredit?
|
|
44
|
+
|
|
42
45
|
attr_accessor rejection: Increase::CardDispute::Rejection?
|
|
43
46
|
|
|
44
47
|
attr_accessor status: Increase::Models::CardDispute::status
|
|
@@ -63,6 +66,7 @@ module Increase
|
|
|
63
66
|
idempotency_key: String?,
|
|
64
67
|
loss: Increase::CardDispute::Loss?,
|
|
65
68
|
network: Increase::Models::CardDispute::network,
|
|
69
|
+
provisional_credit: Increase::CardDispute::ProvisionalCredit?,
|
|
66
70
|
rejection: Increase::CardDispute::Rejection?,
|
|
67
71
|
status: Increase::Models::CardDispute::status,
|
|
68
72
|
type: Increase::Models::CardDispute::type_,
|
|
@@ -82,6 +86,7 @@ module Increase
|
|
|
82
86
|
idempotency_key: String?,
|
|
83
87
|
loss: Increase::CardDispute::Loss?,
|
|
84
88
|
network: Increase::Models::CardDispute::network,
|
|
89
|
+
provisional_credit: Increase::CardDispute::ProvisionalCredit?,
|
|
85
90
|
rejection: Increase::CardDispute::Rejection?,
|
|
86
91
|
status: Increase::Models::CardDispute::status,
|
|
87
92
|
type: Increase::Models::CardDispute::type_,
|
|
@@ -138,6 +143,75 @@ module Increase
|
|
|
138
143
|
def self?.values: -> ::Array[Increase::Models::CardDispute::network]
|
|
139
144
|
end
|
|
140
145
|
|
|
146
|
+
type provisional_credit =
|
|
147
|
+
{
|
|
148
|
+
amount: Integer,
|
|
149
|
+
cardholder_account_transaction_id: String,
|
|
150
|
+
provided_at: Time,
|
|
151
|
+
provisional_credit_funding_account_transaction_id: String,
|
|
152
|
+
reversal: Increase::CardDispute::ProvisionalCredit::Reversal?
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
class ProvisionalCredit < Increase::Internal::Type::BaseModel
|
|
156
|
+
attr_accessor amount: Integer
|
|
157
|
+
|
|
158
|
+
attr_accessor cardholder_account_transaction_id: String
|
|
159
|
+
|
|
160
|
+
attr_accessor provided_at: Time
|
|
161
|
+
|
|
162
|
+
attr_accessor provisional_credit_funding_account_transaction_id: String
|
|
163
|
+
|
|
164
|
+
attr_accessor reversal: Increase::CardDispute::ProvisionalCredit::Reversal?
|
|
165
|
+
|
|
166
|
+
def initialize: (
|
|
167
|
+
amount: Integer,
|
|
168
|
+
cardholder_account_transaction_id: String,
|
|
169
|
+
provided_at: Time,
|
|
170
|
+
provisional_credit_funding_account_transaction_id: String,
|
|
171
|
+
reversal: Increase::CardDispute::ProvisionalCredit::Reversal?
|
|
172
|
+
) -> void
|
|
173
|
+
|
|
174
|
+
def to_hash: -> {
|
|
175
|
+
amount: Integer,
|
|
176
|
+
cardholder_account_transaction_id: String,
|
|
177
|
+
provided_at: Time,
|
|
178
|
+
provisional_credit_funding_account_transaction_id: String,
|
|
179
|
+
reversal: Increase::CardDispute::ProvisionalCredit::Reversal?
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
type reversal =
|
|
183
|
+
{
|
|
184
|
+
amount: Integer,
|
|
185
|
+
cardholder_account_transaction_id: String,
|
|
186
|
+
provisional_credit_funding_account_transaction_id: String,
|
|
187
|
+
reversed_at: Time
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
class Reversal < Increase::Internal::Type::BaseModel
|
|
191
|
+
attr_accessor amount: Integer
|
|
192
|
+
|
|
193
|
+
attr_accessor cardholder_account_transaction_id: String
|
|
194
|
+
|
|
195
|
+
attr_accessor provisional_credit_funding_account_transaction_id: String
|
|
196
|
+
|
|
197
|
+
attr_accessor reversed_at: Time
|
|
198
|
+
|
|
199
|
+
def initialize: (
|
|
200
|
+
amount: Integer,
|
|
201
|
+
cardholder_account_transaction_id: String,
|
|
202
|
+
provisional_credit_funding_account_transaction_id: String,
|
|
203
|
+
reversed_at: Time
|
|
204
|
+
) -> void
|
|
205
|
+
|
|
206
|
+
def to_hash: -> {
|
|
207
|
+
amount: Integer,
|
|
208
|
+
cardholder_account_transaction_id: String,
|
|
209
|
+
provisional_credit_funding_account_transaction_id: String,
|
|
210
|
+
reversed_at: Time
|
|
211
|
+
}
|
|
212
|
+
end
|
|
213
|
+
end
|
|
214
|
+
|
|
141
215
|
type rejection = { explanation: String, rejected_at: Time }
|
|
142
216
|
|
|
143
217
|
class Rejection < Increase::Internal::Type::BaseModel
|
|
@@ -231,6 +305,7 @@ module Increase
|
|
|
231
305
|
attachment_files: ::Array[Increase::CardDispute::Visa::NetworkEvent::AttachmentFile],
|
|
232
306
|
category: Increase::Models::CardDispute::Visa::NetworkEvent::category,
|
|
233
307
|
created_at: Time,
|
|
308
|
+
dispute_financial_account_id: String?,
|
|
234
309
|
dispute_financial_transaction_id: String?,
|
|
235
310
|
chargeback_accepted: Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted?,
|
|
236
311
|
chargeback_submitted: Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted?,
|
|
@@ -254,6 +329,8 @@ module Increase
|
|
|
254
329
|
|
|
255
330
|
attr_accessor created_at: Time
|
|
256
331
|
|
|
332
|
+
attr_accessor dispute_financial_account_id: String?
|
|
333
|
+
|
|
257
334
|
attr_accessor dispute_financial_transaction_id: String?
|
|
258
335
|
|
|
259
336
|
attr_accessor chargeback_accepted: Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted?
|
|
@@ -286,6 +363,7 @@ module Increase
|
|
|
286
363
|
attachment_files: ::Array[Increase::CardDispute::Visa::NetworkEvent::AttachmentFile],
|
|
287
364
|
category: Increase::Models::CardDispute::Visa::NetworkEvent::category,
|
|
288
365
|
created_at: Time,
|
|
366
|
+
dispute_financial_account_id: String?,
|
|
289
367
|
dispute_financial_transaction_id: String?,
|
|
290
368
|
?chargeback_accepted: Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted?,
|
|
291
369
|
?chargeback_submitted: Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted?,
|
|
@@ -306,6 +384,7 @@ module Increase
|
|
|
306
384
|
attachment_files: ::Array[Increase::CardDispute::Visa::NetworkEvent::AttachmentFile],
|
|
307
385
|
category: Increase::Models::CardDispute::Visa::NetworkEvent::category,
|
|
308
386
|
created_at: Time,
|
|
387
|
+
dispute_financial_account_id: String?,
|
|
309
388
|
dispute_financial_transaction_id: String?,
|
|
310
389
|
chargeback_accepted: Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted?,
|
|
311
390
|
chargeback_submitted: Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted?,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type card_dispute_provide_provisional_credit_params =
|
|
4
|
+
{ card_dispute_id: String } & Increase::Internal::Type::request_parameters
|
|
5
|
+
|
|
6
|
+
class CardDisputeProvideProvisionalCreditParams < Increase::Internal::Type::BaseModel
|
|
7
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Increase::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
attr_accessor card_dispute_id: String
|
|
11
|
+
|
|
12
|
+
def initialize: (
|
|
13
|
+
card_dispute_id: String,
|
|
14
|
+
?request_options: Increase::request_opts
|
|
15
|
+
) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> {
|
|
18
|
+
card_dispute_id: String,
|
|
19
|
+
request_options: Increase::RequestOptions
|
|
20
|
+
}
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type card_dispute_reverse_provisional_credit_params =
|
|
4
|
+
{ card_dispute_id: String } & Increase::Internal::Type::request_parameters
|
|
5
|
+
|
|
6
|
+
class CardDisputeReverseProvisionalCreditParams < Increase::Internal::Type::BaseModel
|
|
7
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Increase::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
attr_accessor card_dispute_id: String
|
|
11
|
+
|
|
12
|
+
def initialize: (
|
|
13
|
+
card_dispute_id: String,
|
|
14
|
+
?request_options: Increase::request_opts
|
|
15
|
+
) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> {
|
|
18
|
+
card_dispute_id: String,
|
|
19
|
+
request_options: Increase::RequestOptions
|
|
20
|
+
}
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
data/sig/increase/models.rbs
CHANGED
|
@@ -93,8 +93,12 @@ module Increase
|
|
|
93
93
|
|
|
94
94
|
class CardDisputeListParams = Increase::Models::CardDisputeListParams
|
|
95
95
|
|
|
96
|
+
class CardDisputeProvideProvisionalCreditParams = Increase::Models::CardDisputeProvideProvisionalCreditParams
|
|
97
|
+
|
|
96
98
|
class CardDisputeRetrieveParams = Increase::Models::CardDisputeRetrieveParams
|
|
97
99
|
|
|
100
|
+
class CardDisputeReverseProvisionalCreditParams = Increase::Models::CardDisputeReverseProvisionalCreditParams
|
|
101
|
+
|
|
98
102
|
class CardDisputeSubmitUserSubmissionParams = Increase::Models::CardDisputeSubmitUserSubmissionParams
|
|
99
103
|
|
|
100
104
|
class CardDisputeWithdrawParams = Increase::Models::CardDisputeWithdrawParams
|
|
@@ -25,6 +25,16 @@ module Increase
|
|
|
25
25
|
?request_options: Increase::request_opts
|
|
26
26
|
) -> Increase::Internal::Page[Increase::CardDispute]
|
|
27
27
|
|
|
28
|
+
def provide_provisional_credit: (
|
|
29
|
+
String card_dispute_id,
|
|
30
|
+
?request_options: Increase::request_opts
|
|
31
|
+
) -> Increase::CardDispute
|
|
32
|
+
|
|
33
|
+
def reverse_provisional_credit: (
|
|
34
|
+
String card_dispute_id,
|
|
35
|
+
?request_options: Increase::request_opts
|
|
36
|
+
) -> Increase::CardDispute
|
|
37
|
+
|
|
28
38
|
def submit_user_submission: (
|
|
29
39
|
String card_dispute_id,
|
|
30
40
|
network: Increase::Models::CardDisputeSubmitUserSubmissionParams::network,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: increase
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.367.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Increase
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-11-
|
|
11
|
+
date: 2026-11-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|
|
@@ -144,7 +144,9 @@ files:
|
|
|
144
144
|
- lib/increase/models/card_dispute.rb
|
|
145
145
|
- lib/increase/models/card_dispute_create_params.rb
|
|
146
146
|
- lib/increase/models/card_dispute_list_params.rb
|
|
147
|
+
- lib/increase/models/card_dispute_provide_provisional_credit_params.rb
|
|
147
148
|
- lib/increase/models/card_dispute_retrieve_params.rb
|
|
149
|
+
- lib/increase/models/card_dispute_reverse_provisional_credit_params.rb
|
|
148
150
|
- lib/increase/models/card_dispute_submit_user_submission_params.rb
|
|
149
151
|
- lib/increase/models/card_dispute_withdraw_params.rb
|
|
150
152
|
- lib/increase/models/card_iframe_url.rb
|
|
@@ -588,7 +590,9 @@ files:
|
|
|
588
590
|
- rbi/increase/models/card_dispute.rbi
|
|
589
591
|
- rbi/increase/models/card_dispute_create_params.rbi
|
|
590
592
|
- rbi/increase/models/card_dispute_list_params.rbi
|
|
593
|
+
- rbi/increase/models/card_dispute_provide_provisional_credit_params.rbi
|
|
591
594
|
- rbi/increase/models/card_dispute_retrieve_params.rbi
|
|
595
|
+
- rbi/increase/models/card_dispute_reverse_provisional_credit_params.rbi
|
|
592
596
|
- rbi/increase/models/card_dispute_submit_user_submission_params.rbi
|
|
593
597
|
- rbi/increase/models/card_dispute_withdraw_params.rbi
|
|
594
598
|
- rbi/increase/models/card_iframe_url.rbi
|
|
@@ -1031,7 +1035,9 @@ files:
|
|
|
1031
1035
|
- sig/increase/models/card_dispute.rbs
|
|
1032
1036
|
- sig/increase/models/card_dispute_create_params.rbs
|
|
1033
1037
|
- sig/increase/models/card_dispute_list_params.rbs
|
|
1038
|
+
- sig/increase/models/card_dispute_provide_provisional_credit_params.rbs
|
|
1034
1039
|
- sig/increase/models/card_dispute_retrieve_params.rbs
|
|
1040
|
+
- sig/increase/models/card_dispute_reverse_provisional_credit_params.rbs
|
|
1035
1041
|
- sig/increase/models/card_dispute_submit_user_submission_params.rbs
|
|
1036
1042
|
- sig/increase/models/card_dispute_withdraw_params.rbs
|
|
1037
1043
|
- sig/increase/models/card_iframe_url.rbs
|