@shuffl/cli 0.7.1 → 0.7.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.
@@ -826,6 +826,403 @@ export const commands = [
826
826
  scope: 'profile:write',
827
827
  summary: 'Set a badge picture from a PNG, JPEG or WebP picture sent as base64, for a badge you own',
828
828
  },
829
+ {
830
+ access: 'write',
831
+ command: ['capabilities', 'dismiss-requests'],
832
+ input: {
833
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
834
+ additionalProperties: false,
835
+ properties: {
836
+ capabilityId: {
837
+ anyOf: [
838
+ {
839
+ const: 'badges',
840
+ type: 'string',
841
+ },
842
+ {
843
+ const: 'celebrations',
844
+ type: 'string',
845
+ },
846
+ {
847
+ const: 'celebrations_program',
848
+ type: 'string',
849
+ },
850
+ {
851
+ const: 'communities',
852
+ type: 'string',
853
+ },
854
+ {
855
+ const: 'connected_docs',
856
+ type: 'string',
857
+ },
858
+ {
859
+ const: 'connections_program',
860
+ type: 'string',
861
+ },
862
+ {
863
+ const: 'groups',
864
+ type: 'string',
865
+ },
866
+ {
867
+ const: 'hr_inbox',
868
+ type: 'string',
869
+ },
870
+ {
871
+ const: 'hr_request',
872
+ type: 'string',
873
+ },
874
+ {
875
+ const: 'insights',
876
+ type: 'string',
877
+ },
878
+ {
879
+ const: 'intros',
880
+ type: 'string',
881
+ },
882
+ {
883
+ const: 'knowledge',
884
+ type: 'string',
885
+ },
886
+ {
887
+ const: 'knowledge_tools',
888
+ type: 'string',
889
+ },
890
+ {
891
+ const: 'manager_plans',
892
+ type: 'string',
893
+ },
894
+ {
895
+ const: 'mentorship',
896
+ type: 'string',
897
+ },
898
+ {
899
+ const: 'mentorship_programs',
900
+ type: 'string',
901
+ },
902
+ {
903
+ const: 'my_reports',
904
+ type: 'string',
905
+ },
906
+ {
907
+ const: 'notifications',
908
+ type: 'string',
909
+ },
910
+ {
911
+ const: 'onboarding',
912
+ type: 'string',
913
+ },
914
+ {
915
+ const: 'people',
916
+ type: 'string',
917
+ },
918
+ {
919
+ const: 'people_admin',
920
+ type: 'string',
921
+ },
922
+ {
923
+ const: 'people_sync',
924
+ type: 'string',
925
+ },
926
+ {
927
+ const: 'playbook_auto_start',
928
+ type: 'string',
929
+ },
930
+ {
931
+ const: 'playbooks',
932
+ type: 'string',
933
+ },
934
+ {
935
+ const: 'policies',
936
+ type: 'string',
937
+ },
938
+ {
939
+ const: 'praise',
940
+ type: 'string',
941
+ },
942
+ {
943
+ const: 'praise_program',
944
+ type: 'string',
945
+ },
946
+ {
947
+ const: 'profile',
948
+ type: 'string',
949
+ },
950
+ {
951
+ const: 'pulse',
952
+ type: 'string',
953
+ },
954
+ {
955
+ const: 'pulse_mine',
956
+ type: 'string',
957
+ },
958
+ {
959
+ const: 'time_off_balance',
960
+ type: 'string',
961
+ },
962
+ {
963
+ const: 'time_off_request',
964
+ type: 'string',
965
+ },
966
+ {
967
+ const: 'what_mello_can_do',
968
+ type: 'string',
969
+ },
970
+ {
971
+ const: 'who_knows',
972
+ type: 'string',
973
+ },
974
+ {
975
+ const: 'workspace',
976
+ type: 'string',
977
+ },
978
+ ],
979
+ },
980
+ confirm: {
981
+ const: 'capabilities.dismissRequests',
982
+ type: 'string',
983
+ },
984
+ requestKey: {
985
+ maxLength: 128,
986
+ minLength: 1,
987
+ type: 'string',
988
+ },
989
+ },
990
+ required: ['capabilityId', 'confirm', 'requestKey'],
991
+ type: 'object',
992
+ },
993
+ path: ['capabilities', 'dismissRequests'],
994
+ permission: 'capabilities.dismissRequests',
995
+ scope: 'integrations:write',
996
+ summary: 'Clear the asks to connect a system for one capability',
997
+ },
998
+ {
999
+ access: 'write',
1000
+ command: ['capabilities', 'request-connection'],
1001
+ input: {
1002
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
1003
+ additionalProperties: false,
1004
+ properties: {
1005
+ capabilityId: {
1006
+ anyOf: [
1007
+ {
1008
+ const: 'badges',
1009
+ type: 'string',
1010
+ },
1011
+ {
1012
+ const: 'celebrations',
1013
+ type: 'string',
1014
+ },
1015
+ {
1016
+ const: 'celebrations_program',
1017
+ type: 'string',
1018
+ },
1019
+ {
1020
+ const: 'communities',
1021
+ type: 'string',
1022
+ },
1023
+ {
1024
+ const: 'connected_docs',
1025
+ type: 'string',
1026
+ },
1027
+ {
1028
+ const: 'connections_program',
1029
+ type: 'string',
1030
+ },
1031
+ {
1032
+ const: 'groups',
1033
+ type: 'string',
1034
+ },
1035
+ {
1036
+ const: 'hr_inbox',
1037
+ type: 'string',
1038
+ },
1039
+ {
1040
+ const: 'hr_request',
1041
+ type: 'string',
1042
+ },
1043
+ {
1044
+ const: 'insights',
1045
+ type: 'string',
1046
+ },
1047
+ {
1048
+ const: 'intros',
1049
+ type: 'string',
1050
+ },
1051
+ {
1052
+ const: 'knowledge',
1053
+ type: 'string',
1054
+ },
1055
+ {
1056
+ const: 'knowledge_tools',
1057
+ type: 'string',
1058
+ },
1059
+ {
1060
+ const: 'manager_plans',
1061
+ type: 'string',
1062
+ },
1063
+ {
1064
+ const: 'mentorship',
1065
+ type: 'string',
1066
+ },
1067
+ {
1068
+ const: 'mentorship_programs',
1069
+ type: 'string',
1070
+ },
1071
+ {
1072
+ const: 'my_reports',
1073
+ type: 'string',
1074
+ },
1075
+ {
1076
+ const: 'notifications',
1077
+ type: 'string',
1078
+ },
1079
+ {
1080
+ const: 'onboarding',
1081
+ type: 'string',
1082
+ },
1083
+ {
1084
+ const: 'people',
1085
+ type: 'string',
1086
+ },
1087
+ {
1088
+ const: 'people_admin',
1089
+ type: 'string',
1090
+ },
1091
+ {
1092
+ const: 'people_sync',
1093
+ type: 'string',
1094
+ },
1095
+ {
1096
+ const: 'playbook_auto_start',
1097
+ type: 'string',
1098
+ },
1099
+ {
1100
+ const: 'playbooks',
1101
+ type: 'string',
1102
+ },
1103
+ {
1104
+ const: 'policies',
1105
+ type: 'string',
1106
+ },
1107
+ {
1108
+ const: 'praise',
1109
+ type: 'string',
1110
+ },
1111
+ {
1112
+ const: 'praise_program',
1113
+ type: 'string',
1114
+ },
1115
+ {
1116
+ const: 'profile',
1117
+ type: 'string',
1118
+ },
1119
+ {
1120
+ const: 'pulse',
1121
+ type: 'string',
1122
+ },
1123
+ {
1124
+ const: 'pulse_mine',
1125
+ type: 'string',
1126
+ },
1127
+ {
1128
+ const: 'time_off_balance',
1129
+ type: 'string',
1130
+ },
1131
+ {
1132
+ const: 'time_off_request',
1133
+ type: 'string',
1134
+ },
1135
+ {
1136
+ const: 'what_mello_can_do',
1137
+ type: 'string',
1138
+ },
1139
+ {
1140
+ const: 'who_knows',
1141
+ type: 'string',
1142
+ },
1143
+ {
1144
+ const: 'workspace',
1145
+ type: 'string',
1146
+ },
1147
+ ],
1148
+ },
1149
+ confirm: {
1150
+ const: 'capabilities.requestConnection',
1151
+ type: 'string',
1152
+ },
1153
+ requestKey: {
1154
+ maxLength: 128,
1155
+ minLength: 1,
1156
+ type: 'string',
1157
+ },
1158
+ },
1159
+ required: ['capabilityId', 'confirm', 'requestKey'],
1160
+ type: 'object',
1161
+ },
1162
+ path: ['capabilities', 'requestConnection'],
1163
+ permission: 'capabilities.requestConnection',
1164
+ scope: 'self:write',
1165
+ summary: 'Ask HR to connect the system this needs',
1166
+ },
1167
+ {
1168
+ access: 'read',
1169
+ command: ['capabilities', 'requests'],
1170
+ input: {
1171
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
1172
+ additionalProperties: false,
1173
+ properties: {},
1174
+ type: 'object',
1175
+ },
1176
+ path: ['capabilities', 'requests'],
1177
+ permission: 'capabilities.requests',
1178
+ scope: 'integrations:read',
1179
+ summary: 'How many people asked HR to connect a system, per capability',
1180
+ },
1181
+ {
1182
+ access: 'read',
1183
+ command: ['capabilities', 'sheet'],
1184
+ input: {
1185
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
1186
+ additionalProperties: false,
1187
+ properties: {},
1188
+ type: 'object',
1189
+ },
1190
+ path: ['capabilities', 'sheet'],
1191
+ permission: 'capabilities.sheet',
1192
+ scope: 'self:read',
1193
+ summary: 'What Mello can answer and do for you here, and what connecting a system would add',
1194
+ },
1195
+ {
1196
+ access: 'read',
1197
+ command: ['capabilities', 'unlocks'],
1198
+ input: {
1199
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
1200
+ additionalProperties: false,
1201
+ properties: {
1202
+ kind: {
1203
+ anyOf: [
1204
+ {
1205
+ const: 'directory',
1206
+ type: 'string',
1207
+ },
1208
+ {
1209
+ const: 'knowledge',
1210
+ type: 'string',
1211
+ },
1212
+ ],
1213
+ },
1214
+ provider: {
1215
+ type: 'string',
1216
+ },
1217
+ },
1218
+ required: ['kind', 'provider'],
1219
+ type: 'object',
1220
+ },
1221
+ path: ['capabilities', 'unlocks'],
1222
+ permission: 'capabilities.unlocks',
1223
+ scope: 'self:read',
1224
+ summary: 'What people can ask and do once an HR system or document tool is connected',
1225
+ },
829
1226
  {
830
1227
  access: 'read',
831
1228
  command: ['celebrations', 'card'],
@@ -2137,6 +2534,26 @@ export const commands = [
2137
2534
  const: 'badges.uploadPicture',
2138
2535
  type: 'string',
2139
2536
  },
2537
+ {
2538
+ const: 'capabilities.dismissRequests',
2539
+ type: 'string',
2540
+ },
2541
+ {
2542
+ const: 'capabilities.requestConnection',
2543
+ type: 'string',
2544
+ },
2545
+ {
2546
+ const: 'capabilities.requests',
2547
+ type: 'string',
2548
+ },
2549
+ {
2550
+ const: 'capabilities.sheet',
2551
+ type: 'string',
2552
+ },
2553
+ {
2554
+ const: 'capabilities.unlocks',
2555
+ type: 'string',
2556
+ },
2140
2557
  {
2141
2558
  const: 'celebrations.card',
2142
2559
  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.1",
5
- "@shuffl/sdk": "0.7.1"
4
+ "@shuffl/api-contracts": "0.7.3",
5
+ "@shuffl/sdk": "0.7.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.7.1",
36
+ "version": "0.7.3",
37
37
  "bin": {
38
38
  "shuffl": "./dist/bin.js"
39
39
  }