increase 0.577.0 → 0.578.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 (41) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/package.json +1 -1
  3. package/resources/ach-prenotifications.d.mts +5 -2
  4. package/resources/ach-prenotifications.d.mts.map +1 -1
  5. package/resources/ach-prenotifications.d.ts +5 -2
  6. package/resources/ach-prenotifications.d.ts.map +1 -1
  7. package/resources/ach-transfers.d.mts +14 -2
  8. package/resources/ach-transfers.d.mts.map +1 -1
  9. package/resources/ach-transfers.d.ts +14 -2
  10. package/resources/ach-transfers.d.ts.map +1 -1
  11. package/resources/beneficial-owners.d.mts +10 -9
  12. package/resources/beneficial-owners.d.mts.map +1 -1
  13. package/resources/beneficial-owners.d.ts +10 -9
  14. package/resources/beneficial-owners.d.ts.map +1 -1
  15. package/resources/beneficial-owners.js +0 -1
  16. package/resources/beneficial-owners.js.map +1 -1
  17. package/resources/beneficial-owners.mjs +0 -1
  18. package/resources/beneficial-owners.mjs.map +1 -1
  19. package/resources/entities.d.mts +40 -32
  20. package/resources/entities.d.mts.map +1 -1
  21. package/resources/entities.d.ts +40 -32
  22. package/resources/entities.d.ts.map +1 -1
  23. package/resources/simulations/ach-transfers.d.mts +11 -2
  24. package/resources/simulations/ach-transfers.d.mts.map +1 -1
  25. package/resources/simulations/ach-transfers.d.ts +11 -2
  26. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  27. package/resources/transactions.d.mts +14 -2
  28. package/resources/transactions.d.mts.map +1 -1
  29. package/resources/transactions.d.ts +14 -2
  30. package/resources/transactions.d.ts.map +1 -1
  31. package/src/resources/ach-prenotifications.ts +5 -2
  32. package/src/resources/ach-transfers.ts +15 -2
  33. package/src/resources/beneficial-owners.ts +10 -9
  34. package/src/resources/entities.ts +40 -32
  35. package/src/resources/simulations/ach-transfers.ts +12 -2
  36. package/src/resources/transactions.ts +15 -2
  37. package/src/version.ts +1 -1
  38. package/version.d.mts +1 -1
  39. package/version.d.ts +1 -1
  40. package/version.js +1 -1
  41. package/version.mjs +1 -1
@@ -1397,14 +1397,15 @@ export namespace EntityCreateParams {
1397
1397
  city: string;
1398
1398
 
1399
1399
  /**
1400
- * The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1400
+ * The first line of the address. This is usually the street number and street.
1401
1401
  */
1402
- country: string;
1402
+ line1: string;
1403
1403
 
1404
1404
  /**
1405
- * The first line of the address. This is usually the street number and street.
1405
+ * The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
1406
+ * to `US`.
1406
1407
  */
1407
- line1: string;
1408
+ country?: string;
1408
1409
 
1409
1410
  /**
1410
1411
  * The second line of the address. This might be the floor or room number.
@@ -1491,14 +1492,15 @@ export namespace EntityCreateParams {
1491
1492
  city: string;
1492
1493
 
1493
1494
  /**
1494
- * The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1495
+ * The first line of the address. This is usually the street number and street.
1495
1496
  */
1496
- country: string;
1497
+ line1: string;
1497
1498
 
1498
1499
  /**
1499
- * The first line of the address. This is usually the street number and street.
1500
+ * The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
1501
+ * to `US`.
1500
1502
  */
1501
- line1: string;
1503
+ country?: string;
1502
1504
 
1503
1505
  /**
1504
1506
  * The second line of the address. This might be the floor or room number.
@@ -1821,14 +1823,15 @@ export namespace EntityCreateParams {
1821
1823
  city: string;
1822
1824
 
1823
1825
  /**
1824
- * The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1826
+ * The first line of the address. This is usually the street number and street.
1825
1827
  */
1826
- country: string;
1828
+ line1: string;
1827
1829
 
1828
1830
  /**
1829
- * The first line of the address. This is usually the street number and street.
1831
+ * The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
1832
+ * to `US`.
1830
1833
  */
1831
- line1: string;
1834
+ country?: string;
1832
1835
 
1833
1836
  /**
1834
1837
  * The second line of the address. This might be the floor or room number.
@@ -2032,14 +2035,15 @@ export namespace EntityCreateParams {
2032
2035
  city: string;
2033
2036
 
2034
2037
  /**
2035
- * The two-letter ISO 3166-1 alpha-2 code for the country of the address.
2038
+ * The first line of the address. This is usually the street number and street.
2036
2039
  */
2037
- country: string;
2040
+ line1: string;
2038
2041
 
2039
2042
  /**
2040
- * The first line of the address. This is usually the street number and street.
2043
+ * The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
2044
+ * to `US`.
2041
2045
  */
2042
- line1: string;
2046
+ country?: string;
2043
2047
 
2044
2048
  /**
2045
2049
  * The second line of the address. This might be the floor or room number.
@@ -2411,14 +2415,15 @@ export namespace EntityCreateParams {
2411
2415
  city: string;
2412
2416
 
2413
2417
  /**
2414
- * The two-letter ISO 3166-1 alpha-2 code for the country of the address.
2418
+ * The first line of the address. This is usually the street number and street.
2415
2419
  */
2416
- country: string;
2420
+ line1: string;
2417
2421
 
2418
2422
  /**
2419
- * The first line of the address. This is usually the street number and street.
2423
+ * The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
2424
+ * to `US`.
2420
2425
  */
2421
- line1: string;
2426
+ country?: string;
2422
2427
 
2423
2428
  /**
2424
2429
  * The second line of the address. This might be the floor or room number.
@@ -2619,14 +2624,15 @@ export namespace EntityCreateParams {
2619
2624
  city: string;
2620
2625
 
2621
2626
  /**
2622
- * The two-letter ISO 3166-1 alpha-2 code for the country of the address.
2627
+ * The first line of the address. This is usually the street number and street.
2623
2628
  */
2624
- country: string;
2629
+ line1: string;
2625
2630
 
2626
2631
  /**
2627
- * The first line of the address. This is usually the street number and street.
2632
+ * The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
2633
+ * to `US`.
2628
2634
  */
2629
- line1: string;
2635
+ country?: string;
2630
2636
 
2631
2637
  /**
2632
2638
  * The second line of the address. This might be the floor or room number.
@@ -2898,14 +2904,15 @@ export namespace EntityUpdateParams {
2898
2904
  city: string;
2899
2905
 
2900
2906
  /**
2901
- * The two-letter ISO 3166-1 alpha-2 code for the country of the address.
2907
+ * The first line of the address. This is usually the street number and street.
2902
2908
  */
2903
- country: string;
2909
+ line1: string;
2904
2910
 
2905
2911
  /**
2906
- * The first line of the address. This is usually the street number and street.
2912
+ * The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
2913
+ * to `US`.
2907
2914
  */
2908
- line1: string;
2915
+ country?: string;
2909
2916
 
2910
2917
  /**
2911
2918
  * The second line of the address. This might be the floor or room number.
@@ -3041,14 +3048,15 @@ export namespace EntityUpdateParams {
3041
3048
  city: string;
3042
3049
 
3043
3050
  /**
3044
- * The two-letter ISO 3166-1 alpha-2 code for the country of the address.
3051
+ * The first line of the address. This is usually the street number and street.
3045
3052
  */
3046
- country: string;
3053
+ line1: string;
3047
3054
 
3048
3055
  /**
3049
- * The first line of the address. This is usually the street number and street.
3056
+ * The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
3057
+ * to `US`.
3050
3058
  */
3051
- line1: string;
3059
+ country?: string;
3052
3060
 
3053
3061
  /**
3054
3062
  * The second line of the address. This might be the floor or room number.
@@ -147,6 +147,13 @@ export interface ACHTransferCreateNotificationOfChangeParams {
147
147
  }
148
148
 
149
149
  export interface ACHTransferReturnParams {
150
+ /**
151
+ * Free-form information the returning bank includes in the return addenda. For a
152
+ * `file_record_edit_criteria` (R17) return, set this to `QUESTIONABLE` to simulate
153
+ * a return the bank believes was initiated under questionable circumstances.
154
+ */
155
+ addenda_information?: string;
156
+
150
157
  /**
151
158
  * The reason why the Federal Reserve or destination bank returned this transfer.
152
159
  * Defaults to `no_account`.
@@ -184,8 +191,11 @@ export interface ACHTransferReturnParams {
184
191
  * - `authorization_revoked_by_customer` - Code R07. The customer revoked their
185
192
  * authorization for a previously authorized transfer.
186
193
  * - `invalid_ach_routing_number` - Code R13. The routing number is invalid.
187
- * - `file_record_edit_criteria` - Code R17. The receiving bank is unable to
188
- * process a field in the transfer.
194
+ * - `file_record_edit_criteria` - Code R17. This return code has multiple
195
+ * meanings. The receiving bank was either unable to process a field in the
196
+ * transfer, or believes the transfer was initiated under questionable
197
+ * circumstances (such as fraud), or identified an improperly-initiated reversing
198
+ * entry.
189
199
  * - `enr_invalid_individual_name` - Code R45. A rare return reason. The individual
190
200
  * name field was invalid.
191
201
  * - `returned_per_odfi_request` - Code R06. The originating financial institution
@@ -691,6 +691,16 @@ export namespace Transaction {
691
691
  * created.
692
692
  */
693
693
  export interface ACHTransferReturn {
694
+ /**
695
+ * Additional free-form information included by the receiving bank in the return's
696
+ * addenda record. This is raw, uninterpreted text whose presence and format are
697
+ * not guaranteed. For a `file_record_edit_criteria` (R17) return the receiving
698
+ * bank may set this to `QUESTIONABLE` (optionally followed by more text) to
699
+ * indicate it believes the transfer was initiated under questionable
700
+ * circumstances.
701
+ */
702
+ addenda_information: string | null;
703
+
694
704
  /**
695
705
  * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
696
706
  * the transfer was created.
@@ -739,8 +749,11 @@ export namespace Transaction {
739
749
  * - `authorization_revoked_by_customer` - Code R07. The customer revoked their
740
750
  * authorization for a previously authorized transfer.
741
751
  * - `invalid_ach_routing_number` - Code R13. The routing number is invalid.
742
- * - `file_record_edit_criteria` - Code R17. The receiving bank is unable to
743
- * process a field in the transfer.
752
+ * - `file_record_edit_criteria` - Code R17. This return code has multiple
753
+ * meanings. The receiving bank was either unable to process a field in the
754
+ * transfer, or believes the transfer was initiated under questionable
755
+ * circumstances (such as fraud), or identified an improperly-initiated reversing
756
+ * entry.
744
757
  * - `enr_invalid_individual_name` - Code R45. A rare return reason. The individual
745
758
  * name field was invalid.
746
759
  * - `returned_per_odfi_request` - Code R06. The originating financial institution
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.577.0'; // x-release-please-version
1
+ export const VERSION = '0.578.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.577.0";
1
+ export declare const VERSION = "0.578.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.577.0";
1
+ export declare const VERSION = "0.578.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.577.0'; // x-release-please-version
4
+ exports.VERSION = '0.578.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.577.0'; // x-release-please-version
1
+ export const VERSION = '0.578.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map