@pnp/cli-microsoft365 6.3.0-beta.861847a → 6.3.0-beta.98b4bc2

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 (73) hide show
  1. package/dist/cli/Cli.js +38 -0
  2. package/dist/m365/aad/commands/user/user-add.js +223 -0
  3. package/dist/m365/aad/commands/user/user-license-list.js +99 -0
  4. package/dist/m365/aad/commands/user/user-recyclebinitem-clear.js +103 -0
  5. package/dist/m365/aad/commands/user/user-recyclebinitem-list.js +41 -0
  6. package/dist/m365/aad/commands/user/user-recyclebinitem-remove.js +92 -0
  7. package/dist/m365/aad/commands/user/user-remove.js +107 -0
  8. package/dist/m365/aad/commands.js +6 -0
  9. package/dist/m365/context/commands/option/option-list.js +54 -0
  10. package/dist/m365/context/commands.js +1 -0
  11. package/dist/m365/flow/commands/environment/FlowEnvironmentDetails.js +3 -0
  12. package/dist/m365/flow/commands/environment/environment-get.js +26 -11
  13. package/dist/m365/pa/commands/environment/environment-get.js +13 -5
  14. package/dist/m365/planner/commands/plan/plan-get.js +17 -10
  15. package/dist/m365/planner/commands/plan/plan-remove.js +1 -1
  16. package/dist/m365/planner/commands/plan/plan-set.js +21 -10
  17. package/dist/m365/planner/commands/roster/roster-get.js +61 -0
  18. package/dist/m365/planner/commands/roster/roster-member-remove.js +140 -0
  19. package/dist/m365/planner/commands.js +2 -0
  20. package/dist/m365/pp/commands/environment/environment-get.js +18 -9
  21. package/dist/m365/purview/commands/retentionevent/retentionevent-get.js +3 -4
  22. package/dist/m365/purview/commands/retentionevent/retentionevent-list.js +3 -4
  23. package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +97 -0
  24. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +5 -0
  25. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-list.js +3 -4
  26. package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +5 -0
  27. package/dist/m365/purview/commands/retentionlabel/retentionlabel-get.js +5 -0
  28. package/dist/m365/purview/commands/retentionlabel/retentionlabel-list.js +5 -0
  29. package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +5 -0
  30. package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +11 -1
  31. package/dist/m365/purview/commands.js +1 -0
  32. package/dist/m365/spo/commands/customaction/customaction-get.js +17 -66
  33. package/dist/m365/spo/commands/customaction/customaction-list.js +2 -36
  34. package/dist/m365/spo/commands/customaction/customaction-remove.js +11 -18
  35. package/dist/m365/spo/commands/navigation/navigation-node-get.js +73 -0
  36. package/dist/m365/spo/commands.js +1 -0
  37. package/dist/utils/aadUser.js +38 -0
  38. package/dist/utils/planner.js +1 -4
  39. package/dist/utils/spo.js +61 -0
  40. package/docs/docs/cmd/aad/user/user-add.md +168 -0
  41. package/docs/docs/cmd/aad/user/user-license-list.md +98 -0
  42. package/docs/docs/cmd/aad/user/user-recyclebinitem-clear.md +42 -0
  43. package/docs/docs/cmd/aad/user/user-recyclebinitem-list.md +82 -0
  44. package/docs/docs/cmd/aad/user/user-recyclebinitem-remove.md +45 -0
  45. package/docs/docs/cmd/aad/user/user-remove.md +51 -0
  46. package/docs/docs/cmd/context/option/option-list.md +63 -0
  47. package/docs/docs/cmd/flow/environment/environment-get.md +31 -3
  48. package/docs/docs/cmd/login.md +26 -0
  49. package/docs/docs/cmd/logout.md +4 -0
  50. package/docs/docs/cmd/pa/environment/environment-get.md +8 -2
  51. package/docs/docs/cmd/planner/plan/plan-get.md +12 -12
  52. package/docs/docs/cmd/planner/plan/plan-set.md +10 -4
  53. package/docs/docs/cmd/planner/roster/roster-get.md +73 -0
  54. package/docs/docs/cmd/planner/roster/roster-member-remove.md +51 -0
  55. package/docs/docs/cmd/purview/retentionevent/retentionevent-list.md +1 -1
  56. package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.md +45 -0
  57. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.md +3 -0
  58. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.md +1 -1
  59. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.md +3 -0
  60. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.md +3 -0
  61. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.md +3 -0
  62. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.md +3 -0
  63. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.md +3 -0
  64. package/docs/docs/cmd/request.md +74 -0
  65. package/docs/docs/cmd/spo/list/list-contenttype-add.md +1 -1
  66. package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +1 -1
  67. package/docs/docs/cmd/spo/list/list-contenttype-list.md +1 -1
  68. package/docs/docs/cmd/spo/list/list-contenttype-remove.md +1 -1
  69. package/docs/docs/cmd/spo/navigation/navigation-node-get.md +91 -0
  70. package/docs/docs/cmd/status.md +46 -0
  71. package/docs/docs/cmd/version.md +26 -0
  72. package/npm-shrinkwrap.json +911 -876
  73. package/package.json +12 -12
@@ -13,7 +13,7 @@ m365 spo list contenttype add [options]
13
13
  `-u, --webUrl <webUrl>`
14
14
  : URL of the site where the list is located.
15
15
 
16
- `-i, --listId [listId]`
16
+ `-l, --listId [listId]`
17
17
  : ID of the list. Specify either `listTitle`, `listId` or `listUrl`.
18
18
 
19
19
  `-t, --listTitle [listTitle]`
@@ -13,7 +13,7 @@ m365 spo list contenttype default set [options]
13
13
  `-u, --webUrl <webUrl>`
14
14
  : URL of the site where the list is located.
15
15
 
16
- `-i, --listId [listId]`
16
+ `-l, --listId [listId]`
17
17
  : ID of the list. Specify either `listTitle`, `listId` or `listUrl`.
18
18
 
19
19
  `-t, --listTitle [listTitle]`
@@ -13,7 +13,7 @@ m365 spo list contenttype list [options]
13
13
  `-u, --webUrl <webUrl>`
14
14
  : URL of the site where the list is located.
15
15
 
16
- `-i, --listId [listId]`
16
+ `-l, --listId [listId]`
17
17
  : ID of the list. Specify either `listTitle`, `listId` or `listUrl`.
18
18
 
19
19
  `-t, --listTitle [listTitle]`
@@ -13,7 +13,7 @@ m365 spo list contenttype remove [options]
13
13
  `-u, --webUrl <webUrl>`
14
14
  : URL of the site where the list is located.
15
15
 
16
- `-i, --listId [listId]`
16
+ `-l, --listId [listId]`
17
17
  : ID of the list. Specify either `listTitle`, `listId` or `listUrl`.
18
18
 
19
19
  `-t, --listTitle [listTitle]`
@@ -0,0 +1,91 @@
1
+ # spo navigation node get
2
+
3
+ Gets information about a specific navigation node.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo navigation node get [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --webUrl <webUrl>`
14
+ : Absolute URL of the site.
15
+
16
+ `--id <id>`
17
+ : Id of the navigation node.
18
+
19
+ --8<-- "docs/cmd/_global.md"
20
+
21
+ ## Examples
22
+
23
+ Retrieve information for a specific navigation node.
24
+
25
+ ```sh
26
+ m365 spo navigation node get --webUrl https://contoso.sharepoint.com/sites/team-a --id 2209
27
+ ```
28
+
29
+ ## Response
30
+
31
+ === "JSON"
32
+
33
+ ```json
34
+ {
35
+ "AudienceIds": [
36
+ "0d718612-8407-4d6b-833c-6891a553354f",
37
+ "f864446f-b4d7-475a-a2ba-1080c6474020"
38
+ ],
39
+ "CurrentLCID": 1033,
40
+ "Id": 2209,
41
+ "IsDocLib": true,
42
+ "IsExternal": false,
43
+ "IsVisible": true,
44
+ "ListTemplateType": 100,
45
+ "Title": "Work Status",
46
+ "Url": "/sites/team-a/Lists/Work Status/AllItems.aspx"
47
+ }
48
+ ```
49
+
50
+ === "Text"
51
+
52
+ ```text
53
+ AudienceIds : ["0d718612-8407-4d6b-833c-6891a553354f", "f864446f-b4d7-475a-a2ba-1080c6474020"]
54
+ CurrentLCID : 1033
55
+ Id : 2209
56
+ IsDocLib : true
57
+ IsExternal : false
58
+ IsVisible : true
59
+ ListTemplateType: 100
60
+ Title : Work Status
61
+ Url : /sites/team-a/Lists/Work Status/AllItems.aspx
62
+ ```
63
+
64
+ === "CSV"
65
+
66
+ ```csv
67
+ AudienceIds,CurrentLCID,Id,IsDocLib,IsExternal,IsVisible,ListTemplateType,Title,Url
68
+ [""0d718612-8407-4d6b-833c-6891a553354f"", ""f864446f-b4d7-475a-a2ba-1080c6474020""],1033,2209,1,,1,100,Work Status,/sites/team-a/Lists/Work Status/AllItems.aspx
69
+ ```
70
+
71
+ === "Markdown"
72
+
73
+ ```md
74
+ # spo navigation node get --webUrl "https://contoso.sharepoint.com/sites/team-a" --id "2209"
75
+
76
+ Date: 1/29/2023
77
+
78
+ ## Work Status (2209)
79
+
80
+ Property | Value
81
+ ---------|-------
82
+ AudienceIds | ["0d718612-8407-4d6b-833c-6891a553354f", "f864446f-b4d7-475a-a2ba-1080c6474020"]
83
+ CurrentLCID | 1033
84
+ Id | 2209
85
+ IsDocLib | true
86
+ IsExternal | false
87
+ IsVisible | true
88
+ ListTemplateType | 100
89
+ Title | Work Status
90
+ Url | /sites/team-a/Lists/Work Status/AllItems.aspx
91
+ ```
@@ -23,3 +23,49 @@ Show the information about the current login to the Microsoft 365
23
23
  ```sh
24
24
  m365 status
25
25
  ```
26
+
27
+ ## Response
28
+
29
+ === "JSON"
30
+
31
+ ```json
32
+ {
33
+ "connectedAs": "john.doe@contoso.onmicrosoft.com",
34
+ "authType": "DeviceCode",
35
+ "appId": "31359c7f-bd7e-475c-86db-fdb8c937548e",
36
+ "appTenant": "common"
37
+ }
38
+ ```
39
+
40
+ === "Text"
41
+
42
+ ```text
43
+ appId : 31359c7f-bd7e-475c-86db-fdb8c937548e
44
+ appTenant : common
45
+ authType : DeviceCode
46
+ connectedAs: john.doe@contoso.onmicrosoft.com
47
+ ```
48
+
49
+ === "CSV"
50
+
51
+ ```csv
52
+ connectedAs,authType,appId,appTenant
53
+ john.doe@contoso.onmicrosoft.com,DeviceCode,31359c7f-bd7e-475c-86db-fdb8c937548e,common
54
+ ```
55
+
56
+ === "Markdown"
57
+
58
+ ```md
59
+ # status
60
+
61
+ Date: 7/2/2023
62
+
63
+
64
+
65
+ Property | Value
66
+ ---------|-------
67
+ connectedAs | john.doe@contoso.onmicrosoft.com
68
+ authType | DeviceCode
69
+ appId | 31359c7f-bd7e-475c-86db-fdb8c937548e
70
+ appTenant | common
71
+ ```
@@ -19,3 +19,29 @@ Show the version of CLI for Microsoft 365
19
19
  ```sh
20
20
  m365 version
21
21
  ```
22
+
23
+ ## Response
24
+
25
+ === "JSON"
26
+
27
+ ```json
28
+ v6.3.0
29
+ ```
30
+
31
+ === "Text"
32
+
33
+ ```text
34
+ v6.3.0
35
+ ```
36
+
37
+ === "CSV"
38
+
39
+ ```csv
40
+ v6.3.0
41
+ ```
42
+
43
+ === "Markdown"
44
+
45
+ ```md
46
+ v6.3.0
47
+ ```