@bigcommerce/checkout-sdk 1.509.0 → 1.511.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.d.ts +7 -7
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/docs/README.md +2 -2
- package/docs/interfaces/OrderPaymentRequestBody.md +1 -1
- package/docs/interfaces/WithIdealInstrument.md +15 -0
- package/package.json +1 -1
- package/docs/interfaces/WithCheckoutcomiDealInstrument.md +0 -15
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -5,17 +5,17 @@ import { BuyNowCartRequestBody as BuyNowCartRequestBody_2 } from '@bigcommerce/c
|
|
|
5
5
|
import { CardClassSelectors } from '@square/web-payments-sdk-types';
|
|
6
6
|
import { CartSource } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
7
7
|
import { CreditCardPaymentInitializeOptions } from '@bigcommerce/checkout-sdk/credit-card-integration';
|
|
8
|
-
import { EcpInstrument } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
9
8
|
import { HostedFormOptions as HostedFormOptions_2 } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
10
9
|
import { LoadingIndicatorStyles } from '@bigcommerce/checkout-sdk/ui';
|
|
11
10
|
import { Omit as Omit_2 } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
12
11
|
import { RequestOptions as RequestOptions_2 } from '@bigcommerce/request-sender';
|
|
13
12
|
import { Response } from '@bigcommerce/request-sender';
|
|
14
|
-
import { SepaInstrument } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
15
13
|
import { StandardError as StandardError_2 } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
16
14
|
import { Timeout } from '@bigcommerce/request-sender';
|
|
17
15
|
import { WithAccountCreation } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
18
16
|
import { WithBankAccountInstrument } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
17
|
+
import { WithEcpInstrument } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
18
|
+
import { WithSepaInstrument } from '@bigcommerce/checkout-sdk/payment-integration-api';
|
|
19
19
|
import { createTimeout } from '@bigcommerce/request-sender';
|
|
20
20
|
|
|
21
21
|
declare type AccountInstrument = PayPalInstrument | BankInstrument | AchInstrument;
|
|
@@ -6397,7 +6397,7 @@ declare interface OrderPayment {
|
|
|
6397
6397
|
amount: number;
|
|
6398
6398
|
}
|
|
6399
6399
|
|
|
6400
|
-
declare type OrderPaymentInstrument = WithBankAccountInstrument |
|
|
6400
|
+
declare type OrderPaymentInstrument = WithBankAccountInstrument | WithEcpInstrument | WithSepaInstrument | WithIdealInstrument | CreditCardInstrument | HostedInstrument | HostedCreditCardInstrument | HostedVaultedInstrument | NonceInstrument | VaultedInstrument | (CreditCardInstrument & WithDocumentInstrument) | (CreditCardInstrument & WithCheckoutcomFawryInstrument) | (CreditCardInstrument & WithCheckoutcomSEPAInstrument) | (CreditCardInstrument & WithIdealInstrument) | (HostedInstrument & WithMollieIssuerInstrument) | WithAccountCreation;
|
|
6401
6401
|
|
|
6402
6402
|
/**
|
|
6403
6403
|
* An object that contains the payment information required for submitting an
|
|
@@ -8376,10 +8376,6 @@ declare interface WithCheckoutcomSEPAInstrument {
|
|
|
8376
8376
|
bic: string;
|
|
8377
8377
|
}
|
|
8378
8378
|
|
|
8379
|
-
declare interface WithCheckoutcomiDealInstrument {
|
|
8380
|
-
bic: string;
|
|
8381
|
-
}
|
|
8382
|
-
|
|
8383
8379
|
declare interface WithCreditCardPaymentInitializeOptions {
|
|
8384
8380
|
creditCard?: CreditCardPaymentInitializeOptions_2;
|
|
8385
8381
|
}
|
|
@@ -8404,6 +8400,10 @@ declare type WithGooglePayPaymentInitializeOptions = {
|
|
|
8404
8400
|
[k in GooglePayKey]?: GooglePayPaymentInitializeOptions_2;
|
|
8405
8401
|
};
|
|
8406
8402
|
|
|
8403
|
+
declare interface WithIdealInstrument {
|
|
8404
|
+
bic: string;
|
|
8405
|
+
}
|
|
8406
|
+
|
|
8407
8407
|
declare interface WithMollieIssuerInstrument {
|
|
8408
8408
|
issuer: string;
|
|
8409
8409
|
shopper_locale: string;
|