@bigcommerce/checkout-sdk 1.238.0 → 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.
@@ -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 ConsignmentAssignmentRequestBody {
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;
@@ -6743,7 +6750,7 @@ declare interface StripeUPEPaymentInitializeOptions {
6743
6750
  * },
6744
6751
  * iban: {
6745
6752
  * classes: { base: 'form-input' },
6746
- * supportedCountries: ['SEPA],
6753
+ * supportedCountries: ['SEPA'],
6747
6754
  * },
6748
6755
  * idealBank: {
6749
6756
  * classes: { base: 'form-input' },