/** * @type PageShieldScriptVersion: Version details for the JavaScript script. * * @property hash: The computed hash of the analyzed script. * - **Pattern:** /^.*$/ * * @property jsIntegrityScore: The integrity score of the JavaScript content. * * @property obfuscationScore: The obfuscation score of the JavaScript content. * * @property dataflowScore: The dataflow score of the JavaScript content. * * @property malwareScore: The malware score of the JavaScript content. * * @property cryptoMiningScore: The crypto mining score of the JavaScript content. * * @property mageCartScore: The Magecart score of the JavaScript content. * * @property fetchedAt: The timestamp of when the script was last fetched. * * @property isMaliciousCode: Indicates whether the script has been reported as malicious. * */ export type PageShieldScriptVersion = { hash?: string; jsIntegrityScore?: number; obfuscationScore?: number; dataflowScore?: number; malwareScore?: number; cryptoMiningScore?: number; mageCartScore?: number; fetchedAt?: string; isMaliciousCode: boolean; } & { [key: string]: any; };