increase 1.40.0 → 1.42.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 (39) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -0
  3. data/README.md +1 -1
  4. data/lib/increase/models/ach_prenotification.rb +58 -1
  5. data/lib/increase/models/ach_prenotification_create_params.rb +15 -15
  6. data/lib/increase/models/card_validation.rb +9 -1
  7. data/lib/increase/models/check_transfer.rb +25 -1
  8. data/lib/increase/models/export.rb +3 -0
  9. data/lib/increase/models/export_create_params.rb +42 -1
  10. data/lib/increase/models/export_list_params.rb +3 -0
  11. data/lib/increase/models/intrafi_account_enrollment.rb +9 -1
  12. data/lib/increase/models/transaction.rb +30 -1
  13. data/lib/increase/models/transaction_list_params.rb +3 -0
  14. data/lib/increase/resources/ach_prenotifications.rb +7 -7
  15. data/lib/increase/resources/exports.rb +3 -1
  16. data/lib/increase/version.rb +1 -1
  17. data/rbi/increase/models/ach_prenotification.rbi +95 -0
  18. data/rbi/increase/models/ach_prenotification_create_params.rbi +16 -16
  19. data/rbi/increase/models/card_validation.rbi +8 -0
  20. data/rbi/increase/models/check_transfer.rbi +35 -0
  21. data/rbi/increase/models/export.rbi +7 -0
  22. data/rbi/increase/models/export_create_params.rbi +80 -0
  23. data/rbi/increase/models/export_list_params.rbi +7 -0
  24. data/rbi/increase/models/intrafi_account_enrollment.rbi +8 -0
  25. data/rbi/increase/models/transaction.rbi +63 -0
  26. data/rbi/increase/models/transaction_list_params.rbi +7 -0
  27. data/rbi/increase/resources/ach_prenotifications.rbi +8 -8
  28. data/rbi/increase/resources/exports.rbi +5 -0
  29. data/sig/increase/models/ach_prenotification.rbs +44 -0
  30. data/sig/increase/models/card_validation.rbs +5 -0
  31. data/sig/increase/models/check_transfer.rbs +19 -0
  32. data/sig/increase/models/export.rbs +4 -0
  33. data/sig/increase/models/export_create_params.rbs +29 -0
  34. data/sig/increase/models/export_list_params.rbs +4 -0
  35. data/sig/increase/models/intrafi_account_enrollment.rbs +5 -0
  36. data/sig/increase/models/transaction.rbs +19 -0
  37. data/sig/increase/models/transaction_list_params.rbs +4 -0
  38. data/sig/increase/resources/exports.rbs +1 -0
  39. metadata +1 -1
@@ -25,7 +25,7 @@ module Increase
25
25
  ).returns(Increase::ACHPrenotification)
26
26
  end
27
27
  def create(
28
- # The Increase identifier for the account that will send the transfer.
28
+ # The Increase identifier for the account that will send the ACH Prenotification.
29
29
  account_id:,
30
30
  # The account number for the destination account.
31
31
  account_number:,
@@ -34,23 +34,23 @@ module Increase
34
34
  routing_number:,
35
35
  # Additional information that will be sent to the recipient.
36
36
  addendum: nil,
37
- # The description of the date of the transfer.
37
+ # The description of the date of the ACH Prenotification.
38
38
  company_descriptive_date: nil,
39
- # The data you choose to associate with the transfer.
39
+ # The data you choose to associate with the ACH Prenotification.
40
40
  company_discretionary_data: nil,
41
- # The description of the transfer you wish to be shown to the recipient.
41
+ # The description you wish to be shown to the recipient.
42
42
  company_entry_description: nil,
43
43
  # The name by which the recipient knows you.
44
44
  company_name: nil,
45
45
  # Whether the Prenotification is for a future debit or credit.
46
46
  credit_debit_indicator: nil,
47
- # The transfer effective date in
47
+ # The ACH Prenotification effective date in
48
48
  # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
49
49
  effective_date: nil,
50
- # Your identifier for the transfer recipient.
50
+ # Your identifier for the recipient.
51
51
  individual_id: nil,
52
- # The name of the transfer recipient. This value is information and not verified
53
- # by the recipient's bank.
52
+ # The name of therecipient. This value is informational and not verified by the
53
+ # recipient's bank.
54
54
  individual_name: nil,
55
55
  # The Standard Entry Class (SEC) code to use for the ACH Prenotification.
56
56
  standard_entry_class_code: nil,
@@ -7,6 +7,8 @@ module Increase
7
7
  sig do
8
8
  params(
9
9
  category: Increase::ExportCreateParams::Category::OrSymbol,
10
+ account_statement_bai2:
11
+ Increase::ExportCreateParams::AccountStatementBai2::OrHash,
10
12
  account_statement_ofx:
11
13
  Increase::ExportCreateParams::AccountStatementOfx::OrHash,
12
14
  balance_csv: Increase::ExportCreateParams::BalanceCsv::OrHash,
@@ -22,6 +24,9 @@ module Increase
22
24
  # The type of Export to create.
23
25
  category:,
24
26
  # Options for the created export. Required if `category` is equal to
27
+ # `account_statement_bai2`.
28
+ account_statement_bai2: nil,
29
+ # Options for the created export. Required if `category` is equal to
25
30
  # `account_statement_ofx`.
26
31
  account_statement_ofx: nil,
27
32
  # Options for the created export. Required if `category` is equal to
@@ -3,6 +3,7 @@ module Increase
3
3
  type ach_prenotification =
4
4
  {
5
5
  id: String,
6
+ account_id: String?,
6
7
  account_number: String,
7
8
  addendum: String?,
8
9
  company_descriptive_date: String?,
@@ -13,9 +14,12 @@ module Increase
13
14
  credit_debit_indicator: Increase::Models::ACHPrenotification::credit_debit_indicator?,
14
15
  effective_date: Time?,
15
16
  idempotency_key: String?,
17
+ individual_id: String?,
18
+ individual_name: String?,
16
19
  notifications_of_change: ::Array[Increase::ACHPrenotification::NotificationsOfChange],
17
20
  prenotification_return: Increase::ACHPrenotification::PrenotificationReturn?,
18
21
  routing_number: String,
22
+ standard_entry_class_code: Increase::Models::ACHPrenotification::standard_entry_class_code?,
19
23
  status: Increase::Models::ACHPrenotification::status,
20
24
  type: Increase::Models::ACHPrenotification::type_
21
25
  }
@@ -23,6 +27,8 @@ module Increase
23
27
  class ACHPrenotification < Increase::Internal::Type::BaseModel
24
28
  attr_accessor id: String
25
29
 
30
+ attr_accessor account_id: String?
31
+
26
32
  attr_accessor account_number: String
27
33
 
28
34
  attr_accessor addendum: String?
@@ -43,18 +49,25 @@ module Increase
43
49
 
44
50
  attr_accessor idempotency_key: String?
45
51
 
52
+ attr_accessor individual_id: String?
53
+
54
+ attr_accessor individual_name: String?
55
+
46
56
  attr_accessor notifications_of_change: ::Array[Increase::ACHPrenotification::NotificationsOfChange]
47
57
 
48
58
  attr_accessor prenotification_return: Increase::ACHPrenotification::PrenotificationReturn?
49
59
 
50
60
  attr_accessor routing_number: String
51
61
 
62
+ attr_accessor standard_entry_class_code: Increase::Models::ACHPrenotification::standard_entry_class_code?
63
+
52
64
  attr_accessor status: Increase::Models::ACHPrenotification::status
53
65
 
54
66
  attr_accessor type: Increase::Models::ACHPrenotification::type_
55
67
 
56
68
  def initialize: (
57
69
  id: String,
70
+ account_id: String?,
58
71
  account_number: String,
59
72
  addendum: String?,
60
73
  company_descriptive_date: String?,
@@ -65,15 +78,19 @@ module Increase
65
78
  credit_debit_indicator: Increase::Models::ACHPrenotification::credit_debit_indicator?,
66
79
  effective_date: Time?,
67
80
  idempotency_key: String?,
81
+ individual_id: String?,
82
+ individual_name: String?,
68
83
  notifications_of_change: ::Array[Increase::ACHPrenotification::NotificationsOfChange],
69
84
  prenotification_return: Increase::ACHPrenotification::PrenotificationReturn?,
70
85
  routing_number: String,
86
+ standard_entry_class_code: Increase::Models::ACHPrenotification::standard_entry_class_code?,
71
87
  status: Increase::Models::ACHPrenotification::status,
72
88
  type: Increase::Models::ACHPrenotification::type_
73
89
  ) -> void
74
90
 
75
91
  def to_hash: -> {
76
92
  id: String,
93
+ account_id: String?,
77
94
  account_number: String,
78
95
  addendum: String?,
79
96
  company_descriptive_date: String?,
@@ -84,9 +101,12 @@ module Increase
84
101
  credit_debit_indicator: Increase::Models::ACHPrenotification::credit_debit_indicator?,
85
102
  effective_date: Time?,
86
103
  idempotency_key: String?,
104
+ individual_id: String?,
105
+ individual_name: String?,
87
106
  notifications_of_change: ::Array[Increase::ACHPrenotification::NotificationsOfChange],
88
107
  prenotification_return: Increase::ACHPrenotification::PrenotificationReturn?,
89
108
  routing_number: String,
109
+ standard_entry_class_code: Increase::Models::ACHPrenotification::standard_entry_class_code?,
90
110
  status: Increase::Models::ACHPrenotification::status,
91
111
  type: Increase::Models::ACHPrenotification::type_
92
112
  }
@@ -526,6 +546,30 @@ module Increase
526
546
  end
527
547
  end
528
548
 
549
+ type standard_entry_class_code =
550
+ :corporate_credit_or_debit
551
+ | :corporate_trade_exchange
552
+ | :prearranged_payments_and_deposit
553
+ | :internet_initiated
554
+
555
+ module StandardEntryClassCode
556
+ extend Increase::Internal::Type::Enum
557
+
558
+ # Corporate Credit and Debit (CCD).
559
+ CORPORATE_CREDIT_OR_DEBIT: :corporate_credit_or_debit
560
+
561
+ # Corporate Trade Exchange (CTX).
562
+ CORPORATE_TRADE_EXCHANGE: :corporate_trade_exchange
563
+
564
+ # Prearranged Payments and Deposits (PPD).
565
+ PREARRANGED_PAYMENTS_AND_DEPOSIT: :prearranged_payments_and_deposit
566
+
567
+ # Internet Initiated (WEB).
568
+ INTERNET_INITIATED: :internet_initiated
569
+
570
+ def self?.values: -> ::Array[Increase::Models::ACHPrenotification::standard_entry_class_code]
571
+ end
572
+
529
573
  type status =
530
574
  :pending_submitting | :requires_attention | :returned | :submitted
531
575
 
@@ -5,6 +5,7 @@ module Increase
5
5
  id: String,
6
6
  acceptance: Increase::CardValidation::Acceptance?,
7
7
  account_id: String,
8
+ card_token_id: String,
8
9
  cardholder_first_name: String?,
9
10
  cardholder_last_name: String?,
10
11
  cardholder_middle_name: String?,
@@ -31,6 +32,8 @@ module Increase
31
32
 
32
33
  attr_accessor account_id: String
33
34
 
35
+ attr_accessor card_token_id: String
36
+
34
37
  attr_accessor cardholder_first_name: String?
35
38
 
36
39
  attr_accessor cardholder_last_name: String?
@@ -69,6 +72,7 @@ module Increase
69
72
  id: String,
70
73
  acceptance: Increase::CardValidation::Acceptance?,
71
74
  account_id: String,
75
+ card_token_id: String,
72
76
  cardholder_first_name: String?,
73
77
  cardholder_last_name: String?,
74
78
  cardholder_middle_name: String?,
@@ -92,6 +96,7 @@ module Increase
92
96
  id: String,
93
97
  acceptance: Increase::CardValidation::Acceptance?,
94
98
  account_id: String,
99
+ card_token_id: String,
95
100
  cardholder_first_name: String?,
96
101
  cardholder_last_name: String?,
97
102
  cardholder_middle_name: String?,
@@ -8,6 +8,7 @@ module Increase
8
8
  amount: Integer,
9
9
  approval: Increase::CheckTransfer::Approval?,
10
10
  approved_inbound_check_deposit_id: String?,
11
+ balance_check: Increase::Models::CheckTransfer::balance_check?,
11
12
  cancellation: Increase::CheckTransfer::Cancellation?,
12
13
  check_number: String,
13
14
  created_at: Time,
@@ -40,6 +41,8 @@ module Increase
40
41
 
41
42
  attr_accessor approved_inbound_check_deposit_id: String?
42
43
 
44
+ attr_accessor balance_check: Increase::Models::CheckTransfer::balance_check?
45
+
43
46
  attr_accessor cancellation: Increase::CheckTransfer::Cancellation?
44
47
 
45
48
  attr_accessor check_number: String
@@ -81,6 +84,7 @@ module Increase
81
84
  amount: Integer,
82
85
  approval: Increase::CheckTransfer::Approval?,
83
86
  approved_inbound_check_deposit_id: String?,
87
+ balance_check: Increase::Models::CheckTransfer::balance_check?,
84
88
  cancellation: Increase::CheckTransfer::Cancellation?,
85
89
  check_number: String,
86
90
  created_at: Time,
@@ -107,6 +111,7 @@ module Increase
107
111
  amount: Integer,
108
112
  approval: Increase::CheckTransfer::Approval?,
109
113
  approved_inbound_check_deposit_id: String?,
114
+ balance_check: Increase::Models::CheckTransfer::balance_check?,
110
115
  cancellation: Increase::CheckTransfer::Cancellation?,
111
116
  check_number: String,
112
117
  created_at: Time,
@@ -138,6 +143,20 @@ module Increase
138
143
  def to_hash: -> { approved_at: Time, approved_by: String? }
139
144
  end
140
145
 
146
+ type balance_check = :full | :none
147
+
148
+ module BalanceCheck
149
+ extend Increase::Internal::Type::Enum
150
+
151
+ # The available balance of the account must be at least the amount of the check, and a Pending Transaction will be created for the full amount.
152
+ FULL: :full
153
+
154
+ # No balance check will performed; a zero-dollar Pending Transaction will be created.
155
+ NONE: :none
156
+
157
+ def self?.values: -> ::Array[Increase::Models::CheckTransfer::balance_check]
158
+ end
159
+
141
160
  type cancellation = { canceled_at: Time, canceled_by: String? }
142
161
 
143
162
  class Cancellation < Increase::Internal::Type::BaseModel
@@ -53,6 +53,7 @@ module Increase
53
53
 
54
54
  type category =
55
55
  :account_statement_ofx
56
+ | :account_statement_bai2
56
57
  | :transaction_csv
57
58
  | :balance_csv
58
59
  | :bookkeeping_account_balance_csv
@@ -66,6 +67,9 @@ module Increase
66
67
  # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
67
68
  ACCOUNT_STATEMENT_OFX: :account_statement_ofx
68
69
 
70
+ # Export a BAI2 file of transactions and balances for a given date and optional Account.
71
+ ACCOUNT_STATEMENT_BAI2: :account_statement_bai2
72
+
69
73
  # Export a CSV of all transactions for a given time range.
70
74
  TRANSACTION_CSV: :transaction_csv
71
75
 
@@ -3,6 +3,7 @@ module Increase
3
3
  type export_create_params =
4
4
  {
5
5
  category: Increase::Models::ExportCreateParams::category,
6
+ :account_statement_bai2 => Increase::ExportCreateParams::AccountStatementBai2,
6
7
  account_statement_ofx: Increase::ExportCreateParams::AccountStatementOfx,
7
8
  balance_csv: Increase::ExportCreateParams::BalanceCsv,
8
9
  bookkeeping_account_balance_csv: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv,
@@ -18,6 +19,12 @@ module Increase
18
19
 
19
20
  attr_accessor category: Increase::Models::ExportCreateParams::category
20
21
 
22
+ attr_reader account_statement_bai2: Increase::ExportCreateParams::AccountStatementBai2?
23
+
24
+ def account_statement_bai2=: (
25
+ Increase::ExportCreateParams::AccountStatementBai2
26
+ ) -> Increase::ExportCreateParams::AccountStatementBai2
27
+
21
28
  attr_reader account_statement_ofx: Increase::ExportCreateParams::AccountStatementOfx?
22
29
 
23
30
  def account_statement_ofx=: (
@@ -54,6 +61,7 @@ module Increase
54
61
 
55
62
  def initialize: (
56
63
  category: Increase::Models::ExportCreateParams::category,
64
+ ?account_statement_bai2: Increase::ExportCreateParams::AccountStatementBai2,
57
65
  ?account_statement_ofx: Increase::ExportCreateParams::AccountStatementOfx,
58
66
  ?balance_csv: Increase::ExportCreateParams::BalanceCsv,
59
67
  ?bookkeeping_account_balance_csv: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv,
@@ -65,6 +73,7 @@ module Increase
65
73
 
66
74
  def to_hash: -> {
67
75
  category: Increase::Models::ExportCreateParams::category,
76
+ :account_statement_bai2 => Increase::ExportCreateParams::AccountStatementBai2,
68
77
  account_statement_ofx: Increase::ExportCreateParams::AccountStatementOfx,
69
78
  balance_csv: Increase::ExportCreateParams::BalanceCsv,
70
79
  bookkeeping_account_balance_csv: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv,
@@ -76,6 +85,7 @@ module Increase
76
85
 
77
86
  type category =
78
87
  :account_statement_ofx
88
+ | :account_statement_bai2
79
89
  | :transaction_csv
80
90
  | :balance_csv
81
91
  | :bookkeeping_account_balance_csv
@@ -88,6 +98,9 @@ module Increase
88
98
  # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
89
99
  ACCOUNT_STATEMENT_OFX: :account_statement_ofx
90
100
 
101
+ # Export a BAI2 file of transactions and balances for a given date and optional Account.
102
+ ACCOUNT_STATEMENT_BAI2: :account_statement_bai2
103
+
91
104
  # Export a CSV of all transactions for a given time range.
92
105
  TRANSACTION_CSV: :transaction_csv
93
106
 
@@ -106,6 +119,22 @@ module Increase
106
119
  def self?.values: -> ::Array[Increase::Models::ExportCreateParams::category]
107
120
  end
108
121
 
122
+ type account_statement_bai2 = { account_id: String, effective_date: Date }
123
+
124
+ class AccountStatementBai2 < Increase::Internal::Type::BaseModel
125
+ attr_reader account_id: String?
126
+
127
+ def account_id=: (String) -> String
128
+
129
+ attr_reader effective_date: Date?
130
+
131
+ def effective_date=: (Date) -> Date
132
+
133
+ def initialize: (?account_id: String, ?effective_date: Date) -> void
134
+
135
+ def to_hash: -> { account_id: String, effective_date: Date }
136
+ end
137
+
109
138
  type account_statement_ofx =
110
139
  {
111
140
  account_id: String,
@@ -85,6 +85,7 @@ module Increase
85
85
 
86
86
  type in_ =
87
87
  :account_statement_ofx
88
+ | :account_statement_bai2
88
89
  | :transaction_csv
89
90
  | :balance_csv
90
91
  | :bookkeeping_account_balance_csv
@@ -98,6 +99,9 @@ module Increase
98
99
  # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
99
100
  ACCOUNT_STATEMENT_OFX: :account_statement_ofx
100
101
 
102
+ # Export a BAI2 file of transactions and balances for a given date and optional Account.
103
+ ACCOUNT_STATEMENT_BAI2: :account_statement_bai2
104
+
101
105
  # Export a CSV of all transactions for a given time range.
102
106
  TRANSACTION_CSV: :transaction_csv
103
107
 
@@ -5,6 +5,7 @@ module Increase
5
5
  id: String,
6
6
  account_id: String,
7
7
  created_at: Time,
8
+ email_address: String?,
8
9
  idempotency_key: String?,
9
10
  intrafi_id: String,
10
11
  status: Increase::Models::IntrafiAccountEnrollment::status,
@@ -18,6 +19,8 @@ module Increase
18
19
 
19
20
  attr_accessor created_at: Time
20
21
 
22
+ attr_accessor email_address: String?
23
+
21
24
  attr_accessor idempotency_key: String?
22
25
 
23
26
  attr_accessor intrafi_id: String
@@ -30,6 +33,7 @@ module Increase
30
33
  id: String,
31
34
  account_id: String,
32
35
  created_at: Time,
36
+ email_address: String?,
33
37
  idempotency_key: String?,
34
38
  intrafi_id: String,
35
39
  status: Increase::Models::IntrafiAccountEnrollment::status,
@@ -40,6 +44,7 @@ module Increase
40
44
  id: String,
41
45
  account_id: String,
42
46
  created_at: Time,
47
+ email_address: String?,
43
48
  idempotency_key: String?,
44
49
  intrafi_id: String,
45
50
  status: Increase::Models::IntrafiAccountEnrollment::status,
@@ -138,6 +138,7 @@ module Increase
138
138
  real_time_payments_transfer_acknowledgement: Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement?,
139
139
  sample_funds: Increase::Transaction::Source::SampleFunds?,
140
140
  swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention?,
141
+ swift_transfer_return: Increase::Transaction::Source::SwiftTransferReturn?,
141
142
  wire_transfer_intention: Increase::Transaction::Source::WireTransferIntention?
142
143
  }
143
144
 
@@ -206,6 +207,8 @@ module Increase
206
207
 
207
208
  attr_accessor swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention?
208
209
 
210
+ attr_accessor swift_transfer_return: Increase::Transaction::Source::SwiftTransferReturn?
211
+
209
212
  attr_accessor wire_transfer_intention: Increase::Transaction::Source::WireTransferIntention?
210
213
 
211
214
  def initialize: (
@@ -241,6 +244,7 @@ module Increase
241
244
  real_time_payments_transfer_acknowledgement: Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement?,
242
245
  sample_funds: Increase::Transaction::Source::SampleFunds?,
243
246
  swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention?,
247
+ swift_transfer_return: Increase::Transaction::Source::SwiftTransferReturn?,
244
248
  wire_transfer_intention: Increase::Transaction::Source::WireTransferIntention?
245
249
  ) -> void
246
250
 
@@ -277,6 +281,7 @@ module Increase
277
281
  real_time_payments_transfer_acknowledgement: Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement?,
278
282
  sample_funds: Increase::Transaction::Source::SampleFunds?,
279
283
  swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention?,
284
+ swift_transfer_return: Increase::Transaction::Source::SwiftTransferReturn?,
280
285
  wire_transfer_intention: Increase::Transaction::Source::WireTransferIntention?
281
286
  }
282
287
 
@@ -3113,6 +3118,7 @@ module Increase
3113
3118
  | :sample_funds
3114
3119
  | :wire_transfer_intention
3115
3120
  | :swift_transfer_intention
3121
+ | :swift_transfer_return
3116
3122
  | :card_push_transfer_acceptance
3117
3123
  | :other
3118
3124
 
@@ -3209,6 +3215,9 @@ module Increase
3209
3215
  # Swift Transfer Intention: details will be under the `swift_transfer_intention` object.
3210
3216
  SWIFT_TRANSFER_INTENTION: :swift_transfer_intention
3211
3217
 
3218
+ # Swift Transfer Return: details will be under the `swift_transfer_return` object.
3219
+ SWIFT_TRANSFER_RETURN: :swift_transfer_return
3220
+
3212
3221
  # Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object.
3213
3222
  CARD_PUSH_TRANSFER_ACCEPTANCE: :card_push_transfer_acceptance
3214
3223
 
@@ -4463,6 +4472,16 @@ module Increase
4463
4472
  def to_hash: -> { transfer_id: String }
4464
4473
  end
4465
4474
 
4475
+ type swift_transfer_return = { transfer_id: String }
4476
+
4477
+ class SwiftTransferReturn < Increase::Internal::Type::BaseModel
4478
+ attr_accessor transfer_id: String
4479
+
4480
+ def initialize: (transfer_id: String) -> void
4481
+
4482
+ def to_hash: -> { transfer_id: String }
4483
+ end
4484
+
4466
4485
  type wire_transfer_intention =
4467
4486
  {
4468
4487
  account_number: String,
@@ -112,6 +112,7 @@ module Increase
112
112
  | :sample_funds
113
113
  | :wire_transfer_intention
114
114
  | :swift_transfer_intention
115
+ | :swift_transfer_return
115
116
  | :card_push_transfer_acceptance
116
117
  | :other
117
118
 
@@ -208,6 +209,9 @@ module Increase
208
209
  # Swift Transfer Intention: details will be under the `swift_transfer_intention` object.
209
210
  SWIFT_TRANSFER_INTENTION: :swift_transfer_intention
210
211
 
212
+ # Swift Transfer Return: details will be under the `swift_transfer_return` object.
213
+ SWIFT_TRANSFER_RETURN: :swift_transfer_return
214
+
211
215
  # Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object.
212
216
  CARD_PUSH_TRANSFER_ACCEPTANCE: :card_push_transfer_acceptance
213
217
 
@@ -3,6 +3,7 @@ module Increase
3
3
  class Exports
4
4
  def create: (
5
5
  category: Increase::Models::ExportCreateParams::category,
6
+ ?account_statement_bai2: Increase::ExportCreateParams::AccountStatementBai2,
6
7
  ?account_statement_ofx: Increase::ExportCreateParams::AccountStatementOfx,
7
8
  ?balance_csv: Increase::ExportCreateParams::BalanceCsv,
8
9
  ?bookkeeping_account_balance_csv: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.40.0
4
+ version: 1.42.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase