@microsoft/msgraph-sdk-teams 1.0.0-preview.21 → 1.0.0-preview.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/teams/item/allChannels/index.d.ts +4 -3
- package/teams/item/allChannels/index.d.ts.map +1 -1
- package/teams/item/channels/index.d.ts +7 -5
- package/teams/item/channels/index.d.ts.map +1 -1
- package/teams/item/channels/item/filesFolder/content/index.d.ts +12 -0
- package/teams/item/channels/item/filesFolder/content/index.d.ts.map +1 -1
- package/teams/item/channels/item/filesFolder/content/index.js +8 -0
- package/teams/item/channels/item/filesFolder/index.d.ts +4 -3
- package/teams/item/channels/item/filesFolder/index.d.ts.map +1 -1
- package/teams/item/channels/item/index.d.ts +10 -7
- package/teams/item/channels/item/index.d.ts.map +1 -1
- package/teams/item/channels/item/members/index.d.ts +7 -5
- package/teams/item/channels/item/members/index.d.ts.map +1 -1
- package/teams/item/channels/item/members/item/index.d.ts +10 -7
- package/teams/item/channels/item/members/item/index.d.ts.map +1 -1
- package/teams/item/channels/item/messages/index.d.ts +7 -5
- package/teams/item/channels/item/messages/index.d.ts.map +1 -1
- package/teams/item/channels/item/messages/item/hostedContents/item/value/index.d.ts +19 -16
- package/teams/item/channels/item/messages/item/hostedContents/item/value/index.d.ts.map +1 -1
- package/teams/item/channels/item/messages/item/hostedContents/item/value/index.js +9 -8
- package/teams/item/channels/item/messages/item/index.d.ts +7 -5
- package/teams/item/channels/item/messages/item/index.d.ts.map +1 -1
- package/teams/item/channels/item/messages/item/replies/item/hostedContents/item/value/index.d.ts +19 -16
- package/teams/item/channels/item/messages/item/replies/item/hostedContents/item/value/index.d.ts.map +1 -1
- package/teams/item/channels/item/messages/item/replies/item/hostedContents/item/value/index.js +9 -8
- package/teams/item/channels/item/sharedWithTeams/index.d.ts +4 -3
- package/teams/item/channels/item/sharedWithTeams/index.d.ts.map +1 -1
- package/teams/item/channels/item/sharedWithTeams/item/index.d.ts +7 -5
- package/teams/item/channels/item/sharedWithTeams/item/index.d.ts.map +1 -1
- package/teams/item/channels/item/tabs/index.d.ts +7 -5
- package/teams/item/channels/item/tabs/index.d.ts.map +1 -1
- package/teams/item/channels/item/tabs/item/index.d.ts +10 -7
- package/teams/item/channels/item/tabs/item/index.d.ts.map +1 -1
- package/teams/item/incomingChannels/index.d.ts +4 -3
- package/teams/item/incomingChannels/index.d.ts.map +1 -1
- package/teams/item/installedApps/index.d.ts +7 -5
- package/teams/item/installedApps/index.d.ts.map +1 -1
- package/teams/item/installedApps/item/index.d.ts +7 -5
- package/teams/item/installedApps/item/index.d.ts.map +1 -1
- package/teams/item/members/index.d.ts +7 -5
- package/teams/item/members/index.d.ts.map +1 -1
- package/teams/item/members/item/index.d.ts +10 -7
- package/teams/item/members/item/index.d.ts.map +1 -1
- package/teams/item/permissionGrants/index.d.ts +4 -3
- package/teams/item/permissionGrants/index.d.ts.map +1 -1
- package/teams/item/photo/index.d.ts +7 -5
- package/teams/item/photo/index.d.ts.map +1 -1
- package/teams/item/photo/value/index.d.ts +19 -16
- package/teams/item/photo/value/index.d.ts.map +1 -1
- package/teams/item/photo/value/index.js +9 -8
- package/teams/item/primaryChannel/filesFolder/content/index.d.ts +12 -0
- package/teams/item/primaryChannel/filesFolder/content/index.d.ts.map +1 -1
- package/teams/item/primaryChannel/filesFolder/content/index.js +8 -0
- package/teams/item/primaryChannel/index.d.ts +4 -3
- package/teams/item/primaryChannel/index.d.ts.map +1 -1
- package/teams/item/primaryChannel/messages/item/hostedContents/item/value/index.d.ts +19 -16
- package/teams/item/primaryChannel/messages/item/hostedContents/item/value/index.d.ts.map +1 -1
- package/teams/item/primaryChannel/messages/item/hostedContents/item/value/index.js +9 -8
- package/teams/item/primaryChannel/messages/item/replies/item/hostedContents/item/value/index.d.ts +19 -16
- package/teams/item/primaryChannel/messages/item/replies/item/hostedContents/item/value/index.d.ts.map +1 -1
- package/teams/item/primaryChannel/messages/item/replies/item/hostedContents/item/value/index.js +9 -8
- package/teams/item/schedule/index.d.ts +7 -5
- package/teams/item/schedule/index.d.ts.map +1 -1
- package/teams/item/schedule/offerShiftRequests/index.d.ts +7 -5
- package/teams/item/schedule/offerShiftRequests/index.d.ts.map +1 -1
- package/teams/item/schedule/offerShiftRequests/item/index.d.ts +4 -3
- package/teams/item/schedule/offerShiftRequests/item/index.d.ts.map +1 -1
- package/teams/item/schedule/openShiftChangeRequests/index.d.ts +7 -5
- package/teams/item/schedule/openShiftChangeRequests/index.d.ts.map +1 -1
- package/teams/item/schedule/openShiftChangeRequests/item/index.d.ts +4 -3
- package/teams/item/schedule/openShiftChangeRequests/item/index.d.ts.map +1 -1
- package/teams/item/schedule/openShifts/index.d.ts +7 -5
- package/teams/item/schedule/openShifts/index.d.ts.map +1 -1
- package/teams/item/schedule/openShifts/item/index.d.ts +10 -7
- package/teams/item/schedule/openShifts/item/index.d.ts.map +1 -1
- package/teams/item/schedule/schedulingGroups/index.d.ts +7 -5
- package/teams/item/schedule/schedulingGroups/index.d.ts.map +1 -1
- package/teams/item/schedule/schedulingGroups/item/index.d.ts +10 -7
- package/teams/item/schedule/schedulingGroups/item/index.d.ts.map +1 -1
- package/teams/item/schedule/shifts/index.d.ts +7 -5
- package/teams/item/schedule/shifts/index.d.ts.map +1 -1
- package/teams/item/schedule/shifts/item/index.d.ts +10 -7
- package/teams/item/schedule/shifts/item/index.d.ts.map +1 -1
- package/teams/item/schedule/swapShiftsChangeRequests/index.d.ts +7 -5
- package/teams/item/schedule/swapShiftsChangeRequests/index.d.ts.map +1 -1
- package/teams/item/schedule/swapShiftsChangeRequests/item/index.d.ts +4 -3
- package/teams/item/schedule/swapShiftsChangeRequests/item/index.d.ts.map +1 -1
- package/teams/item/schedule/timeOffReasons/index.d.ts +7 -5
- package/teams/item/schedule/timeOffReasons/index.d.ts.map +1 -1
- package/teams/item/schedule/timeOffReasons/item/index.d.ts +10 -7
- package/teams/item/schedule/timeOffReasons/item/index.d.ts.map +1 -1
- package/teams/item/schedule/timeOffRequests/index.d.ts +4 -3
- package/teams/item/schedule/timeOffRequests/index.d.ts.map +1 -1
- package/teams/item/schedule/timeOffRequests/item/index.d.ts +7 -5
- package/teams/item/schedule/timeOffRequests/item/index.d.ts.map +1 -1
- package/teams/item/schedule/timesOff/index.d.ts +7 -5
- package/teams/item/schedule/timesOff/index.d.ts.map +1 -1
- package/teams/item/schedule/timesOff/item/index.d.ts +10 -7
- package/teams/item/schedule/timesOff/item/index.d.ts.map +1 -1
- package/teams/item/tags/index.d.ts +7 -5
- package/teams/item/tags/index.d.ts.map +1 -1
- package/teams/item/tags/item/index.d.ts +10 -7
- package/teams/item/tags/item/index.d.ts.map +1 -1
- package/teams/item/tags/item/members/index.d.ts +7 -5
- package/teams/item/tags/item/members/index.d.ts.map +1 -1
- package/teams/item/tags/item/members/item/index.d.ts +7 -5
- package/teams/item/tags/item/members/item/index.d.ts.map +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/msgraph-sdk-teams",
|
|
3
|
-
"version": "1.0.0-preview.
|
|
3
|
+
"version": "1.0.0-preview.22",
|
|
4
4
|
"description": "Teams fluent API for Microsoft Graph",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Microsoft",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"@microsoft/kiota-serialization-json": "^1.0.0-preview.39",
|
|
38
38
|
"@microsoft/kiota-serialization-multipart": "^1.0.0-preview.18",
|
|
39
39
|
"@microsoft/kiota-serialization-text": "^1.0.0-preview.36",
|
|
40
|
-
"@microsoft/msgraph-sdk": "^1.0.0-preview.
|
|
40
|
+
"@microsoft/msgraph-sdk": "^1.0.0-preview.22",
|
|
41
41
|
"guid-typescript": "^1.0.9",
|
|
42
42
|
"tslib": "^2.6.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"typescript": "^5.3.3"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "d41363478d26ba2bcde02901bb2983793b286bdf"
|
|
48
48
|
}
|
|
@@ -17,21 +17,22 @@ export interface AllChannelsRequestBuilder extends BaseRequestBuilder<AllChannel
|
|
|
17
17
|
*/
|
|
18
18
|
byChannelId(channelId: string): ChannelItemRequestBuilder;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Get the list of channels either in this team or shared with this team (incoming channels).
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<ChannelCollectionResponse>}
|
|
23
23
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
* @see {@link https://learn.microsoft.com/graph/api/team-list-allchannels?view=graph-rest-1.0|Find more info here}
|
|
24
25
|
*/
|
|
25
26
|
get(requestConfiguration?: RequestConfiguration<AllChannelsRequestBuilderGetQueryParameters> | undefined): Promise<ChannelCollectionResponse | undefined>;
|
|
26
27
|
/**
|
|
27
|
-
*
|
|
28
|
+
* Get the list of channels either in this team or shared with this team (incoming channels).
|
|
28
29
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
30
|
* @returns {RequestInformation}
|
|
30
31
|
*/
|
|
31
32
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AllChannelsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
32
33
|
}
|
|
33
34
|
/**
|
|
34
|
-
*
|
|
35
|
+
* Get the list of channels either in this team or shared with this team (incoming channels).
|
|
35
36
|
*/
|
|
36
37
|
export interface AllChannelsRequestBuilderGetQueryParameters {
|
|
37
38
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyD,KAAK,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAIvI,OAAO,EAAuC,KAAK,mBAAmB,EAAE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B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2CAA2C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACvJ;AACD;;GAEG;AACH,MAAM,WAAW,2CAA2C;IACxD;;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,oCAAoC,0HAA0H,CAAC;AAc5K;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQhK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAWvD,CAAC"}
|
|
@@ -22,28 +22,30 @@ export interface ChannelsRequestBuilder extends BaseRequestBuilder<ChannelsReque
|
|
|
22
22
|
*/
|
|
23
23
|
byChannelId(channelId: string): ChannelItemRequestBuilder;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Retrieve the list of channels in this team.
|
|
26
26
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
27
|
* @returns {Promise<ChannelCollectionResponse>}
|
|
28
28
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
29
|
+
* @see {@link https://learn.microsoft.com/graph/api/channel-list?view=graph-rest-1.0|Find more info here}
|
|
29
30
|
*/
|
|
30
31
|
get(requestConfiguration?: RequestConfiguration<ChannelsRequestBuilderGetQueryParameters> | undefined): Promise<ChannelCollectionResponse | undefined>;
|
|
31
32
|
/**
|
|
32
|
-
* Create new
|
|
33
|
+
* Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. If you're creating a private channel, you can add a maximum of 200 members.
|
|
33
34
|
* @param body The request body
|
|
34
35
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
36
|
* @returns {Promise<Channel>}
|
|
36
37
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
38
|
+
* @see {@link https://learn.microsoft.com/graph/api/channel-post?view=graph-rest-1.0|Find more info here}
|
|
37
39
|
*/
|
|
38
40
|
post(body: Channel, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Channel | undefined>;
|
|
39
41
|
/**
|
|
40
|
-
*
|
|
42
|
+
* Retrieve the list of channels in this team.
|
|
41
43
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
44
|
* @returns {RequestInformation}
|
|
43
45
|
*/
|
|
44
46
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ChannelsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
45
47
|
/**
|
|
46
|
-
* Create new
|
|
48
|
+
* Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. If you're creating a private channel, you can add a maximum of 200 members.
|
|
47
49
|
* @param body The request body
|
|
48
50
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
51
|
* @returns {RequestInformation}
|
|
@@ -51,7 +53,7 @@ export interface ChannelsRequestBuilder extends BaseRequestBuilder<ChannelsReque
|
|
|
51
53
|
toPostRequestInformation(body: Channel, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
52
54
|
}
|
|
53
55
|
/**
|
|
54
|
-
*
|
|
56
|
+
* Retrieve the list of channels in this team.
|
|
55
57
|
*/
|
|
56
58
|
export interface ChannelsRequestBuilderGetQueryParameters {
|
|
57
59
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgH,KAAK,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAI5M,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEzF,OAAO,EAAgD,KAAK,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AAEpH,OAAO,EAA0F,KAAK,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAEjJ,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,cAAc,IAAI,4BAA4B,CAAC;IACnD;;;;OAIG;IACF,WAAW,CAAC,SAAS,EAAE,MAAM,GAAI,yBAAyB,CAAC;IAC5D
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgH,KAAK,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAI5M,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEzF,OAAO,EAAgD,KAAK,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AAEpH,OAAO,EAA0F,KAAK,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAEjJ,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EA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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,iCAAiC,uHAAuH,CAAC;AActK;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAY1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAuBpD,CAAC"}
|
|
@@ -4,6 +4,12 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
4
4
|
* Provides operations to manage the media for the team entity.
|
|
5
5
|
*/
|
|
6
6
|
export interface ContentRequestBuilder extends BaseRequestBuilder<ContentRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* The content stream, if the item represents a file.
|
|
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>;
|
|
7
13
|
/**
|
|
8
14
|
* The content stream, if the item represents a file.
|
|
9
15
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
@@ -19,6 +25,12 @@ export interface ContentRequestBuilder extends BaseRequestBuilder<ContentRequest
|
|
|
19
25
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
20
26
|
*/
|
|
21
27
|
put(body: ArrayBuffer | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DriveItem | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* The content stream, if the item represents a file.
|
|
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;
|
|
22
34
|
/**
|
|
23
35
|
* The content stream, if the item represents a file.
|
|
24
36
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyC,KAAK,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAIvG,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC1I;;;;;;OAMG;IACF,GAAG,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IACtI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAChJ;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,gC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AACD;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,0FAA0F,CAAC;AAOxI;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBA8BnD,CAAC"}
|
|
@@ -22,6 +22,14 @@ const ContentRequestBuilderGetQueryParametersMapper = {
|
|
|
22
22
|
* Metadata for all the requests in the request builder.
|
|
23
23
|
*/
|
|
24
24
|
exports.ContentRequestBuilderRequestsMetadata = {
|
|
25
|
+
delete: {
|
|
26
|
+
uriTemplate: exports.ContentRequestBuilderUriTemplate,
|
|
27
|
+
responseBodyContentType: "application/json",
|
|
28
|
+
errorMappings: {
|
|
29
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
30
|
+
},
|
|
31
|
+
adapterMethodName: "sendNoResponseContent",
|
|
32
|
+
},
|
|
25
33
|
get: {
|
|
26
34
|
uriTemplate: exports.ContentRequestBuilderUriTemplate,
|
|
27
35
|
responseBodyContentType: "application/octet-stream, application/json",
|
|
@@ -10,21 +10,22 @@ export interface FilesFolderRequestBuilder extends BaseRequestBuilder<FilesFolde
|
|
|
10
10
|
*/
|
|
11
11
|
get content(): ContentRequestBuilder;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Get the metadata for the location where the files of a channel are stored.
|
|
14
14
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
15
|
* @returns {Promise<DriveItem>}
|
|
16
16
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
17
|
+
* @see {@link https://learn.microsoft.com/graph/api/channel-get-filesfolder?view=graph-rest-1.0|Find more info here}
|
|
17
18
|
*/
|
|
18
19
|
get(requestConfiguration?: RequestConfiguration<FilesFolderRequestBuilderGetQueryParameters> | undefined): Promise<DriveItem | undefined>;
|
|
19
20
|
/**
|
|
20
|
-
*
|
|
21
|
+
* Get the metadata for the location where the files of a channel are stored.
|
|
21
22
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
23
|
* @returns {RequestInformation}
|
|
23
24
|
*/
|
|
24
25
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<FilesFolderRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
25
26
|
}
|
|
26
27
|
/**
|
|
27
|
-
*
|
|
28
|
+
* Get the metadata for the location where the files of a channel are stored.
|
|
28
29
|
*/
|
|
29
30
|
export interface FilesFolderRequestBuilderGetQueryParameters {
|
|
30
31
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyC,KAAK,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAIvG,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAE/F,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyC,KAAK,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAIvG,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAE/F,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2CAA2C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IAC5I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2CAA2C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACvJ;AACD;;GAEG;AACH,MAAM,WAAW,2CAA2C;IACxD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,2FAA2F,CAAC;AAQ7I;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAIhK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAWvD,CAAC"}
|
|
@@ -50,40 +50,43 @@ export interface ChannelItemRequestBuilder extends BaseRequestBuilder<ChannelIte
|
|
|
50
50
|
*/
|
|
51
51
|
get tabs(): TabsRequestBuilder;
|
|
52
52
|
/**
|
|
53
|
-
* Delete
|
|
53
|
+
* Delete the channel.
|
|
54
54
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
55
55
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
56
|
+
* @see {@link https://learn.microsoft.com/graph/api/channel-delete?view=graph-rest-1.0|Find more info here}
|
|
56
57
|
*/
|
|
57
58
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
58
59
|
/**
|
|
59
|
-
*
|
|
60
|
+
* Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information.
|
|
60
61
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
61
62
|
* @returns {Promise<Channel>}
|
|
62
63
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
64
|
+
* @see {@link https://learn.microsoft.com/graph/api/channel-get?view=graph-rest-1.0|Find more info here}
|
|
63
65
|
*/
|
|
64
66
|
get(requestConfiguration?: RequestConfiguration<ChannelItemRequestBuilderGetQueryParameters> | undefined): Promise<Channel | undefined>;
|
|
65
67
|
/**
|
|
66
|
-
* Update the
|
|
68
|
+
* Update the properties of the specified channel.
|
|
67
69
|
* @param body The request body
|
|
68
70
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
69
71
|
* @returns {Promise<Channel>}
|
|
70
72
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
73
|
+
* @see {@link https://learn.microsoft.com/graph/api/channel-patch?view=graph-rest-1.0|Find more info here}
|
|
71
74
|
*/
|
|
72
75
|
patch(body: Channel, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Channel | undefined>;
|
|
73
76
|
/**
|
|
74
|
-
* Delete
|
|
77
|
+
* Delete the channel.
|
|
75
78
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
76
79
|
* @returns {RequestInformation}
|
|
77
80
|
*/
|
|
78
81
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
79
82
|
/**
|
|
80
|
-
*
|
|
83
|
+
* Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information.
|
|
81
84
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
82
85
|
* @returns {RequestInformation}
|
|
83
86
|
*/
|
|
84
87
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ChannelItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
85
88
|
/**
|
|
86
|
-
* Update the
|
|
89
|
+
* Update the properties of the specified channel.
|
|
87
90
|
* @param body The request body
|
|
88
91
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
89
92
|
* @returns {RequestInformation}
|
|
@@ -91,7 +94,7 @@ export interface ChannelItemRequestBuilder extends BaseRequestBuilder<ChannelIte
|
|
|
91
94
|
toPatchRequestInformation(body: Channel, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
92
95
|
}
|
|
93
96
|
/**
|
|
94
|
-
*
|
|
97
|
+
* Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information.
|
|
95
98
|
*/
|
|
96
99
|
export interface ChannelItemRequestBuilderGetQueryParameters {
|
|
97
100
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyD,KAAK,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAIrH,OAAO,EAAmD,KAAK,+BAA+B,EAAE,MAAM,sBAAsB,CAAC;AAE7H,OAAO,EAAkH,KAAK,8FAA8F,EAAE,MAAM,qFAAqF,CAAC;AAE1T,OAAO,EAA0F,KAAK,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAExJ,OAAO,EAAkF,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExI,OAAO,EAAoF,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAE5I,OAAO,EAAgD,KAAK,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AAEpH,OAAO,EAA6C,KAAK,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAE3G,OAAO,EAAkG,KAAK,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAExK,OAAO,EAA4E,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE5H,OAAO,EAAE,KAAK,kBAAkB,EAAE,KA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G,SAAS,CAAC,CAAC;IACtH;;;;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,2CAA2C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACpJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnI;AACD;;GAEG;AACH,MAAM,WAAW,2CAA2C;IACxD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,+EAA+E,CAAC;AAQjI;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAiChK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBA+BvD,CAAC"}
|
|
@@ -22,28 +22,30 @@ export interface MembersRequestBuilder extends BaseRequestBuilder<MembersRequest
|
|
|
22
22
|
*/
|
|
23
23
|
byConversationMemberId(conversationMemberId: string): ConversationMemberItemRequestBuilder;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list.
|
|
26
26
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
27
|
* @returns {Promise<ConversationMemberCollectionResponse>}
|
|
28
28
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
29
|
+
* @see {@link https://learn.microsoft.com/graph/api/channel-list-members?view=graph-rest-1.0|Find more info here}
|
|
29
30
|
*/
|
|
30
31
|
get(requestConfiguration?: RequestConfiguration<MembersRequestBuilderGetQueryParameters> | undefined): Promise<ConversationMemberCollectionResponse | undefined>;
|
|
31
32
|
/**
|
|
32
|
-
*
|
|
33
|
+
* Add a conversationMember to a channel.
|
|
33
34
|
* @param body The request body
|
|
34
35
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
36
|
* @returns {Promise<ConversationMember>}
|
|
36
37
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
38
|
+
* @see {@link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0|Find more info here}
|
|
37
39
|
*/
|
|
38
40
|
post(body: ConversationMember, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConversationMember | undefined>;
|
|
39
41
|
/**
|
|
40
|
-
*
|
|
42
|
+
* Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list.
|
|
41
43
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
44
|
* @returns {RequestInformation}
|
|
43
45
|
*/
|
|
44
46
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MembersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
45
47
|
/**
|
|
46
|
-
*
|
|
48
|
+
* Add a conversationMember to a channel.
|
|
47
49
|
* @param body The request body
|
|
48
50
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
51
|
* @returns {RequestInformation}
|
|
@@ -51,7 +53,7 @@ export interface MembersRequestBuilder extends BaseRequestBuilder<MembersRequest
|
|
|
51
53
|
toPostRequestInformation(body: ConversationMember, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
52
54
|
}
|
|
53
55
|
/**
|
|
54
|
-
*
|
|
56
|
+
* Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list.
|
|
55
57
|
*/
|
|
56
58
|
export interface MembersRequestBuilderGetQueryParameters {
|
|
57
59
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiJ,KAAK,kBAAkB,EAAE,KAAK,oCAAoC,EAAE,MAAM,gCAAgC,CAAC;AAInQ,OAAO,EAAqC,KAAK,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAEnF,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEzF,OAAO,EAAwD,KAAK,oCAAoC,EAAE,MAAM,SAAS,CAAC;AAE1H,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;OAEG;IACH,IAAI,GAAG,IAAI,iBAAiB,CAAC;IAC7B;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,sBAAsB,CAAC,oBAAoB,EAAE,MAAM,GAAI,oCAAoC,CAAC;IAC7F
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiJ,KAAK,kBAAkB,EAAE,KAAK,oCAAoC,EAAE,MAAM,gCAAgC,CAAC;AAInQ,OAAO,EAAqC,KAAK,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAEnF,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEzF,OAAO,EAAwD,KAAK,oCAAoC,EAAE,MAAM,SAAS,CAAC;AAE1H,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kB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;;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,gCAAgC,8IAA8I,CAAC;AAc5L;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qBAAqB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWxJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAuBnD,CAAC"}
|
|
@@ -5,40 +5,43 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface ConversationMemberItemRequestBuilder extends BaseRequestBuilder<ConversationMemberItemRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Delete
|
|
8
|
+
* Delete a conversationMember from a channel.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
* @see {@link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0|Find more info here}
|
|
11
12
|
*/
|
|
12
13
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
14
|
/**
|
|
14
|
-
*
|
|
15
|
+
* Get a conversationMember from a channel.
|
|
15
16
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
17
|
* @returns {Promise<ConversationMember>}
|
|
17
18
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
19
|
+
* @see {@link https://learn.microsoft.com/graph/api/channel-get-members?view=graph-rest-1.0|Find more info here}
|
|
18
20
|
*/
|
|
19
21
|
get(requestConfiguration?: RequestConfiguration<ConversationMemberItemRequestBuilderGetQueryParameters> | undefined): Promise<ConversationMember | undefined>;
|
|
20
22
|
/**
|
|
21
|
-
* Update the
|
|
23
|
+
* Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared.
|
|
22
24
|
* @param body The request body
|
|
23
25
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
26
|
* @returns {Promise<ConversationMember>}
|
|
25
27
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
28
|
+
* @see {@link https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0|Find more info here}
|
|
26
29
|
*/
|
|
27
30
|
patch(body: ConversationMember, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConversationMember | undefined>;
|
|
28
31
|
/**
|
|
29
|
-
* Delete
|
|
32
|
+
* Delete a conversationMember from a channel.
|
|
30
33
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
34
|
* @returns {RequestInformation}
|
|
32
35
|
*/
|
|
33
36
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
34
37
|
/**
|
|
35
|
-
*
|
|
38
|
+
* Get a conversationMember from a channel.
|
|
36
39
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
40
|
* @returns {RequestInformation}
|
|
38
41
|
*/
|
|
39
42
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ConversationMemberItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
43
|
/**
|
|
41
|
-
* Update the
|
|
44
|
+
* Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared.
|
|
42
45
|
* @param body The request body
|
|
43
46
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
47
|
* @returns {RequestInformation}
|
|
@@ -46,7 +49,7 @@ export interface ConversationMemberItemRequestBuilder extends BaseRequestBuilder
|
|
|
46
49
|
toPatchRequestInformation(body: ConversationMember, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
50
|
}
|
|
48
51
|
/**
|
|
49
|
-
*
|
|
52
|
+
* Get a conversationMember from a channel.
|
|
50
53
|
*/
|
|
51
54
|
export interface ConversationMemberItemRequestBuilderGetQueryParameters {
|
|
52
55
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+E,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAItJ,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
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+E,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAItJ,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;;;;;OAKG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sDAAsD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAChK;;;;;;;OAOG;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,GAAI,kBAAkB,CAAC;CAC9I;AACD;;GAEG;AACH,MAAM,WAAW,sDAAsD;IACnE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,+CAA+C,iHAAiH,CAAC;AAQ9K;;GAEG;AACH,eAAO,MAAM,oDAAoD,EAAE,gBA+BlE,CAAC"}
|
|
@@ -22,28 +22,30 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
|
|
|
22
22
|
*/
|
|
23
23
|
byChatMessageId(chatMessageId: string): ChatMessageItemRequestBuilder;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel).
|
|
26
26
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
27
|
* @returns {Promise<ChatMessageCollectionResponse>}
|
|
28
28
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
29
|
+
* @see {@link https://learn.microsoft.com/graph/api/channel-list-messages?view=graph-rest-1.0|Find more info here}
|
|
29
30
|
*/
|
|
30
31
|
get(requestConfiguration?: RequestConfiguration<MessagesRequestBuilderGetQueryParameters> | undefined): Promise<ChatMessageCollectionResponse | undefined>;
|
|
31
32
|
/**
|
|
32
|
-
*
|
|
33
|
+
* Send a new chatMessage in the specified channel.
|
|
33
34
|
* @param body The request body
|
|
34
35
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
36
|
* @returns {Promise<ChatMessage>}
|
|
36
37
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
38
|
+
* @see {@link https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0|Find more info here}
|
|
37
39
|
*/
|
|
38
40
|
post(body: ChatMessage, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ChatMessage | undefined>;
|
|
39
41
|
/**
|
|
40
|
-
*
|
|
42
|
+
* Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel).
|
|
41
43
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
44
|
* @returns {RequestInformation}
|
|
43
45
|
*/
|
|
44
46
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MessagesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
45
47
|
/**
|
|
46
|
-
*
|
|
48
|
+
* Send a new chatMessage in the specified channel.
|
|
47
49
|
* @param body The request body
|
|
48
50
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
51
|
* @returns {RequestInformation}
|
|
@@ -51,7 +53,7 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
|
|
|
51
53
|
toPostRequestInformation(body: ChatMessage, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
52
54
|
}
|
|
53
55
|
/**
|
|
54
|
-
*
|
|
56
|
+
* Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel).
|
|
55
57
|
*/
|
|
56
58
|
export interface MessagesRequestBuilderGetQueryParameters {
|
|
57
59
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA4H,KAAK,WAAW,EAAE,KAAK,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAIhO,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEzF,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEzF,OAAO,EAAkG,KAAK,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAE7J,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,eAAe,CAAC,aAAa,EAAE,MAAM,GAAI,6BAA6B,CAAC;IACxE
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA4H,KAAK,WAAW,EAAE,KAAK,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAIhO,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEzF,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEzF,OAAO,EAAkG,KAAK,6BAA6B,EAAE,MAAM,SAAS,CAAC;A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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,iCAAiC,+IAA+I,CAAC;AAc9L;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAY1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAuBpD,CAAC"}
|
|
@@ -4,14 +4,20 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
4
4
|
*/
|
|
5
5
|
export interface ContentRequestBuilder extends BaseRequestBuilder<ContentRequestBuilder> {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* The unique identifier for an entity. Read-only.
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
10
|
+
*/
|
|
11
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* The unique identifier for an entity. Read-only.
|
|
8
14
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
15
|
* @returns {Promise<ArrayBuffer>}
|
|
10
16
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
17
|
*/
|
|
12
|
-
get(requestConfiguration?: RequestConfiguration<
|
|
18
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
13
19
|
/**
|
|
14
|
-
*
|
|
20
|
+
* The unique identifier for an entity. Read-only.
|
|
15
21
|
* @param body Binary request body
|
|
16
22
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
23
|
* @returns {Promise<ArrayBuffer>}
|
|
@@ -19,32 +25,29 @@ export interface ContentRequestBuilder extends BaseRequestBuilder<ContentRequest
|
|
|
19
25
|
*/
|
|
20
26
|
put(body: ArrayBuffer | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
21
27
|
/**
|
|
22
|
-
*
|
|
28
|
+
* The unique identifier for an entity. Read-only.
|
|
23
29
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
30
|
* @returns {RequestInformation}
|
|
25
31
|
*/
|
|
26
|
-
|
|
32
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
27
33
|
/**
|
|
28
|
-
*
|
|
29
|
-
* @param body Binary request body
|
|
34
|
+
* The unique identifier for an entity. Read-only.
|
|
30
35
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
36
|
* @returns {RequestInformation}
|
|
32
37
|
*/
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Get media content for the navigation property hostedContents from teams
|
|
37
|
-
*/
|
|
38
|
-
export interface ContentRequestBuilderGetQueryParameters {
|
|
38
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* The unique identifier for an entity. Read-only.
|
|
41
|
+
* @param body Binary request body
|
|
42
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
|
+
* @returns {RequestInformation}
|
|
41
44
|
*/
|
|
42
|
-
|
|
45
|
+
toPutRequestInformation(body: ArrayBuffer | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
43
46
|
}
|
|
44
47
|
/**
|
|
45
48
|
* Uri template for the request builder.
|
|
46
49
|
*/
|
|
47
|
-
export declare const ContentRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value
|
|
50
|
+
export declare const ContentRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value";
|
|
48
51
|
/**
|
|
49
52
|
* Metadata for all the requests in the request builder.
|
|
50
53
|
*/
|
|
@@ -1 +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,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,
|
|
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,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;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,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzG;;;;;;OAMG;IACF,GAAG,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACxI;;;;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,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,2IAA2I,CAAC;AACzL;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBA6BnD,CAAC"}
|
|
@@ -9,17 +9,19 @@ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
|
9
9
|
/**
|
|
10
10
|
* Uri template for the request builder.
|
|
11
11
|
*/
|
|
12
|
-
exports.ContentRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value
|
|
13
|
-
/**
|
|
14
|
-
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
15
|
-
*/
|
|
16
|
-
const ContentRequestBuilderGetQueryParametersMapper = {
|
|
17
|
-
"format": "%24format",
|
|
18
|
-
};
|
|
12
|
+
exports.ContentRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value";
|
|
19
13
|
/**
|
|
20
14
|
* Metadata for all the requests in the request builder.
|
|
21
15
|
*/
|
|
22
16
|
exports.ContentRequestBuilderRequestsMetadata = {
|
|
17
|
+
delete: {
|
|
18
|
+
uriTemplate: exports.ContentRequestBuilderUriTemplate,
|
|
19
|
+
responseBodyContentType: "application/json",
|
|
20
|
+
errorMappings: {
|
|
21
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
22
|
+
},
|
|
23
|
+
adapterMethodName: "sendNoResponseContent",
|
|
24
|
+
},
|
|
23
25
|
get: {
|
|
24
26
|
uriTemplate: exports.ContentRequestBuilderUriTemplate,
|
|
25
27
|
responseBodyContentType: "application/octet-stream, application/json",
|
|
@@ -28,7 +30,6 @@ exports.ContentRequestBuilderRequestsMetadata = {
|
|
|
28
30
|
},
|
|
29
31
|
adapterMethodName: "sendPrimitive",
|
|
30
32
|
responseBodyFactory: "ArrayBuffer",
|
|
31
|
-
queryParametersMapper: ContentRequestBuilderGetQueryParametersMapper,
|
|
32
33
|
},
|
|
33
34
|
put: {
|
|
34
35
|
uriTemplate: exports.ContentRequestBuilderUriTemplate,
|