@pnp/cli-microsoft365 6.3.0-beta.3f7129c → 6.3.0-beta.4c3b2c9

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 (97) hide show
  1. package/.eslintrc.js +6 -0
  2. package/dist/Command.js +12 -1
  3. package/dist/cli/Cli.js +4 -1
  4. package/dist/m365/aad/commands/group/group-list.js +2 -1
  5. package/dist/m365/base/O365MgmtCommand.js +10 -0
  6. package/dist/m365/graph/commands/changelog/changelog-list.js +3 -2
  7. package/dist/m365/onenote/commands/notebook/notebook-list.js +51 -40
  8. package/dist/m365/planner/commands/plan/plan-add.js +20 -6
  9. package/dist/m365/planner/commands/plan/plan-get.js +34 -27
  10. package/dist/m365/planner/commands/plan/plan-list.js +24 -14
  11. package/dist/m365/planner/commands/plan/plan-remove.js +1 -1
  12. package/dist/m365/planner/commands/roster/roster-member-add.js +113 -0
  13. package/dist/m365/planner/commands/roster/roster-member-list.js +54 -0
  14. package/dist/m365/planner/commands/task/task-add.js +3 -0
  15. package/dist/m365/planner/commands/task/task-checklistitem-add.js +2 -1
  16. package/dist/m365/planner/commands/task/task-checklistitem-list.js +2 -1
  17. package/dist/m365/planner/commands.js +2 -0
  18. package/dist/m365/pp/commands/solution/solution-get.js +2 -1
  19. package/dist/m365/pp/commands/solution/solution-list.js +2 -1
  20. package/dist/m365/purview/commands/auditlog/auditlog-list.js +205 -0
  21. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +70 -0
  22. package/dist/m365/purview/commands.js +2 -0
  23. package/dist/m365/spfx/commands/project/WebApiPermissionRequests.js +3 -0
  24. package/dist/m365/spfx/commands/project/project-permissions-grant.js +81 -0
  25. package/dist/m365/spfx/commands.js +3 -2
  26. package/dist/m365/spo/commands/app/app-add.js +2 -1
  27. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-add.js +95 -0
  28. package/dist/m365/spo/commands/file/GraphFileDetails.js +0 -1
  29. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +2 -1
  30. package/dist/m365/spo/commands/file/file-sharinglink-add.js +2 -22
  31. package/dist/m365/spo/commands/file/file-sharinglink-clear.js +137 -0
  32. package/dist/m365/spo/commands/file/file-sharinglink-get.js +2 -25
  33. package/dist/m365/spo/commands/file/file-sharinglink-list.js +9 -29
  34. package/dist/m365/spo/commands/file/file-sharinglink-remove.js +2 -25
  35. package/dist/m365/spo/commands/file/file-sharinglink-set.js +104 -0
  36. package/dist/m365/spo/commands/group/group-list.js +2 -1
  37. package/dist/m365/spo/commands/hubsite/hubsite-get.js +1 -1
  38. package/dist/m365/spo/commands/listitem/listitem-list.js +2 -1
  39. package/dist/m365/spo/commands/page/page-column-get.js +2 -1
  40. package/dist/m365/spo/commands/page/page-column-list.js +2 -1
  41. package/dist/m365/spo/commands/page/page-section-get.js +2 -1
  42. package/dist/m365/spo/commands/page/page-section-list.js +2 -1
  43. package/dist/m365/spo/commands/sitedesign/sitedesign-add.js +6 -0
  44. package/dist/m365/spo/commands/spo-search.js +2 -1
  45. package/dist/m365/spo/commands/term/term-list.js +2 -1
  46. package/dist/m365/spo/commands/userprofile/userprofile-get.js +2 -2
  47. package/dist/m365/spo/commands.js +3 -0
  48. package/dist/m365/teams/commands/meeting/meeting-list.js +1 -1
  49. package/dist/m365/teams/commands/team/team-app-list.js +1 -1
  50. package/dist/m365/teams/commands/user/user-app-list.js +2 -1
  51. package/dist/m365/todo/commands/task/task-get.js +2 -1
  52. package/dist/m365/todo/commands/task/task-list.js +2 -1
  53. package/dist/m365/yammer/commands/yammer-search.js +2 -1
  54. package/dist/utils/planner.js +19 -5
  55. package/dist/utils/spo.js +28 -0
  56. package/docs/docs/cmd/pa/app/app-get.md +24 -0
  57. package/docs/docs/cmd/pa/app/app-list.md +21 -0
  58. package/docs/docs/cmd/pa/connector/connector-list.md +17 -0
  59. package/docs/docs/cmd/pa/environment/environment-get.md +18 -0
  60. package/docs/docs/cmd/pa/environment/environment-list.md +19 -0
  61. package/docs/docs/cmd/planner/plan/plan-add.md +17 -6
  62. package/docs/docs/cmd/planner/plan/plan-get.md +16 -2
  63. package/docs/docs/cmd/planner/plan/plan-list.md +16 -2
  64. package/docs/docs/cmd/planner/roster/roster-member-add.md +87 -0
  65. package/docs/docs/cmd/planner/roster/roster-member-list.md +76 -0
  66. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.md +43 -0
  67. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.md +43 -0
  68. package/docs/docs/cmd/pp/card/card-clone.md +12 -0
  69. package/docs/docs/cmd/pp/card/card-get.md +49 -0
  70. package/docs/docs/cmd/pp/card/card-list.md +49 -0
  71. package/docs/docs/cmd/pp/chatbot/chatbot-get.md +55 -0
  72. package/docs/docs/cmd/pp/chatbot/chatbot-list.md +36 -0
  73. package/docs/docs/cmd/pp/dataverse/dataverse-table-get.md +30 -0
  74. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +30 -0
  75. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.md +30 -0
  76. package/docs/docs/cmd/pp/environment/environment-get.md +19 -0
  77. package/docs/docs/cmd/pp/environment/environment-list.md +19 -0
  78. package/docs/docs/cmd/pp/gateway/gateway-get.md +19 -0
  79. package/docs/docs/cmd/pp/gateway/gateway-list.md +19 -0
  80. package/docs/docs/cmd/pp/managementapp/managementapp-add.md +12 -0
  81. package/docs/docs/cmd/pp/managementapp/managementapp-list.md +12 -0
  82. package/docs/docs/cmd/pp/solution/solution-get.md +14 -0
  83. package/docs/docs/cmd/pp/solution/solution-list.md +14 -0
  84. package/docs/docs/cmd/pp/solution/solution-publisher-get.md +20 -1
  85. package/docs/docs/cmd/pp/solution/solution-publisher-list.md +18 -0
  86. package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +21 -0
  87. package/docs/docs/cmd/purview/auditlog/auditlog-list.md +123 -0
  88. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.md +100 -0
  89. package/docs/docs/cmd/spfx/project/project-permissions-grant.md +65 -0
  90. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.md +56 -0
  91. package/docs/docs/cmd/spo/file/file-sharinglink-clear.md +46 -0
  92. package/docs/docs/cmd/spo/file/file-sharinglink-list.md +1 -1
  93. package/docs/docs/cmd/spo/file/file-sharinglink-set.md +104 -0
  94. package/docs/docs/cmd/spo/navigation/navigation-node-add.md +1 -1
  95. package/docs/docs/cmd/spo/navigation/navigation-node-set.md +1 -1
  96. package/docs/docs/cmd/spo/sitedesign/sitedesign-add.md +3 -0
  97. package/package.json +1 -1
@@ -0,0 +1,104 @@
1
+ # spo file sharinglink set
2
+
3
+ Updates a sharing link of a file
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo file sharinglink set [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --webUrl <webUrl>`
14
+ : The URL of the site where the file is located.
15
+
16
+ `--fileUrl [fileUrl]`
17
+ : The server-relative (decoded) URL of the file. Specify either `fileUrl` or `fileId` but not both.
18
+
19
+ `--fileId [fileId]`
20
+ : The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
21
+
22
+ `--id <id>`
23
+ : The ID of the sharing link.
24
+
25
+ `--expirationDateTime <expirationDateTime>`
26
+ : The date and time to set the expiration. This should be defined as a valid ISO 8601 string. This options only works for anonymous links.
27
+
28
+ --8<-- "docs/cmd/_global.md"
29
+
30
+ ## Examples
31
+
32
+ Updates an anonymous sharing link from a file by a specified site-relative URL with the expirationDateTime parameter
33
+
34
+ ```sh
35
+ m365 spo file sharinglink set --webUrl https://contoso.sharepoint.com --fileUrl "/sites/demo/Shared Documents/Document.docx" --id 7c9f97c9-1bda-433c-9364-bb83e81771ee --expirationDateTime "2023-01-09T16:57:00.000Z"
36
+ ```
37
+
38
+ Updates an anonymous sharing link from a file by id with the expirationDateTime parameter
39
+
40
+ ```sh
41
+ m365 spo file sharinglink set --webUrl https://contoso.sharepoint.com --fileId daebb04b-a773-4baa-b1d1-3625418e3234 --id 7c9f97c9-1bda-433c-9364-bb83e81771ee --expirationDateTime "2023-01-09T16:57:00.000Z"
42
+ ```
43
+
44
+ ## Response
45
+
46
+ === "JSON"
47
+
48
+ ```json
49
+ {
50
+ "id": "7c9f97c9-1bda-433c-9364-bb83e81771ee",
51
+ "roles": [
52
+ "read"
53
+ ],
54
+ "expirationDateTime": "2023-02-09T16:57:00Z",
55
+ "hasPassword": false,
56
+ "grantedToIdentitiesV2": [],
57
+ "grantedToIdentities": [],
58
+ "link": {
59
+ "scope": "anonymous",
60
+ "type": "view",
61
+ "webUrl": "https://contoso.sharepoint.com/:b:/g/EbZx4QPyndlGp6HV-gvSPksBftmUNAiXjm0y-_527_fI9g",
62
+ "preventsDownload": false
63
+ }
64
+ }
65
+ ```
66
+
67
+ === "Text"
68
+
69
+ ```text
70
+ expirationDateTime : 2023-02-09T16:57:00Z
71
+ grantedToIdentities : []
72
+ grantedToIdentitiesV2: []
73
+ hasPassword : false
74
+ id : 7c9f97c9-1bda-433c-9364-bb83e81771ee
75
+ link : {"scope":"anonymous","type":"view","webUrl":"https://contoso.sharepoint.com/:b:/g/EbZx4QPyndlGp6HV-gvSPksBftmUNAiXjm0y-_527_fI9g","preventsDownload":false}
76
+ roles : ["read"]
77
+ ```
78
+
79
+ === "CSV"
80
+
81
+ ```csv
82
+ id,roles,expirationDateTime,hasPassword,grantedToIdentitiesV2,grantedToIdentities,link
83
+ 7c9f97c9-1bda-433c-9364-bb83e81771ee,"[""read""]",2023-02-09T16:57:00Z,,[],[],"{""scope"":""anonymous"",""type"":""view"",""webUrl"":""https://contoso.sharepoint.com/:b:/g/EbZx4QPyndlGp6HV-gvSPksBftmUNAiXjm0y-_527_fI9g"",""preventsDownload"":false}"
84
+ ```
85
+
86
+ === "Markdown"
87
+
88
+ ```md
89
+ # spo file sharinglink set --webUrl "https://contoso.sharepoint.com" --fileUrl "/sites/demo/Shared Documents/Document.docx" --expirationDateTime "2023-02-09T16:57:00.000Z" --id "7c9f97c9-1bda-433c-9364-bb83e81771ee"
90
+
91
+ Date: 5/2/2023
92
+
93
+ ## 7c9f97c9-1bda-433c-9364-bb83e81771ee
94
+
95
+ Property | Value
96
+ ---------|-------
97
+ id | 7c9f97c9-1bda-433c-9364-bb83e81771ee
98
+ roles | ["read"]
99
+ expirationDateTime | 2023-02-09T16:57:00Z
100
+ hasPassword | false
101
+ grantedToIdentitiesV2 | []
102
+ grantedToIdentities | []
103
+ link | {"scope":"anonymous","type":"view","webUrl":"https://contoso.sharepoint.com/:b:/g/EbZx4QPyndlGp6HV-gvSPksBftmUNAiXjm0y-\_527\_fI9g","preventsDownload":false}
104
+ ```
@@ -35,7 +35,7 @@ m365 spo navigation node add [options]
35
35
 
36
36
  ## Remarks
37
37
 
38
- In order to use option `audienceIds`, make sure that audience targeted navigation is enabled using command [spo web set](../web/web-set.md).
38
+ To enable/disable audience targeting for the navigation bar, use the [`spo web set`](../web/web-set.md) command.
39
39
 
40
40
  ## Examples
41
41
 
@@ -32,7 +32,7 @@ m365 spo navigation node set [options]
32
32
 
33
33
  ## Remarks
34
34
 
35
- To enable/disable audience targeting for the nsavigation bar, use command [`spo web set`](../web/web-set.md).
35
+ To enable/disable audience targeting for the navigation bar, use the [`spo web set`](../web/web-set.md) command.
36
36
 
37
37
  ## Examples
38
38
 
@@ -28,6 +28,9 @@ m365 spo sitedesign add [options]
28
28
  `-a, --previewImageAltText [previewImageAltText]`
29
29
  : The alt text description of the image for accessibility
30
30
 
31
+ `--thumbnailUrl [thumbnailUrl]`
32
+ : The new URL of a thumbnail image. If none is specified SharePoint will use a generic image
33
+
31
34
  `--isDefault`
32
35
  : Set if the site design is applied as the default site design
33
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "6.3.0-beta.3f7129c",
3
+ "version": "6.3.0-beta.4c3b2c9",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",