@bigcommerce/checkout-sdk 1.237.2 → 1.238.1
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/CHANGELOG.md +21 -0
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.js.map +1 -1
- package/dist/checkout-button.umd.js +2 -2
- package/dist/checkout-button.umd.js.map +1 -1
- package/dist/checkout-sdk.d.ts +17 -4
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +3 -3
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/docs/README.md +9 -1
- package/docs/classes/checkoutservice.md +5 -5
- package/docs/interfaces/consignmentassignmentbaserequestbodywithaddress.md +33 -0
- package/docs/interfaces/consignmentassignmentbaserequestbodywithshippingaddress.md +33 -0
- package/docs/interfaces/stripeupepaymentinitializeoptions.md +9 -0
- package/docs/interfaces/stripev3paymentinitializeoptions.md +1 -1
- package/package.json +1 -1
- package/docs/interfaces/consignmentassignmentrequestbody.md +0 -40
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -2304,7 +2304,7 @@ declare class CheckoutService {
|
|
|
2304
2304
|
* address1: '55 Market St',
|
|
2305
2305
|
* stateOrProvinceCode: 'CA',
|
|
2306
2306
|
* countryCode: 'US',
|
|
2307
|
-
* postalCode: '90110'
|
|
2307
|
+
* postalCode: '90110',
|
|
2308
2308
|
* customFields: [],
|
|
2309
2309
|
* });
|
|
2310
2310
|
* ```
|
|
@@ -3685,13 +3685,20 @@ declare interface Consignment {
|
|
|
3685
3685
|
lineItemIds: string[];
|
|
3686
3686
|
}
|
|
3687
3687
|
|
|
3688
|
-
declare interface
|
|
3688
|
+
declare interface ConsignmentAssignmentBaseRequestBodyWithAddress {
|
|
3689
3689
|
address: AddressRequestBody;
|
|
3690
|
-
shippingAddress?: AddressRequestBody;
|
|
3691
3690
|
lineItems: ConsignmentLineItem[];
|
|
3692
3691
|
pickupOption?: ConsignmentPickupOption;
|
|
3693
3692
|
}
|
|
3694
3693
|
|
|
3694
|
+
declare interface ConsignmentAssignmentBaseRequestBodyWithShippingAddress {
|
|
3695
|
+
shippingAddress: AddressRequestBody;
|
|
3696
|
+
lineItems: ConsignmentLineItem[];
|
|
3697
|
+
pickupOption?: ConsignmentPickupOption;
|
|
3698
|
+
}
|
|
3699
|
+
|
|
3700
|
+
declare type ConsignmentAssignmentRequestBody = ConsignmentAssignmentBaseRequestBodyWithShippingAddress | ConsignmentAssignmentBaseRequestBodyWithAddress;
|
|
3701
|
+
|
|
3695
3702
|
declare interface ConsignmentCreateRequestBody {
|
|
3696
3703
|
address?: AddressRequestBody;
|
|
3697
3704
|
shippingAddress?: AddressRequestBody;
|
|
@@ -6701,6 +6708,12 @@ declare interface StripeUPEPaymentInitializeOptions {
|
|
|
6701
6708
|
* The location to insert the credit card number form field.
|
|
6702
6709
|
*/
|
|
6703
6710
|
containerId: string;
|
|
6711
|
+
/**
|
|
6712
|
+
* Checkout styles from store theme
|
|
6713
|
+
*/
|
|
6714
|
+
style?: {
|
|
6715
|
+
[key: string]: string;
|
|
6716
|
+
};
|
|
6704
6717
|
}
|
|
6705
6718
|
|
|
6706
6719
|
/**
|
|
@@ -6737,7 +6750,7 @@ declare interface StripeUPEPaymentInitializeOptions {
|
|
|
6737
6750
|
* },
|
|
6738
6751
|
* iban: {
|
|
6739
6752
|
* classes: { base: 'form-input' },
|
|
6740
|
-
* supportedCountries: ['SEPA],
|
|
6753
|
+
* supportedCountries: ['SEPA'],
|
|
6741
6754
|
* },
|
|
6742
6755
|
* idealBank: {
|
|
6743
6756
|
* classes: { base: 'form-input' },
|