@pnp/cli-microsoft365 11.1.0-beta.5b5ee32 → 11.1.0-beta.875d79d
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/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/m365/planner/commands/tenant/tenant-settings-list.js +5 -0
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-list.js +5 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-list.js +5 -0
- package/npm-shrinkwrap.json +698 -1840
- package/package.json +17 -17
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { globalOptionsZod } from '../../../../Command.js';
|
|
1
2
|
import request from '../../../../request.js';
|
|
2
3
|
import PlannerCommand from '../../../base/PlannerCommand.js';
|
|
3
4
|
import commands from '../../commands.js';
|
|
5
|
+
const options = globalOptionsZod.strict();
|
|
4
6
|
class PlannerTenantSettingsListCommand extends PlannerCommand {
|
|
5
7
|
get name() {
|
|
6
8
|
return commands.TENANT_SETTINGS_LIST;
|
|
@@ -8,6 +10,9 @@ class PlannerTenantSettingsListCommand extends PlannerCommand {
|
|
|
8
10
|
get description() {
|
|
9
11
|
return 'Lists the Microsoft Planner configuration of the tenant';
|
|
10
12
|
}
|
|
13
|
+
get schema() {
|
|
14
|
+
return options;
|
|
15
|
+
}
|
|
11
16
|
async commandAction(logger) {
|
|
12
17
|
const requestOptions = {
|
|
13
18
|
url: `${this.resource}/taskAPI/tenantAdminSettings/Settings`,
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { globalOptionsZod } from '../../../../Command.js';
|
|
1
2
|
import { odata } from '../../../../utils/odata.js';
|
|
2
3
|
import GraphCommand from '../../../base/GraphCommand.js';
|
|
3
4
|
import commands from '../../commands.js';
|
|
5
|
+
const options = globalOptionsZod.strict();
|
|
4
6
|
class PurviewRetentionEventTypeListCommand extends GraphCommand {
|
|
5
7
|
get name() {
|
|
6
8
|
return commands.RETENTIONEVENTTYPE_LIST;
|
|
@@ -8,6 +10,9 @@ class PurviewRetentionEventTypeListCommand extends GraphCommand {
|
|
|
8
10
|
get description() {
|
|
9
11
|
return 'Get a list of retention event types';
|
|
10
12
|
}
|
|
13
|
+
get schema() {
|
|
14
|
+
return options;
|
|
15
|
+
}
|
|
11
16
|
defaultProperties() {
|
|
12
17
|
return ['id', 'displayName', 'createdDateTime'];
|
|
13
18
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { globalOptionsZod } from '../../../../Command.js';
|
|
1
2
|
import { odata } from '../../../../utils/odata.js';
|
|
2
3
|
import GraphCommand from '../../../base/GraphCommand.js';
|
|
3
4
|
import commands from '../../commands.js';
|
|
5
|
+
const options = globalOptionsZod.strict();
|
|
4
6
|
class PurviewRetentionLabelListCommand extends GraphCommand {
|
|
5
7
|
get name() {
|
|
6
8
|
return commands.RETENTIONLABEL_LIST;
|
|
@@ -8,6 +10,9 @@ class PurviewRetentionLabelListCommand extends GraphCommand {
|
|
|
8
10
|
get description() {
|
|
9
11
|
return 'Get a list of retention labels';
|
|
10
12
|
}
|
|
13
|
+
get schema() {
|
|
14
|
+
return options;
|
|
15
|
+
}
|
|
11
16
|
defaultProperties() {
|
|
12
17
|
return ['id', 'displayName', 'isInUse'];
|
|
13
18
|
}
|