@naturalpay/sdk 1.6.6 → 1.6.8

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 (372) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/customers/client/Client.d.ts +29 -0
  3. package/dist/cjs/api/resources/customers/client/Client.js +99 -0
  4. package/dist/cjs/api/resources/customers/client/requests/RemoveCustomersRequest.d.ts +12 -0
  5. package/dist/cjs/api/resources/customers/client/requests/RemoveCustomersRequest.js +3 -0
  6. package/dist/cjs/api/resources/customers/client/requests/index.d.ts +1 -0
  7. package/dist/cjs/api/resources/customers/types/RemoveCustomersResponse.d.ts +6 -0
  8. package/dist/cjs/api/resources/customers/types/RemoveCustomersResponse.js +3 -0
  9. package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseData.d.ts +10 -0
  10. package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseData.js +3 -0
  11. package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributes.d.ts +15 -0
  12. package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributes.js +3 -0
  13. package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItem.d.ts +15 -0
  14. package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItem.js +3 -0
  15. package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItemLimits.d.ts +8 -0
  16. package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItemLimits.js +3 -0
  17. package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributesDelegation.d.ts +16 -0
  18. package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributesDelegation.js +3 -0
  19. package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributesDelegationStatus.d.ts +8 -0
  20. package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributesDelegationStatus.js +11 -0
  21. package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataType.d.ts +4 -0
  22. package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataType.js +7 -0
  23. package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseMeta.d.ts +4 -0
  24. package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseMeta.js +3 -0
  25. package/dist/cjs/api/resources/customers/types/index.d.ts +9 -0
  26. package/dist/cjs/api/resources/customers/types/index.js +9 -0
  27. package/dist/cjs/api/resources/paymentRequests/client/Client.js +5 -2
  28. package/dist/cjs/api/resources/paymentRequests/client/requests/ListIncomingPaymentRequestsRequest.d.ts +1 -0
  29. package/dist/cjs/api/resources/paymentRequests/client/requests/ListPaymentRequestsRequest.d.ts +2 -0
  30. package/dist/cjs/api/resources/simulations/client/Client.d.ts +30 -0
  31. package/dist/cjs/api/resources/simulations/client/Client.js +102 -0
  32. package/dist/cjs/api/resources/simulations/client/requests/DisconnectCustomerSimulationsRequest.d.ts +12 -0
  33. package/dist/cjs/api/resources/simulations/client/requests/DisconnectCustomerSimulationsRequest.js +3 -0
  34. package/dist/cjs/api/resources/simulations/client/requests/index.d.ts +1 -0
  35. package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponse.d.ts +6 -0
  36. package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponse.js +3 -0
  37. package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseData.d.ts +10 -0
  38. package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseData.js +3 -0
  39. package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributes.d.ts +15 -0
  40. package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributes.js +3 -0
  41. package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.d.ts +15 -0
  42. package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.js +3 -0
  43. package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.d.ts +8 -0
  44. package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.js +3 -0
  45. package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegation.d.ts +16 -0
  46. package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegation.js +3 -0
  47. package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus.d.ts +8 -0
  48. package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus.js +11 -0
  49. package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataType.d.ts +4 -0
  50. package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataType.js +7 -0
  51. package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseMeta.d.ts +4 -0
  52. package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseMeta.js +3 -0
  53. package/dist/cjs/api/resources/simulations/types/index.d.ts +9 -0
  54. package/dist/cjs/api/resources/simulations/types/index.js +9 -0
  55. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPayment.d.ts +8 -0
  56. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPayment.js +3 -0
  57. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentData.d.ts +8 -0
  58. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentData.js +3 -0
  59. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentDataType.d.ts +4 -0
  60. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentDataType.js +7 -0
  61. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPayment.d.ts +8 -0
  62. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPayment.js +3 -0
  63. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentData.d.ts +8 -0
  64. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentData.js +3 -0
  65. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.d.ts +4 -0
  66. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.js +7 -0
  67. package/dist/cjs/api/resources/transactions/types/TxnDetailRels.d.ts +2 -0
  68. package/dist/cjs/api/resources/transactions/types/TxnRels.d.ts +2 -0
  69. package/dist/cjs/api/resources/transactions/types/index.d.ts +6 -0
  70. package/dist/cjs/api/resources/transactions/types/index.js +6 -0
  71. package/dist/cjs/api/resources/webhooks/client/Client.d.ts +2 -0
  72. package/dist/cjs/api/resources/webhooks/client/Client.js +2 -0
  73. package/dist/cjs/api/resources/webhooks/client/requests/NewWebhookParams.d.ts +3 -0
  74. package/dist/cjs/api/resources/webhooks/client/requests/UpdWebhookParams.d.ts +3 -0
  75. package/dist/cjs/api/resources/webhooks/types/CreateWebhooksRequestSourcesItem.d.ts +5 -0
  76. package/dist/cjs/api/resources/webhooks/types/CreateWebhooksRequestSourcesItem.js +8 -0
  77. package/dist/cjs/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesSourcesItem.d.ts +5 -0
  78. package/dist/cjs/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesSourcesItem.js +8 -0
  79. package/dist/cjs/api/resources/webhooks/types/DelWebhookAttrs.d.ts +2 -0
  80. package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponseDataAttributesSourcesItem.d.ts +5 -0
  81. package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponseDataAttributesSourcesItem.js +8 -0
  82. package/dist/cjs/api/resources/webhooks/types/ListWebhooksResponseDataItemAttributesSourcesItem.d.ts +5 -0
  83. package/dist/cjs/api/resources/webhooks/types/ListWebhooksResponseDataItemAttributesSourcesItem.js +8 -0
  84. package/dist/cjs/api/resources/webhooks/types/NewWebhookAttrs.d.ts +2 -0
  85. package/dist/cjs/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesSourcesItem.d.ts +5 -0
  86. package/dist/cjs/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesSourcesItem.js +8 -0
  87. package/dist/cjs/api/resources/webhooks/types/UpdWebhookAttrs.d.ts +2 -0
  88. package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksRequestSourcesItem.d.ts +5 -0
  89. package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksRequestSourcesItem.js +8 -0
  90. package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesSourcesItem.d.ts +5 -0
  91. package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesSourcesItem.js +8 -0
  92. package/dist/cjs/api/resources/webhooks/types/WebhookAttrs.d.ts +2 -0
  93. package/dist/cjs/api/resources/webhooks/types/WebhookDetailAttrs.d.ts +2 -0
  94. package/dist/cjs/api/resources/webhooks/types/index.d.ts +7 -0
  95. package/dist/cjs/api/resources/webhooks/types/index.js +7 -0
  96. package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponse.d.ts +12 -0
  97. package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponse.js +44 -0
  98. package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseData.d.ts +13 -0
  99. package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseData.js +45 -0
  100. package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataAttributes.d.ts +16 -0
  101. package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataAttributes.js +48 -0
  102. package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItem.d.ts +15 -0
  103. package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItem.js +47 -0
  104. package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItemLimits.d.ts +11 -0
  105. package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItemLimits.js +43 -0
  106. package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesDelegation.d.ts +14 -0
  107. package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesDelegation.js +46 -0
  108. package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesDelegationStatus.d.ts +7 -0
  109. package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesDelegationStatus.js +39 -0
  110. package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataType.d.ts +7 -0
  111. package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataType.js +39 -0
  112. package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseMeta.d.ts +9 -0
  113. package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseMeta.js +41 -0
  114. package/dist/cjs/serialization/resources/customers/types/index.d.ts +9 -0
  115. package/dist/cjs/serialization/resources/customers/types/index.js +9 -0
  116. package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponse.d.ts +12 -0
  117. package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponse.js +44 -0
  118. package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseData.d.ts +13 -0
  119. package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseData.js +45 -0
  120. package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributes.d.ts +16 -0
  121. package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributes.js +48 -0
  122. package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.d.ts +15 -0
  123. package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.js +47 -0
  124. package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.d.ts +11 -0
  125. package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.js +43 -0
  126. package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegation.d.ts +14 -0
  127. package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegation.js +46 -0
  128. package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus.d.ts +7 -0
  129. package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus.js +39 -0
  130. package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataType.d.ts +7 -0
  131. package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataType.js +39 -0
  132. package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseMeta.d.ts +9 -0
  133. package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseMeta.js +41 -0
  134. package/dist/cjs/serialization/resources/simulations/types/index.d.ts +9 -0
  135. package/dist/cjs/serialization/resources/simulations/types/index.js +9 -0
  136. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPayment.d.ts +10 -0
  137. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPayment.js +42 -0
  138. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentData.d.ts +11 -0
  139. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentData.js +43 -0
  140. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentDataType.d.ts +7 -0
  141. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentDataType.js +39 -0
  142. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPayment.d.ts +10 -0
  143. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPayment.js +42 -0
  144. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentData.d.ts +11 -0
  145. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentData.js +43 -0
  146. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.d.ts +7 -0
  147. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.js +39 -0
  148. package/dist/cjs/serialization/resources/transactions/types/TxnDetailRels.d.ts +2 -0
  149. package/dist/cjs/serialization/resources/transactions/types/TxnDetailRels.js +2 -0
  150. package/dist/cjs/serialization/resources/transactions/types/TxnRels.d.ts +2 -0
  151. package/dist/cjs/serialization/resources/transactions/types/TxnRels.js +2 -0
  152. package/dist/cjs/serialization/resources/transactions/types/index.d.ts +6 -0
  153. package/dist/cjs/serialization/resources/transactions/types/index.js +6 -0
  154. package/dist/cjs/serialization/resources/webhooks/client/requests/NewWebhookParams.d.ts +2 -0
  155. package/dist/cjs/serialization/resources/webhooks/client/requests/NewWebhookParams.js +2 -0
  156. package/dist/cjs/serialization/resources/webhooks/client/requests/UpdWebhookParams.d.ts +2 -0
  157. package/dist/cjs/serialization/resources/webhooks/client/requests/UpdWebhookParams.js +2 -0
  158. package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksRequestSourcesItem.d.ts +7 -0
  159. package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksRequestSourcesItem.js +39 -0
  160. package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesSourcesItem.d.ts +7 -0
  161. package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesSourcesItem.js +39 -0
  162. package/dist/cjs/serialization/resources/webhooks/types/DelWebhookAttrs.d.ts +2 -0
  163. package/dist/cjs/serialization/resources/webhooks/types/DelWebhookAttrs.js +2 -0
  164. package/dist/cjs/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesSourcesItem.d.ts +7 -0
  165. package/dist/cjs/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesSourcesItem.js +39 -0
  166. package/dist/cjs/serialization/resources/webhooks/types/ListWebhooksResponseDataItemAttributesSourcesItem.d.ts +7 -0
  167. package/dist/cjs/serialization/resources/webhooks/types/ListWebhooksResponseDataItemAttributesSourcesItem.js +39 -0
  168. package/dist/cjs/serialization/resources/webhooks/types/NewWebhookAttrs.d.ts +2 -0
  169. package/dist/cjs/serialization/resources/webhooks/types/NewWebhookAttrs.js +2 -0
  170. package/dist/cjs/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesSourcesItem.d.ts +7 -0
  171. package/dist/cjs/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesSourcesItem.js +39 -0
  172. package/dist/cjs/serialization/resources/webhooks/types/UpdWebhookAttrs.d.ts +2 -0
  173. package/dist/cjs/serialization/resources/webhooks/types/UpdWebhookAttrs.js +2 -0
  174. package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksRequestSourcesItem.d.ts +7 -0
  175. package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksRequestSourcesItem.js +39 -0
  176. package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesSourcesItem.d.ts +7 -0
  177. package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesSourcesItem.js +39 -0
  178. package/dist/cjs/serialization/resources/webhooks/types/WebhookAttrs.d.ts +2 -0
  179. package/dist/cjs/serialization/resources/webhooks/types/WebhookAttrs.js +2 -0
  180. package/dist/cjs/serialization/resources/webhooks/types/WebhookDetailAttrs.d.ts +2 -0
  181. package/dist/cjs/serialization/resources/webhooks/types/WebhookDetailAttrs.js +2 -0
  182. package/dist/cjs/serialization/resources/webhooks/types/index.d.ts +7 -0
  183. package/dist/cjs/serialization/resources/webhooks/types/index.js +7 -0
  184. package/dist/cjs/version.d.ts +1 -1
  185. package/dist/cjs/version.js +1 -1
  186. package/dist/esm/BaseClient.mjs +2 -2
  187. package/dist/esm/api/resources/customers/client/Client.d.mts +29 -0
  188. package/dist/esm/api/resources/customers/client/Client.mjs +99 -0
  189. package/dist/esm/api/resources/customers/client/requests/RemoveCustomersRequest.d.mts +12 -0
  190. package/dist/esm/api/resources/customers/client/requests/RemoveCustomersRequest.mjs +2 -0
  191. package/dist/esm/api/resources/customers/client/requests/index.d.mts +1 -0
  192. package/dist/esm/api/resources/customers/types/RemoveCustomersResponse.d.mts +6 -0
  193. package/dist/esm/api/resources/customers/types/RemoveCustomersResponse.mjs +2 -0
  194. package/dist/esm/api/resources/customers/types/RemoveCustomersResponseData.d.mts +10 -0
  195. package/dist/esm/api/resources/customers/types/RemoveCustomersResponseData.mjs +2 -0
  196. package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributes.d.mts +15 -0
  197. package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributes.mjs +2 -0
  198. package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItem.d.mts +15 -0
  199. package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItem.mjs +2 -0
  200. package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItemLimits.d.mts +8 -0
  201. package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItemLimits.mjs +2 -0
  202. package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributesDelegation.d.mts +16 -0
  203. package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributesDelegation.mjs +2 -0
  204. package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributesDelegationStatus.d.mts +8 -0
  205. package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributesDelegationStatus.mjs +8 -0
  206. package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataType.d.mts +4 -0
  207. package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataType.mjs +4 -0
  208. package/dist/esm/api/resources/customers/types/RemoveCustomersResponseMeta.d.mts +4 -0
  209. package/dist/esm/api/resources/customers/types/RemoveCustomersResponseMeta.mjs +2 -0
  210. package/dist/esm/api/resources/customers/types/index.d.mts +9 -0
  211. package/dist/esm/api/resources/customers/types/index.mjs +9 -0
  212. package/dist/esm/api/resources/paymentRequests/client/Client.mjs +5 -2
  213. package/dist/esm/api/resources/paymentRequests/client/requests/ListIncomingPaymentRequestsRequest.d.mts +1 -0
  214. package/dist/esm/api/resources/paymentRequests/client/requests/ListPaymentRequestsRequest.d.mts +2 -0
  215. package/dist/esm/api/resources/simulations/client/Client.d.mts +30 -0
  216. package/dist/esm/api/resources/simulations/client/Client.mjs +102 -0
  217. package/dist/esm/api/resources/simulations/client/requests/DisconnectCustomerSimulationsRequest.d.mts +12 -0
  218. package/dist/esm/api/resources/simulations/client/requests/DisconnectCustomerSimulationsRequest.mjs +2 -0
  219. package/dist/esm/api/resources/simulations/client/requests/index.d.mts +1 -0
  220. package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponse.d.mts +6 -0
  221. package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponse.mjs +2 -0
  222. package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseData.d.mts +10 -0
  223. package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseData.mjs +2 -0
  224. package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributes.d.mts +15 -0
  225. package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributes.mjs +2 -0
  226. package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.d.mts +15 -0
  227. package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.mjs +2 -0
  228. package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.d.mts +8 -0
  229. package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.mjs +2 -0
  230. package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegation.d.mts +16 -0
  231. package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegation.mjs +2 -0
  232. package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus.d.mts +8 -0
  233. package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus.mjs +8 -0
  234. package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataType.d.mts +4 -0
  235. package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataType.mjs +4 -0
  236. package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseMeta.d.mts +4 -0
  237. package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseMeta.mjs +2 -0
  238. package/dist/esm/api/resources/simulations/types/index.d.mts +9 -0
  239. package/dist/esm/api/resources/simulations/types/index.mjs +9 -0
  240. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPayment.d.mts +8 -0
  241. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPayment.mjs +2 -0
  242. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentData.d.mts +8 -0
  243. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentData.mjs +2 -0
  244. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentDataType.d.mts +4 -0
  245. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentDataType.mjs +4 -0
  246. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPayment.d.mts +8 -0
  247. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPayment.mjs +2 -0
  248. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentData.d.mts +8 -0
  249. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentData.mjs +2 -0
  250. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.d.mts +4 -0
  251. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.mjs +4 -0
  252. package/dist/esm/api/resources/transactions/types/TxnDetailRels.d.mts +2 -0
  253. package/dist/esm/api/resources/transactions/types/TxnRels.d.mts +2 -0
  254. package/dist/esm/api/resources/transactions/types/index.d.mts +6 -0
  255. package/dist/esm/api/resources/transactions/types/index.mjs +6 -0
  256. package/dist/esm/api/resources/webhooks/client/Client.d.mts +2 -0
  257. package/dist/esm/api/resources/webhooks/client/Client.mjs +2 -0
  258. package/dist/esm/api/resources/webhooks/client/requests/NewWebhookParams.d.mts +3 -0
  259. package/dist/esm/api/resources/webhooks/client/requests/UpdWebhookParams.d.mts +3 -0
  260. package/dist/esm/api/resources/webhooks/types/CreateWebhooksRequestSourcesItem.d.mts +5 -0
  261. package/dist/esm/api/resources/webhooks/types/CreateWebhooksRequestSourcesItem.mjs +5 -0
  262. package/dist/esm/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesSourcesItem.d.mts +5 -0
  263. package/dist/esm/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesSourcesItem.mjs +5 -0
  264. package/dist/esm/api/resources/webhooks/types/DelWebhookAttrs.d.mts +2 -0
  265. package/dist/esm/api/resources/webhooks/types/GetWebhooksResponseDataAttributesSourcesItem.d.mts +5 -0
  266. package/dist/esm/api/resources/webhooks/types/GetWebhooksResponseDataAttributesSourcesItem.mjs +5 -0
  267. package/dist/esm/api/resources/webhooks/types/ListWebhooksResponseDataItemAttributesSourcesItem.d.mts +5 -0
  268. package/dist/esm/api/resources/webhooks/types/ListWebhooksResponseDataItemAttributesSourcesItem.mjs +5 -0
  269. package/dist/esm/api/resources/webhooks/types/NewWebhookAttrs.d.mts +2 -0
  270. package/dist/esm/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesSourcesItem.d.mts +5 -0
  271. package/dist/esm/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesSourcesItem.mjs +5 -0
  272. package/dist/esm/api/resources/webhooks/types/UpdWebhookAttrs.d.mts +2 -0
  273. package/dist/esm/api/resources/webhooks/types/UpdateWebhooksRequestSourcesItem.d.mts +5 -0
  274. package/dist/esm/api/resources/webhooks/types/UpdateWebhooksRequestSourcesItem.mjs +5 -0
  275. package/dist/esm/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesSourcesItem.d.mts +5 -0
  276. package/dist/esm/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesSourcesItem.mjs +5 -0
  277. package/dist/esm/api/resources/webhooks/types/WebhookAttrs.d.mts +2 -0
  278. package/dist/esm/api/resources/webhooks/types/WebhookDetailAttrs.d.mts +2 -0
  279. package/dist/esm/api/resources/webhooks/types/index.d.mts +7 -0
  280. package/dist/esm/api/resources/webhooks/types/index.mjs +7 -0
  281. package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponse.d.mts +12 -0
  282. package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponse.mjs +8 -0
  283. package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseData.d.mts +13 -0
  284. package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseData.mjs +9 -0
  285. package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributes.d.mts +16 -0
  286. package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributes.mjs +12 -0
  287. package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItem.d.mts +15 -0
  288. package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItem.mjs +11 -0
  289. package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItemLimits.d.mts +11 -0
  290. package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesAgentsItemLimits.mjs +7 -0
  291. package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesDelegation.d.mts +14 -0
  292. package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesDelegation.mjs +10 -0
  293. package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesDelegationStatus.d.mts +7 -0
  294. package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributesDelegationStatus.mjs +3 -0
  295. package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataType.d.mts +7 -0
  296. package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataType.mjs +3 -0
  297. package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseMeta.d.mts +9 -0
  298. package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseMeta.mjs +5 -0
  299. package/dist/esm/serialization/resources/customers/types/index.d.mts +9 -0
  300. package/dist/esm/serialization/resources/customers/types/index.mjs +9 -0
  301. package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponse.d.mts +12 -0
  302. package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponse.mjs +8 -0
  303. package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseData.d.mts +13 -0
  304. package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseData.mjs +9 -0
  305. package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributes.d.mts +16 -0
  306. package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributes.mjs +12 -0
  307. package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.d.mts +15 -0
  308. package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItem.mjs +11 -0
  309. package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.d.mts +11 -0
  310. package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesAgentsItemLimits.mjs +7 -0
  311. package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegation.d.mts +14 -0
  312. package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegation.mjs +10 -0
  313. package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus.d.mts +7 -0
  314. package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributesDelegationStatus.mjs +3 -0
  315. package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataType.d.mts +7 -0
  316. package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataType.mjs +3 -0
  317. package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseMeta.d.mts +9 -0
  318. package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseMeta.mjs +5 -0
  319. package/dist/esm/serialization/resources/simulations/types/index.d.mts +9 -0
  320. package/dist/esm/serialization/resources/simulations/types/index.mjs +9 -0
  321. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPayment.d.mts +10 -0
  322. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPayment.mjs +6 -0
  323. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentData.d.mts +11 -0
  324. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentData.mjs +7 -0
  325. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentDataType.d.mts +7 -0
  326. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsCardPaymentDataType.mjs +3 -0
  327. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPayment.d.mts +10 -0
  328. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPayment.mjs +6 -0
  329. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentData.d.mts +11 -0
  330. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentData.mjs +7 -0
  331. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.d.mts +7 -0
  332. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.mjs +3 -0
  333. package/dist/esm/serialization/resources/transactions/types/TxnDetailRels.d.mts +2 -0
  334. package/dist/esm/serialization/resources/transactions/types/TxnDetailRels.mjs +2 -0
  335. package/dist/esm/serialization/resources/transactions/types/TxnRels.d.mts +2 -0
  336. package/dist/esm/serialization/resources/transactions/types/TxnRels.mjs +2 -0
  337. package/dist/esm/serialization/resources/transactions/types/index.d.mts +6 -0
  338. package/dist/esm/serialization/resources/transactions/types/index.mjs +6 -0
  339. package/dist/esm/serialization/resources/webhooks/client/requests/NewWebhookParams.d.mts +2 -0
  340. package/dist/esm/serialization/resources/webhooks/client/requests/NewWebhookParams.mjs +2 -0
  341. package/dist/esm/serialization/resources/webhooks/client/requests/UpdWebhookParams.d.mts +2 -0
  342. package/dist/esm/serialization/resources/webhooks/client/requests/UpdWebhookParams.mjs +2 -0
  343. package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksRequestSourcesItem.d.mts +7 -0
  344. package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksRequestSourcesItem.mjs +3 -0
  345. package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesSourcesItem.d.mts +7 -0
  346. package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesSourcesItem.mjs +3 -0
  347. package/dist/esm/serialization/resources/webhooks/types/DelWebhookAttrs.d.mts +2 -0
  348. package/dist/esm/serialization/resources/webhooks/types/DelWebhookAttrs.mjs +2 -0
  349. package/dist/esm/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesSourcesItem.d.mts +7 -0
  350. package/dist/esm/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesSourcesItem.mjs +3 -0
  351. package/dist/esm/serialization/resources/webhooks/types/ListWebhooksResponseDataItemAttributesSourcesItem.d.mts +7 -0
  352. package/dist/esm/serialization/resources/webhooks/types/ListWebhooksResponseDataItemAttributesSourcesItem.mjs +3 -0
  353. package/dist/esm/serialization/resources/webhooks/types/NewWebhookAttrs.d.mts +2 -0
  354. package/dist/esm/serialization/resources/webhooks/types/NewWebhookAttrs.mjs +2 -0
  355. package/dist/esm/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesSourcesItem.d.mts +7 -0
  356. package/dist/esm/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesSourcesItem.mjs +3 -0
  357. package/dist/esm/serialization/resources/webhooks/types/UpdWebhookAttrs.d.mts +2 -0
  358. package/dist/esm/serialization/resources/webhooks/types/UpdWebhookAttrs.mjs +2 -0
  359. package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksRequestSourcesItem.d.mts +7 -0
  360. package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksRequestSourcesItem.mjs +3 -0
  361. package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesSourcesItem.d.mts +7 -0
  362. package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesSourcesItem.mjs +3 -0
  363. package/dist/esm/serialization/resources/webhooks/types/WebhookAttrs.d.mts +2 -0
  364. package/dist/esm/serialization/resources/webhooks/types/WebhookAttrs.mjs +2 -0
  365. package/dist/esm/serialization/resources/webhooks/types/WebhookDetailAttrs.d.mts +2 -0
  366. package/dist/esm/serialization/resources/webhooks/types/WebhookDetailAttrs.mjs +2 -0
  367. package/dist/esm/serialization/resources/webhooks/types/index.d.mts +7 -0
  368. package/dist/esm/serialization/resources/webhooks/types/index.mjs +7 -0
  369. package/dist/esm/version.d.mts +1 -1
  370. package/dist/esm/version.mjs +1 -1
  371. package/package.json +1 -1
  372. package/reference.md +134 -0
@@ -0,0 +1,43 @@
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.GetTransactionsResponseDataRelationshipsCardPaymentData = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ const GetTransactionsResponseDataRelationshipsCardPaymentDataType_js_1 = require("./GetTransactionsResponseDataRelationshipsCardPaymentDataType.js");
40
+ exports.GetTransactionsResponseDataRelationshipsCardPaymentData = core.serialization.object({
41
+ type: GetTransactionsResponseDataRelationshipsCardPaymentDataType_js_1.GetTransactionsResponseDataRelationshipsCardPaymentDataType,
42
+ id: core.serialization.string(),
43
+ });
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ export declare const GetTransactionsResponseDataRelationshipsCardPaymentDataType: core.serialization.Schema<serializers.GetTransactionsResponseDataRelationshipsCardPaymentDataType.Raw, Natural.GetTransactionsResponseDataRelationshipsCardPaymentDataType>;
5
+ export declare namespace GetTransactionsResponseDataRelationshipsCardPaymentDataType {
6
+ type Raw = "cardPayment";
7
+ }
@@ -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.GetTransactionsResponseDataRelationshipsCardPaymentDataType = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.GetTransactionsResponseDataRelationshipsCardPaymentDataType = core.serialization.enum_(["cardPayment"]);
@@ -0,0 +1,10 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ import { ListTransactionsResponseDataItemRelationshipsCardPaymentData } from "./ListTransactionsResponseDataItemRelationshipsCardPaymentData.js";
5
+ export declare const ListTransactionsResponseDataItemRelationshipsCardPayment: core.serialization.ObjectSchema<serializers.ListTransactionsResponseDataItemRelationshipsCardPayment.Raw, Natural.ListTransactionsResponseDataItemRelationshipsCardPayment>;
6
+ export declare namespace ListTransactionsResponseDataItemRelationshipsCardPayment {
7
+ interface Raw {
8
+ data: ListTransactionsResponseDataItemRelationshipsCardPaymentData.Raw;
9
+ }
10
+ }
@@ -0,0 +1,42 @@
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.ListTransactionsResponseDataItemRelationshipsCardPayment = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ const ListTransactionsResponseDataItemRelationshipsCardPaymentData_js_1 = require("./ListTransactionsResponseDataItemRelationshipsCardPaymentData.js");
40
+ exports.ListTransactionsResponseDataItemRelationshipsCardPayment = core.serialization.object({
41
+ data: ListTransactionsResponseDataItemRelationshipsCardPaymentData_js_1.ListTransactionsResponseDataItemRelationshipsCardPaymentData,
42
+ });
@@ -0,0 +1,11 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ import { ListTransactionsResponseDataItemRelationshipsCardPaymentDataType } from "./ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.js";
5
+ export declare const ListTransactionsResponseDataItemRelationshipsCardPaymentData: core.serialization.ObjectSchema<serializers.ListTransactionsResponseDataItemRelationshipsCardPaymentData.Raw, Natural.ListTransactionsResponseDataItemRelationshipsCardPaymentData>;
6
+ export declare namespace ListTransactionsResponseDataItemRelationshipsCardPaymentData {
7
+ interface Raw {
8
+ type: ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.Raw;
9
+ id: string;
10
+ }
11
+ }
@@ -0,0 +1,43 @@
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.ListTransactionsResponseDataItemRelationshipsCardPaymentData = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ const ListTransactionsResponseDataItemRelationshipsCardPaymentDataType_js_1 = require("./ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.js");
40
+ exports.ListTransactionsResponseDataItemRelationshipsCardPaymentData = core.serialization.object({
41
+ type: ListTransactionsResponseDataItemRelationshipsCardPaymentDataType_js_1.ListTransactionsResponseDataItemRelationshipsCardPaymentDataType,
42
+ id: core.serialization.string(),
43
+ });
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ export declare const ListTransactionsResponseDataItemRelationshipsCardPaymentDataType: core.serialization.Schema<serializers.ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.Raw, Natural.ListTransactionsResponseDataItemRelationshipsCardPaymentDataType>;
5
+ export declare namespace ListTransactionsResponseDataItemRelationshipsCardPaymentDataType {
6
+ type Raw = "cardPayment";
7
+ }
@@ -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.ListTransactionsResponseDataItemRelationshipsCardPaymentDataType = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.ListTransactionsResponseDataItemRelationshipsCardPaymentDataType = core.serialization.enum_(["cardPayment"]);
@@ -1,6 +1,7 @@
1
1
  import type * as Natural from "../../../../api/index.js";
2
2
  import * as core from "../../../../core/index.js";
3
3
  import type * as serializers from "../../../index.js";
4
+ import { GetTransactionsResponseDataRelationshipsCardPayment } from "./GetTransactionsResponseDataRelationshipsCardPayment.js";
4
5
  import { GetTransactionsResponseDataRelationshipsWallet } from "./GetTransactionsResponseDataRelationshipsWallet.js";
5
6
  import { TxnDetailDestRel } from "./TxnDetailDestRel.js";
6
7
  import { TxnDetailPaymentRel } from "./TxnDetailPaymentRel.js";
@@ -12,6 +13,7 @@ export declare namespace TxnDetailRels {
12
13
  sourceParty: TxnDetailSourceRel.Raw;
13
14
  destinationParty: TxnDetailDestRel.Raw;
14
15
  payment?: TxnDetailPaymentRel.Raw | null;
16
+ cardPayment?: GetTransactionsResponseDataRelationshipsCardPayment.Raw | null;
15
17
  transfer?: TxnDetailTransferRel.Raw | null;
16
18
  wallet?: GetTransactionsResponseDataRelationshipsWallet.Raw | null;
17
19
  }
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.TxnDetailRels = void 0;
38
38
  const core = __importStar(require("../../../../core/index.js"));
39
+ const GetTransactionsResponseDataRelationshipsCardPayment_js_1 = require("./GetTransactionsResponseDataRelationshipsCardPayment.js");
39
40
  const GetTransactionsResponseDataRelationshipsWallet_js_1 = require("./GetTransactionsResponseDataRelationshipsWallet.js");
40
41
  const TxnDetailDestRel_js_1 = require("./TxnDetailDestRel.js");
41
42
  const TxnDetailPaymentRel_js_1 = require("./TxnDetailPaymentRel.js");
@@ -45,6 +46,7 @@ exports.TxnDetailRels = core.serialization.object({
45
46
  sourceParty: TxnDetailSourceRel_js_1.TxnDetailSourceRel,
46
47
  destinationParty: TxnDetailDestRel_js_1.TxnDetailDestRel,
47
48
  payment: TxnDetailPaymentRel_js_1.TxnDetailPaymentRel.optional(),
49
+ cardPayment: GetTransactionsResponseDataRelationshipsCardPayment_js_1.GetTransactionsResponseDataRelationshipsCardPayment.optional(),
48
50
  transfer: TxnDetailTransferRel_js_1.TxnDetailTransferRel.optional(),
49
51
  wallet: GetTransactionsResponseDataRelationshipsWallet_js_1.GetTransactionsResponseDataRelationshipsWallet.optional(),
50
52
  });
@@ -1,6 +1,7 @@
1
1
  import type * as Natural from "../../../../api/index.js";
2
2
  import * as core from "../../../../core/index.js";
3
3
  import type * as serializers from "../../../index.js";
4
+ import { ListTransactionsResponseDataItemRelationshipsCardPayment } from "./ListTransactionsResponseDataItemRelationshipsCardPayment.js";
4
5
  import { ListTransactionsResponseDataItemRelationshipsWallet } from "./ListTransactionsResponseDataItemRelationshipsWallet.js";
5
6
  import { TxnDestRel } from "./TxnDestRel.js";
6
7
  import { TxnPaymentRel } from "./TxnPaymentRel.js";
@@ -12,6 +13,7 @@ export declare namespace TxnRels {
12
13
  sourceParty: TxnSourceRel.Raw;
13
14
  destinationParty: TxnDestRel.Raw;
14
15
  payment?: TxnPaymentRel.Raw | null;
16
+ cardPayment?: ListTransactionsResponseDataItemRelationshipsCardPayment.Raw | null;
15
17
  transfer?: TxnTransferRel.Raw | null;
16
18
  wallet?: ListTransactionsResponseDataItemRelationshipsWallet.Raw | null;
17
19
  }
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.TxnRels = void 0;
38
38
  const core = __importStar(require("../../../../core/index.js"));
39
+ const ListTransactionsResponseDataItemRelationshipsCardPayment_js_1 = require("./ListTransactionsResponseDataItemRelationshipsCardPayment.js");
39
40
  const ListTransactionsResponseDataItemRelationshipsWallet_js_1 = require("./ListTransactionsResponseDataItemRelationshipsWallet.js");
40
41
  const TxnDestRel_js_1 = require("./TxnDestRel.js");
41
42
  const TxnPaymentRel_js_1 = require("./TxnPaymentRel.js");
@@ -45,6 +46,7 @@ exports.TxnRels = core.serialization.object({
45
46
  sourceParty: TxnSourceRel_js_1.TxnSourceRel,
46
47
  destinationParty: TxnDestRel_js_1.TxnDestRel,
47
48
  payment: TxnPaymentRel_js_1.TxnPaymentRel.optional(),
49
+ cardPayment: ListTransactionsResponseDataItemRelationshipsCardPayment_js_1.ListTransactionsResponseDataItemRelationshipsCardPayment.optional(),
48
50
  transfer: TxnTransferRel_js_1.TxnTransferRel.optional(),
49
51
  wallet: ListTransactionsResponseDataItemRelationshipsWallet_js_1.ListTransactionsResponseDataItemRelationshipsWallet.optional(),
50
52
  });
@@ -1,3 +1,6 @@
1
+ export * from "./GetTransactionsResponseDataRelationshipsCardPayment.js";
2
+ export * from "./GetTransactionsResponseDataRelationshipsCardPaymentData.js";
3
+ export * from "./GetTransactionsResponseDataRelationshipsCardPaymentDataType.js";
1
4
  export * from "./GetTransactionsResponseDataRelationshipsDestinationPartyData.js";
2
5
  export * from "./GetTransactionsResponseDataRelationshipsDestinationPartyDataType.js";
3
6
  export * from "./GetTransactionsResponseDataRelationshipsSourcePartyData.js";
@@ -7,6 +10,9 @@ export * from "./GetTransactionsResponseDataRelationshipsWalletData.js";
7
10
  export * from "./GetTransactionsResponseDataRelationshipsWalletDataType.js";
8
11
  export * from "./ListTransactionsRequestType.js";
9
12
  export * from "./ListTransactionsResponseDataItem.js";
13
+ export * from "./ListTransactionsResponseDataItemRelationshipsCardPayment.js";
14
+ export * from "./ListTransactionsResponseDataItemRelationshipsCardPaymentData.js";
15
+ export * from "./ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.js";
10
16
  export * from "./ListTransactionsResponseDataItemRelationshipsDestinationPartyData.js";
11
17
  export * from "./ListTransactionsResponseDataItemRelationshipsDestinationPartyDataType.js";
12
18
  export * from "./ListTransactionsResponseDataItemRelationshipsSourcePartyData.js";
@@ -14,6 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./GetTransactionsResponseDataRelationshipsCardPayment.js"), exports);
18
+ __exportStar(require("./GetTransactionsResponseDataRelationshipsCardPaymentData.js"), exports);
19
+ __exportStar(require("./GetTransactionsResponseDataRelationshipsCardPaymentDataType.js"), exports);
17
20
  __exportStar(require("./GetTransactionsResponseDataRelationshipsDestinationPartyData.js"), exports);
18
21
  __exportStar(require("./GetTransactionsResponseDataRelationshipsDestinationPartyDataType.js"), exports);
19
22
  __exportStar(require("./GetTransactionsResponseDataRelationshipsSourcePartyData.js"), exports);
@@ -23,6 +26,9 @@ __exportStar(require("./GetTransactionsResponseDataRelationshipsWalletData.js"),
23
26
  __exportStar(require("./GetTransactionsResponseDataRelationshipsWalletDataType.js"), exports);
24
27
  __exportStar(require("./ListTransactionsRequestType.js"), exports);
25
28
  __exportStar(require("./ListTransactionsResponseDataItem.js"), exports);
29
+ __exportStar(require("./ListTransactionsResponseDataItemRelationshipsCardPayment.js"), exports);
30
+ __exportStar(require("./ListTransactionsResponseDataItemRelationshipsCardPaymentData.js"), exports);
31
+ __exportStar(require("./ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.js"), exports);
26
32
  __exportStar(require("./ListTransactionsResponseDataItemRelationshipsDestinationPartyData.js"), exports);
27
33
  __exportStar(require("./ListTransactionsResponseDataItemRelationshipsDestinationPartyDataType.js"), exports);
28
34
  __exportStar(require("./ListTransactionsResponseDataItemRelationshipsSourcePartyData.js"), exports);
@@ -2,12 +2,14 @@ import type * as Natural from "../../../../../api/index.js";
2
2
  import * as core from "../../../../../core/index.js";
3
3
  import type * as serializers from "../../../../index.js";
4
4
  import { CreateWebhooksRequestEnabledEventsItem } from "../../types/CreateWebhooksRequestEnabledEventsItem.js";
5
+ import { CreateWebhooksRequestSourcesItem } from "../../types/CreateWebhooksRequestSourcesItem.js";
5
6
  export declare const NewWebhookParams: core.serialization.Schema<serializers.NewWebhookParams.Raw, Omit<Natural.NewWebhookParams, "idempotencyKey">>;
6
7
  export declare namespace NewWebhookParams {
7
8
  interface Raw {
8
9
  url: string;
9
10
  description?: string | null;
10
11
  enabledEvents: CreateWebhooksRequestEnabledEventsItem.Raw[];
12
+ sources?: CreateWebhooksRequestSourcesItem.Raw[] | null;
11
13
  tags?: Record<string, string> | null;
12
14
  }
13
15
  }
@@ -37,9 +37,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.NewWebhookParams = void 0;
38
38
  const core = __importStar(require("../../../../../core/index.js"));
39
39
  const CreateWebhooksRequestEnabledEventsItem_js_1 = require("../../types/CreateWebhooksRequestEnabledEventsItem.js");
40
+ const CreateWebhooksRequestSourcesItem_js_1 = require("../../types/CreateWebhooksRequestSourcesItem.js");
40
41
  exports.NewWebhookParams = core.serialization.object({
41
42
  url: core.serialization.string(),
42
43
  description: core.serialization.string().optional(),
43
44
  enabledEvents: core.serialization.list(CreateWebhooksRequestEnabledEventsItem_js_1.CreateWebhooksRequestEnabledEventsItem),
45
+ sources: core.serialization.list(CreateWebhooksRequestSourcesItem_js_1.CreateWebhooksRequestSourcesItem).optional(),
44
46
  tags: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
45
47
  });
@@ -2,6 +2,7 @@ import type * as Natural from "../../../../../api/index.js";
2
2
  import * as core from "../../../../../core/index.js";
3
3
  import type * as serializers from "../../../../index.js";
4
4
  import { UpdateWebhooksRequestEnabledEventsItem } from "../../types/UpdateWebhooksRequestEnabledEventsItem.js";
5
+ import { UpdateWebhooksRequestSourcesItem } from "../../types/UpdateWebhooksRequestSourcesItem.js";
5
6
  import { UpdateWebhooksRequestStatus } from "../../types/UpdateWebhooksRequestStatus.js";
6
7
  export declare const UpdWebhookParams: core.serialization.Schema<serializers.UpdWebhookParams.Raw, Omit<Natural.UpdWebhookParams, "webhookId" | "idempotencyKey">>;
7
8
  export declare namespace UpdWebhookParams {
@@ -10,6 +11,7 @@ export declare namespace UpdWebhookParams {
10
11
  description?: string | null;
11
12
  status?: UpdateWebhooksRequestStatus.Raw | null;
12
13
  enabledEvents?: UpdateWebhooksRequestEnabledEventsItem.Raw[] | null;
14
+ sources?: UpdateWebhooksRequestSourcesItem.Raw[] | null;
13
15
  tags?: Record<string, string | null | undefined> | null;
14
16
  }
15
17
  }
@@ -37,11 +37,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.UpdWebhookParams = void 0;
38
38
  const core = __importStar(require("../../../../../core/index.js"));
39
39
  const UpdateWebhooksRequestEnabledEventsItem_js_1 = require("../../types/UpdateWebhooksRequestEnabledEventsItem.js");
40
+ const UpdateWebhooksRequestSourcesItem_js_1 = require("../../types/UpdateWebhooksRequestSourcesItem.js");
40
41
  const UpdateWebhooksRequestStatus_js_1 = require("../../types/UpdateWebhooksRequestStatus.js");
41
42
  exports.UpdWebhookParams = core.serialization.object({
42
43
  url: core.serialization.string().optional(),
43
44
  description: core.serialization.string().optional(),
44
45
  status: UpdateWebhooksRequestStatus_js_1.UpdateWebhooksRequestStatus.optional(),
45
46
  enabledEvents: core.serialization.list(UpdateWebhooksRequestEnabledEventsItem_js_1.UpdateWebhooksRequestEnabledEventsItem).optional(),
47
+ sources: core.serialization.list(UpdateWebhooksRequestSourcesItem_js_1.UpdateWebhooksRequestSourcesItem).optional(),
46
48
  tags: core.serialization.record(core.serialization.string(), core.serialization.string().nullable()).optional(),
47
49
  });
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ export declare const CreateWebhooksRequestSourcesItem: core.serialization.Schema<serializers.CreateWebhooksRequestSourcesItem.Raw, Natural.CreateWebhooksRequestSourcesItem>;
5
+ export declare namespace CreateWebhooksRequestSourcesItem {
6
+ type Raw = "own" | "connected";
7
+ }
@@ -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.CreateWebhooksRequestSourcesItem = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.CreateWebhooksRequestSourcesItem = core.serialization.enum_(["own", "connected"]);
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ export declare const CreateWebhooksResponseDataAttributesSourcesItem: core.serialization.Schema<serializers.CreateWebhooksResponseDataAttributesSourcesItem.Raw, Natural.CreateWebhooksResponseDataAttributesSourcesItem>;
5
+ export declare namespace CreateWebhooksResponseDataAttributesSourcesItem {
6
+ type Raw = "own" | "connected";
7
+ }
@@ -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.CreateWebhooksResponseDataAttributesSourcesItem = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.CreateWebhooksResponseDataAttributesSourcesItem = core.serialization.enum_(["own", "connected"]);
@@ -3,6 +3,7 @@ import * as core from "../../../../core/index.js";
3
3
  import type * as serializers from "../../../index.js";
4
4
  import { DelWebhookStatus } from "./DelWebhookStatus.js";
5
5
  import { RemoveWebhooksResponseDataAttributesEnabledEventsItem } from "./RemoveWebhooksResponseDataAttributesEnabledEventsItem.js";
6
+ import { RemoveWebhooksResponseDataAttributesSourcesItem } from "./RemoveWebhooksResponseDataAttributesSourcesItem.js";
6
7
  export declare const DelWebhookAttrs: core.serialization.ObjectSchema<serializers.DelWebhookAttrs.Raw, Natural.DelWebhookAttrs>;
7
8
  export declare namespace DelWebhookAttrs {
8
9
  interface Raw {
@@ -10,6 +11,7 @@ export declare namespace DelWebhookAttrs {
10
11
  description: string;
11
12
  status: DelWebhookStatus.Raw;
12
13
  enabledEvents: RemoveWebhooksResponseDataAttributesEnabledEventsItem.Raw[];
14
+ sources: RemoveWebhooksResponseDataAttributesSourcesItem.Raw[];
13
15
  tags: Record<string, string>;
14
16
  createdAt: string;
15
17
  updatedAt: string;
@@ -38,11 +38,13 @@ exports.DelWebhookAttrs = void 0;
38
38
  const core = __importStar(require("../../../../core/index.js"));
39
39
  const DelWebhookStatus_js_1 = require("./DelWebhookStatus.js");
40
40
  const RemoveWebhooksResponseDataAttributesEnabledEventsItem_js_1 = require("./RemoveWebhooksResponseDataAttributesEnabledEventsItem.js");
41
+ const RemoveWebhooksResponseDataAttributesSourcesItem_js_1 = require("./RemoveWebhooksResponseDataAttributesSourcesItem.js");
41
42
  exports.DelWebhookAttrs = core.serialization.object({
42
43
  url: core.serialization.string(),
43
44
  description: core.serialization.string(),
44
45
  status: DelWebhookStatus_js_1.DelWebhookStatus,
45
46
  enabledEvents: core.serialization.list(RemoveWebhooksResponseDataAttributesEnabledEventsItem_js_1.RemoveWebhooksResponseDataAttributesEnabledEventsItem),
47
+ sources: core.serialization.list(RemoveWebhooksResponseDataAttributesSourcesItem_js_1.RemoveWebhooksResponseDataAttributesSourcesItem),
46
48
  tags: core.serialization.record(core.serialization.string(), core.serialization.string()),
47
49
  createdAt: core.serialization.date(),
48
50
  updatedAt: core.serialization.date(),
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ export declare const GetWebhooksResponseDataAttributesSourcesItem: core.serialization.Schema<serializers.GetWebhooksResponseDataAttributesSourcesItem.Raw, Natural.GetWebhooksResponseDataAttributesSourcesItem>;
5
+ export declare namespace GetWebhooksResponseDataAttributesSourcesItem {
6
+ type Raw = "own" | "connected";
7
+ }
@@ -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.GetWebhooksResponseDataAttributesSourcesItem = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.GetWebhooksResponseDataAttributesSourcesItem = core.serialization.enum_(["own", "connected"]);
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ export declare const ListWebhooksResponseDataItemAttributesSourcesItem: core.serialization.Schema<serializers.ListWebhooksResponseDataItemAttributesSourcesItem.Raw, Natural.ListWebhooksResponseDataItemAttributesSourcesItem>;
5
+ export declare namespace ListWebhooksResponseDataItemAttributesSourcesItem {
6
+ type Raw = "own" | "connected";
7
+ }