@types/office-js-preview 1.0.503 → 1.0.505

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.
@@ -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: Thu, 05 Sep 2024 15:36:35 GMT
11
+ * Last updated: Tue, 10 Sep 2024 18:09:15 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -8885,7 +8885,7 @@ declare namespace Office {
8885
8885
  Removed = "removed"
8886
8886
  }
8887
8887
  /**
8888
- * Specifies an attachment's type.
8888
+ * Specifies the attachment's type.
8889
8889
  *
8890
8890
  * @remarks
8891
8891
  *
@@ -10494,8 +10494,7 @@ declare namespace Office {
10494
10494
  * @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
10495
10495
  * @param options - An object literal that contains one or more of the following properties:-
10496
10496
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10497
- * `isInline`: If true, indicates that the attachment will be shown inline in the message body,
10498
- * and should not be displayed in the attachment list.
10497
+ * `isInline`: If true, indicates that the attachment will be shown inline as an image in the message body and won't be displayed in the attachment list.
10499
10498
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
10500
10499
  * of type `Office.AsyncResult`.
10501
10500
  * On success, the attachment identifier will be provided in the `asyncResult.value` property.
@@ -10573,8 +10572,7 @@ declare namespace Office {
10573
10572
  * @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
10574
10573
  * @param options - An object literal that contains one or more of the following properties:-
10575
10574
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10576
- * `isInline`: If true, indicates that the attachment will be shown inline in the message body
10577
- * and should not be displayed in the attachment list.
10575
+ * `isInline`: If true, indicates that the attachment will be shown inline as an image in the message body and won't be displayed in the attachment list.
10578
10576
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
10579
10577
  * of type `Office.AsyncResult`.
10580
10578
  * On success, the attachment identifier will be provided in the `asyncResult.value` property.
@@ -12276,7 +12274,7 @@ declare namespace Office {
12276
12274
  * For guidance on how to implement these rules, see
12277
12275
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/contextual-outlook-add-ins | Contextual Outlook add-ins}.
12278
12276
  *
12279
- * - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
12277
+ * - This method is used with the {@link https://learn.microsoft.com/javascript/api/manifest/rule | activation rules feature for Outlook add-ins},
12280
12278
  * which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365}.
12281
12279
  *
12282
12280
  * - If you specify an `ItemHasRegularExpressionMatch` rule on the body property of an item, the regular expression should further filter the body
@@ -12308,7 +12306,7 @@ declare namespace Office {
12308
12306
  * For guidance on how to implement these rules, see
12309
12307
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/contextual-outlook-add-ins | Contextual Outlook add-ins}.
12310
12308
  *
12311
- * - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
12309
+ * - This method is used with the {@link https://learn.microsoft.com/javascript/api/manifest/rule | activation rules feature for Outlook add-ins},
12312
12310
  * which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365}.
12313
12311
  *
12314
12312
  * - If you specify an `ItemHasRegularExpressionMatch` rule on the body property of an item, the regular expression should further filter the body
@@ -12365,7 +12363,7 @@ declare namespace Office {
12365
12363
  * For guidance on how to implement these rules, see
12366
12364
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/contextual-outlook-add-ins | Contextual Outlook add-ins}.
12367
12365
  *
12368
- * - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
12366
+ * - This method is used with the {@link https://learn.microsoft.com/javascript/api/manifest/rule | activation rules feature for Outlook add-ins},
12369
12367
  * which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365}.
12370
12368
  *
12371
12369
  * - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in Outlook mobile, see
@@ -12547,7 +12545,7 @@ declare namespace Office {
12547
12545
  /**
12548
12546
  * Represents an attachment on an item. Compose mode only.
12549
12547
  *
12550
- * An array of `AttachmentDetailsCompose` objects is returned as the attachments property of an appointment or message item.
12548
+ * An array of `AttachmentDetailsCompose` objects is returned by the `getAttachmentsAsync` method.
12551
12549
  *
12552
12550
  * @remarks
12553
12551
  * [Api set: Mailbox 1.8]
@@ -12558,7 +12556,7 @@ declare namespace Office {
12558
12556
  */
12559
12557
  interface AttachmentDetailsCompose {
12560
12558
  /**
12561
- * Gets a value that indicates the type of an attachment.
12559
+ * Gets a value that indicates the attachment's type.
12562
12560
  */
12563
12561
  attachmentType: MailboxEnums.AttachmentType | string;
12564
12562
  /**
@@ -12566,7 +12564,7 @@ declare namespace Office {
12566
12564
  */
12567
12565
  id: string;
12568
12566
  /**
12569
- * Gets a value that indicates whether the attachment should be displayed in the body of the item.
12567
+ * Gets a value that indicates whether the attachment appears as an image in the body of the item instead of in the attachment list.
12570
12568
  */
12571
12569
  isInline: boolean;
12572
12570
  /**
@@ -12588,7 +12586,7 @@ declare namespace Office {
12588
12586
  /**
12589
12587
  * Represents an attachment on an item from the server. Read mode only.
12590
12588
  *
12591
- * An array of `AttachmentDetails` objects is returned as the attachments property of an appointment or message item.
12589
+ * An array of `AttachmentDetails` objects is returned as the `attachments` property of an appointment or message item.
12592
12590
  *
12593
12591
  * @remarks
12594
12592
  * [Api set: Mailbox 1.1]
@@ -12599,7 +12597,7 @@ declare namespace Office {
12599
12597
  */
12600
12598
  interface AttachmentDetails {
12601
12599
  /**
12602
- * Gets a value that indicates the type of an attachment.
12600
+ * Gets a value that indicates the attachment's type.
12603
12601
  */
12604
12602
  attachmentType: MailboxEnums.AttachmentType | string;
12605
12603
  /**
@@ -12618,7 +12616,7 @@ declare namespace Office {
12618
12616
  */
12619
12617
  id: string;
12620
12618
  /**
12621
- * Gets a value that indicates whether the attachment should be displayed in the body of the item.
12619
+ * Gets a value that indicates whether the attachment appears as an image in the body of the item instead of in the attachment list.
12622
12620
  */
12623
12621
  isInline: boolean;
12624
12622
  /**
@@ -12634,7 +12632,7 @@ declare namespace Office {
12634
12632
  size: number;
12635
12633
  }
12636
12634
  /**
12637
- * Provides information about an attachment on a mail item that raised the
12635
+ * Provides information about the attachment on a mail item that raised the
12638
12636
  * `Office.EventType.AttachmentsChanged` event.
12639
12637
  *
12640
12638
  * @remarks
@@ -15505,18 +15503,18 @@ declare namespace Office {
15505
15503
  *
15506
15504
  * `attachments`: An array of JSON objects that are either file or item attachments.
15507
15505
  *
15508
- * `attachments.type`: Indicates the type of attachment. Must be file for a file attachment or item for an item attachment.
15506
+ * `attachments.type`: Indicates the type of attachment. Must be `file` for a file attachment or `item` for an item attachment.
15509
15507
  *
15510
15508
  * `attachments.name`: A string that contains the name of the attachment, up to 255 characters in length.
15511
15509
  *
15512
- * `attachments.url`: Only used if type is set to file. The URI of the location for the file. **Important**: This link must be
15510
+ * `attachments.url`: Only used if the attachment type is set to `file`. The URI of the location for the file. **Important**: This link must be
15513
15511
  * publicly accessible, without need for authentication by Exchange Online servers. However, with on-premises Exchange, the link can
15514
15512
  * be accessible on a private network as long as it doesn't need further authentication.
15515
15513
  *
15516
- * `attachments.isInline`: Only used if type is set to file. If true, indicates that the attachment will be shown inline in the
15517
- * message body, and should not be displayed in the attachment list.
15514
+ * `attachments.isInline`: Only used if the attachment type is set to `file`. If true, indicates that the attachment will be shown inline as an image
15515
+ * in the message body and won't be displayed in the attachment list.
15518
15516
  *
15519
- * `attachments.itemId`: Only used if type is set to item. The EWS item ID of the existing e-mail you want to attach to the new message.
15517
+ * `attachments.itemId`: Only used if the attachment type is set to `item`. The EWS item ID of the existing e-mail you want to attach to the new message.
15520
15518
  * This is a string up to 100 characters.
15521
15519
  */
15522
15520
  displayNewMessageForm(parameters: any): void;
@@ -15552,18 +15550,18 @@ declare namespace Office {
15552
15550
  *
15553
15551
  * `attachments`: An array of JSON objects that are either file or item attachments.
15554
15552
  *
15555
- * `attachments.type`: Indicates the type of attachment. Must be file for a file attachment or item for an item attachment.
15553
+ * `attachments.type`: Indicates the type of attachment. Must be `file` for a file attachment or `item` for an item attachment.
15556
15554
  *
15557
15555
  * `attachments.name`: A string that contains the name of the attachment, up to 255 characters in length.
15558
15556
  *
15559
- * `attachments.url`: Only used if type is set to file. The URI of the location for the file. **Important**: This link must be
15557
+ * `attachments.url`: Only used if the attachment type is set to `file`. The URI of the location for the file. **Important**: This link must be
15560
15558
  * publicly accessible, without need for authentication by Exchange Online servers. However, with on-premises Exchange, the link can
15561
15559
  * be accessible on a private network as long as it doesn't need further authentication.
15562
15560
  *
15563
- * `attachments.isInline`: Only used if type is set to file. If true, indicates that the attachment will be shown inline in the
15564
- * message body, and should not be displayed in the attachment list.
15561
+ * `attachments.isInline`: Only used if the attachment type is set to `file`. If true, indicates that the attachment will be shown inline as an image
15562
+ * in the message body and won't be displayed in the attachment list.
15565
15563
  *
15566
- * `attachments.itemId`: Only used if type is set to item. The EWS item ID of the existing e-mail you want to attach to the new message.
15564
+ * `attachments.itemId`: Only used if the attachment type is set to `item`. The EWS item ID of the existing e-mail you want to attach to the new message.
15567
15565
  * This is a string up to 100 characters.
15568
15566
  * @param options - An object literal that contains one or more of the following properties:-
15569
15567
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
@@ -15603,18 +15601,18 @@ declare namespace Office {
15603
15601
  *
15604
15602
  * `attachments`: An array of JSON objects that are either file or item attachments.
15605
15603
  *
15606
- * `attachments.type`: Indicates the type of attachment. Must be file for a file attachment or item for an item attachment.
15604
+ * `attachments.type`: Indicates the type of attachment. Must be `file` for a file attachment or `item` for an item attachment.
15607
15605
  *
15608
15606
  * `attachments.name`: A string that contains the name of the attachment, up to 255 characters in length.
15609
15607
  *
15610
- * `attachments.url`: Only used if type is set to file. The URI of the location for the file. **Important**: This link must be
15608
+ * `attachments.url`: Only used if the attachment type is set to `file`. The URI of the location for the file. **Important**: This link must be
15611
15609
  * publicly accessible, without need for authentication by Exchange Online servers. However, with on-premises Exchange, the link can
15612
15610
  * be accessible on a private network as long as it doesn't need further authentication.
15613
15611
  *
15614
- * `attachments.isInline`: Only used if type is set to file. If true, indicates that the attachment will be shown inline in the
15615
- * message body, and should not be displayed in the attachment list.
15612
+ * `attachments.isInline`: Only used if the attachment type is set to `file`. If true, indicates that the attachment will be shown inline as an image
15613
+ * in the message body and won't be displayed in the attachment list.
15616
15614
  *
15617
- * `attachments.itemId`: Only used if type is set to item. The EWS item ID of the existing e-mail you want to attach to the new message.
15615
+ * `attachments.itemId`: Only used if the attachment type is set to `item`. The EWS item ID of the existing e-mail you want to attach to the new message.
15618
15616
  * This is a string up to 100 characters.
15619
15617
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
15620
15618
  * `asyncResult`, which is an `Office.AsyncResult` object.
@@ -16503,8 +16501,7 @@ declare namespace Office {
16503
16501
  * @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
16504
16502
  * @param options - An object literal that contains one or more of the following properties:-
16505
16503
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16506
- * `isInline`: If true, indicates that the attachment will be shown inline in the message body, and should not be displayed in the
16507
- * attachment list.
16504
+ * `isInline`: If true, indicates that the attachment will be shown inline as an image in the message body and won't be displayed in the attachment list.
16508
16505
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
16509
16506
  * type `Office.AsyncResult`. On success, the attachment identifier will be provided in the `asyncResult.value` property.
16510
16507
  * If uploading the attachment fails, the `asyncResult` object will contain an `Error` object that provides a description of
@@ -16585,7 +16582,7 @@ declare namespace Office {
16585
16582
  * @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
16586
16583
  * @param options - An object literal that contains one or more of the following properties:-
16587
16584
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16588
- * `isInline`: If true, indicates that the attachment will be shown inline in the message body and should not be displayed in the attachment list.
16585
+ * `isInline`: If true, indicates that the attachment will be shown inline as an image in the message body and won't be displayed in the attachment list.
16589
16586
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
16590
16587
  * type Office.AsyncResult. On success, the attachment identifier will be provided in the `asyncResult.value` property.
16591
16588
  * If uploading the attachment fails, the `asyncResult` object will contain an `Error` object that provides a description of the error.
@@ -18568,7 +18565,7 @@ declare namespace Office {
18568
18565
  * For guidance on how to implement these rules, see
18569
18566
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/contextual-outlook-add-ins | Contextual Outlook add-ins}.
18570
18567
  *
18571
- * - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
18568
+ * - This method is used with the {@link https://learn.microsoft.com/javascript/api/manifest/rule | activation rules feature for Outlook add-ins},
18572
18569
  * which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365}.
18573
18570
  *
18574
18571
  * - If you specify an `ItemHasRegularExpressionMatch` rule on the body property of an item, the regular expression should further filter the body
@@ -18600,7 +18597,7 @@ declare namespace Office {
18600
18597
  * For guidance on how to implement these rules, see
18601
18598
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/contextual-outlook-add-ins | Contextual Outlook add-ins}.
18602
18599
  *
18603
- * - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
18600
+ * - This method is used with the {@link https://learn.microsoft.com/javascript/api/manifest/rule | activation rules feature for Outlook add-ins},
18604
18601
  * which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365}.
18605
18602
  *
18606
18603
  * - If you specify an `ItemHasRegularExpressionMatch` rule on the body property of an item, the regular expression should further filter the body
@@ -18657,7 +18654,7 @@ declare namespace Office {
18657
18654
  * For guidance on how to implement these rules, see
18658
18655
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/contextual-outlook-add-ins | Contextual Outlook add-ins}.
18659
18656
  *
18660
- * - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
18657
+ * - This method is used with the {@link https://learn.microsoft.com/javascript/api/manifest/rule | activation rules feature for Outlook add-ins},
18661
18658
  * which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365}.
18662
18659
  *
18663
18660
  * - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in Outlook mobile, see
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.503",
3
+ "version": "1.0.505",
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": "1a64dea695b4e430b9e27babc6b8088c10bcc4da410f24f9272639187f84efd4",
48
+ "typesPublisherContentHash": "7c7b3480358851b58bd1a7c94fb21b3d2af0b6c2c1e02fded642b1dd4f3ef0af",
49
49
  "typeScriptVersion": "4.8",
50
50
  "nonNpm": true
51
51
  }