merchi_sdk_js 0.0.19 → 0.0.21
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/cart.js +0 -1
- package/src/cart_item.js +2 -0
- package/src/invoice.js +0 -1
- package/src/job.js +1 -0
package/package.json
CHANGED
package/src/cart.js
CHANGED
@@ -27,7 +27,6 @@ export function Cart() {
|
|
27
27
|
addPropertyTo(this, 'subtotalCost');
|
28
28
|
addPropertyTo(this, 'taxAmount');
|
29
29
|
addPropertyTo(this, 'totalCost');
|
30
|
-
addPropertyTo(this, 'discountedAmount');
|
31
30
|
addPropertyTo(this, 'cartItems', CartItem);
|
32
31
|
addPropertyTo(this, 'cartItemsSubtotalCost');
|
33
32
|
addPropertyTo(this, 'cartItemsTaxAmount');
|
package/src/cart_item.js
CHANGED
@@ -3,6 +3,7 @@ import { addPropertyTo, serialise, fromJson, create,
|
|
3
3
|
enumerateFiles } from './model.js';
|
4
4
|
import { Cart } from './cart.js';
|
5
5
|
import { CountryTax } from './country_tax.js';
|
6
|
+
import { DomainTag } from './domain_tag.js';
|
6
7
|
import { Product } from './product.js';
|
7
8
|
import { Variation } from './variation.js';
|
8
9
|
import { VariationsGroup } from './variations_group.js';
|
@@ -22,6 +23,7 @@ export function CartItem() {
|
|
22
23
|
addPropertyTo(this, 'variations', Variation);
|
23
24
|
addPropertyTo(this, 'variationsGroups', VariationsGroup);
|
24
25
|
addPropertyTo(this, 'taxType', CountryTax);
|
26
|
+
addPropertyTo(this, 'tag', DomainTag);
|
25
27
|
addPropertyTo(this, 'subtotalCost');
|
26
28
|
addPropertyTo(this, 'totalCost');
|
27
29
|
|
package/src/invoice.js
CHANGED
@@ -35,7 +35,6 @@ export function Invoice() {
|
|
35
35
|
addPropertyTo(this, 'taxAmount');
|
36
36
|
addPropertyTo(this, 'invoiceToken');
|
37
37
|
addPropertyTo(this, 'canAutoPay');
|
38
|
-
addPropertyTo(this, 'discountedAmount');
|
39
38
|
addPropertyTo(this, 'responsibleManager', User);
|
40
39
|
addPropertyTo(this, 'creator', User);
|
41
40
|
addPropertyTo(this, 'client', User);
|
package/src/job.js
CHANGED
@@ -130,6 +130,7 @@ export function Job() {
|
|
130
130
|
addPropertyTo(this, 'shopifyOrderId');
|
131
131
|
addPropertyTo(this, 'shopifyOrderLineItemId');
|
132
132
|
addPropertyTo(this, 'internalTags', InternalTag);
|
133
|
+
addPropertyTo(this, 'isNewClient');
|
133
134
|
|
134
135
|
this.create = function (
|
135
136
|
success, error, embed, asDomain, withRights) {
|