merchi_sdk_js 0.0.65 → 0.0.67
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 +1 -1
- package/src/domain.js +2 -0
- package/src/merchi.js +4 -0
- package/src/product.js +5 -0
package/package.json
CHANGED
package/src/domain.js
CHANGED
@@ -89,6 +89,8 @@ export function Domain() {
|
|
89
89
|
addPropertyTo(this, 'deploymentKey');
|
90
90
|
|
91
91
|
addPropertyTo(this, 'scalablePressApiKey');
|
92
|
+
addPropertyTo(this, 'googleMerchantApiKey');
|
93
|
+
addPropertyTo(this, 'googleMerchantId');
|
92
94
|
|
93
95
|
this.create = function (success, error, embed, as_domain) {
|
94
96
|
var data = serialise(this),
|
package/src/merchi.js
CHANGED
@@ -243,6 +243,10 @@ export function merchi(backendUri, websocketUri) {
|
|
243
243
|
shipmentCompanies.add(10, 'realtime express');
|
244
244
|
shipmentCompanies.add(11, 'Uber');
|
245
245
|
shipmentCompanies.add(12, 'Civic Transport Couriers');
|
246
|
+
shipmentCompanies.add(13, 'NZ Post');
|
247
|
+
shipmentCompanies.add(14, 'Sendle');
|
248
|
+
shipmentCompanies.add(15, 'USPS');
|
249
|
+
shipmentCompanies.add(16, 'Fusion Freight');
|
246
250
|
|
247
251
|
inventoryStatuses.add("DEDUCTED", 0)
|
248
252
|
inventoryStatuses.add("CAN_DEDUCT", 1)
|
package/src/product.js
CHANGED
@@ -117,6 +117,11 @@ export function Product() {
|
|
117
117
|
addPropertyTo(this, 'internalUseNotes');
|
118
118
|
addPropertyTo(this, 'internalUseAiContext');
|
119
119
|
addPropertyTo(this, 'internalTags', InternalTag);
|
120
|
+
addPropertyTo(this, 'googleMerchantCenterId');
|
121
|
+
addPropertyTo(this, 'googleMerchantCenterTitle');
|
122
|
+
addPropertyTo(this, 'googleMerchantCenterDescription');
|
123
|
+
addPropertyTo(this, 'googleMerchantCenterProductUrl');
|
124
|
+
addPropertyTo(this, 'googleMerchantCenterPrice');
|
120
125
|
|
121
126
|
this.create = function (success, error, embed, asDomain) {
|
122
127
|
var data = serialise(this),
|