@pnp/cli-microsoft365 10.1.0-beta.6c6be23 → 10.1.0-beta.deac605

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 (55) hide show
  1. package/allCommands.json +1 -1
  2. package/allCommandsFull.json +1 -1
  3. package/dist/AuthServer.js +1 -1
  4. package/dist/Command.js +1 -1
  5. package/dist/cli/cli.js +2 -2
  6. package/dist/m365/entra/commands/m365group/m365group-add.js +1 -1
  7. package/dist/m365/entra/commands/m365group/m365group-list.js +1 -1
  8. package/dist/m365/entra/commands/m365group/m365group-set.js +1 -1
  9. package/dist/m365/file/commands/convert/convert-pdf.js +3 -4
  10. package/dist/m365/file/commands/file-add.js +5 -6
  11. package/dist/m365/pp/commands/{chatbot/chatbot-get.js → copilot/copilot-get.js} +24 -20
  12. package/dist/m365/pp/commands/{chatbot/chatbot-list.js → copilot/copilot-list.js} +16 -12
  13. package/dist/m365/pp/commands/{chatbot/chatbot-remove.js → copilot/copilot-remove.js} +28 -24
  14. package/dist/m365/pp/commands.js +3 -0
  15. package/dist/m365/spfx/commands/package/package-generate.js +1 -1
  16. package/dist/m365/spfx/commands/project/JsonRule.js +2 -2
  17. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN016004_TS_property_pane_property_import.js +2 -2
  18. package/dist/m365/spfx/commands/spfx-doctor.js +1 -1
  19. package/dist/m365/spo/commands/file/file-add.js +1 -1
  20. package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +1 -2
  21. package/dist/m365/spo/commands/file/file-retentionlabel-remove.js +1 -2
  22. package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +1 -2
  23. package/dist/m365/spo/commands/folder/folder-retentionlabel-remove.js +1 -2
  24. package/dist/m365/spo/commands/listitem/listitem-batch-remove.js +10 -8
  25. package/dist/m365/spo/commands/listitem/listitem-batch-set.js +1 -1
  26. package/dist/m365/spo/commands/listitem/listitem-retentionlabel-ensure.js +1 -2
  27. package/dist/m365/spo/commands/listitem/listitem-retentionlabel-remove.js +1 -2
  28. package/dist/m365/spo/commands/page/page-add.js +1 -1
  29. package/dist/m365/spo/commands/site/site-admin-add.js +4 -12
  30. package/dist/m365/spo/commands/site/site-admin-list.js +3 -11
  31. package/dist/m365/spo/commands/site/site-admin-remove.js +4 -12
  32. package/dist/m365/spo/commands/site/site-set.js +1 -1
  33. package/dist/m365/spp/commands/model/model-remove.js +105 -0
  34. package/dist/m365/spp/commands.js +2 -1
  35. package/dist/m365/teams/commands/user/user-app-list.js +1 -1
  36. package/dist/m365/tenant/commands/report/report-office365activationcounts.js +2 -8
  37. package/dist/m365/tenant/commands/report/report-office365activationsusercounts.js +2 -8
  38. package/dist/m365/tenant/commands/report/report-office365activationsuserdetail.js +2 -8
  39. package/dist/m365/todo/commands/list/list-remove.js +2 -1
  40. package/dist/m365/todo/commands/list/list-set.js +2 -1
  41. package/dist/m365/todo/commands/task/task-add.js +2 -1
  42. package/dist/m365/todo/commands/task/task-get.js +2 -1
  43. package/dist/m365/todo/commands/task/task-list.js +2 -1
  44. package/dist/m365/todo/commands/task/task-remove.js +2 -1
  45. package/dist/m365/todo/commands/task/task-set.js +1 -1
  46. package/dist/utils/formatting.js +8 -20
  47. package/dist/utils/spo.js +5 -4
  48. package/dist/utils/spp.js +3 -3
  49. package/dist/utils/urlUtil.js +11 -14
  50. package/docs/docs/cmd/pp/{chatbot/chatbot-get.mdx → copilot/copilot-get.mdx} +24 -18
  51. package/docs/docs/cmd/pp/{chatbot/chatbot-list.mdx → copilot/copilot-list.mdx} +20 -14
  52. package/docs/docs/cmd/pp/{chatbot/chatbot-remove.mdx → copilot/copilot-remove.mdx} +16 -10
  53. package/docs/docs/cmd/spp/model/model-remove.mdx +57 -0
  54. package/npm-shrinkwrap.json +6 -0
  55. package/package.json +3 -1
@@ -2,12 +2,18 @@ import Global from '/docs/cmd/_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # pp chatbot get
5
+ # pp copilot get
6
6
 
7
- Get information about the specified chatbot
7
+ Get information about the specified copilot
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 pp copilot get [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 pp chatbot get [options]
13
19
  ```
@@ -19,10 +25,10 @@ m365 pp chatbot get [options]
19
25
  : The name of the environment.
20
26
 
21
27
  `-i, --id [id]`
22
- : The id of the chatbot. Specify either `id` or `name` but not both.
28
+ : The id of the copilot. Specify either `id` or `name` but not both.
23
29
 
24
30
  `-n, --name [name]`
25
- : The name of the chatbot. Specify either `id` or `name` but not both.
31
+ : The name of the copilot. Specify either `id` or `name` but not both.
26
32
 
27
33
  `--asAdmin`
28
34
  : Run the command as admin for environments you do not have explicitly assigned permissions to.
@@ -32,28 +38,28 @@ m365 pp chatbot get [options]
32
38
 
33
39
  ## Examples
34
40
 
35
- Get a specific chatbot in a specific environment based on name.
41
+ Get a specific copilot in a specific environment based on name.
36
42
 
37
43
  ```sh
38
- m365 pp chatbot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --name "CLI 365 Chatbot"
44
+ m365 pp copilot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --name "CLI 365 Copilot"
39
45
  ```
40
46
 
41
- Get a specific chatbot in a specific environment based on name as admin.
47
+ Get a specific copilot in a specific environment based on name as admin.
42
48
 
43
49
  ```sh
44
- m365 pp chatbot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --name "CLI 365 Chatbot" --asAdmin
50
+ m365 pp copilot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --name "CLI 365 Copilot" --asAdmin
45
51
  ```
46
52
 
47
- Get a specific chatbot in a specific environment based on id.
53
+ Get a specific copilot in a specific environment based on id.
48
54
 
49
55
  ```sh
50
- m365 pp chatbot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --id "3a081d91-5ea8-40a7-8ac9-abbaa3fcb893"
56
+ m365 pp copilot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --id "3a081d91-5ea8-40a7-8ac9-abbaa3fcb893"
51
57
  ```
52
58
 
53
- Get a specific chatbot in a specific environment based on id as admin.
59
+ Get a specific copilot in a specific environment based on id as admin.
54
60
 
55
61
  ```sh
56
- m365 pp chatbot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --id "3a081d91-5ea8-40a7-8ac9-abbaa3fcb893" --asAdmin
62
+ m365 pp copilot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --id "3a081d91-5ea8-40a7-8ac9-abbaa3fcb893" --asAdmin
57
63
  ```
58
64
 
59
65
  ## Response
@@ -71,7 +77,7 @@ m365 pp chatbot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd5
71
77
  "schemaname": "new_bot_23f5f58697fd43d595eb451c9797a53d",
72
78
  "_ownerid_value": "5fa787c1-1c4d-ed11-bba1-000d3a2caf7f",
73
79
  "overwritetime": "1900-01-01T00:00:00Z",
74
- "name": "CLI 365 Chatbot",
80
+ "name": "CLI 365 Copilot",
75
81
  "solutionid": "fd140aae-4df4-11dd-bd17-0019b9312238",
76
82
  "ismanaged": false,
77
83
  "versionnumber": 1421457,
@@ -119,7 +125,7 @@ m365 pp chatbot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd5
119
125
  botid : 3a081d91-5ea8-40a7-8ac9-abbaa3fcb893
120
126
  createdon : 2022-11-19T10:42:22Z
121
127
  modifiedon : 2022-11-19T10:42:24Z
122
- name : CLI 365 Chatbot
128
+ name : CLI 365 Copilot
123
129
  publishedon: 2022-11-19T10:43:24Z
124
130
  ```
125
131
 
@@ -128,18 +134,18 @@ m365 pp chatbot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd5
128
134
 
129
135
  ```csv
130
136
  name,botid,publishedon,createdon,modifiedon
131
- CLI 365 Chatbot,3a081d91-5ea8-40a7-8ac9-abbaa3fcb893,2022-11-19T10:43:24Z,2022-11-19T10:42:22Z,2022-11-19T10:42:24Z
137
+ CLI 365 Copilot,3a081d91-5ea8-40a7-8ac9-abbaa3fcb893,2022-11-19T10:43:24Z,2022-11-19T10:42:22Z,2022-11-19T10:42:24Z
132
138
  ```
133
139
 
134
140
  </TabItem>
135
141
  <TabItem value="Markdown">
136
142
 
137
143
  ```md
138
- # pp chatbot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --id "3a081d91-5ea8-40a7-8ac9-abbaa3fcb893"
144
+ # pp copilot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --id "3a081d91-5ea8-40a7-8ac9-abbaa3fcb893"
139
145
 
140
146
  Date: 9/1/2023
141
147
 
142
- ## CLI 365 Chatbot
148
+ ## CLI 365 Copilot
143
149
 
144
150
  Property | Value
145
151
  ---------|-------
@@ -151,7 +157,7 @@ m365 pp chatbot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd5
151
157
  schemaname | new\_bot\_23f5f58697fd43d595eb451c9797a53d
152
158
  \_ownerid\_value | 5fa787c1-1c4d-ed11-bba1-000d3a2caf7f
153
159
  overwritetime | 1900-01-01T00:00:00Z
154
- name | CLI 365 Chatbot
160
+ name | CLI 365 Copilot
155
161
  solutionid | fd140aae-4df4-11dd-bd17-0019b9312238
156
162
  ismanaged | false
157
163
  versionnumber | 1445843
@@ -2,12 +2,18 @@ import Global from '/docs/cmd/_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # pp chatbot list
5
+ # pp copilot list
6
6
 
7
- Lists Microsoft Power Platform chatbot in the specified Power Platform environment
7
+ Lists Microsoft Power Platform copilots in the specified Power Platform environment
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 pp copilot list [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 pp chatbot list [options]
13
19
  ```
@@ -26,16 +32,16 @@ m365 pp chatbot list [options]
26
32
 
27
33
  ## Examples
28
34
 
29
- List chatbots in a specific environment.
35
+ List copilots in a specific environment.
30
36
 
31
37
  ```sh
32
- m365 pp chatbot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5"
38
+ m365 pp copilot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5"
33
39
  ```
34
40
 
35
- List chatbots in a specific environment as admin.
41
+ List copilots in a specific environment as admin.
36
42
 
37
43
  ```sh
38
- m365 pp chatbot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --asAdmin
44
+ m365 pp copilot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --asAdmin
39
45
  ```
40
46
 
41
47
  ## Response
@@ -59,7 +65,7 @@ m365 pp chatbot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd
59
65
  "isManaged": false,
60
66
  "versionNumber": 1429641,
61
67
  "timezoneRuleVersionNumber": 0,
62
- "name": "CLI Chatbot",
68
+ "name": "CLI Copilot",
63
69
  "statusCode": 1,
64
70
  "owner": "Doe, John",
65
71
  "overwriteTime": "1900-01-01T00:00:00Z",
@@ -77,9 +83,9 @@ m365 pp chatbot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd
77
83
  <TabItem value="Text">
78
84
 
79
85
  ```text
80
- name botid publishedOn createdOn botModifiedOn
81
- ------------ ------------------------------------ -------------------- -------------------- --------------------
82
- CLI Chatbot 23f5f586-97fd-43d5-95eb-451c9797a53d 2022-11-19T19:19:53Z 2022-11-19T10:42:22Z 2022-11-19T20:19:57Z
86
+ name botid publishedOn createdOn botModifiedOn
87
+ ----------- ------------------------------------ -------------------- -------------------- --------------------
88
+ CLI Copilot 23f5f586-97fd-43d5-95eb-451c9797a53d 2022-11-19T19:19:53Z 2022-11-19T10:42:22Z 2022-11-19T20:19:57Z
83
89
  ```
84
90
 
85
91
  </TabItem>
@@ -87,18 +93,18 @@ m365 pp chatbot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd
87
93
 
88
94
  ```csv
89
95
  name,botid,publishedOn,createdOn,botModifiedOn
90
- CLI Chatbot,23f5f586-97fd-43d5-95eb-451c9797a53d,2022-11-19T19:19:53Z,2022-11-19T10:42:22Z,2022-11-19T20:19:57Z
96
+ CLI Copilot,23f5f586-97fd-43d5-95eb-451c9797a53d,2022-11-19T19:19:53Z,2022-11-19T10:42:22Z,2022-11-19T20:19:57Z
91
97
  ```
92
98
 
93
99
  </TabItem>
94
100
  <TabItem value="Markdown">
95
101
 
96
102
  ```md
97
- # pp chatbot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5"
103
+ # pp copilot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5"
98
104
 
99
105
  Date: 9/1/2023
100
106
 
101
- ## CLI Chatbot
107
+ ## CLI Copilot
102
108
 
103
109
  Property | Value
104
110
  ---------|-------
@@ -115,7 +121,7 @@ m365 pp chatbot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd
115
121
  isManaged | false
116
122
  versionNumber | 1429641
117
123
  timezoneRuleVersionNumber | 0
118
- name | CLI Chatbot
124
+ name | CLI Copilot
119
125
  statusCode | 1
120
126
  owner | Doe, John
121
127
  overwriteTime | 1900-01-01T00:00:00Z
@@ -1,11 +1,17 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # pp chatbot remove
3
+ # pp copilot remove
4
4
 
5
- Removes the specified chatbot
5
+ Removes the specified copilot
6
6
 
7
7
  ## Usage
8
8
 
9
+ ```sh
10
+ m365 pp copilot remove [options]
11
+ ```
12
+
13
+ ## Alias
14
+
9
15
  ```sh
10
16
  m365 pp chatbot remove [options]
11
17
  ```
@@ -17,10 +23,10 @@ m365 pp chatbot remove [options]
17
23
  : The name of the environment.
18
24
 
19
25
  `-i, --id [id]`
20
- : The id of the chatbot. Specify either `id` or `name` but not both.
26
+ : The id of the copilot. Specify either `id` or `name` but not both.
21
27
 
22
28
  `-n, --name [name]`
23
- : The name of the chatbot. Specify either `id` or `name` but not both.
29
+ : The name of the copilot. Specify either `id` or `name` but not both.
24
30
 
25
31
  `--asAdmin`
26
32
  : Run the command as admin for environments you do not have explicitly assigned permissions to.
@@ -33,22 +39,22 @@ m365 pp chatbot remove [options]
33
39
 
34
40
  ## Examples
35
41
 
36
- Removes the specified Microsoft Power Platform chatbot owned by the currently signed-in user based on name
42
+ Removes the specified Microsoft Power Platform copilot owned by the currently signed-in user based on name
37
43
 
38
44
  ```sh
39
- m365 pp chatbot remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Chatbot Name"
45
+ m365 pp copilot remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Chatbot Name"
40
46
  ```
41
47
 
42
- Removes the specified Microsoft Power Platform chatbot owned by the currently signed-in user based on id without confirmation
48
+ Removes the specified Microsoft Power Platform copilot owned by the currently signed-in user based on id without confirmation
43
49
 
44
50
  ```sh
45
- m365 pp chatbot remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 9d9a13d0-6255-ed11-bba2-000d3adf774e --force
51
+ m365 pp copilot remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 9d9a13d0-6255-ed11-bba2-000d3adf774e --force
46
52
  ```
47
53
 
48
- Removes the specified Microsoft Power Platform chatbot owned by another user based on name
54
+ Removes the specified Microsoft Power Platform copilot owned by another user based on name
49
55
 
50
56
  ```sh
51
- m365 pp chatbot remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Chatbot Name" --asAdmin
57
+ m365 pp copilot remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Chatbot Name" --asAdmin
52
58
  ```
53
59
 
54
60
  ## Response
@@ -0,0 +1,57 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # spp model remove
6
+
7
+ Deletes a document understanding model
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 spp model remove [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `-u, --siteUrl <siteUrl>`
19
+ : The URL of the content center site.
20
+
21
+ `-i, --id [id]`
22
+ : The unique ID of the model. Specify either `id` or `title` but not both.
23
+
24
+ `-t, --title [title]`
25
+ : The display name of the model. Specify either `id` or `title` but not both.
26
+
27
+ `-f, --force`
28
+ : Don't prompt for confirmation.
29
+ ```
30
+
31
+ <Global />
32
+
33
+ ## Remarks
34
+
35
+ :::note
36
+
37
+ The model must be removed from all libraries before it can be deleted.
38
+
39
+ :::
40
+
41
+ ## Examples
42
+
43
+ Delete a SharePoint Premium document understanding model using the model’s UniqueId.
44
+
45
+ ```sh
46
+ m365 spp model remove --siteUrl "https://contoso.sharepoint.com/sites/ContentCenter" --id "7645e69d-21fb-4a24-a17a-9bdfa7cb63dc"
47
+ ```
48
+
49
+ Delete a SharePoint Premium document understanding model using the model’s title.
50
+
51
+ ```sh
52
+ m365 spp model remove --siteUrl "https://contoso.sharepoint.com/sites/ContentCenter" --title "climicrosoft365Model.classifier"
53
+ ```
54
+
55
+ ## Response
56
+
57
+ The command won't return a response on success.
@@ -24,6 +24,7 @@
24
24
  "chalk": "^5.3.0",
25
25
  "clipboardy": "^4.0.0",
26
26
  "configstore": "^7.0.0",
27
+ "csv-parse": "^5.5.6",
27
28
  "csv-stringify": "^6.5.1",
28
29
  "easy-table": "^1.2.0",
29
30
  "jmespath": "^0.16.0",
@@ -3401,6 +3402,11 @@
3401
3402
  "node": ">= 8"
3402
3403
  }
3403
3404
  },
3405
+ "node_modules/csv-parse": {
3406
+ "version": "5.6.0",
3407
+ "resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-5.6.0.tgz",
3408
+ "integrity": "sha512-l3nz3euub2QMg5ouu5U09Ew9Wf6/wQ8I++ch1loQ0ljmzhmfZYrH9fflS22i/PQEvsPvxCwxgz5q7UB8K1JO4Q=="
3409
+ },
3404
3410
  "node_modules/csv-stringify": {
3405
3411
  "version": "6.5.1",
3406
3412
  "resolved": "https://registry.npmjs.org/csv-stringify/-/csv-stringify-6.5.1.tgz",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "10.1.0-beta.6c6be23",
3
+ "version": "10.1.0-beta.deac605",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",
@@ -237,6 +237,7 @@
237
237
  "Trinder, Garry <garry.trinder@live.com>",
238
238
  "Tripathi, Saurabh <saurabh7019@gmail.com>",
239
239
  "Vaghasia, Siddharth <siddh.vaghasia@gmail.com>",
240
+ "van Brug, Herco <hercovanbrug@hotmail.com>",
240
241
  "Van de Voorde, Tim <tim.vdv1995@hotmail.com>",
241
242
  "van Dijk, Mark <mark@ichicraft.com>",
242
243
  "van Hunen, Erwin <erwin.van.hunen@outlook.com>",
@@ -267,6 +268,7 @@
267
268
  "chalk": "^5.3.0",
268
269
  "clipboardy": "^4.0.0",
269
270
  "configstore": "^7.0.0",
271
+ "csv-parse": "^5.5.6",
270
272
  "csv-stringify": "^6.5.1",
271
273
  "easy-table": "^1.2.0",
272
274
  "jmespath": "^0.16.0",