@shuffl/cli 0.5.6 → 0.5.8
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.
- package/dist/commands.generated.js +619 -1
- package/package.json +3 -3
|
@@ -2745,6 +2745,66 @@ export const commands = [
|
|
|
2745
2745
|
const: 'mcp.knowledge',
|
|
2746
2746
|
type: 'string',
|
|
2747
2747
|
},
|
|
2748
|
+
{
|
|
2749
|
+
const: 'mentorship.checkIns.answer',
|
|
2750
|
+
type: 'string',
|
|
2751
|
+
},
|
|
2752
|
+
{
|
|
2753
|
+
const: 'mentorship.goals.remove',
|
|
2754
|
+
type: 'string',
|
|
2755
|
+
},
|
|
2756
|
+
{
|
|
2757
|
+
const: 'mentorship.goals.save',
|
|
2758
|
+
type: 'string',
|
|
2759
|
+
},
|
|
2760
|
+
{
|
|
2761
|
+
const: 'mentorship.join',
|
|
2762
|
+
type: 'string',
|
|
2763
|
+
},
|
|
2764
|
+
{
|
|
2765
|
+
const: 'mentorship.leave',
|
|
2766
|
+
type: 'string',
|
|
2767
|
+
},
|
|
2768
|
+
{
|
|
2769
|
+
const: 'mentorship.members.setStatus',
|
|
2770
|
+
type: 'string',
|
|
2771
|
+
},
|
|
2772
|
+
{
|
|
2773
|
+
const: 'mentorship.mine',
|
|
2774
|
+
type: 'string',
|
|
2775
|
+
},
|
|
2776
|
+
{
|
|
2777
|
+
const: 'mentorship.pairs.decide',
|
|
2778
|
+
type: 'string',
|
|
2779
|
+
},
|
|
2780
|
+
{
|
|
2781
|
+
const: 'mentorship.pairs.end',
|
|
2782
|
+
type: 'string',
|
|
2783
|
+
},
|
|
2784
|
+
{
|
|
2785
|
+
const: 'mentorship.pairs.setMine',
|
|
2786
|
+
type: 'string',
|
|
2787
|
+
},
|
|
2788
|
+
{
|
|
2789
|
+
const: 'mentorship.pairs.suggest',
|
|
2790
|
+
type: 'string',
|
|
2791
|
+
},
|
|
2792
|
+
{
|
|
2793
|
+
const: 'mentorship.programs.get',
|
|
2794
|
+
type: 'string',
|
|
2795
|
+
},
|
|
2796
|
+
{
|
|
2797
|
+
const: 'mentorship.programs.list',
|
|
2798
|
+
type: 'string',
|
|
2799
|
+
},
|
|
2800
|
+
{
|
|
2801
|
+
const: 'mentorship.programs.save',
|
|
2802
|
+
type: 'string',
|
|
2803
|
+
},
|
|
2804
|
+
{
|
|
2805
|
+
const: 'mentorship.programs.setStatus',
|
|
2806
|
+
type: 'string',
|
|
2807
|
+
},
|
|
2748
2808
|
{
|
|
2749
2809
|
const: 'network.claim',
|
|
2750
2810
|
type: 'string',
|
|
@@ -4931,6 +4991,9 @@ export const commands = [
|
|
|
4931
4991
|
},
|
|
4932
4992
|
],
|
|
4933
4993
|
},
|
|
4994
|
+
channelId: {
|
|
4995
|
+
type: 'string',
|
|
4996
|
+
},
|
|
4934
4997
|
communityId: {
|
|
4935
4998
|
type: 'string',
|
|
4936
4999
|
},
|
|
@@ -5000,6 +5063,14 @@ export const commands = [
|
|
|
5000
5063
|
const: 'send_message',
|
|
5001
5064
|
type: 'string',
|
|
5002
5065
|
},
|
|
5066
|
+
{
|
|
5067
|
+
const: 'slack_invite',
|
|
5068
|
+
type: 'string',
|
|
5069
|
+
},
|
|
5070
|
+
{
|
|
5071
|
+
const: 'slack_post',
|
|
5072
|
+
type: 'string',
|
|
5073
|
+
},
|
|
5003
5074
|
{
|
|
5004
5075
|
const: 'start_playbook',
|
|
5005
5076
|
type: 'string',
|
|
@@ -5042,7 +5113,7 @@ export const commands = [
|
|
|
5042
5113
|
path: ['groups', 'setAutomation'],
|
|
5043
5114
|
permission: 'groups.setAutomation',
|
|
5044
5115
|
scope: 'users:write',
|
|
5045
|
-
summary: 'Add or change an automation on a group: send a message, ask a Pulse question, start a playbook, invite to a community, add to Connections, give a badge, add to or remove from another group, or tell HR, their manager or someone named, right away or days later; a new one starts paused',
|
|
5116
|
+
summary: 'Add or change an automation on a group: send a message, ask a Pulse question, start a playbook, invite to a community, add to Connections, give a badge, add to or remove from another group, add to or post in a Slack channel (`config.channelId`, read back from Slack), or tell HR, their manager or someone named, right away or days later; a new one starts paused',
|
|
5046
5117
|
},
|
|
5047
5118
|
{
|
|
5048
5119
|
access: 'write',
|
|
@@ -7593,6 +7664,549 @@ export const commands = [
|
|
|
7593
7664
|
scope: 'knowledge:read',
|
|
7594
7665
|
summary: 'Search currently approved knowledge and return immutable passage citations',
|
|
7595
7666
|
},
|
|
7667
|
+
{
|
|
7668
|
+
access: 'write',
|
|
7669
|
+
command: ['mentorship', 'check-ins', 'answer'],
|
|
7670
|
+
input: {
|
|
7671
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7672
|
+
additionalProperties: false,
|
|
7673
|
+
properties: {
|
|
7674
|
+
answer: {
|
|
7675
|
+
anyOf: [
|
|
7676
|
+
{
|
|
7677
|
+
const: 'helped',
|
|
7678
|
+
type: 'string',
|
|
7679
|
+
},
|
|
7680
|
+
{
|
|
7681
|
+
const: 'met',
|
|
7682
|
+
type: 'string',
|
|
7683
|
+
},
|
|
7684
|
+
{
|
|
7685
|
+
const: 'not_yet',
|
|
7686
|
+
type: 'string',
|
|
7687
|
+
},
|
|
7688
|
+
],
|
|
7689
|
+
},
|
|
7690
|
+
checkInId: {
|
|
7691
|
+
type: 'string',
|
|
7692
|
+
},
|
|
7693
|
+
confirm: {
|
|
7694
|
+
const: 'mentorship.checkIns.answer',
|
|
7695
|
+
type: 'string',
|
|
7696
|
+
},
|
|
7697
|
+
requestKey: {
|
|
7698
|
+
maxLength: 128,
|
|
7699
|
+
minLength: 1,
|
|
7700
|
+
type: 'string',
|
|
7701
|
+
},
|
|
7702
|
+
},
|
|
7703
|
+
required: ['answer', 'checkInId', 'confirm', 'requestKey'],
|
|
7704
|
+
type: 'object',
|
|
7705
|
+
},
|
|
7706
|
+
path: ['mentorship', 'checkIns', 'answer'],
|
|
7707
|
+
permission: 'mentorship.checkIns.answer',
|
|
7708
|
+
scope: 'self:write',
|
|
7709
|
+
summary: 'Answer whether you met your mentor or mentee, and whether it helped',
|
|
7710
|
+
},
|
|
7711
|
+
{
|
|
7712
|
+
access: 'write',
|
|
7713
|
+
command: ['mentorship', 'goals', 'remove'],
|
|
7714
|
+
input: {
|
|
7715
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7716
|
+
additionalProperties: false,
|
|
7717
|
+
properties: {
|
|
7718
|
+
confirm: {
|
|
7719
|
+
const: 'mentorship.goals.remove',
|
|
7720
|
+
type: 'string',
|
|
7721
|
+
},
|
|
7722
|
+
goalId: {
|
|
7723
|
+
type: 'string',
|
|
7724
|
+
},
|
|
7725
|
+
pairId: {
|
|
7726
|
+
type: 'string',
|
|
7727
|
+
},
|
|
7728
|
+
requestKey: {
|
|
7729
|
+
maxLength: 128,
|
|
7730
|
+
minLength: 1,
|
|
7731
|
+
type: 'string',
|
|
7732
|
+
},
|
|
7733
|
+
},
|
|
7734
|
+
required: ['goalId', 'pairId', 'confirm', 'requestKey'],
|
|
7735
|
+
type: 'object',
|
|
7736
|
+
},
|
|
7737
|
+
path: ['mentorship', 'goals', 'remove'],
|
|
7738
|
+
permission: 'mentorship.goals.remove',
|
|
7739
|
+
scope: 'self:write',
|
|
7740
|
+
summary: 'Remove a goal from your mentorship, as the mentee',
|
|
7741
|
+
},
|
|
7742
|
+
{
|
|
7743
|
+
access: 'write',
|
|
7744
|
+
command: ['mentorship', 'goals', 'save'],
|
|
7745
|
+
input: {
|
|
7746
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7747
|
+
additionalProperties: false,
|
|
7748
|
+
properties: {
|
|
7749
|
+
confirm: {
|
|
7750
|
+
const: 'mentorship.goals.save',
|
|
7751
|
+
type: 'string',
|
|
7752
|
+
},
|
|
7753
|
+
done: {
|
|
7754
|
+
anyOf: [
|
|
7755
|
+
{
|
|
7756
|
+
const: false,
|
|
7757
|
+
type: 'boolean',
|
|
7758
|
+
},
|
|
7759
|
+
{
|
|
7760
|
+
const: true,
|
|
7761
|
+
type: 'boolean',
|
|
7762
|
+
},
|
|
7763
|
+
],
|
|
7764
|
+
},
|
|
7765
|
+
goalId: {
|
|
7766
|
+
type: 'string',
|
|
7767
|
+
},
|
|
7768
|
+
pairId: {
|
|
7769
|
+
type: 'string',
|
|
7770
|
+
},
|
|
7771
|
+
requestKey: {
|
|
7772
|
+
maxLength: 128,
|
|
7773
|
+
minLength: 1,
|
|
7774
|
+
type: 'string',
|
|
7775
|
+
},
|
|
7776
|
+
title: {
|
|
7777
|
+
type: 'string',
|
|
7778
|
+
},
|
|
7779
|
+
},
|
|
7780
|
+
required: ['pairId', 'confirm', 'requestKey'],
|
|
7781
|
+
type: 'object',
|
|
7782
|
+
},
|
|
7783
|
+
path: ['mentorship', 'goals', 'save'],
|
|
7784
|
+
permission: 'mentorship.goals.save',
|
|
7785
|
+
scope: 'self:write',
|
|
7786
|
+
summary: 'Add, rename or check off a goal in your mentorship, as the mentee',
|
|
7787
|
+
},
|
|
7788
|
+
{
|
|
7789
|
+
access: 'write',
|
|
7790
|
+
command: ['mentorship', 'join'],
|
|
7791
|
+
input: {
|
|
7792
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7793
|
+
additionalProperties: false,
|
|
7794
|
+
properties: {
|
|
7795
|
+
confirm: {
|
|
7796
|
+
const: 'mentorship.join',
|
|
7797
|
+
type: 'string',
|
|
7798
|
+
},
|
|
7799
|
+
programId: {
|
|
7800
|
+
type: 'string',
|
|
7801
|
+
},
|
|
7802
|
+
requestKey: {
|
|
7803
|
+
maxLength: 128,
|
|
7804
|
+
minLength: 1,
|
|
7805
|
+
type: 'string',
|
|
7806
|
+
},
|
|
7807
|
+
role: {
|
|
7808
|
+
anyOf: [
|
|
7809
|
+
{
|
|
7810
|
+
const: 'mentee',
|
|
7811
|
+
type: 'string',
|
|
7812
|
+
},
|
|
7813
|
+
{
|
|
7814
|
+
const: 'mentor',
|
|
7815
|
+
type: 'string',
|
|
7816
|
+
},
|
|
7817
|
+
],
|
|
7818
|
+
},
|
|
7819
|
+
topics: {
|
|
7820
|
+
type: 'string',
|
|
7821
|
+
},
|
|
7822
|
+
},
|
|
7823
|
+
required: ['programId', 'role', 'topics', 'confirm', 'requestKey'],
|
|
7824
|
+
type: 'object',
|
|
7825
|
+
},
|
|
7826
|
+
path: ['mentorship', 'join'],
|
|
7827
|
+
permission: 'mentorship.join',
|
|
7828
|
+
scope: 'self:write',
|
|
7829
|
+
summary: 'Join a mentorship program as a mentor or mentee, saying what you can help with or want to learn',
|
|
7830
|
+
},
|
|
7831
|
+
{
|
|
7832
|
+
access: 'write',
|
|
7833
|
+
command: ['mentorship', 'leave'],
|
|
7834
|
+
input: {
|
|
7835
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7836
|
+
additionalProperties: false,
|
|
7837
|
+
properties: {
|
|
7838
|
+
confirm: {
|
|
7839
|
+
const: 'mentorship.leave',
|
|
7840
|
+
type: 'string',
|
|
7841
|
+
},
|
|
7842
|
+
programId: {
|
|
7843
|
+
type: 'string',
|
|
7844
|
+
},
|
|
7845
|
+
requestKey: {
|
|
7846
|
+
maxLength: 128,
|
|
7847
|
+
minLength: 1,
|
|
7848
|
+
type: 'string',
|
|
7849
|
+
},
|
|
7850
|
+
role: {
|
|
7851
|
+
anyOf: [
|
|
7852
|
+
{
|
|
7853
|
+
const: 'mentee',
|
|
7854
|
+
type: 'string',
|
|
7855
|
+
},
|
|
7856
|
+
{
|
|
7857
|
+
const: 'mentor',
|
|
7858
|
+
type: 'string',
|
|
7859
|
+
},
|
|
7860
|
+
],
|
|
7861
|
+
},
|
|
7862
|
+
},
|
|
7863
|
+
required: ['programId', 'role', 'confirm', 'requestKey'],
|
|
7864
|
+
type: 'object',
|
|
7865
|
+
},
|
|
7866
|
+
path: ['mentorship', 'leave'],
|
|
7867
|
+
permission: 'mentorship.leave',
|
|
7868
|
+
scope: 'self:write',
|
|
7869
|
+
summary: 'Leave a mentorship program as a mentor or mentee',
|
|
7870
|
+
},
|
|
7871
|
+
{
|
|
7872
|
+
access: 'write',
|
|
7873
|
+
command: ['mentorship', 'members', 'set-status'],
|
|
7874
|
+
input: {
|
|
7875
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7876
|
+
additionalProperties: false,
|
|
7877
|
+
properties: {
|
|
7878
|
+
confirm: {
|
|
7879
|
+
const: 'mentorship.members.setStatus',
|
|
7880
|
+
type: 'string',
|
|
7881
|
+
},
|
|
7882
|
+
personId: {
|
|
7883
|
+
type: 'string',
|
|
7884
|
+
},
|
|
7885
|
+
programId: {
|
|
7886
|
+
type: 'string',
|
|
7887
|
+
},
|
|
7888
|
+
requestKey: {
|
|
7889
|
+
maxLength: 128,
|
|
7890
|
+
minLength: 1,
|
|
7891
|
+
type: 'string',
|
|
7892
|
+
},
|
|
7893
|
+
role: {
|
|
7894
|
+
anyOf: [
|
|
7895
|
+
{
|
|
7896
|
+
const: 'mentee',
|
|
7897
|
+
type: 'string',
|
|
7898
|
+
},
|
|
7899
|
+
{
|
|
7900
|
+
const: 'mentor',
|
|
7901
|
+
type: 'string',
|
|
7902
|
+
},
|
|
7903
|
+
],
|
|
7904
|
+
},
|
|
7905
|
+
status: {
|
|
7906
|
+
anyOf: [
|
|
7907
|
+
{
|
|
7908
|
+
const: 'active',
|
|
7909
|
+
type: 'string',
|
|
7910
|
+
},
|
|
7911
|
+
{
|
|
7912
|
+
const: 'removed',
|
|
7913
|
+
type: 'string',
|
|
7914
|
+
},
|
|
7915
|
+
],
|
|
7916
|
+
},
|
|
7917
|
+
},
|
|
7918
|
+
required: [
|
|
7919
|
+
'personId',
|
|
7920
|
+
'programId',
|
|
7921
|
+
'role',
|
|
7922
|
+
'status',
|
|
7923
|
+
'confirm',
|
|
7924
|
+
'requestKey',
|
|
7925
|
+
],
|
|
7926
|
+
type: 'object',
|
|
7927
|
+
},
|
|
7928
|
+
path: ['mentorship', 'members', 'setStatus'],
|
|
7929
|
+
permission: 'mentorship.members.setStatus',
|
|
7930
|
+
scope: 'mentorship:write',
|
|
7931
|
+
summary: 'Take someone off a mentorship program, or put them back',
|
|
7932
|
+
},
|
|
7933
|
+
{
|
|
7934
|
+
access: 'read',
|
|
7935
|
+
command: ['mentorship', 'mine'],
|
|
7936
|
+
input: {
|
|
7937
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7938
|
+
additionalProperties: false,
|
|
7939
|
+
properties: {},
|
|
7940
|
+
type: 'object',
|
|
7941
|
+
},
|
|
7942
|
+
path: ['mentorship', 'mine'],
|
|
7943
|
+
permission: 'mentorship.mine',
|
|
7944
|
+
scope: 'self:read',
|
|
7945
|
+
summary: 'Your mentorship programs and pairings, with goals and check-ins',
|
|
7946
|
+
},
|
|
7947
|
+
{
|
|
7948
|
+
access: 'write',
|
|
7949
|
+
command: ['mentorship', 'pairs', 'decide'],
|
|
7950
|
+
input: {
|
|
7951
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7952
|
+
additionalProperties: false,
|
|
7953
|
+
properties: {
|
|
7954
|
+
confirm: {
|
|
7955
|
+
const: 'mentorship.pairs.decide',
|
|
7956
|
+
type: 'string',
|
|
7957
|
+
},
|
|
7958
|
+
decision: {
|
|
7959
|
+
anyOf: [
|
|
7960
|
+
{
|
|
7961
|
+
const: 'approve',
|
|
7962
|
+
type: 'string',
|
|
7963
|
+
},
|
|
7964
|
+
{
|
|
7965
|
+
const: 'skip',
|
|
7966
|
+
type: 'string',
|
|
7967
|
+
},
|
|
7968
|
+
],
|
|
7969
|
+
},
|
|
7970
|
+
pairId: {
|
|
7971
|
+
type: 'string',
|
|
7972
|
+
},
|
|
7973
|
+
requestKey: {
|
|
7974
|
+
maxLength: 128,
|
|
7975
|
+
minLength: 1,
|
|
7976
|
+
type: 'string',
|
|
7977
|
+
},
|
|
7978
|
+
},
|
|
7979
|
+
required: ['decision', 'pairId', 'confirm', 'requestKey'],
|
|
7980
|
+
type: 'object',
|
|
7981
|
+
},
|
|
7982
|
+
path: ['mentorship', 'pairs', 'decide'],
|
|
7983
|
+
permission: 'mentorship.pairs.decide',
|
|
7984
|
+
scope: 'mentorship:write',
|
|
7985
|
+
summary: 'Approve a suggested mentorship pair, which introduces them, or skip it',
|
|
7986
|
+
},
|
|
7987
|
+
{
|
|
7988
|
+
access: 'write',
|
|
7989
|
+
command: ['mentorship', 'pairs', 'end'],
|
|
7990
|
+
input: {
|
|
7991
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7992
|
+
additionalProperties: false,
|
|
7993
|
+
properties: {
|
|
7994
|
+
confirm: {
|
|
7995
|
+
const: 'mentorship.pairs.end',
|
|
7996
|
+
type: 'string',
|
|
7997
|
+
},
|
|
7998
|
+
pairId: {
|
|
7999
|
+
type: 'string',
|
|
8000
|
+
},
|
|
8001
|
+
requestKey: {
|
|
8002
|
+
maxLength: 128,
|
|
8003
|
+
minLength: 1,
|
|
8004
|
+
type: 'string',
|
|
8005
|
+
},
|
|
8006
|
+
},
|
|
8007
|
+
required: ['pairId', 'confirm', 'requestKey'],
|
|
8008
|
+
type: 'object',
|
|
8009
|
+
},
|
|
8010
|
+
path: ['mentorship', 'pairs', 'end'],
|
|
8011
|
+
permission: 'mentorship.pairs.end',
|
|
8012
|
+
scope: 'mentorship:write',
|
|
8013
|
+
summary: 'End a mentorship pairing early',
|
|
8014
|
+
},
|
|
8015
|
+
{
|
|
8016
|
+
access: 'write',
|
|
8017
|
+
command: ['mentorship', 'pairs', 'set-mine'],
|
|
8018
|
+
input: {
|
|
8019
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
8020
|
+
additionalProperties: false,
|
|
8021
|
+
properties: {
|
|
8022
|
+
confirm: {
|
|
8023
|
+
const: 'mentorship.pairs.setMine',
|
|
8024
|
+
type: 'string',
|
|
8025
|
+
},
|
|
8026
|
+
pairId: {
|
|
8027
|
+
type: 'string',
|
|
8028
|
+
},
|
|
8029
|
+
requestKey: {
|
|
8030
|
+
maxLength: 128,
|
|
8031
|
+
minLength: 1,
|
|
8032
|
+
type: 'string',
|
|
8033
|
+
},
|
|
8034
|
+
status: {
|
|
8035
|
+
anyOf: [
|
|
8036
|
+
{
|
|
8037
|
+
const: 'active',
|
|
8038
|
+
type: 'string',
|
|
8039
|
+
},
|
|
8040
|
+
{
|
|
8041
|
+
const: 'ended',
|
|
8042
|
+
type: 'string',
|
|
8043
|
+
},
|
|
8044
|
+
{
|
|
8045
|
+
const: 'paused',
|
|
8046
|
+
type: 'string',
|
|
8047
|
+
},
|
|
8048
|
+
],
|
|
8049
|
+
},
|
|
8050
|
+
},
|
|
8051
|
+
required: ['pairId', 'status', 'confirm', 'requestKey'],
|
|
8052
|
+
type: 'object',
|
|
8053
|
+
},
|
|
8054
|
+
path: ['mentorship', 'pairs', 'setMine'],
|
|
8055
|
+
permission: 'mentorship.pairs.setMine',
|
|
8056
|
+
scope: 'self:write',
|
|
8057
|
+
summary: 'Pause, resume or end your own mentorship pairing',
|
|
8058
|
+
},
|
|
8059
|
+
{
|
|
8060
|
+
access: 'write',
|
|
8061
|
+
command: ['mentorship', 'pairs', 'suggest'],
|
|
8062
|
+
input: {
|
|
8063
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
8064
|
+
additionalProperties: false,
|
|
8065
|
+
properties: {
|
|
8066
|
+
confirm: {
|
|
8067
|
+
const: 'mentorship.pairs.suggest',
|
|
8068
|
+
type: 'string',
|
|
8069
|
+
},
|
|
8070
|
+
programId: {
|
|
8071
|
+
type: 'string',
|
|
8072
|
+
},
|
|
8073
|
+
requestKey: {
|
|
8074
|
+
maxLength: 128,
|
|
8075
|
+
minLength: 1,
|
|
8076
|
+
type: 'string',
|
|
8077
|
+
},
|
|
8078
|
+
},
|
|
8079
|
+
required: ['programId', 'confirm', 'requestKey'],
|
|
8080
|
+
type: 'object',
|
|
8081
|
+
},
|
|
8082
|
+
path: ['mentorship', 'pairs', 'suggest'],
|
|
8083
|
+
permission: 'mentorship.pairs.suggest',
|
|
8084
|
+
scope: 'mentorship:write',
|
|
8085
|
+
summary: 'Suggest a mentor outside their reporting line for every mentee still waiting',
|
|
8086
|
+
},
|
|
8087
|
+
{
|
|
8088
|
+
access: 'read',
|
|
8089
|
+
command: ['mentorship', 'programs', 'get'],
|
|
8090
|
+
input: {
|
|
8091
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
8092
|
+
additionalProperties: false,
|
|
8093
|
+
properties: {
|
|
8094
|
+
programId: {
|
|
8095
|
+
type: 'string',
|
|
8096
|
+
},
|
|
8097
|
+
},
|
|
8098
|
+
required: ['programId'],
|
|
8099
|
+
type: 'object',
|
|
8100
|
+
},
|
|
8101
|
+
path: ['mentorship', 'programs', 'get'],
|
|
8102
|
+
permission: 'mentorship.programs.get',
|
|
8103
|
+
scope: 'mentorship:read',
|
|
8104
|
+
summary: 'One mentorship program: who joined, the suggested pairs and whether pairs are meeting',
|
|
8105
|
+
},
|
|
8106
|
+
{
|
|
8107
|
+
access: 'read',
|
|
8108
|
+
command: ['mentorship', 'programs', 'list'],
|
|
8109
|
+
input: {
|
|
8110
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
8111
|
+
additionalProperties: false,
|
|
8112
|
+
properties: {},
|
|
8113
|
+
type: 'object',
|
|
8114
|
+
},
|
|
8115
|
+
path: ['mentorship', 'programs', 'list'],
|
|
8116
|
+
permission: 'mentorship.programs.list',
|
|
8117
|
+
scope: 'mentorship:read',
|
|
8118
|
+
summary: 'List mentorship programs, with how many mentors, mentees and pairs each has',
|
|
8119
|
+
},
|
|
8120
|
+
{
|
|
8121
|
+
access: 'write',
|
|
8122
|
+
command: ['mentorship', 'programs', 'save'],
|
|
8123
|
+
input: {
|
|
8124
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
8125
|
+
additionalProperties: false,
|
|
8126
|
+
properties: {
|
|
8127
|
+
checkInWeeks: {
|
|
8128
|
+
type: 'number',
|
|
8129
|
+
},
|
|
8130
|
+
confirm: {
|
|
8131
|
+
const: 'mentorship.programs.save',
|
|
8132
|
+
type: 'string',
|
|
8133
|
+
},
|
|
8134
|
+
description: {
|
|
8135
|
+
type: 'string',
|
|
8136
|
+
},
|
|
8137
|
+
groupId: {
|
|
8138
|
+
type: ['null', 'string'],
|
|
8139
|
+
},
|
|
8140
|
+
id: {
|
|
8141
|
+
type: 'string',
|
|
8142
|
+
},
|
|
8143
|
+
mentorCapacity: {
|
|
8144
|
+
type: 'number',
|
|
8145
|
+
},
|
|
8146
|
+
name: {
|
|
8147
|
+
type: 'string',
|
|
8148
|
+
},
|
|
8149
|
+
pairingWeeks: {
|
|
8150
|
+
type: 'number',
|
|
8151
|
+
},
|
|
8152
|
+
requestKey: {
|
|
8153
|
+
maxLength: 128,
|
|
8154
|
+
minLength: 1,
|
|
8155
|
+
type: 'string',
|
|
8156
|
+
},
|
|
8157
|
+
},
|
|
8158
|
+
required: ['name', 'confirm', 'requestKey'],
|
|
8159
|
+
type: 'object',
|
|
8160
|
+
},
|
|
8161
|
+
path: ['mentorship', 'programs', 'save'],
|
|
8162
|
+
permission: 'mentorship.programs.save',
|
|
8163
|
+
scope: 'mentorship:write',
|
|
8164
|
+
summary: 'Create or change a mentorship program: who can join, how long pairings last and how often pairs check in',
|
|
8165
|
+
},
|
|
8166
|
+
{
|
|
8167
|
+
access: 'write',
|
|
8168
|
+
command: ['mentorship', 'programs', 'set-status'],
|
|
8169
|
+
input: {
|
|
8170
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
8171
|
+
additionalProperties: false,
|
|
8172
|
+
properties: {
|
|
8173
|
+
confirm: {
|
|
8174
|
+
const: 'mentorship.programs.setStatus',
|
|
8175
|
+
type: 'string',
|
|
8176
|
+
},
|
|
8177
|
+
programId: {
|
|
8178
|
+
type: 'string',
|
|
8179
|
+
},
|
|
8180
|
+
requestKey: {
|
|
8181
|
+
maxLength: 128,
|
|
8182
|
+
minLength: 1,
|
|
8183
|
+
type: 'string',
|
|
8184
|
+
},
|
|
8185
|
+
status: {
|
|
8186
|
+
anyOf: [
|
|
8187
|
+
{
|
|
8188
|
+
const: 'active',
|
|
8189
|
+
type: 'string',
|
|
8190
|
+
},
|
|
8191
|
+
{
|
|
8192
|
+
const: 'archived',
|
|
8193
|
+
type: 'string',
|
|
8194
|
+
},
|
|
8195
|
+
{
|
|
8196
|
+
const: 'paused',
|
|
8197
|
+
type: 'string',
|
|
8198
|
+
},
|
|
8199
|
+
],
|
|
8200
|
+
},
|
|
8201
|
+
},
|
|
8202
|
+
required: ['programId', 'status', 'confirm', 'requestKey'],
|
|
8203
|
+
type: 'object',
|
|
8204
|
+
},
|
|
8205
|
+
path: ['mentorship', 'programs', 'setStatus'],
|
|
8206
|
+
permission: 'mentorship.programs.setStatus',
|
|
8207
|
+
scope: 'mentorship:write',
|
|
8208
|
+
summary: 'Turn mentorship programs on, pause one, or archive one and end its pairs',
|
|
8209
|
+
},
|
|
7596
8210
|
{
|
|
7597
8211
|
access: 'write',
|
|
7598
8212
|
command: ['network', 'claim'],
|
|
@@ -7810,6 +8424,10 @@ export const commands = [
|
|
|
7810
8424
|
const: 'legacy_upgrade',
|
|
7811
8425
|
type: 'string',
|
|
7812
8426
|
},
|
|
8427
|
+
{
|
|
8428
|
+
const: 'mentorship',
|
|
8429
|
+
type: 'string',
|
|
8430
|
+
},
|
|
7813
8431
|
{
|
|
7814
8432
|
const: 'playbook',
|
|
7815
8433
|
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.5.
|
|
5
|
-
"@shuffl/sdk": "0.5.
|
|
4
|
+
"@shuffl/api-contracts": "0.5.8",
|
|
5
|
+
"@shuffl/sdk": "0.5.8"
|
|
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.
|
|
36
|
+
"version": "0.5.8",
|
|
37
37
|
"bin": {
|
|
38
38
|
"shuffl": "./dist/bin.js"
|
|
39
39
|
}
|