@pnp/cli-microsoft365 5.4.0-beta.d01ee78 → 5.4.0-beta.fdd7cb1
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/.devcontainer/Dockerfile +1 -1
- package/.eslintrc.js +1 -0
- package/dist/m365/aad/commands/o365group/o365group-conversation-post-list.js +4 -19
- package/dist/m365/aad/commands/o365group/o365group-get.js +3 -9
- package/dist/m365/base/PlannerCommand.js +10 -0
- package/dist/m365/flow/commands/flow-export.js +3 -3
- package/dist/m365/planner/commands/bucket/bucket-add.js +4 -16
- package/dist/m365/planner/commands/bucket/bucket-get.js +4 -18
- package/dist/m365/planner/commands/bucket/bucket-list.js +4 -17
- package/dist/m365/planner/commands/bucket/bucket-remove.js +4 -18
- package/dist/m365/planner/commands/bucket/bucket-set.js +4 -18
- package/dist/m365/planner/commands/plan/plan-add.js +4 -16
- package/dist/m365/planner/commands/plan/plan-details-get.js +4 -19
- package/dist/m365/planner/commands/plan/plan-get.js +4 -17
- package/dist/m365/planner/commands/plan/plan-list.js +4 -17
- package/dist/m365/planner/commands/task/task-add.js +4 -16
- package/dist/m365/planner/commands/task/task-checklistitem-add.js +89 -0
- package/dist/m365/planner/commands/task/task-get.js +40 -29
- package/dist/m365/planner/commands/task/task-list.js +4 -16
- package/dist/m365/planner/commands/task/task-remove.js +201 -0
- package/dist/m365/planner/commands/task/task-set.js +4 -16
- package/dist/m365/planner/commands/tenant/tenant-settings-list.js +33 -0
- package/dist/m365/planner/commands.js +5 -2
- package/dist/m365/spo/commands/contenttype/contenttype-add.js +1 -1
- package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +1 -1
- package/dist/m365/spo/commands/contenttype/contenttype-get.js +1 -1
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-get.js +3 -3
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-list.js +102 -0
- package/dist/m365/spo/commands/field/field-add.js +1 -1
- package/dist/m365/spo/commands/field/field-get.js +5 -5
- package/dist/m365/spo/commands/field/field-list.js +3 -3
- package/dist/m365/spo/commands/field/field-remove.js +5 -5
- package/dist/m365/spo/commands/file/file-sharinginfo-get.js +1 -1
- package/dist/m365/spo/commands/list/list-contenttype-add.js +3 -3
- package/dist/m365/spo/commands/list/list-contenttype-default-set.js +2 -2
- package/dist/m365/spo/commands/list/list-contenttype-list.js +3 -3
- package/dist/m365/spo/commands/list/list-contenttype-remove.js +3 -3
- package/dist/m365/spo/commands/list/list-get.js +2 -2
- package/dist/m365/spo/commands/list/list-label-get.js +3 -3
- package/dist/m365/spo/commands/list/list-label-set.js +2 -2
- package/dist/m365/spo/commands/list/list-remove.js +2 -2
- package/dist/m365/spo/commands/list/list-roleinheritance-break.js +2 -2
- package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +2 -2
- package/dist/m365/spo/commands/list/list-sitescript-get.js +3 -3
- package/dist/m365/spo/commands/list/list-view-add.js +3 -3
- package/dist/m365/spo/commands/list/list-view-field-add.js +2 -2
- package/dist/m365/spo/commands/list/list-view-field-remove.js +2 -2
- package/dist/m365/spo/commands/list/list-view-field-set.js +2 -2
- package/dist/m365/spo/commands/list/list-view-get.js +4 -4
- package/dist/m365/spo/commands/list/list-view-list.js +3 -3
- package/dist/m365/spo/commands/list/list-view-remove.js +3 -3
- package/dist/m365/spo/commands/list/list-view-set.js +3 -3
- package/dist/m365/spo/commands/list/list-webhook-add.js +3 -3
- package/dist/m365/spo/commands/list/list-webhook-get.js +3 -3
- package/dist/m365/spo/commands/list/list-webhook-list.js +5 -5
- package/dist/m365/spo/commands/list/list-webhook-remove.js +4 -4
- package/dist/m365/spo/commands/list/list-webhook-set.js +3 -3
- package/dist/m365/spo/commands/listitem/listitem-add.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-get.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-isrecord.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-list.js +31 -11
- package/dist/m365/spo/commands/listitem/listitem-record-declare.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-remove.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-set.js +2 -2
- package/dist/m365/spo/commands/roledefinition/roledefinition-remove.js +82 -0
- package/dist/m365/spo/commands/site/site-remove.js +23 -37
- package/dist/m365/spo/commands.js +2 -0
- package/dist/m365/teams/commands/app/app-list.js +6 -20
- package/dist/m365/teams/commands/channel/channel-get.js +6 -19
- package/dist/m365/teams/commands/channel/channel-list.js +6 -18
- package/dist/m365/teams/commands/channel/channel-member-add.js +7 -18
- package/dist/m365/teams/commands/channel/channel-member-list.js +6 -19
- package/dist/m365/teams/commands/channel/channel-member-remove.js +6 -19
- package/dist/m365/teams/commands/channel/channel-member-set.js +6 -19
- package/dist/m365/teams/commands/tab/tab-get.js +6 -19
- package/dist/m365/teams/commands/team/team-add.js +2 -7
- package/dist/m365/teams/commands/team/team-get.js +6 -19
- package/dist/utils/aadGroup.js +57 -0
- package/dist/utils/index.js +2 -0
- package/dist/utils/validation.js +12 -2
- package/docs/docs/cmd/file/file-list.md +4 -4
- package/docs/docs/cmd/planner/bucket/bucket-set.md +4 -4
- package/docs/docs/cmd/planner/plan/plan-details-get.md +2 -2
- package/docs/docs/cmd/planner/plan/plan-get.md +4 -4
- package/docs/docs/cmd/planner/task/task-checklistitem-add.md +36 -0
- package/docs/docs/cmd/planner/task/task-get.md +3 -0
- package/docs/docs/cmd/planner/task/task-remove.md +78 -0
- package/docs/docs/cmd/planner/task/task-set.md +2 -2
- package/docs/docs/cmd/planner/tenant/tenant-settings-list.md +28 -0
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-list.md +64 -0
- package/docs/docs/cmd/spo/file/file-checkout.md +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-list.md +16 -10
- package/docs/docs/cmd/spo/roledefinition/roledefinition-remove.md +36 -0
- package/package.json +12 -7
- package/dist/m365/planner/commands/task/task-details-get.js +0 -45
- package/docs/docs/cmd/planner/task/task-details-get.md +0 -24
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# spo roledefinition remove
|
|
2
|
+
|
|
3
|
+
Removes the role definition from the specified site
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo roledefinition remove [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-u, --webUrl <webUrl>`
|
|
14
|
+
: URL of the site from which role should be removed
|
|
15
|
+
|
|
16
|
+
`-i, --id <id>`
|
|
17
|
+
: ID of the role definition to remove
|
|
18
|
+
|
|
19
|
+
`--confirm`
|
|
20
|
+
: Don't prompt for confirming removing the role definition
|
|
21
|
+
|
|
22
|
+
--8<-- "docs/cmd/_global.md"
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
Remove the role definition from site _https://contoso.sharepoint.com/sites/project-x_ with id _1_
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
m365 spo roledefinition remove --webUrl https://contoso.sharepoint.com/sites/project-x --id 1
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Remove the role definition from site _https://contoso.sharepoint.com/sites/project-x_ with id _1_ and don't prompt for confirmation
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 spo roledefinition remove --webUrl https://contoso.sharepoint.com/sites/project-x --id 1 --confirm
|
|
36
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "5.4.0-beta.
|
|
3
|
+
"version": "5.4.0-beta.fdd7cb1",
|
|
4
4
|
"description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/api.js",
|
|
@@ -52,11 +52,6 @@
|
|
|
52
52
|
"email": "waldek@mastykarz.nl",
|
|
53
53
|
"web": "https://blog.mastykarz.nl"
|
|
54
54
|
},
|
|
55
|
-
{
|
|
56
|
-
"name": "Velin Georgiev",
|
|
57
|
-
"email": "velin.georgiev@gmail.com",
|
|
58
|
-
"web": "https://blog.velingeorgiev.com"
|
|
59
|
-
},
|
|
60
55
|
{
|
|
61
56
|
"name": "Garry Trinder",
|
|
62
57
|
"email": "garry.trinder@live.com",
|
|
@@ -81,6 +76,16 @@
|
|
|
81
76
|
"name": "Arjun Menon",
|
|
82
77
|
"email": "arjun.umenon@gmail.com",
|
|
83
78
|
"web": "https://arjunumenon.com/"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "Adam Wojcik",
|
|
82
|
+
"email": "adam.wojcik.it@gmail.com",
|
|
83
|
+
"web": "https://github.com/Adam-it/"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "Martin Lingstuyl",
|
|
87
|
+
"email": "mlingstuyl@live.com",
|
|
88
|
+
"web": "https://www.blimped.nl/"
|
|
84
89
|
}
|
|
85
90
|
],
|
|
86
91
|
"contributors": [
|
|
@@ -128,7 +133,7 @@
|
|
|
128
133
|
"Laskewitz, Daniel <daniel@laskewitz.nl>",
|
|
129
134
|
"Lengelle, Veronique <25181757+veronicageek@users.noreply.github.com>",
|
|
130
135
|
"Levert, Sebastien <slevert@outlook.com>",
|
|
131
|
-
"Lingstuyl, Martin <
|
|
136
|
+
"Lingstuyl, Martin <mlingstuyl@live.com>",
|
|
132
137
|
"Maillot, Michaël <battosaimykle@gmail.com>",
|
|
133
138
|
"Mastykarz, Waldek <waldek@mastykarz.nl>",
|
|
134
139
|
"McDonnell, Kevin <kevin@mcd79.com>",
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const utils_1 = require("../../../../utils");
|
|
4
|
-
const Auth_1 = require("../../../../Auth");
|
|
5
|
-
const request_1 = require("../../../../request");
|
|
6
|
-
const GraphCommand_1 = require("../../../base/GraphCommand");
|
|
7
|
-
const commands_1 = require("../../commands");
|
|
8
|
-
class PlannerTaskDetailsGetCommand extends GraphCommand_1.default {
|
|
9
|
-
get name() {
|
|
10
|
-
return commands_1.default.TASK_DETAILS_GET;
|
|
11
|
-
}
|
|
12
|
-
get description() {
|
|
13
|
-
return 'Retrieve the details of the specified planner task';
|
|
14
|
-
}
|
|
15
|
-
commandAction(logger, args, cb) {
|
|
16
|
-
if (utils_1.accessToken.isAppOnlyAccessToken(Auth_1.default.service.accessTokens[this.resource].accessToken)) {
|
|
17
|
-
this.handleError('This command does not support application permissions.', logger, cb);
|
|
18
|
-
return;
|
|
19
|
-
}
|
|
20
|
-
const requestOptions = {
|
|
21
|
-
url: `${this.resource}/v1.0/planner/tasks/${encodeURIComponent(args.options.taskId)}/details`,
|
|
22
|
-
headers: {
|
|
23
|
-
accept: 'application/json;odata.metadata=none'
|
|
24
|
-
},
|
|
25
|
-
responseType: 'json'
|
|
26
|
-
};
|
|
27
|
-
request_1.default
|
|
28
|
-
.get(requestOptions)
|
|
29
|
-
.then((res) => {
|
|
30
|
-
logger.log(res);
|
|
31
|
-
cb();
|
|
32
|
-
}, (err) => this.handleRejectedODataJsonPromise(err, logger, cb));
|
|
33
|
-
}
|
|
34
|
-
options() {
|
|
35
|
-
const options = [
|
|
36
|
-
{
|
|
37
|
-
option: '-i, --taskId <taskId>'
|
|
38
|
-
}
|
|
39
|
-
];
|
|
40
|
-
const parentOptions = super.options();
|
|
41
|
-
return options.concat(parentOptions);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
module.exports = new PlannerTaskDetailsGetCommand();
|
|
45
|
-
//# sourceMappingURL=task-details-get.js.map
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# planner task details get
|
|
2
|
-
|
|
3
|
-
Retrieve the details of the specified planner task
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
```sh
|
|
8
|
-
m365 planner task details get [options]
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Options
|
|
12
|
-
|
|
13
|
-
`-i, --taskId <taskId>`
|
|
14
|
-
: ID of the task to retrieve details from
|
|
15
|
-
|
|
16
|
-
--8<-- "docs/cmd/_global.md"
|
|
17
|
-
|
|
18
|
-
## Examples
|
|
19
|
-
|
|
20
|
-
Retrieve the details of the specified planner task
|
|
21
|
-
|
|
22
|
-
```sh
|
|
23
|
-
m365 planner task details get --taskId 'vzCcZoOv-U27PwydxHB8opcADJo-'
|
|
24
|
-
```
|