@colijnit/ioneconnector 1.0.133 → 1.0.136

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.
@@ -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;
@@ -5,5 +5,6 @@ export declare class Question extends BusinessObject {
5
5
  grouped: boolean;
6
6
  param: string;
7
7
  publication: any;
8
+ optionLinkedText: string;
8
9
  constructor(rawData?: any);
9
10
  }
@@ -20,6 +20,7 @@ class Question extends business_object_1.BusinessObject {
20
20
  this.grouped = false;
21
21
  this.param = null;
22
22
  this.publication = null;
23
+ this.optionLinkedText = null;
23
24
  this.setOwnMappedPropsFromRawData(rawData);
24
25
  }
25
26
  }
@@ -18,6 +18,34 @@ const json_decorator_1 = require("../factory/decorators/json.decorator");
18
18
  class Selection extends business_object_1.BusinessObject {
19
19
  constructor(rawData = {}) {
20
20
  super();
21
+ this.addAdjust = null;
22
+ this.assetUrl = null;
23
+ this.amountInComposition = null;
24
+ this.artSelGoodId = null;
25
+ this.artCostPrice = null;
26
+ this.artMountingPrice = null;
27
+ this.artOptId = null;
28
+ this.artSelSeq = null;
29
+ this.brandId = null;
30
+ this.totalCostPrice = null;
31
+ this.totalMountingPrice = null;
32
+ this.articleDescription = null;
33
+ this.articleNumber = null;
34
+ this.colorCodeString = null;
35
+ this.connectorArticle = null;
36
+ this.defaultNumber = null;
37
+ this.currencyCode = null;
38
+ this.decoLength = null;
39
+ this.decoWidth = null;
40
+ this.decoHeight = null;
41
+ this.elementType = null;
42
+ this.gameObject = null;
43
+ this.imgUrl = null;
44
+ this.inquireNbrMode = null;
45
+ this.referenceArticle = null;
46
+ this.referenceNode = null;
47
+ this.weightArticle = null;
48
+ this.weightNode = null;
21
49
  this.nodeId = null;
22
50
  this.colors = [];
23
51
  this.tags = [];
@@ -52,7 +80,16 @@ class Selection extends business_object_1.BusinessObject {
52
80
  this.schema = null;
53
81
  this.userInput = false;
54
82
  this.userInputValue = null;
83
+ this.minNumber = null;
84
+ this.maxNumber = null;
85
+ this.nbrChoices = null;
86
+ this.nodeState = null;
55
87
  this.selection = null;
88
+ this.stepSize = null;
89
+ this.treeId = null;
90
+ this.techLevel = null;
91
+ this.imageData = null;
92
+ this.instanceId = null;
56
93
  this.variations = [];
57
94
  this.addables = [];
58
95
  this.lastAnswer = null;
@@ -10,6 +10,7 @@ export declare class SelectorArticle extends BusinessObject {
10
10
  articleNr: string;
11
11
  articleDescription: string;
12
12
  articleSupplementDescription: string;
13
+ compositions: SelectorArticle[];
13
14
  articleName: string;
14
15
  amount: number;
15
16
  salesPrice: number;
@@ -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 = new frozen_article_1.FrozenArticle(articles[0]);
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 = new frozen_article_1.FrozenArticle(articles[0]);
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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/ioneconnector",
3
- "version": "1.0.133",
3
+ "version": "1.0.136",
4
4
  "scripts": {
5
5
  "build": "grunt clean && tsc",
6
6
  "browserify": "browserify build/connector.js --s colijn -o dist/out-tsc/bundle.js",