@wix/ecom 1.0.516 → 1.0.518

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.
@@ -1,3 +1,4 @@
1
+ export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.context';
1
2
  export * as discountRules from './src/ecom-discounts-v1-discount-rule.context';
2
3
  export * as orderInvoices from './src/ecom-orders-v1-invoice.context';
3
4
  export * as recommendations from './src/ecom-recommendations-v1-recommendation.context';
@@ -13,4 +14,3 @@ export * as orderFulfillments from './src/ecom-v1-fulfillments.context';
13
14
  export * as orders from './src/ecom-v1-order.context';
14
15
  export * as orderTransactions from './src/ecom-v1-order-transactions.context';
15
16
  export * as ordersSettings from './src/ecom-v1-orders-settings.context';
16
- export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.context';
@@ -23,7 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.currencies = exports.ordersSettings = exports.orderTransactions = exports.orders = exports.orderFulfillments = exports.checkoutTemplates = exports.checkoutSettings = exports.checkout = exports.currentCart = exports.cart = exports.backInStockSettings = exports.backInStockNotifications = exports.abandonedCheckouts = exports.recommendations = exports.orderInvoices = exports.discountRules = void 0;
26
+ exports.ordersSettings = exports.orderTransactions = exports.orders = exports.orderFulfillments = exports.checkoutTemplates = exports.checkoutSettings = exports.checkout = exports.currentCart = exports.cart = exports.backInStockSettings = exports.backInStockNotifications = exports.abandonedCheckouts = exports.recommendations = exports.orderInvoices = exports.discountRules = exports.currencies = void 0;
27
+ exports.currencies = __importStar(require("./src/ecommerce-currency-converter-v1-currency-rate.context"));
27
28
  exports.discountRules = __importStar(require("./src/ecom-discounts-v1-discount-rule.context"));
28
29
  exports.orderInvoices = __importStar(require("./src/ecom-orders-v1-invoice.context"));
29
30
  exports.recommendations = __importStar(require("./src/ecom-recommendations-v1-recommendation.context"));
@@ -39,5 +40,4 @@ exports.orderFulfillments = __importStar(require("./src/ecom-v1-fulfillments.con
39
40
  exports.orders = __importStar(require("./src/ecom-v1-order.context"));
40
41
  exports.orderTransactions = __importStar(require("./src/ecom-v1-order-transactions.context"));
41
42
  exports.ordersSettings = __importStar(require("./src/ecom-v1-orders-settings.context"));
42
- exports.currencies = __importStar(require("./src/ecommerce-currency-converter-v1-currency-rate.context"));
43
43
  //# sourceMappingURL=context.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+FAA+E;AAC/E,sFAAsE;AACtE,wGAAwF;AACxF,+FAA+E;AAC/E,qHAAqG;AACrG,oGAAoF;AACpF,wEAAwD;AACxD,uFAAuE;AACvE,oFAAoE;AACpE,4FAA4E;AAC5E,6FAA6E;AAC7E,wFAAwE;AACxE,sEAAsD;AACtD,8FAA8E;AAC9E,wFAAwE;AACxE,0GAA0F"}
1
+ {"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0GAA0F;AAC1F,+FAA+E;AAC/E,sFAAsE;AACtE,wGAAwF;AACxF,+FAA+E;AAC/E,qHAAqG;AACrG,oGAAoF;AACpF,wEAAwD;AACxD,uFAAuE;AACvE,oFAAoE;AACpE,4FAA4E;AAC5E,6FAA6E;AAC7E,wFAAwE;AACxE,sEAAsD;AACtD,8FAA8E;AAC9E,wFAAwE"}
@@ -1,6 +1,7 @@
1
1
  export * as paymentSettingsSpi from './src/interfaces-ecommerce-v1-payment-settings-provider.public';
2
2
  export * as validationsSpi from './src/interfaces-ecommerce-v1-validations-provider.public';
3
3
  export * as draftOrders from './src/ecom-v1-draft-order.public';
4
+ export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.public';
4
5
  export * as discountRules from './src/ecom-discounts-v1-discount-rule.public';
5
6
  export * as orderInvoices from './src/ecom-orders-v1-invoice.public';
6
7
  export * as recommendations from './src/ecom-recommendations-v1-recommendation.public';
@@ -16,4 +17,3 @@ export * as orderFulfillments from './src/ecom-v1-fulfillments.public';
16
17
  export * as orders from './src/ecom-v1-order.public';
17
18
  export * as orderTransactions from './src/ecom-v1-order-transactions.public';
18
19
  export * as ordersSettings from './src/ecom-v1-orders-settings.public';
19
- export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.public';
@@ -23,10 +23,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.currencies = exports.ordersSettings = exports.orderTransactions = exports.orders = exports.orderFulfillments = exports.checkoutTemplates = exports.checkoutSettings = exports.checkout = exports.currentCart = exports.cart = exports.backInStockSettings = exports.backInStockNotifications = exports.abandonedCheckouts = exports.recommendations = exports.orderInvoices = exports.discountRules = exports.draftOrders = exports.validationsSpi = exports.paymentSettingsSpi = void 0;
26
+ exports.ordersSettings = exports.orderTransactions = exports.orders = exports.orderFulfillments = exports.checkoutTemplates = exports.checkoutSettings = exports.checkout = exports.currentCart = exports.cart = exports.backInStockSettings = exports.backInStockNotifications = exports.abandonedCheckouts = exports.recommendations = exports.orderInvoices = exports.discountRules = exports.currencies = exports.draftOrders = exports.validationsSpi = exports.paymentSettingsSpi = void 0;
27
27
  exports.paymentSettingsSpi = __importStar(require("./src/interfaces-ecommerce-v1-payment-settings-provider.public"));
28
28
  exports.validationsSpi = __importStar(require("./src/interfaces-ecommerce-v1-validations-provider.public"));
29
29
  exports.draftOrders = __importStar(require("./src/ecom-v1-draft-order.public"));
30
+ exports.currencies = __importStar(require("./src/ecommerce-currency-converter-v1-currency-rate.public"));
30
31
  exports.discountRules = __importStar(require("./src/ecom-discounts-v1-discount-rule.public"));
31
32
  exports.orderInvoices = __importStar(require("./src/ecom-orders-v1-invoice.public"));
32
33
  exports.recommendations = __importStar(require("./src/ecom-recommendations-v1-recommendation.public"));
@@ -42,5 +43,4 @@ exports.orderFulfillments = __importStar(require("./src/ecom-v1-fulfillments.pub
42
43
  exports.orders = __importStar(require("./src/ecom-v1-order.public"));
43
44
  exports.orderTransactions = __importStar(require("./src/ecom-v1-order-transactions.public"));
44
45
  exports.ordersSettings = __importStar(require("./src/ecom-v1-orders-settings.public"));
45
- exports.currencies = __importStar(require("./src/ecommerce-currency-converter-v1-currency-rate.public"));
46
46
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qHAAqG;AACrG,4GAA4F;AAC5F,gFAAgE;AAChE,8FAA8E;AAC9E,qFAAqE;AACrE,uGAAuF;AACvF,8FAA8E;AAC9E,oHAAoG;AACpG,mGAAmF;AACnF,uEAAuD;AACvD,sFAAsE;AACtE,mFAAmE;AACnE,2FAA2E;AAC3E,4FAA4E;AAC5E,uFAAuE;AACvE,qEAAqD;AACrD,6FAA6E;AAC7E,uFAAuE;AACvE,yGAAyF"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qHAAqG;AACrG,4GAA4F;AAC5F,gFAAgE;AAChE,yGAAyF;AACzF,8FAA8E;AAC9E,qFAAqE;AACrE,uGAAuF;AACvF,8FAA8E;AAC9E,oHAAoG;AACpG,mGAAmF;AACnF,uEAAuD;AACvD,sFAAsE;AACtE,mFAAmE;AACnE,2FAA2E;AAC3E,4FAA4E;AAC5E,uFAAuE;AACvE,qEAAqD;AACrD,6FAA6E;AAC7E,uFAAuE"}
@@ -1,6 +1,7 @@
1
1
  export * as paymentSettingsSpi from './src/interfaces-ecommerce-v1-payment-settings-provider.universal';
2
2
  export * as validationsSpi from './src/interfaces-ecommerce-v1-validations-provider.universal';
3
3
  export * as draftOrders from './src/ecom-v1-draft-order.universal';
4
+ export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.universal';
4
5
  export * as discountRules from './src/ecom-discounts-v1-discount-rule.universal';
5
6
  export * as orderInvoices from './src/ecom-orders-v1-invoice.universal';
6
7
  export * as recommendations from './src/ecom-recommendations-v1-recommendation.universal';
@@ -16,4 +17,3 @@ export * as orderFulfillments from './src/ecom-v1-fulfillments.universal';
16
17
  export * as orders from './src/ecom-v1-order.universal';
17
18
  export * as orderTransactions from './src/ecom-v1-order-transactions.universal';
18
19
  export * as ordersSettings from './src/ecom-v1-orders-settings.universal';
19
- export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.universal';
@@ -23,10 +23,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.currencies = exports.ordersSettings = exports.orderTransactions = exports.orders = exports.orderFulfillments = exports.checkoutTemplates = exports.checkoutSettings = exports.checkout = exports.currentCart = exports.cart = exports.backInStockSettings = exports.backInStockNotifications = exports.abandonedCheckouts = exports.recommendations = exports.orderInvoices = exports.discountRules = exports.draftOrders = exports.validationsSpi = exports.paymentSettingsSpi = void 0;
26
+ exports.ordersSettings = exports.orderTransactions = exports.orders = exports.orderFulfillments = exports.checkoutTemplates = exports.checkoutSettings = exports.checkout = exports.currentCart = exports.cart = exports.backInStockSettings = exports.backInStockNotifications = exports.abandonedCheckouts = exports.recommendations = exports.orderInvoices = exports.discountRules = exports.currencies = exports.draftOrders = exports.validationsSpi = exports.paymentSettingsSpi = void 0;
27
27
  exports.paymentSettingsSpi = __importStar(require("./src/interfaces-ecommerce-v1-payment-settings-provider.universal"));
28
28
  exports.validationsSpi = __importStar(require("./src/interfaces-ecommerce-v1-validations-provider.universal"));
29
29
  exports.draftOrders = __importStar(require("./src/ecom-v1-draft-order.universal"));
30
+ exports.currencies = __importStar(require("./src/ecommerce-currency-converter-v1-currency-rate.universal"));
30
31
  exports.discountRules = __importStar(require("./src/ecom-discounts-v1-discount-rule.universal"));
31
32
  exports.orderInvoices = __importStar(require("./src/ecom-orders-v1-invoice.universal"));
32
33
  exports.recommendations = __importStar(require("./src/ecom-recommendations-v1-recommendation.universal"));
@@ -42,5 +43,4 @@ exports.orderFulfillments = __importStar(require("./src/ecom-v1-fulfillments.uni
42
43
  exports.orders = __importStar(require("./src/ecom-v1-order.universal"));
43
44
  exports.orderTransactions = __importStar(require("./src/ecom-v1-order-transactions.universal"));
44
45
  exports.ordersSettings = __importStar(require("./src/ecom-v1-orders-settings.universal"));
45
- exports.currencies = __importStar(require("./src/ecommerce-currency-converter-v1-currency-rate.universal"));
46
46
  //# sourceMappingURL=index.typings.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wHAAwG;AACxG,+GAA+F;AAC/F,mFAAmE;AACnE,iGAAiF;AACjF,wFAAwE;AACxE,0GAA0F;AAC1F,iGAAiF;AACjF,uHAAuG;AACvG,sGAAsF;AACtF,0EAA0D;AAC1D,yFAAyE;AACzE,sFAAsE;AACtE,8FAA8E;AAC9E,+FAA+E;AAC/E,0FAA0E;AAC1E,wEAAwD;AACxD,gGAAgF;AAChF,0FAA0E;AAC1E,4GAA4F"}
1
+ {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wHAAwG;AACxG,+GAA+F;AAC/F,mFAAmE;AACnE,4GAA4F;AAC5F,iGAAiF;AACjF,wFAAwE;AACxE,0GAA0F;AAC1F,iGAAiF;AACjF,uHAAuG;AACvG,sGAAsF;AACtF,0EAA0D;AAC1D,yFAAyE;AACzE,sFAAsE;AACtE,8FAA8E;AAC9E,+FAA+E;AAC/E,0FAA0E;AAC1E,wEAAwD;AACxD,gGAAgF;AAChF,0FAA0E"}
@@ -1,6 +1,7 @@
1
1
  export * as paymentSettingsSpi from './src/interfaces-ecommerce-v1-payment-settings-provider.meta';
2
2
  export * as validationsSpi from './src/interfaces-ecommerce-v1-validations-provider.meta';
3
3
  export * as draftOrders from './src/ecom-v1-draft-order.meta';
4
+ export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.meta';
4
5
  export * as discountRules from './src/ecom-discounts-v1-discount-rule.meta';
5
6
  export * as orderInvoices from './src/ecom-orders-v1-invoice.meta';
6
7
  export * as recommendations from './src/ecom-recommendations-v1-recommendation.meta';
@@ -16,4 +17,3 @@ export * as orderFulfillments from './src/ecom-v1-fulfillments.meta';
16
17
  export * as orders from './src/ecom-v1-order.meta';
17
18
  export * as orderTransactions from './src/ecom-v1-order-transactions.meta';
18
19
  export * as ordersSettings from './src/ecom-v1-orders-settings.meta';
19
- export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.meta';
package/build/cjs/meta.js CHANGED
@@ -23,10 +23,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.currencies = exports.ordersSettings = exports.orderTransactions = exports.orders = exports.orderFulfillments = exports.checkoutTemplates = exports.checkoutSettings = exports.checkout = exports.currentCart = exports.cart = exports.backInStockSettings = exports.backInStockNotifications = exports.abandonedCheckouts = exports.recommendations = exports.orderInvoices = exports.discountRules = exports.draftOrders = exports.validationsSpi = exports.paymentSettingsSpi = void 0;
26
+ exports.ordersSettings = exports.orderTransactions = exports.orders = exports.orderFulfillments = exports.checkoutTemplates = exports.checkoutSettings = exports.checkout = exports.currentCart = exports.cart = exports.backInStockSettings = exports.backInStockNotifications = exports.abandonedCheckouts = exports.recommendations = exports.orderInvoices = exports.discountRules = exports.currencies = exports.draftOrders = exports.validationsSpi = exports.paymentSettingsSpi = void 0;
27
27
  exports.paymentSettingsSpi = __importStar(require("./src/interfaces-ecommerce-v1-payment-settings-provider.meta"));
28
28
  exports.validationsSpi = __importStar(require("./src/interfaces-ecommerce-v1-validations-provider.meta"));
29
29
  exports.draftOrders = __importStar(require("./src/ecom-v1-draft-order.meta"));
30
+ exports.currencies = __importStar(require("./src/ecommerce-currency-converter-v1-currency-rate.meta"));
30
31
  exports.discountRules = __importStar(require("./src/ecom-discounts-v1-discount-rule.meta"));
31
32
  exports.orderInvoices = __importStar(require("./src/ecom-orders-v1-invoice.meta"));
32
33
  exports.recommendations = __importStar(require("./src/ecom-recommendations-v1-recommendation.meta"));
@@ -42,5 +43,4 @@ exports.orderFulfillments = __importStar(require("./src/ecom-v1-fulfillments.met
42
43
  exports.orders = __importStar(require("./src/ecom-v1-order.meta"));
43
44
  exports.orderTransactions = __importStar(require("./src/ecom-v1-order-transactions.meta"));
44
45
  exports.ordersSettings = __importStar(require("./src/ecom-v1-orders-settings.meta"));
45
- exports.currencies = __importStar(require("./src/ecommerce-currency-converter-v1-currency-rate.meta"));
46
46
  //# sourceMappingURL=meta.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mHAAmG;AACnG,0GAA0F;AAC1F,8EAA8D;AAC9D,4FAA4E;AAC5E,mFAAmE;AACnE,qGAAqF;AACrF,4FAA4E;AAC5E,kHAAkG;AAClG,iGAAiF;AACjF,qEAAqD;AACrD,oFAAoE;AACpE,iFAAiE;AACjE,yFAAyE;AACzE,0FAA0E;AAC1E,qFAAqE;AACrE,mEAAmD;AACnD,2FAA2E;AAC3E,qFAAqE;AACrE,uGAAuF"}
1
+ {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mHAAmG;AACnG,0GAA0F;AAC1F,8EAA8D;AAC9D,uGAAuF;AACvF,4FAA4E;AAC5E,mFAAmE;AACnE,qGAAqF;AACrF,4FAA4E;AAC5E,kHAAkG;AAClG,iGAAiF;AACjF,qEAAqD;AACrD,oFAAoE;AACpE,iFAAiE;AACjE,yFAAyE;AACzE,0FAA0E;AAC1E,qFAAqE;AACrE,mEAAmD;AACnD,2FAA2E;AAC3E,qFAAqE"}
@@ -408,13 +408,13 @@ export interface LineItemTaxBreakdown {
408
408
  /** Jurisdiction that taxes were calculated for. For example, "New York", or "Quebec". */
409
409
  jurisdiction?: string | null;
410
410
  /** Non-taxable amount of the line item price. */
411
- nonTaxableAmount?: string | null;
411
+ nonTaxableAmount?: Price;
412
412
  /** Tax rate used for this jurisdiction, as a decimal. For example, 10% tax is 0.1000. */
413
413
  rate?: string | null;
414
414
  /** Amount of tax calculated for this line item. */
415
415
  taxAmount?: Price;
416
416
  /** Taxable amount of the line item price. */
417
- taxableAmount?: string | null;
417
+ taxableAmount?: Price;
418
418
  /** The type of tax that was calculated. Depends on the jurisdiction's tax laws. For example, "Sales Tax", "Income Tax", "Value Added Tax", etc. */
419
419
  taxType?: string | null;
420
420
  /**
@@ -3883,10 +3883,18 @@ export interface GetOrderResponseNonNullableFields {
3883
3883
  };
3884
3884
  taxIncludedInPrice: boolean;
3885
3885
  taxBreakdown: {
3886
+ nonTaxableAmount?: {
3887
+ amount: string;
3888
+ formattedAmount: string;
3889
+ };
3886
3890
  taxAmount?: {
3887
3891
  amount: string;
3888
3892
  formattedAmount: string;
3889
3893
  };
3894
+ taxableAmount?: {
3895
+ amount: string;
3896
+ formattedAmount: string;
3897
+ };
3890
3898
  jurisdictionType: JurisdictionType;
3891
3899
  }[];
3892
3900
  };
@@ -4450,10 +4458,18 @@ export interface SearchOrdersResponseNonNullableFields {
4450
4458
  };
4451
4459
  taxIncludedInPrice: boolean;
4452
4460
  taxBreakdown: {
4461
+ nonTaxableAmount?: {
4462
+ amount: string;
4463
+ formattedAmount: string;
4464
+ };
4453
4465
  taxAmount?: {
4454
4466
  amount: string;
4455
4467
  formattedAmount: string;
4456
4468
  };
4469
+ taxableAmount?: {
4470
+ amount: string;
4471
+ formattedAmount: string;
4472
+ };
4457
4473
  jurisdictionType: JurisdictionType;
4458
4474
  }[];
4459
4475
  };
@@ -5017,10 +5033,18 @@ export interface CreateOrderResponseNonNullableFields {
5017
5033
  };
5018
5034
  taxIncludedInPrice: boolean;
5019
5035
  taxBreakdown: {
5036
+ nonTaxableAmount?: {
5037
+ amount: string;
5038
+ formattedAmount: string;
5039
+ };
5020
5040
  taxAmount?: {
5021
5041
  amount: string;
5022
5042
  formattedAmount: string;
5023
5043
  };
5044
+ taxableAmount?: {
5045
+ amount: string;
5046
+ formattedAmount: string;
5047
+ };
5024
5048
  jurisdictionType: JurisdictionType;
5025
5049
  }[];
5026
5050
  };
@@ -5584,10 +5608,18 @@ export interface UpdateOrderResponseNonNullableFields {
5584
5608
  };
5585
5609
  taxIncludedInPrice: boolean;
5586
5610
  taxBreakdown: {
5611
+ nonTaxableAmount?: {
5612
+ amount: string;
5613
+ formattedAmount: string;
5614
+ };
5587
5615
  taxAmount?: {
5588
5616
  amount: string;
5589
5617
  formattedAmount: string;
5590
5618
  };
5619
+ taxableAmount?: {
5620
+ amount: string;
5621
+ formattedAmount: string;
5622
+ };
5591
5623
  jurisdictionType: JurisdictionType;
5592
5624
  }[];
5593
5625
  };
@@ -6151,10 +6183,18 @@ export interface CancelOrderResponseNonNullableFields {
6151
6183
  };
6152
6184
  taxIncludedInPrice: boolean;
6153
6185
  taxBreakdown: {
6186
+ nonTaxableAmount?: {
6187
+ amount: string;
6188
+ formattedAmount: string;
6189
+ };
6154
6190
  taxAmount?: {
6155
6191
  amount: string;
6156
6192
  formattedAmount: string;
6157
6193
  };
6194
+ taxableAmount?: {
6195
+ amount: string;
6196
+ formattedAmount: string;
6197
+ };
6158
6198
  jurisdictionType: JurisdictionType;
6159
6199
  }[];
6160
6200
  };
@@ -386,13 +386,13 @@ export interface LineItemTaxBreakdown {
386
386
  /** Jurisdiction that taxes were calculated for. For example, "New York", or "Quebec". */
387
387
  jurisdiction?: string | null;
388
388
  /** Non-taxable amount of the line item price. */
389
- nonTaxableAmount?: string | null;
389
+ nonTaxableAmount?: Price;
390
390
  /** Tax rate used for this jurisdiction, as a decimal. For example, 10% tax is 0.1000. */
391
391
  rate?: string | null;
392
392
  /** Amount of tax calculated for this line item. */
393
393
  taxAmount?: Price;
394
394
  /** Taxable amount of the line item price. */
395
- taxableAmount?: string | null;
395
+ taxableAmount?: Price;
396
396
  /** The type of tax that was calculated. Depends on the jurisdiction's tax laws. For example, "Sales Tax", "Income Tax", "Value Added Tax", etc. */
397
397
  taxType?: string | null;
398
398
  /**
@@ -1,3 +1,4 @@
1
+ export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.context';
1
2
  export * as discountRules from './src/ecom-discounts-v1-discount-rule.context';
2
3
  export * as orderInvoices from './src/ecom-orders-v1-invoice.context';
3
4
  export * as recommendations from './src/ecom-recommendations-v1-recommendation.context';
@@ -13,4 +14,3 @@ export * as orderFulfillments from './src/ecom-v1-fulfillments.context';
13
14
  export * as orders from './src/ecom-v1-order.context';
14
15
  export * as orderTransactions from './src/ecom-v1-order-transactions.context';
15
16
  export * as ordersSettings from './src/ecom-v1-orders-settings.context';
16
- export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.context';
@@ -1,3 +1,4 @@
1
+ export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.context';
1
2
  export * as discountRules from './src/ecom-discounts-v1-discount-rule.context';
2
3
  export * as orderInvoices from './src/ecom-orders-v1-invoice.context';
3
4
  export * as recommendations from './src/ecom-recommendations-v1-recommendation.context';
@@ -13,5 +14,4 @@ export * as orderFulfillments from './src/ecom-v1-fulfillments.context';
13
14
  export * as orders from './src/ecom-v1-order.context';
14
15
  export * as orderTransactions from './src/ecom-v1-order-transactions.context';
15
16
  export * as ordersSettings from './src/ecom-v1-orders-settings.context';
16
- export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.context';
17
17
  //# sourceMappingURL=context.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,+CAA+C,CAAC;AAC/E,OAAO,KAAK,aAAa,MAAM,sCAAsC,CAAC;AACtE,OAAO,KAAK,eAAe,MAAM,sDAAsD,CAAC;AACxF,OAAO,KAAK,kBAAkB,MAAM,0CAA0C,CAAC;AAC/E,OAAO,KAAK,wBAAwB,MAAM,0DAA0D,CAAC;AACrG,OAAO,KAAK,mBAAmB,MAAM,8CAA8C,CAAC;AACpF,OAAO,KAAK,IAAI,MAAM,iCAAiC,CAAC;AACxD,OAAO,KAAK,WAAW,MAAM,yCAAyC,CAAC;AACvE,OAAO,KAAK,QAAQ,MAAM,yCAAyC,CAAC;AACpE,OAAO,KAAK,gBAAgB,MAAM,yCAAyC,CAAC;AAC5E,OAAO,KAAK,iBAAiB,MAAM,yCAAyC,CAAC;AAC7E,OAAO,KAAK,iBAAiB,MAAM,oCAAoC,CAAC;AACxE,OAAO,KAAK,MAAM,MAAM,6BAA6B,CAAC;AACtD,OAAO,KAAK,iBAAiB,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,cAAc,MAAM,uCAAuC,CAAC;AACxE,OAAO,KAAK,UAAU,MAAM,6DAA6D,CAAC"}
1
+ {"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,6DAA6D,CAAC;AAC1F,OAAO,KAAK,aAAa,MAAM,+CAA+C,CAAC;AAC/E,OAAO,KAAK,aAAa,MAAM,sCAAsC,CAAC;AACtE,OAAO,KAAK,eAAe,MAAM,sDAAsD,CAAC;AACxF,OAAO,KAAK,kBAAkB,MAAM,0CAA0C,CAAC;AAC/E,OAAO,KAAK,wBAAwB,MAAM,0DAA0D,CAAC;AACrG,OAAO,KAAK,mBAAmB,MAAM,8CAA8C,CAAC;AACpF,OAAO,KAAK,IAAI,MAAM,iCAAiC,CAAC;AACxD,OAAO,KAAK,WAAW,MAAM,yCAAyC,CAAC;AACvE,OAAO,KAAK,QAAQ,MAAM,yCAAyC,CAAC;AACpE,OAAO,KAAK,gBAAgB,MAAM,yCAAyC,CAAC;AAC5E,OAAO,KAAK,iBAAiB,MAAM,yCAAyC,CAAC;AAC7E,OAAO,KAAK,iBAAiB,MAAM,oCAAoC,CAAC;AACxE,OAAO,KAAK,MAAM,MAAM,6BAA6B,CAAC;AACtD,OAAO,KAAK,iBAAiB,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,cAAc,MAAM,uCAAuC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  export * as paymentSettingsSpi from './src/interfaces-ecommerce-v1-payment-settings-provider.public';
2
2
  export * as validationsSpi from './src/interfaces-ecommerce-v1-validations-provider.public';
3
3
  export * as draftOrders from './src/ecom-v1-draft-order.public';
4
+ export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.public';
4
5
  export * as discountRules from './src/ecom-discounts-v1-discount-rule.public';
5
6
  export * as orderInvoices from './src/ecom-orders-v1-invoice.public';
6
7
  export * as recommendations from './src/ecom-recommendations-v1-recommendation.public';
@@ -16,4 +17,3 @@ export * as orderFulfillments from './src/ecom-v1-fulfillments.public';
16
17
  export * as orders from './src/ecom-v1-order.public';
17
18
  export * as orderTransactions from './src/ecom-v1-order-transactions.public';
18
19
  export * as ordersSettings from './src/ecom-v1-orders-settings.public';
19
- export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.public';
package/build/es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * as paymentSettingsSpi from './src/interfaces-ecommerce-v1-payment-settings-provider.public';
2
2
  export * as validationsSpi from './src/interfaces-ecommerce-v1-validations-provider.public';
3
3
  export * as draftOrders from './src/ecom-v1-draft-order.public';
4
+ export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.public';
4
5
  export * as discountRules from './src/ecom-discounts-v1-discount-rule.public';
5
6
  export * as orderInvoices from './src/ecom-orders-v1-invoice.public';
6
7
  export * as recommendations from './src/ecom-recommendations-v1-recommendation.public';
@@ -16,5 +17,4 @@ export * as orderFulfillments from './src/ecom-v1-fulfillments.public';
16
17
  export * as orders from './src/ecom-v1-order.public';
17
18
  export * as orderTransactions from './src/ecom-v1-order-transactions.public';
18
19
  export * as ordersSettings from './src/ecom-v1-orders-settings.public';
19
- export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.public';
20
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,kBAAkB,MAAM,gEAAgE,CAAC;AACrG,OAAO,KAAK,cAAc,MAAM,2DAA2D,CAAC;AAC5F,OAAO,KAAK,WAAW,MAAM,kCAAkC,CAAC;AAChE,OAAO,KAAK,aAAa,MAAM,8CAA8C,CAAC;AAC9E,OAAO,KAAK,aAAa,MAAM,qCAAqC,CAAC;AACrE,OAAO,KAAK,eAAe,MAAM,qDAAqD,CAAC;AACvF,OAAO,KAAK,kBAAkB,MAAM,yCAAyC,CAAC;AAC9E,OAAO,KAAK,wBAAwB,MAAM,yDAAyD,CAAC;AACpG,OAAO,KAAK,mBAAmB,MAAM,6CAA6C,CAAC;AACnF,OAAO,KAAK,IAAI,MAAM,gCAAgC,CAAC;AACvD,OAAO,KAAK,WAAW,MAAM,wCAAwC,CAAC;AACtE,OAAO,KAAK,QAAQ,MAAM,wCAAwC,CAAC;AACnE,OAAO,KAAK,gBAAgB,MAAM,wCAAwC,CAAC;AAC3E,OAAO,KAAK,iBAAiB,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,iBAAiB,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,MAAM,MAAM,4BAA4B,CAAC;AACrD,OAAO,KAAK,iBAAiB,MAAM,yCAAyC,CAAC;AAC7E,OAAO,KAAK,cAAc,MAAM,sCAAsC,CAAC;AACvE,OAAO,KAAK,UAAU,MAAM,4DAA4D,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,kBAAkB,MAAM,gEAAgE,CAAC;AACrG,OAAO,KAAK,cAAc,MAAM,2DAA2D,CAAC;AAC5F,OAAO,KAAK,WAAW,MAAM,kCAAkC,CAAC;AAChE,OAAO,KAAK,UAAU,MAAM,4DAA4D,CAAC;AACzF,OAAO,KAAK,aAAa,MAAM,8CAA8C,CAAC;AAC9E,OAAO,KAAK,aAAa,MAAM,qCAAqC,CAAC;AACrE,OAAO,KAAK,eAAe,MAAM,qDAAqD,CAAC;AACvF,OAAO,KAAK,kBAAkB,MAAM,yCAAyC,CAAC;AAC9E,OAAO,KAAK,wBAAwB,MAAM,yDAAyD,CAAC;AACpG,OAAO,KAAK,mBAAmB,MAAM,6CAA6C,CAAC;AACnF,OAAO,KAAK,IAAI,MAAM,gCAAgC,CAAC;AACvD,OAAO,KAAK,WAAW,MAAM,wCAAwC,CAAC;AACtE,OAAO,KAAK,QAAQ,MAAM,wCAAwC,CAAC;AACnE,OAAO,KAAK,gBAAgB,MAAM,wCAAwC,CAAC;AAC3E,OAAO,KAAK,iBAAiB,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,iBAAiB,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,MAAM,MAAM,4BAA4B,CAAC;AACrD,OAAO,KAAK,iBAAiB,MAAM,yCAAyC,CAAC;AAC7E,OAAO,KAAK,cAAc,MAAM,sCAAsC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  export * as paymentSettingsSpi from './src/interfaces-ecommerce-v1-payment-settings-provider.universal';
2
2
  export * as validationsSpi from './src/interfaces-ecommerce-v1-validations-provider.universal';
3
3
  export * as draftOrders from './src/ecom-v1-draft-order.universal';
4
+ export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.universal';
4
5
  export * as discountRules from './src/ecom-discounts-v1-discount-rule.universal';
5
6
  export * as orderInvoices from './src/ecom-orders-v1-invoice.universal';
6
7
  export * as recommendations from './src/ecom-recommendations-v1-recommendation.universal';
@@ -16,4 +17,3 @@ export * as orderFulfillments from './src/ecom-v1-fulfillments.universal';
16
17
  export * as orders from './src/ecom-v1-order.universal';
17
18
  export * as orderTransactions from './src/ecom-v1-order-transactions.universal';
18
19
  export * as ordersSettings from './src/ecom-v1-orders-settings.universal';
19
- export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.universal';
@@ -1,6 +1,7 @@
1
1
  export * as paymentSettingsSpi from './src/interfaces-ecommerce-v1-payment-settings-provider.universal';
2
2
  export * as validationsSpi from './src/interfaces-ecommerce-v1-validations-provider.universal';
3
3
  export * as draftOrders from './src/ecom-v1-draft-order.universal';
4
+ export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.universal';
4
5
  export * as discountRules from './src/ecom-discounts-v1-discount-rule.universal';
5
6
  export * as orderInvoices from './src/ecom-orders-v1-invoice.universal';
6
7
  export * as recommendations from './src/ecom-recommendations-v1-recommendation.universal';
@@ -16,5 +17,4 @@ export * as orderFulfillments from './src/ecom-v1-fulfillments.universal';
16
17
  export * as orders from './src/ecom-v1-order.universal';
17
18
  export * as orderTransactions from './src/ecom-v1-order-transactions.universal';
18
19
  export * as ordersSettings from './src/ecom-v1-orders-settings.universal';
19
- export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.universal';
20
20
  //# sourceMappingURL=index.typings.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,kBAAkB,MAAM,mEAAmE,CAAC;AACxG,OAAO,KAAK,cAAc,MAAM,8DAA8D,CAAC;AAC/F,OAAO,KAAK,WAAW,MAAM,qCAAqC,CAAC;AACnE,OAAO,KAAK,aAAa,MAAM,iDAAiD,CAAC;AACjF,OAAO,KAAK,aAAa,MAAM,wCAAwC,CAAC;AACxE,OAAO,KAAK,eAAe,MAAM,wDAAwD,CAAC;AAC1F,OAAO,KAAK,kBAAkB,MAAM,4CAA4C,CAAC;AACjF,OAAO,KAAK,wBAAwB,MAAM,4DAA4D,CAAC;AACvG,OAAO,KAAK,mBAAmB,MAAM,gDAAgD,CAAC;AACtF,OAAO,KAAK,IAAI,MAAM,mCAAmC,CAAC;AAC1D,OAAO,KAAK,WAAW,MAAM,2CAA2C,CAAC;AACzE,OAAO,KAAK,QAAQ,MAAM,2CAA2C,CAAC;AACtE,OAAO,KAAK,gBAAgB,MAAM,2CAA2C,CAAC;AAC9E,OAAO,KAAK,iBAAiB,MAAM,2CAA2C,CAAC;AAC/E,OAAO,KAAK,iBAAiB,MAAM,sCAAsC,CAAC;AAC1E,OAAO,KAAK,MAAM,MAAM,+BAA+B,CAAC;AACxD,OAAO,KAAK,iBAAiB,MAAM,4CAA4C,CAAC;AAChF,OAAO,KAAK,cAAc,MAAM,yCAAyC,CAAC;AAC1E,OAAO,KAAK,UAAU,MAAM,+DAA+D,CAAC"}
1
+ {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,kBAAkB,MAAM,mEAAmE,CAAC;AACxG,OAAO,KAAK,cAAc,MAAM,8DAA8D,CAAC;AAC/F,OAAO,KAAK,WAAW,MAAM,qCAAqC,CAAC;AACnE,OAAO,KAAK,UAAU,MAAM,+DAA+D,CAAC;AAC5F,OAAO,KAAK,aAAa,MAAM,iDAAiD,CAAC;AACjF,OAAO,KAAK,aAAa,MAAM,wCAAwC,CAAC;AACxE,OAAO,KAAK,eAAe,MAAM,wDAAwD,CAAC;AAC1F,OAAO,KAAK,kBAAkB,MAAM,4CAA4C,CAAC;AACjF,OAAO,KAAK,wBAAwB,MAAM,4DAA4D,CAAC;AACvG,OAAO,KAAK,mBAAmB,MAAM,gDAAgD,CAAC;AACtF,OAAO,KAAK,IAAI,MAAM,mCAAmC,CAAC;AAC1D,OAAO,KAAK,WAAW,MAAM,2CAA2C,CAAC;AACzE,OAAO,KAAK,QAAQ,MAAM,2CAA2C,CAAC;AACtE,OAAO,KAAK,gBAAgB,MAAM,2CAA2C,CAAC;AAC9E,OAAO,KAAK,iBAAiB,MAAM,2CAA2C,CAAC;AAC/E,OAAO,KAAK,iBAAiB,MAAM,sCAAsC,CAAC;AAC1E,OAAO,KAAK,MAAM,MAAM,+BAA+B,CAAC;AACxD,OAAO,KAAK,iBAAiB,MAAM,4CAA4C,CAAC;AAChF,OAAO,KAAK,cAAc,MAAM,yCAAyC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  export * as paymentSettingsSpi from './src/interfaces-ecommerce-v1-payment-settings-provider.meta';
2
2
  export * as validationsSpi from './src/interfaces-ecommerce-v1-validations-provider.meta';
3
3
  export * as draftOrders from './src/ecom-v1-draft-order.meta';
4
+ export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.meta';
4
5
  export * as discountRules from './src/ecom-discounts-v1-discount-rule.meta';
5
6
  export * as orderInvoices from './src/ecom-orders-v1-invoice.meta';
6
7
  export * as recommendations from './src/ecom-recommendations-v1-recommendation.meta';
@@ -16,4 +17,3 @@ export * as orderFulfillments from './src/ecom-v1-fulfillments.meta';
16
17
  export * as orders from './src/ecom-v1-order.meta';
17
18
  export * as orderTransactions from './src/ecom-v1-order-transactions.meta';
18
19
  export * as ordersSettings from './src/ecom-v1-orders-settings.meta';
19
- export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.meta';
package/build/es/meta.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * as paymentSettingsSpi from './src/interfaces-ecommerce-v1-payment-settings-provider.meta';
2
2
  export * as validationsSpi from './src/interfaces-ecommerce-v1-validations-provider.meta';
3
3
  export * as draftOrders from './src/ecom-v1-draft-order.meta';
4
+ export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.meta';
4
5
  export * as discountRules from './src/ecom-discounts-v1-discount-rule.meta';
5
6
  export * as orderInvoices from './src/ecom-orders-v1-invoice.meta';
6
7
  export * as recommendations from './src/ecom-recommendations-v1-recommendation.meta';
@@ -16,5 +17,4 @@ export * as orderFulfillments from './src/ecom-v1-fulfillments.meta';
16
17
  export * as orders from './src/ecom-v1-order.meta';
17
18
  export * as orderTransactions from './src/ecom-v1-order-transactions.meta';
18
19
  export * as ordersSettings from './src/ecom-v1-orders-settings.meta';
19
- export * as currencies from './src/ecommerce-currency-converter-v1-currency-rate.meta';
20
20
  //# sourceMappingURL=meta.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,kBAAkB,MAAM,8DAA8D,CAAC;AACnG,OAAO,KAAK,cAAc,MAAM,yDAAyD,CAAC;AAC1F,OAAO,KAAK,WAAW,MAAM,gCAAgC,CAAC;AAC9D,OAAO,KAAK,aAAa,MAAM,4CAA4C,CAAC;AAC5E,OAAO,KAAK,aAAa,MAAM,mCAAmC,CAAC;AACnE,OAAO,KAAK,eAAe,MAAM,mDAAmD,CAAC;AACrF,OAAO,KAAK,kBAAkB,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,wBAAwB,MAAM,uDAAuD,CAAC;AAClG,OAAO,KAAK,mBAAmB,MAAM,2CAA2C,CAAC;AACjF,OAAO,KAAK,IAAI,MAAM,8BAA8B,CAAC;AACrD,OAAO,KAAK,WAAW,MAAM,sCAAsC,CAAC;AACpE,OAAO,KAAK,QAAQ,MAAM,sCAAsC,CAAC;AACjE,OAAO,KAAK,gBAAgB,MAAM,sCAAsC,CAAC;AACzE,OAAO,KAAK,iBAAiB,MAAM,sCAAsC,CAAC;AAC1E,OAAO,KAAK,iBAAiB,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,MAAM,MAAM,0BAA0B,CAAC;AACnD,OAAO,KAAK,iBAAiB,MAAM,uCAAuC,CAAC;AAC3E,OAAO,KAAK,cAAc,MAAM,oCAAoC,CAAC;AACrE,OAAO,KAAK,UAAU,MAAM,0DAA0D,CAAC"}
1
+ {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,kBAAkB,MAAM,8DAA8D,CAAC;AACnG,OAAO,KAAK,cAAc,MAAM,yDAAyD,CAAC;AAC1F,OAAO,KAAK,WAAW,MAAM,gCAAgC,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,0DAA0D,CAAC;AACvF,OAAO,KAAK,aAAa,MAAM,4CAA4C,CAAC;AAC5E,OAAO,KAAK,aAAa,MAAM,mCAAmC,CAAC;AACnE,OAAO,KAAK,eAAe,MAAM,mDAAmD,CAAC;AACrF,OAAO,KAAK,kBAAkB,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,wBAAwB,MAAM,uDAAuD,CAAC;AAClG,OAAO,KAAK,mBAAmB,MAAM,2CAA2C,CAAC;AACjF,OAAO,KAAK,IAAI,MAAM,8BAA8B,CAAC;AACrD,OAAO,KAAK,WAAW,MAAM,sCAAsC,CAAC;AACpE,OAAO,KAAK,QAAQ,MAAM,sCAAsC,CAAC;AACjE,OAAO,KAAK,gBAAgB,MAAM,sCAAsC,CAAC;AACzE,OAAO,KAAK,iBAAiB,MAAM,sCAAsC,CAAC;AAC1E,OAAO,KAAK,iBAAiB,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,MAAM,MAAM,0BAA0B,CAAC;AACnD,OAAO,KAAK,iBAAiB,MAAM,uCAAuC,CAAC;AAC3E,OAAO,KAAK,cAAc,MAAM,oCAAoC,CAAC"}
@@ -408,13 +408,13 @@ export interface LineItemTaxBreakdown {
408
408
  /** Jurisdiction that taxes were calculated for. For example, "New York", or "Quebec". */
409
409
  jurisdiction?: string | null;
410
410
  /** Non-taxable amount of the line item price. */
411
- nonTaxableAmount?: string | null;
411
+ nonTaxableAmount?: Price;
412
412
  /** Tax rate used for this jurisdiction, as a decimal. For example, 10% tax is 0.1000. */
413
413
  rate?: string | null;
414
414
  /** Amount of tax calculated for this line item. */
415
415
  taxAmount?: Price;
416
416
  /** Taxable amount of the line item price. */
417
- taxableAmount?: string | null;
417
+ taxableAmount?: Price;
418
418
  /** The type of tax that was calculated. Depends on the jurisdiction's tax laws. For example, "Sales Tax", "Income Tax", "Value Added Tax", etc. */
419
419
  taxType?: string | null;
420
420
  /**
@@ -3883,10 +3883,18 @@ export interface GetOrderResponseNonNullableFields {
3883
3883
  };
3884
3884
  taxIncludedInPrice: boolean;
3885
3885
  taxBreakdown: {
3886
+ nonTaxableAmount?: {
3887
+ amount: string;
3888
+ formattedAmount: string;
3889
+ };
3886
3890
  taxAmount?: {
3887
3891
  amount: string;
3888
3892
  formattedAmount: string;
3889
3893
  };
3894
+ taxableAmount?: {
3895
+ amount: string;
3896
+ formattedAmount: string;
3897
+ };
3890
3898
  jurisdictionType: JurisdictionType;
3891
3899
  }[];
3892
3900
  };
@@ -4450,10 +4458,18 @@ export interface SearchOrdersResponseNonNullableFields {
4450
4458
  };
4451
4459
  taxIncludedInPrice: boolean;
4452
4460
  taxBreakdown: {
4461
+ nonTaxableAmount?: {
4462
+ amount: string;
4463
+ formattedAmount: string;
4464
+ };
4453
4465
  taxAmount?: {
4454
4466
  amount: string;
4455
4467
  formattedAmount: string;
4456
4468
  };
4469
+ taxableAmount?: {
4470
+ amount: string;
4471
+ formattedAmount: string;
4472
+ };
4457
4473
  jurisdictionType: JurisdictionType;
4458
4474
  }[];
4459
4475
  };
@@ -5017,10 +5033,18 @@ export interface CreateOrderResponseNonNullableFields {
5017
5033
  };
5018
5034
  taxIncludedInPrice: boolean;
5019
5035
  taxBreakdown: {
5036
+ nonTaxableAmount?: {
5037
+ amount: string;
5038
+ formattedAmount: string;
5039
+ };
5020
5040
  taxAmount?: {
5021
5041
  amount: string;
5022
5042
  formattedAmount: string;
5023
5043
  };
5044
+ taxableAmount?: {
5045
+ amount: string;
5046
+ formattedAmount: string;
5047
+ };
5024
5048
  jurisdictionType: JurisdictionType;
5025
5049
  }[];
5026
5050
  };
@@ -5584,10 +5608,18 @@ export interface UpdateOrderResponseNonNullableFields {
5584
5608
  };
5585
5609
  taxIncludedInPrice: boolean;
5586
5610
  taxBreakdown: {
5611
+ nonTaxableAmount?: {
5612
+ amount: string;
5613
+ formattedAmount: string;
5614
+ };
5587
5615
  taxAmount?: {
5588
5616
  amount: string;
5589
5617
  formattedAmount: string;
5590
5618
  };
5619
+ taxableAmount?: {
5620
+ amount: string;
5621
+ formattedAmount: string;
5622
+ };
5591
5623
  jurisdictionType: JurisdictionType;
5592
5624
  }[];
5593
5625
  };
@@ -6151,10 +6183,18 @@ export interface CancelOrderResponseNonNullableFields {
6151
6183
  };
6152
6184
  taxIncludedInPrice: boolean;
6153
6185
  taxBreakdown: {
6186
+ nonTaxableAmount?: {
6187
+ amount: string;
6188
+ formattedAmount: string;
6189
+ };
6154
6190
  taxAmount?: {
6155
6191
  amount: string;
6156
6192
  formattedAmount: string;
6157
6193
  };
6194
+ taxableAmount?: {
6195
+ amount: string;
6196
+ formattedAmount: string;
6197
+ };
6158
6198
  jurisdictionType: JurisdictionType;
6159
6199
  }[];
6160
6200
  };
@@ -386,13 +386,13 @@ export interface LineItemTaxBreakdown {
386
386
  /** Jurisdiction that taxes were calculated for. For example, "New York", or "Quebec". */
387
387
  jurisdiction?: string | null;
388
388
  /** Non-taxable amount of the line item price. */
389
- nonTaxableAmount?: string | null;
389
+ nonTaxableAmount?: Price;
390
390
  /** Tax rate used for this jurisdiction, as a decimal. For example, 10% tax is 0.1000. */
391
391
  rate?: string | null;
392
392
  /** Amount of tax calculated for this line item. */
393
393
  taxAmount?: Price;
394
394
  /** Taxable amount of the line item price. */
395
- taxableAmount?: string | null;
395
+ taxableAmount?: Price;
396
396
  /** The type of tax that was calculated. Depends on the jurisdiction's tax laws. For example, "Sales Tax", "Income Tax", "Value Added Tax", etc. */
397
397
  taxType?: string | null;
398
398
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ecom",
3
- "version": "1.0.516",
3
+ "version": "1.0.518",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -35,5 +35,5 @@
35
35
  "groupId": "com.wixpress.public-sdk-autogen"
36
36
  }
37
37
  },
38
- "falconPackageHash": "a71ea9ae8cd0a36e3f4a10e94258185e122a4af0d642c015ef1a6e1f"
38
+ "falconPackageHash": "77eee6515300efeeefcac7fecd84d8c599fc959977c65884c82cf679"
39
39
  }