increase 0.238.0 → 0.239.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.239.0 (2025-07-08)
4
+
5
+ Full Changelog: [v0.238.0...v0.239.0](https://github.com/Increase/increase-node/compare/v0.238.0...v0.239.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([6052582](https://github.com/Increase/increase-node/commit/60525820f5e3b0944babd1155402ee69b6e8f71f))
10
+
3
11
  ## 0.238.0 (2025-07-07)
4
12
 
5
13
  Full Changelog: [v0.237.0...v0.238.0](https://github.com/Increase/increase-node/compare/v0.237.0...v0.238.0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "increase",
3
- "version": "0.238.0",
3
+ "version": "0.239.0",
4
4
  "description": "The official TypeScript library for the Increase API",
5
5
  "author": "Increase <dev-feedback@increase.com>",
6
6
  "types": "./index.d.ts",
@@ -12,10 +12,21 @@ export declare class WireDrawdownRequests extends APIResource {
12
12
  * account_number_id:
13
13
  * 'account_number_v18nkfqm6afpsrvy82b2',
14
14
  * amount: 10000,
15
- * message_to_recipient: 'Invoice 29582',
16
- * recipient_account_number: '987654321',
17
- * recipient_name: 'Ian Crease',
18
- * recipient_routing_number: '101050001',
15
+ * creditor_address: {
16
+ * city: 'New York',
17
+ * country: 'US',
18
+ * line1: '33 Liberty Street',
19
+ * },
20
+ * creditor_name: 'National Phonograph Company',
21
+ * debtor_account_number: '987654321',
22
+ * debtor_address: {
23
+ * city: 'New York',
24
+ * country: 'US',
25
+ * line1: '33 Liberty Street',
26
+ * },
27
+ * debtor_name: 'Ian Crease',
28
+ * debtor_routing_number: '101050001',
29
+ * unstructured_remittance_information: 'Invoice 29582',
19
30
  * });
20
31
  * ```
21
32
  */
@@ -62,8 +73,8 @@ export interface WireDrawdownRequest {
62
73
  */
63
74
  id: string;
64
75
  /**
65
- * The Account Number to which the recipient of this request is being requested to
66
- * send funds.
76
+ * The Account Number to which the debtor—the recipient of this requestis being
77
+ * requested to send funds.
67
78
  */
68
79
  account_number_id: string;
69
80
  /**
@@ -76,65 +87,45 @@ export interface WireDrawdownRequest {
76
87
  */
77
88
  created_at: string;
78
89
  /**
79
- * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being
80
- * requested. Will always be "USD".
81
- */
82
- currency: string;
83
- /**
84
- * If the recipient fulfills the drawdown request by sending funds, then this will
85
- * be the identifier of the corresponding Transaction.
86
- */
87
- fulfillment_inbound_wire_transfer_id: string | null;
88
- /**
89
- * The idempotency key you chose for this object. This value is unique across
90
- * Increase and is used to ensure that a request is only processed once. Learn more
91
- * about [idempotency](https://increase.com/documentation/idempotency-keys).
92
- */
93
- idempotency_key: string | null;
94
- /**
95
- * The message the recipient will see as part of the drawdown request.
96
- */
97
- message_to_recipient: string;
98
- /**
99
- * The originator's address line 1.
90
+ * The creditor's address.
100
91
  */
101
- originator_address_line1: string | null;
92
+ creditor_address: WireDrawdownRequest.CreditorAddress;
102
93
  /**
103
- * The originator's address line 2.
94
+ * The creditor's name.
104
95
  */
105
- originator_address_line2: string | null;
96
+ creditor_name: string;
106
97
  /**
107
- * The originator's address line 3.
108
- */
109
- originator_address_line3: string | null;
110
- /**
111
- * The originator's name.
98
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being
99
+ * requested. Will always be "USD".
112
100
  */
113
- originator_name: string | null;
101
+ currency: string;
114
102
  /**
115
- * The drawdown request's recipient's account number.
103
+ * The debtor's account number.
116
104
  */
117
- recipient_account_number: string;
105
+ debtor_account_number: string;
118
106
  /**
119
- * Line 1 of the drawdown request's recipient's address.
107
+ * The debtor's address.
120
108
  */
121
- recipient_address_line1: string | null;
109
+ debtor_address: WireDrawdownRequest.DebtorAddress;
122
110
  /**
123
- * Line 2 of the drawdown request's recipient's address.
111
+ * The debtor's name.
124
112
  */
125
- recipient_address_line2: string | null;
113
+ debtor_name: string;
126
114
  /**
127
- * Line 3 of the drawdown request's recipient's address.
115
+ * The debtor's routing number.
128
116
  */
129
- recipient_address_line3: string | null;
117
+ debtor_routing_number: string;
130
118
  /**
131
- * The drawdown request's recipient's name.
119
+ * If the recipient fulfills the drawdown request by sending funds, then this will
120
+ * be the identifier of the corresponding Transaction.
132
121
  */
133
- recipient_name: string | null;
122
+ fulfillment_inbound_wire_transfer_id: string | null;
134
123
  /**
135
- * The drawdown request's recipient's routing number.
124
+ * The idempotency key you chose for this object. This value is unique across
125
+ * Increase and is used to ensure that a request is only processed once. Learn more
126
+ * about [idempotency](https://increase.com/documentation/idempotency-keys).
136
127
  */
137
- recipient_routing_number: string;
128
+ idempotency_key: string | null;
138
129
  /**
139
130
  * The lifecycle status of the drawdown request.
140
131
  *
@@ -156,8 +147,74 @@ export interface WireDrawdownRequest {
156
147
  * `wire_drawdown_request`.
157
148
  */
158
149
  type: 'wire_drawdown_request';
150
+ /**
151
+ * Remittance information the debtor will see as part of the drawdown request.
152
+ */
153
+ unstructured_remittance_information: string;
159
154
  }
160
155
  export declare namespace WireDrawdownRequest {
156
+ /**
157
+ * The creditor's address.
158
+ */
159
+ interface CreditorAddress {
160
+ /**
161
+ * The city, district, town, or village of the address.
162
+ */
163
+ city: string;
164
+ /**
165
+ * The two-letter
166
+ * [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
167
+ * the country of the address.
168
+ */
169
+ country: string;
170
+ /**
171
+ * The first line of the address.
172
+ */
173
+ line1: string;
174
+ /**
175
+ * The second line of the address.
176
+ */
177
+ line2: string | null;
178
+ /**
179
+ * The ZIP code of the address.
180
+ */
181
+ postal_code: string | null;
182
+ /**
183
+ * The address state.
184
+ */
185
+ state: string | null;
186
+ }
187
+ /**
188
+ * The debtor's address.
189
+ */
190
+ interface DebtorAddress {
191
+ /**
192
+ * The city, district, town, or village of the address.
193
+ */
194
+ city: string;
195
+ /**
196
+ * The two-letter
197
+ * [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
198
+ * the country of the address.
199
+ */
200
+ country: string;
201
+ /**
202
+ * The first line of the address.
203
+ */
204
+ line1: string;
205
+ /**
206
+ * The second line of the address.
207
+ */
208
+ line2: string | null;
209
+ /**
210
+ * The ZIP code of the address.
211
+ */
212
+ postal_code: string | null;
213
+ /**
214
+ * The address state.
215
+ */
216
+ state: string | null;
217
+ }
161
218
  /**
162
219
  * After the drawdown request is submitted to Fedwire, this will contain
163
220
  * supplemental details.
@@ -172,65 +229,105 @@ export declare namespace WireDrawdownRequest {
172
229
  }
173
230
  export interface WireDrawdownRequestCreateParams {
174
231
  /**
175
- * The Account Number to which the recipient should send funds.
232
+ * The Account Number to which the debtor should send funds.
176
233
  */
177
234
  account_number_id: string;
178
235
  /**
179
- * The amount requested from the recipient, in USD cents.
236
+ * The amount requested from the debtor, in USD cents.
180
237
  */
181
238
  amount: number;
182
239
  /**
183
- * A message the recipient will see as part of the request.
240
+ * The creditor's address.
184
241
  */
185
- message_to_recipient: string;
242
+ creditor_address: WireDrawdownRequestCreateParams.CreditorAddress;
186
243
  /**
187
- * The drawdown request's recipient's account number.
244
+ * The creditor's name.
188
245
  */
189
- recipient_account_number: string;
246
+ creditor_name: string;
190
247
  /**
191
- * The drawdown request's recipient's name.
248
+ * The debtor's account number.
192
249
  */
193
- recipient_name: string;
250
+ debtor_account_number: string;
194
251
  /**
195
- * The drawdown request's recipient's routing number.
252
+ * The debtor's address.
196
253
  */
197
- recipient_routing_number: string;
254
+ debtor_address: WireDrawdownRequestCreateParams.DebtorAddress;
198
255
  /**
199
- * The drawdown request originator's address line 1. This is only necessary if
200
- * you're requesting a payment to a commingled account. Otherwise, we'll use the
201
- * associated entity's details.
256
+ * The debtor's name.
202
257
  */
203
- originator_address_line1?: string;
258
+ debtor_name: string;
204
259
  /**
205
- * The drawdown request originator's address line 2. This is only necessary if
206
- * you're requesting a payment to a commingled account. Otherwise, we'll use the
207
- * associated entity's details.
260
+ * The debtor's routing number.
208
261
  */
209
- originator_address_line2?: string;
262
+ debtor_routing_number: string;
210
263
  /**
211
- * The drawdown request originator's address line 3. This is only necessary if
212
- * you're requesting a payment to a commingled account. Otherwise, we'll use the
213
- * associated entity's details.
264
+ * Remittance information the debtor will see as part of the request.
214
265
  */
215
- originator_address_line3?: string;
216
- /**
217
- * The drawdown request originator's name. This is only necessary if you're
218
- * requesting a payment to a commingled account. Otherwise, we'll use the
219
- * associated entity's details.
220
- */
221
- originator_name?: string;
222
- /**
223
- * Line 1 of the drawdown request's recipient's address.
224
- */
225
- recipient_address_line1?: string;
266
+ unstructured_remittance_information: string;
267
+ }
268
+ export declare namespace WireDrawdownRequestCreateParams {
226
269
  /**
227
- * Line 2 of the drawdown request's recipient's address.
270
+ * The creditor's address.
228
271
  */
229
- recipient_address_line2?: string;
272
+ interface CreditorAddress {
273
+ /**
274
+ * The city, district, town, or village of the address.
275
+ */
276
+ city: string;
277
+ /**
278
+ * The two-letter
279
+ * [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
280
+ * the country of the address.
281
+ */
282
+ country: string;
283
+ /**
284
+ * The first line of the address. This is usually the street number and street.
285
+ */
286
+ line1: string;
287
+ /**
288
+ * The second line of the address. This might be the floor or room number.
289
+ */
290
+ line2?: string;
291
+ /**
292
+ * The ZIP code of the address.
293
+ */
294
+ postal_code?: string;
295
+ /**
296
+ * The address state.
297
+ */
298
+ state?: string;
299
+ }
230
300
  /**
231
- * Line 3 of the drawdown request's recipient's address.
301
+ * The debtor's address.
232
302
  */
233
- recipient_address_line3?: string;
303
+ interface DebtorAddress {
304
+ /**
305
+ * The city, district, town, or village of the address.
306
+ */
307
+ city: string;
308
+ /**
309
+ * The two-letter
310
+ * [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
311
+ * the country of the address.
312
+ */
313
+ country: string;
314
+ /**
315
+ * The first line of the address. This is usually the street number and street.
316
+ */
317
+ line1: string;
318
+ /**
319
+ * The second line of the address. This might be the floor or room number.
320
+ */
321
+ line2?: string;
322
+ /**
323
+ * The ZIP code of the address.
324
+ */
325
+ postal_code?: string;
326
+ /**
327
+ * The address state.
328
+ */
329
+ state?: string;
330
+ }
234
331
  }
235
332
  export interface WireDrawdownRequestListParams extends PageParams {
236
333
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"wire-drawdown-requests.d.ts","sourceRoot":"","sources":["../src/resources/wire-drawdown-requests.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAEtD,qBAAa,oBAAqB,SAAQ,WAAW;IACnD;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,IAAI,EAAE,+BAA+B,EACrC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,mBAAmB,CAAC;IAIvC;;;;;;;;;;OAUG;IACH,QAAQ,CACN,qBAAqB,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,mBAAmB,CAAC;IAIvC;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,CAAC,EAAE,6BAA6B,EACrC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,WAAW,CAAC,wBAAwB,EAAE,mBAAmB,CAAC;IAClE,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,WAAW,CAAC,wBAAwB,EAAE,mBAAmB,CAAC;CAarG;AAED,qBAAa,wBAAyB,SAAQ,IAAI,CAAC,mBAAmB,CAAC;CAAG;AAE1E;;;;;;;GAOG;AACH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Ef;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB;CACF;AAED,MAAM,WAAW,6BAA8B,SAAQ,UAAU;IAC/D;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,MAAM,CAAC,EAAE,6BAA6B,CAAC,MAAM,CAAC;CAC/C;AAED,yBAAiB,6BAA6B,CAAC;IAC7C,UAAiB,MAAM;QACrB;;;;WAIG;QACH,EAAE,CAAC,EAAE,KAAK,CAAC,oBAAoB,GAAG,kBAAkB,GAAG,WAAW,GAAG,SAAS,CAAC,CAAC;KACjF;CACF;AAID,MAAM,CAAC,OAAO,WAAW,oBAAoB,CAAC;IAC5C,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,wBAAwB,IAAI,wBAAwB,EACpD,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
@@ -16,10 +16,21 @@ class WireDrawdownRequests extends resource_1.APIResource {
16
16
  * account_number_id:
17
17
  * 'account_number_v18nkfqm6afpsrvy82b2',
18
18
  * amount: 10000,
19
- * message_to_recipient: 'Invoice 29582',
20
- * recipient_account_number: '987654321',
21
- * recipient_name: 'Ian Crease',
22
- * recipient_routing_number: '101050001',
19
+ * creditor_address: {
20
+ * city: 'New York',
21
+ * country: 'US',
22
+ * line1: '33 Liberty Street',
23
+ * },
24
+ * creditor_name: 'National Phonograph Company',
25
+ * debtor_account_number: '987654321',
26
+ * debtor_address: {
27
+ * city: 'New York',
28
+ * country: 'US',
29
+ * line1: '33 Liberty Street',
30
+ * },
31
+ * debtor_name: 'Ian Crease',
32
+ * debtor_routing_number: '101050001',
33
+ * unstructured_remittance_information: 'Invoice 29582',
23
34
  * });
24
35
  * ```
25
36
  */
@@ -1 +1 @@
1
- {"version":3,"file":"wire-drawdown-requests.js","sourceRoot":"","sources":["../src/resources/wire-drawdown-requests.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAE3C,iDAAsD;AAEtD,MAAa,oBAAqB,SAAQ,sBAAW;IACnD;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,IAAqC,EACrC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CACN,qBAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,qBAAqB,EAAE,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;IAkBD,IAAI,CACF,QAA6D,EAAE,EAC/D,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,yBAAyB,EAAE,wBAAwB,EAAE;YAClF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAvED,oDAuEC;AAED,MAAa,wBAAyB,SAAQ,iBAAyB;CAAG;AAA1E,4DAA0E;AAoP1E,oBAAoB,CAAC,wBAAwB,GAAG,wBAAwB,CAAC"}
1
+ {"version":3,"file":"wire-drawdown-requests.js","sourceRoot":"","sources":["../src/resources/wire-drawdown-requests.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAE3C,iDAAsD;AAEtD,MAAa,oBAAqB,SAAQ,sBAAW;IACnD;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,MAAM,CACJ,IAAqC,EACrC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CACN,qBAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,qBAAqB,EAAE,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;IAkBD,IAAI,CACF,QAA6D,EAAE,EAC/D,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,yBAAyB,EAAE,wBAAwB,EAAE;YAClF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAlFD,oDAkFC;AAED,MAAa,wBAAyB,SAAQ,iBAAyB;CAAG;AAA1E,4DAA0E;AA0V1E,oBAAoB,CAAC,wBAAwB,GAAG,wBAAwB,CAAC"}
@@ -13,10 +13,21 @@ export class WireDrawdownRequests extends APIResource {
13
13
  * account_number_id:
14
14
  * 'account_number_v18nkfqm6afpsrvy82b2',
15
15
  * amount: 10000,
16
- * message_to_recipient: 'Invoice 29582',
17
- * recipient_account_number: '987654321',
18
- * recipient_name: 'Ian Crease',
19
- * recipient_routing_number: '101050001',
16
+ * creditor_address: {
17
+ * city: 'New York',
18
+ * country: 'US',
19
+ * line1: '33 Liberty Street',
20
+ * },
21
+ * creditor_name: 'National Phonograph Company',
22
+ * debtor_account_number: '987654321',
23
+ * debtor_address: {
24
+ * city: 'New York',
25
+ * country: 'US',
26
+ * line1: '33 Liberty Street',
27
+ * },
28
+ * debtor_name: 'Ian Crease',
29
+ * debtor_routing_number: '101050001',
30
+ * unstructured_remittance_information: 'Invoice 29582',
20
31
  * });
21
32
  * ```
22
33
  */
@@ -1 +1 @@
1
- {"version":3,"file":"wire-drawdown-requests.mjs","sourceRoot":"","sources":["../src/resources/wire-drawdown-requests.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OAEpB,EAAE,IAAI,EAAmB;AAEhC,MAAM,OAAO,oBAAqB,SAAQ,WAAW;IACnD;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,IAAqC,EACrC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CACN,qBAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,qBAAqB,EAAE,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;IAkBD,IAAI,CACF,QAA6D,EAAE,EAC/D,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,yBAAyB,EAAE,wBAAwB,EAAE;YAClF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,wBAAyB,SAAQ,IAAyB;CAAG;AAoP1E,oBAAoB,CAAC,wBAAwB,GAAG,wBAAwB,CAAC"}
1
+ {"version":3,"file":"wire-drawdown-requests.mjs","sourceRoot":"","sources":["../src/resources/wire-drawdown-requests.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OAEpB,EAAE,IAAI,EAAmB;AAEhC,MAAM,OAAO,oBAAqB,SAAQ,WAAW;IACnD;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,MAAM,CACJ,IAAqC,EACrC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CACN,qBAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,qBAAqB,EAAE,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;IAkBD,IAAI,CACF,QAA6D,EAAE,EAC/D,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,yBAAyB,EAAE,wBAAwB,EAAE;YAClF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,wBAAyB,SAAQ,IAAyB;CAAG;AA0V1E,oBAAoB,CAAC,wBAAwB,GAAG,wBAAwB,CAAC"}
@@ -16,10 +16,21 @@ export class WireDrawdownRequests extends APIResource {
16
16
  * account_number_id:
17
17
  * 'account_number_v18nkfqm6afpsrvy82b2',
18
18
  * amount: 10000,
19
- * message_to_recipient: 'Invoice 29582',
20
- * recipient_account_number: '987654321',
21
- * recipient_name: 'Ian Crease',
22
- * recipient_routing_number: '101050001',
19
+ * creditor_address: {
20
+ * city: 'New York',
21
+ * country: 'US',
22
+ * line1: '33 Liberty Street',
23
+ * },
24
+ * creditor_name: 'National Phonograph Company',
25
+ * debtor_account_number: '987654321',
26
+ * debtor_address: {
27
+ * city: 'New York',
28
+ * country: 'US',
29
+ * line1: '33 Liberty Street',
30
+ * },
31
+ * debtor_name: 'Ian Crease',
32
+ * debtor_routing_number: '101050001',
33
+ * unstructured_remittance_information: 'Invoice 29582',
23
34
  * });
24
35
  * ```
25
36
  */
@@ -95,8 +106,8 @@ export interface WireDrawdownRequest {
95
106
  id: string;
96
107
 
97
108
  /**
98
- * The Account Number to which the recipient of this request is being requested to
99
- * send funds.
109
+ * The Account Number to which the debtor—the recipient of this requestis being
110
+ * requested to send funds.
100
111
  */
101
112
  account_number_id: string;
102
113
 
@@ -112,78 +123,53 @@ export interface WireDrawdownRequest {
112
123
  created_at: string;
113
124
 
114
125
  /**
115
- * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being
116
- * requested. Will always be "USD".
117
- */
118
- currency: string;
119
-
120
- /**
121
- * If the recipient fulfills the drawdown request by sending funds, then this will
122
- * be the identifier of the corresponding Transaction.
123
- */
124
- fulfillment_inbound_wire_transfer_id: string | null;
125
-
126
- /**
127
- * The idempotency key you chose for this object. This value is unique across
128
- * Increase and is used to ensure that a request is only processed once. Learn more
129
- * about [idempotency](https://increase.com/documentation/idempotency-keys).
126
+ * The creditor's address.
130
127
  */
131
- idempotency_key: string | null;
132
-
133
- /**
134
- * The message the recipient will see as part of the drawdown request.
135
- */
136
- message_to_recipient: string;
128
+ creditor_address: WireDrawdownRequest.CreditorAddress;
137
129
 
138
130
  /**
139
- * The originator's address line 1.
131
+ * The creditor's name.
140
132
  */
141
- originator_address_line1: string | null;
133
+ creditor_name: string;
142
134
 
143
135
  /**
144
- * The originator's address line 2.
145
- */
146
- originator_address_line2: string | null;
147
-
148
- /**
149
- * The originator's address line 3.
150
- */
151
- originator_address_line3: string | null;
152
-
153
- /**
154
- * The originator's name.
136
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being
137
+ * requested. Will always be "USD".
155
138
  */
156
- originator_name: string | null;
139
+ currency: string;
157
140
 
158
141
  /**
159
- * The drawdown request's recipient's account number.
142
+ * The debtor's account number.
160
143
  */
161
- recipient_account_number: string;
144
+ debtor_account_number: string;
162
145
 
163
146
  /**
164
- * Line 1 of the drawdown request's recipient's address.
147
+ * The debtor's address.
165
148
  */
166
- recipient_address_line1: string | null;
149
+ debtor_address: WireDrawdownRequest.DebtorAddress;
167
150
 
168
151
  /**
169
- * Line 2 of the drawdown request's recipient's address.
152
+ * The debtor's name.
170
153
  */
171
- recipient_address_line2: string | null;
154
+ debtor_name: string;
172
155
 
173
156
  /**
174
- * Line 3 of the drawdown request's recipient's address.
157
+ * The debtor's routing number.
175
158
  */
176
- recipient_address_line3: string | null;
159
+ debtor_routing_number: string;
177
160
 
178
161
  /**
179
- * The drawdown request's recipient's name.
162
+ * If the recipient fulfills the drawdown request by sending funds, then this will
163
+ * be the identifier of the corresponding Transaction.
180
164
  */
181
- recipient_name: string | null;
165
+ fulfillment_inbound_wire_transfer_id: string | null;
182
166
 
183
167
  /**
184
- * The drawdown request's recipient's routing number.
168
+ * The idempotency key you chose for this object. This value is unique across
169
+ * Increase and is used to ensure that a request is only processed once. Learn more
170
+ * about [idempotency](https://increase.com/documentation/idempotency-keys).
185
171
  */
186
- recipient_routing_number: string;
172
+ idempotency_key: string | null;
187
173
 
188
174
  /**
189
175
  * The lifecycle status of the drawdown request.
@@ -208,9 +194,88 @@ export interface WireDrawdownRequest {
208
194
  * `wire_drawdown_request`.
209
195
  */
210
196
  type: 'wire_drawdown_request';
197
+
198
+ /**
199
+ * Remittance information the debtor will see as part of the drawdown request.
200
+ */
201
+ unstructured_remittance_information: string;
211
202
  }
212
203
 
213
204
  export namespace WireDrawdownRequest {
205
+ /**
206
+ * The creditor's address.
207
+ */
208
+ export interface CreditorAddress {
209
+ /**
210
+ * The city, district, town, or village of the address.
211
+ */
212
+ city: string;
213
+
214
+ /**
215
+ * The two-letter
216
+ * [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
217
+ * the country of the address.
218
+ */
219
+ country: string;
220
+
221
+ /**
222
+ * The first line of the address.
223
+ */
224
+ line1: string;
225
+
226
+ /**
227
+ * The second line of the address.
228
+ */
229
+ line2: string | null;
230
+
231
+ /**
232
+ * The ZIP code of the address.
233
+ */
234
+ postal_code: string | null;
235
+
236
+ /**
237
+ * The address state.
238
+ */
239
+ state: string | null;
240
+ }
241
+
242
+ /**
243
+ * The debtor's address.
244
+ */
245
+ export interface DebtorAddress {
246
+ /**
247
+ * The city, district, town, or village of the address.
248
+ */
249
+ city: string;
250
+
251
+ /**
252
+ * The two-letter
253
+ * [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
254
+ * the country of the address.
255
+ */
256
+ country: string;
257
+
258
+ /**
259
+ * The first line of the address.
260
+ */
261
+ line1: string;
262
+
263
+ /**
264
+ * The second line of the address.
265
+ */
266
+ line2: string | null;
267
+
268
+ /**
269
+ * The ZIP code of the address.
270
+ */
271
+ postal_code: string | null;
272
+
273
+ /**
274
+ * The address state.
275
+ */
276
+ state: string | null;
277
+ }
278
+
214
279
  /**
215
280
  * After the drawdown request is submitted to Fedwire, this will contain
216
281
  * supplemental details.
@@ -226,77 +291,125 @@ export namespace WireDrawdownRequest {
226
291
 
227
292
  export interface WireDrawdownRequestCreateParams {
228
293
  /**
229
- * The Account Number to which the recipient should send funds.
294
+ * The Account Number to which the debtor should send funds.
230
295
  */
231
296
  account_number_id: string;
232
297
 
233
298
  /**
234
- * The amount requested from the recipient, in USD cents.
299
+ * The amount requested from the debtor, in USD cents.
235
300
  */
236
301
  amount: number;
237
302
 
238
303
  /**
239
- * A message the recipient will see as part of the request.
304
+ * The creditor's address.
240
305
  */
241
- message_to_recipient: string;
306
+ creditor_address: WireDrawdownRequestCreateParams.CreditorAddress;
242
307
 
243
308
  /**
244
- * The drawdown request's recipient's account number.
309
+ * The creditor's name.
245
310
  */
246
- recipient_account_number: string;
311
+ creditor_name: string;
247
312
 
248
313
  /**
249
- * The drawdown request's recipient's name.
314
+ * The debtor's account number.
250
315
  */
251
- recipient_name: string;
316
+ debtor_account_number: string;
252
317
 
253
318
  /**
254
- * The drawdown request's recipient's routing number.
319
+ * The debtor's address.
255
320
  */
256
- recipient_routing_number: string;
321
+ debtor_address: WireDrawdownRequestCreateParams.DebtorAddress;
257
322
 
258
323
  /**
259
- * The drawdown request originator's address line 1. This is only necessary if
260
- * you're requesting a payment to a commingled account. Otherwise, we'll use the
261
- * associated entity's details.
324
+ * The debtor's name.
262
325
  */
263
- originator_address_line1?: string;
326
+ debtor_name: string;
264
327
 
265
328
  /**
266
- * The drawdown request originator's address line 2. This is only necessary if
267
- * you're requesting a payment to a commingled account. Otherwise, we'll use the
268
- * associated entity's details.
329
+ * The debtor's routing number.
269
330
  */
270
- originator_address_line2?: string;
331
+ debtor_routing_number: string;
271
332
 
272
333
  /**
273
- * The drawdown request originator's address line 3. This is only necessary if
274
- * you're requesting a payment to a commingled account. Otherwise, we'll use the
275
- * associated entity's details.
334
+ * Remittance information the debtor will see as part of the request.
276
335
  */
277
- originator_address_line3?: string;
336
+ unstructured_remittance_information: string;
337
+ }
278
338
 
339
+ export namespace WireDrawdownRequestCreateParams {
279
340
  /**
280
- * The drawdown request originator's name. This is only necessary if you're
281
- * requesting a payment to a commingled account. Otherwise, we'll use the
282
- * associated entity's details.
341
+ * The creditor's address.
283
342
  */
284
- originator_name?: string;
343
+ export interface CreditorAddress {
344
+ /**
345
+ * The city, district, town, or village of the address.
346
+ */
347
+ city: string;
285
348
 
286
- /**
287
- * Line 1 of the drawdown request's recipient's address.
288
- */
289
- recipient_address_line1?: string;
349
+ /**
350
+ * The two-letter
351
+ * [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
352
+ * the country of the address.
353
+ */
354
+ country: string;
290
355
 
291
- /**
292
- * Line 2 of the drawdown request's recipient's address.
293
- */
294
- recipient_address_line2?: string;
356
+ /**
357
+ * The first line of the address. This is usually the street number and street.
358
+ */
359
+ line1: string;
360
+
361
+ /**
362
+ * The second line of the address. This might be the floor or room number.
363
+ */
364
+ line2?: string;
365
+
366
+ /**
367
+ * The ZIP code of the address.
368
+ */
369
+ postal_code?: string;
370
+
371
+ /**
372
+ * The address state.
373
+ */
374
+ state?: string;
375
+ }
295
376
 
296
377
  /**
297
- * Line 3 of the drawdown request's recipient's address.
378
+ * The debtor's address.
298
379
  */
299
- recipient_address_line3?: string;
380
+ export interface DebtorAddress {
381
+ /**
382
+ * The city, district, town, or village of the address.
383
+ */
384
+ city: string;
385
+
386
+ /**
387
+ * The two-letter
388
+ * [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for
389
+ * the country of the address.
390
+ */
391
+ country: string;
392
+
393
+ /**
394
+ * The first line of the address. This is usually the street number and street.
395
+ */
396
+ line1: string;
397
+
398
+ /**
399
+ * The second line of the address. This might be the floor or room number.
400
+ */
401
+ line2?: string;
402
+
403
+ /**
404
+ * The ZIP code of the address.
405
+ */
406
+ postal_code?: string;
407
+
408
+ /**
409
+ * The address state.
410
+ */
411
+ state?: string;
412
+ }
300
413
  }
301
414
 
302
415
  export interface WireDrawdownRequestListParams extends PageParams {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.238.0'; // x-release-please-version
1
+ export const VERSION = '0.239.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.238.0";
1
+ export declare const VERSION = "0.239.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.238.0'; // x-release-please-version
4
+ exports.VERSION = '0.239.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.238.0'; // x-release-please-version
1
+ export const VERSION = '0.239.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map