@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.
- package/package.json +3 -3
- package/tsconfig.tsbuildinfo +1 -1
- package/users/index.d.ts +7 -7
- package/users/item/calendar/calendarView/item/attachments/index.d.ts +3 -3
- package/users/item/calendar/calendarView/item/instances/item/attachments/index.d.ts +3 -3
- package/users/item/calendar/events/item/attachments/index.d.ts +3 -3
- package/users/item/calendar/events/item/instances/item/attachments/index.d.ts +3 -3
- package/users/item/calendarGroups/item/calendars/item/calendarView/item/attachments/index.d.ts +3 -3
- package/users/item/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/index.d.ts +3 -3
- package/users/item/calendarGroups/item/calendars/item/events/item/attachments/index.d.ts +3 -3
- package/users/item/calendarGroups/item/calendars/item/events/item/instances/item/attachments/index.d.ts +3 -3
- package/users/item/calendarView/item/attachments/index.d.ts +3 -3
- package/users/item/calendarView/item/instances/item/attachments/index.d.ts +3 -3
- package/users/item/calendars/item/calendarView/item/attachments/index.d.ts +3 -3
- package/users/item/calendars/item/calendarView/item/instances/item/attachments/index.d.ts +3 -3
- package/users/item/calendars/item/events/item/attachments/index.d.ts +3 -3
- package/users/item/calendars/item/events/item/instances/item/attachments/index.d.ts +3 -3
- package/users/item/events/item/attachments/index.d.ts +3 -3
- package/users/item/events/item/instances/item/attachments/index.d.ts +3 -3
- package/users/item/followedSites/add/index.d.ts +84 -0
- package/users/item/followedSites/add/index.d.ts.map +1 -0
- package/users/item/followedSites/add/index.js +86 -0
- package/users/item/followedSites/index.d.ts +10 -0
- package/users/item/followedSites/index.d.ts.map +1 -1
- package/users/item/followedSites/index.js +8 -0
- package/users/item/followedSites/remove/index.d.ts +84 -0
- package/users/item/followedSites/remove/index.d.ts.map +1 -0
- package/users/item/followedSites/remove/index.js +86 -0
- package/users/item/index.d.ts +8 -8
- package/users/item/joinedTeams/item/channels/item/members/index.d.ts +3 -3
- package/users/item/joinedTeams/item/channels/item/members/item/index.d.ts +3 -3
- package/users/item/joinedTeams/item/primaryChannel/members/index.d.ts +3 -3
- package/users/item/joinedTeams/item/primaryChannel/members/item/index.d.ts +3 -3
- package/users/item/mailFolders/item/childFolders/item/messages/item/attachments/index.d.ts +7 -7
- package/users/item/mailFolders/item/index.d.ts +3 -3
- package/users/item/mailFolders/item/messages/item/attachments/index.d.ts +7 -7
- package/users/item/messages/index.d.ts +3 -3
- package/users/item/messages/item/attachments/index.d.ts +7 -7
- 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
|
|
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/
|
|
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
|
|
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
|
|
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/
|
|
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
|
|
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/
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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/
|
|
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
|
|
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/
|
|
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
|
|
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
|
|
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}
|