increase 1.358.0 → 1.360.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/card.rb +6 -3
- data/lib/increase/models/card_create_params.rb +4 -2
- data/lib/increase/models/card_dispute.rb +3 -1
- data/lib/increase/models/card_payment.rb +3 -1
- data/lib/increase/models/card_push_transfer.rb +18 -3
- data/lib/increase/models/card_push_transfer_create_params.rb +18 -3
- data/lib/increase/models/card_update_params.rb +4 -2
- data/lib/increase/models/digital_wallet_token.rb +1 -71
- data/lib/increase/models/digital_wallet_token_request.rb +3 -0
- data/lib/increase/models/export.rb +6 -6
- data/lib/increase/models/physical_card.rb +6 -4
- data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +3 -0
- data/lib/increase/models/simulations/program_create_params.rb +3 -3
- data/lib/increase/resources/physical_cards.rb +2 -1
- data/lib/increase/resources/simulations/programs.rb +1 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card.rbi +6 -3
- data/rbi/increase/models/card_create_params.rbi +4 -2
- data/rbi/increase/models/card_dispute.rbi +3 -1
- data/rbi/increase/models/card_payment.rbi +3 -1
- data/rbi/increase/models/card_push_transfer.rbi +42 -7
- data/rbi/increase/models/card_push_transfer_create_params.rbi +42 -7
- data/rbi/increase/models/card_update_params.rbi +4 -2
- data/rbi/increase/models/digital_wallet_token.rbi +0 -152
- data/rbi/increase/models/digital_wallet_token_request.rbi +7 -0
- data/rbi/increase/models/export.rbi +6 -6
- data/rbi/increase/models/physical_card.rbi +5 -4
- data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +7 -0
- data/rbi/increase/models/simulations/program_create_params.rbi +3 -3
- data/rbi/increase/resources/physical_cards.rbi +2 -1
- data/rbi/increase/resources/simulations/programs.rbi +1 -1
- data/sig/increase/models/card_push_transfer.rbs +24 -4
- data/sig/increase/models/card_push_transfer_create_params.rbs +24 -4
- data/sig/increase/models/digital_wallet_token.rbs +1 -77
- data/sig/increase/models/digital_wallet_token_request.rbs +4 -0
- data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +4 -0
- metadata +2 -2
|
@@ -238,6 +238,7 @@ module Increase
|
|
|
238
238
|
| :DZD
|
|
239
239
|
| :USD
|
|
240
240
|
| :AOA
|
|
241
|
+
| :XCD
|
|
241
242
|
| :ARS
|
|
242
243
|
| :AMD
|
|
243
244
|
| :AWG
|
|
@@ -249,6 +250,7 @@ module Increase
|
|
|
249
250
|
| :BBD
|
|
250
251
|
| :BYN
|
|
251
252
|
| :BZD
|
|
253
|
+
| :XOF
|
|
252
254
|
| :BMD
|
|
253
255
|
| :INR
|
|
254
256
|
| :BTN
|
|
@@ -259,10 +261,10 @@ module Increase
|
|
|
259
261
|
| :NOK
|
|
260
262
|
| :BRL
|
|
261
263
|
| :BND
|
|
262
|
-
| :BGN
|
|
263
264
|
| :BIF
|
|
264
265
|
| :CVE
|
|
265
266
|
| :KHR
|
|
267
|
+
| :XAF
|
|
266
268
|
| :CAD
|
|
267
269
|
| :KYD
|
|
268
270
|
| :CLP
|
|
@@ -275,6 +277,7 @@ module Increase
|
|
|
275
277
|
| :NZD
|
|
276
278
|
| :CRC
|
|
277
279
|
| :CUP
|
|
280
|
+
| :XCG
|
|
278
281
|
| :CZK
|
|
279
282
|
| :DKK
|
|
280
283
|
| :DJF
|
|
@@ -286,6 +289,7 @@ module Increase
|
|
|
286
289
|
| :ETB
|
|
287
290
|
| :FKP
|
|
288
291
|
| :FJD
|
|
292
|
+
| :XPF
|
|
289
293
|
| :GMD
|
|
290
294
|
| :GEL
|
|
291
295
|
| :GHS
|
|
@@ -392,6 +396,7 @@ module Increase
|
|
|
392
396
|
| :YER
|
|
393
397
|
| :ZMW
|
|
394
398
|
| :ZWG
|
|
399
|
+
| :BGN
|
|
395
400
|
|
|
396
401
|
module Currency
|
|
397
402
|
extend Increase::Internal::Type::Enum
|
|
@@ -414,6 +419,9 @@ module Increase
|
|
|
414
419
|
# AOA
|
|
415
420
|
AOA: :AOA
|
|
416
421
|
|
|
422
|
+
# XCD
|
|
423
|
+
XCD: :XCD
|
|
424
|
+
|
|
417
425
|
# ARS
|
|
418
426
|
ARS: :ARS
|
|
419
427
|
|
|
@@ -447,6 +455,9 @@ module Increase
|
|
|
447
455
|
# BZD
|
|
448
456
|
BZD: :BZD
|
|
449
457
|
|
|
458
|
+
# XOF
|
|
459
|
+
XOF: :XOF
|
|
460
|
+
|
|
450
461
|
# BMD
|
|
451
462
|
BMD: :BMD
|
|
452
463
|
|
|
@@ -477,9 +488,6 @@ module Increase
|
|
|
477
488
|
# BND
|
|
478
489
|
BND: :BND
|
|
479
490
|
|
|
480
|
-
# BGN
|
|
481
|
-
BGN: :BGN
|
|
482
|
-
|
|
483
491
|
# BIF
|
|
484
492
|
BIF: :BIF
|
|
485
493
|
|
|
@@ -489,6 +497,9 @@ module Increase
|
|
|
489
497
|
# KHR
|
|
490
498
|
KHR: :KHR
|
|
491
499
|
|
|
500
|
+
# XAF
|
|
501
|
+
XAF: :XAF
|
|
502
|
+
|
|
492
503
|
# CAD
|
|
493
504
|
CAD: :CAD
|
|
494
505
|
|
|
@@ -525,6 +536,9 @@ module Increase
|
|
|
525
536
|
# CUP
|
|
526
537
|
CUP: :CUP
|
|
527
538
|
|
|
539
|
+
# XCG
|
|
540
|
+
XCG: :XCG
|
|
541
|
+
|
|
528
542
|
# CZK
|
|
529
543
|
CZK: :CZK
|
|
530
544
|
|
|
@@ -558,6 +572,9 @@ module Increase
|
|
|
558
572
|
# FJD
|
|
559
573
|
FJD: :FJD
|
|
560
574
|
|
|
575
|
+
# XPF
|
|
576
|
+
XPF: :XPF
|
|
577
|
+
|
|
561
578
|
# GMD
|
|
562
579
|
GMD: :GMD
|
|
563
580
|
|
|
@@ -876,6 +893,9 @@ module Increase
|
|
|
876
893
|
# ZWG
|
|
877
894
|
ZWG: :ZWG
|
|
878
895
|
|
|
896
|
+
# BGN
|
|
897
|
+
BGN: :BGN
|
|
898
|
+
|
|
879
899
|
def self?.values: -> ::Array[Increase::Models::CardPushTransferCreateParams::PresentmentAmount::currency]
|
|
880
900
|
end
|
|
881
901
|
end
|
|
@@ -7,7 +7,6 @@ module Increase
|
|
|
7
7
|
card_id: String,
|
|
8
8
|
cardholder: Increase::DigitalWalletToken::Cardholder,
|
|
9
9
|
created_at: Time,
|
|
10
|
-
decline: Increase::DigitalWalletToken::Decline?,
|
|
11
10
|
device: Increase::DigitalWalletToken::Device,
|
|
12
11
|
dynamic_primary_account_number: Increase::DigitalWalletToken::DynamicPrimaryAccountNumber?,
|
|
13
12
|
primary_account_number_reference_identifier: String,
|
|
@@ -29,8 +28,6 @@ module Increase
|
|
|
29
28
|
|
|
30
29
|
attr_accessor created_at: Time
|
|
31
30
|
|
|
32
|
-
attr_accessor decline: Increase::DigitalWalletToken::Decline?
|
|
33
|
-
|
|
34
31
|
attr_accessor device: Increase::DigitalWalletToken::Device
|
|
35
32
|
|
|
36
33
|
attr_accessor dynamic_primary_account_number: Increase::DigitalWalletToken::DynamicPrimaryAccountNumber?
|
|
@@ -53,7 +50,6 @@ module Increase
|
|
|
53
50
|
card_id: String,
|
|
54
51
|
cardholder: Increase::DigitalWalletToken::Cardholder,
|
|
55
52
|
created_at: Time,
|
|
56
|
-
decline: Increase::DigitalWalletToken::Decline?,
|
|
57
53
|
device: Increase::DigitalWalletToken::Device,
|
|
58
54
|
dynamic_primary_account_number: Increase::DigitalWalletToken::DynamicPrimaryAccountNumber?,
|
|
59
55
|
primary_account_number_reference_identifier: String,
|
|
@@ -70,7 +66,6 @@ module Increase
|
|
|
70
66
|
card_id: String,
|
|
71
67
|
cardholder: Increase::DigitalWalletToken::Cardholder,
|
|
72
68
|
created_at: Time,
|
|
73
|
-
decline: Increase::DigitalWalletToken::Decline?,
|
|
74
69
|
device: Increase::DigitalWalletToken::Device,
|
|
75
70
|
dynamic_primary_account_number: Increase::DigitalWalletToken::DynamicPrimaryAccountNumber?,
|
|
76
71
|
primary_account_number_reference_identifier: String,
|
|
@@ -91,65 +86,6 @@ module Increase
|
|
|
91
86
|
def to_hash: -> { name: String? }
|
|
92
87
|
end
|
|
93
88
|
|
|
94
|
-
type decline =
|
|
95
|
-
{ reason: Increase::Models::DigitalWalletToken::Decline::reason }
|
|
96
|
-
|
|
97
|
-
class Decline < Increase::Internal::Type::BaseModel
|
|
98
|
-
attr_accessor reason: Increase::Models::DigitalWalletToken::Decline::reason
|
|
99
|
-
|
|
100
|
-
def initialize: (
|
|
101
|
-
reason: Increase::Models::DigitalWalletToken::Decline::reason
|
|
102
|
-
) -> void
|
|
103
|
-
|
|
104
|
-
def to_hash: -> {
|
|
105
|
-
reason: Increase::Models::DigitalWalletToken::Decline::reason
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
type reason =
|
|
109
|
-
:card_not_active
|
|
110
|
-
| :no_verification_method
|
|
111
|
-
| :webhook_timed_out
|
|
112
|
-
| :webhook_declined
|
|
113
|
-
| :incorrect_card_verification_code
|
|
114
|
-
| :declined_by_token_requestor
|
|
115
|
-
| :group_locked
|
|
116
|
-
| :account_closed
|
|
117
|
-
| :entity_not_active
|
|
118
|
-
|
|
119
|
-
module Reason
|
|
120
|
-
extend Increase::Internal::Type::Enum
|
|
121
|
-
|
|
122
|
-
# The card is not active.
|
|
123
|
-
CARD_NOT_ACTIVE: :card_not_active
|
|
124
|
-
|
|
125
|
-
# The card does not have a two-factor authentication method.
|
|
126
|
-
NO_VERIFICATION_METHOD: :no_verification_method
|
|
127
|
-
|
|
128
|
-
# Your webhook timed out when evaluating the token provisioning attempt.
|
|
129
|
-
WEBHOOK_TIMED_OUT: :webhook_timed_out
|
|
130
|
-
|
|
131
|
-
# Your webhook declined the token provisioning attempt.
|
|
132
|
-
WEBHOOK_DECLINED: :webhook_declined
|
|
133
|
-
|
|
134
|
-
# The tokenization attempt failed because the Card Verification Code (CVC) was incorrect.
|
|
135
|
-
INCORRECT_CARD_VERIFICATION_CODE: :incorrect_card_verification_code
|
|
136
|
-
|
|
137
|
-
# The tokenization attempt was declined by the token requestor.
|
|
138
|
-
DECLINED_BY_TOKEN_REQUESTOR: :declined_by_token_requestor
|
|
139
|
-
|
|
140
|
-
# The group was locked.
|
|
141
|
-
GROUP_LOCKED: :group_locked
|
|
142
|
-
|
|
143
|
-
# The account has been closed.
|
|
144
|
-
ACCOUNT_CLOSED: :account_closed
|
|
145
|
-
|
|
146
|
-
# The account's entity was not active.
|
|
147
|
-
ENTITY_NOT_ACTIVE: :entity_not_active
|
|
148
|
-
|
|
149
|
-
def self?.values: -> ::Array[Increase::Models::DigitalWalletToken::Decline::reason]
|
|
150
|
-
end
|
|
151
|
-
end
|
|
152
|
-
|
|
153
89
|
type device =
|
|
154
90
|
{
|
|
155
91
|
device_type: Increase::Models::DigitalWalletToken::Device::device_type?,
|
|
@@ -240,12 +176,7 @@ module Increase
|
|
|
240
176
|
end
|
|
241
177
|
|
|
242
178
|
type status =
|
|
243
|
-
:active
|
|
244
|
-
| :inactive
|
|
245
|
-
| :suspended
|
|
246
|
-
| :deactivated
|
|
247
|
-
| :declined
|
|
248
|
-
| :pending_transitioning
|
|
179
|
+
:active | :inactive | :suspended | :deactivated | :pending_transitioning
|
|
249
180
|
|
|
250
181
|
module Status
|
|
251
182
|
extend Increase::Internal::Type::Enum
|
|
@@ -262,9 +193,6 @@ module Increase
|
|
|
262
193
|
# The digital wallet token has been permanently canceled.
|
|
263
194
|
DEACTIVATED: :deactivated
|
|
264
195
|
|
|
265
|
-
# The digital wallet token was declined during provisioning.
|
|
266
|
-
DECLINED: :declined
|
|
267
|
-
|
|
268
196
|
# The digital wallet token is transitioning to a new status and is awaiting confirmation from the card network.
|
|
269
197
|
PENDING_TRANSITIONING: :pending_transitioning
|
|
270
198
|
|
|
@@ -331,7 +259,6 @@ module Increase
|
|
|
331
259
|
| :inactive
|
|
332
260
|
| :suspended
|
|
333
261
|
| :deactivated
|
|
334
|
-
| :declined
|
|
335
262
|
| :pending_transitioning
|
|
336
263
|
|
|
337
264
|
module Status
|
|
@@ -349,9 +276,6 @@ module Increase
|
|
|
349
276
|
# The digital wallet token has been permanently canceled.
|
|
350
277
|
DEACTIVATED: :deactivated
|
|
351
278
|
|
|
352
|
-
# The digital wallet token was declined during provisioning.
|
|
353
|
-
DECLINED: :declined
|
|
354
|
-
|
|
355
279
|
# The digital wallet token is transitioning to a new status and is awaiting confirmation from the card network.
|
|
356
280
|
PENDING_TRANSITIONING: :pending_transitioning
|
|
357
281
|
|
|
@@ -87,6 +87,7 @@ module Increase
|
|
|
87
87
|
| :group_locked
|
|
88
88
|
| :account_closed
|
|
89
89
|
| :entity_not_active
|
|
90
|
+
| :card_expiration_mismatch
|
|
90
91
|
|
|
91
92
|
module Reason
|
|
92
93
|
extend Increase::Internal::Type::Enum
|
|
@@ -118,6 +119,9 @@ module Increase
|
|
|
118
119
|
# The account's entity was not active.
|
|
119
120
|
ENTITY_NOT_ACTIVE: :entity_not_active
|
|
120
121
|
|
|
122
|
+
# The given expiration date did not match the card's value.
|
|
123
|
+
CARD_EXPIRATION_MISMATCH: :card_expiration_mismatch
|
|
124
|
+
|
|
121
125
|
def self?.values: -> ::Array[Increase::Models::DigitalWalletTokenRequest::Declined::reason]
|
|
122
126
|
end
|
|
123
127
|
end
|
|
@@ -37,6 +37,7 @@ module Increase
|
|
|
37
37
|
| :group_locked
|
|
38
38
|
| :account_closed
|
|
39
39
|
| :entity_not_active
|
|
40
|
+
| :card_expiration_mismatch
|
|
40
41
|
|
|
41
42
|
module DeclineReason
|
|
42
43
|
extend Increase::Internal::Type::Enum
|
|
@@ -68,6 +69,9 @@ module Increase
|
|
|
68
69
|
# The account's entity was not active.
|
|
69
70
|
ENTITY_NOT_ACTIVE: :entity_not_active
|
|
70
71
|
|
|
72
|
+
# The given expiration date did not match the card's value.
|
|
73
|
+
CARD_EXPIRATION_MISMATCH: :card_expiration_mismatch
|
|
74
|
+
|
|
71
75
|
def self?.values: -> ::Array[Increase::Models::Simulations::DigitalWalletTokenRequestCreateResponse::decline_reason]
|
|
72
76
|
end
|
|
73
77
|
|
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.360.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-10-
|
|
11
|
+
date: 2026-10-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|