@shuffl/api-contracts 0.3.0 → 0.5.0

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.
@@ -112,6 +112,20 @@ export const managementOperations = [
112
112
  'integrations:write',
113
113
  'write',
114
114
  ],
115
+ [
116
+ 'sync.groups',
117
+ 'directory.providerGroups',
118
+ 'integrations:read',
119
+ 'read',
120
+ 'List this source’s groups and which ones come into Shuffl',
121
+ ],
122
+ [
123
+ 'sync.setGroup',
124
+ 'directory.setProviderGroup',
125
+ 'integrations:write',
126
+ 'write',
127
+ 'Change which of this source’s groups come into Shuffl',
128
+ ],
115
129
  [
116
130
  'sync.disconnect',
117
131
  'directory.disconnectDirectoryProvider',
@@ -387,6 +401,173 @@ export const managementOperations = [
387
401
  'write',
388
402
  'Turn badge offers from praise on or off, and choose the launch channel',
389
403
  ],
404
+ // #1917: the groups shown on profiles, for anyone in the workspace.
405
+ [
406
+ 'groups.directory',
407
+ 'groups.directory',
408
+ 'users:read',
409
+ 'read',
410
+ 'List the groups shown on profiles, yours first, with a few faces each',
411
+ ],
412
+ [
413
+ 'groups.directoryGroup',
414
+ 'groups.directoryGroup',
415
+ 'users:read',
416
+ 'read',
417
+ 'Read one group shown on profiles and everyone in it',
418
+ ],
419
+ [
420
+ 'groups.glance',
421
+ 'groups.glance',
422
+ 'users:read',
423
+ 'read',
424
+ 'One group at a glance: size, joins, departments, tenure and time zones',
425
+ ],
426
+ // #1830: groups, a workspace's own live groups of people, for
427
+ // administrators.
428
+ [
429
+ 'groups.list',
430
+ 'groups.list',
431
+ 'users:read',
432
+ 'read',
433
+ 'List the workspace’s groups with who is in each',
434
+ ],
435
+ [
436
+ 'groups.get',
437
+ 'groups.get',
438
+ 'users:read',
439
+ 'read',
440
+ 'Read one group: its rules, members and recent entries and exits',
441
+ ],
442
+ [
443
+ 'groups.members',
444
+ 'groups.members',
445
+ 'users:read',
446
+ 'read',
447
+ 'One page of a group’s members',
448
+ ],
449
+ [
450
+ 'groups.options',
451
+ 'groups.options',
452
+ 'users:read',
453
+ 'read',
454
+ 'The departments, teams, communities, programs, titles, locations and time zones a rule may name',
455
+ ],
456
+ [
457
+ 'groups.searchPeople',
458
+ 'groups.searchPeople',
459
+ 'users:read',
460
+ 'read',
461
+ 'Find people by name to pick for a group',
462
+ ],
463
+ [
464
+ 'groups.suggestions',
465
+ 'groups.suggestions',
466
+ 'users:read',
467
+ 'read',
468
+ 'Starter groups not made yet, with how many people each would hold',
469
+ ],
470
+ [
471
+ 'groups.preview',
472
+ 'groups.preview',
473
+ 'users:read',
474
+ 'read',
475
+ 'Count and sample who a set of rules would hold today',
476
+ ],
477
+ [
478
+ 'groups.save',
479
+ 'groups.save',
480
+ 'users:write',
481
+ 'write',
482
+ 'Create or change a group or a department: a list of people or rules that keep it up to date',
483
+ ],
484
+ [
485
+ 'groups.refresh',
486
+ 'groups.refresh',
487
+ 'users:write',
488
+ 'write',
489
+ 'Re-evaluate a dynamic group’s rules now',
490
+ ],
491
+ ['groups.remove', 'groups.remove', 'users:write', 'write', 'Remove a group'],
492
+ // #1833: messages from HR to a group, and the group's members as a file.
493
+ [
494
+ 'groups.messages',
495
+ 'groups.messages',
496
+ 'users:read',
497
+ 'read',
498
+ 'The drafts and sends of messages to a group, newest first',
499
+ ],
500
+ [
501
+ 'groups.message',
502
+ 'groups.message',
503
+ 'users:read',
504
+ 'read',
505
+ 'One message to a group: its words, who it would reach now and how it reads to one member',
506
+ ],
507
+ [
508
+ 'groups.prepareMessage',
509
+ 'groups.prepareMessage',
510
+ 'users:write',
511
+ 'write',
512
+ 'Write a message to everyone in a group and see who it would reach; nothing is sent',
513
+ ],
514
+ [
515
+ 'groups.sendMessage',
516
+ 'groups.sendMessage',
517
+ 'users:write',
518
+ 'write',
519
+ 'Send a drafted message to a group once per request key, on each person’s chosen channel',
520
+ ],
521
+ [
522
+ 'groups.discardMessage',
523
+ 'groups.discardMessage',
524
+ 'users:write',
525
+ 'write',
526
+ 'Drop a drafted message to a group',
527
+ ],
528
+ [
529
+ 'groups.export',
530
+ 'groups.export',
531
+ 'users:read',
532
+ 'read',
533
+ 'A group’s members as a CSV file: name, email, title, department, manager and when they joined',
534
+ ],
535
+ // #1834: automations on a group, run when someone enters or leaves it.
536
+ [
537
+ 'groups.allAutomations',
538
+ 'groups.allAutomations',
539
+ 'users:read',
540
+ 'read',
541
+ 'Every group automation in the workspace with its group and last runs, or only those that start one playbook, program or community',
542
+ ],
543
+ [
544
+ 'groups.automations',
545
+ 'groups.automations',
546
+ 'users:read',
547
+ 'read',
548
+ 'A group’s automations (what happens when someone joins or leaves) and their last runs',
549
+ ],
550
+ [
551
+ 'groups.setAutomation',
552
+ 'groups.setAutomation',
553
+ 'users:write',
554
+ 'write',
555
+ 'Add or change an automation on a group; a new one starts paused',
556
+ ],
557
+ [
558
+ 'groups.setAutomationState',
559
+ 'groups.setAutomationState',
560
+ 'users:write',
561
+ 'write',
562
+ 'Pause or resume an automation on a group',
563
+ ],
564
+ [
565
+ 'groups.removeAutomation',
566
+ 'groups.removeAutomation',
567
+ 'users:write',
568
+ 'write',
569
+ 'Remove an automation from a group, with its runs',
570
+ ],
390
571
  [
391
572
  'communities.list',
392
573
  'communities.list',
@@ -541,11 +722,16 @@ export const managementOperations = [
541
722
  'write',
542
723
  'Say you know someone or would like to meet them',
543
724
  ],
725
+ [
726
+ 'network.requestIntro',
727
+ 'network.requestIntro',
728
+ 'profile:write',
729
+ 'write',
730
+ 'Ask someone you both know to introduce you',
731
+ ],
544
732
  ['users.blockPair', 'people.blockPair', 'users:write', 'write'],
545
733
  ['users.blockedPairs', 'people.blockedPairs', 'users:read', 'read'],
546
734
  ['units.list', 'directory.directoryUnits', 'users:read', 'read'],
547
- ['units.save', 'directory.saveDirectoryUnit', 'users:write', 'write'],
548
- ['units.archive', 'directory.archiveDirectoryUnit', 'users:write', 'write'],
549
735
  ['access.get', 'directory.employeeAccess', 'access:read', 'read'],
550
736
  [
551
737
  'access.save',
@@ -602,6 +788,13 @@ export const managementOperations = [
602
788
  'read',
603
789
  ],
604
790
  ['programs.people', 'programs.people', 'programs:read', 'read'],
791
+ [
792
+ 'programs.communities',
793
+ 'programs.communities',
794
+ 'programs:read',
795
+ 'read',
796
+ 'List communities a Connections program can take its people from, with how many members show each one on their profile',
797
+ ],
605
798
  ['runs.list', 'runs.roundsPage', 'runs:read', 'read'],
606
799
  ['runs.details', 'runs.run', 'runs:read', 'read'],
607
800
  [
@@ -655,6 +848,62 @@ export const managementOperations = [
655
848
  'write',
656
849
  'Change who can read this knowledge source',
657
850
  ],
851
+ // #1813: asking the people who can read a page to confirm they read it.
852
+ [
853
+ 'knowledge.acknowledgements.status',
854
+ 'knowledge.acknowledgements',
855
+ 'knowledge:manage',
856
+ 'read',
857
+ ],
858
+ [
859
+ 'knowledge.acknowledgements.request',
860
+ 'knowledge.requestAcknowledgement',
861
+ 'knowledge:write',
862
+ 'write',
863
+ 'Ask the people who can read this page to confirm they read it, and message them',
864
+ ],
865
+ [
866
+ 'knowledge.acknowledgements.remind',
867
+ 'knowledge.remindAcknowledgement',
868
+ 'knowledge:write',
869
+ 'write',
870
+ 'Message the people who have not confirmed this page yet',
871
+ ],
872
+ [
873
+ 'knowledge.acknowledgements.close',
874
+ 'knowledge.closeAcknowledgement',
875
+ 'knowledge:write',
876
+ 'write',
877
+ 'Stop asking people to confirm this page',
878
+ ],
879
+ [
880
+ 'knowledge.acknowledgements.mine',
881
+ 'knowledge.myAcknowledgements',
882
+ 'knowledge:read',
883
+ 'read',
884
+ ],
885
+ // #1815: what Shuffl knows that policy templates ask for.
886
+ [
887
+ 'knowledge.templates.facts',
888
+ 'knowledge.templateFacts',
889
+ 'knowledge:manage',
890
+ 'read',
891
+ ],
892
+ // #1835: Mello researches a policy template and drafts the whole page.
893
+ [
894
+ 'knowledge.templates.draft',
895
+ 'knowledge.templateDraft',
896
+ 'knowledge:write',
897
+ 'write',
898
+ 'Draft a policy template with Mello, researching each value; nothing is saved',
899
+ ],
900
+ // #1814: the pages published to everyone as one handbook.
901
+ [
902
+ 'knowledge.handbook.export',
903
+ 'knowledge.handbook',
904
+ 'knowledge:manage',
905
+ 'read',
906
+ ],
658
907
  [
659
908
  'knowledge.sources.withdraw',
660
909
  'knowledge.withdraw',
@@ -786,12 +1035,7 @@ export const managementOperations = [
786
1035
  'reports:read',
787
1036
  'read',
788
1037
  ],
789
- [
790
- 'reports.onboarding',
791
- 'reporting.onboardingInsights',
792
- 'reports:read',
793
- 'read',
794
- ],
1038
+ ['reports.playbooks', 'reporting.playbookInsights', 'reports:read', 'read'],
795
1039
  ['teams.status', 'teams.teamStatus', 'team:write', 'write'],
796
1040
  ['teams.rename', 'teams.teamRename', 'team:write', 'write'],
797
1041
  ['teams.setup', 'setup.setup', 'team:read', 'read'],
@@ -809,139 +1053,213 @@ export const managementOperations = [
809
1053
  ],
810
1054
  ['teams.initialize', 'teams.initialize', 'team:write', 'write'],
811
1055
  // #662: the rest of the app, so a person's own agent can do what they can.
1056
+ ['playbooks.program', 'playbooks.playbookProgram', 'playbooks:read', 'read'],
812
1057
  [
813
- 'onboarding.program',
814
- 'onboarding.onboardingProgram',
815
- 'onboarding:read',
1058
+ 'playbooks.saveProgram',
1059
+ 'playbooks.savePlaybookProgram',
1060
+ 'playbooks:write',
1061
+ 'write',
1062
+ 'Save a playbook: its day 0, steps and messages',
1063
+ ],
1064
+ [
1065
+ 'playbooks.candidates',
1066
+ 'playbooks.playbookCandidates',
1067
+ 'playbooks:read',
816
1068
  'read',
817
1069
  ],
1070
+ ['playbooks.person', 'playbooks.personPlaybook', 'playbooks:read', 'read'],
818
1071
  [
819
- 'onboarding.saveProgram',
820
- 'onboarding.saveOnboardingProgram',
821
- 'onboarding:write',
1072
+ 'playbooks.enrollmentPreview',
1073
+ 'playbooks.playbookEnrollmentPreview',
1074
+ 'playbooks:read',
1075
+ 'read',
1076
+ ],
1077
+ [
1078
+ 'playbooks.previewEnrollment',
1079
+ 'playbooks.previewPlaybookEnrollment',
1080
+ 'playbooks:write',
822
1081
  'write',
823
- 'Save the onboarding program and its messages',
824
1082
  ],
825
1083
  [
826
- 'onboarding.candidates',
827
- 'onboarding.onboardingCandidates',
828
- 'onboarding:read',
829
- 'read',
1084
+ 'playbooks.enroll',
1085
+ 'playbooks.enrollPlaybook',
1086
+ 'playbooks:write',
1087
+ 'write',
1088
+ 'Put this person on a playbook',
1089
+ ],
1090
+ [
1091
+ 'playbooks.approve',
1092
+ 'playbooks.approvePlaybookEnrollment',
1093
+ 'playbooks:write',
1094
+ 'write',
1095
+ 'Approve these exact playbook messages for sending',
830
1096
  ],
831
1097
  [
832
- 'onboarding.person',
833
- 'onboarding.personOnboarding',
834
- 'onboarding:read',
1098
+ 'playbooks.assignBuddy',
1099
+ 'playbooks.assignPlaybookBuddy',
1100
+ 'playbooks:write',
1101
+ 'write',
1102
+ ],
1103
+ [
1104
+ 'playbooks.buddyCandidates',
1105
+ 'playbooks.buddyCandidates',
1106
+ 'playbooks:read',
835
1107
  'read',
1108
+ 'Suggested buddies for a new hire: outside their reporting line, volunteers first, with how many hires each is buddying',
836
1109
  ],
837
1110
  [
838
- 'onboarding.enrollmentPreview',
839
- 'onboarding.onboardingEnrollmentPreview',
840
- 'onboarding:read',
1111
+ 'playbooks.buddyProgram',
1112
+ 'playbooks.buddyProgram',
1113
+ 'playbooks:read',
841
1114
  'read',
1115
+ 'Buddy volunteers and recent buddies, with how many of their hires said they met and how many never did',
842
1116
  ],
843
1117
  [
844
- 'onboarding.previewEnrollment',
845
- 'onboarding.previewOnboardingEnrollment',
846
- 'onboarding:write',
1118
+ 'playbooks.setBuddyVolunteer',
1119
+ 'playbooks.setBuddyVolunteer',
1120
+ 'playbooks:write',
847
1121
  'write',
1122
+ 'Put someone on the buddy volunteer list, take them off it, or clear it',
848
1123
  ],
849
1124
  [
850
- 'onboarding.enroll',
851
- 'onboarding.enrollOnboarding',
852
- 'onboarding:write',
1125
+ 'playbooks.volunteerAsBuddy',
1126
+ 'playbooks.setMyBuddyVolunteer',
1127
+ 'self:write',
853
1128
  'write',
854
- 'Enroll this person in onboarding',
1129
+ 'Say you are happy to be an onboarding buddy, or stop',
855
1130
  ],
856
1131
  [
857
- 'onboarding.approve',
858
- 'onboarding.approveOnboardingEnrollment',
859
- 'onboarding:write',
1132
+ 'playbooks.buddyFollowUps',
1133
+ 'playbooks.myBuddyFeedback',
1134
+ 'self:read',
1135
+ 'read',
1136
+ 'Your "did you meet?" questions about a new hire or buddy you were paired with',
1137
+ ],
1138
+ [
1139
+ 'playbooks.answerBuddyFollowUp',
1140
+ 'playbooks.answerBuddyFeedback',
1141
+ 'self:write',
860
1142
  'write',
861
- 'Approve these exact onboarding messages for sending',
1143
+ 'Answer whether you met your buddy or new hire, and whether it helped',
862
1144
  ],
863
1145
  [
864
- 'onboarding.assignBuddy',
865
- 'onboarding.assignOnboardingBuddy',
866
- 'onboarding:write',
1146
+ 'playbooks.update',
1147
+ 'playbooks.updatePlaybookEnrollment',
1148
+ 'playbooks:write',
867
1149
  'write',
868
1150
  ],
869
1151
  [
870
- 'onboarding.update',
871
- 'onboarding.updateOnboardingEnrollment',
872
- 'onboarding:write',
1152
+ 'playbooks.remove',
1153
+ 'playbooks.removePlaybookEnrollment',
1154
+ 'playbooks:write',
873
1155
  'write',
874
1156
  ],
875
1157
  [
876
- 'onboarding.remove',
877
- 'onboarding.removeOnboardingEnrollment',
878
- 'onboarding:write',
1158
+ 'playbooks.retry',
1159
+ 'playbooks.retryPlaybookStep',
1160
+ 'playbooks:write',
879
1161
  'write',
880
1162
  ],
1163
+ ['playbooks.mine', 'playbooks.myPlaybook', 'self:read', 'read'],
881
1164
  [
882
- 'onboarding.retry',
883
- 'onboarding.retryOnboardingStep',
884
- 'onboarding:write',
1165
+ 'playbooks.run',
1166
+ 'playbooks.myPlaybookRun',
1167
+ 'self:read',
1168
+ 'read',
1169
+ 'One of your playbooks (onboarding or another): day 0, buddy, manager, upcoming check-ins, your to-dos and resources, and the other playbooks you are on',
1170
+ ],
1171
+ [
1172
+ 'playbooks.completeTodo',
1173
+ 'playbooks.completeTodo',
1174
+ 'self:write',
885
1175
  'write',
1176
+ 'Check off (or reopen) one of your own playbook to-dos',
886
1177
  ],
887
- ['onboarding.mine', 'onboarding.myOnboarding', 'self:read', 'read'],
888
1178
  [
889
- 'onboarding.journey',
890
- 'onboarding.myJourney',
1179
+ 'playbooks.plans',
1180
+ 'playbooks.myNewHirePlans',
891
1181
  'self:read',
892
1182
  'read',
893
- 'Your onboarding timeline: start date, buddy, manager and upcoming check-ins',
1183
+ 'The 30/60/90 plans for new hires you manage, and your own once your manager shares it',
1184
+ ],
1185
+ [
1186
+ 'playbooks.draftPlan',
1187
+ 'playbooks.draftNewHirePlan',
1188
+ 'self:write',
1189
+ 'write',
1190
+ 'Have Mello draft the 30/60/90 plan for a new hire you manage (not yet shared)',
1191
+ ],
1192
+ [
1193
+ 'playbooks.savePlan',
1194
+ 'playbooks.saveNewHirePlan',
1195
+ 'self:write',
1196
+ 'write',
1197
+ 'Write the goals of the 30/60/90 plan for a new hire you manage',
1198
+ ],
1199
+ [
1200
+ 'playbooks.sharePlan',
1201
+ 'playbooks.shareNewHirePlan',
1202
+ 'self:write',
1203
+ 'write',
1204
+ 'Share the 30/60/90 plan with the new hire you manage',
1205
+ ],
1206
+ [
1207
+ 'playbooks.setPlanGoal',
1208
+ 'playbooks.setNewHirePlanGoal',
1209
+ 'self:write',
1210
+ 'write',
1211
+ 'Tick a goal on a shared 30/60/90 plan done, or not done',
894
1212
  ],
895
1213
  [
896
- 'onboarding.firstDaysCheckIns',
897
- 'onboarding.myFirstDaysCheckIns',
1214
+ 'playbooks.firstDaysCheckIns',
1215
+ 'playbooks.myFirstDaysCheckIns',
898
1216
  'self:read',
899
1217
  'read',
900
1218
  'Your open 30, 60 or 90-day or one-year new hire check-in',
901
1219
  ],
902
1220
  [
903
- 'onboarding.answerFirstDaysCheckIn',
904
- 'onboarding.answerFirstDaysCheckIn',
1221
+ 'playbooks.answerFirstDaysCheckIn',
1222
+ 'playbooks.answerFirstDaysCheckIn',
905
1223
  'self:write',
906
1224
  'write',
907
1225
  'Answer your new-hire check-in',
908
1226
  ],
909
1227
  [
910
- 'onboarding.firstDaysResults',
911
- 'onboarding.firstDaysResults',
912
- 'onboarding:read',
1228
+ 'playbooks.firstDaysResults',
1229
+ 'playbooks.firstDaysResults',
1230
+ 'playbooks:read',
913
1231
  'read',
914
1232
  'What new hires said in their first 90 days check-ins, combined',
915
1233
  ],
916
1234
  [
917
- 'onboarding.answerCheckIn',
918
- 'onboarding.answerOnboardingCheckIn',
1235
+ 'playbooks.answerCheckIn',
1236
+ 'playbooks.answerPlaybookCheckIn',
919
1237
  'self:write',
920
1238
  'write',
921
1239
  ],
922
1240
  [
923
- 'onboarding.respondBuddy',
924
- 'onboarding.respondBuddyInvitation',
1241
+ 'playbooks.respondBuddy',
1242
+ 'playbooks.respondBuddyInvitation',
925
1243
  'self:write',
926
1244
  'write',
927
1245
  ],
928
1246
  [
929
- 'onboarding.buddySuggestions',
930
- 'onboarding.buddySuggestions',
1247
+ 'playbooks.buddySuggestions',
1248
+ 'playbooks.buddySuggestions',
931
1249
  'self:read',
932
1250
  'read',
933
1251
  'Suggest coworkers who could be your onboarding buddy',
934
1252
  ],
935
1253
  [
936
- 'onboarding.answerBuddyAsk',
937
- 'onboarding.answerBuddyAsk',
1254
+ 'playbooks.answerBuddyAsk',
1255
+ 'playbooks.answerBuddyAsk',
938
1256
  'self:write',
939
1257
  'write',
940
1258
  'Say yes or not now to being a new hire’s onboarding buddy',
941
1259
  ],
942
1260
  [
943
- 'onboarding.askBuddy',
944
- 'onboarding.askBuddy',
1261
+ 'playbooks.askBuddy',
1262
+ 'playbooks.askBuddy',
945
1263
  'self:write',
946
1264
  'write',
947
1265
  'Ask this coworker to be your onboarding buddy',
@@ -1004,6 +1322,13 @@ export const managementOperations = [
1004
1322
  'read',
1005
1323
  'Open a celebration card you can sign or were given',
1006
1324
  ],
1325
+ [
1326
+ 'celebrations.thisWeek',
1327
+ 'milestones.celebratedThisWeek',
1328
+ 'self:read',
1329
+ 'read',
1330
+ 'List who was celebrated in a channel in the last seven days',
1331
+ ],
1007
1332
  [
1008
1333
  'celebrations.cards',
1009
1334
  'milestones.myCelebrationCards',
@@ -1083,6 +1408,13 @@ export const managementOperations = [
1083
1408
  'read',
1084
1409
  'List Mello’s culture nudges for the workspace',
1085
1410
  ],
1411
+ [
1412
+ 'digest.culture',
1413
+ 'digest.culture',
1414
+ 'reports:read',
1415
+ 'read',
1416
+ 'List the Culture page’s recommendations in order and what happened after each one acted on',
1417
+ ],
1086
1418
  [
1087
1419
  'digest.nudge',
1088
1420
  'digest.nudge',
@@ -1281,11 +1613,11 @@ export const managementOperations = [
1281
1613
  'Retire or restore a Pulse question',
1282
1614
  ],
1283
1615
  [
1284
- 'pulse.setQuestionAudience',
1285
- 'pulse.setQuestionAudience',
1616
+ 'pulse.setQuestionGroup',
1617
+ 'pulse.setQuestionGroup',
1286
1618
  'pulse:write',
1287
1619
  'write',
1288
- 'Aim a Pulse question at departments, teams, managers or ICs',
1620
+ 'Aim a Pulse question at one of the workspace’s groups, or at everyone',
1289
1621
  ],
1290
1622
  // #707: Mello's suggested questions. Saving drafts adds suggestions for an
1291
1623
  // administrator to approve, never active questions; approving is the
@@ -1325,13 +1657,6 @@ export const managementOperations = [
1325
1657
  'write',
1326
1658
  'Approve a suggested Pulse question so it is asked next, or dismiss it',
1327
1659
  ],
1328
- [
1329
- 'pulse.audienceOptions',
1330
- 'pulse.audienceOptions',
1331
- 'pulse:read',
1332
- 'read',
1333
- 'List the departments and teams a Pulse question can be aimed at',
1334
- ],
1335
1660
  [
1336
1661
  'pulse.insights',
1337
1662
  'pulse.insights',
@@ -1479,6 +1804,13 @@ export const managementOperations = [
1479
1804
  'write',
1480
1805
  'Hide or show a praise you received',
1481
1806
  ],
1807
+ [
1808
+ 'praise.setRecognition',
1809
+ 'praise.setRecognition',
1810
+ 'self:write',
1811
+ 'write',
1812
+ 'Choose whether praise for you is posted publicly or sent to you privately',
1813
+ ],
1482
1814
  [
1483
1815
  'reminders.settings',
1484
1816
  'reminders.settings',
@@ -1521,4 +1853,90 @@ export const managementOperations = [
1521
1853
  'write',
1522
1854
  'Praise coworkers in a praise channel',
1523
1855
  ],
1856
+ // #643: outgoing webhooks. Signing secrets are returned when an endpoint
1857
+ // is created or its secret rolled; revealing one is session-only.
1858
+ [
1859
+ 'webhooks.list',
1860
+ 'webhooks.list',
1861
+ 'webhooks:read',
1862
+ 'read',
1863
+ 'List webhook endpoints, their status and delivery success over 24 hours',
1864
+ ],
1865
+ [
1866
+ 'webhooks.catalog',
1867
+ 'webhooks.catalog',
1868
+ 'webhooks:read',
1869
+ 'read',
1870
+ 'List the webhook event types and which ones this key can subscribe to',
1871
+ ],
1872
+ [
1873
+ 'webhooks.get',
1874
+ 'webhooks.get',
1875
+ 'webhooks:read',
1876
+ 'read',
1877
+ 'Read one webhook endpoint',
1878
+ ],
1879
+ [
1880
+ 'webhooks.create',
1881
+ 'webhooks.create',
1882
+ 'webhooks:write',
1883
+ 'write',
1884
+ 'Add a webhook endpoint that receives the chosen events, and get its signing secret',
1885
+ ],
1886
+ [
1887
+ 'webhooks.update',
1888
+ 'webhooks.update',
1889
+ 'webhooks:write',
1890
+ 'write',
1891
+ 'Change a webhook endpoint’s URL, description or events, or turn it on or off',
1892
+ ],
1893
+ [
1894
+ 'webhooks.delete',
1895
+ 'webhooks.delete',
1896
+ 'webhooks:write',
1897
+ 'write',
1898
+ 'Delete a webhook endpoint and its delivery log',
1899
+ ],
1900
+ [
1901
+ 'webhooks.rotateSecret',
1902
+ 'webhooks.rotateSecret',
1903
+ 'webhooks:write',
1904
+ 'write',
1905
+ 'Roll a webhook endpoint’s signing secret, keeping the old one valid for a while',
1906
+ ],
1907
+ [
1908
+ 'webhooks.sendTest',
1909
+ 'webhooks.sendTest',
1910
+ 'webhooks:write',
1911
+ 'write',
1912
+ 'Send a webhook.test event to an endpoint now',
1913
+ ],
1914
+ [
1915
+ 'webhooks.deliveries.list',
1916
+ 'webhooks.deliveries',
1917
+ 'webhooks:read',
1918
+ 'read',
1919
+ 'List an endpoint’s webhook deliveries, newest first',
1920
+ ],
1921
+ [
1922
+ 'webhooks.deliveries.get',
1923
+ 'webhooks.delivery',
1924
+ 'webhooks:read',
1925
+ 'read',
1926
+ 'Read one webhook delivery: the request body and every attempt’s answer',
1927
+ ],
1928
+ [
1929
+ 'webhooks.deliveries.replay',
1930
+ 'webhooks.replay',
1931
+ 'webhooks:write',
1932
+ 'write',
1933
+ 'Resend one webhook delivery with the same event id',
1934
+ ],
1935
+ [
1936
+ 'webhooks.deliveries.replayFailed',
1937
+ 'webhooks.replayFailed',
1938
+ 'webhooks:write',
1939
+ 'write',
1940
+ 'Resend every failed webhook delivery of an endpoint since a time',
1941
+ ],
1524
1942
  ];