@microsoft/msgraph-sdk-users 1.0.0-preview.16 → 1.0.0-preview.17

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.
Files changed (39) hide show
  1. package/package.json +3 -3
  2. package/tsconfig.tsbuildinfo +1 -1
  3. package/users/index.d.ts +7 -7
  4. package/users/item/calendar/calendarView/item/attachments/index.d.ts +3 -3
  5. package/users/item/calendar/calendarView/item/instances/item/attachments/index.d.ts +3 -3
  6. package/users/item/calendar/events/item/attachments/index.d.ts +3 -3
  7. package/users/item/calendar/events/item/instances/item/attachments/index.d.ts +3 -3
  8. package/users/item/calendarGroups/item/calendars/item/calendarView/item/attachments/index.d.ts +3 -3
  9. package/users/item/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/index.d.ts +3 -3
  10. package/users/item/calendarGroups/item/calendars/item/events/item/attachments/index.d.ts +3 -3
  11. package/users/item/calendarGroups/item/calendars/item/events/item/instances/item/attachments/index.d.ts +3 -3
  12. package/users/item/calendarView/item/attachments/index.d.ts +3 -3
  13. package/users/item/calendarView/item/instances/item/attachments/index.d.ts +3 -3
  14. package/users/item/calendars/item/calendarView/item/attachments/index.d.ts +3 -3
  15. package/users/item/calendars/item/calendarView/item/instances/item/attachments/index.d.ts +3 -3
  16. package/users/item/calendars/item/events/item/attachments/index.d.ts +3 -3
  17. package/users/item/calendars/item/events/item/instances/item/attachments/index.d.ts +3 -3
  18. package/users/item/events/item/attachments/index.d.ts +3 -3
  19. package/users/item/events/item/instances/item/attachments/index.d.ts +3 -3
  20. package/users/item/followedSites/add/index.d.ts +84 -0
  21. package/users/item/followedSites/add/index.d.ts.map +1 -0
  22. package/users/item/followedSites/add/index.js +86 -0
  23. package/users/item/followedSites/index.d.ts +10 -0
  24. package/users/item/followedSites/index.d.ts.map +1 -1
  25. package/users/item/followedSites/index.js +8 -0
  26. package/users/item/followedSites/remove/index.d.ts +84 -0
  27. package/users/item/followedSites/remove/index.d.ts.map +1 -0
  28. package/users/item/followedSites/remove/index.js +86 -0
  29. package/users/item/index.d.ts +8 -8
  30. package/users/item/joinedTeams/item/channels/item/members/index.d.ts +3 -3
  31. package/users/item/joinedTeams/item/channels/item/members/item/index.d.ts +3 -3
  32. package/users/item/joinedTeams/item/primaryChannel/members/index.d.ts +3 -3
  33. package/users/item/joinedTeams/item/primaryChannel/members/item/index.d.ts +3 -3
  34. package/users/item/mailFolders/item/childFolders/item/messages/item/attachments/index.d.ts +7 -7
  35. package/users/item/mailFolders/item/index.d.ts +3 -3
  36. package/users/item/mailFolders/item/messages/item/attachments/index.d.ts +7 -7
  37. package/users/item/messages/index.d.ts +3 -3
  38. package/users/item/messages/item/attachments/index.d.ts +7 -7
  39. package/users/item/messages/item/index.d.ts +6 -6
@@ -30,12 +30,12 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
30
30
  */
31
31
  get(requestConfiguration?: RequestConfiguration<MessagesRequestBuilderGetQueryParameters> | undefined): Promise<MessageCollectionResponse | undefined>;
32
32
  /**
33
- * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
33
+ * Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message.
34
34
  * @param body The request body
35
35
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
36
  * @returns {Promise<Message>}
37
37
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
38
- * @see {@link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0|Find more info here}
38
+ * @see {@link https://learn.microsoft.com/graph/api/user-post-messages?view=graph-rest-1.0|Find more info here}
39
39
  */
40
40
  post(body: Message, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Message | undefined>;
41
41
  /**
@@ -45,7 +45,7 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
45
45
  */
46
46
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<MessagesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
47
47
  /**
48
- * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
48
+ * Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message.
49
49
  * @param body The request body
50
50
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
51
51
  * @returns {RequestInformation}
@@ -22,30 +22,30 @@ export interface AttachmentsRequestBuilder extends BaseRequestBuilder<Attachment
22
22
  */
23
23
  byAttachmentId(attachmentId: string): AttachmentItemRequestBuilder;
24
24
  /**
25
- * Retrieve a list of attachment objects attached to a message.
25
+ * Retrieve a list of attachment objects.
26
26
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
27
27
  * @returns {Promise<AttachmentCollectionResponse>}
28
28
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
29
- * @see {@link https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0|Find more info here}
29
+ * @see {@link https://learn.microsoft.com/graph/api/eventmessage-list-attachments?view=graph-rest-1.0|Find more info here}
30
30
  */
31
31
  get(requestConfiguration?: RequestConfiguration<AttachmentsRequestBuilderGetQueryParameters> | undefined): Promise<AttachmentCollectionResponse | undefined>;
32
32
  /**
33
- * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB.
33
+ * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource.
34
34
  * @param body The request body
35
35
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
36
  * @returns {Promise<Attachment>}
37
37
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
38
- * @see {@link https://learn.microsoft.com/graph/api/message-post-attachments?view=graph-rest-1.0|Find more info here}
38
+ * @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here}
39
39
  */
40
40
  post(body: Attachment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Attachment | undefined>;
41
41
  /**
42
- * Retrieve a list of attachment objects attached to a message.
42
+ * Retrieve a list of attachment objects.
43
43
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
44
  * @returns {RequestInformation}
45
45
  */
46
46
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<AttachmentsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
47
47
  /**
48
- * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB.
48
+ * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource.
49
49
  * @param body The request body
50
50
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
51
51
  * @returns {RequestInformation}
@@ -53,7 +53,7 @@ export interface AttachmentsRequestBuilder extends BaseRequestBuilder<Attachment
53
53
  toPostRequestInformation(body: Attachment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
54
54
  }
55
55
  /**
56
- * Retrieve a list of attachment objects attached to a message.
56
+ * Retrieve a list of attachment objects.
57
57
  */
58
58
  export interface AttachmentsRequestBuilderGetQueryParameters {
59
59
  /**
@@ -65,10 +65,10 @@ export interface MessageItemRequestBuilder extends BaseRequestBuilder<MessageIte
65
65
  */
66
66
  get send(): SendRequestBuilder;
67
67
  /**
68
- * Delete a message in the specified user's mailbox, or delete a relationship of the message.
68
+ * Delete eventMessage.
69
69
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
70
70
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
71
- * @see {@link https://learn.microsoft.com/graph/api/message-delete?view=graph-rest-1.0|Find more info here}
71
+ * @see {@link https://learn.microsoft.com/graph/api/eventmessage-delete?view=graph-rest-1.0|Find more info here}
72
72
  */
73
73
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
74
74
  /**
@@ -80,16 +80,16 @@ export interface MessageItemRequestBuilder extends BaseRequestBuilder<MessageIte
80
80
  */
81
81
  get(requestConfiguration?: RequestConfiguration<MessageItemRequestBuilderGetQueryParameters> | undefined): Promise<Message | undefined>;
82
82
  /**
83
- * Update the properties of a message object.
83
+ * Update the properties of an eventMessage object.
84
84
  * @param body The request body
85
85
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
86
86
  * @returns {Promise<Message>}
87
87
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
88
- * @see {@link https://learn.microsoft.com/graph/api/message-update?view=graph-rest-1.0|Find more info here}
88
+ * @see {@link https://learn.microsoft.com/graph/api/eventmessage-update?view=graph-rest-1.0|Find more info here}
89
89
  */
90
90
  patch(body: Message, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Message | undefined>;
91
91
  /**
92
- * Delete a message in the specified user's mailbox, or delete a relationship of the message.
92
+ * Delete eventMessage.
93
93
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
94
94
  * @returns {RequestInformation}
95
95
  */
@@ -101,7 +101,7 @@ export interface MessageItemRequestBuilder extends BaseRequestBuilder<MessageIte
101
101
  */
102
102
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<MessageItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
103
103
  /**
104
- * Update the properties of a message object.
104
+ * Update the properties of an eventMessage object.
105
105
  * @param body The request body
106
106
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
107
107
  * @returns {RequestInformation}