@colijnit/ioneconnector 1.0.125 → 1.0.126

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.
@@ -29,7 +29,6 @@ import { ArticleExtendedDto } from "./model/article-extended-dto";
29
29
  import { InternalParam } from "./enum/internal-param.enum";
30
30
  export declare class ConnectorAuth implements IoneApiConnection {
31
31
  readonly showLoader: Subject<boolean>;
32
- readonly connectionAborted: Subject<void>;
33
32
  readonly connectionResetInactivity: Subject<void>;
34
33
  private readonly useWebsocket;
35
34
  private readonly url;
@@ -14,7 +14,6 @@ const rxjs_1 = require("rxjs");
14
14
  class ConnectorAuth {
15
15
  constructor(options, externalStorage = undefined) {
16
16
  this.showLoader = new rxjs_1.Subject();
17
- this.connectionAborted = new rxjs_1.Subject();
18
17
  this.connectionResetInactivity = new rxjs_1.Subject();
19
18
  this.useWebsocket = false;
20
19
  this.useGroups = false;
@@ -33,7 +32,6 @@ class ConnectorAuth {
33
32
  this.dataRepository = new data_repository_service_1.DataRepositoryService(this.url, this.branch, this.currencyId, this.useGroups, options, this.session, externalStorage);
34
33
  this.session = this.dataRepository.connection.session;
35
34
  this.dataRepository.showLoader.subscribe(value => this.showLoader.next(value));
36
- this.dataRepository.connectionAborted.subscribe(() => this.connectionAborted.next());
37
35
  this.dataRepository.connectionResetInactivity.subscribe(() => this.connectionResetInactivity.next());
38
36
  }
39
37
  saveConfigurations() {
@@ -27,7 +27,6 @@ import { ArticleExtendedDto } from "./model/article-extended-dto";
27
27
  import { InternalParam } from "./enum/internal-param.enum";
28
28
  export declare class ConnectorPublic implements IoneApiConnection {
29
29
  readonly showLoader: Subject<boolean>;
30
- readonly connectionAborted: Subject<void>;
31
30
  readonly connectionResetInactivity: Subject<void>;
32
31
  private readonly dataService;
33
32
  private _schema;
@@ -6,7 +6,6 @@ const validation_result_1 = require("./model/validation-result");
6
6
  class ConnectorPublic {
7
7
  constructor(dataService) {
8
8
  this.showLoader = new rxjs_1.Subject();
9
- this.connectionAborted = new rxjs_1.Subject();
10
9
  this.connectionResetInactivity = new rxjs_1.Subject();
11
10
  this.dataService = dataService;
12
11
  }
@@ -168,8 +167,7 @@ class ConnectorPublic {
168
167
  return this.dataService.closeSession();
169
168
  }
170
169
  getInternalParameter(parameter) {
171
- console.warn("getInternalParameter is not implemented in public api");
172
- return null;
170
+ return this.dataService.getInternalParameter(parameter);
173
171
  }
174
172
  }
175
173
  exports.ConnectorPublic = ConnectorPublic;
@@ -36,9 +36,9 @@ import { Concept } from "./model/concept";
36
36
  import { ArticleGroup } from "./model/article-group";
37
37
  import { ArticleExtendedDto } from "./model/article-extended-dto";
38
38
  import { InternalParam } from "./enum/internal-param.enum";
39
+ import { QuestionAndAnswer } from "./model/question-and-answer";
39
40
  export declare class Connector {
40
41
  goodId: number;
41
- sku: string;
42
42
  useWebsocket: boolean;
43
43
  url: string;
44
44
  version: string;
@@ -71,7 +71,6 @@ export declare class Connector {
71
71
  private boFactory;
72
72
  private connection;
73
73
  readonly showLoader: Subject<boolean>;
74
- readonly connectionAborted: Subject<void>;
75
74
  readonly connectionResetInactivity: Subject<void>;
76
75
  constructor(options?: Options, externalStorage?: ExternalStorage);
77
76
  saveConfigurations(): Promise<boolean>;
@@ -83,6 +82,7 @@ export declare class Connector {
83
82
  getSuperArticle(id: string): Promise<SuperArticle>;
84
83
  getFullArticle(skuOrId: string): Promise<ArticleFullObject>;
85
84
  getQuestionAndAnswers(): void;
85
+ getQuestionAndAnswersAsync(): Promise<QuestionAndAnswer>;
86
86
  getSkipButtonImageAndText(goodId?: number): Promise<SkipButtonInfo>;
87
87
  getDeliveryPrognosisForArticle(goodId: number): Promise<{}>;
88
88
  getAnswersPrices(): Promise<AnswerPrice[]>;
@@ -92,11 +92,13 @@ export declare class Connector {
92
92
  getImageForAnswerOrSelection(answerOrSelection: Answer | Selection, publication?: number, thumbNail?: boolean, showLoader?: boolean): Promise<string>;
93
93
  getMoodImageForAnswerSelection(answerOrSelection: Answer | Selection, thumbNail?: boolean, showLoader?: boolean): void;
94
94
  getSelections(): void;
95
- selectAnswer(answer: Answer, userInput?: string): Promise<void>;
96
- deleteSelection(selection: Selection): Promise<void>;
97
- replaceSelection(selection: Selection): Promise<void>;
98
- selectSelection(selection: Selection, forceBackToNode?: boolean, after?: boolean, connector?: string): Promise<void>;
99
- cancelAnswer(getQuestionAndAnswers?: boolean): Promise<void>;
95
+ getSelectionsAsync(): Promise<Selection[]>;
96
+ getDecosAsync(): Promise<DecoNode[]>;
97
+ selectAnswer(answer: Answer, userInput?: string): Promise<DataServiceResponseRoot>;
98
+ deleteSelection(selection: Selection): Promise<DataServiceResponseRoot>;
99
+ replaceSelection(selection: Selection): Promise<DataServiceResponseRoot>;
100
+ selectSelection(selection: Selection, forceBackToNode?: boolean, after?: boolean, connector?: string): Promise<DataServiceResponseRoot>;
101
+ cancelAnswer(): Promise<DataServiceResponseRoot>;
100
102
  getAnswerStock(answer: Answer): Promise<StockStatus>;
101
103
  getJsonConfiguredArticles(): Promise<any>;
102
104
  getJsonArticleFlatTree(goodId: number): Promise<any>;
@@ -120,12 +122,12 @@ export declare class Connector {
120
122
  getArticleGroups(): Promise<ArticleGroup[]>;
121
123
  handleSelectionsReceived(data: any): void;
122
124
  handleDecoNodesReceived(data: any): void;
123
- nextCombNode(params: any): void;
124
- nextNode(params: any): void;
125
- cancelBack2node(getQuestionAndAnswers?: boolean): Promise<void>;
126
- navigateTo(params: any): void;
125
+ private _nextCombNode;
126
+ private _nextNode;
127
+ private _cancelBack2node;
128
+ private _navigateTo;
127
129
  getDeliveryDateDescription(date: Date): string;
128
- checkSkuOrId(skuOrId: string): Promise<any>;
130
+ checkSkuOrId(skuOrId: string): Promise<number>;
129
131
  getSelectionsToDisplay(allSelections: Selection[]): Selection[];
130
132
  getMappedMatchTable(data: any): MatchArticle[];
131
133
  getMappedFrozenArticle(data: any): FrozenArticle;
@@ -33,6 +33,7 @@ const frozen_article_simple_1 = require("./model/frozen-article-simple");
33
33
  const db_boolean_value_type_enum_1 = require("./enum/db-boolean-value-type.enum");
34
34
  const not_nill_function_1 = require("./utils/function/not-nill.function");
35
35
  const is_nill_function_1 = require("./utils/function/is-nill.function");
36
+ const question_and_answer_1 = require("./model/question-and-answer");
36
37
  class Connector {
37
38
  constructor(options, externalStorage = undefined) {
38
39
  this.useWebsocket = false;
@@ -49,7 +50,6 @@ class Connector {
49
50
  this.subs = [];
50
51
  this.boFactory = new business_object_factory_1.BusinessObjectFactory();
51
52
  this.showLoader = new rxjs_1.Subject();
52
- this.connectionAborted = new rxjs_1.Subject();
53
53
  this.connectionResetInactivity = new rxjs_1.Subject();
54
54
  this._applicationClose = () => {
55
55
  this.connection.close();
@@ -87,7 +87,7 @@ class Connector {
87
87
  if (!this.session && this.connection.hasOwnProperty('session')) {
88
88
  this.session = this.connection['session'];
89
89
  }
90
- this.subs.push(this.connection.showLoader.subscribe(value => this.showLoader.next(value)), this.connection.connectionAborted.subscribe(() => this.connectionAborted.next()), this.connection.connectionResetInactivity.subscribe(() => this._handleConnectionReset()));
90
+ this.subs.push(this.connection.showLoader.subscribe(value => this.showLoader.next(value)), this.connection.connectionResetInactivity.subscribe(() => this._handleConnectionReset()));
91
91
  window.addEventListener('beforeunload', this._applicationClose);
92
92
  }
93
93
  saveConfigurations() {
@@ -100,30 +100,24 @@ class Connector {
100
100
  return this.connection.copyInstance(instanceId, shouldSaveCurrentInstanceId);
101
101
  }
102
102
  getArticle(skuOrId) {
103
- return this.checkSkuOrId(skuOrId).then(() => {
104
- return new Promise((resolve) => {
105
- this.connection.initNodeInstance(this.goodId).then((response) => {
106
- this.connection.getArticleQuickSel(this.goodId).then((article) => __awaiter(this, void 0, void 0, function* () {
107
- if (response && response.data && response.data.resultObject) {
108
- yield this.setInstanceToConfigure(response.data.resultObject);
109
- article.sku = this.sku;
110
- article.instanceId = response.data.resultObject;
111
- }
112
- else {
113
- console.error("Error retrieving instance id");
114
- }
115
- if (this.handleArticle !== void 0) {
116
- this.handleArticle(article);
117
- }
118
- resolve(article);
119
- }));
120
- });
103
+ return __awaiter(this, void 0, void 0, function* () {
104
+ const goodId = yield this.checkSkuOrId(skuOrId)
105
+ .catch((e) => {
106
+ return Promise.reject(e);
121
107
  });
108
+ const article = yield this.connection.getArticleQuickSel(goodId)
109
+ .catch((e) => {
110
+ return Promise.reject(e);
111
+ });
112
+ article.sku = skuOrId;
113
+ return article;
122
114
  });
123
115
  }
124
116
  initNodeInstance(skuOrId) {
125
- return this.checkSkuOrId(skuOrId).then(() => {
126
- return this.connection.initNodeInstance(this.goodId);
117
+ return __awaiter(this, void 0, void 0, function* () {
118
+ const goodId = yield this.checkSkuOrId(skuOrId)
119
+ .catch((e) => Promise.reject(e));
120
+ return this.connection.initNodeInstance(goodId);
127
121
  });
128
122
  }
129
123
  getArticleQuickSel(id) {
@@ -133,12 +127,10 @@ class Connector {
133
127
  return this.connection.getSuperArticleQuickSel(id);
134
128
  }
135
129
  getFullArticle(skuOrId) {
136
- return this.checkSkuOrId(skuOrId).then(() => {
137
- return new Promise((resolve) => {
138
- this.connection.getArticleFullObject(this.goodId).then((article) => __awaiter(this, void 0, void 0, function* () {
139
- resolve(article);
140
- }));
141
- });
130
+ return __awaiter(this, void 0, void 0, function* () {
131
+ const goodId = yield this.checkSkuOrId(skuOrId)
132
+ .catch((e) => Promise.reject(e));
133
+ return this.connection.getArticleFullObject(goodId);
142
134
  });
143
135
  }
144
136
  getQuestionAndAnswers() {
@@ -192,6 +184,36 @@ class Connector {
192
184
  }
193
185
  });
194
186
  }
187
+ getQuestionAndAnswersAsync() {
188
+ return __awaiter(this, void 0, void 0, function* () {
189
+ const rawDatas = yield this.connection.getQuestionAndAnswers();
190
+ const result = new question_and_answer_1.QuestionAndAnswer();
191
+ if (rawDatas && (rawDatas && rawDatas.data && rawDatas.data.length > 0)) {
192
+ this.match = rawDatas.match;
193
+ const rawAnswers = rawDatas.data && rawDatas.data.length > 0 ? rawDatas.data.slice(1, rawDatas.data.length) : null;
194
+ const nodeHierarchyLevelOffset = rawAnswers && rawAnswers[0] ? rawAnswers[0].treeLevel - 1 : 0;
195
+ const answers = [];
196
+ const len = rawAnswers ? rawAnswers.length : 0;
197
+ for (let i = 0; i < len; i++) {
198
+ const answer = this.boFactory.makeWithRawBackendData(answer_1.Answer, rawAnswers[i]);
199
+ answer.isGroupHeader = rawAnswers[i].hasChildren === db_boolean_value_type_enum_1.DbBooleanValueType.True;
200
+ answer.treeLevel = answer.treeLevel - nodeHierarchyLevelOffset;
201
+ answer.instanceId = this.connection.currentInstanceId;
202
+ const shouldHide = (not_nill_function_1.notNill(answer.hierarchicalPublicationCode) && (answer.hierarchicalPublicationCode & 2) === 0) ||
203
+ (answer.type === node_type_enum_1.NodeType.Question && (answer.questionPublicationCode & 2) === 0 && not_nill_function_1.notNill(answer.questionPublicationCode)) ||
204
+ (answer.type === node_type_enum_1.NodeType.Answer && (answer.publicationCode & 2) === 0 && not_nill_function_1.notNill(answer.publicationCode));
205
+ if (!shouldHide) {
206
+ answers.push(answer);
207
+ }
208
+ }
209
+ const rawQuestion = rawDatas.data && rawDatas.data.length > 0 ? rawDatas.data[0] : null;
210
+ const question = rawQuestion ? this.boFactory.makeWithRawBackendData(question_1.Question, rawQuestion) : null;
211
+ result.question = question;
212
+ result.answers = answers;
213
+ }
214
+ return result;
215
+ });
216
+ }
195
217
  getSkipButtonImageAndText(goodId) {
196
218
  return this.connection.getSkipButtonImageAndText(goodId);
197
219
  }
@@ -275,6 +297,32 @@ class Connector {
275
297
  });
276
298
  }
277
299
  }
300
+ getSelectionsAsync() {
301
+ return __awaiter(this, void 0, void 0, function* () {
302
+ const rawData = yield this.connection.getSelections();
303
+ const selections = [];
304
+ const len = rawData ? rawData.length : 0;
305
+ for (let i = 0; i < len; i++) {
306
+ const selection = new selection_1.Selection(rawData[i]);
307
+ selection.instanceId = this.connection.currentInstanceId;
308
+ selections.push(selection);
309
+ }
310
+ return selections;
311
+ });
312
+ }
313
+ getDecosAsync() {
314
+ return __awaiter(this, void 0, void 0, function* () {
315
+ const rawData = yield this.connection.getDecos();
316
+ const decoNodes = [];
317
+ const len = rawData ? rawData.length : 0;
318
+ for (let i = 0; i < len; i++) {
319
+ const deco = new deco_node_1.DecoNode(rawData[i]);
320
+ deco.instanceId = this.connection.currentInstanceId;
321
+ decoNodes.push(deco);
322
+ }
323
+ return decoNodes;
324
+ });
325
+ }
278
326
  selectAnswer(answer, userInput) {
279
327
  return __awaiter(this, void 0, void 0, function* () {
280
328
  if (!answer) {
@@ -286,7 +334,7 @@ class Connector {
286
334
  const params = {};
287
335
  if (answer.treeHierarchy !== null && answer.treeHierarchy !== undefined) {
288
336
  params.treeHierarchie = answer.treeHierarchy;
289
- this.navigateTo(params);
337
+ return this._navigateTo(params);
290
338
  }
291
339
  else {
292
340
  this.stepBackNode = this.use3D ? -1 : answer.node.node;
@@ -298,11 +346,11 @@ class Connector {
298
346
  }
299
347
  if (this.combNode || answer.useNextCombNode) {
300
348
  params.nodeId = answer.node.node ? answer.node.node : answer.node;
301
- this.nextCombNode(params);
349
+ return this._nextCombNode(params);
302
350
  }
303
351
  else {
304
352
  params.opvId = answer.id;
305
- this.nextNode(params);
353
+ return this._nextNode(params);
306
354
  }
307
355
  }
308
356
  });
@@ -315,11 +363,8 @@ class Connector {
315
363
  const params = {
316
364
  nodeId: selection.node
317
365
  };
318
- this.connection.back2Node(params).then(() => {
319
- this.connection.nextNode({ opvId: 0 }).then(() => {
320
- this.getQuestionAndAnswers();
321
- });
322
- });
366
+ yield this.connection.back2Node(params);
367
+ return this.connection.nextNode({ opvId: 0 });
323
368
  });
324
369
  }
325
370
  replaceSelection(selection) {
@@ -330,9 +375,7 @@ class Connector {
330
375
  const params = {
331
376
  nodeId: selection.node
332
377
  };
333
- this.connection.back2Node(params).then(() => {
334
- this.getQuestionAndAnswers();
335
- });
378
+ return this.connection.back2Node(params);
336
379
  });
337
380
  }
338
381
  selectSelection(selection, forceBackToNode, after, connector) {
@@ -358,20 +401,16 @@ class Connector {
358
401
  if (!selection.optCycle || forceBackToNode) {
359
402
  params.nodeId = selection.node;
360
403
  params.useCombinationNodes = this.combNode ? 'T' : 'F';
361
- this.connection.back2Node(params).then(() => {
362
- this.getQuestionAndAnswers();
363
- });
404
+ return this.connection.back2Node(params);
364
405
  }
365
406
  else {
366
407
  params.optCycle = selection.optCycle;
367
- this.connection.repeatOption(params).then(() => {
368
- this.getQuestionAndAnswers();
369
- });
408
+ return this.connection.repeatOption(params);
370
409
  }
371
410
  });
372
411
  }
373
- cancelAnswer(getQuestionAndAnswers = true) {
374
- return this.cancelBack2node(getQuestionAndAnswers);
412
+ cancelAnswer() {
413
+ return this._cancelBack2node();
375
414
  }
376
415
  getAnswerStock(answer) {
377
416
  return __awaiter(this, void 0, void 0, function* () {
@@ -499,27 +538,17 @@ class Connector {
499
538
  this.handleDecoNodes(decoNodes);
500
539
  }
501
540
  }
502
- nextCombNode(params) {
503
- this.connection.nextCombNode(params).then(() => {
504
- this.getQuestionAndAnswers();
505
- });
541
+ _nextCombNode(params) {
542
+ return this.connection.nextCombNode(params);
506
543
  }
507
- nextNode(params) {
508
- this.connection.nextNode(params).then(() => {
509
- this.getQuestionAndAnswers();
510
- });
544
+ _nextNode(params) {
545
+ return this.connection.nextNode(params);
511
546
  }
512
- cancelBack2node(getQuestionAndAnswers = true) {
513
- return this.connection.cancelBack2Node({}).then(() => {
514
- if (getQuestionAndAnswers) {
515
- this.getQuestionAndAnswers();
516
- }
517
- });
547
+ _cancelBack2node() {
548
+ return this.connection.cancelBack2Node({});
518
549
  }
519
- navigateTo(params) {
520
- this.connection.navigateTo(params).then(() => {
521
- this.getQuestionAndAnswers();
522
- });
550
+ _navigateTo(params) {
551
+ return this.connection.navigateTo(params);
523
552
  }
524
553
  getDeliveryDateDescription(date) {
525
554
  if (date) {
@@ -549,21 +578,19 @@ class Connector {
549
578
  }
550
579
  }
551
580
  checkSkuOrId(skuOrId) {
552
- return new Promise((resolve) => {
581
+ return new Promise((resolve, reject) => {
553
582
  if (!this.useArticleIds) {
554
583
  this.connection.getGoodIdFromArticleNr(skuOrId)
555
584
  .then((goodId) => {
556
585
  this.goodId = goodId;
557
- this.sku = skuOrId;
558
- resolve();
586
+ resolve(goodId);
559
587
  })
560
588
  .catch((error) => {
561
- console.error(error);
589
+ reject(error);
562
590
  });
563
591
  }
564
592
  else {
565
- this.goodId = parseInt(skuOrId);
566
- resolve();
593
+ resolve(parseInt(skuOrId));
567
594
  }
568
595
  });
569
596
  }
@@ -624,7 +651,6 @@ class Connector {
624
651
  connector.branch = options.branch;
625
652
  connector.currency = options.currencyId;
626
653
  ajaxService.showLoader.subscribe(value => connector.showLoader.next(value));
627
- ajaxService.connectionAborted.subscribe(value => connector.connectionAborted.next());
628
654
  ajaxService.connectionResetInactivity.subscribe(value => connector.connectionResetInactivity.next());
629
655
  return connector;
630
656
  }
@@ -39,5 +39,6 @@ export declare enum HdServiceMethod {
39
39
  GetConcepts = "getConcepts",
40
40
  GetMaterials = "getMaterials",
41
41
  GetAtmospheres = "getAtmospheres",
42
- GetArticleGroups = "getArticleGroups"
42
+ GetArticleGroups = "getArticleGroups",
43
+ GetPublicParamValue = "getPublicParamValue"
43
44
  }
@@ -43,4 +43,5 @@ var HdServiceMethod;
43
43
  HdServiceMethod["GetMaterials"] = "getMaterials";
44
44
  HdServiceMethod["GetAtmospheres"] = "getAtmospheres";
45
45
  HdServiceMethod["GetArticleGroups"] = "getArticleGroups";
46
+ HdServiceMethod["GetPublicParamValue"] = "getPublicParamValue";
46
47
  })(HdServiceMethod = exports.HdServiceMethod || (exports.HdServiceMethod = {}));
@@ -1,4 +1,4 @@
1
1
  export declare enum InternalParam {
2
- GeneralAssetUrl = "3D_GENERAL_ASSET_URL ",
2
+ GeneralAssetUrl = "3D_GENERAL_ASSET_URL",
3
3
  AssetUrl = "3D_ASSET_URL"
4
4
  }
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var InternalParam;
4
4
  (function (InternalParam) {
5
- InternalParam["GeneralAssetUrl"] = "3D_GENERAL_ASSET_URL ";
5
+ InternalParam["GeneralAssetUrl"] = "3D_GENERAL_ASSET_URL";
6
6
  InternalParam["AssetUrl"] = "3D_ASSET_URL";
7
7
  })(InternalParam = exports.InternalParam || (exports.InternalParam = {}));
@@ -25,7 +25,6 @@ import { ArticleExtendedDto } from "./model/article-extended-dto";
25
25
  import { InternalParam } from "./enum/internal-param.enum";
26
26
  export interface IoneApiConnection {
27
27
  showLoader: Subject<boolean>;
28
- connectionAborted: Subject<void>;
29
28
  connectionResetInactivity: Subject<void>;
30
29
  currentInstanceId: string;
31
30
  saveConfigurations(): Promise<boolean>;
@@ -0,0 +1,6 @@
1
+ import { Question } from "./question";
2
+ import { Answer } from "./answer";
3
+ export declare class QuestionAndAnswer {
4
+ question: Question;
5
+ answers: Answer[];
6
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class QuestionAndAnswer {
4
+ constructor() {
5
+ this.answers = [];
6
+ }
7
+ }
8
+ exports.QuestionAndAnswer = QuestionAndAnswer;
@@ -61,6 +61,7 @@ export declare class Selection extends BusinessObject {
61
61
  parentArtNodeIdDeco: string;
62
62
  optCycle: number;
63
63
  optCycleDeco: number;
64
+ schema: string;
64
65
  userInput: boolean;
65
66
  userInputValue: string;
66
67
  inqHandleLikePar: boolean;
@@ -49,6 +49,7 @@ class Selection extends business_object_1.BusinessObject {
49
49
  this.parentArtNodeIdDeco = null;
50
50
  this.optCycle = null;
51
51
  this.optCycleDeco = null;
52
+ this.schema = null;
52
53
  this.userInput = false;
53
54
  this.userInputValue = null;
54
55
  this.selection = null;
@@ -73,7 +73,7 @@ class AjaxService extends base_backend_connection_service_1.BaseBackendConnectio
73
73
  this.setShowLoaderRequests(0);
74
74
  }
75
75
  if (error.code === "ECONNABORTED") {
76
- this.connectionAborted.next();
76
+ reject("ECONNABORTED");
77
77
  }
78
78
  else if (error.response && error.response.status === 500) {
79
79
  this.resetConnection();
@@ -7,7 +7,6 @@ import { Subject } from "rxjs";
7
7
  import { ConnectionEndpoint } from "./connection-endpoint";
8
8
  export declare abstract class BaseBackendConnectionService implements ConnectionEndpoint {
9
9
  readonly showLoader: Subject<boolean>;
10
- readonly connectionAborted: Subject<void>;
11
10
  readonly connectionResetInactivity: Subject<void>;
12
11
  session: Session;
13
12
  options: Options;
@@ -18,7 +18,6 @@ const connection_endpoint_enum_1 = require("../enum/connection-endpoint-enum");
18
18
  class BaseBackendConnectionService {
19
19
  constructor(url, options, session = undefined, externalStorage = undefined, secure = false) {
20
20
  this.showLoader = new rxjs_1.Subject();
21
- this.connectionAborted = new rxjs_1.Subject();
22
21
  this.connectionResetInactivity = new rxjs_1.Subject();
23
22
  this.callId = "1";
24
23
  this.url = this.addEndpointToUrl(url);
@@ -29,7 +29,6 @@ import { ArticleExtendedDto } from "../model/article-extended-dto";
29
29
  import { InternalParam } from "../enum/internal-param.enum";
30
30
  export declare class DataRepositoryService {
31
31
  readonly showLoader: Subject<boolean>;
32
- readonly connectionAborted: Subject<void>;
33
32
  readonly connectionResetInactivity: Subject<void>;
34
33
  branchNr: string;
35
34
  currencyId: number;