@colijnit/transactionapi 1.1.21 → 1.1.24

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 (65) hide show
  1. package/build/enum/document-object-name.enum.d.ts +3 -0
  2. package/build/enum/document-object-name.enum.js +4 -0
  3. package/build/enum/financial-object-name.enum.d.ts +3 -0
  4. package/build/enum/financial-object-name.enum.js +4 -0
  5. package/build/enum/master-data-object-name.enum.d.ts +1 -0
  6. package/build/enum/master-data-object-name.enum.js +1 -0
  7. package/build/enum/module-name.enum.d.ts +4 -1
  8. package/build/enum/module-name.enum.js +3 -0
  9. package/build/enum/payment-method.enum.d.ts +4 -0
  10. package/build/enum/payment-method.enum.js +5 -0
  11. package/build/enum/public-service-method.d.ts +4 -0
  12. package/build/enum/public-service-method.js +4 -0
  13. package/build/enum/transaction-method.enum.d.ts +6 -1
  14. package/build/enum/transaction-method.enum.js +5 -0
  15. package/build/ione-api-transaction.d.ts +13 -0
  16. package/build/model/acceptance-container.bo.d.ts +10 -0
  17. package/build/model/acceptance-container.bo.js +48 -0
  18. package/build/model/acceptance-line.bo.d.ts +8 -0
  19. package/build/model/acceptance-line.bo.js +22 -0
  20. package/build/model/admin-cash-register-group.bo.d.ts +7 -0
  21. package/build/model/admin-cash-register-group.bo.js +22 -0
  22. package/build/model/admin-payment-method.bo.d.ts +7 -0
  23. package/build/model/admin-payment-method.bo.js +22 -0
  24. package/build/model/cash-register-group.bo.d.ts +14 -0
  25. package/build/model/cash-register-group.bo.js +39 -0
  26. package/build/model/change-header-transaction-definitive-request.d.ts +4 -0
  27. package/build/model/change-header-transaction-definitive-request.js +6 -0
  28. package/build/model/create-outstanding-entry-request.d.ts +4 -0
  29. package/build/model/create-outstanding-entry-request.js +6 -0
  30. package/build/model/get-article-price-request.d.ts +3 -3
  31. package/build/model/goods-receipt-history.bo.d.ts +17 -0
  32. package/build/model/goods-receipt-history.bo.js +36 -0
  33. package/build/model/goods-receipt-status-with-history.bo.d.ts +5 -0
  34. package/build/model/goods-receipt-status-with-history.bo.js +22 -0
  35. package/build/model/goods-receipt-status.bo.d.ts +5 -0
  36. package/build/model/goods-receipt-status.bo.js +22 -0
  37. package/build/model/payment-method.bo.d.ts +31 -0
  38. package/build/model/payment-method.bo.js +51 -0
  39. package/build/model/payment-request.d.ts +7 -0
  40. package/build/model/payment-request.js +6 -0
  41. package/build/model/purchase-order-line-receipt-correction-details.bo.d.ts +7 -0
  42. package/build/model/purchase-order-line-receipt-correction-details.bo.js +22 -0
  43. package/build/model/purchase-order-line-receipt-details.bo.d.ts +9 -0
  44. package/build/model/purchase-order-line-receipt-details.bo.js +22 -0
  45. package/build/model/purchase-order-line.bo.d.ts +16 -0
  46. package/build/model/purchase-order-line.bo.js +36 -0
  47. package/build/model/purchase-order.bo.d.ts +10 -0
  48. package/build/model/purchase-order.bo.js +22 -0
  49. package/build/model/receive-goods-for-purchase-order-correction-request.bo.d.ts +7 -0
  50. package/build/model/receive-goods-for-purchase-order-correction-request.bo.js +22 -0
  51. package/build/model/receive-goods-for-purchase-order-request.bo.d.ts +8 -0
  52. package/build/model/receive-goods-for-purchase-order-request.bo.js +36 -0
  53. package/build/model/transaction-info.bo.d.ts +4 -4
  54. package/build/model/transaction-info.bo.js +5 -5
  55. package/build/model/transaction-line-info.bo.d.ts +4 -0
  56. package/build/model/transaction-line-status-base.bo.d.ts +5 -0
  57. package/build/model/transaction-line-status-base.bo.js +22 -0
  58. package/build/transaction-auth.d.ts +13 -0
  59. package/build/transaction-auth.js +86 -0
  60. package/build/transaction-public.d.ts +13 -0
  61. package/build/transaction-public.js +65 -13
  62. package/build/transaction.d.ts +13 -0
  63. package/build/transaction.js +24 -0
  64. package/build/transaction.unit.test.js +29 -0
  65. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ export declare enum DocumentObjectName {
2
+ CoDocument = "CoDocument"
3
+ }
@@ -0,0 +1,4 @@
1
+ export var DocumentObjectName;
2
+ (function (DocumentObjectName) {
3
+ DocumentObjectName["CoDocument"] = "CoDocument";
4
+ })(DocumentObjectName || (DocumentObjectName = {}));
@@ -0,0 +1,3 @@
1
+ export declare enum FinancialObjectName {
2
+ BookingPaymentMethod = "BookingPaymentMethod"
3
+ }
@@ -0,0 +1,4 @@
1
+ export var FinancialObjectName;
2
+ (function (FinancialObjectName) {
3
+ FinancialObjectName["BookingPaymentMethod"] = "BookingPaymentMethod";
4
+ })(FinancialObjectName || (FinancialObjectName = {}));
@@ -13,6 +13,7 @@ export declare enum MasterDataObjectName {
13
13
  WareHouse = "WareHouse",
14
14
  CustomerGroup = "CustomerGroup",
15
15
  CoMultipleValue = "CoMultipleValue",
16
+ PaymentMethod = "PaymentMethod",
16
17
  PriceList = "PriceList",
17
18
  SalesPerson = "SalesPerson",
18
19
  Vat = "Vat"
@@ -14,6 +14,7 @@ export var MasterDataObjectName;
14
14
  MasterDataObjectName["WareHouse"] = "WareHouse";
15
15
  MasterDataObjectName["CustomerGroup"] = "CustomerGroup";
16
16
  MasterDataObjectName["CoMultipleValue"] = "CoMultipleValue";
17
+ MasterDataObjectName["PaymentMethod"] = "PaymentMethod";
17
18
  MasterDataObjectName["PriceList"] = "PriceList";
18
19
  MasterDataObjectName["SalesPerson"] = "SalesPerson";
19
20
  MasterDataObjectName["Vat"] = "Vat";
@@ -9,5 +9,8 @@ export declare enum ModuleName {
9
9
  Pricing = "Pricing",
10
10
  HomeDecorator = "HomeDecorator",
11
11
  Transaction = "Transaction",
12
- Relation = "Rel_man"
12
+ Relation = "Rel_man",
13
+ Accounting = "accounting",
14
+ Financial = "Financial",
15
+ Document = "Document"
13
16
  }
@@ -11,4 +11,7 @@ export var ModuleName;
11
11
  ModuleName["HomeDecorator"] = "HomeDecorator";
12
12
  ModuleName["Transaction"] = "Transaction";
13
13
  ModuleName["Relation"] = "Rel_man";
14
+ ModuleName["Accounting"] = "accounting";
15
+ ModuleName["Financial"] = "Financial";
16
+ ModuleName["Document"] = "Document";
14
17
  })(ModuleName || (ModuleName = {}));
@@ -0,0 +1,4 @@
1
+ export declare enum PaymentMethod {
2
+ CreateOutstandingEntry = "createOutstandingEntry",
3
+ RegisterSalesOrderPayment = "registerSalesOrderPayment"
4
+ }
@@ -0,0 +1,5 @@
1
+ export var PaymentMethod;
2
+ (function (PaymentMethod) {
3
+ PaymentMethod["CreateOutstandingEntry"] = "createOutstandingEntry";
4
+ PaymentMethod["RegisterSalesOrderPayment"] = "registerSalesOrderPayment";
5
+ })(PaymentMethod || (PaymentMethod = {}));
@@ -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,11 @@ 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 { ChangeHeaderTransactionDefinitiveRequest } from './model/change-header-transaction-definitive-request';
28
+ import { ReceiveGoodsForPurchaseOrderRequest } from './model/receive-goods-for-purchase-order-request.bo';
29
+ import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from './model/receive-goods-for-purchase-order-correction-request.bo';
30
+ import { CreateOutstandingEntryRequest } from './model/create-outstanding-entry-request';
31
+ import { PaymentRequest } from './model/payment-request';
27
32
  export declare abstract class IoneApiTransaction {
28
33
  readonly showLoader: Subject<boolean>;
29
34
  readonly connectionAborted: Subject<void>;
@@ -78,6 +83,9 @@ export declare abstract class IoneApiTransaction {
78
83
  abstract getPostalCodeRetrieval(postalCode: string, houseNumber: string): Promise<DataServiceResponseData>;
79
84
  abstract getRelationListObjects(relationRequest: RelationRequest): Promise<DataServiceResponseData>;
80
85
  abstract setRelationByUser(uuid: string, username: string, password: string): Promise<DataServiceResponseData>;
86
+ abstract createOutstandingEntry(request: CreateOutstandingEntryRequest): Promise<DataServiceResponseData>;
87
+ abstract registerSalesOrderPayment(request: PaymentRequest): Promise<DataServiceResponseData>;
88
+ abstract getPaymentMethods(): Promise<DataServiceResponseData>;
81
89
  abstract changeLineSequence(request: ChangeLineSequenceRequest): Promise<DataServiceResponseData>;
82
90
  abstract changeLineQuantity(request: ChangeLineQuantityRequest): Promise<DataServiceResponseData>;
83
91
  abstract changeLineCommissionCode(request: ChangeLineCommissionCodeRequest): Promise<DataServiceResponseData>;
@@ -93,5 +101,10 @@ export declare abstract class IoneApiTransaction {
93
101
  abstract changeLineSupplierArticleNumber(request: ChangeLineSupplierArticleNumberRequest): Promise<DataServiceResponseData>;
94
102
  abstract changeLineReference(request: ChangeLineReferenceRequest): Promise<DataServiceResponseData>;
95
103
  abstract changeLineCollectionCode(request: ChangeLineCollectionCodeRequest): Promise<DataServiceResponseData>;
104
+ abstract changeHeaderTransactionDefinitive(request: ChangeHeaderTransactionDefinitiveRequest): Promise<DataServiceResponseData>;
105
+ abstract getGoodsReceiptStatusWithHistory(transId: number, lineNr: number): Promise<DataServiceResponseData>;
106
+ abstract getGoodsReceiptStatus(transId: number, lineNr: number): Promise<DataServiceResponseData>;
107
+ abstract receiveGoodsForPurchaseOrder(request: ReceiveGoodsForPurchaseOrderRequest): Promise<DataServiceResponseData>;
108
+ abstract receiveGoodsForPurchaseOrderCorrection(request: ReceiveGoodsForPurchaseOrderCorrectionRequest): Promise<DataServiceResponseData>;
96
109
  protected endPoint: string;
97
110
  }
@@ -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,7 @@
1
+ import { BusinessObject } from './business-object';
2
+ export declare class AdminCashRegisterGroup extends BusinessObject {
3
+ groupId: number;
4
+ adminId: number;
5
+ journalId: number;
6
+ ledgerInitialPayment: 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 AdminCashRegisterGroup = (function (_super) {
16
+ __extends(AdminCashRegisterGroup, _super);
17
+ function AdminCashRegisterGroup() {
18
+ return _super !== null && _super.apply(this, arguments) || this;
19
+ }
20
+ return AdminCashRegisterGroup;
21
+ }(BusinessObject));
22
+ export { AdminCashRegisterGroup };
@@ -0,0 +1,7 @@
1
+ import { BusinessObject } from './business-object';
2
+ export declare class AdminPaymentMethod extends BusinessObject {
3
+ adminId: number;
4
+ paymentMethod: string;
5
+ ledger: number;
6
+ roundUpLedger: 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 AdminPaymentMethod = (function (_super) {
16
+ __extends(AdminPaymentMethod, _super);
17
+ function AdminPaymentMethod() {
18
+ return _super !== null && _super.apply(this, arguments) || this;
19
+ }
20
+ return AdminPaymentMethod;
21
+ }(BusinessObject));
22
+ export { AdminPaymentMethod };
@@ -0,0 +1,14 @@
1
+ import { BusinessObject } from './business-object';
2
+ import { AdminCashRegisterGroup } from './admin-cash-register-group.bo';
3
+ export declare class CashRegisterGroup extends BusinessObject {
4
+ id: number;
5
+ description: string;
6
+ branchNo: string;
7
+ warehouse: number;
8
+ location: string;
9
+ returnWarehouse: number;
10
+ returnLocation: string;
11
+ fifo: boolean;
12
+ currentAdmin: number;
13
+ adminLinks: AdminCashRegisterGroup[];
14
+ }
@@ -0,0 +1,39 @@
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 { ComplexArray } from '../factory/decorators/complex-array.decorator';
25
+ import { AdminCashRegisterGroup } from './admin-cash-register-group.bo';
26
+ var CashRegisterGroup = (function (_super) {
27
+ __extends(CashRegisterGroup, _super);
28
+ function CashRegisterGroup() {
29
+ var _this = _super !== null && _super.apply(this, arguments) || this;
30
+ _this.adminLinks = [];
31
+ return _this;
32
+ }
33
+ __decorate([
34
+ ComplexArray(AdminCashRegisterGroup),
35
+ __metadata("design:type", Array)
36
+ ], CashRegisterGroup.prototype, "adminLinks", void 0);
37
+ return CashRegisterGroup;
38
+ }(BusinessObject));
39
+ export { CashRegisterGroup };
@@ -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 };
@@ -0,0 +1,4 @@
1
+ export declare class CreateOutstandingEntryRequest {
2
+ transUUID: string;
3
+ amount: number;
4
+ }
@@ -0,0 +1,6 @@
1
+ var CreateOutstandingEntryRequest = (function () {
2
+ function CreateOutstandingEntryRequest() {
3
+ }
4
+ return CreateOutstandingEntryRequest;
5
+ }());
6
+ export { CreateOutstandingEntryRequest };
@@ -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/transaction-kind.enum";
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,31 @@
1
+ import { BusinessObject } from './business-object';
2
+ import { CoDocument } from './co-document';
3
+ import { AdminPaymentMethod } from './admin-payment-method.bo';
4
+ import { CashRegisterGroup } from './cash-register-group.bo';
5
+ export declare class PaymentMethod extends BusinessObject {
6
+ code: string;
7
+ description: string;
8
+ bankAccountMandatory: boolean;
9
+ bankAccountMandatoryYesNo: string;
10
+ paymentType: string;
11
+ openCashDrawer: boolean;
12
+ pinTerminal: boolean;
13
+ paymentMoneyBack: boolean;
14
+ expenseMoneyBack: boolean;
15
+ skimming: boolean;
16
+ inCashDrawer: boolean;
17
+ cash: boolean;
18
+ roundUp: boolean;
19
+ roundUpUnit: number;
20
+ roundUpType: string;
21
+ pinTerminalNr: number;
22
+ type: number;
23
+ referenceNeeded: string;
24
+ cardNr: boolean;
25
+ externalSourceId: number;
26
+ voucher: boolean;
27
+ pspGateway: string;
28
+ adminLinks: AdminPaymentMethod[];
29
+ documents: CoDocument[];
30
+ posGroups: CashRegisterGroup[];
31
+ }
@@ -0,0 +1,51 @@
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 { ComplexArray } from '../factory/decorators/complex-array.decorator';
25
+ import { CoDocument } from './co-document';
26
+ import { AdminPaymentMethod } from './admin-payment-method.bo';
27
+ import { CashRegisterGroup } from './cash-register-group.bo';
28
+ var PaymentMethod = (function (_super) {
29
+ __extends(PaymentMethod, _super);
30
+ function PaymentMethod() {
31
+ var _this = _super !== null && _super.apply(this, arguments) || this;
32
+ _this.adminLinks = [];
33
+ _this.documents = [];
34
+ _this.posGroups = [];
35
+ return _this;
36
+ }
37
+ __decorate([
38
+ ComplexArray(AdminPaymentMethod),
39
+ __metadata("design:type", Array)
40
+ ], PaymentMethod.prototype, "adminLinks", void 0);
41
+ __decorate([
42
+ ComplexArray(CoDocument),
43
+ __metadata("design:type", Array)
44
+ ], PaymentMethod.prototype, "documents", void 0);
45
+ __decorate([
46
+ ComplexArray(CashRegisterGroup),
47
+ __metadata("design:type", Array)
48
+ ], PaymentMethod.prototype, "posGroups", void 0);
49
+ return PaymentMethod;
50
+ }(BusinessObject));
51
+ export { PaymentMethod };
@@ -0,0 +1,7 @@
1
+ export declare class PaymentRequest {
2
+ transUUID: string;
3
+ amount: number;
4
+ currencyCode: number;
5
+ paymentMethodCode: string;
6
+ cashRegisterGroupId: number;
7
+ }
@@ -0,0 +1,6 @@
1
+ var PaymentRequest = (function () {
2
+ function PaymentRequest() {
3
+ }
4
+ return PaymentRequest;
5
+ }());
6
+ export { PaymentRequest };
@@ -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
+ }