increase 0.339.0 → 0.341.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 (79) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/index.d.mts +6 -0
  3. package/index.d.ts +6 -0
  4. package/index.d.ts.map +1 -1
  5. package/index.js +8 -0
  6. package/index.js.map +1 -1
  7. package/index.mjs +8 -0
  8. package/index.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/card-payments.d.ts +80 -0
  11. package/resources/card-payments.d.ts.map +1 -1
  12. package/resources/card-payments.js.map +1 -1
  13. package/resources/card-payments.mjs.map +1 -1
  14. package/resources/declined-transactions.d.ts +20 -0
  15. package/resources/declined-transactions.d.ts.map +1 -1
  16. package/resources/declined-transactions.js.map +1 -1
  17. package/resources/declined-transactions.mjs.map +1 -1
  18. package/resources/fednow-transfers.d.ts +479 -0
  19. package/resources/fednow-transfers.d.ts.map +1 -0
  20. package/resources/fednow-transfers.js +80 -0
  21. package/resources/fednow-transfers.js.map +1 -0
  22. package/resources/fednow-transfers.mjs +75 -0
  23. package/resources/fednow-transfers.mjs.map +1 -0
  24. package/resources/inbound-fednow-transfers.d.ts +192 -0
  25. package/resources/inbound-fednow-transfers.d.ts.map +1 -0
  26. package/resources/inbound-fednow-transfers.js +38 -0
  27. package/resources/inbound-fednow-transfers.js.map +1 -0
  28. package/resources/inbound-fednow-transfers.mjs +33 -0
  29. package/resources/inbound-fednow-transfers.mjs.map +1 -0
  30. package/resources/index.d.ts +2 -0
  31. package/resources/index.d.ts.map +1 -1
  32. package/resources/index.js +8 -2
  33. package/resources/index.js.map +1 -1
  34. package/resources/index.mjs +2 -0
  35. package/resources/index.mjs.map +1 -1
  36. package/resources/pending-transactions.d.ts +20 -0
  37. package/resources/pending-transactions.d.ts.map +1 -1
  38. package/resources/pending-transactions.js.map +1 -1
  39. package/resources/pending-transactions.mjs.map +1 -1
  40. package/resources/real-time-decisions.d.ts +20 -0
  41. package/resources/real-time-decisions.d.ts.map +1 -1
  42. package/resources/simulations/inbound-fednow-transfers.d.ts +50 -0
  43. package/resources/simulations/inbound-fednow-transfers.d.ts.map +1 -0
  44. package/resources/simulations/inbound-fednow-transfers.js +26 -0
  45. package/resources/simulations/inbound-fednow-transfers.js.map +1 -0
  46. package/resources/simulations/inbound-fednow-transfers.mjs +22 -0
  47. package/resources/simulations/inbound-fednow-transfers.mjs.map +1 -0
  48. package/resources/simulations/index.d.ts +1 -0
  49. package/resources/simulations/index.d.ts.map +1 -1
  50. package/resources/simulations/index.js +3 -1
  51. package/resources/simulations/index.js.map +1 -1
  52. package/resources/simulations/index.mjs +1 -0
  53. package/resources/simulations/index.mjs.map +1 -1
  54. package/resources/simulations/simulations.d.ts +4 -0
  55. package/resources/simulations/simulations.d.ts.map +1 -1
  56. package/resources/simulations/simulations.js +4 -0
  57. package/resources/simulations/simulations.js.map +1 -1
  58. package/resources/simulations/simulations.mjs +4 -0
  59. package/resources/simulations/simulations.mjs.map +1 -1
  60. package/resources/transactions.d.ts +20 -0
  61. package/resources/transactions.d.ts.map +1 -1
  62. package/resources/transactions.js.map +1 -1
  63. package/resources/transactions.mjs.map +1 -1
  64. package/src/index.ts +34 -0
  65. package/src/resources/card-payments.ts +92 -0
  66. package/src/resources/declined-transactions.ts +23 -0
  67. package/src/resources/fednow-transfers.ts +613 -0
  68. package/src/resources/inbound-fednow-transfers.ts +255 -0
  69. package/src/resources/index.ts +13 -0
  70. package/src/resources/pending-transactions.ts +23 -0
  71. package/src/resources/real-time-decisions.ts +23 -0
  72. package/src/resources/simulations/inbound-fednow-transfers.ts +64 -0
  73. package/src/resources/simulations/index.ts +1 -0
  74. package/src/resources/simulations/simulations.ts +10 -0
  75. package/src/resources/transactions.ts +23 -0
  76. package/src/version.ts +1 -1
  77. package/version.d.ts +1 -1
  78. package/version.js +1 -1
  79. package/version.mjs +1 -1
package/src/index.ts CHANGED
@@ -203,6 +203,13 @@ import {
203
203
  ExternalAccounts,
204
204
  ExternalAccountsPage,
205
205
  } from './resources/external-accounts';
206
+ import {
207
+ FednowTransfer,
208
+ FednowTransferCreateParams,
209
+ FednowTransferListParams,
210
+ FednowTransfers,
211
+ FednowTransfersPage,
212
+ } from './resources/fednow-transfers';
206
213
  import { FileLink, FileLinkCreateParams, FileLinks } from './resources/file-links';
207
214
  import { File, FileCreateParams, FileListParams, Files, FilesPage } from './resources/files';
208
215
  import { Group, Groups } from './resources/groups';
@@ -222,6 +229,12 @@ import {
222
229
  InboundCheckDeposits,
223
230
  InboundCheckDepositsPage,
224
231
  } from './resources/inbound-check-deposits';
232
+ import {
233
+ InboundFednowTransfer,
234
+ InboundFednowTransferListParams,
235
+ InboundFednowTransfers,
236
+ InboundFednowTransfersPage,
237
+ } from './resources/inbound-fednow-transfers';
225
238
  import {
226
239
  InboundMailItem,
227
240
  InboundMailItemListParams,
@@ -526,6 +539,8 @@ export class Increase extends Core.APIClient {
526
539
  realTimePaymentsTransfers: API.RealTimePaymentsTransfers = new API.RealTimePaymentsTransfers(this);
527
540
  inboundRealTimePaymentsTransfers: API.InboundRealTimePaymentsTransfers =
528
541
  new API.InboundRealTimePaymentsTransfers(this);
542
+ fednowTransfers: API.FednowTransfers = new API.FednowTransfers(this);
543
+ inboundFednowTransfers: API.InboundFednowTransfers = new API.InboundFednowTransfers(this);
529
544
  checkDeposits: API.CheckDeposits = new API.CheckDeposits(this);
530
545
  lockboxes: API.Lockboxes = new API.Lockboxes(this);
531
546
  inboundMailItems: API.InboundMailItems = new API.InboundMailItems(this);
@@ -666,6 +681,10 @@ Increase.RealTimePaymentsTransfers = RealTimePaymentsTransfers;
666
681
  Increase.RealTimePaymentsTransfersPage = RealTimePaymentsTransfersPage;
667
682
  Increase.InboundRealTimePaymentsTransfers = InboundRealTimePaymentsTransfers;
668
683
  Increase.InboundRealTimePaymentsTransfersPage = InboundRealTimePaymentsTransfersPage;
684
+ Increase.FednowTransfers = FednowTransfers;
685
+ Increase.FednowTransfersPage = FednowTransfersPage;
686
+ Increase.InboundFednowTransfers = InboundFednowTransfers;
687
+ Increase.InboundFednowTransfersPage = InboundFednowTransfersPage;
669
688
  Increase.CheckDeposits = CheckDeposits;
670
689
  Increase.CheckDepositsPage = CheckDepositsPage;
671
690
  Increase.Lockboxes = Lockboxes;
@@ -936,6 +955,21 @@ export declare namespace Increase {
936
955
  type InboundRealTimePaymentsTransferListParams as InboundRealTimePaymentsTransferListParams,
937
956
  };
938
957
 
958
+ export {
959
+ FednowTransfers as FednowTransfers,
960
+ type FednowTransfer as FednowTransfer,
961
+ FednowTransfersPage as FednowTransfersPage,
962
+ type FednowTransferCreateParams as FednowTransferCreateParams,
963
+ type FednowTransferListParams as FednowTransferListParams,
964
+ };
965
+
966
+ export {
967
+ InboundFednowTransfers as InboundFednowTransfers,
968
+ type InboundFednowTransfer as InboundFednowTransfer,
969
+ InboundFednowTransfersPage as InboundFednowTransfersPage,
970
+ type InboundFednowTransferListParams as InboundFednowTransferListParams,
971
+ };
972
+
939
973
  export {
940
974
  CheckDeposits as CheckDeposits,
941
975
  type CheckDeposit as CheckDeposit,
@@ -661,6 +661,11 @@ export namespace CardPayment {
661
661
  */
662
662
  dental: AdditionalAmounts.Dental | null;
663
663
 
664
+ /**
665
+ * The original pre-authorized amount.
666
+ */
667
+ original: AdditionalAmounts.Original | null;
668
+
664
669
  /**
665
670
  * The part of this transaction amount that was for healthcare prescriptions.
666
671
  */
@@ -734,6 +739,24 @@ export namespace CardPayment {
734
739
  currency: string;
735
740
  }
736
741
 
742
+ /**
743
+ * The original pre-authorized amount.
744
+ */
745
+ export interface Original {
746
+ /**
747
+ * The amount in minor units of the `currency` field. The amount is positive if it
748
+ * is added to the amount (such as an ATM surcharge fee) and negative if it is
749
+ * subtracted from the amount (such as a discount).
750
+ */
751
+ amount: number;
752
+
753
+ /**
754
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
755
+ * amount's currency.
756
+ */
757
+ currency: string;
758
+ }
759
+
737
760
  /**
738
761
  * The part of this transaction amount that was for healthcare prescriptions.
739
762
  */
@@ -1467,6 +1490,11 @@ export namespace CardPayment {
1467
1490
  */
1468
1491
  dental: AdditionalAmounts.Dental | null;
1469
1492
 
1493
+ /**
1494
+ * The original pre-authorized amount.
1495
+ */
1496
+ original: AdditionalAmounts.Original | null;
1497
+
1470
1498
  /**
1471
1499
  * The part of this transaction amount that was for healthcare prescriptions.
1472
1500
  */
@@ -1540,6 +1568,24 @@ export namespace CardPayment {
1540
1568
  currency: string;
1541
1569
  }
1542
1570
 
1571
+ /**
1572
+ * The original pre-authorized amount.
1573
+ */
1574
+ export interface Original {
1575
+ /**
1576
+ * The amount in minor units of the `currency` field. The amount is positive if it
1577
+ * is added to the amount (such as an ATM surcharge fee) and negative if it is
1578
+ * subtracted from the amount (such as a discount).
1579
+ */
1580
+ amount: number;
1581
+
1582
+ /**
1583
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1584
+ * amount's currency.
1585
+ */
1586
+ currency: string;
1587
+ }
1588
+
1543
1589
  /**
1544
1590
  * The part of this transaction amount that was for healthcare prescriptions.
1545
1591
  */
@@ -2140,6 +2186,11 @@ export namespace CardPayment {
2140
2186
  */
2141
2187
  dental: AdditionalAmounts.Dental | null;
2142
2188
 
2189
+ /**
2190
+ * The original pre-authorized amount.
2191
+ */
2192
+ original: AdditionalAmounts.Original | null;
2193
+
2143
2194
  /**
2144
2195
  * The part of this transaction amount that was for healthcare prescriptions.
2145
2196
  */
@@ -2213,6 +2264,24 @@ export namespace CardPayment {
2213
2264
  currency: string;
2214
2265
  }
2215
2266
 
2267
+ /**
2268
+ * The original pre-authorized amount.
2269
+ */
2270
+ export interface Original {
2271
+ /**
2272
+ * The amount in minor units of the `currency` field. The amount is positive if it
2273
+ * is added to the amount (such as an ATM surcharge fee) and negative if it is
2274
+ * subtracted from the amount (such as a discount).
2275
+ */
2276
+ amount: number;
2277
+
2278
+ /**
2279
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
2280
+ * amount's currency.
2281
+ */
2282
+ currency: string;
2283
+ }
2284
+
2216
2285
  /**
2217
2286
  * The part of this transaction amount that was for healthcare prescriptions.
2218
2287
  */
@@ -4211,6 +4280,11 @@ export namespace CardPayment {
4211
4280
  */
4212
4281
  dental: AdditionalAmounts.Dental | null;
4213
4282
 
4283
+ /**
4284
+ * The original pre-authorized amount.
4285
+ */
4286
+ original: AdditionalAmounts.Original | null;
4287
+
4214
4288
  /**
4215
4289
  * The part of this transaction amount that was for healthcare prescriptions.
4216
4290
  */
@@ -4284,6 +4358,24 @@ export namespace CardPayment {
4284
4358
  currency: string;
4285
4359
  }
4286
4360
 
4361
+ /**
4362
+ * The original pre-authorized amount.
4363
+ */
4364
+ export interface Original {
4365
+ /**
4366
+ * The amount in minor units of the `currency` field. The amount is positive if it
4367
+ * is added to the amount (such as an ATM surcharge fee) and negative if it is
4368
+ * subtracted from the amount (such as a discount).
4369
+ */
4370
+ amount: number;
4371
+
4372
+ /**
4373
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
4374
+ * amount's currency.
4375
+ */
4376
+ currency: string;
4377
+ }
4378
+
4287
4379
  /**
4288
4380
  * The part of this transaction amount that was for healthcare prescriptions.
4289
4381
  */
@@ -635,6 +635,11 @@ export namespace DeclinedTransaction {
635
635
  */
636
636
  dental: AdditionalAmounts.Dental | null;
637
637
 
638
+ /**
639
+ * The original pre-authorized amount.
640
+ */
641
+ original: AdditionalAmounts.Original | null;
642
+
638
643
  /**
639
644
  * The part of this transaction amount that was for healthcare prescriptions.
640
645
  */
@@ -708,6 +713,24 @@ export namespace DeclinedTransaction {
708
713
  currency: string;
709
714
  }
710
715
 
716
+ /**
717
+ * The original pre-authorized amount.
718
+ */
719
+ export interface Original {
720
+ /**
721
+ * The amount in minor units of the `currency` field. The amount is positive if it
722
+ * is added to the amount (such as an ATM surcharge fee) and negative if it is
723
+ * subtracted from the amount (such as a discount).
724
+ */
725
+ amount: number;
726
+
727
+ /**
728
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
729
+ * amount's currency.
730
+ */
731
+ currency: string;
732
+ }
733
+
711
734
  /**
712
735
  * The part of this transaction amount that was for healthcare prescriptions.
713
736
  */