@naturalpay/sdk 1.6.22 → 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 (312) 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/paymentRequests/client/requests/NewPayReqParams.d.ts +1 -1
  34. package/dist/cjs/api/resources/paymentRequests/types/FulfillPaymentRequestsRequestPaymentSourceWallet.d.ts +1 -1
  35. package/dist/cjs/api/resources/payments/client/requests/NewPaymentParams.d.ts +1 -1
  36. package/dist/cjs/api/resources/realtime/client/requests/CreateRealtimeRequest.d.ts +1 -1
  37. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPayment.d.ts +1 -1
  38. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.d.ts +8 -0
  39. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.js +3 -0
  40. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.d.ts +9 -0
  41. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.js +3 -0
  42. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.d.ts +5 -0
  43. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.js +8 -0
  44. package/dist/cjs/api/resources/transactions/types/ListTransactionsRequestType.d.ts +2 -1
  45. package/dist/cjs/api/resources/transactions/types/ListTransactionsRequestType.js +2 -1
  46. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPayment.d.ts +1 -1
  47. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.d.ts +8 -0
  48. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.js +3 -0
  49. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.d.ts +9 -0
  50. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.js +3 -0
  51. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.d.ts +5 -0
  52. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.js +8 -0
  53. package/dist/cjs/api/resources/transactions/types/TxnAttrs.d.ts +2 -2
  54. package/dist/cjs/api/resources/transactions/types/TxnDetailAttrs.d.ts +2 -2
  55. package/dist/cjs/api/resources/transactions/types/TxnDetailRels.d.ts +3 -1
  56. package/dist/cjs/api/resources/transactions/types/TxnDetailTransactionType.d.ts +2 -1
  57. package/dist/cjs/api/resources/transactions/types/TxnDetailTransactionType.js +2 -1
  58. package/dist/cjs/api/resources/transactions/types/TxnRels.d.ts +3 -1
  59. package/dist/cjs/api/resources/transactions/types/TxnTransactionType.d.ts +2 -1
  60. package/dist/cjs/api/resources/transactions/types/TxnTransactionType.js +2 -1
  61. package/dist/cjs/api/resources/transactions/types/index.d.ts +6 -0
  62. package/dist/cjs/api/resources/transactions/types/index.js +6 -0
  63. package/dist/cjs/api/resources/transfers/client/requests/NewDepositParams.d.ts +1 -1
  64. package/dist/cjs/api/resources/transfers/client/requests/NewWithdrawalParams.d.ts +1 -1
  65. package/dist/cjs/api/resources/wallets/client/Client.d.ts +4 -4
  66. package/dist/cjs/api/resources/wallets/client/Client.js +4 -4
  67. package/dist/cjs/api/resources/wallets/client/requests/AttachAgentWalletsRequest.d.ts +1 -1
  68. package/dist/cjs/api/resources/wallets/types/AttachAgentWalletsResponseDataAttributes.d.ts +6 -6
  69. package/dist/cjs/api/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccess.d.ts +3 -0
  70. package/dist/cjs/api/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.d.ts +6 -0
  71. package/dist/cjs/api/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.js +9 -0
  72. package/dist/cjs/api/resources/wallets/types/CreateWalletsResponseDataAttributes.d.ts +1 -1
  73. package/dist/cjs/api/resources/wallets/types/FreezeWalletsResponseDataAttributes.d.ts +1 -1
  74. package/dist/cjs/api/resources/wallets/types/ListAgentsWalletsResponseDataItemAttributes.d.ts +6 -6
  75. package/dist/cjs/api/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccess.d.ts +3 -0
  76. package/dist/cjs/api/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.d.ts +6 -0
  77. package/dist/cjs/api/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.js +9 -0
  78. package/dist/cjs/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataAttributes.d.ts +6 -6
  79. package/dist/cjs/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.d.ts +3 -0
  80. package/dist/cjs/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.d.ts +6 -0
  81. package/dist/cjs/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.js +9 -0
  82. package/dist/cjs/api/resources/wallets/types/SetDefaultWalletsResponseDataAttributes.d.ts +1 -1
  83. package/dist/cjs/api/resources/wallets/types/UnfreezeWalletsResponseDataAttributes.d.ts +1 -1
  84. package/dist/cjs/api/resources/wallets/types/UpdateWalletsResponseDataAttributes.d.ts +1 -1
  85. package/dist/cjs/api/resources/wallets/types/WalletAttrs.d.ts +1 -1
  86. package/dist/cjs/api/resources/wallets/types/WalletDetailAttrs.d.ts +1 -1
  87. package/dist/cjs/api/resources/wallets/types/index.d.ts +3 -0
  88. package/dist/cjs/api/resources/wallets/types/index.js +3 -0
  89. package/dist/cjs/api/resources/wire/client/requests/CreateWireRequest.d.ts +1 -1
  90. package/dist/cjs/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributes.d.ts +2 -0
  91. package/dist/cjs/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributes.js +2 -0
  92. package/dist/cjs/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.d.ts +11 -0
  93. package/dist/cjs/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.js +43 -0
  94. package/dist/cjs/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFeeCurrency.d.ts +7 -0
  95. package/dist/cjs/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFeeCurrency.js +39 -0
  96. package/dist/cjs/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributes.d.ts +2 -0
  97. package/dist/cjs/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributes.js +2 -0
  98. package/dist/cjs/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFee.d.ts +11 -0
  99. package/dist/cjs/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFee.js +43 -0
  100. package/dist/cjs/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFeeCurrency.d.ts +7 -0
  101. package/dist/cjs/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFeeCurrency.js +39 -0
  102. package/dist/cjs/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributes.d.ts +2 -0
  103. package/dist/cjs/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributes.js +2 -0
  104. package/dist/cjs/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFee.d.ts +11 -0
  105. package/dist/cjs/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFee.js +43 -0
  106. package/dist/cjs/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFeeCurrency.d.ts +7 -0
  107. package/dist/cjs/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFeeCurrency.js +39 -0
  108. package/dist/cjs/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributes.d.ts +2 -0
  109. package/dist/cjs/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributes.js +2 -0
  110. package/dist/cjs/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFee.d.ts +11 -0
  111. package/dist/cjs/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFee.js +43 -0
  112. package/dist/cjs/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFeeCurrency.d.ts +7 -0
  113. package/dist/cjs/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFeeCurrency.js +39 -0
  114. package/dist/cjs/serialization/resources/chargebacks/types/index.d.ts +8 -0
  115. package/dist/cjs/serialization/resources/chargebacks/types/index.js +8 -0
  116. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.d.ts +10 -0
  117. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.js +42 -0
  118. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.d.ts +11 -0
  119. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.js +43 -0
  120. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.d.ts +7 -0
  121. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.js +39 -0
  122. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsRequestType.d.ts +1 -1
  123. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsRequestType.js +1 -1
  124. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.d.ts +10 -0
  125. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.js +42 -0
  126. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.d.ts +11 -0
  127. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.js +43 -0
  128. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.d.ts +7 -0
  129. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.js +39 -0
  130. package/dist/cjs/serialization/resources/transactions/types/TxnDetailRels.d.ts +2 -0
  131. package/dist/cjs/serialization/resources/transactions/types/TxnDetailRels.js +2 -0
  132. package/dist/cjs/serialization/resources/transactions/types/TxnDetailTransactionType.d.ts +1 -1
  133. package/dist/cjs/serialization/resources/transactions/types/TxnDetailTransactionType.js +1 -1
  134. package/dist/cjs/serialization/resources/transactions/types/TxnRels.d.ts +2 -0
  135. package/dist/cjs/serialization/resources/transactions/types/TxnRels.js +2 -0
  136. package/dist/cjs/serialization/resources/transactions/types/TxnTransactionType.d.ts +1 -1
  137. package/dist/cjs/serialization/resources/transactions/types/TxnTransactionType.js +1 -1
  138. package/dist/cjs/serialization/resources/transactions/types/index.d.ts +6 -0
  139. package/dist/cjs/serialization/resources/transactions/types/index.js +6 -0
  140. package/dist/cjs/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccess.d.ts +2 -0
  141. package/dist/cjs/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccess.js +2 -0
  142. package/dist/cjs/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.d.ts +7 -0
  143. package/dist/cjs/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.js +39 -0
  144. package/dist/cjs/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccess.d.ts +2 -0
  145. package/dist/cjs/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccess.js +2 -0
  146. package/dist/cjs/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.d.ts +7 -0
  147. package/dist/cjs/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.js +39 -0
  148. package/dist/cjs/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.d.ts +2 -0
  149. package/dist/cjs/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.js +2 -0
  150. package/dist/cjs/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.d.ts +7 -0
  151. package/dist/cjs/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.js +39 -0
  152. package/dist/cjs/serialization/resources/wallets/types/index.d.ts +3 -0
  153. package/dist/cjs/serialization/resources/wallets/types/index.js +3 -0
  154. package/dist/cjs/version.d.ts +1 -1
  155. package/dist/cjs/version.js +1 -1
  156. package/dist/esm/BaseClient.mjs +2 -2
  157. package/dist/esm/api/resources/ach/client/requests/NewAchParams.d.mts +1 -1
  158. package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributes.d.mts +3 -1
  159. package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.d.mts +7 -0
  160. package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.mjs +2 -0
  161. package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFeeCurrency.d.mts +5 -0
  162. package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFeeCurrency.mjs +5 -0
  163. package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesStatus.d.mts +1 -1
  164. package/dist/esm/api/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesStatus.mjs +1 -1
  165. package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributes.d.mts +3 -1
  166. package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesFee.d.mts +7 -0
  167. package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesFee.mjs +2 -0
  168. package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesFeeCurrency.d.mts +5 -0
  169. package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesFeeCurrency.mjs +5 -0
  170. package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesStatus.d.mts +1 -1
  171. package/dist/esm/api/resources/chargebacks/types/GetChargebacksResponseDataAttributesStatus.mjs +1 -1
  172. package/dist/esm/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributes.d.mts +3 -1
  173. package/dist/esm/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFee.d.mts +7 -0
  174. package/dist/esm/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFee.mjs +2 -0
  175. package/dist/esm/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFeeCurrency.d.mts +5 -0
  176. package/dist/esm/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFeeCurrency.mjs +5 -0
  177. package/dist/esm/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesStatus.d.mts +1 -1
  178. package/dist/esm/api/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesStatus.mjs +1 -1
  179. package/dist/esm/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributes.d.mts +3 -1
  180. package/dist/esm/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFee.d.mts +7 -0
  181. package/dist/esm/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFee.mjs +2 -0
  182. package/dist/esm/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFeeCurrency.d.mts +5 -0
  183. package/dist/esm/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFeeCurrency.mjs +5 -0
  184. package/dist/esm/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesStatus.d.mts +1 -1
  185. package/dist/esm/api/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesStatus.mjs +1 -1
  186. package/dist/esm/api/resources/chargebacks/types/index.d.mts +8 -0
  187. package/dist/esm/api/resources/chargebacks/types/index.mjs +8 -0
  188. package/dist/esm/api/resources/paymentRequests/client/requests/NewPayReqParams.d.mts +1 -1
  189. package/dist/esm/api/resources/paymentRequests/types/FulfillPaymentRequestsRequestPaymentSourceWallet.d.mts +1 -1
  190. package/dist/esm/api/resources/payments/client/requests/NewPaymentParams.d.mts +1 -1
  191. package/dist/esm/api/resources/realtime/client/requests/CreateRealtimeRequest.d.mts +1 -1
  192. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPayment.d.mts +1 -1
  193. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.d.mts +8 -0
  194. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.mjs +2 -0
  195. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.d.mts +9 -0
  196. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.mjs +2 -0
  197. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.d.mts +5 -0
  198. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.mjs +5 -0
  199. package/dist/esm/api/resources/transactions/types/ListTransactionsRequestType.d.mts +2 -1
  200. package/dist/esm/api/resources/transactions/types/ListTransactionsRequestType.mjs +2 -1
  201. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPayment.d.mts +1 -1
  202. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.d.mts +8 -0
  203. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.mjs +2 -0
  204. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.d.mts +9 -0
  205. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.mjs +2 -0
  206. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.d.mts +5 -0
  207. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.mjs +5 -0
  208. package/dist/esm/api/resources/transactions/types/TxnAttrs.d.mts +2 -2
  209. package/dist/esm/api/resources/transactions/types/TxnDetailAttrs.d.mts +2 -2
  210. package/dist/esm/api/resources/transactions/types/TxnDetailRels.d.mts +3 -1
  211. package/dist/esm/api/resources/transactions/types/TxnDetailTransactionType.d.mts +2 -1
  212. package/dist/esm/api/resources/transactions/types/TxnDetailTransactionType.mjs +2 -1
  213. package/dist/esm/api/resources/transactions/types/TxnRels.d.mts +3 -1
  214. package/dist/esm/api/resources/transactions/types/TxnTransactionType.d.mts +2 -1
  215. package/dist/esm/api/resources/transactions/types/TxnTransactionType.mjs +2 -1
  216. package/dist/esm/api/resources/transactions/types/index.d.mts +6 -0
  217. package/dist/esm/api/resources/transactions/types/index.mjs +6 -0
  218. package/dist/esm/api/resources/transfers/client/requests/NewDepositParams.d.mts +1 -1
  219. package/dist/esm/api/resources/transfers/client/requests/NewWithdrawalParams.d.mts +1 -1
  220. package/dist/esm/api/resources/wallets/client/Client.d.mts +4 -4
  221. package/dist/esm/api/resources/wallets/client/Client.mjs +4 -4
  222. package/dist/esm/api/resources/wallets/client/requests/AttachAgentWalletsRequest.d.mts +1 -1
  223. package/dist/esm/api/resources/wallets/types/AttachAgentWalletsResponseDataAttributes.d.mts +6 -6
  224. package/dist/esm/api/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccess.d.mts +3 -0
  225. package/dist/esm/api/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.d.mts +6 -0
  226. package/dist/esm/api/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.mjs +6 -0
  227. package/dist/esm/api/resources/wallets/types/CreateWalletsResponseDataAttributes.d.mts +1 -1
  228. package/dist/esm/api/resources/wallets/types/FreezeWalletsResponseDataAttributes.d.mts +1 -1
  229. package/dist/esm/api/resources/wallets/types/ListAgentsWalletsResponseDataItemAttributes.d.mts +6 -6
  230. package/dist/esm/api/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccess.d.mts +3 -0
  231. package/dist/esm/api/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.d.mts +6 -0
  232. package/dist/esm/api/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.mjs +6 -0
  233. package/dist/esm/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataAttributes.d.mts +6 -6
  234. package/dist/esm/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.d.mts +3 -0
  235. package/dist/esm/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.d.mts +6 -0
  236. package/dist/esm/api/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.mjs +6 -0
  237. package/dist/esm/api/resources/wallets/types/SetDefaultWalletsResponseDataAttributes.d.mts +1 -1
  238. package/dist/esm/api/resources/wallets/types/UnfreezeWalletsResponseDataAttributes.d.mts +1 -1
  239. package/dist/esm/api/resources/wallets/types/UpdateWalletsResponseDataAttributes.d.mts +1 -1
  240. package/dist/esm/api/resources/wallets/types/WalletAttrs.d.mts +1 -1
  241. package/dist/esm/api/resources/wallets/types/WalletDetailAttrs.d.mts +1 -1
  242. package/dist/esm/api/resources/wallets/types/index.d.mts +3 -0
  243. package/dist/esm/api/resources/wallets/types/index.mjs +3 -0
  244. package/dist/esm/api/resources/wire/client/requests/CreateWireRequest.d.mts +1 -1
  245. package/dist/esm/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributes.d.mts +2 -0
  246. package/dist/esm/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributes.mjs +2 -0
  247. package/dist/esm/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.d.mts +11 -0
  248. package/dist/esm/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFee.mjs +7 -0
  249. package/dist/esm/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFeeCurrency.d.mts +7 -0
  250. package/dist/esm/serialization/resources/chargebacks/types/AcceptChargebacksResponseDataAttributesFeeCurrency.mjs +3 -0
  251. package/dist/esm/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributes.d.mts +2 -0
  252. package/dist/esm/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributes.mjs +2 -0
  253. package/dist/esm/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFee.d.mts +11 -0
  254. package/dist/esm/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFee.mjs +7 -0
  255. package/dist/esm/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFeeCurrency.d.mts +7 -0
  256. package/dist/esm/serialization/resources/chargebacks/types/GetChargebacksResponseDataAttributesFeeCurrency.mjs +3 -0
  257. package/dist/esm/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributes.d.mts +2 -0
  258. package/dist/esm/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributes.mjs +2 -0
  259. package/dist/esm/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFee.d.mts +11 -0
  260. package/dist/esm/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFee.mjs +7 -0
  261. package/dist/esm/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFeeCurrency.d.mts +7 -0
  262. package/dist/esm/serialization/resources/chargebacks/types/ListChargebacksResponseDataItemAttributesFeeCurrency.mjs +3 -0
  263. package/dist/esm/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributes.d.mts +2 -0
  264. package/dist/esm/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributes.mjs +2 -0
  265. package/dist/esm/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFee.d.mts +11 -0
  266. package/dist/esm/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFee.mjs +7 -0
  267. package/dist/esm/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFeeCurrency.d.mts +7 -0
  268. package/dist/esm/serialization/resources/chargebacks/types/SubmitChargebacksResponseDataAttributesFeeCurrency.mjs +3 -0
  269. package/dist/esm/serialization/resources/chargebacks/types/index.d.mts +8 -0
  270. package/dist/esm/serialization/resources/chargebacks/types/index.mjs +8 -0
  271. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.d.mts +10 -0
  272. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargeback.mjs +6 -0
  273. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.d.mts +11 -0
  274. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackData.mjs +7 -0
  275. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.d.mts +7 -0
  276. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsChargebackDataType.mjs +3 -0
  277. package/dist/esm/serialization/resources/transactions/types/ListTransactionsRequestType.d.mts +1 -1
  278. package/dist/esm/serialization/resources/transactions/types/ListTransactionsRequestType.mjs +1 -1
  279. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.d.mts +10 -0
  280. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargeback.mjs +6 -0
  281. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.d.mts +11 -0
  282. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackData.mjs +7 -0
  283. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.d.mts +7 -0
  284. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsChargebackDataType.mjs +3 -0
  285. package/dist/esm/serialization/resources/transactions/types/TxnDetailRels.d.mts +2 -0
  286. package/dist/esm/serialization/resources/transactions/types/TxnDetailRels.mjs +2 -0
  287. package/dist/esm/serialization/resources/transactions/types/TxnDetailTransactionType.d.mts +1 -1
  288. package/dist/esm/serialization/resources/transactions/types/TxnDetailTransactionType.mjs +1 -1
  289. package/dist/esm/serialization/resources/transactions/types/TxnRels.d.mts +2 -0
  290. package/dist/esm/serialization/resources/transactions/types/TxnRels.mjs +2 -0
  291. package/dist/esm/serialization/resources/transactions/types/TxnTransactionType.d.mts +1 -1
  292. package/dist/esm/serialization/resources/transactions/types/TxnTransactionType.mjs +1 -1
  293. package/dist/esm/serialization/resources/transactions/types/index.d.mts +6 -0
  294. package/dist/esm/serialization/resources/transactions/types/index.mjs +6 -0
  295. package/dist/esm/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccess.d.mts +2 -0
  296. package/dist/esm/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccess.mjs +2 -0
  297. package/dist/esm/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.d.mts +7 -0
  298. package/dist/esm/serialization/resources/wallets/types/AttachAgentWalletsResponseDataMetaWalletAccessAccessType.mjs +3 -0
  299. package/dist/esm/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccess.d.mts +2 -0
  300. package/dist/esm/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccess.mjs +2 -0
  301. package/dist/esm/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.d.mts +7 -0
  302. package/dist/esm/serialization/resources/wallets/types/ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.mjs +3 -0
  303. package/dist/esm/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.d.mts +2 -0
  304. package/dist/esm/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.mjs +2 -0
  305. package/dist/esm/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.d.mts +7 -0
  306. package/dist/esm/serialization/resources/wallets/types/SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.mjs +3 -0
  307. package/dist/esm/serialization/resources/wallets/types/index.d.mts +3 -0
  308. package/dist/esm/serialization/resources/wallets/types/index.mjs +3 -0
  309. package/dist/esm/version.d.mts +1 -1
  310. package/dist/esm/version.mjs +1 -1
  311. package/package.json +1 -1
  312. package/reference.md +4 -4
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType = core.serialization.enum_(["owned", "connected"]);
@@ -5,6 +5,7 @@ export * from "./AttachAgentWalletsResponseDataAttributesLimits.js";
5
5
  export * from "./AttachAgentWalletsResponseDataAttributesStatus.js";
6
6
  export * from "./AttachAgentWalletsResponseDataMeta.js";
7
7
  export * from "./AttachAgentWalletsResponseDataMetaWalletAccess.js";
8
+ export * from "./AttachAgentWalletsResponseDataMetaWalletAccessAccessType.js";
8
9
  export * from "./AttachAgentWalletsResponseDataRelationships.js";
9
10
  export * from "./AttachAgentWalletsResponseDataRelationshipsParty.js";
10
11
  export * from "./AttachAgentWalletsResponseDataRelationshipsPartyData.js";
@@ -53,6 +54,7 @@ export * from "./ListAgentsWalletsResponseDataItemAttributesLimits.js";
53
54
  export * from "./ListAgentsWalletsResponseDataItemAttributesStatus.js";
54
55
  export * from "./ListAgentsWalletsResponseDataItemMeta.js";
55
56
  export * from "./ListAgentsWalletsResponseDataItemMetaWalletAccess.js";
57
+ export * from "./ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.js";
56
58
  export * from "./ListAgentsWalletsResponseDataItemRelationships.js";
57
59
  export * from "./ListAgentsWalletsResponseDataItemRelationshipsParty.js";
58
60
  export * from "./ListAgentsWalletsResponseDataItemRelationshipsPartyData.js";
@@ -72,6 +74,7 @@ export * from "./SetAgentDefaultWalletWalletsResponseDataAttributesLimits.js";
72
74
  export * from "./SetAgentDefaultWalletWalletsResponseDataAttributesStatus.js";
73
75
  export * from "./SetAgentDefaultWalletWalletsResponseDataMeta.js";
74
76
  export * from "./SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.js";
77
+ export * from "./SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.js";
75
78
  export * from "./SetAgentDefaultWalletWalletsResponseDataRelationships.js";
76
79
  export * from "./SetAgentDefaultWalletWalletsResponseDataRelationshipsParty.js";
77
80
  export * from "./SetAgentDefaultWalletWalletsResponseDataRelationshipsPartyData.js";
@@ -21,6 +21,7 @@ __exportStar(require("./AttachAgentWalletsResponseDataAttributesLimits.js"), exp
21
21
  __exportStar(require("./AttachAgentWalletsResponseDataAttributesStatus.js"), exports);
22
22
  __exportStar(require("./AttachAgentWalletsResponseDataMeta.js"), exports);
23
23
  __exportStar(require("./AttachAgentWalletsResponseDataMetaWalletAccess.js"), exports);
24
+ __exportStar(require("./AttachAgentWalletsResponseDataMetaWalletAccessAccessType.js"), exports);
24
25
  __exportStar(require("./AttachAgentWalletsResponseDataRelationships.js"), exports);
25
26
  __exportStar(require("./AttachAgentWalletsResponseDataRelationshipsParty.js"), exports);
26
27
  __exportStar(require("./AttachAgentWalletsResponseDataRelationshipsPartyData.js"), exports);
@@ -69,6 +70,7 @@ __exportStar(require("./ListAgentsWalletsResponseDataItemAttributesLimits.js"),
69
70
  __exportStar(require("./ListAgentsWalletsResponseDataItemAttributesStatus.js"), exports);
70
71
  __exportStar(require("./ListAgentsWalletsResponseDataItemMeta.js"), exports);
71
72
  __exportStar(require("./ListAgentsWalletsResponseDataItemMetaWalletAccess.js"), exports);
73
+ __exportStar(require("./ListAgentsWalletsResponseDataItemMetaWalletAccessAccessType.js"), exports);
72
74
  __exportStar(require("./ListAgentsWalletsResponseDataItemRelationships.js"), exports);
73
75
  __exportStar(require("./ListAgentsWalletsResponseDataItemRelationshipsParty.js"), exports);
74
76
  __exportStar(require("./ListAgentsWalletsResponseDataItemRelationshipsPartyData.js"), exports);
@@ -88,6 +90,7 @@ __exportStar(require("./SetAgentDefaultWalletWalletsResponseDataAttributesLimits
88
90
  __exportStar(require("./SetAgentDefaultWalletWalletsResponseDataAttributesStatus.js"), exports);
89
91
  __exportStar(require("./SetAgentDefaultWalletWalletsResponseDataMeta.js"), exports);
90
92
  __exportStar(require("./SetAgentDefaultWalletWalletsResponseDataMetaWalletAccess.js"), exports);
93
+ __exportStar(require("./SetAgentDefaultWalletWalletsResponseDataMetaWalletAccessAccessType.js"), exports);
91
94
  __exportStar(require("./SetAgentDefaultWalletWalletsResponseDataRelationships.js"), exports);
92
95
  __exportStar(require("./SetAgentDefaultWalletWalletsResponseDataRelationshipsParty.js"), exports);
93
96
  __exportStar(require("./SetAgentDefaultWalletWalletsResponseDataRelationshipsPartyData.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.6.22";
1
+ export declare const SDK_VERSION = "1.6.23";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.6.22";
4
+ exports.SDK_VERSION = "1.6.23";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "@naturalpay/sdk",
9
- "X-Fern-SDK-Version": "1.6.22",
10
- "User-Agent": "@naturalpay/sdk/1.6.22",
9
+ "X-Fern-SDK-Version": "1.6.23",
10
+ "User-Agent": "@naturalpay/sdk/1.6.23",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  "X-Instance-ID": options === null || options === void 0 ? void 0 : options.instanceId,
@@ -23,7 +23,7 @@ export interface NewAchParams {
23
23
  amount: number;
24
24
  /** Currency code. Defaults to USD. */
25
25
  currency?: Natural.NewAchParamsCurrency;
26
- /** Wallet (wal_*) to fund the payment. Defaults to the party's default wallet. */
26
+ /** Wallet (wal_*) that funds an ACH credit or receives an ACH debit. 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. */
27
27
  walletId?: string;
28
28
  /** External party account (epa_*) to pay. */
29
29
  externalPartyAccountId: string;
@@ -4,7 +4,9 @@ export interface AcceptChargebacksResponseDataAttributes {
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.AcceptChargebacksResponseDataAttributesFee | 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.AcceptChargebacksResponseDataAttributesStatus;
9
11
  /** Card network that reported the case. */
10
12
  network: Natural.AcceptChargebacksResponseDataAttributesNetwork;
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ export interface AcceptChargebacksResponseDataAttributesFee {
3
+ /** Fee amount in cents. */
4
+ amount: number;
5
+ /** Currency of the fee. */
6
+ currency: Natural.AcceptChargebacksResponseDataAttributesFeeCurrency;
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 AcceptChargebacksResponseDataAttributesFeeCurrency: {
3
+ readonly Usd: "USD";
4
+ };
5
+ export type AcceptChargebacksResponseDataAttributesFeeCurrency = (typeof AcceptChargebacksResponseDataAttributesFeeCurrency)[keyof typeof AcceptChargebacksResponseDataAttributesFeeCurrency];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Currency of the fee. */
3
+ export const AcceptChargebacksResponseDataAttributesFeeCurrency = {
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 AcceptChargebacksResponseDataAttributesStatus: {
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 AcceptChargebacksResponseDataAttributesStatus = {
4
4
  NeedsResponse: "needsResponse",
5
5
  Expired: "expired",
@@ -4,7 +4,9 @@ export interface GetChargebacksResponseDataAttributes {
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.GetChargebacksResponseDataAttributesFee | 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.GetChargebacksResponseDataAttributesStatus;
9
11
  /** Card network that reported the case. */
10
12
  network: Natural.GetChargebacksResponseDataAttributesNetwork;
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ export interface GetChargebacksResponseDataAttributesFee {
3
+ /** Fee amount in cents. */
4
+ amount: number;
5
+ /** Currency of the fee. */
6
+ currency: Natural.GetChargebacksResponseDataAttributesFeeCurrency;
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 GetChargebacksResponseDataAttributesFeeCurrency: {
3
+ readonly Usd: "USD";
4
+ };
5
+ export type GetChargebacksResponseDataAttributesFeeCurrency = (typeof GetChargebacksResponseDataAttributesFeeCurrency)[keyof typeof GetChargebacksResponseDataAttributesFeeCurrency];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Currency of the fee. */
3
+ export const GetChargebacksResponseDataAttributesFeeCurrency = {
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 GetChargebacksResponseDataAttributesStatus: {
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 GetChargebacksResponseDataAttributesStatus = {
4
4
  NeedsResponse: "needsResponse",
5
5
  Expired: "expired",
@@ -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";
@@ -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;
@@ -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
  }
@@ -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;
@@ -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
+ };