@colijnit/transactionapi 1.1.27 → 1.1.30
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.
- package/build/enum/module-name.enum.d.ts +1 -0
- package/build/enum/module-name.enum.js +1 -0
- package/build/enum/payment-method.enum.d.ts +2 -1
- package/build/enum/payment-method.enum.js +1 -0
- package/build/enum/public-service-method.d.ts +1 -0
- package/build/enum/public-service-method.js +1 -0
- package/build/enum/purchase-advice-object-name.enum.d.ts +3 -0
- package/build/enum/purchase-advice-object-name.enum.js +4 -0
- package/build/ione-api-transaction.d.ts +7 -3
- package/build/model/create-payment-link-request.d.ts +5 -0
- package/build/model/create-payment-link-request.js +6 -0
- package/build/model/create-payment-link-result.bo.d.ts +7 -0
- package/build/model/create-payment-link-result.bo.js +22 -0
- package/build/model/doc-delivery-batch.bo.d.ts +5 -5
- package/build/model/goods-receipt-history.bo.d.ts +1 -0
- package/build/model/paging-parameters.d.ts +2 -1
- package/build/model/paging-parameters.js +7 -2
- package/build/model/payment-request.d.ts +1 -1
- package/build/model/purchase-advice-filters.d.ts +23 -0
- package/build/model/purchase-advice-filters.js +6 -0
- package/build/model/purchase-advice-line.bo.d.ts +65 -0
- package/build/model/purchase-advice-line.bo.js +44 -0
- package/build/model/purchase-portal-line.bo.d.ts +4 -4
- package/build/model/supplier-product.bo.d.ts +15 -0
- package/build/model/supplier-product.bo.js +44 -0
- package/build/transaction-auth.d.ts +6 -2
- package/build/transaction-auth.js +24 -2
- package/build/transaction-public.d.ts +6 -2
- package/build/transaction-public.js +13 -0
- package/build/transaction.d.ts +7 -3
- package/build/transaction.js +8 -2
- package/build/transaction.unit.test.js +44 -5
- package/package.json +1 -1
|
@@ -14,5 +14,6 @@ export var ModuleName;
|
|
|
14
14
|
ModuleName["Accounting"] = "accounting";
|
|
15
15
|
ModuleName["Financial"] = "Financial";
|
|
16
16
|
ModuleName["Document"] = "Document";
|
|
17
|
+
ModuleName["PurchaseAdvice"] = "PurchaseAdvice";
|
|
17
18
|
ModuleName["PurchasePortal"] = "PurchasePortal";
|
|
18
19
|
})(ModuleName || (ModuleName = {}));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare enum PaymentMethod {
|
|
2
2
|
CreateOutstandingEntry = "createOutstandingEntry",
|
|
3
|
-
RegisterSalesOrderPayment = "registerSalesOrderPayment"
|
|
3
|
+
RegisterSalesOrderPayment = "registerSalesOrderPayment",
|
|
4
|
+
CreateIonePaymentLinkAndQRCode = "createIonePaymentLinkAndQRCode"
|
|
4
5
|
}
|
|
@@ -2,4 +2,5 @@ export var PaymentMethod;
|
|
|
2
2
|
(function (PaymentMethod) {
|
|
3
3
|
PaymentMethod["CreateOutstandingEntry"] = "createOutstandingEntry";
|
|
4
4
|
PaymentMethod["RegisterSalesOrderPayment"] = "registerSalesOrderPayment";
|
|
5
|
+
PaymentMethod["CreateIonePaymentLinkAndQRCode"] = "createIonePaymentLinkAndQRCode";
|
|
5
6
|
})(PaymentMethod || (PaymentMethod = {}));
|
|
@@ -62,6 +62,7 @@ export declare enum PublicServiceMethod {
|
|
|
62
62
|
GetGoodsReceiptStatus = "getGoodsReceiptStatus",
|
|
63
63
|
ReceiveGoodsForPurchaseOrder = "receiveGoodsForPurchaseOrder",
|
|
64
64
|
ReceiveGoodsForPurchaseOrderCorrection = "receiveGoodsForPurchaseOrderCorrection",
|
|
65
|
+
GetPurchaseAdviceLines = "getPurchaseAdviceLines",
|
|
65
66
|
GetCustomerGroups = "getCustomerGroups",
|
|
66
67
|
Commit = "commit",
|
|
67
68
|
GetCashRegisters = "getCashRegisters",
|
|
@@ -63,6 +63,7 @@ export var PublicServiceMethod;
|
|
|
63
63
|
PublicServiceMethod["GetGoodsReceiptStatus"] = "getGoodsReceiptStatus";
|
|
64
64
|
PublicServiceMethod["ReceiveGoodsForPurchaseOrder"] = "receiveGoodsForPurchaseOrder";
|
|
65
65
|
PublicServiceMethod["ReceiveGoodsForPurchaseOrderCorrection"] = "receiveGoodsForPurchaseOrderCorrection";
|
|
66
|
+
PublicServiceMethod["GetPurchaseAdviceLines"] = "getPurchaseAdviceLines";
|
|
66
67
|
PublicServiceMethod["GetCustomerGroups"] = "getCustomerGroups";
|
|
67
68
|
PublicServiceMethod["Commit"] = "commit";
|
|
68
69
|
PublicServiceMethod["GetCashRegisters"] = "getCashRegisters";
|
|
@@ -29,8 +29,10 @@ import { ReceiveGoodsForPurchaseOrderRequest } from './model/receive-goods-for-p
|
|
|
29
29
|
import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from './model/receive-goods-for-purchase-order-correction-request.bo';
|
|
30
30
|
import { CreateOutstandingEntryRequest } from './model/create-outstanding-entry-request';
|
|
31
31
|
import { PaymentRequest } from './model/payment-request';
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
32
|
+
import { PurchaseAdviceFilters } from "./model/purchase-advice-filters";
|
|
33
|
+
import { GetPurchasePortalLine } from './model/get-purchase-portal-line';
|
|
34
|
+
import { PurchasePortalLine } from './model/purchase-portal-line.bo';
|
|
35
|
+
import { CreatePaymentLinkRequest } from './model/create-payment-link-request';
|
|
34
36
|
export declare abstract class IoneApiTransaction {
|
|
35
37
|
readonly showLoader: Subject<boolean>;
|
|
36
38
|
readonly connectionAborted: Subject<void>;
|
|
@@ -87,6 +89,7 @@ export declare abstract class IoneApiTransaction {
|
|
|
87
89
|
abstract setRelationByUser(uuid: string, username: string, password: string): Promise<DataServiceResponseData>;
|
|
88
90
|
abstract createOutstandingEntry(request: CreateOutstandingEntryRequest): Promise<DataServiceResponseData>;
|
|
89
91
|
abstract registerSalesOrderPayment(request: PaymentRequest): Promise<DataServiceResponseData>;
|
|
92
|
+
abstract createIonePaymentLinkAndQRCode(request: CreatePaymentLinkRequest): Promise<DataServiceResponseData>;
|
|
90
93
|
abstract getPaymentMethods(): Promise<DataServiceResponseData>;
|
|
91
94
|
abstract changeLineSequence(request: ChangeLineSequenceRequest): Promise<DataServiceResponseData>;
|
|
92
95
|
abstract changeLineQuantity(request: ChangeLineQuantityRequest): Promise<DataServiceResponseData>;
|
|
@@ -108,9 +111,10 @@ export declare abstract class IoneApiTransaction {
|
|
|
108
111
|
abstract getGoodsReceiptStatus(transId: number, lineNr: number): Promise<DataServiceResponseData>;
|
|
109
112
|
abstract receiveGoodsForPurchaseOrder(request: ReceiveGoodsForPurchaseOrderRequest): Promise<DataServiceResponseData>;
|
|
110
113
|
abstract receiveGoodsForPurchaseOrderCorrection(request: ReceiveGoodsForPurchaseOrderCorrectionRequest): Promise<DataServiceResponseData>;
|
|
111
|
-
abstract getPurchasePortalLines(
|
|
114
|
+
abstract getPurchasePortalLines(purchasePortalLine: GetPurchasePortalLine): Promise<DataServiceResponseData>;
|
|
112
115
|
abstract updatePurchasePortalLines(request: PurchasePortalLine): Promise<DataServiceResponseData>;
|
|
113
116
|
abstract lockPurchasePortalLines(request: GetPurchasePortalLine): Promise<DataServiceResponseData>;
|
|
114
117
|
abstract deletePurchasePortalLines(request: GetPurchasePortalLine): Promise<DataServiceResponseData>;
|
|
118
|
+
abstract getPurchaseAdviceLines(filters: PurchaseAdviceFilters, goodId?: number): Promise<DataServiceResponseData>;
|
|
115
119
|
protected endPoint: string;
|
|
116
120
|
}
|
|
@@ -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 CreatePaymentLinkResult = (function (_super) {
|
|
16
|
+
__extends(CreatePaymentLinkResult, _super);
|
|
17
|
+
function CreatePaymentLinkResult() {
|
|
18
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
19
|
+
}
|
|
20
|
+
return CreatePaymentLinkResult;
|
|
21
|
+
}(BusinessObject));
|
|
22
|
+
export { CreatePaymentLinkResult };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { BusinessObject } from "./business-object";
|
|
2
2
|
export declare class DocDeliveryBatch extends BusinessObject {
|
|
3
3
|
deliveryBatch: string;
|
|
4
|
-
docAmountOrg:
|
|
5
|
-
docAmount:
|
|
6
|
-
docDateOrg:
|
|
7
|
-
docDate:
|
|
4
|
+
docAmountOrg: number;
|
|
5
|
+
docAmount: number;
|
|
6
|
+
docDateOrg: number;
|
|
7
|
+
docDate: number;
|
|
8
8
|
reference: string;
|
|
9
|
-
confirmedPrice:
|
|
9
|
+
confirmedPrice: number;
|
|
10
10
|
deleteLine: string;
|
|
11
11
|
}
|
|
@@ -10,6 +10,7 @@ export declare class PagingParameters {
|
|
|
10
10
|
pageUpperBound: number;
|
|
11
11
|
maximumRows: number;
|
|
12
12
|
isLastPage: boolean;
|
|
13
|
-
|
|
13
|
+
resultCount: number;
|
|
14
|
+
constructor(pageLowerBound?: number, pageUpperBound?: number, maximumRows?: number, isLastPage?: boolean, resultCount?: number);
|
|
14
15
|
setData(rawData: any): void;
|
|
15
16
|
}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import { notNill } from
|
|
1
|
+
import { notNill } from '../utils/function/not-nill.function';
|
|
2
2
|
var PagingParameters = (function () {
|
|
3
|
-
function PagingParameters(pageLowerBound, pageUpperBound, maximumRows, isLastPage) {
|
|
3
|
+
function PagingParameters(pageLowerBound, pageUpperBound, maximumRows, isLastPage, resultCount) {
|
|
4
4
|
if (pageLowerBound === void 0) { pageLowerBound = 1; }
|
|
5
5
|
if (pageUpperBound === void 0) { pageUpperBound = PagingParameters.DEFAULT_UPPER_BOUND; }
|
|
6
6
|
if (maximumRows === void 0) { maximumRows = PagingParameters.DEFAULT_UPPER_BOUND; }
|
|
7
7
|
if (isLastPage === void 0) { isLastPage = false; }
|
|
8
|
+
if (resultCount === void 0) { resultCount = 0; }
|
|
8
9
|
this.pageLowerBound = pageLowerBound;
|
|
9
10
|
this.pageUpperBound = pageUpperBound;
|
|
10
11
|
this.maximumRows = maximumRows;
|
|
11
12
|
this.isLastPage = isLastPage;
|
|
13
|
+
this.resultCount = resultCount;
|
|
12
14
|
}
|
|
13
15
|
PagingParameters.prototype.setData = function (rawData) {
|
|
14
16
|
if (!rawData) {
|
|
@@ -26,6 +28,9 @@ var PagingParameters = (function () {
|
|
|
26
28
|
if (notNill(rawData.isLastPage)) {
|
|
27
29
|
this.isLastPage = rawData.isLastPage;
|
|
28
30
|
}
|
|
31
|
+
if (notNill(rawData.resultCount)) {
|
|
32
|
+
this.resultCount = rawData.resultCount;
|
|
33
|
+
}
|
|
29
34
|
};
|
|
30
35
|
PagingParameters.DEFAULT_UPPER_BOUND = 1000;
|
|
31
36
|
PagingParameters.DEFAULTS = new PagingParameters(1, PagingParameters.DEFAULT_UPPER_BOUND, PagingParameters.DEFAULT_UPPER_BOUND);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class PurchaseAdviceFilters {
|
|
2
|
+
orderDate: string;
|
|
3
|
+
deliveryDate: string;
|
|
4
|
+
branchNo: string;
|
|
5
|
+
cashNo: string;
|
|
6
|
+
purchaseCode: string;
|
|
7
|
+
salesPerson: string;
|
|
8
|
+
articleNo: string;
|
|
9
|
+
supplierNo: string;
|
|
10
|
+
salesOrderNo: string;
|
|
11
|
+
customerNo: string;
|
|
12
|
+
exceedanceCode: string;
|
|
13
|
+
turnovergroupNo: string;
|
|
14
|
+
commExcluded: string;
|
|
15
|
+
transactionKind: string;
|
|
16
|
+
targetWarehouse: number;
|
|
17
|
+
targetBranch: string;
|
|
18
|
+
warehouseCollection: number[];
|
|
19
|
+
purchaseAdvice: boolean;
|
|
20
|
+
commissionAdvice: boolean;
|
|
21
|
+
orderForComCode1: boolean;
|
|
22
|
+
linesKind: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { BusinessObject } from './business-object';
|
|
2
|
+
import { SupplierProduct } from "./supplier-product.bo";
|
|
3
|
+
export declare class PurchaseAdviceLine extends BusinessObject {
|
|
4
|
+
kindAdvice: string;
|
|
5
|
+
transId: number;
|
|
6
|
+
lineId: number;
|
|
7
|
+
orderNo: number;
|
|
8
|
+
lineNo: number;
|
|
9
|
+
orderDate: Date;
|
|
10
|
+
deliveryDate: Date;
|
|
11
|
+
deliveryDateSales: Date;
|
|
12
|
+
codeCommission: string;
|
|
13
|
+
kindTransaction: string;
|
|
14
|
+
goodId: number;
|
|
15
|
+
articleNo: string;
|
|
16
|
+
articleName: string;
|
|
17
|
+
salesDescription: string;
|
|
18
|
+
purchaseDescription: string;
|
|
19
|
+
extendedDescription: string;
|
|
20
|
+
orderCode: string;
|
|
21
|
+
turnOverGroupNo: string;
|
|
22
|
+
amountSales: number;
|
|
23
|
+
amountPurchase: number;
|
|
24
|
+
amountCommissionList: number;
|
|
25
|
+
supplierId: number;
|
|
26
|
+
supplierNo: number;
|
|
27
|
+
supplierName: string;
|
|
28
|
+
freeSupplier: string;
|
|
29
|
+
customerId: number;
|
|
30
|
+
customerNo: number;
|
|
31
|
+
customerName: string;
|
|
32
|
+
branchNo: string;
|
|
33
|
+
branchName: string;
|
|
34
|
+
warehouseNo: number;
|
|
35
|
+
currencyId: number;
|
|
36
|
+
carriageOrderAmount: number;
|
|
37
|
+
purchasePrice: number;
|
|
38
|
+
purchaseBasePrice: number;
|
|
39
|
+
shippingCost: number;
|
|
40
|
+
readilyAvailable: number;
|
|
41
|
+
minStock: number;
|
|
42
|
+
minDynamicStock: number;
|
|
43
|
+
econStock: number;
|
|
44
|
+
stockInTransit: number;
|
|
45
|
+
targetStock: number;
|
|
46
|
+
orderAmount: number;
|
|
47
|
+
orderAmountIntern: number;
|
|
48
|
+
maxStock: number;
|
|
49
|
+
amountPurchaseList: number;
|
|
50
|
+
velocityMonth: number;
|
|
51
|
+
exceedanceCode: string;
|
|
52
|
+
selected: boolean;
|
|
53
|
+
groupOrders: string;
|
|
54
|
+
targetWarehouse: number;
|
|
55
|
+
targetLocation: string;
|
|
56
|
+
targetBranch: string;
|
|
57
|
+
configuration: string;
|
|
58
|
+
showConfiguration: string;
|
|
59
|
+
dontSendOrderForms: string;
|
|
60
|
+
referenceRelation: string;
|
|
61
|
+
dropshipment: string;
|
|
62
|
+
cashOnDelivery: number;
|
|
63
|
+
aupOrderNr: string;
|
|
64
|
+
supplierProduct: SupplierProduct[];
|
|
65
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 PurchaseAdviceLine = (function (_super) {
|
|
26
|
+
__extends(PurchaseAdviceLine, _super);
|
|
27
|
+
function PurchaseAdviceLine() {
|
|
28
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
29
|
+
}
|
|
30
|
+
__decorate([
|
|
31
|
+
DateField(),
|
|
32
|
+
__metadata("design:type", Date)
|
|
33
|
+
], PurchaseAdviceLine.prototype, "orderDate", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
DateField(),
|
|
36
|
+
__metadata("design:type", Date)
|
|
37
|
+
], PurchaseAdviceLine.prototype, "deliveryDate", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
DateField(),
|
|
40
|
+
__metadata("design:type", Date)
|
|
41
|
+
], PurchaseAdviceLine.prototype, "deliveryDateSales", void 0);
|
|
42
|
+
return PurchaseAdviceLine;
|
|
43
|
+
}(BusinessObject));
|
|
44
|
+
export { PurchaseAdviceLine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BusinessObject } from "./business-object";
|
|
2
2
|
import { DocDeliveryBatch } from "./doc-delivery-batch.bo";
|
|
3
3
|
export declare class PurchasePortalLine extends BusinessObject {
|
|
4
|
-
transIdPurchase:
|
|
4
|
+
transIdPurchase: number;
|
|
5
5
|
transIdSales: string;
|
|
6
6
|
lineId: string;
|
|
7
7
|
transNo: string;
|
|
@@ -31,8 +31,8 @@ export declare class PurchasePortalLine extends BusinessObject {
|
|
|
31
31
|
amountToBeShipped: string;
|
|
32
32
|
amountSignedIn: string;
|
|
33
33
|
amountToBeConfirmed: string;
|
|
34
|
-
deliveryDate:
|
|
35
|
-
deliveryDateConfirmed:
|
|
34
|
+
deliveryDate: Date;
|
|
35
|
+
deliveryDateConfirmed: Date;
|
|
36
36
|
deliveryDateConfirmedOrg: string;
|
|
37
37
|
transportDate: string;
|
|
38
38
|
arrivalDate: string;
|
|
@@ -49,5 +49,5 @@ export declare class PurchasePortalLine extends BusinessObject {
|
|
|
49
49
|
articleNoSupplier: string;
|
|
50
50
|
deliveryBatchOrg: string;
|
|
51
51
|
deliveryBatch: string;
|
|
52
|
-
docBatchArray: DocDeliveryBatch;
|
|
52
|
+
docBatchArray: DocDeliveryBatch[];
|
|
53
53
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BusinessObject } from './business-object';
|
|
2
|
+
export declare class SupplierProduct extends BusinessObject {
|
|
3
|
+
supplierProductId: number;
|
|
4
|
+
goodId: number;
|
|
5
|
+
relationIdSupplier: number;
|
|
6
|
+
Gtin: string;
|
|
7
|
+
ArticleNoSupplier: string;
|
|
8
|
+
dropshipment: string;
|
|
9
|
+
orderingPriority: number;
|
|
10
|
+
priceDeviation: number;
|
|
11
|
+
stockSupplier: number;
|
|
12
|
+
updateStock: Date;
|
|
13
|
+
periodStartNotApplicable: Date;
|
|
14
|
+
periodStopNotApplicable: Date;
|
|
15
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 SupplierProduct = (function (_super) {
|
|
26
|
+
__extends(SupplierProduct, _super);
|
|
27
|
+
function SupplierProduct() {
|
|
28
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
29
|
+
}
|
|
30
|
+
__decorate([
|
|
31
|
+
DateField(),
|
|
32
|
+
__metadata("design:type", Date)
|
|
33
|
+
], SupplierProduct.prototype, "updateStock", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
DateField(),
|
|
36
|
+
__metadata("design:type", Date)
|
|
37
|
+
], SupplierProduct.prototype, "periodStartNotApplicable", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
DateField(),
|
|
40
|
+
__metadata("design:type", Date)
|
|
41
|
+
], SupplierProduct.prototype, "periodStopNotApplicable", void 0);
|
|
42
|
+
return SupplierProduct;
|
|
43
|
+
}(BusinessObject));
|
|
44
|
+
export { SupplierProduct };
|
|
@@ -28,8 +28,10 @@ import { ChangeHeaderTransactionDefinitiveRequest } from './model/change-header-
|
|
|
28
28
|
import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from './model/receive-goods-for-purchase-order-correction-request.bo';
|
|
29
29
|
import { CreateOutstandingEntryRequest } from './model/create-outstanding-entry-request';
|
|
30
30
|
import { PaymentRequest } from './model/payment-request';
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
31
|
+
import { PurchaseAdviceFilters } from "./model/purchase-advice-filters";
|
|
32
|
+
import { PurchasePortalLine } from './model/purchase-portal-line.bo';
|
|
33
|
+
import { GetPurchasePortalLine } from './model/get-purchase-portal-line';
|
|
34
|
+
import { CreatePaymentLinkRequest } from './model/create-payment-link-request';
|
|
33
35
|
export declare class TransactionAuth extends IoneApiTransaction {
|
|
34
36
|
private _boSerializer;
|
|
35
37
|
searchTransactions(request: TransactionSearchViewRequest): Promise<DataServiceResponseData>;
|
|
@@ -96,6 +98,7 @@ export declare class TransactionAuth extends IoneApiTransaction {
|
|
|
96
98
|
setRelationByUser(uuid: string, username: string, password: string): Promise<DataServiceResponseData>;
|
|
97
99
|
createOutstandingEntry(request: CreateOutstandingEntryRequest): Promise<DataServiceResponseData>;
|
|
98
100
|
registerSalesOrderPayment(request: PaymentRequest): Promise<DataServiceResponseData>;
|
|
101
|
+
createIonePaymentLinkAndQRCode(request: CreatePaymentLinkRequest): Promise<DataServiceResponseData>;
|
|
99
102
|
getPaymentMethods(): Promise<DataServiceResponseData>;
|
|
100
103
|
getGoodsReceiptStatusWithHistory(transId: number, lineNr: number): Promise<DataServiceResponseData>;
|
|
101
104
|
getGoodsReceiptStatus(transId: number, lineNr: number): Promise<DataServiceResponseData>;
|
|
@@ -105,6 +108,7 @@ export declare class TransactionAuth extends IoneApiTransaction {
|
|
|
105
108
|
updatePurchasePortalLines(request: PurchasePortalLine): Promise<DataServiceResponseData>;
|
|
106
109
|
lockPurchasePortalLines(request: GetPurchasePortalLine): Promise<DataServiceResponseData>;
|
|
107
110
|
deletePurchasePortalLines(request: GetPurchasePortalLine): Promise<DataServiceResponseData>;
|
|
111
|
+
getPurchaseAdviceLines(filters: PurchaseAdviceFilters, goodId?: number): Promise<DataServiceResponseData>;
|
|
108
112
|
private _getDomainCollection;
|
|
109
113
|
private _getMultipleDomainCollection;
|
|
110
114
|
private callGetNodeData;
|
|
@@ -68,7 +68,8 @@ import { TransactionObjectName } from './enum/transaction-object-name.enum';
|
|
|
68
68
|
import { TagObjectName } from './enum/tag-object-name.enum';
|
|
69
69
|
import { TagOperationName } from './enum/tag-operation-name.enum';
|
|
70
70
|
import { PaymentMethod } from './enum/payment-method.enum';
|
|
71
|
-
import {
|
|
71
|
+
import { PurchaseAdviceObjectName } from "./enum/purchase-advice-object-name.enum";
|
|
72
|
+
import { PurchasePortal } from './model/purchase-portal-object-name.enum';
|
|
72
73
|
var TransactionAuth = (function (_super) {
|
|
73
74
|
__extends(TransactionAuth, _super);
|
|
74
75
|
function TransactionAuth() {
|
|
@@ -690,7 +691,7 @@ var TransactionAuth = (function (_super) {
|
|
|
690
691
|
var params = {
|
|
691
692
|
transUUID: request.transUUID,
|
|
692
693
|
amount: request.amount,
|
|
693
|
-
|
|
694
|
+
currencyId: request.currencyId,
|
|
694
695
|
paymentMethodCode: request.paymentMethodCode,
|
|
695
696
|
cashRegisterGroupId: request.cashRegisterGroupId
|
|
696
697
|
};
|
|
@@ -702,6 +703,20 @@ var TransactionAuth = (function (_super) {
|
|
|
702
703
|
};
|
|
703
704
|
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
704
705
|
};
|
|
706
|
+
TransactionAuth.prototype.createIonePaymentLinkAndQRCode = function (request) {
|
|
707
|
+
var params = {
|
|
708
|
+
transUUID: request.transUUID,
|
|
709
|
+
amount: request.amount,
|
|
710
|
+
paymentMethodCode: request.paymentMethodCode
|
|
711
|
+
};
|
|
712
|
+
var data = {
|
|
713
|
+
moduleName: ModuleName.Accounting,
|
|
714
|
+
methodName: PaymentMethod.CreateIonePaymentLinkAndQRCode,
|
|
715
|
+
parameterValues: params,
|
|
716
|
+
refCursorAsArray: true
|
|
717
|
+
};
|
|
718
|
+
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
719
|
+
};
|
|
705
720
|
TransactionAuth.prototype.getPaymentMethods = function () {
|
|
706
721
|
return this.selectMultiple(ModuleName.MasterData, MasterDataObjectName.PaymentMethod);
|
|
707
722
|
};
|
|
@@ -792,6 +807,13 @@ var TransactionAuth = (function (_super) {
|
|
|
792
807
|
};
|
|
793
808
|
return this._call(DataServiceMethod.InsertObject, data);
|
|
794
809
|
};
|
|
810
|
+
TransactionAuth.prototype.getPurchaseAdviceLines = function (filters, goodId) {
|
|
811
|
+
var params = {
|
|
812
|
+
filterObject: filters,
|
|
813
|
+
goodId: goodId
|
|
814
|
+
};
|
|
815
|
+
return this.selectMultiple(ModuleName.PurchaseAdvice, PurchaseAdviceObjectName.PurchaseAdviceLine, undefined, params);
|
|
816
|
+
};
|
|
795
817
|
TransactionAuth.prototype._getDomainCollection = function (languageCode, domainName) {
|
|
796
818
|
var params = {
|
|
797
819
|
domainName: domainName,
|
|
@@ -28,8 +28,10 @@ import { ReceiveGoodsForPurchaseOrderRequest } from './model/receive-goods-for-p
|
|
|
28
28
|
import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from './model/receive-goods-for-purchase-order-correction-request.bo';
|
|
29
29
|
import { CreateOutstandingEntryRequest } from './model/create-outstanding-entry-request';
|
|
30
30
|
import { PaymentRequest } from './model/payment-request';
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
31
|
+
import { PurchaseAdviceFilters } from "./model/purchase-advice-filters";
|
|
32
|
+
import { GetPurchasePortalLine } from './model/get-purchase-portal-line';
|
|
33
|
+
import { PurchasePortalLine } from './model/purchase-portal-line.bo';
|
|
34
|
+
import { CreatePaymentLinkRequest } from './model/create-payment-link-request';
|
|
33
35
|
export declare class TransactionPublic extends IoneApiTransaction {
|
|
34
36
|
protected endPoint: string;
|
|
35
37
|
searchTransactions(request: TransactionSearchViewRequest): Promise<DataServiceResponseData>;
|
|
@@ -97,6 +99,7 @@ export declare class TransactionPublic extends IoneApiTransaction {
|
|
|
97
99
|
setRelationByUser(uuid: string, username: string, password: string): Promise<DataServiceResponseData>;
|
|
98
100
|
createOutstandingEntry(request: CreateOutstandingEntryRequest): Promise<DataServiceResponseData>;
|
|
99
101
|
registerSalesOrderPayment(request: PaymentRequest): Promise<DataServiceResponseData>;
|
|
102
|
+
createIonePaymentLinkAndQRCode(request: CreatePaymentLinkRequest): Promise<DataServiceResponseData>;
|
|
100
103
|
getPaymentMethods(): Promise<DataServiceResponseData>;
|
|
101
104
|
getGoodsReceiptStatusWithHistory(transId: number, lineNr: number): Promise<DataServiceResponseData>;
|
|
102
105
|
getGoodsReceiptStatus(transId: number, lineNr: number): Promise<DataServiceResponseData>;
|
|
@@ -106,6 +109,7 @@ export declare class TransactionPublic extends IoneApiTransaction {
|
|
|
106
109
|
updatePurchasePortalLines(request: PurchasePortalLine): Promise<DataServiceResponseData>;
|
|
107
110
|
lockPurchasePortalLines(request: GetPurchasePortalLine): Promise<DataServiceResponseData>;
|
|
108
111
|
deletePurchasePortalLines(request: GetPurchasePortalLine): Promise<DataServiceResponseData>;
|
|
112
|
+
getPurchaseAdviceLines(filters: PurchaseAdviceFilters, goodId?: number): Promise<DataServiceResponseData>;
|
|
109
113
|
private createServiceRequestData;
|
|
110
114
|
private _getDomainCollection;
|
|
111
115
|
private _getMultipleDomainCollection;
|
|
@@ -678,6 +678,10 @@ var TransactionPublic = (function (_super) {
|
|
|
678
678
|
console.warn('registerSalesOrderPayment not implemented');
|
|
679
679
|
return Promise.resolve(new DataServiceResponseData());
|
|
680
680
|
};
|
|
681
|
+
TransactionPublic.prototype.createIonePaymentLinkAndQRCode = function (request) {
|
|
682
|
+
console.warn('createIonePaymentLinkAndQRCode not implemented');
|
|
683
|
+
return Promise.resolve(new DataServiceResponseData());
|
|
684
|
+
};
|
|
681
685
|
TransactionPublic.prototype.getPaymentMethods = function () {
|
|
682
686
|
console.warn('registerSalesOrderPayment not implemented');
|
|
683
687
|
return Promise.resolve(new DataServiceResponseData());
|
|
@@ -734,6 +738,15 @@ var TransactionPublic = (function (_super) {
|
|
|
734
738
|
TransactionPublic.prototype.deletePurchasePortalLines = function (request) {
|
|
735
739
|
return null;
|
|
736
740
|
};
|
|
741
|
+
TransactionPublic.prototype.getPurchaseAdviceLines = function (filters, goodId) {
|
|
742
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
743
|
+
var data;
|
|
744
|
+
return __generator(this, function (_a) {
|
|
745
|
+
data = __assign({}, this.createServiceRequestData());
|
|
746
|
+
return [2, this._call(PublicServiceMethod.GetPurchaseAdviceLines, data)];
|
|
747
|
+
});
|
|
748
|
+
});
|
|
749
|
+
};
|
|
737
750
|
TransactionPublic.prototype.createServiceRequestData = function () {
|
|
738
751
|
var data = { languageCode: this.languageCode };
|
|
739
752
|
return data;
|
package/build/transaction.d.ts
CHANGED
|
@@ -31,8 +31,10 @@ import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from './model/receive-g
|
|
|
31
31
|
import { PaymentRequest } from './model/payment-request';
|
|
32
32
|
import { CreateOutstandingEntryRequest } from './model/create-outstanding-entry-request';
|
|
33
33
|
import { ChangeHeaderTransactionDefinitiveRequest } from './model/change-header-transaction-definitive-request';
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
34
|
+
import { PurchaseAdviceFilters } from "./model/purchase-advice-filters";
|
|
35
|
+
import { CreatePaymentLinkRequest } from './model/create-payment-link-request';
|
|
36
|
+
import { GetPurchasePortalLine } from './model/get-purchase-portal-line';
|
|
37
|
+
import { PurchasePortalLine } from './model/purchase-portal-line.bo';
|
|
36
38
|
export declare class Transaction {
|
|
37
39
|
readonly showLoader: Subject<boolean>;
|
|
38
40
|
readonly connectionAborted: Subject<void>;
|
|
@@ -116,11 +118,13 @@ export declare class Transaction {
|
|
|
116
118
|
getGoodsReceiptStatus(transId: number, lineNr: number): Promise<DataServiceResponseData>;
|
|
117
119
|
receiveGoodsForPurchaseOrder(request: ReceiveGoodsForPurchaseOrderRequest): Promise<DataServiceResponseData>;
|
|
118
120
|
receiveGoodsForPurchaseOrderCorrection(request: ReceiveGoodsForPurchaseOrderCorrectionRequest): Promise<DataServiceResponseData>;
|
|
121
|
+
getPurchaseAdviceLines(filters: PurchaseAdviceFilters, goodId?: number): Promise<DataServiceResponseData>;
|
|
119
122
|
setRelationByUser(uuid: string, username: string, password: string): Promise<DataServiceResponseData>;
|
|
120
123
|
createOutstandingEntry(request: CreateOutstandingEntryRequest): Promise<DataServiceResponseData>;
|
|
121
124
|
registerSalesOrderPayment(request: PaymentRequest): Promise<DataServiceResponseData>;
|
|
125
|
+
createIonePaymentLinkAndQRCode(request: CreatePaymentLinkRequest): Promise<DataServiceResponseData>;
|
|
122
126
|
getPaymentMethods(): Promise<DataServiceResponseData>;
|
|
123
|
-
getPurchasePortalLines(
|
|
127
|
+
getPurchasePortalLines(purchasePortalLine: GetPurchasePortalLine): Promise<DataServiceResponseData>;
|
|
124
128
|
updatePurchasePortalLines(request: PurchasePortalLine): Promise<DataServiceResponseData>;
|
|
125
129
|
lockPurchasePortalLines(request: GetPurchasePortalLine): Promise<DataServiceResponseData>;
|
|
126
130
|
deletePurchasePortalLines(request: GetPurchasePortalLine): Promise<DataServiceResponseData>;
|
package/build/transaction.js
CHANGED
|
@@ -274,6 +274,9 @@ var Transaction = (function () {
|
|
|
274
274
|
Transaction.prototype.receiveGoodsForPurchaseOrderCorrection = function (request) {
|
|
275
275
|
return this.transaction.receiveGoodsForPurchaseOrderCorrection(request);
|
|
276
276
|
};
|
|
277
|
+
Transaction.prototype.getPurchaseAdviceLines = function (filters, goodId) {
|
|
278
|
+
return this.transaction.getPurchaseAdviceLines(filters, goodId);
|
|
279
|
+
};
|
|
277
280
|
Transaction.prototype.setRelationByUser = function (uuid, username, password) {
|
|
278
281
|
return __awaiter(this, void 0, void 0, function () {
|
|
279
282
|
return __generator(this, function (_a) {
|
|
@@ -287,13 +290,16 @@ var Transaction = (function () {
|
|
|
287
290
|
Transaction.prototype.registerSalesOrderPayment = function (request) {
|
|
288
291
|
return this.transaction.registerSalesOrderPayment(request);
|
|
289
292
|
};
|
|
293
|
+
Transaction.prototype.createIonePaymentLinkAndQRCode = function (request) {
|
|
294
|
+
return this.transaction.createIonePaymentLinkAndQRCode(request);
|
|
295
|
+
};
|
|
290
296
|
Transaction.prototype.getPaymentMethods = function () {
|
|
291
297
|
return this.transaction.getPaymentMethods();
|
|
292
298
|
};
|
|
293
|
-
Transaction.prototype.getPurchasePortalLines = function (
|
|
299
|
+
Transaction.prototype.getPurchasePortalLines = function (purchasePortalLine) {
|
|
294
300
|
return __awaiter(this, void 0, void 0, function () {
|
|
295
301
|
return __generator(this, function (_a) {
|
|
296
|
-
return [2, this.transaction.getPurchasePortalLines(
|
|
302
|
+
return [2, this.transaction.getPurchasePortalLines(purchasePortalLine)];
|
|
297
303
|
});
|
|
298
304
|
});
|
|
299
305
|
};
|
|
@@ -39,9 +39,11 @@ import { RelationRequest } from './model/relation-request';
|
|
|
39
39
|
import { TransactionKind } from './enum/transaction-kind.enum';
|
|
40
40
|
import { SequenceName } from './enum/sequence-name.enum';
|
|
41
41
|
import { TransactionSearchViewRequest } from './model/transaction-search-view-request';
|
|
42
|
+
import { PurchaseAdviceFilters } from "./model/purchase-advice-filters";
|
|
42
43
|
import { PurchasePortalFilters } from "./model/purchase-portal-filters.bo";
|
|
43
44
|
import { GetPurchasePortalLine } from "./model/get-purchase-portal-line";
|
|
44
45
|
import { PurchasePortalLine } from "./model/purchase-portal-line.bo";
|
|
46
|
+
import { DocDeliveryBatch } from "./model/doc-delivery-batch.bo";
|
|
45
47
|
var options = {
|
|
46
48
|
url: 'http',
|
|
47
49
|
ajaxUrl: 'http'
|
|
@@ -64,6 +66,15 @@ var remoteOptions = {
|
|
|
64
66
|
username: "patrick",
|
|
65
67
|
password: "patrick"
|
|
66
68
|
};
|
|
69
|
+
var developRemoteOptions = {
|
|
70
|
+
url: "http://130.62.7.55:8888/ione/",
|
|
71
|
+
ajaxUrl: "http://130.62.7.55:8888/ione/",
|
|
72
|
+
schema: "815",
|
|
73
|
+
version: "252",
|
|
74
|
+
useLoginEncryption: true,
|
|
75
|
+
username: "patrick",
|
|
76
|
+
password: "patrick"
|
|
77
|
+
};
|
|
67
78
|
var publicOptions = {
|
|
68
79
|
url: "http://130.62.7.180:8082/ione",
|
|
69
80
|
ajaxUrl: "http://130.62.7.180:8082/ione",
|
|
@@ -73,7 +84,7 @@ var publicOptions = {
|
|
|
73
84
|
describe("TransactionAPI", function () {
|
|
74
85
|
var transaction;
|
|
75
86
|
beforeEach(function () {
|
|
76
|
-
transaction = new Transaction(
|
|
87
|
+
transaction = new Transaction(developRemoteOptions);
|
|
77
88
|
jest.setTimeout(30000);
|
|
78
89
|
});
|
|
79
90
|
it('getPostalCodeRetrieval_shouldContainCityMiddelburg', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -199,7 +210,7 @@ describe("TransactionAPI", function () {
|
|
|
199
210
|
}
|
|
200
211
|
});
|
|
201
212
|
}); });
|
|
202
|
-
it('
|
|
213
|
+
it('getPurchasePortalLines', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
203
214
|
var purchasePortalFilter, purchasePortalLine, result;
|
|
204
215
|
return __generator(this, function (_a) {
|
|
205
216
|
switch (_a.label) {
|
|
@@ -245,12 +256,21 @@ describe("TransactionAPI", function () {
|
|
|
245
256
|
});
|
|
246
257
|
}); });
|
|
247
258
|
it('updatePurchaseOrderLines', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
248
|
-
var purchasePortalLine, result;
|
|
259
|
+
var docBatchArray, purchasePortalLine, result;
|
|
249
260
|
return __generator(this, function (_a) {
|
|
250
261
|
switch (_a.label) {
|
|
251
262
|
case 0:
|
|
263
|
+
docBatchArray = new DocDeliveryBatch();
|
|
264
|
+
docBatchArray.deliveryBatch = "batch3";
|
|
265
|
+
docBatchArray.docAmount = 1;
|
|
266
|
+
docBatchArray.confirmedPrice = 10;
|
|
267
|
+
docBatchArray.reference = "Test ref";
|
|
268
|
+
docBatchArray.deleteLine = "F";
|
|
269
|
+
docBatchArray.docAmount = 2;
|
|
270
|
+
docBatchArray.docDate = 1656626400000;
|
|
271
|
+
docBatchArray.docDateOrg = 1656626400000;
|
|
252
272
|
purchasePortalLine = new PurchasePortalLine();
|
|
253
|
-
purchasePortalLine.transIdPurchase =
|
|
273
|
+
purchasePortalLine.transIdPurchase = 108937;
|
|
254
274
|
purchasePortalLine.transIdSales = null;
|
|
255
275
|
purchasePortalLine.lineId = null;
|
|
256
276
|
purchasePortalLine.transNo = null;
|
|
@@ -298,7 +318,7 @@ describe("TransactionAPI", function () {
|
|
|
298
318
|
purchasePortalLine.articleNoSupplier = null;
|
|
299
319
|
purchasePortalLine.deliveryBatchOrg = null;
|
|
300
320
|
purchasePortalLine.deliveryBatch = null;
|
|
301
|
-
purchasePortalLine.docBatchArray =
|
|
321
|
+
purchasePortalLine.docBatchArray = [docBatchArray];
|
|
302
322
|
return [4, transaction.updatePurchasePortalLines(purchasePortalLine)];
|
|
303
323
|
case 1:
|
|
304
324
|
result = _a.sent();
|
|
@@ -531,4 +551,23 @@ describe("TransactionAPI", function () {
|
|
|
531
551
|
}
|
|
532
552
|
});
|
|
533
553
|
}); });
|
|
554
|
+
it('getPurchaseAdviceLines', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
555
|
+
var filterObject, result;
|
|
556
|
+
return __generator(this, function (_a) {
|
|
557
|
+
switch (_a.label) {
|
|
558
|
+
case 0:
|
|
559
|
+
filterObject = new PurchaseAdviceFilters();
|
|
560
|
+
filterObject.transactionKind = 'A';
|
|
561
|
+
filterObject.purchaseAdvice = true;
|
|
562
|
+
filterObject.commissionAdvice = false;
|
|
563
|
+
filterObject.orderForComCode1 = true;
|
|
564
|
+
filterObject.warehouseCollection = [1];
|
|
565
|
+
return [4, transaction.getPurchaseAdviceLines(filterObject)];
|
|
566
|
+
case 1:
|
|
567
|
+
result = _a.sent();
|
|
568
|
+
expect(result.validationResult.success).toBeTruthy();
|
|
569
|
+
return [2];
|
|
570
|
+
}
|
|
571
|
+
});
|
|
572
|
+
}); });
|
|
534
573
|
});
|