@microsoft/msgraph-sdk-groups 1.0.0-preview.70 → 1.0.0-preview.72

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/groups/index.d.ts CHANGED
@@ -45,12 +45,12 @@ export interface GroupsRequestBuilder extends BaseRequestBuilder<GroupsRequestBu
45
45
  */
46
46
  get(requestConfiguration?: RequestConfiguration<GroupsRequestBuilderGetQueryParameters> | undefined): Promise<GroupCollectionResponse | undefined>;
47
47
  /**
48
- * Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option.
48
+ * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option.
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 {Promise<Group>}
52
52
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
53
- * @see {@link https://learn.microsoft.com/graph/api/group-post-groups?view=graph-rest-1.0|Find more info here}
53
+ * @see {@link https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-1.0|Find more info here}
54
54
  */
55
55
  post(body: Group, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Group | undefined>;
56
56
  /**
@@ -60,7 +60,7 @@ export interface GroupsRequestBuilder extends BaseRequestBuilder<GroupsRequestBu
60
60
  */
61
61
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<GroupsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
62
62
  /**
63
- * Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option.
63
+ * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option.
64
64
  * @param body The request body
65
65
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
66
66
  * @returns {RequestInformation}
@@ -25,12 +25,12 @@ export interface ConversationsRequestBuilder extends BaseRequestBuilder<Conversa
25
25
  */
26
26
  get(requestConfiguration?: RequestConfiguration<ConversationsRequestBuilderGetQueryParameters> | undefined): Promise<ConversationCollectionResponse | undefined>;
27
27
  /**
28
- * 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.
28
+ * Use reply thread or reply post to further post to that conversation.
29
29
  * @param body The request body
30
30
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
31
  * @returns {Promise<Conversation>}
32
32
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
33
- * @see {@link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0|Find more info here}
33
+ * @see {@link https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-1.0|Find more info here}
34
34
  */
35
35
  post(body: Conversation, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Conversation | undefined>;
36
36
  /**
@@ -40,7 +40,7 @@ export interface ConversationsRequestBuilder extends BaseRequestBuilder<Conversa
40
40
  */
41
41
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<ConversationsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
42
42
  /**
43
- * 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.
43
+ * Use reply thread or reply post to further post to that conversation.
44
44
  * @param body The request body
45
45
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
46
46
  * @returns {RequestInformation}
@@ -13,7 +13,7 @@ export interface ConversationItemRequestBuilder extends BaseRequestBuilder<Conve
13
13
  * Delete conversation.
14
14
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
15
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
16
- * @see {@link https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0|Find more info here}
16
+ * @see {@link https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0|Find more info here}
17
17
  */
18
18
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
19
19
  /**
@@ -18,15 +18,15 @@ export interface ConversationThreadItemRequestBuilder extends BaseRequestBuilder
18
18
  * Delete conversationThread.
19
19
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
20
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
21
- * @see {@link https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-1.0|Find more info here}
21
+ * @see {@link https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-1.0|Find more info here}
22
22
  */
23
23
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
24
24
  /**
25
- * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation.
25
+ * Get a thread object.
26
26
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
27
27
  * @returns {Promise<ConversationThread>}
28
28
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
29
- * @see {@link https://learn.microsoft.com/graph/api/conversationthread-get?view=graph-rest-1.0|Find more info here}
29
+ * @see {@link https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-1.0|Find more info here}
30
30
  */
31
31
  get(requestConfiguration?: RequestConfiguration<ConversationThreadItemRequestBuilderGetQueryParameters> | undefined): Promise<ConversationThread | undefined>;
32
32
  /**
@@ -45,7 +45,7 @@ export interface ConversationThreadItemRequestBuilder extends BaseRequestBuilder
45
45
  */
46
46
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
47
  /**
48
- * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation.
48
+ * Get a thread object.
49
49
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
50
50
  * @returns {RequestInformation}
51
51
  */
@@ -59,7 +59,7 @@ export interface ConversationThreadItemRequestBuilder extends BaseRequestBuilder
59
59
  toPatchRequestInformation(body: ConversationThread, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
60
60
  }
61
61
  /**
62
- * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation.
62
+ * Get a thread object.
63
63
  */
64
64
  export interface ConversationThreadItemRequestBuilderGetQueryParameters {
65
65
  /**
@@ -17,22 +17,22 @@ export interface PostsRequestBuilder extends BaseRequestBuilder<PostsRequestBuil
17
17
  */
18
18
  byPostId(postId: string): PostItemRequestBuilder;
19
19
  /**
20
- * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation.
20
+ * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
22
  * @returns {Promise<PostCollectionResponse>}
23
23
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
- * @see {@link https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0|Find more info here}
24
+ * @see {@link https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0|Find more info here}
25
25
  */
26
26
  get(requestConfiguration?: RequestConfiguration<PostsRequestBuilderGetQueryParameters> | undefined): Promise<PostCollectionResponse | undefined>;
27
27
  /**
28
- * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation.
28
+ * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance.
29
29
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
30
  * @returns {RequestInformation}
31
31
  */
32
32
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<PostsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
33
33
  }
34
34
  /**
35
- * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation.
35
+ * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance.
36
36
  */
37
37
  export interface PostsRequestBuilderGetQueryParameters {
38
38
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/msgraph-sdk-groups",
3
- "version": "1.0.0-preview.70",
3
+ "version": "1.0.0-preview.72",
4
4
  "description": "Groups fluent API for Microsoft Graph",
5
5
  "keywords": [
6
6
  "Microsoft",
@@ -37,5 +37,5 @@
37
37
  "typescript": "^5.3.3"
38
38
  },
39
39
  "type": "module",
40
- "gitHead": "06590625a704a35b5ba7ac1eeb973531a2c3ffd8"
40
+ "gitHead": "850132dd965cbaef02959e7dcdf4a0a71fd656e6"
41
41
  }