@paydock/client-sdk 0.0.3 → 0.1.2-beta

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 (531) hide show
  1. package/README.md +9050 -52
  2. package/bundles/index.cjs +38558 -0
  3. package/bundles/index.cjs.d.ts +4777 -0
  4. package/bundles/index.mjs +38519 -0
  5. package/bundles/index.mjs.d.ts +4777 -0
  6. package/bundles/types/api/api-base.d.ts +54 -0
  7. package/bundles/types/api/api-base.d.ts.map +1 -0
  8. package/bundles/types/api/api-charge-internal.d.ts +99 -0
  9. package/bundles/types/api/api-charge-internal.d.ts.map +1 -0
  10. package/bundles/types/api/api-charge.d.ts +36 -0
  11. package/bundles/types/api/api-charge.d.ts.map +1 -0
  12. package/bundles/types/api/api-checkout-internal.d.ts +58 -0
  13. package/bundles/types/api/api-checkout-internal.d.ts.map +1 -0
  14. package/bundles/types/api/api-gateway-internal.d.ts +12 -0
  15. package/bundles/types/api/api-gateway-internal.d.ts.map +1 -0
  16. package/bundles/types/api/api-internal.d.ts +13 -0
  17. package/bundles/types/api/api-internal.d.ts.map +1 -0
  18. package/bundles/types/api/api-service-internal.d.ts +19 -0
  19. package/bundles/types/api/api-service-internal.d.ts.map +1 -0
  20. package/bundles/types/api/api.d.ts +55 -0
  21. package/bundles/types/api/api.d.ts.map +1 -0
  22. package/bundles/types/api/index.d.ts +2 -0
  23. package/bundles/types/api/index.d.ts.map +1 -0
  24. package/bundles/types/canvas-3ds/canvas-3ds.d.ts +109 -0
  25. package/bundles/types/canvas-3ds/canvas-3ds.d.ts.map +1 -0
  26. package/bundles/types/canvas-3ds/index.d.ts +2 -0
  27. package/bundles/types/canvas-3ds/index.d.ts.map +1 -0
  28. package/bundles/types/canvas-3ds/services/gpayments-service.d.ts +43 -0
  29. package/bundles/types/canvas-3ds/services/gpayments-service.d.ts.map +1 -0
  30. package/bundles/types/canvas-3ds/services/index.d.ts +2 -0
  31. package/bundles/types/canvas-3ds/services/index.d.ts.map +1 -0
  32. package/bundles/types/canvas-3ds/services/standalone3ds-service.d.ts +22 -0
  33. package/bundles/types/canvas-3ds/services/standalone3ds-service.d.ts.map +1 -0
  34. package/bundles/types/checkout/checkout.d.ts +107 -0
  35. package/bundles/types/checkout/checkout.d.ts.map +1 -0
  36. package/bundles/types/checkout/helpers/instruction-handler.d.ts +25 -0
  37. package/bundles/types/checkout/helpers/instruction-handler.d.ts.map +1 -0
  38. package/bundles/types/checkout/helpers/instruction-module.d.ts +6 -0
  39. package/bundles/types/checkout/helpers/instruction-module.d.ts.map +1 -0
  40. package/bundles/types/checkout/helpers/instruction-module.decorator.d.ts +6 -0
  41. package/bundles/types/checkout/helpers/instruction-module.decorator.d.ts.map +1 -0
  42. package/bundles/types/checkout/helpers/instruction.decorator.d.ts +5 -0
  43. package/bundles/types/checkout/helpers/instruction.decorator.d.ts.map +1 -0
  44. package/bundles/types/checkout/helpers/resource-helper.d.ts +6 -0
  45. package/bundles/types/checkout/helpers/resource-helper.d.ts.map +1 -0
  46. package/bundles/types/checkout/helpers/session-helper.d.ts +8 -0
  47. package/bundles/types/checkout/helpers/session-helper.d.ts.map +1 -0
  48. package/bundles/types/checkout/index.d.ts +2 -0
  49. package/bundles/types/checkout/index.d.ts.map +1 -0
  50. package/bundles/types/checkout/instructions/index.d.ts +3 -0
  51. package/bundles/types/checkout/instructions/index.d.ts.map +1 -0
  52. package/bundles/types/checkout/instructions/v1/index.d.ts +4 -0
  53. package/bundles/types/checkout/instructions/v1/index.d.ts.map +1 -0
  54. package/bundles/types/checkout/instructions/v1/instruction.afterpay_checkout_form.show.d.ts +20 -0
  55. package/bundles/types/checkout/instructions/v1/instruction.afterpay_checkout_form.show.d.ts.map +1 -0
  56. package/bundles/types/checkout/instructions/v1/instruction.afterpay_wallet_form.show.d.ts +14 -0
  57. package/bundles/types/checkout/instructions/v1/instruction.afterpay_wallet_form.show.d.ts.map +1 -0
  58. package/bundles/types/checkout/instructions/v1/instruction.apple_pay_form.show.d.ts +18 -0
  59. package/bundles/types/checkout/instructions/v1/instruction.apple_pay_form.show.d.ts.map +1 -0
  60. package/bundles/types/checkout/instructions/v1/instruction.bank_account_form.show.d.ts +15 -0
  61. package/bundles/types/checkout/instructions/v1/instruction.bank_account_form.show.d.ts.map +1 -0
  62. package/bundles/types/checkout/instructions/v1/instruction.canvas_3ds.show.d.ts +11 -0
  63. package/bundles/types/checkout/instructions/v1/instruction.canvas_3ds.show.d.ts.map +1 -0
  64. package/bundles/types/checkout/instructions/v1/instruction.card_form.show.d.ts +19 -0
  65. package/bundles/types/checkout/instructions/v1/instruction.card_form.show.d.ts.map +1 -0
  66. package/bundles/types/checkout/instructions/v1/instruction.disable_payment_method_event.emit.d.ts +20 -0
  67. package/bundles/types/checkout/instructions/v1/instruction.disable_payment_method_event.emit.d.ts.map +1 -0
  68. package/bundles/types/checkout/instructions/v1/instruction.fraud_service.show.d.ts +21 -0
  69. package/bundles/types/checkout/instructions/v1/instruction.fraud_service.show.d.ts.map +1 -0
  70. package/bundles/types/checkout/instructions/v1/instruction.generic.show_message.d.ts +26 -0
  71. package/bundles/types/checkout/instructions/v1/instruction.generic.show_message.d.ts.map +1 -0
  72. package/bundles/types/checkout/instructions/v1/instruction.google_pay_form.show.d.ts +18 -0
  73. package/bundles/types/checkout/instructions/v1/instruction.google_pay_form.show.d.ts.map +1 -0
  74. package/bundles/types/checkout/instructions/v1/instruction.merchant_event.emit.d.ts +18 -0
  75. package/bundles/types/checkout/instructions/v1/instruction.merchant_event.emit.d.ts.map +1 -0
  76. package/bundles/types/checkout/instructions/v1/instruction.payment_methods.show.d.ts +18 -0
  77. package/bundles/types/checkout/instructions/v1/instruction.payment_methods.show.d.ts.map +1 -0
  78. package/bundles/types/checkout/instructions/v1/instruction.paypal_form.show.d.ts +21 -0
  79. package/bundles/types/checkout/instructions/v1/instruction.paypal_form.show.d.ts.map +1 -0
  80. package/bundles/types/checkout/instructions/v1/instruction.zip_checkout_form.show.d.ts +19 -0
  81. package/bundles/types/checkout/instructions/v1/instruction.zip_checkout_form.show.d.ts.map +1 -0
  82. package/bundles/types/checkout/layout-widgets/additionals.d.ts +3 -0
  83. package/bundles/types/checkout/layout-widgets/additionals.d.ts.map +1 -0
  84. package/bundles/types/checkout/layout-widgets/default-variables.enum.d.ts +9 -0
  85. package/bundles/types/checkout/layout-widgets/default-variables.enum.d.ts.map +1 -0
  86. package/bundles/types/checkout/layout-widgets/message.d.ts +34 -0
  87. package/bundles/types/checkout/layout-widgets/message.d.ts.map +1 -0
  88. package/bundles/types/checkout/layout-widgets/payment-methods-template.d.ts +13 -0
  89. package/bundles/types/checkout/layout-widgets/payment-methods-template.d.ts.map +1 -0
  90. package/bundles/types/checkout/layout-widgets/payment-methods.d.ts +55 -0
  91. package/bundles/types/checkout/layout-widgets/payment-methods.d.ts.map +1 -0
  92. package/bundles/types/checkout/layout-widgets/payment-template.d.ts +3 -0
  93. package/bundles/types/checkout/layout-widgets/payment-template.d.ts.map +1 -0
  94. package/bundles/types/checkout-button/afterpay/afterpay-checkout-button.d.ts +36 -0
  95. package/bundles/types/checkout-button/afterpay/afterpay-checkout-button.d.ts.map +1 -0
  96. package/bundles/types/checkout-button/afterpay/afterpay.runner.d.ts +13 -0
  97. package/bundles/types/checkout-button/afterpay/afterpay.runner.d.ts.map +1 -0
  98. package/bundles/types/checkout-button/checkout-button.d.ts +139 -0
  99. package/bundles/types/checkout-button/checkout-button.d.ts.map +1 -0
  100. package/bundles/types/checkout-button/checkout-button.interface.d.ts +49 -0
  101. package/bundles/types/checkout-button/checkout-button.interface.d.ts.map +1 -0
  102. package/bundles/types/checkout-button/checkout-contextual-handler.d.ts +27 -0
  103. package/bundles/types/checkout-button/checkout-contextual-handler.d.ts.map +1 -0
  104. package/bundles/types/checkout-button/index.d.ts +85 -0
  105. package/bundles/types/checkout-button/index.d.ts.map +1 -0
  106. package/bundles/types/checkout-button/paypal/paypal-checkout-button.d.ts +21 -0
  107. package/bundles/types/checkout-button/paypal/paypal-checkout-button.d.ts.map +1 -0
  108. package/bundles/types/checkout-button/paypal/paypal.runner.d.ts +6 -0
  109. package/bundles/types/checkout-button/paypal/paypal.runner.d.ts.map +1 -0
  110. package/bundles/types/checkout-button/runner/base.runner.d.ts +18 -0
  111. package/bundles/types/checkout-button/runner/base.runner.d.ts.map +1 -0
  112. package/bundles/types/checkout-button/runner/contextual.runner.d.ts +39 -0
  113. package/bundles/types/checkout-button/runner/contextual.runner.d.ts.map +1 -0
  114. package/bundles/types/checkout-button/runner/index.d.ts +9 -0
  115. package/bundles/types/checkout-button/runner/index.d.ts.map +1 -0
  116. package/bundles/types/checkout-button/runner/popup.runner.d.ts +35 -0
  117. package/bundles/types/checkout-button/runner/popup.runner.d.ts.map +1 -0
  118. package/bundles/types/checkout-button/runner/redirect.runner.d.ts +17 -0
  119. package/bundles/types/checkout-button/runner/redirect.runner.d.ts.map +1 -0
  120. package/bundles/types/checkout-button/zipmoney/index.d.ts +4 -0
  121. package/bundles/types/checkout-button/zipmoney/index.d.ts.map +1 -0
  122. package/bundles/types/checkout-button/zipmoney/zipmoney-checkout-button.d.ts +49 -0
  123. package/bundles/types/checkout-button/zipmoney/zipmoney-checkout-button.d.ts.map +1 -0
  124. package/bundles/types/checkout-button/zipmoney/zipmoney-contextual.runner.d.ts +39 -0
  125. package/bundles/types/checkout-button/zipmoney/zipmoney-contextual.runner.d.ts.map +1 -0
  126. package/bundles/types/checkout-button/zipmoney/zipmoney-redirect.runner.d.ts +26 -0
  127. package/bundles/types/checkout-button/zipmoney/zipmoney-redirect.runner.d.ts.map +1 -0
  128. package/bundles/types/checkout-button/zipmoney/zipmoney.config.d.ts +4 -0
  129. package/bundles/types/checkout-button/zipmoney/zipmoney.config.d.ts.map +1 -0
  130. package/bundles/types/checkout-button/zipmoney/zipmoney.runner.d.ts +10 -0
  131. package/bundles/types/checkout-button/zipmoney/zipmoney.runner.d.ts.map +1 -0
  132. package/bundles/types/checkout-button/zipmoney/zipmoney.types.d.ts +12 -0
  133. package/bundles/types/checkout-button/zipmoney/zipmoney.types.d.ts.map +1 -0
  134. package/bundles/types/components/ability-guard.d.ts +12 -0
  135. package/bundles/types/components/ability-guard.d.ts.map +1 -0
  136. package/bundles/types/components/background.d.ts +43 -0
  137. package/bundles/types/components/background.d.ts.map +1 -0
  138. package/bundles/types/components/container.d.ts +12 -0
  139. package/bundles/types/components/container.d.ts.map +1 -0
  140. package/bundles/types/components/dispatcher.d.ts +14 -0
  141. package/bundles/types/components/dispatcher.d.ts.map +1 -0
  142. package/bundles/types/components/element-style.d.ts +17 -0
  143. package/bundles/types/components/element-style.d.ts.map +1 -0
  144. package/bundles/types/components/flypay-iframe-event.d.ts +15 -0
  145. package/bundles/types/components/flypay-iframe-event.d.ts.map +1 -0
  146. package/{lib/widget/components/form-Interceptor.d.ts → bundles/types/components/form-interceptor.d.ts} +2 -1
  147. package/bundles/types/components/form-interceptor.d.ts.map +1 -0
  148. package/bundles/types/components/http-core.d.ts +14 -0
  149. package/bundles/types/components/http-core.d.ts.map +1 -0
  150. package/bundles/types/components/iframe-event.d.ts +72 -0
  151. package/bundles/types/components/iframe-event.d.ts.map +1 -0
  152. package/bundles/types/components/iframe.d.ts +20 -0
  153. package/bundles/types/components/iframe.d.ts.map +1 -0
  154. package/bundles/types/components/link.d.ts +27 -0
  155. package/bundles/types/components/link.d.ts.map +1 -0
  156. package/bundles/types/components/loader.d.ts +5 -0
  157. package/bundles/types/components/loader.d.ts.map +1 -0
  158. package/bundles/types/components/param.d.ts +430 -0
  159. package/bundles/types/components/param.d.ts.map +1 -0
  160. package/bundles/types/components/popup.d.ts +30 -0
  161. package/bundles/types/components/popup.d.ts.map +1 -0
  162. package/bundles/types/components/storage-dispatcher.d.ts +31 -0
  163. package/bundles/types/components/storage-dispatcher.d.ts.map +1 -0
  164. package/bundles/types/components/trigger.d.ts +48 -0
  165. package/bundles/types/components/trigger.d.ts.map +1 -0
  166. package/bundles/types/components/vault-display-iframe-event.d.ts +5 -0
  167. package/bundles/types/components/vault-display-iframe-event.d.ts.map +1 -0
  168. package/bundles/types/components/wallet-background.d.ts +13 -0
  169. package/bundles/types/components/wallet-background.d.ts.map +1 -0
  170. package/bundles/types/components/wallet-trigger.d.ts +19 -0
  171. package/bundles/types/components/wallet-trigger.d.ts.map +1 -0
  172. package/bundles/types/configs/env/environment.cba.d.ts +30 -0
  173. package/bundles/types/configs/env/environment.cba.d.ts.map +1 -0
  174. package/bundles/types/configs/env/environment.interface.d.ts +12 -0
  175. package/bundles/types/configs/env/environment.interface.d.ts.map +1 -0
  176. package/bundles/types/configs/env/environment.paydock.d.ts +49 -0
  177. package/bundles/types/configs/env/environment.paydock.d.ts.map +1 -0
  178. package/bundles/types/configs/env/index.d.ts +3 -0
  179. package/bundles/types/configs/env/index.d.ts.map +1 -0
  180. package/bundles/types/configs/sdk.d.ts +10 -0
  181. package/bundles/types/configs/sdk.d.ts.map +1 -0
  182. package/bundles/types/constants/validators.d.ts +45 -0
  183. package/bundles/types/constants/validators.d.ts.map +1 -0
  184. package/bundles/types/external-checkout/builder.d.ts +29 -0
  185. package/bundles/types/external-checkout/builder.d.ts.map +1 -0
  186. package/bundles/types/external-checkout/checker.d.ts +14 -0
  187. package/bundles/types/external-checkout/checker.d.ts.map +1 -0
  188. package/bundles/types/external-checkout/index.d.ts +3 -0
  189. package/bundles/types/external-checkout/index.d.ts.map +1 -0
  190. package/bundles/types/fraud-prevention/fraud-prevention.constants.d.ts +9 -0
  191. package/bundles/types/fraud-prevention/fraud-prevention.constants.d.ts.map +1 -0
  192. package/bundles/types/fraud-prevention/fraud-prevention.events.d.ts +42 -0
  193. package/bundles/types/fraud-prevention/fraud-prevention.events.d.ts.map +1 -0
  194. package/bundles/types/fraud-prevention/fraud-prevention.service.d.ts +163 -0
  195. package/bundles/types/fraud-prevention/fraud-prevention.service.d.ts.map +1 -0
  196. package/bundles/types/fraud-prevention/index.d.ts +3 -0
  197. package/bundles/types/fraud-prevention/index.d.ts.map +1 -0
  198. package/bundles/types/fraud-prevention/providers/forter/forter-device-agent.service.d.ts +79 -0
  199. package/bundles/types/fraud-prevention/providers/forter/forter-device-agent.service.d.ts.map +1 -0
  200. package/bundles/types/fraud-prevention/providers/forter/templates/forter-snippet-2025-02-06t14:19:34z.template.d.ts +2 -0
  201. package/bundles/types/fraud-prevention/providers/forter/templates/forter-snippet-2025-02-06t14:19:34z.template.d.ts.map +1 -0
  202. package/bundles/types/fraud-prevention/resources/find-service-config.repository.d.ts +20 -0
  203. package/bundles/types/fraud-prevention/resources/find-service-config.repository.d.ts.map +1 -0
  204. package/bundles/types/helper/access-token.d.ts +26 -0
  205. package/bundles/types/helper/access-token.d.ts.map +1 -0
  206. package/bundles/types/helper/browser.d.ts +17 -0
  207. package/bundles/types/helper/browser.d.ts.map +1 -0
  208. package/bundles/types/helper/deep-clone.d.ts +13 -0
  209. package/bundles/types/helper/deep-clone.d.ts.map +1 -0
  210. package/bundles/types/helper/element-id.d.ts +5 -0
  211. package/bundles/types/helper/element-id.d.ts.map +1 -0
  212. package/bundles/types/helper/event-emitter.d.ts +7 -0
  213. package/bundles/types/helper/event-emitter.d.ts.map +1 -0
  214. package/bundles/types/helper/event-error.d.ts +55 -0
  215. package/bundles/types/helper/event-error.d.ts.map +1 -0
  216. package/bundles/types/helper/event.d.ts +10 -0
  217. package/bundles/types/helper/event.d.ts.map +1 -0
  218. package/bundles/types/helper/ms.d.ts +6 -0
  219. package/bundles/types/helper/ms.d.ts.map +1 -0
  220. package/{lib/widget → bundles/types}/helper/object.d.ts +1 -0
  221. package/bundles/types/helper/object.d.ts.map +1 -0
  222. package/bundles/types/helper/process-event-error.d.ts +9 -0
  223. package/bundles/types/helper/process-event-error.d.ts.map +1 -0
  224. package/bundles/types/helper/spiner.util.d.ts +6 -0
  225. package/bundles/types/helper/spiner.util.d.ts.map +1 -0
  226. package/bundles/types/helper/url.d.ts +5 -0
  227. package/bundles/types/helper/url.d.ts.map +1 -0
  228. package/bundles/types/helper/uuid.d.ts +6 -0
  229. package/bundles/types/helper/uuid.d.ts.map +1 -0
  230. package/bundles/types/index-cba.d.ts +52 -0
  231. package/bundles/types/index-cba.d.ts.map +1 -0
  232. package/bundles/types/index.d.ts +52 -0
  233. package/bundles/types/index.d.ts.map +1 -0
  234. package/bundles/types/payment-source/builder.d.ts +23 -0
  235. package/bundles/types/payment-source/builder.d.ts.map +1 -0
  236. package/bundles/types/payment-source/index.d.ts +2 -0
  237. package/bundles/types/payment-source/index.d.ts.map +1 -0
  238. package/bundles/types/payment-source-widget/html-payment-source-widget.d.ts +181 -0
  239. package/bundles/types/payment-source-widget/html-payment-source-widget.d.ts.map +1 -0
  240. package/bundles/types/payment-source-widget/index.d.ts +35 -0
  241. package/bundles/types/payment-source-widget/index.d.ts.map +1 -0
  242. package/bundles/types/payment-source-widget/interfaces.d.ts +12 -0
  243. package/bundles/types/payment-source-widget/interfaces.d.ts.map +1 -0
  244. package/bundles/types/payment-source-widget/payment-source-widget.d.ts +93 -0
  245. package/bundles/types/payment-source-widget/payment-source-widget.d.ts.map +1 -0
  246. package/bundles/types/paypal-data-collector/index.d.ts +23 -0
  247. package/bundles/types/paypal-data-collector/index.d.ts.map +1 -0
  248. package/bundles/types/paypal-data-collector/paypal-data-collector.d.ts +58 -0
  249. package/bundles/types/paypal-data-collector/paypal-data-collector.d.ts.map +1 -0
  250. package/bundles/types/paypal-data-collector/paypal-data-collector.interfaces.d.ts +21 -0
  251. package/bundles/types/paypal-data-collector/paypal-data-collector.interfaces.d.ts.map +1 -0
  252. package/bundles/types/paypal-data-collector/paypal-data-collector.service.d.ts +17 -0
  253. package/bundles/types/paypal-data-collector/paypal-data-collector.service.d.ts.map +1 -0
  254. package/bundles/types/paypal-save-payment-source/index.d.ts +61 -0
  255. package/bundles/types/paypal-save-payment-source/index.d.ts.map +1 -0
  256. package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.d.ts +85 -0
  257. package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.d.ts.map +1 -0
  258. package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.interfaces.d.ts +83 -0
  259. package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.interfaces.d.ts.map +1 -0
  260. package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.service.d.ts +35 -0
  261. package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.service.d.ts.map +1 -0
  262. package/bundles/types/secure-remote-commerce/click-to-pay-secure-remote-commerce.d.ts +31 -0
  263. package/bundles/types/secure-remote-commerce/click-to-pay-secure-remote-commerce.d.ts.map +1 -0
  264. package/bundles/types/secure-remote-commerce/index.d.ts +105 -0
  265. package/bundles/types/secure-remote-commerce/index.d.ts.map +1 -0
  266. package/bundles/types/secure-remote-commerce/interfaces.d.ts +156 -0
  267. package/bundles/types/secure-remote-commerce/interfaces.d.ts.map +1 -0
  268. package/bundles/types/secure-remote-commerce/providers/mastercard-src/index.d.ts +2 -0
  269. package/bundles/types/secure-remote-commerce/providers/mastercard-src/index.d.ts.map +1 -0
  270. package/bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts +25 -0
  271. package/bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts.map +1 -0
  272. package/bundles/types/secure-remote-commerce/providers/src-provider.d.ts +11 -0
  273. package/bundles/types/secure-remote-commerce/providers/src-provider.d.ts.map +1 -0
  274. package/bundles/types/secure-remote-commerce/secure-remote-commerce.d.ts +86 -0
  275. package/bundles/types/secure-remote-commerce/secure-remote-commerce.d.ts.map +1 -0
  276. package/bundles/types/shared/device/device-info.service.d.ts +13 -0
  277. package/bundles/types/shared/device/device-info.service.d.ts.map +1 -0
  278. package/bundles/types/shared/http/authorization-strategy.d.ts +41 -0
  279. package/bundles/types/shared/http/authorization-strategy.d.ts.map +1 -0
  280. package/bundles/types/shared/http/http-fetcher.d.ts +29 -0
  281. package/bundles/types/shared/http/http-fetcher.d.ts.map +1 -0
  282. package/bundles/types/shared/http/http-fetcher.factory.d.ts +17 -0
  283. package/bundles/types/shared/http/http-fetcher.factory.d.ts.map +1 -0
  284. package/bundles/types/shared/http/http-request.d.ts +14 -0
  285. package/bundles/types/shared/http/http-request.d.ts.map +1 -0
  286. package/bundles/types/shared/http/http-response.dto.d.ts +19 -0
  287. package/bundles/types/shared/http/http-response.dto.d.ts.map +1 -0
  288. package/bundles/types/shared/services/configuration-validation/configuration-validation.d.ts +12 -0
  289. package/bundles/types/shared/services/configuration-validation/configuration-validation.d.ts.map +1 -0
  290. package/bundles/types/shared/services/configuration-validation/types.d.ts +73 -0
  291. package/bundles/types/shared/services/configuration-validation/types.d.ts.map +1 -0
  292. package/bundles/types/shared/services/instrumentation/instrumentation.agent.d.ts +15 -0
  293. package/bundles/types/shared/services/instrumentation/instrumentation.agent.d.ts.map +1 -0
  294. package/bundles/types/shared/services/instrumentation/instrumentation.config.d.ts +66 -0
  295. package/bundles/types/shared/services/instrumentation/instrumentation.config.d.ts.map +1 -0
  296. package/bundles/types/shared/services/instrumentation/instrumentation.types.d.ts +14 -0
  297. package/bundles/types/shared/services/instrumentation/instrumentation.types.d.ts.map +1 -0
  298. package/bundles/types/shared/services/instrumentation/repositories/action.repository.d.ts +15 -0
  299. package/bundles/types/shared/services/instrumentation/repositories/action.repository.d.ts.map +1 -0
  300. package/bundles/types/shared/services/instrumentation/repositories/error.repository.d.ts +23 -0
  301. package/bundles/types/shared/services/instrumentation/repositories/error.repository.d.ts.map +1 -0
  302. package/bundles/types/shared/services/instrumentation/repositories/event.repository.d.ts +15 -0
  303. package/bundles/types/shared/services/instrumentation/repositories/event.repository.d.ts.map +1 -0
  304. package/bundles/types/shared/services/instrumentation/repositories/index.d.ts +4 -0
  305. package/bundles/types/shared/services/instrumentation/repositories/index.d.ts.map +1 -0
  306. package/bundles/types/shared/shared.constants.d.ts +6 -0
  307. package/bundles/types/shared/shared.constants.d.ts.map +1 -0
  308. package/bundles/types/vault-display-widget/index.d.ts +14 -0
  309. package/bundles/types/vault-display-widget/index.d.ts.map +1 -0
  310. package/bundles/types/vault-display-widget/vault-display-widget.d.ts +69 -0
  311. package/bundles/types/vault-display-widget/vault-display-widget.d.ts.map +1 -0
  312. package/bundles/types/wallet-buttons/enums.d.ts +12 -0
  313. package/bundles/types/wallet-buttons/enums.d.ts.map +1 -0
  314. package/bundles/types/wallet-buttons/helpers/flypay-v2.helper.d.ts +6 -0
  315. package/bundles/types/wallet-buttons/helpers/flypay-v2.helper.d.ts.map +1 -0
  316. package/bundles/types/wallet-buttons/index-cba.d.ts +2 -0
  317. package/bundles/types/wallet-buttons/index-cba.d.ts.map +1 -0
  318. package/bundles/types/wallet-buttons/index.d.ts +138 -0
  319. package/bundles/types/wallet-buttons/index.d.ts.map +1 -0
  320. package/bundles/types/wallet-buttons/interfaces.d.ts +128 -0
  321. package/bundles/types/wallet-buttons/interfaces.d.ts.map +1 -0
  322. package/bundles/types/wallet-buttons/wallet-buttons.d.ts +321 -0
  323. package/bundles/types/wallet-buttons/wallet-buttons.d.ts.map +1 -0
  324. package/bundles/types/wallet-buttons/wallet-cba-buttons.d.ts +330 -0
  325. package/bundles/types/wallet-buttons/wallet-cba-buttons.d.ts.map +1 -0
  326. package/bundles/types/wallet-buttons/wallet-services/afterpay.wallet-service.d.ts +24 -0
  327. package/bundles/types/wallet-buttons/wallet-services/afterpay.wallet-service.d.ts.map +1 -0
  328. package/bundles/types/wallet-buttons/wallet-services/apple.wallet-service.d.ts +49 -0
  329. package/bundles/types/wallet-buttons/wallet-services/apple.wallet-service.d.ts.map +1 -0
  330. package/bundles/types/wallet-buttons/wallet-services/flypay-v2.wallet-service.d.ts +28 -0
  331. package/bundles/types/wallet-buttons/wallet-services/flypay-v2.wallet-service.d.ts.map +1 -0
  332. package/bundles/types/wallet-buttons/wallet-services/flypay.wallet-service.d.ts +26 -0
  333. package/bundles/types/wallet-buttons/wallet-services/flypay.wallet-service.d.ts.map +1 -0
  334. package/bundles/types/wallet-buttons/wallet-services/google.wallet-service.d.ts +35 -0
  335. package/bundles/types/wallet-buttons/wallet-services/google.wallet-service.d.ts.map +1 -0
  336. package/bundles/types/wallet-buttons/wallet-services/mastercard.wallet-service.d.ts +8 -0
  337. package/bundles/types/wallet-buttons/wallet-services/mastercard.wallet-service.d.ts.map +1 -0
  338. package/bundles/types/wallet-buttons/wallet-services/paypal.wallet-service.d.ts +26 -0
  339. package/bundles/types/wallet-buttons/wallet-services/paypal.wallet-service.d.ts.map +1 -0
  340. package/bundles/types/wallet-buttons/wallet-services/stripe.wallet-service.d.ts +19 -0
  341. package/bundles/types/wallet-buttons/wallet-services/stripe.wallet-service.d.ts.map +1 -0
  342. package/bundles/types/wallet-buttons/wallet-services/wallet-service.d.ts +131 -0
  343. package/bundles/types/wallet-buttons/wallet-services/wallet-service.d.ts.map +1 -0
  344. package/bundles/types/wallet-buttons-express/base.wallet-button-express.d.ts +252 -0
  345. package/bundles/types/wallet-buttons-express/base.wallet-button-express.d.ts.map +1 -0
  346. package/bundles/types/wallet-buttons-express/enum/event.enum.d.ts +12 -0
  347. package/bundles/types/wallet-buttons-express/enum/event.enum.d.ts.map +1 -0
  348. package/bundles/types/wallet-buttons-express/index.d.ts +245 -0
  349. package/bundles/types/wallet-buttons-express/index.d.ts.map +1 -0
  350. package/bundles/types/wallet-buttons-express/interfaces/base-event-data.interface.d.ts +6 -0
  351. package/bundles/types/wallet-buttons-express/interfaces/base-event-data.interface.d.ts.map +1 -0
  352. package/bundles/types/wallet-buttons-express/interfaces/base-gateway-config.interface.d.ts +6 -0
  353. package/bundles/types/wallet-buttons-express/interfaces/base-gateway-config.interface.d.ts.map +1 -0
  354. package/bundles/types/wallet-buttons-express/interfaces/base-wallet-meta.interface.d.ts +5 -0
  355. package/bundles/types/wallet-buttons-express/interfaces/base-wallet-meta.interface.d.ts.map +1 -0
  356. package/bundles/types/wallet-buttons-express/interfaces/charge-wallet-token-meta.interface.d.ts +44 -0
  357. package/bundles/types/wallet-buttons-express/interfaces/charge-wallet-token-meta.interface.d.ts.map +1 -0
  358. package/bundles/types/wallet-buttons-express/interfaces/on-click-event-data.interface.d.ts +6 -0
  359. package/bundles/types/wallet-buttons-express/interfaces/on-click-event-data.interface.d.ts.map +1 -0
  360. package/bundles/types/wallet-buttons-express/interfaces/on-close-event-data.interface.d.ts +6 -0
  361. package/bundles/types/wallet-buttons-express/interfaces/on-close-event-data.interface.d.ts.map +1 -0
  362. package/bundles/types/wallet-buttons-express/interfaces/on-error-event-data.interface.d.ts +6 -0
  363. package/bundles/types/wallet-buttons-express/interfaces/on-error-event-data.interface.d.ts.map +1 -0
  364. package/bundles/types/wallet-buttons-express/interfaces/on-payment-error-event-data.interface.d.ts +9 -0
  365. package/bundles/types/wallet-buttons-express/interfaces/on-payment-error-event-data.interface.d.ts.map +1 -0
  366. package/bundles/types/wallet-buttons-express/interfaces/on-payment-in-review-event-data.interface.d.ts +6 -0
  367. package/bundles/types/wallet-buttons-express/interfaces/on-payment-in-review-event-data.interface.d.ts.map +1 -0
  368. package/bundles/types/wallet-buttons-express/interfaces/on-payment-successful-event-data.interface.d.ts +11 -0
  369. package/bundles/types/wallet-buttons-express/interfaces/on-payment-successful-event-data.interface.d.ts.map +1 -0
  370. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-data.interface.d.ts +21 -0
  371. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-data.interface.d.ts.map +1 -0
  372. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-response.interface.d.ts +9 -0
  373. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-response.interface.d.ts.map +1 -0
  374. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-option-change-event-data.interface.d.ts +13 -0
  375. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-option-change-event-data.interface.d.ts.map +1 -0
  376. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-option-change-event-response.interface.d.ts +9 -0
  377. package/bundles/types/wallet-buttons-express/interfaces/on-shipping-option-change-event-response.interface.d.ts.map +1 -0
  378. package/bundles/types/wallet-buttons-express/interfaces/on-unavailable-event-data.interface.d.ts +6 -0
  379. package/bundles/types/wallet-buttons-express/interfaces/on-unavailable-event-data.interface.d.ts.map +1 -0
  380. package/bundles/types/wallet-buttons-express/interfaces/wallet-capture-request.interface.d.ts +22 -0
  381. package/bundles/types/wallet-buttons-express/interfaces/wallet-capture-request.interface.d.ts.map +1 -0
  382. package/bundles/types/wallet-buttons-express/services/apple-pay/apple-pay.wallet-button-express.d.ts +58 -0
  383. package/bundles/types/wallet-buttons-express/services/apple-pay/apple-pay.wallet-button-express.d.ts.map +1 -0
  384. package/bundles/types/wallet-buttons-express/services/apple-pay/constants/apple-pay-button-style.constant.d.ts +2 -0
  385. package/bundles/types/wallet-buttons-express/services/apple-pay/constants/apple-pay-button-style.constant.d.ts.map +1 -0
  386. package/bundles/types/wallet-buttons-express/services/apple-pay/constants/apple-pay-events.constant.d.ts +5 -0
  387. package/bundles/types/wallet-buttons-express/services/apple-pay/constants/apple-pay-events.constant.d.ts.map +1 -0
  388. package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-gateway-config.interface.d.ts +6 -0
  389. package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-gateway-config.interface.d.ts.map +1 -0
  390. package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-wallet-meta.interface.d.ts +22 -0
  391. package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-wallet-meta.interface.d.ts.map +1 -0
  392. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-button-style.type.d.ts +2 -0
  393. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-button-style.type.d.ts.map +1 -0
  394. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-button-type.type.d.ts +2 -0
  395. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-button-type.type.d.ts.map +1 -0
  396. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-contact-editing-mode.type.d.ts +5 -0
  397. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-contact-editing-mode.type.d.ts.map +1 -0
  398. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-data.d.ts +21 -0
  399. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-data.d.ts.map +1 -0
  400. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-method.type.d.ts +21 -0
  401. package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-method.type.d.ts.map +1 -0
  402. package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-gateway-config.interface.d.ts +4 -0
  403. package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-gateway-config.interface.d.ts.map +1 -0
  404. package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-sdk.interface.d.ts +164 -0
  405. package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-sdk.interface.d.ts.map +1 -0
  406. package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-wallet-meta.interface.d.ts +32 -0
  407. package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-wallet-meta.interface.d.ts.map +1 -0
  408. package/bundles/types/wallet-buttons-express/services/paypal/paypal.wallet-button-express.d.ts +53 -0
  409. package/bundles/types/wallet-buttons-express/services/paypal/paypal.wallet-button-express.d.ts.map +1 -0
  410. package/bundles/types/wallet-buttons-express/types/shipping-event-to-response.type.d.ts +6 -0
  411. package/bundles/types/wallet-buttons-express/types/shipping-event-to-response.type.d.ts.map +1 -0
  412. package/bundles/types/widget/configuration.d.ts +165 -0
  413. package/bundles/types/widget/configuration.d.ts.map +1 -0
  414. package/bundles/types/widget/html-multi-widget.d.ts +337 -0
  415. package/bundles/types/widget/html-multi-widget.d.ts.map +1 -0
  416. package/bundles/types/widget/html-widget.d.ts +107 -0
  417. package/bundles/types/widget/html-widget.d.ts.map +1 -0
  418. package/bundles/types/widget/index.d.ts +132 -0
  419. package/bundles/types/widget/index.d.ts.map +1 -0
  420. package/bundles/types/widget/meta.d.ts +8 -0
  421. package/bundles/types/widget/meta.d.ts.map +1 -0
  422. package/bundles/types/widget/multi-widget.d.ts +241 -0
  423. package/bundles/types/widget/multi-widget.d.ts.map +1 -0
  424. package/bundles/types/widget/style.d.ts +177 -0
  425. package/bundles/types/widget/style.d.ts.map +1 -0
  426. package/bundles/widget.umd.js +38429 -767
  427. package/bundles/widget.umd.js.d.ts +4777 -0
  428. package/bundles/widget.umd.js.min.d.ts +4777 -0
  429. package/bundles/widget.umd.min.js +1 -0
  430. package/docs/api-canvas3ds.md +158 -0
  431. package/docs/api-checkout-button.md +912 -0
  432. package/docs/api-examples.md +65 -0
  433. package/docs/api-ps-widget.md +585 -0
  434. package/docs/api-vault-display.md +94 -0
  435. package/docs/api-widget.md +2542 -0
  436. package/docs/api-wrapper.md +45 -0
  437. package/docs/canvas3ds-examples.md +242 -0
  438. package/docs/cba-header.md +13 -0
  439. package/docs/cba-license.md +2 -0
  440. package/docs/checkout-examples.md +248 -0
  441. package/docs/click-to-pay-examples.md +231 -0
  442. package/docs/click-to-pay.md +337 -0
  443. package/docs/fraud-prevention-examples.md +154 -0
  444. package/docs/fraud-prevention.md +0 -0
  445. package/docs/header.md +15 -0
  446. package/docs/html/layout.html +79 -0
  447. package/docs/html/marked.js +23 -0
  448. package/docs/html/style.css +365 -0
  449. package/docs/install/npm.content.md +16 -0
  450. package/docs/install/npm.example.md +24 -0
  451. package/docs/install/umd.content.md +20 -0
  452. package/docs/install/umd.example.md +6 -0
  453. package/docs/install.md +43 -0
  454. package/docs/install.readme.t.md +17 -0
  455. package/docs/install.slate.t.md +17 -0
  456. package/docs/license.md +2 -0
  457. package/docs/partials/header.hbs +3 -0
  458. package/docs/paypal-data-collector-examples.md +59 -0
  459. package/docs/paypal-data-collector.md +149 -0
  460. package/docs/paypal-save-payment-source-examples.md +63 -0
  461. package/docs/paypal-save-payment-source.md +256 -0
  462. package/docs/ps-examples.md +129 -0
  463. package/docs/vault-display-example.md +132 -0
  464. package/docs/wallet-buttons-examples.md +638 -0
  465. package/docs/wallet-buttons-express-examples.md +201 -0
  466. package/docs/wallet-buttons-express.md +1076 -0
  467. package/docs/wallet-buttons.md +625 -0
  468. package/docs/wallet-cba-buttons-examples.md +388 -0
  469. package/docs/widget-examples.md +271 -0
  470. package/examples/html-widget/actions.html +47 -0
  471. package/examples/html-widget/events.html +2 -2
  472. package/examples/html-widget/form.html +2 -3
  473. package/examples/html-widget/html-styles.html +29 -0
  474. package/examples/html-widget/insert-input.html +2 -2
  475. package/examples/html-widget/optional-settings.html +30 -0
  476. package/examples/html-widget/simple.html +3 -3
  477. package/examples/html-widget/styles.html +3 -3
  478. package/examples/multi-html-widget/extend.html +7 -2
  479. package/examples/multi-html-widget/simple.html +6 -8
  480. package/package.json +225 -55
  481. package/slate.md +2218 -0
  482. package/.npmignore +0 -15
  483. package/lib/index.d.ts +0 -2
  484. package/lib/index.js +0 -3
  485. package/lib/index.js.map +0 -1
  486. package/lib/widget/components/container.d.ts +0 -9
  487. package/lib/widget/components/container.js +0 -18
  488. package/lib/widget/components/container.js.map +0 -1
  489. package/lib/widget/components/env.d.ts +0 -19
  490. package/lib/widget/components/env.js +0 -33
  491. package/lib/widget/components/env.js.map +0 -1
  492. package/lib/widget/components/event.d.ts +0 -26
  493. package/lib/widget/components/event.js +0 -49
  494. package/lib/widget/components/event.js.map +0 -1
  495. package/lib/widget/components/form-Interceptor.js +0 -38
  496. package/lib/widget/components/form-Interceptor.js.map +0 -1
  497. package/lib/widget/components/iframe.d.ts +0 -11
  498. package/lib/widget/components/iframe.js +0 -31
  499. package/lib/widget/components/iframe.js.map +0 -1
  500. package/lib/widget/components/link.d.ts +0 -13
  501. package/lib/widget/components/link.js +0 -37
  502. package/lib/widget/components/link.js.map +0 -1
  503. package/lib/widget/components/param.d.ts +0 -39
  504. package/lib/widget/components/param.js +0 -21
  505. package/lib/widget/components/param.js.map +0 -1
  506. package/lib/widget/components/trigger.d.ts +0 -19
  507. package/lib/widget/components/trigger.js +0 -22
  508. package/lib/widget/components/trigger.js.map +0 -1
  509. package/lib/widget/configuration.d.ts +0 -59
  510. package/lib/widget/configuration.js +0 -134
  511. package/lib/widget/configuration.js.map +0 -1
  512. package/lib/widget/helper/event.d.ts +0 -8
  513. package/lib/widget/helper/event.js +0 -15
  514. package/lib/widget/helper/event.js.map +0 -1
  515. package/lib/widget/helper/object.js +0 -6
  516. package/lib/widget/helper/object.js.map +0 -1
  517. package/lib/widget/helper/url.d.ts +0 -3
  518. package/lib/widget/helper/url.js +0 -8
  519. package/lib/widget/helper/url.js.map +0 -1
  520. package/lib/widget/html-multi-widget.d.ts +0 -56
  521. package/lib/widget/html-multi-widget.js +0 -89
  522. package/lib/widget/html-multi-widget.js.map +0 -1
  523. package/lib/widget/html-widget.d.ts +0 -37
  524. package/lib/widget/html-widget.js +0 -50
  525. package/lib/widget/html-widget.js.map +0 -1
  526. package/lib/widget/index.d.ts +0 -5
  527. package/lib/widget/index.js +0 -6
  528. package/lib/widget/index.js.map +0 -1
  529. package/lib/widget/multi-widget.d.ts +0 -22
  530. package/lib/widget/multi-widget.js +0 -83
  531. package/lib/widget/multi-widget.js.map +0 -1
@@ -0,0 +1,105 @@
1
+ export { ClickToPay } from './click-to-pay-secure-remote-commerce';
2
+ export { IClickToPayMeta } from './interfaces';
3
+ /**
4
+ * Interface of data used for the Mastercard Checkout. For further information refer to [the documentation](https://developer.mastercard.com/unified-checkout-solutions/documentation/sdk-reference/init).
5
+ * @interface IMastercardSRCMeta
6
+ *
7
+ * @type {object}
8
+ * @param {boolean} [disable_summary_screen] Boolean flag that controls if a final summary screen is presented in the checkout flow.
9
+ * @param {object} [dpa_data] Object where the DPA creation data is stored.
10
+ * @param {string} [dpa_data.dpa_presentation_name] Name in which the DPA is presented.
11
+ * @param {string} [dpa_data.dpa_uri] Used for indicating the DPA URI.
12
+ * @param {string} [dpa_data.dpa_address] Address associated with the DPA.
13
+ * @param {string} [dpa_data.dpa_email_address] Email address for DPA communication.
14
+ * @param {object} [dpa_data.dpa_phone_number] Phone number structure for DPA communication.
15
+ * @param {string} [dpa_data.dpa_phone_number.country_code] The country code of the phone number.
16
+ * @param {string} [dpa_data.dpa_phone_number.phone_number] The phone number part of the phone number.
17
+ * @param {string} [dpa_data.dpa_logo_uri] URI for the DPA logo.
18
+ * @param {string} [dpa_data.dpa_supported_email_address] Supported email address for DPA support.
19
+ * @param {object} [dpa_data.dpa_supported_phone_number] Supported phone number for DPA support.
20
+ * @param {string} [dpa_data.dpa_supported_phone_number.country_code] The country code of the phone number.
21
+ * @param {string} [dpa_data.dpa_supported_phone_number.phone_number] The phone number part of the phone number.
22
+ * @param {string} [dpa_data.dpa_support_uri] URI for DPA support.
23
+ * @param {string} [dpa_data.application_type] Application type, either 'WEB_BROWSER' or 'MOBILE_APP'.
24
+ * @param {string[]} [co_brand_names] List of co-brand names associated with the Click to Pay experience.
25
+ * @param {string} [checkout_experience] Checkout experience type, either 'WITHIN_CHECKOUT' or 'PAYMENT_SETTINGS'.
26
+ * @param {string} [services] Services offered, such as 'INLINE_CHECKOUT' or 'INLINE_INSTALLMENTS'.
27
+ * @param {object} [dpa_transaction_options] Object that stores options for creating a transaction with DPA.
28
+ * @param {string} [dpa_transaction_options.dpa_locale] DPA’s preferred locale, example en_US.
29
+ * @param {string[]} [dpa_transaction_options.dpa_accepted_billing_countries] List of accepted billing countries for DPA in ISO 3166-1 alpha-2 format.
30
+ * @param {string} [dpa_transaction_options.dpa_billing_preference] Billing preferences for DPA, options are 'FULL', 'POSTAL_COUNTRY', 'NONE'.
31
+ * @param {object[]} [dpa_transaction_options.payment_options] Payment options included in the transaction.
32
+ * @param {string} [dpa_transaction_options.payment_options.dynamic_data_type] Dynamic data types.
33
+ * @param {string} [dpa_transaction_options.order_type] Type of the order, options are 'SPLIT_SHIPMENT', 'PREFERRED_CARD'.
34
+ * @param {string} [dpa_transaction_options.three_ds_preference] Preference for 3DS usage in the transaction.
35
+ * @param {boolean} [dpa_transaction_options.confirm_payment] Indicates if payment confirmation is required.
36
+ * @param {boolean} [dpa_transaction_options.consumer_name_requested] Indicates if consumer name is requested.
37
+ * @param {boolean} [dpa_transaction_options.consumer_email_address_requested] Indicates if consumer email address is requested.
38
+ * @param {boolean} [dpa_transaction_options.consumer_phone_number_requested] Indicates if consumer phone number is requested.
39
+ * @param {object} [dpa_transaction_options.transaction_amount] Details of the transaction amount.
40
+ * @param {number} [dpa_transaction_options.transaction_amount.transaction_amount] Amount of the transaction.
41
+ * @param {string} [dpa_transaction_options.transaction_amount.transaction_currency_code] Currency code of the transaction in 3 letter ISO code format.
42
+ * @param {string} [dpa_transaction_options.merchant_order_id] Merchant's order ID.
43
+ * @param {string} [dpa_transaction_options.merchant_category_code] Merchant's category code.
44
+ * @param {string} [dpa_transaction_options.merchant_country_code] Merchant's country code in ISO 3166-1 alpha-2 format.
45
+ * @param {object} [customer] Object where the customer data is stored to prefill in the checkout.
46
+ * @param {string} [customer.email] Customer email.
47
+ * @param {string} [customer.first_name] Customer first name.
48
+ * @param {string} [customer.last_name] Customer last name.
49
+ * @param {object} [customer.phone] Object where the customer phone is stored.
50
+ * @param {string} [customer.phone.country_code] Customer phone country code (example "1" for US).
51
+ * @param {string} [customer.phone.phone] Customer phone number.
52
+ * @param {string} [unaccepted_card_type] Used to block a specific card type. Options are 'CREDIT', 'DEBIT'.
53
+ */
54
+ /**
55
+ * Interface for data returned in callbacks
56
+ * @interface EventData
57
+ *
58
+ * @type {object}
59
+ * @param {EVENT_DATA_TYPE} type Event type of type [EVENT_DATA_TYPE]{@link EVENT_DATA_TYPE}
60
+ * @param {string | EventDataCheckoutCompletedData} data optional data returning a string for checkoutError event or [EventDataCheckoutCompletedData]{@link EventDataCheckoutCompletedData} for checkoutCompleted
61
+ */
62
+ /**
63
+ * Event data returned for checkoutCompleted callback, holding the One Time Token and the flow type completed.
64
+ * When the flow type is src, masked checkoutData available is also returned
65
+ *
66
+ * @interface EventDataCheckoutCompletedData
67
+ *
68
+ * @type {object}
69
+ * @param {string} type type of the checkout, can be `src` or `manual`.
70
+ * @param {string} token one time token value.
71
+ * @param {string} token_type one time token type value, can be `card` or `card_scheme_token`.
72
+ * @param {object} [checkoutData] Optional checkout data related to the checkout information. Only available on src flow.
73
+ * @param {string} [checkoutData.card_number_bin] The BIN of the card used for the transaction.
74
+ * @param {string} [checkoutData.card_number_last4] The last four digits of the card number.
75
+ * @param {string} [checkoutData.card_scheme] The card scheme. Values: visa, mastercard, amex, diners, discover.
76
+ * @param {string} [checkoutData.card_type] The type of card. Values: credit, debit, prepaid, combo, flex.
77
+ * @param {string} [checkoutData.address_line1] Address line 1 for billing address.
78
+ * @param {string} [checkoutData.address_line2] Address line 2 for billing address.
79
+ * @param {string} [checkoutData.address_line3] Address line 3 for billing address.
80
+ * @param {string} [checkoutData.address_city] City for billing address.
81
+ * @param {string} [checkoutData.address_postcode] Postal code for billing address.
82
+ * @param {string} [checkoutData.address_state] State or province for billing address.
83
+ * @param {string} [checkoutData.address_country] Country for billing address.
84
+ * @param {object} [checkoutData.shipping] Optional shipping information.
85
+ * @param {string} [checkoutData.shipping.address_line1] Address line 1 for shipping address.
86
+ * @param {string} [checkoutData.shipping.address_line2] Address line 2 for shipping address.
87
+ * @param {string} [checkoutData.shipping.address_line3] Address line 3 for shipping address.
88
+ * @param {string} [checkoutData.shipping.address_city] City for shipping address.
89
+ * @param {string} [checkoutData.shipping.address_postcode] Postal code for shipping address.
90
+ * @param {string} [checkoutData.shipping.address_state] State or province for shipping address.
91
+ * @param {string} [checkoutData.shipping.address_country] Country for shipping address.
92
+ */
93
+ /**
94
+ * Interface for style configs inyected to the Click to Pay checkout
95
+ * @interface IStyles
96
+ *
97
+ * @type {object}
98
+ * @param {string} [primary_button_color] Color Code for primary button.
99
+ * @param {string} [primary_button_text_color] Color Code for primary button text.
100
+ * @param {string} [secondary_button_color] Color Code for secondary button.
101
+ * @param {string} [secondary_button_text_color] Color Code for secondary button text.
102
+ * @param {string} [font_family] Font family to be used.
103
+ * @param {boolean} [enable_src_popup] Boolean flag to make the Click to Pay checkout show in a popup window instead of embedded in iframe.
104
+ */
105
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/secure-remote-commerce/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AAEH;;;;;;;GAOG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH;;;;;;;;;;;GAWG"}
@@ -0,0 +1,156 @@
1
+ /**
2
+ * List of available event's name in the Click To Pay checkout lifecycle
3
+ * @enum EVENT
4
+ *
5
+ * @type {object}
6
+ * @param {string} IFRAME_LOADED=iframeLoaded Initial event sent when IFrame is initially loaded.
7
+ * @param {string} CHECKOUT_READY=checkoutReady Event sent when checkout is loaded and ready to be used by customer. Leverage alongside [showCheckout](#SRC+showCheckout) and [hideCheckout](#SRC+hideCheckout).
8
+ * @param {string} CHECKOUT_POPUP_OPEN=checkoutPopupOpen Event sent when Click To Pay checkout flow is started, regardless of embedded or windowed mode.
9
+ * @param {string} CHECKOUT_POPUP_CLOSE=checkoutPopupClose Event sent when Click To Pay checkout flow is closed, regardless of embedded or windowed mode.
10
+ * @param {string} CHECKOUT_COMPLETED=checkoutCompleted Event sent on successful checkout by customer. Check [data](#EventDataCheckoutCompletedData) for more information.
11
+ * @param {string} CHECKOUT_ERROR=checkoutError Event sent on error checkout by customer. Check [data](#EventData) for more information.
12
+ */
13
+ export declare enum EVENT {
14
+ IFRAME_LOADED = "iframeLoaded",
15
+ CHECKOUT_READY = "checkoutReady",
16
+ CHECKOUT_COMPLETED = "checkoutCompleted",
17
+ CHECKOUT_ERROR = "checkoutError",
18
+ CHECKOUT_POPUP_OPEN = "checkoutPopupOpen",
19
+ CHECKOUT_POPUP_CLOSE = "checkoutPopupClose"
20
+ }
21
+ export interface EventData {
22
+ type: EVENT_DATA_TYPE;
23
+ data?: string | EventDataCheckoutCompletedData | EventDataRecognitionTokenRequested;
24
+ }
25
+ /**
26
+ * List of available event data types
27
+ * @enum EVENT_DATA_TYPE
28
+ *
29
+ * @type {object}
30
+ * @param {string} CRITICAL_ERROR=CriticalError in this error scenario the checkout is understood to be in a non-recoverable state and should be closed by the merchant and give alternate payment options to the user
31
+ * @param {string} USER_ERROR=UserError in this error scenario the error in likely a user input error and the checkout is in a recoverable state, so the user will be kept within the checkout and can retry the flow
32
+ * @param {string} SUCCESS=Success
33
+ */
34
+ export declare enum EVENT_DATA_TYPE {
35
+ CRITICAL_ERROR = "CriticalError",
36
+ USER_ERROR = "UserError",
37
+ SUCCESS = "Success"
38
+ }
39
+ interface EventDataRecognitionTokenRequested {
40
+ data: {
41
+ recognitionToken: string;
42
+ };
43
+ }
44
+ interface EventDataCheckoutCompletedData {
45
+ type: 'src' | 'manual';
46
+ token: string;
47
+ token_type: 'card' | 'card_scheme_token';
48
+ checkoutData?: {
49
+ card_number_bin?: string;
50
+ card_number_last4?: string;
51
+ card_scheme?: 'visa' | 'mastercard' | 'amex' | 'diners' | 'discover';
52
+ card_type?: 'credit' | 'debit' | 'prepaid' | 'combo' | 'flex';
53
+ address_line1?: string;
54
+ address_line2?: string;
55
+ address_line3?: string;
56
+ address_city?: string;
57
+ address_postcode?: string;
58
+ address_state?: string;
59
+ address_country?: string;
60
+ shipping?: {
61
+ address_line1?: string;
62
+ address_line2?: string;
63
+ address_line3?: string;
64
+ address_city?: string;
65
+ address_postcode?: string;
66
+ address_state?: string;
67
+ address_country?: string;
68
+ };
69
+ };
70
+ }
71
+ interface IBaseSRCMeta {
72
+ customizations?: IStyles;
73
+ dpa_data?: {
74
+ dpa_presentation_name?: string;
75
+ dpa_uri?: string;
76
+ };
77
+ dpa_transaction_options?: {
78
+ dpa_locale?: string;
79
+ dpa_accepted_billing_countries?: string[];
80
+ consumer_name_requested?: boolean;
81
+ consumer_email_address_requested?: boolean;
82
+ consumer_phone_number_requested?: boolean;
83
+ transaction_amount?: {
84
+ transaction_amount?: number;
85
+ transaction_currency_code?: string;
86
+ };
87
+ merchant_order_id?: string;
88
+ merchant_category_code?: string;
89
+ merchant_country_code?: string;
90
+ };
91
+ }
92
+ interface PhoneNumber {
93
+ country_code: string;
94
+ phone_number: string;
95
+ }
96
+ interface Customer {
97
+ email?: string;
98
+ phone?: {
99
+ country_code?: string;
100
+ phone?: string;
101
+ };
102
+ first_name?: string;
103
+ last_name?: string;
104
+ }
105
+ export interface IClickToPayMeta extends IBaseSRCMeta {
106
+ dpa_data?: IBaseSRCMeta['dpa_data'] & {
107
+ dpa_address?: string;
108
+ dpa_email_address?: string;
109
+ dpa_phone_number?: PhoneNumber;
110
+ dpa_logo_uri?: string;
111
+ dpa_supported_email_address?: string;
112
+ dpa_supported_phone_number?: PhoneNumber;
113
+ dpa_uri?: string;
114
+ dpa_support_uri?: string;
115
+ application_type?: 'WEB_BROWSER' | 'MOBILE_APP';
116
+ };
117
+ disable_summary_screen?: boolean;
118
+ co_brand_names?: string[];
119
+ checkout_experience?: 'WITHIN_CHECKOUT' | 'PAYMENT_SETTINGS';
120
+ services?: 'INLINE_CHECKOUT' | 'INLINE_INSTALLMENTS';
121
+ dpa_transaction_options?: IBaseSRCMeta['dpa_transaction_options'] & {
122
+ dpa_billing_preference?: MASTERCARD_DPA_SHIPPING_BILLING_PREFERENCE;
123
+ payment_options?: Array<{
124
+ dynamic_data_type?: string;
125
+ }>;
126
+ order_type?: MASTERCARD_ORDER_TYPE;
127
+ three_ds_preference?: string;
128
+ confirm_payment?: boolean;
129
+ };
130
+ customer?: Customer;
131
+ unaccepted_card_type?: 'CREDIT' | 'DEBIT';
132
+ recognition_token?: string;
133
+ }
134
+ export type MASTERCARD_DPA_SHIPPING_BILLING_PREFERENCE = 'FULL' | 'POSTAL_COUNTRY' | 'NONE';
135
+ export type DPA_DYNAMIC_DATA_TYPE = 'TAVV' | 'DTVV';
136
+ export type REVIEW_ACTION = 'pay' | 'continue';
137
+ export type TRANSACTION_TYPE = 'PURCHASE' | 'BILL_PAYMENT' | 'MONEY_TRANSFER';
138
+ export type MASTERCARD_ORDER_TYPE = 'SPLIT_SHIPMENT' | 'PREFERRED_CARD';
139
+ export interface IStyles {
140
+ primary_button_color?: string;
141
+ secondary_button_color?: string;
142
+ primary_button_text_color?: string;
143
+ secondary_button_text_color?: string;
144
+ font_family?: string;
145
+ enable_src_popup?: boolean;
146
+ }
147
+ export declare const STYLE: {
148
+ PRIMARY_BUTTON_COLOR: string;
149
+ SECONDARY_BUTTON_COLOR: string;
150
+ PRIMARY_BUTTON_TEXT_COLOR: string;
151
+ SECONDARY_BUTTON_TEXT_COLOR: string;
152
+ FONT_FAMILY: string;
153
+ ENABLE_SRC_POPUP: string;
154
+ };
155
+ export {};
156
+ //# sourceMappingURL=interfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/secure-remote-commerce/interfaces.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ export { ClickToPaySRC } from './mastercard-src';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/secure-remote-commerce/providers/mastercard-src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { Link } from '../../../components/link';
2
+ import { Container } from '../../../components/container';
3
+ import { IFrame } from '../../../components/iframe';
4
+ import { IFrameEvent } from '../../../components/iframe-event';
5
+ import { EventEmitter } from "../../../helper/event-emitter";
6
+ import { SRCProvider } from '../src-provider';
7
+ import { IClickToPayMeta } from '../../interfaces';
8
+ export declare class ClickToPaySRC implements SRCProvider {
9
+ protected meta: IClickToPayMeta;
10
+ protected eventEmitter: EventEmitter;
11
+ protected autoResize: any;
12
+ protected link: Link;
13
+ protected iFrameContainer: Container;
14
+ protected iFrame: IFrame;
15
+ protected iFrameEvent: IFrameEvent;
16
+ constructor(iframe_selector: string, service_id: string, public_key: string, meta: IClickToPayMeta, eventEmitter: EventEmitter, autoResize: any, env: string, alias?: string);
17
+ private setupIFrameEvents;
18
+ load(): void;
19
+ getEnv(): string;
20
+ hideCheckout(saveSize: boolean): void;
21
+ showCheckout(): void;
22
+ reload(): void;
23
+ useAutoResize(force?: boolean): void;
24
+ }
25
+ //# sourceMappingURL=mastercard-src.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mastercard-src.d.ts","sourceRoot":"","sources":["../../../../src/secure-remote-commerce/providers/mastercard-src/mastercard-src.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAc,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAS,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAG1D,qBAAa,aAAc,YAAW,WAAW;IAMgC,SAAS,CAAC,IAAI,EAAE,eAAe;IAAE,SAAS,CAAC,YAAY,EAAE,YAAY;IAAE,SAAS,CAAC,UAAU;IALxK,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC;IACrB,SAAS,CAAC,eAAe,EAAE,SAAS,CAAC;IACrC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,WAAW,EAAE,WAAW,CAAC;gBAEvB,eAAe,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAY,IAAI,EAAE,eAAe,EAAY,YAAY,EAAE,YAAY,EAAY,UAAU,KAAA,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM;IAsBrM,OAAO,CAAC,iBAAiB;IA6BlB,IAAI,IAAI,IAAI;IAUZ,MAAM,IAAI,MAAM;IAIhB,YAAY,CAAC,QAAQ,EAAE,OAAO;IAK9B,YAAY;IAKZ,MAAM;IAKN,aAAa,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI;CAkB9C"}
@@ -0,0 +1,11 @@
1
+ export interface SRCProvider {
2
+ load(): void;
3
+ getEnv(): string;
4
+ hideButton?(saveSize: boolean): void;
5
+ showButton?(): void;
6
+ hideCheckout?(saveSize: boolean): void;
7
+ showCheckout?(): void;
8
+ reload(): void;
9
+ useAutoResize?(): void;
10
+ }
11
+ //# sourceMappingURL=src-provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"src-provider.d.ts","sourceRoot":"","sources":["../../../src/secure-remote-commerce/providers/src-provider.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IACxB,IAAI,IAAI,IAAI,CAAC;IACb,MAAM,IAAI,MAAM,CAAC;IACjB,UAAU,CAAC,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI,CAAC;IACrC,UAAU,CAAC,IAAI,IAAI,CAAC;IACpB,YAAY,CAAC,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI,CAAC;IACvC,YAAY,CAAC,IAAI,IAAI,CAAC;IACtB,MAAM,IAAI,IAAI,CAAC;IACf,aAAa,CAAC,IAAI,IAAI,CAAC;CAC1B"}
@@ -0,0 +1,86 @@
1
+ import { EventEmitter } from '../helper/event-emitter';
2
+ import { ApiInternal } from '../api/api-internal';
3
+ import { SRCProvider } from './providers/src-provider';
4
+ import { IStyles, IClickToPayMeta } from './interfaces';
5
+ declare abstract class SRC {
6
+ protected iframe_selector: string;
7
+ protected service_id: string;
8
+ protected public_key_or_access_token: string;
9
+ protected meta: IClickToPayMeta;
10
+ protected eventEmitter: EventEmitter;
11
+ protected env: string;
12
+ protected alias?: string;
13
+ protected api: ApiInternal;
14
+ protected provider: SRCProvider;
15
+ protected autoResize: boolean;
16
+ protected style: IStyles;
17
+ constructor(iframe_selector: string, service_id: string, public_key_or_access_token: string, meta: IClickToPayMeta);
18
+ /**
19
+ * Object contain styles for widget - call before `.load()`.
20
+ *
21
+ * @example
22
+ * widget.setStyles({
23
+ * enable_src_popup: true
24
+ * primary_button_color: 'red',
25
+ * secondary_button_color: 'blue',
26
+ * primary_button_text_color: 'white',
27
+ * secondary_button_text_color: 'white',
28
+ * font_family: 'Arial',
29
+ * });
30
+ * @param {IStyles} fields - name of styles which can be shown in widget [STYLE]{@link STYLE}
31
+ */
32
+ setStyles(styles: IStyles): void;
33
+ private setStyle;
34
+ load(): void;
35
+ /**
36
+ * Current method can change environment. By default environment = sandbox.
37
+ * Also we can change domain alias for this environment. By default domain_alias = paydock.com
38
+ *
39
+ * @example
40
+ * SRC.setEnv('production');
41
+ * @param {string} env - sandbox, production
42
+ * @param {string} [alias] - Own domain alias
43
+ */
44
+ setEnv(env: string, alias?: string): void;
45
+ /**
46
+ * Method to read the current environment
47
+ *
48
+ * @example
49
+ * SRC.getEnv();
50
+ */
51
+ getEnv(): string;
52
+ on(eventName: string): Promise<any>;
53
+ on(eventName: string, cb: (data: any) => void): any;
54
+ /**
55
+ * Using this method you can hide checkout after load and button click
56
+ * @param {boolean} [saveSize=false] - using this param you can save iframe's size (if applicable)
57
+ *
58
+ * @example
59
+ * SRC.hideCheckout();
60
+ */
61
+ hideCheckout(saveSize: boolean): void;
62
+ /**
63
+ * Using this method you can show checkout after using hideCheckout method
64
+ *
65
+ * @example
66
+ * SRC.showCheckout()
67
+ */
68
+ showCheckout(): void;
69
+ /**
70
+ * Using this method you can reload the whole checkout
71
+ *
72
+ * @example
73
+ * SRC.reload()
74
+ */
75
+ reload(): void;
76
+ /**
77
+ * Use this method for resize checkout iFrame according to content height, if applicable
78
+ *
79
+ * @example
80
+ * SRC.useAutoResize();
81
+ *
82
+ */
83
+ useAutoResize(): void;
84
+ }
85
+ export { SRC };
86
+ //# sourceMappingURL=secure-remote-commerce.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"secure-remote-commerce.d.ts","sourceRoot":"","sources":["../../src/secure-remote-commerce/secure-remote-commerce.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAS,eAAe,EAAa,MAAM,cAAc,CAAC;AAG1E,uBAAe,GAAG;IAYF,SAAS,CAAC,eAAe,EAAE,MAAM;IAAE,SAAS,CAAC,UAAU,EAAE,MAAM;IAAE,SAAS,CAAC,0BAA0B,EAAE,MAAM;IAAE,SAAS,CAAC,IAAI,EAAE,eAAe;IAX1J,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;IAErC,SAAS,CAAC,GAAG,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAEzB,SAAS,CAAC,GAAG,EAAE,WAAW,CAAC;IAC3B,SAAS,CAAC,QAAQ,EAAE,WAAW,CAAC;IAEhC,SAAS,CAAC,UAAU,UAAS;IAC7B,SAAS,CAAC,KAAK,EAAE,OAAO,CAAiB;gBAEnB,eAAe,EAAE,MAAM,EAAY,UAAU,EAAE,MAAM,EAAY,0BAA0B,EAAE,MAAM,EAAY,IAAI,EAAE,eAAe;IAKzJ;;;;;;;;;;;;;MAaE;IACI,SAAS,CAAC,MAAM,EAAE,OAAO;IAOhC,OAAO,CAAC,QAAQ;IAOT,IAAI,IAAI,IAAI;IA0BnB;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI;IAShD;;;;;OAKG;IACI,MAAM,IAAI,MAAM;IAOhB,EAAE,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IACnC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI;IAyBpD;;;;;;OAMG;IACI,YAAY,CAAC,QAAQ,EAAE,OAAO;IAKrC;;;;;OAKG;IACI,YAAY;IAKnB;;;;;OAKG;IACI,MAAM;IAKb;;;;;;OAMG;IACI,aAAa;CAKvB;AAED,OAAO,EAAE,GAAG,EAAE,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Retrieves the user agent from the browser.
3
+ *
4
+ * @returns {string} The user agent from the browser
5
+ */
6
+ export declare function getDeviceUserAgent(): string;
7
+ /**
8
+ * Retrieves the device IP address from the API.
9
+ *
10
+ * @returns {Promise<string>} The device IP address
11
+ */
12
+ export declare function getDeviceIpAddress(): Promise<string>;
13
+ //# sourceMappingURL=device-info.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"device-info.service.d.ts","sourceRoot":"","sources":["../../../src/shared/device/device-info.service.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,kBAAkB,IAAI,MAAM,CAM3C;AAED;;;;GAIG;AACH,wBAAsB,kBAAkB,IAAI,OAAO,CAAC,MAAM,CAAC,CAqB1D"}
@@ -0,0 +1,41 @@
1
+ import type { HttpFetcher } from './http-fetcher';
2
+ export declare abstract class AuthorizationStrategy {
3
+ abstract apply(httpFetch: HttpFetcher): void;
4
+ }
5
+ /**
6
+ * Implementation of AuthorizationStrategy that uses an access token for authorization.
7
+ *
8
+ * This strategy configures the SDK Services and Widgets to use access token authentication.
9
+ */
10
+ export declare class AccessTokenStrategy extends AuthorizationStrategy {
11
+ private readonly accessToken;
12
+ /**
13
+ * @constructor Creates an instance of AuthorizationStrategy which enables authorization by access token
14
+ *
15
+ * @param accessToken
16
+ */
17
+ constructor(accessToken: string);
18
+ apply(httpFetch: HttpFetcher): void;
19
+ }
20
+ /**
21
+ * Implementation of AuthorizationStrategy that preserves Services and Widgets in an anonymous state.
22
+ */
23
+ export declare class AnonymousStrategy extends AuthorizationStrategy {
24
+ apply(_: HttpFetcher): void;
25
+ }
26
+ /**
27
+ * Implementation of AuthorizationStrategy that uses a public key for authorization.
28
+ *
29
+ * This strategy configures the SDK Services and Widgets to use public key authentication.
30
+ */
31
+ export declare class PublicKeyStrategy extends AuthorizationStrategy {
32
+ private readonly publicKey;
33
+ /**
34
+ * @constructor Creates an instance of AuthorizationStrategy which enables authorization by public key
35
+ *
36
+ * @param publicKey
37
+ */
38
+ constructor(publicKey: string);
39
+ apply(httpFetch: HttpFetcher): void;
40
+ }
41
+ //# sourceMappingURL=authorization-strategy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authorization-strategy.d.ts","sourceRoot":"","sources":["../../../src/shared/http/authorization-strategy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,8BAAsB,qBAAqB;aACzB,KAAK,CAAC,SAAS,EAAE,WAAW,GAAG,IAAI;CACpD;AAED;;;;GAIG;AACH,qBAAa,mBAAoB,SAAQ,qBAAqB;IAMhD,OAAO,CAAC,QAAQ,CAAC,WAAW;IALxC;;;;OAIG;gBAC0B,WAAW,EAAE,MAAM;IAUzC,KAAK,CAAC,SAAS,EAAE,WAAW,GAAG,IAAI;CAG3C;AAED;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,qBAAqB;IACnD,KAAK,CAAC,CAAC,EAAE,WAAW,GAAG,IAAI;CAGnC;AAED;;;;GAIG;AACH,qBAAa,iBAAkB,SAAQ,qBAAqB;IAM9C,OAAO,CAAC,QAAQ,CAAC,SAAS;IALtC;;;;OAIG;gBAC0B,SAAS,EAAE,MAAM;IAUvC,KAAK,CAAC,SAAS,EAAE,WAAW,GAAG,IAAI;CAG3C"}
@@ -0,0 +1,29 @@
1
+ import { type IReportError, type ReportErrorFn } from '../../shared/services/instrumentation/repositories';
2
+ import type { Result } from '../shared.constants';
3
+ type SerializablePrimitive = string | number | bigint | boolean | null;
4
+ type BodyInit = SerializablePrimitive | Record<string, SerializablePrimitive> | Array<SerializablePrimitive>;
5
+ export declare class HttpFetcher implements IReportError {
6
+ private baseUrl;
7
+ private body;
8
+ private headers;
9
+ constructor();
10
+ reportError: ReportErrorFn;
11
+ setAccessToken(accessToken: string): HttpFetcher;
12
+ setBaseUrl(baseUrl: string): HttpFetcher;
13
+ setBody<TBody extends BodyInit>(body: TBody): HttpFetcher;
14
+ setContentTypeJson(): HttpFetcher;
15
+ setContentTypeText(): HttpFetcher;
16
+ setHeaders(headers: HeadersInit): HttpFetcher;
17
+ setPublicKey(publicKey: string): HttpFetcher;
18
+ setSdkVersion(): HttpFetcher;
19
+ execute<S = unknown, E = unknown>(method: 'DELETE' | 'GET' | 'POST' | 'PUT' | 'PATCH', path: string): Promise<Result<{
20
+ statusCode: number;
21
+ body: S;
22
+ }, {
23
+ statusCode: number;
24
+ body: E;
25
+ }>>;
26
+ value(): Record<string, unknown>;
27
+ }
28
+ export {};
29
+ //# sourceMappingURL=http-fetcher.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http-fetcher.d.ts","sourceRoot":"","sources":["../../../src/shared/http/http-fetcher.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,aAAa,EAEnB,MAAM,oDAAoD,CAAC;AAE5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,KAAK,qBAAqB,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;AAEvE,KAAK,QAAQ,GACT,qBAAqB,GACrB,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,GACrC,KAAK,CAAC,qBAAqB,CAAC,CAAC;AAEjC,qBAAa,WAAY,YAAW,YAAY;IAC9C,OAAO,CAAC,OAAO,CAAS;IAExB,OAAO,CAAC,IAAI,CAAW;IACvB,OAAO,CAAC,OAAO,CAAc;;IAQ7B,WAAW,EAAE,aAAa,CAExB;IAEK,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,WAAW;IAMhD,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,WAAW;IAMxC,OAAO,CAAC,KAAK,SAAS,QAAQ,EAAE,IAAI,EAAE,KAAK,GAAG,WAAW;IAgBzD,kBAAkB,IAAI,WAAW;IAMjC,kBAAkB,IAAI,WAAW;IAMjC,UAAU,CAAC,OAAO,EAAE,WAAW,GAAG,WAAW;IAM7C,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW;IAM5C,aAAa,IAAI,WAAW;IAStB,OAAO,CAAC,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,EAC3C,MAAM,EAAE,QAAQ,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,EACnD,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,MAAM,CAAC;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,CAAC,CAAA;KAAE,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,CAAC,CAAA;KAAE,CAAC,CAAC;IAyC7E,KAAK,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAOxC"}
@@ -0,0 +1,17 @@
1
+ import type { IEnvironment } from '../../configs/env';
2
+ import type { AuthorizationStrategy } from './authorization-strategy';
3
+ import { HttpFetcher } from './http-fetcher';
4
+ type AuthorizationStrategyRef = AuthorizationStrategy | (() => AuthorizationStrategy);
5
+ type HttpFetcherFactoryConfig = {
6
+ environment: IEnvironment;
7
+ authorizationStrategy: AuthorizationStrategyRef;
8
+ };
9
+ export declare class HttpFetcherFactory {
10
+ private environment;
11
+ private authorizationStrategyReference;
12
+ constructor(config: HttpFetcherFactoryConfig);
13
+ createFetcher(): HttpFetcher;
14
+ private get authorizationStrategyValue();
15
+ }
16
+ export {};
17
+ //# sourceMappingURL=http-fetcher.factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http-fetcher.factory.d.ts","sourceRoot":"","sources":["../../../src/shared/http/http-fetcher.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,KAAK,wBAAwB,GAAG,qBAAqB,GAAG,CAAC,MAAM,qBAAqB,CAAC,CAAC;AAEtF,KAAK,wBAAwB,GAAG;IAC9B,WAAW,EAAE,YAAY,CAAC;IAC1B,qBAAqB,EAAE,wBAAwB,CAAC;CACjD,CAAC;AAEF,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,WAAW,CAAe;IAClC,OAAO,CAAC,8BAA8B,CAA2B;gBAErD,MAAM,EAAE,wBAAwB;IAKrC,aAAa,IAAI,WAAW;IAanC,OAAO,KAAK,0BAA0B,GAIrC;CACF"}
@@ -0,0 +1,14 @@
1
+ export type HttpRequestMethod = 'GET' | 'POST';
2
+ export type HttpRequestUrl = string | URL;
3
+ export declare class HttpRequest {
4
+ private request;
5
+ private constructor();
6
+ static create(method: HttpRequestMethod, url: string | HttpRequestUrl): HttpRequest;
7
+ inner(): XMLHttpRequest;
8
+ setHeader(name: string, value: string): this;
9
+ setAccessToken(value: string): this;
10
+ setPublicKey(value: string): this;
11
+ setContentTypeJson(): this;
12
+ setSdkVersion(): this;
13
+ }
14
+ //# sourceMappingURL=http-request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http-request.d.ts","sourceRoot":"","sources":["../../../src/shared/http/http-request.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,MAAM,CAAC;AAC/C,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,GAAG,CAAC;AAE1C,qBAAa,WAAW;IACtB,OAAO,CAAC,OAAO,CAAiB;IAEhC,OAAO;WAIO,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,GAAG,cAAc;IAQrE,KAAK;IAIL,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAMrC,cAAc,CAAC,KAAK,EAAE,MAAM;IAI5B,YAAY,CAAC,KAAK,EAAE,MAAM;IAI1B,kBAAkB;IAIlB,aAAa;CAQrB"}
@@ -0,0 +1,19 @@
1
+ export type ApiCoreResponseFailure<T = never> = {
2
+ status: number;
3
+ error: {
4
+ message: string;
5
+ code: string;
6
+ details?: {
7
+ path: string;
8
+ message: string;
9
+ };
10
+ };
11
+ };
12
+ export type ApiCoreResponseSuccess<T> = {
13
+ status: number;
14
+ resource: {
15
+ type: string;
16
+ data: T;
17
+ };
18
+ };
19
+ //# sourceMappingURL=http-response.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http-response.dto.d.ts","sourceRoot":"","sources":["../../../src/shared/http/http-response.dto.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,CAAC,CAAC,GAAG,KAAK,IAAI;IAC9C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE;QACL,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,CAAC,EAAE;YACR,IAAI,EAAE,MAAM,CAAC;YACb,OAAO,EAAE,MAAM,CAAC;SACjB,CAAC;KACH,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,sBAAsB,CAAC,CAAC,IAAI;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE;QACR,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,CAAC,CAAC;KACT,CAAC;CACH,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { IGeneral } from '../../../widget/configuration';
2
+ import { ALLOWED_RESPONSE_DATA } from './types';
3
+ interface ValidatedConfiguration extends IGeneral {
4
+ allowed_response_data: {
5
+ event: ALLOWED_RESPONSE_DATA[];
6
+ url: string[];
7
+ };
8
+ handle_cvv?: boolean;
9
+ }
10
+ export declare function validateConfiguration(configuration: IGeneral): ValidatedConfiguration | undefined;
11
+ export {};
12
+ //# sourceMappingURL=configuration-validation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configuration-validation.d.ts","sourceRoot":"","sources":["../../../../src/shared/services/configuration-validation/configuration-validation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EACL,qBAAqB,EAMtB,MAAM,SAAS,CAAC;AAGjB,UAAU,sBAAuB,SAAQ,QAAQ;IAC/C,qBAAqB,EAAE;QACrB,KAAK,EAAE,qBAAqB,EAAE,CAAC;QAC/B,GAAG,EAAE,MAAM,EAAE,CAAC;KACf,CAAC;IACF,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AACD,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,QAAQ,GACtB,sBAAsB,GAAG,SAAS,CA2BpC"}