Skip to content

Commit

Permalink
Merge pull request #2143 from OfficeDev/main
Browse files Browse the repository at this point in the history
[Admin] Publish
  • Loading branch information
samantharamon authored Nov 21, 2024
2 parents 856386e + 6cd6b7a commit bdf6d43
Show file tree
Hide file tree
Showing 112 changed files with 6,288 additions and 82 deletions.
2 changes: 2 additions & 0 deletions docs/docs-ref-autogen/outlook/outlook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,14 @@ enums:
- 'outlook!Office.MailboxEnums.LocationType:enum'
- 'outlook!Office.MailboxEnums.Month:enum'
- 'outlook!Office.MailboxEnums.MoveSpamItemTo:enum'
- 'outlook!Office.MailboxEnums.OpenLocation:enum'
- 'outlook!Office.MailboxEnums.OWAView:enum'
- 'outlook!Office.MailboxEnums.RecipientType:enum'
- 'outlook!Office.MailboxEnums.RecurrenceTimeZone:enum'
- 'outlook!Office.MailboxEnums.RecurrenceType:enum'
- 'outlook!Office.MailboxEnums.ResponseType:enum'
- 'outlook!Office.MailboxEnums.RestVersion:enum'
- 'outlook!Office.MailboxEnums.SaveLocation:enum'
- 'outlook!Office.MailboxEnums.SendModeOverride:enum'
- 'outlook!Office.MailboxEnums.SourceProperty:enum'
- 'outlook!Office.MailboxEnums.WeekNumber:enum'
118 changes: 118 additions & 0 deletions docs/docs-ref-autogen/outlook/outlook/office.mailbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2136,6 +2136,124 @@ methods:
return:
type: void
description: ''
- name: getIsIdentityManaged()
uid: 'outlook!Office.Mailbox#getIsIdentityManaged:member(1)'
package: outlook!
fullName: getIsIdentityManaged()
summary: >-
Returns true if the current mailbox is managed by [Microsoft
Intune](https://learn.microsoft.com/mem/intune/fundamentals/what-is-intune)<!-- -->.
remarks: >-
**[Minimum permission
level](https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions)<!--
-->**: **read item**
**[Applicable Outlook
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
-->**: Compose, Read
**Important**: This method is only supported in Outlook on Android and on iOS starting in Version 4.2443.0. To
learn more about APIs supported in Outlook on mobile devices, see [Outlook JavaScript APIs supported in Outlook on
mobile devices](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis)<!-- -->.
**Errors**:
- `MAMServiceNotAvailable`<!-- -->: The client is unable to fetch the mobile application management (MAM) policy.
isPreview: false
isDeprecated: false
syntax:
content: 'getIsIdentityManaged(): boolean;'
return:
type: boolean
description: True if the current mailbox is managed by Microsoft Intune.
- name: getIsOpenFromLocationAllowed(openLocation)
uid: 'outlook!Office.Mailbox#getIsOpenFromLocationAllowed:member(1)'
package: outlook!
fullName: getIsOpenFromLocationAllowed(openLocation)
summary: >-
Returns true if an organization's [Intune mobile application management (MAM)
policy](https://learn.microsoft.com/mem/intune/apps/app-management) allows an add-in to access data from the
specified location.
remarks: >-
**[Minimum permission
level](https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions)<!--
-->**: **read item**
**[Applicable Outlook
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
-->**: Compose, Read
**Important**: This method is only supported in Outlook on Android and on iOS starting in Version 4.2443.0. To
learn more about APIs supported in Outlook on mobile devices, see [Outlook JavaScript APIs supported in Outlook on
mobile devices](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis)<!-- -->.
**Errors**:
- `InvalidOpenLocationInput`<!-- -->: The value of the specified location is invalid.
- `MAMServiceNotAvailable`<!-- -->: The client is unable to fetch the MAM policy.
isPreview: false
isDeprecated: false
syntax:
content: 'getIsOpenFromLocationAllowed(openLocation: MailboxEnums.OpenLocation): boolean;'
parameters:
- id: openLocation
description: The location from which the add-in is attempting to access data.
type: '<xref uid="outlook!Office.MailboxEnums.OpenLocation:enum" />'
return:
type: boolean
description: True if an organization's Intune MAM policy allows an add-in to access data from the specified location.
- name: getIsSaveToLocationAllowed(saveLocation)
uid: 'outlook!Office.Mailbox#getIsSaveToLocationAllowed:member(1)'
package: outlook!
fullName: getIsSaveToLocationAllowed(saveLocation)
summary: >-
Returns true if an organization's [Intune mobile application management (MAM)
policy](https://learn.microsoft.com/mem/intune/apps/app-management) allows an add-in to save data to the specified
location.
remarks: >-
**[Minimum permission
level](https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions)<!--
-->**: **read item**
**[Applicable Outlook
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
-->**: Compose, Read
**Important**: This method is only supported in Outlook on Android and on iOS starting in Version 4.2443.0. To
learn more about APIs supported in Outlook on mobile devices, see [Outlook JavaScript APIs supported in Outlook on
mobile devices](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis)<!-- -->.
**Errors**:
- `InvalidSaveLocationInput`<!-- -->: The value of the specified location is invalid.
- `MAMServiceNotAvailable`<!-- -->: The client is unable to fetch the MAM policy.
isPreview: false
isDeprecated: false
syntax:
content: 'getIsSaveToLocationAllowed(saveLocation: MailboxEnums.SaveLocation): boolean;'
parameters:
- id: saveLocation
description: The location in which the add-in is attempting to save data.
type: '<xref uid="outlook!Office.MailboxEnums.SaveLocation:enum" />'
return:
type: boolean
description: True if an organization's Intune MAM policy allows an add-in to save data to the specified location.
- name: 'getSelectedItemsAsync(options, callback)'
uid: 'outlook!Office.Mailbox#getSelectedItemsAsync:member(1)'
package: outlook!
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
### YamlMime:TSEnum
name: Office.MailboxEnums.OpenLocation
uid: 'outlook!Office.MailboxEnums.OpenLocation:enum'
package: outlook!
fullName: Office.MailboxEnums.OpenLocation
summary: Specifies the location from which an add-in wants to access data.
remarks: >-
**[Applicable Outlook
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!-- -->**:
Compose, Read
**Important**: This enum is only supported in Outlook on Android and on iOS starting in Version 4.2443.0. To learn
more about APIs supported in Outlook on mobile devices, see [Outlook JavaScript APIs supported in Outlook on mobile
devices](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis)<!-- -->.
isPreview: false
isDeprecated: false
fields:
- name: AccountDocument
uid: 'outlook!Office.MailboxEnums.OpenLocation.AccountDocument:member'
package: outlook!
summary: A location associated with an account within an add-in.
- name: Camera
uid: 'outlook!Office.MailboxEnums.OpenLocation.Camera:member'
package: outlook!
summary: The device's camera.
- name: Local
uid: 'outlook!Office.MailboxEnums.OpenLocation.Local:member'
package: outlook!
summary: Local storage on a device.
- name: OnedriveForBusiness
uid: 'outlook!Office.MailboxEnums.OpenLocation.OnedriveForBusiness:member'
package: outlook!
summary: |-
OneDrive for Business.
**Important**: For OneDrive Personal, use OTHER.
- name: Other
uid: 'outlook!Office.MailboxEnums.OpenLocation.Other:member'
package: outlook!
summary: 'Other cloud storage providers, including OneDrive Personal.'
- name: PhotoLibrary
uid: 'outlook!Office.MailboxEnums.OpenLocation.PhotoLibrary:member'
package: outlook!
summary: The device's photo library.
- name: SharePoint
uid: 'outlook!Office.MailboxEnums.OpenLocation.SharePoint:member'
package: outlook!
summary: >-
SharePoint. Includes both SharePoint Online and SharePoint on-premises (if accessed with a Microsoft Entra ID
account).
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
### YamlMime:TSEnum
name: Office.MailboxEnums.SaveLocation
uid: 'outlook!Office.MailboxEnums.SaveLocation:enum'
package: outlook!
fullName: Office.MailboxEnums.SaveLocation
summary: Specifies the location in which an add-in wants to save data.
remarks: >-
**[Applicable Outlook
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!-- -->**:
Compose, Read
**Important**: This enum is only supported in Outlook on Android and on iOS starting in Version 4.2443.0. To learn
more about APIs supported in Outlook on mobile devices, see [Outlook JavaScript APIs supported in Outlook on mobile
devices](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis)<!-- -->.
isPreview: false
isDeprecated: false
fields:
- name: AccountDocument
uid: 'outlook!Office.MailboxEnums.SaveLocation.AccountDocument:member'
package: outlook!
summary: A location associated with an account within an add-in.
- name: Box
uid: 'outlook!Office.MailboxEnums.SaveLocation.Box:member'
package: outlook!
summary: Box.
- name: Dropbox
uid: 'outlook!Office.MailboxEnums.SaveLocation.Dropbox:member'
package: outlook!
summary: Dropbox.
- name: GoogleDrive
uid: 'outlook!Office.MailboxEnums.SaveLocation.GoogleDrive:member'
package: outlook!
summary: Google Drive.
- name: Local
uid: 'outlook!Office.MailboxEnums.SaveLocation.Local:member'
package: outlook!
summary: Local storage on a device.
- name: OnedriveForBusiness
uid: 'outlook!Office.MailboxEnums.SaveLocation.OnedriveForBusiness:member'
package: outlook!
summary: |-
OneDrive for Business.
**Important**: For OneDrive Personal, use OTHER.
- name: Other
uid: 'outlook!Office.MailboxEnums.SaveLocation.Other:member'
package: outlook!
summary: 'Other cloud storage providers, including OneDrive Personal.'
- name: PhotoLibrary
uid: 'outlook!Office.MailboxEnums.SaveLocation.PhotoLibrary:member'
package: outlook!
summary: The device's photo library.
- name: SharePoint
uid: 'outlook!Office.MailboxEnums.SaveLocation.SharePoint:member'
package: outlook!
summary: >-
SharePoint. Includes both SharePoint Online and SharePoint on-premises (if accessed with a Microsoft Entra ID
account).
4 changes: 4 additions & 0 deletions docs/docs-ref-autogen/outlook/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ items:
uid: 'outlook!Office.MailboxEnums.Month:enum'
- name: MoveSpamItemTo
uid: 'outlook!Office.MailboxEnums.MoveSpamItemTo:enum'
- name: OpenLocation
uid: 'outlook!Office.MailboxEnums.OpenLocation:enum'
- name: OWAView
uid: 'outlook!Office.MailboxEnums.OWAView:enum'
- name: RecipientType
Expand All @@ -59,6 +61,8 @@ items:
uid: 'outlook!Office.MailboxEnums.ResponseType:enum'
- name: RestVersion
uid: 'outlook!Office.MailboxEnums.RestVersion:enum'
- name: SaveLocation
uid: 'outlook!Office.MailboxEnums.SaveLocation:enum'
- name: SendModeOverride
uid: 'outlook!Office.MailboxEnums.SendModeOverride:enum'
- name: SourceProperty
Expand Down
2 changes: 2 additions & 0 deletions docs/docs-ref-autogen/outlook_1_1/outlook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ enums:
- 'outlook!Office.MailboxEnums.AttachmentType:enum'
- 'outlook!Office.MailboxEnums.EntityType:enum'
- 'outlook!Office.MailboxEnums.ItemType:enum'
- 'outlook!Office.MailboxEnums.OpenLocation:enum'
- 'outlook!Office.MailboxEnums.OWAView:enum'
- 'outlook!Office.MailboxEnums.RecipientType:enum'
- 'outlook!Office.MailboxEnums.ResponseType:enum'
- 'outlook!Office.MailboxEnums.SaveLocation:enum'
Loading

0 comments on commit bdf6d43

Please sign in to comment.