import { ApplePayActionEnum, PaymentActionEnum, PaypalActionEnum } from "../core/bus/interface";
import { PaymentMethodCategoryTypeEnum, PaypalMethodEnum, ProductSceneEnum, ProductSceneVersion } from "../types/index";
export var ExtendPlugin = [{
  sessionMatcher: {
    productScene: ProductSceneEnum.CASHIER_PAYMENT,
    productSceneVersion: ProductSceneVersion.V1,
    paymentMethodCategoryType: PaymentMethodCategoryTypeEnum.CARD,
    paymentMethodTypes: ['APPLEPAY']
  },
  paymentChannelMatcher: {
    paymentMethod: 'ApplePay'
  },
  busActionNames: {
    canMakePayments: ApplePayActionEnum.canMakePayments,
    optional_init: PaymentActionEnum.optional_init,
    createComponent: ApplePayActionEnum.createComponent,
    destroyComponent: ApplePayActionEnum.destroyComponent
  }
}, {
  sessionMatcher: {
    productScene: ProductSceneEnum.CASHIER_PAYMENT,
    productSceneVersion: ProductSceneVersion.V1,
    paymentMethodCategoryType: PaymentMethodCategoryTypeEnum.APM,
    paymentMethodTypes: [PaypalMethodEnum.PAYPAL_CHECKOUT, PaypalMethodEnum.PAYPAL_PAYLATER, PaypalMethodEnum.PAYPAL_VAULT]
  },
  paymentChannelMatcher: {
    paymentMethod: 'Paypal'
  },
  busActionNames: {
    mountComponent: PaypalActionEnum.mountComponent,
    destroyComponent: PaypalActionEnum.destroyComponent
  }
}];