increase 0.306.0 → 0.307.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 +8 -0
- package/package.json +1 -1
- package/resources/wire-transfers.d.ts +123 -6
- package/resources/wire-transfers.d.ts.map +1 -1
- package/resources/wire-transfers.js +0 -1
- package/resources/wire-transfers.js.map +1 -1
- package/resources/wire-transfers.mjs +0 -1
- package/resources/wire-transfers.mjs.map +1 -1
- package/src/resources/wire-transfers.ts +139 -7
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.307.0 (2025-09-16)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.306.0...v0.307.0](https://github.com/Increase/increase-node/compare/v0.306.0...v0.307.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([1c0c06a](https://github.com/Increase/increase-node/commit/1c0c06a6263970ddde42480156bacf7e28576e7a))
|
|
10
|
+
|
|
3
11
|
## 0.306.0 (2025-09-16)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.305.0...v0.306.0](https://github.com/Increase/increase-node/compare/v0.305.0...v0.306.0)
|
package/package.json
CHANGED
|
@@ -11,7 +11,6 @@ export declare class WireTransfers extends APIResource {
|
|
|
11
11
|
* account_id: 'account_in71c4amph0vgo2qllky',
|
|
12
12
|
* amount: 100,
|
|
13
13
|
* beneficiary_name: 'Ian Crease',
|
|
14
|
-
* message_to_recipient: 'New account transfer',
|
|
15
14
|
* });
|
|
16
15
|
* ```
|
|
17
16
|
*/
|
|
@@ -151,7 +150,7 @@ export interface WireTransfer {
|
|
|
151
150
|
/**
|
|
152
151
|
* The message that will show on the recipient's bank statement.
|
|
153
152
|
*/
|
|
154
|
-
message_to_recipient: string
|
|
153
|
+
message_to_recipient: string;
|
|
155
154
|
/**
|
|
156
155
|
* The transfer's network.
|
|
157
156
|
*/
|
|
@@ -179,6 +178,10 @@ export interface WireTransfer {
|
|
|
179
178
|
* by someone else in your organization.
|
|
180
179
|
*/
|
|
181
180
|
pending_transaction_id: string | null;
|
|
181
|
+
/**
|
|
182
|
+
* Remittance information sent with the wire transfer.
|
|
183
|
+
*/
|
|
184
|
+
remittance: WireTransfer.Remittance | null;
|
|
182
185
|
/**
|
|
183
186
|
* If your transfer is reversed, this will contain details of the reversal.
|
|
184
187
|
*/
|
|
@@ -311,6 +314,62 @@ export declare namespace WireTransfer {
|
|
|
311
314
|
email: string;
|
|
312
315
|
}
|
|
313
316
|
}
|
|
317
|
+
/**
|
|
318
|
+
* Remittance information sent with the wire transfer.
|
|
319
|
+
*/
|
|
320
|
+
interface Remittance {
|
|
321
|
+
/**
|
|
322
|
+
* The type of remittance information being passed.
|
|
323
|
+
*
|
|
324
|
+
* - `unstructured` - The wire transfer contains unstructured remittance
|
|
325
|
+
* information.
|
|
326
|
+
* - `tax` - The wire transfer is for tax payment purposes to the Internal Revenue
|
|
327
|
+
* Service (IRS).
|
|
328
|
+
*/
|
|
329
|
+
category: 'unstructured' | 'tax';
|
|
330
|
+
/**
|
|
331
|
+
* Internal Revenue Service (IRS) tax repayment information. Required if `category`
|
|
332
|
+
* is equal to `tax`.
|
|
333
|
+
*/
|
|
334
|
+
tax: Remittance.Tax | null;
|
|
335
|
+
/**
|
|
336
|
+
* Unstructured remittance information. Required if `category` is equal to
|
|
337
|
+
* `unstructured`.
|
|
338
|
+
*/
|
|
339
|
+
unstructured: Remittance.Unstructured | null;
|
|
340
|
+
}
|
|
341
|
+
namespace Remittance {
|
|
342
|
+
/**
|
|
343
|
+
* Internal Revenue Service (IRS) tax repayment information. Required if `category`
|
|
344
|
+
* is equal to `tax`.
|
|
345
|
+
*/
|
|
346
|
+
interface Tax {
|
|
347
|
+
/**
|
|
348
|
+
* The month and year the tax payment is for, in YYYY-MM-DD format. The day is
|
|
349
|
+
* ignored.
|
|
350
|
+
*/
|
|
351
|
+
date: string;
|
|
352
|
+
/**
|
|
353
|
+
* The 9-digit Tax Identification Number (TIN) or Employer Identification Number
|
|
354
|
+
* (EIN).
|
|
355
|
+
*/
|
|
356
|
+
identification_number: string;
|
|
357
|
+
/**
|
|
358
|
+
* The 5-character tax type code.
|
|
359
|
+
*/
|
|
360
|
+
type_code: string;
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* Unstructured remittance information. Required if `category` is equal to
|
|
364
|
+
* `unstructured`.
|
|
365
|
+
*/
|
|
366
|
+
interface Unstructured {
|
|
367
|
+
/**
|
|
368
|
+
* The message to the beneficiary.
|
|
369
|
+
*/
|
|
370
|
+
message: string;
|
|
371
|
+
}
|
|
372
|
+
}
|
|
314
373
|
/**
|
|
315
374
|
* If your transfer is reversed, this will contain details of the reversal.
|
|
316
375
|
*/
|
|
@@ -404,10 +463,6 @@ export interface WireTransferCreateParams {
|
|
|
404
463
|
* The beneficiary's name.
|
|
405
464
|
*/
|
|
406
465
|
beneficiary_name: string;
|
|
407
|
-
/**
|
|
408
|
-
* The message that will show on the recipient's bank statement.
|
|
409
|
-
*/
|
|
410
|
-
message_to_recipient: string;
|
|
411
466
|
/**
|
|
412
467
|
* The account number for the destination account.
|
|
413
468
|
*/
|
|
@@ -454,6 +509,10 @@ export interface WireTransferCreateParams {
|
|
|
454
509
|
* commingled account. Otherwise, we'll use the associated entity's details.
|
|
455
510
|
*/
|
|
456
511
|
originator_name?: string;
|
|
512
|
+
/**
|
|
513
|
+
* Additional remittance information related to the wire transfer.
|
|
514
|
+
*/
|
|
515
|
+
remittance?: WireTransferCreateParams.Remittance;
|
|
457
516
|
/**
|
|
458
517
|
* Whether the transfer requires explicit approval via the dashboard or API.
|
|
459
518
|
*/
|
|
@@ -468,6 +527,64 @@ export interface WireTransferCreateParams {
|
|
|
468
527
|
*/
|
|
469
528
|
source_account_number_id?: string;
|
|
470
529
|
}
|
|
530
|
+
export declare namespace WireTransferCreateParams {
|
|
531
|
+
/**
|
|
532
|
+
* Additional remittance information related to the wire transfer.
|
|
533
|
+
*/
|
|
534
|
+
interface Remittance {
|
|
535
|
+
/**
|
|
536
|
+
* The type of remittance information being passed.
|
|
537
|
+
*
|
|
538
|
+
* - `unstructured` - The wire transfer contains unstructured remittance
|
|
539
|
+
* information.
|
|
540
|
+
* - `tax` - The wire transfer is for tax payment purposes to the Internal Revenue
|
|
541
|
+
* Service (IRS).
|
|
542
|
+
*/
|
|
543
|
+
category: 'unstructured' | 'tax';
|
|
544
|
+
/**
|
|
545
|
+
* Internal Revenue Service (IRS) tax repayment information. Required if `category`
|
|
546
|
+
* is equal to `tax`.
|
|
547
|
+
*/
|
|
548
|
+
tax?: Remittance.Tax;
|
|
549
|
+
/**
|
|
550
|
+
* Unstructured remittance information. Required if `category` is equal to
|
|
551
|
+
* `unstructured`.
|
|
552
|
+
*/
|
|
553
|
+
unstructured?: Remittance.Unstructured;
|
|
554
|
+
}
|
|
555
|
+
namespace Remittance {
|
|
556
|
+
/**
|
|
557
|
+
* Internal Revenue Service (IRS) tax repayment information. Required if `category`
|
|
558
|
+
* is equal to `tax`.
|
|
559
|
+
*/
|
|
560
|
+
interface Tax {
|
|
561
|
+
/**
|
|
562
|
+
* The month and year the tax payment is for, in YYYY-MM-DD format. The day is
|
|
563
|
+
* ignored.
|
|
564
|
+
*/
|
|
565
|
+
date: string;
|
|
566
|
+
/**
|
|
567
|
+
* The 9-digit Tax Identification Number (TIN) or Employer Identification Number
|
|
568
|
+
* (EIN).
|
|
569
|
+
*/
|
|
570
|
+
identification_number: string;
|
|
571
|
+
/**
|
|
572
|
+
* The 5-character tax type code.
|
|
573
|
+
*/
|
|
574
|
+
type_code: string;
|
|
575
|
+
}
|
|
576
|
+
/**
|
|
577
|
+
* Unstructured remittance information. Required if `category` is equal to
|
|
578
|
+
* `unstructured`.
|
|
579
|
+
*/
|
|
580
|
+
interface Unstructured {
|
|
581
|
+
/**
|
|
582
|
+
* The message to the beneficiary.
|
|
583
|
+
*/
|
|
584
|
+
message: string;
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
}
|
|
471
588
|
export interface WireTransferListParams extends PageParams {
|
|
472
589
|
/**
|
|
473
590
|
* Filter Wire Transfers to those belonging to the specified Account.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wire-transfers.d.ts","sourceRoot":"","sources":["../src/resources/wire-transfers.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,aAAc,SAAQ,WAAW;IAC5C
|
|
1
|
+
{"version":3,"file":"wire-transfers.d.ts","sourceRoot":"","sources":["../src/resources/wire-transfers.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,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC;IAIpG;;;;;;;;;OASG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC;IAI9F;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,CAAC,EAAE,sBAAsB,EAC9B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,WAAW,CAAC,iB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EG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,UAAU,CAAC,EAAE,sBAAsB,CAAC,SAAS,CAAC;IAE9C;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,yBAAiB,sBAAsB,CAAC;IACtC,UAAiB,SAAS;QACxB;;;WAGG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;;WAGG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB;;;WAGG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;;WAGG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;CACF;AAID,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,YAAY,IAAI,YAAY,EACjC,iBAAiB,IAAI,iBAAiB,EACtC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wire-transfers.js","sourceRoot":"","sources":["../src/resources/wire-transfers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAE3C,iDAAsD;AAEtD,MAAa,aAAc,SAAQ,sBAAW;IAC5C
|
|
1
|
+
{"version":3,"file":"wire-transfers.js","sourceRoot":"","sources":["../src/resources/wire-transfers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAE3C,iDAAsD;AAEtD,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,IAA8B,EAAE,OAA6B;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;OASG;IACH,QAAQ,CAAC,cAAsB,EAAE,OAA6B;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,cAAc,EAAE,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAkBD,IAAI,CACF,QAAsD,EAAE,EACxD,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,iBAAiB,EAAE,iBAAiB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9F,CAAC;IAED;;;;;;;;;OASG;IACH,OAAO,CAAC,cAAsB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,cAAc,UAAU,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,cAAsB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,cAAc,SAAS,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;CACF;AApFD,sCAoFC;AAED,MAAa,iBAAkB,SAAQ,iBAAkB;CAAG;AAA5D,8CAA4D;AA+pB5D,aAAa,CAAC,iBAAiB,GAAG,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wire-transfers.mjs","sourceRoot":"","sources":["../src/resources/wire-transfers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OAEpB,EAAE,IAAI,EAAmB;AAEhC,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C
|
|
1
|
+
{"version":3,"file":"wire-transfers.mjs","sourceRoot":"","sources":["../src/res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AC"}
|
|
@@ -15,7 +15,6 @@ export class WireTransfers extends APIResource {
|
|
|
15
15
|
* account_id: 'account_in71c4amph0vgo2qllky',
|
|
16
16
|
* amount: 100,
|
|
17
17
|
* beneficiary_name: 'Ian Crease',
|
|
18
|
-
* message_to_recipient: 'New account transfer',
|
|
19
18
|
* });
|
|
20
19
|
* ```
|
|
21
20
|
*/
|
|
@@ -196,7 +195,7 @@ export interface WireTransfer {
|
|
|
196
195
|
/**
|
|
197
196
|
* The message that will show on the recipient's bank statement.
|
|
198
197
|
*/
|
|
199
|
-
message_to_recipient: string
|
|
198
|
+
message_to_recipient: string;
|
|
200
199
|
|
|
201
200
|
/**
|
|
202
201
|
* The transfer's network.
|
|
@@ -231,6 +230,11 @@ export interface WireTransfer {
|
|
|
231
230
|
*/
|
|
232
231
|
pending_transaction_id: string | null;
|
|
233
232
|
|
|
233
|
+
/**
|
|
234
|
+
* Remittance information sent with the wire transfer.
|
|
235
|
+
*/
|
|
236
|
+
remittance: WireTransfer.Remittance | null;
|
|
237
|
+
|
|
234
238
|
/**
|
|
235
239
|
* If your transfer is reversed, this will contain details of the reversal.
|
|
236
240
|
*/
|
|
@@ -390,6 +394,69 @@ export namespace WireTransfer {
|
|
|
390
394
|
}
|
|
391
395
|
}
|
|
392
396
|
|
|
397
|
+
/**
|
|
398
|
+
* Remittance information sent with the wire transfer.
|
|
399
|
+
*/
|
|
400
|
+
export interface Remittance {
|
|
401
|
+
/**
|
|
402
|
+
* The type of remittance information being passed.
|
|
403
|
+
*
|
|
404
|
+
* - `unstructured` - The wire transfer contains unstructured remittance
|
|
405
|
+
* information.
|
|
406
|
+
* - `tax` - The wire transfer is for tax payment purposes to the Internal Revenue
|
|
407
|
+
* Service (IRS).
|
|
408
|
+
*/
|
|
409
|
+
category: 'unstructured' | 'tax';
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* Internal Revenue Service (IRS) tax repayment information. Required if `category`
|
|
413
|
+
* is equal to `tax`.
|
|
414
|
+
*/
|
|
415
|
+
tax: Remittance.Tax | null;
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Unstructured remittance information. Required if `category` is equal to
|
|
419
|
+
* `unstructured`.
|
|
420
|
+
*/
|
|
421
|
+
unstructured: Remittance.Unstructured | null;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
export namespace Remittance {
|
|
425
|
+
/**
|
|
426
|
+
* Internal Revenue Service (IRS) tax repayment information. Required if `category`
|
|
427
|
+
* is equal to `tax`.
|
|
428
|
+
*/
|
|
429
|
+
export interface Tax {
|
|
430
|
+
/**
|
|
431
|
+
* The month and year the tax payment is for, in YYYY-MM-DD format. The day is
|
|
432
|
+
* ignored.
|
|
433
|
+
*/
|
|
434
|
+
date: string;
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* The 9-digit Tax Identification Number (TIN) or Employer Identification Number
|
|
438
|
+
* (EIN).
|
|
439
|
+
*/
|
|
440
|
+
identification_number: string;
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* The 5-character tax type code.
|
|
444
|
+
*/
|
|
445
|
+
type_code: string;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* Unstructured remittance information. Required if `category` is equal to
|
|
450
|
+
* `unstructured`.
|
|
451
|
+
*/
|
|
452
|
+
export interface Unstructured {
|
|
453
|
+
/**
|
|
454
|
+
* The message to the beneficiary.
|
|
455
|
+
*/
|
|
456
|
+
message: string;
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
|
|
393
460
|
/**
|
|
394
461
|
* If your transfer is reversed, this will contain details of the reversal.
|
|
395
462
|
*/
|
|
@@ -502,11 +569,6 @@ export interface WireTransferCreateParams {
|
|
|
502
569
|
*/
|
|
503
570
|
beneficiary_name: string;
|
|
504
571
|
|
|
505
|
-
/**
|
|
506
|
-
* The message that will show on the recipient's bank statement.
|
|
507
|
-
*/
|
|
508
|
-
message_to_recipient: string;
|
|
509
|
-
|
|
510
572
|
/**
|
|
511
573
|
* The account number for the destination account.
|
|
512
574
|
*/
|
|
@@ -563,6 +625,11 @@ export interface WireTransferCreateParams {
|
|
|
563
625
|
*/
|
|
564
626
|
originator_name?: string;
|
|
565
627
|
|
|
628
|
+
/**
|
|
629
|
+
* Additional remittance information related to the wire transfer.
|
|
630
|
+
*/
|
|
631
|
+
remittance?: WireTransferCreateParams.Remittance;
|
|
632
|
+
|
|
566
633
|
/**
|
|
567
634
|
* Whether the transfer requires explicit approval via the dashboard or API.
|
|
568
635
|
*/
|
|
@@ -580,6 +647,71 @@ export interface WireTransferCreateParams {
|
|
|
580
647
|
source_account_number_id?: string;
|
|
581
648
|
}
|
|
582
649
|
|
|
650
|
+
export namespace WireTransferCreateParams {
|
|
651
|
+
/**
|
|
652
|
+
* Additional remittance information related to the wire transfer.
|
|
653
|
+
*/
|
|
654
|
+
export interface Remittance {
|
|
655
|
+
/**
|
|
656
|
+
* The type of remittance information being passed.
|
|
657
|
+
*
|
|
658
|
+
* - `unstructured` - The wire transfer contains unstructured remittance
|
|
659
|
+
* information.
|
|
660
|
+
* - `tax` - The wire transfer is for tax payment purposes to the Internal Revenue
|
|
661
|
+
* Service (IRS).
|
|
662
|
+
*/
|
|
663
|
+
category: 'unstructured' | 'tax';
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* Internal Revenue Service (IRS) tax repayment information. Required if `category`
|
|
667
|
+
* is equal to `tax`.
|
|
668
|
+
*/
|
|
669
|
+
tax?: Remittance.Tax;
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* Unstructured remittance information. Required if `category` is equal to
|
|
673
|
+
* `unstructured`.
|
|
674
|
+
*/
|
|
675
|
+
unstructured?: Remittance.Unstructured;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
export namespace Remittance {
|
|
679
|
+
/**
|
|
680
|
+
* Internal Revenue Service (IRS) tax repayment information. Required if `category`
|
|
681
|
+
* is equal to `tax`.
|
|
682
|
+
*/
|
|
683
|
+
export interface Tax {
|
|
684
|
+
/**
|
|
685
|
+
* The month and year the tax payment is for, in YYYY-MM-DD format. The day is
|
|
686
|
+
* ignored.
|
|
687
|
+
*/
|
|
688
|
+
date: string;
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* The 9-digit Tax Identification Number (TIN) or Employer Identification Number
|
|
692
|
+
* (EIN).
|
|
693
|
+
*/
|
|
694
|
+
identification_number: string;
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* The 5-character tax type code.
|
|
698
|
+
*/
|
|
699
|
+
type_code: string;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* Unstructured remittance information. Required if `category` is equal to
|
|
704
|
+
* `unstructured`.
|
|
705
|
+
*/
|
|
706
|
+
export interface Unstructured {
|
|
707
|
+
/**
|
|
708
|
+
* The message to the beneficiary.
|
|
709
|
+
*/
|
|
710
|
+
message: string;
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
|
|
583
715
|
export interface WireTransferListParams extends PageParams {
|
|
584
716
|
/**
|
|
585
717
|
* Filter Wire Transfers to those belonging to the specified Account.
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.307.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.307.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.307.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|