@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
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "@naturalpay/sdk",
46
- "X-Fern-SDK-Version": "1.6.9",
47
- "User-Agent": "@naturalpay/sdk/1.6.9",
46
+ "X-Fern-SDK-Version": "1.6.11",
47
+ "User-Agent": "@naturalpay/sdk/1.6.11",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  "X-Instance-ID": options === null || options === void 0 ? void 0 : options.instanceId,
@@ -33,6 +33,10 @@ export declare class NaturalClient {
33
33
  protected _customers: CustomersClient | undefined;
34
34
  protected _invitationLinks: InvitationLinksClient | undefined;
35
35
  protected _payments: PaymentsClient | undefined;
36
+ protected _externalParties: ExternalPartiesClient | undefined;
37
+ protected _externalPartyAccounts: ExternalPartyAccountsClient | undefined;
38
+ protected _ach: AchClient | undefined;
39
+ protected _realtime: RealtimeClient | undefined;
36
40
  protected _transactions: TransactionsClient | undefined;
37
41
  protected _transfers: TransfersClient | undefined;
38
42
  protected _paymentRequests: PaymentRequestsClient | undefined;
@@ -41,10 +45,6 @@ export declare class NaturalClient {
41
45
  protected _parties: PartiesClient | undefined;
42
46
  protected _wallets: WalletsClient | undefined;
43
47
  protected _externalAccounts: ExternalAccountsClient | undefined;
44
- protected _externalParties: ExternalPartiesClient | undefined;
45
- protected _externalPartyAccounts: ExternalPartyAccountsClient | undefined;
46
- protected _ach: AchClient | undefined;
47
- protected _realtime: RealtimeClient | undefined;
48
48
  protected _apiKeys: ApiKeysClient | undefined;
49
49
  protected _agentKeys: AgentKeysClient | undefined;
50
50
  protected _webhooks: WebhooksClient | undefined;
@@ -55,6 +55,10 @@ export declare class NaturalClient {
55
55
  get customers(): CustomersClient;
56
56
  get invitationLinks(): InvitationLinksClient;
57
57
  get payments(): PaymentsClient;
58
+ get externalParties(): ExternalPartiesClient;
59
+ get externalPartyAccounts(): ExternalPartyAccountsClient;
60
+ get ach(): AchClient;
61
+ get realtime(): RealtimeClient;
58
62
  get transactions(): TransactionsClient;
59
63
  get transfers(): TransfersClient;
60
64
  get paymentRequests(): PaymentRequestsClient;
@@ -63,10 +67,6 @@ export declare class NaturalClient {
63
67
  get parties(): PartiesClient;
64
68
  get wallets(): WalletsClient;
65
69
  get externalAccounts(): ExternalAccountsClient;
66
- get externalParties(): ExternalPartiesClient;
67
- get externalPartyAccounts(): ExternalPartyAccountsClient;
68
- get ach(): AchClient;
69
- get realtime(): RealtimeClient;
70
70
  get apiKeys(): ApiKeysClient;
71
71
  get agentKeys(): AgentKeysClient;
72
72
  get webhooks(): WebhooksClient;
@@ -87,6 +87,22 @@ class NaturalClient {
87
87
  var _a;
88
88
  return ((_a = this._payments) !== null && _a !== void 0 ? _a : (this._payments = new Client_js_15.PaymentsClient(this._options)));
89
89
  }
90
+ get externalParties() {
91
+ var _a;
92
+ return ((_a = this._externalParties) !== null && _a !== void 0 ? _a : (this._externalParties = new Client_js_9.ExternalPartiesClient(this._options)));
93
+ }
94
+ get externalPartyAccounts() {
95
+ var _a;
96
+ return ((_a = this._externalPartyAccounts) !== null && _a !== void 0 ? _a : (this._externalPartyAccounts = new Client_js_10.ExternalPartyAccountsClient(this._options)));
97
+ }
98
+ get ach() {
99
+ var _a;
100
+ return ((_a = this._ach) !== null && _a !== void 0 ? _a : (this._ach = new Client_js_1.AchClient(this._options)));
101
+ }
102
+ get realtime() {
103
+ var _a;
104
+ return ((_a = this._realtime) !== null && _a !== void 0 ? _a : (this._realtime = new Client_js_16.RealtimeClient(this._options)));
105
+ }
90
106
  get transactions() {
91
107
  var _a;
92
108
  return ((_a = this._transactions) !== null && _a !== void 0 ? _a : (this._transactions = new Client_js_18.TransactionsClient(this._options)));
@@ -119,22 +135,6 @@ class NaturalClient {
119
135
  var _a;
120
136
  return ((_a = this._externalAccounts) !== null && _a !== void 0 ? _a : (this._externalAccounts = new Client_js_8.ExternalAccountsClient(this._options)));
121
137
  }
122
- get externalParties() {
123
- var _a;
124
- return ((_a = this._externalParties) !== null && _a !== void 0 ? _a : (this._externalParties = new Client_js_9.ExternalPartiesClient(this._options)));
125
- }
126
- get externalPartyAccounts() {
127
- var _a;
128
- return ((_a = this._externalPartyAccounts) !== null && _a !== void 0 ? _a : (this._externalPartyAccounts = new Client_js_10.ExternalPartyAccountsClient(this._options)));
129
- }
130
- get ach() {
131
- var _a;
132
- return ((_a = this._ach) !== null && _a !== void 0 ? _a : (this._ach = new Client_js_1.AchClient(this._options)));
133
- }
134
- get realtime() {
135
- var _a;
136
- return ((_a = this._realtime) !== null && _a !== void 0 ? _a : (this._realtime = new Client_js_16.RealtimeClient(this._options)));
137
- }
138
138
  get apiKeys() {
139
139
  var _a;
140
140
  return ((_a = this._apiKeys) !== null && _a !== void 0 ? _a : (this._apiKeys = new Client_js_4.ApiKeysClient(this._options)));
@@ -12,6 +12,8 @@ export interface ApprovalAttrs {
12
12
  customer: Natural.ListApprovalsResponseDataItemAttributesCustomer | null;
13
13
  /** ACH-specific review context. Null unless the target is an ACH. */
14
14
  ach: Natural.ListApprovalsResponseDataItemAttributesAch | null;
15
+ /** Realtime-specific review context. Null unless the target is a realtime payment. */
16
+ realtime: Natural.ListApprovalsResponseDataItemAttributesRealtime | null;
15
17
  /** Who initiated the operation under review, when resolvable. */
16
18
  initiator: Natural.ListApprovalsResponseDataItemAttributesInitiator | null;
17
19
  /** Reason recorded when the approval was denied, when one was given. */
@@ -12,6 +12,8 @@ export interface ApprovalDetailAttrs {
12
12
  customer: Natural.GetApprovalsResponseDataAttributesCustomer | null;
13
13
  /** ACH-specific review context. Null unless the target is an ACH. */
14
14
  ach: Natural.GetApprovalsResponseDataAttributesAch | null;
15
+ /** Realtime-specific review context. Null unless the target is a realtime payment. */
16
+ realtime: Natural.GetApprovalsResponseDataAttributesRealtime | null;
15
17
  /** Who initiated the operation under review, when resolvable. */
16
18
  initiator: Natural.GetApprovalsResponseDataAttributesInitiator | null;
17
19
  /** Reason recorded when the approval was denied, when one was given. */
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../index.js";
2
+ export interface ApproveApprovalsResponseDataAttributesRealtime {
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.ApproveApprovalsResponseDataAttributesRealtimeCounterparty | null;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ import type * as Natural from "../../../index.js";
2
+ export interface ApproveApprovalsResponseDataAttributesRealtimeCounterparty {
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.ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind;
9
+ /** Masked bank account the payment credits. */
10
+ account: Natural.ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ import type * as Natural from "../../../index.js";
2
+ /**
3
+ * Masked bank account the payment credits.
4
+ */
5
+ export interface ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount {
6
+ /** External party account (epa_*). */
7
+ id: string;
8
+ /** Bank account type. */
9
+ accountType: Natural.ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType;
10
+ /** Last four account number digits. */
11
+ last4: string;
12
+ /** Masked account number. */
13
+ mask: string;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ /** Bank account type. */
2
+ export declare const ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType: {
3
+ readonly Checking: "checking";
4
+ readonly Savings: "savings";
5
+ };
6
+ export type ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType = (typeof ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType)[keyof typeof ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType = void 0;
5
+ /** Bank account type. */
6
+ exports.ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType = {
7
+ Checking: "checking",
8
+ Savings: "savings",
9
+ };
@@ -0,0 +1,6 @@
1
+ /** External party type. */
2
+ export declare const ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind: {
3
+ readonly Individual: "individual";
4
+ readonly Business: "business";
5
+ };
6
+ export type ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind = (typeof ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind)[keyof typeof ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind = void 0;
5
+ /** External party type. */
6
+ exports.ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind = {
7
+ Individual: "individual",
8
+ Business: "business",
9
+ };
@@ -12,6 +12,8 @@ export interface ApproveResultAttrs {
12
12
  customer: Natural.ApproveApprovalsResponseDataAttributesCustomer | null;
13
13
  /** ACH-specific review context. Null unless the target is an ACH. */
14
14
  ach: Natural.ApproveApprovalsResponseDataAttributesAch | null;
15
+ /** Realtime-specific review context. Null unless the target is a realtime payment. */
16
+ realtime: Natural.ApproveApprovalsResponseDataAttributesRealtime | null;
15
17
  /** Who initiated the operation under review, when resolvable. */
16
18
  initiator: Natural.ApproveApprovalsResponseDataAttributesInitiator | null;
17
19
  /** Reason recorded when the approval was denied, when one was given. */
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../index.js";
2
+ export interface DenyApprovalsResponseDataAttributesRealtime {
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.DenyApprovalsResponseDataAttributesRealtimeCounterparty | null;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ import type * as Natural from "../../../index.js";
2
+ export interface DenyApprovalsResponseDataAttributesRealtimeCounterparty {
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.DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind;
9
+ /** Masked bank account the payment credits. */
10
+ account: Natural.DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ import type * as Natural from "../../../index.js";
2
+ /**
3
+ * Masked bank account the payment credits.
4
+ */
5
+ export interface DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount {
6
+ /** External party account (epa_*). */
7
+ id: string;
8
+ /** Bank account type. */
9
+ accountType: Natural.DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType;
10
+ /** Last four account number digits. */
11
+ last4: string;
12
+ /** Masked account number. */
13
+ mask: string;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ /** Bank account type. */
2
+ export declare const DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType: {
3
+ readonly Checking: "checking";
4
+ readonly Savings: "savings";
5
+ };
6
+ export type DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType = (typeof DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType)[keyof typeof DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType = void 0;
5
+ /** Bank account type. */
6
+ exports.DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType = {
7
+ Checking: "checking",
8
+ Savings: "savings",
9
+ };
@@ -0,0 +1,6 @@
1
+ /** External party type. */
2
+ export declare const DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind: {
3
+ readonly Individual: "individual";
4
+ readonly Business: "business";
5
+ };
6
+ export type DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind = (typeof DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind)[keyof typeof DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind = void 0;
5
+ /** External party type. */
6
+ exports.DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind = {
7
+ Individual: "individual",
8
+ Business: "business",
9
+ };
@@ -12,6 +12,8 @@ export interface DenyResultAttrs {
12
12
  customer: Natural.DenyApprovalsResponseDataAttributesCustomer | null;
13
13
  /** ACH-specific review context. Null unless the target is an ACH. */
14
14
  ach: Natural.DenyApprovalsResponseDataAttributesAch | null;
15
+ /** Realtime-specific review context. Null unless the target is a realtime payment. */
16
+ realtime: Natural.DenyApprovalsResponseDataAttributesRealtime | null;
15
17
  /** Who initiated the operation under review, when resolvable. */
16
18
  initiator: Natural.DenyApprovalsResponseDataAttributesInitiator | null;
17
19
  /** Reason recorded when the approval was denied, when one was given. */
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../index.js";
2
+ export interface GetApprovalsResponseDataAttributesRealtime {
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.GetApprovalsResponseDataAttributesRealtimeCounterparty | null;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ import type * as Natural from "../../../index.js";
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,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ import type * as Natural from "../../../index.js";
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,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType = void 0;
5
+ /** Bank account type. */
6
+ exports.GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType = {
7
+ Checking: "checking",
8
+ Savings: "savings",
9
+ };
@@ -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,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.GetApprovalsResponseDataAttributesRealtimeCounterpartyKind = void 0;
5
+ /** External party type. */
6
+ exports.GetApprovalsResponseDataAttributesRealtimeCounterpartyKind = {
7
+ Individual: "individual",
8
+ Business: "business",
9
+ };
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../index.js";
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,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ import type * as Natural from "../../../index.js";
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,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ import type * as Natural from "../../../index.js";
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,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType = void 0;
5
+ /** Bank account type. */
6
+ exports.ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType = {
7
+ Checking: "checking",
8
+ Savings: "savings",
9
+ };
@@ -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,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind = void 0;
5
+ /** External party type. */
6
+ exports.ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind = {
7
+ Individual: "individual",
8
+ Business: "business",
9
+ };
@@ -27,6 +27,11 @@ export * from "./ApproveApprovalsResponseDataAttributesInitiatorActorType.js";
27
27
  export * from "./ApproveApprovalsResponseDataAttributesInitiatorAgent.js";
28
28
  export * from "./ApproveApprovalsResponseDataAttributesInitiatorAgentOwner.js";
29
29
  export * from "./ApproveApprovalsResponseDataAttributesPayment.js";
30
+ export * from "./ApproveApprovalsResponseDataAttributesRealtime.js";
31
+ export * from "./ApproveApprovalsResponseDataAttributesRealtimeCounterparty.js";
32
+ export * from "./ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount.js";
33
+ export * from "./ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.js";
34
+ export * from "./ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind.js";
30
35
  export * from "./ApproveApprovalsResponseDataAttributesReasonsItem.js";
31
36
  export * from "./ApproveApprovalsResponseDataAttributesReasonsItemLimitType.js";
32
37
  export * from "./ApproveApprovalsResponseDataAttributesReasonsItemType.js";
@@ -53,6 +58,11 @@ export * from "./DenyApprovalsResponseDataAttributesInitiatorActorType.js";
53
58
  export * from "./DenyApprovalsResponseDataAttributesInitiatorAgent.js";
54
59
  export * from "./DenyApprovalsResponseDataAttributesInitiatorAgentOwner.js";
55
60
  export * from "./DenyApprovalsResponseDataAttributesPayment.js";
61
+ export * from "./DenyApprovalsResponseDataAttributesRealtime.js";
62
+ export * from "./DenyApprovalsResponseDataAttributesRealtimeCounterparty.js";
63
+ export * from "./DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount.js";
64
+ export * from "./DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.js";
65
+ export * from "./DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind.js";
56
66
  export * from "./DenyApprovalsResponseDataAttributesReasonsItem.js";
57
67
  export * from "./DenyApprovalsResponseDataAttributesReasonsItemLimitType.js";
58
68
  export * from "./DenyApprovalsResponseDataAttributesReasonsItemType.js";
@@ -79,6 +89,11 @@ export * from "./GetApprovalsResponseDataAttributesInitiatorActorType.js";
79
89
  export * from "./GetApprovalsResponseDataAttributesInitiatorAgent.js";
80
90
  export * from "./GetApprovalsResponseDataAttributesInitiatorAgentOwner.js";
81
91
  export * from "./GetApprovalsResponseDataAttributesPayment.js";
92
+ export * from "./GetApprovalsResponseDataAttributesRealtime.js";
93
+ export * from "./GetApprovalsResponseDataAttributesRealtimeCounterparty.js";
94
+ export * from "./GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount.js";
95
+ export * from "./GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.js";
96
+ export * from "./GetApprovalsResponseDataAttributesRealtimeCounterpartyKind.js";
82
97
  export * from "./GetApprovalsResponseDataAttributesReasonsItem.js";
83
98
  export * from "./GetApprovalsResponseDataAttributesReasonsItemLimitType.js";
84
99
  export * from "./GetApprovalsResponseDataAttributesReasonsItemType.js";
@@ -101,6 +116,11 @@ export * from "./ListApprovalsResponseDataItemAttributesInitiatorActorType.js";
101
116
  export * from "./ListApprovalsResponseDataItemAttributesInitiatorAgent.js";
102
117
  export * from "./ListApprovalsResponseDataItemAttributesInitiatorAgentOwner.js";
103
118
  export * from "./ListApprovalsResponseDataItemAttributesPayment.js";
119
+ export * from "./ListApprovalsResponseDataItemAttributesRealtime.js";
120
+ export * from "./ListApprovalsResponseDataItemAttributesRealtimeCounterparty.js";
121
+ export * from "./ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount.js";
122
+ export * from "./ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType.js";
123
+ export * from "./ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind.js";
104
124
  export * from "./ListApprovalsResponseDataItemAttributesReasonsItem.js";
105
125
  export * from "./ListApprovalsResponseDataItemAttributesReasonsItemLimitType.js";
106
126
  export * from "./ListApprovalsResponseDataItemAttributesReasonsItemType.js";
@@ -43,6 +43,11 @@ __exportStar(require("./ApproveApprovalsResponseDataAttributesInitiatorActorType
43
43
  __exportStar(require("./ApproveApprovalsResponseDataAttributesInitiatorAgent.js"), exports);
44
44
  __exportStar(require("./ApproveApprovalsResponseDataAttributesInitiatorAgentOwner.js"), exports);
45
45
  __exportStar(require("./ApproveApprovalsResponseDataAttributesPayment.js"), exports);
46
+ __exportStar(require("./ApproveApprovalsResponseDataAttributesRealtime.js"), exports);
47
+ __exportStar(require("./ApproveApprovalsResponseDataAttributesRealtimeCounterparty.js"), exports);
48
+ __exportStar(require("./ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccount.js"), exports);
49
+ __exportStar(require("./ApproveApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.js"), exports);
50
+ __exportStar(require("./ApproveApprovalsResponseDataAttributesRealtimeCounterpartyKind.js"), exports);
46
51
  __exportStar(require("./ApproveApprovalsResponseDataAttributesReasonsItem.js"), exports);
47
52
  __exportStar(require("./ApproveApprovalsResponseDataAttributesReasonsItemLimitType.js"), exports);
48
53
  __exportStar(require("./ApproveApprovalsResponseDataAttributesReasonsItemType.js"), exports);
@@ -69,6 +74,11 @@ __exportStar(require("./DenyApprovalsResponseDataAttributesInitiatorActorType.js
69
74
  __exportStar(require("./DenyApprovalsResponseDataAttributesInitiatorAgent.js"), exports);
70
75
  __exportStar(require("./DenyApprovalsResponseDataAttributesInitiatorAgentOwner.js"), exports);
71
76
  __exportStar(require("./DenyApprovalsResponseDataAttributesPayment.js"), exports);
77
+ __exportStar(require("./DenyApprovalsResponseDataAttributesRealtime.js"), exports);
78
+ __exportStar(require("./DenyApprovalsResponseDataAttributesRealtimeCounterparty.js"), exports);
79
+ __exportStar(require("./DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount.js"), exports);
80
+ __exportStar(require("./DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.js"), exports);
81
+ __exportStar(require("./DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind.js"), exports);
72
82
  __exportStar(require("./DenyApprovalsResponseDataAttributesReasonsItem.js"), exports);
73
83
  __exportStar(require("./DenyApprovalsResponseDataAttributesReasonsItemLimitType.js"), exports);
74
84
  __exportStar(require("./DenyApprovalsResponseDataAttributesReasonsItemType.js"), exports);
@@ -95,6 +105,11 @@ __exportStar(require("./GetApprovalsResponseDataAttributesInitiatorActorType.js"
95
105
  __exportStar(require("./GetApprovalsResponseDataAttributesInitiatorAgent.js"), exports);
96
106
  __exportStar(require("./GetApprovalsResponseDataAttributesInitiatorAgentOwner.js"), exports);
97
107
  __exportStar(require("./GetApprovalsResponseDataAttributesPayment.js"), exports);
108
+ __exportStar(require("./GetApprovalsResponseDataAttributesRealtime.js"), exports);
109
+ __exportStar(require("./GetApprovalsResponseDataAttributesRealtimeCounterparty.js"), exports);
110
+ __exportStar(require("./GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount.js"), exports);
111
+ __exportStar(require("./GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.js"), exports);
112
+ __exportStar(require("./GetApprovalsResponseDataAttributesRealtimeCounterpartyKind.js"), exports);
98
113
  __exportStar(require("./GetApprovalsResponseDataAttributesReasonsItem.js"), exports);
99
114
  __exportStar(require("./GetApprovalsResponseDataAttributesReasonsItemLimitType.js"), exports);
100
115
  __exportStar(require("./GetApprovalsResponseDataAttributesReasonsItemType.js"), exports);
@@ -117,6 +132,11 @@ __exportStar(require("./ListApprovalsResponseDataItemAttributesInitiatorActorTyp
117
132
  __exportStar(require("./ListApprovalsResponseDataItemAttributesInitiatorAgent.js"), exports);
118
133
  __exportStar(require("./ListApprovalsResponseDataItemAttributesInitiatorAgentOwner.js"), exports);
119
134
  __exportStar(require("./ListApprovalsResponseDataItemAttributesPayment.js"), exports);
135
+ __exportStar(require("./ListApprovalsResponseDataItemAttributesRealtime.js"), exports);
136
+ __exportStar(require("./ListApprovalsResponseDataItemAttributesRealtimeCounterparty.js"), exports);
137
+ __exportStar(require("./ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount.js"), exports);
138
+ __exportStar(require("./ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType.js"), exports);
139
+ __exportStar(require("./ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind.js"), exports);
120
140
  __exportStar(require("./ListApprovalsResponseDataItemAttributesReasonsItem.js"), exports);
121
141
  __exportStar(require("./ListApprovalsResponseDataItemAttributesReasonsItemLimitType.js"), exports);
122
142
  __exportStar(require("./ListApprovalsResponseDataItemAttributesReasonsItemType.js"), exports);