@pnp/cli-microsoft365 8.0.0-beta.5dade25 → 8.0.0-beta.630e741

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 (31) hide show
  1. package/allCommands.json +1 -1
  2. package/allCommandsFull.json +1 -1
  3. package/dist/Auth.js +1 -9
  4. package/dist/chili/chili.js +0 -23
  5. package/dist/cli/cli.js +1 -63
  6. package/dist/m365/commands/setup.js +0 -4
  7. package/dist/m365/external/commands/connection/connection-doctor.js +10 -24
  8. package/dist/m365/flow/commands/flow-list.js +21 -23
  9. package/dist/m365/spfx/commands/project/base-project-command.js +36 -126
  10. package/dist/m365/spo/commands/cdn/cdn-get.js +12 -15
  11. package/dist/m365/spo/commands/cdn/cdn-set.js +6 -4
  12. package/dist/m365/spo/commands/contenttype/contenttype-field-list.js +124 -0
  13. package/dist/m365/spo/commands/field/field-list.js +1 -1
  14. package/dist/m365/spo/commands/group/group-member-add.js +103 -99
  15. package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +2 -3
  16. package/dist/m365/spo/commands/page/page-text-add.js +2 -3
  17. package/dist/m365/spo/commands/spo-search.js +3 -4
  18. package/dist/m365/spo/commands.js +1 -0
  19. package/dist/m365/teams/commands/meeting/meeting-attendancereport-get.js +119 -0
  20. package/dist/m365/teams/commands.js +1 -0
  21. package/dist/utils/formatting.js +14 -1
  22. package/dist/utils/validation.js +19 -0
  23. package/docs/docs/cmd/external/connection/connection-doctor.mdx +9 -9
  24. package/docs/docs/cmd/flow/flow-list.mdx +114 -56
  25. package/docs/docs/cmd/spo/cdn/cdn-set.mdx +3 -3
  26. package/docs/docs/cmd/spo/contenttype/contenttype-field-list.mdx +172 -0
  27. package/docs/docs/cmd/spo/field/field-list.mdx +3 -3
  28. package/docs/docs/cmd/spo/group/group-member-add.mdx +34 -27
  29. package/docs/docs/cmd/teams/meeting/meeting-attendancereport-get.mdx +138 -0
  30. package/npm-shrinkwrap.json +0 -195
  31. package/package.json +2 -2
@@ -0,0 +1,138 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # teams meeting attendancereport get
6
+
7
+ Gets attendance report for a given meeting
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 teams meeting attendancereport get [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `-u, --userId [userId]`
19
+ : The id of the user, omit to get attendance report for the current signed in user. Use either `id`, `userName` or `email`, but not multiple.
20
+
21
+ `-n, --userName [userName]`
22
+ : The name of the user, omit to get attendance report for the current signed in user. Use either `id`, `userName` or `email`, but not multiple.
23
+
24
+ `--email [email]`
25
+ : The email of the user, omit to get attendance report for the current signed in user. Use either `id`, `userName` or `email`, but not multiple.
26
+
27
+ `-m, --meetingId <meetingId>`
28
+ : The Id of the meeting.
29
+
30
+ `-i, --id <id>`
31
+ : The Id of the attendance report.
32
+ ```
33
+
34
+ <Global />
35
+
36
+ ## Remarks
37
+
38
+ :::warning
39
+
40
+ To run this command with application permissions, tenant administrators must create an application access policy and grant it to a user. This authorizes the app configured in the policy to fetch online meetings and/or online meeting artifacts on behalf of that user. For more details, click [here](https://learn.microsoft.com/graph/cloud-communication-online-meeting-application-access-policy).
41
+
42
+ :::
43
+
44
+ :::note
45
+
46
+ This method doesn't support channel meetings.
47
+
48
+ :::
49
+
50
+ ## Examples
51
+
52
+ Gets the specified attendance report made for the current signed in user and Microsoft Teams meeting with given id.
53
+
54
+ ```sh
55
+ m365 teams meeting attendancereport get --meetingId MSo1N2Y5ZGFjYy03MWJmLTQ3NDMtYjQxMy01M2EdFGkdRWHJlQ --id a8634e64-3147-4a56-9b19-cc822e9c7972
56
+ ```
57
+
58
+ Gets the specified attendance report made for the garthf@contoso.com and Microsoft Teams meeting with given id.
59
+
60
+ ```sh
61
+ m365 teams meeting attendancereport list --userName garthf@contoso.com --meetingId MSo1N2Y5ZGFjYy03MWJmLTQ3NDMtYjQxMy01M2EdFGkdRWHJlQ --id a8634e64-3147-4a56-9b19-cc822e9c7972
62
+ ```
63
+
64
+ ## Response
65
+
66
+ <Tabs>
67
+ <TabItem value="JSON">
68
+
69
+ ```json
70
+ {
71
+ "id": "a8634e64-3147-4a56-9b19-cc822e9c7972",
72
+ "totalParticipantCount": 1,
73
+ "meetingStartDateTime": "2024-04-06T08:18:21.668Z",
74
+ "meetingEndDateTime": "2024-04-06T08:18:28.482Z",
75
+ "attendanceRecords": [
76
+ {
77
+ "id": "de36f75e-c103-410b-a18a-2bf6df06ac3b",
78
+ "emailAddress": "john@contoso.com",
79
+ "totalAttendanceInSeconds": 3,
80
+ "role": "Organizer",
81
+ "identity": {
82
+ "id": "de36f75e-c103-410b-a18a-2bf6df06ac3b",
83
+ "displayName": "John Doe",
84
+ "tenantId": "f1dd4023-a656-480a-8a0e-c1b1eec51e1e"
85
+ },
86
+ "attendanceIntervals": [
87
+ {
88
+ "joinDateTime": "2024-04-06T08:18:24.5069531Z",
89
+ "leaveDateTime": "2024-04-06T08:18:28.4820462Z",
90
+ "durationInSeconds": 3
91
+ }
92
+ ]
93
+ }
94
+ ]
95
+ }
96
+ ```
97
+
98
+ </TabItem>
99
+ <TabItem value="Text">
100
+
101
+ ```text
102
+ attendanceRecords : [{"id":"fe36f75e-c103-410b-a18a-2bf6df06ac3a","emailAddress":"john@contoso.com","totalAttendanceInSeconds":3,"role":"Organizer","identity":{"id":"de36f75e-c103-410b-a18a-2bf6df06ac3b","displayName":"John Doe","tenantId":"f1dd4023-a656-480a-8a0e-c1b1eec51e1e"},"attendanceIntervals":[{"joinDateTime":"2024-04-06T08:18:24.5069531Z","leaveDateTime":"2024-04-06T08:18:28.4820462Z","durationInSeconds":3}]}]
103
+ id : a8634e64-3147-4a56-9b19-cc822e9c7972
104
+ meetingEndDateTime : 2024-04-06T08:18:28.482Z
105
+ meetingStartDateTime : 2024-04-06T08:18:21.668Z
106
+ totalParticipantCount: 1
107
+ ```
108
+
109
+ </TabItem>
110
+ <TabItem value="CSV">
111
+
112
+ ```csv
113
+ id,totalParticipantCount,meetingStartDateTime,meetingEndDateTime
114
+ a8634e64-3147-4a56-9b19-cc822e9c7972,1,2024-04-06T08:18:21.668Z,2024-04-06T08:18:28.482Z
115
+ ```
116
+
117
+ </TabItem>
118
+
119
+ <TabItem value="Markdown">
120
+
121
+ ```md
122
+ # teams meeting attendancereport get --meetingId "MSpmZTM2Zjc1ZS1jMTAzLTQxMGItYTE4YS0yYmY2ZGYwNmFjM2EqMCoqMTk6bWVldGluZ19NRGt4TnpSaE56UXRZekZtWlMwMFlqWTFMVGhoTVRFdFpUWTBOV1JqTnpoaFkyVTVAdGhyZWFkLnYy" --id "a8634e64-3147-4a56-9b19-cc822e9c7972"
123
+
124
+ Date: 09/04/2024
125
+
126
+ ## a8634e64-3147-4a56-9b19-cc822e9c7972
127
+
128
+ Property | Value
129
+ ---------|-------
130
+ id | a8634e64-3147-4a56-9b19-cc822e9c7972
131
+ totalParticipantCount | 1
132
+ meetingStartDateTime | 2024-04-06T08:18:21.668Z
133
+ meetingEndDateTime | 2024-04-06T08:18:28.482Z
134
+ ```
135
+
136
+ </TabItem>
137
+ </Tabs>
138
+
@@ -32,7 +32,6 @@
32
32
  "node-forge": "^1.3.1",
33
33
  "omelette": "^0.4.17",
34
34
  "open": "^10.1.0",
35
- "ora": "^8.0.1",
36
35
  "semver": "^7.6.2",
37
36
  "strip-json-comments": "^5.0.1",
38
37
  "typescript": "^5.5.3",
@@ -2025,20 +2024,6 @@
2025
2024
  "url": "https://github.com/sponsors/sindresorhus"
2026
2025
  }
2027
2026
  },
2028
- "node_modules/cli-cursor": {
2029
- "version": "4.0.0",
2030
- "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz",
2031
- "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==",
2032
- "dependencies": {
2033
- "restore-cursor": "^4.0.0"
2034
- },
2035
- "engines": {
2036
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
2037
- },
2038
- "funding": {
2039
- "url": "https://github.com/sponsors/sindresorhus"
2040
- }
2041
- },
2042
2027
  "node_modules/cli-spinners": {
2043
2028
  "version": "2.9.2",
2044
2029
  "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz",
@@ -3116,17 +3101,6 @@
3116
3101
  "node": "6.* || 8.* || >= 10.*"
3117
3102
  }
3118
3103
  },
3119
- "node_modules/get-east-asian-width": {
3120
- "version": "1.2.0",
3121
- "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.2.0.tgz",
3122
- "integrity": "sha512-2nk+7SIVb14QrgXFHcm84tD4bKQz0RxPuMT8Ag5KPOq7J5fEmAg0UbXdTOSHqNuHSU28k55qnceesxXRZGzKWA==",
3123
- "engines": {
3124
- "node": ">=18"
3125
- },
3126
- "funding": {
3127
- "url": "https://github.com/sponsors/sindresorhus"
3128
- }
3129
- },
3130
3104
  "node_modules/get-stream": {
3131
3105
  "version": "8.0.1",
3132
3106
  "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz",
@@ -3571,17 +3545,6 @@
3571
3545
  "url": "https://github.com/sponsors/sindresorhus"
3572
3546
  }
3573
3547
  },
3574
- "node_modules/is-interactive": {
3575
- "version": "2.0.0",
3576
- "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz",
3577
- "integrity": "sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==",
3578
- "engines": {
3579
- "node": ">=12"
3580
- },
3581
- "funding": {
3582
- "url": "https://github.com/sponsors/sindresorhus"
3583
- }
3584
- },
3585
3548
  "node_modules/is-npm": {
3586
3549
  "version": "6.0.0",
3587
3550
  "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-6.0.0.tgz",
@@ -4446,111 +4409,6 @@
4446
4409
  "node": ">= 0.8.0"
4447
4410
  }
4448
4411
  },
4449
- "node_modules/ora": {
4450
- "version": "8.0.1",
4451
- "resolved": "https://registry.npmjs.org/ora/-/ora-8.0.1.tgz",
4452
- "integrity": "sha512-ANIvzobt1rls2BDny5fWZ3ZVKyD6nscLvfFRpQgfWsythlcsVUC9kL0zq6j2Z5z9wwp1kd7wpsD/T9qNPVLCaQ==",
4453
- "dependencies": {
4454
- "chalk": "^5.3.0",
4455
- "cli-cursor": "^4.0.0",
4456
- "cli-spinners": "^2.9.2",
4457
- "is-interactive": "^2.0.0",
4458
- "is-unicode-supported": "^2.0.0",
4459
- "log-symbols": "^6.0.0",
4460
- "stdin-discarder": "^0.2.1",
4461
- "string-width": "^7.0.0",
4462
- "strip-ansi": "^7.1.0"
4463
- },
4464
- "engines": {
4465
- "node": ">=18"
4466
- },
4467
- "funding": {
4468
- "url": "https://github.com/sponsors/sindresorhus"
4469
- }
4470
- },
4471
- "node_modules/ora/node_modules/ansi-regex": {
4472
- "version": "6.0.1",
4473
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
4474
- "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",
4475
- "engines": {
4476
- "node": ">=12"
4477
- },
4478
- "funding": {
4479
- "url": "https://github.com/chalk/ansi-regex?sponsor=1"
4480
- }
4481
- },
4482
- "node_modules/ora/node_modules/emoji-regex": {
4483
- "version": "10.3.0",
4484
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz",
4485
- "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw=="
4486
- },
4487
- "node_modules/ora/node_modules/is-unicode-supported": {
4488
- "version": "2.0.0",
4489
- "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.0.0.tgz",
4490
- "integrity": "sha512-FRdAyx5lusK1iHG0TWpVtk9+1i+GjrzRffhDg4ovQ7mcidMQ6mj+MhKPmvh7Xwyv5gIS06ns49CA7Sqg7lC22Q==",
4491
- "engines": {
4492
- "node": ">=18"
4493
- },
4494
- "funding": {
4495
- "url": "https://github.com/sponsors/sindresorhus"
4496
- }
4497
- },
4498
- "node_modules/ora/node_modules/log-symbols": {
4499
- "version": "6.0.0",
4500
- "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-6.0.0.tgz",
4501
- "integrity": "sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==",
4502
- "dependencies": {
4503
- "chalk": "^5.3.0",
4504
- "is-unicode-supported": "^1.3.0"
4505
- },
4506
- "engines": {
4507
- "node": ">=18"
4508
- },
4509
- "funding": {
4510
- "url": "https://github.com/sponsors/sindresorhus"
4511
- }
4512
- },
4513
- "node_modules/ora/node_modules/log-symbols/node_modules/is-unicode-supported": {
4514
- "version": "1.3.0",
4515
- "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz",
4516
- "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==",
4517
- "engines": {
4518
- "node": ">=12"
4519
- },
4520
- "funding": {
4521
- "url": "https://github.com/sponsors/sindresorhus"
4522
- }
4523
- },
4524
- "node_modules/ora/node_modules/string-width": {
4525
- "version": "7.2.0",
4526
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz",
4527
- "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==",
4528
- "dependencies": {
4529
- "emoji-regex": "^10.3.0",
4530
- "get-east-asian-width": "^1.0.0",
4531
- "strip-ansi": "^7.1.0"
4532
- },
4533
- "engines": {
4534
- "node": ">=18"
4535
- },
4536
- "funding": {
4537
- "url": "https://github.com/sponsors/sindresorhus"
4538
- }
4539
- },
4540
- "node_modules/ora/node_modules/strip-ansi": {
4541
- "version": "7.1.0",
4542
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
4543
- "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
4544
- "dependencies": {
4545
- "ansi-regex": "^6.0.1"
4546
- },
4547
- "engines": {
4548
- "node": ">=12"
4549
- },
4550
- "funding": {
4551
- "url": "https://github.com/chalk/strip-ansi?sponsor=1"
4552
- }
4553
- },
4554
4412
  "node_modules/p-cancelable": {
4555
4413
  "version": "3.0.0",
4556
4414
  "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-3.0.0.tgz",
@@ -4925,48 +4783,6 @@
4925
4783
  "url": "https://github.com/sponsors/sindresorhus"
4926
4784
  }
4927
4785
  },
4928
- "node_modules/restore-cursor": {
4929
- "version": "4.0.0",
4930
- "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz",
4931
- "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==",
4932
- "dependencies": {
4933
- "onetime": "^5.1.0",
4934
- "signal-exit": "^3.0.2"
4935
- },
4936
- "engines": {
4937
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
4938
- },
4939
- "funding": {
4940
- "url": "https://github.com/sponsors/sindresorhus"
4941
- }
4942
- },
4943
- "node_modules/restore-cursor/node_modules/mimic-fn": {
4944
- "version": "2.1.0",
4945
- "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
4946
- "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
4947
- "engines": {
4948
- "node": ">=6"
4949
- }
4950
- },
4951
- "node_modules/restore-cursor/node_modules/onetime": {
4952
- "version": "5.1.2",
4953
- "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
4954
- "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
4955
- "dependencies": {
4956
- "mimic-fn": "^2.1.0"
4957
- },
4958
- "engines": {
4959
- "node": ">=6"
4960
- },
4961
- "funding": {
4962
- "url": "https://github.com/sponsors/sindresorhus"
4963
- }
4964
- },
4965
- "node_modules/restore-cursor/node_modules/signal-exit": {
4966
- "version": "3.0.7",
4967
- "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
4968
- "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="
4969
- },
4970
4786
  "node_modules/reusify": {
4971
4787
  "version": "1.0.4",
4972
4788
  "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
@@ -5207,17 +5023,6 @@
5207
5023
  "resolved": "https://registry.npmjs.org/stack-chain/-/stack-chain-1.3.7.tgz",
5208
5024
  "integrity": "sha512-D8cWtWVdIe/jBA7v5p5Hwl5yOSOrmZPWDPe2KxQ5UAGD+nxbxU0lKXA4h85Ta6+qgdKVL3vUxsbIZjc1kBG7ug=="
5209
5025
  },
5210
- "node_modules/stdin-discarder": {
5211
- "version": "0.2.2",
5212
- "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.2.2.tgz",
5213
- "integrity": "sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ==",
5214
- "engines": {
5215
- "node": ">=18"
5216
- },
5217
- "funding": {
5218
- "url": "https://github.com/sponsors/sindresorhus"
5219
- }
5220
- },
5221
5026
  "node_modules/string-width": {
5222
5027
  "version": "5.1.2",
5223
5028
  "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "8.0.0-beta.5dade25",
3
+ "version": "8.0.0-beta.630e741",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",
@@ -134,6 +134,7 @@
134
134
  "Calabro, David <davej.calabro@gmail.com>",
135
135
  "Choudhary, Karnail Singh <pradhankarnail@gmail.com>",
136
136
  "Connell, Andrew <me@andrewconnell.com>",
137
+ "D'Andrea, Nello <nello.dandrea@mobi.ch>",
137
138
  "De Cleyre, Nico <nico.de.cleyre@gmail.com>",
138
139
  "Deshpande, Vardhaman <vardhaman.rd@gmail.com>",
139
140
  "Dojcsák, János <dojcsak.janos@gmail.com>",
@@ -274,7 +275,6 @@
274
275
  "node-forge": "^1.3.1",
275
276
  "omelette": "^0.4.17",
276
277
  "open": "^10.1.0",
277
- "ora": "^8.0.1",
278
278
  "semver": "^7.6.2",
279
279
  "strip-json-comments": "^5.0.1",
280
280
  "typescript": "^5.5.3",