increase 1.180.0 → 1.182.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/digital_wallet_token.rb +33 -1
- data/lib/increase/models/unwrap_webhook_event.rb +395 -2
- data/lib/increase/models.rb +0 -1
- data/lib/increase/resources/events.rb +1 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/digital_wallet_token.rbi +60 -0
- data/rbi/increase/models/unwrap_webhook_event.rbi +838 -1
- data/rbi/increase/models.rbi +1 -5
- data/rbi/increase/resources/events.rbi +1 -1
- data/sig/increase/models/digital_wallet_token.rbs +18 -0
- data/sig/increase/models/unwrap_webhook_event.rbs +471 -1
- data/sig/increase/models.rbs +1 -1
- data/sig/increase/resources/events.rbs +1 -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: 500f8416dba418ee450529fb8c0195637744db9ff47822396c5f1dd1284cf133
|
|
4
|
+
data.tar.gz: e3d54b0a36ef85a5f9f57426012d07a99b23ad6ef30e5260147963ea3d632f49
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 34d29f5a78b9bb649d8719bf981f9eb53a08f8b0e05e9870257c56ca5501141b63ec0adf10e6e2821aa8c7d3bffec93f7eb8bfe8f5f0d2bd90169c46e0b2a044
|
|
7
|
+
data.tar.gz: 22599131656c8364665f1cf5eda3b4cbd593c6b73c0c509aa09e1bf47ecced5c63034753ca80366f28c23e66f9f71585596e996fefedb9cb0c08f5d81932ebdb
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.182.0 (2026-01-23)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.181.0...v1.182.0](https://github.com/Increase/increase-ruby/compare/v1.181.0...v1.182.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([2716e55](https://github.com/Increase/increase-ruby/commit/2716e5520c441409cc52ee168796741d9d8e3fb2))
|
|
10
|
+
|
|
11
|
+
## 1.181.0 (2026-01-23)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v1.180.0...v1.181.0](https://github.com/Increase/increase-ruby/compare/v1.180.0...v1.181.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([2c2739e](https://github.com/Increase/increase-ruby/commit/2c2739ee824cba0971576e7d95b14073034527c6))
|
|
18
|
+
|
|
3
19
|
## 1.180.0 (2026-01-23)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v1.179.0...v1.180.0](https://github.com/Increase/increase-ruby/compare/v1.179.0...v1.180.0)
|
data/README.md
CHANGED
|
@@ -35,6 +35,14 @@ module Increase
|
|
|
35
35
|
# @return [Increase::Models::DigitalWalletToken::Device]
|
|
36
36
|
required :device, -> { Increase::DigitalWalletToken::Device }
|
|
37
37
|
|
|
38
|
+
# @!attribute dynamic_primary_account_number
|
|
39
|
+
# The redacted Dynamic Primary Account Number.
|
|
40
|
+
#
|
|
41
|
+
# @return [Increase::Models::DigitalWalletToken::DynamicPrimaryAccountNumber, nil]
|
|
42
|
+
required :dynamic_primary_account_number,
|
|
43
|
+
-> { Increase::DigitalWalletToken::DynamicPrimaryAccountNumber },
|
|
44
|
+
nil?: true
|
|
45
|
+
|
|
38
46
|
# @!attribute status
|
|
39
47
|
# This indicates if payments can be made with the Digital Wallet Token.
|
|
40
48
|
#
|
|
@@ -60,7 +68,7 @@ module Increase
|
|
|
60
68
|
# @return [Array<Increase::Models::DigitalWalletToken::Update>]
|
|
61
69
|
required :updates, -> { Increase::Internal::Type::ArrayOf[Increase::DigitalWalletToken::Update] }
|
|
62
70
|
|
|
63
|
-
# @!method initialize(id:, card_id:, cardholder:, created_at:, device:, status:, token_requestor:, type:, updates:)
|
|
71
|
+
# @!method initialize(id:, card_id:, cardholder:, created_at:, device:, dynamic_primary_account_number:, status:, token_requestor:, type:, updates:)
|
|
64
72
|
# Some parameter documentations has been truncated, see
|
|
65
73
|
# {Increase::Models::DigitalWalletToken} for more details.
|
|
66
74
|
#
|
|
@@ -78,6 +86,8 @@ module Increase
|
|
|
78
86
|
#
|
|
79
87
|
# @param device [Increase::Models::DigitalWalletToken::Device] The device that was used to create the Digital Wallet Token.
|
|
80
88
|
#
|
|
89
|
+
# @param dynamic_primary_account_number [Increase::Models::DigitalWalletToken::DynamicPrimaryAccountNumber, nil] The redacted Dynamic Primary Account Number.
|
|
90
|
+
#
|
|
81
91
|
# @param status [Symbol, Increase::Models::DigitalWalletToken::Status] This indicates if payments can be made with the Digital Wallet Token.
|
|
82
92
|
#
|
|
83
93
|
# @param token_requestor [Symbol, Increase::Models::DigitalWalletToken::TokenRequestor] The digital wallet app being used.
|
|
@@ -175,6 +185,28 @@ module Increase
|
|
|
175
185
|
end
|
|
176
186
|
end
|
|
177
187
|
|
|
188
|
+
# @see Increase::Models::DigitalWalletToken#dynamic_primary_account_number
|
|
189
|
+
class DynamicPrimaryAccountNumber < Increase::Internal::Type::BaseModel
|
|
190
|
+
# @!attribute first6
|
|
191
|
+
# The first 6 digits of the token's Dynamic Primary Account Number.
|
|
192
|
+
#
|
|
193
|
+
# @return [String]
|
|
194
|
+
required :first6, String
|
|
195
|
+
|
|
196
|
+
# @!attribute last4
|
|
197
|
+
# The last 4 digits of the token's Dynamic Primary Account Number.
|
|
198
|
+
#
|
|
199
|
+
# @return [String]
|
|
200
|
+
required :last4, String
|
|
201
|
+
|
|
202
|
+
# @!method initialize(first6:, last4:)
|
|
203
|
+
# The redacted Dynamic Primary Account Number.
|
|
204
|
+
#
|
|
205
|
+
# @param first6 [String] The first 6 digits of the token's Dynamic Primary Account Number.
|
|
206
|
+
#
|
|
207
|
+
# @param last4 [String] The last 4 digits of the token's Dynamic Primary Account Number.
|
|
208
|
+
end
|
|
209
|
+
|
|
178
210
|
# This indicates if payments can be made with the Digital Wallet Token.
|
|
179
211
|
#
|
|
180
212
|
# @see Increase::Models::DigitalWalletToken#status
|
|
@@ -2,7 +2,400 @@
|
|
|
2
2
|
|
|
3
3
|
module Increase
|
|
4
4
|
module Models
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
class UnwrapWebhookEvent < Increase::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute id
|
|
7
|
+
# The Event identifier.
|
|
8
|
+
#
|
|
9
|
+
# @return [String]
|
|
10
|
+
required :id, String
|
|
11
|
+
|
|
12
|
+
# @!attribute associated_object_id
|
|
13
|
+
# The identifier of the object that generated this Event.
|
|
14
|
+
#
|
|
15
|
+
# @return [String]
|
|
16
|
+
required :associated_object_id, String
|
|
17
|
+
|
|
18
|
+
# @!attribute associated_object_type
|
|
19
|
+
# The type of the object that generated this Event.
|
|
20
|
+
#
|
|
21
|
+
# @return [String]
|
|
22
|
+
required :associated_object_type, String
|
|
23
|
+
|
|
24
|
+
# @!attribute category
|
|
25
|
+
# The category of the Event. We may add additional possible values for this enum
|
|
26
|
+
# over time; your application should be able to handle such additions gracefully.
|
|
27
|
+
#
|
|
28
|
+
# @return [Symbol, Increase::Models::UnwrapWebhookEvent::Category]
|
|
29
|
+
required :category, enum: -> { Increase::UnwrapWebhookEvent::Category }
|
|
30
|
+
|
|
31
|
+
# @!attribute created_at
|
|
32
|
+
# The time the Event was created.
|
|
33
|
+
#
|
|
34
|
+
# @return [Time]
|
|
35
|
+
required :created_at, Time
|
|
36
|
+
|
|
37
|
+
# @!attribute type
|
|
38
|
+
# A constant representing the object's type. For this resource it will always be
|
|
39
|
+
# `event`.
|
|
40
|
+
#
|
|
41
|
+
# @return [Symbol, Increase::Models::UnwrapWebhookEvent::Type]
|
|
42
|
+
required :type, enum: -> { Increase::UnwrapWebhookEvent::Type }
|
|
43
|
+
|
|
44
|
+
# @!method initialize(id:, associated_object_id:, associated_object_type:, category:, created_at:, type:)
|
|
45
|
+
# Some parameter documentations has been truncated, see
|
|
46
|
+
# {Increase::Models::UnwrapWebhookEvent} for more details.
|
|
47
|
+
#
|
|
48
|
+
# Events are records of things that happened to objects at Increase. Events are
|
|
49
|
+
# accessible via the List Events endpoint and can be delivered to your application
|
|
50
|
+
# via webhooks. For more information, see our
|
|
51
|
+
# [webhooks guide](https://increase.com/documentation/webhooks).
|
|
52
|
+
#
|
|
53
|
+
# @param id [String] The Event identifier.
|
|
54
|
+
#
|
|
55
|
+
# @param associated_object_id [String] The identifier of the object that generated this Event.
|
|
56
|
+
#
|
|
57
|
+
# @param associated_object_type [String] The type of the object that generated this Event.
|
|
58
|
+
#
|
|
59
|
+
# @param category [Symbol, Increase::Models::UnwrapWebhookEvent::Category] The category of the Event. We may add additional possible values for this enum o
|
|
60
|
+
#
|
|
61
|
+
# @param created_at [Time] The time the Event was created.
|
|
62
|
+
#
|
|
63
|
+
# @param type [Symbol, Increase::Models::UnwrapWebhookEvent::Type] A constant representing the object's type. For this resource it will always be `
|
|
64
|
+
|
|
65
|
+
# The category of the Event. We may add additional possible values for this enum
|
|
66
|
+
# over time; your application should be able to handle such additions gracefully.
|
|
67
|
+
#
|
|
68
|
+
# @see Increase::Models::UnwrapWebhookEvent#category
|
|
69
|
+
module Category
|
|
70
|
+
extend Increase::Internal::Type::Enum
|
|
71
|
+
|
|
72
|
+
# Occurs whenever an Account is created.
|
|
73
|
+
ACCOUNT_CREATED = :"account.created"
|
|
74
|
+
|
|
75
|
+
# Occurs whenever an Account is updated.
|
|
76
|
+
ACCOUNT_UPDATED = :"account.updated"
|
|
77
|
+
|
|
78
|
+
# Occurs whenever an Account Number is created.
|
|
79
|
+
ACCOUNT_NUMBER_CREATED = :"account_number.created"
|
|
80
|
+
|
|
81
|
+
# Occurs whenever an Account Number is updated.
|
|
82
|
+
ACCOUNT_NUMBER_UPDATED = :"account_number.updated"
|
|
83
|
+
|
|
84
|
+
# Occurs whenever an Account Statement is created.
|
|
85
|
+
ACCOUNT_STATEMENT_CREATED = :"account_statement.created"
|
|
86
|
+
|
|
87
|
+
# Occurs whenever an Account Transfer is created.
|
|
88
|
+
ACCOUNT_TRANSFER_CREATED = :"account_transfer.created"
|
|
89
|
+
|
|
90
|
+
# Occurs whenever an Account Transfer is updated.
|
|
91
|
+
ACCOUNT_TRANSFER_UPDATED = :"account_transfer.updated"
|
|
92
|
+
|
|
93
|
+
# Occurs whenever an ACH Prenotification is created.
|
|
94
|
+
ACH_PRENOTIFICATION_CREATED = :"ach_prenotification.created"
|
|
95
|
+
|
|
96
|
+
# Occurs whenever an ACH Prenotification is updated.
|
|
97
|
+
ACH_PRENOTIFICATION_UPDATED = :"ach_prenotification.updated"
|
|
98
|
+
|
|
99
|
+
# Occurs whenever an ACH Transfer is created.
|
|
100
|
+
ACH_TRANSFER_CREATED = :"ach_transfer.created"
|
|
101
|
+
|
|
102
|
+
# Occurs whenever an ACH Transfer is updated.
|
|
103
|
+
ACH_TRANSFER_UPDATED = :"ach_transfer.updated"
|
|
104
|
+
|
|
105
|
+
# Occurs whenever a Bookkeeping Account is created.
|
|
106
|
+
BOOKKEEPING_ACCOUNT_CREATED = :"bookkeeping_account.created"
|
|
107
|
+
|
|
108
|
+
# Occurs whenever a Bookkeeping Account is updated.
|
|
109
|
+
BOOKKEEPING_ACCOUNT_UPDATED = :"bookkeeping_account.updated"
|
|
110
|
+
|
|
111
|
+
# Occurs whenever a Bookkeeping Entry Set is created.
|
|
112
|
+
BOOKKEEPING_ENTRY_SET_UPDATED = :"bookkeeping_entry_set.updated"
|
|
113
|
+
|
|
114
|
+
# Occurs whenever a Card is created.
|
|
115
|
+
CARD_CREATED = :"card.created"
|
|
116
|
+
|
|
117
|
+
# Occurs whenever a Card is updated.
|
|
118
|
+
CARD_UPDATED = :"card.updated"
|
|
119
|
+
|
|
120
|
+
# Occurs whenever a Card Payment is created.
|
|
121
|
+
CARD_PAYMENT_CREATED = :"card_payment.created"
|
|
122
|
+
|
|
123
|
+
# Occurs whenever a Card Payment is updated.
|
|
124
|
+
CARD_PAYMENT_UPDATED = :"card_payment.updated"
|
|
125
|
+
|
|
126
|
+
# Occurs whenever a Card Profile is created.
|
|
127
|
+
CARD_PROFILE_CREATED = :"card_profile.created"
|
|
128
|
+
|
|
129
|
+
# Occurs whenever a Card Profile is updated.
|
|
130
|
+
CARD_PROFILE_UPDATED = :"card_profile.updated"
|
|
131
|
+
|
|
132
|
+
# Occurs whenever a Card Dispute is created.
|
|
133
|
+
CARD_DISPUTE_CREATED = :"card_dispute.created"
|
|
134
|
+
|
|
135
|
+
# Occurs whenever a Card Dispute is updated.
|
|
136
|
+
CARD_DISPUTE_UPDATED = :"card_dispute.updated"
|
|
137
|
+
|
|
138
|
+
# Occurs whenever a Check Deposit is created.
|
|
139
|
+
CHECK_DEPOSIT_CREATED = :"check_deposit.created"
|
|
140
|
+
|
|
141
|
+
# Occurs whenever a Check Deposit is updated.
|
|
142
|
+
CHECK_DEPOSIT_UPDATED = :"check_deposit.updated"
|
|
143
|
+
|
|
144
|
+
# Occurs whenever a Check Transfer is created.
|
|
145
|
+
CHECK_TRANSFER_CREATED = :"check_transfer.created"
|
|
146
|
+
|
|
147
|
+
# Occurs whenever a Check Transfer is updated.
|
|
148
|
+
CHECK_TRANSFER_UPDATED = :"check_transfer.updated"
|
|
149
|
+
|
|
150
|
+
# Occurs whenever a Declined Transaction is created.
|
|
151
|
+
DECLINED_TRANSACTION_CREATED = :"declined_transaction.created"
|
|
152
|
+
|
|
153
|
+
# Occurs whenever a Digital Card Profile is created.
|
|
154
|
+
DIGITAL_CARD_PROFILE_CREATED = :"digital_card_profile.created"
|
|
155
|
+
|
|
156
|
+
# Occurs whenever a Digital Card Profile is updated.
|
|
157
|
+
DIGITAL_CARD_PROFILE_UPDATED = :"digital_card_profile.updated"
|
|
158
|
+
|
|
159
|
+
# Occurs whenever a Digital Wallet Token is created.
|
|
160
|
+
DIGITAL_WALLET_TOKEN_CREATED = :"digital_wallet_token.created"
|
|
161
|
+
|
|
162
|
+
# Occurs whenever a Digital Wallet Token is updated.
|
|
163
|
+
DIGITAL_WALLET_TOKEN_UPDATED = :"digital_wallet_token.updated"
|
|
164
|
+
|
|
165
|
+
# Occurs whenever a Document is created.
|
|
166
|
+
DOCUMENT_CREATED = :"document.created"
|
|
167
|
+
|
|
168
|
+
# Occurs whenever an Entity is created.
|
|
169
|
+
ENTITY_CREATED = :"entity.created"
|
|
170
|
+
|
|
171
|
+
# Occurs whenever an Entity is updated.
|
|
172
|
+
ENTITY_UPDATED = :"entity.updated"
|
|
173
|
+
|
|
174
|
+
# Occurs whenever an Event Subscription is created.
|
|
175
|
+
EVENT_SUBSCRIPTION_CREATED = :"event_subscription.created"
|
|
176
|
+
|
|
177
|
+
# Occurs whenever an Event Subscription is updated.
|
|
178
|
+
EVENT_SUBSCRIPTION_UPDATED = :"event_subscription.updated"
|
|
179
|
+
|
|
180
|
+
# Occurs whenever an Export is created.
|
|
181
|
+
EXPORT_CREATED = :"export.created"
|
|
182
|
+
|
|
183
|
+
# Occurs whenever an Export is updated.
|
|
184
|
+
EXPORT_UPDATED = :"export.updated"
|
|
185
|
+
|
|
186
|
+
# Occurs whenever an External Account is created.
|
|
187
|
+
EXTERNAL_ACCOUNT_CREATED = :"external_account.created"
|
|
188
|
+
|
|
189
|
+
# Occurs whenever an External Account is updated.
|
|
190
|
+
EXTERNAL_ACCOUNT_UPDATED = :"external_account.updated"
|
|
191
|
+
|
|
192
|
+
# Occurs whenever a FedNow Transfer is created.
|
|
193
|
+
FEDNOW_TRANSFER_CREATED = :"fednow_transfer.created"
|
|
194
|
+
|
|
195
|
+
# Occurs whenever a FedNow Transfer is updated.
|
|
196
|
+
FEDNOW_TRANSFER_UPDATED = :"fednow_transfer.updated"
|
|
197
|
+
|
|
198
|
+
# Occurs whenever a File is created.
|
|
199
|
+
FILE_CREATED = :"file.created"
|
|
200
|
+
|
|
201
|
+
# Occurs whenever a Group is updated.
|
|
202
|
+
GROUP_UPDATED = :"group.updated"
|
|
203
|
+
|
|
204
|
+
# Increase may send webhooks with this category to see if a webhook endpoint is working properly.
|
|
205
|
+
GROUP_HEARTBEAT = :"group.heartbeat"
|
|
206
|
+
|
|
207
|
+
# Occurs whenever an Inbound ACH Transfer is created.
|
|
208
|
+
INBOUND_ACH_TRANSFER_CREATED = :"inbound_ach_transfer.created"
|
|
209
|
+
|
|
210
|
+
# Occurs whenever an Inbound ACH Transfer is updated.
|
|
211
|
+
INBOUND_ACH_TRANSFER_UPDATED = :"inbound_ach_transfer.updated"
|
|
212
|
+
|
|
213
|
+
# Occurs whenever an Inbound ACH Transfer Return is created.
|
|
214
|
+
INBOUND_ACH_TRANSFER_RETURN_CREATED = :"inbound_ach_transfer_return.created"
|
|
215
|
+
|
|
216
|
+
# Occurs whenever an Inbound ACH Transfer Return is updated.
|
|
217
|
+
INBOUND_ACH_TRANSFER_RETURN_UPDATED = :"inbound_ach_transfer_return.updated"
|
|
218
|
+
|
|
219
|
+
# Occurs whenever an Inbound Check Deposit is created.
|
|
220
|
+
INBOUND_CHECK_DEPOSIT_CREATED = :"inbound_check_deposit.created"
|
|
221
|
+
|
|
222
|
+
# Occurs whenever an Inbound Check Deposit is updated.
|
|
223
|
+
INBOUND_CHECK_DEPOSIT_UPDATED = :"inbound_check_deposit.updated"
|
|
224
|
+
|
|
225
|
+
# Occurs whenever an Inbound FedNow Transfer is created.
|
|
226
|
+
INBOUND_FEDNOW_TRANSFER_CREATED = :"inbound_fednow_transfer.created"
|
|
227
|
+
|
|
228
|
+
# Occurs whenever an Inbound FedNow Transfer is updated.
|
|
229
|
+
INBOUND_FEDNOW_TRANSFER_UPDATED = :"inbound_fednow_transfer.updated"
|
|
230
|
+
|
|
231
|
+
# Occurs whenever an Inbound Mail Item is created.
|
|
232
|
+
INBOUND_MAIL_ITEM_CREATED = :"inbound_mail_item.created"
|
|
233
|
+
|
|
234
|
+
# Occurs whenever an Inbound Mail Item is updated.
|
|
235
|
+
INBOUND_MAIL_ITEM_UPDATED = :"inbound_mail_item.updated"
|
|
236
|
+
|
|
237
|
+
# Occurs whenever an Inbound Real-Time Payments Transfer is created.
|
|
238
|
+
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED = :"inbound_real_time_payments_transfer.created"
|
|
239
|
+
|
|
240
|
+
# Occurs whenever an Inbound Real-Time Payments Transfer is updated.
|
|
241
|
+
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_UPDATED = :"inbound_real_time_payments_transfer.updated"
|
|
242
|
+
|
|
243
|
+
# Occurs whenever an Inbound Wire Drawdown Request is created.
|
|
244
|
+
INBOUND_WIRE_DRAWDOWN_REQUEST_CREATED = :"inbound_wire_drawdown_request.created"
|
|
245
|
+
|
|
246
|
+
# Occurs whenever an Inbound Wire Transfer is created.
|
|
247
|
+
INBOUND_WIRE_TRANSFER_CREATED = :"inbound_wire_transfer.created"
|
|
248
|
+
|
|
249
|
+
# Occurs whenever an Inbound Wire Transfer is updated.
|
|
250
|
+
INBOUND_WIRE_TRANSFER_UPDATED = :"inbound_wire_transfer.updated"
|
|
251
|
+
|
|
252
|
+
# Occurs whenever an IntraFi Account Enrollment is created.
|
|
253
|
+
INTRAFI_ACCOUNT_ENROLLMENT_CREATED = :"intrafi_account_enrollment.created"
|
|
254
|
+
|
|
255
|
+
# Occurs whenever an IntraFi Account Enrollment is updated.
|
|
256
|
+
INTRAFI_ACCOUNT_ENROLLMENT_UPDATED = :"intrafi_account_enrollment.updated"
|
|
257
|
+
|
|
258
|
+
# Occurs whenever an IntraFi Exclusion is created.
|
|
259
|
+
INTRAFI_EXCLUSION_CREATED = :"intrafi_exclusion.created"
|
|
260
|
+
|
|
261
|
+
# Occurs whenever an IntraFi Exclusion is updated.
|
|
262
|
+
INTRAFI_EXCLUSION_UPDATED = :"intrafi_exclusion.updated"
|
|
263
|
+
|
|
264
|
+
# Occurs whenever a Legacy Card Dispute is created.
|
|
265
|
+
LEGACY_CARD_DISPUTE_CREATED = :"legacy_card_dispute.created"
|
|
266
|
+
|
|
267
|
+
# Occurs whenever a Legacy Card Dispute is updated.
|
|
268
|
+
LEGACY_CARD_DISPUTE_UPDATED = :"legacy_card_dispute.updated"
|
|
269
|
+
|
|
270
|
+
# Occurs whenever a Lockbox is created.
|
|
271
|
+
LOCKBOX_CREATED = :"lockbox.created"
|
|
272
|
+
|
|
273
|
+
# Occurs whenever a Lockbox is updated.
|
|
274
|
+
LOCKBOX_UPDATED = :"lockbox.updated"
|
|
275
|
+
|
|
276
|
+
# Occurs whenever an OAuth Connection is created.
|
|
277
|
+
OAUTH_CONNECTION_CREATED = :"oauth_connection.created"
|
|
278
|
+
|
|
279
|
+
# Occurs whenever an OAuth Connection is deactivated.
|
|
280
|
+
OAUTH_CONNECTION_DEACTIVATED = :"oauth_connection.deactivated"
|
|
281
|
+
|
|
282
|
+
# Occurs whenever a Card Push Transfer is created.
|
|
283
|
+
CARD_PUSH_TRANSFER_CREATED = :"card_push_transfer.created"
|
|
284
|
+
|
|
285
|
+
# Occurs whenever a Card Push Transfer is updated.
|
|
286
|
+
CARD_PUSH_TRANSFER_UPDATED = :"card_push_transfer.updated"
|
|
287
|
+
|
|
288
|
+
# Occurs whenever a Card Validation is created.
|
|
289
|
+
CARD_VALIDATION_CREATED = :"card_validation.created"
|
|
290
|
+
|
|
291
|
+
# Occurs whenever a Card Validation is updated.
|
|
292
|
+
CARD_VALIDATION_UPDATED = :"card_validation.updated"
|
|
293
|
+
|
|
294
|
+
# Occurs whenever a Pending Transaction is created.
|
|
295
|
+
PENDING_TRANSACTION_CREATED = :"pending_transaction.created"
|
|
296
|
+
|
|
297
|
+
# Occurs whenever a Pending Transaction is updated.
|
|
298
|
+
PENDING_TRANSACTION_UPDATED = :"pending_transaction.updated"
|
|
299
|
+
|
|
300
|
+
# Occurs whenever a Physical Card is created.
|
|
301
|
+
PHYSICAL_CARD_CREATED = :"physical_card.created"
|
|
302
|
+
|
|
303
|
+
# Occurs whenever a Physical Card is updated.
|
|
304
|
+
PHYSICAL_CARD_UPDATED = :"physical_card.updated"
|
|
305
|
+
|
|
306
|
+
# Occurs whenever a Physical Card Profile is created.
|
|
307
|
+
PHYSICAL_CARD_PROFILE_CREATED = :"physical_card_profile.created"
|
|
308
|
+
|
|
309
|
+
# Occurs whenever a Physical Card Profile is updated.
|
|
310
|
+
PHYSICAL_CARD_PROFILE_UPDATED = :"physical_card_profile.updated"
|
|
311
|
+
|
|
312
|
+
# Occurs whenever a Physical Check is created.
|
|
313
|
+
PHYSICAL_CHECK_CREATED = :"physical_check.created"
|
|
314
|
+
|
|
315
|
+
# Occurs whenever a Physical Check is updated.
|
|
316
|
+
PHYSICAL_CHECK_UPDATED = :"physical_check.updated"
|
|
317
|
+
|
|
318
|
+
# Occurs whenever a Program is created.
|
|
319
|
+
PROGRAM_CREATED = :"program.created"
|
|
320
|
+
|
|
321
|
+
# Occurs whenever a Program is updated.
|
|
322
|
+
PROGRAM_UPDATED = :"program.updated"
|
|
323
|
+
|
|
324
|
+
# Occurs whenever a Proof of Authorization Request is created.
|
|
325
|
+
PROOF_OF_AUTHORIZATION_REQUEST_CREATED = :"proof_of_authorization_request.created"
|
|
326
|
+
|
|
327
|
+
# Occurs whenever a Proof of Authorization Request is updated.
|
|
328
|
+
PROOF_OF_AUTHORIZATION_REQUEST_UPDATED = :"proof_of_authorization_request.updated"
|
|
329
|
+
|
|
330
|
+
# Occurs whenever a Real-Time Decision is created in response to a card authorization.
|
|
331
|
+
REAL_TIME_DECISION_CARD_AUTHORIZATION_REQUESTED = :"real_time_decision.card_authorization_requested"
|
|
332
|
+
|
|
333
|
+
# Occurs whenever a Real-Time Decision is created in response to a card balance inquiry.
|
|
334
|
+
REAL_TIME_DECISION_CARD_BALANCE_INQUIRY_REQUESTED = :"real_time_decision.card_balance_inquiry_requested"
|
|
335
|
+
|
|
336
|
+
# Occurs whenever a Real-Time Decision is created in response to a digital wallet provisioning attempt.
|
|
337
|
+
REAL_TIME_DECISION_DIGITAL_WALLET_TOKEN_REQUESTED = :"real_time_decision.digital_wallet_token_requested"
|
|
338
|
+
|
|
339
|
+
# Occurs whenever a Real-Time Decision is created in response to a digital wallet requiring two-factor authentication.
|
|
340
|
+
REAL_TIME_DECISION_DIGITAL_WALLET_AUTHENTICATION_REQUESTED =
|
|
341
|
+
:"real_time_decision.digital_wallet_authentication_requested"
|
|
342
|
+
|
|
343
|
+
# Occurs whenever a Real-Time Decision is created in response to 3DS authentication.
|
|
344
|
+
REAL_TIME_DECISION_CARD_AUTHENTICATION_REQUESTED = :"real_time_decision.card_authentication_requested"
|
|
345
|
+
|
|
346
|
+
# Occurs whenever a Real-Time Decision is created in response to 3DS authentication challenges.
|
|
347
|
+
REAL_TIME_DECISION_CARD_AUTHENTICATION_CHALLENGE_REQUESTED =
|
|
348
|
+
:"real_time_decision.card_authentication_challenge_requested"
|
|
349
|
+
|
|
350
|
+
# Occurs whenever a Real-Time Payments Transfer is created.
|
|
351
|
+
REAL_TIME_PAYMENTS_TRANSFER_CREATED = :"real_time_payments_transfer.created"
|
|
352
|
+
|
|
353
|
+
# Occurs whenever a Real-Time Payments Transfer is updated.
|
|
354
|
+
REAL_TIME_PAYMENTS_TRANSFER_UPDATED = :"real_time_payments_transfer.updated"
|
|
355
|
+
|
|
356
|
+
# Occurs whenever a Real-Time Payments Request for Payment is created.
|
|
357
|
+
REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED = :"real_time_payments_request_for_payment.created"
|
|
358
|
+
|
|
359
|
+
# Occurs whenever a Real-Time Payments Request for Payment is updated.
|
|
360
|
+
REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED = :"real_time_payments_request_for_payment.updated"
|
|
361
|
+
|
|
362
|
+
# Occurs whenever a Swift Transfer is created.
|
|
363
|
+
SWIFT_TRANSFER_CREATED = :"swift_transfer.created"
|
|
364
|
+
|
|
365
|
+
# Occurs whenever a Swift Transfer is updated.
|
|
366
|
+
SWIFT_TRANSFER_UPDATED = :"swift_transfer.updated"
|
|
367
|
+
|
|
368
|
+
# Occurs whenever a Transaction is created.
|
|
369
|
+
TRANSACTION_CREATED = :"transaction.created"
|
|
370
|
+
|
|
371
|
+
# Occurs whenever a Wire Drawdown Request is created.
|
|
372
|
+
WIRE_DRAWDOWN_REQUEST_CREATED = :"wire_drawdown_request.created"
|
|
373
|
+
|
|
374
|
+
# Occurs whenever a Wire Drawdown Request is updated.
|
|
375
|
+
WIRE_DRAWDOWN_REQUEST_UPDATED = :"wire_drawdown_request.updated"
|
|
376
|
+
|
|
377
|
+
# Occurs whenever a Wire Transfer is created.
|
|
378
|
+
WIRE_TRANSFER_CREATED = :"wire_transfer.created"
|
|
379
|
+
|
|
380
|
+
# Occurs whenever a Wire Transfer is updated.
|
|
381
|
+
WIRE_TRANSFER_UPDATED = :"wire_transfer.updated"
|
|
382
|
+
|
|
383
|
+
# @!method self.values
|
|
384
|
+
# @return [Array<Symbol>]
|
|
385
|
+
end
|
|
386
|
+
|
|
387
|
+
# A constant representing the object's type. For this resource it will always be
|
|
388
|
+
# `event`.
|
|
389
|
+
#
|
|
390
|
+
# @see Increase::Models::UnwrapWebhookEvent#type
|
|
391
|
+
module Type
|
|
392
|
+
extend Increase::Internal::Type::Enum
|
|
393
|
+
|
|
394
|
+
EVENT = :event
|
|
395
|
+
|
|
396
|
+
# @!method self.values
|
|
397
|
+
# @return [Array<Symbol>]
|
|
398
|
+
end
|
|
399
|
+
end
|
|
7
400
|
end
|
|
8
401
|
end
|
data/lib/increase/models.rb
CHANGED
|
@@ -529,7 +529,6 @@ module Increase
|
|
|
529
529
|
|
|
530
530
|
TransactionRetrieveParams = Increase::Models::TransactionRetrieveParams
|
|
531
531
|
|
|
532
|
-
# @type [Increase::Internal::Type::Converter]
|
|
533
532
|
UnwrapWebhookEvent = Increase::Models::UnwrapWebhookEvent
|
|
534
533
|
|
|
535
534
|
WireDrawdownRequest = Increase::Models::WireDrawdownRequest
|
|
@@ -59,7 +59,7 @@ module Increase
|
|
|
59
59
|
|
|
60
60
|
# @param payload [String] The raw webhook payload as a string
|
|
61
61
|
#
|
|
62
|
-
# @return [
|
|
62
|
+
# @return [Increase::Models::UnwrapWebhookEvent]
|
|
63
63
|
def unwrap(payload)
|
|
64
64
|
parsed = JSON.parse(payload, symbolize_names: true)
|
|
65
65
|
Increase::Internal::Type::Converter.coerce(Increase::Models::UnwrapWebhookEvent, parsed)
|
data/lib/increase/version.rb
CHANGED
|
@@ -39,6 +39,24 @@ module Increase
|
|
|
39
39
|
sig { params(device: Increase::DigitalWalletToken::Device::OrHash).void }
|
|
40
40
|
attr_writer :device
|
|
41
41
|
|
|
42
|
+
# The redacted Dynamic Primary Account Number.
|
|
43
|
+
sig do
|
|
44
|
+
returns(
|
|
45
|
+
T.nilable(Increase::DigitalWalletToken::DynamicPrimaryAccountNumber)
|
|
46
|
+
)
|
|
47
|
+
end
|
|
48
|
+
attr_reader :dynamic_primary_account_number
|
|
49
|
+
|
|
50
|
+
sig do
|
|
51
|
+
params(
|
|
52
|
+
dynamic_primary_account_number:
|
|
53
|
+
T.nilable(
|
|
54
|
+
Increase::DigitalWalletToken::DynamicPrimaryAccountNumber::OrHash
|
|
55
|
+
)
|
|
56
|
+
).void
|
|
57
|
+
end
|
|
58
|
+
attr_writer :dynamic_primary_account_number
|
|
59
|
+
|
|
42
60
|
# This indicates if payments can be made with the Digital Wallet Token.
|
|
43
61
|
sig { returns(Increase::DigitalWalletToken::Status::TaggedSymbol) }
|
|
44
62
|
attr_accessor :status
|
|
@@ -68,6 +86,10 @@ module Increase
|
|
|
68
86
|
cardholder: Increase::DigitalWalletToken::Cardholder::OrHash,
|
|
69
87
|
created_at: Time,
|
|
70
88
|
device: Increase::DigitalWalletToken::Device::OrHash,
|
|
89
|
+
dynamic_primary_account_number:
|
|
90
|
+
T.nilable(
|
|
91
|
+
Increase::DigitalWalletToken::DynamicPrimaryAccountNumber::OrHash
|
|
92
|
+
),
|
|
71
93
|
status: Increase::DigitalWalletToken::Status::OrSymbol,
|
|
72
94
|
token_requestor:
|
|
73
95
|
Increase::DigitalWalletToken::TokenRequestor::OrSymbol,
|
|
@@ -87,6 +109,8 @@ module Increase
|
|
|
87
109
|
created_at:,
|
|
88
110
|
# The device that was used to create the Digital Wallet Token.
|
|
89
111
|
device:,
|
|
112
|
+
# The redacted Dynamic Primary Account Number.
|
|
113
|
+
dynamic_primary_account_number:,
|
|
90
114
|
# This indicates if payments can be made with the Digital Wallet Token.
|
|
91
115
|
status:,
|
|
92
116
|
# The digital wallet app being used.
|
|
@@ -107,6 +131,10 @@ module Increase
|
|
|
107
131
|
cardholder: Increase::DigitalWalletToken::Cardholder,
|
|
108
132
|
created_at: Time,
|
|
109
133
|
device: Increase::DigitalWalletToken::Device,
|
|
134
|
+
dynamic_primary_account_number:
|
|
135
|
+
T.nilable(
|
|
136
|
+
Increase::DigitalWalletToken::DynamicPrimaryAccountNumber
|
|
137
|
+
),
|
|
110
138
|
status: Increase::DigitalWalletToken::Status::TaggedSymbol,
|
|
111
139
|
token_requestor:
|
|
112
140
|
Increase::DigitalWalletToken::TokenRequestor::TaggedSymbol,
|
|
@@ -300,6 +328,38 @@ module Increase
|
|
|
300
328
|
end
|
|
301
329
|
end
|
|
302
330
|
|
|
331
|
+
class DynamicPrimaryAccountNumber < Increase::Internal::Type::BaseModel
|
|
332
|
+
OrHash =
|
|
333
|
+
T.type_alias do
|
|
334
|
+
T.any(
|
|
335
|
+
Increase::DigitalWalletToken::DynamicPrimaryAccountNumber,
|
|
336
|
+
Increase::Internal::AnyHash
|
|
337
|
+
)
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
# The first 6 digits of the token's Dynamic Primary Account Number.
|
|
341
|
+
sig { returns(String) }
|
|
342
|
+
attr_accessor :first6
|
|
343
|
+
|
|
344
|
+
# The last 4 digits of the token's Dynamic Primary Account Number.
|
|
345
|
+
sig { returns(String) }
|
|
346
|
+
attr_accessor :last4
|
|
347
|
+
|
|
348
|
+
# The redacted Dynamic Primary Account Number.
|
|
349
|
+
sig { params(first6: String, last4: String).returns(T.attached_class) }
|
|
350
|
+
def self.new(
|
|
351
|
+
# The first 6 digits of the token's Dynamic Primary Account Number.
|
|
352
|
+
first6:,
|
|
353
|
+
# The last 4 digits of the token's Dynamic Primary Account Number.
|
|
354
|
+
last4:
|
|
355
|
+
)
|
|
356
|
+
end
|
|
357
|
+
|
|
358
|
+
sig { override.returns({ first6: String, last4: String }) }
|
|
359
|
+
def to_hash
|
|
360
|
+
end
|
|
361
|
+
end
|
|
362
|
+
|
|
303
363
|
# This indicates if payments can be made with the Digital Wallet Token.
|
|
304
364
|
module Status
|
|
305
365
|
extend Increase::Internal::Type::Enum
|