chore: Update modules providers configuration with 'identifier' and 'PROVIDER' (#9636)

* chore: Update modules providers configuration with 'identifier' and 'PROVIDER'

* update check

* fix tests

* type

* normalize auth provider

* emailpass

* providers

---------

Co-authored-by: Carlos R. L. Rodrigues <rodrigolr@gmail.com>
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
This commit is contained in:
Adrien de Peretti
2024-10-18 09:24:15 +02:00
committed by GitHub
co-authored by Carlos R. L. Rodrigues Carlos R. L. Rodrigues
parent 902ac12f73
commit 876d8072e7
22 changed files with 131 additions and 67 deletions
@@ -2,7 +2,7 @@ import StripeBase from "../core/stripe-base"
import { PaymentIntentOptions, PaymentProviderKeys } from "../types"
class BancontactProviderService extends StripeBase {
static PROVIDER = PaymentProviderKeys.BAN_CONTACT
static identifier = PaymentProviderKeys.BAN_CONTACT
constructor(_, options) {
super(_, options)
@@ -2,7 +2,7 @@ import StripeBase from "../core/stripe-base"
import { PaymentIntentOptions, PaymentProviderKeys } from "../types"
class BlikProviderService extends StripeBase {
static PROVIDER = PaymentProviderKeys.BLIK
static identifier = PaymentProviderKeys.BLIK
constructor(_, options) {
super(_, options)
@@ -2,7 +2,7 @@ import StripeBase from "../core/stripe-base"
import { PaymentIntentOptions, PaymentProviderKeys } from "../types"
class GiropayProviderService extends StripeBase {
static PROVIDER = PaymentProviderKeys.GIROPAY
static identifier = PaymentProviderKeys.GIROPAY
constructor(_, options) {
super(_, options)
@@ -2,7 +2,7 @@ import StripeBase from "../core/stripe-base"
import { PaymentIntentOptions, PaymentProviderKeys } from "../types"
class IdealProviderService extends StripeBase {
static PROVIDER = PaymentProviderKeys.IDEAL
static identifier = PaymentProviderKeys.IDEAL
constructor(_, options) {
super(_, options)
@@ -2,7 +2,7 @@ import StripeBase from "../core/stripe-base"
import { PaymentIntentOptions, PaymentProviderKeys } from "../types"
class StripeProviderService extends StripeBase {
static PROVIDER = PaymentProviderKeys.STRIPE
static identifier = PaymentProviderKeys.STRIPE
constructor(_, options) {
super(_, options)
@@ -2,7 +2,7 @@ import StripeBase from "../core/stripe-base"
import { PaymentIntentOptions, PaymentProviderKeys } from "../types"
class Przelewy24ProviderService extends StripeBase {
static PROVIDER = PaymentProviderKeys.PRZELEWY_24
static identifier = PaymentProviderKeys.PRZELEWY_24
constructor(_, options) {
super(_, options)