@vality/swag-payments 0.1.0

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 (579) hide show
  1. package/README.md +24 -0
  2. package/esm2020/lib/api/api.mjs +32 -0
  3. package/esm2020/lib/api/categories.service.mjs +212 -0
  4. package/esm2020/lib/api/contracts.service.mjs +592 -0
  5. package/esm2020/lib/api/countries.service.mjs +212 -0
  6. package/esm2020/lib/api/customers.service.mjs +675 -0
  7. package/esm2020/lib/api/invoice-templates.service.mjs +491 -0
  8. package/esm2020/lib/api/invoices.service.mjs +698 -0
  9. package/esm2020/lib/api/parties.service.mjs +444 -0
  10. package/esm2020/lib/api/payment-institutions.service.mjs +622 -0
  11. package/esm2020/lib/api/payments.service.mjs +1056 -0
  12. package/esm2020/lib/api/payouts.service.mjs +541 -0
  13. package/esm2020/lib/api/search.service.mjs +616 -0
  14. package/esm2020/lib/api/shops.service.mjs +584 -0
  15. package/esm2020/lib/api/tokens.service.mjs +165 -0
  16. package/esm2020/lib/api/trade-blocs.service.mjs +212 -0
  17. package/esm2020/lib/api/webhooks.service.mjs +401 -0
  18. package/esm2020/lib/api.module.mjs +40 -0
  19. package/esm2020/lib/configuration.mjs +102 -0
  20. package/esm2020/lib/encoder.mjs +19 -0
  21. package/esm2020/lib/index.mjs +7 -0
  22. package/esm2020/lib/model/access-token.mjs +13 -0
  23. package/esm2020/lib/model/allocation-body-amount-all-of.mjs +13 -0
  24. package/esm2020/lib/model/allocation-body-amount.mjs +2 -0
  25. package/esm2020/lib/model/allocation-body-total-all-of.mjs +2 -0
  26. package/esm2020/lib/model/allocation-body-total.mjs +2 -0
  27. package/esm2020/lib/model/allocation-fee-fixed-all-of.mjs +13 -0
  28. package/esm2020/lib/model/allocation-fee-fixed.mjs +2 -0
  29. package/esm2020/lib/model/allocation-fee-share-all-of.mjs +2 -0
  30. package/esm2020/lib/model/allocation-fee-share.mjs +2 -0
  31. package/esm2020/lib/model/allocation-fee-target.mjs +18 -0
  32. package/esm2020/lib/model/allocation-fee.mjs +8 -0
  33. package/esm2020/lib/model/allocation-target-shop-all-of.mjs +13 -0
  34. package/esm2020/lib/model/allocation-target-shop.mjs +2 -0
  35. package/esm2020/lib/model/allocation-target.mjs +18 -0
  36. package/esm2020/lib/model/allocation-transaction.mjs +8 -0
  37. package/esm2020/lib/model/apple-pay-all-of.mjs +13 -0
  38. package/esm2020/lib/model/apple-pay.mjs +2 -0
  39. package/esm2020/lib/model/articles-of-association.mjs +2 -0
  40. package/esm2020/lib/model/bank-account.mjs +13 -0
  41. package/esm2020/lib/model/bank-card-all-of-token-provider-data.mjs +19 -0
  42. package/esm2020/lib/model/bank-card-all-of.mjs +2 -0
  43. package/esm2020/lib/model/bank-card-details.mjs +19 -0
  44. package/esm2020/lib/model/bank-card-token-provider-data.mjs +19 -0
  45. package/esm2020/lib/model/bank-card-tokenization-method.mjs +16 -0
  46. package/esm2020/lib/model/bank-card.mjs +2 -0
  47. package/esm2020/lib/model/browser-get-request-all-of.mjs +13 -0
  48. package/esm2020/lib/model/browser-get-request.mjs +2 -0
  49. package/esm2020/lib/model/browser-post-request-all-of.mjs +2 -0
  50. package/esm2020/lib/model/browser-post-request.mjs +2 -0
  51. package/esm2020/lib/model/browser-request.mjs +13 -0
  52. package/esm2020/lib/model/cancel-payment400-response.mjs +23 -0
  53. package/esm2020/lib/model/capture-params-all-of.mjs +2 -0
  54. package/esm2020/lib/model/capture-params.mjs +2 -0
  55. package/esm2020/lib/model/capture-payment400-response.mjs +28 -0
  56. package/esm2020/lib/model/card-data-all-of.mjs +13 -0
  57. package/esm2020/lib/model/card-data.mjs +2 -0
  58. package/esm2020/lib/model/category.mjs +13 -0
  59. package/esm2020/lib/model/chargeback.mjs +26 -0
  60. package/esm2020/lib/model/client-info.mjs +13 -0
  61. package/esm2020/lib/model/contact-info.mjs +13 -0
  62. package/esm2020/lib/model/contract-adjustment.mjs +13 -0
  63. package/esm2020/lib/model/contract.mjs +8 -0
  64. package/esm2020/lib/model/contractor.mjs +20 -0
  65. package/esm2020/lib/model/cost-amount-range.mjs +13 -0
  66. package/esm2020/lib/model/country.mjs +13 -0
  67. package/esm2020/lib/model/create-binding400-response.mjs +25 -0
  68. package/esm2020/lib/model/create-customer400-response.mjs +25 -0
  69. package/esm2020/lib/model/create-invoice-template400-response.mjs +25 -0
  70. package/esm2020/lib/model/create-invoice-with-template400-response.mjs +22 -0
  71. package/esm2020/lib/model/create-invoice400-response.mjs +29 -0
  72. package/esm2020/lib/model/create-payment400-response.mjs +29 -0
  73. package/esm2020/lib/model/create-payout400-response.mjs +23 -0
  74. package/esm2020/lib/model/create-refund400-response.mjs +32 -0
  75. package/esm2020/lib/model/create-webhook400-response.mjs +22 -0
  76. package/esm2020/lib/model/create-webhook429-response.mjs +13 -0
  77. package/esm2020/lib/model/crypto-currency-transfer-request-all-of.mjs +13 -0
  78. package/esm2020/lib/model/crypto-currency-transfer-request.mjs +2 -0
  79. package/esm2020/lib/model/crypto-wallet-all-of.mjs +13 -0
  80. package/esm2020/lib/model/crypto-wallet-data.mjs +2 -0
  81. package/esm2020/lib/model/crypto-wallet-details.mjs +13 -0
  82. package/esm2020/lib/model/crypto-wallet.mjs +2 -0
  83. package/esm2020/lib/model/customer-and-token.mjs +2 -0
  84. package/esm2020/lib/model/customer-binding-error.mjs +13 -0
  85. package/esm2020/lib/model/customer-binding-interaction-completed-all-of.mjs +2 -0
  86. package/esm2020/lib/model/customer-binding-interaction-completed.mjs +2 -0
  87. package/esm2020/lib/model/customer-binding-interaction-requested-all-of.mjs +2 -0
  88. package/esm2020/lib/model/customer-binding-interaction-requested.mjs +2 -0
  89. package/esm2020/lib/model/customer-binding-params.mjs +2 -0
  90. package/esm2020/lib/model/customer-binding-started-all-of.mjs +2 -0
  91. package/esm2020/lib/model/customer-binding-started.mjs +2 -0
  92. package/esm2020/lib/model/customer-binding-status-changed-all-of.mjs +13 -0
  93. package/esm2020/lib/model/customer-binding-status-changed.mjs +9 -0
  94. package/esm2020/lib/model/customer-binding-status.mjs +9 -0
  95. package/esm2020/lib/model/customer-binding.mjs +9 -0
  96. package/esm2020/lib/model/customer-change.mjs +21 -0
  97. package/esm2020/lib/model/customer-event.mjs +2 -0
  98. package/esm2020/lib/model/customer-params.mjs +2 -0
  99. package/esm2020/lib/model/customer-payer-all-of.mjs +2 -0
  100. package/esm2020/lib/model/customer-payer.mjs +2 -0
  101. package/esm2020/lib/model/customer.mjs +8 -0
  102. package/esm2020/lib/model/customers-topic-all-of.mjs +23 -0
  103. package/esm2020/lib/model/customers-topic.mjs +12 -0
  104. package/esm2020/lib/model/decimal.mjs +13 -0
  105. package/esm2020/lib/model/default-logic-error.mjs +19 -0
  106. package/esm2020/lib/model/delete-customer400-response.mjs +21 -0
  107. package/esm2020/lib/model/digital-wallet-all-of.mjs +13 -0
  108. package/esm2020/lib/model/digital-wallet-data-all-of.mjs +13 -0
  109. package/esm2020/lib/model/digital-wallet-data.mjs +2 -0
  110. package/esm2020/lib/model/digital-wallet-details.mjs +13 -0
  111. package/esm2020/lib/model/digital-wallet.mjs +2 -0
  112. package/esm2020/lib/model/external-id-conflict-error.mjs +13 -0
  113. package/esm2020/lib/model/fulfill-invoice400-response.mjs +22 -0
  114. package/esm2020/lib/model/general-error.mjs +13 -0
  115. package/esm2020/lib/model/google-pay-all-of.mjs +13 -0
  116. package/esm2020/lib/model/google-pay.mjs +2 -0
  117. package/esm2020/lib/model/international-bank-account.mjs +2 -0
  118. package/esm2020/lib/model/international-bank-details.mjs +13 -0
  119. package/esm2020/lib/model/international-correspondent-bank-account.mjs +2 -0
  120. package/esm2020/lib/model/international-legal-entity-all-of.mjs +13 -0
  121. package/esm2020/lib/model/international-legal-entity.mjs +2 -0
  122. package/esm2020/lib/model/invoice-and-token.mjs +2 -0
  123. package/esm2020/lib/model/invoice-bank-account.mjs +18 -0
  124. package/esm2020/lib/model/invoice-change.mjs +25 -0
  125. package/esm2020/lib/model/invoice-client-info.mjs +19 -0
  126. package/esm2020/lib/model/invoice-created-all-of.mjs +2 -0
  127. package/esm2020/lib/model/invoice-created.mjs +2 -0
  128. package/esm2020/lib/model/invoice-event.mjs +2 -0
  129. package/esm2020/lib/model/invoice-line-tax-mode.mjs +18 -0
  130. package/esm2020/lib/model/invoice-line-tax-vat-all-of.mjs +24 -0
  131. package/esm2020/lib/model/invoice-line-tax-vat.mjs +13 -0
  132. package/esm2020/lib/model/invoice-line.mjs +2 -0
  133. package/esm2020/lib/model/invoice-params-with-template.mjs +13 -0
  134. package/esm2020/lib/model/invoice-params.mjs +2 -0
  135. package/esm2020/lib/model/invoice-russian-bank-account-all-of.mjs +13 -0
  136. package/esm2020/lib/model/invoice-russian-bank-account.mjs +2 -0
  137. package/esm2020/lib/model/invoice-status-changed.mjs +10 -0
  138. package/esm2020/lib/model/invoice-status.mjs +21 -0
  139. package/esm2020/lib/model/invoice-template-and-token.mjs +2 -0
  140. package/esm2020/lib/model/invoice-template-create-params.mjs +2 -0
  141. package/esm2020/lib/model/invoice-template-details.mjs +13 -0
  142. package/esm2020/lib/model/invoice-template-line-cost-fixed-all-of.mjs +13 -0
  143. package/esm2020/lib/model/invoice-template-line-cost-fixed.mjs +2 -0
  144. package/esm2020/lib/model/invoice-template-line-cost-range-all-of.mjs +2 -0
  145. package/esm2020/lib/model/invoice-template-line-cost-range.mjs +2 -0
  146. package/esm2020/lib/model/invoice-template-line-cost-unlim.mjs +2 -0
  147. package/esm2020/lib/model/invoice-template-line-cost.mjs +13 -0
  148. package/esm2020/lib/model/invoice-template-multi-line-all-of.mjs +2 -0
  149. package/esm2020/lib/model/invoice-template-multi-line.mjs +2 -0
  150. package/esm2020/lib/model/invoice-template-single-line-all-of.mjs +2 -0
  151. package/esm2020/lib/model/invoice-template-single-line.mjs +2 -0
  152. package/esm2020/lib/model/invoice-template-update-params.mjs +2 -0
  153. package/esm2020/lib/model/invoice-template.mjs +2 -0
  154. package/esm2020/lib/model/invoice.mjs +10 -0
  155. package/esm2020/lib/model/invoices-topic-all-of.mjs +30 -0
  156. package/esm2020/lib/model/invoices-topic.mjs +19 -0
  157. package/esm2020/lib/model/legal-agreement.mjs +13 -0
  158. package/esm2020/lib/model/legal-entity-all-of.mjs +19 -0
  159. package/esm2020/lib/model/legal-entity.mjs +2 -0
  160. package/esm2020/lib/model/lifetime-interval.mjs +13 -0
  161. package/esm2020/lib/model/logic-error.mjs +13 -0
  162. package/esm2020/lib/model/mobile-commerce-all-of.mjs +13 -0
  163. package/esm2020/lib/model/mobile-commerce-data-all-of.mjs +2 -0
  164. package/esm2020/lib/model/mobile-commerce-data.mjs +2 -0
  165. package/esm2020/lib/model/mobile-commerce-details.mjs +13 -0
  166. package/esm2020/lib/model/mobile-commerce-phone.mjs +13 -0
  167. package/esm2020/lib/model/mobile-commerce.mjs +2 -0
  168. package/esm2020/lib/model/models.mjs +262 -0
  169. package/esm2020/lib/model/party.mjs +13 -0
  170. package/esm2020/lib/model/payer-session-info.mjs +13 -0
  171. package/esm2020/lib/model/payer.mjs +2 -0
  172. package/esm2020/lib/model/payment-error.mjs +2 -0
  173. package/esm2020/lib/model/payment-flow-hold-all-of.mjs +19 -0
  174. package/esm2020/lib/model/payment-flow-hold.mjs +8 -0
  175. package/esm2020/lib/model/payment-flow-instant.mjs +2 -0
  176. package/esm2020/lib/model/payment-flow.mjs +19 -0
  177. package/esm2020/lib/model/payment-institution.mjs +19 -0
  178. package/esm2020/lib/model/payment-interaction-completed-all-of.mjs +2 -0
  179. package/esm2020/lib/model/payment-interaction-completed.mjs +2 -0
  180. package/esm2020/lib/model/payment-interaction-requested-all-of.mjs +2 -0
  181. package/esm2020/lib/model/payment-interaction-requested.mjs +2 -0
  182. package/esm2020/lib/model/payment-method.mjs +22 -0
  183. package/esm2020/lib/model/payment-params.mjs +2 -0
  184. package/esm2020/lib/model/payment-recurrent-parent.mjs +13 -0
  185. package/esm2020/lib/model/payment-resource-client-info.mjs +13 -0
  186. package/esm2020/lib/model/payment-resource-params.mjs +2 -0
  187. package/esm2020/lib/model/payment-resource-payer-all-of.mjs +2 -0
  188. package/esm2020/lib/model/payment-resource-payer.mjs +2 -0
  189. package/esm2020/lib/model/payment-resource-result.mjs +2 -0
  190. package/esm2020/lib/model/payment-resource.mjs +2 -0
  191. package/esm2020/lib/model/payment-search-result-all-of.mjs +2 -0
  192. package/esm2020/lib/model/payment-search-result.mjs +12 -0
  193. package/esm2020/lib/model/payment-started-all-of.mjs +2 -0
  194. package/esm2020/lib/model/payment-started.mjs +2 -0
  195. package/esm2020/lib/model/payment-status-changed-all-of.mjs +13 -0
  196. package/esm2020/lib/model/payment-status-changed.mjs +12 -0
  197. package/esm2020/lib/model/payment-status.mjs +12 -0
  198. package/esm2020/lib/model/payment-terminal-all-of.mjs +13 -0
  199. package/esm2020/lib/model/payment-terminal-data-all-of.mjs +13 -0
  200. package/esm2020/lib/model/payment-terminal-data.mjs +2 -0
  201. package/esm2020/lib/model/payment-terminal-details.mjs +13 -0
  202. package/esm2020/lib/model/payment-terminal-receipt-all-of.mjs +13 -0
  203. package/esm2020/lib/model/payment-terminal-receipt.mjs +2 -0
  204. package/esm2020/lib/model/payment-terminal.mjs +2 -0
  205. package/esm2020/lib/model/payment-terms.mjs +13 -0
  206. package/esm2020/lib/model/payment-tool-details-bank-card.mjs +8 -0
  207. package/esm2020/lib/model/payment-tool-details-crypto-wallet.mjs +2 -0
  208. package/esm2020/lib/model/payment-tool-details-digital-wallet.mjs +2 -0
  209. package/esm2020/lib/model/payment-tool-details-mobile-commerce.mjs +2 -0
  210. package/esm2020/lib/model/payment-tool-details-payment-terminal.mjs +2 -0
  211. package/esm2020/lib/model/payment-tool-details.mjs +13 -0
  212. package/esm2020/lib/model/payment-tool.mjs +23 -0
  213. package/esm2020/lib/model/payment.mjs +12 -0
  214. package/esm2020/lib/model/payout-params.mjs +13 -0
  215. package/esm2020/lib/model/payout-tool-all-of.mjs +13 -0
  216. package/esm2020/lib/model/payout-tool-details-bank-account.mjs +2 -0
  217. package/esm2020/lib/model/payout-tool-details-international-bank-account.mjs +2 -0
  218. package/esm2020/lib/model/payout-tool-details-payment-institution-account.mjs +2 -0
  219. package/esm2020/lib/model/payout-tool-details-wallet-info-all-of.mjs +13 -0
  220. package/esm2020/lib/model/payout-tool-details-wallet-info.mjs +2 -0
  221. package/esm2020/lib/model/payout-tool-details.mjs +13 -0
  222. package/esm2020/lib/model/payout-tool-params.mjs +2 -0
  223. package/esm2020/lib/model/payout-tool.mjs +2 -0
  224. package/esm2020/lib/model/payout.mjs +2 -0
  225. package/esm2020/lib/model/power-of-attorney.mjs +2 -0
  226. package/esm2020/lib/model/private-entity-all-of.mjs +18 -0
  227. package/esm2020/lib/model/private-entity.mjs +2 -0
  228. package/esm2020/lib/model/qr-code-display-request-all-of.mjs +13 -0
  229. package/esm2020/lib/model/qr-code-display-request.mjs +2 -0
  230. package/esm2020/lib/model/realm-mode.mjs +16 -0
  231. package/esm2020/lib/model/reason.mjs +13 -0
  232. package/esm2020/lib/model/recurrent-payer-all-of.mjs +2 -0
  233. package/esm2020/lib/model/recurrent-payer.mjs +2 -0
  234. package/esm2020/lib/model/redirect-all-of.mjs +2 -0
  235. package/esm2020/lib/model/redirect.mjs +2 -0
  236. package/esm2020/lib/model/refund-error.mjs +13 -0
  237. package/esm2020/lib/model/refund-params.mjs +2 -0
  238. package/esm2020/lib/model/refund-search-result-all-of.mjs +13 -0
  239. package/esm2020/lib/model/refund-search-result.mjs +9 -0
  240. package/esm2020/lib/model/refund-started-all-of.mjs +2 -0
  241. package/esm2020/lib/model/refund-started.mjs +2 -0
  242. package/esm2020/lib/model/refund-status-changed-all-of.mjs +13 -0
  243. package/esm2020/lib/model/refund-status-changed.mjs +9 -0
  244. package/esm2020/lib/model/refund-status.mjs +9 -0
  245. package/esm2020/lib/model/refund.mjs +9 -0
  246. package/esm2020/lib/model/registered-user-all-of.mjs +13 -0
  247. package/esm2020/lib/model/registered-user.mjs +2 -0
  248. package/esm2020/lib/model/report-link.mjs +13 -0
  249. package/esm2020/lib/model/report-params.mjs +18 -0
  250. package/esm2020/lib/model/reporting-preferences.mjs +2 -0
  251. package/esm2020/lib/model/representative-document.mjs +19 -0
  252. package/esm2020/lib/model/representative.mjs +2 -0
  253. package/esm2020/lib/model/rescind-invoice400-response.mjs +23 -0
  254. package/esm2020/lib/model/russian-legal-entity-all-of.mjs +2 -0
  255. package/esm2020/lib/model/russian-legal-entity.mjs +2 -0
  256. package/esm2020/lib/model/russian-private-entity-all-of.mjs +2 -0
  257. package/esm2020/lib/model/russian-private-entity.mjs +2 -0
  258. package/esm2020/lib/model/samsung-pay-all-of.mjs +13 -0
  259. package/esm2020/lib/model/samsung-pay.mjs +2 -0
  260. package/esm2020/lib/model/schedule.mjs +13 -0
  261. package/esm2020/lib/model/search-invoices200-response.mjs +2 -0
  262. package/esm2020/lib/model/search-payments200-response.mjs +2 -0
  263. package/esm2020/lib/model/search-payouts200-response.mjs +2 -0
  264. package/esm2020/lib/model/search-refunds200-response.mjs +2 -0
  265. package/esm2020/lib/model/service-acceptance-act-preferences.mjs +2 -0
  266. package/esm2020/lib/model/service-provider.mjs +13 -0
  267. package/esm2020/lib/model/shop-details.mjs +13 -0
  268. package/esm2020/lib/model/shop-location-url-all-of.mjs +13 -0
  269. package/esm2020/lib/model/shop-location-url.mjs +2 -0
  270. package/esm2020/lib/model/shop-location.mjs +13 -0
  271. package/esm2020/lib/model/shop.mjs +2 -0
  272. package/esm2020/lib/model/sub-error.mjs +13 -0
  273. package/esm2020/lib/model/tokenized-card-data-all-of.mjs +21 -0
  274. package/esm2020/lib/model/tokenized-card-data.mjs +2 -0
  275. package/esm2020/lib/model/trade-bloc.mjs +13 -0
  276. package/esm2020/lib/model/transaction-info.mjs +13 -0
  277. package/esm2020/lib/model/update-invoice-template400-response.mjs +22 -0
  278. package/esm2020/lib/model/user-interaction-form-inner.mjs +13 -0
  279. package/esm2020/lib/model/user-interaction.mjs +13 -0
  280. package/esm2020/lib/model/webhook-scope.mjs +19 -0
  281. package/esm2020/lib/model/webhook.mjs +2 -0
  282. package/esm2020/lib/model/yandex-pay-all-of.mjs +13 -0
  283. package/esm2020/lib/model/yandex-pay.mjs +2 -0
  284. package/esm2020/lib/param.mjs +2 -0
  285. package/esm2020/lib/variables.mjs +9 -0
  286. package/esm2020/public-api.mjs +2 -0
  287. package/esm2020/vality-swag-payments.mjs +5 -0
  288. package/fesm2015/vality-swag-payments.mjs +8780 -0
  289. package/fesm2015/vality-swag-payments.mjs.map +1 -0
  290. package/fesm2020/vality-swag-payments.mjs +9648 -0
  291. package/fesm2020/vality-swag-payments.mjs.map +1 -0
  292. package/lib/api/api.d.ts +31 -0
  293. package/lib/api/categories.service.d.ts +67 -0
  294. package/lib/api/contracts.service.d.ts +234 -0
  295. package/lib/api/countries.service.d.ts +67 -0
  296. package/lib/api/customers.service.d.ts +266 -0
  297. package/lib/api/invoice-templates.service.d.ts +183 -0
  298. package/lib/api/invoices.service.d.ts +267 -0
  299. package/lib/api/parties.service.d.ts +165 -0
  300. package/lib/api/payment-institutions.service.d.ts +245 -0
  301. package/lib/api/payments.service.d.ts +419 -0
  302. package/lib/api/payouts.service.d.ts +209 -0
  303. package/lib/api/search.service.d.ts +242 -0
  304. package/lib/api/shops.service.d.ts +229 -0
  305. package/lib/api/tokens.service.d.ts +44 -0
  306. package/lib/api/trade-blocs.service.d.ts +67 -0
  307. package/lib/api/webhooks.service.d.ts +145 -0
  308. package/lib/api.module.d.ts +11 -0
  309. package/lib/configuration.d.ts +104 -0
  310. package/lib/encoder.d.ts +11 -0
  311. package/lib/index.d.ts +6 -0
  312. package/lib/model/access-token.d.ts +17 -0
  313. package/lib/model/allocation-body-amount-all-of.d.ts +21 -0
  314. package/lib/model/allocation-body-amount.d.ts +16 -0
  315. package/lib/model/allocation-body-total-all-of.d.ts +27 -0
  316. package/lib/model/allocation-body-total.d.ts +22 -0
  317. package/lib/model/allocation-fee-fixed-all-of.d.ts +17 -0
  318. package/lib/model/allocation-fee-fixed.d.ts +12 -0
  319. package/lib/model/allocation-fee-share-all-of.d.ts +19 -0
  320. package/lib/model/allocation-fee-share.d.ts +14 -0
  321. package/lib/model/allocation-fee-target.d.ts +23 -0
  322. package/lib/model/allocation-fee.d.ts +26 -0
  323. package/lib/model/allocation-target-shop-all-of.d.ts +17 -0
  324. package/lib/model/allocation-target-shop.d.ts +23 -0
  325. package/lib/model/allocation-target.d.ts +23 -0
  326. package/lib/model/allocation-transaction.d.ts +34 -0
  327. package/lib/model/apple-pay-all-of.d.ts +24 -0
  328. package/lib/model/apple-pay.d.ts +24 -0
  329. package/lib/model/articles-of-association.d.ts +19 -0
  330. package/lib/model/bank-account.d.ts +29 -0
  331. package/lib/model/bank-card-all-of-token-provider-data.d.ts +36 -0
  332. package/lib/model/bank-card-all-of.d.ts +23 -0
  333. package/lib/model/bank-card-details.d.ts +44 -0
  334. package/lib/model/bank-card-token-provider-data.d.ts +39 -0
  335. package/lib/model/bank-card-tokenization-method.d.ts +19 -0
  336. package/lib/model/bank-card.d.ts +26 -0
  337. package/lib/model/browser-get-request-all-of.d.ts +17 -0
  338. package/lib/model/browser-get-request.d.ts +18 -0
  339. package/lib/model/browser-post-request-all-of.d.ts +22 -0
  340. package/lib/model/browser-post-request.d.ts +23 -0
  341. package/lib/model/browser-request.d.ts +17 -0
  342. package/lib/model/cancel-payment400-response.d.ts +32 -0
  343. package/lib/model/capture-params-all-of.d.ts +34 -0
  344. package/lib/model/capture-params.d.ts +35 -0
  345. package/lib/model/capture-payment400-response.d.ts +37 -0
  346. package/lib/model/card-data-all-of.d.ts +32 -0
  347. package/lib/model/card-data.d.ts +32 -0
  348. package/lib/model/category.d.ts +16 -0
  349. package/lib/model/chargeback.d.ts +60 -0
  350. package/lib/model/client-info.d.ts +28 -0
  351. package/lib/model/contact-info.d.ts +24 -0
  352. package/lib/model/contract-adjustment.d.ts +32 -0
  353. package/lib/model/contract.d.ts +54 -0
  354. package/lib/model/contractor.d.ts +28 -0
  355. package/lib/model/cost-amount-range.d.ts +21 -0
  356. package/lib/model/country.d.ts +22 -0
  357. package/lib/model/create-binding400-response.d.ts +34 -0
  358. package/lib/model/create-customer400-response.d.ts +34 -0
  359. package/lib/model/create-invoice-template400-response.d.ts +34 -0
  360. package/lib/model/create-invoice-with-template400-response.d.ts +31 -0
  361. package/lib/model/create-invoice400-response.d.ts +38 -0
  362. package/lib/model/create-payment400-response.d.ts +38 -0
  363. package/lib/model/create-payout400-response.d.ts +32 -0
  364. package/lib/model/create-refund400-response.d.ts +41 -0
  365. package/lib/model/create-webhook400-response.d.ts +31 -0
  366. package/lib/model/create-webhook429-response.d.ts +17 -0
  367. package/lib/model/crypto-currency-transfer-request-all-of.d.ts +25 -0
  368. package/lib/model/crypto-currency-transfer-request.d.ts +26 -0
  369. package/lib/model/crypto-wallet-all-of.d.ts +17 -0
  370. package/lib/model/crypto-wallet-data.d.ts +20 -0
  371. package/lib/model/crypto-wallet-details.d.ts +17 -0
  372. package/lib/model/crypto-wallet.d.ts +20 -0
  373. package/lib/model/customer-and-token.d.ts +17 -0
  374. package/lib/model/customer-binding-error.d.ts +18 -0
  375. package/lib/model/customer-binding-interaction-completed-all-of.d.ts +22 -0
  376. package/lib/model/customer-binding-interaction-completed.d.ts +22 -0
  377. package/lib/model/customer-binding-interaction-requested-all-of.d.ts +22 -0
  378. package/lib/model/customer-binding-interaction-requested.d.ts +22 -0
  379. package/lib/model/customer-binding-params.d.ts +19 -0
  380. package/lib/model/customer-binding-started-all-of.d.ts +15 -0
  381. package/lib/model/customer-binding-started.d.ts +18 -0
  382. package/lib/model/customer-binding-status-changed-all-of.d.ts +14 -0
  383. package/lib/model/customer-binding-status-changed.d.ts +29 -0
  384. package/lib/model/customer-binding-status.d.ts +27 -0
  385. package/lib/model/customer-binding.d.ts +37 -0
  386. package/lib/model/customer-change.d.ts +23 -0
  387. package/lib/model/customer-event.d.ts +17 -0
  388. package/lib/model/customer-params.d.ts +31 -0
  389. package/lib/model/customer-payer-all-of.d.ts +19 -0
  390. package/lib/model/customer-payer.d.ts +23 -0
  391. package/lib/model/customer.d.ts +46 -0
  392. package/lib/model/customers-topic-all-of.d.ts +32 -0
  393. package/lib/model/customers-topic.d.ts +36 -0
  394. package/lib/model/decimal.d.ts +24 -0
  395. package/lib/model/default-logic-error.d.ts +28 -0
  396. package/lib/model/delete-customer400-response.d.ts +30 -0
  397. package/lib/model/digital-wallet-all-of.d.ts +17 -0
  398. package/lib/model/digital-wallet-data-all-of.d.ts +28 -0
  399. package/lib/model/digital-wallet-data.d.ts +28 -0
  400. package/lib/model/digital-wallet-details.d.ts +17 -0
  401. package/lib/model/digital-wallet.d.ts +20 -0
  402. package/lib/model/external-id-conflict-error.d.ts +25 -0
  403. package/lib/model/fulfill-invoice400-response.d.ts +31 -0
  404. package/lib/model/general-error.d.ts +14 -0
  405. package/lib/model/google-pay-all-of.d.ts +24 -0
  406. package/lib/model/google-pay.d.ts +24 -0
  407. package/lib/model/international-bank-account.d.ts +28 -0
  408. package/lib/model/international-bank-details.d.ts +36 -0
  409. package/lib/model/international-correspondent-bank-account.d.ts +24 -0
  410. package/lib/model/international-legal-entity-all-of.d.ts +37 -0
  411. package/lib/model/international-legal-entity.d.ts +43 -0
  412. package/lib/model/invoice-and-token.d.ts +17 -0
  413. package/lib/model/invoice-bank-account.d.ts +26 -0
  414. package/lib/model/invoice-change.d.ts +27 -0
  415. package/lib/model/invoice-client-info.d.ts +27 -0
  416. package/lib/model/invoice-created-all-of.d.ts +15 -0
  417. package/lib/model/invoice-created.d.ts +18 -0
  418. package/lib/model/invoice-event.d.ts +17 -0
  419. package/lib/model/invoice-line-tax-mode.d.ts +26 -0
  420. package/lib/model/invoice-line-tax-vat-all-of.d.ts +32 -0
  421. package/lib/model/invoice-line-tax-vat.d.ts +30 -0
  422. package/lib/model/invoice-line.d.ts +34 -0
  423. package/lib/model/invoice-params-with-template.d.ts +29 -0
  424. package/lib/model/invoice-params.d.ts +63 -0
  425. package/lib/model/invoice-russian-bank-account-all-of.d.ts +24 -0
  426. package/lib/model/invoice-russian-bank-account.d.ts +24 -0
  427. package/lib/model/invoice-status-changed.d.ts +31 -0
  428. package/lib/model/invoice-status.d.ts +30 -0
  429. package/lib/model/invoice-template-and-token.d.ts +17 -0
  430. package/lib/model/invoice-template-create-params.d.ts +41 -0
  431. package/lib/model/invoice-template-details.d.ts +14 -0
  432. package/lib/model/invoice-template-line-cost-fixed-all-of.d.ts +21 -0
  433. package/lib/model/invoice-template-line-cost-fixed.d.ts +22 -0
  434. package/lib/model/invoice-template-line-cost-range-all-of.d.ts +19 -0
  435. package/lib/model/invoice-template-line-cost-range.d.ts +20 -0
  436. package/lib/model/invoice-template-line-cost-unlim.d.ts +14 -0
  437. package/lib/model/invoice-template-line-cost.d.ts +17 -0
  438. package/lib/model/invoice-template-multi-line-all-of.d.ts +22 -0
  439. package/lib/model/invoice-template-multi-line.d.ts +23 -0
  440. package/lib/model/invoice-template-single-line-all-of.d.ts +21 -0
  441. package/lib/model/invoice-template-single-line.d.ts +22 -0
  442. package/lib/model/invoice-template-update-params.d.ts +29 -0
  443. package/lib/model/invoice-template.d.ts +45 -0
  444. package/lib/model/invoice.d.ts +88 -0
  445. package/lib/model/invoices-topic-all-of.d.ts +39 -0
  446. package/lib/model/invoices-topic.d.ts +43 -0
  447. package/lib/model/legal-agreement.d.ts +28 -0
  448. package/lib/model/legal-entity-all-of.d.ts +24 -0
  449. package/lib/model/legal-entity.d.ts +20 -0
  450. package/lib/model/lifetime-interval.d.ts +19 -0
  451. package/lib/model/logic-error.d.ts +18 -0
  452. package/lib/model/mobile-commerce-all-of.d.ts +17 -0
  453. package/lib/model/mobile-commerce-data-all-of.d.ts +18 -0
  454. package/lib/model/mobile-commerce-data.d.ts +6 -0
  455. package/lib/model/mobile-commerce-details.d.ts +17 -0
  456. package/lib/model/mobile-commerce-phone.d.ts +24 -0
  457. package/lib/model/mobile-commerce.d.ts +20 -0
  458. package/lib/model/models.d.ts +261 -0
  459. package/lib/model/party.d.ts +16 -0
  460. package/lib/model/payer-session-info.d.ts +20 -0
  461. package/lib/model/payer.d.ts +19 -0
  462. package/lib/model/payment-error.d.ts +22 -0
  463. package/lib/model/payment-flow-hold-all-of.d.ts +28 -0
  464. package/lib/model/payment-flow-hold.d.ts +29 -0
  465. package/lib/model/payment-flow-instant.d.ts +16 -0
  466. package/lib/model/payment-flow.d.ts +24 -0
  467. package/lib/model/payment-institution.d.ts +31 -0
  468. package/lib/model/payment-interaction-completed-all-of.d.ts +22 -0
  469. package/lib/model/payment-interaction-completed.d.ts +22 -0
  470. package/lib/model/payment-interaction-requested-all-of.d.ts +22 -0
  471. package/lib/model/payment-interaction-requested.d.ts +22 -0
  472. package/lib/model/payment-method.d.ts +27 -0
  473. package/lib/model/payment-params.d.ts +33 -0
  474. package/lib/model/payment-recurrent-parent.d.ts +24 -0
  475. package/lib/model/payment-resource-client-info.d.ts +25 -0
  476. package/lib/model/payment-resource-params.d.ts +17 -0
  477. package/lib/model/payment-resource-payer-all-of.d.ts +15 -0
  478. package/lib/model/payment-resource-payer.d.ts +31 -0
  479. package/lib/model/payment-resource-result.d.ts +32 -0
  480. package/lib/model/payment-resource.d.ts +28 -0
  481. package/lib/model/payment-search-result-all-of.d.ts +73 -0
  482. package/lib/model/payment-search-result.d.ts +90 -0
  483. package/lib/model/payment-started-all-of.d.ts +15 -0
  484. package/lib/model/payment-started.d.ts +18 -0
  485. package/lib/model/payment-status-changed-all-of.d.ts +14 -0
  486. package/lib/model/payment-status-changed.d.ts +32 -0
  487. package/lib/model/payment-status.d.ts +30 -0
  488. package/lib/model/payment-terminal-all-of.d.ts +17 -0
  489. package/lib/model/payment-terminal-data-all-of.d.ts +24 -0
  490. package/lib/model/payment-terminal-data.d.ts +24 -0
  491. package/lib/model/payment-terminal-details.d.ts +17 -0
  492. package/lib/model/payment-terminal-receipt-all-of.d.ts +21 -0
  493. package/lib/model/payment-terminal-receipt.d.ts +22 -0
  494. package/lib/model/payment-terminal.d.ts +20 -0
  495. package/lib/model/payment-terms.d.ts +15 -0
  496. package/lib/model/payment-tool-details-bank-card.d.ts +45 -0
  497. package/lib/model/payment-tool-details-crypto-wallet.d.ts +18 -0
  498. package/lib/model/payment-tool-details-digital-wallet.d.ts +18 -0
  499. package/lib/model/payment-tool-details-mobile-commerce.d.ts +18 -0
  500. package/lib/model/payment-tool-details-payment-terminal.d.ts +18 -0
  501. package/lib/model/payment-tool-details.d.ts +20 -0
  502. package/lib/model/payment-tool.d.ts +28 -0
  503. package/lib/model/payment.d.ts +73 -0
  504. package/lib/model/payout-params.d.ts +37 -0
  505. package/lib/model/payout-tool-all-of.d.ts +17 -0
  506. package/lib/model/payout-tool-details-bank-account.d.ts +27 -0
  507. package/lib/model/payout-tool-details-international-bank-account.d.ts +26 -0
  508. package/lib/model/payout-tool-details-payment-institution-account.d.ts +14 -0
  509. package/lib/model/payout-tool-details-wallet-info-all-of.d.ts +17 -0
  510. package/lib/model/payout-tool-details-wallet-info.d.ts +18 -0
  511. package/lib/model/payout-tool-details.d.ts +20 -0
  512. package/lib/model/payout-tool-params.d.ts +19 -0
  513. package/lib/model/payout-tool.d.ts +26 -0
  514. package/lib/model/payout.d.ts +47 -0
  515. package/lib/model/power-of-attorney.d.ts +28 -0
  516. package/lib/model/private-entity-all-of.d.ts +23 -0
  517. package/lib/model/private-entity.d.ts +20 -0
  518. package/lib/model/qr-code-display-request-all-of.d.ts +17 -0
  519. package/lib/model/qr-code-display-request.d.ts +18 -0
  520. package/lib/model/realm-mode.d.ts +19 -0
  521. package/lib/model/reason.d.ts +17 -0
  522. package/lib/model/recurrent-payer-all-of.d.ts +19 -0
  523. package/lib/model/recurrent-payer.d.ts +23 -0
  524. package/lib/model/redirect-all-of.d.ts +15 -0
  525. package/lib/model/redirect.d.ts +16 -0
  526. package/lib/model/refund-error.d.ts +24 -0
  527. package/lib/model/refund-params.d.ts +39 -0
  528. package/lib/model/refund-search-result-all-of.d.ts +21 -0
  529. package/lib/model/refund-search-result.d.ts +69 -0
  530. package/lib/model/refund-started-all-of.d.ts +16 -0
  531. package/lib/model/refund-started.d.ts +19 -0
  532. package/lib/model/refund-status-changed-all-of.d.ts +15 -0
  533. package/lib/model/refund-status-changed.d.ts +30 -0
  534. package/lib/model/refund-status.d.ts +27 -0
  535. package/lib/model/refund.d.ts +61 -0
  536. package/lib/model/registered-user-all-of.d.ts +17 -0
  537. package/lib/model/registered-user.d.ts +23 -0
  538. package/lib/model/report-link.d.ts +17 -0
  539. package/lib/model/report-params.d.ts +31 -0
  540. package/lib/model/reporting-preferences.d.ts +18 -0
  541. package/lib/model/representative-document.d.ts +24 -0
  542. package/lib/model/representative.d.ts +26 -0
  543. package/lib/model/rescind-invoice400-response.d.ts +32 -0
  544. package/lib/model/russian-legal-entity-all-of.d.ts +47 -0
  545. package/lib/model/russian-legal-entity.d.ts +53 -0
  546. package/lib/model/russian-private-entity-all-of.d.ts +27 -0
  547. package/lib/model/russian-private-entity.d.ts +33 -0
  548. package/lib/model/samsung-pay-all-of.d.ts +24 -0
  549. package/lib/model/samsung-pay.d.ts +24 -0
  550. package/lib/model/schedule.d.ts +19 -0
  551. package/lib/model/search-invoices200-response.d.ts +19 -0
  552. package/lib/model/search-payments200-response.d.ts +19 -0
  553. package/lib/model/search-payouts200-response.d.ts +16 -0
  554. package/lib/model/search-refunds200-response.d.ts +16 -0
  555. package/lib/model/service-acceptance-act-preferences.d.ts +22 -0
  556. package/lib/model/service-provider.d.ts +32 -0
  557. package/lib/model/shop-details.d.ts +21 -0
  558. package/lib/model/shop-location-url-all-of.d.ts +17 -0
  559. package/lib/model/shop-location-url.d.ts +21 -0
  560. package/lib/model/shop-location.d.ts +20 -0
  561. package/lib/model/shop.d.ts +56 -0
  562. package/lib/model/sub-error.d.ts +21 -0
  563. package/lib/model/tokenized-card-data-all-of.d.ts +26 -0
  564. package/lib/model/tokenized-card-data.d.ts +17 -0
  565. package/lib/model/trade-bloc.d.ts +19 -0
  566. package/lib/model/transaction-info.d.ts +24 -0
  567. package/lib/model/update-invoice-template400-response.d.ts +31 -0
  568. package/lib/model/user-interaction-form-inner.d.ts +21 -0
  569. package/lib/model/user-interaction.d.ts +17 -0
  570. package/lib/model/webhook-scope.d.ts +27 -0
  571. package/lib/model/webhook.d.ts +35 -0
  572. package/lib/model/yandex-pay-all-of.d.ts +24 -0
  573. package/lib/model/yandex-pay.d.ts +24 -0
  574. package/lib/param.d.ts +37 -0
  575. package/lib/variables.d.ts +8 -0
  576. package/package.json +36 -0
  577. package/public-api.d.ts +1 -0
  578. package/src/lib/README.md +226 -0
  579. package/vality-swag-payments.d.ts +5 -0
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Vality Payments API
3
+ * ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { RepresentativeDocument } from './representative-document';
13
+ export interface PowerOfAttorney extends RepresentativeDocument {
14
+ /**
15
+ * Legal agreement Identifier, e.g. contract number
16
+ */
17
+ id: string;
18
+ /**
19
+ * Date and time of conclusion of the legal agreement
20
+ */
21
+ signedAt: string;
22
+ /**
23
+ * Date and time of termination of the legal agreement
24
+ */
25
+ validUntil?: string;
26
+ }
27
+ export declare namespace PowerOfAttorney {
28
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Vality Payments API
3
+ * ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface PrivateEntityAllOf {
13
+ /**
14
+ * Private entity type
15
+ */
16
+ entityType: PrivateEntityAllOf.EntityTypeEnum;
17
+ }
18
+ export declare namespace PrivateEntityAllOf {
19
+ type EntityTypeEnum = 'RussianPrivateEntity';
20
+ const EntityTypeEnum: {
21
+ RussianPrivateEntity: "RussianPrivateEntity";
22
+ };
23
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Vality Payments API
3
+ * ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Contractor } from './contractor';
13
+ import { PrivateEntityAllOf } from './private-entity-all-of';
14
+ /**
15
+ * Private entity
16
+ */
17
+ export interface PrivateEntity extends Contractor, PrivateEntityAllOf {
18
+ }
19
+ export declare namespace PrivateEntity {
20
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Vality Payments API
3
+ * ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface QrCodeDisplayRequestAllOf {
13
+ /**
14
+ * QR code content as byte array
15
+ */
16
+ qrCode: Blob;
17
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Vality Payments API
3
+ * ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { UserInteraction } from './user-interaction';
13
+ export interface QrCodeDisplayRequest extends UserInteraction {
14
+ /**
15
+ * QR code content as byte array
16
+ */
17
+ qrCode: Blob;
18
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Vality Payments API
3
+ * ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Payment institution\'s mode
14
+ */
15
+ export declare type RealmMode = 'test' | 'live';
16
+ export declare const RealmMode: {
17
+ Test: RealmMode;
18
+ Live: RealmMode;
19
+ };
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Vality Payments API
3
+ * ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface Reason {
13
+ /**
14
+ * Operation reason
15
+ */
16
+ reason: string;
17
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Vality Payments API
3
+ * ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { PaymentToolDetails } from './payment-tool-details';
13
+ import { ContactInfo } from './contact-info';
14
+ import { PaymentRecurrentParent } from './payment-recurrent-parent';
15
+ export interface RecurrentPayerAllOf {
16
+ contactInfo: ContactInfo;
17
+ recurrentParentPayment: PaymentRecurrentParent;
18
+ paymentToolDetails?: PaymentToolDetails;
19
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Vality Payments API
3
+ * ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Payer } from './payer';
13
+ import { PaymentToolDetails } from './payment-tool-details';
14
+ import { ContactInfo } from './contact-info';
15
+ import { PaymentRecurrentParent } from './payment-recurrent-parent';
16
+ /**
17
+ * Recurring payment tool based on another payment
18
+ */
19
+ export interface RecurrentPayer extends Payer {
20
+ contactInfo: ContactInfo;
21
+ recurrentParentPayment: PaymentRecurrentParent;
22
+ paymentToolDetails?: PaymentToolDetails;
23
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Vality Payments API
3
+ * ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { BrowserRequest } from './browser-request';
13
+ export interface RedirectAllOf {
14
+ request: BrowserRequest;
15
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Vality Payments API
3
+ * ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { BrowserRequest } from './browser-request';
13
+ import { UserInteraction } from './user-interaction';
14
+ export interface Redirect extends UserInteraction {
15
+ request: BrowserRequest;
16
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Vality Payments API
3
+ * ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Data of the error that occurred during the refund process, if the refund was unsuccessful
14
+ */
15
+ export interface RefundError {
16
+ /**
17
+ * Error code for automatic processing
18
+ */
19
+ code: string;
20
+ /**
21
+ * Human-readable error description
22
+ */
23
+ message: string;
24
+ }
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Vality Payments API
3
+ * ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { InvoiceLine } from './invoice-line';
13
+ import { AllocationTransaction } from './allocation-transaction';
14
+ export interface RefundParams {
15
+ /**
16
+ * A platform-unique entity identifier for this party. It is used to ensure request idempotency.
17
+ */
18
+ externalID?: string;
19
+ /**
20
+ * Refund amount, in minor monetary units, e.g. cents if US dollars are specified as the currency.
21
+ */
22
+ amount?: number;
23
+ /**
24
+ * Currency character code according to [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm).
25
+ */
26
+ currency?: string;
27
+ /**
28
+ * Refund reason
29
+ */
30
+ reason?: string;
31
+ /**
32
+ * The final cart of goods and services provided, which should be formed from the invoice cart excluding the items for which a refund has been made. The amount of the cart should be the same as the amount of the payment less the amount of the refund.
33
+ */
34
+ cart?: Array<InvoiceLine>;
35
+ /**
36
+ * Cash allocation, which should be formed from the items for which a refund is made. The sum of all allocation transactions must match the refund amount.
37
+ */
38
+ allocation?: Array<AllocationTransaction>;
39
+ }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Vality Payments API
3
+ * ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface RefundSearchResultAllOf {
13
+ /**
14
+ * Invoice ID
15
+ */
16
+ invoiceID: string;
17
+ /**
18
+ * Payment ID
19
+ */
20
+ paymentID: string;
21
+ }
@@ -0,0 +1,69 @@
1
+ /**
2
+ * Vality Payments API
3
+ * ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { InvoiceLine } from './invoice-line';
13
+ import { AllocationTransaction } from './allocation-transaction';
14
+ import { RefundError } from './refund-error';
15
+ export interface RefundSearchResult {
16
+ /**
17
+ * Invoice ID
18
+ */
19
+ invoiceID: string;
20
+ /**
21
+ * Payment ID
22
+ */
23
+ paymentID: string;
24
+ /**
25
+ * Refund ID
26
+ */
27
+ id: string;
28
+ /**
29
+ * A platform-unique entity identifier for this party. It is used to ensure request idempotency.
30
+ */
31
+ externalID?: string;
32
+ /**
33
+ * Creation date and time
34
+ */
35
+ createdAt: string;
36
+ /**
37
+ * Refund amount, in minor monetary units, e.g. cents if US dollars are specified as the currency.
38
+ */
39
+ amount: number;
40
+ /**
41
+ * Currency character code according to [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm).
42
+ */
43
+ currency: string;
44
+ /**
45
+ * Refund reason
46
+ */
47
+ reason?: string;
48
+ /**
49
+ * The final cart of goods and services provided, which should be formed from the invoice cart excluding the items for which a refund has been made. The amount of the cart should be the same as the amount of the payment less the amount of the refund.
50
+ */
51
+ cart?: Array<InvoiceLine>;
52
+ /**
53
+ * The final cash distribution, which should be formed from the invoice distribution excluding the items for which a refund is made.
54
+ */
55
+ allocation?: Array<AllocationTransaction>;
56
+ /**
57
+ * Refund status
58
+ */
59
+ status: RefundSearchResult.StatusEnum;
60
+ error?: RefundError;
61
+ }
62
+ export declare namespace RefundSearchResult {
63
+ type StatusEnum = 'pending' | 'succeeded' | 'failed';
64
+ const StatusEnum: {
65
+ Pending: StatusEnum;
66
+ Succeeded: StatusEnum;
67
+ Failed: StatusEnum;
68
+ };
69
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Vality Payments API
3
+ * ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Refund } from './refund';
13
+ export interface RefundStartedAllOf {
14
+ paymentID: string;
15
+ refund: Refund;
16
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Vality Payments API
3
+ * ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Refund } from './refund';
13
+ import { InvoiceChange } from './invoice-change';
14
+ export interface RefundStarted extends InvoiceChange {
15
+ paymentID: string;
16
+ refund: Refund;
17
+ }
18
+ export declare namespace RefundStarted {
19
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Vality Payments API
3
+ * ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface RefundStatusChangedAllOf {
13
+ paymentID: string;
14
+ refundID: string;
15
+ }
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Vality Payments API
3
+ * ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { InvoiceChange } from './invoice-change';
13
+ import { RefundError } from './refund-error';
14
+ export interface RefundStatusChanged extends InvoiceChange {
15
+ paymentID: string;
16
+ refundID: string;
17
+ /**
18
+ * Refund status
19
+ */
20
+ status: RefundStatusChanged.StatusEnum;
21
+ error?: RefundError;
22
+ }
23
+ export declare namespace RefundStatusChanged {
24
+ type StatusEnum = 'pending' | 'succeeded' | 'failed';
25
+ const StatusEnum: {
26
+ Pending: StatusEnum;
27
+ Succeeded: StatusEnum;
28
+ Failed: StatusEnum;
29
+ };
30
+ }
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Vality Payments API
3
+ * ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { RefundError } from './refund-error';
13
+ export interface RefundStatus {
14
+ /**
15
+ * Refund status
16
+ */
17
+ status: RefundStatus.StatusEnum;
18
+ error?: RefundError;
19
+ }
20
+ export declare namespace RefundStatus {
21
+ type StatusEnum = 'pending' | 'succeeded' | 'failed';
22
+ const StatusEnum: {
23
+ Pending: StatusEnum;
24
+ Succeeded: StatusEnum;
25
+ Failed: StatusEnum;
26
+ };
27
+ }
@@ -0,0 +1,61 @@
1
+ /**
2
+ * Vality Payments API
3
+ * ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { InvoiceLine } from './invoice-line';
13
+ import { AllocationTransaction } from './allocation-transaction';
14
+ import { RefundError } from './refund-error';
15
+ export interface Refund {
16
+ /**
17
+ * Refund ID
18
+ */
19
+ id: string;
20
+ /**
21
+ * A platform-unique entity identifier for this party. It is used to ensure request idempotency.
22
+ */
23
+ externalID?: string;
24
+ /**
25
+ * Creation date and time
26
+ */
27
+ createdAt: string;
28
+ /**
29
+ * Refund amount, in minor monetary units, e.g. cents if US dollars are specified as the currency.
30
+ */
31
+ amount: number;
32
+ /**
33
+ * Currency character code according to [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm).
34
+ */
35
+ currency: string;
36
+ /**
37
+ * Refund reason
38
+ */
39
+ reason?: string;
40
+ /**
41
+ * The final cart of goods and services provided, which should be formed from the invoice cart excluding the items for which a refund has been made. The amount of the cart should be the same as the amount of the payment less the amount of the refund.
42
+ */
43
+ cart?: Array<InvoiceLine>;
44
+ /**
45
+ * The final cash distribution, which should be formed from the invoice distribution excluding the items for which a refund is made.
46
+ */
47
+ allocation?: Array<AllocationTransaction>;
48
+ /**
49
+ * Refund status
50
+ */
51
+ status: Refund.StatusEnum;
52
+ error?: RefundError;
53
+ }
54
+ export declare namespace Refund {
55
+ type StatusEnum = 'pending' | 'succeeded' | 'failed';
56
+ const StatusEnum: {
57
+ Pending: StatusEnum;
58
+ Succeeded: StatusEnum;
59
+ Failed: StatusEnum;
60
+ };
61
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Vality Payments API
3
+ * ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
4
+ *
5
+ * The version of the OpenAPI document: 2.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface RegisteredUserAllOf {
13
+ /**
14
+ * User-identifying e-mail
15
+ */
16
+ email: string;
17
+ }