@microsoft/msgraph-sdk 1.0.0-preview.51 → 1.0.0-preview.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/models/callRecords/index.d.ts +1 -1
- package/models/index.d.ts +27 -15
- package/models/index.d.ts.map +1 -1
- package/models/index.js +6 -1
- package/models/index.js.map +1 -1
- package/models/security/index.d.ts +12 -0
- package/models/security/index.d.ts.map +1 -1
- package/models/security/index.js +6 -1
- package/models/security/index.js.map +1 -1
- package/package.json +2 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/models/security/index.js
CHANGED
|
@@ -2246,7 +2246,7 @@ export function createWhoisRecordFromDiscriminatorValue(parseNode) {
|
|
|
2246
2246
|
*/
|
|
2247
2247
|
// @ts-ignore
|
|
2248
2248
|
export function deserializeIntoAlert(alert = {}) {
|
|
2249
|
-
return Object.assign(Object.assign({}, deserializeIntoEntity(alert)), { "actorDisplayName": n => { alert.actorDisplayName = n.getStringValue(); }, "additionalData": n => { alert.additionalDataProperty = n.getObjectValue(createDictionaryFromDiscriminatorValue); }, "alertPolicyId": n => { alert.alertPolicyId = n.getStringValue(); }, "alertWebUrl": n => { alert.alertWebUrl = n.getStringValue(); }, "assignedTo": n => { alert.assignedTo = n.getStringValue(); }, "category": n => { alert.category = n.getStringValue(); }, "classification": n => { alert.classification = n.getEnumValue(AlertClassificationObject); }, "comments": n => { alert.comments = n.getCollectionOfObjectValues(createAlertCommentFromDiscriminatorValue); }, "createdDateTime": n => { alert.createdDateTime = n.getDateValue(); }, "description": n => { alert.description = n.getStringValue(); }, "detectionSource": n => { alert.detectionSource = n.getEnumValue(DetectionSourceObject); }, "detectorId": n => { alert.detectorId = n.getStringValue(); }, "determination": n => { alert.determination = n.getEnumValue(AlertDeterminationObject); }, "evidence": n => { alert.evidence = n.getCollectionOfObjectValues(createAlertEvidenceFromDiscriminatorValue); }, "firstActivityDateTime": n => { alert.firstActivityDateTime = n.getDateValue(); }, "incidentId": n => { alert.incidentId = n.getStringValue(); }, "incidentWebUrl": n => { alert.incidentWebUrl = n.getStringValue(); }, "lastActivityDateTime": n => { alert.lastActivityDateTime = n.getDateValue(); }, "lastUpdateDateTime": n => { alert.lastUpdateDateTime = n.getDateValue(); }, "mitreTechniques": n => { alert.mitreTechniques = n.getCollectionOfPrimitiveValues(); }, "productName": n => { alert.productName = n.getStringValue(); }, "providerAlertId": n => { alert.providerAlertId = n.getStringValue(); }, "recommendedActions": n => { alert.recommendedActions = n.getStringValue(); }, "resolvedDateTime": n => { alert.resolvedDateTime = n.getDateValue(); }, "serviceSource": n => { alert.serviceSource = n.getEnumValue(ServiceSourceObject); }, "severity": n => { alert.severity = n.getEnumValue(AlertSeverityObject); }, "status": n => { alert.status = n.getEnumValue(AlertStatusObject); }, "systemTags": n => { alert.systemTags = n.getCollectionOfPrimitiveValues(); }, "tenantId": n => { alert.tenantId = n.getStringValue(); }, "threatDisplayName": n => { alert.threatDisplayName = n.getStringValue(); }, "threatFamilyName": n => { alert.threatFamilyName = n.getStringValue(); }, "title": n => { alert.title = n.getStringValue(); } });
|
|
2249
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(alert)), { "actorDisplayName": n => { alert.actorDisplayName = n.getStringValue(); }, "additionalData": n => { alert.additionalDataProperty = n.getObjectValue(createDictionaryFromDiscriminatorValue); }, "alertPolicyId": n => { alert.alertPolicyId = n.getStringValue(); }, "alertWebUrl": n => { alert.alertWebUrl = n.getStringValue(); }, "assignedTo": n => { alert.assignedTo = n.getStringValue(); }, "category": n => { alert.category = n.getStringValue(); }, "classification": n => { alert.classification = n.getEnumValue(AlertClassificationObject); }, "comments": n => { alert.comments = n.getCollectionOfObjectValues(createAlertCommentFromDiscriminatorValue); }, "createdDateTime": n => { alert.createdDateTime = n.getDateValue(); }, "customDetails": n => { alert.customDetails = n.getObjectValue(createDictionaryFromDiscriminatorValue); }, "description": n => { alert.description = n.getStringValue(); }, "detectionSource": n => { alert.detectionSource = n.getEnumValue(DetectionSourceObject); }, "detectorId": n => { alert.detectorId = n.getStringValue(); }, "determination": n => { alert.determination = n.getEnumValue(AlertDeterminationObject); }, "evidence": n => { alert.evidence = n.getCollectionOfObjectValues(createAlertEvidenceFromDiscriminatorValue); }, "firstActivityDateTime": n => { alert.firstActivityDateTime = n.getDateValue(); }, "incidentId": n => { alert.incidentId = n.getStringValue(); }, "incidentWebUrl": n => { alert.incidentWebUrl = n.getStringValue(); }, "lastActivityDateTime": n => { alert.lastActivityDateTime = n.getDateValue(); }, "lastUpdateDateTime": n => { alert.lastUpdateDateTime = n.getDateValue(); }, "mitreTechniques": n => { alert.mitreTechniques = n.getCollectionOfPrimitiveValues(); }, "productName": n => { alert.productName = n.getStringValue(); }, "providerAlertId": n => { alert.providerAlertId = n.getStringValue(); }, "recommendedActions": n => { alert.recommendedActions = n.getStringValue(); }, "resolvedDateTime": n => { alert.resolvedDateTime = n.getDateValue(); }, "serviceSource": n => { alert.serviceSource = n.getEnumValue(ServiceSourceObject); }, "severity": n => { alert.severity = n.getEnumValue(AlertSeverityObject); }, "status": n => { alert.status = n.getEnumValue(AlertStatusObject); }, "systemTags": n => { alert.systemTags = n.getCollectionOfPrimitiveValues(); }, "tenantId": n => { alert.tenantId = n.getStringValue(); }, "threatDisplayName": n => { alert.threatDisplayName = n.getStringValue(); }, "threatFamilyName": n => { alert.threatFamilyName = n.getStringValue(); }, "title": n => { alert.title = n.getStringValue(); } });
|
|
2250
2250
|
}
|
|
2251
2251
|
/**
|
|
2252
2252
|
* The deserialization information for the current model
|
|
@@ -2881,9 +2881,11 @@ export function deserializeIntoFileDetails(fileDetails = {}) {
|
|
|
2881
2881
|
"filePublisher": n => { fileDetails.filePublisher = n.getStringValue(); },
|
|
2882
2882
|
"fileSize": n => { fileDetails.fileSize = n.getNumberValue(); },
|
|
2883
2883
|
"issuer": n => { fileDetails.issuer = n.getStringValue(); },
|
|
2884
|
+
"md5": n => { fileDetails.md5 = n.getStringValue(); },
|
|
2884
2885
|
"@odata.type": n => { fileDetails.odataType = n.getStringValue(); },
|
|
2885
2886
|
"sha1": n => { fileDetails.sha1 = n.getStringValue(); },
|
|
2886
2887
|
"sha256": n => { fileDetails.sha256 = n.getStringValue(); },
|
|
2888
|
+
"sha256Ac": n => { fileDetails.sha256Ac = n.getStringValue(); },
|
|
2887
2889
|
"signer": n => { fileDetails.signer = n.getStringValue(); },
|
|
2888
2890
|
};
|
|
2889
2891
|
}
|
|
@@ -4190,6 +4192,7 @@ export function serializeAlert(writer, alert = {}) {
|
|
|
4190
4192
|
writer.writeEnumValue("classification", alert.classification);
|
|
4191
4193
|
writer.writeCollectionOfObjectValues("comments", alert.comments, serializeAlertComment);
|
|
4192
4194
|
writer.writeDateValue("createdDateTime", alert.createdDateTime);
|
|
4195
|
+
writer.writeObjectValue("customDetails", alert.customDetails, serializeDictionary);
|
|
4193
4196
|
writer.writeStringValue("description", alert.description);
|
|
4194
4197
|
writer.writeEnumValue("detectionSource", alert.detectionSource);
|
|
4195
4198
|
writer.writeStringValue("detectorId", alert.detectorId);
|
|
@@ -5176,9 +5179,11 @@ export function serializeFileDetails(writer, fileDetails = {}) {
|
|
|
5176
5179
|
writer.writeStringValue("filePublisher", fileDetails.filePublisher);
|
|
5177
5180
|
writer.writeNumberValue("fileSize", fileDetails.fileSize);
|
|
5178
5181
|
writer.writeStringValue("issuer", fileDetails.issuer);
|
|
5182
|
+
writer.writeStringValue("md5", fileDetails.md5);
|
|
5179
5183
|
writer.writeStringValue("@odata.type", fileDetails.odataType);
|
|
5180
5184
|
writer.writeStringValue("sha1", fileDetails.sha1);
|
|
5181
5185
|
writer.writeStringValue("sha256", fileDetails.sha256);
|
|
5186
|
+
writer.writeStringValue("sha256Ac", fileDetails.sha256Ac);
|
|
5182
5187
|
writer.writeStringValue("signer", fileDetails.signer);
|
|
5183
5188
|
writer.writeAdditionalData(fileDetails.additionalData);
|
|
5184
5189
|
}
|