@shuffl/cli 0.5.5 → 0.5.6
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 +54 -1
- package/package.json +3 -3
|
@@ -2361,6 +2361,10 @@ export const commands = [
|
|
|
2361
2361
|
const: 'groups.allAutomations',
|
|
2362
2362
|
type: 'string',
|
|
2363
2363
|
},
|
|
2364
|
+
{
|
|
2365
|
+
const: 'groups.automationChoices',
|
|
2366
|
+
type: 'string',
|
|
2367
|
+
},
|
|
2364
2368
|
{
|
|
2365
2369
|
const: 'groups.automations',
|
|
2366
2370
|
type: 'string',
|
|
@@ -4125,6 +4129,20 @@ export const commands = [
|
|
|
4125
4129
|
scope: 'users:read',
|
|
4126
4130
|
summary: 'Every join and leave automation 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',
|
|
4127
4131
|
},
|
|
4132
|
+
{
|
|
4133
|
+
access: 'read',
|
|
4134
|
+
command: ['groups', 'automation-choices'],
|
|
4135
|
+
input: {
|
|
4136
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
4137
|
+
additionalProperties: false,
|
|
4138
|
+
properties: {},
|
|
4139
|
+
type: 'object',
|
|
4140
|
+
},
|
|
4141
|
+
path: ['groups', 'automationChoices'],
|
|
4142
|
+
permission: 'groups.automationChoices',
|
|
4143
|
+
scope: 'users:read',
|
|
4144
|
+
summary: 'The Pulse questions, badges and Shuffl lists a group automation can ask, give or add people to',
|
|
4145
|
+
},
|
|
4128
4146
|
{
|
|
4129
4147
|
access: 'read',
|
|
4130
4148
|
command: ['groups', 'automations'],
|
|
@@ -4888,6 +4906,9 @@ export const commands = [
|
|
|
4888
4906
|
},
|
|
4889
4907
|
],
|
|
4890
4908
|
},
|
|
4909
|
+
badgeId: {
|
|
4910
|
+
type: 'string',
|
|
4911
|
+
},
|
|
4891
4912
|
body: {
|
|
4892
4913
|
items: {
|
|
4893
4914
|
type: 'string',
|
|
@@ -4916,12 +4937,21 @@ export const commands = [
|
|
|
4916
4937
|
note: {
|
|
4917
4938
|
type: 'string',
|
|
4918
4939
|
},
|
|
4940
|
+
personId: {
|
|
4941
|
+
type: 'string',
|
|
4942
|
+
},
|
|
4919
4943
|
programId: {
|
|
4920
4944
|
type: 'string',
|
|
4921
4945
|
},
|
|
4946
|
+
questionId: {
|
|
4947
|
+
type: 'string',
|
|
4948
|
+
},
|
|
4922
4949
|
subject: {
|
|
4923
4950
|
type: 'string',
|
|
4924
4951
|
},
|
|
4952
|
+
targetGroupId: {
|
|
4953
|
+
type: 'string',
|
|
4954
|
+
},
|
|
4925
4955
|
},
|
|
4926
4956
|
type: 'object',
|
|
4927
4957
|
},
|
|
@@ -4931,6 +4961,9 @@ export const commands = [
|
|
|
4931
4961
|
const: 'groups.setAutomation',
|
|
4932
4962
|
type: 'string',
|
|
4933
4963
|
},
|
|
4964
|
+
delayDays: {
|
|
4965
|
+
type: 'number',
|
|
4966
|
+
},
|
|
4934
4967
|
groupId: {
|
|
4935
4968
|
type: 'string',
|
|
4936
4969
|
},
|
|
@@ -4939,14 +4972,30 @@ export const commands = [
|
|
|
4939
4972
|
},
|
|
4940
4973
|
kind: {
|
|
4941
4974
|
anyOf: [
|
|
4975
|
+
{
|
|
4976
|
+
const: 'add_to_group',
|
|
4977
|
+
type: 'string',
|
|
4978
|
+
},
|
|
4942
4979
|
{
|
|
4943
4980
|
const: 'add_to_program',
|
|
4944
4981
|
type: 'string',
|
|
4945
4982
|
},
|
|
4983
|
+
{
|
|
4984
|
+
const: 'ask_pulse',
|
|
4985
|
+
type: 'string',
|
|
4986
|
+
},
|
|
4987
|
+
{
|
|
4988
|
+
const: 'give_badge',
|
|
4989
|
+
type: 'string',
|
|
4990
|
+
},
|
|
4946
4991
|
{
|
|
4947
4992
|
const: 'invite_community',
|
|
4948
4993
|
type: 'string',
|
|
4949
4994
|
},
|
|
4995
|
+
{
|
|
4996
|
+
const: 'remove_from_group',
|
|
4997
|
+
type: 'string',
|
|
4998
|
+
},
|
|
4950
4999
|
{
|
|
4951
5000
|
const: 'send_message',
|
|
4952
5001
|
type: 'string',
|
|
@@ -4963,6 +5012,10 @@ export const commands = [
|
|
|
4963
5012
|
const: 'tell_manager',
|
|
4964
5013
|
type: 'string',
|
|
4965
5014
|
},
|
|
5015
|
+
{
|
|
5016
|
+
const: 'tell_person',
|
|
5017
|
+
type: 'string',
|
|
5018
|
+
},
|
|
4966
5019
|
],
|
|
4967
5020
|
},
|
|
4968
5021
|
requestKey: {
|
|
@@ -4989,7 +5042,7 @@ export const commands = [
|
|
|
4989
5042
|
path: ['groups', 'setAutomation'],
|
|
4990
5043
|
permission: 'groups.setAutomation',
|
|
4991
5044
|
scope: 'users:write',
|
|
4992
|
-
summary: 'Add or change an automation on a group; a new one starts paused',
|
|
5045
|
+
summary: 'Add or change an automation on a group: send a message, ask a Pulse question, start a playbook, invite to a community, add to Connections, give a badge, add to or remove from another group, or tell HR, their manager or someone named, right away or days later; a new one starts paused',
|
|
4993
5046
|
},
|
|
4994
5047
|
{
|
|
4995
5048
|
access: 'write',
|
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.6",
|
|
5
|
+
"@shuffl/sdk": "0.5.6"
|
|
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.6",
|
|
37
37
|
"bin": {
|
|
38
38
|
"shuffl": "./dist/bin.js"
|
|
39
39
|
}
|