@types/office-js-preview 1.0.467 → 1.0.468
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.
- office-js-preview/README.md +1 -1
- office-js-preview/index.d.ts +52 -16
- office-js-preview/package.json +2 -2
office-js-preview/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for office-js-preview (https://github.com
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 30 Apr 2024 19:36:04 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -14177,6 +14177,14 @@ declare namespace Office {
|
|
|
14177
14177
|
* @remarks
|
|
14178
14178
|
* [Api set: Mailbox 1.8]
|
|
14179
14179
|
*
|
|
14180
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
14181
|
+
*
|
|
14182
|
+
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
14183
|
+
*
|
|
14184
|
+
* **Important**: The internet headers API is supported in Outlook on Android and on iOS starting in Version 4.2405.0.
|
|
14185
|
+
* To learn more about features supported in Outlook on mobile devices, see
|
|
14186
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
14187
|
+
*
|
|
14180
14188
|
* **Recommended practices**
|
|
14181
14189
|
*
|
|
14182
14190
|
* Currently, internet headers are a finite resource on a user's mailbox. When the quota is exhausted, you can't create any more internet headers
|
|
@@ -14192,10 +14200,6 @@ declare namespace Office {
|
|
|
14192
14200
|
*
|
|
14193
14201
|
* - Name headers so that you can reuse and update their values later. As such, avoid naming headers in a variable manner
|
|
14194
14202
|
* (for example, based on user input, timestamp, etc.).
|
|
14195
|
-
*
|
|
14196
|
-
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
14197
|
-
*
|
|
14198
|
-
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
14199
14203
|
*/
|
|
14200
14204
|
interface InternetHeaders {
|
|
14201
14205
|
/**
|
|
@@ -14211,6 +14215,10 @@ declare namespace Office {
|
|
|
14211
14215
|
*
|
|
14212
14216
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
14213
14217
|
*
|
|
14218
|
+
* **Important**: The internet headers API is supported in Outlook on Android and on iOS starting in Version 4.2405.0.
|
|
14219
|
+
* To learn more about features supported in Outlook on mobile devices, see
|
|
14220
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
14221
|
+
*
|
|
14214
14222
|
* @param names - The names of the internet headers to be returned.
|
|
14215
14223
|
* @param options - An object literal that contains one or more of the following properties:-
|
|
14216
14224
|
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
|
|
@@ -14232,6 +14240,10 @@ declare namespace Office {
|
|
|
14232
14240
|
*
|
|
14233
14241
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
14234
14242
|
*
|
|
14243
|
+
* **Important**: The internet headers API is supported in Outlook on Android and on iOS starting in Version 4.2405.0.
|
|
14244
|
+
* To learn more about features supported in Outlook on mobile devices, see
|
|
14245
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
14246
|
+
*
|
|
14235
14247
|
* @param names - The names of the internet headers to be returned.
|
|
14236
14248
|
* @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
14237
14249
|
* `asyncResult`, of type `Office.AsyncResult`. The string key-value pairs of internet headers are returned in the
|
|
@@ -14250,6 +14262,10 @@ declare namespace Office {
|
|
|
14250
14262
|
*
|
|
14251
14263
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
14252
14264
|
*
|
|
14265
|
+
* **Important**: The internet headers API is supported in Outlook on Android and on iOS starting in Version 4.2405.0.
|
|
14266
|
+
* To learn more about features supported in Outlook on mobile devices, see
|
|
14267
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
14268
|
+
*
|
|
14253
14269
|
* @param names - The names of the internet headers to be removed.
|
|
14254
14270
|
* @param options - An object literal that contains one or more of the following properties:-
|
|
14255
14271
|
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
|
|
@@ -14269,6 +14285,10 @@ declare namespace Office {
|
|
|
14269
14285
|
*
|
|
14270
14286
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
14271
14287
|
*
|
|
14288
|
+
* **Important**: The internet headers API is supported in Outlook on Android and on iOS starting in Version 4.2405.0.
|
|
14289
|
+
* To learn more about features supported in Outlook on mobile devices, see
|
|
14290
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
14291
|
+
*
|
|
14272
14292
|
* @param names - The names of the internet headers to be removed.
|
|
14273
14293
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
14274
14294
|
* `asyncResult`, of type `Office.AsyncResult`. Any errors encountered are provided in the `asyncResult.error` property.
|
|
@@ -14281,12 +14301,6 @@ declare namespace Office {
|
|
|
14281
14301
|
* the new value.
|
|
14282
14302
|
*
|
|
14283
14303
|
* **Note**: This method is intended to set the values of your custom headers.
|
|
14284
|
-
*
|
|
14285
|
-
* **Important**: The header quota is based on the total size of headers applied to a message. In Exchange Online,
|
|
14286
|
-
* the header limit is capped at 256 KB, while in an Exchange on-premises environment, the limit is determined by your organization's administrator.
|
|
14287
|
-
* For further information on header limits, see
|
|
14288
|
-
* {@link https://learn.microsoft.com/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#message-limits | Exchange Online message limits}
|
|
14289
|
-
* and {@link https://learn.microsoft.com/exchange/mail-flow/message-size-limits?view=exchserver-2019#types-of-message-size-limits | Exchange Server message limits}.
|
|
14290
14304
|
*
|
|
14291
14305
|
* @remarks
|
|
14292
14306
|
* [Api set: Mailbox 1.8]
|
|
@@ -14295,6 +14309,18 @@ declare namespace Office {
|
|
|
14295
14309
|
*
|
|
14296
14310
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
14297
14311
|
*
|
|
14312
|
+
* **Important**:
|
|
14313
|
+
*
|
|
14314
|
+
* - The internet headers API is supported in Outlook on Android and on iOS starting in Version 4.2405.0.
|
|
14315
|
+
* To learn more about features supported in Outlook on mobile devices, see
|
|
14316
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
14317
|
+
*
|
|
14318
|
+
* - The header quota is based on the total size of headers applied to a message. In Exchange Online,
|
|
14319
|
+
* the header limit is capped at 256 KB, while in an Exchange on-premises environment, the limit is determined by your organization's administrator.
|
|
14320
|
+
* For further information on header limits, see
|
|
14321
|
+
* {@link https://learn.microsoft.com/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#message-limits | Exchange Online message limits}
|
|
14322
|
+
* and {@link https://learn.microsoft.com/exchange/mail-flow/message-size-limits?view=exchserver-2019#types-of-message-size-limits | Exchange Server message limits}.
|
|
14323
|
+
*
|
|
14298
14324
|
* @param headers - The names and corresponding values of the headers to be set. This should be a record object with its keys being internet header names
|
|
14299
14325
|
* and values being the corresponding header value strings.
|
|
14300
14326
|
* @param options - An object literal that contains one or more of the following properties:-
|
|
@@ -14310,12 +14336,6 @@ declare namespace Office {
|
|
|
14310
14336
|
* the new value.
|
|
14311
14337
|
*
|
|
14312
14338
|
* **Note**: This method is intended to set the values of your custom headers.
|
|
14313
|
-
*
|
|
14314
|
-
* **Important**: The header quota is based on the total size of headers applied to a message. In Exchange Online,
|
|
14315
|
-
* the header limit is capped at 256 KB, while in an Exchange on-premises environment, the limit is determined by your organization's administrator.
|
|
14316
|
-
* For further information on header limits, see
|
|
14317
|
-
* {@link https://learn.microsoft.com/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#message-limits | Exchange Online message limits}
|
|
14318
|
-
* and {@link https://learn.microsoft.com/exchange/mail-flow/message-size-limits?view=exchserver-2019#types-of-message-size-limits | Exchange Server message limits}.
|
|
14319
14339
|
*
|
|
14320
14340
|
* @remarks
|
|
14321
14341
|
* [Api set: Mailbox 1.8]
|
|
@@ -14324,6 +14344,18 @@ declare namespace Office {
|
|
|
14324
14344
|
*
|
|
14325
14345
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
14326
14346
|
*
|
|
14347
|
+
* **Important**:
|
|
14348
|
+
*
|
|
14349
|
+
* - The internet headers API is supported in Outlook on Android and on iOS starting in Version 4.2405.0.
|
|
14350
|
+
* To learn more about features supported in Outlook on mobile devices, see
|
|
14351
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
14352
|
+
*
|
|
14353
|
+
* - The header quota is based on the total size of headers applied to a message. In Exchange Online,
|
|
14354
|
+
* the header limit is capped at 256 KB, while in an Exchange on-premises environment, the limit is determined by your organization's administrator.
|
|
14355
|
+
* For further information on header limits, see
|
|
14356
|
+
* {@link https://learn.microsoft.com/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#message-limits | Exchange Online message limits}
|
|
14357
|
+
* and {@link https://learn.microsoft.com/exchange/mail-flow/message-size-limits?view=exchserver-2019#types-of-message-size-limits | Exchange Server message limits}.
|
|
14358
|
+
*
|
|
14327
14359
|
* @param headers - The names and corresponding values of the headers to be set. This should be a record object with its keys being internet header names
|
|
14328
14360
|
* and values being the corresponding header value strings.
|
|
14329
14361
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
@@ -15937,6 +15969,10 @@ declare namespace Office {
|
|
|
15937
15969
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
15938
15970
|
*
|
|
15939
15971
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
|
|
15972
|
+
*
|
|
15973
|
+
* **Important**: The internet headers API is supported in Outlook on Android and on iOS starting in Version 4.2405.0.
|
|
15974
|
+
* To learn more about features supported in Outlook on mobile devices, see
|
|
15975
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
15940
15976
|
*/
|
|
15941
15977
|
internetHeaders: InternetHeaders;
|
|
15942
15978
|
/**
|
office-js-preview/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js-preview",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.468",
|
|
4
4
|
"description": "TypeScript definitions for office-js-preview",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "7fddd0aaddcc83074e6e6ec2dbc21826f8437e4992e914f309b4ea947d07a9c0",
|
|
49
49
|
"typeScriptVersion": "4.7",
|
|
50
50
|
"nonNpm": true
|
|
51
51
|
}
|