@colijnit/transactionapi 1.1.156 → 1.1.157
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 +1 -0
- package/build/model/outstanding-amount-customer.bo.d.ts +32 -0
- package/build/model/outstanding-amount-customer.bo.js +7 -0
- package/build/transaction-auth.d.ts +1 -0
- package/build/transaction-auth.js +21 -0
- package/build/transaction-public.d.ts +1 -0
- package/build/transaction-public.js +4 -0
- package/build/transaction.d.ts +1 -0
- package/build/transaction.js +3 -0
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ export declare enum PaymentMethod {
|
|
|
4
4
|
CreateIonePaymentLinkAndQRCode = "createIonePaymentLinkAndQRCode",
|
|
5
5
|
GetPaymentLinkStatus = "getPaymentLinkStatus",
|
|
6
6
|
GetDepositPaymentInfo = "getDepositPaymentInfo",
|
|
7
|
+
GetOutstandingCustomerAmounts = "getOutstandingCustomerAmounts",
|
|
7
8
|
GetRegisteredPaymentInfo = "getRegisteredPaymentInfo",
|
|
8
9
|
GetPaymentMethodsForSalesOrder = "getPaymentMethodsForSalesOrder",
|
|
9
10
|
GetPaymentMethodsForCashRegister = "getPaymentMethodsForCashRegister",
|
|
@@ -8,6 +8,7 @@ var PaymentMethod;
|
|
|
8
8
|
PaymentMethod["CreateIonePaymentLinkAndQRCode"] = "createIonePaymentLinkAndQRCode";
|
|
9
9
|
PaymentMethod["GetPaymentLinkStatus"] = "getPaymentLinkStatus";
|
|
10
10
|
PaymentMethod["GetDepositPaymentInfo"] = "getDepositPaymentInfo";
|
|
11
|
+
PaymentMethod["GetOutstandingCustomerAmounts"] = "getOutstandingCustomerAmounts";
|
|
11
12
|
PaymentMethod["GetRegisteredPaymentInfo"] = "getRegisteredPaymentInfo";
|
|
12
13
|
PaymentMethod["GetPaymentMethodsForSalesOrder"] = "getPaymentMethodsForSalesOrder";
|
|
13
14
|
PaymentMethod["GetPaymentMethodsForCashRegister"] = "getPaymentMethodsForCashRegister";
|
|
@@ -213,6 +213,7 @@ export declare abstract class IoneApiTransaction {
|
|
|
213
213
|
abstract createIonePaymentLinkAndQRCode(request: CreatePaymentLinkRequest, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
214
214
|
abstract getPaymentLinkStatus(paymentLinkUUID: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
215
215
|
abstract getDepositPaymentInfo(uuid: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
216
|
+
abstract getOutstandingCustomerAmounts(adminIds: number[], transactionId?: number, startDate?: Date, endDate?: Date, branchNumbers?: string[], salesPersonIds?: number[], relationIds?: string[], invoiceNumbers?: string[], expirationDateCalculationType?: string, expiryCategory?: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
216
217
|
abstract getRegisteredPaymentInfo(uuid: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
217
218
|
abstract getMaxConfirmedDeliveryDateForPurchaseOrder(purchaseOrderTransId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
218
219
|
abstract getCauseCodes(showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
2
|
+
export declare class OutstandingAmountCustomer extends BusinessObject {
|
|
3
|
+
bookingYear: string;
|
|
4
|
+
adminCode: string;
|
|
5
|
+
relationId: number;
|
|
6
|
+
customerNumber: number;
|
|
7
|
+
customerName: string;
|
|
8
|
+
customerFinancialGroupId: string;
|
|
9
|
+
transactionId: number;
|
|
10
|
+
invoiceNumber: string;
|
|
11
|
+
journalItemNumbers: string;
|
|
12
|
+
bookingDate: Date;
|
|
13
|
+
downPayment: boolean;
|
|
14
|
+
orderNumbers: string;
|
|
15
|
+
orderDate: Date;
|
|
16
|
+
orderTransactionKind: string;
|
|
17
|
+
orderPaymentCondition: string;
|
|
18
|
+
currencyId: number;
|
|
19
|
+
currSymbolChr: number;
|
|
20
|
+
invoiceAmount: number;
|
|
21
|
+
invoiceAmountCurrency: number;
|
|
22
|
+
paidAmount: number;
|
|
23
|
+
paidAmountCurrency: number;
|
|
24
|
+
outstandingAmount: number;
|
|
25
|
+
outstandingAmountCurrency: number;
|
|
26
|
+
expirationDate: Date;
|
|
27
|
+
expiryCategory: string;
|
|
28
|
+
salesPersonId: number;
|
|
29
|
+
costId: number;
|
|
30
|
+
paymentMethodCode: string;
|
|
31
|
+
reservedOutstandingAmount: number;
|
|
32
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OutstandingAmountCustomer = void 0;
|
|
4
|
+
const business_object_1 = require("@colijnit/ioneconnector/build/model/business-object");
|
|
5
|
+
class OutstandingAmountCustomer extends business_object_1.BusinessObject {
|
|
6
|
+
}
|
|
7
|
+
exports.OutstandingAmountCustomer = OutstandingAmountCustomer;
|
|
@@ -263,6 +263,7 @@ export declare class TransactionAuth extends IoneApiTransaction {
|
|
|
263
263
|
createIonePaymentLinkAndQRCode(request: CreatePaymentLinkRequest, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
264
264
|
getPaymentLinkStatus(paymentLinkUUID: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
265
265
|
getDepositPaymentInfo(uuid: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
266
|
+
getOutstandingCustomerAmounts(adminIds: number[], transactionId?: number, startDate?: Date, endDate?: Date, branchNumbers?: string[], salesPersonIds?: number[], relationIds?: string[], invoiceNumbers?: string[], expirationDateCalculationType?: string, expiryCategory?: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
266
267
|
getRegisteredPaymentInfo(uuid: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
267
268
|
getMaxConfirmedDeliveryDateForPurchaseOrder(purchaseOrderTransId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
268
269
|
getPaymentMethods(showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
@@ -1114,6 +1114,27 @@ class TransactionAuth extends ione_api_transaction_1.IoneApiTransaction {
|
|
|
1114
1114
|
};
|
|
1115
1115
|
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data, backend_service_name_enum_1.BackendServiceName.DataService, showLoader);
|
|
1116
1116
|
}
|
|
1117
|
+
getOutstandingCustomerAmounts(adminIds, transactionId, startDate, endDate, branchNumbers, salesPersonIds, relationIds, invoiceNumbers, expirationDateCalculationType, expiryCategory, showLoader) {
|
|
1118
|
+
const params = {
|
|
1119
|
+
adminIds: adminIds,
|
|
1120
|
+
transactionId: transactionId,
|
|
1121
|
+
startDate: startDate,
|
|
1122
|
+
endDate: endDate,
|
|
1123
|
+
branchNumbers: branchNumbers,
|
|
1124
|
+
salesPersonIds: salesPersonIds,
|
|
1125
|
+
relationIds: relationIds,
|
|
1126
|
+
invoiceNumbers: invoiceNumbers,
|
|
1127
|
+
expirationDateCalculationType: expirationDateCalculationType,
|
|
1128
|
+
expiryCategory: expiryCategory
|
|
1129
|
+
};
|
|
1130
|
+
const data = {
|
|
1131
|
+
moduleName: module_name_enum_1.ModuleName.Financial,
|
|
1132
|
+
methodName: payment_method_enum_1.PaymentMethod.GetOutstandingCustomerAmounts,
|
|
1133
|
+
parameterValues: params,
|
|
1134
|
+
refCursorAsArray: true
|
|
1135
|
+
};
|
|
1136
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data, backend_service_name_enum_1.BackendServiceName.DataService, showLoader);
|
|
1137
|
+
}
|
|
1117
1138
|
getRegisteredPaymentInfo(uuid, showLoader) {
|
|
1118
1139
|
const params = {
|
|
1119
1140
|
transactionUUID: uuid
|
|
@@ -261,6 +261,7 @@ export declare class TransactionPublic extends IoneApiTransaction {
|
|
|
261
261
|
createIonePaymentLinkAndQRCode(request: CreatePaymentLinkRequest, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
262
262
|
getPaymentLinkStatus(paymentLinkUUID: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
263
263
|
getDepositPaymentInfo(uuid: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
264
|
+
getOutstandingCustomerAmounts(adminIds: number[], transactionId?: number, startDate?: Date, endDate?: Date, branchNumbers?: string[], salesPersonIds?: number[], relationIds?: string[], invoiceNumbers?: string[], expirationDateCalculationType?: string, expiryCategory?: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
264
265
|
getRegisteredPaymentInfo(uuid: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
265
266
|
getMaxConfirmedDeliveryDateForPurchaseOrder(purchaseOrderTransId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
266
267
|
getPaymentMethods(showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
@@ -609,6 +609,10 @@ class TransactionPublic extends ione_api_transaction_1.IoneApiTransaction {
|
|
|
609
609
|
console.warn('getDepositPaymentInfo not implemented');
|
|
610
610
|
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
611
611
|
}
|
|
612
|
+
getOutstandingCustomerAmounts(adminIds, transactionId, startDate, endDate, branchNumbers, salesPersonIds, relationIds, invoiceNumbers, expirationDateCalculationType, expiryCategory, showLoader) {
|
|
613
|
+
console.warn('getOutstandingCustomerAmounts not implemented');
|
|
614
|
+
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
615
|
+
}
|
|
612
616
|
getRegisteredPaymentInfo(uuid, showLoader) {
|
|
613
617
|
console.warn('getRegisteredPaymentInfo not implemented');
|
|
614
618
|
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
package/build/transaction.d.ts
CHANGED
|
@@ -208,6 +208,7 @@ export declare class Transaction {
|
|
|
208
208
|
getCashTypes(type: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
209
209
|
getPosGroups(showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
210
210
|
getDepositPaymentInfo(uuid: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
211
|
+
getOutstandingCustomerAmounts(adminIds: number[], transactionId?: number, startDate?: Date, endDate?: Date, branchNumbers?: string[], salesPersonIds?: number[], relationIds?: string[], invoiceNumbers?: string[], expirationDateCalculationType?: string, expiryCategory?: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
211
212
|
getRegisteredPaymentInfo(uuid: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
212
213
|
getMaxConfirmedDeliveryDateForPurchaseOrder(purchaseOrderTransId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
213
214
|
addRelationToTransaction(uuid: string, relationId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
package/build/transaction.js
CHANGED
|
@@ -173,6 +173,9 @@ class Transaction {
|
|
|
173
173
|
getDepositPaymentInfo(uuid, showLoader) {
|
|
174
174
|
return this.transaction.getDepositPaymentInfo(uuid, showLoader);
|
|
175
175
|
}
|
|
176
|
+
getOutstandingCustomerAmounts(adminIds, transactionId, startDate, endDate, branchNumbers, salesPersonIds, relationIds, invoiceNumbers, expirationDateCalculationType, expiryCategory, showLoader) {
|
|
177
|
+
return this.transaction.getOutstandingCustomerAmounts(adminIds, transactionId, startDate, endDate, branchNumbers, salesPersonIds, relationIds, invoiceNumbers, expirationDateCalculationType, expiryCategory, showLoader);
|
|
178
|
+
}
|
|
176
179
|
getRegisteredPaymentInfo(uuid, showLoader) {
|
|
177
180
|
return this.transaction.getRegisteredPaymentInfo(uuid, showLoader);
|
|
178
181
|
}
|