@types/office-js 1.0.275 → 1.0.276

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/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Office.js (https://github.com/OfficeD
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 01 Sep 2022 23:02:41 GMT
11
+ * Last updated: Fri, 02 Sep 2022 20:32:40 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
office-js/index.d.ts CHANGED
@@ -10036,9 +10036,9 @@ declare namespace Office {
10036
10036
  /**
10037
10037
  * Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
10038
10038
  *
10039
- * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should use
10040
- * the identifier to retrieve an attachment in the same session that the attachmentIds were retrieved with the `getAttachmentsAsync` or
10041
- * `item.attachments` call. In Outlook on the web and mobile devices, the attachment identifier is valid only within the same session.
10039
+ * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
10040
+ * the attachment's identifier from a `getAttachmentsAsync` call, then in the same session, use that identifier to retrieve the attachment.
10041
+ * In Outlook on the web and mobile devices, the attachment identifier is valid only within the same session.
10042
10042
  * A session is over when the user closes the app, or if the user starts composing an inline form then subsequently pops out the form to
10043
10043
  * continue in a separate window.
10044
10044
  *
@@ -10067,9 +10067,9 @@ declare namespace Office {
10067
10067
  /**
10068
10068
  * Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
10069
10069
  *
10070
- * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should use
10071
- * the identifier to retrieve an attachment in the same session that the attachmentIds were retrieved with the `getAttachmentsAsync` or
10072
- * `item.attachments` call. In Outlook on the web and mobile devices, the attachment identifier is valid only within the same session.
10070
+ * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
10071
+ * the attachment's identifier from a `getAttachmentsAsync` call, then in the same session, use that identifier to retrieve the attachment.
10072
+ * In Outlook on the web and mobile devices, the attachment identifier is valid only within the same session.
10073
10073
  * A session is over when the user closes the app, or if the user starts composing an inline form then subsequently pops out the form to
10074
10074
  * continue in a separate window.
10075
10075
  *
@@ -11249,9 +11249,9 @@ declare namespace Office {
11249
11249
  /**
11250
11250
  * Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
11251
11251
  *
11252
- * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should use
11253
- * the identifier to retrieve an attachment in the same session that the attachmentIds were retrieved with the `getAttachmentsAsync` or
11254
- * `item.attachments` call. In Outlook on the web and mobile devices, the attachment identifier is valid only within the same session.
11252
+ * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
11253
+ * the attachment's identifier from an {@link Office.AppointmentRead.attachments | item.attachments} call, then in the same session, use that identifier
11254
+ * to retrieve the attachment. In Outlook on the web and mobile devices, the attachment identifier is valid only within the same session.
11255
11255
  * A session is over when the user closes the app, or if the user starts composing an inline form then subsequently pops out the form to
11256
11256
  * continue in a separate window.
11257
11257
  *
@@ -11280,9 +11280,9 @@ declare namespace Office {
11280
11280
  /**
11281
11281
  * Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
11282
11282
  *
11283
- * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should use
11284
- * the identifier to retrieve an attachment in the same session that the attachmentIds were retrieved with the `getAttachmentsAsync` or
11285
- * `item.attachments` call. In Outlook on the web and mobile devices, the attachment identifier is valid only within the same session.
11283
+ * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
11284
+ * the attachment's identifier from an {@link Office.AppointmentRead.attachments | item.attachments} call, then in the same session, use that identifier
11285
+ * to retrieve the attachment. In Outlook on the web and mobile devices, the attachment identifier is valid only within the same session.
11286
11286
  * A session is over when the user closes the app, or if the user starts composing an inline form then subsequently pops out the form to
11287
11287
  * continue in a separate window.
11288
11288
  *
@@ -14964,9 +14964,9 @@ declare namespace Office {
14964
14964
  /**
14965
14965
  * Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
14966
14966
  *
14967
- * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should use
14968
- * the identifier to retrieve an attachment in the same session that the attachment IDs were retrieved with the `getAttachmentsAsync` or
14969
- * `item.attachments` call. In Outlook on the web and mobile devices, the attachment identifier is valid only within the same session.
14967
+ * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
14968
+ * the attachment's identifier from a `getAttachmentsAsync` call, then in the same session, use that identifier to retrieve the attachment.
14969
+ * In Outlook on the web and mobile devices, the attachment identifier is valid only within the same session.
14970
14970
  * A session is over when the user closes the app, or if the user starts composing an inline form then subsequently pops out the form to
14971
14971
  * continue in a separate window.
14972
14972
  *
@@ -14995,9 +14995,9 @@ declare namespace Office {
14995
14995
  /**
14996
14996
  * Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
14997
14997
  *
14998
- * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should use
14999
- * the identifier to retrieve an attachment in the same session that the attachment IDs were retrieved with the `getAttachmentsAsync` or
15000
- * `item.attachments` call. In Outlook on the web and mobile devices, the attachment identifier is valid only within the same session.
14998
+ * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
14999
+ * the attachment's identifier from a `getAttachmentsAsync` call, then in the same session, use that identifier to retrieve the attachment.
15000
+ * In Outlook on the web and mobile devices, the attachment identifier is valid only within the same session.
15001
15001
  * A session is over when the user closes the app, or if the user starts composing an inline form then subsequently pops out the form to
15002
15002
  * continue in a separate window.
15003
15003
  *
@@ -16149,9 +16149,9 @@ declare namespace Office {
16149
16149
  /**
16150
16150
  * Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
16151
16151
  *
16152
- * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should use
16153
- * the identifier to retrieve an attachment in the same session that the attachmentIds were retrieved with the `getAttachmentsAsync` or
16154
- * `item.attachments` call. In Outlook on the web and mobile devices, the attachment identifier is valid only within the same session.
16152
+ * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
16153
+ * the attachment's identifier from an {@link Office.MessageRead.attachments | item.attachments} call, then in the same session, use that identifier
16154
+ * to retrieve the attachment. In Outlook on the web and mobile devices, the attachment identifier is valid only within the same session.
16155
16155
  * A session is over when the user closes the app, or if the user starts composing an inline form then subsequently pops out the form to
16156
16156
  * continue in a separate window.
16157
16157
  *
@@ -16180,9 +16180,9 @@ declare namespace Office {
16180
16180
  /**
16181
16181
  * Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
16182
16182
  *
16183
- * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should use
16184
- * the identifier to retrieve an attachment in the same session that the attachmentIds were retrieved with the `getAttachmentsAsync` or
16185
- * `item.attachments` call. In Outlook on the web and mobile devices, the attachment identifier is valid only within the same session.
16183
+ * The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best practice, you should get
16184
+ * the attachment's identifier from an {@link Office.MessageRead.attachments | item.attachments} call, then in the same session, use that identifier
16185
+ * to retrieve the attachment. In Outlook on the web and mobile devices, the attachment identifier is valid only within the same session.
16186
16186
  * A session is over when the user closes the app, or if the user starts composing an inline form then subsequently pops out the form to
16187
16187
  * continue in a separate window.
16188
16188
  *
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.275",
3
+ "version": "1.0.276",
4
4
  "description": "TypeScript definitions for Office.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js",
6
6
  "license": "MIT",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "a23e9d16a54ef7b06a0e1f4d77fcc1b51a39a9318a8094012588ca84b2d7027a",
48
+ "typesPublisherContentHash": "646499cf357690b9f489be2f72e9d9317f389ff728d06094fa517347ea384bd3",
49
49
  "typeScriptVersion": "4.1"
50
50
  }