@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,430 @@
1
+ /// <reference types="applepayjs" />
2
+ /// <reference types="googlepay" />
3
+ import type { CardValidatorValue, GenericValidatorValue } from "../constants/validators";
4
+ export declare const PAYMENT_SOURCE_TYPE: {
5
+ CARD: string;
6
+ BANK_ACCOUNT: string;
7
+ CHECKOUT: string;
8
+ };
9
+ export declare const FORM_FIELD: {
10
+ CARD_NAME: string;
11
+ CARD_NUMBER: string;
12
+ EXPIRE_MONTH: string;
13
+ EXPIRE_YEAR: string;
14
+ CARD_CCV: string;
15
+ CARD_PIN: string;
16
+ ACCOUNT_NAME: string;
17
+ ACCOUNT_BSB: string;
18
+ ACCOUNT_NUMBER: string;
19
+ ACCOUNT_ROUTING: string;
20
+ ACCOUNT_HOLDER_TYPE: string;
21
+ ACCOUNT_BANK_NAME: string;
22
+ ACCOUNT_TYPE: string;
23
+ FIRST_NAME: string;
24
+ LAST_NAME: string;
25
+ EMAIL: string;
26
+ PHONE: string;
27
+ PHONE2: string;
28
+ ADDRESS_LINE1: string;
29
+ ADDRESS_LINE2: string;
30
+ ADDRESS_STATE: string;
31
+ ADDRESS_COUNTRY: string;
32
+ ADDRESS_CITY: string;
33
+ ADDRESS_POSTCODE: string;
34
+ ADDRESS_COMPANY: string;
35
+ };
36
+ export declare const STYLE: {
37
+ BACKGROUND_COLOR: string;
38
+ BACKGROUND_ACTIVE_COLOR: string;
39
+ TEXT_COLOR: string;
40
+ BORDER_COLOR: string;
41
+ ICON_SIZE: string;
42
+ BUTTON_COLOR: string;
43
+ ERROR_COLOR: string;
44
+ SUCCESS_COLOR: string;
45
+ FONT_SIZE: string;
46
+ FONT_FAMILY: string;
47
+ };
48
+ export declare const VAULT_DISPLAY_STYLE: {
49
+ BACKGROUND_COLOR: string;
50
+ TEXT_COLOR: string;
51
+ BORDER_COLOR: string;
52
+ BUTTON_COLOR: string;
53
+ FONT_SIZE: string;
54
+ FONT_FAMILY: string;
55
+ };
56
+ export declare const TEXT: {
57
+ TITLE: string;
58
+ TITLE_H1: string;
59
+ TITLE_H2: string;
60
+ TITLE_H3: string;
61
+ TITLE_H4: string;
62
+ TITLE_H5: string;
63
+ TITLE_H6: string;
64
+ FINISH: string;
65
+ TITLE_DESCRIPTION: string;
66
+ SUBMIT_BUTTON: string;
67
+ SUBMIT_BUTTON_PROCESSING: string;
68
+ };
69
+ export declare const ELEMENT: {
70
+ SUBMIT_BUTTON: string;
71
+ TABS: string;
72
+ };
73
+ export declare const SUPPORTED_CARD_TYPES: {
74
+ AMEX: string;
75
+ AUSBC: string;
76
+ DINERS: string;
77
+ DISCOVER: string;
78
+ JAPCB: string;
79
+ LASER: string;
80
+ MASTERCARD: string;
81
+ SOLO: string;
82
+ VISA: string;
83
+ VISA_WHITE: string;
84
+ EFTPOS: string;
85
+ EFTPOS_WHITE: string;
86
+ };
87
+ export declare const SUPPORTED_CHECKOUT_META_COLLECTION: any[];
88
+ export interface IIcons {
89
+ paypal_checkout_button?: string;
90
+ afterpay_checkout_button?: string;
91
+ zipmoney_checkout_button?: string;
92
+ }
93
+ export interface IFormPropertyOption {
94
+ card_name?: string;
95
+ card_number?: string;
96
+ expire_month?: string;
97
+ expire_year?: string;
98
+ card_ccv?: string;
99
+ card_pin?: string;
100
+ account_name?: string;
101
+ account_bsb?: string;
102
+ account_number?: string;
103
+ account_routing?: string;
104
+ account_holder_type?: string;
105
+ account_bank_name?: string;
106
+ first_name?: string;
107
+ last_name?: string;
108
+ email?: string;
109
+ phone?: string;
110
+ phone2?: string;
111
+ address_line1?: string;
112
+ address_line2?: string;
113
+ address_state?: string;
114
+ address_country?: string;
115
+ address_city?: string;
116
+ address_postcode?: string;
117
+ address_company?: string;
118
+ }
119
+ export interface IFormValues extends IFormPropertyOption {
120
+ }
121
+ export interface IFormLabels extends IFormPropertyOption {
122
+ }
123
+ export interface IFormPlaceholders extends IFormPropertyOption {
124
+ }
125
+ export interface IFormElement {
126
+ field: string;
127
+ label?: string;
128
+ placeholder?: string;
129
+ value?: string;
130
+ }
131
+ export type ValidatorFieldsMapKey = CardValidatorValue | GenericValidatorValue;
132
+ export type ValidatorFieldsMap = Partial<Record<ValidatorFieldsMapKey, string[]>>;
133
+ export interface IFormValidation {
134
+ form_valid?: boolean;
135
+ invalid_fields?: string[];
136
+ invalid_showed_fields?: string[];
137
+ validators?: ValidatorFieldsMap;
138
+ }
139
+ export interface IStyles {
140
+ background_color?: string;
141
+ background_active_color?: string;
142
+ text_color?: string;
143
+ border_color?: string;
144
+ button_color?: string;
145
+ icon_size?: string;
146
+ error_color?: string;
147
+ success_color?: string;
148
+ font_size?: string;
149
+ font_family?: string;
150
+ }
151
+ export interface ITexts {
152
+ title?: string;
153
+ title_h1?: string;
154
+ title_h2?: string;
155
+ title_h3?: string;
156
+ title_h4?: string;
157
+ title_h5?: string;
158
+ title_h6?: string;
159
+ finish_text?: string;
160
+ title_description?: string;
161
+ submit_button?: string;
162
+ submit_button_processing?: string;
163
+ }
164
+ export interface ICommonParams {
165
+ sdk_version?: string;
166
+ sdk_type?: string;
167
+ }
168
+ export interface ISRCParams extends ICommonParams {
169
+ public_key?: string;
170
+ service_id?: string;
171
+ meta?: string;
172
+ }
173
+ export interface IWalletParams extends IStyles, ITexts, ICommonParams {
174
+ token: string;
175
+ credentials: string;
176
+ currency: string;
177
+ amount: number;
178
+ gateway_mode: string;
179
+ }
180
+ export interface IParams extends IStyles, ITexts, ICommonParams {
181
+ access_token?: string;
182
+ public_key?: string;
183
+ token?: string;
184
+ configuration_token?: string;
185
+ configuration_tokens?: string;
186
+ ref_id?: string;
187
+ supported_card_types?: string;
188
+ validate_card_types?: boolean;
189
+ fields_validation?: boolean;
190
+ hidden_elements?: string;
191
+ icons?: string;
192
+ form_values?: string;
193
+ form_labels?: string;
194
+ form_placeholders?: string;
195
+ query_token?: string;
196
+ limit?: number;
197
+ widget_id?: string;
198
+ gateway_id?: string;
199
+ gateway_ids?: string;
200
+ payment_source_types?: string;
201
+ element_styles?: string;
202
+ use_country_phone_mask?: boolean;
203
+ phone_mask_preferred_countries?: string;
204
+ phone_mask_default_country?: string;
205
+ phone_mask_only_countries?: string;
206
+ language?: string;
207
+ vault_display_token?: string;
208
+ sdk_origin?: boolean;
209
+ hide_ui_errors?: boolean;
210
+ }
211
+ export interface ICountryPhoneMask {
212
+ preferred_countries?: string[];
213
+ default_country?: string;
214
+ only_countries?: string[];
215
+ }
216
+ export interface IPayPalMeta {
217
+ brand_name?: string;
218
+ cart_border_color?: string;
219
+ reference?: string;
220
+ email?: string;
221
+ hdr_img?: string;
222
+ logo_img?: string;
223
+ pay_flow_color?: string;
224
+ first_name?: string;
225
+ last_name?: string;
226
+ address_line?: string;
227
+ address_line2?: string;
228
+ address_city?: string;
229
+ address_state?: string;
230
+ address_postcode?: string;
231
+ address_country?: string;
232
+ phone?: string;
233
+ hide_shipping_address?: boolean;
234
+ }
235
+ export interface IBamboraMeta {
236
+ customer_storage_number?: string;
237
+ tokenise_algorithm?: number;
238
+ }
239
+ export interface IZipmoneyMeta {
240
+ first_name: string;
241
+ last_name: string;
242
+ phone?: string;
243
+ tokenize?: boolean;
244
+ email: string;
245
+ gender?: string;
246
+ date_of_birth?: string;
247
+ charge: {
248
+ amount: number;
249
+ currency?: string;
250
+ reference?: string;
251
+ shipping_type?: string;
252
+ items: Array<{
253
+ name: string;
254
+ amount: number;
255
+ quantity: number;
256
+ type?: string;
257
+ reference?: string;
258
+ item_uri?: string;
259
+ image_url?: string;
260
+ }>;
261
+ shipping_address?: {
262
+ first_name?: string;
263
+ last_name?: string;
264
+ line1: string;
265
+ line2?: string;
266
+ country: string;
267
+ postcode: string;
268
+ city: string;
269
+ state: string;
270
+ };
271
+ billing_address: {
272
+ first_name?: string;
273
+ last_name?: string;
274
+ line1: string;
275
+ line2?: string;
276
+ country: string;
277
+ postcode: string;
278
+ city: string;
279
+ state: string;
280
+ };
281
+ };
282
+ statistics: {
283
+ account_created?: string;
284
+ sales_total_number?: number;
285
+ sales_total_amount?: number;
286
+ sales_avg_value?: number;
287
+ sales_max_value?: number;
288
+ refunds_total_amount?: number;
289
+ previous_chargeback?: boolean;
290
+ currency?: string;
291
+ last_login?: string;
292
+ };
293
+ hide_shipping_address?: boolean;
294
+ }
295
+ export interface IAfterpayMeta {
296
+ amount: number;
297
+ currency: string;
298
+ email: string;
299
+ first_name: string;
300
+ last_name: string;
301
+ address_line: string;
302
+ address_line2: string;
303
+ address_city: string;
304
+ address_state: string;
305
+ address_postcode: string;
306
+ address_country: string;
307
+ phone: string;
308
+ }
309
+ export interface VaultDisplayStyle {
310
+ background_color?: string;
311
+ text_color?: string;
312
+ border_color?: string;
313
+ button_color?: string;
314
+ font_size?: string;
315
+ font_family?: string;
316
+ }
317
+ export interface IApplePayShippingOption {
318
+ id: string;
319
+ label: string;
320
+ detail: string;
321
+ amount: string;
322
+ type?: 'ELECTRONIC' | 'GROUND' | 'NOT_SHIPPED' | 'OVERNIGHT' | 'PICKUP' | 'PRIORITY' | 'SAME_DAY';
323
+ }
324
+ export interface IGooglePayShippingOption {
325
+ id: string;
326
+ label: string;
327
+ detail?: string;
328
+ type?: 'ELECTRONIC' | 'GROUND' | 'NOT_SHIPPED' | 'OVERNIGHT' | 'PICKUP' | 'PRIORITY' | 'SAME_DAY';
329
+ }
330
+ export interface IPayPalShippingOption {
331
+ id: string;
332
+ label: string;
333
+ amount: string;
334
+ currency: string;
335
+ type: 'SHIPPING' | 'PICKUP';
336
+ }
337
+ export type IShippingOption = IApplePayShippingOption | IGooglePayShippingOption | IPayPalShippingOption;
338
+ export declare enum WALLET_GATEWAY {
339
+ STRIPE = "Stripe",
340
+ FLYPAY = "Flypay",
341
+ FLYPAY_V2 = "FlypayV2",
342
+ PAYPAL = "Paypal",
343
+ MASTERCARD = "MasterCard",
344
+ AFTERPAY = "Afterpay"
345
+ }
346
+ export declare enum WALLET_TYPE {
347
+ GOOGLE = "google",
348
+ APPLE = "apple",
349
+ FLYPAY = "flypay",
350
+ FLYPAY_V2 = "flypayV2",
351
+ PAYPAL = "paypal",
352
+ AFTERPAY = "afterpay"
353
+ }
354
+ export interface ApplePayStyles {
355
+ button_type?: 'add-money' | 'book' | 'buy' | 'check-out' | 'continue' | 'contribute' | 'donate' | 'order' | 'pay' | 'plain' | 'reload' | 'rent' | 'set-up' | 'subscribe' | 'support' | 'tip' | 'top-up';
356
+ button_style?: 'black' | 'white' | 'white-outline';
357
+ }
358
+ export interface GooglePayStyles {
359
+ button_type?: 'book' | 'buy' | 'checkout' | 'donate' | 'order' | 'pay' | 'plain' | 'subscribe';
360
+ button_size_mode?: 'static' | 'fill';
361
+ button_color?: 'default' | 'black' | 'white';
362
+ }
363
+ export interface AfterpayStyles {
364
+ button_type?: 'black' | 'mint' | 'white';
365
+ height?: string;
366
+ }
367
+ export type WalletStyles = {
368
+ apple?: ApplePayStyles;
369
+ google?: GooglePayStyles;
370
+ afterpay?: AfterpayStyles;
371
+ } | object;
372
+ export type WalletRawDataInitialization = {
373
+ apple?: ApplePayRawDataInitialization;
374
+ google?: GooglePayRawDataInitialization;
375
+ } | object;
376
+ export type ApplePayRawDataInitialization = ApplePayJS.ApplePayPaymentRequest;
377
+ export type GooglePayRawDataInitialization = google.payments.api.IsReadyToPayPaymentMethodSpecification | google.payments.api.PaymentMethodSpecification;
378
+ export interface IWalletMeta {
379
+ amount_label?: string;
380
+ country?: string;
381
+ pay_later?: boolean;
382
+ hide_message?: boolean;
383
+ standalone?: boolean;
384
+ show_billing_address?: boolean;
385
+ request_payer_name?: boolean;
386
+ request_payer_email?: boolean;
387
+ request_payer_phone?: boolean;
388
+ request_shipping?: boolean;
389
+ shipping_options?: IShippingOption[];
390
+ merchant_name?: string;
391
+ raw_data_initialization?: WalletRawDataInitialization;
392
+ access_token?: string;
393
+ refresh_token?: string;
394
+ style?: WalletStyles;
395
+ wallets?: WALLET_TYPE[];
396
+ client_id?: string;
397
+ apple_pay_capabilities?: Array<'credentials_available' | 'credentials_status_unknown' | 'credentials_unavailable'>;
398
+ }
399
+ export interface ITokenWalletMetaCredentials {
400
+ [WALLET_TYPE.APPLE]?: {
401
+ merchant?: string;
402
+ };
403
+ }
404
+ export interface ITokenWalletMeta {
405
+ charge: {
406
+ id: string;
407
+ amount: number;
408
+ currency: string;
409
+ capture?: boolean;
410
+ reference?: string;
411
+ meta?: {
412
+ success_url?: string;
413
+ error_url?: string;
414
+ };
415
+ };
416
+ gateway: {
417
+ type: string;
418
+ mode: string;
419
+ credentials?: ITokenWalletMetaCredentials;
420
+ };
421
+ credentials: {
422
+ client_auth: string;
423
+ };
424
+ }
425
+ export interface IMessageWidget {
426
+ title: string;
427
+ message: string;
428
+ type: string;
429
+ }
430
+ //# sourceMappingURL=param.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"param.d.ts","sourceRoot":"","sources":["../../src/components/param.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AED,MAAM,WAAW,gBAAgB;IAC7B,MAAM,EAAE;QACJ,EAAE,EAAE,MAAM,CAAC;QACX,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,IAAI,CAAC,EAAE;YACH,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,SAAS,CAAC,EAAE,MAAM,CAAC;SACtB,CAAC;KACL,CAAC;IACF,OAAO,EAAE;QACL,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,CAAC,EAAE,2BAA2B,CAAC;KAC7C,CAAC;IACF,WAAW,EAAE;QACT,WAAW,EAAE,MAAM,CAAC;KACvB,CAAC;CACL;AAED,MAAM,WAAW,cAAc;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,30 @@
1
+ import { EventEmitter } from '../helper/event-emitter';
2
+ export interface IConfigs {
3
+ width?: number;
4
+ height?: number;
5
+ scrollbars?: boolean;
6
+ resizable?: boolean;
7
+ top?: number;
8
+ left?: number;
9
+ }
10
+ export declare class Popup {
11
+ protected env: string;
12
+ protected window: Window;
13
+ protected eventEmitter: EventEmitter;
14
+ protected configs: IConfigs;
15
+ constructor();
16
+ isExist(): boolean;
17
+ getElement(): Window;
18
+ init(): Window & typeof globalThis;
19
+ redirect(url: string): void;
20
+ close(): void;
21
+ focus(): void;
22
+ setConfigs(configs: IConfigs): void;
23
+ getNetConfigs(): IConfigs;
24
+ getConfigs(): IConfigs;
25
+ onClose(cb: () => void): void;
26
+ initError(error: any): void;
27
+ protected showLoader(): void;
28
+ setEnv(env: string): void;
29
+ }
30
+ //# sourceMappingURL=popup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popup.d.ts","sourceRoot":"","sources":["../../src/components/popup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAwBvD,MAAM,WAAW,QAAQ;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAGD,qBAAa,KAAK;IAEd,SAAS,CAAC,GAAG,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;IACrC,SAAS,CAAC,OAAO,EAAE,QAAQ,CAOzB;;IAOK,OAAO,IAAI,OAAO;IAKlB,UAAU;IAKV,IAAI;IAqBJ,QAAQ,CAAC,GAAG,EAAE,MAAM;IAOpB,KAAK;IASL,KAAK;IAOL,UAAU,CAAC,OAAO,EAAE,QAAQ;IAI5B,aAAa,IAAI,QAAQ;IAIzB,UAAU,IAAI,QAAQ;IAOtB,OAAO,CAAC,EAAE,EAAE,MAAM,IAAI;IAKtB,SAAS,CAAC,KAAK,KAAA;IAOtB,SAAS,CAAC,UAAU;IAmBb,MAAM,CAAC,GAAG,EAAE,MAAM;CAG5B"}
@@ -0,0 +1,31 @@
1
+ export declare enum StorageDataIntent {
2
+ WIDGET_SESSION = "widget-session"
3
+ }
4
+ export interface StorageDispatcherPayload<T = unknown> {
5
+ source?: string;
6
+ destination?: string;
7
+ intent: StorageDataIntent;
8
+ data: T;
9
+ }
10
+ interface StorageDispatcherPushCallbacks {
11
+ onSuccess?: () => any;
12
+ onError?: () => any;
13
+ }
14
+ export declare class StorageDispatcher {
15
+ messageSource: string;
16
+ private env;
17
+ private dispatcherFrame?;
18
+ private onLoadCallback?;
19
+ private pushCallbacks?;
20
+ private iframeEvent;
21
+ private widgetId?;
22
+ private defaultPayload;
23
+ constructor(messageSource: string);
24
+ create(onLoadCallback?: () => any): HTMLIFrameElement;
25
+ destroy(): void;
26
+ push<T>(payload: StorageDispatcherPayload<T>, pushCallbacks?: StorageDispatcherPushCallbacks): void;
27
+ setEnv(env: string, alias?: string): void;
28
+ private setupIframeEventListeners;
29
+ }
30
+ export {};
31
+ //# sourceMappingURL=storage-dispatcher.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storage-dispatcher.d.ts","sourceRoot":"","sources":["../../src/components/storage-dispatcher.ts"],"names":[],"mappings":"AAQA,oBAAY,iBAAiB;IACzB,cAAc,mBAAmB;CACpC;AAED,MAAM,WAAW,wBAAwB,CAAC,CAAC,GAAG,OAAO;IACjD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,IAAI,EAAE,CAAC,CAAC;CACX;AAED,UAAU,8BAA8B;IACpC,SAAS,CAAC,EAAE,MAAM,GAAG,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,GAAG,CAAC;CACvB;AAED,qBAAa,iBAAiB;IAWP,aAAa,EAAE,MAAM;IAVxC,OAAO,CAAC,GAAG,CAAM;IACjB,OAAO,CAAC,eAAe,CAAC,CAAoB;IAC5C,OAAO,CAAC,cAAc,CAAC,CAAY;IACnC,OAAO,CAAC,aAAa,CAAC,CAAiC;IACvD,OAAO,CAAC,WAAW,CAAc;IACjC,OAAO,CAAC,QAAQ,CAAC,CAAS;IAC1B,OAAO,CAAC,cAAc,CAEpB;gBAEiB,aAAa,EAAE,MAAM;IAMjC,MAAM,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,GAAG,iBAAiB;IAoBrD,OAAO;IAUP,IAAI,CAAC,CAAC,EAAE,OAAO,EAAE,wBAAwB,CAAC,CAAC,CAAC,EAAE,aAAa,CAAC,EAAE,8BAA8B;IAe5F,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM;IAMzC,OAAO,CAAC,yBAAyB;CAgBpC"}
@@ -0,0 +1,48 @@
1
+ import { IFrame } from "./iframe";
2
+ export interface ITrigger {
3
+ trigger: string;
4
+ destination: string;
5
+ data: ITriggerData;
6
+ }
7
+ export interface ITriggerData {
8
+ configuration_token?: string;
9
+ tab_number?: number;
10
+ elements?: string;
11
+ form_values?: string;
12
+ }
13
+ /**
14
+ * Interface for classes that represent a trigger data.
15
+ * @interface ITriggerData
16
+ *
17
+ * @param {string} [configuration_token]
18
+ * @param {string} [tab_number]
19
+ * @param {string} [elements]
20
+ * @param {string} [form_values]
21
+ * */
22
+ /**
23
+ * List of available triggers
24
+ *
25
+ * @type {object}
26
+ * @param {string} SUBMIT_FORM=submit_form
27
+ * @param {string} CHANGE_TAB=tab
28
+ * @param {string} HIDE_ELEMENTS=hide_elements
29
+ * @param {string} SHOW_ELEMENTS=show_elements
30
+ * @param {string} REFRESH_CHECKOUT=refresh_checkout
31
+ * @param {string} UPDATE_FORM_VALUES=update_form_values
32
+ * @param {string} INIT_CHECKOUT=init_checkout
33
+ */
34
+ export declare const TRIGGER: {
35
+ SUBMIT_FORM: string;
36
+ CHANGE_TAB: string;
37
+ HIDE_ELEMENTS: string;
38
+ SHOW_ELEMENTS: string;
39
+ REFRESH_CHECKOUT: string;
40
+ UPDATE_FORM_VALUES: string;
41
+ INIT_CHECKOUT: string;
42
+ };
43
+ export declare class Trigger {
44
+ protected iFrame: IFrame;
45
+ constructor(iFrame: IFrame);
46
+ push(triggerName: string, data?: ITriggerData): void;
47
+ }
48
+ //# sourceMappingURL=trigger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trigger.d.ts","sourceRoot":"","sources":["../../src/components/trigger.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIlC,MAAM,WAAW,QAAQ;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACrB;AAED,MAAM,WAAW,YAAY;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;KAQK;AAEL;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,OAAO;;;;;;;;CAQnB,CAAC;AAEF,qBAAa,OAAO;IAEhB,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC;gBAEb,MAAM,EAAE,MAAM;IAInB,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,GAAE,YAAiB;CAe3D"}
@@ -0,0 +1,5 @@
1
+ import { IFrameEvent } from './iframe-event';
2
+ export declare class VaultDisplayIframeEvent extends IFrameEvent {
3
+ on<T>(eventName: string, widgetId: string, cb: (data: T) => void): void;
4
+ }
5
+ //# sourceMappingURL=vault-display-iframe-event.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vault-display-iframe-event.d.ts","sourceRoot":"","sources":["../../src/components/vault-display-iframe-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAY7C,qBAAa,uBAAwB,SAAQ,WAAW;IAC7C,EAAE,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI;CAc1E"}
@@ -0,0 +1,13 @@
1
+ import { Background } from "./background";
2
+ export declare class WalletBackground extends Background {
3
+ protected bgImageUrl: string;
4
+ protected hideCloseButton: boolean;
5
+ protected hideContinueButton: boolean;
6
+ protected imageStyle: HTMLStyleElement;
7
+ constructor(bgImageUrl: string, hideCloseButton?: boolean, hideContinueButton?: boolean);
8
+ initControl(): void;
9
+ clear(): void;
10
+ protected createTemplate(): void;
11
+ private createImageStyles;
12
+ }
13
+ //# sourceMappingURL=wallet-background.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wallet-background.d.ts","sourceRoot":"","sources":["../../src/components/wallet-background.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAwD1C,qBAAa,gBAAiB,SAAQ,UAAU;IAGhC,SAAS,CAAC,UAAU,EAAE,MAAM;IAAE,SAAS,CAAC,eAAe,EAAE,OAAO;IAAU,SAAS,CAAC,kBAAkB,EAAE,OAAO;IAF3H,SAAS,CAAC,UAAU,EAAE,gBAAgB,CAAQ;gBAExB,UAAU,EAAE,MAAM,EAAY,eAAe,GAAE,OAAe,EAAY,kBAAkB,GAAE,OAAc;IAI3H,WAAW;IAOX,KAAK;IAOZ,SAAS,CAAC,cAAc,IAAI,IAAI;IAoBhC,OAAO,CAAC,iBAAiB;CAe5B"}
@@ -0,0 +1,19 @@
1
+ import { IFrame } from "./iframe";
2
+ import { Trigger } from "./trigger";
3
+ export interface ITrigger {
4
+ message_source: string;
5
+ reference_id: string;
6
+ trigger: string;
7
+ destination: string;
8
+ data: any;
9
+ }
10
+ export declare const TRIGGER: {
11
+ CLOSE: string;
12
+ UPDATED: string;
13
+ };
14
+ export declare class WalletTrigger extends Trigger {
15
+ protected widgetId: string;
16
+ constructor(iFrame: IFrame, widgetId: string);
17
+ push(triggerName: string, data?: any): void;
18
+ }
19
+ //# sourceMappingURL=wallet-trigger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wallet-trigger.d.ts","sourceRoot":"","sources":["../../src/components/wallet-trigger.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,MAAM,WAAW,QAAQ;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,GAAG,CAAC;CACb;AAED,eAAO,MAAM,OAAO;;;CAGnB,CAAC;AAEF,qBAAa,aAAc,SAAQ,OAAO;IACV,SAAS,CAAC,QAAQ,EAAE,MAAM;gBAA1C,MAAM,EAAE,MAAM,EAAY,QAAQ,EAAE,MAAM;IAI/C,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,GAAE,GAAQ;CAiBlD"}
@@ -0,0 +1,30 @@
1
+ import type { EnvironmentConfiguration, EnvironmentConfigurations, IEnvironment } from './environment.interface';
2
+ export declare const ENV: {
3
+ STAGING_CBA: string;
4
+ PROD_CBA: string;
5
+ PREPROD_CBA: string;
6
+ };
7
+ export declare const WIDGET_URL: {
8
+ env: string;
9
+ url: string;
10
+ }[];
11
+ export declare const API_URL: {
12
+ env: string;
13
+ url: string;
14
+ }[];
15
+ export declare const DEFAULT_ENV = "{{default_runtime_environment}}";
16
+ export declare const DEFAULT_ALIAS: {
17
+ CBA: string;
18
+ };
19
+ export declare class Env implements IEnvironment {
20
+ private alias;
21
+ private environmentConfigurations;
22
+ private environmentId;
23
+ constructor(configs: EnvironmentConfigurations, defaultEnv?: string);
24
+ setEnv(environmentId: string, alias?: string): void;
25
+ getEnv(): string;
26
+ getConf(): EnvironmentConfiguration;
27
+ private validateAlias;
28
+ private validateEnvironmentId;
29
+ }
30
+ //# sourceMappingURL=environment.cba.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"environment.cba.d.ts","sourceRoot":"","sources":["../../../src/configs/env/environment.cba.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,yBAAyB,EACzB,YAAY,EACb,MAAM,yBAAyB,CAAC;AAEjC,eAAO,MAAM,GAAG;;;;CAIf,CAAC;AAEF,eAAO,MAAM,UAAU;;;GAItB,CAAC;AAEF,eAAO,MAAM,OAAO;;;GAInB,CAAC;AAKF,eAAO,MAAM,WAAW,oCAAoC,CAAC;AAC7D,eAAO,MAAM,aAAa;;CAEzB,CAAC;AAIF,qBAAa,GAAI,YAAW,YAAY;IACtC,OAAO,CAAC,KAAK,CAAS;IACtB,OAAO,CAAC,yBAAyB,CAA4B;IAC7D,OAAO,CAAC,aAAa,CAAS;gBAElB,OAAO,EAAE,yBAAyB,EAAE,UAAU,GAAE,MAAoB;IAKzE,MAAM,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI;IAYnD,MAAM,IAAI,MAAM;IAIhB,OAAO,IAAI,wBAAwB;IAoB1C,OAAO,CAAC,aAAa;IAkBrB,OAAO,CAAC,qBAAqB;CAa9B"}
@@ -0,0 +1,12 @@
1
+ type EnvironmentConfiguration = {
2
+ env: string;
3
+ url: string;
4
+ };
5
+ type EnvironmentConfigurations = EnvironmentConfiguration[];
6
+ interface IEnvironment {
7
+ getConf(): EnvironmentConfiguration;
8
+ getEnv(): string;
9
+ setEnv(environmentId: string, alias?: string): void;
10
+ }
11
+ export type { EnvironmentConfigurations, EnvironmentConfiguration, IEnvironment };
12
+ //# sourceMappingURL=environment.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"environment.interface.d.ts","sourceRoot":"","sources":["../../../src/configs/env/environment.interface.ts"],"names":[],"mappings":"AAAA,KAAK,wBAAwB,GAAG;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,KAAK,yBAAyB,GAAG,wBAAwB,EAAE,CAAC;AAE5D,UAAU,YAAY;IACpB,OAAO,IAAI,wBAAwB,CAAC;IACpC,MAAM,IAAI,MAAM,CAAC;IACjB,MAAM,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACrD;AAED,YAAY,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,YAAY,EAAE,CAAC"}