@shuffl/cli 0.5.0 → 0.5.2
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/dist/commands.generated.js +99 -1
- package/package.json +3 -3
|
@@ -2449,6 +2449,10 @@ export const commands = [
|
|
|
2449
2449
|
const: 'groups.setAutomationState',
|
|
2450
2450
|
type: 'string',
|
|
2451
2451
|
},
|
|
2452
|
+
{
|
|
2453
|
+
const: 'groups.setPlaybookAutoStart',
|
|
2454
|
+
type: 'string',
|
|
2455
|
+
},
|
|
2452
2456
|
{
|
|
2453
2457
|
const: 'groups.suggestions',
|
|
2454
2458
|
type: 'string',
|
|
@@ -2861,6 +2865,10 @@ export const commands = [
|
|
|
2861
2865
|
const: 'playbooks.mine',
|
|
2862
2866
|
type: 'string',
|
|
2863
2867
|
},
|
|
2868
|
+
{
|
|
2869
|
+
const: 'playbooks.nudge',
|
|
2870
|
+
type: 'string',
|
|
2871
|
+
},
|
|
2864
2872
|
{
|
|
2865
2873
|
const: 'playbooks.person',
|
|
2866
2874
|
type: 'string',
|
|
@@ -4107,7 +4115,7 @@ export const commands = [
|
|
|
4107
4115
|
path: ['groups', 'allAutomations'],
|
|
4108
4116
|
permission: 'groups.allAutomations',
|
|
4109
4117
|
scope: 'users:read',
|
|
4110
|
-
summary: 'Every
|
|
4118
|
+
summary: 'Every join and leave rule in the workspace: group automations with their group and last runs, playbooks that start on each start date and Connections programs whose people are a group; or only those that start one playbook, program or community',
|
|
4111
4119
|
},
|
|
4112
4120
|
{
|
|
4113
4121
|
access: 'read',
|
|
@@ -5015,6 +5023,53 @@ export const commands = [
|
|
|
5015
5023
|
scope: 'users:write',
|
|
5016
5024
|
summary: 'Pause or resume an automation on a group',
|
|
5017
5025
|
},
|
|
5026
|
+
{
|
|
5027
|
+
access: 'write',
|
|
5028
|
+
command: ['groups', 'set-playbook-auto-start'],
|
|
5029
|
+
input: {
|
|
5030
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
5031
|
+
additionalProperties: false,
|
|
5032
|
+
properties: {
|
|
5033
|
+
confirm: {
|
|
5034
|
+
const: 'groups.setPlaybookAutoStart',
|
|
5035
|
+
type: 'string',
|
|
5036
|
+
},
|
|
5037
|
+
groupId: {
|
|
5038
|
+
type: ['null', 'string'],
|
|
5039
|
+
},
|
|
5040
|
+
programId: {
|
|
5041
|
+
type: 'string',
|
|
5042
|
+
},
|
|
5043
|
+
requestKey: {
|
|
5044
|
+
maxLength: 128,
|
|
5045
|
+
minLength: 1,
|
|
5046
|
+
type: 'string',
|
|
5047
|
+
},
|
|
5048
|
+
state: {
|
|
5049
|
+
anyOf: [
|
|
5050
|
+
{
|
|
5051
|
+
const: 'active',
|
|
5052
|
+
type: 'string',
|
|
5053
|
+
},
|
|
5054
|
+
{
|
|
5055
|
+
const: 'off',
|
|
5056
|
+
type: 'string',
|
|
5057
|
+
},
|
|
5058
|
+
{
|
|
5059
|
+
const: 'paused',
|
|
5060
|
+
type: 'string',
|
|
5061
|
+
},
|
|
5062
|
+
],
|
|
5063
|
+
},
|
|
5064
|
+
},
|
|
5065
|
+
required: ['programId', 'state', 'confirm', 'requestKey'],
|
|
5066
|
+
type: 'object',
|
|
5067
|
+
},
|
|
5068
|
+
path: ['groups', 'setPlaybookAutoStart'],
|
|
5069
|
+
permission: 'groups.setPlaybookAutoStart',
|
|
5070
|
+
scope: 'users:write',
|
|
5071
|
+
summary: 'Turn on, pause or remove a playbook’s rule that starts it on each new hire’s start date, for everyone or one group',
|
|
5072
|
+
},
|
|
5018
5073
|
{
|
|
5019
5074
|
access: 'read',
|
|
5020
5075
|
command: ['groups', 'suggestions'],
|
|
@@ -8418,6 +8473,37 @@ export const commands = [
|
|
|
8418
8473
|
scope: 'self:read',
|
|
8419
8474
|
summary: 'Read your own onboarding plan and buddy asks',
|
|
8420
8475
|
},
|
|
8476
|
+
{
|
|
8477
|
+
access: 'write',
|
|
8478
|
+
command: ['playbooks', 'nudge'],
|
|
8479
|
+
input: {
|
|
8480
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
8481
|
+
additionalProperties: false,
|
|
8482
|
+
properties: {
|
|
8483
|
+
confirm: {
|
|
8484
|
+
const: 'playbooks.nudge',
|
|
8485
|
+
type: 'string',
|
|
8486
|
+
},
|
|
8487
|
+
enrollmentId: {
|
|
8488
|
+
type: 'string',
|
|
8489
|
+
},
|
|
8490
|
+
ownerPersonId: {
|
|
8491
|
+
type: 'string',
|
|
8492
|
+
},
|
|
8493
|
+
requestKey: {
|
|
8494
|
+
maxLength: 128,
|
|
8495
|
+
minLength: 1,
|
|
8496
|
+
type: 'string',
|
|
8497
|
+
},
|
|
8498
|
+
},
|
|
8499
|
+
required: ['enrollmentId', 'ownerPersonId', 'confirm', 'requestKey'],
|
|
8500
|
+
type: 'object',
|
|
8501
|
+
},
|
|
8502
|
+
path: ['playbooks', 'nudge'],
|
|
8503
|
+
permission: 'playbooks.nudge',
|
|
8504
|
+
scope: 'playbooks:write',
|
|
8505
|
+
summary: 'Send someone one Slack nudge about a hire’s overdue playbook to-dos, at most once a day',
|
|
8506
|
+
},
|
|
8421
8507
|
{
|
|
8422
8508
|
access: 'read',
|
|
8423
8509
|
command: ['playbooks', 'person'],
|
|
@@ -8760,6 +8846,18 @@ export const commands = [
|
|
|
8760
8846
|
autoStartGroupId: {
|
|
8761
8847
|
type: ['null', 'string'],
|
|
8762
8848
|
},
|
|
8849
|
+
autoStartPaused: {
|
|
8850
|
+
anyOf: [
|
|
8851
|
+
{
|
|
8852
|
+
const: false,
|
|
8853
|
+
type: 'boolean',
|
|
8854
|
+
},
|
|
8855
|
+
{
|
|
8856
|
+
const: true,
|
|
8857
|
+
type: 'boolean',
|
|
8858
|
+
},
|
|
8859
|
+
],
|
|
8860
|
+
},
|
|
8763
8861
|
buddy: {
|
|
8764
8862
|
anyOf: [
|
|
8765
8863
|
{
|
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.
|
|
5
|
-
"@shuffl/sdk": "0.5.
|
|
4
|
+
"@shuffl/api-contracts": "0.5.2",
|
|
5
|
+
"@shuffl/sdk": "0.5.2"
|
|
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.
|
|
36
|
+
"version": "0.5.2",
|
|
37
37
|
"bin": {
|
|
38
38
|
"shuffl": "./dist/bin.js"
|
|
39
39
|
}
|