Update dependencies in ActiveMonitoringMeteredPlan.ts and package.json

This commit is contained in:
Simon Larsen 2023-12-25 13:17:26 +00:00
parent 7cda0565ba
commit 5140f92b1a
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE
3 changed files with 15 additions and 23 deletions

View File

@ -5,13 +5,14 @@ import QueryHelper from '../../Database/QueryHelper';
import MonitorType from 'Common/Types/Monitor/MonitorType';
import PositiveNumber from 'Common/Types/PositiveNumber';
import ProjectService from '../../../Services/ProjectService';
import BillingService, { MeteredPlanName } from '../../../Services/BillingService';
import BillingService from '../../../Services/BillingService';
import Project from 'Model/Models/Project';
import { ProductType } from 'Model/Models/UsageBilling';
export default class ActiveMonitoringMeteredPlan extends ServerMeteredPlan {
public override getProductType(): MeteredPlanName {
return MeteredPlanName.ActiveMonitoring;
public override getProductType(): ProductType {
return ProductType.ActiveMonitoring;
}
public override async reportQuantityToBillingProvider(

View File

@ -18,7 +18,7 @@
"nodemailer": "^6.9.7",
"ts-node": "^10.9.1",
"twilio": "^4.20.0",
"xml-crypto": "^5.0.0",
"xml-crypto": "^3.2.0",
"xml2js": "^0.6.2",
"xmldom": "^0.6.0"
},
@ -1330,14 +1330,6 @@
"integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==",
"dev": true
},
"node_modules/@xmldom/is-dom-node": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@xmldom/is-dom-node/-/is-dom-node-1.0.1.tgz",
"integrity": "sha512-CJDxIgE5I0FH+ttq/Fxy6nRpxP70+e2O048EPe85J2use3XKdatVM7dDVvFNjQudd9B49NPoZ+8PG49zj4Er8Q==",
"engines": {
"node": ">= 16"
}
},
"node_modules/@xmldom/xmldom": {
"version": "0.8.10",
"resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.10.tgz",
@ -4628,16 +4620,15 @@
}
},
"node_modules/xml-crypto": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/xml-crypto/-/xml-crypto-5.0.0.tgz",
"integrity": "sha512-TdJZp/gdKb5RYiZigLy/RUz9EpbEV+HoOR4ofby3VonDSn7FmNZlex7OuxLPD8sRlCLZ5YYFI+9s1OhFs7fwEw==",
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/xml-crypto/-/xml-crypto-3.2.0.tgz",
"integrity": "sha512-qVurBUOQrmvlgmZqIVBqmb06TD2a/PpEUfFPgD7BuBfjmoH4zgkqaWSIJrnymlCvM2GGt9x+XtJFA+ttoAufqg==",
"dependencies": {
"@xmldom/is-dom-node": "^1.0.1",
"@xmldom/xmldom": "^0.8.10",
"xpath": "^0.0.33"
"@xmldom/xmldom": "^0.8.8",
"xpath": "0.0.32"
},
"engines": {
"node": ">=16"
"node": ">=4.0.0"
}
},
"node_modules/xml2js": {
@ -4669,9 +4660,9 @@
}
},
"node_modules/xpath": {
"version": "0.0.33",
"resolved": "https://registry.npmjs.org/xpath/-/xpath-0.0.33.tgz",
"integrity": "sha512-NNXnzrkDrAzalLhIUc01jO2mOzXGXh1JwPgkihcLLzw98c0WgYDmmjSh1Kl3wzaxSVWMuA+fe0WTWOBDWCBmNA==",
"version": "0.0.32",
"resolved": "https://registry.npmjs.org/xpath/-/xpath-0.0.32.tgz",
"integrity": "sha512-rxMJhSIoiO8vXcWvSifKqhvV96GjiD5wYb8/QHdoRyQvraTpp4IEv944nhGausZZ3u7dhQXteZuZbaqfpB7uYw==",
"engines": {
"node": ">=0.6.0"
}

View File

@ -25,7 +25,7 @@
"nodemailer": "^6.9.7",
"ts-node": "^10.9.1",
"twilio": "^4.20.0",
"xml-crypto": "^5.0.0",
"xml-crypto": "^3.2.0",
"xml2js": "^0.6.2",
"xmldom": "^0.6.0"
},