@@ -2177,7 +2177,7 @@ export type AttestationLevel = "attested" | "notAttested" | "unknownFutureValue"
21772177export type AuthenticationMethodKeyStrength = "normal" | "weak" | "unknown";
21782178export type LifecycleEventType = "missed" | "subscriptionRemoved" | "reauthorizationRequired";
21792179export type CallRecordingStatus = "success" | "failure" | "initial" | "chunkFinished" | "unknownFutureValue";
2180- export type ChannelMembershipType = "standard" | "private" | "unknownFutureValue";
2180+ export type ChannelMembershipType = "standard" | "private" | "unknownFutureValue" | "shared" ;
21812181export type ChatMessageImportance = "normal" | "high" | "urgent" | "unknownFutureValue";
21822182export type ChatMessagePolicyViolationDlpActionTypes = "none" | "notifySender" | "blockAccess" | "blockAccessExternal";
21832183export type ChatMessagePolicyViolationUserActionTypes = "none" | "override" | "reportFalsePositive";
@@ -3053,12 +3053,12 @@ export interface OAuth2PermissionGrant extends Entity {
30533053 consentType?: NullableOption<string>;
30543054 /**
30553055 * The id of the user on behalf of whom the client is authorized to access the resource, when consentType is Principal. If
3056- * consentType is AllPrincipals this value is null. Required when consentType is Principal.
3056+ * consentType is AllPrincipals this value is null. Required when consentType is Principal. Supports $filter (eq only).
30573057 */
30583058 principalId?: NullableOption<string>;
30593059 /**
30603060 * The id of the resource service principal to which access is authorized. This identifies the API which the client is
3061- * authorized to attempt to call on behalf of a signed-in user.
3061+ * authorized to attempt to call on behalf of a signed-in user. Supports $filter (eq only).
30623062 */
30633063 resourceId?: string;
30643064 /**
@@ -4012,6 +4012,8 @@ export interface Team extends Entity {
40124012 * unique behaviors and experiences targeted to its use case.
40134013 */
40144014 specialization?: NullableOption<TeamSpecialization>;
4015+ // The ID of the Azure Active Directory tenant.
4016+ tenantId?: NullableOption<string>;
40154017 // The visibility of the group and team. Defaults to Public.
40164018 visibility?: NullableOption<TeamVisibilityType>;
40174019 /**
@@ -4020,9 +4022,13 @@ export interface Team extends Entity {
40204022 * parsed.
40214023 */
40224024 webUrl?: NullableOption<string>;
4025+ // List of channels either hosted in or shared with the team (incoming channels).
4026+ allChannels?: NullableOption<Channel[]>;
40234027 // The collection of channels and messages associated with the team.
40244028 channels?: NullableOption<Channel[]>;
40254029 group?: NullableOption<Group>;
4030+ // List of channels shared with the team.
4031+ incomingChannels?: NullableOption<Channel[]>;
40264032 // The apps installed in this team.
40274033 installedApps?: NullableOption<TeamsAppInstallation[]>;
40284034 // Members and owners of the team.
@@ -4037,6 +4043,8 @@ export interface Team extends Entity {
40374043 schedule?: NullableOption<Schedule>;
40384044}
40394045export interface UserTeamwork extends Entity {
4046+ // The list of associatedTeamInfo objects that a user is associated with.
4047+ associatedTeams?: NullableOption<AssociatedTeamInfo[]>;
40404048 // The apps installed in the personal scope of this user.
40414049 installedApps?: NullableOption<UserScopeTeamsAppInstallation[]>;
40424050}
@@ -4738,25 +4746,25 @@ export interface UnifiedRoleManagementPolicyAssignment extends Entity {
47384746 policy?: NullableOption<UnifiedRoleManagementPolicy>;
47394747}
47404748export interface TemporaryAccessPassAuthenticationMethodConfiguration extends AuthenticationMethodConfiguration {
4741- // Default length, in characters, of a temporaryAccessPass, between 8 and 48 characters.
4749+ // Default length in characters of a Temporary Access Pass object. Must be between 8 and 48 characters.
47424750 defaultLength?: NullableOption<number>;
47434751 /**
4744- * Default lifetime, in minutes, for a temporaryAccessPass . Value can be between the minimumLifetimeInMinutes and
4745- * maximumLifetimeInMinutes.
4752+ * Default lifetime in minutes for a Temporary Access Pass . Value can be any integer between the minimumLifetimeInMinutes
4753+ * and maximumLifetimeInMinutes.
47464754 */
47474755 defaultLifetimeInMinutes?: NullableOption<number>;
47484756 /**
47494757 * If true, all the passes in the tenant will be restricted to one-time use. If false, passes in the tenant can be created
4750- * to be either one-time use or multiple time use .
4758+ * to be either one-time use or reusable .
47514759 */
47524760 isUsableOnce?: NullableOption<boolean>;
47534761 /**
4754- * Maximum lifetime in minutes for any temporaryAccessPass created in the tenant. Value can be between 10 and 43200
4762+ * Maximum lifetime in minutes for any Temporary Access Pass created in the tenant. Value can be between 10 and 43200
47554763 * minutes (equivalent to 30 days).
47564764 */
47574765 maximumLifetimeInMinutes?: NullableOption<number>;
47584766 /**
4759- * Minimum lifetime in minutes for any temporaryAccessPass created in the tenant. Value can be between 10 and 43200
4767+ * Minimum lifetime in minutes for any Temporary Access Pass created in the tenant. Value can be between 10 and 43200
47604768 * minutes (equivalent to 30 days).
47614769 */
47624770 minimumLifetimeInMinutes?: NullableOption<number>;
@@ -5021,8 +5029,9 @@ export interface BookingStaffMember extends BookingStaffMemberBase {
50215029 */
50225030 emailAddress?: NullableOption<string>;
50235031 /**
5024- * The role of the staff member in the business. Possible values are: guest, administrator, viewer, externalGuest and
5025- * unknownFutureValue. Required.
5032+ * The role of the staff member in the business. Possible values are: guest, administrator, viewer, externalGuest,
5033+ * unknownFutureValue, scheduler and member. Note that you must use the Prefer: include-unknown-enum-members request
5034+ * header to get the following value(s) in this evolvable enum: scheduler, member. Required.
50265035 */
50275036 role?: BookingStaffRole;
50285037 // The time zone of the staff member. For a list of possible values, see dateTimeTimeZone.
@@ -5131,6 +5140,8 @@ export interface Channel extends Entity {
51315140 * include-unknown-enum-members request header to get the following value in this evolvable enum: shared.
51325141 */
51335142 membershipType?: NullableOption<ChannelMembershipType>;
5143+ // The ID of the Azure Active Directory tenant.
5144+ tenantId?: NullableOption<string>;
51345145 /**
51355146 * A hyperlink that will go to the channel in Microsoft Teams. This is the URL that you get when you right-click a channel
51365147 * in Microsoft Teams and select Get link to channel. This URL should be treated as an opaque blob, and not parsed.
@@ -5143,6 +5154,8 @@ export interface Channel extends Entity {
51435154 members?: NullableOption<ConversationMember[]>;
51445155 // A collection of all the messages in the channel. A navigation property. Nullable.
51455156 messages?: NullableOption<ChatMessage[]>;
5157+ // A collection of teams with which a channel is shared.
5158+ sharedWithTeams?: NullableOption<SharedWithChannelTeamInfo[]>;
51465159 // A collection of all the tabs in the channel. A navigation property.
51475160 tabs?: NullableOption<TeamsTab[]>;
51485161}
@@ -5432,7 +5445,12 @@ export interface TeamsAppInstallation extends Entity {
54325445export interface ConversationMember extends Entity {
54335446 // The display name of the user.
54345447 displayName?: NullableOption<string>;
5435- // The roles for that user.
5448+ /**
5449+ * The roles for that user. This property only contains additional qualifiers when relevant - for example, if the member
5450+ * has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is a guest, the
5451+ * roles property contains guest as one of the values. A basic member should not have any values specified in the roles
5452+ * property.
5453+ */
54365454 roles?: NullableOption<string[]>;
54375455 /**
54385456 * The timestamp denoting how far back a conversation's history is shared with the conversation member. This property is
@@ -14440,30 +14458,30 @@ export interface MicrosoftAuthenticatorAuthenticationMethod extends Authenticati
1444014458 device?: NullableOption<Device>;
1444114459}
1444214460export interface TemporaryAccessPassAuthenticationMethod extends AuthenticationMethod {
14443- // The date and time when the temporaryAccessPass was created.
14461+ // The date and time when the Temporary Access Pass was created.
1444414462 createdDateTime?: NullableOption<string>;
1444514463 // The state of the authentication method that indicates whether it's currently usable by the user.
1444614464 isUsable?: NullableOption<boolean>;
1444714465 /**
14448- * Determines whether the pass is limited to a one time use. If true, the pass can be used once; if false, the pass can be
14449- * used multiple times within the temporaryAccessPass lifetime.
14466+ * Determines whether the pass is limited to a one- time use. If true, the pass can be used once; if false, the pass can be
14467+ * used multiple times within the Temporary Access Pass lifetime.
1445014468 */
1445114469 isUsableOnce?: NullableOption<boolean>;
1445214470 /**
14453- * The lifetime of the temporaryAccessPass in minutes starting at startDateTime. Minimum 10, Maximum 43200 (equivalent to
14454- * 30 days).
14471+ * The lifetime of the Temporary Access Pass in minutes starting at startDateTime. Must be between 10 and 43200 inclusive
14472+ * (equivalent to 30 days).
1445514473 */
1445614474 lifetimeInMinutes?: NullableOption<number>;
1445714475 /**
14458- * Details about usability state (isUsable). Reasons can include: enabledByPolicy, disabledByPolicy, expired, notYetValid ,
14459- * oneTimeUsed .
14476+ * Details about the usability state (isUsable). Reasons can include: EnabledByPolicy, DisabledByPolicy, Expired ,
14477+ * NotYetValid, OneTimeUsed .
1446014478 */
1446114479 methodUsabilityReason?: NullableOption<string>;
14462- // The date and time when the temporaryAccessPass becomes available to use.
14480+ // The date and time when the Temporary Access Pass becomes available to use and when isUsable is true is enforced .
1446314481 startDateTime?: NullableOption<string>;
1446414482 /**
14465- * The temporaryAccessPass used to authenticate. Returned only on creation of a new temporaryAccessPass; returned as NULL
14466- * with GET.
14483+ * The Temporary Access Pass used to authenticate. Returned only on creation of a new
14484+ * temporaryAccessPassAuthenticationMethod object; Hidden in subsequent read operations and returned as null with GET.
1446714485 */
1446814486 temporaryAccessPass?: NullableOption<string>;
1446914487}
@@ -14504,6 +14522,15 @@ export interface TeamsApp extends Entity {
1450414522 // The details for each version of the app.
1450514523 appDefinitions?: NullableOption<TeamsAppDefinition[]>;
1450614524}
14525+ export interface TeamInfo extends Entity {
14526+ // The name of the team.
14527+ displayName?: NullableOption<string>;
14528+ // The ID of the Azure Active Directory tenant.
14529+ tenantId?: NullableOption<string>;
14530+ team?: NullableOption<Team>;
14531+ }
14532+ // tslint:disable-next-line: no-empty-interface
14533+ export interface AssociatedTeamInfo extends TeamInfo {}
1450714534export interface ChatMessage extends Entity {
1450814535 // References to attached objects like files, tabs, meetings etc.
1450914536 attachments?: NullableOption<ChatMessageAttachment[]>;
@@ -14574,6 +14601,12 @@ export interface ChatMessage extends Entity {
1457414601 // Replies for a specified message. Supports $expand for channel messages.
1457514602 replies?: NullableOption<ChatMessage[]>;
1457614603}
14604+ export interface SharedWithChannelTeamInfo extends TeamInfo {
14605+ // Indicates whether the team is the host of the channel.
14606+ isHostTeam?: NullableOption<boolean>;
14607+ // A collection of team members who have access to the shared channel.
14608+ allowedMembers?: NullableOption<ConversationMember[]>;
14609+ }
1457714610export interface TeamsTab extends Entity {
1457814611 // Container for custom settings applied to a tab. The tab is considered configured only once this property is set.
1457914612 configuration?: NullableOption<TeamsTabConfiguration>;
@@ -16044,7 +16077,7 @@ export interface AlternativeSecurityId {
1604416077 type?: NullableOption<number>;
1604516078}
1604616079export interface PreAuthorizedApplication {
16047- // The unique identifier for the application.
16080+ // The unique identifier for the client application.
1604816081 appId?: NullableOption<string>;
1604916082 // The unique identifier for the oauth2PermissionScopes the application requires.
1605016083 delegatedPermissionIds?: string[];
0 commit comments