@naturalpay/sdk 1.6.9 → 1.6.11

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 (236) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/Client.d.ts +8 -8
  3. package/dist/cjs/Client.js +16 -16
  4. package/dist/cjs/api/resources/approvals/types/ApprovalAttrs.d.ts +2 -0
  5. package/dist/cjs/api/resources/approvals/types/ApprovalDetailAttrs.d.ts +2 -0
  6. package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtime.d.ts +7 -0
  7. package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtime.js +3 -0
  8. package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterparty.d.ts +11 -0
  9. package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterparty.js +3 -0
  10. package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount.d.ts +14 -0
  11. package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount.js +3 -0
  12. package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.d.ts +6 -0
  13. package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.js +9 -0
  14. package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind.d.ts +6 -0
  15. package/dist/cjs/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind.js +9 -0
  16. package/dist/cjs/api/resources/approvals/types/ApproveResultAttrs.d.ts +2 -0
  17. package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtime.d.ts +7 -0
  18. package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtime.js +3 -0
  19. package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterparty.d.ts +11 -0
  20. package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterparty.js +3 -0
  21. package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount.d.ts +14 -0
  22. package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount.js +3 -0
  23. package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.d.ts +6 -0
  24. package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.js +9 -0
  25. package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind.d.ts +6 -0
  26. package/dist/cjs/api/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind.js +9 -0
  27. package/dist/cjs/api/resources/approvals/types/DenyResultAttrs.d.ts +2 -0
  28. package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesRealtime.d.ts +7 -0
  29. package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesRealtime.js +3 -0
  30. package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterparty.d.ts +11 -0
  31. package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterparty.js +3 -0
  32. package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount.d.ts +14 -0
  33. package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount.js +3 -0
  34. package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.d.ts +6 -0
  35. package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.js +9 -0
  36. package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyKind.d.ts +6 -0
  37. package/dist/cjs/api/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyKind.js +9 -0
  38. package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtime.d.ts +7 -0
  39. package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtime.js +3 -0
  40. package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterparty.d.ts +11 -0
  41. package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterparty.js +3 -0
  42. package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount.d.ts +14 -0
  43. package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount.js +3 -0
  44. package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType.d.ts +6 -0
  45. package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType.js +9 -0
  46. package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind.d.ts +6 -0
  47. package/dist/cjs/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind.js +9 -0
  48. package/dist/cjs/api/resources/approvals/types/index.d.ts +20 -0
  49. package/dist/cjs/api/resources/approvals/types/index.js +20 -0
  50. package/dist/cjs/api/resources/externalParties/client/requests/NewExtPartyParams.d.ts +1 -1
  51. package/dist/cjs/api/resources/externalParties/types/NewExtPartyParamsAddress.d.ts +7 -4
  52. package/dist/cjs/api/resources/transactions/types/ListTransactionsRequestType.d.ts +1 -0
  53. package/dist/cjs/api/resources/transactions/types/ListTransactionsRequestType.js +1 -0
  54. package/dist/cjs/api/resources/transactions/types/TxnDetailTransactionType.d.ts +1 -0
  55. package/dist/cjs/api/resources/transactions/types/TxnDetailTransactionType.js +1 -0
  56. package/dist/cjs/api/resources/transactions/types/TxnTransactionType.d.ts +1 -0
  57. package/dist/cjs/api/resources/transactions/types/TxnTransactionType.js +1 -0
  58. package/dist/cjs/serialization/resources/approvals/types/ApprovalAttrs.d.ts +2 -0
  59. package/dist/cjs/serialization/resources/approvals/types/ApprovalAttrs.js +2 -0
  60. package/dist/cjs/serialization/resources/approvals/types/ApprovalDetailAttrs.d.ts +2 -0
  61. package/dist/cjs/serialization/resources/approvals/types/ApprovalDetailAttrs.js +2 -0
  62. package/dist/cjs/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtime.d.ts +11 -0
  63. package/dist/cjs/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtime.js +43 -0
  64. package/dist/cjs/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterparty.d.ts +14 -0
  65. package/dist/cjs/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterparty.js +46 -0
  66. package/dist/cjs/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount.d.ts +13 -0
  67. package/dist/cjs/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount.js +45 -0
  68. package/dist/cjs/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.d.ts +7 -0
  69. package/dist/cjs/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.js +39 -0
  70. package/dist/cjs/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind.d.ts +7 -0
  71. package/dist/cjs/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind.js +39 -0
  72. package/dist/cjs/serialization/resources/approvals/types/ApproveResultAttrs.d.ts +2 -0
  73. package/dist/cjs/serialization/resources/approvals/types/ApproveResultAttrs.js +2 -0
  74. package/dist/cjs/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtime.d.ts +11 -0
  75. package/dist/cjs/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtime.js +43 -0
  76. package/dist/cjs/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterparty.d.ts +14 -0
  77. package/dist/cjs/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterparty.js +46 -0
  78. package/dist/cjs/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount.d.ts +13 -0
  79. package/dist/cjs/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount.js +45 -0
  80. package/dist/cjs/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.d.ts +7 -0
  81. package/dist/cjs/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.js +39 -0
  82. package/dist/cjs/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind.d.ts +7 -0
  83. package/dist/cjs/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind.js +39 -0
  84. package/dist/cjs/serialization/resources/approvals/types/DenyResultAttrs.d.ts +2 -0
  85. package/dist/cjs/serialization/resources/approvals/types/DenyResultAttrs.js +2 -0
  86. package/dist/cjs/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesRealtime.d.ts +11 -0
  87. package/dist/cjs/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesRealtime.js +43 -0
  88. package/dist/cjs/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterparty.d.ts +14 -0
  89. package/dist/cjs/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterparty.js +46 -0
  90. package/dist/cjs/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount.d.ts +13 -0
  91. package/dist/cjs/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount.js +45 -0
  92. package/dist/cjs/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.d.ts +7 -0
  93. package/dist/cjs/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.js +39 -0
  94. package/dist/cjs/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyKind.d.ts +7 -0
  95. package/dist/cjs/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyKind.js +39 -0
  96. package/dist/cjs/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtime.d.ts +11 -0
  97. package/dist/cjs/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtime.js +43 -0
  98. package/dist/cjs/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterparty.d.ts +14 -0
  99. package/dist/cjs/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterparty.js +46 -0
  100. package/dist/cjs/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount.d.ts +13 -0
  101. package/dist/cjs/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount.js +45 -0
  102. package/dist/cjs/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType.d.ts +7 -0
  103. package/dist/cjs/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType.js +39 -0
  104. package/dist/cjs/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind.d.ts +7 -0
  105. package/dist/cjs/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind.js +39 -0
  106. package/dist/cjs/serialization/resources/approvals/types/index.d.ts +20 -0
  107. package/dist/cjs/serialization/resources/approvals/types/index.js +20 -0
  108. package/dist/cjs/serialization/resources/externalParties/types/NewExtPartyParamsAddress.d.ts +3 -3
  109. package/dist/cjs/serialization/resources/externalParties/types/NewExtPartyParamsAddress.js +3 -3
  110. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsRequestType.d.ts +1 -1
  111. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsRequestType.js +1 -1
  112. package/dist/cjs/serialization/resources/transactions/types/TxnDetailTransactionType.d.ts +1 -1
  113. package/dist/cjs/serialization/resources/transactions/types/TxnDetailTransactionType.js +1 -1
  114. package/dist/cjs/serialization/resources/transactions/types/TxnTransactionType.d.ts +1 -1
  115. package/dist/cjs/serialization/resources/transactions/types/TxnTransactionType.js +1 -1
  116. package/dist/cjs/version.d.ts +1 -1
  117. package/dist/cjs/version.js +1 -1
  118. package/dist/esm/BaseClient.mjs +2 -2
  119. package/dist/esm/Client.d.mts +8 -8
  120. package/dist/esm/Client.mjs +16 -16
  121. package/dist/esm/api/resources/approvals/types/ApprovalAttrs.d.mts +2 -0
  122. package/dist/esm/api/resources/approvals/types/ApprovalDetailAttrs.d.mts +2 -0
  123. package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtime.d.mts +7 -0
  124. package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtime.mjs +2 -0
  125. package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterparty.d.mts +11 -0
  126. package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterparty.mjs +2 -0
  127. package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount.d.mts +14 -0
  128. package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount.mjs +2 -0
  129. package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.d.mts +6 -0
  130. package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.mjs +6 -0
  131. package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind.d.mts +6 -0
  132. package/dist/esm/api/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind.mjs +6 -0
  133. package/dist/esm/api/resources/approvals/types/ApproveResultAttrs.d.mts +2 -0
  134. package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtime.d.mts +7 -0
  135. package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtime.mjs +2 -0
  136. package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterparty.d.mts +11 -0
  137. package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterparty.mjs +2 -0
  138. package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount.d.mts +14 -0
  139. package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount.mjs +2 -0
  140. package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.d.mts +6 -0
  141. package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.mjs +6 -0
  142. package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind.d.mts +6 -0
  143. package/dist/esm/api/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind.mjs +6 -0
  144. package/dist/esm/api/resources/approvals/types/DenyResultAttrs.d.mts +2 -0
  145. package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesRealtime.d.mts +7 -0
  146. package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesRealtime.mjs +2 -0
  147. package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterparty.d.mts +11 -0
  148. package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterparty.mjs +2 -0
  149. package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount.d.mts +14 -0
  150. package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount.mjs +2 -0
  151. package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.d.mts +6 -0
  152. package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.mjs +6 -0
  153. package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyKind.d.mts +6 -0
  154. package/dist/esm/api/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyKind.mjs +6 -0
  155. package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtime.d.mts +7 -0
  156. package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtime.mjs +2 -0
  157. package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterparty.d.mts +11 -0
  158. package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterparty.mjs +2 -0
  159. package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount.d.mts +14 -0
  160. package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount.mjs +2 -0
  161. package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType.d.mts +6 -0
  162. package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType.mjs +6 -0
  163. package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind.d.mts +6 -0
  164. package/dist/esm/api/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind.mjs +6 -0
  165. package/dist/esm/api/resources/approvals/types/index.d.mts +20 -0
  166. package/dist/esm/api/resources/approvals/types/index.mjs +20 -0
  167. package/dist/esm/api/resources/externalParties/client/requests/NewExtPartyParams.d.mts +1 -1
  168. package/dist/esm/api/resources/externalParties/types/NewExtPartyParamsAddress.d.mts +7 -4
  169. package/dist/esm/api/resources/transactions/types/ListTransactionsRequestType.d.mts +1 -0
  170. package/dist/esm/api/resources/transactions/types/ListTransactionsRequestType.mjs +1 -0
  171. package/dist/esm/api/resources/transactions/types/TxnDetailTransactionType.d.mts +1 -0
  172. package/dist/esm/api/resources/transactions/types/TxnDetailTransactionType.mjs +1 -0
  173. package/dist/esm/api/resources/transactions/types/TxnTransactionType.d.mts +1 -0
  174. package/dist/esm/api/resources/transactions/types/TxnTransactionType.mjs +1 -0
  175. package/dist/esm/serialization/resources/approvals/types/ApprovalAttrs.d.mts +2 -0
  176. package/dist/esm/serialization/resources/approvals/types/ApprovalAttrs.mjs +2 -0
  177. package/dist/esm/serialization/resources/approvals/types/ApprovalDetailAttrs.d.mts +2 -0
  178. package/dist/esm/serialization/resources/approvals/types/ApprovalDetailAttrs.mjs +2 -0
  179. package/dist/esm/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtime.d.mts +11 -0
  180. package/dist/esm/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtime.mjs +7 -0
  181. package/dist/esm/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterparty.d.mts +14 -0
  182. package/dist/esm/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterparty.mjs +10 -0
  183. package/dist/esm/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount.d.mts +13 -0
  184. package/dist/esm/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount.mjs +9 -0
  185. package/dist/esm/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.d.mts +7 -0
  186. package/dist/esm/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.mjs +3 -0
  187. package/dist/esm/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind.d.mts +7 -0
  188. package/dist/esm/serialization/resources/approvals/types/ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind.mjs +3 -0
  189. package/dist/esm/serialization/resources/approvals/types/ApproveResultAttrs.d.mts +2 -0
  190. package/dist/esm/serialization/resources/approvals/types/ApproveResultAttrs.mjs +2 -0
  191. package/dist/esm/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtime.d.mts +11 -0
  192. package/dist/esm/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtime.mjs +7 -0
  193. package/dist/esm/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterparty.d.mts +14 -0
  194. package/dist/esm/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterparty.mjs +10 -0
  195. package/dist/esm/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount.d.mts +13 -0
  196. package/dist/esm/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount.mjs +9 -0
  197. package/dist/esm/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.d.mts +7 -0
  198. package/dist/esm/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.mjs +3 -0
  199. package/dist/esm/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind.d.mts +7 -0
  200. package/dist/esm/serialization/resources/approvals/types/DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind.mjs +3 -0
  201. package/dist/esm/serialization/resources/approvals/types/DenyResultAttrs.d.mts +2 -0
  202. package/dist/esm/serialization/resources/approvals/types/DenyResultAttrs.mjs +2 -0
  203. package/dist/esm/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesRealtime.d.mts +11 -0
  204. package/dist/esm/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesRealtime.mjs +7 -0
  205. package/dist/esm/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterparty.d.mts +14 -0
  206. package/dist/esm/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterparty.mjs +10 -0
  207. package/dist/esm/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount.d.mts +13 -0
  208. package/dist/esm/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount.mjs +9 -0
  209. package/dist/esm/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.d.mts +7 -0
  210. package/dist/esm/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.mjs +3 -0
  211. package/dist/esm/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyKind.d.mts +7 -0
  212. package/dist/esm/serialization/resources/approvals/types/GetApprovalsResponseDataAttributesRealtimeCounterpartyKind.mjs +3 -0
  213. package/dist/esm/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtime.d.mts +11 -0
  214. package/dist/esm/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtime.mjs +7 -0
  215. package/dist/esm/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterparty.d.mts +14 -0
  216. package/dist/esm/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterparty.mjs +10 -0
  217. package/dist/esm/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount.d.mts +13 -0
  218. package/dist/esm/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount.mjs +9 -0
  219. package/dist/esm/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType.d.mts +7 -0
  220. package/dist/esm/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType.mjs +3 -0
  221. package/dist/esm/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind.d.mts +7 -0
  222. package/dist/esm/serialization/resources/approvals/types/ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind.mjs +3 -0
  223. package/dist/esm/serialization/resources/approvals/types/index.d.mts +20 -0
  224. package/dist/esm/serialization/resources/approvals/types/index.mjs +20 -0
  225. package/dist/esm/serialization/resources/externalParties/types/NewExtPartyParamsAddress.d.mts +3 -3
  226. package/dist/esm/serialization/resources/externalParties/types/NewExtPartyParamsAddress.mjs +3 -3
  227. package/dist/esm/serialization/resources/transactions/types/ListTransactionsRequestType.d.mts +1 -1
  228. package/dist/esm/serialization/resources/transactions/types/ListTransactionsRequestType.mjs +1 -1
  229. package/dist/esm/serialization/resources/transactions/types/TxnDetailTransactionType.d.mts +1 -1
  230. package/dist/esm/serialization/resources/transactions/types/TxnDetailTransactionType.mjs +1 -1
  231. package/dist/esm/serialization/resources/transactions/types/TxnTransactionType.d.mts +1 -1
  232. package/dist/esm/serialization/resources/transactions/types/TxnTransactionType.mjs +1 -1
  233. package/dist/esm/version.d.mts +1 -1
  234. package/dist/esm/version.mjs +1 -1
  235. package/package.json +45 -45
  236. package/reference.md +573 -573
@@ -0,0 +1,11 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ export interface GetApprovalsResponseDataAttributesRealtimeCounterparty {
3
+ /** External party being paid (epty_*). */
4
+ externalPartyId: string;
5
+ /** External party display or legal name. */
6
+ name: string;
7
+ /** External party type. */
8
+ kind: Natural.GetApprovalsResponseDataAttributesRealtimeCounterpartyKind;
9
+ /** Masked bank account the payment credits. */
10
+ account: Natural.GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount;
11
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,14 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ /**
3
+ * Masked bank account the payment credits.
4
+ */
5
+ export interface GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount {
6
+ /** External party account (epa_*). */
7
+ id: string;
8
+ /** Bank account type. */
9
+ accountType: Natural.GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType;
10
+ /** Last four account number digits. */
11
+ last4: string;
12
+ /** Masked account number. */
13
+ mask: string;
14
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,6 @@
1
+ /** Bank account type. */
2
+ export declare const GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType: {
3
+ readonly Checking: "checking";
4
+ readonly Savings: "savings";
5
+ };
6
+ export type GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType = (typeof GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType)[keyof typeof GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType];
@@ -0,0 +1,6 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Bank account type. */
3
+ export const GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType = {
4
+ Checking: "checking",
5
+ Savings: "savings",
6
+ };
@@ -0,0 +1,6 @@
1
+ /** External party type. */
2
+ export declare const GetApprovalsResponseDataAttributesRealtimeCounterpartyKind: {
3
+ readonly Individual: "individual";
4
+ readonly Business: "business";
5
+ };
6
+ export type GetApprovalsResponseDataAttributesRealtimeCounterpartyKind = (typeof GetApprovalsResponseDataAttributesRealtimeCounterpartyKind)[keyof typeof GetApprovalsResponseDataAttributesRealtimeCounterpartyKind];
@@ -0,0 +1,6 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** External party type. */
3
+ export const GetApprovalsResponseDataAttributesRealtimeCounterpartyKind = {
4
+ Individual: "individual",
5
+ Business: "business",
6
+ };
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ export interface ListApprovalsResponseDataItemAttributesRealtime {
3
+ /** Description supplied when the payment was created. */
4
+ description: string;
5
+ /** Destination party and masked account, or null when it can no longer be resolved. */
6
+ counterparty: Natural.ListApprovalsResponseDataItemAttributesRealtimeCounterparty | null;
7
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,11 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ export interface ListApprovalsResponseDataItemAttributesRealtimeCounterparty {
3
+ /** External party being paid (epty_*). */
4
+ externalPartyId: string;
5
+ /** External party display or legal name. */
6
+ name: string;
7
+ /** External party type. */
8
+ kind: Natural.ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind;
9
+ /** Masked bank account the payment credits. */
10
+ account: Natural.ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount;
11
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,14 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ /**
3
+ * Masked bank account the payment credits.
4
+ */
5
+ export interface ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount {
6
+ /** External party account (epa_*). */
7
+ id: string;
8
+ /** Bank account type. */
9
+ accountType: Natural.ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType;
10
+ /** Last four account number digits. */
11
+ last4: string;
12
+ /** Masked account number. */
13
+ mask: string;
14
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,6 @@
1
+ /** Bank account type. */
2
+ export declare const ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType: {
3
+ readonly Checking: "checking";
4
+ readonly Savings: "savings";
5
+ };
6
+ export type ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType = (typeof ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType)[keyof typeof ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType];
@@ -0,0 +1,6 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Bank account type. */
3
+ export const ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType = {
4
+ Checking: "checking",
5
+ Savings: "savings",
6
+ };
@@ -0,0 +1,6 @@
1
+ /** External party type. */
2
+ export declare const ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind: {
3
+ readonly Individual: "individual";
4
+ readonly Business: "business";
5
+ };
6
+ export type ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind = (typeof ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind)[keyof typeof ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind];
@@ -0,0 +1,6 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** External party type. */
3
+ export const ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind = {
4
+ Individual: "individual",
5
+ Business: "business",
6
+ };
@@ -27,6 +27,11 @@ export * from "./ApproveApprovalsResponseDataAttributesInitiatorActorType.mjs";
27
27
  export * from "./ApproveApprovalsResponseDataAttributesInitiatorAgent.mjs";
28
28
  export * from "./ApproveApprovalsResponseDataAttributesInitiatorAgentOwner.mjs";
29
29
  export * from "./ApproveApprovalsResponseDataAttributesPayment.mjs";
30
+ export * from "./ApproveApprovalsResponseDataAttributesRealtime.mjs";
31
+ export * from "./ApproveApprovalsResponseDataAttributesRealtimeCounterparty.mjs";
32
+ export * from "./ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount.mjs";
33
+ export * from "./ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.mjs";
34
+ export * from "./ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind.mjs";
30
35
  export * from "./ApproveApprovalsResponseDataAttributesReasonsItem.mjs";
31
36
  export * from "./ApproveApprovalsResponseDataAttributesReasonsItemLimitType.mjs";
32
37
  export * from "./ApproveApprovalsResponseDataAttributesReasonsItemType.mjs";
@@ -53,6 +58,11 @@ export * from "./DenyApprovalsResponseDataAttributesInitiatorActorType.mjs";
53
58
  export * from "./DenyApprovalsResponseDataAttributesInitiatorAgent.mjs";
54
59
  export * from "./DenyApprovalsResponseDataAttributesInitiatorAgentOwner.mjs";
55
60
  export * from "./DenyApprovalsResponseDataAttributesPayment.mjs";
61
+ export * from "./DenyApprovalsResponseDataAttributesRealtime.mjs";
62
+ export * from "./DenyApprovalsResponseDataAttributesRealtimeCounterparty.mjs";
63
+ export * from "./DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount.mjs";
64
+ export * from "./DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.mjs";
65
+ export * from "./DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind.mjs";
56
66
  export * from "./DenyApprovalsResponseDataAttributesReasonsItem.mjs";
57
67
  export * from "./DenyApprovalsResponseDataAttributesReasonsItemLimitType.mjs";
58
68
  export * from "./DenyApprovalsResponseDataAttributesReasonsItemType.mjs";
@@ -79,6 +89,11 @@ export * from "./GetApprovalsResponseDataAttributesInitiatorActorType.mjs";
79
89
  export * from "./GetApprovalsResponseDataAttributesInitiatorAgent.mjs";
80
90
  export * from "./GetApprovalsResponseDataAttributesInitiatorAgentOwner.mjs";
81
91
  export * from "./GetApprovalsResponseDataAttributesPayment.mjs";
92
+ export * from "./GetApprovalsResponseDataAttributesRealtime.mjs";
93
+ export * from "./GetApprovalsResponseDataAttributesRealtimeCounterparty.mjs";
94
+ export * from "./GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount.mjs";
95
+ export * from "./GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.mjs";
96
+ export * from "./GetApprovalsResponseDataAttributesRealtimeCounterpartyKind.mjs";
82
97
  export * from "./GetApprovalsResponseDataAttributesReasonsItem.mjs";
83
98
  export * from "./GetApprovalsResponseDataAttributesReasonsItemLimitType.mjs";
84
99
  export * from "./GetApprovalsResponseDataAttributesReasonsItemType.mjs";
@@ -101,6 +116,11 @@ export * from "./ListApprovalsResponseDataItemAttributesInitiatorActorType.mjs";
101
116
  export * from "./ListApprovalsResponseDataItemAttributesInitiatorAgent.mjs";
102
117
  export * from "./ListApprovalsResponseDataItemAttributesInitiatorAgentOwner.mjs";
103
118
  export * from "./ListApprovalsResponseDataItemAttributesPayment.mjs";
119
+ export * from "./ListApprovalsResponseDataItemAttributesRealtime.mjs";
120
+ export * from "./ListApprovalsResponseDataItemAttributesRealtimeCounterparty.mjs";
121
+ export * from "./ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount.mjs";
122
+ export * from "./ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType.mjs";
123
+ export * from "./ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind.mjs";
104
124
  export * from "./ListApprovalsResponseDataItemAttributesReasonsItem.mjs";
105
125
  export * from "./ListApprovalsResponseDataItemAttributesReasonsItemLimitType.mjs";
106
126
  export * from "./ListApprovalsResponseDataItemAttributesReasonsItemType.mjs";
@@ -27,6 +27,11 @@ export * from "./ApproveApprovalsResponseDataAttributesInitiatorActorType.mjs";
27
27
  export * from "./ApproveApprovalsResponseDataAttributesInitiatorAgent.mjs";
28
28
  export * from "./ApproveApprovalsResponseDataAttributesInitiatorAgentOwner.mjs";
29
29
  export * from "./ApproveApprovalsResponseDataAttributesPayment.mjs";
30
+ export * from "./ApproveApprovalsResponseDataAttributesRealtime.mjs";
31
+ export * from "./ApproveApprovalsResponseDataAttributesRealtimeCounterparty.mjs";
32
+ export * from "./ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount.mjs";
33
+ export * from "./ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.mjs";
34
+ export * from "./ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind.mjs";
30
35
  export * from "./ApproveApprovalsResponseDataAttributesReasonsItem.mjs";
31
36
  export * from "./ApproveApprovalsResponseDataAttributesReasonsItemLimitType.mjs";
32
37
  export * from "./ApproveApprovalsResponseDataAttributesReasonsItemType.mjs";
@@ -53,6 +58,11 @@ export * from "./DenyApprovalsResponseDataAttributesInitiatorActorType.mjs";
53
58
  export * from "./DenyApprovalsResponseDataAttributesInitiatorAgent.mjs";
54
59
  export * from "./DenyApprovalsResponseDataAttributesInitiatorAgentOwner.mjs";
55
60
  export * from "./DenyApprovalsResponseDataAttributesPayment.mjs";
61
+ export * from "./DenyApprovalsResponseDataAttributesRealtime.mjs";
62
+ export * from "./DenyApprovalsResponseDataAttributesRealtimeCounterparty.mjs";
63
+ export * from "./DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount.mjs";
64
+ export * from "./DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.mjs";
65
+ export * from "./DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind.mjs";
56
66
  export * from "./DenyApprovalsResponseDataAttributesReasonsItem.mjs";
57
67
  export * from "./DenyApprovalsResponseDataAttributesReasonsItemLimitType.mjs";
58
68
  export * from "./DenyApprovalsResponseDataAttributesReasonsItemType.mjs";
@@ -79,6 +89,11 @@ export * from "./GetApprovalsResponseDataAttributesInitiatorActorType.mjs";
79
89
  export * from "./GetApprovalsResponseDataAttributesInitiatorAgent.mjs";
80
90
  export * from "./GetApprovalsResponseDataAttributesInitiatorAgentOwner.mjs";
81
91
  export * from "./GetApprovalsResponseDataAttributesPayment.mjs";
92
+ export * from "./GetApprovalsResponseDataAttributesRealtime.mjs";
93
+ export * from "./GetApprovalsResponseDataAttributesRealtimeCounterparty.mjs";
94
+ export * from "./GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount.mjs";
95
+ export * from "./GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.mjs";
96
+ export * from "./GetApprovalsResponseDataAttributesRealtimeCounterpartyKind.mjs";
82
97
  export * from "./GetApprovalsResponseDataAttributesReasonsItem.mjs";
83
98
  export * from "./GetApprovalsResponseDataAttributesReasonsItemLimitType.mjs";
84
99
  export * from "./GetApprovalsResponseDataAttributesReasonsItemType.mjs";
@@ -101,6 +116,11 @@ export * from "./ListApprovalsResponseDataItemAttributesInitiatorActorType.mjs";
101
116
  export * from "./ListApprovalsResponseDataItemAttributesInitiatorAgent.mjs";
102
117
  export * from "./ListApprovalsResponseDataItemAttributesInitiatorAgentOwner.mjs";
103
118
  export * from "./ListApprovalsResponseDataItemAttributesPayment.mjs";
119
+ export * from "./ListApprovalsResponseDataItemAttributesRealtime.mjs";
120
+ export * from "./ListApprovalsResponseDataItemAttributesRealtimeCounterparty.mjs";
121
+ export * from "./ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount.mjs";
122
+ export * from "./ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType.mjs";
123
+ export * from "./ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind.mjs";
104
124
  export * from "./ListApprovalsResponseDataItemAttributesReasonsItem.mjs";
105
125
  export * from "./ListApprovalsResponseDataItemAttributesReasonsItemLimitType.mjs";
106
126
  export * from "./ListApprovalsResponseDataItemAttributesReasonsItemType.mjs";
@@ -29,6 +29,6 @@ export interface NewExtPartyParams {
29
29
  email?: string;
30
30
  /** External party phone number. It is normalized to E.164. */
31
31
  phone?: string;
32
- /** External party address. */
32
+ /** Optional external party address. When supplied, it must be complete and valid. US addresses require state and postalCode. */
33
33
  address?: Natural.NewExtPartyParamsAddress;
34
34
  }
@@ -1,11 +1,14 @@
1
1
  /**
2
- * External party address.
2
+ * Optional external party address. When supplied, it must be complete and valid. US addresses require state and postalCode.
3
3
  */
4
4
  export interface NewExtPartyParamsAddress {
5
- line1?: string;
5
+ line1: string;
6
6
  line2?: string;
7
- city?: string;
7
+ city: string;
8
+ /** State or province. Required for US addresses. */
8
9
  state?: string;
10
+ /** Postal or ZIP code. Required for US addresses. */
9
11
  postalCode?: string;
10
- countryCode?: string;
12
+ /** ISO 3166-1 alpha-2 country code. */
13
+ countryCode: string;
11
14
  }
@@ -2,6 +2,7 @@
2
2
  export declare const ListTransactionsRequestType: {
3
3
  readonly Payment: "payment";
4
4
  readonly Transfer: "transfer";
5
+ readonly Refund: "refund";
5
6
  readonly All: "all";
6
7
  };
7
8
  export type ListTransactionsRequestType = (typeof ListTransactionsRequestType)[keyof typeof ListTransactionsRequestType];
@@ -3,5 +3,6 @@
3
3
  export const ListTransactionsRequestType = {
4
4
  Payment: "payment",
5
5
  Transfer: "transfer",
6
+ Refund: "refund",
6
7
  All: "all",
7
8
  };
@@ -2,5 +2,6 @@
2
2
  export declare const TxnDetailTransactionType: {
3
3
  readonly Payment: "payment";
4
4
  readonly Transfer: "transfer";
5
+ readonly Refund: "refund";
5
6
  };
6
7
  export type TxnDetailTransactionType = (typeof TxnDetailTransactionType)[keyof typeof TxnDetailTransactionType];
@@ -3,4 +3,5 @@
3
3
  export const TxnDetailTransactionType = {
4
4
  Payment: "payment",
5
5
  Transfer: "transfer",
6
+ Refund: "refund",
6
7
  };
@@ -2,5 +2,6 @@
2
2
  export declare const TxnTransactionType: {
3
3
  readonly Payment: "payment";
4
4
  readonly Transfer: "transfer";
5
+ readonly Refund: "refund";
5
6
  };
6
7
  export type TxnTransactionType = (typeof TxnTransactionType)[keyof typeof TxnTransactionType];
@@ -3,4 +3,5 @@
3
3
  export const TxnTransactionType = {
4
4
  Payment: "payment",
5
5
  Transfer: "transfer",
6
+ Refund: "refund",
6
7
  };
@@ -7,6 +7,7 @@ import { ListApprovalsResponseDataItemAttributesAch } from "./ListApprovalsRespo
7
7
  import { ListApprovalsResponseDataItemAttributesCustomer } from "./ListApprovalsResponseDataItemAttributesCustomer.mjs";
8
8
  import { ListApprovalsResponseDataItemAttributesInitiator } from "./ListApprovalsResponseDataItemAttributesInitiator.mjs";
9
9
  import { ListApprovalsResponseDataItemAttributesPayment } from "./ListApprovalsResponseDataItemAttributesPayment.mjs";
10
+ import { ListApprovalsResponseDataItemAttributesRealtime } from "./ListApprovalsResponseDataItemAttributesRealtime.mjs";
10
11
  import { ListApprovalsResponseDataItemAttributesReasonsItem } from "./ListApprovalsResponseDataItemAttributesReasonsItem.mjs";
11
12
  export declare const ApprovalAttrs: core.serialization.ObjectSchema<serializers.ApprovalAttrs.Raw, Natural.ApprovalAttrs>;
12
13
  export declare namespace ApprovalAttrs {
@@ -17,6 +18,7 @@ export declare namespace ApprovalAttrs {
17
18
  reasons: ListApprovalsResponseDataItemAttributesReasonsItem.Raw[];
18
19
  customer?: ListApprovalsResponseDataItemAttributesCustomer.Raw | null;
19
20
  ach?: ListApprovalsResponseDataItemAttributesAch.Raw | null;
21
+ realtime?: ListApprovalsResponseDataItemAttributesRealtime.Raw | null;
20
22
  initiator?: ListApprovalsResponseDataItemAttributesInitiator.Raw | null;
21
23
  denialReason?: string | null;
22
24
  createdAt: string;
@@ -6,6 +6,7 @@ import { ListApprovalsResponseDataItemAttributesAch } from "./ListApprovalsRespo
6
6
  import { ListApprovalsResponseDataItemAttributesCustomer } from "./ListApprovalsResponseDataItemAttributesCustomer.mjs";
7
7
  import { ListApprovalsResponseDataItemAttributesInitiator } from "./ListApprovalsResponseDataItemAttributesInitiator.mjs";
8
8
  import { ListApprovalsResponseDataItemAttributesPayment } from "./ListApprovalsResponseDataItemAttributesPayment.mjs";
9
+ import { ListApprovalsResponseDataItemAttributesRealtime } from "./ListApprovalsResponseDataItemAttributesRealtime.mjs";
9
10
  import { ListApprovalsResponseDataItemAttributesReasonsItem } from "./ListApprovalsResponseDataItemAttributesReasonsItem.mjs";
10
11
  export const ApprovalAttrs = core.serialization.object({
11
12
  status: ApprovalStatus,
@@ -14,6 +15,7 @@ export const ApprovalAttrs = core.serialization.object({
14
15
  reasons: core.serialization.list(ListApprovalsResponseDataItemAttributesReasonsItem),
15
16
  customer: ListApprovalsResponseDataItemAttributesCustomer.nullable(),
16
17
  ach: ListApprovalsResponseDataItemAttributesAch.nullable(),
18
+ realtime: ListApprovalsResponseDataItemAttributesRealtime.nullable(),
17
19
  initiator: ListApprovalsResponseDataItemAttributesInitiator.nullable(),
18
20
  denialReason: core.serialization.string().nullable(),
19
21
  createdAt: core.serialization.string(),
@@ -7,6 +7,7 @@ import { GetApprovalsResponseDataAttributesAch } from "./GetApprovalsResponseDat
7
7
  import { GetApprovalsResponseDataAttributesCustomer } from "./GetApprovalsResponseDataAttributesCustomer.mjs";
8
8
  import { GetApprovalsResponseDataAttributesInitiator } from "./GetApprovalsResponseDataAttributesInitiator.mjs";
9
9
  import { GetApprovalsResponseDataAttributesPayment } from "./GetApprovalsResponseDataAttributesPayment.mjs";
10
+ import { GetApprovalsResponseDataAttributesRealtime } from "./GetApprovalsResponseDataAttributesRealtime.mjs";
10
11
  import { GetApprovalsResponseDataAttributesReasonsItem } from "./GetApprovalsResponseDataAttributesReasonsItem.mjs";
11
12
  export declare const ApprovalDetailAttrs: core.serialization.ObjectSchema<serializers.ApprovalDetailAttrs.Raw, Natural.ApprovalDetailAttrs>;
12
13
  export declare namespace ApprovalDetailAttrs {
@@ -17,6 +18,7 @@ export declare namespace ApprovalDetailAttrs {
17
18
  reasons: GetApprovalsResponseDataAttributesReasonsItem.Raw[];
18
19
  customer?: GetApprovalsResponseDataAttributesCustomer.Raw | null;
19
20
  ach?: GetApprovalsResponseDataAttributesAch.Raw | null;
21
+ realtime?: GetApprovalsResponseDataAttributesRealtime.Raw | null;
20
22
  initiator?: GetApprovalsResponseDataAttributesInitiator.Raw | null;
21
23
  denialReason?: string | null;
22
24
  createdAt: string;
@@ -6,6 +6,7 @@ import { GetApprovalsResponseDataAttributesAch } from "./GetApprovalsResponseDat
6
6
  import { GetApprovalsResponseDataAttributesCustomer } from "./GetApprovalsResponseDataAttributesCustomer.mjs";
7
7
  import { GetApprovalsResponseDataAttributesInitiator } from "./GetApprovalsResponseDataAttributesInitiator.mjs";
8
8
  import { GetApprovalsResponseDataAttributesPayment } from "./GetApprovalsResponseDataAttributesPayment.mjs";
9
+ import { GetApprovalsResponseDataAttributesRealtime } from "./GetApprovalsResponseDataAttributesRealtime.mjs";
9
10
  import { GetApprovalsResponseDataAttributesReasonsItem } from "./GetApprovalsResponseDataAttributesReasonsItem.mjs";
10
11
  export const ApprovalDetailAttrs = core.serialization.object({
11
12
  status: ApprovalDetailStatus,
@@ -14,6 +15,7 @@ export const ApprovalDetailAttrs = core.serialization.object({
14
15
  reasons: core.serialization.list(GetApprovalsResponseDataAttributesReasonsItem),
15
16
  customer: GetApprovalsResponseDataAttributesCustomer.nullable(),
16
17
  ach: GetApprovalsResponseDataAttributesAch.nullable(),
18
+ realtime: GetApprovalsResponseDataAttributesRealtime.nullable(),
17
19
  initiator: GetApprovalsResponseDataAttributesInitiator.nullable(),
18
20
  denialReason: core.serialization.string().nullable(),
19
21
  createdAt: core.serialization.string(),
@@ -0,0 +1,11 @@
1
+ import type * as Natural from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ import { ApproveApprovalsResponseDataAttributesRealtimeCounterparty } from "./ApproveApprovalsResponseDataAttributesRealtimeCounterparty.mjs";
5
+ export declare const ApproveApprovalsResponseDataAttributesRealtime: core.serialization.ObjectSchema<serializers.ApproveApprovalsResponseDataAttributesRealtime.Raw, Natural.ApproveApprovalsResponseDataAttributesRealtime>;
6
+ export declare namespace ApproveApprovalsResponseDataAttributesRealtime {
7
+ interface Raw {
8
+ description: string;
9
+ counterparty?: ApproveApprovalsResponseDataAttributesRealtimeCounterparty.Raw | null;
10
+ }
11
+ }
@@ -0,0 +1,7 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ import { ApproveApprovalsResponseDataAttributesRealtimeCounterparty } from "./ApproveApprovalsResponseDataAttributesRealtimeCounterparty.mjs";
4
+ export const ApproveApprovalsResponseDataAttributesRealtime = core.serialization.object({
5
+ description: core.serialization.string(),
6
+ counterparty: ApproveApprovalsResponseDataAttributesRealtimeCounterparty.nullable(),
7
+ });
@@ -0,0 +1,14 @@
1
+ import type * as Natural from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ import { ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount } from "./ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount.mjs";
5
+ import { ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind } from "./ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind.mjs";
6
+ export declare const ApproveApprovalsResponseDataAttributesRealtimeCounterparty: core.serialization.ObjectSchema<serializers.ApproveApprovalsResponseDataAttributesRealtimeCounterparty.Raw, Natural.ApproveApprovalsResponseDataAttributesRealtimeCounterparty>;
7
+ export declare namespace ApproveApprovalsResponseDataAttributesRealtimeCounterparty {
8
+ interface Raw {
9
+ externalPartyId: string;
10
+ name: string;
11
+ kind: ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind.Raw;
12
+ account: ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount.Raw;
13
+ }
14
+ }
@@ -0,0 +1,10 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ import { ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount } from "./ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount.mjs";
4
+ import { ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind } from "./ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind.mjs";
5
+ export const ApproveApprovalsResponseDataAttributesRealtimeCounterparty = core.serialization.object({
6
+ externalPartyId: core.serialization.string(),
7
+ name: core.serialization.string(),
8
+ kind: ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind,
9
+ account: ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount,
10
+ });
@@ -0,0 +1,13 @@
1
+ import type * as Natural from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ import { ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType } from "./ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.mjs";
5
+ export declare const ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount: core.serialization.ObjectSchema<serializers.ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount.Raw, Natural.ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount>;
6
+ export declare namespace ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount {
7
+ interface Raw {
8
+ id: string;
9
+ accountType: ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.Raw;
10
+ last4: string;
11
+ mask: string;
12
+ }
13
+ }
@@ -0,0 +1,9 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ import { ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType } from "./ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.mjs";
4
+ export const ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount = core.serialization.object({
5
+ id: core.serialization.string(),
6
+ accountType: ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType,
7
+ last4: core.serialization.string(),
8
+ mask: core.serialization.string(),
9
+ });
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ export declare const ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType: core.serialization.Schema<serializers.ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.Raw, Natural.ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType>;
5
+ export declare namespace ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType {
6
+ type Raw = "checking" | "savings";
7
+ }
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ export const ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType = core.serialization.enum_(["checking", "savings"]);
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ export declare const ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind: core.serialization.Schema<serializers.ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind.Raw, Natural.ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind>;
5
+ export declare namespace ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind {
6
+ type Raw = "individual" | "business";
7
+ }
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ export const ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind = core.serialization.enum_(["individual", "business"]);
@@ -5,6 +5,7 @@ import { ApproveApprovalsResponseDataAttributesAch } from "./ApproveApprovalsRes
5
5
  import { ApproveApprovalsResponseDataAttributesCustomer } from "./ApproveApprovalsResponseDataAttributesCustomer.mjs";
6
6
  import { ApproveApprovalsResponseDataAttributesInitiator } from "./ApproveApprovalsResponseDataAttributesInitiator.mjs";
7
7
  import { ApproveApprovalsResponseDataAttributesPayment } from "./ApproveApprovalsResponseDataAttributesPayment.mjs";
8
+ import { ApproveApprovalsResponseDataAttributesRealtime } from "./ApproveApprovalsResponseDataAttributesRealtime.mjs";
8
9
  import { ApproveApprovalsResponseDataAttributesReasonsItem } from "./ApproveApprovalsResponseDataAttributesReasonsItem.mjs";
9
10
  import { ApproveResultStatus } from "./ApproveResultStatus.mjs";
10
11
  import { ApproveResultTarget } from "./ApproveResultTarget.mjs";
@@ -17,6 +18,7 @@ export declare namespace ApproveResultAttrs {
17
18
  reasons: ApproveApprovalsResponseDataAttributesReasonsItem.Raw[];
18
19
  customer?: ApproveApprovalsResponseDataAttributesCustomer.Raw | null;
19
20
  ach?: ApproveApprovalsResponseDataAttributesAch.Raw | null;
21
+ realtime?: ApproveApprovalsResponseDataAttributesRealtime.Raw | null;
20
22
  initiator?: ApproveApprovalsResponseDataAttributesInitiator.Raw | null;
21
23
  denialReason?: string | null;
22
24
  createdAt: string;
@@ -4,6 +4,7 @@ import { ApproveApprovalsResponseDataAttributesAch } from "./ApproveApprovalsRes
4
4
  import { ApproveApprovalsResponseDataAttributesCustomer } from "./ApproveApprovalsResponseDataAttributesCustomer.mjs";
5
5
  import { ApproveApprovalsResponseDataAttributesInitiator } from "./ApproveApprovalsResponseDataAttributesInitiator.mjs";
6
6
  import { ApproveApprovalsResponseDataAttributesPayment } from "./ApproveApprovalsResponseDataAttributesPayment.mjs";
7
+ import { ApproveApprovalsResponseDataAttributesRealtime } from "./ApproveApprovalsResponseDataAttributesRealtime.mjs";
7
8
  import { ApproveApprovalsResponseDataAttributesReasonsItem } from "./ApproveApprovalsResponseDataAttributesReasonsItem.mjs";
8
9
  import { ApproveResultStatus } from "./ApproveResultStatus.mjs";
9
10
  import { ApproveResultTarget } from "./ApproveResultTarget.mjs";
@@ -14,6 +15,7 @@ export const ApproveResultAttrs = core.serialization.object({
14
15
  reasons: core.serialization.list(ApproveApprovalsResponseDataAttributesReasonsItem),
15
16
  customer: ApproveApprovalsResponseDataAttributesCustomer.nullable(),
16
17
  ach: ApproveApprovalsResponseDataAttributesAch.nullable(),
18
+ realtime: ApproveApprovalsResponseDataAttributesRealtime.nullable(),
17
19
  initiator: ApproveApprovalsResponseDataAttributesInitiator.nullable(),
18
20
  denialReason: core.serialization.string().nullable(),
19
21
  createdAt: core.serialization.string(),
@@ -0,0 +1,11 @@
1
+ import type * as Natural from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ import { DenyApprovalsResponseDataAttributesRealtimeCounterparty } from "./DenyApprovalsResponseDataAttributesRealtimeCounterparty.mjs";
5
+ export declare const DenyApprovalsResponseDataAttributesRealtime: core.serialization.ObjectSchema<serializers.DenyApprovalsResponseDataAttributesRealtime.Raw, Natural.DenyApprovalsResponseDataAttributesRealtime>;
6
+ export declare namespace DenyApprovalsResponseDataAttributesRealtime {
7
+ interface Raw {
8
+ description: string;
9
+ counterparty?: DenyApprovalsResponseDataAttributesRealtimeCounterparty.Raw | null;
10
+ }
11
+ }
@@ -0,0 +1,7 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ import { DenyApprovalsResponseDataAttributesRealtimeCounterparty } from "./DenyApprovalsResponseDataAttributesRealtimeCounterparty.mjs";
4
+ export const DenyApprovalsResponseDataAttributesRealtime = core.serialization.object({
5
+ description: core.serialization.string(),
6
+ counterparty: DenyApprovalsResponseDataAttributesRealtimeCounterparty.nullable(),
7
+ });
@@ -0,0 +1,14 @@
1
+ import type * as Natural from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ import { DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount } from "./DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount.mjs";
5
+ import { DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind } from "./DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind.mjs";
6
+ export declare const DenyApprovalsResponseDataAttributesRealtimeCounterparty: core.serialization.ObjectSchema<serializers.DenyApprovalsResponseDataAttributesRealtimeCounterparty.Raw, Natural.DenyApprovalsResponseDataAttributesRealtimeCounterparty>;
7
+ export declare namespace DenyApprovalsResponseDataAttributesRealtimeCounterparty {
8
+ interface Raw {
9
+ externalPartyId: string;
10
+ name: string;
11
+ kind: DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind.Raw;
12
+ account: DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount.Raw;
13
+ }
14
+ }
@@ -0,0 +1,10 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ import { DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount } from "./DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount.mjs";
4
+ import { DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind } from "./DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind.mjs";
5
+ export const DenyApprovalsResponseDataAttributesRealtimeCounterparty = core.serialization.object({
6
+ externalPartyId: core.serialization.string(),
7
+ name: core.serialization.string(),
8
+ kind: DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind,
9
+ account: DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount,
10
+ });
@@ -0,0 +1,13 @@
1
+ import type * as Natural from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ import { DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType } from "./DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.mjs";
5
+ export declare const DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount: core.serialization.ObjectSchema<serializers.DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount.Raw, Natural.DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount>;
6
+ export declare namespace DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount {
7
+ interface Raw {
8
+ id: string;
9
+ accountType: DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.Raw;
10
+ last4: string;
11
+ mask: string;
12
+ }
13
+ }