@naturalpay/sdk 1.6.13 → 1.6.15

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 (428) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +7 -0
  3. package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +7 -0
  4. package/dist/cjs/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.ts +2 -0
  5. package/dist/cjs/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.ts +2 -0
  6. package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.ts +7 -0
  7. package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +7 -0
  8. package/dist/cjs/api/resources/customers/client/Client.d.ts +1 -0
  9. package/dist/cjs/api/resources/customers/client/Client.js +1 -0
  10. package/dist/cjs/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.ts +3 -0
  11. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.ts +7 -0
  12. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.js +7 -0
  13. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.ts +2 -0
  14. package/dist/cjs/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.ts +2 -0
  15. package/dist/cjs/api/resources/events/types/GetEventsResponseDataAttributesEventType.d.ts +16 -0
  16. package/dist/cjs/api/resources/events/types/GetEventsResponseDataAttributesEventType.js +16 -0
  17. package/dist/cjs/api/resources/events/types/ListEventsRequestEventType.d.ts +16 -0
  18. package/dist/cjs/api/resources/events/types/ListEventsRequestEventType.js +16 -0
  19. package/dist/cjs/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.ts +16 -0
  20. package/dist/cjs/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.js +16 -0
  21. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +7 -0
  22. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +7 -0
  23. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +7 -0
  24. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +7 -0
  25. package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +7 -0
  26. package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +7 -0
  27. package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +7 -0
  28. package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +7 -0
  29. package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +7 -0
  30. package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +7 -0
  31. package/dist/cjs/api/resources/parties/client/Client.d.ts +88 -0
  32. package/dist/cjs/api/resources/parties/client/Client.js +315 -0
  33. package/dist/cjs/api/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.d.ts +16 -0
  34. package/dist/cjs/api/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.js +3 -0
  35. package/dist/cjs/api/resources/parties/client/requests/GetBrandingForPartyPartiesRequest.d.ts +9 -0
  36. package/dist/cjs/api/resources/parties/client/requests/GetBrandingForPartyPartiesRequest.js +3 -0
  37. package/dist/cjs/api/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.d.ts +16 -0
  38. package/dist/cjs/api/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.js +3 -0
  39. package/dist/cjs/api/resources/parties/client/requests/index.d.ts +3 -0
  40. package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.d.ts +7 -0
  41. package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.js +10 -0
  42. package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.d.ts +4 -0
  43. package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.js +3 -0
  44. package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.d.ts +6 -0
  45. package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.js +3 -0
  46. package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.d.ts +8 -0
  47. package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.js +3 -0
  48. package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.d.ts +4 -0
  49. package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.js +7 -0
  50. package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponse.d.ts +4 -0
  51. package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponse.js +3 -0
  52. package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponseData.d.ts +6 -0
  53. package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponseData.js +3 -0
  54. package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.d.ts +5 -0
  55. package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.js +3 -0
  56. package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.d.ts +4 -0
  57. package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.js +7 -0
  58. package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponse.d.ts +4 -0
  59. package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponse.js +3 -0
  60. package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.d.ts +6 -0
  61. package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.js +3 -0
  62. package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.d.ts +5 -0
  63. package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.js +3 -0
  64. package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.d.ts +4 -0
  65. package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.js +7 -0
  66. package/dist/cjs/api/resources/parties/types/index.d.ts +13 -0
  67. package/dist/cjs/api/resources/parties/types/index.js +13 -0
  68. package/dist/cjs/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.ts +2 -0
  69. package/dist/cjs/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.ts +2 -0
  70. package/dist/cjs/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.ts +2 -0
  71. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.ts +7 -0
  72. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.js +7 -0
  73. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.ts +2 -0
  74. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.d.ts +8 -0
  75. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.js +3 -0
  76. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.d.ts +9 -0
  77. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.js +3 -0
  78. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.d.ts +5 -0
  79. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.js +8 -0
  80. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.d.ts +8 -0
  81. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.js +3 -0
  82. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.d.ts +9 -0
  83. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.js +3 -0
  84. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.d.ts +5 -0
  85. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.js +8 -0
  86. package/dist/cjs/api/resources/transactions/types/TxnDetailRels.d.ts +2 -0
  87. package/dist/cjs/api/resources/transactions/types/TxnRels.d.ts +2 -0
  88. package/dist/cjs/api/resources/transactions/types/index.d.ts +6 -0
  89. package/dist/cjs/api/resources/transactions/types/index.js +6 -0
  90. package/dist/cjs/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.ts +18 -0
  91. package/dist/cjs/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.js +18 -0
  92. package/dist/cjs/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +18 -0
  93. package/dist/cjs/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
  94. package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.ts +18 -0
  95. package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
  96. package/dist/cjs/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.ts +18 -0
  97. package/dist/cjs/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
  98. package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.ts +18 -0
  99. package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.js +18 -0
  100. package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +18 -0
  101. package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
  102. package/dist/cjs/api/resources/webhooks/types/WebhookEnabledEventsItem.d.ts +18 -0
  103. package/dist/cjs/api/resources/webhooks/types/WebhookEnabledEventsItem.js +18 -0
  104. package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +1 -1
  105. package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +7 -0
  106. package/dist/cjs/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.ts +1 -0
  107. package/dist/cjs/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.js +1 -0
  108. package/dist/cjs/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.ts +1 -0
  109. package/dist/cjs/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.js +1 -0
  110. package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.ts +1 -1
  111. package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +7 -0
  112. package/dist/cjs/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.ts +1 -0
  113. package/dist/cjs/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.js +1 -0
  114. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.ts +1 -1
  115. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.js +7 -0
  116. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.ts +1 -0
  117. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.js +1 -0
  118. package/dist/cjs/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.ts +1 -0
  119. package/dist/cjs/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.js +1 -0
  120. package/dist/cjs/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.d.ts +1 -1
  121. package/dist/cjs/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.js +16 -0
  122. package/dist/cjs/serialization/resources/events/types/ListEventsRequestEventType.d.ts +1 -1
  123. package/dist/cjs/serialization/resources/events/types/ListEventsRequestEventType.js +16 -0
  124. package/dist/cjs/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.ts +1 -1
  125. package/dist/cjs/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.js +16 -0
  126. package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +1 -1
  127. package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +7 -0
  128. package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
  129. package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +7 -0
  130. package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
  131. package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +7 -0
  132. package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
  133. package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +7 -0
  134. package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
  135. package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +7 -0
  136. package/dist/cjs/serialization/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.d.ts +11 -0
  137. package/dist/cjs/serialization/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.js +43 -0
  138. package/dist/cjs/serialization/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.d.ts +10 -0
  139. package/dist/cjs/serialization/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.js +42 -0
  140. package/dist/cjs/serialization/resources/parties/client/requests/index.d.ts +2 -0
  141. package/dist/cjs/serialization/resources/parties/client/requests/index.js +5 -1
  142. package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.d.ts +7 -0
  143. package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.js +39 -0
  144. package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.d.ts +10 -0
  145. package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.js +42 -0
  146. package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.d.ts +13 -0
  147. package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.js +45 -0
  148. package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.d.ts +11 -0
  149. package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.js +43 -0
  150. package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.d.ts +7 -0
  151. package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.js +39 -0
  152. package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponse.d.ts +10 -0
  153. package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponse.js +42 -0
  154. package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseData.d.ts +13 -0
  155. package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseData.js +45 -0
  156. package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.d.ts +10 -0
  157. package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.js +42 -0
  158. package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.d.ts +7 -0
  159. package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.js +39 -0
  160. package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponse.d.ts +10 -0
  161. package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponse.js +42 -0
  162. package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.d.ts +13 -0
  163. package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.js +45 -0
  164. package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.d.ts +10 -0
  165. package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.js +42 -0
  166. package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.d.ts +7 -0
  167. package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.js +39 -0
  168. package/dist/cjs/serialization/resources/parties/types/index.d.ts +13 -0
  169. package/dist/cjs/serialization/resources/parties/types/index.js +13 -0
  170. package/dist/cjs/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.ts +1 -0
  171. package/dist/cjs/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.js +1 -0
  172. package/dist/cjs/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.ts +1 -0
  173. package/dist/cjs/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.js +1 -0
  174. package/dist/cjs/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.ts +1 -0
  175. package/dist/cjs/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.js +1 -0
  176. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.ts +1 -1
  177. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.js +7 -0
  178. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.ts +1 -0
  179. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.js +1 -0
  180. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.d.ts +10 -0
  181. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.js +42 -0
  182. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.d.ts +11 -0
  183. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.js +43 -0
  184. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.d.ts +7 -0
  185. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.js +39 -0
  186. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.d.ts +10 -0
  187. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.js +42 -0
  188. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.d.ts +11 -0
  189. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.js +43 -0
  190. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.d.ts +7 -0
  191. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.js +39 -0
  192. package/dist/cjs/serialization/resources/transactions/types/TxnDetailRels.d.ts +2 -0
  193. package/dist/cjs/serialization/resources/transactions/types/TxnDetailRels.js +2 -0
  194. package/dist/cjs/serialization/resources/transactions/types/TxnRels.d.ts +2 -0
  195. package/dist/cjs/serialization/resources/transactions/types/TxnRels.js +2 -0
  196. package/dist/cjs/serialization/resources/transactions/types/index.d.ts +6 -0
  197. package/dist/cjs/serialization/resources/transactions/types/index.js +6 -0
  198. package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.ts +1 -1
  199. package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.js +18 -0
  200. package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
  201. package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
  202. package/dist/cjs/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
  203. package/dist/cjs/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
  204. package/dist/cjs/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
  205. package/dist/cjs/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
  206. package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.ts +1 -1
  207. package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.js +18 -0
  208. package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
  209. package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
  210. package/dist/cjs/serialization/resources/webhooks/types/WebhookEnabledEventsItem.d.ts +1 -1
  211. package/dist/cjs/serialization/resources/webhooks/types/WebhookEnabledEventsItem.js +18 -0
  212. package/dist/cjs/version.d.ts +1 -1
  213. package/dist/cjs/version.js +1 -1
  214. package/dist/esm/BaseClient.mjs +2 -2
  215. package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +7 -0
  216. package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +7 -0
  217. package/dist/esm/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.mts +2 -0
  218. package/dist/esm/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.mts +2 -0
  219. package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.mts +7 -0
  220. package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +7 -0
  221. package/dist/esm/api/resources/customers/client/Client.d.mts +1 -0
  222. package/dist/esm/api/resources/customers/client/Client.mjs +1 -0
  223. package/dist/esm/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.mts +3 -0
  224. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.mts +7 -0
  225. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.mjs +7 -0
  226. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.mts +2 -0
  227. package/dist/esm/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.mts +2 -0
  228. package/dist/esm/api/resources/events/types/GetEventsResponseDataAttributesEventType.d.mts +16 -0
  229. package/dist/esm/api/resources/events/types/GetEventsResponseDataAttributesEventType.mjs +16 -0
  230. package/dist/esm/api/resources/events/types/ListEventsRequestEventType.d.mts +16 -0
  231. package/dist/esm/api/resources/events/types/ListEventsRequestEventType.mjs +16 -0
  232. package/dist/esm/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.mts +16 -0
  233. package/dist/esm/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.mjs +16 -0
  234. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +7 -0
  235. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +7 -0
  236. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +7 -0
  237. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +7 -0
  238. package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +7 -0
  239. package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +7 -0
  240. package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +7 -0
  241. package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +7 -0
  242. package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +7 -0
  243. package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +7 -0
  244. package/dist/esm/api/resources/parties/client/Client.d.mts +88 -0
  245. package/dist/esm/api/resources/parties/client/Client.mjs +315 -0
  246. package/dist/esm/api/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.d.mts +16 -0
  247. package/dist/esm/api/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.mjs +2 -0
  248. package/dist/esm/api/resources/parties/client/requests/GetBrandingForPartyPartiesRequest.d.mts +9 -0
  249. package/dist/esm/api/resources/parties/client/requests/GetBrandingForPartyPartiesRequest.mjs +2 -0
  250. package/dist/esm/api/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.d.mts +16 -0
  251. package/dist/esm/api/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.mjs +2 -0
  252. package/dist/esm/api/resources/parties/client/requests/index.d.mts +3 -0
  253. package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.d.mts +7 -0
  254. package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.mjs +7 -0
  255. package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.d.mts +4 -0
  256. package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.mjs +2 -0
  257. package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.d.mts +6 -0
  258. package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.mjs +2 -0
  259. package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.d.mts +8 -0
  260. package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.mjs +2 -0
  261. package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.d.mts +4 -0
  262. package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.mjs +4 -0
  263. package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponse.d.mts +4 -0
  264. package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponse.mjs +2 -0
  265. package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponseData.d.mts +6 -0
  266. package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponseData.mjs +2 -0
  267. package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.d.mts +5 -0
  268. package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.mjs +2 -0
  269. package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.d.mts +4 -0
  270. package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.mjs +4 -0
  271. package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponse.d.mts +4 -0
  272. package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponse.mjs +2 -0
  273. package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.d.mts +6 -0
  274. package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.mjs +2 -0
  275. package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.d.mts +5 -0
  276. package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.mjs +2 -0
  277. package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.d.mts +4 -0
  278. package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.mjs +4 -0
  279. package/dist/esm/api/resources/parties/types/index.d.mts +13 -0
  280. package/dist/esm/api/resources/parties/types/index.mjs +13 -0
  281. package/dist/esm/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.mts +2 -0
  282. package/dist/esm/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.mts +2 -0
  283. package/dist/esm/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.mts +2 -0
  284. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.mts +7 -0
  285. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.mjs +7 -0
  286. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.mts +2 -0
  287. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.d.mts +8 -0
  288. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.mjs +2 -0
  289. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.d.mts +9 -0
  290. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.mjs +2 -0
  291. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.d.mts +5 -0
  292. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.mjs +5 -0
  293. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.d.mts +8 -0
  294. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.mjs +2 -0
  295. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.d.mts +9 -0
  296. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.mjs +2 -0
  297. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.d.mts +5 -0
  298. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.mjs +5 -0
  299. package/dist/esm/api/resources/transactions/types/TxnDetailRels.d.mts +2 -0
  300. package/dist/esm/api/resources/transactions/types/TxnRels.d.mts +2 -0
  301. package/dist/esm/api/resources/transactions/types/index.d.mts +6 -0
  302. package/dist/esm/api/resources/transactions/types/index.mjs +6 -0
  303. package/dist/esm/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.mts +18 -0
  304. package/dist/esm/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.mjs +18 -0
  305. package/dist/esm/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +18 -0
  306. package/dist/esm/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
  307. package/dist/esm/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.mts +18 -0
  308. package/dist/esm/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
  309. package/dist/esm/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.mts +18 -0
  310. package/dist/esm/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
  311. package/dist/esm/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.mts +18 -0
  312. package/dist/esm/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.mjs +18 -0
  313. package/dist/esm/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +18 -0
  314. package/dist/esm/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
  315. package/dist/esm/api/resources/webhooks/types/WebhookEnabledEventsItem.d.mts +18 -0
  316. package/dist/esm/api/resources/webhooks/types/WebhookEnabledEventsItem.mjs +18 -0
  317. package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +1 -1
  318. package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +7 -0
  319. package/dist/esm/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.mts +1 -0
  320. package/dist/esm/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.mjs +1 -0
  321. package/dist/esm/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.mts +1 -0
  322. package/dist/esm/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.mjs +1 -0
  323. package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.mts +1 -1
  324. package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +7 -0
  325. package/dist/esm/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.mts +1 -0
  326. package/dist/esm/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.mjs +1 -0
  327. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.mts +1 -1
  328. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.mjs +7 -0
  329. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.mts +1 -0
  330. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.mjs +1 -0
  331. package/dist/esm/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.mts +1 -0
  332. package/dist/esm/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.mjs +1 -0
  333. package/dist/esm/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.d.mts +1 -1
  334. package/dist/esm/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.mjs +16 -0
  335. package/dist/esm/serialization/resources/events/types/ListEventsRequestEventType.d.mts +1 -1
  336. package/dist/esm/serialization/resources/events/types/ListEventsRequestEventType.mjs +16 -0
  337. package/dist/esm/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.mts +1 -1
  338. package/dist/esm/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.mjs +16 -0
  339. package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +1 -1
  340. package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +7 -0
  341. package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
  342. package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +7 -0
  343. package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
  344. package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +7 -0
  345. package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
  346. package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +7 -0
  347. package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
  348. package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +7 -0
  349. package/dist/esm/serialization/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.d.mts +11 -0
  350. package/dist/esm/serialization/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.mjs +7 -0
  351. package/dist/esm/serialization/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.d.mts +10 -0
  352. package/dist/esm/serialization/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.mjs +6 -0
  353. package/dist/esm/serialization/resources/parties/client/requests/index.d.mts +2 -0
  354. package/dist/esm/serialization/resources/parties/client/requests/index.mjs +2 -0
  355. package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.d.mts +7 -0
  356. package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.mjs +3 -0
  357. package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.d.mts +10 -0
  358. package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.mjs +6 -0
  359. package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.d.mts +13 -0
  360. package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.mjs +9 -0
  361. package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.d.mts +11 -0
  362. package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.mjs +7 -0
  363. package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.d.mts +7 -0
  364. package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.mjs +3 -0
  365. package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponse.d.mts +10 -0
  366. package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponse.mjs +6 -0
  367. package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseData.d.mts +13 -0
  368. package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseData.mjs +9 -0
  369. package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.d.mts +10 -0
  370. package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.mjs +6 -0
  371. package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.d.mts +7 -0
  372. package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.mjs +3 -0
  373. package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponse.d.mts +10 -0
  374. package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponse.mjs +6 -0
  375. package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.d.mts +13 -0
  376. package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.mjs +9 -0
  377. package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.d.mts +10 -0
  378. package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.mjs +6 -0
  379. package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.d.mts +7 -0
  380. package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.mjs +3 -0
  381. package/dist/esm/serialization/resources/parties/types/index.d.mts +13 -0
  382. package/dist/esm/serialization/resources/parties/types/index.mjs +13 -0
  383. package/dist/esm/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.mts +1 -0
  384. package/dist/esm/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.mjs +1 -0
  385. package/dist/esm/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.mts +1 -0
  386. package/dist/esm/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.mjs +1 -0
  387. package/dist/esm/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.mts +1 -0
  388. package/dist/esm/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.mjs +1 -0
  389. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.mts +1 -1
  390. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.mjs +7 -0
  391. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.mts +1 -0
  392. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.mjs +1 -0
  393. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.d.mts +10 -0
  394. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.mjs +6 -0
  395. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.d.mts +11 -0
  396. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.mjs +7 -0
  397. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.d.mts +7 -0
  398. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.mjs +3 -0
  399. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.d.mts +10 -0
  400. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.mjs +6 -0
  401. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.d.mts +11 -0
  402. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.mjs +7 -0
  403. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.d.mts +7 -0
  404. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.mjs +3 -0
  405. package/dist/esm/serialization/resources/transactions/types/TxnDetailRels.d.mts +2 -0
  406. package/dist/esm/serialization/resources/transactions/types/TxnDetailRels.mjs +2 -0
  407. package/dist/esm/serialization/resources/transactions/types/TxnRels.d.mts +2 -0
  408. package/dist/esm/serialization/resources/transactions/types/TxnRels.mjs +2 -0
  409. package/dist/esm/serialization/resources/transactions/types/index.d.mts +6 -0
  410. package/dist/esm/serialization/resources/transactions/types/index.mjs +6 -0
  411. package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.mts +1 -1
  412. package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.mjs +18 -0
  413. package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
  414. package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
  415. package/dist/esm/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
  416. package/dist/esm/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
  417. package/dist/esm/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
  418. package/dist/esm/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
  419. package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.mts +1 -1
  420. package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.mjs +18 -0
  421. package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
  422. package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
  423. package/dist/esm/serialization/resources/webhooks/types/WebhookEnabledEventsItem.d.mts +1 -1
  424. package/dist/esm/serialization/resources/webhooks/types/WebhookEnabledEventsItem.mjs +18 -0
  425. package/dist/esm/version.d.mts +1 -1
  426. package/dist/esm/version.mjs +1 -1
  427. package/package.json +1 -1
  428. package/reference.md +200 -0
@@ -1,6 +1,9 @@
1
+ export type { CreateBrandingPhotoUploadPartiesRequest } from "./CreateBrandingPhotoUploadPartiesRequest.mjs";
2
+ export type { GetBrandingForPartyPartiesRequest } from "./GetBrandingForPartyPartiesRequest.mjs";
1
3
  export type { GetCompliancePartiesRequest } from "./GetCompliancePartiesRequest.mjs";
2
4
  export type { ListMembersPartiesRequest } from "./ListMembersPartiesRequest.mjs";
3
5
  export type { RemoveMemberPartiesRequest } from "./RemoveMemberPartiesRequest.mjs";
4
6
  export type { SetHandlePartiesRequest } from "./SetHandlePartiesRequest.mjs";
5
7
  export type { SetLimitsPartiesRequest } from "./SetLimitsPartiesRequest.mjs";
8
+ export type { UpdateBrandingForPartyPartiesRequest } from "./UpdateBrandingForPartyPartiesRequest.mjs";
6
9
  export type { UpdMyPartyParams } from "./UpdMyPartyParams.mjs";
@@ -0,0 +1,7 @@
1
+ /** Avatar image MIME type */
2
+ export declare const CreateBrandingPhotoUploadPartiesRequestContentType: {
3
+ readonly ImageJpeg: "image/jpeg";
4
+ readonly ImagePng: "image/png";
5
+ readonly ImageWebp: "image/webp";
6
+ };
7
+ export type CreateBrandingPhotoUploadPartiesRequestContentType = (typeof CreateBrandingPhotoUploadPartiesRequestContentType)[keyof typeof CreateBrandingPhotoUploadPartiesRequestContentType];
@@ -0,0 +1,7 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Avatar image MIME type */
3
+ export const CreateBrandingPhotoUploadPartiesRequestContentType = {
4
+ ImageJpeg: "image/jpeg",
5
+ ImagePng: "image/png",
6
+ ImageWebp: "image/webp",
7
+ };
@@ -0,0 +1,4 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ export interface CreateBrandingPhotoUploadPartiesResponse {
3
+ data: Natural.CreateBrandingPhotoUploadPartiesResponseData;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,6 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ export interface CreateBrandingPhotoUploadPartiesResponseData {
3
+ type: Natural.CreateBrandingPhotoUploadPartiesResponseDataType;
4
+ id: string;
5
+ attributes: Natural.CreateBrandingPhotoUploadPartiesResponseDataAttributes;
6
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,8 @@
1
+ export interface CreateBrandingPhotoUploadPartiesResponseDataAttributes {
2
+ /** Presigned S3 POST URL for the avatar upload */
3
+ uploadUrl: string;
4
+ /** Form fields for the presigned S3 POST */
5
+ uploadFields: Record<string, string>;
6
+ /** Opaque avatar object key to pass to completeAvatarUpload */
7
+ objectKey: string;
8
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare const CreateBrandingPhotoUploadPartiesResponseDataType: {
2
+ readonly PartyAvatarUpload: "partyAvatarUpload";
3
+ };
4
+ export type CreateBrandingPhotoUploadPartiesResponseDataType = (typeof CreateBrandingPhotoUploadPartiesResponseDataType)[keyof typeof CreateBrandingPhotoUploadPartiesResponseDataType];
@@ -0,0 +1,4 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export const CreateBrandingPhotoUploadPartiesResponseDataType = {
3
+ PartyAvatarUpload: "partyAvatarUpload",
4
+ };
@@ -0,0 +1,4 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ export interface GetBrandingForPartyPartiesResponse {
3
+ data: Natural.GetBrandingForPartyPartiesResponseData;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,6 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ export interface GetBrandingForPartyPartiesResponseData {
3
+ type: Natural.GetBrandingForPartyPartiesResponseDataType;
4
+ id: string;
5
+ attributes: Natural.GetBrandingForPartyPartiesResponseDataAttributes;
6
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,5 @@
1
+ export interface GetBrandingForPartyPartiesResponseDataAttributes {
2
+ brandColor: string | null;
3
+ /** Public business profile photo URL, or null when absent */
4
+ avatarUrl?: string | null;
5
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare const GetBrandingForPartyPartiesResponseDataType: {
2
+ readonly PartyBranding: "partyBranding";
3
+ };
4
+ export type GetBrandingForPartyPartiesResponseDataType = (typeof GetBrandingForPartyPartiesResponseDataType)[keyof typeof GetBrandingForPartyPartiesResponseDataType];
@@ -0,0 +1,4 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export const GetBrandingForPartyPartiesResponseDataType = {
3
+ PartyBranding: "partyBranding",
4
+ };
@@ -0,0 +1,4 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ export interface UpdateBrandingForPartyPartiesResponse {
3
+ data: Natural.UpdateBrandingForPartyPartiesResponseData;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,6 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ export interface UpdateBrandingForPartyPartiesResponseData {
3
+ type: Natural.UpdateBrandingForPartyPartiesResponseDataType;
4
+ id: string;
5
+ attributes: Natural.UpdateBrandingForPartyPartiesResponseDataAttributes;
6
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,5 @@
1
+ export interface UpdateBrandingForPartyPartiesResponseDataAttributes {
2
+ brandColor: string | null;
3
+ /** Public business profile photo URL, or null when absent */
4
+ avatarUrl?: string | null;
5
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare const UpdateBrandingForPartyPartiesResponseDataType: {
2
+ readonly PartyBranding: "partyBranding";
3
+ };
4
+ export type UpdateBrandingForPartyPartiesResponseDataType = (typeof UpdateBrandingForPartyPartiesResponseDataType)[keyof typeof UpdateBrandingForPartyPartiesResponseDataType];
@@ -0,0 +1,4 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export const UpdateBrandingForPartyPartiesResponseDataType = {
3
+ PartyBranding: "partyBranding",
4
+ };
@@ -1,8 +1,17 @@
1
+ export * from "./CreateBrandingPhotoUploadPartiesRequestContentType.mjs";
2
+ export * from "./CreateBrandingPhotoUploadPartiesResponse.mjs";
3
+ export * from "./CreateBrandingPhotoUploadPartiesResponseData.mjs";
4
+ export * from "./CreateBrandingPhotoUploadPartiesResponseDataAttributes.mjs";
5
+ export * from "./CreateBrandingPhotoUploadPartiesResponseDataType.mjs";
1
6
  export * from "./DisableLimitsPartiesResponse.mjs";
2
7
  export * from "./DisableLimitsPartiesResponseData.mjs";
3
8
  export * from "./DisableLimitsPartiesResponseDataAttributes.mjs";
4
9
  export * from "./DisableLimitsPartiesResponseDataAttributesLimits.mjs";
5
10
  export * from "./DisableLimitsPartiesResponseDataType.mjs";
11
+ export * from "./GetBrandingForPartyPartiesResponse.mjs";
12
+ export * from "./GetBrandingForPartyPartiesResponseData.mjs";
13
+ export * from "./GetBrandingForPartyPartiesResponseDataAttributes.mjs";
14
+ export * from "./GetBrandingForPartyPartiesResponseDataType.mjs";
6
15
  export * from "./GetCompliancePartiesResponse.mjs";
7
16
  export * from "./GetCompliancePartiesResponseData.mjs";
8
17
  export * from "./GetCompliancePartiesResponseDataAttributes.mjs";
@@ -45,6 +54,10 @@ export * from "./SetLimitsPartiesResponseData.mjs";
45
54
  export * from "./SetLimitsPartiesResponseDataAttributes.mjs";
46
55
  export * from "./SetLimitsPartiesResponseDataAttributesLimits.mjs";
47
56
  export * from "./SetLimitsPartiesResponseDataType.mjs";
57
+ export * from "./UpdateBrandingForPartyPartiesResponse.mjs";
58
+ export * from "./UpdateBrandingForPartyPartiesResponseData.mjs";
59
+ export * from "./UpdateBrandingForPartyPartiesResponseDataAttributes.mjs";
60
+ export * from "./UpdateBrandingForPartyPartiesResponseDataType.mjs";
48
61
  export * from "./UpdatePartiesResponseDataAttributesPersona.mjs";
49
62
  export * from "./UpdMyParty.mjs";
50
63
  export * from "./UpdMyPartyAttrs.mjs";
@@ -1,8 +1,17 @@
1
+ export * from "./CreateBrandingPhotoUploadPartiesRequestContentType.mjs";
2
+ export * from "./CreateBrandingPhotoUploadPartiesResponse.mjs";
3
+ export * from "./CreateBrandingPhotoUploadPartiesResponseData.mjs";
4
+ export * from "./CreateBrandingPhotoUploadPartiesResponseDataAttributes.mjs";
5
+ export * from "./CreateBrandingPhotoUploadPartiesResponseDataType.mjs";
1
6
  export * from "./DisableLimitsPartiesResponse.mjs";
2
7
  export * from "./DisableLimitsPartiesResponseData.mjs";
3
8
  export * from "./DisableLimitsPartiesResponseDataAttributes.mjs";
4
9
  export * from "./DisableLimitsPartiesResponseDataAttributesLimits.mjs";
5
10
  export * from "./DisableLimitsPartiesResponseDataType.mjs";
11
+ export * from "./GetBrandingForPartyPartiesResponse.mjs";
12
+ export * from "./GetBrandingForPartyPartiesResponseData.mjs";
13
+ export * from "./GetBrandingForPartyPartiesResponseDataAttributes.mjs";
14
+ export * from "./GetBrandingForPartyPartiesResponseDataType.mjs";
6
15
  export * from "./GetCompliancePartiesResponse.mjs";
7
16
  export * from "./GetCompliancePartiesResponseData.mjs";
8
17
  export * from "./GetCompliancePartiesResponseDataAttributes.mjs";
@@ -45,6 +54,10 @@ export * from "./SetLimitsPartiesResponseData.mjs";
45
54
  export * from "./SetLimitsPartiesResponseDataAttributes.mjs";
46
55
  export * from "./SetLimitsPartiesResponseDataAttributesLimits.mjs";
47
56
  export * from "./SetLimitsPartiesResponseDataType.mjs";
57
+ export * from "./UpdateBrandingForPartyPartiesResponse.mjs";
58
+ export * from "./UpdateBrandingForPartyPartiesResponseData.mjs";
59
+ export * from "./UpdateBrandingForPartyPartiesResponseDataAttributes.mjs";
60
+ export * from "./UpdateBrandingForPartyPartiesResponseDataType.mjs";
48
61
  export * from "./UpdatePartiesResponseDataAttributesPersona.mjs";
49
62
  export * from "./UpdMyParty.mjs";
50
63
  export * from "./UpdMyPartyAttrs.mjs";
@@ -20,4 +20,6 @@ export interface InviteCustomerSimulationsRequest {
20
20
  type?: Natural.InviteCustomerSimulationsRequestType;
21
21
  /** Message stored with each pending invitation. Sandbox does not send an invitation email. */
22
22
  message?: string;
23
+ /** Where to send the test customer after they accept and finish setup: an https URL, an app deep link, or an sms: link. */
24
+ redirectUrl?: string;
23
25
  }
@@ -29,6 +29,8 @@ export interface AcceptCustomerInvitationSimulationsResponseDataAttributes {
29
29
  declinedAt: string | null;
30
30
  /** Reason for cancellation. */
31
31
  cancelReason: Natural.AcceptCustomerInvitationSimulationsResponseDataAttributesCancelReason | null;
32
+ /** Where the customer is sent after accepting and finishing setup, or null. */
33
+ redirectUrl: string | null;
32
34
  /** Metadata visible to anyone who can read the resource. */
33
35
  tags: Record<string, string>;
34
36
  /** RFC 3339 timestamp when the invitation was created. */
@@ -29,6 +29,8 @@ export interface DeclineCustomerInvitationSimulationsResponseDataAttributes {
29
29
  declinedAt: string | null;
30
30
  /** Reason for cancellation. */
31
31
  cancelReason: Natural.DeclineCustomerInvitationSimulationsResponseDataAttributesCancelReason | null;
32
+ /** Where the customer is sent after accepting and finishing setup, or null. */
33
+ redirectUrl: string | null;
32
34
  /** Metadata visible to anyone who can read the resource. */
33
35
  tags: Record<string, string>;
34
36
  /** RFC 3339 timestamp when the invitation was created. */
@@ -17,5 +17,12 @@ export declare const InviteCustomerSimulationsRequestPermissionsItem: {
17
17
  readonly PartyRead: "party.read";
18
18
  readonly PartyUpdate: "party.update";
19
19
  readonly PaymentIntentsCreate: "payment_intents.create";
20
+ readonly PaymentIntentsRead: "payment_intents.read";
21
+ readonly CardPaymentsRead: "card_payments.read";
22
+ readonly RefundsRead: "refunds.read";
23
+ readonly RefundsCreate: "refunds.create";
24
+ readonly ChargebacksRead: "chargebacks.read";
25
+ readonly MandatesRead: "mandates.read";
26
+ readonly EnrollmentRead: "enrollment.read";
20
27
  };
21
28
  export type InviteCustomerSimulationsRequestPermissionsItem = (typeof InviteCustomerSimulationsRequestPermissionsItem)[keyof typeof InviteCustomerSimulationsRequestPermissionsItem];
@@ -18,4 +18,11 @@ export const InviteCustomerSimulationsRequestPermissionsItem = {
18
18
  PartyRead: "party.read",
19
19
  PartyUpdate: "party.update",
20
20
  PaymentIntentsCreate: "payment_intents.create",
21
+ PaymentIntentsRead: "payment_intents.read",
22
+ CardPaymentsRead: "card_payments.read",
23
+ RefundsRead: "refunds.read",
24
+ RefundsCreate: "refunds.create",
25
+ ChargebacksRead: "chargebacks.read",
26
+ MandatesRead: "mandates.read",
27
+ EnrollmentRead: "enrollment.read",
21
28
  };
@@ -29,6 +29,8 @@ export interface InviteCustomerSimulationsResponseDataItemAttributes {
29
29
  declinedAt: string | null;
30
30
  /** Reason for cancellation. */
31
31
  cancelReason: Natural.InviteCustomerSimulationsResponseDataItemAttributesCancelReason | null;
32
+ /** Where the customer is sent after accepting and finishing setup, or null. */
33
+ redirectUrl: string | null;
32
34
  /** Metadata visible to anyone who can read the resource. */
33
35
  tags: Record<string, string>;
34
36
  /** RFC 3339 timestamp when the invitation was created. */
@@ -0,0 +1,8 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ /**
3
+ * Related refund, when accessible.
4
+ */
5
+ export interface GetTransactionsResponseDataRelationshipsRefund {
6
+ /** Related resource identifier. */
7
+ data: Natural.GetTransactionsResponseDataRelationshipsRefundData;
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 GetTransactionsResponseDataRelationshipsRefundData {
6
+ /** Resource type. Always `refund`. */
7
+ type: Natural.GetTransactionsResponseDataRelationshipsRefundDataType;
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 `refund`. */
2
+ export declare const GetTransactionsResponseDataRelationshipsRefundDataType: {
3
+ readonly Refund: "refund";
4
+ };
5
+ export type GetTransactionsResponseDataRelationshipsRefundDataType = (typeof GetTransactionsResponseDataRelationshipsRefundDataType)[keyof typeof GetTransactionsResponseDataRelationshipsRefundDataType];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Resource type. Always `refund`. */
3
+ export const GetTransactionsResponseDataRelationshipsRefundDataType = {
4
+ Refund: "refund",
5
+ };
@@ -0,0 +1,8 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ /**
3
+ * Related refund, when accessible.
4
+ */
5
+ export interface ListTransactionsResponseDataItemRelationshipsRefund {
6
+ /** Related resource identifier. */
7
+ data: Natural.ListTransactionsResponseDataItemRelationshipsRefundData;
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 ListTransactionsResponseDataItemRelationshipsRefundData {
6
+ /** Resource type. Always `refund`. */
7
+ type: Natural.ListTransactionsResponseDataItemRelationshipsRefundDataType;
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 `refund`. */
2
+ export declare const ListTransactionsResponseDataItemRelationshipsRefundDataType: {
3
+ readonly Refund: "refund";
4
+ };
5
+ export type ListTransactionsResponseDataItemRelationshipsRefundDataType = (typeof ListTransactionsResponseDataItemRelationshipsRefundDataType)[keyof typeof ListTransactionsResponseDataItemRelationshipsRefundDataType];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Resource type. Always `refund`. */
3
+ export const ListTransactionsResponseDataItemRelationshipsRefundDataType = {
4
+ Refund: "refund",
5
+ };
@@ -8,6 +8,8 @@ export interface TxnDetailRels {
8
8
  payment?: Natural.TxnDetailPaymentRel;
9
9
  /** Related card payment, when accessible. */
10
10
  cardPayment?: Natural.GetTransactionsResponseDataRelationshipsCardPayment;
11
+ /** Related refund, when accessible. */
12
+ refund?: Natural.GetTransactionsResponseDataRelationshipsRefund;
11
13
  /** Related transfer, when accessible. */
12
14
  transfer?: Natural.TxnDetailTransferRel;
13
15
  /** Wallet through which this transaction is visible. */
@@ -8,6 +8,8 @@ export interface TxnRels {
8
8
  payment?: Natural.TxnPaymentRel;
9
9
  /** Related card payment, when accessible. */
10
10
  cardPayment?: Natural.ListTransactionsResponseDataItemRelationshipsCardPayment;
11
+ /** Related refund, when accessible. */
12
+ refund?: Natural.ListTransactionsResponseDataItemRelationshipsRefund;
11
13
  /** Related transfer, when accessible. */
12
14
  transfer?: Natural.TxnTransferRel;
13
15
  /** Wallet through which this transaction is visible. */
@@ -3,6 +3,9 @@ export * from "./GetTransactionsResponseDataRelationshipsCardPaymentData.mjs";
3
3
  export * from "./GetTransactionsResponseDataRelationshipsCardPaymentDataType.mjs";
4
4
  export * from "./GetTransactionsResponseDataRelationshipsDestinationPartyData.mjs";
5
5
  export * from "./GetTransactionsResponseDataRelationshipsDestinationPartyDataType.mjs";
6
+ export * from "./GetTransactionsResponseDataRelationshipsRefund.mjs";
7
+ export * from "./GetTransactionsResponseDataRelationshipsRefundData.mjs";
8
+ export * from "./GetTransactionsResponseDataRelationshipsRefundDataType.mjs";
6
9
  export * from "./GetTransactionsResponseDataRelationshipsSourcePartyData.mjs";
7
10
  export * from "./GetTransactionsResponseDataRelationshipsSourcePartyDataType.mjs";
8
11
  export * from "./GetTransactionsResponseDataRelationshipsWallet.mjs";
@@ -15,6 +18,9 @@ export * from "./ListTransactionsResponseDataItemRelationshipsCardPaymentData.mj
15
18
  export * from "./ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.mjs";
16
19
  export * from "./ListTransactionsResponseDataItemRelationshipsDestinationPartyData.mjs";
17
20
  export * from "./ListTransactionsResponseDataItemRelationshipsDestinationPartyDataType.mjs";
21
+ export * from "./ListTransactionsResponseDataItemRelationshipsRefund.mjs";
22
+ export * from "./ListTransactionsResponseDataItemRelationshipsRefundData.mjs";
23
+ export * from "./ListTransactionsResponseDataItemRelationshipsRefundDataType.mjs";
18
24
  export * from "./ListTransactionsResponseDataItemRelationshipsSourcePartyData.mjs";
19
25
  export * from "./ListTransactionsResponseDataItemRelationshipsSourcePartyDataType.mjs";
20
26
  export * from "./ListTransactionsResponseDataItemRelationshipsWallet.mjs";
@@ -3,6 +3,9 @@ export * from "./GetTransactionsResponseDataRelationshipsCardPaymentData.mjs";
3
3
  export * from "./GetTransactionsResponseDataRelationshipsCardPaymentDataType.mjs";
4
4
  export * from "./GetTransactionsResponseDataRelationshipsDestinationPartyData.mjs";
5
5
  export * from "./GetTransactionsResponseDataRelationshipsDestinationPartyDataType.mjs";
6
+ export * from "./GetTransactionsResponseDataRelationshipsRefund.mjs";
7
+ export * from "./GetTransactionsResponseDataRelationshipsRefundData.mjs";
8
+ export * from "./GetTransactionsResponseDataRelationshipsRefundDataType.mjs";
6
9
  export * from "./GetTransactionsResponseDataRelationshipsSourcePartyData.mjs";
7
10
  export * from "./GetTransactionsResponseDataRelationshipsSourcePartyDataType.mjs";
8
11
  export * from "./GetTransactionsResponseDataRelationshipsWallet.mjs";
@@ -15,6 +18,9 @@ export * from "./ListTransactionsResponseDataItemRelationshipsCardPaymentData.mj
15
18
  export * from "./ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.mjs";
16
19
  export * from "./ListTransactionsResponseDataItemRelationshipsDestinationPartyData.mjs";
17
20
  export * from "./ListTransactionsResponseDataItemRelationshipsDestinationPartyDataType.mjs";
21
+ export * from "./ListTransactionsResponseDataItemRelationshipsRefund.mjs";
22
+ export * from "./ListTransactionsResponseDataItemRelationshipsRefundData.mjs";
23
+ export * from "./ListTransactionsResponseDataItemRelationshipsRefundDataType.mjs";
18
24
  export * from "./ListTransactionsResponseDataItemRelationshipsSourcePartyData.mjs";
19
25
  export * from "./ListTransactionsResponseDataItemRelationshipsSourcePartyDataType.mjs";
20
26
  export * from "./ListTransactionsResponseDataItemRelationshipsWallet.mjs";
@@ -58,5 +58,23 @@ export declare const CreateWebhooksRequestEnabledEventsItem: {
58
58
  readonly PaymentRequestCanceled: "payment_request.canceled";
59
59
  readonly PaymentRequestDeclined: "payment_request.declined";
60
60
  readonly PaymentRequestIncoming: "payment_request.incoming";
61
+ readonly PaymentIntentCompleted: "paymentIntent.completed";
62
+ readonly CardPaymentSucceeded: "cardPayment.succeeded";
63
+ readonly CardPaymentFailed: "cardPayment.failed";
64
+ readonly PaymentIntentCanceled: "paymentIntent.canceled";
65
+ readonly CardPaymentCreated: "cardPayment.created";
66
+ readonly RefundCreated: "refund.created";
67
+ readonly RefundSucceeded: "refund.succeeded";
68
+ readonly RefundFailed: "refund.failed";
69
+ readonly ChargebackCreated: "chargeback.created";
70
+ readonly ChargebackUpdated: "chargeback.updated";
71
+ readonly ChargebackClosed: "chargeback.closed";
72
+ readonly EnrollmentApplied: "enrollment.applied";
73
+ readonly EnrollmentActivated: "enrollment.activated";
74
+ readonly EnrollmentRejected: "enrollment.rejected";
75
+ readonly EnrollmentOffboarded: "enrollment.offboarded";
76
+ readonly MandateCreated: "mandate.created";
77
+ readonly MandateUpdated: "mandate.updated";
78
+ readonly MandateRevoked: "mandate.revoked";
61
79
  };
62
80
  export type CreateWebhooksRequestEnabledEventsItem = (typeof CreateWebhooksRequestEnabledEventsItem)[keyof typeof CreateWebhooksRequestEnabledEventsItem];
@@ -59,4 +59,22 @@ export const CreateWebhooksRequestEnabledEventsItem = {
59
59
  PaymentRequestCanceled: "payment_request.canceled",
60
60
  PaymentRequestDeclined: "payment_request.declined",
61
61
  PaymentRequestIncoming: "payment_request.incoming",
62
+ PaymentIntentCompleted: "paymentIntent.completed",
63
+ CardPaymentSucceeded: "cardPayment.succeeded",
64
+ CardPaymentFailed: "cardPayment.failed",
65
+ PaymentIntentCanceled: "paymentIntent.canceled",
66
+ CardPaymentCreated: "cardPayment.created",
67
+ RefundCreated: "refund.created",
68
+ RefundSucceeded: "refund.succeeded",
69
+ RefundFailed: "refund.failed",
70
+ ChargebackCreated: "chargeback.created",
71
+ ChargebackUpdated: "chargeback.updated",
72
+ ChargebackClosed: "chargeback.closed",
73
+ EnrollmentApplied: "enrollment.applied",
74
+ EnrollmentActivated: "enrollment.activated",
75
+ EnrollmentRejected: "enrollment.rejected",
76
+ EnrollmentOffboarded: "enrollment.offboarded",
77
+ MandateCreated: "mandate.created",
78
+ MandateUpdated: "mandate.updated",
79
+ MandateRevoked: "mandate.revoked",
62
80
  };
@@ -58,5 +58,23 @@ export declare const CreateWebhooksResponseDataAttributesEnabledEventsItem: {
58
58
  readonly PaymentRequestCanceled: "payment_request.canceled";
59
59
  readonly PaymentRequestDeclined: "payment_request.declined";
60
60
  readonly PaymentRequestIncoming: "payment_request.incoming";
61
+ readonly PaymentIntentCompleted: "paymentIntent.completed";
62
+ readonly CardPaymentSucceeded: "cardPayment.succeeded";
63
+ readonly CardPaymentFailed: "cardPayment.failed";
64
+ readonly PaymentIntentCanceled: "paymentIntent.canceled";
65
+ readonly CardPaymentCreated: "cardPayment.created";
66
+ readonly RefundCreated: "refund.created";
67
+ readonly RefundSucceeded: "refund.succeeded";
68
+ readonly RefundFailed: "refund.failed";
69
+ readonly ChargebackCreated: "chargeback.created";
70
+ readonly ChargebackUpdated: "chargeback.updated";
71
+ readonly ChargebackClosed: "chargeback.closed";
72
+ readonly EnrollmentApplied: "enrollment.applied";
73
+ readonly EnrollmentActivated: "enrollment.activated";
74
+ readonly EnrollmentRejected: "enrollment.rejected";
75
+ readonly EnrollmentOffboarded: "enrollment.offboarded";
76
+ readonly MandateCreated: "mandate.created";
77
+ readonly MandateUpdated: "mandate.updated";
78
+ readonly MandateRevoked: "mandate.revoked";
61
79
  };
62
80
  export type CreateWebhooksResponseDataAttributesEnabledEventsItem = (typeof CreateWebhooksResponseDataAttributesEnabledEventsItem)[keyof typeof CreateWebhooksResponseDataAttributesEnabledEventsItem];
@@ -59,4 +59,22 @@ export const CreateWebhooksResponseDataAttributesEnabledEventsItem = {
59
59
  PaymentRequestCanceled: "payment_request.canceled",
60
60
  PaymentRequestDeclined: "payment_request.declined",
61
61
  PaymentRequestIncoming: "payment_request.incoming",
62
+ PaymentIntentCompleted: "paymentIntent.completed",
63
+ CardPaymentSucceeded: "cardPayment.succeeded",
64
+ CardPaymentFailed: "cardPayment.failed",
65
+ PaymentIntentCanceled: "paymentIntent.canceled",
66
+ CardPaymentCreated: "cardPayment.created",
67
+ RefundCreated: "refund.created",
68
+ RefundSucceeded: "refund.succeeded",
69
+ RefundFailed: "refund.failed",
70
+ ChargebackCreated: "chargeback.created",
71
+ ChargebackUpdated: "chargeback.updated",
72
+ ChargebackClosed: "chargeback.closed",
73
+ EnrollmentApplied: "enrollment.applied",
74
+ EnrollmentActivated: "enrollment.activated",
75
+ EnrollmentRejected: "enrollment.rejected",
76
+ EnrollmentOffboarded: "enrollment.offboarded",
77
+ MandateCreated: "mandate.created",
78
+ MandateUpdated: "mandate.updated",
79
+ MandateRevoked: "mandate.revoked",
62
80
  };
@@ -58,5 +58,23 @@ export declare const GetWebhooksResponseDataAttributesEnabledEventsItem: {
58
58
  readonly PaymentRequestCanceled: "payment_request.canceled";
59
59
  readonly PaymentRequestDeclined: "payment_request.declined";
60
60
  readonly PaymentRequestIncoming: "payment_request.incoming";
61
+ readonly PaymentIntentCompleted: "paymentIntent.completed";
62
+ readonly CardPaymentSucceeded: "cardPayment.succeeded";
63
+ readonly CardPaymentFailed: "cardPayment.failed";
64
+ readonly PaymentIntentCanceled: "paymentIntent.canceled";
65
+ readonly CardPaymentCreated: "cardPayment.created";
66
+ readonly RefundCreated: "refund.created";
67
+ readonly RefundSucceeded: "refund.succeeded";
68
+ readonly RefundFailed: "refund.failed";
69
+ readonly ChargebackCreated: "chargeback.created";
70
+ readonly ChargebackUpdated: "chargeback.updated";
71
+ readonly ChargebackClosed: "chargeback.closed";
72
+ readonly EnrollmentApplied: "enrollment.applied";
73
+ readonly EnrollmentActivated: "enrollment.activated";
74
+ readonly EnrollmentRejected: "enrollment.rejected";
75
+ readonly EnrollmentOffboarded: "enrollment.offboarded";
76
+ readonly MandateCreated: "mandate.created";
77
+ readonly MandateUpdated: "mandate.updated";
78
+ readonly MandateRevoked: "mandate.revoked";
61
79
  };
62
80
  export type GetWebhooksResponseDataAttributesEnabledEventsItem = (typeof GetWebhooksResponseDataAttributesEnabledEventsItem)[keyof typeof GetWebhooksResponseDataAttributesEnabledEventsItem];
@@ -59,4 +59,22 @@ export const GetWebhooksResponseDataAttributesEnabledEventsItem = {
59
59
  PaymentRequestCanceled: "payment_request.canceled",
60
60
  PaymentRequestDeclined: "payment_request.declined",
61
61
  PaymentRequestIncoming: "payment_request.incoming",
62
+ PaymentIntentCompleted: "paymentIntent.completed",
63
+ CardPaymentSucceeded: "cardPayment.succeeded",
64
+ CardPaymentFailed: "cardPayment.failed",
65
+ PaymentIntentCanceled: "paymentIntent.canceled",
66
+ CardPaymentCreated: "cardPayment.created",
67
+ RefundCreated: "refund.created",
68
+ RefundSucceeded: "refund.succeeded",
69
+ RefundFailed: "refund.failed",
70
+ ChargebackCreated: "chargeback.created",
71
+ ChargebackUpdated: "chargeback.updated",
72
+ ChargebackClosed: "chargeback.closed",
73
+ EnrollmentApplied: "enrollment.applied",
74
+ EnrollmentActivated: "enrollment.activated",
75
+ EnrollmentRejected: "enrollment.rejected",
76
+ EnrollmentOffboarded: "enrollment.offboarded",
77
+ MandateCreated: "mandate.created",
78
+ MandateUpdated: "mandate.updated",
79
+ MandateRevoked: "mandate.revoked",
62
80
  };