increase 0.576.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 (80) hide show
  1. package/CHANGELOG.md +18 -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/check-transfers.d.mts +2 -1
  20. package/resources/check-transfers.d.mts.map +1 -1
  21. package/resources/check-transfers.d.ts +2 -1
  22. package/resources/check-transfers.d.ts.map +1 -1
  23. package/resources/entities.d.mts +40 -32
  24. package/resources/entities.d.mts.map +1 -1
  25. package/resources/entities.d.ts +40 -32
  26. package/resources/entities.d.ts.map +1 -1
  27. package/resources/event-subscriptions.d.mts +10 -2
  28. package/resources/event-subscriptions.d.mts.map +1 -1
  29. package/resources/event-subscriptions.d.ts +10 -2
  30. package/resources/event-subscriptions.d.ts.map +1 -1
  31. package/resources/events.d.mts +11 -3
  32. package/resources/events.d.mts.map +1 -1
  33. package/resources/events.d.ts +11 -3
  34. package/resources/events.d.ts.map +1 -1
  35. package/resources/inbound-wire-transfers.d.mts +8 -0
  36. package/resources/inbound-wire-transfers.d.mts.map +1 -1
  37. package/resources/inbound-wire-transfers.d.ts +8 -0
  38. package/resources/inbound-wire-transfers.d.ts.map +1 -1
  39. package/resources/simulations/ach-transfers.d.mts +11 -2
  40. package/resources/simulations/ach-transfers.d.mts.map +1 -1
  41. package/resources/simulations/ach-transfers.d.ts +11 -2
  42. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  43. package/resources/simulations/card-settlements.d.mts +7 -8
  44. package/resources/simulations/card-settlements.d.mts.map +1 -1
  45. package/resources/simulations/card-settlements.d.ts +7 -8
  46. package/resources/simulations/card-settlements.d.ts.map +1 -1
  47. package/resources/simulations/card-settlements.js +0 -2
  48. package/resources/simulations/card-settlements.js.map +1 -1
  49. package/resources/simulations/card-settlements.mjs +0 -2
  50. package/resources/simulations/card-settlements.mjs.map +1 -1
  51. package/resources/simulations/programs.d.mts +1 -2
  52. package/resources/simulations/programs.d.mts.map +1 -1
  53. package/resources/simulations/programs.d.ts +1 -2
  54. package/resources/simulations/programs.d.ts.map +1 -1
  55. package/resources/swift-transfers.d.mts +10 -0
  56. package/resources/swift-transfers.d.mts.map +1 -1
  57. package/resources/swift-transfers.d.ts +10 -0
  58. package/resources/swift-transfers.d.ts.map +1 -1
  59. package/resources/transactions.d.mts +14 -2
  60. package/resources/transactions.d.mts.map +1 -1
  61. package/resources/transactions.d.ts +14 -2
  62. package/resources/transactions.d.ts.map +1 -1
  63. package/src/resources/ach-prenotifications.ts +5 -2
  64. package/src/resources/ach-transfers.ts +15 -2
  65. package/src/resources/beneficial-owners.ts +10 -9
  66. package/src/resources/check-transfers.ts +2 -1
  67. package/src/resources/entities.ts +40 -32
  68. package/src/resources/event-subscriptions.ts +12 -0
  69. package/src/resources/events.ts +14 -0
  70. package/src/resources/inbound-wire-transfers.ts +10 -0
  71. package/src/resources/simulations/ach-transfers.ts +12 -2
  72. package/src/resources/simulations/card-settlements.ts +7 -8
  73. package/src/resources/simulations/programs.ts +1 -2
  74. package/src/resources/swift-transfers.ts +12 -0
  75. package/src/resources/transactions.ts +15 -2
  76. package/src/version.ts +1 -1
  77. package/version.d.mts +1 -1
  78. package/version.d.ts +1 -1
  79. package/version.js +1 -1
  80. package/version.mjs +1 -1
@@ -184,6 +184,12 @@ export interface SwiftTransfer {
184
184
  */
185
185
  instructed_currency: 'USD';
186
186
 
187
+ /**
188
+ * The bank identification code (BIC) of the intermediary bank, if the transfer is
189
+ * routed through one.
190
+ */
191
+ intermediary_bank_identification_code: string | null;
192
+
187
193
  /**
188
194
  * The ID for the pending transaction representing the transfer.
189
195
  */
@@ -448,6 +454,12 @@ export interface SwiftTransferCreateParams {
448
454
  */
449
455
  unstructured_remittance_information: string;
450
456
 
457
+ /**
458
+ * The bank identification code (BIC) of the intermediary bank, if the transfer
459
+ * should be routed through one.
460
+ */
461
+ intermediary_bank_identification_code?: string;
462
+
451
463
  /**
452
464
  * Whether the transfer requires explicit approval via the dashboard or API.
453
465
  */
@@ -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.576.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.576.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.576.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.576.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.576.0'; // x-release-please-version
1
+ export const VERSION = '0.578.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map