mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
[office-js] [office-js-preview] (Outlook) Mailbox.restUrl should incl... (#42661)
* [office-js] [office-js-preview] (Outlook) Mailbox.restUrl should include link to SharedProperties.targetRestUrl for shared folders scenario * Update based on feedback
This commit is contained in:
6
types/office-js-preview/index.d.ts
vendored
6
types/office-js-preview/index.d.ts
vendored
@@ -12593,9 +12593,13 @@ declare namespace Office {
|
||||
*
|
||||
* Your app must have the `ReadItem` permission specified in its manifest to call the `restUrl` member in read mode.
|
||||
*
|
||||
* In compose mode you must call the saveAsync method before you can use the `restUrl` member.
|
||||
* In compose mode you must call the `saveAsync` method before you can use the `restUrl` member.
|
||||
* Your app must have `ReadWriteItem` permissions to call the `saveAsync` method.
|
||||
*
|
||||
* However, in delegate or shared scenarios, you should instead use the `targetRestUrl` property of the
|
||||
* {@link Office.SharedProperties | SharedProperties} object (introduced in requirement set 1.8). For more information,
|
||||
* see the {@link https://docs.microsoft.com/office/dev/add-ins/outlook/delegate-access | delegate access} article.
|
||||
*
|
||||
* [Api set: Mailbox 1.5]
|
||||
*
|
||||
* @remarks
|
||||
|
||||
6
types/office-js/index.d.ts
vendored
6
types/office-js/index.d.ts
vendored
@@ -12250,9 +12250,13 @@ declare namespace Office {
|
||||
*
|
||||
* Your app must have the `ReadItem` permission specified in its manifest to call the `restUrl` member in read mode.
|
||||
*
|
||||
* In compose mode you must call the saveAsync method before you can use the `restUrl` member.
|
||||
* In compose mode you must call the `saveAsync` method before you can use the `restUrl` member.
|
||||
* Your app must have `ReadWriteItem` permissions to call the `saveAsync` method.
|
||||
*
|
||||
* However, in delegate or shared scenarios, you should instead use the `targetRestUrl` property of the
|
||||
* {@link Office.SharedProperties | SharedProperties} object (introduced in requirement set 1.8). For more information,
|
||||
* see the {@link https://docs.microsoft.com/office/dev/add-ins/outlook/delegate-access | delegate access} article.
|
||||
*
|
||||
* [Api set: Mailbox 1.5]
|
||||
*
|
||||
* @remarks
|
||||
|
||||
Reference in New Issue
Block a user