@calf/helios
Version:
Helios module of Calf framework.
218 lines (217 loc) • 6.94 kB
JavaScript
"use strict";
var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Helios procedure
* @description Available basic procedures
*/
var HeliosProcedure = /** @class */ (function () {
// Make constructor private
function HeliosProcedure() {
}
Object.defineProperty(HeliosProcedure, "Companies", {
/**
* Companies
* @description TabCisOrg
*/
get: function () {
return this.generateProcedureName("Companies");
},
enumerable: true,
configurable: true
});
Object.defineProperty(HeliosProcedure, "GoodsAndServices", {
/**
* Goods and services
* @description TabKmenZbozi
*/
get: function () {
return this.generateProcedureName("GoodsAndServices");
},
enumerable: true,
configurable: true
});
Object.defineProperty(HeliosProcedure, "MerchandiseManagementDocuments", {
/**
* Merchandise management documents
* @description TabDokladyZbozi
*/
get: function () {
return this.generateProcedureName("MerchandiseManagementDocuments");
},
enumerable: true,
configurable: true
});
Object.defineProperty(HeliosProcedure, "MerchandiseManagementTransactions", {
/**
* Merchandise management transactions
* @description TabPohybyZbozi
*/
get: function () {
return this.generateProcedureName("MerchandiseManagementTransactions");
},
enumerable: true,
configurable: true
});
Object.defineProperty(HeliosProcedure, "MerchandiseManagementTransactionsTxt", {
/**
* Merchandise management transactions txt
* @description TabOZTxtPol
*/
get: function () {
return this.generateProcedureName("MerchandiseManagementTransactionsTxt");
},
enumerable: true,
configurable: true
});
Object.defineProperty(HeliosProcedure, "MerchandiseManagementDocumentsRecalc", {
/**
* Merchandise management documents recalc
* @description TabDokladyZbozi
*/
get: function () {
return this.generateProcedureName("MerchandiseManagementDocumentsRecalc");
},
enumerable: true,
configurable: true
});
Object.defineProperty(HeliosProcedure, "CustomOrdersDocuments", {
/**
* Custom orders documents
* @description TabDosleObjH02
*/
get: function () {
return this.generateProcedureName("CustomOrdersDocuments");
},
enumerable: true,
configurable: true
});
Object.defineProperty(HeliosProcedure, "CustomOrdersTransactions", {
/**
* Custom order transactions
* @description TabDosleObjR02
*/
get: function () {
return this.generateProcedureName("CustomOrdersTransactions");
},
enumerable: true,
configurable: true
});
Object.defineProperty(HeliosProcedure, "AccountingJournal", {
/**
* Accounting journal
* @description TabDenikImp
*/
get: function () {
return this.generateProcedureName("AccountingJournal");
},
enumerable: true,
configurable: true
});
Object.defineProperty(HeliosProcedure, "AccountingJournal_ExecuteImport", {
/**
* Accounting journal execute import
* @description TabDenik
*/
get: function () {
return this.generateProcedureName("AccountingJournal_ExecuteImport");
},
enumerable: true,
configurable: true
});
Object.defineProperty(HeliosProcedure, "AccountingJournal_ClearImport", {
/**
* Accounting journal clear import
* @description TabDenik
*/
get: function () {
return this.generateProcedureName("AccountingJournal_ClearImport");
},
enumerable: true,
configurable: true
});
Object.defineProperty(HeliosProcedure, "OrganizationalStructure", {
/**
* Organizational structure
* @description TabStrom
*/
get: function () {
return this.generateProcedureName("OrganizationalStructure");
},
enumerable: true,
configurable: true
});
Object.defineProperty(HeliosProcedure, "CostPools", {
/**
* Cost pools
* @description TabNakladovyOkruh
*/
get: function () {
return this.generateProcedureName("CostPools");
},
enumerable: true,
configurable: true
});
Object.defineProperty(HeliosProcedure, "Vehicles", {
/**
* Vehicles
* @description TabIVozidlo
*/
get: function () {
return this.generateProcedureName("Vehicles");
},
enumerable: true,
configurable: true
});
Object.defineProperty(HeliosProcedure, "JobOrders", {
/**
* Job orders
* @description TabZakazka
*/
get: function () {
return this.generateProcedureName("JobOrders");
},
enumerable: true,
configurable: true
});
Object.defineProperty(HeliosProcedure, "Employees", {
/**
* Employees
* @description TabCisZam
*/
get: function () {
return this.generateProcedureName("Employees");
},
enumerable: true,
configurable: true
});
Object.defineProperty(HeliosProcedure, "Assortment", {
/**
* Assortment
* @description TabSortiment
*/
get: function () {
return this.generateProcedureName("Assortment");
},
enumerable: true,
configurable: true
});
/**
* Generate procedure name
* @param identifier
*/
HeliosProcedure.generateProcedureName = function (identifier) {
// Generate procedure name from prefixes and identifier
return __spreadArrays(this.PREFIXES, [identifier]).join("_");
};
// Set prefixes
HeliosProcedure.PREFIXES = ["hpx", "ASOL", "API"];
return HeliosProcedure;
}());
exports.HeliosProcedure = HeliosProcedure;