increase 1.171.0 → 1.173.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf479961e101c6eb36453f95deedb7882d423857ef53e400994ba8fb510720b0
4
- data.tar.gz: c0d4a15b9864b7bace063191707936cde539ca8da84a888c57ad6eb3e88656cb
3
+ metadata.gz: a0a47f29c8c083c113f89f67ec8c1dfea3dd86be84076ef5f769012e0babb1d3
4
+ data.tar.gz: c66505dd6528012238e2f15e90eae4611b50b9bc9c6bac98a7c19a1ba4c51d18
5
5
  SHA512:
6
- metadata.gz: 64d64411025bdcc02e66f392f81d416f2e89fa2a4e0446b34c94181e36ffce9bc629adc254099beb9e2a6a86e553c734fc69e7db00ccb1b9691989ec7a8fbf4e
7
- data.tar.gz: fbf30813d6b66bbbb705ec6fef5529e0c2030fe5e189dc8749d3b3426c89a68d8399656f1c4c9ca1de43b2d42b90818659b2931dfdf7242f421e57a92c9a9178
6
+ metadata.gz: d4b56c0373cedcbf3c6f278a83ed2effb703b9066dde7c7395daecec956bb7c49e5601ce6c9fad484b8cf637e23e021b20ab7fb4d394391ae65f9c1d12fa9e27
7
+ data.tar.gz: ceca78ac12c8dde3d14744352f4a1ce0b85cbba96ce5412051cc6f53a31b735c3fda99576dddf418af924e2ad68a64077a6d84d51c7877941af6d57b1e639b86
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.173.0 (2026-01-07)
4
+
5
+ Full Changelog: [v1.172.0...v1.173.0](https://github.com/Increase/increase-ruby/compare/v1.172.0...v1.173.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([ca3e263](https://github.com/Increase/increase-ruby/commit/ca3e2631c92ccf0a937d01ebe83dcc8f29e8b7cb))
10
+
11
+ ## 1.172.0 (2026-01-06)
12
+
13
+ Full Changelog: [v1.171.0...v1.172.0](https://github.com/Increase/increase-ruby/compare/v1.171.0...v1.172.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([f7bc3df](https://github.com/Increase/increase-ruby/commit/f7bc3df6db78f863f763caf487a6ee1e0ae0d190))
18
+
3
19
  ## 1.171.0 (2026-01-05)
4
20
 
5
21
  Full Changelog: [v1.170.0...v1.171.0](https://github.com/Increase/increase-ruby/compare/v1.170.0...v1.171.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "increase", "~> 1.171.0"
18
+ gem "increase", "~> 1.173.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -4600,6 +4600,12 @@ module Increase
4600
4600
  required :cardholder_cancellation,
4601
4601
  -> { Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation }
4602
4602
 
4603
+ # @!attribute explanation
4604
+ # Explanation of what was ordered and was not as described.
4605
+ #
4606
+ # @return [String]
4607
+ required :explanation, String
4608
+
4603
4609
  # @!attribute merchant_resolution_attempted
4604
4610
  # Merchant resolution attempted.
4605
4611
  #
@@ -4613,12 +4619,14 @@ module Increase
4613
4619
  # @return [Date]
4614
4620
  required :received_at, Date
4615
4621
 
4616
- # @!method initialize(cardholder_cancellation:, merchant_resolution_attempted:, received_at:)
4622
+ # @!method initialize(cardholder_cancellation:, explanation:, merchant_resolution_attempted:, received_at:)
4617
4623
  # Services not as described. Present if and only if `category` is
4618
4624
  # `consumer_services_not_as_described`.
4619
4625
  #
4620
4626
  # @param cardholder_cancellation [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation] Cardholder cancellation.
4621
4627
  #
4628
+ # @param explanation [String] Explanation of what was ordered and was not as described.
4629
+ #
4622
4630
  # @param merchant_resolution_attempted [Symbol, Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::MerchantResolutionAttempted] Merchant resolution attempted.
4623
4631
  #
4624
4632
  # @param received_at [Date] Received at.
@@ -2870,6 +2870,12 @@ module Increase
2870
2870
  required :cardholder_cancellation,
2871
2871
  -> { Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::CardholderCancellation }
2872
2872
 
2873
+ # @!attribute explanation
2874
+ # Explanation of what was ordered and was not as described.
2875
+ #
2876
+ # @return [String]
2877
+ required :explanation, String
2878
+
2873
2879
  # @!attribute merchant_resolution_attempted
2874
2880
  # Merchant resolution attempted.
2875
2881
  #
@@ -2883,12 +2889,14 @@ module Increase
2883
2889
  # @return [Date]
2884
2890
  required :received_at, Date
2885
2891
 
2886
- # @!method initialize(cardholder_cancellation:, merchant_resolution_attempted:, received_at:)
2892
+ # @!method initialize(cardholder_cancellation:, explanation:, merchant_resolution_attempted:, received_at:)
2887
2893
  # Services not as described. Required if and only if `category` is
2888
2894
  # `consumer_services_not_as_described`.
2889
2895
  #
2890
2896
  # @param cardholder_cancellation [Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::CardholderCancellation] Cardholder cancellation.
2891
2897
  #
2898
+ # @param explanation [String] Explanation of what was ordered and was not as described.
2899
+ #
2892
2900
  # @param merchant_resolution_attempted [Symbol, Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::MerchantResolutionAttempted] Merchant resolution attempted.
2893
2901
  #
2894
2902
  # @param received_at [Date] Received at.
@@ -2939,6 +2939,12 @@ module Increase
2939
2939
  required :cardholder_cancellation,
2940
2940
  -> { Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation }
2941
2941
 
2942
+ # @!attribute explanation
2943
+ # Explanation of what was ordered and was not as described.
2944
+ #
2945
+ # @return [String]
2946
+ required :explanation, String
2947
+
2942
2948
  # @!attribute merchant_resolution_attempted
2943
2949
  # Merchant resolution attempted.
2944
2950
  #
@@ -2952,12 +2958,14 @@ module Increase
2952
2958
  # @return [Date]
2953
2959
  required :received_at, Date
2954
2960
 
2955
- # @!method initialize(cardholder_cancellation:, merchant_resolution_attempted:, received_at:)
2961
+ # @!method initialize(cardholder_cancellation:, explanation:, merchant_resolution_attempted:, received_at:)
2956
2962
  # Services not as described. Required if and only if `category` is
2957
2963
  # `consumer_services_not_as_described`.
2958
2964
  #
2959
2965
  # @param cardholder_cancellation [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation] Cardholder cancellation.
2960
2966
  #
2967
+ # @param explanation [String] Explanation of what was ordered and was not as described.
2968
+ #
2961
2969
  # @param merchant_resolution_attempted [Symbol, Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotAsDescribed::MerchantResolutionAttempted] Merchant resolution attempted.
2962
2970
  #
2963
2971
  # @param received_at [Date] Received at.
@@ -93,6 +93,13 @@ module Increase
93
93
  required :supplemental_documents,
94
94
  -> { Increase::Internal::Type::ArrayOf[Increase::EntitySupplementalDocument] }
95
95
 
96
+ # @!attribute terms_agreements
97
+ # The terms that the Entity agreed to. Not all programs are required to submit
98
+ # this data.
99
+ #
100
+ # @return [Array<Increase::Models::Entity::TermsAgreement>]
101
+ required :terms_agreements, -> { Increase::Internal::Type::ArrayOf[Increase::Entity::TermsAgreement] }
102
+
96
103
  # @!attribute third_party_verification
97
104
  # If you are using a third-party service for identity verification, you can use
98
105
  # this field to associate this Entity with the identifier that represents them in
@@ -114,7 +121,7 @@ module Increase
114
121
  # @return [Symbol, Increase::Models::Entity::Type]
115
122
  required :type, enum: -> { Increase::Entity::Type }
116
123
 
117
- # @!method initialize(id:, corporation:, created_at:, description:, details_confirmed_at:, government_authority:, idempotency_key:, joint:, natural_person:, risk_rating:, status:, structure:, supplemental_documents:, third_party_verification:, trust:, type:)
124
+ # @!method initialize(id:, corporation:, created_at:, description:, details_confirmed_at:, government_authority:, idempotency_key:, joint:, natural_person:, risk_rating:, status:, structure:, supplemental_documents:, terms_agreements:, third_party_verification:, trust:, type:)
118
125
  # Some parameter documentations has been truncated, see {Increase::Models::Entity}
119
126
  # for more details.
120
127
  #
@@ -147,6 +154,8 @@ module Increase
147
154
  #
148
155
  # @param supplemental_documents [Array<Increase::Models::EntitySupplementalDocument>] Additional documentation associated with the entity. This is limited to the firs
149
156
  #
157
+ # @param terms_agreements [Array<Increase::Models::Entity::TermsAgreement>] The terms that the Entity agreed to. Not all programs are required to submit thi
158
+ #
150
159
  # @param third_party_verification [Increase::Models::Entity::ThirdPartyVerification, nil] If you are using a third-party service for identity verification, you can use th
151
160
  #
152
161
  # @param trust [Increase::Models::Entity::Trust, nil] Details of the trust entity. Will be present if `structure` is equal to `trust`.
@@ -1027,6 +1036,36 @@ module Increase
1027
1036
  # @return [Array<Symbol>]
1028
1037
  end
1029
1038
 
1039
+ class TermsAgreement < Increase::Internal::Type::BaseModel
1040
+ # @!attribute agreed_at
1041
+ # The timestamp of when the Entity agreed to the terms.
1042
+ #
1043
+ # @return [Time]
1044
+ required :agreed_at, Time
1045
+
1046
+ # @!attribute ip_address
1047
+ # The IP address the Entity accessed reviewed the terms from.
1048
+ #
1049
+ # @return [String]
1050
+ required :ip_address, String
1051
+
1052
+ # @!attribute terms_url
1053
+ # The URL of the terms agreement. This link will be provided by your bank partner.
1054
+ #
1055
+ # @return [String]
1056
+ required :terms_url, String
1057
+
1058
+ # @!method initialize(agreed_at:, ip_address:, terms_url:)
1059
+ # Some parameter documentations has been truncated, see
1060
+ # {Increase::Models::Entity::TermsAgreement} for more details.
1061
+ #
1062
+ # @param agreed_at [Time] The timestamp of when the Entity agreed to the terms.
1063
+ #
1064
+ # @param ip_address [String] The IP address the Entity accessed reviewed the terms from.
1065
+ #
1066
+ # @param terms_url [String] The URL of the terms agreement. This link will be provided by your bank partner.
1067
+ end
1068
+
1030
1069
  # @see Increase::Models::Entity#third_party_verification
1031
1070
  class ThirdPartyVerification < Increase::Internal::Type::BaseModel
1032
1071
  # @!attribute reference
@@ -63,6 +63,14 @@ module Increase
63
63
  optional :supplemental_documents,
64
64
  -> { Increase::Internal::Type::ArrayOf[Increase::EntityCreateParams::SupplementalDocument] }
65
65
 
66
+ # @!attribute terms_agreements
67
+ # The terms that the Entity agreed to. Not all programs are required to submit
68
+ # this data.
69
+ #
70
+ # @return [Array<Increase::Models::EntityCreateParams::TermsAgreement>, nil]
71
+ optional :terms_agreements,
72
+ -> { Increase::Internal::Type::ArrayOf[Increase::EntityCreateParams::TermsAgreement] }
73
+
66
74
  # @!attribute third_party_verification
67
75
  # If you are using a third-party service for identity verification, you can use
68
76
  # this field to associate this Entity with the identifier that represents them in
@@ -78,7 +86,7 @@ module Increase
78
86
  # @return [Increase::Models::EntityCreateParams::Trust, nil]
79
87
  optional :trust, -> { Increase::EntityCreateParams::Trust }
80
88
 
81
- # @!method initialize(structure:, corporation: nil, description: nil, government_authority: nil, joint: nil, natural_person: nil, risk_rating: nil, supplemental_documents: nil, third_party_verification: nil, trust: nil, request_options: {})
89
+ # @!method initialize(structure:, corporation: nil, description: nil, government_authority: nil, joint: nil, natural_person: nil, risk_rating: nil, supplemental_documents: nil, terms_agreements: nil, third_party_verification: nil, trust: nil, request_options: {})
82
90
  # Some parameter documentations has been truncated, see
83
91
  # {Increase::Models::EntityCreateParams} for more details.
84
92
  #
@@ -98,6 +106,8 @@ module Increase
98
106
  #
99
107
  # @param supplemental_documents [Array<Increase::Models::EntityCreateParams::SupplementalDocument>] Additional documentation associated with the entity.
100
108
  #
109
+ # @param terms_agreements [Array<Increase::Models::EntityCreateParams::TermsAgreement>] The terms that the Entity agreed to. Not all programs are required to submit thi
110
+ #
101
111
  # @param third_party_verification [Increase::Models::EntityCreateParams::ThirdPartyVerification] If you are using a third-party service for identity verification, you can use th
102
112
  #
103
113
  # @param trust [Increase::Models::EntityCreateParams::Trust] Details of the trust entity to create. Required if `structure` is equal to `trus
@@ -1514,6 +1524,36 @@ module Increase
1514
1524
  # @param file_id [String] The identifier of the File containing the document.
1515
1525
  end
1516
1526
 
1527
+ class TermsAgreement < Increase::Internal::Type::BaseModel
1528
+ # @!attribute agreed_at
1529
+ # The timestamp of when the Entity agreed to the terms.
1530
+ #
1531
+ # @return [Time]
1532
+ required :agreed_at, Time
1533
+
1534
+ # @!attribute ip_address
1535
+ # The IP address the Entity accessed reviewed the terms from.
1536
+ #
1537
+ # @return [String]
1538
+ required :ip_address, String
1539
+
1540
+ # @!attribute terms_url
1541
+ # The URL of the terms agreement. This link will be provided by your bank partner.
1542
+ #
1543
+ # @return [String]
1544
+ required :terms_url, String
1545
+
1546
+ # @!method initialize(agreed_at:, ip_address:, terms_url:)
1547
+ # Some parameter documentations has been truncated, see
1548
+ # {Increase::Models::EntityCreateParams::TermsAgreement} for more details.
1549
+ #
1550
+ # @param agreed_at [Time] The timestamp of when the Entity agreed to the terms.
1551
+ #
1552
+ # @param ip_address [String] The IP address the Entity accessed reviewed the terms from.
1553
+ #
1554
+ # @param terms_url [String] The URL of the terms agreement. This link will be provided by your bank partner.
1555
+ end
1556
+
1517
1557
  class ThirdPartyVerification < Increase::Internal::Type::BaseModel
1518
1558
  # @!attribute reference
1519
1559
  # The reference identifier for the third party verification.
@@ -8,7 +8,7 @@ module Increase
8
8
  #
9
9
  # Create an Entity
10
10
  #
11
- # @overload create(structure:, corporation: nil, description: nil, government_authority: nil, joint: nil, natural_person: nil, risk_rating: nil, supplemental_documents: nil, third_party_verification: nil, trust: nil, request_options: {})
11
+ # @overload create(structure:, corporation: nil, description: nil, government_authority: nil, joint: nil, natural_person: nil, risk_rating: nil, supplemental_documents: nil, terms_agreements: nil, third_party_verification: nil, trust: nil, request_options: {})
12
12
  #
13
13
  # @param structure [Symbol, Increase::Models::EntityCreateParams::Structure] The type of Entity to create.
14
14
  #
@@ -26,6 +26,8 @@ module Increase
26
26
  #
27
27
  # @param supplemental_documents [Array<Increase::Models::EntityCreateParams::SupplementalDocument>] Additional documentation associated with the entity.
28
28
  #
29
+ # @param terms_agreements [Array<Increase::Models::EntityCreateParams::TermsAgreement>] The terms that the Entity agreed to. Not all programs are required to submit thi
30
+ #
29
31
  # @param third_party_verification [Increase::Models::EntityCreateParams::ThirdPartyVerification] If you are using a third-party service for identity verification, you can use th
30
32
  #
31
33
  # @param trust [Increase::Models::EntityCreateParams::Trust] Details of the trust entity to create. Required if `structure` is equal to `trus
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.171.0"
4
+ VERSION = "1.173.0"
5
5
  end
@@ -9599,6 +9599,10 @@ module Increase
9599
9599
  end
9600
9600
  attr_writer :cardholder_cancellation
9601
9601
 
9602
+ # Explanation of what was ordered and was not as described.
9603
+ sig { returns(String) }
9604
+ attr_accessor :explanation
9605
+
9602
9606
  # Merchant resolution attempted.
9603
9607
  sig do
9604
9608
  returns(
@@ -9617,6 +9621,7 @@ module Increase
9617
9621
  params(
9618
9622
  cardholder_cancellation:
9619
9623
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation::OrHash,
9624
+ explanation: String,
9620
9625
  merchant_resolution_attempted:
9621
9626
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::MerchantResolutionAttempted::OrSymbol,
9622
9627
  received_at: Date
@@ -9625,6 +9630,8 @@ module Increase
9625
9630
  def self.new(
9626
9631
  # Cardholder cancellation.
9627
9632
  cardholder_cancellation:,
9633
+ # Explanation of what was ordered and was not as described.
9634
+ explanation:,
9628
9635
  # Merchant resolution attempted.
9629
9636
  merchant_resolution_attempted:,
9630
9637
  # Received at.
@@ -9637,6 +9644,7 @@ module Increase
9637
9644
  {
9638
9645
  cardholder_cancellation:
9639
9646
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation,
9647
+ explanation: String,
9640
9648
  merchant_resolution_attempted:
9641
9649
  Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::MerchantResolutionAttempted::TaggedSymbol,
9642
9650
  received_at: Date
@@ -6041,6 +6041,10 @@ module Increase
6041
6041
  end
6042
6042
  attr_writer :cardholder_cancellation
6043
6043
 
6044
+ # Explanation of what was ordered and was not as described.
6045
+ sig { returns(String) }
6046
+ attr_accessor :explanation
6047
+
6044
6048
  # Merchant resolution attempted.
6045
6049
  sig do
6046
6050
  returns(
@@ -6059,6 +6063,7 @@ module Increase
6059
6063
  params(
6060
6064
  cardholder_cancellation:
6061
6065
  Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::CardholderCancellation::OrHash,
6066
+ explanation: String,
6062
6067
  merchant_resolution_attempted:
6063
6068
  Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::MerchantResolutionAttempted::OrSymbol,
6064
6069
  received_at: Date
@@ -6067,6 +6072,8 @@ module Increase
6067
6072
  def self.new(
6068
6073
  # Cardholder cancellation.
6069
6074
  cardholder_cancellation:,
6075
+ # Explanation of what was ordered and was not as described.
6076
+ explanation:,
6070
6077
  # Merchant resolution attempted.
6071
6078
  merchant_resolution_attempted:,
6072
6079
  # Received at.
@@ -6079,6 +6086,7 @@ module Increase
6079
6086
  {
6080
6087
  cardholder_cancellation:
6081
6088
  Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::CardholderCancellation,
6089
+ explanation: String,
6082
6090
  merchant_resolution_attempted:
6083
6091
  Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::MerchantResolutionAttempted::OrSymbol,
6084
6092
  received_at: Date
@@ -6250,6 +6250,10 @@ module Increase
6250
6250
  end
6251
6251
  attr_writer :cardholder_cancellation
6252
6252
 
6253
+ # Explanation of what was ordered and was not as described.
6254
+ sig { returns(String) }
6255
+ attr_accessor :explanation
6256
+
6253
6257
  # Merchant resolution attempted.
6254
6258
  sig do
6255
6259
  returns(
@@ -6268,6 +6272,7 @@ module Increase
6268
6272
  params(
6269
6273
  cardholder_cancellation:
6270
6274
  Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation::OrHash,
6275
+ explanation: String,
6271
6276
  merchant_resolution_attempted:
6272
6277
  Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotAsDescribed::MerchantResolutionAttempted::OrSymbol,
6273
6278
  received_at: Date
@@ -6276,6 +6281,8 @@ module Increase
6276
6281
  def self.new(
6277
6282
  # Cardholder cancellation.
6278
6283
  cardholder_cancellation:,
6284
+ # Explanation of what was ordered and was not as described.
6285
+ explanation:,
6279
6286
  # Merchant resolution attempted.
6280
6287
  merchant_resolution_attempted:,
6281
6288
  # Received at.
@@ -6288,6 +6295,7 @@ module Increase
6288
6295
  {
6289
6296
  cardholder_cancellation:
6290
6297
  Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation,
6298
+ explanation: String,
6291
6299
  merchant_resolution_attempted:
6292
6300
  Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotAsDescribed::MerchantResolutionAttempted::OrSymbol,
6293
6301
  received_at: Date
@@ -100,6 +100,11 @@ module Increase
100
100
  sig { returns(T::Array[Increase::EntitySupplementalDocument]) }
101
101
  attr_accessor :supplemental_documents
102
102
 
103
+ # The terms that the Entity agreed to. Not all programs are required to submit
104
+ # this data.
105
+ sig { returns(T::Array[Increase::Entity::TermsAgreement]) }
106
+ attr_accessor :terms_agreements
107
+
103
108
  # If you are using a third-party service for identity verification, you can use
104
109
  # this field to associate this Entity with the identifier that represents them in
105
110
  # that service.
@@ -145,6 +150,7 @@ module Increase
145
150
  structure: Increase::Entity::Structure::OrSymbol,
146
151
  supplemental_documents:
147
152
  T::Array[Increase::EntitySupplementalDocument::OrHash],
153
+ terms_agreements: T::Array[Increase::Entity::TermsAgreement::OrHash],
148
154
  third_party_verification:
149
155
  T.nilable(Increase::Entity::ThirdPartyVerification::OrHash),
150
156
  trust: T.nilable(Increase::Entity::Trust::OrHash),
@@ -188,6 +194,9 @@ module Increase
188
194
  # first 10 documents for an entity. If an entity has more than 10 documents, use
189
195
  # the GET /entity_supplemental_documents list endpoint to retrieve them.
190
196
  supplemental_documents:,
197
+ # The terms that the Entity agreed to. Not all programs are required to submit
198
+ # this data.
199
+ terms_agreements:,
191
200
  # If you are using a third-party service for identity verification, you can use
192
201
  # this field to associate this Entity with the identifier that represents them in
193
202
  # that service.
@@ -218,6 +227,7 @@ module Increase
218
227
  structure: Increase::Entity::Structure::TaggedSymbol,
219
228
  supplemental_documents:
220
229
  T::Array[Increase::EntitySupplementalDocument],
230
+ terms_agreements: T::Array[Increase::Entity::TermsAgreement],
221
231
  third_party_verification:
222
232
  T.nilable(Increase::Entity::ThirdPartyVerification),
223
233
  trust: T.nilable(Increase::Entity::Trust),
@@ -1730,6 +1740,50 @@ module Increase
1730
1740
  end
1731
1741
  end
1732
1742
 
1743
+ class TermsAgreement < Increase::Internal::Type::BaseModel
1744
+ OrHash =
1745
+ T.type_alias do
1746
+ T.any(Increase::Entity::TermsAgreement, Increase::Internal::AnyHash)
1747
+ end
1748
+
1749
+ # The timestamp of when the Entity agreed to the terms.
1750
+ sig { returns(Time) }
1751
+ attr_accessor :agreed_at
1752
+
1753
+ # The IP address the Entity accessed reviewed the terms from.
1754
+ sig { returns(String) }
1755
+ attr_accessor :ip_address
1756
+
1757
+ # The URL of the terms agreement. This link will be provided by your bank partner.
1758
+ sig { returns(String) }
1759
+ attr_accessor :terms_url
1760
+
1761
+ sig do
1762
+ params(
1763
+ agreed_at: Time,
1764
+ ip_address: String,
1765
+ terms_url: String
1766
+ ).returns(T.attached_class)
1767
+ end
1768
+ def self.new(
1769
+ # The timestamp of when the Entity agreed to the terms.
1770
+ agreed_at:,
1771
+ # The IP address the Entity accessed reviewed the terms from.
1772
+ ip_address:,
1773
+ # The URL of the terms agreement. This link will be provided by your bank partner.
1774
+ terms_url:
1775
+ )
1776
+ end
1777
+
1778
+ sig do
1779
+ override.returns(
1780
+ { agreed_at: Time, ip_address: String, terms_url: String }
1781
+ )
1782
+ end
1783
+ def to_hash
1784
+ end
1785
+ end
1786
+
1733
1787
  class ThirdPartyVerification < Increase::Internal::Type::BaseModel
1734
1788
  OrHash =
1735
1789
  T.type_alias do
@@ -101,6 +101,23 @@ module Increase
101
101
  end
102
102
  attr_writer :supplemental_documents
103
103
 
104
+ # The terms that the Entity agreed to. Not all programs are required to submit
105
+ # this data.
106
+ sig do
107
+ returns(
108
+ T.nilable(T::Array[Increase::EntityCreateParams::TermsAgreement])
109
+ )
110
+ end
111
+ attr_reader :terms_agreements
112
+
113
+ sig do
114
+ params(
115
+ terms_agreements:
116
+ T::Array[Increase::EntityCreateParams::TermsAgreement::OrHash]
117
+ ).void
118
+ end
119
+ attr_writer :terms_agreements
120
+
104
121
  # If you are using a third-party service for identity verification, you can use
105
122
  # this field to associate this Entity with the identifier that represents them in
106
123
  # that service.
@@ -139,6 +156,8 @@ module Increase
139
156
  T::Array[
140
157
  Increase::EntityCreateParams::SupplementalDocument::OrHash
141
158
  ],
159
+ terms_agreements:
160
+ T::Array[Increase::EntityCreateParams::TermsAgreement::OrHash],
142
161
  third_party_verification:
143
162
  Increase::EntityCreateParams::ThirdPartyVerification::OrHash,
144
163
  trust: Increase::EntityCreateParams::Trust::OrHash,
@@ -169,6 +188,9 @@ module Increase
169
188
  risk_rating: nil,
170
189
  # Additional documentation associated with the entity.
171
190
  supplemental_documents: nil,
191
+ # The terms that the Entity agreed to. Not all programs are required to submit
192
+ # this data.
193
+ terms_agreements: nil,
172
194
  # If you are using a third-party service for identity verification, you can use
173
195
  # this field to associate this Entity with the identifier that represents them in
174
196
  # that service.
@@ -193,6 +215,8 @@ module Increase
193
215
  risk_rating: Increase::EntityCreateParams::RiskRating,
194
216
  supplemental_documents:
195
217
  T::Array[Increase::EntityCreateParams::SupplementalDocument],
218
+ terms_agreements:
219
+ T::Array[Increase::EntityCreateParams::TermsAgreement],
196
220
  third_party_verification:
197
221
  Increase::EntityCreateParams::ThirdPartyVerification,
198
222
  trust: Increase::EntityCreateParams::Trust,
@@ -2785,6 +2809,53 @@ module Increase
2785
2809
  end
2786
2810
  end
2787
2811
 
2812
+ class TermsAgreement < Increase::Internal::Type::BaseModel
2813
+ OrHash =
2814
+ T.type_alias do
2815
+ T.any(
2816
+ Increase::EntityCreateParams::TermsAgreement,
2817
+ Increase::Internal::AnyHash
2818
+ )
2819
+ end
2820
+
2821
+ # The timestamp of when the Entity agreed to the terms.
2822
+ sig { returns(Time) }
2823
+ attr_accessor :agreed_at
2824
+
2825
+ # The IP address the Entity accessed reviewed the terms from.
2826
+ sig { returns(String) }
2827
+ attr_accessor :ip_address
2828
+
2829
+ # The URL of the terms agreement. This link will be provided by your bank partner.
2830
+ sig { returns(String) }
2831
+ attr_accessor :terms_url
2832
+
2833
+ sig do
2834
+ params(
2835
+ agreed_at: Time,
2836
+ ip_address: String,
2837
+ terms_url: String
2838
+ ).returns(T.attached_class)
2839
+ end
2840
+ def self.new(
2841
+ # The timestamp of when the Entity agreed to the terms.
2842
+ agreed_at:,
2843
+ # The IP address the Entity accessed reviewed the terms from.
2844
+ ip_address:,
2845
+ # The URL of the terms agreement. This link will be provided by your bank partner.
2846
+ terms_url:
2847
+ )
2848
+ end
2849
+
2850
+ sig do
2851
+ override.returns(
2852
+ { agreed_at: Time, ip_address: String, terms_url: String }
2853
+ )
2854
+ end
2855
+ def to_hash
2856
+ end
2857
+ end
2858
+
2788
2859
  class ThirdPartyVerification < Increase::Internal::Type::BaseModel
2789
2860
  OrHash =
2790
2861
  T.type_alias do
@@ -18,6 +18,8 @@ module Increase
18
18
  T::Array[
19
19
  Increase::EntityCreateParams::SupplementalDocument::OrHash
20
20
  ],
21
+ terms_agreements:
22
+ T::Array[Increase::EntityCreateParams::TermsAgreement::OrHash],
21
23
  third_party_verification:
22
24
  Increase::EntityCreateParams::ThirdPartyVerification::OrHash,
23
25
  trust: Increase::EntityCreateParams::Trust::OrHash,
@@ -48,6 +50,9 @@ module Increase
48
50
  risk_rating: nil,
49
51
  # Additional documentation associated with the entity.
50
52
  supplemental_documents: nil,
53
+ # The terms that the Entity agreed to. Not all programs are required to submit
54
+ # this data.
55
+ terms_agreements: nil,
51
56
  # If you are using a third-party service for identity verification, you can use
52
57
  # this field to associate this Entity with the identifier that represents them in
53
58
  # that service.
@@ -3510,6 +3510,7 @@ module Increase
3510
3510
  type consumer_services_not_as_described =
3511
3511
  {
3512
3512
  cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation,
3513
+ explanation: String,
3513
3514
  merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::merchant_resolution_attempted,
3514
3515
  received_at: Date
3515
3516
  }
@@ -3517,18 +3518,22 @@ module Increase
3517
3518
  class ConsumerServicesNotAsDescribed < Increase::Internal::Type::BaseModel
3518
3519
  attr_accessor cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation
3519
3520
 
3521
+ attr_accessor explanation: String
3522
+
3520
3523
  attr_accessor merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::merchant_resolution_attempted
3521
3524
 
3522
3525
  attr_accessor received_at: Date
3523
3526
 
3524
3527
  def initialize: (
3525
3528
  cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation,
3529
+ explanation: String,
3526
3530
  merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::merchant_resolution_attempted,
3527
3531
  received_at: Date
3528
3532
  ) -> void
3529
3533
 
3530
3534
  def to_hash: -> {
3531
3535
  cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation,
3536
+ explanation: String,
3532
3537
  merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotAsDescribed::merchant_resolution_attempted,
3533
3538
  received_at: Date
3534
3539
  }
@@ -2557,6 +2557,7 @@ module Increase
2557
2557
  type consumer_services_not_as_described =
2558
2558
  {
2559
2559
  cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::CardholderCancellation,
2560
+ explanation: String,
2560
2561
  merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::merchant_resolution_attempted,
2561
2562
  received_at: Date
2562
2563
  }
@@ -2564,18 +2565,22 @@ module Increase
2564
2565
  class ConsumerServicesNotAsDescribed < Increase::Internal::Type::BaseModel
2565
2566
  attr_accessor cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::CardholderCancellation
2566
2567
 
2568
+ attr_accessor explanation: String
2569
+
2567
2570
  attr_accessor merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::merchant_resolution_attempted
2568
2571
 
2569
2572
  attr_accessor received_at: Date
2570
2573
 
2571
2574
  def initialize: (
2572
2575
  cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::CardholderCancellation,
2576
+ explanation: String,
2573
2577
  merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::merchant_resolution_attempted,
2574
2578
  received_at: Date
2575
2579
  ) -> void
2576
2580
 
2577
2581
  def to_hash: -> {
2578
2582
  cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::CardholderCancellation,
2583
+ explanation: String,
2579
2584
  merchant_resolution_attempted: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotAsDescribed::merchant_resolution_attempted,
2580
2585
  received_at: Date
2581
2586
  }
@@ -2614,6 +2614,7 @@ module Increase
2614
2614
  type consumer_services_not_as_described =
2615
2615
  {
2616
2616
  cardholder_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation,
2617
+ explanation: String,
2617
2618
  merchant_resolution_attempted: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotAsDescribed::merchant_resolution_attempted,
2618
2619
  received_at: Date
2619
2620
  }
@@ -2621,18 +2622,22 @@ module Increase
2621
2622
  class ConsumerServicesNotAsDescribed < Increase::Internal::Type::BaseModel
2622
2623
  attr_accessor cardholder_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation
2623
2624
 
2625
+ attr_accessor explanation: String
2626
+
2624
2627
  attr_accessor merchant_resolution_attempted: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotAsDescribed::merchant_resolution_attempted
2625
2628
 
2626
2629
  attr_accessor received_at: Date
2627
2630
 
2628
2631
  def initialize: (
2629
2632
  cardholder_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation,
2633
+ explanation: String,
2630
2634
  merchant_resolution_attempted: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotAsDescribed::merchant_resolution_attempted,
2631
2635
  received_at: Date
2632
2636
  ) -> void
2633
2637
 
2634
2638
  def to_hash: -> {
2635
2639
  cardholder_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotAsDescribed::CardholderCancellation,
2640
+ explanation: String,
2636
2641
  merchant_resolution_attempted: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotAsDescribed::merchant_resolution_attempted,
2637
2642
  received_at: Date
2638
2643
  }
@@ -15,6 +15,7 @@ module Increase
15
15
  status: Increase::Models::Entity::status,
16
16
  structure: Increase::Models::Entity::structure,
17
17
  supplemental_documents: ::Array[Increase::EntitySupplementalDocument],
18
+ terms_agreements: ::Array[Increase::Entity::TermsAgreement],
18
19
  third_party_verification: Increase::Entity::ThirdPartyVerification?,
19
20
  trust: Increase::Entity::Trust?,
20
21
  type: Increase::Models::Entity::type_
@@ -47,6 +48,8 @@ module Increase
47
48
 
48
49
  attr_accessor supplemental_documents: ::Array[Increase::EntitySupplementalDocument]
49
50
 
51
+ attr_accessor terms_agreements: ::Array[Increase::Entity::TermsAgreement]
52
+
50
53
  attr_accessor third_party_verification: Increase::Entity::ThirdPartyVerification?
51
54
 
52
55
  attr_accessor trust: Increase::Entity::Trust?
@@ -67,6 +70,7 @@ module Increase
67
70
  status: Increase::Models::Entity::status,
68
71
  structure: Increase::Models::Entity::structure,
69
72
  supplemental_documents: ::Array[Increase::EntitySupplementalDocument],
73
+ terms_agreements: ::Array[Increase::Entity::TermsAgreement],
70
74
  third_party_verification: Increase::Entity::ThirdPartyVerification?,
71
75
  trust: Increase::Entity::Trust?,
72
76
  type: Increase::Models::Entity::type_
@@ -86,6 +90,7 @@ module Increase
86
90
  status: Increase::Models::Entity::status,
87
91
  structure: Increase::Models::Entity::structure,
88
92
  supplemental_documents: ::Array[Increase::EntitySupplementalDocument],
93
+ terms_agreements: ::Array[Increase::Entity::TermsAgreement],
89
94
  third_party_verification: Increase::Entity::ThirdPartyVerification?,
90
95
  trust: Increase::Entity::Trust?,
91
96
  type: Increase::Models::Entity::type_
@@ -799,6 +804,29 @@ module Increase
799
804
  def self?.values: -> ::Array[Increase::Models::Entity::structure]
800
805
  end
801
806
 
807
+ type terms_agreement =
808
+ { agreed_at: Time, ip_address: String, terms_url: String }
809
+
810
+ class TermsAgreement < Increase::Internal::Type::BaseModel
811
+ attr_accessor agreed_at: Time
812
+
813
+ attr_accessor ip_address: String
814
+
815
+ attr_accessor terms_url: String
816
+
817
+ def initialize: (
818
+ agreed_at: Time,
819
+ ip_address: String,
820
+ terms_url: String
821
+ ) -> void
822
+
823
+ def to_hash: -> {
824
+ agreed_at: Time,
825
+ ip_address: String,
826
+ terms_url: String
827
+ }
828
+ end
829
+
802
830
  type third_party_verification =
803
831
  {
804
832
  reference: String,
@@ -10,6 +10,7 @@ module Increase
10
10
  natural_person: Increase::EntityCreateParams::NaturalPerson,
11
11
  risk_rating: Increase::EntityCreateParams::RiskRating,
12
12
  supplemental_documents: ::Array[Increase::EntityCreateParams::SupplementalDocument],
13
+ terms_agreements: ::Array[Increase::EntityCreateParams::TermsAgreement],
13
14
  third_party_verification: Increase::EntityCreateParams::ThirdPartyVerification,
14
15
  trust: Increase::EntityCreateParams::Trust
15
16
  }
@@ -61,6 +62,12 @@ module Increase
61
62
  ::Array[Increase::EntityCreateParams::SupplementalDocument]
62
63
  ) -> ::Array[Increase::EntityCreateParams::SupplementalDocument]
63
64
 
65
+ attr_reader terms_agreements: ::Array[Increase::EntityCreateParams::TermsAgreement]?
66
+
67
+ def terms_agreements=: (
68
+ ::Array[Increase::EntityCreateParams::TermsAgreement]
69
+ ) -> ::Array[Increase::EntityCreateParams::TermsAgreement]
70
+
64
71
  attr_reader third_party_verification: Increase::EntityCreateParams::ThirdPartyVerification?
65
72
 
66
73
  def third_party_verification=: (
@@ -82,6 +89,7 @@ module Increase
82
89
  ?natural_person: Increase::EntityCreateParams::NaturalPerson,
83
90
  ?risk_rating: Increase::EntityCreateParams::RiskRating,
84
91
  ?supplemental_documents: ::Array[Increase::EntityCreateParams::SupplementalDocument],
92
+ ?terms_agreements: ::Array[Increase::EntityCreateParams::TermsAgreement],
85
93
  ?third_party_verification: Increase::EntityCreateParams::ThirdPartyVerification,
86
94
  ?trust: Increase::EntityCreateParams::Trust,
87
95
  ?request_options: Increase::request_opts
@@ -96,6 +104,7 @@ module Increase
96
104
  natural_person: Increase::EntityCreateParams::NaturalPerson,
97
105
  risk_rating: Increase::EntityCreateParams::RiskRating,
98
106
  supplemental_documents: ::Array[Increase::EntityCreateParams::SupplementalDocument],
107
+ terms_agreements: ::Array[Increase::EntityCreateParams::TermsAgreement],
99
108
  third_party_verification: Increase::EntityCreateParams::ThirdPartyVerification,
100
109
  trust: Increase::EntityCreateParams::Trust,
101
110
  request_options: Increase::RequestOptions
@@ -1248,6 +1257,29 @@ module Increase
1248
1257
  def to_hash: -> { file_id: String }
1249
1258
  end
1250
1259
 
1260
+ type terms_agreement =
1261
+ { agreed_at: Time, ip_address: String, terms_url: String }
1262
+
1263
+ class TermsAgreement < Increase::Internal::Type::BaseModel
1264
+ attr_accessor agreed_at: Time
1265
+
1266
+ attr_accessor ip_address: String
1267
+
1268
+ attr_accessor terms_url: String
1269
+
1270
+ def initialize: (
1271
+ agreed_at: Time,
1272
+ ip_address: String,
1273
+ terms_url: String
1274
+ ) -> void
1275
+
1276
+ def to_hash: -> {
1277
+ agreed_at: Time,
1278
+ ip_address: String,
1279
+ terms_url: String
1280
+ }
1281
+ end
1282
+
1251
1283
  type third_party_verification =
1252
1284
  {
1253
1285
  reference: String,
@@ -10,6 +10,7 @@ module Increase
10
10
  ?natural_person: Increase::EntityCreateParams::NaturalPerson,
11
11
  ?risk_rating: Increase::EntityCreateParams::RiskRating,
12
12
  ?supplemental_documents: ::Array[Increase::EntityCreateParams::SupplementalDocument],
13
+ ?terms_agreements: ::Array[Increase::EntityCreateParams::TermsAgreement],
13
14
  ?third_party_verification: Increase::EntityCreateParams::ThirdPartyVerification,
14
15
  ?trust: Increase::EntityCreateParams::Trust,
15
16
  ?request_options: Increase::request_opts
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.171.0
4
+ version: 1.173.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-01-05 00:00:00.000000000 Z
11
+ date: 2026-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool