@shuffl/cli 0.7.15 → 0.7.17
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 +503 -3
- package/package.json +3 -3
|
@@ -281,6 +281,34 @@ export const commands = [
|
|
|
281
281
|
scope: 'self:read',
|
|
282
282
|
summary: 'Read one access request you asked for, approve or own',
|
|
283
283
|
},
|
|
284
|
+
{
|
|
285
|
+
access: 'write',
|
|
286
|
+
command: ['access-requests', 'grant'],
|
|
287
|
+
input: {
|
|
288
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
289
|
+
additionalProperties: false,
|
|
290
|
+
properties: {
|
|
291
|
+
confirm: {
|
|
292
|
+
const: 'accessRequests.grant',
|
|
293
|
+
type: 'string',
|
|
294
|
+
},
|
|
295
|
+
requestId: {
|
|
296
|
+
type: 'string',
|
|
297
|
+
},
|
|
298
|
+
requestKey: {
|
|
299
|
+
maxLength: 128,
|
|
300
|
+
minLength: 1,
|
|
301
|
+
type: 'string',
|
|
302
|
+
},
|
|
303
|
+
},
|
|
304
|
+
required: ['requestId', 'confirm', 'requestKey'],
|
|
305
|
+
type: 'object',
|
|
306
|
+
},
|
|
307
|
+
path: ['accessRequests', 'grant'],
|
|
308
|
+
permission: 'accessRequests.grant',
|
|
309
|
+
scope: 'self:write',
|
|
310
|
+
summary: 'Grant an approved request again by writing its group membership in the identity provider',
|
|
311
|
+
},
|
|
284
312
|
{
|
|
285
313
|
access: 'read',
|
|
286
314
|
command: ['access-requests', 'inbox'],
|
|
@@ -464,7 +492,7 @@ export const commands = [
|
|
|
464
492
|
path: ['accessRequests', 'revoke'],
|
|
465
493
|
permission: 'accessRequests.revoke',
|
|
466
494
|
scope: 'self:write',
|
|
467
|
-
summary: 'Remove access that was granted through a request',
|
|
495
|
+
summary: 'Remove access that was granted through a request, and its group membership',
|
|
468
496
|
},
|
|
469
497
|
{
|
|
470
498
|
access: 'read',
|
|
@@ -527,6 +555,39 @@ export const commands = [
|
|
|
527
555
|
scope: 'self:read',
|
|
528
556
|
summary: 'Read one app in the catalog: owners, approvers, levels and who has access',
|
|
529
557
|
},
|
|
558
|
+
{
|
|
559
|
+
access: 'read',
|
|
560
|
+
command: ['apps', 'grant-groups'],
|
|
561
|
+
input: {
|
|
562
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
563
|
+
additionalProperties: false,
|
|
564
|
+
properties: {
|
|
565
|
+
connectionId: {
|
|
566
|
+
type: 'string',
|
|
567
|
+
},
|
|
568
|
+
},
|
|
569
|
+
required: ['connectionId'],
|
|
570
|
+
type: 'object',
|
|
571
|
+
},
|
|
572
|
+
path: ['apps', 'grantGroups'],
|
|
573
|
+
permission: 'apps.grantGroups',
|
|
574
|
+
scope: 'access:read',
|
|
575
|
+
summary: 'List the groups one identity provider connection has, to map an access level to',
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
access: 'read',
|
|
579
|
+
command: ['apps', 'grant-sources'],
|
|
580
|
+
input: {
|
|
581
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
582
|
+
additionalProperties: false,
|
|
583
|
+
properties: {},
|
|
584
|
+
type: 'object',
|
|
585
|
+
},
|
|
586
|
+
path: ['apps', 'grantSources'],
|
|
587
|
+
permission: 'apps.grantSources',
|
|
588
|
+
scope: 'access:read',
|
|
589
|
+
summary: 'List the connected identity providers whose groups can grant an access level',
|
|
590
|
+
},
|
|
530
591
|
{
|
|
531
592
|
access: 'write',
|
|
532
593
|
command: ['apps', 'import'],
|
|
@@ -654,6 +715,25 @@ export const commands = [
|
|
|
654
715
|
description: {
|
|
655
716
|
type: 'string',
|
|
656
717
|
},
|
|
718
|
+
groups: {
|
|
719
|
+
items: {
|
|
720
|
+
additionalProperties: false,
|
|
721
|
+
properties: {
|
|
722
|
+
connectionId: {
|
|
723
|
+
type: 'string',
|
|
724
|
+
},
|
|
725
|
+
externalId: {
|
|
726
|
+
type: 'string',
|
|
727
|
+
},
|
|
728
|
+
name: {
|
|
729
|
+
type: 'string',
|
|
730
|
+
},
|
|
731
|
+
},
|
|
732
|
+
required: ['connectionId', 'externalId', 'name'],
|
|
733
|
+
type: 'object',
|
|
734
|
+
},
|
|
735
|
+
type: 'array',
|
|
736
|
+
},
|
|
657
737
|
id: {
|
|
658
738
|
type: 'string',
|
|
659
739
|
},
|
|
@@ -3129,6 +3209,10 @@ export const commands = [
|
|
|
3129
3209
|
const: 'accessRequests.get',
|
|
3130
3210
|
type: 'string',
|
|
3131
3211
|
},
|
|
3212
|
+
{
|
|
3213
|
+
const: 'accessRequests.grant',
|
|
3214
|
+
type: 'string',
|
|
3215
|
+
},
|
|
3132
3216
|
{
|
|
3133
3217
|
const: 'accessRequests.inbox',
|
|
3134
3218
|
type: 'string',
|
|
@@ -3165,6 +3249,14 @@ export const commands = [
|
|
|
3165
3249
|
const: 'apps.get',
|
|
3166
3250
|
type: 'string',
|
|
3167
3251
|
},
|
|
3252
|
+
{
|
|
3253
|
+
const: 'apps.grantGroups',
|
|
3254
|
+
type: 'string',
|
|
3255
|
+
},
|
|
3256
|
+
{
|
|
3257
|
+
const: 'apps.grantSources',
|
|
3258
|
+
type: 'string',
|
|
3259
|
+
},
|
|
3168
3260
|
{
|
|
3169
3261
|
const: 'apps.import',
|
|
3170
3262
|
type: 'string',
|
|
@@ -3953,6 +4045,10 @@ export const commands = [
|
|
|
3953
4045
|
const: 'mentorship.circles.save',
|
|
3954
4046
|
type: 'string',
|
|
3955
4047
|
},
|
|
4048
|
+
{
|
|
4049
|
+
const: 'mentorship.cohorts.sponsor',
|
|
4050
|
+
type: 'string',
|
|
4051
|
+
},
|
|
3956
4052
|
{
|
|
3957
4053
|
const: 'mentorship.feedback.save',
|
|
3958
4054
|
type: 'string',
|
|
@@ -3965,10 +4061,22 @@ export const commands = [
|
|
|
3965
4061
|
const: 'mentorship.goals.save',
|
|
3966
4062
|
type: 'string',
|
|
3967
4063
|
},
|
|
4064
|
+
{
|
|
4065
|
+
const: 'mentorship.invitations.answer',
|
|
4066
|
+
type: 'string',
|
|
4067
|
+
},
|
|
4068
|
+
{
|
|
4069
|
+
const: 'mentorship.invitations.send',
|
|
4070
|
+
type: 'string',
|
|
4071
|
+
},
|
|
3968
4072
|
{
|
|
3969
4073
|
const: 'mentorship.join',
|
|
3970
4074
|
type: 'string',
|
|
3971
4075
|
},
|
|
4076
|
+
{
|
|
4077
|
+
const: 'mentorship.leaders.get',
|
|
4078
|
+
type: 'string',
|
|
4079
|
+
},
|
|
3972
4080
|
{
|
|
3973
4081
|
const: 'mentorship.leave',
|
|
3974
4082
|
type: 'string',
|
|
@@ -3977,6 +4085,10 @@ export const commands = [
|
|
|
3977
4085
|
const: 'mentorship.members.setStatus',
|
|
3978
4086
|
type: 'string',
|
|
3979
4087
|
},
|
|
4088
|
+
{
|
|
4089
|
+
const: 'mentorship.mentors.candidates',
|
|
4090
|
+
type: 'string',
|
|
4091
|
+
},
|
|
3980
4092
|
{
|
|
3981
4093
|
const: 'mentorship.mentors.choose',
|
|
3982
4094
|
type: 'string',
|
|
@@ -3985,6 +4097,10 @@ export const commands = [
|
|
|
3985
4097
|
const: 'mentorship.mine',
|
|
3986
4098
|
type: 'string',
|
|
3987
4099
|
},
|
|
4100
|
+
{
|
|
4101
|
+
const: 'mentorship.pairs.approveAll',
|
|
4102
|
+
type: 'string',
|
|
4103
|
+
},
|
|
3988
4104
|
{
|
|
3989
4105
|
const: 'mentorship.pairs.decide',
|
|
3990
4106
|
type: 'string',
|
|
@@ -3993,6 +4109,10 @@ export const commands = [
|
|
|
3993
4109
|
const: 'mentorship.pairs.end',
|
|
3994
4110
|
type: 'string',
|
|
3995
4111
|
},
|
|
4112
|
+
{
|
|
4113
|
+
const: 'mentorship.pairs.nudge',
|
|
4114
|
+
type: 'string',
|
|
4115
|
+
},
|
|
3996
4116
|
{
|
|
3997
4117
|
const: 'mentorship.pairs.setMine',
|
|
3998
4118
|
type: 'string',
|
|
@@ -4001,6 +4121,14 @@ export const commands = [
|
|
|
4001
4121
|
const: 'mentorship.pairs.suggest',
|
|
4002
4122
|
type: 'string',
|
|
4003
4123
|
},
|
|
4124
|
+
{
|
|
4125
|
+
const: 'mentorship.profiles.get',
|
|
4126
|
+
type: 'string',
|
|
4127
|
+
},
|
|
4128
|
+
{
|
|
4129
|
+
const: 'mentorship.profiles.setHidden',
|
|
4130
|
+
type: 'string',
|
|
4131
|
+
},
|
|
4004
4132
|
{
|
|
4005
4133
|
const: 'mentorship.programs.get',
|
|
4006
4134
|
type: 'string',
|
|
@@ -4037,6 +4165,10 @@ export const commands = [
|
|
|
4037
4165
|
const: 'mentorship.settings.save',
|
|
4038
4166
|
type: 'string',
|
|
4039
4167
|
},
|
|
4168
|
+
{
|
|
4169
|
+
const: 'mentorship.thanks.save',
|
|
4170
|
+
type: 'string',
|
|
4171
|
+
},
|
|
4040
4172
|
{
|
|
4041
4173
|
const: 'network.claim',
|
|
4042
4174
|
type: 'string',
|
|
@@ -9316,6 +9448,37 @@ export const commands = [
|
|
|
9316
9448
|
scope: 'mentorship:write',
|
|
9317
9449
|
summary: 'Set or move a mentorship program’s next mentor circle, a short meeting where its mentors swap what works',
|
|
9318
9450
|
},
|
|
9451
|
+
{
|
|
9452
|
+
access: 'write',
|
|
9453
|
+
command: ['mentorship', 'cohorts', 'sponsor'],
|
|
9454
|
+
input: {
|
|
9455
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
9456
|
+
additionalProperties: false,
|
|
9457
|
+
properties: {
|
|
9458
|
+
confirm: {
|
|
9459
|
+
const: 'mentorship.cohorts.sponsor',
|
|
9460
|
+
type: 'string',
|
|
9461
|
+
},
|
|
9462
|
+
note: {
|
|
9463
|
+
type: ['null', 'string'],
|
|
9464
|
+
},
|
|
9465
|
+
programId: {
|
|
9466
|
+
type: 'string',
|
|
9467
|
+
},
|
|
9468
|
+
requestKey: {
|
|
9469
|
+
maxLength: 128,
|
|
9470
|
+
minLength: 1,
|
|
9471
|
+
type: 'string',
|
|
9472
|
+
},
|
|
9473
|
+
},
|
|
9474
|
+
required: ['note', 'programId', 'confirm', 'requestKey'],
|
|
9475
|
+
type: 'object',
|
|
9476
|
+
},
|
|
9477
|
+
path: ['mentorship', 'cohorts', 'sponsor'],
|
|
9478
|
+
permission: 'mentorship.cohorts.sponsor',
|
|
9479
|
+
scope: 'self:write',
|
|
9480
|
+
summary: 'Sponsor an upcoming mentorship cohort with a short note shown on its invite and kickoff, or take it back',
|
|
9481
|
+
},
|
|
9319
9482
|
{
|
|
9320
9483
|
access: 'write',
|
|
9321
9484
|
command: ['mentorship', 'feedback', 'save'],
|
|
@@ -9427,6 +9590,102 @@ export const commands = [
|
|
|
9427
9590
|
scope: 'self:write',
|
|
9428
9591
|
summary: 'Add, rename or check off a goal in your mentorship, as the mentee',
|
|
9429
9592
|
},
|
|
9593
|
+
{
|
|
9594
|
+
access: 'write',
|
|
9595
|
+
command: ['mentorship', 'invitations', 'answer'],
|
|
9596
|
+
input: {
|
|
9597
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
9598
|
+
additionalProperties: false,
|
|
9599
|
+
properties: {
|
|
9600
|
+
answer: {
|
|
9601
|
+
anyOf: [
|
|
9602
|
+
{
|
|
9603
|
+
const: 'later',
|
|
9604
|
+
type: 'string',
|
|
9605
|
+
},
|
|
9606
|
+
{
|
|
9607
|
+
const: 'not_now',
|
|
9608
|
+
type: 'string',
|
|
9609
|
+
},
|
|
9610
|
+
{
|
|
9611
|
+
const: 'yes',
|
|
9612
|
+
type: 'string',
|
|
9613
|
+
},
|
|
9614
|
+
],
|
|
9615
|
+
},
|
|
9616
|
+
confirm: {
|
|
9617
|
+
const: 'mentorship.invitations.answer',
|
|
9618
|
+
type: 'string',
|
|
9619
|
+
},
|
|
9620
|
+
invitationId: {
|
|
9621
|
+
type: 'string',
|
|
9622
|
+
},
|
|
9623
|
+
requestKey: {
|
|
9624
|
+
maxLength: 128,
|
|
9625
|
+
minLength: 1,
|
|
9626
|
+
type: 'string',
|
|
9627
|
+
},
|
|
9628
|
+
},
|
|
9629
|
+
required: ['answer', 'invitationId', 'confirm', 'requestKey'],
|
|
9630
|
+
type: 'object',
|
|
9631
|
+
},
|
|
9632
|
+
path: ['mentorship', 'invitations', 'answer'],
|
|
9633
|
+
permission: 'mentorship.invitations.answer',
|
|
9634
|
+
scope: 'self:write',
|
|
9635
|
+
summary: 'Answer an invite to mentor: yes, not now, or ask me later',
|
|
9636
|
+
},
|
|
9637
|
+
{
|
|
9638
|
+
access: 'write',
|
|
9639
|
+
command: ['mentorship', 'invitations', 'send'],
|
|
9640
|
+
input: {
|
|
9641
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
9642
|
+
additionalProperties: false,
|
|
9643
|
+
properties: {
|
|
9644
|
+
confirm: {
|
|
9645
|
+
const: 'mentorship.invitations.send',
|
|
9646
|
+
type: 'string',
|
|
9647
|
+
},
|
|
9648
|
+
message: {
|
|
9649
|
+
type: 'string',
|
|
9650
|
+
},
|
|
9651
|
+
personIds: {
|
|
9652
|
+
items: {
|
|
9653
|
+
type: 'string',
|
|
9654
|
+
},
|
|
9655
|
+
type: 'array',
|
|
9656
|
+
},
|
|
9657
|
+
programId: {
|
|
9658
|
+
type: 'string',
|
|
9659
|
+
},
|
|
9660
|
+
requestKey: {
|
|
9661
|
+
maxLength: 128,
|
|
9662
|
+
minLength: 1,
|
|
9663
|
+
type: 'string',
|
|
9664
|
+
},
|
|
9665
|
+
tellManagers: {
|
|
9666
|
+
anyOf: [
|
|
9667
|
+
{
|
|
9668
|
+
const: false,
|
|
9669
|
+
type: 'boolean',
|
|
9670
|
+
},
|
|
9671
|
+
{
|
|
9672
|
+
const: true,
|
|
9673
|
+
type: 'boolean',
|
|
9674
|
+
},
|
|
9675
|
+
],
|
|
9676
|
+
},
|
|
9677
|
+
topic: {
|
|
9678
|
+
type: 'string',
|
|
9679
|
+
},
|
|
9680
|
+
},
|
|
9681
|
+
required: ['message', 'personIds', 'programId', 'confirm', 'requestKey'],
|
|
9682
|
+
type: 'object',
|
|
9683
|
+
},
|
|
9684
|
+
path: ['mentorship', 'invitations', 'send'],
|
|
9685
|
+
permission: 'mentorship.invitations.send',
|
|
9686
|
+
scope: 'mentorship:write',
|
|
9687
|
+
summary: 'Invite up to 20 people to mentor in a program, optionally telling their managers. Nobody becomes a mentor until they say yes',
|
|
9688
|
+
},
|
|
9430
9689
|
{
|
|
9431
9690
|
access: 'write',
|
|
9432
9691
|
command: ['mentorship', 'join'],
|
|
@@ -9476,6 +9735,20 @@ export const commands = [
|
|
|
9476
9735
|
scope: 'self:write',
|
|
9477
9736
|
summary: 'Join a mentorship program as a mentor or mentee, saying what you can help with or want to learn, and as a mentor how many mentees and hours you can give',
|
|
9478
9737
|
},
|
|
9738
|
+
{
|
|
9739
|
+
access: 'read',
|
|
9740
|
+
command: ['mentorship', 'leaders', 'get'],
|
|
9741
|
+
input: {
|
|
9742
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
9743
|
+
additionalProperties: false,
|
|
9744
|
+
properties: {},
|
|
9745
|
+
type: 'object',
|
|
9746
|
+
},
|
|
9747
|
+
path: ['mentorship', 'leaders', 'get'],
|
|
9748
|
+
permission: 'mentorship.leaders.get',
|
|
9749
|
+
scope: 'self:read',
|
|
9750
|
+
summary: 'Mentorship across the people you lead: how many take part against the company, topics short of mentors and cohorts you can sponsor. Totals only',
|
|
9751
|
+
},
|
|
9479
9752
|
{
|
|
9480
9753
|
access: 'write',
|
|
9481
9754
|
command: ['mentorship', 'leave'],
|
|
@@ -9578,6 +9851,28 @@ export const commands = [
|
|
|
9578
9851
|
scope: 'mentorship:write',
|
|
9579
9852
|
summary: 'Take someone off a mentorship program, or put them back',
|
|
9580
9853
|
},
|
|
9854
|
+
{
|
|
9855
|
+
access: 'read',
|
|
9856
|
+
command: ['mentorship', 'mentors', 'candidates'],
|
|
9857
|
+
input: {
|
|
9858
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
9859
|
+
additionalProperties: false,
|
|
9860
|
+
properties: {
|
|
9861
|
+
programId: {
|
|
9862
|
+
type: 'string',
|
|
9863
|
+
},
|
|
9864
|
+
topic: {
|
|
9865
|
+
type: 'string',
|
|
9866
|
+
},
|
|
9867
|
+
},
|
|
9868
|
+
required: ['programId'],
|
|
9869
|
+
type: 'object',
|
|
9870
|
+
},
|
|
9871
|
+
path: ['mentorship', 'mentors', 'candidates'],
|
|
9872
|
+
permission: 'mentorship.mentors.candidates',
|
|
9873
|
+
scope: 'mentorship:read',
|
|
9874
|
+
summary: 'People who could mentor a topic, from their titles, tenure, who they manage and praise that mentions it, with a drafted invite',
|
|
9875
|
+
},
|
|
9581
9876
|
{
|
|
9582
9877
|
access: 'write',
|
|
9583
9878
|
command: ['mentorship', 'mentors', 'choose'],
|
|
@@ -9623,6 +9918,34 @@ export const commands = [
|
|
|
9623
9918
|
scope: 'self:read',
|
|
9624
9919
|
summary: 'Your mentorship programs and pairings, with goals and check-ins',
|
|
9625
9920
|
},
|
|
9921
|
+
{
|
|
9922
|
+
access: 'write',
|
|
9923
|
+
command: ['mentorship', 'pairs', 'approve-all'],
|
|
9924
|
+
input: {
|
|
9925
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
9926
|
+
additionalProperties: false,
|
|
9927
|
+
properties: {
|
|
9928
|
+
confirm: {
|
|
9929
|
+
const: 'mentorship.pairs.approveAll',
|
|
9930
|
+
type: 'string',
|
|
9931
|
+
},
|
|
9932
|
+
programId: {
|
|
9933
|
+
type: 'string',
|
|
9934
|
+
},
|
|
9935
|
+
requestKey: {
|
|
9936
|
+
maxLength: 128,
|
|
9937
|
+
minLength: 1,
|
|
9938
|
+
type: 'string',
|
|
9939
|
+
},
|
|
9940
|
+
},
|
|
9941
|
+
required: ['programId', 'confirm', 'requestKey'],
|
|
9942
|
+
type: 'object',
|
|
9943
|
+
},
|
|
9944
|
+
path: ['mentorship', 'pairs', 'approveAll'],
|
|
9945
|
+
permission: 'mentorship.pairs.approveAll',
|
|
9946
|
+
scope: 'mentorship:write',
|
|
9947
|
+
summary: 'Approve every suggested pair in a mentorship program at once. In a cohort before its start day they wait for it; otherwise each starts now',
|
|
9948
|
+
},
|
|
9626
9949
|
{
|
|
9627
9950
|
access: 'write',
|
|
9628
9951
|
command: ['mentorship', 'pairs', 'decide'],
|
|
@@ -9691,6 +10014,34 @@ export const commands = [
|
|
|
9691
10014
|
scope: 'mentorship:write',
|
|
9692
10015
|
summary: 'End a mentorship pairing early',
|
|
9693
10016
|
},
|
|
10017
|
+
{
|
|
10018
|
+
access: 'write',
|
|
10019
|
+
command: ['mentorship', 'pairs', 'nudge'],
|
|
10020
|
+
input: {
|
|
10021
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
10022
|
+
additionalProperties: false,
|
|
10023
|
+
properties: {
|
|
10024
|
+
confirm: {
|
|
10025
|
+
const: 'mentorship.pairs.nudge',
|
|
10026
|
+
type: 'string',
|
|
10027
|
+
},
|
|
10028
|
+
programId: {
|
|
10029
|
+
type: 'string',
|
|
10030
|
+
},
|
|
10031
|
+
requestKey: {
|
|
10032
|
+
maxLength: 128,
|
|
10033
|
+
minLength: 1,
|
|
10034
|
+
type: 'string',
|
|
10035
|
+
},
|
|
10036
|
+
},
|
|
10037
|
+
required: ['programId', 'confirm', 'requestKey'],
|
|
10038
|
+
type: 'object',
|
|
10039
|
+
},
|
|
10040
|
+
path: ['mentorship', 'pairs', 'nudge'],
|
|
10041
|
+
permission: 'mentorship.pairs.nudge',
|
|
10042
|
+
scope: 'mentorship:write',
|
|
10043
|
+
summary: 'Nudge every pair in a mentorship program that hasn’t met in three weeks to pick a time. Each pair hears it once a week at most',
|
|
10044
|
+
},
|
|
9694
10045
|
{
|
|
9695
10046
|
access: 'write',
|
|
9696
10047
|
command: ['mentorship', 'pairs', 'set-mine'],
|
|
@@ -9763,6 +10114,53 @@ export const commands = [
|
|
|
9763
10114
|
scope: 'mentorship:write',
|
|
9764
10115
|
summary: 'Suggest a mentor outside their reporting line for every mentee still waiting',
|
|
9765
10116
|
},
|
|
10117
|
+
{
|
|
10118
|
+
access: 'read',
|
|
10119
|
+
command: ['mentorship', 'profiles', 'get'],
|
|
10120
|
+
input: {
|
|
10121
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
10122
|
+
additionalProperties: false,
|
|
10123
|
+
properties: {
|
|
10124
|
+
personId: {
|
|
10125
|
+
type: 'string',
|
|
10126
|
+
},
|
|
10127
|
+
},
|
|
10128
|
+
required: ['personId'],
|
|
10129
|
+
type: 'object',
|
|
10130
|
+
},
|
|
10131
|
+
path: ['mentorship', 'profiles', 'get'],
|
|
10132
|
+
permission: 'mentorship.profiles.get',
|
|
10133
|
+
scope: 'users:read',
|
|
10134
|
+
summary: 'A person’s Mentoring section: how many people they mentored, what they offer and the thank-yous shared there',
|
|
10135
|
+
},
|
|
10136
|
+
{
|
|
10137
|
+
access: 'write',
|
|
10138
|
+
command: ['mentorship', 'profiles', 'set-hidden'],
|
|
10139
|
+
input: {
|
|
10140
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
10141
|
+
additionalProperties: false,
|
|
10142
|
+
properties: {
|
|
10143
|
+
confirm: {
|
|
10144
|
+
const: 'mentorship.profiles.setHidden',
|
|
10145
|
+
type: 'string',
|
|
10146
|
+
},
|
|
10147
|
+
hidden: {
|
|
10148
|
+
type: 'boolean',
|
|
10149
|
+
},
|
|
10150
|
+
requestKey: {
|
|
10151
|
+
maxLength: 128,
|
|
10152
|
+
minLength: 1,
|
|
10153
|
+
type: 'string',
|
|
10154
|
+
},
|
|
10155
|
+
},
|
|
10156
|
+
required: ['hidden', 'confirm', 'requestKey'],
|
|
10157
|
+
type: 'object',
|
|
10158
|
+
},
|
|
10159
|
+
path: ['mentorship', 'profiles', 'setHidden'],
|
|
10160
|
+
permission: 'mentorship.profiles.setHidden',
|
|
10161
|
+
scope: 'profile:write',
|
|
10162
|
+
summary: 'Hide or show the Mentoring section of your own profile',
|
|
10163
|
+
},
|
|
9766
10164
|
{
|
|
9767
10165
|
access: 'read',
|
|
9768
10166
|
command: ['mentorship', 'programs', 'get'],
|
|
@@ -9806,6 +10204,26 @@ export const commands = [
|
|
|
9806
10204
|
checkInWeeks: {
|
|
9807
10205
|
type: 'number',
|
|
9808
10206
|
},
|
|
10207
|
+
cohort: {
|
|
10208
|
+
anyOf: [
|
|
10209
|
+
{
|
|
10210
|
+
type: 'null',
|
|
10211
|
+
},
|
|
10212
|
+
{
|
|
10213
|
+
additionalProperties: false,
|
|
10214
|
+
properties: {
|
|
10215
|
+
signupClosesOn: {
|
|
10216
|
+
type: 'string',
|
|
10217
|
+
},
|
|
10218
|
+
startsOn: {
|
|
10219
|
+
type: 'string',
|
|
10220
|
+
},
|
|
10221
|
+
},
|
|
10222
|
+
required: ['signupClosesOn', 'startsOn'],
|
|
10223
|
+
type: 'object',
|
|
10224
|
+
},
|
|
10225
|
+
],
|
|
10226
|
+
},
|
|
9809
10227
|
confirm: {
|
|
9810
10228
|
const: 'mentorship.programs.save',
|
|
9811
10229
|
type: 'string',
|
|
@@ -9813,6 +10231,26 @@ export const commands = [
|
|
|
9813
10231
|
description: {
|
|
9814
10232
|
type: 'string',
|
|
9815
10233
|
},
|
|
10234
|
+
format: {
|
|
10235
|
+
anyOf: [
|
|
10236
|
+
{
|
|
10237
|
+
const: 'ask_once',
|
|
10238
|
+
type: 'string',
|
|
10239
|
+
},
|
|
10240
|
+
{
|
|
10241
|
+
const: 'circle',
|
|
10242
|
+
type: 'string',
|
|
10243
|
+
},
|
|
10244
|
+
{
|
|
10245
|
+
const: 'one_to_one',
|
|
10246
|
+
type: 'string',
|
|
10247
|
+
},
|
|
10248
|
+
{
|
|
10249
|
+
const: 'reverse',
|
|
10250
|
+
type: 'string',
|
|
10251
|
+
},
|
|
10252
|
+
],
|
|
10253
|
+
},
|
|
9816
10254
|
groupId: {
|
|
9817
10255
|
type: ['null', 'string'],
|
|
9818
10256
|
},
|
|
@@ -9852,7 +10290,7 @@ export const commands = [
|
|
|
9852
10290
|
path: ['mentorship', 'programs', 'save'],
|
|
9853
10291
|
permission: 'mentorship.programs.save',
|
|
9854
10292
|
scope: 'mentorship:write',
|
|
9855
|
-
summary: 'Create or change a mentorship program: who can join, how long pairings last and how often pairs check in',
|
|
10293
|
+
summary: 'Create or change a mentorship program: who can join, its format (one to one, ask once, circles or reverse mentoring), whether it runs as a cohort, how long pairings last and how often pairs check in',
|
|
9856
10294
|
},
|
|
9857
10295
|
{
|
|
9858
10296
|
access: 'write',
|
|
@@ -10063,6 +10501,64 @@ export const commands = [
|
|
|
10063
10501
|
scope: 'mentorship:write',
|
|
10064
10502
|
summary: 'Change what a new mentorship program starts with; existing programs keep their own terms',
|
|
10065
10503
|
},
|
|
10504
|
+
{
|
|
10505
|
+
access: 'write',
|
|
10506
|
+
command: ['mentorship', 'thanks', 'save'],
|
|
10507
|
+
input: {
|
|
10508
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
10509
|
+
additionalProperties: false,
|
|
10510
|
+
properties: {
|
|
10511
|
+
confirm: {
|
|
10512
|
+
const: 'mentorship.thanks.save',
|
|
10513
|
+
type: 'string',
|
|
10514
|
+
},
|
|
10515
|
+
message: {
|
|
10516
|
+
type: 'string',
|
|
10517
|
+
},
|
|
10518
|
+
onProfile: {
|
|
10519
|
+
anyOf: [
|
|
10520
|
+
{
|
|
10521
|
+
const: false,
|
|
10522
|
+
type: 'boolean',
|
|
10523
|
+
},
|
|
10524
|
+
{
|
|
10525
|
+
const: true,
|
|
10526
|
+
type: 'boolean',
|
|
10527
|
+
},
|
|
10528
|
+
],
|
|
10529
|
+
},
|
|
10530
|
+
pairId: {
|
|
10531
|
+
type: 'string',
|
|
10532
|
+
},
|
|
10533
|
+
praiseChannelId: {
|
|
10534
|
+
type: ['null', 'string'],
|
|
10535
|
+
},
|
|
10536
|
+
requestKey: {
|
|
10537
|
+
maxLength: 128,
|
|
10538
|
+
minLength: 1,
|
|
10539
|
+
type: 'string',
|
|
10540
|
+
},
|
|
10541
|
+
tellManager: {
|
|
10542
|
+
anyOf: [
|
|
10543
|
+
{
|
|
10544
|
+
const: false,
|
|
10545
|
+
type: 'boolean',
|
|
10546
|
+
},
|
|
10547
|
+
{
|
|
10548
|
+
const: true,
|
|
10549
|
+
type: 'boolean',
|
|
10550
|
+
},
|
|
10551
|
+
],
|
|
10552
|
+
},
|
|
10553
|
+
},
|
|
10554
|
+
required: ['message', 'pairId', 'confirm', 'requestKey'],
|
|
10555
|
+
type: 'object',
|
|
10556
|
+
},
|
|
10557
|
+
path: ['mentorship', 'thanks', 'save'],
|
|
10558
|
+
permission: 'mentorship.thanks.save',
|
|
10559
|
+
scope: 'self:write',
|
|
10560
|
+
summary: 'Thank your mentor when your pairing ends: optionally on their profile, to their manager, and as praise in a channel',
|
|
10561
|
+
},
|
|
10066
10562
|
{
|
|
10067
10563
|
access: 'write',
|
|
10068
10564
|
command: ['network', 'claim'],
|
|
@@ -12393,6 +12889,10 @@ export const commands = [
|
|
|
12393
12889
|
const: 'feed',
|
|
12394
12890
|
type: 'string',
|
|
12395
12891
|
},
|
|
12892
|
+
{
|
|
12893
|
+
const: 'mentorship',
|
|
12894
|
+
type: 'string',
|
|
12895
|
+
},
|
|
12396
12896
|
{
|
|
12397
12897
|
const: 'nudge',
|
|
12398
12898
|
type: 'string',
|
|
@@ -15953,7 +16453,7 @@ export const commands = [
|
|
|
15953
16453
|
path: ['reports', 'mentorship'],
|
|
15954
16454
|
permission: 'reports.mentorship',
|
|
15955
16455
|
scope: 'reports:read',
|
|
15956
|
-
summary: 'Mentorship over 30, 90 or 180 days against the period before: pairs started, ended early and completed, check-ins answered and met, pairs meeting and mentees waiting now; `programId` narrows it. Never goals',
|
|
16456
|
+
summary: 'Mentorship over 30, 90 or 180 days against the period before: pairs started, ended early and completed, check-ins answered and met, pairs meeting and mentees waiting now; `programId` narrows it. `outcomes` compares people who were in a pairing with peers at similar tenure, hidden under five people. Never anyone’s goals',
|
|
15957
16457
|
},
|
|
15958
16458
|
{
|
|
15959
16459
|
access: 'read',
|
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.
|
|
5
|
-
"@shuffl/sdk": "0.7.
|
|
4
|
+
"@shuffl/api-contracts": "0.7.17",
|
|
5
|
+
"@shuffl/sdk": "0.7.17"
|
|
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.
|
|
36
|
+
"version": "0.7.17",
|
|
37
37
|
"bin": {
|
|
38
38
|
"shuffl": "./dist/bin.js"
|
|
39
39
|
}
|