"use strict";
exports.__esModule = true;
var CxScanConfigCall_1 = require("./CxScanConfigCall");
var CxAuthCall_1 = require("./CxAuthCall");
var CxParamType_1 = require("./CxParamType");
var cxScanConfig = new CxScanConfigCall_1.CxScanConfigCall();
cxScanConfig.baseUri = "https://eu.ast.checkmarx.net";
cxScanConfig.clientId = "ast-github-action";
cxScanConfig.clientSecret = "1985057d-7479-4a01-82c0-06d0edc41228";
var params = new Map();
params.set(CxParamType_1.CxParamType.PROJECT_NAME, "JayWrapperTest");
params.set(CxParamType_1.CxParamType.SCAN_TYPES, "sast");
params.set(CxParamType_1.CxParamType.ADDITIONAL_PARAMETERS, "--nowait");
params.set(CxParamType_1.CxParamType.SAST_PRESET_NAME, "Checkmarx Default");
params.set(CxParamType_1.CxParamType.S, ".");
var auth = new CxAuthCall_1.CxAuthCall(cxScanConfig);
//const result = auth.scanCreate(params).then(value => {console.log("Resolved value*****: " + value + " **********")});
//const result = auth.scanShow("8f777b95-18a9-408b-81f1-623e647527df").then( value => { console.log("Resolved value*****: " + value + " **********")});
var result = auth.scanList().then(function (value) { console.log("Resolved value*****: " + value + " **********"); });
