@microsoft/teams.api
Version:
<p> <a href="https://www.npmjs.com/package/@microsoft/teams.api" target="_blank"> <img src="https://img.shields.io/npm/v/@microsoft/teams.api/latest" /> </a> <a href="https://www.npmjs.com/package/@microsoft/teams.api?activeTab=code" t
48 lines (45 loc) • 1.03 kB
TypeScript
import { MessageEntity } from './message-entity.js';
type SensitiveUsageEntity = MessageEntity & {
/**
* As part of the usage field
*/
usageInfo?: SensitiveUsage;
};
type SensitiveUsage = {
/** @deprecated Not part of the usageInfo contract. */
readonly type?: 'https://schema.org/Message';
/**
* The schema.org type, typically 'CreativeWork'
*/
'@type': string;
/**
* The Purview sensitivity label ID
*/
'@id'?: string;
/**
* Title of the content
*/
name?: string;
/**
* Description of the content
*/
description?: string;
/**
* Priority of the label, used to pick the most restrictive label
*/
position?: number;
/**
* The pattern
*/
pattern?: {
'@type': 'DefinedTerm';
inDefinedTermSet: string;
name: string;
termCode: string;
};
/**
* other properties
*/
[key: string]: any;
};
export type { SensitiveUsage, SensitiveUsageEntity };