increase 1.368.0 → 1.369.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.
@@ -2639,34 +2639,79 @@ module Increase
2639
2639
  type digital_wallet_token =
2640
2640
  {
2641
2641
  card_id: String,
2642
+ cardholder: Increase::RealTimeDecision::DigitalWalletToken::Cardholder,
2642
2643
  decision: Increase::Models::RealTimeDecision::DigitalWalletToken::decision?,
2643
2644
  device: Increase::RealTimeDecision::DigitalWalletToken::Device,
2644
- digital_wallet: Increase::Models::RealTimeDecision::DigitalWalletToken::digital_wallet
2645
+ digital_wallet: Increase::Models::RealTimeDecision::DigitalWalletToken::digital_wallet,
2646
+ network: Increase::Models::RealTimeDecision::DigitalWalletToken::network,
2647
+ primary_account_number_source: Increase::Models::RealTimeDecision::DigitalWalletToken::primary_account_number_source?,
2648
+ token_requestor_details: Increase::RealTimeDecision::DigitalWalletToken::TokenRequestorDetails,
2649
+ verification: Increase::RealTimeDecision::DigitalWalletToken::Verification,
2650
+ visa: Increase::RealTimeDecision::DigitalWalletToken::Visa?,
2651
+ wallet: Increase::RealTimeDecision::DigitalWalletToken::Wallet
2645
2652
  }
2646
2653
 
2647
2654
  class DigitalWalletToken < Increase::Internal::Type::BaseModel
2648
2655
  attr_accessor card_id: String
2649
2656
 
2657
+ attr_accessor cardholder: Increase::RealTimeDecision::DigitalWalletToken::Cardholder
2658
+
2650
2659
  attr_accessor decision: Increase::Models::RealTimeDecision::DigitalWalletToken::decision?
2651
2660
 
2652
2661
  attr_accessor device: Increase::RealTimeDecision::DigitalWalletToken::Device
2653
2662
 
2654
2663
  attr_accessor digital_wallet: Increase::Models::RealTimeDecision::DigitalWalletToken::digital_wallet
2655
2664
 
2665
+ attr_accessor network: Increase::Models::RealTimeDecision::DigitalWalletToken::network
2666
+
2667
+ attr_accessor primary_account_number_source: Increase::Models::RealTimeDecision::DigitalWalletToken::primary_account_number_source?
2668
+
2669
+ attr_accessor token_requestor_details: Increase::RealTimeDecision::DigitalWalletToken::TokenRequestorDetails
2670
+
2671
+ attr_accessor verification: Increase::RealTimeDecision::DigitalWalletToken::Verification
2672
+
2673
+ attr_accessor visa: Increase::RealTimeDecision::DigitalWalletToken::Visa?
2674
+
2675
+ attr_accessor wallet: Increase::RealTimeDecision::DigitalWalletToken::Wallet
2676
+
2656
2677
  def initialize: (
2657
2678
  card_id: String,
2679
+ cardholder: Increase::RealTimeDecision::DigitalWalletToken::Cardholder,
2658
2680
  decision: Increase::Models::RealTimeDecision::DigitalWalletToken::decision?,
2659
2681
  device: Increase::RealTimeDecision::DigitalWalletToken::Device,
2660
- digital_wallet: Increase::Models::RealTimeDecision::DigitalWalletToken::digital_wallet
2682
+ digital_wallet: Increase::Models::RealTimeDecision::DigitalWalletToken::digital_wallet,
2683
+ network: Increase::Models::RealTimeDecision::DigitalWalletToken::network,
2684
+ primary_account_number_source: Increase::Models::RealTimeDecision::DigitalWalletToken::primary_account_number_source?,
2685
+ token_requestor_details: Increase::RealTimeDecision::DigitalWalletToken::TokenRequestorDetails,
2686
+ verification: Increase::RealTimeDecision::DigitalWalletToken::Verification,
2687
+ visa: Increase::RealTimeDecision::DigitalWalletToken::Visa?,
2688
+ wallet: Increase::RealTimeDecision::DigitalWalletToken::Wallet
2661
2689
  ) -> void
2662
2690
 
2663
2691
  def to_hash: -> {
2664
2692
  card_id: String,
2693
+ cardholder: Increase::RealTimeDecision::DigitalWalletToken::Cardholder,
2665
2694
  decision: Increase::Models::RealTimeDecision::DigitalWalletToken::decision?,
2666
2695
  device: Increase::RealTimeDecision::DigitalWalletToken::Device,
2667
- digital_wallet: Increase::Models::RealTimeDecision::DigitalWalletToken::digital_wallet
2696
+ digital_wallet: Increase::Models::RealTimeDecision::DigitalWalletToken::digital_wallet,
2697
+ network: Increase::Models::RealTimeDecision::DigitalWalletToken::network,
2698
+ primary_account_number_source: Increase::Models::RealTimeDecision::DigitalWalletToken::primary_account_number_source?,
2699
+ token_requestor_details: Increase::RealTimeDecision::DigitalWalletToken::TokenRequestorDetails,
2700
+ verification: Increase::RealTimeDecision::DigitalWalletToken::Verification,
2701
+ visa: Increase::RealTimeDecision::DigitalWalletToken::Visa?,
2702
+ wallet: Increase::RealTimeDecision::DigitalWalletToken::Wallet
2668
2703
  }
2669
2704
 
2705
+ type cardholder = { name: String? }
2706
+
2707
+ class Cardholder < Increase::Internal::Type::BaseModel
2708
+ attr_accessor name: String?
2709
+
2710
+ def initialize: (name: String?) -> void
2711
+
2712
+ def to_hash: -> { name: String? }
2713
+ end
2714
+
2670
2715
  type decision = :approve | :decline
2671
2716
 
2672
2717
  module Decision
@@ -2780,6 +2825,203 @@ module Increase
2780
2825
 
2781
2826
  def self?.values: -> ::Array[Increase::Models::RealTimeDecision::DigitalWalletToken::digital_wallet]
2782
2827
  end
2828
+
2829
+ type network = :visa
2830
+
2831
+ module Network
2832
+ extend Increase::Internal::Type::Enum
2833
+
2834
+ # Visa
2835
+ VISA: :visa
2836
+
2837
+ def self?.values: -> ::Array[Increase::Models::RealTimeDecision::DigitalWalletToken::network]
2838
+ end
2839
+
2840
+ type primary_account_number_source =
2841
+ :key_entered
2842
+ | :on_file
2843
+ | :mobile_app
2844
+ | :token
2845
+ | :chip_dip
2846
+ | :contactless_tap
2847
+
2848
+ module PrimaryAccountNumberSource
2849
+ extend Increase::Internal::Type::Enum
2850
+
2851
+ # The cardholder entered the card number manually.
2852
+ KEY_ENTERED: :key_entered
2853
+
2854
+ # The card number was already on file with the token requestor.
2855
+ ON_FILE: :on_file
2856
+
2857
+ # The card was added from your mobile app using push provisioning.
2858
+ MOBILE_APP: :mobile_app
2859
+
2860
+ # The card number was sourced from an existing token.
2861
+ TOKEN: :token
2862
+
2863
+ # The card number was read from the chip of the physical card.
2864
+ CHIP_DIP: :chip_dip
2865
+
2866
+ # The card number was read by tapping the physical card on the device.
2867
+ CONTACTLESS_TAP: :contactless_tap
2868
+
2869
+ def self?.values: -> ::Array[Increase::Models::RealTimeDecision::DigitalWalletToken::primary_account_number_source]
2870
+ end
2871
+
2872
+ type token_requestor_details = { identifier: String, name: String? }
2873
+
2874
+ class TokenRequestorDetails < Increase::Internal::Type::BaseModel
2875
+ attr_accessor identifier: String
2876
+
2877
+ attr_accessor name: String?
2878
+
2879
+ def initialize: (identifier: String, name: String?) -> void
2880
+
2881
+ def to_hash: -> { identifier: String, name: String? }
2882
+ end
2883
+
2884
+ type verification =
2885
+ {
2886
+ cardholder_address: Increase::RealTimeDecision::DigitalWalletToken::Verification::CardholderAddress
2887
+ }
2888
+
2889
+ class Verification < Increase::Internal::Type::BaseModel
2890
+ attr_accessor cardholder_address: Increase::RealTimeDecision::DigitalWalletToken::Verification::CardholderAddress
2891
+
2892
+ def initialize: (
2893
+ cardholder_address: Increase::RealTimeDecision::DigitalWalletToken::Verification::CardholderAddress
2894
+ ) -> void
2895
+
2896
+ def to_hash: -> {
2897
+ cardholder_address: Increase::RealTimeDecision::DigitalWalletToken::Verification::CardholderAddress
2898
+ }
2899
+
2900
+ type cardholder_address =
2901
+ {
2902
+ :actual_line1 => String?,
2903
+ actual_postal_code: String?,
2904
+ :provided_line1 => String?,
2905
+ provided_postal_code: String?,
2906
+ result: Increase::Models::RealTimeDecision::DigitalWalletToken::Verification::CardholderAddress::result
2907
+ }
2908
+
2909
+ class CardholderAddress < Increase::Internal::Type::BaseModel
2910
+ attr_accessor actual_line1: String?
2911
+
2912
+ attr_accessor actual_postal_code: String?
2913
+
2914
+ attr_accessor provided_line1: String?
2915
+
2916
+ attr_accessor provided_postal_code: String?
2917
+
2918
+ attr_accessor result: Increase::Models::RealTimeDecision::DigitalWalletToken::Verification::CardholderAddress::result
2919
+
2920
+ def initialize: (
2921
+ actual_line1: String?,
2922
+ actual_postal_code: String?,
2923
+ provided_line1: String?,
2924
+ provided_postal_code: String?,
2925
+ result: Increase::Models::RealTimeDecision::DigitalWalletToken::Verification::CardholderAddress::result
2926
+ ) -> void
2927
+
2928
+ def to_hash: -> {
2929
+ :actual_line1 => String?,
2930
+ actual_postal_code: String?,
2931
+ :provided_line1 => String?,
2932
+ provided_postal_code: String?,
2933
+ result: Increase::Models::RealTimeDecision::DigitalWalletToken::Verification::CardholderAddress::result
2934
+ }
2935
+
2936
+ type result =
2937
+ :not_checked
2938
+ | :postal_code_match_address_no_match
2939
+ | :postal_code_no_match_address_match
2940
+ | :match
2941
+ | :no_match
2942
+ | :postal_code_match_address_not_checked
2943
+
2944
+ module Result
2945
+ extend Increase::Internal::Type::Enum
2946
+
2947
+ # No address information was provided in the authorization request.
2948
+ NOT_CHECKED: :not_checked
2949
+
2950
+ # Postal code matches, but the street address does not match or was not provided.
2951
+ POSTAL_CODE_MATCH_ADDRESS_NO_MATCH: :postal_code_match_address_no_match
2952
+
2953
+ # Postal code does not match, but the street address matches or was not provided.
2954
+ POSTAL_CODE_NO_MATCH_ADDRESS_MATCH: :postal_code_no_match_address_match
2955
+
2956
+ # Postal code and street address match.
2957
+ MATCH: :match
2958
+
2959
+ # Postal code and street address do not match.
2960
+ NO_MATCH: :no_match
2961
+
2962
+ # Postal code matches, but the street address was not verified. (deprecated)
2963
+ POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
2964
+
2965
+ def self?.values: -> ::Array[Increase::Models::RealTimeDecision::DigitalWalletToken::Verification::CardholderAddress::result]
2966
+ end
2967
+ end
2968
+ end
2969
+
2970
+ type visa =
2971
+ { network_risk_score: Integer?, provisioning_risk_score: Integer? }
2972
+
2973
+ class Visa < Increase::Internal::Type::BaseModel
2974
+ attr_accessor network_risk_score: Integer?
2975
+
2976
+ attr_accessor provisioning_risk_score: Integer?
2977
+
2978
+ def initialize: (
2979
+ network_risk_score: Integer?,
2980
+ provisioning_risk_score: Integer?
2981
+ ) -> void
2982
+
2983
+ def to_hash: -> {
2984
+ network_risk_score: Integer?,
2985
+ provisioning_risk_score: Integer?
2986
+ }
2987
+ end
2988
+
2989
+ type wallet =
2990
+ {
2991
+ account_email_age_days: Integer?,
2992
+ account_identifier: String?,
2993
+ account_score: Integer?,
2994
+ device_score: Integer?,
2995
+ email_hash: String?
2996
+ }
2997
+
2998
+ class Wallet < Increase::Internal::Type::BaseModel
2999
+ attr_accessor account_email_age_days: Integer?
3000
+
3001
+ attr_accessor account_identifier: String?
3002
+
3003
+ attr_accessor account_score: Integer?
3004
+
3005
+ attr_accessor device_score: Integer?
3006
+
3007
+ attr_accessor email_hash: String?
3008
+
3009
+ def initialize: (
3010
+ account_email_age_days: Integer?,
3011
+ account_identifier: String?,
3012
+ account_score: Integer?,
3013
+ device_score: Integer?,
3014
+ email_hash: String?
3015
+ ) -> void
3016
+
3017
+ def to_hash: -> {
3018
+ account_email_age_days: Integer?,
3019
+ account_identifier: String?,
3020
+ account_score: Integer?,
3021
+ device_score: Integer?,
3022
+ email_hash: String?
3023
+ }
3024
+ end
2783
3025
  end
2784
3026
 
2785
3027
  type status = :pending | :responded | :timed_out
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.368.0
4
+ version: 1.369.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-19 00:00:00.000000000 Z
11
+ date: 2026-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64