@microsoft/msgraph-sdk 1.0.0-preview.45 → 1.0.0-preview.46

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.
@@ -303,6 +303,7 @@ export interface AnalyzedMessageEvidence extends AlertEvidence, Parsable {
303
303
  */
304
304
  urn?: string | null;
305
305
  }
306
+ export type AntispamTeamsDirection = (typeof AntispamTeamsDirectionObject)[keyof typeof AntispamTeamsDirectionObject];
306
307
  export interface Article extends Entity, Parsable {
307
308
  /**
308
309
  * The body property
@@ -1784,6 +1785,12 @@ export declare function createSubmissionMailEvidenceFromDiscriminatorValue(parse
1784
1785
  * @returns {Tag}
1785
1786
  */
1786
1787
  export declare function createTagFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1788
+ /**
1789
+ * Creates a new instance of the appropriate class based on discriminator value
1790
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1791
+ * @returns {TeamsMessageEvidence}
1792
+ */
1793
+ export declare function createTeamsMessageEvidenceFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1787
1794
  /**
1788
1795
  * Creates a new instance of the appropriate class based on discriminator value
1789
1796
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2984,6 +2991,11 @@ export declare function deserializeIntoSubmissionMailEvidence(submissionMailEvid
2984
2991
  * @returns {Record<string, (node: ParseNode) => void>}
2985
2992
  */
2986
2993
  export declare function deserializeIntoTag(tag?: Partial<Tag> | undefined): Record<string, (node: ParseNode) => void>;
2994
+ /**
2995
+ * The deserialization information for the current model
2996
+ * @returns {Record<string, (node: ParseNode) => void>}
2997
+ */
2998
+ export declare function deserializeIntoTeamsMessageEvidence(teamsMessageEvidence?: Partial<TeamsMessageEvidence> | undefined): Record<string, (node: ParseNode) => void>;
2987
2999
  /**
2988
3000
  * The deserialization information for the current model
2989
3001
  * @returns {Record<string, (node: ParseNode) => void>}
@@ -5179,6 +5191,10 @@ export interface MailboxEvidence extends AlertEvidence, Parsable {
5179
5191
  * The primary email address of the mailbox.
5180
5192
  */
5181
5193
  primaryAddress?: string | null;
5194
+ /**
5195
+ * The user principal name of the mailbox.
5196
+ */
5197
+ upn?: string | null;
5182
5198
  /**
5183
5199
  * The user account of the mailbox.
5184
5200
  */
@@ -6786,6 +6802,11 @@ export declare function serializeSubmissionMailEvidence(writer: SerializationWri
6786
6802
  * @param writer Serialization writer to use to serialize this model
6787
6803
  */
6788
6804
  export declare function serializeTag(writer: SerializationWriter, tag?: Partial<Tag> | undefined | null): void;
6805
+ /**
6806
+ * Serializes information the current object
6807
+ * @param writer Serialization writer to use to serialize this model
6808
+ */
6809
+ export declare function serializeTeamsMessageEvidence(writer: SerializationWriter, teamsMessageEvidence?: Partial<TeamsMessageEvidence> | undefined | null): void;
6789
6810
  /**
6790
6811
  * Serializes information the current object
6791
6812
  * @param writer Serialization writer to use to serialize this model
@@ -7165,6 +7186,106 @@ export interface Tag extends Entity, Parsable {
7165
7186
  */
7166
7187
  lastModifiedDateTime?: Date | null;
7167
7188
  }
7189
+ export type TeamsDeliveryLocation = (typeof TeamsDeliveryLocationObject)[keyof typeof TeamsDeliveryLocationObject];
7190
+ export type TeamsMessageDeliveryAction = (typeof TeamsMessageDeliveryActionObject)[keyof typeof TeamsMessageDeliveryActionObject];
7191
+ export interface TeamsMessageEvidence extends AlertEvidence, Parsable {
7192
+ /**
7193
+ * The identifier of the campaign that this Teams message is part of.
7194
+ */
7195
+ campaignId?: string | null;
7196
+ /**
7197
+ * The channel ID associated with this Teams message.
7198
+ */
7199
+ channelId?: string | null;
7200
+ /**
7201
+ * The delivery action of this Teams message. Possible values are: unknown, deliveredAsSpam, delivered, blocked, replaced, unknownFutureValue.
7202
+ */
7203
+ deliveryAction?: TeamsMessageDeliveryAction | null;
7204
+ /**
7205
+ * The delivery location of this Teams message. Possible values are: unknown, teams, quarantine, failed, unknownFutureValue.
7206
+ */
7207
+ deliveryLocation?: TeamsDeliveryLocation | null;
7208
+ /**
7209
+ * The list of file entities that are attached to this Teams message.
7210
+ */
7211
+ files?: FileEvidence[] | null;
7212
+ /**
7213
+ * The identifier of the team or group that this message is part of.
7214
+ */
7215
+ groupId?: string | null;
7216
+ /**
7217
+ * Indicates whether the message is owned by the organization that reported the security detection alert.
7218
+ */
7219
+ isExternal?: boolean | null;
7220
+ /**
7221
+ * Indicates whether the message is owned by your organization.
7222
+ */
7223
+ isOwned?: boolean | null;
7224
+ /**
7225
+ * Date and time when the message was last edited. 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.
7226
+ */
7227
+ lastModifiedDateTime?: Date | null;
7228
+ /**
7229
+ * The direction of the Teams message. The possible values are: unknown, inbound, outbound, intraorg, unknownFutureValue.
7230
+ */
7231
+ messageDirection?: AntispamTeamsDirection | null;
7232
+ /**
7233
+ * Message identifier unique within the thread.
7234
+ */
7235
+ messageId?: string | null;
7236
+ /**
7237
+ * Tenant ID (GUID) of the owner of the message.
7238
+ */
7239
+ owningTenantId?: Guid | null;
7240
+ /**
7241
+ * Identifier of the message to which the current message is a reply; otherwise, it's the same as the messageId.
7242
+ */
7243
+ parentMessageId?: string | null;
7244
+ /**
7245
+ * The received date of this message. 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.
7246
+ */
7247
+ receivedDateTime?: Date | null;
7248
+ /**
7249
+ * The recipients of this Teams message.
7250
+ */
7251
+ recipients?: string[] | null;
7252
+ /**
7253
+ * The SMTP format address of the sender.
7254
+ */
7255
+ senderFromAddress?: string | null;
7256
+ /**
7257
+ * The IP address of the sender.
7258
+ */
7259
+ senderIP?: string | null;
7260
+ /**
7261
+ * Source of the message; for example, desktop and mobile.
7262
+ */
7263
+ sourceAppName?: string | null;
7264
+ /**
7265
+ * The source ID of this Teams message.
7266
+ */
7267
+ sourceId?: string | null;
7268
+ /**
7269
+ * The subject of this Teams message.
7270
+ */
7271
+ subject?: string | null;
7272
+ /**
7273
+ * The list of recipients who were detected as suspicious.
7274
+ */
7275
+ suspiciousRecipients?: string[] | null;
7276
+ /**
7277
+ * Identifier of the channel or chat that this message is part of.
7278
+ */
7279
+ threadId?: string | null;
7280
+ /**
7281
+ * The Teams message type. Supported values are: Chat, Topic, Space, and Meeting.
7282
+ */
7283
+ threadType?: string | null;
7284
+ /**
7285
+ * The URLs contained in this Teams message.
7286
+ */
7287
+ urls?: UrlEvidence[] | null;
7288
+ }
7168
7289
  export interface ThreatIntelligence extends Entity, Parsable {
7169
7290
  /**
7170
7291
  * Refers to indicators of threat or compromise highlighted in an article.Note: List retrieval is not yet supported.
@@ -7716,6 +7837,13 @@ export declare const AlertStatusObject: {
7716
7837
  readonly Resolved: "resolved";
7717
7838
  readonly UnknownFutureValue: "unknownFutureValue";
7718
7839
  };
7840
+ export declare const AntispamTeamsDirectionObject: {
7841
+ readonly Unknown: "unknown";
7842
+ readonly Inbound: "inbound";
7843
+ readonly Outbound: "outbound";
7844
+ readonly Intraorg: "intraorg";
7845
+ readonly UnknownFutureValue: "unknownFutureValue";
7846
+ };
7719
7847
  export declare const BehaviorDuringRetentionPeriodObject: {
7720
7848
  readonly DoNotRetain: "doNotRetain";
7721
7849
  readonly Retain: "retain";
@@ -8144,6 +8272,21 @@ export declare const SourceTypeObject: {
8144
8272
  readonly Site: "site";
8145
8273
  readonly UnknownFutureValue: "unknownFutureValue";
8146
8274
  };
8275
+ export declare const TeamsDeliveryLocationObject: {
8276
+ readonly Unknown: "unknown";
8277
+ readonly Teams: "teams";
8278
+ readonly Quarantine: "quarantine";
8279
+ readonly Failed: "failed";
8280
+ readonly UnknownFutureValue: "unknownFutureValue";
8281
+ };
8282
+ export declare const TeamsMessageDeliveryActionObject: {
8283
+ readonly Unknown: "unknown";
8284
+ readonly DeliveredAsSpam: "deliveredAsSpam";
8285
+ readonly Delivered: "delivered";
8286
+ readonly Blocked: "blocked";
8287
+ readonly Replaced: "replaced";
8288
+ readonly UnknownFutureValue: "unknownFutureValue";
8289
+ };
8147
8290
  export declare const VmCloudProviderObject: {
8148
8291
  readonly Unknown: "unknown";
8149
8292
  readonly Azure: "azure";