@colijnit/transactionapi 1.1.108 → 1.1.109

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.
@@ -1,12 +1,16 @@
1
1
  import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
2
2
  export declare class DocDeliveryBatch extends BusinessObject {
3
+ amountNotConfirmed: number;
4
+ confirmedPrice: number;
5
+ deleteAllowed: string;
6
+ deleteLine: string;
3
7
  deliveryBatch: string;
4
- docAmountOrg: number;
5
8
  docAmount: number;
6
- docDateOrg: Date;
9
+ docAmountOrg: number;
7
10
  docDate: Date;
8
- reference: string;
9
- confirmedPrice: number;
10
- deleteLine: string;
11
+ docDateOrg: Date;
11
12
  historical: string;
13
+ mutationDate: Date;
14
+ reference: string;
15
+ user: string;
12
16
  }
@@ -1,7 +1,21 @@
1
1
  "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.DocDeliveryBatch = void 0;
4
13
  const business_object_1 = require("@colijnit/ioneconnector/build/model/business-object");
14
+ const date_field_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/date-field.decorator");
5
15
  class DocDeliveryBatch extends business_object_1.BusinessObject {
6
16
  }
17
+ __decorate([
18
+ date_field_decorator_1.DateField(),
19
+ __metadata("design:type", Date)
20
+ ], DocDeliveryBatch.prototype, "mutationDate", void 0);
7
21
  exports.DocDeliveryBatch = DocDeliveryBatch;
@@ -2,4 +2,5 @@ export declare class PurchaseOrderConfirmationLineDetails {
2
2
  lineNumber: number;
3
3
  amountConfirmed: number;
4
4
  confirmedDate: Date;
5
+ confirmedPrice: number;
5
6
  }
@@ -121,9 +121,10 @@ describe("TransactionAPI", () => {
121
121
  purchaseOrderConfirmation.leverBatch = "1";
122
122
  purchaseOrderConfirmation.lines = [
123
123
  {
124
- "confirmedDate": new Date(),
125
- "lineNumber": 1,
126
- "amountConfirmed": 1
124
+ confirmedDate: new Date(),
125
+ lineNumber: 1,
126
+ amountConfirmed: 1,
127
+ confirmedPrice: 100
127
128
  }
128
129
  ];
129
130
  const result = await transaction.getPurchaseOrderConfirmation(purchaseOrderConfirmation);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/transactionapi",
3
- "version": "1.1.108",
3
+ "version": "1.1.109",
4
4
  "scripts": {
5
5
  "build": "grunt clean && tsc",
6
6
  "browserify": "browserify build/connector.js --s colijn -o dist/out-tsc/bundle.js",