@bigcommerce/checkout-sdk 1.719.3 → 1.720.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.
@@ -711,6 +711,13 @@ declare interface OrderShippingConsignment {
711
711
  name: string;
712
712
  value: string | null;
713
713
  }>;
714
+ discounts: OrderShippingConsignmentDiscount[];
715
+ }
716
+
717
+ declare interface OrderShippingConsignmentDiscount {
718
+ id: number;
719
+ amount: number;
720
+ code: string | null;
714
721
  }
715
722
 
716
723
  declare interface PhysicalItem extends LineItem {
package/docs/README.md CHANGED
@@ -334,6 +334,7 @@
334
334
  - [OrderRequestBody](interfaces/OrderRequestBody.md)
335
335
  - [OrderSelector](interfaces/OrderSelector.md)
336
336
  - [OrderShippingConsignment](interfaces/OrderShippingConsignment.md)
337
+ - [OrderShippingConsignmentDiscount](interfaces/OrderShippingConsignmentDiscount.md)
337
338
  - [PasswordRequirements](interfaces/PasswordRequirements.md)
338
339
  - [PayPalButtonStyleOptions](interfaces/PayPalButtonStyleOptions.md)
339
340
  - [PayPalBuyNowInitializeOptions](interfaces/PayPalBuyNowInitializeOptions.md)
@@ -35,7 +35,7 @@
35
35
  - [remoteCheckoutProviders](CheckoutSettings.md#remotecheckoutproviders)
36
36
  - [requiresMarketingConsent](CheckoutSettings.md#requiresmarketingconsent)
37
37
  - [shippingQuoteFailedMessage](CheckoutSettings.md#shippingquotefailedmessage)
38
- - [shouldRedirectToStorefrontLoginPage](CheckoutSettings.md#shouldredirecttostorefrontloginpage)
38
+ - [shouldRedirectToStorefrontForAuth](CheckoutSettings.md#shouldredirecttostorefrontforauth)
39
39
 
40
40
  ## Properties
41
41
 
@@ -217,6 +217,6 @@ ___
217
217
 
218
218
  ___
219
219
 
220
- ### shouldRedirectToStorefrontLoginPage
220
+ ### shouldRedirectToStorefrontForAuth
221
221
 
222
- • **shouldRedirectToStorefrontLoginPage**: `boolean`
222
+ • **shouldRedirectToStorefrontForAuth**: `boolean`
@@ -19,6 +19,7 @@
19
19
  - [country](OrderShippingConsignment.md#country)
20
20
  - [countryCode](OrderShippingConsignment.md#countrycode)
21
21
  - [customFields](OrderShippingConsignment.md#customfields)
22
+ - [discounts](OrderShippingConsignment.md#discounts)
22
23
  - [email](OrderShippingConsignment.md#email)
23
24
  - [firstName](OrderShippingConsignment.md#firstname)
24
25
  - [handlingCostExTax](OrderShippingConsignment.md#handlingcostextax)
@@ -117,6 +118,12 @@ ___
117
118
 
118
119
  ___
119
120
 
121
+ ### discounts
122
+
123
+ • **discounts**: [`OrderShippingConsignmentDiscount`](OrderShippingConsignmentDiscount.md)[]
124
+
125
+ ___
126
+
120
127
  ### email
121
128
 
122
129
  • **email**: `string`
@@ -0,0 +1,29 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / OrderShippingConsignmentDiscount
2
+
3
+ # Interface: OrderShippingConsignmentDiscount
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [amount](OrderShippingConsignmentDiscount.md#amount)
10
+ - [code](OrderShippingConsignmentDiscount.md#code)
11
+ - [id](OrderShippingConsignmentDiscount.md#id)
12
+
13
+ ## Properties
14
+
15
+ ### amount
16
+
17
+ • **amount**: `number`
18
+
19
+ ___
20
+
21
+ ### code
22
+
23
+ • **code**: ``null`` \| `string`
24
+
25
+ ___
26
+
27
+ ### id
28
+
29
+ • **id**: `number`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigcommerce/checkout-sdk",
3
- "version": "1.719.3",
3
+ "version": "1.720.0",
4
4
  "description": "BigCommerce Checkout JavaScript SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/checkout-sdk.js",