@colijnit/ioneconnector 1.0.133 → 1.0.134
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/build/model/answer.js +5 -0
- package/build/model/frozen-article.d.ts +52 -0
- package/build/model/frozen-article.js +12 -0
- package/build/model/selector-article.d.ts +1 -0
- package/build/provider/data-repository.service.js +2 -6
- package/build/service/hd-data.service.js +2 -6
- package/package.json +1 -1
package/build/model/answer.js
CHANGED
|
@@ -33,6 +33,7 @@ class Answer extends business_object_1.BusinessObject {
|
|
|
33
33
|
this.tagsOptions = [];
|
|
34
34
|
this.nodeId = null;
|
|
35
35
|
this.decoId = null;
|
|
36
|
+
this.price = null;
|
|
36
37
|
this.answer = null;
|
|
37
38
|
this.commercialAnswer = null;
|
|
38
39
|
this.type = null;
|
|
@@ -117,6 +118,10 @@ __decorate([
|
|
|
117
118
|
map_property_decorator_1.MapProperty("selDecoId"),
|
|
118
119
|
__metadata("design:type", Object)
|
|
119
120
|
], Answer.prototype, "decoId", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
map_property_decorator_1.MapProperty("salesAdditionalPrice"),
|
|
123
|
+
__metadata("design:type", Number)
|
|
124
|
+
], Answer.prototype, "price", void 0);
|
|
120
125
|
__decorate([
|
|
121
126
|
map_property_decorator_1.MapProperty("nodeText"),
|
|
122
127
|
__metadata("design:type", String)
|
|
@@ -10,5 +10,57 @@ export declare class FrozenArticle extends BusinessObject {
|
|
|
10
10
|
articleName: string;
|
|
11
11
|
configurationText: string;
|
|
12
12
|
compositions: FrozenArticleComposition[];
|
|
13
|
+
compositeSeqenceNo: string;
|
|
14
|
+
goodId: string;
|
|
15
|
+
frozenArticleNr: string;
|
|
16
|
+
articleDescription: string;
|
|
17
|
+
articleSupplementDescription: string;
|
|
18
|
+
name: string;
|
|
19
|
+
amount: number;
|
|
20
|
+
surcharcheReductionPriceSales: number;
|
|
21
|
+
suggestedPrice: number;
|
|
22
|
+
currencyCode: string;
|
|
23
|
+
currencyCodePurchase: string;
|
|
24
|
+
pricelistCode: string;
|
|
25
|
+
branchNo: string;
|
|
26
|
+
partGoodId: number;
|
|
27
|
+
selectorMinNodeId: number;
|
|
28
|
+
selectorMaxNodeId: number;
|
|
29
|
+
selectorMinArtSeq: number;
|
|
30
|
+
representedArticle: string;
|
|
31
|
+
excluded: string;
|
|
32
|
+
isStockArticle: string;
|
|
33
|
+
isLocationArticle: string;
|
|
34
|
+
purchaseDescription: string;
|
|
35
|
+
shippingCost: number;
|
|
36
|
+
customsCost: number;
|
|
37
|
+
portCost: number;
|
|
38
|
+
additionalCost: number;
|
|
39
|
+
productionCost: number;
|
|
40
|
+
shippingCurrency: string;
|
|
41
|
+
currencyCodeCustoms: string;
|
|
42
|
+
portCurrency: string;
|
|
43
|
+
additionalCurrency: string;
|
|
44
|
+
productionCurrency: string;
|
|
45
|
+
articleNoSupplier: string;
|
|
46
|
+
barcode: string;
|
|
47
|
+
hashCodeEAN: string;
|
|
48
|
+
standardDeliveryTimeSales: number;
|
|
49
|
+
standardDeliveryTimePurchase: number;
|
|
50
|
+
unitIdSales: string;
|
|
51
|
+
unitIdPurchase: string;
|
|
52
|
+
standardCommissionCode: string;
|
|
53
|
+
isFreeCommissionCode: string;
|
|
54
|
+
inOutCollection: string;
|
|
55
|
+
superArtId: string;
|
|
56
|
+
turnOverGroup: string;
|
|
57
|
+
freeInputConfigurationText: string;
|
|
58
|
+
freePrice: string;
|
|
59
|
+
descriptionEditable: string;
|
|
60
|
+
hashCodeID: string;
|
|
61
|
+
vatCodePurchase: number;
|
|
62
|
+
goodType: string;
|
|
63
|
+
combined: string;
|
|
64
|
+
weight: number;
|
|
13
65
|
constructor(rawData?: any);
|
|
14
66
|
}
|
|
@@ -58,4 +58,16 @@ __decorate([
|
|
|
58
58
|
map_property_decorator_1.MapProperty("configurationText"),
|
|
59
59
|
__metadata("design:type", String)
|
|
60
60
|
], FrozenArticle.prototype, "configurationText", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
map_property_decorator_1.MapProperty("CompositeSeqenceNo"),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], FrozenArticle.prototype, "compositeSeqenceNo", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
map_property_decorator_1.MapProperty("articleNo"),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], FrozenArticle.prototype, "frozenArticleNr", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
map_property_decorator_1.MapProperty("articleName"),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], FrozenArticle.prototype, "name", void 0);
|
|
61
73
|
exports.FrozenArticle = FrozenArticle;
|
|
@@ -50,8 +50,6 @@ const skip_button_info_1 = require("../model/skip-button-info");
|
|
|
50
50
|
const super_article_1 = require("../model/super-article");
|
|
51
51
|
const article_group_1 = require("../model/article-group");
|
|
52
52
|
const article_extended_dto_1 = require("../model/article-extended-dto");
|
|
53
|
-
const frozen_article_1 = require("../model/frozen-article");
|
|
54
|
-
const frozen_article_simple_1 = require("../model/frozen-article-simple");
|
|
55
53
|
const selector_article_1 = require("../model/selector-article");
|
|
56
54
|
class DataRepositoryService {
|
|
57
55
|
constructor(url, branchNr, currencyId, useGroups, options, session = undefined, externalStorage = undefined) {
|
|
@@ -134,13 +132,11 @@ class DataRepositoryService {
|
|
|
134
132
|
const articles = this.boFactory.makeBOArrayFromRawBackendDataArray(selector_article_1.SelectorArticle, rawArray);
|
|
135
133
|
const composedArticle = !!articles[0].compositionArticleNo;
|
|
136
134
|
let frozenart;
|
|
135
|
+
frozenart = this.boFactory.makeWithRawBackendData(selector_article_1.SelectorArticle, articles[0]);
|
|
137
136
|
if (composedArticle) {
|
|
138
|
-
frozenart =
|
|
137
|
+
frozenart.compositions = [];
|
|
139
138
|
frozenart.compositions.push(articles);
|
|
140
139
|
}
|
|
141
|
-
else {
|
|
142
|
-
frozenart = new frozen_article_simple_1.FrozenArticleSimple(articles[0]);
|
|
143
|
-
}
|
|
144
140
|
resolve(frozenart);
|
|
145
141
|
}
|
|
146
142
|
else {
|
|
@@ -29,8 +29,6 @@ const material_1 = require("../model/material");
|
|
|
29
29
|
const atmosphere_1 = require("../model/atmosphere");
|
|
30
30
|
const article_group_1 = require("../model/article-group");
|
|
31
31
|
const article_extended_dto_1 = require("../model/article-extended-dto");
|
|
32
|
-
const frozen_article_1 = require("../model/frozen-article");
|
|
33
|
-
const frozen_article_simple_1 = require("../model/frozen-article-simple");
|
|
34
32
|
const selector_article_1 = require("../model/selector-article");
|
|
35
33
|
class HdDataService {
|
|
36
34
|
constructor(sessionService, boFactory, options) {
|
|
@@ -125,13 +123,11 @@ class HdDataService {
|
|
|
125
123
|
const articles = this._boFactory.makeBOArrayFromRawBackendDataArray(selector_article_1.SelectorArticle, response.data.resultObject);
|
|
126
124
|
const composedArticle = !!articles[0].compositionArticleNo;
|
|
127
125
|
let frozenart;
|
|
126
|
+
frozenart = this._boFactory.makeWithRawBackendData(selector_article_1.SelectorArticle, articles[0]);
|
|
128
127
|
if (composedArticle) {
|
|
129
|
-
frozenart =
|
|
128
|
+
frozenart.compositions = [];
|
|
130
129
|
frozenart.compositions.push(articles);
|
|
131
130
|
}
|
|
132
|
-
else {
|
|
133
|
-
frozenart = new frozen_article_simple_1.FrozenArticleSimple(articles[0]);
|
|
134
|
-
}
|
|
135
131
|
return frozenart;
|
|
136
132
|
}
|
|
137
133
|
else {
|