@microsoft/msgraph-sdk 1.0.0-preview.17 → 1.0.0-preview.19

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.
@@ -1,11 +1,16 @@
1
1
  import { type BaseCollectionPaginationCountResponse, type Entity, type Group, type IdentitySet, type PhysicalAddress, type PublicError, type ResultInfo, type Site } from '../';
2
2
  import { type AdditionalDataHolder, type BackedModel, type Duration, type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ import { type Guid } from 'guid-typescript';
3
4
  export type AdditionalDataOptions = (typeof AdditionalDataOptionsObject)[keyof typeof AdditionalDataOptionsObject];
4
5
  export interface Alert extends Entity, Parsable {
5
6
  /**
6
7
  * The adversary or activity group that is associated with this alert.
7
8
  */
8
9
  actorDisplayName?: string;
10
+ /**
11
+ * A collection of other alert properties, including user-defined properties. Any custom details defined in the alert, and any dynamic content in the alert details, are stored here.
12
+ */
13
+ additionalDataProperty?: Dictionary;
9
14
  /**
10
15
  * The ID of the policy that generated the alert, and populated when there is a specific policy that generated the alert, whether configured by a customer or a built-in policy.
11
16
  */
@@ -525,6 +530,10 @@ export interface CloudApplicationEvidence extends AlertEvidence, Parsable {
525
530
  * The identifier of the SaaS application.
526
531
  */
527
532
  saasAppId?: number;
533
+ /**
534
+ * The stream property
535
+ */
536
+ stream?: Stream;
528
537
  }
529
538
  export interface ContainerEvidence extends AlertEvidence, Parsable {
530
539
  /**
@@ -1238,6 +1247,12 @@ export declare function createKubernetesServicePortFromDiscriminatorValue(parseN
1238
1247
  * @returns {LoggedOnUser}
1239
1248
  */
1240
1249
  export declare function createLoggedOnUserFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1250
+ /**
1251
+ * Creates a new instance of the appropriate class based on discriminator value
1252
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1253
+ * @returns {MailboxConfigurationEvidence}
1254
+ */
1255
+ export declare function createMailboxConfigurationEvidenceFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1241
1256
  /**
1242
1257
  * Creates a new instance of the appropriate class based on discriminator value
1243
1258
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1406,6 +1421,12 @@ export declare function createSslCertificateEntityFromDiscriminatorValue(parseNo
1406
1421
  * @returns {SslCertificate}
1407
1422
  */
1408
1423
  export declare function createSslCertificateFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1424
+ /**
1425
+ * Creates a new instance of the appropriate class based on discriminator value
1426
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1427
+ * @returns {Stream}
1428
+ */
1429
+ export declare function createStreamFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1409
1430
  /**
1410
1431
  * Creates a new instance of the appropriate class based on discriminator value
1411
1432
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2218,6 +2239,11 @@ export declare function deserializeIntoKubernetesServicePort(kubernetesServicePo
2218
2239
  * @returns {Record<string, (node: ParseNode) => void>}
2219
2240
  */
2220
2241
  export declare function deserializeIntoLoggedOnUser(loggedOnUser?: Partial<LoggedOnUser> | undefined): Record<string, (node: ParseNode) => void>;
2242
+ /**
2243
+ * The deserialization information for the current model
2244
+ * @returns {Record<string, (node: ParseNode) => void>}
2245
+ */
2246
+ export declare function deserializeIntoMailboxConfigurationEvidence(mailboxConfigurationEvidence?: Partial<MailboxConfigurationEvidence> | undefined): Record<string, (node: ParseNode) => void>;
2221
2247
  /**
2222
2248
  * The deserialization information for the current model
2223
2249
  * @returns {Record<string, (node: ParseNode) => void>}
@@ -2358,6 +2384,11 @@ export declare function deserializeIntoSslCertificateCollectionResponse(sslCerti
2358
2384
  * @returns {Record<string, (node: ParseNode) => void>}
2359
2385
  */
2360
2386
  export declare function deserializeIntoSslCertificateEntity(sslCertificateEntity?: Partial<SslCertificateEntity> | undefined): Record<string, (node: ParseNode) => void>;
2387
+ /**
2388
+ * The deserialization information for the current model
2389
+ * @returns {Record<string, (node: ParseNode) => void>}
2390
+ */
2391
+ export declare function deserializeIntoStream(stream?: Partial<Stream> | undefined): Record<string, (node: ParseNode) => void>;
2361
2392
  /**
2362
2393
  * The deserialization information for the current model
2363
2394
  * @returns {Record<string, (node: ParseNode) => void>}
@@ -3158,6 +3189,10 @@ export interface GitHubUserEvidence extends AlertEvidence, Parsable {
3158
3189
  }
3159
3190
  export type GoogleCloudLocationType = (typeof GoogleCloudLocationTypeObject)[keyof typeof GoogleCloudLocationTypeObject];
3160
3191
  export interface GoogleCloudResourceEvidence extends AlertEvidence, Parsable {
3192
+ /**
3193
+ * The fullResourceName property
3194
+ */
3195
+ fullResourceName?: string;
3161
3196
  /**
3162
3197
  * The zone or region where the resource is located.
3163
3198
  */
@@ -3728,6 +3763,10 @@ export interface Incident extends Entity, Parsable {
3728
3763
  * Only populated in case an incident is grouped with another incident, as part of the logic that processes incidents. In such a case, the status property is redirected.
3729
3764
  */
3730
3765
  redirectIncidentId?: string;
3766
+ /**
3767
+ * The resolvingComment property
3768
+ */
3769
+ resolvingComment?: string;
3731
3770
  /**
3732
3771
  * The severity property
3733
3772
  */
@@ -3984,6 +4023,10 @@ export interface IpEvidence extends AlertEvidence, Parsable {
3984
4023
  * The value of the IP Address, can be either in V4 address or V6 address format.
3985
4024
  */
3986
4025
  ipAddress?: string;
4026
+ /**
4027
+ * The stream property
4028
+ */
4029
+ stream?: Stream;
3987
4030
  }
3988
4031
  export interface KubernetesClusterEvidence extends AlertEvidence, Parsable {
3989
4032
  /**
@@ -4197,6 +4240,33 @@ export interface LoggedOnUser extends AdditionalDataHolder, BackedModel, Parsabl
4197
4240
  */
4198
4241
  odataType?: string;
4199
4242
  }
4243
+ export interface MailboxConfigurationEvidence extends AlertEvidence, Parsable {
4244
+ /**
4245
+ * The configurationId property
4246
+ */
4247
+ configurationId?: string;
4248
+ /**
4249
+ * The configurationType property
4250
+ */
4251
+ configurationType?: MailboxConfigurationType;
4252
+ /**
4253
+ * The displayName property
4254
+ */
4255
+ displayName?: string;
4256
+ /**
4257
+ * The externalDirectoryObjectId property
4258
+ */
4259
+ externalDirectoryObjectId?: Guid;
4260
+ /**
4261
+ * The mailboxPrimaryAddress property
4262
+ */
4263
+ mailboxPrimaryAddress?: string;
4264
+ /**
4265
+ * The upn property
4266
+ */
4267
+ upn?: string;
4268
+ }
4269
+ export type MailboxConfigurationType = (typeof MailboxConfigurationTypeObject)[keyof typeof MailboxConfigurationTypeObject];
4200
4270
  export interface MailboxEvidence extends AlertEvidence, Parsable {
4201
4271
  /**
4202
4272
  * The name associated with the mailbox.
@@ -5222,6 +5292,11 @@ export declare function serializeKubernetesServicePort(writer: SerializationWrit
5222
5292
  * @param writer Serialization writer to use to serialize this model
5223
5293
  */
5224
5294
  export declare function serializeLoggedOnUser(writer: SerializationWriter, loggedOnUser?: Partial<LoggedOnUser> | undefined): void;
5295
+ /**
5296
+ * Serializes information the current object
5297
+ * @param writer Serialization writer to use to serialize this model
5298
+ */
5299
+ export declare function serializeMailboxConfigurationEvidence(writer: SerializationWriter, mailboxConfigurationEvidence?: Partial<MailboxConfigurationEvidence> | undefined): void;
5225
5300
  /**
5226
5301
  * Serializes information the current object
5227
5302
  * @param writer Serialization writer to use to serialize this model
@@ -5362,6 +5437,11 @@ export declare function serializeSslCertificateCollectionResponse(writer: Serial
5362
5437
  * @param writer Serialization writer to use to serialize this model
5363
5438
  */
5364
5439
  export declare function serializeSslCertificateEntity(writer: SerializationWriter, sslCertificateEntity?: Partial<SslCertificateEntity> | undefined): void;
5440
+ /**
5441
+ * Serializes information the current object
5442
+ * @param writer Serialization writer to use to serialize this model
5443
+ */
5444
+ export declare function serializeStream(writer: SerializationWriter, stream?: Partial<Stream> | undefined): void;
5365
5445
  /**
5366
5446
  * Serializes information the current object
5367
5447
  * @param writer Serialization writer to use to serialize this model
@@ -5663,6 +5743,24 @@ export interface SslCertificateEntity extends AdditionalDataHolder, BackedModel,
5663
5743
  */
5664
5744
  surname?: string;
5665
5745
  }
5746
+ export interface Stream extends AdditionalDataHolder, BackedModel, Parsable {
5747
+ /**
5748
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
5749
+ */
5750
+ additionalData?: Record<string, unknown>;
5751
+ /**
5752
+ * Stores model information.
5753
+ */
5754
+ backingStoreEnabled?: boolean;
5755
+ /**
5756
+ * The name property
5757
+ */
5758
+ name?: string;
5759
+ /**
5760
+ * The OdataType property
5761
+ */
5762
+ odataType?: string;
5763
+ }
5666
5764
  export interface Subdomain extends Entity, Parsable {
5667
5765
  /**
5668
5766
  * The date and time when Microsoft Defender Threat Intelligence first observed the subdomain. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
@@ -5918,6 +6016,10 @@ export interface UserAccount extends AdditionalDataHolder, BackedModel, Parsable
5918
6016
  userSid?: string;
5919
6017
  }
5920
6018
  export interface UserEvidence extends AlertEvidence, Parsable {
6019
+ /**
6020
+ * The stream property
6021
+ */
6022
+ stream?: Stream;
5921
6023
  /**
5922
6024
  * The user account details.
5923
6025
  */
@@ -6551,6 +6653,14 @@ export declare const KubernetesServiceTypeObject: {
6551
6653
  readonly LoadBalancer: "loadBalancer";
6552
6654
  readonly UnknownFutureValue: "unknownFutureValue";
6553
6655
  };
6656
+ export declare const MailboxConfigurationTypeObject: {
6657
+ readonly MailForwardingRule: "mailForwardingRule";
6658
+ readonly OwaSettings: "owaSettings";
6659
+ readonly EwsSettings: "ewsSettings";
6660
+ readonly MailDelegation: "mailDelegation";
6661
+ readonly UserInboxRule: "userInboxRule";
6662
+ readonly UnknownFutureValue: "unknownFutureValue";
6663
+ };
6554
6664
  export declare const OnboardingStatusObject: {
6555
6665
  readonly InsufficientInfo: "insufficientInfo";
6556
6666
  readonly Onboarded: "onboarded";