@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
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createConversationMemberFromDiscriminatorValue, serializeConversationMember } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
export const ConversationMemberItemRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/{conversationMember%2Did}{?%24expand,%24select}";
|
|
12
|
+
/**
|
|
13
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
14
|
+
*/
|
|
15
|
+
const ConversationMemberItemRequestBuilderGetQueryParametersMapper = {
|
|
16
|
+
"expand": "%24expand",
|
|
17
|
+
"select": "%24select",
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Metadata for all the requests in the request builder.
|
|
21
|
+
*/
|
|
22
|
+
export const ConversationMemberItemRequestBuilderRequestsMetadata = {
|
|
23
|
+
delete: {
|
|
24
|
+
uriTemplate: ConversationMemberItemRequestBuilderUriTemplate,
|
|
25
|
+
responseBodyContentType: "application/json",
|
|
26
|
+
errorMappings: {
|
|
27
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
28
|
+
},
|
|
29
|
+
adapterMethodName: "sendNoResponseContent",
|
|
30
|
+
},
|
|
31
|
+
get: {
|
|
32
|
+
uriTemplate: ConversationMemberItemRequestBuilderUriTemplate,
|
|
33
|
+
responseBodyContentType: "application/json",
|
|
34
|
+
errorMappings: {
|
|
35
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
36
|
+
},
|
|
37
|
+
adapterMethodName: "send",
|
|
38
|
+
responseBodyFactory: createConversationMemberFromDiscriminatorValue,
|
|
39
|
+
queryParametersMapper: ConversationMemberItemRequestBuilderGetQueryParametersMapper,
|
|
40
|
+
},
|
|
41
|
+
patch: {
|
|
42
|
+
uriTemplate: ConversationMemberItemRequestBuilderUriTemplate,
|
|
43
|
+
responseBodyContentType: "application/json",
|
|
44
|
+
errorMappings: {
|
|
45
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
46
|
+
},
|
|
47
|
+
adapterMethodName: "send",
|
|
48
|
+
responseBodyFactory: createConversationMemberFromDiscriminatorValue,
|
|
49
|
+
requestBodyContentType: "application/json",
|
|
50
|
+
requestBodySerializer: serializeConversationMember,
|
|
51
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
52
|
+
},
|
|
53
|
+
};
|
|
54
|
+
/* tslint:enable */
|
|
55
|
+
/* eslint-enable */
|
|
56
|
+
//# 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,8CAA8C,EAAE,2BAA2B,EAA2B,MAAM,wCAAwC,CAAC;AAC9J,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AA8D7H;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAG,wHAAwH,CAAC;AACxL;;GAEG;AACH,MAAM,4DAA4D,GAA2B;IACzF,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,oDAAoD,GAAqB;IAClF,MAAM,EAAE;QACJ,WAAW,EAAE,+CAA+C;QAC5D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,+CAA+C;QAC5D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8CAA8C;QACpE,qBAAqB,EAAE,4DAA4D;KACtF;IACD,KAAK,EAAE;QACH,WAAW,EAAE,+CAA+C;QAC5D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8CAA8C;QACpE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -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
|
+
/**
|
|
4
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
+
* @returns {RemovePostRequestBody}
|
|
7
|
+
*/
|
|
8
|
+
export declare function createRemovePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
9
|
+
/**
|
|
10
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
+
* @returns {RemovePostResponse}
|
|
13
|
+
*/
|
|
14
|
+
export declare function createRemovePostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
15
|
+
/**
|
|
16
|
+
* The deserialization information for the current model
|
|
17
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
18
|
+
*/
|
|
19
|
+
export declare function deserializeIntoRemovePostRequestBody(removePostRequestBody?: Partial<RemovePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
20
|
+
/**
|
|
21
|
+
* The deserialization information for the current model
|
|
22
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
23
|
+
*/
|
|
24
|
+
export declare function deserializeIntoRemovePostResponse(removePostResponse?: Partial<RemovePostResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
25
|
+
export interface RemovePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
26
|
+
/**
|
|
27
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
28
|
+
*/
|
|
29
|
+
additionalData?: Record<string, unknown>;
|
|
30
|
+
/**
|
|
31
|
+
* Stores model information.
|
|
32
|
+
*/
|
|
33
|
+
backingStoreEnabled?: boolean | null;
|
|
34
|
+
/**
|
|
35
|
+
* The values property
|
|
36
|
+
*/
|
|
37
|
+
values?: ConversationMember[] | null;
|
|
38
|
+
}
|
|
39
|
+
export interface RemovePostResponse extends BaseCollectionPaginationCountResponse, Parsable {
|
|
40
|
+
/**
|
|
41
|
+
* The value property
|
|
42
|
+
*/
|
|
43
|
+
value?: ActionResultPart[] | null;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Provides operations to call the remove method.
|
|
47
|
+
*/
|
|
48
|
+
export interface RemoveRequestBuilder extends BaseRequestBuilder<RemoveRequestBuilder> {
|
|
49
|
+
/**
|
|
50
|
+
* Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed.
|
|
51
|
+
* @param body The request body
|
|
52
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
53
|
+
* @returns {Promise<RemovePostResponse>}
|
|
54
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
55
|
+
* @see {@link https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0|Find more info here}
|
|
56
|
+
*/
|
|
57
|
+
post(body: RemovePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<RemovePostResponse | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed.
|
|
60
|
+
* @param body The request body
|
|
61
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
62
|
+
* @returns {RequestInformation}
|
|
63
|
+
*/
|
|
64
|
+
toPostRequestInformation(body: RemovePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Serializes information the current object
|
|
68
|
+
* @param writer Serialization writer to use to serialize this model
|
|
69
|
+
*/
|
|
70
|
+
export declare function serializeRemovePostRequestBody(writer: SerializationWriter, removePostRequestBody?: Partial<RemovePostRequestBody> | 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 serializeRemovePostResponse(writer: SerializationWriter, removePostResponse?: Partial<RemovePostResponse> | undefined | null): void;
|
|
76
|
+
/**
|
|
77
|
+
* Uri template for the request builder.
|
|
78
|
+
*/
|
|
79
|
+
export declare const RemoveRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/remove";
|
|
80
|
+
/**
|
|
81
|
+
* Metadata for all the requests in the request builder.
|
|
82
|
+
*/
|
|
83
|
+
export declare const RemoveRequestBuilderRequestsMetadata: 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,EAA8P,KAAK,gBAAgB,EAAE,KAAK,qCAAqC,EAAE,KAAK,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAIhZ,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EA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AACD;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC9I;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChJ;AACD;;;GAGG;AAEH,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,mBAAmB,EAAE,qBAAqB,GAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,SAAS,GAAG,IAAS,GAAI,IAAI,CAKhK;AACD;;;GAGG;AAEH,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,mBAAmB,EAAE,kBAAkB,GAAE,OAAO,CAAC,kBAAkB,CAAC,GAAG,SAAS,GAAG,IAAS,GAAI,IAAI,CAKvJ;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,kFAAkF,CAAC;AAC/H;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAalD,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 {RemovePostRequestBody}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createRemovePostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoRemovePostRequestBody;
|
|
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 {RemovePostResponse}
|
|
21
|
+
*/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export function createRemovePostResponseFromDiscriminatorValue(parseNode) {
|
|
24
|
+
return deserializeIntoRemovePostResponse;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* The deserialization information for the current model
|
|
28
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
29
|
+
*/
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
export function deserializeIntoRemovePostRequestBody(removePostRequestBody = {}) {
|
|
32
|
+
return {
|
|
33
|
+
"backingStoreEnabled": n => { removePostRequestBody.backingStoreEnabled = true; },
|
|
34
|
+
"values": n => { removePostRequestBody.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 deserializeIntoRemovePostResponse(removePostResponse = {}) {
|
|
43
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(removePostResponse)), { "value": n => { removePostResponse.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 serializeRemovePostRequestBody(writer, removePostRequestBody = {}) {
|
|
51
|
+
if (removePostRequestBody) {
|
|
52
|
+
writer.writeCollectionOfObjectValues("values", removePostRequestBody.values, serializeConversationMember);
|
|
53
|
+
writer.writeAdditionalData(removePostRequestBody.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 serializeRemovePostResponse(writer, removePostResponse = {}) {
|
|
62
|
+
if (removePostResponse) {
|
|
63
|
+
serializeBaseCollectionPaginationCountResponse(writer, removePostResponse);
|
|
64
|
+
writer.writeCollectionOfObjectValues("value", removePostResponse.value, serializeActionResultPart);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Uri template for the request builder.
|
|
69
|
+
*/
|
|
70
|
+
export const RemoveRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/allMembers/remove";
|
|
71
|
+
/**
|
|
72
|
+
* Metadata for all the requests in the request builder.
|
|
73
|
+
*/
|
|
74
|
+
export const RemoveRequestBuilderRequestsMetadata = {
|
|
75
|
+
post: {
|
|
76
|
+
uriTemplate: RemoveRequestBuilderUriTemplate,
|
|
77
|
+
responseBodyContentType: "application/json",
|
|
78
|
+
errorMappings: {
|
|
79
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
80
|
+
},
|
|
81
|
+
adapterMethodName: "send",
|
|
82
|
+
responseBodyFactory: createRemovePostResponseFromDiscriminatorValue,
|
|
83
|
+
requestBodyContentType: "application/json",
|
|
84
|
+
requestBodySerializer: serializeRemovePostRequestBody,
|
|
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;AAI7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,iDAAiD,CAAC,SAAgC;IAC9F,OAAO,oCAAoC,CAAC;AAChD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,8CAA8C,CAAC,SAAgC;IAC3F,OAAO,iCAAiC,CAAC;AAC7C,CAAC;AACD;;;GAGG;AACH,aAAa;AACb,MAAM,UAAU,oCAAoC,CAAC,wBAAoE,EAAE;IACvH,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,qBAAqB,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QACjF,QAAQ,EAAE,CAAC,CAAC,EAAE,GAAG,qBAAqB,CAAC,MAAM,GAAG,CAAC,CAAC,2BAA2B,CAAqB,8CAA8C,CAAC,CAAC,CAAC,CAAC;KACvJ,CAAA;AACL,CAAC;AACD;;;GAGG;AACH,aAAa;AACb,MAAM,UAAU,iCAAiC,CAAC,qBAA8D,EAAE;IAC9G,uCACO,oDAAoD,CAAC,kBAAkB,CAAC,KAC3E,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,kBAAkB,CAAC,KAAK,GAAG,CAAC,CAAC,2BAA2B,CAAmB,4CAA4C,CAAC,CAAC,CAAC,CAAC,IAC9I;AACL,CAAC;AA0CD;;;GAGG;AACH,aAAa;AACb,MAAM,UAAU,8BAA8B,CAAC,MAA2B,EAAE,wBAA2E,EAAE;IACrJ,IAAI,qBAAqB,EAAE,CAAC;QACxB,MAAM,CAAC,6BAA6B,CAAqB,QAAQ,EAAE,qBAAqB,CAAC,MAAM,EAAE,2BAA2B,CAAC,CAAC;QAC9H,MAAM,CAAC,mBAAmB,CAAC,qBAAqB,CAAC,cAAc,CAAC,CAAC;IACrE,CAAC;AACL,CAAC;AACD;;;GAGG;AACH,aAAa;AACb,MAAM,UAAU,2BAA2B,CAAC,MAA2B,EAAE,qBAAqE,EAAE;IAC5I,IAAI,kBAAkB,EAAE,CAAC;QACrB,8CAA8C,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAA;QAC1E,MAAM,CAAC,6BAA6B,CAAmB,OAAO,EAAE,kBAAkB,CAAC,KAAK,EAAE,yBAAyB,CAAC,CAAC;IACzH,CAAC;AACL,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,+EAA+E,CAAC;AAC/H;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAqB;IAClE,IAAI,EAAE;QACF,WAAW,EAAE,+BAA+B;QAC5C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8CAA8C;QACpE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,8BAA8B;QACrD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type Channel } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type AllMembersRequestBuilder } from './allMembers/index.js';
|
|
2
3
|
import { type ArchiveRequestBuilder } from './archive/index.js';
|
|
3
4
|
import { type CompleteMigrationRequestBuilder } from './completeMigration/index.js';
|
|
4
5
|
import { type DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder } from './doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.js';
|
|
@@ -15,6 +16,10 @@ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type
|
|
|
15
16
|
* Provides operations to manage the channels property of the microsoft.graph.team entity.
|
|
16
17
|
*/
|
|
17
18
|
export interface ChannelItemRequestBuilder extends BaseRequestBuilder<ChannelItemRequestBuilder> {
|
|
19
|
+
/**
|
|
20
|
+
* Provides operations to manage the allMembers property of the microsoft.graph.channel entity.
|
|
21
|
+
*/
|
|
22
|
+
get allMembers(): AllMembersRequestBuilder;
|
|
18
23
|
/**
|
|
19
24
|
* Provides operations to call the archive method.
|
|
20
25
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyD,KAAK,OAAO,EAAE,MAAM,wCAAwC,CAAC;AAI7H,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEvG,OAAO,EAAmD,KAAK,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAErI,OAAO,EAAkH,KAAK,8FAA8F,EAAE,MAAM,6FAA6F,CAAC;AAElU,OAAO,EAA0F,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAEhK,OAAO,EAAkF,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhJ,OAAO,EAAoF,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAEpJ,OAAO,EAAgD,KAAK,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAE5H,OAAO,EAA6C,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAEnH,OAAO,EAAkG,KAAK,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAEhL,OAAO,EAA4E,KAA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;AACH,eAAO,MAAM,yCAAyC,EAAE,gBA+BvD,CAAC"}
|
|
@@ -6,6 +6,8 @@ import { createChannelFromDiscriminatorValue, serializeChannel } from '@microsof
|
|
|
6
6
|
// @ts-ignore
|
|
7
7
|
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
8
|
// @ts-ignore
|
|
9
|
+
import { AllMembersRequestBuilderNavigationMetadata, AllMembersRequestBuilderRequestsMetadata } from './allMembers/index.js';
|
|
10
|
+
// @ts-ignore
|
|
9
11
|
import { ArchiveRequestBuilderRequestsMetadata } from './archive/index.js';
|
|
10
12
|
// @ts-ignore
|
|
11
13
|
import { CompleteMigrationRequestBuilderRequestsMetadata } from './completeMigration/index.js';
|
|
@@ -42,6 +44,10 @@ const ChannelItemRequestBuilderGetQueryParametersMapper = {
|
|
|
42
44
|
* Metadata for all the navigation properties in the request builder.
|
|
43
45
|
*/
|
|
44
46
|
export const ChannelItemRequestBuilderNavigationMetadata = {
|
|
47
|
+
allMembers: {
|
|
48
|
+
requestsMetadata: AllMembersRequestBuilderRequestsMetadata,
|
|
49
|
+
navigationMetadata: AllMembersRequestBuilderNavigationMetadata,
|
|
50
|
+
},
|
|
45
51
|
archive: {
|
|
46
52
|
requestsMetadata: ArchiveRequestBuilderRequestsMetadata,
|
|
47
53
|
},
|
|
@@ -1 +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,mCAAmC,EAAE,gBAAgB,EAAgB,MAAM,wCAAwC,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AACvG,aAAa;AACb,OAAO,EAAE,+CAA+C,EAAwC,MAAM,8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sCAAsC;QACxD,kBAAkB,EAAE,wCAAwC;KAC/D;IACD,cAAc,EAAE;QACZ,gBAAgB,EAAE,4CAA4C;KACjE;IACD,WAAW,EAAE;QACT,gBAAgB,EAAE,yCAAyC;KAC9D;IACD,eAAe,EAAE;QACb,gBAAgB,EAAE,6CAA6C;QAC/D,kBAAkB,EAAE,+CAA+C;KACtE;IACD,IAAI,EAAE;QACF,gBAAgB,EAAE,kCAAkC;QACpD,kBAAkB,EAAE,oCAAoC;KAC3D;IACD,SAAS,EAAE;QACP,gBAAgB,EAAE,uCAAuC;KAC5D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAqB;IACvE,MAAM,EAAE;QACJ,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,mCAAmC;QACzD,qBAAqB,EAAE,iDAAiD;KAC3E;IACD,KAAK,EAAE;QACH,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,mCAAmC;QACzD,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,gBAAgB;QACvC,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -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/primaryChannel/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,EAA8P,KAAK,gBAAgB,EAAE,KAAK,qCAAqC,EAAE,KAAK,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAIhZ,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS,MAAM,WAAW,kBAAmB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACnF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACrC;;OAEG;IACH,MAAM,CAAC,EAAE,kBAAkB,EAAE,GAAG,IAAI,CAAC;CACxC;AACD,MAAM,WAAW,eAAgB,SAAQ,qCAAqC,EAAE,QAAQ;IACpF;;OAEG;IACH,KA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2B,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,sEAAsE,CAAC;AAChH;;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/primaryChannel/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,8CA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BAA6B,CAAmB,OAAO,EAAE,eAAe,CAAC,KAAK,EAAE,yBAAyB,CAAC,CAAC;IACtH,CAAC;AACL,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,mEAAmE,CAAC;AAChH;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAqB;IAC/D,IAAI,EAAE;QACF,WAAW,EAAE,4BAA4B;QACzC,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,2CAA2C;QACjE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
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/primaryChannel/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,+FAA+F,CAAC;AAQ3I;;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/primaryChannel/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,4FAA4F,CAAC;AAC3I;;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"}
|