@shuffl/cli 0.5.0 → 0.5.1

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.
@@ -2861,6 +2861,10 @@ export const commands = [
2861
2861
  const: 'playbooks.mine',
2862
2862
  type: 'string',
2863
2863
  },
2864
+ {
2865
+ const: 'playbooks.nudge',
2866
+ type: 'string',
2867
+ },
2864
2868
  {
2865
2869
  const: 'playbooks.person',
2866
2870
  type: 'string',
@@ -8418,6 +8422,37 @@ export const commands = [
8418
8422
  scope: 'self:read',
8419
8423
  summary: 'Read your own onboarding plan and buddy asks',
8420
8424
  },
8425
+ {
8426
+ access: 'write',
8427
+ command: ['playbooks', 'nudge'],
8428
+ input: {
8429
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
8430
+ additionalProperties: false,
8431
+ properties: {
8432
+ confirm: {
8433
+ const: 'playbooks.nudge',
8434
+ type: 'string',
8435
+ },
8436
+ enrollmentId: {
8437
+ type: 'string',
8438
+ },
8439
+ ownerPersonId: {
8440
+ type: 'string',
8441
+ },
8442
+ requestKey: {
8443
+ maxLength: 128,
8444
+ minLength: 1,
8445
+ type: 'string',
8446
+ },
8447
+ },
8448
+ required: ['enrollmentId', 'ownerPersonId', 'confirm', 'requestKey'],
8449
+ type: 'object',
8450
+ },
8451
+ path: ['playbooks', 'nudge'],
8452
+ permission: 'playbooks.nudge',
8453
+ scope: 'playbooks:write',
8454
+ summary: 'Send someone one Slack nudge about a hire’s overdue playbook to-dos, at most once a day',
8455
+ },
8421
8456
  {
8422
8457
  access: 'read',
8423
8458
  command: ['playbooks', 'person'],
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.5.0",
5
- "@shuffl/sdk": "0.5.0"
4
+ "@shuffl/api-contracts": "0.5.1",
5
+ "@shuffl/sdk": "0.5.1"
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.5.0",
36
+ "version": "0.5.1",
37
37
  "bin": {
38
38
  "shuffl": "./dist/bin.js"
39
39
  }