@colijnit/transactionapi 1.1.23 → 1.1.26

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 (53) 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 +5 -1
  8. package/build/enum/module-name.enum.js +4 -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/quantity-in-historic-state.enum.d.ts +5 -0
  12. package/build/enum/quantity-in-historic-state.enum.js +6 -0
  13. package/build/ione-api-transaction.d.ts +14 -3
  14. package/build/model/admin-cash-register-group.bo.d.ts +7 -0
  15. package/build/model/admin-cash-register-group.bo.js +22 -0
  16. package/build/model/admin-payment-method.bo.d.ts +7 -0
  17. package/build/model/admin-payment-method.bo.js +22 -0
  18. package/build/model/cash-register-group.bo.d.ts +14 -0
  19. package/build/model/cash-register-group.bo.js +39 -0
  20. package/build/model/co-document-right.d.ts +2 -2
  21. package/build/model/co-document-right.js +1 -1
  22. package/build/model/co-document.d.ts +8 -8
  23. package/build/model/co-document.js +13 -13
  24. package/build/model/create-outstanding-entry-request.d.ts +4 -0
  25. package/build/model/create-outstanding-entry-request.js +6 -0
  26. package/build/model/doc-delivery-batch.bo.d.ts +11 -0
  27. package/build/model/doc-delivery-batch.bo.js +22 -0
  28. package/build/model/get-purchase-portal-line.d.ts +14 -0
  29. package/build/model/get-purchase-portal-line.js +6 -0
  30. package/build/model/payment-method.bo.d.ts +31 -0
  31. package/build/model/payment-method.bo.js +51 -0
  32. package/build/model/payment-request.d.ts +7 -0
  33. package/build/model/payment-request.js +6 -0
  34. package/build/model/purchase-order-line.bo.d.ts +3 -3
  35. package/build/model/purchase-order-line.bo.js +2 -2
  36. package/build/model/purchase-order.bo.d.ts +2 -2
  37. package/build/model/purchase-order.bo.js +1 -1
  38. package/build/model/purchase-portal-filters.bo.d.ts +23 -0
  39. package/build/model/purchase-portal-filters.bo.js +22 -0
  40. package/build/model/purchase-portal-line.bo.d.ts +53 -0
  41. package/build/model/purchase-portal-line.bo.js +22 -0
  42. package/build/model/purchase-portal-object-name.enum.d.ts +3 -0
  43. package/build/model/purchase-portal-object-name.enum.js +4 -0
  44. package/build/model/transaction-search-view.bo.d.ts +3 -1
  45. package/build/model/transaction-search-view.bo.js +8 -0
  46. package/build/transaction-auth.d.ts +13 -2
  47. package/build/transaction-auth.js +77 -0
  48. package/build/transaction-public.d.ts +13 -2
  49. package/build/transaction-public.js +42 -14
  50. package/build/transaction.d.ts +13 -2
  51. package/build/transaction.js +37 -0
  52. package/build/transaction.unit.test.js +140 -0
  53. 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,9 @@ 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",
16
+ PurchasePortal = "PurchasePortal"
13
17
  }
@@ -11,4 +11,8 @@ 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";
17
+ ModuleName["PurchasePortal"] = "PurchasePortal";
14
18
  })(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 = {}));
@@ -0,0 +1,5 @@
1
+ export declare enum QuantityInHistoricState {
2
+ Nothing = 1,
3
+ Partly = 2,
4
+ Fully = 3
5
+ }
@@ -0,0 +1,6 @@
1
+ export var QuantityInHistoricState;
2
+ (function (QuantityInHistoricState) {
3
+ QuantityInHistoricState[QuantityInHistoricState["Nothing"] = 1] = "Nothing";
4
+ QuantityInHistoricState[QuantityInHistoricState["Partly"] = 2] = "Partly";
5
+ QuantityInHistoricState[QuantityInHistoricState["Fully"] = 3] = "Fully";
6
+ })(QuantityInHistoricState || (QuantityInHistoricState = {}));
@@ -24,9 +24,13 @@ 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
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';
32
+ import { GetPurchasePortalLine } from "./model/get-purchase-portal-line";
33
+ import { PurchasePortalLine } from "./model/purchase-portal-line.bo";
30
34
  export declare abstract class IoneApiTransaction {
31
35
  readonly showLoader: Subject<boolean>;
32
36
  readonly connectionAborted: Subject<void>;
@@ -81,6 +85,9 @@ export declare abstract class IoneApiTransaction {
81
85
  abstract getPostalCodeRetrieval(postalCode: string, houseNumber: string): Promise<DataServiceResponseData>;
82
86
  abstract getRelationListObjects(relationRequest: RelationRequest): Promise<DataServiceResponseData>;
83
87
  abstract setRelationByUser(uuid: string, username: string, password: string): Promise<DataServiceResponseData>;
88
+ abstract createOutstandingEntry(request: CreateOutstandingEntryRequest): Promise<DataServiceResponseData>;
89
+ abstract registerSalesOrderPayment(request: PaymentRequest): Promise<DataServiceResponseData>;
90
+ abstract getPaymentMethods(): Promise<DataServiceResponseData>;
84
91
  abstract changeLineSequence(request: ChangeLineSequenceRequest): Promise<DataServiceResponseData>;
85
92
  abstract changeLineQuantity(request: ChangeLineQuantityRequest): Promise<DataServiceResponseData>;
86
93
  abstract changeLineCommissionCode(request: ChangeLineCommissionCodeRequest): Promise<DataServiceResponseData>;
@@ -96,10 +103,14 @@ export declare abstract class IoneApiTransaction {
96
103
  abstract changeLineSupplierArticleNumber(request: ChangeLineSupplierArticleNumberRequest): Promise<DataServiceResponseData>;
97
104
  abstract changeLineReference(request: ChangeLineReferenceRequest): Promise<DataServiceResponseData>;
98
105
  abstract changeLineCollectionCode(request: ChangeLineCollectionCodeRequest): Promise<DataServiceResponseData>;
106
+ abstract changeHeaderTransactionDefinitive(request: ChangeHeaderTransactionDefinitiveRequest): Promise<DataServiceResponseData>;
99
107
  abstract getGoodsReceiptStatusWithHistory(transId: number, lineNr: number): Promise<DataServiceResponseData>;
100
108
  abstract getGoodsReceiptStatus(transId: number, lineNr: number): Promise<DataServiceResponseData>;
101
109
  abstract receiveGoodsForPurchaseOrder(request: ReceiveGoodsForPurchaseOrderRequest): Promise<DataServiceResponseData>;
102
110
  abstract receiveGoodsForPurchaseOrderCorrection(request: ReceiveGoodsForPurchaseOrderCorrectionRequest): Promise<DataServiceResponseData>;
103
- abstract changeHeaderTransactionDefinitive(request: ChangeHeaderTransactionDefinitiveRequest): Promise<DataServiceResponseData>;
111
+ abstract getPurchasePortalLines(purchaseOrderLine: GetPurchasePortalLine): Promise<DataServiceResponseData>;
112
+ abstract updatePurchasePortalLines(request: PurchasePortalLine): Promise<DataServiceResponseData>;
113
+ abstract lockPurchasePortalLines(request: GetPurchasePortalLine): Promise<DataServiceResponseData>;
114
+ abstract deletePurchasePortalLines(request: GetPurchasePortalLine): Promise<DataServiceResponseData>;
104
115
  protected endPoint: string;
105
116
  }
@@ -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 };
@@ -1,5 +1,5 @@
1
- import { ObjectRightType } from "../enum/refcode/object-right-type.enum";
2
- import { BusinessObject } from "./business-object";
1
+ import { ObjectRightType } from '../enum/refcode/object-right-type.enum';
2
+ import { BusinessObject } from './business-object';
3
3
  export declare class CoDocumentRight extends BusinessObject {
4
4
  userGroupId: number;
5
5
  documentId: number;
@@ -11,7 +11,7 @@ var __extends = (this && this.__extends) || (function () {
11
11
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
12
  };
13
13
  })();
14
- import { BusinessObject } from "./business-object";
14
+ import { BusinessObject } from './business-object';
15
15
  var CoDocumentRight = (function (_super) {
16
16
  __extends(CoDocumentRight, _super);
17
17
  function CoDocumentRight() {
@@ -1,11 +1,11 @@
1
- import { BusinessObject } from "./business-object";
2
- import { Tag } from "./tag";
3
- import { CoDocumentType } from "../enum/refcode/co-document-type.enum";
4
- import { FileType } from "../enum/refcode/file-type.enum";
5
- import { ObjectRightType } from "../enum/refcode/object-right-type.enum";
6
- import { CoDocumentRight } from "./co-document-right";
7
- import { ArticleSeoValue } from "./article-seo-value";
8
- import { FileTypeInternal } from "../enum/refcode/file-type-internal.enum";
1
+ import { BusinessObject } from './business-object';
2
+ import { Tag } from './tag';
3
+ import { CoDocumentType } from '../enum/refcode/co-document-type.enum';
4
+ import { FileType } from '../enum/refcode/file-type.enum';
5
+ import { ObjectRightType } from '../enum/refcode/object-right-type.enum';
6
+ import { CoDocumentRight } from './co-document-right';
7
+ import { ArticleSeoValue } from './article-seo-value';
8
+ import { FileTypeInternal } from '../enum/refcode/file-type-internal.enum';
9
9
  import { Subject } from 'rxjs';
10
10
  export declare class CoDocument extends BusinessObject {
11
11
  set documentId(value: number);
@@ -20,19 +20,19 @@ 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 { BooleanText } from "../factory/decorators/boolean.decorator";
25
- import { ComplexArray } from "../factory/decorators/complex-array.decorator";
26
- import { Tag } from "./tag";
27
- import { NoDbField } from "../factory/decorators/no-db-field.decorator";
28
- import { FileUtils } from "../utils/file-utils";
29
- import { FileType } from "../enum/refcode/file-type.enum";
30
- import { ObjectRightType } from "../enum/refcode/object-right-type.enum";
31
- import { CoDocumentRight } from "./co-document-right";
32
- import { ArticleSeoValue } from "./article-seo-value";
33
- import { FileTypeInternal } from "../enum/refcode/file-type-internal.enum";
34
- import { DbFieldAlias } from "../factory/decorators/db-field-alias.decorator";
35
- import { DateField } from "../factory/decorators/date-field.decorator";
23
+ import { BusinessObject } from './business-object';
24
+ import { BooleanText } from '../factory/decorators/boolean.decorator';
25
+ import { ComplexArray } from '../factory/decorators/complex-array.decorator';
26
+ import { Tag } from './tag';
27
+ import { NoDbField } from '../factory/decorators/no-db-field.decorator';
28
+ import { FileUtils } from '../utils/file-utils';
29
+ import { FileType } from '../enum/refcode/file-type.enum';
30
+ import { ObjectRightType } from '../enum/refcode/object-right-type.enum';
31
+ import { CoDocumentRight } from './co-document-right';
32
+ import { ArticleSeoValue } from './article-seo-value';
33
+ import { FileTypeInternal } from '../enum/refcode/file-type-internal.enum';
34
+ import { DbFieldAlias } from '../factory/decorators/db-field-alias.decorator';
35
+ import { DateField } from '../factory/decorators/date-field.decorator';
36
36
  import { Subject } from 'rxjs';
37
37
  var CoDocument = (function (_super) {
38
38
  __extends(CoDocument, _super);
@@ -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 };
@@ -0,0 +1,11 @@
1
+ import { BusinessObject } from "./business-object";
2
+ export declare class DocDeliveryBatch extends BusinessObject {
3
+ deliveryBatch: string;
4
+ docAmountOrg: string;
5
+ docAmount: string;
6
+ docDateOrg: string;
7
+ docDate: string;
8
+ reference: string;
9
+ confirmedPrice: string;
10
+ deleteLine: string;
11
+ }
@@ -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 DocDeliveryBatch = (function (_super) {
16
+ __extends(DocDeliveryBatch, _super);
17
+ function DocDeliveryBatch() {
18
+ return _super !== null && _super.apply(this, arguments) || this;
19
+ }
20
+ return DocDeliveryBatch;
21
+ }(BusinessObject));
22
+ export { DocDeliveryBatch };
@@ -0,0 +1,14 @@
1
+ import { PurchasePortalFilters } from "./purchase-portal-filters.bo";
2
+ export declare class GetPurchasePortalLine {
3
+ transIdPurchase: number;
4
+ selOrdered: string;
5
+ selPurchaseResp: string;
6
+ selPurchaseRespNotToDo: string;
7
+ selTranspNot: string;
8
+ selTranspNotToDo: string;
9
+ selRepReceived: string;
10
+ onlyInContainer: string;
11
+ docKind: string;
12
+ filterObject: PurchasePortalFilters;
13
+ containerId: number;
14
+ }
@@ -0,0 +1,6 @@
1
+ var GetPurchasePortalLine = (function () {
2
+ function GetPurchasePortalLine() {
3
+ }
4
+ return GetPurchasePortalLine;
5
+ }());
6
+ export { GetPurchasePortalLine };
@@ -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 };
@@ -1,6 +1,6 @@
1
- import { BusinessObject } from "./business-object";
2
- import { AcceptanceLine } from "./acceptance-line.bo";
3
- import { AcceptanceContainer } from "./acceptance-container.bo";
1
+ import { BusinessObject } from './business-object';
2
+ import { AcceptanceLine } from './acceptance-line.bo';
3
+ import { AcceptanceContainer } from './acceptance-container.bo';
4
4
  export declare class PurchaseOrderLine extends BusinessObject {
5
5
  transId: number;
6
6
  lineNr: number;
@@ -20,8 +20,8 @@ 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";
23
+ import { BusinessObject } from './business-object';
24
+ import { DateField } from '../factory/decorators/date-field.decorator';
25
25
  var PurchaseOrderLine = (function (_super) {
26
26
  __extends(PurchaseOrderLine, _super);
27
27
  function PurchaseOrderLine() {
@@ -1,5 +1,5 @@
1
- import { BusinessObject } from "./business-object";
2
- import { PurchaseOrderLine } from "./purchase-order-line.bo";
1
+ import { BusinessObject } from './business-object';
2
+ import { PurchaseOrderLine } from './purchase-order-line.bo';
3
3
  export declare class PurchaseOrder extends BusinessObject {
4
4
  actionKind: string;
5
5
  transId: number;
@@ -11,7 +11,7 @@ var __extends = (this && this.__extends) || (function () {
11
11
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
12
  };
13
13
  })();
14
- import { BusinessObject } from "./business-object";
14
+ import { BusinessObject } from './business-object';
15
15
  var PurchaseOrder = (function (_super) {
16
16
  __extends(PurchaseOrder, _super);
17
17
  function PurchaseOrder() {
@@ -0,0 +1,23 @@
1
+ import { BusinessObject } from "./business-object";
2
+ export declare class PurchasePortalFilters extends BusinessObject {
3
+ supplierNo: string;
4
+ purchaseOrderDate: string;
5
+ purchaseOrderNo: string;
6
+ deliveryState: string;
7
+ articleNo: string;
8
+ superArticle: string;
9
+ turnOverGroup: string;
10
+ deliveryDate: string;
11
+ deliveryDateConfirmed: string;
12
+ serialNo: string;
13
+ batchNo: string;
14
+ branchNo: string;
15
+ wareHouseNo: string;
16
+ reference: string;
17
+ processingState: number;
18
+ tag: string;
19
+ acceptanceProcessingState: number;
20
+ supplierGroupNo: string;
21
+ purchasePersonNo: string;
22
+ deliveryBatch: string;
23
+ }
@@ -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 PurchasePortalFilters = (function (_super) {
16
+ __extends(PurchasePortalFilters, _super);
17
+ function PurchasePortalFilters() {
18
+ return _super !== null && _super.apply(this, arguments) || this;
19
+ }
20
+ return PurchasePortalFilters;
21
+ }(BusinessObject));
22
+ export { PurchasePortalFilters };