merchi_sdk_js 0.0.66 → 0.0.68
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/model.js +6 -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/model.js
CHANGED
@@ -309,6 +309,12 @@ export function getList(resource, success, error, parameters, withUpdates) {
|
|
309
309
|
request.query().add(
|
310
310
|
'platform_category_id', parameters.platformCategoryId);
|
311
311
|
}
|
312
|
+
if (notEmpty(parameters.googleMerchantCenterExported)) {
|
313
|
+
request.query().add(
|
314
|
+
'google_merchant_center_exported',
|
315
|
+
parameters.googleMerchantCenterExported
|
316
|
+
);
|
317
|
+
}
|
312
318
|
if (notEmpty(parameters.groupBuyForJobId)) {
|
313
319
|
request.query().add(
|
314
320
|
'group_buy_for_job_id', parameters.groupBuyForJobId);
|
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),
|