@shuffl/cli 0.7.27 → 0.7.29

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.
@@ -902,6 +902,119 @@ export const commands = [
902
902
  scope: 'assistant:write',
903
903
  summary: 'Stop an answer Mello is still writing',
904
904
  },
905
+ {
906
+ access: 'read',
907
+ command: ['availability', 'free-time'],
908
+ input: {
909
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
910
+ additionalProperties: false,
911
+ properties: {
912
+ days: {
913
+ type: 'number',
914
+ },
915
+ personId: {
916
+ type: 'string',
917
+ },
918
+ },
919
+ required: ['personId'],
920
+ type: 'object',
921
+ },
922
+ path: ['availability', 'freeTime'],
923
+ permission: 'availability.freeTime',
924
+ scope: 'users:read',
925
+ summary: 'Read when a coworker is free in their working hours, from their shared calendar',
926
+ },
927
+ {
928
+ access: 'write',
929
+ command: ['availability', 'save-settings'],
930
+ input: {
931
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
932
+ additionalProperties: false,
933
+ properties: {
934
+ confirm: {
935
+ const: 'availability.saveSettings',
936
+ type: 'string',
937
+ },
938
+ enabled: {
939
+ type: 'boolean',
940
+ },
941
+ requestKey: {
942
+ maxLength: 128,
943
+ minLength: 1,
944
+ type: 'string',
945
+ },
946
+ },
947
+ required: ['enabled', 'confirm', 'requestKey'],
948
+ type: 'object',
949
+ },
950
+ path: ['availability', 'saveSettings'],
951
+ permission: 'availability.saveSettings',
952
+ scope: 'team:write',
953
+ summary: 'Turn Who’s out on or off for the workspace',
954
+ },
955
+ {
956
+ access: 'read',
957
+ command: ['availability', 'settings'],
958
+ input: {
959
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
960
+ additionalProperties: false,
961
+ properties: {},
962
+ type: 'object',
963
+ },
964
+ path: ['availability', 'settings'],
965
+ permission: 'availability.settings',
966
+ scope: 'team:read',
967
+ summary: 'Read whether Who’s out is on for the workspace',
968
+ },
969
+ {
970
+ access: 'write',
971
+ command: ['availability', 'share'],
972
+ input: {
973
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
974
+ additionalProperties: false,
975
+ properties: {
976
+ confirm: {
977
+ const: 'availability.share',
978
+ type: 'string',
979
+ },
980
+ requestKey: {
981
+ maxLength: 128,
982
+ minLength: 1,
983
+ type: 'string',
984
+ },
985
+ share: {
986
+ type: 'boolean',
987
+ },
988
+ },
989
+ required: ['share', 'confirm', 'requestKey'],
990
+ type: 'object',
991
+ },
992
+ path: ['availability', 'share'],
993
+ permission: 'availability.share',
994
+ scope: 'self:write',
995
+ summary: 'Choose whether coworkers see when you’re out and free',
996
+ },
997
+ {
998
+ access: 'read',
999
+ command: ['availability', 'whos-out'],
1000
+ input: {
1001
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
1002
+ additionalProperties: false,
1003
+ properties: {
1004
+ days: {
1005
+ type: 'number',
1006
+ },
1007
+ from: {
1008
+ type: 'string',
1009
+ },
1010
+ },
1011
+ type: 'object',
1012
+ },
1013
+ path: ['availability', 'whosOut'],
1014
+ permission: 'availability.whosOut',
1015
+ scope: 'users:read',
1016
+ summary: 'Read who is out in the coming days, from shared calendars and the HR system',
1017
+ },
905
1018
  {
906
1019
  access: 'write',
907
1020
  command: ['badges', 'award'],
@@ -1440,6 +1553,10 @@ export const commands = [
1440
1553
  const: 'badges',
1441
1554
  type: 'string',
1442
1555
  },
1556
+ {
1557
+ const: 'calendar_sharing',
1558
+ type: 'string',
1559
+ },
1443
1560
  {
1444
1561
  const: 'celebrations',
1445
1562
  type: 'string',
@@ -1464,6 +1581,10 @@ export const commands = [
1464
1581
  const: 'connections_program',
1465
1582
  type: 'string',
1466
1583
  },
1584
+ {
1585
+ const: 'free_time',
1586
+ type: 'string',
1587
+ },
1467
1588
  {
1468
1589
  const: 'groups',
1469
1590
  type: 'string',
@@ -1592,6 +1713,10 @@ export const commands = [
1592
1713
  const: 'who_knows',
1593
1714
  type: 'string',
1594
1715
  },
1716
+ {
1717
+ const: 'whos_out',
1718
+ type: 'string',
1719
+ },
1595
1720
  {
1596
1721
  const: 'workspace',
1597
1722
  type: 'string',
@@ -1641,6 +1766,10 @@ export const commands = [
1641
1766
  const: 'badges',
1642
1767
  type: 'string',
1643
1768
  },
1769
+ {
1770
+ const: 'calendar_sharing',
1771
+ type: 'string',
1772
+ },
1644
1773
  {
1645
1774
  const: 'celebrations',
1646
1775
  type: 'string',
@@ -1665,6 +1794,10 @@ export const commands = [
1665
1794
  const: 'connections_program',
1666
1795
  type: 'string',
1667
1796
  },
1797
+ {
1798
+ const: 'free_time',
1799
+ type: 'string',
1800
+ },
1668
1801
  {
1669
1802
  const: 'groups',
1670
1803
  type: 'string',
@@ -1793,6 +1926,10 @@ export const commands = [
1793
1926
  const: 'who_knows',
1794
1927
  type: 'string',
1795
1928
  },
1929
+ {
1930
+ const: 'whos_out',
1931
+ type: 'string',
1932
+ },
1796
1933
  {
1797
1934
  const: 'workspace',
1798
1935
  type: 'string',
@@ -3343,6 +3480,26 @@ export const commands = [
3343
3480
  const: 'assistant.stop',
3344
3481
  type: 'string',
3345
3482
  },
3483
+ {
3484
+ const: 'availability.freeTime',
3485
+ type: 'string',
3486
+ },
3487
+ {
3488
+ const: 'availability.saveSettings',
3489
+ type: 'string',
3490
+ },
3491
+ {
3492
+ const: 'availability.settings',
3493
+ type: 'string',
3494
+ },
3495
+ {
3496
+ const: 'availability.share',
3497
+ type: 'string',
3498
+ },
3499
+ {
3500
+ const: 'availability.whosOut',
3501
+ type: 'string',
3502
+ },
3346
3503
  {
3347
3504
  const: 'badges.award',
3348
3505
  type: 'string',
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.7.27",
5
- "@shuffl/sdk": "0.7.27"
4
+ "@shuffl/api-contracts": "0.7.29",
5
+ "@shuffl/sdk": "0.7.29"
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.7.27",
36
+ "version": "0.7.29",
37
37
  "bin": {
38
38
  "shuffl": "./dist/bin.js"
39
39
  }