@microsoft/teams.graph-endpoints 2.0.0-preview.10 → 2.0.0-preview.11
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/README.md +14 -11
- package/dist/me/appRoleAssignments.d.ts +1 -1
- package/dist/me/appRoleAssignments.js +1 -1
- package/dist/me/appRoleAssignments.mjs +1 -1
- package/dist/me/removeAllDevicesFromManagement.d.ts +1 -1
- package/dist/me/removeAllDevicesFromManagement.js +1 -1
- package/dist/me/removeAllDevicesFromManagement.mjs +1 -1
- package/dist/me/reprocessLicenseAssignment.d.ts +1 -1
- package/dist/me/reprocessLicenseAssignment.js +1 -1
- package/dist/me/reprocessLicenseAssignment.mjs +1 -1
- package/dist/me/retryServiceProvisioning.d.ts +1 -1
- package/dist/me/retryServiceProvisioning.js +1 -1
- package/dist/me/retryServiceProvisioning.mjs +1 -1
- package/dist/me/sendMail.d.ts +1 -1
- package/dist/me/sendMail.js +1 -1
- package/dist/me/sendMail.mjs +1 -1
- package/dist/types/common.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
# Teams: Graph
|
|
2
2
|
|
|
3
3
|
<p>
|
|
4
|
-
<a href="https://www.npmjs.com/package/@microsoft/teams.
|
|
5
|
-
<img src="https://img.shields.io/npm/v/@microsoft/teams.
|
|
4
|
+
<a href="https://www.npmjs.com/package/@microsoft/teams.graph-endpoints" target="_blank">
|
|
5
|
+
<img src="https://img.shields.io/npm/v/@microsoft/teams.graph-endpoints/preview" />
|
|
6
6
|
</a>
|
|
7
|
-
<a href="https://www.npmjs.com/package/@microsoft/teams.
|
|
8
|
-
<img src="https://img.shields.io/bundlephobia/min/@microsoft/teams.
|
|
7
|
+
<a href="https://www.npmjs.com/package/@microsoft/teams.graph-endpoints?activeTab=code" target="_blank">
|
|
8
|
+
<img src="https://img.shields.io/bundlephobia/min/@microsoft/teams.graph-endpoints" />
|
|
9
9
|
</a>
|
|
10
|
-
<a href="https://www.npmjs.com/package/@microsoft/teams.
|
|
11
|
-
<img src="https://img.shields.io/librariesio/release/npm/@microsoft/teams.
|
|
10
|
+
<a href="https://www.npmjs.com/package/@microsoft/teams.graph-endpoints?activeTab=dependencies" target="_blank">
|
|
11
|
+
<img src="https://img.shields.io/librariesio/release/npm/@microsoft/teams.graph-endpoints" />
|
|
12
12
|
</a>
|
|
13
|
-
<a href="https://www.npmjs.com/package/@microsoft/teams.
|
|
14
|
-
<img src="https://img.shields.io/npm/dw/@microsoft/teams.
|
|
13
|
+
<a href="https://www.npmjs.com/package/@microsoft/teams.graph-endpoints" target="_blank">
|
|
14
|
+
<img src="https://img.shields.io/npm/dw/@microsoft/teams.graph-endpoints" />
|
|
15
15
|
</a>
|
|
16
16
|
<a href="https://microsoft.github.io/teams-ai" target="_blank">
|
|
17
17
|
<img src="https://img.shields.io/badge/📖 docs-open-blue" />
|
|
18
18
|
</a>
|
|
19
19
|
</p>
|
|
20
20
|
|
|
21
|
-
A collection of strongly typed request configuration builders for
|
|
21
|
+
A collection of strongly typed request configuration builders for Microsoft Graph endpoints, designed to be used
|
|
22
22
|
together with <a href="https://www.npmjs.com/package/@microsoft/teams.graph" target="_blank">@microsoft/teams.graph</a>.
|
|
23
23
|
|
|
24
|
+
Use this package to call Microsoft Graph APIs that have reached general availability (GA), and have gone through a rigorous review-and-feedback process with customers to meet practical, production needs.
|
|
24
25
|
|
|
25
26
|
<a href="https://microsoft.github.io/teams-ai" target="_blank">
|
|
26
27
|
<img src="https://img.shields.io/badge/📖 Getting Started-blue?style=for-the-badge" />
|
|
@@ -29,11 +30,13 @@ together with <a href="https://www.npmjs.com/package/@microsoft/teams.graph" tar
|
|
|
29
30
|
## Install
|
|
30
31
|
|
|
31
32
|
```bash
|
|
32
|
-
$: npm install @microsoft/teams.
|
|
33
|
+
$: npm install @microsoft/teams.graph-endpoints
|
|
33
34
|
```
|
|
34
35
|
|
|
35
36
|
## Links
|
|
36
37
|
|
|
38
|
+
- [Microsoft Graph REST API v1.0 endpoint reference](https://learn.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0)
|
|
39
|
+
|
|
37
40
|
## Dependencies
|
|
38
41
|
|
|
39
|
-
-
|
|
42
|
+
- None
|
|
@@ -32,4 +32,4 @@ export declare function update(body: IEndpoints['PATCH /me/appRoleAssignments/{a
|
|
|
32
32
|
* `POST /me/appRoleAssignments`
|
|
33
33
|
*
|
|
34
34
|
*/
|
|
35
|
-
export declare function create(body: IEndpoints['POST /me/appRoleAssignments']['body']
|
|
35
|
+
export declare function create(body: IEndpoints['POST /me/appRoleAssignments']['body']): EndpointRequest<IEndpoints['POST /me/appRoleAssignments']['response']>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function s(e){return {method:"delete",path:"/me/appRoleAssignments/{appRoleAssignment-id}",paramDefs:[{name:"If-Match",in:"header"},{name:"appRoleAssignment-id",in:"path"}],params:e}}function p(e){return {method:"get",path:"/me/appRoleAssignments",paramDefs:[{name:"ConsistencyLevel",in:"header"},{name:"$top",in:"query"},{name:"$skip",in:"query"},{name:"$search",in:"query"},{name:"$filter",in:"query"},{name:"$count",in:"query"},{name:"$orderby",in:"query"},{name:"$select",in:"query"},{name:"$expand",in:"query"}],params:e}}function t(e){return {method:"get",path:"/me/appRoleAssignments/{appRoleAssignment-id}",paramDefs:[{name:"ConsistencyLevel",in:"header"},{name:"$select",in:"query"},{name:"$expand",in:"query"},{name:"appRoleAssignment-id",in:"path"}],params:e}}function i(e,n){return {method:"patch",path:"/me/appRoleAssignments/{appRoleAssignment-id}",paramDefs:[{name:"appRoleAssignment-id",in:"path"}],params:n,body:e}}function
|
|
1
|
+
'use strict';function s(e){return {method:"delete",path:"/me/appRoleAssignments/{appRoleAssignment-id}",paramDefs:[{name:"If-Match",in:"header"},{name:"appRoleAssignment-id",in:"path"}],params:e}}function p(e){return {method:"get",path:"/me/appRoleAssignments",paramDefs:[{name:"ConsistencyLevel",in:"header"},{name:"$top",in:"query"},{name:"$skip",in:"query"},{name:"$search",in:"query"},{name:"$filter",in:"query"},{name:"$count",in:"query"},{name:"$orderby",in:"query"},{name:"$select",in:"query"},{name:"$expand",in:"query"}],params:e}}function t(e){return {method:"get",path:"/me/appRoleAssignments/{appRoleAssignment-id}",paramDefs:[{name:"ConsistencyLevel",in:"header"},{name:"$select",in:"query"},{name:"$expand",in:"query"},{name:"appRoleAssignment-id",in:"path"}],params:e}}function i(e,n){return {method:"patch",path:"/me/appRoleAssignments/{appRoleAssignment-id}",paramDefs:[{name:"appRoleAssignment-id",in:"path"}],params:n,body:e}}function m(e){return {method:"post",path:"/me/appRoleAssignments",body:e}}exports.create=m;exports.del=s;exports.get=t;exports.list=p;exports.update=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function s(e){return {method:"delete",path:"/me/appRoleAssignments/{appRoleAssignment-id}",paramDefs:[{name:"If-Match",in:"header"},{name:"appRoleAssignment-id",in:"path"}],params:e}}function p(e){return {method:"get",path:"/me/appRoleAssignments",paramDefs:[{name:"ConsistencyLevel",in:"header"},{name:"$top",in:"query"},{name:"$skip",in:"query"},{name:"$search",in:"query"},{name:"$filter",in:"query"},{name:"$count",in:"query"},{name:"$orderby",in:"query"},{name:"$select",in:"query"},{name:"$expand",in:"query"}],params:e}}function t(e){return {method:"get",path:"/me/appRoleAssignments/{appRoleAssignment-id}",paramDefs:[{name:"ConsistencyLevel",in:"header"},{name:"$select",in:"query"},{name:"$expand",in:"query"},{name:"appRoleAssignment-id",in:"path"}],params:e}}function i(e,n){return {method:"patch",path:"/me/appRoleAssignments/{appRoleAssignment-id}",paramDefs:[{name:"appRoleAssignment-id",in:"path"}],params:n,body:e}}function
|
|
1
|
+
function s(e){return {method:"delete",path:"/me/appRoleAssignments/{appRoleAssignment-id}",paramDefs:[{name:"If-Match",in:"header"},{name:"appRoleAssignment-id",in:"path"}],params:e}}function p(e){return {method:"get",path:"/me/appRoleAssignments",paramDefs:[{name:"ConsistencyLevel",in:"header"},{name:"$top",in:"query"},{name:"$skip",in:"query"},{name:"$search",in:"query"},{name:"$filter",in:"query"},{name:"$count",in:"query"},{name:"$orderby",in:"query"},{name:"$select",in:"query"},{name:"$expand",in:"query"}],params:e}}function t(e){return {method:"get",path:"/me/appRoleAssignments/{appRoleAssignment-id}",paramDefs:[{name:"ConsistencyLevel",in:"header"},{name:"$select",in:"query"},{name:"$expand",in:"query"},{name:"appRoleAssignment-id",in:"path"}],params:e}}function i(e,n){return {method:"patch",path:"/me/appRoleAssignments/{appRoleAssignment-id}",paramDefs:[{name:"appRoleAssignment-id",in:"path"}],params:n,body:e}}function m(e){return {method:"post",path:"/me/appRoleAssignments",body:e}}export{m as create,s as del,t as get,p as list,i as update};
|
|
@@ -7,4 +7,4 @@ export interface IEndpoints {
|
|
|
7
7
|
*
|
|
8
8
|
* Retire all devices from management for this user
|
|
9
9
|
*/
|
|
10
|
-
export declare function create(
|
|
10
|
+
export declare function create(): EndpointRequest<IEndpoints['POST /me/removeAllDevicesFromManagement']['response']>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function e(){return {method:"post",path:"/me/removeAllDevicesFromManagement"}}exports.create=e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function e(){return {method:"post",path:"/me/removeAllDevicesFromManagement"}}export{e as create};
|
|
@@ -7,4 +7,4 @@ export interface IEndpoints {
|
|
|
7
7
|
*
|
|
8
8
|
* Reprocess all group-based license assignments for the user. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. Also see Identify and resolve license assignment problems for a group in Microsoft Entra ID for more details.
|
|
9
9
|
*/
|
|
10
|
-
export declare function create(
|
|
10
|
+
export declare function create(): EndpointRequest<IEndpoints['POST /me/reprocessLicenseAssignment']['response']>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function e(){return {method:"post",path:"/me/reprocessLicenseAssignment"}}exports.create=e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function e(){return {method:"post",path:"/me/reprocessLicenseAssignment"}}export{e as create};
|
|
@@ -7,4 +7,4 @@ export interface IEndpoints {
|
|
|
7
7
|
*
|
|
8
8
|
* Retry the provisioning of a user object in Microsoft Entra ID.
|
|
9
9
|
*/
|
|
10
|
-
export declare function create(
|
|
10
|
+
export declare function create(): EndpointRequest<IEndpoints['POST /me/retryServiceProvisioning']['response']>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function e(){return {method:"post",path:"/me/retryServiceProvisioning"}}exports.create=e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function e(){return {method:"post",path:"/me/retryServiceProvisioning"}}export{e as create};
|
package/dist/me/sendMail.d.ts
CHANGED
|
@@ -7,4 +7,4 @@ export interface IEndpoints {
|
|
|
7
7
|
*
|
|
8
8
|
* Send the message specified in the request body using either JSON or MIME format. When using JSON format, you can include a file attachment in the same sendMail action call. When using MIME format: This method saves the message in the Sent Items folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here.
|
|
9
9
|
*/
|
|
10
|
-
export declare function create(body: IEndpoints['POST /me/sendMail']['body']
|
|
10
|
+
export declare function create(body: IEndpoints['POST /me/sendMail']['body']): EndpointRequest<IEndpoints['POST /me/sendMail']['response']>;
|
package/dist/me/sendMail.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function n(e){return {method:"post",path:"/me/sendMail",body:e}}exports.create=n;
|
package/dist/me/sendMail.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function n(e){return {method:"post",path:"/me/sendMail",body:e}}export{n as create};
|
package/dist/types/common.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/teams.graph-endpoints",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "2.0.0-preview.
|
|
4
|
+
"version": "2.0.0-preview.11",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.mjs",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"gen:endpoints": "npx cross-env NODE_OPTIONS='--max-old-space-size=16384' npx @microsoft/teams.graph-tools generate-endpoints ../graph/openapi.yaml ./src v1.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@microsoft/teams.graph-tools": "2.0.0-preview.
|
|
54
|
+
"@microsoft/teams.graph-tools": "2.0.0-preview.11",
|
|
55
55
|
"rimraf": "^6.0.1",
|
|
56
56
|
"tsup": "^8.4.0",
|
|
57
57
|
"typescript": "^5.4.5"
|