@shuffl/cli 0.5.3 → 0.5.5

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.
@@ -2881,6 +2881,10 @@ export const commands = [
2881
2881
  const: 'playbooks.plans',
2882
2882
  type: 'string',
2883
2883
  },
2884
+ {
2885
+ const: 'playbooks.previewAs',
2886
+ type: 'string',
2887
+ },
2884
2888
  {
2885
2889
  const: 'playbooks.previewEnrollment',
2886
2890
  type: 'string',
@@ -4119,7 +4123,7 @@ export const commands = [
4119
4123
  path: ['groups', 'allAutomations'],
4120
4124
  permission: 'groups.allAutomations',
4121
4125
  scope: 'users:read',
4122
- 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',
4126
+ 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',
4123
4127
  },
4124
4128
  {
4125
4129
  access: 'read',
@@ -5072,7 +5076,7 @@ export const commands = [
5072
5076
  path: ['groups', 'setPlaybookAutoStart'],
5073
5077
  permission: 'groups.setPlaybookAutoStart',
5074
5078
  scope: 'users:write',
5075
- 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',
5079
+ summary: 'Turn on, pause or remove a playbook’s automation that starts it on each new hire’s start date, for everyone or one group',
5076
5080
  },
5077
5081
  {
5078
5082
  access: 'read',
@@ -8555,6 +8559,28 @@ export const commands = [
8555
8559
  scope: 'self:read',
8556
8560
  summary: 'The 30/60/90 plans for new hires you manage, and your own once your manager shares it',
8557
8561
  },
8562
+ {
8563
+ access: 'read',
8564
+ command: ['playbooks', 'preview-as'],
8565
+ input: {
8566
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
8567
+ additionalProperties: false,
8568
+ properties: {
8569
+ personId: {
8570
+ type: 'string',
8571
+ },
8572
+ programId: {
8573
+ type: 'string',
8574
+ },
8575
+ },
8576
+ required: ['personId', 'programId'],
8577
+ type: 'object',
8578
+ },
8579
+ path: ['playbooks', 'previewAs'],
8580
+ permission: 'playbooks.previewAs',
8581
+ scope: 'playbooks:read',
8582
+ summary: 'Which steps of a playbook one person would get, on which day, and why each skipped step is left out',
8583
+ },
8558
8584
  {
8559
8585
  access: 'write',
8560
8586
  command: ['playbooks', 'preview-enrollment'],
@@ -9013,6 +9039,10 @@ export const commands = [
9013
9039
  const: 'checkpoint',
9014
9040
  type: 'string',
9015
9041
  },
9042
+ {
9043
+ const: 'meet',
9044
+ type: 'string',
9045
+ },
9016
9046
  {
9017
9047
  const: 'message',
9018
9048
  type: 'string',
@@ -9023,9 +9053,44 @@ export const commands = [
9023
9053
  },
9024
9054
  ],
9025
9055
  },
9056
+ meet: {
9057
+ anyOf: [
9058
+ {
9059
+ const: 'manager',
9060
+ type: 'string',
9061
+ },
9062
+ {
9063
+ const: 'person',
9064
+ type: 'string',
9065
+ },
9066
+ {
9067
+ const: 'skip_level',
9068
+ type: 'string',
9069
+ },
9070
+ {
9071
+ const: 'teammates',
9072
+ type: 'string',
9073
+ },
9074
+ ],
9075
+ },
9076
+ meetCount: {
9077
+ type: 'number',
9078
+ },
9079
+ notFor: {
9080
+ items: {
9081
+ type: 'string',
9082
+ },
9083
+ type: 'array',
9084
+ },
9026
9085
  offsetDays: {
9027
9086
  type: 'number',
9028
9087
  },
9088
+ onlyFor: {
9089
+ items: {
9090
+ type: 'string',
9091
+ },
9092
+ type: 'array',
9093
+ },
9029
9094
  personId: {
9030
9095
  type: ['null', 'string'],
9031
9096
  },
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.3",
5
- "@shuffl/sdk": "0.5.3"
4
+ "@shuffl/api-contracts": "0.5.5",
5
+ "@shuffl/sdk": "0.5.5"
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.3",
36
+ "version": "0.5.5",
37
37
  "bin": {
38
38
  "shuffl": "./dist/bin.js"
39
39
  }