@shuffl/cli 0.5.8 → 0.5.10

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.
@@ -2873,6 +2873,10 @@ export const commands = [
2873
2873
  const: 'playbooks.answerFirstDaysCheckIn',
2874
2874
  type: 'string',
2875
2875
  },
2876
+ {
2877
+ const: 'playbooks.answerForm',
2878
+ type: 'string',
2879
+ },
2876
2880
  {
2877
2881
  const: 'playbooks.approve',
2878
2882
  type: 'string',
@@ -3181,6 +3185,10 @@ export const commands = [
3181
3185
  const: 'pulse.editProposal',
3182
3186
  type: 'string',
3183
3187
  },
3188
+ {
3189
+ const: 'pulse.groupTrends',
3190
+ type: 'string',
3191
+ },
3184
3192
  {
3185
3193
  const: 'pulse.insights',
3186
3194
  type: 'string',
@@ -8775,6 +8783,63 @@ export const commands = [
8775
8783
  scope: 'self:write',
8776
8784
  summary: 'Answer your new-hire check-in',
8777
8785
  },
8786
+ {
8787
+ access: 'write',
8788
+ command: ['playbooks', 'answer-form'],
8789
+ input: {
8790
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
8791
+ additionalProperties: false,
8792
+ properties: {
8793
+ bio: {
8794
+ type: 'string',
8795
+ },
8796
+ birthday: {
8797
+ anyOf: [
8798
+ {
8799
+ type: 'null',
8800
+ },
8801
+ {
8802
+ additionalProperties: false,
8803
+ properties: {
8804
+ day: {
8805
+ type: 'number',
8806
+ },
8807
+ month: {
8808
+ type: 'number',
8809
+ },
8810
+ },
8811
+ required: ['day', 'month'],
8812
+ type: 'object',
8813
+ },
8814
+ ],
8815
+ },
8816
+ confirm: {
8817
+ const: 'playbooks.answerForm',
8818
+ type: 'string',
8819
+ },
8820
+ preferredName: {
8821
+ type: 'string',
8822
+ },
8823
+ pronouns: {
8824
+ type: 'string',
8825
+ },
8826
+ requestKey: {
8827
+ maxLength: 128,
8828
+ minLength: 1,
8829
+ type: 'string',
8830
+ },
8831
+ stepId: {
8832
+ type: 'string',
8833
+ },
8834
+ },
8835
+ required: ['stepId', 'confirm', 'requestKey'],
8836
+ type: 'object',
8837
+ },
8838
+ path: ['playbooks', 'answerForm'],
8839
+ permission: 'playbooks.answerForm',
8840
+ scope: 'self:write',
8841
+ summary: 'Answer a playbook’s Tell us about you form; the answers fill in your profile',
8842
+ },
8778
8843
  {
8779
8844
  access: 'write',
8780
8845
  command: ['playbooks', 'approve'],
@@ -9697,6 +9762,33 @@ export const commands = [
9697
9762
  },
9698
9763
  ],
9699
9764
  },
9765
+ formFields: {
9766
+ items: {
9767
+ anyOf: [
9768
+ {
9769
+ const: 'bio',
9770
+ type: 'string',
9771
+ },
9772
+ {
9773
+ const: 'birthday',
9774
+ type: 'string',
9775
+ },
9776
+ {
9777
+ const: 'photo',
9778
+ type: 'string',
9779
+ },
9780
+ {
9781
+ const: 'preferredName',
9782
+ type: 'string',
9783
+ },
9784
+ {
9785
+ const: 'pronouns',
9786
+ type: 'string',
9787
+ },
9788
+ ],
9789
+ },
9790
+ type: 'array',
9791
+ },
9700
9792
  id: {
9701
9793
  type: 'string',
9702
9794
  },
@@ -9710,6 +9802,10 @@ export const commands = [
9710
9802
  const: 'checkpoint',
9711
9803
  type: 'string',
9712
9804
  },
9805
+ {
9806
+ const: 'form',
9807
+ type: 'string',
9808
+ },
9713
9809
  {
9714
9810
  const: 'meet',
9715
9811
  type: 'string',
@@ -10894,6 +10990,9 @@ export const commands = [
10894
10990
  phone: {
10895
10991
  type: 'string',
10896
10992
  },
10993
+ preferredName: {
10994
+ type: 'string',
10995
+ },
10897
10996
  pronouns: {
10898
10997
  type: 'string',
10899
10998
  },
@@ -12995,6 +13094,37 @@ export const commands = [
12995
13094
  scope: 'pulse:write',
12996
13095
  summary: 'Reword a suggested Pulse question before approving it',
12997
13096
  },
13097
+ {
13098
+ access: 'read',
13099
+ command: ['pulse', 'group-trends'],
13100
+ input: {
13101
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
13102
+ additionalProperties: false,
13103
+ properties: {
13104
+ days: {
13105
+ anyOf: [
13106
+ {
13107
+ const: 30,
13108
+ type: 'number',
13109
+ },
13110
+ {
13111
+ const: 90,
13112
+ type: 'number',
13113
+ },
13114
+ {
13115
+ const: 180,
13116
+ type: 'number',
13117
+ },
13118
+ ],
13119
+ },
13120
+ },
13121
+ type: 'object',
13122
+ },
13123
+ path: ['pulse', 'groupTrends'],
13124
+ permission: 'pulse.groupTrends',
13125
+ scope: 'pulse:read',
13126
+ summary: "Read each group's Pulse results over time, period by period, with the change since the start (published group totals only)",
13127
+ },
12998
13128
  {
12999
13129
  access: 'read',
13000
13130
  command: ['pulse', 'insights'],
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.8",
5
- "@shuffl/sdk": "0.5.8"
4
+ "@shuffl/api-contracts": "0.5.10",
5
+ "@shuffl/sdk": "0.5.10"
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.8",
36
+ "version": "0.5.10",
37
37
  "bin": {
38
38
  "shuffl": "./dist/bin.js"
39
39
  }