merchi_sdk_js 0.19.1 → 0.20.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 +1 -1
- package/src/company.js +2 -0
- package/src/product.js +0 -2
package/package.json
CHANGED
package/src/company.js
CHANGED
|
@@ -116,6 +116,8 @@ export function Company() {
|
|
|
116
116
|
addPropertyTo(this, 'internalUseAiContext');
|
|
117
117
|
addPropertyTo(this, 'internalTags', InternalTag);
|
|
118
118
|
addPropertyTo(this, 'reminders', Reminder);
|
|
119
|
+
addPropertyTo(this, 'parentCompany', Company);
|
|
120
|
+
addPropertyTo(this, 'childCompanies', Company);
|
|
119
121
|
|
|
120
122
|
this.create = function (success, error, embed, as_domain) {
|
|
121
123
|
var data = serialise(this),
|
package/src/product.js
CHANGED
|
@@ -41,7 +41,6 @@ export function Product() {
|
|
|
41
41
|
addPropertyTo(this, 'independent');
|
|
42
42
|
addPropertyTo(this, 'productType');
|
|
43
43
|
addPropertyTo(this, 'description');
|
|
44
|
-
addPropertyTo(this, 'aiContextDrafting');
|
|
45
44
|
addPropertyTo(this, 'notes');
|
|
46
45
|
addPropertyTo(this, 'position');
|
|
47
46
|
addPropertyTo(this, 'spProductId');
|
|
@@ -117,7 +116,6 @@ export function Product() {
|
|
|
117
116
|
addPropertyTo(this, 'draftTemplates', DraftTemplate);
|
|
118
117
|
addPropertyTo(this, 'shipmentMethods', ShipmentMethod);
|
|
119
118
|
addPropertyTo(this, 'aiContext');
|
|
120
|
-
addPropertyTo(this, 'aiContextDrafting');
|
|
121
119
|
addPropertyTo(this, 'internalUseNotes');
|
|
122
120
|
addPropertyTo(this, 'internalUseAiContext');
|
|
123
121
|
addPropertyTo(this, 'groupsFirst');
|