@shuffl/cli 0.6.2 → 0.6.3

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.
@@ -2365,6 +2365,10 @@ export const commands = [
2365
2365
  const: 'groups.automationChoices',
2366
2366
  type: 'string',
2367
2367
  },
2368
+ {
2369
+ const: 'groups.automationInsights',
2370
+ type: 'string',
2371
+ },
2368
2372
  {
2369
2373
  const: 'groups.automationRuns',
2370
2374
  type: 'string',
@@ -4215,6 +4219,40 @@ export const commands = [
4215
4219
  scope: 'users:read',
4216
4220
  summary: 'The Pulse questions, badges and Shuffl lists a group automation can ask, give or add people to',
4217
4221
  },
4222
+ {
4223
+ access: 'read',
4224
+ command: ['groups', 'automation-insights'],
4225
+ input: {
4226
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
4227
+ additionalProperties: false,
4228
+ properties: {
4229
+ days: {
4230
+ anyOf: [
4231
+ {
4232
+ const: 30,
4233
+ type: 'number',
4234
+ },
4235
+ {
4236
+ const: 90,
4237
+ type: 'number',
4238
+ },
4239
+ {
4240
+ const: 180,
4241
+ type: 'number',
4242
+ },
4243
+ ],
4244
+ },
4245
+ groupId: {
4246
+ type: 'string',
4247
+ },
4248
+ },
4249
+ type: 'object',
4250
+ },
4251
+ path: ['groups', 'automationInsights'],
4252
+ permission: 'groups.automationInsights',
4253
+ scope: 'users:read',
4254
+ summary: 'Group automation runs over the last `days` (30, 90 or 180) against the period before: done, skipped and failed, people reached, by week and kind, the top reasons a run did nothing, runs still scheduled and automations on; `groupId` narrows it',
4255
+ },
4218
4256
  {
4219
4257
  access: 'read',
4220
4258
  command: ['groups', 'automation-runs'],
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "dependencies": {
3
3
  "@orpc/client": "1.15.3",
4
- "@shuffl/api-contracts": "0.6.2",
5
- "@shuffl/sdk": "0.6.2"
4
+ "@shuffl/api-contracts": "0.6.3",
5
+ "@shuffl/sdk": "0.6.3"
6
6
  },
7
7
  "description": "Shuffl command line: every public API operation as a scriptable command with JSON output.",
8
8
  "engines": {
@@ -33,7 +33,7 @@
33
33
  "sideEffects": false,
34
34
  "type": "module",
35
35
  "types": "./dist/index.d.ts",
36
- "version": "0.6.2",
36
+ "version": "0.6.3",
37
37
  "bin": {
38
38
  "shuffl": "./dist/bin.js"
39
39
  }