increase 1.48.0 → 1.49.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.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.48.0"
4
+ VERSION = "1.49.0"
5
5
  end
@@ -19,87 +19,70 @@ module Increase
19
19
  sig { returns(Integer) }
20
20
  attr_accessor :amount
21
21
 
22
- # The drawdown request's beneficiary's account number.
22
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
23
+ # the inbound wire drawdown requested was created.
24
+ sig { returns(Time) }
25
+ attr_accessor :created_at
26
+
27
+ # The creditor's account number.
23
28
  sig { returns(String) }
24
- attr_accessor :beneficiary_account_number
29
+ attr_accessor :creditor_account_number
25
30
 
26
- # Line 1 of the drawdown request's beneficiary's address.
31
+ # A free-form address field set by the sender.
27
32
  sig { returns(T.nilable(String)) }
28
- attr_accessor :beneficiary_address_line1
33
+ attr_accessor :creditor_address_line1
29
34
 
30
- # Line 2 of the drawdown request's beneficiary's address.
35
+ # A free-form address field set by the sender.
31
36
  sig { returns(T.nilable(String)) }
32
- attr_accessor :beneficiary_address_line2
37
+ attr_accessor :creditor_address_line2
33
38
 
34
- # Line 3 of the drawdown request's beneficiary's address.
39
+ # A free-form address field set by the sender.
35
40
  sig { returns(T.nilable(String)) }
36
- attr_accessor :beneficiary_address_line3
41
+ attr_accessor :creditor_address_line3
37
42
 
38
- # The drawdown request's beneficiary's name.
43
+ # A name set by the sender.
39
44
  sig { returns(T.nilable(String)) }
40
- attr_accessor :beneficiary_name
45
+ attr_accessor :creditor_name
41
46
 
42
- # The drawdown request's beneficiary's routing number.
47
+ # The creditor's routing number.
43
48
  sig { returns(String) }
44
- attr_accessor :beneficiary_routing_number
45
-
46
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
47
- # the inbound wire drawdown requested was created.
48
- sig { returns(Time) }
49
- attr_accessor :created_at
49
+ attr_accessor :creditor_routing_number
50
50
 
51
51
  # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being
52
52
  # requested. Will always be "USD".
53
53
  sig { returns(String) }
54
54
  attr_accessor :currency
55
55
 
56
- # A message from the drawdown request's originator.
57
- sig { returns(T.nilable(String)) }
58
- attr_accessor :message_to_recipient
59
-
60
- # The drawdown request's originator's account number.
61
- sig { returns(T.nilable(String)) }
62
- attr_accessor :originator_account_number
63
-
64
- # Line 1 of the drawdown request's originator's address.
56
+ # A free-form address field set by the sender.
65
57
  sig { returns(T.nilable(String)) }
66
- attr_accessor :originator_address_line1
58
+ attr_accessor :debtor_address_line1
67
59
 
68
- # Line 2 of the drawdown request's originator's address.
60
+ # A free-form address field set by the sender.
69
61
  sig { returns(T.nilable(String)) }
70
- attr_accessor :originator_address_line2
62
+ attr_accessor :debtor_address_line2
71
63
 
72
- # Line 3 of the drawdown request's originator's address.
64
+ # A free-form address field set by the sender.
73
65
  sig { returns(T.nilable(String)) }
74
- attr_accessor :originator_address_line3
66
+ attr_accessor :debtor_address_line3
75
67
 
76
- # The drawdown request's originator's name.
68
+ # A name set by the sender.
77
69
  sig { returns(T.nilable(String)) }
78
- attr_accessor :originator_name
70
+ attr_accessor :debtor_name
79
71
 
80
- # The drawdown request's originator's routing number.
81
- sig { returns(String) }
82
- attr_accessor :originator_routing_number
83
-
84
- # Line 1 of the information conveyed from the originator of the message to the
85
- # beneficiary.
72
+ # A free-form reference string set by the sender, to help identify the drawdown
73
+ # request.
86
74
  sig { returns(T.nilable(String)) }
87
- attr_accessor :originator_to_beneficiary_information_line1
75
+ attr_accessor :end_to_end_identification
88
76
 
89
- # Line 2 of the information conveyed from the originator of the message to the
90
- # beneficiary.
77
+ # A unique identifier available to the originating and receiving banks, commonly
78
+ # abbreviated as IMAD. It is created when the wire is submitted to the Fedwire
79
+ # service and is helpful when debugging wires with the originating bank.
91
80
  sig { returns(T.nilable(String)) }
92
- attr_accessor :originator_to_beneficiary_information_line2
81
+ attr_accessor :input_message_accountability_data
93
82
 
94
- # Line 3 of the information conveyed from the originator of the message to the
95
- # beneficiary.
83
+ # The sending bank's identifier for the drawdown request.
96
84
  sig { returns(T.nilable(String)) }
97
- attr_accessor :originator_to_beneficiary_information_line3
98
-
99
- # Line 4 of the information conveyed from the originator of the message to the
100
- # beneficiary.
101
- sig { returns(T.nilable(String)) }
102
- attr_accessor :originator_to_beneficiary_information_line4
85
+ attr_accessor :instruction_identification
103
86
 
104
87
  # The Account Number from which the recipient of this request is being requested
105
88
  # to send funds.
@@ -111,6 +94,16 @@ module Increase
111
94
  sig { returns(Increase::InboundWireDrawdownRequest::Type::TaggedSymbol) }
112
95
  attr_accessor :type
113
96
 
97
+ # The Unique End-to-end Transaction Reference
98
+ # ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr))
99
+ # of the drawdown request.
100
+ sig { returns(T.nilable(String)) }
101
+ attr_accessor :unique_end_to_end_transaction_reference
102
+
103
+ # A free-form message set by the sender.
104
+ sig { returns(T.nilable(String)) }
105
+ attr_accessor :unstructured_remittance_information
106
+
114
107
  # Inbound wire drawdown requests are requests from someone else to send them a
115
108
  # wire. For more information, see our
116
109
  # [Wire Drawdown Requests documentation](/documentation/wire-drawdown-requests).
@@ -118,27 +111,25 @@ module Increase
118
111
  params(
119
112
  id: String,
120
113
  amount: Integer,
121
- beneficiary_account_number: String,
122
- beneficiary_address_line1: T.nilable(String),
123
- beneficiary_address_line2: T.nilable(String),
124
- beneficiary_address_line3: T.nilable(String),
125
- beneficiary_name: T.nilable(String),
126
- beneficiary_routing_number: String,
127
114
  created_at: Time,
115
+ creditor_account_number: String,
116
+ creditor_address_line1: T.nilable(String),
117
+ creditor_address_line2: T.nilable(String),
118
+ creditor_address_line3: T.nilable(String),
119
+ creditor_name: T.nilable(String),
120
+ creditor_routing_number: String,
128
121
  currency: String,
129
- message_to_recipient: T.nilable(String),
130
- originator_account_number: T.nilable(String),
131
- originator_address_line1: T.nilable(String),
132
- originator_address_line2: T.nilable(String),
133
- originator_address_line3: T.nilable(String),
134
- originator_name: T.nilable(String),
135
- originator_routing_number: String,
136
- originator_to_beneficiary_information_line1: T.nilable(String),
137
- originator_to_beneficiary_information_line2: T.nilable(String),
138
- originator_to_beneficiary_information_line3: T.nilable(String),
139
- originator_to_beneficiary_information_line4: T.nilable(String),
122
+ debtor_address_line1: T.nilable(String),
123
+ debtor_address_line2: T.nilable(String),
124
+ debtor_address_line3: T.nilable(String),
125
+ debtor_name: T.nilable(String),
126
+ end_to_end_identification: T.nilable(String),
127
+ input_message_accountability_data: T.nilable(String),
128
+ instruction_identification: T.nilable(String),
140
129
  recipient_account_number_id: String,
141
- type: Increase::InboundWireDrawdownRequest::Type::OrSymbol
130
+ type: Increase::InboundWireDrawdownRequest::Type::OrSymbol,
131
+ unique_end_to_end_transaction_reference: T.nilable(String),
132
+ unstructured_remittance_information: T.nilable(String)
142
133
  ).returns(T.attached_class)
143
134
  end
144
135
  def self.new(
@@ -146,56 +137,53 @@ module Increase
146
137
  id:,
147
138
  # The amount being requested in cents.
148
139
  amount:,
149
- # The drawdown request's beneficiary's account number.
150
- beneficiary_account_number:,
151
- # Line 1 of the drawdown request's beneficiary's address.
152
- beneficiary_address_line1:,
153
- # Line 2 of the drawdown request's beneficiary's address.
154
- beneficiary_address_line2:,
155
- # Line 3 of the drawdown request's beneficiary's address.
156
- beneficiary_address_line3:,
157
- # The drawdown request's beneficiary's name.
158
- beneficiary_name:,
159
- # The drawdown request's beneficiary's routing number.
160
- beneficiary_routing_number:,
161
140
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
162
141
  # the inbound wire drawdown requested was created.
163
142
  created_at:,
143
+ # The creditor's account number.
144
+ creditor_account_number:,
145
+ # A free-form address field set by the sender.
146
+ creditor_address_line1:,
147
+ # A free-form address field set by the sender.
148
+ creditor_address_line2:,
149
+ # A free-form address field set by the sender.
150
+ creditor_address_line3:,
151
+ # A name set by the sender.
152
+ creditor_name:,
153
+ # The creditor's routing number.
154
+ creditor_routing_number:,
164
155
  # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being
165
156
  # requested. Will always be "USD".
166
157
  currency:,
167
- # A message from the drawdown request's originator.
168
- message_to_recipient:,
169
- # The drawdown request's originator's account number.
170
- originator_account_number:,
171
- # Line 1 of the drawdown request's originator's address.
172
- originator_address_line1:,
173
- # Line 2 of the drawdown request's originator's address.
174
- originator_address_line2:,
175
- # Line 3 of the drawdown request's originator's address.
176
- originator_address_line3:,
177
- # The drawdown request's originator's name.
178
- originator_name:,
179
- # The drawdown request's originator's routing number.
180
- originator_routing_number:,
181
- # Line 1 of the information conveyed from the originator of the message to the
182
- # beneficiary.
183
- originator_to_beneficiary_information_line1:,
184
- # Line 2 of the information conveyed from the originator of the message to the
185
- # beneficiary.
186
- originator_to_beneficiary_information_line2:,
187
- # Line 3 of the information conveyed from the originator of the message to the
188
- # beneficiary.
189
- originator_to_beneficiary_information_line3:,
190
- # Line 4 of the information conveyed from the originator of the message to the
191
- # beneficiary.
192
- originator_to_beneficiary_information_line4:,
158
+ # A free-form address field set by the sender.
159
+ debtor_address_line1:,
160
+ # A free-form address field set by the sender.
161
+ debtor_address_line2:,
162
+ # A free-form address field set by the sender.
163
+ debtor_address_line3:,
164
+ # A name set by the sender.
165
+ debtor_name:,
166
+ # A free-form reference string set by the sender, to help identify the drawdown
167
+ # request.
168
+ end_to_end_identification:,
169
+ # A unique identifier available to the originating and receiving banks, commonly
170
+ # abbreviated as IMAD. It is created when the wire is submitted to the Fedwire
171
+ # service and is helpful when debugging wires with the originating bank.
172
+ input_message_accountability_data:,
173
+ # The sending bank's identifier for the drawdown request.
174
+ instruction_identification:,
193
175
  # The Account Number from which the recipient of this request is being requested
194
176
  # to send funds.
195
177
  recipient_account_number_id:,
196
178
  # A constant representing the object's type. For this resource it will always be
197
179
  # `inbound_wire_drawdown_request`.
198
- type:
180
+ type:,
181
+ # The Unique End-to-end Transaction Reference
182
+ # ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr))
183
+ # of the drawdown request.
184
+ unique_end_to_end_transaction_reference:,
185
+ # A free-form message set by the sender.
186
+ unstructured_remittance_information:
199
187
  )
200
188
  end
201
189
 
@@ -204,27 +192,25 @@ module Increase
204
192
  {
205
193
  id: String,
206
194
  amount: Integer,
207
- beneficiary_account_number: String,
208
- beneficiary_address_line1: T.nilable(String),
209
- beneficiary_address_line2: T.nilable(String),
210
- beneficiary_address_line3: T.nilable(String),
211
- beneficiary_name: T.nilable(String),
212
- beneficiary_routing_number: String,
213
195
  created_at: Time,
196
+ creditor_account_number: String,
197
+ creditor_address_line1: T.nilable(String),
198
+ creditor_address_line2: T.nilable(String),
199
+ creditor_address_line3: T.nilable(String),
200
+ creditor_name: T.nilable(String),
201
+ creditor_routing_number: String,
214
202
  currency: String,
215
- message_to_recipient: T.nilable(String),
216
- originator_account_number: T.nilable(String),
217
- originator_address_line1: T.nilable(String),
218
- originator_address_line2: T.nilable(String),
219
- originator_address_line3: T.nilable(String),
220
- originator_name: T.nilable(String),
221
- originator_routing_number: String,
222
- originator_to_beneficiary_information_line1: T.nilable(String),
223
- originator_to_beneficiary_information_line2: T.nilable(String),
224
- originator_to_beneficiary_information_line3: T.nilable(String),
225
- originator_to_beneficiary_information_line4: T.nilable(String),
203
+ debtor_address_line1: T.nilable(String),
204
+ debtor_address_line2: T.nilable(String),
205
+ debtor_address_line3: T.nilable(String),
206
+ debtor_name: T.nilable(String),
207
+ end_to_end_identification: T.nilable(String),
208
+ input_message_accountability_data: T.nilable(String),
209
+ instruction_identification: T.nilable(String),
226
210
  recipient_account_number_id: String,
227
- type: Increase::InboundWireDrawdownRequest::Type::TaggedSymbol
211
+ type: Increase::InboundWireDrawdownRequest::Type::TaggedSymbol,
212
+ unique_end_to_end_transaction_reference: T.nilable(String),
213
+ unstructured_remittance_information: T.nilable(String)
228
214
  }
229
215
  )
230
216
  end