@shuffl/cli 0.5.8 → 0.5.9

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',
@@ -8775,6 +8779,63 @@ export const commands = [
8775
8779
  scope: 'self:write',
8776
8780
  summary: 'Answer your new-hire check-in',
8777
8781
  },
8782
+ {
8783
+ access: 'write',
8784
+ command: ['playbooks', 'answer-form'],
8785
+ input: {
8786
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
8787
+ additionalProperties: false,
8788
+ properties: {
8789
+ bio: {
8790
+ type: 'string',
8791
+ },
8792
+ birthday: {
8793
+ anyOf: [
8794
+ {
8795
+ type: 'null',
8796
+ },
8797
+ {
8798
+ additionalProperties: false,
8799
+ properties: {
8800
+ day: {
8801
+ type: 'number',
8802
+ },
8803
+ month: {
8804
+ type: 'number',
8805
+ },
8806
+ },
8807
+ required: ['day', 'month'],
8808
+ type: 'object',
8809
+ },
8810
+ ],
8811
+ },
8812
+ confirm: {
8813
+ const: 'playbooks.answerForm',
8814
+ type: 'string',
8815
+ },
8816
+ preferredName: {
8817
+ type: 'string',
8818
+ },
8819
+ pronouns: {
8820
+ type: 'string',
8821
+ },
8822
+ requestKey: {
8823
+ maxLength: 128,
8824
+ minLength: 1,
8825
+ type: 'string',
8826
+ },
8827
+ stepId: {
8828
+ type: 'string',
8829
+ },
8830
+ },
8831
+ required: ['stepId', 'confirm', 'requestKey'],
8832
+ type: 'object',
8833
+ },
8834
+ path: ['playbooks', 'answerForm'],
8835
+ permission: 'playbooks.answerForm',
8836
+ scope: 'self:write',
8837
+ summary: 'Answer a playbook’s Tell us about you form; the answers fill in your profile',
8838
+ },
8778
8839
  {
8779
8840
  access: 'write',
8780
8841
  command: ['playbooks', 'approve'],
@@ -9697,6 +9758,33 @@ export const commands = [
9697
9758
  },
9698
9759
  ],
9699
9760
  },
9761
+ formFields: {
9762
+ items: {
9763
+ anyOf: [
9764
+ {
9765
+ const: 'bio',
9766
+ type: 'string',
9767
+ },
9768
+ {
9769
+ const: 'birthday',
9770
+ type: 'string',
9771
+ },
9772
+ {
9773
+ const: 'photo',
9774
+ type: 'string',
9775
+ },
9776
+ {
9777
+ const: 'preferredName',
9778
+ type: 'string',
9779
+ },
9780
+ {
9781
+ const: 'pronouns',
9782
+ type: 'string',
9783
+ },
9784
+ ],
9785
+ },
9786
+ type: 'array',
9787
+ },
9700
9788
  id: {
9701
9789
  type: 'string',
9702
9790
  },
@@ -9710,6 +9798,10 @@ export const commands = [
9710
9798
  const: 'checkpoint',
9711
9799
  type: 'string',
9712
9800
  },
9801
+ {
9802
+ const: 'form',
9803
+ type: 'string',
9804
+ },
9713
9805
  {
9714
9806
  const: 'meet',
9715
9807
  type: 'string',
@@ -10894,6 +10986,9 @@ export const commands = [
10894
10986
  phone: {
10895
10987
  type: 'string',
10896
10988
  },
10989
+ preferredName: {
10990
+ type: 'string',
10991
+ },
10897
10992
  pronouns: {
10898
10993
  type: 'string',
10899
10994
  },
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.9",
5
+ "@shuffl/sdk": "0.5.9"
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.9",
37
37
  "bin": {
38
38
  "shuffl": "./dist/bin.js"
39
39
  }