@microsoft/msgraph-sdk-teams 1.0.0-preview.79 → 1.0.0-preview.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/teams/item/channels/item/enabledApps/count/index.d.ts +41 -0
- package/teams/item/channels/item/enabledApps/count/index.d.ts.map +1 -0
- package/teams/item/channels/item/enabledApps/count/index.js +34 -0
- package/teams/item/channels/item/enabledApps/count/index.js.map +1 -0
- package/teams/item/channels/item/enabledApps/index.d.ts +83 -0
- package/teams/item/channels/item/enabledApps/index.d.ts.map +1 -0
- package/teams/item/channels/item/enabledApps/index.js +58 -0
- package/teams/item/channels/item/enabledApps/index.js.map +1 -0
- package/teams/item/channels/item/enabledApps/item/index.d.ts +43 -0
- package/teams/item/channels/item/enabledApps/item/index.d.ts.map +1 -0
- package/teams/item/channels/item/enabledApps/item/index.js +36 -0
- package/teams/item/channels/item/enabledApps/item/index.js.map +1 -0
- package/teams/item/channels/item/index.d.ts +10 -0
- package/teams/item/channels/item/index.d.ts.map +1 -1
- package/teams/item/channels/item/index.js +11 -0
- package/teams/item/channels/item/index.js.map +1 -1
- package/teams/item/channels/item/messages/index.d.ts +5 -0
- package/teams/item/channels/item/messages/index.d.ts.map +1 -1
- package/teams/item/channels/item/messages/index.js +5 -0
- package/teams/item/channels/item/messages/index.js.map +1 -1
- package/teams/item/channels/item/messages/item/replies/index.d.ts +5 -0
- package/teams/item/channels/item/messages/item/replies/index.d.ts.map +1 -1
- package/teams/item/channels/item/messages/item/replies/index.js +5 -0
- package/teams/item/channels/item/messages/item/replies/index.js.map +1 -1
- package/teams/item/channels/item/messages/item/replies/replyWithQuote/index.d.ts +65 -0
- package/teams/item/channels/item/messages/item/replies/replyWithQuote/index.d.ts.map +1 -0
- package/teams/item/channels/item/messages/item/replies/replyWithQuote/index.js +68 -0
- package/teams/item/channels/item/messages/item/replies/replyWithQuote/index.js.map +1 -0
- package/teams/item/channels/item/messages/replyWithQuote/index.d.ts +65 -0
- package/teams/item/channels/item/messages/replyWithQuote/index.d.ts.map +1 -0
- package/teams/item/channels/item/messages/replyWithQuote/index.js +68 -0
- package/teams/item/channels/item/messages/replyWithQuote/index.js.map +1 -0
- package/teams/item/channels/item/startMigration/index.d.ts +58 -0
- package/teams/item/channels/item/startMigration/index.d.ts.map +1 -0
- package/teams/item/channels/item/startMigration/index.js +63 -0
- package/teams/item/channels/item/startMigration/index.js.map +1 -0
- package/teams/item/primaryChannel/enabledApps/count/index.d.ts +41 -0
- package/teams/item/primaryChannel/enabledApps/count/index.d.ts.map +1 -0
- package/teams/item/primaryChannel/enabledApps/count/index.js +34 -0
- package/teams/item/primaryChannel/enabledApps/count/index.js.map +1 -0
- package/teams/item/primaryChannel/enabledApps/index.d.ts +82 -0
- package/teams/item/primaryChannel/enabledApps/index.d.ts.map +1 -0
- package/teams/item/primaryChannel/enabledApps/index.js +58 -0
- package/teams/item/primaryChannel/enabledApps/index.js.map +1 -0
- package/teams/item/primaryChannel/enabledApps/item/index.d.ts +42 -0
- package/teams/item/primaryChannel/enabledApps/item/index.d.ts.map +1 -0
- package/teams/item/primaryChannel/enabledApps/item/index.js +36 -0
- package/teams/item/primaryChannel/enabledApps/item/index.js.map +1 -0
- package/teams/item/primaryChannel/index.d.ts +10 -0
- package/teams/item/primaryChannel/index.d.ts.map +1 -1
- package/teams/item/primaryChannel/index.js +11 -0
- package/teams/item/primaryChannel/index.js.map +1 -1
- package/teams/item/primaryChannel/messages/index.d.ts +5 -0
- package/teams/item/primaryChannel/messages/index.d.ts.map +1 -1
- package/teams/item/primaryChannel/messages/index.js +5 -0
- package/teams/item/primaryChannel/messages/index.js.map +1 -1
- package/teams/item/primaryChannel/messages/item/replies/index.d.ts +5 -0
- package/teams/item/primaryChannel/messages/item/replies/index.d.ts.map +1 -1
- package/teams/item/primaryChannel/messages/item/replies/index.js +5 -0
- package/teams/item/primaryChannel/messages/item/replies/index.js.map +1 -1
- package/teams/item/primaryChannel/messages/item/replies/replyWithQuote/index.d.ts +65 -0
- package/teams/item/primaryChannel/messages/item/replies/replyWithQuote/index.d.ts.map +1 -0
- package/teams/item/primaryChannel/messages/item/replies/replyWithQuote/index.js +68 -0
- package/teams/item/primaryChannel/messages/item/replies/replyWithQuote/index.js.map +1 -0
- package/teams/item/primaryChannel/messages/replyWithQuote/index.d.ts +65 -0
- package/teams/item/primaryChannel/messages/replyWithQuote/index.d.ts.map +1 -0
- package/teams/item/primaryChannel/messages/replyWithQuote/index.js +68 -0
- package/teams/item/primaryChannel/messages/replyWithQuote/index.js.map +1 -0
- package/teams/item/primaryChannel/startMigration/index.d.ts +58 -0
- package/teams/item/primaryChannel/startMigration/index.d.ts.map +1 -0
- package/teams/item/primaryChannel/startMigration/index.js +63 -0
- package/teams/item/primaryChannel/startMigration/index.js.map +1 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { type ChatMessage } 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 {ReplyWithQuotePostRequestBody}
|
|
7
|
+
*/
|
|
8
|
+
export declare function createReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
9
|
+
/**
|
|
10
|
+
* The deserialization information for the current model
|
|
11
|
+
* @param ReplyWithQuotePostRequestBody The instance to deserialize into.
|
|
12
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
13
|
+
*/
|
|
14
|
+
export declare function deserializeIntoReplyWithQuotePostRequestBody(replyWithQuotePostRequestBody?: Partial<ReplyWithQuotePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
15
|
+
export interface ReplyWithQuotePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
16
|
+
/**
|
|
17
|
+
* Stores model information.
|
|
18
|
+
*/
|
|
19
|
+
backingStoreEnabled?: boolean | null;
|
|
20
|
+
/**
|
|
21
|
+
* The messageIds property
|
|
22
|
+
*/
|
|
23
|
+
messageIds?: string[] | null;
|
|
24
|
+
/**
|
|
25
|
+
* The replyMessage property
|
|
26
|
+
*/
|
|
27
|
+
replyMessage?: ChatMessage | null;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Provides operations to call the replyWithQuote method.
|
|
31
|
+
*/
|
|
32
|
+
export interface ReplyWithQuoteRequestBuilder extends BaseRequestBuilder<ReplyWithQuoteRequestBuilder> {
|
|
33
|
+
/**
|
|
34
|
+
* Reply with quote to a single chat message or multiple chat messages in a chat.
|
|
35
|
+
* @param body The request body
|
|
36
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
* @returns {Promise<ChatMessage>}
|
|
38
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
39
|
+
* @see {@link https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0|Find more info here}
|
|
40
|
+
*/
|
|
41
|
+
post(body: ReplyWithQuotePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ChatMessage | undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* Reply with quote to a single chat message or multiple chat messages in a chat.
|
|
44
|
+
* @param body The request body
|
|
45
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
46
|
+
* @returns {RequestInformation}
|
|
47
|
+
*/
|
|
48
|
+
toPostRequestInformation(body: ReplyWithQuotePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Serializes information the current object
|
|
52
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
53
|
+
* @param ReplyWithQuotePostRequestBody The instance to serialize from.
|
|
54
|
+
* @param writer Serialization writer to use to serialize this model
|
|
55
|
+
*/
|
|
56
|
+
export declare function serializeReplyWithQuotePostRequestBody(writer: SerializationWriter, replyWithQuotePostRequestBody?: Partial<ReplyWithQuotePostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
57
|
+
/**
|
|
58
|
+
* Uri template for the request builder.
|
|
59
|
+
*/
|
|
60
|
+
export declare const ReplyWithQuoteRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote";
|
|
61
|
+
/**
|
|
62
|
+
* Metadata for all the requests in the request builder.
|
|
63
|
+
*/
|
|
64
|
+
export declare const ReplyWithQuoteRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
65
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiE,KAAK,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAIzI,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;;;;GAIG;AAEH,wBAAgB,yDAAyD,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,CAEjL;AACD;;;;GAIG;AAEH,wBAAgB,4CAA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
import { createChatMessageFromDiscriminatorValue, serializeChatMessage } 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 {ReplyWithQuotePostRequestBody}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoReplyWithQuotePostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @param ReplyWithQuotePostRequestBody The instance to deserialize into.
|
|
20
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
21
|
+
*/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export function deserializeIntoReplyWithQuotePostRequestBody(replyWithQuotePostRequestBody = {}) {
|
|
24
|
+
return {
|
|
25
|
+
"backingStoreEnabled": n => { replyWithQuotePostRequestBody.backingStoreEnabled = true; },
|
|
26
|
+
"messageIds": n => { replyWithQuotePostRequestBody.messageIds = n.getCollectionOfPrimitiveValues(); },
|
|
27
|
+
"replyMessage": n => { replyWithQuotePostRequestBody.replyMessage = n.getObjectValue(createChatMessageFromDiscriminatorValue); },
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Serializes information the current object
|
|
32
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
33
|
+
* @param ReplyWithQuotePostRequestBody The instance to serialize from.
|
|
34
|
+
* @param writer Serialization writer to use to serialize this model
|
|
35
|
+
*/
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
export function serializeReplyWithQuotePostRequestBody(writer, replyWithQuotePostRequestBody = {}, isSerializingDerivedType = false) {
|
|
38
|
+
if (!replyWithQuotePostRequestBody || isSerializingDerivedType) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
writer.writeCollectionOfPrimitiveValues("messageIds", replyWithQuotePostRequestBody.messageIds);
|
|
42
|
+
writer.writeObjectValue("replyMessage", replyWithQuotePostRequestBody.replyMessage, serializeChatMessage);
|
|
43
|
+
writer.writeAdditionalData(replyWithQuotePostRequestBody.additionalData);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Uri template for the request builder.
|
|
47
|
+
*/
|
|
48
|
+
export const ReplyWithQuoteRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote";
|
|
49
|
+
/**
|
|
50
|
+
* Metadata for all the requests in the request builder.
|
|
51
|
+
*/
|
|
52
|
+
export const ReplyWithQuoteRequestBuilderRequestsMetadata = {
|
|
53
|
+
post: {
|
|
54
|
+
uriTemplate: ReplyWithQuoteRequestBuilderUriTemplate,
|
|
55
|
+
responseBodyContentType: "application/json",
|
|
56
|
+
errorMappings: {
|
|
57
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
58
|
+
},
|
|
59
|
+
adapterMethodName: "send",
|
|
60
|
+
responseBodyFactory: createChatMessageFromDiscriminatorValue,
|
|
61
|
+
requestBodyContentType: "application/json",
|
|
62
|
+
requestBodySerializer: serializeReplyWithQuotePostRequestBody,
|
|
63
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
/* tslint:enable */
|
|
67
|
+
/* eslint-enable */
|
|
68
|
+
//# 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,uCAAuC,EAAE,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E,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,uCAAuC;QAC7D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,sCAAsC;QAC7D,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { type ChatMessage } 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 {ReplyWithQuotePostRequestBody}
|
|
7
|
+
*/
|
|
8
|
+
export declare function createReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
9
|
+
/**
|
|
10
|
+
* The deserialization information for the current model
|
|
11
|
+
* @param ReplyWithQuotePostRequestBody The instance to deserialize into.
|
|
12
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
13
|
+
*/
|
|
14
|
+
export declare function deserializeIntoReplyWithQuotePostRequestBody(replyWithQuotePostRequestBody?: Partial<ReplyWithQuotePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
15
|
+
export interface ReplyWithQuotePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
16
|
+
/**
|
|
17
|
+
* Stores model information.
|
|
18
|
+
*/
|
|
19
|
+
backingStoreEnabled?: boolean | null;
|
|
20
|
+
/**
|
|
21
|
+
* The messageIds property
|
|
22
|
+
*/
|
|
23
|
+
messageIds?: string[] | null;
|
|
24
|
+
/**
|
|
25
|
+
* The replyMessage property
|
|
26
|
+
*/
|
|
27
|
+
replyMessage?: ChatMessage | null;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Provides operations to call the replyWithQuote method.
|
|
31
|
+
*/
|
|
32
|
+
export interface ReplyWithQuoteRequestBuilder extends BaseRequestBuilder<ReplyWithQuoteRequestBuilder> {
|
|
33
|
+
/**
|
|
34
|
+
* Reply with quote to a single chat message or multiple chat messages in a chat.
|
|
35
|
+
* @param body The request body
|
|
36
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
* @returns {Promise<ChatMessage>}
|
|
38
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
39
|
+
* @see {@link https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0|Find more info here}
|
|
40
|
+
*/
|
|
41
|
+
post(body: ReplyWithQuotePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ChatMessage | undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* Reply with quote to a single chat message or multiple chat messages in a chat.
|
|
44
|
+
* @param body The request body
|
|
45
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
46
|
+
* @returns {RequestInformation}
|
|
47
|
+
*/
|
|
48
|
+
toPostRequestInformation(body: ReplyWithQuotePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Serializes information the current object
|
|
52
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
53
|
+
* @param ReplyWithQuotePostRequestBody The instance to serialize from.
|
|
54
|
+
* @param writer Serialization writer to use to serialize this model
|
|
55
|
+
*/
|
|
56
|
+
export declare function serializeReplyWithQuotePostRequestBody(writer: SerializationWriter, replyWithQuotePostRequestBody?: Partial<ReplyWithQuotePostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
57
|
+
/**
|
|
58
|
+
* Uri template for the request builder.
|
|
59
|
+
*/
|
|
60
|
+
export declare const ReplyWithQuoteRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/replyWithQuote";
|
|
61
|
+
/**
|
|
62
|
+
* Metadata for all the requests in the request builder.
|
|
63
|
+
*/
|
|
64
|
+
export declare const ReplyWithQuoteRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
65
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiE,KAAK,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAIzI,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;;;;GAIG;AAEH,wBAAgB,yDAAyD,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,CAEjL;AACD;;;;GAIG;AAEH,wBAAgB,4CAA4C,CAAC,6BAA6B,GAAE,OAAO,CAAC,6BAA6B,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAM/L;AACD,MAAM,WAAW,6BAA8B,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAC9F;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACrC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC7B;;OAEG;IACH,YAAY,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CACrC;AACD;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,kBAAkB,CAAC,4BAA4B,CAAC;IAClG;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC/I;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxJ;AACD;;;;;GAKG;AAEH,wBAAgB,sCAAsC,CAAC,MAAM,EAAE,mBAAmB,EAAE,6BAA6B,GAAE,OAAO,CAAC,6BAA6B,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAKnO;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,iFAAiF,CAAC;AACtI;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAa1D,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createChatMessageFromDiscriminatorValue, serializeChatMessage } 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 {ReplyWithQuotePostRequestBody}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoReplyWithQuotePostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @param ReplyWithQuotePostRequestBody The instance to deserialize into.
|
|
20
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
21
|
+
*/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export function deserializeIntoReplyWithQuotePostRequestBody(replyWithQuotePostRequestBody = {}) {
|
|
24
|
+
return {
|
|
25
|
+
"backingStoreEnabled": n => { replyWithQuotePostRequestBody.backingStoreEnabled = true; },
|
|
26
|
+
"messageIds": n => { replyWithQuotePostRequestBody.messageIds = n.getCollectionOfPrimitiveValues(); },
|
|
27
|
+
"replyMessage": n => { replyWithQuotePostRequestBody.replyMessage = n.getObjectValue(createChatMessageFromDiscriminatorValue); },
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Serializes information the current object
|
|
32
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
33
|
+
* @param ReplyWithQuotePostRequestBody The instance to serialize from.
|
|
34
|
+
* @param writer Serialization writer to use to serialize this model
|
|
35
|
+
*/
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
export function serializeReplyWithQuotePostRequestBody(writer, replyWithQuotePostRequestBody = {}, isSerializingDerivedType = false) {
|
|
38
|
+
if (!replyWithQuotePostRequestBody || isSerializingDerivedType) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
writer.writeCollectionOfPrimitiveValues("messageIds", replyWithQuotePostRequestBody.messageIds);
|
|
42
|
+
writer.writeObjectValue("replyMessage", replyWithQuotePostRequestBody.replyMessage, serializeChatMessage);
|
|
43
|
+
writer.writeAdditionalData(replyWithQuotePostRequestBody.additionalData);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Uri template for the request builder.
|
|
47
|
+
*/
|
|
48
|
+
export const ReplyWithQuoteRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/replyWithQuote";
|
|
49
|
+
/**
|
|
50
|
+
* Metadata for all the requests in the request builder.
|
|
51
|
+
*/
|
|
52
|
+
export const ReplyWithQuoteRequestBuilderRequestsMetadata = {
|
|
53
|
+
post: {
|
|
54
|
+
uriTemplate: ReplyWithQuoteRequestBuilderUriTemplate,
|
|
55
|
+
responseBodyContentType: "application/json",
|
|
56
|
+
errorMappings: {
|
|
57
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
58
|
+
},
|
|
59
|
+
adapterMethodName: "send",
|
|
60
|
+
responseBodyFactory: createChatMessageFromDiscriminatorValue,
|
|
61
|
+
requestBodyContentType: "application/json",
|
|
62
|
+
requestBodySerializer: serializeReplyWithQuotePostRequestBody,
|
|
63
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
/* tslint:enable */
|
|
67
|
+
/* eslint-enable */
|
|
68
|
+
//# 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,uCAAuC,EAAE,oBAAoB,EAAoB,MAAM,wCAAwC,CAAC;AACzI,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAI7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,yDAAyD,CAAC,SAAgC;IACtG,OAAO,4CAA4C,CAAC;AACxD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,4CAA4C,CAAC,gCAAoF,EAAE;IAC/I,OAAO;QACH,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0,0 +1,58 @@
|
|
|
1
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
4
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
5
|
+
* @returns {StartMigrationPostRequestBody}
|
|
6
|
+
*/
|
|
7
|
+
export declare function createStartMigrationPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
8
|
+
/**
|
|
9
|
+
* The deserialization information for the current model
|
|
10
|
+
* @param StartMigrationPostRequestBody The instance to deserialize into.
|
|
11
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
12
|
+
*/
|
|
13
|
+
export declare function deserializeIntoStartMigrationPostRequestBody(startMigrationPostRequestBody?: Partial<StartMigrationPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
14
|
+
/**
|
|
15
|
+
* Serializes information the current object
|
|
16
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
17
|
+
* @param StartMigrationPostRequestBody The instance to serialize from.
|
|
18
|
+
* @param writer Serialization writer to use to serialize this model
|
|
19
|
+
*/
|
|
20
|
+
export declare function serializeStartMigrationPostRequestBody(writer: SerializationWriter, startMigrationPostRequestBody?: Partial<StartMigrationPostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
21
|
+
export interface StartMigrationPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
22
|
+
/**
|
|
23
|
+
* Stores model information.
|
|
24
|
+
*/
|
|
25
|
+
backingStoreEnabled?: boolean | null;
|
|
26
|
+
/**
|
|
27
|
+
* The conversationCreationDateTime property
|
|
28
|
+
*/
|
|
29
|
+
conversationCreationDateTime?: Date | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Provides operations to call the startMigration method.
|
|
33
|
+
*/
|
|
34
|
+
export interface StartMigrationRequestBuilder extends BaseRequestBuilder<StartMigrationRequestBuilder> {
|
|
35
|
+
/**
|
|
36
|
+
* Invoke action startMigration
|
|
37
|
+
* @param body The request body
|
|
38
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
40
|
+
*/
|
|
41
|
+
post(body: StartMigrationPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
42
|
+
/**
|
|
43
|
+
* Invoke action startMigration
|
|
44
|
+
* @param body The request body
|
|
45
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
46
|
+
* @returns {RequestInformation}
|
|
47
|
+
*/
|
|
48
|
+
toPostRequestInformation(body: StartMigrationPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Uri template for the request builder.
|
|
52
|
+
*/
|
|
53
|
+
export declare const StartMigrationRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/startMigration";
|
|
54
|
+
/**
|
|
55
|
+
* Metadata for all the requests in the request builder.
|
|
56
|
+
*/
|
|
57
|
+
export declare const StartMigrationRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
58
|
+
//# 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,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,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A4C,EAAE,gBAY1D,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
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
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
8
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
9
|
+
* @returns {StartMigrationPostRequestBody}
|
|
10
|
+
*/
|
|
11
|
+
// @ts-ignore
|
|
12
|
+
export function createStartMigrationPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
13
|
+
return deserializeIntoStartMigrationPostRequestBody;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The deserialization information for the current model
|
|
17
|
+
* @param StartMigrationPostRequestBody The instance to deserialize into.
|
|
18
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
19
|
+
*/
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
export function deserializeIntoStartMigrationPostRequestBody(startMigrationPostRequestBody = {}) {
|
|
22
|
+
return {
|
|
23
|
+
"backingStoreEnabled": n => { startMigrationPostRequestBody.backingStoreEnabled = true; },
|
|
24
|
+
"conversationCreationDateTime": n => { startMigrationPostRequestBody.conversationCreationDateTime = n.getDateValue(); },
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Serializes information the current object
|
|
29
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
30
|
+
* @param StartMigrationPostRequestBody The instance to serialize from.
|
|
31
|
+
* @param writer Serialization writer to use to serialize this model
|
|
32
|
+
*/
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
export function serializeStartMigrationPostRequestBody(writer, startMigrationPostRequestBody = {}, isSerializingDerivedType = false) {
|
|
35
|
+
if (!startMigrationPostRequestBody || isSerializingDerivedType) {
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
writer.writeDateValue("conversationCreationDateTime", startMigrationPostRequestBody.conversationCreationDateTime);
|
|
39
|
+
writer.writeAdditionalData(startMigrationPostRequestBody.additionalData);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Uri template for the request builder.
|
|
43
|
+
*/
|
|
44
|
+
export const StartMigrationRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/startMigration";
|
|
45
|
+
/**
|
|
46
|
+
* Metadata for all the requests in the request builder.
|
|
47
|
+
*/
|
|
48
|
+
export const StartMigrationRequestBuilderRequestsMetadata = {
|
|
49
|
+
post: {
|
|
50
|
+
uriTemplate: StartMigrationRequestBuilderUriTemplate,
|
|
51
|
+
responseBodyContentType: "application/json",
|
|
52
|
+
errorMappings: {
|
|
53
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
54
|
+
},
|
|
55
|
+
adapterMethodName: "sendNoResponseContent",
|
|
56
|
+
requestBodyContentType: "application/json",
|
|
57
|
+
requestBodySerializer: serializeStartMigrationPostRequestBody,
|
|
58
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
59
|
+
},
|
|
60
|
+
};
|
|
61
|
+
/* tslint:enable */
|
|
62
|
+
/* eslint-enable */
|
|
63
|
+
//# 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;AAI7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,yDAAyD,CAAC,SAAgC;IACtG,OAAO,4CAA4C,CAAC;AACxD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,4CAA4C,CAAC,gCAAoF,EAAE;IAC/I,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,6BAA6B,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QACzF,8BAA8B,EAAE,CAAC,CAAC,EAAE,GAAG,6BAA6B,CAAC,4BAA4B,GAAG,CAAC,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC;KAC1H,CAAA;AACL,CAAC;AACD;;;;;GAKG;AACH,aAAa;AACb,MAAM,UAAU,sCAAsC,CAAC,MAA2B,EAAE,gCAA2F,EAAE,EAAE,2BAAoC,KAAK;IACxN,IAAI,CAAC,6BAA6B,IAAI,wBAAwB,EAAE,CAAC;QAAC,OAAO;IAAC,CAAC;IAC3E,MAAM,CAAC,cAAc,CAAC,8BAA8B,EAAE,6BAA6B,CAAC,4BAA4B,CAAC,CAAC;IAClH,MAAM,CAAC,mBAAmB,CAAC,6BAA6B,CAAC,cAAc,CAAC,CAAC;AAC7E,CAAC;AA8BD;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,qEAAqE,CAAC;AAC7H;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAqB;IAC1E,IAAI,EAAE;QACF,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;QAC1C,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,sCAAsC;QAC7D,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}/teams/{team%2Did}/primaryChannel/enabledApps/$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,yFAAyF,CAAC;AAQrI;;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}/teams/{team%2Did}/primaryChannel/enabledApps/$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,sFAAsF,CAAC;AACrI;;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,82 @@
|
|
|
1
|
+
import { type TeamsAppCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type CountRequestBuilder } from './count/index.js';
|
|
3
|
+
import { type TeamsAppItemRequestBuilder } from './item/index.js';
|
|
4
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
|
+
/**
|
|
6
|
+
* Provides operations to manage the enabledApps property of the microsoft.graph.channel entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface EnabledAppsRequestBuilder extends BaseRequestBuilder<EnabledAppsRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the enabledApps property of the microsoft.graph.channel entity.
|
|
15
|
+
* @param teamsAppId The unique identifier of teamsApp
|
|
16
|
+
* @returns {TeamsAppItemRequestBuilder}
|
|
17
|
+
*/
|
|
18
|
+
byTeamsAppId(teamsAppId: string): TeamsAppItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of enabled apps in the channel.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns {Promise<TeamsAppCollectionResponse>}
|
|
23
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
*/
|
|
25
|
+
get(requestConfiguration?: RequestConfiguration<EnabledAppsRequestBuilderGetQueryParameters> | undefined): Promise<TeamsAppCollectionResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* A collection of enabled apps in the channel.
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns {RequestInformation}
|
|
30
|
+
*/
|
|
31
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<EnabledAppsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A collection of enabled apps in the channel.
|
|
35
|
+
*/
|
|
36
|
+
export interface EnabledAppsRequestBuilderGetQueryParameters {
|
|
37
|
+
/**
|
|
38
|
+
* Include count of items
|
|
39
|
+
*/
|
|
40
|
+
count?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Expand related entities
|
|
43
|
+
*/
|
|
44
|
+
expand?: string[];
|
|
45
|
+
/**
|
|
46
|
+
* Filter items by property values
|
|
47
|
+
*/
|
|
48
|
+
filter?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Order items by property values
|
|
51
|
+
*/
|
|
52
|
+
orderby?: string[];
|
|
53
|
+
/**
|
|
54
|
+
* Search items by search phrases
|
|
55
|
+
*/
|
|
56
|
+
search?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Select properties to be returned
|
|
59
|
+
*/
|
|
60
|
+
select?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* Skip the first n items
|
|
63
|
+
*/
|
|
64
|
+
skip?: number;
|
|
65
|
+
/**
|
|
66
|
+
* Show only the first n items
|
|
67
|
+
*/
|
|
68
|
+
top?: number;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Uri template for the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const EnabledAppsRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}/primaryChannel/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
74
|
+
/**
|
|
75
|
+
* Metadata for all the navigation properties in the request builder.
|
|
76
|
+
*/
|
|
77
|
+
export declare const EnabledAppsRequestBuilderNavigationMetadata: Record<Exclude<keyof EnabledAppsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
78
|
+
/**
|
|
79
|
+
* Metadata for all the requests in the request builder.
|
|
80
|
+
*/
|
|
81
|
+
export declare const EnabledAppsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
82
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts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