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
|
@@ -1589,6 +1589,13 @@ module Increase
|
|
|
1589
1589
|
Increase::CardPushTransfer::PresentmentAmount::Currency::TaggedSymbol
|
|
1590
1590
|
)
|
|
1591
1591
|
|
|
1592
|
+
# XCD
|
|
1593
|
+
XCD =
|
|
1594
|
+
T.let(
|
|
1595
|
+
:XCD,
|
|
1596
|
+
Increase::CardPushTransfer::PresentmentAmount::Currency::TaggedSymbol
|
|
1597
|
+
)
|
|
1598
|
+
|
|
1592
1599
|
# ARS
|
|
1593
1600
|
ARS =
|
|
1594
1601
|
T.let(
|
|
@@ -1666,6 +1673,13 @@ module Increase
|
|
|
1666
1673
|
Increase::CardPushTransfer::PresentmentAmount::Currency::TaggedSymbol
|
|
1667
1674
|
)
|
|
1668
1675
|
|
|
1676
|
+
# XOF
|
|
1677
|
+
XOF =
|
|
1678
|
+
T.let(
|
|
1679
|
+
:XOF,
|
|
1680
|
+
Increase::CardPushTransfer::PresentmentAmount::Currency::TaggedSymbol
|
|
1681
|
+
)
|
|
1682
|
+
|
|
1669
1683
|
# BMD
|
|
1670
1684
|
BMD =
|
|
1671
1685
|
T.let(
|
|
@@ -1736,13 +1750,6 @@ module Increase
|
|
|
1736
1750
|
Increase::CardPushTransfer::PresentmentAmount::Currency::TaggedSymbol
|
|
1737
1751
|
)
|
|
1738
1752
|
|
|
1739
|
-
# BGN
|
|
1740
|
-
BGN =
|
|
1741
|
-
T.let(
|
|
1742
|
-
:BGN,
|
|
1743
|
-
Increase::CardPushTransfer::PresentmentAmount::Currency::TaggedSymbol
|
|
1744
|
-
)
|
|
1745
|
-
|
|
1746
1753
|
# BIF
|
|
1747
1754
|
BIF =
|
|
1748
1755
|
T.let(
|
|
@@ -1764,6 +1771,13 @@ module Increase
|
|
|
1764
1771
|
Increase::CardPushTransfer::PresentmentAmount::Currency::TaggedSymbol
|
|
1765
1772
|
)
|
|
1766
1773
|
|
|
1774
|
+
# XAF
|
|
1775
|
+
XAF =
|
|
1776
|
+
T.let(
|
|
1777
|
+
:XAF,
|
|
1778
|
+
Increase::CardPushTransfer::PresentmentAmount::Currency::TaggedSymbol
|
|
1779
|
+
)
|
|
1780
|
+
|
|
1767
1781
|
# CAD
|
|
1768
1782
|
CAD =
|
|
1769
1783
|
T.let(
|
|
@@ -1848,6 +1862,13 @@ module Increase
|
|
|
1848
1862
|
Increase::CardPushTransfer::PresentmentAmount::Currency::TaggedSymbol
|
|
1849
1863
|
)
|
|
1850
1864
|
|
|
1865
|
+
# XCG
|
|
1866
|
+
XCG =
|
|
1867
|
+
T.let(
|
|
1868
|
+
:XCG,
|
|
1869
|
+
Increase::CardPushTransfer::PresentmentAmount::Currency::TaggedSymbol
|
|
1870
|
+
)
|
|
1871
|
+
|
|
1851
1872
|
# CZK
|
|
1852
1873
|
CZK =
|
|
1853
1874
|
T.let(
|
|
@@ -1925,6 +1946,13 @@ module Increase
|
|
|
1925
1946
|
Increase::CardPushTransfer::PresentmentAmount::Currency::TaggedSymbol
|
|
1926
1947
|
)
|
|
1927
1948
|
|
|
1949
|
+
# XPF
|
|
1950
|
+
XPF =
|
|
1951
|
+
T.let(
|
|
1952
|
+
:XPF,
|
|
1953
|
+
Increase::CardPushTransfer::PresentmentAmount::Currency::TaggedSymbol
|
|
1954
|
+
)
|
|
1955
|
+
|
|
1928
1956
|
# GMD
|
|
1929
1957
|
GMD =
|
|
1930
1958
|
T.let(
|
|
@@ -2667,6 +2695,13 @@ module Increase
|
|
|
2667
2695
|
Increase::CardPushTransfer::PresentmentAmount::Currency::TaggedSymbol
|
|
2668
2696
|
)
|
|
2669
2697
|
|
|
2698
|
+
# BGN
|
|
2699
|
+
BGN =
|
|
2700
|
+
T.let(
|
|
2701
|
+
:BGN,
|
|
2702
|
+
Increase::CardPushTransfer::PresentmentAmount::Currency::TaggedSymbol
|
|
2703
|
+
)
|
|
2704
|
+
|
|
2670
2705
|
sig do
|
|
2671
2706
|
override.returns(
|
|
2672
2707
|
T::Array[
|
|
@@ -523,6 +523,13 @@ module Increase
|
|
|
523
523
|
Increase::CardPushTransferCreateParams::PresentmentAmount::Currency::TaggedSymbol
|
|
524
524
|
)
|
|
525
525
|
|
|
526
|
+
# XCD
|
|
527
|
+
XCD =
|
|
528
|
+
T.let(
|
|
529
|
+
:XCD,
|
|
530
|
+
Increase::CardPushTransferCreateParams::PresentmentAmount::Currency::TaggedSymbol
|
|
531
|
+
)
|
|
532
|
+
|
|
526
533
|
# ARS
|
|
527
534
|
ARS =
|
|
528
535
|
T.let(
|
|
@@ -600,6 +607,13 @@ module Increase
|
|
|
600
607
|
Increase::CardPushTransferCreateParams::PresentmentAmount::Currency::TaggedSymbol
|
|
601
608
|
)
|
|
602
609
|
|
|
610
|
+
# XOF
|
|
611
|
+
XOF =
|
|
612
|
+
T.let(
|
|
613
|
+
:XOF,
|
|
614
|
+
Increase::CardPushTransferCreateParams::PresentmentAmount::Currency::TaggedSymbol
|
|
615
|
+
)
|
|
616
|
+
|
|
603
617
|
# BMD
|
|
604
618
|
BMD =
|
|
605
619
|
T.let(
|
|
@@ -670,13 +684,6 @@ module Increase
|
|
|
670
684
|
Increase::CardPushTransferCreateParams::PresentmentAmount::Currency::TaggedSymbol
|
|
671
685
|
)
|
|
672
686
|
|
|
673
|
-
# BGN
|
|
674
|
-
BGN =
|
|
675
|
-
T.let(
|
|
676
|
-
:BGN,
|
|
677
|
-
Increase::CardPushTransferCreateParams::PresentmentAmount::Currency::TaggedSymbol
|
|
678
|
-
)
|
|
679
|
-
|
|
680
687
|
# BIF
|
|
681
688
|
BIF =
|
|
682
689
|
T.let(
|
|
@@ -698,6 +705,13 @@ module Increase
|
|
|
698
705
|
Increase::CardPushTransferCreateParams::PresentmentAmount::Currency::TaggedSymbol
|
|
699
706
|
)
|
|
700
707
|
|
|
708
|
+
# XAF
|
|
709
|
+
XAF =
|
|
710
|
+
T.let(
|
|
711
|
+
:XAF,
|
|
712
|
+
Increase::CardPushTransferCreateParams::PresentmentAmount::Currency::TaggedSymbol
|
|
713
|
+
)
|
|
714
|
+
|
|
701
715
|
# CAD
|
|
702
716
|
CAD =
|
|
703
717
|
T.let(
|
|
@@ -782,6 +796,13 @@ module Increase
|
|
|
782
796
|
Increase::CardPushTransferCreateParams::PresentmentAmount::Currency::TaggedSymbol
|
|
783
797
|
)
|
|
784
798
|
|
|
799
|
+
# XCG
|
|
800
|
+
XCG =
|
|
801
|
+
T.let(
|
|
802
|
+
:XCG,
|
|
803
|
+
Increase::CardPushTransferCreateParams::PresentmentAmount::Currency::TaggedSymbol
|
|
804
|
+
)
|
|
805
|
+
|
|
785
806
|
# CZK
|
|
786
807
|
CZK =
|
|
787
808
|
T.let(
|
|
@@ -859,6 +880,13 @@ module Increase
|
|
|
859
880
|
Increase::CardPushTransferCreateParams::PresentmentAmount::Currency::TaggedSymbol
|
|
860
881
|
)
|
|
861
882
|
|
|
883
|
+
# XPF
|
|
884
|
+
XPF =
|
|
885
|
+
T.let(
|
|
886
|
+
:XPF,
|
|
887
|
+
Increase::CardPushTransferCreateParams::PresentmentAmount::Currency::TaggedSymbol
|
|
888
|
+
)
|
|
889
|
+
|
|
862
890
|
# GMD
|
|
863
891
|
GMD =
|
|
864
892
|
T.let(
|
|
@@ -1601,6 +1629,13 @@ module Increase
|
|
|
1601
1629
|
Increase::CardPushTransferCreateParams::PresentmentAmount::Currency::TaggedSymbol
|
|
1602
1630
|
)
|
|
1603
1631
|
|
|
1632
|
+
# BGN
|
|
1633
|
+
BGN =
|
|
1634
|
+
T.let(
|
|
1635
|
+
:BGN,
|
|
1636
|
+
Increase::CardPushTransferCreateParams::PresentmentAmount::Currency::TaggedSymbol
|
|
1637
|
+
)
|
|
1638
|
+
|
|
1604
1639
|
sig do
|
|
1605
1640
|
override.returns(
|
|
1606
1641
|
T::Array[
|
|
@@ -1290,7 +1290,8 @@ module Increase
|
|
|
1290
1290
|
attr_writer :email
|
|
1291
1291
|
|
|
1292
1292
|
# A phone number that can be used to verify the cardholder via one-time passcode
|
|
1293
|
-
# over SMS.
|
|
1293
|
+
# over SMS. Accepts formats like `+14155550123`, `4155550123`, `415-555-0123`, or
|
|
1294
|
+
# `(415) 555-0123`.
|
|
1294
1295
|
sig { returns(T.nilable(String)) }
|
|
1295
1296
|
attr_reader :phone
|
|
1296
1297
|
|
|
@@ -1314,7 +1315,8 @@ module Increase
|
|
|
1314
1315
|
# over email.
|
|
1315
1316
|
email: nil,
|
|
1316
1317
|
# A phone number that can be used to verify the cardholder via one-time passcode
|
|
1317
|
-
# over SMS.
|
|
1318
|
+
# over SMS. Accepts formats like `+14155550123`, `4155550123`, `415-555-0123`, or
|
|
1319
|
+
# `(415) 555-0123`.
|
|
1318
1320
|
phone: nil
|
|
1319
1321
|
)
|
|
1320
1322
|
end
|
|
@@ -36,18 +36,6 @@ module Increase
|
|
|
36
36
|
sig { returns(Time) }
|
|
37
37
|
attr_accessor :created_at
|
|
38
38
|
|
|
39
|
-
# If the Digital Wallet Token was declined during provisioning, details about the
|
|
40
|
-
# decline.
|
|
41
|
-
sig { returns(T.nilable(Increase::DigitalWalletToken::Decline)) }
|
|
42
|
-
attr_reader :decline
|
|
43
|
-
|
|
44
|
-
sig do
|
|
45
|
-
params(
|
|
46
|
-
decline: T.nilable(Increase::DigitalWalletToken::Decline::OrHash)
|
|
47
|
-
).void
|
|
48
|
-
end
|
|
49
|
-
attr_writer :decline
|
|
50
|
-
|
|
51
39
|
# The device that was used to create the Digital Wallet Token.
|
|
52
40
|
sig { returns(Increase::DigitalWalletToken::Device) }
|
|
53
41
|
attr_reader :device
|
|
@@ -110,7 +98,6 @@ module Increase
|
|
|
110
98
|
card_id: String,
|
|
111
99
|
cardholder: Increase::DigitalWalletToken::Cardholder::OrHash,
|
|
112
100
|
created_at: Time,
|
|
113
|
-
decline: T.nilable(Increase::DigitalWalletToken::Decline::OrHash),
|
|
114
101
|
device: Increase::DigitalWalletToken::Device::OrHash,
|
|
115
102
|
dynamic_primary_account_number:
|
|
116
103
|
T.nilable(
|
|
@@ -137,9 +124,6 @@ module Increase
|
|
|
137
124
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
138
125
|
# the Digital Wallet Token was created.
|
|
139
126
|
created_at:,
|
|
140
|
-
# If the Digital Wallet Token was declined during provisioning, details about the
|
|
141
|
-
# decline.
|
|
142
|
-
decline:,
|
|
143
127
|
# The device that was used to create the Digital Wallet Token.
|
|
144
128
|
device:,
|
|
145
129
|
# The redacted Dynamic Primary Account Number.
|
|
@@ -168,7 +152,6 @@ module Increase
|
|
|
168
152
|
card_id: String,
|
|
169
153
|
cardholder: Increase::DigitalWalletToken::Cardholder,
|
|
170
154
|
created_at: Time,
|
|
171
|
-
decline: T.nilable(Increase::DigitalWalletToken::Decline),
|
|
172
155
|
device: Increase::DigitalWalletToken::Device,
|
|
173
156
|
dynamic_primary_account_number:
|
|
174
157
|
T.nilable(
|
|
@@ -213,130 +196,6 @@ module Increase
|
|
|
213
196
|
end
|
|
214
197
|
end
|
|
215
198
|
|
|
216
|
-
class Decline < Increase::Internal::Type::BaseModel
|
|
217
|
-
OrHash =
|
|
218
|
-
T.type_alias do
|
|
219
|
-
T.any(
|
|
220
|
-
Increase::DigitalWalletToken::Decline,
|
|
221
|
-
Increase::Internal::AnyHash
|
|
222
|
-
)
|
|
223
|
-
end
|
|
224
|
-
|
|
225
|
-
# The reason the token provisioning was declined.
|
|
226
|
-
sig do
|
|
227
|
-
returns(Increase::DigitalWalletToken::Decline::Reason::TaggedSymbol)
|
|
228
|
-
end
|
|
229
|
-
attr_accessor :reason
|
|
230
|
-
|
|
231
|
-
# If the Digital Wallet Token was declined during provisioning, details about the
|
|
232
|
-
# decline.
|
|
233
|
-
sig do
|
|
234
|
-
params(
|
|
235
|
-
reason: Increase::DigitalWalletToken::Decline::Reason::OrSymbol
|
|
236
|
-
).returns(T.attached_class)
|
|
237
|
-
end
|
|
238
|
-
def self.new(
|
|
239
|
-
# The reason the token provisioning was declined.
|
|
240
|
-
reason:
|
|
241
|
-
)
|
|
242
|
-
end
|
|
243
|
-
|
|
244
|
-
sig do
|
|
245
|
-
override.returns(
|
|
246
|
-
{
|
|
247
|
-
reason:
|
|
248
|
-
Increase::DigitalWalletToken::Decline::Reason::TaggedSymbol
|
|
249
|
-
}
|
|
250
|
-
)
|
|
251
|
-
end
|
|
252
|
-
def to_hash
|
|
253
|
-
end
|
|
254
|
-
|
|
255
|
-
# The reason the token provisioning was declined.
|
|
256
|
-
module Reason
|
|
257
|
-
extend Increase::Internal::Type::Enum
|
|
258
|
-
|
|
259
|
-
TaggedSymbol =
|
|
260
|
-
T.type_alias do
|
|
261
|
-
T.all(Symbol, Increase::DigitalWalletToken::Decline::Reason)
|
|
262
|
-
end
|
|
263
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
264
|
-
|
|
265
|
-
# The card is not active.
|
|
266
|
-
CARD_NOT_ACTIVE =
|
|
267
|
-
T.let(
|
|
268
|
-
:card_not_active,
|
|
269
|
-
Increase::DigitalWalletToken::Decline::Reason::TaggedSymbol
|
|
270
|
-
)
|
|
271
|
-
|
|
272
|
-
# The card does not have a two-factor authentication method.
|
|
273
|
-
NO_VERIFICATION_METHOD =
|
|
274
|
-
T.let(
|
|
275
|
-
:no_verification_method,
|
|
276
|
-
Increase::DigitalWalletToken::Decline::Reason::TaggedSymbol
|
|
277
|
-
)
|
|
278
|
-
|
|
279
|
-
# Your webhook timed out when evaluating the token provisioning attempt.
|
|
280
|
-
WEBHOOK_TIMED_OUT =
|
|
281
|
-
T.let(
|
|
282
|
-
:webhook_timed_out,
|
|
283
|
-
Increase::DigitalWalletToken::Decline::Reason::TaggedSymbol
|
|
284
|
-
)
|
|
285
|
-
|
|
286
|
-
# Your webhook declined the token provisioning attempt.
|
|
287
|
-
WEBHOOK_DECLINED =
|
|
288
|
-
T.let(
|
|
289
|
-
:webhook_declined,
|
|
290
|
-
Increase::DigitalWalletToken::Decline::Reason::TaggedSymbol
|
|
291
|
-
)
|
|
292
|
-
|
|
293
|
-
# The tokenization attempt failed because the Card Verification Code (CVC) was incorrect.
|
|
294
|
-
INCORRECT_CARD_VERIFICATION_CODE =
|
|
295
|
-
T.let(
|
|
296
|
-
:incorrect_card_verification_code,
|
|
297
|
-
Increase::DigitalWalletToken::Decline::Reason::TaggedSymbol
|
|
298
|
-
)
|
|
299
|
-
|
|
300
|
-
# The tokenization attempt was declined by the token requestor.
|
|
301
|
-
DECLINED_BY_TOKEN_REQUESTOR =
|
|
302
|
-
T.let(
|
|
303
|
-
:declined_by_token_requestor,
|
|
304
|
-
Increase::DigitalWalletToken::Decline::Reason::TaggedSymbol
|
|
305
|
-
)
|
|
306
|
-
|
|
307
|
-
# The group was locked.
|
|
308
|
-
GROUP_LOCKED =
|
|
309
|
-
T.let(
|
|
310
|
-
:group_locked,
|
|
311
|
-
Increase::DigitalWalletToken::Decline::Reason::TaggedSymbol
|
|
312
|
-
)
|
|
313
|
-
|
|
314
|
-
# The account has been closed.
|
|
315
|
-
ACCOUNT_CLOSED =
|
|
316
|
-
T.let(
|
|
317
|
-
:account_closed,
|
|
318
|
-
Increase::DigitalWalletToken::Decline::Reason::TaggedSymbol
|
|
319
|
-
)
|
|
320
|
-
|
|
321
|
-
# The account's entity was not active.
|
|
322
|
-
ENTITY_NOT_ACTIVE =
|
|
323
|
-
T.let(
|
|
324
|
-
:entity_not_active,
|
|
325
|
-
Increase::DigitalWalletToken::Decline::Reason::TaggedSymbol
|
|
326
|
-
)
|
|
327
|
-
|
|
328
|
-
sig do
|
|
329
|
-
override.returns(
|
|
330
|
-
T::Array[
|
|
331
|
-
Increase::DigitalWalletToken::Decline::Reason::TaggedSymbol
|
|
332
|
-
]
|
|
333
|
-
)
|
|
334
|
-
end
|
|
335
|
-
def self.values
|
|
336
|
-
end
|
|
337
|
-
end
|
|
338
|
-
end
|
|
339
|
-
|
|
340
199
|
class Device < Increase::Internal::Type::BaseModel
|
|
341
200
|
OrHash =
|
|
342
201
|
T.type_alias do
|
|
@@ -552,10 +411,6 @@ module Increase
|
|
|
552
411
|
Increase::DigitalWalletToken::Status::TaggedSymbol
|
|
553
412
|
)
|
|
554
413
|
|
|
555
|
-
# The digital wallet token was declined during provisioning.
|
|
556
|
-
DECLINED =
|
|
557
|
-
T.let(:declined, Increase::DigitalWalletToken::Status::TaggedSymbol)
|
|
558
|
-
|
|
559
414
|
# The digital wallet token is transitioning to a new status and is awaiting confirmation from the card network.
|
|
560
415
|
PENDING_TRANSITIONING =
|
|
561
416
|
T.let(
|
|
@@ -735,13 +590,6 @@ module Increase
|
|
|
735
590
|
Increase::DigitalWalletToken::Update::Status::TaggedSymbol
|
|
736
591
|
)
|
|
737
592
|
|
|
738
|
-
# The digital wallet token was declined during provisioning.
|
|
739
|
-
DECLINED =
|
|
740
|
-
T.let(
|
|
741
|
-
:declined,
|
|
742
|
-
Increase::DigitalWalletToken::Update::Status::TaggedSymbol
|
|
743
|
-
)
|
|
744
|
-
|
|
745
593
|
# The digital wallet token is transitioning to a new status and is awaiting confirmation from the card network.
|
|
746
594
|
PENDING_TRANSITIONING =
|
|
747
595
|
T.let(
|
|
@@ -267,6 +267,13 @@ module Increase
|
|
|
267
267
|
Increase::DigitalWalletTokenRequest::Declined::Reason::TaggedSymbol
|
|
268
268
|
)
|
|
269
269
|
|
|
270
|
+
# The given expiration date did not match the card's value.
|
|
271
|
+
CARD_EXPIRATION_MISMATCH =
|
|
272
|
+
T.let(
|
|
273
|
+
:card_expiration_mismatch,
|
|
274
|
+
Increase::DigitalWalletTokenRequest::Declined::Reason::TaggedSymbol
|
|
275
|
+
)
|
|
276
|
+
|
|
270
277
|
sig do
|
|
271
278
|
override.returns(
|
|
272
279
|
T::Array[
|
|
@@ -891,8 +891,8 @@ module Increase
|
|
|
891
891
|
T.any(Increase::Export::FeeCsv, Increase::Internal::AnyHash)
|
|
892
892
|
end
|
|
893
893
|
|
|
894
|
-
# Filter fees by their created date. The time range must not include any fees
|
|
895
|
-
#
|
|
894
|
+
# Filter fees by their created date. The time range must not include any fees on
|
|
895
|
+
# an open fee statement.
|
|
896
896
|
sig { returns(T.nilable(Increase::Export::FeeCsv::CreatedAt)) }
|
|
897
897
|
attr_reader :created_at
|
|
898
898
|
|
|
@@ -911,8 +911,8 @@ module Increase
|
|
|
911
911
|
).returns(T.attached_class)
|
|
912
912
|
end
|
|
913
913
|
def self.new(
|
|
914
|
-
# Filter fees by their created date. The time range must not include any fees
|
|
915
|
-
#
|
|
914
|
+
# Filter fees by their created date. The time range must not include any fees on
|
|
915
|
+
# an open fee statement.
|
|
916
916
|
created_at:
|
|
917
917
|
)
|
|
918
918
|
end
|
|
@@ -950,8 +950,8 @@ module Increase
|
|
|
950
950
|
sig { returns(T.nilable(Time)) }
|
|
951
951
|
attr_accessor :on_or_before
|
|
952
952
|
|
|
953
|
-
# Filter fees by their created date. The time range must not include any fees
|
|
954
|
-
#
|
|
953
|
+
# Filter fees by their created date. The time range must not include any fees on
|
|
954
|
+
# an open fee statement.
|
|
955
955
|
sig do
|
|
956
956
|
params(
|
|
957
957
|
after: T.nilable(Time),
|
|
@@ -61,7 +61,7 @@ module Increase
|
|
|
61
61
|
sig { params(shipment: Increase::PhysicalCard::Shipment::OrHash).void }
|
|
62
62
|
attr_writer :shipment
|
|
63
63
|
|
|
64
|
-
# The status of the Physical Card.
|
|
64
|
+
# The status of the Physical Card. The initial status is `disabled`.
|
|
65
65
|
sig { returns(Increase::PhysicalCard::Status::TaggedSymbol) }
|
|
66
66
|
attr_accessor :status
|
|
67
67
|
|
|
@@ -74,7 +74,8 @@ module Increase
|
|
|
74
74
|
# configurable by a connected [Card Profile](/documentation/api#card-profiles).
|
|
75
75
|
# The same Card can be used for multiple Physical Cards. Printing cards incurs a
|
|
76
76
|
# fee. Please contact [support@increase.com](mailto:support@increase.com) for
|
|
77
|
-
# pricing!
|
|
77
|
+
# pricing! For more information, see our guide on
|
|
78
|
+
# [physical card artwork](https://increase.com/documentation/card-art-physical-cards#carrier-image).
|
|
78
79
|
sig do
|
|
79
80
|
params(
|
|
80
81
|
id: String,
|
|
@@ -117,7 +118,7 @@ module Increase
|
|
|
117
118
|
physical_card_profile_id:,
|
|
118
119
|
# The details used to ship this physical card.
|
|
119
120
|
shipment:,
|
|
120
|
-
# The status of the Physical Card.
|
|
121
|
+
# The status of the Physical Card. The initial status is `disabled`.
|
|
121
122
|
status:,
|
|
122
123
|
# A constant representing the object's type. For this resource it will always be
|
|
123
124
|
# `physical_card`.
|
|
@@ -761,7 +762,7 @@ module Increase
|
|
|
761
762
|
end
|
|
762
763
|
end
|
|
763
764
|
|
|
764
|
-
# The status of the Physical Card.
|
|
765
|
+
# The status of the Physical Card. The initial status is `disabled`.
|
|
765
766
|
module Status
|
|
766
767
|
extend Increase::Internal::Type::Enum
|
|
767
768
|
|
|
@@ -155,6 +155,13 @@ module Increase
|
|
|
155
155
|
Increase::Models::Simulations::DigitalWalletTokenRequestCreateResponse::DeclineReason::TaggedSymbol
|
|
156
156
|
)
|
|
157
157
|
|
|
158
|
+
# The given expiration date did not match the card's value.
|
|
159
|
+
CARD_EXPIRATION_MISMATCH =
|
|
160
|
+
T.let(
|
|
161
|
+
:card_expiration_mismatch,
|
|
162
|
+
Increase::Models::Simulations::DigitalWalletTokenRequestCreateResponse::DeclineReason::TaggedSymbol
|
|
163
|
+
)
|
|
164
|
+
|
|
158
165
|
sig do
|
|
159
166
|
override.returns(
|
|
160
167
|
T::Array[
|
|
@@ -19,7 +19,7 @@ module Increase
|
|
|
19
19
|
sig { returns(String) }
|
|
20
20
|
attr_accessor :name
|
|
21
21
|
|
|
22
|
-
# The bank for the program's accounts, defaults to
|
|
22
|
+
# The bank for the program's accounts, defaults to Increase Bank.
|
|
23
23
|
sig do
|
|
24
24
|
returns(
|
|
25
25
|
T.nilable(
|
|
@@ -71,7 +71,7 @@ module Increase
|
|
|
71
71
|
def self.new(
|
|
72
72
|
# The name of the program being added.
|
|
73
73
|
name:,
|
|
74
|
-
# The bank for the program's accounts, defaults to
|
|
74
|
+
# The bank for the program's accounts, defaults to Increase Bank.
|
|
75
75
|
bank: nil,
|
|
76
76
|
# The maximum extendable credit of the program being added.
|
|
77
77
|
lending_maximum_extendable_credit: nil,
|
|
@@ -99,7 +99,7 @@ module Increase
|
|
|
99
99
|
def to_hash
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
-
# The bank for the program's accounts, defaults to
|
|
102
|
+
# The bank for the program's accounts, defaults to Increase Bank.
|
|
103
103
|
module Bank
|
|
104
104
|
extend Increase::Internal::Type::Enum
|
|
105
105
|
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
module Increase
|
|
4
4
|
module Resources
|
|
5
5
|
class PhysicalCards
|
|
6
|
-
#
|
|
6
|
+
# Physical Cards start in the status `disabled`. Activate the card once it arrives
|
|
7
|
+
# at the destination and the recipient confirms receipt.
|
|
7
8
|
sig do
|
|
8
9
|
params(
|
|
9
10
|
card_id: String,
|
|
@@ -21,7 +21,7 @@ module Increase
|
|
|
21
21
|
def create(
|
|
22
22
|
# The name of the program being added.
|
|
23
23
|
name:,
|
|
24
|
-
# The bank for the program's accounts, defaults to
|
|
24
|
+
# The bank for the program's accounts, defaults to Increase Bank.
|
|
25
25
|
bank: nil,
|
|
26
26
|
# The maximum extendable credit of the program being added.
|
|
27
27
|
lending_maximum_extendable_credit: nil,
|
|
@@ -715,6 +715,7 @@ module Increase
|
|
|
715
715
|
| :DZD
|
|
716
716
|
| :USD
|
|
717
717
|
| :AOA
|
|
718
|
+
| :XCD
|
|
718
719
|
| :ARS
|
|
719
720
|
| :AMD
|
|
720
721
|
| :AWG
|
|
@@ -726,6 +727,7 @@ module Increase
|
|
|
726
727
|
| :BBD
|
|
727
728
|
| :BYN
|
|
728
729
|
| :BZD
|
|
730
|
+
| :XOF
|
|
729
731
|
| :BMD
|
|
730
732
|
| :INR
|
|
731
733
|
| :BTN
|
|
@@ -736,10 +738,10 @@ module Increase
|
|
|
736
738
|
| :NOK
|
|
737
739
|
| :BRL
|
|
738
740
|
| :BND
|
|
739
|
-
| :BGN
|
|
740
741
|
| :BIF
|
|
741
742
|
| :CVE
|
|
742
743
|
| :KHR
|
|
744
|
+
| :XAF
|
|
743
745
|
| :CAD
|
|
744
746
|
| :KYD
|
|
745
747
|
| :CLP
|
|
@@ -752,6 +754,7 @@ module Increase
|
|
|
752
754
|
| :NZD
|
|
753
755
|
| :CRC
|
|
754
756
|
| :CUP
|
|
757
|
+
| :XCG
|
|
755
758
|
| :CZK
|
|
756
759
|
| :DKK
|
|
757
760
|
| :DJF
|
|
@@ -763,6 +766,7 @@ module Increase
|
|
|
763
766
|
| :ETB
|
|
764
767
|
| :FKP
|
|
765
768
|
| :FJD
|
|
769
|
+
| :XPF
|
|
766
770
|
| :GMD
|
|
767
771
|
| :GEL
|
|
768
772
|
| :GHS
|
|
@@ -869,6 +873,7 @@ module Increase
|
|
|
869
873
|
| :YER
|
|
870
874
|
| :ZMW
|
|
871
875
|
| :ZWG
|
|
876
|
+
| :BGN
|
|
872
877
|
|
|
873
878
|
module Currency
|
|
874
879
|
extend Increase::Internal::Type::Enum
|
|
@@ -891,6 +896,9 @@ module Increase
|
|
|
891
896
|
# AOA
|
|
892
897
|
AOA: :AOA
|
|
893
898
|
|
|
899
|
+
# XCD
|
|
900
|
+
XCD: :XCD
|
|
901
|
+
|
|
894
902
|
# ARS
|
|
895
903
|
ARS: :ARS
|
|
896
904
|
|
|
@@ -924,6 +932,9 @@ module Increase
|
|
|
924
932
|
# BZD
|
|
925
933
|
BZD: :BZD
|
|
926
934
|
|
|
935
|
+
# XOF
|
|
936
|
+
XOF: :XOF
|
|
937
|
+
|
|
927
938
|
# BMD
|
|
928
939
|
BMD: :BMD
|
|
929
940
|
|
|
@@ -954,9 +965,6 @@ module Increase
|
|
|
954
965
|
# BND
|
|
955
966
|
BND: :BND
|
|
956
967
|
|
|
957
|
-
# BGN
|
|
958
|
-
BGN: :BGN
|
|
959
|
-
|
|
960
968
|
# BIF
|
|
961
969
|
BIF: :BIF
|
|
962
970
|
|
|
@@ -966,6 +974,9 @@ module Increase
|
|
|
966
974
|
# KHR
|
|
967
975
|
KHR: :KHR
|
|
968
976
|
|
|
977
|
+
# XAF
|
|
978
|
+
XAF: :XAF
|
|
979
|
+
|
|
969
980
|
# CAD
|
|
970
981
|
CAD: :CAD
|
|
971
982
|
|
|
@@ -1002,6 +1013,9 @@ module Increase
|
|
|
1002
1013
|
# CUP
|
|
1003
1014
|
CUP: :CUP
|
|
1004
1015
|
|
|
1016
|
+
# XCG
|
|
1017
|
+
XCG: :XCG
|
|
1018
|
+
|
|
1005
1019
|
# CZK
|
|
1006
1020
|
CZK: :CZK
|
|
1007
1021
|
|
|
@@ -1035,6 +1049,9 @@ module Increase
|
|
|
1035
1049
|
# FJD
|
|
1036
1050
|
FJD: :FJD
|
|
1037
1051
|
|
|
1052
|
+
# XPF
|
|
1053
|
+
XPF: :XPF
|
|
1054
|
+
|
|
1038
1055
|
# GMD
|
|
1039
1056
|
GMD: :GMD
|
|
1040
1057
|
|
|
@@ -1353,6 +1370,9 @@ module Increase
|
|
|
1353
1370
|
# ZWG
|
|
1354
1371
|
ZWG: :ZWG
|
|
1355
1372
|
|
|
1373
|
+
# BGN
|
|
1374
|
+
BGN: :BGN
|
|
1375
|
+
|
|
1356
1376
|
def self?.values: -> ::Array[Increase::Models::CardPushTransfer::PresentmentAmount::currency]
|
|
1357
1377
|
end
|
|
1358
1378
|
end
|