@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.
Files changed (100) hide show
  1. package/.devcontainer/Dockerfile +1 -1
  2. package/.eslintrc.js +1 -0
  3. package/dist/m365/aad/commands/o365group/o365group-conversation-post-list.js +4 -19
  4. package/dist/m365/aad/commands/o365group/o365group-get.js +3 -9
  5. package/dist/m365/base/PlannerCommand.js +10 -0
  6. package/dist/m365/flow/commands/flow-export.js +3 -3
  7. package/dist/m365/planner/commands/bucket/bucket-add.js +4 -16
  8. package/dist/m365/planner/commands/bucket/bucket-get.js +4 -18
  9. package/dist/m365/planner/commands/bucket/bucket-list.js +4 -17
  10. package/dist/m365/planner/commands/bucket/bucket-remove.js +4 -18
  11. package/dist/m365/planner/commands/bucket/bucket-set.js +4 -18
  12. package/dist/m365/planner/commands/plan/plan-add.js +4 -16
  13. package/dist/m365/planner/commands/plan/plan-details-get.js +4 -19
  14. package/dist/m365/planner/commands/plan/plan-get.js +4 -17
  15. package/dist/m365/planner/commands/plan/plan-list.js +4 -17
  16. package/dist/m365/planner/commands/task/task-add.js +4 -16
  17. package/dist/m365/planner/commands/task/task-checklistitem-add.js +89 -0
  18. package/dist/m365/planner/commands/task/task-get.js +40 -29
  19. package/dist/m365/planner/commands/task/task-list.js +4 -16
  20. package/dist/m365/planner/commands/task/task-remove.js +201 -0
  21. package/dist/m365/planner/commands/task/task-set.js +4 -16
  22. package/dist/m365/planner/commands/tenant/tenant-settings-list.js +33 -0
  23. package/dist/m365/planner/commands.js +5 -2
  24. package/dist/m365/spo/commands/contenttype/contenttype-add.js +1 -1
  25. package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +1 -1
  26. package/dist/m365/spo/commands/contenttype/contenttype-get.js +1 -1
  27. package/dist/m365/spo/commands/eventreceiver/eventreceiver-get.js +3 -3
  28. package/dist/m365/spo/commands/eventreceiver/eventreceiver-list.js +102 -0
  29. package/dist/m365/spo/commands/field/field-add.js +1 -1
  30. package/dist/m365/spo/commands/field/field-get.js +5 -5
  31. package/dist/m365/spo/commands/field/field-list.js +3 -3
  32. package/dist/m365/spo/commands/field/field-remove.js +5 -5
  33. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +1 -1
  34. package/dist/m365/spo/commands/list/list-contenttype-add.js +3 -3
  35. package/dist/m365/spo/commands/list/list-contenttype-default-set.js +2 -2
  36. package/dist/m365/spo/commands/list/list-contenttype-list.js +3 -3
  37. package/dist/m365/spo/commands/list/list-contenttype-remove.js +3 -3
  38. package/dist/m365/spo/commands/list/list-get.js +2 -2
  39. package/dist/m365/spo/commands/list/list-label-get.js +3 -3
  40. package/dist/m365/spo/commands/list/list-label-set.js +2 -2
  41. package/dist/m365/spo/commands/list/list-remove.js +2 -2
  42. package/dist/m365/spo/commands/list/list-roleinheritance-break.js +2 -2
  43. package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +2 -2
  44. package/dist/m365/spo/commands/list/list-sitescript-get.js +3 -3
  45. package/dist/m365/spo/commands/list/list-view-add.js +3 -3
  46. package/dist/m365/spo/commands/list/list-view-field-add.js +2 -2
  47. package/dist/m365/spo/commands/list/list-view-field-remove.js +2 -2
  48. package/dist/m365/spo/commands/list/list-view-field-set.js +2 -2
  49. package/dist/m365/spo/commands/list/list-view-get.js +4 -4
  50. package/dist/m365/spo/commands/list/list-view-list.js +3 -3
  51. package/dist/m365/spo/commands/list/list-view-remove.js +3 -3
  52. package/dist/m365/spo/commands/list/list-view-set.js +3 -3
  53. package/dist/m365/spo/commands/list/list-webhook-add.js +3 -3
  54. package/dist/m365/spo/commands/list/list-webhook-get.js +3 -3
  55. package/dist/m365/spo/commands/list/list-webhook-list.js +5 -5
  56. package/dist/m365/spo/commands/list/list-webhook-remove.js +4 -4
  57. package/dist/m365/spo/commands/list/list-webhook-set.js +3 -3
  58. package/dist/m365/spo/commands/listitem/listitem-add.js +2 -2
  59. package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +2 -2
  60. package/dist/m365/spo/commands/listitem/listitem-get.js +2 -2
  61. package/dist/m365/spo/commands/listitem/listitem-isrecord.js +2 -2
  62. package/dist/m365/spo/commands/listitem/listitem-list.js +31 -11
  63. package/dist/m365/spo/commands/listitem/listitem-record-declare.js +2 -2
  64. package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +2 -2
  65. package/dist/m365/spo/commands/listitem/listitem-remove.js +2 -2
  66. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +2 -2
  67. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +2 -2
  68. package/dist/m365/spo/commands/listitem/listitem-set.js +2 -2
  69. package/dist/m365/spo/commands/roledefinition/roledefinition-remove.js +82 -0
  70. package/dist/m365/spo/commands/site/site-remove.js +23 -37
  71. package/dist/m365/spo/commands.js +2 -0
  72. package/dist/m365/teams/commands/app/app-list.js +6 -20
  73. package/dist/m365/teams/commands/channel/channel-get.js +6 -19
  74. package/dist/m365/teams/commands/channel/channel-list.js +6 -18
  75. package/dist/m365/teams/commands/channel/channel-member-add.js +7 -18
  76. package/dist/m365/teams/commands/channel/channel-member-list.js +6 -19
  77. package/dist/m365/teams/commands/channel/channel-member-remove.js +6 -19
  78. package/dist/m365/teams/commands/channel/channel-member-set.js +6 -19
  79. package/dist/m365/teams/commands/tab/tab-get.js +6 -19
  80. package/dist/m365/teams/commands/team/team-add.js +2 -7
  81. package/dist/m365/teams/commands/team/team-get.js +6 -19
  82. package/dist/utils/aadGroup.js +57 -0
  83. package/dist/utils/index.js +2 -0
  84. package/dist/utils/validation.js +12 -2
  85. package/docs/docs/cmd/file/file-list.md +4 -4
  86. package/docs/docs/cmd/planner/bucket/bucket-set.md +4 -4
  87. package/docs/docs/cmd/planner/plan/plan-details-get.md +2 -2
  88. package/docs/docs/cmd/planner/plan/plan-get.md +4 -4
  89. package/docs/docs/cmd/planner/task/task-checklistitem-add.md +36 -0
  90. package/docs/docs/cmd/planner/task/task-get.md +3 -0
  91. package/docs/docs/cmd/planner/task/task-remove.md +78 -0
  92. package/docs/docs/cmd/planner/task/task-set.md +2 -2
  93. package/docs/docs/cmd/planner/tenant/tenant-settings-list.md +28 -0
  94. package/docs/docs/cmd/spo/eventreceiver/eventreceiver-list.md +64 -0
  95. package/docs/docs/cmd/spo/file/file-checkout.md +1 -1
  96. package/docs/docs/cmd/spo/listitem/listitem-list.md +16 -10
  97. package/docs/docs/cmd/spo/roledefinition/roledefinition-remove.md +36 -0
  98. package/package.json +12 -7
  99. package/dist/m365/planner/commands/task/task-details-get.js +0 -45
  100. 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.d01ee78",
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 <martin@i4-you.com>",
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
- ```