@pnp/cli-microsoft365 7.5.0-beta.cae14d0 → 7.5.0

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 (173) hide show
  1. package/.eslintrc.cjs +6 -2
  2. package/.mocharc.json +3 -5
  3. package/Dockerfile +0 -3
  4. package/README.md +2 -2
  5. package/allCommands.json +1 -1
  6. package/allCommandsFull.json +1 -1
  7. package/dist/Auth.js +171 -69
  8. package/dist/AuthServer.js +3 -3
  9. package/dist/Command.js +8 -5
  10. package/dist/auth/FileTokenStorage.js +4 -1
  11. package/dist/m365/base/AppCommand.js +2 -2
  12. package/dist/m365/base/PowerAppsCommand.js +2 -2
  13. package/dist/m365/base/PowerAutomateCommand.js +2 -2
  14. package/dist/m365/base/PowerPlatformCommand.js +2 -2
  15. package/dist/m365/base/SpoCommand.js +3 -3
  16. package/dist/m365/base/{YammerCommand.js → VivaEngageCommand.js} +2 -2
  17. package/dist/m365/cli/commands/cli-consent.js +5 -3
  18. package/dist/m365/cli/commands/cli-doctor.js +5 -5
  19. package/dist/m365/commands/ConnectionDetails.js +2 -0
  20. package/dist/m365/commands/login.js +26 -48
  21. package/dist/m365/commands/logout.js +2 -2
  22. package/dist/m365/commands/request.js +2 -2
  23. package/dist/m365/commands/status.js +15 -23
  24. package/dist/m365/connection/commands/connection-list.js +47 -0
  25. package/dist/m365/connection/commands/connection-remove.js +67 -0
  26. package/dist/m365/connection/commands/connection-set.js +56 -0
  27. package/dist/m365/connection/commands/connection-use.js +51 -0
  28. package/dist/m365/connection/commands.js +8 -0
  29. package/dist/m365/entra/aadCommands.js +3 -0
  30. package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-remove.js +153 -0
  31. package/dist/m365/entra/commands/app/app-add.js +2 -2
  32. package/dist/m365/entra/commands/app/app-get.js +1 -1
  33. package/dist/m365/entra/commands/app/app-list.js +1 -1
  34. package/dist/m365/entra/commands/app/app-permission-add.js +1 -1
  35. package/dist/m365/entra/commands/app/app-permission-list.js +182 -0
  36. package/dist/m365/entra/commands/app/app-remove.js +1 -1
  37. package/dist/m365/entra/commands/app/app-role-add.js +1 -1
  38. package/dist/m365/entra/commands/app/app-role-list.js +1 -1
  39. package/dist/m365/entra/commands/app/app-role-remove.js +1 -1
  40. package/dist/m365/entra/commands/app/app-set.js +1 -1
  41. package/dist/m365/entra/commands/{sp/sp-add.js → enterpriseapp/enterpriseapp-add.js} +18 -18
  42. package/dist/m365/entra/commands/{sp/sp-get.js → enterpriseapp/enterpriseapp-get.js} +19 -19
  43. package/dist/m365/entra/commands/{sp/sp-list.js → enterpriseapp/enterpriseapp-list.js} +13 -13
  44. package/dist/m365/entra/commands/group/group-add.js +224 -0
  45. package/dist/m365/entra/commands/m365group/m365group-report-activitygroupcounts.js +1 -1
  46. package/dist/m365/entra/commands/user/user-get.js +38 -38
  47. package/dist/m365/entra/commands/user/user-license-list.js +1 -1
  48. package/dist/m365/entra/commands/user/user-registrationdetails-list.js +224 -0
  49. package/dist/m365/entra/commands/user/user-set.js +2 -2
  50. package/dist/m365/entra/commands.js +16 -0
  51. package/dist/m365/file/commands/convert/convert-pdf.js +1 -1
  52. package/dist/m365/file/commands/file-copy.js +151 -0
  53. package/dist/m365/file/commands.js +1 -0
  54. package/dist/m365/outlook/commands/mail/mail-send.js +1 -1
  55. package/dist/m365/outlook/commands/message/message-get.js +1 -1
  56. package/dist/m365/pa/commands/app/app-permission-ensure.js +1 -1
  57. package/dist/m365/pa/commands/app/app-permission-remove.js +1 -1
  58. package/dist/m365/planner/commands/roster/roster-plan-list.js +1 -1
  59. package/dist/m365/purview/commands/auditlog/auditlog-list.js +1 -1
  60. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-get.js +1 -1
  61. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-list.js +1 -1
  62. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-policysettings-list.js +1 -1
  63. package/dist/m365/spfx/commands/project/DeployWorkflow.js +4 -3
  64. package/dist/m365/spo/commands/spo-get.js +1 -1
  65. package/dist/m365/spo/commands/spo-search.js +52 -22
  66. package/dist/m365/spo/commands/spo-set.js +1 -1
  67. package/dist/m365/teams/commands/chat/chat-get.js +1 -1
  68. package/dist/m365/teams/commands/chat/chat-list.js +1 -1
  69. package/dist/m365/teams/commands/chat/chat-message-send.js +1 -1
  70. package/dist/m365/teams/commands/meeting/meeting-add.js +1 -1
  71. package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +1 -1
  72. package/dist/m365/teams/commands/meeting/meeting-get.js +1 -1
  73. package/dist/m365/teams/commands/meeting/meeting-list.js +2 -2
  74. package/dist/m365/teams/commands/meeting/meeting-transcript-list.js +1 -1
  75. package/dist/m365/tenant/commands/id/id-get.js +1 -1
  76. package/dist/m365/tenant/commands/info/info-get.js +1 -1
  77. package/dist/m365/util/commands/accesstoken/accesstoken-get.js +3 -3
  78. package/dist/m365/{yammer/commands/group/group-list.js → viva/commands/engage/engage-group-list.js} +19 -14
  79. package/dist/m365/{yammer/commands/group/group-user-add.js → viva/commands/engage/engage-group-user-add.js} +19 -14
  80. package/dist/m365/{yammer/commands/group/group-user-remove.js → viva/commands/engage/engage-group-user-remove.js} +19 -14
  81. package/dist/m365/{yammer/commands/message/message-add.js → viva/commands/engage/engage-message-add.js} +19 -14
  82. package/dist/m365/{yammer/commands/message/message-get.js → viva/commands/engage/engage-message-get.js} +17 -12
  83. package/dist/m365/{yammer/commands/message/message-like-set.js → viva/commands/engage/engage-message-like-set.js} +21 -16
  84. package/dist/m365/{yammer/commands/message/message-list.js → viva/commands/engage/engage-message-list.js} +21 -16
  85. package/dist/m365/{yammer/commands/message/message-remove.js → viva/commands/engage/engage-message-remove.js} +20 -15
  86. package/dist/m365/{yammer/commands/network/network-list.js → viva/commands/engage/engage-network-list.js} +16 -11
  87. package/dist/m365/viva/commands/engage/engage-report-activitycounts.js +23 -0
  88. package/dist/m365/viva/commands/engage/engage-report-activityusercounts.js +23 -0
  89. package/dist/m365/viva/commands/engage/engage-report-activityuserdetail.js +23 -0
  90. package/dist/m365/viva/commands/engage/engage-report-deviceusagedistributionusercounts.js +23 -0
  91. package/dist/m365/viva/commands/engage/engage-report-deviceusageusercounts.js +23 -0
  92. package/dist/m365/viva/commands/engage/engage-report-deviceusageuserdetail.js +23 -0
  93. package/dist/m365/viva/commands/engage/engage-report-groupsactivitycounts.js +23 -0
  94. package/dist/m365/viva/commands/engage/engage-report-groupsactivitydetail.js +23 -0
  95. package/dist/m365/viva/commands/engage/engage-report-groupsactivitygroupcounts.js +23 -0
  96. package/dist/m365/{yammer/commands/yammer-search.js → viva/commands/engage/engage-search.js} +23 -18
  97. package/dist/m365/{yammer/commands/user/user-get.js → viva/commands/engage/engage-user-get.js} +18 -13
  98. package/dist/m365/{yammer/commands/user/user-list.js → viva/commands/engage/engage-user-list.js} +18 -13
  99. package/dist/m365/{yammer/commands.js → viva/commands/engage/yammerCommands.js} +1 -1
  100. package/dist/m365/viva/commands.js +22 -1
  101. package/dist/request.js +1 -1
  102. package/dist/utils/spo.js +36 -14
  103. package/dist/utils/urlUtil.js +31 -0
  104. package/dist/utils/validation.js +4 -0
  105. package/docs/docs/cmd/cli/cli-consent.mdx +9 -9
  106. package/docs/docs/cmd/connection/connection-list.mdx +100 -0
  107. package/docs/docs/cmd/connection/connection-remove.mdx +45 -0
  108. package/docs/docs/cmd/connection/connection-set.mdx +39 -0
  109. package/docs/docs/cmd/connection/connection-use.mdx +98 -0
  110. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-add.mdx +5 -3
  111. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-remove.mdx +107 -0
  112. package/docs/docs/cmd/entra/app/app-add.mdx +2 -1
  113. package/docs/docs/cmd/entra/app/app-get.mdx +1 -0
  114. package/docs/docs/cmd/entra/app/app-list.mdx +1 -0
  115. package/docs/docs/cmd/entra/app/app-permission-add.mdx +1 -0
  116. package/docs/docs/cmd/entra/app/app-permission-list.mdx +105 -0
  117. package/docs/docs/cmd/entra/app/app-remove.mdx +1 -0
  118. package/docs/docs/cmd/entra/app/app-role-add.mdx +1 -0
  119. package/docs/docs/cmd/entra/app/app-role-list.mdx +1 -0
  120. package/docs/docs/cmd/entra/app/app-role-remove.mdx +1 -0
  121. package/docs/docs/cmd/entra/app/app-set.mdx +1 -0
  122. package/docs/docs/cmd/entra/{sp/sp-add.mdx → enterpriseapp/enterpriseapp-add.mdx} +16 -15
  123. package/docs/docs/cmd/entra/{sp/sp-get.mdx → enterpriseapp/enterpriseapp-get.mdx} +15 -14
  124. package/docs/docs/cmd/entra/{sp/sp-list.mdx → enterpriseapp/enterpriseapp-list.mdx} +22 -21
  125. package/docs/docs/cmd/entra/group/group-add.mdx +231 -0
  126. package/docs/docs/cmd/entra/m365group/m365group-report-activitygroupcounts.mdx +1 -1
  127. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-add.mdx +3 -3
  128. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-list.mdx +1 -1
  129. package/docs/docs/cmd/entra/user/user-registrationdetails-list.mdx +246 -0
  130. package/docs/docs/cmd/external/item/item-add.mdx +1 -1
  131. package/docs/docs/cmd/file/convert/convert-pdf.mdx +4 -0
  132. package/docs/docs/cmd/file/file-add.mdx +4 -0
  133. package/docs/docs/cmd/file/file-copy.mdx +68 -0
  134. package/docs/docs/cmd/file/file-list.mdx +100 -0
  135. package/docs/docs/cmd/login.mdx +15 -0
  136. package/docs/docs/cmd/setup.mdx +4 -0
  137. package/docs/docs/cmd/spo/list/list-webhook-set.mdx +1 -1
  138. package/docs/docs/cmd/spo/spo-search.mdx +6 -2
  139. package/docs/docs/cmd/spo/theme/theme-set.mdx +14 -2
  140. package/docs/docs/cmd/{yammer/group/group-list.mdx → viva/engage/engage-group-list.mdx} +13 -13
  141. package/docs/docs/cmd/{yammer/group/group-user-add.mdx → viva/engage/engage-group-user-add.mdx} +7 -7
  142. package/docs/docs/cmd/{yammer/group/group-user-remove.mdx → viva/engage/engage-group-user-remove.mdx} +10 -10
  143. package/docs/docs/cmd/{yammer/message/message-add.mdx → viva/engage/engage-message-add.mdx} +12 -13
  144. package/docs/docs/cmd/{yammer/message/message-get.mdx → viva/engage/engage-message-get.mdx} +10 -10
  145. package/docs/docs/cmd/{yammer/message/message-like-set.mdx → viva/engage/engage-message-like-set.mdx} +10 -10
  146. package/docs/docs/cmd/{yammer/message/message-list.mdx → viva/engage/engage-message-list.mdx} +21 -21
  147. package/docs/docs/cmd/{yammer/message/message-remove.mdx → viva/engage/engage-message-remove.mdx} +10 -10
  148. package/docs/docs/cmd/{yammer/network/network-list.mdx → viva/engage/engage-network-list.mdx} +6 -6
  149. package/docs/docs/cmd/{yammer/report/report-activitycounts.mdx → viva/engage/engage-report-activitycounts.mdx} +9 -9
  150. package/docs/docs/cmd/{yammer/report/report-activityusercounts.mdx → viva/engage/engage-report-activityusercounts.mdx} +9 -9
  151. package/docs/docs/cmd/{yammer/report/report-activityuserdetail.mdx → viva/engage/engage-report-activityuserdetail.mdx} +11 -12
  152. package/docs/docs/cmd/{yammer/report/report-deviceusagedistributionusercounts.mdx → viva/engage/engage-report-deviceusagedistributionusercounts.mdx} +5 -5
  153. package/docs/docs/cmd/{yammer/report/report-deviceusageusercounts.mdx → viva/engage/engage-report-deviceusageusercounts.mdx} +5 -5
  154. package/docs/docs/cmd/{yammer/report/report-deviceusageuserdetail.mdx → viva/engage/engage-report-deviceusageuserdetail.mdx} +11 -11
  155. package/docs/docs/cmd/{yammer/report/report-groupsactivitycounts.mdx → viva/engage/engage-report-groupsactivitycounts.mdx} +9 -9
  156. package/docs/docs/cmd/{yammer/report/report-groupsactivitydetail.mdx → viva/engage/engage-report-groupsactivitydetail.mdx} +11 -11
  157. package/docs/docs/cmd/{yammer/report/report-groupsactivitygroupcounts.mdx → viva/engage/engage-report-groupsactivitygroupcounts.mdx} +5 -5
  158. package/docs/docs/cmd/{yammer/yammer-search.mdx → viva/engage/engage-search.mdx} +10 -10
  159. package/docs/docs/cmd/{yammer/user/user-get.mdx → viva/engage/engage-user-get.mdx} +8 -8
  160. package/docs/docs/cmd/{yammer/user/user-list.mdx → viva/engage/engage-user-list.mdx} +11 -11
  161. package/npm-shrinkwrap.json +60 -0
  162. package/package.json +4 -3
  163. package/dist/m365/base/AzmgmtCommand.js +0 -18
  164. package/dist/m365/base/AzmgmtItemsListCommand.js +0 -41
  165. package/dist/m365/yammer/commands/report/report-activitycounts.js +0 -15
  166. package/dist/m365/yammer/commands/report/report-activityusercounts.js +0 -15
  167. package/dist/m365/yammer/commands/report/report-activityuserdetail.js +0 -15
  168. package/dist/m365/yammer/commands/report/report-deviceusagedistributionusercounts.js +0 -15
  169. package/dist/m365/yammer/commands/report/report-deviceusageusercounts.js +0 -15
  170. package/dist/m365/yammer/commands/report/report-deviceusageuserdetail.js +0 -15
  171. package/dist/m365/yammer/commands/report/report-groupsactivitycounts.js +0 -15
  172. package/dist/m365/yammer/commands/report/report-groupsactivitydetail.js +0 -15
  173. package/dist/m365/yammer/commands/report/report-groupsactivitygroupcounts.js +0 -15
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # yammer search
5
+ # viva engage search
6
6
 
7
7
  Returns a list of messages, users, topics and groups that match the specified query.
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 yammer search [options]
12
+ m365 viva engage search [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -31,7 +31,7 @@ m365 yammer search [options]
31
31
 
32
32
  :::warning
33
33
 
34
- In order to use this command, you need to grant the Azure AD application used by the CLI for Microsoft 365 the permission to the Yammer API. To do this, execute the `cli consent --service yammer` command.
34
+ In order to use this command, you need to grant the Azure AD application used by the CLI for Microsoft 365 the permission to the Viva Engage API. To do this, execute the `cli consent --service VivaEngage` command.
35
35
 
36
36
  :::
37
37
 
@@ -42,37 +42,37 @@ Using the `--show` option in JSON output is not supported. To filter JSON result
42
42
  Returns search result for the query `community`
43
43
 
44
44
  ```sh
45
- m365 yammer search --queryText "community"
45
+ m365 viva engage search --queryText "community"
46
46
  ```
47
47
 
48
48
  Returns groups that match `community`
49
49
 
50
50
  ```sh
51
- m365 yammer search --queryText "community" --show "groups"
51
+ m365 viva engage search --queryText "community" --show "groups"
52
52
  ```
53
53
 
54
54
  Returns topics that match `community`
55
55
 
56
56
  ```sh
57
- m365 yammer search --queryText "community" --show "topics"
57
+ m365 viva engage search --queryText "community" --show "topics"
58
58
  ```
59
59
 
60
60
  Returns the first 50 users who match the search query `nuborocks.onmicrosoft.com`
61
61
 
62
62
  ```sh
63
- m365 yammer search --queryText "nuborocks.onmicrosoft.com" --show "users" --limit 50
63
+ m365 viva engage search --queryText "nuborocks.onmicrosoft.com" --show "users" --limit 50
64
64
  ```
65
65
 
66
66
  Returns all search results for the query `community`. Stops at 1000 results.
67
67
 
68
68
  ```sh
69
- m365 yammer search --queryText "community" --output json
69
+ m365 viva engage search --queryText "community" --output json
70
70
  ```
71
71
 
72
72
  Returns the search results for the query `community` and limits the results to the first 50 entries for each result category.
73
73
 
74
74
  ```sh
75
- m365 yammer search --queryText "community" --output json --limit 50
75
+ m365 viva engage search --queryText "community" --output json --limit 50
76
76
  ```
77
77
 
78
78
  ## Response
@@ -160,7 +160,7 @@ m365 yammer search --queryText "community" --output json --limit 50
160
160
  <TabItem value="Markdown">
161
161
 
162
162
  ```md
163
- # yammer search --queryText "contoso.onmicrosoft.com" --show "users" --limit "1"
163
+ # viva engage search --queryText "contoso.onmicrosoft.com" --show "users" --limit "1"
164
164
 
165
165
  Date: 2023-05-16
166
166
 
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # yammer user get
5
+ # viva engage user get
6
6
 
7
7
  Retrieves the current user or searches for a user by ID or e-mail
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 yammer user get [options]
12
+ m365 viva engage user get [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -28,7 +28,7 @@ m365 yammer user get [options]
28
28
 
29
29
  :::warning
30
30
 
31
- In order to use this command, you need to grant the Azure AD application used by the CLI for Microsoft 365 the permission to the Yammer API. To do this, execute the `cli consent --service yammer` command.
31
+ In order to use this command, you need to grant the Azure AD application used by the CLI for Microsoft 365 the permission to the Viva Engage API. To do this, execute the `cli consent --service VivaEngage` command.
32
32
 
33
33
  :::
34
34
 
@@ -39,25 +39,25 @@ All operations return a single user object. Operations executed with the `email`
39
39
  Returns the current user
40
40
 
41
41
  ```sh
42
- m365 yammer user get
42
+ m365 viva engage user get
43
43
  ```
44
44
 
45
45
  Returns the user with the ID 1496550697
46
46
 
47
47
  ```sh
48
- m365 yammer user get --id 1496550697
48
+ m365 viva engage user get --id 1496550697
49
49
  ```
50
50
 
51
51
  Returns an array of users matching the e-mail
52
52
 
53
53
  ```sh
54
- m365 yammer user get --email john.smith@contoso.com
54
+ m365 viva engage user get --email john.smith@contoso.com
55
55
  ```
56
56
 
57
57
  Returns an array of users matching the e-mail in JSON. The JSON output returns a full user object
58
58
 
59
59
  ```sh
60
- m365 yammer user get --email john.smith@contoso.com --output json
60
+ m365 viva engage user get --email john.smith@contoso.com --output json
61
61
  ```
62
62
 
63
63
  ## Response
@@ -166,7 +166,7 @@ m365 yammer user get --email john.smith@contoso.com --output json
166
166
  <TabItem value="Markdown">
167
167
 
168
168
  ```md
169
- # yammer user get --email "johndoe@contoso.onmicrosoft.com"
169
+ # viva engage user get --email "johndoe@contoso.onmicrosoft.com"
170
170
 
171
171
  Date: 2023-05-16
172
172
 
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # yammer user list
5
+ # viva engage user list
6
6
 
7
7
  Returns users from the current network
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 yammer user list [options]
12
+ m365 viva engage user list [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -37,31 +37,31 @@ m365 yammer user list [options]
37
37
 
38
38
  :::warning
39
39
 
40
- In order to use this command, you need to grant the Azure AD application used by the CLI for Microsoft 365 the permission to the Yammer API. To do this, execute the `cli consent --service yammer` command.
40
+ In order to use this command, you need to grant the Azure AD application used by the CLI for Microsoft 365 the permission to the Viva Engage API. To do this, execute the `cli consent --service VivaEngage` command.
41
41
 
42
42
  :::
43
43
 
44
44
  ## Examples
45
45
 
46
- Returns all Yammer network users
46
+ Returns all Viva Engage network users
47
47
 
48
48
  ```sh
49
- m365 yammer user list
49
+ m365 viva engage user list
50
50
  ```
51
51
 
52
- Returns all Yammer network users with usernames beginning with "a"
52
+ Returns all Viva Engage network users with usernames beginning with "a"
53
53
 
54
54
  ```sh
55
- m365 yammer user list --letter a
55
+ m365 viva engage user list --letter a
56
56
  ```
57
57
 
58
- Returns all Yammer network users sorted alphabetically in descending order
58
+ Returns all Viva Engage network users sorted alphabetically in descending order
59
59
 
60
60
  ```sh
61
- m365 yammer user list --reverse
61
+ m365 viva engage user list --reverse
62
62
  ```
63
63
 
64
- Returns the first 10 Yammer network users within the group 5785177
64
+ Returns the first 10 Viva Engage network users within the group 5785177
65
65
 
66
66
  ```sh
67
67
  m365 user list --groupId 5785177 --limit 10
@@ -171,7 +171,7 @@ m365 user list --groupId 5785177 --limit 10
171
171
  <TabItem value="Markdown">
172
172
 
173
173
  ```md
174
- # yammer user list --limit "1"
174
+ # viva engage user list --limit "1"
175
175
 
176
176
  Date: 2023-05-16
177
177
 
@@ -47,6 +47,7 @@
47
47
  "microsoft365": "dist/index.js"
48
48
  },
49
49
  "devDependencies": {
50
+ "@actions/core": "^1.10.1",
50
51
  "@microsoft/microsoft-graph-types": "^2.40.0",
51
52
  "@types/adm-zip": "^0.5.5",
52
53
  "@types/jmespath": "^0.15.2",
@@ -86,6 +87,35 @@
86
87
  "node": ">=0.10.0"
87
88
  }
88
89
  },
90
+ "node_modules/@actions/core": {
91
+ "version": "1.10.1",
92
+ "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.10.1.tgz",
93
+ "integrity": "sha512-3lBR9EDAY+iYIpTnTIXmWcNbX3T2kCkAEQGIQx4NVQ0575nk2k3GRZDTPQG+vVtS2izSLmINlxXf0uLtnrTP+g==",
94
+ "dev": true,
95
+ "dependencies": {
96
+ "@actions/http-client": "^2.0.1",
97
+ "uuid": "^8.3.2"
98
+ }
99
+ },
100
+ "node_modules/@actions/core/node_modules/uuid": {
101
+ "version": "8.3.2",
102
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
103
+ "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",
104
+ "dev": true,
105
+ "bin": {
106
+ "uuid": "dist/bin/uuid"
107
+ }
108
+ },
109
+ "node_modules/@actions/http-client": {
110
+ "version": "2.2.0",
111
+ "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.2.0.tgz",
112
+ "integrity": "sha512-q+epW0trjVUUHboliPb4UF9g2msf+w61b32tAkFEwL/IwP0DQWgbCMM0Hbe3e3WXSKz5VcUXbzJQgy8Hkra/Lg==",
113
+ "dev": true,
114
+ "dependencies": {
115
+ "tunnel": "^0.0.6",
116
+ "undici": "^5.25.4"
117
+ }
118
+ },
89
119
  "node_modules/@azure/abort-controller": {
90
120
  "version": "1.1.0",
91
121
  "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-1.1.0.tgz",
@@ -291,6 +321,15 @@
291
321
  "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
292
322
  }
293
323
  },
324
+ "node_modules/@fastify/busboy": {
325
+ "version": "2.1.0",
326
+ "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.0.tgz",
327
+ "integrity": "sha512-+KpH+QxZU7O4675t3mnkQKcZZg56u+K/Ct2K+N2AZYNVK8kyeo/bI18tI8aPm3tvNNRyTWfj6s5tnGNlcbQRsA==",
328
+ "dev": true,
329
+ "engines": {
330
+ "node": ">=14"
331
+ }
332
+ },
294
333
  "node_modules/@humanwhocodes/config-array": {
295
334
  "version": "0.11.13",
296
335
  "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz",
@@ -5297,6 +5336,15 @@
5297
5336
  "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
5298
5337
  "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
5299
5338
  },
5339
+ "node_modules/tunnel": {
5340
+ "version": "0.0.6",
5341
+ "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz",
5342
+ "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==",
5343
+ "dev": true,
5344
+ "engines": {
5345
+ "node": ">=0.6.11 <=0.7.0 || >=0.7.3"
5346
+ }
5347
+ },
5300
5348
  "node_modules/type-check": {
5301
5349
  "version": "0.4.0",
5302
5350
  "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
@@ -5349,6 +5397,18 @@
5349
5397
  "node": ">=14.17"
5350
5398
  }
5351
5399
  },
5400
+ "node_modules/undici": {
5401
+ "version": "5.28.2",
5402
+ "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.2.tgz",
5403
+ "integrity": "sha512-wh1pHJHnUeQV5Xa8/kyQhO7WFa8M34l026L5P/+2TYiakvGy5Rdc8jWZVyG7ieht/0WgJLEd3kcU5gKx+6GC8w==",
5404
+ "dev": true,
5405
+ "dependencies": {
5406
+ "@fastify/busboy": "^2.0.0"
5407
+ },
5408
+ "engines": {
5409
+ "node": ">=14.0"
5410
+ }
5411
+ },
5352
5412
  "node_modules/undici-types": {
5353
5413
  "version": "5.26.5",
5354
5414
  "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "7.5.0-beta.cae14d0",
3
+ "version": "7.5.0",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",
@@ -163,7 +163,7 @@
163
163
  "Kornet, Michał <kornetmichal@gmail.com>",
164
164
  "Kumar, Shantha <34408892+ktskumar@users.noreply.github.com>",
165
165
  "Kurian, Cyril C <cyril.kurian2@gmail.com>",
166
- "Lakshminarayanan, Vedant <vlakshminarayanan@seekasia.com>",
166
+ "Lakshminarayanan, Vedant <28388096+Vedu1996@users.noreply.github.com>",
167
167
  "Lamber, Patrick <patrick@nubo.eu>",
168
168
  "Laskewitz, Daniel <daniel@laskewitz.nl>",
169
169
  "Lengelle, Veronique <25181757+veronicageek@users.noreply.github.com>",
@@ -277,6 +277,7 @@
277
277
  "yaml": "^2.3.4"
278
278
  },
279
279
  "devDependencies": {
280
+ "@actions/core": "^1.10.1",
280
281
  "@microsoft/microsoft-graph-types": "^2.40.0",
281
282
  "@types/adm-zip": "^0.5.5",
282
283
  "@types/jmespath": "^0.15.2",
@@ -301,4 +302,4 @@
301
302
  "sinon": "^17.0.0",
302
303
  "source-map-support": "^0.5.21"
303
304
  }
304
- }
305
+ }
@@ -1,18 +0,0 @@
1
- import auth, { CloudType } from '../../Auth.js';
2
- import Command, { CommandError } from '../../Command.js';
3
- export default class AzmgmtCommand extends Command {
4
- get resource() {
5
- return 'https://management.azure.com/';
6
- }
7
- initAction(args, logger) {
8
- super.initAction(args, logger);
9
- if (!auth.service.connected) {
10
- // we fail no login in the base command command class
11
- return;
12
- }
13
- if (auth.service.cloudType !== CloudType.Public) {
14
- throw new CommandError(`Power Automate commands only support the public cloud at the moment. We'll add support for other clouds in the future. Sorry for the inconvenience.`);
15
- }
16
- }
17
- }
18
- //# sourceMappingURL=AzmgmtCommand.js.map
@@ -1,41 +0,0 @@
1
- import url from 'url';
2
- import request from '../../request.js';
3
- import AzmgmtCommand from "./AzmgmtCommand.js";
4
- export class AzmgmtItemsListCommand extends AzmgmtCommand {
5
- constructor() {
6
- super();
7
- this.items = [];
8
- }
9
- async getAllItems(_url, logger, firstRun) {
10
- const requestOptions = {
11
- url: _url,
12
- headers: {
13
- accept: 'application/json;odata.metadata=none'
14
- },
15
- responseType: 'json'
16
- };
17
- const res = await request.get(requestOptions);
18
- if (firstRun) {
19
- this.items = [];
20
- }
21
- this.items = this.items.concat(res.value);
22
- if (res.nextLink) {
23
- // when retrieving Flows as admin, the API returns nextLink
24
- // pointing to https://emea.api.flow.microsoft.com:11777
25
- // which leads to authentication exceptions because it's not an AAD
26
- // resource for which we can retrieve an access token, so we need to
27
- // rewrite it back to the API management URL
28
- const nextLinkUrl = new url.URL(res.nextLink);
29
- if (nextLinkUrl.host !== 'management.azure.com') {
30
- nextLinkUrl.host = 'management.azure.com';
31
- nextLinkUrl.port = '';
32
- }
33
- const nextLink = nextLinkUrl.href;
34
- await this.getAllItems(nextLink, logger, false);
35
- }
36
- else {
37
- return;
38
- }
39
- }
40
- }
41
- //# sourceMappingURL=AzmgmtItemsListCommand.js.map
@@ -1,15 +0,0 @@
1
- import PeriodBasedReport from '../../../base/PeriodBasedReport.js';
2
- import commands from '../../commands.js';
3
- class YammerReportActivityCountsCommand extends PeriodBasedReport {
4
- get name() {
5
- return commands.REPORT_ACTIVITYCOUNTS;
6
- }
7
- get usageEndpoint() {
8
- return 'getYammerActivityCounts';
9
- }
10
- get description() {
11
- return 'Gets the trends on the amount of Yammer activity in your organization by how many messages were posted, read, and liked';
12
- }
13
- }
14
- export default new YammerReportActivityCountsCommand();
15
- //# sourceMappingURL=report-activitycounts.js.map
@@ -1,15 +0,0 @@
1
- import PeriodBasedReport from '../../../base/PeriodBasedReport.js';
2
- import commands from '../../commands.js';
3
- class YammerReportActivityUserCountsCommand extends PeriodBasedReport {
4
- get name() {
5
- return commands.REPORT_ACTIVITYUSERCOUNTS;
6
- }
7
- get usageEndpoint() {
8
- return 'getYammerActivityUserCounts';
9
- }
10
- get description() {
11
- return 'Gets the trends on the number of unique users who posted, read, and liked Yammer messages';
12
- }
13
- }
14
- export default new YammerReportActivityUserCountsCommand();
15
- //# sourceMappingURL=report-activityusercounts.js.map
@@ -1,15 +0,0 @@
1
- import DateAndPeriodBasedReport from '../../../base/DateAndPeriodBasedReport.js';
2
- import commands from '../../commands.js';
3
- class YammerReportActivityUserDetailCommand extends DateAndPeriodBasedReport {
4
- get name() {
5
- return commands.REPORT_ACTIVITYUSERDETAIL;
6
- }
7
- get usageEndpoint() {
8
- return 'getYammerActivityUserDetail';
9
- }
10
- get description() {
11
- return 'Gets details about Yammer activity by user';
12
- }
13
- }
14
- export default new YammerReportActivityUserDetailCommand();
15
- //# sourceMappingURL=report-activityuserdetail.js.map
@@ -1,15 +0,0 @@
1
- import PeriodBasedReport from '../../../base/PeriodBasedReport.js';
2
- import commands from '../../commands.js';
3
- class YammerReportDeviceUsageDistributionUserCountsCommand extends PeriodBasedReport {
4
- get name() {
5
- return commands.REPORT_DEVICEUSAGEDISTRIBUTIONUSERCOUNTS;
6
- }
7
- get usageEndpoint() {
8
- return 'getYammerDeviceUsageDistributionUserCounts';
9
- }
10
- get description() {
11
- return 'Gets the number of users by device type';
12
- }
13
- }
14
- export default new YammerReportDeviceUsageDistributionUserCountsCommand();
15
- //# sourceMappingURL=report-deviceusagedistributionusercounts.js.map
@@ -1,15 +0,0 @@
1
- import PeriodBasedReport from '../../../base/PeriodBasedReport.js';
2
- import commands from '../../commands.js';
3
- class YammerReportDeviceUsageUserCountsCommand extends PeriodBasedReport {
4
- get name() {
5
- return commands.REPORT_DEVICEUSAGEUSERCOUNTS;
6
- }
7
- get usageEndpoint() {
8
- return 'getYammerDeviceUsageUserCounts';
9
- }
10
- get description() {
11
- return 'Gets the number of daily users by device type';
12
- }
13
- }
14
- export default new YammerReportDeviceUsageUserCountsCommand();
15
- //# sourceMappingURL=report-deviceusageusercounts.js.map
@@ -1,15 +0,0 @@
1
- import DateAndPeriodBasedReport from '../../../base/DateAndPeriodBasedReport.js';
2
- import commands from '../../commands.js';
3
- class YammerReportDeviceUsageUserDetailCommand extends DateAndPeriodBasedReport {
4
- get name() {
5
- return commands.REPORT_DEVICEUSAGEUSERDETAIL;
6
- }
7
- get usageEndpoint() {
8
- return 'getYammerDeviceUsageUserDetail';
9
- }
10
- get description() {
11
- return 'Gets details about Yammer device usage by user';
12
- }
13
- }
14
- export default new YammerReportDeviceUsageUserDetailCommand();
15
- //# sourceMappingURL=report-deviceusageuserdetail.js.map
@@ -1,15 +0,0 @@
1
- import PeriodBasedReport from '../../../base/PeriodBasedReport.js';
2
- import commands from '../../commands.js';
3
- class YammerReportGroupsActivityCountsCommand extends PeriodBasedReport {
4
- get name() {
5
- return commands.REPORT_GROUPSACTIVITYCOUNTS;
6
- }
7
- get usageEndpoint() {
8
- return 'getYammerGroupsActivityCounts';
9
- }
10
- get description() {
11
- return 'Gets the number of Yammer messages posted, read, and liked in groups';
12
- }
13
- }
14
- export default new YammerReportGroupsActivityCountsCommand();
15
- //# sourceMappingURL=report-groupsactivitycounts.js.map
@@ -1,15 +0,0 @@
1
- import DateAndPeriodBasedReport from '../../../base/DateAndPeriodBasedReport.js';
2
- import commands from '../../commands.js';
3
- class YammerReportGroupsActivityDetailCommand extends DateAndPeriodBasedReport {
4
- get name() {
5
- return commands.REPORT_GROUPSACTIVITYDETAIL;
6
- }
7
- get usageEndpoint() {
8
- return 'getYammerGroupsActivityDetail';
9
- }
10
- get description() {
11
- return 'Gets details about Yammer groups activity by group';
12
- }
13
- }
14
- export default new YammerReportGroupsActivityDetailCommand();
15
- //# sourceMappingURL=report-groupsactivitydetail.js.map
@@ -1,15 +0,0 @@
1
- import PeriodBasedReport from '../../../base/PeriodBasedReport.js';
2
- import commands from '../../commands.js';
3
- class YammerReportGroupsActivityGroupCountsCommand extends PeriodBasedReport {
4
- get name() {
5
- return commands.REPORT_GROUPSACTIVITYGROUPCOUNTS;
6
- }
7
- get usageEndpoint() {
8
- return 'getYammerGroupsActivityGroupCounts';
9
- }
10
- get description() {
11
- return 'Gets the total number of groups that existed and how many included group conversation activity';
12
- }
13
- }
14
- export default new YammerReportGroupsActivityGroupCountsCommand();
15
- //# sourceMappingURL=report-groupsactivitygroupcounts.js.map