@shuffl/cli 0.6.2 → 0.6.4

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',
@@ -2809,6 +2813,14 @@ export const commands = [
2809
2813
  const: 'mentorship.programs.setStatus',
2810
2814
  type: 'string',
2811
2815
  },
2816
+ {
2817
+ const: 'mentorship.settings.get',
2818
+ type: 'string',
2819
+ },
2820
+ {
2821
+ const: 'mentorship.settings.save',
2822
+ type: 'string',
2823
+ },
2812
2824
  {
2813
2825
  const: 'network.claim',
2814
2826
  type: 'string',
@@ -3293,6 +3305,10 @@ export const commands = [
3293
3305
  const: 'reports.melloValue',
3294
3306
  type: 'string',
3295
3307
  },
3308
+ {
3309
+ const: 'reports.mentorship',
3310
+ type: 'string',
3311
+ },
3296
3312
  {
3297
3313
  const: 'reports.needsYou',
3298
3314
  type: 'string',
@@ -4215,6 +4231,40 @@ export const commands = [
4215
4231
  scope: 'users:read',
4216
4232
  summary: 'The Pulse questions, badges and Shuffl lists a group automation can ask, give or add people to',
4217
4233
  },
4234
+ {
4235
+ access: 'read',
4236
+ command: ['groups', 'automation-insights'],
4237
+ input: {
4238
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
4239
+ additionalProperties: false,
4240
+ properties: {
4241
+ days: {
4242
+ anyOf: [
4243
+ {
4244
+ const: 30,
4245
+ type: 'number',
4246
+ },
4247
+ {
4248
+ const: 90,
4249
+ type: 'number',
4250
+ },
4251
+ {
4252
+ const: 180,
4253
+ type: 'number',
4254
+ },
4255
+ ],
4256
+ },
4257
+ groupId: {
4258
+ type: 'string',
4259
+ },
4260
+ },
4261
+ type: 'object',
4262
+ },
4263
+ path: ['groups', 'automationInsights'],
4264
+ permission: 'groups.automationInsights',
4265
+ scope: 'users:read',
4266
+ 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',
4267
+ },
4218
4268
  {
4219
4269
  access: 'read',
4220
4270
  command: ['groups', 'automation-runs'],
@@ -8260,6 +8310,60 @@ export const commands = [
8260
8310
  scope: 'mentorship:write',
8261
8311
  summary: 'Turn mentorship programs on, pause one, or archive one and end its pairs',
8262
8312
  },
8313
+ {
8314
+ access: 'read',
8315
+ command: ['mentorship', 'settings', 'get'],
8316
+ input: {
8317
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
8318
+ additionalProperties: false,
8319
+ properties: {},
8320
+ type: 'object',
8321
+ },
8322
+ path: ['mentorship', 'settings', 'get'],
8323
+ permission: 'mentorship.settings.get',
8324
+ scope: 'mentorship:read',
8325
+ summary: 'What a new mentorship program starts with: pairing length, check-in cadence and mentees per mentor',
8326
+ },
8327
+ {
8328
+ access: 'write',
8329
+ command: ['mentorship', 'settings', 'save'],
8330
+ input: {
8331
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
8332
+ additionalProperties: false,
8333
+ properties: {
8334
+ checkInWeeks: {
8335
+ type: 'number',
8336
+ },
8337
+ confirm: {
8338
+ const: 'mentorship.settings.save',
8339
+ type: 'string',
8340
+ },
8341
+ mentorCapacity: {
8342
+ type: 'number',
8343
+ },
8344
+ pairingWeeks: {
8345
+ type: 'number',
8346
+ },
8347
+ requestKey: {
8348
+ maxLength: 128,
8349
+ minLength: 1,
8350
+ type: 'string',
8351
+ },
8352
+ },
8353
+ required: [
8354
+ 'checkInWeeks',
8355
+ 'mentorCapacity',
8356
+ 'pairingWeeks',
8357
+ 'confirm',
8358
+ 'requestKey',
8359
+ ],
8360
+ type: 'object',
8361
+ },
8362
+ path: ['mentorship', 'settings', 'save'],
8363
+ permission: 'mentorship.settings.save',
8364
+ scope: 'mentorship:write',
8365
+ summary: 'Change what a new mentorship program starts with; existing programs keep their own terms',
8366
+ },
8263
8367
  {
8264
8368
  access: 'write',
8265
8369
  command: ['network', 'claim'],
@@ -14079,6 +14183,40 @@ export const commands = [
14079
14183
  scope: 'reports:read',
14080
14184
  summary: 'What Mello handled this week, this month and all time, with time saved once the team has set its minutes per question',
14081
14185
  },
14186
+ {
14187
+ access: 'read',
14188
+ command: ['reports', 'mentorship'],
14189
+ input: {
14190
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
14191
+ additionalProperties: false,
14192
+ properties: {
14193
+ days: {
14194
+ anyOf: [
14195
+ {
14196
+ const: 30,
14197
+ type: 'number',
14198
+ },
14199
+ {
14200
+ const: 90,
14201
+ type: 'number',
14202
+ },
14203
+ {
14204
+ const: 180,
14205
+ type: 'number',
14206
+ },
14207
+ ],
14208
+ },
14209
+ programId: {
14210
+ type: 'string',
14211
+ },
14212
+ },
14213
+ type: 'object',
14214
+ },
14215
+ path: ['reports', 'mentorship'],
14216
+ permission: 'reports.mentorship',
14217
+ scope: 'reports:read',
14218
+ summary: 'Mentorship over 30, 90 or 180 days against the period before: pairs started, ended early and completed, check-ins answered and met, pairs meeting and mentees waiting now; `programId` narrows it. Never goals',
14219
+ },
14082
14220
  {
14083
14221
  access: 'read',
14084
14222
  command: ['reports', 'needs-you'],
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.4",
5
+ "@shuffl/sdk": "0.6.4"
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.4",
37
37
  "bin": {
38
38
  "shuffl": "./dist/bin.js"
39
39
  }