@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
|
@@ -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;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AAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAChJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC7I;AACD;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACpD;;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,gCAAgC,sHAAsH,CAAC;AAcpK;;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
|
-
*
|
|
8
|
+
* Remove a conversationMember from a team.
|
|
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/team-delete-members?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 team.
|
|
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/team-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 team.
|
|
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/team-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
|
-
*
|
|
32
|
+
* Remove a conversationMember from a team.
|
|
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 team.
|
|
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 team.
|
|
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 team.
|
|
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,MAA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*/
|
|
18
18
|
byResourceSpecificPermissionGrantId(resourceSpecificPermissionGrantId: string): ResourceSpecificPermissionGrantItemRequestBuilder;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<ResourceSpecificPermissionGrantCollectionResponse>}
|
|
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-permissiongrants?view=graph-rest-1.0|Find more info here}
|
|
24
25
|
*/
|
|
25
26
|
get(requestConfiguration?: RequestConfiguration<PermissionGrantsRequestBuilderGetQueryParameters> | undefined): Promise<ResourceSpecificPermissionGrantCollectionResponse | undefined>;
|
|
26
27
|
/**
|
|
@@ -32,7 +33,7 @@ export interface PermissionGrantsRequestBuilder extends BaseRequestBuilder<Permi
|
|
|
32
33
|
*/
|
|
33
34
|
post(body: ResourceSpecificPermissionGrant, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ResourceSpecificPermissionGrant | undefined>;
|
|
34
35
|
/**
|
|
35
|
-
*
|
|
36
|
+
* List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access.
|
|
36
37
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
38
|
* @returns {RequestInformation}
|
|
38
39
|
*/
|
|
@@ -46,7 +47,7 @@ export interface PermissionGrantsRequestBuilder extends BaseRequestBuilder<Permi
|
|
|
46
47
|
toPostRequestInformation(body: ResourceSpecificPermissionGrant, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
48
|
}
|
|
48
49
|
/**
|
|
49
|
-
*
|
|
50
|
+
* List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with each app's corresponding type of resource-specific access.
|
|
50
51
|
*/
|
|
51
52
|
export interface PermissionGrantsRequestBuilderGetQueryParameters {
|
|
52
53
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAwL,KAAK,+BAA+B,EAAE,KAAK,iDAAiD,EAAE,MAAM,gCAAgC,CAAC;AAIpU,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEzF,OAAO,EAAqE,KAAK,iDAAiD,EAAE,MAAM,SAAS,CAAC;AAEpJ,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,8BAA+B,SAAQ,kBAAkB,CAAC,8BAA8B,CAAC;IACtG;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,mCAAmC,CAAC,iCAAiC,EAAE,MAAM,GAAI,iDAAiD,CAAC;IACpI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAwL,KAAK,+BAA+B,EAAE,KAAK,iDAAiD,EAAE,MAAM,gCAAgC,CAAC;AAIpU,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEzF,OAAO,EAAqE,KAAK,iDAAiD,EAAE,MAAM,SAAS,CAAC;AAEpJ,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,8BAA+B,SAAQ,kBAA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;AActL;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,8BAA8B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQ1K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,gBAuB5D,CAAC"}
|
|
@@ -10,28 +10,30 @@ export interface PhotoRequestBuilder extends BaseRequestBuilder<PhotoRequestBuil
|
|
|
10
10
|
*/
|
|
11
11
|
get content(): ContentRequestBuilder;
|
|
12
12
|
/**
|
|
13
|
-
* The
|
|
13
|
+
* Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download.
|
|
14
14
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
15
|
* @returns {Promise<ProfilePhoto>}
|
|
16
16
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
17
|
+
* @see {@link https://learn.microsoft.com/graph/api/profilephoto-get?view=graph-rest-1.0|Find more info here}
|
|
17
18
|
*/
|
|
18
19
|
get(requestConfiguration?: RequestConfiguration<PhotoRequestBuilderGetQueryParameters> | undefined): Promise<ProfilePhoto | undefined>;
|
|
19
20
|
/**
|
|
20
|
-
* Update the
|
|
21
|
+
* Update the photo for the specified contact, group, team, or user in a tenant. The size of the photo you can update to is limited to 4 MB. You can use either PATCH or PUT for this operation.
|
|
21
22
|
* @param body The request body
|
|
22
23
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
24
|
* @returns {Promise<ProfilePhoto>}
|
|
24
25
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
26
|
+
* @see {@link https://learn.microsoft.com/graph/api/profilephoto-update?view=graph-rest-1.0|Find more info here}
|
|
25
27
|
*/
|
|
26
28
|
patch(body: ProfilePhoto, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ProfilePhoto | undefined>;
|
|
27
29
|
/**
|
|
28
|
-
* The
|
|
30
|
+
* Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download.
|
|
29
31
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
32
|
* @returns {RequestInformation}
|
|
31
33
|
*/
|
|
32
34
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<PhotoRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
33
35
|
/**
|
|
34
|
-
* Update the
|
|
36
|
+
* Update the photo for the specified contact, group, team, or user in a tenant. The size of the photo you can update to is limited to 4 MB. You can use either PATCH or PUT for this operation.
|
|
35
37
|
* @param body The request body
|
|
36
38
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
39
|
* @returns {RequestInformation}
|
|
@@ -39,7 +41,7 @@ export interface PhotoRequestBuilder extends BaseRequestBuilder<PhotoRequestBuil
|
|
|
39
41
|
toPatchRequestInformation(body: ProfilePhoto, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
40
42
|
}
|
|
41
43
|
/**
|
|
42
|
-
* The
|
|
44
|
+
* Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.If the size you request is unavailable, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of the photo is available for download.
|
|
43
45
|
*/
|
|
44
46
|
export interface PhotoRequestBuilderGetQueryParameters {
|
|
45
47
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmE,KAAK,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAIpI,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAE7F,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,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmE,KAAK,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAIpI,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAE7F,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,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAC;IACzI;;;;;;;OAOG;IACF,KAAK,CAAC,IAAI,EAAE,YAAY,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAC;IAChI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC9I;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,YAAY,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxI;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,6DAA6D,CAAC;AAQzG;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mBAAmB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAIpJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAuBjD,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 profile photo for the team.
|
|
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 profile photo for the team.
|
|
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 profile photo for the team.
|
|
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 profile photo for the team.
|
|
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 profile photo for the team.
|
|
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 photo from teams
|
|
37
|
-
*/
|
|
38
|
-
export interface ContentRequestBuilderGetQueryParameters {
|
|
38
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* The profile photo for the team.
|
|
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}/photo/$value
|
|
50
|
+
export declare const ContentRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}/photo/$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,8CAA8C,CAAC;AAC5F;;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}/photo/$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}/photo/$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,
|
|
@@ -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,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G,SAAS,GAAI,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IACtI;;;;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,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,gCAAgC,iFAAiF,CAAC;AAO/H;;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",
|
|
@@ -56,10 +56,11 @@ export interface PrimaryChannelRequestBuilder extends BaseRequestBuilder<Primary
|
|
|
56
56
|
*/
|
|
57
57
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Get the default channel, General, of a team.
|
|
60
60
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
61
61
|
* @returns {Promise<Channel>}
|
|
62
62
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
63
|
+
* @see {@link https://learn.microsoft.com/graph/api/team-get-primarychannel?view=graph-rest-1.0|Find more info here}
|
|
63
64
|
*/
|
|
64
65
|
get(requestConfiguration?: RequestConfiguration<PrimaryChannelRequestBuilderGetQueryParameters> | undefined): Promise<Channel | undefined>;
|
|
65
66
|
/**
|
|
@@ -77,7 +78,7 @@ export interface PrimaryChannelRequestBuilder extends BaseRequestBuilder<Primary
|
|
|
77
78
|
*/
|
|
78
79
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
79
80
|
/**
|
|
80
|
-
*
|
|
81
|
+
* Get the default channel, General, of a team.
|
|
81
82
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
82
83
|
* @returns {RequestInformation}
|
|
83
84
|
*/
|
|
@@ -91,7 +92,7 @@ export interface PrimaryChannelRequestBuilder extends BaseRequestBuilder<Primary
|
|
|
91
92
|
toPatchRequestInformation(body: Channel, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
92
93
|
}
|
|
93
94
|
/**
|
|
94
|
-
*
|
|
95
|
+
* Get the default channel, General, of a team.
|
|
95
96
|
*/
|
|
96
97
|
export interface PrimaryChannelRequestBuilderGetQueryParameters {
|
|
97
98
|
/**
|
|
@@ -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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uC,sEAAsE,CAAC;AAQ3H;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,4BAA4B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAiCtK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBA+B1D,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}/primaryChannel/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value
|
|
50
|
+
export declare const ContentRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}/primaryChannel/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,kIAAkI,CAAC;AAChL;;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}/primaryChannel/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}/primaryChannel/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,
|
package/teams/item/primaryChannel/messages/item/replies/item/hostedContents/item/value/index.d.ts
CHANGED
|
@@ -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}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value
|
|
50
|
+
export declare const ContentRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/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,8JAA8J,CAAC;AAC5M;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBA6BnD,CAAC"}
|
package/teams/item/primaryChannel/messages/item/replies/item/hostedContents/item/value/index.js
CHANGED
|
@@ -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}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/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}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/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,
|