@colijnit/transactionapi 256.1.29 → 256.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/article-method.enum.d.ts +2 -1
- package/build/enum/article-method.enum.js +1 -0
- package/build/ione-api-transaction.d.ts +1 -0
- package/build/transaction-auth.d.ts +1 -0
- package/build/transaction-auth.js +13 -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
|
@@ -44,5 +44,6 @@ export declare enum ArticleMethod {
|
|
|
44
44
|
SelectorActiveNodes = "selectorActiveNodes",
|
|
45
45
|
NavigateTo = "navigateTo",
|
|
46
46
|
SelectorMatchTable = "selectorMatchTabel",
|
|
47
|
-
GetAnswerTexts = "getAnswerTexts"
|
|
47
|
+
GetAnswerTexts = "getAnswerTexts",
|
|
48
|
+
GetDeliveryDateForSupplierProduct = "getDeliveryDateForSupplierProduct"
|
|
48
49
|
}
|
|
@@ -49,4 +49,5 @@ var ArticleMethod;
|
|
|
49
49
|
ArticleMethod["NavigateTo"] = "navigateTo";
|
|
50
50
|
ArticleMethod["SelectorMatchTable"] = "selectorMatchTabel";
|
|
51
51
|
ArticleMethod["GetAnswerTexts"] = "getAnswerTexts";
|
|
52
|
+
ArticleMethod["GetDeliveryDateForSupplierProduct"] = "getDeliveryDateForSupplierProduct";
|
|
52
53
|
})(ArticleMethod = exports.ArticleMethod || (exports.ArticleMethod = {}));
|
|
@@ -519,5 +519,6 @@ export declare abstract class IoneApiTransaction {
|
|
|
519
519
|
abstract getTransactionPlanPeriods(transId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
520
520
|
abstract getSupplierProducts(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
521
521
|
abstract getStandardPrinter(reportId: number, type: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
522
|
+
abstract getDeliveryDateForSupplierProduct(goodId: number, supplierId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
522
523
|
protected endPoint: string;
|
|
523
524
|
}
|
|
@@ -511,6 +511,7 @@ export declare class TransactionAuth extends IoneApiTransaction {
|
|
|
511
511
|
getStandardPrinter(reportId: number, type: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
512
512
|
getTransactionPlanPeriods(transId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
513
513
|
getSupplierProducts(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
514
|
+
getDeliveryDateForSupplierProduct(goodId: number, supplierId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
514
515
|
private _getDomainCollection;
|
|
515
516
|
private _getMultipleDomainCollection;
|
|
516
517
|
private callGetNodeData;
|
|
@@ -3096,6 +3096,19 @@ class TransactionAuth extends ione_api_transaction_1.IoneApiTransaction {
|
|
|
3096
3096
|
};
|
|
3097
3097
|
return this.selectMultiple(module_name_enum_1.ModuleName.Articles, article_object_name_enum_1.ArticledObjectName.SupplierProduct, "", params, showLoader);
|
|
3098
3098
|
}
|
|
3099
|
+
getDeliveryDateForSupplierProduct(goodId, supplierId, showLoader) {
|
|
3100
|
+
const params = {
|
|
3101
|
+
goodId: goodId,
|
|
3102
|
+
supplierId: supplierId
|
|
3103
|
+
};
|
|
3104
|
+
const data = {
|
|
3105
|
+
moduleName: module_name_enum_1.ModuleName.Articles,
|
|
3106
|
+
methodName: article_method_enum_1.ArticleMethod.GetDeliveryDateForSupplierProduct,
|
|
3107
|
+
parameterValues: params,
|
|
3108
|
+
refCursorAsArray: true
|
|
3109
|
+
};
|
|
3110
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data, backend_service_name_enum_1.BackendServiceName.DataService, showLoader);
|
|
3111
|
+
}
|
|
3099
3112
|
_getDomainCollection(languageCode, domainName, showLoader) {
|
|
3100
3113
|
const params = {
|
|
3101
3114
|
domainName: domainName,
|
|
@@ -513,6 +513,7 @@ export declare class TransactionPublic extends IoneApiTransaction {
|
|
|
513
513
|
copyTransactionLine(request: TransactionLineCopyRequest, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
514
514
|
getTransactionPlanPeriods(transId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
515
515
|
getSupplierProducts(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
516
|
+
getDeliveryDateForSupplierProduct(goodId: number, supplierId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
516
517
|
private _getDomainCollection;
|
|
517
518
|
private _getMultipleDomainCollection;
|
|
518
519
|
private getValidationResultSuccess;
|
|
@@ -1477,6 +1477,10 @@ class TransactionPublic extends ione_api_transaction_1.IoneApiTransaction {
|
|
|
1477
1477
|
console.warn(' getSupplierProducts not implemented');
|
|
1478
1478
|
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
1479
1479
|
}
|
|
1480
|
+
getDeliveryDateForSupplierProduct(goodId, supplierId, showLoader) {
|
|
1481
|
+
console.warn(' getDeliveryDateForSupplierProduct not implemented');
|
|
1482
|
+
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
1483
|
+
}
|
|
1480
1484
|
async _getDomainCollection(languageCode, domainName, showLoader) {
|
|
1481
1485
|
const params = {
|
|
1482
1486
|
domainName: domainName,
|
package/build/transaction.d.ts
CHANGED
|
@@ -533,5 +533,6 @@ export declare class Transaction {
|
|
|
533
533
|
copyTransactionLine(request: TransactionLineCopyRequest, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
534
534
|
getTransactionPlanPeriods(transId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
535
535
|
getSupplierProducts(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
536
|
+
getDeliveryDateForSupplierProduct(goodId: number, supplierId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
536
537
|
private _handleConnectionReset;
|
|
537
538
|
}
|
package/build/transaction.js
CHANGED
|
@@ -1072,6 +1072,9 @@ class Transaction {
|
|
|
1072
1072
|
getSupplierProducts(goodId, showLoader) {
|
|
1073
1073
|
return this.transaction.getSupplierProducts(goodId, showLoader);
|
|
1074
1074
|
}
|
|
1075
|
+
getDeliveryDateForSupplierProduct(goodId, supplierId, showLoader) {
|
|
1076
|
+
return this.transaction.getDeliveryDateForSupplierProduct(goodId, supplierId, showLoader);
|
|
1077
|
+
}
|
|
1075
1078
|
_handleConnectionReset() {
|
|
1076
1079
|
this.transaction.currentInstanceId = undefined;
|
|
1077
1080
|
this.connectionResetInactivity.next();
|