@pnp/cli-microsoft365 7.3.0 → 7.4.0-beta.2324d53

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 (220) hide show
  1. package/.eslintrc.cjs +1 -0
  2. package/README.md +1 -1
  3. package/allCommands.json +1 -1
  4. package/allCommandsFull.json +1 -1
  5. package/dist/m365/app/commands/app-get.js +1 -1
  6. package/dist/m365/app/commands/permission/permission-list.js +1 -1
  7. package/dist/m365/{aad/commands.js → entra/aadCommands.js} +1 -1
  8. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-add.js +12 -8
  9. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-get.js +18 -14
  10. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-list.js +6 -2
  11. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-member-add.js +16 -12
  12. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-member-get.js +16 -12
  13. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-member-list.js +16 -12
  14. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-remove.js +18 -14
  15. package/dist/m365/{aad → entra}/commands/app/app-add.js +25 -21
  16. package/dist/m365/{aad → entra}/commands/app/app-get.js +17 -13
  17. package/dist/m365/{aad → entra}/commands/app/app-list.js +7 -3
  18. package/dist/m365/{aad → entra}/commands/app/app-permission-add.js +16 -12
  19. package/dist/m365/{aad → entra}/commands/app/app-remove.js +17 -13
  20. package/dist/m365/{aad → entra}/commands/app/app-role-add.js +18 -14
  21. package/dist/m365/{aad → entra}/commands/app/app-role-list.js +15 -11
  22. package/dist/m365/{aad → entra}/commands/app/app-role-remove.js +17 -13
  23. package/dist/m365/{aad → entra}/commands/app/app-set.js +18 -14
  24. package/dist/m365/{aad → entra}/commands/approleassignment/approleassignment-add.js +17 -13
  25. package/dist/m365/{aad → entra}/commands/approleassignment/approleassignment-list.js +16 -12
  26. package/dist/m365/{aad → entra}/commands/approleassignment/approleassignment-remove.js +17 -13
  27. package/dist/m365/{aad → entra}/commands/group/group-get.js +17 -13
  28. package/dist/m365/{aad → entra}/commands/group/group-list.js +16 -12
  29. package/dist/m365/{aad → entra}/commands/group/group-remove.js +19 -15
  30. package/dist/m365/{aad → entra}/commands/group/group-user-list.js +17 -13
  31. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-add.js +12 -8
  32. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-get.js +12 -8
  33. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-list.js +7 -3
  34. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-remove.js +14 -10
  35. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-set.js +12 -8
  36. package/dist/m365/{aad → entra}/commands/groupsettingtemplate/groupsettingtemplate-get.js +17 -13
  37. package/dist/m365/{aad → entra}/commands/groupsettingtemplate/groupsettingtemplate-list.js +7 -3
  38. package/dist/m365/{aad → entra}/commands/license/license-list.js +6 -2
  39. package/dist/m365/{aad → entra}/commands/m365group/m365group-add.js +19 -15
  40. package/dist/m365/{aad → entra}/commands/m365group/m365group-conversation-list.js +12 -8
  41. package/dist/m365/{aad → entra}/commands/m365group/m365group-conversation-post-list.js +16 -12
  42. package/dist/m365/{aad → entra}/commands/m365group/m365group-get.js +12 -8
  43. package/dist/m365/{aad → entra}/commands/m365group/m365group-list.js +12 -8
  44. package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-clear.js +12 -8
  45. package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-list.js +12 -8
  46. package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-remove.js +16 -12
  47. package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-restore.js +16 -12
  48. package/dist/m365/{aad → entra}/commands/m365group/m365group-remove.js +17 -13
  49. package/dist/m365/{aad → entra}/commands/m365group/m365group-renew.js +12 -8
  50. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitycounts.js +4 -0
  51. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitydetail.js +4 -0
  52. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activityfilecounts.js +4 -0
  53. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitygroupcounts.js +4 -0
  54. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitystorage.js +4 -0
  55. package/dist/m365/{aad → entra}/commands/m365group/m365group-set.js +19 -15
  56. package/dist/m365/{aad → entra}/commands/m365group/m365group-teamify.js +16 -12
  57. package/dist/m365/{aad → entra}/commands/m365group/m365group-user-add.js +14 -13
  58. package/dist/m365/entra/commands/m365group/m365group-user-list.js +154 -0
  59. package/dist/m365/{aad → entra}/commands/m365group/m365group-user-remove.js +14 -13
  60. package/dist/m365/{aad → entra}/commands/m365group/m365group-user-set.js +14 -13
  61. package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-add.js +12 -8
  62. package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-list.js +12 -8
  63. package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-remove.js +10 -6
  64. package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-set.js +10 -6
  65. package/dist/m365/{aad → entra}/commands/policy/policy-list.js +16 -12
  66. package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-disable.js +12 -8
  67. package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-enable.js +12 -8
  68. package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-get.js +6 -2
  69. package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-set.js +14 -10
  70. package/dist/m365/{aad → entra}/commands/sp/sp-add.js +17 -13
  71. package/dist/m365/{aad → entra}/commands/sp/sp-get.js +16 -12
  72. package/dist/m365/{aad → entra}/commands/sp/sp-list.js +12 -8
  73. package/dist/m365/{aad → entra}/commands/user/user-add.js +18 -14
  74. package/dist/m365/{aad → entra}/commands/user/user-get.js +16 -12
  75. package/dist/m365/{aad → entra}/commands/user/user-guest-add.js +12 -8
  76. package/dist/m365/{aad → entra}/commands/user/user-hibp.js +14 -10
  77. package/dist/m365/{aad → entra}/commands/user/user-license-add.js +16 -12
  78. package/dist/m365/{aad → entra}/commands/user/user-license-list.js +16 -12
  79. package/dist/m365/{aad → entra}/commands/user/user-license-remove.js +16 -12
  80. package/dist/m365/{aad → entra}/commands/user/user-list.js +12 -8
  81. package/dist/m365/{aad → entra}/commands/user/user-password-validate.js +10 -6
  82. package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-clear.js +12 -8
  83. package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-list.js +6 -2
  84. package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-remove.js +14 -10
  85. package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-restore.js +12 -8
  86. package/dist/m365/{aad → entra}/commands/user/user-remove.js +16 -12
  87. package/dist/m365/{aad → entra}/commands/user/user-set.js +18 -14
  88. package/dist/m365/{aad → entra}/commands/user/user-signin-list.js +15 -11
  89. package/dist/m365/entra/commands.js +85 -0
  90. package/dist/m365/pa/commands/app/app-get.js +26 -11
  91. package/dist/m365/pa/commands/app/app-remove.js +19 -2
  92. package/dist/m365/spo/commands/group/group-member-remove.js +1 -1
  93. package/dist/m365/spo/commands/group/group-set.js +1 -1
  94. package/dist/m365/spo/commands/site/site-set.js +1 -1
  95. package/dist/m365/teams/commands/app/app-install.js +1 -1
  96. package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +1 -1
  97. package/docs/docs/cmd/adaptivecard/adaptivecard-send.mdx +1 -1
  98. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-add.mdx +10 -4
  99. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-get.mdx +9 -3
  100. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-list.mdx +9 -3
  101. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-member-add.mdx +13 -7
  102. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-member-get.mdx +9 -3
  103. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-member-list.mdx +16 -10
  104. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-remove.mdx +9 -3
  105. package/docs/docs/cmd/{aad → entra}/app/app-add.mdx +44 -38
  106. package/docs/docs/cmd/{aad → entra}/app/app-get.mdx +23 -17
  107. package/docs/docs/cmd/{aad → entra}/app/app-list.mdx +11 -5
  108. package/docs/docs/cmd/entra/app/app-permission-add.mdx +68 -0
  109. package/docs/docs/cmd/entra/app/app-remove.mdx +65 -0
  110. package/docs/docs/cmd/entra/app/app-role-add.mdx +74 -0
  111. package/docs/docs/cmd/{aad → entra}/app/app-role-list.mdx +20 -14
  112. package/docs/docs/cmd/entra/app/app-role-remove.mdx +84 -0
  113. package/docs/docs/cmd/entra/app/app-set.mdx +103 -0
  114. package/docs/docs/cmd/{aad → entra}/approleassignment/approleassignment-add.mdx +14 -8
  115. package/docs/docs/cmd/{aad → entra}/approleassignment/approleassignment-list.mdx +12 -6
  116. package/docs/docs/cmd/{aad → entra}/approleassignment/approleassignment-remove.mdx +13 -7
  117. package/docs/docs/cmd/{aad → entra}/group/group-get.mdx +15 -9
  118. package/docs/docs/cmd/{aad → entra}/group/group-list.mdx +13 -7
  119. package/docs/docs/cmd/entra/group/group-remove.mdx +50 -0
  120. package/docs/docs/cmd/{aad → entra}/group/group-user-list.mdx +17 -11
  121. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-add.mdx +11 -5
  122. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-get.mdx +9 -3
  123. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-list.mdx +10 -4
  124. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-remove.mdx +9 -3
  125. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-set.mdx +10 -4
  126. package/docs/docs/cmd/{aad → entra}/groupsettingtemplate/groupsettingtemplate-get.mdx +11 -5
  127. package/docs/docs/cmd/{aad → entra}/groupsettingtemplate/groupsettingtemplate-list.mdx +10 -4
  128. package/docs/docs/cmd/{aad → entra}/license/license-list.mdx +9 -3
  129. package/docs/docs/cmd/{aad → entra}/m365group/m365group-add.mdx +17 -11
  130. package/docs/docs/cmd/{aad → entra}/m365group/m365group-conversation-list.mdx +9 -3
  131. package/docs/docs/cmd/{aad → entra}/m365group/m365group-conversation-post-list.mdx +10 -4
  132. package/docs/docs/cmd/{aad → entra}/m365group/m365group-get.mdx +10 -4
  133. package/docs/docs/cmd/{aad → entra}/m365group/m365group-list.mdx +13 -7
  134. package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-clear.mdx +9 -3
  135. package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-list.mdx +12 -6
  136. package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-remove.mdx +10 -4
  137. package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-restore.mdx +10 -4
  138. package/docs/docs/cmd/{aad → entra}/m365group/m365group-remove.mdx +10 -4
  139. package/docs/docs/cmd/{aad → entra}/m365group/m365group-renew.mdx +8 -2
  140. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitycounts.mdx +10 -4
  141. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitydetail.mdx +11 -5
  142. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activityfilecounts.mdx +10 -4
  143. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitygroupcounts.mdx +10 -4
  144. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitystorage.mdx +10 -4
  145. package/docs/docs/cmd/{aad → entra}/m365group/m365group-set.mdx +12 -6
  146. package/docs/docs/cmd/{aad → entra}/m365group/m365group-teamify.mdx +9 -3
  147. package/docs/docs/cmd/{aad → entra}/m365group/m365group-user-add.mdx +9 -3
  148. package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +131 -0
  149. package/docs/docs/cmd/{aad → entra}/m365group/m365group-user-remove.mdx +9 -5
  150. package/docs/docs/cmd/{aad → entra}/m365group/m365group-user-set.mdx +10 -6
  151. package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-add.mdx +15 -9
  152. package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-list.mdx +11 -5
  153. package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-remove.mdx +13 -7
  154. package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-set.mdx +12 -6
  155. package/docs/docs/cmd/{aad → entra}/policy/policy-list.mdx +14 -8
  156. package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-disable.mdx +9 -3
  157. package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-enable.mdx +10 -4
  158. package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-get.mdx +9 -3
  159. package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-set.mdx +11 -5
  160. package/docs/docs/cmd/{aad → entra}/sp/sp-add.mdx +25 -19
  161. package/docs/docs/cmd/{aad → entra}/sp/sp-get.mdx +12 -6
  162. package/docs/docs/cmd/{aad → entra}/sp/sp-list.mdx +10 -4
  163. package/docs/docs/cmd/{aad → entra}/user/user-add.mdx +12 -6
  164. package/docs/docs/cmd/{aad → entra}/user/user-get.mdx +16 -10
  165. package/docs/docs/cmd/{aad → entra}/user/user-guest-add.mdx +11 -5
  166. package/docs/docs/cmd/{aad → entra}/user/user-hibp.mdx +10 -4
  167. package/docs/docs/cmd/{aad → entra}/user/user-license-add.mdx +10 -4
  168. package/docs/docs/cmd/{aad → entra}/user/user-license-list.mdx +11 -5
  169. package/docs/docs/cmd/{aad → entra}/user/user-license-remove.mdx +9 -3
  170. package/docs/docs/cmd/{aad → entra}/user/user-list.mdx +12 -6
  171. package/docs/docs/cmd/{aad → entra}/user/user-password-validate.mdx +9 -3
  172. package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-clear.mdx +9 -3
  173. package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-list.mdx +9 -3
  174. package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-remove.mdx +9 -3
  175. package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-restore.mdx +8 -2
  176. package/docs/docs/cmd/{aad → entra}/user/user-remove.mdx +9 -3
  177. package/docs/docs/cmd/{aad → entra}/user/user-set.mdx +15 -9
  178. package/docs/docs/cmd/{aad → entra}/user/user-signin-list.mdx +19 -13
  179. package/docs/docs/cmd/graph/schemaextension/schemaextension-add.mdx +1 -1
  180. package/docs/docs/cmd/graph/schemaextension/schemaextension-set.mdx +1 -1
  181. package/docs/docs/cmd/pa/app/app-get.mdx +15 -0
  182. package/docs/docs/cmd/pa/app/app-remove.mdx +14 -0
  183. package/docs/docs/cmd/planner/plan/plan-add.mdx +1 -1
  184. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +1 -1
  185. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +1 -1
  186. package/docs/docs/cmd/spo/commandset/commandset-add.mdx +1 -1
  187. package/docs/docs/cmd/spo/commandset/commandset-set.mdx +1 -1
  188. package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +1 -1
  189. package/docs/docs/cmd/spo/customaction/customaction-add.mdx +1 -1
  190. package/docs/docs/cmd/spo/customaction/customaction-set.mdx +1 -1
  191. package/docs/docs/cmd/spo/field/field-set.mdx +1 -1
  192. package/docs/docs/cmd/spo/list/list-view-set.mdx +1 -1
  193. package/docs/docs/cmd/spo/listitem/listitem-add.mdx +1 -1
  194. package/docs/docs/cmd/spo/listitem/listitem-batch-add.mdx +1 -1
  195. package/docs/docs/cmd/spo/listitem/listitem-set.mdx +1 -1
  196. package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.mdx +1 -1
  197. package/docs/docs/cmd/spo/page/page-control-set.mdx +1 -1
  198. package/docs/docs/cmd/spo/page/page-set.mdx +2 -2
  199. package/docs/docs/cmd/spo/site/site-add.mdx +1 -1
  200. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +1 -1
  201. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +1 -1
  202. package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +1 -1
  203. package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +1 -1
  204. package/docs/docs/cmd/spo/term/term-add.mdx +1 -1
  205. package/docs/docs/cmd/spo/term/term-group-add.mdx +1 -1
  206. package/docs/docs/cmd/spo/term/term-set-add.mdx +1 -1
  207. package/docs/docs/cmd/teams/team/team-add.mdx +1 -1
  208. package/npm-shrinkwrap.json +186 -432
  209. package/package.json +10 -10
  210. package/dist/m365/aad/commands/m365group/m365group-user-list.js +0 -94
  211. package/docs/docs/cmd/aad/app/app-permission-add.mdx +0 -62
  212. package/docs/docs/cmd/aad/app/app-remove.mdx +0 -59
  213. package/docs/docs/cmd/aad/app/app-role-add.mdx +0 -68
  214. package/docs/docs/cmd/aad/app/app-role-remove.mdx +0 -78
  215. package/docs/docs/cmd/aad/app/app-set.mdx +0 -97
  216. package/docs/docs/cmd/aad/group/group-remove.mdx +0 -44
  217. package/docs/docs/cmd/aad/m365group/m365group-user-list.mdx +0 -99
  218. /package/dist/m365/{aad → entra}/commands/approleassignment/ServicePrincipal.js +0 -0
  219. /package/dist/m365/{aad → entra}/commands/m365group/GroupExtended.js +0 -0
  220. /package/dist/m365/{aad → entra}/commands/siteclassification/SiteClassificationSettings.js +0 -0
@@ -3,21 +3,25 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
3
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _AadUserPasswordValidateCommand_instances, _AadUserPasswordValidateCommand_initOptions;
6
+ var _EntraUserPasswordValidateCommand_instances, _EntraUserPasswordValidateCommand_initOptions;
7
7
  import request from '../../../../request.js';
8
8
  import GraphCommand from '../../../base/GraphCommand.js';
9
+ import aadCommands from '../../aadCommands.js';
9
10
  import commands from '../../commands.js';
10
- class AadUserPasswordValidateCommand extends GraphCommand {
11
+ class EntraUserPasswordValidateCommand extends GraphCommand {
11
12
  get name() {
12
13
  return commands.USER_PASSWORD_VALIDATE;
13
14
  }
14
15
  get description() {
15
16
  return "Check a user's password against the organization's password validation policy";
16
17
  }
18
+ alias() {
19
+ return [aadCommands.USER_PASSWORD_VALIDATE];
20
+ }
17
21
  constructor() {
18
22
  super();
19
- _AadUserPasswordValidateCommand_instances.add(this);
20
- __classPrivateFieldGet(this, _AadUserPasswordValidateCommand_instances, "m", _AadUserPasswordValidateCommand_initOptions).call(this);
23
+ _EntraUserPasswordValidateCommand_instances.add(this);
24
+ __classPrivateFieldGet(this, _EntraUserPasswordValidateCommand_instances, "m", _EntraUserPasswordValidateCommand_initOptions).call(this);
21
25
  }
22
26
  async commandAction(logger, args) {
23
27
  try {
@@ -39,10 +43,10 @@ class AadUserPasswordValidateCommand extends GraphCommand {
39
43
  }
40
44
  }
41
45
  }
42
- _AadUserPasswordValidateCommand_instances = new WeakSet(), _AadUserPasswordValidateCommand_initOptions = function _AadUserPasswordValidateCommand_initOptions() {
46
+ _EntraUserPasswordValidateCommand_instances = new WeakSet(), _EntraUserPasswordValidateCommand_initOptions = function _EntraUserPasswordValidateCommand_initOptions() {
43
47
  this.options.unshift({
44
48
  option: '-p, --password <password>'
45
49
  });
46
50
  };
47
- export default new AadUserPasswordValidateCommand();
51
+ export default new EntraUserPasswordValidateCommand();
48
52
  //# sourceMappingURL=user-password-validate.js.map
@@ -3,24 +3,28 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
3
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _AadUserRecycleBinItemClearCommand_instances, _AadUserRecycleBinItemClearCommand_initTelemetry, _AadUserRecycleBinItemClearCommand_initOptions;
6
+ var _EntraUserRecycleBinItemClearCommand_instances, _EntraUserRecycleBinItemClearCommand_initTelemetry, _EntraUserRecycleBinItemClearCommand_initOptions;
7
7
  import { cli } from '../../../../cli/cli.js';
8
8
  import request from '../../../../request.js';
9
9
  import { odata } from '../../../../utils/odata.js';
10
10
  import GraphCommand from '../../../base/GraphCommand.js';
11
11
  import commands from '../../commands.js';
12
- class AadUserRecycleBinItemClearCommand extends GraphCommand {
12
+ import aadCommands from '../../aadCommands.js';
13
+ class EntraUserRecycleBinItemClearCommand extends GraphCommand {
13
14
  get name() {
14
15
  return commands.USER_RECYCLEBINITEM_CLEAR;
15
16
  }
16
17
  get description() {
17
18
  return 'Removes all users from the tenant recycle bin';
18
19
  }
20
+ alias() {
21
+ return [aadCommands.USER_RECYCLEBINITEM_CLEAR];
22
+ }
19
23
  constructor() {
20
24
  super();
21
- _AadUserRecycleBinItemClearCommand_instances.add(this);
22
- __classPrivateFieldGet(this, _AadUserRecycleBinItemClearCommand_instances, "m", _AadUserRecycleBinItemClearCommand_initTelemetry).call(this);
23
- __classPrivateFieldGet(this, _AadUserRecycleBinItemClearCommand_instances, "m", _AadUserRecycleBinItemClearCommand_initOptions).call(this);
25
+ _EntraUserRecycleBinItemClearCommand_instances.add(this);
26
+ __classPrivateFieldGet(this, _EntraUserRecycleBinItemClearCommand_instances, "m", _EntraUserRecycleBinItemClearCommand_initTelemetry).call(this);
27
+ __classPrivateFieldGet(this, _EntraUserRecycleBinItemClearCommand_instances, "m", _EntraUserRecycleBinItemClearCommand_initOptions).call(this);
24
28
  }
25
29
  async commandAction(logger, args) {
26
30
  const clearRecycleBinUsers = async () => {
@@ -70,16 +74,16 @@ class AadUserRecycleBinItemClearCommand extends GraphCommand {
70
74
  }
71
75
  }
72
76
  }
73
- _AadUserRecycleBinItemClearCommand_instances = new WeakSet(), _AadUserRecycleBinItemClearCommand_initTelemetry = function _AadUserRecycleBinItemClearCommand_initTelemetry() {
77
+ _EntraUserRecycleBinItemClearCommand_instances = new WeakSet(), _EntraUserRecycleBinItemClearCommand_initTelemetry = function _EntraUserRecycleBinItemClearCommand_initTelemetry() {
74
78
  this.telemetry.push((args) => {
75
79
  Object.assign(this.telemetryProperties, {
76
80
  force: !!args.options.force
77
81
  });
78
82
  });
79
- }, _AadUserRecycleBinItemClearCommand_initOptions = function _AadUserRecycleBinItemClearCommand_initOptions() {
83
+ }, _EntraUserRecycleBinItemClearCommand_initOptions = function _EntraUserRecycleBinItemClearCommand_initOptions() {
80
84
  this.options.unshift({
81
85
  option: '-f, --force'
82
86
  });
83
87
  };
84
- export default new AadUserRecycleBinItemClearCommand();
88
+ export default new EntraUserRecycleBinItemClearCommand();
85
89
  //# sourceMappingURL=user-recyclebinitem-clear.js.map
@@ -1,13 +1,17 @@
1
1
  import { odata } from '../../../../utils/odata.js';
2
2
  import GraphCommand from '../../../base/GraphCommand.js';
3
3
  import commands from '../../commands.js';
4
- class AadUserRecycleBinItemListCommand extends GraphCommand {
4
+ import aadCommands from '../../aadCommands.js';
5
+ class EntraUserRecycleBinItemListCommand extends GraphCommand {
5
6
  get name() {
6
7
  return commands.USER_RECYCLEBINITEM_LIST;
7
8
  }
8
9
  get description() {
9
10
  return 'Lists users from the recycle bin in the current tenant';
10
11
  }
12
+ alias() {
13
+ return [aadCommands.USER_RECYCLEBINITEM_LIST];
14
+ }
11
15
  defaultProperties() {
12
16
  return ['id', 'displayName', 'userPrincipalName'];
13
17
  }
@@ -24,5 +28,5 @@ class AadUserRecycleBinItemListCommand extends GraphCommand {
24
28
  }
25
29
  }
26
30
  }
27
- export default new AadUserRecycleBinItemListCommand();
31
+ export default new EntraUserRecycleBinItemListCommand();
28
32
  //# sourceMappingURL=user-recyclebinitem-list.js.map
@@ -3,25 +3,29 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
3
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _AadUserRecycleBinItemRemoveCommand_instances, _AadUserRecycleBinItemRemoveCommand_initTelemetry, _AadUserRecycleBinItemRemoveCommand_initOptions, _AadUserRecycleBinItemRemoveCommand_initValidators;
6
+ var _EntraUserRecycleBinItemRemoveCommand_instances, _EntraUserRecycleBinItemRemoveCommand_initTelemetry, _EntraUserRecycleBinItemRemoveCommand_initOptions, _EntraUserRecycleBinItemRemoveCommand_initValidators;
7
7
  import { cli } from '../../../../cli/cli.js';
8
8
  import request from '../../../../request.js';
9
9
  import { validation } from '../../../../utils/validation.js';
10
10
  import GraphCommand from '../../../base/GraphCommand.js';
11
+ import aadCommands from '../../aadCommands.js';
11
12
  import commands from '../../commands.js';
12
- class AadUserRecycleBinItemRemoveCommand extends GraphCommand {
13
+ class EntraUserRecycleBinItemRemoveCommand extends GraphCommand {
13
14
  get name() {
14
15
  return commands.USER_RECYCLEBINITEM_REMOVE;
15
16
  }
16
17
  get description() {
17
18
  return 'Removes a user from the recycle bin in the current tenant';
18
19
  }
20
+ alias() {
21
+ return [aadCommands.USER_RECYCLEBINITEM_REMOVE];
22
+ }
19
23
  constructor() {
20
24
  super();
21
- _AadUserRecycleBinItemRemoveCommand_instances.add(this);
22
- __classPrivateFieldGet(this, _AadUserRecycleBinItemRemoveCommand_instances, "m", _AadUserRecycleBinItemRemoveCommand_initTelemetry).call(this);
23
- __classPrivateFieldGet(this, _AadUserRecycleBinItemRemoveCommand_instances, "m", _AadUserRecycleBinItemRemoveCommand_initOptions).call(this);
24
- __classPrivateFieldGet(this, _AadUserRecycleBinItemRemoveCommand_instances, "m", _AadUserRecycleBinItemRemoveCommand_initValidators).call(this);
25
+ _EntraUserRecycleBinItemRemoveCommand_instances.add(this);
26
+ __classPrivateFieldGet(this, _EntraUserRecycleBinItemRemoveCommand_instances, "m", _EntraUserRecycleBinItemRemoveCommand_initTelemetry).call(this);
27
+ __classPrivateFieldGet(this, _EntraUserRecycleBinItemRemoveCommand_instances, "m", _EntraUserRecycleBinItemRemoveCommand_initOptions).call(this);
28
+ __classPrivateFieldGet(this, _EntraUserRecycleBinItemRemoveCommand_instances, "m", _EntraUserRecycleBinItemRemoveCommand_initValidators).call(this);
25
29
  }
26
30
  async commandAction(logger, args) {
27
31
  const clearRecycleBinItem = async () => {
@@ -50,19 +54,19 @@ class AadUserRecycleBinItemRemoveCommand extends GraphCommand {
50
54
  }
51
55
  }
52
56
  }
53
- _AadUserRecycleBinItemRemoveCommand_instances = new WeakSet(), _AadUserRecycleBinItemRemoveCommand_initTelemetry = function _AadUserRecycleBinItemRemoveCommand_initTelemetry() {
57
+ _EntraUserRecycleBinItemRemoveCommand_instances = new WeakSet(), _EntraUserRecycleBinItemRemoveCommand_initTelemetry = function _EntraUserRecycleBinItemRemoveCommand_initTelemetry() {
54
58
  this.telemetry.push((args) => {
55
59
  Object.assign(this.telemetryProperties, {
56
60
  force: !!args.options.force
57
61
  });
58
62
  });
59
- }, _AadUserRecycleBinItemRemoveCommand_initOptions = function _AadUserRecycleBinItemRemoveCommand_initOptions() {
63
+ }, _EntraUserRecycleBinItemRemoveCommand_initOptions = function _EntraUserRecycleBinItemRemoveCommand_initOptions() {
60
64
  this.options.unshift({
61
65
  option: '--id <id>'
62
66
  }, {
63
67
  option: '-f, --force'
64
68
  });
65
- }, _AadUserRecycleBinItemRemoveCommand_initValidators = function _AadUserRecycleBinItemRemoveCommand_initValidators() {
69
+ }, _EntraUserRecycleBinItemRemoveCommand_initValidators = function _EntraUserRecycleBinItemRemoveCommand_initValidators() {
66
70
  this.validators.push(async (args) => {
67
71
  if (args.options.id && !validation.isValidGuid(args.options.id)) {
68
72
  return `${args.options.id} is not a valid GUID`;
@@ -70,5 +74,5 @@ _AadUserRecycleBinItemRemoveCommand_instances = new WeakSet(), _AadUserRecycleBi
70
74
  return true;
71
75
  });
72
76
  };
73
- export default new AadUserRecycleBinItemRemoveCommand();
77
+ export default new EntraUserRecycleBinItemRemoveCommand();
74
78
  //# sourceMappingURL=user-recyclebinitem-remove.js.map
@@ -3,23 +3,27 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
3
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _AadUserRecycleBinItemRestoreCommand_instances, _AadUserRecycleBinItemRestoreCommand_initOptions, _AadUserRecycleBinItemRestoreCommand_initValidators;
6
+ var _EntraUserRecycleBinItemRestoreCommand_instances, _EntraUserRecycleBinItemRestoreCommand_initOptions, _EntraUserRecycleBinItemRestoreCommand_initValidators;
7
7
  import request from '../../../../request.js';
8
8
  import { validation } from '../../../../utils/validation.js';
9
9
  import GraphCommand from '../../../base/GraphCommand.js';
10
10
  import commands from '../../commands.js';
11
- class AadUserRecycleBinItemRestoreCommand extends GraphCommand {
11
+ import aadCommands from '../../aadCommands.js';
12
+ class EntraUserRecycleBinItemRestoreCommand extends GraphCommand {
12
13
  get name() {
13
14
  return commands.USER_RECYCLEBINITEM_RESTORE;
14
15
  }
15
16
  get description() {
16
17
  return 'Restores a user from the tenant recycle bin';
17
18
  }
19
+ alias() {
20
+ return [aadCommands.USER_RECYCLEBINITEM_RESTORE];
21
+ }
18
22
  constructor() {
19
23
  super();
20
- _AadUserRecycleBinItemRestoreCommand_instances.add(this);
21
- __classPrivateFieldGet(this, _AadUserRecycleBinItemRestoreCommand_instances, "m", _AadUserRecycleBinItemRestoreCommand_initOptions).call(this);
22
- __classPrivateFieldGet(this, _AadUserRecycleBinItemRestoreCommand_instances, "m", _AadUserRecycleBinItemRestoreCommand_initValidators).call(this);
24
+ _EntraUserRecycleBinItemRestoreCommand_instances.add(this);
25
+ __classPrivateFieldGet(this, _EntraUserRecycleBinItemRestoreCommand_instances, "m", _EntraUserRecycleBinItemRestoreCommand_initOptions).call(this);
26
+ __classPrivateFieldGet(this, _EntraUserRecycleBinItemRestoreCommand_instances, "m", _EntraUserRecycleBinItemRestoreCommand_initValidators).call(this);
23
27
  }
24
28
  async commandAction(logger, args) {
25
29
  if (this.verbose) {
@@ -41,11 +45,11 @@ class AadUserRecycleBinItemRestoreCommand extends GraphCommand {
41
45
  }
42
46
  }
43
47
  }
44
- _AadUserRecycleBinItemRestoreCommand_instances = new WeakSet(), _AadUserRecycleBinItemRestoreCommand_initOptions = function _AadUserRecycleBinItemRestoreCommand_initOptions() {
48
+ _EntraUserRecycleBinItemRestoreCommand_instances = new WeakSet(), _EntraUserRecycleBinItemRestoreCommand_initOptions = function _EntraUserRecycleBinItemRestoreCommand_initOptions() {
45
49
  this.options.unshift({
46
50
  option: '--id <id>'
47
51
  });
48
- }, _AadUserRecycleBinItemRestoreCommand_initValidators = function _AadUserRecycleBinItemRestoreCommand_initValidators() {
52
+ }, _EntraUserRecycleBinItemRestoreCommand_initValidators = function _EntraUserRecycleBinItemRestoreCommand_initValidators() {
49
53
  this.validators.push(async (args) => {
50
54
  if (args.options.id && !validation.isValidGuid(args.options.id)) {
51
55
  return `${args.options.id} is not a valid GUID`;
@@ -53,5 +57,5 @@ _AadUserRecycleBinItemRestoreCommand_instances = new WeakSet(), _AadUserRecycleB
53
57
  return true;
54
58
  });
55
59
  };
56
- export default new AadUserRecycleBinItemRestoreCommand();
60
+ export default new EntraUserRecycleBinItemRestoreCommand();
57
61
  //# sourceMappingURL=user-recyclebinitem-restore.js.map
@@ -3,26 +3,30 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
3
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _AadUserRemoveCommand_instances, _AadUserRemoveCommand_initTelemetry, _AadUserRemoveCommand_initOptions, _AadUserRemoveCommand_initOptionSets, _AadUserRemoveCommand_initValidators;
6
+ var _EntraUserRemoveCommand_instances, _EntraUserRemoveCommand_initTelemetry, _EntraUserRemoveCommand_initOptions, _EntraUserRemoveCommand_initOptionSets, _EntraUserRemoveCommand_initValidators;
7
7
  import commands from '../../commands.js';
8
8
  import request from '../../../../request.js';
9
9
  import { validation } from '../../../../utils/validation.js';
10
10
  import { cli } from '../../../../cli/cli.js';
11
11
  import GraphCommand from '../../../base/GraphCommand.js';
12
- class AadUserRemoveCommand extends GraphCommand {
12
+ import aadCommands from '../../aadCommands.js';
13
+ class EntraUserRemoveCommand extends GraphCommand {
13
14
  get name() {
14
15
  return commands.USER_REMOVE;
15
16
  }
16
17
  get description() {
17
18
  return 'Removes a specific user';
18
19
  }
20
+ alias() {
21
+ return [aadCommands.USER_REMOVE];
22
+ }
19
23
  constructor() {
20
24
  super();
21
- _AadUserRemoveCommand_instances.add(this);
22
- __classPrivateFieldGet(this, _AadUserRemoveCommand_instances, "m", _AadUserRemoveCommand_initTelemetry).call(this);
23
- __classPrivateFieldGet(this, _AadUserRemoveCommand_instances, "m", _AadUserRemoveCommand_initOptions).call(this);
24
- __classPrivateFieldGet(this, _AadUserRemoveCommand_instances, "m", _AadUserRemoveCommand_initValidators).call(this);
25
- __classPrivateFieldGet(this, _AadUserRemoveCommand_instances, "m", _AadUserRemoveCommand_initOptionSets).call(this);
25
+ _EntraUserRemoveCommand_instances.add(this);
26
+ __classPrivateFieldGet(this, _EntraUserRemoveCommand_instances, "m", _EntraUserRemoveCommand_initTelemetry).call(this);
27
+ __classPrivateFieldGet(this, _EntraUserRemoveCommand_instances, "m", _EntraUserRemoveCommand_initOptions).call(this);
28
+ __classPrivateFieldGet(this, _EntraUserRemoveCommand_instances, "m", _EntraUserRemoveCommand_initValidators).call(this);
29
+ __classPrivateFieldGet(this, _EntraUserRemoveCommand_instances, "m", _EntraUserRemoveCommand_initOptionSets).call(this);
26
30
  }
27
31
  async commandAction(logger, args) {
28
32
  if (this.verbose) {
@@ -54,7 +58,7 @@ class AadUserRemoveCommand extends GraphCommand {
54
58
  }
55
59
  }
56
60
  }
57
- _AadUserRemoveCommand_instances = new WeakSet(), _AadUserRemoveCommand_initTelemetry = function _AadUserRemoveCommand_initTelemetry() {
61
+ _EntraUserRemoveCommand_instances = new WeakSet(), _EntraUserRemoveCommand_initTelemetry = function _EntraUserRemoveCommand_initTelemetry() {
58
62
  this.telemetry.push((args) => {
59
63
  Object.assign(this.telemetryProperties, {
60
64
  id: typeof args.options.id !== 'undefined',
@@ -62,7 +66,7 @@ _AadUserRemoveCommand_instances = new WeakSet(), _AadUserRemoveCommand_initTelem
62
66
  force: !!args.options.force
63
67
  });
64
68
  });
65
- }, _AadUserRemoveCommand_initOptions = function _AadUserRemoveCommand_initOptions() {
69
+ }, _EntraUserRemoveCommand_initOptions = function _EntraUserRemoveCommand_initOptions() {
66
70
  this.options.unshift({
67
71
  option: '--id [id]'
68
72
  }, {
@@ -70,9 +74,9 @@ _AadUserRemoveCommand_instances = new WeakSet(), _AadUserRemoveCommand_initTelem
70
74
  }, {
71
75
  option: '-f, --force'
72
76
  });
73
- }, _AadUserRemoveCommand_initOptionSets = function _AadUserRemoveCommand_initOptionSets() {
77
+ }, _EntraUserRemoveCommand_initOptionSets = function _EntraUserRemoveCommand_initOptionSets() {
74
78
  this.optionSets.push({ options: ['id', 'userName'] });
75
- }, _AadUserRemoveCommand_initValidators = function _AadUserRemoveCommand_initValidators() {
79
+ }, _EntraUserRemoveCommand_initValidators = function _EntraUserRemoveCommand_initValidators() {
76
80
  this.validators.push(async (args) => {
77
81
  if (args.options.id && !validation.isValidGuid(args.options.id)) {
78
82
  return `${args.options.id} is not a valid GUID`;
@@ -83,5 +87,5 @@ _AadUserRemoveCommand_instances = new WeakSet(), _AadUserRemoveCommand_initTelem
83
87
  return true;
84
88
  });
85
89
  };
86
- export default new AadUserRemoveCommand();
90
+ export default new EntraUserRemoveCommand();
87
91
  //# sourceMappingURL=user-remove.js.map
@@ -3,32 +3,36 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
3
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _AadUserSetCommand_instances, _AadUserSetCommand_initTelemetry, _AadUserSetCommand_initOptions, _AadUserSetCommand_initTypes, _AadUserSetCommand_initValidators, _AadUserSetCommand_initOptionSets;
6
+ var _EntraUserSetCommand_instances, _EntraUserSetCommand_initTelemetry, _EntraUserSetCommand_initOptions, _EntraUserSetCommand_initTypes, _EntraUserSetCommand_initValidators, _EntraUserSetCommand_initOptionSets;
7
7
  import auth from '../../../../Auth.js';
8
8
  import request from '../../../../request.js';
9
9
  import { accessToken } from '../../../../utils/accessToken.js';
10
10
  import { formatting } from '../../../../utils/formatting.js';
11
11
  import { validation } from '../../../../utils/validation.js';
12
12
  import GraphCommand from '../../../base/GraphCommand.js';
13
+ import aadCommands from '../../aadCommands.js';
13
14
  import commands from '../../commands.js';
14
- class AadUserSetCommand extends GraphCommand {
15
+ class EntraUserSetCommand extends GraphCommand {
15
16
  get name() {
16
17
  return commands.USER_SET;
17
18
  }
18
19
  get description() {
19
20
  return 'Updates information about the specified user';
20
21
  }
22
+ alias() {
23
+ return [aadCommands.USER_SET];
24
+ }
21
25
  allowUnknownOptions() {
22
26
  return true;
23
27
  }
24
28
  constructor() {
25
29
  super();
26
- _AadUserSetCommand_instances.add(this);
27
- __classPrivateFieldGet(this, _AadUserSetCommand_instances, "m", _AadUserSetCommand_initTelemetry).call(this);
28
- __classPrivateFieldGet(this, _AadUserSetCommand_instances, "m", _AadUserSetCommand_initOptions).call(this);
29
- __classPrivateFieldGet(this, _AadUserSetCommand_instances, "m", _AadUserSetCommand_initTypes).call(this);
30
- __classPrivateFieldGet(this, _AadUserSetCommand_instances, "m", _AadUserSetCommand_initValidators).call(this);
31
- __classPrivateFieldGet(this, _AadUserSetCommand_instances, "m", _AadUserSetCommand_initOptionSets).call(this);
30
+ _EntraUserSetCommand_instances.add(this);
31
+ __classPrivateFieldGet(this, _EntraUserSetCommand_instances, "m", _EntraUserSetCommand_initTelemetry).call(this);
32
+ __classPrivateFieldGet(this, _EntraUserSetCommand_instances, "m", _EntraUserSetCommand_initOptions).call(this);
33
+ __classPrivateFieldGet(this, _EntraUserSetCommand_instances, "m", _EntraUserSetCommand_initTypes).call(this);
34
+ __classPrivateFieldGet(this, _EntraUserSetCommand_instances, "m", _EntraUserSetCommand_initValidators).call(this);
35
+ __classPrivateFieldGet(this, _EntraUserSetCommand_instances, "m", _EntraUserSetCommand_initOptionSets).call(this);
32
36
  }
33
37
  async commandAction(logger, args) {
34
38
  try {
@@ -149,7 +153,7 @@ class AadUserSetCommand extends GraphCommand {
149
153
  await request.delete(managerRequestOptions);
150
154
  }
151
155
  }
152
- _AadUserSetCommand_instances = new WeakSet(), _AadUserSetCommand_initTelemetry = function _AadUserSetCommand_initTelemetry() {
156
+ _EntraUserSetCommand_instances = new WeakSet(), _EntraUserSetCommand_initTelemetry = function _EntraUserSetCommand_initTelemetry() {
153
157
  this.telemetry.push((args) => {
154
158
  Object.assign(this.telemetryProperties, {
155
159
  id: typeof args.options.id !== 'undefined',
@@ -174,7 +178,7 @@ _AadUserSetCommand_instances = new WeakSet(), _AadUserSetCommand_initTelemetry =
174
178
  removeManager: typeof args.options.removeManager !== 'undefined'
175
179
  });
176
180
  });
177
- }, _AadUserSetCommand_initOptions = function _AadUserSetCommand_initOptions() {
181
+ }, _EntraUserSetCommand_initOptions = function _EntraUserSetCommand_initOptions() {
178
182
  this.options.unshift({
179
183
  option: '-i, --id [id]'
180
184
  }, {
@@ -217,9 +221,9 @@ _AadUserSetCommand_instances = new WeakSet(), _AadUserSetCommand_initTelemetry =
217
221
  }, {
218
222
  option: '--removeManager'
219
223
  });
220
- }, _AadUserSetCommand_initTypes = function _AadUserSetCommand_initTypes() {
224
+ }, _EntraUserSetCommand_initTypes = function _EntraUserSetCommand_initTypes() {
221
225
  this.types.boolean.push('accountEnabled');
222
- }, _AadUserSetCommand_initValidators = function _AadUserSetCommand_initValidators() {
226
+ }, _EntraUserSetCommand_initValidators = function _EntraUserSetCommand_initValidators() {
223
227
  this.validators.push(async (args) => {
224
228
  if (args.options.id &&
225
229
  !validation.isValidGuid(args.options.id)) {
@@ -275,7 +279,7 @@ _AadUserSetCommand_instances = new WeakSet(), _AadUserSetCommand_initTelemetry =
275
279
  }
276
280
  return true;
277
281
  });
278
- }, _AadUserSetCommand_initOptionSets = function _AadUserSetCommand_initOptionSets() {
282
+ }, _EntraUserSetCommand_initOptionSets = function _EntraUserSetCommand_initOptionSets() {
279
283
  this.optionSets.push({
280
284
  options: ['id', 'userName']
281
285
  }, {
@@ -283,5 +287,5 @@ _AadUserSetCommand_instances = new WeakSet(), _AadUserSetCommand_initTelemetry =
283
287
  runsWhen: (args) => args.options.managerUserId || args.options.managerUserName || args.options.removeManager
284
288
  });
285
289
  };
286
- export default new AadUserSetCommand();
290
+ export default new EntraUserSetCommand();
287
291
  //# sourceMappingURL=user-set.js.map
@@ -3,25 +3,29 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
3
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _AadUserSigninListCommand_instances, _AadUserSigninListCommand_initTelemetry, _AadUserSigninListCommand_initOptions, _AadUserSigninListCommand_initValidators;
6
+ var _EntraUserSigninListCommand_instances, _EntraUserSigninListCommand_initTelemetry, _EntraUserSigninListCommand_initOptions, _EntraUserSigninListCommand_initValidators;
7
7
  import { formatting } from '../../../../utils/formatting.js';
8
8
  import { odata } from '../../../../utils/odata.js';
9
9
  import { validation } from '../../../../utils/validation.js';
10
10
  import GraphCommand from '../../../base/GraphCommand.js';
11
11
  import commands from '../../commands.js';
12
- class AadUserSigninListCommand extends GraphCommand {
12
+ import aadCommands from '../../aadCommands.js';
13
+ class EntraUserSigninListCommand extends GraphCommand {
13
14
  get name() {
14
15
  return commands.USER_SIGNIN_LIST;
15
16
  }
16
17
  get description() {
17
- return 'Retrieves the Azure AD user sign-ins for the tenant';
18
+ return 'Retrieves the Entra ID user sign-ins for the tenant';
19
+ }
20
+ alias() {
21
+ return [aadCommands.USER_SIGNIN_LIST];
18
22
  }
19
23
  constructor() {
20
24
  super();
21
- _AadUserSigninListCommand_instances.add(this);
22
- __classPrivateFieldGet(this, _AadUserSigninListCommand_instances, "m", _AadUserSigninListCommand_initTelemetry).call(this);
23
- __classPrivateFieldGet(this, _AadUserSigninListCommand_instances, "m", _AadUserSigninListCommand_initOptions).call(this);
24
- __classPrivateFieldGet(this, _AadUserSigninListCommand_instances, "m", _AadUserSigninListCommand_initValidators).call(this);
25
+ _EntraUserSigninListCommand_instances.add(this);
26
+ __classPrivateFieldGet(this, _EntraUserSigninListCommand_instances, "m", _EntraUserSigninListCommand_initTelemetry).call(this);
27
+ __classPrivateFieldGet(this, _EntraUserSigninListCommand_instances, "m", _EntraUserSigninListCommand_initOptions).call(this);
28
+ __classPrivateFieldGet(this, _EntraUserSigninListCommand_instances, "m", _EntraUserSigninListCommand_initValidators).call(this);
25
29
  }
26
30
  defaultProperties() {
27
31
  return ['id', 'userPrincipalName', 'appId', 'appDisplayName', 'createdDateTime'];
@@ -50,7 +54,7 @@ class AadUserSigninListCommand extends GraphCommand {
50
54
  }
51
55
  }
52
56
  }
53
- _AadUserSigninListCommand_instances = new WeakSet(), _AadUserSigninListCommand_initTelemetry = function _AadUserSigninListCommand_initTelemetry() {
57
+ _EntraUserSigninListCommand_instances = new WeakSet(), _EntraUserSigninListCommand_initTelemetry = function _EntraUserSigninListCommand_initTelemetry() {
54
58
  this.telemetry.push((args) => {
55
59
  Object.assign(this.telemetryProperties, {
56
60
  userName: typeof args.options.userName !== 'undefined',
@@ -59,7 +63,7 @@ _AadUserSigninListCommand_instances = new WeakSet(), _AadUserSigninListCommand_i
59
63
  appId: typeof args.options.appId !== 'undefined'
60
64
  });
61
65
  });
62
- }, _AadUserSigninListCommand_initOptions = function _AadUserSigninListCommand_initOptions() {
66
+ }, _EntraUserSigninListCommand_initOptions = function _EntraUserSigninListCommand_initOptions() {
63
67
  this.options.unshift({
64
68
  option: '-n, --userName [userName]'
65
69
  }, {
@@ -69,7 +73,7 @@ _AadUserSigninListCommand_instances = new WeakSet(), _AadUserSigninListCommand_i
69
73
  }, {
70
74
  option: '--appId [appId]'
71
75
  });
72
- }, _AadUserSigninListCommand_initValidators = function _AadUserSigninListCommand_initValidators() {
76
+ }, _EntraUserSigninListCommand_initValidators = function _EntraUserSigninListCommand_initValidators() {
73
77
  this.validators.push(async (args) => {
74
78
  if (args.options.userId && args.options.userName) {
75
79
  return 'Specify either userId or userName, but not both';
@@ -89,5 +93,5 @@ _AadUserSigninListCommand_instances = new WeakSet(), _AadUserSigninListCommand_i
89
93
  return true;
90
94
  });
91
95
  };
92
- export default new AadUserSigninListCommand();
96
+ export default new EntraUserSigninListCommand();
93
97
  //# sourceMappingURL=user-signin-list.js.map
@@ -0,0 +1,85 @@
1
+ const prefix = 'entra';
2
+ export default {
3
+ ADMINISTRATIVEUNIT_ADD: `${prefix} administrativeunit add`,
4
+ ADMINISTRATIVEUNIT_GET: `${prefix} administrativeunit get`,
5
+ ADMINISTRATIVEUNIT_LIST: `${prefix} administrativeunit list`,
6
+ ADMINISTRATIVEUNIT_REMOVE: `${prefix} administrativeunit remove`,
7
+ ADMINISTRATIVEUNIT_MEMBER_ADD: `${prefix} administrativeunit member add`,
8
+ ADMINISTRATIVEUNIT_MEMBER_GET: `${prefix} administrativeunit member get`,
9
+ ADMINISTRATIVEUNIT_MEMBER_LIST: `${prefix} administrativeunit member list`,
10
+ APP_ADD: `${prefix} app add`,
11
+ APP_GET: `${prefix} app get`,
12
+ APP_LIST: `${prefix} app list`,
13
+ APP_REMOVE: `${prefix} app remove`,
14
+ APP_SET: `${prefix} app set`,
15
+ APP_PERMISSION_ADD: `${prefix} app permission add`,
16
+ APP_ROLE_ADD: `${prefix} app role add`,
17
+ APP_ROLE_LIST: `${prefix} app role list`,
18
+ APP_ROLE_REMOVE: `${prefix} app role remove`,
19
+ APPROLEASSIGNMENT_ADD: `${prefix} approleassignment add`,
20
+ APPROLEASSIGNMENT_LIST: `${prefix} approleassignment list`,
21
+ APPROLEASSIGNMENT_REMOVE: `${prefix} approleassignment remove`,
22
+ GROUP_GET: `${prefix} group get`,
23
+ GROUP_LIST: `${prefix} group list`,
24
+ GROUP_REMOVE: `${prefix} group remove`,
25
+ GROUP_USER_LIST: `${prefix} group user list`,
26
+ GROUPSETTING_ADD: `${prefix} groupsetting add`,
27
+ GROUPSETTING_GET: `${prefix} groupsetting get`,
28
+ GROUPSETTING_LIST: `${prefix} groupsetting list`,
29
+ GROUPSETTING_REMOVE: `${prefix} groupsetting remove`,
30
+ GROUPSETTING_SET: `${prefix} groupsetting set`,
31
+ GROUPSETTINGTEMPLATE_GET: `${prefix} groupsettingtemplate get`,
32
+ GROUPSETTINGTEMPLATE_LIST: `${prefix} groupsettingtemplate list`,
33
+ LICENSE_LIST: `${prefix} license list`,
34
+ M365GROUP_ADD: `${prefix} m365group add`,
35
+ M365GROUP_GET: `${prefix} m365group get`,
36
+ M365GROUP_LIST: `${prefix} m365group list`,
37
+ M365GROUP_CONVERSATION_LIST: `${prefix} m365group conversation list`,
38
+ M365GROUP_CONVERSATION_POST_LIST: `${prefix} m365group conversation post list`,
39
+ M365GROUP_RECYCLEBINITEM_CLEAR: `${prefix} m365group recyclebinitem clear`,
40
+ M365GROUP_RECYCLEBINITEM_LIST: `${prefix} m365group recyclebinitem list`,
41
+ M365GROUP_RECYCLEBINITEM_REMOVE: `${prefix} m365group recyclebinitem remove`,
42
+ M365GROUP_RECYCLEBINITEM_RESTORE: `${prefix} m365group recyclebinitem restore`,
43
+ M365GROUP_SET: `${prefix} m365group set`,
44
+ M365GROUP_TEAMIFY: `${prefix} m365group teamify`,
45
+ M365GROUP_REMOVE: `${prefix} m365group remove`,
46
+ M365GROUP_RENEW: `${prefix} m365group renew`,
47
+ M365GROUP_REPORT_ACTIVITYCOUNTS: `${prefix} m365group report activitycounts`,
48
+ M365GROUP_REPORT_ACTIVITYDETAIL: `${prefix} m365group report activitydetail`,
49
+ M365GROUP_REPORT_ACTIVITYFILECOUNTS: `${prefix} m365group report activityfilecounts`,
50
+ M365GROUP_REPORT_ACTIVITYGROUPCOUNTS: `${prefix} m365group report activitygroupcounts`,
51
+ M365GROUP_REPORT_ACTIVITYSTORAGE: `${prefix} m365group report activitystorage`,
52
+ M365GROUP_USER_ADD: `${prefix} m365group user add`,
53
+ M365GROUP_USER_LIST: `${prefix} m365group user list`,
54
+ M365GROUP_USER_REMOVE: `${prefix} m365group user remove`,
55
+ M365GROUP_USER_SET: `${prefix} m365group user set`,
56
+ OAUTH2GRANT_ADD: `${prefix} oauth2grant add`,
57
+ OAUTH2GRANT_LIST: `${prefix} oauth2grant list`,
58
+ OAUTH2GRANT_REMOVE: `${prefix} oauth2grant remove`,
59
+ OAUTH2GRANT_SET: `${prefix} oauth2grant set`,
60
+ POLICY_LIST: `${prefix} policy list`,
61
+ SITECLASSIFICATION_DISABLE: `${prefix} siteclassification disable`,
62
+ SITECLASSIFICATION_ENABLE: `${prefix} siteclassification enable`,
63
+ SITECLASSIFICATION_GET: `${prefix} siteclassification get`,
64
+ SITECLASSIFICATION_SET: `${prefix} siteclassification set`,
65
+ SP_ADD: `${prefix} sp add`,
66
+ SP_GET: `${prefix} sp get`,
67
+ SP_LIST: `${prefix} sp list`,
68
+ USER_ADD: `${prefix} user add`,
69
+ USER_GET: `${prefix} user get`,
70
+ USER_GUEST_ADD: `${prefix} user guest add`,
71
+ USER_HIBP: `${prefix} user hibp`,
72
+ USER_LICENSE_ADD: `${prefix} user license add`,
73
+ USER_LICENSE_LIST: `${prefix} user license list`,
74
+ USER_LICENSE_REMOVE: `${prefix} user license remove`,
75
+ USER_LIST: `${prefix} user list`,
76
+ USER_PASSWORD_VALIDATE: `${prefix} user password validate`,
77
+ USER_RECYCLEBINITEM_CLEAR: `${prefix} user recyclebinitem clear`,
78
+ USER_RECYCLEBINITEM_LIST: `${prefix} user recyclebinitem list`,
79
+ USER_RECYCLEBINITEM_REMOVE: `${prefix} user recyclebinitem remove`,
80
+ USER_REMOVE: `${prefix} user remove`,
81
+ USER_RECYCLEBINITEM_RESTORE: `${prefix} user recyclebinitem restore`,
82
+ USER_SET: `${prefix} user set`,
83
+ USER_SIGNIN_LIST: `${prefix} user signin list`
84
+ };
85
+ //# sourceMappingURL=commands.js.map