increase 1.222.0 → 1.224.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/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/increase/models/card_payment.rb +106 -17
- data/lib/increase/models/entity.rb +3 -0
- data/lib/increase/models/entity_create_params.rb +3 -0
- data/lib/increase/models/entity_update_params.rb +3 -0
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card_payment.rbi +231 -39
- data/rbi/increase/models/entity.rbi +7 -0
- data/rbi/increase/models/entity_create_params.rbi +7 -0
- data/rbi/increase/models/entity_update_params.rbi +7 -0
- data/sig/increase/models/card_payment.rbs +87 -14
- data/sig/increase/models/entity.rbs +4 -1
- data/sig/increase/models/entity_create_params.rbs +4 -1
- data/sig/increase/models/entity_update_params.rbs +4 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6f1a6735b97044832450b0cf2a1a6c5158673110a98db2acead316bf7e7c223e
|
|
4
|
+
data.tar.gz: b24455b87582063e8669c3668a403345058722f04ab2573faf41750161b01514
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8fd86a1b8f3664877b952149fe6013fb538326b68cc9c19723bf2d9e328f9dda4f8c547d1b63e4633337f76e5fa2ba39f26289e93c353e093e90334290c671af
|
|
7
|
+
data.tar.gz: 0564b425e718367df48c55027f4ba6f2a30fc7d7bc400b5d4d97d914e38c14d194bcd6cd32bef2f32e4d1fe72fc062435f82dbf19988e832cab3fdea0a208356
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.224.0 (2026-03-03)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.223.0...v1.224.0](https://github.com/Increase/increase-ruby/compare/v1.223.0...v1.224.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([ee63ebd](https://github.com/Increase/increase-ruby/commit/ee63ebd311ef9797f1c3531c1f5b8d6dc959ff7a))
|
|
10
|
+
|
|
11
|
+
## 1.223.0 (2026-03-03)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v1.222.0...v1.223.0](https://github.com/Increase/increase-ruby/compare/v1.222.0...v1.223.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([7c121a9](https://github.com/Increase/increase-ruby/commit/7c121a9ef6e556eb402d18dba06b6ebe44e07441))
|
|
18
|
+
|
|
3
19
|
## 1.222.0 (2026-03-03)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v1.221.0...v1.222.0](https://github.com/Increase/increase-ruby/compare/v1.221.0...v1.222.0)
|
data/README.md
CHANGED
|
@@ -429,10 +429,8 @@ module Increase
|
|
|
429
429
|
# @!attribute device_channel
|
|
430
430
|
# The device channel of the card authentication attempt.
|
|
431
431
|
#
|
|
432
|
-
# @return [
|
|
433
|
-
required :device_channel,
|
|
434
|
-
enum: -> { Increase::CardPayment::Element::CardAuthentication::DeviceChannel },
|
|
435
|
-
nil?: true
|
|
432
|
+
# @return [Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel]
|
|
433
|
+
required :device_channel, -> { Increase::CardPayment::Element::CardAuthentication::DeviceChannel }
|
|
436
434
|
|
|
437
435
|
# @!attribute merchant_acceptor_id
|
|
438
436
|
# The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
@@ -533,7 +531,7 @@ module Increase
|
|
|
533
531
|
#
|
|
534
532
|
# @param deny_reason [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::DenyReason, nil] The reason why this authentication attempt was denied, if it was.
|
|
535
533
|
#
|
|
536
|
-
# @param device_channel [
|
|
534
|
+
# @param device_channel [Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel] The device channel of the card authentication attempt.
|
|
537
535
|
#
|
|
538
536
|
# @param merchant_acceptor_id [String] The merchant identifier (commonly abbreviated as MID) of the merchant the card i
|
|
539
537
|
#
|
|
@@ -711,23 +709,114 @@ module Increase
|
|
|
711
709
|
# @return [Array<Symbol>]
|
|
712
710
|
end
|
|
713
711
|
|
|
714
|
-
# The device channel of the card authentication attempt.
|
|
715
|
-
#
|
|
716
712
|
# @see Increase::Models::CardPayment::Element::CardAuthentication#device_channel
|
|
717
|
-
|
|
718
|
-
|
|
713
|
+
class DeviceChannel < Increase::Internal::Type::BaseModel
|
|
714
|
+
# @!attribute browser
|
|
715
|
+
# Fields specific to the browser device channel.
|
|
716
|
+
#
|
|
717
|
+
# @return [Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::Browser, nil]
|
|
718
|
+
required :browser,
|
|
719
|
+
-> { Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser },
|
|
720
|
+
nil?: true
|
|
719
721
|
|
|
720
|
-
#
|
|
721
|
-
|
|
722
|
+
# @!attribute category
|
|
723
|
+
# The category of the device channel.
|
|
724
|
+
#
|
|
725
|
+
# @return [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::Category]
|
|
726
|
+
required :category,
|
|
727
|
+
enum: -> { Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Category }
|
|
722
728
|
|
|
723
|
-
#
|
|
724
|
-
|
|
729
|
+
# @!method initialize(browser:, category:)
|
|
730
|
+
# The device channel of the card authentication attempt.
|
|
731
|
+
#
|
|
732
|
+
# @param browser [Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::Browser, nil] Fields specific to the browser device channel.
|
|
733
|
+
#
|
|
734
|
+
# @param category [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::Category] The category of the device channel.
|
|
725
735
|
|
|
726
|
-
#
|
|
727
|
-
|
|
736
|
+
# @see Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel#browser
|
|
737
|
+
class Browser < Increase::Internal::Type::BaseModel
|
|
738
|
+
# @!attribute accept_header
|
|
739
|
+
# The accept header from the cardholder's browser.
|
|
740
|
+
#
|
|
741
|
+
# @return [String, nil]
|
|
742
|
+
required :accept_header, String, nil?: true
|
|
728
743
|
|
|
729
|
-
|
|
730
|
-
|
|
744
|
+
# @!attribute ip_address
|
|
745
|
+
# The IP address of the cardholder's browser.
|
|
746
|
+
#
|
|
747
|
+
# @return [String, nil]
|
|
748
|
+
required :ip_address, String, nil?: true
|
|
749
|
+
|
|
750
|
+
# @!attribute javascript_enabled
|
|
751
|
+
# Whether JavaScript is enabled in the cardholder's browser.
|
|
752
|
+
#
|
|
753
|
+
# @return [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::Browser::JavascriptEnabled, nil]
|
|
754
|
+
required :javascript_enabled,
|
|
755
|
+
enum: -> {
|
|
756
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser::JavascriptEnabled
|
|
757
|
+
},
|
|
758
|
+
nil?: true
|
|
759
|
+
|
|
760
|
+
# @!attribute language
|
|
761
|
+
# The language of the cardholder's browser.
|
|
762
|
+
#
|
|
763
|
+
# @return [String, nil]
|
|
764
|
+
required :language, String, nil?: true
|
|
765
|
+
|
|
766
|
+
# @!attribute user_agent
|
|
767
|
+
# The user agent of the cardholder's browser.
|
|
768
|
+
#
|
|
769
|
+
# @return [String, nil]
|
|
770
|
+
required :user_agent, String, nil?: true
|
|
771
|
+
|
|
772
|
+
# @!method initialize(accept_header:, ip_address:, javascript_enabled:, language:, user_agent:)
|
|
773
|
+
# Fields specific to the browser device channel.
|
|
774
|
+
#
|
|
775
|
+
# @param accept_header [String, nil] The accept header from the cardholder's browser.
|
|
776
|
+
#
|
|
777
|
+
# @param ip_address [String, nil] The IP address of the cardholder's browser.
|
|
778
|
+
#
|
|
779
|
+
# @param javascript_enabled [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::Browser::JavascriptEnabled, nil] Whether JavaScript is enabled in the cardholder's browser.
|
|
780
|
+
#
|
|
781
|
+
# @param language [String, nil] The language of the cardholder's browser.
|
|
782
|
+
#
|
|
783
|
+
# @param user_agent [String, nil] The user agent of the cardholder's browser.
|
|
784
|
+
|
|
785
|
+
# Whether JavaScript is enabled in the cardholder's browser.
|
|
786
|
+
#
|
|
787
|
+
# @see Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::Browser#javascript_enabled
|
|
788
|
+
module JavascriptEnabled
|
|
789
|
+
extend Increase::Internal::Type::Enum
|
|
790
|
+
|
|
791
|
+
# JavaScript is enabled in the cardholder's browser.
|
|
792
|
+
ENABLED = :enabled
|
|
793
|
+
|
|
794
|
+
# JavaScript is not enabled in the cardholder's browser.
|
|
795
|
+
DISABLED = :disabled
|
|
796
|
+
|
|
797
|
+
# @!method self.values
|
|
798
|
+
# @return [Array<Symbol>]
|
|
799
|
+
end
|
|
800
|
+
end
|
|
801
|
+
|
|
802
|
+
# The category of the device channel.
|
|
803
|
+
#
|
|
804
|
+
# @see Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel#category
|
|
805
|
+
module Category
|
|
806
|
+
extend Increase::Internal::Type::Enum
|
|
807
|
+
|
|
808
|
+
# The authentication attempt was made from an app.
|
|
809
|
+
APP = :app
|
|
810
|
+
|
|
811
|
+
# The authentication attempt was made from a browser.
|
|
812
|
+
BROWSER = :browser
|
|
813
|
+
|
|
814
|
+
# The authentication attempt was initiated by the 3DS Requestor.
|
|
815
|
+
THREE_DS_REQUESTOR_INITIATED = :three_ds_requestor_initiated
|
|
816
|
+
|
|
817
|
+
# @!method self.values
|
|
818
|
+
# @return [Array<Symbol>]
|
|
819
|
+
end
|
|
731
820
|
end
|
|
732
821
|
|
|
733
822
|
# The status of the card authentication.
|
|
@@ -1107,6 +1107,9 @@ module Increase
|
|
|
1107
1107
|
# Persona. See https://withpersona.com for more information.
|
|
1108
1108
|
PERSONA = :persona
|
|
1109
1109
|
|
|
1110
|
+
# Taktile. See https://taktile.com for more information.
|
|
1111
|
+
TAKTILE = :taktile
|
|
1112
|
+
|
|
1110
1113
|
# @!method self.values
|
|
1111
1114
|
# @return [Array<Symbol>]
|
|
1112
1115
|
end
|
|
@@ -1594,6 +1594,9 @@ module Increase
|
|
|
1594
1594
|
# Persona. See https://withpersona.com for more information.
|
|
1595
1595
|
PERSONA = :persona
|
|
1596
1596
|
|
|
1597
|
+
# Taktile. See https://taktile.com for more information.
|
|
1598
|
+
TAKTILE = :taktile
|
|
1599
|
+
|
|
1597
1600
|
# @!method self.values
|
|
1598
1601
|
# @return [Array<Symbol>]
|
|
1599
1602
|
end
|
|
@@ -432,6 +432,9 @@ module Increase
|
|
|
432
432
|
# Persona. See https://withpersona.com for more information.
|
|
433
433
|
PERSONA = :persona
|
|
434
434
|
|
|
435
|
+
# Taktile. See https://taktile.com for more information.
|
|
436
|
+
TAKTILE = :taktile
|
|
437
|
+
|
|
435
438
|
# @!method self.values
|
|
436
439
|
# @return [Array<Symbol>]
|
|
437
440
|
end
|
data/lib/increase/version.rb
CHANGED
|
@@ -725,12 +725,18 @@ module Increase
|
|
|
725
725
|
# The device channel of the card authentication attempt.
|
|
726
726
|
sig do
|
|
727
727
|
returns(
|
|
728
|
-
|
|
729
|
-
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::TaggedSymbol
|
|
730
|
-
)
|
|
728
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel
|
|
731
729
|
)
|
|
732
730
|
end
|
|
733
|
-
|
|
731
|
+
attr_reader :device_channel
|
|
732
|
+
|
|
733
|
+
sig do
|
|
734
|
+
params(
|
|
735
|
+
device_channel:
|
|
736
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::OrHash
|
|
737
|
+
).void
|
|
738
|
+
end
|
|
739
|
+
attr_writer :device_channel
|
|
734
740
|
|
|
735
741
|
# The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
736
742
|
# is transacting with.
|
|
@@ -812,9 +818,7 @@ module Increase
|
|
|
812
818
|
Increase::CardPayment::Element::CardAuthentication::DenyReason::OrSymbol
|
|
813
819
|
),
|
|
814
820
|
device_channel:
|
|
815
|
-
|
|
816
|
-
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::OrSymbol
|
|
817
|
-
),
|
|
821
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::OrHash,
|
|
818
822
|
merchant_acceptor_id: String,
|
|
819
823
|
merchant_category_code: String,
|
|
820
824
|
merchant_country: String,
|
|
@@ -926,9 +930,7 @@ module Increase
|
|
|
926
930
|
Increase::CardPayment::Element::CardAuthentication::DenyReason::TaggedSymbol
|
|
927
931
|
),
|
|
928
932
|
device_channel:
|
|
929
|
-
|
|
930
|
-
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::TaggedSymbol
|
|
931
|
-
),
|
|
933
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel,
|
|
932
934
|
merchant_acceptor_id: String,
|
|
933
935
|
merchant_category_code: String,
|
|
934
936
|
merchant_country: String,
|
|
@@ -1274,48 +1276,238 @@ module Increase
|
|
|
1274
1276
|
end
|
|
1275
1277
|
end
|
|
1276
1278
|
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
extend Increase::Internal::Type::Enum
|
|
1280
|
-
|
|
1281
|
-
TaggedSymbol =
|
|
1279
|
+
class DeviceChannel < Increase::Internal::Type::BaseModel
|
|
1280
|
+
OrHash =
|
|
1282
1281
|
T.type_alias do
|
|
1283
|
-
T.
|
|
1284
|
-
|
|
1285
|
-
Increase::
|
|
1282
|
+
T.any(
|
|
1283
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel,
|
|
1284
|
+
Increase::Internal::AnyHash
|
|
1286
1285
|
)
|
|
1287
1286
|
end
|
|
1288
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
1289
1287
|
|
|
1290
|
-
#
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1288
|
+
# Fields specific to the browser device channel.
|
|
1289
|
+
sig do
|
|
1290
|
+
returns(
|
|
1291
|
+
T.nilable(
|
|
1292
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser
|
|
1293
|
+
)
|
|
1295
1294
|
)
|
|
1295
|
+
end
|
|
1296
|
+
attr_reader :browser
|
|
1296
1297
|
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1298
|
+
sig do
|
|
1299
|
+
params(
|
|
1300
|
+
browser:
|
|
1301
|
+
T.nilable(
|
|
1302
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser::OrHash
|
|
1303
|
+
)
|
|
1304
|
+
).void
|
|
1305
|
+
end
|
|
1306
|
+
attr_writer :browser
|
|
1303
1307
|
|
|
1304
|
-
# The
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::TaggedSymbol
|
|
1308
|
+
# The category of the device channel.
|
|
1309
|
+
sig do
|
|
1310
|
+
returns(
|
|
1311
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Category::TaggedSymbol
|
|
1309
1312
|
)
|
|
1313
|
+
end
|
|
1314
|
+
attr_accessor :category
|
|
1315
|
+
|
|
1316
|
+
# The device channel of the card authentication attempt.
|
|
1317
|
+
sig do
|
|
1318
|
+
params(
|
|
1319
|
+
browser:
|
|
1320
|
+
T.nilable(
|
|
1321
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser::OrHash
|
|
1322
|
+
),
|
|
1323
|
+
category:
|
|
1324
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Category::OrSymbol
|
|
1325
|
+
).returns(T.attached_class)
|
|
1326
|
+
end
|
|
1327
|
+
def self.new(
|
|
1328
|
+
# Fields specific to the browser device channel.
|
|
1329
|
+
browser:,
|
|
1330
|
+
# The category of the device channel.
|
|
1331
|
+
category:
|
|
1332
|
+
)
|
|
1333
|
+
end
|
|
1310
1334
|
|
|
1311
1335
|
sig do
|
|
1312
1336
|
override.returns(
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1337
|
+
{
|
|
1338
|
+
browser:
|
|
1339
|
+
T.nilable(
|
|
1340
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser
|
|
1341
|
+
),
|
|
1342
|
+
category:
|
|
1343
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Category::TaggedSymbol
|
|
1344
|
+
}
|
|
1316
1345
|
)
|
|
1317
1346
|
end
|
|
1318
|
-
def
|
|
1347
|
+
def to_hash
|
|
1348
|
+
end
|
|
1349
|
+
|
|
1350
|
+
class Browser < Increase::Internal::Type::BaseModel
|
|
1351
|
+
OrHash =
|
|
1352
|
+
T.type_alias do
|
|
1353
|
+
T.any(
|
|
1354
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser,
|
|
1355
|
+
Increase::Internal::AnyHash
|
|
1356
|
+
)
|
|
1357
|
+
end
|
|
1358
|
+
|
|
1359
|
+
# The accept header from the cardholder's browser.
|
|
1360
|
+
sig { returns(T.nilable(String)) }
|
|
1361
|
+
attr_accessor :accept_header
|
|
1362
|
+
|
|
1363
|
+
# The IP address of the cardholder's browser.
|
|
1364
|
+
sig { returns(T.nilable(String)) }
|
|
1365
|
+
attr_accessor :ip_address
|
|
1366
|
+
|
|
1367
|
+
# Whether JavaScript is enabled in the cardholder's browser.
|
|
1368
|
+
sig do
|
|
1369
|
+
returns(
|
|
1370
|
+
T.nilable(
|
|
1371
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser::JavascriptEnabled::TaggedSymbol
|
|
1372
|
+
)
|
|
1373
|
+
)
|
|
1374
|
+
end
|
|
1375
|
+
attr_accessor :javascript_enabled
|
|
1376
|
+
|
|
1377
|
+
# The language of the cardholder's browser.
|
|
1378
|
+
sig { returns(T.nilable(String)) }
|
|
1379
|
+
attr_accessor :language
|
|
1380
|
+
|
|
1381
|
+
# The user agent of the cardholder's browser.
|
|
1382
|
+
sig { returns(T.nilable(String)) }
|
|
1383
|
+
attr_accessor :user_agent
|
|
1384
|
+
|
|
1385
|
+
# Fields specific to the browser device channel.
|
|
1386
|
+
sig do
|
|
1387
|
+
params(
|
|
1388
|
+
accept_header: T.nilable(String),
|
|
1389
|
+
ip_address: T.nilable(String),
|
|
1390
|
+
javascript_enabled:
|
|
1391
|
+
T.nilable(
|
|
1392
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser::JavascriptEnabled::OrSymbol
|
|
1393
|
+
),
|
|
1394
|
+
language: T.nilable(String),
|
|
1395
|
+
user_agent: T.nilable(String)
|
|
1396
|
+
).returns(T.attached_class)
|
|
1397
|
+
end
|
|
1398
|
+
def self.new(
|
|
1399
|
+
# The accept header from the cardholder's browser.
|
|
1400
|
+
accept_header:,
|
|
1401
|
+
# The IP address of the cardholder's browser.
|
|
1402
|
+
ip_address:,
|
|
1403
|
+
# Whether JavaScript is enabled in the cardholder's browser.
|
|
1404
|
+
javascript_enabled:,
|
|
1405
|
+
# The language of the cardholder's browser.
|
|
1406
|
+
language:,
|
|
1407
|
+
# The user agent of the cardholder's browser.
|
|
1408
|
+
user_agent:
|
|
1409
|
+
)
|
|
1410
|
+
end
|
|
1411
|
+
|
|
1412
|
+
sig do
|
|
1413
|
+
override.returns(
|
|
1414
|
+
{
|
|
1415
|
+
accept_header: T.nilable(String),
|
|
1416
|
+
ip_address: T.nilable(String),
|
|
1417
|
+
javascript_enabled:
|
|
1418
|
+
T.nilable(
|
|
1419
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser::JavascriptEnabled::TaggedSymbol
|
|
1420
|
+
),
|
|
1421
|
+
language: T.nilable(String),
|
|
1422
|
+
user_agent: T.nilable(String)
|
|
1423
|
+
}
|
|
1424
|
+
)
|
|
1425
|
+
end
|
|
1426
|
+
def to_hash
|
|
1427
|
+
end
|
|
1428
|
+
|
|
1429
|
+
# Whether JavaScript is enabled in the cardholder's browser.
|
|
1430
|
+
module JavascriptEnabled
|
|
1431
|
+
extend Increase::Internal::Type::Enum
|
|
1432
|
+
|
|
1433
|
+
TaggedSymbol =
|
|
1434
|
+
T.type_alias do
|
|
1435
|
+
T.all(
|
|
1436
|
+
Symbol,
|
|
1437
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser::JavascriptEnabled
|
|
1438
|
+
)
|
|
1439
|
+
end
|
|
1440
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
1441
|
+
|
|
1442
|
+
# JavaScript is enabled in the cardholder's browser.
|
|
1443
|
+
ENABLED =
|
|
1444
|
+
T.let(
|
|
1445
|
+
:enabled,
|
|
1446
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser::JavascriptEnabled::TaggedSymbol
|
|
1447
|
+
)
|
|
1448
|
+
|
|
1449
|
+
# JavaScript is not enabled in the cardholder's browser.
|
|
1450
|
+
DISABLED =
|
|
1451
|
+
T.let(
|
|
1452
|
+
:disabled,
|
|
1453
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser::JavascriptEnabled::TaggedSymbol
|
|
1454
|
+
)
|
|
1455
|
+
|
|
1456
|
+
sig do
|
|
1457
|
+
override.returns(
|
|
1458
|
+
T::Array[
|
|
1459
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser::JavascriptEnabled::TaggedSymbol
|
|
1460
|
+
]
|
|
1461
|
+
)
|
|
1462
|
+
end
|
|
1463
|
+
def self.values
|
|
1464
|
+
end
|
|
1465
|
+
end
|
|
1466
|
+
end
|
|
1467
|
+
|
|
1468
|
+
# The category of the device channel.
|
|
1469
|
+
module Category
|
|
1470
|
+
extend Increase::Internal::Type::Enum
|
|
1471
|
+
|
|
1472
|
+
TaggedSymbol =
|
|
1473
|
+
T.type_alias do
|
|
1474
|
+
T.all(
|
|
1475
|
+
Symbol,
|
|
1476
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Category
|
|
1477
|
+
)
|
|
1478
|
+
end
|
|
1479
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
1480
|
+
|
|
1481
|
+
# The authentication attempt was made from an app.
|
|
1482
|
+
APP =
|
|
1483
|
+
T.let(
|
|
1484
|
+
:app,
|
|
1485
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Category::TaggedSymbol
|
|
1486
|
+
)
|
|
1487
|
+
|
|
1488
|
+
# The authentication attempt was made from a browser.
|
|
1489
|
+
BROWSER =
|
|
1490
|
+
T.let(
|
|
1491
|
+
:browser,
|
|
1492
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Category::TaggedSymbol
|
|
1493
|
+
)
|
|
1494
|
+
|
|
1495
|
+
# The authentication attempt was initiated by the 3DS Requestor.
|
|
1496
|
+
THREE_DS_REQUESTOR_INITIATED =
|
|
1497
|
+
T.let(
|
|
1498
|
+
:three_ds_requestor_initiated,
|
|
1499
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Category::TaggedSymbol
|
|
1500
|
+
)
|
|
1501
|
+
|
|
1502
|
+
sig do
|
|
1503
|
+
override.returns(
|
|
1504
|
+
T::Array[
|
|
1505
|
+
Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Category::TaggedSymbol
|
|
1506
|
+
]
|
|
1507
|
+
)
|
|
1508
|
+
end
|
|
1509
|
+
def self.values
|
|
1510
|
+
end
|
|
1319
1511
|
end
|
|
1320
1512
|
end
|
|
1321
1513
|
|
|
@@ -1872,6 +1872,13 @@ module Increase
|
|
|
1872
1872
|
Increase::Entity::ThirdPartyVerification::Vendor::TaggedSymbol
|
|
1873
1873
|
)
|
|
1874
1874
|
|
|
1875
|
+
# Taktile. See https://taktile.com for more information.
|
|
1876
|
+
TAKTILE =
|
|
1877
|
+
T.let(
|
|
1878
|
+
:taktile,
|
|
1879
|
+
Increase::Entity::ThirdPartyVerification::Vendor::TaggedSymbol
|
|
1880
|
+
)
|
|
1881
|
+
|
|
1875
1882
|
sig do
|
|
1876
1883
|
override.returns(
|
|
1877
1884
|
T::Array[
|
|
@@ -2948,6 +2948,13 @@ module Increase
|
|
|
2948
2948
|
Increase::EntityCreateParams::ThirdPartyVerification::Vendor::TaggedSymbol
|
|
2949
2949
|
)
|
|
2950
2950
|
|
|
2951
|
+
# Taktile. See https://taktile.com for more information.
|
|
2952
|
+
TAKTILE =
|
|
2953
|
+
T.let(
|
|
2954
|
+
:taktile,
|
|
2955
|
+
Increase::EntityCreateParams::ThirdPartyVerification::Vendor::TaggedSymbol
|
|
2956
|
+
)
|
|
2957
|
+
|
|
2951
2958
|
sig do
|
|
2952
2959
|
override.returns(
|
|
2953
2960
|
T::Array[
|
|
@@ -803,6 +803,13 @@ module Increase
|
|
|
803
803
|
Increase::EntityUpdateParams::ThirdPartyVerification::Vendor::TaggedSymbol
|
|
804
804
|
)
|
|
805
805
|
|
|
806
|
+
# Taktile. See https://taktile.com for more information.
|
|
807
|
+
TAKTILE =
|
|
808
|
+
T.let(
|
|
809
|
+
:taktile,
|
|
810
|
+
Increase::EntityUpdateParams::ThirdPartyVerification::Vendor::TaggedSymbol
|
|
811
|
+
)
|
|
812
|
+
|
|
806
813
|
sig do
|
|
807
814
|
override.returns(
|
|
808
815
|
T::Array[
|
|
@@ -225,7 +225,7 @@ module Increase
|
|
|
225
225
|
challenge: Increase::CardPayment::Element::CardAuthentication::Challenge?,
|
|
226
226
|
created_at: Time,
|
|
227
227
|
deny_reason: Increase::Models::CardPayment::Element::CardAuthentication::deny_reason?,
|
|
228
|
-
device_channel: Increase::
|
|
228
|
+
device_channel: Increase::CardPayment::Element::CardAuthentication::DeviceChannel,
|
|
229
229
|
merchant_acceptor_id: String,
|
|
230
230
|
merchant_category_code: String,
|
|
231
231
|
merchant_country: String,
|
|
@@ -270,7 +270,7 @@ module Increase
|
|
|
270
270
|
|
|
271
271
|
attr_accessor deny_reason: Increase::Models::CardPayment::Element::CardAuthentication::deny_reason?
|
|
272
272
|
|
|
273
|
-
attr_accessor device_channel: Increase::
|
|
273
|
+
attr_accessor device_channel: Increase::CardPayment::Element::CardAuthentication::DeviceChannel
|
|
274
274
|
|
|
275
275
|
attr_accessor merchant_acceptor_id: String
|
|
276
276
|
|
|
@@ -307,7 +307,7 @@ module Increase
|
|
|
307
307
|
challenge: Increase::CardPayment::Element::CardAuthentication::Challenge?,
|
|
308
308
|
created_at: Time,
|
|
309
309
|
deny_reason: Increase::Models::CardPayment::Element::CardAuthentication::deny_reason?,
|
|
310
|
-
device_channel: Increase::
|
|
310
|
+
device_channel: Increase::CardPayment::Element::CardAuthentication::DeviceChannel,
|
|
311
311
|
merchant_acceptor_id: String,
|
|
312
312
|
merchant_category_code: String,
|
|
313
313
|
merchant_country: String,
|
|
@@ -336,7 +336,7 @@ module Increase
|
|
|
336
336
|
challenge: Increase::CardPayment::Element::CardAuthentication::Challenge?,
|
|
337
337
|
created_at: Time,
|
|
338
338
|
deny_reason: Increase::Models::CardPayment::Element::CardAuthentication::deny_reason?,
|
|
339
|
-
device_channel: Increase::
|
|
339
|
+
device_channel: Increase::CardPayment::Element::CardAuthentication::DeviceChannel,
|
|
340
340
|
merchant_acceptor_id: String,
|
|
341
341
|
merchant_category_code: String,
|
|
342
342
|
merchant_country: String,
|
|
@@ -484,21 +484,94 @@ module Increase
|
|
|
484
484
|
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthentication::deny_reason]
|
|
485
485
|
end
|
|
486
486
|
|
|
487
|
-
type device_channel =
|
|
487
|
+
type device_channel =
|
|
488
|
+
{
|
|
489
|
+
browser: Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser?,
|
|
490
|
+
category: Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::category
|
|
491
|
+
}
|
|
488
492
|
|
|
489
|
-
|
|
490
|
-
|
|
493
|
+
class DeviceChannel < Increase::Internal::Type::BaseModel
|
|
494
|
+
attr_accessor browser: Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser?
|
|
491
495
|
|
|
492
|
-
|
|
493
|
-
|
|
496
|
+
attr_accessor category: Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::category
|
|
497
|
+
|
|
498
|
+
def initialize: (
|
|
499
|
+
browser: Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser?,
|
|
500
|
+
category: Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::category
|
|
501
|
+
) -> void
|
|
494
502
|
|
|
495
|
-
|
|
496
|
-
|
|
503
|
+
def to_hash: -> {
|
|
504
|
+
browser: Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser?,
|
|
505
|
+
category: Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::category
|
|
506
|
+
}
|
|
497
507
|
|
|
498
|
-
|
|
499
|
-
|
|
508
|
+
type browser =
|
|
509
|
+
{
|
|
510
|
+
accept_header: String?,
|
|
511
|
+
ip_address: String?,
|
|
512
|
+
javascript_enabled: Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::Browser::javascript_enabled?,
|
|
513
|
+
language: String?,
|
|
514
|
+
user_agent: String?
|
|
515
|
+
}
|
|
500
516
|
|
|
501
|
-
|
|
517
|
+
class Browser < Increase::Internal::Type::BaseModel
|
|
518
|
+
attr_accessor accept_header: String?
|
|
519
|
+
|
|
520
|
+
attr_accessor ip_address: String?
|
|
521
|
+
|
|
522
|
+
attr_accessor javascript_enabled: Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::Browser::javascript_enabled?
|
|
523
|
+
|
|
524
|
+
attr_accessor language: String?
|
|
525
|
+
|
|
526
|
+
attr_accessor user_agent: String?
|
|
527
|
+
|
|
528
|
+
def initialize: (
|
|
529
|
+
accept_header: String?,
|
|
530
|
+
ip_address: String?,
|
|
531
|
+
javascript_enabled: Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::Browser::javascript_enabled?,
|
|
532
|
+
language: String?,
|
|
533
|
+
user_agent: String?
|
|
534
|
+
) -> void
|
|
535
|
+
|
|
536
|
+
def to_hash: -> {
|
|
537
|
+
accept_header: String?,
|
|
538
|
+
ip_address: String?,
|
|
539
|
+
javascript_enabled: Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::Browser::javascript_enabled?,
|
|
540
|
+
language: String?,
|
|
541
|
+
user_agent: String?
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
type javascript_enabled = :enabled | :disabled
|
|
545
|
+
|
|
546
|
+
module JavascriptEnabled
|
|
547
|
+
extend Increase::Internal::Type::Enum
|
|
548
|
+
|
|
549
|
+
# JavaScript is enabled in the cardholder's browser.
|
|
550
|
+
ENABLED: :enabled
|
|
551
|
+
|
|
552
|
+
# JavaScript is not enabled in the cardholder's browser.
|
|
553
|
+
DISABLED: :disabled
|
|
554
|
+
|
|
555
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::Browser::javascript_enabled]
|
|
556
|
+
end
|
|
557
|
+
end
|
|
558
|
+
|
|
559
|
+
type category = :app | :browser | :three_ds_requestor_initiated
|
|
560
|
+
|
|
561
|
+
module Category
|
|
562
|
+
extend Increase::Internal::Type::Enum
|
|
563
|
+
|
|
564
|
+
# The authentication attempt was made from an app.
|
|
565
|
+
APP: :app
|
|
566
|
+
|
|
567
|
+
# The authentication attempt was made from a browser.
|
|
568
|
+
BROWSER: :browser
|
|
569
|
+
|
|
570
|
+
# The authentication attempt was initiated by the 3DS Requestor.
|
|
571
|
+
THREE_DS_REQUESTOR_INITIATED: :three_ds_requestor_initiated
|
|
572
|
+
|
|
573
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::category]
|
|
574
|
+
end
|
|
502
575
|
end
|
|
503
576
|
|
|
504
577
|
type status =
|
|
@@ -848,7 +848,7 @@ module Increase
|
|
|
848
848
|
vendor: Increase::Models::Entity::ThirdPartyVerification::vendor
|
|
849
849
|
}
|
|
850
850
|
|
|
851
|
-
type vendor = :alloy | :middesk | :oscilar | :persona
|
|
851
|
+
type vendor = :alloy | :middesk | :oscilar | :persona | :taktile
|
|
852
852
|
|
|
853
853
|
module Vendor
|
|
854
854
|
extend Increase::Internal::Type::Enum
|
|
@@ -865,6 +865,9 @@ module Increase
|
|
|
865
865
|
# Persona. See https://withpersona.com for more information.
|
|
866
866
|
PERSONA: :persona
|
|
867
867
|
|
|
868
|
+
# Taktile. See https://taktile.com for more information.
|
|
869
|
+
TAKTILE: :taktile
|
|
870
|
+
|
|
868
871
|
def self?.values: -> ::Array[Increase::Models::Entity::ThirdPartyVerification::vendor]
|
|
869
872
|
end
|
|
870
873
|
end
|
|
@@ -1301,7 +1301,7 @@ module Increase
|
|
|
1301
1301
|
vendor: Increase::Models::EntityCreateParams::ThirdPartyVerification::vendor
|
|
1302
1302
|
}
|
|
1303
1303
|
|
|
1304
|
-
type vendor = :alloy | :middesk | :oscilar | :persona
|
|
1304
|
+
type vendor = :alloy | :middesk | :oscilar | :persona | :taktile
|
|
1305
1305
|
|
|
1306
1306
|
module Vendor
|
|
1307
1307
|
extend Increase::Internal::Type::Enum
|
|
@@ -1318,6 +1318,9 @@ module Increase
|
|
|
1318
1318
|
# Persona. See https://withpersona.com for more information.
|
|
1319
1319
|
PERSONA: :persona
|
|
1320
1320
|
|
|
1321
|
+
# Taktile. See https://taktile.com for more information.
|
|
1322
|
+
TAKTILE: :taktile
|
|
1323
|
+
|
|
1321
1324
|
def self?.values: -> ::Array[Increase::Models::EntityCreateParams::ThirdPartyVerification::vendor]
|
|
1322
1325
|
end
|
|
1323
1326
|
end
|
|
@@ -367,7 +367,7 @@ module Increase
|
|
|
367
367
|
vendor: Increase::Models::EntityUpdateParams::ThirdPartyVerification::vendor
|
|
368
368
|
}
|
|
369
369
|
|
|
370
|
-
type vendor = :alloy | :middesk | :oscilar | :persona
|
|
370
|
+
type vendor = :alloy | :middesk | :oscilar | :persona | :taktile
|
|
371
371
|
|
|
372
372
|
module Vendor
|
|
373
373
|
extend Increase::Internal::Type::Enum
|
|
@@ -384,6 +384,9 @@ module Increase
|
|
|
384
384
|
# Persona. See https://withpersona.com for more information.
|
|
385
385
|
PERSONA: :persona
|
|
386
386
|
|
|
387
|
+
# Taktile. See https://taktile.com for more information.
|
|
388
|
+
TAKTILE: :taktile
|
|
389
|
+
|
|
387
390
|
def self?.values: -> ::Array[Increase::Models::EntityUpdateParams::ThirdPartyVerification::vendor]
|
|
388
391
|
end
|
|
389
392
|
end
|