@pnp/cli-microsoft365 9.0.0-beta.e16d09c → 9.0.0-beta.f2c5f82

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 (95) hide show
  1. package/allCommands.json +1 -1
  2. package/allCommandsFull.json +1 -1
  3. package/dist/cli/cli.js +11 -6
  4. package/dist/config.js +1 -1
  5. package/dist/m365/app/commands/permission/permission-add.js +9 -9
  6. package/dist/m365/cli/commands/cli-consent.js +3 -7
  7. package/dist/m365/commands/status.js +2 -2
  8. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-add.js +13 -13
  9. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-get.js +18 -18
  10. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-list.js +1 -1
  11. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-remove.js +123 -0
  12. package/dist/m365/entra/commands/group/group-set.js +256 -0
  13. package/dist/m365/entra/commands/group/group-user-list.js +4 -4
  14. package/dist/m365/entra/commands/m365group/m365group-conversation-post-list.js +4 -4
  15. package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-list.js +3 -3
  16. package/dist/m365/entra/commands/m365group/m365group-user-add.js +109 -32
  17. package/dist/m365/entra/commands/m365group/m365group-user-list.js +6 -9
  18. package/dist/m365/entra/commands/m365group/m365group-user-set.js +159 -84
  19. package/dist/m365/entra/commands.js +3 -0
  20. package/dist/m365/flow/commands/flow-get.js +1 -1
  21. package/dist/m365/outlook/commands/message/message-get.js +11 -11
  22. package/dist/m365/pa/commands/app/app-export.js +13 -7
  23. package/dist/m365/spfx/commands/project/DeployWorkflow.js +1 -1
  24. package/dist/m365/spfx/commands/project/project-github-workflow-add.js +1 -10
  25. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-get.js +0 -1
  26. package/dist/m365/spo/commands/file/file-copy.js +55 -34
  27. package/dist/m365/spo/commands/folder/folder-set.js +0 -4
  28. package/dist/m365/spo/commands/folder/folder-sharinglink-get.js +86 -0
  29. package/dist/m365/spo/commands/folder/folder-sharinglink-list.js +110 -0
  30. package/dist/m365/spo/commands/list/ListInstance.js +6 -1
  31. package/dist/m365/spo/commands/list/list-get.js +9 -3
  32. package/dist/m365/spo/commands/list/list-list.js +1 -4
  33. package/dist/m365/spo/commands/site/site-appcatalog-remove.js +48 -24
  34. package/dist/m365/spo/commands/site/site-remove.js +1 -7
  35. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +2 -22
  36. package/dist/m365/spo/commands.js +2 -1
  37. package/dist/m365/teams/commands/message/message-restore.js +106 -0
  38. package/dist/m365/teams/commands.js +1 -0
  39. package/dist/m365/viva/commands/engage/engage-group-list.js +0 -5
  40. package/dist/m365/viva/commands/engage/engage-group-user-add.js +0 -5
  41. package/dist/m365/viva/commands/engage/engage-group-user-remove.js +0 -5
  42. package/dist/m365/viva/commands/engage/engage-message-add.js +0 -5
  43. package/dist/m365/viva/commands/engage/engage-message-get.js +0 -5
  44. package/dist/m365/viva/commands/engage/engage-message-like-set.js +0 -5
  45. package/dist/m365/viva/commands/engage/engage-message-list.js +0 -5
  46. package/dist/m365/viva/commands/engage/engage-message-remove.js +0 -5
  47. package/dist/m365/viva/commands/engage/engage-network-list.js +0 -5
  48. package/dist/m365/viva/commands/engage/engage-report-activitycounts.js +0 -8
  49. package/dist/m365/viva/commands/engage/engage-report-activityusercounts.js +0 -8
  50. package/dist/m365/viva/commands/engage/engage-report-activityuserdetail.js +0 -8
  51. package/dist/m365/viva/commands/engage/engage-report-deviceusagedistributionusercounts.js +0 -8
  52. package/dist/m365/viva/commands/engage/engage-report-deviceusageusercounts.js +0 -8
  53. package/dist/m365/viva/commands/engage/engage-report-deviceusageuserdetail.js +0 -8
  54. package/dist/m365/viva/commands/engage/engage-report-groupsactivitycounts.js +0 -8
  55. package/dist/m365/viva/commands/engage/engage-report-groupsactivitydetail.js +0 -8
  56. package/dist/m365/viva/commands/engage/engage-report-groupsactivitygroupcounts.js +0 -8
  57. package/dist/m365/viva/commands/engage/engage-search.js +0 -5
  58. package/dist/m365/viva/commands/engage/engage-user-get.js +0 -5
  59. package/dist/m365/viva/commands/engage/engage-user-list.js +0 -5
  60. package/dist/utils/drive.js +61 -0
  61. package/dist/utils/spo.js +106 -0
  62. package/docs/docs/cmd/app/permission/permission-add.mdx +5 -5
  63. package/docs/docs/cmd/cli/cli-consent.mdx +1 -1
  64. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-add.mdx +12 -12
  65. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-get.mdx +14 -14
  66. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-list.mdx +5 -5
  67. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-remove.mdx +65 -0
  68. package/docs/docs/cmd/entra/group/group-add.mdx +0 -4
  69. package/docs/docs/cmd/entra/group/group-set.mdx +89 -0
  70. package/docs/docs/cmd/entra/group/group-user-list.mdx +7 -7
  71. package/docs/docs/cmd/entra/m365group/m365group-conversation-post-list.mdx +5 -5
  72. package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-list.mdx +3 -3
  73. package/docs/docs/cmd/entra/m365group/m365group-user-add.mdx +28 -10
  74. package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +1 -1
  75. package/docs/docs/cmd/entra/m365group/m365group-user-set.mdx +35 -11
  76. package/docs/docs/cmd/flow/flow-get.mdx +149 -283
  77. package/docs/docs/cmd/outlook/message/message-get.mdx +5 -5
  78. package/docs/docs/cmd/pa/app/app-export.mdx +15 -9
  79. package/docs/docs/cmd/spfx/project/project-github-workflow-add.mdx +11 -12
  80. package/docs/docs/cmd/spo/app/app-uninstall.mdx +1 -1
  81. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +6 -5
  82. package/docs/docs/cmd/spo/file/file-copy.mdx +119 -12
  83. package/docs/docs/cmd/spo/folder/folder-set.mdx +0 -6
  84. package/docs/docs/cmd/spo/folder/folder-sharinglink-get.mdx +110 -0
  85. package/docs/docs/cmd/spo/folder/folder-sharinglink-list.mdx +114 -0
  86. package/docs/docs/cmd/spo/list/list-get.mdx +6 -0
  87. package/docs/docs/cmd/spo/list/list-list.mdx +5 -7
  88. package/docs/docs/cmd/spo/site/site-appcatalog-remove.mdx +11 -2
  89. package/docs/docs/cmd/spo/site/site-remove.mdx +0 -3
  90. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.mdx +2 -49
  91. package/docs/docs/cmd/teams/message/message-remove.mdx +2 -1
  92. package/docs/docs/cmd/teams/message/message-restore.mdx +62 -0
  93. package/npm-shrinkwrap.json +572 -478
  94. package/package.json +22 -23
  95. package/dist/m365/viva/commands/engage/yammerCommands.js +0 -25
@@ -0,0 +1,62 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # teams message restore
6
+
7
+ Restores a deleted message from a channel in a Microsoft Teams team
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 teams message restore [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `--teamId [teamId]`
19
+ : ID of the Microsoft Teams team. Specify either `teamId` or `teamName` but not both.
20
+
21
+ `--teamName [teamName]`
22
+ : Name of the Microsoft Teams team. Specify either `teamId` or `teamName` but not both.
23
+
24
+ `--channelId [channelId]`
25
+ : Channel ID of the Microsoft Teams team. Specify either `channelId` or `channelName` but not both.
26
+
27
+ `--channelName [channelName]`
28
+ : Channel name of the Microsoft Teams team. Specify either `channelId` or `channelName` but not both.
29
+
30
+ `-i, --id <id>`
31
+ : The ID of the Teams message.
32
+ ```
33
+
34
+ <Global />
35
+
36
+ ## Remarks
37
+
38
+ :::info
39
+
40
+ This command does only support delegated permissions.
41
+
42
+ :::
43
+
44
+ You can only restore Microsoft Teams messages that you created yourself.
45
+
46
+ ## Examples
47
+
48
+ Restore a deleted message by using IDs
49
+
50
+ ```sh
51
+ m365 teams message restore --teamId 5f5d7b71-1161-44d8-bcc1-3da710eb4171 --channelId 19:4a95f7d8db4c4e7fae857bcebe0623e6@thread.tacv2 --id 1540747442203
52
+ ```
53
+
54
+ Restore a deleted message by using display names
55
+
56
+ ```sh
57
+ m365 teams message restore --teamName Marketing --channelName Branding --id 1540747442203
58
+ ```
59
+
60
+ ## Response
61
+
62
+ The command won't return a response on success.