@naturalpay/sdk 1.6.21 → 1.6.23

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 (380) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/ach/client/requests/NewAchParams.d.ts +1 -1
  3. package/dist/cjs/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributes.d.ts +3 -1
  4. package/dist/cjs/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.d.ts +7 -0
  5. package/dist/cjs/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.js +3 -0
  6. package/dist/cjs/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFeeCurrency.d.ts +5 -0
  7. package/dist/cjs/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFeeCurrency.js +8 -0
  8. package/dist/cjs/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesStatus.d.ts +1 -1
  9. package/dist/cjs/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesStatus.js +1 -1
  10. package/dist/cjs/api/resources/chargebacks/types/GetChargebacksResponseDataAttributes.d.ts +3 -1
  11. package/dist/cjs/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesFee.d.ts +7 -0
  12. package/dist/cjs/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesFee.js +3 -0
  13. package/dist/cjs/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesFeeCurrency.d.ts +5 -0
  14. package/dist/cjs/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesFeeCurrency.js +8 -0
  15. package/dist/cjs/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesStatus.d.ts +1 -1
  16. package/dist/cjs/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesStatus.js +1 -1
  17. package/dist/cjs/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributes.d.ts +3 -1
  18. package/dist/cjs/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFee.d.ts +7 -0
  19. package/dist/cjs/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFee.js +3 -0
  20. package/dist/cjs/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFeeCurrency.d.ts +5 -0
  21. package/dist/cjs/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFeeCurrency.js +8 -0
  22. package/dist/cjs/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesStatus.d.ts +1 -1
  23. package/dist/cjs/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesStatus.js +1 -1
  24. package/dist/cjs/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributes.d.ts +3 -1
  25. package/dist/cjs/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFee.d.ts +7 -0
  26. package/dist/cjs/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFee.js +3 -0
  27. package/dist/cjs/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFeeCurrency.d.ts +5 -0
  28. package/dist/cjs/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFeeCurrency.js +8 -0
  29. package/dist/cjs/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesStatus.d.ts +1 -1
  30. package/dist/cjs/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesStatus.js +1 -1
  31. package/dist/cjs/api/resources/chargebacks/types/index.d.ts +8 -0
  32. package/dist/cjs/api/resources/chargebacks/types/index.js +8 -0
  33. package/dist/cjs/api/resources/externalAccounts/client/Client.js +11 -3
  34. package/dist/cjs/api/resources/externalAccounts/client/requests/GetExternalAccountsRequest.d.ts +1 -0
  35. package/dist/cjs/api/resources/externalAccounts/client/requests/ListExternalAccountsRequest.d.ts +1 -0
  36. package/dist/cjs/api/resources/paymentRequests/client/Client.js +7 -1
  37. package/dist/cjs/api/resources/paymentRequests/client/requests/ListPaymentRequestsRequest.d.ts +1 -0
  38. package/dist/cjs/api/resources/paymentRequests/client/requests/NewPayReqParams.d.ts +1 -1
  39. package/dist/cjs/api/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.d.ts +2 -0
  40. package/dist/cjs/api/resources/paymentRequests/types/DeclinedReqAttrs.d.ts +2 -0
  41. package/dist/cjs/api/resources/paymentRequests/types/FulfillPaymentRequestsRequestPaymentSourceWallet.d.ts +1 -1
  42. package/dist/cjs/api/resources/paymentRequests/types/IncomingReqAttrs.d.ts +2 -0
  43. package/dist/cjs/api/resources/paymentRequests/types/ListPaymentRequestsRequestGroup.d.ts +7 -0
  44. package/dist/cjs/api/resources/paymentRequests/types/ListPaymentRequestsRequestGroup.js +10 -0
  45. package/dist/cjs/api/resources/paymentRequests/types/NewPayReqAttrs.d.ts +2 -0
  46. package/dist/cjs/api/resources/paymentRequests/types/PayReqAttrs.d.ts +2 -0
  47. package/dist/cjs/api/resources/paymentRequests/types/PayReqDetailAttrs.d.ts +2 -0
  48. package/dist/cjs/api/resources/paymentRequests/types/index.d.ts +1 -0
  49. package/dist/cjs/api/resources/paymentRequests/types/index.js +1 -0
  50. package/dist/cjs/api/resources/payments/client/requests/NewPaymentParams.d.ts +1 -1
  51. package/dist/cjs/api/resources/realtime/client/requests/CreateRealtimeRequest.d.ts +1 -1
  52. package/dist/cjs/api/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributes.d.ts +2 -0
  53. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPayment.d.ts +1 -1
  54. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.d.ts +8 -0
  55. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.js +3 -0
  56. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.d.ts +9 -0
  57. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.js +3 -0
  58. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.d.ts +5 -0
  59. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.js +8 -0
  60. package/dist/cjs/api/resources/transactions/types/ListTransactionsRequestType.d.ts +2 -1
  61. package/dist/cjs/api/resources/transactions/types/ListTransactionsRequestType.js +2 -1
  62. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPayment.d.ts +1 -1
  63. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.d.ts +8 -0
  64. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.js +3 -0
  65. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.d.ts +9 -0
  66. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.js +3 -0
  67. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.d.ts +5 -0
  68. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.js +8 -0
  69. package/dist/cjs/api/resources/transactions/types/TxnAttrs.d.ts +2 -2
  70. package/dist/cjs/api/resources/transactions/types/TxnDetailAttrs.d.ts +2 -2
  71. package/dist/cjs/api/resources/transactions/types/TxnDetailRels.d.ts +3 -1
  72. package/dist/cjs/api/resources/transactions/types/TxnDetailTransactionType.d.ts +2 -1
  73. package/dist/cjs/api/resources/transactions/types/TxnDetailTransactionType.js +2 -1
  74. package/dist/cjs/api/resources/transactions/types/TxnRels.d.ts +3 -1
  75. package/dist/cjs/api/resources/transactions/types/TxnTransactionType.d.ts +2 -1
  76. package/dist/cjs/api/resources/transactions/types/TxnTransactionType.js +2 -1
  77. package/dist/cjs/api/resources/transactions/types/index.d.ts +6 -0
  78. package/dist/cjs/api/resources/transactions/types/index.js +6 -0
  79. package/dist/cjs/api/resources/transfers/client/requests/NewDepositParams.d.ts +1 -1
  80. package/dist/cjs/api/resources/transfers/client/requests/NewWithdrawalParams.d.ts +1 -1
  81. package/dist/cjs/api/resources/wallets/client/Client.d.ts +4 -4
  82. package/dist/cjs/api/resources/wallets/client/Client.js +4 -4
  83. package/dist/cjs/api/resources/wallets/client/requests/AttachAgentWalletsRequest.d.ts +1 -1
  84. package/dist/cjs/api/resources/wallets/types/AttachAgentWalletsResponseDataAttributes.d.ts +6 -6
  85. package/dist/cjs/api/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccess.d.ts +3 -0
  86. package/dist/cjs/api/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.d.ts +6 -0
  87. package/dist/cjs/api/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.js +9 -0
  88. package/dist/cjs/api/resources/wallets/types/CreateWalletsResponseDataAttributes.d.ts +1 -1
  89. package/dist/cjs/api/resources/wallets/types/FreezeWalletsResponseDataAttributes.d.ts +1 -1
  90. package/dist/cjs/api/resources/wallets/types/ListAgentsWalletsResponseDataItemAttributes.d.ts +6 -6
  91. package/dist/cjs/api/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccess.d.ts +3 -0
  92. package/dist/cjs/api/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.d.ts +6 -0
  93. package/dist/cjs/api/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.js +9 -0
  94. package/dist/cjs/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataAttributes.d.ts +6 -6
  95. package/dist/cjs/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.d.ts +3 -0
  96. package/dist/cjs/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.d.ts +6 -0
  97. package/dist/cjs/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.js +9 -0
  98. package/dist/cjs/api/resources/wallets/types/SetDefaultWalletsResponseDataAttributes.d.ts +1 -1
  99. package/dist/cjs/api/resources/wallets/types/UnfreezeWalletsResponseDataAttributes.d.ts +1 -1
  100. package/dist/cjs/api/resources/wallets/types/UpdateWalletsResponseDataAttributes.d.ts +1 -1
  101. package/dist/cjs/api/resources/wallets/types/WalletAttrs.d.ts +1 -1
  102. package/dist/cjs/api/resources/wallets/types/WalletDetailAttrs.d.ts +1 -1
  103. package/dist/cjs/api/resources/wallets/types/index.d.ts +3 -0
  104. package/dist/cjs/api/resources/wallets/types/index.js +3 -0
  105. package/dist/cjs/api/resources/wire/client/requests/CreateWireRequest.d.ts +1 -1
  106. package/dist/cjs/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributes.d.ts +2 -0
  107. package/dist/cjs/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributes.js +2 -0
  108. package/dist/cjs/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.d.ts +11 -0
  109. package/dist/cjs/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.js +43 -0
  110. package/dist/cjs/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFeeCurrency.d.ts +7 -0
  111. package/dist/cjs/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFeeCurrency.js +39 -0
  112. package/dist/cjs/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributes.d.ts +2 -0
  113. package/dist/cjs/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributes.js +2 -0
  114. package/dist/cjs/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFee.d.ts +11 -0
  115. package/dist/cjs/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFee.js +43 -0
  116. package/dist/cjs/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFeeCurrency.d.ts +7 -0
  117. package/dist/cjs/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFeeCurrency.js +39 -0
  118. package/dist/cjs/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributes.d.ts +2 -0
  119. package/dist/cjs/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributes.js +2 -0
  120. package/dist/cjs/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFee.d.ts +11 -0
  121. package/dist/cjs/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFee.js +43 -0
  122. package/dist/cjs/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFeeCurrency.d.ts +7 -0
  123. package/dist/cjs/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFeeCurrency.js +39 -0
  124. package/dist/cjs/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributes.d.ts +2 -0
  125. package/dist/cjs/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributes.js +2 -0
  126. package/dist/cjs/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFee.d.ts +11 -0
  127. package/dist/cjs/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFee.js +43 -0
  128. package/dist/cjs/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFeeCurrency.d.ts +7 -0
  129. package/dist/cjs/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFeeCurrency.js +39 -0
  130. package/dist/cjs/serialization/resources/chargebacks/types/index.d.ts +8 -0
  131. package/dist/cjs/serialization/resources/chargebacks/types/index.js +8 -0
  132. package/dist/cjs/serialization/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.d.ts +1 -0
  133. package/dist/cjs/serialization/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.js +1 -0
  134. package/dist/cjs/serialization/resources/paymentRequests/types/DeclinedReqAttrs.d.ts +1 -0
  135. package/dist/cjs/serialization/resources/paymentRequests/types/DeclinedReqAttrs.js +1 -0
  136. package/dist/cjs/serialization/resources/paymentRequests/types/IncomingReqAttrs.d.ts +1 -0
  137. package/dist/cjs/serialization/resources/paymentRequests/types/IncomingReqAttrs.js +1 -0
  138. package/dist/cjs/serialization/resources/paymentRequests/types/ListPaymentRequestsRequestGroup.d.ts +7 -0
  139. package/dist/cjs/serialization/resources/paymentRequests/types/ListPaymentRequestsRequestGroup.js +39 -0
  140. package/dist/cjs/serialization/resources/paymentRequests/types/NewPayReqAttrs.d.ts +1 -0
  141. package/dist/cjs/serialization/resources/paymentRequests/types/NewPayReqAttrs.js +1 -0
  142. package/dist/cjs/serialization/resources/paymentRequests/types/PayReqAttrs.d.ts +1 -0
  143. package/dist/cjs/serialization/resources/paymentRequests/types/PayReqAttrs.js +1 -0
  144. package/dist/cjs/serialization/resources/paymentRequests/types/PayReqDetailAttrs.d.ts +1 -0
  145. package/dist/cjs/serialization/resources/paymentRequests/types/PayReqDetailAttrs.js +1 -0
  146. package/dist/cjs/serialization/resources/paymentRequests/types/index.d.ts +1 -0
  147. package/dist/cjs/serialization/resources/paymentRequests/types/index.js +1 -0
  148. package/dist/cjs/serialization/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributes.d.ts +1 -0
  149. package/dist/cjs/serialization/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributes.js +1 -0
  150. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.d.ts +10 -0
  151. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.js +42 -0
  152. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.d.ts +11 -0
  153. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.js +43 -0
  154. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.d.ts +7 -0
  155. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.js +39 -0
  156. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsRequestType.d.ts +1 -1
  157. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsRequestType.js +1 -1
  158. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.d.ts +10 -0
  159. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.js +42 -0
  160. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.d.ts +11 -0
  161. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.js +43 -0
  162. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.d.ts +7 -0
  163. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.js +39 -0
  164. package/dist/cjs/serialization/resources/transactions/types/TxnDetailRels.d.ts +2 -0
  165. package/dist/cjs/serialization/resources/transactions/types/TxnDetailRels.js +2 -0
  166. package/dist/cjs/serialization/resources/transactions/types/TxnDetailTransactionType.d.ts +1 -1
  167. package/dist/cjs/serialization/resources/transactions/types/TxnDetailTransactionType.js +1 -1
  168. package/dist/cjs/serialization/resources/transactions/types/TxnRels.d.ts +2 -0
  169. package/dist/cjs/serialization/resources/transactions/types/TxnRels.js +2 -0
  170. package/dist/cjs/serialization/resources/transactions/types/TxnTransactionType.d.ts +1 -1
  171. package/dist/cjs/serialization/resources/transactions/types/TxnTransactionType.js +1 -1
  172. package/dist/cjs/serialization/resources/transactions/types/index.d.ts +6 -0
  173. package/dist/cjs/serialization/resources/transactions/types/index.js +6 -0
  174. package/dist/cjs/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccess.d.ts +2 -0
  175. package/dist/cjs/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccess.js +2 -0
  176. package/dist/cjs/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.d.ts +7 -0
  177. package/dist/cjs/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.js +39 -0
  178. package/dist/cjs/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccess.d.ts +2 -0
  179. package/dist/cjs/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccess.js +2 -0
  180. package/dist/cjs/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.d.ts +7 -0
  181. package/dist/cjs/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.js +39 -0
  182. package/dist/cjs/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.d.ts +2 -0
  183. package/dist/cjs/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.js +2 -0
  184. package/dist/cjs/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.d.ts +7 -0
  185. package/dist/cjs/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.js +39 -0
  186. package/dist/cjs/serialization/resources/wallets/types/index.d.ts +3 -0
  187. package/dist/cjs/serialization/resources/wallets/types/index.js +3 -0
  188. package/dist/cjs/version.d.ts +1 -1
  189. package/dist/cjs/version.js +1 -1
  190. package/dist/esm/BaseClient.mjs +2 -2
  191. package/dist/esm/api/resources/ach/client/requests/NewAchParams.d.mts +1 -1
  192. package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributes.d.mts +3 -1
  193. package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.d.mts +7 -0
  194. package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.mjs +2 -0
  195. package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFeeCurrency.d.mts +5 -0
  196. package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFeeCurrency.mjs +5 -0
  197. package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesStatus.d.mts +1 -1
  198. package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesStatus.mjs +1 -1
  199. package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributes.d.mts +3 -1
  200. package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesFee.d.mts +7 -0
  201. package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesFee.mjs +2 -0
  202. package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesFeeCurrency.d.mts +5 -0
  203. package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesFeeCurrency.mjs +5 -0
  204. package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesStatus.d.mts +1 -1
  205. package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesStatus.mjs +1 -1
  206. package/dist/esm/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributes.d.mts +3 -1
  207. package/dist/esm/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFee.d.mts +7 -0
  208. package/dist/esm/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFee.mjs +2 -0
  209. package/dist/esm/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFeeCurrency.d.mts +5 -0
  210. package/dist/esm/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFeeCurrency.mjs +5 -0
  211. package/dist/esm/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesStatus.d.mts +1 -1
  212. package/dist/esm/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesStatus.mjs +1 -1
  213. package/dist/esm/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributes.d.mts +3 -1
  214. package/dist/esm/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFee.d.mts +7 -0
  215. package/dist/esm/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFee.mjs +2 -0
  216. package/dist/esm/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFeeCurrency.d.mts +5 -0
  217. package/dist/esm/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFeeCurrency.mjs +5 -0
  218. package/dist/esm/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesStatus.d.mts +1 -1
  219. package/dist/esm/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesStatus.mjs +1 -1
  220. package/dist/esm/api/resources/chargebacks/types/index.d.mts +8 -0
  221. package/dist/esm/api/resources/chargebacks/types/index.mjs +8 -0
  222. package/dist/esm/api/resources/externalAccounts/client/Client.mjs +11 -3
  223. package/dist/esm/api/resources/externalAccounts/client/requests/GetExternalAccountsRequest.d.mts +1 -0
  224. package/dist/esm/api/resources/externalAccounts/client/requests/ListExternalAccountsRequest.d.mts +1 -0
  225. package/dist/esm/api/resources/paymentRequests/client/Client.mjs +7 -1
  226. package/dist/esm/api/resources/paymentRequests/client/requests/ListPaymentRequestsRequest.d.mts +1 -0
  227. package/dist/esm/api/resources/paymentRequests/client/requests/NewPayReqParams.d.mts +1 -1
  228. package/dist/esm/api/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.d.mts +2 -0
  229. package/dist/esm/api/resources/paymentRequests/types/DeclinedReqAttrs.d.mts +2 -0
  230. package/dist/esm/api/resources/paymentRequests/types/FulfillPaymentRequestsRequestPaymentSourceWallet.d.mts +1 -1
  231. package/dist/esm/api/resources/paymentRequests/types/IncomingReqAttrs.d.mts +2 -0
  232. package/dist/esm/api/resources/paymentRequests/types/ListPaymentRequestsRequestGroup.d.mts +7 -0
  233. package/dist/esm/api/resources/paymentRequests/types/ListPaymentRequestsRequestGroup.mjs +7 -0
  234. package/dist/esm/api/resources/paymentRequests/types/NewPayReqAttrs.d.mts +2 -0
  235. package/dist/esm/api/resources/paymentRequests/types/PayReqAttrs.d.mts +2 -0
  236. package/dist/esm/api/resources/paymentRequests/types/PayReqDetailAttrs.d.mts +2 -0
  237. package/dist/esm/api/resources/paymentRequests/types/index.d.mts +1 -0
  238. package/dist/esm/api/resources/paymentRequests/types/index.mjs +1 -0
  239. package/dist/esm/api/resources/payments/client/requests/NewPaymentParams.d.mts +1 -1
  240. package/dist/esm/api/resources/realtime/client/requests/CreateRealtimeRequest.d.mts +1 -1
  241. package/dist/esm/api/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributes.d.mts +2 -0
  242. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPayment.d.mts +1 -1
  243. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.d.mts +8 -0
  244. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.mjs +2 -0
  245. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.d.mts +9 -0
  246. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.mjs +2 -0
  247. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.d.mts +5 -0
  248. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.mjs +5 -0
  249. package/dist/esm/api/resources/transactions/types/ListTransactionsRequestType.d.mts +2 -1
  250. package/dist/esm/api/resources/transactions/types/ListTransactionsRequestType.mjs +2 -1
  251. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPayment.d.mts +1 -1
  252. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.d.mts +8 -0
  253. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.mjs +2 -0
  254. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.d.mts +9 -0
  255. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.mjs +2 -0
  256. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.d.mts +5 -0
  257. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.mjs +5 -0
  258. package/dist/esm/api/resources/transactions/types/TxnAttrs.d.mts +2 -2
  259. package/dist/esm/api/resources/transactions/types/TxnDetailAttrs.d.mts +2 -2
  260. package/dist/esm/api/resources/transactions/types/TxnDetailRels.d.mts +3 -1
  261. package/dist/esm/api/resources/transactions/types/TxnDetailTransactionType.d.mts +2 -1
  262. package/dist/esm/api/resources/transactions/types/TxnDetailTransactionType.mjs +2 -1
  263. package/dist/esm/api/resources/transactions/types/TxnRels.d.mts +3 -1
  264. package/dist/esm/api/resources/transactions/types/TxnTransactionType.d.mts +2 -1
  265. package/dist/esm/api/resources/transactions/types/TxnTransactionType.mjs +2 -1
  266. package/dist/esm/api/resources/transactions/types/index.d.mts +6 -0
  267. package/dist/esm/api/resources/transactions/types/index.mjs +6 -0
  268. package/dist/esm/api/resources/transfers/client/requests/NewDepositParams.d.mts +1 -1
  269. package/dist/esm/api/resources/transfers/client/requests/NewWithdrawalParams.d.mts +1 -1
  270. package/dist/esm/api/resources/wallets/client/Client.d.mts +4 -4
  271. package/dist/esm/api/resources/wallets/client/Client.mjs +4 -4
  272. package/dist/esm/api/resources/wallets/client/requests/AttachAgentWalletsRequest.d.mts +1 -1
  273. package/dist/esm/api/resources/wallets/types/AttachAgentWalletsResponseDataAttributes.d.mts +6 -6
  274. package/dist/esm/api/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccess.d.mts +3 -0
  275. package/dist/esm/api/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.d.mts +6 -0
  276. package/dist/esm/api/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.mjs +6 -0
  277. package/dist/esm/api/resources/wallets/types/CreateWalletsResponseDataAttributes.d.mts +1 -1
  278. package/dist/esm/api/resources/wallets/types/FreezeWalletsResponseDataAttributes.d.mts +1 -1
  279. package/dist/esm/api/resources/wallets/types/ListAgentsWalletsResponseDataItemAttributes.d.mts +6 -6
  280. package/dist/esm/api/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccess.d.mts +3 -0
  281. package/dist/esm/api/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.d.mts +6 -0
  282. package/dist/esm/api/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.mjs +6 -0
  283. package/dist/esm/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataAttributes.d.mts +6 -6
  284. package/dist/esm/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.d.mts +3 -0
  285. package/dist/esm/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.d.mts +6 -0
  286. package/dist/esm/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.mjs +6 -0
  287. package/dist/esm/api/resources/wallets/types/SetDefaultWalletsResponseDataAttributes.d.mts +1 -1
  288. package/dist/esm/api/resources/wallets/types/UnfreezeWalletsResponseDataAttributes.d.mts +1 -1
  289. package/dist/esm/api/resources/wallets/types/UpdateWalletsResponseDataAttributes.d.mts +1 -1
  290. package/dist/esm/api/resources/wallets/types/WalletAttrs.d.mts +1 -1
  291. package/dist/esm/api/resources/wallets/types/WalletDetailAttrs.d.mts +1 -1
  292. package/dist/esm/api/resources/wallets/types/index.d.mts +3 -0
  293. package/dist/esm/api/resources/wallets/types/index.mjs +3 -0
  294. package/dist/esm/api/resources/wire/client/requests/CreateWireRequest.d.mts +1 -1
  295. package/dist/esm/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributes.d.mts +2 -0
  296. package/dist/esm/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributes.mjs +2 -0
  297. package/dist/esm/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.d.mts +11 -0
  298. package/dist/esm/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.mjs +7 -0
  299. package/dist/esm/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFeeCurrency.d.mts +7 -0
  300. package/dist/esm/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFeeCurrency.mjs +3 -0
  301. package/dist/esm/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributes.d.mts +2 -0
  302. package/dist/esm/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributes.mjs +2 -0
  303. package/dist/esm/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFee.d.mts +11 -0
  304. package/dist/esm/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFee.mjs +7 -0
  305. package/dist/esm/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFeeCurrency.d.mts +7 -0
  306. package/dist/esm/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFeeCurrency.mjs +3 -0
  307. package/dist/esm/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributes.d.mts +2 -0
  308. package/dist/esm/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributes.mjs +2 -0
  309. package/dist/esm/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFee.d.mts +11 -0
  310. package/dist/esm/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFee.mjs +7 -0
  311. package/dist/esm/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFeeCurrency.d.mts +7 -0
  312. package/dist/esm/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFeeCurrency.mjs +3 -0
  313. package/dist/esm/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributes.d.mts +2 -0
  314. package/dist/esm/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributes.mjs +2 -0
  315. package/dist/esm/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFee.d.mts +11 -0
  316. package/dist/esm/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFee.mjs +7 -0
  317. package/dist/esm/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFeeCurrency.d.mts +7 -0
  318. package/dist/esm/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFeeCurrency.mjs +3 -0
  319. package/dist/esm/serialization/resources/chargebacks/types/index.d.mts +8 -0
  320. package/dist/esm/serialization/resources/chargebacks/types/index.mjs +8 -0
  321. package/dist/esm/serialization/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.d.mts +1 -0
  322. package/dist/esm/serialization/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.mjs +1 -0
  323. package/dist/esm/serialization/resources/paymentRequests/types/DeclinedReqAttrs.d.mts +1 -0
  324. package/dist/esm/serialization/resources/paymentRequests/types/DeclinedReqAttrs.mjs +1 -0
  325. package/dist/esm/serialization/resources/paymentRequests/types/IncomingReqAttrs.d.mts +1 -0
  326. package/dist/esm/serialization/resources/paymentRequests/types/IncomingReqAttrs.mjs +1 -0
  327. package/dist/esm/serialization/resources/paymentRequests/types/ListPaymentRequestsRequestGroup.d.mts +7 -0
  328. package/dist/esm/serialization/resources/paymentRequests/types/ListPaymentRequestsRequestGroup.mjs +3 -0
  329. package/dist/esm/serialization/resources/paymentRequests/types/NewPayReqAttrs.d.mts +1 -0
  330. package/dist/esm/serialization/resources/paymentRequests/types/NewPayReqAttrs.mjs +1 -0
  331. package/dist/esm/serialization/resources/paymentRequests/types/PayReqAttrs.d.mts +1 -0
  332. package/dist/esm/serialization/resources/paymentRequests/types/PayReqAttrs.mjs +1 -0
  333. package/dist/esm/serialization/resources/paymentRequests/types/PayReqDetailAttrs.d.mts +1 -0
  334. package/dist/esm/serialization/resources/paymentRequests/types/PayReqDetailAttrs.mjs +1 -0
  335. package/dist/esm/serialization/resources/paymentRequests/types/index.d.mts +1 -0
  336. package/dist/esm/serialization/resources/paymentRequests/types/index.mjs +1 -0
  337. package/dist/esm/serialization/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributes.d.mts +1 -0
  338. package/dist/esm/serialization/resources/simulations/types/DeclinePaymentRequestSimulationsResponseDataAttributes.mjs +1 -0
  339. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.d.mts +10 -0
  340. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.mjs +6 -0
  341. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.d.mts +11 -0
  342. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.mjs +7 -0
  343. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.d.mts +7 -0
  344. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.mjs +3 -0
  345. package/dist/esm/serialization/resources/transactions/types/ListTransactionsRequestType.d.mts +1 -1
  346. package/dist/esm/serialization/resources/transactions/types/ListTransactionsRequestType.mjs +1 -1
  347. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.d.mts +10 -0
  348. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.mjs +6 -0
  349. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.d.mts +11 -0
  350. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.mjs +7 -0
  351. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.d.mts +7 -0
  352. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.mjs +3 -0
  353. package/dist/esm/serialization/resources/transactions/types/TxnDetailRels.d.mts +2 -0
  354. package/dist/esm/serialization/resources/transactions/types/TxnDetailRels.mjs +2 -0
  355. package/dist/esm/serialization/resources/transactions/types/TxnDetailTransactionType.d.mts +1 -1
  356. package/dist/esm/serialization/resources/transactions/types/TxnDetailTransactionType.mjs +1 -1
  357. package/dist/esm/serialization/resources/transactions/types/TxnRels.d.mts +2 -0
  358. package/dist/esm/serialization/resources/transactions/types/TxnRels.mjs +2 -0
  359. package/dist/esm/serialization/resources/transactions/types/TxnTransactionType.d.mts +1 -1
  360. package/dist/esm/serialization/resources/transactions/types/TxnTransactionType.mjs +1 -1
  361. package/dist/esm/serialization/resources/transactions/types/index.d.mts +6 -0
  362. package/dist/esm/serialization/resources/transactions/types/index.mjs +6 -0
  363. package/dist/esm/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccess.d.mts +2 -0
  364. package/dist/esm/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccess.mjs +2 -0
  365. package/dist/esm/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.d.mts +7 -0
  366. package/dist/esm/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.mjs +3 -0
  367. package/dist/esm/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccess.d.mts +2 -0
  368. package/dist/esm/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccess.mjs +2 -0
  369. package/dist/esm/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.d.mts +7 -0
  370. package/dist/esm/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.mjs +3 -0
  371. package/dist/esm/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.d.mts +2 -0
  372. package/dist/esm/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.mjs +2 -0
  373. package/dist/esm/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.d.mts +7 -0
  374. package/dist/esm/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.mjs +3 -0
  375. package/dist/esm/serialization/resources/wallets/types/index.d.mts +3 -0
  376. package/dist/esm/serialization/resources/wallets/types/index.mjs +3 -0
  377. package/dist/esm/version.d.mts +1 -1
  378. package/dist/esm/version.mjs +1 -1
  379. package/package.json +1 -1
  380. package/reference.md +4 -4
@@ -4,7 +4,9 @@ export interface ListChargebacksResponseDataItemAttributes {
4
4
  amount: number;
5
5
  /** Reported ISO 4217 currency of the disputed amount. */
6
6
  currency: string;
7
- /** Response and outcome state. Submitted means Natural accepted the response. Under review requires provider acknowledgment. Accepted and expired are not provider-reported losses. */
7
+ /** Natural's fee for this case, billed once when the case opens. It can be billed before the disputed amount is withheld and isn't refunded if you win. Null when no fee applies or the fee was voided. */
8
+ fee: Natural.ListChargebacksResponseDataItemAttributesFee | null;
9
+ /** Response and outcome state. Submitted means Natural accepted the response. Under review requires provider acknowledgment. Accepted and expired are not provider-reported losses. While the case is needsResponse, submitted, or underReview, the disputed amount is withheld from your available balance. The hold can post shortly after the case is created. Won returns the amount. Lost, accepted, and expired do not. */
8
10
  status: Natural.ListChargebacksResponseDataItemAttributesStatus;
9
11
  /** Card network that reported the case. */
10
12
  network: Natural.ListChargebacksResponseDataItemAttributesNetwork;
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ export interface ListChargebacksResponseDataItemAttributesFee {
3
+ /** Fee amount in cents. */
4
+ amount: number;
5
+ /** Currency of the fee. */
6
+ currency: Natural.ListChargebacksResponseDataItemAttributesFeeCurrency;
7
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,5 @@
1
+ /** Currency of the fee. */
2
+ export declare const ListChargebacksResponseDataItemAttributesFeeCurrency: {
3
+ readonly Usd: "USD";
4
+ };
5
+ export type ListChargebacksResponseDataItemAttributesFeeCurrency = (typeof ListChargebacksResponseDataItemAttributesFeeCurrency)[keyof typeof ListChargebacksResponseDataItemAttributesFeeCurrency];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Currency of the fee. */
3
+ export const ListChargebacksResponseDataItemAttributesFeeCurrency = {
4
+ Usd: "USD",
5
+ };
@@ -1,4 +1,4 @@
1
- /** Response and outcome state. Submitted means Natural accepted the response. Under review requires provider acknowledgment. Accepted and expired are not provider-reported losses. */
1
+ /** Response and outcome state. Submitted means Natural accepted the response. Under review requires provider acknowledgment. Accepted and expired are not provider-reported losses. While the case is needsResponse, submitted, or underReview, the disputed amount is withheld from your available balance. The hold can post shortly after the case is created. Won returns the amount. Lost, accepted, and expired do not. */
2
2
  export declare const ListChargebacksResponseDataItemAttributesStatus: {
3
3
  readonly NeedsResponse: "needsResponse";
4
4
  readonly Expired: "expired";
@@ -1,5 +1,5 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- /** Response and outcome state. Submitted means Natural accepted the response. Under review requires provider acknowledgment. Accepted and expired are not provider-reported losses. */
2
+ /** Response and outcome state. Submitted means Natural accepted the response. Under review requires provider acknowledgment. Accepted and expired are not provider-reported losses. While the case is needsResponse, submitted, or underReview, the disputed amount is withheld from your available balance. The hold can post shortly after the case is created. Won returns the amount. Lost, accepted, and expired do not. */
3
3
  export const ListChargebacksResponseDataItemAttributesStatus = {
4
4
  NeedsResponse: "needsResponse",
5
5
  Expired: "expired",
@@ -4,7 +4,9 @@ export interface SubmitChargebacksResponseDataAttributes {
4
4
  amount: number;
5
5
  /** Reported ISO 4217 currency of the disputed amount. */
6
6
  currency: string;
7
- /** Response and outcome state. Submitted means Natural accepted the response. Under review requires provider acknowledgment. Accepted and expired are not provider-reported losses. */
7
+ /** Natural's fee for this case, billed once when the case opens. It can be billed before the disputed amount is withheld and isn't refunded if you win. Null when no fee applies or the fee was voided. */
8
+ fee: Natural.SubmitChargebacksResponseDataAttributesFee | null;
9
+ /** Response and outcome state. Submitted means Natural accepted the response. Under review requires provider acknowledgment. Accepted and expired are not provider-reported losses. While the case is needsResponse, submitted, or underReview, the disputed amount is withheld from your available balance. The hold can post shortly after the case is created. Won returns the amount. Lost, accepted, and expired do not. */
8
10
  status: Natural.SubmitChargebacksResponseDataAttributesStatus;
9
11
  /** Card network that reported the case. */
10
12
  network: Natural.SubmitChargebacksResponseDataAttributesNetwork;
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ export interface SubmitChargebacksResponseDataAttributesFee {
3
+ /** Fee amount in cents. */
4
+ amount: number;
5
+ /** Currency of the fee. */
6
+ currency: Natural.SubmitChargebacksResponseDataAttributesFeeCurrency;
7
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,5 @@
1
+ /** Currency of the fee. */
2
+ export declare const SubmitChargebacksResponseDataAttributesFeeCurrency: {
3
+ readonly Usd: "USD";
4
+ };
5
+ export type SubmitChargebacksResponseDataAttributesFeeCurrency = (typeof SubmitChargebacksResponseDataAttributesFeeCurrency)[keyof typeof SubmitChargebacksResponseDataAttributesFeeCurrency];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Currency of the fee. */
3
+ export const SubmitChargebacksResponseDataAttributesFeeCurrency = {
4
+ Usd: "USD",
5
+ };
@@ -1,4 +1,4 @@
1
- /** Response and outcome state. Submitted means Natural accepted the response. Under review requires provider acknowledgment. Accepted and expired are not provider-reported losses. */
1
+ /** Response and outcome state. Submitted means Natural accepted the response. Under review requires provider acknowledgment. Accepted and expired are not provider-reported losses. While the case is needsResponse, submitted, or underReview, the disputed amount is withheld from your available balance. The hold can post shortly after the case is created. Won returns the amount. Lost, accepted, and expired do not. */
2
2
  export declare const SubmitChargebacksResponseDataAttributesStatus: {
3
3
  readonly NeedsResponse: "needsResponse";
4
4
  readonly Expired: "expired";
@@ -1,5 +1,5 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- /** Response and outcome state. Submitted means Natural accepted the response. Under review requires provider acknowledgment. Accepted and expired are not provider-reported losses. */
2
+ /** Response and outcome state. Submitted means Natural accepted the response. Under review requires provider acknowledgment. Accepted and expired are not provider-reported losses. While the case is needsResponse, submitted, or underReview, the disputed amount is withheld from your available balance. The hold can post shortly after the case is created. Won returns the amount. Lost, accepted, and expired do not. */
3
3
  export const SubmitChargebacksResponseDataAttributesStatus = {
4
4
  NeedsResponse: "needsResponse",
5
5
  Expired: "expired",
@@ -1,6 +1,8 @@
1
1
  export * from "./AcceptChargebacksResponse.mjs";
2
2
  export * from "./AcceptChargebacksResponseData.mjs";
3
3
  export * from "./AcceptChargebacksResponseDataAttributes.mjs";
4
+ export * from "./AcceptChargebacksResponseDataAttributesFee.mjs";
5
+ export * from "./AcceptChargebacksResponseDataAttributesFeeCurrency.mjs";
4
6
  export * from "./AcceptChargebacksResponseDataAttributesNetwork.mjs";
5
7
  export * from "./AcceptChargebacksResponseDataAttributesReason.mjs";
6
8
  export * from "./AcceptChargebacksResponseDataAttributesReasonCategory.mjs";
@@ -19,6 +21,8 @@ export * from "./AcceptChargebacksResponseDataType.mjs";
19
21
  export * from "./GetChargebacksResponse.mjs";
20
22
  export * from "./GetChargebacksResponseData.mjs";
21
23
  export * from "./GetChargebacksResponseDataAttributes.mjs";
24
+ export * from "./GetChargebacksResponseDataAttributesFee.mjs";
25
+ export * from "./GetChargebacksResponseDataAttributesFeeCurrency.mjs";
22
26
  export * from "./GetChargebacksResponseDataAttributesNetwork.mjs";
23
27
  export * from "./GetChargebacksResponseDataAttributesReason.mjs";
24
28
  export * from "./GetChargebacksResponseDataAttributesReasonCategory.mjs";
@@ -53,6 +57,8 @@ export * from "./ListChargebacksRequestStatus.mjs";
53
57
  export * from "./ListChargebacksResponse.mjs";
54
58
  export * from "./ListChargebacksResponseDataItem.mjs";
55
59
  export * from "./ListChargebacksResponseDataItemAttributes.mjs";
60
+ export * from "./ListChargebacksResponseDataItemAttributesFee.mjs";
61
+ export * from "./ListChargebacksResponseDataItemAttributesFeeCurrency.mjs";
56
62
  export * from "./ListChargebacksResponseDataItemAttributesNetwork.mjs";
57
63
  export * from "./ListChargebacksResponseDataItemAttributesReason.mjs";
58
64
  export * from "./ListChargebacksResponseDataItemAttributesReasonCategory.mjs";
@@ -73,6 +79,8 @@ export * from "./ListChargebacksResponseMetaPagination.mjs";
73
79
  export * from "./SubmitChargebacksResponse.mjs";
74
80
  export * from "./SubmitChargebacksResponseData.mjs";
75
81
  export * from "./SubmitChargebacksResponseDataAttributes.mjs";
82
+ export * from "./SubmitChargebacksResponseDataAttributesFee.mjs";
83
+ export * from "./SubmitChargebacksResponseDataAttributesFeeCurrency.mjs";
76
84
  export * from "./SubmitChargebacksResponseDataAttributesNetwork.mjs";
77
85
  export * from "./SubmitChargebacksResponseDataAttributesReason.mjs";
78
86
  export * from "./SubmitChargebacksResponseDataAttributesReasonCategory.mjs";
@@ -1,6 +1,8 @@
1
1
  export * from "./AcceptChargebacksResponse.mjs";
2
2
  export * from "./AcceptChargebacksResponseData.mjs";
3
3
  export * from "./AcceptChargebacksResponseDataAttributes.mjs";
4
+ export * from "./AcceptChargebacksResponseDataAttributesFee.mjs";
5
+ export * from "./AcceptChargebacksResponseDataAttributesFeeCurrency.mjs";
4
6
  export * from "./AcceptChargebacksResponseDataAttributesNetwork.mjs";
5
7
  export * from "./AcceptChargebacksResponseDataAttributesReason.mjs";
6
8
  export * from "./AcceptChargebacksResponseDataAttributesReasonCategory.mjs";
@@ -19,6 +21,8 @@ export * from "./AcceptChargebacksResponseDataType.mjs";
19
21
  export * from "./GetChargebacksResponse.mjs";
20
22
  export * from "./GetChargebacksResponseData.mjs";
21
23
  export * from "./GetChargebacksResponseDataAttributes.mjs";
24
+ export * from "./GetChargebacksResponseDataAttributesFee.mjs";
25
+ export * from "./GetChargebacksResponseDataAttributesFeeCurrency.mjs";
22
26
  export * from "./GetChargebacksResponseDataAttributesNetwork.mjs";
23
27
  export * from "./GetChargebacksResponseDataAttributesReason.mjs";
24
28
  export * from "./GetChargebacksResponseDataAttributesReasonCategory.mjs";
@@ -53,6 +57,8 @@ export * from "./ListChargebacksRequestStatus.mjs";
53
57
  export * from "./ListChargebacksResponse.mjs";
54
58
  export * from "./ListChargebacksResponseDataItem.mjs";
55
59
  export * from "./ListChargebacksResponseDataItemAttributes.mjs";
60
+ export * from "./ListChargebacksResponseDataItemAttributesFee.mjs";
61
+ export * from "./ListChargebacksResponseDataItemAttributesFeeCurrency.mjs";
56
62
  export * from "./ListChargebacksResponseDataItemAttributesNetwork.mjs";
57
63
  export * from "./ListChargebacksResponseDataItemAttributesReason.mjs";
58
64
  export * from "./ListChargebacksResponseDataItemAttributesReasonCategory.mjs";
@@ -73,6 +79,8 @@ export * from "./ListChargebacksResponseMetaPagination.mjs";
73
79
  export * from "./SubmitChargebacksResponse.mjs";
74
80
  export * from "./SubmitChargebacksResponseData.mjs";
75
81
  export * from "./SubmitChargebacksResponseDataAttributes.mjs";
82
+ export * from "./SubmitChargebacksResponseDataAttributesFee.mjs";
83
+ export * from "./SubmitChargebacksResponseDataAttributesFeeCurrency.mjs";
76
84
  export * from "./SubmitChargebacksResponseDataAttributesNetwork.mjs";
77
85
  export * from "./SubmitChargebacksResponseDataAttributesReason.mjs";
78
86
  export * from "./SubmitChargebacksResponseDataAttributesReasonCategory.mjs";
@@ -175,10 +175,11 @@ export class ExternalAccountsClient {
175
175
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
176
176
  const list = core.HttpResponsePromise.interceptFunction((request) => __awaiter(this, void 0, void 0, function* () {
177
177
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
178
- const { cursor, limit } = request;
178
+ const { cursor, limit, customerPartyId } = request;
179
179
  const _queryParams = {
180
180
  cursor,
181
181
  limit,
182
+ customerPartyId,
182
183
  };
183
184
  const _authRequest = yield this._options.authProvider.getAuthRequest();
184
185
  const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({
@@ -293,14 +294,21 @@ export class ExternalAccountsClient {
293
294
  __get(request, requestOptions) {
294
295
  return __awaiter(this, void 0, void 0, function* () {
295
296
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
296
- const { externalAccountId } = request;
297
+ const { externalAccountId, customerPartyId } = request;
298
+ const _queryParams = {
299
+ customerPartyId,
300
+ };
297
301
  const _authRequest = yield this._options.authProvider.getAuthRequest();
298
302
  const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "X-Instance-ID": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.instanceId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.instanceId }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
299
303
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
300
304
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.NaturalEnvironment.Production, `external-accounts/${core.url.encodePathParam(externalAccountId)}`),
301
305
  method: "GET",
302
306
  headers: _headers,
303
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
307
+ queryString: core.url
308
+ .queryBuilder()
309
+ .addMany(_queryParams)
310
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
311
+ .build(),
304
312
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
305
313
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
306
314
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -6,4 +6,5 @@
6
6
  */
7
7
  export interface GetExternalAccountsRequest {
8
8
  externalAccountId: string;
9
+ customerPartyId?: string;
9
10
  }
@@ -5,4 +5,5 @@
5
5
  export interface ListExternalAccountsRequest {
6
6
  cursor?: string;
7
7
  limit?: number;
8
+ customerPartyId?: string;
8
9
  }
@@ -64,7 +64,7 @@ export class PaymentRequestsClient {
64
64
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
65
65
  const list = core.HttpResponsePromise.interceptFunction((request) => __awaiter(this, void 0, void 0, function* () {
66
66
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
67
- const { limit, cursor, customerPartyId, includeCompleted, includeCanceled, initiatedByAgent, addressedToAgent, } = request;
67
+ const { limit, cursor, customerPartyId, includeCompleted, includeCanceled, group, initiatedByAgent, addressedToAgent, } = request;
68
68
  const _queryParams = {
69
69
  limit,
70
70
  cursor,
@@ -91,6 +91,12 @@ export class PaymentRequestsClient {
91
91
  return typeof mapped === "string" ? mapped : toJson(mapped);
92
92
  })()
93
93
  : undefined,
94
+ group: group != null
95
+ ? serializers.ListPaymentRequestsRequestGroup.jsonOrThrow(group, {
96
+ unrecognizedObjectKeys: "strip",
97
+ omitUndefined: true,
98
+ })
99
+ : undefined,
94
100
  initiatedByAgent,
95
101
  addressedToAgent,
96
102
  };
@@ -9,6 +9,7 @@ export interface ListPaymentRequestsRequest {
9
9
  customerPartyId?: string;
10
10
  includeCompleted?: Natural.ListPaymentRequestsRequestIncludeCompleted;
11
11
  includeCanceled?: Natural.ListPaymentRequestsRequestIncludeCanceled;
12
+ group?: Natural.ListPaymentRequestsRequestGroup;
12
13
  initiatedByAgent?: string;
13
14
  addressedToAgent?: string;
14
15
  }
@@ -21,7 +21,7 @@ export interface NewPayReqParams {
21
21
  idempotencyKey: string;
22
22
  /** Customer party to act for (pty_*). Omit to act as your own party. To act for another party, pass the ID of a party that has authorized you to act on its behalf. */
23
23
  customerPartyId?: string;
24
- /** Wallet (wal_*) that should receive the funds. Omit to use the requester party's default wallet. */
24
+ /** Wallet (wal_*) that should receive the funds. Omit to use the party default for user or party API calls, or the agent default for the current customer connection when acting through a connected agent. Owned agents use their own agent default. */
25
25
  walletId?: string;
26
26
  /** Amount in cents. */
27
27
  amount: number;
@@ -50,6 +50,8 @@ export interface CancelPaymentRequestsResponseDataAttributes {
50
50
  paymentLinkUrl: string;
51
51
  /** Transaction (txn_*) created by the most recent payment attempt, or null when none has been made. */
52
52
  transactionId: string | null;
53
+ /** RFC 3339 timestamp when this payment request expires, or null when it does not expire. */
54
+ expiresAt: string | null;
53
55
  /** RFC 3339 timestamp when the payment request was created. */
54
56
  createdAt: string;
55
57
  /** RFC 3339 timestamp when the payment request was last updated. */
@@ -50,6 +50,8 @@ export interface DeclinedReqAttrs {
50
50
  paymentLinkUrl: string;
51
51
  /** Transaction (txn_*) created by the most recent payment attempt, or null when none has been made. */
52
52
  transactionId: string | null;
53
+ /** RFC 3339 timestamp when this payment request expires, or null when it does not expire. */
54
+ expiresAt: string | null;
53
55
  /** RFC 3339 timestamp when the payment request was created. */
54
56
  createdAt: string;
55
57
  /** RFC 3339 timestamp when the payment request was last updated. */
@@ -1,4 +1,4 @@
1
1
  export interface FulfillPaymentRequestsRequestPaymentSourceWallet {
2
- /** Wallet (wal_*) to pay from. Defaults to your default wallet, or the wallet granted to the agent. */
2
+ /** Wallet (wal_*) to pay from. Omit to use the party default for user or party API calls, or the agent default for the current customer connection when acting through a connected agent. Owned agents use their own agent default. */
3
3
  walletId?: string;
4
4
  }
@@ -50,6 +50,8 @@ export interface IncomingReqAttrs {
50
50
  paymentLinkUrl: string;
51
51
  /** Transaction (txn_*) created by the most recent payment attempt, or null when none has been made. */
52
52
  transactionId: string | null;
53
+ /** RFC 3339 timestamp when this payment request expires, or null when it does not expire. */
54
+ expiresAt: string | null;
53
55
  /** RFC 3339 timestamp when the payment request was created. */
54
56
  createdAt: string;
55
57
  /** RFC 3339 timestamp when the payment request was last updated. */
@@ -0,0 +1,7 @@
1
+ /** Limit the list to one outgoing group. Open is still waiting on the payer. Completed is in flight or settled and not returned. Closed is failed, declined, canceled, expired, and returned. When set, this replaces includeCompleted and includeCanceled. */
2
+ export declare const ListPaymentRequestsRequestGroup: {
3
+ readonly Open: "open";
4
+ readonly Completed: "completed";
5
+ readonly Closed: "closed";
6
+ };
7
+ export type ListPaymentRequestsRequestGroup = (typeof ListPaymentRequestsRequestGroup)[keyof typeof ListPaymentRequestsRequestGroup];
@@ -0,0 +1,7 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Limit the list to one outgoing group. Open is still waiting on the payer. Completed is in flight or settled and not returned. Closed is failed, declined, canceled, expired, and returned. When set, this replaces includeCompleted and includeCanceled. */
3
+ export const ListPaymentRequestsRequestGroup = {
4
+ Open: "open",
5
+ Completed: "completed",
6
+ Closed: "closed",
7
+ };
@@ -50,6 +50,8 @@ export interface NewPayReqAttrs {
50
50
  paymentLinkUrl: string;
51
51
  /** Transaction (txn_*) created by the most recent payment attempt, or null when none has been made. */
52
52
  transactionId: string | null;
53
+ /** RFC 3339 timestamp when this payment request expires, or null when it does not expire. */
54
+ expiresAt: string | null;
53
55
  /** RFC 3339 timestamp when the payment request was created. */
54
56
  createdAt: string;
55
57
  /** RFC 3339 timestamp when the payment request was last updated. */
@@ -50,6 +50,8 @@ export interface PayReqAttrs {
50
50
  paymentLinkUrl: string;
51
51
  /** Transaction (txn_*) created by the most recent payment attempt, or null when none has been made. */
52
52
  transactionId: string | null;
53
+ /** RFC 3339 timestamp when this payment request expires, or null when it does not expire. */
54
+ expiresAt: string | null;
53
55
  /** RFC 3339 timestamp when the payment request was created. */
54
56
  createdAt: string;
55
57
  /** RFC 3339 timestamp when the payment request was last updated. */
@@ -50,6 +50,8 @@ export interface PayReqDetailAttrs {
50
50
  paymentLinkUrl: string;
51
51
  /** Transaction (txn_*) created by the most recent payment attempt, or null when none has been made. */
52
52
  transactionId: string | null;
53
+ /** RFC 3339 timestamp when this payment request expires, or null when it does not expire. */
54
+ expiresAt: string | null;
53
55
  /** RFC 3339 timestamp when the payment request was created. */
54
56
  createdAt: string;
55
57
  /** RFC 3339 timestamp when the payment request was last updated. */
@@ -149,6 +149,7 @@ export * from "./ListIncomingPaymentRequestsResponseDataItemRelationshipsPayerPa
149
149
  export * from "./ListIncomingPaymentRequestsResponseDataItemRelationshipsPayerPartyDataType.mjs";
150
150
  export * from "./ListIncomingPaymentRequestsResponseDataItemRelationshipsPaymentData.mjs";
151
151
  export * from "./ListIncomingPaymentRequestsResponseDataItemRelationshipsPaymentDataType.mjs";
152
+ export * from "./ListPaymentRequestsRequestGroup.mjs";
152
153
  export * from "./ListPaymentRequestsResponseDataItem.mjs";
153
154
  export * from "./ListPaymentRequestsResponseDataItemAttributesFee.mjs";
154
155
  export * from "./ListPaymentRequestsResponseDataItemAttributesFeeApplied.mjs";
@@ -149,6 +149,7 @@ export * from "./ListIncomingPaymentRequestsResponseDataItemRelationshipsPayerPa
149
149
  export * from "./ListIncomingPaymentRequestsResponseDataItemRelationshipsPayerPartyDataType.mjs";
150
150
  export * from "./ListIncomingPaymentRequestsResponseDataItemRelationshipsPaymentData.mjs";
151
151
  export * from "./ListIncomingPaymentRequestsResponseDataItemRelationshipsPaymentDataType.mjs";
152
+ export * from "./ListPaymentRequestsRequestGroup.mjs";
152
153
  export * from "./ListPaymentRequestsResponseDataItem.mjs";
153
154
  export * from "./ListPaymentRequestsResponseDataItemAttributesFee.mjs";
154
155
  export * from "./ListPaymentRequestsResponseDataItemAttributesFeeApplied.mjs";
@@ -30,7 +30,7 @@ export interface NewPaymentParams {
30
30
  description?: string;
31
31
  /** Key-value metadata stored on the resource. At most 30 keys; keys 1-128 characters, alphanumeric and underscores; values 1-256 characters. Visible to anyone who can read the resource; do not include sensitive data. */
32
32
  tags?: Record<string, string>;
33
- /** Source wallet ID (wal_*). Omit to pay from the sender party's default wallet. */
33
+ /** Source wallet ID (wal_*). Omit to use the party default for user or party API calls, or the agent default for the current customer connection when acting through a connected agent. Owned agents use their own agent default. */
34
34
  walletId?: string;
35
35
  /** Deprecated. Previously skipped our notification to the counterparty; Natural now always sends its own notifications and this field is accepted but ignored. The returned link is unaffected. */
36
36
  disableNotifications?: Natural.CreatePaymentsRequestDisableNotificationsItem[];
@@ -19,7 +19,7 @@ export interface CreateRealtimeRequest {
19
19
  amount: number;
20
20
  /** Currency code. Defaults to USD. */
21
21
  currency?: Natural.CreateRealtimeRequestCurrency;
22
- /** Wallet (wal_*) to pay from. Defaults to the party's default wallet. */
22
+ /** Wallet (wal_*) to pay from. Omit to use the party default for user or party API calls, or the agent default for the current customer connection when acting through a connected agent. Owned agents use their own agent default. */
23
23
  walletId?: string;
24
24
  /** External party account (epa_*) to pay. */
25
25
  externalPartyAccountId: string;
@@ -50,6 +50,8 @@ export interface DeclinePaymentRequestSimulationsResponseDataAttributes {
50
50
  paymentLinkUrl: string;
51
51
  /** Transaction (txn_*) created by the most recent payment attempt, or null when none has been made. */
52
52
  transactionId: string | null;
53
+ /** RFC 3339 timestamp when this payment request expires, or null when it does not expire. */
54
+ expiresAt: string | null;
53
55
  /** RFC 3339 timestamp when the payment request was created. */
54
56
  createdAt: string;
55
57
  /** RFC 3339 timestamp when the payment request was last updated. */
@@ -1,6 +1,6 @@
1
1
  import type * as Natural from "../../../index.mjs";
2
2
  /**
3
- * Related card payment, when accessible.
3
+ * Related card payment, when accessible. On a chargeback row, the disputed payment.
4
4
  */
5
5
  export interface GetTransactionsResponseDataRelationshipsCardPayment {
6
6
  /** Related resource identifier. */
@@ -0,0 +1,8 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ /**
3
+ * The chargeback case a chargeback row debits for.
4
+ */
5
+ export interface GetTransactionsResponseDataRelationshipsChargeback {
6
+ /** Related resource identifier. */
7
+ data: Natural.GetTransactionsResponseDataRelationshipsChargebackData;
8
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,9 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ /**
3
+ * Related resource identifier.
4
+ */
5
+ export interface GetTransactionsResponseDataRelationshipsChargebackData {
6
+ /** Resource type. Always `chargeback`. */
7
+ type: Natural.GetTransactionsResponseDataRelationshipsChargebackDataType;
8
+ id: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,5 @@
1
+ /** Resource type. Always `chargeback`. */
2
+ export declare const GetTransactionsResponseDataRelationshipsChargebackDataType: {
3
+ readonly Chargeback: "chargeback";
4
+ };
5
+ export type GetTransactionsResponseDataRelationshipsChargebackDataType = (typeof GetTransactionsResponseDataRelationshipsChargebackDataType)[keyof typeof GetTransactionsResponseDataRelationshipsChargebackDataType];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Resource type. Always `chargeback`. */
3
+ export const GetTransactionsResponseDataRelationshipsChargebackDataType = {
4
+ Chargeback: "chargeback",
5
+ };
@@ -1,8 +1,9 @@
1
- /** Filter by transaction type. */
1
+ /** Filter by transaction type. Chargeback rows need `chargebacks.read`. Without it, `all` leaves them out and `chargeback` returns an empty page. */
2
2
  export declare const ListTransactionsRequestType: {
3
3
  readonly Payment: "payment";
4
4
  readonly Transfer: "transfer";
5
5
  readonly Refund: "refund";
6
+ readonly Chargeback: "chargeback";
6
7
  readonly All: "all";
7
8
  };
8
9
  export type ListTransactionsRequestType = (typeof ListTransactionsRequestType)[keyof typeof ListTransactionsRequestType];
@@ -1,8 +1,9 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- /** Filter by transaction type. */
2
+ /** Filter by transaction type. Chargeback rows need `chargebacks.read`. Without it, `all` leaves them out and `chargeback` returns an empty page. */
3
3
  export const ListTransactionsRequestType = {
4
4
  Payment: "payment",
5
5
  Transfer: "transfer",
6
6
  Refund: "refund",
7
+ Chargeback: "chargeback",
7
8
  All: "all",
8
9
  };
@@ -1,6 +1,6 @@
1
1
  import type * as Natural from "../../../index.mjs";
2
2
  /**
3
- * Related card payment, when accessible.
3
+ * Related card payment, when accessible. On a chargeback row, the disputed payment.
4
4
  */
5
5
  export interface ListTransactionsResponseDataItemRelationshipsCardPayment {
6
6
  /** Related resource identifier. */
@@ -0,0 +1,8 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ /**
3
+ * The chargeback case a chargeback row debits for.
4
+ */
5
+ export interface ListTransactionsResponseDataItemRelationshipsChargeback {
6
+ /** Related resource identifier. */
7
+ data: Natural.ListTransactionsResponseDataItemRelationshipsChargebackData;
8
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,9 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ /**
3
+ * Related resource identifier.
4
+ */
5
+ export interface ListTransactionsResponseDataItemRelationshipsChargebackData {
6
+ /** Resource type. Always `chargeback`. */
7
+ type: Natural.ListTransactionsResponseDataItemRelationshipsChargebackDataType;
8
+ id: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,5 @@
1
+ /** Resource type. Always `chargeback`. */
2
+ export declare const ListTransactionsResponseDataItemRelationshipsChargebackDataType: {
3
+ readonly Chargeback: "chargeback";
4
+ };
5
+ export type ListTransactionsResponseDataItemRelationshipsChargebackDataType = (typeof ListTransactionsResponseDataItemRelationshipsChargebackDataType)[keyof typeof ListTransactionsResponseDataItemRelationshipsChargebackDataType];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Resource type. Always `chargeback`. */
3
+ export const ListTransactionsResponseDataItemRelationshipsChargebackDataType = {
4
+ Chargeback: "chargeback",
5
+ };
@@ -4,11 +4,11 @@ export interface TxnAttrs {
4
4
  amount: number;
5
5
  /** Currency code. */
6
6
  currency: string;
7
- /** Transaction status. */
7
+ /** Transaction status. A chargeback row is `COMPLETED` once the disputed amount is debited from your wallet, and `RETURNED` if that amount is released back to you, as when you win the case. */
8
8
  status: string;
9
9
  /** RFC 3339 timestamp when this transaction was created. */
10
10
  createdAt: string;
11
- /** Transaction type. */
11
+ /** Transaction type. A `chargeback` row is the disputed amount of a card payment chargeback, debited from your wallet. */
12
12
  transactionType: Natural.TxnTransactionType;
13
13
  /** Direction relative to your party. */
14
14
  direction: Natural.TxnDirection;
@@ -4,11 +4,11 @@ export interface TxnDetailAttrs {
4
4
  amount: number;
5
5
  /** Currency code. */
6
6
  currency: string;
7
- /** Transaction status. */
7
+ /** Transaction status. A chargeback row is `COMPLETED` once the disputed amount is debited from your wallet, and `RETURNED` if that amount is released back to you, as when you win the case. */
8
8
  status: string;
9
9
  /** RFC 3339 timestamp when this transaction was created. */
10
10
  createdAt: string;
11
- /** Transaction type. */
11
+ /** Transaction type. A `chargeback` row is the disputed amount of a card payment chargeback, debited from your wallet. */
12
12
  transactionType: Natural.TxnDetailTransactionType;
13
13
  /** Direction relative to your party. */
14
14
  direction: Natural.TxnDetailDirection;
@@ -6,10 +6,12 @@ export interface TxnDetailRels {
6
6
  destinationParty: Natural.TxnDetailDestRel;
7
7
  /** Related payment, when accessible. */
8
8
  payment?: Natural.TxnDetailPaymentRel;
9
- /** Related card payment, when accessible. */
9
+ /** Related card payment, when accessible. On a chargeback row, the disputed payment. */
10
10
  cardPayment?: Natural.GetTransactionsResponseDataRelationshipsCardPayment;
11
11
  /** Related refund, when accessible. */
12
12
  refund?: Natural.GetTransactionsResponseDataRelationshipsRefund;
13
+ /** The chargeback case a chargeback row debits for. */
14
+ chargeback?: Natural.GetTransactionsResponseDataRelationshipsChargeback;
13
15
  /** Related transfer, when accessible. */
14
16
  transfer?: Natural.TxnDetailTransferRel;
15
17
  /** Wallet through which this transaction is visible. */