@colijnit/transactionapi 257.1.4 → 257.1.6
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/payment-method.enum.d.ts +1 -0
- package/build/enum/payment-method.enum.js +1 -0
- package/build/ione-api-transaction.d.ts +2 -0
- package/build/model/order-payment-analysis-filter.bo.d.ts +4 -0
- package/build/model/order-payment-analysis-filter.bo.js +7 -0
- package/build/model/order-payment-analysis.bo.d.ts +12 -0
- package/build/model/order-payment-analysis.bo.js +21 -0
- package/build/model/transaction-line-info.bo.d.ts +1 -0
- package/build/model/transaction-line-info.bo.js +5 -0
- package/build/transaction-auth.d.ts +2 -0
- package/build/transaction-auth.js +9 -0
- package/build/transaction-public.d.ts +2 -0
- package/build/transaction-public.js +4 -0
- package/build/transaction.d.ts +2 -0
- package/build/transaction.js +3 -0
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ export declare enum PaymentMethod {
|
|
|
5
5
|
GetPaymentLinkStatus = "getPaymentLinkStatus",
|
|
6
6
|
GetDepositPaymentInfo = "getDepositPaymentInfo",
|
|
7
7
|
GetOutstandingCustomerAmounts = "getOutstandingCustomerAmounts",
|
|
8
|
+
GetSalesOrderPaymentAnalysis = "getSalesOrderPaymentAnalysis",
|
|
8
9
|
GetPaymentAnalysis = "getPaymentAnalysis",
|
|
9
10
|
GetRegisteredPaymentInfo = "getRegisteredPaymentInfo",
|
|
10
11
|
GetPaymentMethodsForSalesOrder = "getPaymentMethodsForSalesOrder",
|
|
@@ -9,6 +9,7 @@ var PaymentMethod;
|
|
|
9
9
|
PaymentMethod["GetPaymentLinkStatus"] = "getPaymentLinkStatus";
|
|
10
10
|
PaymentMethod["GetDepositPaymentInfo"] = "getDepositPaymentInfo";
|
|
11
11
|
PaymentMethod["GetOutstandingCustomerAmounts"] = "getOutstandingCustomerAmounts";
|
|
12
|
+
PaymentMethod["GetSalesOrderPaymentAnalysis"] = "getSalesOrderPaymentAnalysis";
|
|
12
13
|
PaymentMethod["GetPaymentAnalysis"] = "getPaymentAnalysis";
|
|
13
14
|
PaymentMethod["GetRegisteredPaymentInfo"] = "getRegisteredPaymentInfo";
|
|
14
15
|
PaymentMethod["GetPaymentMethodsForSalesOrder"] = "getPaymentMethodsForSalesOrder";
|
|
@@ -174,6 +174,7 @@ import { ChangeLineQuantitySelectNoneRequest } from "./model/change-line-quantit
|
|
|
174
174
|
import { BatchTransactionSendingRequest } from "./model/batch-transaction-sending-request";
|
|
175
175
|
import { TransactionLineCopyRequest } from "./model/transaction-line-copy-request.bo";
|
|
176
176
|
import { OutstandingAmountFilterCustomer } from './model/outstanding-amount-filter-customer.bo';
|
|
177
|
+
import { OrderPaymentAnalysisFilter } from './model/order-payment-analysis-filter.bo';
|
|
177
178
|
export declare abstract class IoneApiTransaction {
|
|
178
179
|
readonly showLoader: Subject<boolean>;
|
|
179
180
|
readonly connectionAborted: Subject<void>;
|
|
@@ -256,6 +257,7 @@ export declare abstract class IoneApiTransaction {
|
|
|
256
257
|
abstract getPaymentLinkStatus(paymentLinkUUID: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
257
258
|
abstract getDepositPaymentInfo(uuid: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
258
259
|
abstract getOutstandingCustomerAmounts(request: OutstandingAmountFilterCustomer, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
260
|
+
abstract getSalesOrderPaymentAnalysis(request: OrderPaymentAnalysisFilter, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
259
261
|
abstract getPaymentAnalysis(uuid: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
260
262
|
abstract getRegisteredPaymentInfo(uuid: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
261
263
|
abstract getMaxConfirmedDeliveryDateForPurchaseOrder(purchaseOrderTransId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrderPaymentAnalysisFilter = void 0;
|
|
4
|
+
const business_object_1 = require("@colijnit/ioneconnector/build/model/business-object");
|
|
5
|
+
class OrderPaymentAnalysisFilter extends business_object_1.BusinessObject {
|
|
6
|
+
}
|
|
7
|
+
exports.OrderPaymentAnalysisFilter = OrderPaymentAnalysisFilter;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
2
|
+
export declare class OrderPaymentAnalysis extends BusinessObject {
|
|
3
|
+
transactionId: number;
|
|
4
|
+
transactionNumber: string;
|
|
5
|
+
transactionKind: string;
|
|
6
|
+
transactionDate: Date;
|
|
7
|
+
description: string;
|
|
8
|
+
invoiceAmount: number;
|
|
9
|
+
paidAmount: number;
|
|
10
|
+
settledAmount: number;
|
|
11
|
+
outstandingAmount: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.OrderPaymentAnalysis = void 0;
|
|
13
|
+
const business_object_1 = require("@colijnit/ioneconnector/build/model/business-object");
|
|
14
|
+
const date_field_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/date-field.decorator");
|
|
15
|
+
class OrderPaymentAnalysis extends business_object_1.BusinessObject {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, date_field_decorator_1.DateField)(),
|
|
19
|
+
__metadata("design:type", Date)
|
|
20
|
+
], OrderPaymentAnalysis.prototype, "transactionDate", void 0);
|
|
21
|
+
exports.OrderPaymentAnalysis = OrderPaymentAnalysis;
|
|
@@ -122,6 +122,7 @@ export declare class TransactionLineInfo extends BusinessObject {
|
|
|
122
122
|
purchasePortalLine: PurchasePortalLine;
|
|
123
123
|
refTransactions: TransactionRefTransaction[];
|
|
124
124
|
refServiceTransactions: TransactionRefTransaction[];
|
|
125
|
+
refTransactionsPurchase: TransactionRefTransaction[];
|
|
125
126
|
deliveryCostLine: boolean;
|
|
126
127
|
linkedAnalysisResultId: number;
|
|
127
128
|
set visible(value: boolean);
|
|
@@ -35,6 +35,7 @@ class TransactionLineInfo extends business_object_1.BusinessObject {
|
|
|
35
35
|
this.purchasePortalLine = new purchase_portal_line_bo_1.PurchasePortalLine();
|
|
36
36
|
this.refTransactions = [];
|
|
37
37
|
this.refServiceTransactions = [];
|
|
38
|
+
this.refTransactionsPurchase = [];
|
|
38
39
|
this.deliveryCostLine = false;
|
|
39
40
|
this.visibilityChange = new rxjs_1.Subject();
|
|
40
41
|
this._visible = false;
|
|
@@ -228,6 +229,10 @@ __decorate([
|
|
|
228
229
|
(0, no_db_field_decorator_1.NoDbField)(),
|
|
229
230
|
__metadata("design:type", Array)
|
|
230
231
|
], TransactionLineInfo.prototype, "refServiceTransactions", void 0);
|
|
232
|
+
__decorate([
|
|
233
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
234
|
+
__metadata("design:type", Array)
|
|
235
|
+
], TransactionLineInfo.prototype, "refTransactionsPurchase", void 0);
|
|
231
236
|
__decorate([
|
|
232
237
|
(0, no_db_field_decorator_1.NoDbField)(),
|
|
233
238
|
__metadata("design:type", Boolean)
|
|
@@ -173,6 +173,7 @@ import { ChangeLineQuantitySelectNoneRequest } from "./model/change-line-quantit
|
|
|
173
173
|
import { EmailActivityRequest } from "./model/email-activity-request";
|
|
174
174
|
import { TransactionLineCopyRequest } from "./model/transaction-line-copy-request.bo";
|
|
175
175
|
import { OutstandingAmountFilterCustomer } from './model/outstanding-amount-filter-customer.bo';
|
|
176
|
+
import { OrderPaymentAnalysisFilter } from './model/order-payment-analysis-filter.bo';
|
|
176
177
|
export declare class TransactionAuth extends IoneApiTransaction {
|
|
177
178
|
private _boSerializer;
|
|
178
179
|
searchTransactions(request: TransactionSearchViewRequest, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
@@ -317,6 +318,7 @@ export declare class TransactionAuth extends IoneApiTransaction {
|
|
|
317
318
|
getPaymentLinkStatus(paymentLinkUUID: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
318
319
|
getDepositPaymentInfo(uuid: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
319
320
|
getOutstandingCustomerAmounts(request: OutstandingAmountFilterCustomer, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
321
|
+
getSalesOrderPaymentAnalysis(request: OrderPaymentAnalysisFilter, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
320
322
|
getPaymentAnalysis(uuid: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
321
323
|
getRegisteredPaymentInfo(uuid: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
322
324
|
getMaxConfirmedDeliveryDateForPurchaseOrder(purchaseOrderTransId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
@@ -1289,6 +1289,15 @@ class TransactionAuth extends ione_api_transaction_1.IoneApiTransaction {
|
|
|
1289
1289
|
};
|
|
1290
1290
|
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data, backend_service_name_enum_1.BackendServiceName.DataService, showLoader);
|
|
1291
1291
|
}
|
|
1292
|
+
getSalesOrderPaymentAnalysis(request, showLoader) {
|
|
1293
|
+
const data = {
|
|
1294
|
+
moduleName: module_name_enum_1.ModuleName.Financial,
|
|
1295
|
+
methodName: payment_method_enum_1.PaymentMethod.GetSalesOrderPaymentAnalysis,
|
|
1296
|
+
parameterValues: request,
|
|
1297
|
+
refCursorAsArray: true
|
|
1298
|
+
};
|
|
1299
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data, backend_service_name_enum_1.BackendServiceName.DataService, showLoader);
|
|
1300
|
+
}
|
|
1292
1301
|
getPaymentAnalysis(uuid, showLoader) {
|
|
1293
1302
|
const params = {
|
|
1294
1303
|
transactionUUID: uuid
|
|
@@ -173,6 +173,7 @@ import { ChangeLineQuantitySelectNoneRequest } from "./model/change-line-quantit
|
|
|
173
173
|
import { BatchTransactionSendingRequest } from "./model/batch-transaction-sending-request";
|
|
174
174
|
import { TransactionLineCopyRequest } from "./model/transaction-line-copy-request.bo";
|
|
175
175
|
import { OutstandingAmountFilterCustomer } from './model/outstanding-amount-filter-customer.bo';
|
|
176
|
+
import { OrderPaymentAnalysisFilter } from './model/order-payment-analysis-filter.bo';
|
|
176
177
|
export declare class TransactionPublic extends IoneApiTransaction {
|
|
177
178
|
protected endPoint: string;
|
|
178
179
|
searchTransactions(request: TransactionSearchViewRequest, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
@@ -315,6 +316,7 @@ export declare class TransactionPublic extends IoneApiTransaction {
|
|
|
315
316
|
getPaymentLinkStatus(paymentLinkUUID: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
316
317
|
getDepositPaymentInfo(uuid: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
317
318
|
getOutstandingCustomerAmounts(request: OutstandingAmountFilterCustomer, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
319
|
+
getSalesOrderPaymentAnalysis(request: OrderPaymentAnalysisFilter, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
318
320
|
getPaymentAnalysis(uuid: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
319
321
|
getRegisteredPaymentInfo(uuid: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
320
322
|
getMaxConfirmedDeliveryDateForPurchaseOrder(purchaseOrderTransId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
@@ -704,6 +704,10 @@ class TransactionPublic extends ione_api_transaction_1.IoneApiTransaction {
|
|
|
704
704
|
console.warn('getOutstandingCustomerAmounts not implemented');
|
|
705
705
|
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
706
706
|
}
|
|
707
|
+
getSalesOrderPaymentAnalysis(request, showLoader) {
|
|
708
|
+
console.warn('getSalesOrderPaymentAnalysis not implemented');
|
|
709
|
+
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
710
|
+
}
|
|
707
711
|
getPaymentAnalysis(uuid, showLoader) {
|
|
708
712
|
console.warn('getPaymentAnalysis not implemented');
|
|
709
713
|
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
package/build/transaction.d.ts
CHANGED
|
@@ -177,6 +177,7 @@ import { ChangeLineQuantitySelectNoneRequest } from "./model/change-line-quantit
|
|
|
177
177
|
import { BatchTransactionSendingRequest } from "./model/batch-transaction-sending-request";
|
|
178
178
|
import { TransactionLineCopyRequest } from "./model/transaction-line-copy-request.bo";
|
|
179
179
|
import { OutstandingAmountFilterCustomer } from './model/outstanding-amount-filter-customer.bo';
|
|
180
|
+
import { OrderPaymentAnalysisFilter } from './model/order-payment-analysis-filter.bo';
|
|
180
181
|
export declare class Transaction {
|
|
181
182
|
showLoader: Subject<boolean>;
|
|
182
183
|
connectionAborted: Subject<void>;
|
|
@@ -254,6 +255,7 @@ export declare class Transaction {
|
|
|
254
255
|
getServiceTypes(showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
255
256
|
getDepositPaymentInfo(uuid: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
256
257
|
getOutstandingCustomerAmounts(request: OutstandingAmountFilterCustomer, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
258
|
+
getSalesOrderPaymentAnalysis(request: OrderPaymentAnalysisFilter, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
257
259
|
getPaymentAnalysis(uuid: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
258
260
|
getRegisteredPaymentInfo(uuid: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
259
261
|
getMaxConfirmedDeliveryDateForPurchaseOrder(purchaseOrderTransId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
package/build/transaction.js
CHANGED
|
@@ -218,6 +218,9 @@ class Transaction {
|
|
|
218
218
|
getOutstandingCustomerAmounts(request, showLoader) {
|
|
219
219
|
return this.transaction.getOutstandingCustomerAmounts(request, showLoader);
|
|
220
220
|
}
|
|
221
|
+
getSalesOrderPaymentAnalysis(request, showLoader) {
|
|
222
|
+
return this.transaction.getSalesOrderPaymentAnalysis(request, showLoader);
|
|
223
|
+
}
|
|
221
224
|
getPaymentAnalysis(uuid, showLoader) {
|
|
222
225
|
return this.transaction.getPaymentAnalysis(uuid, showLoader);
|
|
223
226
|
}
|