increase 1.360.0 → 1.361.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.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/ach_transfer_create_params.rb +4 -4
  4. data/lib/increase/models/digital_card_profile.rb +63 -1
  5. data/lib/increase/models/digital_card_profile_clone_params.rb +65 -1
  6. data/lib/increase/models/digital_card_profile_create_params.rb +62 -1
  7. data/lib/increase/models/event.rb +5 -2
  8. data/lib/increase/models/event_list_params.rb +5 -2
  9. data/lib/increase/models/event_subscription.rb +5 -2
  10. data/lib/increase/models/event_subscription_create_params.rb +5 -2
  11. data/lib/increase/models/inbound_real_time_payments_transfer.rb +10 -1
  12. data/lib/increase/models/unwrap_webhook_event.rb +5 -2
  13. data/lib/increase/resources/ach_transfers.rb +2 -2
  14. data/lib/increase/resources/digital_card_profiles.rb +9 -2
  15. data/lib/increase/version.rb +1 -1
  16. data/rbi/increase/models/ach_transfer_create_params.rbi +4 -4
  17. data/rbi/increase/models/digital_card_profile.rbi +137 -0
  18. data/rbi/increase/models/digital_card_profile_clone_params.rbi +166 -0
  19. data/rbi/increase/models/digital_card_profile_create_params.rbi +163 -0
  20. data/rbi/increase/models/event.rbi +10 -3
  21. data/rbi/increase/models/event_list_params.rbi +10 -3
  22. data/rbi/increase/models/event_subscription.rbi +10 -3
  23. data/rbi/increase/models/event_subscription_create_params.rbi +10 -3
  24. data/rbi/increase/models/inbound_real_time_payments_transfer.rbi +8 -0
  25. data/rbi/increase/models/unwrap_webhook_event.rbi +10 -3
  26. data/rbi/increase/resources/ach_transfers.rbi +2 -2
  27. data/rbi/increase/resources/digital_card_profiles.rbi +7 -0
  28. data/sig/increase/models/digital_card_profile.rbs +47 -0
  29. data/sig/increase/models/digital_card_profile_clone_params.rbs +59 -0
  30. data/sig/increase/models/digital_card_profile_create_params.rbs +59 -0
  31. data/sig/increase/models/event.rbs +7 -3
  32. data/sig/increase/models/event_list_params.rbs +7 -3
  33. data/sig/increase/models/event_subscription.rbs +7 -3
  34. data/sig/increase/models/event_subscription_create_params.rbs +7 -3
  35. data/sig/increase/models/inbound_real_time_payments_transfer.rbs +5 -0
  36. data/sig/increase/models/unwrap_webhook_event.rbs +7 -3
  37. data/sig/increase/resources/digital_card_profiles.rbs +2 -0
  38. metadata +2 -2
@@ -16,6 +16,17 @@ module Increase
16
16
  sig { returns(String) }
17
17
  attr_accessor :app_icon_file_id
18
18
 
19
+ # Apple Pay specific settings for the Card Profile.
20
+ sig { returns(T.nilable(Increase::DigitalCardProfile::ApplePay)) }
21
+ attr_reader :apple_pay
22
+
23
+ sig do
24
+ params(
25
+ apple_pay: T.nilable(Increase::DigitalCardProfile::ApplePay::OrHash)
26
+ ).void
27
+ end
28
+ attr_writer :apple_pay
29
+
19
30
  # The identifier of the File containing the card's front image.
20
31
  sig { returns(String) }
21
32
  attr_accessor :background_image_file_id
@@ -81,6 +92,7 @@ module Increase
81
92
  params(
82
93
  id: String,
83
94
  app_icon_file_id: String,
95
+ apple_pay: T.nilable(Increase::DigitalCardProfile::ApplePay::OrHash),
84
96
  background_image_file_id: String,
85
97
  card_description: String,
86
98
  contact_email: T.nilable(String),
@@ -100,6 +112,8 @@ module Increase
100
112
  id:,
101
113
  # The identifier of the File containing the card's icon image.
102
114
  app_icon_file_id:,
115
+ # Apple Pay specific settings for the Card Profile.
116
+ apple_pay:,
103
117
  # The identifier of the File containing the card's front image.
104
118
  background_image_file_id:,
105
119
  # A user-facing description for the card itself.
@@ -137,6 +151,7 @@ module Increase
137
151
  {
138
152
  id: String,
139
153
  app_icon_file_id: String,
154
+ apple_pay: T.nilable(Increase::DigitalCardProfile::ApplePay),
140
155
  background_image_file_id: String,
141
156
  card_description: String,
142
157
  contact_email: T.nilable(String),
@@ -155,6 +170,128 @@ module Increase
155
170
  def to_hash
156
171
  end
157
172
 
173
+ class ApplePay < Increase::Internal::Type::BaseModel
174
+ OrHash =
175
+ T.type_alias do
176
+ T.any(
177
+ Increase::DigitalCardProfile::ApplePay,
178
+ Increase::Internal::AnyHash
179
+ )
180
+ end
181
+
182
+ # The applications associated with cards using this Card Profile.
183
+ sig do
184
+ returns(
185
+ T::Array[
186
+ Increase::DigitalCardProfile::ApplePay::AssociatedApplicationIdentifier
187
+ ]
188
+ )
189
+ end
190
+ attr_accessor :associated_application_identifiers
191
+
192
+ # The App Store listings of the applications associated with cards using this Card
193
+ # Profile.
194
+ sig do
195
+ returns(
196
+ T::Array[
197
+ Increase::DigitalCardProfile::ApplePay::AssociatedStoreIdentifier
198
+ ]
199
+ )
200
+ end
201
+ attr_accessor :associated_store_identifiers
202
+
203
+ # Apple Pay specific settings for the Card Profile.
204
+ sig do
205
+ params(
206
+ associated_application_identifiers:
207
+ T::Array[
208
+ Increase::DigitalCardProfile::ApplePay::AssociatedApplicationIdentifier::OrHash
209
+ ],
210
+ associated_store_identifiers:
211
+ T::Array[
212
+ Increase::DigitalCardProfile::ApplePay::AssociatedStoreIdentifier::OrHash
213
+ ]
214
+ ).returns(T.attached_class)
215
+ end
216
+ def self.new(
217
+ # The applications associated with cards using this Card Profile.
218
+ associated_application_identifiers:,
219
+ # The App Store listings of the applications associated with cards using this Card
220
+ # Profile.
221
+ associated_store_identifiers:
222
+ )
223
+ end
224
+
225
+ sig do
226
+ override.returns(
227
+ {
228
+ associated_application_identifiers:
229
+ T::Array[
230
+ Increase::DigitalCardProfile::ApplePay::AssociatedApplicationIdentifier
231
+ ],
232
+ associated_store_identifiers:
233
+ T::Array[
234
+ Increase::DigitalCardProfile::ApplePay::AssociatedStoreIdentifier
235
+ ]
236
+ }
237
+ )
238
+ end
239
+ def to_hash
240
+ end
241
+
242
+ class AssociatedApplicationIdentifier < Increase::Internal::Type::BaseModel
243
+ OrHash =
244
+ T.type_alias do
245
+ T.any(
246
+ Increase::DigitalCardProfile::ApplePay::AssociatedApplicationIdentifier,
247
+ Increase::Internal::AnyHash
248
+ )
249
+ end
250
+
251
+ # The application identifier, composed of your Apple Developer Team ID and the
252
+ # application's bundle identifier, like `ABCDE12345.com.example.app`.
253
+ sig { returns(String) }
254
+ attr_accessor :identifier
255
+
256
+ sig { params(identifier: String).returns(T.attached_class) }
257
+ def self.new(
258
+ # The application identifier, composed of your Apple Developer Team ID and the
259
+ # application's bundle identifier, like `ABCDE12345.com.example.app`.
260
+ identifier:
261
+ )
262
+ end
263
+
264
+ sig { override.returns({ identifier: String }) }
265
+ def to_hash
266
+ end
267
+ end
268
+
269
+ class AssociatedStoreIdentifier < Increase::Internal::Type::BaseModel
270
+ OrHash =
271
+ T.type_alias do
272
+ T.any(
273
+ Increase::DigitalCardProfile::ApplePay::AssociatedStoreIdentifier,
274
+ Increase::Internal::AnyHash
275
+ )
276
+ end
277
+
278
+ # The numeric App Store identifier.
279
+ sig { returns(String) }
280
+ attr_accessor :identifier
281
+
282
+ sig { params(identifier: String).returns(T.attached_class) }
283
+ def self.new(
284
+ # The numeric App Store identifier.
285
+ identifier:
286
+ )
287
+ end
288
+
289
+ sig { override.returns({ identifier: String }) }
290
+ def to_hash
291
+ end
292
+ end
293
+ end
294
+
158
295
  # The status of the Card Profile.
159
296
  module Status
160
297
  extend Increase::Internal::Type::Enum
@@ -25,6 +25,20 @@ module Increase
25
25
  sig { params(app_icon_file_id: String).void }
26
26
  attr_writer :app_icon_file_id
27
27
 
28
+ # Apple Pay specific settings for the Card Profile. Each list you leave out is
29
+ # copied from the original Card Profile.
30
+ sig do
31
+ returns(T.nilable(Increase::DigitalCardProfileCloneParams::ApplePay))
32
+ end
33
+ attr_reader :apple_pay
34
+
35
+ sig do
36
+ params(
37
+ apple_pay: Increase::DigitalCardProfileCloneParams::ApplePay::OrHash
38
+ ).void
39
+ end
40
+ attr_writer :apple_pay
41
+
28
42
  # The identifier of the File containing the card's front image.
29
43
  sig { returns(T.nilable(String)) }
30
44
  attr_reader :background_image_file_id
@@ -92,6 +106,7 @@ module Increase
92
106
  params(
93
107
  digital_card_profile_id: String,
94
108
  app_icon_file_id: String,
109
+ apple_pay: Increase::DigitalCardProfileCloneParams::ApplePay::OrHash,
95
110
  background_image_file_id: String,
96
111
  card_description: String,
97
112
  contact_email: String,
@@ -109,6 +124,9 @@ module Increase
109
124
  digital_card_profile_id:,
110
125
  # The identifier of the File containing the card's icon image.
111
126
  app_icon_file_id: nil,
127
+ # Apple Pay specific settings for the Card Profile. Each list you leave out is
128
+ # copied from the original Card Profile.
129
+ apple_pay: nil,
112
130
  # The identifier of the File containing the card's front image.
113
131
  background_image_file_id: nil,
114
132
  # A user-facing description for the card itself.
@@ -135,6 +153,7 @@ module Increase
135
153
  {
136
154
  digital_card_profile_id: String,
137
155
  app_icon_file_id: String,
156
+ apple_pay: Increase::DigitalCardProfileCloneParams::ApplePay,
138
157
  background_image_file_id: String,
139
158
  card_description: String,
140
159
  contact_email: String,
@@ -150,6 +169,153 @@ module Increase
150
169
  def to_hash
151
170
  end
152
171
 
172
+ class ApplePay < Increase::Internal::Type::BaseModel
173
+ OrHash =
174
+ T.type_alias do
175
+ T.any(
176
+ Increase::DigitalCardProfileCloneParams::ApplePay,
177
+ Increase::Internal::AnyHash
178
+ )
179
+ end
180
+
181
+ # The applications to associate with cards using this Card Profile.
182
+ sig do
183
+ returns(
184
+ T.nilable(
185
+ T::Array[
186
+ Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedApplicationIdentifier
187
+ ]
188
+ )
189
+ )
190
+ end
191
+ attr_reader :associated_application_identifiers
192
+
193
+ sig do
194
+ params(
195
+ associated_application_identifiers:
196
+ T::Array[
197
+ Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedApplicationIdentifier::OrHash
198
+ ]
199
+ ).void
200
+ end
201
+ attr_writer :associated_application_identifiers
202
+
203
+ # The App Store listings of the applications to associate with cards using this
204
+ # Card Profile.
205
+ sig do
206
+ returns(
207
+ T.nilable(
208
+ T::Array[
209
+ Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedStoreIdentifier
210
+ ]
211
+ )
212
+ )
213
+ end
214
+ attr_reader :associated_store_identifiers
215
+
216
+ sig do
217
+ params(
218
+ associated_store_identifiers:
219
+ T::Array[
220
+ Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedStoreIdentifier::OrHash
221
+ ]
222
+ ).void
223
+ end
224
+ attr_writer :associated_store_identifiers
225
+
226
+ # Apple Pay specific settings for the Card Profile. Each list you leave out is
227
+ # copied from the original Card Profile.
228
+ sig do
229
+ params(
230
+ associated_application_identifiers:
231
+ T::Array[
232
+ Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedApplicationIdentifier::OrHash
233
+ ],
234
+ associated_store_identifiers:
235
+ T::Array[
236
+ Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedStoreIdentifier::OrHash
237
+ ]
238
+ ).returns(T.attached_class)
239
+ end
240
+ def self.new(
241
+ # The applications to associate with cards using this Card Profile.
242
+ associated_application_identifiers: nil,
243
+ # The App Store listings of the applications to associate with cards using this
244
+ # Card Profile.
245
+ associated_store_identifiers: nil
246
+ )
247
+ end
248
+
249
+ sig do
250
+ override.returns(
251
+ {
252
+ associated_application_identifiers:
253
+ T::Array[
254
+ Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedApplicationIdentifier
255
+ ],
256
+ associated_store_identifiers:
257
+ T::Array[
258
+ Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedStoreIdentifier
259
+ ]
260
+ }
261
+ )
262
+ end
263
+ def to_hash
264
+ end
265
+
266
+ class AssociatedApplicationIdentifier < Increase::Internal::Type::BaseModel
267
+ OrHash =
268
+ T.type_alias do
269
+ T.any(
270
+ Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedApplicationIdentifier,
271
+ Increase::Internal::AnyHash
272
+ )
273
+ end
274
+
275
+ # The application identifier, composed of your Apple Developer Team ID and the
276
+ # application's bundle identifier, like `ABCDE12345.com.example.app`.
277
+ sig { returns(String) }
278
+ attr_accessor :identifier
279
+
280
+ sig { params(identifier: String).returns(T.attached_class) }
281
+ def self.new(
282
+ # The application identifier, composed of your Apple Developer Team ID and the
283
+ # application's bundle identifier, like `ABCDE12345.com.example.app`.
284
+ identifier:
285
+ )
286
+ end
287
+
288
+ sig { override.returns({ identifier: String }) }
289
+ def to_hash
290
+ end
291
+ end
292
+
293
+ class AssociatedStoreIdentifier < Increase::Internal::Type::BaseModel
294
+ OrHash =
295
+ T.type_alias do
296
+ T.any(
297
+ Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedStoreIdentifier,
298
+ Increase::Internal::AnyHash
299
+ )
300
+ end
301
+
302
+ # The numeric App Store identifier.
303
+ sig { returns(String) }
304
+ attr_accessor :identifier
305
+
306
+ sig { params(identifier: String).returns(T.attached_class) }
307
+ def self.new(
308
+ # The numeric App Store identifier.
309
+ identifier:
310
+ )
311
+ end
312
+
313
+ sig { override.returns({ identifier: String }) }
314
+ def to_hash
315
+ end
316
+ end
317
+ end
318
+
153
319
  class TextColor < Increase::Internal::Type::BaseModel
154
320
  OrHash =
155
321
  T.type_alias do
@@ -30,6 +30,19 @@ module Increase
30
30
  sig { returns(String) }
31
31
  attr_accessor :description
32
32
 
33
+ # Apple Pay specific settings for the Card Profile.
34
+ sig do
35
+ returns(T.nilable(Increase::DigitalCardProfileCreateParams::ApplePay))
36
+ end
37
+ attr_reader :apple_pay
38
+
39
+ sig do
40
+ params(
41
+ apple_pay: Increase::DigitalCardProfileCreateParams::ApplePay::OrHash
42
+ ).void
43
+ end
44
+ attr_writer :apple_pay
45
+
33
46
  # An email address the user can contact to receive support for their card.
34
47
  sig { returns(T.nilable(String)) }
35
48
  attr_reader :contact_email
@@ -79,6 +92,7 @@ module Increase
79
92
  background_image_file_id: String,
80
93
  card_description: String,
81
94
  description: String,
95
+ apple_pay: Increase::DigitalCardProfileCreateParams::ApplePay::OrHash,
82
96
  contact_email: String,
83
97
  contact_name: String,
84
98
  contact_phone: String,
@@ -97,6 +111,8 @@ module Increase
97
111
  card_description:,
98
112
  # A description you can use to identify the Card Profile.
99
113
  description:,
114
+ # Apple Pay specific settings for the Card Profile.
115
+ apple_pay: nil,
100
116
  # An email address the user can contact to receive support for their card.
101
117
  contact_email: nil,
102
118
  # The name of your company or card program, shown to the user as who to contact
@@ -119,6 +135,7 @@ module Increase
119
135
  background_image_file_id: String,
120
136
  card_description: String,
121
137
  description: String,
138
+ apple_pay: Increase::DigitalCardProfileCreateParams::ApplePay,
122
139
  contact_email: String,
123
140
  contact_name: String,
124
141
  contact_phone: String,
@@ -131,6 +148,152 @@ module Increase
131
148
  def to_hash
132
149
  end
133
150
 
151
+ class ApplePay < Increase::Internal::Type::BaseModel
152
+ OrHash =
153
+ T.type_alias do
154
+ T.any(
155
+ Increase::DigitalCardProfileCreateParams::ApplePay,
156
+ Increase::Internal::AnyHash
157
+ )
158
+ end
159
+
160
+ # The applications to associate with cards using this Card Profile.
161
+ sig do
162
+ returns(
163
+ T.nilable(
164
+ T::Array[
165
+ Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedApplicationIdentifier
166
+ ]
167
+ )
168
+ )
169
+ end
170
+ attr_reader :associated_application_identifiers
171
+
172
+ sig do
173
+ params(
174
+ associated_application_identifiers:
175
+ T::Array[
176
+ Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedApplicationIdentifier::OrHash
177
+ ]
178
+ ).void
179
+ end
180
+ attr_writer :associated_application_identifiers
181
+
182
+ # The App Store listings of the applications to associate with cards using this
183
+ # Card Profile.
184
+ sig do
185
+ returns(
186
+ T.nilable(
187
+ T::Array[
188
+ Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedStoreIdentifier
189
+ ]
190
+ )
191
+ )
192
+ end
193
+ attr_reader :associated_store_identifiers
194
+
195
+ sig do
196
+ params(
197
+ associated_store_identifiers:
198
+ T::Array[
199
+ Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedStoreIdentifier::OrHash
200
+ ]
201
+ ).void
202
+ end
203
+ attr_writer :associated_store_identifiers
204
+
205
+ # Apple Pay specific settings for the Card Profile.
206
+ sig do
207
+ params(
208
+ associated_application_identifiers:
209
+ T::Array[
210
+ Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedApplicationIdentifier::OrHash
211
+ ],
212
+ associated_store_identifiers:
213
+ T::Array[
214
+ Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedStoreIdentifier::OrHash
215
+ ]
216
+ ).returns(T.attached_class)
217
+ end
218
+ def self.new(
219
+ # The applications to associate with cards using this Card Profile.
220
+ associated_application_identifiers: nil,
221
+ # The App Store listings of the applications to associate with cards using this
222
+ # Card Profile.
223
+ associated_store_identifiers: nil
224
+ )
225
+ end
226
+
227
+ sig do
228
+ override.returns(
229
+ {
230
+ associated_application_identifiers:
231
+ T::Array[
232
+ Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedApplicationIdentifier
233
+ ],
234
+ associated_store_identifiers:
235
+ T::Array[
236
+ Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedStoreIdentifier
237
+ ]
238
+ }
239
+ )
240
+ end
241
+ def to_hash
242
+ end
243
+
244
+ class AssociatedApplicationIdentifier < Increase::Internal::Type::BaseModel
245
+ OrHash =
246
+ T.type_alias do
247
+ T.any(
248
+ Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedApplicationIdentifier,
249
+ Increase::Internal::AnyHash
250
+ )
251
+ end
252
+
253
+ # The application identifier, composed of your Apple Developer Team ID and the
254
+ # application's bundle identifier, like `ABCDE12345.com.example.app`.
255
+ sig { returns(String) }
256
+ attr_accessor :identifier
257
+
258
+ sig { params(identifier: String).returns(T.attached_class) }
259
+ def self.new(
260
+ # The application identifier, composed of your Apple Developer Team ID and the
261
+ # application's bundle identifier, like `ABCDE12345.com.example.app`.
262
+ identifier:
263
+ )
264
+ end
265
+
266
+ sig { override.returns({ identifier: String }) }
267
+ def to_hash
268
+ end
269
+ end
270
+
271
+ class AssociatedStoreIdentifier < Increase::Internal::Type::BaseModel
272
+ OrHash =
273
+ T.type_alias do
274
+ T.any(
275
+ Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedStoreIdentifier,
276
+ Increase::Internal::AnyHash
277
+ )
278
+ end
279
+
280
+ # The numeric App Store identifier.
281
+ sig { returns(String) }
282
+ attr_accessor :identifier
283
+
284
+ sig { params(identifier: String).returns(T.attached_class) }
285
+ def self.new(
286
+ # The numeric App Store identifier.
287
+ identifier:
288
+ )
289
+ end
290
+
291
+ sig { override.returns({ identifier: String }) }
292
+ def to_hash
293
+ end
294
+ end
295
+ end
296
+
134
297
  class TextColor < Increase::Internal::Type::BaseModel
135
298
  OrHash =
136
299
  T.type_alias do
@@ -615,10 +615,17 @@ module Increase
615
615
  LOAN_OFFER_UPDATED =
616
616
  T.let(:"loan_offer.updated", Increase::Event::Category::TaggedSymbol)
617
617
 
618
- # Occurs whenever a Loan Purchase is created.
619
- LOAN_PURCHASE_CREATED =
618
+ # Occurs whenever a Loan Purchase Offer is created.
619
+ LOAN_PURCHASE_OFFER_CREATED =
620
620
  T.let(
621
- :"loan_purchase.created",
621
+ :"loan_purchase_offer.created",
622
+ Increase::Event::Category::TaggedSymbol
623
+ )
624
+
625
+ # Occurs whenever a Loan Purchase Offer is updated.
626
+ LOAN_PURCHASE_OFFER_UPDATED =
627
+ T.let(
628
+ :"loan_purchase_offer.updated",
622
629
  Increase::Event::Category::TaggedSymbol
623
630
  )
624
631
 
@@ -724,10 +724,17 @@ module Increase
724
724
  Increase::EventListParams::Category::In::TaggedSymbol
725
725
  )
726
726
 
727
- # Occurs whenever a Loan Purchase is created.
728
- LOAN_PURCHASE_CREATED =
727
+ # Occurs whenever a Loan Purchase Offer is created.
728
+ LOAN_PURCHASE_OFFER_CREATED =
729
729
  T.let(
730
- :"loan_purchase.created",
730
+ :"loan_purchase_offer.created",
731
+ Increase::EventListParams::Category::In::TaggedSymbol
732
+ )
733
+
734
+ # Occurs whenever a Loan Purchase Offer is updated.
735
+ LOAN_PURCHASE_OFFER_UPDATED =
736
+ T.let(
737
+ :"loan_purchase_offer.updated",
731
738
  Increase::EventListParams::Category::In::TaggedSymbol
732
739
  )
733
740
 
@@ -745,10 +745,17 @@ module Increase
745
745
  Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
746
746
  )
747
747
 
748
- # Occurs whenever a Loan Purchase is created.
749
- LOAN_PURCHASE_CREATED =
748
+ # Occurs whenever a Loan Purchase Offer is created.
749
+ LOAN_PURCHASE_OFFER_CREATED =
750
750
  T.let(
751
- :"loan_purchase.created",
751
+ :"loan_purchase_offer.created",
752
+ Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
753
+ )
754
+
755
+ # Occurs whenever a Loan Purchase Offer is updated.
756
+ LOAN_PURCHASE_OFFER_UPDATED =
757
+ T.let(
758
+ :"loan_purchase_offer.updated",
752
759
  Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
753
760
  )
754
761
 
@@ -743,10 +743,17 @@ module Increase
743
743
  Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
744
744
  )
745
745
 
746
- # Occurs whenever a Loan Purchase is created.
747
- LOAN_PURCHASE_CREATED =
746
+ # Occurs whenever a Loan Purchase Offer is created.
747
+ LOAN_PURCHASE_OFFER_CREATED =
748
748
  T.let(
749
- :"loan_purchase.created",
749
+ :"loan_purchase_offer.created",
750
+ Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
751
+ )
752
+
753
+ # Occurs whenever a Loan Purchase Offer is updated.
754
+ LOAN_PURCHASE_OFFER_UPDATED =
755
+ T.let(
756
+ :"loan_purchase_offer.updated",
750
757
  Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
751
758
  )
752
759
 
@@ -91,6 +91,10 @@ module Increase
91
91
  end
92
92
  attr_writer :decline
93
93
 
94
+ # A free-form reference string set by the sender, to help identify the transfer.
95
+ sig { returns(T.nilable(String)) }
96
+ attr_accessor :end_to_end_identification
97
+
94
98
  # The lifecycle status of the transfer.
95
99
  sig do
96
100
  returns(Increase::InboundRealTimePaymentsTransfer::Status::TaggedSymbol)
@@ -135,6 +139,7 @@ module Increase
135
139
  T.nilable(
136
140
  Increase::InboundRealTimePaymentsTransfer::Decline::OrHash
137
141
  ),
142
+ end_to_end_identification: T.nilable(String),
138
143
  status: Increase::InboundRealTimePaymentsTransfer::Status::OrSymbol,
139
144
  transaction_identification: String,
140
145
  type: Increase::InboundRealTimePaymentsTransfer::Type::OrSymbol,
@@ -168,6 +173,8 @@ module Increase
168
173
  debtor_routing_number:,
169
174
  # If your transfer is declined, this will contain details of the decline.
170
175
  decline:,
176
+ # A free-form reference string set by the sender, to help identify the transfer.
177
+ end_to_end_identification:,
171
178
  # The lifecycle status of the transfer.
172
179
  status:,
173
180
  # The Real-Time Payments network identification of the transfer.
@@ -200,6 +207,7 @@ module Increase
200
207
  debtor_routing_number: String,
201
208
  decline:
202
209
  T.nilable(Increase::InboundRealTimePaymentsTransfer::Decline),
210
+ end_to_end_identification: T.nilable(String),
203
211
  status:
204
212
  Increase::InboundRealTimePaymentsTransfer::Status::TaggedSymbol,
205
213
  transaction_identification: String,