settings.local.jsonโข2.01 kB
{
"permissions": {
"allow": [
"Bash(node -e \"\nconst { XMLParser } = await import(''fast-xml-parser'');\nconst { readFileSync } = await import(''fs'');\n\nconst xml = readFileSync(''raw-soap-response-oct19-21.xml'', ''utf-8'');\n\nconst parser = new XMLParser({\n ignoreAttributes: false,\n attributeNamePrefix: ''@_'',\n removeNSPrefix: false,\n});\n\nconst parsed = parser.parse(xml);\nconst envelope = parsed[''soap:Envelope''];\nconst body = envelope[''soap:Body''];\nconst response = body[''get_waybills_v1Response''];\nconst result = response[''get_waybills_v1Result''];\n\nconsole.log(''WAYBILL_LIST keys:'', Object.keys(result.WAYBILL_LIST || {}));\nconsole.log(''WAYBILL type:'', typeof result.WAYBILL_LIST.WAYBILL);\nconsole.log(''WAYBILL is array:'', Array.isArray(result.WAYBILL_LIST.WAYBILL));\nif (Array.isArray(result.WAYBILL_LIST.WAYBILL)) {\n console.log(''WAYBILL count:'', result.WAYBILL_LIST.WAYBILL.length);\n}\n\")",
"Bash(node analyze-dates.js)",
"Bash(powershell -command \"(Get-Content ''src/tools/get-waybills.ts'') -replace ''true // Enable client-side filtering'', ''false // Disable client-side filtering - API handles it correctly'' | Set-Content ''src/tools/get-waybills.ts''\")",
"Bash(node test-oct19-only.js)",
"Bash(cat raw-soap-response-oct19-only.xml)",
"Bash(node test-create-date.js)",
"Bash(cat raw-soap-response-create-date.xml)",
"Bash(node analyze-oct19-fields.js)",
"Bash(node count-oct19-waybills.js)",
"Bash(node test-oct15-17.js)",
"Bash(node test-each-day.js)",
"Bash(node final-verification.js)",
"Bash(node test-create-date-oct19.js)",
"Bash(cat raw-soap-response-create-oct19.xml)",
"Bash(dir \"C:\\Users\\Boris\\Dell\\Projects\\APPS\\ERP\" /s /b)",
"Bash(findstr /i \"backend server api\")",
"Bash(node test-iso-datetime.js)",
"Bash(dir:*)",
"Bash(findstr:*)",
"Bash(npm run build:*)"
],
"deny": [],
"ask": []
}
}