@microsoft/msgraph-sdk-groups 1.0.0-preview.40 → 1.0.0-preview.42
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 +3 -3
- package/groups/item/conversations/item/threads/item/reply/index.d.ts +3 -3
- package/groups/item/team/channels/item/allMembers/add/index.d.ts +84 -0
- package/groups/item/team/channels/item/allMembers/add/index.d.ts.map +1 -0
- package/groups/item/team/channels/item/allMembers/add/index.js +90 -0
- package/groups/item/team/channels/item/allMembers/add/index.js.map +1 -0
- package/groups/item/team/channels/item/allMembers/count/index.d.ts +41 -0
- package/groups/item/team/channels/item/allMembers/count/index.d.ts.map +1 -0
- package/groups/item/team/channels/item/allMembers/count/index.js +34 -0
- package/groups/item/team/channels/item/allMembers/count/index.js.map +1 -0
- package/groups/item/team/channels/item/allMembers/index.d.ts +107 -0
- package/groups/item/team/channels/item/allMembers/index.d.ts.map +1 -0
- package/groups/item/team/channels/item/allMembers/index.js +80 -0
- package/groups/item/team/channels/item/allMembers/index.js.map +1 -0
- package/groups/item/team/channels/item/allMembers/item/index.d.ts +69 -0
- package/groups/item/team/channels/item/allMembers/item/index.d.ts.map +1 -0
- package/groups/item/team/channels/item/allMembers/item/index.js +56 -0
- package/groups/item/team/channels/item/allMembers/item/index.js.map +1 -0
- package/groups/item/team/channels/item/allMembers/remove/index.d.ts +84 -0
- package/groups/item/team/channels/item/allMembers/remove/index.d.ts.map +1 -0
- package/groups/item/team/channels/item/allMembers/remove/index.js +90 -0
- package/groups/item/team/channels/item/allMembers/remove/index.js.map +1 -0
- package/groups/item/team/channels/item/index.d.ts +5 -0
- package/groups/item/team/channels/item/index.d.ts.map +1 -1
- package/groups/item/team/channels/item/index.js +6 -0
- package/groups/item/team/channels/item/index.js.map +1 -1
- package/groups/item/team/primaryChannel/allMembers/add/index.d.ts +84 -0
- package/groups/item/team/primaryChannel/allMembers/add/index.d.ts.map +1 -0
- package/groups/item/team/primaryChannel/allMembers/add/index.js +90 -0
- package/groups/item/team/primaryChannel/allMembers/add/index.js.map +1 -0
- package/groups/item/team/primaryChannel/allMembers/count/index.d.ts +41 -0
- package/groups/item/team/primaryChannel/allMembers/count/index.d.ts.map +1 -0
- package/groups/item/team/primaryChannel/allMembers/count/index.js +34 -0
- package/groups/item/team/primaryChannel/allMembers/count/index.js.map +1 -0
- package/groups/item/team/primaryChannel/allMembers/index.d.ts +107 -0
- package/groups/item/team/primaryChannel/allMembers/index.d.ts.map +1 -0
- package/groups/item/team/primaryChannel/allMembers/index.js +80 -0
- package/groups/item/team/primaryChannel/allMembers/index.js.map +1 -0
- package/groups/item/team/primaryChannel/allMembers/item/index.d.ts +69 -0
- package/groups/item/team/primaryChannel/allMembers/item/index.d.ts.map +1 -0
- package/groups/item/team/primaryChannel/allMembers/item/index.js +56 -0
- package/groups/item/team/primaryChannel/allMembers/item/index.js.map +1 -0
- package/groups/item/team/primaryChannel/allMembers/remove/index.d.ts +84 -0
- package/groups/item/team/primaryChannel/allMembers/remove/index.d.ts.map +1 -0
- package/groups/item/team/primaryChannel/allMembers/remove/index.js +90 -0
- package/groups/item/team/primaryChannel/allMembers/remove/index.js.map +1 -0
- package/groups/item/team/primaryChannel/index.d.ts +5 -0
- package/groups/item/team/primaryChannel/index.d.ts.map +1 -1
- package/groups/item/team/primaryChannel/index.js +6 -0
- package/groups/item/team/primaryChannel/index.js.map +1 -1
- package/groups/item/threads/item/index.d.ts +4 -4
- package/groups/item/threads/item/reply/index.d.ts +3 -3
- package/package.json +2 -2
- package/tsconfig.tsbuildinfo +1 -1
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
|
|
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-
|
|
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
|
|
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}
|
|
@@ -30,15 +30,15 @@ export interface ReplyPostRequestBody extends AdditionalDataHolder, BackedModel,
|
|
|
30
30
|
*/
|
|
31
31
|
export interface ReplyRequestBuilder extends BaseRequestBuilder<ReplyRequestBuilder> {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation.
|
|
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
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
37
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
37
|
+
* @see {@link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0|Find more info here}
|
|
38
38
|
*/
|
|
39
39
|
post(body: ReplyPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation.
|
|
42
42
|
* @param body The request body
|
|
43
43
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
44
|
* @returns {RequestInformation}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { type ActionResultPart, type BaseCollectionPaginationCountResponse, type ConversationMember } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
export interface AddPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
4
|
+
/**
|
|
5
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
6
|
+
*/
|
|
7
|
+
additionalData?: Record<string, unknown>;
|
|
8
|
+
/**
|
|
9
|
+
* Stores model information.
|
|
10
|
+
*/
|
|
11
|
+
backingStoreEnabled?: boolean | null;
|
|
12
|
+
/**
|
|
13
|
+
* The values property
|
|
14
|
+
*/
|
|
15
|
+
values?: ConversationMember[] | null;
|
|
16
|
+
}
|
|
17
|
+
export interface AddPostResponse extends BaseCollectionPaginationCountResponse, Parsable {
|
|
18
|
+
/**
|
|
19
|
+
* The value property
|
|
20
|
+
*/
|
|
21
|
+
value?: ActionResultPart[] | null;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Provides operations to call the add method.
|
|
25
|
+
*/
|
|
26
|
+
export interface AddRequestBuilder extends BaseRequestBuilder<AddRequestBuilder> {
|
|
27
|
+
/**
|
|
28
|
+
* Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created.
|
|
29
|
+
* @param body The request body
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns {Promise<AddPostResponse>}
|
|
32
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
33
|
+
* @see {@link https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0|Find more info here}
|
|
34
|
+
*/
|
|
35
|
+
post(body: AddPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AddPostResponse | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created.
|
|
38
|
+
* @param body The request body
|
|
39
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
40
|
+
* @returns {RequestInformation}
|
|
41
|
+
*/
|
|
42
|
+
toPostRequestInformation(body: AddPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
46
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
47
|
+
* @returns {AddPostRequestBody}
|
|
48
|
+
*/
|
|
49
|
+
export declare function createAddPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
50
|
+
/**
|
|
51
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
52
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
53
|
+
* @returns {AddPostResponse}
|
|
54
|
+
*/
|
|
55
|
+
export declare function createAddPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
56
|
+
/**
|
|
57
|
+
* The deserialization information for the current model
|
|
58
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
59
|
+
*/
|
|
60
|
+
export declare function deserializeIntoAddPostRequestBody(addPostRequestBody?: Partial<AddPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
61
|
+
/**
|
|
62
|
+
* The deserialization information for the current model
|
|
63
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
64
|
+
*/
|
|
65
|
+
export declare function deserializeIntoAddPostResponse(addPostResponse?: Partial<AddPostResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
66
|
+
/**
|
|
67
|
+
* Serializes information the current object
|
|
68
|
+
* @param writer Serialization writer to use to serialize this model
|
|
69
|
+
*/
|
|
70
|
+
export declare function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody?: Partial<AddPostRequestBody> | undefined | null): void;
|
|
71
|
+
/**
|
|
72
|
+
* Serializes information the current object
|
|
73
|
+
* @param writer Serialization writer to use to serialize this model
|
|
74
|
+
*/
|
|
75
|
+
export declare function serializeAddPostResponse(writer: SerializationWriter, addPostResponse?: Partial<AddPostResponse> | undefined | null): void;
|
|
76
|
+
/**
|
|
77
|
+
* Uri template for the request builder.
|
|
78
|
+
*/
|
|
79
|
+
export declare const AddRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/add";
|
|
80
|
+
/**
|
|
81
|
+
* Metadata for all the requests in the request builder.
|
|
82
|
+
*/
|
|
83
|
+
export declare const AddRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
84
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EA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AK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAEtK;AACD;;;;GAIG;AAEH,wBAAgB,2CAA2C,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAEnK;AACD;;;GAGG;AAEH,wBAAgB,iCAAiC,CAAC,kBAAkB,GAAE,OAAO,CAAC,kBAAkB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK9J;AACD;;;GAGG;AAEH,wBAAgB,8BAA8B,CAAC,eAAe,GAAE,OAAO,CAAC,eAAe,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKrJ;AACD;;;GAGG;AAEH,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,mBAAmB,EAAE,kBAAkB,GAAE,OAAO,CAAC,kBAAkB,CAAC,GAAG,SAAS,GAAG,IAAS,GAAI,IAAI,CAKvJ;AACD;;;GAGG;AAEH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,mBAAmB,EAAE,eAAe,GAAE,OAAO,CAAC,eAAe,CAAC,GAAG,SAAS,GAAG,IAAS,GAAI,IAAI,CAK9I;AACD;;GAEG;AACH,eAAO,MAAM,4BAA4B,+EAA+E,CAAC;AACzH;;GAEG;AACH,eAAO,MAAM,iCAAiC,EAAE,gBAa/C,CAAC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createActionResultPartFromDiscriminatorValue, createConversationMemberFromDiscriminatorValue, deserializeIntoBaseCollectionPaginationCountResponse, serializeActionResultPart, serializeBaseCollectionPaginationCountResponse, serializeConversationMember } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
+
* @returns {AddPostRequestBody}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createAddPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoAddPostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
19
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
20
|
+
* @returns {AddPostResponse}
|
|
21
|
+
*/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export function createAddPostResponseFromDiscriminatorValue(parseNode) {
|
|
24
|
+
return deserializeIntoAddPostResponse;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* The deserialization information for the current model
|
|
28
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
29
|
+
*/
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
export function deserializeIntoAddPostRequestBody(addPostRequestBody = {}) {
|
|
32
|
+
return {
|
|
33
|
+
"backingStoreEnabled": n => { addPostRequestBody.backingStoreEnabled = true; },
|
|
34
|
+
"values": n => { addPostRequestBody.values = n.getCollectionOfObjectValues(createConversationMemberFromDiscriminatorValue); },
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* The deserialization information for the current model
|
|
39
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
40
|
+
*/
|
|
41
|
+
// @ts-ignore
|
|
42
|
+
export function deserializeIntoAddPostResponse(addPostResponse = {}) {
|
|
43
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(addPostResponse)), { "value": n => { addPostResponse.value = n.getCollectionOfObjectValues(createActionResultPartFromDiscriminatorValue); } });
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Serializes information the current object
|
|
47
|
+
* @param writer Serialization writer to use to serialize this model
|
|
48
|
+
*/
|
|
49
|
+
// @ts-ignore
|
|
50
|
+
export function serializeAddPostRequestBody(writer, addPostRequestBody = {}) {
|
|
51
|
+
if (addPostRequestBody) {
|
|
52
|
+
writer.writeCollectionOfObjectValues("values", addPostRequestBody.values, serializeConversationMember);
|
|
53
|
+
writer.writeAdditionalData(addPostRequestBody.additionalData);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Serializes information the current object
|
|
58
|
+
* @param writer Serialization writer to use to serialize this model
|
|
59
|
+
*/
|
|
60
|
+
// @ts-ignore
|
|
61
|
+
export function serializeAddPostResponse(writer, addPostResponse = {}) {
|
|
62
|
+
if (addPostResponse) {
|
|
63
|
+
serializeBaseCollectionPaginationCountResponse(writer, addPostResponse);
|
|
64
|
+
writer.writeCollectionOfObjectValues("value", addPostResponse.value, serializeActionResultPart);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Uri template for the request builder.
|
|
69
|
+
*/
|
|
70
|
+
export const AddRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/add";
|
|
71
|
+
/**
|
|
72
|
+
* Metadata for all the requests in the request builder.
|
|
73
|
+
*/
|
|
74
|
+
export const AddRequestBuilderRequestsMetadata = {
|
|
75
|
+
post: {
|
|
76
|
+
uriTemplate: AddRequestBuilderUriTemplate,
|
|
77
|
+
responseBodyContentType: "application/json",
|
|
78
|
+
errorMappings: {
|
|
79
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
80
|
+
},
|
|
81
|
+
adapterMethodName: "send",
|
|
82
|
+
responseBodyFactory: createAddPostResponseFromDiscriminatorValue,
|
|
83
|
+
requestBodyContentType: "application/json",
|
|
84
|
+
requestBodySerializer: serializeAddPostRequestBody,
|
|
85
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
86
|
+
},
|
|
87
|
+
};
|
|
88
|
+
/* tslint:enable */
|
|
89
|
+
/* eslint-enable */
|
|
90
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAE,8CAA8C,EAAE,oDAAoD,EAAE,yBAAyB,EAAE,8CAA8C,EAAE,2BAA2B,EAA8F,MAAM,wCAAwC,CAAC;AAChZ,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AA6C7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,8CAA8C,CAAC,SAAgC;IAC3F,OAAO,iCAAiC,CAAC;AAC7C,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,2CAA2C,CAAC,SAAgC;IACxF,OAAO,8BAA8B,CAAC;AAC1C,CAAC;AACD;;;GAGG;AACH,aAAa;AACb,MAAM,UAAU,iCAAiC,CAAC,qBAA8D,EAAE;IAC9G,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,kBAAkB,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QAC9E,QAAQ,EAAE,CAAC,CAAC,EAAE,GAAG,kBAAkB,CAAC,MAAM,GAAG,CAAC,CAAC,2BAA2B,CAAqB,8CAA8C,CAAC,CAAC,CAAC,CAAC;KACpJ,CAAA;AACL,CAAC;AACD;;;GAGG;AACH,aAAa;AACb,MAAM,UAAU,8BAA8B,CAAC,kBAAwD,E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+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to count the resources in the collection.
|
|
4
|
+
*/
|
|
5
|
+
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Get the number of the resource
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns {Promise<number>}
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Get the number of the resource
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Get the number of the resource
|
|
22
|
+
*/
|
|
23
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
24
|
+
/**
|
|
25
|
+
* Filter items by property values
|
|
26
|
+
*/
|
|
27
|
+
filter?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Search items by search phrases
|
|
30
|
+
*/
|
|
31
|
+
search?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Uri template for the request builder.
|
|
35
|
+
*/
|
|
36
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/$count{?%24filter,%24search}";
|
|
37
|
+
/**
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
39
|
+
*/
|
|
40
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
41
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,wGAAwG,CAAC;AAQpJ;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const CountRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/$count{?%24filter,%24search}";
|
|
10
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"filter": "%24filter",
|
|
15
|
+
"search": "%24search",
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the requests in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
export const CountRequestBuilderRequestsMetadata = {
|
|
21
|
+
get: {
|
|
22
|
+
uriTemplate: CountRequestBuilderUriTemplate,
|
|
23
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
24
|
+
errorMappings: {
|
|
25
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
26
|
+
},
|
|
27
|
+
adapterMethodName: "sendPrimitive",
|
|
28
|
+
responseBodyFactory: "number",
|
|
29
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
/* tslint:enable */
|
|
33
|
+
/* eslint-enable */
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,qGAAqG,CAAC;AACpJ;;GAEG;AACH,MAAM,2CAA2C,GAA2B;IACxE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;QAC9B,qBAAqB,EAAE,2CAA2C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { type ConversationMember, type ConversationMemberCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type AddRequestBuilder } from './add/index.js';
|
|
3
|
+
import { type CountRequestBuilder } from './count/index.js';
|
|
4
|
+
import { type ConversationMemberItemRequestBuilder } from './item/index.js';
|
|
5
|
+
import { type RemoveRequestBuilder } from './remove/index.js';
|
|
6
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
7
|
+
/**
|
|
8
|
+
* Provides operations to manage the allMembers property of the microsoft.graph.channel entity.
|
|
9
|
+
*/
|
|
10
|
+
export interface AllMembersRequestBuilder extends BaseRequestBuilder<AllMembersRequestBuilder> {
|
|
11
|
+
/**
|
|
12
|
+
* Provides operations to call the add method.
|
|
13
|
+
*/
|
|
14
|
+
get add(): AddRequestBuilder;
|
|
15
|
+
/**
|
|
16
|
+
* Provides operations to count the resources in the collection.
|
|
17
|
+
*/
|
|
18
|
+
get count(): CountRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Provides operations to call the remove method.
|
|
21
|
+
*/
|
|
22
|
+
get remove(): RemoveRequestBuilder;
|
|
23
|
+
/**
|
|
24
|
+
* Provides operations to manage the allMembers property of the microsoft.graph.channel entity.
|
|
25
|
+
* @param conversationMemberId The unique identifier of conversationMember
|
|
26
|
+
* @returns {ConversationMemberItemRequestBuilder}
|
|
27
|
+
*/
|
|
28
|
+
byConversationMemberId(conversationMemberId: string): ConversationMemberItemRequestBuilder;
|
|
29
|
+
/**
|
|
30
|
+
* A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
|
|
31
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
|
+
* @returns {Promise<ConversationMemberCollectionResponse>}
|
|
33
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
34
|
+
*/
|
|
35
|
+
get(requestConfiguration?: RequestConfiguration<AllMembersRequestBuilderGetQueryParameters> | undefined): Promise<ConversationMemberCollectionResponse | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* Create new navigation property to allMembers for groups
|
|
38
|
+
* @param body The request body
|
|
39
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
40
|
+
* @returns {Promise<ConversationMember>}
|
|
41
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
42
|
+
*/
|
|
43
|
+
post(body: ConversationMember, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConversationMember | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
|
|
46
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
47
|
+
* @returns {RequestInformation}
|
|
48
|
+
*/
|
|
49
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AllMembersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
50
|
+
/**
|
|
51
|
+
* Create new navigation property to allMembers for groups
|
|
52
|
+
* @param body The request body
|
|
53
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
54
|
+
* @returns {RequestInformation}
|
|
55
|
+
*/
|
|
56
|
+
toPostRequestInformation(body: ConversationMember, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
|
|
60
|
+
*/
|
|
61
|
+
export interface AllMembersRequestBuilderGetQueryParameters {
|
|
62
|
+
/**
|
|
63
|
+
* Include count of items
|
|
64
|
+
*/
|
|
65
|
+
count?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Expand related entities
|
|
68
|
+
*/
|
|
69
|
+
expand?: string[];
|
|
70
|
+
/**
|
|
71
|
+
* Filter items by property values
|
|
72
|
+
*/
|
|
73
|
+
filter?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Order items by property values
|
|
76
|
+
*/
|
|
77
|
+
orderby?: string[];
|
|
78
|
+
/**
|
|
79
|
+
* Search items by search phrases
|
|
80
|
+
*/
|
|
81
|
+
search?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Select properties to be returned
|
|
84
|
+
*/
|
|
85
|
+
select?: string[];
|
|
86
|
+
/**
|
|
87
|
+
* Skip the first n items
|
|
88
|
+
*/
|
|
89
|
+
skip?: number;
|
|
90
|
+
/**
|
|
91
|
+
* Show only the first n items
|
|
92
|
+
*/
|
|
93
|
+
top?: number;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Uri template for the request builder.
|
|
97
|
+
*/
|
|
98
|
+
export declare const AllMembersRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
99
|
+
/**
|
|
100
|
+
* Metadata for all the navigation properties in the request builder.
|
|
101
|
+
*/
|
|
102
|
+
export declare const AllMembersRequestBuilderNavigationMetadata: Record<Exclude<keyof AllMembersRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
103
|
+
/**
|
|
104
|
+
* Metadata for all the requests in the request builder.
|
|
105
|
+
*/
|
|
106
|
+
export declare const AllMembersRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
107
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiJ,KAAK,kBAAkB,EAAE,KAAK,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AAI3Q,OAAO,EAAqC,KAAK,iBAAiB,EAAE,MAAM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kBAAkB,CAAC;CAC7I;AACD;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACvD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,mCAAmC,wJAAwJ,CAAC;AAczM;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,wBAAwB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAc9J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,gBAuBtD,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createConversationMemberCollectionResponseFromDiscriminatorValue, createConversationMemberFromDiscriminatorValue, serializeConversationMember } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
import { AddRequestBuilderRequestsMetadata } from './add/index.js';
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
import { CountRequestBuilderRequestsMetadata } from './count/index.js';
|
|
12
|
+
// @ts-ignore
|
|
13
|
+
import { ConversationMemberItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
14
|
+
// @ts-ignore
|
|
15
|
+
import { RemoveRequestBuilderRequestsMetadata } from './remove/index.js';
|
|
16
|
+
/**
|
|
17
|
+
* Uri template for the request builder.
|
|
18
|
+
*/
|
|
19
|
+
export const AllMembersRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
20
|
+
/**
|
|
21
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
22
|
+
*/
|
|
23
|
+
const AllMembersRequestBuilderGetQueryParametersMapper = {
|
|
24
|
+
"count": "%24count",
|
|
25
|
+
"expand": "%24expand",
|
|
26
|
+
"filter": "%24filter",
|
|
27
|
+
"orderby": "%24orderby",
|
|
28
|
+
"search": "%24search",
|
|
29
|
+
"select": "%24select",
|
|
30
|
+
"skip": "%24skip",
|
|
31
|
+
"top": "%24top",
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Metadata for all the navigation properties in the request builder.
|
|
35
|
+
*/
|
|
36
|
+
export const AllMembersRequestBuilderNavigationMetadata = {
|
|
37
|
+
byConversationMemberId: {
|
|
38
|
+
requestsMetadata: ConversationMemberItemRequestBuilderRequestsMetadata,
|
|
39
|
+
pathParametersMappings: ["conversationMember%2Did"],
|
|
40
|
+
},
|
|
41
|
+
add: {
|
|
42
|
+
requestsMetadata: AddRequestBuilderRequestsMetadata,
|
|
43
|
+
},
|
|
44
|
+
count: {
|
|
45
|
+
requestsMetadata: CountRequestBuilderRequestsMetadata,
|
|
46
|
+
},
|
|
47
|
+
remove: {
|
|
48
|
+
requestsMetadata: RemoveRequestBuilderRequestsMetadata,
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Metadata for all the requests in the request builder.
|
|
53
|
+
*/
|
|
54
|
+
export const AllMembersRequestBuilderRequestsMetadata = {
|
|
55
|
+
get: {
|
|
56
|
+
uriTemplate: AllMembersRequestBuilderUriTemplate,
|
|
57
|
+
responseBodyContentType: "application/json",
|
|
58
|
+
errorMappings: {
|
|
59
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
60
|
+
},
|
|
61
|
+
adapterMethodName: "send",
|
|
62
|
+
responseBodyFactory: createConversationMemberCollectionResponseFromDiscriminatorValue,
|
|
63
|
+
queryParametersMapper: AllMembersRequestBuilderGetQueryParametersMapper,
|
|
64
|
+
},
|
|
65
|
+
post: {
|
|
66
|
+
uriTemplate: AllMembersRequestBuilderUriTemplate,
|
|
67
|
+
responseBodyContentType: "application/json",
|
|
68
|
+
errorMappings: {
|
|
69
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
70
|
+
},
|
|
71
|
+
adapterMethodName: "send",
|
|
72
|
+
responseBodyFactory: createConversationMemberFromDiscriminatorValue,
|
|
73
|
+
requestBodyContentType: "application/json",
|
|
74
|
+
requestBodySerializer: serializeConversationMember,
|
|
75
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
76
|
+
},
|
|
77
|
+
};
|
|
78
|
+
/* tslint:enable */
|
|
79
|
+
/* eslint-enable */
|
|
80
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,gEAAgE,EAAE,8CAA8C,EAAE,2BAA2B,EAAsE,MAAM,wCAAwC,CAAC;AAC3Q,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,iCAAiC,EAA0B,MAAM,gBAAgB,CAAC;AAC3F,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,oDAAoD,EAA6C,MA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AAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { type ConversationMember } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to manage the allMembers property of the microsoft.graph.channel entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface ConversationMemberItemRequestBuilder extends BaseRequestBuilder<ConversationMemberItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete navigation property allMembers for groups
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
*/
|
|
12
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {Promise<ConversationMember>}
|
|
17
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
18
|
+
*/
|
|
19
|
+
get(requestConfiguration?: RequestConfiguration<ConversationMemberItemRequestBuilderGetQueryParameters> | undefined): Promise<ConversationMember | undefined>;
|
|
20
|
+
/**
|
|
21
|
+
* Update the navigation property allMembers in groups
|
|
22
|
+
* @param body The request body
|
|
23
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
+
* @returns {Promise<ConversationMember>}
|
|
25
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
26
|
+
*/
|
|
27
|
+
patch(body: ConversationMember, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConversationMember | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* Delete navigation property allMembers for groups
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns {RequestInformation}
|
|
32
|
+
*/
|
|
33
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
34
|
+
/**
|
|
35
|
+
* A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
|
|
36
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
* @returns {RequestInformation}
|
|
38
|
+
*/
|
|
39
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ConversationMemberItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
|
+
/**
|
|
41
|
+
* Update the navigation property allMembers in groups
|
|
42
|
+
* @param body The request body
|
|
43
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
+
* @returns {RequestInformation}
|
|
45
|
+
*/
|
|
46
|
+
toPatchRequestInformation(body: ConversationMember, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* A collection of membership records associated with the channel, including both direct and indirect members of shared channels.
|
|
50
|
+
*/
|
|
51
|
+
export interface ConversationMemberItemRequestBuilderGetQueryParameters {
|
|
52
|
+
/**
|
|
53
|
+
* Expand related entities
|
|
54
|
+
*/
|
|
55
|
+
expand?: string[];
|
|
56
|
+
/**
|
|
57
|
+
* Select properties to be returned
|
|
58
|
+
*/
|
|
59
|
+
select?: string[];
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Uri template for the request builder.
|
|
63
|
+
*/
|
|
64
|
+
export declare const ConversationMemberItemRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/{conversationMember%2Did}{?%24expand,%24select}";
|
|
65
|
+
/**
|
|
66
|
+
* Metadata for all the requests in the request builder.
|
|
67
|
+
*/
|
|
68
|
+
export declare const ConversationMemberItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
69
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+E,KAAK,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAI9J,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,oCAAqC,SAAQ,kBAAkB,CAAC,oCAAoC,CAAC;IAClH;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sDAAsD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAChK;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC5I;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sDAAsD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/J;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,G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