@colijnit/transactionapi 1.1.20 → 1.1.23

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.
Files changed (44) hide show
  1. package/build/enum/public-service-method.d.ts +4 -0
  2. package/build/enum/public-service-method.js +4 -0
  3. package/build/enum/transaction-method.enum.d.ts +6 -1
  4. package/build/enum/transaction-method.enum.js +5 -0
  5. package/build/ione-api-transaction.d.ts +8 -0
  6. package/build/model/acceptance-container.bo.d.ts +10 -0
  7. package/build/model/acceptance-container.bo.js +48 -0
  8. package/build/model/acceptance-line.bo.d.ts +8 -0
  9. package/build/model/acceptance-line.bo.js +22 -0
  10. package/build/model/change-header-transaction-definitive-request.d.ts +4 -0
  11. package/build/model/change-header-transaction-definitive-request.js +6 -0
  12. package/build/model/get-article-price-request.d.ts +3 -3
  13. package/build/model/goods-receipt-history.bo.d.ts +17 -0
  14. package/build/model/goods-receipt-history.bo.js +36 -0
  15. package/build/model/goods-receipt-status-with-history.bo.d.ts +5 -0
  16. package/build/model/goods-receipt-status-with-history.bo.js +22 -0
  17. package/build/model/goods-receipt-status.bo.d.ts +5 -0
  18. package/build/model/goods-receipt-status.bo.js +22 -0
  19. package/build/model/purchase-order-line-receipt-correction-details.bo.d.ts +7 -0
  20. package/build/model/purchase-order-line-receipt-correction-details.bo.js +22 -0
  21. package/build/model/purchase-order-line-receipt-details.bo.d.ts +9 -0
  22. package/build/model/purchase-order-line-receipt-details.bo.js +22 -0
  23. package/build/model/purchase-order-line.bo.d.ts +16 -0
  24. package/build/model/purchase-order-line.bo.js +36 -0
  25. package/build/model/purchase-order.bo.d.ts +10 -0
  26. package/build/model/purchase-order.bo.js +22 -0
  27. package/build/model/receive-goods-for-purchase-order-correction-request.bo.d.ts +7 -0
  28. package/build/model/receive-goods-for-purchase-order-correction-request.bo.js +22 -0
  29. package/build/model/receive-goods-for-purchase-order-request.bo.d.ts +8 -0
  30. package/build/model/receive-goods-for-purchase-order-request.bo.js +36 -0
  31. package/build/model/transaction-info.bo.d.ts +4 -4
  32. package/build/model/transaction-info.bo.js +5 -5
  33. package/build/model/transaction-line-info.bo.d.ts +4 -0
  34. package/build/model/transaction-line-status-base.bo.d.ts +5 -0
  35. package/build/model/transaction-line-status-base.bo.js +22 -0
  36. package/build/transaction-auth.d.ts +8 -0
  37. package/build/transaction-auth.js +53 -0
  38. package/build/transaction-public.d.ts +8 -0
  39. package/build/transaction-public.js +40 -0
  40. package/build/transaction.d.ts +8 -0
  41. package/build/transaction.js +15 -0
  42. package/package.json +1 -1
  43. package/build/enum/refcode/transaction-kind.d.ts +0 -13
  44. package/build/enum/refcode/transaction-kind.js +0 -14
@@ -58,6 +58,10 @@ export declare enum PublicServiceMethod {
58
58
  GetDeliveryOptions = "getDeliveryMethods",
59
59
  GetRelationListObjects = "getRelationListObjects",
60
60
  GetStandardTextsNoHeadOrFeet = "getStandardTextsNoHeadOrFeet",
61
+ GetGoodsReceiptStatusWithHistory = "getGoodsReceiptStatusWithHistory",
62
+ GetGoodsReceiptStatus = "getGoodsReceiptStatus",
63
+ ReceiveGoodsForPurchaseOrder = "receiveGoodsForPurchaseOrder",
64
+ ReceiveGoodsForPurchaseOrderCorrection = "receiveGoodsForPurchaseOrderCorrection",
61
65
  GetCustomerGroups = "getCustomerGroups",
62
66
  Commit = "commit",
63
67
  GetCashRegisters = "getCashRegisters",
@@ -59,6 +59,10 @@ export var PublicServiceMethod;
59
59
  PublicServiceMethod["GetDeliveryOptions"] = "getDeliveryMethods";
60
60
  PublicServiceMethod["GetRelationListObjects"] = "getRelationListObjects";
61
61
  PublicServiceMethod["GetStandardTextsNoHeadOrFeet"] = "getStandardTextsNoHeadOrFeet";
62
+ PublicServiceMethod["GetGoodsReceiptStatusWithHistory"] = "getGoodsReceiptStatusWithHistory";
63
+ PublicServiceMethod["GetGoodsReceiptStatus"] = "getGoodsReceiptStatus";
64
+ PublicServiceMethod["ReceiveGoodsForPurchaseOrder"] = "receiveGoodsForPurchaseOrder";
65
+ PublicServiceMethod["ReceiveGoodsForPurchaseOrderCorrection"] = "receiveGoodsForPurchaseOrderCorrection";
62
66
  PublicServiceMethod["GetCustomerGroups"] = "getCustomerGroups";
63
67
  PublicServiceMethod["Commit"] = "commit";
64
68
  PublicServiceMethod["GetCashRegisters"] = "getCashRegisters";
@@ -27,5 +27,10 @@ export declare enum TransactionMethod {
27
27
  ChangeLineSupplierArticleNumber = "changeLineSupplierArticleNumber",
28
28
  ChangeLineReference = "changeLineReference",
29
29
  ChangeLineCollectionCode = "changeLineCollectionCode",
30
- ChangeLineWarehouse = "changeLineWarehouse"
30
+ ChangeLineWarehouse = "changeLineWarehouse",
31
+ GetGoodsReceiptStatusWithHistory = "getGoodsReceiptStatusWithHistory",
32
+ GetGoodsReceiptStatus = "getGoodsReceiptStatus",
33
+ ReceiveGoodsForPurchaseOrder = "receiveGoodsForPurchaseOrder",
34
+ ReceiveGoodsForPurchaseOrderCorrection = "receiveGoodsForPurchaseOrderCorrection",
35
+ ChangeHeaderTransactionDefinitive = "changeHeaderTransactionDefinitive"
31
36
  }
@@ -29,4 +29,9 @@ export var TransactionMethod;
29
29
  TransactionMethod["ChangeLineReference"] = "changeLineReference";
30
30
  TransactionMethod["ChangeLineCollectionCode"] = "changeLineCollectionCode";
31
31
  TransactionMethod["ChangeLineWarehouse"] = "changeLineWarehouse";
32
+ TransactionMethod["GetGoodsReceiptStatusWithHistory"] = "getGoodsReceiptStatusWithHistory";
33
+ TransactionMethod["GetGoodsReceiptStatus"] = "getGoodsReceiptStatus";
34
+ TransactionMethod["ReceiveGoodsForPurchaseOrder"] = "receiveGoodsForPurchaseOrder";
35
+ TransactionMethod["ReceiveGoodsForPurchaseOrderCorrection"] = "receiveGoodsForPurchaseOrderCorrection";
36
+ TransactionMethod["ChangeHeaderTransactionDefinitive"] = "changeHeaderTransactionDefinitive";
32
37
  })(TransactionMethod || (TransactionMethod = {}));
@@ -24,6 +24,9 @@ import { ChangeLineSupplierArticleNumberRequest } from './model/change-line-supp
24
24
  import { ChangeLineReferenceRequest } from './model/change-line-reference-request';
25
25
  import { ChangeLineCollectionCodeRequest } from './model/change-line-collection-code-request';
26
26
  import { TransactionSearchViewRequest } from './model/transaction-search-view-request';
27
+ import { ReceiveGoodsForPurchaseOrderRequest } from "./model/receive-goods-for-purchase-order-request.bo";
28
+ import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from "./model/receive-goods-for-purchase-order-correction-request.bo";
29
+ import { ChangeHeaderTransactionDefinitiveRequest } from './model/change-header-transaction-definitive-request';
27
30
  export declare abstract class IoneApiTransaction {
28
31
  readonly showLoader: Subject<boolean>;
29
32
  readonly connectionAborted: Subject<void>;
@@ -93,5 +96,10 @@ export declare abstract class IoneApiTransaction {
93
96
  abstract changeLineSupplierArticleNumber(request: ChangeLineSupplierArticleNumberRequest): Promise<DataServiceResponseData>;
94
97
  abstract changeLineReference(request: ChangeLineReferenceRequest): Promise<DataServiceResponseData>;
95
98
  abstract changeLineCollectionCode(request: ChangeLineCollectionCodeRequest): Promise<DataServiceResponseData>;
99
+ abstract getGoodsReceiptStatusWithHistory(transId: number, lineNr: number): Promise<DataServiceResponseData>;
100
+ abstract getGoodsReceiptStatus(transId: number, lineNr: number): Promise<DataServiceResponseData>;
101
+ abstract receiveGoodsForPurchaseOrder(request: ReceiveGoodsForPurchaseOrderRequest): Promise<DataServiceResponseData>;
102
+ abstract receiveGoodsForPurchaseOrderCorrection(request: ReceiveGoodsForPurchaseOrderCorrectionRequest): Promise<DataServiceResponseData>;
103
+ abstract changeHeaderTransactionDefinitive(request: ChangeHeaderTransactionDefinitiveRequest): Promise<DataServiceResponseData>;
96
104
  protected endPoint: string;
97
105
  }
@@ -0,0 +1,10 @@
1
+ import { BusinessObject } from "./business-object";
2
+ export declare class AcceptanceContainer extends BusinessObject {
3
+ containerId: number;
4
+ containerNo: string;
5
+ shippingDate: Date;
6
+ arrivalDateContainer: Date;
7
+ loadingDate: Date;
8
+ EtaAtPort: Date;
9
+ amountInContainer: number;
10
+ }
@@ -0,0 +1,48 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ 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;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
+ var __metadata = (this && this.__metadata) || function (k, v) {
21
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
22
+ };
23
+ import { BusinessObject } from "./business-object";
24
+ import { DateField } from "../factory/decorators/date-field.decorator";
25
+ var AcceptanceContainer = (function (_super) {
26
+ __extends(AcceptanceContainer, _super);
27
+ function AcceptanceContainer() {
28
+ return _super !== null && _super.apply(this, arguments) || this;
29
+ }
30
+ __decorate([
31
+ DateField(),
32
+ __metadata("design:type", Date)
33
+ ], AcceptanceContainer.prototype, "shippingDate", void 0);
34
+ __decorate([
35
+ DateField(),
36
+ __metadata("design:type", Date)
37
+ ], AcceptanceContainer.prototype, "arrivalDateContainer", void 0);
38
+ __decorate([
39
+ DateField(),
40
+ __metadata("design:type", Date)
41
+ ], AcceptanceContainer.prototype, "loadingDate", void 0);
42
+ __decorate([
43
+ DateField(),
44
+ __metadata("design:type", Date)
45
+ ], AcceptanceContainer.prototype, "EtaAtPort", void 0);
46
+ return AcceptanceContainer;
47
+ }(BusinessObject));
48
+ export { AcceptanceContainer };
@@ -0,0 +1,8 @@
1
+ import { BusinessObject } from "./business-object";
2
+ export declare class AcceptanceLine extends BusinessObject {
3
+ amount: number;
4
+ warehouseNr: number;
5
+ locationNr: string;
6
+ batchNr: string;
7
+ seriesNr: string;
8
+ }
@@ -0,0 +1,22 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ import { BusinessObject } from "./business-object";
15
+ var AcceptanceLine = (function (_super) {
16
+ __extends(AcceptanceLine, _super);
17
+ function AcceptanceLine() {
18
+ return _super !== null && _super.apply(this, arguments) || this;
19
+ }
20
+ return AcceptanceLine;
21
+ }(BusinessObject));
22
+ export { AcceptanceLine };
@@ -0,0 +1,4 @@
1
+ export declare class ChangeHeaderTransactionDefinitiveRequest {
2
+ transactionUuid: string;
3
+ newTransactionDefinitive: boolean;
4
+ }
@@ -0,0 +1,6 @@
1
+ var ChangeHeaderTransactionDefinitiveRequest = (function () {
2
+ function ChangeHeaderTransactionDefinitiveRequest() {
3
+ }
4
+ return ChangeHeaderTransactionDefinitiveRequest;
5
+ }());
6
+ export { ChangeHeaderTransactionDefinitiveRequest };
@@ -1,6 +1,6 @@
1
- import { PriceListType } from "../enum/refcode/price-list-type.enum";
2
- import { PriceType } from "../enum/refcode/price-type.enum";
3
- import { TransactionKind } from "../enum/refcode/transaction-kind";
1
+ import { PriceListType } from '../enum/refcode/price-list-type.enum';
2
+ import { PriceType } from '../enum/refcode/price-type.enum';
3
+ import { TransactionKind } from '../enum/transaction-kind.enum';
4
4
  export declare class GetArticlePriceRequest {
5
5
  goodId: number;
6
6
  relationId?: number;
@@ -0,0 +1,17 @@
1
+ import { BusinessObject } from './business-object';
2
+ export declare class GoodsReceiptHistory extends BusinessObject {
3
+ documentId: number;
4
+ lineNumber: number;
5
+ refDocumentId: number;
6
+ refDocumentLineNumber: number;
7
+ status: string;
8
+ receiptDate: Date;
9
+ quantity: number;
10
+ warehouseNumber: number;
11
+ locationNumber: string;
12
+ batchNumber: string;
13
+ serialNr: string;
14
+ username: string;
15
+ reference: string;
16
+ type: string;
17
+ }
@@ -0,0 +1,36 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ 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;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
+ var __metadata = (this && this.__metadata) || function (k, v) {
21
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
22
+ };
23
+ import { BusinessObject } from './business-object';
24
+ import { DateField } from "../factory/decorators/date-field.decorator";
25
+ var GoodsReceiptHistory = (function (_super) {
26
+ __extends(GoodsReceiptHistory, _super);
27
+ function GoodsReceiptHistory() {
28
+ return _super !== null && _super.apply(this, arguments) || this;
29
+ }
30
+ __decorate([
31
+ DateField(),
32
+ __metadata("design:type", Date)
33
+ ], GoodsReceiptHistory.prototype, "receiptDate", void 0);
34
+ return GoodsReceiptHistory;
35
+ }(BusinessObject));
36
+ export { GoodsReceiptHistory };
@@ -0,0 +1,5 @@
1
+ import { GoodsReceiptStatus } from "./goods-receipt-status.bo";
2
+ import { GoodsReceiptHistory } from "./goods-receipt-history.bo";
3
+ export declare class GoodsReceiptStatusWithHistory extends GoodsReceiptStatus {
4
+ goodsReceiptHistory: GoodsReceiptHistory[];
5
+ }
@@ -0,0 +1,22 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ import { GoodsReceiptStatus } from "./goods-receipt-status.bo";
15
+ var GoodsReceiptStatusWithHistory = (function (_super) {
16
+ __extends(GoodsReceiptStatusWithHistory, _super);
17
+ function GoodsReceiptStatusWithHistory() {
18
+ return _super !== null && _super.apply(this, arguments) || this;
19
+ }
20
+ return GoodsReceiptStatusWithHistory;
21
+ }(GoodsReceiptStatus));
22
+ export { GoodsReceiptStatusWithHistory };
@@ -0,0 +1,5 @@
1
+ import { TransactionLineStatusBase } from "./transaction-line-status-base.bo";
2
+ export declare class GoodsReceiptStatus extends TransactionLineStatusBase {
3
+ quantityReceived: number;
4
+ quantityToReceive: number;
5
+ }
@@ -0,0 +1,22 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ import { TransactionLineStatusBase } from "./transaction-line-status-base.bo";
15
+ var GoodsReceiptStatus = (function (_super) {
16
+ __extends(GoodsReceiptStatus, _super);
17
+ function GoodsReceiptStatus() {
18
+ return _super !== null && _super.apply(this, arguments) || this;
19
+ }
20
+ return GoodsReceiptStatus;
21
+ }(TransactionLineStatusBase));
22
+ export { GoodsReceiptStatus };
@@ -0,0 +1,7 @@
1
+ import { BusinessObject } from "./business-object";
2
+ export declare class PurchaseOrderLineReceiptCorrectionDetails extends BusinessObject {
3
+ lineNr: number;
4
+ documentId: number;
5
+ documentLineNr: number;
6
+ quantityToCorrect: number;
7
+ }
@@ -0,0 +1,22 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ import { BusinessObject } from "./business-object";
15
+ var PurchaseOrderLineReceiptCorrectionDetails = (function (_super) {
16
+ __extends(PurchaseOrderLineReceiptCorrectionDetails, _super);
17
+ function PurchaseOrderLineReceiptCorrectionDetails() {
18
+ return _super !== null && _super.apply(this, arguments) || this;
19
+ }
20
+ return PurchaseOrderLineReceiptCorrectionDetails;
21
+ }(BusinessObject));
22
+ export { PurchaseOrderLineReceiptCorrectionDetails };
@@ -0,0 +1,9 @@
1
+ import { BusinessObject } from "./business-object";
2
+ export declare class PurchaseOrderLineReceiptDetails extends BusinessObject {
3
+ lineNr: number;
4
+ warehouseNr: number;
5
+ locationNr: string;
6
+ batchNr: string;
7
+ serialNr: string;
8
+ quantityToReceive: number;
9
+ }
@@ -0,0 +1,22 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ import { BusinessObject } from "./business-object";
15
+ var PurchaseOrderLineReceiptDetails = (function (_super) {
16
+ __extends(PurchaseOrderLineReceiptDetails, _super);
17
+ function PurchaseOrderLineReceiptDetails() {
18
+ return _super !== null && _super.apply(this, arguments) || this;
19
+ }
20
+ return PurchaseOrderLineReceiptDetails;
21
+ }(BusinessObject));
22
+ export { PurchaseOrderLineReceiptDetails };
@@ -0,0 +1,16 @@
1
+ import { BusinessObject } from "./business-object";
2
+ import { AcceptanceLine } from "./acceptance-line.bo";
3
+ import { AcceptanceContainer } from "./acceptance-container.bo";
4
+ export declare class PurchaseOrderLine extends BusinessObject {
5
+ transId: number;
6
+ lineNr: number;
7
+ goodId: number;
8
+ acceptDate: Date;
9
+ keepStock: boolean;
10
+ warehouseNr: number;
11
+ acceptanceAmount: number;
12
+ changeOrderAmount: boolean;
13
+ split: boolean;
14
+ containers: AcceptanceContainer[];
15
+ acceptanceLines: AcceptanceLine[];
16
+ }
@@ -0,0 +1,36 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ 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;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
+ var __metadata = (this && this.__metadata) || function (k, v) {
21
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
22
+ };
23
+ import { BusinessObject } from "./business-object";
24
+ import { DateField } from "../factory/decorators/date-field.decorator";
25
+ var PurchaseOrderLine = (function (_super) {
26
+ __extends(PurchaseOrderLine, _super);
27
+ function PurchaseOrderLine() {
28
+ return _super !== null && _super.apply(this, arguments) || this;
29
+ }
30
+ __decorate([
31
+ DateField(),
32
+ __metadata("design:type", Date)
33
+ ], PurchaseOrderLine.prototype, "acceptDate", void 0);
34
+ return PurchaseOrderLine;
35
+ }(BusinessObject));
36
+ export { PurchaseOrderLine };
@@ -0,0 +1,10 @@
1
+ import { BusinessObject } from "./business-object";
2
+ import { PurchaseOrderLine } from "./purchase-order-line.bo";
3
+ export declare class PurchaseOrder extends BusinessObject {
4
+ actionKind: string;
5
+ transId: number;
6
+ transactionNr: number;
7
+ packingSlipNr: string;
8
+ isCorrection: boolean;
9
+ purchaseOrderLines: PurchaseOrderLine[];
10
+ }
@@ -0,0 +1,22 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ import { BusinessObject } from "./business-object";
15
+ var PurchaseOrder = (function (_super) {
16
+ __extends(PurchaseOrder, _super);
17
+ function PurchaseOrder() {
18
+ return _super !== null && _super.apply(this, arguments) || this;
19
+ }
20
+ return PurchaseOrder;
21
+ }(BusinessObject));
22
+ export { PurchaseOrder };
@@ -0,0 +1,7 @@
1
+ import { BusinessObject } from "./business-object";
2
+ import { PurchaseOrderLineReceiptCorrectionDetails } from "./purchase-order-line-receipt-correction-details.bo";
3
+ export declare class ReceiveGoodsForPurchaseOrderCorrectionRequest extends BusinessObject {
4
+ transId: number;
5
+ purchaseOrderLineReceiptCorrectionDetailsDTOS: PurchaseOrderLineReceiptCorrectionDetails[];
6
+ allowedToRemovePickedAllocations: boolean;
7
+ }
@@ -0,0 +1,22 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ import { BusinessObject } from "./business-object";
15
+ var ReceiveGoodsForPurchaseOrderCorrectionRequest = (function (_super) {
16
+ __extends(ReceiveGoodsForPurchaseOrderCorrectionRequest, _super);
17
+ function ReceiveGoodsForPurchaseOrderCorrectionRequest() {
18
+ return _super !== null && _super.apply(this, arguments) || this;
19
+ }
20
+ return ReceiveGoodsForPurchaseOrderCorrectionRequest;
21
+ }(BusinessObject));
22
+ export { ReceiveGoodsForPurchaseOrderCorrectionRequest };
@@ -0,0 +1,8 @@
1
+ import { BusinessObject } from "./business-object";
2
+ import { PurchaseOrderLineReceiptDetails } from "./purchase-order-line-receipt-details.bo";
3
+ export declare class ReceiveGoodsForPurchaseOrderRequest extends BusinessObject {
4
+ transId: number;
5
+ packingSlipNr: string;
6
+ receivedDate: Date;
7
+ purchaseOrderLineReceiptDetailsDTOS: PurchaseOrderLineReceiptDetails[];
8
+ }
@@ -0,0 +1,36 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ 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;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
+ var __metadata = (this && this.__metadata) || function (k, v) {
21
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
22
+ };
23
+ import { BusinessObject } from "./business-object";
24
+ import { DateField } from "../factory/decorators/date-field.decorator";
25
+ var ReceiveGoodsForPurchaseOrderRequest = (function (_super) {
26
+ __extends(ReceiveGoodsForPurchaseOrderRequest, _super);
27
+ function ReceiveGoodsForPurchaseOrderRequest() {
28
+ return _super !== null && _super.apply(this, arguments) || this;
29
+ }
30
+ __decorate([
31
+ DateField(),
32
+ __metadata("design:type", Date)
33
+ ], ReceiveGoodsForPurchaseOrderRequest.prototype, "receivedDate", void 0);
34
+ return ReceiveGoodsForPurchaseOrderRequest;
35
+ }(BusinessObject));
36
+ export { ReceiveGoodsForPurchaseOrderRequest };
@@ -1,7 +1,7 @@
1
- import { BusinessObject } from "./business-object";
2
- import { TransactionKind } from "../enum/refcode/transaction-kind";
3
- import { RelationSmallObject } from "./relation-small-object.bo";
4
- import { PriceType } from "../enum/refcode/price-type.enum";
1
+ import { BusinessObject } from './business-object';
2
+ import { TransactionKind } from '../enum/transaction-kind.enum';
3
+ import { RelationSmallObject } from './relation-small-object.bo';
4
+ import { PriceType } from '../enum/refcode/price-type.enum';
5
5
  export declare class TransactionInfo extends BusinessObject {
6
6
  uuid: string;
7
7
  id: number;
@@ -20,11 +20,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
20
20
  var __metadata = (this && this.__metadata) || function (k, v) {
21
21
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
22
22
  };
23
- import { BusinessObject } from "./business-object";
24
- import { DateField } from "../factory/decorators/date-field.decorator";
25
- import { ComplexField } from "../factory/decorators/complex-field.decorator";
26
- import { RelationSmallObject } from "./relation-small-object.bo";
27
- import { NoDbField } from "../factory/decorators/no-db-field.decorator";
23
+ import { BusinessObject } from './business-object';
24
+ import { DateField } from '../factory/decorators/date-field.decorator';
25
+ import { ComplexField } from '../factory/decorators/complex-field.decorator';
26
+ import { RelationSmallObject } from './relation-small-object.bo';
27
+ import { NoDbField } from '../factory/decorators/no-db-field.decorator';
28
28
  var TransactionInfo = (function (_super) {
29
29
  __extends(TransactionInfo, _super);
30
30
  function TransactionInfo() {
@@ -13,6 +13,10 @@ export declare class TransactionLineInfo extends BusinessObject {
13
13
  articleFreeSupplier: boolean;
14
14
  articleFreeDescription: boolean;
15
15
  articleFreeCommissionCode: boolean;
16
+ isLocationRequired: boolean;
17
+ isBatchNrRequired: boolean;
18
+ isSerialNrRequired: boolean;
19
+ isWarehouseRequired: boolean;
16
20
  amount: number;
17
21
  price: number;
18
22
  priceListCode: string;
@@ -0,0 +1,5 @@
1
+ import { BusinessObject } from './business-object';
2
+ export declare class TransactionLineStatusBase extends BusinessObject {
3
+ transId: number;
4
+ lineNr: number;
5
+ }
@@ -0,0 +1,22 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ import { BusinessObject } from './business-object';
15
+ var TransactionLineStatusBase = (function (_super) {
16
+ __extends(TransactionLineStatusBase, _super);
17
+ function TransactionLineStatusBase() {
18
+ return _super !== null && _super.apply(this, arguments) || this;
19
+ }
20
+ return TransactionLineStatusBase;
21
+ }(BusinessObject));
22
+ export { TransactionLineStatusBase };
@@ -23,6 +23,9 @@ import { ChangeLineSupplierArticleNumberRequest } from './model/change-line-supp
23
23
  import { ChangeLineReferenceRequest } from './model/change-line-reference-request';
24
24
  import { ChangeLineCollectionCodeRequest } from './model/change-line-collection-code-request';
25
25
  import { TransactionSearchViewRequest } from './model/transaction-search-view-request';
26
+ import { ReceiveGoodsForPurchaseOrderRequest } from "./model/receive-goods-for-purchase-order-request.bo";
27
+ import { ChangeHeaderTransactionDefinitiveRequest } from './model/change-header-transaction-definitive-request';
28
+ import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from "./model/receive-goods-for-purchase-order-correction-request.bo";
26
29
  export declare class TransactionAuth extends IoneApiTransaction {
27
30
  private _boSerializer;
28
31
  searchTransactions(request: TransactionSearchViewRequest): Promise<DataServiceResponseData>;
@@ -73,6 +76,7 @@ export declare class TransactionAuth extends IoneApiTransaction {
73
76
  changeLineSupplierArticleNumber(request: ChangeLineSupplierArticleNumberRequest): Promise<DataServiceResponseData>;
74
77
  changeLineReference(request: ChangeLineReferenceRequest): Promise<DataServiceResponseData>;
75
78
  changeLineCollectionCode(request: ChangeLineCollectionCodeRequest): Promise<DataServiceResponseData>;
79
+ changeHeaderTransactionDefinitive(request: ChangeHeaderTransactionDefinitiveRequest): Promise<DataServiceResponseData>;
76
80
  resolvePendingLineReason(pendingLineValues: ResolveLinePendingReasonRequest): Promise<DataServiceResponseData>;
77
81
  getCustomerFullObject(relationNo: number): Promise<DataServiceResponseData>;
78
82
  getRelationNumber(relationId: any): Promise<DataServiceResponseData>;
@@ -86,6 +90,10 @@ export declare class TransactionAuth extends IoneApiTransaction {
86
90
  getPostalCodeRetrieval(postalCode: string, houseNumber: string): Promise<DataServiceResponseData>;
87
91
  getRelationListObjects(relationRequest: RelationRequest): Promise<DataServiceResponseData>;
88
92
  setRelationByUser(uuid: string, username: string, password: string): Promise<DataServiceResponseData>;
93
+ getGoodsReceiptStatusWithHistory(transId: number, lineNr: number): Promise<DataServiceResponseData>;
94
+ getGoodsReceiptStatus(transId: number, lineNr: number): Promise<DataServiceResponseData>;
95
+ receiveGoodsForPurchaseOrder(request: ReceiveGoodsForPurchaseOrderRequest): Promise<DataServiceResponseData>;
96
+ receiveGoodsForPurchaseOrderCorrection(request: ReceiveGoodsForPurchaseOrderCorrectionRequest): Promise<DataServiceResponseData>;
89
97
  private _getDomainCollection;
90
98
  private _getMultipleDomainCollection;
91
99
  private callGetNodeData;
@@ -515,6 +515,15 @@ var TransactionAuth = (function (_super) {
515
515
  };
516
516
  return this._call(DataServiceMethod.ExecuteMethod, data);
517
517
  };
518
+ TransactionAuth.prototype.changeHeaderTransactionDefinitive = function (request) {
519
+ var data = {
520
+ moduleName: ModuleName.Transaction,
521
+ methodName: TransactionMethod.ChangeHeaderTransactionDefinitive,
522
+ parameterValues: request,
523
+ refCursorAsArray: true,
524
+ };
525
+ return this._call(DataServiceMethod.ExecuteMethod, data);
526
+ };
518
527
  TransactionAuth.prototype.resolvePendingLineReason = function (pendingLineValues) {
519
528
  var data = {
520
529
  moduleName: ModuleName.Transaction,
@@ -662,6 +671,50 @@ var TransactionAuth = (function (_super) {
662
671
  };
663
672
  return this._call(DataServiceMethod.ExecuteMethod, data);
664
673
  };
674
+ TransactionAuth.prototype.getGoodsReceiptStatusWithHistory = function (transId, lineNr) {
675
+ var paramValues = {
676
+ transId: transId,
677
+ lineNr: lineNr
678
+ };
679
+ var data = {
680
+ moduleName: ModuleName.Transaction,
681
+ methodName: TransactionMethod.GetGoodsReceiptStatusWithHistory,
682
+ parameterValues: paramValues,
683
+ refCursorAsArray: true
684
+ };
685
+ return this._call(DataServiceMethod.ExecuteMethod, data);
686
+ };
687
+ TransactionAuth.prototype.getGoodsReceiptStatus = function (transId, lineNr) {
688
+ var paramValues = {
689
+ transId: transId,
690
+ lineNr: lineNr
691
+ };
692
+ var data = {
693
+ moduleName: ModuleName.Transaction,
694
+ methodName: TransactionMethod.GetGoodsReceiptStatus,
695
+ parameterValues: paramValues,
696
+ refCursorAsArray: true
697
+ };
698
+ return this._call(DataServiceMethod.ExecuteMethod, data);
699
+ };
700
+ TransactionAuth.prototype.receiveGoodsForPurchaseOrder = function (request) {
701
+ var data = {
702
+ moduleName: ModuleName.Logistics,
703
+ methodName: TransactionMethod.ReceiveGoodsForPurchaseOrder,
704
+ parameterValues: request,
705
+ refCursorAsArray: true
706
+ };
707
+ return this._call(DataServiceMethod.ExecuteMethod, data);
708
+ };
709
+ TransactionAuth.prototype.receiveGoodsForPurchaseOrderCorrection = function (request) {
710
+ var data = {
711
+ moduleName: ModuleName.Logistics,
712
+ methodName: TransactionMethod.ReceiveGoodsForPurchaseOrderCorrection,
713
+ parameterValues: request,
714
+ refCursorAsArray: true
715
+ };
716
+ return this._call(DataServiceMethod.ExecuteMethod, data);
717
+ };
665
718
  TransactionAuth.prototype._getDomainCollection = function (languageCode, domainName) {
666
719
  var params = {
667
720
  domainName: domainName,
@@ -23,6 +23,9 @@ import { ChangeLineReferenceRequest } from './model/change-line-reference-reques
23
23
  import { ChangeLineCollectionCodeRequest } from './model/change-line-collection-code-request';
24
24
  import { ChangeLineQuantityRequest } from './model/change-line-quantity-request';
25
25
  import { TransactionSearchViewRequest } from './model/transaction-search-view-request';
26
+ import { ReceiveGoodsForPurchaseOrderRequest } from "./model/receive-goods-for-purchase-order-request.bo";
27
+ import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from "./model/receive-goods-for-purchase-order-correction-request.bo";
28
+ import { ChangeHeaderTransactionDefinitiveRequest } from './model/change-header-transaction-definitive-request';
26
29
  export declare class TransactionPublic extends IoneApiTransaction {
27
30
  protected endPoint: string;
28
31
  searchTransactions(request: TransactionSearchViewRequest): Promise<DataServiceResponseData>;
@@ -71,6 +74,7 @@ export declare class TransactionPublic extends IoneApiTransaction {
71
74
  changeLineSupplierArticleNumber(request: ChangeLineSupplierArticleNumberRequest): Promise<DataServiceResponseData>;
72
75
  changeLineReference(request: ChangeLineReferenceRequest): Promise<DataServiceResponseData>;
73
76
  changeLineCollectionCode(request: ChangeLineCollectionCodeRequest): Promise<DataServiceResponseData>;
77
+ changeHeaderTransactionDefinitive(request: ChangeHeaderTransactionDefinitiveRequest): Promise<DataServiceResponseData>;
74
78
  cancelAddTransactionLine(lineUuid: string): Promise<DataServiceResponseData>;
75
79
  deleteTransactionLine(transactionUuid: string, lineUuid: string): Promise<DataServiceResponseData>;
76
80
  changeLineQuantity(request: ChangeLineQuantityRequest): Promise<DataServiceResponseData>;
@@ -87,6 +91,10 @@ export declare class TransactionPublic extends IoneApiTransaction {
87
91
  getPostalCodeRetrieval(postalCode: string, houseNumber: string): Promise<DataServiceResponseData>;
88
92
  getRelationListObjects(relationRequest: RelationRequest): Promise<DataServiceResponseData>;
89
93
  setRelationByUser(uuid: string, username: string, password: string): Promise<DataServiceResponseData>;
94
+ getGoodsReceiptStatusWithHistory(transId: number, lineNr: number): Promise<DataServiceResponseData>;
95
+ getGoodsReceiptStatus(transId: number, lineNr: number): Promise<DataServiceResponseData>;
96
+ receiveGoodsForPurchaseOrder(request: ReceiveGoodsForPurchaseOrderRequest): Promise<DataServiceResponseData>;
97
+ receiveGoodsForPurchaseOrderCorrection(request: ReceiveGoodsForPurchaseOrderCorrectionRequest): Promise<DataServiceResponseData>;
90
98
  private createServiceRequestData;
91
99
  private _getDomainCollection;
92
100
  private _getMultipleDomainCollection;
@@ -499,6 +499,10 @@ var TransactionPublic = (function (_super) {
499
499
  console.warn('not implemented');
500
500
  return Promise.resolve(new DataServiceResponseData());
501
501
  };
502
+ TransactionPublic.prototype.changeHeaderTransactionDefinitive = function (request) {
503
+ console.warn('not implemented');
504
+ return Promise.resolve(new DataServiceResponseData());
505
+ };
502
506
  TransactionPublic.prototype.cancelAddTransactionLine = function (lineUuid) {
503
507
  return __awaiter(this, void 0, void 0, function () {
504
508
  var params, data;
@@ -666,6 +670,42 @@ var TransactionPublic = (function (_super) {
666
670
  });
667
671
  });
668
672
  };
673
+ TransactionPublic.prototype.getGoodsReceiptStatusWithHistory = function (transId, lineNr) {
674
+ return __awaiter(this, void 0, void 0, function () {
675
+ var data;
676
+ return __generator(this, function (_a) {
677
+ data = __assign({}, this.createServiceRequestData());
678
+ return [2, this._call(PublicServiceMethod.GetGoodsReceiptStatusWithHistory, data)];
679
+ });
680
+ });
681
+ };
682
+ TransactionPublic.prototype.getGoodsReceiptStatus = function (transId, lineNr) {
683
+ return __awaiter(this, void 0, void 0, function () {
684
+ var data;
685
+ return __generator(this, function (_a) {
686
+ data = __assign({}, this.createServiceRequestData());
687
+ return [2, this._call(PublicServiceMethod.GetGoodsReceiptStatus, data)];
688
+ });
689
+ });
690
+ };
691
+ TransactionPublic.prototype.receiveGoodsForPurchaseOrder = function (request) {
692
+ return __awaiter(this, void 0, void 0, function () {
693
+ var data;
694
+ return __generator(this, function (_a) {
695
+ data = __assign({}, this.createServiceRequestData());
696
+ return [2, this._call(PublicServiceMethod.ReceiveGoodsForPurchaseOrder, data)];
697
+ });
698
+ });
699
+ };
700
+ TransactionPublic.prototype.receiveGoodsForPurchaseOrderCorrection = function (request) {
701
+ return __awaiter(this, void 0, void 0, function () {
702
+ var data;
703
+ return __generator(this, function (_a) {
704
+ data = __assign({}, this.createServiceRequestData());
705
+ return [2, this._call(PublicServiceMethod.ReceiveGoodsForPurchaseOrderCorrection, data)];
706
+ });
707
+ });
708
+ };
669
709
  TransactionPublic.prototype.createServiceRequestData = function () {
670
710
  var data = { languageCode: this.languageCode };
671
711
  return data;
@@ -26,6 +26,9 @@ import { ChangeLineSupplierArticleNumberRequest } from './model/change-line-supp
26
26
  import { ChangeLineReferenceRequest } from './model/change-line-reference-request';
27
27
  import { ChangeLineCollectionCodeRequest } from './model/change-line-collection-code-request';
28
28
  import { TransactionSearchViewRequest } from './model/transaction-search-view-request';
29
+ import { ReceiveGoodsForPurchaseOrderRequest } from "./model/receive-goods-for-purchase-order-request.bo";
30
+ import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from "./model/receive-goods-for-purchase-order-correction-request.bo";
31
+ import { ChangeHeaderTransactionDefinitiveRequest } from './model/change-header-transaction-definitive-request';
29
32
  export declare class Transaction {
30
33
  readonly showLoader: Subject<boolean>;
31
34
  readonly connectionAborted: Subject<void>;
@@ -91,6 +94,7 @@ export declare class Transaction {
91
94
  changeTransactionLineSupplierArticleNumber(request: ChangeLineSupplierArticleNumberRequest): Promise<DataServiceResponseData>;
92
95
  changeTransactionLineReference(request: ChangeLineReferenceRequest): Promise<DataServiceResponseData>;
93
96
  changeTransactionLineCollectionCode(request: ChangeLineCollectionCodeRequest): Promise<DataServiceResponseData>;
97
+ changeHeaderTransactionDefinitive(request: ChangeHeaderTransactionDefinitiveRequest): Promise<DataServiceResponseData>;
94
98
  resolvePendingLineReason(pendingLineValues: ResolveLinePendingReasonRequest): Promise<DataServiceResponseData>;
95
99
  searchTransactions(request: TransactionSearchViewRequest): Promise<DataServiceResponseData>;
96
100
  getCustomerFullObject(relationNo: number): Promise<DataServiceResponseData>;
@@ -104,6 +108,10 @@ export declare class Transaction {
104
108
  getDeliveryOptions(): Promise<DataServiceResponseData>;
105
109
  getPostalCodeRetrieval(postalCode: string, houseNumber: string): Promise<DataServiceResponseData>;
106
110
  getRelationListObjects(relationRequest: RelationRequest): Promise<DataServiceResponseData>;
111
+ getGoodsReceiptStatusWithHistory(transId: number, lineNr: number): Promise<DataServiceResponseData>;
112
+ getGoodsReceiptStatus(transId: number, lineNr: number): Promise<DataServiceResponseData>;
113
+ receiveGoodsForPurchaseOrder(request: ReceiveGoodsForPurchaseOrderRequest): Promise<DataServiceResponseData>;
114
+ receiveGoodsForPurchaseOrderCorrection(request: ReceiveGoodsForPurchaseOrderCorrectionRequest): Promise<DataServiceResponseData>;
107
115
  setRelationByUser(uuid: string, username: string, password: string): Promise<DataServiceResponseData>;
108
116
  static createConnector(options: Options): IoneApiTransaction;
109
117
  private _handleConnectionReset;
@@ -218,6 +218,9 @@ var Transaction = (function () {
218
218
  Transaction.prototype.changeTransactionLineCollectionCode = function (request) {
219
219
  return this.transaction.changeLineCollectionCode(request);
220
220
  };
221
+ Transaction.prototype.changeHeaderTransactionDefinitive = function (request) {
222
+ return this.transaction.changeHeaderTransactionDefinitive(request);
223
+ };
221
224
  Transaction.prototype.resolvePendingLineReason = function (pendingLineValues) {
222
225
  return this.transaction.resolvePendingLineReason(pendingLineValues);
223
226
  };
@@ -259,6 +262,18 @@ var Transaction = (function () {
259
262
  Transaction.prototype.getRelationListObjects = function (relationRequest) {
260
263
  return this.transaction.getRelationListObjects(relationRequest);
261
264
  };
265
+ Transaction.prototype.getGoodsReceiptStatusWithHistory = function (transId, lineNr) {
266
+ return this.transaction.getGoodsReceiptStatusWithHistory(transId, lineNr);
267
+ };
268
+ Transaction.prototype.getGoodsReceiptStatus = function (transId, lineNr) {
269
+ return this.transaction.getGoodsReceiptStatus(transId, lineNr);
270
+ };
271
+ Transaction.prototype.receiveGoodsForPurchaseOrder = function (request) {
272
+ return this.transaction.receiveGoodsForPurchaseOrder(request);
273
+ };
274
+ Transaction.prototype.receiveGoodsForPurchaseOrderCorrection = function (request) {
275
+ return this.transaction.receiveGoodsForPurchaseOrderCorrection(request);
276
+ };
262
277
  Transaction.prototype.setRelationByUser = function (uuid, username, password) {
263
278
  return __awaiter(this, void 0, void 0, function () {
264
279
  return __generator(this, function (_a) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/transactionapi",
3
- "version": "1.1.20",
3
+ "version": "1.1.23",
4
4
  "scripts": {
5
5
  "build": "grunt clean && tsc",
6
6
  "browserify": "browserify build/connector.js --s colijn -o dist/out-tsc/bundle.js",
@@ -1,13 +0,0 @@
1
- export declare enum TransactionKind {
2
- PurchaseConfirmation = "B",
3
- SalesInvoice = "F",
4
- PurchaseInvoice = "G",
5
- PurchaseOrder = "I",
6
- CashDesk = "K",
7
- InternalDelivery = "L",
8
- SalesQuotation = "O",
9
- PurchaseQuotation = "P",
10
- ServiceOrder = "S",
11
- PeriodicSalesOrder = "T",
12
- SalesOrder = "V"
13
- }
@@ -1,14 +0,0 @@
1
- export var TransactionKind;
2
- (function (TransactionKind) {
3
- TransactionKind["PurchaseConfirmation"] = "B";
4
- TransactionKind["SalesInvoice"] = "F";
5
- TransactionKind["PurchaseInvoice"] = "G";
6
- TransactionKind["PurchaseOrder"] = "I";
7
- TransactionKind["CashDesk"] = "K";
8
- TransactionKind["InternalDelivery"] = "L";
9
- TransactionKind["SalesQuotation"] = "O";
10
- TransactionKind["PurchaseQuotation"] = "P";
11
- TransactionKind["ServiceOrder"] = "S";
12
- TransactionKind["PeriodicSalesOrder"] = "T";
13
- TransactionKind["SalesOrder"] = "V";
14
- })(TransactionKind || (TransactionKind = {}));