@microsoft/msgraph-sdk 1.0.0-preview.74 → 1.0.0-preview.77

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.
@@ -3,6 +3,33 @@
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
5
  import { createGroupFromDiscriminatorValue, createIdentitySetFromDiscriminatorValue, createPhysicalAddressFromDiscriminatorValue, createPublicErrorFromDiscriminatorValue, createResultInfoFromDiscriminatorValue, createSiteFromDiscriminatorValue, deserializeIntoBaseCollectionPaginationCountResponse, deserializeIntoEntity, serializeBaseCollectionPaginationCountResponse, serializeEntity, serializeGroup, serializeIdentitySet, serializePhysicalAddress, serializePublicError, serializeResultInfo, serializeSite } from '../index.js';
6
+ /**
7
+ * Creates a new instance of the appropriate class based on discriminator value
8
+ * @param parseNode The parse node to use to read the discriminator value and create the object
9
+ * @returns {Account}
10
+ */
11
+ // @ts-ignore
12
+ export function createAccountFromDiscriminatorValue(parseNode) {
13
+ return deserializeIntoAccount;
14
+ }
15
+ /**
16
+ * Creates a new instance of the appropriate class based on discriminator value
17
+ * @param parseNode The parse node to use to read the discriminator value and create the object
18
+ * @returns {ActiveDirectoryDomainEvidence}
19
+ */
20
+ // @ts-ignore
21
+ export function createActiveDirectoryDomainEvidenceFromDiscriminatorValue(parseNode) {
22
+ return deserializeIntoActiveDirectoryDomainEvidence;
23
+ }
24
+ /**
25
+ * Creates a new instance of the appropriate class based on discriminator value
26
+ * @param parseNode The parse node to use to read the discriminator value and create the object
27
+ * @returns {AiAgentEvidence}
28
+ */
29
+ // @ts-ignore
30
+ export function createAiAgentEvidenceFromDiscriminatorValue(parseNode) {
31
+ return deserializeIntoAiAgentEvidence;
32
+ }
6
33
  /**
7
34
  * Creates a new instance of the appropriate class based on discriminator value
8
35
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -35,6 +62,10 @@ export function createAlertEvidenceFromDiscriminatorValue(parseNode) {
35
62
  const mappingValue = mappingValueNode.getStringValue();
36
63
  if (mappingValue) {
37
64
  switch (mappingValue) {
65
+ case "#microsoft.graph.security.activeDirectoryDomainEvidence":
66
+ return deserializeIntoActiveDirectoryDomainEvidence;
67
+ case "#microsoft.graph.security.aiAgentEvidence":
68
+ return deserializeIntoAiAgentEvidence;
38
69
  case "#microsoft.graph.security.amazonResourceEvidence":
39
70
  return deserializeIntoAmazonResourceEvidence;
40
71
  case "#microsoft.graph.security.analyzedMessageEvidence":
@@ -640,6 +671,24 @@ export function createEdiscoveryCaseCollectionResponseFromDiscriminatorValue(par
640
671
  export function createEdiscoveryCaseFromDiscriminatorValue(parseNode) {
641
672
  return deserializeIntoEdiscoveryCase;
642
673
  }
674
+ /**
675
+ * Creates a new instance of the appropriate class based on discriminator value
676
+ * @param parseNode The parse node to use to read the discriminator value and create the object
677
+ * @returns {EdiscoveryCaseMemberCollectionResponse}
678
+ */
679
+ // @ts-ignore
680
+ export function createEdiscoveryCaseMemberCollectionResponseFromDiscriminatorValue(parseNode) {
681
+ return deserializeIntoEdiscoveryCaseMemberCollectionResponse;
682
+ }
683
+ /**
684
+ * Creates a new instance of the appropriate class based on discriminator value
685
+ * @param parseNode The parse node to use to read the discriminator value and create the object
686
+ * @returns {EdiscoveryCaseMember}
687
+ */
688
+ // @ts-ignore
689
+ export function createEdiscoveryCaseMemberFromDiscriminatorValue(parseNode) {
690
+ return deserializeIntoEdiscoveryCaseMember;
691
+ }
643
692
  /**
644
693
  * Creates a new instance of the appropriate class based on discriminator value
645
694
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1346,6 +1395,36 @@ export function createHuntingRowResultFromDiscriminatorValue(parseNode) {
1346
1395
  export function createHyperlinkFromDiscriminatorValue(parseNode) {
1347
1396
  return deserializeIntoHyperlink;
1348
1397
  }
1398
+ /**
1399
+ * Creates a new instance of the appropriate class based on discriminator value
1400
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1401
+ * @returns {IdentityAccountsCollectionResponse}
1402
+ */
1403
+ // @ts-ignore
1404
+ export function createIdentityAccountsCollectionResponseFromDiscriminatorValue(parseNode) {
1405
+ return deserializeIntoIdentityAccountsCollectionResponse;
1406
+ }
1407
+ /**
1408
+ * Creates a new instance of the appropriate class based on discriminator value
1409
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1410
+ * @returns {IdentityAccounts}
1411
+ */
1412
+ // @ts-ignore
1413
+ export function createIdentityAccountsFromDiscriminatorValue(parseNode) {
1414
+ if (!parseNode)
1415
+ throw new Error("parseNode cannot be undefined");
1416
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
1417
+ if (mappingValueNode) {
1418
+ const mappingValue = mappingValueNode.getStringValue();
1419
+ if (mappingValue) {
1420
+ switch (mappingValue) {
1421
+ case "#microsoft.graph.security.user":
1422
+ return deserializeIntoUser;
1423
+ }
1424
+ }
1425
+ }
1426
+ return deserializeIntoIdentityAccounts;
1427
+ }
1349
1428
  /**
1350
1429
  * Creates a new instance of the appropriate class based on discriminator value
1351
1430
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1441,6 +1520,15 @@ export function createIntelligenceProfileIndicatorCollectionResponseFromDiscrimi
1441
1520
  export function createIntelligenceProfileIndicatorFromDiscriminatorValue(parseNode) {
1442
1521
  return deserializeIntoIntelligenceProfileIndicator;
1443
1522
  }
1523
+ /**
1524
+ * Creates a new instance of the appropriate class based on discriminator value
1525
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1526
+ * @returns {InvokeActionResult}
1527
+ */
1528
+ // @ts-ignore
1529
+ export function createInvokeActionResultFromDiscriminatorValue(parseNode) {
1530
+ return deserializeIntoInvokeActionResult;
1531
+ }
1444
1532
  /**
1445
1533
  * Creates a new instance of the appropriate class based on discriminator value
1446
1534
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1856,6 +1944,33 @@ export function createSearchFromDiscriminatorValue(parseNode) {
1856
1944
  export function createSecurityGroupEvidenceFromDiscriminatorValue(parseNode) {
1857
1945
  return deserializeIntoSecurityGroupEvidence;
1858
1946
  }
1947
+ /**
1948
+ * Creates a new instance of the appropriate class based on discriminator value
1949
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1950
+ * @returns {SensorCandidateActivationConfiguration}
1951
+ */
1952
+ // @ts-ignore
1953
+ export function createSensorCandidateActivationConfigurationFromDiscriminatorValue(parseNode) {
1954
+ return deserializeIntoSensorCandidateActivationConfiguration;
1955
+ }
1956
+ /**
1957
+ * Creates a new instance of the appropriate class based on discriminator value
1958
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1959
+ * @returns {SensorCandidateCollectionResponse}
1960
+ */
1961
+ // @ts-ignore
1962
+ export function createSensorCandidateCollectionResponseFromDiscriminatorValue(parseNode) {
1963
+ return deserializeIntoSensorCandidateCollectionResponse;
1964
+ }
1965
+ /**
1966
+ * Creates a new instance of the appropriate class based on discriminator value
1967
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1968
+ * @returns {SensorCandidate}
1969
+ */
1970
+ // @ts-ignore
1971
+ export function createSensorCandidateFromDiscriminatorValue(parseNode) {
1972
+ return deserializeIntoSensorCandidate;
1973
+ }
1859
1974
  /**
1860
1975
  * Creates a new instance of the appropriate class based on discriminator value
1861
1976
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2129,6 +2244,15 @@ export function createUserAccountFromDiscriminatorValue(parseNode) {
2129
2244
  export function createUserEvidenceFromDiscriminatorValue(parseNode) {
2130
2245
  return deserializeIntoUserEvidence;
2131
2246
  }
2247
+ /**
2248
+ * Creates a new instance of the appropriate class based on discriminator value
2249
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2250
+ * @returns {User}
2251
+ */
2252
+ // @ts-ignore
2253
+ export function createUserFromDiscriminatorValue(parseNode) {
2254
+ return deserializeIntoUser;
2255
+ }
2132
2256
  /**
2133
2257
  * Creates a new instance of the appropriate class based on discriminator value
2134
2258
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2269,6 +2393,39 @@ export function createWhoisRecordCollectionResponseFromDiscriminatorValue(parseN
2269
2393
  export function createWhoisRecordFromDiscriminatorValue(parseNode) {
2270
2394
  return deserializeIntoWhoisRecord;
2271
2395
  }
2396
+ /**
2397
+ * The deserialization information for the current model
2398
+ * @param Account The instance to deserialize into.
2399
+ * @returns {Record<string, (node: ParseNode) => void>}
2400
+ */
2401
+ // @ts-ignore
2402
+ export function deserializeIntoAccount(account = {}) {
2403
+ return {
2404
+ "actions": n => { account.actions = n.getCollectionOfEnumValues(ActionObject); },
2405
+ "backingStoreEnabled": n => { account.backingStoreEnabled = true; },
2406
+ "identifier": n => { account.identifier = n.getStringValue(); },
2407
+ "identityProvider": n => { account.identityProvider = n.getEnumValue(IdentityProviderObject); },
2408
+ "@odata.type": n => { account.odataType = n.getStringValue(); },
2409
+ };
2410
+ }
2411
+ /**
2412
+ * The deserialization information for the current model
2413
+ * @param ActiveDirectoryDomainEvidence The instance to deserialize into.
2414
+ * @returns {Record<string, (node: ParseNode) => void>}
2415
+ */
2416
+ // @ts-ignore
2417
+ export function deserializeIntoActiveDirectoryDomainEvidence(activeDirectoryDomainEvidence = {}) {
2418
+ return Object.assign(Object.assign({}, deserializeIntoAlertEvidence(activeDirectoryDomainEvidence)), { "activeDirectoryDomainName": n => { activeDirectoryDomainEvidence.activeDirectoryDomainName = n.getStringValue(); }, "trustedDomains": n => { activeDirectoryDomainEvidence.trustedDomains = n.getCollectionOfObjectValues(createActiveDirectoryDomainEvidenceFromDiscriminatorValue); } });
2419
+ }
2420
+ /**
2421
+ * The deserialization information for the current model
2422
+ * @param AiAgentEvidence The instance to deserialize into.
2423
+ * @returns {Record<string, (node: ParseNode) => void>}
2424
+ */
2425
+ // @ts-ignore
2426
+ export function deserializeIntoAiAgentEvidence(aiAgentEvidence = {}) {
2427
+ return Object.assign(Object.assign({}, deserializeIntoAlertEvidence(aiAgentEvidence)), { "agentId": n => { aiAgentEvidence.agentId = n.getStringValue(); }, "agentName": n => { aiAgentEvidence.agentName = n.getStringValue(); }, "hostingPlatformType": n => { aiAgentEvidence.hostingPlatformType = n.getEnumValue(AiAgentPlatformObject); }, "instructions": n => { aiAgentEvidence.instructions = n.getStringValue(); } });
2428
+ }
2272
2429
  /**
2273
2430
  * The deserialization information for the current model
2274
2431
  * @param Alert The instance to deserialize into.
@@ -2660,7 +2817,7 @@ export function deserializeIntoDeploymentAccessKeyType(deploymentAccessKeyType =
2660
2817
  */
2661
2818
  // @ts-ignore
2662
2819
  export function deserializeIntoDeviceEvidence(deviceEvidence = {}) {
2663
- return Object.assign(Object.assign({}, deserializeIntoAlertEvidence(deviceEvidence)), { "azureAdDeviceId": n => { deviceEvidence.azureAdDeviceId = n.getStringValue(); }, "defenderAvStatus": n => { deviceEvidence.defenderAvStatus = n.getEnumValue(DefenderAvStatusObject); }, "deviceDnsName": n => { deviceEvidence.deviceDnsName = n.getStringValue(); }, "dnsDomain": n => { deviceEvidence.dnsDomain = n.getStringValue(); }, "firstSeenDateTime": n => { deviceEvidence.firstSeenDateTime = n.getDateValue(); }, "healthStatus": n => { deviceEvidence.healthStatus = n.getEnumValue(DeviceHealthStatusObject); }, "hostName": n => { deviceEvidence.hostName = n.getStringValue(); }, "ipInterfaces": n => { deviceEvidence.ipInterfaces = n.getCollectionOfPrimitiveValues(); }, "lastExternalIpAddress": n => { deviceEvidence.lastExternalIpAddress = n.getStringValue(); }, "lastIpAddress": n => { deviceEvidence.lastIpAddress = n.getStringValue(); }, "loggedOnUsers": n => { deviceEvidence.loggedOnUsers = n.getCollectionOfObjectValues(createLoggedOnUserFromDiscriminatorValue); }, "mdeDeviceId": n => { deviceEvidence.mdeDeviceId = n.getStringValue(); }, "ntDomain": n => { deviceEvidence.ntDomain = n.getStringValue(); }, "onboardingStatus": n => { deviceEvidence.onboardingStatus = n.getEnumValue(OnboardingStatusObject); }, "osBuild": n => { deviceEvidence.osBuild = n.getNumberValue(); }, "osPlatform": n => { deviceEvidence.osPlatform = n.getStringValue(); }, "rbacGroupId": n => { deviceEvidence.rbacGroupId = n.getNumberValue(); }, "rbacGroupName": n => { deviceEvidence.rbacGroupName = n.getStringValue(); }, "riskScore": n => { deviceEvidence.riskScore = n.getEnumValue(DeviceRiskScoreObject); }, "version": n => { deviceEvidence.version = n.getStringValue(); }, "vmMetadata": n => { deviceEvidence.vmMetadata = n.getObjectValue(createVmMetadataFromDiscriminatorValue); } });
2820
+ return Object.assign(Object.assign({}, deserializeIntoAlertEvidence(deviceEvidence)), { "azureAdDeviceId": n => { deviceEvidence.azureAdDeviceId = n.getStringValue(); }, "defenderAvStatus": n => { deviceEvidence.defenderAvStatus = n.getEnumValue(DefenderAvStatusObject); }, "deviceDnsName": n => { deviceEvidence.deviceDnsName = n.getStringValue(); }, "dnsDomain": n => { deviceEvidence.dnsDomain = n.getStringValue(); }, "firstSeenDateTime": n => { deviceEvidence.firstSeenDateTime = n.getDateValue(); }, "healthStatus": n => { deviceEvidence.healthStatus = n.getEnumValue(DeviceHealthStatusObject); }, "hostName": n => { deviceEvidence.hostName = n.getStringValue(); }, "ipInterfaces": n => { deviceEvidence.ipInterfaces = n.getCollectionOfPrimitiveValues(); }, "lastExternalIpAddress": n => { deviceEvidence.lastExternalIpAddress = n.getStringValue(); }, "lastIpAddress": n => { deviceEvidence.lastIpAddress = n.getStringValue(); }, "loggedOnUsers": n => { deviceEvidence.loggedOnUsers = n.getCollectionOfObjectValues(createLoggedOnUserFromDiscriminatorValue); }, "mdeDeviceId": n => { deviceEvidence.mdeDeviceId = n.getStringValue(); }, "ntDomain": n => { deviceEvidence.ntDomain = n.getStringValue(); }, "onboardingStatus": n => { deviceEvidence.onboardingStatus = n.getEnumValue(OnboardingStatusObject); }, "osBuild": n => { deviceEvidence.osBuild = n.getNumberValue(); }, "osPlatform": n => { deviceEvidence.osPlatform = n.getStringValue(); }, "rbacGroupId": n => { deviceEvidence.rbacGroupId = n.getNumberValue(); }, "rbacGroupName": n => { deviceEvidence.rbacGroupName = n.getStringValue(); }, "resourceAccessEvents": n => { deviceEvidence.resourceAccessEvents = n.getCollectionOfObjectValues(createResourceAccessEventFromDiscriminatorValue); }, "riskScore": n => { deviceEvidence.riskScore = n.getEnumValue(DeviceRiskScoreObject); }, "version": n => { deviceEvidence.version = n.getStringValue(); }, "vmMetadata": n => { deviceEvidence.vmMetadata = n.getObjectValue(createVmMetadataFromDiscriminatorValue); } });
2664
2821
  }
2665
2822
  /**
2666
2823
  * The deserialization information for the current model
@@ -2717,7 +2874,7 @@ export function deserializeIntoEdiscoveryAddToReviewSetOperation(ediscoveryAddTo
2717
2874
  */
2718
2875
  // @ts-ignore
2719
2876
  export function deserializeIntoEdiscoveryCase(ediscoveryCase = {}) {
2720
- return Object.assign(Object.assign({}, deserializeIntoCaseEscaped(ediscoveryCase)), { "closedBy": n => { ediscoveryCase.closedBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "closedDateTime": n => { ediscoveryCase.closedDateTime = n.getDateValue(); }, "custodians": n => { ediscoveryCase.custodians = n.getCollectionOfObjectValues(createEdiscoveryCustodianFromDiscriminatorValue); }, "externalId": n => { ediscoveryCase.externalId = n.getStringValue(); }, "noncustodialDataSources": n => { ediscoveryCase.noncustodialDataSources = n.getCollectionOfObjectValues(createEdiscoveryNoncustodialDataSourceFromDiscriminatorValue); }, "operations": n => { ediscoveryCase.operations = n.getCollectionOfObjectValues(createCaseOperationFromDiscriminatorValue); }, "reviewSets": n => { ediscoveryCase.reviewSets = n.getCollectionOfObjectValues(createEdiscoveryReviewSetFromDiscriminatorValue); }, "searches": n => { ediscoveryCase.searches = n.getCollectionOfObjectValues(createEdiscoverySearchFromDiscriminatorValue); }, "settings": n => { ediscoveryCase.settings = n.getObjectValue(createEdiscoveryCaseSettingsFromDiscriminatorValue); }, "tags": n => { ediscoveryCase.tags = n.getCollectionOfObjectValues(createEdiscoveryReviewTagFromDiscriminatorValue); } });
2877
+ return Object.assign(Object.assign({}, deserializeIntoCaseEscaped(ediscoveryCase)), { "caseMembers": n => { ediscoveryCase.caseMembers = n.getCollectionOfObjectValues(createEdiscoveryCaseMemberFromDiscriminatorValue); }, "closedBy": n => { ediscoveryCase.closedBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "closedDateTime": n => { ediscoveryCase.closedDateTime = n.getDateValue(); }, "custodians": n => { ediscoveryCase.custodians = n.getCollectionOfObjectValues(createEdiscoveryCustodianFromDiscriminatorValue); }, "externalId": n => { ediscoveryCase.externalId = n.getStringValue(); }, "noncustodialDataSources": n => { ediscoveryCase.noncustodialDataSources = n.getCollectionOfObjectValues(createEdiscoveryNoncustodialDataSourceFromDiscriminatorValue); }, "operations": n => { ediscoveryCase.operations = n.getCollectionOfObjectValues(createCaseOperationFromDiscriminatorValue); }, "reviewSets": n => { ediscoveryCase.reviewSets = n.getCollectionOfObjectValues(createEdiscoveryReviewSetFromDiscriminatorValue); }, "searches": n => { ediscoveryCase.searches = n.getCollectionOfObjectValues(createEdiscoverySearchFromDiscriminatorValue); }, "settings": n => { ediscoveryCase.settings = n.getObjectValue(createEdiscoveryCaseSettingsFromDiscriminatorValue); }, "tags": n => { ediscoveryCase.tags = n.getCollectionOfObjectValues(createEdiscoveryReviewTagFromDiscriminatorValue); } });
2721
2878
  }
2722
2879
  /**
2723
2880
  * The deserialization information for the current model
@@ -2728,6 +2885,24 @@ export function deserializeIntoEdiscoveryCase(ediscoveryCase = {}) {
2728
2885
  export function deserializeIntoEdiscoveryCaseCollectionResponse(ediscoveryCaseCollectionResponse = {}) {
2729
2886
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(ediscoveryCaseCollectionResponse)), { "value": n => { ediscoveryCaseCollectionResponse.value = n.getCollectionOfObjectValues(createEdiscoveryCaseFromDiscriminatorValue); } });
2730
2887
  }
2888
+ /**
2889
+ * The deserialization information for the current model
2890
+ * @param EdiscoveryCaseMember The instance to deserialize into.
2891
+ * @returns {Record<string, (node: ParseNode) => void>}
2892
+ */
2893
+ // @ts-ignore
2894
+ export function deserializeIntoEdiscoveryCaseMember(ediscoveryCaseMember = {}) {
2895
+ return Object.assign(Object.assign({}, deserializeIntoEntity(ediscoveryCaseMember)), { "displayName": n => { ediscoveryCaseMember.displayName = n.getStringValue(); }, "recipientType": n => { ediscoveryCaseMember.recipientType = n.getCollectionOfEnumValues(RecipientTypeObject); }, "smtpAddress": n => { ediscoveryCaseMember.smtpAddress = n.getStringValue(); } });
2896
+ }
2897
+ /**
2898
+ * The deserialization information for the current model
2899
+ * @param EdiscoveryCaseMemberCollectionResponse The instance to deserialize into.
2900
+ * @returns {Record<string, (node: ParseNode) => void>}
2901
+ */
2902
+ // @ts-ignore
2903
+ export function deserializeIntoEdiscoveryCaseMemberCollectionResponse(ediscoveryCaseMemberCollectionResponse = {}) {
2904
+ return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(ediscoveryCaseMemberCollectionResponse)), { "value": n => { ediscoveryCaseMemberCollectionResponse.value = n.getCollectionOfObjectValues(createEdiscoveryCaseMemberFromDiscriminatorValue); } });
2905
+ }
2731
2906
  /**
2732
2907
  * The deserialization information for the current model
2733
2908
  * @param EdiscoveryCaseSettings The instance to deserialize into.
@@ -3476,6 +3651,24 @@ export function deserializeIntoHyperlink(hyperlink = {}) {
3476
3651
  "url": n => { hyperlink.url = n.getStringValue(); },
3477
3652
  };
3478
3653
  }
3654
+ /**
3655
+ * The deserialization information for the current model
3656
+ * @param IdentityAccounts The instance to deserialize into.
3657
+ * @returns {Record<string, (node: ParseNode) => void>}
3658
+ */
3659
+ // @ts-ignore
3660
+ export function deserializeIntoIdentityAccounts(identityAccounts = {}) {
3661
+ return Object.assign(Object.assign({}, deserializeIntoEntity(identityAccounts)), { "accounts": n => { identityAccounts.accounts = n.getCollectionOfObjectValues(createAccountFromDiscriminatorValue); }, "cloudSecurityIdentifier": n => { identityAccounts.cloudSecurityIdentifier = n.getStringValue(); }, "displayName": n => { identityAccounts.displayName = n.getStringValue(); }, "domain": n => { identityAccounts.domain = n.getStringValue(); }, "isEnabled": n => { identityAccounts.isEnabled = n.getBooleanValue(); }, "onPremisesSecurityIdentifier": n => { identityAccounts.onPremisesSecurityIdentifier = n.getStringValue(); } });
3662
+ }
3663
+ /**
3664
+ * The deserialization information for the current model
3665
+ * @param IdentityAccountsCollectionResponse The instance to deserialize into.
3666
+ * @returns {Record<string, (node: ParseNode) => void>}
3667
+ */
3668
+ // @ts-ignore
3669
+ export function deserializeIntoIdentityAccountsCollectionResponse(identityAccountsCollectionResponse = {}) {
3670
+ return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(identityAccountsCollectionResponse)), { "value": n => { identityAccountsCollectionResponse.value = n.getCollectionOfObjectValues(createIdentityAccountsFromDiscriminatorValue); } });
3671
+ }
3479
3672
  /**
3480
3673
  * The deserialization information for the current model
3481
3674
  * @param IdentityContainer The instance to deserialize into.
@@ -3483,7 +3676,7 @@ export function deserializeIntoHyperlink(hyperlink = {}) {
3483
3676
  */
3484
3677
  // @ts-ignore
3485
3678
  export function deserializeIntoIdentityContainer(identityContainer = {}) {
3486
- return Object.assign(Object.assign({}, deserializeIntoEntity(identityContainer)), { "healthIssues": n => { identityContainer.healthIssues = n.getCollectionOfObjectValues(createHealthIssueFromDiscriminatorValue); }, "sensors": n => { identityContainer.sensors = n.getCollectionOfObjectValues(createSensorFromDiscriminatorValue); } });
3679
+ return Object.assign(Object.assign({}, deserializeIntoEntity(identityContainer)), { "healthIssues": n => { identityContainer.healthIssues = n.getCollectionOfObjectValues(createHealthIssueFromDiscriminatorValue); }, "identityAccounts": n => { identityContainer.identityAccounts = n.getCollectionOfObjectValues(createIdentityAccountsFromDiscriminatorValue); }, "sensorCandidateActivationConfiguration": n => { identityContainer.sensorCandidateActivationConfiguration = n.getObjectValue(createSensorCandidateActivationConfigurationFromDiscriminatorValue); }, "sensorCandidates": n => { identityContainer.sensorCandidates = n.getCollectionOfObjectValues(createSensorCandidateFromDiscriminatorValue); }, "sensors": n => { identityContainer.sensors = n.getCollectionOfObjectValues(createSensorFromDiscriminatorValue); } });
3487
3680
  }
3488
3681
  /**
3489
3682
  * The deserialization information for the current model
@@ -3562,6 +3755,22 @@ export function deserializeIntoIntelligenceProfileIndicator(intelligenceProfileI
3562
3755
  export function deserializeIntoIntelligenceProfileIndicatorCollectionResponse(intelligenceProfileIndicatorCollectionResponse = {}) {
3563
3756
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(intelligenceProfileIndicatorCollectionResponse)), { "value": n => { intelligenceProfileIndicatorCollectionResponse.value = n.getCollectionOfObjectValues(createIntelligenceProfileIndicatorFromDiscriminatorValue); } });
3564
3757
  }
3758
+ /**
3759
+ * The deserialization information for the current model
3760
+ * @param InvokeActionResult The instance to deserialize into.
3761
+ * @returns {Record<string, (node: ParseNode) => void>}
3762
+ */
3763
+ // @ts-ignore
3764
+ export function deserializeIntoInvokeActionResult(invokeActionResult = {}) {
3765
+ return {
3766
+ "accountId": n => { invokeActionResult.accountId = n.getStringValue(); },
3767
+ "action": n => { invokeActionResult.action = n.getEnumValue(ActionObject); },
3768
+ "backingStoreEnabled": n => { invokeActionResult.backingStoreEnabled = true; },
3769
+ "correlationId": n => { invokeActionResult.correlationId = n.getStringValue(); },
3770
+ "identityProvider": n => { invokeActionResult.identityProvider = n.getEnumValue(IdentityProviderObject); },
3771
+ "@odata.type": n => { invokeActionResult.odataType = n.getStringValue(); },
3772
+ };
3773
+ }
3565
3774
  /**
3566
3775
  * The deserialization information for the current model
3567
3776
  * @param IoTDeviceEvidence The instance to deserialize into.
@@ -4006,6 +4215,33 @@ export function deserializeIntoSecurityGroupEvidence(securityGroupEvidence = {})
4006
4215
  export function deserializeIntoSensor(sensor = {}) {
4007
4216
  return Object.assign(Object.assign({}, deserializeIntoEntity(sensor)), { "createdDateTime": n => { sensor.createdDateTime = n.getDateValue(); }, "deploymentStatus": n => { sensor.deploymentStatus = n.getEnumValue(DeploymentStatusObject); }, "displayName": n => { sensor.displayName = n.getStringValue(); }, "domainName": n => { sensor.domainName = n.getStringValue(); }, "healthIssues": n => { sensor.healthIssues = n.getCollectionOfObjectValues(createHealthIssueFromDiscriminatorValue); }, "healthStatus": n => { sensor.healthStatus = n.getEnumValue(SensorHealthStatusObject); }, "openHealthIssuesCount": n => { sensor.openHealthIssuesCount = n.getNumberValue(); }, "sensorType": n => { sensor.sensorType = n.getEnumValue(SensorTypeObject); }, "settings": n => { sensor.settings = n.getObjectValue(createSensorSettingsFromDiscriminatorValue); }, "version": n => { sensor.version = n.getStringValue(); } });
4008
4217
  }
4218
+ /**
4219
+ * The deserialization information for the current model
4220
+ * @param SensorCandidate The instance to deserialize into.
4221
+ * @returns {Record<string, (node: ParseNode) => void>}
4222
+ */
4223
+ // @ts-ignore
4224
+ export function deserializeIntoSensorCandidate(sensorCandidate = {}) {
4225
+ return Object.assign(Object.assign({}, deserializeIntoEntity(sensorCandidate)), { "computerDnsName": n => { sensorCandidate.computerDnsName = n.getStringValue(); }, "lastSeenDateTime": n => { sensorCandidate.lastSeenDateTime = n.getDateValue(); }, "senseClientVersion": n => { sensorCandidate.senseClientVersion = n.getStringValue(); } });
4226
+ }
4227
+ /**
4228
+ * The deserialization information for the current model
4229
+ * @param SensorCandidateActivationConfiguration The instance to deserialize into.
4230
+ * @returns {Record<string, (node: ParseNode) => void>}
4231
+ */
4232
+ // @ts-ignore
4233
+ export function deserializeIntoSensorCandidateActivationConfiguration(sensorCandidateActivationConfiguration = {}) {
4234
+ return Object.assign(Object.assign({}, deserializeIntoEntity(sensorCandidateActivationConfiguration)), { "activationMode": n => { sensorCandidateActivationConfiguration.activationMode = n.getEnumValue(SensorCandidateActivationModeObject); } });
4235
+ }
4236
+ /**
4237
+ * The deserialization information for the current model
4238
+ * @param SensorCandidateCollectionResponse The instance to deserialize into.
4239
+ * @returns {Record<string, (node: ParseNode) => void>}
4240
+ */
4241
+ // @ts-ignore
4242
+ export function deserializeIntoSensorCandidateCollectionResponse(sensorCandidateCollectionResponse = {}) {
4243
+ return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(sensorCandidateCollectionResponse)), { "value": n => { sensorCandidateCollectionResponse.value = n.getCollectionOfObjectValues(createSensorCandidateFromDiscriminatorValue); } });
4244
+ }
4009
4245
  /**
4010
4246
  * The deserialization information for the current model
4011
4247
  * @param SensorCollectionResponse The instance to deserialize into.
@@ -4280,6 +4516,15 @@ export function deserializeIntoUnifiedGroupSourceCollectionResponse(unifiedGroup
4280
4516
  export function deserializeIntoUrlEvidence(urlEvidence = {}) {
4281
4517
  return Object.assign(Object.assign({}, deserializeIntoAlertEvidence(urlEvidence)), { "url": n => { urlEvidence.url = n.getStringValue(); } });
4282
4518
  }
4519
+ /**
4520
+ * The deserialization information for the current model
4521
+ * @param User The instance to deserialize into.
4522
+ * @returns {Record<string, (node: ParseNode) => void>}
4523
+ */
4524
+ // @ts-ignore
4525
+ export function deserializeIntoUser(user = {}) {
4526
+ return Object.assign(Object.assign({}, deserializeIntoIdentityAccounts(user)), { "emailAddress": n => { user.emailAddress = n.getStringValue(); }, "userPrincipalName": n => { user.userPrincipalName = n.getStringValue(); } });
4527
+ }
4283
4528
  /**
4284
4529
  * The deserialization information for the current model
4285
4530
  * @param UserAccount The instance to deserialize into.
@@ -4457,6 +4702,56 @@ export function deserializeIntoWhoisRecord(whoisRecord = {}) {
4457
4702
  export function deserializeIntoWhoisRecordCollectionResponse(whoisRecordCollectionResponse = {}) {
4458
4703
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(whoisRecordCollectionResponse)), { "value": n => { whoisRecordCollectionResponse.value = n.getCollectionOfObjectValues(createWhoisRecordFromDiscriminatorValue); } });
4459
4704
  }
4705
+ /**
4706
+ * Serializes information the current object
4707
+ * @param Account The instance to serialize from.
4708
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4709
+ * @param writer Serialization writer to use to serialize this model
4710
+ */
4711
+ // @ts-ignore
4712
+ export function serializeAccount(writer, account = {}, isSerializingDerivedType = false) {
4713
+ if (!account || isSerializingDerivedType) {
4714
+ return;
4715
+ }
4716
+ if (account.actions)
4717
+ writer.writeCollectionOfEnumValues("actions", account.actions);
4718
+ writer.writeStringValue("identifier", account.identifier);
4719
+ writer.writeEnumValue("identityProvider", account.identityProvider);
4720
+ writer.writeStringValue("@odata.type", account.odataType);
4721
+ writer.writeAdditionalData(account.additionalData);
4722
+ }
4723
+ /**
4724
+ * Serializes information the current object
4725
+ * @param ActiveDirectoryDomainEvidence The instance to serialize from.
4726
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4727
+ * @param writer Serialization writer to use to serialize this model
4728
+ */
4729
+ // @ts-ignore
4730
+ export function serializeActiveDirectoryDomainEvidence(writer, activeDirectoryDomainEvidence = {}, isSerializingDerivedType = false) {
4731
+ if (!activeDirectoryDomainEvidence || isSerializingDerivedType) {
4732
+ return;
4733
+ }
4734
+ serializeAlertEvidence(writer, activeDirectoryDomainEvidence, isSerializingDerivedType);
4735
+ writer.writeStringValue("activeDirectoryDomainName", activeDirectoryDomainEvidence.activeDirectoryDomainName);
4736
+ writer.writeCollectionOfObjectValues("trustedDomains", activeDirectoryDomainEvidence.trustedDomains, serializeActiveDirectoryDomainEvidence);
4737
+ }
4738
+ /**
4739
+ * Serializes information the current object
4740
+ * @param AiAgentEvidence The instance to serialize from.
4741
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4742
+ * @param writer Serialization writer to use to serialize this model
4743
+ */
4744
+ // @ts-ignore
4745
+ export function serializeAiAgentEvidence(writer, aiAgentEvidence = {}, isSerializingDerivedType = false) {
4746
+ if (!aiAgentEvidence || isSerializingDerivedType) {
4747
+ return;
4748
+ }
4749
+ serializeAlertEvidence(writer, aiAgentEvidence, isSerializingDerivedType);
4750
+ writer.writeStringValue("agentId", aiAgentEvidence.agentId);
4751
+ writer.writeStringValue("agentName", aiAgentEvidence.agentName);
4752
+ writer.writeEnumValue("hostingPlatformType", aiAgentEvidence.hostingPlatformType);
4753
+ writer.writeStringValue("instructions", aiAgentEvidence.instructions);
4754
+ }
4460
4755
  /**
4461
4756
  * Serializes information the current object
4462
4757
  * @param Alert The instance to serialize from.
@@ -4557,6 +4852,12 @@ export function serializeAlertEvidence(writer, alertEvidence = {}, isSerializing
4557
4852
  writer.writeEnumValue("verdict", alertEvidence.verdict);
4558
4853
  writer.writeAdditionalData(alertEvidence.additionalData);
4559
4854
  switch (alertEvidence.odataType) {
4855
+ case "#microsoft.graph.security.activeDirectoryDomainEvidence":
4856
+ serializeActiveDirectoryDomainEvidence(writer, alertEvidence, true);
4857
+ break;
4858
+ case "#microsoft.graph.security.aiAgentEvidence":
4859
+ serializeAiAgentEvidence(writer, alertEvidence, true);
4860
+ break;
4560
4861
  case "#microsoft.graph.security.amazonResourceEvidence":
4561
4862
  serializeAmazonResourceEvidence(writer, alertEvidence, true);
4562
4863
  break;
@@ -5391,6 +5692,7 @@ export function serializeDeviceEvidence(writer, deviceEvidence = {}, isSerializi
5391
5692
  writer.writeStringValue("osPlatform", deviceEvidence.osPlatform);
5392
5693
  writer.writeNumberValue("rbacGroupId", deviceEvidence.rbacGroupId);
5393
5694
  writer.writeStringValue("rbacGroupName", deviceEvidence.rbacGroupName);
5695
+ writer.writeCollectionOfObjectValues("resourceAccessEvents", deviceEvidence.resourceAccessEvents, serializeResourceAccessEvent);
5394
5696
  writer.writeEnumValue("riskScore", deviceEvidence.riskScore);
5395
5697
  writer.writeStringValue("version", deviceEvidence.version);
5396
5698
  writer.writeObjectValue("vmMetadata", deviceEvidence.vmMetadata, serializeVmMetadata);
@@ -5488,6 +5790,7 @@ export function serializeEdiscoveryCase(writer, ediscoveryCase = {}, isSerializi
5488
5790
  return;
5489
5791
  }
5490
5792
  serializeCaseEscaped(writer, ediscoveryCase, isSerializingDerivedType);
5793
+ writer.writeCollectionOfObjectValues("caseMembers", ediscoveryCase.caseMembers, serializeEdiscoveryCaseMember);
5491
5794
  writer.writeObjectValue("closedBy", ediscoveryCase.closedBy, serializeIdentitySet);
5492
5795
  writer.writeDateValue("closedDateTime", ediscoveryCase.closedDateTime);
5493
5796
  writer.writeCollectionOfObjectValues("custodians", ediscoveryCase.custodians, serializeEdiscoveryCustodian);
@@ -5513,6 +5816,36 @@ export function serializeEdiscoveryCaseCollectionResponse(writer, ediscoveryCase
5513
5816
  serializeBaseCollectionPaginationCountResponse(writer, ediscoveryCaseCollectionResponse, isSerializingDerivedType);
5514
5817
  writer.writeCollectionOfObjectValues("value", ediscoveryCaseCollectionResponse.value, serializeEdiscoveryCase);
5515
5818
  }
5819
+ /**
5820
+ * Serializes information the current object
5821
+ * @param EdiscoveryCaseMember The instance to serialize from.
5822
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
5823
+ * @param writer Serialization writer to use to serialize this model
5824
+ */
5825
+ // @ts-ignore
5826
+ export function serializeEdiscoveryCaseMember(writer, ediscoveryCaseMember = {}, isSerializingDerivedType = false) {
5827
+ if (!ediscoveryCaseMember || isSerializingDerivedType) {
5828
+ return;
5829
+ }
5830
+ serializeEntity(writer, ediscoveryCaseMember, isSerializingDerivedType);
5831
+ writer.writeStringValue("displayName", ediscoveryCaseMember.displayName);
5832
+ writer.writeEnumValue("recipientType", ediscoveryCaseMember.recipientType);
5833
+ writer.writeStringValue("smtpAddress", ediscoveryCaseMember.smtpAddress);
5834
+ }
5835
+ /**
5836
+ * Serializes information the current object
5837
+ * @param EdiscoveryCaseMemberCollectionResponse The instance to serialize from.
5838
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
5839
+ * @param writer Serialization writer to use to serialize this model
5840
+ */
5841
+ // @ts-ignore
5842
+ export function serializeEdiscoveryCaseMemberCollectionResponse(writer, ediscoveryCaseMemberCollectionResponse = {}, isSerializingDerivedType = false) {
5843
+ if (!ediscoveryCaseMemberCollectionResponse || isSerializingDerivedType) {
5844
+ return;
5845
+ }
5846
+ serializeBaseCollectionPaginationCountResponse(writer, ediscoveryCaseMemberCollectionResponse, isSerializingDerivedType);
5847
+ writer.writeCollectionOfObjectValues("value", ediscoveryCaseMemberCollectionResponse.value, serializeEdiscoveryCaseMember);
5848
+ }
5516
5849
  /**
5517
5850
  * Serializes information the current object
5518
5851
  * @param EdiscoveryCaseSettings The instance to serialize from.
@@ -6750,6 +7083,44 @@ export function serializeHyperlink(writer, hyperlink = {}, isSerializingDerivedT
6750
7083
  writer.writeStringValue("url", hyperlink.url);
6751
7084
  writer.writeAdditionalData(hyperlink.additionalData);
6752
7085
  }
7086
+ /**
7087
+ * Serializes information the current object
7088
+ * @param IdentityAccounts The instance to serialize from.
7089
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
7090
+ * @param writer Serialization writer to use to serialize this model
7091
+ */
7092
+ // @ts-ignore
7093
+ export function serializeIdentityAccounts(writer, identityAccounts = {}, isSerializingDerivedType = false) {
7094
+ if (!identityAccounts || isSerializingDerivedType) {
7095
+ return;
7096
+ }
7097
+ serializeEntity(writer, identityAccounts, isSerializingDerivedType);
7098
+ writer.writeCollectionOfObjectValues("accounts", identityAccounts.accounts, serializeAccount);
7099
+ writer.writeStringValue("cloudSecurityIdentifier", identityAccounts.cloudSecurityIdentifier);
7100
+ writer.writeStringValue("displayName", identityAccounts.displayName);
7101
+ writer.writeStringValue("domain", identityAccounts.domain);
7102
+ writer.writeBooleanValue("isEnabled", identityAccounts.isEnabled);
7103
+ writer.writeStringValue("onPremisesSecurityIdentifier", identityAccounts.onPremisesSecurityIdentifier);
7104
+ switch (identityAccounts.odataType) {
7105
+ case "#microsoft.graph.security.user":
7106
+ serializeUser(writer, identityAccounts, true);
7107
+ break;
7108
+ }
7109
+ }
7110
+ /**
7111
+ * Serializes information the current object
7112
+ * @param IdentityAccountsCollectionResponse The instance to serialize from.
7113
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
7114
+ * @param writer Serialization writer to use to serialize this model
7115
+ */
7116
+ // @ts-ignore
7117
+ export function serializeIdentityAccountsCollectionResponse(writer, identityAccountsCollectionResponse = {}, isSerializingDerivedType = false) {
7118
+ if (!identityAccountsCollectionResponse || isSerializingDerivedType) {
7119
+ return;
7120
+ }
7121
+ serializeBaseCollectionPaginationCountResponse(writer, identityAccountsCollectionResponse, isSerializingDerivedType);
7122
+ writer.writeCollectionOfObjectValues("value", identityAccountsCollectionResponse.value, serializeIdentityAccounts);
7123
+ }
6753
7124
  /**
6754
7125
  * Serializes information the current object
6755
7126
  * @param IdentityContainer The instance to serialize from.
@@ -6763,6 +7134,9 @@ export function serializeIdentityContainer(writer, identityContainer = {}, isSer
6763
7134
  }
6764
7135
  serializeEntity(writer, identityContainer, isSerializingDerivedType);
6765
7136
  writer.writeCollectionOfObjectValues("healthIssues", identityContainer.healthIssues, serializeHealthIssue);
7137
+ writer.writeCollectionOfObjectValues("identityAccounts", identityContainer.identityAccounts, serializeIdentityAccounts);
7138
+ writer.writeObjectValue("sensorCandidateActivationConfiguration", identityContainer.sensorCandidateActivationConfiguration, serializeSensorCandidateActivationConfiguration);
7139
+ writer.writeCollectionOfObjectValues("sensorCandidates", identityContainer.sensorCandidates, serializeSensorCandidate);
6766
7140
  writer.writeCollectionOfObjectValues("sensors", identityContainer.sensors, serializeSensor);
6767
7141
  }
6768
7142
  /**
@@ -6916,6 +7290,24 @@ export function serializeIntelligenceProfileIndicatorCollectionResponse(writer,
6916
7290
  serializeBaseCollectionPaginationCountResponse(writer, intelligenceProfileIndicatorCollectionResponse, isSerializingDerivedType);
6917
7291
  writer.writeCollectionOfObjectValues("value", intelligenceProfileIndicatorCollectionResponse.value, serializeIntelligenceProfileIndicator);
6918
7292
  }
7293
+ /**
7294
+ * Serializes information the current object
7295
+ * @param InvokeActionResult The instance to serialize from.
7296
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
7297
+ * @param writer Serialization writer to use to serialize this model
7298
+ */
7299
+ // @ts-ignore
7300
+ export function serializeInvokeActionResult(writer, invokeActionResult = {}, isSerializingDerivedType = false) {
7301
+ if (!invokeActionResult || isSerializingDerivedType) {
7302
+ return;
7303
+ }
7304
+ writer.writeStringValue("accountId", invokeActionResult.accountId);
7305
+ writer.writeEnumValue("action", invokeActionResult.action);
7306
+ writer.writeStringValue("correlationId", invokeActionResult.correlationId);
7307
+ writer.writeEnumValue("identityProvider", invokeActionResult.identityProvider);
7308
+ writer.writeStringValue("@odata.type", invokeActionResult.odataType);
7309
+ writer.writeAdditionalData(invokeActionResult.additionalData);
7310
+ }
6919
7311
  /**
6920
7312
  * Serializes information the current object
6921
7313
  * @param IoTDeviceEvidence The instance to serialize from.
@@ -7741,6 +8133,50 @@ export function serializeSensor(writer, sensor = {}, isSerializingDerivedType =
7741
8133
  writer.writeObjectValue("settings", sensor.settings, serializeSensorSettings);
7742
8134
  writer.writeStringValue("version", sensor.version);
7743
8135
  }
8136
+ /**
8137
+ * Serializes information the current object
8138
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
8139
+ * @param SensorCandidate The instance to serialize from.
8140
+ * @param writer Serialization writer to use to serialize this model
8141
+ */
8142
+ // @ts-ignore
8143
+ export function serializeSensorCandidate(writer, sensorCandidate = {}, isSerializingDerivedType = false) {
8144
+ if (!sensorCandidate || isSerializingDerivedType) {
8145
+ return;
8146
+ }
8147
+ serializeEntity(writer, sensorCandidate, isSerializingDerivedType);
8148
+ writer.writeStringValue("computerDnsName", sensorCandidate.computerDnsName);
8149
+ writer.writeDateValue("lastSeenDateTime", sensorCandidate.lastSeenDateTime);
8150
+ writer.writeStringValue("senseClientVersion", sensorCandidate.senseClientVersion);
8151
+ }
8152
+ /**
8153
+ * Serializes information the current object
8154
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
8155
+ * @param SensorCandidateActivationConfiguration The instance to serialize from.
8156
+ * @param writer Serialization writer to use to serialize this model
8157
+ */
8158
+ // @ts-ignore
8159
+ export function serializeSensorCandidateActivationConfiguration(writer, sensorCandidateActivationConfiguration = {}, isSerializingDerivedType = false) {
8160
+ if (!sensorCandidateActivationConfiguration || isSerializingDerivedType) {
8161
+ return;
8162
+ }
8163
+ serializeEntity(writer, sensorCandidateActivationConfiguration, isSerializingDerivedType);
8164
+ writer.writeEnumValue("activationMode", sensorCandidateActivationConfiguration.activationMode);
8165
+ }
8166
+ /**
8167
+ * Serializes information the current object
8168
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
8169
+ * @param SensorCandidateCollectionResponse The instance to serialize from.
8170
+ * @param writer Serialization writer to use to serialize this model
8171
+ */
8172
+ // @ts-ignore
8173
+ export function serializeSensorCandidateCollectionResponse(writer, sensorCandidateCollectionResponse = {}, isSerializingDerivedType = false) {
8174
+ if (!sensorCandidateCollectionResponse || isSerializingDerivedType) {
8175
+ return;
8176
+ }
8177
+ serializeBaseCollectionPaginationCountResponse(writer, sensorCandidateCollectionResponse, isSerializingDerivedType);
8178
+ writer.writeCollectionOfObjectValues("value", sensorCandidateCollectionResponse.value, serializeSensorCandidate);
8179
+ }
7744
8180
  /**
7745
8181
  * Serializes information the current object
7746
8182
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -8198,6 +8634,21 @@ export function serializeUrlEvidence(writer, urlEvidence = {}, isSerializingDeri
8198
8634
  serializeAlertEvidence(writer, urlEvidence, isSerializingDerivedType);
8199
8635
  writer.writeStringValue("url", urlEvidence.url);
8200
8636
  }
8637
+ /**
8638
+ * Serializes information the current object
8639
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
8640
+ * @param User The instance to serialize from.
8641
+ * @param writer Serialization writer to use to serialize this model
8642
+ */
8643
+ // @ts-ignore
8644
+ export function serializeUser(writer, user = {}, isSerializingDerivedType = false) {
8645
+ if (!user || isSerializingDerivedType) {
8646
+ return;
8647
+ }
8648
+ serializeIdentityAccounts(writer, user, isSerializingDerivedType);
8649
+ writer.writeStringValue("emailAddress", user.emailAddress);
8650
+ writer.writeStringValue("userPrincipalName", user.userPrincipalName);
8651
+ }
8201
8652
  /**
8202
8653
  * Serializes information the current object
8203
8654
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -8493,6 +8944,15 @@ export const ActionAfterRetentionPeriodObject = {
8493
8944
  Relabel: "relabel",
8494
8945
  UnknownFutureValue: "unknownFutureValue",
8495
8946
  };
8947
+ export const ActionObject = {
8948
+ Disable: "disable",
8949
+ Enable: "enable",
8950
+ ForcePasswordReset: "forcePasswordReset",
8951
+ RevokeAllSessions: "revokeAllSessions",
8952
+ RequireUserToSignInAgain: "requireUserToSignInAgain",
8953
+ MarkUserAsCompromised: "markUserAsCompromised",
8954
+ UnknownFutureValue: "unknownFutureValue",
8955
+ };
8496
8956
  export const AdditionalDataOptionsObject = {
8497
8957
  AllVersions: "allVersions",
8498
8958
  LinkedFiles: "linkedFiles",
@@ -8521,6 +8981,13 @@ export const AdditionalOptionsObject = {
8521
8981
  SplitSource: "splitSource",
8522
8982
  IncludeReport: "includeReport",
8523
8983
  };
8984
+ export const AiAgentPlatformObject = {
8985
+ Unknown: "unknown",
8986
+ AzureAIFoundry: "azureAIFoundry",
8987
+ CopilotStudio: "copilotStudio",
8988
+ Copilot: "copilot",
8989
+ UnknownFutureValue: "unknownFutureValue",
8990
+ };
8524
8991
  export const AlertClassificationObject = {
8525
8992
  Unknown: "unknown",
8526
8993
  FalsePositive: "falsePositive",
@@ -8898,6 +9365,12 @@ export const HostReputationRuleSeverityObject = {
8898
9365
  High: "high",
8899
9366
  UnknownFutureValue: "unknownFutureValue",
8900
9367
  };
9368
+ export const IdentityProviderObject = {
9369
+ EntraID: "entraID",
9370
+ ActiveDirectory: "activeDirectory",
9371
+ Okta: "okta",
9372
+ UnknownFutureValue: "unknownFutureValue",
9373
+ };
8901
9374
  export const IncidentStatusObject = {
8902
9375
  Active: "active",
8903
9376
  Resolved: "resolved",
@@ -9001,6 +9474,11 @@ export const QueryTypeObject = {
9001
9474
  Messages: "messages",
9002
9475
  UnknownFutureValue: "unknownFutureValue",
9003
9476
  };
9477
+ export const RecipientTypeObject = {
9478
+ User: "user",
9479
+ RoleGroup: "roleGroup",
9480
+ UnknownFutureValue: "unknownFutureValue",
9481
+ };
9004
9482
  export const RetentionTriggerObject = {
9005
9483
  DateLabeled: "dateLabeled",
9006
9484
  DateCreated: "dateCreated",
@@ -9013,6 +9491,11 @@ export const ReviewSetSettingsObject = {
9013
9491
  DisableGrouping: "disableGrouping",
9014
9492
  UnknownFutureValue: "unknownFutureValue",
9015
9493
  };
9494
+ export const SensorCandidateActivationModeObject = {
9495
+ Manual: "manual",
9496
+ Automated: "automated",
9497
+ UnknownFutureValue: "unknownFutureValue",
9498
+ };
9016
9499
  export const SensorHealthStatusObject = {
9017
9500
  Healthy: "healthy",
9018
9501
  NotHealthyLow: "notHealthyLow",