@shuffl/cli 0.5.1 → 0.5.3

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.
@@ -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',
@@ -2741,6 +2745,10 @@ export const commands = [
2741
2745
  const: 'network.claim',
2742
2746
  type: 'string',
2743
2747
  },
2748
+ {
2749
+ const: 'network.introductions',
2750
+ type: 'string',
2751
+ },
2744
2752
  {
2745
2753
  const: 'network.mine',
2746
2754
  type: 'string',
@@ -4111,7 +4119,7 @@ export const commands = [
4111
4119
  path: ['groups', 'allAutomations'],
4112
4120
  permission: 'groups.allAutomations',
4113
4121
  scope: 'users:read',
4114
- summary: 'Every group automation in the workspace with its group and last runs, or only those that start one playbook, program or community',
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',
4115
4123
  },
4116
4124
  {
4117
4125
  access: 'read',
@@ -5019,6 +5027,53 @@ export const commands = [
5019
5027
  scope: 'users:write',
5020
5028
  summary: 'Pause or resume an automation on a group',
5021
5029
  },
5030
+ {
5031
+ access: 'write',
5032
+ command: ['groups', 'set-playbook-auto-start'],
5033
+ input: {
5034
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
5035
+ additionalProperties: false,
5036
+ properties: {
5037
+ confirm: {
5038
+ const: 'groups.setPlaybookAutoStart',
5039
+ type: 'string',
5040
+ },
5041
+ groupId: {
5042
+ type: ['null', 'string'],
5043
+ },
5044
+ programId: {
5045
+ type: 'string',
5046
+ },
5047
+ requestKey: {
5048
+ maxLength: 128,
5049
+ minLength: 1,
5050
+ type: 'string',
5051
+ },
5052
+ state: {
5053
+ anyOf: [
5054
+ {
5055
+ const: 'active',
5056
+ type: 'string',
5057
+ },
5058
+ {
5059
+ const: 'off',
5060
+ type: 'string',
5061
+ },
5062
+ {
5063
+ const: 'paused',
5064
+ type: 'string',
5065
+ },
5066
+ ],
5067
+ },
5068
+ },
5069
+ required: ['programId', 'state', 'confirm', 'requestKey'],
5070
+ type: 'object',
5071
+ },
5072
+ path: ['groups', 'setPlaybookAutoStart'],
5073
+ permission: 'groups.setPlaybookAutoStart',
5074
+ 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',
5076
+ },
5022
5077
  {
5023
5078
  access: 'read',
5024
5079
  command: ['groups', 'suggestions'],
@@ -7524,6 +7579,20 @@ export const commands = [
7524
7579
  scope: 'profile:write',
7525
7580
  summary: 'Say you know someone or would like to meet them',
7526
7581
  },
7582
+ {
7583
+ access: 'read',
7584
+ command: ['network', 'introductions'],
7585
+ input: {
7586
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
7587
+ additionalProperties: false,
7588
+ properties: {},
7589
+ type: 'object',
7590
+ },
7591
+ path: ['network', 'introductions'],
7592
+ permission: 'network.introductions',
7593
+ scope: 'users:read',
7594
+ summary: 'Your Connections programs, when your next introduction goes out, and who you met',
7595
+ },
7527
7596
  {
7528
7597
  access: 'read',
7529
7598
  command: ['network', 'mine'],
@@ -8795,6 +8864,18 @@ export const commands = [
8795
8864
  autoStartGroupId: {
8796
8865
  type: ['null', 'string'],
8797
8866
  },
8867
+ autoStartPaused: {
8868
+ anyOf: [
8869
+ {
8870
+ const: false,
8871
+ type: 'boolean',
8872
+ },
8873
+ {
8874
+ const: true,
8875
+ type: 'boolean',
8876
+ },
8877
+ ],
8878
+ },
8798
8879
  buddy: {
8799
8880
  anyOf: [
8800
8881
  {
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.1",
5
- "@shuffl/sdk": "0.5.1"
4
+ "@shuffl/api-contracts": "0.5.3",
5
+ "@shuffl/sdk": "0.5.3"
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.1",
36
+ "version": "0.5.3",
37
37
  "bin": {
38
38
  "shuffl": "./dist/bin.js"
39
39
  }