@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,9 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ import { DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType } from "./DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.mjs";
4
+ export const DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccount = core.serialization.object({
5
+ id: core.serialization.string(),
6
+ accountType: DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType,
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 DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType: core.serialization.Schema<serializers.DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.Raw, Natural.DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType>;
5
+ export declare namespace DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType {
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 DenyApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType = 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 DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind: core.serialization.Schema<serializers.DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind.Raw, Natural.DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind>;
5
+ export declare namespace DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind {
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 DenyApprovalsResponseDataAttributesRealtimeCounterpartyKind = core.serialization.enum_(["individual", "business"]);
@@ -5,6 +5,7 @@ import { DenyApprovalsResponseDataAttributesAch } from "./DenyApprovalsResponseD
5
5
  import { DenyApprovalsResponseDataAttributesCustomer } from "./DenyApprovalsResponseDataAttributesCustomer.mjs";
6
6
  import { DenyApprovalsResponseDataAttributesInitiator } from "./DenyApprovalsResponseDataAttributesInitiator.mjs";
7
7
  import { DenyApprovalsResponseDataAttributesPayment } from "./DenyApprovalsResponseDataAttributesPayment.mjs";
8
+ import { DenyApprovalsResponseDataAttributesRealtime } from "./DenyApprovalsResponseDataAttributesRealtime.mjs";
8
9
  import { DenyApprovalsResponseDataAttributesReasonsItem } from "./DenyApprovalsResponseDataAttributesReasonsItem.mjs";
9
10
  import { DenyResultStatus } from "./DenyResultStatus.mjs";
10
11
  import { DenyResultTarget } from "./DenyResultTarget.mjs";
@@ -17,6 +18,7 @@ export declare namespace DenyResultAttrs {
17
18
  reasons: DenyApprovalsResponseDataAttributesReasonsItem.Raw[];
18
19
  customer?: DenyApprovalsResponseDataAttributesCustomer.Raw | null;
19
20
  ach?: DenyApprovalsResponseDataAttributesAch.Raw | null;
21
+ realtime?: DenyApprovalsResponseDataAttributesRealtime.Raw | null;
20
22
  initiator?: DenyApprovalsResponseDataAttributesInitiator.Raw | null;
21
23
  denialReason?: string | null;
22
24
  createdAt: string;
@@ -4,6 +4,7 @@ import { DenyApprovalsResponseDataAttributesAch } from "./DenyApprovalsResponseD
4
4
  import { DenyApprovalsResponseDataAttributesCustomer } from "./DenyApprovalsResponseDataAttributesCustomer.mjs";
5
5
  import { DenyApprovalsResponseDataAttributesInitiator } from "./DenyApprovalsResponseDataAttributesInitiator.mjs";
6
6
  import { DenyApprovalsResponseDataAttributesPayment } from "./DenyApprovalsResponseDataAttributesPayment.mjs";
7
+ import { DenyApprovalsResponseDataAttributesRealtime } from "./DenyApprovalsResponseDataAttributesRealtime.mjs";
7
8
  import { DenyApprovalsResponseDataAttributesReasonsItem } from "./DenyApprovalsResponseDataAttributesReasonsItem.mjs";
8
9
  import { DenyResultStatus } from "./DenyResultStatus.mjs";
9
10
  import { DenyResultTarget } from "./DenyResultTarget.mjs";
@@ -14,6 +15,7 @@ export const DenyResultAttrs = core.serialization.object({
14
15
  reasons: core.serialization.list(DenyApprovalsResponseDataAttributesReasonsItem),
15
16
  customer: DenyApprovalsResponseDataAttributesCustomer.nullable(),
16
17
  ach: DenyApprovalsResponseDataAttributesAch.nullable(),
18
+ realtime: DenyApprovalsResponseDataAttributesRealtime.nullable(),
17
19
  initiator: DenyApprovalsResponseDataAttributesInitiator.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 { GetApprovalsResponseDataAttributesRealtimeCounterparty } from "./GetApprovalsResponseDataAttributesRealtimeCounterparty.mjs";
5
+ export declare const GetApprovalsResponseDataAttributesRealtime: core.serialization.ObjectSchema<serializers.GetApprovalsResponseDataAttributesRealtime.Raw, Natural.GetApprovalsResponseDataAttributesRealtime>;
6
+ export declare namespace GetApprovalsResponseDataAttributesRealtime {
7
+ interface Raw {
8
+ description: string;
9
+ counterparty?: GetApprovalsResponseDataAttributesRealtimeCounterparty.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 { GetApprovalsResponseDataAttributesRealtimeCounterparty } from "./GetApprovalsResponseDataAttributesRealtimeCounterparty.mjs";
4
+ export const GetApprovalsResponseDataAttributesRealtime = core.serialization.object({
5
+ description: core.serialization.string(),
6
+ counterparty: GetApprovalsResponseDataAttributesRealtimeCounterparty.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 { GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount } from "./GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount.mjs";
5
+ import { GetApprovalsResponseDataAttributesRealtimeCounterpartyKind } from "./GetApprovalsResponseDataAttributesRealtimeCounterpartyKind.mjs";
6
+ export declare const GetApprovalsResponseDataAttributesRealtimeCounterparty: core.serialization.ObjectSchema<serializers.GetApprovalsResponseDataAttributesRealtimeCounterparty.Raw, Natural.GetApprovalsResponseDataAttributesRealtimeCounterparty>;
7
+ export declare namespace GetApprovalsResponseDataAttributesRealtimeCounterparty {
8
+ interface Raw {
9
+ externalPartyId: string;
10
+ name: string;
11
+ kind: GetApprovalsResponseDataAttributesRealtimeCounterpartyKind.Raw;
12
+ account: GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount.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 { GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount } from "./GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount.mjs";
4
+ import { GetApprovalsResponseDataAttributesRealtimeCounterpartyKind } from "./GetApprovalsResponseDataAttributesRealtimeCounterpartyKind.mjs";
5
+ export const GetApprovalsResponseDataAttributesRealtimeCounterparty = core.serialization.object({
6
+ externalPartyId: core.serialization.string(),
7
+ name: core.serialization.string(),
8
+ kind: GetApprovalsResponseDataAttributesRealtimeCounterpartyKind,
9
+ account: GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount,
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 { GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType } from "./GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.mjs";
5
+ export declare const GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount: core.serialization.ObjectSchema<serializers.GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount.Raw, Natural.GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount>;
6
+ export declare namespace GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount {
7
+ interface Raw {
8
+ id: string;
9
+ accountType: GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.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 { GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType } from "./GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.mjs";
4
+ export const GetApprovalsResponseDataAttributesRealtimeCounterpartyAccount = core.serialization.object({
5
+ id: core.serialization.string(),
6
+ accountType: GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType,
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 GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType: core.serialization.Schema<serializers.GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType.Raw, Natural.GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType>;
5
+ export declare namespace GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType {
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 GetApprovalsResponseDataAttributesRealtimeCounterpartyAccountAccountType = 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 GetApprovalsResponseDataAttributesRealtimeCounterpartyKind: core.serialization.Schema<serializers.GetApprovalsResponseDataAttributesRealtimeCounterpartyKind.Raw, Natural.GetApprovalsResponseDataAttributesRealtimeCounterpartyKind>;
5
+ export declare namespace GetApprovalsResponseDataAttributesRealtimeCounterpartyKind {
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 GetApprovalsResponseDataAttributesRealtimeCounterpartyKind = core.serialization.enum_(["individual", "business"]);
@@ -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 { ListApprovalsResponseDataItemAttributesRealtimeCounterparty } from "./ListApprovalsResponseDataItemAttributesRealtimeCounterparty.mjs";
5
+ export declare const ListApprovalsResponseDataItemAttributesRealtime: core.serialization.ObjectSchema<serializers.ListApprovalsResponseDataItemAttributesRealtime.Raw, Natural.ListApprovalsResponseDataItemAttributesRealtime>;
6
+ export declare namespace ListApprovalsResponseDataItemAttributesRealtime {
7
+ interface Raw {
8
+ description: string;
9
+ counterparty?: ListApprovalsResponseDataItemAttributesRealtimeCounterparty.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 { ListApprovalsResponseDataItemAttributesRealtimeCounterparty } from "./ListApprovalsResponseDataItemAttributesRealtimeCounterparty.mjs";
4
+ export const ListApprovalsResponseDataItemAttributesRealtime = core.serialization.object({
5
+ description: core.serialization.string(),
6
+ counterparty: ListApprovalsResponseDataItemAttributesRealtimeCounterparty.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 { ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount } from "./ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount.mjs";
5
+ import { ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind } from "./ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind.mjs";
6
+ export declare const ListApprovalsResponseDataItemAttributesRealtimeCounterparty: core.serialization.ObjectSchema<serializers.ListApprovalsResponseDataItemAttributesRealtimeCounterparty.Raw, Natural.ListApprovalsResponseDataItemAttributesRealtimeCounterparty>;
7
+ export declare namespace ListApprovalsResponseDataItemAttributesRealtimeCounterparty {
8
+ interface Raw {
9
+ externalPartyId: string;
10
+ name: string;
11
+ kind: ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind.Raw;
12
+ account: ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount.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 { ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount } from "./ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount.mjs";
4
+ import { ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind } from "./ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind.mjs";
5
+ export const ListApprovalsResponseDataItemAttributesRealtimeCounterparty = core.serialization.object({
6
+ externalPartyId: core.serialization.string(),
7
+ name: core.serialization.string(),
8
+ kind: ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind,
9
+ account: ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount,
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 { ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType } from "./ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType.mjs";
5
+ export declare const ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount: core.serialization.ObjectSchema<serializers.ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount.Raw, Natural.ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount>;
6
+ export declare namespace ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount {
7
+ interface Raw {
8
+ id: string;
9
+ accountType: ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType.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 { ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType } from "./ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType.mjs";
4
+ export const ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccount = core.serialization.object({
5
+ id: core.serialization.string(),
6
+ accountType: ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType,
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 ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType: core.serialization.Schema<serializers.ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType.Raw, Natural.ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType>;
5
+ export declare namespace ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType {
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 ListApprovalsResponseDataItemAttributesRealtimeCounterpartyAccountAccountType = 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 ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind: core.serialization.Schema<serializers.ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind.Raw, Natural.ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind>;
5
+ export declare namespace ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind {
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 ListApprovalsResponseDataItemAttributesRealtimeCounterpartyKind = core.serialization.enum_(["individual", "business"]);
@@ -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";
@@ -4,11 +4,11 @@ import type * as serializers from "../../../index.mjs";
4
4
  export declare const NewExtPartyParamsAddress: core.serialization.ObjectSchema<serializers.NewExtPartyParamsAddress.Raw, Natural.NewExtPartyParamsAddress>;
5
5
  export declare namespace NewExtPartyParamsAddress {
6
6
  interface Raw {
7
- line1?: string | null;
7
+ line1: string;
8
8
  line2?: string | null;
9
- city?: string | null;
9
+ city: string;
10
10
  state?: string | null;
11
11
  postalCode?: string | null;
12
- countryCode?: string | null;
12
+ countryCode: string;
13
13
  }
14
14
  }
@@ -1,10 +1,10 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  export const NewExtPartyParamsAddress = core.serialization.object({
4
- line1: core.serialization.string().optional(),
4
+ line1: core.serialization.string(),
5
5
  line2: core.serialization.string().optional(),
6
- city: core.serialization.string().optional(),
6
+ city: core.serialization.string(),
7
7
  state: core.serialization.string().optional(),
8
8
  postalCode: core.serialization.string().optional(),
9
- countryCode: core.serialization.string().optional(),
9
+ countryCode: core.serialization.string(),
10
10
  });
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
4
4
  export declare const ListTransactionsRequestType: core.serialization.Schema<serializers.ListTransactionsRequestType.Raw, Natural.ListTransactionsRequestType>;
5
5
  export declare namespace ListTransactionsRequestType {
6
- type Raw = "payment" | "transfer" | "all";
6
+ type Raw = "payment" | "transfer" | "refund" | "all";
7
7
  }
@@ -1,3 +1,3 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../core/index.mjs";
3
- export const ListTransactionsRequestType = core.serialization.enum_(["payment", "transfer", "all"]);
3
+ export const ListTransactionsRequestType = core.serialization.enum_(["payment", "transfer", "refund", "all"]);
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
4
4
  export declare const TxnDetailTransactionType: core.serialization.Schema<serializers.TxnDetailTransactionType.Raw, Natural.TxnDetailTransactionType>;
5
5
  export declare namespace TxnDetailTransactionType {
6
- type Raw = "payment" | "transfer";
6
+ type Raw = "payment" | "transfer" | "refund";
7
7
  }
@@ -1,3 +1,3 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../core/index.mjs";
3
- export const TxnDetailTransactionType = core.serialization.enum_(["payment", "transfer"]);
3
+ export const TxnDetailTransactionType = core.serialization.enum_(["payment", "transfer", "refund"]);
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
4
4
  export declare const TxnTransactionType: core.serialization.Schema<serializers.TxnTransactionType.Raw, Natural.TxnTransactionType>;
5
5
  export declare namespace TxnTransactionType {
6
- type Raw = "payment" | "transfer";
6
+ type Raw = "payment" | "transfer" | "refund";
7
7
  }
@@ -1,3 +1,3 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../core/index.mjs";
3
- export const TxnTransactionType = core.serialization.enum_(["payment", "transfer"]);
3
+ export const TxnTransactionType = core.serialization.enum_(["payment", "transfer", "refund"]);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.6.9";
1
+ export declare const SDK_VERSION = "1.6.11";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.6.9";
1
+ export const SDK_VERSION = "1.6.11";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalpay/sdk",
3
- "version": "1.6.9",
3
+ "version": "1.6.11",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -77,6 +77,50 @@
77
77
  },
78
78
  "default": "./dist/cjs/api/resources/payments/exports.js"
79
79
  },
80
+ "./externalParties": {
81
+ "import": {
82
+ "types": "./dist/esm/api/resources/externalParties/exports.d.mts",
83
+ "default": "./dist/esm/api/resources/externalParties/exports.mjs"
84
+ },
85
+ "require": {
86
+ "types": "./dist/cjs/api/resources/externalParties/exports.d.ts",
87
+ "default": "./dist/cjs/api/resources/externalParties/exports.js"
88
+ },
89
+ "default": "./dist/cjs/api/resources/externalParties/exports.js"
90
+ },
91
+ "./externalPartyAccounts": {
92
+ "import": {
93
+ "types": "./dist/esm/api/resources/externalPartyAccounts/exports.d.mts",
94
+ "default": "./dist/esm/api/resources/externalPartyAccounts/exports.mjs"
95
+ },
96
+ "require": {
97
+ "types": "./dist/cjs/api/resources/externalPartyAccounts/exports.d.ts",
98
+ "default": "./dist/cjs/api/resources/externalPartyAccounts/exports.js"
99
+ },
100
+ "default": "./dist/cjs/api/resources/externalPartyAccounts/exports.js"
101
+ },
102
+ "./ach": {
103
+ "import": {
104
+ "types": "./dist/esm/api/resources/ach/exports.d.mts",
105
+ "default": "./dist/esm/api/resources/ach/exports.mjs"
106
+ },
107
+ "require": {
108
+ "types": "./dist/cjs/api/resources/ach/exports.d.ts",
109
+ "default": "./dist/cjs/api/resources/ach/exports.js"
110
+ },
111
+ "default": "./dist/cjs/api/resources/ach/exports.js"
112
+ },
113
+ "./realtime": {
114
+ "import": {
115
+ "types": "./dist/esm/api/resources/realtime/exports.d.mts",
116
+ "default": "./dist/esm/api/resources/realtime/exports.mjs"
117
+ },
118
+ "require": {
119
+ "types": "./dist/cjs/api/resources/realtime/exports.d.ts",
120
+ "default": "./dist/cjs/api/resources/realtime/exports.js"
121
+ },
122
+ "default": "./dist/cjs/api/resources/realtime/exports.js"
123
+ },
80
124
  "./transactions": {
81
125
  "import": {
82
126
  "types": "./dist/esm/api/resources/transactions/exports.d.mts",
@@ -165,50 +209,6 @@
165
209
  },
166
210
  "default": "./dist/cjs/api/resources/externalAccounts/exports.js"
167
211
  },
168
- "./externalParties": {
169
- "import": {
170
- "types": "./dist/esm/api/resources/externalParties/exports.d.mts",
171
- "default": "./dist/esm/api/resources/externalParties/exports.mjs"
172
- },
173
- "require": {
174
- "types": "./dist/cjs/api/resources/externalParties/exports.d.ts",
175
- "default": "./dist/cjs/api/resources/externalParties/exports.js"
176
- },
177
- "default": "./dist/cjs/api/resources/externalParties/exports.js"
178
- },
179
- "./externalPartyAccounts": {
180
- "import": {
181
- "types": "./dist/esm/api/resources/externalPartyAccounts/exports.d.mts",
182
- "default": "./dist/esm/api/resources/externalPartyAccounts/exports.mjs"
183
- },
184
- "require": {
185
- "types": "./dist/cjs/api/resources/externalPartyAccounts/exports.d.ts",
186
- "default": "./dist/cjs/api/resources/externalPartyAccounts/exports.js"
187
- },
188
- "default": "./dist/cjs/api/resources/externalPartyAccounts/exports.js"
189
- },
190
- "./ach": {
191
- "import": {
192
- "types": "./dist/esm/api/resources/ach/exports.d.mts",
193
- "default": "./dist/esm/api/resources/ach/exports.mjs"
194
- },
195
- "require": {
196
- "types": "./dist/cjs/api/resources/ach/exports.d.ts",
197
- "default": "./dist/cjs/api/resources/ach/exports.js"
198
- },
199
- "default": "./dist/cjs/api/resources/ach/exports.js"
200
- },
201
- "./realtime": {
202
- "import": {
203
- "types": "./dist/esm/api/resources/realtime/exports.d.mts",
204
- "default": "./dist/esm/api/resources/realtime/exports.mjs"
205
- },
206
- "require": {
207
- "types": "./dist/cjs/api/resources/realtime/exports.d.ts",
208
- "default": "./dist/cjs/api/resources/realtime/exports.js"
209
- },
210
- "default": "./dist/cjs/api/resources/realtime/exports.js"
211
- },
212
212
  "./apiKeys": {
213
213
  "import": {
214
214
  "types": "./dist/esm/api/resources/apiKeys/exports.d.mts",