@pnp/cli-microsoft365 10.9.0-beta.bc13e90 → 10.10.0-beta.1bb5ba0

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 (125) hide show
  1. package/.devcontainer/Dockerfile +1 -1
  2. package/.devproxy/api-specs/sharepoint-admin.yaml +67 -0
  3. package/.devproxy/api-specs/sharepoint.yaml +230 -0
  4. package/.devproxy/devproxyrc.json +48 -0
  5. package/.devproxy/generate-openapi-spec.json +24 -0
  6. package/.devproxy/spo-csom-types.json +54 -0
  7. package/.eslintrc.cjs +8 -0
  8. package/Dockerfile +3 -3
  9. package/allCommands.json +1 -1
  10. package/allCommandsFull.json +1 -1
  11. package/dist/cli/cli.js +2 -2
  12. package/dist/m365/app/commands/permission/permission-add.js +8 -1
  13. package/dist/m365/base/SpoCommand.js +1 -0
  14. package/dist/m365/entra/commands/app/app-permission-add.js +5 -18
  15. package/dist/m365/entra/commands/m365group/m365group-get.js +16 -3
  16. package/dist/m365/entra/commands/m365group/m365group-list.js +7 -1
  17. package/dist/m365/entra/commands/organization/organization-set.js +104 -0
  18. package/dist/m365/entra/commands/pim/pim-role-assignment-eligibility-list.js +9 -3
  19. package/dist/m365/entra/commands/pim/pim-role-assignment-list.js +9 -3
  20. package/dist/m365/entra/commands/pim/pim-role-request-list.js +9 -3
  21. package/dist/m365/entra/commands.js +1 -0
  22. package/dist/m365/file/commands/file-copy.js +2 -2
  23. package/dist/m365/file/commands/file-move.js +1 -1
  24. package/dist/m365/flow/commands/flow-list.js +14 -7
  25. package/dist/m365/flow/commands/run/run-get.js +1 -1
  26. package/dist/m365/graph/commands/subscription/subscription-add.js +10 -3
  27. package/dist/m365/planner/commands/tenant/tenant-settings-list.js +0 -3
  28. package/dist/m365/pp/commands/solution/solution-publisher-list.js +8 -1
  29. package/dist/m365/purview/commands/threatassessment/threatassessment-get.js +9 -2
  30. package/dist/m365/spo/commands/contenttype/contenttype-add.js +3 -65
  31. package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +5 -50
  32. package/dist/m365/spo/commands/contenttype/contenttype-field-set.js +4 -48
  33. package/dist/m365/spo/commands/contenttype/contenttype-set.js +8 -58
  34. package/dist/m365/spo/commands/contenttype/contenttype-sync.js +2 -2
  35. package/dist/m365/spo/commands/file/file-move.js +8 -2
  36. package/dist/m365/spo/commands/folder/folder-sharinglink-add.js +1 -1
  37. package/dist/m365/spo/commands/folder/folder-sharinglink-clear.js +1 -1
  38. package/dist/m365/spo/commands/folder/folder-sharinglink-get.js +1 -1
  39. package/dist/m365/spo/commands/folder/folder-sharinglink-list.js +1 -1
  40. package/dist/m365/spo/commands/folder/folder-sharinglink-remove.js +1 -1
  41. package/dist/m365/spo/commands/folder/folder-sharinglink-set.js +1 -1
  42. package/dist/m365/spo/commands/hubsite/hubsite-get.js +14 -5
  43. package/dist/m365/spo/commands/hubsite/hubsite-list.js +9 -2
  44. package/dist/m365/spo/commands/list/list-view-add.js +140 -87
  45. package/dist/m365/spo/commands/listitem/listitem-batch-set.js +3 -27
  46. package/dist/m365/spo/commands/page/Page.js +16 -1
  47. package/dist/m365/spo/commands/page/clientsidepages.js +53 -17
  48. package/dist/m365/spo/commands/page/page-add.js +1 -1
  49. package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +2 -8
  50. package/dist/m365/spo/commands/page/page-control-remove.js +99 -0
  51. package/dist/m365/spo/commands/page/page-control-set.js +1 -1
  52. package/dist/m365/spo/commands/page/page-header-set.js +9 -40
  53. package/dist/m365/spo/commands/page/page-publish.js +2 -10
  54. package/dist/m365/spo/commands/page/page-section-add.js +75 -21
  55. package/dist/m365/spo/commands/page/page-set.js +1 -1
  56. package/dist/m365/spo/commands/site/site-admin-add.js +1 -12
  57. package/dist/m365/spo/commands/site/site-set.js +2 -2
  58. package/dist/m365/spo/commands/tenant/tenant-site-list.js +16 -5
  59. package/dist/m365/spo/commands/term/term-list.js +10 -3
  60. package/dist/m365/spo/commands.js +1 -0
  61. package/dist/m365/teams/commands/chat/chat-member-add.js +10 -4
  62. package/dist/m365/viva/commands/engage/engage-community-remove.js +99 -0
  63. package/dist/m365/viva/commands/engage/engage-network-list.js +8 -2
  64. package/dist/m365/viva/commands.js +1 -0
  65. package/dist/utils/entraServicePrincipal.js +21 -0
  66. package/dist/utils/md.js +3 -3
  67. package/dist/utils/spo.js +87 -3
  68. package/docs/docs/cmd/_global.mdx +1 -1
  69. package/docs/docs/cmd/entra/m365group/m365group-get.mdx +8 -5
  70. package/docs/docs/cmd/entra/m365group/m365group-list.mdx +14 -12
  71. package/docs/docs/cmd/entra/organization/organization-set.mdx +84 -0
  72. package/docs/docs/cmd/entra/pim/pim-role-assignment-eligibility-list.mdx +7 -4
  73. package/docs/docs/cmd/entra/pim/pim-role-assignment-list.mdx +9 -6
  74. package/docs/docs/cmd/entra/pim/pim-role-request-list.mdx +7 -4
  75. package/docs/docs/cmd/flow/flow-list.mdx +8 -5
  76. package/docs/docs/cmd/flow/run/run-get.mdx +1 -1
  77. package/docs/docs/cmd/graph/subscription/subscription-add.mdx +6 -3
  78. package/docs/docs/cmd/planner/bucket/bucket-add.mdx +19 -0
  79. package/docs/docs/cmd/planner/bucket/bucket-get.mdx +19 -0
  80. package/docs/docs/cmd/planner/bucket/bucket-list.mdx +19 -0
  81. package/docs/docs/cmd/planner/bucket/bucket-remove.mdx +21 -0
  82. package/docs/docs/cmd/planner/bucket/bucket-set.mdx +21 -0
  83. package/docs/docs/cmd/planner/plan/plan-add.mdx +19 -0
  84. package/docs/docs/cmd/planner/plan/plan-get.mdx +19 -0
  85. package/docs/docs/cmd/planner/plan/plan-list.mdx +19 -0
  86. package/docs/docs/cmd/planner/plan/plan-remove.mdx +21 -0
  87. package/docs/docs/cmd/planner/plan/plan-set.mdx +19 -0
  88. package/docs/docs/cmd/planner/roster/roster-add.mdx +19 -0
  89. package/docs/docs/cmd/planner/roster/roster-get.mdx +19 -0
  90. package/docs/docs/cmd/planner/roster/roster-member-add.mdx +19 -0
  91. package/docs/docs/cmd/planner/roster/roster-member-get.mdx +19 -0
  92. package/docs/docs/cmd/planner/roster/roster-member-list.mdx +19 -0
  93. package/docs/docs/cmd/planner/roster/roster-member-remove.mdx +21 -0
  94. package/docs/docs/cmd/planner/roster/roster-plan-list.mdx +19 -0
  95. package/docs/docs/cmd/planner/roster/roster-remove.mdx +21 -0
  96. package/docs/docs/cmd/planner/task/task-add.mdx +19 -0
  97. package/docs/docs/cmd/planner/task/task-checklistitem-add.mdx +19 -0
  98. package/docs/docs/cmd/planner/task/task-checklistitem-list.mdx +19 -0
  99. package/docs/docs/cmd/planner/task/task-checklistitem-remove.mdx +21 -0
  100. package/docs/docs/cmd/planner/task/task-get.mdx +27 -0
  101. package/docs/docs/cmd/planner/task/task-list.mdx +19 -0
  102. package/docs/docs/cmd/planner/task/task-reference-add.mdx +19 -0
  103. package/docs/docs/cmd/planner/task/task-reference-list.mdx +19 -0
  104. package/docs/docs/cmd/planner/task/task-reference-remove.mdx +21 -0
  105. package/docs/docs/cmd/planner/task/task-remove.mdx +21 -0
  106. package/docs/docs/cmd/planner/task/task-set.mdx +19 -0
  107. package/docs/docs/cmd/planner/tenant/tenant-settings-list.mdx +44 -7
  108. package/docs/docs/cmd/planner/tenant/tenant-settings-set.mdx +43 -8
  109. package/docs/docs/cmd/pp/solution/solution-publisher-list.mdx +7 -4
  110. package/docs/docs/cmd/purview/threatassessment/threatassessment-get.mdx +7 -4
  111. package/docs/docs/cmd/spo/file/file-move.mdx +4 -1
  112. package/docs/docs/cmd/spo/hubsite/hubsite-get.mdx +6 -3
  113. package/docs/docs/cmd/spo/hubsite/hubsite-list.mdx +7 -4
  114. package/docs/docs/cmd/spo/list/list-add.mdx +1 -1
  115. package/docs/docs/cmd/spo/list/list-set.mdx +2 -2
  116. package/docs/docs/cmd/spo/list/list-view-add.mdx +53 -10
  117. package/docs/docs/cmd/spo/page/page-control-remove.mdx +56 -0
  118. package/docs/docs/cmd/spo/page/page-section-add.mdx +22 -2
  119. package/docs/docs/cmd/spo/tenant/tenant-site-list.mdx +10 -7
  120. package/docs/docs/cmd/spo/term/term-list.mdx +7 -4
  121. package/docs/docs/cmd/teams/chat/chat-member-add.mdx +6 -3
  122. package/docs/docs/cmd/viva/engage/engage-community-remove.mdx +61 -0
  123. package/docs/docs/cmd/viva/engage/engage-network-list.mdx +7 -4
  124. package/npm-shrinkwrap.json +2390 -587
  125. package/package.json +20 -17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "10.9.0-beta.bc13e90",
3
+ "version": "10.10.0-beta.1bb5ba0",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",
@@ -28,7 +28,10 @@
28
28
  "test:version": "node scripts/check-version.js",
29
29
  "test:cov": "c8 npm run test:test",
30
30
  "test:test": "mocha",
31
- "lint": "eslint --ext .ts src --cache --cache-strategy content"
31
+ "lint": "eslint --ext .ts src --cache --cache-strategy content",
32
+ "devproxy:apispec": "devproxy -c ./.devproxy/generate-openapi-spec.json",
33
+ "devproxy:discover": "devproxy --discover --as-system-proxy false",
34
+ "devproxy:permissions": "devproxy -c ./.devproxy/devproxyrc.json"
32
35
  },
33
36
  "keywords": [
34
37
  "adaptive card",
@@ -253,18 +256,18 @@
253
256
  "Zachariassen Laksafoss, Trygvi <trygvi.laksafoss@gmail.com>"
254
257
  ],
255
258
  "dependencies": {
256
- "@azure/msal-common": "^15.5.2",
257
- "@azure/msal-node": "^3.5.2",
258
- "@inquirer/confirm": "^5.1.9",
259
- "@inquirer/input": "^4.1.9",
260
- "@inquirer/select": "^4.2.0",
259
+ "@azure/msal-common": "^15.8.0",
260
+ "@azure/msal-node": "^3.6.2",
261
+ "@inquirer/confirm": "^5.1.13",
262
+ "@inquirer/input": "^4.2.0",
263
+ "@inquirer/select": "^4.2.4",
261
264
  "@xmldom/xmldom": "^0.9.8",
262
265
  "adaptive-expressions": "^4.23.2",
263
266
  "adaptivecards": "^3.0.5",
264
267
  "adaptivecards-templating": "^2.3.1",
265
268
  "adm-zip": "^0.5.16",
266
269
  "applicationinsights": "^3.7.0",
267
- "axios": "^1.9.0",
270
+ "axios": "^1.10.0",
268
271
  "chalk": "^5.4.1",
269
272
  "clipboardy": "^4.0.0",
270
273
  "configstore": "^7.0.0",
@@ -276,14 +279,14 @@
276
279
  "node-forge": "^1.3.1",
277
280
  "omelette": "^0.4.17",
278
281
  "open": "^10.1.2",
279
- "semver": "^7.7.1",
280
- "strip-json-comments": "^5.0.1",
282
+ "semver": "^7.7.2",
283
+ "strip-json-comments": "^5.0.2",
281
284
  "typescript": "^5.8.3",
282
285
  "update-notifier": "^7.3.1",
283
286
  "uuid": "^11.1.0",
284
- "yaml": "^2.7.1",
285
- "yargs-parser": "^21.1.1",
286
- "zod": "^3.24.4"
287
+ "yaml": "^2.8.0",
288
+ "yargs-parser": "^22.0.0",
289
+ "zod": "^3.25.75"
287
290
  },
288
291
  "devDependencies": {
289
292
  "@actions/core": "^1.11.1",
@@ -293,8 +296,8 @@
293
296
  "@types/json-schema": "^7.0.15",
294
297
  "@types/json-to-ast": "^2.1.4",
295
298
  "@types/mocha": "^10.0.10",
296
- "@types/node": "^22.15.6",
297
- "@types/node-forge": "^1.3.11",
299
+ "@types/node": "^22.16.0",
300
+ "@types/node-forge": "^1.3.12",
298
301
  "@types/omelette": "^0.4.5",
299
302
  "@types/semver": "^7.7.0",
300
303
  "@types/sinon": "^17.0.4",
@@ -307,9 +310,9 @@
307
310
  "eslint": "^8.57.1",
308
311
  "eslint-plugin-cli-microsoft365": "file:eslint-rules",
309
312
  "eslint-plugin-mocha": "^10.5.0",
310
- "mocha": "^11.2.2",
313
+ "mocha": "^11.7.1",
311
314
  "rimraf": "^6.0.1",
312
- "sinon": "^20.0.0",
315
+ "sinon": "^21.0.0",
313
316
  "source-map-support": "^0.5.21"
314
317
  }
315
318
  }