@pnp/cli-microsoft365 9.0.0-beta.e16d09c → 9.0.0-beta.f2c5f82
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/cli/cli.js +11 -6
- package/dist/config.js +1 -1
- package/dist/m365/app/commands/permission/permission-add.js +9 -9
- package/dist/m365/cli/commands/cli-consent.js +3 -7
- package/dist/m365/commands/status.js +2 -2
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-add.js +13 -13
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-get.js +18 -18
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-list.js +1 -1
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-remove.js +123 -0
- package/dist/m365/entra/commands/group/group-set.js +256 -0
- package/dist/m365/entra/commands/group/group-user-list.js +4 -4
- package/dist/m365/entra/commands/m365group/m365group-conversation-post-list.js +4 -4
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-list.js +3 -3
- package/dist/m365/entra/commands/m365group/m365group-user-add.js +109 -32
- package/dist/m365/entra/commands/m365group/m365group-user-list.js +6 -9
- package/dist/m365/entra/commands/m365group/m365group-user-set.js +159 -84
- package/dist/m365/entra/commands.js +3 -0
- package/dist/m365/flow/commands/flow-get.js +1 -1
- package/dist/m365/outlook/commands/message/message-get.js +11 -11
- package/dist/m365/pa/commands/app/app-export.js +13 -7
- package/dist/m365/spfx/commands/project/DeployWorkflow.js +1 -1
- package/dist/m365/spfx/commands/project/project-github-workflow-add.js +1 -10
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-get.js +0 -1
- package/dist/m365/spo/commands/file/file-copy.js +55 -34
- package/dist/m365/spo/commands/folder/folder-set.js +0 -4
- package/dist/m365/spo/commands/folder/folder-sharinglink-get.js +86 -0
- package/dist/m365/spo/commands/folder/folder-sharinglink-list.js +110 -0
- package/dist/m365/spo/commands/list/ListInstance.js +6 -1
- package/dist/m365/spo/commands/list/list-get.js +9 -3
- package/dist/m365/spo/commands/list/list-list.js +1 -4
- package/dist/m365/spo/commands/site/site-appcatalog-remove.js +48 -24
- package/dist/m365/spo/commands/site/site-remove.js +1 -7
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +2 -22
- package/dist/m365/spo/commands.js +2 -1
- package/dist/m365/teams/commands/message/message-restore.js +106 -0
- package/dist/m365/teams/commands.js +1 -0
- package/dist/m365/viva/commands/engage/engage-group-list.js +0 -5
- package/dist/m365/viva/commands/engage/engage-group-user-add.js +0 -5
- package/dist/m365/viva/commands/engage/engage-group-user-remove.js +0 -5
- package/dist/m365/viva/commands/engage/engage-message-add.js +0 -5
- package/dist/m365/viva/commands/engage/engage-message-get.js +0 -5
- package/dist/m365/viva/commands/engage/engage-message-like-set.js +0 -5
- package/dist/m365/viva/commands/engage/engage-message-list.js +0 -5
- package/dist/m365/viva/commands/engage/engage-message-remove.js +0 -5
- package/dist/m365/viva/commands/engage/engage-network-list.js +0 -5
- package/dist/m365/viva/commands/engage/engage-report-activitycounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-activityusercounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-activityuserdetail.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-deviceusagedistributionusercounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-deviceusageusercounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-deviceusageuserdetail.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-groupsactivitycounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-groupsactivitydetail.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-groupsactivitygroupcounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-search.js +0 -5
- package/dist/m365/viva/commands/engage/engage-user-get.js +0 -5
- package/dist/m365/viva/commands/engage/engage-user-list.js +0 -5
- package/dist/utils/drive.js +61 -0
- package/dist/utils/spo.js +106 -0
- package/docs/docs/cmd/app/permission/permission-add.mdx +5 -5
- package/docs/docs/cmd/cli/cli-consent.mdx +1 -1
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-add.mdx +12 -12
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-get.mdx +14 -14
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-list.mdx +5 -5
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-remove.mdx +65 -0
- package/docs/docs/cmd/entra/group/group-add.mdx +0 -4
- package/docs/docs/cmd/entra/group/group-set.mdx +89 -0
- package/docs/docs/cmd/entra/group/group-user-list.mdx +7 -7
- package/docs/docs/cmd/entra/m365group/m365group-conversation-post-list.mdx +5 -5
- package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-list.mdx +3 -3
- package/docs/docs/cmd/entra/m365group/m365group-user-add.mdx +28 -10
- package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-user-set.mdx +35 -11
- package/docs/docs/cmd/flow/flow-get.mdx +149 -283
- package/docs/docs/cmd/outlook/message/message-get.mdx +5 -5
- package/docs/docs/cmd/pa/app/app-export.mdx +15 -9
- package/docs/docs/cmd/spfx/project/project-github-workflow-add.mdx +11 -12
- package/docs/docs/cmd/spo/app/app-uninstall.mdx +1 -1
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +6 -5
- package/docs/docs/cmd/spo/file/file-copy.mdx +119 -12
- package/docs/docs/cmd/spo/folder/folder-set.mdx +0 -6
- package/docs/docs/cmd/spo/folder/folder-sharinglink-get.mdx +110 -0
- package/docs/docs/cmd/spo/folder/folder-sharinglink-list.mdx +114 -0
- package/docs/docs/cmd/spo/list/list-get.mdx +6 -0
- package/docs/docs/cmd/spo/list/list-list.mdx +5 -7
- package/docs/docs/cmd/spo/site/site-appcatalog-remove.mdx +11 -2
- package/docs/docs/cmd/spo/site/site-remove.mdx +0 -3
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.mdx +2 -49
- package/docs/docs/cmd/teams/message/message-remove.mdx +2 -1
- package/docs/docs/cmd/teams/message/message-restore.mdx +62 -0
- package/npm-shrinkwrap.json +572 -478
- package/package.json +22 -23
- package/dist/m365/viva/commands/engage/yammerCommands.js +0 -25
|
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
3
3
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
4
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
5
|
};
|
|
6
|
-
var _SpoTenantRecycleBinItemRestoreCommand_instances,
|
|
6
|
+
var _SpoTenantRecycleBinItemRestoreCommand_instances, _SpoTenantRecycleBinItemRestoreCommand_initOptions, _SpoTenantRecycleBinItemRestoreCommand_initValidators, _SpoTenantRecycleBinItemRestoreCommand_initTypes;
|
|
7
7
|
import request from '../../../../request.js';
|
|
8
8
|
import { formatting } from '../../../../utils/formatting.js';
|
|
9
9
|
import { odata } from '../../../../utils/odata.js';
|
|
@@ -22,15 +22,11 @@ class SpoTenantRecycleBinItemRestoreCommand extends SpoCommand {
|
|
|
22
22
|
constructor() {
|
|
23
23
|
super();
|
|
24
24
|
_SpoTenantRecycleBinItemRestoreCommand_instances.add(this);
|
|
25
|
-
__classPrivateFieldGet(this, _SpoTenantRecycleBinItemRestoreCommand_instances, "m", _SpoTenantRecycleBinItemRestoreCommand_initTelemetry).call(this);
|
|
26
25
|
__classPrivateFieldGet(this, _SpoTenantRecycleBinItemRestoreCommand_instances, "m", _SpoTenantRecycleBinItemRestoreCommand_initOptions).call(this);
|
|
27
26
|
__classPrivateFieldGet(this, _SpoTenantRecycleBinItemRestoreCommand_instances, "m", _SpoTenantRecycleBinItemRestoreCommand_initValidators).call(this);
|
|
28
27
|
__classPrivateFieldGet(this, _SpoTenantRecycleBinItemRestoreCommand_instances, "m", _SpoTenantRecycleBinItemRestoreCommand_initTypes).call(this);
|
|
29
28
|
}
|
|
30
29
|
async commandAction(logger, args) {
|
|
31
|
-
if (args.options.wait) {
|
|
32
|
-
await this.warn(logger, `Option 'wait' is deprecated and will be removed in the next major release.`);
|
|
33
|
-
}
|
|
34
30
|
try {
|
|
35
31
|
if (this.verbose) {
|
|
36
32
|
await logger.logToStderr(`Restoring site collection '${args.options.siteUrl}' from recycle bin.`);
|
|
@@ -62,13 +58,6 @@ class SpoTenantRecycleBinItemRestoreCommand extends SpoCommand {
|
|
|
62
58
|
};
|
|
63
59
|
await request.post(restoreOptions);
|
|
64
60
|
}
|
|
65
|
-
// Here, we return a fixed response because this new API endpoint doesn't return a response while the previous API did.
|
|
66
|
-
// This has to be removed in the next major release.
|
|
67
|
-
await logger.log({
|
|
68
|
-
HasTimedout: false,
|
|
69
|
-
IsComplete: !!args.options.wait,
|
|
70
|
-
PollingInterval: 15000
|
|
71
|
-
});
|
|
72
61
|
}
|
|
73
62
|
catch (err) {
|
|
74
63
|
this.handleRejectedODataJsonPromise(err);
|
|
@@ -79,23 +68,14 @@ class SpoTenantRecycleBinItemRestoreCommand extends SpoCommand {
|
|
|
79
68
|
return sites[0].GroupId;
|
|
80
69
|
}
|
|
81
70
|
}
|
|
82
|
-
_SpoTenantRecycleBinItemRestoreCommand_instances = new WeakSet(),
|
|
83
|
-
this.telemetry.push((args) => {
|
|
84
|
-
Object.assign(this.telemetryProperties, {
|
|
85
|
-
wait: !!args.options.wait
|
|
86
|
-
});
|
|
87
|
-
});
|
|
88
|
-
}, _SpoTenantRecycleBinItemRestoreCommand_initOptions = function _SpoTenantRecycleBinItemRestoreCommand_initOptions() {
|
|
71
|
+
_SpoTenantRecycleBinItemRestoreCommand_instances = new WeakSet(), _SpoTenantRecycleBinItemRestoreCommand_initOptions = function _SpoTenantRecycleBinItemRestoreCommand_initOptions() {
|
|
89
72
|
this.options.unshift({
|
|
90
73
|
option: '-u, --siteUrl <siteUrl>'
|
|
91
|
-
}, {
|
|
92
|
-
option: '--wait'
|
|
93
74
|
});
|
|
94
75
|
}, _SpoTenantRecycleBinItemRestoreCommand_initValidators = function _SpoTenantRecycleBinItemRestoreCommand_initValidators() {
|
|
95
76
|
this.validators.push(async (args) => validation.isValidSharePointUrl(args.options.siteUrl));
|
|
96
77
|
}, _SpoTenantRecycleBinItemRestoreCommand_initTypes = function _SpoTenantRecycleBinItemRestoreCommand_initTypes() {
|
|
97
78
|
this.types.string.push('siteUrl');
|
|
98
|
-
this.types.boolean.push('wait');
|
|
99
79
|
};
|
|
100
80
|
export default new SpoTenantRecycleBinItemRestoreCommand();
|
|
101
81
|
//# sourceMappingURL=tenant-recyclebinitem-restore.js.map
|
|
@@ -92,7 +92,6 @@ export default {
|
|
|
92
92
|
FOLDER_LIST: `${prefix} folder list`,
|
|
93
93
|
FOLDER_MOVE: `${prefix} folder move`,
|
|
94
94
|
FOLDER_REMOVE: `${prefix} folder remove`,
|
|
95
|
-
FOLDER_RENAME: `${prefix} folder rename`,
|
|
96
95
|
FOLDER_SET: `${prefix} folder set`,
|
|
97
96
|
FOLDER_RETENTIONLABEL_ENSURE: `${prefix} folder retentionlabel ensure`,
|
|
98
97
|
FOLDER_RETENTIONLABEL_REMOVE: `${prefix} folder retentionlabel remove`,
|
|
@@ -100,6 +99,8 @@ export default {
|
|
|
100
99
|
FOLDER_ROLEASSIGNMENT_ADD: `${prefix} folder roleassignment add`,
|
|
101
100
|
FOLDER_ROLEINHERITANCE_BREAK: `${prefix} folder roleinheritance break`,
|
|
102
101
|
FOLDER_ROLEINHERITANCE_RESET: `${prefix} folder roleinheritance reset`,
|
|
102
|
+
FOLDER_SHARINGLINK_GET: `${prefix} folder sharinglink get`,
|
|
103
|
+
FOLDER_SHARINGLINK_LIST: `${prefix} folder sharinglink list`,
|
|
103
104
|
GET: `${prefix} get`,
|
|
104
105
|
GROUP_ADD: `${prefix} group add`,
|
|
105
106
|
GROUP_GET: `${prefix} group get`,
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
2
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
3
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
|
+
};
|
|
6
|
+
var _TeamsMessageRestoreCommand_instances, _TeamsMessageRestoreCommand_initTelemetry, _TeamsMessageRestoreCommand_initOptions, _TeamsMessageRestoreCommand_initValidators, _TeamsMessageRestoreCommand_initOptionSets, _TeamsMessageRestoreCommand_initTypes;
|
|
7
|
+
import request from '../../../../request.js';
|
|
8
|
+
import { validation } from '../../../../utils/validation.js';
|
|
9
|
+
import commands from '../../commands.js';
|
|
10
|
+
import DelegatedGraphCommand from '../../../base/DelegatedGraphCommand.js';
|
|
11
|
+
import { teams } from '../../../../utils/teams.js';
|
|
12
|
+
class TeamsMessageRestoreCommand extends DelegatedGraphCommand {
|
|
13
|
+
get name() {
|
|
14
|
+
return commands.MESSAGE_RESTORE;
|
|
15
|
+
}
|
|
16
|
+
get description() {
|
|
17
|
+
return 'Restores a deleted message from a channel in a Microsoft Teams team';
|
|
18
|
+
}
|
|
19
|
+
constructor() {
|
|
20
|
+
super();
|
|
21
|
+
_TeamsMessageRestoreCommand_instances.add(this);
|
|
22
|
+
__classPrivateFieldGet(this, _TeamsMessageRestoreCommand_instances, "m", _TeamsMessageRestoreCommand_initTelemetry).call(this);
|
|
23
|
+
__classPrivateFieldGet(this, _TeamsMessageRestoreCommand_instances, "m", _TeamsMessageRestoreCommand_initOptions).call(this);
|
|
24
|
+
__classPrivateFieldGet(this, _TeamsMessageRestoreCommand_instances, "m", _TeamsMessageRestoreCommand_initValidators).call(this);
|
|
25
|
+
__classPrivateFieldGet(this, _TeamsMessageRestoreCommand_instances, "m", _TeamsMessageRestoreCommand_initOptionSets).call(this);
|
|
26
|
+
__classPrivateFieldGet(this, _TeamsMessageRestoreCommand_instances, "m", _TeamsMessageRestoreCommand_initTypes).call(this);
|
|
27
|
+
}
|
|
28
|
+
async commandAction(logger, args) {
|
|
29
|
+
try {
|
|
30
|
+
if (this.verbose) {
|
|
31
|
+
await logger.logToStderr(`Restoring deleted message '${args.options.id}' from channel '${args.options.channelId || args.options.channelName}' in the Microsoft Teams team '${args.options.teamId || args.options.teamName}'.`);
|
|
32
|
+
}
|
|
33
|
+
const teamId = await this.getTeamId(args.options, logger);
|
|
34
|
+
const channelId = await this.getChannelId(args.options, teamId, logger);
|
|
35
|
+
const requestOptions = {
|
|
36
|
+
url: `${this.resource}/v1.0/teams/${teamId}/channels/${channelId}/messages/${args.options.id}/undoSoftDelete`,
|
|
37
|
+
headers: {
|
|
38
|
+
accept: 'application/json;odata.metadata=none'
|
|
39
|
+
},
|
|
40
|
+
responseType: 'json'
|
|
41
|
+
};
|
|
42
|
+
await request.post(requestOptions);
|
|
43
|
+
}
|
|
44
|
+
catch (err) {
|
|
45
|
+
this.handleRejectedODataJsonPromise(err);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
async getTeamId(options, logger) {
|
|
49
|
+
if (options.teamId) {
|
|
50
|
+
return options.teamId;
|
|
51
|
+
}
|
|
52
|
+
if (this.verbose) {
|
|
53
|
+
await logger.logToStderr(`Getting the Team ID.`);
|
|
54
|
+
}
|
|
55
|
+
const groupId = await teams.getTeamIdByDisplayName(options.teamName);
|
|
56
|
+
return groupId;
|
|
57
|
+
}
|
|
58
|
+
async getChannelId(options, teamId, logger) {
|
|
59
|
+
if (options.channelId) {
|
|
60
|
+
return options.channelId;
|
|
61
|
+
}
|
|
62
|
+
if (this.verbose) {
|
|
63
|
+
await logger.logToStderr(`Getting the channel ID.`);
|
|
64
|
+
}
|
|
65
|
+
const channelId = await teams.getChannelIdByDisplayName(teamId, options.channelName);
|
|
66
|
+
return channelId;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
_TeamsMessageRestoreCommand_instances = new WeakSet(), _TeamsMessageRestoreCommand_initTelemetry = function _TeamsMessageRestoreCommand_initTelemetry() {
|
|
70
|
+
this.telemetry.push((args) => {
|
|
71
|
+
Object.assign(this.telemetryProperties, {
|
|
72
|
+
teamId: typeof args.options.teamId !== 'undefined',
|
|
73
|
+
teamName: typeof args.options.teamName !== 'undefined',
|
|
74
|
+
channelId: typeof args.options.channelId !== 'undefined',
|
|
75
|
+
channelName: typeof args.options.channelName !== 'undefined'
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
}, _TeamsMessageRestoreCommand_initOptions = function _TeamsMessageRestoreCommand_initOptions() {
|
|
79
|
+
this.options.unshift({
|
|
80
|
+
option: '--teamId [teamId]'
|
|
81
|
+
}, {
|
|
82
|
+
option: '--teamName [teamName]'
|
|
83
|
+
}, {
|
|
84
|
+
option: '--channelId [channelId]'
|
|
85
|
+
}, {
|
|
86
|
+
option: '--channelName [channelName]'
|
|
87
|
+
}, {
|
|
88
|
+
option: '-i, --id <id>'
|
|
89
|
+
});
|
|
90
|
+
}, _TeamsMessageRestoreCommand_initValidators = function _TeamsMessageRestoreCommand_initValidators() {
|
|
91
|
+
this.validators.push(async (args) => {
|
|
92
|
+
if (args.options.teamId && !validation.isValidGuid(args.options.teamId)) {
|
|
93
|
+
return `'${args.options.teamId}' is not a valid GUID for 'teamId'.`;
|
|
94
|
+
}
|
|
95
|
+
if (args.options.channelId && !validation.isValidTeamsChannelId(args.options.channelId)) {
|
|
96
|
+
return `'${args.options.channelId}' is not a valid ID for 'channelId'.`;
|
|
97
|
+
}
|
|
98
|
+
return true;
|
|
99
|
+
});
|
|
100
|
+
}, _TeamsMessageRestoreCommand_initOptionSets = function _TeamsMessageRestoreCommand_initOptionSets() {
|
|
101
|
+
this.optionSets.push({ options: ['teamId', 'teamName'] }, { options: ['channelId', 'channelName'] });
|
|
102
|
+
}, _TeamsMessageRestoreCommand_initTypes = function _TeamsMessageRestoreCommand_initTypes() {
|
|
103
|
+
this.types.string.push('teamId', 'teamName', 'channelId', 'channelName', 'id');
|
|
104
|
+
};
|
|
105
|
+
export default new TeamsMessageRestoreCommand();
|
|
106
|
+
//# sourceMappingURL=message-restore.js.map
|
|
@@ -39,6 +39,7 @@ export default {
|
|
|
39
39
|
MESSAGE_LIST: `${prefix} message list`,
|
|
40
40
|
MESSAGE_REMOVE: `${prefix} message remove`,
|
|
41
41
|
MESSAGE_REPLY_LIST: `${prefix} message reply list`,
|
|
42
|
+
MESSAGE_RESTORE: `${prefix} message restore`,
|
|
42
43
|
MESSAGE_SEND: `${prefix} message send`,
|
|
43
44
|
MESSAGINGSETTINGS_LIST: `${prefix} messagingsettings list`,
|
|
44
45
|
MESSAGINGSETTINGS_SET: `${prefix} messagingsettings set`,
|
|
@@ -7,7 +7,6 @@ var _VivaEngageGroupListCommand_instances, _VivaEngageGroupListCommand_initTelem
|
|
|
7
7
|
import request from '../../../../request.js';
|
|
8
8
|
import VivaEngageCommand from '../../../base/VivaEngageCommand.js';
|
|
9
9
|
import commands from '../../commands.js';
|
|
10
|
-
import yammerCommands from './yammerCommands.js';
|
|
11
10
|
class VivaEngageGroupListCommand extends VivaEngageCommand {
|
|
12
11
|
get name() {
|
|
13
12
|
return commands.ENGAGE_GROUP_LIST;
|
|
@@ -15,9 +14,6 @@ class VivaEngageGroupListCommand extends VivaEngageCommand {
|
|
|
15
14
|
get description() {
|
|
16
15
|
return 'Returns the list of groups in a Viva Engage network or the groups for a specific user';
|
|
17
16
|
}
|
|
18
|
-
alias() {
|
|
19
|
-
return [yammerCommands.GROUP_LIST];
|
|
20
|
-
}
|
|
21
17
|
constructor() {
|
|
22
18
|
super();
|
|
23
19
|
_VivaEngageGroupListCommand_instances.add(this);
|
|
@@ -59,7 +55,6 @@ class VivaEngageGroupListCommand extends VivaEngageCommand {
|
|
|
59
55
|
}
|
|
60
56
|
}
|
|
61
57
|
async commandAction(logger, args) {
|
|
62
|
-
await this.showDeprecationWarning(logger, this.alias()[0], this.name);
|
|
63
58
|
this.items = []; // this will reset the items array in interactive mode
|
|
64
59
|
try {
|
|
65
60
|
await this.getAllItems(logger, args, 1);
|
|
@@ -7,7 +7,6 @@ var _VivaEngageGroupUserAddCommand_instances, _VivaEngageGroupUserAddCommand_ini
|
|
|
7
7
|
import request from '../../../../request.js';
|
|
8
8
|
import VivaEngageCommand from '../../../base/VivaEngageCommand.js';
|
|
9
9
|
import commands from '../../commands.js';
|
|
10
|
-
import yammerCommands from './yammerCommands.js';
|
|
11
10
|
class VivaEngageGroupUserAddCommand extends VivaEngageCommand {
|
|
12
11
|
get name() {
|
|
13
12
|
return commands.ENGAGE_GROUP_USER_ADD;
|
|
@@ -15,9 +14,6 @@ class VivaEngageGroupUserAddCommand extends VivaEngageCommand {
|
|
|
15
14
|
get description() {
|
|
16
15
|
return 'Adds a user to a Viva Engage Group';
|
|
17
16
|
}
|
|
18
|
-
alias() {
|
|
19
|
-
return [yammerCommands.GROUP_USER_ADD];
|
|
20
|
-
}
|
|
21
17
|
constructor() {
|
|
22
18
|
super();
|
|
23
19
|
_VivaEngageGroupUserAddCommand_instances.add(this);
|
|
@@ -26,7 +22,6 @@ class VivaEngageGroupUserAddCommand extends VivaEngageCommand {
|
|
|
26
22
|
__classPrivateFieldGet(this, _VivaEngageGroupUserAddCommand_instances, "m", _VivaEngageGroupUserAddCommand_initValidators).call(this);
|
|
27
23
|
}
|
|
28
24
|
async commandAction(logger, args) {
|
|
29
|
-
await this.showDeprecationWarning(logger, this.alias()[0], this.name);
|
|
30
25
|
const requestOptions = {
|
|
31
26
|
url: `${this.resource}/v1/group_memberships.json`,
|
|
32
27
|
headers: {
|
|
@@ -8,7 +8,6 @@ import { cli } from '../../../../cli/cli.js';
|
|
|
8
8
|
import request from '../../../../request.js';
|
|
9
9
|
import VivaEngageCommand from "../../../base/VivaEngageCommand.js";
|
|
10
10
|
import commands from '../../commands.js';
|
|
11
|
-
import yammerCommands from './yammerCommands.js';
|
|
12
11
|
class VivaEngageGroupUserRemoveCommand extends VivaEngageCommand {
|
|
13
12
|
get name() {
|
|
14
13
|
return commands.ENGAGE_GROUP_USER_REMOVE;
|
|
@@ -16,9 +15,6 @@ class VivaEngageGroupUserRemoveCommand extends VivaEngageCommand {
|
|
|
16
15
|
get description() {
|
|
17
16
|
return 'Removes a user from a Viva Engage group';
|
|
18
17
|
}
|
|
19
|
-
alias() {
|
|
20
|
-
return [yammerCommands.GROUP_USER_REMOVE];
|
|
21
|
-
}
|
|
22
18
|
constructor() {
|
|
23
19
|
super();
|
|
24
20
|
_VivaEngageGroupUserRemoveCommand_instances.add(this);
|
|
@@ -27,7 +23,6 @@ class VivaEngageGroupUserRemoveCommand extends VivaEngageCommand {
|
|
|
27
23
|
__classPrivateFieldGet(this, _VivaEngageGroupUserRemoveCommand_instances, "m", _VivaEngageGroupUserRemoveCommand_initValidators).call(this);
|
|
28
24
|
}
|
|
29
25
|
async commandAction(logger, args) {
|
|
30
|
-
await this.showDeprecationWarning(logger, this.alias()[0], this.name);
|
|
31
26
|
if (args.options.force) {
|
|
32
27
|
await this.executeRemoveAction(args.options);
|
|
33
28
|
}
|
|
@@ -7,7 +7,6 @@ var _VivaEngageMessageAddCommand_instances, _VivaEngageMessageAddCommand_initTel
|
|
|
7
7
|
import request from '../../../../request.js';
|
|
8
8
|
import VivaEngageCommand from '../../../base/VivaEngageCommand.js';
|
|
9
9
|
import commands from '../../commands.js';
|
|
10
|
-
import yammerCommands from './yammerCommands.js';
|
|
11
10
|
class VivaEngageMessageAddCommand extends VivaEngageCommand {
|
|
12
11
|
get name() {
|
|
13
12
|
return commands.ENGAGE_MESSAGE_ADD;
|
|
@@ -15,9 +14,6 @@ class VivaEngageMessageAddCommand extends VivaEngageCommand {
|
|
|
15
14
|
get description() {
|
|
16
15
|
return 'Posts a Viva Engage network message on behalf of the current user';
|
|
17
16
|
}
|
|
18
|
-
alias() {
|
|
19
|
-
return [yammerCommands.MESSAGE_ADD];
|
|
20
|
-
}
|
|
21
17
|
defaultProperties() {
|
|
22
18
|
return ['id'];
|
|
23
19
|
}
|
|
@@ -29,7 +25,6 @@ class VivaEngageMessageAddCommand extends VivaEngageCommand {
|
|
|
29
25
|
__classPrivateFieldGet(this, _VivaEngageMessageAddCommand_instances, "m", _VivaEngageMessageAddCommand_initValidators).call(this);
|
|
30
26
|
}
|
|
31
27
|
async commandAction(logger, args) {
|
|
32
|
-
await this.showDeprecationWarning(logger, this.alias()[0], this.name);
|
|
33
28
|
const requestOptions = {
|
|
34
29
|
url: `${this.resource}/v1/messages.json`,
|
|
35
30
|
headers: {
|
|
@@ -7,7 +7,6 @@ var _VivaEngageMessageGetCommand_instances, _VivaEngageMessageGetCommand_initOpt
|
|
|
7
7
|
import request from '../../../../request.js';
|
|
8
8
|
import VivaEngageCommand from '../../../base/VivaEngageCommand.js';
|
|
9
9
|
import commands from '../../commands.js';
|
|
10
|
-
import yammerCommands from './yammerCommands.js';
|
|
11
10
|
class VivaEngageMessageGetCommand extends VivaEngageCommand {
|
|
12
11
|
get name() {
|
|
13
12
|
return commands.ENGAGE_MESSAGE_GET;
|
|
@@ -15,9 +14,6 @@ class VivaEngageMessageGetCommand extends VivaEngageCommand {
|
|
|
15
14
|
get description() {
|
|
16
15
|
return 'Returns a Viva Engage message';
|
|
17
16
|
}
|
|
18
|
-
alias() {
|
|
19
|
-
return [yammerCommands.MESSAGE_GET];
|
|
20
|
-
}
|
|
21
17
|
defaultProperties() {
|
|
22
18
|
return ['id', 'sender_id', 'replied_to_id', 'thread_id', 'group_id', 'created_at', 'direct_message', 'system_message', 'privacy', 'message_type', 'content_excerpt'];
|
|
23
19
|
}
|
|
@@ -28,7 +24,6 @@ class VivaEngageMessageGetCommand extends VivaEngageCommand {
|
|
|
28
24
|
__classPrivateFieldGet(this, _VivaEngageMessageGetCommand_instances, "m", _VivaEngageMessageGetCommand_initValidators).call(this);
|
|
29
25
|
}
|
|
30
26
|
async commandAction(logger, args) {
|
|
31
|
-
await this.showDeprecationWarning(logger, this.alias()[0], this.name);
|
|
32
27
|
const requestOptions = {
|
|
33
28
|
url: `${this.resource}/v1/messages/${args.options.id}.json`,
|
|
34
29
|
headers: {
|
|
@@ -8,7 +8,6 @@ import { cli } from '../../../../cli/cli.js';
|
|
|
8
8
|
import request from '../../../../request.js';
|
|
9
9
|
import VivaEngageCommand from '../../../base/VivaEngageCommand.js';
|
|
10
10
|
import commands from '../../commands.js';
|
|
11
|
-
import yammerCommands from './yammerCommands.js';
|
|
12
11
|
class VivaEngageMessageLikeSetCommand extends VivaEngageCommand {
|
|
13
12
|
get name() {
|
|
14
13
|
return commands.ENGAGE_MESSAGE_LIKE_SET;
|
|
@@ -16,9 +15,6 @@ class VivaEngageMessageLikeSetCommand extends VivaEngageCommand {
|
|
|
16
15
|
get description() {
|
|
17
16
|
return 'Likes or unlikes a Viva Engage message';
|
|
18
17
|
}
|
|
19
|
-
alias() {
|
|
20
|
-
return [yammerCommands.MESSAGE_LIKE_SET];
|
|
21
|
-
}
|
|
22
18
|
constructor() {
|
|
23
19
|
super();
|
|
24
20
|
_VivaEngageMessageLikeSetCommand_instances.add(this);
|
|
@@ -28,7 +24,6 @@ class VivaEngageMessageLikeSetCommand extends VivaEngageCommand {
|
|
|
28
24
|
__classPrivateFieldGet(this, _VivaEngageMessageLikeSetCommand_instances, "m", _VivaEngageMessageLikeSetCommand_initValidators).call(this);
|
|
29
25
|
}
|
|
30
26
|
async commandAction(logger, args) {
|
|
31
|
-
await this.showDeprecationWarning(logger, this.alias()[0], this.name);
|
|
32
27
|
if (args.options.enable === false) {
|
|
33
28
|
if (args.options.force) {
|
|
34
29
|
await this.executeLikeAction(args.options);
|
|
@@ -7,7 +7,6 @@ var _VivaEngageMessageListCommand_instances, _a, _VivaEngageMessageListCommand_i
|
|
|
7
7
|
import request from '../../../../request.js';
|
|
8
8
|
import VivaEngageCommand from '../../../base/VivaEngageCommand.js';
|
|
9
9
|
import commands from '../../commands.js';
|
|
10
|
-
import yammerCommands from './yammerCommands.js';
|
|
11
10
|
class VivaEngageMessageListCommand extends VivaEngageCommand {
|
|
12
11
|
get name() {
|
|
13
12
|
return commands.ENGAGE_MESSAGE_LIST;
|
|
@@ -15,9 +14,6 @@ class VivaEngageMessageListCommand extends VivaEngageCommand {
|
|
|
15
14
|
get description() {
|
|
16
15
|
return 'Returns all accessible messages from the user\'s Viva Engage network';
|
|
17
16
|
}
|
|
18
|
-
alias() {
|
|
19
|
-
return [yammerCommands.MESSAGE_LIST];
|
|
20
|
-
}
|
|
21
17
|
defaultProperties() {
|
|
22
18
|
return ['id', 'replied_to_id', 'thread_id', 'group_id', 'shortBody'];
|
|
23
19
|
}
|
|
@@ -97,7 +93,6 @@ class VivaEngageMessageListCommand extends VivaEngageCommand {
|
|
|
97
93
|
}
|
|
98
94
|
}
|
|
99
95
|
async commandAction(logger, args) {
|
|
100
|
-
await this.showDeprecationWarning(logger, this.alias()[0], this.name);
|
|
101
96
|
this.items = []; // this will reset the items array in interactive mode
|
|
102
97
|
try {
|
|
103
98
|
await this.getAllItems(logger, args, -1);
|
|
@@ -8,7 +8,6 @@ import { cli } from '../../../../cli/cli.js';
|
|
|
8
8
|
import request from '../../../../request.js';
|
|
9
9
|
import VivaEngageCommand from '../../../base/VivaEngageCommand.js';
|
|
10
10
|
import commands from '../../commands.js';
|
|
11
|
-
import yammerCommands from './yammerCommands.js';
|
|
12
11
|
class VivaEngageMessageRemoveCommand extends VivaEngageCommand {
|
|
13
12
|
get name() {
|
|
14
13
|
return commands.ENGAGE_MESSAGE_REMOVE;
|
|
@@ -16,9 +15,6 @@ class VivaEngageMessageRemoveCommand extends VivaEngageCommand {
|
|
|
16
15
|
get description() {
|
|
17
16
|
return 'Removes a Viva Engage message';
|
|
18
17
|
}
|
|
19
|
-
alias() {
|
|
20
|
-
return [yammerCommands.MESSAGE_REMOVE];
|
|
21
|
-
}
|
|
22
18
|
constructor() {
|
|
23
19
|
super();
|
|
24
20
|
_VivaEngageMessageRemoveCommand_instances.add(this);
|
|
@@ -27,7 +23,6 @@ class VivaEngageMessageRemoveCommand extends VivaEngageCommand {
|
|
|
27
23
|
__classPrivateFieldGet(this, _VivaEngageMessageRemoveCommand_instances, "m", _VivaEngageMessageRemoveCommand_initValidators).call(this);
|
|
28
24
|
}
|
|
29
25
|
async commandAction(logger, args) {
|
|
30
|
-
await this.showDeprecationWarning(logger, this.alias()[0], this.name);
|
|
31
26
|
if (args.options.force) {
|
|
32
27
|
await this.removeMessage(args.options);
|
|
33
28
|
}
|
|
@@ -7,7 +7,6 @@ var _VivaEngageNetworkListCommand_instances, _VivaEngageNetworkListCommand_initT
|
|
|
7
7
|
import request from '../../../../request.js';
|
|
8
8
|
import VivaEngageCommand from '../../../base/VivaEngageCommand.js';
|
|
9
9
|
import commands from '../../commands.js';
|
|
10
|
-
import yammerCommands from './yammerCommands.js';
|
|
11
10
|
class VivaEngageNetworkListCommand extends VivaEngageCommand {
|
|
12
11
|
get name() {
|
|
13
12
|
return commands.ENGAGE_NETWORK_LIST;
|
|
@@ -15,9 +14,6 @@ class VivaEngageNetworkListCommand extends VivaEngageCommand {
|
|
|
15
14
|
get description() {
|
|
16
15
|
return 'Returns a list of networks to which the current user has access';
|
|
17
16
|
}
|
|
18
|
-
alias() {
|
|
19
|
-
return [yammerCommands.NETWORK_LIST];
|
|
20
|
-
}
|
|
21
17
|
defaultProperties() {
|
|
22
18
|
return ['id', 'name', 'email', 'community', 'permalink', 'web_url'];
|
|
23
19
|
}
|
|
@@ -28,7 +24,6 @@ class VivaEngageNetworkListCommand extends VivaEngageCommand {
|
|
|
28
24
|
__classPrivateFieldGet(this, _VivaEngageNetworkListCommand_instances, "m", _VivaEngageNetworkListCommand_initOptions).call(this);
|
|
29
25
|
}
|
|
30
26
|
async commandAction(logger, args) {
|
|
31
|
-
await this.showDeprecationWarning(logger, this.alias()[0], this.name);
|
|
32
27
|
const requestOptions = {
|
|
33
28
|
url: `${this.resource}/v1/networks/current.json`,
|
|
34
29
|
headers: {
|
|
@@ -1,23 +1,15 @@
|
|
|
1
1
|
import PeriodBasedReport from '../../../base/PeriodBasedReport.js';
|
|
2
2
|
import commands from '../../commands.js';
|
|
3
|
-
import yammerCommands from './yammerCommands.js';
|
|
4
3
|
class VivaEngageReportActivityCountsCommand extends PeriodBasedReport {
|
|
5
4
|
get name() {
|
|
6
5
|
return commands.ENGAGE_REPORT_ACTIVITYCOUNTS;
|
|
7
6
|
}
|
|
8
|
-
alias() {
|
|
9
|
-
return [yammerCommands.REPORT_ACTIVITYCOUNTS];
|
|
10
|
-
}
|
|
11
7
|
get usageEndpoint() {
|
|
12
8
|
return 'getYammerActivityCounts';
|
|
13
9
|
}
|
|
14
10
|
get description() {
|
|
15
11
|
return 'Gets the trends on the amount of VivaEngage activity in your organization by how many messages were posted, read, and liked';
|
|
16
12
|
}
|
|
17
|
-
async commandAction(logger, args) {
|
|
18
|
-
await this.showDeprecationWarning(logger, this.alias()[0], this.name);
|
|
19
|
-
await super.commandAction(logger, args);
|
|
20
|
-
}
|
|
21
13
|
}
|
|
22
14
|
export default new VivaEngageReportActivityCountsCommand();
|
|
23
15
|
//# sourceMappingURL=engage-report-activitycounts.js.map
|
|
@@ -1,23 +1,15 @@
|
|
|
1
1
|
import PeriodBasedReport from '../../../base/PeriodBasedReport.js';
|
|
2
2
|
import commands from '../../commands.js';
|
|
3
|
-
import yammerCommands from './yammerCommands.js';
|
|
4
3
|
class VivaEngageReportActivityUserCountsCommand extends PeriodBasedReport {
|
|
5
4
|
get name() {
|
|
6
5
|
return commands.ENGAGE_REPORT_ACTIVITYUSERCOUNTS;
|
|
7
6
|
}
|
|
8
|
-
alias() {
|
|
9
|
-
return [yammerCommands.REPORT_ACTIVITYUSERCOUNTS];
|
|
10
|
-
}
|
|
11
7
|
get usageEndpoint() {
|
|
12
8
|
return 'getYammerActivityUserCounts';
|
|
13
9
|
}
|
|
14
10
|
get description() {
|
|
15
11
|
return 'Gets the trends on the number of unique users who posted, read, and liked Viva Engage messages';
|
|
16
12
|
}
|
|
17
|
-
async commandAction(logger, args) {
|
|
18
|
-
await this.showDeprecationWarning(logger, this.alias()[0], this.name);
|
|
19
|
-
await super.commandAction(logger, args);
|
|
20
|
-
}
|
|
21
13
|
}
|
|
22
14
|
export default new VivaEngageReportActivityUserCountsCommand();
|
|
23
15
|
//# sourceMappingURL=engage-report-activityusercounts.js.map
|
|
@@ -1,23 +1,15 @@
|
|
|
1
1
|
import DateAndPeriodBasedReport from '../../../base/DateAndPeriodBasedReport.js';
|
|
2
2
|
import commands from '../../commands.js';
|
|
3
|
-
import yammerCommands from './yammerCommands.js';
|
|
4
3
|
class VivaEngageReportActivityUserDetailCommand extends DateAndPeriodBasedReport {
|
|
5
4
|
get name() {
|
|
6
5
|
return commands.ENGAGE_REPORT_ACTIVITYUSERDETAIL;
|
|
7
6
|
}
|
|
8
|
-
alias() {
|
|
9
|
-
return [yammerCommands.REPORT_ACTIVITYUSERDETAIL];
|
|
10
|
-
}
|
|
11
7
|
get usageEndpoint() {
|
|
12
8
|
return 'getYammerActivityUserDetail';
|
|
13
9
|
}
|
|
14
10
|
get description() {
|
|
15
11
|
return 'Gets details about Viva Engage activity by user';
|
|
16
12
|
}
|
|
17
|
-
async commandAction(logger, args) {
|
|
18
|
-
await this.showDeprecationWarning(logger, this.alias()[0], this.name);
|
|
19
|
-
await super.commandAction(logger, args);
|
|
20
|
-
}
|
|
21
13
|
}
|
|
22
14
|
export default new VivaEngageReportActivityUserDetailCommand();
|
|
23
15
|
//# sourceMappingURL=engage-report-activityuserdetail.js.map
|
|
@@ -1,23 +1,15 @@
|
|
|
1
1
|
import PeriodBasedReport from '../../../base/PeriodBasedReport.js';
|
|
2
2
|
import commands from '../../commands.js';
|
|
3
|
-
import yammerCommands from './yammerCommands.js';
|
|
4
3
|
class VivaEngageReportDeviceUsageDistributionUserCountsCommand extends PeriodBasedReport {
|
|
5
4
|
get name() {
|
|
6
5
|
return commands.ENGAGE_REPORT_DEVICEUSAGEDISTRIBUTIONUSERCOUNTS;
|
|
7
6
|
}
|
|
8
|
-
alias() {
|
|
9
|
-
return [yammerCommands.REPORT_DEVICEUSAGEDISTRIBUTIONUSERCOUNTS];
|
|
10
|
-
}
|
|
11
7
|
get usageEndpoint() {
|
|
12
8
|
return 'getYammerDeviceUsageDistributionUserCounts';
|
|
13
9
|
}
|
|
14
10
|
get description() {
|
|
15
11
|
return 'Gets the number of users by device type';
|
|
16
12
|
}
|
|
17
|
-
async commandAction(logger, args) {
|
|
18
|
-
await this.showDeprecationWarning(logger, this.alias()[0], this.name);
|
|
19
|
-
await super.commandAction(logger, args);
|
|
20
|
-
}
|
|
21
13
|
}
|
|
22
14
|
export default new VivaEngageReportDeviceUsageDistributionUserCountsCommand();
|
|
23
15
|
//# sourceMappingURL=engage-report-deviceusagedistributionusercounts.js.map
|
|
@@ -1,23 +1,15 @@
|
|
|
1
1
|
import PeriodBasedReport from '../../../base/PeriodBasedReport.js';
|
|
2
2
|
import commands from '../../commands.js';
|
|
3
|
-
import yammerCommands from './yammerCommands.js';
|
|
4
3
|
class VivaEngageReportDeviceUsageUserCountsCommand extends PeriodBasedReport {
|
|
5
4
|
get name() {
|
|
6
5
|
return commands.ENGAGE_REPORT_DEVICEUSAGEUSERCOUNTS;
|
|
7
6
|
}
|
|
8
|
-
alias() {
|
|
9
|
-
return [yammerCommands.REPORT_DEVICEUSAGEUSERCOUNTS];
|
|
10
|
-
}
|
|
11
7
|
get usageEndpoint() {
|
|
12
8
|
return 'getYammerDeviceUsageUserCounts';
|
|
13
9
|
}
|
|
14
10
|
get description() {
|
|
15
11
|
return 'Gets the number of daily users by device type';
|
|
16
12
|
}
|
|
17
|
-
async commandAction(logger, args) {
|
|
18
|
-
await this.showDeprecationWarning(logger, this.alias()[0], this.name);
|
|
19
|
-
await super.commandAction(logger, args);
|
|
20
|
-
}
|
|
21
13
|
}
|
|
22
14
|
export default new VivaEngageReportDeviceUsageUserCountsCommand();
|
|
23
15
|
//# sourceMappingURL=engage-report-deviceusageusercounts.js.map
|
|
@@ -1,23 +1,15 @@
|
|
|
1
1
|
import DateAndPeriodBasedReport from '../../../base/DateAndPeriodBasedReport.js';
|
|
2
2
|
import commands from '../../commands.js';
|
|
3
|
-
import yammerCommands from './yammerCommands.js';
|
|
4
3
|
class VivaEngageReportDeviceUsageUserDetailCommand extends DateAndPeriodBasedReport {
|
|
5
4
|
get name() {
|
|
6
5
|
return commands.ENGAGE_REPORT_DEVICEUSAGEUSERDETAIL;
|
|
7
6
|
}
|
|
8
|
-
alias() {
|
|
9
|
-
return [yammerCommands.REPORT_DEVICEUSAGEUSERDETAIL];
|
|
10
|
-
}
|
|
11
7
|
get usageEndpoint() {
|
|
12
8
|
return 'getYammerDeviceUsageUserDetail';
|
|
13
9
|
}
|
|
14
10
|
get description() {
|
|
15
11
|
return 'Gets details about Viva Engage device usage by user';
|
|
16
12
|
}
|
|
17
|
-
async commandAction(logger, args) {
|
|
18
|
-
await this.showDeprecationWarning(logger, this.alias()[0], this.name);
|
|
19
|
-
await super.commandAction(logger, args);
|
|
20
|
-
}
|
|
21
13
|
}
|
|
22
14
|
export default new VivaEngageReportDeviceUsageUserDetailCommand();
|
|
23
15
|
//# sourceMappingURL=engage-report-deviceusageuserdetail.js.map
|
|
@@ -1,23 +1,15 @@
|
|
|
1
1
|
import PeriodBasedReport from '../../../base/PeriodBasedReport.js';
|
|
2
2
|
import commands from '../../commands.js';
|
|
3
|
-
import yammerCommands from './yammerCommands.js';
|
|
4
3
|
class VivaEngageReportGroupsActivityCountsCommand extends PeriodBasedReport {
|
|
5
4
|
get name() {
|
|
6
5
|
return commands.ENGAGE_REPORT_GROUPSACTIVITYCOUNTS;
|
|
7
6
|
}
|
|
8
|
-
alias() {
|
|
9
|
-
return [yammerCommands.REPORT_GROUPSACTIVITYCOUNTS];
|
|
10
|
-
}
|
|
11
7
|
get usageEndpoint() {
|
|
12
8
|
return 'getYammerGroupsActivityCounts';
|
|
13
9
|
}
|
|
14
10
|
get description() {
|
|
15
11
|
return 'Gets the number of Viva Engage messages posted, read, and liked in groups';
|
|
16
12
|
}
|
|
17
|
-
async commandAction(logger, args) {
|
|
18
|
-
await this.showDeprecationWarning(logger, this.alias()[0], this.name);
|
|
19
|
-
await super.commandAction(logger, args);
|
|
20
|
-
}
|
|
21
13
|
}
|
|
22
14
|
export default new VivaEngageReportGroupsActivityCountsCommand();
|
|
23
15
|
//# sourceMappingURL=engage-report-groupsactivitycounts.js.map
|
|
@@ -1,23 +1,15 @@
|
|
|
1
1
|
import DateAndPeriodBasedReport from '../../../base/DateAndPeriodBasedReport.js';
|
|
2
2
|
import commands from '../../commands.js';
|
|
3
|
-
import yammerCommands from './yammerCommands.js';
|
|
4
3
|
class VivaEngageReportGroupsActivityDetailCommand extends DateAndPeriodBasedReport {
|
|
5
4
|
get name() {
|
|
6
5
|
return commands.ENGAGE_REPORT_GROUPSACTIVITYDETAIL;
|
|
7
6
|
}
|
|
8
|
-
alias() {
|
|
9
|
-
return [yammerCommands.REPORT_GROUPSACTIVITYDETAIL];
|
|
10
|
-
}
|
|
11
7
|
get usageEndpoint() {
|
|
12
8
|
return 'getYammerGroupsActivityDetail';
|
|
13
9
|
}
|
|
14
10
|
get description() {
|
|
15
11
|
return 'Gets details about Viva Engage groups activity by group';
|
|
16
12
|
}
|
|
17
|
-
async commandAction(logger, args) {
|
|
18
|
-
await this.showDeprecationWarning(logger, this.alias()[0], this.name);
|
|
19
|
-
await super.commandAction(logger, args);
|
|
20
|
-
}
|
|
21
13
|
}
|
|
22
14
|
export default new VivaEngageReportGroupsActivityDetailCommand();
|
|
23
15
|
//# sourceMappingURL=engage-report-groupsactivitydetail.js.map
|
|
@@ -1,23 +1,15 @@
|
|
|
1
1
|
import PeriodBasedReport from '../../../base/PeriodBasedReport.js';
|
|
2
2
|
import commands from '../../commands.js';
|
|
3
|
-
import yammerCommands from './yammerCommands.js';
|
|
4
3
|
class VivaEngageReportGroupsActivityGroupCountsCommand extends PeriodBasedReport {
|
|
5
4
|
get name() {
|
|
6
5
|
return commands.ENGAGE_REPORT_GROUPSACTIVITYGROUPCOUNTS;
|
|
7
6
|
}
|
|
8
|
-
alias() {
|
|
9
|
-
return [yammerCommands.REPORT_GROUPSACTIVITYGROUPCOUNTS];
|
|
10
|
-
}
|
|
11
7
|
get usageEndpoint() {
|
|
12
8
|
return 'getYammerGroupsActivityGroupCounts';
|
|
13
9
|
}
|
|
14
10
|
get description() {
|
|
15
11
|
return 'Gets the total number of groups that existed and how many included group conversation activity';
|
|
16
12
|
}
|
|
17
|
-
async commandAction(logger, args) {
|
|
18
|
-
await this.showDeprecationWarning(logger, this.alias()[0], this.name);
|
|
19
|
-
await super.commandAction(logger, args);
|
|
20
|
-
}
|
|
21
13
|
}
|
|
22
14
|
export default new VivaEngageReportGroupsActivityGroupCountsCommand();
|
|
23
15
|
//# sourceMappingURL=engage-report-groupsactivitygroupcounts.js.map
|