@pnp/cli-microsoft365 11.9.0-beta.8c1ee05 → 11.9.0-beta.9bd71dd
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.
- package/.devcontainer/Dockerfile +2 -2
- package/.devproxy/api-specs/sharepoint.yaml +166 -0
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/m365/cli/commands/app/app-reconsent.js +8 -0
- package/dist/m365/cli/commands/cli-consent.js +8 -31
- package/dist/m365/cli/commands/cli-doctor.js +6 -1
- package/dist/m365/cli/commands/cli-issue.js +8 -36
- package/dist/m365/cli/commands/completion/completion-clink-update.js +8 -0
- package/dist/m365/cli/commands/completion/completion-pwsh-setup.js +8 -16
- package/dist/m365/cli/commands/completion/completion-pwsh-update.js +8 -0
- package/dist/m365/cli/commands/completion/completion-sh-setup.js +8 -0
- package/dist/m365/cli/commands/completion/completion-sh-update.js +8 -0
- package/dist/m365/cli/commands/config/config-get.js +9 -32
- package/dist/m365/cli/commands/config/config-list.js +8 -0
- package/dist/m365/cli/commands/config/config-reset.js +9 -34
- package/dist/m365/cli/commands/config/config-set.js +86 -70
- package/dist/m365/commands/request.js +26 -60
- package/dist/m365/commands/search.js +59 -77
- package/dist/m365/commands/setup.js +16 -31
- package/dist/m365/commands/version.js +6 -0
- package/dist/m365/connection/commands/connection-remove.js +9 -29
- package/dist/m365/connection/commands/connection-use.js +8 -26
- package/dist/m365/context/commands/context-init.js +6 -0
- package/dist/m365/context/commands/option/option-set.js +9 -18
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-add.js +32 -63
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-get.js +21 -45
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-list.js +32 -53
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-remove.js +34 -74
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-roleassignment-add.js +37 -57
- package/dist/m365/entra/commands/approleassignment/approleassignment-add.js +23 -48
- package/dist/m365/entra/commands/approleassignment/approleassignment-list.js +20 -43
- package/dist/m365/entra/commands/approleassignment/approleassignment-remove.js +24 -51
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-add.js +20 -43
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-get.js +20 -43
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-list.js +9 -25
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-remove.js +21 -50
- package/dist/m365/entra/commands/groupsetting/groupsetting-add.js +9 -25
- package/dist/m365/entra/commands/groupsetting/groupsetting-get.js +8 -24
- package/dist/m365/entra/commands/groupsetting/groupsetting-list.js +6 -0
- package/dist/m365/entra/commands/groupsetting/groupsetting-remove.js +9 -33
- package/dist/m365/entra/commands/groupsetting/groupsetting-set.js +8 -24
- package/dist/m365/entra/commands/groupsettingtemplate/groupsettingtemplate-get.js +19 -38
- package/dist/m365/entra/commands/groupsettingtemplate/groupsettingtemplate-list.js +6 -0
- package/dist/m365/entra/commands/multitenant/multitenant-get.js +8 -1
- package/dist/m365/entra/commands/multitenant/multitenant-remove.js +8 -22
- package/dist/m365/entra/commands/multitenant/multitenant-set.js +15 -36
- package/dist/m365/entra/commands/oauth2grant/oauth2grant-add.js +10 -31
- package/dist/m365/entra/commands/oauth2grant/oauth2grant-list.js +8 -24
- package/dist/m365/entra/commands/oauth2grant/oauth2grant-remove.js +9 -17
- package/dist/m365/entra/commands/oauth2grant/oauth2grant-set.js +9 -17
- package/dist/m365/entra/commands/pim/pim-role-assignment-add.js +68 -114
- package/dist/m365/entra/commands/pim/pim-role-assignment-eligibility-list.js +28 -55
- package/dist/m365/entra/commands/pim/pim-role-assignment-list.js +30 -57
- package/dist/m365/entra/commands/pim/pim-role-assignment-remove.js +50 -90
- package/dist/m365/entra/commands/pim/pim-role-request-list.js +36 -69
- package/dist/m365/entra/commands/policy/policy-list.js +13 -56
- package/dist/m365/entra/commands/user/user-add.js +39 -118
- package/dist/m365/entra/commands/user/user-get.js +24 -49
- package/dist/m365/entra/commands/user/user-groupmembership-list.js +25 -48
- package/dist/m365/entra/commands/user/user-guest-add.js +14 -39
- package/dist/m365/entra/commands/user/user-hibp.js +12 -34
- package/dist/m365/entra/commands/user/user-license-add.js +23 -42
- package/dist/m365/entra/commands/user/user-license-list.js +21 -42
- package/dist/m365/entra/commands/user/user-license-remove.js +25 -47
- package/dist/m365/entra/commands/user/user-list.js +12 -39
- package/dist/m365/entra/commands/user/user-password-validate.js +8 -15
- package/dist/m365/entra/commands/user/user-recyclebinitem-clear.js +8 -22
- package/dist/m365/entra/commands/user/user-recyclebinitem-remove.js +9 -33
- package/dist/m365/entra/commands/user/user-recyclebinitem-restore.js +8 -24
- package/dist/m365/entra/commands/user/user-registrationdetails-list.js +43 -113
- package/dist/m365/entra/commands/user/user-remove.js +22 -42
- package/dist/m365/entra/commands/user/user-set.js +69 -149
- package/dist/m365/entra/commands/user/user-signin-list.js +22 -51
- package/dist/m365/external/commands/connection/connection-add.js +40 -65
- package/dist/m365/external/commands/connection/connection-doctor.js +14 -30
- package/dist/m365/external/commands/connection/connection-get.js +19 -28
- package/dist/m365/external/commands/connection/connection-remove.js +20 -25
- package/dist/m365/external/commands/connection/connection-schema-add.js +53 -42
- package/dist/m365/external/commands/connection/connection-urltoitemresolver-add.js +12 -23
- package/dist/m365/external/commands/item/item-add.js +37 -60
- package/dist/m365/file/commands/convert/convert-pdf.js +18 -33
- package/dist/m365/file/commands/file-add.js +28 -34
- package/dist/m365/file/commands/file-copy.js +18 -34
- package/dist/m365/file/commands/file-list.js +18 -24
- package/dist/m365/file/commands/file-move.js +22 -35
- package/dist/m365/flow/commands/flow-disable.js +10 -26
- package/dist/m365/flow/commands/flow-enable.js +10 -26
- package/dist/m365/flow/commands/flow-export.js +45 -71
- package/dist/m365/flow/commands/flow-get.js +10 -26
- package/dist/m365/flow/commands/flow-list.js +17 -48
- package/dist/m365/flow/commands/flow-remove.js +11 -38
- package/dist/m365/flow/commands/owner/owner-ensure.js +30 -65
- package/dist/m365/flow/commands/owner/owner-list.js +10 -35
- package/dist/m365/flow/commands/owner/owner-remove.js +30 -61
- package/dist/m365/flow/commands/run/run-cancel.js +11 -37
- package/dist/m365/flow/commands/run/run-get.js +12 -43
- package/dist/m365/flow/commands/run/run-list.js +29 -61
- package/dist/m365/flow/commands/run/run-resubmit.js +11 -37
- package/dist/m365/graph/commands/changelog/changelog-list.js +68 -67
- package/dist/m365/graph/commands/schemaextension/schemaextension-add.js +25 -31
- package/dist/m365/graph/commands/schemaextension/schemaextension-get.js +8 -15
- package/dist/m365/graph/commands/schemaextension/schemaextension-list.js +26 -50
- package/dist/m365/graph/commands/schemaextension/schemaextension-remove.js +9 -24
- package/dist/m365/graph/commands/schemaextension/schemaextension-set.js +32 -53
- package/dist/m365/graph/commands/subscription/subscription-add.js +63 -89
- package/dist/m365/outlook/commands/calendar/calendar-get.js +1 -1
- package/dist/m365/outlook/commands/calendar/calendar-list.js +64 -0
- package/dist/m365/outlook/commands/mail/mail-send.js +55 -84
- package/dist/m365/outlook/commands/message/message-get.js +27 -27
- package/dist/m365/outlook/commands/message/message-list.js +53 -80
- package/dist/m365/outlook/commands/message/message-move.js +43 -40
- package/dist/m365/outlook/commands/message/message-remove.js +17 -45
- package/dist/m365/outlook/commands.js +1 -0
- package/dist/m365/spe/commands/container/container-get.js +54 -26
- package/dist/m365/spe/commands/container/container-permission-list.js +43 -4
- package/dist/m365/spe/commands/container/container-set.js +77 -0
- package/dist/m365/spe/commands.js +1 -0
- package/dist/m365/spo/commands/file/file-unarchive.js +83 -0
- package/dist/m365/spo/commands/folder/folder-archive.js +89 -0
- package/dist/m365/spo/commands/list/list-sensitivitylabel-remove.js +83 -0
- package/dist/m365/spo/commands.js +3 -0
- package/dist/m365/viva/commands/engage/engage-role-member-add.js +79 -0
- package/dist/m365/viva/commands.js +1 -0
- package/docs/docs/cmd/outlook/calendar/calendar-get.mdx +7 -7
- package/docs/docs/cmd/outlook/calendar/calendar-list.mdx +155 -0
- package/docs/docs/cmd/spe/container/container-get.mdx +24 -3
- package/docs/docs/cmd/spe/container/container-permission-list.mdx +24 -3
- package/docs/docs/cmd/spe/container/container-set.mdx +160 -0
- package/docs/docs/cmd/spo/app/app-add.mdx +19 -0
- package/docs/docs/cmd/spo/app/app-deploy.mdx +21 -0
- package/docs/docs/cmd/spo/app/app-get.mdx +19 -0
- package/docs/docs/cmd/spo/app/app-install.mdx +21 -0
- package/docs/docs/cmd/spo/app/app-instance-list.mdx +19 -0
- package/docs/docs/cmd/spo/app/app-list.mdx +19 -0
- package/docs/docs/cmd/spo/app/app-remove.mdx +21 -0
- package/docs/docs/cmd/spo/app/app-retract.mdx +21 -0
- package/docs/docs/cmd/spo/app/app-teamspackage-download.mdx +21 -0
- package/docs/docs/cmd/spo/app/app-uninstall.mdx +21 -0
- package/docs/docs/cmd/spo/app/app-upgrade.mdx +21 -0
- package/docs/docs/cmd/spo/apppage/apppage-add.mdx +19 -1
- package/docs/docs/cmd/spo/apppage/apppage-set.mdx +21 -0
- package/docs/docs/cmd/spo/commandset/commandset-add.mdx +19 -0
- package/docs/docs/cmd/spo/commandset/commandset-get.mdx +19 -0
- package/docs/docs/cmd/spo/commandset/commandset-list.mdx +19 -0
- package/docs/docs/cmd/spo/commandset/commandset-remove.mdx +21 -0
- package/docs/docs/cmd/spo/commandset/commandset-set.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-unarchive.mdx +68 -0
- package/docs/docs/cmd/spo/folder/folder-archive.mdx +73 -0
- package/docs/docs/cmd/spo/list/list-sensitivitylabel-remove.mdx +77 -0
- package/docs/docs/cmd/viva/engage/engage-role-member-add.mdx +76 -0
- package/npm-shrinkwrap.json +280 -128
- package/package.json +18 -18
package/.devcontainer/Dockerfile
CHANGED
|
@@ -8,8 +8,8 @@ LABEL name="CLI for Microsoft 365 Development" \
|
|
|
8
8
|
Albert-Jan Schot <appie@digiwijs.nl>, \
|
|
9
9
|
Adam Wojcik <adam.wojcik.it@gmail.com>, \
|
|
10
10
|
Martin Lingstuyl <mlingstuyl@live.com>, \
|
|
11
|
-
Jasey Waegebaert <
|
|
12
|
-
Milan Holemans <
|
|
11
|
+
Jasey Waegebaert <38426621+Jwaegebaert@users.noreply.github.com>, \
|
|
12
|
+
Milan Holemans <11723921+milanholemans@users.noreply.github.com>"
|
|
13
13
|
|
|
14
14
|
ENV NPM_CONFIG_PREFIX=/home/cli-microsoft365-dev/.npm-global \
|
|
15
15
|
PATH=$PATH:/home/cli-microsoft365-dev/.npm-global/bin
|
|
@@ -73,6 +73,35 @@ paths:
|
|
|
73
73
|
responses:
|
|
74
74
|
200:
|
|
75
75
|
description: OK
|
|
76
|
+
/_api/Lists(guid'{listId}')/items({itemId})/UnArchive:
|
|
77
|
+
post:
|
|
78
|
+
parameters:
|
|
79
|
+
- name: listId
|
|
80
|
+
in: path
|
|
81
|
+
required: true
|
|
82
|
+
description: list GUID
|
|
83
|
+
schema:
|
|
84
|
+
type: string
|
|
85
|
+
example: b2307a39-e878-458b-bc90-03bc578531d6
|
|
86
|
+
- name: itemId
|
|
87
|
+
in: path
|
|
88
|
+
required: true
|
|
89
|
+
description: list item ID
|
|
90
|
+
schema:
|
|
91
|
+
type: integer
|
|
92
|
+
example: 1
|
|
93
|
+
security:
|
|
94
|
+
- delegated:
|
|
95
|
+
- AllSites.Write
|
|
96
|
+
- AllSites.Manage
|
|
97
|
+
- AllSites.FullControl
|
|
98
|
+
- application:
|
|
99
|
+
- Sites.ReadWrite.All
|
|
100
|
+
- Sites.Manage.All
|
|
101
|
+
- Sites.FullControl.All
|
|
102
|
+
responses:
|
|
103
|
+
200:
|
|
104
|
+
description: OK
|
|
76
105
|
/_api/contextinfo:
|
|
77
106
|
post:
|
|
78
107
|
security:
|
|
@@ -217,6 +246,30 @@ paths:
|
|
|
217
246
|
responses:
|
|
218
247
|
200:
|
|
219
248
|
description: OK
|
|
249
|
+
/_api/web/GetFileById({fileId}):
|
|
250
|
+
get:
|
|
251
|
+
parameters:
|
|
252
|
+
- name: fileId
|
|
253
|
+
in: path
|
|
254
|
+
required: true
|
|
255
|
+
description: file unique ID
|
|
256
|
+
schema:
|
|
257
|
+
type: string
|
|
258
|
+
example: "'7a8c9207-7745-4cda-b0e2-be2618ee3030'"
|
|
259
|
+
security:
|
|
260
|
+
- delegated:
|
|
261
|
+
- AllSites.Read
|
|
262
|
+
- AllSites.Write
|
|
263
|
+
- AllSites.Manage
|
|
264
|
+
- AllSites.FullControl
|
|
265
|
+
- application:
|
|
266
|
+
- Sites.Read.All
|
|
267
|
+
- Sites.ReadWrite.All
|
|
268
|
+
- Sites.Manage.All
|
|
269
|
+
- Sites.FullControl.All
|
|
270
|
+
responses:
|
|
271
|
+
200:
|
|
272
|
+
description: OK
|
|
220
273
|
/_api/web/GetFileById({fileId})/versions:
|
|
221
274
|
get:
|
|
222
275
|
parameters:
|
|
@@ -310,6 +363,30 @@ paths:
|
|
|
310
363
|
responses:
|
|
311
364
|
200:
|
|
312
365
|
description: OK
|
|
366
|
+
/_api/web/GetFolderById({folderId}):
|
|
367
|
+
get:
|
|
368
|
+
parameters:
|
|
369
|
+
- name: folderId
|
|
370
|
+
in: path
|
|
371
|
+
required: true
|
|
372
|
+
description: folder unique ID
|
|
373
|
+
schema:
|
|
374
|
+
type: string
|
|
375
|
+
example: "'b2307a39-e878-458b-bc90-03bc578531d6'"
|
|
376
|
+
security:
|
|
377
|
+
- delegated:
|
|
378
|
+
- AllSites.Read
|
|
379
|
+
- AllSites.Write
|
|
380
|
+
- AllSites.Manage
|
|
381
|
+
- AllSites.FullControl
|
|
382
|
+
- application:
|
|
383
|
+
- Sites.Read.All
|
|
384
|
+
- Sites.ReadWrite.All
|
|
385
|
+
- Sites.Manage.All
|
|
386
|
+
- Sites.FullControl.All
|
|
387
|
+
responses:
|
|
388
|
+
200:
|
|
389
|
+
description: OK
|
|
313
390
|
/_api/web/GetFolderByServerRelativePath(DecodedUrl={folderPath}):
|
|
314
391
|
get:
|
|
315
392
|
parameters:
|
|
@@ -326,6 +403,11 @@ paths:
|
|
|
326
403
|
- AllSites.Write
|
|
327
404
|
- AllSites.Manage
|
|
328
405
|
- AllSites.FullControl
|
|
406
|
+
- application:
|
|
407
|
+
- Sites.Read.All
|
|
408
|
+
- Sites.ReadWrite.All
|
|
409
|
+
- Sites.Manage.All
|
|
410
|
+
- Sites.FullControl.All
|
|
329
411
|
responses:
|
|
330
412
|
200:
|
|
331
413
|
description: OK
|
|
@@ -394,6 +476,90 @@ paths:
|
|
|
394
476
|
responses:
|
|
395
477
|
200:
|
|
396
478
|
description: OK
|
|
479
|
+
/_api/web/lists(guid'{listId}'):
|
|
480
|
+
patch:
|
|
481
|
+
parameters:
|
|
482
|
+
- name: listId
|
|
483
|
+
in: path
|
|
484
|
+
required: true
|
|
485
|
+
description: list GUID
|
|
486
|
+
schema:
|
|
487
|
+
type: string
|
|
488
|
+
example: "b4cfa0d9-b3d7-49ae-a0f0-f14ffdd005f7"
|
|
489
|
+
requestBody:
|
|
490
|
+
required: true
|
|
491
|
+
content:
|
|
492
|
+
application/json:
|
|
493
|
+
example:
|
|
494
|
+
DefaultSensitivityLabelForLibrary: ""
|
|
495
|
+
security:
|
|
496
|
+
- delegated:
|
|
497
|
+
- AllSites.Write
|
|
498
|
+
- AllSites.Manage
|
|
499
|
+
- AllSites.FullControl
|
|
500
|
+
- application:
|
|
501
|
+
- Sites.ReadWrite.All
|
|
502
|
+
- Sites.Manage.All
|
|
503
|
+
- Sites.FullControl.All
|
|
504
|
+
responses:
|
|
505
|
+
204:
|
|
506
|
+
description: No Content
|
|
507
|
+
/_api/web/lists/getByTitle('{listTitle}'):
|
|
508
|
+
patch:
|
|
509
|
+
parameters:
|
|
510
|
+
- name: listTitle
|
|
511
|
+
in: path
|
|
512
|
+
required: true
|
|
513
|
+
description: list title
|
|
514
|
+
schema:
|
|
515
|
+
type: string
|
|
516
|
+
example: "Shared Documents"
|
|
517
|
+
requestBody:
|
|
518
|
+
required: true
|
|
519
|
+
content:
|
|
520
|
+
application/json:
|
|
521
|
+
example:
|
|
522
|
+
DefaultSensitivityLabelForLibrary: ""
|
|
523
|
+
security:
|
|
524
|
+
- delegated:
|
|
525
|
+
- AllSites.Write
|
|
526
|
+
- AllSites.Manage
|
|
527
|
+
- AllSites.FullControl
|
|
528
|
+
- application:
|
|
529
|
+
- Sites.ReadWrite.All
|
|
530
|
+
- Sites.Manage.All
|
|
531
|
+
- Sites.FullControl.All
|
|
532
|
+
responses:
|
|
533
|
+
204:
|
|
534
|
+
description: No Content
|
|
535
|
+
/_api/web/GetList('{listServerRelativeUrl}'):
|
|
536
|
+
patch:
|
|
537
|
+
parameters:
|
|
538
|
+
- name: listServerRelativeUrl
|
|
539
|
+
in: path
|
|
540
|
+
required: true
|
|
541
|
+
description: Server-relative URL of the list
|
|
542
|
+
schema:
|
|
543
|
+
type: string
|
|
544
|
+
example: "/Shared Documents"
|
|
545
|
+
requestBody:
|
|
546
|
+
required: true
|
|
547
|
+
content:
|
|
548
|
+
application/json:
|
|
549
|
+
example:
|
|
550
|
+
DefaultSensitivityLabelForLibrary: ""
|
|
551
|
+
security:
|
|
552
|
+
- delegated:
|
|
553
|
+
- AllSites.Write
|
|
554
|
+
- AllSites.Manage
|
|
555
|
+
- AllSites.FullControl
|
|
556
|
+
- application:
|
|
557
|
+
- Sites.ReadWrite.All
|
|
558
|
+
- Sites.Manage.All
|
|
559
|
+
- Sites.FullControl.All
|
|
560
|
+
responses:
|
|
561
|
+
204:
|
|
562
|
+
description: No Content
|
|
397
563
|
/_api/web/webs:
|
|
398
564
|
get:
|
|
399
565
|
security:
|