@pnp/cli-microsoft365 5.0.0-beta.d025005 → 5.0.0-beta.ef2dfe7
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/devcontainer.json +12 -9
- package/.eslintrc.js +1 -0
- package/.mocharc.json +9 -0
- package/README.md +2 -2
- package/dist/Command.js +1 -1
- package/dist/m365/aad/commands/app/app-delete.js +123 -0
- package/dist/m365/aad/commands/app/app-get.js +56 -11
- package/dist/m365/aad/commands/app/app-set.js +98 -3
- package/dist/m365/aad/commands/group/group-list.js +14 -1
- package/dist/m365/aad/commands/o365group/o365group-conversation-list.js +41 -0
- package/dist/m365/aad/commands.js +2 -0
- package/dist/m365/outlook/commands/room/room-list.js +43 -0
- package/dist/m365/outlook/commands/roomlist/roomlist-list.js +25 -0
- package/dist/m365/outlook/commands.js +2 -0
- package/dist/m365/planner/commands/task/task-get.js +1 -1
- package/dist/m365/planner/commands/task/task-list.js +37 -7
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.14.0-rc.2.js → upgrade-1.14.0.js} +25 -25
- package/dist/m365/spfx/commands/project/project-upgrade.js +13 -15
- package/dist/m365/spfx/commands/spfx-doctor.js +25 -6
- package/dist/m365/spo/commands/group/group-user-add.js +15 -8
- package/dist/m365/teams/commands/app/app-install.js +75 -21
- package/dist/m365/teams/commands/app/app-update.js +55 -12
- package/dist/m365/teams/commands/channel/channel-get.js +29 -7
- package/dist/m365/teams/commands/chat/chat-message-send.js +225 -0
- package/dist/m365/teams/commands.js +1 -0
- package/docs/docs/cmd/aad/app/app-delete.md +51 -0
- package/docs/docs/cmd/aad/app/app-get.md +12 -1
- package/docs/docs/cmd/aad/app/app-set.md +21 -0
- package/docs/docs/cmd/aad/group/group-list.md +9 -0
- package/docs/docs/cmd/aad/o365group/o365group-conversation-list.md +24 -0
- package/docs/docs/cmd/outlook/room/room-list.md +30 -0
- package/docs/docs/cmd/outlook/roomlist/roomlist-list.md +21 -0
- package/docs/docs/cmd/planner/task/task-get.md +5 -0
- package/docs/docs/cmd/planner/task/task-list.md +5 -0
- package/docs/docs/cmd/spfx/project/project-upgrade.md +8 -8
- package/docs/docs/cmd/spo/group/group-user-add.md +4 -0
- package/docs/docs/cmd/teams/app/app-install.md +22 -4
- package/docs/docs/cmd/teams/app/app-update.md +12 -3
- package/docs/docs/cmd/teams/channel/channel-get.md +10 -1
- package/docs/docs/cmd/teams/chat/chat-message-send.md +55 -0
- package/npm-shrinkwrap.json +36 -3
- package/package.json +6 -2
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# teams chat message send
|
|
2
|
+
|
|
3
|
+
Sends a chat message to a Microsoft Teams chat conversation.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 teams chat message send [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`--chatId [chatId]`
|
|
14
|
+
: The ID of the chat conversation. Specify either `chatId`, `chatName` or `userEmails`, but not multiple.
|
|
15
|
+
|
|
16
|
+
`--chatName [chatName]`
|
|
17
|
+
: The display name of the chat conversation. Specify either `chatId`, `chatName` or `userEmails`, but not multiple.
|
|
18
|
+
|
|
19
|
+
`-e, --userEmails [userEmails]`
|
|
20
|
+
: A comma-separated list of one or more e-mail addresses. Specify either `chatId`, `chatName` or `userEmails`, but not multiple.
|
|
21
|
+
|
|
22
|
+
`-m, --message <message>`
|
|
23
|
+
: The message to send
|
|
24
|
+
|
|
25
|
+
--8<-- "docs/cmd/_global.md"
|
|
26
|
+
|
|
27
|
+
## Remarks
|
|
28
|
+
|
|
29
|
+
A new chat conversation will be created if no existing conversation with the participants specified with emails is found.
|
|
30
|
+
|
|
31
|
+
## Examples
|
|
32
|
+
|
|
33
|
+
Send a message to a Microsoft Teams chat conversation by id
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
m365 teams chat message send --chatId 19:2da4c29f6d7041eca70b638b43d45437@thread.v2
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Send a message to a single person
|
|
40
|
+
|
|
41
|
+
```sh
|
|
42
|
+
m365 teams chat message send --userEmails alexw@contoso.com
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Send a message to a group of people
|
|
46
|
+
|
|
47
|
+
```sh
|
|
48
|
+
m365 teams chat message send --userEmails alexw@contoso.com,meganb@contoso.com
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Send a message to a chat conversation finding it by display name
|
|
52
|
+
|
|
53
|
+
```sh
|
|
54
|
+
m365 teams chat message send --chatName "Just a conversation"
|
|
55
|
+
```
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -65,7 +65,8 @@
|
|
|
65
65
|
"eslint-plugin-promise": "^6.0.0",
|
|
66
66
|
"mocha": "^9.2.0",
|
|
67
67
|
"rimraf": "^3.0.2",
|
|
68
|
-
"sinon": "^13.0.1"
|
|
68
|
+
"sinon": "^13.0.1",
|
|
69
|
+
"source-map-support": "^0.5.21"
|
|
69
70
|
}
|
|
70
71
|
},
|
|
71
72
|
"eslint-rules": {
|
|
@@ -1453,6 +1454,12 @@
|
|
|
1453
1454
|
"resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz",
|
|
1454
1455
|
"integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk="
|
|
1455
1456
|
},
|
|
1457
|
+
"node_modules/buffer-from": {
|
|
1458
|
+
"version": "1.1.2",
|
|
1459
|
+
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
|
|
1460
|
+
"integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",
|
|
1461
|
+
"dev": true
|
|
1462
|
+
},
|
|
1456
1463
|
"node_modules/c8": {
|
|
1457
1464
|
"version": "7.11.0",
|
|
1458
1465
|
"resolved": "https://registry.npmjs.org/c8/-/c8-7.11.0.tgz",
|
|
@@ -5389,11 +5396,21 @@
|
|
|
5389
5396
|
"version": "0.6.1",
|
|
5390
5397
|
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
|
|
5391
5398
|
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
|
|
5392
|
-
"
|
|
5399
|
+
"devOptional": true,
|
|
5393
5400
|
"engines": {
|
|
5394
5401
|
"node": ">=0.10.0"
|
|
5395
5402
|
}
|
|
5396
5403
|
},
|
|
5404
|
+
"node_modules/source-map-support": {
|
|
5405
|
+
"version": "0.5.21",
|
|
5406
|
+
"resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz",
|
|
5407
|
+
"integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==",
|
|
5408
|
+
"dev": true,
|
|
5409
|
+
"dependencies": {
|
|
5410
|
+
"buffer-from": "^1.0.0",
|
|
5411
|
+
"source-map": "^0.6.0"
|
|
5412
|
+
}
|
|
5413
|
+
},
|
|
5397
5414
|
"node_modules/sprintf-js": {
|
|
5398
5415
|
"version": "1.0.3",
|
|
5399
5416
|
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
|
|
@@ -7258,6 +7275,12 @@
|
|
|
7258
7275
|
"resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz",
|
|
7259
7276
|
"integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk="
|
|
7260
7277
|
},
|
|
7278
|
+
"buffer-from": {
|
|
7279
|
+
"version": "1.1.2",
|
|
7280
|
+
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
|
|
7281
|
+
"integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",
|
|
7282
|
+
"dev": true
|
|
7283
|
+
},
|
|
7261
7284
|
"c8": {
|
|
7262
7285
|
"version": "7.11.0",
|
|
7263
7286
|
"resolved": "https://registry.npmjs.org/c8/-/c8-7.11.0.tgz",
|
|
@@ -10238,7 +10261,17 @@
|
|
|
10238
10261
|
"version": "0.6.1",
|
|
10239
10262
|
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
|
|
10240
10263
|
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
|
|
10241
|
-
"
|
|
10264
|
+
"devOptional": true
|
|
10265
|
+
},
|
|
10266
|
+
"source-map-support": {
|
|
10267
|
+
"version": "0.5.21",
|
|
10268
|
+
"resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz",
|
|
10269
|
+
"integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==",
|
|
10270
|
+
"dev": true,
|
|
10271
|
+
"requires": {
|
|
10272
|
+
"buffer-from": "^1.0.0",
|
|
10273
|
+
"source-map": "^0.6.0"
|
|
10274
|
+
}
|
|
10242
10275
|
},
|
|
10243
10276
|
"sprintf-js": {
|
|
10244
10277
|
"version": "1.0.3",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.ef2dfe7",
|
|
4
4
|
"description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/api.js",
|
|
@@ -85,7 +85,9 @@
|
|
|
85
85
|
],
|
|
86
86
|
"contributors": [
|
|
87
87
|
"Ågren, Simon <simon.agren@sogeti.com>",
|
|
88
|
+
"Akash Karda <akashkarda@gmail.com>",
|
|
88
89
|
"Albany, Bruce <bruce.albany@gmail.com>",
|
|
90
|
+
"Auckloo, Reshmee <reshmee011@gmail.com>",
|
|
89
91
|
"Balasubramaniam, Jayakumar <jayakumar@live.in>",
|
|
90
92
|
"Bauer, Stefan <stefan.bauer@n8d.at>",
|
|
91
93
|
"Bernier, Hugo <hugoabernier@live.ca>",
|
|
@@ -136,6 +138,7 @@
|
|
|
136
138
|
"Patil, Atharva <atharvapatil19202@gmail.com>",
|
|
137
139
|
"Plenevaux, Yannick <yannick.plenevaux@gmail.com>",
|
|
138
140
|
"Powney, Mark <powney.mark@outlook.com>",
|
|
141
|
+
"pramod74 <pramod.lumb@gmail.com>",
|
|
139
142
|
"Priem, Mark <mark.priem@outlook.com>",
|
|
140
143
|
"Raju, Arnie <arnie.raju@thesolutioncollective.com.au>",
|
|
141
144
|
"Ramalho, David <dramalho@storm.ie>",
|
|
@@ -225,6 +228,7 @@
|
|
|
225
228
|
"eslint-plugin-promise": "^6.0.0",
|
|
226
229
|
"mocha": "^9.2.0",
|
|
227
230
|
"rimraf": "^3.0.2",
|
|
228
|
-
"sinon": "^13.0.1"
|
|
231
|
+
"sinon": "^13.0.1",
|
|
232
|
+
"source-map-support": "^0.5.21"
|
|
229
233
|
}
|
|
230
234
|
}
|