merchi_sdk_js 0.29.0 → 0.31.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "merchi_sdk_js",
3
- "version": "0.29.0",
3
+ "version": "0.31.0",
4
4
  "type": "module",
5
5
  "main": "src/merchi.js",
6
6
  "module": "src/merchi.js",
package/src/cart.js CHANGED
@@ -42,6 +42,16 @@ export function Cart() {
42
42
  addPropertyTo(this, 'invoice', Invoice);
43
43
  addPropertyTo(this, 'shipment', Shipment);
44
44
  addPropertyTo(this, 'receiverAddress', Address);
45
+ addPropertyTo(this, 'isTest');
46
+ addPropertyTo(this, 'sourceChannel');
47
+ addPropertyTo(this, 'utmSource');
48
+ addPropertyTo(this, 'utmMedium');
49
+ addPropertyTo(this, 'utmCampaign');
50
+ addPropertyTo(this, 'utmContent');
51
+ addPropertyTo(this, 'utmTerm');
52
+ addPropertyTo(this, 'sourceClickId');
53
+ addPropertyTo(this, 'sourceLanding');
54
+ addPropertyTo(this, 'sourceReferrer');
45
55
 
46
56
  this.create = function (success, error, embed, asDomain) {
47
57
  var self = this,
package/src/invoice.js CHANGED
@@ -31,6 +31,7 @@ export function Invoice() {
31
31
  addPropertyTo(this, 'sendSms');
32
32
  addPropertyTo(this, 'sendEmail');
33
33
  addPropertyTo(this, 'unpaid');
34
+ addPropertyTo(this, 'isTest');
34
35
  addPropertyTo(this, 'totalCost');
35
36
  addPropertyTo(this, 'subtotalCost');
36
37
  addPropertyTo(this, 'taxAmount');
package/src/job.js CHANGED
@@ -74,6 +74,15 @@ export function Job() {
74
74
  addPropertyTo(this, 'clientOs');
75
75
  addPropertyTo(this, 'clientIp');
76
76
  addPropertyTo(this, 'clientOrigin');
77
+ addPropertyTo(this, 'sourceChannel');
78
+ addPropertyTo(this, 'utmSource');
79
+ addPropertyTo(this, 'utmMedium');
80
+ addPropertyTo(this, 'utmCampaign');
81
+ addPropertyTo(this, 'utmContent');
82
+ addPropertyTo(this, 'utmTerm');
83
+ addPropertyTo(this, 'sourceClickId');
84
+ addPropertyTo(this, 'sourceLanding');
85
+ addPropertyTo(this, 'sourceReferrer');
77
86
  addPropertyTo(this, 'clientEmail', EmailAddress);
78
87
  addPropertyTo(this, 'clientPhone', PhoneNumber);
79
88
  addPropertyTo(this, 'clientCompany', Company);
@@ -148,6 +157,7 @@ export function Job() {
148
157
  addPropertyTo(this, 'shopifyOrderLineItemId');
149
158
  addPropertyTo(this, 'internalTags', InternalTag);
150
159
  addPropertyTo(this, 'isNewClient');
160
+ addPropertyTo(this, 'isTest');
151
161
 
152
162
  this.create = function (
153
163
  success, error, embed, asDomain, withRights) {