@bigcommerce/checkout-sdk 1.211.0 → 1.212.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.
@@ -119,6 +119,7 @@ declare interface Consignment {
119
119
  shippingCost: number;
120
120
  availableShippingOptions?: ShippingOption[];
121
121
  selectedShippingOption?: ShippingOption;
122
+ selectedPickupOption?: PickupOption;
122
123
  lineItemIds: string[];
123
124
  }
124
125
 
@@ -611,6 +612,10 @@ declare interface PhysicalItem extends LineItem {
611
612
  };
612
613
  }
613
614
 
615
+ declare interface PickupOption {
616
+ pickupMethodId: number;
617
+ }
618
+
614
619
  declare interface Promotion {
615
620
  banners: Banner[];
616
621
  }
package/docs/README.md CHANGED
@@ -253,6 +253,7 @@
253
253
  * [PaypalExpressPaymentInitializeOptions](interfaces/paypalexpresspaymentinitializeoptions.md)
254
254
  * [PaypalFieldsStyleOptions](interfaces/paypalfieldsstyleoptions.md)
255
255
  * [PhysicalItem](interfaces/physicalitem.md)
256
+ * [PickupOption](interfaces/pickupoption.md)
256
257
  * [Promotion](interfaces/promotion.md)
257
258
  * [Region](interfaces/region.md)
258
259
  * [RequestOptions](interfaces/requestoptions.md)
@@ -14,6 +14,7 @@
14
14
  * [handlingCost](consignment.md#handlingcost)
15
15
  * [id](consignment.md#id)
16
16
  * [lineItemIds](consignment.md#lineitemids)
17
+ * [selectedPickupOption](consignment.md#optional-selectedpickupoption)
17
18
  * [selectedShippingOption](consignment.md#optional-selectedshippingoption)
18
19
  * [shippingAddress](consignment.md#shippingaddress)
19
20
  * [shippingCost](consignment.md#shippingcost)
@@ -44,6 +45,12 @@ ___
44
45
 
45
46
  ___
46
47
 
48
+ ### `Optional` selectedPickupOption
49
+
50
+ • **selectedPickupOption**? : *[PickupOption](pickupoption.md)*
51
+
52
+ ___
53
+
47
54
  ### `Optional` selectedShippingOption
48
55
 
49
56
  • **selectedShippingOption**? : *[ShippingOption](shippingoption.md)*
@@ -11,6 +11,7 @@
11
11
  ### Properties
12
12
 
13
13
  * [lineItems](consignmentassignmentrequestbody.md#lineitems)
14
+ * [pickupOption](consignmentassignmentrequestbody.md#optional-pickupoption)
14
15
  * [shippingAddress](consignmentassignmentrequestbody.md#shippingaddress)
15
16
 
16
17
  ## Properties
@@ -21,6 +22,12 @@
21
22
 
22
23
  ___
23
24
 
25
+ ### `Optional` pickupOption
26
+
27
+ • **pickupOption**? : *[PickupOption](pickupoption.md)*
28
+
29
+ ___
30
+
24
31
  ### shippingAddress
25
32
 
26
33
  • **shippingAddress**: *[AddressRequestBody](addressrequestbody.md)*
@@ -11,6 +11,7 @@
11
11
  ### Properties
12
12
 
13
13
  * [lineItems](consignmentcreaterequestbody.md#lineitems)
14
+ * [pickupOption](consignmentcreaterequestbody.md#optional-pickupoption)
14
15
  * [shippingAddress](consignmentcreaterequestbody.md#shippingaddress)
15
16
 
16
17
  ## Properties
@@ -21,6 +22,12 @@
21
22
 
22
23
  ___
23
24
 
25
+ ### `Optional` pickupOption
26
+
27
+ • **pickupOption**? : *[PickupOption](pickupoption.md)*
28
+
29
+ ___
30
+
24
31
  ### shippingAddress
25
32
 
26
33
  • **shippingAddress**: *[AddressRequestBody](addressrequestbody.md)*
@@ -12,6 +12,7 @@
12
12
 
13
13
  * [id](consignmentupdaterequestbody.md#id)
14
14
  * [lineItems](consignmentupdaterequestbody.md#optional-lineitems)
15
+ * [pickupOption](consignmentupdaterequestbody.md#optional-pickupoption)
15
16
  * [shippingAddress](consignmentupdaterequestbody.md#optional-shippingaddress)
16
17
 
17
18
  ## Properties
@@ -28,6 +29,12 @@ ___
28
29
 
29
30
  ___
30
31
 
32
+ ### `Optional` pickupOption
33
+
34
+ • **pickupOption**? : *[PickupOption](pickupoption.md)*
35
+
36
+ ___
37
+
31
38
  ### `Optional` shippingAddress
32
39
 
33
40
  • **shippingAddress**? : *[AddressRequestBody](addressrequestbody.md)*
@@ -0,0 +1,19 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) › [PickupOption](pickupoption.md)
2
+
3
+ # Interface: PickupOption
4
+
5
+ ## Hierarchy
6
+
7
+ * **PickupOption**
8
+
9
+ ## Index
10
+
11
+ ### Properties
12
+
13
+ * [pickupMethodId](pickupoption.md#pickupmethodid)
14
+
15
+ ## Properties
16
+
17
+ ### pickupMethodId
18
+
19
+ • **pickupMethodId**: *number*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigcommerce/checkout-sdk",
3
- "version": "1.211.0",
3
+ "version": "1.212.0",
4
4
  "description": "BigCommerce Checkout JavaScript SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/checkout-sdk.js",