increase 0.12.0 → 0.13.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 (52) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/core.d.ts.map +1 -1
  3. package/core.js +12 -10
  4. package/core.js.map +1 -1
  5. package/core.mjs +12 -10
  6. package/core.mjs.map +1 -1
  7. package/package.json +1 -1
  8. package/resources/card-payments.d.ts +275 -2
  9. package/resources/card-payments.d.ts.map +1 -1
  10. package/resources/card-payments.js.map +1 -1
  11. package/resources/card-payments.mjs.map +1 -1
  12. package/resources/declined-transactions.d.ts +76 -1
  13. package/resources/declined-transactions.d.ts.map +1 -1
  14. package/resources/declined-transactions.js.map +1 -1
  15. package/resources/declined-transactions.mjs.map +1 -1
  16. package/resources/inbound-ach-transfers.d.ts +8 -2
  17. package/resources/inbound-ach-transfers.d.ts.map +1 -1
  18. package/resources/inbound-ach-transfers.js.map +1 -1
  19. package/resources/inbound-ach-transfers.mjs.map +1 -1
  20. package/resources/pending-transactions.d.ts +73 -0
  21. package/resources/pending-transactions.d.ts.map +1 -1
  22. package/resources/pending-transactions.js.map +1 -1
  23. package/resources/pending-transactions.mjs.map +1 -1
  24. package/resources/real-time-decisions.d.ts +73 -0
  25. package/resources/real-time-decisions.d.ts.map +1 -1
  26. package/resources/real-time-decisions.js.map +1 -1
  27. package/resources/real-time-decisions.mjs.map +1 -1
  28. package/resources/simulations/ach-transfers.d.ts +80 -2
  29. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  30. package/resources/simulations/ach-transfers.js.map +1 -1
  31. package/resources/simulations/ach-transfers.mjs.map +1 -1
  32. package/resources/simulations/cards.d.ts +149 -1
  33. package/resources/simulations/cards.d.ts.map +1 -1
  34. package/resources/simulations/cards.js.map +1 -1
  35. package/resources/simulations/cards.mjs.map +1 -1
  36. package/resources/simulations/real-time-payments-transfers.d.ts +76 -1
  37. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  38. package/resources/simulations/real-time-payments-transfers.js.map +1 -1
  39. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
  40. package/src/core.ts +13 -12
  41. package/src/resources/card-payments.ts +328 -1
  42. package/src/resources/declined-transactions.ts +92 -1
  43. package/src/resources/inbound-ach-transfers.ts +8 -0
  44. package/src/resources/pending-transactions.ts +88 -0
  45. package/src/resources/real-time-decisions.ts +88 -0
  46. package/src/resources/simulations/ach-transfers.ts +96 -1
  47. package/src/resources/simulations/cards.ts +180 -1
  48. package/src/resources/simulations/real-time-payments-transfers.ts +92 -1
  49. package/src/version.ts +1 -1
  50. package/version.d.ts +1 -1
  51. package/version.js +1 -1
  52. package/version.mjs +1 -1
@@ -443,6 +443,11 @@ export namespace CardAuthorizationSimulation {
443
443
  | 'invalid_physical_card'
444
444
  | 'missing_original_authorization'
445
445
  | 'suspected_fraud';
446
+
447
+ /**
448
+ * Fields related to verification of cardholder-provided values.
449
+ */
450
+ verification: CardDecline.Verification;
446
451
  }
447
452
 
448
453
  export namespace CardDecline {
@@ -546,6 +551,89 @@ export namespace CardAuthorizationSimulation {
546
551
  | null;
547
552
  }
548
553
  }
554
+
555
+ /**
556
+ * Fields related to verification of cardholder-provided values.
557
+ */
558
+ export interface Verification {
559
+ /**
560
+ * Fields related to verification of the Card Verification Code, a 3-digit code on
561
+ * the back of the card.
562
+ */
563
+ card_verification_code: Verification.CardVerificationCode;
564
+
565
+ /**
566
+ * Cardholder address provided in the authorization request and the address on file
567
+ * we verified it against.
568
+ */
569
+ cardholder_address: Verification.CardholderAddress;
570
+ }
571
+
572
+ export namespace Verification {
573
+ /**
574
+ * Fields related to verification of the Card Verification Code, a 3-digit code on
575
+ * the back of the card.
576
+ */
577
+ export interface CardVerificationCode {
578
+ /**
579
+ * The result of verifying the Card Verification Code.
580
+ *
581
+ * - `not_checked` - No card verification code was provided in the authorization
582
+ * request.
583
+ * - `match` - The card verification code matched the one on file.
584
+ * - `no_match` - The card verification code did not match the one on file.
585
+ */
586
+ result: 'not_checked' | 'match' | 'no_match';
587
+ }
588
+
589
+ /**
590
+ * Cardholder address provided in the authorization request and the address on file
591
+ * we verified it against.
592
+ */
593
+ export interface CardholderAddress {
594
+ /**
595
+ * Line 1 of the address on file for the cardholder.
596
+ */
597
+ actual_line1: string | null;
598
+
599
+ /**
600
+ * The postal code of the address on file for the cardholder.
601
+ */
602
+ actual_postal_code: string | null;
603
+
604
+ /**
605
+ * The cardholder address line 1 provided for verification in the authorization
606
+ * request.
607
+ */
608
+ provided_line1: string | null;
609
+
610
+ /**
611
+ * The postal code provided for verification in the authorization request.
612
+ */
613
+ provided_postal_code: string | null;
614
+
615
+ /**
616
+ * The address verification result returned to the card network.
617
+ *
618
+ * - `not_checked` - No adress was provided in the authorization request.
619
+ * - `postal_code_match_address_not_checked` - Postal code matches, but the street
620
+ * address was not verified.
621
+ * - `postal_code_match_address_no_match` - Postal code matches, but the street
622
+ * address does not match.
623
+ * - `postal_code_no_match_address_match` - Postal code does not match, but the
624
+ * street address matches.
625
+ * - `match` - Postal code and street address match.
626
+ * - `no_match` - Postal code and street address do not match.
627
+ */
628
+ result:
629
+ | 'not_checked'
630
+ | 'postal_code_match_address_not_checked'
631
+ | 'postal_code_match_address_no_match'
632
+ | 'postal_code_no_match_address_match'
633
+ | 'match'
634
+ | 'no_match';
635
+ }
636
+ }
549
637
  }
550
638
 
551
639
  /**
@@ -582,6 +670,8 @@ export namespace CardAuthorizationSimulation {
582
670
  * does not match the amount on the check.
583
671
  * - `not_our_item` - The check attempting to be deposited does not belong to
584
672
  * Increase.
673
+ * - `no_account_number_found` - The account number on the check does not exist at
674
+ * Increase.
585
675
  */
586
676
  reason:
587
677
  | 'ach_route_disabled'
@@ -594,7 +684,8 @@ export namespace CardAuthorizationSimulation {
594
684
  | 'duplicate_presentment'
595
685
  | 'not_authorized'
596
686
  | 'amount_mismatch'
597
- | 'not_our_item';
687
+ | 'not_our_item'
688
+ | 'no_account_number_found';
598
689
  }
599
690
 
600
691
  /**
@@ -1421,6 +1512,11 @@ export namespace CardAuthorizationSimulation {
1421
1512
  * `card_authorization`.
1422
1513
  */
1423
1514
  type: 'card_authorization';
1515
+
1516
+ /**
1517
+ * Fields related to verification of cardholder-provided values.
1518
+ */
1519
+ verification: CardAuthorization.Verification;
1424
1520
  }
1425
1521
 
1426
1522
  export namespace CardAuthorization {
@@ -1524,6 +1620,89 @@ export namespace CardAuthorizationSimulation {
1524
1620
  | null;
1525
1621
  }
1526
1622
  }
1623
+
1624
+ /**
1625
+ * Fields related to verification of cardholder-provided values.
1626
+ */
1627
+ export interface Verification {
1628
+ /**
1629
+ * Fields related to verification of the Card Verification Code, a 3-digit code on
1630
+ * the back of the card.
1631
+ */
1632
+ card_verification_code: Verification.CardVerificationCode;
1633
+
1634
+ /**
1635
+ * Cardholder address provided in the authorization request and the address on file
1636
+ * we verified it against.
1637
+ */
1638
+ cardholder_address: Verification.CardholderAddress;
1639
+ }
1640
+
1641
+ export namespace Verification {
1642
+ /**
1643
+ * Fields related to verification of the Card Verification Code, a 3-digit code on
1644
+ * the back of the card.
1645
+ */
1646
+ export interface CardVerificationCode {
1647
+ /**
1648
+ * The result of verifying the Card Verification Code.
1649
+ *
1650
+ * - `not_checked` - No card verification code was provided in the authorization
1651
+ * request.
1652
+ * - `match` - The card verification code matched the one on file.
1653
+ * - `no_match` - The card verification code did not match the one on file.
1654
+ */
1655
+ result: 'not_checked' | 'match' | 'no_match';
1656
+ }
1657
+
1658
+ /**
1659
+ * Cardholder address provided in the authorization request and the address on file
1660
+ * we verified it against.
1661
+ */
1662
+ export interface CardholderAddress {
1663
+ /**
1664
+ * Line 1 of the address on file for the cardholder.
1665
+ */
1666
+ actual_line1: string | null;
1667
+
1668
+ /**
1669
+ * The postal code of the address on file for the cardholder.
1670
+ */
1671
+ actual_postal_code: string | null;
1672
+
1673
+ /**
1674
+ * The cardholder address line 1 provided for verification in the authorization
1675
+ * request.
1676
+ */
1677
+ provided_line1: string | null;
1678
+
1679
+ /**
1680
+ * The postal code provided for verification in the authorization request.
1681
+ */
1682
+ provided_postal_code: string | null;
1683
+
1684
+ /**
1685
+ * The address verification result returned to the card network.
1686
+ *
1687
+ * - `not_checked` - No adress was provided in the authorization request.
1688
+ * - `postal_code_match_address_not_checked` - Postal code matches, but the street
1689
+ * address was not verified.
1690
+ * - `postal_code_match_address_no_match` - Postal code matches, but the street
1691
+ * address does not match.
1692
+ * - `postal_code_no_match_address_match` - Postal code does not match, but the
1693
+ * street address matches.
1694
+ * - `match` - Postal code and street address match.
1695
+ * - `no_match` - Postal code and street address do not match.
1696
+ */
1697
+ result:
1698
+ | 'not_checked'
1699
+ | 'postal_code_match_address_not_checked'
1700
+ | 'postal_code_match_address_no_match'
1701
+ | 'postal_code_no_match_address_match'
1702
+ | 'match'
1703
+ | 'no_match';
1704
+ }
1705
+ }
1527
1706
  }
1528
1707
 
1529
1708
  /**
@@ -442,6 +442,11 @@ export namespace InboundRealTimePaymentsTransferSimulationResult {
442
442
  | 'invalid_physical_card'
443
443
  | 'missing_original_authorization'
444
444
  | 'suspected_fraud';
445
+
446
+ /**
447
+ * Fields related to verification of cardholder-provided values.
448
+ */
449
+ verification: CardDecline.Verification;
445
450
  }
446
451
 
447
452
  export namespace CardDecline {
@@ -545,6 +550,89 @@ export namespace InboundRealTimePaymentsTransferSimulationResult {
545
550
  | null;
546
551
  }
547
552
  }
553
+
554
+ /**
555
+ * Fields related to verification of cardholder-provided values.
556
+ */
557
+ export interface Verification {
558
+ /**
559
+ * Fields related to verification of the Card Verification Code, a 3-digit code on
560
+ * the back of the card.
561
+ */
562
+ card_verification_code: Verification.CardVerificationCode;
563
+
564
+ /**
565
+ * Cardholder address provided in the authorization request and the address on file
566
+ * we verified it against.
567
+ */
568
+ cardholder_address: Verification.CardholderAddress;
569
+ }
570
+
571
+ export namespace Verification {
572
+ /**
573
+ * Fields related to verification of the Card Verification Code, a 3-digit code on
574
+ * the back of the card.
575
+ */
576
+ export interface CardVerificationCode {
577
+ /**
578
+ * The result of verifying the Card Verification Code.
579
+ *
580
+ * - `not_checked` - No card verification code was provided in the authorization
581
+ * request.
582
+ * - `match` - The card verification code matched the one on file.
583
+ * - `no_match` - The card verification code did not match the one on file.
584
+ */
585
+ result: 'not_checked' | 'match' | 'no_match';
586
+ }
587
+
588
+ /**
589
+ * Cardholder address provided in the authorization request and the address on file
590
+ * we verified it against.
591
+ */
592
+ export interface CardholderAddress {
593
+ /**
594
+ * Line 1 of the address on file for the cardholder.
595
+ */
596
+ actual_line1: string | null;
597
+
598
+ /**
599
+ * The postal code of the address on file for the cardholder.
600
+ */
601
+ actual_postal_code: string | null;
602
+
603
+ /**
604
+ * The cardholder address line 1 provided for verification in the authorization
605
+ * request.
606
+ */
607
+ provided_line1: string | null;
608
+
609
+ /**
610
+ * The postal code provided for verification in the authorization request.
611
+ */
612
+ provided_postal_code: string | null;
613
+
614
+ /**
615
+ * The address verification result returned to the card network.
616
+ *
617
+ * - `not_checked` - No adress was provided in the authorization request.
618
+ * - `postal_code_match_address_not_checked` - Postal code matches, but the street
619
+ * address was not verified.
620
+ * - `postal_code_match_address_no_match` - Postal code matches, but the street
621
+ * address does not match.
622
+ * - `postal_code_no_match_address_match` - Postal code does not match, but the
623
+ * street address matches.
624
+ * - `match` - Postal code and street address match.
625
+ * - `no_match` - Postal code and street address do not match.
626
+ */
627
+ result:
628
+ | 'not_checked'
629
+ | 'postal_code_match_address_not_checked'
630
+ | 'postal_code_match_address_no_match'
631
+ | 'postal_code_no_match_address_match'
632
+ | 'match'
633
+ | 'no_match';
634
+ }
635
+ }
548
636
  }
549
637
 
550
638
  /**
@@ -581,6 +669,8 @@ export namespace InboundRealTimePaymentsTransferSimulationResult {
581
669
  * does not match the amount on the check.
582
670
  * - `not_our_item` - The check attempting to be deposited does not belong to
583
671
  * Increase.
672
+ * - `no_account_number_found` - The account number on the check does not exist at
673
+ * Increase.
584
674
  */
585
675
  reason:
586
676
  | 'ach_route_disabled'
@@ -593,7 +683,8 @@ export namespace InboundRealTimePaymentsTransferSimulationResult {
593
683
  | 'duplicate_presentment'
594
684
  | 'not_authorized'
595
685
  | 'amount_mismatch'
596
- | 'not_our_item';
686
+ | 'not_our_item'
687
+ | 'no_account_number_found';
597
688
  }
598
689
 
599
690
  /**
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.12.0'; // x-release-please-version
1
+ export const VERSION = '0.13.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.12.0";
1
+ export declare const VERSION = "0.13.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.12.0'; // x-release-please-version
4
+ exports.VERSION = '0.13.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.12.0'; // x-release-please-version
1
+ export const VERSION = '0.13.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map