merchi_sdk_js 0.0.9 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/assignment.js +1 -0
- package/src/domain.js +2 -0
- package/src/draft_template.js +2 -0
- package/src/job.js +1 -0
- package/src/product.js +1 -0
package/package.json
CHANGED
package/src/assignment.js
CHANGED
@@ -28,6 +28,7 @@ export function Assignment() {
|
|
28
28
|
addPropertyTo(this, 'supplyJob', Job);
|
29
29
|
addPropertyTo(this, 'supplier', User);
|
30
30
|
addPropertyTo(this, 'quote', Quote);
|
31
|
+
addPropertyTo(this, 'quoteTotalCost');
|
31
32
|
addPropertyTo(this, 'shipment', Shipment);
|
32
33
|
addPropertyTo(this, 'supplyDomain', SupplyDomain);
|
33
34
|
addPropertyTo(this, 'comments', ProductionComment);
|
package/src/domain.js
CHANGED
@@ -85,6 +85,8 @@ export function Domain() {
|
|
85
85
|
addPropertyTo(this, 'deploymentMessage');
|
86
86
|
addPropertyTo(this, 'deploymentKey');
|
87
87
|
|
88
|
+
addPropertyTo(this, 'scalablePressApiKey');
|
89
|
+
|
88
90
|
this.create = function (success, error, embed, as_domain) {
|
89
91
|
var data = serialise(this),
|
90
92
|
self = this;
|
package/src/draft_template.js
CHANGED
@@ -3,6 +3,7 @@ import { addPropertyTo, serialise, create, enumerateFiles,
|
|
3
3
|
import { Job } from './job.js';
|
4
4
|
import { Product } from './product.js';
|
5
5
|
import { MerchiFile } from './merchi_file.js';
|
6
|
+
import { VariationFieldsOption } from './variation_fields_option.js';
|
6
7
|
|
7
8
|
export function DraftTemplate() {
|
8
9
|
this.resource = '/draft_comments';
|
@@ -12,6 +13,7 @@ export function DraftTemplate() {
|
|
12
13
|
addPropertyTo(this, 'product', Product);
|
13
14
|
addPropertyTo(this, 'file', MerchiFile);
|
14
15
|
addPropertyTo(this, 'job', Job);
|
16
|
+
addPropertyTo(this, 'variationFieldOption', VariationFieldsOption);
|
15
17
|
addPropertyTo(this, 'date');
|
16
18
|
addPropertyTo(this, 'name');
|
17
19
|
addPropertyTo(this, 'description');
|
package/src/job.js
CHANGED
@@ -73,6 +73,7 @@ export function Job() {
|
|
73
73
|
addPropertyTo(this, 'productionShippingAddress', Address);
|
74
74
|
addPropertyTo(this, 'supplyAssignment', Assignment);
|
75
75
|
addPropertyTo(this, 'supplyJob', Job);
|
76
|
+
addPropertyTo(this, 'supplyQuoteTotalCost');
|
76
77
|
addPropertyTo(this, 'domain', Domain);
|
77
78
|
addPropertyTo(this, 'cost');
|
78
79
|
addPropertyTo(this, 'taxAmount');
|
package/src/product.js
CHANGED
@@ -40,6 +40,7 @@ export function Product() {
|
|
40
40
|
addPropertyTo(this, 'productType');
|
41
41
|
addPropertyTo(this, 'description');
|
42
42
|
addPropertyTo(this, 'notes');
|
43
|
+
addPropertyTo(this, 'spProductId');
|
43
44
|
addPropertyTo(this, 'shopifyProductId');
|
44
45
|
addPropertyTo(this, 'minimum');
|
45
46
|
addPropertyTo(this, 'minimumPerGroup');
|