@colijnit/transactionapi 1.1.109 → 1.1.110

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.
@@ -0,0 +1,4 @@
1
+ export declare enum TextLineType {
2
+ Chapter = "H",
3
+ OrderLineSet = "O"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TextLineType = void 0;
4
+ var TextLineType;
5
+ (function (TextLineType) {
6
+ TextLineType["Chapter"] = "H";
7
+ TextLineType["OrderLineSet"] = "O";
8
+ })(TextLineType = exports.TextLineType || (exports.TextLineType = {}));
@@ -0,0 +1,21 @@
1
+ import { TextLineType } from "../enum/text-line-type.enum";
2
+ export declare class OrderLineSetInfo {
3
+ orderLineSetCode: string;
4
+ parentOrderLineSetCode: string;
5
+ orderLineSetId: number;
6
+ text: string;
7
+ amount: number;
8
+ showOnDocuments: number;
9
+ goodId: number;
10
+ title: string;
11
+ categoryId: number;
12
+ textLineType: TextLineType;
13
+ wtProjectNr: string;
14
+ vdProjectId: string;
15
+ curtainId: string;
16
+ catalogId: number;
17
+ aupProjectNr: string;
18
+ aupOrderNr: string;
19
+ hdVariantId: string;
20
+ hdBaseGoodId: string;
21
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OrderLineSetInfo = void 0;
4
+ class OrderLineSetInfo {
5
+ }
6
+ exports.OrderLineSetInfo = OrderLineSetInfo;
@@ -3,6 +3,7 @@ import { TransactionKind } from '../enum/transaction-kind.enum';
3
3
  import { PriceType } from '@colijnit/mainapi/build/enum/price-type.enum';
4
4
  import { RelationSmallObject } from '@colijnit/relationapi/build/model/relation-small-object.bo';
5
5
  import { TransactionStatusInfo } from './transaction-status-info.bo';
6
+ import { OrderLineSetInfo } from "./order-line-set-info.bo";
6
7
  export declare class TransactionInfo extends BusinessObject {
7
8
  uuid: string;
8
9
  id: number;
@@ -45,6 +46,7 @@ export declare class TransactionInfo extends BusinessObject {
45
46
  scoringChance: number;
46
47
  retailStadium: number;
47
48
  headerInfoStatus: TransactionStatusInfo;
49
+ orderLineSets: OrderLineSetInfo[];
48
50
  canPlanDelivery: boolean;
49
51
  printerName: string;
50
52
  reportId: number;
@@ -16,6 +16,7 @@ const complex_field_decorator_1 = require("@colijnit/ioneconnector/build/factory
16
16
  const no_db_field_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/no-db-field.decorator");
17
17
  const relation_small_object_bo_1 = require("@colijnit/relationapi/build/model/relation-small-object.bo");
18
18
  const transaction_status_info_bo_1 = require("./transaction-status-info.bo");
19
+ const complex_array_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/complex-array.decorator");
19
20
  class TransactionInfo extends business_object_1.BusinessObject {
20
21
  constructor() {
21
22
  super(...arguments);
@@ -60,6 +61,10 @@ __decorate([
60
61
  complex_field_decorator_1.ComplexField(transaction_status_info_bo_1.TransactionStatusInfo),
61
62
  __metadata("design:type", transaction_status_info_bo_1.TransactionStatusInfo)
62
63
  ], TransactionInfo.prototype, "headerInfoStatus", void 0);
64
+ __decorate([
65
+ complex_array_decorator_1.ComplexArray(transaction_status_info_bo_1.TransactionStatusInfo),
66
+ __metadata("design:type", Array)
67
+ ], TransactionInfo.prototype, "orderLineSets", void 0);
63
68
  __decorate([
64
69
  no_db_field_decorator_1.NoDbField(),
65
70
  __metadata("design:type", Boolean)
@@ -67,7 +67,7 @@ export declare class TransactionLineInfo extends BusinessObject {
67
67
  supplierId: number;
68
68
  supplierDescription: string;
69
69
  reference: string;
70
- collectionCode: string;
70
+ orderLineSetCode: string;
71
71
  goodDescription: string;
72
72
  goodId: number;
73
73
  grossLineTotal: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/transactionapi",
3
- "version": "1.1.109",
3
+ "version": "1.1.110",
4
4
  "scripts": {
5
5
  "build": "grunt clean && tsc",
6
6
  "browserify": "browserify build/connector.js --s colijn -o dist/out-tsc/bundle.js",